@primer/primitives 7.10.0 → 7.11.0-rc.ecbdb39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/build.js +2 -2
- package/dist/color-contrast-check.json +1 -1
- package/dist/js/colors/dark.d.ts +0 -13
- package/dist/js/colors/dark.js +1 -14
- package/dist/js/colors/dark_colorblind.d.ts +0 -13
- package/dist/js/colors/dark_colorblind.js +1 -14
- package/dist/js/colors/dark_dimmed.d.ts +0 -13
- package/dist/js/colors/dark_dimmed.js +1 -14
- package/dist/js/colors/dark_high_contrast.d.ts +0 -13
- package/dist/js/colors/dark_high_contrast.js +1 -14
- package/dist/js/colors/dark_tritanopia.d.ts +0 -13
- package/dist/js/colors/dark_tritanopia.js +1 -14
- package/dist/js/colors/index.d.ts +0 -117
- package/dist/js/colors/light.d.ts +0 -13
- package/dist/js/colors/light.js +1 -14
- package/dist/js/colors/light_colorblind.d.ts +0 -13
- package/dist/js/colors/light_colorblind.js +1 -14
- package/dist/js/colors/light_high_contrast.d.ts +0 -13
- package/dist/js/colors/light_high_contrast.js +1 -14
- package/dist/js/colors/light_tritanopia.d.ts +0 -13
- package/dist/js/colors/light_tritanopia.js +1 -14
- package/dist/js/index.d.ts +0 -117
- package/dist/json/colors/dark.json +1 -14
- package/dist/json/colors/dark_colorblind.json +1 -14
- package/dist/json/colors/dark_dimmed.json +1 -14
- package/dist/json/colors/dark_high_contrast.json +1 -14
- package/dist/json/colors/dark_tritanopia.json +1 -14
- package/dist/json/colors/light.json +1 -14
- package/dist/json/colors/light_colorblind.json +1 -14
- package/dist/json/colors/light_high_contrast.json +1 -14
- package/dist/json/colors/light_tritanopia.json +1 -14
- package/dist/removed/colors.json +13 -2
- package/dist/scss/colors/_dark.scss +0 -13
- package/dist/scss/colors/_dark_colorblind.scss +0 -13
- package/dist/scss/colors/_dark_dimmed.scss +0 -13
- package/dist/scss/colors/_dark_high_contrast.scss +0 -13
- package/dist/scss/colors/_dark_tritanopia.scss +0 -13
- package/dist/scss/colors/_light.scss +0 -13
- package/dist/scss/colors/_light_colorblind.scss +0 -13
- package/dist/scss/colors/_light_high_contrast.scss +0 -13
- package/dist/scss/colors/_light_tritanopia.scss +0 -13
- package/dist/ts/colors/dark.ts +1 -14
- package/dist/ts/colors/dark_colorblind.ts +1 -14
- package/dist/ts/colors/dark_dimmed.ts +1 -14
- package/dist/ts/colors/dark_high_contrast.ts +1 -14
- package/dist/ts/colors/dark_tritanopia.ts +1 -14
- package/dist/ts/colors/light.ts +1 -14
- package/dist/ts/colors/light_colorblind.ts +1 -14
- package/dist/ts/colors/light_high_contrast.ts +1 -14
- package/dist/ts/colors/light_tritanopia.ts +1 -14
- package/package.json +14 -4
- package/tokens/base/color/dark/dark.dimmed.json5 +128 -0
- package/tokens/base/color/dark/dark.high-contrast.json5 +128 -0
- package/tokens/base/color/dark/dark.json5 +133 -0
- package/tokens/base/color/dark/dark.protanopia-deuteranopia.json5 +48 -0
- package/tokens/base/color/dark/dark.tritanopia.json5 +96 -0
- package/tokens/base/color/light/light.high-contrast.json5 +394 -0
- package/tokens/base/color/light/light.json5 +403 -0
- package/tokens/base/color/light/light.protanopia-deuteranopia.json5 +138 -0
- package/tokens/base/color/light/light.tritanopia.json5 +96 -0
- package/tokens/functional/border/dark.json5 +12 -0
- package/tokens/functional/border/light.json5 +12 -0
- package/tokens/functional/color/{ansi-dark.json → dark/ansi-dark.json5} +0 -0
- package/tokens/functional/color/{checks-dark.json → dark/checks-dark.json5} +0 -0
- package/tokens/functional/color/{components-dark.json → dark/components-dark.json5} +0 -0
- package/tokens/functional/color/{diff-dark.json → dark/diff-dark.json5} +0 -0
- package/tokens/functional/color/{marketing-dark.json → dark/marketing-dark.json5} +0 -0
- package/tokens/functional/color/{misc-dark.json → dark/misc-dark.json5} +0 -0
- package/tokens/functional/color/dark/overrides/dark.dimmed.json5 +17 -0
- package/tokens/functional/color/{exceptions-dark-high-contrast.json → dark/overrides/dark.high-contrast.json5} +5 -0
- package/tokens/functional/color/dark/overrides/dark.protanopia-deuteranopia.json5 +50 -0
- package/tokens/functional/color/dark/overrides/dark.tritanopia.json5 +49 -0
- package/tokens/functional/color/{primitives-dark.json → dark/primitives-dark.json5} +0 -0
- package/tokens/functional/color/{syntax-dark.json → dark/syntax-dark.json5} +0 -0
- package/tokens/functional/color/{ansi-light.json → light/ansi-light.json5} +0 -0
- package/tokens/functional/color/{checks-light.json → light/checks-light.json5} +0 -0
- package/tokens/functional/color/{components-light.json → light/components-light.json5} +0 -0
- package/tokens/functional/color/{diff-light.json → light/diff-light.json5} +0 -0
- package/tokens/functional/color/{marketing-light.json → light/marketing-light.json5} +0 -0
- package/tokens/functional/color/{misc-light.json → light/misc-light.json5} +0 -0
- package/tokens/functional/color/light/overrides/light.high-contrast.json5 +332 -0
- package/tokens/functional/color/light/overrides/light.protanopia-deuteranopia.json5 +92 -0
- package/tokens/functional/color/light/overrides/light.tritanopia.json5 +92 -0
- package/tokens/functional/color/{primitives-light.json → light/primitives-light.json5} +0 -0
- package/tokens/functional/color/{syntax-light.json → light/syntax-light.json5} +0 -0
- package/tokens/functional/color/scales.json5 +493 -0
- package/tokens/functional/shadow/dark.json5 +93 -0
- package/tokens/functional/shadow/light.json5 +100 -0
- package/tokens/functional/size/border.json +8 -0
- package/tokens/functional/typography/typography.json +2 -2
- package/tokens-v2-private/css/tokens/base/size/size.css +1 -1
- package/tokens-v2-private/css/tokens/base/typography/typography.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/border.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/breakpoints.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/size-coarse.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/size-fine.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/size.css +1 -1
- package/tokens-v2-private/css/tokens/functional/typography/typography.css +3 -3
- package/tokens-v2-private/docs/docValues.json +12 -12
- package/tokens-v2-private/js/module/tokens/base/size/size.js +1 -1
- package/tokens-v2-private/js/module/tokens/base/typography/typography.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/border.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/breakpoints.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/size-coarse.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/size-fine.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/size.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/viewport.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/typography/typography.js +13 -13
- package/tokens-v2-private/js/tokens/base/size/size.js +1 -1
- package/tokens-v2-private/js/tokens/base/typography/typography.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/border.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/breakpoints.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/size-coarse.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/size-fine.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/size.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/viewport.js +1 -1
- package/tokens-v2-private/js/tokens/functional/typography/typography.js +11 -11
- package/tokens-v2-private/scss/tokens/base/size/size.scss +1 -1
- package/tokens-v2-private/scss/tokens/base/typography/typography.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/size/border.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/size/breakpoints.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/size/size-coarse.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/size/size-fine.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/size/size.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/size/viewport.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/typography/typography.scss +3 -3
- package/tokens-v2-private/ts/tokens/base/size/size.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/base/size/size.js +1 -1
- package/tokens-v2-private/ts/tokens/base/typography/typography.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/base/typography/typography.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/border.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/border.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/breakpoints.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/breakpoints.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size-coarse.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size-coarse.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size-fine.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size-fine.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/viewport.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/viewport.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/typography/typography.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/typography/typography.js +11 -11
- package/tokens/base/color/dark-colorblind.json +0 -44
- package/tokens/base/color/dark-dimmed.json +0 -124
- package/tokens/base/color/dark-high-contrast.json +0 -124
- package/tokens/base/color/dark-tritanopia.json +0 -92
- package/tokens/base/color/dark.json +0 -129
- package/tokens/base/color/light-colorblind.json +0 -134
- package/tokens/base/color/light-high-contrast.json +0 -390
- package/tokens/base/color/light-tritanopia.json +0 -92
- package/tokens/base/color/light.json +0 -399
- package/tokens/functional/color/exceptions-dark-colorblind.json +0 -45
- package/tokens/functional/color/exceptions-dark-dimmed.json +0 -12
- package/tokens/functional/color/exceptions-dark-tritanopia.json +0 -44
- package/tokens/functional/color/exceptions-light-colorblind.json +0 -87
- package/tokens/functional/color/exceptions-light-high-contrast.json +0 -327
- package/tokens/functional/color/exceptions-light-tritanopia.json +0 -87
- package/tokens/functional/color/scales.json +0 -582
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @primer/primitives
|
|
2
2
|
|
|
3
|
+
## 7.11.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#385](https://github.com/primer/primitives/pull/385) [`e03c7fd`](https://github.com/primer/primitives/commit/e03c7fd8a6d902e8d7784fd889acb3779236ba51) Thanks [@simurai](https://github.com/simurai)! - Add `Noto Sans` to the font stack
|
|
8
|
+
|
|
9
|
+
* [#384](https://github.com/primer/primitives/pull/384) [`8b76794`](https://github.com/primer/primitives/commit/8b767947e35a79db17b9d7970836f03c904c8afe) Thanks [@langermank](https://github.com/langermank)! - - Remove deprecated focus color tokens in favor of "global" styles from Primer CSS
|
|
10
|
+
|
|
3
11
|
## 7.10.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
package/build.js
CHANGED
|
@@ -488,7 +488,7 @@ function _init() {
|
|
|
488
488
|
const outputPath = 'tokens-v2-private'
|
|
489
489
|
//build all tokens
|
|
490
490
|
buildPrimitives({
|
|
491
|
-
source: [`tokens/**/*.json`, `!tokens/**/size-*.json`, `!tokens/**/color/*.json`],
|
|
491
|
+
source: [`tokens/**/*.json`, `!tokens/**/size-*.json`, `!tokens/**/color/*.json`, `!tokens/**/shadow/*.json`],
|
|
492
492
|
outputPath
|
|
493
493
|
})
|
|
494
494
|
|
|
@@ -547,7 +547,7 @@ function _init() {
|
|
|
547
547
|
|
|
548
548
|
//build docs data
|
|
549
549
|
buildPrimitives({
|
|
550
|
-
source: [`tokens/**/*.json`, `!tokens/**/color/*.json`],
|
|
550
|
+
source: [`tokens/**/*.json`, `!tokens/**/color/*.json`, `!tokens/**/shadow/*.json`],
|
|
551
551
|
outputPath,
|
|
552
552
|
platforms: {
|
|
553
553
|
docs: {
|