]> git.ipfire.org Git - thirdparty/bootstrap.git/log
thirdparty/bootstrap.git
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>
2 years agoFollow up
Mark Otto [Tue, 20 Dec 2022 22:25:36 +0000 (14:25 -0800)] 
Follow up

2 years agoUpdate docs and package information to clarify license
Mark Otto [Mon, 21 Nov 2022 17:11:01 +0000 (09:11 -0800)] 
Update docs and package information to clarify license

2 years agoUpdate _variables.scss
jonnysp [Wed, 14 Dec 2022 07:36:53 +0000 (08:36 +0100)] 
Update _variables.scss

2 years agoDocs: fix typo for Sass vars references in Customize > Color modes > Building with...
Julien Déramond [Tue, 20 Dec 2022 06:58:04 +0000 (07:58 +0100)] 
Docs: fix typo for Sass vars references in Customize > Color modes > Building with Sass

2 years agoBuild(deps-dev): Bump sass from 1.56.2 to 1.57.1 (#37683)
dependabot[bot] [Tue, 20 Dec 2022 20:03:48 +0000 (22:03 +0200)] 
Build(deps-dev): Bump sass from 1.56.2 to 1.57.1 (#37683)

Bumps [sass](https://github.com/sass/dart-sass) from 1.56.2 to 1.57.1.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.56.2...1.57.1)

---
updated-dependencies:
- dependency-name: sass
  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>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2 years agoBuild(deps-dev): Bump rollup from 3.7.4 to 3.7.5 (#37685)
dependabot[bot] [Tue, 20 Dec 2022 19:51:02 +0000 (21:51 +0200)] 
Build(deps-dev): Bump rollup from 3.7.4 to 3.7.5 (#37685)

Bumps [rollup](https://github.com/rollup/rollup) from 3.7.4 to 3.7.5.
- [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.7.4...v3.7.5)

---
updated-dependencies:
- dependency-name: rollup
  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 eslint from 8.29.0 to 8.30.0 (#37684)
dependabot[bot] [Tue, 20 Dec 2022 19:50:20 +0000 (21:50 +0200)] 
Build(deps-dev): Bump eslint from 8.29.0 to 8.30.0 (#37684)

Bumps [eslint](https://github.com/eslint/eslint) from 8.29.0 to 8.30.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.29.0...v8.30.0)

---
updated-dependencies:
- dependency-name: eslint
  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 @rollup/plugin-replace from 5.0.1 to 5.0.2 (#37682)
dependabot[bot] [Tue, 20 Dec 2022 19:49:33 +0000 (21:49 +0200)] 
Build(deps-dev): Bump @rollup/plugin-replace from 5.0.1 to 5.0.2 (#37682)

Bumps [@rollup/plugin-replace](https://github.com/rollup/plugins/tree/HEAD/packages/replace) from 5.0.1 to 5.0.2.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/replace/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/json-v5.0.2/packages/replace)

---
updated-dependencies:
- dependency-name: "@rollup/plugin-replace"
  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 @rollup/plugin-commonjs from 23.0.4 to 24.0.0 (#37681)
dependabot[bot] [Tue, 20 Dec 2022 19:46:42 +0000 (21:46 +0200)] 
Build(deps-dev): Bump @rollup/plugin-commonjs from 23.0.4 to 24.0.0 (#37681)

Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins/tree/HEAD/packages/commonjs) from 23.0.4 to 24.0.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/commonjs/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/commonjs-v24.0.0/packages/commonjs)

---
updated-dependencies:
- dependency-name: "@rollup/plugin-commonjs"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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): Bump ossf/scorecard-action from 2.1.0 to 2.1.1 (#37680)
dependabot[bot] [Tue, 20 Dec 2022 19:45:51 +0000 (21:45 +0200)] 
Build(deps): Bump ossf/scorecard-action from 2.1.0 to 2.1.1 (#37680)

Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.1.0 to 2.1.1.
- [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.0...v2.1.1)

---
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 agoREADME.md: add logos to badges (#37664)
XhmikosR [Tue, 20 Dec 2022 19:43:43 +0000 (21:43 +0200)] 
README.md: add logos to badges (#37664)

2 years agoDocs: remove Webpack reference in Parcel guide (#37670)
Louis-Maxime Piton [Mon, 19 Dec 2022 17:34:18 +0000 (18:34 +0100)] 
Docs: remove Webpack reference in Parcel guide (#37670)

2 years agodocs: move color-mode script (#37658)
XhmikosR [Sun, 18 Dec 2022 21:32:17 +0000 (23:32 +0200)] 
docs: move color-mode script (#37658)

* docs: move color-mode script

* Move color-modes.js in static folder

* Async load color-modes.js

* Switch to DOMContentLoaded

* Revert async loading

2 years agoDocs: replace some `--#{$prefix}` by `--bs` in Sass files (#37617)
Louis-Maxime Piton [Sun, 18 Dec 2022 07:19:33 +0000 (08:19 +0100)] 
Docs: replace some `--#{$prefix}` by `--bs` in Sass files (#37617)

Co-authored-by: Julien Déramond <juderamond@gmail.com>
2 years agoFix grid and alignment of Features example (#37502)
Vipin Mishra [Sun, 18 Dec 2022 07:12:19 +0000 (12:42 +0530)] 
Fix grid and alignment of Features example (#37502)

Co-authored-by: Julien Déramond <juderamond@gmail.com>
2 years agoEnable OpenSSF Scorecard Github Action and Badge (#37402)
Joyce [Fri, 16 Dec 2022 07:34:54 +0000 (04:34 -0300)] 
Enable OpenSSF Scorecard Github Action and Badge (#37402)

Signed-off-by: Joyce Brum <joycebrum@google.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2 years agoRevert "CI: limit the on push triggers (#35574)" (#37657)
XhmikosR [Fri, 16 Dec 2022 07:32:50 +0000 (09:32 +0200)] 
Revert "CI: limit the on push triggers (#35574)" (#37657)

This reverts commit f0ae5cceac1302d51cf62ffb180355bfc3300ae2.

2 years agoCI: limit the on push triggers (#35574)
XhmikosR [Fri, 16 Dec 2022 07:22:18 +0000 (09:22 +0200)] 
CI: limit the on push triggers (#35574)

Since now we have workflow_dispatch, we can trigger a workflow manually in case we don't have an open PR.

Also, remove the custom `ci skip` code; it's supported natively for some time now: https://github.blog/changelog/2021-02-08-github-actions-skip-pull-request-and-push-workflows-with-skip-ci/

2 years agoCI: Add GitHub token permissions for workflows (#36325)
Varun Sharma [Fri, 16 Dec 2022 07:20:12 +0000 (12:50 +0530)] 
CI: Add GitHub token permissions for workflows (#36325)

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2 years agopackage.json: include index.{esm,umd}.js files too (#37565)
XhmikosR [Fri, 16 Dec 2022 07:12:46 +0000 (09:12 +0200)] 
package.json: include index.{esm,umd}.js files too (#37565)

2 years agoRegenerate package-lock.json and pin terser for now (#37640)
XhmikosR [Thu, 15 Dec 2022 21:38:02 +0000 (23:38 +0200)] 
Regenerate package-lock.json and pin terser for now (#37640)