@phcdevworks/spectre-tokens 4.15.0 → 4.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/README.md +1 -1
- package/dist/index.cjs +22 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +40 -40
- package/dist/index.d.cts +14 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.js +22 -5
- package/dist/index.js.map +1 -1
- package/dist/tokens.dtcg.json +45 -0
- package/package.json +11 -11
- package/tokens/modes.json +44 -0
package/dist/tokens.dtcg.json
CHANGED
|
@@ -8207,6 +8207,51 @@
|
|
|
8207
8207
|
"$type": "color",
|
|
8208
8208
|
"$description": "underline colour for inline links on hover"
|
|
8209
8209
|
}
|
|
8210
|
+
},
|
|
8211
|
+
"buttons": {
|
|
8212
|
+
"secondary": {
|
|
8213
|
+
"bg": {
|
|
8214
|
+
"$value": "transparent",
|
|
8215
|
+
"$type": "string",
|
|
8216
|
+
"$description": "outlined on dark surfaces: the page or card shows through"
|
|
8217
|
+
},
|
|
8218
|
+
"bgHover": {
|
|
8219
|
+
"$value": "{colors.neutral.800}",
|
|
8220
|
+
"$type": "color"
|
|
8221
|
+
},
|
|
8222
|
+
"bgActive": {
|
|
8223
|
+
"$value": "{colors.neutral.700}",
|
|
8224
|
+
"$type": "color"
|
|
8225
|
+
},
|
|
8226
|
+
"bgDisabled": {
|
|
8227
|
+
"$value": "transparent",
|
|
8228
|
+
"$type": "string"
|
|
8229
|
+
},
|
|
8230
|
+
"text": {
|
|
8231
|
+
"$value": "{colors.info.300}",
|
|
8232
|
+
"$type": "color"
|
|
8233
|
+
},
|
|
8234
|
+
"textDisabled": {
|
|
8235
|
+
"$value": "{colors.neutral.500}",
|
|
8236
|
+
"$type": "color"
|
|
8237
|
+
},
|
|
8238
|
+
"border": {
|
|
8239
|
+
"$value": "{colors.info.400}",
|
|
8240
|
+
"$type": "color"
|
|
8241
|
+
},
|
|
8242
|
+
"borderDisabled": {
|
|
8243
|
+
"$value": "{colors.neutral.700}",
|
|
8244
|
+
"$type": "color"
|
|
8245
|
+
},
|
|
8246
|
+
"focusRing": {
|
|
8247
|
+
"$value": "{colors.info.500} / 0.4",
|
|
8248
|
+
"$type": "color"
|
|
8249
|
+
},
|
|
8250
|
+
"focusVisible": {
|
|
8251
|
+
"$value": "{colors.info.500} / 0.4",
|
|
8252
|
+
"$type": "color"
|
|
8253
|
+
}
|
|
8254
|
+
}
|
|
8210
8255
|
}
|
|
8211
8256
|
},
|
|
8212
8257
|
"highContrast": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@phcdevworks/spectre-tokens",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.16.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",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"node": "^22.12.0 || >=24.0.0"
|
|
36
36
|
},
|
|
37
37
|
"type": "module",
|
|
38
|
-
"packageManager": "npm@12.2.
|
|
38
|
+
"packageManager": "npm@12.2.3",
|
|
39
39
|
"main": "./dist/index.cjs",
|
|
40
40
|
"module": "./dist/index.js",
|
|
41
41
|
"types": "./dist/index.d.ts",
|
|
@@ -102,21 +102,21 @@
|
|
|
102
102
|
},
|
|
103
103
|
"devDependencies": {
|
|
104
104
|
"@phcdevworks/spectre-manifest": "^2.0.0",
|
|
105
|
-
"@types/node": "^26.6.
|
|
106
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
107
|
-
"@typescript-eslint/parser": "^8.
|
|
105
|
+
"@types/node": "^26.6.11",
|
|
106
|
+
"@typescript-eslint/eslint-plugin": "^8.74.0",
|
|
107
|
+
"@typescript-eslint/parser": "^8.74.0",
|
|
108
108
|
"@typescript/native": "npm:typescript@^7.0.2",
|
|
109
|
-
"colord": "^2.
|
|
110
|
-
"eslint": "^10.
|
|
109
|
+
"colord": "^2.14.1",
|
|
110
|
+
"eslint": "^10.16.0",
|
|
111
111
|
"jiti": "^2.7.0",
|
|
112
|
-
"prettier": "^3.
|
|
113
|
-
"style-dictionary": "^5.
|
|
112
|
+
"prettier": "^3.10.1",
|
|
113
|
+
"style-dictionary": "^5.8.0",
|
|
114
114
|
"ts-node": "^10.9.2",
|
|
115
115
|
"tsup": "^9.0.0",
|
|
116
116
|
"tsx": "^4.23.15",
|
|
117
117
|
"typescript": "npm:@typescript/typescript6@^6.0.2",
|
|
118
|
-
"typescript-eslint": "^8.
|
|
119
|
-
"vitest": "^5.
|
|
118
|
+
"typescript-eslint": "^8.74.0",
|
|
119
|
+
"vitest": "^5.1.2"
|
|
120
120
|
},
|
|
121
121
|
"overrides": {
|
|
122
122
|
"esbuild": "0.28.1"
|
package/tokens/modes.json
CHANGED
|
@@ -5898,6 +5898,50 @@
|
|
|
5898
5898
|
"value": "{colors.brand.300}",
|
|
5899
5899
|
"description": "underline colour for inline links on hover"
|
|
5900
5900
|
}
|
|
5901
|
+
},
|
|
5902
|
+
"buttons": {
|
|
5903
|
+
"secondary": {
|
|
5904
|
+
"bg": {
|
|
5905
|
+
"value": "transparent",
|
|
5906
|
+
"description": "outlined on dark surfaces: the page or card shows through"
|
|
5907
|
+
},
|
|
5908
|
+
"bgHover": {
|
|
5909
|
+
"value": "{colors.neutral.800}",
|
|
5910
|
+
"metadata": {
|
|
5911
|
+
"pair": "modes.dark.buttons.secondary.text"
|
|
5912
|
+
}
|
|
5913
|
+
},
|
|
5914
|
+
"bgActive": {
|
|
5915
|
+
"value": "{colors.neutral.700}",
|
|
5916
|
+
"metadata": {
|
|
5917
|
+
"pair": "modes.dark.buttons.secondary.text"
|
|
5918
|
+
}
|
|
5919
|
+
},
|
|
5920
|
+
"bgDisabled": {
|
|
5921
|
+
"value": "transparent"
|
|
5922
|
+
},
|
|
5923
|
+
"text": {
|
|
5924
|
+
"value": "{colors.info.300}",
|
|
5925
|
+
"metadata": {
|
|
5926
|
+
"pair": "modes.dark.surface.page"
|
|
5927
|
+
}
|
|
5928
|
+
},
|
|
5929
|
+
"textDisabled": {
|
|
5930
|
+
"value": "{colors.neutral.500}"
|
|
5931
|
+
},
|
|
5932
|
+
"border": {
|
|
5933
|
+
"value": "{colors.info.400}"
|
|
5934
|
+
},
|
|
5935
|
+
"borderDisabled": {
|
|
5936
|
+
"value": "{colors.neutral.700}"
|
|
5937
|
+
},
|
|
5938
|
+
"focusRing": {
|
|
5939
|
+
"value": "{colors.info.500} / 0.4"
|
|
5940
|
+
},
|
|
5941
|
+
"focusVisible": {
|
|
5942
|
+
"value": "{colors.info.500} / 0.4"
|
|
5943
|
+
}
|
|
5944
|
+
}
|
|
5901
5945
|
}
|
|
5902
5946
|
},
|
|
5903
5947
|
"highContrast": {
|