@helloimjolopez-pathway/pathway-tokens 9.0.1 → 10.0.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/README.md +1 -1
- package/components/sidenav/sidenav.jsx +1 -1
- package/dist/README.md +12 -12
- package/dist/brands/newco/index.css +9 -0
- package/dist/brands/newco/layout-contextual.css +42 -0
- package/dist/brands/newco/primitives.css +435 -0
- package/dist/brands/newco/themes/dark.css +212 -0
- package/dist/brands/newco/themes/light.css +212 -0
- package/dist/brands/newco/tokens.js +9836 -0
- package/dist/breakpoints.css +2 -2
- package/dist/contract.json +138 -31
- package/dist/index.css +14 -0
- package/dist/layout-contextual.css +25 -24
- package/dist/layout-responsive.css +17 -9
- package/dist/layout.css +44 -8
- package/dist/motion.css +8 -4
- package/dist/primitives.css +363 -168
- package/dist/themes/light.css +174 -107
- package/dist/themes/midnight.css +201 -134
- package/dist/tokens.js +9492 -5119
- package/dist/tokens.json +9011 -3443
- package/dist/type.css +2 -4
- package/package.json +12 -4
package/dist/type.css
CHANGED
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
font-size: var(--semantic-type-font-size-m);
|
|
13
13
|
font-weight: var(--semantic-type-weight-semibold);
|
|
14
14
|
line-height: var(--semantic-type-line-height-m-single);
|
|
15
|
-
letter-spacing: var(--semantic-type-letter-spacing-
|
|
15
|
+
letter-spacing: var(--semantic-type-letter-spacing-wide);
|
|
16
16
|
|
|
17
17
|
The 111 named styles still exist as Figma text styles, which is where a
|
|
18
18
|
designer applies them.
|
|
19
19
|
|
|
20
|
-
Declares
|
|
20
|
+
Declares 39 custom properties.
|
|
21
21
|
Generated — do not edit. Run `npm run build-tokens`.
|
|
22
22
|
==========================================================================
|
|
23
23
|
*/
|
|
@@ -36,7 +36,6 @@
|
|
|
36
36
|
--semantic-type-font-size-xxs: 11px;
|
|
37
37
|
--semantic-type-font-size-xxxl: 36px;
|
|
38
38
|
--semantic-type-font-size-xxxs: 10px;
|
|
39
|
-
--semantic-type-letter-spacing-compact: 0px;
|
|
40
39
|
--semantic-type-letter-spacing-extraspacious: 0.6px;
|
|
41
40
|
--semantic-type-letter-spacing-spacious: 0.3px;
|
|
42
41
|
--semantic-type-letter-spacing-wide: 0.1px;
|
|
@@ -59,7 +58,6 @@
|
|
|
59
58
|
--semantic-type-line-height-xxxs-single: 14px;
|
|
60
59
|
--semantic-type-line-height-xxxs-tight: 12px;
|
|
61
60
|
--semantic-type-weight-bold: 700;
|
|
62
|
-
--semantic-type-weight-light: 300;
|
|
63
61
|
--semantic-type-weight-medium: 500;
|
|
64
62
|
--semantic-type-weight-regular: 400;
|
|
65
63
|
--semantic-type-weight-semibold: 600;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@helloimjolopez-pathway/pathway-tokens",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "10.0.0",
|
|
4
4
|
"description": "Pathway Design System tokens — CSS custom properties, JS export, and DTCG JSON",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|
|
@@ -28,7 +28,14 @@
|
|
|
28
28
|
"./type.css": "./dist/type.css",
|
|
29
29
|
"./contract.json": "./dist/contract.json",
|
|
30
30
|
"./README.md": "./dist/README.md",
|
|
31
|
-
"./layout-responsive.css": "./dist/layout-responsive.css"
|
|
31
|
+
"./layout-responsive.css": "./dist/layout-responsive.css",
|
|
32
|
+
"./brands/newco/primitives.css": "./dist/brands/newco/primitives.css",
|
|
33
|
+
"./brands/newco/themes/light.css": "./dist/brands/newco/themes/light.css",
|
|
34
|
+
"./brands/newco/themes/dark.css": "./dist/brands/newco/themes/dark.css",
|
|
35
|
+
"./brands/newco/layout-contextual.css": "./dist/brands/newco/layout-contextual.css",
|
|
36
|
+
"./css": "./dist/index.css",
|
|
37
|
+
"./brands/newco/css": "./dist/brands/newco/index.css",
|
|
38
|
+
"./brands/newco": "./dist/brands/newco/tokens.js"
|
|
32
39
|
},
|
|
33
40
|
"peerDependencies": {
|
|
34
41
|
"react": ">=18",
|
|
@@ -55,7 +62,7 @@
|
|
|
55
62
|
"fix-tokens": "node scripts/fix-tokens.js",
|
|
56
63
|
"fix-tokens-preview": "node scripts/fix-tokens.js --dry-run",
|
|
57
64
|
"build-tokens": "node scripts/sync-motion-tokens.js && node style-dictionary.config.js && node scripts/stamp-headers.js",
|
|
58
|
-
"build-dist": "node scripts/sync-motion-tokens.js && node style-dictionary.config.js && node scripts/stamp-headers.js && node scripts/check-demo-tokens.js && node scripts/check-token-refs.js && node scripts/check-token-names.js && node scripts/check-state-distinctness.js && node scripts/check-ladder-order.js && node scripts/check-variant-distinctness.js && node scripts/check-fill-foreground-pairs.js && node scripts/check-story-yield.js && node scripts/build-dist.js && node scripts/build-contract.js && npm run build-elements",
|
|
65
|
+
"build-dist": "node scripts/sync-motion-tokens.js && node style-dictionary.config.js && node scripts/stamp-headers.js && node scripts/check-demo-tokens.js && node scripts/check-token-refs.js && node scripts/check-token-names.js && node scripts/check-state-distinctness.js && node scripts/check-ladder-order.js && node scripts/check-variant-distinctness.js && node scripts/check-fill-foreground-pairs.js && node scripts/check-story-yield.js && node scripts/build-dist.js && node scripts/build-index.js && node scripts/build-contract.js && npm run build-elements",
|
|
59
66
|
"storybook": "node style-dictionary.config.js && storybook dev -p 6006",
|
|
60
67
|
"build-storybook": "storybook build",
|
|
61
68
|
"check-demo-tokens": "node scripts/check-demo-tokens.js",
|
|
@@ -72,7 +79,8 @@
|
|
|
72
79
|
"check-story-yield": "node scripts/check-story-yield.js",
|
|
73
80
|
"stamp-headers": "node scripts/stamp-headers.js",
|
|
74
81
|
"check-headers": "node scripts/stamp-headers.js --check",
|
|
75
|
-
"build-contract": "node scripts/build-contract.js"
|
|
82
|
+
"build-contract": "node scripts/build-contract.js",
|
|
83
|
+
"build-index": "node scripts/build-index.js"
|
|
76
84
|
},
|
|
77
85
|
"devDependencies": {
|
|
78
86
|
"@babel/preset-env": "^7.29.2",
|