aboutsummaryrefslogtreecommitdiff
path: root/site/content/docs/5.1/components
AgeCommit message (Collapse)AuthorFilesLines
2022-05-13Prepare v5.2.0-beta1Mark Otto24-8900/+0
2022-05-06Toast: provide `isShown` method (#36272)GeoSot1-0/+1
* feat(Toast): provide `isShown` method * Update site/content/docs/5.1/components/toasts.md Co-authored-by: Julien Déramond <[email protected]> Co-authored-by: Julien Déramond <[email protected]>
2022-05-06Docs(Scrollspy): minor changes to be aligned with new version of javascript ↵GeoSot1-38/+38
(#36260) * Docs(Scrollspy): minor changes to be aligned with new version of javascript code * first example: add proper root-margin * 'nested nav' example: add more content to sections & enable smooth-scroll * fix typo * Changes after feedback * Update examples and docs to streamline some things and improve how it works section Co-authored-by: Mark Otto <[email protected]>
2022-05-06docs: add proper markup on modal's page tooltips ands popoversGeoSot1-4/+4
2022-05-05Handle disabled focused tabs with tab JavaScript plugin (#36169)Julien Déramond1-16/+48
* Handle disabled tabs * Fix after feedback * Update js/src/tab.js Co-authored-by: GeoSot <[email protected]> * Update js/src/tab.js Co-authored-by: GeoSot <[email protected]> * Commit suggestions via GitHub broke the thing * Add some unit tests * Remove temp doc modification * Add tests for left arrow * Add disabled tabs in JavaScript Behavior section * Compact 4 tests to 2 tests * Compact 4 tests to 2 tests * Add 'disabled' attribute for all buttons * Change the disabled pane position only for the vertical version * Change ids for the confusing first example in JavaScript behavior * Use disabled attribute instead of the class for buttons in tabs Co-authored-by: GeoSot <[email protected]>
2022-04-30Update badges, cards, and toasts to use new helpersMark Otto3-8/+12
2022-04-30Doc: remove `role="group"` from some split drop* buttonsJulien Déramond1-2/+2
2022-04-26Docs: update documentation js examples, using es6 (#36203)GeoSot13-154/+130
* Docs: update components documentation using es6 * Docs: update js blocks around docs, using es6 * Docs: update components documentation using es6 * Test linter
2022-04-21Add .show class to offcanvas example, and disable it's normal behavior in our JSMark Otto1-1/+1
2022-04-21Carousel: Fix not used option (`ride`), simplify `cycle` method (#35983)GeoSot1-4/+4
* Fix not used option (`ride`) (according to docs), continuing of #35753 a247fe9 * separate concept of `programmatical cycle` vs `maybe cycle after click` functionality
2022-04-21Manipulator: Add JSON parse support (#35077)GeoSot9-9/+27
Support parsing JSON from each component's main element using the `data-bs-config` attribute. The `bs-config` attribute will be reserved and omitted during `getDataAttributes` parsing. With this commit, every component, will create its config object, using: * defaults * data-bs-config * the rest of data attributes * configuration object given during instance initialization Co-authored-by: XhmikosR <[email protected]> Co-authored-by: Mark Otto <[email protected]> Co-authored-by: Mark Otto <[email protected]>
2022-04-21Doc: minor modifications in Scrollspy (#36195)Julien Déramond1-28/+42
Doc: minor modifications in Scrollspy
2022-04-20Minor fixeslouismaxime.piton1-1/+1
2022-04-19Refactor some docs examples CSS (#36194)Mark Otto4-13/+12
* Fix some more borders and margins * Flex utilities docs: remove .bd-highlight class from snippets * Explicit close target * Reorder to keep base class up top * Fix custom position example * Tooltips: add code snippet, use scss-docs ref for custom tooltip * Tweak text for pagination examples * Modals: move custom styles to utilities * Grid docs: Combine selectors and share coloring * Refactor tons of little things
2022-04-18Do some CSS and Migration guide cleanup (#36191)Mark Otto1-18/+4
* Do some CSS and Migration guide cleanup - More code snippet tweaks - Fix some homepage hero bugs - Do a cleanup on Migration guide content to highlight more changes and fix some issues from merge conflicts
2022-04-17v5.2.0 design refresh, plus responsive offcanvas classes (#35736)Mark Otto1-2/+55
* Add responsive offcanvas classes - Updates navbar-expand classes to de-dupe some styles—these shouldn't interfere now. - Adds some JS to the offcanvas component to help with responsiveness Co-Authored-By: GeoSot <[email protected]> * Redesign homepage, docs, and examples Homepage: - New Bootstrap purple navbar - Redesigned masthead - Rewrote and redesigned homepage content - Replace Copy text with icons like Bootstrap Icons site across all ClipboardJS instances - Fixed padding issues in site footer - Match homepage button styles to examples page, use gap instead of tons of responsive margin utils Docs: - New navbar, no more subnav. Migrated search and version picker into the main navbar and refreshed the design of it all, including the responsive toggles. - New sidebar navigation is always expanded, and now features Bootstrap Icons alongside section headings - Sidebar navigation autoscrolls to active link for better usability - Subnav and navbar padding issues ironed out - Enhanced the version picker in anticipation of v5.2: we can now link right to the same page in the previous version. - Redesign callouts to add more color to our pages - Collapse table of contents on mobile - Cleanup and redesign button styles with CSS variables - Update design for subnav version dropdown - Update highlight and example to be full-width until md - Improve the Added In badges - Turn the ToC into a well on mobile - Redesign code snippets to better house two action buttons Examples: - Redesign Examples page layout - Add new example for responsive offcanvases in navbars * Convert offcanvas to CSS vars * Feat: add resize handler to Offcanvas.js. If we could use as default the `.offcanvas` class without modifiers, we then, could add a simplified selector The selector itself, ignores the .offcanvas class as it doesn't have any responsive behavior The `aria-modal` addon is to protect us, selection backdrop elements * Separate examples code, Add some selectors, fix stackblitz btn Co-authored-by: GeoSot <[email protected]>
2022-04-13Doc: Uniformization of nav tabs content panes (#36163)Julien Déramond1-13/+13
* Doc: Uniformization of nav tabs content panes * Fix after review
2022-04-13Revamp Scrollspy using Intersection observer (#33421)GeoSot1-43/+101
* Revamp scrollspy to use IntersectionObserver * Add smooth scroll support * Update scrollspy.js/md * move functionality to method * Update scrollspy.js * Add SmoothScroll to docs example * Refactor Using `Maps` and smaller methods * Update scrollspy.md/js * Update scrollspy.spec.js * Support backwards compatibility * minor optimizations * Merge activation functionality * Update scrollspy.md * Update scrollspy.js * Rewording some of the documentation changes * Update scrollspy.js * Update scrollspy.md * tweaking calculation functionality & drop text that suggests, to deactivate target when wrapper is not visible * tweak calculation * Fix lint * Support scrollspy in body & tests * change doc example to a more valid solution Co-authored-by: XhmikosR <[email protected]> Co-authored-by: Patrick H. Lauke <[email protected]>
2022-04-12Fix proposallouismaxime.piton1-22/+18
2022-04-12Change second example dropdown form (#36137)Anton1-18/+23
To check cases as #36135
2022-04-11Doc: fix modals and navs CSS vars descriptionJulien Déramond2-2/+2
2022-04-06Revamp tabs & follow ARIA 1.1 practices (#33079)GeoSot1-48/+56
* Tab: Revamp tab.js & add support Aria features * Tab: Add tab support, just to keep backwards compatibility. Better to remove it on v6 * Revert "Tab: Add tab support, just to keep backwards compatibility. Better to remove it on v6" * Support arrow down/up functionality * add prevent default to avoid scrolling the page during up/down keys handling * remove panel tabindex handling * Expand documentation text for JS plugin * Rearrange new docs to specifically call out a11y * properly place section Co-authored-by: XhmikosR <[email protected]> Co-authored-by: Patrick H. Lauke <[email protected]> Co-authored-by: Mark Otto <[email protected]>
2022-04-06Fix for missing CSS variables on `.navbar-nav` (#36105)Mark Otto1-0/+4
* Fix for missing CSS variables on .navbar-nav * Document new CSS vars on .navbar-nav
2022-03-31Doc fixeslouismaxime.piton5-13/+13
2022-03-28Train PR: CSS variables for accordion, cards, navs, and modals (#36071)Mark Otto4-4/+48
* Convert accordion to CSS vars * Update accordion.md * Convert navs to CSS variables * Split up CSS vars * bundlewatch * fix vars * Convert cards to CSS vars * Convert modals to CSS variables * Bundlewatch Co-authored-by: Geremia Taglialatela <[email protected]>
2022-03-22Convert list group to CSS variables (#35862)Mark Otto1-1/+9
* Convert list-group to CSS vars * bundlewatch
2022-03-18Convert progress bars to CSS variables (#35962)Mark Otto1-1/+9
* Convert progress bars to CSS variables * bundlewatch
2022-03-17Convert toasts to CSS variables (#35961)Mark Otto1-1/+9
* Convert toasts to CSS variables * bundlewatch
2022-03-17Convert spinners to CSS variables (#35960)Mark Otto1-1/+19
* Convert spinners to CSS variables * bundlewatch
2022-03-14Rewrite docs tables in Markdown with table shortcode (#31337)Mark Otto12-1432/+332
Co-authored-by: XhmikosR <[email protected]> Co-authored-by: GeoSot <[email protected]>
2022-03-12Convert added in badges to shortcode (#36007)Mark Otto9-11/+11
2022-03-11Convert breadcrumb to CSS variablesMark Otto1-1/+9
2022-03-11Redesign the "Added in" badges in the docs (#35980)Mark Otto9-10/+11
Co-authored-by: XhmikosR <[email protected]>
2022-03-11docs: add missing `.dropup` in dropup centered example (#35948)Julien Déramond1-1/+1
2022-03-08Convert popovers to CSS variablesMark Otto1-15/+45
2022-03-08Document new CSS vars in tooltip docsMark Otto1-6/+16
2022-03-08Convert tooltips to CSS varsMark Otto1-0/+23
2022-03-02Remove unneeded classes from toasts docs (#35931)Louis-Maxime Piton1-3/+3
2022-03-02Add static backdrop to offcanvas (#35832)Jann Westermann1-38/+59
* Add static backdrop option, to offcanvas * Trigger prevented event on esc with keyboard=false * Change offcanvas doc , moving backdrop examples to examples section
2022-02-28Add centered dropdown and dropup optionsMark Otto1-0/+34
2022-02-25Add z-index for .toast-container (#35859)Mark Otto1-3/+3
* Add z-index for .toast-container - Adds positioning and z-index to toast container so that it has a system-declared layer in relation to other components. - Updates docs to use the class better Fixes $34028 * Remove unnecessary z-index from docs examples
2022-02-23Replace non-existent `--bs-btn-padding` by `--bs-btn-padding-{x|y}`Julien Déramond1-1/+1
2022-02-22Fix modal docchefarbeiter1-4/+4
2022-02-16Convert pagination component to CSS variables (#35399)Mark Otto1-2/+10
* Convert pagination component to CSS variables * Use RFS mixin * Remove the useless fallback
2022-02-14Convert dropdowns to CSS variablesMark Otto1-1/+13
2022-02-14Convert .btn and mixins to use CSS variablesMark Otto1-9/+38
2022-02-14Fix typo in Badges CSS variables descriptionJulien Déramond1-1/+1
2022-02-10Bump version calloutMark Otto1-1/+1
2022-02-10Convert .badge to CSS variablesMark Otto1-1/+9
2022-02-09Remove remaining `.navbar-light` classes (#35814)Julien Déramond2-5/+5
* Fix typo in CSS variables documentation * Drop remaining .navbar-light classes