@helixui/tokens 3.2.0-next.102 → 3.2.0-next.104

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/index.d.ts CHANGED
@@ -430,6 +430,14 @@ export declare const tokens: {
430
430
  value: string;
431
431
  description: string;
432
432
  };
433
+ "on-dark-default": {
434
+ value: string;
435
+ description: string;
436
+ };
437
+ "on-dark-subtle": {
438
+ value: string;
439
+ description: string;
440
+ };
433
441
  };
434
442
  "focus-ring": {
435
443
  value: string;
@@ -1290,6 +1298,14 @@ export declare const tokens: {
1290
1298
  value: string;
1291
1299
  description: string;
1292
1300
  };
1301
+ "on-dark-default": {
1302
+ value: string;
1303
+ description: string;
1304
+ };
1305
+ "on-dark-subtle": {
1306
+ value: string;
1307
+ description: string;
1308
+ };
1293
1309
  };
1294
1310
  "focus-ring": {
1295
1311
  value: string;
@@ -1583,6 +1599,14 @@ export declare const tokens: {
1583
1599
  value: string;
1584
1600
  description: string;
1585
1601
  };
1602
+ "on-dark-default": {
1603
+ value: string;
1604
+ description: string;
1605
+ };
1606
+ "on-dark-subtle": {
1607
+ value: string;
1608
+ description: string;
1609
+ };
1586
1610
  };
1587
1611
  "focus-ring": {
1588
1612
  value: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAmB,UAAU,EAAE,MAAM,YAAY,CAAC;AAE9D,YAAY,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAG9D,OAAO,EACL,kBAAkB,EAClB,uBAAuB,EACvB,wBAAwB,GACzB,MAAM,qBAAqB,CAAC;AAC7B,YAAY,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AA+C7E,yCAAyC;AACzC,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AgB,EAAE,UAAU,EAEnC,CAAC;AAEP,wDAAwD;AACxD,eAAO,MAAM,wBAAwB,EAAE,UAAU,EAE3C,CAAC;AAEP,kDAAkD;AAClD,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,UAAU,EAAE,CAAqC,CAAC;AAEhG,wCAAwC;AACxC,eAAO,MAAM,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAE3C,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,aAAa,EAAE,MAAoC,CAAC;AAEjE;;;GAGG;AACH,eAAO,MAAM,YAAY,EAAE,MAAwC,CAAC;AAEpE;;;GAGG;AACH,eAAO,MAAM,oBAAoB,EAAE,MAAgD,CAAC"}
package/dist/tokens.css CHANGED
@@ -126,6 +126,8 @@
126
126
  --hx-color-border-strong: var(--hx-color-neutral-500);
127
127
  --hx-color-border-focus: var(--hx-color-primary-500);
128
128
  --hx-color-border-on-dark-strong: var(--hx-overlay-white-70);
129
+ --hx-color-border-on-dark-default: var(--hx-color-surface-on-dark-overlay-default);
130
+ --hx-color-border-on-dark-subtle: var(--hx-color-surface-on-dark-overlay-subtle);
129
131
  --hx-color-focus-ring: var(--hx-color-primary-600);
130
132
  --hx-color-selection-bg: var(--hx-color-primary-200);
131
133
  --hx-color-selection-color: var(--hx-color-neutral-900);
@@ -375,6 +377,8 @@
375
377
  --hx-color-border-strong: var(--hx-color-neutral-400);
376
378
  --hx-color-border-focus: var(--hx-color-primary-400);
377
379
  --hx-color-border-on-dark-strong: var(--hx-overlay-black-50);
380
+ --hx-color-border-on-dark-default: var(--hx-color-surface-on-dark-overlay-default);
381
+ --hx-color-border-on-dark-subtle: var(--hx-color-surface-on-dark-overlay-subtle);
378
382
  --hx-color-focus-ring: var(--hx-color-primary-400);
379
383
  --hx-color-selection-bg: var(--hx-color-primary-800);
380
384
  --hx-color-selection-color: var(--hx-color-neutral-100);
@@ -421,6 +425,8 @@
421
425
  --hx-color-border-strong: var(--hx-color-neutral-400);
422
426
  --hx-color-border-focus: var(--hx-color-primary-400);
423
427
  --hx-color-border-on-dark-strong: var(--hx-overlay-black-50);
428
+ --hx-color-border-on-dark-default: var(--hx-color-surface-on-dark-overlay-default);
429
+ --hx-color-border-on-dark-subtle: var(--hx-color-surface-on-dark-overlay-subtle);
424
430
  --hx-color-focus-ring: var(--hx-color-primary-400);
425
431
  --hx-color-selection-bg: var(--hx-color-primary-800);
426
432
  --hx-color-selection-color: var(--hx-color-neutral-100);
@@ -493,6 +499,8 @@
493
499
  --hx-color-border-strong: #FFFFFF;
494
500
  --hx-color-border-focus: #FFFF00;
495
501
  --hx-color-border-on-dark-strong: #FFFFFF;
502
+ --hx-color-border-on-dark-default: var(--hx-color-surface-on-dark-overlay-default);
503
+ --hx-color-border-on-dark-subtle: var(--hx-color-surface-on-dark-overlay-subtle);
496
504
  --hx-color-focus-ring: #FFFF00;
497
505
  --hx-color-selection-bg: #1AEBFF;
498
506
  --hx-color-selection-color: #000000;
@@ -569,6 +577,8 @@
569
577
  --hx-color-border-strong: #FFFFFF;
570
578
  --hx-color-border-focus: #FFFF00;
571
579
  --hx-color-border-on-dark-strong: #FFFFFF;
580
+ --hx-color-border-on-dark-default: var(--hx-color-surface-on-dark-overlay-default);
581
+ --hx-color-border-on-dark-subtle: var(--hx-color-surface-on-dark-overlay-subtle);
572
582
  --hx-color-focus-ring: #FFFF00;
573
583
  --hx-color-selection-bg: #1AEBFF;
574
584
  --hx-color-selection-color: #000000;
package/dist/tokens.json CHANGED
@@ -216,6 +216,14 @@
216
216
  "on-dark-strong": {
217
217
  "value": "var(--hx-overlay-white-70)",
218
218
  "description": "Strong border treatment on dark surfaces (e.g. inverted button outlines on a dark page). overlay-white-70 on neutral-900 ≈ 5.0:1 — clears WCAG 1.4.11 3:1 floor for non-text UI. Added in 3.2.1 alongside the action.* layer for the token-cascade remediation; only the strong tier survived the 3.2.2 audit because the lower-alpha siblings (overlay-white-30/10) cannot honour a border-contract — they were renamed to surface.on-dark-overlay-* (which is what they always were: translucent fills)."
219
+ },
220
+ "on-dark-default": {
221
+ "value": "var(--hx-color-surface-on-dark-overlay-default)",
222
+ "description": "DEPRECATED 3.2.2 — alias for surface.on-dark-overlay-default. Originally shipped 3.2.1 under the border.* family but it was always used as a translucent fill, never a border, and its 30% alpha cannot honour WCAG 1.4.11 3:1. Renamed to surface.on-dark-overlay-default in 3.2.2; this alias preserves the published CSS variable name (`--hx-color-border-on-dark-default`) for consumers who set it as a theme override. Scheduled for removal in 4.0.0."
223
+ },
224
+ "on-dark-subtle": {
225
+ "value": "var(--hx-color-surface-on-dark-overlay-subtle)",
226
+ "description": "DEPRECATED 3.2.2 — alias for surface.on-dark-overlay-subtle. Originally shipped 3.2.1 under the border.* family but it was always used as a translucent fill, never a border, and its 10% alpha cannot honour WCAG 1.4.11 3:1. Renamed to surface.on-dark-overlay-subtle in 3.2.2; this alias preserves the published CSS variable name (`--hx-color-border-on-dark-subtle`) for consumers who set it as a theme override. Scheduled for removal in 4.0.0."
219
227
  }
220
228
  },
221
229
  "focus-ring": {
@@ -652,6 +660,14 @@
652
660
  "on-dark-strong": {
653
661
  "value": "var(--hx-overlay-black-50)",
654
662
  "description": "Dark-mode override. surface.inverse flips light (#EBEEE9) in dark mode, so the original overlay-white-70 binding paints white-ish on light = 1.12:1 (invisible). overlay-black-50 over #EBEEE9 = 3.84:1, clears the WCAG 1.4.11 3:1 floor for inverted-mode button outlines and focus rings drawn on the (now-light) inverse surface. Symmetrical with the light-mode 70% intent: dark text on light reaches the equivalent perceptual strength at a lower alpha than light text on dark."
663
+ },
664
+ "on-dark-default": {
665
+ "value": "var(--hx-color-surface-on-dark-overlay-default)",
666
+ "description": "DEPRECATED 3.2.2 — dark-mode alias preserving the published `--hx-color-border-on-dark-default` for backwards compatibility. Resolves to the renamed surface.on-dark-overlay-default token in dark mode (overlay-black-30). Removal scheduled for 4.0.0."
667
+ },
668
+ "on-dark-subtle": {
669
+ "value": "var(--hx-color-surface-on-dark-overlay-subtle)",
670
+ "description": "DEPRECATED 3.2.2 — dark-mode alias preserving the published `--hx-color-border-on-dark-subtle` for backwards compatibility. Resolves to the renamed surface.on-dark-overlay-subtle token in dark mode (overlay-black-10). Removal scheduled for 4.0.0."
655
671
  }
656
672
  },
657
673
  "focus-ring": { "value": "var(--hx-color-primary-400)" },
@@ -828,6 +844,14 @@
828
844
  "on-dark-strong": {
829
845
  "value": "#FFFFFF",
830
846
  "description": "HC override for border.on-dark-strong. The base overlay-white-70 reads softly against translucent darks but is invisible against the HC #000 canvas — pin to solid #FFFFFF (21:1 on #000) so inverted button outlines remain visible in HC."
847
+ },
848
+ "on-dark-default": {
849
+ "value": "var(--hx-color-surface-on-dark-overlay-default)",
850
+ "description": "DEPRECATED 3.2.2 — HC alias preserving the published `--hx-color-border-on-dark-default` for backwards compatibility. Resolves to the renamed surface.on-dark-overlay-default token in HC mode (#FFFFFF). Removal scheduled for 4.0.0."
851
+ },
852
+ "on-dark-subtle": {
853
+ "value": "var(--hx-color-surface-on-dark-overlay-subtle)",
854
+ "description": "DEPRECATED 3.2.2 — HC alias preserving the published `--hx-color-border-on-dark-subtle` for backwards compatibility. Resolves to the renamed surface.on-dark-overlay-subtle token in HC mode (#C0C0C0). Removal scheduled for 4.0.0."
831
855
  }
832
856
  },
833
857
  "focus-ring": { "value": "#FFFF00", "description": "High-visibility yellow focus ring" },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@helixui/tokens",
3
- "version": "3.2.0-next.102",
3
+ "version": "3.2.0-next.104",
4
4
  "description": "Design tokens for the HELiX enterprise healthcare web component library",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
package/src/tokens.json CHANGED
@@ -216,6 +216,14 @@
216
216
  "on-dark-strong": {
217
217
  "value": "var(--hx-overlay-white-70)",
218
218
  "description": "Strong border treatment on dark surfaces (e.g. inverted button outlines on a dark page). overlay-white-70 on neutral-900 ≈ 5.0:1 — clears WCAG 1.4.11 3:1 floor for non-text UI. Added in 3.2.1 alongside the action.* layer for the token-cascade remediation; only the strong tier survived the 3.2.2 audit because the lower-alpha siblings (overlay-white-30/10) cannot honour a border-contract — they were renamed to surface.on-dark-overlay-* (which is what they always were: translucent fills)."
219
+ },
220
+ "on-dark-default": {
221
+ "value": "var(--hx-color-surface-on-dark-overlay-default)",
222
+ "description": "DEPRECATED 3.2.2 — alias for surface.on-dark-overlay-default. Originally shipped 3.2.1 under the border.* family but it was always used as a translucent fill, never a border, and its 30% alpha cannot honour WCAG 1.4.11 3:1. Renamed to surface.on-dark-overlay-default in 3.2.2; this alias preserves the published CSS variable name (`--hx-color-border-on-dark-default`) for consumers who set it as a theme override. Scheduled for removal in 4.0.0."
223
+ },
224
+ "on-dark-subtle": {
225
+ "value": "var(--hx-color-surface-on-dark-overlay-subtle)",
226
+ "description": "DEPRECATED 3.2.2 — alias for surface.on-dark-overlay-subtle. Originally shipped 3.2.1 under the border.* family but it was always used as a translucent fill, never a border, and its 10% alpha cannot honour WCAG 1.4.11 3:1. Renamed to surface.on-dark-overlay-subtle in 3.2.2; this alias preserves the published CSS variable name (`--hx-color-border-on-dark-subtle`) for consumers who set it as a theme override. Scheduled for removal in 4.0.0."
219
227
  }
220
228
  },
221
229
  "focus-ring": {
@@ -652,6 +660,14 @@
652
660
  "on-dark-strong": {
653
661
  "value": "var(--hx-overlay-black-50)",
654
662
  "description": "Dark-mode override. surface.inverse flips light (#EBEEE9) in dark mode, so the original overlay-white-70 binding paints white-ish on light = 1.12:1 (invisible). overlay-black-50 over #EBEEE9 = 3.84:1, clears the WCAG 1.4.11 3:1 floor for inverted-mode button outlines and focus rings drawn on the (now-light) inverse surface. Symmetrical with the light-mode 70% intent: dark text on light reaches the equivalent perceptual strength at a lower alpha than light text on dark."
663
+ },
664
+ "on-dark-default": {
665
+ "value": "var(--hx-color-surface-on-dark-overlay-default)",
666
+ "description": "DEPRECATED 3.2.2 — dark-mode alias preserving the published `--hx-color-border-on-dark-default` for backwards compatibility. Resolves to the renamed surface.on-dark-overlay-default token in dark mode (overlay-black-30). Removal scheduled for 4.0.0."
667
+ },
668
+ "on-dark-subtle": {
669
+ "value": "var(--hx-color-surface-on-dark-overlay-subtle)",
670
+ "description": "DEPRECATED 3.2.2 — dark-mode alias preserving the published `--hx-color-border-on-dark-subtle` for backwards compatibility. Resolves to the renamed surface.on-dark-overlay-subtle token in dark mode (overlay-black-10). Removal scheduled for 4.0.0."
655
671
  }
656
672
  },
657
673
  "focus-ring": { "value": "var(--hx-color-primary-400)" },
@@ -828,6 +844,14 @@
828
844
  "on-dark-strong": {
829
845
  "value": "#FFFFFF",
830
846
  "description": "HC override for border.on-dark-strong. The base overlay-white-70 reads softly against translucent darks but is invisible against the HC #000 canvas — pin to solid #FFFFFF (21:1 on #000) so inverted button outlines remain visible in HC."
847
+ },
848
+ "on-dark-default": {
849
+ "value": "var(--hx-color-surface-on-dark-overlay-default)",
850
+ "description": "DEPRECATED 3.2.2 — HC alias preserving the published `--hx-color-border-on-dark-default` for backwards compatibility. Resolves to the renamed surface.on-dark-overlay-default token in HC mode (#FFFFFF). Removal scheduled for 4.0.0."
851
+ },
852
+ "on-dark-subtle": {
853
+ "value": "var(--hx-color-surface-on-dark-overlay-subtle)",
854
+ "description": "DEPRECATED 3.2.2 — HC alias preserving the published `--hx-color-border-on-dark-subtle` for backwards compatibility. Resolves to the renamed surface.on-dark-overlay-subtle token in HC mode (#C0C0C0). Removal scheduled for 4.0.0."
831
855
  }
832
856
  },
833
857
  "focus-ring": { "value": "#FFFF00", "description": "High-visibility yellow focus ring" },