aboutsummaryrefslogtreecommitdiff
path: root/site/content/docs/5.1
AgeCommit message (Collapse)AuthorFilesLines
2022-05-13Prepare v5.2.0-beta1Mark Otto179-30639/+0
2022-05-11Minor changes in 'Usage with JavaScript frameworks' descriptionJulien Déramond1-3/+3
2022-05-11Remove unused `.border-right` rule from modal example CSS fileJulien Déramond1-2/+0
2022-05-11Doc: fix text overflow exampleJulien Déramond1-1/+1
2022-05-10Fix contents.mdcccabinet1-1/+1
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-05Iterate on border utilities (#36239)Mark Otto1-4/+19
* Remove `--bs-border-opacity: 1` from `.border-*` utilities We set `--bs-border-opacity: 1` globally at the `:root` level, so redeclaring it on every `.border-*` utility doesn't make much sense. I think we can drop this. * Remove global border-opacity var, restore on .border-color classes, move .border-color utils down the list to fix some specificity issues * Add some demos of border utils to the docs
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-30include in migration guideMark Otto1-0/+2
2022-04-30Update badges, cards, and toasts to use new helpersMark Otto3-8/+12
2022-04-30Add new text-bg-color utilitiesMark Otto1-0/+52
2022-04-30Doc: remove `role="group"` from some split drop* buttonsJulien Déramond1-2/+2
2022-04-30Update new docs version picker to work on home and examples pages (#36245)Mark Otto3-0/+3
* Update new docs version picker to work on home and examples pages * Add addd key to opacity page * Add more added frontmatter * Update picker to fix migration guide links, but still work for docs and examples
2022-04-30Update path to `@popperjs/core` in parcel.md汪心禾1-1/+2
-│ └── popper.js/ +│ └── @popperjs/ +| └── core/
2022-04-29Revert `border-color` change (#36238)Mark Otto1-2/+6
* Revert `border-color` change * Add new border-color-translucent for when we want optional alpha-transparency in our border-color Apply to drodpowns, modals, offcanvas, popovers, and toasts * bundlewatch
2022-04-29Document incompatibilities between Bootstrap JS and React/.etc (#36217)Sam Magura1-0/+10
* Document incompatibilities between Bootstrap JS and React/.etc Closes #35665. * Remove link to reactstrap * Update javascript.md Co-authored-by: Mark Otto <[email protected]>
2022-04-28Doc: mention Popper instead of Popper.jsJulien Déramond1-1/+1
2022-04-28Doc: fix offset content for examples pageJulien Déramond1-1/+1
2022-04-26Docs: update documentation js examples, using es6 (#36203)GeoSot18-179/+162
* 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-20Rewrite Getting Started > Introduction page to be more guide-like (#36204)Mark Otto1-65/+65
* Rewrite Getting Started > Introduction page to be more guide-like * Add tabs, mention offcanvas for navbar
2022-04-20Minor fixeslouismaxime.piton1-1/+1
2022-04-19Refactor some docs examples CSS (#36194)Mark Otto7-302/+301
* 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-19Realign Cheatsheet nav tabs example rendering with the examples in the docJulien Déramond1-3/+3
2022-04-18Do some CSS and Migration guide cleanup (#36191)Mark Otto2-39/+15
* 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-18change `.border-right` to `.border-end`Toto1-1/+1
2022-04-17v5.2.0 design refresh, plus responsive offcanvas classes (#35736)Mark Otto6-28/+246
* 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-16Fix containers page in docs to re-order list so it matches sections below it.MelanieL1-1/+1
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-12Update parcel.mdAnthony Perez1-3/+3
Following the Parcel v1 installation guide seems to install the latest version of Parcel (v2), which makes several instructions in this guide throw errors. Therefore, I have updated the guide to work with version 2 of Parcel. Change Details: 1) Update the URL to point to the latest doc pages. 2) Use the `type="module"` HTML attribute to reference a module [migration](https://parceljs.org/getting-started/migration/#code-changes) 3) The `--out-dir <dir>` CLI parameter has been changed to `--dist-dir <dir>` [CLI](https://parceljs.org/features/cli/#parameters) 4) For a reason I'm unsure of, `--experimental-scope-hoisting` throws the following error: `error: unknown option '--experimental-scope-hoisting'`, so I removed it to get the build to work.
2022-04-12Fix proposallouismaxime.piton1-22/+18
2022-04-12Remove tooltip and popover styling as it is handled by Popper (#34627)GeoSot1-0/+2
* Remove not needed css form tooltip & popover as it is made by popper Remove tooltip margin variable, as popper needs margin to be zero * Remove popover left/top initializers as they are handled by popper * nullify `margin` variable and add deprecation message * Document change in migration guide * Update _variables.scss Co-authored-by: Mark Otto <[email protected]> Co-authored-by: XhmikosR <[email protected]>
2022-04-12Change second example dropdown form (#36137)Anton1-18/+23
To check cases as #36135
2022-04-12Use Babel and ES6 in docs JS files (#31607)Tiger Oakes6-35/+34
* Pass docs js through Babel * Use ES6 in docs js * Only run babel on src files * Allow babel in Hugo * Update scripts.html * Inherit from the root .eslintrc.json * Use `Array.from` * Drop Babel from docs * Prefer template * replace IIFE with arrow functions Co-authored-by: XhmikosR <[email protected]> Co-authored-by: GeoSot <[email protected]>
2022-04-11Doc: fix modals and navs CSS vars descriptionJulien Déramond2-2/+2
2022-04-08Update devDependencies (#36120)XhmikosR1-1/+1
* Update devDependencies * @babel/core ^7.17.8 → ^7.17.9 * @popperjs/core ^2.11.4 → ^2.11.5 * clean-css-cli ^5.5.2 → ^5.6.0 * eslint-plugin-import ^2.25.4 → ^2.26.0 * find-unused-sass-variables ^4.0.3 → ^4.0.4 * karma-rollup-preprocessor ^7.0.8 → ^7.0.7 * sass ^1.49.11 → ^1.50.0 * stylelint 14.2.0 → ^14.6.1 * Fix currentcolor case
2022-04-07Revert border-color utilities to use the CSS property instead of the variableMark Otto1-0/+6
2022-04-06Doc: Reorder alphabetically lists of componentsJulien Déramond2-3/+3
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.piton6-14/+14
2022-03-31Fix duplicate `.rounded-*` and `.fw-semibold` defs in examplesJulien Déramond6-27/+27
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