aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
2021-02-03Fix dropdown keys to open menu (#32750)Siju Samson2-0/+54
Co-authored-by: XhmikosR <[email protected]>
2021-02-03Prevent `getSelector` from returning URLs as selector (#32586)Florian Vick2-1/+36
* added checks to getSelector in util to prevent returning hrefs that are invalid selectors * restored compatibility for the class selector and added test cases for keeping urls from being returned as a selector Co-authored-by: XhmikosR <[email protected]>
2021-02-03Dropdown — Emit events on the `.dropdown-toggle` button (#32625)Rohit Sharma4-112/+106
* Emit events on the dropdown button Emit the events on `.dropdown-toggle` button and then bubble up * Add migration note for events * Update the docs for events * Add unit test to check the event bubbling Co-authored-by: XhmikosR <[email protected]>
2021-02-03fix(accordion): ensure .accordion-button stays left-aligned (#32951)Gaël Poupard1-0/+1
Fixes #32938 Co-authored-by: XhmikosR <[email protected]>
2021-02-03fix(navbar): hardcoded custom property (#32930)Gaël Poupard1-1/+1
2021-02-03Fix default value for `$enable-deprecation-messages` (#32940)Stanisław Gregor1-1/+1
* Update the default value for $enable-deprecation-messages As seen in the https://github.com/twbs/bootstrap/blob/main/scss/_variables.scss, the $enable-deprecation-messages variable is set to `true` by default. * Update site/content/docs/5.0/customize/options.md Co-authored-by: Gaël Poupard <[email protected]> Co-authored-by: XhmikosR <[email protected]> Co-authored-by: Gaël Poupard <[email protected]>
2021-02-03Remove the initial margin from dropdown/popover in favor of Popper (#32524)Rohit Sharma6-22/+24
* Remove the margin from dropdown in favor of Popper - Set the default margin to 0 for dropdowns (To remove the Popper's warning) - Set the required offset in dropdown's defaults * Remove the margin from the popover component Co-authored-by: XhmikosR <[email protected]>
2021-02-03Tweak scss-docs shortcodeXhmikosR1-1/+1
Should work now with indented start/end capture statements
2021-02-03Update docs for color and bg utilitiesMark Otto12-39/+147
- Split colors from background utilities with new docs page - Add Sass docs for both pages
2021-02-02Bump rtlcss from 3.0.0 to 3.1.1 (#32972)dependabot[bot]2-5/+5
Bumps [rtlcss](https://github.com/MohammadYounes/rtlcss) from 3.0.0 to 3.1.1. - [Release notes](https://github.com/MohammadYounes/rtlcss/releases) - [Changelog](https://github.com/MohammadYounes/rtlcss/blob/master/CHANGELOG.md) - [Commits](https://github.com/MohammadYounes/rtlcss/compare/3.0.0...3.1.1) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-02Bump @rollup/plugin-commonjs from 17.0.0 to 17.1.0 (#32963)dependabot[bot]2-4/+4
2021-02-02Bump sass from 1.32.5 to 1.32.6 (#32965)dependabot[bot]2-4/+4
Bumps [sass](https://github.com/sass/dart-sass) from 1.32.5 to 1.32.6. - [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.5...1.32.6) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-02Bump @rollup/plugin-node-resolve from 11.1.0 to 11.1.1 (#32962)dependabot[bot]2-4/+4
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins) from 11.1.0 to 11.1.1. - [Release notes](https://github.com/rollup/plugins/releases) - [Commits](https://github.com/rollup/plugins/compare/commonjs-v11.1.0...node-resolve-v11.1.1) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-02Bump eslint from 7.18.0 to 7.19.0 (#32964)dependabot[bot]2-4/+4
Bumps [eslint](https://github.com/eslint/eslint) from 7.18.0 to 7.19.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.18.0...v7.19.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-02Bump rollup from 2.38.0 to 2.38.4 (#32961)dependabot[bot]2-14/+5
2021-02-02Bump autoprefixer from 10.2.3 to 10.2.4 (#32966)dependabot[bot]2-8/+8
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.2.3 to 10.2.4. - [Release notes](https://github.com/postcss/autoprefixer/releases) - [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md) - [Commits](https://github.com/postcss/autoprefixer/compare/10.2.3...10.2.4) 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-02Bump karma from 6.0.2 to 6.0.4 (#32959)dependabot[bot]2-26/+12
Bumps [karma](https://github.com/karma-runner/karma) from 6.0.2 to 6.0.4. - [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.2...v6.0.4) 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-02Bump @rollup/plugin-babel from 5.2.2 to 5.2.3 (#32958)dependabot[bot]2-4/+4
Bumps [@rollup/plugin-babel](https://github.com/rollup/plugins) from 5.2.2 to 5.2.3. - [Release notes](https://github.com/rollup/plugins/releases) - [Commits](https://github.com/rollup/plugins/compare/babel-v5.2.2...babel-v5.2.3) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-01_carousel.scss: Fix typo in comment (#32950)Quy1-1/+1
2021-01-28Just find the active indicatorRohit Sharma1-5/+3
2021-01-28Make carousel indicators actual buttonsPatrick H. Lauke9-59/+70
2021-01-28CI: switch to the coverallsapp/github-action tag (#32919)XhmikosR1-1/+1
Unfortunately, they don't offer a `v1` tag
2021-01-28change-version: remove vendor, add resources (#32917)XhmikosR1-1/+1
2021-01-28Update docs for `offset` optionRohit Sharma4-3/+24
2021-01-28Restore `offset` option for tooltip/popover componentsRohit Sharma2-0/+57
2021-01-28Restore offset option for dropdown componentjoke2k3-2/+80
2021-01-28Update checks and radios in input groups (#32912)Mark Otto1-3/+3
- Adds .mt-0 to the examples - Zero-ing out universally for all of them like in #32896 would cause issues for those who include the input with visible label text, where the text and input would be misaligned
2021-01-28Minor ESLint rules cleanup (#32904)XhmikosR2-13/+3
2021-01-28migration: mention `.form-text` changes (#32911)Tobias Bengfort1-0/+1
see #30598 and #30565
2021-01-27Re-add flex-grow to .navbar-collapse (#32899)Mark Otto1-1/+1
Update .navbar-collapse to drop width 100 and use flex-grow, restoring it to v4's behavior Co-authored-by: XhmikosR <[email protected]>
2021-01-27Tooltip refactoring (#32523)GeoSot1-84/+74
* tooltip: move common code to a reusable function * tooltip: return early in `show()` Co-authored-by: Rohit Sharma <[email protected]> Co-authored-by: XhmikosR <[email protected]>