]> git.ipfire.org Git - thirdparty/bootstrap.git/log
thirdparty/bootstrap.git
4 years agoRemove the default positioning from `.dropup` (#33120)
Rohit Sharma [Mon, 22 Feb 2021 06:57:21 +0000 (12:27 +0530)] 
Remove the default positioning from `.dropup` (#33120)

4 years agofix(card): siblings card links in RTL (#33154)
Gaël Poupard [Mon, 22 Feb 2021 06:49:38 +0000 (07:49 +0100)] 
fix(card): siblings card links in RTL (#33154)

Fixes a bug mentionned in [#32330](https://github.com/twbs/bootstrap/issues/32330#issuecomment-782001326).

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agovisual tests: add missing base-component dist file (#33167)
XhmikosR [Mon, 22 Feb 2021 06:42:43 +0000 (08:42 +0200)] 
visual tests: add missing base-component dist file (#33167)

Regression of #32313

4 years agoFix small typos / follow-up to #32630 (#33164)
Patrick H. Lauke [Sun, 21 Feb 2021 06:00:03 +0000 (06:00 +0000)] 
Fix small typos / follow-up to #32630 (#33164)

4 years agoAdjust regex `SAFE_URL_PATTERN` for use with test method of regexes. (#33136)
Nikon the Third [Fri, 19 Feb 2021 08:24:53 +0000 (09:24 +0100)] 
Adjust regex `SAFE_URL_PATTERN` for use with test method of regexes. (#33136)

The test method on regexes behaves different than the match method on strings in the presence of the global modifier.
Add a unit test for sanitizing the same template twice.

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agolinkinator: replace `--silent` with `--verbosity` (#33100)
XhmikosR [Thu, 18 Feb 2021 22:28:39 +0000 (00:28 +0200)] 
linkinator: replace `--silent` with `--verbosity` (#33100)

4 years agoUpdate clean-css-cli to v5.2.0. (#33099)
XhmikosR [Thu, 18 Feb 2021 18:53:18 +0000 (20:53 +0200)] 
Update clean-css-cli to v5.2.0. (#33099)

* Update clean-css-cli to v5.2.0

* Enable clean-css's batch flag

4 years agoadd some space
nlipka [Thu, 18 Feb 2021 10:37:20 +0000 (11:37 +0100)] 
add some space

4 years agoClarify docs around .navbar-brand (#33123)
Mark Otto [Wed, 17 Feb 2021 03:58:26 +0000 (19:58 -0800)] 
Clarify docs around .navbar-brand (#33123)

- Add new headings and text for each example
- Fixes #33072 by changing align-* class

4 years agoBump eslint-plugin-unicorn from 27.0.0 to 28.0.1 (#33116)
dependabot[bot] [Tue, 16 Feb 2021 11:04:37 +0000 (13:04 +0200)] 
Bump eslint-plugin-unicorn from 27.0.0 to 28.0.1 (#33116)

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] <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.9.0 to 13.10.0 (#33115)
dependabot[bot] [Tue, 16 Feb 2021 11:01:17 +0000 (13:01 +0200)] 
Bump stylelint from 13.9.0 to 13.10.0 (#33115)

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] <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.4 to 6.1.1 (#33112)
dependabot[bot] [Tue, 16 Feb 2021 10:56:25 +0000 (12:56 +0200)] 
Bump karma from 6.0.4 to 6.1.1 (#33112)

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] <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.6 to 1.32.7 (#33114)
dependabot[bot] [Tue, 16 Feb 2021 10:54:16 +0000 (12:54 +0200)] 
Bump sass from 1.32.6 to 1.32.7 (#33114)

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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump @rollup/plugin-babel from 5.2.3 to 5.3.0 (#33113)
dependabot[bot] [Tue, 16 Feb 2021 10:48:56 +0000 (12:48 +0200)] 
Bump @rollup/plugin-babel from 5.2.3 to 5.3.0 (#33113)

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] <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.5 to 2.39.0 (#33107)
dependabot[bot] [Tue, 16 Feb 2021 10:48:27 +0000 (12:48 +0200)] 
Bump rollup from 2.38.5 to 2.39.0 (#33107)

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] <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 @babel/preset-env from 7.12.13 to 7.12.16 (#33111)
dependabot[bot] [Tue, 16 Feb 2021 10:45:06 +0000 (10:45 +0000)] 
Bump @babel/preset-env from 7.12.13 to 7.12.16 (#33111)

4 years agoBump @rollup/plugin-node-resolve from 11.1.1 to 11.2.0 (#33109)
dependabot[bot] [Tue, 16 Feb 2021 10:34:34 +0000 (12:34 +0200)] 
Bump @rollup/plugin-node-resolve from 11.1.1 to 11.2.0 (#33109)

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] <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 @babel/core from 7.12.13 to 7.12.16 (#33106)
dependabot[bot] [Tue, 16 Feb 2021 10:30:31 +0000 (12:30 +0200)] 
Bump @babel/core from 7.12.13 to 7.12.16 (#33106)

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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump postcss from 8.2.5 to 8.2.6 (#33105)
dependabot[bot] [Tue, 16 Feb 2021 10:26:07 +0000 (12:26 +0200)] 
Bump postcss from 8.2.5 to 8.2.6 (#33105)

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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump @babel/cli from 7.12.13 to 7.12.16 (#33104)
dependabot[bot] [Tue, 16 Feb 2021 10:25:37 +0000 (12:25 +0200)] 
Bump @babel/cli from 7.12.13 to 7.12.16 (#33104)

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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump eslint from 7.19.0 to 7.20.0 (#33103)
dependabot[bot] [Tue, 16 Feb 2021 10:24:11 +0000 (12:24 +0200)] 
Bump eslint from 7.19.0 to 7.20.0 (#33103)

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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agooverview: add missing EOF newline (#33098)
XhmikosR [Tue, 16 Feb 2021 10:22:35 +0000 (12:22 +0200)] 
overview: add missing EOF newline (#33098)

4 years agoSimplify karma.conf.js (#33045)
XhmikosR [Tue, 16 Feb 2021 10:18:06 +0000 (12:18 +0200)] 
Simplify karma.conf.js (#33045)

`customLaunchers` does not seem to be needed.

4 years agoutil: change `isRTL` to a function (#32446)
XhmikosR [Tue, 16 Feb 2021 08:14:05 +0000 (10:14 +0200)] 
util: change `isRTL` to a function (#32446)

This allows the bundler to tree-shake the function.

4 years agoAdd tests for `DATA_KEY` (#33090)
GeoSot [Tue, 16 Feb 2021 06:58:08 +0000 (08:58 +0200)] 
Add tests for `DATA_KEY` (#33090)

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agoClear duplicated class `border-0` (#32925)
k-utsumi [Tue, 16 Feb 2021 06:05:09 +0000 (15:05 +0900)] 
Clear duplicated class `border-0` (#32925)

* Clear duplicated class `border-0`

* Update migration.md

Co-authored-by: Mark Otto <otto@github.com>
4 years agodocs: add bootstrap5 zh-tw in translations (#33006)
Ray [Mon, 15 Feb 2021 19:09:56 +0000 (03:09 +0800)] 
docs: add bootstrap5 zh-tw in translations (#33006)

4 years agodocs(examples): typo in offcanvas example in .bg-body (#33092)
Gaël Poupard [Mon, 15 Feb 2021 19:06:57 +0000 (20:06 +0100)] 
docs(examples): typo in offcanvas example in .bg-body (#33092)

Caught by pa11y-ci on Boosted (because of insufficient contrasts) :heart:

4 years agoCI: skip release drafter if we are not on our repo (#33067)
XhmikosR [Mon, 15 Feb 2021 06:50:47 +0000 (08:50 +0200)] 
CI: skip release drafter if we are not on our repo (#33067)

4 years agoFix typo in nav-tabs docs (#33081)
Siju Samson [Mon, 15 Feb 2021 06:45:34 +0000 (12:15 +0530)] 
Fix typo in nav-tabs docs (#33081)

4 years agoAdd the missing expectations for touch events (#33060)
Rohit Sharma [Fri, 12 Feb 2021 06:36:20 +0000 (12:06 +0530)] 
Add the missing expectations for touch events (#33060)

4 years agoFix event handler removal in dropdown/carousel dispose (#33000)
Kyle Tsang [Fri, 12 Feb 2021 05:51:34 +0000 (21:51 -0800)] 
Fix event handler removal in dropdown/carousel dispose (#33000)

* 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 <xhmikosr@gmail.com>
Co-authored-by: Rohit Sharma <rohit2sharma95@gmail.com>
4 years agoDocs improvements after beta2 (#33049)
Gaël Poupard [Thu, 11 Feb 2021 17:48:08 +0000 (18:48 +0100)] 
Docs improvements after beta2 (#33049)

* 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 <xhmikosr@gmail.com>
4 years agoRevert dist changes from #32747 (#33050)
Mark Otto [Thu, 11 Feb 2021 15:22:18 +0000 (07:22 -0800)] 
Revert dist changes from #32747 (#33050)

4 years agoAdd Parcel Bundler doc (#30909)
eldk [Thu, 11 Feb 2021 06:22:20 +0000 (07:22 +0100)] 
Add Parcel Bundler doc (#30909)

* Add Parcel Bundler doc

* Update parcel.md

* Improve parcel.md

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Mark Otto <markd.otto@gmail.com>
4 years agoAdd input focus blur variable
Sam Willis [Tue, 9 Feb 2021 23:54:49 +0000 (23:54 +0000)] 
Add input focus blur variable

4 years agoRemove explicit suppression of focus outline
Patrick H. Lauke [Tue, 9 Feb 2021 18:19:31 +0000 (18:19 +0000)] 
Remove explicit suppression of focus outline

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.

4 years agoAdd Sass docs (variables, mixins, and loops) to most pages (#32747)
Mark Otto [Thu, 11 Feb 2021 03:29:59 +0000 (19:29 -0800)] 
Add Sass docs (variables, mixins, and loops) to most pages (#32747)

* 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 <xhmikosr@gmail.com>
4 years agoRelease v5.0.0-beta2 (#32467) v5.0.0-beta2
XhmikosR [Wed, 10 Feb 2021 16:14:51 +0000 (18:14 +0200)] 
Release v5.0.0-beta2 (#32467)

* Bump version to 5.0.0-beta2

* Dist

4 years agodocs(scroll offset): improve a11y for sticky header (#33027)
Gaël Poupard [Wed, 10 Feb 2021 05:27:43 +0000 (06:27 +0100)] 
docs(scroll offset): improve a11y for sticky header (#33027)

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.

4 years agoDowngrade karma to v6.0.4. (#33030)
XhmikosR [Wed, 10 Feb 2021 05:22:45 +0000 (07:22 +0200)] 
Downgrade karma to v6.0.4. (#33030)

It seems v6.1.0 has some disconnect issues, so, trying to see if that's the case.

4 years agoAdd function type for `popperConfig` option (#32882)
Rohit Sharma [Tue, 9 Feb 2021 19:16:13 +0000 (00:46 +0530)] 
Add function type for `popperConfig` option (#32882)

* Add function type for `popperConfig` option

* Update .bundlewatch.config.json

* copy edits

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Mark Otto <markdotto@gmail.com>
4 years agoDropdown — Change the selector to check the use of Popper (#33003)
Rohit Sharma [Tue, 9 Feb 2021 19:04:23 +0000 (00:34 +0530)] 
Dropdown — Change the selector to check the use of Popper (#33003)

* 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 <xhmikosr@gmail.com>
4 years agofix(navbar): ensure .navbar-collapse behaves as intended (#33022)
Gaël Poupard [Tue, 9 Feb 2021 18:54:37 +0000 (19:54 +0100)] 
fix(navbar): ensure .navbar-collapse behaves as intended (#33022)

4 years agoRemove the default left styling in favor of Popper
Rohit Sharma [Mon, 8 Feb 2021 17:19:19 +0000 (22:49 +0530)] 
Remove the default left styling in favor of Popper

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>