]> git.ipfire.org Git - thirdparty/bootstrap.git/log
thirdparty/bootstrap.git
4 years agoUpdate current_ruby_version to 5.0.0.alpha1 (#31455)
Gleb Mazovetskiy [Tue, 11 Aug 2020 13:35:00 +0000 (14:35 +0100)] 
Update current_ruby_version to 5.0.0.alpha1 (#31455)

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agoBump @babel/core from 7.11.0 to 7.11.1 (#31465)
dependabot[bot] [Tue, 11 Aug 2020 13:29:22 +0000 (16:29 +0300)] 
Bump @babel/core from 7.11.0 to 7.11.1 (#31465)

Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.11.0 to 7.11.1.
- [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.11.1/packages/babel-core)

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.23.0 to 2.23.1 (#31464)
dependabot[bot] [Tue, 11 Aug 2020 13:24:27 +0000 (16:24 +0300)] 
Bump rollup from 2.23.0 to 2.23.1 (#31464)

Bumps [rollup](https://github.com/rollup/rollup) from 2.23.0 to 2.23.1.
- [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.23.0...v2.23.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-plugin-unicorn from 20.1.0 to 21.0.0 (#31370)
dependabot[bot] [Sat, 8 Aug 2020 06:02:20 +0000 (09:02 +0300)] 
Bump eslint-plugin-unicorn from 20.1.0 to 21.0.0 (#31370)

* Bump eslint-plugin-unicorn from 20.1.0 to 21.0.0

Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 20.1.0 to 21.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v20.1.0...v21.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
* Disable `unicorn/prefer-array-find` rule for now

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agoRemove flex: 1 0 100% from rows (#31439)
Mark Otto [Thu, 6 Aug 2020 15:44:29 +0000 (08:44 -0700)] 
Remove flex: 1 0 100% from rows (#31439)

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agomake breakpoints specifications consistent with layout/grid.md
maks [Wed, 5 Aug 2020 07:56:00 +0000 (09:56 +0200)] 
make breakpoints specifications consistent with layout/grid.md

0-576px could be misinterpreted "up to 576px included"

4 years agodocs: Fix issue number typo in migration
kyletsang [Wed, 5 Aug 2020 23:00:32 +0000 (16:00 -0700)] 
docs: Fix issue number typo in migration

5 years agobox-shadow() mixin allow 'null' and drop support 'none' with multiple args (#30394)
Shohei Yoshida [Tue, 4 Aug 2020 18:51:19 +0000 (03:51 +0900)] 
box-shadow() mixin allow 'null' and drop support 'none' with multiple args (#30394)

* Support 'null' and drop `none` with multiple args

* Output a warning when use 'none' with multiple arguments

* Add migration note

* Update migration.md

Co-authored-by: Mark Otto <markd.otto@gmail.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
5 years agoEnsure to increase contrasts on buttons & colored links hover/active states (#30989)
Gaël Poupard [Tue, 4 Aug 2020 18:42:55 +0000 (20:42 +0200)] 
Ensure to increase contrasts on buttons & colored links hover/active states (#30989)

* feat(buttons): ensure to increase contrasts on hover/active

* Update _buttons.scss

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Mark Otto <markd.otto@gmail.com>
5 years agoBump terser from 4.8.0 to 5.0.0 (#31416)
dependabot[bot] [Tue, 4 Aug 2020 17:12:18 +0000 (20:12 +0300)] 
Bump terser from 4.8.0 to 5.0.0 (#31416)

Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 5.0.0.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/compare/v4.8.0...v5.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
5 years agoBump @babel/preset-env from 7.10.4 to 7.11.0 (#31422)
dependabot[bot] [Tue, 4 Aug 2020 16:38:57 +0000 (19:38 +0300)] 
Bump @babel/preset-env from 7.10.4 to 7.11.0 (#31422)

Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.10.4 to 7.11.0.
- [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.11.0/packages/babel-preset-env)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump @babel/core from 7.10.5 to 7.11.0 (#31421)
dependabot[bot] [Tue, 4 Aug 2020 16:25:28 +0000 (19:25 +0300)] 
Bump @babel/core from 7.10.5 to 7.11.0 (#31421)

Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.10.5 to 7.11.0.
- [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.11.0/packages/babel-core)

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>
5 years agoBump autoprefixer from 9.8.5 to 9.8.6 (#31420)
dependabot[bot] [Tue, 4 Aug 2020 16:20:15 +0000 (19:20 +0300)] 
Bump autoprefixer from 9.8.5 to 9.8.6 (#31420)

Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 9.8.5 to 9.8.6.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/9.8.5...9.8.6)

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>
5 years agoBump sirv-cli from 1.0.3 to 1.0.5 (#31419)
dependabot[bot] [Tue, 4 Aug 2020 16:15:28 +0000 (19:15 +0300)] 
Bump sirv-cli from 1.0.3 to 1.0.5 (#31419)

Bumps [sirv-cli](https://github.com/lukeed/sirv) from 1.0.3 to 1.0.5.
- [Release notes](https://github.com/lukeed/sirv/releases)
- [Commits](https://github.com/lukeed/sirv/compare/v1.0.3...v1.0.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>
5 years agoBump eslint from 7.5.0 to 7.6.0 (#31418)
dependabot[bot] [Tue, 4 Aug 2020 16:10:43 +0000 (19:10 +0300)] 
Bump eslint from 7.5.0 to 7.6.0 (#31418)

Bumps [eslint](https://github.com/eslint/eslint) from 7.5.0 to 7.6.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.5.0...v7.6.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>
5 years agoBump karma from 5.1.0 to 5.1.1 (#31417)
dependabot[bot] [Tue, 4 Aug 2020 15:17:19 +0000 (18:17 +0300)] 
Bump karma from 5.1.0 to 5.1.1 (#31417)

Bumps [karma](https://github.com/karma-runner/karma) from 5.1.0 to 5.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/v5.1.0...v5.1.1)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoAdd view on GitHub links for easier content editing from the docs (#31339)
Mark Otto [Tue, 4 Aug 2020 05:09:45 +0000 (22:09 -0700)] 
Add view on GitHub links for easier content editing from the docs (#31339)

* Add view on GitHub links for easier content editing from the docs

* Update docs.html

* Move to .btn-bd-light

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
5 years agoAdded opacity-75 and opacity-50 classes
Mohammad Ali Shahbazi [Sun, 12 Jul 2020 13:58:58 +0000 (18:28 +0430)] 
Added opacity-75 and opacity-50 classes

5 years agoFixed typo in docs v5 (Utilities/API) page
Mohammad Ali Shahbazi [Sun, 28 Jun 2020 19:36:57 +0000 (00:06 +0430)] 
Fixed typo in docs v5 (Utilities/API) page

5 years agoRemoved a broken reference
Jacty [Mon, 20 Jul 2020 17:00:48 +0000 (01:00 +0800)] 
Removed a broken reference

https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_hr_size
this link is broken, I think we perhaps should remove it?

5 years agoAdd transition to Pagination buttons just like other Bootstrap buttons
Samarth Arora [Sat, 1 Aug 2020 19:46:47 +0000 (01:16 +0530)] 
Add transition to Pagination buttons just like other Bootstrap buttons

5 years agoUpdate migration guide (#31387)
Mark Otto [Mon, 3 Aug 2020 16:42:31 +0000 (09:42 -0700)] 
Update migration guide (#31387)

* Document change to form check and radio size

* Update todos in Migration guide

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
5 years agoAdd padding to badges (#31132)
Patrick H. Lauke [Sun, 2 Aug 2020 13:28:23 +0000 (14:28 +0100)] 
Add padding to badges (#31132)

* Add padding to badges

The current badges are very tightly padded, and because the top and bottom padding are the same, and aligned to the baseline, this makes badges with descenders (e.g. the "g" in "Danger") look uncomfortably close to the bottom. Adding more ample padding masks this a bit.
An alternative would be to have separate top and bottom padding, with the bottom one slightly larger than the top - but conversely, that then makes badges that contain no text with descenders, and particularly badges that contain all uppercase characters, look too bottom-heavy.
Also adding some left/right extra padding, as currently the pill badges look uncomfortably tight on the sides due to the rounding.

5 years agoUpdate copy around breakpoint sizing (#31382)
Mark Otto [Fri, 31 Jul 2020 19:38:17 +0000 (12:38 -0700)] 
Update copy around breakpoint sizing (#31382)

* Update copy around breakpoint sizing

Fixes #31288

* Update breakpoints.md

* Further copy changes

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
5 years agoAdjust sizing of checks and radios (#31383)
Mark Otto [Fri, 31 Jul 2020 13:49:28 +0000 (06:49 -0700)] 
Adjust sizing of checks and radios (#31383)

Moves from 1.25em to 1em to better support custom font-size-base values. Most common would probably be .875rem (14px) and current sizing garbles that into 1.09-ish, thus causing the rendering issues in #31269.

Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
5 years agoRemove overflow: hidden from toasts (#31381)
Mark Otto [Fri, 31 Jul 2020 11:29:01 +0000 (04:29 -0700)] 
Remove overflow: hidden from toasts (#31381)

5 years agoAdd accessibility note about dismissible alerts and focus (#31358)
Patrick H. Lauke [Fri, 31 Jul 2020 09:31:09 +0000 (10:31 +0100)] 
Add accessibility note about dismissible alerts and focus (#31358)

5 years agoCleanup/fix after the sr-only to visually-hidden renaming (#31359)
Patrick H. Lauke [Fri, 31 Jul 2020 09:27:36 +0000 (10:27 +0100)] 
Cleanup/fix after the sr-only to visually-hidden renaming (#31359)

* sr-only -> visually-hidden cleanup

It seems the old screen-readers.md file was left behind, and forgot to rename the mixin

* Fix broken mixins for visually-hidden

5 years agoBump @babel/cli from 7.10.4 to 7.10.5 (#31372)
dependabot[bot] [Tue, 28 Jul 2020 13:58:47 +0000 (16:58 +0300)] 
Bump @babel/cli from 7.10.4 to 7.10.5 (#31372)

Bumps [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli) from 7.10.4 to 7.10.5.
- [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.10.5/packages/babel-cli)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump eslint-config-xo from 0.32.0 to 0.32.1 (#31371)
dependabot[bot] [Tue, 28 Jul 2020 13:54:28 +0000 (16:54 +0300)] 
Bump eslint-config-xo from 0.32.0 to 0.32.1 (#31371)

Bumps [eslint-config-xo](https://github.com/xojs/eslint-config-xo) from 0.32.0 to 0.32.1.
- [Release notes](https://github.com/xojs/eslint-config-xo/releases)
- [Commits](https://github.com/xojs/eslint-config-xo/compare/v0.32.0...v0.32.1)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump rollup from 2.21.0 to 2.23.0 (#31369)
dependabot[bot] [Tue, 28 Jul 2020 13:48:40 +0000 (16:48 +0300)] 
Bump rollup from 2.21.0 to 2.23.0 (#31369)

Bumps [rollup](https://github.com/rollup/rollup) from 2.21.0 to 2.23.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.21.0...v2.23.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>
5 years agoBump @babel/core from 7.10.4 to 7.10.5 (#31368)
dependabot[bot] [Tue, 28 Jul 2020 13:44:51 +0000 (16:44 +0300)] 
Bump @babel/core from 7.10.4 to 7.10.5 (#31368)

Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.10.4 to 7.10.5.
- [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.10.5/packages/babel-core)

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>
5 years agoBump hugo-bin from 0.62.1 to 0.62.3 (#31367)
dependabot[bot] [Tue, 28 Jul 2020 13:41:10 +0000 (16:41 +0300)] 
Bump hugo-bin from 0.62.1 to 0.62.3 (#31367)

Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.62.1 to 0.62.3.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.62.1...v0.62.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>
5 years agoBump eslint from 7.4.0 to 7.5.0 (#31366)
dependabot[bot] [Tue, 28 Jul 2020 13:38:04 +0000 (16:38 +0300)] 
Bump eslint from 7.4.0 to 7.5.0 (#31366)

Bumps [eslint](https://github.com/eslint/eslint) from 7.4.0 to 7.5.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.4.0...v7.5.0)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoTurn off scroll anchoring for accordions (#31346)
Patrick H. Lauke [Tue, 21 Jul 2020 17:17:28 +0000 (18:17 +0100)] 
Turn off scroll anchoring for accordions (#31346)

New default behavior for scroll anchoring (rolled out in Chrome 84?) leads to unsightly/odd accordion interactions - see #31341
This rule suppresses this new behavior and reverts back to the old way.

See https://drafts.csswg.org/css-scroll-anchoring/

5 years agoAdd toasts to the components requiring JavaScript (#31344)
Rohit Sharma [Tue, 21 Jul 2020 13:08:21 +0000 (18:38 +0530)] 
Add toasts to the components requiring JavaScript (#31344)

5 years agoBump @rollup/plugin-commonjs from 13.0.1 to 14.0.0 (#31291)
dependabot[bot] [Tue, 14 Jul 2020 13:05:18 +0000 (16:05 +0300)] 
Bump @rollup/plugin-commonjs from 13.0.1 to 14.0.0 (#31291)

Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins) from 13.0.1 to 14.0.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/commonjs-v13.0.1...commonjs-v14.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
5 years agoBump hugo-bin from 0.62.0 to 0.62.1 (#31292)
dependabot[bot] [Tue, 14 Jul 2020 13:00:35 +0000 (16:00 +0300)] 
Bump hugo-bin from 0.62.0 to 0.62.1 (#31292)

Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.62.0 to 0.62.1.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.62.0...v0.62.1)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agodocs(skippy): prevent skip links from overlapping header
Gaël Poupard [Tue, 26 May 2020 08:35:43 +0000 (10:35 +0200)] 
docs(skippy): prevent skip links from overlapping header

5 years agoSort the versions from the latest to the oldest.
XhmikosR [Mon, 13 Jul 2020 18:44:23 +0000 (21:44 +0300)] 
Sort the versions from the latest to the oldest.

5 years agoImprove spacing
Mark Otto [Fri, 10 Jul 2020 23:20:10 +0000 (16:20 -0700)] 
Improve spacing

5 years agoUpdate version.md to include v5
Laim [Fri, 10 Jul 2020 12:59:11 +0000 (13:59 +0100)] 
Update version.md to include v5

Version.md on v5.getbootstrap.com is only referring to v1 > v4 when it should be referring to v1 > v5.

5 years agoMigration update (#31278)
Mark Otto [Mon, 13 Jul 2020 18:40:27 +0000 (11:40 -0700)] 
Migration update (#31278)

* Clarify screen reader changes

* Add some docs and reboot notes to migration guide

* Add mention of docs renaming of screen reader helper page

* Mention null vars from navs PR at #31035

* Update migration.md

Co-authored-by: Patrick H. Lauke <redux@splintered.co.uk>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
5 years agoUpdate devDependencies (#31283)
XhmikosR [Mon, 13 Jul 2020 18:36:26 +0000 (21:36 +0300)] 
Update devDependencies (#31283)

* @rollup/plugin-babel          ^5.0.4  →   ^5.1.0
* @rollup/plugin-commonjs      ^13.0.0  →  ^13.0.1
* @rollup/plugin-node-resolve   ^8.1.0  →   ^8.4.0
* autoprefixer                  ^9.8.4  →   ^9.8.5
* hugo-bin                     ^0.61.0  →  ^0.62.0
* rollup                       ^2.20.0  →  ^2.21.0

5 years agov5: Tweak some colors (#31276)
Mark Otto [Mon, 13 Jul 2020 18:23:38 +0000 (11:23 -0700)] 
v5: Tweak some colors (#31276)

* Tweak green and cyan colors, bump min contrast ratio to 4.5

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
5 years agoJoin template literals
XhmikosR [Tue, 30 Jun 2020 13:46:33 +0000 (16:46 +0300)] 
Join template literals

5 years agoAdd parentheses around multiple spread conditions
XhmikosR [Fri, 26 Jun 2020 15:50:04 +0000 (18:50 +0300)] 
Add parentheses around multiple spread conditions

5 years agoMove function
XhmikosR [Fri, 26 Jun 2020 15:40:54 +0000 (18:40 +0300)] 
Move function

5 years agotooltip.js: remove variable used once.
XhmikosR [Fri, 8 May 2020 08:44:01 +0000 (11:44 +0300)] 
tooltip.js: remove variable used once.

5 years agoscrollspy.js: minor refactoring
XhmikosR [Sat, 20 Jun 2020 16:07:20 +0000 (19:07 +0300)] 
scrollspy.js: minor refactoring

5 years agoUnbreak lines.
XhmikosR [Sat, 20 Jun 2020 16:00:53 +0000 (19:00 +0300)] 
Unbreak lines.

5 years agotoasts: make default duration 5s (#31109)
Rohit Sharma [Sun, 12 Jul 2020 12:43:26 +0000 (18:13 +0530)] 
toasts: make default duration 5s (#31109)

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
5 years agoEasier disabled state customization for button variants (#30639)
Gaël Poupard [Sun, 12 Jul 2020 04:56:33 +0000 (06:56 +0200)] 
Easier disabled state customization for button variants (#30639)

* feat(buttons): easier disabled state customization

* docs(migration): mention new arguments for disabled state in button-variant()

* Update migration.md

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Mark Otto <markd.otto@gmail.com>
5 years agoDocs: forms accessibility cleanup (#31114)
Patrick H. Lauke [Sat, 11 Jul 2020 20:38:43 +0000 (21:38 +0100)] 
Docs: forms accessibility cleanup (#31114)

* Expand on disabled fieldsets and faked buttons

include further advice/information on how to disable faked buttons for keyboard/AT users

* Centralise accessible name advice in forms overview

seems odd to only mention (separately) label, aria-label etc in input-group and layout. the advice is just as pertinent in other sections like select. checks only skims over this.

moving this, in expanded form, into the overview section itself. adding a specific cross-reference (just because they are easily left with no accname at all) in the checks page.

* Change warning about accessibility, modify server-side example

- paradoxically, due to our current problems with validation (see #28414) and the fact that browsers seem to have improved in this area for the most part, it's now actually better to use browser-native validation
- added explicit `id` and `aria-describedby` association to at least the server-side form error messages, to show how it should be done properly, and expanded the prose for that explaining this.

* Replace `.sr-only` with `.visually-hidden` in new addition

* Copy edits for clarity in parenthetical

* Copy and formatting tweaks

- Wordsmithing here and there
- Turns some hyphens into em dashes
- Turns a long running comma separated list into an unordered list
- Rearranges some copy just a bit

Co-authored-by: Mark Otto <markd.otto@gmail.com>
5 years agoFix docs sass importing example.
Florian Lacreuse [Thu, 9 Jul 2020 15:40:54 +0000 (17:40 +0200)] 
Fix docs sass importing example.

5 years agoAdd null variables for nav-link
Mark Otto [Mon, 15 Jun 2020 07:25:05 +0000 (00:25 -0700)] 
Add null variables for nav-link

Replaces #30498 by adding four new null default variables for .nav-link. Doesn't carry over font-style from the original PR though since that's rarely used, at least by default Bootstrap. Nullifies all values from that PR, too, since we count on some basic inheritance here and don't need color by default.

5 years agoClear timeout before showing the toast (#31155)
Rohit Sharma [Sat, 11 Jul 2020 18:51:04 +0000 (00:21 +0530)] 
Clear timeout before showing the toast (#31155)

* clear timeout before showing the toast

* Add unit test

* Remove the check for timeout

* Check for clearTimeout to have been called

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
5 years agoUpdate layout.md
Mark Otto [Sat, 11 Jul 2020 18:40:08 +0000 (11:40 -0700)] 
Update layout.md

5 years agoSingle line example for inline forms
Rohit Sharma [Sun, 5 Jul 2020 11:03:27 +0000 (16:33 +0530)] 
Single line example for inline forms

5 years agoRename `sr-only` to `visually-hidden` in new/renamed helper doc file
Patrick H. Lauke [Fri, 3 Jul 2020 19:31:44 +0000 (20:31 +0100)] 
Rename `sr-only` to `visually-hidden` in new/renamed helper doc file

5 years agoAdd alias/redirect
Patrick H. Lauke [Sat, 27 Jun 2020 19:55:09 +0000 (20:55 +0100)] 
Add alias/redirect

5 years agoReword slightly awkward-sounding description
Patrick H. Lauke [Sun, 21 Jun 2020 11:41:01 +0000 (12:41 +0100)] 
Reword slightly awkward-sounding description

5 years agoEmphasise/call out the note about `.invisible` and AT
Patrick H. Lauke [Sun, 21 Jun 2020 11:39:49 +0000 (12:39 +0100)] 
Emphasise/call out the note about `.invisible` and AT

5 years agoDocs: rename "Screen readers" helper page to "Visually hidden"
Patrick H. Lauke [Sun, 21 Jun 2020 11:07:20 +0000 (12:07 +0100)] 
Docs: rename "Screen readers" helper page to "Visually hidden"

"screen readers" is quite reductive, as there are other assistive technologies. content hidden this way is even announced by things like Alexa/Siri etc, so it's not so much just "screen readers".
in the long run, we may even consider changing the actual classnames (maybe `.visually-hidden` / `.visually-hidden-focusable`, though admittedly that's a bit verbose).

also includes a tiny tweak to layout.md to generalise the note about using `.sr-only`

5 years agoFix some hexa in colors docs. (#31254)
Florian Lacreuse [Tue, 7 Jul 2020 17:28:24 +0000 (19:28 +0200)] 
Fix some hexa in colors docs. (#31254)

5 years agoBump rollup from 2.19.0 to 2.20.0 (#31251)
dependabot[bot] [Tue, 7 Jul 2020 09:11:23 +0000 (12:11 +0300)] 
Bump rollup from 2.19.0 to 2.20.0 (#31251)

Bumps [rollup](https://github.com/rollup/rollup) from 2.19.0 to 2.20.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.19.0...v2.20.0)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoUpdate popper.js to v1.16.1. (#31250)
XhmikosR [Tue, 7 Jul 2020 07:30:05 +0000 (10:30 +0300)] 
Update popper.js to v1.16.1. (#31250)

5 years agoUpdate to `@rollup/plugin-node-resolve` v8.1.0. (#31249)
XhmikosR [Tue, 7 Jul 2020 07:23:11 +0000 (10:23 +0300)] 
Update to `@rollup/plugin-node-resolve` v8.1.0. (#31249)

5 years agoUpdate devDependencies and regenerate package-lock.json (#31229)
XhmikosR [Mon, 6 Jul 2020 16:11:58 +0000 (19:11 +0300)] 
Update devDependencies and regenerate package-lock.json (#31229)

5 years agoDocs: separate button group out of checks/radios, expand button groups page (#31201)
Patrick H. Lauke [Mon, 6 Jul 2020 07:52:43 +0000 (08:52 +0100)] 
Docs: separate button group out of checks/radios, expand button groups page (#31201)

* Keep checks/radio toggle buttons on topic

- give examples of the pure toggle checks and radios, without the button group class. show that these work fine without `.btn-group`, but still cross-reference it
- move the explanation from "Checkbox toggle buttons" directly to "Toggle buttons", as the mention of using button classes applies equally to the subsequent "Radio toggle buttons" and "Outlined styles" subsections.

* Expand button group description

as it's not just single line, but vertical as well

* Expand button group examples

- add more colour ... `.btn-secondary` is just dull and uninspiring
- new section to showcase "Checkbox and radio button groups"
- add a mixed styles example
- add an example of vertical radio button group

5 years agoRemove period in list item link for consistency. (#31243)
Stephanie Brown [Mon, 6 Jul 2020 07:48:19 +0000 (03:48 -0400)] 
Remove period in list item link for consistency. (#31243)

5 years agoFix sidebar jump (#31232)
Martijn Cuppens [Fri, 3 Jul 2020 13:16:05 +0000 (15:16 +0200)] 
Fix sidebar jump (#31232)

5 years agoRename `sr-only`/`sr-only-focusable` (#31139)
Patrick H. Lauke [Fri, 3 Jul 2020 11:38:11 +0000 (12:38 +0100)] 
Rename `sr-only`/`sr-only-focusable` (#31139)

* Rename `sr-only`/`sr-only-focusable`

To be more representative of the fact that these are not necessarily "screen reader" specific, but actually apply to assistive technologies in general (and also things like Alexa/Siri/etc). Goes hand-in-hand with #31133

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
5 years agoDocs: improve/expand button documentation (#31093)
Patrick H. Lauke [Fri, 3 Jul 2020 11:34:32 +0000 (12:34 +0100)] 
Docs: improve/expand button documentation (#31093)

* Docs: improve/expand button documentation

- since we're not doing the disabled cursor thing anymore anyway, remove confusing/unnecessary mention for link-based disabled buttons
- make the disabled toggle example using a link actually follow the preceding advice of also having `tabindex="-1"` and `aria-disabled="true"`
- tweak the link functionality callout to also still mention `aria-disabled` to reinforce the idea
- tweak toggle state description (not just `<button>`s, but also links etc...so just remove mention of `<button>` there; also reinforce accessibility aspect once more)
- add a new callout that cross-references checkbox-based toggles, and what the similarity/difference between them is
- add a matching cross-reference callout to the checkbox-based toggle buttons page

* Update link to now renamed checks-radios.md

5 years agoDocs: clarify that pointer events classes don't affect keyboard interaction (#31134)
Patrick H. Lauke [Fri, 3 Jul 2020 11:23:28 +0000 (12:23 +0100)] 
Docs: clarify that pointer events classes don't affect keyboard interaction (#31134)

* Docs: clarify that pointer events classes don't affect keyboard interaction

* Neutralise example links that are `pe-none`

5 years agoFix generated example code for RFS (#31213)
Sascha Nuissl [Wed, 1 Jul 2020 16:13:20 +0000 (18:13 +0200)] 
Fix generated example code for RFS (#31213)

Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
5 years agoUpdate migration.md (#31122)
XhmikosR [Wed, 1 Jul 2020 12:43:06 +0000 (15:43 +0300)] 
Update migration.md (#31122)

* Add a new v5.0.0-alpha2 section
* Add missing Browser versions from v5.0.0-alpha1

5 years agoRemove extra space
XhmikosR [Sun, 28 Jun 2020 18:12:20 +0000 (21:12 +0300)] 
Remove extra space

5 years agohomepage-hero.svg: move `defs` before `g`
XhmikosR [Sun, 28 Jun 2020 18:08:06 +0000 (21:08 +0300)] 
homepage-hero.svg: move `defs` before `g`

5 years agoUse the site param for icons
XhmikosR [Sun, 28 Jun 2020 18:05:52 +0000 (21:05 +0300)] 
Use the site param for icons

5 years agoBump RFS tag
XhmikosR [Sun, 28 Jun 2020 18:05:43 +0000 (21:05 +0300)] 
Bump RFS tag

5 years agohomepage: Fix wrong indentation (#31211)
XhmikosR [Tue, 30 Jun 2020 13:49:47 +0000 (16:49 +0300)] 
homepage: Fix wrong indentation (#31211)

5 years agoBump rollup from 2.18.0 to 2.18.1 (#31203)
dependabot[bot] [Tue, 30 Jun 2020 12:07:31 +0000 (15:07 +0300)] 
Bump rollup from 2.18.0 to 2.18.1 (#31203)

Bumps [rollup](https://github.com/rollup/rollup) from 2.18.0 to 2.18.1.
- [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.18.0...v2.18.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>
5 years agoBump vnu-jar from 20.5.29 to 20.6.30 (#31204)
dependabot[bot] [Tue, 30 Jun 2020 12:02:34 +0000 (15:02 +0300)] 
Bump vnu-jar from 20.5.29 to 20.6.30 (#31204)

Bumps [vnu-jar](https://github.com/validator/validator) from 20.5.29 to 20.6.30.
- [Release notes](https://github.com/validator/validator/releases)
- [Changelog](https://github.com/validator/validator/blob/master/CHANGELOG.md)
- [Commits](https://github.com/validator/validator/compare/20.5.29...20.6.30)

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>
5 years agoBump sirv-cli from 1.0.1 to 1.0.3 (#31205)
dependabot[bot] [Tue, 30 Jun 2020 11:58:56 +0000 (14:58 +0300)] 
Bump sirv-cli from 1.0.1 to 1.0.3 (#31205)

Bumps [sirv-cli](https://github.com/lukeed/sirv) from 1.0.1 to 1.0.3.
- [Release notes](https://github.com/lukeed/sirv/releases)
- [Commits](https://github.com/lukeed/sirv/compare/v1.0.1...v1.0.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>
5 years agoBump eslint-plugin-import from 2.21.2 to 2.22.0 (#31206)
dependabot[bot] [Tue, 30 Jun 2020 11:52:23 +0000 (14:52 +0300)] 
Bump eslint-plugin-import from 2.21.2 to 2.22.0 (#31206)

Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.21.2 to 2.22.0.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases)
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.21.2...v2.22.0)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump eslint-config-xo from 0.31.0 to 0.32.0 (#31207)
dependabot[bot] [Tue, 30 Jun 2020 11:46:51 +0000 (14:46 +0300)] 
Bump eslint-config-xo from 0.31.0 to 0.32.0 (#31207)

Bumps [eslint-config-xo](https://github.com/xojs/eslint-config-xo) from 0.31.0 to 0.32.0.
- [Release notes](https://github.com/xojs/eslint-config-xo/releases)
- [Commits](https://github.com/xojs/eslint-config-xo/compare/v0.31.0...v0.32.0)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoFix spelling mistake (#31190)
Alex Mohr [Sat, 27 Jun 2020 20:39:17 +0000 (13:39 -0700)] 
Fix spelling mistake (#31190)

Co-authored-by: Alex Mohr <mohralexj@gmail.com>
5 years agoDocs: rename form checks page to "Checks / radios" (#31090)
Patrick H. Lauke [Sat, 27 Jun 2020 18:31:59 +0000 (19:31 +0100)] 
Docs: rename form checks page to "Checks / radios" (#31090)

* Docs: rename form checks page to "Checks / radios"

it's not immediately obvious that "checks" includes information about both checkboxes and radio buttons. while "checks / radios" is also still not perfect (as honestly even I didn't quite grok that "checks" meant checkboxes), it should make it slightly more obvious nonetheless

5 years agoAdd code to method/property tables (#31130)
Patrick H. Lauke [Sat, 27 Jun 2020 11:28:21 +0000 (12:28 +0100)] 
Add code to method/property tables (#31130)

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
5 years agoUpdate Babel config (#31011)
XhmikosR [Thu, 25 Jun 2020 15:38:39 +0000 (18:38 +0300)] 
Update Babel config (#31011)

* remove plugin-proposal-object-rest-spread
* add bugfixes
* `exclude: ['transform-typeof-symbol']` did nothing with our config

5 years agoBump hugo-bin from 0.60.0 to 0.61.0 (#31170)
dependabot[bot] [Thu, 25 Jun 2020 09:11:41 +0000 (12:11 +0300)] 
Bump hugo-bin from 0.60.0 to 0.61.0 (#31170)

Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.60.0 to 0.61.0.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.60.0...v0.61.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>
5 years agoBump autoprefixer from 9.8.2 to 9.8.4 (#31168)
dependabot[bot] [Thu, 25 Jun 2020 09:00:43 +0000 (12:00 +0300)] 
Bump autoprefixer from 9.8.2 to 9.8.4 (#31168)

Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 9.8.2 to 9.8.4.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/9.8.2...9.8.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>
5 years agoBump lockfile-lint from 4.3.6 to 4.3.7 (#31169)
dependabot[bot] [Thu, 25 Jun 2020 08:57:18 +0000 (11:57 +0300)] 
Bump lockfile-lint from 4.3.6 to 4.3.7 (#31169)

Bumps [lockfile-lint](https://github.com/lirantal/lockfile-lint) from 4.3.6 to 4.3.7.
- [Release notes](https://github.com/lirantal/lockfile-lint/releases)
- [Commits](https://github.com/lirantal/lockfile-lint/compare/lockfile-lint@4.3.6...lockfile-lint@4.3.7)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoUpdate Dependabot config file (#31167)
dependabot-preview[bot] [Thu, 25 Jun 2020 08:51:32 +0000 (11:51 +0300)] 
Update Dependabot config file (#31167)

* Update Dependabot config file

* Update dependabot.yml

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
5 years agoBrowserStack: stop testing on latest Edge. (#31125)
XhmikosR [Thu, 25 Jun 2020 08:42:55 +0000 (11:42 +0300)] 
BrowserStack: stop testing on latest Edge. (#31125)

It's Chromium-based so it seems redundant.

5 years agoPrevent overflowing static backdrop modal animation (#30326)
Shohei Yoshida [Thu, 25 Jun 2020 08:35:53 +0000 (17:35 +0900)] 
Prevent overflowing static backdrop modal animation (#30326)

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
5 years agoRemove backdrop-filter from toasts
Mark Otto [Thu, 25 Jun 2020 06:22:58 +0000 (23:22 -0700)] 
Remove backdrop-filter from toasts

5 years agoRemove backdrop-filter from docs subnav
Mark Otto [Thu, 25 Jun 2020 06:21:41 +0000 (23:21 -0700)] 
Remove backdrop-filter from docs subnav

Fixes #31163.

5 years agoFix scrollable modal (#31151)
Shohei Yoshida [Thu, 25 Jun 2020 06:43:19 +0000 (15:43 +0900)] 
Fix scrollable modal (#31151)

Co-authored-by: XhmikosR <xhmikosr@gmail.com>