sherick-ui 2.10.1 → 2.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/dist/cjs/components/Button.cjs +5 -2
- package/dist/cjs/components/Button.cjs.map +1 -1
- package/dist/cjs/components/Card.cjs +3 -3
- package/dist/cjs/components/Card.cjs.map +1 -1
- package/dist/cjs/components/CheckboxGroup.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 +1 -1
- package/dist/cjs/components/Command.cjs.map +1 -1
- package/dist/cjs/components/Input.cjs +2 -2
- package/dist/cjs/components/Input.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/RadioGroup.cjs.map +1 -1
- package/dist/cjs/components/Search.cjs +1 -1
- package/dist/cjs/components/Search.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/Textarea.cjs +1 -1
- package/dist/cjs/components/Textarea.cjs.map +1 -1
- package/dist/cjs/components/choice-row.cjs +1 -1
- package/dist/cjs/components/choice-row.cjs.map +1 -1
- package/dist/cjs/components/date-field.cjs +1 -1
- package/dist/cjs/components/date-field.cjs.map +1 -1
- package/dist/cjs/components/ui.common.cjs +76 -56
- package/dist/cjs/components/ui.common.cjs.map +1 -1
- package/dist/cjs/components/ui.motion.cjs +2 -3
- package/dist/cjs/components/ui.motion.cjs.map +1 -1
- package/dist/cjs/dev.cjs +3 -0
- package/dist/cjs/dev.cjs.map +1 -1
- package/dist/esm/components/Button.js +5 -2
- package/dist/esm/components/Button.js.map +1 -1
- package/dist/esm/components/Card.js +4 -4
- package/dist/esm/components/Card.js.map +1 -1
- package/dist/esm/components/CheckboxGroup.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 +2 -2
- package/dist/esm/components/Command.js.map +1 -1
- package/dist/esm/components/Input.js +3 -3
- package/dist/esm/components/Input.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/RadioGroup.js.map +1 -1
- package/dist/esm/components/Search.js +2 -2
- package/dist/esm/components/Search.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/Textarea.js +2 -2
- package/dist/esm/components/Textarea.js.map +1 -1
- package/dist/esm/components/choice-row.js +2 -2
- package/dist/esm/components/choice-row.js.map +1 -1
- package/dist/esm/components/date-field.js +2 -2
- package/dist/esm/components/date-field.js.map +1 -1
- package/dist/esm/components/ui.common.js +75 -58
- package/dist/esm/components/ui.common.js.map +1 -1
- package/dist/esm/components/ui.motion.js +2 -3
- package/dist/esm/components/ui.motion.js.map +1 -1
- package/dist/esm/dev.js +1 -1
- package/dist/styles.css +69 -53
- package/dist/theme.css +40 -28
- package/dist/types/dev.d.cts +12 -7
- package/dist/types/dev.d.ts +12 -7
- package/dist/types/index.d.cts +3 -0
- package/dist/types/index.d.ts +3 -0
- package/package.json +5 -3
package/dist/styles.css
CHANGED
|
@@ -3,10 +3,12 @@
|
|
|
3
3
|
:root,
|
|
4
4
|
[data-sherick-theme="light"] {
|
|
5
5
|
color-scheme: light;
|
|
6
|
-
--sui-canvas: 0.
|
|
6
|
+
--sui-canvas: 0.960 0.011 290;
|
|
7
7
|
--sui-surface: 0.998 0.001 290;
|
|
8
|
-
--sui-surface-high: 0.
|
|
9
|
-
--sui-tray
|
|
8
|
+
--sui-surface-high: 0.932 0.014 290;
|
|
9
|
+
--sui-tray: 0.949 0.011 290;
|
|
10
|
+
--sui-tray-deep: 0.920 0.015 290;
|
|
11
|
+
--sui-mark-well: 0.902 0.016 290;
|
|
10
12
|
--sui-surface-float: 0.999 0.001 290;
|
|
11
13
|
--sui-puck: 1 0 0;
|
|
12
14
|
--sui-media: 0.200 0.008 285;
|
|
@@ -16,8 +18,8 @@
|
|
|
16
18
|
--sui-rim: 0.625 0.012 285;
|
|
17
19
|
--sui-primary: 0.490 0.205 292;
|
|
18
20
|
--sui-primary-strong: 0.430 0.200 292;
|
|
19
|
-
--sui-primary-soft: 0.
|
|
20
|
-
--sui-primary-selected: 0.
|
|
21
|
+
--sui-primary-soft: 0.944 0.040 292;
|
|
22
|
+
--sui-primary-selected: 0.895 0.070 292;
|
|
21
23
|
--sui-danger-soft: 0.952 0.020 30;
|
|
22
24
|
--sui-danger-selected: 0.900 0.042 30;
|
|
23
25
|
--sui-warning-soft: 0.955 0.032 82;
|
|
@@ -39,12 +41,14 @@
|
|
|
39
41
|
--sui-light-top: 1 0 0;
|
|
40
42
|
--sui-light-bottom: 0.280 0.025 290;
|
|
41
43
|
--sui-elevation-flat: none;
|
|
44
|
+
--sui-elevation-resting: 0 1px 2px oklch(var(--sui-light-bottom) / 0.05), 0 3px 8px -3px oklch(var(--sui-light-bottom) / 0.08);
|
|
42
45
|
--sui-elevation-raised: 0 1px 1px oklch(var(--sui-light-bottom) / 0.10), 0 2px 5px -1px oklch(var(--sui-light-bottom) / 0.12), inset 0 1px 0 oklch(var(--sui-light-top) / 0.24);
|
|
43
46
|
--sui-elevation-floating: 0 0 0 1px oklch(var(--sui-light-bottom) / 0.07), 0 4px 10px -2px oklch(var(--sui-light-bottom) / 0.08), 0 22px 48px -10px oklch(var(--sui-light-bottom) / 0.24), inset 0 1px 0 oklch(var(--sui-light-top) / 0.80);
|
|
44
47
|
--sui-elevation-control: 0 0 0 0.5px oklch(var(--sui-light-bottom) / 0.10), 0 1px 3px oklch(var(--sui-light-bottom) / 0.16), inset 0 1px 0 oklch(var(--sui-light-top) / 0.70);
|
|
45
48
|
--sui-elevation-recessed: inset 0 1px 2px oklch(var(--sui-light-bottom) / 0.18), inset 0 -1px 0 oklch(var(--sui-light-top) / 0.55);
|
|
46
49
|
--sui-elevation-recessed-top: inset 0 5px 8px -5px oklch(var(--sui-light-bottom) / 0.18);
|
|
47
|
-
--sui-elevation-well: inset 0 2px 4px oklch(var(--sui-light-bottom) / 0.34), inset 0 -1px 0 oklch(var(--sui-light-top) / 0.
|
|
50
|
+
--sui-elevation-well: inset 0 2px 4px oklch(var(--sui-light-bottom) / 0.34), inset 0 -1px 0 oklch(var(--sui-light-top) / 0.80);
|
|
51
|
+
--sui-elevation-mark: inset 0 1px 3px oklch(var(--sui-light-bottom) / 0.30), inset 0 -1px 0 oklch(var(--sui-light-top) / 0.80);
|
|
48
52
|
--sui-glass-fill: 0.98;
|
|
49
53
|
--sui-glass-blur: 28px;
|
|
50
54
|
--sui-glass-saturation: 1.10;
|
|
@@ -73,12 +77,14 @@
|
|
|
73
77
|
|
|
74
78
|
[data-sherick-theme="dark"] {
|
|
75
79
|
color-scheme: dark;
|
|
76
|
-
--sui-canvas: 0.
|
|
77
|
-
--sui-surface: 0.
|
|
78
|
-
--sui-surface-high: 0.
|
|
79
|
-
--sui-tray
|
|
80
|
-
--sui-
|
|
81
|
-
--sui-
|
|
80
|
+
--sui-canvas: 0.145 0.016 285;
|
|
81
|
+
--sui-surface: 0.212 0.018 285;
|
|
82
|
+
--sui-surface-high: 0.310 0.022 285;
|
|
83
|
+
--sui-tray: 0.262 0.020 285;
|
|
84
|
+
--sui-tray-deep: 0.300 0.022 285;
|
|
85
|
+
--sui-mark-well: 0.335 0.024 285;
|
|
86
|
+
--sui-surface-float: 0.238 0.019 285;
|
|
87
|
+
--sui-puck: 0.335 0.024 285;
|
|
82
88
|
--sui-media: 0.160 0.006 285;
|
|
83
89
|
--sui-ink: 0.950 0.004 285;
|
|
84
90
|
--sui-ink-muted: 0.745 0.010 285;
|
|
@@ -86,8 +92,8 @@
|
|
|
86
92
|
--sui-rim: 0.535 0.010 285;
|
|
87
93
|
--sui-primary: 0.780 0.125 292;
|
|
88
94
|
--sui-primary-strong: 0.720 0.160 292;
|
|
89
|
-
--sui-primary-soft: 0.
|
|
90
|
-
--sui-primary-selected: 0.
|
|
95
|
+
--sui-primary-soft: 0.310 0.098 292;
|
|
96
|
+
--sui-primary-selected: 0.385 0.128 292;
|
|
91
97
|
--sui-danger-soft: 0.260 0.040 25;
|
|
92
98
|
--sui-danger-selected: 0.330 0.062 25;
|
|
93
99
|
--sui-warning-soft: 0.260 0.040 75;
|
|
@@ -109,12 +115,14 @@
|
|
|
109
115
|
--sui-light-top: 1 0 0;
|
|
110
116
|
--sui-light-bottom: 0.070 0.008 285;
|
|
111
117
|
--sui-elevation-flat: none;
|
|
112
|
-
--sui-elevation-
|
|
118
|
+
--sui-elevation-resting: 0 1px 2px oklch(var(--sui-light-bottom) / 0.45), 0 3px 8px -3px oklch(var(--sui-light-bottom) / 0.45);
|
|
119
|
+
--sui-elevation-raised: 0 1px 2px oklch(var(--sui-light-bottom) / 0.40), 0 3px 8px -2px oklch(var(--sui-light-bottom) / 0.30), inset 0 1px 0 oklch(var(--sui-light-top) / 0.13);
|
|
113
120
|
--sui-elevation-floating: 0 0 0 1px oklch(var(--sui-light-top) / 0.08), 0 6px 14px -4px oklch(var(--sui-light-bottom) / 0.40), 0 26px 56px -12px oklch(var(--sui-light-bottom) / 0.65), inset 0 1px 0 oklch(var(--sui-light-top) / 0.06);
|
|
114
121
|
--sui-elevation-control: 0 0 0 0.5px oklch(var(--sui-light-bottom) / 0.40), 0 1px 3px oklch(var(--sui-light-bottom) / 0.45), inset 0 1px 0 oklch(var(--sui-light-top) / 0.09);
|
|
115
122
|
--sui-elevation-recessed: inset 0 1px 3px oklch(var(--sui-light-bottom) / 0.42), inset 0 -1px 0 oklch(var(--sui-light-top) / 0.05);
|
|
116
123
|
--sui-elevation-recessed-top: inset 0 5px 8px -5px oklch(var(--sui-light-bottom) / 0.40);
|
|
117
|
-
--sui-elevation-well: inset 0 2px 4px oklch(var(--sui-light-bottom) / 0.
|
|
124
|
+
--sui-elevation-well: inset 0 2px 4px oklch(var(--sui-light-bottom) / 0.80), inset 0 -1px 0 oklch(var(--sui-light-top) / 0.12);
|
|
125
|
+
--sui-elevation-mark: inset 0 1px 3px oklch(var(--sui-light-bottom) / 0.65), inset 0 -1px 0 oklch(var(--sui-light-top) / 0.12);
|
|
118
126
|
--sui-glass-fill: 0.98;
|
|
119
127
|
--sui-glass-blur: 32px;
|
|
120
128
|
--sui-glass-saturation: 1.12;
|
|
@@ -129,7 +137,7 @@
|
|
|
129
137
|
--sui-glass-hero-saturation: 1.03;
|
|
130
138
|
--sui-glass-hero-brightness: 1.0;
|
|
131
139
|
--sui-glass-hero-gradient: linear-gradient(180deg, rgb(255 255 255 / 0.035) 0%, rgb(255 255 255 / 0.01) 12%, rgb(255 255 255 / 0) 44%, rgb(0 0 0 / 0.16) 100%);
|
|
132
|
-
--sui-surface-overlay: 0.
|
|
140
|
+
--sui-surface-overlay: 0.226 0.018 285;
|
|
133
141
|
--sui-overlay-fill: 0.99;
|
|
134
142
|
--sui-scrim-blur: 8px;
|
|
135
143
|
--sui-code-text: #dfdee6;
|
|
@@ -144,12 +152,14 @@
|
|
|
144
152
|
@media (prefers-color-scheme: dark) {
|
|
145
153
|
:root:not([data-sherick-theme]) {
|
|
146
154
|
color-scheme: dark;
|
|
147
|
-
--sui-canvas: 0.
|
|
148
|
-
--sui-surface: 0.
|
|
149
|
-
--sui-surface-high: 0.
|
|
150
|
-
--sui-tray
|
|
151
|
-
--sui-
|
|
152
|
-
--sui-
|
|
155
|
+
--sui-canvas: 0.145 0.016 285;
|
|
156
|
+
--sui-surface: 0.212 0.018 285;
|
|
157
|
+
--sui-surface-high: 0.310 0.022 285;
|
|
158
|
+
--sui-tray: 0.262 0.020 285;
|
|
159
|
+
--sui-tray-deep: 0.300 0.022 285;
|
|
160
|
+
--sui-mark-well: 0.335 0.024 285;
|
|
161
|
+
--sui-surface-float: 0.238 0.019 285;
|
|
162
|
+
--sui-puck: 0.335 0.024 285;
|
|
153
163
|
--sui-media: 0.160 0.006 285;
|
|
154
164
|
--sui-ink: 0.950 0.004 285;
|
|
155
165
|
--sui-ink-muted: 0.745 0.010 285;
|
|
@@ -157,8 +167,8 @@
|
|
|
157
167
|
--sui-rim: 0.535 0.010 285;
|
|
158
168
|
--sui-primary: 0.780 0.125 292;
|
|
159
169
|
--sui-primary-strong: 0.720 0.160 292;
|
|
160
|
-
--sui-primary-soft: 0.
|
|
161
|
-
--sui-primary-selected: 0.
|
|
170
|
+
--sui-primary-soft: 0.310 0.098 292;
|
|
171
|
+
--sui-primary-selected: 0.385 0.128 292;
|
|
162
172
|
--sui-danger-soft: 0.260 0.040 25;
|
|
163
173
|
--sui-danger-selected: 0.330 0.062 25;
|
|
164
174
|
--sui-warning-soft: 0.260 0.040 75;
|
|
@@ -180,12 +190,14 @@
|
|
|
180
190
|
--sui-light-top: 1 0 0;
|
|
181
191
|
--sui-light-bottom: 0.070 0.008 285;
|
|
182
192
|
--sui-elevation-flat: none;
|
|
183
|
-
--sui-elevation-
|
|
193
|
+
--sui-elevation-resting: 0 1px 2px oklch(var(--sui-light-bottom) / 0.45), 0 3px 8px -3px oklch(var(--sui-light-bottom) / 0.45);
|
|
194
|
+
--sui-elevation-raised: 0 1px 2px oklch(var(--sui-light-bottom) / 0.40), 0 3px 8px -2px oklch(var(--sui-light-bottom) / 0.30), inset 0 1px 0 oklch(var(--sui-light-top) / 0.13);
|
|
184
195
|
--sui-elevation-floating: 0 0 0 1px oklch(var(--sui-light-top) / 0.08), 0 6px 14px -4px oklch(var(--sui-light-bottom) / 0.40), 0 26px 56px -12px oklch(var(--sui-light-bottom) / 0.65), inset 0 1px 0 oklch(var(--sui-light-top) / 0.06);
|
|
185
196
|
--sui-elevation-control: 0 0 0 0.5px oklch(var(--sui-light-bottom) / 0.40), 0 1px 3px oklch(var(--sui-light-bottom) / 0.45), inset 0 1px 0 oklch(var(--sui-light-top) / 0.09);
|
|
186
197
|
--sui-elevation-recessed: inset 0 1px 3px oklch(var(--sui-light-bottom) / 0.42), inset 0 -1px 0 oklch(var(--sui-light-top) / 0.05);
|
|
187
198
|
--sui-elevation-recessed-top: inset 0 5px 8px -5px oklch(var(--sui-light-bottom) / 0.40);
|
|
188
|
-
--sui-elevation-well: inset 0 2px 4px oklch(var(--sui-light-bottom) / 0.
|
|
199
|
+
--sui-elevation-well: inset 0 2px 4px oklch(var(--sui-light-bottom) / 0.80), inset 0 -1px 0 oklch(var(--sui-light-top) / 0.12);
|
|
200
|
+
--sui-elevation-mark: inset 0 1px 3px oklch(var(--sui-light-bottom) / 0.65), inset 0 -1px 0 oklch(var(--sui-light-top) / 0.12);
|
|
189
201
|
--sui-glass-fill: 0.98;
|
|
190
202
|
--sui-glass-blur: 32px;
|
|
191
203
|
--sui-glass-saturation: 1.12;
|
|
@@ -200,7 +212,7 @@
|
|
|
200
212
|
--sui-glass-hero-saturation: 1.03;
|
|
201
213
|
--sui-glass-hero-brightness: 1.0;
|
|
202
214
|
--sui-glass-hero-gradient: linear-gradient(180deg, rgb(255 255 255 / 0.035) 0%, rgb(255 255 255 / 0.01) 12%, rgb(255 255 255 / 0) 44%, rgb(0 0 0 / 0.16) 100%);
|
|
203
|
-
--sui-surface-overlay: 0.
|
|
215
|
+
--sui-surface-overlay: 0.226 0.018 285;
|
|
204
216
|
--sui-overlay-fill: 0.99;
|
|
205
217
|
--sui-scrim-blur: 8px;
|
|
206
218
|
--sui-code-text: #dfdee6;
|
|
@@ -1129,9 +1141,6 @@
|
|
|
1129
1141
|
:where(.sui-scope).border-0 {
|
|
1130
1142
|
border-width: 0px
|
|
1131
1143
|
}
|
|
1132
|
-
:where(.sui-scope).border-\[1\.5px\] {
|
|
1133
|
-
border-width: 1.5px
|
|
1134
|
-
}
|
|
1135
1144
|
:where(.sui-scope).border-b {
|
|
1136
1145
|
border-bottom-width: 1px
|
|
1137
1146
|
}
|
|
@@ -1163,9 +1172,6 @@
|
|
|
1163
1172
|
:where(.sui-scope).border-sherick-primary\/\[0\.45\] {
|
|
1164
1173
|
border-color: oklch(var(--sui-primary) / 0.45)
|
|
1165
1174
|
}
|
|
1166
|
-
:where(.sui-scope).border-transparent {
|
|
1167
|
-
border-color: transparent
|
|
1168
|
-
}
|
|
1169
1175
|
:where(.sui-scope).border-e-transparent {
|
|
1170
1176
|
border-inline-end-color: transparent
|
|
1171
1177
|
}
|
|
@@ -1176,9 +1182,6 @@
|
|
|
1176
1182
|
--tw-bg-opacity: 1;
|
|
1177
1183
|
background-color: oklch(var(--sui-canvas) / var(--tw-bg-opacity, 1))
|
|
1178
1184
|
}
|
|
1179
|
-
:where(.sui-scope).bg-sherick-canvas\/\[0\.7\] {
|
|
1180
|
-
background-color: oklch(var(--sui-canvas) / 0.7)
|
|
1181
|
-
}
|
|
1182
1185
|
:where(.sui-scope).bg-sherick-danger {
|
|
1183
1186
|
--tw-bg-opacity: 1;
|
|
1184
1187
|
background-color: oklch(var(--sui-danger) / var(--tw-bg-opacity, 1))
|
|
@@ -1199,6 +1202,10 @@
|
|
|
1199
1202
|
--tw-bg-opacity: 1;
|
|
1200
1203
|
background-color: oklch(var(--sui-ink-muted) / var(--tw-bg-opacity, 1))
|
|
1201
1204
|
}
|
|
1205
|
+
:where(.sui-scope).bg-sherick-mark-well {
|
|
1206
|
+
--tw-bg-opacity: 1;
|
|
1207
|
+
background-color: oklch(var(--sui-mark-well) / var(--tw-bg-opacity, 1))
|
|
1208
|
+
}
|
|
1202
1209
|
:where(.sui-scope).bg-sherick-media {
|
|
1203
1210
|
--tw-bg-opacity: 1;
|
|
1204
1211
|
background-color: oklch(var(--sui-media) / var(--tw-bg-opacity, 1))
|
|
@@ -1231,6 +1238,10 @@
|
|
|
1231
1238
|
--tw-bg-opacity: 1;
|
|
1232
1239
|
background-color: oklch(var(--sui-success-soft) / var(--tw-bg-opacity, 1))
|
|
1233
1240
|
}
|
|
1241
|
+
:where(.sui-scope).bg-sherick-surface {
|
|
1242
|
+
--tw-bg-opacity: 1;
|
|
1243
|
+
background-color: oklch(var(--sui-surface) / var(--tw-bg-opacity, 1))
|
|
1244
|
+
}
|
|
1234
1245
|
:where(.sui-scope).bg-sherick-surface-float\/\[var\(--sui-glass-dense-fill\)\] {
|
|
1235
1246
|
background-color: oklch(var(--sui-surface-float) / var(--sui-glass-dense-fill))
|
|
1236
1247
|
}
|
|
@@ -1259,8 +1270,9 @@
|
|
|
1259
1270
|
:where(.sui-scope).bg-sherick-surface\/\[0\.42\] {
|
|
1260
1271
|
background-color: oklch(var(--sui-surface) / 0.42)
|
|
1261
1272
|
}
|
|
1262
|
-
:where(.sui-scope).bg-sherick-
|
|
1263
|
-
|
|
1273
|
+
:where(.sui-scope).bg-sherick-tray {
|
|
1274
|
+
--tw-bg-opacity: 1;
|
|
1275
|
+
background-color: oklch(var(--sui-tray) / var(--tw-bg-opacity, 1))
|
|
1264
1276
|
}
|
|
1265
1277
|
:where(.sui-scope).bg-sherick-tray-deep {
|
|
1266
1278
|
--tw-bg-opacity: 1;
|
|
@@ -1669,6 +1681,11 @@
|
|
|
1669
1681
|
--tw-shadow-colored: var(--sui-elevation-floating);
|
|
1670
1682
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)
|
|
1671
1683
|
}
|
|
1684
|
+
:where(.sui-scope).shadow-sherick-mark {
|
|
1685
|
+
--tw-shadow: var(--sui-elevation-mark);
|
|
1686
|
+
--tw-shadow-colored: var(--sui-elevation-mark);
|
|
1687
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)
|
|
1688
|
+
}
|
|
1672
1689
|
:where(.sui-scope).shadow-sherick-raised {
|
|
1673
1690
|
--tw-shadow: var(--sui-elevation-raised);
|
|
1674
1691
|
--tw-shadow-colored: var(--sui-elevation-raised);
|
|
@@ -1684,6 +1701,11 @@
|
|
|
1684
1701
|
--tw-shadow-colored: var(--sui-elevation-recessed-top);
|
|
1685
1702
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)
|
|
1686
1703
|
}
|
|
1704
|
+
:where(.sui-scope).shadow-sherick-resting {
|
|
1705
|
+
--tw-shadow: var(--sui-elevation-resting);
|
|
1706
|
+
--tw-shadow-colored: var(--sui-elevation-resting);
|
|
1707
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)
|
|
1708
|
+
}
|
|
1687
1709
|
:where(.sui-scope).shadow-sherick-well {
|
|
1688
1710
|
--tw-shadow: var(--sui-elevation-well);
|
|
1689
1711
|
--tw-shadow-colored: var(--sui-elevation-well);
|
|
@@ -2014,11 +2036,6 @@
|
|
|
2014
2036
|
content: var(--tw-content);
|
|
2015
2037
|
border-width: 1.5px
|
|
2016
2038
|
}
|
|
2017
|
-
:where(.sui-scope).after\:border-sherick-rim::after {
|
|
2018
|
-
content: var(--tw-content);
|
|
2019
|
-
--tw-border-opacity: 1;
|
|
2020
|
-
border-color: oklch(var(--sui-rim) / var(--tw-border-opacity, 1))
|
|
2021
|
-
}
|
|
2022
2039
|
:where(.sui-scope).after\:border-transparent::after {
|
|
2023
2040
|
content: var(--tw-content);
|
|
2024
2041
|
border-color: transparent
|
|
@@ -2249,16 +2266,17 @@
|
|
|
2249
2266
|
:where(.sui-scope).has-\[\[data-sui-value-chip\]\]\:ps-2\.5:has([data-sui-value-chip]) {
|
|
2250
2267
|
padding-inline-start: 0.625rem
|
|
2251
2268
|
}
|
|
2252
|
-
:where(.sui-scope).has-\[\[data-checked\]\]\:text-sherick-ink:has([data-checked]) {
|
|
2253
|
-
--tw-text-opacity: 1;
|
|
2254
|
-
color: oklch(var(--sui-ink) / var(--tw-text-opacity, 1))
|
|
2255
|
-
}
|
|
2256
2269
|
:where(.sui-scope).has-\[\[aria-disabled\=true\]\]\:opacity-45:has([aria-disabled=true]) {
|
|
2257
2270
|
opacity: 0.45
|
|
2258
2271
|
}
|
|
2259
2272
|
:where(.sui-scope).has-\[\[data-disabled\]\]\:opacity-45:has([data-disabled]) {
|
|
2260
2273
|
opacity: 0.45
|
|
2261
2274
|
}
|
|
2275
|
+
:where(.sui-scope).has-\[\[data-checked\]\]\:shadow-sherick-control:has([data-checked]) {
|
|
2276
|
+
--tw-shadow: var(--sui-elevation-control);
|
|
2277
|
+
--tw-shadow-colored: var(--sui-elevation-control);
|
|
2278
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)
|
|
2279
|
+
}
|
|
2262
2280
|
:where(.sui-scope).has-\[\:focus-visible\]\:outline:has(:focus-visible) {
|
|
2263
2281
|
outline-style: solid
|
|
2264
2282
|
}
|
|
@@ -2730,6 +2748,9 @@
|
|
|
2730
2748
|
:where(.sui-scope).forced-colors\:border {
|
|
2731
2749
|
border-width: 1px
|
|
2732
2750
|
}
|
|
2751
|
+
:where(.sui-scope).forced-colors\:border-\[1\.5px\] {
|
|
2752
|
+
border-width: 1.5px
|
|
2753
|
+
}
|
|
2733
2754
|
:where(.sui-scope).forced-colors\:outline {
|
|
2734
2755
|
outline-style: solid
|
|
2735
2756
|
}
|
|
@@ -2925,11 +2946,6 @@
|
|
|
2925
2946
|
content: var(--tw-content);
|
|
2926
2947
|
opacity: 0.09
|
|
2927
2948
|
}
|
|
2928
|
-
:where(.sui-scope).group:not([data-disabled]):not([data-readonly]):not(:disabled):hover :where(.sui-scope).\[\@media\(hover\:hover\)_and_\(pointer\:fine\)\]\:group-\[\:not\(\[data-disabled\]\)\:not\(\[data-readonly\]\)\:not\(\:disabled\)\:hover\]\:after\:border-sherick-ink-muted::after {
|
|
2929
|
-
content: var(--tw-content);
|
|
2930
|
-
--tw-border-opacity: 1;
|
|
2931
|
-
border-color: oklch(var(--sui-ink-muted) / var(--tw-border-opacity, 1))
|
|
2932
|
-
}
|
|
2933
2949
|
:where(.sui-scope).\[\@media\(hover\:hover\)_and_\(pointer\:fine\)\]\:\[\&\:not\(\[data-open\]\)\:hover\+\*\]\:border-transparent:not([data-open]):hover+* {
|
|
2934
2950
|
border-color: transparent
|
|
2935
2951
|
}
|
package/dist/theme.css
CHANGED
|
@@ -3,10 +3,12 @@
|
|
|
3
3
|
:root,
|
|
4
4
|
[data-sherick-theme="light"] {
|
|
5
5
|
color-scheme: light;
|
|
6
|
-
--sui-canvas: 0.
|
|
6
|
+
--sui-canvas: 0.960 0.011 290;
|
|
7
7
|
--sui-surface: 0.998 0.001 290;
|
|
8
|
-
--sui-surface-high: 0.
|
|
9
|
-
--sui-tray
|
|
8
|
+
--sui-surface-high: 0.932 0.014 290;
|
|
9
|
+
--sui-tray: 0.949 0.011 290;
|
|
10
|
+
--sui-tray-deep: 0.920 0.015 290;
|
|
11
|
+
--sui-mark-well: 0.902 0.016 290;
|
|
10
12
|
--sui-surface-float: 0.999 0.001 290;
|
|
11
13
|
--sui-puck: 1 0 0;
|
|
12
14
|
--sui-media: 0.200 0.008 285;
|
|
@@ -16,8 +18,8 @@
|
|
|
16
18
|
--sui-rim: 0.625 0.012 285;
|
|
17
19
|
--sui-primary: 0.490 0.205 292;
|
|
18
20
|
--sui-primary-strong: 0.430 0.200 292;
|
|
19
|
-
--sui-primary-soft: 0.
|
|
20
|
-
--sui-primary-selected: 0.
|
|
21
|
+
--sui-primary-soft: 0.944 0.040 292;
|
|
22
|
+
--sui-primary-selected: 0.895 0.070 292;
|
|
21
23
|
--sui-danger-soft: 0.952 0.020 30;
|
|
22
24
|
--sui-danger-selected: 0.900 0.042 30;
|
|
23
25
|
--sui-warning-soft: 0.955 0.032 82;
|
|
@@ -39,12 +41,14 @@
|
|
|
39
41
|
--sui-light-top: 1 0 0;
|
|
40
42
|
--sui-light-bottom: 0.280 0.025 290;
|
|
41
43
|
--sui-elevation-flat: none;
|
|
44
|
+
--sui-elevation-resting: 0 1px 2px oklch(var(--sui-light-bottom) / 0.05), 0 3px 8px -3px oklch(var(--sui-light-bottom) / 0.08);
|
|
42
45
|
--sui-elevation-raised: 0 1px 1px oklch(var(--sui-light-bottom) / 0.10), 0 2px 5px -1px oklch(var(--sui-light-bottom) / 0.12), inset 0 1px 0 oklch(var(--sui-light-top) / 0.24);
|
|
43
46
|
--sui-elevation-floating: 0 0 0 1px oklch(var(--sui-light-bottom) / 0.07), 0 4px 10px -2px oklch(var(--sui-light-bottom) / 0.08), 0 22px 48px -10px oklch(var(--sui-light-bottom) / 0.24), inset 0 1px 0 oklch(var(--sui-light-top) / 0.80);
|
|
44
47
|
--sui-elevation-control: 0 0 0 0.5px oklch(var(--sui-light-bottom) / 0.10), 0 1px 3px oklch(var(--sui-light-bottom) / 0.16), inset 0 1px 0 oklch(var(--sui-light-top) / 0.70);
|
|
45
48
|
--sui-elevation-recessed: inset 0 1px 2px oklch(var(--sui-light-bottom) / 0.18), inset 0 -1px 0 oklch(var(--sui-light-top) / 0.55);
|
|
46
49
|
--sui-elevation-recessed-top: inset 0 5px 8px -5px oklch(var(--sui-light-bottom) / 0.18);
|
|
47
|
-
--sui-elevation-well: inset 0 2px 4px oklch(var(--sui-light-bottom) / 0.34), inset 0 -1px 0 oklch(var(--sui-light-top) / 0.
|
|
50
|
+
--sui-elevation-well: inset 0 2px 4px oklch(var(--sui-light-bottom) / 0.34), inset 0 -1px 0 oklch(var(--sui-light-top) / 0.80);
|
|
51
|
+
--sui-elevation-mark: inset 0 1px 3px oklch(var(--sui-light-bottom) / 0.30), inset 0 -1px 0 oklch(var(--sui-light-top) / 0.80);
|
|
48
52
|
--sui-glass-fill: 0.98;
|
|
49
53
|
--sui-glass-blur: 28px;
|
|
50
54
|
--sui-glass-saturation: 1.10;
|
|
@@ -73,12 +77,14 @@
|
|
|
73
77
|
|
|
74
78
|
[data-sherick-theme="dark"] {
|
|
75
79
|
color-scheme: dark;
|
|
76
|
-
--sui-canvas: 0.
|
|
77
|
-
--sui-surface: 0.
|
|
78
|
-
--sui-surface-high: 0.
|
|
79
|
-
--sui-tray
|
|
80
|
-
--sui-
|
|
81
|
-
--sui-
|
|
80
|
+
--sui-canvas: 0.145 0.016 285;
|
|
81
|
+
--sui-surface: 0.212 0.018 285;
|
|
82
|
+
--sui-surface-high: 0.310 0.022 285;
|
|
83
|
+
--sui-tray: 0.262 0.020 285;
|
|
84
|
+
--sui-tray-deep: 0.300 0.022 285;
|
|
85
|
+
--sui-mark-well: 0.335 0.024 285;
|
|
86
|
+
--sui-surface-float: 0.238 0.019 285;
|
|
87
|
+
--sui-puck: 0.335 0.024 285;
|
|
82
88
|
--sui-media: 0.160 0.006 285;
|
|
83
89
|
--sui-ink: 0.950 0.004 285;
|
|
84
90
|
--sui-ink-muted: 0.745 0.010 285;
|
|
@@ -86,8 +92,8 @@
|
|
|
86
92
|
--sui-rim: 0.535 0.010 285;
|
|
87
93
|
--sui-primary: 0.780 0.125 292;
|
|
88
94
|
--sui-primary-strong: 0.720 0.160 292;
|
|
89
|
-
--sui-primary-soft: 0.
|
|
90
|
-
--sui-primary-selected: 0.
|
|
95
|
+
--sui-primary-soft: 0.310 0.098 292;
|
|
96
|
+
--sui-primary-selected: 0.385 0.128 292;
|
|
91
97
|
--sui-danger-soft: 0.260 0.040 25;
|
|
92
98
|
--sui-danger-selected: 0.330 0.062 25;
|
|
93
99
|
--sui-warning-soft: 0.260 0.040 75;
|
|
@@ -109,12 +115,14 @@
|
|
|
109
115
|
--sui-light-top: 1 0 0;
|
|
110
116
|
--sui-light-bottom: 0.070 0.008 285;
|
|
111
117
|
--sui-elevation-flat: none;
|
|
112
|
-
--sui-elevation-
|
|
118
|
+
--sui-elevation-resting: 0 1px 2px oklch(var(--sui-light-bottom) / 0.45), 0 3px 8px -3px oklch(var(--sui-light-bottom) / 0.45);
|
|
119
|
+
--sui-elevation-raised: 0 1px 2px oklch(var(--sui-light-bottom) / 0.40), 0 3px 8px -2px oklch(var(--sui-light-bottom) / 0.30), inset 0 1px 0 oklch(var(--sui-light-top) / 0.13);
|
|
113
120
|
--sui-elevation-floating: 0 0 0 1px oklch(var(--sui-light-top) / 0.08), 0 6px 14px -4px oklch(var(--sui-light-bottom) / 0.40), 0 26px 56px -12px oklch(var(--sui-light-bottom) / 0.65), inset 0 1px 0 oklch(var(--sui-light-top) / 0.06);
|
|
114
121
|
--sui-elevation-control: 0 0 0 0.5px oklch(var(--sui-light-bottom) / 0.40), 0 1px 3px oklch(var(--sui-light-bottom) / 0.45), inset 0 1px 0 oklch(var(--sui-light-top) / 0.09);
|
|
115
122
|
--sui-elevation-recessed: inset 0 1px 3px oklch(var(--sui-light-bottom) / 0.42), inset 0 -1px 0 oklch(var(--sui-light-top) / 0.05);
|
|
116
123
|
--sui-elevation-recessed-top: inset 0 5px 8px -5px oklch(var(--sui-light-bottom) / 0.40);
|
|
117
|
-
--sui-elevation-well: inset 0 2px 4px oklch(var(--sui-light-bottom) / 0.
|
|
124
|
+
--sui-elevation-well: inset 0 2px 4px oklch(var(--sui-light-bottom) / 0.80), inset 0 -1px 0 oklch(var(--sui-light-top) / 0.12);
|
|
125
|
+
--sui-elevation-mark: inset 0 1px 3px oklch(var(--sui-light-bottom) / 0.65), inset 0 -1px 0 oklch(var(--sui-light-top) / 0.12);
|
|
118
126
|
--sui-glass-fill: 0.98;
|
|
119
127
|
--sui-glass-blur: 32px;
|
|
120
128
|
--sui-glass-saturation: 1.12;
|
|
@@ -129,7 +137,7 @@
|
|
|
129
137
|
--sui-glass-hero-saturation: 1.03;
|
|
130
138
|
--sui-glass-hero-brightness: 1.0;
|
|
131
139
|
--sui-glass-hero-gradient: linear-gradient(180deg, rgb(255 255 255 / 0.035) 0%, rgb(255 255 255 / 0.01) 12%, rgb(255 255 255 / 0) 44%, rgb(0 0 0 / 0.16) 100%);
|
|
132
|
-
--sui-surface-overlay: 0.
|
|
140
|
+
--sui-surface-overlay: 0.226 0.018 285;
|
|
133
141
|
--sui-overlay-fill: 0.99;
|
|
134
142
|
--sui-scrim-blur: 8px;
|
|
135
143
|
--sui-code-text: #dfdee6;
|
|
@@ -144,12 +152,14 @@
|
|
|
144
152
|
@media (prefers-color-scheme: dark) {
|
|
145
153
|
:root:not([data-sherick-theme]) {
|
|
146
154
|
color-scheme: dark;
|
|
147
|
-
--sui-canvas: 0.
|
|
148
|
-
--sui-surface: 0.
|
|
149
|
-
--sui-surface-high: 0.
|
|
150
|
-
--sui-tray
|
|
151
|
-
--sui-
|
|
152
|
-
--sui-
|
|
155
|
+
--sui-canvas: 0.145 0.016 285;
|
|
156
|
+
--sui-surface: 0.212 0.018 285;
|
|
157
|
+
--sui-surface-high: 0.310 0.022 285;
|
|
158
|
+
--sui-tray: 0.262 0.020 285;
|
|
159
|
+
--sui-tray-deep: 0.300 0.022 285;
|
|
160
|
+
--sui-mark-well: 0.335 0.024 285;
|
|
161
|
+
--sui-surface-float: 0.238 0.019 285;
|
|
162
|
+
--sui-puck: 0.335 0.024 285;
|
|
153
163
|
--sui-media: 0.160 0.006 285;
|
|
154
164
|
--sui-ink: 0.950 0.004 285;
|
|
155
165
|
--sui-ink-muted: 0.745 0.010 285;
|
|
@@ -157,8 +167,8 @@
|
|
|
157
167
|
--sui-rim: 0.535 0.010 285;
|
|
158
168
|
--sui-primary: 0.780 0.125 292;
|
|
159
169
|
--sui-primary-strong: 0.720 0.160 292;
|
|
160
|
-
--sui-primary-soft: 0.
|
|
161
|
-
--sui-primary-selected: 0.
|
|
170
|
+
--sui-primary-soft: 0.310 0.098 292;
|
|
171
|
+
--sui-primary-selected: 0.385 0.128 292;
|
|
162
172
|
--sui-danger-soft: 0.260 0.040 25;
|
|
163
173
|
--sui-danger-selected: 0.330 0.062 25;
|
|
164
174
|
--sui-warning-soft: 0.260 0.040 75;
|
|
@@ -180,12 +190,14 @@
|
|
|
180
190
|
--sui-light-top: 1 0 0;
|
|
181
191
|
--sui-light-bottom: 0.070 0.008 285;
|
|
182
192
|
--sui-elevation-flat: none;
|
|
183
|
-
--sui-elevation-
|
|
193
|
+
--sui-elevation-resting: 0 1px 2px oklch(var(--sui-light-bottom) / 0.45), 0 3px 8px -3px oklch(var(--sui-light-bottom) / 0.45);
|
|
194
|
+
--sui-elevation-raised: 0 1px 2px oklch(var(--sui-light-bottom) / 0.40), 0 3px 8px -2px oklch(var(--sui-light-bottom) / 0.30), inset 0 1px 0 oklch(var(--sui-light-top) / 0.13);
|
|
184
195
|
--sui-elevation-floating: 0 0 0 1px oklch(var(--sui-light-top) / 0.08), 0 6px 14px -4px oklch(var(--sui-light-bottom) / 0.40), 0 26px 56px -12px oklch(var(--sui-light-bottom) / 0.65), inset 0 1px 0 oklch(var(--sui-light-top) / 0.06);
|
|
185
196
|
--sui-elevation-control: 0 0 0 0.5px oklch(var(--sui-light-bottom) / 0.40), 0 1px 3px oklch(var(--sui-light-bottom) / 0.45), inset 0 1px 0 oklch(var(--sui-light-top) / 0.09);
|
|
186
197
|
--sui-elevation-recessed: inset 0 1px 3px oklch(var(--sui-light-bottom) / 0.42), inset 0 -1px 0 oklch(var(--sui-light-top) / 0.05);
|
|
187
198
|
--sui-elevation-recessed-top: inset 0 5px 8px -5px oklch(var(--sui-light-bottom) / 0.40);
|
|
188
|
-
--sui-elevation-well: inset 0 2px 4px oklch(var(--sui-light-bottom) / 0.
|
|
199
|
+
--sui-elevation-well: inset 0 2px 4px oklch(var(--sui-light-bottom) / 0.80), inset 0 -1px 0 oklch(var(--sui-light-top) / 0.12);
|
|
200
|
+
--sui-elevation-mark: inset 0 1px 3px oklch(var(--sui-light-bottom) / 0.65), inset 0 -1px 0 oklch(var(--sui-light-top) / 0.12);
|
|
189
201
|
--sui-glass-fill: 0.98;
|
|
190
202
|
--sui-glass-blur: 32px;
|
|
191
203
|
--sui-glass-saturation: 1.12;
|
|
@@ -200,7 +212,7 @@
|
|
|
200
212
|
--sui-glass-hero-saturation: 1.03;
|
|
201
213
|
--sui-glass-hero-brightness: 1.0;
|
|
202
214
|
--sui-glass-hero-gradient: linear-gradient(180deg, rgb(255 255 255 / 0.035) 0%, rgb(255 255 255 / 0.01) 12%, rgb(255 255 255 / 0) 44%, rgb(0 0 0 / 0.16) 100%);
|
|
203
|
-
--sui-surface-overlay: 0.
|
|
215
|
+
--sui-surface-overlay: 0.226 0.018 285;
|
|
204
216
|
--sui-overlay-fill: 0.99;
|
|
205
217
|
--sui-scrim-blur: 8px;
|
|
206
218
|
--sui-code-text: #dfdee6;
|
package/dist/types/dev.d.cts
CHANGED
|
@@ -10,11 +10,13 @@ declare const groupFocusRing = "group-focus-visible:outline group-focus-visible:
|
|
|
10
10
|
declare const forcedBoundary = "forced-colors:outline forced-colors:outline-1 forced-colors:outline-offset-[-1px]";
|
|
11
11
|
declare const elevation: {
|
|
12
12
|
readonly flat: "shadow-sherick-flat";
|
|
13
|
+
readonly resting: "shadow-sherick-resting";
|
|
13
14
|
readonly raised: string;
|
|
14
15
|
readonly floating: string;
|
|
15
16
|
readonly control: "shadow-sherick-control";
|
|
16
17
|
readonly recessed: "shadow-sherick-recessed";
|
|
17
18
|
readonly well: "shadow-sherick-well";
|
|
19
|
+
readonly mark: "shadow-sherick-mark";
|
|
18
20
|
};
|
|
19
21
|
declare const recessedTop = "shadow-sherick-recessed-top";
|
|
20
22
|
declare const shape: {
|
|
@@ -34,7 +36,7 @@ declare const edgeTone: {
|
|
|
34
36
|
readonly rule: "border-sherick-edge/[0.075]";
|
|
35
37
|
};
|
|
36
38
|
declare const rim: {
|
|
37
|
-
readonly field: "border-[1.5px]
|
|
39
|
+
readonly field: "forced-colors:border-[1.5px]";
|
|
38
40
|
readonly dashed: string;
|
|
39
41
|
readonly dashedHover: "hover:after:bg-sherick-ink-muted";
|
|
40
42
|
readonly dashedDragging: "data-[dragging]:after:bg-sherick-primary";
|
|
@@ -86,15 +88,17 @@ declare const hitArea = "relative after:pointer-events-auto after:absolute after
|
|
|
86
88
|
declare const material: {
|
|
87
89
|
readonly canvas: "bg-sherick-canvas text-sherick-ink";
|
|
88
90
|
readonly matteQuiet: "bg-sherick-surface/[0.42] text-sherick-ink";
|
|
89
|
-
readonly matte: "bg-sherick-surface
|
|
91
|
+
readonly matte: "bg-sherick-surface text-sherick-ink";
|
|
90
92
|
readonly matteHigh: "bg-sherick-surface-high/[0.72] text-sherick-ink";
|
|
91
|
-
readonly control: "bg-sherick-
|
|
93
|
+
readonly control: "bg-sherick-tray text-sherick-ink placeholder:text-sherick-ink-muted";
|
|
92
94
|
readonly controlError: "bg-sherick-danger-soft text-sherick-ink placeholder:text-sherick-danger";
|
|
93
95
|
readonly handle: "bg-sherick-ink-muted text-sherick-canvas";
|
|
94
96
|
readonly acrylic: "bg-sherick-surface-float/[var(--sui-glass-fill)] bg-[image:var(--sui-glass-gradient)] text-sherick-ink";
|
|
95
97
|
readonly acrylicDense: "bg-sherick-surface-float/[var(--sui-glass-dense-fill)] bg-[image:var(--sui-glass-gradient-dense)] text-sherick-ink";
|
|
96
98
|
readonly acrylicHero: "bg-sherick-surface-overlay/[var(--sui-overlay-fill)] bg-[image:var(--sui-glass-hero-gradient)] text-sherick-ink";
|
|
97
99
|
};
|
|
100
|
+
declare const fieldWell: string;
|
|
101
|
+
declare const fieldWellError: string;
|
|
98
102
|
declare const mediaCanvas = "bg-sherick-media";
|
|
99
103
|
declare const matteInset = "bg-sherick-surface-high/[0.35] text-sherick-ink";
|
|
100
104
|
declare const type: {
|
|
@@ -216,6 +220,7 @@ declare const currentDestination: {
|
|
|
216
220
|
readonly inTrack: "bg-sherick-primary-selected text-sherick-primary font-semibold";
|
|
217
221
|
};
|
|
218
222
|
declare const puck = "bg-sherick-puck";
|
|
223
|
+
declare const selectableRowRest: string;
|
|
219
224
|
declare const selectableRowSurface: string;
|
|
220
225
|
declare const selectableRowSupporting = "group-has-[[data-checked]]:text-sherick-ink";
|
|
221
226
|
declare const selectable: {
|
|
@@ -260,6 +265,7 @@ declare const recipeAlphas: {
|
|
|
260
265
|
readonly quiet: number;
|
|
261
266
|
readonly card: number;
|
|
262
267
|
readonly groove: number;
|
|
268
|
+
readonly choiceRow: number;
|
|
263
269
|
readonly control: number;
|
|
264
270
|
readonly hover: number;
|
|
265
271
|
readonly engaged: number;
|
|
@@ -382,9 +388,8 @@ declare const motionActivityIndeterminate: string;
|
|
|
382
388
|
* is, and arrowing through a list with a soft fade on every row leaves a smear of half-lit rows.
|
|
383
389
|
* The row's layer therefore changes in one step, for the pointer and the keyboard alike. */
|
|
384
390
|
declare const motionRowLayer = "before:transition-none";
|
|
385
|
-
/** A rim drawn as an overlay of its own —
|
|
386
|
-
*
|
|
387
|
-
* on the same press curve as the surface beneath it. */
|
|
391
|
+
/** A rim drawn as an overlay of its own — a drop target's dashes — carries its own feedback
|
|
392
|
+
* timing: it steps up on hover, on the same press curve as the surface beneath it. */
|
|
388
393
|
declare const motionRim = "after:transition-[background-color,border-color,opacity] after:duration-press after:ease-press motion-reduce:after:transition-none";
|
|
389
394
|
declare const motionStateLayer = "before:transition-opacity before:duration-release before:ease-release active:before:duration-tactile active:before:ease-press group-active:before:duration-tactile group-active:before:ease-press motion-reduce:before:transition-none";
|
|
390
395
|
declare const motionDisclose = "transition-[height] duration-release ease-release data-[starting-style]:h-0 data-[ending-style]:h-0 data-[ending-style]:duration-overlay-exit data-[ending-style]:ease-exit motion-reduce:transition-none";
|
|
@@ -398,5 +403,5 @@ declare const motionPresenceToast: string;
|
|
|
398
403
|
*/
|
|
399
404
|
declare const cn: (...inputs: ClassValue[]) => string;
|
|
400
405
|
|
|
401
|
-
export { cn, codeWell, currentDestination, density, detail, disclosure, edge, edgeTone, elevation, fieldLabel, fieldLayout, fieldMessage, focusRing, focusRingDrag, focusRingHeld, focusRingInset, focusRingWithin, forcedBoundary, groupFocusRing, headingRhythm, hitArea, iconSlot, iconStroke, list, material, matteInset, mediaCanvas, motionActivityIndeterminate, motionActivityIndeterminateReduced, motionActivityPulse, motionActivitySpin, motionArrive, motionDirect, motionDisclose, motionFeedback, motionInkPress, motionOrient, motionPresenceAnchored, motionPresenceModal, motionPresenceScrim, motionPresenceScrimUtility, motionPresenceSheet, motionPresenceToast, motionPresenceTooltip, motionPresenceUtility, motionRelocate, motionRelocateLong, motionRim, motionRowLayer, motionStateLayer, motionTactile, motionTactileField, motionTactileWide, overlay, parentFocusRingInset, puck, recessedTop, recipeAlphas, richText, rim, selectable, selectableRowSupporting, selectableRowSurface, shape, stacking, state, stateLayer, stateLayerQuietComposite, text, tone, type };
|
|
406
|
+
export { cn, codeWell, currentDestination, density, detail, disclosure, edge, edgeTone, elevation, fieldLabel, fieldLayout, fieldMessage, fieldWell, fieldWellError, focusRing, focusRingDrag, focusRingHeld, focusRingInset, focusRingWithin, forcedBoundary, groupFocusRing, headingRhythm, hitArea, iconSlot, iconStroke, list, material, matteInset, mediaCanvas, motionActivityIndeterminate, motionActivityIndeterminateReduced, motionActivityPulse, motionActivitySpin, motionArrive, motionDirect, motionDisclose, motionFeedback, motionInkPress, motionOrient, motionPresenceAnchored, motionPresenceModal, motionPresenceScrim, motionPresenceScrimUtility, motionPresenceSheet, motionPresenceToast, motionPresenceTooltip, motionPresenceUtility, motionRelocate, motionRelocateLong, motionRim, motionRowLayer, motionStateLayer, motionTactile, motionTactileField, motionTactileWide, overlay, parentFocusRingInset, puck, recessedTop, recipeAlphas, richText, rim, selectable, selectableRowRest, selectableRowSupporting, selectableRowSurface, shape, stacking, state, stateLayer, stateLayerQuietComposite, text, tone, type };
|
|
402
407
|
export type { MotionIntent };
|
package/dist/types/dev.d.ts
CHANGED
|
@@ -10,11 +10,13 @@ declare const groupFocusRing = "group-focus-visible:outline group-focus-visible:
|
|
|
10
10
|
declare const forcedBoundary = "forced-colors:outline forced-colors:outline-1 forced-colors:outline-offset-[-1px]";
|
|
11
11
|
declare const elevation: {
|
|
12
12
|
readonly flat: "shadow-sherick-flat";
|
|
13
|
+
readonly resting: "shadow-sherick-resting";
|
|
13
14
|
readonly raised: string;
|
|
14
15
|
readonly floating: string;
|
|
15
16
|
readonly control: "shadow-sherick-control";
|
|
16
17
|
readonly recessed: "shadow-sherick-recessed";
|
|
17
18
|
readonly well: "shadow-sherick-well";
|
|
19
|
+
readonly mark: "shadow-sherick-mark";
|
|
18
20
|
};
|
|
19
21
|
declare const recessedTop = "shadow-sherick-recessed-top";
|
|
20
22
|
declare const shape: {
|
|
@@ -34,7 +36,7 @@ declare const edgeTone: {
|
|
|
34
36
|
readonly rule: "border-sherick-edge/[0.075]";
|
|
35
37
|
};
|
|
36
38
|
declare const rim: {
|
|
37
|
-
readonly field: "border-[1.5px]
|
|
39
|
+
readonly field: "forced-colors:border-[1.5px]";
|
|
38
40
|
readonly dashed: string;
|
|
39
41
|
readonly dashedHover: "hover:after:bg-sherick-ink-muted";
|
|
40
42
|
readonly dashedDragging: "data-[dragging]:after:bg-sherick-primary";
|
|
@@ -86,15 +88,17 @@ declare const hitArea = "relative after:pointer-events-auto after:absolute after
|
|
|
86
88
|
declare const material: {
|
|
87
89
|
readonly canvas: "bg-sherick-canvas text-sherick-ink";
|
|
88
90
|
readonly matteQuiet: "bg-sherick-surface/[0.42] text-sherick-ink";
|
|
89
|
-
readonly matte: "bg-sherick-surface
|
|
91
|
+
readonly matte: "bg-sherick-surface text-sherick-ink";
|
|
90
92
|
readonly matteHigh: "bg-sherick-surface-high/[0.72] text-sherick-ink";
|
|
91
|
-
readonly control: "bg-sherick-
|
|
93
|
+
readonly control: "bg-sherick-tray text-sherick-ink placeholder:text-sherick-ink-muted";
|
|
92
94
|
readonly controlError: "bg-sherick-danger-soft text-sherick-ink placeholder:text-sherick-danger";
|
|
93
95
|
readonly handle: "bg-sherick-ink-muted text-sherick-canvas";
|
|
94
96
|
readonly acrylic: "bg-sherick-surface-float/[var(--sui-glass-fill)] bg-[image:var(--sui-glass-gradient)] text-sherick-ink";
|
|
95
97
|
readonly acrylicDense: "bg-sherick-surface-float/[var(--sui-glass-dense-fill)] bg-[image:var(--sui-glass-gradient-dense)] text-sherick-ink";
|
|
96
98
|
readonly acrylicHero: "bg-sherick-surface-overlay/[var(--sui-overlay-fill)] bg-[image:var(--sui-glass-hero-gradient)] text-sherick-ink";
|
|
97
99
|
};
|
|
100
|
+
declare const fieldWell: string;
|
|
101
|
+
declare const fieldWellError: string;
|
|
98
102
|
declare const mediaCanvas = "bg-sherick-media";
|
|
99
103
|
declare const matteInset = "bg-sherick-surface-high/[0.35] text-sherick-ink";
|
|
100
104
|
declare const type: {
|
|
@@ -216,6 +220,7 @@ declare const currentDestination: {
|
|
|
216
220
|
readonly inTrack: "bg-sherick-primary-selected text-sherick-primary font-semibold";
|
|
217
221
|
};
|
|
218
222
|
declare const puck = "bg-sherick-puck";
|
|
223
|
+
declare const selectableRowRest: string;
|
|
219
224
|
declare const selectableRowSurface: string;
|
|
220
225
|
declare const selectableRowSupporting = "group-has-[[data-checked]]:text-sherick-ink";
|
|
221
226
|
declare const selectable: {
|
|
@@ -260,6 +265,7 @@ declare const recipeAlphas: {
|
|
|
260
265
|
readonly quiet: number;
|
|
261
266
|
readonly card: number;
|
|
262
267
|
readonly groove: number;
|
|
268
|
+
readonly choiceRow: number;
|
|
263
269
|
readonly control: number;
|
|
264
270
|
readonly hover: number;
|
|
265
271
|
readonly engaged: number;
|
|
@@ -382,9 +388,8 @@ declare const motionActivityIndeterminate: string;
|
|
|
382
388
|
* is, and arrowing through a list with a soft fade on every row leaves a smear of half-lit rows.
|
|
383
389
|
* The row's layer therefore changes in one step, for the pointer and the keyboard alike. */
|
|
384
390
|
declare const motionRowLayer = "before:transition-none";
|
|
385
|
-
/** A rim drawn as an overlay of its own —
|
|
386
|
-
*
|
|
387
|
-
* on the same press curve as the surface beneath it. */
|
|
391
|
+
/** A rim drawn as an overlay of its own — a drop target's dashes — carries its own feedback
|
|
392
|
+
* timing: it steps up on hover, on the same press curve as the surface beneath it. */
|
|
388
393
|
declare const motionRim = "after:transition-[background-color,border-color,opacity] after:duration-press after:ease-press motion-reduce:after:transition-none";
|
|
389
394
|
declare const motionStateLayer = "before:transition-opacity before:duration-release before:ease-release active:before:duration-tactile active:before:ease-press group-active:before:duration-tactile group-active:before:ease-press motion-reduce:before:transition-none";
|
|
390
395
|
declare const motionDisclose = "transition-[height] duration-release ease-release data-[starting-style]:h-0 data-[ending-style]:h-0 data-[ending-style]:duration-overlay-exit data-[ending-style]:ease-exit motion-reduce:transition-none";
|
|
@@ -398,5 +403,5 @@ declare const motionPresenceToast: string;
|
|
|
398
403
|
*/
|
|
399
404
|
declare const cn: (...inputs: ClassValue[]) => string;
|
|
400
405
|
|
|
401
|
-
export { cn, codeWell, currentDestination, density, detail, disclosure, edge, edgeTone, elevation, fieldLabel, fieldLayout, fieldMessage, focusRing, focusRingDrag, focusRingHeld, focusRingInset, focusRingWithin, forcedBoundary, groupFocusRing, headingRhythm, hitArea, iconSlot, iconStroke, list, material, matteInset, mediaCanvas, motionActivityIndeterminate, motionActivityIndeterminateReduced, motionActivityPulse, motionActivitySpin, motionArrive, motionDirect, motionDisclose, motionFeedback, motionInkPress, motionOrient, motionPresenceAnchored, motionPresenceModal, motionPresenceScrim, motionPresenceScrimUtility, motionPresenceSheet, motionPresenceToast, motionPresenceTooltip, motionPresenceUtility, motionRelocate, motionRelocateLong, motionRim, motionRowLayer, motionStateLayer, motionTactile, motionTactileField, motionTactileWide, overlay, parentFocusRingInset, puck, recessedTop, recipeAlphas, richText, rim, selectable, selectableRowSupporting, selectableRowSurface, shape, stacking, state, stateLayer, stateLayerQuietComposite, text, tone, type };
|
|
406
|
+
export { cn, codeWell, currentDestination, density, detail, disclosure, edge, edgeTone, elevation, fieldLabel, fieldLayout, fieldMessage, fieldWell, fieldWellError, focusRing, focusRingDrag, focusRingHeld, focusRingInset, focusRingWithin, forcedBoundary, groupFocusRing, headingRhythm, hitArea, iconSlot, iconStroke, list, material, matteInset, mediaCanvas, motionActivityIndeterminate, motionActivityIndeterminateReduced, motionActivityPulse, motionActivitySpin, motionArrive, motionDirect, motionDisclose, motionFeedback, motionInkPress, motionOrient, motionPresenceAnchored, motionPresenceModal, motionPresenceScrim, motionPresenceScrimUtility, motionPresenceSheet, motionPresenceToast, motionPresenceTooltip, motionPresenceUtility, motionRelocate, motionRelocateLong, motionRim, motionRowLayer, motionStateLayer, motionTactile, motionTactileField, motionTactileWide, overlay, parentFocusRingInset, puck, recessedTop, recipeAlphas, richText, rim, selectable, selectableRowRest, selectableRowSupporting, selectableRowSurface, shape, stacking, state, stateLayer, stateLayerQuietComposite, text, tone, type };
|
|
402
407
|
export type { MotionIntent };
|
package/dist/types/index.d.cts
CHANGED
|
@@ -155,7 +155,10 @@ interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
|
155
155
|
variant?: Variant;
|
|
156
156
|
appearance?: ButtonAppearance;
|
|
157
157
|
size?: ButtonSize;
|
|
158
|
+
/** The mark before the label. */
|
|
158
159
|
icon?: ReactNode;
|
|
160
|
+
/** The mark after the label, such as an arrow or a chevron. It follows the writing direction. */
|
|
161
|
+
trailingIcon?: ReactNode;
|
|
159
162
|
loading?: boolean;
|
|
160
163
|
/**
|
|
161
164
|
* The element the button renders as, such as a router link. The button's classes and its own props
|
package/dist/types/index.d.ts
CHANGED
|
@@ -155,7 +155,10 @@ interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
|
155
155
|
variant?: Variant;
|
|
156
156
|
appearance?: ButtonAppearance;
|
|
157
157
|
size?: ButtonSize;
|
|
158
|
+
/** The mark before the label. */
|
|
158
159
|
icon?: ReactNode;
|
|
160
|
+
/** The mark after the label, such as an arrow or a chevron. It follows the writing direction. */
|
|
161
|
+
trailingIcon?: ReactNode;
|
|
159
162
|
loading?: boolean;
|
|
160
163
|
/**
|
|
161
164
|
* The element the button renders as, such as a router link. The button's classes and its own props
|