@vizejs/ui 0.387.0 → 0.388.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (411) hide show
  1. package/dist/alert-BX93FNvj.d.mts +92 -0
  2. package/dist/alert-DvhiFK_R.mjs +92 -0
  3. package/dist/alert-dialog-D9tqXQ_Q.mjs +176 -0
  4. package/dist/alert-dialog.d.mts +2 -0
  5. package/dist/alert-dialog.mjs +3 -0
  6. package/dist/alert.d.mts +2 -0
  7. package/dist/alert.mjs +2 -0
  8. package/dist/announcer-CW079p2E.mjs +258 -0
  9. package/dist/announcer-DGr2Iz0i.d.mts +6829 -0
  10. package/dist/announcer.d.mts +2 -0
  11. package/dist/announcer.mjs +2 -0
  12. package/dist/aspect-ratio-DDqVT6Hg.d.mts +62 -0
  13. package/dist/aspect-ratio-_HLW6_5i.mjs +63 -0
  14. package/dist/aspect-ratio.d.mts +2 -0
  15. package/dist/aspect-ratio.mjs +2 -0
  16. package/dist/avatar-6fQfQ-1x.mjs +195 -0
  17. package/dist/avatar.d.mts +2 -0
  18. package/dist/avatar.mjs +2 -0
  19. package/dist/badge-BTOyu4i6.mjs +53 -0
  20. package/dist/badge.d.mts +2 -0
  21. package/dist/badge.mjs +2 -0
  22. package/dist/banner-CYiSiZJW.mjs +288 -0
  23. package/dist/banner.d.mts +2 -0
  24. package/dist/banner.mjs +2 -0
  25. package/dist/block-ui-Bd2m1m3K.mjs +111 -0
  26. package/dist/block-ui.d.mts +2 -0
  27. package/dist/block-ui.mjs +2 -0
  28. package/dist/blockquote-eTqp3b_r.mjs +65 -0
  29. package/dist/blockquote.d.mts +2 -0
  30. package/dist/blockquote.mjs +2 -0
  31. package/dist/breadcrumb-BvuPBfkj.mjs +212 -0
  32. package/dist/breadcrumb-Cdyh20z-.d.mts +202 -0
  33. package/dist/breadcrumb.d.mts +2 -0
  34. package/dist/breadcrumb.mjs +2 -0
  35. package/dist/{button-DYg1mIIq.d.mts → button-Dye0M41O.d.mts} +3 -3
  36. package/dist/{button-DT8AKlds.mjs → button-VVxUavbS.mjs} +6 -6
  37. package/dist/button-group-C_mR0Jfw.d.mts +137 -0
  38. package/dist/button-group-DyQbTCnY.mjs +418 -0
  39. package/dist/button-group.d.mts +2 -0
  40. package/dist/button-group.mjs +2 -0
  41. package/dist/button.d.mts +1 -1
  42. package/dist/button.mjs +2 -2
  43. package/dist/callout-DAu-98Ti.mjs +277 -0
  44. package/dist/callout.d.mts +2 -0
  45. package/dist/callout.mjs +2 -0
  46. package/dist/card-D94n04s5.mjs +66 -0
  47. package/dist/card.d.mts +2 -0
  48. package/dist/card.mjs +2 -0
  49. package/dist/catalog.d.mts +2112 -302
  50. package/dist/catalog.mjs +3831 -433
  51. package/dist/{checkbox-BgIvwjyC.mjs → checkbox-bM5y7vH8.mjs} +8 -8
  52. package/dist/checkbox.d.mts +1 -1
  53. package/dist/checkbox.mjs +2 -2
  54. package/dist/cluster-BWF028Xt.d.mts +133 -0
  55. package/dist/cluster-BydJTp9X.mjs +149 -0
  56. package/dist/cluster.d.mts +2 -0
  57. package/dist/cluster.mjs +2 -0
  58. package/dist/code-D93YXaeJ.mjs +66 -0
  59. package/dist/code.d.mts +2 -0
  60. package/dist/code.mjs +2 -0
  61. package/dist/collapsible-Cra5y_if.mjs +269 -0
  62. package/dist/collapsible.d.mts +2 -0
  63. package/dist/collapsible.mjs +2 -0
  64. package/dist/{collection-B_dFZOHO.d.mts → collection-BaPf8lgw.d.mts} +3 -3
  65. package/dist/{collection-eHN150dT.mjs → collection-Cncgrq4U.mjs} +5 -5
  66. package/dist/collection.d.mts +1 -1
  67. package/dist/collection.mjs +1 -1
  68. package/dist/command-CAH0yrMT.d.mts +105 -0
  69. package/dist/command.d.mts +2 -0
  70. package/dist/command.mjs +123 -0
  71. package/dist/{composite-navigation-Skx3LZsv.mjs → composite-navigation-D6WKS_BY.mjs} +4 -4
  72. package/dist/{composite-navigation-QINW9GLy.d.mts → composite-navigation-i7ocwmio.d.mts} +4 -4
  73. package/dist/composite-navigation.d.mts +1 -1
  74. package/dist/composite-navigation.mjs +1 -1
  75. package/dist/container-5lSCSbeX.mjs +113 -0
  76. package/dist/container-CYSiwCA-.d.mts +99 -0
  77. package/dist/container.d.mts +2 -0
  78. package/dist/container.mjs +2 -0
  79. package/dist/context-7SpwFHtK.d.mts +25 -0
  80. package/dist/context.d.mts +1 -24
  81. package/dist/context.mjs +1 -1
  82. package/dist/{controllable-state-BtoxKahh.d.mts → controllable-state-CZZF9Pw5.d.mts} +1 -1
  83. package/dist/controllable-state.d.mts +1 -1
  84. package/dist/controllable-state.mjs +1 -1
  85. package/dist/copy-button-BH2em7nG.mjs +212 -0
  86. package/dist/copy-button.d.mts +2 -0
  87. package/dist/copy-button.mjs +2 -0
  88. package/dist/{id-BV9AJ3cm.d.mts → deterministic-id-DYQJ7KzM.d.mts} +2 -35
  89. package/dist/{id-mziSyAse.mjs → deterministic-id-yMq4HfmS.mjs} +3 -46
  90. package/dist/dialog-trigger-ppGKikEP.mjs +717 -0
  91. package/dist/dialog.d.mts +2 -0
  92. package/dist/dialog.mjs +2 -0
  93. package/dist/{dismissable-layer-4icKahVs.d.mts → dismissable-layer-CTWSFZwj.d.mts} +2 -2
  94. package/dist/{dismissable-layer-CwG1gtdz.mjs → dismissable-layer-CpS07KUV.mjs} +3 -3
  95. package/dist/dismissable-layer.d.mts +1 -1
  96. package/dist/dismissable-layer.mjs +1 -1
  97. package/dist/drag-and-drop-BjYgWGcG.mjs +918 -0
  98. package/dist/drag-and-drop-CagE25Kt.d.mts +47 -0
  99. package/dist/drag-and-drop-controller-types-DoTSR_aM.d.mts +304 -0
  100. package/dist/drag-and-drop.d.mts +3 -0
  101. package/dist/drag-and-drop.mjs +2 -0
  102. package/dist/empty-state-DtyOxCA4.mjs +73 -0
  103. package/dist/empty-state.d.mts +2 -0
  104. package/dist/empty-state.mjs +2 -0
  105. package/dist/error-summary-6Xis_769.d.mts +65 -0
  106. package/dist/error-summary-DMe4IlM9.mjs +209 -0
  107. package/dist/error-summary-types-5ePaC9O3.d.mts +74 -0
  108. package/dist/error-summary.d.mts +3 -0
  109. package/dist/error-summary.mjs +2 -0
  110. package/dist/field-CBs2-Z9B.mjs +254 -0
  111. package/dist/field-WWPaJT1x.d.mts +235 -0
  112. package/dist/field-wiring-9Fy-G1rf.d.mts +14 -0
  113. package/dist/field-wiring-runtime-fQ3GoLuG.mjs +64 -0
  114. package/dist/field-wiring-types-Bfyis5hO.d.mts +73 -0
  115. package/dist/field-wiring.d.mts +3 -0
  116. package/dist/field-wiring.mjs +2 -0
  117. package/dist/field.d.mts +2 -0
  118. package/dist/field.mjs +2 -0
  119. package/dist/{focus-CAWi_I-0.mjs → focus-XxVWOwbs.mjs} +3 -3
  120. package/dist/{focus-K6dOifoZ.d.mts → focus-eObxGOtP.d.mts} +2 -2
  121. package/dist/{focus-guards-Bt0C-0qS.d.mts → focus-guards-BZa7vm6O.d.mts} +2 -2
  122. package/dist/{focus-guards-DhMPQAT8.mjs → focus-guards-DSxiemx7.mjs} +4 -4
  123. package/dist/focus-guards.d.mts +1 -1
  124. package/dist/focus-guards.mjs +1 -1
  125. package/dist/{focus-scope-CavhKWx0.d.mts → focus-scope-CsnioDR4.d.mts} +3 -3
  126. package/dist/{focus-scope-dom-DBwNEWxG.mjs → focus-scope-dom-L_EC5GsX.mjs} +2 -2
  127. package/dist/{focus-scope-D9U1aj67.mjs → focus-scope-mEg8UoeE.mjs} +5 -5
  128. package/dist/focus-scope.d.mts +1 -1
  129. package/dist/focus-scope.mjs +1 -1
  130. package/dist/focus.d.mts +1 -1
  131. package/dist/focus.mjs +1 -1
  132. package/dist/form-1V2V30Sv.d.mts +20 -0
  133. package/dist/form-runtime-CcMDY0Iq.mjs +166 -0
  134. package/dist/form-types-DXwZRLcs.d.mts +183 -0
  135. package/dist/form.d.mts +3 -0
  136. package/dist/form.mjs +2 -0
  137. package/dist/fullscreen-button-NTbC4R0W.mjs +276 -0
  138. package/dist/fullscreen-button.d.mts +2 -0
  139. package/dist/fullscreen-button.mjs +2 -0
  140. package/dist/grid-BSM9h2dL.d.mts +154 -0
  141. package/dist/grid-DeC4Wn7Y.mjs +157 -0
  142. package/dist/grid.d.mts +2 -0
  143. package/dist/grid.mjs +2 -0
  144. package/dist/heading-DToVOKV3.mjs +86 -0
  145. package/dist/heading.d.mts +2 -0
  146. package/dist/heading.mjs +2 -0
  147. package/dist/history-BDgNOjcV.mjs +304 -0
  148. package/dist/history-BkcOSOWb.d.mts +157 -0
  149. package/dist/history.d.mts +2 -0
  150. package/dist/history.mjs +2 -0
  151. package/dist/{hover-BXwwbSaO.d.mts → hover-ZiPRiZkb.d.mts} +2 -2
  152. package/dist/hover.d.mts +1 -1
  153. package/dist/hover.mjs +1 -1
  154. package/dist/icon-DhTTndMu.mjs +233 -0
  155. package/dist/icon-button-BuXquME1.mjs +188 -0
  156. package/dist/icon-button.d.mts +2 -0
  157. package/dist/icon-button.mjs +2 -0
  158. package/dist/icon.d.mts +2 -0
  159. package/dist/icon.mjs +2 -0
  160. package/dist/id-BYG8aXPF.mjs +47 -0
  161. package/dist/id-Ba8FHjAo.d.mts +34 -0
  162. package/dist/id.d.mts +2 -1
  163. package/dist/id.mjs +3 -2
  164. package/dist/index.d.mts +74 -24
  165. package/dist/index.mjs +113 -21
  166. package/dist/{inert-outside-tuHRmaqJ.d.mts → inert-outside-B6KdwAHY.d.mts} +2 -2
  167. package/dist/{inert-outside-CyqtoKQ4.mjs → inert-outside-DOufBTyy.mjs} +4 -4
  168. package/dist/inert-outside.d.mts +1 -1
  169. package/dist/inert-outside.mjs +1 -1
  170. package/dist/input-Blyx59CR.mjs +256 -0
  171. package/dist/input-C0fgeRnS.d.mts +159 -0
  172. package/dist/input.d.mts +2 -0
  173. package/dist/input.mjs +2 -0
  174. package/dist/{interaction-modality-DOZK0BpZ.mjs → interaction-modality-BHnjtU4S.mjs} +3 -3
  175. package/dist/{interaction-modality-jgHKjPFB.d.mts → interaction-modality-BTiZ7j98.d.mts} +2 -2
  176. package/dist/interaction-modality.d.mts +1 -1
  177. package/dist/interaction-modality.mjs +1 -1
  178. package/dist/kbd-sJdXIdIm.mjs +66 -0
  179. package/dist/kbd.d.mts +2 -0
  180. package/dist/kbd.mjs +2 -0
  181. package/dist/link-DDaCjrI5.mjs +154 -0
  182. package/dist/link-MbRDN6wJ.d.mts +94 -0
  183. package/dist/link.d.mts +2 -0
  184. package/dist/link.mjs +2 -0
  185. package/dist/list-DjyCLVfG.mjs +66 -0
  186. package/dist/list.d.mts +2 -0
  187. package/dist/list.mjs +2 -0
  188. package/dist/listbox-IaqaoiRn.mjs +549 -0
  189. package/dist/listbox.d.mts +2 -0
  190. package/dist/listbox.mjs +2 -0
  191. package/dist/live-region-DYSpwCTk.mjs +48 -0
  192. package/dist/live-region-G1iobPK5.d.mts +67 -0
  193. package/dist/live-region-runtime-DVUch8Lu.mjs +62 -0
  194. package/dist/live-region.d.mts +2 -0
  195. package/dist/live-region.mjs +3 -0
  196. package/dist/locale-DzWqhJZs.mjs +206 -0
  197. package/dist/locale.d.mts +2 -0
  198. package/dist/locale.mjs +2 -0
  199. package/dist/{long-press-cll6z2K9.d.mts → long-press-DyYxp191.d.mts} +3 -3
  200. package/dist/{long-press-Dsul69gk.mjs → long-press-yJk5zK0j.mjs} +4 -4
  201. package/dist/long-press.d.mts +1 -1
  202. package/dist/long-press.mjs +1 -1
  203. package/dist/measure-4I0YOAXD.d.mts +97 -0
  204. package/dist/measure-runtime-C4qYJp3_.mjs +170 -0
  205. package/dist/measure.d.mts +2 -0
  206. package/dist/measure.mjs +2 -0
  207. package/dist/media-pdf.d.mts +1 -1
  208. package/dist/media-pdf.mjs +1 -1
  209. package/dist/media-source.d.mts +1 -1
  210. package/dist/media-source.mjs +1 -1
  211. package/dist/media.d.mts +1 -1
  212. package/dist/media.mjs +1 -1
  213. package/dist/meter-B3m17_8g.d.mts +174 -0
  214. package/dist/meter-BwOXVWH8.mjs +243 -0
  215. package/dist/meter.d.mts +2 -0
  216. package/dist/meter.mjs +2 -0
  217. package/dist/motion-OdERKfZR.mjs +174 -0
  218. package/dist/motion-iUSBdWaI.d.mts +98 -0
  219. package/dist/motion.d.mts +2 -0
  220. package/dist/motion.mjs +2 -0
  221. package/dist/{move-BOmXDYbh.d.mts → move-BJGaV7Y9.d.mts} +2 -2
  222. package/dist/move-internal-BM_7g70h.mjs +172 -0
  223. package/dist/move.d.mts +1 -1
  224. package/dist/move.mjs +216 -1
  225. package/dist/native-select-H9qvaqQH.mjs +309 -0
  226. package/dist/native-select.d.mts +2 -0
  227. package/dist/native-select.mjs +2 -0
  228. package/dist/pagination-Bs4SBSE4.mjs +791 -0
  229. package/dist/pagination.d.mts +2 -0
  230. package/dist/pagination.mjs +2 -0
  231. package/dist/{pdf-source-zu1LkCeE.mjs → pdf-source-B5JSDKkQ.mjs} +1 -1
  232. package/dist/{pdf-source-BYFK2Pks.d.mts → pdf-source-adS6ZSmR.d.mts} +1 -1
  233. package/dist/pointer-grace-CAFcO4om.d.mts +57 -0
  234. package/dist/pointer-grace-DI0G3oRJ.mjs +162 -0
  235. package/dist/pointer-grace.d.mts +2 -0
  236. package/dist/pointer-grace.mjs +2 -0
  237. package/dist/popover-DeENBKXE.mjs +714 -0
  238. package/dist/popover.d.mts +2 -0
  239. package/dist/popover.mjs +2 -0
  240. package/dist/portal-DeHaLxGL.mjs +114 -0
  241. package/dist/portal-DhWXejr1.d.mts +71 -0
  242. package/dist/portal.d.mts +2 -0
  243. package/dist/portal.mjs +2 -0
  244. package/dist/positioner-BYJVA3Uy.d.mts +477 -0
  245. package/dist/positioner-BYmQk86M.mjs +38 -0
  246. package/dist/positioner-DaPo2YxM.mjs +708 -0
  247. package/dist/positioner.d.mts +2 -0
  248. package/dist/positioner.mjs +3 -0
  249. package/dist/presence-Bhv1qtvn.d.mts +57 -0
  250. package/dist/presence-CTG1EV3w.mjs +62 -0
  251. package/dist/presence-runtime-CYwCafSh.mjs +105 -0
  252. package/dist/presence-types-CRB4HbML.d.mts +45 -0
  253. package/dist/presence.d.mts +3 -0
  254. package/dist/presence.mjs +3 -0
  255. package/dist/{press-N_mE3Mgx.mjs → press-BjLm6bKg.mjs} +6 -6
  256. package/dist/press-R0_juZq2.d.mts +14 -0
  257. package/dist/{press-event-Cd2OPpmw.mjs → press-event-xlWYF9py.mjs} +1 -1
  258. package/dist/{press-types-CNqStzJf.d.mts → press-types-DfTNpqby.d.mts} +1 -1
  259. package/dist/press.d.mts +2 -13
  260. package/dist/press.mjs +1 -1
  261. package/dist/{primitive-C8jW7DLd.d.mts → primitive-BE2mdUcw.d.mts} +2 -2
  262. package/dist/{primitive-BX31dogp.mjs → primitive-beb2EEOc.mjs} +5 -5
  263. package/dist/primitive.d.mts +1 -1
  264. package/dist/primitive.mjs +2 -2
  265. package/dist/print-button-FqD5HqTV.mjs +206 -0
  266. package/dist/print-button.d.mts +2 -0
  267. package/dist/print-button.mjs +2 -0
  268. package/dist/progress--vbV2wTx.mjs +145 -0
  269. package/dist/progress-C4PlKwWq.d.mts +128 -0
  270. package/dist/progress-bar-BqS94auR.mjs +301 -0
  271. package/dist/progress-bar.d.mts +2 -0
  272. package/dist/progress-bar.mjs +2 -0
  273. package/dist/progress.d.mts +2 -0
  274. package/dist/progress.mjs +2 -0
  275. package/dist/radio-group-DbTmWcxl.mjs +317 -0
  276. package/dist/radio-group.d.mts +2 -0
  277. package/dist/radio-group.mjs +2 -0
  278. package/dist/rating-BjKLGPP6.mjs +569 -0
  279. package/dist/rating-souDdL9t.d.mts +273 -0
  280. package/dist/rating.d.mts +2 -0
  281. package/dist/rating.mjs +2 -0
  282. package/dist/scroll-area-BRSwoi9w.mjs +338 -0
  283. package/dist/scroll-area.d.mts +2 -0
  284. package/dist/scroll-area.mjs +2 -0
  285. package/dist/{scroll-lock-Ckbmm0-J.mjs → scroll-lock-BcmK0baN.mjs} +4 -4
  286. package/dist/{scroll-lock-BgVtX4wT.d.mts → scroll-lock-OfSQnfi0.d.mts} +2 -2
  287. package/dist/scroll-lock.d.mts +1 -1
  288. package/dist/scroll-lock.mjs +1 -1
  289. package/dist/search-field-70Kr2616.mjs +319 -0
  290. package/dist/search-field-Biw9vApG.d.mts +158 -0
  291. package/dist/search-field.d.mts +2 -0
  292. package/dist/search-field.mjs +2 -0
  293. package/dist/separator-CnNDqbdR.d.mts +59 -0
  294. package/dist/separator-DDj3tEAz.mjs +66 -0
  295. package/dist/separator.d.mts +2 -0
  296. package/dist/separator.mjs +2 -0
  297. package/dist/share-button-DfvUDFC-.mjs +243 -0
  298. package/dist/share-button.d.mts +2 -0
  299. package/dist/share-button.mjs +2 -0
  300. package/dist/shortcut-CvA_o0_F.mjs +631 -0
  301. package/dist/shortcut-DAZJ9LEd.d.mts +231 -0
  302. package/dist/shortcut.d.mts +2 -0
  303. package/dist/shortcut.mjs +2 -0
  304. package/dist/skeleton-BYXXcwTH.mjs +101 -0
  305. package/dist/skeleton-CQW-Tsnt.d.mts +99 -0
  306. package/dist/skeleton.d.mts +2 -0
  307. package/dist/skeleton.mjs +2 -0
  308. package/dist/skip-link-BUp9HXXt.mjs +164 -0
  309. package/dist/skip-link-DHDrtnP2.d.mts +98 -0
  310. package/dist/skip-link.d.mts +2 -0
  311. package/dist/skip-link.mjs +2 -0
  312. package/dist/slider-BiZSZLDp.mjs +475 -0
  313. package/dist/slider-CYBbxeNy.d.mts +246 -0
  314. package/dist/slider.d.mts +2 -0
  315. package/dist/slider.mjs +2 -0
  316. package/dist/sortable-BntjgYra.mjs +499 -0
  317. package/dist/sortable-DQl92bwo.d.mts +206 -0
  318. package/dist/sortable.d.mts +2 -0
  319. package/dist/sortable.mjs +2 -0
  320. package/dist/spacer-Bc0dInvi.mjs +117 -0
  321. package/dist/spacer-DFstG4G-.d.mts +105 -0
  322. package/dist/spacer.d.mts +2 -0
  323. package/dist/spacer.mjs +2 -0
  324. package/dist/{spatial-navigation-CHj9mDZH.d.mts → spatial-navigation-BPVJGSiJ.d.mts} +3 -3
  325. package/dist/{spatial-navigation-D6-UDavU.mjs → spatial-navigation-DwcUYMyc.mjs} +2 -2
  326. package/dist/spatial-navigation.d.mts +1 -1
  327. package/dist/spatial-navigation.mjs +1 -1
  328. package/dist/spinner-JnRs8fp-.d.mts +155 -0
  329. package/dist/spinner-bizL-oOg.mjs +200 -0
  330. package/dist/spinner.d.mts +2 -0
  331. package/dist/spinner.mjs +2 -0
  332. package/dist/stack-C7DOIxo-.mjs +137 -0
  333. package/dist/stack-CPtBckZB.d.mts +127 -0
  334. package/dist/stack.d.mts +2 -0
  335. package/dist/stack.mjs +2 -0
  336. package/dist/status-light-BGWgQRRf.mjs +125 -0
  337. package/dist/status-light.d.mts +2 -0
  338. package/dist/status-light.mjs +2 -0
  339. package/dist/stepper-CwX6BZaN.mjs +912 -0
  340. package/dist/stepper.d.mts +2 -0
  341. package/dist/stepper.mjs +2 -0
  342. package/dist/style.css +1 -1
  343. package/dist/surface-C2fnxL3g.mjs +102 -0
  344. package/dist/surface.d.mts +2 -0
  345. package/dist/surface.mjs +2 -0
  346. package/dist/switch-Ck5YmfXb.mjs +197 -0
  347. package/dist/switch.d.mts +2 -0
  348. package/dist/switch.mjs +2 -0
  349. package/dist/table-BxU7htxc.mjs +349 -0
  350. package/dist/table-Ce3yWwlH.d.mts +415 -0
  351. package/dist/table.d.mts +2 -0
  352. package/dist/table.mjs +2 -0
  353. package/dist/tabs-DSXIomI_.mjs +595 -0
  354. package/dist/tabs.d.mts +2 -0
  355. package/dist/tabs.mjs +2 -0
  356. package/dist/text-BVeNKPiv.mjs +76 -0
  357. package/dist/text.d.mts +2 -0
  358. package/dist/text.mjs +2 -0
  359. package/dist/textarea-4eIDNcvv.d.mts +175 -0
  360. package/dist/textarea-BZimEPBR.mjs +279 -0
  361. package/dist/textarea.d.mts +2 -0
  362. package/dist/textarea.mjs +2 -0
  363. package/dist/theme-C8Crmb8V.mjs +139 -0
  364. package/dist/theme-CNK06Pja.d.mts +38 -0
  365. package/dist/theme-constants-DAwnxG-P.mjs +29 -0
  366. package/dist/theme-preset-atelier.css +1 -0
  367. package/dist/theme-preset-headless.css +1 -0
  368. package/dist/theme-preset-high-contrast.css +1 -0
  369. package/dist/theme-preset-midnight.css +1 -0
  370. package/dist/theme-preset-paper.css +1 -0
  371. package/dist/theme-preset-play.css +1 -0
  372. package/dist/theme-preset-signal.css +1 -0
  373. package/dist/theme-scope.d.mts +25 -0
  374. package/dist/theme-scope.mjs +89 -0
  375. package/dist/theme-types-CkIa4Sa3.d.mts +71 -0
  376. package/dist/theme.css +1 -0
  377. package/dist/theme.d.mts +3 -0
  378. package/dist/theme.mjs +3 -0
  379. package/dist/toggle-CBTXzwze.mjs +141 -0
  380. package/dist/toggle-group-DO7eGEs3.d.mts +147 -0
  381. package/dist/toggle-group-DybU9N7k.mjs +523 -0
  382. package/dist/toggle-group.d.mts +2 -0
  383. package/dist/toggle-group.mjs +2 -0
  384. package/dist/toggle.d.mts +2 -0
  385. package/dist/toggle.mjs +2 -0
  386. package/dist/toolbar-CIU1bor0.d.mts +259 -0
  387. package/dist/toolbar-CXE8YCX-.mjs +425 -0
  388. package/dist/toolbar.d.mts +2 -0
  389. package/dist/toolbar.mjs +2 -0
  390. package/dist/tooltip-Cgii5xMx.mjs +485 -0
  391. package/dist/tooltip.d.mts +2 -0
  392. package/dist/tooltip.mjs +2 -0
  393. package/dist/transition-BmgFyzA6.mjs +168 -0
  394. package/dist/transition-BtIWNEFU.d.mts +82 -0
  395. package/dist/transition.d.mts +2 -0
  396. package/dist/transition.mjs +2 -0
  397. package/dist/{typeahead-B7KDxE_u.mjs → typeahead-DZSBI5m5.mjs} +2 -2
  398. package/dist/{typeahead-BbgUB2Bj.d.mts → typeahead-Dl6w5PAN.d.mts} +3 -3
  399. package/dist/typeahead.d.mts +1 -1
  400. package/dist/typeahead.mjs +1 -1
  401. package/dist/virtualizer-BlxKjT3W.mjs +793 -0
  402. package/dist/virtualizer-D9qfT4wS.d.mts +349 -0
  403. package/dist/virtualizer.d.mts +2 -0
  404. package/dist/virtualizer.mjs +2 -0
  405. package/dist/{visually-hidden-BOqfqBFt.d.mts → visually-hidden-CUr9BX0K.d.mts} +1 -1
  406. package/dist/{visually-hidden-BwDOx5yf.mjs → visually-hidden-SDjRJYRK.mjs} +5 -5
  407. package/dist/visually-hidden.d.mts +1 -1
  408. package/dist/visually-hidden.mjs +2 -2
  409. package/package.json +426 -7
  410. package/dist/checkbox-DP3_ko7D.d.mts +0 -61
  411. package/dist/move-BVvMHzxr.mjs +0 -386
@@ -0,0 +1,273 @@
1
+ import { StyleValue } from "vue";
2
+
3
+ //#region src/families/form/rating/rating-types.d.ts
4
+ /** Selected Rating value. `null` represents no rating. */
5
+ type RatingValue = number | null;
6
+ /** Text direction used for keyboard movement and styling hooks. */
7
+ type RatingDirection = "ltr" | "rtl";
8
+ /** Values accepted by the native `aria-invalid` attribute. */
9
+ type RatingAriaInvalid = boolean | "grammar" | "spelling";
10
+ /** State exposed through the Rating root Native CSS data contract. */
11
+ type RatingState = "disabled" | "empty" | "invalid" | "readonly" | "selected";
12
+ /** State exposed by each generated Rating item. */
13
+ type RatingItemState = "checked" | "disabled" | "readonly" | "unchecked";
14
+ /** Headless CSS custom properties authored by the Rating root. */
15
+ type RatingStyle = StyleValue & {
16
+ readonly "--vize-rating-value": string;
17
+ readonly "--vize-rating-min": string;
18
+ readonly "--vize-rating-max": string;
19
+ readonly "--vize-rating-count": string;
20
+ readonly "--vize-rating-percent": string;
21
+ };
22
+ /** Public props accepted by the Rating component. */
23
+ interface RatingProps {
24
+ /**
25
+ * Consumer-owned group id. `null` and `undefined` select a deterministic fallback.
26
+ *
27
+ * @default undefined
28
+ */
29
+ readonly id?: string | null;
30
+ /**
31
+ * Native radio field name submitted with the selected rating.
32
+ *
33
+ * @default undefined
34
+ */
35
+ readonly name?: string;
36
+ /**
37
+ * Controlled rating value. `undefined` selects uncontrolled behavior; `null` clears selection.
38
+ *
39
+ * @default undefined
40
+ */
41
+ readonly modelValue?: RatingValue;
42
+ /**
43
+ * Initial uncontrolled rating and the value restored by form reset.
44
+ *
45
+ * @default null
46
+ */
47
+ readonly defaultValue?: RatingValue;
48
+ /**
49
+ * Lowest generated rating value.
50
+ *
51
+ * @default 1
52
+ */
53
+ readonly min?: number;
54
+ /**
55
+ * Highest generated rating value. When omitted, `count` derives the upper bound.
56
+ *
57
+ * @default undefined
58
+ */
59
+ readonly max?: number;
60
+ /**
61
+ * Number of generated rating choices when `max` is omitted.
62
+ *
63
+ * @default 5
64
+ */
65
+ readonly count?: number;
66
+ /**
67
+ * Allow user activation of the currently selected item, Escape, Delete, or Backspace to clear.
68
+ *
69
+ * @default false
70
+ */
71
+ readonly clearable?: boolean;
72
+ /**
73
+ * Disable native focus, activation, and form submission.
74
+ *
75
+ * @default false
76
+ */
77
+ readonly disabled?: boolean;
78
+ /**
79
+ * Keep the selected rating focusable and submittable while preventing user changes.
80
+ *
81
+ * @default false
82
+ */
83
+ readonly readOnly?: boolean;
84
+ /**
85
+ * Mark the native radio group as required for constraint validation.
86
+ *
87
+ * @default false
88
+ */
89
+ readonly required?: boolean;
90
+ /**
91
+ * Text direction used by horizontal arrow keys and exposed as `data-dir`.
92
+ *
93
+ * @default "ltr"
94
+ */
95
+ readonly dir?: RatingDirection;
96
+ /**
97
+ * Prefix for each generated radio's accessible name.
98
+ *
99
+ * @default "Rating"
100
+ */
101
+ readonly itemLabel?: string;
102
+ /**
103
+ * Accessible name when no visible label or `aria-labelledby` supplies one.
104
+ *
105
+ * @default undefined
106
+ */
107
+ readonly ariaLabel?: string;
108
+ /**
109
+ * Space-separated ids that label the rating group.
110
+ *
111
+ * @default undefined
112
+ */
113
+ readonly ariaLabelledby?: string;
114
+ /**
115
+ * Space-separated ids that describe the rating group.
116
+ *
117
+ * @default undefined
118
+ */
119
+ readonly ariaDescribedby?: string;
120
+ /**
121
+ * Id of the validation error message used while invalid.
122
+ *
123
+ * @default undefined
124
+ */
125
+ readonly ariaErrormessage?: string;
126
+ /**
127
+ * Invalid state announced to assistive technology.
128
+ *
129
+ * @default false
130
+ */
131
+ readonly ariaInvalid?: RatingAriaInvalid;
132
+ }
133
+ /** Emits published by the Rating component. */
134
+ interface RatingEmits {
135
+ /** Fired when the rating requests a new controlled value. */
136
+ "update:modelValue": [value: RatingValue];
137
+ /** Fired after user activation requests a distinct rating value. */
138
+ change: [value: RatingValue, previous: RatingValue, nativeEvent: Event];
139
+ /** Fired after user activation clears a previously selected rating. */
140
+ clear: [previous: number, nativeEvent: Event];
141
+ }
142
+ /** State exposed to the Rating default slot and component instance. */
143
+ interface RatingSlotState {
144
+ /** Current normalized rating value, or `null` when empty. */
145
+ readonly value: RatingValue;
146
+ /** Normalized lower bound. */
147
+ readonly min: number;
148
+ /** Normalized upper bound. */
149
+ readonly max: number;
150
+ /** Number of generated rating choices. */
151
+ readonly count: number;
152
+ /** Generated rating values in DOM order. */
153
+ readonly items: readonly number[];
154
+ /** Current selected progress from 0 to 100. */
155
+ readonly percent: number;
156
+ /** Text direction used by horizontal arrow keys. */
157
+ readonly direction: RatingDirection;
158
+ /** Whether user activation, focus, and form submission are disabled. */
159
+ readonly disabled: boolean;
160
+ /** Whether the rating is focusable but user changes are locked. */
161
+ readonly readOnly: boolean;
162
+ /** Whether native constraint validation marks the radio group required. */
163
+ readonly required: boolean;
164
+ /** Whether assistive technology should announce the rating as invalid. */
165
+ readonly invalid: boolean;
166
+ /** Whether user gestures may clear the current value. */
167
+ readonly clearable: boolean;
168
+ /** Stable state token for styling and tests. */
169
+ readonly state: RatingState;
170
+ }
171
+ /** State exposed to the Rating item slot. */
172
+ interface RatingItemSlotState extends Omit<RatingSlotState, "items" | "percent" | "state" | "value"> {
173
+ /** Item value submitted when this radio is selected. */
174
+ readonly value: number;
175
+ /** Zero-based item index in DOM order. */
176
+ readonly index: number;
177
+ /** Current group value, or `null` when no rating is selected. */
178
+ readonly currentValue: RatingValue;
179
+ /** Whether this item is the checked radio. */
180
+ readonly checked: boolean;
181
+ /** Whether this item is visually included in the current rating. */
182
+ readonly active: boolean;
183
+ /** Item progress from 0 to 100. */
184
+ readonly percent: number;
185
+ /** Stable item state token for styling and tests. */
186
+ readonly state: RatingItemState;
187
+ }
188
+ /** Slots accepted by the Rating component. */
189
+ interface RatingSlots {
190
+ /** Renders optional summary or output with the normalized Rating state. */
191
+ default(props: RatingSlotState): unknown;
192
+ /** Renders each generated rating indicator with item and group state. */
193
+ item(props: RatingItemSlotState): unknown;
194
+ }
195
+ /** Public component instance exposed by the Rating primitive. */
196
+ interface RatingExpose extends RatingSlotState {
197
+ /** Rendered root element that owns the data and CSS custom property contract. */
198
+ readonly root: HTMLSpanElement | null;
199
+ /** Rendered native radio inputs in DOM order. */
200
+ readonly elements: readonly HTMLInputElement[];
201
+ /** Move focus to the checked item, or to the first enabled item. */
202
+ readonly focus: (options?: FocusOptions) => void;
203
+ /** Request a rating update and report whether it differs. */
204
+ readonly setValue: (value: RatingValue) => boolean;
205
+ /** Clear the current rating and report whether it changed. */
206
+ readonly clear: () => boolean;
207
+ /** Restore the current default rating and report whether it changed. */
208
+ readonly reset: () => boolean;
209
+ }
210
+ //#endregion
211
+ //#region src/families/form/rating/rating.vue.d.ts
212
+ type __VLS_Props = {
213
+ /** Consumer-owned group id; nullish values use a deterministic fallback. @default undefined */readonly id?: string | null; /** Native radio field name submitted with the selected rating. @default undefined */
214
+ readonly name?: string; /** Controlled rating value; undefined selects uncontrolled behavior and null clears. @default undefined */
215
+ readonly modelValue?: RatingValue; /** Initial uncontrolled rating and native form-reset target. @default null */
216
+ readonly defaultValue?: RatingValue; /** Lowest generated rating value. @default 1 */
217
+ readonly min?: number; /** Highest generated rating value; when omitted, count derives it. @default undefined */
218
+ readonly max?: number; /** Number of generated rating choices when max is omitted. @default 5 */
219
+ readonly count?: number; /** Allow current-item activation, Escape, Delete, or Backspace to clear. @default false */
220
+ readonly clearable?: boolean; /** Disable native focus, activation, and form submission. @default false */
221
+ readonly disabled?: boolean; /** Keep focus and current submission while preventing user changes. @default false */
222
+ readonly readOnly?: boolean; /** Mark the generated native radio set as required. @default false */
223
+ readonly required?: boolean; /** Text direction for horizontal arrow keys and data attributes. @default "ltr" */
224
+ readonly dir?: RatingDirection; /** Prefix for each generated radio accessible name. @default "Rating" */
225
+ readonly itemLabel?: string; /** Accessible name when no visible label or aria-labelledby supplies one. @default undefined */
226
+ readonly ariaLabel?: string; /** Space-separated ids that label the rating group. @default undefined */
227
+ readonly ariaLabelledby?: string; /** Space-separated ids that describe the rating group. @default undefined */
228
+ readonly ariaDescribedby?: string; /** Id of the validation error message used while invalid. @default undefined */
229
+ readonly ariaErrormessage?: string; /** Invalid state announced to assistive technology. @default false */
230
+ readonly ariaInvalid?: RatingAriaInvalid;
231
+ };
232
+ type __VLS_Slots = {
233
+ /** Renders optional summary or output with the normalized Rating state. */default(props: RatingSlotState): unknown; /** Renders each generated rating indicator with item and group state. */
234
+ item(props: RatingItemSlotState): unknown;
235
+ };
236
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
237
+ clear: () => boolean;
238
+ clearable: import("vue").ComputedRef<boolean>;
239
+ count: import("vue").ComputedRef<number>;
240
+ direction: import("vue").ComputedRef<RatingDirection>;
241
+ disabled: import("vue").ComputedRef<boolean>;
242
+ elements: import("vue").ComputedRef<readonly HTMLInputElement[]>;
243
+ focus: (options?: FocusOptions) => void;
244
+ invalid: import("vue").ComputedRef<boolean>;
245
+ items: import("vue").ComputedRef<readonly number[]>;
246
+ max: import("vue").ComputedRef<number>;
247
+ min: import("vue").ComputedRef<number>;
248
+ percent: import("vue").ComputedRef<number>;
249
+ readOnly: import("vue").ComputedRef<boolean>;
250
+ required: import("vue").ComputedRef<boolean>;
251
+ reset: () => boolean;
252
+ root: Readonly<import("vue").ShallowRef<HTMLSpanElement | null>>;
253
+ setValue: (next: RatingValue) => boolean;
254
+ state: import("vue").ComputedRef<RatingState>;
255
+ value: import("vue").ComputedRef<RatingValue>;
256
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
257
+ clear: (previous: number, nativeEvent: Event) => any;
258
+ "update:modelValue": (value: RatingValue) => any;
259
+ change: (value: RatingValue, previous: RatingValue, nativeEvent: Event) => any;
260
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
261
+ onClear?: (previous: number, nativeEvent: Event) => any;
262
+ "onUpdate:modelValue"?: (value: RatingValue) => any;
263
+ onChange?: (value: RatingValue, previous: RatingValue, nativeEvent: Event) => any;
264
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
265
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
266
+ declare const _default: typeof __VLS_export;
267
+ type __VLS_WithSlots<T, S> = T & {
268
+ new (): {
269
+ $slots: S;
270
+ };
271
+ };
272
+ //#endregion
273
+ export { RatingExpose as a, RatingProps as c, RatingState as d, RatingStyle as f, RatingEmits as i, RatingSlotState as l, RatingAriaInvalid as n, RatingItemSlotState as o, RatingValue as p, RatingDirection as r, RatingItemState as s, _default as t, RatingSlots as u };
@@ -0,0 +1,2 @@
1
+ import { a as RatingExpose, c as RatingProps, d as RatingState, f as RatingStyle, i as RatingEmits, l as RatingSlotState, n as RatingAriaInvalid, o as RatingItemSlotState, p as RatingValue, r as RatingDirection, s as RatingItemState, t as _default, u as RatingSlots } from "./rating-souDdL9t.mjs";
2
+ export { _default as Rating, type RatingAriaInvalid, type RatingDirection, type RatingEmits, type RatingExpose, type RatingItemSlotState, type RatingItemState, type RatingProps, type RatingSlotState, type RatingSlots, type RatingState, type RatingStyle, type RatingValue };
@@ -0,0 +1,2 @@
1
+ import { t as rating_default } from "./rating-BjKLGPP6.mjs";
2
+ export { rating_default as Rating };
@@ -0,0 +1,338 @@
1
+ import './style.css';
2
+ import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-BOaGB7Aw.mjs";
3
+ import { computed, createBlock, createElementVNode, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, renderSlot, resolveDynamicComponent, useTemplateRef, withCtx } from "vue";
4
+ //#region src/families/layout/scroll-area/scroll-area-runtime.ts
5
+ const defaultSize = "auto";
6
+ const defaultMaxSize = "none";
7
+ /** Normalize one optional ARIA token or IDREF list without inventing ids. */
8
+ function normalizeScrollAreaAriaToken(value) {
9
+ const normalized = value?.trim().replaceAll(/\s+/g, " ");
10
+ return normalized === "" ? void 0 : normalized;
11
+ }
12
+ /** Resolve ScrollArea accessibility props into native viewport ARIA attributes. */
13
+ function resolveScrollAreaAria(options) {
14
+ return {
15
+ ariaDescribedby: normalizeScrollAreaAriaToken(options.ariaDescribedby),
16
+ ariaLabel: normalizeScrollAreaAriaToken(options.ariaLabel),
17
+ ariaLabelledby: normalizeScrollAreaAriaToken(options.ariaLabelledby)
18
+ };
19
+ }
20
+ /** Convert numeric CSS lengths to px while keeping authored strings intact. */
21
+ function normalizeScrollAreaLength(value, fallback) {
22
+ if (typeof value === "number") return Number.isFinite(value) ? `${value}px` : fallback;
23
+ return value === void 0 ? fallback : value;
24
+ }
25
+ /** Resolve the native overflow pair for one logical scroll orientation. */
26
+ function resolveScrollAreaOverflow(orientation) {
27
+ if (orientation === "horizontal") return {
28
+ overflowX: "auto",
29
+ overflowY: "hidden"
30
+ };
31
+ if (orientation === "both") return {
32
+ overflowX: "auto",
33
+ overflowY: "auto"
34
+ };
35
+ return {
36
+ overflowX: "hidden",
37
+ overflowY: "auto"
38
+ };
39
+ }
40
+ /** Resolve ScrollArea props into CSS custom properties and slot/expose state. */
41
+ function resolveScrollAreaLayout(options) {
42
+ const orientation = options.orientation ?? "vertical";
43
+ const { overflowX, overflowY } = resolveScrollAreaOverflow(orientation);
44
+ const blockSize = normalizeScrollAreaLength(options.blockSize, defaultSize);
45
+ const inlineSize = normalizeScrollAreaLength(options.inlineSize, defaultSize);
46
+ const maxBlockSize = normalizeScrollAreaLength(options.maxBlockSize, defaultMaxSize);
47
+ const maxInlineSize = normalizeScrollAreaLength(options.maxInlineSize, defaultMaxSize);
48
+ const overscrollBehavior = options.overscrollBehavior ?? "auto";
49
+ const scrollBehavior = options.scrollBehavior ?? "auto";
50
+ const scrollbarGutter = options.scrollbarGutter ?? "auto";
51
+ const scrollbarWidth = options.scrollbarWidth ?? "auto";
52
+ const style = {
53
+ "--vize-ui-scroll-area-block-size": blockSize,
54
+ "--vize-ui-scroll-area-inline-size": inlineSize,
55
+ "--vize-ui-scroll-area-max-block-size": maxBlockSize,
56
+ "--vize-ui-scroll-area-max-inline-size": maxInlineSize,
57
+ "--vize-ui-scroll-area-overscroll-behavior": overscrollBehavior,
58
+ "--vize-ui-scroll-area-overflow-x": overflowX,
59
+ "--vize-ui-scroll-area-overflow-y": overflowY,
60
+ "--vize-ui-scroll-area-scroll-behavior": scrollBehavior,
61
+ "--vize-ui-scroll-area-scrollbar-gutter": scrollbarGutter,
62
+ "--vize-ui-scroll-area-scrollbar-width": scrollbarWidth
63
+ };
64
+ return {
65
+ blockSize,
66
+ dir: options.dir ?? "ltr",
67
+ focusable: options.focusable === true,
68
+ inlineSize,
69
+ maxBlockSize,
70
+ maxInlineSize,
71
+ orientation,
72
+ overflowX,
73
+ overflowY,
74
+ overscrollBehavior,
75
+ scrollBehavior,
76
+ scrollbarGutter,
77
+ scrollbarWidth,
78
+ state: "scrollable",
79
+ style
80
+ };
81
+ }
82
+ //#endregion
83
+ //#region src/families/layout/scroll-area/scroll-area.vue?vue&type=script&setup=true&lang.ts
84
+ const _hoisted_1 = [
85
+ "dir",
86
+ "data-state",
87
+ "data-orientation",
88
+ "data-dir",
89
+ "data-focusable",
90
+ "data-overflow-x",
91
+ "data-overflow-y"
92
+ ];
93
+ //#endregion
94
+ //#region src/families/layout/scroll-area/scroll-area.vue
95
+ var scroll_area_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
96
+ __name: "scroll-area",
97
+ props: {
98
+ as: {
99
+ type: null,
100
+ required: false,
101
+ default: "div"
102
+ },
103
+ orientation: {
104
+ type: String,
105
+ required: false,
106
+ default: "vertical"
107
+ },
108
+ dir: {
109
+ type: String,
110
+ required: false,
111
+ default: "ltr"
112
+ },
113
+ focusable: {
114
+ type: Boolean,
115
+ required: false,
116
+ default: false
117
+ },
118
+ blockSize: {
119
+ type: [String, Number],
120
+ required: false,
121
+ default: "auto"
122
+ },
123
+ inlineSize: {
124
+ type: [String, Number],
125
+ required: false,
126
+ default: "auto"
127
+ },
128
+ maxBlockSize: {
129
+ type: [String, Number],
130
+ required: false,
131
+ default: () => void 0
132
+ },
133
+ maxInlineSize: {
134
+ type: [String, Number],
135
+ required: false,
136
+ default: () => void 0
137
+ },
138
+ overscrollBehavior: {
139
+ type: String,
140
+ required: false,
141
+ default: "auto"
142
+ },
143
+ scrollBehavior: {
144
+ type: String,
145
+ required: false,
146
+ default: "auto"
147
+ },
148
+ scrollbarGutter: {
149
+ type: String,
150
+ required: false,
151
+ default: "auto"
152
+ },
153
+ scrollbarWidth: {
154
+ type: String,
155
+ required: false,
156
+ default: "auto"
157
+ },
158
+ ariaLabel: {
159
+ type: String,
160
+ required: false,
161
+ default: () => void 0
162
+ },
163
+ ariaLabelledby: {
164
+ type: String,
165
+ required: false,
166
+ default: () => void 0
167
+ },
168
+ ariaDescribedby: {
169
+ type: String,
170
+ required: false,
171
+ default: () => void 0
172
+ }
173
+ },
174
+ emits: ["scroll"],
175
+ setup(__props, { expose: __expose, emit: __emit }) {
176
+ const emit = __emit;
177
+ const root = useTemplateRef("root");
178
+ const viewport = useTemplateRef("viewport");
179
+ const layout = computed(() => resolveScrollAreaLayout({
180
+ blockSize: __props.blockSize,
181
+ dir: __props.dir,
182
+ focusable: __props.focusable,
183
+ inlineSize: __props.inlineSize,
184
+ maxBlockSize: __props.maxBlockSize,
185
+ maxInlineSize: __props.maxInlineSize,
186
+ orientation: __props.orientation,
187
+ overscrollBehavior: __props.overscrollBehavior,
188
+ scrollBehavior: __props.scrollBehavior,
189
+ scrollbarGutter: __props.scrollbarGutter,
190
+ scrollbarWidth: __props.scrollbarWidth
191
+ }));
192
+ const ariaState = computed(() => resolveScrollAreaAria({
193
+ ariaDescribedby: __props.ariaDescribedby,
194
+ ariaLabel: __props.ariaLabel,
195
+ ariaLabelledby: __props.ariaLabelledby
196
+ }));
197
+ const asState = computed(() => __props.as);
198
+ const orientationState = computed(() => layout.value.orientation);
199
+ const directionState = computed(() => layout.value.dir);
200
+ const focusableState = computed(() => layout.value.focusable);
201
+ const blockSizeState = computed(() => layout.value.blockSize);
202
+ const inlineSizeState = computed(() => layout.value.inlineSize);
203
+ const maxBlockSizeState = computed(() => layout.value.maxBlockSize);
204
+ const maxInlineSizeState = computed(() => layout.value.maxInlineSize);
205
+ const overflowXState = computed(() => layout.value.overflowX);
206
+ const overflowYState = computed(() => layout.value.overflowY);
207
+ const overscrollBehaviorState = computed(() => layout.value.overscrollBehavior);
208
+ const scrollBehaviorState = computed(() => layout.value.scrollBehavior);
209
+ const scrollbarGutterState = computed(() => layout.value.scrollbarGutter);
210
+ const scrollbarWidthState = computed(() => layout.value.scrollbarWidth);
211
+ const scrollAreaState = computed(() => layout.value.state);
212
+ const scrollAreaStyle = computed(() => layout.value.style);
213
+ const ariaLabelState = computed(() => ariaState.value.ariaLabel);
214
+ const ariaLabelledbyState = computed(() => ariaState.value.ariaLabelledby);
215
+ const ariaDescribedbyState = computed(() => ariaState.value.ariaDescribedby);
216
+ const labelled = computed(() => ariaLabelState.value !== void 0 || ariaLabelledbyState.value !== void 0);
217
+ const described = computed(() => ariaDescribedbyState.value !== void 0);
218
+ const viewportAriaAttributes = computed(() => {
219
+ const attributes = {};
220
+ if (ariaDescribedbyState.value !== void 0) attributes["aria-describedby"] = ariaDescribedbyState.value;
221
+ if (ariaLabelState.value !== void 0) attributes["aria-label"] = ariaLabelState.value;
222
+ if (ariaLabelledbyState.value !== void 0) attributes["aria-labelledby"] = ariaLabelledbyState.value;
223
+ if (labelled.value) attributes.role = "region";
224
+ if (focusableState.value) attributes.tabindex = 0;
225
+ return attributes;
226
+ });
227
+ const rootIntrinsicProps = computed(() => ({ style: scrollAreaStyle.value }));
228
+ const slotState = computed(() => ({
229
+ ariaDescribedby: ariaDescribedbyState.value,
230
+ ariaLabel: ariaLabelState.value,
231
+ ariaLabelledby: ariaLabelledbyState.value,
232
+ as: asState.value,
233
+ blockSize: blockSizeState.value,
234
+ described: described.value,
235
+ dir: directionState.value,
236
+ focusable: focusableState.value,
237
+ inlineSize: inlineSizeState.value,
238
+ labelled: labelled.value,
239
+ maxBlockSize: maxBlockSizeState.value,
240
+ maxInlineSize: maxInlineSizeState.value,
241
+ orientation: orientationState.value,
242
+ overflowX: overflowXState.value,
243
+ overflowY: overflowYState.value,
244
+ overscrollBehavior: overscrollBehaviorState.value,
245
+ scrollBehavior: scrollBehaviorState.value,
246
+ scrollbarGutter: scrollbarGutterState.value,
247
+ scrollbarWidth: scrollbarWidthState.value,
248
+ state: scrollAreaState.value,
249
+ style: scrollAreaStyle.value
250
+ }));
251
+ function onScroll(event) {
252
+ emit("scroll", event);
253
+ }
254
+ function focus(options) {
255
+ viewport.value?.focus(options);
256
+ }
257
+ function scrollTo(options = {}) {
258
+ viewport.value?.scrollTo(options);
259
+ }
260
+ function scrollBy(options = {}) {
261
+ viewport.value?.scrollBy(options);
262
+ }
263
+ __expose({
264
+ ariaDescribedby: ariaDescribedbyState,
265
+ ariaLabel: ariaLabelState,
266
+ ariaLabelledby: ariaLabelledbyState,
267
+ as: asState,
268
+ blockSize: blockSizeState,
269
+ described,
270
+ dir: directionState,
271
+ focus,
272
+ focusable: focusableState,
273
+ inlineSize: inlineSizeState,
274
+ labelled,
275
+ maxBlockSize: maxBlockSizeState,
276
+ maxInlineSize: maxInlineSizeState,
277
+ orientation: orientationState,
278
+ overflowX: overflowXState,
279
+ overflowY: overflowYState,
280
+ overscrollBehavior: overscrollBehaviorState,
281
+ root,
282
+ scrollBehavior: scrollBehaviorState,
283
+ scrollBy,
284
+ scrollbarGutter: scrollbarGutterState,
285
+ scrollbarWidth: scrollbarWidthState,
286
+ scrollTo,
287
+ state: scrollAreaState,
288
+ style: scrollAreaStyle,
289
+ viewport
290
+ });
291
+ return (_ctx, _cache) => {
292
+ return openBlock(), createBlock(resolveDynamicComponent(asState.value), mergeProps({
293
+ ref_key: "root",
294
+ ref: root,
295
+ dir: directionState.value,
296
+ part: "root",
297
+ "data-vize-ui": "scroll-area",
298
+ "data-state": scrollAreaState.value,
299
+ "data-orientation": orientationState.value,
300
+ "data-dir": directionState.value,
301
+ "data-focusable": focusableState.value ? "true" : "false",
302
+ "data-overscroll-behavior": overscrollBehaviorState.value,
303
+ "data-scroll-behavior": scrollBehaviorState.value,
304
+ "data-scrollbar-gutter": scrollbarGutterState.value,
305
+ "data-scrollbar-width": scrollbarWidthState.value
306
+ }, rootIntrinsicProps.value), {
307
+ default: withCtx(() => [createElementVNode("div", mergeProps({
308
+ ref_key: "viewport",
309
+ ref: viewport
310
+ }, viewportAriaAttributes.value, {
311
+ dir: directionState.value,
312
+ part: "viewport",
313
+ "data-vize-ui": "scroll-area-viewport",
314
+ "data-state": scrollAreaState.value,
315
+ "data-orientation": orientationState.value,
316
+ "data-dir": directionState.value,
317
+ "data-focusable": focusableState.value ? "true" : "false",
318
+ "data-overflow-x": overflowXState.value,
319
+ "data-overflow-y": overflowYState.value,
320
+ onScroll
321
+ }), [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotState.value)), void 0, true)], 16, _hoisted_1)]),
322
+ _: 3
323
+ }, 16, [
324
+ "dir",
325
+ "data-state",
326
+ "data-orientation",
327
+ "data-dir",
328
+ "data-focusable",
329
+ "data-overscroll-behavior",
330
+ "data-scroll-behavior",
331
+ "data-scrollbar-gutter",
332
+ "data-scrollbar-width"
333
+ ]);
334
+ };
335
+ }
336
+ }), [["__scopeId", "data-v-dbb63f3e"]]);
337
+ //#endregion
338
+ export { scroll_area_default as t };
@@ -0,0 +1,2 @@
1
+ import { Br as ScrollAreaOverscrollBehavior, Fr as ScrollAreaEmits, Gr as ScrollAreaScrollBehavior, Hr as ScrollAreaResolvedLayout, Ir as ScrollAreaExpose, Jr as ScrollAreaSlotState, Kr as ScrollAreaScrollbarGutter, Lr as ScrollAreaLength, Mr as ScrollAreaAriaState, Nr as ScrollAreaAs, Pr as ScrollAreaDirection, Rr as ScrollAreaOrientation, Ur as ScrollAreaResolvedLength, Vr as ScrollAreaProps, Wr as ScrollAreaRootElement, Xr as ScrollAreaStyle, Yr as ScrollAreaState, jr as _default, qr as ScrollAreaScrollbarWidth, zr as ScrollAreaOverflow } from "./announcer-DGr2Iz0i.mjs";
2
+ export { _default as ScrollArea, type ScrollAreaAriaState, type ScrollAreaAs, type ScrollAreaDirection, type ScrollAreaEmits, type ScrollAreaExpose, type ScrollAreaLength, type ScrollAreaOrientation, type ScrollAreaOverflow, type ScrollAreaOverscrollBehavior, type ScrollAreaProps, type ScrollAreaResolvedLayout, type ScrollAreaResolvedLength, type ScrollAreaRootElement, type ScrollAreaScrollBehavior, type ScrollAreaScrollbarGutter, type ScrollAreaScrollbarWidth, type ScrollAreaSlotState, type ScrollAreaState, type ScrollAreaStyle };
@@ -0,0 +1,2 @@
1
+ import { t as scroll_area_default } from "./scroll-area-BRSwoi9w.mjs";
2
+ export { scroll_area_default as ScrollArea };
@@ -1,5 +1,5 @@
1
1
  import { getCurrentInstance, getCurrentScope, onMounted, onScopeDispose, shallowReadonly, shallowRef, toValue, watch } from "vue";
2
- //#region src/scroll-lock-internal.ts
2
+ //#region src/families/accessibility/scroll-lock/scroll-lock-internal.ts
3
3
  const optionDiagnostic = "VIZE_UI_SCROLL_LOCK_OPTION";
4
4
  function readDocument(source) {
5
5
  const value = toValue(source);
@@ -28,7 +28,7 @@ function validateScrollLockOptions(options) {
28
28
  readStrategy(options.strategy);
29
29
  }
30
30
  //#endregion
31
- //#region src/scroll-lock-dom.ts
31
+ //#region src/families/accessibility/scroll-lock/scroll-lock-dom.ts
32
32
  const rootProperties = [
33
33
  "--vize-scroll-lock-scrollbar-gap",
34
34
  "overflow",
@@ -125,7 +125,7 @@ function restoreDocumentScroll(snapshot) {
125
125
  } catch {}
126
126
  }
127
127
  //#endregion
128
- //#region src/scroll-lock-stack.ts
128
+ //#region src/families/accessibility/scroll-lock/scroll-lock-stack.ts
129
129
  const states = /* @__PURE__ */ new WeakMap();
130
130
  function stateFor(document) {
131
131
  let state = states.get(document);
@@ -212,7 +212,7 @@ function refreshScrollLock(token) {
212
212
  if (token.document) recomputeScrollLock(stateFor(token.document));
213
213
  }
214
214
  //#endregion
215
- //#region src/scroll-lock.ts
215
+ //#region src/families/accessibility/scroll-lock/scroll-lock.ts
216
216
  const disposedDiagnostic = "VIZE_UI_SCROLL_LOCK_DISPOSED";
217
217
  const setupDiagnostic = "VIZE_UI_SCROLL_LOCK_SETUP";
218
218
  /** Lock a reactive document viewport without suppressing browser zoom gestures. */
@@ -1,6 +1,6 @@
1
1
  import { MaybeRefOrGetter, ShallowRef } from "vue";
2
2
 
3
- //#region src/scroll-lock-types.d.ts
3
+ //#region src/families/accessibility/scroll-lock/scroll-lock-types.d.ts
4
4
  /** Viewport-locking strategy selected for a document. */
5
5
  type ScrollLockStrategy = "auto" | "fixed" | "overflow";
6
6
  /** Reactive configuration for one document scroll-lock owner. */
@@ -40,7 +40,7 @@ interface ScrollLockController {
40
40
  readonly dispose: () => void;
41
41
  }
42
42
  //#endregion
43
- //#region src/scroll-lock.d.ts
43
+ //#region src/families/accessibility/scroll-lock/scroll-lock.d.ts
44
44
  /** Lock a reactive document viewport without suppressing browser zoom gestures. */
45
45
  declare function createScrollLock(options: ScrollLockOptions): ScrollLockController;
46
46
  /** Create, mount-activate, and scope-dispose a document scroll lock. */
@@ -1,2 +1,2 @@
1
- import { a as ScrollLockStrategy, i as ScrollLockOptions, n as useScrollLock, r as ScrollLockController, t as createScrollLock } from "./scroll-lock-BgVtX4wT.mjs";
1
+ import { a as ScrollLockStrategy, i as ScrollLockOptions, n as useScrollLock, r as ScrollLockController, t as createScrollLock } from "./scroll-lock-OfSQnfi0.mjs";
2
2
  export { type ScrollLockController, type ScrollLockOptions, type ScrollLockStrategy, createScrollLock, useScrollLock };