ropav 0.6.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 (320) 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/index.d.ts +2 -80
  112. package/dist/components/drop-zone/index.js +1 -7
  113. package/dist/components/dropdown/dropdown-popover.js +2 -2
  114. package/dist/components/dropdown/index.d.ts +2 -265
  115. package/dist/components/dropdown/index.js +1 -23
  116. package/dist/components/empty-state/index.d.ts +2 -45
  117. package/dist/components/empty-state/index.js +1 -4
  118. package/dist/components/error-message/index.d.ts +2 -45
  119. package/dist/components/error-message/index.js +1 -4
  120. package/dist/components/field-error/field-error-root.js +2 -2
  121. package/dist/components/field-error/index.d.ts +2 -66
  122. package/dist/components/field-error/index.js +1 -7
  123. package/dist/components/fieldset/index.d.ts +2 -110
  124. package/dist/components/fieldset/index.js +1 -9
  125. package/dist/components/form/index.d.ts +2 -49
  126. package/dist/components/form/index.js +1 -4
  127. package/dist/components/header/index.d.ts +2 -45
  128. package/dist/components/header/index.js +1 -4
  129. package/dist/components/i18n-provider/index.d.ts +2 -2
  130. package/dist/components/i18n-provider/index.js +1 -1
  131. package/dist/components/input/index.d.ts +2 -51
  132. package/dist/components/input/index.js +1 -4
  133. package/dist/components/input-group/index.d.ts +2 -141
  134. package/dist/components/input-group/index.js +1 -10
  135. package/dist/components/input-otp/index.d.ts +2 -151
  136. package/dist/components/input-otp/index.js +1 -9
  137. package/dist/components/kbd/index.d.ts +2 -86
  138. package/dist/components/kbd/index.js +1 -8
  139. package/dist/components/label/index.d.ts +2 -51
  140. package/dist/components/label/index.js +1 -4
  141. package/dist/components/link/index.d.ts +2 -94
  142. package/dist/components/link/index.js +1 -7
  143. package/dist/components/list-box/index.d.ts +2 -191
  144. package/dist/components/list-box/index.js +1 -14
  145. package/dist/components/list-box/list-box-drop-indicator.js +2 -2
  146. package/dist/components/list-box/list-box-root.js +4 -4
  147. package/dist/components/list-box-item/index.d.ts +2 -74
  148. package/dist/components/list-box-item/index.js +1 -7
  149. package/dist/components/list-box-item/list-box-item-root.js +2 -2
  150. package/dist/components/list-box-section/index.d.ts +2 -47
  151. package/dist/components/list-box-section/index.js +1 -4
  152. package/dist/components/menu/index.d.ts +2 -83
  153. package/dist/components/menu/index.js +1 -4
  154. package/dist/components/menu-item/index.d.ts +2 -96
  155. package/dist/components/menu-item/index.js +1 -8
  156. package/dist/components/menu-item/menu-item-root.js +2 -2
  157. package/dist/components/menu-section/index.d.ts +2 -63
  158. package/dist/components/menu-section/index.js +1 -4
  159. package/dist/components/meter/index.d.ts +2 -127
  160. package/dist/components/meter/index.js +1 -9
  161. package/dist/components/modal/index.d.ts +2 -296
  162. package/dist/components/modal/index.js +1 -17
  163. package/dist/components/modal/modal-close.js +1 -1
  164. package/dist/components/modal/modal-heading.js +2 -2
  165. package/dist/components/modal/modal.context.d.ts +2 -2
  166. package/dist/components/modal/modal.types.d.ts +1 -1
  167. package/dist/components/number-field/index.d.ts +2 -186
  168. package/dist/components/number-field/index.js +1 -10
  169. package/dist/components/number-field/number-field-decrement-button.js +1 -1
  170. package/dist/components/number-field/number-field-increment-button.js +1 -1
  171. package/dist/components/overlay/overlay-slots.d.ts +1 -1
  172. package/dist/components/pagination/index.d.ts +2 -244
  173. package/dist/components/pagination/index.js +1 -15
  174. package/dist/components/pagination/pagination-next.js +4 -1
  175. package/dist/components/pagination/pagination-previous.js +4 -1
  176. package/dist/components/popover/index.d.ts +2 -172
  177. package/dist/components/popover/index.js +1 -11
  178. package/dist/components/popover/popover-arrow.js +2 -2
  179. package/dist/components/popover/popover-content.js +2 -2
  180. package/dist/components/popover/popover-heading.js +2 -2
  181. package/dist/components/popover/popover.types.d.ts +1 -1
  182. package/dist/components/progress-bar/index.d.ts +2 -133
  183. package/dist/components/progress-bar/index.js +1 -9
  184. package/dist/components/progress-circle/index.d.ts +2 -124
  185. package/dist/components/progress-circle/index.js +1 -9
  186. package/dist/components/radio/index.d.ts +2 -120
  187. package/dist/components/radio/index.js +1 -9
  188. package/dist/components/radio-group/index.d.ts +2 -79
  189. package/dist/components/radio-group/index.js +1 -4
  190. package/dist/components/range-calendar/index.d.ts +2 -424
  191. package/dist/components/range-calendar/index.js +1 -27
  192. package/dist/components/range-calendar/range-calendar-cell.js +4 -2
  193. package/dist/components/range-calendar/range-calendar-grid-body.js +2 -2
  194. package/dist/components/range-calendar/range-calendar-grid-header.js +1 -1
  195. package/dist/components/range-calendar/range-calendar-grid.js +2 -1
  196. package/dist/components/range-calendar/range-calendar-root.d.ts +3 -3
  197. package/dist/components/range-calendar/range-calendar-root.js +13 -13
  198. package/dist/components/range-calendar/range-calendar.context.d.ts +1 -1
  199. package/dist/components/range-calendar/range-calendar.context.js +1 -1
  200. package/dist/components/range-calendar/range-calendar.types.d.ts +3 -1
  201. package/dist/components/router-provider/index.d.ts +2 -2
  202. package/dist/components/router-provider/index.js +1 -1
  203. package/dist/components/scroll-shadow/index.d.ts +2 -69
  204. package/dist/components/scroll-shadow/index.js +1 -4
  205. package/dist/components/search-field/index.d.ts +2 -195
  206. package/dist/components/search-field/index.js +1 -10
  207. package/dist/components/search-field/search-field-clear-button.js +5 -5
  208. package/dist/components/segmented-control/index.d.ts +2 -126
  209. package/dist/components/segmented-control/index.js +1 -9
  210. package/dist/components/select/index.d.ts +2 -202
  211. package/dist/components/select/index.js +1 -10
  212. package/dist/components/select/select-popover.js +2 -2
  213. package/dist/components/select/select-value.js +1 -1
  214. package/dist/components/separator/index.d.ts +2 -41
  215. package/dist/components/separator/index.js +1 -4
  216. package/dist/components/sidebar/index.d.ts +2 -520
  217. package/dist/components/sidebar/index.js +1 -25
  218. package/dist/components/sidebar/sidebar-content.js +2 -2
  219. package/dist/components/sidebar/sidebar-item-tooltip.js +2 -2
  220. package/dist/components/sidebar/sidebar-panel.js +1 -0
  221. package/dist/components/sidebar/sidebar-rail.js +1 -0
  222. package/dist/components/sidebar/sidebar-root.js +23 -5
  223. package/dist/components/sidebar/sidebar.state.d.ts +3 -0
  224. package/dist/components/sidebar/sidebar.state.js +5 -0
  225. package/dist/components/sidebar/sidebar.types.d.ts +2 -2
  226. package/dist/components/skeleton/index.d.ts +2 -47
  227. package/dist/components/skeleton/index.js +1 -4
  228. package/dist/components/slider/index.d.ts +2 -180
  229. package/dist/components/slider/index.js +1 -11
  230. package/dist/components/spinner/index.d.ts +2 -41
  231. package/dist/components/spinner/index.js +1 -4
  232. package/dist/components/splitter/index.d.ts +2 -134
  233. package/dist/components/splitter/index.js +1 -8
  234. package/dist/components/surface/index.d.ts +2 -47
  235. package/dist/components/surface/index.js +1 -4
  236. package/dist/components/switch/index.d.ts +2 -165
  237. package/dist/components/switch/index.js +1 -10
  238. package/dist/components/switch-group/index.d.ts +2 -47
  239. package/dist/components/switch-group/index.js +1 -4
  240. package/dist/components/table/index.d.ts +2 -442
  241. package/dist/components/table/index.js +1 -23
  242. package/dist/components/table/table-body.js +9 -9
  243. package/dist/components/table/table-cell.js +3 -3
  244. package/dist/components/table/table-column.js +4 -4
  245. package/dist/components/table/table-content.js +3 -3
  246. package/dist/components/table/table-drag-handle.js +1 -1
  247. package/dist/components/table/table-drop-indicator.js +9 -7
  248. package/dist/components/table/table-header.js +4 -4
  249. package/dist/components/table/table-load-more.js +5 -5
  250. package/dist/components/table/table-row.js +4 -4
  251. package/dist/components/table/table.context.d.ts +2 -2
  252. package/dist/components/table/table.types.d.ts +3 -3
  253. package/dist/components/tabs/index.d.ts +2 -189
  254. package/dist/components/tabs/index.js +1 -12
  255. package/dist/components/tabs/tabs-list-container.js +2 -2
  256. package/dist/components/tag/index.d.ts +2 -76
  257. package/dist/components/tag/index.js +1 -7
  258. package/dist/components/tag/tag-remove-button.js +2 -2
  259. package/dist/components/tag-group/index.d.ts +2 -93
  260. package/dist/components/tag-group/index.js +1 -7
  261. package/dist/components/textarea/index.d.ts +2 -51
  262. package/dist/components/textarea/index.js +1 -4
  263. package/dist/components/textfield/index.d.ts +2 -109
  264. package/dist/components/textfield/index.js +1 -4
  265. package/dist/components/time-field/index.d.ts +2 -233
  266. package/dist/components/time-field/index.js +1 -12
  267. package/dist/components/toast/index.d.ts +2 -216
  268. package/dist/components/toast/index.js +1 -15
  269. package/dist/components/toast/toast-action-button.js +2 -2
  270. package/dist/components/toast/toast-default-content.js +1 -1
  271. package/dist/components/toast/toast-queue.d.ts +1 -1
  272. package/dist/components/toast/toast-queue.js +1 -1
  273. package/dist/components/toast/toast-root.js +1 -1
  274. package/dist/components/toast/toast.types.d.ts +3 -3
  275. package/dist/components/toggle-button/index.d.ts +2 -65
  276. package/dist/components/toggle-button/index.js +1 -4
  277. package/dist/components/toggle-button-group/index.d.ts +2 -82
  278. package/dist/components/toggle-button-group/index.js +1 -7
  279. package/dist/components/toolbar/index.d.ts +2 -49
  280. package/dist/components/toolbar/index.js +1 -4
  281. package/dist/components/tooltip/index.d.ts +2 -136
  282. package/dist/components/tooltip/index.js +1 -9
  283. package/dist/components/tooltip/tooltip-arrow.js +2 -2
  284. package/dist/components/tooltip/tooltip-root.js +1 -1
  285. package/dist/components/tooltip/tooltip.types.d.ts +1 -1
  286. package/dist/components/typography/code.js +2 -2
  287. package/dist/components/typography/heading.js +2 -2
  288. package/dist/components/typography/index.d.ts +2 -1269
  289. package/dist/components/typography/index.js +1 -10
  290. package/dist/components/typography/paragraph.js +2 -2
  291. package/dist/components/typography/typography-root.js +2 -2
  292. package/dist/composables/use-calendar-grid.js +2 -1
  293. package/dist/composables/use-calendar-year-picker.js +12 -3
  294. package/dist/composables/use-color-slider.d.ts +1 -1
  295. package/dist/composables/use-color-slider.js +1 -1
  296. package/dist/composables/use-press.d.ts +10 -0
  297. package/dist/composables/use-press.js +27 -2
  298. package/dist/composables/use-prevent-scroll.d.ts +11 -5
  299. package/dist/composables/use-prevent-scroll.js +11 -5
  300. package/dist/composables/use-range-calendar.js +2 -1
  301. package/dist/composables/use-text-field.js +1 -1
  302. package/dist/index.d.ts +1 -1
  303. package/dist/index.js +110 -111
  304. package/dist/styles-no-preflight.css +3 -0
  305. package/dist/styles-overrides.css +15 -0
  306. package/dist/styles.css +1 -16
  307. package/dist/utils/calendar-systems.d.ts +14 -0
  308. package/dist/utils/calendar-systems.js +2 -0
  309. package/dist/utils/calendar.d.ts +14 -5
  310. package/dist/utils/calendar.js +18 -21
  311. package/dist/utils/compose.d.ts +4 -6
  312. package/dist/utils/compose.js +4 -6
  313. package/dist/utils/dnd-list-drop-target-delegate.d.ts +19 -1
  314. package/dist/utils/dnd-list-drop-target-delegate.js +37 -6
  315. package/dist/utils/index.d.ts +1 -0
  316. package/dist/utils/virtualizer-list-layout.d.ts +8 -0
  317. package/dist/utils/virtualizer-list-layout.js +12 -2
  318. package/dist/utils/virtualizer-table-layout.d.ts +1 -0
  319. package/dist/utils/virtualizer-table-layout.js +3 -0
  320. package/package.json +7 -4
@@ -2,152 +2,8 @@ import CheckboxContent from "./checkbox-content.js";
2
2
  import CheckboxControl from "./checkbox-control.js";
3
3
  import CheckboxIndicator from "./checkbox-indicator.js";
4
4
  import CheckboxRoot from "./checkbox-root.js";
5
- export declare const Checkbox: ((__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
6
- attrs: any;
7
- slots: {
8
- default?: (props: import("./checkbox.types.js").CheckboxSlotProps) => unknown;
9
- };
10
- emit: ((evt: "change", isSelected: boolean) => void) & ((evt: "update:isSelected", isSelected: boolean) => void);
11
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
12
- props: import('vue').PublicProps & {
13
- class?: string;
14
- variant?: import("@ropav/styles").CheckboxVariants["variant"];
15
- isSelected?: boolean;
16
- defaultSelected?: boolean;
17
- isIndeterminate?: boolean;
18
- isDisabled?: boolean;
19
- isReadOnly?: boolean;
20
- isInvalid?: boolean;
21
- isRequired?: boolean;
22
- validate?: import("../../index.js").ValidationFunction<boolean>;
23
- validationBehavior?: import("../../index.js").ValidationBehavior;
24
- name?: string;
25
- value?: string;
26
- form?: string;
27
- id?: string;
28
- ariaLabel?: string;
29
- ariaLabelledby?: string;
30
- ariaDescribedby?: string;
31
- onChange?: ((isSelected: boolean) => any) | undefined;
32
- "onUpdate:isSelected"?: ((isSelected: boolean) => any) | undefined;
33
- } & (typeof globalThis extends {
34
- __VLS_PROPS_FALLBACK: infer P;
35
- } ? P : {});
36
- expose: (exposed: {}) => void;
37
- attrs: any;
38
- slots: {
39
- default?: (props: import("./checkbox.types.js").CheckboxSlotProps) => unknown;
40
- };
41
- emit: ((evt: "change", isSelected: boolean) => void) & ((evt: "update:isSelected", isSelected: boolean) => void);
42
- }>) => import('vue').VNode & {
43
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
44
- }) & {
45
- Content: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
46
- attrs: any;
47
- slots: {
48
- default?: (props: import("./checkbox.types.js").CheckboxContentSlotProps) => unknown;
49
- };
50
- emit: {};
51
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
52
- props: import('vue').PublicProps & {
53
- class?: string;
54
- } & (typeof globalThis extends {
55
- __VLS_PROPS_FALLBACK: infer P;
56
- } ? P : {});
57
- expose: (exposed: {}) => void;
58
- attrs: any;
59
- slots: {
60
- default?: (props: import("./checkbox.types.js").CheckboxContentSlotProps) => unknown;
61
- };
62
- emit: {};
63
- }>) => import('vue').VNode & {
64
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
65
- };
66
- Control: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
67
- attrs: any;
68
- slots: {
69
- default?: () => unknown;
70
- };
71
- emit: {};
72
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
73
- props: import('vue').PublicProps & {
74
- class?: string;
75
- } & (typeof globalThis extends {
76
- __VLS_PROPS_FALLBACK: infer P;
77
- } ? P : {});
78
- expose: (exposed: {}) => void;
79
- attrs: any;
80
- slots: {
81
- default?: () => unknown;
82
- };
83
- emit: {};
84
- }>) => import('vue').VNode & {
85
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
86
- };
87
- Indicator: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
88
- attrs: any;
89
- slots: {
90
- default?: (props: import("./checkbox.types.js").CheckboxSlotProps) => unknown;
91
- };
92
- emit: {};
93
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
94
- props: import('vue').PublicProps & {
95
- class?: string;
96
- } & (typeof globalThis extends {
97
- __VLS_PROPS_FALLBACK: infer P;
98
- } ? P : {});
99
- expose: (exposed: {}) => void;
100
- attrs: any;
101
- slots: {
102
- default?: (props: import("./checkbox.types.js").CheckboxSlotProps) => unknown;
103
- };
104
- emit: {};
105
- }>) => import('vue').VNode & {
106
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
107
- };
108
- Root: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
109
- attrs: any;
110
- slots: {
111
- default?: (props: import("./checkbox.types.js").CheckboxSlotProps) => unknown;
112
- };
113
- emit: ((evt: "change", isSelected: boolean) => void) & ((evt: "update:isSelected", isSelected: boolean) => void);
114
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
115
- props: import('vue').PublicProps & {
116
- class?: string;
117
- variant?: import("@ropav/styles").CheckboxVariants["variant"];
118
- isSelected?: boolean;
119
- defaultSelected?: boolean;
120
- isIndeterminate?: boolean;
121
- isDisabled?: boolean;
122
- isReadOnly?: boolean;
123
- isInvalid?: boolean;
124
- isRequired?: boolean;
125
- validate?: import("../../index.js").ValidationFunction<boolean>;
126
- validationBehavior?: import("../../index.js").ValidationBehavior;
127
- name?: string;
128
- value?: string;
129
- form?: string;
130
- id?: string;
131
- ariaLabel?: string;
132
- ariaLabelledby?: string;
133
- ariaDescribedby?: string;
134
- onChange?: ((isSelected: boolean) => any) | undefined;
135
- "onUpdate:isSelected"?: ((isSelected: boolean) => any) | undefined;
136
- } & (typeof globalThis extends {
137
- __VLS_PROPS_FALLBACK: infer P;
138
- } ? P : {});
139
- expose: (exposed: {}) => void;
140
- attrs: any;
141
- slots: {
142
- default?: (props: import("./checkbox.types.js").CheckboxSlotProps) => unknown;
143
- };
144
- emit: ((evt: "change", isSelected: boolean) => void) & ((evt: "update:isSelected", isSelected: boolean) => void);
145
- }>) => import('vue').VNode & {
146
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
147
- };
148
- };
149
- export { CheckboxRoot, CheckboxContent, CheckboxControl, CheckboxIndicator };
150
- export type { CheckboxRootProps, CheckboxRootProps as CheckboxProps, CheckboxContentProps, CheckboxControlProps, CheckboxIndicatorProps, CheckboxSlotProps, CheckboxContentSlotProps, } from "./checkbox.types.js";
5
+ export { CheckboxRoot as Checkbox, CheckboxContent, CheckboxControl, CheckboxIndicator };
6
+ export type { CheckboxRootProps as CheckboxProps, CheckboxContentProps, CheckboxControlProps, CheckboxIndicatorProps, CheckboxSlotProps, CheckboxContentSlotProps, } from "./checkbox.types.js";
151
7
  export { useCheckboxContext, provideCheckboxContext } from "./checkbox.context.js";
152
8
  export type { CheckboxContext } from "./checkbox.context.js";
153
9
  export { checkboxVariants } from "@ropav/styles";
@@ -4,12 +4,4 @@ import checkbox_control_default from "./checkbox-control.js";
4
4
  import checkbox_indicator_default from "./checkbox-indicator.js";
5
5
  import checkbox_root_default from "./checkbox-root.js";
6
6
  import { checkboxVariants } from "@ropav/styles";
7
- //#region src/components/checkbox/index.ts
8
- var Checkbox = Object.assign(checkbox_root_default, {
9
- Content: checkbox_content_default,
10
- Control: checkbox_control_default,
11
- Indicator: checkbox_indicator_default,
12
- Root: checkbox_root_default
13
- });
14
- //#endregion
15
- export { Checkbox, checkbox_content_default as CheckboxContent, checkbox_control_default as CheckboxControl, checkbox_indicator_default as CheckboxIndicator, checkbox_root_default as CheckboxRoot, checkboxVariants, provideCheckboxContext, useCheckboxContext };
7
+ export { checkbox_root_default as Checkbox, checkbox_content_default as CheckboxContent, checkbox_control_default as CheckboxControl, checkbox_indicator_default as CheckboxIndicator, checkboxVariants, provideCheckboxContext, useCheckboxContext };
@@ -1,81 +1,6 @@
1
1
  import CheckboxGroupRoot from "./checkbox-group-root.js";
2
- export declare const CheckboxGroup: ((__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
3
- attrs: any;
4
- slots: {
5
- default?: (props: import("./checkbox-group.types.js").CheckboxGroupSlotProps) => unknown;
6
- };
7
- emit: ((evt: "change", value: string[]) => void) & ((evt: "update:value", value: string[]) => void);
8
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
9
- props: import('vue').PublicProps & {
10
- class?: string;
11
- variant?: import("@ropav/styles").CheckboxVariants["variant"] & import("@ropav/styles").CheckboxGroupVariants["variant"];
12
- value?: string[];
13
- defaultValue?: string[];
14
- isDisabled?: boolean;
15
- isReadOnly?: boolean;
16
- isRequired?: boolean;
17
- isInvalid?: boolean;
18
- validate?: import("../../index.js").ValidationFunction<string[]>;
19
- validationBehavior?: import("../../index.js").ValidationBehavior;
20
- name?: string;
21
- form?: string;
22
- ariaLabel?: string;
23
- ariaLabelledby?: string;
24
- ariaDescribedby?: string;
25
- onChange?: ((value: string[]) => any) | undefined;
26
- "onUpdate:value"?: ((value: string[]) => any) | undefined;
27
- } & (typeof globalThis extends {
28
- __VLS_PROPS_FALLBACK: infer P;
29
- } ? P : {});
30
- expose: (exposed: {}) => void;
31
- attrs: any;
32
- slots: {
33
- default?: (props: import("./checkbox-group.types.js").CheckboxGroupSlotProps) => unknown;
34
- };
35
- emit: ((evt: "change", value: string[]) => void) & ((evt: "update:value", value: string[]) => void);
36
- }>) => import('vue').VNode & {
37
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
38
- }) & {
39
- Root: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
40
- attrs: any;
41
- slots: {
42
- default?: (props: import("./checkbox-group.types.js").CheckboxGroupSlotProps) => unknown;
43
- };
44
- emit: ((evt: "change", value: string[]) => void) & ((evt: "update:value", value: string[]) => void);
45
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
46
- props: import('vue').PublicProps & {
47
- class?: string;
48
- variant?: import("@ropav/styles").CheckboxVariants["variant"] & import("@ropav/styles").CheckboxGroupVariants["variant"];
49
- value?: string[];
50
- defaultValue?: string[];
51
- isDisabled?: boolean;
52
- isReadOnly?: boolean;
53
- isRequired?: boolean;
54
- isInvalid?: boolean;
55
- validate?: import("../../index.js").ValidationFunction<string[]>;
56
- validationBehavior?: import("../../index.js").ValidationBehavior;
57
- name?: string;
58
- form?: string;
59
- ariaLabel?: string;
60
- ariaLabelledby?: string;
61
- ariaDescribedby?: string;
62
- onChange?: ((value: string[]) => any) | undefined;
63
- "onUpdate:value"?: ((value: string[]) => any) | undefined;
64
- } & (typeof globalThis extends {
65
- __VLS_PROPS_FALLBACK: infer P;
66
- } ? P : {});
67
- expose: (exposed: {}) => void;
68
- attrs: any;
69
- slots: {
70
- default?: (props: import("./checkbox-group.types.js").CheckboxGroupSlotProps) => unknown;
71
- };
72
- emit: ((evt: "change", value: string[]) => void) & ((evt: "update:value", value: string[]) => void);
73
- }>) => import('vue').VNode & {
74
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
75
- };
76
- };
77
- export { CheckboxGroupRoot };
78
- export type { CheckboxGroupRootProps, CheckboxGroupRootProps as CheckboxGroupProps, CheckboxGroupSlotProps, } from "./checkbox-group.types.js";
2
+ export { CheckboxGroupRoot as CheckboxGroup };
3
+ export type { CheckboxGroupRootProps as CheckboxGroupProps, CheckboxGroupSlotProps, } from "./checkbox-group.types.js";
79
4
  export { useCheckboxGroupContext, provideCheckboxGroupContext } from "./checkbox-group.context.js";
80
5
  export type { CheckboxGroupContext } from "./checkbox-group.context.js";
81
6
  export { checkboxGroupVariants } from "@ropav/styles";
@@ -1,7 +1,4 @@
1
1
  import { provideCheckboxGroupContext, useCheckboxGroupContext } from "./checkbox-group.context.js";
2
2
  import checkbox_group_root_default from "./checkbox-group-root.js";
3
3
  import { checkboxGroupVariants } from "@ropav/styles";
4
- //#region src/components/checkbox-group/index.ts
5
- var CheckboxGroup = Object.assign(checkbox_group_root_default, { Root: checkbox_group_root_default });
6
- //#endregion
7
- export { CheckboxGroup, checkbox_group_root_default as CheckboxGroupRoot, checkboxGroupVariants, provideCheckboxGroupContext, useCheckboxGroupContext };
4
+ export { checkbox_group_root_default as CheckboxGroup, checkboxGroupVariants, provideCheckboxGroupContext, useCheckboxGroupContext };
@@ -1,7 +1,7 @@
1
1
  /**
2
- * Renders the chip's children, wrapping them in `Chip.Label` when they are only text.
2
+ * Renders the chip's children, wrapping them in `ChipLabel` when they are only text.
3
3
  *
4
- * The point is that `<Chip>Label</Chip>` and `<Chip><Chip.Label>Label</Chip.Label></Chip>`
4
+ * The point is that `<Chip>Label</Chip>` and `<Chip><ChipLabel>Label</ChipLabel></Chip>`
5
5
  * produce the same DOM. A template cannot ask whether its children are bare text, but a slot
6
6
  * function can be answered: it returns
7
7
  * the block it just rendered, and a lone text child resolves to a single text node while
@@ -14,9 +14,9 @@
14
14
  * Written as a Vapor component rather than an SFC because only a hand-written `setup` gets
15
15
  * to hold the block; an SFC's `<slot />` is inserted before there is anywhere to intervene.
16
16
  */
17
- declare const ChipAutoLabel: new () => import("vue").VaporComponentInstance<Record<string, any> & {} & import("vue").ReservedProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {}, {
17
+ declare const ChipAutoLabel: import("vue").DefineVaporSetupFnComponent<Record<string, any>, {}, {
18
18
  [x: string]: import("vue").VaporSlot;
19
19
  }, Record<string, any>, import("vue").DynamicFragment | Node | import("vue").VaporComponentInstance<{}, {}, {
20
20
  [x: string]: import("vue").VaporSlot;
21
- }, Record<string, any>, import("vue").Block, Record<string, any>> | import("vue").VaporFragment<import("vue").Block>, Record<string, any>>;
21
+ }, Record<string, any>, import("vue").Block, Record<string, any>> | import("vue").VaporFragment<import("vue").Block>, Record<string, any> & {} & import("vue").ReservedProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps>;
22
22
  export default ChipAutoLabel;
@@ -3,9 +3,9 @@ import chip_label_default from "./chip-label.js";
3
3
  import { createComponent, defineVaporComponent } from "vue";
4
4
  //#region src/components/chip/chip-auto-label.ts
5
5
  /**
6
- * Renders the chip's children, wrapping them in `Chip.Label` when they are only text.
6
+ * Renders the chip's children, wrapping them in `ChipLabel` when they are only text.
7
7
  *
8
- * The point is that `<Chip>Label</Chip>` and `<Chip><Chip.Label>Label</Chip.Label></Chip>`
8
+ * The point is that `<Chip>Label</Chip>` and `<Chip><ChipLabel>Label</ChipLabel></Chip>`
9
9
  * produce the same DOM. A template cannot ask whether its children are bare text, but a slot
10
10
  * function can be answered: it returns
11
11
  * the block it just rendered, and a lone text child resolves to a single text node while
@@ -24,8 +24,8 @@ var chip_root_vue_vue_type_script_setup_true_vapor_true_lang_default = /*@__PURE
24
24
  renderEffect(() => setClass(n2, slots.value.base({ class: props.class })));
25
25
  setInsertionState(n2);
26
26
  createComponent(unref(ChipAutoLabel), null, extend(() => {
27
- return createSlot("default", null, null, 36);
28
- }, { _: 8 }));
27
+ return createSlot("default", null, null, 4);
28
+ }, { _: 1 }));
29
29
  return n2;
30
30
  }
31
31
  });
@@ -1,76 +1,6 @@
1
1
  import ChipLabel from "./chip-label.js";
2
2
  import ChipRoot from "./chip-root.js";
3
- export declare const Chip: ((__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
4
- attrs: any;
5
- slots: {
6
- default?: () => unknown;
7
- };
8
- emit: {};
9
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
10
- props: import('vue').PublicProps & {
11
- class?: string;
12
- color?: import("@ropav/styles").ChipVariants["color"];
13
- size?: import("@ropav/styles").ChipVariants["size"];
14
- variant?: import("@ropav/styles").ChipVariants["variant"];
15
- } & (typeof globalThis extends {
16
- __VLS_PROPS_FALLBACK: infer P;
17
- } ? P : {});
18
- expose: (exposed: {}) => void;
19
- attrs: any;
20
- slots: {
21
- default?: () => unknown;
22
- };
23
- emit: {};
24
- }>) => import('vue').VNode & {
25
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
26
- }) & {
27
- Label: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
28
- attrs: any;
29
- slots: {
30
- default?: () => unknown;
31
- };
32
- emit: {};
33
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
34
- props: import('vue').PublicProps & {
35
- class?: string;
36
- } & (typeof globalThis extends {
37
- __VLS_PROPS_FALLBACK: infer P;
38
- } ? P : {});
39
- expose: (exposed: {}) => void;
40
- attrs: any;
41
- slots: {
42
- default?: () => unknown;
43
- };
44
- emit: {};
45
- }>) => import('vue').VNode & {
46
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
47
- };
48
- Root: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
49
- attrs: any;
50
- slots: {
51
- default?: () => unknown;
52
- };
53
- emit: {};
54
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
55
- props: import('vue').PublicProps & {
56
- class?: string;
57
- color?: import("@ropav/styles").ChipVariants["color"];
58
- size?: import("@ropav/styles").ChipVariants["size"];
59
- variant?: import("@ropav/styles").ChipVariants["variant"];
60
- } & (typeof globalThis extends {
61
- __VLS_PROPS_FALLBACK: infer P;
62
- } ? P : {});
63
- expose: (exposed: {}) => void;
64
- attrs: any;
65
- slots: {
66
- default?: () => unknown;
67
- };
68
- emit: {};
69
- }>) => import('vue').VNode & {
70
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
71
- };
72
- };
73
- export { ChipRoot, ChipLabel };
74
- export type { ChipRootProps, ChipRootProps as ChipProps, ChipLabelProps } from "./chip.types.js";
3
+ export { ChipRoot as Chip, ChipLabel };
4
+ export type { ChipRootProps as ChipProps, ChipLabelProps } from "./chip.types.js";
75
5
  export { chipVariants } from "@ropav/styles";
76
6
  export type { ChipVariants } from "@ropav/styles";
@@ -1,10 +1,4 @@
1
1
  import chip_label_default from "./chip-label.js";
2
2
  import chip_root_default from "./chip-root.js";
3
3
  import { chipVariants } from "@ropav/styles";
4
- //#region src/components/chip/index.ts
5
- var Chip = Object.assign(chip_root_default, {
6
- Label: chip_label_default,
7
- Root: chip_root_default
8
- });
9
- //#endregion
10
- export { Chip, chip_label_default as ChipLabel, chip_root_default as ChipRoot, chipVariants };
4
+ export { chip_root_default as Chip, chip_label_default as ChipLabel, chipVariants };
@@ -1,58 +1,5 @@
1
1
  import CloseButtonRoot from "./close-button-root.js";
2
- export declare const CloseButton: ((__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
3
- attrs: any;
4
- slots: {
5
- default?: (props: import("./close-button.types.js").CloseButtonSlotProps) => unknown;
6
- };
7
- emit: (evt: "click", event: MouseEvent) => void;
8
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
9
- props: import('vue').PublicProps & {
10
- class?: string;
11
- isDisabled?: boolean;
12
- isPending?: boolean;
13
- type?: "button" | "reset" | "submit";
14
- variant?: import("@ropav/styles").CloseButtonVariants["variant"];
15
- onClick?: ((event: MouseEvent) => any) | undefined;
16
- } & (typeof globalThis extends {
17
- __VLS_PROPS_FALLBACK: infer P;
18
- } ? P : {});
19
- expose: (exposed: {}) => void;
20
- attrs: any;
21
- slots: {
22
- default?: (props: import("./close-button.types.js").CloseButtonSlotProps) => unknown;
23
- };
24
- emit: (evt: "click", event: MouseEvent) => void;
25
- }>) => import('vue').VNode & {
26
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
27
- }) & {
28
- Root: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
29
- attrs: any;
30
- slots: {
31
- default?: (props: import("./close-button.types.js").CloseButtonSlotProps) => unknown;
32
- };
33
- emit: (evt: "click", event: MouseEvent) => void;
34
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
35
- props: import('vue').PublicProps & {
36
- class?: string;
37
- isDisabled?: boolean;
38
- isPending?: boolean;
39
- type?: "button" | "reset" | "submit";
40
- variant?: import("@ropav/styles").CloseButtonVariants["variant"];
41
- onClick?: ((event: MouseEvent) => any) | undefined;
42
- } & (typeof globalThis extends {
43
- __VLS_PROPS_FALLBACK: infer P;
44
- } ? P : {});
45
- expose: (exposed: {}) => void;
46
- attrs: any;
47
- slots: {
48
- default?: (props: import("./close-button.types.js").CloseButtonSlotProps) => unknown;
49
- };
50
- emit: (evt: "click", event: MouseEvent) => void;
51
- }>) => import('vue').VNode & {
52
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
53
- };
54
- };
55
- export { CloseButtonRoot };
56
- export type { CloseButtonRootProps, CloseButtonRootProps as CloseButtonProps, CloseButtonSlotProps, } from "./close-button.types.js";
2
+ export { CloseButtonRoot as CloseButton };
3
+ export type { CloseButtonRootProps as CloseButtonProps, CloseButtonSlotProps, } from "./close-button.types.js";
57
4
  export { closeButtonVariants } from "@ropav/styles";
58
5
  export type { CloseButtonVariants } from "@ropav/styles";
@@ -1,6 +1,3 @@
1
1
  import close_button_root_default from "./close-button-root.js";
2
2
  import { closeButtonVariants } from "@ropav/styles";
3
- //#region src/components/close-button/index.ts
4
- var CloseButton = Object.assign(close_button_root_default, { Root: close_button_root_default });
5
- //#endregion
6
- export { CloseButton, close_button_root_default as CloseButtonRoot, closeButtonVariants };
3
+ export { close_button_root_default as CloseButton, closeButtonVariants };
@@ -1,104 +1,6 @@
1
1
  import ColorAreaRoot from "./color-area-root.js";
2
2
  import ColorAreaThumb from "./color-area-thumb.js";
3
- export declare const ColorArea: ((__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
4
- attrs: any;
5
- slots: {
6
- default?: (props: import("./color-area.types.js").ColorAreaSlotProps) => unknown;
7
- };
8
- emit: ((evt: "change", value: import("../../index.js").Color) => void) & ((evt: "changeEnd", value: import("../../index.js").Color) => void) & ((evt: "update:value", value: import("../../index.js").Color) => void);
9
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
10
- props: import('vue').PublicProps & {
11
- class?: string;
12
- value?: import("../../index.js").Color | string;
13
- defaultValue?: import("../../index.js").Color | string;
14
- colorSpace?: import("../../index.js").ColorSpace;
15
- xChannel?: import("../../index.js").ColorChannel;
16
- yChannel?: import("../../index.js").ColorChannel;
17
- isDisabled?: boolean;
18
- id?: string;
19
- ariaLabel?: string;
20
- ariaLabelledby?: string;
21
- ariaDescribedby?: string;
22
- xName?: string;
23
- yName?: string;
24
- form?: string;
25
- showDots?: boolean;
26
- onChange?: ((value: import("../../index.js").Color) => any) | undefined;
27
- onChangeEnd?: ((value: import("../../index.js").Color) => any) | undefined;
28
- "onUpdate:value"?: ((value: import("../../index.js").Color) => any) | undefined;
29
- } & (typeof globalThis extends {
30
- __VLS_PROPS_FALLBACK: infer P;
31
- } ? P : {});
32
- expose: (exposed: {}) => void;
33
- attrs: any;
34
- slots: {
35
- default?: (props: import("./color-area.types.js").ColorAreaSlotProps) => unknown;
36
- };
37
- emit: ((evt: "change", value: import("../../index.js").Color) => void) & ((evt: "changeEnd", value: import("../../index.js").Color) => void) & ((evt: "update:value", value: import("../../index.js").Color) => void);
38
- }>) => import('vue').VNode & {
39
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
40
- }) & {
41
- Root: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
42
- attrs: any;
43
- slots: {
44
- default?: (props: import("./color-area.types.js").ColorAreaSlotProps) => unknown;
45
- };
46
- emit: ((evt: "change", value: import("../../index.js").Color) => void) & ((evt: "changeEnd", value: import("../../index.js").Color) => void) & ((evt: "update:value", value: import("../../index.js").Color) => void);
47
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
48
- props: import('vue').PublicProps & {
49
- class?: string;
50
- value?: import("../../index.js").Color | string;
51
- defaultValue?: import("../../index.js").Color | string;
52
- colorSpace?: import("../../index.js").ColorSpace;
53
- xChannel?: import("../../index.js").ColorChannel;
54
- yChannel?: import("../../index.js").ColorChannel;
55
- isDisabled?: boolean;
56
- id?: string;
57
- ariaLabel?: string;
58
- ariaLabelledby?: string;
59
- ariaDescribedby?: string;
60
- xName?: string;
61
- yName?: string;
62
- form?: string;
63
- showDots?: boolean;
64
- onChange?: ((value: import("../../index.js").Color) => any) | undefined;
65
- onChangeEnd?: ((value: import("../../index.js").Color) => any) | undefined;
66
- "onUpdate:value"?: ((value: import("../../index.js").Color) => any) | undefined;
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-area.types.js").ColorAreaSlotProps) => unknown;
74
- };
75
- emit: ((evt: "change", value: import("../../index.js").Color) => void) & ((evt: "changeEnd", value: import("../../index.js").Color) => void) & ((evt: "update:value", value: import("../../index.js").Color) => void);
76
- }>) => import('vue').VNode & {
77
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
78
- };
79
- Thumb: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
80
- attrs: any;
81
- slots: {
82
- default?: (props: import("./color-area.types.js").ColorAreaThumbSlotProps) => unknown;
83
- };
84
- emit: {};
85
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
86
- props: import('vue').PublicProps & {
87
- class?: string;
88
- } & (typeof globalThis extends {
89
- __VLS_PROPS_FALLBACK: infer P;
90
- } ? P : {});
91
- expose: (exposed: {}) => void;
92
- attrs: any;
93
- slots: {
94
- default?: (props: import("./color-area.types.js").ColorAreaThumbSlotProps) => unknown;
95
- };
96
- emit: {};
97
- }>) => import('vue').VNode & {
98
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
99
- };
100
- };
101
- export { ColorAreaRoot, ColorAreaThumb };
102
- export type { ColorAreaRootProps, ColorAreaRootProps as ColorAreaProps, ColorAreaThumbProps, ColorAreaSlotProps, ColorAreaThumbSlotProps, } from "./color-area.types.js";
3
+ export { ColorAreaRoot as ColorArea, ColorAreaThumb };
4
+ export type { ColorAreaRootProps as ColorAreaProps, ColorAreaThumbProps, ColorAreaSlotProps, ColorAreaThumbSlotProps, } from "./color-area.types.js";
103
5
  export { colorAreaVariants } from "@ropav/styles";
104
6
  export type { ColorAreaVariants } from "@ropav/styles";
@@ -1,10 +1,4 @@
1
1
  import color_area_root_default from "./color-area-root.js";
2
2
  import color_area_thumb_default from "./color-area-thumb.js";
3
3
  import { colorAreaVariants } from "@ropav/styles";
4
- //#region src/components/color-area/index.ts
5
- var ColorArea = Object.assign(color_area_root_default, {
6
- Root: color_area_root_default,
7
- Thumb: color_area_thumb_default
8
- });
9
- //#endregion
10
- export { ColorArea, color_area_root_default as ColorAreaRoot, color_area_thumb_default as ColorAreaThumb, colorAreaVariants };
4
+ export { color_area_root_default as ColorArea, color_area_thumb_default as ColorAreaThumb, colorAreaVariants };
@@ -2,9 +2,9 @@ import { dataAttr } from "../../utils/assertion.js";
2
2
  import { provideFieldIdsContext } from "../../composables/use-field-ids.js";
3
3
  import { provideFieldErrorContext } from "../field-error/field-error.context.js";
4
4
  import { useColorValueContext } from "../color-picker/color-picker.context.js";
5
- import { provideColorInputGroupControlContext } from "../color-input-group/color-input-group.context.js";
6
5
  import { useColorChannelField } from "../../composables/use-color-channel-field.js";
7
6
  import { useColorField } from "../../composables/use-color-field.js";
7
+ import { provideColorInputGroupControlContext } from "../color-input-group/color-input-group.context.js";
8
8
  import { computed, createIf, createSlot, defineVaporComponent, renderEffect, setAttr, setClass, setInsertionState, setProp, setValue, template, unref } from "vue";
9
9
  import { colorFieldVariants } from "@ropav/styles";
10
10
  //#region src/components/color-field/color-field-root.vue?vue&type=script&setup=true&vapor=true&lang.ts