@phcdevworks/spectre-tokens 4.11.0 → 4.12.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phcdevworks/spectre-tokens",
3
- "version": "4.11.0",
3
+ "version": "4.12.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.1.0",
38
+ "packageManager": "npm@12.2.0",
39
39
  "main": "./dist/index.cjs",
40
40
  "module": "./dist/index.js",
41
41
  "types": "./dist/index.d.ts",
@@ -101,12 +101,12 @@
101
101
  },
102
102
  "devDependencies": {
103
103
  "@phcdevworks/spectre-manifest": "^1.2.0",
104
- "@types/node": "^26.6.3",
105
- "@typescript-eslint/eslint-plugin": "^8.70.1",
106
- "@typescript-eslint/parser": "^8.70.1",
104
+ "@types/node": "^26.6.4",
105
+ "@typescript-eslint/eslint-plugin": "^8.71.0",
106
+ "@typescript-eslint/parser": "^8.71.0",
107
107
  "@typescript/native": "npm:typescript@^7.0.2",
108
108
  "colord": "^2.10.0",
109
- "eslint": "^10.11.0",
109
+ "eslint": "^10.12.0",
110
110
  "jiti": "^2.7.0",
111
111
  "prettier": "^3.9.9",
112
112
  "style-dictionary": "^5.5.5",
@@ -114,8 +114,8 @@
114
114
  "tsup": "^8.5.1",
115
115
  "tsx": "^4.23.15",
116
116
  "typescript": "npm:@typescript/typescript6@^6.0.2",
117
- "typescript-eslint": "^8.70.1",
118
- "vitest": "^5.0.2"
117
+ "typescript-eslint": "^8.71.0",
118
+ "vitest": "^5.0.3"
119
119
  },
120
120
  "overrides": {
121
121
  "esbuild": "0.28.1"
@@ -587,6 +587,83 @@
587
587
  "metadata": {}
588
588
  },
589
589
  "thickness": "0.25rem"
590
+ },
591
+ "light": {
592
+ "bg": {
593
+ "value": "{colors.neutral.100}",
594
+ "metadata": {
595
+ "pair": "component.footer.light.text"
596
+ }
597
+ },
598
+ "text": {
599
+ "value": "{colors.neutral.700}",
600
+ "metadata": {
601
+ "pair": "component.footer.light.bg"
602
+ }
603
+ },
604
+ "heading": {
605
+ "value": "{colors.neutral.900}",
606
+ "metadata": {
607
+ "pair": "component.footer.light.bg"
608
+ }
609
+ },
610
+ "muted": {
611
+ "value": "{colors.neutral.600}",
612
+ "metadata": {
613
+ "pair": "component.footer.light.bg"
614
+ }
615
+ },
616
+ "link": {
617
+ "value": "{colors.neutral.700}",
618
+ "metadata": {
619
+ "pair": "component.footer.light.bg"
620
+ }
621
+ },
622
+ "linkHover": {
623
+ "value": "{colors.brand.700}",
624
+ "metadata": {
625
+ "pair": "component.footer.light.bg"
626
+ }
627
+ },
628
+ "border": {
629
+ "value": "{colors.neutral.200}"
630
+ },
631
+ "divider": {
632
+ "value": "{colors.neutral.200}"
633
+ },
634
+ "chipBg": {
635
+ "value": "{colors.neutral.200}"
636
+ },
637
+ "accent": {
638
+ "neutral": {
639
+ "value": "{colors.neutral.600}",
640
+ "metadata": {}
641
+ },
642
+ "brand": {
643
+ "value": "{colors.brand.600}",
644
+ "metadata": {}
645
+ },
646
+ "info": {
647
+ "value": "{colors.info.600}",
648
+ "metadata": {}
649
+ },
650
+ "success": {
651
+ "value": "{colors.success.600}",
652
+ "metadata": {}
653
+ },
654
+ "warning": {
655
+ "value": "{colors.warning.600}",
656
+ "metadata": {}
657
+ },
658
+ "danger": {
659
+ "value": "{colors.error.600}",
660
+ "metadata": {}
661
+ },
662
+ "cta": {
663
+ "value": "{colors.brand.600}",
664
+ "metadata": {}
665
+ }
666
+ }
590
667
  }
591
668
  },
592
669
  "modal": {
@@ -1776,6 +1853,24 @@
1776
1853
  },
1777
1854
  "hr": {
1778
1855
  "value": "{colors.neutral.200}"
1856
+ },
1857
+ "kbd": {
1858
+ "bg": {
1859
+ "value": "{colors.neutral.100}",
1860
+ "metadata": {
1861
+ "pair": "component.prose.kbd.text"
1862
+ }
1863
+ },
1864
+ "border": {
1865
+ "value": "{colors.neutral.300}",
1866
+ "metadata": {}
1867
+ },
1868
+ "text": {
1869
+ "value": "{colors.neutral.900}",
1870
+ "metadata": {
1871
+ "pair": "component.prose.kbd.bg"
1872
+ }
1873
+ }
1779
1874
  }
1780
1875
  },
1781
1876
  "externalAuthButton": {
@@ -1986,6 +2081,193 @@
1986
2081
  "requiredIndicatorText": {
1987
2082
  "value": "{colors.error.600}"
1988
2083
  }
2084
+ },
2085
+ "skeleton": {
2086
+ "base": {
2087
+ "value": "{colors.neutral.200}",
2088
+ "metadata": {}
2089
+ },
2090
+ "shimmer": {
2091
+ "value": "{colors.neutral.100}",
2092
+ "metadata": {}
2093
+ }
2094
+ },
2095
+ "selection": {
2096
+ "bg": {
2097
+ "value": "{colors.brand.100}",
2098
+ "metadata": {
2099
+ "pair": "component.selection.text"
2100
+ }
2101
+ },
2102
+ "text": {
2103
+ "value": "{colors.neutral.900}",
2104
+ "metadata": {
2105
+ "pair": "component.selection.bg"
2106
+ }
2107
+ }
2108
+ },
2109
+ "caret": {
2110
+ "color": {
2111
+ "value": "{colors.brand.600}",
2112
+ "metadata": {}
2113
+ }
2114
+ },
2115
+ "scrollbar": {
2116
+ "track": {
2117
+ "value": "{colors.neutral.100}",
2118
+ "metadata": {}
2119
+ },
2120
+ "thumb": {
2121
+ "value": "{colors.neutral.400}",
2122
+ "metadata": {}
2123
+ },
2124
+ "thumbHover": {
2125
+ "value": "{colors.neutral.500}",
2126
+ "metadata": {}
2127
+ }
2128
+ },
2129
+ "chart": {
2130
+ "bg": {
2131
+ "value": "{colors.white}",
2132
+ "metadata": {
2133
+ "pair": "component.chart.label"
2134
+ }
2135
+ },
2136
+ "grid": {
2137
+ "value": "{colors.neutral.200}",
2138
+ "metadata": {}
2139
+ },
2140
+ "axis": {
2141
+ "value": "{colors.neutral.500}",
2142
+ "metadata": {
2143
+ "pair": "component.chart.bg",
2144
+ "minContrast": 3
2145
+ }
2146
+ },
2147
+ "label": {
2148
+ "value": "{colors.neutral.600}",
2149
+ "metadata": {
2150
+ "pair": "component.chart.bg"
2151
+ }
2152
+ },
2153
+ "series": {
2154
+ "1": {
2155
+ "value": "{colors.brand.600}",
2156
+ "metadata": {
2157
+ "pair": "component.chart.bg",
2158
+ "minContrast": 3
2159
+ }
2160
+ },
2161
+ "2": {
2162
+ "value": "{colors.palette.amber.600}",
2163
+ "metadata": {
2164
+ "pair": "component.chart.bg",
2165
+ "minContrast": 3
2166
+ }
2167
+ },
2168
+ "3": {
2169
+ "value": "{colors.palette.violet.800}",
2170
+ "metadata": {
2171
+ "pair": "component.chart.bg",
2172
+ "minContrast": 3
2173
+ }
2174
+ },
2175
+ "4": {
2176
+ "value": "{colors.palette.cyan.600}",
2177
+ "metadata": {
2178
+ "pair": "component.chart.bg",
2179
+ "minContrast": 3
2180
+ }
2181
+ },
2182
+ "5": {
2183
+ "value": "{colors.palette.pink.600}",
2184
+ "metadata": {
2185
+ "pair": "component.chart.bg",
2186
+ "minContrast": 3
2187
+ }
2188
+ },
2189
+ "6": {
2190
+ "value": "{colors.palette.emerald.800}",
2191
+ "metadata": {
2192
+ "pair": "component.chart.bg",
2193
+ "minContrast": 3
2194
+ }
2195
+ },
2196
+ "7": {
2197
+ "value": "{colors.palette.lime.700}",
2198
+ "metadata": {
2199
+ "pair": "component.chart.bg",
2200
+ "minContrast": 3
2201
+ }
2202
+ },
2203
+ "8": {
2204
+ "value": "{colors.palette.orange.800}",
2205
+ "metadata": {
2206
+ "pair": "component.chart.bg",
2207
+ "minContrast": 3
2208
+ }
2209
+ }
2210
+ },
2211
+ "sequential": {
2212
+ "1": {
2213
+ "value": "{colors.brand.100}",
2214
+ "metadata": {}
2215
+ },
2216
+ "2": {
2217
+ "value": "{colors.brand.200}",
2218
+ "metadata": {}
2219
+ },
2220
+ "3": {
2221
+ "value": "{colors.brand.300}",
2222
+ "metadata": {}
2223
+ },
2224
+ "4": {
2225
+ "value": "{colors.brand.400}",
2226
+ "metadata": {}
2227
+ },
2228
+ "5": {
2229
+ "value": "{colors.brand.600}",
2230
+ "metadata": {}
2231
+ },
2232
+ "6": {
2233
+ "value": "{colors.brand.800}",
2234
+ "metadata": {}
2235
+ },
2236
+ "7": {
2237
+ "value": "{colors.brand.900}",
2238
+ "metadata": {}
2239
+ }
2240
+ },
2241
+ "diverging": {
2242
+ "1": {
2243
+ "value": "{colors.palette.red.700}",
2244
+ "metadata": {}
2245
+ },
2246
+ "2": {
2247
+ "value": "{colors.palette.red.400}",
2248
+ "metadata": {}
2249
+ },
2250
+ "3": {
2251
+ "value": "{colors.palette.red.200}",
2252
+ "metadata": {}
2253
+ },
2254
+ "4": {
2255
+ "value": "{colors.neutral.200}",
2256
+ "metadata": {}
2257
+ },
2258
+ "5": {
2259
+ "value": "{colors.palette.blue.200}",
2260
+ "metadata": {}
2261
+ },
2262
+ "6": {
2263
+ "value": "{colors.palette.blue.400}",
2264
+ "metadata": {}
2265
+ },
2266
+ "7": {
2267
+ "value": "{colors.palette.blue.700}",
2268
+ "metadata": {}
2269
+ }
2270
+ }
1989
2271
  }
1990
2272
  },
1991
2273
  "buttons": {
@@ -2503,5 +2785,39 @@
2503
2785
  "value": "{colors.neutral.400}"
2504
2786
  }
2505
2787
  }
2788
+ },
2789
+ "control": {
2790
+ "sm": {
2791
+ "height": "2rem",
2792
+ "paddingInline": "0.75rem",
2793
+ "iconSize": "{icons.sm}"
2794
+ },
2795
+ "md": {
2796
+ "height": "2.5rem",
2797
+ "paddingInline": "1rem",
2798
+ "iconSize": "{icons.md}"
2799
+ },
2800
+ "lg": {
2801
+ "height": "3rem",
2802
+ "paddingInline": "1.25rem",
2803
+ "iconSize": "{icons.lg}"
2804
+ },
2805
+ "compact": {
2806
+ "sm": {
2807
+ "height": "1.5rem",
2808
+ "paddingInline": "0.5rem",
2809
+ "iconSize": "{icons.xs}"
2810
+ },
2811
+ "md": {
2812
+ "height": "2rem",
2813
+ "paddingInline": "0.75rem",
2814
+ "iconSize": "{icons.sm}"
2815
+ },
2816
+ "lg": {
2817
+ "height": "2.5rem",
2818
+ "paddingInline": "1rem",
2819
+ "iconSize": "{icons.md}"
2820
+ }
2821
+ }
2506
2822
  }
2507
2823
  }