]> git.ipfire.org Git - thirdparty/bootstrap.git/log
thirdparty/bootstrap.git
2 years agoRelease v4.6.1 (#35272) v4.6.1
XhmikosR [Thu, 28 Oct 2021 14:45:21 +0000 (17:45 +0300)] 
Release v4.6.1 (#35272)

* Bump version to v4.6.1

* Dist

2 years agoimages.md: remove zero-width space (#35234)
Barabas [Thu, 28 Oct 2021 11:22:32 +0000 (13:22 +0200)] 
images.md: remove zero-width space (#35234)

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2 years agoUpdate devDependencies (#35271)
XhmikosR [Thu, 28 Oct 2021 10:53:14 +0000 (13:53 +0300)] 
Update devDependencies (#35271)

* autoprefixer  ^10.3.7  →  ^10.4.0
* eslint         ^8.0.1  →   ^8.1.0
* karma          ^6.3.5  →   ^6.3.6
* rollup        ^2.58.0  →  ^2.58.3

2 years agoUpdate devDependencies and switch to Node.js 16/npm 8
XhmikosR [Fri, 22 Oct 2021 13:52:12 +0000 (16:52 +0300)] 
Update devDependencies and switch to Node.js 16/npm 8

* @babel/core                      ^7.15.5  →   ^7.15.8
* @babel/preset-env                ^7.15.6  →   ^7.15.8
* @rollup/plugin-commonjs          ^20.0.0  →   ^21.0.1
* @rollup/plugin-node-resolve      ^13.0.5  →   ^13.0.6
* autoprefixer                     ^10.3.6  →   ^10.3.7
* babel-plugin-istanbul             ^6.0.0  →    ^6.1.1
* clean-css-cli                     ^5.3.3  →    ^5.4.2
* eslint                           ^7.32.0  →    ^8.0.0
* eslint-config-xo                 ^0.38.0  →   ^0.39.0
* eslint-plugin-import             ^2.24.2  →   ^2.25.1
* eslint-plugin-qunit               ^6.2.0  →    ^7.0.0
* eslint-plugin-unicorn            ^36.0.0  →   ^37.0.1
* karma                             ^6.3.4  →    ^6.3.5
* linkinator                       ^2.14.0  →   ^2.14.4
* nodemon                          ^2.0.13  →   ^2.0.14
* postcss                           ^8.3.8  →   ^8.3.11
* postcss-cli                       ^9.0.0  →    ^9.0.1
* rollup                           ^2.57.0  →   ^2.58.0
* stylelint-config-twbs-bootstrap   ^2.2.3  →    ^2.2.4
* vnu-jar                           21.9.2  →  21.10.12

2 years agoterser: specify 2 passes as it offers slightly better compression
XhmikosR [Thu, 21 Oct 2021 06:19:12 +0000 (09:19 +0300)] 
terser: specify 2 passes as it offers slightly better compression

2 years agoJS: minor refactoring
XhmikosR [Thu, 14 Oct 2021 14:40:07 +0000 (17:40 +0300)] 
JS: minor refactoring

* shorten block comments
* reorder constants

2 years agoRevert "Bundlewatch: stop ignoring dependabot branches (#33192)" (#35069)
XhmikosR [Mon, 4 Oct 2021 16:34:47 +0000 (19:34 +0300)] 
Revert "Bundlewatch: stop ignoring dependabot branches (#33192)" (#35069)

This reverts commit 5560c86070c8be08f76801bbc7e525eea4fc0cf6.

2 years agoBackport #35074
XhmikosR [Fri, 8 Oct 2021 14:30:51 +0000 (17:30 +0300)] 
Backport #35074

sanitizer: add `sms` in the `SAFE_URL_PATTERN`

2 years agoUpdate terser to v5.9.0.
XhmikosR [Fri, 8 Oct 2021 14:27:43 +0000 (17:27 +0300)] 
Update terser to v5.9.0.

2 years agofix(input-group): custom-file with validation (#33239)
Gaël Poupard [Thu, 21 Oct 2021 06:00:22 +0000 (08:00 +0200)] 
fix(input-group): custom-file with validation (#33239)

2 years agoFix capitalization after period in Markdown files (#35112)
Julien Déramond [Tue, 5 Oct 2021 14:51:44 +0000 (16:51 +0200)] 
Fix capitalization after period in Markdown files (#35112)

2 years agoUpdate devDependencies (#35068)
XhmikosR [Tue, 28 Sep 2021 15:32:57 +0000 (18:32 +0300)] 
Update devDependencies (#35068)

* @babel/cli                   ^7.15.4  →  ^7.15.7
* @rollup/plugin-node-resolve  ^13.0.4  →  ^13.0.5
* autoprefixer                 ^10.3.4  →  ^10.3.6
* glob                          ^7.1.7  →   ^7.2.0
* nodemon                      ^2.0.12  →  ^2.0.13
* postcss                       ^8.3.6  →   ^8.3.8
* postcss-cli                   ^8.3.1  →   ^9.0.0
* qunit                        ^2.17.1  →  ^2.17.2
* rollup                       ^2.56.3  →  ^2.57.0

2 years agoRemove extra spaces in Markdown files (#35047)
Julien Déramond [Tue, 28 Sep 2021 09:22:52 +0000 (11:22 +0200)] 
Remove extra spaces in Markdown files (#35047)

2 years agoRemove unneeded conditional
XhmikosR [Fri, 27 Nov 2020 12:27:35 +0000 (14:27 +0200)] 
Remove unneeded conditional

2 years agoRemove duplicate test.
XhmikosR [Fri, 27 Nov 2020 12:17:15 +0000 (14:17 +0200)] 
Remove duplicate test.

2 years agoChange test description so that it's unique
XhmikosR [Fri, 27 Nov 2020 12:15:45 +0000 (14:15 +0200)] 
Change test description so that it's unique

2 years agoMerge duplicate test.
XhmikosR [Fri, 27 Nov 2020 12:14:32 +0000 (14:14 +0200)] 
Merge duplicate test.

2 years agoRemove commented out test
XhmikosR [Fri, 27 Nov 2020 09:24:31 +0000 (11:24 +0200)] 
Remove commented out test

2 years agoSkip tests if `attachShadow` is not present
XhmikosR [Fri, 27 Nov 2020 09:15:54 +0000 (11:15 +0200)] 
Skip tests if `attachShadow` is not present

2 years agotests: comply to the new rules
XhmikosR [Mon, 23 Nov 2020 16:26:21 +0000 (18:26 +0200)] 
tests: comply to the new rules

Use `assert.strictEqual`/`assert.true`/`assert.false`

2 years agoAdd eslint-plugin-qunit
XhmikosR [Sat, 21 Nov 2020 21:09:29 +0000 (23:09 +0200)] 
Add eslint-plugin-qunit

2 years agoUpdate devDependencies
XhmikosR [Tue, 14 Sep 2021 12:16:06 +0000 (15:16 +0300)] 
Update devDependencies

* @babel/cli                   ^7.14.8  →  ^7.15.5
* @babel/core                  ^7.14.8  →  ^7.15.4
* @babel/preset-env            ^7.14.8  →  ^7.15.6
* @rollup/plugin-commonjs      ^19.0.1  →  ^20.0.0
* @rollup/plugin-node-resolve  ^13.0.2  →  ^13.0.4
* autoprefixer                 ^10.3.1  →  ^10.3.4
* clean-css-cli                 ^5.3.0  →   ^5.3.3
* eslint                       ^7.31.0  →  ^7.32.0
* eslint-config-xo             ^0.37.0  →  ^0.38.0
* eslint-plugin-import         ^2.23.4  →  ^2.24.2
* eslint-plugin-unicorn        ^34.0.1  →  ^36.0.0
* hugo-bin                     ^0.74.0  →  ^0.76.1
* qunit                        ^2.16.0  →  ^2.17.1
* postcss                       ^8.3.5  →   ^8.3.6
* rollup                       ^2.53.3  →  ^2.56.3
* vnu-jar                      21.6.11  →   21.9.2

2 years agoUpdate CodeQL workflow (#34961)
XhmikosR [Tue, 14 Sep 2021 06:07:59 +0000 (09:07 +0300)] 
Update CodeQL workflow (#34961)

2 years agoBackport #34937
XhmikosR [Thu, 9 Sep 2021 11:44:40 +0000 (14:44 +0300)] 
Backport #34937

Update a URL mentioning dead name

2 years agodocs: backport layouts updates from the main branch
XhmikosR [Wed, 8 Sep 2021 06:16:38 +0000 (09:16 +0300)] 
docs: backport layouts updates from the main branch

2 years agodocs-navbar: use the config variable and update to 5.1
XhmikosR [Mon, 6 Sep 2021 18:56:17 +0000 (21:56 +0300)] 
docs-navbar: use the config variable and update to 5.1

2 years agonpm scripts: add `aggregate-output` (#32907)
XhmikosR [Thu, 8 Jul 2021 06:55:20 +0000 (09:55 +0300)] 
npm scripts: add `aggregate-output` (#32907)

2 years agoMore concise improvements for `add()` and `subtract()` (#34432)
Gaël Poupard [Tue, 27 Jul 2021 04:48:08 +0000 (06:48 +0200)] 
More concise improvements for `add()` and `subtract()` (#34432)

2 years agoUpdate description of active buttons (#34966)
Mark Otto [Tue, 14 Sep 2021 12:05:07 +0000 (06:05 -0600)] 
Update description of active buttons (#34966)

2 years agov4: Disabled link cleanup (#34924)
Patrick H. Lauke [Thu, 9 Sep 2021 11:49:06 +0000 (12:49 +0100)] 
v4: Disabled link cleanup (#34924)

manual backport of #34886

per https://www.w3.org/TR/html-aria/#docconformance

> It is NOT RECOMMENDED to use `aria-disabled="true"` on an `a` element with an `href` attribute.
>
>NOTE
>If a link needs to be "disabled", remove the `href` attribute.

This PR removes the unnecessary `href="#"`, `tabindex="-1"`, and `aria-disabled="true"` from disabled links in both docs pages and examples. `aria-disabled="true"` *is* kept for disabled link-based buttons (that have `role="button"`) as there it's appropriate to use (you *want* to convey to assistive technologies that this thing you're claiming is a button is also disabled at the moment)

Further, the PR extends the "Link functionality caveat" to show the "proper" way (removing `href` and adding `.disabled` class only) to disable a link, but then explains what to do if that's not possible (and then keeps an example with all the traditional `href="#" tabindex="-1" aria-disabled="true"`, but explains clearly that it's not ideal). Same sort of explanation is also added to the pointer event utilities page

2 years agoMove RFS version in config.yml and update it.
XhmikosR [Tue, 7 Sep 2021 13:21:30 +0000 (16:21 +0300)] 
Move RFS version in config.yml and update it.

2 years agoUpdate RFS to v8.1.0
XhmikosR [Tue, 7 Sep 2021 12:27:06 +0000 (15:27 +0300)] 
Update RFS to v8.1.0

2 years agoReplace Sass division with multiplication and custom divide() function
Mark Otto [Sun, 25 Jul 2021 17:19:02 +0000 (10:19 -0700)] 
Replace Sass division with multiplication and custom divide() function

Fixes #34353.

Co-Authored-By: Slaven Tomac <slaventomac@gmail.com>
2 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>
2 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

2 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)

2 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>
2 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)

2 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.

2 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

2 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)

2 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)

2 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)

2 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)

2 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

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

2 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).

2 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

2 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)

2 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

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

2 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)

2 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)

2 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)

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

3 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

3 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

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

3 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

3 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)

3 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)

3 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

3 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)

3 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

3 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

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

3 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

3 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

3 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)

3 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)

3 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)

3 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)

3 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>
3 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

3 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.

3 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.

3 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.

3 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>
3 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

3 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)

3 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

3 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)

3 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.

3 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>
3 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`

3 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

3 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)

3 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)

3 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

3 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

3 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>
3 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

3 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

3 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>
3 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

3 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

3 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>
3 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.

3 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

3 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"`