@primer/primitives 7.11.0-rc.ecbdb39 → 7.11.0-rc.f7ccc99
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 +1 -1
- package/build.js +68 -68
- package/dist/color-contrast-check.json +1 -1
- package/package.json +15 -27
- 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/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.f7ccc99",
|
|
4
4
|
"description": "Typography, spacing, and color primitives for Primer design system",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -27,9 +27,12 @@
|
|
|
27
27
|
"homepage": "https://github.com/primer/primitives#readme",
|
|
28
28
|
"scripts": {
|
|
29
29
|
"build": "ts-node ./script/build.ts && tsc --project tsconfig.build.json",
|
|
30
|
+
"build:color-tokens": "ts-node -r tsconfig-paths/register ./script/tempColorTokenBuild.ts",
|
|
30
31
|
"build:tokens": "node -e \"require('./build')._init()\"",
|
|
32
|
+
"build:new-tokens": "npm run build:tokens && npm run build:color-tokens",
|
|
31
33
|
"format": "prettier --write '**/*.{js,jsx,ts,tsx,md,mdx,css}'",
|
|
32
34
|
"format:check": "prettier --check '**/*.{js,jsx,ts,tsx,md,mdx,css}'",
|
|
35
|
+
"install:storybook": "cd docs/storybook && npm install",
|
|
33
36
|
"lint": "eslint '**/*.{js,ts,tsx,md,mdx}' --max-warnings=0 --config .eslintrc.js",
|
|
34
37
|
"lint:fix": "eslint '**/*.{js,ts,tsx,md,mdx}' --fix --max-warnings=0 --config .eslintrc.js",
|
|
35
38
|
"postbuild": "ts-node ./script/color-contrast.ts",
|
|
@@ -37,42 +40,31 @@
|
|
|
37
40
|
"prebuild:tokens": "rm -rf tokens-v2-private",
|
|
38
41
|
"prebuild:color-tokens": "rm -rf tokens-v2-private/**/**/color",
|
|
39
42
|
"prepack": "yarn build && yarn build:tokens",
|
|
40
|
-
"prepare": "husky install",
|
|
43
|
+
"prepare": "husky install && npm run install:storybook",
|
|
41
44
|
"release": "changeset publish",
|
|
42
|
-
"build:color-tokens": "ts-node -r tsconfig-paths/register ./script/tempColorTokenBuild.ts",
|
|
43
|
-
"test": "jest --verbose --coverage",
|
|
44
|
-
"watch": "ls data/**/*.scss script/**/*.ts | entr -s 'yarn build'",
|
|
45
45
|
"start:storybook": "npm run build:color-tokens && cd docs/storybook && npm run storybook",
|
|
46
|
-
"
|
|
46
|
+
"test": "jest --verbose --coverage",
|
|
47
|
+
"watch": "ls data/**/*.scss script/**/*.ts | entr -s 'yarn build'"
|
|
47
48
|
},
|
|
48
49
|
"prettier": "@github/prettier-config",
|
|
49
50
|
"devDependencies": {
|
|
50
|
-
"@actions/core": "^1.2.7",
|
|
51
|
-
"@actions/github": "^4.0.0",
|
|
52
|
-
"@babel/parser": "^7.15.3",
|
|
53
|
-
"@babel/traverse": "^7.15.0",
|
|
54
|
-
"@babel/types": "^7.15.0",
|
|
55
51
|
"@changesets/changelog-github": "^0.3.0",
|
|
56
52
|
"@changesets/cli": "^2.22.0",
|
|
57
|
-
"@github/prettier-config": "^0.0.
|
|
58
|
-
"@octokit/rest": "^18.5.3",
|
|
59
|
-
"@types/babel__traverse": "^7.14.2",
|
|
53
|
+
"@github/prettier-config": "^0.0.6",
|
|
60
54
|
"@types/chalk": "^2.2.0",
|
|
61
55
|
"@types/flat": "^5.0.1",
|
|
62
56
|
"@types/fs-extra": "^9.0.13",
|
|
63
57
|
"@types/jest": "^29.1.2",
|
|
64
58
|
"@types/lodash": "^4.14.163",
|
|
65
59
|
"@types/mkdirp": "^1.0.1",
|
|
66
|
-
"@types/node": "^14.
|
|
67
|
-
"@
|
|
68
|
-
"@typescript-eslint/
|
|
69
|
-
"@typescript-eslint/parser": "^5.17.0",
|
|
60
|
+
"@types/node": "^14.18.34",
|
|
61
|
+
"@typescript-eslint/eslint-plugin": "^5.45.0",
|
|
62
|
+
"@typescript-eslint/parser": "^5.45.0",
|
|
70
63
|
"camelcase-keys": "^6.2.2",
|
|
71
64
|
"chalk": "^4.1.0",
|
|
72
65
|
"color-blend": "^4.0.0",
|
|
73
|
-
"color2k": "^
|
|
66
|
+
"color2k": "^2.0.0",
|
|
74
67
|
"console-table-printer": "^2.11.1",
|
|
75
|
-
"deep-shape-equals": "^0.1.2",
|
|
76
68
|
"deepmerge": "^4.2.2",
|
|
77
69
|
"eslint": "^8.12.0",
|
|
78
70
|
"eslint-import-resolver-typescript": "^2.7.0",
|
|
@@ -84,20 +76,16 @@
|
|
|
84
76
|
"eslint-plugin-react-hooks": "^4.4.0",
|
|
85
77
|
"eslint-plugin-storybook": "^0.5.12",
|
|
86
78
|
"flat": "^5.0.2",
|
|
87
|
-
"fs-extra": "^10.1.0",
|
|
88
79
|
"husky": "^8.0.1",
|
|
89
|
-
"jest": "
|
|
80
|
+
"jest": "29.3",
|
|
90
81
|
"json5": "^2.2.1",
|
|
91
82
|
"lodash": "^4.17.20",
|
|
92
83
|
"mkdirp": "^1.0.4",
|
|
93
|
-
"node-sass": "^7.0.0",
|
|
94
84
|
"prettier": "^2.7.1",
|
|
95
|
-
"react": "^17.0.2",
|
|
96
|
-
"sass-extract": "^2.1.0",
|
|
97
85
|
"style-dictionary": "3.7.1",
|
|
98
86
|
"ts-jest": "^29.0.3",
|
|
99
|
-
"ts-node": "^
|
|
87
|
+
"ts-node": "^10.9.1",
|
|
100
88
|
"tsconfig-paths": "^4.1.0",
|
|
101
|
-
"typescript": "^4.
|
|
89
|
+
"typescript": "^4.9.3"
|
|
102
90
|
}
|
|
103
91
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Tue, 06 Dec 2022 13:48:57 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'";
|