@common-origin/design-system 3.1.0 → 3.3.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/dist/client.js +1050 -722
- package/dist/client.js.map +1 -1
- package/dist/components/atoms/Badge/Badge.d.mts +2 -2
- package/dist/components/atoms/Badge/Badge.d.ts +2 -2
- package/dist/components/atoms/Badge/Badge.mjs +15 -9
- package/dist/components/atoms/Box/Box.d.mts +3 -2
- package/dist/components/atoms/Box/Box.d.ts +3 -2
- package/dist/components/atoms/Button/Button.mjs +1 -1
- package/dist/components/atoms/Chip/shared/ChipBase.mjs +1 -1
- package/dist/components/atoms/Icon/Icon.d.mts +1 -1
- package/dist/components/atoms/Icon/Icon.d.ts +1 -1
- package/dist/components/atoms/Icon/Icon.mjs +35 -10
- package/dist/components/atoms/IconButton/IconButton.mjs +1 -1
- package/dist/components/atoms/ProgressBar/ProgressBar.d.mts +1 -1
- package/dist/components/atoms/ProgressBar/ProgressBar.d.ts +1 -1
- package/dist/components/atoms/Tag/Tag.d.mts +1 -1
- package/dist/components/atoms/Tag/Tag.d.ts +1 -1
- package/dist/components/atoms/Tooltip/Tooltip.d.mts +7 -1
- package/dist/components/atoms/Tooltip/Tooltip.d.ts +7 -1
- package/dist/components/atoms/Tooltip/Tooltip.mjs +18 -8
- package/dist/components/molecules/ActionSheet/ActionSheet.mjs +2 -2
- package/dist/components/molecules/Alert/Alert.mjs +1 -1
- package/dist/components/molecules/Checkbox/SelectableInputBase.mjs +1 -1
- package/dist/components/molecules/Dropdown/Dropdown.mjs +1 -1
- package/dist/components/molecules/List/ListItem.mjs +3 -3
- package/dist/components/molecules/Menu/Menu.d.mts +8 -1
- package/dist/components/molecules/Menu/Menu.d.ts +8 -1
- package/dist/components/molecules/Menu/Menu.mjs +12 -9
- package/dist/components/molecules/Modal/Modal.mjs +1 -1
- package/dist/components/molecules/NumberInput/NumberInput.mjs +2 -1
- package/dist/components/molecules/PasswordField/PasswordField.mjs +3 -2
- package/dist/components/molecules/SearchField/SearchField.mjs +3 -3
- package/dist/components/molecules/Sheet/Sheet.mjs +3 -3
- package/dist/components/molecules/SidebarNavItem/SidebarNavItem.d.mts +3 -2
- package/dist/components/molecules/SidebarNavItem/SidebarNavItem.d.ts +3 -2
- package/dist/components/molecules/SidebarNavItem/SidebarNavItem.mjs +128 -41
- package/dist/components/molecules/SidebarNavItem/sidebarNavMotion.d.mts +30 -0
- package/dist/components/molecules/SidebarNavItem/sidebarNavMotion.d.ts +30 -0
- package/dist/components/molecules/SidebarNavItem/sidebarNavMotion.mjs +69 -0
- package/dist/components/molecules/SidebarNavItem/sidebarNavMotion.mjs.map +1 -0
- package/dist/components/molecules/SidebarNavSection/SidebarNavSection.mjs +57 -43
- package/dist/components/molecules/TabBar/TabBar.mjs +3 -3
- package/dist/components/molecules/WorkspaceSwitcher/WorkspaceSwitcher.mjs +3 -1
- package/dist/components/organisms/SidebarNav/SidebarNav.mjs +173 -62
- package/dist/data.js +2680 -190
- package/dist/data.js.map +1 -1
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +1 -1
- package/dist/lib/statusShapes.mjs +1 -1
- package/dist/lib/statusShapes.mjs.map +1 -1
- package/dist/lib/styleUtils.d.mts +4 -0
- package/dist/lib/styleUtils.d.ts +4 -0
- package/dist/lib/styleUtils.mjs +5 -1
- package/dist/lib/styleUtils.mjs.map +1 -1
- package/dist/lib/tokenAliases.mjs +1 -0
- package/dist/lib/tokenAliases.mjs.map +1 -1
- package/dist/lib/useFloatingLayer.d.mts +8 -1
- package/dist/lib/useFloatingLayer.d.ts +8 -1
- package/dist/lib/useFloatingLayer.mjs +11 -2
- package/dist/lib/useFloatingLayer.mjs.map +1 -1
- package/dist/styles/iconSet.json.mjs +2442 -0
- package/dist/styles/iconSet.json.mjs.map +1 -0
- package/dist/styles/tokens.d.mts +93 -24
- package/dist/styles/tokens.d.ts +93 -24
- package/dist/styles/tokens.json +96 -59
- package/dist/styles/tokens.json.mjs +96 -59
- package/dist/styles/tokens.json.mjs.map +1 -1
- package/dist/tokens/index.js +96 -59
- package/dist/tokens/index.js.map +1 -1
- package/dist/tokens/index.mjs +96 -59
- package/dist/tokens/index.mjs.map +1 -1
- package/dist/tokens/styles/tokens.d.mts +93 -24
- package/dist/tokens/styles/tokens.d.ts +93 -24
- package/dist/tokens.css +1105 -74
- package/dist/types/iconSet.d.mts +6 -0
- package/dist/types/iconSet.d.ts +6 -0
- package/dist/types/iconSet.mjs +12 -0
- package/dist/types/iconSet.mjs.map +1 -0
- package/dist/types/icons.d.mts +58 -6
- package/dist/types/icons.d.ts +58 -6
- package/dist/types/icons.mjs +5 -0
- package/dist/types/icons.mjs.map +1 -1
- package/dist/types/index.d.mts +1 -0
- package/dist/types/index.d.ts +1 -0
- package/package.json +7 -3
package/dist/tokens/index.js
CHANGED
|
@@ -37,7 +37,8 @@ var base = {
|
|
|
37
37
|
"4": "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",
|
|
38
38
|
"5": "0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)",
|
|
39
39
|
"6": "0 25px 50px -12px rgba(0, 0, 0, 0.25)",
|
|
40
|
-
none: "none"
|
|
40
|
+
none: "none",
|
|
41
|
+
inset: "inset 0 2px 4px 0 rgba(0, 0, 0, 0.06)"
|
|
41
42
|
},
|
|
42
43
|
zIndex: {
|
|
43
44
|
"0": "0",
|
|
@@ -67,7 +68,8 @@ var base = {
|
|
|
67
68
|
"80": "0.8",
|
|
68
69
|
"90": "0.9",
|
|
69
70
|
"95": "0.95",
|
|
70
|
-
"100": "1"
|
|
71
|
+
"100": "1",
|
|
72
|
+
scrim: "0.5"
|
|
71
73
|
},
|
|
72
74
|
dimension: {
|
|
73
75
|
"0": "0",
|
|
@@ -116,6 +118,15 @@ var base = {
|
|
|
116
118
|
color: {
|
|
117
119
|
transparent: "transparent",
|
|
118
120
|
white: "#ffffff",
|
|
121
|
+
surface: {
|
|
122
|
+
page: "#fcfcfc",
|
|
123
|
+
raised: "#ffffff",
|
|
124
|
+
overlay: "#ffffff"
|
|
125
|
+
},
|
|
126
|
+
ink: {
|
|
127
|
+
light: "#fcfcfc",
|
|
128
|
+
dark: "#222222"
|
|
129
|
+
},
|
|
119
130
|
gray: {
|
|
120
131
|
"100": "#fcfcfc",
|
|
121
132
|
"200": "#f9f9f9",
|
|
@@ -144,6 +155,20 @@ var base = {
|
|
|
144
155
|
"1100": "rgba(34, 34, 34, 0.706)",
|
|
145
156
|
"1200": "rgba(34, 34, 34, 1)"
|
|
146
157
|
},
|
|
158
|
+
"gray-alpha-inverse": {
|
|
159
|
+
"100": "rgba(252, 252, 252, 0.014)",
|
|
160
|
+
"200": "rgba(252, 252, 252, 0.027)",
|
|
161
|
+
"300": "rgba(252, 252, 252, 0.059)",
|
|
162
|
+
"400": "rgba(252, 252, 252, 0.09)",
|
|
163
|
+
"500": "rgba(252, 252, 252, 0.122)",
|
|
164
|
+
"600": "rgba(252, 252, 252, 0.158)",
|
|
165
|
+
"700": "rgba(252, 252, 252, 0.208)",
|
|
166
|
+
"800": "rgba(252, 252, 252, 0.502)",
|
|
167
|
+
"900": "rgba(252, 252, 252, 0.557)",
|
|
168
|
+
"1000": "rgba(252, 252, 252, 0.606)",
|
|
169
|
+
"1100": "rgba(252, 252, 252, 0.706)",
|
|
170
|
+
"1200": "rgba(252, 252, 252, 1)"
|
|
171
|
+
},
|
|
147
172
|
accent: {
|
|
148
173
|
"100": "#fbfcfd",
|
|
149
174
|
"200": "#f7f9fc",
|
|
@@ -156,7 +181,8 @@ var base = {
|
|
|
156
181
|
"900": "#0082fc",
|
|
157
182
|
"1000": "#0278e7",
|
|
158
183
|
"1100": "#0162bf",
|
|
159
|
-
"1200": "#0f2339"
|
|
184
|
+
"1200": "#0f2339",
|
|
185
|
+
solid: "#0162bf"
|
|
160
186
|
},
|
|
161
187
|
"accent-alpha": {
|
|
162
188
|
"100": "rgba(5, 68, 130, 0.016)",
|
|
@@ -184,7 +210,8 @@ var base = {
|
|
|
184
210
|
"900": "#009762",
|
|
185
211
|
"1000": "#018b5a",
|
|
186
212
|
"1100": "#017249",
|
|
187
|
-
"1200": "#12261b"
|
|
213
|
+
"1200": "#12261b",
|
|
214
|
+
solid: "#017249"
|
|
188
215
|
},
|
|
189
216
|
"success-alpha": {
|
|
190
217
|
"100": "rgba(5, 172, 47, 0.024)",
|
|
@@ -212,7 +239,8 @@ var base = {
|
|
|
212
239
|
"900": "#ad7b00",
|
|
213
240
|
"1000": "#9f7102",
|
|
214
241
|
"1100": "#835c00",
|
|
215
|
-
"1200": "#292111"
|
|
242
|
+
"1200": "#292111",
|
|
243
|
+
solid: "#835c00"
|
|
216
244
|
},
|
|
217
245
|
"warning-alpha": {
|
|
218
246
|
"100": "rgba(155, 105, 5, 0.02)",
|
|
@@ -240,7 +268,8 @@ var base = {
|
|
|
240
268
|
"900": "#da5f00",
|
|
241
269
|
"1000": "#c85701",
|
|
242
270
|
"1100": "#a54703",
|
|
243
|
-
"1200": "#341c10"
|
|
271
|
+
"1200": "#341c10",
|
|
272
|
+
solid: "#a54703"
|
|
244
273
|
},
|
|
245
274
|
"serious-alpha": {
|
|
246
275
|
"100": "rgba(193, 68, 5, 0.016)",
|
|
@@ -268,7 +297,8 @@ var base = {
|
|
|
268
297
|
"900": "#ff2b21",
|
|
269
298
|
"1000": "#f30004",
|
|
270
299
|
"1100": "#c90002",
|
|
271
|
-
"1200": "#3d1611"
|
|
300
|
+
"1200": "#3d1611",
|
|
301
|
+
solid: "#c90002"
|
|
272
302
|
},
|
|
273
303
|
"danger-alpha": {
|
|
274
304
|
"100": "rgba(172, 5, 5, 0.012)",
|
|
@@ -511,7 +541,7 @@ var component = {
|
|
|
511
541
|
primary: {
|
|
512
542
|
backgroundColor: "#222222",
|
|
513
543
|
textColor: "#fcfcfc",
|
|
514
|
-
borderRadius: "0.
|
|
544
|
+
borderRadius: "0.5rem",
|
|
515
545
|
font: "500 1rem/1.5rem 'Inter', sans-serif"
|
|
516
546
|
},
|
|
517
547
|
hover: {
|
|
@@ -524,21 +554,21 @@ var component = {
|
|
|
524
554
|
outline: "0.125rem solid #222222"
|
|
525
555
|
},
|
|
526
556
|
disabled: {
|
|
527
|
-
backgroundColor: "
|
|
557
|
+
backgroundColor: "rgba(34, 34, 34, 0.059)",
|
|
528
558
|
textColor: "rgba(34, 34, 34, 0.208)"
|
|
529
559
|
},
|
|
530
560
|
variants: {
|
|
531
561
|
secondary: {
|
|
532
|
-
backgroundColor: "
|
|
562
|
+
backgroundColor: "rgba(34, 34, 34, 0.059)",
|
|
533
563
|
textColor: "#222222",
|
|
534
564
|
hover: {
|
|
535
|
-
backgroundColor: "
|
|
565
|
+
backgroundColor: "rgba(34, 34, 34, 0.09)"
|
|
536
566
|
},
|
|
537
567
|
active: {
|
|
538
|
-
backgroundColor: "
|
|
568
|
+
backgroundColor: "rgba(34, 34, 34, 0.122)"
|
|
539
569
|
},
|
|
540
570
|
disabled: {
|
|
541
|
-
backgroundColor: "
|
|
571
|
+
backgroundColor: "rgba(34, 34, 34, 0.059)",
|
|
542
572
|
textColor: "rgba(34, 34, 34, 0.208)"
|
|
543
573
|
}
|
|
544
574
|
},
|
|
@@ -546,10 +576,10 @@ var component = {
|
|
|
546
576
|
backgroundColor: "transparent",
|
|
547
577
|
textColor: "#222222",
|
|
548
578
|
hover: {
|
|
549
|
-
backgroundColor: "
|
|
579
|
+
backgroundColor: "rgba(34, 34, 34, 0.059)"
|
|
550
580
|
},
|
|
551
581
|
active: {
|
|
552
|
-
backgroundColor: "
|
|
582
|
+
backgroundColor: "rgba(34, 34, 34, 0.09)"
|
|
553
583
|
},
|
|
554
584
|
disabled: {
|
|
555
585
|
backgroundColor: "transparent",
|
|
@@ -566,7 +596,7 @@ var component = {
|
|
|
566
596
|
backgroundColor: "color-mix(in srgb, #0162bf, #fcfcfc calc(0.12 * 100%))"
|
|
567
597
|
},
|
|
568
598
|
disabled: {
|
|
569
|
-
backgroundColor: "
|
|
599
|
+
backgroundColor: "rgba(34, 34, 34, 0.059)",
|
|
570
600
|
textColor: "rgba(34, 34, 34, 0.208)"
|
|
571
601
|
}
|
|
572
602
|
},
|
|
@@ -580,7 +610,7 @@ var component = {
|
|
|
580
610
|
backgroundColor: "color-mix(in srgb, #c90002, #fcfcfc calc(0.12 * 100%))"
|
|
581
611
|
},
|
|
582
612
|
disabled: {
|
|
583
|
-
backgroundColor: "
|
|
613
|
+
backgroundColor: "rgba(34, 34, 34, 0.059)",
|
|
584
614
|
textColor: "rgba(34, 34, 34, 0.208)"
|
|
585
615
|
}
|
|
586
616
|
}
|
|
@@ -603,16 +633,16 @@ var component = {
|
|
|
603
633
|
size: "1.25rem"
|
|
604
634
|
},
|
|
605
635
|
"default": {
|
|
606
|
-
backgroundColor: "
|
|
636
|
+
backgroundColor: "rgba(34, 34, 34, 0.059)",
|
|
607
637
|
textColor: "#222222",
|
|
608
|
-
borderRadius: "
|
|
638
|
+
borderRadius: "10rem",
|
|
609
639
|
font: "400 1rem/1.5rem 'Inter', sans-serif"
|
|
610
640
|
},
|
|
611
641
|
focus: {
|
|
612
642
|
outline: "0.125rem solid #222222"
|
|
613
643
|
},
|
|
614
644
|
disabled: {
|
|
615
|
-
backgroundColor: "
|
|
645
|
+
backgroundColor: "rgba(34, 34, 34, 0.059)",
|
|
616
646
|
textColor: "rgba(34, 34, 34, 0.208)"
|
|
617
647
|
},
|
|
618
648
|
variants: {
|
|
@@ -623,7 +653,7 @@ var component = {
|
|
|
623
653
|
backgroundColor: "#fcfcfc"
|
|
624
654
|
},
|
|
625
655
|
active: {
|
|
626
|
-
backgroundColor: "
|
|
656
|
+
backgroundColor: "rgba(34, 34, 34, 0.059)"
|
|
627
657
|
},
|
|
628
658
|
disabled: {
|
|
629
659
|
backgroundColor: "#ffffff",
|
|
@@ -639,7 +669,7 @@ var component = {
|
|
|
639
669
|
},
|
|
640
670
|
iconButton: {
|
|
641
671
|
primary: {
|
|
642
|
-
borderRadius: "0.
|
|
672
|
+
borderRadius: "0.5rem"
|
|
643
673
|
},
|
|
644
674
|
focus: {
|
|
645
675
|
outline: "0.125rem solid #222222"
|
|
@@ -660,7 +690,7 @@ var component = {
|
|
|
660
690
|
}
|
|
661
691
|
},
|
|
662
692
|
progressBar: {
|
|
663
|
-
backgroundColor: "
|
|
693
|
+
backgroundColor: "rgba(34, 34, 34, 0.059)",
|
|
664
694
|
sizes: {
|
|
665
695
|
sm: {
|
|
666
696
|
height: "0.25rem"
|
|
@@ -681,7 +711,7 @@ var component = {
|
|
|
681
711
|
backgroundColor: "#ffffff",
|
|
682
712
|
textColor: "#222222",
|
|
683
713
|
borderColor: "#909090",
|
|
684
|
-
borderRadius: "0.
|
|
714
|
+
borderRadius: "0.5rem",
|
|
685
715
|
borderWidth: "0.0625rem",
|
|
686
716
|
font: "400 1rem/1.5rem 'Inter', sans-serif"
|
|
687
717
|
},
|
|
@@ -706,7 +736,7 @@ var component = {
|
|
|
706
736
|
}
|
|
707
737
|
},
|
|
708
738
|
disabled: {
|
|
709
|
-
backgroundColor: "
|
|
739
|
+
backgroundColor: "rgba(34, 34, 34, 0.059)",
|
|
710
740
|
textColor: "rgba(34, 34, 34, 0.208)",
|
|
711
741
|
borderColor: "#d1d1d1"
|
|
712
742
|
},
|
|
@@ -754,19 +784,19 @@ var component = {
|
|
|
754
784
|
alert: {
|
|
755
785
|
severity: {
|
|
756
786
|
error: {
|
|
757
|
-
background: "
|
|
787
|
+
background: "rgba(180, 31, 1, 0.067)",
|
|
758
788
|
text: "#c90002"
|
|
759
789
|
},
|
|
760
790
|
warning: {
|
|
761
|
-
background: "
|
|
791
|
+
background: "rgba(210, 128, 0, 0.11)",
|
|
762
792
|
text: "#835c00"
|
|
763
793
|
},
|
|
764
794
|
info: {
|
|
765
|
-
background: "
|
|
795
|
+
background: "rgba(1, 86, 185, 0.071)",
|
|
766
796
|
text: "#0162bf"
|
|
767
797
|
},
|
|
768
798
|
success: {
|
|
769
|
-
background: "
|
|
799
|
+
background: "rgba(1, 213, 93, 0.142)",
|
|
770
800
|
text: "#017249"
|
|
771
801
|
}
|
|
772
802
|
},
|
|
@@ -867,7 +897,8 @@ var component = {
|
|
|
867
897
|
},
|
|
868
898
|
checkbox: {
|
|
869
899
|
box: {
|
|
870
|
-
size: "1.25rem"
|
|
900
|
+
size: "1.25rem",
|
|
901
|
+
borderRadius: "0.25rem"
|
|
871
902
|
},
|
|
872
903
|
row: {
|
|
873
904
|
minHeight: "2rem"
|
|
@@ -899,31 +930,34 @@ var component = {
|
|
|
899
930
|
status: {
|
|
900
931
|
pending: {
|
|
901
932
|
text: "#636363",
|
|
902
|
-
background: "
|
|
933
|
+
background: "rgba(34, 34, 34, 0.059)"
|
|
903
934
|
},
|
|
904
935
|
completed: {
|
|
905
936
|
text: "#017249",
|
|
906
|
-
background: "
|
|
937
|
+
background: "rgba(1, 213, 93, 0.142)"
|
|
907
938
|
},
|
|
908
939
|
failed: {
|
|
909
940
|
text: "#c90002",
|
|
910
|
-
background: "
|
|
941
|
+
background: "rgba(180, 31, 1, 0.067)"
|
|
911
942
|
},
|
|
912
943
|
cancelled: {
|
|
913
944
|
text: "#636363",
|
|
914
|
-
background: "
|
|
945
|
+
background: "rgba(34, 34, 34, 0.059)"
|
|
915
946
|
},
|
|
916
947
|
processing: {
|
|
917
948
|
text: "#0162bf",
|
|
918
|
-
background: "
|
|
949
|
+
background: "rgba(1, 86, 185, 0.071)"
|
|
919
950
|
},
|
|
920
951
|
scheduled: {
|
|
921
952
|
text: "#636363",
|
|
922
|
-
background: "
|
|
953
|
+
background: "rgba(34, 34, 34, 0.059)"
|
|
923
954
|
}
|
|
924
955
|
},
|
|
925
956
|
track: {
|
|
926
|
-
background: "
|
|
957
|
+
background: "rgba(34, 34, 34, 0.059)"
|
|
958
|
+
},
|
|
959
|
+
overlay: {
|
|
960
|
+
borderRadius: "1.5rem"
|
|
927
961
|
}
|
|
928
962
|
};
|
|
929
963
|
var semantic = {
|
|
@@ -1062,6 +1096,7 @@ var semantic = {
|
|
|
1062
1096
|
text: {
|
|
1063
1097
|
"default": "#222222",
|
|
1064
1098
|
inverse: "#fcfcfc",
|
|
1099
|
+
"on-fill": "#fcfcfc",
|
|
1065
1100
|
disabled: "rgba(34, 34, 34, 0.208)",
|
|
1066
1101
|
success: "#017249",
|
|
1067
1102
|
warning: "#835c00",
|
|
@@ -1088,6 +1123,7 @@ var semantic = {
|
|
|
1088
1123
|
"default": "#222222",
|
|
1089
1124
|
disabled: "rgba(34, 34, 34, 0.208)",
|
|
1090
1125
|
inverse: "#fcfcfc",
|
|
1126
|
+
"on-fill": "#fcfcfc",
|
|
1091
1127
|
success: "#017249",
|
|
1092
1128
|
warning: "#835c00",
|
|
1093
1129
|
muted: "#636363",
|
|
@@ -1100,53 +1136,53 @@ var semantic = {
|
|
|
1100
1136
|
gray: "#909090",
|
|
1101
1137
|
"gray-strong": "#636363",
|
|
1102
1138
|
"gray-text": "#636363",
|
|
1103
|
-
"gray-muted": "
|
|
1139
|
+
"gray-muted": "rgba(34, 34, 34, 0.059)",
|
|
1104
1140
|
olive: "#889903",
|
|
1105
1141
|
"olive-strong": "#5d6900",
|
|
1106
1142
|
"olive-text": "#5d6900",
|
|
1107
|
-
"olive-muted": "
|
|
1143
|
+
"olive-muted": "rgba(160, 202, 1, 0.169)",
|
|
1108
1144
|
periwinkle: "#7a84ff",
|
|
1109
1145
|
"periwinkle-strong": "#533eff",
|
|
1110
1146
|
"periwinkle-text": "#533eff",
|
|
1111
|
-
"periwinkle-muted": "
|
|
1147
|
+
"periwinkle-muted": "rgba(1, 35, 170, 0.059)",
|
|
1112
1148
|
rose: "#ff4989",
|
|
1113
1149
|
"rose-strong": "#c4005d",
|
|
1114
1150
|
"rose-text": "#c4005d",
|
|
1115
|
-
"rose-muted": "
|
|
1151
|
+
"rose-muted": "rgba(176, 1, 33, 0.063)",
|
|
1116
1152
|
magenta: "#fd00fa",
|
|
1117
1153
|
"magenta-strong": "#b100af",
|
|
1118
1154
|
"magenta-text": "#b100af",
|
|
1119
|
-
"magenta-muted": "
|
|
1155
|
+
"magenta-muted": "rgba(176, 1, 160, 0.063)"
|
|
1120
1156
|
},
|
|
1121
1157
|
fill: {
|
|
1122
1158
|
emphasis: "#222222",
|
|
1123
|
-
muted: "
|
|
1159
|
+
muted: "rgba(34, 34, 34, 0.059)",
|
|
1124
1160
|
inverse: "#222222",
|
|
1125
1161
|
accent: "#0162bf",
|
|
1126
|
-
"accent-muted": "
|
|
1127
|
-
"accent-muted-hover": "
|
|
1128
|
-
"accent-muted-pressed": "
|
|
1162
|
+
"accent-muted": "rgba(1, 86, 185, 0.071)",
|
|
1163
|
+
"accent-muted-hover": "rgba(0, 82, 191, 0.11)",
|
|
1164
|
+
"accent-muted-pressed": "rgba(0, 85, 196, 0.153)",
|
|
1129
1165
|
"accent-hover": "color-mix(in srgb, #0162bf, #fcfcfc calc(0.08 * 100%))",
|
|
1130
1166
|
"accent-pressed": "color-mix(in srgb, #0162bf, #fcfcfc calc(0.12 * 100%))",
|
|
1131
1167
|
danger: "#c90002",
|
|
1132
1168
|
"danger-hover": "color-mix(in srgb, #c90002, #fcfcfc calc(0.08 * 100%))",
|
|
1133
1169
|
"danger-pressed": "color-mix(in srgb, #c90002, #fcfcfc calc(0.12 * 100%))",
|
|
1134
|
-
"danger-muted": "
|
|
1170
|
+
"danger-muted": "rgba(180, 31, 1, 0.067)",
|
|
1135
1171
|
success: "#017249",
|
|
1136
|
-
"success-muted": "
|
|
1172
|
+
"success-muted": "rgba(1, 213, 93, 0.142)",
|
|
1137
1173
|
warning: "#835c00",
|
|
1138
|
-
"warning-muted": "
|
|
1139
|
-
disabled: "
|
|
1140
|
-
"default": "
|
|
1141
|
-
"default-hover": "
|
|
1142
|
-
"default-pressed": "
|
|
1174
|
+
"warning-muted": "rgba(210, 128, 0, 0.11)",
|
|
1175
|
+
disabled: "rgba(34, 34, 34, 0.059)",
|
|
1176
|
+
"default": "rgba(34, 34, 34, 0.059)",
|
|
1177
|
+
"default-hover": "rgba(34, 34, 34, 0.09)",
|
|
1178
|
+
"default-pressed": "rgba(34, 34, 34, 0.122)",
|
|
1143
1179
|
none: "transparent",
|
|
1144
|
-
"none-hover": "rgba(34, 34, 34, 0.
|
|
1145
|
-
"none-pressed": "rgba(34, 34, 34, 0.
|
|
1146
|
-
"inverse-none-hover": "rgba(
|
|
1180
|
+
"none-hover": "rgba(34, 34, 34, 0.09)",
|
|
1181
|
+
"none-pressed": "rgba(34, 34, 34, 0.158)",
|
|
1182
|
+
"inverse-none-hover": "rgba(252, 252, 252, 0.208)",
|
|
1147
1183
|
serious: "#a54703",
|
|
1148
|
-
"serious-muted": "
|
|
1149
|
-
"ai-muted": "
|
|
1184
|
+
"serious-muted": "rgba(192, 65, 2, 0.079)",
|
|
1185
|
+
"ai-muted": "rgba(69, 1, 170, 0.059)"
|
|
1150
1186
|
},
|
|
1151
1187
|
data: {
|
|
1152
1188
|
positive: "#009762",
|
|
@@ -1263,7 +1299,8 @@ var semantic = {
|
|
|
1263
1299
|
surface: {
|
|
1264
1300
|
base: "#fcfcfc",
|
|
1265
1301
|
raised: "#ffffff",
|
|
1266
|
-
|
|
1302
|
+
overlay: "#ffffff",
|
|
1303
|
+
scrim: "color-mix(in srgb, #222222 calc(0.5 * 100%), transparent)"
|
|
1267
1304
|
}
|
|
1268
1305
|
};
|
|
1269
1306
|
var tokensJson = {
|
package/dist/tokens/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","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":"
|
|
1
|
+
{"version":3,"file":"index.js","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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA;AACA;AACA;AACA;AACO,IAAM,MAAM,GAAW;;ACP9B;;;;;"}
|