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
@@ -1,107 +1,8 @@
1
1
  import AvatarFallback from "./avatar-fallback.js";
2
2
  import AvatarImage from "./avatar-image.js";
3
3
  import AvatarRoot from "./avatar-root.js";
4
- export declare const Avatar: ((__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
5
- attrs: any;
6
- slots: {
7
- default?: () => unknown;
8
- };
9
- emit: {};
10
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
11
- props: import('vue').PublicProps & {
12
- class?: string;
13
- color?: import("@ropav/styles").AvatarVariants["color"];
14
- size?: import("@ropav/styles").AvatarVariants["size"];
15
- variant?: import("@ropav/styles").AvatarVariants["variant"];
16
- } & (typeof globalThis extends {
17
- __VLS_PROPS_FALLBACK: infer P;
18
- } ? P : {});
19
- expose: (exposed: {}) => void;
20
- attrs: any;
21
- slots: {
22
- default?: () => unknown;
23
- };
24
- emit: {};
25
- }>) => import('vue').VNode & {
26
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
27
- }) & {
28
- Fallback: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
29
- attrs: any;
30
- slots: {
31
- default?: () => unknown;
32
- };
33
- emit: {};
34
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
35
- props: import('vue').PublicProps & {
36
- class?: string;
37
- color?: import("@ropav/styles").AvatarVariants["color"];
38
- delayMs?: number;
39
- } & (typeof globalThis extends {
40
- __VLS_PROPS_FALLBACK: infer P;
41
- } ? P : {});
42
- expose: (exposed: {}) => void;
43
- attrs: any;
44
- slots: {
45
- default?: () => unknown;
46
- };
47
- emit: {};
48
- }>) => import('vue').VNode & {
49
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
50
- };
51
- Image: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
52
- attrs: any;
53
- slots: {};
54
- emit: ((evt: "error", event: Event) => void) & ((evt: "load", event: Event) => void) & ((evt: "loadingStatusChange", status: import("./index.js").ImageLoadingStatus) => void);
55
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
56
- props: import('vue').PublicProps & {
57
- class?: string;
58
- alt?: string;
59
- crossOrigin?: "" | "anonymous" | "use-credentials";
60
- loading?: "eager" | "lazy";
61
- referrerPolicy?: ReferrerPolicy;
62
- sizes?: string;
63
- src?: string;
64
- srcSet?: string;
65
- onError?: ((event: Event) => any) | undefined;
66
- onLoad?: ((event: Event) => any) | undefined;
67
- onLoadingStatusChange?: ((status: import("./index.js").ImageLoadingStatus) => any) | undefined;
68
- } & (typeof globalThis extends {
69
- __VLS_PROPS_FALLBACK: infer P;
70
- } ? P : {});
71
- expose: (exposed: {}) => void;
72
- attrs: any;
73
- slots: {};
74
- emit: ((evt: "error", event: Event) => void) & ((evt: "load", event: Event) => void) & ((evt: "loadingStatusChange", status: import("./index.js").ImageLoadingStatus) => void);
75
- }>) => import('vue').VNode & {
76
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
77
- };
78
- Root: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
79
- attrs: any;
80
- slots: {
81
- default?: () => unknown;
82
- };
83
- emit: {};
84
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
85
- props: import('vue').PublicProps & {
86
- class?: string;
87
- color?: import("@ropav/styles").AvatarVariants["color"];
88
- size?: import("@ropav/styles").AvatarVariants["size"];
89
- variant?: import("@ropav/styles").AvatarVariants["variant"];
90
- } & (typeof globalThis extends {
91
- __VLS_PROPS_FALLBACK: infer P;
92
- } ? P : {});
93
- expose: (exposed: {}) => void;
94
- attrs: any;
95
- slots: {
96
- default?: () => unknown;
97
- };
98
- emit: {};
99
- }>) => import('vue').VNode & {
100
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
101
- };
102
- };
103
- export { AvatarRoot, AvatarImage, AvatarFallback };
104
- export type { AvatarRootProps, AvatarRootProps as AvatarProps, AvatarImageProps, AvatarFallbackProps, } from "./avatar.types.js";
4
+ export { AvatarRoot as Avatar, AvatarImage, AvatarFallback };
5
+ export type { AvatarRootProps as AvatarProps, AvatarImageProps, AvatarFallbackProps, } from "./avatar.types.js";
105
6
  export type { ImageLoadingStatus } from "../../composables/use-image-loading-status.js";
106
7
  export { avatarVariants } from "@ropav/styles";
107
8
  export type { AvatarVariants } from "@ropav/styles";
@@ -2,11 +2,4 @@ import avatar_fallback_default from "./avatar-fallback.js";
2
2
  import avatar_image_default from "./avatar-image.js";
3
3
  import avatar_root_default from "./avatar-root.js";
4
4
  import { avatarVariants } from "@ropav/styles";
5
- //#region src/components/avatar/index.ts
6
- var Avatar = Object.assign(avatar_root_default, {
7
- Fallback: avatar_fallback_default,
8
- Image: avatar_image_default,
9
- Root: avatar_root_default
10
- });
11
- //#endregion
12
- export { Avatar, avatar_fallback_default as AvatarFallback, avatar_image_default as AvatarImage, avatar_root_default as AvatarRoot, avatarVariants };
5
+ export { avatar_root_default as Avatar, avatar_fallback_default as AvatarFallback, avatar_image_default as AvatarImage, avatarVariants };
@@ -1,5 +1,6 @@
1
- import { computed, createSlot, defineVaporComponent, renderEffect, setClass, setInsertionState, template } from "vue";
2
- import { cx } from "tailwind-variants";
1
+ import { composeSlotClassName } from "../../utils/compose.js";
2
+ import { createSlot, defineVaporComponent, renderEffect, setClass, setInsertionState, template, unref } from "vue";
3
+ import { badgeVariants } from "@ropav/styles";
3
4
  //#region src/components/badge/badge-anchor.vue?vue&type=script&setup=true&vapor=true&lang.ts
4
5
  var t0 = template("<span data-slot=badge-anchor>", 1);
5
6
  var badge_anchor_vue_vue_type_script_setup_true_vapor_true_lang_default = /*@__PURE__*/ defineVaporComponent({
@@ -7,9 +8,9 @@ var badge_anchor_vue_vue_type_script_setup_true_vapor_true_lang_default = /*@__P
7
8
  props: { class: {} },
8
9
  setup(__props) {
9
10
  const props = __props;
10
- const styles = computed(() => cx("badge-anchor", props.class));
11
+ const slots = badgeVariants();
11
12
  const n1 = t0();
12
- renderEffect(() => setClass(n1, styles.value));
13
+ renderEffect(() => setClass(n1, unref(composeSlotClassName)(unref(slots).anchor, props.class)));
13
14
  setInsertionState(n1);
14
15
  createSlot();
15
16
  return n1;
@@ -1,15 +1,3 @@
1
- /**
2
- * Wraps a badge's bare text in `Badge.Label`, matching the React component's string and number
3
- * handling without executing the default slot more than once.
4
- *
5
- * The slot has already rendered by the time it returns its block. Inspecting that block therefore
6
- * preserves its effects and lets the exact same text nodes move into the label component.
7
- * A slot forwarded from a VDOM host is filled only when inserted, so it cannot be inspected here;
8
- * those callers (including runtime-compiled stories) must render `Badge.Label` explicitly.
9
- */
10
- declare const BadgeAutoLabel: new () => import("vue").VaporComponentInstance<Record<string, any> & {} & import("vue").ReservedProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {}, {
11
- [x: string]: import("vue").VaporSlot;
12
- }, Record<string, any>, import("vue").DynamicFragment | Node | import("vue").VaporComponentInstance<{}, {}, {
13
- [x: string]: import("vue").VaporSlot;
14
- }, Record<string, any>, import("vue").Block, Record<string, any>> | import("vue").VaporFragment<import("vue").Block>, Record<string, any>>;
1
+ /** Wraps a badge's bare text in `BadgeLabel`. */
2
+ declare const BadgeAutoLabel: import("vue").Component;
15
3
  export default BadgeAutoLabel;
@@ -1,20 +1,7 @@
1
1
  import badge_label_default from "./badge-label.js";
2
- import { flattenBlock, isTextOnlyBlock } from "../../utils/block.js";
3
- import { createComponent, defineVaporComponent } from "vue";
2
+ import { createAutoLabel } from "../../utils/auto-label.js";
4
3
  //#region src/components/badge/badge-auto-label.ts
5
- /**
6
- * Wraps a badge's bare text in `Badge.Label`, matching the React component's string and number
7
- * handling without executing the default slot more than once.
8
- *
9
- * The slot has already rendered by the time it returns its block. Inspecting that block therefore
10
- * preserves its effects and lets the exact same text nodes move into the label component.
11
- * A slot forwarded from a VDOM host is filled only when inserted, so it cannot be inspected here;
12
- * those callers (including runtime-compiled stories) must render `Badge.Label` explicitly.
13
- */
14
- var BadgeAutoLabel = defineVaporComponent((_props, { slots }) => {
15
- const block = slots["default"]?.();
16
- if (block === void 0 || !isTextOnlyBlock(flattenBlock(block))) return block ?? [];
17
- return createComponent(badge_label_default, null, { default: () => block });
18
- }, { name: "Ropav.Badge.AutoLabel" });
4
+ /** Wraps a badge's bare text in `BadgeLabel`. */
5
+ var BadgeAutoLabel = createAutoLabel(badge_label_default, "Ropav.Badge.AutoLabel");
19
6
  //#endregion
20
7
  export { BadgeAutoLabel as default };
@@ -27,8 +27,8 @@ var badge_root_vue_vue_type_script_setup_true_vapor_true_lang_default = /*@__PUR
27
27
  renderEffect(() => setClass(n2, unref(composeSlotClassName)(slots.value.base, props.class)));
28
28
  setInsertionState(n2);
29
29
  createComponent(unref(BadgeAutoLabel), null, extend(() => {
30
- return createSlot("default", null, null, 36);
31
- }, { _: 8 }));
30
+ return createSlot("default", null, null, 4);
31
+ }, { _: 1 }));
32
32
  return n2;
33
33
  }
34
34
  });
@@ -4,13 +4,13 @@ export interface BadgeAnchorProps {
4
4
  }
5
5
  export interface BadgeRootProps {
6
6
  class?: string;
7
- /** Badge color. */
7
+ /** Badge color. @default "default" */
8
8
  color?: BadgeVariants["color"];
9
- /** Badge placement. */
9
+ /** Badge placement. @default "top-right" */
10
10
  placement?: BadgeVariants["placement"];
11
- /** Badge size. */
11
+ /** Badge size. @default "md" */
12
12
  size?: BadgeVariants["size"];
13
- /** Badge variant. */
13
+ /** Badge variant. @default "primary" */
14
14
  variant?: BadgeVariants["variant"];
15
15
  }
16
16
  export interface BadgeLabelProps {
@@ -1,100 +1,7 @@
1
1
  import BadgeAnchor from "./badge-anchor.js";
2
2
  import BadgeLabel from "./badge-label.js";
3
3
  import BadgeRoot from "./badge-root.js";
4
- export declare const Badge: ((__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
5
- attrs: any;
6
- slots: {
7
- default?: () => unknown;
8
- };
9
- emit: {};
10
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
11
- props: import('vue').PublicProps & {
12
- class?: string;
13
- color?: import("@ropav/styles").BadgeVariants["color"];
14
- placement?: import("@ropav/styles").BadgeVariants["placement"];
15
- size?: import("@ropav/styles").BadgeVariants["size"];
16
- variant?: import("@ropav/styles").BadgeVariants["variant"];
17
- } & (typeof globalThis extends {
18
- __VLS_PROPS_FALLBACK: infer P;
19
- } ? P : {});
20
- expose: (exposed: {}) => void;
21
- attrs: any;
22
- slots: {
23
- default?: () => unknown;
24
- };
25
- emit: {};
26
- }>) => import('vue').VNode & {
27
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
28
- }) & {
29
- Anchor: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
30
- attrs: any;
31
- slots: {
32
- default?: () => unknown;
33
- };
34
- emit: {};
35
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
36
- props: import('vue').PublicProps & {
37
- class?: string;
38
- } & (typeof globalThis extends {
39
- __VLS_PROPS_FALLBACK: infer P;
40
- } ? P : {});
41
- expose: (exposed: {}) => void;
42
- attrs: any;
43
- slots: {
44
- default?: () => unknown;
45
- };
46
- emit: {};
47
- }>) => import('vue').VNode & {
48
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
49
- };
50
- Label: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
51
- attrs: any;
52
- slots: {
53
- default?: () => unknown;
54
- };
55
- emit: {};
56
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
57
- props: import('vue').PublicProps & {
58
- class?: string;
59
- } & (typeof globalThis extends {
60
- __VLS_PROPS_FALLBACK: infer P;
61
- } ? P : {});
62
- expose: (exposed: {}) => void;
63
- attrs: any;
64
- slots: {
65
- default?: () => unknown;
66
- };
67
- emit: {};
68
- }>) => import('vue').VNode & {
69
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
70
- };
71
- Root: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
72
- attrs: any;
73
- slots: {
74
- default?: () => unknown;
75
- };
76
- emit: {};
77
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
78
- props: import('vue').PublicProps & {
79
- class?: string;
80
- color?: import("@ropav/styles").BadgeVariants["color"];
81
- placement?: import("@ropav/styles").BadgeVariants["placement"];
82
- size?: import("@ropav/styles").BadgeVariants["size"];
83
- variant?: import("@ropav/styles").BadgeVariants["variant"];
84
- } & (typeof globalThis extends {
85
- __VLS_PROPS_FALLBACK: infer P;
86
- } ? P : {});
87
- expose: (exposed: {}) => void;
88
- attrs: any;
89
- slots: {
90
- default?: () => unknown;
91
- };
92
- emit: {};
93
- }>) => import('vue').VNode & {
94
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
95
- };
96
- };
97
- export { BadgeAnchor, BadgeLabel, BadgeRoot };
98
- export type { BadgeAnchorProps, BadgeLabelProps, BadgeRootProps, BadgeRootProps as BadgeProps, } from "./badge.types.js";
4
+ export { BadgeAnchor, BadgeLabel, BadgeRoot as Badge };
5
+ export type { BadgeAnchorProps, BadgeLabelProps, BadgeRootProps as BadgeProps, } from "./badge.types.js";
99
6
  export { badgeVariants } from "@ropav/styles";
100
7
  export type { BadgeVariants } from "@ropav/styles";
@@ -2,11 +2,4 @@ import badge_anchor_default from "./badge-anchor.js";
2
2
  import badge_label_default from "./badge-label.js";
3
3
  import badge_root_default from "./badge-root.js";
4
4
  import { badgeVariants } from "@ropav/styles";
5
- //#region src/components/badge/index.ts
6
- var Badge = Object.assign(badge_root_default, {
7
- Anchor: badge_anchor_default,
8
- Label: badge_label_default,
9
- Root: badge_root_default
10
- });
11
- //#endregion
12
- export { Badge, badge_anchor_default as BadgeAnchor, badge_label_default as BadgeLabel, badge_root_default as BadgeRoot, badgeVariants };
5
+ export { badge_root_default as Badge, badge_anchor_default as BadgeAnchor, badge_label_default as BadgeLabel, badgeVariants };
@@ -97,8 +97,8 @@ var breadcrumbs_item_vue_vue_type_script_setup_true_vapor_true_lang_default = /*
97
97
  return createSlot("default", {
98
98
  isCurrent: () => isCurrent.value,
99
99
  isDisabled: () => isDisabled.value
100
- }, null, 36);
101
- }, { _: 8 }));
100
+ }, null, 4);
101
+ }, { _: 1 }));
102
102
  setInsertionState(n13, 1);
103
103
  createIf(() => !isCurrent.value, () => {
104
104
  return createIf(() => !unref(context).separator.value, () => {
@@ -1,4 +1,4 @@
1
- import type { LinkRootProps } from "../link/index.js";
1
+ import type { LinkProps } from "../link/index.js";
2
2
  export type BreadcrumbKey = string | number;
3
3
  export interface BreadcrumbsRootProps {
4
4
  class?: string;
@@ -10,7 +10,7 @@ export interface BreadcrumbsRootProps {
10
10
  /** A component rendered between items. Plain text is rendered without a wrapper. */
11
11
  separator?: unknown;
12
12
  }
13
- export interface BreadcrumbsItemProps extends Omit<LinkRootProps, "class" | "ariaCurrent"> {
13
+ export interface BreadcrumbsItemProps extends Omit<LinkProps, "class" | "ariaCurrent"> {
14
14
  class?: string;
15
15
  /** Key reported by the root's `action` event. A stable id is generated when omitted. */
16
16
  id?: BreadcrumbKey;
@@ -1,94 +1,6 @@
1
1
  import BreadcrumbsItem from "./breadcrumbs-item.js";
2
2
  import BreadcrumbsRoot from "./breadcrumbs-root.js";
3
- export declare const Breadcrumbs: ((__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
4
- attrs: any;
5
- slots: {
6
- default?: () => unknown;
7
- };
8
- emit: (evt: "action", key: string | number) => void;
9
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
10
- props: import('vue').PublicProps & {
11
- class?: string;
12
- isDisabled?: boolean;
13
- ariaLabel?: string;
14
- ariaLabelledby?: string;
15
- separator?: unknown;
16
- onAction?: ((key: string | number) => any) | undefined;
17
- } & (typeof globalThis extends {
18
- __VLS_PROPS_FALLBACK: infer P;
19
- } ? P : {});
20
- expose: (exposed: {}) => void;
21
- attrs: any;
22
- slots: {
23
- default?: () => unknown;
24
- };
25
- emit: (evt: "action", key: string | number) => void;
26
- }>) => import('vue').VNode & {
27
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
28
- }) & {
29
- Item: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
30
- attrs: any;
31
- slots: {
32
- default?: (props: import("./breadcrumbs.types.js").BreadcrumbsItemSlotProps) => unknown;
33
- };
34
- emit: (evt: "click", event: MouseEvent) => void;
35
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
36
- props: import('vue').PublicProps & {
37
- href?: string;
38
- target?: string;
39
- rel?: string;
40
- download?: string | boolean;
41
- ping?: string;
42
- referrerPolicy?: import("../index.js").LinkReferrerPolicy;
43
- hrefLang?: string;
44
- isDisabled?: boolean;
45
- routerOptions?: unknown;
46
- ariaLabel?: string;
47
- ariaLabelledby?: string;
48
- ariaDescribedby?: string;
49
- class?: string;
50
- id?: import("./breadcrumbs.types.js").BreadcrumbKey;
51
- onClick?: ((event: MouseEvent) => any) | undefined;
52
- } & (typeof globalThis extends {
53
- __VLS_PROPS_FALLBACK: infer P;
54
- } ? P : {});
55
- expose: (exposed: {}) => void;
56
- attrs: any;
57
- slots: {
58
- default?: (props: import("./breadcrumbs.types.js").BreadcrumbsItemSlotProps) => unknown;
59
- };
60
- emit: (evt: "click", event: MouseEvent) => void;
61
- }>) => import('vue').VNode & {
62
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
63
- };
64
- Root: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
65
- attrs: any;
66
- slots: {
67
- default?: () => unknown;
68
- };
69
- emit: (evt: "action", key: string | number) => void;
70
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
71
- props: import('vue').PublicProps & {
72
- class?: string;
73
- isDisabled?: boolean;
74
- ariaLabel?: string;
75
- ariaLabelledby?: string;
76
- separator?: unknown;
77
- onAction?: ((key: string | number) => any) | undefined;
78
- } & (typeof globalThis extends {
79
- __VLS_PROPS_FALLBACK: infer P;
80
- } ? P : {});
81
- expose: (exposed: {}) => void;
82
- attrs: any;
83
- slots: {
84
- default?: () => unknown;
85
- };
86
- emit: (evt: "action", key: string | number) => void;
87
- }>) => import('vue').VNode & {
88
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
89
- };
90
- };
91
- export { BreadcrumbsItem, BreadcrumbsRoot };
92
- export type { BreadcrumbKey, BreadcrumbsItemProps, BreadcrumbsItemSlotProps, BreadcrumbsRootProps, BreadcrumbsRootProps as BreadcrumbsProps, } from "./breadcrumbs.types.js";
3
+ export { BreadcrumbsItem, BreadcrumbsRoot as Breadcrumbs };
4
+ export type { BreadcrumbKey, BreadcrumbsItemProps, BreadcrumbsItemSlotProps, BreadcrumbsRootProps as BreadcrumbsProps, } from "./breadcrumbs.types.js";
93
5
  export { breadcrumbsVariants } from "@ropav/styles";
94
6
  export type { BreadcrumbsVariants } from "@ropav/styles";
@@ -1,10 +1,4 @@
1
1
  import breadcrumbs_item_default from "./breadcrumbs-item.js";
2
2
  import breadcrumbs_root_default from "./breadcrumbs-root.js";
3
3
  import { breadcrumbsVariants } from "@ropav/styles";
4
- //#region src/components/breadcrumbs/index.ts
5
- var Breadcrumbs = Object.assign(breadcrumbs_root_default, {
6
- Item: breadcrumbs_item_default,
7
- Root: breadcrumbs_root_default
8
- });
9
- //#endregion
10
- export { Breadcrumbs, breadcrumbs_item_default as BreadcrumbsItem, breadcrumbs_root_default as BreadcrumbsRoot, breadcrumbsVariants };
4
+ export { breadcrumbs_root_default as Breadcrumbs, breadcrumbs_item_default as BreadcrumbsItem, breadcrumbsVariants };
@@ -1,64 +1,5 @@
1
1
  import ButtonRoot from "./button-root.js";
2
- export declare const Button: ((__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
3
- attrs: any;
4
- slots: {
5
- default?: (props: import("./button.types.js").ButtonSlotProps) => 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
- fullWidth?: boolean;
12
- isDisabled?: boolean;
13
- isIconOnly?: boolean;
14
- isPending?: boolean;
15
- size?: import("@ropav/styles").ButtonVariants["size"];
16
- type?: "button" | "reset" | "submit";
17
- variant?: import("@ropav/styles").ButtonVariants["variant"];
18
- onClick?: ((event: MouseEvent) => any) | undefined;
19
- } & (typeof globalThis extends {
20
- __VLS_PROPS_FALLBACK: infer P;
21
- } ? P : {});
22
- expose: (exposed: {}) => void;
23
- attrs: any;
24
- slots: {
25
- default?: (props: import("./button.types.js").ButtonSlotProps) => unknown;
26
- };
27
- emit: (evt: "click", event: MouseEvent) => void;
28
- }>) => import('vue').VNode & {
29
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
30
- }) & {
31
- Root: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
32
- attrs: any;
33
- slots: {
34
- default?: (props: import("./button.types.js").ButtonSlotProps) => unknown;
35
- };
36
- emit: (evt: "click", event: MouseEvent) => void;
37
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
38
- props: import('vue').PublicProps & {
39
- class?: string;
40
- fullWidth?: boolean;
41
- isDisabled?: boolean;
42
- isIconOnly?: boolean;
43
- isPending?: boolean;
44
- size?: import("@ropav/styles").ButtonVariants["size"];
45
- type?: "button" | "reset" | "submit";
46
- variant?: import("@ropav/styles").ButtonVariants["variant"];
47
- onClick?: ((event: MouseEvent) => any) | undefined;
48
- } & (typeof globalThis extends {
49
- __VLS_PROPS_FALLBACK: infer P;
50
- } ? P : {});
51
- expose: (exposed: {}) => void;
52
- attrs: any;
53
- slots: {
54
- default?: (props: import("./button.types.js").ButtonSlotProps) => unknown;
55
- };
56
- emit: (evt: "click", event: MouseEvent) => void;
57
- }>) => import('vue').VNode & {
58
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
59
- };
60
- };
61
- export { ButtonRoot };
62
- export type { ButtonRootProps, ButtonRootProps as ButtonProps, ButtonSlotProps, } from "./button.types.js";
2
+ export { ButtonRoot as Button };
3
+ export type { ButtonRootProps as ButtonProps, ButtonSlotProps } from "./button.types.js";
63
4
  export { buttonVariants } from "@ropav/styles";
64
5
  export type { ButtonVariants } from "@ropav/styles";
@@ -1,6 +1,3 @@
1
1
  import button_root_default from "./button-root.js";
2
2
  import { buttonVariants } from "@ropav/styles";
3
- //#region src/components/button/index.ts
4
- var Button = Object.assign(button_root_default, { Root: button_root_default });
5
- //#endregion
6
- export { Button, button_root_default as ButtonRoot, buttonVariants };
3
+ export { button_root_default as Button, buttonVariants };
@@ -1,77 +1,7 @@
1
1
  import ButtonGroupRoot from "./button-group-root.js";
2
2
  import ButtonGroupSeparator from "./button-group-separator.js";
3
- export declare const ButtonGroup: ((__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
- fullWidth?: boolean;
13
- isDisabled?: boolean;
14
- orientation?: "horizontal" | "vertical";
15
- size?: import("@ropav/styles").ButtonVariants["size"];
16
- variant?: import("@ropav/styles").ButtonVariants["variant"];
17
- } & (typeof globalThis extends {
18
- __VLS_PROPS_FALLBACK: infer P;
19
- } ? P : {});
20
- expose: (exposed: {}) => void;
21
- attrs: any;
22
- slots: {
23
- default?: () => unknown;
24
- };
25
- emit: {};
26
- }>) => import('vue').VNode & {
27
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
28
- }) & {
29
- Root: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
30
- attrs: any;
31
- slots: {
32
- default?: () => unknown;
33
- };
34
- emit: {};
35
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
36
- props: import('vue').PublicProps & {
37
- class?: string;
38
- fullWidth?: boolean;
39
- isDisabled?: boolean;
40
- orientation?: "horizontal" | "vertical";
41
- size?: import("@ropav/styles").ButtonVariants["size"];
42
- variant?: import("@ropav/styles").ButtonVariants["variant"];
43
- } & (typeof globalThis extends {
44
- __VLS_PROPS_FALLBACK: infer P;
45
- } ? P : {});
46
- expose: (exposed: {}) => void;
47
- attrs: any;
48
- slots: {
49
- default?: () => unknown;
50
- };
51
- emit: {};
52
- }>) => import('vue').VNode & {
53
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
54
- };
55
- Separator: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
56
- attrs: any;
57
- slots: {};
58
- emit: {};
59
- }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
60
- props: import('vue').PublicProps & {
61
- class?: string;
62
- } & (typeof globalThis extends {
63
- __VLS_PROPS_FALLBACK: infer P;
64
- } ? P : {});
65
- expose: (exposed: {}) => void;
66
- attrs: any;
67
- slots: {};
68
- emit: {};
69
- }>) => import('vue').VNode & {
70
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
71
- };
72
- };
73
- export { ButtonGroupRoot, ButtonGroupSeparator };
74
- export type { ButtonGroupRootProps, ButtonGroupRootProps as ButtonGroupProps, ButtonGroupSeparatorProps, } from "./button-group.types.js";
3
+ export { ButtonGroupRoot as ButtonGroup, ButtonGroupSeparator };
4
+ export type { ButtonGroupRootProps as ButtonGroupProps, ButtonGroupSeparatorProps, } from "./button-group.types.js";
75
5
  export { useButtonGroupContext } from "./button-group.context.js";
76
6
  export type { ButtonGroupContext } from "./button-group.context.js";
77
7
  export { buttonGroupVariants } from "@ropav/styles";
@@ -2,10 +2,4 @@ import { useButtonGroupContext } from "./button-group.context.js";
2
2
  import button_group_root_default from "./button-group-root.js";
3
3
  import button_group_separator_default from "./button-group-separator.js";
4
4
  import { buttonGroupVariants } from "@ropav/styles";
5
- //#region src/components/button-group/index.ts
6
- var ButtonGroup = Object.assign(button_group_root_default, {
7
- Root: button_group_root_default,
8
- Separator: button_group_separator_default
9
- });
10
- //#endregion
11
- export { ButtonGroup, button_group_root_default as ButtonGroupRoot, button_group_separator_default as ButtonGroupSeparator, buttonGroupVariants, useButtonGroupContext };
5
+ export { button_group_root_default as ButtonGroup, button_group_separator_default as ButtonGroupSeparator, buttonGroupVariants, useButtonGroupContext };