aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2021-02-17Tweak alignment in herodocs-tweaksMark Otto1-2/+2
2021-02-17Clarify docs around .navbar-brand (#33123)Mark Otto1-4/+12
- Add new headings and text for each example - Fixes #33072 by changing align-* class
2021-02-16Bump eslint-plugin-unicorn from 27.0.0 to 28.0.1 (#33116)dependabot[bot]2-4/+5
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 27.0.0 to 28.0.1. - [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases) - [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v27.0.0...v28.0.1) 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]>
2021-02-16Bump stylelint from 13.9.0 to 13.10.0 (#33115)dependabot[bot]2-8/+8
Bumps [stylelint](https://github.com/stylelint/stylelint) from 13.9.0 to 13.10.0. - [Release notes](https://github.com/stylelint/stylelint/releases) - [Changelog](https://github.com/stylelint/stylelint/blob/master/CHANGELOG.md) - [Commits](https://github.com/stylelint/stylelint/compare/13.9.0...13.10.0) 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]>
2021-02-16Bump karma from 6.0.4 to 6.1.1 (#33112)dependabot[bot]2-10/+10
Bumps [karma](https://github.com/karma-runner/karma) from 6.0.4 to 6.1.1. - [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.0.4...v6.1.1) 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]>
2021-02-16Bump sass from 1.32.6 to 1.32.7 (#33114)dependabot[bot]2-4/+4
Bumps [sass](https://github.com/sass/dart-sass) from 1.32.6 to 1.32.7. - [Release notes](https://github.com/sass/dart-sass/releases) - [Changelog](https://github.com/sass/dart-sass/blob/master/CHANGELOG.md) - [Commits](https://github.com/sass/dart-sass/compare/1.32.6...1.32.7) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-16Bump @rollup/plugin-babel from 5.2.3 to 5.3.0 (#33113)dependabot[bot]2-4/+4
Bumps [@rollup/plugin-babel](https://github.com/rollup/plugins) from 5.2.3 to 5.3.0. - [Release notes](https://github.com/rollup/plugins/releases) - [Commits](https://github.com/rollup/plugins/compare/babel-v5.2.3...babel-v5.3.0) 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]>
2021-02-16Bump rollup from 2.38.5 to 2.39.0 (#33107)dependabot[bot]2-4/+4
Bumps [rollup](https://github.com/rollup/rollup) from 2.38.5 to 2.39.0. - [Release notes](https://github.com/rollup/rollup/releases) - [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md) - [Commits](https://github.com/rollup/rollup/compare/v2.38.5...v2.39.0) 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]>
2021-02-16Bump @babel/preset-env from 7.12.13 to 7.12.16 (#33111)dependabot[bot]2-29/+40
2021-02-16Bump @rollup/plugin-node-resolve from 11.1.1 to 11.2.0 (#33109)dependabot[bot]2-4/+4
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins) from 11.1.1 to 11.2.0. - [Release notes](https://github.com/rollup/plugins/releases) - [Commits](https://github.com/rollup/plugins/compare/node-resolve-v11.1.1...node-resolve-v11.2.0) 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]>
2021-02-16Bump @babel/core from 7.12.13 to 7.12.16 (#33106)dependabot[bot]2-6/+12
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.12.13 to 7.12.16. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.12.16/packages/babel-core) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-16Bump postcss from 8.2.5 to 8.2.6 (#33105)dependabot[bot]2-4/+4
Bumps [postcss](https://github.com/postcss/postcss) from 8.2.5 to 8.2.6. - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/postcss/postcss/compare/8.2.5...8.2.6) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-16Bump @babel/cli from 7.12.13 to 7.12.16 (#33104)dependabot[bot]2-4/+4
Bumps [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli) from 7.12.13 to 7.12.16. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.12.16/packages/babel-cli) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-16Bump eslint from 7.19.0 to 7.20.0 (#33103)dependabot[bot]2-6/+15
Bumps [eslint](https://github.com/eslint/eslint) from 7.19.0 to 7.20.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/compare/v7.19.0...v7.20.0) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-16overview: add missing EOF newline (#33098)XhmikosR1-1/+1
2021-02-16Simplify karma.conf.js (#33045)XhmikosR1-10/+6
`customLaunchers` does not seem to be needed.
2021-02-16util: change `isRTL` to a function (#32446)XhmikosR5-19/+17
This allows the bundler to tree-shake the function.
2021-02-16Add tests for `DATA_KEY` (#33090)GeoSot8-0/+48
Co-authored-by: XhmikosR <[email protected]>
2021-02-16Clear duplicated class `border-0` (#32925)k-utsumi2-4/+7
* Clear duplicated class `border-0` * Update migration.md Co-authored-by: Mark Otto <[email protected]>
2021-02-15docs: add bootstrap5 zh-tw in translations (#33006)Ray1-0/+5
2021-02-15docs(examples): typo in offcanvas example in .bg-body (#33092)Gaël Poupard1-1/+1
Caught by pa11y-ci on Boosted (because of insufficient contrasts) :heart:
2021-02-15CI: skip release drafter if we are not on our repo (#33067)XhmikosR1-0/+1
2021-02-15Fix typo in nav-tabs docs (#33081)Siju Samson1-1/+1
2021-02-12Add the missing expectations for touch events (#33060)Rohit Sharma1-2/+10
2021-02-12Fix event handler removal in dropdown/carousel dispose (#33000)Kyle Tsang8-9/+56
* Fix event handler removal in carousel dispose * Fix event handler removal in dropdown dispose * Test event handlers in scrollspy dispose * Test event handlers in toast dispose * Test event handlers in tooltip dispose Co-authored-by: XhmikosR <[email protected]> Co-authored-by: Rohit Sharma <[email protected]>
2021-02-11Docs improvements after beta2 (#33049)Gaël Poupard4-35/+35
* docs(carousel): double-spaces out there * docs(toasts): missing word, ins't it? * docs(cheatsheet): use buttons for carousels and tabs ion cheatsheets too Co-authored-by: XhmikosR <[email protected]>
2021-02-11Revert dist changes from #32747 (#33050)Mark Otto41-265/+405
2021-02-11Add Parcel Bundler doc (#30909)eldk2-0/+100
* Add Parcel Bundler doc * Update parcel.md * Improve parcel.md Co-authored-by: XhmikosR <[email protected]> Co-authored-by: Mark Otto <[email protected]>
2021-02-10Add input focus blur variableSam Willis2-2/+3
2021-02-10Remove explicit suppression of focus outlinePatrick H. Lauke1-14/+0
It's unclear what the reason for first introducing the original hack here (for `[tabindex="-1"]:focus {...}`) was. Seems something that may have been useful/necessary in SuitCSS, but don't think BS ever relied on this. https://github.com/twbs/bootstrap/issues/18330 It's since been modified to only apply when the browser wouldn't apply a visible outline anyway based on its own heuristics (the `:not(:focus-visible)` part) https://github.com/twbs/bootstrap/pull/28437/ But now, thinking this through more...in browsers that do support this pseudo-selector, what this is essentially saying is redundant: don't apply outline in cases where a `tabindex="-1"` element receives focus but the browser wouldn't normally apply focus outline". at best, this is unnecessary. at worst, this actually overrides things an author may explicitly be trying to do with adding `:focus { outline: ... }` explicitly.
2021-02-10Add Sass docs (variables, mixins, and loops) to most pages (#32747)Mark Otto100-480/+942
* WIP: Mention variables, mixins, and loops in docs * Add Sass sections to component pages * add sass docs for forms and content * Update buttons.md * Remove empty mixins sections * Massive update to utilities and some consistency changes Co-authored-by: XhmikosR <[email protected]>
2021-02-10Release v5.0.0-beta2 (#32467)v5.0.0-beta2XhmikosR106-2952/+3340
* Bump version to 5.0.0-beta2 * Dist
2021-02-10docs(scroll offset): improve a11y for sticky header (#33027)Gaël Poupard1-6/+6
Our current trick works great for headings or landmarks `:target`ed by links activation, however it still allows focus to be hidden under the sticky header. 1. Go to any docs page, 2. use a TOC link to scroll down the page, 3. then `Shift`+`Tab` to navigate backward using keyboard. You should see on some browsers (mainly Firefox from my tests, but it used to do the same in Chrome) that focused elements isn't visible, hidden by our sticky header. Applying `scroll-padding-top` to the `:root` solves this without any side-effect—but it requires to drop `scroll-margin-top` for anchors to prevent doubling the offset. FWIW based on my test, Edgium and Chromium don't really care since they seem to have a new heuristic for such cases, making the focused element scroll to the center of the view.
2021-02-10Downgrade karma to v6.0.4. (#33030)XhmikosR2-4/+4
It seems v6.1.0 has some disconnect issues, so, trying to see if that's the case.
2021-02-09Add function type for `popperConfig` option (#32882)Rohit Sharma9-16/+99
* Add function type for `popperConfig` option * Update .bundlewatch.config.json * copy edits Co-authored-by: XhmikosR <[email protected]> Co-authored-by: Mark Otto <[email protected]>
2021-02-09Dropdown — Change the selector to check the use of Popper (#33003)Rohit Sharma2-9/+6
* Create the popper instance first Make sure that popper instance has been created first and then apply the styling on the dropdown(menu) * Use `data-bs-popper` attibute to check popper Co-authored-by: XhmikosR <[email protected]>
2021-02-09fix(navbar): ensure .navbar-collapse behaves as intended (#33022)Gaël Poupard1-0/+2
2021-02-09Remove the default left styling in favor of PopperRohit Sharma1-1/+4
2021-02-09Mention dropdown static change in Migration guideMark Otto1-0/+1
Co-authored-by: Rohit Sharma <[email protected]>
2021-02-09Remove .dropdown-menu[style] reset and adjust .dropdown-menu-* modifiersMark Otto4-16/+171
- Removes the &[style] selector that was used for resetting Popper styles - Separate Popper-based alignment from static alignment with `data-bs-popover` attribute that separates the --bs-position and custom right/left properties Co-Authored-By: Rohit Sharma <[email protected]>
2021-02-09Bump linkinator from 2.13.3 to 2.13.4 (#33019)dependabot[bot]2-8/+8
Bumps [linkinator](https://github.com/JustinBeckwith/linkinator) from 2.13.3 to 2.13.4. - [Release notes](https://github.com/JustinBeckwith/linkinator/releases) - [Commits](https://github.com/JustinBeckwith/linkinator/compare/v2.13.3...v2.13.4) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-09vnu-jar.js: quote vnu path (#33016)XhmikosR1-1/+1
Should work now with folders with spaces
2021-02-09Remove custom `fallbackPlacements` from dropdown (#32843)Rohit Sharma1-6/+0
2021-02-09Docs on enforcing HTTPS and avoiding mixed content (#33017)Philip Kiely1-2/+4
Co-authored-by: XhmikosR <[email protected]>
2021-02-09Dynamic tabs: use buttons rather than links (#32630)Patrick H. Lauke4-122/+148
* Dynamic tabs: use buttons rather than links - change docs - add mention that tabs should be <button> elements - tweak styles to neutralise border and background * Update js unit and visual test accordingly - replace links with buttons - make one specific test that uses links instead of buttons, as we still want to support it despite it being non-semantically appropriate - Leaving a couple of tests for now. The test for removed tabs should be redone so that tabs are removed programmatically (as the approach of having that close button inside the link is invalid and broken markup). The test for dropdowns should be removed together we actually ripping out the handling for dropdowns in the tab.js code (arguably a breaking change, though we discouraged this for a few versions and effectively "deprecated" it) * Add isolation:isolate to prevent focus being overlapped https://github.com/twbs/bootstrap/pull/32630#issuecomment-756015766
2021-02-08CI: remove the cache fallback and shorten cache key (#33012)XhmikosR6-18/+12
2021-02-08Update devDependencies (#33011)XhmikosR2-736/+620
* @babel/cli ^7.12.10 → ^7.12.13 * @babel/core ^7.12.10 → ^7.12.13 * @babel/preset-env ^7.12.11 → ^7.12.13 * karma ^6.0.4 → ^6.1.0 * linkinator 2.11.2 → ^2.13.3 * postcss ^8.2.4 → ^8.2.5 * rollup ^2.38.4 → ^2.38.5 * rtlcss ^3.1.1 → ^3.1.2 * vnu-jar 20.6.30 → 21.2.5
2021-02-08Add a note to change the case type of option name (#32995)Rohit Sharma2-2/+2
2021-02-04Fix boundary config description for dropdown and popover (#32979)Kyle Tsang2-5/+3
2021-02-04Fix Popper preventOverflow boundary config (#32845)Kyle Tsang2-2/+2
Currently, the boundary config is being assigned to the wrong var (`rootBoundary`) in the popper config. It should be assigned to the `boundary` var in popper's config. Ref: https://popper.js.org/docs/v2/utils/detect-overflow/#boundary