@phcdevworks/spectre-tokens 4.10.0 → 4.11.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 +52 -17
- package/dist/index.cjs +34 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +41 -3
- package/dist/index.d.cts +23 -0
- package/dist/index.d.ts +23 -0
- package/dist/index.js +34 -2
- package/dist/index.js.map +1 -1
- package/dist/tokens.dtcg.json +32 -0
- package/package.json +5 -4
- package/tokens/modes.json +38 -0
package/dist/tokens.dtcg.json
CHANGED
|
@@ -2580,6 +2580,22 @@
|
|
|
2580
2580
|
}
|
|
2581
2581
|
}
|
|
2582
2582
|
},
|
|
2583
|
+
"forms": {
|
|
2584
|
+
"default": {
|
|
2585
|
+
"bg": {
|
|
2586
|
+
"$value": "{colors.white}",
|
|
2587
|
+
"$type": "color"
|
|
2588
|
+
},
|
|
2589
|
+
"text": {
|
|
2590
|
+
"$value": "{colors.neutral.900}",
|
|
2591
|
+
"$type": "color"
|
|
2592
|
+
},
|
|
2593
|
+
"placeholder": {
|
|
2594
|
+
"$value": "{colors.neutral.500}",
|
|
2595
|
+
"$type": "color"
|
|
2596
|
+
}
|
|
2597
|
+
}
|
|
2598
|
+
},
|
|
2583
2599
|
"component": {
|
|
2584
2600
|
"card": {
|
|
2585
2601
|
"text": {
|
|
@@ -4499,6 +4515,22 @@
|
|
|
4499
4515
|
}
|
|
4500
4516
|
}
|
|
4501
4517
|
},
|
|
4518
|
+
"forms": {
|
|
4519
|
+
"default": {
|
|
4520
|
+
"bg": {
|
|
4521
|
+
"$value": "{colors.neutral.700}",
|
|
4522
|
+
"$type": "color"
|
|
4523
|
+
},
|
|
4524
|
+
"text": {
|
|
4525
|
+
"$value": "{colors.neutral.100}",
|
|
4526
|
+
"$type": "color"
|
|
4527
|
+
},
|
|
4528
|
+
"placeholder": {
|
|
4529
|
+
"$value": "{colors.neutral.300}",
|
|
4530
|
+
"$type": "color"
|
|
4531
|
+
}
|
|
4532
|
+
}
|
|
4533
|
+
},
|
|
4502
4534
|
"component": {
|
|
4503
4535
|
"card": {
|
|
4504
4536
|
"text": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@phcdevworks/spectre-tokens",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.11.0",
|
|
4
4
|
"description": "@phcdevworks/spectre-tokens is the design-token foundation of the Spectre system. It provides the shared visual values and semantic contracts used across Spectre packages and PHCDevworks applications.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"phcdevworks",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"build:ts": "tsup --config tsup.config.ts",
|
|
62
62
|
"build:css": "tsx scripts/build-css.ts",
|
|
63
63
|
"build:design": "tsx scripts/build-dtcg.ts",
|
|
64
|
-
"build:docs": "tsx scripts/build-token-reference.ts",
|
|
64
|
+
"build:docs": "tsx scripts/build-token-reference.ts && tsx scripts/build-downstream-parity.ts",
|
|
65
65
|
"check:manifest": "tsx scripts/check-contract-manifest.ts",
|
|
66
66
|
"check:docs": "tsx scripts/check-doc-contract.ts",
|
|
67
67
|
"check:version-sync": "npm run check:docs",
|
|
@@ -83,6 +83,7 @@
|
|
|
83
83
|
"check:deprecation": "tsx scripts/check-deprecation.ts",
|
|
84
84
|
"check:downstream": "tsx scripts/check-downstream-compat.ts",
|
|
85
85
|
"audit:downstream": "tsx scripts/audit-downstream-redeclarations.ts",
|
|
86
|
+
"audit:parity": "tsx scripts/audit-downstream-parity.ts",
|
|
86
87
|
"release:propose": "tsx scripts/propose-version.ts",
|
|
87
88
|
"lint": "eslint .",
|
|
88
89
|
"format": "prettier --write .",
|
|
@@ -100,7 +101,7 @@
|
|
|
100
101
|
},
|
|
101
102
|
"devDependencies": {
|
|
102
103
|
"@phcdevworks/spectre-manifest": "^1.2.0",
|
|
103
|
-
"@types/node": "^26.6.
|
|
104
|
+
"@types/node": "^26.6.3",
|
|
104
105
|
"@typescript-eslint/eslint-plugin": "^8.70.1",
|
|
105
106
|
"@typescript-eslint/parser": "^8.70.1",
|
|
106
107
|
"@typescript/native": "npm:typescript@^7.0.2",
|
|
@@ -114,7 +115,7 @@
|
|
|
114
115
|
"tsx": "^4.23.15",
|
|
115
116
|
"typescript": "npm:@typescript/typescript6@^6.0.2",
|
|
116
117
|
"typescript-eslint": "^8.70.1",
|
|
117
|
-
"vitest": "^5.0.
|
|
118
|
+
"vitest": "^5.0.2"
|
|
118
119
|
},
|
|
119
120
|
"overrides": {
|
|
120
121
|
"esbuild": "0.28.1"
|
package/tokens/modes.json
CHANGED
|
@@ -113,6 +113,25 @@
|
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
115
|
},
|
|
116
|
+
"forms": {
|
|
117
|
+
"default": {
|
|
118
|
+
"bg": {
|
|
119
|
+
"value": "{colors.white}"
|
|
120
|
+
},
|
|
121
|
+
"text": {
|
|
122
|
+
"value": "{colors.neutral.900}",
|
|
123
|
+
"metadata": {
|
|
124
|
+
"pair": "modes.default.forms.default.bg"
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
"placeholder": {
|
|
128
|
+
"value": "{colors.neutral.500}",
|
|
129
|
+
"metadata": {
|
|
130
|
+
"pair": "modes.default.forms.default.bg"
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
},
|
|
116
135
|
"component": {
|
|
117
136
|
"card": {
|
|
118
137
|
"text": {
|
|
@@ -2300,6 +2319,25 @@
|
|
|
2300
2319
|
}
|
|
2301
2320
|
}
|
|
2302
2321
|
},
|
|
2322
|
+
"forms": {
|
|
2323
|
+
"default": {
|
|
2324
|
+
"bg": {
|
|
2325
|
+
"value": "{colors.neutral.700}"
|
|
2326
|
+
},
|
|
2327
|
+
"text": {
|
|
2328
|
+
"value": "{colors.neutral.100}",
|
|
2329
|
+
"metadata": {
|
|
2330
|
+
"pair": "modes.dark.forms.default.bg"
|
|
2331
|
+
}
|
|
2332
|
+
},
|
|
2333
|
+
"placeholder": {
|
|
2334
|
+
"value": "{colors.neutral.300}",
|
|
2335
|
+
"metadata": {
|
|
2336
|
+
"pair": "modes.dark.forms.default.bg"
|
|
2337
|
+
}
|
|
2338
|
+
}
|
|
2339
|
+
}
|
|
2340
|
+
},
|
|
2303
2341
|
"component": {
|
|
2304
2342
|
"card": {
|
|
2305
2343
|
"text": {
|