@common-origin/design-system 3.1.0 → 3.2.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.
Files changed (66) hide show
  1. package/dist/client.js +1017 -713
  2. package/dist/client.js.map +1 -1
  3. package/dist/components/atoms/Badge/Badge.d.mts +2 -2
  4. package/dist/components/atoms/Badge/Badge.d.ts +2 -2
  5. package/dist/components/atoms/Badge/Badge.mjs +15 -9
  6. package/dist/components/atoms/Box/Box.d.mts +3 -2
  7. package/dist/components/atoms/Box/Box.d.ts +3 -2
  8. package/dist/components/atoms/Button/Button.mjs +1 -1
  9. package/dist/components/atoms/Chip/shared/ChipBase.mjs +1 -1
  10. package/dist/components/atoms/IconButton/IconButton.mjs +1 -1
  11. package/dist/components/atoms/ProgressBar/ProgressBar.d.mts +1 -1
  12. package/dist/components/atoms/ProgressBar/ProgressBar.d.ts +1 -1
  13. package/dist/components/atoms/Tag/Tag.d.mts +1 -1
  14. package/dist/components/atoms/Tag/Tag.d.ts +1 -1
  15. package/dist/components/atoms/Tooltip/Tooltip.d.mts +7 -1
  16. package/dist/components/atoms/Tooltip/Tooltip.d.ts +7 -1
  17. package/dist/components/atoms/Tooltip/Tooltip.mjs +18 -8
  18. package/dist/components/molecules/ActionSheet/ActionSheet.mjs +2 -2
  19. package/dist/components/molecules/Alert/Alert.mjs +1 -1
  20. package/dist/components/molecules/Checkbox/SelectableInputBase.mjs +1 -1
  21. package/dist/components/molecules/Dropdown/Dropdown.mjs +1 -1
  22. package/dist/components/molecules/List/ListItem.mjs +3 -3
  23. package/dist/components/molecules/Menu/Menu.d.mts +8 -1
  24. package/dist/components/molecules/Menu/Menu.d.ts +8 -1
  25. package/dist/components/molecules/Menu/Menu.mjs +12 -9
  26. package/dist/components/molecules/Modal/Modal.mjs +1 -1
  27. package/dist/components/molecules/NumberInput/NumberInput.mjs +2 -1
  28. package/dist/components/molecules/PasswordField/PasswordField.mjs +3 -2
  29. package/dist/components/molecules/SearchField/SearchField.mjs +3 -3
  30. package/dist/components/molecules/Sheet/Sheet.mjs +3 -3
  31. package/dist/components/molecules/SidebarNavItem/SidebarNavItem.d.mts +3 -2
  32. package/dist/components/molecules/SidebarNavItem/SidebarNavItem.d.ts +3 -2
  33. package/dist/components/molecules/SidebarNavItem/SidebarNavItem.mjs +128 -41
  34. package/dist/components/molecules/SidebarNavItem/sidebarNavMotion.d.mts +30 -0
  35. package/dist/components/molecules/SidebarNavItem/sidebarNavMotion.d.ts +30 -0
  36. package/dist/components/molecules/SidebarNavItem/sidebarNavMotion.mjs +69 -0
  37. package/dist/components/molecules/SidebarNavItem/sidebarNavMotion.mjs.map +1 -0
  38. package/dist/components/molecules/SidebarNavSection/SidebarNavSection.mjs +57 -43
  39. package/dist/components/molecules/TabBar/TabBar.mjs +3 -3
  40. package/dist/components/molecules/WorkspaceSwitcher/WorkspaceSwitcher.mjs +3 -1
  41. package/dist/components/organisms/SidebarNav/SidebarNav.mjs +173 -62
  42. package/dist/data.js +96 -59
  43. package/dist/data.js.map +1 -1
  44. package/dist/lib/styleUtils.d.mts +4 -0
  45. package/dist/lib/styleUtils.d.ts +4 -0
  46. package/dist/lib/styleUtils.mjs +5 -1
  47. package/dist/lib/styleUtils.mjs.map +1 -1
  48. package/dist/lib/tokenAliases.mjs +1 -0
  49. package/dist/lib/tokenAliases.mjs.map +1 -1
  50. package/dist/lib/useFloatingLayer.d.mts +8 -1
  51. package/dist/lib/useFloatingLayer.d.ts +8 -1
  52. package/dist/lib/useFloatingLayer.mjs +11 -2
  53. package/dist/lib/useFloatingLayer.mjs.map +1 -1
  54. package/dist/styles/tokens.d.mts +93 -24
  55. package/dist/styles/tokens.d.ts +93 -24
  56. package/dist/styles/tokens.json +96 -59
  57. package/dist/styles/tokens.json.mjs +96 -59
  58. package/dist/styles/tokens.json.mjs.map +1 -1
  59. package/dist/tokens/index.js +96 -59
  60. package/dist/tokens/index.js.map +1 -1
  61. package/dist/tokens/index.mjs +96 -59
  62. package/dist/tokens/index.mjs.map +1 -1
  63. package/dist/tokens/styles/tokens.d.mts +93 -24
  64. package/dist/tokens/styles/tokens.d.ts +93 -24
  65. package/dist/tokens.css +1105 -74
  66. package/package.json +3 -1
@@ -33,7 +33,8 @@ var base = {
33
33
  "4": "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",
34
34
  "5": "0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)",
35
35
  "6": "0 25px 50px -12px rgba(0, 0, 0, 0.25)",
36
- none: "none"
36
+ none: "none",
37
+ inset: "inset 0 2px 4px 0 rgba(0, 0, 0, 0.06)"
37
38
  },
38
39
  zIndex: {
39
40
  "0": "0",
@@ -63,7 +64,8 @@ var base = {
63
64
  "80": "0.8",
64
65
  "90": "0.9",
65
66
  "95": "0.95",
66
- "100": "1"
67
+ "100": "1",
68
+ scrim: "0.5"
67
69
  },
68
70
  dimension: {
69
71
  "0": "0",
@@ -112,6 +114,15 @@ var base = {
112
114
  color: {
113
115
  transparent: "transparent",
114
116
  white: "#ffffff",
117
+ surface: {
118
+ page: "#fcfcfc",
119
+ raised: "#ffffff",
120
+ overlay: "#ffffff"
121
+ },
122
+ ink: {
123
+ light: "#fcfcfc",
124
+ dark: "#222222"
125
+ },
115
126
  gray: {
116
127
  "100": "#fcfcfc",
117
128
  "200": "#f9f9f9",
@@ -140,6 +151,20 @@ var base = {
140
151
  "1100": "rgba(34, 34, 34, 0.706)",
141
152
  "1200": "rgba(34, 34, 34, 1)"
142
153
  },
154
+ "gray-alpha-inverse": {
155
+ "100": "rgba(252, 252, 252, 0.014)",
156
+ "200": "rgba(252, 252, 252, 0.027)",
157
+ "300": "rgba(252, 252, 252, 0.059)",
158
+ "400": "rgba(252, 252, 252, 0.09)",
159
+ "500": "rgba(252, 252, 252, 0.122)",
160
+ "600": "rgba(252, 252, 252, 0.158)",
161
+ "700": "rgba(252, 252, 252, 0.208)",
162
+ "800": "rgba(252, 252, 252, 0.502)",
163
+ "900": "rgba(252, 252, 252, 0.557)",
164
+ "1000": "rgba(252, 252, 252, 0.606)",
165
+ "1100": "rgba(252, 252, 252, 0.706)",
166
+ "1200": "rgba(252, 252, 252, 1)"
167
+ },
143
168
  accent: {
144
169
  "100": "#fbfcfd",
145
170
  "200": "#f7f9fc",
@@ -152,7 +177,8 @@ var base = {
152
177
  "900": "#0082fc",
153
178
  "1000": "#0278e7",
154
179
  "1100": "#0162bf",
155
- "1200": "#0f2339"
180
+ "1200": "#0f2339",
181
+ solid: "#0162bf"
156
182
  },
157
183
  "accent-alpha": {
158
184
  "100": "rgba(5, 68, 130, 0.016)",
@@ -180,7 +206,8 @@ var base = {
180
206
  "900": "#009762",
181
207
  "1000": "#018b5a",
182
208
  "1100": "#017249",
183
- "1200": "#12261b"
209
+ "1200": "#12261b",
210
+ solid: "#017249"
184
211
  },
185
212
  "success-alpha": {
186
213
  "100": "rgba(5, 172, 47, 0.024)",
@@ -208,7 +235,8 @@ var base = {
208
235
  "900": "#ad7b00",
209
236
  "1000": "#9f7102",
210
237
  "1100": "#835c00",
211
- "1200": "#292111"
238
+ "1200": "#292111",
239
+ solid: "#835c00"
212
240
  },
213
241
  "warning-alpha": {
214
242
  "100": "rgba(155, 105, 5, 0.02)",
@@ -236,7 +264,8 @@ var base = {
236
264
  "900": "#da5f00",
237
265
  "1000": "#c85701",
238
266
  "1100": "#a54703",
239
- "1200": "#341c10"
267
+ "1200": "#341c10",
268
+ solid: "#a54703"
240
269
  },
241
270
  "serious-alpha": {
242
271
  "100": "rgba(193, 68, 5, 0.016)",
@@ -264,7 +293,8 @@ var base = {
264
293
  "900": "#ff2b21",
265
294
  "1000": "#f30004",
266
295
  "1100": "#c90002",
267
- "1200": "#3d1611"
296
+ "1200": "#3d1611",
297
+ solid: "#c90002"
268
298
  },
269
299
  "danger-alpha": {
270
300
  "100": "rgba(172, 5, 5, 0.012)",
@@ -507,7 +537,7 @@ var component = {
507
537
  primary: {
508
538
  backgroundColor: "#222222",
509
539
  textColor: "#fcfcfc",
510
- borderRadius: "0.25rem",
540
+ borderRadius: "0.5rem",
511
541
  font: "500 1rem/1.5rem 'Inter', sans-serif"
512
542
  },
513
543
  hover: {
@@ -520,21 +550,21 @@ var component = {
520
550
  outline: "0.125rem solid #222222"
521
551
  },
522
552
  disabled: {
523
- backgroundColor: "#f2f2f2",
553
+ backgroundColor: "rgba(34, 34, 34, 0.059)",
524
554
  textColor: "rgba(34, 34, 34, 0.208)"
525
555
  },
526
556
  variants: {
527
557
  secondary: {
528
- backgroundColor: "#f2f2f2",
558
+ backgroundColor: "rgba(34, 34, 34, 0.059)",
529
559
  textColor: "#222222",
530
560
  hover: {
531
- backgroundColor: "#ebebeb"
561
+ backgroundColor: "rgba(34, 34, 34, 0.09)"
532
562
  },
533
563
  active: {
534
- backgroundColor: "#e4e4e4"
564
+ backgroundColor: "rgba(34, 34, 34, 0.122)"
535
565
  },
536
566
  disabled: {
537
- backgroundColor: "#f2f2f2",
567
+ backgroundColor: "rgba(34, 34, 34, 0.059)",
538
568
  textColor: "rgba(34, 34, 34, 0.208)"
539
569
  }
540
570
  },
@@ -542,10 +572,10 @@ var component = {
542
572
  backgroundColor: "transparent",
543
573
  textColor: "#222222",
544
574
  hover: {
545
- backgroundColor: "#f2f2f2"
575
+ backgroundColor: "rgba(34, 34, 34, 0.059)"
546
576
  },
547
577
  active: {
548
- backgroundColor: "#ebebeb"
578
+ backgroundColor: "rgba(34, 34, 34, 0.09)"
549
579
  },
550
580
  disabled: {
551
581
  backgroundColor: "transparent",
@@ -562,7 +592,7 @@ var component = {
562
592
  backgroundColor: "color-mix(in srgb, #0162bf, #fcfcfc calc(0.12 * 100%))"
563
593
  },
564
594
  disabled: {
565
- backgroundColor: "#f2f2f2",
595
+ backgroundColor: "rgba(34, 34, 34, 0.059)",
566
596
  textColor: "rgba(34, 34, 34, 0.208)"
567
597
  }
568
598
  },
@@ -576,7 +606,7 @@ var component = {
576
606
  backgroundColor: "color-mix(in srgb, #c90002, #fcfcfc calc(0.12 * 100%))"
577
607
  },
578
608
  disabled: {
579
- backgroundColor: "#f2f2f2",
609
+ backgroundColor: "rgba(34, 34, 34, 0.059)",
580
610
  textColor: "rgba(34, 34, 34, 0.208)"
581
611
  }
582
612
  }
@@ -599,16 +629,16 @@ var component = {
599
629
  size: "1.25rem"
600
630
  },
601
631
  "default": {
602
- backgroundColor: "#f2f2f2",
632
+ backgroundColor: "rgba(34, 34, 34, 0.059)",
603
633
  textColor: "#222222",
604
- borderRadius: "0.75rem",
634
+ borderRadius: "10rem",
605
635
  font: "400 1rem/1.5rem 'Inter', sans-serif"
606
636
  },
607
637
  focus: {
608
638
  outline: "0.125rem solid #222222"
609
639
  },
610
640
  disabled: {
611
- backgroundColor: "#f2f2f2",
641
+ backgroundColor: "rgba(34, 34, 34, 0.059)",
612
642
  textColor: "rgba(34, 34, 34, 0.208)"
613
643
  },
614
644
  variants: {
@@ -619,7 +649,7 @@ var component = {
619
649
  backgroundColor: "#fcfcfc"
620
650
  },
621
651
  active: {
622
- backgroundColor: "#f2f2f2"
652
+ backgroundColor: "rgba(34, 34, 34, 0.059)"
623
653
  },
624
654
  disabled: {
625
655
  backgroundColor: "#ffffff",
@@ -635,7 +665,7 @@ var component = {
635
665
  },
636
666
  iconButton: {
637
667
  primary: {
638
- borderRadius: "0.25rem"
668
+ borderRadius: "0.5rem"
639
669
  },
640
670
  focus: {
641
671
  outline: "0.125rem solid #222222"
@@ -656,7 +686,7 @@ var component = {
656
686
  }
657
687
  },
658
688
  progressBar: {
659
- backgroundColor: "#f2f2f2",
689
+ backgroundColor: "rgba(34, 34, 34, 0.059)",
660
690
  sizes: {
661
691
  sm: {
662
692
  height: "0.25rem"
@@ -677,7 +707,7 @@ var component = {
677
707
  backgroundColor: "#ffffff",
678
708
  textColor: "#222222",
679
709
  borderColor: "#909090",
680
- borderRadius: "0.25rem",
710
+ borderRadius: "0.5rem",
681
711
  borderWidth: "0.0625rem",
682
712
  font: "400 1rem/1.5rem 'Inter', sans-serif"
683
713
  },
@@ -702,7 +732,7 @@ var component = {
702
732
  }
703
733
  },
704
734
  disabled: {
705
- backgroundColor: "#f2f2f2",
735
+ backgroundColor: "rgba(34, 34, 34, 0.059)",
706
736
  textColor: "rgba(34, 34, 34, 0.208)",
707
737
  borderColor: "#d1d1d1"
708
738
  },
@@ -750,19 +780,19 @@ var component = {
750
780
  alert: {
751
781
  severity: {
752
782
  error: {
753
- background: "#faf0ee",
783
+ background: "rgba(180, 31, 1, 0.067)",
754
784
  text: "#c90002"
755
785
  },
756
786
  warning: {
757
- background: "#faf1e3",
787
+ background: "rgba(210, 128, 0, 0.11)",
758
788
  text: "#835c00"
759
789
  },
760
790
  info: {
761
- background: "#edf3fa",
791
+ background: "rgba(1, 86, 185, 0.071)",
762
792
  text: "#0162bf"
763
793
  },
764
794
  success: {
765
- background: "#dbf9e8",
795
+ background: "rgba(1, 213, 93, 0.142)",
766
796
  text: "#017249"
767
797
  }
768
798
  },
@@ -863,7 +893,8 @@ var component = {
863
893
  },
864
894
  checkbox: {
865
895
  box: {
866
- size: "1.25rem"
896
+ size: "1.25rem",
897
+ borderRadius: "0.25rem"
867
898
  },
868
899
  row: {
869
900
  minHeight: "2rem"
@@ -895,31 +926,34 @@ var component = {
895
926
  status: {
896
927
  pending: {
897
928
  text: "#636363",
898
- background: "#f2f2f2"
929
+ background: "rgba(34, 34, 34, 0.059)"
899
930
  },
900
931
  completed: {
901
932
  text: "#017249",
902
- background: "#dbf9e8"
933
+ background: "rgba(1, 213, 93, 0.142)"
903
934
  },
904
935
  failed: {
905
936
  text: "#c90002",
906
- background: "#faf0ee"
937
+ background: "rgba(180, 31, 1, 0.067)"
907
938
  },
908
939
  cancelled: {
909
940
  text: "#636363",
910
- background: "#f2f2f2"
941
+ background: "rgba(34, 34, 34, 0.059)"
911
942
  },
912
943
  processing: {
913
944
  text: "#0162bf",
914
- background: "#edf3fa"
945
+ background: "rgba(1, 86, 185, 0.071)"
915
946
  },
916
947
  scheduled: {
917
948
  text: "#636363",
918
- background: "#f2f2f2"
949
+ background: "rgba(34, 34, 34, 0.059)"
919
950
  }
920
951
  },
921
952
  track: {
922
- background: "#f2f2f2"
953
+ background: "rgba(34, 34, 34, 0.059)"
954
+ },
955
+ overlay: {
956
+ borderRadius: "1.5rem"
923
957
  }
924
958
  };
925
959
  var semantic = {
@@ -1058,6 +1092,7 @@ var semantic = {
1058
1092
  text: {
1059
1093
  "default": "#222222",
1060
1094
  inverse: "#fcfcfc",
1095
+ "on-fill": "#fcfcfc",
1061
1096
  disabled: "rgba(34, 34, 34, 0.208)",
1062
1097
  success: "#017249",
1063
1098
  warning: "#835c00",
@@ -1084,6 +1119,7 @@ var semantic = {
1084
1119
  "default": "#222222",
1085
1120
  disabled: "rgba(34, 34, 34, 0.208)",
1086
1121
  inverse: "#fcfcfc",
1122
+ "on-fill": "#fcfcfc",
1087
1123
  success: "#017249",
1088
1124
  warning: "#835c00",
1089
1125
  muted: "#636363",
@@ -1096,53 +1132,53 @@ var semantic = {
1096
1132
  gray: "#909090",
1097
1133
  "gray-strong": "#636363",
1098
1134
  "gray-text": "#636363",
1099
- "gray-muted": "#f2f2f2",
1135
+ "gray-muted": "rgba(34, 34, 34, 0.059)",
1100
1136
  olive: "#889903",
1101
1137
  "olive-strong": "#5d6900",
1102
1138
  "olive-text": "#5d6900",
1103
- "olive-muted": "#eff6d4",
1139
+ "olive-muted": "rgba(160, 202, 1, 0.169)",
1104
1140
  periwinkle: "#7a84ff",
1105
1141
  "periwinkle-strong": "#533eff",
1106
1142
  "periwinkle-text": "#533eff",
1107
- "periwinkle-muted": "#f0f2fa",
1143
+ "periwinkle-muted": "rgba(1, 35, 170, 0.059)",
1108
1144
  rose: "#ff4989",
1109
1145
  "rose-strong": "#c4005d",
1110
1146
  "rose-text": "#c4005d",
1111
- "rose-muted": "#faeff1",
1147
+ "rose-muted": "rgba(176, 1, 33, 0.063)",
1112
1148
  magenta: "#fd00fa",
1113
1149
  "magenta-strong": "#b100af",
1114
1150
  "magenta-text": "#b100af",
1115
- "magenta-muted": "#faeff9"
1151
+ "magenta-muted": "rgba(176, 1, 160, 0.063)"
1116
1152
  },
1117
1153
  fill: {
1118
1154
  emphasis: "#222222",
1119
- muted: "#f2f2f2",
1155
+ muted: "rgba(34, 34, 34, 0.059)",
1120
1156
  inverse: "#222222",
1121
1157
  accent: "#0162bf",
1122
- "accent-muted": "#edf3fa",
1123
- "accent-muted-hover": "#e3ecf8",
1124
- "accent-muted-pressed": "#d8e5f6",
1158
+ "accent-muted": "rgba(1, 86, 185, 0.071)",
1159
+ "accent-muted-hover": "rgba(0, 82, 191, 0.11)",
1160
+ "accent-muted-pressed": "rgba(0, 85, 196, 0.153)",
1125
1161
  "accent-hover": "color-mix(in srgb, #0162bf, #fcfcfc calc(0.08 * 100%))",
1126
1162
  "accent-pressed": "color-mix(in srgb, #0162bf, #fcfcfc calc(0.12 * 100%))",
1127
1163
  danger: "#c90002",
1128
1164
  "danger-hover": "color-mix(in srgb, #c90002, #fcfcfc calc(0.08 * 100%))",
1129
1165
  "danger-pressed": "color-mix(in srgb, #c90002, #fcfcfc calc(0.12 * 100%))",
1130
- "danger-muted": "#faf0ee",
1166
+ "danger-muted": "rgba(180, 31, 1, 0.067)",
1131
1167
  success: "#017249",
1132
- "success-muted": "#dbf9e8",
1168
+ "success-muted": "rgba(1, 213, 93, 0.142)",
1133
1169
  warning: "#835c00",
1134
- "warning-muted": "#faf1e3",
1135
- disabled: "#f2f2f2",
1136
- "default": "#f2f2f2",
1137
- "default-hover": "#ebebeb",
1138
- "default-pressed": "#e4e4e4",
1170
+ "warning-muted": "rgba(210, 128, 0, 0.11)",
1171
+ disabled: "rgba(34, 34, 34, 0.059)",
1172
+ "default": "rgba(34, 34, 34, 0.059)",
1173
+ "default-hover": "rgba(34, 34, 34, 0.09)",
1174
+ "default-pressed": "rgba(34, 34, 34, 0.122)",
1139
1175
  none: "transparent",
1140
- "none-hover": "rgba(34, 34, 34, 0.1)",
1141
- "none-pressed": "rgba(34, 34, 34, 0.15)",
1142
- "inverse-none-hover": "rgba(255, 255, 255, 0.2)",
1176
+ "none-hover": "rgba(34, 34, 34, 0.09)",
1177
+ "none-pressed": "rgba(34, 34, 34, 0.158)",
1178
+ "inverse-none-hover": "rgba(252, 252, 252, 0.208)",
1143
1179
  serious: "#a54703",
1144
- "serious-muted": "#faf0eb",
1145
- "ai-muted": "#f4f0fa"
1180
+ "serious-muted": "rgba(192, 65, 2, 0.079)",
1181
+ "ai-muted": "rgba(69, 1, 170, 0.059)"
1146
1182
  },
1147
1183
  data: {
1148
1184
  positive: "#009762",
@@ -1259,7 +1295,8 @@ var semantic = {
1259
1295
  surface: {
1260
1296
  base: "#fcfcfc",
1261
1297
  raised: "#ffffff",
1262
- scrim: "rgba(34, 34, 34, 0.5)"
1298
+ overlay: "#ffffff",
1299
+ scrim: "color-mix(in srgb, #222222 calc(0.5 * 100%), transparent)"
1263
1300
  }
1264
1301
  };
1265
1302
  var tokensJson = {
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../../src/types/tokens.ts","../../src/tokens.ts"],"sourcesContent":["import tokensJson from '../styles/tokens.json'\nimport type { Tokens } from '../styles/tokens'\n\n// The published types come from the generated `src/styles/tokens.ts`, which carries each token's\n// description as JSDoc and `@deprecated` on deprecated tokens (decision 0033, #199). Declaring the\n// constant with that type also keeps emitted .d.ts files free of JSON imports, which consumers can\n// only resolve with `resolveJsonModule`.\nexport const tokens: Tokens = tokensJson\n\nexport type { Tokens }\nexport type TokensBase = Tokens['base']\nexport type TokensSemantic = Tokens['semantic']\nexport type TokensComponent = Tokens['component']\n","// Tokens-only export for standalone usage\nimport { tokens } from './types/tokens'\n\nexport { tokens }\nexport default tokens\n\nexport type {\n Tokens,\n TokensBase,\n TokensSemantic,\n TokensComponent\n} from './types/tokens'\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA;AACA;AACA;AACA;AACO,IAAM,MAAM,GAAW;;ACP9B;;;;"}
1
+ {"version":3,"file":"index.mjs","sources":["../../src/types/tokens.ts","../../src/tokens.ts"],"sourcesContent":["import tokensJson from '../styles/tokens.json'\nimport type { Tokens } from '../styles/tokens'\n\n// The published types come from the generated `src/styles/tokens.ts`, which carries each token's\n// description as JSDoc and `@deprecated` on deprecated tokens (decision 0033, #199). Declaring the\n// constant with that type also keeps emitted .d.ts files free of JSON imports, which consumers can\n// only resolve with `resolveJsonModule`.\nexport const tokens: Tokens = tokensJson\n\nexport type { Tokens }\nexport type TokensBase = Tokens['base']\nexport type TokensSemantic = Tokens['semantic']\nexport type TokensComponent = Tokens['component']\n","// Tokens-only export for standalone usage\nimport { tokens } from './types/tokens'\n\nexport { tokens }\nexport default tokens\n\nexport type {\n Tokens,\n TokensBase,\n TokensSemantic,\n TokensComponent\n} from './types/tokens'\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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