@primer/primitives 7.11.0-rc.1fa458e → 7.11.0-rc.2beb336
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/README.md +2 -2
- package/package.json +6 -6
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/tokens/base/color/dark/dark.dimmed.json5 +0 -128
- package/tokens/base/color/dark/dark.high-contrast.json5 +0 -128
- package/tokens/base/color/dark/dark.json5 +0 -133
- package/tokens/base/color/dark/dark.protanopia-deuteranopia.json5 +0 -48
- package/tokens/base/color/dark/dark.tritanopia.json5 +0 -96
- package/tokens/base/color/light/light.high-contrast.json5 +0 -394
- package/tokens/base/color/light/light.json5 +0 -403
- package/tokens/base/color/light/light.protanopia-deuteranopia.json5 +0 -138
- package/tokens/base/color/light/light.tritanopia.json5 +0 -96
- package/tokens/functional/border/dark.json5 +0 -12
- package/tokens/functional/border/light.json5 +0 -12
- package/tokens/functional/color/dark/ansi-dark.json5 +0 -74
- package/tokens/functional/color/dark/checks-dark.json5 +0 -289
- package/tokens/functional/color/dark/components-dark.json5 +0 -556
- package/tokens/functional/color/dark/diff-dark.json5 +0 -78
- package/tokens/functional/color/dark/marketing-dark.json5 +0 -24
- package/tokens/functional/color/dark/misc-dark.json5 +0 -38
- package/tokens/functional/color/dark/overrides/dark.dimmed.json5 +0 -17
- package/tokens/functional/color/dark/overrides/dark.high-contrast.json5 +0 -276
- package/tokens/functional/color/dark/overrides/dark.protanopia-deuteranopia.json5 +0 -50
- package/tokens/functional/color/dark/overrides/dark.tritanopia.json5 +0 -49
- package/tokens/functional/color/dark/primitives-dark.json5 +0 -322
- package/tokens/functional/color/dark/syntax-dark.json5 +0 -208
- package/tokens/functional/color/light/ansi-light.json5 +0 -74
- package/tokens/functional/color/light/checks-light.json5 +0 -296
- package/tokens/functional/color/light/components-light.json5 +0 -469
- package/tokens/functional/color/light/diff-light.json5 +0 -76
- package/tokens/functional/color/light/marketing-light.json5 +0 -24
- package/tokens/functional/color/light/misc-light.json5 +0 -37
- package/tokens/functional/color/light/overrides/light.high-contrast.json5 +0 -332
- package/tokens/functional/color/light/overrides/light.protanopia-deuteranopia.json5 +0 -92
- package/tokens/functional/color/light/overrides/light.tritanopia.json5 +0 -92
- package/tokens/functional/color/light/primitives-light.json5 +0 -313
- package/tokens/functional/color/light/syntax-light.json5 +0 -208
- package/tokens/functional/color/scales.json5 +0 -493
- package/tokens/functional/shadow/dark.json5 +0 -93
- package/tokens/functional/shadow/light.json5 +0 -100
package/README.md
CHANGED
|
@@ -63,7 +63,7 @@ When you're ready to remove a variable, first remove it's definitions:
|
|
|
63
63
|
|
|
64
64
|
```diff
|
|
65
65
|
// data/colors/vars/global_light.ts
|
|
66
|
-
import {get} from '../../../src/utils'
|
|
66
|
+
import {get} from '../../../src/utils-v1'
|
|
67
67
|
|
|
68
68
|
export default {
|
|
69
69
|
text: {
|
|
@@ -75,7 +75,7 @@ export default {
|
|
|
75
75
|
|
|
76
76
|
```diff
|
|
77
77
|
// data/colors/vars/global_dark.ts
|
|
78
|
-
import {get} from '../../../src/utils'
|
|
78
|
+
import {get} from '../../../src/utils-v1'
|
|
79
79
|
|
|
80
80
|
export default {
|
|
81
81
|
text: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@primer/primitives",
|
|
3
|
-
"version": "7.11.0-rc.
|
|
3
|
+
"version": "7.11.0-rc.2beb336",
|
|
4
4
|
"description": "Typography, spacing, and color primitives for Primer design system",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
"homepage": "https://github.com/primer/primitives#readme",
|
|
28
28
|
"scripts": {
|
|
29
29
|
"build": "ts-node ./scripts/build.ts && tsc --project tsconfig.build.json",
|
|
30
|
-
"build:
|
|
30
|
+
"build:v3": "ts-node -r tsconfig-paths/register ./scripts/buildV3.ts",
|
|
31
31
|
"build:tokens": "node -e \"require('./build')._init()\"",
|
|
32
|
-
"build:new-tokens": "npm run build:tokens && npm run build:
|
|
32
|
+
"build:new-tokens": "npm run build:tokens && npm run build:v3",
|
|
33
33
|
"format": "prettier --write '**/*.{js,jsx,ts,tsx,md,mdx,css}'",
|
|
34
34
|
"format:check": "prettier --check '**/*.{js,jsx,ts,tsx,md,mdx,css}'",
|
|
35
35
|
"install:storybook": "cd docs/storybook && npm install",
|
|
@@ -38,13 +38,13 @@
|
|
|
38
38
|
"postbuild": "ts-node ./scripts/color-contrast.ts",
|
|
39
39
|
"prebuild": "rm -rf dist",
|
|
40
40
|
"prebuild:tokens": "rm -rf tokens-v2-private",
|
|
41
|
-
"prebuild:
|
|
41
|
+
"prebuild:v3": "rm -rf tokens-v3-private",
|
|
42
42
|
"prepack": "yarn build && yarn build:tokens",
|
|
43
43
|
"prepare": "husky install && npm run install:storybook",
|
|
44
44
|
"release": "changeset publish",
|
|
45
|
-
"start:storybook": "npm run build:
|
|
45
|
+
"start:storybook": "npm run build:v3 && cd docs/storybook && npm run storybook",
|
|
46
46
|
"test": "jest --verbose --coverage",
|
|
47
|
-
"watch": "ls data/**/*.scss
|
|
47
|
+
"watch": "ls data/**/*.scss scripts/**/*.ts | entr -s 'yarn build'"
|
|
48
48
|
},
|
|
49
49
|
"prettier": "@github/prettier-config",
|
|
50
50
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 15 Dec 2022 12:21:15 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
export const PrimerFontStackSystem = "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'";
|