aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-05-05ref(Docs assets): Separate js assetsGeoSot2-112/+132
2022-05-05Iterate on border utilities (#36239)Mark Otto3-19/+33
* 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éramond4-19/+127
* 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-05-05Fix proposallouismaxime.piton1-46/+31
2022-04-30Improve version picker for new pages in v5.2.xMark Otto1-2/+6
2022-04-30bundlewatchMark Otto1-3/+3
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 Otto4-0/+64
2022-04-30Doc: remove `role="group"` from some split drop* buttonsJulien Déramond2-5/+5
2022-04-30Update new docs version picker to work on home and examples pages (#36245)Mark Otto4-3/+18
* 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 Otto4-10/+16
* 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-28Add input-disabled-color Sass variableMark Otto2-0/+2
2022-04-28Clean up last `$variable-prefix` usagesJulien Déramond3-7/+7
2022-04-28Doc: mention Popper instead of Popper.jsJulien Déramond2-3/+3
2022-04-28Doc: fix offset content for examples pageJulien Déramond1-1/+1
2022-04-26Docs: update documentation js examples, using es6 (#36203)GeoSot21-179/+504
* Docs: update components documentation using es6 * Docs: update js blocks around docs, using es6 * Docs: update components documentation using es6 * Test linter
2022-04-25EventHandler: change check method for custom events, avoiding regexGeoSot1-2/+2
2022-04-21Add .show class to offcanvas example, and disable it's normal behavior in our JSMark Otto2-1/+9
2022-04-21Carousel: Fix not used option (`ride`), simplify `cycle` method (#35983)GeoSot3-146/+143
* 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)GeoSot16-18/+163
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 Otto2-66/+66
* Rewrite Getting Started > Introduction page to be more guide-like * Add tabs, mention offcanvas for navbar
2022-04-20Minor fixeslouismaxime.piton2-1/+5
2022-04-20Update _breakpoints.scssMetadavid1-7/+7
2022-04-19Update CODE_OF_CONDUCT.mdMohammed Alkebsi1-1/+1
I fixed a grammatical mistake. The word "to making" in line 3 has been changed to "to make".
2022-04-19Refactor some docs examples CSS (#36194)Mark Otto8-415/+378
* 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-19Update devDependencies (#36193)XhmikosR2-242/+271
* @rollup/plugin-commonjs ^21.0.3 → ^21.1.0 * @rollup/plugin-node-resolve ^13.2.0 → ^13.2.1 * globby ^11.0.4 → ^11.1.0 * hugo-bin ^0.84.0 → ^0.85.3 * rollup ^2.70.1 → ^2.70.2 * sass ^1.50.0 → ^1.50.1 * stylelint ^14.6.1 → ^14.7.1
2022-04-18One more code snippet fixMark Otto1-1/+17
2022-04-18Do some CSS and Migration guide cleanup (#36191)Mark Otto5-44/+30
* 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-18Fix spacing of code snippetsMark Otto1-18/+13
2022-04-18change `.border-right` to `.border-end`Toto1-1/+1
2022-04-17v5.2.0 design refresh, plus responsive offcanvas classes (#35736)Mark Otto51-625/+1572
* 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-16Minor fixeslouismaxime.piton2-3/+3
2022-04-14Fix Chroma line highlight styleJulien Déramond1-1/+1
2022-04-14Bump karma-jasmine from 4.0.2 to 5.0.0 (#36162)dependabot[bot]2-36/+20
Bumps [karma-jasmine](https://github.com/karma-runner/karma-jasmine) from 4.0.2 to 5.0.0. - [Release notes](https://github.com/karma-runner/karma-jasmine/releases) - [Changelog](https://github.com/karma-runner/karma-jasmine/blob/master/CHANGELOG.md) - [Commits](https://github.com/karma-runner/karma-jasmine/compare/v4.0.2...v5.0.0) --- updated-dependencies: - dependency-name: karma-jasmine dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: XhmikosR <[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)GeoSot7-498/+645
* 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-13Update dropdown.jsGeoSot1-12/+9
minor refactoring
2022-04-13Bump karma from 6.3.17 to 6.3.18 (#36161)dependabot[bot]2-10/+10
Bumps [karma](https://github.com/karma-runner/karma) from 6.3.17 to 6.3.18. - [Release notes](https://github.com/karma-runner/karma/releases) - [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md) - [Commits](https://github.com/karma-runner/karma/compare/v6.3.17...v6.3.18) --- updated-dependencies: - dependency-name: karma dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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-12Add black to colors mapRyan Buckley1-0/+1
2022-04-12Fix space between popover's arrow and triggering element (#35976)Julien Déramond1-5/+6
* Fix margin between popover arrow and triggering element * Oups-use .25 increment for bundlewatch Co-authored-by: Mark Otto <[email protected]>
2022-04-12Fix proposallouismaxime.piton2-22/+19
2022-04-12Changing the CSS var managementlouismaxime.piton1-14/+5
2022-04-12Remove tooltip and popover styling as it is handled by Popper (#34627)GeoSot4-7/+4
* 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]>