]> git.ipfire.org Git - thirdparty/bootstrap.git/log
thirdparty/bootstrap.git
4 years agofix(modal): change the order we return from show() method (#34087)
alpadev [Sun, 25 Jul 2021 17:36:11 +0000 (19:36 +0200)] 
fix(modal): change the order we return from show() method (#34087)

In case of a modal with fading enabled, a prevented show event can cause show to not showing the modal anymore.

See #34055

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agoUpdate devDependencies
XhmikosR [Wed, 21 Jul 2021 12:52:59 +0000 (15:52 +0300)] 
Update devDependencies

* @babel/cli                       ^7.14.3  →  ^7.14.8
* @babel/core                      ^7.14.3  →  ^7.14.8
* @babel/preset-env                ^7.14.2  →  ^7.14.8
* @rollup/plugin-commonjs          ^19.0.0  →  ^19.0.1
* @rollup/plugin-node-resolve      ^13.0.0  →  ^13.0.2
* autoprefixer                     ^10.2.5  →  ^10.3.1
* eslint                           ^7.26.0  →  ^7.31.0
* eslint-config-xo                 ^0.36.0  →  ^0.37.0
* eslint-plugin-import             ^2.23.2  →  ^2.23.4
* eslint-plugin-unicorn            ^31.0.0  →  ^34.0.1
* globby                           ^11.0.3  →  ^11.0.4
* hugo-bin                         ^0.71.1  →  ^0.73.0
* karma                             ^6.3.2  →   ^6.3.4
* karma-firefox-launcher            ^2.1.0  →   ^2.1.1
* linkinator                       ^2.13.6  →  ^2.14.0
* nodemon                           ^2.0.7  →   ^2.0.12
* node-sass                         ^6.0.0  →   ^6.0.1
* postcss                           ^8.3.0  →   ^8.3.5
* qunit                            ^2.15.0  →  ^2.16.0
* rollup                           ^2.48.0  →  ^2.53.3
* stylelint-config-twbs-bootstrap   ^2.2.0  →   ^2.2.3
* vnu-jar                           21.4.9  →  21.6.11

4 years agoCI: make use of the `actions/setup-node`'s `cache` option (#34453)
XhmikosR [Mon, 19 Jul 2021 15:38:49 +0000 (18:38 +0300)] 
CI: make use of the `actions/setup-node`'s `cache` option (#34453)

4 years agoBump coverallsapp/github-action from 1.1.2 to 1.1.3 (#34491)
dependabot[bot] [Wed, 14 Jul 2021 05:29:28 +0000 (08:29 +0300)] 
Bump coverallsapp/github-action from 1.1.2 to 1.1.3 (#34491)

Bumps [coverallsapp/github-action](https://github.com/coverallsapp/github-action) from 1.1.2 to 1.1.3.
- [Release notes](https://github.com/coverallsapp/github-action/releases)
- [Commits](https://github.com/coverallsapp/github-action/compare/v1.1.2...1.1.3)

---
updated-dependencies:
- dependency-name: coverallsapp/github-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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 agoCONTRIBUTING.md: fix broken link to README.md (#34389)
Kijima Daigo [Thu, 8 Jul 2021 05:49:41 +0000 (14:49 +0900)] 
CONTRIBUTING.md: fix broken link to README.md (#34389)

4 years agoBackport #34336
XhmikosR [Thu, 24 Jun 2021 08:04:29 +0000 (11:04 +0300)] 
Backport #34336

Remove unneeded `.text-white-50` CSS rule

This is already part of Bootstrap 4.6 and 5.0.

4 years agoManually backport #34075 and #34279
XhmikosR [Tue, 22 Jun 2021 09:52:10 +0000 (12:52 +0300)] 
Manually backport #34075 and #34279

Improve and clean up vnu-jar.js

4 years agoUpdate Hugo config and sitemap.xml (#34074)
XhmikosR [Tue, 25 May 2021 05:32:27 +0000 (08:32 +0300)] 
Update Hugo config and sitemap.xml (#34074)

4 years agoHandle complex expressions in add() & subtract() (#34047)
Gaël Poupard [Tue, 25 May 2021 05:23:41 +0000 (07:23 +0200)] 
Handle complex expressions in add() & subtract() (#34047)

4 years agoReplace Freenode with Libera.Chat in the remaining files (#34250)
XhmikosR [Mon, 14 Jun 2021 17:12:10 +0000 (20:12 +0300)] 
Replace Freenode with Libera.Chat in the remaining files (#34250)

4 years agoRemove print thead rule (#34426)
Christian Oliff [Thu, 8 Jul 2021 05:28:53 +0000 (14:28 +0900)] 
Remove print thead rule (#34426)

The `thead` rule is safe to remove -- it was a workaround for browsers that didn't conform to this part of the CSS 2.1 spec. (https://www.w3.org/TR/CSS21/tables.html#table-display)
In practice, this meant IE 6 & IE 7.

(thanks to @mattbrundage for this PR upstream for the main.css project (https://github.com/h5bp/main.css/pull/101)

4 years ago🐛 Enable `0.x` with negative margins @ v4 (#33593)
k-utsumi [Thu, 24 Jun 2021 07:57:47 +0000 (16:57 +0900)] 
🐛 Enable `0.x` with negative margins @ v4 (#33593)

* 🐛 Enable `0.x` with negative margins @ v4

I set it as below, but no negative margin was added.
`$spacers: (0\.5: ($spacer * .125));`

After investigating, it seems that `0 \ .5` is also evaluated as 0.
So I changed it to string comparison.

HTML example: `<img class="mt-n0.5">`

* 💚 Clear CI errors

4 years agoFix repetition in the description.
Christian Oliff [Tue, 8 Jun 2021 08:34:37 +0000 (17:34 +0900)] 
Fix repetition in the description.

4 years agodocs(color): wrong secondary hex code (#34159)
Gaël Poupard [Wed, 2 Jun 2021 02:59:48 +0000 (04:59 +0200)] 
docs(color): wrong secondary hex code (#34159)

Closes #34146

---

Not sure what happened but indeed, [our current `$secondary` is not what's shown in docs](https://github.com/twbs/bootstrap/blob/c2f949c1fdad09e30793b533e5502808c5e2d423/scss/_variables.scss#L68).

4 years agoUpdate devDependencies
XhmikosR [Fri, 21 May 2021 05:14:43 +0000 (08:14 +0300)] 
Update devDependencies

* @babel/cli                       ^7.13.14  →   ^7.14.3
* @babel/core                       ^7.14.0  →   ^7.14.3
* @babel/preset-env                 ^7.14.1  →   ^7.14.2
* @rollup/plugin-commonjs           ^18.0.0  →   ^19.0.0
* @rollup/plugin-node-resolve       ^11.2.1  →   ^13.0.0
* clean-css-cli                      ^5.2.2  →    ^5.3.0
* eslint                            ^7.23.0  →   ^7.26.0
* eslint-config-xo                  ^0.35.0  →   ^0.36.0
* eslint-plugin-import              ^2.22.1  →   ^2.23.2
* eslint-plugin-unicorn             ^29.0.0  →   ^31.0.0
* glob                               ^7.1.6  →    ^7.1.7
* hugo-bin                          ^0.70.0  →   ^0.71.1
* node-sass                          ^5.0.0  →    ^6.0.0
* postcss                            ^8.2.9  →    ^8.3.0
* qunit                             ^2.14.1  →   ^2.15.0
* rollup                            ^2.44.0  →   ^2.48.0
* stylelint                        ^13.12.0  →  ^13.13.1
* stylelint-config-twbs-bootstrap    ^2.1.0  →    ^2.2.0
* vnu-jar                            21.2.5  →    21.4.9

4 years agoReplace freenode with libera IRC server (#34050)
midzer [Fri, 21 May 2021 05:08:04 +0000 (07:08 +0200)] 
Replace freenode with libera IRC server (#34050)

4 years agoCI: remove Node.js 10 (#33923)
XhmikosR [Tue, 11 May 2021 05:34:21 +0000 (08:34 +0300)] 
CI: remove Node.js 10 (#33923)

Node.js 10 is EOL since 30/04/2021

4 years agoSpinner alignment changes
Mark Otto [Sun, 4 Apr 2021 18:44:30 +0000 (11:44 -0700)] 
Spinner alignment changes

4 years agoJS tests: add Node.js 16 (#33720)
XhmikosR [Thu, 22 Apr 2021 10:51:03 +0000 (13:51 +0300)] 
JS tests: add Node.js 16 (#33720)

4 years agoUpdate anchor.js to v4.3.1. (#33668)
XhmikosR [Mon, 19 Apr 2021 04:52:09 +0000 (07:52 +0300)] 
Update anchor.js to v4.3.1. (#33668)

4 years agodocs: update clipboard.js to v2.0.8 (#33583)
XhmikosR [Fri, 9 Apr 2021 04:53:01 +0000 (07:53 +0300)] 
docs: update clipboard.js to v2.0.8 (#33583)

4 years agoBackport #33782 to v4
Mark Otto [Fri, 30 Apr 2021 21:40:27 +0000 (14:40 -0700)] 
Backport #33782 to v4

4 years agoBackport #33634 (#33649)
Carson Sievert [Wed, 28 Apr 2021 04:02:22 +0000 (23:02 -0500)] 
Backport #33634 (#33649)

Dropdown: support `.dropdown-item` wrapped in `<li>` tags

4 years agoRemove aria-haspopup from dropdowns (#33624) 33729/head
Patrick H. Lauke [Thu, 15 Apr 2021 03:35:54 +0000 (04:35 +0100)] 
Remove aria-haspopup from dropdowns (#33624)

`aria-haspopup="true"` is really intended to signal that an ARIA `menu` will be opened on activation. as a result, some assistive technologies will announce controls with `aria-haspopup="true"` as a menu or menu item (e.g. JAWS and NVDA).
In addition, `aria-haspopup` seems to trigger a bug in Edge/Narrator where the `aria-expanded` state is not correctly announced at the moment when `aria-haspopup` is present.
This now makes the dropdown button more like a generic disclosure widget control - see also https://www.w3.org/TR/wai-aria-practices-1.2/examples/disclosure/disclosure-navigation.html01

4 years agofix typo in docs (#33562)
Stefano Bartoletti [Tue, 6 Apr 2021 14:55:29 +0000 (16:55 +0200)] 
fix typo in docs (#33562)

4 years agoUpdate devDependencies
XhmikosR [Mon, 5 Apr 2021 04:35:59 +0000 (07:35 +0300)] 
Update devDependencies

* @babel/cli                    ^7.13.0  →  ^7.13.14
* @babel/core                   ^7.13.8  →  ^7.13.14
* @babel/preset-env             ^7.13.9  →  ^7.13.12
* @rollup/plugin-commonjs       ^17.1.0  →   ^18.0.0
* @rollup/plugin-node-resolve   ^11.2.0  →   ^11.2.1
* autoprefixer                  ^10.2.4  →   ^10.2.5
* clean-css-cli                 ^5.2.0  →    ^5.2.2
* eslint                        ^7.21.0  →   ^7.23.0
* eslint-plugin-unicorn         ^28.0.2  →   ^29.0.0
* globby                        ^11.0.2  →   ^11.0.3
* hugo-bin                      ^0.69.0  →   ^0.70.0
* karma                         ^6.1.1  →    ^6.3.2
* postcss                       ^8.2.6  →    ^8.2.9
* qunit                         ^2.14.0  →   ^2.14.1
* rollup                        ^2.40.0  →   ^2.44.0
* stylelint                     ^13.11.0  →  ^13.12.0

Also lock jQuery to v3.5.1 since 3.6.0 has a bug that affects at least our tests

4 years agoBrowserStack: test on iPhone 12 (#33398)
XhmikosR [Thu, 18 Mar 2021 15:45:12 +0000 (17:45 +0200)] 
BrowserStack: test on iPhone 12 (#33398)

4 years agoREADME.md: use shields.io for the tests badge too (#33401)
XhmikosR [Thu, 18 Mar 2021 19:17:45 +0000 (21:17 +0200)] 
README.md: use shields.io for the tests badge too (#33401)

4 years agoImprove change-version.js (#33148)
XhmikosR [Thu, 11 Mar 2021 09:37:52 +0000 (11:37 +0200)] 
Improve change-version.js (#33148)

* switch to async/await
* remove shelljs
* switch to globby; supports .gitignore out of the box
* don't write any files to the disk if they are indentical
* add two more cmd switches: --dry and --verbose
* strip leading "v" from version arguments so that we don't end up with duplicate `v`s

4 years agoDelete the unused build/ship.sh (#33326)
XhmikosR [Wed, 10 Mar 2021 16:47:20 +0000 (18:47 +0200)] 
Delete the unused build/ship.sh (#33326)

4 years agoManually backport #33386 to v4 to properly document Sass default variables
Mark Otto [Wed, 17 Mar 2021 19:02:01 +0000 (12:02 -0700)] 
Manually backport #33386 to v4 to properly document Sass default variables

4 years agoManual backport of #32627 (#33165)
Patrick H. Lauke [Thu, 11 Mar 2021 07:23:46 +0000 (07:23 +0000)] 
Manual backport of #32627 (#33165)

Carousel: use buttons, not links, for prev/next controls

4 years agoUpdate .bundlewatch.config.json
XhmikosR [Fri, 26 Feb 2021 07:38:02 +0000 (09:38 +0200)] 
Update .bundlewatch.config.json

4 years agoAdjust feedback icon position and padding for select.form-control
Mark Otto [Fri, 26 Feb 2021 03:21:06 +0000 (19:21 -0800)] 
Adjust feedback icon position and padding for select.form-control

4 years agoUpdate devDependencies
XhmikosR [Tue, 2 Mar 2021 15:10:50 +0000 (17:10 +0200)] 
Update devDependencies

* @babel/cli             ^7.12.16  →   ^7.13.0
* @babel/core            ^7.12.16  →   ^7.13.8
* @babel/preset-env      ^7.12.16  →   ^7.13.9
* eslint                  ^7.20.0  →   ^7.21.0
* eslint-config-xo        ^0.34.0  →   ^0.35.0
* eslint-plugin-unicorn   ^28.0.1  →   ^28.0.2
* hugo-bin                ^0.68.0  →   ^0.69.0
* linkinator              ^2.13.4  →   ^2.13.6
* lockfile-lint            ^4.3.7  →    ^4.6.2
* rollup                  ^2.39.0  →   ^2.40.0
* stylelint              ^13.10.0  →  ^13.11.0

4 years agoCodeQL: skip dependabot PRs too (#33130)
XhmikosR [Tue, 2 Mar 2021 14:09:49 +0000 (16:09 +0200)] 
CodeQL: skip dependabot PRs too (#33130)

4 years agoBundlewatch: stop ignoring dependabot branches (#33192)
XhmikosR [Wed, 24 Feb 2021 16:32:05 +0000 (18:32 +0200)] 
Bundlewatch: stop ignoring dependabot branches (#33192)

4 years agoRename _gh_pages to _site. (#33129)
XhmikosR [Tue, 2 Mar 2021 15:05:26 +0000 (17:05 +0200)] 
Rename _gh_pages to _site. (#33129)

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 agoAdjust `SAFE_URL_PATTERN` regex for use with `test` method. (#33153)
Nikon the Third [Tue, 2 Mar 2021 15:16:09 +0000 (16:16 +0100)] 
Adjust `SAFE_URL_PATTERN` regex for use with `test` method. (#33153)

The `test` method on regexes does not behave like `match` on strings
for checks if the regex matches when the global modifier (g) is present.

Also adds a unit test on tooltips for sanitizing the same template twice.

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agoUpdate clean-css-cli to v5.2.0 (#33144)
XhmikosR [Thu, 18 Feb 2021 18:59:05 +0000 (20:59 +0200)] 
Update clean-css-cli to v5.2.0 (#33144)

* Update clean-css-cli to v5.2.0

* Enable clean-css's batch flag

4 years agoPartially backport #33045
XhmikosR [Tue, 16 Feb 2021 11:12:23 +0000 (13:12 +0200)] 
Partially backport #33045

Simplify karma.conf.js

`customLaunchers` does not seem to be needed.

4 years agoUpdate devDependencies
XhmikosR [Tue, 16 Feb 2021 10:53:41 +0000 (12:53 +0200)] 
Update devDependencies

* @babel/cli                   ^7.12.13  →  ^7.12.16
* @babel/core                  ^7.12.13  →  ^7.12.16
* @babel/preset-env            ^7.12.13  →  ^7.12.16
* @rollup/plugin-babel           ^5.2.3  →    ^5.3.0
* @rollup/plugin-node-resolve   ^11.1.1  →   ^11.2.0
* eslint                        ^7.19.0  →   ^7.20.0
* eslint-plugin-unicorn         ^27.0.0  →   ^28.0.1
* karma                          ^6.0.4  →    ^6.1.1
* postcss                        ^8.2.5  →    ^8.2.6
* rollup                        ^2.38.5  →   ^2.39.0
* stylelint                     ^13.9.0  →  ^13.10.0

Kept clean-css-cli to 4.x for the time being.

4 years agoBackport #32940
XhmikosR [Mon, 15 Feb 2021 19:20:40 +0000 (21:20 +0200)] 
Backport #32940

* Update the default value for $enable-deprecation-messages

As seen in the https://github.com/twbs/bootstrap/blob/v4-dev/scss/_variables.scss,
the `$enable-deprecation-messages` variable is set to `true` by default.

4 years agoAdd a callout for the sanitizer in popovers and tooltips (#32272)
Patrick H. Lauke [Mon, 7 Dec 2020 16:57:33 +0000 (16:57 +0000)] 
Add a callout for the sanitizer in popovers and tooltips (#32272)

* Add a callout for the sanitizer in popovers and tooltips

* Add second reference to sanitizer in the options

Co-authored-by: XhmikosR <xhmikosr@gmail.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 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 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 agoFix minor visual bug in FF caused by moz-focusring (v4) (#32821)
Wesley Haines [Wed, 17 Feb 2021 04:00:37 +0000 (23:00 -0500)] 
Fix minor visual bug in FF caused by moz-focusring (v4) (#32821)

Avoid bug in Firefox where text appears "noisy" due to text-shadow applying to focused form fields.

4 years agofix(forms): input-group and validation icons (#32968)
Gaël Poupard [Mon, 15 Feb 2021 19:13:43 +0000 (20:13 +0100)] 
fix(forms): input-group and validation icons (#32968)

Fixes #30131

Issue mentions `form-control` but it impacts `.custom-select` — but not `textarea` since it has a qualifying type selector that increases its specificty.

So another way could be to set `select.custom-select` and `input.form-control`. Would there be any other tag concerned by those classes?

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agoSimplify bugify.html (#33063)
XhmikosR [Mon, 15 Feb 2021 19:08:44 +0000 (21:08 +0200)] 
Simplify bugify.html (#33063)

* use `in` instead of `strings.Contains` since the latter is not documented
* use `cond`

4 years agoUpdate devDependencies (#32967) 33086/head
XhmikosR [Tue, 9 Feb 2021 05:50:00 +0000 (07:50 +0200)] 
Update devDependencies (#32967)

* @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
* @rollup/plugin-babel          ^5.2.2  →    ^5.2.3
* @rollup/plugin-commonjs      ^17.0.0  →   ^17.1.0
* @rollup/plugin-node-resolve  ^11.1.0  →   ^11.1.1
* autoprefixer                 ^10.2.3  →   ^10.2.4
* eslint                       ^7.18.0  →   ^7.19.0
* karma                         ^5.2.3  →    ^6.0.4
* karma-qunit                   ^4.1.1  →    ^4.1.2
* linkinator                    2.11.2  →   ^2.13.4
* postcss                       ^8.2.4  →    ^8.2.5
* rollup                       ^2.38.0  →   ^2.38.5
* vnu-jar                      20.6.30  →    21.2.5

4 years ago_variables.scss: add missing newline before new section (#32868)
pricop [Mon, 8 Feb 2021 15:19:46 +0000 (17:19 +0200)] 
_variables.scss: add missing newline before new section (#32868)

4 years agoSwitch to jsDelivr for jQuery too. (#32918)
XhmikosR [Thu, 28 Jan 2021 21:26:08 +0000 (23:26 +0200)] 
Switch to jsDelivr for jQuery too. (#32918)

4 years agoUpdate devDependencies (#32852)
XhmikosR [Wed, 27 Jan 2021 16:37:18 +0000 (18:37 +0200)] 
Update devDependencies (#32852)

Pin karma and linkinator due to failures

4 years agoRelease v4.6.0. (#32726) v4.6.0
XhmikosR [Tue, 19 Jan 2021 16:16:38 +0000 (18:16 +0200)] 
Release v4.6.0. (#32726)

* Bump version to v4.6.0.

* Dist

4 years agoBackport #32037 (#32833)
XhmikosR [Tue, 19 Jan 2021 06:18:19 +0000 (08:18 +0200)] 
Backport #32037 (#32833)

* Backport #32037

Add `.navbar-nav-scroll` for vertical scrolling of navbar content

* drop the css var for a Sass css

Co-authored-by: Mark Otto <markdotto@gmail.com>
4 years agoBackport #32759 (#32832)
Mark Otto [Tue, 19 Jan 2021 05:22:27 +0000 (21:22 -0800)] 
Backport #32759 (#32832)

Mention CSP and embedded SVGs in v4 docs

4 years agoBackport #32760 (#32827)
XhmikosR [Mon, 18 Jan 2021 18:59:59 +0000 (20:59 +0200)] 
Backport #32760 (#32827)

Add a live toast example to the docs

4 years agoDocs: Sass implementation and rounding precision (#32791)
voltaek [Sun, 17 Jan 2021 18:59:11 +0000 (13:59 -0500)] 
Docs: Sass implementation and rounding precision (#32791)

* Backport of changes to v5 docs that updated and clarified information about the Sass compiler used and the minimum rounding precision we recommend with it.

Co-authored-by: Mark Otto <otto@github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
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 agoBackport #32469 and #32799
XhmikosR [Thu, 14 Jan 2021 11:02:16 +0000 (13:02 +0200)] 
Backport #32469 and #32799

Improve zip-examples.js by only including the assets we need

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 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 agoBackport #32795 (#32809)
Mark Otto [Fri, 15 Jan 2021 07:16:32 +0000 (23:16 -0800)] 
Backport #32795 (#32809)

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

* Add an npm starter project callout to a few pages

4 years agoRemove role="button" from CTA links in carousel example (#32789)
Patrick H. Lauke [Thu, 14 Jan 2021 10:19:19 +0000 (10:19 +0000)] 
Remove role="button" from CTA links in carousel example (#32789)

They're links, acting as links. Just because they're styled as buttons visually (as is often the case for "Call to action" (CTA) links) doesn't mean they need/get `role="button"`

4 years agoUpdate devDependencies
XhmikosR [Wed, 13 Jan 2021 08:56:06 +0000 (10:56 +0200)] 
Update devDependencies

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 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
Patrick H. Lauke [Mon, 11 Jan 2021 07:50:11 +0000 (07:50 +0000)] 
Darken dropdown item hover style

Backport of https://github.com/twbs/bootstrap/pull/32754

4 years agoConsistently use outline:0 rather than outline:none
Patrick H. Lauke [Sun, 10 Jan 2021 14:50:29 +0000 (14:50 +0000)] 
Consistently use outline:0 rather than outline:none

Manual backport of https://github.com/twbs/bootstrap/pull/32751 (which has not been merged yet, but assume it will shortly)

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

Manual backport of https://github.com/twbs/bootstrap/pull/32689

4 years agoRemove old/unnecessary reboot bug fix
Patrick H. Lauke [Sun, 10 Jan 2021 14:39:15 +0000 (14:39 +0000)] 
Remove old/unnecessary reboot bug fix

Manual backport of https://github.com/twbs/bootstrap/pull/32631

4 years agoBackport #32737
XhmikosR [Sun, 10 Jan 2021 06:19:00 +0000 (08:19 +0200)] 
Backport #32737

package.json: move `version_short` variable under the `config` object

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

4 years agoUpdate karma config
XhmikosR [Tue, 12 Jan 2021 13:25:03 +0000 (15:25 +0200)] 
Update karma config

* rename constants
* enforce the constants to be Boolean
* use the coverage plugin only one time, on the latest jQuery run
* fix karma `logLevel`

4 years agokarma: run tests in parallel
XhmikosR [Mon, 11 Jan 2021 11:55:22 +0000 (13:55 +0200)] 
karma: run tests in parallel

4 years agodocs: add v5.0 in versions (#32728)
XhmikosR [Fri, 8 Jan 2021 19:03:22 +0000 (21:03 +0200)] 
docs: add v5.0 in versions (#32728)

4 years agoUpdate devDependencies
XhmikosR [Fri, 8 Jan 2021 08:08:51 +0000 (10:08 +0200)] 
Update devDependencies

* @babel/cli                   ^7.12.8  →  ^7.12.10
* @babel/core                  ^7.12.8  →  ^7.12.10
* @babel/preset-env            ^7.12.7  →  ^7.12.11
* @rollup/plugin-babel          ^5.2.1  →    ^5.2.2
* @rollup/plugin-commonjs      ^16.0.0  →   ^17.0.0
* @rollup/plugin-node-resolve  ^10.0.0  →   ^11.0.1
* autoprefixer                 ^10.0.2  →   ^10.2.1
* cross-env                     ^7.0.2  →    ^7.0.3
* eslint                       ^7.14.0  →   ^7.17.0
* eslint-config-xo             ^0.33.1  →   ^0.34.0
* eslint-plugin-unicorn        ^23.0.0  →   ^25.0.1
* find-unused-sass-variables    ^3.0.0  →    ^3.1.0
* hugo-bin                     ^0.66.2  →   ^0.68.0
* linkinator                    ^2.2.2  →   ^2.11.2
* nodemon                       ^2.0.6  →    ^2.0.7
* postcss                      ^8.1.10  →    ^8.2.3
* postcss-cli                   ^8.3.0  →    ^8.3.1
* qunit                        ^2.12.0  →   ^2.13.0
* rollup                       ^2.33.3  →   ^2.36.1

4 years agoBackport #32423
XhmikosR [Thu, 7 Jan 2021 10:31:09 +0000 (12:31 +0200)] 
Backport #32423

Add two new variables for pagination border-radius values

4 years agoBackport #32632
XhmikosR [Thu, 7 Jan 2021 10:25:32 +0000 (12:25 +0200)] 
Backport #32632

Docs: Tweak the wording for collapse to indicate button is preferred/more semantic

4 years agoBackport #32685
XhmikosR [Thu, 7 Jan 2021 10:22:17 +0000 (12:22 +0200)] 
Backport #32685

Clarify the `$enable-shadows` option in our docs

4 years agoBackport #32713
XhmikosR [Thu, 7 Jan 2021 10:19:16 +0000 (12:19 +0200)] 
Backport #32713

Bump copyright year to 2021

4 years agoRemove incorrect mention of dropdowns for dynamic tab behavior (#32634)
Patrick H. Lauke [Tue, 5 Jan 2021 20:04:06 +0000 (20:04 +0000)] 
Remove incorrect mention of dropdowns for dynamic tab behavior (#32634)

While technically it still works, we're already saying authors shouldn't do it later on, and we removed any examples of this. This was a straggler.

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agoCI: update to actions/setup-node@v2 (#32635)
XhmikosR [Tue, 5 Jan 2021 19:56:31 +0000 (21:56 +0200)] 
CI: update to actions/setup-node@v2 (#32635)

4 years agoTooltips: add missing space (#32529)
XhmikosR [Sun, 20 Dec 2020 15:12:22 +0000 (17:12 +0200)] 
Tooltips: add missing space (#32529)

4 years agoBackport #32489
XhmikosR [Thu, 17 Dec 2020 06:14:43 +0000 (08:14 +0200)] 
Backport #32489

Fix popover docs example

4 years agoBrowserStack: test on macOS Catalina instead of High Sierra (#32486)
XhmikosR [Wed, 16 Dec 2020 10:45:48 +0000 (12:45 +0200)] 
BrowserStack: test on macOS Catalina instead of High Sierra (#32486)

4 years agoDocs: style clipboard button on `:focus`, not just `:hover` (#32461)
Patrick H. Lauke [Tue, 15 Dec 2020 07:43:12 +0000 (07:43 +0000)] 
Docs: style clipboard button on `:focus`, not just `:hover` (#32461)

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agoUpdate CodeQL Action (#32452)
XhmikosR [Tue, 15 Dec 2020 07:14:03 +0000 (09:14 +0200)] 
Update CodeQL Action (#32452)

4 years agoCI: add a 30-min timeout for BrowserStack (#32238)
XhmikosR [Thu, 10 Dec 2020 09:52:22 +0000 (11:52 +0200)] 
CI: add a 30-min timeout for BrowserStack (#32238)

4 years agoCONTRIBUTING: mention dist files (#32314)
XhmikosR [Thu, 10 Dec 2020 08:55:11 +0000 (10:55 +0200)] 
CONTRIBUTING: mention dist files (#32314)

* CONTRIBUTING: mention dist files

* Update CONTRIBUTING.md

Co-authored-by: Mark Otto <markd.otto@gmail.com>
4 years agoRemove duplicated 'follow Bootstrap on Twitter' link in Community section (#32399)
Christian Oliff [Wed, 9 Dec 2020 21:45:27 +0000 (06:45 +0900)] 
Remove duplicated 'follow Bootstrap on Twitter' link in Community section (#32399)

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agobuild-plugins: switch to "bundled" for babel helpers (#32312)
XhmikosR [Mon, 7 Dec 2020 17:06:17 +0000 (19:06 +0200)] 
build-plugins: switch to "bundled" for babel helpers (#32312)

4 years agoREADME: fix path to search.js (#32257)
XhmikosR [Tue, 1 Dec 2020 10:57:58 +0000 (12:57 +0200)] 
README: fix path to search.js (#32257)

4 years agokarma: add `v4` in Browserstack build ID (#32502)
XhmikosR [Fri, 8 Jan 2021 08:05:56 +0000 (10:05 +0200)] 
karma: add `v4` in Browserstack build ID (#32502)

4 years agodocs: Add Russian translation (#32253)
Aleksandr Gorbatov [Fri, 8 Jan 2021 07:53:22 +0000 (10:53 +0300)] 
docs: Add Russian translation (#32253)

4 years agov4: Add an actual `data-touch="false"` example in the carousel docs (#32639)
Patrick H. Lauke [Tue, 5 Jan 2021 23:42:55 +0000 (23:42 +0000)] 
v4: Add an actual `data-touch="false"` example in the carousel docs (#32639)

* v4: Add an actual `data-touch="false"` example in the carousel docs

Backport of https://github.com/twbs/bootstrap/pull/32638

* Remove data-ride from example carousel

* Correct attribute table explanation and remove slide class from example

i believe the correct option is `slide` here, not `ride`.
the `if "carousel"` bit was rather unclear/confusing

* Edits...

sorry, trying to make sense of our quirky carousel stuff, it seems some illogical things have been there ever since

* Add data-interval to suppress autoplay

* Tweak carousel options formatting

* Update site/content/docs/4.5/components/carousel.md

Co-authored-by: Mark Otto <markd.otto@gmail.com>
* Tweak language

mostly based on @mdo's suggestion, but also adds the word "attribute" after `data-ride` for better flow/legibility

Co-authored-by: Mark Otto <markd.otto@gmail.com>
4 years agov4 backport: Replace Lorem Ipsum placeholder text with more representative (or at...
Patrick H. Lauke [Tue, 15 Dec 2020 09:06:00 +0000 (09:06 +0000)] 
v4 backport: Replace Lorem Ipsum placeholder text with more representative (or at least english language) text (#32462)

Backport and expansion (for v4) of #32246 and #32479