@vizejs/ui 0.386.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,912 @@
1
+ import { a as useDeterministicId, i as toDeterministicId, n as deriveDeterministicId } from "./deterministic-id-yMq4HfmS.mjs";
2
+ import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-BOaGB7Aw.mjs";
3
+ import { createContext } from "./context.mjs";
4
+ import { t as createCollectionRegistry } from "./collection-Cncgrq4U.mjs";
5
+ import { n as useCompositeNavigation } from "./composite-navigation-D6WKS_BY.mjs";
6
+ import { useControllableState } from "./controllable-state.mjs";
7
+ import { computed, createElementBlock, defineComponent, guardReactiveProps, nextTick, normalizeProps, onUnmounted, openBlock, renderSlot, shallowRef, unref, useTemplateRef, watch } from "vue";
8
+ //#region src/families/navigation/stepper/stepper-context.ts
9
+ const stepperContext = createContext("Stepper");
10
+ const stepperItemContext = createContext("StepperItem");
11
+ //#endregion
12
+ //#region src/families/navigation/stepper/stepper-navigation.ts
13
+ /** Return a stable visual state for one Stepper item. */
14
+ function getStepperItemState(options) {
15
+ if (options.disabled) return "disabled";
16
+ if (options.current) return "current";
17
+ if (options.completed) return "completed";
18
+ return "pending";
19
+ }
20
+ /** Return whether linear Stepper rules allow activating a target value. */
21
+ function stepperLinearAllows(items, selected, value) {
22
+ const enabledItems = items.filter((item) => !item.disabled);
23
+ const targetIndex = enabledItems.findIndex((item) => item.key === value);
24
+ if (targetIndex < 0) return false;
25
+ const selectedIndex = selected === null ? -1 : enabledItems.findIndex((item) => item.key === selected);
26
+ if (selectedIndex >= 0 && targetIndex <= selectedIndex) return true;
27
+ return enabledItems.slice(0, targetIndex).every((item) => item.value.completed.value);
28
+ }
29
+ /** Return whether a Stepper value can be selected under the current root state. */
30
+ function isStepperSelectable(options) {
31
+ if (options.disabled || options.item === void 0 || options.item.disabled) return false;
32
+ if (options.selected === options.value) return true;
33
+ return options.navigationMode === "free" || stepperLinearAllows(options.items, options.selected, options.value);
34
+ }
35
+ /** Return the next or previous enabled Stepper value from a current value. */
36
+ function getRelativeStepperValue(items, selected, direction) {
37
+ if (items.length === 0) return null;
38
+ const selectedIndex = selected === null ? -1 : items.findIndex((item) => item.key === selected);
39
+ return items[direction === "next" ? selectedIndex < 0 ? 0 : selectedIndex + 1 : selectedIndex < 0 ? items.length - 1 : selectedIndex - 1]?.key ?? null;
40
+ }
41
+ //#endregion
42
+ //#region src/families/navigation/stepper/stepper-value.ts
43
+ const safeSegment = /^[A-Za-z0-9][A-Za-z0-9_-]*$/;
44
+ /** Return whether two public Stepper values represent the same current step. */
45
+ function stepperValueEquals(left, right) {
46
+ return Object.is(left, right);
47
+ }
48
+ /** Create a deterministic, DOM-id-safe segment for an arbitrary step value. */
49
+ function getStepperValueIdSegment(value) {
50
+ if (safeSegment.test(value)) return `value-${value}`;
51
+ return `value-${value.replaceAll(/[^A-Za-z0-9_-]+/g, "-").replaceAll(/^-+|-+$/g, "").slice(0, 32) || "empty"}-${hashStepperValue(value)}`;
52
+ }
53
+ function hashStepperValue(value) {
54
+ let hash = 2166136261;
55
+ for (let index = 0; index < value.length; index++) {
56
+ hash ^= value.charCodeAt(index);
57
+ hash = Math.imul(hash, 16777619) >>> 0;
58
+ }
59
+ return hash.toString(36);
60
+ }
61
+ //#endregion
62
+ //#region src/families/navigation/stepper/stepper-root.vue?vue&type=script&setup=true&lang.ts
63
+ const _hoisted_1$4 = [
64
+ "id",
65
+ "dir",
66
+ "data-state",
67
+ "data-disabled",
68
+ "data-orientation",
69
+ "data-navigation-mode",
70
+ "data-linear",
71
+ "data-dir",
72
+ "data-value",
73
+ "data-current-index",
74
+ "data-completed-count"
75
+ ];
76
+ //#endregion
77
+ //#region src/families/navigation/stepper/stepper-root.vue
78
+ var stepper_root_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
79
+ __name: "stepper-root",
80
+ props: {
81
+ id: {
82
+ type: [String, null],
83
+ required: false,
84
+ default: () => void 0
85
+ },
86
+ modelValue: {
87
+ type: [String, null],
88
+ required: false,
89
+ default: () => void 0
90
+ },
91
+ defaultValue: {
92
+ type: [String, null],
93
+ required: false,
94
+ default: () => void 0
95
+ },
96
+ disabled: {
97
+ type: Boolean,
98
+ required: false,
99
+ default: false
100
+ },
101
+ navigationMode: {
102
+ type: String,
103
+ required: false,
104
+ default: "linear"
105
+ },
106
+ orientation: {
107
+ type: String,
108
+ required: false,
109
+ default: "horizontal"
110
+ },
111
+ dir: {
112
+ type: String,
113
+ required: false,
114
+ default: "ltr"
115
+ },
116
+ loop: {
117
+ type: Boolean,
118
+ required: false,
119
+ default: false
120
+ }
121
+ },
122
+ emits: ["update:modelValue", "change"],
123
+ setup(__props, { expose: __expose, emit: __emit }) {
124
+ const emit = __emit;
125
+ const element = useTemplateRef("element");
126
+ const baseId = useDeterministicId({
127
+ id: () => __props.id,
128
+ hint: "stepper"
129
+ });
130
+ const listId = computed(() => deriveDeterministicId(baseId.value, "list"));
131
+ const disabledState = computed(() => __props.disabled);
132
+ const navigationModeState = computed(() => __props.navigationMode);
133
+ const orientationState = computed(() => __props.orientation);
134
+ const dirState = computed(() => __props.dir);
135
+ const registry = createCollectionRegistry({ disabledBehavior: "skip" });
136
+ const firstEnabledValue = computed(() => registry.navigableItems.value[0]?.key ?? null);
137
+ const valueState = useControllableState({
138
+ value: () => __props.modelValue,
139
+ defaultValue: () => __props.defaultValue,
140
+ equals: Object.is
141
+ });
142
+ const currentValue = computed(() => {
143
+ const configured = valueState.value.value;
144
+ if (valueState.controlled.value) return configured ?? null;
145
+ return configured === void 0 ? firstEnabledValue.value : configured;
146
+ });
147
+ const completedValues = computed(() => Object.freeze(registry.items.value.filter((item) => item.value.completed.value).map((item) => item.key)));
148
+ const completedCount = computed(() => completedValues.value.length);
149
+ const currentIndex = computed(() => {
150
+ const value = getCurrentValue();
151
+ return value === null ? -1 : registry.items.value.findIndex((item) => item.key === value);
152
+ });
153
+ const state = computed(() => {
154
+ if (disabledState.value) return "disabled";
155
+ return currentValue.value === null ? "empty" : "active";
156
+ });
157
+ const slotState = computed(() => ({
158
+ completedValues: completedValues.value,
159
+ currentIndex: currentIndex.value,
160
+ dir: dirState.value,
161
+ disabled: disabledState.value,
162
+ navigationMode: navigationModeState.value,
163
+ orientation: orientationState.value,
164
+ state: state.value,
165
+ value: currentValue.value
166
+ }));
167
+ function getItemId(value) {
168
+ return deriveDeterministicId(baseId.value, `item-${getStepperValueIdSegment(value)}`);
169
+ }
170
+ function getTriggerId(value) {
171
+ return deriveDeterministicId(baseId.value, `trigger-${getStepperValueIdSegment(value)}`);
172
+ }
173
+ function getContentId(value) {
174
+ return deriveDeterministicId(baseId.value, `content-${getStepperValueIdSegment(value)}`);
175
+ }
176
+ function getCurrentValue() {
177
+ return currentValue.value;
178
+ }
179
+ function isCurrent(value) {
180
+ return getCurrentValue() === value;
181
+ }
182
+ function isCompleted(value) {
183
+ return registry.getItem(value)?.value.completed.value === true;
184
+ }
185
+ function isStepDisabled(value) {
186
+ return disabledState.value || registry.getItem(value)?.disabled === true;
187
+ }
188
+ function getItemIndex(value) {
189
+ return registry.items.value.findIndex((item) => item.key === value);
190
+ }
191
+ function getItemState(value) {
192
+ return getStepperItemState({
193
+ completed: isCompleted(value),
194
+ current: isCurrent(value),
195
+ disabled: isStepDisabled(value)
196
+ });
197
+ }
198
+ function isSelectable(value) {
199
+ return isStepperSelectable({
200
+ disabled: disabledState.value,
201
+ item: registry.getItem(value),
202
+ items: registry.items.value,
203
+ navigationMode: navigationModeState.value,
204
+ selected: getCurrentValue(),
205
+ value
206
+ });
207
+ }
208
+ function commitValue(value, nativeEvent) {
209
+ const previous = getCurrentValue();
210
+ if (stepperValueEquals(previous, value)) return false;
211
+ valueState.set(value);
212
+ if (value !== null && registry.getItem(value)?.disabled === false) registry.setActiveKey(value);
213
+ emit("update:modelValue", value);
214
+ emit("change", value, previous, nativeEvent);
215
+ return true;
216
+ }
217
+ function setValue(value, nativeEvent = null) {
218
+ if (value !== null && !isSelectable(value)) return false;
219
+ return commitValue(value, nativeEvent);
220
+ }
221
+ function selectValue(value, nativeEvent = null) {
222
+ return setValue(value, nativeEvent);
223
+ }
224
+ function selectRelative(direction, nativeEvent) {
225
+ const target = getRelativeStepperValue(registry.navigableItems.value, getCurrentValue(), direction);
226
+ return target === null ? false : setValue(target, nativeEvent);
227
+ }
228
+ function next(nativeEvent = null) {
229
+ return selectRelative("next", nativeEvent);
230
+ }
231
+ function previous(nativeEvent = null) {
232
+ return selectRelative("previous", nativeEvent);
233
+ }
234
+ function reset() {
235
+ return commitValue(__props.defaultValue === void 0 ? firstEnabledValue.value : __props.defaultValue, null);
236
+ }
237
+ function syncActiveValue() {
238
+ if (disabledState.value) {
239
+ if (registry.activeKey.value !== null) registry.setActiveKey(null);
240
+ return;
241
+ }
242
+ const selected = getCurrentValue();
243
+ const selectedItem = selected === null ? void 0 : registry.getItem(selected);
244
+ const target = selectedItem !== void 0 && !selectedItem.disabled ? selected : firstEnabledValue.value;
245
+ if (target !== registry.activeKey.value) registry.setActiveKey(target);
246
+ }
247
+ function focus(options) {
248
+ syncActiveValue();
249
+ const target = registry.activeKey.value ?? firstEnabledValue.value;
250
+ if (target !== null) focusValue(target, options);
251
+ }
252
+ function focusValue(value, options) {
253
+ if (disabledState.value) return false;
254
+ const item = registry.getItem(value);
255
+ if (item === void 0 || item.disabled || !(item.element instanceof HTMLElement)) return false;
256
+ registry.setActiveKey(value);
257
+ item.element.focus(options);
258
+ return true;
259
+ }
260
+ function registerItem(input) {
261
+ const registration = registry.register({
262
+ key: input.value,
263
+ value: {
264
+ completed: input.completed,
265
+ contentId: input.contentId,
266
+ id: input.id,
267
+ triggerId: input.triggerId
268
+ },
269
+ element: input.element,
270
+ disabled: input.disabled,
271
+ textValue: input.textValue,
272
+ order: input.order
273
+ });
274
+ syncActiveValue();
275
+ nextTick(syncActiveValue);
276
+ return registration;
277
+ }
278
+ const navigation = useCompositeNavigation({
279
+ registry,
280
+ focusStrategy: "roving",
281
+ getItemId: ({ key }) => getTriggerId(key),
282
+ orientation: orientationState,
283
+ direction: dirState,
284
+ loop: () => __props.loop,
285
+ isDisabled: disabledState
286
+ });
287
+ watch([
288
+ disabledState,
289
+ currentValue,
290
+ registry.navigableItems
291
+ ], () => syncActiveValue(), {
292
+ flush: "post",
293
+ immediate: true
294
+ });
295
+ watch(registry.items, (items, previousItems) => {
296
+ const selected = getCurrentValue();
297
+ if (valueState.controlled.value || selected === null) return;
298
+ const hadSelected = previousItems.some((item) => item.key === selected);
299
+ const hasSelected = items.some((item) => item.key === selected);
300
+ if (hadSelected && !hasSelected) setValue(firstEnabledValue.value, null);
301
+ }, { flush: "post" });
302
+ stepperContext.provide({
303
+ completedValues,
304
+ currentIndex,
305
+ dir: dirState,
306
+ disabled: disabledState,
307
+ focus,
308
+ focusValue,
309
+ getContentId,
310
+ getItemId,
311
+ getItemIndex,
312
+ getItemState,
313
+ getTriggerId,
314
+ id: baseId,
315
+ isCompleted,
316
+ isCurrent,
317
+ isSelectable,
318
+ isStepDisabled,
319
+ listId,
320
+ navigation,
321
+ navigationMode: navigationModeState,
322
+ orientation: orientationState,
323
+ registerItem,
324
+ registry,
325
+ selectValue,
326
+ setValue,
327
+ state,
328
+ syncActiveValue,
329
+ value: currentValue
330
+ });
331
+ __expose({
332
+ completedValues,
333
+ currentIndex,
334
+ dir: dirState,
335
+ disabled: disabledState,
336
+ element,
337
+ focus,
338
+ id: baseId,
339
+ isSelectable,
340
+ listId,
341
+ navigationMode: navigationModeState,
342
+ next,
343
+ orientation: orientationState,
344
+ previous,
345
+ reset,
346
+ selectValue,
347
+ setValue,
348
+ state,
349
+ value: currentValue
350
+ });
351
+ return (_ctx, _cache) => {
352
+ return openBlock(), createElementBlock("div", {
353
+ id: unref(baseId),
354
+ ref_key: "element",
355
+ ref: element,
356
+ dir: dirState.value,
357
+ "data-vize-ui": "stepper-root",
358
+ part: "root",
359
+ "data-state": state.value,
360
+ "data-disabled": disabledState.value ? "true" : void 0,
361
+ "data-orientation": orientationState.value,
362
+ "data-navigation-mode": navigationModeState.value,
363
+ "data-linear": navigationModeState.value === "linear" ? "true" : void 0,
364
+ "data-dir": dirState.value,
365
+ "data-value": currentValue.value ?? void 0,
366
+ "data-current-index": currentIndex.value,
367
+ "data-completed-count": completedCount.value
368
+ }, [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotState.value)), void 0, true)], 8, _hoisted_1$4);
369
+ };
370
+ }
371
+ }), [["__scopeId", "data-v-ab7c5bb6"]]);
372
+ //#endregion
373
+ //#region src/families/navigation/stepper/stepper-content.vue?vue&type=script&setup=true&lang.ts
374
+ const _hoisted_1$3 = [
375
+ "id",
376
+ "role",
377
+ "hidden",
378
+ "tabindex",
379
+ "aria-label",
380
+ "aria-labelledby",
381
+ "aria-describedby",
382
+ "data-state",
383
+ "data-value",
384
+ "data-current",
385
+ "data-completed",
386
+ "data-disabled",
387
+ "data-orientation"
388
+ ];
389
+ //#endregion
390
+ //#region src/families/navigation/stepper/stepper-content.vue
391
+ var stepper_content_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
392
+ __name: "stepper-content",
393
+ props: {
394
+ value: {
395
+ type: String,
396
+ required: true
397
+ },
398
+ role: {
399
+ type: [String, null],
400
+ required: false,
401
+ default: "region"
402
+ },
403
+ ariaLabel: {
404
+ type: String,
405
+ required: false,
406
+ default: () => void 0
407
+ },
408
+ ariaLabelledby: {
409
+ type: [String, null],
410
+ required: false,
411
+ default: () => void 0
412
+ },
413
+ ariaDescribedby: {
414
+ type: String,
415
+ required: false,
416
+ default: () => void 0
417
+ }
418
+ },
419
+ setup(__props, { expose: __expose }) {
420
+ const context = stepperContext.use();
421
+ const element = useTemplateRef("element");
422
+ const contentId = computed(() => context.getContentId(__props.value));
423
+ const triggerId = computed(() => context.getTriggerId(__props.value));
424
+ const current = computed(() => context.isCurrent(__props.value));
425
+ const completed = computed(() => context.isCompleted(__props.value));
426
+ const disabled = computed(() => context.isStepDisabled(__props.value));
427
+ const contentState = computed(() => current.value ? "active" : "inactive");
428
+ const roleValue = computed(() => __props.role ?? void 0);
429
+ const labelledBy = computed(() => {
430
+ if (roleValue.value === void 0 || __props.ariaLabel !== void 0) return void 0;
431
+ return __props.ariaLabelledby ?? triggerId.value;
432
+ });
433
+ const slotState = computed(() => ({
434
+ active: current.value,
435
+ completed: completed.value,
436
+ current: current.value,
437
+ disabled: disabled.value,
438
+ orientation: context.orientation.value,
439
+ state: contentState.value,
440
+ value: __props.value
441
+ }));
442
+ function focusContent(options) {
443
+ if (current.value) element.value?.focus(options);
444
+ }
445
+ __expose({
446
+ active: current,
447
+ completed,
448
+ current,
449
+ disabled,
450
+ element,
451
+ focusContent,
452
+ id: contentId,
453
+ orientation: context.orientation,
454
+ state: contentState,
455
+ triggerId,
456
+ value: __props.value
457
+ });
458
+ return (_ctx, _cache) => {
459
+ return openBlock(), createElementBlock("div", {
460
+ id: contentId.value,
461
+ ref_key: "element",
462
+ ref: element,
463
+ role: roleValue.value,
464
+ hidden: current.value ? void 0 : true,
465
+ tabindex: current.value ? 0 : void 0,
466
+ "aria-label": roleValue.value === void 0 ? void 0 : __props.ariaLabel,
467
+ "aria-labelledby": labelledBy.value,
468
+ "aria-describedby": roleValue.value === void 0 ? void 0 : __props.ariaDescribedby,
469
+ "data-vize-ui": "stepper-content",
470
+ part: "content",
471
+ "data-state": contentState.value,
472
+ "data-value": __props.value,
473
+ "data-current": current.value ? "true" : void 0,
474
+ "data-completed": completed.value ? "true" : void 0,
475
+ "data-disabled": disabled.value ? "true" : void 0,
476
+ "data-orientation": unref(context).orientation.value
477
+ }, [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotState.value)), void 0, true)], 8, _hoisted_1$3);
478
+ };
479
+ }
480
+ }), [["__scopeId", "data-v-388c2ad0"]]);
481
+ //#endregion
482
+ //#region src/families/navigation/stepper/stepper-item.vue?vue&type=script&setup=true&lang.ts
483
+ const _hoisted_1$2 = [
484
+ "id",
485
+ "aria-label",
486
+ "aria-labelledby",
487
+ "aria-describedby",
488
+ "data-state",
489
+ "data-value",
490
+ "data-index",
491
+ "data-current",
492
+ "data-completed",
493
+ "data-disabled",
494
+ "data-selectable",
495
+ "data-locked",
496
+ "data-orientation",
497
+ "data-navigation-mode"
498
+ ];
499
+ //#endregion
500
+ //#region src/families/navigation/stepper/stepper-item.vue
501
+ var stepper_item_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
502
+ __name: "stepper-item",
503
+ props: {
504
+ id: {
505
+ type: [String, null],
506
+ required: false,
507
+ default: () => void 0
508
+ },
509
+ value: {
510
+ type: String,
511
+ required: true
512
+ },
513
+ completed: {
514
+ type: Boolean,
515
+ required: false,
516
+ default: false
517
+ },
518
+ disabled: {
519
+ type: Boolean,
520
+ required: false,
521
+ default: false
522
+ },
523
+ textValue: {
524
+ type: [String, null],
525
+ required: false,
526
+ default: () => void 0
527
+ },
528
+ order: {
529
+ type: Number,
530
+ required: false,
531
+ default: () => void 0
532
+ },
533
+ ariaLabel: {
534
+ type: String,
535
+ required: false,
536
+ default: () => void 0
537
+ },
538
+ ariaLabelledby: {
539
+ type: String,
540
+ required: false,
541
+ default: () => void 0
542
+ },
543
+ ariaDescribedby: {
544
+ type: String,
545
+ required: false,
546
+ default: () => void 0
547
+ }
548
+ },
549
+ setup(__props, { expose: __expose }) {
550
+ const context = stepperContext.use();
551
+ const element = useTemplateRef("element");
552
+ const triggerElement = shallowRef(null);
553
+ const itemValue = computed(() => __props.value);
554
+ const generatedItemId = computed(() => context.getItemId(__props.value));
555
+ const itemId = computed(() => __props.id === null || __props.id === void 0 ? generatedItemId.value : toDeterministicId(__props.id));
556
+ const triggerId = computed(() => context.getTriggerId(__props.value));
557
+ const contentId = computed(() => context.getContentId(__props.value));
558
+ const completedState = computed(() => __props.completed);
559
+ const itemDisabled = computed(() => context.disabled.value || __props.disabled);
560
+ const current = computed(() => context.isCurrent(__props.value));
561
+ const selectable = computed(() => context.isSelectable(__props.value));
562
+ const locked = computed(() => !itemDisabled.value && !selectable.value);
563
+ const itemState = computed(() => context.getItemState(__props.value));
564
+ const itemIndex = computed(() => context.getItemIndex(__props.value));
565
+ const slotState = computed(() => ({
566
+ completed: completedState.value,
567
+ current: current.value,
568
+ disabled: itemDisabled.value,
569
+ index: itemIndex.value,
570
+ locked: locked.value,
571
+ navigationMode: context.navigationMode.value,
572
+ orientation: context.orientation.value,
573
+ selectable: selectable.value,
574
+ state: itemState.value,
575
+ value: __props.value
576
+ }));
577
+ let registration = null;
578
+ function register() {
579
+ registration?.unregister();
580
+ registration = context.registerItem({
581
+ completed: completedState,
582
+ contentId,
583
+ disabled: itemDisabled,
584
+ element: triggerElement,
585
+ id: itemId,
586
+ order: () => __props.order,
587
+ textValue: () => __props.textValue,
588
+ triggerId,
589
+ value: __props.value
590
+ });
591
+ }
592
+ watch(() => __props.value, register, {
593
+ flush: "sync",
594
+ immediate: true
595
+ });
596
+ watch([
597
+ itemDisabled,
598
+ completedState,
599
+ () => __props.order
600
+ ], () => context.syncActiveValue(), { flush: "post" });
601
+ onUnmounted(() => {
602
+ registration?.unregister();
603
+ registration = null;
604
+ nextTick(context.syncActiveValue);
605
+ });
606
+ function setTriggerElement(nextElement) {
607
+ triggerElement.value = nextElement;
608
+ }
609
+ function focus(options) {
610
+ return context.focusValue(__props.value, options);
611
+ }
612
+ function select(nativeEvent = null) {
613
+ return context.selectValue(__props.value, nativeEvent);
614
+ }
615
+ const itemContext = stepperItemContext.provide({
616
+ completed: completedState,
617
+ contentId,
618
+ current,
619
+ disabled: itemDisabled,
620
+ focus,
621
+ id: itemId,
622
+ index: itemIndex,
623
+ locked,
624
+ navigationMode: context.navigationMode,
625
+ orientation: context.orientation,
626
+ selectable,
627
+ select,
628
+ setTriggerElement,
629
+ state: itemState,
630
+ triggerId,
631
+ value: itemValue
632
+ });
633
+ __expose({
634
+ completed: completedState,
635
+ contentId,
636
+ current,
637
+ disabled: itemDisabled,
638
+ element,
639
+ focus,
640
+ id: itemId,
641
+ index: itemIndex,
642
+ locked,
643
+ navigationMode: context.navigationMode,
644
+ orientation: context.orientation,
645
+ selectable,
646
+ select,
647
+ state: itemState,
648
+ triggerId,
649
+ value: itemValue
650
+ });
651
+ return (_ctx, _cache) => {
652
+ return openBlock(), createElementBlock("div", {
653
+ id: unref(itemContext).id.value,
654
+ ref_key: "element",
655
+ ref: element,
656
+ role: "listitem",
657
+ "aria-label": __props.ariaLabel,
658
+ "aria-labelledby": __props.ariaLabelledby,
659
+ "aria-describedby": __props.ariaDescribedby,
660
+ "data-vize-ui": "stepper-item",
661
+ part: "item",
662
+ "data-state": unref(itemContext).state.value,
663
+ "data-value": unref(itemContext).value.value,
664
+ "data-index": unref(itemContext).index.value,
665
+ "data-current": unref(itemContext).current.value ? "true" : void 0,
666
+ "data-completed": unref(itemContext).completed.value ? "true" : void 0,
667
+ "data-disabled": unref(itemContext).disabled.value ? "true" : void 0,
668
+ "data-selectable": unref(itemContext).selectable.value ? "true" : "false",
669
+ "data-locked": unref(itemContext).locked.value ? "true" : void 0,
670
+ "data-orientation": unref(itemContext).orientation.value,
671
+ "data-navigation-mode": unref(itemContext).navigationMode.value
672
+ }, [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotState.value)), void 0, true)], 8, _hoisted_1$2);
673
+ };
674
+ }
675
+ }), [["__scopeId", "data-v-812ee40d"]]);
676
+ //#endregion
677
+ //#region src/families/navigation/stepper/stepper-list.vue?vue&type=script&setup=true&lang.ts
678
+ const _hoisted_1$1 = [
679
+ "id",
680
+ "aria-label",
681
+ "aria-labelledby",
682
+ "aria-describedby",
683
+ "aria-orientation",
684
+ "data-state",
685
+ "data-disabled",
686
+ "data-orientation",
687
+ "data-navigation-mode",
688
+ "data-value"
689
+ ];
690
+ //#endregion
691
+ //#region src/families/navigation/stepper/stepper-list.vue
692
+ var stepper_list_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
693
+ __name: "stepper-list",
694
+ props: {
695
+ ariaLabel: {
696
+ type: String,
697
+ required: false,
698
+ default: () => void 0
699
+ },
700
+ ariaLabelledby: {
701
+ type: String,
702
+ required: false,
703
+ default: () => void 0
704
+ },
705
+ ariaDescribedby: {
706
+ type: String,
707
+ required: false,
708
+ default: () => void 0
709
+ }
710
+ },
711
+ setup(__props, { expose: __expose }) {
712
+ const context = stepperContext.use();
713
+ const element = useTemplateRef("element");
714
+ const slotState = computed(() => ({
715
+ completedValues: context.completedValues.value,
716
+ currentIndex: context.currentIndex.value,
717
+ dir: context.dir.value,
718
+ disabled: context.disabled.value,
719
+ listId: context.listId.value,
720
+ navigationMode: context.navigationMode.value,
721
+ orientation: context.orientation.value,
722
+ state: context.state.value,
723
+ value: context.value.value
724
+ }));
725
+ __expose({
726
+ completedValues: context.completedValues,
727
+ currentIndex: context.currentIndex,
728
+ dir: context.dir,
729
+ disabled: context.disabled,
730
+ element,
731
+ focus: context.focus,
732
+ listId: context.listId,
733
+ navigationMode: context.navigationMode,
734
+ orientation: context.orientation,
735
+ state: context.state,
736
+ value: context.value
737
+ });
738
+ return (_ctx, _cache) => {
739
+ return openBlock(), createElementBlock("div", {
740
+ id: unref(context).listId.value,
741
+ ref_key: "element",
742
+ ref: element,
743
+ role: "list",
744
+ "aria-label": __props.ariaLabel,
745
+ "aria-labelledby": __props.ariaLabelledby,
746
+ "aria-describedby": __props.ariaDescribedby,
747
+ "aria-orientation": unref(context).orientation.value,
748
+ "data-vize-ui": "stepper-list",
749
+ part: "list",
750
+ "data-state": unref(context).state.value,
751
+ "data-disabled": unref(context).disabled.value ? "true" : void 0,
752
+ "data-orientation": unref(context).orientation.value,
753
+ "data-navigation-mode": unref(context).navigationMode.value,
754
+ "data-value": unref(context).value.value ?? void 0
755
+ }, [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotState.value)), void 0, true)], 8, _hoisted_1$1);
756
+ };
757
+ }
758
+ }), [["__scopeId", "data-v-eafa3455"]]);
759
+ //#endregion
760
+ //#region src/families/navigation/stepper/stepper-trigger.vue?vue&type=script&setup=true&lang.ts
761
+ const _hoisted_1 = [
762
+ "id",
763
+ "type",
764
+ "disabled",
765
+ "tabindex",
766
+ "aria-label",
767
+ "aria-labelledby",
768
+ "aria-describedby",
769
+ "aria-current",
770
+ "aria-controls",
771
+ "aria-disabled",
772
+ "data-state",
773
+ "data-value",
774
+ "data-index",
775
+ "data-current",
776
+ "data-completed",
777
+ "data-disabled",
778
+ "data-selectable",
779
+ "data-locked",
780
+ "data-orientation",
781
+ "data-navigation-mode"
782
+ ];
783
+ //#endregion
784
+ //#region src/families/navigation/stepper/stepper-trigger.vue
785
+ var stepper_trigger_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
786
+ __name: "stepper-trigger",
787
+ props: {
788
+ type: {
789
+ type: String,
790
+ required: false,
791
+ default: "button"
792
+ },
793
+ ariaLabel: {
794
+ type: String,
795
+ required: false,
796
+ default: () => void 0
797
+ },
798
+ ariaLabelledby: {
799
+ type: String,
800
+ required: false,
801
+ default: () => void 0
802
+ },
803
+ ariaDescribedby: {
804
+ type: String,
805
+ required: false,
806
+ default: () => void 0
807
+ }
808
+ },
809
+ emits: ["click"],
810
+ setup(__props, { expose: __expose, emit: __emit }) {
811
+ const emit = __emit;
812
+ const context = stepperContext.use();
813
+ const item = stepperItemContext.use();
814
+ const element = useTemplateRef("element");
815
+ const nativeDisabled = computed(() => item.disabled.value);
816
+ const ariaDisabled = computed(() => nativeDisabled.value || !item.selectable.value ? "true" : void 0);
817
+ const navigationProps = computed(() => context.navigation.getItemProps(item.value.value));
818
+ const tabIndex = computed(() => nativeDisabled.value ? void 0 : navigationProps.value.tabindex);
819
+ const slotState = computed(() => ({
820
+ completed: item.completed.value,
821
+ current: item.current.value,
822
+ disabled: item.disabled.value,
823
+ index: item.index.value,
824
+ locked: item.locked.value,
825
+ navigationMode: item.navigationMode.value,
826
+ orientation: item.orientation.value,
827
+ selectable: item.selectable.value,
828
+ state: item.state.value,
829
+ value: item.value.value
830
+ }));
831
+ watch(element, (button) => item.setTriggerElement(button), {
832
+ flush: "post",
833
+ immediate: true
834
+ });
835
+ onUnmounted(() => item.setTriggerElement(null));
836
+ function onPointerdown(event) {
837
+ if (!nativeDisabled.value) navigationProps.value.onPointerdown(event);
838
+ }
839
+ function onFocus(event) {
840
+ if (!nativeDisabled.value) navigationProps.value.onFocus(event);
841
+ }
842
+ function onKeydown(event) {
843
+ if (!nativeDisabled.value) context.navigation.getContainerProps().onKeydown(event);
844
+ }
845
+ function onClick(event) {
846
+ if (nativeDisabled.value || !item.selectable.value) {
847
+ event.preventDefault();
848
+ if (nativeDisabled.value) event.stopImmediatePropagation();
849
+ return;
850
+ }
851
+ emit("click", event);
852
+ if (!event.defaultPrevented) item.select(event);
853
+ }
854
+ function focus(options) {
855
+ element.value?.focus(options);
856
+ }
857
+ function select() {
858
+ return item.select(null);
859
+ }
860
+ __expose({
861
+ completed: item.completed,
862
+ contentId: item.contentId,
863
+ current: item.current,
864
+ disabled: item.disabled,
865
+ element,
866
+ focus,
867
+ id: item.triggerId,
868
+ index: item.index,
869
+ locked: item.locked,
870
+ navigationMode: item.navigationMode,
871
+ orientation: item.orientation,
872
+ selectable: item.selectable,
873
+ select,
874
+ state: item.state,
875
+ value: item.value
876
+ });
877
+ return (_ctx, _cache) => {
878
+ return openBlock(), createElementBlock("button", {
879
+ id: unref(item).triggerId.value,
880
+ ref_key: "element",
881
+ ref: element,
882
+ type: __props.type,
883
+ disabled: nativeDisabled.value,
884
+ tabindex: tabIndex.value,
885
+ "aria-label": __props.ariaLabel,
886
+ "aria-labelledby": __props.ariaLabelledby,
887
+ "aria-describedby": __props.ariaDescribedby,
888
+ "aria-current": unref(item).current.value ? "step" : void 0,
889
+ "aria-controls": unref(item).contentId.value,
890
+ "aria-disabled": ariaDisabled.value,
891
+ "data-vize-ui": "stepper-trigger",
892
+ part: "trigger",
893
+ "data-state": unref(item).state.value,
894
+ "data-value": unref(item).value.value,
895
+ "data-index": unref(item).index.value,
896
+ "data-current": unref(item).current.value ? "true" : void 0,
897
+ "data-completed": unref(item).completed.value ? "true" : void 0,
898
+ "data-disabled": unref(item).disabled.value ? "true" : void 0,
899
+ "data-selectable": unref(item).selectable.value ? "true" : "false",
900
+ "data-locked": unref(item).locked.value ? "true" : void 0,
901
+ "data-orientation": unref(item).orientation.value,
902
+ "data-navigation-mode": unref(item).navigationMode.value,
903
+ onPointerdown,
904
+ onFocus,
905
+ onKeydown,
906
+ onClick
907
+ }, [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotState.value)), void 0, true), renderSlot(_ctx.$slots, "indicator", normalizeProps(guardReactiveProps(slotState.value)), void 0, true)], 40, _hoisted_1);
908
+ };
909
+ }
910
+ }), [["__scopeId", "data-v-93e0a263"]]);
911
+ //#endregion
912
+ export { stepper_root_default as a, stepper_content_default as i, stepper_list_default as n, getStepperValueIdSegment as o, stepper_item_default as r, stepperValueEquals as s, stepper_trigger_default as t };