@soybeanjs/headless 0.5.3 → 0.5.5

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 (556) hide show
  1. package/dist/components/accordion/accordion-content.js +1 -1
  2. package/dist/components/accordion/accordion-content.vue.d.ts +2 -2
  3. package/dist/components/accordion/accordion-header.js +1 -1
  4. package/dist/components/accordion/accordion-header.vue.d.ts +2 -2
  5. package/dist/components/accordion/accordion-item.js +1 -1
  6. package/dist/components/accordion/accordion-item.vue.d.ts +5 -5
  7. package/dist/components/accordion/accordion-root.js +1 -1
  8. package/dist/components/accordion/accordion-root.vue.d.ts +3 -3
  9. package/dist/components/accordion/accordion-trigger.js +1 -1
  10. package/dist/components/accordion/accordion-trigger.vue.d.ts +2 -2
  11. package/dist/components/accordion/context.d.ts +2 -3
  12. package/dist/components/accordion/context.js +1 -1
  13. package/dist/components/alert/alert-close.js +1 -1
  14. package/dist/components/alert/alert-close.vue.d.ts +2 -2
  15. package/dist/components/alert/alert-content.js +1 -1
  16. package/dist/components/alert/alert-content.vue.d.ts +2 -2
  17. package/dist/components/alert/alert-description.js +1 -1
  18. package/dist/components/alert/alert-description.vue.d.ts +2 -2
  19. package/dist/components/alert/alert-root.js +1 -1
  20. package/dist/components/alert/alert-root.vue.d.ts +4 -4
  21. package/dist/components/alert/alert-title.js +1 -1
  22. package/dist/components/alert/alert-title.vue.d.ts +2 -2
  23. package/dist/components/alert/context.d.ts +2 -3
  24. package/dist/components/alert/context.js +1 -1
  25. package/dist/components/alert-dialog/alert-dialog-close.js +1 -1
  26. package/dist/components/alert-dialog/alert-dialog-close.vue.d.ts +2 -2
  27. package/dist/components/alert-dialog/alert-dialog-content.js +1 -1
  28. package/dist/components/alert-dialog/alert-dialog-content.vue.d.ts +4 -4
  29. package/dist/components/alert-dialog/alert-dialog-root.js +1 -1
  30. package/dist/components/alert-dialog/alert-dialog-root.vue.d.ts +4 -4
  31. package/dist/components/alert-dialog/context.js +1 -1
  32. package/dist/components/alert-dialog/index.js +1 -1
  33. package/dist/components/arrow/arrow.js +1 -1
  34. package/dist/components/arrow/arrow.vue.d.ts +2 -2
  35. package/dist/components/aspect-ratio/aspect-ratio.js +1 -1
  36. package/dist/components/aspect-ratio/aspect-ratio.vue.d.ts +3 -3
  37. package/dist/components/avatar/avatar-fallback.js +1 -1
  38. package/dist/components/avatar/avatar-fallback.vue.d.ts +2 -2
  39. package/dist/components/avatar/avatar-image.js +1 -1
  40. package/dist/components/avatar/avatar-image.vue.d.ts +4 -4
  41. package/dist/components/avatar/avatar-root.js +1 -1
  42. package/dist/components/avatar/avatar-root.vue.d.ts +2 -2
  43. package/dist/components/avatar/context.d.ts +2 -3
  44. package/dist/components/avatar/context.js +1 -1
  45. package/dist/components/badge/badge-content.js +1 -1
  46. package/dist/components/badge/badge-content.vue.d.ts +2 -2
  47. package/dist/components/badge/badge-root.js +1 -1
  48. package/dist/components/badge/badge-root.vue.d.ts +4 -4
  49. package/dist/components/badge/context.d.ts +2 -2
  50. package/dist/components/badge/context.js +1 -1
  51. package/dist/components/breadcrumb/breadcrumb-ellipsis.js +1 -1
  52. package/dist/components/breadcrumb/breadcrumb-ellipsis.vue.d.ts +2 -2
  53. package/dist/components/breadcrumb/breadcrumb-item.js +1 -1
  54. package/dist/components/breadcrumb/breadcrumb-item.vue.d.ts +2 -2
  55. package/dist/components/breadcrumb/breadcrumb-link.js +1 -1
  56. package/dist/components/breadcrumb/breadcrumb-link.vue.d.ts +2 -2
  57. package/dist/components/breadcrumb/breadcrumb-list.js +1 -1
  58. package/dist/components/breadcrumb/breadcrumb-list.vue.d.ts +2 -2
  59. package/dist/components/breadcrumb/breadcrumb-page.js +1 -1
  60. package/dist/components/breadcrumb/breadcrumb-page.vue.d.ts +2 -2
  61. package/dist/components/breadcrumb/breadcrumb-root.js +1 -1
  62. package/dist/components/breadcrumb/breadcrumb-root.vue.d.ts +2 -2
  63. package/dist/components/breadcrumb/breadcrumb-separator.js +1 -1
  64. package/dist/components/breadcrumb/breadcrumb-separator.vue.d.ts +2 -2
  65. package/dist/components/breadcrumb/context.d.ts +2 -2
  66. package/dist/components/breadcrumb/context.js +1 -1
  67. package/dist/components/button/button.js +1 -1
  68. package/dist/components/button/button.vue.d.ts +5 -5
  69. package/dist/components/card/card-content.js +1 -1
  70. package/dist/components/card/card-content.vue.d.ts +2 -2
  71. package/dist/components/card/card-description.js +1 -1
  72. package/dist/components/card/card-description.vue.d.ts +2 -2
  73. package/dist/components/card/card-footer.js +1 -1
  74. package/dist/components/card/card-footer.vue.d.ts +2 -2
  75. package/dist/components/card/card-header.js +1 -1
  76. package/dist/components/card/card-header.vue.d.ts +2 -2
  77. package/dist/components/card/card-root.js +1 -1
  78. package/dist/components/card/card-root.vue.d.ts +2 -2
  79. package/dist/components/card/card-title-root.js +1 -1
  80. package/dist/components/card/card-title-root.vue.d.ts +2 -2
  81. package/dist/components/card/card-title.js +1 -1
  82. package/dist/components/card/card-title.vue.d.ts +2 -2
  83. package/dist/components/card/context.d.ts +2 -2
  84. package/dist/components/card/context.js +1 -1
  85. package/dist/components/checkbox/checkbox-control.js +1 -1
  86. package/dist/components/checkbox/checkbox-control.vue.d.ts +2 -2
  87. package/dist/components/checkbox/checkbox-group-root.js +1 -1
  88. package/dist/components/checkbox/checkbox-group-root.vue.d.ts +3 -3
  89. package/dist/components/checkbox/checkbox-indicator.js +1 -1
  90. package/dist/components/checkbox/checkbox-indicator.vue.d.ts +4 -4
  91. package/dist/components/checkbox/checkbox-label.js +1 -1
  92. package/dist/components/checkbox/checkbox-label.vue.d.ts +2 -2
  93. package/dist/components/checkbox/checkbox-root.js +1 -1
  94. package/dist/components/checkbox/checkbox-root.vue.d.ts +4 -4
  95. package/dist/components/checkbox/context.d.ts +2 -3
  96. package/dist/components/checkbox/context.js +1 -1
  97. package/dist/components/checkbox/types.d.ts +2 -4
  98. package/dist/components/collapsible/collapsible-content.js +1 -1
  99. package/dist/components/collapsible/collapsible-content.vue.d.ts +2 -2
  100. package/dist/components/collapsible/collapsible-root.js +1 -1
  101. package/dist/components/collapsible/collapsible-root.vue.d.ts +6 -6
  102. package/dist/components/collapsible/collapsible-trigger.js +1 -1
  103. package/dist/components/collapsible/collapsible-trigger.vue.d.ts +4 -4
  104. package/dist/components/collapsible/context.d.ts +2 -3
  105. package/dist/components/collapsible/context.js +1 -1
  106. package/dist/components/collapsible/types.d.ts +1 -2
  107. package/dist/components/config-provider/config-provider.js +1 -1
  108. package/dist/components/config-provider/config-provider.vue.d.ts +3 -3
  109. package/dist/components/config-provider/context.js +1 -1
  110. package/dist/components/context-menu/context-menu-content.js +1 -1
  111. package/dist/components/context-menu/context-menu-content.vue.d.ts +6 -6
  112. package/dist/components/context-menu/context-menu-root.js +1 -1
  113. package/dist/components/context-menu/context-menu-root.vue.d.ts +4 -4
  114. package/dist/components/context-menu/context-menu-trigger.js +1 -1
  115. package/dist/components/context-menu/context-menu-trigger.vue.d.ts +4 -4
  116. package/dist/components/context-menu/context.js +1 -1
  117. package/dist/components/context-menu/index.js +1 -1
  118. package/dist/components/dialog/context.d.ts +2 -3
  119. package/dist/components/dialog/context.js +1 -1
  120. package/dist/components/dialog/dialog-close.js +1 -1
  121. package/dist/components/dialog/dialog-close.vue.d.ts +2 -2
  122. package/dist/components/dialog/dialog-content-impl.js +1 -1
  123. package/dist/components/dialog/dialog-content.js +1 -1
  124. package/dist/components/dialog/dialog-content.vue.d.ts +4 -4
  125. package/dist/components/dialog/dialog-description.js +1 -1
  126. package/dist/components/dialog/dialog-description.vue.d.ts +2 -2
  127. package/dist/components/dialog/dialog-footer.js +1 -1
  128. package/dist/components/dialog/dialog-footer.vue.d.ts +2 -2
  129. package/dist/components/dialog/dialog-header.js +1 -1
  130. package/dist/components/dialog/dialog-header.vue.d.ts +2 -2
  131. package/dist/components/dialog/dialog-overlay.js +1 -1
  132. package/dist/components/dialog/dialog-overlay.vue.d.ts +2 -2
  133. package/dist/components/dialog/dialog-root.js +1 -1
  134. package/dist/components/dialog/dialog-root.vue.d.ts +4 -4
  135. package/dist/components/dialog/dialog-title.js +1 -1
  136. package/dist/components/dialog/dialog-title.vue.d.ts +2 -2
  137. package/dist/components/dialog/dialog-trigger.js +1 -1
  138. package/dist/components/dialog/dialog-trigger.vue.d.ts +2 -2
  139. package/dist/components/dialog/types.d.ts +1 -2
  140. package/dist/components/dropdown-menu/context.js +1 -1
  141. package/dist/components/dropdown-menu/dropdown-menu-content.js +1 -1
  142. package/dist/components/dropdown-menu/dropdown-menu-content.vue.d.ts +7 -7
  143. package/dist/components/dropdown-menu/dropdown-menu-root.js +1 -1
  144. package/dist/components/dropdown-menu/dropdown-menu-root.vue.d.ts +5 -5
  145. package/dist/components/dropdown-menu/dropdown-menu-trigger.js +1 -1
  146. package/dist/components/dropdown-menu/dropdown-menu-trigger.vue.d.ts +4 -4
  147. package/dist/components/dropdown-menu/index.js +1 -1
  148. package/dist/components/form/context.d.ts +2 -3
  149. package/dist/components/form/context.js +1 -1
  150. package/dist/components/form/core/shared.js +1 -1
  151. package/dist/components/form/core/use-field-array.js +1 -1
  152. package/dist/components/form/core/use-form-state.js +1 -1
  153. package/dist/components/form/core/use-form.js +1 -1
  154. package/dist/components/form/form-description.js +1 -1
  155. package/dist/components/form/form-description.vue.d.ts +2 -2
  156. package/dist/components/form/form-error.js +1 -1
  157. package/dist/components/form/form-error.vue.d.ts +2 -2
  158. package/dist/components/form/form-field.js +1 -1
  159. package/dist/components/form/form-field.vue.d.ts +2 -2
  160. package/dist/components/form/form-label.js +1 -1
  161. package/dist/components/form/form-label.vue.d.ts +2 -2
  162. package/dist/components/input/context.d.ts +2 -2
  163. package/dist/components/input/context.js +1 -1
  164. package/dist/components/input/input-control.js +1 -1
  165. package/dist/components/input/input-control.vue.d.ts +2 -2
  166. package/dist/components/input/input-root.js +1 -1
  167. package/dist/components/input/input-root.vue.d.ts +4 -4
  168. package/dist/components/kbd/kbd.js +1 -1
  169. package/dist/components/kbd/kbd.vue.d.ts +2 -2
  170. package/dist/components/label/label.js +1 -1
  171. package/dist/components/label/label.vue.d.ts +2 -2
  172. package/dist/components/layout/context.d.ts +2 -3
  173. package/dist/components/layout/context.js +1 -1
  174. package/dist/components/layout/layout-content.js +1 -1
  175. package/dist/components/layout/layout-content.vue.d.ts +2 -2
  176. package/dist/components/layout/layout-footer.js +1 -1
  177. package/dist/components/layout/layout-footer.vue.d.ts +2 -2
  178. package/dist/components/layout/layout-header.js +1 -1
  179. package/dist/components/layout/layout-header.vue.d.ts +2 -2
  180. package/dist/components/layout/layout-main.js +1 -1
  181. package/dist/components/layout/layout-main.vue.d.ts +2 -2
  182. package/dist/components/layout/layout-mobile.js +1 -1
  183. package/dist/components/layout/layout-mobile.vue.d.ts +2 -2
  184. package/dist/components/layout/layout-rail.js +1 -1
  185. package/dist/components/layout/layout-rail.vue.d.ts +2 -2
  186. package/dist/components/layout/layout-root.js +1 -1
  187. package/dist/components/layout/layout-root.vue.d.ts +4 -4
  188. package/dist/components/layout/layout-sidebar.js +1 -1
  189. package/dist/components/layout/layout-sidebar.vue.d.ts +2 -2
  190. package/dist/components/layout/layout-tab.js +1 -1
  191. package/dist/components/layout/layout-tab.vue.d.ts +2 -2
  192. package/dist/components/layout/layout-trigger.js +1 -1
  193. package/dist/components/layout/layout-trigger.vue.d.ts +2 -2
  194. package/dist/components/link/link.js +1 -1
  195. package/dist/components/link/link.vue.d.ts +4 -4
  196. package/dist/components/list/context.d.ts +2 -2
  197. package/dist/components/list/context.js +1 -1
  198. package/dist/components/list/list-content.js +1 -1
  199. package/dist/components/list/list-content.vue.d.ts +2 -2
  200. package/dist/components/list/list-description.js +1 -1
  201. package/dist/components/list/list-description.vue.d.ts +2 -2
  202. package/dist/components/list/list-item.js +1 -1
  203. package/dist/components/list/list-item.vue.d.ts +2 -2
  204. package/dist/components/list/list-root.js +1 -1
  205. package/dist/components/list/list-root.vue.d.ts +2 -2
  206. package/dist/components/list/list-title.js +1 -1
  207. package/dist/components/list/list-title.vue.d.ts +2 -2
  208. package/dist/components/listbox/context.d.ts +2 -3
  209. package/dist/components/listbox/context.js +1 -1
  210. package/dist/components/listbox/listbox-content.js +1 -1
  211. package/dist/components/listbox/listbox-content.vue.d.ts +2 -2
  212. package/dist/components/listbox/listbox-filter.js +1 -1
  213. package/dist/components/listbox/listbox-filter.vue.d.ts +4 -4
  214. package/dist/components/listbox/listbox-group-label.js +1 -1
  215. package/dist/components/listbox/listbox-group-label.vue.d.ts +2 -2
  216. package/dist/components/listbox/listbox-group.js +1 -1
  217. package/dist/components/listbox/listbox-group.vue.d.ts +2 -2
  218. package/dist/components/listbox/listbox-item-indicator.js +1 -1
  219. package/dist/components/listbox/listbox-item-indicator.vue.d.ts +4 -4
  220. package/dist/components/listbox/listbox-item.js +1 -1
  221. package/dist/components/listbox/listbox-item.vue.d.ts +5 -5
  222. package/dist/components/listbox/listbox-root.js +1 -1
  223. package/dist/components/listbox/listbox-root.vue.d.ts +7 -7
  224. package/dist/components/listbox/listbox-virtualizer.js +1 -1
  225. package/dist/components/listbox/listbox-virtualizer.vue.d.ts +2 -2
  226. package/dist/components/listbox/types.d.ts +3 -7
  227. package/dist/components/menu/context.d.ts +2 -3
  228. package/dist/components/menu/context.js +1 -1
  229. package/dist/components/menu/menu-checkbox-group.js +1 -1
  230. package/dist/components/menu/menu-checkbox-group.vue.d.ts +3 -3
  231. package/dist/components/menu/menu-checkbox-item.js +1 -1
  232. package/dist/components/menu/menu-checkbox-item.vue.d.ts +4 -4
  233. package/dist/components/menu/menu-content-impl.js +1 -1
  234. package/dist/components/menu/menu-content.js +1 -1
  235. package/dist/components/menu/menu-content.vue.d.ts +6 -6
  236. package/dist/components/menu/menu-group-label.js +1 -1
  237. package/dist/components/menu/menu-group-label.vue.d.ts +2 -2
  238. package/dist/components/menu/menu-group.js +1 -1
  239. package/dist/components/menu/menu-group.vue.d.ts +2 -2
  240. package/dist/components/menu/menu-item-impl.js +1 -1
  241. package/dist/components/menu/menu-item-indicator.js +1 -1
  242. package/dist/components/menu/menu-item-indicator.vue.d.ts +4 -4
  243. package/dist/components/menu/menu-item.js +1 -1
  244. package/dist/components/menu/menu-item.vue.d.ts +4 -4
  245. package/dist/components/menu/menu-radio-group.js +1 -1
  246. package/dist/components/menu/menu-radio-group.vue.d.ts +3 -3
  247. package/dist/components/menu/menu-radio-item.js +1 -1
  248. package/dist/components/menu/menu-radio-item.vue.d.ts +4 -4
  249. package/dist/components/menu/menu-root.js +1 -1
  250. package/dist/components/menu/menu-root.vue.d.ts +4 -4
  251. package/dist/components/menu/menu-sub-content.js +1 -1
  252. package/dist/components/menu/menu-sub-content.vue.d.ts +6 -6
  253. package/dist/components/menu/menu-sub-trigger.js +1 -1
  254. package/dist/components/menu/menu-sub-trigger.vue.d.ts +2 -2
  255. package/dist/components/menu/menu-sub.js +1 -1
  256. package/dist/components/menu/menu-sub.vue.d.ts +4 -4
  257. package/dist/components/menu/types.d.ts +3 -6
  258. package/dist/components/navigation-menu/context.d.ts +2 -3
  259. package/dist/components/navigation-menu/context.js +1 -1
  260. package/dist/components/navigation-menu/navigation-menu-content-impl.js +1 -1
  261. package/dist/components/navigation-menu/navigation-menu-content.js +1 -1
  262. package/dist/components/navigation-menu/navigation-menu-content.vue.d.ts +4 -4
  263. package/dist/components/navigation-menu/navigation-menu-indicator.js +1 -1
  264. package/dist/components/navigation-menu/navigation-menu-indicator.vue.d.ts +2 -2
  265. package/dist/components/navigation-menu/navigation-menu-item.js +1 -1
  266. package/dist/components/navigation-menu/navigation-menu-item.vue.d.ts +2 -2
  267. package/dist/components/navigation-menu/navigation-menu-link.js +1 -1
  268. package/dist/components/navigation-menu/navigation-menu-link.vue.d.ts +4 -4
  269. package/dist/components/navigation-menu/navigation-menu-list.js +1 -1
  270. package/dist/components/navigation-menu/navigation-menu-list.vue.d.ts +2 -2
  271. package/dist/components/navigation-menu/navigation-menu-root.js +1 -1
  272. package/dist/components/navigation-menu/navigation-menu-root.vue.d.ts +4 -4
  273. package/dist/components/navigation-menu/navigation-menu-sub-list.js +1 -1
  274. package/dist/components/navigation-menu/navigation-menu-sub-list.vue.d.ts +2 -2
  275. package/dist/components/navigation-menu/navigation-menu-trigger.js +1 -1
  276. package/dist/components/navigation-menu/navigation-menu-trigger.vue.d.ts +4 -4
  277. package/dist/components/navigation-menu/navigation-menu-viewport.js +1 -1
  278. package/dist/components/navigation-menu/navigation-menu-viewport.vue.d.ts +3 -3
  279. package/dist/components/number-input/context.d.ts +2 -3
  280. package/dist/components/number-input/context.js +1 -1
  281. package/dist/components/number-input/number-input-control.js +1 -1
  282. package/dist/components/number-input/number-input-control.vue.d.ts +2 -2
  283. package/dist/components/number-input/number-input-decrement.js +1 -1
  284. package/dist/components/number-input/number-input-decrement.vue.d.ts +4 -4
  285. package/dist/components/number-input/number-input-increment.js +1 -1
  286. package/dist/components/number-input/number-input-increment.vue.d.ts +4 -4
  287. package/dist/components/number-input/number-input-root.js +1 -1
  288. package/dist/components/number-input/number-input-root.vue.d.ts +4 -4
  289. package/dist/components/number-input/shared.js +1 -1
  290. package/dist/components/page-tabs/context.d.ts +2 -3
  291. package/dist/components/page-tabs/context.js +1 -1
  292. package/dist/components/page-tabs/hooks.js +1 -1
  293. package/dist/components/page-tabs/page-tabs-close.js +1 -1
  294. package/dist/components/page-tabs/page-tabs-close.vue.d.ts +2 -2
  295. package/dist/components/page-tabs/page-tabs-item.js +1 -1
  296. package/dist/components/page-tabs/page-tabs-item.vue.d.ts +4 -4
  297. package/dist/components/page-tabs/page-tabs-pin.js +1 -1
  298. package/dist/components/page-tabs/page-tabs-pin.vue.d.ts +2 -2
  299. package/dist/components/page-tabs/page-tabs-root.js +1 -1
  300. package/dist/components/page-tabs/page-tabs-root.vue.d.ts +5 -5
  301. package/dist/components/pagination/context.d.ts +2 -3
  302. package/dist/components/pagination/context.js +1 -1
  303. package/dist/components/pagination/pagination-ellipsis.js +1 -1
  304. package/dist/components/pagination/pagination-ellipsis.vue.d.ts +2 -2
  305. package/dist/components/pagination/pagination-first.js +1 -1
  306. package/dist/components/pagination/pagination-first.vue.d.ts +2 -2
  307. package/dist/components/pagination/pagination-last.js +1 -1
  308. package/dist/components/pagination/pagination-last.vue.d.ts +2 -2
  309. package/dist/components/pagination/pagination-list-item.js +1 -1
  310. package/dist/components/pagination/pagination-list-item.vue.d.ts +2 -2
  311. package/dist/components/pagination/pagination-list.js +1 -1
  312. package/dist/components/pagination/pagination-list.vue.d.ts +2 -2
  313. package/dist/components/pagination/pagination-next.js +1 -1
  314. package/dist/components/pagination/pagination-next.vue.d.ts +2 -2
  315. package/dist/components/pagination/pagination-prev.js +1 -1
  316. package/dist/components/pagination/pagination-prev.vue.d.ts +2 -2
  317. package/dist/components/pagination/pagination-root.js +1 -1
  318. package/dist/components/pagination/pagination-root.vue.d.ts +4 -4
  319. package/dist/components/pagination/types.d.ts +1 -2
  320. package/dist/components/popover/context.js +1 -1
  321. package/dist/components/popover/popover-anchor.js +1 -1
  322. package/dist/components/popover/popover-anchor.vue.d.ts +2 -2
  323. package/dist/components/popover/popover-close.js +1 -1
  324. package/dist/components/popover/popover-close.vue.d.ts +4 -4
  325. package/dist/components/popover/popover-popup.js +1 -1
  326. package/dist/components/popover/popover-popup.vue.d.ts +2 -2
  327. package/dist/components/popover/popover-positioner-impl.js +1 -1
  328. package/dist/components/popover/popover-positioner.js +1 -1
  329. package/dist/components/popover/popover-positioner.vue.d.ts +4 -4
  330. package/dist/components/popover/popover-root.js +1 -1
  331. package/dist/components/popover/popover-root.vue.d.ts +4 -4
  332. package/dist/components/popover/popover-trigger.js +1 -1
  333. package/dist/components/popover/popover-trigger.vue.d.ts +4 -4
  334. package/dist/components/popper/context.d.ts +2 -3
  335. package/dist/components/popper/context.js +1 -1
  336. package/dist/components/popper/popper-anchor.js +1 -1
  337. package/dist/components/popper/popper-anchor.vue.d.ts +2 -2
  338. package/dist/components/popper/popper-arrow.js +1 -1
  339. package/dist/components/popper/popper-arrow.vue.d.ts +2 -2
  340. package/dist/components/popper/popper-popup.js +1 -1
  341. package/dist/components/popper/popper-popup.vue.d.ts +2 -2
  342. package/dist/components/popper/popper-positioner.js +1 -1
  343. package/dist/components/popper/popper-positioner.vue.d.ts +10 -10
  344. package/dist/components/popper/popper-root.js +1 -1
  345. package/dist/components/popper/popper-root.vue.d.ts +2 -2
  346. package/dist/components/popper/shared.js +1 -1
  347. package/dist/components/portal/portal.js +1 -1
  348. package/dist/components/portal/portal.vue.d.ts +3 -3
  349. package/dist/components/primitive/primitive.d.ts +2 -2
  350. package/dist/components/primitive/primitive.js +1 -1
  351. package/dist/components/radio-group/context.d.ts +2 -3
  352. package/dist/components/radio-group/context.js +1 -1
  353. package/dist/components/radio-group/radio-group-control.js +1 -1
  354. package/dist/components/radio-group/radio-group-control.vue.d.ts +2 -2
  355. package/dist/components/radio-group/radio-group-indicator.js +1 -1
  356. package/dist/components/radio-group/radio-group-indicator.vue.d.ts +4 -4
  357. package/dist/components/radio-group/radio-group-item.js +1 -1
  358. package/dist/components/radio-group/radio-group-item.vue.d.ts +4 -4
  359. package/dist/components/radio-group/radio-group-label.js +1 -1
  360. package/dist/components/radio-group/radio-group-label.vue.d.ts +2 -2
  361. package/dist/components/radio-group/radio-group-root.js +1 -1
  362. package/dist/components/radio-group/radio-group-root.vue.d.ts +3 -3
  363. package/dist/components/radio-group/types.d.ts +2 -4
  364. package/dist/components/roving-focus/context.js +1 -1
  365. package/dist/components/roving-focus/roving-focus-group.js +1 -1
  366. package/dist/components/roving-focus/roving-focus-group.vue.d.ts +6 -6
  367. package/dist/components/roving-focus/roving-focus-item.js +1 -1
  368. package/dist/components/roving-focus/roving-focus-item.vue.d.ts +3 -3
  369. package/dist/components/select/context.d.ts +2 -3
  370. package/dist/components/select/context.js +1 -1
  371. package/dist/components/select/select-arrow.js +1 -1
  372. package/dist/components/select/select-arrow.vue.d.ts +2 -2
  373. package/dist/components/select/select-bubble-select.js +1 -1
  374. package/dist/components/select/select-content-impl.js +1 -1
  375. package/dist/components/select/select-content.js +1 -1
  376. package/dist/components/select/select-content.vue.d.ts +4 -4
  377. package/dist/components/select/select-group-label.js +1 -1
  378. package/dist/components/select/select-group-label.vue.d.ts +2 -2
  379. package/dist/components/select/select-group.js +1 -1
  380. package/dist/components/select/select-group.vue.d.ts +2 -2
  381. package/dist/components/select/select-item-aligned-popup.js +1 -1
  382. package/dist/components/select/select-item-aligned-positioner.js +1 -1
  383. package/dist/components/select/select-item-indicator.js +1 -1
  384. package/dist/components/select/select-item-indicator.vue.d.ts +4 -4
  385. package/dist/components/select/select-item-text.js +1 -1
  386. package/dist/components/select/select-item-text.vue.d.ts +2 -2
  387. package/dist/components/select/select-item.js +1 -1
  388. package/dist/components/select/select-item.vue.d.ts +4 -4
  389. package/dist/components/select/select-popper-popup.js +1 -1
  390. package/dist/components/select/select-root.js +1 -1
  391. package/dist/components/select/select-root.vue.d.ts +3 -3
  392. package/dist/components/select/select-scroll-button-impl.js +1 -1
  393. package/dist/components/select/select-scroll-down-button.js +1 -1
  394. package/dist/components/select/select-scroll-down-button.vue.d.ts +2 -2
  395. package/dist/components/select/select-scroll-up-button.js +1 -1
  396. package/dist/components/select/select-scroll-up-button.vue.d.ts +2 -2
  397. package/dist/components/select/select-separator.js +1 -1
  398. package/dist/components/select/select-separator.vue.d.ts +2 -2
  399. package/dist/components/select/select-teleport-provider.js +1 -1
  400. package/dist/components/select/select-trigger-icon.js +1 -1
  401. package/dist/components/select/select-trigger-icon.vue.d.ts +2 -2
  402. package/dist/components/select/select-trigger.js +1 -1
  403. package/dist/components/select/select-trigger.vue.d.ts +4 -4
  404. package/dist/components/select/select-value.js +1 -1
  405. package/dist/components/select/select-value.vue.d.ts +3 -3
  406. package/dist/components/select/select-viewport.js +1 -1
  407. package/dist/components/select/select-viewport.vue.d.ts +2 -2
  408. package/dist/components/select/shared.js +1 -1
  409. package/dist/components/select/types.d.ts +4 -8
  410. package/dist/components/separator/context.d.ts +2 -2
  411. package/dist/components/separator/context.js +1 -1
  412. package/dist/components/separator/separator-label.js +1 -1
  413. package/dist/components/separator/separator-label.vue.d.ts +2 -2
  414. package/dist/components/separator/separator-root.js +1 -1
  415. package/dist/components/separator/separator-root.vue.d.ts +3 -3
  416. package/dist/components/slot/slot.d.ts +2 -2
  417. package/dist/components/slot/slot.js +1 -1
  418. package/dist/components/switch/context.d.ts +2 -3
  419. package/dist/components/switch/context.js +1 -1
  420. package/dist/components/switch/switch-control.js +1 -1
  421. package/dist/components/switch/switch-control.vue.d.ts +2 -2
  422. package/dist/components/switch/switch-root.js +1 -1
  423. package/dist/components/switch/switch-root.vue.d.ts +3 -3
  424. package/dist/components/switch/switch-thumb.js +1 -1
  425. package/dist/components/switch/switch-thumb.vue.d.ts +4 -4
  426. package/dist/components/switch/types.d.ts +1 -2
  427. package/dist/components/tabs/context.d.ts +2 -3
  428. package/dist/components/tabs/context.js +1 -1
  429. package/dist/components/tabs/tabs-content.js +1 -1
  430. package/dist/components/tabs/tabs-content.vue.d.ts +2 -2
  431. package/dist/components/tabs/tabs-indicator.js +1 -1
  432. package/dist/components/tabs/tabs-indicator.vue.d.ts +2 -2
  433. package/dist/components/tabs/tabs-list.js +1 -1
  434. package/dist/components/tabs/tabs-list.vue.d.ts +2 -2
  435. package/dist/components/tabs/tabs-root.js +1 -1
  436. package/dist/components/tabs/tabs-root.vue.d.ts +5 -5
  437. package/dist/components/tabs/tabs-trigger.js +1 -1
  438. package/dist/components/tabs/tabs-trigger.vue.d.ts +4 -4
  439. package/dist/components/tabs/types.d.ts +1 -2
  440. package/dist/components/tag/tag.js +1 -1
  441. package/dist/components/tag/tag.vue.d.ts +4 -4
  442. package/dist/components/textarea/context.d.ts +2 -2
  443. package/dist/components/textarea/context.js +1 -1
  444. package/dist/components/textarea/textarea-control.js +1 -1
  445. package/dist/components/textarea/textarea-control.vue.d.ts +2 -2
  446. package/dist/components/textarea/textarea-counter.js +1 -1
  447. package/dist/components/textarea/textarea-counter.vue.d.ts +2 -2
  448. package/dist/components/textarea/textarea-root.js +1 -1
  449. package/dist/components/textarea/textarea-root.vue.d.ts +4 -4
  450. package/dist/components/toast/context.d.ts +0 -1
  451. package/dist/components/toast/context.js +1 -1
  452. package/dist/components/toast/shared.js +1 -1
  453. package/dist/components/toast/toast-action.js +1 -1
  454. package/dist/components/toast/toast-action.vue.d.ts +4 -4
  455. package/dist/components/toast/toast-announce.js +1 -1
  456. package/dist/components/toast/toast-close.js +1 -1
  457. package/dist/components/toast/toast-close.vue.d.ts +4 -4
  458. package/dist/components/toast/toast-description.js +1 -1
  459. package/dist/components/toast/toast-description.vue.d.ts +2 -2
  460. package/dist/components/toast/toast-focus-proxy.js +1 -1
  461. package/dist/components/toast/toast-provider.js +1 -1
  462. package/dist/components/toast/toast-provider.vue.d.ts +3 -3
  463. package/dist/components/toast/toast-root.js +1 -1
  464. package/dist/components/toast/toast-root.vue.d.ts +5 -5
  465. package/dist/components/toast/toast-title.js +1 -1
  466. package/dist/components/toast/toast-title.vue.d.ts +2 -2
  467. package/dist/components/toast/toast-viewport.js +1 -1
  468. package/dist/components/toast/toast-viewport.vue.d.ts +4 -4
  469. package/dist/components/toast/types.d.ts +6 -12
  470. package/dist/components/tooltip/context.js +1 -1
  471. package/dist/components/tooltip/tooltip-popup.js +1 -1
  472. package/dist/components/tooltip/tooltip-popup.vue.d.ts +2 -2
  473. package/dist/components/tooltip/tooltip-positioner-impl.js +1 -1
  474. package/dist/components/tooltip/tooltip-positioner.js +1 -1
  475. package/dist/components/tooltip/tooltip-positioner.vue.d.ts +4 -4
  476. package/dist/components/tooltip/tooltip-root.js +1 -1
  477. package/dist/components/tooltip/tooltip-root.vue.d.ts +4 -4
  478. package/dist/components/tooltip/tooltip-trigger.js +1 -1
  479. package/dist/components/tooltip/tooltip-trigger.vue.d.ts +4 -4
  480. package/dist/components/tree/context.js +1 -1
  481. package/dist/components/tree/hooks.js +1 -1
  482. package/dist/components/tree/tree-item.js +1 -1
  483. package/dist/components/tree/tree-item.vue.d.ts +5 -5
  484. package/dist/components/tree/tree-root.js +1 -1
  485. package/dist/components/tree/tree-root.vue.d.ts +3 -3
  486. package/dist/components/tree/tree-virtualizer-item.js +1 -1
  487. package/dist/components/tree/tree-virtualizer-item.vue.d.ts +4 -4
  488. package/dist/components/tree/tree-virtualizer-root.js +1 -1
  489. package/dist/components/tree/tree-virtualizer-root.vue.d.ts +3 -3
  490. package/dist/components/tree/types.d.ts +2 -5
  491. package/dist/components/tree-menu/context.d.ts +2 -3
  492. package/dist/components/tree-menu/context.js +1 -1
  493. package/dist/components/tree-menu/tree-menu-button.js +1 -1
  494. package/dist/components/tree-menu/tree-menu-button.vue.d.ts +4 -4
  495. package/dist/components/tree-menu/tree-menu-collapsible.js +1 -1
  496. package/dist/components/tree-menu/tree-menu-collapsible.vue.d.ts +2 -2
  497. package/dist/components/tree-menu/tree-menu-group-label.js +1 -1
  498. package/dist/components/tree-menu/tree-menu-group-label.vue.d.ts +2 -2
  499. package/dist/components/tree-menu/tree-menu-group-root.js +1 -1
  500. package/dist/components/tree-menu/tree-menu-group-root.vue.d.ts +2 -2
  501. package/dist/components/tree-menu/tree-menu-group.js +1 -1
  502. package/dist/components/tree-menu/tree-menu-group.vue.d.ts +4 -4
  503. package/dist/components/tree-menu/tree-menu-item.js +1 -1
  504. package/dist/components/tree-menu/tree-menu-item.vue.d.ts +4 -4
  505. package/dist/components/tree-menu/tree-menu-root.js +1 -1
  506. package/dist/components/tree-menu/tree-menu-root.vue.d.ts +5 -5
  507. package/dist/components/tree-menu/tree-menu-sub.js +1 -1
  508. package/dist/components/tree-menu/tree-menu-sub.vue.d.ts +4 -4
  509. package/dist/components/virtualizer/context.js +1 -1
  510. package/dist/components/virtualizer/virtualizer-content.js +1 -1
  511. package/dist/components/virtualizer/virtualizer-content.vue.d.ts +2 -2
  512. package/dist/components/virtualizer/virtualizer-item.js +1 -1
  513. package/dist/components/virtualizer/virtualizer-item.vue.d.ts +2 -2
  514. package/dist/components/virtualizer/virtualizer-root.js +1 -1
  515. package/dist/components/virtualizer/virtualizer-root.vue.d.ts +3 -3
  516. package/dist/components/visually-hidden/visually-hidden-input-bubble.js +1 -1
  517. package/dist/components/visually-hidden/visually-hidden-input.js +1 -1
  518. package/dist/components/visually-hidden/visually-hidden-input.vue.d.ts +3 -3
  519. package/dist/components/visually-hidden/visually-hidden.js +1 -1
  520. package/dist/components/visually-hidden/visually-hidden.vue.d.ts +4 -4
  521. package/dist/composables/use-body-scroll-lock.js +1 -1
  522. package/dist/composables/use-collection.d.ts +6 -6
  523. package/dist/composables/use-collection.js +1 -1
  524. package/dist/composables/use-context.js +1 -1
  525. package/dist/composables/use-dismissable-layer.d.ts +2 -2
  526. package/dist/composables/use-dismissable-layer.js +1 -1
  527. package/dist/composables/use-exposed-element.d.ts +2 -2
  528. package/dist/composables/use-floating.js +1 -1
  529. package/dist/composables/use-focus-guards.js +1 -1
  530. package/dist/composables/use-focus-scope.js +1 -1
  531. package/dist/composables/use-forward-element.d.ts +2 -3
  532. package/dist/composables/use-forward-element.js +1 -1
  533. package/dist/composables/use-grace-area.js +1 -1
  534. package/dist/composables/use-hide-others.d.ts +0 -1
  535. package/dist/composables/use-hide-others.js +1 -1
  536. package/dist/composables/use-image-loading-status.d.ts +2 -2
  537. package/dist/composables/use-image-loading-status.js +1 -1
  538. package/dist/composables/use-is-using-keyboard.d.ts +2 -2
  539. package/dist/composables/use-is-using-keyboard.js +1 -1
  540. package/dist/composables/use-kbd.d.ts +2 -2
  541. package/dist/composables/use-presence.d.ts +2 -2
  542. package/dist/composables/use-props.d.ts +3 -3
  543. package/dist/composables/use-props.js +1 -1
  544. package/dist/composables/use-selection.d.ts +4 -4
  545. package/dist/composables/use-selection.js +1 -1
  546. package/dist/composables/use-typeahead.js +1 -1
  547. package/dist/index.js +1 -1
  548. package/dist/namespaced/index.js +1 -1
  549. package/dist/resolver/index.js +1 -1
  550. package/dist/shared/comparison.d.ts +0 -1
  551. package/dist/shared/form.d.ts +0 -1
  552. package/dist/types/component.d.ts +3 -8
  553. package/dist/types/dom.d.ts +0 -1
  554. package/dist/types/path.d.ts +2 -2
  555. package/dist/types/vue.d.ts +1 -1
  556. package/package.json +14 -4
@@ -1,5 +1,5 @@
1
1
  import { PopoverRootProps } from "./types.js";
2
- import * as vue975 from "vue";
2
+ import * as vue from "vue";
3
3
 
4
4
  //#region src/components/popover/popover-root.vue.d.ts
5
5
  declare var __VLS_8: {
@@ -9,15 +9,15 @@ declare var __VLS_8: {
9
9
  type __VLS_Slots = {} & {
10
10
  default?: (props: typeof __VLS_8) => any;
11
11
  };
12
- declare const __VLS_base: vue975.DefineComponent<PopoverRootProps, {}, {}, {}, {}, vue975.ComponentOptionsMixin, vue975.ComponentOptionsMixin, {
12
+ declare const __VLS_base: vue.DefineComponent<PopoverRootProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
13
13
  "update:open": (value: boolean) => any;
14
- }, string, vue975.PublicProps, Readonly<PopoverRootProps> & Readonly<{
14
+ }, string, vue.PublicProps, Readonly<PopoverRootProps> & Readonly<{
15
15
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
16
16
  }>, {
17
17
  open: boolean;
18
18
  defaultOpen: boolean;
19
19
  modal: boolean;
20
- }, {}, {}, {}, string, vue975.ComponentProvideOptions, false, {}, any>;
20
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
21
21
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
22
22
  declare const _default: typeof __VLS_export;
23
23
  type __VLS_WithSlots<T, S> = T & {
@@ -1 +1 @@
1
- import{useForwardElement as e}from"../../composables/use-forward-element.js";import{Primitive as t}from"../primitive/primitive.js";import n from"../popper/popper-anchor.js";import{usePopoverRootContext as r}from"./context.js";import{computed as i,createBlock as a,defineComponent as o,openBlock as s,renderSlot as c,resolveDynamicComponent as l,unref as u,withCtx as d}from"vue";var f=o({name:`PopoverTrigger`,__name:`popover-trigger`,props:{asChild:{type:Boolean},as:{default:`button`}},setup(o){let f=o,{open:p,onOpenToggle:m,dataState:h,popupId:g,initTriggerId:_,onTriggerElementChange:v,hasCustomAnchor:y}=r(`PopoverTrigger`),[b,x]=e(v),S=i(()=>f.as===`button`?`button`:void 0);return _(),(e,r)=>(s(),a(l(u(y)?u(t):u(n)),{ref:u(x),as:o.as,"as-child":o.asChild,type:S.value,"aria-haspopup":`dialog`,"aria-expanded":u(p)||!1,"aria-controls":u(p)?u(g):void 0,"data-state":u(h),onClick:u(m)},{default:d(()=>[c(e.$slots,`default`)]),_:3},8,[`as`,`as-child`,`type`,`aria-expanded`,`aria-controls`,`data-state`,`onClick`]))}});export{f as default};
1
+ import{useForwardElement as e}from"../../composables/use-forward-element.js";import"../../composables/index.js";import{Primitive as t}from"../primitive/primitive.js";import"../primitive/index.js";import n from"../popper/popper-anchor.js";import"../popper/index.js";import{usePopoverRootContext as r}from"./context.js";import{computed as i,createBlock as a,defineComponent as o,openBlock as s,renderSlot as c,resolveDynamicComponent as l,unref as u,withCtx as d}from"vue";const f=o({name:`PopoverTrigger`,__name:`popover-trigger`,props:{asChild:{type:Boolean},as:{default:`button`}},setup(o){let f=o,{open:p,onOpenToggle:m,dataState:h,popupId:g,initTriggerId:_,onTriggerElementChange:v,hasCustomAnchor:y}=r(`PopoverTrigger`),[b,x]=e(v),S=i(()=>f.as===`button`?`button`:void 0);return _(),(e,r)=>(s(),a(l(u(y)?u(t):u(n)),{ref:u(x),as:o.as,"as-child":o.asChild,type:S.value,"aria-haspopup":`dialog`,"aria-expanded":u(p)||!1,"aria-controls":u(p)?u(g):void 0,"data-state":u(h),onClick:u(m)},{default:d(()=>[c(e.$slots,`default`)]),_:3},8,[`as`,`as-child`,`type`,`aria-expanded`,`aria-controls`,`data-state`,`onClick`]))}});export{f as default};
@@ -1,16 +1,16 @@
1
1
  import { AsTag } from "../primitive/types.js";
2
2
  import "../primitive/index.js";
3
3
  import { PopoverTriggerProps } from "./types.js";
4
- import * as vue985 from "vue";
4
+ import * as vue from "vue";
5
5
 
6
6
  //#region src/components/popover/popover-trigger.vue.d.ts
7
7
  declare var __VLS_10: {};
8
8
  type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_10) => any;
10
10
  };
11
- declare const __VLS_base: vue985.DefineComponent<PopoverTriggerProps, {}, {}, {}, {}, vue985.ComponentOptionsMixin, vue985.ComponentOptionsMixin, {}, string, vue985.PublicProps, Readonly<PopoverTriggerProps> & Readonly<{}>, {
12
- as: AsTag | vue985.Component;
13
- }, {}, {}, {}, string, vue985.ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_base: vue.DefineComponent<PopoverTriggerProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<PopoverTriggerProps> & Readonly<{}>, {
12
+ as: AsTag | vue.Component;
13
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
14
14
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
15
  declare const _default: typeof __VLS_export;
16
16
  type __VLS_WithSlots<T, S> = T & {
@@ -1,12 +1,11 @@
1
1
  import { ClassValue, UiClass } from "../../types/common.js";
2
2
  import { PopperUiSlot } from "./types.js";
3
3
  import "../../index.js";
4
- import * as vue793 from "vue";
4
+ import * as vue from "vue";
5
5
  import { ReferenceElement } from "@floating-ui/dom";
6
6
  import "@floating-ui/utils";
7
7
 
8
8
  //#region src/components/popper/context.d.ts
9
-
10
- declare const providePopperUi: (ui: vue793.ComputedRef<Partial<UiClass<PopperUiSlot>>>) => vue793.ComputedRef<Partial<UiClass<PopperUiSlot>>>, usePopperUi: <S extends PopperUiSlot | undefined = undefined>(slot?: S | undefined) => S extends PopperUiSlot ? vue793.ComputedRef<ClassValue> : vue793.ComputedRef<Partial<UiClass<PopperUiSlot>>>;
9
+ declare const providePopperUi: (ui: vue.ComputedRef<Partial<UiClass<PopperUiSlot>>>) => vue.ComputedRef<Partial<UiClass<PopperUiSlot>>>, usePopperUi: <S extends PopperUiSlot | undefined = undefined>(slot?: S | undefined) => S extends PopperUiSlot ? vue.ComputedRef<ClassValue> : vue.ComputedRef<Partial<UiClass<PopperUiSlot>>>;
11
10
  //#endregion
12
11
  export { providePopperUi };
@@ -1 +1 @@
1
- import{useContext as e}from"../../composables/use-context.js";import{useUiContext as t}from"../../composables/use-ui-context.js";import{shallowRef as n}from"vue";const[r,i]=e(`PopperRoot`,()=>{let e=n(),t=t=>{e.value=t},r=n();return{popupElement:e,onPopupElementChange:t,anchorElement:r,onAnchorElementChange:e=>{r.value=e}}}),[a,o]=e(`PopperPositioner`,e=>{let t=n(null),r=e=>{t.value=e??null};return{...e,arrowElement:t,onArrowElementChange:r}}),[s,c]=t(`PopperUi`);export{a as providePopperPositionerContext,r as providePopperRootContext,s as providePopperUi,o as usePopperPositionerContext,i as usePopperRootContext,c as usePopperUi};
1
+ import{useContext as e}from"../../composables/use-context.js";import{useUiContext as t}from"../../composables/use-ui-context.js";import"../../composables/index.js";import{shallowRef as n}from"vue";const[r,i]=e(`PopperRoot`,()=>{let e=n(),t=t=>{e.value=t},r=n();return{popupElement:e,onPopupElementChange:t,anchorElement:r,onAnchorElementChange:e=>{r.value=e}}}),[a,o]=e(`PopperPositioner`,e=>{let t=n(null),r=e=>{t.value=e??null};return{...e,arrowElement:t,onArrowElementChange:r}}),[s,c]=t(`PopperUi`);export{a as providePopperPositionerContext,r as providePopperRootContext,s as providePopperUi,o as usePopperPositionerContext,i as usePopperRootContext,c as usePopperUi};
@@ -1 +1 @@
1
- import{useForwardElement as e}from"../../composables/use-forward-element.js";import{useOmitProps as t}from"../../composables/use-props.js";import{Primitive as n}from"../primitive/primitive.js";import{usePopperRootContext as r}from"./context.js";import{createBlock as i,defineComponent as a,mergeProps as o,openBlock as s,renderSlot as c,unref as l,watchEffect as u,withCtx as d}from"vue";var f=a({name:`PopperAnchor`,__name:`popper-anchor`,props:{reference:{},asChild:{type:Boolean},as:{}},setup(a){let f=a,p=t(f,[`reference`]),{onAnchorElementChange:m}=r(`PopperAnchor`),[h,g]=e(e=>{f.reference||m(e)});return u(()=>{f.reference&&m(f.reference)}),(e,t)=>(s(),i(l(n),o(l(p),{ref:l(g)}),{default:d(()=>[c(e.$slots,`default`)]),_:3},16))}});export{f as default};
1
+ import{useForwardElement as e}from"../../composables/use-forward-element.js";import{useOmitProps as t}from"../../composables/use-props.js";import"../../composables/index.js";import{Primitive as n}from"../primitive/primitive.js";import"../primitive/index.js";import{usePopperRootContext as r}from"./context.js";import{createBlock as i,defineComponent as a,mergeProps as o,openBlock as s,renderSlot as c,unref as l,watchEffect as u,withCtx as d}from"vue";const f=a({name:`PopperAnchor`,__name:`popper-anchor`,props:{reference:{},asChild:{type:Boolean},as:{}},setup(a){let f=a,p=t(f,[`reference`]),{onAnchorElementChange:m}=r(`PopperAnchor`),[h,g]=e(e=>{f.reference||m(e)});return u(()=>{f.reference&&m(f.reference)}),(e,t)=>(s(),i(l(n),o(l(p),{ref:l(g)}),{default:d(()=>[c(e.$slots,`default`)]),_:3},16))}});export{f as default};
@@ -1,12 +1,12 @@
1
1
  import { PopperAnchorProps } from "./types.js";
2
- import * as vue772 from "vue";
2
+ import * as vue from "vue";
3
3
 
4
4
  //#region src/components/popper/popper-anchor.vue.d.ts
5
5
  declare var __VLS_8: {};
6
6
  type __VLS_Slots = {} & {
7
7
  default?: (props: typeof __VLS_8) => any;
8
8
  };
9
- declare const __VLS_base: vue772.DefineComponent<PopperAnchorProps, {}, {}, {}, {}, vue772.ComponentOptionsMixin, vue772.ComponentOptionsMixin, {}, string, vue772.PublicProps, Readonly<PopperAnchorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue772.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue.DefineComponent<PopperAnchorProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<PopperAnchorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
10
10
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
11
  declare const _default: typeof __VLS_export;
12
12
  type __VLS_WithSlots<T, S> = T & {
@@ -1 +1 @@
1
- import{OPPOSITE_SIDE as e}from"../../constants/common.js";import t from"../arrow/arrow.js";import{usePopperPositionerContext as n,usePopperUi as r}from"./context.js";import{computed as i,createElementBlock as a,createVNode as o,defineComponent as s,normalizeClass as c,normalizeStyle as l,openBlock as u,unref as d}from"vue";var f=s({name:`PopperArrow`,__name:`popper-arrow`,setup(s){let f=r(`arrow`),{setArrowElement:p,arrowX:m,arrowY:h,arrowCentered:g,placedSide:_}=n(`PopperArrow`),v={top:``,right:`0 0`,bottom:`center 0`,left:`100% 0`},y={top:`translateY(100%)`,right:`translateY(50%) rotate(90deg) translateX(-50%)`,bottom:`rotate(180deg)`,left:`translateY(50%) rotate(-90deg) translateX(50%)`},b=i(()=>e[_.value]),x=i(()=>({position:`absolute`,left:m.value?`${m.value}px`:void 0,top:h.value?`${h.value}px`:void 0,[b.value]:0,transformOrigin:v[_.value],transform:y[_.value],visibility:g.value?void 0:`hidden`}));return(e,n)=>(u(),a(`span`,{ref:d(p),class:c(d(f)),style:l(x.value)},[o(d(t))],6))}});export{f as default};
1
+ import{OPPOSITE_SIDE as e}from"../../constants/common.js";import t from"../arrow/arrow.js";import"../arrow/index.js";import{usePopperPositionerContext as n,usePopperUi as r}from"./context.js";import{computed as i,createElementBlock as a,createVNode as o,defineComponent as s,normalizeClass as c,normalizeStyle as l,openBlock as u,unref as d}from"vue";const f=s({name:`PopperArrow`,__name:`popper-arrow`,setup(s){let f=r(`arrow`),{setArrowElement:p,arrowX:m,arrowY:h,arrowCentered:g,placedSide:_}=n(`PopperArrow`),v={top:``,right:`0 0`,bottom:`center 0`,left:`100% 0`},y={top:`translateY(100%)`,right:`translateY(50%) rotate(90deg) translateX(-50%)`,bottom:`rotate(180deg)`,left:`translateY(50%) rotate(-90deg) translateX(50%)`},b=i(()=>e[_.value]),x=i(()=>({position:`absolute`,left:m.value?`${m.value}px`:void 0,top:h.value?`${h.value}px`:void 0,[b.value]:0,transformOrigin:v[_.value],transform:y[_.value],visibility:g.value?void 0:`hidden`}));return(e,n)=>(u(),a(`span`,{ref:d(p),class:c(d(f)),style:l(x.value)},[o(d(t))],6))}});export{f as default};
@@ -1,8 +1,8 @@
1
1
  import { PopperArrowProps } from "./types.js";
2
- import * as vue788 from "vue";
2
+ import * as vue from "vue";
3
3
 
4
4
  //#region src/components/popper/popper-arrow.vue.d.ts
5
- declare const __VLS_export: vue788.DefineComponent<PopperArrowProps, {}, {}, {}, {}, vue788.ComponentOptionsMixin, vue788.ComponentOptionsMixin, {}, string, vue788.PublicProps, Readonly<PopperArrowProps> & Readonly<{}>, {}, {}, {}, {}, string, vue788.ComponentProvideOptions, false, {}, any>;
5
+ declare const __VLS_export: vue.DefineComponent<PopperArrowProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<PopperArrowProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
6
6
  declare const _default: typeof __VLS_export;
7
7
  //#endregion
8
8
  export { _default };
@@ -1 +1 @@
1
- import{useForwardElement as e}from"../../composables/use-forward-element.js";import{usePopperPositionerContext as t,usePopperRootContext as n,usePopperUi as r}from"./context.js";import{computed as i,createElementBlock as a,defineComponent as o,normalizeClass as s,normalizeStyle as c,openBlock as l,renderSlot as u,unref as d}from"vue";const f=[`data-side`,`data-align`];var p=o({name:`PopperPopup`,__name:`popper-popup`,setup(o){let p=r(`popup`),{onPopupElementChange:m}=n(`PopperPopup`),{placedSide:h,placedAlign:g,isPositioned:_}=t(`PopperPopup`),[v,y]=e(m),b=i(()=>({animation:_.value?void 0:`none`}));return(e,t)=>(l(),a(`div`,{ref:d(y),class:s(d(p)),"data-soybean-popper-popup":``,"data-side":d(h),"data-align":d(g),style:c(b.value)},[u(e.$slots,`default`)],14,f))}});export{p as default};
1
+ import{useForwardElement as e}from"../../composables/use-forward-element.js";import"../../composables/index.js";import{usePopperPositionerContext as t,usePopperRootContext as n,usePopperUi as r}from"./context.js";import{computed as i,createElementBlock as a,defineComponent as o,normalizeClass as s,normalizeStyle as c,openBlock as l,renderSlot as u,unref as d}from"vue";const f=[`data-side`,`data-align`],p=o({name:`PopperPopup`,__name:`popper-popup`,setup(o){let p=r(`popup`),{onPopupElementChange:m}=n(`PopperPopup`),{placedSide:h,placedAlign:g,isPositioned:_}=t(`PopperPopup`),[v,y]=e(m),b=i(()=>({animation:_.value?void 0:`none`}));return(e,t)=>(l(),a(`div`,{ref:d(y),class:s(d(p)),"data-soybean-popper-popup":``,"data-side":d(h),"data-align":d(g),style:c(b.value)},[u(e.$slots,`default`)],14,f))}});export{p as default};
@@ -1,12 +1,12 @@
1
1
  import { PopperPopupProps } from "./types.js";
2
- import * as vue783 from "vue";
2
+ import * as vue from "vue";
3
3
 
4
4
  //#region src/components/popper/popper-popup.vue.d.ts
5
5
  declare var __VLS_1: {};
6
6
  type __VLS_Slots = {} & {
7
7
  default?: (props: typeof __VLS_1) => any;
8
8
  };
9
- declare const __VLS_base: vue783.DefineComponent<PopperPopupProps, {}, {}, {}, {}, vue783.ComponentOptionsMixin, vue783.ComponentOptionsMixin, {}, string, vue783.PublicProps, Readonly<PopperPopupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue783.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue.DefineComponent<PopperPopupProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<PopperPopupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
10
10
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
11
  declare const _default: typeof __VLS_export;
12
12
  type __VLS_WithSlots<T, S> = T & {
@@ -1 +1 @@
1
- import{useForwardElement as e}from"../../composables/use-forward-element.js";import{useFloating as t}from"../../composables/use-floating.js";import{providePopperPositionerContext as n,usePopperRootContext as r,usePopperUi as i}from"./context.js";import{createPopperPositionerDefaultProps as a,getFloatingUiMiddleware as o,getPlacement as s,popperCssVars as c}from"./shared.js";import{computed as l,createElementBlock as u,defineComponent as d,mergeDefaults as f,normalizeClass as p,normalizeStyle as m,openBlock as h,renderSlot as g,shallowRef as _,unref as v,watchPostEffect as y}from"vue";import{autoUpdate as b}from"@floating-ui/dom";import{getAlignment as x,getSide as S}from"@floating-ui/utils";var C=d({name:`PopperPositioner`,__name:`popper-positioner`,props:f({placement:{},side:{},sideOffset:{},sideFlip:{type:Boolean},align:{},alignOffset:{},alignFlip:{type:Boolean},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},reference:{}},a()),emits:[`placed`],setup(a,{emit:d}){let f=a,C=d,w=i(`positioner`),[T,E]=e(),[D,O]=e(),{anchorElement:k,popupElement:A}=r(`PopperPositioner`),{floatingStyles:j,placement:M,isPositioned:N,middlewareData:P}=t(l(()=>f.reference??k.value),T,{strategy:()=>f.positionStrategy,placement:()=>f.placement??s(f.side,f.align),whileElementsMounted:(...e)=>b(...e,{layoutShift:!f.disableUpdateOnLayoutShift,animationFrame:f.updatePositionStrategy===`always`}),middleware:()=>o(f,D.value)}),F=l(()=>S(M.value)),I=l(()=>x(M.value)??`center`),L=l(()=>P.value.arrow?.centerOffset===0),R=l(()=>P.value.arrow?.x??0),z=l(()=>P.value.arrow?.y??0),B=_(),V=l(()=>{let{transformOrigin:e,hide:t}=P.value;return{...j.value,zIndex:B.value,transform:N.value?j.value.transform:`translate(0, -200%)`,[c.transformOrigin]:[e?.x,e?.y].join(` `),...t?.referenceHidden&&{visibility:`hidden`,pointerEvents:`none`}}});return n({arrowX:R,arrowY:z,arrowCentered:L,placedSide:F,placedAlign:I,isPositioned:l(()=>N.value),setArrowElement:O}),y(()=>{N.value&&C(`placed`)}),y(()=>{A.value&&(B.value=window.getComputedStyle(A.value).zIndex)}),(e,t)=>(h(),u(`div`,{ref:v(E),class:p(v(w)),"data-soybean-popper-positioner":``,style:m(V.value)},[g(e.$slots,`default`)],6))}});export{C as default};
1
+ import{useForwardElement as e}from"../../composables/use-forward-element.js";import{useFloating as t}from"../../composables/use-floating.js";import"../../composables/index.js";import{providePopperPositionerContext as n,usePopperRootContext as r,usePopperUi as i}from"./context.js";import{createPopperPositionerDefaultProps as a,getFloatingUiMiddleware as o,getPlacement as s,popperCssVars as c}from"./shared.js";import{computed as l,createElementBlock as u,defineComponent as d,mergeDefaults as f,normalizeClass as p,normalizeStyle as m,openBlock as h,renderSlot as g,shallowRef as _,unref as v,watchPostEffect as y}from"vue";import{autoUpdate as b}from"@floating-ui/dom";import{getAlignment as x,getSide as S}from"@floating-ui/utils";const C=d({name:`PopperPositioner`,__name:`popper-positioner`,props:f({placement:{},side:{},sideOffset:{},sideFlip:{type:Boolean},align:{},alignOffset:{},alignFlip:{type:Boolean},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},reference:{}},a()),emits:[`placed`],setup(a,{emit:d}){let f=a,C=d,w=i(`positioner`),[T,E]=e(),[D,O]=e(),{anchorElement:k,popupElement:A}=r(`PopperPositioner`),{floatingStyles:j,placement:M,isPositioned:N,middlewareData:P}=t(l(()=>f.reference??k.value),T,{strategy:()=>f.positionStrategy,placement:()=>f.placement??s(f.side,f.align),whileElementsMounted:(...e)=>b(...e,{layoutShift:!f.disableUpdateOnLayoutShift,animationFrame:f.updatePositionStrategy===`always`}),middleware:()=>o(f,D.value)}),F=l(()=>S(M.value)),I=l(()=>x(M.value)??`center`),L=l(()=>P.value.arrow?.centerOffset===0),R=l(()=>P.value.arrow?.x??0),z=l(()=>P.value.arrow?.y??0),B=_(),V=l(()=>{let{transformOrigin:e,hide:t}=P.value;return{...j.value,zIndex:B.value,transform:N.value?j.value.transform:`translate(0, -200%)`,[c.transformOrigin]:[e?.x,e?.y].join(` `),...t?.referenceHidden&&{visibility:`hidden`,pointerEvents:`none`}}});return n({arrowX:R,arrowY:z,arrowCentered:L,placedSide:F,placedAlign:I,isPositioned:l(()=>N.value),setArrowElement:O}),y(()=>{N.value&&C(`placed`)}),y(()=>{A.value&&(B.value=window.getComputedStyle(A.value).zIndex)}),(e,t)=>(h(),u(`div`,{ref:v(E),class:p(v(w)),"data-soybean-popper-positioner":``,style:m(V.value)},[g(e.$slots,`default`)],6))}});export{C as default};
@@ -1,7 +1,7 @@
1
1
  import { Align, Placement as Placement$1 } from "../../types/common.js";
2
2
  import { PopperPositionerProps } from "./types.js";
3
3
  import "../../index.js";
4
- import * as vue777 from "vue";
4
+ import * as vue from "vue";
5
5
  import { CSSProperties } from "vue";
6
6
  import * as _floating_ui_dom0 from "@floating-ui/dom";
7
7
  import * as _floating_ui_utils0 from "@floating-ui/utils";
@@ -11,12 +11,12 @@ declare var __VLS_1: {};
11
11
  type __VLS_Slots = {} & {
12
12
  default?: (props: typeof __VLS_1) => any;
13
13
  };
14
- declare const __VLS_base: vue777.DefineComponent<PopperPositionerProps, {}, {}, {}, {}, vue777.ComponentOptionsMixin, vue777.ComponentOptionsMixin, {
14
+ declare const __VLS_base: vue.DefineComponent<PopperPositionerProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
15
15
  placed: () => any;
16
- }, string, vue777.PublicProps, Readonly<PopperPositionerProps> & Readonly<{
16
+ }, string, vue.PublicProps, Readonly<PopperPositionerProps> & Readonly<{
17
17
  onPlaced?: (() => any) | undefined;
18
18
  }>, {
19
- style: string | false | CSSProperties | vue777.StyleValue[] | null;
19
+ style: string | false | CSSProperties | vue.StyleValue[] | null;
20
20
  title: string;
21
21
  contextmenu: string;
22
22
  onInput: (payload: InputEvent) => void;
@@ -149,13 +149,13 @@ declare const __VLS_base: vue777.DefineComponent<PopperPositionerProps, {}, {},
149
149
  'aria-modal': boolean | "true" | "false";
150
150
  'aria-multiline': boolean | "true" | "false";
151
151
  'aria-multiselectable': boolean | "true" | "false";
152
- 'aria-orientation': "vertical" | "horizontal";
152
+ 'aria-orientation': "horizontal" | "vertical";
153
153
  'aria-owns': string;
154
154
  'aria-placeholder': string;
155
155
  'aria-posinset': string | number;
156
156
  'aria-pressed': (boolean | "true" | "false") | "mixed";
157
157
  'aria-readonly': boolean | "true" | "false";
158
- 'aria-relevant': "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
158
+ 'aria-relevant': "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals";
159
159
  'aria-required': boolean | "true" | "false";
160
160
  'aria-roledescription': string;
161
161
  'aria-rowcount': string | number;
@@ -198,11 +198,13 @@ declare const __VLS_base: vue777.DefineComponent<PopperPositionerProps, {}, {},
198
198
  itemref: string;
199
199
  results: string | number;
200
200
  security: string;
201
- unselectable: "on" | "off";
201
+ unselectable: "off" | "on";
202
202
  inputmode: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal";
203
203
  is: string;
204
204
  exportparts: string;
205
205
  part: string;
206
+ avoidCollisions: boolean;
207
+ reference: _floating_ui_dom0.ReferenceElement;
206
208
  placement: Placement$1;
207
209
  side: _floating_ui_utils0.Side;
208
210
  sideOffset: number;
@@ -210,7 +212,6 @@ declare const __VLS_base: vue777.DefineComponent<PopperPositionerProps, {}, {},
210
212
  align: Align;
211
213
  alignOffset: number;
212
214
  alignFlip: boolean;
213
- avoidCollisions: boolean;
214
215
  collisionBoundary: Element | null | Array<Element | null>;
215
216
  collisionPadding: _floating_ui_utils0.Padding;
216
217
  arrowPadding: number;
@@ -220,8 +221,7 @@ declare const __VLS_base: vue777.DefineComponent<PopperPositionerProps, {}, {},
220
221
  updatePositionStrategy: "optimized" | "always";
221
222
  disableUpdateOnLayoutShift: boolean;
222
223
  prioritizePosition: boolean;
223
- reference: _floating_ui_dom0.ReferenceElement;
224
- }, {}, {}, {}, string, vue777.ComponentProvideOptions, false, {}, any>;
224
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
225
225
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
226
226
  declare const _default: typeof __VLS_export;
227
227
  type __VLS_WithSlots<T, S> = T & {
@@ -1 +1 @@
1
- import{providePopperRootContext as e}from"./context.js";import{defineComponent as t,renderSlot as n}from"vue";var r=t({name:`PopperRoot`,inheritAttrs:!1,__name:`popper-root`,setup(t){return e(),(e,t)=>n(e.$slots,`default`)}});export{r as default};
1
+ import{providePopperRootContext as e}from"./context.js";import{defineComponent as t,renderSlot as n}from"vue";const r=t({name:`PopperRoot`,inheritAttrs:!1,__name:`popper-root`,setup(t){return e(),(e,t)=>n(e.$slots,`default`)}});export{r as default};
@@ -1,11 +1,11 @@
1
- import * as vue767 from "vue";
1
+ import * as vue from "vue";
2
2
 
3
3
  //#region src/components/popper/popper-root.vue.d.ts
4
4
  declare var __VLS_1: {};
5
5
  type __VLS_Slots = {} & {
6
6
  default?: (props: typeof __VLS_1) => any;
7
7
  };
8
- declare const __VLS_base: vue767.DefineComponent<{}, {}, {}, {}, {}, vue767.ComponentOptionsMixin, vue767.ComponentOptionsMixin, {}, string, vue767.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue767.ComponentProvideOptions, true, {}, any>;
8
+ declare const __VLS_base: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
9
9
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
10
10
  declare const _default: typeof __VLS_export;
11
11
  type __VLS_WithSlots<T, S> = T & {
@@ -1 +1 @@
1
- import{isNullish as e}from"../../shared/guard.js";import{arrow as t,flip as n,hide as r,limitShift as i,offset as a,shift as o,size as s}from"@floating-ui/dom";import{getAlignment as c,getSide as l}from"@floating-ui/utils";const u={transformOrigin:`--soybean-popper-transform-origin`,availableWidth:`--soybean-popper-available-width`,availableHeight:`--soybean-popper-available-height`,anchorWidth:`--soybean-popper-anchor-width`,anchorHeight:`--soybean-popper-anchor-height`};function d(){return{placement:void 0,side:`bottom`,sideOffset:0,sideFlip:!0,align:`center`,alignOffset:0,alignFlip:!0,arrowPadding:0,avoidCollisions:!0,collisionPadding:0,collisionBoundary:()=>[],sticky:`partial`,hideWhenDetached:!1,positionStrategy:`fixed`,updatePositionStrategy:`optimized`,prioritizePosition:!1}}const f={start:`0%`,center:`50%`,end:`100%`},p={bottom:{getX:({isArrowHidden:e,noArrowAlign:t,arrowXCenter:n})=>e?t:`${n}px`,getY:({arrowHeight:e})=>`${-e}px`},top:{getX:({isArrowHidden:e,noArrowAlign:t,arrowXCenter:n})=>e?t:`${n}px`,getY:({floatingHeight:e,arrowHeight:t})=>`${e+t}px`},right:{getX:({arrowHeight:e})=>`${-e}px`,getY:({isArrowHidden:e,noArrowAlign:t,arrowYCenter:n})=>e?t:`${n}px`},left:{getX:({floatingWidth:e,arrowHeight:t})=>`${e+t}px`,getY:({isArrowHidden:e,noArrowAlign:t,arrowYCenter:n})=>e?t:`${n}px`}};function m(e,d){let{sideOffset:m=0,alignOffset:g=0,sideFlip:_,alignFlip:v,prioritizePosition:y,sticky:b,avoidCollisions:x,arrowPadding:S,hideWhenDetached:C}=e,w=h(e),T=[a(()=>({mainAxis:m+(d?.clientHeight??0),crossAxis:g,alignmentAxis:g}))];if(x){let e=[o({mainAxis:!0,crossAxis:!!y,limiter:b===`partial`?i():void 0,...w})],t=n({mainAxis:_,crossAxis:v,...w});y?e.unshift(t):e.push(t),T.push(...e)}return T.push(s({...w,apply:({elements:{floating:e},rects:t,availableWidth:n,availableHeight:r})=>{let{width:i,height:a}=t.reference;e.style.setProperty(u.availableWidth,`${n}px`),e.style.setProperty(u.availableHeight,`${r}px`),e.style.setProperty(u.anchorWidth,`${i}px`),e.style.setProperty(u.anchorHeight,`${a}px`)}})),d&&T.push(t({element:d,padding:S}),{name:`transformOrigin`,fn(e){let{placement:t,rects:n,middlewareData:r}=e,i=r.arrow?.centerOffset!==0,{width:a,height:o}=d.getBoundingClientRect(),s=i?0:a,u=i?0:o,m=l(t),h=f[c(t)??`center`],g=(r.arrow?.x??0)+s/2,_=(r.arrow?.y??0)+u/2,v=p[m],y={isArrowHidden:i,noArrowAlign:h,arrowXCenter:g,arrowYCenter:_,arrowHeight:o,floatingWidth:n.floating.width,floatingHeight:n.floating.height};return{data:{x:v.getX(y),y:v.getY(y)}}}}),C&&T.push(r({strategy:`referenceHidden`,...w})),T.filter(Boolean)}function h(t){let{collisionPadding:n,collisionBoundary:r}=t,i={top:1,right:1,bottom:1,left:1};typeof n==`number`?(i.top+=n,i.right+=n,i.bottom+=n,i.left+=n):n&&(i.top+=n.top??0,i.right+=n.right??0,i.bottom+=n.bottom??0,i.left+=n.left??0);let a=Array.isArray(r)?r:[r],o=a.length>0;return{padding:i,boundary:a.filter(t=>!e(t)),altBoundary:o}}function g(e,t){let n=e;return t!==`center`&&(n+=`-${t}`),n}export{d as createPopperPositionerDefaultProps,m as getFloatingUiMiddleware,g as getPlacement,u as popperCssVars};
1
+ import{isNullish as e}from"../../shared/guard.js";import"../../shared/index.js";import{arrow as t,flip as n,hide as r,limitShift as i,offset as a,shift as o,size as s}from"@floating-ui/dom";import{getAlignment as c,getSide as l}from"@floating-ui/utils";const u={transformOrigin:`--soybean-popper-transform-origin`,availableWidth:`--soybean-popper-available-width`,availableHeight:`--soybean-popper-available-height`,anchorWidth:`--soybean-popper-anchor-width`,anchorHeight:`--soybean-popper-anchor-height`};function d(){return{placement:void 0,side:`bottom`,sideOffset:0,sideFlip:!0,align:`center`,alignOffset:0,alignFlip:!0,arrowPadding:0,avoidCollisions:!0,collisionPadding:0,collisionBoundary:()=>[],sticky:`partial`,hideWhenDetached:!1,positionStrategy:`fixed`,updatePositionStrategy:`optimized`,prioritizePosition:!1}}const f={start:`0%`,center:`50%`,end:`100%`},p={bottom:{getX:({isArrowHidden:e,noArrowAlign:t,arrowXCenter:n})=>e?t:`${n}px`,getY:({arrowHeight:e})=>`${-e}px`},top:{getX:({isArrowHidden:e,noArrowAlign:t,arrowXCenter:n})=>e?t:`${n}px`,getY:({floatingHeight:e,arrowHeight:t})=>`${e+t}px`},right:{getX:({arrowHeight:e})=>`${-e}px`,getY:({isArrowHidden:e,noArrowAlign:t,arrowYCenter:n})=>e?t:`${n}px`},left:{getX:({floatingWidth:e,arrowHeight:t})=>`${e+t}px`,getY:({isArrowHidden:e,noArrowAlign:t,arrowYCenter:n})=>e?t:`${n}px`}};function m(e,d){let{sideOffset:m=0,alignOffset:g=0,sideFlip:_,alignFlip:v,prioritizePosition:y,sticky:b,avoidCollisions:x,arrowPadding:S,hideWhenDetached:C}=e,w=h(e),T=[a(()=>({mainAxis:m+(d?.clientHeight??0),crossAxis:g,alignmentAxis:g}))];if(x){let e=[o({mainAxis:!0,crossAxis:!!y,limiter:b===`partial`?i():void 0,...w})],t=n({mainAxis:_,crossAxis:v,...w});y?e.unshift(t):e.push(t),T.push(...e)}return T.push(s({...w,apply:({elements:{floating:e},rects:t,availableWidth:n,availableHeight:r})=>{let{width:i,height:a}=t.reference;e.style.setProperty(u.availableWidth,`${n}px`),e.style.setProperty(u.availableHeight,`${r}px`),e.style.setProperty(u.anchorWidth,`${i}px`),e.style.setProperty(u.anchorHeight,`${a}px`)}})),d&&T.push(t({element:d,padding:S}),{name:`transformOrigin`,fn(e){let{placement:t,rects:n,middlewareData:r}=e,i=r.arrow?.centerOffset!==0,{width:a,height:o}=d.getBoundingClientRect(),s=i?0:a,u=i?0:o,m=l(t),h=f[c(t)??`center`],g=(r.arrow?.x??0)+s/2,_=(r.arrow?.y??0)+u/2,v=p[m],y={isArrowHidden:i,noArrowAlign:h,arrowXCenter:g,arrowYCenter:_,arrowHeight:o,floatingWidth:n.floating.width,floatingHeight:n.floating.height};return{data:{x:v.getX(y),y:v.getY(y)}}}}),C&&T.push(r({strategy:`referenceHidden`,...w})),T.filter(Boolean)}function h(t){let{collisionPadding:n,collisionBoundary:r}=t,i={top:1,right:1,bottom:1,left:1};typeof n==`number`?(i.top+=n,i.right+=n,i.bottom+=n,i.left+=n):n&&(i.top+=n.top??0,i.right+=n.right??0,i.bottom+=n.bottom??0,i.left+=n.left??0);let a=Array.isArray(r)?r:[r],o=a.length>0;return{padding:i,boundary:a.filter(t=>!e(t)),altBoundary:o}}function g(e,t){let n=e;return t!==`center`&&(n+=`-${t}`),n}export{d as createPopperPositionerDefaultProps,m as getFloatingUiMiddleware,g as getPlacement,u as popperCssVars};
@@ -1 +1 @@
1
- import{Teleport as e,createBlock as t,createCommentVNode as n,defineComponent as r,onMounted as i,openBlock as a,renderSlot as o,shallowRef as s}from"vue";var c=r({name:`Portal`,__name:`portal`,props:{to:{default:`body`},disabled:{type:Boolean},defer:{type:Boolean},forceMount:{type:Boolean}},setup(r){let c=s(!1);return i(()=>{c.value=!0}),(i,s)=>c.value||r.forceMount?(a(),t(e,{key:0,to:r.to,disabled:r.disabled,defer:r.defer},[o(i.$slots,`default`)],8,[`to`,`disabled`,`defer`])):n(`v-if`,!0)}});export{c as default};
1
+ import{Teleport as e,createBlock as t,createCommentVNode as n,defineComponent as r,onMounted as i,openBlock as a,renderSlot as o,shallowRef as s}from"vue";const c=r({name:`Portal`,__name:`portal`,props:{to:{default:`body`},disabled:{type:Boolean},defer:{type:Boolean},forceMount:{type:Boolean}},setup(r){let c=s(!1);return i(()=>{c.value=!0}),(i,s)=>c.value||r.forceMount?(a(),t(e,{key:0,to:r.to,disabled:r.disabled,defer:r.defer},[o(i.$slots,`default`)],8,[`to`,`disabled`,`defer`])):n(`v-if`,!0)}});export{c as default};
@@ -1,14 +1,14 @@
1
1
  import { PortalProps } from "./types.js";
2
- import * as vue30 from "vue";
2
+ import * as vue from "vue";
3
3
 
4
4
  //#region src/components/portal/portal.vue.d.ts
5
5
  declare var __VLS_7: {};
6
6
  type __VLS_Slots = {} & {
7
7
  default?: (props: typeof __VLS_7) => any;
8
8
  };
9
- declare const __VLS_base: vue30.DefineComponent<PortalProps, {}, {}, {}, {}, vue30.ComponentOptionsMixin, vue30.ComponentOptionsMixin, {}, string, vue30.PublicProps, Readonly<PortalProps> & Readonly<{}>, {
9
+ declare const __VLS_base: vue.DefineComponent<PortalProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<PortalProps> & Readonly<{}>, {
10
10
  to: string | HTMLElement;
11
- }, {}, {}, {}, string, vue30.ComponentProvideOptions, false, {}, any>;
11
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
12
12
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
13
13
  declare const _default: typeof __VLS_export;
14
14
  type __VLS_WithSlots<T, S> = T & {
@@ -1,7 +1,7 @@
1
1
  import { PrimitiveProps } from "./types.js";
2
- import * as vue16 from "vue";
2
+ import * as vue from "vue";
3
3
 
4
4
  //#region src/components/primitive/primitive.d.ts
5
- declare const Primitive: vue16.DefineSetupFnComponent<PrimitiveProps, {}, {}, PrimitiveProps & {}, vue16.PublicProps>;
5
+ declare const Primitive: vue.DefineSetupFnComponent<PrimitiveProps, {}, {}, PrimitiveProps & {}, vue.PublicProps>;
6
6
  //#endregion
7
7
  export { Primitive };
@@ -1 +1 @@
1
- import{Slot as e}from"../slot/slot.js";import{defineComponent as t,h as n}from"vue";const r=new Set([`area`,`input`,`img`]),i=t((t,{slots:i,attrs:a})=>{let o=t.asChild?`template`:t.as;return typeof o==`string`&&r.has(o)?()=>n(o,a):o===`template`?()=>n(e,a,{default:i.default}):()=>n(t.as||`div`,a,{default:i.default})},{name:`Primitive`,inheritAttrs:!1,props:[`as`,`asChild`]});export{i as Primitive};
1
+ import{Slot as e}from"../slot/slot.js";import"../slot/index.js";import{defineComponent as t,h as n}from"vue";const r=new Set([`area`,`input`,`img`]),i=t((t,{slots:i,attrs:a})=>{let o=t.asChild?`template`:t.as;return typeof o==`string`&&r.has(o)?()=>n(o,a):o===`template`?()=>n(e,a,{default:i.default}):()=>n(t.as||`div`,a,{default:i.default})},{name:`Primitive`,inheritAttrs:!1,props:[`as`,`asChild`]});export{i as Primitive};
@@ -1,10 +1,9 @@
1
1
  import { ClassValue, UiClass } from "../../types/common.js";
2
2
  import { RadioGroupUiSlot } from "./types.js";
3
3
  import "../../index.js";
4
- import * as vue1217 from "vue";
4
+ import * as vue from "vue";
5
5
 
6
6
  //#region src/components/radio-group/context.d.ts
7
-
8
- declare const provideRadioGroupUi: (ui: vue1217.ComputedRef<Partial<UiClass<RadioGroupUiSlot>>>) => vue1217.ComputedRef<Partial<UiClass<RadioGroupUiSlot>>>, useRadioGroupUi: <S extends RadioGroupUiSlot | undefined = undefined>(slot?: S | undefined) => S extends RadioGroupUiSlot ? vue1217.ComputedRef<ClassValue> : vue1217.ComputedRef<Partial<UiClass<RadioGroupUiSlot>>>;
7
+ declare const provideRadioGroupUi: (ui: vue.ComputedRef<Partial<UiClass<RadioGroupUiSlot>>>) => vue.ComputedRef<Partial<UiClass<RadioGroupUiSlot>>>, useRadioGroupUi: <S extends RadioGroupUiSlot | undefined = undefined>(slot?: S | undefined) => S extends RadioGroupUiSlot ? vue.ComputedRef<ClassValue> : vue.ComputedRef<Partial<UiClass<RadioGroupUiSlot>>>;
9
8
  //#endregion
10
9
  export { provideRadioGroupUi };
@@ -1 +1 @@
1
- import{getCheckedState as e}from"../../shared/value.js";import{useContext as t}from"../../composables/use-context.js";import{useUiContext as n}from"../../composables/use-ui-context.js";import{computed as r,shallowRef as i}from"vue";const[a,o]=t(`RadioGroupRoot`,e=>e),[s,c]=t(`RadioGroupItem`,t=>{let n=r(()=>e(t.checked.value)),a=i(``),o=e=>{a.value=e};return{...t,dataState:n,controlId:a,initControlId:o}}),[l,u]=n(`RadioGroupUi`);export{s as provideRadioGroupItemContext,a as provideRadioGroupRootContext,l as provideRadioGroupUi,c as useRadioGroupItemContext,o as useRadioGroupRootContext,u as useRadioGroupUi};
1
+ import{getCheckedState as e}from"../../shared/value.js";import"../../shared/index.js";import{useContext as t}from"../../composables/use-context.js";import{useUiContext as n}from"../../composables/use-ui-context.js";import"../../composables/index.js";import{computed as r,shallowRef as i}from"vue";const[a,o]=t(`RadioGroupRoot`,e=>e),[s,c]=t(`RadioGroupItem`,t=>{let n=r(()=>e(t.checked.value)),a=i(``),o=e=>{a.value=e};return{...t,dataState:n,controlId:a,initControlId:o}}),[l,u]=n(`RadioGroupUi`);export{s as provideRadioGroupItemContext,a as provideRadioGroupRootContext,l as provideRadioGroupUi,c as useRadioGroupItemContext,o as useRadioGroupRootContext,u as useRadioGroupUi};
@@ -1 +1 @@
1
- import{getAriaLabel as e}from"../../shared/dom.js";import{isFormControl as t}from"../../shared/vue.js";import{handleAndDispatchCustomEvent as n}from"../../shared/event.js";import r from"../roving-focus/roving-focus-item.js";import{useRadioGroupItemContext as i,useRadioGroupRootContext as a,useRadioGroupUi as o}from"./context.js";import{computed as s,createBlock as c,createElementVNode as l,defineComponent as u,normalizeClass as d,onBeforeMount as f,onMounted as p,openBlock as m,renderSlot as h,unref as g,useAttrs as _,useTemplateRef as v,watchEffect as y,withCtx as b,withKeys as x,withModifiers as S}from"vue";const C=[`id`,`disabled`,`aria-checked`,`aria-label`,`data-disabled`,`data-state`,`value`,`required`,`name`];var w=u({name:`RadioGroupControl`,__name:`radio-group-control`,props:{id:{}},setup(u){let w=u,T=_(),E=o(`control`),D=v(`controlElement`),O=a(`RadioGroupControl`),{value:k,disabled:A,name:j,required:M,checked:N,dataState:P,onSelect:F,initControlId:I}=i(`RadioGroupControl`),L=s(()=>t(D.value)),R=s(()=>e(D.value,w.id,T[`aria-label`])),z=[`ArrowUp`,`ArrowDown`,`ArrowLeft`,`ArrowRight`],B=!1;function V(e){z.includes(e.key)&&(B=!0)}function H(){B=!1}function U(e){w.disabled||n(`radio.select`,t=>{F(t),!t?.defaultPrevented&&(O.modelValue.value=k.value,L.value&&e.stopPropagation())},{originalEvent:e,value:k.value})}function W(){setTimeout(()=>{B&&D.value?.click()},0)}return y(()=>{w.id&&I(w.id)}),p(()=>{document.addEventListener(`keydown`,V),document.addEventListener(`keyup`,H)}),f(()=>{document.removeEventListener(`keydown`,V),document.removeEventListener(`keyup`,H)}),(e,t)=>(m(),c(g(r),{"as-child":``,checked:g(N),focusable:!g(A),active:g(N)},{default:b(()=>[l(`button`,{id:u.id,ref_key:`controlElement`,ref:D,class:d(g(E)),role:`radio`,type:`button`,disabled:g(A),"aria-checked":g(N),"aria-label":R.value,"data-disabled":g(A)?``:void 0,"data-state":g(P),value:String(g(k)),required:g(M),name:g(j),onClick:S(U,[`stop`]),onKeydown:t[0]||(t[0]=x(S(()=>{},[`prevent`]),[`enter`])),onFocus:W},[h(e.$slots,`default`,{checked:g(N),required:g(M),disabled:g(A)})],42,C)]),_:3},8,[`checked`,`focusable`,`active`]))}});export{w as default};
1
+ import{getAriaLabel as e}from"../../shared/dom.js";import{isFormControl as t}from"../../shared/vue.js";import{handleAndDispatchCustomEvent as n}from"../../shared/event.js";import"../../shared/index.js";import r from"../roving-focus/roving-focus-item.js";import"../roving-focus/index.js";import{useRadioGroupItemContext as i,useRadioGroupRootContext as a,useRadioGroupUi as o}from"./context.js";import{computed as s,createBlock as c,createElementVNode as l,defineComponent as u,normalizeClass as d,onBeforeMount as f,onMounted as p,openBlock as m,renderSlot as h,unref as g,useAttrs as _,useTemplateRef as v,watchEffect as y,withCtx as b,withKeys as x,withModifiers as S}from"vue";const C=[`id`,`disabled`,`aria-checked`,`aria-label`,`data-disabled`,`data-state`,`value`,`required`,`name`],w=u({name:`RadioGroupControl`,__name:`radio-group-control`,props:{id:{}},setup(u){let w=u,T=_(),E=o(`control`),D=v(`controlElement`),O=a(`RadioGroupControl`),{value:k,disabled:A,name:j,required:M,checked:N,dataState:P,onSelect:F,initControlId:I}=i(`RadioGroupControl`),L=s(()=>t(D.value)),R=s(()=>e(D.value,w.id,T[`aria-label`])),z=[`ArrowUp`,`ArrowDown`,`ArrowLeft`,`ArrowRight`],B=!1;function V(e){z.includes(e.key)&&(B=!0)}function H(){B=!1}function U(e){w.disabled||n(`radio.select`,t=>{F(t),!t?.defaultPrevented&&(O.modelValue.value=k.value,L.value&&e.stopPropagation())},{originalEvent:e,value:k.value})}function W(){setTimeout(()=>{B&&D.value?.click()},0)}return y(()=>{w.id&&I(w.id)}),p(()=>{document.addEventListener(`keydown`,V),document.addEventListener(`keyup`,H)}),f(()=>{document.removeEventListener(`keydown`,V),document.removeEventListener(`keyup`,H)}),(e,t)=>(m(),c(g(r),{"as-child":``,checked:g(N),focusable:!g(A),active:g(N)},{default:b(()=>[l(`button`,{id:u.id,ref_key:`controlElement`,ref:D,class:d(g(E)),role:`radio`,type:`button`,disabled:g(A),"aria-checked":g(N),"aria-label":R.value,"data-disabled":g(A)?``:void 0,"data-state":g(P),value:String(g(k)),required:g(M),name:g(j),onClick:S(U,[`stop`]),onKeydown:t[0]||(t[0]=x(S(()=>{},[`prevent`]),[`enter`])),onFocus:W},[h(e.$slots,`default`,{checked:g(N),required:g(M),disabled:g(A)})],42,C)]),_:3},8,[`checked`,`focusable`,`active`]))}});export{w as default};
@@ -1,5 +1,5 @@
1
1
  import { RadioGroupControlProps } from "./types.js";
2
- import * as vue1201 from "vue";
2
+ import * as vue from "vue";
3
3
 
4
4
  //#region src/components/radio-group/radio-group-control.vue.d.ts
5
5
  declare var __VLS_8: {
@@ -10,7 +10,7 @@ declare var __VLS_8: {
10
10
  type __VLS_Slots = {} & {
11
11
  default?: (props: typeof __VLS_8) => any;
12
12
  };
13
- declare const __VLS_base: vue1201.DefineComponent<RadioGroupControlProps, {}, {}, {}, {}, vue1201.ComponentOptionsMixin, vue1201.ComponentOptionsMixin, {}, string, vue1201.PublicProps, Readonly<RadioGroupControlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1201.ComponentProvideOptions, false, {}, any>;
13
+ declare const __VLS_base: vue.DefineComponent<RadioGroupControlProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<RadioGroupControlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
14
14
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
15
  declare const _default: typeof __VLS_export;
16
16
  type __VLS_WithSlots<T, S> = T & {
@@ -1 +1 @@
1
- import{getCheckedState as e}from"../../shared/value.js";import{useForwardElement as t}from"../../composables/use-forward-element.js";import{usePresence as n}from"../../composables/use-presence.js";import{Primitive as r}from"../primitive/primitive.js";import{useRadioGroupItemContext as i,useRadioGroupUi as a}from"./context.js";import{computed as o,createBlock as s,createCommentVNode as c,defineComponent as l,normalizeClass as u,openBlock as d,renderSlot as f,shallowRef as p,unref as m,withCtx as h}from"vue";var g=l({name:`RadioGroupIndicator`,__name:`radio-group-indicator`,props:{asChild:{type:Boolean},as:{default:`span`},forceMount:{type:Boolean}},setup(l){let g=l,_=a(`indicator`),[v,y]=t(),{checked:b,disabled:x}=i(`RadioGroupIndicator`),S=g.forceMount?p(!0):n(v,()=>b.value===!0),C=o(()=>e(b.value));return(e,t)=>m(S)?(d(),s(m(r),{key:0,ref:m(y),as:l.as,"as-child":l.asChild,class:u(m(_)),"data-state":C.value,"data-disabled":m(x)?``:void 0},{default:h(()=>[f(e.$slots,`default`)]),_:3},8,[`as`,`as-child`,`class`,`data-state`,`data-disabled`])):c(`v-if`,!0)}});export{g as default};
1
+ import{getCheckedState as e}from"../../shared/value.js";import"../../shared/index.js";import{useForwardElement as t}from"../../composables/use-forward-element.js";import{usePresence as n}from"../../composables/use-presence.js";import"../../composables/index.js";import{Primitive as r}from"../primitive/primitive.js";import"../primitive/index.js";import{useRadioGroupItemContext as i,useRadioGroupUi as a}from"./context.js";import{computed as o,createBlock as s,createCommentVNode as c,defineComponent as l,normalizeClass as u,openBlock as d,renderSlot as f,shallowRef as p,unref as m,withCtx as h}from"vue";const g=l({name:`RadioGroupIndicator`,__name:`radio-group-indicator`,props:{asChild:{type:Boolean},as:{default:`span`},forceMount:{type:Boolean}},setup(l){let g=l,_=a(`indicator`),[v,y]=t(),{checked:b,disabled:x}=i(`RadioGroupIndicator`),S=g.forceMount?p(!0):n(v,()=>b.value===!0),C=o(()=>e(b.value));return(e,t)=>m(S)?(d(),s(m(r),{key:0,ref:m(y),as:l.as,"as-child":l.asChild,class:u(m(_)),"data-state":C.value,"data-disabled":m(x)?``:void 0},{default:h(()=>[f(e.$slots,`default`)]),_:3},8,[`as`,`as-child`,`class`,`data-state`,`data-disabled`])):c(`v-if`,!0)}});export{g as default};
@@ -1,16 +1,16 @@
1
1
  import { AsTag } from "../primitive/types.js";
2
2
  import "../primitive/index.js";
3
3
  import { RadioGroupIndicatorProps } from "./types.js";
4
- import * as vue1206 from "vue";
4
+ import * as vue from "vue";
5
5
 
6
6
  //#region src/components/radio-group/radio-group-indicator.vue.d.ts
7
7
  declare var __VLS_8: {};
8
8
  type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_8) => any;
10
10
  };
11
- declare const __VLS_base: vue1206.DefineComponent<RadioGroupIndicatorProps, {}, {}, {}, {}, vue1206.ComponentOptionsMixin, vue1206.ComponentOptionsMixin, {}, string, vue1206.PublicProps, Readonly<RadioGroupIndicatorProps> & Readonly<{}>, {
12
- as: AsTag | vue1206.Component;
13
- }, {}, {}, {}, string, vue1206.ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_base: vue.DefineComponent<RadioGroupIndicatorProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<RadioGroupIndicatorProps> & Readonly<{}>, {
12
+ as: AsTag | vue.Component;
13
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
14
14
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
15
  declare const _default: typeof __VLS_export;
16
16
  type __VLS_WithSlots<T, S> = T & {
@@ -1 +1 @@
1
- import{isNullish as e}from"../../shared/guard.js";import{isFormControl as t,transformPropsToContext as n}from"../../shared/vue.js";import r from"../visually-hidden/visually-hidden-input.js";import{provideRadioGroupItemContext as i,useRadioGroupRootContext as a,useRadioGroupUi as o}from"./context.js";import{computed as s,createBlock as c,createCommentVNode as l,createElementBlock as u,defineComponent as d,normalizeClass as f,openBlock as p,renderSlot as m,unref as h,useTemplateRef as g}from"vue";const _=[`data-state`];var v=d({name:`RadioGroupItem`,__name:`radio-group-item`,props:{value:{type:[String,Number,Boolean]},disabled:{type:Boolean},name:{},required:{type:Boolean}},emits:[`select`],setup(d,{emit:v}){let y=d,b=v,x=o(`item`),S=a(`RadioGroupItem`),C=g(`itemElement`),w=s(()=>t(C.value)),T=s(()=>S.disabled.value||y.disabled),E=s(()=>S.required.value||y.required),D=s(()=>!e(S.modelValue.value)&&S.modelValue.value===y.value),{dataState:O}=i({...n(y,[`name`,`required`,`value`,`disabled`]),checked:D,onSelect:e=>{b(`select`,e)}});return(e,t)=>(p(),u(`div`,{ref_key:`itemElement`,ref:C,class:f(h(x)),"data-state":h(O)},[m(e.$slots,`default`,{checked:D.value}),w.value&&d.name?(p(),c(h(r),{key:0,type:`radio`,tabindex:`-1`,value:d.value,checked:D.value,name:d.name,disabled:T.value,required:E.value},null,8,[`value`,`checked`,`name`,`disabled`,`required`])):l(`v-if`,!0)],10,_))}});export{v as default};
1
+ import{isNullish as e}from"../../shared/guard.js";import{isFormControl as t,transformPropsToContext as n}from"../../shared/vue.js";import"../../shared/index.js";import r from"../visually-hidden/visually-hidden-input.js";import"../visually-hidden/index.js";import{provideRadioGroupItemContext as i,useRadioGroupRootContext as a,useRadioGroupUi as o}from"./context.js";import{computed as s,createBlock as c,createCommentVNode as l,createElementBlock as u,defineComponent as d,normalizeClass as f,openBlock as p,renderSlot as m,unref as h,useTemplateRef as g}from"vue";const _=[`data-state`],v=d({name:`RadioGroupItem`,__name:`radio-group-item`,props:{value:{type:[String,Number,Boolean]},disabled:{type:Boolean},name:{},required:{type:Boolean}},emits:[`select`],setup(d,{emit:v}){let y=d,b=v,x=o(`item`),S=a(`RadioGroupItem`),C=g(`itemElement`),w=s(()=>t(C.value)),T=s(()=>S.disabled.value||y.disabled),E=s(()=>S.required.value||y.required),D=s(()=>!e(S.modelValue.value)&&S.modelValue.value===y.value),{dataState:O}=i({...n(y,[`name`,`required`,`value`,`disabled`]),checked:D,onSelect:e=>{b(`select`,e)}});return(e,t)=>(p(),u(`div`,{ref_key:`itemElement`,ref:C,class:f(h(x)),"data-state":h(O)},[m(e.$slots,`default`,{checked:D.value}),w.value&&d.name?(p(),c(h(r),{key:0,type:`radio`,tabindex:`-1`,value:d.value,checked:D.value,name:d.name,disabled:T.value,required:E.value},null,8,[`value`,`checked`,`name`,`disabled`,`required`])):l(`v-if`,!0)],10,_))}});export{v as default};
@@ -1,5 +1,5 @@
1
1
  import { RadioGroupItemProps, RadioSelectEvent } from "./types.js";
2
- import * as vue1196 from "vue";
2
+ import * as vue from "vue";
3
3
 
4
4
  //#region src/components/radio-group/radio-group-item.vue.d.ts
5
5
  declare var __VLS_1: {
@@ -8,11 +8,11 @@ declare var __VLS_1: {
8
8
  type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_1) => any;
10
10
  };
11
- declare const __VLS_base: vue1196.DefineComponent<RadioGroupItemProps, {}, {}, {}, {}, vue1196.ComponentOptionsMixin, vue1196.ComponentOptionsMixin, {
11
+ declare const __VLS_base: vue.DefineComponent<RadioGroupItemProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
12
12
  select: (event: RadioSelectEvent) => any;
13
- }, string, vue1196.PublicProps, Readonly<RadioGroupItemProps> & Readonly<{
13
+ }, string, vue.PublicProps, Readonly<RadioGroupItemProps> & Readonly<{
14
14
  onSelect?: ((event: RadioSelectEvent) => any) | undefined;
15
- }>, {}, {}, {}, {}, string, vue1196.ComponentProvideOptions, false, {}, any>;
15
+ }>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
16
16
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
17
17
  declare const _default: typeof __VLS_export;
18
18
  type __VLS_WithSlots<T, S> = T & {
@@ -1 +1 @@
1
- import e from"../label/label.js";import{useRadioGroupItemContext as t,useRadioGroupUi as n}from"./context.js";import{computed as r,createBlock as i,defineComponent as a,normalizeClass as o,openBlock as s,renderSlot as c,unref as l,withCtx as u}from"vue";var d=a({name:`RadioGroupLabel`,__name:`radio-group-label`,props:{for:{}},setup(a){let d=a,f=n(`label`),{controlId:p}=t(`RadioGroupLabel`),m=r(()=>d.for||p.value);return(t,n)=>(s(),i(l(e),{for:m.value,class:o(l(f))},{default:u(()=>[c(t.$slots,`default`)]),_:3},8,[`for`,`class`]))}});export{d as default};
1
+ import e from"../label/label.js";import"../label/index.js";import{useRadioGroupItemContext as t,useRadioGroupUi as n}from"./context.js";import{computed as r,createBlock as i,defineComponent as a,normalizeClass as o,openBlock as s,renderSlot as c,unref as l,withCtx as u}from"vue";const d=a({name:`RadioGroupLabel`,__name:`radio-group-label`,props:{for:{}},setup(a){let d=a,f=n(`label`),{controlId:p}=t(`RadioGroupLabel`),m=r(()=>d.for||p.value);return(t,n)=>(s(),i(l(e),{for:m.value,class:o(l(f))},{default:u(()=>[c(t.$slots,`default`)]),_:3},8,[`for`,`class`]))}});export{d as default};
@@ -1,13 +1,13 @@
1
1
  import { LabelProps } from "../label/types.js";
2
2
  import "./types.js";
3
- import * as vue1212 from "vue";
3
+ import * as vue from "vue";
4
4
 
5
5
  //#region src/components/radio-group/radio-group-label.vue.d.ts
6
6
  declare var __VLS_8: {};
7
7
  type __VLS_Slots = {} & {
8
8
  default?: (props: typeof __VLS_8) => any;
9
9
  };
10
- declare const __VLS_base: vue1212.DefineComponent<LabelProps, {}, {}, {}, {}, vue1212.ComponentOptionsMixin, vue1212.ComponentOptionsMixin, {}, string, vue1212.PublicProps, Readonly<LabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1212.ComponentProvideOptions, false, {}, any>;
10
+ declare const __VLS_base: vue.DefineComponent<LabelProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<LabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
11
11
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
12
12
  declare const _default: typeof __VLS_export;
13
13
  type __VLS_WithSlots<T, S> = T & {
@@ -1 +1 @@
1
- import{isNullish as e}from"../../shared/guard.js";import{isFormControl as t,transformPropsToContext as n}from"../../shared/vue.js";import{useControllableState as r}from"../../composables/use-controllable-state.js";import i from"../roving-focus/roving-focus-group.js";import a from"../visually-hidden/visually-hidden-input.js";import{provideRadioGroupRootContext as o,useRadioGroupUi as s}from"./context.js";import{computed as c,createBlock as l,createCommentVNode as u,createElementVNode as d,defineComponent as f,normalizeClass as p,openBlock as m,renderSlot as h,unref as g,useTemplateRef as _,withCtx as v}from"vue";const y=[`data-disabled`,`aria-orientation`,`aria-required`];var b=f({name:`RadioGroupRoot`,__name:`radio-group-root`,props:{modelValue:{default:void 0},defaultValue:{},disabled:{type:Boolean,default:!1},orientation:{default:void 0},dir:{},loop:{type:Boolean,default:!0},name:{},required:{type:Boolean,default:!1}},emits:[`update:modelValue`],setup(f,{emit:b}){let x=f,S=b,C=s(`root`),w=_(`rootElement`),T=r(()=>x.modelValue,t=>{e(t)||S(`update:modelValue`,t)},x.defaultValue),E=c(()=>t(w.value));return o({...n(x,[`disabled`,`orientation`,`dir`,`loop`,`name`,`required`]),modelValue:T}),(e,t)=>(m(),l(g(i),{"as-child":``,orientation:f.orientation,dir:f.dir,loop:f.loop},{default:v(()=>[d(`div`,{ref_key:`rootElement`,ref:w,class:p(g(C)),role:`radiogroup`,"data-disabled":f.disabled?``:void 0,"aria-orientation":f.orientation,"aria-required":f.required},[h(e.$slots,`default`,{modelValue:g(T)}),E.value&&f.name?(m(),l(g(a),{key:0,required:f.required,disabled:f.disabled,value:g(T),name:f.name},null,8,[`required`,`disabled`,`value`,`name`])):u(`v-if`,!0)],10,y)]),_:3},8,[`orientation`,`dir`,`loop`]))}});export{b as default};
1
+ import{isNullish as e}from"../../shared/guard.js";import{isFormControl as t,transformPropsToContext as n}from"../../shared/vue.js";import"../../shared/index.js";import{useControllableState as r}from"../../composables/use-controllable-state.js";import"../../composables/index.js";import i from"../roving-focus/roving-focus-group.js";import"../roving-focus/index.js";import a from"../visually-hidden/visually-hidden-input.js";import"../visually-hidden/index.js";import{provideRadioGroupRootContext as o,useRadioGroupUi as s}from"./context.js";import{computed as c,createBlock as l,createCommentVNode as u,createElementVNode as d,defineComponent as f,normalizeClass as p,openBlock as m,renderSlot as h,unref as g,useTemplateRef as _,withCtx as v}from"vue";const y=[`data-disabled`,`aria-orientation`,`aria-required`],b=f({name:`RadioGroupRoot`,__name:`radio-group-root`,props:{modelValue:{default:void 0},defaultValue:{},disabled:{type:Boolean,default:!1},orientation:{default:void 0},dir:{},loop:{type:Boolean,default:!0},name:{},required:{type:Boolean,default:!1}},emits:[`update:modelValue`],setup(f,{emit:b}){let x=f,S=b,C=s(`root`),w=_(`rootElement`),T=r(()=>x.modelValue,t=>{e(t)||S(`update:modelValue`,t)},x.defaultValue),E=c(()=>t(w.value));return o({...n(x,[`disabled`,`orientation`,`dir`,`loop`,`name`,`required`]),modelValue:T}),(e,t)=>(m(),l(g(i),{"as-child":``,orientation:f.orientation,dir:f.dir,loop:f.loop},{default:v(()=>[d(`div`,{ref_key:`rootElement`,ref:w,class:p(g(C)),role:`radiogroup`,"data-disabled":f.disabled?``:void 0,"aria-orientation":f.orientation,"aria-required":f.required},[h(e.$slots,`default`,{modelValue:g(T)}),E.value&&f.name?(m(),l(g(a),{key:0,required:f.required,disabled:f.disabled,value:g(T),name:f.name},null,8,[`required`,`disabled`,`value`,`name`])):u(`v-if`,!0)],10,y)]),_:3},8,[`orientation`,`dir`,`loop`]))}});export{b as default};
@@ -1,11 +1,11 @@
1
1
  import { AcceptableBooleanValue } from "../../types/common.js";
2
2
  import "../../types/index.js";
3
3
  import { RadioGroupRootProps } from "./types.js";
4
- import * as vue1194 from "vue";
4
+ import * as vue from "vue";
5
5
 
6
6
  //#region src/components/radio-group/radio-group-root.vue.d.ts
7
7
  declare const __VLS_export: <T extends AcceptableBooleanValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
8
- props: vue1194.PublicProps & __VLS_PrettifyLocal<RadioGroupRootProps<T> & {
8
+ props: vue.PublicProps & __VLS_PrettifyLocal<RadioGroupRootProps<T> & {
9
9
  "onUpdate:modelValue"?: ((payload: NonNullable<T>) => any) | undefined;
10
10
  }> & (typeof globalThis extends {
11
11
  __VLS_PROPS_FALLBACK: infer P;
@@ -18,7 +18,7 @@ declare const __VLS_export: <T extends AcceptableBooleanValue>(__VLS_props: NonN
18
18
  }) => any;
19
19
  };
20
20
  emit: (evt: "update:modelValue", payload: NonNullable<T>) => void;
21
- }>) => vue1194.VNode & {
21
+ }>) => vue.VNode & {
22
22
  __ctx?: Awaited<typeof __VLS_setup>;
23
23
  };
24
24
  declare const _default: typeof __VLS_export;
@@ -24,8 +24,7 @@ interface RadioGroupRootProps<T extends AcceptableBooleanValue = AcceptableBoole
24
24
  loop?: boolean;
25
25
  }
26
26
  type RadioGroupRootEmits<T extends AcceptableBooleanValue = AcceptableBooleanValue> = {
27
- /** Event handler called when the radio group value changes */
28
- 'update:modelValue': [payload: NonNullable<T>];
27
+ /** Event handler called when the radio group value changes */'update:modelValue': [payload: NonNullable<T>];
29
28
  };
30
29
  interface RadioGroupItemProps extends FormFieldCommonProps, /** @vue-ignore */HTMLAttributes {
31
30
  /** The value given as data when submitted with a `name`. */
@@ -38,8 +37,7 @@ type RadioSelectEvent = CustomEvent<{
38
37
  value: NonNullable<AcceptableBooleanValue>;
39
38
  }>;
40
39
  type RadioGroupItemEmits = {
41
- /** Event handler called when the radio item is selected */
42
- select: [event: RadioSelectEvent];
40
+ /** Event handler called when the radio item is selected */select: [event: RadioSelectEvent];
43
41
  };
44
42
  interface RadioGroupControlProps extends /** @vue-ignore */ButtonHTMLAttributes {
45
43
  /** Id of the element */
@@ -1 +1 @@
1
- import{isNullish as e}from"../../shared/guard.js";import{wrapArray as t}from"../../shared/object.js";import{isElementHasAttribute as n}from"../../shared/dom.js";import{getFocusIntent as r,tryFocusFirst as i}from"../../shared/focus.js";import{useContext as a}from"../../composables/use-context.js";import{useCollection as o}from"../../composables/use-collection.js";import{useControllableState as s}from"../../composables/use-controllable-state.js";import{useDirection as c}from"../config-provider/context.js";import{computed as l,nextTick as u,onBeforeUnmount as d,onMounted as f,shallowRef as p,useId as m}from"vue";const h={bubbles:!1,cancelable:!0},{provideCollectionContext:g,useCollectionContext:_,useCollectionItem:v}=o(`RovingFocusGroup`),[y,b]=a(`RovingFocusGroup`,e=>{let{onContainerElementChange:t,getOrderedItems:r,getOrderedElements:a}=g(),{loop:o,orientation:u,defaultCurrentTabStopId:d,preventScrollOnEntryFocus:f,onEntryFocus:m,onUpdateCurrentTabStopId:_}=e,v=c(e.dir),y=s(()=>e.currentTabStopId.value,_,d.value),b=e=>{y.value=e},x=p(!1),S=p(!1),C=()=>{x.value=!0},w=p(0);return{onContainerElementChange:t,loop:o,dir:v,orientation:u,currentTabStopId:y,onItemFocus:b,onItemShiftTab:C,onFocusableItemAdd:()=>{w.value++},onFocusableItemRemove:()=>{w.value--},rovingFocusGroupProps:l(()=>({tabindex:x.value||w.value===0?`-1`:`0`,"data-orientation":u.value,dir:v.value,"data-loop":o.value?``:void 0,style:`outline: none`})),rovingFocusGroupListeners:{mousedown:()=>{S.value=!0},mouseup:()=>{setTimeout(()=>{S.value=!1},1)},focus:e=>{let t=!S.value;if(!e.currentTarget||e.target!==e.currentTarget||!t||x.value){S.value=!1;return}let r=new CustomEvent(`rovingFocusGroup.onEntryFocus`,h);if(e.currentTarget.dispatchEvent(r),m?.(r),r.defaultPrevented)return;let o=a();i([o.find(e=>n(e,`active`)),o.find(e=>n(e,`highlighted`)),o.find(e=>e.id===y.value),...o].filter(Boolean),f.value)},blur:()=>{x.value=!1}},getOrderedItems:r}});function x(n={}){let{getOrderedElements:a}=_(`RovingFocusItem`),{setItemElement:o,itemProps:s}=v(n.itemData),{currentTabStopId:c,orientation:p,dir:h,loop:g,onItemFocus:y,onItemShiftTab:x,onFocusableItemAdd:S,onFocusableItemRemove:C}=b(`RovingFocusItem`),{active:w,allowShiftKey:T}=n,E=l(()=>n.tabStopId?.value??m()),D=l(()=>n.focusable?.value??!0),O=l(()=>c.value===E.value),k=n=>{if(n.key===`Tab`&&n.shiftKey){x();return}if(n.target!==n.currentTarget)return;let o=r(n,p.value,h.value);if(e(o)||n.metaKey||n.ctrlKey||n.altKey||!T?.value&&n.shiftKey)return;n.preventDefault();let s=a();if(o===`last`&&s.reverse(),o===`prev`||o===`next`){o===`prev`&&s.reverse();let e=s.indexOf(n.currentTarget);s=g.value?t(s,e+1):s.slice(e+1)}u(()=>{i(s)})},A=l(()=>({...s,tabindex:O.value?`0`:`-1`,"data-orientation":p.value,"data-active":w?.value?``:void 0,"data-disabled":D.value?void 0:``})),j={mousedown:e=>{D.value?y(E.value):e.preventDefault()},focus:()=>{y(E.value)},keydown:k};return f(()=>{S()}),d(()=>{C()}),{setItemElement:o,rovingFocusItemProps:A,rovingFocusItemListeners:j}}export{y as provideRovingFocusGroupContext,v as useCollectionItem,x as useRovingFocusItem};
1
+ import{isNullish as e}from"../../shared/guard.js";import{wrapArray as t}from"../../shared/object.js";import{isElementHasAttribute as n}from"../../shared/dom.js";import{getFocusIntent as r,tryFocusFirst as i}from"../../shared/focus.js";import"../../shared/index.js";import{useContext as a}from"../../composables/use-context.js";import{useCollection as o}from"../../composables/use-collection.js";import{useControllableState as s}from"../../composables/use-controllable-state.js";import"../../composables/index.js";import{useDirection as c}from"../config-provider/context.js";import{computed as l,nextTick as u,onBeforeUnmount as d,onMounted as f,shallowRef as p,useId as m}from"vue";const h={bubbles:!1,cancelable:!0},{provideCollectionContext:g,useCollectionContext:_,useCollectionItem:v}=o(`RovingFocusGroup`),[y,b]=a(`RovingFocusGroup`,e=>{let{onContainerElementChange:t,getOrderedItems:r,getOrderedElements:a}=g(),{loop:o,orientation:u,defaultCurrentTabStopId:d,preventScrollOnEntryFocus:f,onEntryFocus:m,onUpdateCurrentTabStopId:_}=e,v=c(e.dir),y=s(()=>e.currentTabStopId.value,_,d.value),b=e=>{y.value=e},x=p(!1),S=p(!1),C=()=>{x.value=!0},w=p(0);return{onContainerElementChange:t,loop:o,dir:v,orientation:u,currentTabStopId:y,onItemFocus:b,onItemShiftTab:C,onFocusableItemAdd:()=>{w.value++},onFocusableItemRemove:()=>{w.value--},rovingFocusGroupProps:l(()=>({tabindex:x.value||w.value===0?`-1`:`0`,"data-orientation":u.value,dir:v.value,"data-loop":o.value?``:void 0,style:`outline: none`})),rovingFocusGroupListeners:{mousedown:()=>{S.value=!0},mouseup:()=>{setTimeout(()=>{S.value=!1},1)},focus:e=>{let t=!S.value;if(!e.currentTarget||e.target!==e.currentTarget||!t||x.value){S.value=!1;return}let r=new CustomEvent(`rovingFocusGroup.onEntryFocus`,h);if(e.currentTarget.dispatchEvent(r),m?.(r),r.defaultPrevented)return;let o=a();i([o.find(e=>n(e,`active`)),o.find(e=>n(e,`highlighted`)),o.find(e=>e.id===y.value),...o].filter(Boolean),f.value)},blur:()=>{x.value=!1}},getOrderedItems:r}});function x(n={}){let{getOrderedElements:a}=_(`RovingFocusItem`),{setItemElement:o,itemProps:s}=v(n.itemData),{currentTabStopId:c,orientation:p,dir:h,loop:g,onItemFocus:y,onItemShiftTab:x,onFocusableItemAdd:S,onFocusableItemRemove:C}=b(`RovingFocusItem`),{active:w,allowShiftKey:T}=n,E=l(()=>n.tabStopId?.value??m()),D=l(()=>n.focusable?.value??!0),O=l(()=>c.value===E.value),k=n=>{if(n.key===`Tab`&&n.shiftKey){x();return}if(n.target!==n.currentTarget)return;let o=r(n,p.value,h.value);if(e(o)||n.metaKey||n.ctrlKey||n.altKey||!T?.value&&n.shiftKey)return;n.preventDefault();let s=a();if(o===`last`&&s.reverse(),o===`prev`||o===`next`){o===`prev`&&s.reverse();let e=s.indexOf(n.currentTarget);s=g.value?t(s,e+1):s.slice(e+1)}u(()=>{i(s)})},A=l(()=>({...s,tabindex:O.value?`0`:`-1`,"data-orientation":p.value,"data-active":w?.value?``:void 0,"data-disabled":D.value?void 0:``})),j={mousedown:e=>{D.value?y(E.value):e.preventDefault()},focus:()=>{y(E.value)},keydown:k};return f(()=>{S()}),d(()=>{C()}),{setItemElement:o,rovingFocusItemProps:A,rovingFocusItemListeners:j}}export{y as provideRovingFocusGroupContext,v as useCollectionItem,x as useRovingFocusItem};
@@ -1 +1 @@
1
- import{transformPropsToContext as e}from"../../shared/vue.js";import{useForwardElement as t}from"../../composables/use-forward-element.js";import{Primitive as n}from"../primitive/primitive.js";import{provideRovingFocusGroupContext as r}from"./context.js";import{createBlock as i,defineComponent as a,mergeProps as o,openBlock as s,renderSlot as c,toHandlers as l,unref as u,withCtx as d}from"vue";var f=a({name:`RovingFocusGroup`,__name:`roving-focus-group`,props:{orientation:{default:void 0},dir:{},loop:{type:Boolean,default:!1},currentTabStopId:{},defaultCurrentTabStopId:{},preventScrollOnEntryFocus:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:[`entryFocus`,`update:currentTabStopId`],setup(a,{expose:f,emit:p}){let m=a,h=p,{onContainerElementChange:g,rovingFocusGroupProps:_,rovingFocusGroupListeners:v,getOrderedItems:y}=r({...e(m,[`loop`,`orientation`,`dir`,`currentTabStopId`,`defaultCurrentTabStopId`,`preventScrollOnEntryFocus`]),onUpdateCurrentTabStopId:e=>{h(`update:currentTabStopId`,e)},onEntryFocus:e=>{h(`entryFocus`,e)}}),[b,x]=t(g);return f({getItems:y}),(e,t)=>(s(),i(u(n),o(u(_),{ref:u(x),as:a.as,"as-child":a.asChild},l(u(v))),{default:d(()=>[c(e.$slots,`default`)]),_:3},16,[`as`,`as-child`]))}});export{f as default};
1
+ import{transformPropsToContext as e}from"../../shared/vue.js";import"../../shared/index.js";import{useForwardElement as t}from"../../composables/use-forward-element.js";import"../../composables/index.js";import{Primitive as n}from"../primitive/primitive.js";import"../primitive/index.js";import{provideRovingFocusGroupContext as r}from"./context.js";import{createBlock as i,defineComponent as a,mergeProps as o,openBlock as s,renderSlot as c,toHandlers as l,unref as u,withCtx as d}from"vue";const f=a({name:`RovingFocusGroup`,__name:`roving-focus-group`,props:{orientation:{default:void 0},dir:{},loop:{type:Boolean,default:!1},currentTabStopId:{},defaultCurrentTabStopId:{},preventScrollOnEntryFocus:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:[`entryFocus`,`update:currentTabStopId`],setup(a,{expose:f,emit:p}){let m=a,h=p,{onContainerElementChange:g,rovingFocusGroupProps:_,rovingFocusGroupListeners:v,getOrderedItems:y}=r({...e(m,[`loop`,`orientation`,`dir`,`currentTabStopId`,`defaultCurrentTabStopId`,`preventScrollOnEntryFocus`]),onUpdateCurrentTabStopId:e=>{h(`update:currentTabStopId`,e)},onEntryFocus:e=>{h(`entryFocus`,e)}}),[b,x]=t(g);return f({getItems:y}),(e,t)=>(s(),i(u(n),o(u(_),{ref:u(x),as:a.as,"as-child":a.asChild},l(u(v))),{default:d(()=>[c(e.$slots,`default`)]),_:3},16,[`as`,`as-child`]))}});export{f as default};
@@ -3,26 +3,26 @@ import { RovingFocusGroupProps } from "./types.js";
3
3
  import { CollectionItemData } from "../../composables/use-collection.js";
4
4
  import "../../composables/index.js";
5
5
  import "../../index.js";
6
- import * as vue625 from "vue";
6
+ import * as vue from "vue";
7
7
 
8
8
  //#region src/components/roving-focus/roving-focus-group.vue.d.ts
9
9
  declare var __VLS_8: {};
10
10
  type __VLS_Slots = {} & {
11
11
  default?: (props: typeof __VLS_8) => any;
12
12
  };
13
- declare const __VLS_base: vue625.DefineComponent<RovingFocusGroupProps, {
13
+ declare const __VLS_base: vue.DefineComponent<RovingFocusGroupProps, {
14
14
  getItems: (excludeDisabled?: boolean) => CollectionItemData<Record<string, any>>[];
15
- }, {}, {}, {}, vue625.ComponentOptionsMixin, vue625.ComponentOptionsMixin, {
15
+ }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
16
16
  entryFocus: (event: Event) => any;
17
17
  "update:currentTabStopId": (value: string | null | undefined) => any;
18
- }, string, vue625.PublicProps, Readonly<RovingFocusGroupProps> & Readonly<{
18
+ }, string, vue.PublicProps, Readonly<RovingFocusGroupProps> & Readonly<{
19
19
  onEntryFocus?: ((event: Event) => any) | undefined;
20
20
  "onUpdate:currentTabStopId"?: ((value: string | null | undefined) => any) | undefined;
21
21
  }>, {
22
22
  orientation: DataOrientation;
23
- loop: boolean;
24
23
  preventScrollOnEntryFocus: boolean;
25
- }, {}, {}, {}, string, vue625.ComponentProvideOptions, false, {}, any>;
24
+ loop: boolean;
25
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
26
26
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
27
27
  declare const _default: typeof __VLS_export;
28
28
  type __VLS_WithSlots<T, S> = T & {
@@ -1 +1 @@
1
- import{transformPropsToContext as e}from"../../shared/vue.js";import{Primitive as t}from"../primitive/primitive.js";import{useRovingFocusItem as n}from"./context.js";import{createBlock as r,defineComponent as i,mergeProps as a,openBlock as o,renderSlot as s,toHandlers as c,unref as l,withCtx as u}from"vue";var d=i({name:`RovingFocusItem`,__name:`roving-focus-item`,props:{tabStopId:{},focusable:{type:Boolean,default:!0},active:{type:Boolean},allowShiftKey:{type:Boolean},itemData:{},asChild:{type:Boolean},as:{}},setup(i){let{setItemElement:d,rovingFocusItemProps:f,rovingFocusItemListeners:p}=n(e(i,[`tabStopId`,`focusable`,`active`,`allowShiftKey`,`itemData`]));return(e,n)=>(o(),r(l(t),a(l(f),{ref:l(d),as:i.as,"as-child":i.asChild},c(l(p))),{default:u(()=>[s(e.$slots,`default`)]),_:3},16,[`as`,`as-child`]))}});export{d as default};
1
+ import{transformPropsToContext as e}from"../../shared/vue.js";import"../../shared/index.js";import{Primitive as t}from"../primitive/primitive.js";import"../primitive/index.js";import{useRovingFocusItem as n}from"./context.js";import{createBlock as r,defineComponent as i,mergeProps as a,openBlock as o,renderSlot as s,toHandlers as c,unref as l,withCtx as u}from"vue";const d=i({name:`RovingFocusItem`,__name:`roving-focus-item`,props:{tabStopId:{},focusable:{type:Boolean,default:!0},active:{type:Boolean},allowShiftKey:{type:Boolean},itemData:{},asChild:{type:Boolean},as:{}},setup(i){let{setItemElement:d,rovingFocusItemProps:f,rovingFocusItemListeners:p}=n(e(i,[`tabStopId`,`focusable`,`active`,`allowShiftKey`,`itemData`]));return(e,n)=>(o(),r(l(t),a(l(f),{ref:l(d),as:i.as,"as-child":i.asChild},c(l(p))),{default:u(()=>[s(e.$slots,`default`)]),_:3},16,[`as`,`as-child`]))}});export{d as default};