]> git.ipfire.org Git - thirdparty/bootstrap.git/log
thirdparty/bootstrap.git
2 years agoTypo
Mark Otto [Mon, 16 Jan 2023 23:51:10 +0000 (15:51 -0800)] 
Typo

2 years agoAdd docs callout for utilities that don't respond to color modes
Mark Otto [Mon, 16 Jan 2023 23:50:08 +0000 (15:50 -0800)] 
Add docs callout for utilities that don't respond to color modes

2 years agoInclude variables-dark in the import stacks, plus a customize overview fix
Mark Otto [Tue, 17 Jan 2023 00:05:53 +0000 (16:05 -0800)] 
Include variables-dark in the import stacks, plus a customize overview fix

2 years agoSmall color mode docs CSS fixes (#37896)
Mark Otto [Tue, 17 Jan 2023 00:56:50 +0000 (16:56 -0800)] 
Small color mode docs CSS fixes (#37896)

* SImplify background gradient syntax

* Move inline style to CSS file

2 years agoFix `.form-control` in dark mode (#37893)
Mark Otto [Mon, 16 Jan 2023 23:56:23 +0000 (15:56 -0800)] 
Fix `.form-control` in dark mode (#37893)

* Fix .form-control in dark mode

* Remove CSS vars from docs

2 years agoBetter use of CSS var
louismaximepiton [Mon, 16 Jan 2023 15:40:09 +0000 (16:40 +0100)] 
Better use of CSS var

2 years agoUpdate grid example
louismaximepiton [Mon, 16 Jan 2023 16:30:05 +0000 (17:30 +0100)] 
Update grid example

2 years agoDeprecate the Sass var and remove any occurence of the `.text-muted` (#37890)
Louis-Maxime Piton [Mon, 16 Jan 2023 23:55:28 +0000 (00:55 +0100)] 
Deprecate the Sass var and remove any occurence of the `.text-muted` (#37890)

2 years agoChanged ```popover``` to ```tooltip``` in docs
Maciej Kubień [Fri, 13 Jan 2023 12:43:44 +0000 (13:43 +0100)] 
Changed ```popover``` to ```tooltip``` in docs

Changed ```popover``` to ```tooltip``` in tooltip component docs page.

2 years agoMove form-text paragraph to Form control page instead of overview to have teh documen...
Issermann Hannah [Fri, 13 Jan 2023 14:59:08 +0000 (15:59 +0100)] 
Move form-text paragraph to Form control page instead of overview to have teh documentation in the same page than sass variables.

2 years agoRemove outdated comment from `$input-border-color` variable
Eren Okka [Thu, 12 Jan 2023 20:19:25 +0000 (23:19 +0300)] 
Remove outdated comment from `$input-border-color` variable

2 years agoDocs: update progress markup in Color modes page
Julien Déramond [Thu, 12 Jan 2023 07:30:47 +0000 (08:30 +0100)] 
Docs: update progress markup in Color modes page

2 years agoAdd theme maps specific to dark mode (#37843)
Julien Déramond [Thu, 12 Jan 2023 05:06:18 +0000 (06:06 +0100)] 
Add theme maps specific to dark mode (#37843)

* Add theme maps specific to dark mode

* Fix CSS building

* Fix other failing test

Co-authored-by: Mark Otto <markdotto@gmail.com>
2 years agoMention deprecated classes for color mode on offcanvas
Mark Otto [Thu, 12 Jan 2023 04:56:23 +0000 (20:56 -0800)] 
Mention deprecated classes for color mode on offcanvas

2 years agoDocs: fix broken links in Color modes page
Julien Déramond [Wed, 11 Jan 2023 14:48:57 +0000 (15:48 +0100)] 
Docs: fix broken links in Color modes page

2 years agoDrop duplicate `--bs-body-bg-rgb` declaration + reorder props
Julien Déramond [Wed, 11 Jan 2023 14:36:00 +0000 (15:36 +0100)] 
Drop duplicate `--bs-body-bg-rgb` declaration + reorder props

2 years agoReduce bootstrap-grid.css content
Julien Déramond [Mon, 9 Jan 2023 19:41:32 +0000 (20:41 +0100)] 
Reduce bootstrap-grid.css content

2 years agodocs: updates `.text-*-left` changes
Catalin Zalog [Wed, 11 Jan 2023 09:32:01 +0000 (11:32 +0200)] 
docs: updates `.text-*-left` changes

2 years agoBuild(deps-dev): Bump @babel/core from 7.20.7 to 7.20.12 (#37850)
dependabot[bot] [Wed, 11 Jan 2023 13:11:23 +0000 (15:11 +0200)] 
Build(deps-dev): Bump @babel/core from 7.20.7 to 7.20.12 (#37850)

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

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years agoBuild(deps-dev): Bump postcss from 8.4.20 to 8.4.21 (#37851)
dependabot[bot] [Wed, 11 Jan 2023 13:10:57 +0000 (15:10 +0200)] 
Build(deps-dev): Bump postcss from 8.4.20 to 8.4.21 (#37851)

Bumps [postcss](https://github.com/postcss/postcss) from 8.4.20 to 8.4.21.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.20...8.4.21)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years agoUpdate colored links, add new `.link-body-emphasis` helper (#37833)
Mark Otto [Wed, 11 Jan 2023 00:34:25 +0000 (16:34 -0800)] 
Update colored links, add new `.link-body-emphasis` helper (#37833)

* Rewrite colored links to use color property again instead of --bs-link-color-rgb value because nav links and more do not set --bs-link-color-rgb

* Update bundlewatch

* Document it

Co-authored-by: Julien Déramond <juderamond@gmail.com>
2 years agoUpdate snippet examples for dark mode (#37834)
Mark Otto [Wed, 11 Jan 2023 00:33:33 +0000 (16:33 -0800)] 
Update snippet examples for dark mode (#37834)

* Update snippet examples for dark mode

* Fix markup

* Review comments

* undo colored links docs from this PR

2 years agoDocs: fix typo in migration guide
Julien Déramond [Tue, 10 Jan 2023 09:16:35 +0000 (10:16 +0100)] 
Docs: fix typo in migration guide

2 years agoRemove obsolete comment from `_variables.scss`
Julien Déramond [Sun, 8 Jan 2023 10:16:13 +0000 (11:16 +0100)] 
Remove obsolete comment from `_variables.scss`

2 years agoDocs: add `.fw-medium` utility class example
A Kriya [Sun, 8 Jan 2023 20:09:36 +0000 (01:39 +0530)] 
Docs: add `.fw-medium` utility class example

2 years agoRemove autofocus on theme switch when page is loaded
Julien Déramond [Sun, 8 Jan 2023 14:58:59 +0000 (15:58 +0100)] 
Remove autofocus on theme switch when page is loaded

2 years agoKeep shadows black regardless of color mode
Mark Otto [Sat, 7 Jan 2023 23:53:12 +0000 (17:53 -0600)] 
Keep shadows black regardless of color mode

2 years agoDocs: missing deprecated callout for `list-group-item-variant()` mixin
Julien Déramond [Fri, 6 Jan 2023 20:09:52 +0000 (21:09 +0100)] 
Docs: missing deprecated callout for `list-group-item-variant()` mixin

2 years agoSwitch from none keyword value to a fake shadow for btn-link
Mark Otto [Fri, 6 Jan 2023 05:10:00 +0000 (21:10 -0800)] 
Switch from none keyword value to a fake shadow for btn-link

2 years agoFix
louismaximepiton [Tue, 22 Nov 2022 10:39:26 +0000 (11:39 +0100)] 
Fix

2 years agoCSS: rename some variables to be consistent (#37804)
Louis-Maxime Piton [Fri, 6 Jan 2023 19:46:03 +0000 (20:46 +0100)] 
CSS: rename some variables to be consistent (#37804)

* Fix

* fix(review)

2 years agoDocs: fix `.btn-clipboard` and `.btn-edit` link hover color
Julien Déramond [Fri, 6 Jan 2023 07:47:46 +0000 (08:47 +0100)] 
Docs: fix `.btn-clipboard` and `.btn-edit` link hover color

2 years agoDrop unused `.bg-body-emphasis` (#37824)
Julien Déramond [Fri, 6 Jan 2023 19:41:28 +0000 (20:41 +0100)] 
Drop unused `.bg-body-emphasis` (#37824)

2 years agoDocs: Small enhancements (#37803)
Louis-Maxime Piton [Fri, 6 Jan 2023 03:59:59 +0000 (04:59 +0100)] 
Docs: Small enhancements (#37803)

* Consistency with the doc

* Bring a class to avoid weird behavior

* Consistency + Add some explaining text

* fix(color)

2 years agoFix duplicate `--bs-emphasis-color` set value (#37809)
Julien Déramond [Fri, 6 Jan 2023 03:59:24 +0000 (04:59 +0100)] 
Fix duplicate `--bs-emphasis-color` set value (#37809)

* Fix duplicate `--bs-emphasis-color` set value

* Restore body- prefix

Co-authored-by: Mark Otto <markdotto@gmail.com>
2 years agoDocs: enhance colors description table
Julien Déramond [Thu, 5 Jan 2023 12:07:21 +0000 (13:07 +0100)] 
Docs: enhance colors description table

2 years agoDocs: remove some CSS from `.highlight-toolbar` def
Julien Déramond [Thu, 5 Jan 2023 20:33:06 +0000 (21:33 +0100)] 
Docs: remove some CSS from `.highlight-toolbar` def

2 years agoRemove duplicate definition of `--bs-highlight-bg` in `scss/_root.scss`
Julien Déramond [Thu, 5 Jan 2023 21:10:22 +0000 (22:10 +0100)] 
Remove duplicate definition of `--bs-highlight-bg` in `scss/_root.scss`

2 years agoRemove unused comment in `scss/_maps.scss`
Julien Déramond [Thu, 5 Jan 2023 18:04:50 +0000 (19:04 +0100)] 
Remove unused comment in `scss/_maps.scss`

2 years agoDocs: replace `twbs/bootstrap-npm-starter` by `twbs/examples/tree/main/icons-font...
Julien Déramond [Wed, 4 Jan 2023 21:38:45 +0000 (22:38 +0100)] 
Docs: replace `twbs/bootstrap-npm-starter` by `twbs/examples/tree/main/icons-font` (#37671)

* Docs: replace twbs/bootstrap-npm-starter by twbs/examples/tree/main/icons-font

* Revamp starter template to use new .icon-link, fix Bootstrap icon and text at top

* Remove extra CSS file

* Change links to twbs/examples

* Fix icon name

* Adjust icon link offset to more reasonable and scaling distance

Co-authored-by: Mark Otto <markdotto@gmail.com>
2 years agoInclude twbs/examples in the Examples page
Mark Otto [Thu, 29 Dec 2022 21:59:33 +0000 (13:59 -0800)] 
Include twbs/examples in the Examples page

2 years agoDocs: fix headings color in light/dark mode (#37802)
Julien Déramond [Wed, 4 Jan 2023 16:47:31 +0000 (17:47 +0100)] 
Docs: fix headings color in light/dark mode (#37802)

2 years agoAdd new link utilities, icon link helper, and update colored link helpers (#37762)
Mark Otto [Wed, 4 Jan 2023 06:23:46 +0000 (22:23 -0800)] 
Add new link utilities, icon link helper, and update colored link helpers (#37762)

* Add new link utilities, update colored link helpers

* Remove commented out code

* Fixes

* Remove examples changes

* Fixes and copy

* Fix icon-link instances on homepage

* Bump bundlewatch

* Fix node-sass issue for rgba() function bug

* More bundlewatch

* One more time after merge

* Add callout for a11y

* Hover and focus-visible

* Add a11y callouts

* Remove duplicate for now

* More code review feedback

2 years agoRewrite some callouts to remove most headings and reduce their content
Mark Otto [Mon, 12 Dec 2022 02:10:19 +0000 (18:10 -0800)] 
Rewrite some callouts to remove most headings and reduce their content

2 years agoBuild(deps): Bump json5 from 1.0.1 to 1.0.2
dependabot[bot] [Wed, 4 Jan 2023 03:44:33 +0000 (03:44 +0000)] 
Build(deps): Bump json5 from 1.0.1 to 1.0.2

Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agoChange stylelint `property-blacklist` to `property-disallowed-list`
Patrick H. Lauke [Tue, 3 Jan 2023 09:52:20 +0000 (09:52 +0000)] 
Change stylelint `property-blacklist` to `property-disallowed-list`

see https://github.com/twbs/bootstrap/pull/31066#issuecomment-1369405723 / https://github.com/stylelint/stylelint/releases/tag/13.7.0

xref #31066

2 years agoBuild(deps-dev): Bump stylelint from 14.16.0 to 14.16.1
dependabot[bot] [Tue, 3 Jan 2023 10:00:35 +0000 (10:00 +0000)] 
Build(deps-dev): Bump stylelint from 14.16.0 to 14.16.1

Bumps [stylelint](https://github.com/stylelint/stylelint) from 14.16.0 to 14.16.1.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/14.16.0...14.16.1)

---
updated-dependencies:
- dependency-name: stylelint
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agoBuild(deps-dev): Bump rollup from 3.9.0 to 3.9.1
dependabot[bot] [Tue, 3 Jan 2023 10:01:02 +0000 (10:01 +0000)] 
Build(deps-dev): Bump rollup from 3.9.0 to 3.9.1

Bumps [rollup](https://github.com/rollup/rollup) from 3.9.0 to 3.9.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/v3.9.0...v3.9.1)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agoBuild(deps-dev): Bump eslint from 8.30.0 to 8.31.0
dependabot[bot] [Tue, 3 Jan 2023 10:01:25 +0000 (10:01 +0000)] 
Build(deps-dev): Bump eslint from 8.30.0 to 8.31.0

Bumps [eslint](https://github.com/eslint/eslint) from 8.30.0 to 8.31.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.30.0...v8.31.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agoDocs: fix accordion flush description
Julien Déramond [Tue, 3 Jan 2023 17:00:38 +0000 (18:00 +0100)] 
Docs: fix accordion flush description

2 years agoAdd webpack build to webpack guide
Julien Déramond [Tue, 3 Jan 2023 15:57:33 +0000 (16:57 +0100)] 
Add webpack build to webpack guide

2 years agoRemove dark mode --bs-heading-color value, set to null, and add custom styles for...
Mark Otto [Wed, 4 Jan 2023 03:28:26 +0000 (19:28 -0800)] 
Remove dark mode --bs-heading-color value, set to null, and add custom styles for the docs dark mode headings

2 years agoDocs: add explanation of the base `.btn` class (#37275)
Patrick H. Lauke [Tue, 3 Jan 2023 11:28:27 +0000 (11:28 +0000)] 
Docs: add explanation of the base `.btn` class (#37275)

* Docs: add explanation of the base `.btn` class

and a callout reminding authors to at least define some focus styling if they intend to use it "naked"

* Turn callout into a warning

* Add initial heading

* Tweak callout wording

2 years agoUse Bootstrap colors in syntax highlighting
Mark Otto [Mon, 2 Jan 2023 19:31:28 +0000 (11:31 -0800)] 
Use Bootstrap colors in syntax highlighting

2 years agofix live toast demo (#37590)
AucT [Tue, 3 Jan 2023 06:06:09 +0000 (08:06 +0200)] 
fix live toast demo (#37590)

* fix live toast demo

* Fix live toast demo

* Update snippets.js

* Update toasts.md

* Update snippets.js

* Code review comments addressed

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Mark Otto <markdotto@gmail.com>
2 years agoChange nav focus to focus-visible (#37784)
Mark Otto [Tue, 3 Jan 2023 03:50:46 +0000 (19:50 -0800)] 
Change nav focus to focus-visible (#37784)

Co-authored-by: Patrick H. Lauke <redux@splintered.co.uk>
2 years agoDocs: add CSS variables section in close button section
Julien Déramond [Mon, 2 Jan 2023 06:57:12 +0000 (07:57 +0100)] 
Docs: add CSS variables section in close button section

2 years agoDocs: offcanvas toggles accessibility fixes, fully hide layout template input
Louis-Maxime Piton [Mon, 2 Jan 2023 16:07:48 +0000 (17:07 +0100)] 
Docs: offcanvas toggles accessibility fixes, fully hide layout template input

Co-authored-by: Patrick H. Lauke <redux@splintered.co.uk>
2 years agoUpdate tooltips.md
XhmikosR [Mon, 2 Jan 2023 15:44:55 +0000 (17:44 +0200)] 
Update tooltips.md

2 years agoFix code color in callouts
Mark Otto [Mon, 2 Jan 2023 06:23:58 +0000 (22:23 -0800)] 
Fix code color in callouts

2 years agoFix cards color for contextual color mode
Julien Déramond [Sun, 1 Jan 2023 22:20:48 +0000 (23:20 +0100)] 
Fix cards color for contextual color mode

2 years agoDocs: Make theme switcher accessible (#37780)
Patrick H. Lauke [Mon, 2 Jan 2023 05:54:46 +0000 (05:54 +0000)] 
Docs: Make theme switcher accessible (#37780)

* Make theme switcher accessible

* set an explicit `aria-label` to the switcher (as the `<span>` is not sufficient, as it can be display:none'd and then the button has no accName)
* make the theme buttons actual `aria-pressed` toggles

* Dynamically update aria-label for theme switcher

* Explicitly reset focus after activating theme

* Use innerText for the constructed dynamic aria-label

this way, if the text ever gets changed in the html, this will adapt appropriately

* Tweak accessible name for the dropdown

* Fixup

* Use `textContent` instead of `innerText`

2 years agoDocs: remove remnants of Twitter / bump dates (#37779)
Patrick H. Lauke [Mon, 2 Jan 2023 00:30:53 +0000 (00:30 +0000)] 
Docs: remove remnants of Twitter / bump dates (#37779)

2 years agoDocs: Remove unnecessary `id`/`aria-labelledby` from accordion examples
Patrick H. Lauke [Fri, 30 Dec 2022 11:08:48 +0000 (11:08 +0000)] 
Docs: Remove unnecessary `id`/`aria-labelledby` from accordion examples

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

2 years agoDocs: enhance Focus ring example section desc
Julien Déramond [Fri, 30 Dec 2022 19:16:33 +0000 (20:16 +0100)] 
Docs: enhance Focus ring example section desc

2 years agoFocus ring helper and utilities (#33125)
Mark Otto [Thu, 29 Dec 2022 22:19:22 +0000 (14:19 -0800)] 
Focus ring helper and utilities (#33125)

* Add global variables for box-shadow focus rings

* Update instances of -btn-focus-box-shadow to use -ring-box-shadow, unless it's for buttons or inputs

* fix variable name

* Add CSS variables for global focus styling, document it

* Move to CSS vars section

* Update scss/_nav.scss

Co-authored-by: Gaël Poupard <ffoodd@users.noreply.github.com>
* Helper and utils

* Fix bundlewatch

* Change 'Focus ring' in sidebar so that the page can be visible

* Minor typo fix

* fix merge

* Revamp some more, improve docs

Co-authored-by: Gaël Poupard <ffoodd@users.noreply.github.com>
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Patrick H. Lauke <redux@splintered.co.uk>
2 years agoDocs: enhance callouts links on dark mode
Julien Déramond [Thu, 29 Dec 2022 20:38:42 +0000 (21:38 +0100)] 
Docs: enhance callouts links on dark mode

2 years agoFix selector for dark mode navbar toggler SVG change
Mark Otto [Thu, 29 Dec 2022 20:37:30 +0000 (12:37 -0800)] 
Fix selector for dark mode navbar toggler SVG change

2 years agoDocs: replace dark btns by primary ones from Button group docs to avoid issues in...
Julien Déramond [Thu, 29 Dec 2022 18:38:19 +0000 (19:38 +0100)] 
Docs: replace dark btns by primary ones from Button group docs to avoid issues in dark mode

2 years agoBuild(deps-dev): Bump sass-true from 6.1.0 to 7.0.0
Julien Déramond [Thu, 29 Dec 2022 19:08:23 +0000 (20:08 +0100)] 
Build(deps-dev): Bump sass-true from 6.1.0 to 7.0.0

2 years agoDarken some text emphasis and syntax colors
Mark Otto [Thu, 29 Dec 2022 20:11:40 +0000 (12:11 -0800)] 
Darken some text emphasis and syntax colors

2 years agoUse scrollspy on docs pages (#33428)
GeoSot [Thu, 29 Dec 2022 20:11:01 +0000 (22:11 +0200)] 
Use scrollspy on docs pages (#33428)

* use scrollspy on docs pages

* Update colors by taking into account new dark mode

* Restyle it

* Update colors once more

* Fix some color contrast issues

Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Mark Otto <markdotto@gmail.com>
2 years agoDocs: display examples based on the docs current color mode (#37562)
Julien Déramond [Thu, 29 Dec 2022 06:58:35 +0000 (07:58 +0100)] 
Docs: display examples based on the docs current color mode (#37562)

* Docs: display examples based on the docs current color mode

* Fix _default/examples.html

2 years agoFix CSS variables mentioned in our docs
Julien Déramond [Wed, 28 Dec 2022 08:57:40 +0000 (09:57 +0100)] 
Fix CSS variables mentioned in our docs

2 years agoAdd .nav-underline modifier class (#33126)
Mark Otto [Thu, 29 Dec 2022 05:55:54 +0000 (21:55 -0800)] 
Add .nav-underline modifier class (#33126)

* Add .nav-underline modifier class

* Tweak sizing and spacing, add underline on hover

* Rebuild with Sass and CSS variables

* Document CSS vars

* Bump bundlewatch

2 years agoRemove scorecards (#37751)
XhmikosR [Wed, 28 Dec 2022 21:49:57 +0000 (23:49 +0200)] 
Remove scorecards (#37751)

2 years agoBuild(deps): Bump ossf/scorecard-action from 2.1.1 to 2.1.2 (#37728)
dependabot[bot] [Wed, 28 Dec 2022 21:45:07 +0000 (23:45 +0200)] 
Build(deps): Bump ossf/scorecard-action from 2.1.1 to 2.1.2 (#37728)

Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.1.1 to 2.1.2.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](https://github.com/ossf/scorecard-action/compare/v2.1.1...v2.1.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years agoBuild(deps-dev): Bump rollup from 3.8.1 to 3.9.0 (#37750)
dependabot[bot] [Wed, 28 Dec 2022 21:44:14 +0000 (23:44 +0200)] 
Build(deps-dev): Bump rollup from 3.8.1 to 3.9.0 (#37750)

Bumps [rollup](https://github.com/rollup/rollup) from 3.8.1 to 3.9.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/v3.8.1...v3.9.0)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years agoBuild(deps-dev): Bump lockfile-lint from 4.9.6 to 4.10.0 (#37729)
dependabot[bot] [Wed, 28 Dec 2022 21:43:29 +0000 (23:43 +0200)] 
Build(deps-dev): Bump lockfile-lint from 4.9.6 to 4.10.0 (#37729)

Bumps [lockfile-lint](https://github.com/lirantal/lockfile-lint/tree/HEAD/packages/lockfile-lint) from 4.9.6 to 4.10.0.
- [Release notes](https://github.com/lirantal/lockfile-lint/releases)
- [Changelog](https://github.com/lirantal/lockfile-lint/blob/master/packages/lockfile-lint/CHANGELOG.md)
- [Commits](https://github.com/lirantal/lockfile-lint/commits/lockfile-lint@4.10.0/packages/lockfile-lint)

---
updated-dependencies:
- dependency-name: lockfile-lint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years agoImprove readability in docs flex page (#34647)
Ben Koshy [Wed, 28 Dec 2022 21:19:55 +0000 (08:19 +1100)] 
Improve readability in docs flex page (#34647)

It's not easy to otherwise correlate the examples with the relevant classes: you'd have to mentally count and correlate them. This obviates that need. Please see the image below to see the usefulness of the above.

Co-authored-by: Mark Otto <markdotto@gmail.com>
2 years agoUse aria-labelledby to associate form-text (helper) with input field … (#37587)
Hannah Issermann [Wed, 28 Dec 2022 21:19:34 +0000 (22:19 +0100)] 
Use aria-labelledby to associate form-text (helper) with input field … (#37587)

* Use aria-labelledby to associate form-text (helper) with input field when it contains mandatory info (e.g. data format)

* Example in input-group needs aria-describedby (or aria-labelledby) too

Co-authored-by: Mark Otto <markdotto@gmail.com>
2 years agoAdd color-scheme to dark root selector
Mark Otto [Tue, 27 Dec 2022 18:32:10 +0000 (10:32 -0800)] 
Add color-scheme to dark root selector

2 years agoUpdate /#color-schemes to v5.3
Teaca-Sebastian [Wed, 28 Dec 2022 07:01:50 +0000 (09:01 +0200)] 
Update /#color-schemes to v5.3

2 years agoDocs: handle light/dark mode in Algolia search modal (#37738)
Julien Déramond [Wed, 28 Dec 2022 00:43:42 +0000 (01:43 +0100)] 
Docs: handle light/dark mode in Algolia search modal (#37738)

* Docs: handle light/dark mode in Algolia search modal

* Improve scopes

2 years agoUpdate colour contrast formula with new constant from WCAG 2.2 (#37731)
Patrick H. Lauke [Tue, 27 Dec 2022 14:13:38 +0000 (14:13 +0000)] 
Update colour contrast formula with new constant from WCAG 2.2 (#37731)

See https://github.com/w3c/wcag/pull/1780

Closes #37022

2 years agoDocs: change some title containing '&' to bypass Algolia issue
Julien Déramond [Mon, 31 Oct 2022 05:29:34 +0000 (06:29 +0100)] 
Docs: change some title containing '&' to bypass Algolia issue

2 years agoFew miscellaneous docs fixes (#37625)
Mark Otto [Mon, 26 Dec 2022 19:32:43 +0000 (11:32 -0800)] 
Few miscellaneous docs fixes (#37625)

* Update hero button color

* Fix link color on examples index

* Move .bd-btn-lg to docs buttons partial, move larger border-radius to that class so medium buttons don't look odd

* Undo the markup split

* Round padding up to whole number

2 years agoImprove consistency of navbar icon declaration (#37720)
Mark Dumay [Mon, 26 Dec 2022 19:19:53 +0000 (20:19 +0100)] 
Improve consistency of navbar icon declaration (#37720)

* Use $navbar-light-color instead of inline color

* Introduce separate $navbar-light-icon-color

2 years agoDrop logo on homepage on mobile
Julien Déramond [Wed, 7 Dec 2022 21:32:26 +0000 (22:32 +0100)] 
Drop logo on homepage on mobile

2 years agoRemove unnecessary `id`/`aria-labelledby` from cheatsheet accordions (#37718)
Patrick H. Lauke [Mon, 26 Dec 2022 00:11:36 +0000 (00:11 +0000)] 
Remove unnecessary `id`/`aria-labelledby` from cheatsheet accordions (#37718)

Explicit labelling (which then would also benefit from a `role="group"` or similar role) is only optional, and not really appropriate just for a cheatsheet

https://www.w3.org/WAI/ARIA/apg/patterns/accordion/

Closes #37591

2 years agodocs: improve social image partial (#37717)
XhmikosR [Sun, 25 Dec 2022 16:14:27 +0000 (18:14 +0200)] 
docs: improve social image partial (#37717)

* Fix social image URL to be absolute

* Deduplicate social.html

* Get image dimensions with Hugo

2 years agoMake scss tests work on Windows too. (#37713)
XhmikosR [Sun, 25 Dec 2022 16:09:26 +0000 (18:09 +0200)] 
Make scss tests work on Windows too. (#37713)

Also, add missing `'use strict'` statements; these aren't real modules.

2 years agopackage.json: exclude scss test files (#37712)
XhmikosR [Sun, 25 Dec 2022 10:42:23 +0000 (12:42 +0200)] 
package.json: exclude scss test files (#37712)

2 years agoCI: test CSS after build (#37714)
XhmikosR [Sun, 25 Dec 2022 10:41:54 +0000 (12:41 +0200)] 
CI: test CSS after build (#37714)

2 years agoUpdate devDependencies (#37715)
XhmikosR [Sun, 25 Dec 2022 10:41:40 +0000 (12:41 +0200)] 
Update devDependencies (#37715)

* @babel/cli   ^7.19.3  →  ^7.20.7
* @babel/core  ^7.20.5  →  ^7.20.7
* hugo-bin     ^0.96.0  →  ^0.97.0
* jasmine       ^4.0.2  →   ^4.5.0
* jquery        ^3.6.2  →   ^3.6.3
* rollup        ^3.7.5  →   ^3.8.1

2 years agoBuild(deps): Bump socket.io-parser from 4.0.4 to 4.0.5 (#37709)
dependabot[bot] [Sun, 25 Dec 2022 07:04:20 +0000 (09:04 +0200)] 
Build(deps): Bump socket.io-parser from 4.0.4 to 4.0.5 (#37709)

Bumps [socket.io-parser](https://github.com/socketio/socket.io-parser) from 4.0.4 to 4.0.5.
- [Release notes](https://github.com/socketio/socket.io-parser/releases)
- [Changelog](https://github.com/socketio/socket.io-parser/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io-parser/compare/4.0.4...4.0.5)

---
updated-dependencies:
- dependency-name: socket.io-parser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years agoRemove some unused SVGs in Dropdowns example
Julien Déramond [Thu, 22 Dec 2022 14:18:46 +0000 (15:18 +0100)] 
Remove some unused SVGs in Dropdowns example

2 years agoSCSS testing of the utilities API (#36029)
Romaric Pascal [Sat, 24 Dec 2022 22:29:20 +0000 (23:29 +0100)] 
SCSS testing of the utilities API (#36029)

* Set up CSS testing using sass-true and mocha

Use mocha to handle the heavy lifting of finding tests and running them.
Mocha is made to look directly for SCSS files which are compiled
thanks to Node's require.extensions mechanism.

* Add CSS tests to workflow

* Add tests for the generate-utility mixin

* Add tests for utilities generation

* Fix linting issues

* Fix test contents

Don't know why the whole utilities.test.scss ended up copied in the api.test.scss

* Remove unnecessary entry in package.json

* Move to Jasmine for running the tests

* Move running of CSS tests before CSS build

* Update linting set up

Add exceptions for test files in stylelint

* Remove irrelevant option for sass-true

* Fix linting issues after rebase

* Add color mode tests

* Fix linter

Co-authored-by: Mark Otto <markdotto@gmail.com>
2 years agoRelease v5.3.0-alpha1 (#37661) v5.3.0-alpha1
XhmikosR [Sat, 24 Dec 2022 16:37:22 +0000 (18:37 +0200)] 
Release v5.3.0-alpha1 (#37661)

* Bump version to 5.3.0-alpha1

* Dist

* Add docs versions updates

* Update note in homepage hero

Co-authored-by: Mark Otto <markdotto@gmail.com>
2 years agoFix Sass compilation when `$color-mode-type` is set to `media-query` (#37687)
Julien Déramond [Wed, 21 Dec 2022 06:52:07 +0000 (07:52 +0100)] 
Fix Sass compilation when `$color-mode-type` is set to `media-query` (#37687)

* Fix Sass compilation when `$color-mode-type` is set to `media-query`

* Update mixin names, fix docs color modes for using media queries by using mixin

Co-authored-by: Mark Otto <markdotto@gmail.com>