sherick-ui 2.6.0 → 2.7.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 +3 -3
- package/dist/cjs/components/Combobox.cjs +8 -6
- package/dist/cjs/components/Combobox.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/Search.cjs +1 -1
- package/dist/cjs/components/Search.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/ToggleGroup.cjs +1 -1
- package/dist/cjs/components/ToggleGroup.cjs.map +1 -1
- package/dist/cjs/components/date-field.cjs +3 -3
- package/dist/cjs/components/date-field.cjs.map +1 -1
- package/dist/cjs/components/ui.common.cjs +91 -54
- package/dist/cjs/components/ui.common.cjs.map +1 -1
- package/dist/cjs/dev.cjs +1 -0
- package/dist/cjs/dev.cjs.map +1 -1
- package/dist/esm/components/Combobox.js +9 -7
- package/dist/esm/components/Combobox.js.map +1 -1
- package/dist/esm/components/NumberField.js +1 -1
- package/dist/esm/components/NumberField.js.map +1 -1
- package/dist/esm/components/Search.js +1 -1
- package/dist/esm/components/Search.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/ToggleGroup.js +2 -2
- package/dist/esm/components/ToggleGroup.js.map +1 -1
- package/dist/esm/components/date-field.js +3 -3
- package/dist/esm/components/date-field.js.map +1 -1
- package/dist/esm/components/ui.common.js +91 -55
- package/dist/esm/components/ui.common.js.map +1 -1
- package/dist/esm/dev.js +1 -1
- package/dist/styles.css +240 -205
- package/dist/theme.css +160 -157
- package/dist/types/dev.d.cts +29 -25
- package/dist/types/dev.d.ts +29 -25
- package/package.json +2 -2
package/dist/types/dev.d.ts
CHANGED
|
@@ -17,13 +17,13 @@ declare const elevation: {
|
|
|
17
17
|
};
|
|
18
18
|
declare const recessedTop = "shadow-sherick-recessed-top";
|
|
19
19
|
declare const shape: {
|
|
20
|
-
readonly control: "rounded-[
|
|
20
|
+
readonly control: "rounded-[0.75rem]";
|
|
21
21
|
readonly mark: "rounded-[0.375rem]";
|
|
22
|
-
readonly row: "rounded-[0.
|
|
23
|
-
readonly prominent: "rounded-[
|
|
24
|
-
readonly surface: "rounded-[1.
|
|
25
|
-
readonly sheet: "rounded-[
|
|
26
|
-
readonly expressive: "rounded-[1.
|
|
22
|
+
readonly row: "rounded-[0.5rem]";
|
|
23
|
+
readonly prominent: "rounded-[1rem]";
|
|
24
|
+
readonly surface: "rounded-[1.25rem]";
|
|
25
|
+
readonly sheet: "rounded-[0.75rem]";
|
|
26
|
+
readonly expressive: "rounded-[1.5rem]";
|
|
27
27
|
readonly pill: "rounded-full";
|
|
28
28
|
readonly circle: "rounded-full";
|
|
29
29
|
};
|
|
@@ -33,8 +33,8 @@ declare const edgeTone: {
|
|
|
33
33
|
readonly rule: "border-sherick-edge/[0.075]";
|
|
34
34
|
};
|
|
35
35
|
declare const rim: {
|
|
36
|
-
readonly field: "border-[1.5px] border-sherick-rim";
|
|
37
|
-
readonly fieldError: "border-[1.5px] border-sherick-danger";
|
|
36
|
+
readonly field: "border-[1.5px] border-transparent border-b-sherick-rim";
|
|
37
|
+
readonly fieldError: "border-[1.5px] border-transparent border-b-sherick-danger";
|
|
38
38
|
readonly dashed: string;
|
|
39
39
|
readonly dashedHover: "hover:after:bg-sherick-ink-muted";
|
|
40
40
|
readonly dashedDragging: "data-[dragging]:after:bg-sherick-primary";
|
|
@@ -56,17 +56,17 @@ declare const state: {
|
|
|
56
56
|
readonly text: "cursor-text";
|
|
57
57
|
readonly rowHover: "hover:bg-sherick-ink/[0.05]";
|
|
58
58
|
readonly field: {
|
|
59
|
-
readonly hover: "hover:bg-sherick-
|
|
60
|
-
readonly focus: "focus:bg-sherick-
|
|
61
|
-
readonly focusWithin: "[&&]:focus-within:bg-sherick-
|
|
62
|
-
readonly engaged: "bg-sherick-
|
|
63
|
-
readonly errorHover: "hover:bg-sherick-
|
|
64
|
-
readonly errorFocus: "focus:bg-sherick-
|
|
65
|
-
readonly errorEngaged: "bg-sherick-
|
|
66
|
-
readonly invalid: "data-[invalid]:border-sherick-danger";
|
|
67
|
-
readonly invalidHover: "data-[invalid]:hover:border-sherick-danger";
|
|
68
|
-
readonly invalidEngaged: "data-[invalid]:border-sherick-danger";
|
|
69
|
-
readonly invalidFocusWithin: "[&&]:data-[invalid]:focus-within:border-sherick-danger";
|
|
59
|
+
readonly hover: "hover:bg-sherick-surface-high/[0.82] hover:border-b-sherick-ink-muted";
|
|
60
|
+
readonly focus: "focus:bg-sherick-surface-high focus:border-b-sherick-ink-muted";
|
|
61
|
+
readonly focusWithin: "[&&]:focus-within:bg-sherick-surface-high [&&]:focus-within:border-b-sherick-ink-muted";
|
|
62
|
+
readonly engaged: "bg-sherick-surface-high border-b-sherick-ink-muted";
|
|
63
|
+
readonly errorHover: "hover:bg-sherick-danger-soft/[0.55]";
|
|
64
|
+
readonly errorFocus: "focus:bg-sherick-danger-soft/[0.55]";
|
|
65
|
+
readonly errorEngaged: "bg-sherick-danger-soft/[0.55]";
|
|
66
|
+
readonly invalid: "data-[invalid]:bg-sherick-danger-soft/[0.55] data-[invalid]:border-b-sherick-danger";
|
|
67
|
+
readonly invalidHover: "data-[invalid]:hover:bg-sherick-danger-soft/[0.55] data-[invalid]:hover:border-b-sherick-danger";
|
|
68
|
+
readonly invalidEngaged: "data-[invalid]:bg-sherick-danger-soft/[0.55] data-[invalid]:border-b-sherick-danger";
|
|
69
|
+
readonly invalidFocusWithin: "[&&]:data-[invalid]:focus-within:bg-sherick-danger-soft/[0.55] [&&]:data-[invalid]:focus-within:border-b-sherick-danger";
|
|
70
70
|
};
|
|
71
71
|
};
|
|
72
72
|
declare const stateLayerQuietComposite: string;
|
|
@@ -78,6 +78,7 @@ declare const stateLayer: {
|
|
|
78
78
|
readonly track: string;
|
|
79
79
|
readonly mark: string;
|
|
80
80
|
readonly activeRow: "data-[highlighted]:before:opacity-[0.05]";
|
|
81
|
+
readonly fieldPart: string;
|
|
81
82
|
};
|
|
82
83
|
declare const hitArea = "relative after:pointer-events-auto after:absolute after:inset-[min(0px,calc((100%-2.75rem)/2))] after:content-['']";
|
|
83
84
|
declare const material: {
|
|
@@ -85,8 +86,8 @@ declare const material: {
|
|
|
85
86
|
readonly matteQuiet: "bg-sherick-surface/[0.42] text-sherick-ink";
|
|
86
87
|
readonly matte: "bg-sherick-surface/[0.78] text-sherick-ink";
|
|
87
88
|
readonly matteHigh: "bg-sherick-surface-high/[0.72] text-sherick-ink";
|
|
88
|
-
readonly control: "bg-sherick-
|
|
89
|
-
readonly controlError: "bg-sherick-
|
|
89
|
+
readonly control: "bg-sherick-surface-high/[0.6] text-sherick-ink placeholder:text-sherick-ink-muted";
|
|
90
|
+
readonly controlError: "bg-sherick-danger-soft/[0.55] text-sherick-ink placeholder:text-sherick-danger";
|
|
90
91
|
readonly handle: "bg-sherick-ink-muted text-sherick-canvas";
|
|
91
92
|
readonly acrylic: "bg-sherick-surface-float/[var(--sui-glass-fill)] bg-[image:var(--sui-glass-gradient)] text-sherick-ink backdrop-blur-[var(--sui-glass-blur)] backdrop-saturate-[var(--sui-glass-saturation)] backdrop-brightness-[var(--sui-glass-brightness)]";
|
|
92
93
|
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)]";
|
|
@@ -102,7 +103,7 @@ declare const type: {
|
|
|
102
103
|
};
|
|
103
104
|
readonly supporting: "text-[0.8125rem] leading-5";
|
|
104
105
|
readonly caption: "text-xs leading-4";
|
|
105
|
-
readonly title: "text-[0.9375rem] leading-[1.375rem] font-semibold";
|
|
106
|
+
readonly title: "text-[0.9375rem] leading-[1.375rem] font-semibold tracking-[-0.011em]";
|
|
106
107
|
readonly heading: "text-xl leading-7 font-semibold tracking-[-0.02em]";
|
|
107
108
|
readonly numeric: "tabular-nums";
|
|
108
109
|
};
|
|
@@ -111,7 +112,7 @@ declare const density: {
|
|
|
111
112
|
readonly normal: string;
|
|
112
113
|
readonly prominent: string;
|
|
113
114
|
readonly target: "min-h-11 min-w-11";
|
|
114
|
-
readonly part: "min-h-11 min-w-
|
|
115
|
+
readonly part: "min-h-11 min-w-8";
|
|
115
116
|
};
|
|
116
117
|
declare const iconSlot: {
|
|
117
118
|
readonly caption: "inline-flex size-3.5 shrink-0 items-center justify-center [&>svg]:size-3.5";
|
|
@@ -197,7 +198,8 @@ declare const tone: {
|
|
|
197
198
|
};
|
|
198
199
|
};
|
|
199
200
|
declare const currentDestination = "bg-sherick-primary-soft text-sherick-ink font-medium";
|
|
200
|
-
declare const
|
|
201
|
+
declare const puck = "bg-sherick-puck";
|
|
202
|
+
declare const selectableRowSurface = "has-[[data-checked]]:bg-sherick-primary-soft has-[[data-checked]]:text-sherick-ink";
|
|
201
203
|
declare const selectableRowSupporting = "group-has-[[data-checked]]:text-sherick-ink";
|
|
202
204
|
declare const selectable: {
|
|
203
205
|
readonly surface: string;
|
|
@@ -241,6 +243,8 @@ declare const recipeAlphas: {
|
|
|
241
243
|
readonly control: number;
|
|
242
244
|
readonly hover: number;
|
|
243
245
|
readonly engaged: number;
|
|
246
|
+
readonly mark: number;
|
|
247
|
+
readonly error: number;
|
|
244
248
|
};
|
|
245
249
|
};
|
|
246
250
|
declare const fieldLayout = "flex min-w-0 w-full flex-col [overflow-wrap:anywhere]";
|
|
@@ -345,5 +349,5 @@ declare const motionPresenceToast: string;
|
|
|
345
349
|
*/
|
|
346
350
|
declare const cn: (...inputs: ClassValue[]) => string;
|
|
347
351
|
|
|
348
|
-
export { cn, currentDestination, density, detail, disclosure, edge, edgeTone, elevation, fieldLayout, fieldMessage, focusRing, focusRingDrag, focusRingHeld, focusRingInset, focusRingWithin, groupFocusRing, hitArea, iconSlot, list, material, matteInset, mediaCanvas, motionActivityIndeterminate, motionActivityPulse, motionActivitySpin, motionArrive, motionDirect, motionDisclose, motionFeedback, motionInkPress, motionOrient, motionPresenceAnchored, motionPresenceModal, motionPresenceScrim, motionPresenceSheet, motionPresenceToast, motionPresenceTooltip, motionRelocate, motionRelocateLong, motionRim, motionRowLayer, motionStateLayer, motionTactile, motionTactileField, motionTactileWide, overlay, parentFocusRingInset, recessedTop, recipeAlphas, rim, selectable, selectableRowSupporting, selectableRowSurface, shape, stacking, state, stateLayer, stateLayerQuietComposite, text, tone, type };
|
|
352
|
+
export { cn, currentDestination, density, detail, disclosure, edge, edgeTone, elevation, fieldLayout, fieldMessage, focusRing, focusRingDrag, focusRingHeld, focusRingInset, focusRingWithin, groupFocusRing, hitArea, iconSlot, list, material, matteInset, mediaCanvas, motionActivityIndeterminate, motionActivityPulse, motionActivitySpin, motionArrive, motionDirect, motionDisclose, motionFeedback, motionInkPress, motionOrient, motionPresenceAnchored, motionPresenceModal, motionPresenceScrim, motionPresenceSheet, motionPresenceToast, motionPresenceTooltip, motionRelocate, motionRelocateLong, motionRim, motionRowLayer, motionStateLayer, motionTactile, motionTactileField, motionTactileWide, overlay, parentFocusRingInset, puck, recessedTop, recipeAlphas, rim, selectable, selectableRowSupporting, selectableRowSurface, shape, stacking, state, stateLayer, stateLayerQuietComposite, text, tone, type };
|
|
349
353
|
export type { MotionIntent };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sherick-ui",
|
|
3
|
-
"version": "2.
|
|
4
|
-
"description": "A
|
|
3
|
+
"version": "2.7.0",
|
|
4
|
+
"description": "A React component library in graphite and iris, with light and dark themes.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/Sherick16/sherick-ui.git",
|