ropav 0.5.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (337) hide show
  1. package/README.md +32 -9
  2. package/dist/components/accordion/index.d.ts +2 -190
  3. package/dist/components/accordion/index.js +1 -12
  4. package/dist/components/alert/alert-indicator.js +1 -1
  5. package/dist/components/alert/index.d.ts +2 -131
  6. package/dist/components/alert/index.js +1 -10
  7. package/dist/components/alert-dialog/alert-dialog-close.js +1 -1
  8. package/dist/components/alert-dialog/alert-dialog-heading.js +2 -2
  9. package/dist/components/alert-dialog/alert-dialog.types.d.ts +1 -1
  10. package/dist/components/alert-dialog/index.d.ts +2 -296
  11. package/dist/components/alert-dialog/index.js +1 -17
  12. package/dist/components/autocomplete/autocomplete-popover.js +2 -2
  13. package/dist/components/autocomplete/autocomplete-root.js +1 -1
  14. package/dist/components/autocomplete/index.d.ts +2 -250
  15. package/dist/components/autocomplete/index.js +1 -12
  16. package/dist/components/avatar/avatar.context.d.ts +1 -1
  17. package/dist/components/avatar/index.d.ts +2 -101
  18. package/dist/components/avatar/index.js +1 -8
  19. package/dist/components/badge/badge-anchor.js +5 -4
  20. package/dist/components/badge/badge-auto-label.d.ts +4 -4
  21. package/dist/components/badge/badge-auto-label.js +2 -2
  22. package/dist/components/badge/badge-root.js +2 -2
  23. package/dist/components/badge/index.d.ts +2 -95
  24. package/dist/components/badge/index.js +1 -8
  25. package/dist/components/breadcrumbs/breadcrumbs-item.js +2 -2
  26. package/dist/components/breadcrumbs/breadcrumbs.types.d.ts +2 -2
  27. package/dist/components/breadcrumbs/index.d.ts +2 -90
  28. package/dist/components/breadcrumbs/index.js +1 -7
  29. package/dist/components/button/index.d.ts +2 -61
  30. package/dist/components/button/index.js +1 -4
  31. package/dist/components/button-group/index.d.ts +2 -72
  32. package/dist/components/button-group/index.js +1 -7
  33. package/dist/components/calendar/calendar-grid-body.js +2 -2
  34. package/dist/components/calendar/calendar-grid-header.js +1 -1
  35. package/dist/components/calendar/calendar-grid.js +2 -1
  36. package/dist/components/calendar/calendar-root.d.ts +1 -1
  37. package/dist/components/calendar/calendar-root.js +13 -13
  38. package/dist/components/calendar/calendar.context.js +1 -1
  39. package/dist/components/calendar/calendar.types.d.ts +3 -1
  40. package/dist/components/calendar/index.d.ts +2 -422
  41. package/dist/components/calendar/index.js +1 -27
  42. package/dist/components/calendar-year-picker/calendar-year-picker-cell.js +15 -11
  43. package/dist/components/calendar-year-picker/calendar-year-picker-grid-body.js +9 -10
  44. package/dist/components/calendar-year-picker/calendar-year-picker-grid.js +36 -32
  45. package/dist/components/calendar-year-picker/calendar-year-picker-trigger-heading.js +1 -1
  46. package/dist/components/calendar-year-picker/calendar-year-picker-trigger.js +1 -1
  47. package/dist/components/calendar-year-picker/calendar-year-picker.context.d.ts +26 -8
  48. package/dist/components/calendar-year-picker/calendar-year-picker.context.js +2 -2
  49. package/dist/components/calendar-year-picker/calendar-year-picker.types.d.ts +8 -1
  50. package/dist/components/calendar-year-picker/index.d.ts +0 -134
  51. package/dist/components/calendar-year-picker/index.js +1 -11
  52. package/dist/components/card/index.d.ts +2 -152
  53. package/dist/components/card/index.js +1 -11
  54. package/dist/components/checkbox/index.d.ts +2 -146
  55. package/dist/components/checkbox/index.js +1 -9
  56. package/dist/components/checkbox-group/index.d.ts +2 -77
  57. package/dist/components/checkbox-group/index.js +1 -4
  58. package/dist/components/chip/chip-auto-label.d.ts +4 -4
  59. package/dist/components/chip/chip-auto-label.js +2 -2
  60. package/dist/components/chip/chip-root.js +2 -2
  61. package/dist/components/chip/index.d.ts +2 -72
  62. package/dist/components/chip/index.js +1 -7
  63. package/dist/components/close-button/index.d.ts +2 -55
  64. package/dist/components/close-button/index.js +1 -4
  65. package/dist/components/color-area/index.d.ts +2 -100
  66. package/dist/components/color-area/index.js +1 -7
  67. package/dist/components/color-field/color-field-root.js +1 -1
  68. package/dist/components/color-field/index.d.ts +2 -175
  69. package/dist/components/color-field/index.js +1 -14
  70. package/dist/components/color-input-group/index.d.ts +2 -115
  71. package/dist/components/color-input-group/index.js +1 -9
  72. package/dist/components/color-picker/color-picker-popover.js +2 -2
  73. package/dist/components/color-picker/index.d.ts +2 -110
  74. package/dist/components/color-picker/index.js +1 -8
  75. package/dist/components/color-slider/index.d.ts +2 -138
  76. package/dist/components/color-slider/index.js +1 -9
  77. package/dist/components/color-swatch/index.d.ts +2 -59
  78. package/dist/components/color-swatch/index.js +1 -4
  79. package/dist/components/color-swatch-picker/color-swatch-picker-item.js +1 -1
  80. package/dist/components/color-swatch-picker/index.d.ts +2 -129
  81. package/dist/components/color-swatch-picker/index.js +1 -9
  82. package/dist/components/combo-box/combo-box-popover.js +2 -2
  83. package/dist/components/combo-box/combo-box.types.d.ts +1 -1
  84. package/dist/components/combo-box/index.d.ts +2 -229
  85. package/dist/components/combo-box/index.js +1 -10
  86. package/dist/components/date-field/date-field-root.js +2 -2
  87. package/dist/components/date-field/index.d.ts +2 -241
  88. package/dist/components/date-field/index.js +1 -12
  89. package/dist/components/date-input-group/use-date-segment.js +1 -1
  90. package/dist/components/date-picker/date-picker-popover.js +2 -2
  91. package/dist/components/date-picker/date-picker-root.js +6 -3
  92. package/dist/components/date-picker/index.d.ts +2 -186
  93. package/dist/components/date-picker/index.js +1 -9
  94. package/dist/components/date-range-picker/date-range-picker-popover.js +2 -2
  95. package/dist/components/date-range-picker/date-range-picker-root.js +6 -3
  96. package/dist/components/date-range-picker/index.d.ts +2 -209
  97. package/dist/components/date-range-picker/index.js +1 -10
  98. package/dist/components/description/index.d.ts +2 -45
  99. package/dist/components/description/index.js +1 -4
  100. package/dist/components/disclosure/disclosure-root.js +3 -3
  101. package/dist/components/disclosure/index.d.ts +2 -163
  102. package/dist/components/disclosure/index.js +1 -11
  103. package/dist/components/disclosure-group/index.d.ts +2 -57
  104. package/dist/components/disclosure-group/index.js +1 -4
  105. package/dist/components/drawer/drawer-close.js +1 -1
  106. package/dist/components/drawer/drawer-dialog.js +1 -1
  107. package/dist/components/drawer/drawer-heading.js +2 -2
  108. package/dist/components/drawer/drawer.types.d.ts +1 -1
  109. package/dist/components/drawer/index.d.ts +2 -291
  110. package/dist/components/drawer/index.js +1 -17
  111. package/dist/components/drop-zone/drop-zone-root.d.ts +23 -0
  112. package/dist/components/drop-zone/drop-zone-root.js +153 -0
  113. package/dist/components/drop-zone/drop-zone-trigger.d.ts +21 -0
  114. package/dist/components/drop-zone/drop-zone-trigger.js +20 -0
  115. package/dist/components/drop-zone/drop-zone.accept.d.ts +19 -0
  116. package/dist/components/drop-zone/drop-zone.accept.js +28 -0
  117. package/dist/components/drop-zone/drop-zone.context.d.ts +6 -0
  118. package/dist/components/drop-zone/drop-zone.context.js +5 -0
  119. package/dist/components/drop-zone/drop-zone.types.d.ts +30 -0
  120. package/dist/components/drop-zone/index.d.ts +8 -0
  121. package/dist/components/drop-zone/index.js +5 -0
  122. package/dist/components/dropdown/dropdown-popover.js +2 -2
  123. package/dist/components/dropdown/index.d.ts +2 -265
  124. package/dist/components/dropdown/index.js +1 -23
  125. package/dist/components/empty-state/index.d.ts +2 -45
  126. package/dist/components/empty-state/index.js +1 -4
  127. package/dist/components/error-message/index.d.ts +2 -45
  128. package/dist/components/error-message/index.js +1 -4
  129. package/dist/components/field-error/field-error-root.js +2 -2
  130. package/dist/components/field-error/index.d.ts +2 -66
  131. package/dist/components/field-error/index.js +1 -7
  132. package/dist/components/fieldset/index.d.ts +2 -110
  133. package/dist/components/fieldset/index.js +1 -9
  134. package/dist/components/form/index.d.ts +2 -49
  135. package/dist/components/form/index.js +1 -4
  136. package/dist/components/header/index.d.ts +2 -45
  137. package/dist/components/header/index.js +1 -4
  138. package/dist/components/i18n-provider/index.d.ts +2 -2
  139. package/dist/components/i18n-provider/index.js +1 -1
  140. package/dist/components/index.d.ts +1 -0
  141. package/dist/components/input/index.d.ts +2 -51
  142. package/dist/components/input/index.js +1 -4
  143. package/dist/components/input-group/index.d.ts +2 -141
  144. package/dist/components/input-group/index.js +1 -10
  145. package/dist/components/input-otp/index.d.ts +2 -151
  146. package/dist/components/input-otp/index.js +1 -9
  147. package/dist/components/kbd/index.d.ts +2 -86
  148. package/dist/components/kbd/index.js +1 -8
  149. package/dist/components/label/index.d.ts +2 -51
  150. package/dist/components/label/index.js +1 -4
  151. package/dist/components/link/index.d.ts +2 -94
  152. package/dist/components/link/index.js +1 -7
  153. package/dist/components/list-box/index.d.ts +2 -191
  154. package/dist/components/list-box/index.js +1 -14
  155. package/dist/components/list-box/list-box-drop-indicator.js +2 -2
  156. package/dist/components/list-box/list-box-root.js +4 -4
  157. package/dist/components/list-box-item/index.d.ts +2 -74
  158. package/dist/components/list-box-item/index.js +1 -7
  159. package/dist/components/list-box-item/list-box-item-root.js +2 -2
  160. package/dist/components/list-box-section/index.d.ts +2 -47
  161. package/dist/components/list-box-section/index.js +1 -4
  162. package/dist/components/menu/index.d.ts +2 -83
  163. package/dist/components/menu/index.js +1 -4
  164. package/dist/components/menu-item/index.d.ts +2 -96
  165. package/dist/components/menu-item/index.js +1 -8
  166. package/dist/components/menu-item/menu-item-root.js +2 -2
  167. package/dist/components/menu-section/index.d.ts +2 -63
  168. package/dist/components/menu-section/index.js +1 -4
  169. package/dist/components/meter/index.d.ts +2 -127
  170. package/dist/components/meter/index.js +1 -9
  171. package/dist/components/modal/index.d.ts +2 -296
  172. package/dist/components/modal/index.js +1 -17
  173. package/dist/components/modal/modal-close.js +1 -1
  174. package/dist/components/modal/modal-heading.js +2 -2
  175. package/dist/components/modal/modal.context.d.ts +2 -2
  176. package/dist/components/modal/modal.types.d.ts +1 -1
  177. package/dist/components/number-field/index.d.ts +2 -186
  178. package/dist/components/number-field/index.js +1 -10
  179. package/dist/components/number-field/number-field-decrement-button.js +1 -1
  180. package/dist/components/number-field/number-field-increment-button.js +1 -1
  181. package/dist/components/overlay/overlay-slots.d.ts +1 -1
  182. package/dist/components/pagination/index.d.ts +2 -244
  183. package/dist/components/pagination/index.js +1 -15
  184. package/dist/components/pagination/pagination-next.js +4 -1
  185. package/dist/components/pagination/pagination-previous.js +4 -1
  186. package/dist/components/popover/index.d.ts +2 -172
  187. package/dist/components/popover/index.js +1 -11
  188. package/dist/components/popover/popover-arrow.js +2 -2
  189. package/dist/components/popover/popover-content.js +2 -2
  190. package/dist/components/popover/popover-heading.js +2 -2
  191. package/dist/components/popover/popover.types.d.ts +1 -1
  192. package/dist/components/progress-bar/index.d.ts +2 -129
  193. package/dist/components/progress-bar/index.js +1 -9
  194. package/dist/components/progress-bar/progress-bar-root.js +4 -0
  195. package/dist/components/progress-bar/progress-bar.types.d.ts +7 -0
  196. package/dist/components/progress-circle/index.d.ts +2 -124
  197. package/dist/components/progress-circle/index.js +1 -9
  198. package/dist/components/radio/index.d.ts +2 -120
  199. package/dist/components/radio/index.js +1 -9
  200. package/dist/components/radio-group/index.d.ts +2 -79
  201. package/dist/components/radio-group/index.js +1 -4
  202. package/dist/components/range-calendar/index.d.ts +2 -424
  203. package/dist/components/range-calendar/index.js +1 -27
  204. package/dist/components/range-calendar/range-calendar-cell.js +4 -2
  205. package/dist/components/range-calendar/range-calendar-grid-body.js +2 -2
  206. package/dist/components/range-calendar/range-calendar-grid-header.js +1 -1
  207. package/dist/components/range-calendar/range-calendar-grid.js +2 -1
  208. package/dist/components/range-calendar/range-calendar-root.d.ts +3 -3
  209. package/dist/components/range-calendar/range-calendar-root.js +13 -13
  210. package/dist/components/range-calendar/range-calendar.context.d.ts +1 -1
  211. package/dist/components/range-calendar/range-calendar.context.js +1 -1
  212. package/dist/components/range-calendar/range-calendar.types.d.ts +3 -1
  213. package/dist/components/router-provider/index.d.ts +2 -2
  214. package/dist/components/router-provider/index.js +1 -1
  215. package/dist/components/scroll-shadow/index.d.ts +2 -69
  216. package/dist/components/scroll-shadow/index.js +1 -4
  217. package/dist/components/search-field/index.d.ts +2 -195
  218. package/dist/components/search-field/index.js +1 -10
  219. package/dist/components/search-field/search-field-clear-button.js +5 -5
  220. package/dist/components/segmented-control/index.d.ts +2 -126
  221. package/dist/components/segmented-control/index.js +1 -9
  222. package/dist/components/select/index.d.ts +2 -202
  223. package/dist/components/select/index.js +1 -10
  224. package/dist/components/select/select-popover.js +2 -2
  225. package/dist/components/select/select-value.js +1 -1
  226. package/dist/components/separator/index.d.ts +2 -41
  227. package/dist/components/separator/index.js +1 -4
  228. package/dist/components/sidebar/index.d.ts +2 -518
  229. package/dist/components/sidebar/index.js +1 -25
  230. package/dist/components/sidebar/sidebar-content.js +2 -2
  231. package/dist/components/sidebar/sidebar-item-tooltip.js +2 -2
  232. package/dist/components/sidebar/sidebar-panel.js +1 -0
  233. package/dist/components/sidebar/sidebar-rail.js +1 -0
  234. package/dist/components/sidebar/sidebar-root.js +26 -6
  235. package/dist/components/sidebar/sidebar.state.d.ts +3 -0
  236. package/dist/components/sidebar/sidebar.state.js +5 -0
  237. package/dist/components/sidebar/sidebar.types.d.ts +16 -2
  238. package/dist/components/skeleton/index.d.ts +2 -47
  239. package/dist/components/skeleton/index.js +1 -4
  240. package/dist/components/slider/index.d.ts +2 -180
  241. package/dist/components/slider/index.js +1 -11
  242. package/dist/components/spinner/index.d.ts +2 -41
  243. package/dist/components/spinner/index.js +1 -4
  244. package/dist/components/splitter/index.d.ts +2 -134
  245. package/dist/components/splitter/index.js +1 -8
  246. package/dist/components/surface/index.d.ts +2 -47
  247. package/dist/components/surface/index.js +1 -4
  248. package/dist/components/switch/index.d.ts +2 -165
  249. package/dist/components/switch/index.js +1 -10
  250. package/dist/components/switch-group/index.d.ts +2 -47
  251. package/dist/components/switch-group/index.js +1 -4
  252. package/dist/components/table/index.d.ts +2 -442
  253. package/dist/components/table/index.js +1 -23
  254. package/dist/components/table/table-body.js +9 -9
  255. package/dist/components/table/table-cell.js +3 -3
  256. package/dist/components/table/table-column.js +4 -4
  257. package/dist/components/table/table-content.js +3 -3
  258. package/dist/components/table/table-drag-handle.js +1 -1
  259. package/dist/components/table/table-drop-indicator.js +9 -7
  260. package/dist/components/table/table-header.js +4 -4
  261. package/dist/components/table/table-load-more.js +5 -5
  262. package/dist/components/table/table-row.js +4 -4
  263. package/dist/components/table/table.context.d.ts +2 -2
  264. package/dist/components/table/table.types.d.ts +3 -3
  265. package/dist/components/tabs/index.d.ts +2 -189
  266. package/dist/components/tabs/index.js +1 -12
  267. package/dist/components/tabs/tabs-list-container.js +2 -2
  268. package/dist/components/tag/index.d.ts +2 -76
  269. package/dist/components/tag/index.js +1 -7
  270. package/dist/components/tag/tag-remove-button.js +2 -2
  271. package/dist/components/tag-group/index.d.ts +2 -93
  272. package/dist/components/tag-group/index.js +1 -7
  273. package/dist/components/textarea/index.d.ts +2 -51
  274. package/dist/components/textarea/index.js +1 -4
  275. package/dist/components/textfield/index.d.ts +2 -109
  276. package/dist/components/textfield/index.js +1 -4
  277. package/dist/components/time-field/index.d.ts +2 -233
  278. package/dist/components/time-field/index.js +1 -12
  279. package/dist/components/toast/index.d.ts +2 -216
  280. package/dist/components/toast/index.js +1 -15
  281. package/dist/components/toast/toast-action-button.js +2 -2
  282. package/dist/components/toast/toast-default-content.js +1 -1
  283. package/dist/components/toast/toast-queue.d.ts +1 -1
  284. package/dist/components/toast/toast-queue.js +1 -1
  285. package/dist/components/toast/toast-root.js +1 -1
  286. package/dist/components/toast/toast.types.d.ts +3 -3
  287. package/dist/components/toggle-button/index.d.ts +2 -65
  288. package/dist/components/toggle-button/index.js +1 -4
  289. package/dist/components/toggle-button-group/index.d.ts +2 -82
  290. package/dist/components/toggle-button-group/index.js +1 -7
  291. package/dist/components/toolbar/index.d.ts +2 -49
  292. package/dist/components/toolbar/index.js +1 -4
  293. package/dist/components/tooltip/index.d.ts +2 -136
  294. package/dist/components/tooltip/index.js +1 -9
  295. package/dist/components/tooltip/tooltip-arrow.js +2 -2
  296. package/dist/components/tooltip/tooltip-root.js +1 -1
  297. package/dist/components/tooltip/tooltip.types.d.ts +1 -1
  298. package/dist/components/typography/code.js +2 -2
  299. package/dist/components/typography/heading.js +2 -2
  300. package/dist/components/typography/index.d.ts +2 -1269
  301. package/dist/components/typography/index.js +1 -10
  302. package/dist/components/typography/paragraph.js +2 -2
  303. package/dist/components/typography/typography-root.js +2 -2
  304. package/dist/composables/index.d.ts +1 -0
  305. package/dist/composables/use-calendar-grid.js +2 -1
  306. package/dist/composables/use-calendar-year-picker.js +12 -3
  307. package/dist/composables/use-color-slider.d.ts +1 -1
  308. package/dist/composables/use-color-slider.js +1 -1
  309. package/dist/composables/use-drag-and-drop.js +1 -1
  310. package/dist/composables/use-droppable-collection.js +1 -1
  311. package/dist/composables/use-droppable-item.js +1 -1
  312. package/dist/composables/use-press.d.ts +10 -0
  313. package/dist/composables/use-press.js +27 -2
  314. package/dist/composables/use-prevent-scroll.d.ts +11 -5
  315. package/dist/composables/use-prevent-scroll.js +11 -5
  316. package/dist/composables/use-range-calendar.js +2 -1
  317. package/dist/composables/use-text-field.js +1 -1
  318. package/dist/index.d.ts +1 -1
  319. package/dist/index.js +118 -114
  320. package/dist/styles-no-preflight.css +3 -0
  321. package/dist/styles-overrides.css +15 -0
  322. package/dist/styles.css +1 -16
  323. package/dist/utils/calendar-systems.d.ts +14 -0
  324. package/dist/utils/calendar-systems.js +2 -0
  325. package/dist/utils/calendar.d.ts +14 -5
  326. package/dist/utils/calendar.js +18 -21
  327. package/dist/utils/compose.d.ts +4 -6
  328. package/dist/utils/compose.js +4 -6
  329. package/dist/utils/dnd-list-drop-target-delegate.d.ts +19 -1
  330. package/dist/utils/dnd-list-drop-target-delegate.js +37 -6
  331. package/dist/utils/index.d.ts +1 -0
  332. package/dist/utils/virtualizer-list-layout.d.ts +8 -0
  333. package/dist/utils/virtualizer-list-layout.js +12 -2
  334. package/dist/utils/virtualizer-table-layout.d.ts +1 -0
  335. package/dist/utils/virtualizer-table-layout.js +3 -0
  336. package/dist/version.js +1 -1
  337. package/package.json +13 -6
@@ -1,62 +1,5 @@
1
1
  import ColorSwatchRoot from "./color-swatch-root.js";
2
- export declare const ColorSwatch: ((__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
3
- attrs: any;
4
- slots: {
5
- default?: (props: import("./color-swatch.types.js").ColorSwatchSlotProps) => unknown;
6
- };
7
- emit: {};
8
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
9
- props: import('vue').PublicProps & {
10
- ariaLabel?: string;
11
- ariaLabelledby?: string;
12
- class?: string;
13
- color?: import("../../index.js").Color | string;
14
- colorName?: string;
15
- id?: string;
16
- shape?: import("@ropav/styles").ColorSwatchVariants["shape"];
17
- size?: import("@ropav/styles").ColorSwatchVariants["size"];
18
- } & (typeof globalThis extends {
19
- __VLS_PROPS_FALLBACK: infer P;
20
- } ? P : {});
21
- expose: (exposed: {}) => void;
22
- attrs: any;
23
- slots: {
24
- default?: (props: import("./color-swatch.types.js").ColorSwatchSlotProps) => unknown;
25
- };
26
- emit: {};
27
- }>) => import('vue').VNode & {
28
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
29
- }) & {
30
- Root: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
31
- attrs: any;
32
- slots: {
33
- default?: (props: import("./color-swatch.types.js").ColorSwatchSlotProps) => unknown;
34
- };
35
- emit: {};
36
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
37
- props: import('vue').PublicProps & {
38
- ariaLabel?: string;
39
- ariaLabelledby?: string;
40
- class?: string;
41
- color?: import("../../index.js").Color | string;
42
- colorName?: string;
43
- id?: string;
44
- shape?: import("@ropav/styles").ColorSwatchVariants["shape"];
45
- size?: import("@ropav/styles").ColorSwatchVariants["size"];
46
- } & (typeof globalThis extends {
47
- __VLS_PROPS_FALLBACK: infer P;
48
- } ? P : {});
49
- expose: (exposed: {}) => void;
50
- attrs: any;
51
- slots: {
52
- default?: (props: import("./color-swatch.types.js").ColorSwatchSlotProps) => unknown;
53
- };
54
- emit: {};
55
- }>) => import('vue').VNode & {
56
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
57
- };
58
- };
59
- export { ColorSwatchRoot };
60
- export type { ColorSwatchRootProps, ColorSwatchRootProps as ColorSwatchProps, ColorSwatchSlotProps, } from "./color-swatch.types.js";
2
+ export { ColorSwatchRoot as ColorSwatch };
3
+ export type { ColorSwatchRootProps as ColorSwatchProps, ColorSwatchSlotProps, } from "./color-swatch.types.js";
61
4
  export { colorSwatchVariants } from "@ropav/styles";
62
5
  export type { ColorSwatchVariants } from "@ropav/styles";
@@ -1,6 +1,3 @@
1
1
  import color_swatch_root_default from "./color-swatch-root.js";
2
2
  import { colorSwatchVariants } from "@ropav/styles";
3
- //#region src/components/color-swatch/index.ts
4
- var ColorSwatch = Object.assign(color_swatch_root_default, { Root: color_swatch_root_default });
5
- //#endregion
6
- export { ColorSwatch, color_swatch_root_default as ColorSwatchRoot, colorSwatchVariants };
3
+ export { color_swatch_root_default as ColorSwatch, colorSwatchVariants };
@@ -78,7 +78,7 @@ var color_swatch_picker_item_vue_vue_type_script_setup_true_vapor_true_lang_defa
78
78
  * The colour is carried as a custom property rather than as `background-color`.
79
79
  *
80
80
  * The swatch inside paints itself; what the item needs the colour for is its selected border,
81
- * which `.color-swatch-picker__item[data-selected="true"]` reads back out of the variable. React
81
+ * which `.rp-color-swatch-picker__item[data-selected="true"]` reads back out of the variable. React
82
82
  * ends up with exactly this one declaration too — its own style function replaces the caller's
83
83
  * rather than merging, which is the one place in the colour group where it does.
84
84
  */
@@ -2,134 +2,7 @@ import ColorSwatchPickerIndicator from "./color-swatch-picker-indicator.js";
2
2
  import ColorSwatchPickerItem from "./color-swatch-picker-item.js";
3
3
  import ColorSwatchPickerRoot from "./color-swatch-picker-root.js";
4
4
  import ColorSwatchPickerSwatch from "./color-swatch-picker-swatch.js";
5
- export declare const ColorSwatchPicker: ((__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
6
- attrs: any;
7
- slots: {
8
- default?: (props: import("./color-swatch-picker.types.js").ColorSwatchPickerRootSlotProps) => unknown;
9
- };
10
- emit: ((evt: "change", value: import("../../index.js").Color) => void) & ((evt: "update:value", value: import("../../index.js").Color) => void);
11
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
12
- props: import('vue').PublicProps & {
13
- ariaLabel?: string;
14
- ariaLabelledby?: string;
15
- class?: string;
16
- value?: import("../../index.js").Color | string;
17
- defaultValue?: import("../../index.js").Color | string;
18
- layout?: import("@ropav/styles").ColorSwatchPickerVariants["layout"];
19
- size?: import("@ropav/styles").ColorSwatchPickerVariants["size"];
20
- variant?: import("@ropav/styles").ColorSwatchPickerVariants["variant"];
21
- onChange?: ((value: import("../../index.js").Color) => any) | undefined;
22
- "onUpdate:value"?: ((value: import("../../index.js").Color) => any) | undefined;
23
- } & (typeof globalThis extends {
24
- __VLS_PROPS_FALLBACK: infer P;
25
- } ? P : {});
26
- expose: (exposed: {}) => void;
27
- attrs: any;
28
- slots: {
29
- default?: (props: import("./color-swatch-picker.types.js").ColorSwatchPickerRootSlotProps) => unknown;
30
- };
31
- emit: ((evt: "change", value: import("../../index.js").Color) => void) & ((evt: "update:value", value: import("../../index.js").Color) => void);
32
- }>) => import('vue').VNode & {
33
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
34
- }) & {
35
- Indicator: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
36
- attrs: any;
37
- slots: {
38
- default?: (props: import("./color-swatch-picker.types.js").ColorSwatchPickerIndicatorSlotProps) => unknown;
39
- };
40
- emit: {};
41
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
42
- props: import('vue').PublicProps & {
43
- class?: string;
44
- } & (typeof globalThis extends {
45
- __VLS_PROPS_FALLBACK: infer P;
46
- } ? P : {});
47
- expose: (exposed: {}) => void;
48
- attrs: any;
49
- slots: {
50
- default?: (props: import("./color-swatch-picker.types.js").ColorSwatchPickerIndicatorSlotProps) => unknown;
51
- };
52
- emit: {};
53
- }>) => import('vue').VNode & {
54
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
55
- };
56
- Item: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
57
- attrs: any;
58
- slots: {
59
- default?: (props: import("./color-swatch-picker.types.js").ColorSwatchPickerItemSlotProps) => unknown;
60
- };
61
- emit: {};
62
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
63
- props: import('vue').PublicProps & {
64
- class?: string;
65
- color?: import("../../index.js").Color | string;
66
- isDisabled?: boolean;
67
- } & (typeof globalThis extends {
68
- __VLS_PROPS_FALLBACK: infer P;
69
- } ? P : {});
70
- expose: (exposed: {}) => void;
71
- attrs: any;
72
- slots: {
73
- default?: (props: import("./color-swatch-picker.types.js").ColorSwatchPickerItemSlotProps) => unknown;
74
- };
75
- emit: {};
76
- }>) => import('vue').VNode & {
77
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
78
- };
79
- Root: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
80
- attrs: any;
81
- slots: {
82
- default?: (props: import("./color-swatch-picker.types.js").ColorSwatchPickerRootSlotProps) => unknown;
83
- };
84
- emit: ((evt: "change", value: import("../../index.js").Color) => void) & ((evt: "update:value", value: import("../../index.js").Color) => void);
85
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
86
- props: import('vue').PublicProps & {
87
- ariaLabel?: string;
88
- ariaLabelledby?: string;
89
- class?: string;
90
- value?: import("../../index.js").Color | string;
91
- defaultValue?: import("../../index.js").Color | string;
92
- layout?: import("@ropav/styles").ColorSwatchPickerVariants["layout"];
93
- size?: import("@ropav/styles").ColorSwatchPickerVariants["size"];
94
- variant?: import("@ropav/styles").ColorSwatchPickerVariants["variant"];
95
- onChange?: ((value: import("../../index.js").Color) => any) | undefined;
96
- "onUpdate:value"?: ((value: import("../../index.js").Color) => any) | undefined;
97
- } & (typeof globalThis extends {
98
- __VLS_PROPS_FALLBACK: infer P;
99
- } ? P : {});
100
- expose: (exposed: {}) => void;
101
- attrs: any;
102
- slots: {
103
- default?: (props: import("./color-swatch-picker.types.js").ColorSwatchPickerRootSlotProps) => unknown;
104
- };
105
- emit: ((evt: "change", value: import("../../index.js").Color) => void) & ((evt: "update:value", value: import("../../index.js").Color) => void);
106
- }>) => import('vue').VNode & {
107
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
108
- };
109
- Swatch: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
110
- attrs: any;
111
- slots: {};
112
- emit: {};
113
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
114
- props: import('vue').PublicProps & {
115
- ariaLabel?: string;
116
- ariaLabelledby?: string;
117
- class?: string;
118
- color?: import("../../index.js").Color | string;
119
- colorName?: string;
120
- id?: string;
121
- } & (typeof globalThis extends {
122
- __VLS_PROPS_FALLBACK: infer P;
123
- } ? P : {});
124
- expose: (exposed: {}) => void;
125
- attrs: any;
126
- slots: {};
127
- emit: {};
128
- }>) => import('vue').VNode & {
129
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
130
- };
131
- };
132
- export { ColorSwatchPickerIndicator, ColorSwatchPickerItem, ColorSwatchPickerRoot, ColorSwatchPickerSwatch, };
133
- export type { ColorSwatchPickerIndicatorProps, ColorSwatchPickerIndicatorSlotProps, ColorSwatchPickerItemProps, ColorSwatchPickerItemSlotProps, ColorSwatchPickerRootProps, ColorSwatchPickerRootProps as ColorSwatchPickerProps, ColorSwatchPickerRootSlotProps, ColorSwatchPickerSwatchProps, } from "./color-swatch-picker.types.js";
5
+ export { ColorSwatchPickerIndicator, ColorSwatchPickerItem, ColorSwatchPickerRoot as ColorSwatchPicker, ColorSwatchPickerSwatch, };
6
+ export type { ColorSwatchPickerIndicatorProps, ColorSwatchPickerIndicatorSlotProps, ColorSwatchPickerItemProps, ColorSwatchPickerItemSlotProps, ColorSwatchPickerRootProps as ColorSwatchPickerProps, ColorSwatchPickerRootSlotProps as ColorSwatchPickerSlotProps, ColorSwatchPickerSwatchProps, } from "./color-swatch-picker.types.js";
134
7
  export { colorSwatchPickerVariants } from "@ropav/styles";
135
8
  export type { ColorSwatchPickerVariants } from "@ropav/styles";
@@ -3,12 +3,4 @@ import color_swatch_picker_item_default from "./color-swatch-picker-item.js";
3
3
  import color_swatch_picker_root_default from "./color-swatch-picker-root.js";
4
4
  import color_swatch_picker_swatch_default from "./color-swatch-picker-swatch.js";
5
5
  import { colorSwatchPickerVariants } from "@ropav/styles";
6
- //#region src/components/color-swatch-picker/index.ts
7
- var ColorSwatchPicker = Object.assign(color_swatch_picker_root_default, {
8
- Indicator: color_swatch_picker_indicator_default,
9
- Item: color_swatch_picker_item_default,
10
- Root: color_swatch_picker_root_default,
11
- Swatch: color_swatch_picker_swatch_default
12
- });
13
- //#endregion
14
- export { ColorSwatchPicker, color_swatch_picker_indicator_default as ColorSwatchPickerIndicator, color_swatch_picker_item_default as ColorSwatchPickerItem, color_swatch_picker_root_default as ColorSwatchPickerRoot, color_swatch_picker_swatch_default as ColorSwatchPickerSwatch, colorSwatchPickerVariants };
6
+ export { color_swatch_picker_root_default as ColorSwatchPicker, color_swatch_picker_indicator_default as ColorSwatchPickerIndicator, color_swatch_picker_item_default as ColorSwatchPickerItem, color_swatch_picker_swatch_default as ColorSwatchPickerSwatch, colorSwatchPickerVariants };
@@ -47,8 +47,8 @@ var combo_box_popover_vue_vue_type_script_setup_true_vapor_true_lang_default = /
47
47
  "should-flip": () => props.shouldFlip,
48
48
  "slot-contexts": () => unref(contexts)
49
49
  }, extend(() => {
50
- return createSlot("default", null, null, 36);
51
- }, { _: 8 }), true);
50
+ return createSlot("default", null, null, 4);
51
+ }, { _: 1 }), true);
52
52
  }
53
53
  });
54
54
  //#endregion
@@ -118,7 +118,7 @@ export interface ComboBoxRootSlotProps<T = unknown> {
118
118
  * The React build has no counterpart because it does not need one: RAC renders its listbox from
119
119
  * the filtered *collection*, so the options written as markup are narrowed for the caller. Here
120
120
  * the markup is what renders, so the matches have to reach whoever writes it — the same seam
121
- * `Autocomplete.Filter` hands its own caller.
121
+ * `AutocompleteFilter` hands its own caller.
122
122
  */
123
123
  items: readonly T[];
124
124
  /** What has been typed so far. */
@@ -3,235 +3,8 @@ import ComboBoxPopover from "./combo-box-popover.js";
3
3
  import ComboBoxRoot from "./combo-box-root.js";
4
4
  import ComboBoxTrigger from "./combo-box-trigger.js";
5
5
  import ComboBoxValue from "./combo-box-value.js";
6
- export declare const ComboBox: (<T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
7
- attrs: any;
8
- slots: {
9
- default?: (props: import("./combo-box.types.js").ComboBoxRootSlotProps<T>) => unknown;
10
- };
11
- emit: ((evt: "change", value: import("../../index.js").SelectedValue) => void) & ((evt: "focusChange", isFocused: boolean) => void) & ((evt: "inputChange", value: string) => void) & ((evt: "openChange", isOpen: boolean, menuTrigger?: "focus" | "input" | "manual" | undefined) => void) & ((evt: "update:inputValue", value: string) => void) & ((evt: "update:value", value: import("../../index.js").SelectedValue) => void);
12
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
13
- props: import('vue').PublicProps & {
14
- class?: string;
15
- items: readonly T[];
16
- itemKey?: ((item: T, index: number) => import("../../index.js").CollectionKey) | undefined;
17
- itemTextValue?: ((item: T) => string | undefined) | undefined;
18
- itemDisabled?: ((item: T) => boolean) | undefined;
19
- selectionMode?: import("../../index.js").SelectSelectionMode;
20
- value?: import("../../index.js").SelectedValue;
21
- defaultValue?: import("../../index.js").SelectedValue;
22
- inputValue?: string;
23
- defaultInputValue?: string;
24
- menuTrigger?: import("../../index.js").ComboBoxMenuTrigger;
25
- defaultFilter?: import("../../index.js").ComboBoxFilter | null;
26
- allowsCustomValue?: boolean;
27
- allowsEmptyCollection?: boolean;
28
- shouldCloseOnBlur?: boolean;
29
- disabledKeys?: Iterable<import("../../index.js").CollectionKey>;
30
- disabledBehavior?: import("../../index.js").DisabledBehavior;
31
- isDisabled?: boolean;
32
- isReadOnly?: boolean;
33
- isRequired?: boolean;
34
- isInvalid?: boolean;
35
- validate?: import("../../index.js").ValidationFunction<import("../../index.js").ComboBoxValidationValue>;
36
- validationBehavior?: import("../../index.js").ValidationBehavior;
37
- name?: string;
38
- form?: string;
39
- formValue?: "key" | "text";
40
- shouldFocusWrap?: boolean;
41
- id?: string;
42
- placeholder?: string;
43
- autoComplete?: string;
44
- autoFocus?: boolean;
45
- inputMode?: string;
46
- maxLength?: number;
47
- minLength?: number;
48
- pattern?: string;
49
- ariaLabel?: string;
50
- ariaLabelledby?: string;
51
- ariaDescribedby?: string;
52
- size?: import("@ropav/styles").ComboBoxVariants["size"];
53
- fullWidth?: boolean;
54
- variant?: "primary" | "secondary";
55
- onChange?: ((value: import("../../index.js").SelectedValue) => any) | undefined;
56
- onFocusChange?: ((isFocused: boolean) => any) | undefined;
57
- onInputChange?: ((value: string) => any) | undefined;
58
- onOpenChange?: ((isOpen: boolean, menuTrigger?: "focus" | "input" | "manual" | undefined) => any) | undefined;
59
- "onUpdate:inputValue"?: ((value: string) => any) | undefined;
60
- "onUpdate:value"?: ((value: import("../../index.js").SelectedValue) => any) | undefined;
61
- } & (typeof globalThis extends {
62
- __VLS_PROPS_FALLBACK: infer P;
63
- } ? P : {});
64
- expose: (exposed: {}) => void;
65
- attrs: any;
66
- slots: {
67
- default?: (props: import("./combo-box.types.js").ComboBoxRootSlotProps<T>) => unknown;
68
- };
69
- emit: ((evt: "change", value: import("../../index.js").SelectedValue) => void) & ((evt: "focusChange", isFocused: boolean) => void) & ((evt: "inputChange", value: string) => void) & ((evt: "openChange", isOpen: boolean, menuTrigger?: "focus" | "input" | "manual" | undefined) => void) & ((evt: "update:inputValue", value: string) => void) & ((evt: "update:value", value: import("../../index.js").SelectedValue) => void);
70
- }>) => import('vue').VNode & {
71
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
72
- }) & {
73
- InputGroup: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
74
- attrs: any;
75
- slots: {
76
- default?: (props: import("./combo-box.types.js").ComboBoxInputGroupSlotProps) => unknown;
77
- };
78
- emit: {};
79
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
80
- props: import('vue').PublicProps & {
81
- class?: string;
82
- } & (typeof globalThis extends {
83
- __VLS_PROPS_FALLBACK: infer P;
84
- } ? P : {});
85
- expose: (exposed: {}) => void;
86
- attrs: any;
87
- slots: {
88
- default?: (props: import("./combo-box.types.js").ComboBoxInputGroupSlotProps) => unknown;
89
- };
90
- emit: {};
91
- }>) => import('vue').VNode & {
92
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
93
- };
94
- Popover: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
95
- attrs: any;
96
- slots: {
97
- default?: () => unknown;
98
- };
99
- emit: {};
100
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
101
- props: import('vue').PublicProps & {
102
- class?: string;
103
- placement?: import("../../index.js").Placement;
104
- offset?: number;
105
- crossOffset?: number;
106
- shouldFlip?: boolean;
107
- containerPadding?: number;
108
- arrowBoundaryOffset?: number;
109
- isKeyboardDismissDisabled?: boolean;
110
- } & (typeof globalThis extends {
111
- __VLS_PROPS_FALLBACK: infer P;
112
- } ? P : {});
113
- expose: (exposed: {}) => void;
114
- attrs: any;
115
- slots: {
116
- default?: () => unknown;
117
- };
118
- emit: {};
119
- }>) => import('vue').VNode & {
120
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
121
- };
122
- Root: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
123
- attrs: any;
124
- slots: {
125
- default?: (props: import("./combo-box.types.js").ComboBoxRootSlotProps<T>) => unknown;
126
- };
127
- emit: ((evt: "change", value: import("../../index.js").SelectedValue) => void) & ((evt: "focusChange", isFocused: boolean) => void) & ((evt: "inputChange", value: string) => void) & ((evt: "openChange", isOpen: boolean, menuTrigger?: "focus" | "input" | "manual" | undefined) => void) & ((evt: "update:inputValue", value: string) => void) & ((evt: "update:value", value: import("../../index.js").SelectedValue) => void);
128
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
129
- props: import('vue').PublicProps & {
130
- class?: string;
131
- items: readonly T[];
132
- itemKey?: ((item: T, index: number) => import("../../index.js").CollectionKey) | undefined;
133
- itemTextValue?: ((item: T) => string | undefined) | undefined;
134
- itemDisabled?: ((item: T) => boolean) | undefined;
135
- selectionMode?: import("../../index.js").SelectSelectionMode;
136
- value?: import("../../index.js").SelectedValue;
137
- defaultValue?: import("../../index.js").SelectedValue;
138
- inputValue?: string;
139
- defaultInputValue?: string;
140
- menuTrigger?: import("../../index.js").ComboBoxMenuTrigger;
141
- defaultFilter?: import("../../index.js").ComboBoxFilter | null;
142
- allowsCustomValue?: boolean;
143
- allowsEmptyCollection?: boolean;
144
- shouldCloseOnBlur?: boolean;
145
- disabledKeys?: Iterable<import("../../index.js").CollectionKey>;
146
- disabledBehavior?: import("../../index.js").DisabledBehavior;
147
- isDisabled?: boolean;
148
- isReadOnly?: boolean;
149
- isRequired?: boolean;
150
- isInvalid?: boolean;
151
- validate?: import("../../index.js").ValidationFunction<import("../../index.js").ComboBoxValidationValue>;
152
- validationBehavior?: import("../../index.js").ValidationBehavior;
153
- name?: string;
154
- form?: string;
155
- formValue?: "key" | "text";
156
- shouldFocusWrap?: boolean;
157
- id?: string;
158
- placeholder?: string;
159
- autoComplete?: string;
160
- autoFocus?: boolean;
161
- inputMode?: string;
162
- maxLength?: number;
163
- minLength?: number;
164
- pattern?: string;
165
- ariaLabel?: string;
166
- ariaLabelledby?: string;
167
- ariaDescribedby?: string;
168
- size?: import("@ropav/styles").ComboBoxVariants["size"];
169
- fullWidth?: boolean;
170
- variant?: "primary" | "secondary";
171
- onChange?: ((value: import("../../index.js").SelectedValue) => any) | undefined;
172
- onFocusChange?: ((isFocused: boolean) => any) | undefined;
173
- onInputChange?: ((value: string) => any) | undefined;
174
- onOpenChange?: ((isOpen: boolean, menuTrigger?: "focus" | "input" | "manual" | undefined) => any) | undefined;
175
- "onUpdate:inputValue"?: ((value: string) => any) | undefined;
176
- "onUpdate:value"?: ((value: import("../../index.js").SelectedValue) => any) | undefined;
177
- } & (typeof globalThis extends {
178
- __VLS_PROPS_FALLBACK: infer P;
179
- } ? P : {});
180
- expose: (exposed: {}) => void;
181
- attrs: any;
182
- slots: {
183
- default?: (props: import("./combo-box.types.js").ComboBoxRootSlotProps<T>) => unknown;
184
- };
185
- emit: ((evt: "change", value: import("../../index.js").SelectedValue) => void) & ((evt: "focusChange", isFocused: boolean) => void) & ((evt: "inputChange", value: string) => void) & ((evt: "openChange", isOpen: boolean, menuTrigger?: "focus" | "input" | "manual" | undefined) => void) & ((evt: "update:inputValue", value: string) => void) & ((evt: "update:value", value: import("../../index.js").SelectedValue) => void);
186
- }>) => import('vue').VNode & {
187
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
188
- };
189
- Trigger: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
190
- attrs: any;
191
- slots: {
192
- default?: () => unknown;
193
- };
194
- emit: {};
195
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
196
- props: import('vue').PublicProps & {
197
- class?: string;
198
- } & (typeof globalThis extends {
199
- __VLS_PROPS_FALLBACK: infer P;
200
- } ? P : {});
201
- expose: (exposed: {}) => void;
202
- attrs: any;
203
- slots: {
204
- default?: () => unknown;
205
- };
206
- emit: {};
207
- }>) => import('vue').VNode & {
208
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
209
- };
210
- Value: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
211
- attrs: any;
212
- slots: {
213
- default?: (props: import("./combo-box.types.js").ComboBoxValueSlotProps) => unknown;
214
- };
215
- emit: {};
216
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
217
- props: import('vue').PublicProps & {
218
- class?: string;
219
- placeholder?: string;
220
- } & (typeof globalThis extends {
221
- __VLS_PROPS_FALLBACK: infer P;
222
- } ? P : {});
223
- expose: (exposed: {}) => void;
224
- attrs: any;
225
- slots: {
226
- default?: (props: import("./combo-box.types.js").ComboBoxValueSlotProps) => unknown;
227
- };
228
- emit: {};
229
- }>) => import('vue').VNode & {
230
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
231
- };
232
- };
233
- export { ComboBoxInputGroup, ComboBoxPopover, ComboBoxRoot, ComboBoxTrigger, ComboBoxValue };
234
- export type { ComboBoxInputGroupProps, ComboBoxInputGroupSlotProps, ComboBoxPopoverProps, ComboBoxRootEmits, ComboBoxRootProps, ComboBoxRootProps as ComboBoxProps, ComboBoxRootSlotProps, ComboBoxTriggerProps, ComboBoxValueProps, ComboBoxValueSlotProps, } from "./combo-box.types.js";
6
+ export { ComboBoxInputGroup, ComboBoxPopover, ComboBoxRoot as ComboBox, ComboBoxTrigger, ComboBoxValue, };
7
+ export type { ComboBoxInputGroupProps, ComboBoxInputGroupSlotProps, ComboBoxPopoverProps, ComboBoxRootEmits as ComboBoxEmits, ComboBoxRootProps as ComboBoxProps, ComboBoxRootSlotProps as ComboBoxSlotProps, ComboBoxTriggerProps, ComboBoxValueProps, ComboBoxValueSlotProps, } from "./combo-box.types.js";
235
8
  export { useComboBoxContext } from "./combo-box.context.js";
236
9
  export type { ComboBoxContext } from "./combo-box.context.js";
237
10
  export type { UseComboBoxReturn } from "../../composables/use-combo-box.js";
@@ -5,13 +5,4 @@ import combo_box_root_default from "./combo-box-root.js";
5
5
  import combo_box_trigger_default from "./combo-box-trigger.js";
6
6
  import combo_box_value_default from "./combo-box-value.js";
7
7
  import { comboBoxVariants } from "@ropav/styles";
8
- //#region src/components/combo-box/index.ts
9
- var ComboBox = Object.assign(combo_box_root_default, {
10
- InputGroup: combo_box_input_group_default,
11
- Popover: combo_box_popover_default,
12
- Root: combo_box_root_default,
13
- Trigger: combo_box_trigger_default,
14
- Value: combo_box_value_default
15
- });
16
- //#endregion
17
- export { ComboBox, combo_box_input_group_default as ComboBoxInputGroup, combo_box_popover_default as ComboBoxPopover, combo_box_root_default as ComboBoxRoot, combo_box_trigger_default as ComboBoxTrigger, combo_box_value_default as ComboBoxValue, comboBoxVariants, useComboBoxContext };
8
+ export { combo_box_root_default as ComboBox, combo_box_input_group_default as ComboBoxInputGroup, combo_box_popover_default as ComboBoxPopover, combo_box_trigger_default as ComboBoxTrigger, combo_box_value_default as ComboBoxValue, comboBoxVariants, useComboBoxContext };
@@ -7,7 +7,7 @@ import { useDateFieldState } from "../../composables/use-date-field-state.js";
7
7
  import date_input_group_hidden_input_default from "../date-input-group/date-input-group-hidden-input.js";
8
8
  import { computed, createComponent, createSlot, defineVaporComponent, renderEffect, setAttr, setClass, setInsertionState, shallowRef, template, unref } from "vue";
9
9
  import { dateFieldVariants } from "@ropav/styles";
10
- import { createCalendar } from "@internationalized/date";
10
+ import { GregorianCalendar } from "@internationalized/date";
11
11
  //#region src/components/date-field/date-field-root.vue?vue&type=script&setup=true&vapor=true&lang.ts
12
12
  var t0 = template("<div data-slot=date-field>");
13
13
  var date_field_root_vue_vue_type_script_setup_true_vapor_true_lang_default = /*@__PURE__*/ defineVaporComponent({
@@ -79,7 +79,7 @@ var date_field_root_vue_vue_type_script_setup_true_vapor_true_lang_default = /*@
79
79
  const element = shallowRef(null);
80
80
  const inputElement = shallowRef(null);
81
81
  const state = useDateFieldState({
82
- createCalendar: (identifier) => (props.createCalendar ?? createCalendar)(identifier),
82
+ createCalendar: (identifier) => props.createCalendar?.(identifier) ?? new GregorianCalendar(),
83
83
  defaultValue: () => props.defaultValue,
84
84
  granularity: () => props.granularity,
85
85
  hideTimeZone: () => props.hideTimeZone,