@vertz/ui-primitives 0.2.22 → 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 (236) hide show
  1. package/dist/shared/chunk-00fqgnq1.js +218 -0
  2. package/dist/shared/chunk-1hm0mbke.js +258 -0
  3. package/dist/shared/chunk-20kwns82.js +293 -0
  4. package/dist/shared/chunk-3jack97k.js +509 -0
  5. package/dist/shared/chunk-455p0jbk.js +241 -0
  6. package/dist/shared/chunk-4gyg71bn.js +178 -0
  7. package/dist/shared/chunk-4z006v1j.js +467 -0
  8. package/dist/shared/chunk-585ysr70.js +149 -0
  9. package/dist/shared/chunk-67sn29eh.js +125 -0
  10. package/dist/shared/chunk-75pegjs7.js +26 -0
  11. package/dist/shared/chunk-7a2nqmeh.js +167 -0
  12. package/dist/shared/chunk-7wem1bhb.js +252 -0
  13. package/dist/shared/chunk-8evj43jn.js +284 -0
  14. package/dist/shared/chunk-8t0nm721.js +152 -0
  15. package/dist/shared/chunk-94twh4s4.js +28 -0
  16. package/dist/shared/chunk-98y1sw9y.js +398 -0
  17. package/dist/shared/chunk-99tk72t3.js +69 -0
  18. package/dist/shared/chunk-9eedsnnk.js +164 -0
  19. package/dist/shared/chunk-9hv3vc72.js +215 -0
  20. package/dist/shared/chunk-aa3w85hn.js +321 -0
  21. package/dist/shared/chunk-axpbdpgx.js +177 -0
  22. package/dist/shared/chunk-b4zzg457.js +410 -0
  23. package/dist/shared/chunk-brk0drrk.js +202 -0
  24. package/dist/shared/chunk-czv0kqj4.js +107 -0
  25. package/dist/shared/chunk-d83ag07h.js +189 -0
  26. package/dist/shared/chunk-de18ashk.js +134 -0
  27. package/dist/shared/chunk-dvk4h36t.js +140 -0
  28. package/dist/shared/chunk-e1jcf22s.js +79 -0
  29. package/dist/shared/chunk-e3h0ddmx.js +168 -0
  30. package/dist/shared/chunk-e6660g7e.js +179 -0
  31. package/dist/shared/chunk-eq4d9b0w.js +147 -0
  32. package/dist/shared/chunk-ev367pq3.js +102 -0
  33. package/dist/shared/chunk-f0wy7k56.js +183 -0
  34. package/dist/shared/chunk-fjykbv0v.js +214 -0
  35. package/dist/shared/chunk-ghkw5bjq.js +55 -0
  36. package/dist/shared/chunk-gqb1n1hj.js +60 -0
  37. package/dist/shared/chunk-hdvdfd1c.js +96 -0
  38. package/dist/shared/chunk-hfjtkytb.js +310 -0
  39. package/dist/shared/chunk-hpvjfj0j.js +31 -0
  40. package/dist/shared/chunk-hxmxvp56.js +67 -0
  41. package/dist/shared/chunk-j9m2f0rd.js +162 -0
  42. package/dist/shared/chunk-jdygp28a.js +260 -0
  43. package/dist/shared/chunk-jpyjk616.js +52 -0
  44. package/dist/shared/chunk-jqre4qtw.js +180 -0
  45. package/dist/shared/{chunk-myq79qew.js → chunk-jsa3byag.js} +48 -28
  46. package/dist/shared/chunk-jzy1bkdk.js +203 -0
  47. package/dist/shared/chunk-knzg86am.js +168 -0
  48. package/dist/shared/chunk-kskxxc2q.js +228 -0
  49. package/dist/shared/chunk-metxdt5x.js +28 -0
  50. package/dist/shared/chunk-mhn2aazf.js +353 -0
  51. package/dist/shared/chunk-mtx2cfbx.js +175 -0
  52. package/dist/shared/chunk-nj420k31.js +54 -0
  53. package/dist/shared/chunk-nsmvdxgp.js +213 -0
  54. package/dist/shared/{chunk-w9dag6ce.js → chunk-pdzmg245.js} +133 -85
  55. package/dist/shared/chunk-pzknpa1y.js +327 -0
  56. package/dist/shared/chunk-q1ff3xp3.js +95 -0
  57. package/dist/shared/chunk-q7xbcj9q.js +7 -0
  58. package/dist/shared/chunk-qhnany7w.js +179 -0
  59. package/dist/shared/chunk-qrm43tr3.js +357 -0
  60. package/dist/shared/{chunk-jda3v59q.js → chunk-qsp7sfhp.js} +2 -2
  61. package/dist/shared/{chunk-dhyr0s9n.js → chunk-qwqnjjg8.js} +1 -1
  62. package/dist/shared/chunk-r0rz7z03.js +266 -0
  63. package/dist/shared/chunk-r3ngaa64.js +418 -0
  64. package/dist/shared/chunk-r3pffzss.js +13 -0
  65. package/dist/shared/chunk-rrt62bp0.js +353 -0
  66. package/dist/shared/chunk-s24gkmna.js +131 -0
  67. package/dist/shared/chunk-s62e7jf4.js +30 -0
  68. package/dist/shared/chunk-spng4yb9.js +73 -0
  69. package/dist/shared/chunk-tn0m98j8.js +42 -0
  70. package/dist/shared/chunk-v0b5pkcq.js +30 -0
  71. package/dist/shared/chunk-v11kd39k.js +162 -0
  72. package/dist/shared/{chunk-0mcr52hc.js → chunk-vef3sepw.js} +17 -1
  73. package/dist/shared/chunk-vkscwzpr.js +294 -0
  74. package/dist/shared/chunk-vv187snj.js +112 -0
  75. package/dist/shared/chunk-vy874zxe.js +68 -0
  76. package/dist/shared/chunk-wqsek87j.js +311 -0
  77. package/dist/shared/chunk-wtkxz2te.js +157 -0
  78. package/dist/shared/chunk-y1hpsqzy.js +185 -0
  79. package/dist/shared/chunk-y4mmmayp.js +206 -0
  80. package/dist/shared/chunk-yfzddvxc.js +71 -0
  81. package/dist/src/accordion/accordion-composed.d.ts +30 -0
  82. package/dist/src/accordion/accordion-composed.js +6 -0
  83. package/dist/src/accordion/accordion.js +1 -1
  84. package/dist/src/alert/alert-composed.d.ts +26 -0
  85. package/dist/src/alert/alert-composed.js +6 -0
  86. package/dist/src/alert-dialog/alert-dialog-composed.d.ts +40 -0
  87. package/dist/src/alert-dialog/alert-dialog-composed.js +6 -0
  88. package/dist/src/alert-dialog/alert-dialog.js +1 -1
  89. package/dist/src/avatar/avatar-composed.d.ts +33 -0
  90. package/dist/src/avatar/avatar-composed.js +6 -0
  91. package/dist/src/badge/badge-composed.d.ts +33 -0
  92. package/dist/src/badge/badge-composed.js +6 -0
  93. package/dist/src/badge/badge.js +1 -1
  94. package/dist/src/breadcrumb/breadcrumb-composed.d.ts +34 -0
  95. package/dist/src/breadcrumb/breadcrumb-composed.js +6 -0
  96. package/dist/src/button/button-composed.d.ts +34 -0
  97. package/dist/src/button/button-composed.js +6 -0
  98. package/dist/src/button/button.js +1 -1
  99. package/dist/src/calendar/calendar-composed.d.ts +42 -0
  100. package/dist/src/calendar/calendar-composed.js +6 -0
  101. package/dist/src/calendar/calendar.js +1 -1
  102. package/dist/src/card/card-composed.d.ts +34 -0
  103. package/dist/src/card/card-composed.js +6 -0
  104. package/dist/src/carousel/carousel-composed.d.ts +32 -0
  105. package/dist/src/carousel/carousel-composed.js +6 -0
  106. package/dist/src/carousel/carousel.js +1 -1
  107. package/dist/src/checkbox/checkbox-composed.d.ts +18 -0
  108. package/dist/src/checkbox/checkbox-composed.js +6 -0
  109. package/dist/src/checkbox/checkbox.js +1 -1
  110. package/dist/src/collapsible/collapsible-composed.d.ts +26 -0
  111. package/dist/src/collapsible/collapsible-composed.js +6 -0
  112. package/dist/src/collapsible/collapsible.js +1 -1
  113. package/dist/src/combobox/combobox-composed.d.ts +30 -0
  114. package/dist/src/combobox/combobox-composed.js +6 -0
  115. package/dist/src/combobox/combobox.js +1 -1
  116. package/dist/src/command/command-composed.d.ts +67 -0
  117. package/dist/src/command/command-composed.js +6 -0
  118. package/dist/src/command/command.js +1 -1
  119. package/dist/src/composed/with-styles.d.ts +38 -0
  120. package/dist/src/composed/with-styles.js +6 -0
  121. package/dist/src/context-menu/context-menu-composed.d.ts +51 -0
  122. package/dist/src/context-menu/context-menu-composed.js +6 -0
  123. package/dist/src/context-menu/context-menu.js +1 -1
  124. package/dist/src/date-picker/date-picker-composed.d.ts +77 -0
  125. package/dist/src/date-picker/date-picker-composed.js +6 -0
  126. package/dist/src/date-picker/date-picker.js +1 -1
  127. package/dist/src/dialog/dialog-composed.d.ts +36 -0
  128. package/dist/src/dialog/dialog-composed.js +6 -0
  129. package/dist/src/dialog/dialog-stack-parts.d.ts +16 -0
  130. package/dist/src/dialog/dialog-stack-parts.js +18 -0
  131. package/dist/src/dialog/dialog.js +1 -1
  132. package/dist/src/dropdown-menu/dropdown-menu-composed.d.ts +51 -0
  133. package/dist/src/dropdown-menu/dropdown-menu-composed.js +6 -0
  134. package/dist/src/dropdown-menu/dropdown-menu.js +1 -1
  135. package/dist/src/empty-state/empty-state-composed.d.ts +30 -0
  136. package/dist/src/empty-state/empty-state-composed.js +6 -0
  137. package/dist/src/form-group/form-group-composed.d.ts +24 -0
  138. package/dist/src/form-group/form-group-composed.js +6 -0
  139. package/dist/src/hover-card/hover-card-composed.d.ts +38 -0
  140. package/dist/src/hover-card/hover-card-composed.js +6 -0
  141. package/dist/src/hover-card/hover-card.js +1 -1
  142. package/dist/src/index.d.ts +1284 -804
  143. package/dist/src/index.js +78 -5281
  144. package/dist/src/input/input-composed.d.ts +35 -0
  145. package/dist/src/input/input-composed.js +6 -0
  146. package/dist/src/label/label-composed.d.ts +32 -0
  147. package/dist/src/label/label-composed.js +6 -0
  148. package/dist/src/menu/menu-composed.d.ts +51 -0
  149. package/dist/src/menu/menu-composed.js +6 -0
  150. package/dist/src/menu/menu.js +1 -1
  151. package/dist/src/menubar/menubar-composed.d.ts +56 -0
  152. package/dist/src/menubar/menubar-composed.js +6 -0
  153. package/dist/src/menubar/menubar.js +1 -1
  154. package/dist/src/navigation-menu/navigation-menu-composed.d.ts +56 -0
  155. package/dist/src/navigation-menu/navigation-menu-composed.js +6 -0
  156. package/dist/src/navigation-menu/navigation-menu.js +1 -1
  157. package/dist/src/pagination/pagination-composed.d.ts +30 -0
  158. package/dist/src/pagination/pagination-composed.js +6 -0
  159. package/dist/src/popover/popover-composed.d.ts +36 -0
  160. package/dist/src/popover/popover-composed.js +6 -0
  161. package/dist/src/popover/popover.js +1 -1
  162. package/dist/src/progress/progress-composed.d.ts +17 -0
  163. package/dist/src/progress/progress-composed.js +6 -0
  164. package/dist/src/progress/progress.js +1 -1
  165. package/dist/src/radio/radio-composed.d.ts +24 -0
  166. package/dist/src/radio/radio-composed.js +6 -0
  167. package/dist/src/radio/radio.js +1 -1
  168. package/dist/src/resizable-panel/resizable-panel-composed.d.ts +33 -0
  169. package/dist/src/resizable-panel/resizable-panel-composed.js +6 -0
  170. package/dist/src/resizable-panel/resizable-panel.js +1 -1
  171. package/dist/src/scroll-area/scroll-area-composed.d.ts +17 -0
  172. package/dist/src/scroll-area/scroll-area-composed.js +6 -0
  173. package/dist/src/scroll-area/scroll-area.js +1 -1
  174. package/dist/src/select/select-composed.d.ts +53 -0
  175. package/dist/src/select/select-composed.js +6 -0
  176. package/dist/src/select/select.js +1 -1
  177. package/dist/src/separator/separator-composed.d.ts +32 -0
  178. package/dist/src/separator/separator-composed.js +6 -0
  179. package/dist/src/sheet/sheet-composed.d.ts +34 -0
  180. package/dist/src/sheet/sheet-composed.js +6 -0
  181. package/dist/src/sheet/sheet.js +1 -1
  182. package/dist/src/skeleton/skeleton-composed.d.ts +65 -0
  183. package/dist/src/skeleton/skeleton-composed.js +6 -0
  184. package/dist/src/slider/slider-composed.d.ts +22 -0
  185. package/dist/src/slider/slider-composed.js +6 -0
  186. package/dist/src/slider/slider.js +1 -1
  187. package/dist/src/switch/switch-composed.d.ts +17 -0
  188. package/dist/src/switch/switch-composed.js +6 -0
  189. package/dist/src/switch/switch.js +1 -1
  190. package/dist/src/table/table-composed.d.ts +34 -0
  191. package/dist/src/table/table-composed.js +6 -0
  192. package/dist/src/tabs/tabs-composed.d.ts +33 -0
  193. package/dist/src/tabs/tabs-composed.js +6 -0
  194. package/dist/src/tabs/tabs.js +1 -1
  195. package/dist/src/textarea/textarea-composed.d.ts +35 -0
  196. package/dist/src/textarea/textarea-composed.js +6 -0
  197. package/dist/src/toast/toast.js +1 -1
  198. package/dist/src/toggle/toggle-composed.d.ts +16 -0
  199. package/dist/src/toggle/toggle-composed.js +6 -0
  200. package/dist/src/toggle/toggle.js +1 -1
  201. package/dist/src/toggle-group/toggle-group-composed.d.ts +24 -0
  202. package/dist/src/toggle-group/toggle-group-composed.js +6 -0
  203. package/dist/src/toggle-group/toggle-group.js +1 -1
  204. package/dist/src/tooltip/tooltip-composed.d.ts +36 -0
  205. package/dist/src/tooltip/tooltip-composed.js +6 -0
  206. package/dist/src/tooltip/tooltip.js +1 -1
  207. package/dist/src/utils.js +1 -1
  208. package/package.json +3 -3
  209. package/dist/shared/chunk-07yzsaaw.js +0 -165
  210. package/dist/shared/chunk-279bzynx.js +0 -132
  211. package/dist/shared/chunk-27xs9apd.js +0 -288
  212. package/dist/shared/chunk-2k8gxzdf.js +0 -151
  213. package/dist/shared/chunk-3rp73gkd.js +0 -175
  214. package/dist/shared/chunk-4rf1m34c.js +0 -267
  215. package/dist/shared/chunk-56reyd5r.js +0 -64
  216. package/dist/shared/chunk-7bxsf80c.js +0 -60
  217. package/dist/shared/chunk-8qtexw5s.js +0 -199
  218. package/dist/shared/chunk-9ezgd78r.js +0 -142
  219. package/dist/shared/chunk-ajpj10z0.js +0 -282
  220. package/dist/shared/chunk-c46v0fsw.js +0 -117
  221. package/dist/shared/chunk-e4mm5e59.js +0 -178
  222. package/dist/shared/chunk-fqa5bwn1.js +0 -128
  223. package/dist/shared/chunk-g8hnc95b.js +0 -219
  224. package/dist/shared/chunk-j2tdpxgc.js +0 -185
  225. package/dist/shared/chunk-k8nabsxm.js +0 -330
  226. package/dist/shared/chunk-kcnq15je.js +0 -175
  227. package/dist/shared/chunk-mqs4qq0b.js +0 -46
  228. package/dist/shared/chunk-pg2yjn8f.js +0 -88
  229. package/dist/shared/chunk-rb53v045.js +0 -71
  230. package/dist/shared/chunk-s6a2yph8.js +0 -239
  231. package/dist/shared/chunk-vhx3sqw6.js +0 -196
  232. package/dist/shared/chunk-w318par6.js +0 -204
  233. package/dist/shared/chunk-wcdq7bew.js +0 -133
  234. package/dist/shared/chunk-z0gwkzgp.js +0 -34
  235. package/dist/shared/chunk-z850et33.js +0 -161
  236. package/dist/shared/chunk-zyfc6cx3.js +0 -61
@@ -0,0 +1,34 @@
1
+ import { ChildValue } from "@vertz/ui";
2
+ interface CardClasses {
3
+ root?: string;
4
+ header?: string;
5
+ title?: string;
6
+ description?: string;
7
+ content?: string;
8
+ footer?: string;
9
+ action?: string;
10
+ }
11
+ type CardClassKey = keyof CardClasses;
12
+ interface SlotProps {
13
+ children?: ChildValue;
14
+ className?: string;
15
+ /** @deprecated Use `className` instead. */
16
+ class?: string;
17
+ }
18
+ interface ComposedCardProps {
19
+ children?: ChildValue;
20
+ classes?: CardClasses;
21
+ className?: string;
22
+ /** @deprecated Use `className` instead. */
23
+ class?: string;
24
+ }
25
+ declare const ComposedCard: ((props: ComposedCardProps) => HTMLElement) & {
26
+ __classKeys?: CardClassKey;
27
+ Header: (props: SlotProps) => HTMLElement;
28
+ Title: (props: SlotProps) => HTMLElement;
29
+ Description: (props: SlotProps) => HTMLElement;
30
+ Content: (props: SlotProps) => HTMLElement;
31
+ Footer: (props: SlotProps) => HTMLElement;
32
+ Action: (props: SlotProps) => HTMLElement;
33
+ };
34
+ export { ComposedCardProps, ComposedCard, CardClasses, CardClassKey };
@@ -0,0 +1,6 @@
1
+ import {
2
+ ComposedCard
3
+ } from "../../shared/chunk-8t0nm721.js";
4
+ export {
5
+ ComposedCard
6
+ };
@@ -0,0 +1,32 @@
1
+ import { ChildValue } from "@vertz/ui";
2
+ interface CarouselClasses {
3
+ root?: string;
4
+ viewport?: string;
5
+ slide?: string;
6
+ prevButton?: string;
7
+ nextButton?: string;
8
+ }
9
+ interface SlideProps {
10
+ children?: ChildValue;
11
+ className?: string;
12
+ class?: string;
13
+ }
14
+ interface SlotProps {
15
+ children?: ChildValue;
16
+ }
17
+ interface ComposedCarouselProps {
18
+ children?: ChildValue;
19
+ classes?: CarouselClasses;
20
+ orientation?: "horizontal" | "vertical";
21
+ loop?: boolean;
22
+ defaultIndex?: number;
23
+ onSlideChange?: (index: number) => void;
24
+ }
25
+ type CarouselClassKey = keyof CarouselClasses;
26
+ declare const ComposedCarousel: ((props: ComposedCarouselProps) => HTMLElement) & {
27
+ __classKeys?: CarouselClassKey;
28
+ Slide: (props: SlideProps) => HTMLElement;
29
+ Previous: (props: SlotProps) => HTMLElement;
30
+ Next: (props: SlotProps) => HTMLElement;
31
+ };
32
+ export { ComposedCarouselProps, ComposedCarousel, CarouselClasses, CarouselClassKey };
@@ -0,0 +1,6 @@
1
+ import {
2
+ ComposedCarousel
3
+ } from "../../shared/chunk-axpbdpgx.js";
4
+ export {
5
+ ComposedCarousel
6
+ };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Carousel
3
- } from "../../shared/chunk-wcdq7bew.js";
3
+ } from "../../shared/chunk-dvk4h36t.js";
4
4
  export {
5
5
  Carousel
6
6
  };
@@ -0,0 +1,18 @@
1
+ type CheckedState = boolean | "mixed";
2
+ import { ChildValue } from "@vertz/ui";
3
+ interface CheckboxClasses {
4
+ root?: string;
5
+ indicator?: string;
6
+ }
7
+ type CheckboxClassKey = keyof CheckboxClasses;
8
+ interface ComposedCheckboxProps {
9
+ children?: ChildValue;
10
+ classes?: CheckboxClasses;
11
+ defaultChecked?: CheckedState;
12
+ disabled?: boolean;
13
+ onCheckedChange?: (checked: CheckedState) => void;
14
+ }
15
+ declare const ComposedCheckbox: ((props: ComposedCheckboxProps) => HTMLElement) & {
16
+ __classKeys?: CheckboxClassKey;
17
+ };
18
+ export { ComposedCheckboxProps, ComposedCheckbox, CheckboxClasses, CheckboxClassKey };
@@ -0,0 +1,6 @@
1
+ import {
2
+ ComposedCheckbox
3
+ } from "../../shared/chunk-s24gkmna.js";
4
+ export {
5
+ ComposedCheckbox
6
+ };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Checkbox
3
- } from "../../shared/chunk-rb53v045.js";
3
+ } from "../../shared/chunk-e1jcf22s.js";
4
4
  export {
5
5
  Checkbox
6
6
  };
@@ -0,0 +1,26 @@
1
+ import { ChildValue } from "@vertz/ui";
2
+ interface CollapsibleClasses {
3
+ root?: string;
4
+ trigger?: string;
5
+ content?: string;
6
+ }
7
+ type CollapsibleClassKey = keyof CollapsibleClasses;
8
+ interface SlotProps {
9
+ children?: ChildValue;
10
+ className?: string;
11
+ /** @deprecated Use `className` instead. */
12
+ class?: string;
13
+ }
14
+ interface ComposedCollapsibleProps {
15
+ children?: ChildValue;
16
+ classes?: CollapsibleClasses;
17
+ defaultOpen?: boolean;
18
+ disabled?: boolean;
19
+ onOpenChange?: (open: boolean) => void;
20
+ }
21
+ declare const ComposedCollapsible: ((props: ComposedCollapsibleProps) => HTMLElement) & {
22
+ __classKeys?: CollapsibleClassKey;
23
+ Trigger: (props: SlotProps) => HTMLElement;
24
+ Content: (props: SlotProps) => HTMLElement;
25
+ };
26
+ export { ComposedCollapsibleProps, ComposedCollapsible, CollapsibleClasses, CollapsibleClassKey };
@@ -0,0 +1,6 @@
1
+ import {
2
+ ComposedCollapsible
3
+ } from "../../shared/chunk-e6660g7e.js";
4
+ export {
5
+ ComposedCollapsible
6
+ };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Collapsible
3
- } from "../../shared/chunk-c46v0fsw.js";
3
+ } from "../../shared/chunk-67sn29eh.js";
4
4
  export {
5
5
  Collapsible
6
6
  };
@@ -0,0 +1,30 @@
1
+ import { ChildValue } from "@vertz/ui";
2
+ interface ComboboxClasses {
3
+ input?: string;
4
+ content?: string;
5
+ option?: string;
6
+ }
7
+ interface SlotProps {
8
+ children?: ChildValue;
9
+ className?: string;
10
+ /** @deprecated Use `className` instead. */
11
+ class?: string;
12
+ }
13
+ interface OptionProps extends SlotProps {
14
+ value: string;
15
+ }
16
+ interface ComposedComboboxProps {
17
+ children?: ChildValue;
18
+ classes?: ComboboxClasses;
19
+ defaultValue?: string;
20
+ onValueChange?: (value: string) => void;
21
+ onInputChange?: (input: string) => void;
22
+ }
23
+ type ComboboxClassKey = keyof ComboboxClasses;
24
+ declare const ComposedCombobox: ((props: ComposedComboboxProps) => HTMLElement) & {
25
+ __classKeys?: ComboboxClassKey;
26
+ Input: (props: SlotProps) => HTMLElement;
27
+ Content: (props: SlotProps) => HTMLElement;
28
+ Option: (props: OptionProps) => HTMLElement;
29
+ };
30
+ export { ComposedComboboxProps, ComposedCombobox, ComboboxClasses, ComboboxClassKey };
@@ -0,0 +1,6 @@
1
+ import {
2
+ ComposedCombobox
3
+ } from "../../shared/chunk-wqsek87j.js";
4
+ export {
5
+ ComposedCombobox
6
+ };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Combobox
3
- } from "../../shared/chunk-vhx3sqw6.js";
3
+ } from "../../shared/chunk-jzy1bkdk.js";
4
4
  export {
5
5
  Combobox
6
6
  };
@@ -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-s6a2yph8.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-g8hnc95b.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-jda3v59q.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
+ };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Dialog
3
- } from "../../shared/chunk-8qtexw5s.js";
3
+ } from "../../shared/chunk-y4mmmayp.js";
4
4
  export {
5
5
  Dialog
6
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 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-dhyr0s9n.js";
3
+ } from "../../shared/chunk-qwqnjjg8.js";
4
4
  export {
5
5
  DropdownMenu
6
6
  };