aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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]>
2021-01-27Carousel: use buttons, not links, for prev/next controls (#32627)Patrick H. Lauke6-49/+76
* Carousel: use buttons, not links, for prev/next - expand the styles to neutralise border/background - change docs page - add extra unit test to check that links or buttons work as controls - modify visual test to use buttons as well - use buttons instead of links for prev/next - remove `role="button"` from links that are actually links * Clarify that controls can be button or link * Update site/content/docs/5.0/components/carousel.md Co-authored-by: Mark Otto <[email protected]> * Explicitly set padding to 0 to prevent dipping/moving on active in Firefox Co-authored-by: XhmikosR <[email protected]>
2021-01-26Bump bundlewatch from 0.3.1 to 0.3.2 (#32906)dependabot[bot]2-9/+17
Bumps [bundlewatch](https://github.com/bundlewatch/bundlewatch) from 0.3.1 to 0.3.2. - [Release notes](https://github.com/bundlewatch/bundlewatch/releases) - [Commits](https://github.com/bundlewatch/bundlewatch/compare/v0.3.1...v0.3.2) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-26Bump eslint-plugin-unicorn from 26.0.1 to 27.0.0 (#32902)dependabot[bot]4-25/+11
* Bump eslint-plugin-unicorn from 26.0.1 to 27.0.0 Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 26.0.1 to 27.0.0. - [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases) - [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v26.0.1...v27.0.0) Signed-off-by: dependabot[bot] <[email protected]> * Update ESLint ignores Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: XhmikosR <[email protected]>
2021-01-26Bump rollup from 2.37.0 to 2.38.0 (#32901)dependabot[bot]2-4/+4
Bumps [rollup](https://github.com/rollup/rollup) from 2.37.0 to 2.38.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.37.0...v2.38.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-01-26Bump karma from 6.0.0 to 6.0.2 (#32903)dependabot[bot]2-4/+4
Bumps [karma](https://github.com/karma-runner/karma) from 6.0.0 to 6.0.2. - [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.0...v6.0.2) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-25Pin linkinator and regenerate package-lock.jsonXhmikosR2-277/+187
2021-01-25Add a link to v4.x from the v5 homepage (#32745)Mark Otto1-1/+3
* Add a link to v4.x from the v5 homepage * Update masthead.html * Update masthead.html * Change label Co-authored-by: XhmikosR <[email protected]>
2021-01-25Replace .bg-white with .bg-body in docsVino Rodrigues7-13/+14
Response to issue #32810 Use of the .bg-white class to define visual aspects of the examples would be unintuitive for theme builders to test themes on. This replaces instances of .bg-white with .bg-body in the examples. - Edited examples to replace use .bg-white class with .bg-body class - product - offcanvas - pricing - cheatsheet - cheatsheet-rtl - Edited utilities colors.md & shadows.md to include .bg-body class
2021-01-20docs: Fix `navbar-nav-scroll` description (#32846)Kyle Tsang1-1/+1
2021-01-20Bump autoprefixer from 10.2.1 to 10.2.3 (#32850)dependabot[bot]2-5/+13
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.2.1 to 10.2.3. - [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.1...10.2.3) 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-01-20Bump sass from 1.32.4 to 1.32.5 (#32849)dependabot[bot]2-4/+4
Bumps [sass](https://github.com/sass/dart-sass) from 1.32.4 to 1.32.5. - [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.4...1.32.5) 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]>