@vertz/theme-shadcn 0.2.23 → 0.2.24
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/base.d.ts +2 -1
- package/dist/base.js +4 -2
- package/dist/configs.js +1 -1
- package/dist/index.d.ts +268 -445
- package/dist/index.js +465 -940
- package/dist/shared/{chunk-gjsm05ga.js → chunk-f0wk9320.js} +4 -2
- package/dist/shared/{chunk-gzfp8m46.js → chunk-kmh677y0.js} +1 -0
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { GlobalCSSOutput, Theme } from "@vertz/ui";
|
|
2
|
+
/** Color token values: a map of color names to contextual/shade values. */
|
|
3
|
+
type PaletteTokens = Record<string, Record<string, string>>;
|
|
2
4
|
type PaletteName = "zinc" | "slate" | "stone" | "neutral" | "gray";
|
|
5
|
+
declare const palettes: Record<PaletteName, PaletteTokens>;
|
|
3
6
|
/**
|
|
4
7
|
* Visual style preset. Each style applies different spacing, border-radius,
|
|
5
8
|
* colors, and visual treatment to all components.
|
|
@@ -31,151 +34,25 @@ interface ResolvedThemeBase {
|
|
|
31
34
|
/** Global CSS (reset, typography, radius). Auto-injected via globalCss(). */
|
|
32
35
|
globals: GlobalCSSOutput;
|
|
33
36
|
}
|
|
34
|
-
|
|
35
|
-
import {
|
|
37
|
+
declare const RADIUS_VALUES: Record<"none" | "sm" | "md" | "lg" | "xl", string>;
|
|
38
|
+
import { VariantFunction as VariantFunction3 } from "@vertz/ui";
|
|
39
|
+
import { ComposedAlertProps, ComposedBadgeProps, ComposedButtonProps, ComposedInputProps, ComposedLabelProps, ComposedPaginationProps, ComposedSeparatorProps, ComposedSkeletonCircleProps, ComposedSkeletonProps, ComposedSkeletonTextProps, ComposedTextareaProps, StyledPrimitive, ToastOptions as ToastOptions2 } from "@vertz/ui-primitives";
|
|
40
|
+
import { ComposedAlert, ComposedAvatar, ComposedBreadcrumb, ComposedCard, ComposedEmptyState, ComposedFormGroup, ComposedTable } from "@vertz/ui-primitives";
|
|
36
41
|
import { ChildValue } from "@vertz/ui";
|
|
37
|
-
interface AlertProps {
|
|
38
|
-
variant?: "default" | "destructive";
|
|
39
|
-
className?: string;
|
|
40
|
-
/** @deprecated Use `className` instead. */
|
|
41
|
-
class?: string;
|
|
42
|
-
children?: ChildValue;
|
|
43
|
-
}
|
|
44
|
-
interface AlertComponents {
|
|
45
|
-
Alert: (props: AlertProps) => HTMLDivElement;
|
|
46
|
-
AlertTitle: (props: AlertProps) => HTMLHeadingElement;
|
|
47
|
-
AlertDescription: (props: AlertProps) => HTMLDivElement;
|
|
48
|
-
}
|
|
49
|
-
import { ChildValue as ChildValue2 } from "@vertz/ui";
|
|
50
|
-
interface AvatarProps {
|
|
51
|
-
className?: string;
|
|
52
|
-
/** @deprecated Use `className` instead. */
|
|
53
|
-
class?: string;
|
|
54
|
-
children?: ChildValue2;
|
|
55
|
-
}
|
|
56
|
-
interface AvatarImageProps {
|
|
57
|
-
src: string;
|
|
58
|
-
alt: string;
|
|
59
|
-
className?: string;
|
|
60
|
-
/** @deprecated Use `className` instead. */
|
|
61
|
-
class?: string;
|
|
62
|
-
}
|
|
63
|
-
interface AvatarComponents {
|
|
64
|
-
Avatar: (props: AvatarProps) => HTMLDivElement;
|
|
65
|
-
AvatarImage: (props: AvatarImageProps) => HTMLImageElement;
|
|
66
|
-
AvatarFallback: (props: AvatarProps) => HTMLDivElement;
|
|
67
|
-
}
|
|
68
|
-
import { ChildValue as ChildValue3 } from "@vertz/ui";
|
|
69
|
-
interface BadgeProps {
|
|
70
|
-
color?: string;
|
|
71
|
-
className?: string;
|
|
72
|
-
/** @deprecated Use `className` instead. */
|
|
73
|
-
class?: string;
|
|
74
|
-
children?: ChildValue3;
|
|
75
|
-
}
|
|
76
|
-
interface BreadcrumbItem {
|
|
77
|
-
label: string;
|
|
78
|
-
href?: string;
|
|
79
|
-
}
|
|
80
|
-
interface BreadcrumbProps {
|
|
81
|
-
items: BreadcrumbItem[];
|
|
82
|
-
separator?: string;
|
|
83
|
-
className?: string;
|
|
84
|
-
/** @deprecated Use `className` instead. */
|
|
85
|
-
class?: string;
|
|
86
|
-
}
|
|
87
|
-
type BreadcrumbComponents = (props: BreadcrumbProps) => HTMLElement;
|
|
88
|
-
import { ChildValue as ChildValue4 } from "@vertz/ui";
|
|
89
|
-
import { ElementEventHandlers } from "@vertz/ui-primitives";
|
|
90
|
-
interface ButtonProps extends ElementEventHandlers {
|
|
91
|
-
intent?: string;
|
|
92
|
-
size?: string;
|
|
93
|
-
className?: string;
|
|
94
|
-
/** @deprecated Use `className` instead. */
|
|
95
|
-
class?: string;
|
|
96
|
-
children?: ChildValue4;
|
|
97
|
-
disabled?: boolean;
|
|
98
|
-
type?: "button" | "submit" | "reset";
|
|
99
|
-
[key: string]: unknown;
|
|
100
|
-
}
|
|
101
|
-
import { ChildValue as ChildValue5 } from "@vertz/ui";
|
|
102
|
-
interface CardProps {
|
|
103
|
-
className?: string;
|
|
104
|
-
/** @deprecated Use `className` instead. */
|
|
105
|
-
class?: string;
|
|
106
|
-
children?: ChildValue5;
|
|
107
|
-
}
|
|
108
|
-
interface CardComponents {
|
|
109
|
-
Card: (props: CardProps) => HTMLDivElement;
|
|
110
|
-
CardHeader: (props: CardProps) => HTMLDivElement;
|
|
111
|
-
CardTitle: (props: CardProps) => HTMLHeadingElement;
|
|
112
|
-
CardDescription: (props: CardProps) => HTMLParagraphElement;
|
|
113
|
-
CardContent: (props: CardProps) => HTMLDivElement;
|
|
114
|
-
CardFooter: (props: CardProps) => HTMLDivElement;
|
|
115
|
-
CardAction: (props: CardProps) => HTMLDivElement;
|
|
116
|
-
}
|
|
117
|
-
import { ChildValue as ChildValue6 } from "@vertz/ui";
|
|
118
|
-
interface FormGroupProps {
|
|
119
|
-
className?: string;
|
|
120
|
-
/** @deprecated Use `className` instead. */
|
|
121
|
-
class?: string;
|
|
122
|
-
children?: ChildValue6;
|
|
123
|
-
}
|
|
124
|
-
interface FormErrorProps {
|
|
125
|
-
className?: string;
|
|
126
|
-
/** @deprecated Use `className` instead. */
|
|
127
|
-
class?: string;
|
|
128
|
-
children?: ChildValue6;
|
|
129
|
-
}
|
|
130
|
-
interface FormGroupComponents {
|
|
131
|
-
FormGroup: (props: FormGroupProps) => HTMLDivElement;
|
|
132
|
-
FormError: (props: FormErrorProps) => HTMLSpanElement;
|
|
133
|
-
}
|
|
134
|
-
import { ElementEventHandlers as ElementEventHandlers2 } from "@vertz/ui-primitives";
|
|
135
|
-
interface InputProps extends ElementEventHandlers2 {
|
|
136
|
-
className?: string;
|
|
137
|
-
/** @deprecated Use `className` instead. */
|
|
138
|
-
class?: string;
|
|
139
|
-
name?: string;
|
|
140
|
-
placeholder?: string;
|
|
141
|
-
type?: string;
|
|
142
|
-
disabled?: boolean;
|
|
143
|
-
value?: string;
|
|
144
|
-
[key: string]: unknown;
|
|
145
|
-
}
|
|
146
|
-
import { ChildValue as ChildValue7 } from "@vertz/ui";
|
|
147
|
-
interface LabelProps {
|
|
148
|
-
className?: string;
|
|
149
|
-
/** @deprecated Use `className` instead. */
|
|
150
|
-
class?: string;
|
|
151
|
-
for?: string;
|
|
152
|
-
children?: ChildValue7;
|
|
153
|
-
}
|
|
154
|
-
interface PaginationProps {
|
|
155
|
-
currentPage: number;
|
|
156
|
-
totalPages: number;
|
|
157
|
-
onPageChange: (page: number) => void;
|
|
158
|
-
siblingCount?: number;
|
|
159
|
-
className?: string;
|
|
160
|
-
/** @deprecated Use `className` instead. */
|
|
161
|
-
class?: string;
|
|
162
|
-
}
|
|
163
|
-
type PaginationComponents = (props: PaginationProps) => HTMLElement;
|
|
164
|
-
import { ChildValue as ChildValue8 } from "@vertz/ui";
|
|
165
42
|
interface AccordionRootProps {
|
|
166
43
|
type?: "single" | "multiple";
|
|
167
44
|
defaultValue?: string[];
|
|
168
|
-
children?:
|
|
45
|
+
children?: ChildValue;
|
|
169
46
|
}
|
|
170
47
|
interface AccordionSlotProps {
|
|
171
|
-
children?:
|
|
48
|
+
children?: ChildValue;
|
|
172
49
|
className?: string;
|
|
173
50
|
/** @deprecated Use `className` instead. */
|
|
174
51
|
class?: string;
|
|
175
52
|
}
|
|
176
53
|
interface AccordionItemProps {
|
|
177
54
|
value: string;
|
|
178
|
-
children?:
|
|
55
|
+
children?: ChildValue;
|
|
179
56
|
className?: string;
|
|
180
57
|
/** @deprecated Use `className` instead. */
|
|
181
58
|
class?: string;
|
|
@@ -186,33 +63,6 @@ interface ThemedAccordionComponent {
|
|
|
186
63
|
Trigger: (props: AccordionSlotProps) => HTMLElement;
|
|
187
64
|
Content: (props: AccordionSlotProps) => HTMLElement;
|
|
188
65
|
}
|
|
189
|
-
import { ChildValue as ChildValue9 } from "@vertz/ui";
|
|
190
|
-
interface AlertDialogRootProps {
|
|
191
|
-
children?: ChildValue9;
|
|
192
|
-
onOpenChange?: (open: boolean) => void;
|
|
193
|
-
onAction?: () => void;
|
|
194
|
-
}
|
|
195
|
-
interface AlertDialogSlotProps {
|
|
196
|
-
children?: ChildValue9;
|
|
197
|
-
className?: string;
|
|
198
|
-
/** @deprecated Use `className` instead. */
|
|
199
|
-
class?: string;
|
|
200
|
-
}
|
|
201
|
-
interface AlertDialogButtonSlotProps extends AlertDialogSlotProps {
|
|
202
|
-
onClick?: () => void;
|
|
203
|
-
disabled?: boolean;
|
|
204
|
-
}
|
|
205
|
-
interface ThemedAlertDialogComponent {
|
|
206
|
-
(props: AlertDialogRootProps): HTMLElement;
|
|
207
|
-
Trigger: (props: AlertDialogSlotProps) => HTMLElement;
|
|
208
|
-
Content: (props: AlertDialogSlotProps) => HTMLElement;
|
|
209
|
-
Header: (props: AlertDialogSlotProps) => HTMLElement;
|
|
210
|
-
Title: (props: AlertDialogSlotProps) => HTMLElement;
|
|
211
|
-
Description: (props: AlertDialogSlotProps) => HTMLElement;
|
|
212
|
-
Footer: (props: AlertDialogSlotProps) => HTMLElement;
|
|
213
|
-
Cancel: (props: AlertDialogButtonSlotProps) => HTMLElement;
|
|
214
|
-
Action: (props: AlertDialogButtonSlotProps) => HTMLElement;
|
|
215
|
-
}
|
|
216
66
|
import { ComposedCalendarProps } from "@vertz/ui-primitives";
|
|
217
67
|
interface CalendarRootProps {
|
|
218
68
|
mode?: ComposedCalendarProps["mode"];
|
|
@@ -227,16 +77,16 @@ interface CalendarRootProps {
|
|
|
227
77
|
captionLayout?: ComposedCalendarProps["captionLayout"];
|
|
228
78
|
}
|
|
229
79
|
type ThemedCalendarComponent = (props: CalendarRootProps) => HTMLElement;
|
|
230
|
-
import { ChildValue as
|
|
80
|
+
import { ChildValue as ChildValue2 } from "@vertz/ui";
|
|
231
81
|
interface CarouselRootProps {
|
|
232
82
|
orientation?: "horizontal" | "vertical";
|
|
233
83
|
loop?: boolean;
|
|
234
84
|
defaultIndex?: number;
|
|
235
85
|
onSlideChange?: (index: number) => void;
|
|
236
|
-
children?:
|
|
86
|
+
children?: ChildValue2;
|
|
237
87
|
}
|
|
238
88
|
interface CarouselSlotProps {
|
|
239
|
-
children?:
|
|
89
|
+
children?: ChildValue2;
|
|
240
90
|
className?: string;
|
|
241
91
|
/** @deprecated Use `className` instead. */
|
|
242
92
|
class?: string;
|
|
@@ -247,24 +97,24 @@ interface ThemedCarouselComponent {
|
|
|
247
97
|
Previous: (props: CarouselSlotProps) => HTMLElement;
|
|
248
98
|
Next: (props: CarouselSlotProps) => HTMLElement;
|
|
249
99
|
}
|
|
250
|
-
import { ChildValue as
|
|
100
|
+
import { ChildValue as ChildValue3 } from "@vertz/ui";
|
|
251
101
|
import { CheckedState } from "@vertz/ui-primitives";
|
|
252
102
|
interface CheckboxRootProps {
|
|
253
|
-
children?:
|
|
103
|
+
children?: ChildValue3;
|
|
254
104
|
defaultChecked?: CheckedState;
|
|
255
105
|
disabled?: boolean;
|
|
256
106
|
onCheckedChange?: (checked: CheckedState) => void;
|
|
257
107
|
}
|
|
258
108
|
type ThemedCheckboxComponent = (props: CheckboxRootProps) => HTMLElement;
|
|
259
|
-
import { ChildValue as
|
|
109
|
+
import { ChildValue as ChildValue4 } from "@vertz/ui";
|
|
260
110
|
interface CollapsibleRootProps {
|
|
261
111
|
defaultOpen?: boolean;
|
|
262
112
|
disabled?: boolean;
|
|
263
113
|
onOpenChange?: (open: boolean) => void;
|
|
264
|
-
children?:
|
|
114
|
+
children?: ChildValue4;
|
|
265
115
|
}
|
|
266
116
|
interface CollapsibleSlotProps {
|
|
267
|
-
children?:
|
|
117
|
+
children?: ChildValue4;
|
|
268
118
|
className?: string;
|
|
269
119
|
/** @deprecated Use `className` instead. */
|
|
270
120
|
class?: string;
|
|
@@ -274,23 +124,23 @@ interface ThemedCollapsibleComponent {
|
|
|
274
124
|
Trigger: (props: CollapsibleSlotProps) => HTMLElement;
|
|
275
125
|
Content: (props: CollapsibleSlotProps) => HTMLElement;
|
|
276
126
|
}
|
|
277
|
-
import { ChildValue as
|
|
127
|
+
import { ChildValue as ChildValue5 } from "@vertz/ui";
|
|
278
128
|
interface CommandRootProps {
|
|
279
129
|
filter?: (value: string, search: string) => boolean;
|
|
280
130
|
onSelect?: (value: string) => void;
|
|
281
131
|
onInputChange?: (value: string) => void;
|
|
282
132
|
placeholder?: string;
|
|
283
|
-
children?:
|
|
133
|
+
children?: ChildValue5;
|
|
284
134
|
}
|
|
285
135
|
interface CommandSlotProps {
|
|
286
|
-
children?:
|
|
136
|
+
children?: ChildValue5;
|
|
287
137
|
className?: string;
|
|
288
138
|
/** @deprecated Use `className` instead. */
|
|
289
139
|
class?: string;
|
|
290
140
|
}
|
|
291
141
|
interface CommandItemProps {
|
|
292
142
|
value: string;
|
|
293
|
-
children?:
|
|
143
|
+
children?: ChildValue5;
|
|
294
144
|
keywords?: string[];
|
|
295
145
|
className?: string;
|
|
296
146
|
/** @deprecated Use `className` instead. */
|
|
@@ -298,7 +148,7 @@ interface CommandItemProps {
|
|
|
298
148
|
}
|
|
299
149
|
interface CommandGroupProps {
|
|
300
150
|
label: string;
|
|
301
|
-
children?:
|
|
151
|
+
children?: ChildValue5;
|
|
302
152
|
className?: string;
|
|
303
153
|
/** @deprecated Use `className` instead. */
|
|
304
154
|
class?: string;
|
|
@@ -312,33 +162,33 @@ interface ThemedCommandComponent {
|
|
|
312
162
|
Group: (props: CommandGroupProps) => HTMLElement;
|
|
313
163
|
Separator: (props: CommandSlotProps) => HTMLElement;
|
|
314
164
|
}
|
|
315
|
-
import { ChildValue as
|
|
165
|
+
import { ChildValue as ChildValue6 } from "@vertz/ui";
|
|
316
166
|
interface ContextMenuRootProps {
|
|
317
167
|
onSelect?: (value: string) => void;
|
|
318
|
-
children?:
|
|
168
|
+
children?: ChildValue6;
|
|
319
169
|
}
|
|
320
170
|
interface ContextMenuSlotProps {
|
|
321
|
-
children?:
|
|
171
|
+
children?: ChildValue6;
|
|
322
172
|
className?: string;
|
|
323
173
|
/** @deprecated Use `className` instead. */
|
|
324
174
|
class?: string;
|
|
325
175
|
}
|
|
326
176
|
interface ContextMenuItemProps {
|
|
327
177
|
value: string;
|
|
328
|
-
children?:
|
|
178
|
+
children?: ChildValue6;
|
|
329
179
|
className?: string;
|
|
330
180
|
/** @deprecated Use `className` instead. */
|
|
331
181
|
class?: string;
|
|
332
182
|
}
|
|
333
183
|
interface ContextMenuGroupProps {
|
|
334
184
|
label: string;
|
|
335
|
-
children?:
|
|
185
|
+
children?: ChildValue6;
|
|
336
186
|
className?: string;
|
|
337
187
|
/** @deprecated Use `className` instead. */
|
|
338
188
|
class?: string;
|
|
339
189
|
}
|
|
340
190
|
interface ContextMenuLabelProps {
|
|
341
|
-
children?:
|
|
191
|
+
children?: ChildValue6;
|
|
342
192
|
className?: string;
|
|
343
193
|
/** @deprecated Use `className` instead. */
|
|
344
194
|
class?: string;
|
|
@@ -352,7 +202,7 @@ interface ThemedContextMenuComponent {
|
|
|
352
202
|
Label: (props: ContextMenuLabelProps) => HTMLElement;
|
|
353
203
|
Separator: (props: ContextMenuSlotProps) => HTMLElement;
|
|
354
204
|
}
|
|
355
|
-
import { ChildValue as
|
|
205
|
+
import { ChildValue as ChildValue7 } from "@vertz/ui";
|
|
356
206
|
import { ComposedCalendarProps as ComposedCalendarProps2 } from "@vertz/ui-primitives";
|
|
357
207
|
interface DatePickerRootProps {
|
|
358
208
|
mode?: "single" | "range";
|
|
@@ -372,10 +222,10 @@ interface DatePickerRootProps {
|
|
|
372
222
|
} | null) => void;
|
|
373
223
|
onOpenChange?: (open: boolean) => void;
|
|
374
224
|
captionLayout?: ComposedCalendarProps2["captionLayout"];
|
|
375
|
-
children?:
|
|
225
|
+
children?: ChildValue7;
|
|
376
226
|
}
|
|
377
227
|
interface DatePickerSlotProps {
|
|
378
|
-
children?:
|
|
228
|
+
children?: ChildValue7;
|
|
379
229
|
className?: string;
|
|
380
230
|
/** @deprecated Use `className` instead. */
|
|
381
231
|
class?: string;
|
|
@@ -385,40 +235,33 @@ interface ThemedDatePickerComponent {
|
|
|
385
235
|
Trigger: (props: DatePickerSlotProps) => HTMLElement;
|
|
386
236
|
Content: (props: DatePickerSlotProps) => HTMLElement;
|
|
387
237
|
}
|
|
388
|
-
import { ChildValue as
|
|
389
|
-
|
|
390
|
-
children?: ChildValue16;
|
|
391
|
-
onOpenChange?: (open: boolean) => void;
|
|
392
|
-
}
|
|
238
|
+
import { ChildValue as ChildValue8 } from "@vertz/ui";
|
|
239
|
+
import { JSX } from "@vertz/ui/jsx-runtime";
|
|
393
240
|
interface DialogSlotProps {
|
|
394
|
-
children?:
|
|
241
|
+
children?: ChildValue8;
|
|
395
242
|
className?: string;
|
|
396
243
|
/** @deprecated Use `className` instead. */
|
|
397
244
|
class?: string;
|
|
398
245
|
}
|
|
399
|
-
interface DialogContentProps extends DialogSlotProps {
|
|
400
|
-
showClose?: boolean;
|
|
401
|
-
}
|
|
402
246
|
interface ThemedDialogComponent {
|
|
403
|
-
(props:
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
Close: (props: DialogSlotProps) => HTMLElement;
|
|
247
|
+
Header: (props: DialogSlotProps) => JSX.Element;
|
|
248
|
+
Title: (props: DialogSlotProps) => JSX.Element;
|
|
249
|
+
Description: (props: DialogSlotProps) => JSX.Element;
|
|
250
|
+
Footer: (props: DialogSlotProps) => JSX.Element;
|
|
251
|
+
Body: (props: DialogSlotProps) => JSX.Element;
|
|
252
|
+
Close: (props: DialogSlotProps) => JSX.Element;
|
|
253
|
+
Cancel: (props: DialogSlotProps) => JSX.Element;
|
|
411
254
|
}
|
|
412
|
-
import { ChildValue as
|
|
255
|
+
import { ChildValue as ChildValue9 } from "@vertz/ui";
|
|
413
256
|
import { SheetSide } from "@vertz/ui-primitives";
|
|
414
257
|
type DrawerSide = SheetSide;
|
|
415
258
|
interface DrawerRootProps {
|
|
416
259
|
side?: DrawerSide;
|
|
417
260
|
onOpenChange?: (open: boolean) => void;
|
|
418
|
-
children?:
|
|
261
|
+
children?: ChildValue9;
|
|
419
262
|
}
|
|
420
263
|
interface DrawerSlotProps {
|
|
421
|
-
children?:
|
|
264
|
+
children?: ChildValue9;
|
|
422
265
|
className?: string;
|
|
423
266
|
/** @deprecated Use `className` instead. */
|
|
424
267
|
class?: string;
|
|
@@ -433,34 +276,34 @@ interface ThemedDrawerComponent {
|
|
|
433
276
|
Footer: (props: DrawerSlotProps) => HTMLElement;
|
|
434
277
|
Handle: (props: DrawerSlotProps) => HTMLElement;
|
|
435
278
|
}
|
|
436
|
-
import { ChildValue as
|
|
279
|
+
import { ChildValue as ChildValue10 } from "@vertz/ui";
|
|
437
280
|
interface DropdownMenuRootProps {
|
|
438
281
|
onSelect?: (value: string) => void;
|
|
439
282
|
onOpenChange?: (open: boolean) => void;
|
|
440
|
-
children?:
|
|
283
|
+
children?: ChildValue10;
|
|
441
284
|
}
|
|
442
285
|
interface DropdownMenuSlotProps {
|
|
443
|
-
children?:
|
|
286
|
+
children?: ChildValue10;
|
|
444
287
|
className?: string;
|
|
445
288
|
/** @deprecated Use `className` instead. */
|
|
446
289
|
class?: string;
|
|
447
290
|
}
|
|
448
291
|
interface DropdownMenuItemProps {
|
|
449
292
|
value: string;
|
|
450
|
-
children?:
|
|
293
|
+
children?: ChildValue10;
|
|
451
294
|
className?: string;
|
|
452
295
|
/** @deprecated Use `className` instead. */
|
|
453
296
|
class?: string;
|
|
454
297
|
}
|
|
455
298
|
interface DropdownMenuGroupProps {
|
|
456
299
|
label: string;
|
|
457
|
-
children?:
|
|
300
|
+
children?: ChildValue10;
|
|
458
301
|
className?: string;
|
|
459
302
|
/** @deprecated Use `className` instead. */
|
|
460
303
|
class?: string;
|
|
461
304
|
}
|
|
462
305
|
interface DropdownMenuLabelProps {
|
|
463
|
-
children?:
|
|
306
|
+
children?: ChildValue10;
|
|
464
307
|
className?: string;
|
|
465
308
|
/** @deprecated Use `className` instead. */
|
|
466
309
|
class?: string;
|
|
@@ -474,15 +317,15 @@ interface ThemedDropdownMenuComponent {
|
|
|
474
317
|
Label: (props: DropdownMenuLabelProps) => HTMLElement;
|
|
475
318
|
Separator: (props: DropdownMenuSlotProps) => HTMLElement;
|
|
476
319
|
}
|
|
477
|
-
import { ChildValue as
|
|
320
|
+
import { ChildValue as ChildValue11 } from "@vertz/ui";
|
|
478
321
|
interface HoverCardRootProps {
|
|
479
322
|
openDelay?: number;
|
|
480
323
|
closeDelay?: number;
|
|
481
324
|
onOpenChange?: (open: boolean) => void;
|
|
482
|
-
children?:
|
|
325
|
+
children?: ChildValue11;
|
|
483
326
|
}
|
|
484
327
|
interface HoverCardSlotProps {
|
|
485
|
-
children?:
|
|
328
|
+
children?: ChildValue11;
|
|
486
329
|
className?: string;
|
|
487
330
|
/** @deprecated Use `className` instead. */
|
|
488
331
|
class?: string;
|
|
@@ -492,37 +335,37 @@ interface ThemedHoverCardComponent {
|
|
|
492
335
|
Trigger: (props: HoverCardSlotProps) => HTMLElement;
|
|
493
336
|
Content: (props: HoverCardSlotProps) => HTMLElement;
|
|
494
337
|
}
|
|
495
|
-
import { ChildValue as
|
|
338
|
+
import { ChildValue as ChildValue12 } from "@vertz/ui";
|
|
496
339
|
interface MenubarRootProps {
|
|
497
340
|
onSelect?: (value: string) => void;
|
|
498
|
-
children?:
|
|
341
|
+
children?: ChildValue12;
|
|
499
342
|
}
|
|
500
343
|
interface MenubarMenuProps {
|
|
501
344
|
value: string;
|
|
502
|
-
children?:
|
|
345
|
+
children?: ChildValue12;
|
|
503
346
|
}
|
|
504
347
|
interface MenubarSlotProps {
|
|
505
|
-
children?:
|
|
348
|
+
children?: ChildValue12;
|
|
506
349
|
className?: string;
|
|
507
350
|
/** @deprecated Use `className` instead. */
|
|
508
351
|
class?: string;
|
|
509
352
|
}
|
|
510
353
|
interface MenubarItemProps {
|
|
511
354
|
value: string;
|
|
512
|
-
children?:
|
|
355
|
+
children?: ChildValue12;
|
|
513
356
|
className?: string;
|
|
514
357
|
/** @deprecated Use `className` instead. */
|
|
515
358
|
class?: string;
|
|
516
359
|
}
|
|
517
360
|
interface MenubarGroupProps {
|
|
518
361
|
label: string;
|
|
519
|
-
children?:
|
|
362
|
+
children?: ChildValue12;
|
|
520
363
|
className?: string;
|
|
521
364
|
/** @deprecated Use `className` instead. */
|
|
522
365
|
class?: string;
|
|
523
366
|
}
|
|
524
367
|
interface MenubarLabelProps {
|
|
525
|
-
children?:
|
|
368
|
+
children?: ChildValue12;
|
|
526
369
|
className?: string;
|
|
527
370
|
/** @deprecated Use `className` instead. */
|
|
528
371
|
class?: string;
|
|
@@ -537,26 +380,26 @@ interface ThemedMenubarComponent {
|
|
|
537
380
|
Label: (props: MenubarLabelProps) => HTMLElement;
|
|
538
381
|
Separator: (props: MenubarSlotProps) => HTMLElement;
|
|
539
382
|
}
|
|
540
|
-
import { ChildValue as
|
|
383
|
+
import { ChildValue as ChildValue13 } from "@vertz/ui";
|
|
541
384
|
interface NavigationMenuRootProps {
|
|
542
385
|
orientation?: "horizontal" | "vertical";
|
|
543
386
|
delayOpen?: number;
|
|
544
387
|
delayClose?: number;
|
|
545
|
-
children?:
|
|
388
|
+
children?: ChildValue13;
|
|
546
389
|
}
|
|
547
390
|
interface NavigationMenuSlotProps {
|
|
548
|
-
children?:
|
|
391
|
+
children?: ChildValue13;
|
|
549
392
|
className?: string;
|
|
550
393
|
/** @deprecated Use `className` instead. */
|
|
551
394
|
class?: string;
|
|
552
395
|
}
|
|
553
396
|
interface NavigationMenuItemProps {
|
|
554
397
|
value: string;
|
|
555
|
-
children?:
|
|
398
|
+
children?: ChildValue13;
|
|
556
399
|
}
|
|
557
400
|
interface NavigationMenuLinkProps {
|
|
558
401
|
href: string;
|
|
559
|
-
children?:
|
|
402
|
+
children?: ChildValue13;
|
|
560
403
|
className?: string;
|
|
561
404
|
/** @deprecated Use `className` instead. */
|
|
562
405
|
class?: string;
|
|
@@ -575,13 +418,13 @@ interface ThemedNavigationMenuComponent {
|
|
|
575
418
|
Link: (props: NavigationMenuLinkProps) => HTMLElement;
|
|
576
419
|
Viewport: (props: NavigationMenuViewportProps) => HTMLElement;
|
|
577
420
|
}
|
|
578
|
-
import { ChildValue as
|
|
421
|
+
import { ChildValue as ChildValue14 } from "@vertz/ui";
|
|
579
422
|
interface PopoverRootProps {
|
|
580
423
|
onOpenChange?: (open: boolean) => void;
|
|
581
|
-
children?:
|
|
424
|
+
children?: ChildValue14;
|
|
582
425
|
}
|
|
583
426
|
interface PopoverSlotProps {
|
|
584
|
-
children?:
|
|
427
|
+
children?: ChildValue14;
|
|
585
428
|
className?: string;
|
|
586
429
|
/** @deprecated Use `className` instead. */
|
|
587
430
|
class?: string;
|
|
@@ -591,30 +434,30 @@ interface ThemedPopoverComponent {
|
|
|
591
434
|
Trigger: (props: PopoverSlotProps) => HTMLElement;
|
|
592
435
|
Content: (props: PopoverSlotProps) => HTMLElement;
|
|
593
436
|
}
|
|
594
|
-
import { ChildValue as
|
|
437
|
+
import { ChildValue as ChildValue15 } from "@vertz/ui";
|
|
595
438
|
interface ProgressRootProps {
|
|
596
|
-
children?:
|
|
439
|
+
children?: ChildValue15;
|
|
597
440
|
defaultValue?: number;
|
|
598
441
|
min?: number;
|
|
599
442
|
max?: number;
|
|
600
443
|
}
|
|
601
444
|
type ThemedProgressComponent = (props: ProgressRootProps) => HTMLElement;
|
|
602
|
-
import { ChildValue as
|
|
445
|
+
import { ChildValue as ChildValue16 } from "@vertz/ui";
|
|
603
446
|
interface RadioGroupRootProps {
|
|
604
|
-
children?:
|
|
447
|
+
children?: ChildValue16;
|
|
605
448
|
defaultValue?: string;
|
|
606
449
|
onValueChange?: (value: string) => void;
|
|
607
450
|
}
|
|
608
451
|
interface RadioGroupItemProps {
|
|
609
452
|
value: string;
|
|
610
453
|
disabled?: boolean;
|
|
611
|
-
children?:
|
|
454
|
+
children?: ChildValue16;
|
|
612
455
|
}
|
|
613
456
|
interface ThemedRadioGroupComponent {
|
|
614
457
|
(props: RadioGroupRootProps): HTMLElement;
|
|
615
458
|
Item: (props: RadioGroupItemProps) => HTMLElement;
|
|
616
459
|
}
|
|
617
|
-
import { ChildValue as
|
|
460
|
+
import { ChildValue as ChildValue17 } from "@vertz/ui";
|
|
618
461
|
import { PanelOptions } from "@vertz/ui-primitives";
|
|
619
462
|
interface ResizablePanelStyleClasses {
|
|
620
463
|
readonly root: string;
|
|
@@ -624,10 +467,10 @@ interface ResizablePanelStyleClasses {
|
|
|
624
467
|
interface ResizablePanelRootProps {
|
|
625
468
|
orientation?: "horizontal" | "vertical";
|
|
626
469
|
onResize?: (sizes: number[]) => void;
|
|
627
|
-
children?:
|
|
470
|
+
children?: ChildValue17;
|
|
628
471
|
}
|
|
629
472
|
interface ResizablePanelPanelProps extends PanelOptions {
|
|
630
|
-
children?:
|
|
473
|
+
children?: ChildValue17;
|
|
631
474
|
className?: string;
|
|
632
475
|
/** @deprecated Use `className` instead. */
|
|
633
476
|
class?: string;
|
|
@@ -643,35 +486,35 @@ interface ThemedResizablePanelComponent {
|
|
|
643
486
|
Handle: (props: ResizablePanelHandleProps) => HTMLElement;
|
|
644
487
|
}
|
|
645
488
|
declare function createThemedResizablePanel(styles: ResizablePanelStyleClasses): ThemedResizablePanelComponent;
|
|
646
|
-
import { ChildValue as
|
|
489
|
+
import { ChildValue as ChildValue18 } from "@vertz/ui";
|
|
647
490
|
interface ScrollAreaRootProps {
|
|
648
491
|
orientation?: "vertical" | "horizontal" | "both";
|
|
649
|
-
children?:
|
|
492
|
+
children?: ChildValue18;
|
|
650
493
|
}
|
|
651
494
|
type ThemedScrollAreaComponent = (props: ScrollAreaRootProps) => HTMLElement;
|
|
652
|
-
import { ChildValue as
|
|
495
|
+
import { ChildValue as ChildValue19 } from "@vertz/ui";
|
|
653
496
|
interface SelectRootProps {
|
|
654
497
|
defaultValue?: string;
|
|
655
498
|
placeholder?: string;
|
|
656
499
|
onValueChange?: (value: string) => void;
|
|
657
|
-
children?:
|
|
500
|
+
children?: ChildValue19;
|
|
658
501
|
}
|
|
659
502
|
interface SelectSlotProps {
|
|
660
|
-
children?:
|
|
503
|
+
children?: ChildValue19;
|
|
661
504
|
className?: string;
|
|
662
505
|
/** @deprecated Use `className` instead. */
|
|
663
506
|
class?: string;
|
|
664
507
|
}
|
|
665
508
|
interface SelectItemProps {
|
|
666
509
|
value: string;
|
|
667
|
-
children?:
|
|
510
|
+
children?: ChildValue19;
|
|
668
511
|
className?: string;
|
|
669
512
|
/** @deprecated Use `className` instead. */
|
|
670
513
|
class?: string;
|
|
671
514
|
}
|
|
672
515
|
interface SelectGroupProps {
|
|
673
516
|
label: string;
|
|
674
|
-
children?:
|
|
517
|
+
children?: ChildValue19;
|
|
675
518
|
className?: string;
|
|
676
519
|
/** @deprecated Use `className` instead. */
|
|
677
520
|
class?: string;
|
|
@@ -684,15 +527,15 @@ interface ThemedSelectComponent {
|
|
|
684
527
|
Group: (props: SelectGroupProps) => HTMLElement;
|
|
685
528
|
Separator: (props: SelectSlotProps) => HTMLElement;
|
|
686
529
|
}
|
|
687
|
-
import { ChildValue as
|
|
530
|
+
import { ChildValue as ChildValue20 } from "@vertz/ui";
|
|
688
531
|
import { SheetSide as SheetSide2 } from "@vertz/ui-primitives";
|
|
689
532
|
interface SheetRootProps {
|
|
690
533
|
side?: SheetSide2;
|
|
691
534
|
onOpenChange?: (open: boolean) => void;
|
|
692
|
-
children?:
|
|
535
|
+
children?: ChildValue20;
|
|
693
536
|
}
|
|
694
537
|
interface SheetSlotProps {
|
|
695
|
-
children?:
|
|
538
|
+
children?: ChildValue20;
|
|
696
539
|
className?: string;
|
|
697
540
|
/** @deprecated Use `className` instead. */
|
|
698
541
|
class?: string;
|
|
@@ -708,9 +551,9 @@ interface ThemedSheetComponent {
|
|
|
708
551
|
Description: (props: SheetSlotProps) => HTMLElement;
|
|
709
552
|
Close: (props: SheetSlotProps) => HTMLElement;
|
|
710
553
|
}
|
|
711
|
-
import { ChildValue as
|
|
554
|
+
import { ChildValue as ChildValue21 } from "@vertz/ui";
|
|
712
555
|
interface SliderRootProps {
|
|
713
|
-
children?:
|
|
556
|
+
children?: ChildValue21;
|
|
714
557
|
defaultValue?: number;
|
|
715
558
|
min?: number;
|
|
716
559
|
max?: number;
|
|
@@ -719,37 +562,37 @@ interface SliderRootProps {
|
|
|
719
562
|
onValueChange?: (value: number) => void;
|
|
720
563
|
}
|
|
721
564
|
type ThemedSliderComponent = (props: SliderRootProps) => HTMLElement;
|
|
722
|
-
import { ChildValue as
|
|
565
|
+
import { ChildValue as ChildValue22 } from "@vertz/ui";
|
|
723
566
|
interface ThemedSwitchProps {
|
|
724
|
-
children?:
|
|
567
|
+
children?: ChildValue22;
|
|
725
568
|
defaultChecked?: boolean;
|
|
726
569
|
disabled?: boolean;
|
|
727
570
|
onCheckedChange?: (checked: boolean) => void;
|
|
728
571
|
size?: "default" | "sm";
|
|
729
572
|
}
|
|
730
573
|
type ThemedSwitchComponent = (props: ThemedSwitchProps) => HTMLElement;
|
|
731
|
-
import { ChildValue as
|
|
574
|
+
import { ChildValue as ChildValue23 } from "@vertz/ui";
|
|
732
575
|
interface TabsRootProps {
|
|
733
576
|
defaultValue?: string;
|
|
734
577
|
variant?: "default" | "line";
|
|
735
|
-
children?:
|
|
578
|
+
children?: ChildValue23;
|
|
736
579
|
}
|
|
737
580
|
interface TabsSlotProps {
|
|
738
|
-
children?:
|
|
581
|
+
children?: ChildValue23;
|
|
739
582
|
className?: string;
|
|
740
583
|
/** @deprecated Use `className` instead. */
|
|
741
584
|
class?: string;
|
|
742
585
|
}
|
|
743
586
|
interface TabsTriggerProps {
|
|
744
587
|
value: string;
|
|
745
|
-
children?:
|
|
588
|
+
children?: ChildValue23;
|
|
746
589
|
className?: string;
|
|
747
590
|
/** @deprecated Use `className` instead. */
|
|
748
591
|
class?: string;
|
|
749
592
|
}
|
|
750
593
|
interface TabsContentProps {
|
|
751
594
|
value: string;
|
|
752
|
-
children?:
|
|
595
|
+
children?: ChildValue23;
|
|
753
596
|
className?: string;
|
|
754
597
|
/** @deprecated Use `className` instead. */
|
|
755
598
|
class?: string;
|
|
@@ -766,17 +609,17 @@ type ThemedToastResult = ToastElements & {
|
|
|
766
609
|
announce: (content: string) => ToastMessage;
|
|
767
610
|
dismiss: (id: string) => void;
|
|
768
611
|
};
|
|
769
|
-
import { ChildValue as
|
|
612
|
+
import { ChildValue as ChildValue24 } from "@vertz/ui";
|
|
770
613
|
interface ToggleRootProps {
|
|
771
|
-
children?:
|
|
614
|
+
children?: ChildValue24;
|
|
772
615
|
defaultPressed?: boolean;
|
|
773
616
|
disabled?: boolean;
|
|
774
617
|
onPressedChange?: (pressed: boolean) => void;
|
|
775
618
|
}
|
|
776
619
|
type ThemedToggleComponent = (props: ToggleRootProps) => HTMLElement;
|
|
777
|
-
import { ChildValue as
|
|
620
|
+
import { ChildValue as ChildValue25 } from "@vertz/ui";
|
|
778
621
|
interface ToggleGroupRootProps {
|
|
779
|
-
children?:
|
|
622
|
+
children?: ChildValue25;
|
|
780
623
|
type?: "single" | "multiple";
|
|
781
624
|
defaultValue?: string[];
|
|
782
625
|
orientation?: "horizontal" | "vertical";
|
|
@@ -785,19 +628,19 @@ interface ToggleGroupRootProps {
|
|
|
785
628
|
}
|
|
786
629
|
interface ToggleGroupItemProps {
|
|
787
630
|
value: string;
|
|
788
|
-
children?:
|
|
631
|
+
children?: ChildValue25;
|
|
789
632
|
}
|
|
790
633
|
interface ThemedToggleGroupComponent {
|
|
791
634
|
(props: ToggleGroupRootProps): HTMLElement;
|
|
792
635
|
Item: (props: ToggleGroupItemProps) => HTMLElement;
|
|
793
636
|
}
|
|
794
|
-
import { ChildValue as
|
|
637
|
+
import { ChildValue as ChildValue26 } from "@vertz/ui";
|
|
795
638
|
interface TooltipRootProps {
|
|
796
639
|
delay?: number;
|
|
797
|
-
children?:
|
|
640
|
+
children?: ChildValue26;
|
|
798
641
|
}
|
|
799
642
|
interface TooltipSlotProps {
|
|
800
|
-
children?:
|
|
643
|
+
children?: ChildValue26;
|
|
801
644
|
className?: string;
|
|
802
645
|
/** @deprecated Use `className` instead. */
|
|
803
646
|
class?: string;
|
|
@@ -807,146 +650,102 @@ interface ThemedTooltipComponent {
|
|
|
807
650
|
Trigger: (props: TooltipSlotProps) => HTMLElement;
|
|
808
651
|
Content: (props: TooltipSlotProps) => HTMLElement;
|
|
809
652
|
}
|
|
810
|
-
|
|
811
|
-
orientation?: "horizontal" | "vertical";
|
|
812
|
-
className?: string;
|
|
813
|
-
/** @deprecated Use `className` instead. */
|
|
814
|
-
class?: string;
|
|
815
|
-
}
|
|
816
|
-
interface SkeletonProps {
|
|
817
|
-
className?: string;
|
|
818
|
-
/** @deprecated Use `className` instead. */
|
|
819
|
-
class?: string;
|
|
820
|
-
width?: string;
|
|
821
|
-
height?: string;
|
|
822
|
-
}
|
|
823
|
-
interface SkeletonComponents {
|
|
824
|
-
Skeleton: (props?: SkeletonProps) => HTMLDivElement;
|
|
825
|
-
}
|
|
826
|
-
import { ChildValue as ChildValue35 } from "@vertz/ui";
|
|
827
|
-
interface TableProps {
|
|
828
|
-
className?: string;
|
|
829
|
-
/** @deprecated Use `className` instead. */
|
|
830
|
-
class?: string;
|
|
831
|
-
children?: ChildValue35;
|
|
832
|
-
}
|
|
833
|
-
interface TableComponents {
|
|
834
|
-
Table: (props: TableProps) => HTMLDivElement;
|
|
835
|
-
TableHeader: (props: TableProps) => HTMLTableSectionElement;
|
|
836
|
-
TableBody: (props: TableProps) => HTMLTableSectionElement;
|
|
837
|
-
TableRow: (props: TableProps) => HTMLTableRowElement;
|
|
838
|
-
TableHead: (props: TableProps) => HTMLTableCellElement;
|
|
839
|
-
TableCell: (props: TableProps) => HTMLTableCellElement;
|
|
840
|
-
TableCaption: (props: TableProps) => HTMLTableCaptionElement;
|
|
841
|
-
TableFooter: (props: TableProps) => HTMLTableSectionElement;
|
|
842
|
-
}
|
|
843
|
-
import { ElementEventHandlers as ElementEventHandlers3 } from "@vertz/ui-primitives";
|
|
844
|
-
interface TextareaProps extends ElementEventHandlers3 {
|
|
845
|
-
className?: string;
|
|
846
|
-
/** @deprecated Use `className` instead. */
|
|
847
|
-
class?: string;
|
|
848
|
-
name?: string;
|
|
849
|
-
placeholder?: string;
|
|
850
|
-
disabled?: boolean;
|
|
851
|
-
value?: string;
|
|
852
|
-
rows?: number;
|
|
853
|
-
[key: string]: unknown;
|
|
854
|
-
}
|
|
855
|
-
import { CSSOutput as CSSOutput15, StyleEntry as StyleEntry6 } from "@vertz/ui";
|
|
653
|
+
import { CSSOutput as CSSOutput4, StyleEntry as StyleEntry5 } from "@vertz/ui";
|
|
856
654
|
type BreadcrumbBlocks = {
|
|
857
|
-
nav:
|
|
858
|
-
list:
|
|
859
|
-
item:
|
|
860
|
-
link:
|
|
861
|
-
page:
|
|
862
|
-
separator:
|
|
655
|
+
nav: StyleEntry5[];
|
|
656
|
+
list: StyleEntry5[];
|
|
657
|
+
item: StyleEntry5[];
|
|
658
|
+
link: StyleEntry5[];
|
|
659
|
+
page: StyleEntry5[];
|
|
660
|
+
separator: StyleEntry5[];
|
|
863
661
|
};
|
|
864
662
|
/** Create breadcrumb css() styles. */
|
|
865
|
-
declare function createBreadcrumbStyles():
|
|
866
|
-
import { CSSOutput as
|
|
663
|
+
declare function createBreadcrumbStyles(): CSSOutput4<BreadcrumbBlocks>;
|
|
664
|
+
import { CSSOutput as CSSOutput5, StyleEntry as StyleEntry7 } from "@vertz/ui";
|
|
867
665
|
type CalendarBlocks = {
|
|
868
|
-
root:
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
666
|
+
root: StyleEntry7[];
|
|
667
|
+
rootNoBorder: StyleEntry7[];
|
|
668
|
+
header: StyleEntry7[];
|
|
669
|
+
title: StyleEntry7[];
|
|
670
|
+
navButton: StyleEntry7[];
|
|
671
|
+
grid: StyleEntry7[];
|
|
672
|
+
headCell: StyleEntry7[];
|
|
673
|
+
cell: StyleEntry7[];
|
|
674
|
+
dayButton: StyleEntry7[];
|
|
675
|
+
monthSelect: StyleEntry7[];
|
|
676
|
+
yearSelect: StyleEntry7[];
|
|
878
677
|
};
|
|
879
678
|
/** Create calendar css() styles. */
|
|
880
|
-
declare function createCalendarStyles():
|
|
881
|
-
import { CSSOutput as
|
|
679
|
+
declare function createCalendarStyles(): CSSOutput5<CalendarBlocks>;
|
|
680
|
+
import { CSSOutput as CSSOutput7, StyleEntry as StyleEntry8 } from "@vertz/ui";
|
|
882
681
|
type CarouselBlocks = {
|
|
883
|
-
root:
|
|
884
|
-
viewport:
|
|
885
|
-
slide:
|
|
886
|
-
prevButton:
|
|
887
|
-
nextButton:
|
|
682
|
+
root: StyleEntry8[];
|
|
683
|
+
viewport: StyleEntry8[];
|
|
684
|
+
slide: StyleEntry8[];
|
|
685
|
+
prevButton: StyleEntry8[];
|
|
686
|
+
nextButton: StyleEntry8[];
|
|
888
687
|
};
|
|
889
688
|
/** Create carousel css() styles following shadcn conventions. */
|
|
890
|
-
declare function createCarouselStyles():
|
|
891
|
-
import { CSSOutput as
|
|
689
|
+
declare function createCarouselStyles(): CSSOutput7<CarouselBlocks>;
|
|
690
|
+
import { CSSOutput as CSSOutput9, StyleEntry as StyleEntry10 } from "@vertz/ui";
|
|
892
691
|
type CollapsibleBlocks = {
|
|
893
|
-
content:
|
|
692
|
+
content: StyleEntry10[];
|
|
894
693
|
};
|
|
895
694
|
/** Create collapsible css() styles. */
|
|
896
|
-
declare function createCollapsibleStyles():
|
|
897
|
-
import { CSSOutput as
|
|
695
|
+
declare function createCollapsibleStyles(): CSSOutput9<CollapsibleBlocks>;
|
|
696
|
+
import { CSSOutput as CSSOutput10, StyleEntry as StyleEntry11 } from "@vertz/ui";
|
|
898
697
|
type CommandBlocks = {
|
|
899
|
-
root:
|
|
900
|
-
input:
|
|
901
|
-
list:
|
|
902
|
-
item:
|
|
903
|
-
group:
|
|
904
|
-
groupHeading:
|
|
905
|
-
separator:
|
|
906
|
-
empty:
|
|
698
|
+
root: StyleEntry11[];
|
|
699
|
+
input: StyleEntry11[];
|
|
700
|
+
list: StyleEntry11[];
|
|
701
|
+
item: StyleEntry11[];
|
|
702
|
+
group: StyleEntry11[];
|
|
703
|
+
groupHeading: StyleEntry11[];
|
|
704
|
+
separator: StyleEntry11[];
|
|
705
|
+
empty: StyleEntry11[];
|
|
907
706
|
};
|
|
908
707
|
/** Create command css() styles. */
|
|
909
|
-
declare function createCommandStyles():
|
|
910
|
-
import { CSSOutput as
|
|
708
|
+
declare function createCommandStyles(): CSSOutput10<CommandBlocks>;
|
|
709
|
+
import { CSSOutput as CSSOutput11, StyleEntry as StyleEntry12 } from "@vertz/ui";
|
|
911
710
|
type ContextMenuBlocks = {
|
|
912
|
-
content:
|
|
913
|
-
item:
|
|
914
|
-
group:
|
|
915
|
-
label:
|
|
916
|
-
separator:
|
|
711
|
+
content: StyleEntry12[];
|
|
712
|
+
item: StyleEntry12[];
|
|
713
|
+
group: StyleEntry12[];
|
|
714
|
+
label: StyleEntry12[];
|
|
715
|
+
separator: StyleEntry12[];
|
|
917
716
|
};
|
|
918
717
|
/** Create context-menu css() styles. */
|
|
919
|
-
declare function createContextMenuStyles():
|
|
920
|
-
import { CSSOutput as
|
|
718
|
+
declare function createContextMenuStyles(): CSSOutput11<ContextMenuBlocks>;
|
|
719
|
+
import { CSSOutput as CSSOutput12, StyleEntry as StyleEntry13 } from "@vertz/ui";
|
|
921
720
|
type DatePickerBlocks = {
|
|
922
|
-
trigger:
|
|
923
|
-
content:
|
|
721
|
+
trigger: StyleEntry13[];
|
|
722
|
+
content: StyleEntry13[];
|
|
924
723
|
};
|
|
925
724
|
/** Create date-picker css() styles. */
|
|
926
|
-
declare function createDatePickerStyles():
|
|
927
|
-
import { CSSOutput as
|
|
725
|
+
declare function createDatePickerStyles(): CSSOutput12<DatePickerBlocks>;
|
|
726
|
+
import { CSSOutput as CSSOutput14, StyleEntry as StyleEntry15 } from "@vertz/ui";
|
|
928
727
|
type DrawerBlocks = {
|
|
929
|
-
overlay:
|
|
930
|
-
panelLeft:
|
|
931
|
-
panelRight:
|
|
932
|
-
panelTop:
|
|
933
|
-
panelBottom:
|
|
934
|
-
header:
|
|
935
|
-
title:
|
|
936
|
-
description:
|
|
937
|
-
footer:
|
|
938
|
-
handle:
|
|
939
|
-
close:
|
|
728
|
+
overlay: StyleEntry15[];
|
|
729
|
+
panelLeft: StyleEntry15[];
|
|
730
|
+
panelRight: StyleEntry15[];
|
|
731
|
+
panelTop: StyleEntry15[];
|
|
732
|
+
panelBottom: StyleEntry15[];
|
|
733
|
+
header: StyleEntry15[];
|
|
734
|
+
title: StyleEntry15[];
|
|
735
|
+
description: StyleEntry15[];
|
|
736
|
+
footer: StyleEntry15[];
|
|
737
|
+
handle: StyleEntry15[];
|
|
738
|
+
close: StyleEntry15[];
|
|
940
739
|
};
|
|
941
740
|
/** Create drawer css() styles. */
|
|
942
|
-
declare function createDrawerStyles():
|
|
943
|
-
import { CSSOutput as
|
|
741
|
+
declare function createDrawerStyles(): CSSOutput14<DrawerBlocks>;
|
|
742
|
+
import { CSSOutput as CSSOutput18, StyleEntry as StyleEntry18 } from "@vertz/ui";
|
|
944
743
|
type HoverCardBlocks = {
|
|
945
744
|
content: StyleEntry18[];
|
|
946
745
|
};
|
|
947
746
|
/** Create hover card css() styles. */
|
|
948
|
-
declare function createHoverCardStyles():
|
|
949
|
-
import { CSSOutput as
|
|
747
|
+
declare function createHoverCardStyles(): CSSOutput18<HoverCardBlocks>;
|
|
748
|
+
import { CSSOutput as CSSOutput21, StyleEntry as StyleEntry21 } from "@vertz/ui";
|
|
950
749
|
type MenubarBlocks = {
|
|
951
750
|
root: StyleEntry21[];
|
|
952
751
|
trigger: StyleEntry21[];
|
|
@@ -956,8 +755,8 @@ type MenubarBlocks = {
|
|
|
956
755
|
label: StyleEntry21[];
|
|
957
756
|
};
|
|
958
757
|
/** Create menubar css() styles. */
|
|
959
|
-
declare function createMenubarStyles():
|
|
960
|
-
import { CSSOutput as
|
|
758
|
+
declare function createMenubarStyles(): CSSOutput21<MenubarBlocks>;
|
|
759
|
+
import { CSSOutput as CSSOutput22, StyleEntry as StyleEntry22 } from "@vertz/ui";
|
|
961
760
|
type NavigationMenuBlocks = {
|
|
962
761
|
root: StyleEntry22[];
|
|
963
762
|
list: StyleEntry22[];
|
|
@@ -967,8 +766,8 @@ type NavigationMenuBlocks = {
|
|
|
967
766
|
viewport: StyleEntry22[];
|
|
968
767
|
};
|
|
969
768
|
/** Create navigation menu css() styles. */
|
|
970
|
-
declare function createNavigationMenuStyles():
|
|
971
|
-
import { CSSOutput as
|
|
769
|
+
declare function createNavigationMenuStyles(): CSSOutput22<NavigationMenuBlocks>;
|
|
770
|
+
import { CSSOutput as CSSOutput23, StyleEntry as StyleEntry23 } from "@vertz/ui";
|
|
972
771
|
type PaginationBlocks = {
|
|
973
772
|
nav: StyleEntry23[];
|
|
974
773
|
list: StyleEntry23[];
|
|
@@ -979,16 +778,16 @@ type PaginationBlocks = {
|
|
|
979
778
|
ellipsis: StyleEntry23[];
|
|
980
779
|
};
|
|
981
780
|
/** Create pagination css() styles. */
|
|
982
|
-
declare function createPaginationStyles():
|
|
983
|
-
import { CSSOutput as
|
|
781
|
+
declare function createPaginationStyles(): CSSOutput23<PaginationBlocks>;
|
|
782
|
+
import { CSSOutput as CSSOutput27, StyleEntry as StyleEntry27 } from "@vertz/ui";
|
|
984
783
|
type ResizablePanelBlocks = {
|
|
985
784
|
root: StyleEntry27[];
|
|
986
785
|
panel: StyleEntry27[];
|
|
987
786
|
handle: StyleEntry27[];
|
|
988
787
|
};
|
|
989
788
|
/** Create resizable panel css() styles following shadcn conventions. */
|
|
990
|
-
declare function createResizablePanelStyles():
|
|
991
|
-
import { CSSOutput as
|
|
789
|
+
declare function createResizablePanelStyles(): CSSOutput27<ResizablePanelBlocks>;
|
|
790
|
+
import { CSSOutput as CSSOutput28, StyleEntry as StyleEntry28 } from "@vertz/ui";
|
|
992
791
|
type ScrollAreaBlocks = {
|
|
993
792
|
root: StyleEntry28[];
|
|
994
793
|
viewport: StyleEntry28[];
|
|
@@ -996,24 +795,24 @@ type ScrollAreaBlocks = {
|
|
|
996
795
|
thumb: StyleEntry28[];
|
|
997
796
|
};
|
|
998
797
|
/** Create scroll-area css() styles following shadcn conventions. */
|
|
999
|
-
declare function createScrollAreaStyles():
|
|
1000
|
-
import { CSSOutput as
|
|
798
|
+
declare function createScrollAreaStyles(): CSSOutput28<ScrollAreaBlocks>;
|
|
799
|
+
import { CSSOutput as CSSOutput39, StyleEntry as StyleEntry39 } from "@vertz/ui";
|
|
1001
800
|
type ToggleBlocks = {
|
|
1002
801
|
root: StyleEntry39[];
|
|
1003
802
|
};
|
|
1004
803
|
/** Create toggle css() styles. */
|
|
1005
|
-
declare function createToggleStyles():
|
|
1006
|
-
import { CSSOutput as
|
|
804
|
+
declare function createToggleStyles(): CSSOutput39<ToggleBlocks>;
|
|
805
|
+
import { CSSOutput as CSSOutput40, StyleEntry as StyleEntry40 } from "@vertz/ui";
|
|
1007
806
|
type ToggleGroupBlocks = {
|
|
1008
807
|
root: StyleEntry40[];
|
|
1009
808
|
item: StyleEntry40[];
|
|
1010
809
|
};
|
|
1011
810
|
/** Create toggle group css() styles. */
|
|
1012
|
-
declare function createToggleGroupStyles():
|
|
811
|
+
declare function createToggleGroupStyles(): CSSOutput40<ToggleGroupBlocks>;
|
|
1013
812
|
/** Pre-built style definitions returned by configureTheme(). */
|
|
1014
813
|
interface ThemeStyles {
|
|
1015
814
|
/** Button variant function: `button({ intent: 'primary', size: 'md' })` */
|
|
1016
|
-
button:
|
|
815
|
+
button: VariantFunction3<{
|
|
1017
816
|
intent: Record<string, string[]>;
|
|
1018
817
|
size: Record<string, string[]>;
|
|
1019
818
|
}>;
|
|
@@ -1026,7 +825,7 @@ interface ThemeStyles {
|
|
|
1026
825
|
readonly css: string;
|
|
1027
826
|
};
|
|
1028
827
|
/** Badge variant function: `badge({ color: 'blue' })` */
|
|
1029
|
-
badge:
|
|
828
|
+
badge: VariantFunction3<{
|
|
1030
829
|
color: Record<string, string[]>;
|
|
1031
830
|
}>;
|
|
1032
831
|
/** Card css() result with root, header, title, description, content, footer. */
|
|
@@ -1146,17 +945,6 @@ interface ThemeStyles {
|
|
|
1146
945
|
readonly thumb: string;
|
|
1147
946
|
readonly css: string;
|
|
1148
947
|
};
|
|
1149
|
-
/** AlertDialog css() styles. */
|
|
1150
|
-
alertDialog: {
|
|
1151
|
-
readonly overlay: string;
|
|
1152
|
-
readonly panel: string;
|
|
1153
|
-
readonly title: string;
|
|
1154
|
-
readonly description: string;
|
|
1155
|
-
readonly footer: string;
|
|
1156
|
-
readonly cancel: string;
|
|
1157
|
-
readonly action: string;
|
|
1158
|
-
readonly css: string;
|
|
1159
|
-
};
|
|
1160
948
|
/** Accordion css() styles. */
|
|
1161
949
|
accordion: {
|
|
1162
950
|
readonly item: string;
|
|
@@ -1192,9 +980,21 @@ interface ThemeStyles {
|
|
|
1192
980
|
readonly fallbackXl: string;
|
|
1193
981
|
readonly css: string;
|
|
1194
982
|
};
|
|
983
|
+
/** EmptyState css() styles. */
|
|
984
|
+
emptyState: {
|
|
985
|
+
readonly root: string;
|
|
986
|
+
readonly icon: string;
|
|
987
|
+
readonly title: string;
|
|
988
|
+
readonly description: string;
|
|
989
|
+
readonly action: string;
|
|
990
|
+
readonly css: string;
|
|
991
|
+
};
|
|
1195
992
|
/** Skeleton css() styles. */
|
|
1196
993
|
skeleton: {
|
|
1197
|
-
readonly
|
|
994
|
+
readonly root: string;
|
|
995
|
+
readonly textRoot: string;
|
|
996
|
+
readonly textLine: string;
|
|
997
|
+
readonly circleRoot: string;
|
|
1198
998
|
readonly css: string;
|
|
1199
999
|
};
|
|
1200
1000
|
/** Table css() styles. */
|
|
@@ -1256,9 +1056,7 @@ interface ThemeStyles {
|
|
|
1256
1056
|
}
|
|
1257
1057
|
/** Themed primitive factories returned by configureTheme(). */
|
|
1258
1058
|
interface ThemedPrimitives {
|
|
1259
|
-
/** Themed
|
|
1260
|
-
AlertDialog: ThemedAlertDialogComponent;
|
|
1261
|
-
/** Themed Dialog — composable JSX component with Dialog.Trigger, Dialog.Content, Dialog.Title, Dialog.Description, Dialog.Footer. */
|
|
1059
|
+
/** Themed Dialog — stack-aware sub-components: Dialog.Header, Dialog.Title, Dialog.Description, Dialog.Footer, Dialog.Body, Dialog.Close, Dialog.Cancel. */
|
|
1262
1060
|
Dialog: ThemedDialogComponent;
|
|
1263
1061
|
/** Themed DropdownMenu — composable JSX component with DropdownMenu.Trigger, DropdownMenu.Content, etc. */
|
|
1264
1062
|
DropdownMenu: ThemedDropdownMenuComponent;
|
|
@@ -1315,36 +1113,57 @@ interface ThemedPrimitives {
|
|
|
1315
1113
|
/** Themed ToggleGroup — composable JSX component with ToggleGroup.Item sub-components. */
|
|
1316
1114
|
ToggleGroup: ThemedToggleGroupComponent;
|
|
1317
1115
|
}
|
|
1116
|
+
/** Props for the themed Button component (extends composed primitive props with variant support). */
|
|
1117
|
+
interface ThemedButtonProps extends Omit<ComposedButtonProps, "classes"> {
|
|
1118
|
+
intent?: string;
|
|
1119
|
+
size?: string;
|
|
1120
|
+
}
|
|
1121
|
+
/** Props for the themed Badge component (extends composed primitive props with color variant). */
|
|
1122
|
+
interface ThemedBadgeProps extends Omit<ComposedBadgeProps, "classes"> {
|
|
1123
|
+
color?: string;
|
|
1124
|
+
}
|
|
1125
|
+
/** Props for the themed Alert component (extends composed primitive props with variant support). */
|
|
1126
|
+
interface ThemedAlertProps extends Omit<ComposedAlertProps, "classes"> {
|
|
1127
|
+
variant?: "default" | "destructive";
|
|
1128
|
+
}
|
|
1318
1129
|
/** Component functions returned by configureTheme(). */
|
|
1319
1130
|
interface ThemeComponents {
|
|
1320
|
-
/** Alert
|
|
1321
|
-
Alert:
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1131
|
+
/** Alert component with variant support and sub-components (Alert.Title, Alert.Description). */
|
|
1132
|
+
Alert: ((props: ThemedAlertProps) => HTMLElement) & {
|
|
1133
|
+
Title: typeof ComposedAlert.Title;
|
|
1134
|
+
Description: typeof ComposedAlert.Description;
|
|
1135
|
+
};
|
|
1136
|
+
/** Button component with intent/size variants. */
|
|
1137
|
+
Button: (props: ThemedButtonProps) => HTMLElement;
|
|
1138
|
+
/** Badge component with color variants. */
|
|
1139
|
+
Badge: (props: ThemedBadgeProps) => HTMLElement;
|
|
1140
|
+
/** Breadcrumb suite with Item sub-component for router-integrated navigation. */
|
|
1141
|
+
Breadcrumb: StyledPrimitive<typeof ComposedBreadcrumb>;
|
|
1142
|
+
/** Card suite with sub-components (Card.Header, Card.Title, etc.). */
|
|
1143
|
+
Card: StyledPrimitive<typeof ComposedCard>;
|
|
1144
|
+
/** Input component with theme styles. */
|
|
1145
|
+
Input: (props: Omit<ComposedInputProps, "classes">) => HTMLElement;
|
|
1146
|
+
/** Textarea component with theme styles. */
|
|
1147
|
+
Textarea: (props: Omit<ComposedTextareaProps, "classes">) => HTMLElement;
|
|
1148
|
+
/** Label component with theme styles. */
|
|
1149
|
+
Label: (props: Omit<ComposedLabelProps, "classes">) => HTMLElement;
|
|
1336
1150
|
/** Pagination component — page navigation controls. */
|
|
1337
|
-
Pagination:
|
|
1338
|
-
/** Separator component
|
|
1339
|
-
Separator: (props:
|
|
1340
|
-
/** FormGroup
|
|
1341
|
-
FormGroup:
|
|
1342
|
-
/** Avatar
|
|
1343
|
-
Avatar:
|
|
1151
|
+
Pagination: (props: Omit<ComposedPaginationProps, "classes">) => HTMLElement;
|
|
1152
|
+
/** Separator component with theme styles. */
|
|
1153
|
+
Separator: (props: Omit<ComposedSeparatorProps, "classes">) => HTMLElement;
|
|
1154
|
+
/** FormGroup with sub-components (FormGroup.FormError). */
|
|
1155
|
+
FormGroup: StyledPrimitive<typeof ComposedFormGroup>;
|
|
1156
|
+
/** Avatar with sub-components (Avatar.Image, Avatar.Fallback). */
|
|
1157
|
+
Avatar: StyledPrimitive<typeof ComposedAvatar>;
|
|
1158
|
+
/** EmptyState component — placeholder for empty content areas with Icon, Title, Description, Action. */
|
|
1159
|
+
EmptyState: StyledPrimitive<typeof ComposedEmptyState>;
|
|
1344
1160
|
/** Skeleton component — loading placeholder with pulse animation. */
|
|
1345
|
-
Skeleton:
|
|
1346
|
-
|
|
1347
|
-
|
|
1161
|
+
Skeleton: ((props: Omit<ComposedSkeletonProps, "classes">) => HTMLElement) & {
|
|
1162
|
+
Text: (props: Omit<ComposedSkeletonTextProps, "classes">) => HTMLElement;
|
|
1163
|
+
Circle: (props: Omit<ComposedSkeletonCircleProps, "classes">) => HTMLElement;
|
|
1164
|
+
};
|
|
1165
|
+
/** Table suite with sub-components (Table.Header, Table.Body, Table.Row, etc.). */
|
|
1166
|
+
Table: StyledPrimitive<typeof ComposedTable>;
|
|
1348
1167
|
/** Themed primitive factories. */
|
|
1349
1168
|
primitives: ThemedPrimitives;
|
|
1350
1169
|
}
|
|
@@ -1364,23 +1183,27 @@ interface ResolvedTheme extends ResolvedThemeBase {
|
|
|
1364
1183
|
* component styles, use `configureThemeBase()` from `@vertz/theme-shadcn/base`.
|
|
1365
1184
|
*/
|
|
1366
1185
|
declare function configureTheme(config?: ThemeConfig): ResolvedTheme;
|
|
1186
|
+
import { ComposedAvatar as ComposedAvatar2, ComposedBreadcrumb as ComposedBreadcrumb2, ComposedCard as ComposedCard2, ComposedEmptyState as ComposedEmptyState2, ComposedFormGroup as ComposedFormGroup2, ComposedInputProps as ComposedInputProps2, ComposedLabelProps as ComposedLabelProps2, ComposedPaginationProps as ComposedPaginationProps2, ComposedSeparatorProps as ComposedSeparatorProps2, ComposedSkeletonCircleProps as ComposedSkeletonCircleProps2, ComposedSkeletonProps as ComposedSkeletonProps2, ComposedSkeletonTextProps as ComposedSkeletonTextProps2, ComposedTable as ComposedTable2, ComposedTextareaProps as ComposedTextareaProps2, StyledPrimitive as StyledPrimitive2 } from "@vertz/ui-primitives";
|
|
1367
1187
|
declare module "@vertz/ui/components" {
|
|
1368
1188
|
interface ThemeComponentMap {
|
|
1369
|
-
Button: (props:
|
|
1370
|
-
Badge: (props:
|
|
1371
|
-
Input: (props:
|
|
1372
|
-
Textarea: (props:
|
|
1373
|
-
Label: (props:
|
|
1374
|
-
Separator: (props:
|
|
1375
|
-
Breadcrumb:
|
|
1376
|
-
Pagination:
|
|
1377
|
-
Alert:
|
|
1378
|
-
Card:
|
|
1379
|
-
FormGroup:
|
|
1380
|
-
Avatar:
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1189
|
+
Button: (props: ThemedButtonProps) => HTMLElement;
|
|
1190
|
+
Badge: (props: ThemedBadgeProps) => HTMLElement;
|
|
1191
|
+
Input: (props: Omit<ComposedInputProps2, "classes">) => HTMLElement;
|
|
1192
|
+
Textarea: (props: Omit<ComposedTextareaProps2, "classes">) => HTMLElement;
|
|
1193
|
+
Label: (props: Omit<ComposedLabelProps2, "classes">) => HTMLElement;
|
|
1194
|
+
Separator: (props: Omit<ComposedSeparatorProps2, "classes">) => HTMLElement;
|
|
1195
|
+
Breadcrumb: StyledPrimitive2<typeof ComposedBreadcrumb2>;
|
|
1196
|
+
Pagination: (props: Omit<ComposedPaginationProps2, "classes">) => HTMLElement;
|
|
1197
|
+
Alert: ThemeComponents["Alert"];
|
|
1198
|
+
Card: StyledPrimitive2<typeof ComposedCard2>;
|
|
1199
|
+
FormGroup: StyledPrimitive2<typeof ComposedFormGroup2>;
|
|
1200
|
+
Avatar: StyledPrimitive2<typeof ComposedAvatar2>;
|
|
1201
|
+
EmptyState: StyledPrimitive2<typeof ComposedEmptyState2>;
|
|
1202
|
+
Skeleton: ((props: Omit<ComposedSkeletonProps2, "classes">) => HTMLElement) & {
|
|
1203
|
+
Text: (props: Omit<ComposedSkeletonTextProps2, "classes">) => HTMLElement;
|
|
1204
|
+
Circle: (props: Omit<ComposedSkeletonCircleProps2, "classes">) => HTMLElement;
|
|
1205
|
+
};
|
|
1206
|
+
Table: StyledPrimitive2<typeof ComposedTable2>;
|
|
1384
1207
|
Dialog: ThemedDialogComponent;
|
|
1385
1208
|
DropdownMenu: ThemedDropdownMenuComponent;
|
|
1386
1209
|
Select: ThemedSelectComponent;
|
|
@@ -1411,4 +1234,4 @@ declare module "@vertz/ui/components" {
|
|
|
1411
1234
|
ToggleGroup: ThemedToggleGroupComponent;
|
|
1412
1235
|
}
|
|
1413
1236
|
}
|
|
1414
|
-
export { configureTheme, ThemedPrimitives, ThemeStyles, ThemeStyle, ThemeConfig, ThemeComponents, ResolvedThemeBase, ResolvedTheme };
|
|
1237
|
+
export { palettes, configureTheme, ThemedPrimitives, ThemeStyles, ThemeStyle, ThemeConfig, ThemeComponents, ResolvedThemeBase, ResolvedTheme, RADIUS_VALUES, PaletteName };
|