ropav 0.6.0 → 0.8.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 (332) 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 +2 -14
  21. package/dist/components/badge/badge-auto-label.js +3 -16
  22. package/dist/components/badge/badge-root.js +2 -2
  23. package/dist/components/badge/badge.types.d.ts +4 -4
  24. package/dist/components/badge/index.d.ts +2 -95
  25. package/dist/components/badge/index.js +1 -8
  26. package/dist/components/breadcrumbs/breadcrumbs-item.js +2 -2
  27. package/dist/components/breadcrumbs/breadcrumbs.types.d.ts +2 -2
  28. package/dist/components/breadcrumbs/index.d.ts +2 -90
  29. package/dist/components/breadcrumbs/index.js +1 -7
  30. package/dist/components/button/index.d.ts +2 -61
  31. package/dist/components/button/index.js +1 -4
  32. package/dist/components/button-group/index.d.ts +2 -72
  33. package/dist/components/button-group/index.js +1 -7
  34. package/dist/components/calendar/calendar-grid-body.js +2 -2
  35. package/dist/components/calendar/calendar-grid-header.js +1 -1
  36. package/dist/components/calendar/calendar-grid.js +2 -1
  37. package/dist/components/calendar/calendar-root.d.ts +1 -1
  38. package/dist/components/calendar/calendar-root.js +13 -13
  39. package/dist/components/calendar/calendar.context.js +1 -1
  40. package/dist/components/calendar/calendar.types.d.ts +3 -1
  41. package/dist/components/calendar/index.d.ts +2 -422
  42. package/dist/components/calendar/index.js +1 -27
  43. package/dist/components/calendar-year-picker/calendar-year-picker-cell.js +15 -11
  44. package/dist/components/calendar-year-picker/calendar-year-picker-grid-body.js +9 -10
  45. package/dist/components/calendar-year-picker/calendar-year-picker-grid.js +36 -32
  46. package/dist/components/calendar-year-picker/calendar-year-picker-trigger-heading.js +1 -1
  47. package/dist/components/calendar-year-picker/calendar-year-picker-trigger.js +1 -1
  48. package/dist/components/calendar-year-picker/calendar-year-picker.context.d.ts +26 -8
  49. package/dist/components/calendar-year-picker/calendar-year-picker.context.js +2 -2
  50. package/dist/components/calendar-year-picker/calendar-year-picker.types.d.ts +8 -1
  51. package/dist/components/calendar-year-picker/index.d.ts +0 -134
  52. package/dist/components/calendar-year-picker/index.js +1 -11
  53. package/dist/components/card/index.d.ts +2 -152
  54. package/dist/components/card/index.js +1 -11
  55. package/dist/components/checkbox/index.d.ts +2 -146
  56. package/dist/components/checkbox/index.js +1 -9
  57. package/dist/components/checkbox-group/index.d.ts +2 -77
  58. package/dist/components/checkbox-group/index.js +1 -4
  59. package/dist/components/chip/chip-auto-label.d.ts +3 -19
  60. package/dist/components/chip/chip-auto-label.js +4 -21
  61. package/dist/components/chip/chip-root.js +2 -2
  62. package/dist/components/chip/chip.types.d.ts +2 -2
  63. package/dist/components/chip/index.d.ts +2 -72
  64. package/dist/components/chip/index.js +1 -7
  65. package/dist/components/close-button/index.d.ts +2 -55
  66. package/dist/components/close-button/index.js +1 -4
  67. package/dist/components/color-area/index.d.ts +2 -100
  68. package/dist/components/color-area/index.js +1 -7
  69. package/dist/components/color-field/color-field-root.js +1 -1
  70. package/dist/components/color-field/index.d.ts +2 -175
  71. package/dist/components/color-field/index.js +1 -14
  72. package/dist/components/color-input-group/index.d.ts +2 -115
  73. package/dist/components/color-input-group/index.js +1 -9
  74. package/dist/components/color-picker/color-picker-popover.js +2 -2
  75. package/dist/components/color-picker/index.d.ts +2 -110
  76. package/dist/components/color-picker/index.js +1 -8
  77. package/dist/components/color-slider/index.d.ts +2 -138
  78. package/dist/components/color-slider/index.js +1 -9
  79. package/dist/components/color-swatch/index.d.ts +2 -59
  80. package/dist/components/color-swatch/index.js +1 -4
  81. package/dist/components/color-swatch-picker/color-swatch-picker-item.js +1 -1
  82. package/dist/components/color-swatch-picker/index.d.ts +2 -129
  83. package/dist/components/color-swatch-picker/index.js +1 -9
  84. package/dist/components/combo-box/combo-box-popover.js +2 -2
  85. package/dist/components/combo-box/combo-box.types.d.ts +1 -1
  86. package/dist/components/combo-box/index.d.ts +2 -229
  87. package/dist/components/combo-box/index.js +1 -10
  88. package/dist/components/date-field/date-field-root.js +2 -2
  89. package/dist/components/date-field/index.d.ts +2 -241
  90. package/dist/components/date-field/index.js +1 -12
  91. package/dist/components/date-input-group/use-date-segment.js +1 -1
  92. package/dist/components/date-picker/date-picker-popover.js +2 -2
  93. package/dist/components/date-picker/date-picker-root.js +6 -3
  94. package/dist/components/date-picker/index.d.ts +2 -186
  95. package/dist/components/date-picker/index.js +1 -9
  96. package/dist/components/date-range-picker/date-range-picker-popover.js +2 -2
  97. package/dist/components/date-range-picker/date-range-picker-root.js +6 -3
  98. package/dist/components/date-range-picker/index.d.ts +2 -209
  99. package/dist/components/date-range-picker/index.js +1 -10
  100. package/dist/components/description/index.d.ts +2 -45
  101. package/dist/components/description/index.js +1 -4
  102. package/dist/components/disclosure/disclosure-root.js +3 -3
  103. package/dist/components/disclosure/index.d.ts +2 -163
  104. package/dist/components/disclosure/index.js +1 -11
  105. package/dist/components/disclosure-group/index.d.ts +2 -57
  106. package/dist/components/disclosure-group/index.js +1 -4
  107. package/dist/components/drawer/drawer-close.js +1 -1
  108. package/dist/components/drawer/drawer-dialog.js +1 -1
  109. package/dist/components/drawer/drawer-heading.js +2 -2
  110. package/dist/components/drawer/drawer.types.d.ts +1 -1
  111. package/dist/components/drawer/index.d.ts +2 -291
  112. package/dist/components/drawer/index.js +1 -17
  113. package/dist/components/drop-zone/index.d.ts +2 -80
  114. package/dist/components/drop-zone/index.js +1 -7
  115. package/dist/components/dropdown/dropdown-popover.js +2 -2
  116. package/dist/components/dropdown/index.d.ts +2 -265
  117. package/dist/components/dropdown/index.js +1 -23
  118. package/dist/components/empty-state/index.d.ts +2 -45
  119. package/dist/components/empty-state/index.js +1 -4
  120. package/dist/components/error-message/index.d.ts +2 -45
  121. package/dist/components/error-message/index.js +1 -4
  122. package/dist/components/field-error/field-error-root.js +2 -2
  123. package/dist/components/field-error/index.d.ts +2 -66
  124. package/dist/components/field-error/index.js +1 -7
  125. package/dist/components/fieldset/index.d.ts +2 -110
  126. package/dist/components/fieldset/index.js +1 -9
  127. package/dist/components/form/index.d.ts +2 -49
  128. package/dist/components/form/index.js +1 -4
  129. package/dist/components/header/index.d.ts +2 -45
  130. package/dist/components/header/index.js +1 -4
  131. package/dist/components/i18n-provider/index.d.ts +2 -2
  132. package/dist/components/i18n-provider/index.js +1 -1
  133. package/dist/components/icons/icon-overlay-arrow.js +1 -1
  134. package/dist/components/input/index.d.ts +2 -51
  135. package/dist/components/input/index.js +1 -4
  136. package/dist/components/input-group/index.d.ts +2 -141
  137. package/dist/components/input-group/index.js +1 -10
  138. package/dist/components/input-otp/index.d.ts +2 -151
  139. package/dist/components/input-otp/index.js +1 -9
  140. package/dist/components/kbd/index.d.ts +2 -86
  141. package/dist/components/kbd/index.js +1 -8
  142. package/dist/components/label/index.d.ts +2 -51
  143. package/dist/components/label/index.js +1 -4
  144. package/dist/components/link/index.d.ts +2 -94
  145. package/dist/components/link/index.js +1 -7
  146. package/dist/components/list-box/index.d.ts +2 -191
  147. package/dist/components/list-box/index.js +1 -14
  148. package/dist/components/list-box/list-box-drop-indicator.js +2 -2
  149. package/dist/components/list-box/list-box-root.js +4 -4
  150. package/dist/components/list-box-item/index.d.ts +2 -74
  151. package/dist/components/list-box-item/index.js +1 -7
  152. package/dist/components/list-box-item/list-box-item-root.js +2 -2
  153. package/dist/components/list-box-section/index.d.ts +2 -47
  154. package/dist/components/list-box-section/index.js +1 -4
  155. package/dist/components/menu/index.d.ts +2 -83
  156. package/dist/components/menu/index.js +1 -4
  157. package/dist/components/menu-item/index.d.ts +2 -96
  158. package/dist/components/menu-item/index.js +1 -8
  159. package/dist/components/menu-item/menu-item-root.js +2 -2
  160. package/dist/components/menu-section/index.d.ts +2 -63
  161. package/dist/components/menu-section/index.js +1 -4
  162. package/dist/components/meter/index.d.ts +2 -127
  163. package/dist/components/meter/index.js +1 -9
  164. package/dist/components/meter/meter.types.d.ts +2 -0
  165. package/dist/components/modal/index.d.ts +2 -296
  166. package/dist/components/modal/index.js +1 -17
  167. package/dist/components/modal/modal-close.js +1 -1
  168. package/dist/components/modal/modal-heading.js +2 -2
  169. package/dist/components/modal/modal.context.d.ts +2 -2
  170. package/dist/components/modal/modal.types.d.ts +1 -1
  171. package/dist/components/number-field/index.d.ts +2 -186
  172. package/dist/components/number-field/index.js +1 -10
  173. package/dist/components/number-field/number-field-decrement-button.js +1 -1
  174. package/dist/components/number-field/number-field-increment-button.js +1 -1
  175. package/dist/components/overlay/overlay-slots.d.ts +1 -1
  176. package/dist/components/pagination/index.d.ts +2 -244
  177. package/dist/components/pagination/index.js +1 -15
  178. package/dist/components/pagination/pagination-next.js +4 -1
  179. package/dist/components/pagination/pagination-previous.js +4 -1
  180. package/dist/components/popover/index.d.ts +2 -172
  181. package/dist/components/popover/index.js +1 -11
  182. package/dist/components/popover/popover-arrow.js +2 -2
  183. package/dist/components/popover/popover-content.js +2 -2
  184. package/dist/components/popover/popover-heading.js +2 -2
  185. package/dist/components/popover/popover.types.d.ts +1 -1
  186. package/dist/components/progress-bar/index.d.ts +2 -133
  187. package/dist/components/progress-bar/index.js +1 -9
  188. package/dist/components/progress-bar/progress-bar.types.d.ts +2 -0
  189. package/dist/components/progress-circle/index.d.ts +2 -124
  190. package/dist/components/progress-circle/index.js +1 -9
  191. package/dist/components/progress-circle/progress-circle.types.d.ts +2 -0
  192. package/dist/components/radio/index.d.ts +2 -120
  193. package/dist/components/radio/index.js +1 -9
  194. package/dist/components/radio-group/index.d.ts +2 -79
  195. package/dist/components/radio-group/index.js +1 -4
  196. package/dist/components/range-calendar/index.d.ts +2 -424
  197. package/dist/components/range-calendar/index.js +1 -27
  198. package/dist/components/range-calendar/range-calendar-cell.js +4 -2
  199. package/dist/components/range-calendar/range-calendar-grid-body.js +2 -2
  200. package/dist/components/range-calendar/range-calendar-grid-header.js +1 -1
  201. package/dist/components/range-calendar/range-calendar-grid.js +2 -1
  202. package/dist/components/range-calendar/range-calendar-root.d.ts +3 -3
  203. package/dist/components/range-calendar/range-calendar-root.js +13 -13
  204. package/dist/components/range-calendar/range-calendar.context.d.ts +1 -1
  205. package/dist/components/range-calendar/range-calendar.context.js +1 -1
  206. package/dist/components/range-calendar/range-calendar.types.d.ts +3 -1
  207. package/dist/components/router-provider/index.d.ts +2 -2
  208. package/dist/components/router-provider/index.js +1 -1
  209. package/dist/components/scroll-shadow/index.d.ts +2 -69
  210. package/dist/components/scroll-shadow/index.js +1 -4
  211. package/dist/components/search-field/index.d.ts +2 -195
  212. package/dist/components/search-field/index.js +1 -10
  213. package/dist/components/search-field/search-field-clear-button.js +5 -5
  214. package/dist/components/segmented-control/index.d.ts +2 -126
  215. package/dist/components/segmented-control/index.js +1 -9
  216. package/dist/components/select/index.d.ts +2 -202
  217. package/dist/components/select/index.js +1 -10
  218. package/dist/components/select/select-popover.js +2 -2
  219. package/dist/components/select/select-value.js +1 -1
  220. package/dist/components/separator/index.d.ts +2 -41
  221. package/dist/components/separator/index.js +1 -4
  222. package/dist/components/sidebar/index.d.ts +2 -520
  223. package/dist/components/sidebar/index.js +1 -25
  224. package/dist/components/sidebar/sidebar-content.js +2 -2
  225. package/dist/components/sidebar/sidebar-item-tooltip.js +2 -2
  226. package/dist/components/sidebar/sidebar-panel.js +1 -0
  227. package/dist/components/sidebar/sidebar-rail.js +1 -0
  228. package/dist/components/sidebar/sidebar-root.js +23 -5
  229. package/dist/components/sidebar/sidebar.state.d.ts +3 -0
  230. package/dist/components/sidebar/sidebar.state.js +5 -0
  231. package/dist/components/sidebar/sidebar.types.d.ts +2 -2
  232. package/dist/components/skeleton/index.d.ts +2 -47
  233. package/dist/components/skeleton/index.js +1 -4
  234. package/dist/components/slider/index.d.ts +2 -180
  235. package/dist/components/slider/index.js +1 -11
  236. package/dist/components/spinner/index.d.ts +2 -41
  237. package/dist/components/spinner/index.js +1 -4
  238. package/dist/components/splitter/index.d.ts +2 -134
  239. package/dist/components/splitter/index.js +1 -8
  240. package/dist/components/surface/index.d.ts +2 -47
  241. package/dist/components/surface/index.js +1 -4
  242. package/dist/components/switch/index.d.ts +2 -165
  243. package/dist/components/switch/index.js +1 -10
  244. package/dist/components/switch-group/index.d.ts +2 -47
  245. package/dist/components/switch-group/index.js +1 -4
  246. package/dist/components/table/index.d.ts +2 -442
  247. package/dist/components/table/index.js +1 -23
  248. package/dist/components/table/table-body.js +9 -9
  249. package/dist/components/table/table-cell.js +3 -3
  250. package/dist/components/table/table-column.js +4 -4
  251. package/dist/components/table/table-content.js +3 -3
  252. package/dist/components/table/table-drag-handle.js +1 -1
  253. package/dist/components/table/table-drop-indicator.js +9 -7
  254. package/dist/components/table/table-header.js +4 -4
  255. package/dist/components/table/table-load-more.js +5 -5
  256. package/dist/components/table/table-row.js +4 -4
  257. package/dist/components/table/table.context.d.ts +2 -2
  258. package/dist/components/table/table.types.d.ts +3 -3
  259. package/dist/components/tabs/index.d.ts +2 -189
  260. package/dist/components/tabs/index.js +1 -12
  261. package/dist/components/tabs/tabs-list-container.js +2 -2
  262. package/dist/components/tag/index.d.ts +2 -76
  263. package/dist/components/tag/index.js +1 -7
  264. package/dist/components/tag/tag-remove-button.js +2 -2
  265. package/dist/components/tag-group/index.d.ts +2 -93
  266. package/dist/components/tag-group/index.js +1 -7
  267. package/dist/components/textarea/index.d.ts +2 -51
  268. package/dist/components/textarea/index.js +1 -4
  269. package/dist/components/textfield/index.d.ts +2 -109
  270. package/dist/components/textfield/index.js +1 -4
  271. package/dist/components/time-field/index.d.ts +2 -233
  272. package/dist/components/time-field/index.js +1 -12
  273. package/dist/components/toast/index.d.ts +2 -216
  274. package/dist/components/toast/index.js +1 -15
  275. package/dist/components/toast/toast-action-button.js +2 -2
  276. package/dist/components/toast/toast-default-content.js +1 -1
  277. package/dist/components/toast/toast-queue.d.ts +1 -1
  278. package/dist/components/toast/toast-queue.js +1 -1
  279. package/dist/components/toast/toast-root.js +1 -1
  280. package/dist/components/toast/toast.types.d.ts +3 -3
  281. package/dist/components/toggle-button/index.d.ts +2 -65
  282. package/dist/components/toggle-button/index.js +1 -4
  283. package/dist/components/toggle-button-group/index.d.ts +2 -82
  284. package/dist/components/toggle-button-group/index.js +1 -7
  285. package/dist/components/toolbar/index.d.ts +2 -49
  286. package/dist/components/toolbar/index.js +1 -4
  287. package/dist/components/tooltip/index.d.ts +2 -136
  288. package/dist/components/tooltip/index.js +1 -9
  289. package/dist/components/tooltip/tooltip-arrow.js +2 -2
  290. package/dist/components/tooltip/tooltip-root.js +1 -1
  291. package/dist/components/tooltip/tooltip.types.d.ts +1 -1
  292. package/dist/components/typography/code.js +2 -2
  293. package/dist/components/typography/heading.js +2 -2
  294. package/dist/components/typography/index.d.ts +2 -1269
  295. package/dist/components/typography/index.js +1 -10
  296. package/dist/components/typography/paragraph.js +2 -2
  297. package/dist/components/typography/typography-root.js +2 -2
  298. package/dist/composables/use-calendar-grid.js +2 -1
  299. package/dist/composables/use-calendar-year-picker.js +12 -3
  300. package/dist/composables/use-color-field.js +1 -1
  301. package/dist/composables/use-color-slider.d.ts +1 -1
  302. package/dist/composables/use-color-slider.js +1 -1
  303. package/dist/composables/use-press.d.ts +10 -0
  304. package/dist/composables/use-press.js +27 -2
  305. package/dist/composables/use-prevent-scroll.d.ts +11 -5
  306. package/dist/composables/use-prevent-scroll.js +11 -5
  307. package/dist/composables/use-range-calendar.js +2 -1
  308. package/dist/composables/use-text-field.js +1 -1
  309. package/dist/index.d.ts +1 -1
  310. package/dist/index.js +110 -111
  311. package/dist/ropav.min.css +2 -0
  312. package/dist/styles-no-preflight.css +3 -0
  313. package/dist/styles-overrides.css +15 -0
  314. package/dist/styles.css +1 -16
  315. package/dist/utils/auto-label.d.ts +24 -0
  316. package/dist/utils/auto-label.js +48 -0
  317. package/dist/utils/block.js +11 -1
  318. package/dist/utils/calendar-systems.d.ts +14 -0
  319. package/dist/utils/calendar-systems.js +2 -0
  320. package/dist/utils/calendar.d.ts +14 -5
  321. package/dist/utils/calendar.js +18 -21
  322. package/dist/utils/compose.d.ts +4 -6
  323. package/dist/utils/compose.js +4 -6
  324. package/dist/utils/dnd-list-drop-target-delegate.d.ts +19 -1
  325. package/dist/utils/dnd-list-drop-target-delegate.js +37 -6
  326. package/dist/utils/index.d.ts +1 -0
  327. package/dist/utils/virtualizer-list-layout.d.ts +8 -0
  328. package/dist/utils/virtualizer-list-layout.js +12 -2
  329. package/dist/utils/virtualizer-table-layout.d.ts +1 -0
  330. package/dist/utils/virtualizer-table-layout.js +3 -0
  331. package/dist/version.js +1 -1
  332. package/package.json +11 -5
@@ -5,14 +5,4 @@ import card_header_default from "./card-header.js";
5
5
  import card_root_default from "./card-root.js";
6
6
  import card_title_default from "./card-title.js";
7
7
  import { cardVariants } from "@ropav/styles";
8
- //#region src/components/card/index.ts
9
- var Card = Object.assign(card_root_default, {
10
- Content: card_content_default,
11
- Description: card_description_default,
12
- Footer: card_footer_default,
13
- Header: card_header_default,
14
- Root: card_root_default,
15
- Title: card_title_default
16
- });
17
- //#endregion
18
- export { Card, card_content_default as CardContent, card_description_default as CardDescription, card_footer_default as CardFooter, card_header_default as CardHeader, card_root_default as CardRoot, card_title_default as CardTitle, cardVariants };
8
+ export { card_root_default as Card, card_content_default as CardContent, card_description_default as CardDescription, card_footer_default as CardFooter, card_header_default as CardHeader, card_title_default as CardTitle, cardVariants };
@@ -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,22 +1,6 @@
1
1
  /**
2
- * Renders the chip's children, wrapping them in `Chip.Label` when they are only text.
3
- *
4
- * The point is that `<Chip>Label</Chip>` and `<Chip><Chip.Label>Label</Chip.Label></Chip>`
5
- * produce the same DOM. A template cannot ask whether its children are bare text, but a slot
6
- * function can be answered: it returns
7
- * the block it just rendered, and a lone text child resolves to a single text node while
8
- * markup resolves to elements or component instances.
9
- *
10
- * The slot is called exactly once and the very block it returns is what gets inserted, so
11
- * nothing is rendered twice and no effect is registered and thrown away — which is the
12
- * actual hazard with slots in Vapor, rather than reading them at all.
13
- *
14
- * Written as a Vapor component rather than an SFC because only a hand-written `setup` gets
15
- * to hold the block; an SFC's `<slot />` is inserted before there is anywhere to intervene.
2
+ * Wraps a chip's bare text in `ChipLabel`, so that `<Chip>Label</Chip>` and
3
+ * `<Chip><ChipLabel>Label</ChipLabel></Chip>` produce the same DOM.
16
4
  */
17
- declare const ChipAutoLabel: new () => import("vue").VaporComponentInstance<Record<string, any> & {} & import("vue").ReservedProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {}, {
18
- [x: string]: import("vue").VaporSlot;
19
- }, Record<string, any>, import("vue").DynamicFragment | Node | import("vue").VaporComponentInstance<{}, {}, {
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>>;
5
+ declare const ChipAutoLabel: import("vue").Component;
22
6
  export default ChipAutoLabel;
@@ -1,27 +1,10 @@
1
- import { flattenBlock, isTextOnlyBlock } from "../../utils/block.js";
1
+ import { createAutoLabel } from "../../utils/auto-label.js";
2
2
  import chip_label_default from "./chip-label.js";
3
- import { createComponent, defineVaporComponent } from "vue";
4
3
  //#region src/components/chip/chip-auto-label.ts
5
4
  /**
6
- * Renders the chip's children, wrapping them in `Chip.Label` when they are only text.
7
- *
8
- * The point is that `<Chip>Label</Chip>` and `<Chip><Chip.Label>Label</Chip.Label></Chip>`
9
- * produce the same DOM. A template cannot ask whether its children are bare text, but a slot
10
- * function can be answered: it returns
11
- * the block it just rendered, and a lone text child resolves to a single text node while
12
- * markup resolves to elements or component instances.
13
- *
14
- * The slot is called exactly once and the very block it returns is what gets inserted, so
15
- * nothing is rendered twice and no effect is registered and thrown away — which is the
16
- * actual hazard with slots in Vapor, rather than reading them at all.
17
- *
18
- * Written as a Vapor component rather than an SFC because only a hand-written `setup` gets
19
- * to hold the block; an SFC's `<slot />` is inserted before there is anywhere to intervene.
5
+ * Wraps a chip's bare text in `ChipLabel`, so that `<Chip>Label</Chip>` and
6
+ * `<Chip><ChipLabel>Label</ChipLabel></Chip>` produce the same DOM.
20
7
  */
21
- var ChipAutoLabel = defineVaporComponent((_props, { slots }) => {
22
- const block = slots["default"]?.();
23
- if (block === void 0 || !isTextOnlyBlock(flattenBlock(block))) return block ?? [];
24
- return createComponent(chip_label_default, null, { default: () => block });
25
- }, { name: "Ropav.Chip.AutoLabel" });
8
+ var ChipAutoLabel = createAutoLabel(chip_label_default, "Ropav.Chip.AutoLabel");
26
9
  //#endregion
27
10
  export { ChipAutoLabel as default };
@@ -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,11 +1,11 @@
1
1
  import type { ChipVariants } from "@ropav/styles";
2
2
  export interface ChipRootProps {
3
3
  class?: string;
4
- /** Chip color. */
4
+ /** Chip color. @default "default" */
5
5
  color?: ChipVariants["color"];
6
6
  /** Chip size. */
7
7
  size?: ChipVariants["size"];
8
- /** Chip variant. */
8
+ /** Chip variant. @default "secondary" */
9
9
  variant?: ChipVariants["variant"];
10
10
  }
11
11
  export interface ChipLabelProps {
@@ -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 };