@vertz/theme-shadcn 0.2.23 → 0.2.25
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 +331 -472
- package/dist/index.js +612 -984
- 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,60 @@ 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";
|
|
339
|
+
import { AnimateConfig } from "@vertz/ui-primitives";
|
|
340
|
+
interface ListRootProps {
|
|
341
|
+
children?: ChildValue12;
|
|
342
|
+
className?: string;
|
|
343
|
+
/** @deprecated Use `className` instead. */
|
|
344
|
+
class?: string;
|
|
345
|
+
animate?: boolean | AnimateConfig;
|
|
346
|
+
sortable?: boolean;
|
|
347
|
+
onReorder?: (fromIndex: number, toIndex: number) => void;
|
|
348
|
+
}
|
|
349
|
+
interface ListSlotProps {
|
|
350
|
+
children?: ChildValue12;
|
|
351
|
+
className?: string;
|
|
352
|
+
/** @deprecated Use `className` instead. */
|
|
353
|
+
class?: string;
|
|
354
|
+
}
|
|
355
|
+
interface ThemedListComponent {
|
|
356
|
+
(props: ListRootProps): HTMLElement;
|
|
357
|
+
Item: (props: ListSlotProps) => HTMLElement;
|
|
358
|
+
DragHandle: (props: ListSlotProps) => HTMLElement;
|
|
359
|
+
reorder: <T>(arr: readonly T[], from: number, to: number) => T[];
|
|
360
|
+
}
|
|
361
|
+
import { ChildValue as ChildValue13 } from "@vertz/ui";
|
|
496
362
|
interface MenubarRootProps {
|
|
497
363
|
onSelect?: (value: string) => void;
|
|
498
|
-
children?:
|
|
364
|
+
children?: ChildValue13;
|
|
499
365
|
}
|
|
500
366
|
interface MenubarMenuProps {
|
|
501
367
|
value: string;
|
|
502
|
-
children?:
|
|
368
|
+
children?: ChildValue13;
|
|
503
369
|
}
|
|
504
370
|
interface MenubarSlotProps {
|
|
505
|
-
children?:
|
|
371
|
+
children?: ChildValue13;
|
|
506
372
|
className?: string;
|
|
507
373
|
/** @deprecated Use `className` instead. */
|
|
508
374
|
class?: string;
|
|
509
375
|
}
|
|
510
376
|
interface MenubarItemProps {
|
|
511
377
|
value: string;
|
|
512
|
-
children?:
|
|
378
|
+
children?: ChildValue13;
|
|
513
379
|
className?: string;
|
|
514
380
|
/** @deprecated Use `className` instead. */
|
|
515
381
|
class?: string;
|
|
516
382
|
}
|
|
517
383
|
interface MenubarGroupProps {
|
|
518
384
|
label: string;
|
|
519
|
-
children?:
|
|
385
|
+
children?: ChildValue13;
|
|
520
386
|
className?: string;
|
|
521
387
|
/** @deprecated Use `className` instead. */
|
|
522
388
|
class?: string;
|
|
523
389
|
}
|
|
524
390
|
interface MenubarLabelProps {
|
|
525
|
-
children?:
|
|
391
|
+
children?: ChildValue13;
|
|
526
392
|
className?: string;
|
|
527
393
|
/** @deprecated Use `className` instead. */
|
|
528
394
|
class?: string;
|
|
@@ -537,26 +403,26 @@ interface ThemedMenubarComponent {
|
|
|
537
403
|
Label: (props: MenubarLabelProps) => HTMLElement;
|
|
538
404
|
Separator: (props: MenubarSlotProps) => HTMLElement;
|
|
539
405
|
}
|
|
540
|
-
import { ChildValue as
|
|
406
|
+
import { ChildValue as ChildValue14 } from "@vertz/ui";
|
|
541
407
|
interface NavigationMenuRootProps {
|
|
542
408
|
orientation?: "horizontal" | "vertical";
|
|
543
409
|
delayOpen?: number;
|
|
544
410
|
delayClose?: number;
|
|
545
|
-
children?:
|
|
411
|
+
children?: ChildValue14;
|
|
546
412
|
}
|
|
547
413
|
interface NavigationMenuSlotProps {
|
|
548
|
-
children?:
|
|
414
|
+
children?: ChildValue14;
|
|
549
415
|
className?: string;
|
|
550
416
|
/** @deprecated Use `className` instead. */
|
|
551
417
|
class?: string;
|
|
552
418
|
}
|
|
553
419
|
interface NavigationMenuItemProps {
|
|
554
420
|
value: string;
|
|
555
|
-
children?:
|
|
421
|
+
children?: ChildValue14;
|
|
556
422
|
}
|
|
557
423
|
interface NavigationMenuLinkProps {
|
|
558
424
|
href: string;
|
|
559
|
-
children?:
|
|
425
|
+
children?: ChildValue14;
|
|
560
426
|
className?: string;
|
|
561
427
|
/** @deprecated Use `className` instead. */
|
|
562
428
|
class?: string;
|
|
@@ -575,13 +441,13 @@ interface ThemedNavigationMenuComponent {
|
|
|
575
441
|
Link: (props: NavigationMenuLinkProps) => HTMLElement;
|
|
576
442
|
Viewport: (props: NavigationMenuViewportProps) => HTMLElement;
|
|
577
443
|
}
|
|
578
|
-
import { ChildValue as
|
|
444
|
+
import { ChildValue as ChildValue15 } from "@vertz/ui";
|
|
579
445
|
interface PopoverRootProps {
|
|
580
446
|
onOpenChange?: (open: boolean) => void;
|
|
581
|
-
children?:
|
|
447
|
+
children?: ChildValue15;
|
|
582
448
|
}
|
|
583
449
|
interface PopoverSlotProps {
|
|
584
|
-
children?:
|
|
450
|
+
children?: ChildValue15;
|
|
585
451
|
className?: string;
|
|
586
452
|
/** @deprecated Use `className` instead. */
|
|
587
453
|
class?: string;
|
|
@@ -591,30 +457,30 @@ interface ThemedPopoverComponent {
|
|
|
591
457
|
Trigger: (props: PopoverSlotProps) => HTMLElement;
|
|
592
458
|
Content: (props: PopoverSlotProps) => HTMLElement;
|
|
593
459
|
}
|
|
594
|
-
import { ChildValue as
|
|
460
|
+
import { ChildValue as ChildValue16 } from "@vertz/ui";
|
|
595
461
|
interface ProgressRootProps {
|
|
596
|
-
children?:
|
|
462
|
+
children?: ChildValue16;
|
|
597
463
|
defaultValue?: number;
|
|
598
464
|
min?: number;
|
|
599
465
|
max?: number;
|
|
600
466
|
}
|
|
601
467
|
type ThemedProgressComponent = (props: ProgressRootProps) => HTMLElement;
|
|
602
|
-
import { ChildValue as
|
|
468
|
+
import { ChildValue as ChildValue17 } from "@vertz/ui";
|
|
603
469
|
interface RadioGroupRootProps {
|
|
604
|
-
children?:
|
|
470
|
+
children?: ChildValue17;
|
|
605
471
|
defaultValue?: string;
|
|
606
472
|
onValueChange?: (value: string) => void;
|
|
607
473
|
}
|
|
608
474
|
interface RadioGroupItemProps {
|
|
609
475
|
value: string;
|
|
610
476
|
disabled?: boolean;
|
|
611
|
-
children?:
|
|
477
|
+
children?: ChildValue17;
|
|
612
478
|
}
|
|
613
479
|
interface ThemedRadioGroupComponent {
|
|
614
480
|
(props: RadioGroupRootProps): HTMLElement;
|
|
615
481
|
Item: (props: RadioGroupItemProps) => HTMLElement;
|
|
616
482
|
}
|
|
617
|
-
import { ChildValue as
|
|
483
|
+
import { ChildValue as ChildValue18 } from "@vertz/ui";
|
|
618
484
|
import { PanelOptions } from "@vertz/ui-primitives";
|
|
619
485
|
interface ResizablePanelStyleClasses {
|
|
620
486
|
readonly root: string;
|
|
@@ -624,10 +490,10 @@ interface ResizablePanelStyleClasses {
|
|
|
624
490
|
interface ResizablePanelRootProps {
|
|
625
491
|
orientation?: "horizontal" | "vertical";
|
|
626
492
|
onResize?: (sizes: number[]) => void;
|
|
627
|
-
children?:
|
|
493
|
+
children?: ChildValue18;
|
|
628
494
|
}
|
|
629
495
|
interface ResizablePanelPanelProps extends PanelOptions {
|
|
630
|
-
children?:
|
|
496
|
+
children?: ChildValue18;
|
|
631
497
|
className?: string;
|
|
632
498
|
/** @deprecated Use `className` instead. */
|
|
633
499
|
class?: string;
|
|
@@ -643,35 +509,35 @@ interface ThemedResizablePanelComponent {
|
|
|
643
509
|
Handle: (props: ResizablePanelHandleProps) => HTMLElement;
|
|
644
510
|
}
|
|
645
511
|
declare function createThemedResizablePanel(styles: ResizablePanelStyleClasses): ThemedResizablePanelComponent;
|
|
646
|
-
import { ChildValue as
|
|
512
|
+
import { ChildValue as ChildValue19 } from "@vertz/ui";
|
|
647
513
|
interface ScrollAreaRootProps {
|
|
648
514
|
orientation?: "vertical" | "horizontal" | "both";
|
|
649
|
-
children?:
|
|
515
|
+
children?: ChildValue19;
|
|
650
516
|
}
|
|
651
517
|
type ThemedScrollAreaComponent = (props: ScrollAreaRootProps) => HTMLElement;
|
|
652
|
-
import { ChildValue as
|
|
518
|
+
import { ChildValue as ChildValue20 } from "@vertz/ui";
|
|
653
519
|
interface SelectRootProps {
|
|
654
520
|
defaultValue?: string;
|
|
655
521
|
placeholder?: string;
|
|
656
522
|
onValueChange?: (value: string) => void;
|
|
657
|
-
children?:
|
|
523
|
+
children?: ChildValue20;
|
|
658
524
|
}
|
|
659
525
|
interface SelectSlotProps {
|
|
660
|
-
children?:
|
|
526
|
+
children?: ChildValue20;
|
|
661
527
|
className?: string;
|
|
662
528
|
/** @deprecated Use `className` instead. */
|
|
663
529
|
class?: string;
|
|
664
530
|
}
|
|
665
531
|
interface SelectItemProps {
|
|
666
532
|
value: string;
|
|
667
|
-
children?:
|
|
533
|
+
children?: ChildValue20;
|
|
668
534
|
className?: string;
|
|
669
535
|
/** @deprecated Use `className` instead. */
|
|
670
536
|
class?: string;
|
|
671
537
|
}
|
|
672
538
|
interface SelectGroupProps {
|
|
673
539
|
label: string;
|
|
674
|
-
children?:
|
|
540
|
+
children?: ChildValue20;
|
|
675
541
|
className?: string;
|
|
676
542
|
/** @deprecated Use `className` instead. */
|
|
677
543
|
class?: string;
|
|
@@ -684,15 +550,15 @@ interface ThemedSelectComponent {
|
|
|
684
550
|
Group: (props: SelectGroupProps) => HTMLElement;
|
|
685
551
|
Separator: (props: SelectSlotProps) => HTMLElement;
|
|
686
552
|
}
|
|
687
|
-
import { ChildValue as
|
|
553
|
+
import { ChildValue as ChildValue21 } from "@vertz/ui";
|
|
688
554
|
import { SheetSide as SheetSide2 } from "@vertz/ui-primitives";
|
|
689
555
|
interface SheetRootProps {
|
|
690
556
|
side?: SheetSide2;
|
|
691
557
|
onOpenChange?: (open: boolean) => void;
|
|
692
|
-
children?:
|
|
558
|
+
children?: ChildValue21;
|
|
693
559
|
}
|
|
694
560
|
interface SheetSlotProps {
|
|
695
|
-
children?:
|
|
561
|
+
children?: ChildValue21;
|
|
696
562
|
className?: string;
|
|
697
563
|
/** @deprecated Use `className` instead. */
|
|
698
564
|
class?: string;
|
|
@@ -708,9 +574,9 @@ interface ThemedSheetComponent {
|
|
|
708
574
|
Description: (props: SheetSlotProps) => HTMLElement;
|
|
709
575
|
Close: (props: SheetSlotProps) => HTMLElement;
|
|
710
576
|
}
|
|
711
|
-
import { ChildValue as
|
|
577
|
+
import { ChildValue as ChildValue22 } from "@vertz/ui";
|
|
712
578
|
interface SliderRootProps {
|
|
713
|
-
children?:
|
|
579
|
+
children?: ChildValue22;
|
|
714
580
|
defaultValue?: number;
|
|
715
581
|
min?: number;
|
|
716
582
|
max?: number;
|
|
@@ -719,37 +585,37 @@ interface SliderRootProps {
|
|
|
719
585
|
onValueChange?: (value: number) => void;
|
|
720
586
|
}
|
|
721
587
|
type ThemedSliderComponent = (props: SliderRootProps) => HTMLElement;
|
|
722
|
-
import { ChildValue as
|
|
588
|
+
import { ChildValue as ChildValue23 } from "@vertz/ui";
|
|
723
589
|
interface ThemedSwitchProps {
|
|
724
|
-
children?:
|
|
590
|
+
children?: ChildValue23;
|
|
725
591
|
defaultChecked?: boolean;
|
|
726
592
|
disabled?: boolean;
|
|
727
593
|
onCheckedChange?: (checked: boolean) => void;
|
|
728
594
|
size?: "default" | "sm";
|
|
729
595
|
}
|
|
730
596
|
type ThemedSwitchComponent = (props: ThemedSwitchProps) => HTMLElement;
|
|
731
|
-
import { ChildValue as
|
|
597
|
+
import { ChildValue as ChildValue24 } from "@vertz/ui";
|
|
732
598
|
interface TabsRootProps {
|
|
733
599
|
defaultValue?: string;
|
|
734
600
|
variant?: "default" | "line";
|
|
735
|
-
children?:
|
|
601
|
+
children?: ChildValue24;
|
|
736
602
|
}
|
|
737
603
|
interface TabsSlotProps {
|
|
738
|
-
children?:
|
|
604
|
+
children?: ChildValue24;
|
|
739
605
|
className?: string;
|
|
740
606
|
/** @deprecated Use `className` instead. */
|
|
741
607
|
class?: string;
|
|
742
608
|
}
|
|
743
609
|
interface TabsTriggerProps {
|
|
744
610
|
value: string;
|
|
745
|
-
children?:
|
|
611
|
+
children?: ChildValue24;
|
|
746
612
|
className?: string;
|
|
747
613
|
/** @deprecated Use `className` instead. */
|
|
748
614
|
class?: string;
|
|
749
615
|
}
|
|
750
616
|
interface TabsContentProps {
|
|
751
617
|
value: string;
|
|
752
|
-
children?:
|
|
618
|
+
children?: ChildValue24;
|
|
753
619
|
className?: string;
|
|
754
620
|
/** @deprecated Use `className` instead. */
|
|
755
621
|
class?: string;
|
|
@@ -766,17 +632,17 @@ type ThemedToastResult = ToastElements & {
|
|
|
766
632
|
announce: (content: string) => ToastMessage;
|
|
767
633
|
dismiss: (id: string) => void;
|
|
768
634
|
};
|
|
769
|
-
import { ChildValue as
|
|
635
|
+
import { ChildValue as ChildValue25 } from "@vertz/ui";
|
|
770
636
|
interface ToggleRootProps {
|
|
771
|
-
children?:
|
|
637
|
+
children?: ChildValue25;
|
|
772
638
|
defaultPressed?: boolean;
|
|
773
639
|
disabled?: boolean;
|
|
774
640
|
onPressedChange?: (pressed: boolean) => void;
|
|
775
641
|
}
|
|
776
642
|
type ThemedToggleComponent = (props: ToggleRootProps) => HTMLElement;
|
|
777
|
-
import { ChildValue as
|
|
643
|
+
import { ChildValue as ChildValue26 } from "@vertz/ui";
|
|
778
644
|
interface ToggleGroupRootProps {
|
|
779
|
-
children?:
|
|
645
|
+
children?: ChildValue26;
|
|
780
646
|
type?: "single" | "multiple";
|
|
781
647
|
defaultValue?: string[];
|
|
782
648
|
orientation?: "horizontal" | "vertical";
|
|
@@ -785,19 +651,19 @@ interface ToggleGroupRootProps {
|
|
|
785
651
|
}
|
|
786
652
|
interface ToggleGroupItemProps {
|
|
787
653
|
value: string;
|
|
788
|
-
children?:
|
|
654
|
+
children?: ChildValue26;
|
|
789
655
|
}
|
|
790
656
|
interface ThemedToggleGroupComponent {
|
|
791
657
|
(props: ToggleGroupRootProps): HTMLElement;
|
|
792
658
|
Item: (props: ToggleGroupItemProps) => HTMLElement;
|
|
793
659
|
}
|
|
794
|
-
import { ChildValue as
|
|
660
|
+
import { ChildValue as ChildValue27 } from "@vertz/ui";
|
|
795
661
|
interface TooltipRootProps {
|
|
796
662
|
delay?: number;
|
|
797
|
-
children?:
|
|
663
|
+
children?: ChildValue27;
|
|
798
664
|
}
|
|
799
665
|
interface TooltipSlotProps {
|
|
800
|
-
children?:
|
|
666
|
+
children?: ChildValue27;
|
|
801
667
|
className?: string;
|
|
802
668
|
/** @deprecated Use `className` instead. */
|
|
803
669
|
class?: string;
|
|
@@ -807,213 +673,177 @@ interface ThemedTooltipComponent {
|
|
|
807
673
|
Trigger: (props: TooltipSlotProps) => HTMLElement;
|
|
808
674
|
Content: (props: TooltipSlotProps) => HTMLElement;
|
|
809
675
|
}
|
|
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";
|
|
676
|
+
import { CSSOutput as CSSOutput4, StyleEntry as StyleEntry5 } from "@vertz/ui";
|
|
856
677
|
type BreadcrumbBlocks = {
|
|
857
|
-
nav:
|
|
858
|
-
list:
|
|
859
|
-
item:
|
|
860
|
-
link:
|
|
861
|
-
page:
|
|
862
|
-
separator:
|
|
678
|
+
nav: StyleEntry5[];
|
|
679
|
+
list: StyleEntry5[];
|
|
680
|
+
item: StyleEntry5[];
|
|
681
|
+
link: StyleEntry5[];
|
|
682
|
+
page: StyleEntry5[];
|
|
683
|
+
separator: StyleEntry5[];
|
|
863
684
|
};
|
|
864
685
|
/** Create breadcrumb css() styles. */
|
|
865
|
-
declare function createBreadcrumbStyles():
|
|
866
|
-
import { CSSOutput as
|
|
686
|
+
declare function createBreadcrumbStyles(): CSSOutput4<BreadcrumbBlocks>;
|
|
687
|
+
import { CSSOutput as CSSOutput5, StyleEntry as StyleEntry7 } from "@vertz/ui";
|
|
867
688
|
type CalendarBlocks = {
|
|
868
|
-
root:
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
689
|
+
root: StyleEntry7[];
|
|
690
|
+
rootNoBorder: StyleEntry7[];
|
|
691
|
+
header: StyleEntry7[];
|
|
692
|
+
title: StyleEntry7[];
|
|
693
|
+
navButton: StyleEntry7[];
|
|
694
|
+
grid: StyleEntry7[];
|
|
695
|
+
headCell: StyleEntry7[];
|
|
696
|
+
cell: StyleEntry7[];
|
|
697
|
+
dayButton: StyleEntry7[];
|
|
698
|
+
monthSelect: StyleEntry7[];
|
|
699
|
+
yearSelect: StyleEntry7[];
|
|
878
700
|
};
|
|
879
701
|
/** Create calendar css() styles. */
|
|
880
|
-
declare function createCalendarStyles():
|
|
881
|
-
import { CSSOutput as
|
|
702
|
+
declare function createCalendarStyles(): CSSOutput5<CalendarBlocks>;
|
|
703
|
+
import { CSSOutput as CSSOutput7, StyleEntry as StyleEntry8 } from "@vertz/ui";
|
|
882
704
|
type CarouselBlocks = {
|
|
883
|
-
root:
|
|
884
|
-
viewport:
|
|
885
|
-
slide:
|
|
886
|
-
prevButton:
|
|
887
|
-
nextButton:
|
|
705
|
+
root: StyleEntry8[];
|
|
706
|
+
viewport: StyleEntry8[];
|
|
707
|
+
slide: StyleEntry8[];
|
|
708
|
+
prevButton: StyleEntry8[];
|
|
709
|
+
nextButton: StyleEntry8[];
|
|
888
710
|
};
|
|
889
711
|
/** Create carousel css() styles following shadcn conventions. */
|
|
890
|
-
declare function createCarouselStyles():
|
|
891
|
-
import { CSSOutput as
|
|
712
|
+
declare function createCarouselStyles(): CSSOutput7<CarouselBlocks>;
|
|
713
|
+
import { CSSOutput as CSSOutput9, StyleEntry as StyleEntry10 } from "@vertz/ui";
|
|
892
714
|
type CollapsibleBlocks = {
|
|
893
|
-
content:
|
|
715
|
+
content: StyleEntry10[];
|
|
894
716
|
};
|
|
895
717
|
/** Create collapsible css() styles. */
|
|
896
|
-
declare function createCollapsibleStyles():
|
|
897
|
-
import { CSSOutput as
|
|
718
|
+
declare function createCollapsibleStyles(): CSSOutput9<CollapsibleBlocks>;
|
|
719
|
+
import { CSSOutput as CSSOutput10, StyleEntry as StyleEntry11 } from "@vertz/ui";
|
|
898
720
|
type CommandBlocks = {
|
|
899
|
-
root:
|
|
900
|
-
input:
|
|
901
|
-
list:
|
|
902
|
-
item:
|
|
903
|
-
group:
|
|
904
|
-
groupHeading:
|
|
905
|
-
separator:
|
|
906
|
-
empty:
|
|
721
|
+
root: StyleEntry11[];
|
|
722
|
+
input: StyleEntry11[];
|
|
723
|
+
list: StyleEntry11[];
|
|
724
|
+
item: StyleEntry11[];
|
|
725
|
+
group: StyleEntry11[];
|
|
726
|
+
groupHeading: StyleEntry11[];
|
|
727
|
+
separator: StyleEntry11[];
|
|
728
|
+
empty: StyleEntry11[];
|
|
907
729
|
};
|
|
908
730
|
/** Create command css() styles. */
|
|
909
|
-
declare function createCommandStyles():
|
|
910
|
-
import { CSSOutput as
|
|
731
|
+
declare function createCommandStyles(): CSSOutput10<CommandBlocks>;
|
|
732
|
+
import { CSSOutput as CSSOutput11, StyleEntry as StyleEntry12 } from "@vertz/ui";
|
|
911
733
|
type ContextMenuBlocks = {
|
|
912
|
-
content:
|
|
913
|
-
item:
|
|
914
|
-
group:
|
|
915
|
-
label:
|
|
916
|
-
separator:
|
|
734
|
+
content: StyleEntry12[];
|
|
735
|
+
item: StyleEntry12[];
|
|
736
|
+
group: StyleEntry12[];
|
|
737
|
+
label: StyleEntry12[];
|
|
738
|
+
separator: StyleEntry12[];
|
|
917
739
|
};
|
|
918
740
|
/** Create context-menu css() styles. */
|
|
919
|
-
declare function createContextMenuStyles():
|
|
920
|
-
import { CSSOutput as
|
|
741
|
+
declare function createContextMenuStyles(): CSSOutput11<ContextMenuBlocks>;
|
|
742
|
+
import { CSSOutput as CSSOutput12, StyleEntry as StyleEntry13 } from "@vertz/ui";
|
|
921
743
|
type DatePickerBlocks = {
|
|
922
|
-
trigger:
|
|
923
|
-
content:
|
|
744
|
+
trigger: StyleEntry13[];
|
|
745
|
+
content: StyleEntry13[];
|
|
924
746
|
};
|
|
925
747
|
/** Create date-picker css() styles. */
|
|
926
|
-
declare function createDatePickerStyles():
|
|
927
|
-
import { CSSOutput as
|
|
748
|
+
declare function createDatePickerStyles(): CSSOutput12<DatePickerBlocks>;
|
|
749
|
+
import { CSSOutput as CSSOutput14, StyleEntry as StyleEntry15 } from "@vertz/ui";
|
|
928
750
|
type DrawerBlocks = {
|
|
929
|
-
overlay:
|
|
930
|
-
panelLeft:
|
|
931
|
-
panelRight:
|
|
932
|
-
panelTop:
|
|
933
|
-
panelBottom:
|
|
934
|
-
header:
|
|
935
|
-
title:
|
|
936
|
-
description:
|
|
937
|
-
footer:
|
|
938
|
-
handle:
|
|
939
|
-
close:
|
|
751
|
+
overlay: StyleEntry15[];
|
|
752
|
+
panelLeft: StyleEntry15[];
|
|
753
|
+
panelRight: StyleEntry15[];
|
|
754
|
+
panelTop: StyleEntry15[];
|
|
755
|
+
panelBottom: StyleEntry15[];
|
|
756
|
+
header: StyleEntry15[];
|
|
757
|
+
title: StyleEntry15[];
|
|
758
|
+
description: StyleEntry15[];
|
|
759
|
+
footer: StyleEntry15[];
|
|
760
|
+
handle: StyleEntry15[];
|
|
761
|
+
close: StyleEntry15[];
|
|
940
762
|
};
|
|
941
763
|
/** Create drawer css() styles. */
|
|
942
|
-
declare function createDrawerStyles():
|
|
943
|
-
import { CSSOutput as
|
|
764
|
+
declare function createDrawerStyles(): CSSOutput14<DrawerBlocks>;
|
|
765
|
+
import { CSSOutput as CSSOutput18, StyleEntry as StyleEntry18 } from "@vertz/ui";
|
|
944
766
|
type HoverCardBlocks = {
|
|
945
767
|
content: StyleEntry18[];
|
|
946
768
|
};
|
|
947
769
|
/** Create hover card css() styles. */
|
|
948
|
-
declare function createHoverCardStyles():
|
|
949
|
-
import { CSSOutput as
|
|
950
|
-
type
|
|
770
|
+
declare function createHoverCardStyles(): CSSOutput18<HoverCardBlocks>;
|
|
771
|
+
import { CSSOutput as CSSOutput21, StyleEntry as StyleEntry21 } from "@vertz/ui";
|
|
772
|
+
type ListBlocks = {
|
|
951
773
|
root: StyleEntry21[];
|
|
952
|
-
trigger: StyleEntry21[];
|
|
953
|
-
content: StyleEntry21[];
|
|
954
774
|
item: StyleEntry21[];
|
|
955
|
-
|
|
956
|
-
label: StyleEntry21[];
|
|
775
|
+
dragHandle: StyleEntry21[];
|
|
957
776
|
};
|
|
958
|
-
/** Create
|
|
959
|
-
declare function
|
|
960
|
-
import { CSSOutput as
|
|
961
|
-
type
|
|
777
|
+
/** Create list css() styles. */
|
|
778
|
+
declare function createListStyles(): CSSOutput21<ListBlocks>;
|
|
779
|
+
import { CSSOutput as CSSOutput22, StyleEntry as StyleEntry22 } from "@vertz/ui";
|
|
780
|
+
type MenubarBlocks = {
|
|
962
781
|
root: StyleEntry22[];
|
|
963
|
-
list: StyleEntry22[];
|
|
964
782
|
trigger: StyleEntry22[];
|
|
965
783
|
content: StyleEntry22[];
|
|
966
|
-
|
|
967
|
-
|
|
784
|
+
item: StyleEntry22[];
|
|
785
|
+
separator: StyleEntry22[];
|
|
786
|
+
label: StyleEntry22[];
|
|
968
787
|
};
|
|
969
|
-
/** Create
|
|
970
|
-
declare function
|
|
971
|
-
import { CSSOutput as
|
|
972
|
-
type
|
|
973
|
-
|
|
788
|
+
/** Create menubar css() styles. */
|
|
789
|
+
declare function createMenubarStyles(): CSSOutput22<MenubarBlocks>;
|
|
790
|
+
import { CSSOutput as CSSOutput23, StyleEntry as StyleEntry23 } from "@vertz/ui";
|
|
791
|
+
type NavigationMenuBlocks = {
|
|
792
|
+
root: StyleEntry23[];
|
|
974
793
|
list: StyleEntry23[];
|
|
975
|
-
|
|
794
|
+
trigger: StyleEntry23[];
|
|
795
|
+
content: StyleEntry23[];
|
|
976
796
|
link: StyleEntry23[];
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
797
|
+
viewport: StyleEntry23[];
|
|
798
|
+
};
|
|
799
|
+
/** Create navigation menu css() styles. */
|
|
800
|
+
declare function createNavigationMenuStyles(): CSSOutput23<NavigationMenuBlocks>;
|
|
801
|
+
import { CSSOutput as CSSOutput24, StyleEntry as StyleEntry24 } from "@vertz/ui";
|
|
802
|
+
type PaginationBlocks = {
|
|
803
|
+
nav: StyleEntry24[];
|
|
804
|
+
list: StyleEntry24[];
|
|
805
|
+
item: StyleEntry24[];
|
|
806
|
+
link: StyleEntry24[];
|
|
807
|
+
linkActive: StyleEntry24[];
|
|
808
|
+
navButton: StyleEntry24[];
|
|
809
|
+
ellipsis: StyleEntry24[];
|
|
980
810
|
};
|
|
981
811
|
/** Create pagination css() styles. */
|
|
982
|
-
declare function createPaginationStyles():
|
|
983
|
-
import { CSSOutput as
|
|
812
|
+
declare function createPaginationStyles(): CSSOutput24<PaginationBlocks>;
|
|
813
|
+
import { CSSOutput as CSSOutput28, StyleEntry as StyleEntry28 } from "@vertz/ui";
|
|
984
814
|
type ResizablePanelBlocks = {
|
|
985
|
-
root:
|
|
986
|
-
panel:
|
|
987
|
-
handle:
|
|
815
|
+
root: StyleEntry28[];
|
|
816
|
+
panel: StyleEntry28[];
|
|
817
|
+
handle: StyleEntry28[];
|
|
988
818
|
};
|
|
989
819
|
/** Create resizable panel css() styles following shadcn conventions. */
|
|
990
|
-
declare function createResizablePanelStyles():
|
|
991
|
-
import { CSSOutput as
|
|
820
|
+
declare function createResizablePanelStyles(): CSSOutput28<ResizablePanelBlocks>;
|
|
821
|
+
import { CSSOutput as CSSOutput29, StyleEntry as StyleEntry29 } from "@vertz/ui";
|
|
992
822
|
type ScrollAreaBlocks = {
|
|
993
|
-
root:
|
|
994
|
-
viewport:
|
|
995
|
-
scrollbar:
|
|
996
|
-
thumb:
|
|
823
|
+
root: StyleEntry29[];
|
|
824
|
+
viewport: StyleEntry29[];
|
|
825
|
+
scrollbar: StyleEntry29[];
|
|
826
|
+
thumb: StyleEntry29[];
|
|
997
827
|
};
|
|
998
828
|
/** Create scroll-area css() styles following shadcn conventions. */
|
|
999
|
-
declare function createScrollAreaStyles():
|
|
1000
|
-
import { CSSOutput as
|
|
829
|
+
declare function createScrollAreaStyles(): CSSOutput29<ScrollAreaBlocks>;
|
|
830
|
+
import { CSSOutput as CSSOutput40, StyleEntry as StyleEntry40 } from "@vertz/ui";
|
|
1001
831
|
type ToggleBlocks = {
|
|
1002
|
-
root:
|
|
832
|
+
root: StyleEntry40[];
|
|
1003
833
|
};
|
|
1004
834
|
/** Create toggle css() styles. */
|
|
1005
|
-
declare function createToggleStyles():
|
|
1006
|
-
import { CSSOutput as
|
|
835
|
+
declare function createToggleStyles(): CSSOutput40<ToggleBlocks>;
|
|
836
|
+
import { CSSOutput as CSSOutput41, StyleEntry as StyleEntry41 } from "@vertz/ui";
|
|
1007
837
|
type ToggleGroupBlocks = {
|
|
1008
|
-
root:
|
|
1009
|
-
item:
|
|
838
|
+
root: StyleEntry41[];
|
|
839
|
+
item: StyleEntry41[];
|
|
1010
840
|
};
|
|
1011
841
|
/** Create toggle group css() styles. */
|
|
1012
|
-
declare function createToggleGroupStyles():
|
|
842
|
+
declare function createToggleGroupStyles(): CSSOutput41<ToggleGroupBlocks>;
|
|
1013
843
|
/** Pre-built style definitions returned by configureTheme(). */
|
|
1014
844
|
interface ThemeStyles {
|
|
1015
845
|
/** Button variant function: `button({ intent: 'primary', size: 'md' })` */
|
|
1016
|
-
button:
|
|
846
|
+
button: VariantFunction3<{
|
|
1017
847
|
intent: Record<string, string[]>;
|
|
1018
848
|
size: Record<string, string[]>;
|
|
1019
849
|
}>;
|
|
@@ -1026,7 +856,7 @@ interface ThemeStyles {
|
|
|
1026
856
|
readonly css: string;
|
|
1027
857
|
};
|
|
1028
858
|
/** Badge variant function: `badge({ color: 'blue' })` */
|
|
1029
|
-
badge:
|
|
859
|
+
badge: VariantFunction3<{
|
|
1030
860
|
color: Record<string, string[]>;
|
|
1031
861
|
}>;
|
|
1032
862
|
/** Card css() result with root, header, title, description, content, footer. */
|
|
@@ -1146,17 +976,6 @@ interface ThemeStyles {
|
|
|
1146
976
|
readonly thumb: string;
|
|
1147
977
|
readonly css: string;
|
|
1148
978
|
};
|
|
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
979
|
/** Accordion css() styles. */
|
|
1161
980
|
accordion: {
|
|
1162
981
|
readonly item: string;
|
|
@@ -1192,9 +1011,21 @@ interface ThemeStyles {
|
|
|
1192
1011
|
readonly fallbackXl: string;
|
|
1193
1012
|
readonly css: string;
|
|
1194
1013
|
};
|
|
1014
|
+
/** EmptyState css() styles. */
|
|
1015
|
+
emptyState: {
|
|
1016
|
+
readonly root: string;
|
|
1017
|
+
readonly icon: string;
|
|
1018
|
+
readonly title: string;
|
|
1019
|
+
readonly description: string;
|
|
1020
|
+
readonly action: string;
|
|
1021
|
+
readonly css: string;
|
|
1022
|
+
};
|
|
1195
1023
|
/** Skeleton css() styles. */
|
|
1196
1024
|
skeleton: {
|
|
1197
|
-
readonly
|
|
1025
|
+
readonly root: string;
|
|
1026
|
+
readonly textRoot: string;
|
|
1027
|
+
readonly textLine: string;
|
|
1028
|
+
readonly circleRoot: string;
|
|
1198
1029
|
readonly css: string;
|
|
1199
1030
|
};
|
|
1200
1031
|
/** Table css() styles. */
|
|
@@ -1239,6 +1070,8 @@ interface ThemeStyles {
|
|
|
1239
1070
|
drawer: ReturnType<typeof createDrawerStyles>;
|
|
1240
1071
|
/** HoverCard css() styles. */
|
|
1241
1072
|
hoverCard: ReturnType<typeof createHoverCardStyles>;
|
|
1073
|
+
/** List css() styles. */
|
|
1074
|
+
list: ReturnType<typeof createListStyles>;
|
|
1242
1075
|
/** Menubar css() styles. */
|
|
1243
1076
|
menubar: ReturnType<typeof createMenubarStyles>;
|
|
1244
1077
|
/** NavigationMenu css() styles. */
|
|
@@ -1256,9 +1089,7 @@ interface ThemeStyles {
|
|
|
1256
1089
|
}
|
|
1257
1090
|
/** Themed primitive factories returned by configureTheme(). */
|
|
1258
1091
|
interface ThemedPrimitives {
|
|
1259
|
-
/** Themed
|
|
1260
|
-
AlertDialog: ThemedAlertDialogComponent;
|
|
1261
|
-
/** Themed Dialog — composable JSX component with Dialog.Trigger, Dialog.Content, Dialog.Title, Dialog.Description, Dialog.Footer. */
|
|
1092
|
+
/** Themed Dialog — stack-aware sub-components: Dialog.Header, Dialog.Title, Dialog.Description, Dialog.Footer, Dialog.Body, Dialog.Close, Dialog.Cancel. */
|
|
1262
1093
|
Dialog: ThemedDialogComponent;
|
|
1263
1094
|
/** Themed DropdownMenu — composable JSX component with DropdownMenu.Trigger, DropdownMenu.Content, etc. */
|
|
1264
1095
|
DropdownMenu: ThemedDropdownMenuComponent;
|
|
@@ -1302,6 +1133,8 @@ interface ThemedPrimitives {
|
|
|
1302
1133
|
Drawer: ThemedDrawerComponent;
|
|
1303
1134
|
/** Themed HoverCard — hover-triggered interactive card. */
|
|
1304
1135
|
HoverCard: ThemedHoverCardComponent;
|
|
1136
|
+
/** Themed List — compound component with List.Item and List.DragHandle. */
|
|
1137
|
+
List: ThemedListComponent;
|
|
1305
1138
|
/** Themed Menubar — composable JSX component with Menubar.Menu, Menubar.Trigger, Menubar.Content, etc. */
|
|
1306
1139
|
Menubar: ThemedMenubarComponent;
|
|
1307
1140
|
/** Themed NavigationMenu — composable JSX component with NavigationMenu.List, NavigationMenu.Item, etc. */
|
|
@@ -1315,36 +1148,57 @@ interface ThemedPrimitives {
|
|
|
1315
1148
|
/** Themed ToggleGroup — composable JSX component with ToggleGroup.Item sub-components. */
|
|
1316
1149
|
ToggleGroup: ThemedToggleGroupComponent;
|
|
1317
1150
|
}
|
|
1151
|
+
/** Props for the themed Button component (extends composed primitive props with variant support). */
|
|
1152
|
+
interface ThemedButtonProps extends Omit<ComposedButtonProps, "classes"> {
|
|
1153
|
+
intent?: string;
|
|
1154
|
+
size?: string;
|
|
1155
|
+
}
|
|
1156
|
+
/** Props for the themed Badge component (extends composed primitive props with color variant). */
|
|
1157
|
+
interface ThemedBadgeProps extends Omit<ComposedBadgeProps, "classes"> {
|
|
1158
|
+
color?: string;
|
|
1159
|
+
}
|
|
1160
|
+
/** Props for the themed Alert component (extends composed primitive props with variant support). */
|
|
1161
|
+
interface ThemedAlertProps extends Omit<ComposedAlertProps, "classes"> {
|
|
1162
|
+
variant?: "default" | "destructive";
|
|
1163
|
+
}
|
|
1318
1164
|
/** Component functions returned by configureTheme(). */
|
|
1319
1165
|
interface ThemeComponents {
|
|
1320
|
-
/** Alert
|
|
1321
|
-
Alert:
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1166
|
+
/** Alert component with variant support and sub-components (Alert.Title, Alert.Description). */
|
|
1167
|
+
Alert: ((props: ThemedAlertProps) => HTMLElement) & {
|
|
1168
|
+
Title: typeof ComposedAlert.Title;
|
|
1169
|
+
Description: typeof ComposedAlert.Description;
|
|
1170
|
+
};
|
|
1171
|
+
/** Button component with intent/size variants. */
|
|
1172
|
+
Button: (props: ThemedButtonProps) => HTMLElement;
|
|
1173
|
+
/** Badge component with color variants. */
|
|
1174
|
+
Badge: (props: ThemedBadgeProps) => HTMLElement;
|
|
1175
|
+
/** Breadcrumb suite with Item sub-component for router-integrated navigation. */
|
|
1176
|
+
Breadcrumb: StyledPrimitive<typeof ComposedBreadcrumb>;
|
|
1177
|
+
/** Card suite with sub-components (Card.Header, Card.Title, etc.). */
|
|
1178
|
+
Card: StyledPrimitive<typeof ComposedCard>;
|
|
1179
|
+
/** Input component with theme styles. */
|
|
1180
|
+
Input: (props: Omit<ComposedInputProps, "classes">) => HTMLElement;
|
|
1181
|
+
/** Textarea component with theme styles. */
|
|
1182
|
+
Textarea: (props: Omit<ComposedTextareaProps, "classes">) => HTMLElement;
|
|
1183
|
+
/** Label component with theme styles. */
|
|
1184
|
+
Label: (props: Omit<ComposedLabelProps, "classes">) => HTMLElement;
|
|
1336
1185
|
/** Pagination component — page navigation controls. */
|
|
1337
|
-
Pagination:
|
|
1338
|
-
/** Separator component
|
|
1339
|
-
Separator: (props:
|
|
1340
|
-
/** FormGroup
|
|
1341
|
-
FormGroup:
|
|
1342
|
-
/** Avatar
|
|
1343
|
-
Avatar:
|
|
1186
|
+
Pagination: (props: Omit<ComposedPaginationProps, "classes">) => HTMLElement;
|
|
1187
|
+
/** Separator component with theme styles. */
|
|
1188
|
+
Separator: (props: Omit<ComposedSeparatorProps, "classes">) => HTMLElement;
|
|
1189
|
+
/** FormGroup with sub-components (FormGroup.FormError). */
|
|
1190
|
+
FormGroup: StyledPrimitive<typeof ComposedFormGroup>;
|
|
1191
|
+
/** Avatar with sub-components (Avatar.Image, Avatar.Fallback). */
|
|
1192
|
+
Avatar: StyledPrimitive<typeof ComposedAvatar>;
|
|
1193
|
+
/** EmptyState component — placeholder for empty content areas with Icon, Title, Description, Action. */
|
|
1194
|
+
EmptyState: StyledPrimitive<typeof ComposedEmptyState>;
|
|
1344
1195
|
/** Skeleton component — loading placeholder with pulse animation. */
|
|
1345
|
-
Skeleton:
|
|
1346
|
-
|
|
1347
|
-
|
|
1196
|
+
Skeleton: ((props: Omit<ComposedSkeletonProps, "classes">) => HTMLElement) & {
|
|
1197
|
+
Text: (props: Omit<ComposedSkeletonTextProps, "classes">) => HTMLElement;
|
|
1198
|
+
Circle: (props: Omit<ComposedSkeletonCircleProps, "classes">) => HTMLElement;
|
|
1199
|
+
};
|
|
1200
|
+
/** Table suite with sub-components (Table.Header, Table.Body, Table.Row, etc.). */
|
|
1201
|
+
Table: StyledPrimitive<typeof ComposedTable>;
|
|
1348
1202
|
/** Themed primitive factories. */
|
|
1349
1203
|
primitives: ThemedPrimitives;
|
|
1350
1204
|
}
|
|
@@ -1364,23 +1218,27 @@ interface ResolvedTheme extends ResolvedThemeBase {
|
|
|
1364
1218
|
* component styles, use `configureThemeBase()` from `@vertz/theme-shadcn/base`.
|
|
1365
1219
|
*/
|
|
1366
1220
|
declare function configureTheme(config?: ThemeConfig): ResolvedTheme;
|
|
1221
|
+
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
1222
|
declare module "@vertz/ui/components" {
|
|
1368
1223
|
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
|
-
|
|
1224
|
+
Button: (props: ThemedButtonProps) => HTMLElement;
|
|
1225
|
+
Badge: (props: ThemedBadgeProps) => HTMLElement;
|
|
1226
|
+
Input: (props: Omit<ComposedInputProps2, "classes">) => HTMLElement;
|
|
1227
|
+
Textarea: (props: Omit<ComposedTextareaProps2, "classes">) => HTMLElement;
|
|
1228
|
+
Label: (props: Omit<ComposedLabelProps2, "classes">) => HTMLElement;
|
|
1229
|
+
Separator: (props: Omit<ComposedSeparatorProps2, "classes">) => HTMLElement;
|
|
1230
|
+
Breadcrumb: StyledPrimitive2<typeof ComposedBreadcrumb2>;
|
|
1231
|
+
Pagination: (props: Omit<ComposedPaginationProps2, "classes">) => HTMLElement;
|
|
1232
|
+
Alert: ThemeComponents["Alert"];
|
|
1233
|
+
Card: StyledPrimitive2<typeof ComposedCard2>;
|
|
1234
|
+
FormGroup: StyledPrimitive2<typeof ComposedFormGroup2>;
|
|
1235
|
+
Avatar: StyledPrimitive2<typeof ComposedAvatar2>;
|
|
1236
|
+
EmptyState: StyledPrimitive2<typeof ComposedEmptyState2>;
|
|
1237
|
+
Skeleton: ((props: Omit<ComposedSkeletonProps2, "classes">) => HTMLElement) & {
|
|
1238
|
+
Text: (props: Omit<ComposedSkeletonTextProps2, "classes">) => HTMLElement;
|
|
1239
|
+
Circle: (props: Omit<ComposedSkeletonCircleProps2, "classes">) => HTMLElement;
|
|
1240
|
+
};
|
|
1241
|
+
Table: StyledPrimitive2<typeof ComposedTable2>;
|
|
1384
1242
|
Dialog: ThemedDialogComponent;
|
|
1385
1243
|
DropdownMenu: ThemedDropdownMenuComponent;
|
|
1386
1244
|
Select: ThemedSelectComponent;
|
|
@@ -1400,6 +1258,7 @@ declare module "@vertz/ui/components" {
|
|
|
1400
1258
|
Slider: ThemedSliderComponent;
|
|
1401
1259
|
Toggle: ThemedToggleComponent;
|
|
1402
1260
|
Toast: ThemedPrimitives["Toast"];
|
|
1261
|
+
List: ThemedListComponent;
|
|
1403
1262
|
Carousel: ThemedCarouselComponent;
|
|
1404
1263
|
Command: ThemedCommandComponent;
|
|
1405
1264
|
Collapsible: ThemedCollapsibleComponent;
|
|
@@ -1411,4 +1270,4 @@ declare module "@vertz/ui/components" {
|
|
|
1411
1270
|
ToggleGroup: ThemedToggleGroupComponent;
|
|
1412
1271
|
}
|
|
1413
1272
|
}
|
|
1414
|
-
export { configureTheme, ThemedPrimitives, ThemeStyles, ThemeStyle, ThemeConfig, ThemeComponents, ResolvedThemeBase, ResolvedTheme };
|
|
1273
|
+
export { palettes, configureTheme, ThemedPrimitives, ThemeStyles, ThemeStyle, ThemeConfig, ThemeComponents, ResolvedThemeBase, ResolvedTheme, RADIUS_VALUES, PaletteName };
|