@primer/primitives 7.11.0-rc.16adf33 → 7.11.0-rc.1fa458e
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/build.js +68 -68
- package/dist/color-contrast-check.json +1 -1
- package/package.json +5 -7
- 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.1fa458e",
|
|
4
4
|
"description": "Typography, spacing, and color primitives for Primer design system",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
},
|
|
27
27
|
"homepage": "https://github.com/primer/primitives#readme",
|
|
28
28
|
"scripts": {
|
|
29
|
-
"build": "ts-node ./
|
|
30
|
-
"build:color-tokens": "ts-node -r tsconfig-paths/register ./
|
|
29
|
+
"build": "ts-node ./scripts/build.ts && tsc --project tsconfig.build.json",
|
|
30
|
+
"build:color-tokens": "ts-node -r tsconfig-paths/register ./scripts/tempColorTokenBuild.ts",
|
|
31
31
|
"build:tokens": "node -e \"require('./build')._init()\"",
|
|
32
32
|
"build:new-tokens": "npm run build:tokens && npm run build:color-tokens",
|
|
33
33
|
"format": "prettier --write '**/*.{js,jsx,ts,tsx,md,mdx,css}'",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"install:storybook": "cd docs/storybook && npm install",
|
|
36
36
|
"lint": "eslint '**/*.{js,ts,tsx,md,mdx}' --max-warnings=0 --config .eslintrc.js",
|
|
37
37
|
"lint:fix": "eslint '**/*.{js,ts,tsx,md,mdx}' --fix --max-warnings=0 --config .eslintrc.js",
|
|
38
|
-
"postbuild": "ts-node ./
|
|
38
|
+
"postbuild": "ts-node ./scripts/color-contrast.ts",
|
|
39
39
|
"prebuild": "rm -rf dist",
|
|
40
40
|
"prebuild:tokens": "rm -rf tokens-v2-private",
|
|
41
41
|
"prebuild:color-tokens": "rm -rf tokens-v2-private/**/**/color",
|
|
@@ -48,10 +48,9 @@
|
|
|
48
48
|
},
|
|
49
49
|
"prettier": "@github/prettier-config",
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@actions/github": "^4.0.0",
|
|
52
51
|
"@changesets/changelog-github": "^0.3.0",
|
|
53
52
|
"@changesets/cli": "^2.22.0",
|
|
54
|
-
"@github/prettier-config": "^0.0.
|
|
53
|
+
"@github/prettier-config": "^0.0.6",
|
|
55
54
|
"@types/chalk": "^2.2.0",
|
|
56
55
|
"@types/flat": "^5.0.1",
|
|
57
56
|
"@types/fs-extra": "^9.0.13",
|
|
@@ -77,7 +76,6 @@
|
|
|
77
76
|
"eslint-plugin-react-hooks": "^4.4.0",
|
|
78
77
|
"eslint-plugin-storybook": "^0.5.12",
|
|
79
78
|
"flat": "^5.0.2",
|
|
80
|
-
"fs-extra": "^10.1.0",
|
|
81
79
|
"husky": "^8.0.1",
|
|
82
80
|
"jest": "29.3",
|
|
83
81
|
"json5": "^2.2.1",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Tue, 06 Dec 2022 14:26:30 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'";
|