]> git.ipfire.org Git - thirdparty/bootstrap.git/log
thirdparty/bootstrap.git
4 years agoMention dropdown static change in Migration guide
Mark Otto [Sun, 7 Feb 2021 19:46:31 +0000 (21:46 +0200)] 
Mention dropdown static change in Migration guide

Co-authored-by: Rohit Sharma <rohit2sharma95@gmail.com>
4 years agoRemove .dropdown-menu[style] reset and adjust .dropdown-menu-* modifiers
Mark Otto [Fri, 5 Feb 2021 22:57:43 +0000 (14:57 -0800)] 
Remove .dropdown-menu[style] reset and adjust .dropdown-menu-* modifiers

- 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 <rohit2sharma95@gmail.com>
4 years agoBump linkinator from 2.13.3 to 2.13.4 (#33019)
dependabot[bot] [Tue, 9 Feb 2021 07:22:31 +0000 (09:22 +0200)] 
Bump linkinator from 2.13.3 to 2.13.4 (#33019)

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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agovnu-jar.js: quote vnu path (#33016)
XhmikosR [Tue, 9 Feb 2021 06:01:44 +0000 (08:01 +0200)] 
vnu-jar.js: quote vnu path (#33016)

Should work now with folders with spaces

4 years agoRemove custom `fallbackPlacements` from dropdown (#32843)
Rohit Sharma [Tue, 9 Feb 2021 05:55:17 +0000 (11:25 +0530)] 
Remove custom `fallbackPlacements` from dropdown (#32843)

4 years agoDocs on enforcing HTTPS and avoiding mixed content (#33017)
Philip Kiely [Tue, 9 Feb 2021 05:54:16 +0000 (23:54 -0600)] 
Docs on enforcing HTTPS and avoiding mixed content (#33017)

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agoDynamic tabs: use buttons rather than links (#32630)
Patrick H. Lauke [Tue, 9 Feb 2021 05:23:45 +0000 (05:23 +0000)] 
Dynamic tabs: use buttons rather than links (#32630)

* 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

4 years agoCI: remove the cache fallback and shorten cache key (#33012)
XhmikosR [Mon, 8 Feb 2021 19:41:10 +0000 (21:41 +0200)] 
CI: remove the cache fallback and shorten cache key (#33012)

4 years agoUpdate devDependencies (#33011)
XhmikosR [Mon, 8 Feb 2021 19:05:24 +0000 (21:05 +0200)] 
Update devDependencies (#33011)

* @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

4 years agoAdd a note to change the case type of option name (#32995)
Rohit Sharma [Mon, 8 Feb 2021 14:55:47 +0000 (20:25 +0530)] 
Add a note to change the case type of option name (#32995)

4 years agoFix boundary config description for dropdown and popover (#32979)
Kyle Tsang [Thu, 4 Feb 2021 05:26:32 +0000 (21:26 -0800)] 
Fix boundary config description for dropdown and popover (#32979)

4 years agoFix Popper preventOverflow boundary config (#32845)
Kyle Tsang [Thu, 4 Feb 2021 04:55:25 +0000 (20:55 -0800)] 
Fix Popper preventOverflow boundary config (#32845)

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

4 years agoFix dropdown keys to open menu (#32750)
Siju Samson [Wed, 3 Feb 2021 20:03:21 +0000 (01:33 +0530)] 
Fix dropdown keys to open menu (#32750)

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agoPrevent `getSelector` from returning URLs as selector (#32586)
Florian Vick [Wed, 3 Feb 2021 19:58:54 +0000 (20:58 +0100)] 
Prevent `getSelector` from returning URLs as selector (#32586)

* 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 <xhmikosr@gmail.com>
4 years agoDropdown — Emit events on the `.dropdown-toggle` button (#32625)
Rohit Sharma [Wed, 3 Feb 2021 19:51:19 +0000 (01:21 +0530)] 
Dropdown — Emit events on the `.dropdown-toggle` button (#32625)

* 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 <xhmikosr@gmail.com>
4 years agofix(accordion): ensure .accordion-button stays left-aligned (#32951)
Gaël Poupard [Wed, 3 Feb 2021 19:44:48 +0000 (20:44 +0100)] 
fix(accordion): ensure .accordion-button stays left-aligned (#32951)

Fixes #32938

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agofix(navbar): hardcoded custom property (#32930)
Gaël Poupard [Wed, 3 Feb 2021 19:42:24 +0000 (20:42 +0100)] 
fix(navbar): hardcoded custom property (#32930)

4 years agoFix default value for `$enable-deprecation-messages` (#32940)
Stanisław Gregor [Wed, 3 Feb 2021 19:40:05 +0000 (20:40 +0100)] 
Fix default value for `$enable-deprecation-messages` (#32940)

* 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 <ffoodd@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Gaël Poupard <ffoodd@users.noreply.github.com>
4 years agoRemove the initial margin from dropdown/popover in favor of Popper (#32524)
Rohit Sharma [Wed, 3 Feb 2021 19:37:25 +0000 (01:07 +0530)] 
Remove the initial margin from dropdown/popover in favor of Popper (#32524)

* 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 <xhmikosr@gmail.com>
4 years agoTweak scss-docs shortcode
XhmikosR [Wed, 20 Jan 2021 10:00:57 +0000 (12:00 +0200)] 
Tweak scss-docs shortcode

Should work now with indented start/end capture statements

4 years agoUpdate docs for color and bg utilities
Mark Otto [Sat, 16 Jan 2021 22:06:19 +0000 (00:06 +0200)] 
Update docs for color and bg utilities

- Split colors from background utilities with new docs page
- Add Sass docs for both pages

4 years agoBump rtlcss from 3.0.0 to 3.1.1 (#32972)
dependabot[bot] [Tue, 2 Feb 2021 19:00:15 +0000 (21:00 +0200)] 
Bump rtlcss from 3.0.0 to 3.1.1 (#32972)

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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump @rollup/plugin-commonjs from 17.0.0 to 17.1.0 (#32963)
dependabot[bot] [Tue, 2 Feb 2021 12:09:14 +0000 (12:09 +0000)] 
Bump @rollup/plugin-commonjs from 17.0.0 to 17.1.0 (#32963)

4 years agoBump sass from 1.32.5 to 1.32.6 (#32965)
dependabot[bot] [Tue, 2 Feb 2021 12:01:40 +0000 (14:01 +0200)] 
Bump sass from 1.32.5 to 1.32.6 (#32965)

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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump @rollup/plugin-node-resolve from 11.1.0 to 11.1.1 (#32962)
dependabot[bot] [Tue, 2 Feb 2021 11:59:57 +0000 (13:59 +0200)] 
Bump @rollup/plugin-node-resolve from 11.1.0 to 11.1.1 (#32962)

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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump eslint from 7.18.0 to 7.19.0 (#32964)
dependabot[bot] [Tue, 2 Feb 2021 11:56:19 +0000 (13:56 +0200)] 
Bump eslint from 7.18.0 to 7.19.0 (#32964)

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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agoBump rollup from 2.38.0 to 2.38.4 (#32961)
dependabot[bot] [Tue, 2 Feb 2021 11:52:20 +0000 (11:52 +0000)] 
Bump rollup from 2.38.0 to 2.38.4 (#32961)

4 years agoBump autoprefixer from 10.2.3 to 10.2.4 (#32966)
dependabot[bot] [Tue, 2 Feb 2021 11:42:32 +0000 (13:42 +0200)] 
Bump autoprefixer from 10.2.3 to 10.2.4 (#32966)

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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agoBump karma from 6.0.2 to 6.0.4 (#32959)
dependabot[bot] [Tue, 2 Feb 2021 11:33:16 +0000 (13:33 +0200)] 
Bump karma from 6.0.2 to 6.0.4 (#32959)

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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agoBump @rollup/plugin-babel from 5.2.2 to 5.2.3 (#32958)
dependabot[bot] [Tue, 2 Feb 2021 11:21:52 +0000 (13:21 +0200)] 
Bump @rollup/plugin-babel from 5.2.2 to 5.2.3 (#32958)

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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago_carousel.scss: Fix typo in comment (#32950)
Quy [Mon, 1 Feb 2021 13:22:24 +0000 (05:22 -0800)] 
_carousel.scss: Fix typo in comment (#32950)

4 years agoJust find the active indicator
Rohit Sharma [Mon, 18 Jan 2021 06:45:56 +0000 (12:15 +0530)] 
Just find the active indicator

4 years agoMake carousel indicators actual buttons
Patrick H. Lauke [Sun, 3 Jan 2021 11:06:58 +0000 (13:06 +0200)] 
Make carousel indicators actual buttons

4 years agoCI: switch to the coverallsapp/github-action tag (#32919)
XhmikosR [Thu, 28 Jan 2021 21:31:33 +0000 (23:31 +0200)] 
CI: switch to the coverallsapp/github-action tag (#32919)

Unfortunately, they don't offer a `v1` tag

4 years agochange-version: remove vendor, add resources (#32917)
XhmikosR [Thu, 28 Jan 2021 21:30:10 +0000 (23:30 +0200)] 
change-version: remove vendor, add resources (#32917)

4 years agoUpdate docs for `offset` option
Rohit Sharma [Fri, 18 Dec 2020 08:00:36 +0000 (10:00 +0200)] 
Update docs for `offset` option

4 years agoRestore `offset` option for tooltip/popover components
Rohit Sharma [Wed, 16 Dec 2020 18:07:27 +0000 (20:07 +0200)] 
Restore `offset` option for tooltip/popover components

4 years agoRestore offset option for dropdown component
joke2k [Sat, 12 Dec 2020 00:54:29 +0000 (02:54 +0200)] 
Restore offset option for dropdown component

4 years agoUpdate checks and radios in input groups (#32912)
Mark Otto [Thu, 28 Jan 2021 09:39:36 +0000 (01:39 -0800)] 
Update checks and radios in input groups (#32912)

- 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

4 years agoMinor ESLint rules cleanup (#32904)
XhmikosR [Thu, 28 Jan 2021 09:34:20 +0000 (11:34 +0200)] 
Minor ESLint rules cleanup (#32904)

4 years agomigration: mention `.form-text` changes (#32911)
Tobias Bengfort [Thu, 28 Jan 2021 06:05:05 +0000 (07:05 +0100)] 
migration: mention `.form-text` changes (#32911)

see #30598 and #30565

4 years agoRe-add flex-grow to .navbar-collapse (#32899)
Mark Otto [Wed, 27 Jan 2021 19:27:02 +0000 (11:27 -0800)] 
Re-add flex-grow to .navbar-collapse (#32899)

Update .navbar-collapse to drop width 100 and use flex-grow, restoring it to v4's behavior

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agoTooltip refactoring (#32523)
GeoSot [Wed, 27 Jan 2021 17:01:24 +0000 (19:01 +0200)] 
Tooltip refactoring (#32523)

* tooltip: move common code to a reusable function

* tooltip: return early in `show()`

Co-authored-by: Rohit Sharma <rohit2sharma95@gmail.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agoCarousel: use buttons, not links, for prev/next controls (#32627)
Patrick H. Lauke [Wed, 27 Jan 2021 15:31:16 +0000 (15:31 +0000)] 
Carousel: use buttons, not links, for prev/next controls (#32627)

* 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 <markd.otto@gmail.com>
* Explicitly set padding to 0 to prevent dipping/moving on active in Firefox

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agoBump bundlewatch from 0.3.1 to 0.3.2 (#32906)
dependabot[bot] [Tue, 26 Jan 2021 20:24:46 +0000 (22:24 +0200)] 
Bump bundlewatch from 0.3.1 to 0.3.2 (#32906)

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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump eslint-plugin-unicorn from 26.0.1 to 27.0.0 (#32902)
dependabot[bot] [Tue, 26 Jan 2021 13:53:26 +0000 (15:53 +0200)] 
Bump eslint-plugin-unicorn from 26.0.1 to 27.0.0 (#32902)

* 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] <support@github.com>
* Update ESLint ignores

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agoBump rollup from 2.37.0 to 2.38.0 (#32901)
dependabot[bot] [Tue, 26 Jan 2021 13:28:05 +0000 (15:28 +0200)] 
Bump rollup from 2.37.0 to 2.38.0 (#32901)

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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agoBump karma from 6.0.0 to 6.0.2 (#32903)
dependabot[bot] [Tue, 26 Jan 2021 13:22:37 +0000 (15:22 +0200)] 
Bump karma from 6.0.0 to 6.0.2 (#32903)

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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoPin linkinator and regenerate package-lock.json
XhmikosR [Wed, 20 Jan 2021 08:21:46 +0000 (10:21 +0200)] 
Pin linkinator and regenerate package-lock.json

4 years agoAdd a link to v4.x from the v5 homepage (#32745)
Mark Otto [Mon, 25 Jan 2021 22:38:27 +0000 (14:38 -0800)] 
Add a link to v4.x from the v5 homepage (#32745)

* Add a link to v4.x from the v5 homepage

* Update masthead.html

* Update masthead.html

* Change label

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agoReplace .bg-white with .bg-body in docs
Vino Rodrigues [Sat, 16 Jan 2021 02:07:57 +0000 (13:07 +1100)] 
Replace .bg-white with .bg-body in docs

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

4 years agodocs: Fix `navbar-nav-scroll` description (#32846)
Kyle Tsang [Wed, 20 Jan 2021 10:12:35 +0000 (02:12 -0800)] 
docs: Fix `navbar-nav-scroll` description (#32846)

4 years agoBump autoprefixer from 10.2.1 to 10.2.3 (#32850)
dependabot[bot] [Wed, 20 Jan 2021 08:23:06 +0000 (10:23 +0200)] 
Bump autoprefixer from 10.2.1 to 10.2.3 (#32850)

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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agoBump sass from 1.32.4 to 1.32.5 (#32849)
dependabot[bot] [Wed, 20 Jan 2021 08:19:45 +0000 (10:19 +0200)] 
Bump sass from 1.32.4 to 1.32.5 (#32849)

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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agoBump stylelint from 13.8.0 to 13.9.0 (#32848)
dependabot[bot] [Wed, 20 Jan 2021 08:15:04 +0000 (10:15 +0200)] 
Bump stylelint from 13.8.0 to 13.9.0 (#32848)

Bumps [stylelint](https://github.com/stylelint/stylelint) from 13.8.0 to 13.9.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.8.0...13.9.0)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoDocs: add v4.6.0 (#32842)
XhmikosR [Tue, 19 Jan 2021 16:39:49 +0000 (18:39 +0200)] 
Docs: add v4.6.0 (#32842)

4 years agoBump rollup from 2.36.1 to 2.37.0 (#32838)
dependabot[bot] [Tue, 19 Jan 2021 10:18:39 +0000 (12:18 +0200)] 
Bump rollup from 2.36.1 to 2.37.0 (#32838)

Bumps [rollup](https://github.com/rollup/rollup) from 2.36.1 to 2.37.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.36.1...v2.37.0)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agoBump @rollup/plugin-node-resolve from 11.0.1 to 11.1.0 (#32837)
dependabot[bot] [Tue, 19 Jan 2021 10:14:38 +0000 (12:14 +0200)] 
Bump @rollup/plugin-node-resolve from 11.0.1 to 11.1.0 (#32837)

Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins) from 11.0.1 to 11.1.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/commonjs-v11.0.1...commonjs-v11.1.0)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agoBump eslint from 7.17.0 to 7.18.0 (#32836)
dependabot[bot] [Tue, 19 Jan 2021 10:07:26 +0000 (12:07 +0200)] 
Bump eslint from 7.17.0 to 7.18.0 (#32836)

Bumps [eslint](https://github.com/eslint/eslint) from 7.17.0 to 7.18.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.17.0...v7.18.0)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoAdd `.navbar-nav-scroll` for vertical scrolling of navbar content (#32037)
Mark Otto [Tue, 19 Jan 2021 05:32:18 +0000 (21:32 -0800)] 
Add `.navbar-nav-scroll` for vertical scrolling of navbar content (#32037)

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agoAdd a live toast example to the docs (#32760)
Mark Otto [Mon, 18 Jan 2021 13:10:01 +0000 (05:10 -0800)] 
Add a live toast example to the docs (#32760)

4 years agoRemove popover-arrow margin to fix alignment of the arrow (#32787)
Mark Otto [Fri, 15 Jan 2021 07:12:45 +0000 (23:12 -0800)] 
Remove popover-arrow margin to fix alignment of the arrow (#32787)

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agoDrop transition on .form-check, keep on .form-switch
Mark Otto [Thu, 14 Jan 2021 04:11:18 +0000 (20:11 -0800)] 
Drop transition on .form-check, keep on .form-switch

To avoid breaking changes, turns -check-transition to null, then adds a new -switch-transition variable

4 years agoLighten disabled dropdown text to $gray-500
Mark Otto [Wed, 13 Jan 2021 23:06:49 +0000 (15:06 -0800)] 
Lighten disabled dropdown text to $gray-500

Fixes #32474

4 years agoClarifies Sass variable defaults, adds bootstrap-npm-starter callout (#32795)
Mark Otto [Fri, 15 Jan 2021 00:21:21 +0000 (16:21 -0800)] 
Clarifies Sass variable defaults, adds bootstrap-npm-starter callout (#32795)

* Clarify Sass import and customize docs for how to modify variable defaulst

* Add an npm starter project callout to a few pages

* Update callout-info-npm-starter.md

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agodocs: work around Toast CSS conflict with utils (#32620)
Siju Samson [Fri, 15 Jan 2021 00:07:36 +0000 (05:37 +0530)] 
docs: work around Toast CSS conflict with utils (#32620)

* Toast CSS conflict resolved

* Update toasts.md

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agomodal: move common code to reusable functions (#32511)
GeoSot [Thu, 14 Jan 2021 19:22:09 +0000 (21:22 +0200)] 
modal: move common code to reusable functions (#32511)

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agoUpdate zip-examples.js (#32799)
XhmikosR [Thu, 14 Jan 2021 11:28:39 +0000 (13:28 +0200)] 
Update zip-examples.js (#32799)

Remove previously created zip files before creating a new one

4 years agoBump karma from 5.2.3 to 6.0.0 (#32797)
dependabot[bot] [Thu, 14 Jan 2021 11:00:17 +0000 (13:00 +0200)] 
Bump karma from 5.2.3 to 6.0.0 (#32797)

Bumps [karma](https://github.com/karma-runner/karma) from 5.2.3 to 6.0.0.
- [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/v5.2.3...v6.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agoCI: change Node.js to `14` (#32796)
XhmikosR [Thu, 14 Jan 2021 10:51:14 +0000 (12:51 +0200)] 
CI: change Node.js to `14` (#32796)

This is so that it's consistent with the JS workflow thus the cache should match.

4 years agoRemove role="button" from CTA links in carousel examples (#32788)
Patrick H. Lauke [Wed, 13 Jan 2021 23:54:25 +0000 (23:54 +0000)] 
Remove role="button" from CTA links in carousel examples (#32788)

They're links, acting as links. Just because they're styled as buttons visually doesn't mean they need/get `role="button"`

4 years agoDocs v5: Fix Sass rounding precision and state Sass implementation (#32512)
voltaek [Wed, 13 Jan 2021 22:41:42 +0000 (17:41 -0500)] 
Docs v5: Fix Sass rounding precision and state Sass implementation (#32512)

* Add Sass section to Getting Started > Build Tools, mention Sass implementation used, mention current precision of 10 due to Dart Sass, and mention recommended minimum precision (value of 6 used in BS v4). Remove outdated Sass precision from Customize > Sass docs page.

* Remove more mentions of deprecated Sass implementations. Add links to Sass compiler mentions so we can keep all pertinent Sass compiler information in just one location instead of spread through the docs, which makes it hard to find the details and/or keep them up-to-date.

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agobuild-plugins: build Base component too (#32313)
XhmikosR [Wed, 13 Jan 2021 22:35:57 +0000 (00:35 +0200)] 
build-plugins: build Base component too (#32313)

4 years agoBump eslint-plugin-unicorn from 25.0.1 to 26.0.1 (#32784)
dependabot[bot] [Wed, 13 Jan 2021 22:29:26 +0000 (00:29 +0200)] 
Bump eslint-plugin-unicorn from 25.0.1 to 26.0.1 (#32784)

* Bump eslint-plugin-unicorn from 25.0.1 to 26.0.1

Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 25.0.1 to 26.0.1.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v25.0.1...v26.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
* Updates for `eslint-plugin-unicorn@26.0.1`

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agoAdd mention of CSPs and SVGs (#32759)
Mark Otto [Wed, 13 Jan 2021 22:15:18 +0000 (14:15 -0800)] 
Add mention of CSPs and SVGs (#32759)

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agoRevert "docs: Fix popover example showing above navbar (#32445)" (#32533)
XhmikosR [Wed, 13 Jan 2021 20:51:39 +0000 (22:51 +0200)] 
Revert "docs: Fix popover example showing above navbar (#32445)" (#32533)

This reverts commit 517446069a60daddaf5e53651661851f9b44e9a0.

4 years agoThrow a `TypeError` instead of the generic `Error` (#32585)
Rohit Sharma [Wed, 13 Jan 2021 20:13:30 +0000 (01:43 +0530)] 
Throw a `TypeError` instead of the generic `Error` (#32585)

* Change from Error to TypeError

* Convert the `NAME` to upper case to make the consistency in the error message

* Update the remaining tests to be stricter

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agoFix toggling modal when clicking on `data-bs-toggle="modal"` (#32691)
Rohit Sharma [Wed, 13 Jan 2021 19:59:47 +0000 (01:29 +0530)] 
Fix toggling modal when clicking on `data-bs-toggle="modal"` (#32691)

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agoDocument some basic code conventions for us (#32778)
Mark Otto [Wed, 13 Jan 2021 19:06:07 +0000 (11:06 -0800)] 
Document some basic code conventions for us (#32778)

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agoImprove docs regarding RTL migration (#32771)
Gaël Poupard [Wed, 13 Jan 2021 19:01:36 +0000 (20:01 +0100)] 
Improve docs regarding RTL migration (#32771)

* docs(migrations): add a note regarding migration from v4 used for RTL layouts

* docs(RTL): LTR & RTL at the same time

* docs(utilities): how-to use the API to rename utilities

* docs(RTL): mention issue when nesting styles with .ltr / .rtl

4 years agoAdd word-break to .toast-body (#32670)
Onycss [Wed, 13 Jan 2021 17:21:57 +0000 (19:21 +0200)] 
Add word-break to .toast-body (#32670)

* Update _toasts.scss

* Update scss/_toasts.scss

Co-authored-by: Mark Otto <otto@github.com>
4 years agoImprove zip-examples.js (#32469)
XhmikosR [Wed, 13 Jan 2021 17:21:31 +0000 (19:21 +0200)] 
Improve zip-examples.js (#32469)

Only include the needed dist files: ~1.27 MB -> ~410 KB

4 years agoMigration: mention the removal of `.rounded-sm/lg` utilities (#32758)
ghost_32 [Wed, 13 Jan 2021 17:18:56 +0000 (22:48 +0530)] 
Migration: mention the removal of `.rounded-sm/lg` utilities (#32758)

* Changes made in migration.md file of documentation

Added information about the removal of `.rounded-sm` and `.rounded-lg`.
And addition of `.rounded-0` to `.rounded-3`

* Moved the edited line

Added `rounded-0` to `rounded-3` under  v5.0.0-alpha3

* Moved correctly

* Added link

Added link to issue #31687

* docs(migration): last typo thinggies

* Update migration.md

Co-authored-by: Gaël Poupard <ffoodd@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agoJS: update karma config (#32769)
XhmikosR [Wed, 13 Jan 2021 17:16:51 +0000 (19:16 +0200)] 
JS: update karma config (#32769)

* rename constants
* enforce the constants to be Boolean
* fix karma `logLevel`

4 years agoDocument size and multiple aren't supported on floating label selects (#32744)
Mark Otto [Wed, 13 Jan 2021 17:15:05 +0000 (09:15 -0800)] 
Document size and multiple aren't supported on floating label selects (#32744)

* Document size and multiple aren't supported on floating label selects

Closes #32660

* Update floating-labels.md

4 years agoUpdate toasts.md (#32782)
Marcin Kasperski [Wed, 13 Jan 2021 17:05:25 +0000 (18:05 +0100)] 
Update toasts.md (#32782)

* dropped mention of `backdrop-filter`
* changed mention of `.text-white` to `.btn-close-white` on close button

4 years ago.gitignore: remove Ruby/Jekyll entries (#32770)
XhmikosR [Wed, 13 Jan 2021 11:20:49 +0000 (13:20 +0200)] 
.gitignore: remove Ruby/Jekyll entries (#32770)

Our currently supported branches, v4-dev and main, use Hugo.

4 years agoStylelint: disallow some property values (#32756)
XhmikosR [Wed, 13 Jan 2021 08:52:41 +0000 (10:52 +0200)] 
Stylelint: disallow some property values (#32756)

* `border: none`
* `outline: none`

4 years agoMention stretched-link constraints with table elements (#32761)
Mark Otto [Tue, 12 Jan 2021 13:33:58 +0000 (05:33 -0800)] 
Mention stretched-link constraints with table elements (#32761)

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agoBump sass from 1.32.2 to 1.32.4 (#32766)
dependabot[bot] [Tue, 12 Jan 2021 12:53:12 +0000 (14:53 +0200)] 
Bump sass from 1.32.2 to 1.32.4 (#32766)

Bumps [sass](https://github.com/sass/dart-sass) from 1.32.2 to 1.32.4.
- [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.2...1.32.4)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoGitHub Actions cleanup (#32755)
XhmikosR [Mon, 11 Jan 2021 11:05:05 +0000 (13:05 +0200)] 
GitHub Actions cleanup (#32755)

* lowercase `runner.os`
* remove `CI` environment variable since it's already set by the runner

4 years agoDarken dropdown item hover style (#32754)
Patrick H. Lauke [Mon, 11 Jan 2021 01:24:03 +0000 (01:24 +0000)] 
Darken dropdown item hover style (#32754)

Closes https://github.com/twbs/bootstrap/issues/23329

4 years agoConsistently use outline:0 rather than outline:none (#32751)
Patrick H. Lauke [Sun, 10 Jan 2021 16:13:08 +0000 (16:13 +0000)] 
Consistently use outline:0 rather than outline:none (#32751)

just for code consistency, no actual effect on styling per se

4 years agoSuppress focus outline for buttons when it shouldn't be visible in Chromium (#32689)
Patrick H. Lauke [Sun, 10 Jan 2021 10:42:26 +0000 (10:42 +0000)] 
Suppress focus outline for buttons when it shouldn't be visible in Chromium (#32689)

Follow-up to https://github.com/twbs/bootstrap/pull/32631

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agopackage.json: move `version_short` variable under the `config` object (#32737)
XhmikosR [Sun, 10 Jan 2021 06:03:49 +0000 (08:03 +0200)] 
package.json: move `version_short` variable under the `config` object (#32737)

This is so that it works on npm 7.x too.

4 years agoFix typo (#32740)
Brian Thompson [Sat, 9 Jan 2021 21:06:41 +0000 (15:06 -0600)] 
Fix typo (#32740)

* Fix typo

* Rewrite description to avoid awkward phrasing

Co-authored-by: Mark Otto <otto@github.com>
4 years agoUpdate devDependencies (#32738)
XhmikosR [Sat, 9 Jan 2021 20:57:00 +0000 (22:57 +0200)] 
Update devDependencies (#32738)

* autoprefixer  ^10.2.0  →  ^10.2.1
* postcss        ^8.2.2  →   ^8.2.4

4 years agoMove "active" class from `.nav-item` to `.nav-link` (#32730)
Théophile Helleboid - chtitux [Fri, 8 Jan 2021 18:53:04 +0000 (22:53 +0400)] 
Move "active" class from `.nav-item` to `.nav-link` (#32730)

4 years agodocs(sidebar): active link
Gaël Poupard [Mon, 14 Dec 2020 13:48:08 +0000 (14:48 +0100)] 
docs(sidebar): active link

4 years agoMove migration sidebar entry to sidebar.yml
XhmikosR [Fri, 4 Dec 2020 09:53:14 +0000 (11:53 +0200)] 
Move migration sidebar entry to sidebar.yml