iryx-ui 0.16.0 → 0.17.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/component-names.d.ts +1 -1
- package/dist/component-names.js +1 -1
- package/dist/components/Calendar.js +5 -0
- package/dist/components/Calendar.vue.d.ts +69 -0
- package/dist/components/Calendar.vue_vue_type_script_setup_true_lang.js +168 -0
- package/dist/components/Combobox.vue.d.ts +9 -9
- package/dist/components/Combobox.vue_vue_type_script_setup_true_lang.js +180 -144
- package/dist/components/DateField.js +5 -0
- package/dist/components/DateField.vue.d.ts +38 -0
- package/dist/components/DateField.vue_vue_type_script_setup_true_lang.js +94 -0
- package/dist/components/DatePicker.vue.d.ts +7 -2
- package/dist/components/DatePicker.vue_vue_type_script_setup_true_lang.js +73 -124
- package/dist/components/DateRangePicker.vue.d.ts +2 -2
- package/dist/components/DateRangePicker.vue_vue_type_script_setup_true_lang.js +81 -78
- package/dist/components/DropdownMenu.vue.d.ts +13 -6
- package/dist/components/DropdownMenu.vue_vue_type_script_setup_true_lang.js +28 -22
- package/dist/components/Editable.js +5 -0
- package/dist/components/Editable.vue.d.ts +81 -0
- package/dist/components/Editable.vue_vue_type_script_setup_true_lang.js +140 -0
- package/dist/components/HoverCard.js +5 -0
- package/dist/components/HoverCard.vue.d.ts +68 -0
- package/dist/components/HoverCard.vue_vue_type_script_setup_true_lang.js +79 -0
- package/dist/components/TagsInput.vue.d.ts +2 -2
- package/dist/components/TimeField.vue_vue_type_script_setup_true_lang.js +17 -14
- package/dist/components/index.d.ts +4 -0
- package/dist/components/index.js +124 -116
- package/dist/index.d.ts +4 -0
- package/dist/index.js +130 -122
- package/dist/theme/accordion.d.ts +0 -15
- package/dist/theme/alert.d.ts +0 -3
- package/dist/theme/avatar.d.ts +0 -3
- package/dist/theme/banner.d.ts +0 -6
- package/dist/theme/bar-chart.d.ts +0 -18
- package/dist/theme/breadcrumb.d.ts +0 -3
- package/dist/theme/calendar.d.ts +62 -0
- package/dist/theme/calendar.js +29 -0
- package/dist/theme/card.d.ts +0 -6
- package/dist/theme/chart-legend.d.ts +0 -3
- package/dist/theme/checkbox.d.ts +0 -6
- package/dist/theme/color-picker.d.ts +0 -6
- package/dist/theme/combobox.js +4 -4
- package/dist/theme/command-palette.d.ts +0 -6
- package/dist/theme/container.d.ts +0 -3
- package/dist/theme/container.js +3 -3
- package/dist/theme/date-field.d.ts +65 -0
- package/dist/theme/date-field.js +21 -0
- package/dist/theme/date-picker.d.ts +0 -195
- package/dist/theme/date-picker.js +2 -24
- package/dist/theme/donut-chart.d.ts +0 -18
- package/dist/theme/dropdown-menu.d.ts +3 -0
- package/dist/theme/dropdown-menu.js +1 -0
- package/dist/theme/editable.d.ts +77 -0
- package/dist/theme/editable.js +26 -0
- package/dist/theme/empty-state.d.ts +0 -3
- package/dist/theme/file-upload.d.ts +0 -39
- package/dist/theme/hover-card.d.ts +92 -0
- package/dist/theme/hover-card.js +28 -0
- package/dist/theme/index.d.ts +4 -0
- package/dist/theme/input.d.ts +0 -18
- package/dist/theme/kbd.d.ts +0 -3
- package/dist/theme/line-chart.d.ts +0 -18
- package/dist/theme/navigation-menu.d.ts +0 -48
- package/dist/theme/number-input.d.ts +0 -3
- package/dist/theme/page-header.d.ts +0 -3
- package/dist/theme/password-input.d.ts +0 -23
- package/dist/theme/pin-input.d.ts +0 -3
- package/dist/theme/popover.d.ts +0 -6
- package/dist/theme/progress.d.ts +0 -51
- package/dist/theme/scroll-area.d.ts +0 -3
- package/dist/theme/separator.d.ts +0 -3
- package/dist/theme/sidebar.d.ts +0 -54
- package/dist/theme/skeleton.d.ts +0 -3
- package/dist/theme/skeleton.js +1 -1
- package/dist/theme/slider.d.ts +0 -6
- package/dist/theme/sparkline.d.ts +0 -11
- package/dist/theme/splitter.d.ts +0 -3
- package/dist/theme/stat.d.ts +0 -12
- package/dist/theme/stat.js +2 -2
- package/dist/theme/switch.d.ts +0 -6
- package/dist/theme/table.d.ts +0 -39
- package/dist/theme/tabs.d.ts +0 -12
- package/dist/theme/time-field.d.ts +0 -3
- package/dist/theme/timeline.d.ts +0 -18
- package/dist/theme/toast.d.ts +0 -3
- package/dist/theme/toggle.d.ts +0 -23
- package/dist/theme/tree.d.ts +0 -3
- package/package.json +1 -1
package/dist/theme/sidebar.d.ts
CHANGED
|
@@ -25,32 +25,14 @@ export declare const sidebarTheme: import("tailwind-variants").TVReturnType<{
|
|
|
25
25
|
}, {
|
|
26
26
|
root: string;
|
|
27
27
|
header: string;
|
|
28
|
-
/** The only scrolling region; header and footer stay pinned. */
|
|
29
28
|
nav: string;
|
|
30
29
|
footer: string;
|
|
31
30
|
section: string;
|
|
32
31
|
sectionLabel: string;
|
|
33
|
-
/**
|
|
34
|
-
* `group` drives the collapsed treatment of the label and chevron, so the
|
|
35
|
-
* link needs no separate collapsed class.
|
|
36
|
-
*/
|
|
37
32
|
link: string;
|
|
38
33
|
linkLabel: string;
|
|
39
|
-
/** Count or status at the trailing edge. Hidden when collapsed. */
|
|
40
34
|
linkBadge: string;
|
|
41
|
-
/**
|
|
42
|
-
* Rotates when its group is open. The state lives on the trigger, not on
|
|
43
|
-
* the icon, so this reads it through the trigger's `group/link` — a plain
|
|
44
|
-
* `data-[state=open]:` here matches nothing and silently never rotates.
|
|
45
|
-
*
|
|
46
|
-
* Tailwind v4's `rotate-*` sets the independent `rotate` property rather
|
|
47
|
-
* than `transform`, so `transition-transform` would not tween it either.
|
|
48
|
-
*/
|
|
49
35
|
groupIcon: string;
|
|
50
|
-
/**
|
|
51
|
-
* The animated height box. Deliberately bare — see the keyframe comment in
|
|
52
|
-
* `theme.css` for why margin and padding cannot live here.
|
|
53
|
-
*/
|
|
54
36
|
groupContent: string;
|
|
55
37
|
groupInner: string;
|
|
56
38
|
}, undefined, {
|
|
@@ -80,32 +62,14 @@ export declare const sidebarTheme: import("tailwind-variants").TVReturnType<{
|
|
|
80
62
|
}, {
|
|
81
63
|
root: string;
|
|
82
64
|
header: string;
|
|
83
|
-
/** The only scrolling region; header and footer stay pinned. */
|
|
84
65
|
nav: string;
|
|
85
66
|
footer: string;
|
|
86
67
|
section: string;
|
|
87
68
|
sectionLabel: string;
|
|
88
|
-
/**
|
|
89
|
-
* `group` drives the collapsed treatment of the label and chevron, so the
|
|
90
|
-
* link needs no separate collapsed class.
|
|
91
|
-
*/
|
|
92
69
|
link: string;
|
|
93
70
|
linkLabel: string;
|
|
94
|
-
/** Count or status at the trailing edge. Hidden when collapsed. */
|
|
95
71
|
linkBadge: string;
|
|
96
|
-
/**
|
|
97
|
-
* Rotates when its group is open. The state lives on the trigger, not on
|
|
98
|
-
* the icon, so this reads it through the trigger's `group/link` — a plain
|
|
99
|
-
* `data-[state=open]:` here matches nothing and silently never rotates.
|
|
100
|
-
*
|
|
101
|
-
* Tailwind v4's `rotate-*` sets the independent `rotate` property rather
|
|
102
|
-
* than `transform`, so `transition-transform` would not tween it either.
|
|
103
|
-
*/
|
|
104
72
|
groupIcon: string;
|
|
105
|
-
/**
|
|
106
|
-
* The animated height box. Deliberately bare — see the keyframe comment in
|
|
107
|
-
* `theme.css` for why margin and padding cannot live here.
|
|
108
|
-
*/
|
|
109
73
|
groupContent: string;
|
|
110
74
|
groupInner: string;
|
|
111
75
|
}, import("tailwind-variants").TVReturnType<{
|
|
@@ -135,32 +99,14 @@ export declare const sidebarTheme: import("tailwind-variants").TVReturnType<{
|
|
|
135
99
|
}, {
|
|
136
100
|
root: string;
|
|
137
101
|
header: string;
|
|
138
|
-
/** The only scrolling region; header and footer stay pinned. */
|
|
139
102
|
nav: string;
|
|
140
103
|
footer: string;
|
|
141
104
|
section: string;
|
|
142
105
|
sectionLabel: string;
|
|
143
|
-
/**
|
|
144
|
-
* `group` drives the collapsed treatment of the label and chevron, so the
|
|
145
|
-
* link needs no separate collapsed class.
|
|
146
|
-
*/
|
|
147
106
|
link: string;
|
|
148
107
|
linkLabel: string;
|
|
149
|
-
/** Count or status at the trailing edge. Hidden when collapsed. */
|
|
150
108
|
linkBadge: string;
|
|
151
|
-
/**
|
|
152
|
-
* Rotates when its group is open. The state lives on the trigger, not on
|
|
153
|
-
* the icon, so this reads it through the trigger's `group/link` — a plain
|
|
154
|
-
* `data-[state=open]:` here matches nothing and silently never rotates.
|
|
155
|
-
*
|
|
156
|
-
* Tailwind v4's `rotate-*` sets the independent `rotate` property rather
|
|
157
|
-
* than `transform`, so `transition-transform` would not tween it either.
|
|
158
|
-
*/
|
|
159
109
|
groupIcon: string;
|
|
160
|
-
/**
|
|
161
|
-
* The animated height box. Deliberately bare — see the keyframe comment in
|
|
162
|
-
* `theme.css` for why margin and padding cannot live here.
|
|
163
|
-
*/
|
|
164
110
|
groupContent: string;
|
|
165
111
|
groupInner: string;
|
|
166
112
|
}, undefined, unknown, unknown, undefined>>;
|
package/dist/theme/skeleton.d.ts
CHANGED
|
@@ -1,19 +1,16 @@
|
|
|
1
1
|
export declare const skeletonTheme: import("tailwind-variants").TVReturnType<{
|
|
2
|
-
/** `text` sizes itself to the current line height so it sits in copy. */
|
|
3
2
|
variant: {
|
|
4
3
|
text: string;
|
|
5
4
|
rect: string;
|
|
6
5
|
circle: string;
|
|
7
6
|
};
|
|
8
7
|
}, undefined, "animate-pulse bg-muted", {
|
|
9
|
-
/** `text` sizes itself to the current line height so it sits in copy. */
|
|
10
8
|
variant: {
|
|
11
9
|
text: string;
|
|
12
10
|
rect: string;
|
|
13
11
|
circle: string;
|
|
14
12
|
};
|
|
15
13
|
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
16
|
-
/** `text` sizes itself to the current line height so it sits in copy. */
|
|
17
14
|
variant: {
|
|
18
15
|
text: string;
|
|
19
16
|
rect: string;
|
package/dist/theme/skeleton.js
CHANGED
package/dist/theme/slider.d.ts
CHANGED
|
@@ -23,7 +23,6 @@ export declare const sliderTheme: import("tailwind-variants").TVReturnType<{
|
|
|
23
23
|
thumb: string;
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
|
-
/** Without a grab hand the track reads as a progress bar, not a control. */
|
|
27
26
|
disabled: {
|
|
28
27
|
false: {
|
|
29
28
|
thumb: string;
|
|
@@ -31,7 +30,6 @@ export declare const sliderTheme: import("tailwind-variants").TVReturnType<{
|
|
|
31
30
|
};
|
|
32
31
|
}, {
|
|
33
32
|
root: string;
|
|
34
|
-
/** Only rendered when a label or value text is shown. */
|
|
35
33
|
header: string;
|
|
36
34
|
label: string;
|
|
37
35
|
value: string;
|
|
@@ -65,7 +63,6 @@ export declare const sliderTheme: import("tailwind-variants").TVReturnType<{
|
|
|
65
63
|
thumb: string;
|
|
66
64
|
};
|
|
67
65
|
};
|
|
68
|
-
/** Without a grab hand the track reads as a progress bar, not a control. */
|
|
69
66
|
disabled: {
|
|
70
67
|
false: {
|
|
71
68
|
thumb: string;
|
|
@@ -73,7 +70,6 @@ export declare const sliderTheme: import("tailwind-variants").TVReturnType<{
|
|
|
73
70
|
};
|
|
74
71
|
}, {
|
|
75
72
|
root: string;
|
|
76
|
-
/** Only rendered when a label or value text is shown. */
|
|
77
73
|
header: string;
|
|
78
74
|
label: string;
|
|
79
75
|
value: string;
|
|
@@ -107,7 +103,6 @@ export declare const sliderTheme: import("tailwind-variants").TVReturnType<{
|
|
|
107
103
|
thumb: string;
|
|
108
104
|
};
|
|
109
105
|
};
|
|
110
|
-
/** Without a grab hand the track reads as a progress bar, not a control. */
|
|
111
106
|
disabled: {
|
|
112
107
|
false: {
|
|
113
108
|
thumb: string;
|
|
@@ -115,7 +110,6 @@ export declare const sliderTheme: import("tailwind-variants").TVReturnType<{
|
|
|
115
110
|
};
|
|
116
111
|
}, {
|
|
117
112
|
root: string;
|
|
118
|
-
/** Only rendered when a label or value text is shown. */
|
|
119
113
|
header: string;
|
|
120
114
|
label: string;
|
|
121
115
|
value: string;
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Colour comes from `currentColor`, so a sparkline recolours with a text
|
|
3
|
-
* utility and follows the theme and appearance without any JS. That is the
|
|
4
|
-
* whole reason these are SVG rather than canvas.
|
|
5
|
-
*/
|
|
6
1
|
export declare const sparklineTheme: import("tailwind-variants").TVReturnType<{
|
|
7
2
|
muted: {
|
|
8
3
|
true: {
|
|
@@ -10,13 +5,11 @@ export declare const sparklineTheme: import("tailwind-variants").TVReturnType<{
|
|
|
10
5
|
};
|
|
11
6
|
};
|
|
12
7
|
}, {
|
|
13
|
-
/** Carries the inset that keeps every mark inside the component's box. */
|
|
14
8
|
root: string;
|
|
15
9
|
plot: string;
|
|
16
10
|
line: string;
|
|
17
11
|
area: string;
|
|
18
12
|
dot: string;
|
|
19
|
-
/** Keeps the end dot legible where it sits on top of the line. */
|
|
20
13
|
ring: string;
|
|
21
14
|
}, undefined, {
|
|
22
15
|
muted: {
|
|
@@ -25,13 +18,11 @@ export declare const sparklineTheme: import("tailwind-variants").TVReturnType<{
|
|
|
25
18
|
};
|
|
26
19
|
};
|
|
27
20
|
}, {
|
|
28
|
-
/** Carries the inset that keeps every mark inside the component's box. */
|
|
29
21
|
root: string;
|
|
30
22
|
plot: string;
|
|
31
23
|
line: string;
|
|
32
24
|
area: string;
|
|
33
25
|
dot: string;
|
|
34
|
-
/** Keeps the end dot legible where it sits on top of the line. */
|
|
35
26
|
ring: string;
|
|
36
27
|
}, import("tailwind-variants").TVReturnType<{
|
|
37
28
|
muted: {
|
|
@@ -40,13 +31,11 @@ export declare const sparklineTheme: import("tailwind-variants").TVReturnType<{
|
|
|
40
31
|
};
|
|
41
32
|
};
|
|
42
33
|
}, {
|
|
43
|
-
/** Carries the inset that keeps every mark inside the component's box. */
|
|
44
34
|
root: string;
|
|
45
35
|
plot: string;
|
|
46
36
|
line: string;
|
|
47
37
|
area: string;
|
|
48
38
|
dot: string;
|
|
49
|
-
/** Keeps the end dot legible where it sits on top of the line. */
|
|
50
39
|
ring: string;
|
|
51
40
|
}, undefined, unknown, unknown, undefined>>;
|
|
52
41
|
export type SparklineSlots = keyof ReturnType<typeof sparklineTheme>;
|
package/dist/theme/splitter.d.ts
CHANGED
|
@@ -15,7 +15,6 @@ export declare const splitterTheme: import("tailwind-variants").TVReturnType<{
|
|
|
15
15
|
root: string;
|
|
16
16
|
panel: string;
|
|
17
17
|
handle: string;
|
|
18
|
-
/** The visible rule inside the handle's hit area. */
|
|
19
18
|
rule: string;
|
|
20
19
|
}, undefined, {
|
|
21
20
|
direction: {
|
|
@@ -34,7 +33,6 @@ export declare const splitterTheme: import("tailwind-variants").TVReturnType<{
|
|
|
34
33
|
root: string;
|
|
35
34
|
panel: string;
|
|
36
35
|
handle: string;
|
|
37
|
-
/** The visible rule inside the handle's hit area. */
|
|
38
36
|
rule: string;
|
|
39
37
|
}, import("tailwind-variants").TVReturnType<{
|
|
40
38
|
direction: {
|
|
@@ -53,7 +51,6 @@ export declare const splitterTheme: import("tailwind-variants").TVReturnType<{
|
|
|
53
51
|
root: string;
|
|
54
52
|
panel: string;
|
|
55
53
|
handle: string;
|
|
56
|
-
/** The visible rule inside the handle's hit area. */
|
|
57
54
|
rule: string;
|
|
58
55
|
}, undefined, unknown, unknown, undefined>>;
|
|
59
56
|
export type SplitterSlots = keyof ReturnType<typeof splitterTheme>;
|
package/dist/theme/stat.d.ts
CHANGED
|
@@ -10,10 +10,6 @@ export declare const statTheme: import("tailwind-variants").TVReturnType<{
|
|
|
10
10
|
value: string;
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
/**
|
|
14
|
-
* Direction of change. `neutral` is used when the delta is zero, so a flat
|
|
15
|
-
* result does not read as either good or bad.
|
|
16
|
-
*/
|
|
17
13
|
trend: {
|
|
18
14
|
up: {
|
|
19
15
|
delta: string;
|
|
@@ -44,10 +40,6 @@ export declare const statTheme: import("tailwind-variants").TVReturnType<{
|
|
|
44
40
|
value: string;
|
|
45
41
|
};
|
|
46
42
|
};
|
|
47
|
-
/**
|
|
48
|
-
* Direction of change. `neutral` is used when the delta is zero, so a flat
|
|
49
|
-
* result does not read as either good or bad.
|
|
50
|
-
*/
|
|
51
43
|
trend: {
|
|
52
44
|
up: {
|
|
53
45
|
delta: string;
|
|
@@ -78,10 +70,6 @@ export declare const statTheme: import("tailwind-variants").TVReturnType<{
|
|
|
78
70
|
value: string;
|
|
79
71
|
};
|
|
80
72
|
};
|
|
81
|
-
/**
|
|
82
|
-
* Direction of change. `neutral` is used when the delta is zero, so a flat
|
|
83
|
-
* result does not read as either good or bad.
|
|
84
|
-
*/
|
|
85
73
|
trend: {
|
|
86
74
|
up: {
|
|
87
75
|
delta: string;
|
package/dist/theme/stat.js
CHANGED
|
@@ -5,9 +5,9 @@ var t = e({
|
|
|
5
5
|
root: "flex flex-col gap-2",
|
|
6
6
|
label: "text-xs font-medium tracking-wide text-muted-foreground uppercase",
|
|
7
7
|
value: "font-semibold tracking-tight text-foreground tabular-nums",
|
|
8
|
-
delta: "inline-flex items-center gap-0.5 text-xs font-medium tabular-nums [&_svg]:size-3.5",
|
|
8
|
+
delta: "inline-flex shrink-0 items-center gap-0.5 text-xs font-medium tabular-nums [&_svg]:size-3.5",
|
|
9
9
|
hint: "text-xs text-muted-foreground",
|
|
10
|
-
row: "flex flex-
|
|
10
|
+
row: "flex flex-wrap items-baseline gap-x-2 gap-y-1"
|
|
11
11
|
},
|
|
12
12
|
variants: {
|
|
13
13
|
size: {
|
package/dist/theme/switch.d.ts
CHANGED
|
@@ -13,12 +13,10 @@ export declare const switchTheme: import("tailwind-variants").TVReturnType<{
|
|
|
13
13
|
thumb: string;
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
|
-
/** Nudges the track down so it centres against the label's first line. */
|
|
17
16
|
withText: {
|
|
18
17
|
true: {};
|
|
19
18
|
};
|
|
20
19
|
}, {
|
|
21
|
-
/** Only rendered when a `label` or `description` is provided. */
|
|
22
20
|
wrapper: string;
|
|
23
21
|
root: string;
|
|
24
22
|
thumb: string;
|
|
@@ -40,12 +38,10 @@ export declare const switchTheme: import("tailwind-variants").TVReturnType<{
|
|
|
40
38
|
thumb: string;
|
|
41
39
|
};
|
|
42
40
|
};
|
|
43
|
-
/** Nudges the track down so it centres against the label's first line. */
|
|
44
41
|
withText: {
|
|
45
42
|
true: {};
|
|
46
43
|
};
|
|
47
44
|
}, {
|
|
48
|
-
/** Only rendered when a `label` or `description` is provided. */
|
|
49
45
|
wrapper: string;
|
|
50
46
|
root: string;
|
|
51
47
|
thumb: string;
|
|
@@ -67,12 +63,10 @@ export declare const switchTheme: import("tailwind-variants").TVReturnType<{
|
|
|
67
63
|
thumb: string;
|
|
68
64
|
};
|
|
69
65
|
};
|
|
70
|
-
/** Nudges the track down so it centres against the label's first line. */
|
|
71
66
|
withText: {
|
|
72
67
|
true: {};
|
|
73
68
|
};
|
|
74
69
|
}, {
|
|
75
|
-
/** Only rendered when a `label` or `description` is provided. */
|
|
76
70
|
wrapper: string;
|
|
77
71
|
root: string;
|
|
78
72
|
thumb: string;
|
package/dist/theme/table.d.ts
CHANGED
|
@@ -24,14 +24,6 @@ export declare const tableTheme: import("tailwind-variants").TVReturnType<{
|
|
|
24
24
|
tr: string;
|
|
25
25
|
};
|
|
26
26
|
};
|
|
27
|
-
/**
|
|
28
|
-
* Refreshing: an indeterminate bar riding the rule between the header and
|
|
29
|
-
* the first row, which is where a table conventionally shows progress.
|
|
30
|
-
*
|
|
31
|
-
* Plain class rather than utilities, like the drawer's drag plumbing — it
|
|
32
|
-
* is a keyframed `background-position` on a pseudo-element, and there is
|
|
33
|
-
* no class name for Tailwind to generate. Defined in `theme.css`.
|
|
34
|
-
*/
|
|
35
27
|
loading: {
|
|
36
28
|
true: {
|
|
37
29
|
thead: string;
|
|
@@ -67,17 +59,12 @@ export declare const tableTheme: import("tailwind-variants").TVReturnType<{
|
|
|
67
59
|
};
|
|
68
60
|
};
|
|
69
61
|
}, {
|
|
70
|
-
/** Scroll container — the table itself never shrinks below its content. */
|
|
71
62
|
root: string;
|
|
72
63
|
table: string;
|
|
73
64
|
thead: string;
|
|
74
65
|
tbody: string;
|
|
75
66
|
tr: string;
|
|
76
67
|
th: string;
|
|
77
|
-
/**
|
|
78
|
-
* Header sort control. A real button so it is tabbable and announced as
|
|
79
|
-
* one; the `<th>` carries `aria-sort` for the state.
|
|
80
|
-
*/
|
|
81
68
|
sortButton: string;
|
|
82
69
|
sortIcon: string;
|
|
83
70
|
td: string;
|
|
@@ -116,14 +103,6 @@ export declare const tableTheme: import("tailwind-variants").TVReturnType<{
|
|
|
116
103
|
tr: string;
|
|
117
104
|
};
|
|
118
105
|
};
|
|
119
|
-
/**
|
|
120
|
-
* Refreshing: an indeterminate bar riding the rule between the header and
|
|
121
|
-
* the first row, which is where a table conventionally shows progress.
|
|
122
|
-
*
|
|
123
|
-
* Plain class rather than utilities, like the drawer's drag plumbing — it
|
|
124
|
-
* is a keyframed `background-position` on a pseudo-element, and there is
|
|
125
|
-
* no class name for Tailwind to generate. Defined in `theme.css`.
|
|
126
|
-
*/
|
|
127
106
|
loading: {
|
|
128
107
|
true: {
|
|
129
108
|
thead: string;
|
|
@@ -159,17 +138,12 @@ export declare const tableTheme: import("tailwind-variants").TVReturnType<{
|
|
|
159
138
|
};
|
|
160
139
|
};
|
|
161
140
|
}, {
|
|
162
|
-
/** Scroll container — the table itself never shrinks below its content. */
|
|
163
141
|
root: string;
|
|
164
142
|
table: string;
|
|
165
143
|
thead: string;
|
|
166
144
|
tbody: string;
|
|
167
145
|
tr: string;
|
|
168
146
|
th: string;
|
|
169
|
-
/**
|
|
170
|
-
* Header sort control. A real button so it is tabbable and announced as
|
|
171
|
-
* one; the `<th>` carries `aria-sort` for the state.
|
|
172
|
-
*/
|
|
173
147
|
sortButton: string;
|
|
174
148
|
sortIcon: string;
|
|
175
149
|
td: string;
|
|
@@ -208,14 +182,6 @@ export declare const tableTheme: import("tailwind-variants").TVReturnType<{
|
|
|
208
182
|
tr: string;
|
|
209
183
|
};
|
|
210
184
|
};
|
|
211
|
-
/**
|
|
212
|
-
* Refreshing: an indeterminate bar riding the rule between the header and
|
|
213
|
-
* the first row, which is where a table conventionally shows progress.
|
|
214
|
-
*
|
|
215
|
-
* Plain class rather than utilities, like the drawer's drag plumbing — it
|
|
216
|
-
* is a keyframed `background-position` on a pseudo-element, and there is
|
|
217
|
-
* no class name for Tailwind to generate. Defined in `theme.css`.
|
|
218
|
-
*/
|
|
219
185
|
loading: {
|
|
220
186
|
true: {
|
|
221
187
|
thead: string;
|
|
@@ -251,17 +217,12 @@ export declare const tableTheme: import("tailwind-variants").TVReturnType<{
|
|
|
251
217
|
};
|
|
252
218
|
};
|
|
253
219
|
}, {
|
|
254
|
-
/** Scroll container — the table itself never shrinks below its content. */
|
|
255
220
|
root: string;
|
|
256
221
|
table: string;
|
|
257
222
|
thead: string;
|
|
258
223
|
tbody: string;
|
|
259
224
|
tr: string;
|
|
260
225
|
th: string;
|
|
261
|
-
/**
|
|
262
|
-
* Header sort control. A real button so it is tabbable and announced as
|
|
263
|
-
* one; the `<th>` carries `aria-sort` for the state.
|
|
264
|
-
*/
|
|
265
226
|
sortButton: string;
|
|
266
227
|
sortIcon: string;
|
|
267
228
|
td: string;
|
package/dist/theme/tabs.d.ts
CHANGED
|
@@ -5,10 +5,6 @@ export declare const tabsTheme: import("tailwind-variants").TVReturnType<{
|
|
|
5
5
|
indicator: string;
|
|
6
6
|
trigger: string;
|
|
7
7
|
};
|
|
8
|
-
/**
|
|
9
|
-
* Underline for page-level navigation. The trigger is square: a rounded
|
|
10
|
-
* corner would bend the bar that sits under it.
|
|
11
|
-
*/
|
|
12
8
|
line: {
|
|
13
9
|
list: string;
|
|
14
10
|
indicator: string;
|
|
@@ -38,10 +34,6 @@ export declare const tabsTheme: import("tailwind-variants").TVReturnType<{
|
|
|
38
34
|
indicator: string;
|
|
39
35
|
trigger: string;
|
|
40
36
|
};
|
|
41
|
-
/**
|
|
42
|
-
* Underline for page-level navigation. The trigger is square: a rounded
|
|
43
|
-
* corner would bend the bar that sits under it.
|
|
44
|
-
*/
|
|
45
37
|
line: {
|
|
46
38
|
list: string;
|
|
47
39
|
indicator: string;
|
|
@@ -71,10 +63,6 @@ export declare const tabsTheme: import("tailwind-variants").TVReturnType<{
|
|
|
71
63
|
indicator: string;
|
|
72
64
|
trigger: string;
|
|
73
65
|
};
|
|
74
|
-
/**
|
|
75
|
-
* Underline for page-level navigation. The trigger is square: a rounded
|
|
76
|
-
* corner would bend the bar that sits under it.
|
|
77
|
-
*/
|
|
78
66
|
line: {
|
|
79
67
|
list: string;
|
|
80
68
|
indicator: string;
|
|
@@ -18,7 +18,6 @@ export declare const timeFieldTheme: import("tailwind-variants").TVReturnType<{
|
|
|
18
18
|
}, {
|
|
19
19
|
root: string;
|
|
20
20
|
segment: string;
|
|
21
|
-
/** The `:` between segments — punctuation, not something to focus. */
|
|
22
21
|
literal: string;
|
|
23
22
|
}, undefined, {
|
|
24
23
|
size: {
|
|
@@ -40,7 +39,6 @@ export declare const timeFieldTheme: import("tailwind-variants").TVReturnType<{
|
|
|
40
39
|
}, {
|
|
41
40
|
root: string;
|
|
42
41
|
segment: string;
|
|
43
|
-
/** The `:` between segments — punctuation, not something to focus. */
|
|
44
42
|
literal: string;
|
|
45
43
|
}, import("tailwind-variants").TVReturnType<{
|
|
46
44
|
size: {
|
|
@@ -62,7 +60,6 @@ export declare const timeFieldTheme: import("tailwind-variants").TVReturnType<{
|
|
|
62
60
|
}, {
|
|
63
61
|
root: string;
|
|
64
62
|
segment: string;
|
|
65
|
-
/** The `:` between segments — punctuation, not something to focus. */
|
|
66
63
|
literal: string;
|
|
67
64
|
}, undefined, unknown, unknown, undefined>>;
|
|
68
65
|
export type TimeFieldSlots = keyof ReturnType<typeof timeFieldTheme>;
|
package/dist/theme/timeline.d.ts
CHANGED
|
@@ -31,16 +31,11 @@ export declare const timelineTheme: import("tailwind-variants").TVReturnType<{
|
|
|
31
31
|
marker: string;
|
|
32
32
|
};
|
|
33
33
|
};
|
|
34
|
-
/**
|
|
35
|
-
* An icon needs a real box to sit in, so the marker grows from a dot to a
|
|
36
|
-
* ringed circle and the fill moves to a tint.
|
|
37
|
-
*/
|
|
38
34
|
withIcon: {
|
|
39
35
|
true: {
|
|
40
36
|
marker: string;
|
|
41
37
|
};
|
|
42
38
|
};
|
|
43
|
-
/** The last item has nothing to connect to, so its spine is dropped. */
|
|
44
39
|
last: {
|
|
45
40
|
true: {
|
|
46
41
|
content: string;
|
|
@@ -55,7 +50,6 @@ export declare const timelineTheme: import("tailwind-variants").TVReturnType<{
|
|
|
55
50
|
content: string;
|
|
56
51
|
header: string;
|
|
57
52
|
title: string;
|
|
58
|
-
/** Timestamps are numeric, so they line up when they are tabular. */
|
|
59
53
|
time: string;
|
|
60
54
|
description: string;
|
|
61
55
|
}, undefined, {
|
|
@@ -91,16 +85,11 @@ export declare const timelineTheme: import("tailwind-variants").TVReturnType<{
|
|
|
91
85
|
marker: string;
|
|
92
86
|
};
|
|
93
87
|
};
|
|
94
|
-
/**
|
|
95
|
-
* An icon needs a real box to sit in, so the marker grows from a dot to a
|
|
96
|
-
* ringed circle and the fill moves to a tint.
|
|
97
|
-
*/
|
|
98
88
|
withIcon: {
|
|
99
89
|
true: {
|
|
100
90
|
marker: string;
|
|
101
91
|
};
|
|
102
92
|
};
|
|
103
|
-
/** The last item has nothing to connect to, so its spine is dropped. */
|
|
104
93
|
last: {
|
|
105
94
|
true: {
|
|
106
95
|
content: string;
|
|
@@ -115,7 +104,6 @@ export declare const timelineTheme: import("tailwind-variants").TVReturnType<{
|
|
|
115
104
|
content: string;
|
|
116
105
|
header: string;
|
|
117
106
|
title: string;
|
|
118
|
-
/** Timestamps are numeric, so they line up when they are tabular. */
|
|
119
107
|
time: string;
|
|
120
108
|
description: string;
|
|
121
109
|
}, import("tailwind-variants").TVReturnType<{
|
|
@@ -151,16 +139,11 @@ export declare const timelineTheme: import("tailwind-variants").TVReturnType<{
|
|
|
151
139
|
marker: string;
|
|
152
140
|
};
|
|
153
141
|
};
|
|
154
|
-
/**
|
|
155
|
-
* An icon needs a real box to sit in, so the marker grows from a dot to a
|
|
156
|
-
* ringed circle and the fill moves to a tint.
|
|
157
|
-
*/
|
|
158
142
|
withIcon: {
|
|
159
143
|
true: {
|
|
160
144
|
marker: string;
|
|
161
145
|
};
|
|
162
146
|
};
|
|
163
|
-
/** The last item has nothing to connect to, so its spine is dropped. */
|
|
164
147
|
last: {
|
|
165
148
|
true: {
|
|
166
149
|
content: string;
|
|
@@ -175,7 +158,6 @@ export declare const timelineTheme: import("tailwind-variants").TVReturnType<{
|
|
|
175
158
|
content: string;
|
|
176
159
|
header: string;
|
|
177
160
|
title: string;
|
|
178
|
-
/** Timestamps are numeric, so they line up when they are tabular. */
|
|
179
161
|
time: string;
|
|
180
162
|
description: string;
|
|
181
163
|
}, undefined, unknown, unknown, undefined>>;
|
package/dist/theme/toast.d.ts
CHANGED
|
@@ -36,7 +36,6 @@ export declare const toastTheme: import("tailwind-variants").TVReturnType<{
|
|
|
36
36
|
viewport: string;
|
|
37
37
|
};
|
|
38
38
|
};
|
|
39
|
-
/** Tightens the title/description gap when both are present. */
|
|
40
39
|
withTitle: {
|
|
41
40
|
true: {
|
|
42
41
|
description: string;
|
|
@@ -89,7 +88,6 @@ export declare const toastTheme: import("tailwind-variants").TVReturnType<{
|
|
|
89
88
|
viewport: string;
|
|
90
89
|
};
|
|
91
90
|
};
|
|
92
|
-
/** Tightens the title/description gap when both are present. */
|
|
93
91
|
withTitle: {
|
|
94
92
|
true: {
|
|
95
93
|
description: string;
|
|
@@ -142,7 +140,6 @@ export declare const toastTheme: import("tailwind-variants").TVReturnType<{
|
|
|
142
140
|
viewport: string;
|
|
143
141
|
};
|
|
144
142
|
};
|
|
145
|
-
/** Tightens the title/description gap when both are present. */
|
|
146
143
|
withTitle: {
|
|
147
144
|
true: {
|
|
148
145
|
description: string;
|
package/dist/theme/toggle.d.ts
CHANGED
|
@@ -45,19 +45,8 @@ export declare const toggleTheme: import("tailwind-variants").TVReturnType<{
|
|
|
45
45
|
};
|
|
46
46
|
}, undefined, "inline-flex shrink-0 items-center justify-center gap-2 rounded-xl border border-border bg-input font-medium whitespace-nowrap text-foreground transition-[color,background-color,border-color,box-shadow,opacity] outline-none hover:bg-accent hover:text-accent-foreground focus-visible:ring-2 focus-visible:ring-primary/50 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0", unknown, unknown, undefined>>;
|
|
47
47
|
export type ToggleVariants = Parameters<typeof toggleTheme>[0];
|
|
48
|
-
/**
|
|
49
|
-
* The group is the container; each item is a {@link toggleTheme} button. With
|
|
50
|
-
* a single toggle look, the group's variant only decides how the items are
|
|
51
|
-
* spaced — whether they touch or stand apart.
|
|
52
|
-
*/
|
|
53
48
|
export declare const toggleGroupTheme: import("tailwind-variants").TVReturnType<{
|
|
54
49
|
variant: {
|
|
55
|
-
/**
|
|
56
|
-
* Squared off where they meet and pulled together by a pixel, so
|
|
57
|
-
* adjacent borders collapse into one — the same trick `IButtonGroup`
|
|
58
|
-
* uses. The raised z-index keeps a focus ring from being clipped by
|
|
59
|
-
* the neighbour that overlaps it.
|
|
60
|
-
*/
|
|
61
50
|
joined: {
|
|
62
51
|
item: string;
|
|
63
52
|
};
|
|
@@ -82,12 +71,6 @@ export declare const toggleGroupTheme: import("tailwind-variants").TVReturnType<
|
|
|
82
71
|
item: string;
|
|
83
72
|
}, undefined, {
|
|
84
73
|
variant: {
|
|
85
|
-
/**
|
|
86
|
-
* Squared off where they meet and pulled together by a pixel, so
|
|
87
|
-
* adjacent borders collapse into one — the same trick `IButtonGroup`
|
|
88
|
-
* uses. The raised z-index keeps a focus ring from being clipped by
|
|
89
|
-
* the neighbour that overlaps it.
|
|
90
|
-
*/
|
|
91
74
|
joined: {
|
|
92
75
|
item: string;
|
|
93
76
|
};
|
|
@@ -112,12 +95,6 @@ export declare const toggleGroupTheme: import("tailwind-variants").TVReturnType<
|
|
|
112
95
|
item: string;
|
|
113
96
|
}, import("tailwind-variants").TVReturnType<{
|
|
114
97
|
variant: {
|
|
115
|
-
/**
|
|
116
|
-
* Squared off where they meet and pulled together by a pixel, so
|
|
117
|
-
* adjacent borders collapse into one — the same trick `IButtonGroup`
|
|
118
|
-
* uses. The raised z-index keeps a focus ring from being clipped by
|
|
119
|
-
* the neighbour that overlaps it.
|
|
120
|
-
*/
|
|
121
98
|
joined: {
|
|
122
99
|
item: string;
|
|
123
100
|
};
|
package/dist/theme/tree.d.ts
CHANGED
|
@@ -15,7 +15,6 @@ export declare const treeTheme: import("tailwind-variants").TVReturnType<{
|
|
|
15
15
|
root: string;
|
|
16
16
|
item: string;
|
|
17
17
|
expander: string;
|
|
18
|
-
/** Keeps a leaf's label aligned with its siblings that do have a chevron. */
|
|
19
18
|
spacer: string;
|
|
20
19
|
icon: string;
|
|
21
20
|
label: string;
|
|
@@ -37,7 +36,6 @@ export declare const treeTheme: import("tailwind-variants").TVReturnType<{
|
|
|
37
36
|
root: string;
|
|
38
37
|
item: string;
|
|
39
38
|
expander: string;
|
|
40
|
-
/** Keeps a leaf's label aligned with its siblings that do have a chevron. */
|
|
41
39
|
spacer: string;
|
|
42
40
|
icon: string;
|
|
43
41
|
label: string;
|
|
@@ -59,7 +57,6 @@ export declare const treeTheme: import("tailwind-variants").TVReturnType<{
|
|
|
59
57
|
root: string;
|
|
60
58
|
item: string;
|
|
61
59
|
expander: string;
|
|
62
|
-
/** Keeps a leaf's label aligned with its siblings that do have a chevron. */
|
|
63
60
|
spacer: string;
|
|
64
61
|
icon: string;
|
|
65
62
|
label: string;
|