@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,231 @@
1
+ import { MaybeRefOrGetter, ShallowRef } from "vue";
2
+
3
+ //#region src/families/interaction/shortcut/shortcut-types.d.ts
4
+ /** Modifier layout family used to resolve `Mod` and to format keycaps. */
5
+ type ShortcutPlatform = "apple" | "standard";
6
+ /** One normalized simultaneous key press within a shortcut. */
7
+ interface ShortcutChord {
8
+ /** Canonical `KeyboardEvent.key` value; single characters are lowercase. */
9
+ readonly key: string;
10
+ /** Alt (Option) must be held. */
11
+ readonly altKey: boolean;
12
+ /** Control must be held. */
13
+ readonly ctrlKey: boolean;
14
+ /** Meta (Command / Windows) must be held. */
15
+ readonly metaKey: boolean;
16
+ /** Shift must be held. */
17
+ readonly shiftKey: boolean;
18
+ }
19
+ /** Ordered chord steps typed one after another, e.g. `G` then `D`. */
20
+ type ShortcutSequence = readonly ShortcutChord[];
21
+ /** Options for `parseShortcut` and the keycap formatting helpers. */
22
+ interface ShortcutParseOptions {
23
+ /**
24
+ * Layout used to resolve the `Mod` platform modifier: Meta on `apple`,
25
+ * Control on `standard`.
26
+ *
27
+ * @default detectShortcutPlatform()
28
+ */
29
+ readonly platform?: ShortcutPlatform;
30
+ }
31
+ /** Presentation options for `formatShortcut` and `getShortcutKeycaps`. */
32
+ interface ShortcutFormatOptions extends ShortcutParseOptions {
33
+ /**
34
+ * `symbol` renders platform glyphs such as `⌘` and `⇧`; `text` renders
35
+ * spelled-out names such as `Ctrl` and `Shift`.
36
+ *
37
+ * @default "symbol" on apple, "text" on standard
38
+ */
39
+ readonly style?: "symbol" | "text";
40
+ }
41
+ /** Immutable description of one dispatched shortcut. */
42
+ interface ShortcutMatch {
43
+ /** Normalized sequence that completed. */
44
+ readonly shortcut: ShortcutSequence;
45
+ /** Scope that owned the winning binding. */
46
+ readonly scope: string;
47
+ /** Help description supplied at registration, or `null`. */
48
+ readonly description: string | null;
49
+ /** Native event that completed the sequence. */
50
+ readonly originalEvent: KeyboardEvent;
51
+ }
52
+ /** One registered binding, as surfaced by help and conflict metadata. */
53
+ interface ShortcutBindingInfo {
54
+ /** Normalized sequence this binding listens for. */
55
+ readonly shortcut: ShortcutSequence;
56
+ /** Scope name the binding belongs to. */
57
+ readonly scope: string;
58
+ /** Help description supplied at registration, or `null`. */
59
+ readonly description: string | null;
60
+ }
61
+ /** Bindings in one scope that listen for the same normalized sequence. */
62
+ interface ShortcutConflict {
63
+ /** Scope in which the collision occurs. */
64
+ readonly scope: string;
65
+ /** Normalized sequence claimed more than once. */
66
+ readonly shortcut: ShortcutSequence;
67
+ /** Every binding claiming the sequence, in registration order. */
68
+ readonly bindings: readonly ShortcutBindingInfo[];
69
+ }
70
+ /** Options accepted by `ShortcutRegistry.register`. */
71
+ interface ShortcutBindingOptions {
72
+ /** Pattern such as `"Mod+K"` or `"G D"`, or a pre-parsed sequence. */
73
+ readonly shortcut: string | ShortcutSequence;
74
+ /** Called when the sequence completes and this binding wins routing. */
75
+ readonly handler: (match: ShortcutMatch) => void;
76
+ /**
77
+ * Scope owning the binding. Non-global scopes only receive input while
78
+ * activated, and later-activated scopes shadow earlier ones.
79
+ *
80
+ * @default "global"
81
+ */
82
+ readonly scope?: string;
83
+ /**
84
+ * Additional enablement gate checked on every dispatch.
85
+ *
86
+ * @default true
87
+ */
88
+ readonly when?: MaybeRefOrGetter<boolean | undefined>;
89
+ /**
90
+ * Cancel the native action when the binding matches or extends a pending
91
+ * sequence.
92
+ *
93
+ * @default true
94
+ */
95
+ readonly preventDefault?: boolean;
96
+ /**
97
+ * Accept auto-repeated keydown events.
98
+ *
99
+ * @default false
100
+ */
101
+ readonly allowRepeat?: boolean;
102
+ /**
103
+ * Dispatch even when the event originates from text-editing elements.
104
+ *
105
+ * @default false
106
+ */
107
+ readonly allowInEditable?: boolean;
108
+ /** Help description surfaced through binding and conflict metadata. */
109
+ readonly description?: string;
110
+ }
111
+ /** Stable keyboard handler to spread onto an element-scoped shortcut host. */
112
+ interface ShortcutProps {
113
+ readonly onKeydown: (event: KeyboardEvent) => void;
114
+ }
115
+ /** Options for `createShortcutRegistry` and `useShortcutRegistry`. */
116
+ interface ShortcutRegistryOptions {
117
+ /**
118
+ * Event target that feeds the registry: a document, window, shadow root, or
119
+ * element. `undefined` resolves the ambient document on the client and
120
+ * nothing during server rendering; `null` disables automatic attachment.
121
+ *
122
+ * @default globalThis.document ?? null
123
+ */
124
+ readonly target?: MaybeRefOrGetter<EventTarget | null | undefined>;
125
+ /**
126
+ * Layout used to resolve the `Mod` platform modifier.
127
+ *
128
+ * @default detectShortcutPlatform()
129
+ */
130
+ readonly platform?: ShortcutPlatform;
131
+ /**
132
+ * Idle milliseconds before a pending multi-chord sequence resets.
133
+ *
134
+ * @default 1000
135
+ */
136
+ readonly sequenceTimeout?: MaybeRefOrGetter<number | undefined>;
137
+ /**
138
+ * Ignore input and clear any pending sequence while true.
139
+ *
140
+ * @default false
141
+ */
142
+ readonly isDisabled?: MaybeRefOrGetter<boolean | undefined>;
143
+ /**
144
+ * Attach native listeners during the capture phase.
145
+ *
146
+ * @default false
147
+ */
148
+ readonly capture?: boolean;
149
+ }
150
+ /** Scoped, sequence-aware keyboard shortcut registry. */
151
+ interface ShortcutRegistry {
152
+ /** Chords accepted so far by a pending multi-chord sequence. */
153
+ readonly pendingSequence: Readonly<ShallowRef<ShortcutSequence>>;
154
+ /** Non-global scopes currently activated, in activation order. */
155
+ readonly activeScopes: Readonly<ShallowRef<readonly string[]>>;
156
+ /** Stable keyboard handler for declarative element-scoped hosts. */
157
+ readonly shortcutProps: Readonly<ShortcutProps>;
158
+ /** Add one binding and return its releaser. */
159
+ readonly register: (binding: ShortcutBindingOptions) => () => void;
160
+ /** Activate a scope on top of the stack and return its releaser. */
161
+ readonly activateScope: (scope: string) => () => void;
162
+ /** Route one keyboard event and report whether a binding completed. */
163
+ readonly input: (event: KeyboardEvent) => boolean;
164
+ /** Attach native listeners to an extra target and return the detacher. */
165
+ readonly attach: (target: EventTarget, options?: {
166
+ readonly capture?: boolean;
167
+ }) => () => void;
168
+ /** Clear a pending sequence and report whether one was pending. */
169
+ readonly reset: () => boolean;
170
+ /** Snapshot every registered binding in registration order. */
171
+ readonly getBindings: () => readonly ShortcutBindingInfo[];
172
+ /** Report same-scope bindings that claim an identical sequence. */
173
+ readonly getConflicts: () => readonly ShortcutConflict[];
174
+ /** Detach listeners, clear timers, and make imperative calls terminal. */
175
+ readonly dispose: () => void;
176
+ }
177
+ //#endregion
178
+ //#region src/families/interaction/shortcut/shortcut-parse.d.ts
179
+ /**
180
+ * Detect the modifier layout of the current environment.
181
+ *
182
+ * Server rendering has no ambient keyboard, so the detector deterministically
183
+ * reports `standard` there; pass an explicit platform when formatting keycaps
184
+ * into server-rendered markup.
185
+ */
186
+ declare function detectShortcutPlatform(): ShortcutPlatform;
187
+ /**
188
+ * Parse a shortcut pattern into a normalized chord sequence.
189
+ *
190
+ * Chord steps are separated by whitespace and each step joins modifiers and
191
+ * one key with `+`, e.g. `"Mod+K"`, `"Ctrl+Shift+P"`, or `"G D"`. `Mod`
192
+ * resolves to Meta on Apple layouts and Control elsewhere.
193
+ */
194
+ declare function parseShortcut(pattern: string, options?: ShortcutParseOptions): ShortcutSequence;
195
+ /** Stable identity string used for routing and conflict detection. */
196
+ declare function serializeShortcut(sequence: ShortcutSequence): string;
197
+ //#endregion
198
+ //#region src/families/interaction/shortcut/shortcut-format.d.ts
199
+ /**
200
+ * Break a shortcut into display keycaps for `<kbd>` rendering.
201
+ *
202
+ * The result carries one array per sequence step; each step lists modifier
203
+ * keycaps in platform order followed by the key keycap. Formatting is
204
+ * deterministic for a given platform, so pass an explicit platform when the
205
+ * output is server-rendered.
206
+ */
207
+ declare function getShortcutKeycaps(shortcut: string | ShortcutSequence, options?: ShortcutFormatOptions): readonly (readonly string[])[];
208
+ /**
209
+ * Format a shortcut as one display string, e.g. `⇧⌘K` or `Ctrl+Shift+K`.
210
+ *
211
+ * Apple symbol keycaps join without separators; every other combination joins
212
+ * with `+`. Sequence steps are joined with a single space.
213
+ */
214
+ declare function formatShortcut(shortcut: string | ShortcutSequence, options?: ShortcutFormatOptions): string;
215
+ //#endregion
216
+ //#region src/families/interaction/shortcut/shortcut.d.ts
217
+ /**
218
+ * Create an SSR-safe, scope-aware keyboard shortcut registry.
219
+ *
220
+ * The registry resolves `Mod` for one platform, routes chords and multi-chord
221
+ * sequences to the winning binding, and never touches the DOM on the server:
222
+ * with no ambient document it stays detached until a target appears or events
223
+ * are fed through {@link ShortcutRegistry.input}. Call
224
+ * {@link ShortcutRegistry.dispose} when using this factory outside a Vue
225
+ * effect scope.
226
+ */
227
+ declare function createShortcutRegistry(options?: ShortcutRegistryOptions): ShortcutRegistry;
228
+ /** Create a shortcut registry disposed with the current Vue effect scope. */
229
+ declare function useShortcutRegistry(options?: ShortcutRegistryOptions): ShortcutRegistry;
230
+ //#endregion
231
+ export { ShortcutRegistry as _, detectShortcutPlatform as a, ShortcutBindingInfo as c, ShortcutConflict as d, ShortcutFormatOptions as f, ShortcutProps as g, ShortcutPlatform as h, getShortcutKeycaps as i, ShortcutBindingOptions as l, ShortcutParseOptions as m, useShortcutRegistry as n, parseShortcut as o, ShortcutMatch as p, formatShortcut as r, serializeShortcut as s, createShortcutRegistry as t, ShortcutChord as u, ShortcutRegistryOptions as v, ShortcutSequence as y };
@@ -0,0 +1,2 @@
1
+ import { _ as ShortcutRegistry, a as detectShortcutPlatform, c as ShortcutBindingInfo, d as ShortcutConflict, f as ShortcutFormatOptions, g as ShortcutProps, h as ShortcutPlatform, i as getShortcutKeycaps, l as ShortcutBindingOptions, m as ShortcutParseOptions, n as useShortcutRegistry, o as parseShortcut, p as ShortcutMatch, r as formatShortcut, s as serializeShortcut, t as createShortcutRegistry, u as ShortcutChord, v as ShortcutRegistryOptions, y as ShortcutSequence } from "./shortcut-DAZJ9LEd.mjs";
2
+ export { type ShortcutBindingInfo, type ShortcutBindingOptions, type ShortcutChord, type ShortcutConflict, type ShortcutFormatOptions, type ShortcutMatch, type ShortcutParseOptions, type ShortcutPlatform, type ShortcutProps, type ShortcutRegistry, type ShortcutRegistryOptions, type ShortcutSequence, createShortcutRegistry, detectShortcutPlatform, formatShortcut, getShortcutKeycaps, parseShortcut, serializeShortcut, useShortcutRegistry };
@@ -0,0 +1,2 @@
1
+ import { a as detectShortcutPlatform, i as getShortcutKeycaps, n as useShortcutRegistry, o as parseShortcut, r as formatShortcut, s as serializeShortcut, t as createShortcutRegistry } from "./shortcut-CvA_o0_F.mjs";
2
+ export { createShortcutRegistry, detectShortcutPlatform, formatShortcut, getShortcutKeycaps, parseShortcut, serializeShortcut, useShortcutRegistry };
@@ -0,0 +1,101 @@
1
+ import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-BOaGB7Aw.mjs";
2
+ import { computed, createBlock, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, renderSlot, resolveDynamicComponent, useTemplateRef, withCtx } from "vue";
3
+ //#endregion
4
+ //#region src/families/feedback/skeleton/skeleton.vue
5
+ var skeleton_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
6
+ __name: "skeleton",
7
+ props: {
8
+ as: {
9
+ type: null,
10
+ required: false,
11
+ default: "div"
12
+ },
13
+ loading: {
14
+ type: Boolean,
15
+ required: false,
16
+ default: true
17
+ },
18
+ visible: {
19
+ type: Boolean,
20
+ required: false,
21
+ default: true
22
+ },
23
+ ariaLabel: {
24
+ type: String,
25
+ required: false,
26
+ default: () => void 0
27
+ },
28
+ ariaHidden: {
29
+ type: Boolean,
30
+ required: false,
31
+ default: () => void 0
32
+ },
33
+ blockSize: {
34
+ type: String,
35
+ required: false,
36
+ default: "1em"
37
+ },
38
+ inlineSize: {
39
+ type: String,
40
+ required: false,
41
+ default: "100%"
42
+ }
43
+ },
44
+ setup(__props, { expose: __expose }) {
45
+ const element = useTemplateRef("element");
46
+ const loadingState = computed(() => __props.loading);
47
+ const visibleState = computed(() => __props.visible);
48
+ const state = computed(() => visibleState.value ? loadingState.value ? "loading" : "loaded" : "hidden");
49
+ const hasAriaLabel = computed(() => __props.ariaLabel != null && __props.ariaLabel.length > 0);
50
+ const hiddenFromAssistiveTechnology = computed(() => __props.ariaHidden ?? !hasAriaLabel.value);
51
+ const ariaState = computed(() => hiddenFromAssistiveTechnology.value ? "decorative" : "status");
52
+ const slotState = computed(() => ({
53
+ ariaState: ariaState.value,
54
+ loading: loadingState.value,
55
+ state: state.value,
56
+ visible: visibleState.value
57
+ }));
58
+ const skeletonStyle = computed(() => ({
59
+ "--vize-ui-skeleton-block-size": __props.blockSize,
60
+ "--vize-ui-skeleton-inline-size": __props.inlineSize
61
+ }));
62
+ const intrinsicProps = computed(() => ({ style: skeletonStyle.value }));
63
+ __expose({
64
+ ariaState,
65
+ element,
66
+ loading: loadingState,
67
+ state,
68
+ visible: visibleState
69
+ });
70
+ return (_ctx, _cache) => {
71
+ return openBlock(), createBlock(resolveDynamicComponent(__props.as), mergeProps({
72
+ ref_key: "element",
73
+ ref: element,
74
+ hidden: __props.visible ? void 0 : true,
75
+ role: ariaState.value === "status" ? "status" : void 0,
76
+ "aria-hidden": ariaState.value === "decorative" ? "true" : void 0,
77
+ "aria-label": ariaState.value === "status" ? __props.ariaLabel : void 0,
78
+ "data-vize-ui": "skeleton",
79
+ part: "root",
80
+ "data-state": state.value,
81
+ "data-loading": __props.loading ? "true" : "false",
82
+ "data-visible": __props.visible ? "true" : "false",
83
+ "data-aria-state": ariaState.value
84
+ }, intrinsicProps.value), {
85
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotState.value)), void 0, true)]),
86
+ _: 3
87
+ }, 16, [
88
+ "hidden",
89
+ "role",
90
+ "aria-hidden",
91
+ "aria-label",
92
+ "data-state",
93
+ "data-loading",
94
+ "data-visible",
95
+ "data-aria-state"
96
+ ]);
97
+ };
98
+ }
99
+ }), [["__scopeId", "data-v-2951ee75"]]);
100
+ //#endregion
101
+ export { skeleton_default as t };
@@ -0,0 +1,99 @@
1
+ import { t as PrimitiveAs } from "./primitive-BE2mdUcw.mjs";
2
+ import { ComponentPublicInstance } from "vue";
3
+
4
+ //#region src/families/feedback/skeleton/skeleton-types.d.ts
5
+ /** Accessibility state derived from Skeleton props. */
6
+ type SkeletonAriaState = "decorative" | "status";
7
+ /** Visibility and loading state mirrored to `data-state`. */
8
+ type SkeletonState = "hidden" | "loaded" | "loading";
9
+ /** Rendered value exposed by {@link Skeleton}. */
10
+ type SkeletonElement = Element | ComponentPublicInstance;
11
+ /** State exposed to the default Skeleton slot. */
12
+ interface SkeletonSlotState {
13
+ /** Whether the placeholder represents work still loading. */
14
+ readonly loading: boolean;
15
+ /** Whether the placeholder remains visible in layout. */
16
+ readonly visible: boolean;
17
+ /** Stable state token for styling and tests. */
18
+ readonly state: SkeletonState;
19
+ /** Whether accessibility semantics are decorative or status-like. */
20
+ readonly ariaState: SkeletonAriaState;
21
+ }
22
+ /** Public component instance exposed by the Skeleton primitive. */
23
+ interface SkeletonExpose extends SkeletonSlotState {
24
+ /** Rendered host element or component instance. */
25
+ readonly element: SkeletonElement | null;
26
+ }
27
+ /** Inline style hooks applied to the rendered host. */
28
+ interface SkeletonStyle {
29
+ /** Consumer-overridable block size hook for placeholder styling. */
30
+ readonly "--vize-ui-skeleton-block-size": string;
31
+ /** Consumer-overridable inline size hook for placeholder styling. */
32
+ readonly "--vize-ui-skeleton-inline-size": string;
33
+ }
34
+ //#endregion
35
+ //#region src/families/feedback/skeleton/skeleton.vue.d.ts
36
+ type __VLS_Props = {
37
+ /**
38
+ * Native element, custom element, or component to render.
39
+ *
40
+ * @default "div"
41
+ */
42
+ readonly as?: PrimitiveAs;
43
+ /**
44
+ * Whether the placeholder represents pending content.
45
+ *
46
+ * @default true
47
+ */
48
+ readonly loading?: boolean;
49
+ /**
50
+ * Whether the placeholder remains rendered and visible in layout.
51
+ *
52
+ * @default true
53
+ */
54
+ readonly visible?: boolean;
55
+ /**
56
+ * Accessible status text when the skeleton should be announced.
57
+ *
58
+ * @default undefined
59
+ */
60
+ readonly ariaLabel?: string;
61
+ /**
62
+ * Override the default accessibility policy. By default, labelled skeletons
63
+ * are exposed as status regions and unlabelled skeletons are decorative.
64
+ *
65
+ * @default undefined
66
+ */
67
+ readonly ariaHidden?: boolean;
68
+ /**
69
+ * Value published to `--vize-ui-skeleton-block-size`.
70
+ *
71
+ * @default "1em"
72
+ */
73
+ readonly blockSize?: string;
74
+ /**
75
+ * Value published to `--vize-ui-skeleton-inline-size`.
76
+ *
77
+ * @default "100%"
78
+ */
79
+ readonly inlineSize?: string;
80
+ };
81
+ type __VLS_Slots = {
82
+ /** Optional placeholder content. Receives current loading, visibility, and ARIA state. */default(props: SkeletonSlotState): unknown;
83
+ };
84
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
85
+ ariaState: import("vue").ComputedRef<SkeletonAriaState>;
86
+ element: Readonly<import("vue").ShallowRef<SkeletonElement | null>>;
87
+ loading: import("vue").ComputedRef<boolean>;
88
+ state: import("vue").ComputedRef<SkeletonState>;
89
+ visible: import("vue").ComputedRef<boolean>;
90
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
91
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
92
+ declare const _default: typeof __VLS_export;
93
+ type __VLS_WithSlots<T, S> = T & {
94
+ new (): {
95
+ $slots: S;
96
+ };
97
+ };
98
+ //#endregion
99
+ export { SkeletonSlotState as a, SkeletonExpose as i, SkeletonAriaState as n, SkeletonState as o, SkeletonElement as r, SkeletonStyle as s, _default as t };
@@ -0,0 +1,2 @@
1
+ import { a as SkeletonSlotState, i as SkeletonExpose, n as SkeletonAriaState, o as SkeletonState, r as SkeletonElement, s as SkeletonStyle, t as _default } from "./skeleton-CQW-Tsnt.mjs";
2
+ export { _default as Skeleton, type SkeletonAriaState, type SkeletonElement, type SkeletonExpose, type SkeletonSlotState, type SkeletonState, type SkeletonStyle };
@@ -0,0 +1,2 @@
1
+ import { t as skeleton_default } from "./skeleton-BYXXcwTH.mjs";
2
+ export { skeleton_default as Skeleton };
@@ -0,0 +1,164 @@
1
+ import { a as useDeterministicId } from "./deterministic-id-yMq4HfmS.mjs";
2
+ import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-BOaGB7Aw.mjs";
3
+ import { computed, createBlock, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, ref, renderSlot, resolveDynamicComponent, unref, useTemplateRef, withCtx } from "vue";
4
+ //#region src/families/navigation/skip-link/skip-link.vue?vue&type=script&setup=true&lang.ts
5
+ const DEFAULT_HREF = "#main";
6
+ //#endregion
7
+ //#region src/families/navigation/skip-link/skip-link.vue
8
+ var skip_link_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
9
+ __name: "skip-link",
10
+ props: {
11
+ id: {
12
+ type: [String, null],
13
+ required: false,
14
+ default: () => void 0
15
+ },
16
+ href: {
17
+ type: null,
18
+ required: false,
19
+ default: () => DEFAULT_HREF
20
+ },
21
+ focusTarget: {
22
+ type: Boolean,
23
+ required: false,
24
+ default: true
25
+ }
26
+ },
27
+ emits: ["activate"],
28
+ setup(__props, { expose: __expose, emit: __emit }) {
29
+ const emit = __emit;
30
+ const element = useTemplateRef("element");
31
+ const linkId = useDeterministicId({
32
+ id: () => __props.id,
33
+ hint: "skip-link"
34
+ });
35
+ const focused = ref(false);
36
+ const renderedHref = computed(() => normalizeHashHref(__props.href));
37
+ const anchorAttributes = computed(() => renderedHref.value === void 0 ? {} : { href: renderedHref.value });
38
+ const targetId = computed(() => renderedHref.value?.slice(1));
39
+ const unavailable = computed(() => renderedHref.value === void 0);
40
+ const state = computed(() => {
41
+ if (unavailable.value) return "invalid";
42
+ return focused.value ? "focused" : "idle";
43
+ });
44
+ const slotState = computed(() => ({
45
+ focused: focused.value,
46
+ href: renderedHref.value,
47
+ state: state.value,
48
+ targetId: targetId.value,
49
+ unavailable: unavailable.value
50
+ }));
51
+ function onFocus() {
52
+ focused.value = true;
53
+ }
54
+ function onBlur() {
55
+ focused.value = false;
56
+ }
57
+ function onClick(event) {
58
+ const current = getCurrentLink();
59
+ if (current === null) {
60
+ event.preventDefault();
61
+ event.stopImmediatePropagation();
62
+ return;
63
+ }
64
+ const result = __props.focusTarget ? focusTarget() : {
65
+ target: getTarget(),
66
+ focused: false
67
+ };
68
+ emit("activate", event, {
69
+ focused: result.focused,
70
+ href: current.href,
71
+ target: result.target,
72
+ targetId: current.targetId
73
+ });
74
+ }
75
+ function getCurrentLink() {
76
+ if (renderedHref.value === void 0 || targetId.value === void 0) return null;
77
+ return {
78
+ href: renderedHref.value,
79
+ targetId: targetId.value
80
+ };
81
+ }
82
+ function normalizeHashHref(value) {
83
+ const normalized = value.trim();
84
+ if (!normalized.startsWith("#") || normalized.length === 1) return void 0;
85
+ return hasAsciiWhitespaceOrControl(normalized) ? void 0 : normalized;
86
+ }
87
+ function hasAsciiWhitespaceOrControl(value) {
88
+ for (let index = 0; index < value.length; index++) {
89
+ const code = value.charCodeAt(index);
90
+ if (code <= 32 || code === 127) return true;
91
+ }
92
+ return false;
93
+ }
94
+ function getTarget() {
95
+ if (targetId.value === void 0 || typeof document === "undefined") return null;
96
+ const target = document.getElementById(targetId.value);
97
+ return target instanceof HTMLElement ? target : null;
98
+ }
99
+ function focus(options) {
100
+ element.value?.focus(options);
101
+ }
102
+ function focusTarget(options) {
103
+ const target = getTarget();
104
+ if (target === null) return {
105
+ target: null,
106
+ focused: false
107
+ };
108
+ const hadTabIndex = target.hasAttribute("tabindex");
109
+ if (!hadTabIndex) target.setAttribute("tabindex", "-1");
110
+ target.focus(options);
111
+ const movedFocus = target.ownerDocument.activeElement === target;
112
+ if (!hadTabIndex) {
113
+ const restoreTabIndex = () => target.removeAttribute("tabindex");
114
+ if (movedFocus) target.addEventListener("blur", restoreTabIndex, { once: true });
115
+ else restoreTabIndex();
116
+ }
117
+ return {
118
+ target,
119
+ focused: movedFocus
120
+ };
121
+ }
122
+ __expose({
123
+ element,
124
+ focus,
125
+ focused,
126
+ focusTarget,
127
+ getTarget,
128
+ href: renderedHref,
129
+ state,
130
+ targetId,
131
+ unavailable
132
+ });
133
+ return (_ctx, _cache) => {
134
+ return openBlock(), createBlock(resolveDynamicComponent("a"), mergeProps({
135
+ id: unref(linkId),
136
+ ref_key: "element",
137
+ ref: element
138
+ }, anchorAttributes.value, {
139
+ "aria-disabled": unavailable.value ? "true" : void 0,
140
+ tabindex: unavailable.value ? -1 : void 0,
141
+ "data-vize-ui": "skip-link",
142
+ part: "root",
143
+ "data-state": state.value,
144
+ "data-target-id": targetId.value,
145
+ "data-unavailable": unavailable.value ? "true" : void 0,
146
+ onClick,
147
+ onFocus,
148
+ onBlur
149
+ }), {
150
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotState.value)), void 0, true)]),
151
+ _: 3
152
+ }, 16, [
153
+ "id",
154
+ "aria-disabled",
155
+ "tabindex",
156
+ "data-state",
157
+ "data-target-id",
158
+ "data-unavailable"
159
+ ]);
160
+ };
161
+ }
162
+ }), [["__scopeId", "data-v-9158cf4f"]]);
163
+ //#endregion
164
+ export { skip_link_default as t };