Patrick H. Lauke
2cc580e2d1
Docs: remove remnants of Twitter / bump dates ( #37779 )
2023-01-01 16:30:53 -08:00
Patrick H. Lauke
1b39d1275b
Docs: Remove unnecessary id
/aria-labelledby
from accordion examples
...
Follow-up to https://github.com/twbs/bootstrap/pull/37718
2022-12-30 16:50:10 -08:00
Julien Déramond
4b12084a2a
Docs: enhance Focus ring example section desc
2022-12-30 16:48:07 -08:00
Mark Otto
9e17b2b34c
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>
2022-12-29 14:19:22 -08:00
Julien Déramond
1a043b55bc
Docs: enhance callouts links on dark mode
2022-12-29 13:32:09 -08:00
Mark Otto
dabc081f6f
Fix selector for dark mode navbar toggler SVG change
2022-12-29 12:46:15 -08:00
Julien Déramond
433558dec2
Docs: replace dark btns by primary ones from Button group docs to avoid issues in dark mode
2022-12-29 12:28:52 -08:00
Julien Déramond
31ee235638
Build(deps-dev): Bump sass-true from 6.1.0 to 7.0.0
2022-12-29 12:28:24 -08:00
Mark Otto
fabe074199
Darken some text emphasis and syntax colors
2022-12-29 12:28:02 -08:00
GeoSot
a9810ece61
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>
2022-12-29 12:11:01 -08:00
Julien Déramond
8befabbde9
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
2022-12-28 22:58:35 -08:00
Julien Déramond
baf5d4c4c1
Fix CSS variables mentioned in our docs
2022-12-28 22:17:16 -08:00
Mark Otto
7d9aa9d716
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
2022-12-28 21:55:54 -08:00
XhmikosR
97576345b1
Remove scorecards ( #37751 )
2022-12-28 23:49:57 +02:00
dependabot[bot]
406ab2abe6
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>
2022-12-28 23:45:07 +02:00
dependabot[bot]
6b9ed938f1
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>
2022-12-28 23:44:14 +02:00
dependabot[bot]
c4155c4f15
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>
2022-12-28 23:43:29 +02:00
Ben Koshy
752be8657d
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>
2022-12-28 13:19:55 -08:00
Hannah Issermann
a99234d528
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>
2022-12-28 13:19:34 -08:00
Mark Otto
5d9c09ccba
Add color-scheme to dark root selector
2022-12-28 13:00:36 -08:00
Teaca-Sebastian
f9827ac8d8
Update /#color-schemes to v5.3
2022-12-28 13:00:06 -08:00
Julien Déramond
993ad97fdc
Docs: handle light/dark mode in Algolia search modal ( #37738 )
...
* Docs: handle light/dark mode in Algolia search modal
* Improve scopes
2022-12-27 16:43:42 -08:00
Patrick H. Lauke
eb4819474d
Update colour contrast formula with new constant from WCAG 2.2 ( #37731 )
...
See https://github.com/w3c/wcag/pull/1780
Closes #37022
2022-12-27 14:13:38 +00:00
Julien Déramond
39c51aa3eb
Docs: change some title containing '&' to bypass Algolia issue
2022-12-26 15:36:16 -08:00
Mark Otto
6295d3ba36
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
2022-12-26 11:32:43 -08:00
Mark Dumay
98ebf3a336
Improve consistency of navbar icon declaration ( #37720 )
...
* Use $navbar-light-color instead of inline color
* Introduce separate $navbar-light-icon-color
2022-12-26 21:19:53 +02:00
Julien Déramond
21956ee6f4
Drop logo on homepage on mobile
2022-12-26 11:03:32 -08:00
Patrick H. Lauke
492187de64
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
2022-12-26 00:11:36 +00:00
XhmikosR
b613cfb58b
docs: improve social image partial ( #37717 )
...
* Fix social image URL to be absolute
* Deduplicate social.html
* Get image dimensions with Hugo
2022-12-25 18:14:27 +02:00
XhmikosR
d891159950
Make scss tests work on Windows too. ( #37713 )
...
Also, add missing `'use strict'` statements; these aren't real modules.
2022-12-25 18:09:26 +02:00
XhmikosR
fa37da4d44
package.json: exclude scss test files ( #37712 )
2022-12-25 12:42:23 +02:00
XhmikosR
8ba98bc9f0
CI: test CSS after build ( #37714 )
2022-12-25 12:41:54 +02:00
XhmikosR
04edf521c6
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
2022-12-25 12:41:40 +02:00
dependabot[bot]
bae3260188
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>
2022-12-25 09:04:20 +02:00
Julien Déramond
9bd7228ed6
Remove some unused SVGs in Dropdowns example
2022-12-24 14:47:55 -08:00
Romaric Pascal
33ccbc23e3
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>
2022-12-24 14:29:20 -08:00
XhmikosR
cf9454caa0
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>
2022-12-24 18:37:22 +02:00
Julien Déramond
41f62c5a11
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>
2022-12-21 08:52:07 +02:00
Mark Otto
f6687e99b5
Follow up
2022-12-20 14:25:36 -08:00
Mark Otto
cf3c1535e6
Update docs and package information to clarify license
2022-12-20 14:24:43 -08:00
jonnysp
efce829777
Update _variables.scss
2022-12-20 12:57:29 -08:00
Julien Déramond
57228a6b65
Docs: fix typo for Sass vars references in Customize > Color modes > Building with Sass
2022-12-20 12:55:10 -08:00
dependabot[bot]
015f06fd52
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>
2022-12-20 22:03:48 +02:00
dependabot[bot]
4b0e9695c7
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>
2022-12-20 21:51:02 +02:00
dependabot[bot]
9d87865d3c
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>
2022-12-20 21:50:20 +02:00
dependabot[bot]
622008310c
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>
2022-12-20 21:49:33 +02:00
dependabot[bot]
6a8d6c0dc7
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>
2022-12-20 21:46:42 +02:00
dependabot[bot]
51ba329046
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>
2022-12-20 21:45:51 +02:00
XhmikosR
ef75dfdd23
README.md: add logos to badges ( #37664 )
2022-12-20 21:43:43 +02:00
Louis-Maxime Piton
33dd82448c
Docs: remove Webpack reference in Parcel guide ( #37670 )
2022-12-19 18:34:18 +01:00