aboutsummaryrefslogtreecommitdiff
path: root/site/assets/js/snippets.js
AgeCommit message (Collapse)AuthorFilesLines
2024-03-26Fix typo in `site/assets/js/snippets.js` comments (#39840)Julien Déramond1-1/+1
2024-03-19docs: bundle assets with HugoXhmikosR1-162/+7
Also: * load any docs' third-party dependencies from node_modules (except for examples) * exclude docsearch from layouts that don't use it * preconnect to algolia only when not examples layout * switch to `RelPermalink` * refactor JS assets into partials
2024-02-05Bump copyright year to 2024Julien Déramond1-1/+1
2023-03-27Add js-docs shortcode to ensure consistency between doc and js code (#38316)Hannah Issermann1-3/+11
Co-authored-by: XhmikosR <[email protected]>
2023-01-02fix live toast demo (#37590)AucT1-8/+8
* fix live toast demo * Fix live toast demo * Update snippets.js * Update toasts.md * Update snippets.js * Code review comments addressed Co-authored-by: XhmikosR <[email protected]> Co-authored-by: Mark Otto <[email protected]>
2023-01-01Docs: remove remnants of Twitter / bump dates (#37779)Patrick H. Lauke1-2/+1
2022-11-28Docs: rewrite/reorganise carousel docs page (#37354)Patrick H. Lauke1-0/+9
* Instantiate/initialize all non-autoplaying carousels in docs pages * Rewrite/reorganise carousel docs page * start with static/non-autoplaying examples * explicitly mention that carousels currently need to be manually initialized * split out and explain autoplaying and the weird "autoplay after first interaction" behaviour, as well as the pause on hover/focus * Add callout about autoplaying and accessibility * Don't have the dark variant example autoplay * Add "autoplaying" to cspell custom dictionary * Tweal wording, move Page Visibility API to autoplay section * Tweak explanation for methods, add line break in js code for consistency with last code block on the page * Tweak method descriptions * Tweak headings (plural "carousels") * Move some paragraphs out of intro and into basic example, reword the nested and accessibility paragraph * Tweak warning about `.active` slide * Tweak callout wording * Further prose tweaks move the sentence about not double-initialising autoplaying carousels to the callout right at the top instead of talking about `data-bs...` attributes, talk about the "option" instead, as authors may be setting these not via data attributes, but at instatiation time with options in the constructor remove the incorrect statement about pausing when keyboard focus is in the carousel * Instantiate/initialize all non-autoplaying carousels in docs pages * Rewrite/reorganise carousel docs page * start with static/non-autoplaying examples * explicitly mention that carousels currently need to be manually initialized * split out and explain autoplaying and the weird "autoplay after first interaction" behaviour, as well as the pause on hover/focus * Add callout about autoplaying and accessibility * Don't have the dark variant example autoplay * Add "autoplaying" to cspell custom dictionary * Tweal wording, move Page Visibility API to autoplay section * Tweak explanation for methods, add line break in js code for consistency with last code block on the page * Tweak method descriptions * Tweak headings (plural "carousels") * Move some paragraphs out of intro and into basic example, reword the nested and accessibility paragraph * Tweak warning about `.active` slide * Tweak callout wording * Further prose tweaks move the sentence about not double-initialising autoplaying carousels to the callout right at the top instead of talking about `data-bs...` attributes, talk about the "option" instead, as authors may be setting these not via data attributes, but at instatiation time with options in the constructor remove the incorrect statement about pausing when keyboard focus is in the carousel * Fix relative link * Update site/assets/js/snippets.js Co-authored-by: GeoSot <[email protected]> * Fix snippet.js * Tweak content organisation just a bit Co-authored-by: GeoSot <[email protected]> Co-authored-by: Julien Déramond <[email protected]> Co-authored-by: Julien Déramond <[email protected]> Co-authored-by: Mark Otto <[email protected]>
2022-07-17Fix typos in `snippets.js` (#36758)Marc Wrobel1-4/+4
2022-07-06Docs: add indeterminate disabled checkbox example (#36674)Julien Déramond1-1/+3
2022-06-15Add example of dark navbar and offcanvas to docs (#36510)Mark Otto1-4/+6
2022-05-26Fix StackBlitz examples by embedding snippets.js when needed (#36352)Julien Déramond1-8/+38
* Fix StackBlitz examples by embedding snippets.js when needed * Fix Popovers * Fix tooltips * Fix Toasts * Add comment sections * Fix Alerts * Indeterminate heckboxes + classes handling * Nothing to do for links * Fix modals * Nothing to do for Offcanvas * Remove correctly .bd-example * Add body .p-3 for all StackBlitz examples
2022-05-06docs: add proper markup on modal's page tooltips ands popoversGeoSot1-15/+3
2022-05-05ref(Docs assets): Separate js assetsGeoSot1-0/+132