@primer/primitives 7.16.0-rc.fe16fd19 → 7.16.0
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/dist/css/functional/typography/typography.css +9 -9
- package/package.json +7 -8
- package/tokens-next-private/css/functional/typography/typography.css +9 -9
- 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
|
@@ -24,15 +24,15 @@
|
|
|
24
24
|
--fontStack-monospace: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
|
|
25
25
|
--fontStack-sansSerif: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
|
|
26
26
|
--fontStack-system: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
|
|
27
|
-
--text-codeInline-weight:
|
|
28
|
-
--text-codeBlock-weight:
|
|
29
|
-
--text-caption-weight:
|
|
30
|
-
--text-body-weight:
|
|
31
|
-
--text-subtitle-weight:
|
|
32
|
-
--text-title-weight-small:
|
|
33
|
-
--text-title-weight-medium:
|
|
34
|
-
--text-title-weight-large:
|
|
35
|
-
--text-display-weight:
|
|
27
|
+
--text-codeInline-weight: var(--base-text-weight-normal);
|
|
28
|
+
--text-codeBlock-weight: var(--base-text-weight-normal);
|
|
29
|
+
--text-caption-weight: var(--base-text-weight-normal);
|
|
30
|
+
--text-body-weight: var(--base-text-weight-normal);
|
|
31
|
+
--text-subtitle-weight: var(--base-text-weight-normal);
|
|
32
|
+
--text-title-weight-small: var(--base-text-weight-semibold);
|
|
33
|
+
--text-title-weight-medium: var(--base-text-weight-semibold);
|
|
34
|
+
--text-title-weight-large: var(--base-text-weight-semibold);
|
|
35
|
+
--text-display-weight: var(--base-text-weight-medium);
|
|
36
36
|
--text-codeInline-shorthand: var(--text-codeInline-weight) var(--text-codeInline-size) var(--fontStack-monospace);
|
|
37
37
|
--text-codeBlock-shorthand: var(--text-codeBlock-weight) var(--text-codeBlock-size)/var(--text-codeBlock-lineHeight) var(--fontStack-monospace);
|
|
38
38
|
--text-caption-shorthand: var(--text-caption-weight) var(--text-caption-size)/var(--text-caption-lineHeight) var(--fontStack-sansSerif);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@primer/primitives",
|
|
3
|
-
"version": "7.16.0
|
|
3
|
+
"version": "7.16.0",
|
|
4
4
|
"description": "Typography, spacing, and color primitives for Primer design system",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"prebuild:tokens": "rm -rf tokens-v2-private",
|
|
47
47
|
"prebuild:next": "rm -rf tokens-next-private",
|
|
48
48
|
"prepack": "npm run build && npm run build:tokens && npm run build:next",
|
|
49
|
-
"prepare": "husky
|
|
49
|
+
"prepare": "husky",
|
|
50
50
|
"release": "changeset publish",
|
|
51
51
|
"start:storybook": "npm run build:next && cd docs/storybook && npm run storybook",
|
|
52
52
|
"test": "jest --verbose --coverage",
|
|
@@ -81,19 +81,18 @@
|
|
|
81
81
|
"eslint-plugin-react-hooks": "^4.4.0",
|
|
82
82
|
"eslint-plugin-storybook": "^0.6.15",
|
|
83
83
|
"flat": "^5.0.2",
|
|
84
|
-
"husky": "^
|
|
84
|
+
"husky": "^9.0.11",
|
|
85
85
|
"jest": "^29.6.1",
|
|
86
86
|
"json5": "^2.2.1",
|
|
87
87
|
"lodash": "^4.17.20",
|
|
88
88
|
"markdown-table-ts": "^1.0.3",
|
|
89
89
|
"mkdirp": "^3.0.1",
|
|
90
90
|
"prettier": "^2.7.1",
|
|
91
|
-
"style-dictionary": "^3.
|
|
91
|
+
"style-dictionary": "^3.9.2",
|
|
92
92
|
"ts-jest": "^29.1.1",
|
|
93
93
|
"ts-node": "^10.9.1",
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
"zod": "^3.
|
|
97
|
-
"zod-validation-error": "^1.5.0"
|
|
94
|
+
"typescript": "^5.4.4",
|
|
95
|
+
"zod": "^3.22.4",
|
|
96
|
+
"zod-validation-error": "^3.1.0"
|
|
98
97
|
}
|
|
99
98
|
}
|
|
@@ -24,15 +24,15 @@
|
|
|
24
24
|
--fontStack-monospace: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
|
|
25
25
|
--fontStack-sansSerif: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
|
|
26
26
|
--fontStack-system: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
|
|
27
|
-
--text-codeInline-weight:
|
|
28
|
-
--text-codeBlock-weight:
|
|
29
|
-
--text-caption-weight:
|
|
30
|
-
--text-body-weight:
|
|
31
|
-
--text-subtitle-weight:
|
|
32
|
-
--text-title-weight-small:
|
|
33
|
-
--text-title-weight-medium:
|
|
34
|
-
--text-title-weight-large:
|
|
35
|
-
--text-display-weight:
|
|
27
|
+
--text-codeInline-weight: var(--base-text-weight-normal);
|
|
28
|
+
--text-codeBlock-weight: var(--base-text-weight-normal);
|
|
29
|
+
--text-caption-weight: var(--base-text-weight-normal);
|
|
30
|
+
--text-body-weight: var(--base-text-weight-normal);
|
|
31
|
+
--text-subtitle-weight: var(--base-text-weight-normal);
|
|
32
|
+
--text-title-weight-small: var(--base-text-weight-semibold);
|
|
33
|
+
--text-title-weight-medium: var(--base-text-weight-semibold);
|
|
34
|
+
--text-title-weight-large: var(--base-text-weight-semibold);
|
|
35
|
+
--text-display-weight: var(--base-text-weight-medium);
|
|
36
36
|
--text-codeInline-shorthand: var(--text-codeInline-weight) var(--text-codeInline-size) var(--fontStack-monospace);
|
|
37
37
|
--text-codeBlock-shorthand: var(--text-codeBlock-weight) var(--text-codeBlock-size)/var(--text-codeBlock-lineHeight) var(--fontStack-monospace);
|
|
38
38
|
--text-caption-shorthand: var(--text-caption-weight) var(--text-caption-size)/var(--text-caption-lineHeight) var(--fontStack-sansSerif);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Tue, 09 Apr 2024
|
|
3
|
+
* Generated on Tue, 09 Apr 2024 14:38:52 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'";
|