@primer/primitives 7.11.0-rc.ede9aeb → 7.11.0-rc.efbf6d5
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 +35 -0
- package/README.md +2 -2
- package/dist/color-contrast-check.json +1 -1
- package/dist/deprecated/colors.json +7 -1
- package/package.json +11 -11
- 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.efbf6d5",
|
|
4
4
|
"description": "Typography, spacing, and color primitives for Primer design system",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -26,32 +26,33 @@
|
|
|
26
26
|
},
|
|
27
27
|
"homepage": "https://github.com/primer/primitives#readme",
|
|
28
28
|
"scripts": {
|
|
29
|
-
"build": "ts-node ./
|
|
30
|
-
"build:
|
|
29
|
+
"build": "ts-node ./scripts/build.ts && tsc --project tsconfig.build.json",
|
|
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
|
+
"contrast-check": "npx ts-node ./scripts/color-contrast.ts",
|
|
33
34
|
"format": "prettier --write '**/*.{js,jsx,ts,tsx,md,mdx,css}'",
|
|
34
35
|
"format:check": "prettier --check '**/*.{js,jsx,ts,tsx,md,mdx,css}'",
|
|
36
|
+
"install:docs": "cd docs && yarn",
|
|
35
37
|
"install:storybook": "cd docs/storybook && npm install",
|
|
36
38
|
"lint": "eslint '**/*.{js,ts,tsx,md,mdx}' --max-warnings=0 --config .eslintrc.js",
|
|
37
39
|
"lint:fix": "eslint '**/*.{js,ts,tsx,md,mdx}' --fix --max-warnings=0 --config .eslintrc.js",
|
|
38
|
-
"postbuild": "ts-node ./
|
|
40
|
+
"postbuild": "ts-node ./scripts/color-contrast.ts",
|
|
39
41
|
"prebuild": "rm -rf dist",
|
|
40
42
|
"prebuild:tokens": "rm -rf tokens-v2-private",
|
|
41
|
-
"prebuild:
|
|
43
|
+
"prebuild:v3": "rm -rf tokens-v3-private",
|
|
42
44
|
"prepack": "yarn build && yarn build:tokens",
|
|
43
|
-
"prepare": "husky install &&
|
|
45
|
+
"prepare": "husky install && yarn install:docs && yarn install:storybook",
|
|
44
46
|
"release": "changeset publish",
|
|
45
|
-
"start:storybook": "npm run build:
|
|
47
|
+
"start:storybook": "npm run build:v3 && cd docs/storybook && npm run storybook",
|
|
46
48
|
"test": "jest --verbose --coverage",
|
|
47
|
-
"watch": "ls data/**/*.scss
|
|
49
|
+
"watch": "ls data/**/*.scss scripts/**/*.ts | entr -s 'yarn build'"
|
|
48
50
|
},
|
|
49
51
|
"prettier": "@github/prettier-config",
|
|
50
52
|
"devDependencies": {
|
|
51
53
|
"@changesets/changelog-github": "^0.3.0",
|
|
52
54
|
"@changesets/cli": "^2.22.0",
|
|
53
55
|
"@github/prettier-config": "^0.0.6",
|
|
54
|
-
"@types/chalk": "^2.2.0",
|
|
55
56
|
"@types/flat": "^5.0.1",
|
|
56
57
|
"@types/fs-extra": "^9.0.13",
|
|
57
58
|
"@types/jest": "^29.1.2",
|
|
@@ -61,7 +62,6 @@
|
|
|
61
62
|
"@typescript-eslint/eslint-plugin": "^5.45.0",
|
|
62
63
|
"@typescript-eslint/parser": "^5.45.0",
|
|
63
64
|
"camelcase-keys": "^6.2.2",
|
|
64
|
-
"chalk": "^4.1.0",
|
|
65
65
|
"color-blend": "^4.0.0",
|
|
66
66
|
"color2k": "^2.0.0",
|
|
67
67
|
"console-table-printer": "^2.11.1",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Fri, 20 Jan 2023 08:30:44 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'";
|