sherick-ui 2.0.0 → 2.1.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 +55 -199
- package/dist/cjs/components/Breadcrumb.cjs +47 -0
- package/dist/cjs/components/Breadcrumb.cjs.map +1 -0
- package/dist/cjs/components/Calendar.cjs +298 -0
- package/dist/cjs/components/Calendar.cjs.map +1 -0
- package/dist/cjs/components/Combobox.cjs +1 -1
- package/dist/cjs/components/Combobox.cjs.map +1 -1
- package/dist/cjs/components/Command.cjs +81 -0
- package/dist/cjs/components/Command.cjs.map +1 -0
- package/dist/cjs/components/CommandPalette.cjs +52 -0
- package/dist/cjs/components/CommandPalette.cjs.map +1 -0
- package/dist/cjs/components/DatePicker.cjs +107 -0
- package/dist/cjs/components/DatePicker.cjs.map +1 -0
- package/dist/cjs/components/DateRangePicker.cjs +165 -0
- package/dist/cjs/components/DateRangePicker.cjs.map +1 -0
- package/dist/cjs/components/FileUpload.cjs +203 -0
- package/dist/cjs/components/FileUpload.cjs.map +1 -0
- package/dist/cjs/components/Media.cjs +27 -0
- package/dist/cjs/components/Media.cjs.map +1 -0
- package/dist/cjs/components/Pagination.cjs +115 -0
- package/dist/cjs/components/Pagination.cjs.map +1 -0
- package/dist/cjs/components/Select.cjs +1 -1
- package/dist/cjs/components/Select.cjs.map +1 -1
- package/dist/cjs/components/Stepper.cjs +40 -0
- package/dist/cjs/components/Stepper.cjs.map +1 -0
- package/dist/cjs/components/Tabs.cjs +1 -1
- package/dist/cjs/components/Tabs.cjs.map +1 -1
- package/dist/cjs/components/TreeView.cjs +247 -0
- package/dist/cjs/components/TreeView.cjs.map +1 -0
- package/dist/cjs/components/date-family.cjs +191 -0
- package/dist/cjs/components/date-family.cjs.map +1 -0
- package/dist/cjs/components/date-field.cjs +90 -0
- package/dist/cjs/components/date-field.cjs.map +1 -0
- package/dist/cjs/components/fileUpload.rules.cjs +121 -0
- package/dist/cjs/components/fileUpload.rules.cjs.map +1 -0
- package/dist/cjs/components/tree.cjs +95 -0
- package/dist/cjs/components/tree.cjs.map +1 -0
- package/dist/cjs/components/ui.common.cjs +27 -7
- package/dist/cjs/components/ui.common.cjs.map +1 -1
- package/dist/cjs/components/ui.motion.cjs +3 -3
- package/dist/cjs/components/ui.motion.cjs.map +1 -1
- package/dist/cjs/dev.cjs +5 -0
- package/dist/cjs/dev.cjs.map +1 -1
- package/dist/cjs/index.cjs +22 -0
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/components/Breadcrumb.js +43 -0
- package/dist/esm/components/Breadcrumb.js.map +1 -0
- package/dist/esm/components/Calendar.js +294 -0
- package/dist/esm/components/Calendar.js.map +1 -0
- package/dist/esm/components/Combobox.js +2 -2
- package/dist/esm/components/Combobox.js.map +1 -1
- package/dist/esm/components/Command.js +77 -0
- package/dist/esm/components/Command.js.map +1 -0
- package/dist/esm/components/CommandPalette.js +48 -0
- package/dist/esm/components/CommandPalette.js.map +1 -0
- package/dist/esm/components/DatePicker.js +103 -0
- package/dist/esm/components/DatePicker.js.map +1 -0
- package/dist/esm/components/DateRangePicker.js +161 -0
- package/dist/esm/components/DateRangePicker.js.map +1 -0
- package/dist/esm/components/FileUpload.js +199 -0
- package/dist/esm/components/FileUpload.js.map +1 -0
- package/dist/esm/components/Media.js +25 -0
- package/dist/esm/components/Media.js.map +1 -0
- package/dist/esm/components/Pagination.js +111 -0
- package/dist/esm/components/Pagination.js.map +1 -0
- package/dist/esm/components/Select.js +2 -2
- package/dist/esm/components/Select.js.map +1 -1
- package/dist/esm/components/Stepper.js +36 -0
- package/dist/esm/components/Stepper.js.map +1 -0
- package/dist/esm/components/Tabs.js +2 -2
- package/dist/esm/components/Tabs.js.map +1 -1
- package/dist/esm/components/TreeView.js +243 -0
- package/dist/esm/components/TreeView.js.map +1 -0
- package/dist/esm/components/date-family.js +173 -0
- package/dist/esm/components/date-family.js.map +1 -0
- package/dist/esm/components/date-field.js +84 -0
- package/dist/esm/components/date-field.js.map +1 -0
- package/dist/esm/components/fileUpload.rules.js +114 -0
- package/dist/esm/components/fileUpload.rules.js.map +1 -0
- package/dist/esm/components/tree.js +88 -0
- package/dist/esm/components/tree.js.map +1 -0
- package/dist/esm/components/ui.common.js +23 -8
- package/dist/esm/components/ui.common.js.map +1 -1
- package/dist/esm/components/ui.motion.js +3 -3
- package/dist/esm/components/ui.motion.js.map +1 -1
- package/dist/esm/dev.js +1 -1
- package/dist/esm/index.js +11 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/styles.css +362 -20
- package/dist/theme.css +15 -9
- package/dist/types/dev.d.cts +8 -3
- package/dist/types/dev.d.ts +8 -3
- package/dist/types/index.d.cts +600 -66
- package/dist/types/index.d.ts +600 -66
- package/package.json +1 -1
package/dist/theme.css
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
--sui-surface: 0.985 0.006 255;
|
|
8
8
|
--sui-surface-high: 0.925 0.014 255;
|
|
9
9
|
--sui-surface-float: 0.992 0.006 255;
|
|
10
|
+
--sui-media: 0.205 0.012 260;
|
|
10
11
|
--sui-ink: 0.245 0.018 260;
|
|
11
12
|
--sui-ink-muted: 0.480 0.018 260;
|
|
12
13
|
--sui-detail: 0.600 0.016 258;
|
|
@@ -32,12 +33,13 @@
|
|
|
32
33
|
--sui-elevation-floating: 0 16px 40px oklch(var(--sui-light-bottom) / 0.20), inset 0 1px 0 oklch(var(--sui-light-top) / 0.70);
|
|
33
34
|
--sui-elevation-control: 0 1px 2px oklch(var(--sui-light-bottom) / 0.19), inset 0 1px 0 oklch(var(--sui-light-top) / 0.55);
|
|
34
35
|
--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);
|
|
36
|
+
--sui-elevation-recessed-top: inset 0 5px 8px -5px oklch(var(--sui-light-bottom) / 0.21);
|
|
35
37
|
--sui-elevation-well: inset 0 3px 4px oklch(var(--sui-light-bottom) / 0.62), inset 0 -1px 0 oklch(var(--sui-light-top) / 0.50);
|
|
36
|
-
--sui-glass-fill: 0.
|
|
38
|
+
--sui-glass-fill: 0.98;
|
|
37
39
|
--sui-glass-blur: 28px;
|
|
38
40
|
--sui-glass-saturation: 1.06;
|
|
39
41
|
--sui-glass-brightness: 1.012;
|
|
40
|
-
--sui-glass-dense-fill: 0.
|
|
42
|
+
--sui-glass-dense-fill: 0.99;
|
|
41
43
|
--sui-glass-dense-blur: 22px;
|
|
42
44
|
--sui-glass-dense-saturation: 1.05;
|
|
43
45
|
--sui-glass-dense-brightness: 1.008;
|
|
@@ -48,7 +50,7 @@
|
|
|
48
50
|
--sui-glass-hero-brightness: 1.0;
|
|
49
51
|
--sui-glass-hero-gradient: linear-gradient(180deg, rgb(255 255 255 / 0.42) 0%, rgb(255 255 255 / 0.12) 14%, rgb(255 255 255 / 0) 46%, rgb(38 46 62 / 0.05) 100%);
|
|
50
52
|
--sui-surface-overlay: 0.993 0.005 258;
|
|
51
|
-
--sui-overlay-fill: 0.
|
|
53
|
+
--sui-overlay-fill: 0.99;
|
|
52
54
|
--sui-scrim-blur: 6px;
|
|
53
55
|
--sui-code-text: oklch(0.30 0.018 260);
|
|
54
56
|
--sui-code-comment: oklch(0.54 0.015 255);
|
|
@@ -65,6 +67,7 @@
|
|
|
65
67
|
--sui-surface: 0.245 0.014 260;
|
|
66
68
|
--sui-surface-high: 0.295 0.016 260;
|
|
67
69
|
--sui-surface-float: 0.27 0.018 260;
|
|
70
|
+
--sui-media: 0.205 0.012 260;
|
|
68
71
|
--sui-ink: 0.94 0.008 255;
|
|
69
72
|
--sui-ink-muted: 0.76 0.014 255;
|
|
70
73
|
--sui-detail: 0.600 0.014 256;
|
|
@@ -90,12 +93,13 @@
|
|
|
90
93
|
--sui-elevation-floating: 0 18px 44px oklch(var(--sui-light-bottom) / 0.38), inset 0 1px 0 oklch(var(--sui-light-top) / 0.05);
|
|
91
94
|
--sui-elevation-control: 0 1px 2px oklch(var(--sui-light-bottom) / 0.30), inset 0 1px 0 oklch(var(--sui-light-top) / 0.08);
|
|
92
95
|
--sui-elevation-recessed: inset 0 1px 3px oklch(var(--sui-light-bottom) / 0.38), inset 0 -1px 0 oklch(var(--sui-light-top) / 0.06);
|
|
96
|
+
--sui-elevation-recessed-top: inset 0 5px 8px -5px oklch(var(--sui-light-bottom) / 0.36);
|
|
93
97
|
--sui-elevation-well: inset 0 1px 3px oklch(var(--sui-light-bottom) / 0.38), inset 0 -2px 3px oklch(var(--sui-light-top) / 0.40);
|
|
94
|
-
--sui-glass-fill: 0.
|
|
98
|
+
--sui-glass-fill: 0.98;
|
|
95
99
|
--sui-glass-blur: 32px;
|
|
96
100
|
--sui-glass-saturation: 1.10;
|
|
97
101
|
--sui-glass-brightness: 1.01;
|
|
98
|
-
--sui-glass-dense-fill: 0.
|
|
102
|
+
--sui-glass-dense-fill: 0.99;
|
|
99
103
|
--sui-glass-dense-blur: 26px;
|
|
100
104
|
--sui-glass-dense-saturation: 1.08;
|
|
101
105
|
--sui-glass-dense-brightness: 1.01;
|
|
@@ -106,7 +110,7 @@
|
|
|
106
110
|
--sui-glass-hero-brightness: 1.0;
|
|
107
111
|
--sui-glass-hero-gradient: linear-gradient(180deg, rgb(255 255 255 / 0.028) 0%, rgb(255 255 255 / 0.009) 12%, rgb(255 255 255 / 0) 44%, rgb(0 0 0 / 0.16) 100%);
|
|
108
112
|
--sui-surface-overlay: 0.236 0.012 260;
|
|
109
|
-
--sui-overlay-fill: 0.
|
|
113
|
+
--sui-overlay-fill: 0.99;
|
|
110
114
|
--sui-scrim-blur: 6px;
|
|
111
115
|
--sui-code-text: #e2e8f0;
|
|
112
116
|
--sui-code-comment: #7a8aa3;
|
|
@@ -124,6 +128,7 @@
|
|
|
124
128
|
--sui-surface: 0.245 0.014 260;
|
|
125
129
|
--sui-surface-high: 0.295 0.016 260;
|
|
126
130
|
--sui-surface-float: 0.27 0.018 260;
|
|
131
|
+
--sui-media: 0.205 0.012 260;
|
|
127
132
|
--sui-ink: 0.94 0.008 255;
|
|
128
133
|
--sui-ink-muted: 0.76 0.014 255;
|
|
129
134
|
--sui-detail: 0.600 0.014 256;
|
|
@@ -149,12 +154,13 @@
|
|
|
149
154
|
--sui-elevation-floating: 0 18px 44px oklch(var(--sui-light-bottom) / 0.38), inset 0 1px 0 oklch(var(--sui-light-top) / 0.05);
|
|
150
155
|
--sui-elevation-control: 0 1px 2px oklch(var(--sui-light-bottom) / 0.30), inset 0 1px 0 oklch(var(--sui-light-top) / 0.08);
|
|
151
156
|
--sui-elevation-recessed: inset 0 1px 3px oklch(var(--sui-light-bottom) / 0.38), inset 0 -1px 0 oklch(var(--sui-light-top) / 0.06);
|
|
157
|
+
--sui-elevation-recessed-top: inset 0 5px 8px -5px oklch(var(--sui-light-bottom) / 0.36);
|
|
152
158
|
--sui-elevation-well: inset 0 1px 3px oklch(var(--sui-light-bottom) / 0.38), inset 0 -2px 3px oklch(var(--sui-light-top) / 0.40);
|
|
153
|
-
--sui-glass-fill: 0.
|
|
159
|
+
--sui-glass-fill: 0.98;
|
|
154
160
|
--sui-glass-blur: 32px;
|
|
155
161
|
--sui-glass-saturation: 1.10;
|
|
156
162
|
--sui-glass-brightness: 1.01;
|
|
157
|
-
--sui-glass-dense-fill: 0.
|
|
163
|
+
--sui-glass-dense-fill: 0.99;
|
|
158
164
|
--sui-glass-dense-blur: 26px;
|
|
159
165
|
--sui-glass-dense-saturation: 1.08;
|
|
160
166
|
--sui-glass-dense-brightness: 1.01;
|
|
@@ -165,7 +171,7 @@
|
|
|
165
171
|
--sui-glass-hero-brightness: 1.0;
|
|
166
172
|
--sui-glass-hero-gradient: linear-gradient(180deg, rgb(255 255 255 / 0.028) 0%, rgb(255 255 255 / 0.009) 12%, rgb(255 255 255 / 0) 44%, rgb(0 0 0 / 0.16) 100%);
|
|
167
173
|
--sui-surface-overlay: 0.236 0.012 260;
|
|
168
|
-
--sui-overlay-fill: 0.
|
|
174
|
+
--sui-overlay-fill: 0.99;
|
|
169
175
|
--sui-scrim-blur: 6px;
|
|
170
176
|
--sui-code-text: #e2e8f0;
|
|
171
177
|
--sui-code-comment: #7a8aa3;
|
package/dist/types/dev.d.cts
CHANGED
|
@@ -2,8 +2,10 @@ import { ClassValue } from 'clsx';
|
|
|
2
2
|
|
|
3
3
|
declare const focusRing = "focus:outline-none focus-visible:outline focus-visible:outline-2 focus-visible:outline-sherick-focus focus-visible:outline-offset-[3px]";
|
|
4
4
|
declare const focusRingInset = "focus:outline-none focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-sherick-focus";
|
|
5
|
+
declare const parentFocusRingInset = "[:focus-visible>&]:ring-2 [:focus-visible>&]:ring-inset [:focus-visible>&]:ring-sherick-focus";
|
|
5
6
|
declare const focusRingHeld = "focus:outline-none focus:outline focus:outline-2 focus:outline-sherick-focus focus:outline-offset-[3px] data-[popup-open]:outline data-[popup-open]:outline-2 data-[popup-open]:outline-sherick-focus data-[popup-open]:outline-offset-[3px]";
|
|
6
7
|
declare const focusRingWithin = "has-[:focus-visible]:outline has-[:focus-visible]:outline-2 has-[:focus-visible]:outline-sherick-focus has-[:focus-visible]:outline-offset-[3px]";
|
|
8
|
+
declare const focusRingDrag = "data-[dragging]:outline data-[dragging]:outline-2 data-[dragging]:outline-sherick-focus data-[dragging]:outline-offset-[3px]";
|
|
7
9
|
declare const groupFocusRing = "group-focus-visible:outline group-focus-visible:outline-2 group-focus-visible:outline-sherick-focus group-focus-visible:outline-offset-[3px]";
|
|
8
10
|
declare const elevation: {
|
|
9
11
|
readonly flat: "shadow-sherick-flat";
|
|
@@ -13,6 +15,7 @@ declare const elevation: {
|
|
|
13
15
|
readonly recessed: "shadow-sherick-recessed";
|
|
14
16
|
readonly well: "shadow-sherick-well";
|
|
15
17
|
};
|
|
18
|
+
declare const recessedTop = "shadow-sherick-recessed-top";
|
|
16
19
|
declare const shape: {
|
|
17
20
|
readonly control: "rounded-[1.25rem]";
|
|
18
21
|
readonly mark: "rounded-[0.625rem]";
|
|
@@ -48,7 +51,7 @@ declare const state: {
|
|
|
48
51
|
readonly field: {
|
|
49
52
|
readonly hover: "hover:bg-sherick-surface-high/[0.82]";
|
|
50
53
|
readonly focus: "focus:bg-sherick-surface-high/[0.9]";
|
|
51
|
-
readonly focusWithin: "focus-within:bg-sherick-surface-high/[0.9]";
|
|
54
|
+
readonly focusWithin: "[&&]:focus-within:bg-sherick-surface-high/[0.9]";
|
|
52
55
|
readonly engaged: "bg-sherick-surface-high/[0.9]";
|
|
53
56
|
readonly errorHover: "hover:bg-sherick-danger/[0.10]";
|
|
54
57
|
readonly errorFocus: "focus:bg-sherick-danger/[0.13]";
|
|
@@ -56,7 +59,7 @@ declare const state: {
|
|
|
56
59
|
readonly invalid: "data-[invalid]:bg-sherick-danger/[0.075]";
|
|
57
60
|
readonly invalidHover: "data-[invalid]:hover:bg-sherick-danger/[0.10]";
|
|
58
61
|
readonly invalidEngaged: "data-[invalid]:bg-sherick-danger/[0.13]";
|
|
59
|
-
readonly invalidFocusWithin: "data-[invalid]:focus-within:bg-sherick-danger/[0.13]";
|
|
62
|
+
readonly invalidFocusWithin: "[&&]:data-[invalid]:focus-within:bg-sherick-danger/[0.13]";
|
|
60
63
|
};
|
|
61
64
|
};
|
|
62
65
|
declare const stateLayer: {
|
|
@@ -79,6 +82,8 @@ declare const material: {
|
|
|
79
82
|
readonly acrylicDense: "bg-sherick-surface-float/[var(--sui-glass-dense-fill)] bg-[image:var(--sui-glass-gradient-dense)] text-sherick-ink backdrop-blur-[var(--sui-glass-dense-blur)] backdrop-saturate-[var(--sui-glass-dense-saturation)] backdrop-brightness-[var(--sui-glass-dense-brightness)]";
|
|
80
83
|
readonly acrylicHero: "bg-sherick-surface-overlay/[var(--sui-overlay-fill)] bg-[image:var(--sui-glass-hero-gradient)] text-sherick-ink backdrop-blur-[var(--sui-glass-hero-blur)] backdrop-saturate-[var(--sui-glass-hero-saturation)] backdrop-brightness-[var(--sui-glass-hero-brightness)]";
|
|
81
84
|
};
|
|
85
|
+
declare const mediaCanvas = "bg-sherick-media";
|
|
86
|
+
declare const matteInset = "bg-sherick-surface-high/[0.35] text-sherick-ink";
|
|
82
87
|
declare const density: {
|
|
83
88
|
readonly compact: "min-h-10 text-sm";
|
|
84
89
|
readonly normal: "min-h-12 text-[0.95rem]";
|
|
@@ -304,5 +309,5 @@ declare const motionPresenceToast: string;
|
|
|
304
309
|
*/
|
|
305
310
|
declare const cn: (...inputs: ClassValue[]) => string;
|
|
306
311
|
|
|
307
|
-
export { cn, density, detail, disclosure, edge, edgeTone, elevation, fieldLayout, focusRing, focusRingHeld, focusRingInset, focusRingWithin, groupFocusRing, hitArea, list, material, motionActivityIndeterminate, motionActivityPulse, motionActivitySpin, motionArrive, motionDirect, motionDisclose, motionFeedback, motionInkPress, motionOrient, motionPresenceAnchored, motionPresenceModal, motionPresenceScrim, motionPresenceSheet, motionPresenceToast, motionPresenceTooltip, motionRelocate, motionStateLayer, motionTactile, overlay, recipeAlphas, selectable, shape, stacking, state, stateLayer, text, tone };
|
|
312
|
+
export { cn, density, detail, disclosure, edge, edgeTone, elevation, fieldLayout, focusRing, focusRingDrag, focusRingHeld, focusRingInset, focusRingWithin, groupFocusRing, hitArea, list, material, matteInset, mediaCanvas, motionActivityIndeterminate, motionActivityPulse, motionActivitySpin, motionArrive, motionDirect, motionDisclose, motionFeedback, motionInkPress, motionOrient, motionPresenceAnchored, motionPresenceModal, motionPresenceScrim, motionPresenceSheet, motionPresenceToast, motionPresenceTooltip, motionRelocate, motionStateLayer, motionTactile, overlay, parentFocusRingInset, recessedTop, recipeAlphas, selectable, shape, stacking, state, stateLayer, text, tone };
|
|
308
313
|
export type { MotionIntent };
|
package/dist/types/dev.d.ts
CHANGED
|
@@ -2,8 +2,10 @@ import { ClassValue } from 'clsx';
|
|
|
2
2
|
|
|
3
3
|
declare const focusRing = "focus:outline-none focus-visible:outline focus-visible:outline-2 focus-visible:outline-sherick-focus focus-visible:outline-offset-[3px]";
|
|
4
4
|
declare const focusRingInset = "focus:outline-none focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-sherick-focus";
|
|
5
|
+
declare const parentFocusRingInset = "[:focus-visible>&]:ring-2 [:focus-visible>&]:ring-inset [:focus-visible>&]:ring-sherick-focus";
|
|
5
6
|
declare const focusRingHeld = "focus:outline-none focus:outline focus:outline-2 focus:outline-sherick-focus focus:outline-offset-[3px] data-[popup-open]:outline data-[popup-open]:outline-2 data-[popup-open]:outline-sherick-focus data-[popup-open]:outline-offset-[3px]";
|
|
6
7
|
declare const focusRingWithin = "has-[:focus-visible]:outline has-[:focus-visible]:outline-2 has-[:focus-visible]:outline-sherick-focus has-[:focus-visible]:outline-offset-[3px]";
|
|
8
|
+
declare const focusRingDrag = "data-[dragging]:outline data-[dragging]:outline-2 data-[dragging]:outline-sherick-focus data-[dragging]:outline-offset-[3px]";
|
|
7
9
|
declare const groupFocusRing = "group-focus-visible:outline group-focus-visible:outline-2 group-focus-visible:outline-sherick-focus group-focus-visible:outline-offset-[3px]";
|
|
8
10
|
declare const elevation: {
|
|
9
11
|
readonly flat: "shadow-sherick-flat";
|
|
@@ -13,6 +15,7 @@ declare const elevation: {
|
|
|
13
15
|
readonly recessed: "shadow-sherick-recessed";
|
|
14
16
|
readonly well: "shadow-sherick-well";
|
|
15
17
|
};
|
|
18
|
+
declare const recessedTop = "shadow-sherick-recessed-top";
|
|
16
19
|
declare const shape: {
|
|
17
20
|
readonly control: "rounded-[1.25rem]";
|
|
18
21
|
readonly mark: "rounded-[0.625rem]";
|
|
@@ -48,7 +51,7 @@ declare const state: {
|
|
|
48
51
|
readonly field: {
|
|
49
52
|
readonly hover: "hover:bg-sherick-surface-high/[0.82]";
|
|
50
53
|
readonly focus: "focus:bg-sherick-surface-high/[0.9]";
|
|
51
|
-
readonly focusWithin: "focus-within:bg-sherick-surface-high/[0.9]";
|
|
54
|
+
readonly focusWithin: "[&&]:focus-within:bg-sherick-surface-high/[0.9]";
|
|
52
55
|
readonly engaged: "bg-sherick-surface-high/[0.9]";
|
|
53
56
|
readonly errorHover: "hover:bg-sherick-danger/[0.10]";
|
|
54
57
|
readonly errorFocus: "focus:bg-sherick-danger/[0.13]";
|
|
@@ -56,7 +59,7 @@ declare const state: {
|
|
|
56
59
|
readonly invalid: "data-[invalid]:bg-sherick-danger/[0.075]";
|
|
57
60
|
readonly invalidHover: "data-[invalid]:hover:bg-sherick-danger/[0.10]";
|
|
58
61
|
readonly invalidEngaged: "data-[invalid]:bg-sherick-danger/[0.13]";
|
|
59
|
-
readonly invalidFocusWithin: "data-[invalid]:focus-within:bg-sherick-danger/[0.13]";
|
|
62
|
+
readonly invalidFocusWithin: "[&&]:data-[invalid]:focus-within:bg-sherick-danger/[0.13]";
|
|
60
63
|
};
|
|
61
64
|
};
|
|
62
65
|
declare const stateLayer: {
|
|
@@ -79,6 +82,8 @@ declare const material: {
|
|
|
79
82
|
readonly acrylicDense: "bg-sherick-surface-float/[var(--sui-glass-dense-fill)] bg-[image:var(--sui-glass-gradient-dense)] text-sherick-ink backdrop-blur-[var(--sui-glass-dense-blur)] backdrop-saturate-[var(--sui-glass-dense-saturation)] backdrop-brightness-[var(--sui-glass-dense-brightness)]";
|
|
80
83
|
readonly acrylicHero: "bg-sherick-surface-overlay/[var(--sui-overlay-fill)] bg-[image:var(--sui-glass-hero-gradient)] text-sherick-ink backdrop-blur-[var(--sui-glass-hero-blur)] backdrop-saturate-[var(--sui-glass-hero-saturation)] backdrop-brightness-[var(--sui-glass-hero-brightness)]";
|
|
81
84
|
};
|
|
85
|
+
declare const mediaCanvas = "bg-sherick-media";
|
|
86
|
+
declare const matteInset = "bg-sherick-surface-high/[0.35] text-sherick-ink";
|
|
82
87
|
declare const density: {
|
|
83
88
|
readonly compact: "min-h-10 text-sm";
|
|
84
89
|
readonly normal: "min-h-12 text-[0.95rem]";
|
|
@@ -304,5 +309,5 @@ declare const motionPresenceToast: string;
|
|
|
304
309
|
*/
|
|
305
310
|
declare const cn: (...inputs: ClassValue[]) => string;
|
|
306
311
|
|
|
307
|
-
export { cn, density, detail, disclosure, edge, edgeTone, elevation, fieldLayout, focusRing, focusRingHeld, focusRingInset, focusRingWithin, groupFocusRing, hitArea, list, material, motionActivityIndeterminate, motionActivityPulse, motionActivitySpin, motionArrive, motionDirect, motionDisclose, motionFeedback, motionInkPress, motionOrient, motionPresenceAnchored, motionPresenceModal, motionPresenceScrim, motionPresenceSheet, motionPresenceToast, motionPresenceTooltip, motionRelocate, motionStateLayer, motionTactile, overlay, recipeAlphas, selectable, shape, stacking, state, stateLayer, text, tone };
|
|
312
|
+
export { cn, density, detail, disclosure, edge, edgeTone, elevation, fieldLayout, focusRing, focusRingDrag, focusRingHeld, focusRingInset, focusRingWithin, groupFocusRing, hitArea, list, material, matteInset, mediaCanvas, motionActivityIndeterminate, motionActivityPulse, motionActivitySpin, motionArrive, motionDirect, motionDisclose, motionFeedback, motionInkPress, motionOrient, motionPresenceAnchored, motionPresenceModal, motionPresenceScrim, motionPresenceSheet, motionPresenceToast, motionPresenceTooltip, motionRelocate, motionStateLayer, motionTactile, overlay, parentFocusRingInset, recessedTop, recipeAlphas, selectable, shape, stacking, state, stateLayer, text, tone };
|
|
308
313
|
export type { MotionIntent };
|