sherick-ui 2.2.0 → 2.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/README.md +1 -1
- package/dist/cjs/components/Badge.cjs +1 -1
- package/dist/cjs/components/Badge.cjs.map +1 -1
- package/dist/cjs/components/Button.cjs +11 -2
- package/dist/cjs/components/Button.cjs.map +1 -1
- package/dist/cjs/components/Calendar.cjs +2 -2
- package/dist/cjs/components/Calendar.cjs.map +1 -1
- package/dist/cjs/components/Card.cjs +3 -2
- package/dist/cjs/components/Card.cjs.map +1 -1
- package/dist/cjs/components/Chip.cjs +3 -3
- package/dist/cjs/components/Chip.cjs.map +1 -1
- package/dist/cjs/components/Combobox.cjs +1 -1
- package/dist/cjs/components/Combobox.cjs.map +1 -1
- package/dist/cjs/components/Command.cjs +2 -2
- package/dist/cjs/components/Command.cjs.map +1 -1
- package/dist/cjs/components/CommandPalette.cjs +1 -1
- package/dist/cjs/components/CommandPalette.cjs.map +1 -1
- package/dist/cjs/components/DateRangePicker.cjs +1 -1
- package/dist/cjs/components/DateRangePicker.cjs.map +1 -1
- package/dist/cjs/components/DialogHeader.cjs +1 -1
- package/dist/cjs/components/DialogHeader.cjs.map +1 -1
- package/dist/cjs/components/Drawer.cjs +1 -1
- package/dist/cjs/components/Drawer.cjs.map +1 -1
- package/dist/cjs/components/Field.cjs +1 -1
- package/dist/cjs/components/Field.cjs.map +1 -1
- package/dist/cjs/components/FileUpload.cjs +2 -2
- package/dist/cjs/components/FileUpload.cjs.map +1 -1
- package/dist/cjs/components/IconButton.cjs +1 -1
- package/dist/cjs/components/IconButton.cjs.map +1 -1
- package/dist/cjs/components/Input.cjs +1 -1
- package/dist/cjs/components/Input.cjs.map +1 -1
- package/dist/cjs/components/NavItem.cjs +3 -3
- package/dist/cjs/components/NavItem.cjs.map +1 -1
- package/dist/cjs/components/NumberField.cjs +1 -1
- package/dist/cjs/components/NumberField.cjs.map +1 -1
- package/dist/cjs/components/Pagination.cjs +1 -1
- package/dist/cjs/components/Pagination.cjs.map +1 -1
- package/dist/cjs/components/Progress.cjs +7 -4
- package/dist/cjs/components/Progress.cjs.map +1 -1
- package/dist/cjs/components/Select.cjs +1 -1
- package/dist/cjs/components/Select.cjs.map +1 -1
- package/dist/cjs/components/Slider.cjs +1 -1
- package/dist/cjs/components/Slider.cjs.map +1 -1
- package/dist/cjs/components/Stepper.cjs +5 -1
- package/dist/cjs/components/Stepper.cjs.map +1 -1
- package/dist/cjs/components/Table.cjs +1 -1
- package/dist/cjs/components/Table.cjs.map +1 -1
- package/dist/cjs/components/Tabs.cjs +1 -1
- package/dist/cjs/components/Tabs.cjs.map +1 -1
- package/dist/cjs/components/Textarea.cjs +1 -1
- package/dist/cjs/components/Textarea.cjs.map +1 -1
- package/dist/cjs/components/Toast.cjs +5 -2
- package/dist/cjs/components/Toast.cjs.map +1 -1
- package/dist/cjs/components/Tooltip.cjs +1 -1
- package/dist/cjs/components/Tooltip.cjs.map +1 -1
- package/dist/cjs/components/TreeView.cjs +43 -10
- package/dist/cjs/components/TreeView.cjs.map +1 -1
- package/dist/cjs/components/ui.common.cjs +100 -45
- package/dist/cjs/components/ui.common.cjs.map +1 -1
- package/dist/cjs/components/ui.motion.cjs +37 -13
- package/dist/cjs/components/ui.motion.cjs.map +1 -1
- package/dist/cjs/dev.cjs +8 -0
- package/dist/cjs/dev.cjs.map +1 -1
- package/dist/esm/components/Badge.js +2 -2
- package/dist/esm/components/Badge.js.map +1 -1
- package/dist/esm/components/Button.js +12 -3
- package/dist/esm/components/Button.js.map +1 -1
- package/dist/esm/components/Calendar.js +3 -3
- package/dist/esm/components/Calendar.js.map +1 -1
- package/dist/esm/components/Card.js +4 -3
- package/dist/esm/components/Card.js.map +1 -1
- package/dist/esm/components/Chip.js +3 -3
- package/dist/esm/components/Chip.js.map +1 -1
- package/dist/esm/components/CodeBlock.js +5 -4
- package/dist/esm/components/CodeBlock.js.map +1 -1
- package/dist/esm/components/Combobox.js +2 -2
- package/dist/esm/components/Combobox.js.map +1 -1
- package/dist/esm/components/Command.js +3 -3
- package/dist/esm/components/Command.js.map +1 -1
- package/dist/esm/components/CommandPalette.js +2 -2
- package/dist/esm/components/CommandPalette.js.map +1 -1
- package/dist/esm/components/DateRangePicker.js +2 -2
- package/dist/esm/components/DateRangePicker.js.map +1 -1
- package/dist/esm/components/DialogHeader.js +2 -2
- package/dist/esm/components/DialogHeader.js.map +1 -1
- package/dist/esm/components/Drawer.js +2 -2
- package/dist/esm/components/Drawer.js.map +1 -1
- package/dist/esm/components/Field.js +2 -2
- package/dist/esm/components/Field.js.map +1 -1
- package/dist/esm/components/FileUpload.js +3 -3
- package/dist/esm/components/FileUpload.js.map +1 -1
- package/dist/esm/components/IconButton.js +1 -1
- package/dist/esm/components/IconButton.js.map +1 -1
- package/dist/esm/components/Input.js +2 -2
- package/dist/esm/components/Input.js.map +1 -1
- package/dist/esm/components/Markdown.js +3 -2
- package/dist/esm/components/Markdown.js.map +1 -1
- package/dist/esm/components/NavItem.js +5 -5
- package/dist/esm/components/NavItem.js.map +1 -1
- package/dist/esm/components/NumberField.js +2 -2
- package/dist/esm/components/NumberField.js.map +1 -1
- package/dist/esm/components/Pagination.js +2 -2
- package/dist/esm/components/Pagination.js.map +1 -1
- package/dist/esm/components/Progress.js +8 -5
- package/dist/esm/components/Progress.js.map +1 -1
- package/dist/esm/components/Select.js +2 -2
- package/dist/esm/components/Select.js.map +1 -1
- package/dist/esm/components/Slider.js +1 -1
- package/dist/esm/components/Slider.js.map +1 -1
- package/dist/esm/components/Stepper.js +6 -2
- package/dist/esm/components/Stepper.js.map +1 -1
- package/dist/esm/components/Table.js +2 -2
- package/dist/esm/components/Table.js.map +1 -1
- package/dist/esm/components/Tabs.js +2 -2
- package/dist/esm/components/Tabs.js.map +1 -1
- package/dist/esm/components/Textarea.js +2 -2
- package/dist/esm/components/Textarea.js.map +1 -1
- package/dist/esm/components/Toast.js +6 -3
- package/dist/esm/components/Toast.js.map +1 -1
- package/dist/esm/components/Tooltip.js +2 -2
- package/dist/esm/components/Tooltip.js.map +1 -1
- package/dist/esm/components/TreeView.js +45 -12
- package/dist/esm/components/TreeView.js.map +1 -1
- package/dist/esm/components/ui.common.js +98 -47
- package/dist/esm/components/ui.common.js.map +1 -1
- package/dist/esm/components/ui.motion.js +34 -14
- package/dist/esm/components/ui.motion.js.map +1 -1
- package/dist/esm/dev.js +2 -2
- package/dist/styles.css +150 -63
- package/dist/theme.css +33 -4
- package/dist/types/dev.d.cts +55 -36
- package/dist/types/dev.d.ts +55 -36
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -13,7 +13,14 @@
|
|
|
13
13
|
--sui-detail: 0.600 0.016 258;
|
|
14
14
|
--sui-primary: 0.422 0.139 255;
|
|
15
15
|
--sui-primary-strong: 0.402 0.143 257;
|
|
16
|
-
--sui-primary-soft: 0.
|
|
16
|
+
--sui-primary-soft: 0.920 0.035 255;
|
|
17
|
+
--sui-primary-selected: 0.860 0.055 255;
|
|
18
|
+
--sui-danger-soft: 0.930 0.030 18;
|
|
19
|
+
--sui-danger-selected: 0.870 0.050 18;
|
|
20
|
+
--sui-warning-soft: 0.940 0.045 85;
|
|
21
|
+
--sui-warning-selected: 0.885 0.070 82;
|
|
22
|
+
--sui-success-soft: 0.935 0.037 155;
|
|
23
|
+
--sui-success-selected: 0.875 0.055 155;
|
|
17
24
|
--sui-accent: 0.62 0.10 215;
|
|
18
25
|
--sui-danger: 0.439 0.170 25;
|
|
19
26
|
--sui-warning: 0.388 0.082 75;
|
|
@@ -29,7 +36,7 @@
|
|
|
29
36
|
--sui-light-top: 1 0 0;
|
|
30
37
|
--sui-light-bottom: 0.32 0.02 256;
|
|
31
38
|
--sui-elevation-flat: none;
|
|
32
|
-
--sui-elevation-raised: 0 1px 2px oklch(var(--sui-light-bottom) / 0.16), 0
|
|
39
|
+
--sui-elevation-raised: 0 1px 2px oklch(var(--sui-light-bottom) / 0.16), 0 2px 6px oklch(var(--sui-light-bottom) / 0.07);
|
|
33
40
|
--sui-elevation-floating: 0 16px 40px oklch(var(--sui-light-bottom) / 0.20), inset 0 1px 0 oklch(var(--sui-light-top) / 0.70);
|
|
34
41
|
--sui-elevation-control: 0 1px 2px oklch(var(--sui-light-bottom) / 0.19), inset 0 1px 0 oklch(var(--sui-light-top) / 0.55);
|
|
35
42
|
--sui-elevation-recessed: inset 0 1px 3px oklch(var(--sui-light-bottom) / 0.22), inset 0 -1px 0 oklch(var(--sui-light-top) / 0.50);
|
|
@@ -73,7 +80,14 @@
|
|
|
73
80
|
--sui-detail: 0.600 0.014 256;
|
|
74
81
|
--sui-primary: 0.809 0.098 255;
|
|
75
82
|
--sui-primary-strong: 0.734 0.139 257;
|
|
76
|
-
--sui-primary-soft: 0.
|
|
83
|
+
--sui-primary-soft: 0.325 0.050 257;
|
|
84
|
+
--sui-primary-selected: 0.400 0.075 257;
|
|
85
|
+
--sui-danger-soft: 0.315 0.050 22;
|
|
86
|
+
--sui-danger-selected: 0.395 0.070 22;
|
|
87
|
+
--sui-warning-soft: 0.320 0.045 78;
|
|
88
|
+
--sui-warning-selected: 0.400 0.065 78;
|
|
89
|
+
--sui-success-soft: 0.315 0.045 160;
|
|
90
|
+
--sui-success-selected: 0.395 0.065 160;
|
|
77
91
|
--sui-accent: 0.80 0.08 215;
|
|
78
92
|
--sui-danger: 0.799 0.115 25;
|
|
79
93
|
--sui-warning: 0.82 0.12 80;
|
|
@@ -134,7 +148,14 @@
|
|
|
134
148
|
--sui-detail: 0.600 0.014 256;
|
|
135
149
|
--sui-primary: 0.809 0.098 255;
|
|
136
150
|
--sui-primary-strong: 0.734 0.139 257;
|
|
137
|
-
--sui-primary-soft: 0.
|
|
151
|
+
--sui-primary-soft: 0.325 0.050 257;
|
|
152
|
+
--sui-primary-selected: 0.400 0.075 257;
|
|
153
|
+
--sui-danger-soft: 0.315 0.050 22;
|
|
154
|
+
--sui-danger-selected: 0.395 0.070 22;
|
|
155
|
+
--sui-warning-soft: 0.320 0.045 78;
|
|
156
|
+
--sui-warning-selected: 0.400 0.065 78;
|
|
157
|
+
--sui-success-soft: 0.315 0.045 160;
|
|
158
|
+
--sui-success-selected: 0.395 0.065 160;
|
|
138
159
|
--sui-accent: 0.80 0.08 215;
|
|
139
160
|
--sui-danger: 0.799 0.115 25;
|
|
140
161
|
--sui-warning: 0.82 0.12 80;
|
|
@@ -184,11 +205,19 @@
|
|
|
184
205
|
}
|
|
185
206
|
|
|
186
207
|
:root {
|
|
208
|
+
--sui-font-mono: ui-monospace, "SF Mono", SFMono-Regular, "Cascadia Code", "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;
|
|
187
209
|
--sui-duration-press: 150ms;
|
|
188
210
|
--sui-duration-release: 200ms;
|
|
211
|
+
--sui-duration-tactile: 80ms;
|
|
189
212
|
--sui-duration-overlay: 240ms;
|
|
190
213
|
--sui-duration-overlay-exit: 160ms;
|
|
214
|
+
--sui-duration-travel: 300ms;
|
|
215
|
+
--sui-duration-sheet: 320ms;
|
|
216
|
+
--sui-duration-sheet-exit: 200ms;
|
|
191
217
|
--sui-duration-activity: 1400ms;
|
|
218
|
+
--sui-duration-spin: 1000ms;
|
|
219
|
+
--sui-duration-pulse: 2000ms;
|
|
220
|
+
--sui-ease-pulse: cubic-bezier(0.4, 0, 0.6, 1);
|
|
192
221
|
--sui-ease-press: cubic-bezier(0.4, 0, 0.2, 1);
|
|
193
222
|
--sui-ease-release: cubic-bezier(0.16, 1, 0.3, 1);
|
|
194
223
|
--sui-ease-exit: cubic-bezier(0.4, 0, 1, 1);
|
|
@@ -362,9 +391,9 @@
|
|
|
362
391
|
margin-top: -0.625rem;
|
|
363
392
|
margin-bottom: -0.625rem
|
|
364
393
|
}
|
|
365
|
-
:where(.sui-scope).-my
|
|
366
|
-
margin-top: -0.
|
|
367
|
-
margin-bottom: -0.
|
|
394
|
+
:where(.sui-scope).-my-\[0\.6875rem\] {
|
|
395
|
+
margin-top: -0.6875rem;
|
|
396
|
+
margin-bottom: -0.6875rem
|
|
368
397
|
}
|
|
369
398
|
:where(.sui-scope).mx-3 {
|
|
370
399
|
margin-left: 0.75rem;
|
|
@@ -536,6 +565,10 @@
|
|
|
536
565
|
width: 2rem;
|
|
537
566
|
height: 2rem
|
|
538
567
|
}
|
|
568
|
+
:where(.sui-scope).size-full {
|
|
569
|
+
width: 100%;
|
|
570
|
+
height: 100%
|
|
571
|
+
}
|
|
539
572
|
:where(.sui-scope).h-0 {
|
|
540
573
|
height: 0px
|
|
541
574
|
}
|
|
@@ -560,6 +593,9 @@
|
|
|
560
593
|
:where(.sui-scope).h-8 {
|
|
561
594
|
height: 2rem
|
|
562
595
|
}
|
|
596
|
+
:where(.sui-scope).h-\[1\.375rem\] {
|
|
597
|
+
height: 1.375rem
|
|
598
|
+
}
|
|
563
599
|
:where(.sui-scope).h-\[1lh\] {
|
|
564
600
|
height: 1lh
|
|
565
601
|
}
|
|
@@ -629,9 +665,6 @@
|
|
|
629
665
|
:where(.sui-scope).w-2\/5 {
|
|
630
666
|
width: 40%
|
|
631
667
|
}
|
|
632
|
-
:where(.sui-scope).w-3 {
|
|
633
|
-
width: 0.75rem
|
|
634
|
-
}
|
|
635
668
|
:where(.sui-scope).w-32 {
|
|
636
669
|
width: 8rem
|
|
637
670
|
}
|
|
@@ -785,7 +818,7 @@
|
|
|
785
818
|
}
|
|
786
819
|
}
|
|
787
820
|
:where(.sui-scope).animate-pulse {
|
|
788
|
-
animation: sherick-pulse
|
|
821
|
+
animation: sherick-pulse var(--sui-duration-pulse) var(--sui-ease-pulse) infinite
|
|
789
822
|
}
|
|
790
823
|
@keyframes sherick-indeterminate {
|
|
791
824
|
0% {
|
|
@@ -804,7 +837,7 @@
|
|
|
804
837
|
}
|
|
805
838
|
}
|
|
806
839
|
:where(.sui-scope).animate-spin {
|
|
807
|
-
animation: sherick-spin
|
|
840
|
+
animation: sherick-spin var(--sui-duration-spin) linear infinite
|
|
808
841
|
}
|
|
809
842
|
:where(.sui-scope).cursor-not-allowed {
|
|
810
843
|
cursor: not-allowed
|
|
@@ -836,8 +869,8 @@
|
|
|
836
869
|
:where(.sui-scope).grid-cols-\[0\.375rem_minmax\(0\2c 1fr\)\] {
|
|
837
870
|
grid-template-columns: 0.375rem minmax(0,1fr)
|
|
838
871
|
}
|
|
839
|
-
:where(.sui-scope).grid-cols-\[
|
|
840
|
-
grid-template-columns:
|
|
872
|
+
:where(.sui-scope).grid-cols-\[1\.25rem_minmax\(0\2c 1fr\)\] {
|
|
873
|
+
grid-template-columns: 1.25rem minmax(0,1fr)
|
|
841
874
|
}
|
|
842
875
|
:where(.sui-scope).grid-cols-\[repeat\(auto-fit\2c minmax\(min\(100\%\2c 14rem\)\2c 1fr\)\)\] {
|
|
843
876
|
grid-template-columns: repeat(auto-fit,minmax(min(100%, 14rem),1fr))
|
|
@@ -962,8 +995,8 @@
|
|
|
962
995
|
:where(.sui-scope).rounded-\[0\.625rem\] {
|
|
963
996
|
border-radius: 0.625rem
|
|
964
997
|
}
|
|
965
|
-
:where(.sui-scope).rounded-\[0\.
|
|
966
|
-
border-radius: 0.
|
|
998
|
+
:where(.sui-scope).rounded-\[0\.75rem\] {
|
|
999
|
+
border-radius: 0.75rem
|
|
967
1000
|
}
|
|
968
1001
|
:where(.sui-scope).rounded-\[1\.25rem\] {
|
|
969
1002
|
border-radius: 1.25rem
|
|
@@ -974,8 +1007,8 @@
|
|
|
974
1007
|
:where(.sui-scope).rounded-\[1\.75rem\] {
|
|
975
1008
|
border-radius: 1.75rem
|
|
976
1009
|
}
|
|
977
|
-
:where(.sui-scope).rounded-\[
|
|
978
|
-
border-radius:
|
|
1010
|
+
:where(.sui-scope).rounded-\[1rem\] {
|
|
1011
|
+
border-radius: 1rem
|
|
979
1012
|
}
|
|
980
1013
|
:where(.sui-scope).rounded-full {
|
|
981
1014
|
border-radius: 9999px
|
|
@@ -992,10 +1025,6 @@
|
|
|
992
1025
|
border-top-right-radius: 0px;
|
|
993
1026
|
border-bottom-right-radius: 0px
|
|
994
1027
|
}
|
|
995
|
-
:where(.sui-scope).rounded-s-none {
|
|
996
|
-
border-start-start-radius: 0px;
|
|
997
|
-
border-end-start-radius: 0px
|
|
998
|
-
}
|
|
999
1028
|
:where(.sui-scope).rounded-t-none {
|
|
1000
1029
|
border-top-left-radius: 0px;
|
|
1001
1030
|
border-top-right-radius: 0px
|
|
@@ -1054,18 +1083,20 @@
|
|
|
1054
1083
|
--tw-bg-opacity: 1;
|
|
1055
1084
|
background-color: oklch(var(--sui-danger) / var(--tw-bg-opacity, 1))
|
|
1056
1085
|
}
|
|
1086
|
+
:where(.sui-scope).bg-sherick-danger-selected {
|
|
1087
|
+
--tw-bg-opacity: 1;
|
|
1088
|
+
background-color: oklch(var(--sui-danger-selected) / var(--tw-bg-opacity, 1))
|
|
1089
|
+
}
|
|
1090
|
+
:where(.sui-scope).bg-sherick-danger-soft {
|
|
1091
|
+
--tw-bg-opacity: 1;
|
|
1092
|
+
background-color: oklch(var(--sui-danger-soft) / var(--tw-bg-opacity, 1))
|
|
1093
|
+
}
|
|
1057
1094
|
:where(.sui-scope).bg-sherick-danger\/\[0\.075\] {
|
|
1058
1095
|
background-color: oklch(var(--sui-danger) / 0.075)
|
|
1059
1096
|
}
|
|
1060
|
-
:where(.sui-scope).bg-sherick-danger\/\[0\.09\] {
|
|
1061
|
-
background-color: oklch(var(--sui-danger) / 0.09)
|
|
1062
|
-
}
|
|
1063
1097
|
:where(.sui-scope).bg-sherick-danger\/\[0\.13\] {
|
|
1064
1098
|
background-color: oklch(var(--sui-danger) / 0.13)
|
|
1065
1099
|
}
|
|
1066
|
-
:where(.sui-scope).bg-sherick-danger\/\[0\.16\] {
|
|
1067
|
-
background-color: oklch(var(--sui-danger) / 0.16)
|
|
1068
|
-
}
|
|
1069
1100
|
:where(.sui-scope).bg-sherick-detail {
|
|
1070
1101
|
--tw-bg-opacity: 1;
|
|
1071
1102
|
background-color: oklch(var(--sui-detail) / var(--tw-bg-opacity, 1))
|
|
@@ -1078,15 +1109,17 @@
|
|
|
1078
1109
|
--tw-bg-opacity: 1;
|
|
1079
1110
|
background-color: oklch(var(--sui-media) / var(--tw-bg-opacity, 1))
|
|
1080
1111
|
}
|
|
1081
|
-
:where(.sui-scope).bg-sherick-primary-
|
|
1112
|
+
:where(.sui-scope).bg-sherick-primary-selected {
|
|
1082
1113
|
--tw-bg-opacity: 1;
|
|
1083
|
-
background-color: oklch(var(--sui-primary-
|
|
1114
|
+
background-color: oklch(var(--sui-primary-selected) / var(--tw-bg-opacity, 1))
|
|
1084
1115
|
}
|
|
1085
|
-
:where(.sui-scope).bg-sherick-primary
|
|
1086
|
-
|
|
1116
|
+
:where(.sui-scope).bg-sherick-primary-soft {
|
|
1117
|
+
--tw-bg-opacity: 1;
|
|
1118
|
+
background-color: oklch(var(--sui-primary-soft) / var(--tw-bg-opacity, 1))
|
|
1087
1119
|
}
|
|
1088
|
-
:where(.sui-scope).bg-sherick-primary
|
|
1089
|
-
|
|
1120
|
+
:where(.sui-scope).bg-sherick-primary-strong {
|
|
1121
|
+
--tw-bg-opacity: 1;
|
|
1122
|
+
background-color: oklch(var(--sui-primary-strong) / var(--tw-bg-opacity, 1))
|
|
1090
1123
|
}
|
|
1091
1124
|
:where(.sui-scope).bg-sherick-scrim\/\[0\.38\] {
|
|
1092
1125
|
background-color: oklch(var(--sui-scrim) / 0.38)
|
|
@@ -1095,11 +1128,13 @@
|
|
|
1095
1128
|
--tw-bg-opacity: 1;
|
|
1096
1129
|
background-color: oklch(var(--sui-success) / var(--tw-bg-opacity, 1))
|
|
1097
1130
|
}
|
|
1098
|
-
:where(.sui-scope).bg-sherick-success
|
|
1099
|
-
|
|
1131
|
+
:where(.sui-scope).bg-sherick-success-selected {
|
|
1132
|
+
--tw-bg-opacity: 1;
|
|
1133
|
+
background-color: oklch(var(--sui-success-selected) / var(--tw-bg-opacity, 1))
|
|
1100
1134
|
}
|
|
1101
|
-
:where(.sui-scope).bg-sherick-success
|
|
1102
|
-
|
|
1135
|
+
:where(.sui-scope).bg-sherick-success-soft {
|
|
1136
|
+
--tw-bg-opacity: 1;
|
|
1137
|
+
background-color: oklch(var(--sui-success-soft) / var(--tw-bg-opacity, 1))
|
|
1103
1138
|
}
|
|
1104
1139
|
:where(.sui-scope).bg-sherick-surface-float\/\[var\(--sui-glass-dense-fill\)\] {
|
|
1105
1140
|
background-color: oklch(var(--sui-surface-float) / var(--sui-glass-dense-fill))
|
|
@@ -1142,11 +1177,13 @@
|
|
|
1142
1177
|
--tw-bg-opacity: 1;
|
|
1143
1178
|
background-color: oklch(var(--sui-warning) / var(--tw-bg-opacity, 1))
|
|
1144
1179
|
}
|
|
1145
|
-
:where(.sui-scope).bg-sherick-warning
|
|
1146
|
-
|
|
1180
|
+
:where(.sui-scope).bg-sherick-warning-selected {
|
|
1181
|
+
--tw-bg-opacity: 1;
|
|
1182
|
+
background-color: oklch(var(--sui-warning-selected) / var(--tw-bg-opacity, 1))
|
|
1147
1183
|
}
|
|
1148
|
-
:where(.sui-scope).bg-sherick-warning
|
|
1149
|
-
|
|
1184
|
+
:where(.sui-scope).bg-sherick-warning-soft {
|
|
1185
|
+
--tw-bg-opacity: 1;
|
|
1186
|
+
background-color: oklch(var(--sui-warning-soft) / var(--tw-bg-opacity, 1))
|
|
1150
1187
|
}
|
|
1151
1188
|
:where(.sui-scope).bg-transparent {
|
|
1152
1189
|
background-color: transparent
|
|
@@ -1316,6 +1353,9 @@
|
|
|
1316
1353
|
:where(.sui-scope).ps-3 {
|
|
1317
1354
|
padding-inline-start: 0.75rem
|
|
1318
1355
|
}
|
|
1356
|
+
:where(.sui-scope).ps-4 {
|
|
1357
|
+
padding-inline-start: 1rem
|
|
1358
|
+
}
|
|
1319
1359
|
:where(.sui-scope).ps-5 {
|
|
1320
1360
|
padding-inline-start: 1.25rem
|
|
1321
1361
|
}
|
|
@@ -1325,6 +1365,9 @@
|
|
|
1325
1365
|
:where(.sui-scope).ps-8 {
|
|
1326
1366
|
padding-inline-start: 2rem
|
|
1327
1367
|
}
|
|
1368
|
+
:where(.sui-scope).pt-0\.5 {
|
|
1369
|
+
padding-top: 0.125rem
|
|
1370
|
+
}
|
|
1328
1371
|
:where(.sui-scope).pt-1 {
|
|
1329
1372
|
padding-top: 0.25rem
|
|
1330
1373
|
}
|
|
@@ -1358,6 +1401,9 @@
|
|
|
1358
1401
|
:where(.sui-scope).font-mono {
|
|
1359
1402
|
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace
|
|
1360
1403
|
}
|
|
1404
|
+
:where(.sui-scope).font-sherick-mono {
|
|
1405
|
+
font-family: var(--sui-font-mono)
|
|
1406
|
+
}
|
|
1361
1407
|
:where(.sui-scope).text-2xl {
|
|
1362
1408
|
font-size: 1.5rem;
|
|
1363
1409
|
line-height: 2rem
|
|
@@ -1366,15 +1412,15 @@
|
|
|
1366
1412
|
font-size: 1.875rem;
|
|
1367
1413
|
line-height: 2.25rem
|
|
1368
1414
|
}
|
|
1369
|
-
:where(.sui-scope).text-\[0\.
|
|
1370
|
-
font-size: 0.
|
|
1415
|
+
:where(.sui-scope).text-\[0\.8125rem\] {
|
|
1416
|
+
font-size: 0.8125rem
|
|
1417
|
+
}
|
|
1418
|
+
:where(.sui-scope).text-\[0\.9375rem\] {
|
|
1419
|
+
font-size: 0.9375rem
|
|
1371
1420
|
}
|
|
1372
1421
|
:where(.sui-scope).text-\[0\.9em\] {
|
|
1373
1422
|
font-size: 0.9em
|
|
1374
1423
|
}
|
|
1375
|
-
:where(.sui-scope).text-\[11px\] {
|
|
1376
|
-
font-size: 11px
|
|
1377
|
-
}
|
|
1378
1424
|
:where(.sui-scope).text-base {
|
|
1379
1425
|
font-size: 1rem;
|
|
1380
1426
|
line-height: 1.5rem
|
|
@@ -1401,9 +1447,6 @@
|
|
|
1401
1447
|
:where(.sui-scope).font-semibold {
|
|
1402
1448
|
font-weight: 600
|
|
1403
1449
|
}
|
|
1404
|
-
:where(.sui-scope).uppercase {
|
|
1405
|
-
text-transform: uppercase
|
|
1406
|
-
}
|
|
1407
1450
|
:where(.sui-scope).italic {
|
|
1408
1451
|
font-style: italic
|
|
1409
1452
|
}
|
|
@@ -1411,6 +1454,9 @@
|
|
|
1411
1454
|
--tw-numeric-spacing: tabular-nums;
|
|
1412
1455
|
font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)
|
|
1413
1456
|
}
|
|
1457
|
+
:where(.sui-scope).leading-4 {
|
|
1458
|
+
line-height: 1rem
|
|
1459
|
+
}
|
|
1414
1460
|
:where(.sui-scope).leading-5 {
|
|
1415
1461
|
line-height: 1.25rem
|
|
1416
1462
|
}
|
|
@@ -1420,6 +1466,9 @@
|
|
|
1420
1466
|
:where(.sui-scope).leading-7 {
|
|
1421
1467
|
line-height: 1.75rem
|
|
1422
1468
|
}
|
|
1469
|
+
:where(.sui-scope).leading-\[1\.375rem\] {
|
|
1470
|
+
line-height: 1.375rem
|
|
1471
|
+
}
|
|
1423
1472
|
:where(.sui-scope).tracking-\[-0\.01em\] {
|
|
1424
1473
|
letter-spacing: -0.01em
|
|
1425
1474
|
}
|
|
@@ -1432,9 +1481,6 @@
|
|
|
1432
1481
|
:where(.sui-scope).tracking-\[-0\.03em\] {
|
|
1433
1482
|
letter-spacing: -0.03em
|
|
1434
1483
|
}
|
|
1435
|
-
:where(.sui-scope).tracking-\[0\.08em\] {
|
|
1436
|
-
letter-spacing: 0.08em
|
|
1437
|
-
}
|
|
1438
1484
|
:where(.sui-scope).text-current {
|
|
1439
1485
|
color: currentColor
|
|
1440
1486
|
}
|
|
@@ -1679,6 +1725,18 @@
|
|
|
1679
1725
|
:where(.sui-scope).duration-release {
|
|
1680
1726
|
transition-duration: var(--sui-duration-release)
|
|
1681
1727
|
}
|
|
1728
|
+
:where(.sui-scope).duration-sheet {
|
|
1729
|
+
transition-duration: var(--sui-duration-sheet)
|
|
1730
|
+
}
|
|
1731
|
+
:where(.sui-scope).duration-sheet-exit {
|
|
1732
|
+
transition-duration: var(--sui-duration-sheet-exit)
|
|
1733
|
+
}
|
|
1734
|
+
:where(.sui-scope).duration-tactile {
|
|
1735
|
+
transition-duration: var(--sui-duration-tactile)
|
|
1736
|
+
}
|
|
1737
|
+
:where(.sui-scope).duration-travel {
|
|
1738
|
+
transition-duration: var(--sui-duration-travel)
|
|
1739
|
+
}
|
|
1682
1740
|
:where(.sui-scope).ease-exit {
|
|
1683
1741
|
transition-timing-function: var(--sui-ease-exit)
|
|
1684
1742
|
}
|
|
@@ -1736,8 +1794,8 @@
|
|
|
1736
1794
|
:where(.sui-scope).\[--sui-sheet-from-y\:100\%\] {
|
|
1737
1795
|
--sui-sheet-from-y: 100%
|
|
1738
1796
|
}
|
|
1739
|
-
:where(.sui-scope).\[--sui-slider-reserve\:0\.
|
|
1740
|
-
--sui-slider-reserve: 0.
|
|
1797
|
+
:where(.sui-scope).\[--sui-slider-reserve\:0\.875rem\] {
|
|
1798
|
+
--sui-slider-reserve: 0.875rem
|
|
1741
1799
|
}
|
|
1742
1800
|
:where(.sui-scope).\[--sui-toast-from-y\:-150\%\] {
|
|
1743
1801
|
--sui-toast-from-y: -150%
|
|
@@ -1817,6 +1875,10 @@
|
|
|
1817
1875
|
content: var(--tw-content);
|
|
1818
1876
|
opacity: 0
|
|
1819
1877
|
}
|
|
1878
|
+
:where(.sui-scope).before\:transition-none::before {
|
|
1879
|
+
content: var(--tw-content);
|
|
1880
|
+
transition-property: none
|
|
1881
|
+
}
|
|
1820
1882
|
:where(.sui-scope).before\:transition-opacity::before {
|
|
1821
1883
|
content: var(--tw-content);
|
|
1822
1884
|
transition-property: opacity;
|
|
@@ -1937,12 +1999,15 @@
|
|
|
1937
1999
|
:where(.sui-scope).active\:duration-press:active {
|
|
1938
2000
|
transition-duration: var(--sui-duration-press)
|
|
1939
2001
|
}
|
|
2002
|
+
:where(.sui-scope).active\:duration-tactile:active {
|
|
2003
|
+
transition-duration: var(--sui-duration-tactile)
|
|
2004
|
+
}
|
|
1940
2005
|
:where(.sui-scope).active\:ease-press:active {
|
|
1941
2006
|
transition-timing-function: var(--sui-ease-press)
|
|
1942
2007
|
}
|
|
1943
|
-
:where(.sui-scope).active\:before\:duration-
|
|
2008
|
+
:where(.sui-scope).active\:before\:duration-tactile:active::before {
|
|
1944
2009
|
content: var(--tw-content);
|
|
1945
|
-
transition-duration: var(--sui-duration-
|
|
2010
|
+
transition-duration: var(--sui-duration-tactile)
|
|
1946
2011
|
}
|
|
1947
2012
|
:where(.sui-scope).active\:before\:ease-press:active::before {
|
|
1948
2013
|
content: var(--tw-content);
|
|
@@ -1971,15 +2036,15 @@
|
|
|
1971
2036
|
--tw-scale-y: 0.88;
|
|
1972
2037
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))
|
|
1973
2038
|
}
|
|
1974
|
-
:where(.sui-scope).group:active :where(.sui-scope).group-active\:duration-
|
|
1975
|
-
transition-duration: var(--sui-duration-
|
|
2039
|
+
:where(.sui-scope).group:active :where(.sui-scope).group-active\:duration-tactile {
|
|
2040
|
+
transition-duration: var(--sui-duration-tactile)
|
|
1976
2041
|
}
|
|
1977
2042
|
:where(.sui-scope).group:active :where(.sui-scope).group-active\:ease-press {
|
|
1978
2043
|
transition-timing-function: var(--sui-ease-press)
|
|
1979
2044
|
}
|
|
1980
|
-
:where(.sui-scope).group:active :where(.sui-scope).group-active\:before\:duration-
|
|
2045
|
+
:where(.sui-scope).group:active :where(.sui-scope).group-active\:before\:duration-tactile::before {
|
|
1981
2046
|
content: var(--tw-content);
|
|
1982
|
-
transition-duration: var(--sui-duration-
|
|
2047
|
+
transition-duration: var(--sui-duration-tactile)
|
|
1983
2048
|
}
|
|
1984
2049
|
:where(.sui-scope).group:active :where(.sui-scope).group-active\:before\:ease-press::before {
|
|
1985
2050
|
content: var(--tw-content);
|
|
@@ -2009,8 +2074,9 @@
|
|
|
2009
2074
|
:where(.sui-scope).has-\[\[data-disabled\]\]\:cursor-not-allowed:has([data-disabled]) {
|
|
2010
2075
|
cursor: not-allowed
|
|
2011
2076
|
}
|
|
2012
|
-
:where(.sui-scope).has-\[\[data-checked\]\]\:bg-sherick-primary
|
|
2013
|
-
|
|
2077
|
+
:where(.sui-scope).has-\[\[data-checked\]\]\:bg-sherick-primary-selected:has([data-checked]) {
|
|
2078
|
+
--tw-bg-opacity: 1;
|
|
2079
|
+
background-color: oklch(var(--sui-primary-selected) / var(--tw-bg-opacity, 1))
|
|
2014
2080
|
}
|
|
2015
2081
|
:where(.sui-scope).has-\[\[data-checked\]\]\:text-sherick-ink:has([data-checked]) {
|
|
2016
2082
|
--tw-text-opacity: 1;
|
|
@@ -2142,6 +2208,9 @@
|
|
|
2142
2208
|
:where(.sui-scope).data-\[ending-style\]\:duration-overlay-exit[data-ending-style] {
|
|
2143
2209
|
transition-duration: var(--sui-duration-overlay-exit)
|
|
2144
2210
|
}
|
|
2211
|
+
:where(.sui-scope).data-\[ending-style\]\:duration-sheet-exit[data-ending-style] {
|
|
2212
|
+
transition-duration: var(--sui-duration-sheet-exit)
|
|
2213
|
+
}
|
|
2145
2214
|
:where(.sui-scope).data-\[ending-style\]\:ease-exit[data-ending-style] {
|
|
2146
2215
|
transition-timing-function: var(--sui-ease-exit)
|
|
2147
2216
|
}
|
|
@@ -2388,6 +2457,10 @@
|
|
|
2388
2457
|
content: var(--tw-content);
|
|
2389
2458
|
opacity: 0.09
|
|
2390
2459
|
}
|
|
2460
|
+
:where(.sui-scope).\[\&\:not\(\[data-disabled\]\)\:not\(\:disabled\)\]\:active\:before\:opacity-\[0\.12\]:active:not([data-disabled]):not(:disabled)::before {
|
|
2461
|
+
content: var(--tw-content);
|
|
2462
|
+
opacity: 0.12
|
|
2463
|
+
}
|
|
2391
2464
|
:where(.sui-scope).\[\&\:not\(\[data-disabled\]\)\:not\(\:disabled\)\]\:active\:before\:opacity-\[0\.15\]:active:not([data-disabled]):not(:disabled)::before {
|
|
2392
2465
|
content: var(--tw-content);
|
|
2393
2466
|
opacity: 0.15
|
|
@@ -2405,11 +2478,21 @@
|
|
|
2405
2478
|
opacity: 0.09
|
|
2406
2479
|
}
|
|
2407
2480
|
@media (prefers-reduced-motion: no-preference) {
|
|
2481
|
+
:where(.sui-scope).motion-safe\:\[\&\:not\(\[data-disabled\]\2c \:disabled\)\]\:active\:scale-\[0\.985\]:active:not([data-disabled],:disabled) {
|
|
2482
|
+
--tw-scale-x: 0.985;
|
|
2483
|
+
--tw-scale-y: 0.985;
|
|
2484
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))
|
|
2485
|
+
}
|
|
2408
2486
|
:where(.sui-scope).motion-safe\:\[\&\:not\(\[data-disabled\]\2c \:disabled\2c \:has\(\>\[role\=combobox\]\[data-disabled\]\)\)\]\:active\:scale-\[0\.96\]:active:not([data-disabled],:disabled,:has(>[role=combobox][data-disabled])) {
|
|
2409
2487
|
--tw-scale-x: 0.96;
|
|
2410
2488
|
--tw-scale-y: 0.96;
|
|
2411
2489
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))
|
|
2412
2490
|
}
|
|
2491
|
+
:where(.sui-scope).motion-safe\:\[\&\:not\(\[data-disabled\]\2c \:disabled\2c \:has\(\>\[role\=combobox\]\[data-disabled\]\)\)\]\:active\:scale-\[0\.993\]:active:not([data-disabled],:disabled,:has(>[role=combobox][data-disabled])) {
|
|
2492
|
+
--tw-scale-x: 0.993;
|
|
2493
|
+
--tw-scale-y: 0.993;
|
|
2494
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))
|
|
2495
|
+
}
|
|
2413
2496
|
}
|
|
2414
2497
|
:where(.sui-scope).\[\&\>svg\]\:size-3\.5>svg {
|
|
2415
2498
|
width: 0.875rem;
|
|
@@ -2423,6 +2506,10 @@
|
|
|
2423
2506
|
width: 1.25rem;
|
|
2424
2507
|
height: 1.25rem
|
|
2425
2508
|
}
|
|
2509
|
+
:where(.sui-scope).\[\&\>svg\]\:size-6>svg {
|
|
2510
|
+
width: 1.5rem;
|
|
2511
|
+
height: 1.5rem
|
|
2512
|
+
}
|
|
2426
2513
|
:where(.sui-scope).\[\&\>svg\]\:size-7>svg {
|
|
2427
2514
|
width: 1.75rem;
|
|
2428
2515
|
height: 1.75rem
|
package/dist/theme.css
CHANGED
|
@@ -13,7 +13,14 @@
|
|
|
13
13
|
--sui-detail: 0.600 0.016 258;
|
|
14
14
|
--sui-primary: 0.422 0.139 255;
|
|
15
15
|
--sui-primary-strong: 0.402 0.143 257;
|
|
16
|
-
--sui-primary-soft: 0.
|
|
16
|
+
--sui-primary-soft: 0.920 0.035 255;
|
|
17
|
+
--sui-primary-selected: 0.860 0.055 255;
|
|
18
|
+
--sui-danger-soft: 0.930 0.030 18;
|
|
19
|
+
--sui-danger-selected: 0.870 0.050 18;
|
|
20
|
+
--sui-warning-soft: 0.940 0.045 85;
|
|
21
|
+
--sui-warning-selected: 0.885 0.070 82;
|
|
22
|
+
--sui-success-soft: 0.935 0.037 155;
|
|
23
|
+
--sui-success-selected: 0.875 0.055 155;
|
|
17
24
|
--sui-accent: 0.62 0.10 215;
|
|
18
25
|
--sui-danger: 0.439 0.170 25;
|
|
19
26
|
--sui-warning: 0.388 0.082 75;
|
|
@@ -29,7 +36,7 @@
|
|
|
29
36
|
--sui-light-top: 1 0 0;
|
|
30
37
|
--sui-light-bottom: 0.32 0.02 256;
|
|
31
38
|
--sui-elevation-flat: none;
|
|
32
|
-
--sui-elevation-raised: 0 1px 2px oklch(var(--sui-light-bottom) / 0.16), 0
|
|
39
|
+
--sui-elevation-raised: 0 1px 2px oklch(var(--sui-light-bottom) / 0.16), 0 2px 6px oklch(var(--sui-light-bottom) / 0.07);
|
|
33
40
|
--sui-elevation-floating: 0 16px 40px oklch(var(--sui-light-bottom) / 0.20), inset 0 1px 0 oklch(var(--sui-light-top) / 0.70);
|
|
34
41
|
--sui-elevation-control: 0 1px 2px oklch(var(--sui-light-bottom) / 0.19), inset 0 1px 0 oklch(var(--sui-light-top) / 0.55);
|
|
35
42
|
--sui-elevation-recessed: inset 0 1px 3px oklch(var(--sui-light-bottom) / 0.22), inset 0 -1px 0 oklch(var(--sui-light-top) / 0.50);
|
|
@@ -73,7 +80,14 @@
|
|
|
73
80
|
--sui-detail: 0.600 0.014 256;
|
|
74
81
|
--sui-primary: 0.809 0.098 255;
|
|
75
82
|
--sui-primary-strong: 0.734 0.139 257;
|
|
76
|
-
--sui-primary-soft: 0.
|
|
83
|
+
--sui-primary-soft: 0.325 0.050 257;
|
|
84
|
+
--sui-primary-selected: 0.400 0.075 257;
|
|
85
|
+
--sui-danger-soft: 0.315 0.050 22;
|
|
86
|
+
--sui-danger-selected: 0.395 0.070 22;
|
|
87
|
+
--sui-warning-soft: 0.320 0.045 78;
|
|
88
|
+
--sui-warning-selected: 0.400 0.065 78;
|
|
89
|
+
--sui-success-soft: 0.315 0.045 160;
|
|
90
|
+
--sui-success-selected: 0.395 0.065 160;
|
|
77
91
|
--sui-accent: 0.80 0.08 215;
|
|
78
92
|
--sui-danger: 0.799 0.115 25;
|
|
79
93
|
--sui-warning: 0.82 0.12 80;
|
|
@@ -134,7 +148,14 @@
|
|
|
134
148
|
--sui-detail: 0.600 0.014 256;
|
|
135
149
|
--sui-primary: 0.809 0.098 255;
|
|
136
150
|
--sui-primary-strong: 0.734 0.139 257;
|
|
137
|
-
--sui-primary-soft: 0.
|
|
151
|
+
--sui-primary-soft: 0.325 0.050 257;
|
|
152
|
+
--sui-primary-selected: 0.400 0.075 257;
|
|
153
|
+
--sui-danger-soft: 0.315 0.050 22;
|
|
154
|
+
--sui-danger-selected: 0.395 0.070 22;
|
|
155
|
+
--sui-warning-soft: 0.320 0.045 78;
|
|
156
|
+
--sui-warning-selected: 0.400 0.065 78;
|
|
157
|
+
--sui-success-soft: 0.315 0.045 160;
|
|
158
|
+
--sui-success-selected: 0.395 0.065 160;
|
|
138
159
|
--sui-accent: 0.80 0.08 215;
|
|
139
160
|
--sui-danger: 0.799 0.115 25;
|
|
140
161
|
--sui-warning: 0.82 0.12 80;
|
|
@@ -184,11 +205,19 @@
|
|
|
184
205
|
}
|
|
185
206
|
|
|
186
207
|
:root {
|
|
208
|
+
--sui-font-mono: ui-monospace, "SF Mono", SFMono-Regular, "Cascadia Code", "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;
|
|
187
209
|
--sui-duration-press: 150ms;
|
|
188
210
|
--sui-duration-release: 200ms;
|
|
211
|
+
--sui-duration-tactile: 80ms;
|
|
189
212
|
--sui-duration-overlay: 240ms;
|
|
190
213
|
--sui-duration-overlay-exit: 160ms;
|
|
214
|
+
--sui-duration-travel: 300ms;
|
|
215
|
+
--sui-duration-sheet: 320ms;
|
|
216
|
+
--sui-duration-sheet-exit: 200ms;
|
|
191
217
|
--sui-duration-activity: 1400ms;
|
|
218
|
+
--sui-duration-spin: 1000ms;
|
|
219
|
+
--sui-duration-pulse: 2000ms;
|
|
220
|
+
--sui-ease-pulse: cubic-bezier(0.4, 0, 0.6, 1);
|
|
192
221
|
--sui-ease-press: cubic-bezier(0.4, 0, 0.2, 1);
|
|
193
222
|
--sui-ease-release: cubic-bezier(0.16, 1, 0.3, 1);
|
|
194
223
|
--sui-ease-exit: cubic-bezier(0.4, 0, 1, 1);
|