@vertz/ui-primitives 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.
Files changed (188) hide show
  1. package/dist/shared/{chunk-pzx0vpq1.js → chunk-00fqgnq1.js} +6 -11
  2. package/dist/shared/chunk-1hm0mbke.js +258 -0
  3. package/dist/shared/{chunk-ww7k2azn.js → chunk-20kwns82.js} +5 -9
  4. package/dist/shared/chunk-3jack97k.js +509 -0
  5. package/dist/shared/{chunk-xs6gp369.js → chunk-455p0jbk.js} +3 -7
  6. package/dist/shared/chunk-4gyg71bn.js +178 -0
  7. package/dist/shared/chunk-4z006v1j.js +467 -0
  8. package/dist/shared/{chunk-b25npqer.js → chunk-585ysr70.js} +1 -1
  9. package/dist/shared/chunk-75pegjs7.js +26 -0
  10. package/dist/shared/{chunk-mr1tb0dp.js → chunk-7a2nqmeh.js} +1 -1
  11. package/dist/shared/chunk-7wem1bhb.js +252 -0
  12. package/dist/shared/{chunk-7cb3z0s8.js → chunk-8evj43jn.js} +5 -8
  13. package/dist/shared/chunk-8t0nm721.js +152 -0
  14. package/dist/shared/chunk-94twh4s4.js +28 -0
  15. package/dist/shared/chunk-98y1sw9y.js +398 -0
  16. package/dist/shared/chunk-9eedsnnk.js +164 -0
  17. package/dist/shared/{chunk-8c01c8mb.js → chunk-9hv3vc72.js} +0 -2
  18. package/dist/shared/chunk-aa3w85hn.js +321 -0
  19. package/dist/shared/chunk-axpbdpgx.js +177 -0
  20. package/dist/shared/chunk-b4zzg457.js +410 -0
  21. package/dist/shared/chunk-brk0drrk.js +202 -0
  22. package/dist/shared/chunk-czv0kqj4.js +107 -0
  23. package/dist/shared/chunk-d83ag07h.js +189 -0
  24. package/dist/shared/{chunk-3kwh27dv.js → chunk-de18ashk.js} +0 -1
  25. package/dist/shared/{chunk-cgb2j94g.js → chunk-dvk4h36t.js} +0 -1
  26. package/dist/shared/chunk-e6660g7e.js +179 -0
  27. package/dist/shared/{chunk-3h1mxp95.js → chunk-eq4d9b0w.js} +0 -1
  28. package/dist/shared/chunk-ev367pq3.js +102 -0
  29. package/dist/shared/{chunk-4894pmy6.js → chunk-f0wy7k56.js} +0 -1
  30. package/dist/shared/chunk-fjykbv0v.js +214 -0
  31. package/dist/shared/chunk-ghkw5bjq.js +55 -0
  32. package/dist/shared/chunk-gqb1n1hj.js +60 -0
  33. package/dist/shared/chunk-hfjtkytb.js +310 -0
  34. package/dist/shared/chunk-hpvjfj0j.js +31 -0
  35. package/dist/shared/chunk-hxmxvp56.js +67 -0
  36. package/dist/shared/chunk-j9m2f0rd.js +162 -0
  37. package/dist/shared/chunk-jpyjk616.js +52 -0
  38. package/dist/shared/{chunk-ttb2tt03.js → chunk-jsa3byag.js} +1 -1
  39. package/dist/shared/{chunk-9gfp3ffv.js → chunk-jzy1bkdk.js} +0 -1
  40. package/dist/shared/{chunk-f2vx4tpw.js → chunk-knzg86am.js} +5 -5
  41. package/dist/shared/chunk-kskxxc2q.js +228 -0
  42. package/dist/shared/chunk-metxdt5x.js +28 -0
  43. package/dist/shared/chunk-mhn2aazf.js +353 -0
  44. package/dist/shared/chunk-mtx2cfbx.js +175 -0
  45. package/dist/shared/chunk-nsmvdxgp.js +213 -0
  46. package/dist/shared/{chunk-pn6shbcs.js → chunk-pdzmg245.js} +1 -5
  47. package/dist/shared/chunk-pzknpa1y.js +327 -0
  48. package/dist/shared/chunk-q1ff3xp3.js +95 -0
  49. package/dist/shared/chunk-q7xbcj9q.js +7 -0
  50. package/dist/shared/{chunk-p0x7hgv6.js → chunk-qhnany7w.js} +0 -2
  51. package/dist/shared/chunk-qrm43tr3.js +357 -0
  52. package/dist/shared/{chunk-xa1b96mb.js → chunk-qsp7sfhp.js} +2 -2
  53. package/dist/shared/{chunk-j902w020.js → chunk-qwqnjjg8.js} +1 -1
  54. package/dist/shared/{chunk-h3v10x04.js → chunk-r0rz7z03.js} +6 -11
  55. package/dist/shared/chunk-r3ngaa64.js +418 -0
  56. package/dist/shared/chunk-r3pffzss.js +13 -0
  57. package/dist/shared/chunk-rrt62bp0.js +353 -0
  58. package/dist/shared/chunk-s24gkmna.js +131 -0
  59. package/dist/shared/chunk-s62e7jf4.js +30 -0
  60. package/dist/shared/chunk-spng4yb9.js +73 -0
  61. package/dist/shared/chunk-v0b5pkcq.js +30 -0
  62. package/dist/shared/chunk-v11kd39k.js +162 -0
  63. package/dist/shared/{chunk-0mcr52hc.js → chunk-vef3sepw.js} +17 -1
  64. package/dist/shared/chunk-vkscwzpr.js +294 -0
  65. package/dist/shared/chunk-vv187snj.js +112 -0
  66. package/dist/shared/chunk-wqsek87j.js +311 -0
  67. package/dist/shared/chunk-wtkxz2te.js +157 -0
  68. package/dist/shared/chunk-y1hpsqzy.js +185 -0
  69. package/dist/shared/chunk-yfzddvxc.js +71 -0
  70. package/dist/src/accordion/accordion-composed.d.ts +30 -0
  71. package/dist/src/accordion/accordion-composed.js +6 -0
  72. package/dist/src/accordion/accordion.js +1 -1
  73. package/dist/src/alert/alert-composed.d.ts +26 -0
  74. package/dist/src/alert/alert-composed.js +6 -0
  75. package/dist/src/alert-dialog/alert-dialog-composed.d.ts +40 -0
  76. package/dist/src/alert-dialog/alert-dialog-composed.js +6 -0
  77. package/dist/src/avatar/avatar-composed.d.ts +33 -0
  78. package/dist/src/avatar/avatar-composed.js +6 -0
  79. package/dist/src/badge/badge-composed.d.ts +33 -0
  80. package/dist/src/badge/badge-composed.js +6 -0
  81. package/dist/src/breadcrumb/breadcrumb-composed.d.ts +34 -0
  82. package/dist/src/breadcrumb/breadcrumb-composed.js +6 -0
  83. package/dist/src/button/button-composed.d.ts +34 -0
  84. package/dist/src/button/button-composed.js +6 -0
  85. package/dist/src/calendar/calendar-composed.d.ts +42 -0
  86. package/dist/src/calendar/calendar-composed.js +6 -0
  87. package/dist/src/calendar/calendar.js +1 -1
  88. package/dist/src/card/card-composed.d.ts +34 -0
  89. package/dist/src/card/card-composed.js +6 -0
  90. package/dist/src/carousel/carousel-composed.d.ts +32 -0
  91. package/dist/src/carousel/carousel-composed.js +6 -0
  92. package/dist/src/carousel/carousel.js +1 -1
  93. package/dist/src/checkbox/checkbox-composed.d.ts +18 -0
  94. package/dist/src/checkbox/checkbox-composed.js +6 -0
  95. package/dist/src/collapsible/collapsible-composed.d.ts +26 -0
  96. package/dist/src/collapsible/collapsible-composed.js +6 -0
  97. package/dist/src/combobox/combobox-composed.d.ts +30 -0
  98. package/dist/src/combobox/combobox-composed.js +6 -0
  99. package/dist/src/combobox/combobox.js +1 -1
  100. package/dist/src/command/command-composed.d.ts +67 -0
  101. package/dist/src/command/command-composed.js +6 -0
  102. package/dist/src/command/command.js +1 -1
  103. package/dist/src/composed/with-styles.d.ts +38 -0
  104. package/dist/src/composed/with-styles.js +6 -0
  105. package/dist/src/context-menu/context-menu-composed.d.ts +51 -0
  106. package/dist/src/context-menu/context-menu-composed.js +6 -0
  107. package/dist/src/context-menu/context-menu.js +1 -1
  108. package/dist/src/date-picker/date-picker-composed.d.ts +77 -0
  109. package/dist/src/date-picker/date-picker-composed.js +6 -0
  110. package/dist/src/date-picker/date-picker.js +1 -1
  111. package/dist/src/dialog/dialog-composed.d.ts +36 -0
  112. package/dist/src/dialog/dialog-composed.js +6 -0
  113. package/dist/src/dialog/dialog-stack-parts.d.ts +16 -0
  114. package/dist/src/dialog/dialog-stack-parts.js +18 -0
  115. package/dist/src/dropdown-menu/dropdown-menu-composed.d.ts +51 -0
  116. package/dist/src/dropdown-menu/dropdown-menu-composed.js +6 -0
  117. package/dist/src/dropdown-menu/dropdown-menu.js +1 -1
  118. package/dist/src/empty-state/empty-state-composed.d.ts +30 -0
  119. package/dist/src/empty-state/empty-state-composed.js +6 -0
  120. package/dist/src/form-group/form-group-composed.d.ts +24 -0
  121. package/dist/src/form-group/form-group-composed.js +6 -0
  122. package/dist/src/hover-card/hover-card-composed.d.ts +38 -0
  123. package/dist/src/hover-card/hover-card-composed.js +6 -0
  124. package/dist/src/hover-card/hover-card.js +1 -1
  125. package/dist/src/index.d.ts +1284 -817
  126. package/dist/src/index.js +78 -6566
  127. package/dist/src/input/input-composed.d.ts +35 -0
  128. package/dist/src/input/input-composed.js +6 -0
  129. package/dist/src/label/label-composed.d.ts +32 -0
  130. package/dist/src/label/label-composed.js +6 -0
  131. package/dist/src/menu/menu-composed.d.ts +51 -0
  132. package/dist/src/menu/menu-composed.js +6 -0
  133. package/dist/src/menu/menu.js +1 -1
  134. package/dist/src/menubar/menubar-composed.d.ts +56 -0
  135. package/dist/src/menubar/menubar-composed.js +6 -0
  136. package/dist/src/menubar/menubar.js +1 -1
  137. package/dist/src/navigation-menu/navigation-menu-composed.d.ts +56 -0
  138. package/dist/src/navigation-menu/navigation-menu-composed.js +6 -0
  139. package/dist/src/navigation-menu/navigation-menu.js +1 -1
  140. package/dist/src/pagination/pagination-composed.d.ts +30 -0
  141. package/dist/src/pagination/pagination-composed.js +6 -0
  142. package/dist/src/popover/popover-composed.d.ts +36 -0
  143. package/dist/src/popover/popover-composed.js +6 -0
  144. package/dist/src/popover/popover.js +1 -1
  145. package/dist/src/progress/progress-composed.d.ts +17 -0
  146. package/dist/src/progress/progress-composed.js +6 -0
  147. package/dist/src/radio/radio-composed.d.ts +24 -0
  148. package/dist/src/radio/radio-composed.js +6 -0
  149. package/dist/src/radio/radio.js +1 -1
  150. package/dist/src/resizable-panel/resizable-panel-composed.d.ts +33 -0
  151. package/dist/src/resizable-panel/resizable-panel-composed.js +6 -0
  152. package/dist/src/resizable-panel/resizable-panel.js +1 -1
  153. package/dist/src/scroll-area/scroll-area-composed.d.ts +17 -0
  154. package/dist/src/scroll-area/scroll-area-composed.js +6 -0
  155. package/dist/src/scroll-area/scroll-area.js +1 -1
  156. package/dist/src/select/select-composed.d.ts +53 -0
  157. package/dist/src/select/select-composed.js +6 -0
  158. package/dist/src/select/select.js +1 -1
  159. package/dist/src/separator/separator-composed.d.ts +32 -0
  160. package/dist/src/separator/separator-composed.js +6 -0
  161. package/dist/src/sheet/sheet-composed.d.ts +34 -0
  162. package/dist/src/sheet/sheet-composed.js +6 -0
  163. package/dist/src/skeleton/skeleton-composed.d.ts +65 -0
  164. package/dist/src/skeleton/skeleton-composed.js +6 -0
  165. package/dist/src/slider/slider-composed.d.ts +22 -0
  166. package/dist/src/slider/slider-composed.js +6 -0
  167. package/dist/src/switch/switch-composed.d.ts +17 -0
  168. package/dist/src/switch/switch-composed.js +6 -0
  169. package/dist/src/table/table-composed.d.ts +34 -0
  170. package/dist/src/table/table-composed.js +6 -0
  171. package/dist/src/tabs/tabs-composed.d.ts +33 -0
  172. package/dist/src/tabs/tabs-composed.js +6 -0
  173. package/dist/src/tabs/tabs.js +1 -1
  174. package/dist/src/textarea/textarea-composed.d.ts +35 -0
  175. package/dist/src/textarea/textarea-composed.js +6 -0
  176. package/dist/src/toast/toast.js +1 -1
  177. package/dist/src/toggle/toggle-composed.d.ts +16 -0
  178. package/dist/src/toggle/toggle-composed.js +6 -0
  179. package/dist/src/toggle-group/toggle-group-composed.d.ts +24 -0
  180. package/dist/src/toggle-group/toggle-group-composed.js +6 -0
  181. package/dist/src/toggle-group/toggle-group.js +1 -1
  182. package/dist/src/tooltip/tooltip-composed.d.ts +36 -0
  183. package/dist/src/tooltip/tooltip-composed.js +6 -0
  184. package/dist/src/tooltip/tooltip.js +1 -1
  185. package/dist/src/utils.js +1 -1
  186. package/package.json +3 -3
  187. package/dist/shared/chunk-56reyd5r.js +0 -64
  188. package/dist/shared/chunk-mgr904ap.js +0 -370
@@ -0,0 +1,67 @@
1
+ import { ChildValue } from "@vertz/ui";
2
+ interface CommandClasses {
3
+ root?: string;
4
+ input?: string;
5
+ list?: string;
6
+ item?: string;
7
+ group?: string;
8
+ groupHeading?: string;
9
+ separator?: string;
10
+ empty?: string;
11
+ }
12
+ interface CommandInputProps {
13
+ className?: string;
14
+ /** @deprecated Use `className` instead. */
15
+ class?: string;
16
+ }
17
+ interface CommandListProps {
18
+ children?: ChildValue;
19
+ className?: string;
20
+ /** @deprecated Use `className` instead. */
21
+ class?: string;
22
+ }
23
+ interface CommandEmptyProps {
24
+ children?: ChildValue;
25
+ className?: string;
26
+ /** @deprecated Use `className` instead. */
27
+ class?: string;
28
+ }
29
+ interface CommandItemProps {
30
+ value: string;
31
+ children?: ChildValue;
32
+ keywords?: string[];
33
+ className?: string;
34
+ /** @deprecated Use `className` instead. */
35
+ class?: string;
36
+ }
37
+ interface CommandGroupProps {
38
+ label: string;
39
+ children?: ChildValue;
40
+ className?: string;
41
+ /** @deprecated Use `className` instead. */
42
+ class?: string;
43
+ }
44
+ interface CommandSeparatorProps {
45
+ className?: string;
46
+ /** @deprecated Use `className` instead. */
47
+ class?: string;
48
+ }
49
+ interface ComposedCommandProps {
50
+ children?: ChildValue;
51
+ classes?: CommandClasses;
52
+ filter?: (value: string, search: string) => boolean;
53
+ onSelect?: (value: string) => void;
54
+ onInputChange?: (value: string) => void;
55
+ placeholder?: string;
56
+ }
57
+ type CommandClassKey = keyof CommandClasses;
58
+ declare const ComposedCommand: ((props: ComposedCommandProps) => HTMLElement) & {
59
+ __classKeys?: CommandClassKey;
60
+ Input: (props: CommandInputProps) => HTMLElement;
61
+ List: (props: CommandListProps) => HTMLElement;
62
+ Empty: (props: CommandEmptyProps) => HTMLElement;
63
+ Item: (props: CommandItemProps) => HTMLElement;
64
+ Group: (props: CommandGroupProps) => HTMLElement;
65
+ Separator: (props: CommandSeparatorProps) => HTMLElement;
66
+ };
67
+ export { ComposedCommandProps, ComposedCommand, CommandClasses, CommandClassKey };
@@ -0,0 +1,6 @@
1
+ import {
2
+ ComposedCommand
3
+ } from "../../shared/chunk-qrm43tr3.js";
4
+ export {
5
+ ComposedCommand
6
+ };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Command
3
- } from "../../shared/chunk-xs6gp369.js";
3
+ } from "../../shared/chunk-455p0jbk.js";
4
4
  export {
5
5
  Command
6
6
  };
@@ -0,0 +1,38 @@
1
+ import { ChildValue } from "@vertz/ui";
2
+ /**
3
+ * A composed primitive is a callable function with phantom brands
4
+ * that define the valid class keys and element return type for that component.
5
+ */
6
+ interface ComposedPrimitive<
7
+ K extends string = string,
8
+ E extends Element = HTMLElement
9
+ > {
10
+ (props: {
11
+ children?: ChildValue;
12
+ classes?: Partial<Record<K, string>>;
13
+ [key: string]: unknown;
14
+ }): E;
15
+ __classKeys?: K;
16
+ __elementType?: E;
17
+ }
18
+ /**
19
+ * Extract the class keys from a composed primitive's phantom brand.
20
+ */
21
+ type ClassesOf<C> = C extends ComposedPrimitive<infer K> ? Record<K, string> : never;
22
+ /**
23
+ * Extract the element return type from a composed primitive's phantom brand.
24
+ */
25
+ type ElementOf<C> = C extends ComposedPrimitive<string, infer E> ? E : HTMLElement;
26
+ /**
27
+ * Return type of withStyles: a callable that accepts all props except `classes`,
28
+ * plus all sub-component properties from the original component.
29
+ * Preserves the element return type from the underlying composed primitive.
30
+ */
31
+ type StyledPrimitive<C extends ComposedPrimitive> = ((props: Omit<Parameters<C>[0], "classes">) => ElementOf<C>) & Omit<C, "__classKeys" | "__elementType" | keyof CallableFunction>;
32
+ /**
33
+ * Pre-bind CSS classes onto a composed primitive.
34
+ * Returns a new function that accepts all props except `classes`,
35
+ * with all sub-component properties preserved.
36
+ */
37
+ declare function withStyles<C extends ComposedPrimitive>(component: C, classes: ClassesOf<C>): StyledPrimitive<C>;
38
+ export { withStyles, StyledPrimitive, ElementOf, ComposedPrimitive, ClassesOf };
@@ -0,0 +1,6 @@
1
+ import {
2
+ withStyles
3
+ } from "../../shared/chunk-r3pffzss.js";
4
+ export {
5
+ withStyles
6
+ };
@@ -0,0 +1,51 @@
1
+ import { ChildValue } from "@vertz/ui";
2
+ import { Middleware, Placement, Strategy } from "@floating-ui/dom";
3
+ interface FloatingOptions {
4
+ placement?: Placement;
5
+ strategy?: Strategy;
6
+ offset?: number;
7
+ flip?: boolean;
8
+ shift?: boolean;
9
+ middleware?: Middleware[];
10
+ matchReferenceWidth?: boolean;
11
+ portal?: boolean;
12
+ /** Override the reference element used for positioning (e.g., a custom trigger wrapping the primitive trigger). */
13
+ referenceElement?: HTMLElement;
14
+ }
15
+ interface ContextMenuClasses {
16
+ content?: string;
17
+ item?: string;
18
+ group?: string;
19
+ label?: string;
20
+ separator?: string;
21
+ }
22
+ interface SlotProps {
23
+ children?: ChildValue;
24
+ className?: string;
25
+ /** @deprecated Use `className` instead. */
26
+ class?: string;
27
+ }
28
+ interface ItemProps extends SlotProps {
29
+ value: string;
30
+ }
31
+ interface GroupProps extends SlotProps {
32
+ label: string;
33
+ }
34
+ interface ComposedContextMenuProps {
35
+ children?: ChildValue;
36
+ classes?: ContextMenuClasses;
37
+ onSelect?: (value: string) => void;
38
+ onOpenChange?: (open: boolean) => void;
39
+ positioning?: FloatingOptions;
40
+ }
41
+ type ContextMenuClassKey = keyof ContextMenuClasses;
42
+ declare const ComposedContextMenu: ((props: ComposedContextMenuProps) => HTMLElement) & {
43
+ __classKeys?: ContextMenuClassKey;
44
+ Trigger: (props: SlotProps) => HTMLElement;
45
+ Content: (props: SlotProps) => HTMLElement;
46
+ Item: (props: ItemProps) => HTMLElement;
47
+ Group: (props: GroupProps) => HTMLElement;
48
+ Label: (props: SlotProps) => HTMLElement;
49
+ Separator: (props: SlotProps) => HTMLElement;
50
+ };
51
+ export { ContextMenuClasses, ContextMenuClassKey, ComposedContextMenuProps, ComposedContextMenu };
@@ -0,0 +1,6 @@
1
+ import {
2
+ ComposedContextMenu
3
+ } from "../../shared/chunk-aa3w85hn.js";
4
+ export {
5
+ ComposedContextMenu
6
+ };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ContextMenu
3
- } from "../../shared/chunk-pzx0vpq1.js";
3
+ } from "../../shared/chunk-00fqgnq1.js";
4
4
  export {
5
5
  ContextMenu
6
6
  };
@@ -0,0 +1,77 @@
1
+ interface CalendarClasses {
2
+ root?: string;
3
+ header?: string;
4
+ title?: string;
5
+ navButton?: string;
6
+ grid?: string;
7
+ headCell?: string;
8
+ cell?: string;
9
+ dayButton?: string;
10
+ monthSelect?: string;
11
+ yearSelect?: string;
12
+ }
13
+ interface ComposedCalendarProps {
14
+ classes?: CalendarClasses;
15
+ mode?: "single" | "range" | "multiple";
16
+ defaultValue?: Date | Date[] | {
17
+ from: Date;
18
+ to: Date;
19
+ };
20
+ defaultMonth?: Date;
21
+ minDate?: Date;
22
+ maxDate?: Date;
23
+ disabled?: (date: Date) => boolean;
24
+ weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
25
+ onValueChange?: (value: Date | Date[] | {
26
+ from: Date;
27
+ to: Date;
28
+ } | null) => void;
29
+ onMonthChange?: (month: Date) => void;
30
+ /**
31
+ * Controls how the calendar header navigation is rendered.
32
+ * - 'buttons' (default): prev/next arrow buttons only
33
+ * - 'dropdown': month + year <select> elements, no arrow buttons
34
+ * - 'dropdown-buttons': month + year <select> elements AND arrow buttons
35
+ */
36
+ captionLayout?: "buttons" | "dropdown" | "dropdown-buttons";
37
+ }
38
+ import { ChildValue } from "@vertz/ui";
39
+ interface DatePickerClasses {
40
+ trigger?: string;
41
+ content?: string;
42
+ calendar?: CalendarClasses;
43
+ }
44
+ type DatePickerClassKey = keyof DatePickerClasses;
45
+ interface SlotProps {
46
+ children?: ChildValue;
47
+ className?: string;
48
+ /** @deprecated Use `className` instead. */
49
+ class?: string;
50
+ }
51
+ interface ComposedDatePickerProps {
52
+ children?: ChildValue;
53
+ classes?: DatePickerClasses;
54
+ mode?: "single" | "range";
55
+ defaultValue?: Date | {
56
+ from: Date;
57
+ to: Date;
58
+ };
59
+ defaultMonth?: Date;
60
+ minDate?: Date;
61
+ maxDate?: Date;
62
+ disabled?: (date: Date) => boolean;
63
+ formatDate?: (date: Date) => string;
64
+ placeholder?: string;
65
+ onValueChange?: (value: Date | {
66
+ from: Date;
67
+ to: Date;
68
+ } | null) => void;
69
+ onOpenChange?: (open: boolean) => void;
70
+ captionLayout?: ComposedCalendarProps["captionLayout"];
71
+ }
72
+ declare const ComposedDatePicker: ((props: ComposedDatePickerProps) => HTMLElement) & {
73
+ __classKeys?: DatePickerClassKey;
74
+ Trigger: (props: SlotProps) => HTMLElement;
75
+ Content: (props: SlotProps) => HTMLElement;
76
+ };
77
+ export { DatePickerClasses, DatePickerClassKey, ComposedDatePickerProps, ComposedDatePicker };
@@ -0,0 +1,6 @@
1
+ import {
2
+ ComposedDatePicker
3
+ } from "../../shared/chunk-7wem1bhb.js";
4
+ export {
5
+ ComposedDatePicker
6
+ };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  DatePicker
3
- } from "../../shared/chunk-xa1b96mb.js";
3
+ } from "../../shared/chunk-qsp7sfhp.js";
4
4
  export {
5
5
  DatePicker
6
6
  };
@@ -0,0 +1,36 @@
1
+ import { ChildValue } from "@vertz/ui";
2
+ interface DialogClasses {
3
+ overlay?: string;
4
+ content?: string;
5
+ close?: string;
6
+ header?: string;
7
+ title?: string;
8
+ description?: string;
9
+ footer?: string;
10
+ }
11
+ interface SlotProps {
12
+ children?: ChildValue;
13
+ className?: string;
14
+ /** @deprecated Use `className` instead. */
15
+ class?: string;
16
+ }
17
+ interface DialogContentProps extends SlotProps {
18
+ showClose?: boolean;
19
+ }
20
+ interface ComposedDialogProps {
21
+ children?: ChildValue;
22
+ classes?: DialogClasses;
23
+ onOpenChange?: (open: boolean) => void;
24
+ }
25
+ type DialogClassKey = keyof DialogClasses;
26
+ declare const ComposedDialog: ((props: ComposedDialogProps) => HTMLElement) & {
27
+ __classKeys?: DialogClassKey;
28
+ Trigger: (props: SlotProps) => HTMLElement;
29
+ Content: (props: DialogContentProps) => HTMLElement;
30
+ Title: (props: SlotProps) => HTMLElement;
31
+ Description: (props: SlotProps) => HTMLElement;
32
+ Header: (props: SlotProps) => HTMLElement;
33
+ Footer: (props: SlotProps) => HTMLElement;
34
+ Close: (props: SlotProps) => HTMLElement;
35
+ };
36
+ export { DialogClasses, DialogClassKey, ComposedDialogProps, ComposedDialog };
@@ -0,0 +1,6 @@
1
+ import {
2
+ ComposedDialog
3
+ } from "../../shared/chunk-pzknpa1y.js";
4
+ export {
5
+ ComposedDialog
6
+ };
@@ -0,0 +1,16 @@
1
+ import { ChildValue } from "@vertz/ui";
2
+ import { JSX } from "@vertz/ui/jsx-runtime";
3
+ interface SlotProps {
4
+ children?: ChildValue;
5
+ className?: string;
6
+ /** @deprecated Use `className` instead. */
7
+ class?: string;
8
+ }
9
+ declare function StackDialogTitle({ children, className: cls, class: classProp }: SlotProps): JSX.Element;
10
+ declare function StackDialogDescription({ children, className: cls, class: classProp }: SlotProps): JSX.Element;
11
+ declare function StackDialogHeader({ children, className: cls, class: classProp }: SlotProps): JSX.Element;
12
+ declare function StackDialogFooter({ children, className: cls, class: classProp }: SlotProps): JSX.Element;
13
+ declare function StackDialogBody({ children, className: cls, class: classProp }: SlotProps): JSX.Element;
14
+ declare function StackDialogCancel({ children, className: cls, class: classProp }: SlotProps): JSX.Element;
15
+ declare function StackDialogClose({ children, className: cls, class: classProp }: SlotProps): JSX.Element;
16
+ export { StackDialogTitle, StackDialogHeader, StackDialogFooter, StackDialogDescription, StackDialogClose, StackDialogCancel, StackDialogBody };
@@ -0,0 +1,18 @@
1
+ import {
2
+ StackDialogBody,
3
+ StackDialogCancel,
4
+ StackDialogClose,
5
+ StackDialogDescription,
6
+ StackDialogFooter,
7
+ StackDialogHeader,
8
+ StackDialogTitle
9
+ } from "../../shared/chunk-mtx2cfbx.js";
10
+ export {
11
+ StackDialogTitle,
12
+ StackDialogHeader,
13
+ StackDialogFooter,
14
+ StackDialogDescription,
15
+ StackDialogClose,
16
+ StackDialogCancel,
17
+ StackDialogBody
18
+ };
@@ -0,0 +1,51 @@
1
+ import { ChildValue } from "@vertz/ui";
2
+ import { Middleware, Placement, Strategy } from "@floating-ui/dom";
3
+ interface FloatingOptions {
4
+ placement?: Placement;
5
+ strategy?: Strategy;
6
+ offset?: number;
7
+ flip?: boolean;
8
+ shift?: boolean;
9
+ middleware?: Middleware[];
10
+ matchReferenceWidth?: boolean;
11
+ portal?: boolean;
12
+ /** Override the reference element used for positioning (e.g., a custom trigger wrapping the primitive trigger). */
13
+ referenceElement?: HTMLElement;
14
+ }
15
+ interface DropdownMenuClasses {
16
+ content?: string;
17
+ item?: string;
18
+ group?: string;
19
+ label?: string;
20
+ separator?: string;
21
+ }
22
+ interface SlotProps {
23
+ children?: ChildValue;
24
+ className?: string;
25
+ /** @deprecated Use `className` instead. */
26
+ class?: string;
27
+ }
28
+ interface ItemProps extends SlotProps {
29
+ value: string;
30
+ }
31
+ interface GroupProps extends SlotProps {
32
+ label: string;
33
+ }
34
+ interface ComposedDropdownMenuProps {
35
+ children?: ChildValue;
36
+ classes?: DropdownMenuClasses;
37
+ onSelect?: (value: string) => void;
38
+ onOpenChange?: (open: boolean) => void;
39
+ positioning?: FloatingOptions;
40
+ }
41
+ type DropdownMenuClassKey = keyof DropdownMenuClasses;
42
+ declare const ComposedDropdownMenu: ((props: ComposedDropdownMenuProps) => HTMLElement) & {
43
+ __classKeys?: DropdownMenuClassKey;
44
+ Trigger: (props: SlotProps) => HTMLElement;
45
+ Content: (props: SlotProps) => HTMLElement;
46
+ Item: (props: ItemProps) => HTMLElement;
47
+ Group: (props: GroupProps) => HTMLElement;
48
+ Label: (props: SlotProps) => HTMLElement;
49
+ Separator: (props: SlotProps) => HTMLElement;
50
+ };
51
+ export { DropdownMenuClasses, DropdownMenuClassKey, ComposedDropdownMenuProps, ComposedDropdownMenu };
@@ -0,0 +1,6 @@
1
+ import {
2
+ ComposedDropdownMenu
3
+ } from "../../shared/chunk-rrt62bp0.js";
4
+ export {
5
+ ComposedDropdownMenu
6
+ };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  DropdownMenu
3
- } from "../../shared/chunk-j902w020.js";
3
+ } from "../../shared/chunk-qwqnjjg8.js";
4
4
  export {
5
5
  DropdownMenu
6
6
  };
@@ -0,0 +1,30 @@
1
+ import { ChildValue } from "@vertz/ui";
2
+ interface EmptyStateClasses {
3
+ root?: string;
4
+ icon?: string;
5
+ title?: string;
6
+ description?: string;
7
+ action?: string;
8
+ }
9
+ type EmptyStateClassKey = keyof EmptyStateClasses;
10
+ interface SlotProps {
11
+ children?: ChildValue;
12
+ className?: string;
13
+ /** @deprecated Use `className` instead. */
14
+ class?: string;
15
+ }
16
+ interface ComposedEmptyStateProps {
17
+ children?: ChildValue;
18
+ classes?: EmptyStateClasses;
19
+ className?: string;
20
+ /** @deprecated Use `className` instead. */
21
+ class?: string;
22
+ }
23
+ declare const ComposedEmptyState: ((props: ComposedEmptyStateProps) => HTMLElement) & {
24
+ __classKeys?: EmptyStateClassKey;
25
+ Icon: (props: SlotProps) => HTMLElement;
26
+ Title: (props: SlotProps) => HTMLElement;
27
+ Description: (props: SlotProps) => HTMLElement;
28
+ Action: (props: SlotProps) => HTMLElement;
29
+ };
30
+ export { EmptyStateClasses, EmptyStateClassKey, ComposedEmptyStateProps, ComposedEmptyState };
@@ -0,0 +1,6 @@
1
+ import {
2
+ ComposedEmptyState
3
+ } from "../../shared/chunk-vv187snj.js";
4
+ export {
5
+ ComposedEmptyState
6
+ };
@@ -0,0 +1,24 @@
1
+ import { ChildValue } from "@vertz/ui";
2
+ interface FormGroupClasses {
3
+ base?: string;
4
+ error?: string;
5
+ }
6
+ type FormGroupClassKey = keyof FormGroupClasses;
7
+ interface SlotProps {
8
+ children?: ChildValue;
9
+ className?: string;
10
+ /** @deprecated Use `className` instead. */
11
+ class?: string;
12
+ }
13
+ interface ComposedFormGroupProps {
14
+ children?: ChildValue;
15
+ classes?: FormGroupClasses;
16
+ className?: string;
17
+ /** @deprecated Use `className` instead. */
18
+ class?: string;
19
+ }
20
+ declare const ComposedFormGroup: ((props: ComposedFormGroupProps) => HTMLElement) & {
21
+ __classKeys?: FormGroupClassKey;
22
+ FormError: (props: SlotProps) => HTMLElement;
23
+ };
24
+ export { FormGroupClasses, FormGroupClassKey, ComposedFormGroupProps, ComposedFormGroup };
@@ -0,0 +1,6 @@
1
+ import {
2
+ ComposedFormGroup
3
+ } from "../../shared/chunk-jpyjk616.js";
4
+ export {
5
+ ComposedFormGroup
6
+ };
@@ -0,0 +1,38 @@
1
+ import { ChildValue } from "@vertz/ui";
2
+ import { Middleware, Placement, Strategy } from "@floating-ui/dom";
3
+ interface FloatingOptions {
4
+ placement?: Placement;
5
+ strategy?: Strategy;
6
+ offset?: number;
7
+ flip?: boolean;
8
+ shift?: boolean;
9
+ middleware?: Middleware[];
10
+ matchReferenceWidth?: boolean;
11
+ portal?: boolean;
12
+ /** Override the reference element used for positioning (e.g., a custom trigger wrapping the primitive trigger). */
13
+ referenceElement?: HTMLElement;
14
+ }
15
+ interface HoverCardClasses {
16
+ content?: string;
17
+ }
18
+ type HoverCardClassKey = keyof HoverCardClasses;
19
+ interface SlotProps {
20
+ children?: ChildValue;
21
+ className?: string;
22
+ /** @deprecated Use `className` instead. */
23
+ class?: string;
24
+ }
25
+ interface ComposedHoverCardProps {
26
+ children?: ChildValue;
27
+ classes?: HoverCardClasses;
28
+ openDelay?: number;
29
+ closeDelay?: number;
30
+ onOpenChange?: (open: boolean) => void;
31
+ positioning?: FloatingOptions;
32
+ }
33
+ declare const ComposedHoverCard: ((props: ComposedHoverCardProps) => HTMLElement) & {
34
+ __classKeys?: HoverCardClassKey;
35
+ Trigger: (props: SlotProps) => HTMLElement;
36
+ Content: (props: SlotProps) => HTMLElement;
37
+ };
38
+ export { HoverCardClasses, HoverCardClassKey, ComposedHoverCardProps, ComposedHoverCard };
@@ -0,0 +1,6 @@
1
+ import {
2
+ ComposedHoverCard
3
+ } from "../../shared/chunk-nsmvdxgp.js";
4
+ export {
5
+ ComposedHoverCard
6
+ };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  HoverCard
3
- } from "../../shared/chunk-mr1tb0dp.js";
3
+ } from "../../shared/chunk-7a2nqmeh.js";
4
4
  export {
5
5
  HoverCard
6
6
  };