@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.
- package/dist/alert-BX93FNvj.d.mts +92 -0
- package/dist/alert-DvhiFK_R.mjs +92 -0
- package/dist/alert-dialog-D9tqXQ_Q.mjs +176 -0
- package/dist/alert-dialog.d.mts +2 -0
- package/dist/alert-dialog.mjs +3 -0
- package/dist/alert.d.mts +2 -0
- package/dist/alert.mjs +2 -0
- package/dist/announcer-CW079p2E.mjs +258 -0
- package/dist/announcer-DGr2Iz0i.d.mts +6829 -0
- package/dist/announcer.d.mts +2 -0
- package/dist/announcer.mjs +2 -0
- package/dist/aspect-ratio-DDqVT6Hg.d.mts +62 -0
- package/dist/aspect-ratio-_HLW6_5i.mjs +63 -0
- package/dist/aspect-ratio.d.mts +2 -0
- package/dist/aspect-ratio.mjs +2 -0
- package/dist/avatar-6fQfQ-1x.mjs +195 -0
- package/dist/avatar.d.mts +2 -0
- package/dist/avatar.mjs +2 -0
- package/dist/badge-BTOyu4i6.mjs +53 -0
- package/dist/badge.d.mts +2 -0
- package/dist/badge.mjs +2 -0
- package/dist/banner-CYiSiZJW.mjs +288 -0
- package/dist/banner.d.mts +2 -0
- package/dist/banner.mjs +2 -0
- package/dist/block-ui-Bd2m1m3K.mjs +111 -0
- package/dist/block-ui.d.mts +2 -0
- package/dist/block-ui.mjs +2 -0
- package/dist/blockquote-eTqp3b_r.mjs +65 -0
- package/dist/blockquote.d.mts +2 -0
- package/dist/blockquote.mjs +2 -0
- package/dist/breadcrumb-BvuPBfkj.mjs +212 -0
- package/dist/breadcrumb-Cdyh20z-.d.mts +202 -0
- package/dist/breadcrumb.d.mts +2 -0
- package/dist/breadcrumb.mjs +2 -0
- package/dist/{button-DYg1mIIq.d.mts → button-Dye0M41O.d.mts} +3 -3
- package/dist/{button-DT8AKlds.mjs → button-VVxUavbS.mjs} +6 -6
- package/dist/button-group-C_mR0Jfw.d.mts +137 -0
- package/dist/button-group-DyQbTCnY.mjs +418 -0
- package/dist/button-group.d.mts +2 -0
- package/dist/button-group.mjs +2 -0
- package/dist/button.d.mts +1 -1
- package/dist/button.mjs +2 -2
- package/dist/callout-DAu-98Ti.mjs +277 -0
- package/dist/callout.d.mts +2 -0
- package/dist/callout.mjs +2 -0
- package/dist/card-D94n04s5.mjs +66 -0
- package/dist/card.d.mts +2 -0
- package/dist/card.mjs +2 -0
- package/dist/catalog.d.mts +2112 -302
- package/dist/catalog.mjs +3831 -433
- package/dist/{checkbox-BgIvwjyC.mjs → checkbox-bM5y7vH8.mjs} +8 -8
- package/dist/checkbox.d.mts +1 -1
- package/dist/checkbox.mjs +2 -2
- package/dist/cluster-BWF028Xt.d.mts +133 -0
- package/dist/cluster-BydJTp9X.mjs +149 -0
- package/dist/cluster.d.mts +2 -0
- package/dist/cluster.mjs +2 -0
- package/dist/code-D93YXaeJ.mjs +66 -0
- package/dist/code.d.mts +2 -0
- package/dist/code.mjs +2 -0
- package/dist/collapsible-Cra5y_if.mjs +269 -0
- package/dist/collapsible.d.mts +2 -0
- package/dist/collapsible.mjs +2 -0
- package/dist/{collection-B_dFZOHO.d.mts → collection-BaPf8lgw.d.mts} +3 -3
- package/dist/{collection-eHN150dT.mjs → collection-Cncgrq4U.mjs} +5 -5
- package/dist/collection.d.mts +1 -1
- package/dist/collection.mjs +1 -1
- package/dist/command-CAH0yrMT.d.mts +105 -0
- package/dist/command.d.mts +2 -0
- package/dist/command.mjs +123 -0
- package/dist/{composite-navigation-Skx3LZsv.mjs → composite-navigation-D6WKS_BY.mjs} +4 -4
- package/dist/{composite-navigation-QINW9GLy.d.mts → composite-navigation-i7ocwmio.d.mts} +4 -4
- package/dist/composite-navigation.d.mts +1 -1
- package/dist/composite-navigation.mjs +1 -1
- package/dist/container-5lSCSbeX.mjs +113 -0
- package/dist/container-CYSiwCA-.d.mts +99 -0
- package/dist/container.d.mts +2 -0
- package/dist/container.mjs +2 -0
- package/dist/context-7SpwFHtK.d.mts +25 -0
- package/dist/context.d.mts +1 -24
- package/dist/context.mjs +1 -1
- package/dist/{controllable-state-BtoxKahh.d.mts → controllable-state-CZZF9Pw5.d.mts} +1 -1
- package/dist/controllable-state.d.mts +1 -1
- package/dist/controllable-state.mjs +1 -1
- package/dist/copy-button-BH2em7nG.mjs +212 -0
- package/dist/copy-button.d.mts +2 -0
- package/dist/copy-button.mjs +2 -0
- package/dist/{id-BV9AJ3cm.d.mts → deterministic-id-DYQJ7KzM.d.mts} +2 -35
- package/dist/{id-mziSyAse.mjs → deterministic-id-yMq4HfmS.mjs} +3 -46
- package/dist/dialog-trigger-ppGKikEP.mjs +717 -0
- package/dist/dialog.d.mts +2 -0
- package/dist/dialog.mjs +2 -0
- package/dist/{dismissable-layer-4icKahVs.d.mts → dismissable-layer-CTWSFZwj.d.mts} +2 -2
- package/dist/{dismissable-layer-CwG1gtdz.mjs → dismissable-layer-CpS07KUV.mjs} +3 -3
- package/dist/dismissable-layer.d.mts +1 -1
- package/dist/dismissable-layer.mjs +1 -1
- package/dist/drag-and-drop-BjYgWGcG.mjs +918 -0
- package/dist/drag-and-drop-CagE25Kt.d.mts +47 -0
- package/dist/drag-and-drop-controller-types-DoTSR_aM.d.mts +304 -0
- package/dist/drag-and-drop.d.mts +3 -0
- package/dist/drag-and-drop.mjs +2 -0
- package/dist/empty-state-DtyOxCA4.mjs +73 -0
- package/dist/empty-state.d.mts +2 -0
- package/dist/empty-state.mjs +2 -0
- package/dist/error-summary-6Xis_769.d.mts +65 -0
- package/dist/error-summary-DMe4IlM9.mjs +209 -0
- package/dist/error-summary-types-5ePaC9O3.d.mts +74 -0
- package/dist/error-summary.d.mts +3 -0
- package/dist/error-summary.mjs +2 -0
- package/dist/field-CBs2-Z9B.mjs +254 -0
- package/dist/field-WWPaJT1x.d.mts +235 -0
- package/dist/field-wiring-9Fy-G1rf.d.mts +14 -0
- package/dist/field-wiring-runtime-fQ3GoLuG.mjs +64 -0
- package/dist/field-wiring-types-Bfyis5hO.d.mts +73 -0
- package/dist/field-wiring.d.mts +3 -0
- package/dist/field-wiring.mjs +2 -0
- package/dist/field.d.mts +2 -0
- package/dist/field.mjs +2 -0
- package/dist/{focus-CAWi_I-0.mjs → focus-XxVWOwbs.mjs} +3 -3
- package/dist/{focus-K6dOifoZ.d.mts → focus-eObxGOtP.d.mts} +2 -2
- package/dist/{focus-guards-Bt0C-0qS.d.mts → focus-guards-BZa7vm6O.d.mts} +2 -2
- package/dist/{focus-guards-DhMPQAT8.mjs → focus-guards-DSxiemx7.mjs} +4 -4
- package/dist/focus-guards.d.mts +1 -1
- package/dist/focus-guards.mjs +1 -1
- package/dist/{focus-scope-CavhKWx0.d.mts → focus-scope-CsnioDR4.d.mts} +3 -3
- package/dist/{focus-scope-dom-DBwNEWxG.mjs → focus-scope-dom-L_EC5GsX.mjs} +2 -2
- package/dist/{focus-scope-D9U1aj67.mjs → focus-scope-mEg8UoeE.mjs} +5 -5
- package/dist/focus-scope.d.mts +1 -1
- package/dist/focus-scope.mjs +1 -1
- package/dist/focus.d.mts +1 -1
- package/dist/focus.mjs +1 -1
- package/dist/form-1V2V30Sv.d.mts +20 -0
- package/dist/form-runtime-CcMDY0Iq.mjs +166 -0
- package/dist/form-types-DXwZRLcs.d.mts +183 -0
- package/dist/form.d.mts +3 -0
- package/dist/form.mjs +2 -0
- package/dist/fullscreen-button-NTbC4R0W.mjs +276 -0
- package/dist/fullscreen-button.d.mts +2 -0
- package/dist/fullscreen-button.mjs +2 -0
- package/dist/grid-BSM9h2dL.d.mts +154 -0
- package/dist/grid-DeC4Wn7Y.mjs +157 -0
- package/dist/grid.d.mts +2 -0
- package/dist/grid.mjs +2 -0
- package/dist/heading-DToVOKV3.mjs +86 -0
- package/dist/heading.d.mts +2 -0
- package/dist/heading.mjs +2 -0
- package/dist/history-BDgNOjcV.mjs +304 -0
- package/dist/history-BkcOSOWb.d.mts +157 -0
- package/dist/history.d.mts +2 -0
- package/dist/history.mjs +2 -0
- package/dist/{hover-BXwwbSaO.d.mts → hover-ZiPRiZkb.d.mts} +2 -2
- package/dist/hover.d.mts +1 -1
- package/dist/hover.mjs +1 -1
- package/dist/icon-DhTTndMu.mjs +233 -0
- package/dist/icon-button-BuXquME1.mjs +188 -0
- package/dist/icon-button.d.mts +2 -0
- package/dist/icon-button.mjs +2 -0
- package/dist/icon.d.mts +2 -0
- package/dist/icon.mjs +2 -0
- package/dist/id-BYG8aXPF.mjs +47 -0
- package/dist/id-Ba8FHjAo.d.mts +34 -0
- package/dist/id.d.mts +2 -1
- package/dist/id.mjs +3 -2
- package/dist/index.d.mts +74 -24
- package/dist/index.mjs +113 -21
- package/dist/{inert-outside-tuHRmaqJ.d.mts → inert-outside-B6KdwAHY.d.mts} +2 -2
- package/dist/{inert-outside-CyqtoKQ4.mjs → inert-outside-DOufBTyy.mjs} +4 -4
- package/dist/inert-outside.d.mts +1 -1
- package/dist/inert-outside.mjs +1 -1
- package/dist/input-Blyx59CR.mjs +256 -0
- package/dist/input-C0fgeRnS.d.mts +159 -0
- package/dist/input.d.mts +2 -0
- package/dist/input.mjs +2 -0
- package/dist/{interaction-modality-DOZK0BpZ.mjs → interaction-modality-BHnjtU4S.mjs} +3 -3
- package/dist/{interaction-modality-jgHKjPFB.d.mts → interaction-modality-BTiZ7j98.d.mts} +2 -2
- package/dist/interaction-modality.d.mts +1 -1
- package/dist/interaction-modality.mjs +1 -1
- package/dist/kbd-sJdXIdIm.mjs +66 -0
- package/dist/kbd.d.mts +2 -0
- package/dist/kbd.mjs +2 -0
- package/dist/link-DDaCjrI5.mjs +154 -0
- package/dist/link-MbRDN6wJ.d.mts +94 -0
- package/dist/link.d.mts +2 -0
- package/dist/link.mjs +2 -0
- package/dist/list-DjyCLVfG.mjs +66 -0
- package/dist/list.d.mts +2 -0
- package/dist/list.mjs +2 -0
- package/dist/listbox-IaqaoiRn.mjs +549 -0
- package/dist/listbox.d.mts +2 -0
- package/dist/listbox.mjs +2 -0
- package/dist/live-region-DYSpwCTk.mjs +48 -0
- package/dist/live-region-G1iobPK5.d.mts +67 -0
- package/dist/live-region-runtime-DVUch8Lu.mjs +62 -0
- package/dist/live-region.d.mts +2 -0
- package/dist/live-region.mjs +3 -0
- package/dist/locale-DzWqhJZs.mjs +206 -0
- package/dist/locale.d.mts +2 -0
- package/dist/locale.mjs +2 -0
- package/dist/{long-press-cll6z2K9.d.mts → long-press-DyYxp191.d.mts} +3 -3
- package/dist/{long-press-Dsul69gk.mjs → long-press-yJk5zK0j.mjs} +4 -4
- package/dist/long-press.d.mts +1 -1
- package/dist/long-press.mjs +1 -1
- package/dist/measure-4I0YOAXD.d.mts +97 -0
- package/dist/measure-runtime-C4qYJp3_.mjs +170 -0
- package/dist/measure.d.mts +2 -0
- package/dist/measure.mjs +2 -0
- package/dist/media-pdf.d.mts +1 -1
- package/dist/media-pdf.mjs +1 -1
- package/dist/media-source.d.mts +1 -1
- package/dist/media-source.mjs +1 -1
- package/dist/media.d.mts +1 -1
- package/dist/media.mjs +1 -1
- package/dist/meter-B3m17_8g.d.mts +174 -0
- package/dist/meter-BwOXVWH8.mjs +243 -0
- package/dist/meter.d.mts +2 -0
- package/dist/meter.mjs +2 -0
- package/dist/motion-OdERKfZR.mjs +174 -0
- package/dist/motion-iUSBdWaI.d.mts +98 -0
- package/dist/motion.d.mts +2 -0
- package/dist/motion.mjs +2 -0
- package/dist/{move-BOmXDYbh.d.mts → move-BJGaV7Y9.d.mts} +2 -2
- package/dist/move-internal-BM_7g70h.mjs +172 -0
- package/dist/move.d.mts +1 -1
- package/dist/move.mjs +216 -1
- package/dist/native-select-H9qvaqQH.mjs +309 -0
- package/dist/native-select.d.mts +2 -0
- package/dist/native-select.mjs +2 -0
- package/dist/pagination-Bs4SBSE4.mjs +791 -0
- package/dist/pagination.d.mts +2 -0
- package/dist/pagination.mjs +2 -0
- package/dist/{pdf-source-zu1LkCeE.mjs → pdf-source-B5JSDKkQ.mjs} +1 -1
- package/dist/{pdf-source-BYFK2Pks.d.mts → pdf-source-adS6ZSmR.d.mts} +1 -1
- package/dist/pointer-grace-CAFcO4om.d.mts +57 -0
- package/dist/pointer-grace-DI0G3oRJ.mjs +162 -0
- package/dist/pointer-grace.d.mts +2 -0
- package/dist/pointer-grace.mjs +2 -0
- package/dist/popover-DeENBKXE.mjs +714 -0
- package/dist/popover.d.mts +2 -0
- package/dist/popover.mjs +2 -0
- package/dist/portal-DeHaLxGL.mjs +114 -0
- package/dist/portal-DhWXejr1.d.mts +71 -0
- package/dist/portal.d.mts +2 -0
- package/dist/portal.mjs +2 -0
- package/dist/positioner-BYJVA3Uy.d.mts +477 -0
- package/dist/positioner-BYmQk86M.mjs +38 -0
- package/dist/positioner-DaPo2YxM.mjs +708 -0
- package/dist/positioner.d.mts +2 -0
- package/dist/positioner.mjs +3 -0
- package/dist/presence-Bhv1qtvn.d.mts +57 -0
- package/dist/presence-CTG1EV3w.mjs +62 -0
- package/dist/presence-runtime-CYwCafSh.mjs +105 -0
- package/dist/presence-types-CRB4HbML.d.mts +45 -0
- package/dist/presence.d.mts +3 -0
- package/dist/presence.mjs +3 -0
- package/dist/{press-N_mE3Mgx.mjs → press-BjLm6bKg.mjs} +6 -6
- package/dist/press-R0_juZq2.d.mts +14 -0
- package/dist/{press-event-Cd2OPpmw.mjs → press-event-xlWYF9py.mjs} +1 -1
- package/dist/{press-types-CNqStzJf.d.mts → press-types-DfTNpqby.d.mts} +1 -1
- package/dist/press.d.mts +2 -13
- package/dist/press.mjs +1 -1
- package/dist/{primitive-C8jW7DLd.d.mts → primitive-BE2mdUcw.d.mts} +2 -2
- package/dist/{primitive-BX31dogp.mjs → primitive-beb2EEOc.mjs} +5 -5
- package/dist/primitive.d.mts +1 -1
- package/dist/primitive.mjs +2 -2
- package/dist/print-button-FqD5HqTV.mjs +206 -0
- package/dist/print-button.d.mts +2 -0
- package/dist/print-button.mjs +2 -0
- package/dist/progress--vbV2wTx.mjs +145 -0
- package/dist/progress-C4PlKwWq.d.mts +128 -0
- package/dist/progress-bar-BqS94auR.mjs +301 -0
- package/dist/progress-bar.d.mts +2 -0
- package/dist/progress-bar.mjs +2 -0
- package/dist/progress.d.mts +2 -0
- package/dist/progress.mjs +2 -0
- package/dist/radio-group-DbTmWcxl.mjs +317 -0
- package/dist/radio-group.d.mts +2 -0
- package/dist/radio-group.mjs +2 -0
- package/dist/rating-BjKLGPP6.mjs +569 -0
- package/dist/rating-souDdL9t.d.mts +273 -0
- package/dist/rating.d.mts +2 -0
- package/dist/rating.mjs +2 -0
- package/dist/scroll-area-BRSwoi9w.mjs +338 -0
- package/dist/scroll-area.d.mts +2 -0
- package/dist/scroll-area.mjs +2 -0
- package/dist/{scroll-lock-Ckbmm0-J.mjs → scroll-lock-BcmK0baN.mjs} +4 -4
- package/dist/{scroll-lock-BgVtX4wT.d.mts → scroll-lock-OfSQnfi0.d.mts} +2 -2
- package/dist/scroll-lock.d.mts +1 -1
- package/dist/scroll-lock.mjs +1 -1
- package/dist/search-field-70Kr2616.mjs +319 -0
- package/dist/search-field-Biw9vApG.d.mts +158 -0
- package/dist/search-field.d.mts +2 -0
- package/dist/search-field.mjs +2 -0
- package/dist/separator-CnNDqbdR.d.mts +59 -0
- package/dist/separator-DDj3tEAz.mjs +66 -0
- package/dist/separator.d.mts +2 -0
- package/dist/separator.mjs +2 -0
- package/dist/share-button-DfvUDFC-.mjs +243 -0
- package/dist/share-button.d.mts +2 -0
- package/dist/share-button.mjs +2 -0
- package/dist/shortcut-CvA_o0_F.mjs +631 -0
- package/dist/shortcut-DAZJ9LEd.d.mts +231 -0
- package/dist/shortcut.d.mts +2 -0
- package/dist/shortcut.mjs +2 -0
- package/dist/skeleton-BYXXcwTH.mjs +101 -0
- package/dist/skeleton-CQW-Tsnt.d.mts +99 -0
- package/dist/skeleton.d.mts +2 -0
- package/dist/skeleton.mjs +2 -0
- package/dist/skip-link-BUp9HXXt.mjs +164 -0
- package/dist/skip-link-DHDrtnP2.d.mts +98 -0
- package/dist/skip-link.d.mts +2 -0
- package/dist/skip-link.mjs +2 -0
- package/dist/slider-BiZSZLDp.mjs +475 -0
- package/dist/slider-CYBbxeNy.d.mts +246 -0
- package/dist/slider.d.mts +2 -0
- package/dist/slider.mjs +2 -0
- package/dist/sortable-BntjgYra.mjs +499 -0
- package/dist/sortable-DQl92bwo.d.mts +206 -0
- package/dist/sortable.d.mts +2 -0
- package/dist/sortable.mjs +2 -0
- package/dist/spacer-Bc0dInvi.mjs +117 -0
- package/dist/spacer-DFstG4G-.d.mts +105 -0
- package/dist/spacer.d.mts +2 -0
- package/dist/spacer.mjs +2 -0
- package/dist/{spatial-navigation-CHj9mDZH.d.mts → spatial-navigation-BPVJGSiJ.d.mts} +3 -3
- package/dist/{spatial-navigation-D6-UDavU.mjs → spatial-navigation-DwcUYMyc.mjs} +2 -2
- package/dist/spatial-navigation.d.mts +1 -1
- package/dist/spatial-navigation.mjs +1 -1
- package/dist/spinner-JnRs8fp-.d.mts +155 -0
- package/dist/spinner-bizL-oOg.mjs +200 -0
- package/dist/spinner.d.mts +2 -0
- package/dist/spinner.mjs +2 -0
- package/dist/stack-C7DOIxo-.mjs +137 -0
- package/dist/stack-CPtBckZB.d.mts +127 -0
- package/dist/stack.d.mts +2 -0
- package/dist/stack.mjs +2 -0
- package/dist/status-light-BGWgQRRf.mjs +125 -0
- package/dist/status-light.d.mts +2 -0
- package/dist/status-light.mjs +2 -0
- package/dist/stepper-CwX6BZaN.mjs +912 -0
- package/dist/stepper.d.mts +2 -0
- package/dist/stepper.mjs +2 -0
- package/dist/style.css +1 -1
- package/dist/surface-C2fnxL3g.mjs +102 -0
- package/dist/surface.d.mts +2 -0
- package/dist/surface.mjs +2 -0
- package/dist/switch-Ck5YmfXb.mjs +197 -0
- package/dist/switch.d.mts +2 -0
- package/dist/switch.mjs +2 -0
- package/dist/table-BxU7htxc.mjs +349 -0
- package/dist/table-Ce3yWwlH.d.mts +415 -0
- package/dist/table.d.mts +2 -0
- package/dist/table.mjs +2 -0
- package/dist/tabs-DSXIomI_.mjs +595 -0
- package/dist/tabs.d.mts +2 -0
- package/dist/tabs.mjs +2 -0
- package/dist/text-BVeNKPiv.mjs +76 -0
- package/dist/text.d.mts +2 -0
- package/dist/text.mjs +2 -0
- package/dist/textarea-4eIDNcvv.d.mts +175 -0
- package/dist/textarea-BZimEPBR.mjs +279 -0
- package/dist/textarea.d.mts +2 -0
- package/dist/textarea.mjs +2 -0
- package/dist/theme-C8Crmb8V.mjs +139 -0
- package/dist/theme-CNK06Pja.d.mts +38 -0
- package/dist/theme-constants-DAwnxG-P.mjs +29 -0
- package/dist/theme-preset-atelier.css +1 -0
- package/dist/theme-preset-headless.css +1 -0
- package/dist/theme-preset-high-contrast.css +1 -0
- package/dist/theme-preset-midnight.css +1 -0
- package/dist/theme-preset-paper.css +1 -0
- package/dist/theme-preset-play.css +1 -0
- package/dist/theme-preset-signal.css +1 -0
- package/dist/theme-scope.d.mts +25 -0
- package/dist/theme-scope.mjs +89 -0
- package/dist/theme-types-CkIa4Sa3.d.mts +71 -0
- package/dist/theme.css +1 -0
- package/dist/theme.d.mts +3 -0
- package/dist/theme.mjs +3 -0
- package/dist/toggle-CBTXzwze.mjs +141 -0
- package/dist/toggle-group-DO7eGEs3.d.mts +147 -0
- package/dist/toggle-group-DybU9N7k.mjs +523 -0
- package/dist/toggle-group.d.mts +2 -0
- package/dist/toggle-group.mjs +2 -0
- package/dist/toggle.d.mts +2 -0
- package/dist/toggle.mjs +2 -0
- package/dist/toolbar-CIU1bor0.d.mts +259 -0
- package/dist/toolbar-CXE8YCX-.mjs +425 -0
- package/dist/toolbar.d.mts +2 -0
- package/dist/toolbar.mjs +2 -0
- package/dist/tooltip-Cgii5xMx.mjs +485 -0
- package/dist/tooltip.d.mts +2 -0
- package/dist/tooltip.mjs +2 -0
- package/dist/transition-BmgFyzA6.mjs +168 -0
- package/dist/transition-BtIWNEFU.d.mts +82 -0
- package/dist/transition.d.mts +2 -0
- package/dist/transition.mjs +2 -0
- package/dist/{typeahead-B7KDxE_u.mjs → typeahead-DZSBI5m5.mjs} +2 -2
- package/dist/{typeahead-BbgUB2Bj.d.mts → typeahead-Dl6w5PAN.d.mts} +3 -3
- package/dist/typeahead.d.mts +1 -1
- package/dist/typeahead.mjs +1 -1
- package/dist/virtualizer-BlxKjT3W.mjs +793 -0
- package/dist/virtualizer-D9qfT4wS.d.mts +349 -0
- package/dist/virtualizer.d.mts +2 -0
- package/dist/virtualizer.mjs +2 -0
- package/dist/{visually-hidden-BOqfqBFt.d.mts → visually-hidden-CUr9BX0K.d.mts} +1 -1
- package/dist/{visually-hidden-BwDOx5yf.mjs → visually-hidden-SDjRJYRK.mjs} +5 -5
- package/dist/visually-hidden.d.mts +1 -1
- package/dist/visually-hidden.mjs +2 -2
- package/package.json +426 -7
- package/dist/checkbox-DP3_ko7D.d.mts +0 -61
- package/dist/move-BVvMHzxr.mjs +0 -386
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
import { S as DropTargetRect, a as DragSourceProps, g as DragPointerType } from "./drag-and-drop-controller-types-DoTSR_aM.mjs";
|
|
2
|
+
import { MaybeRefOrGetter, ShallowRef } from "vue";
|
|
3
|
+
|
|
4
|
+
//#region src/families/interaction/sortable/sortable-types.d.ts
|
|
5
|
+
/** Spatial arrangement of one sortable container. */
|
|
6
|
+
type SortableOrientation = "grid" | "horizontal" | "vertical";
|
|
7
|
+
/** Resolved writing direction used by horizontal and grid arrow keys. */
|
|
8
|
+
type SortableDirection = "ltr" | "rtl";
|
|
9
|
+
/** Drop position relative to the item under the drag. */
|
|
10
|
+
type SortablePosition = "after" | "before" | "inside";
|
|
11
|
+
/** Lifecycle phases emitted by a sortable controller. */
|
|
12
|
+
type SortableEventType = "sortcancel" | "sortcommit" | "sortpreview" | "sortstart";
|
|
13
|
+
/** Immutable snapshot shared by every sortable lifecycle phase. */
|
|
14
|
+
interface SortableEvent<Type extends SortableEventType = SortableEventType> {
|
|
15
|
+
/** Lifecycle phase represented by this immutable snapshot. */
|
|
16
|
+
readonly type: Type;
|
|
17
|
+
/** Input family that owns this sort. */
|
|
18
|
+
readonly pointerType: DragPointerType;
|
|
19
|
+
/** Key of the item being sorted. */
|
|
20
|
+
readonly key: string;
|
|
21
|
+
/**
|
|
22
|
+
* Zero-based index the move starts from. `sortstart`, `sortpreview`, and
|
|
23
|
+
* `sortcancel` report the item's current index; `sortcommit` reports the
|
|
24
|
+
* index captured when the item was picked up.
|
|
25
|
+
*/
|
|
26
|
+
readonly fromIndex: number;
|
|
27
|
+
/**
|
|
28
|
+
* Zero-based destination index. `sortcancel` reports the index the item must
|
|
29
|
+
* return to; an `"inside"` move reports the receiving item's index.
|
|
30
|
+
*/
|
|
31
|
+
readonly toIndex: number;
|
|
32
|
+
/** Key of the item the move is relative to, or `null` for index-only moves. */
|
|
33
|
+
readonly overKey: string | null;
|
|
34
|
+
/** Position relative to `overKey`, or `null` for index-only moves. */
|
|
35
|
+
readonly position: SortablePosition | null;
|
|
36
|
+
/** Native event responsible for this phase, or `null` for manual settlement. */
|
|
37
|
+
readonly originalEvent: Event | null;
|
|
38
|
+
}
|
|
39
|
+
/** Snapshot emitted once when an item is picked up. */
|
|
40
|
+
type SortStartEvent = SortableEvent<"sortstart">;
|
|
41
|
+
/** Snapshot emitted when the projected destination changes before a drop. */
|
|
42
|
+
type SortPreviewEvent = SortableEvent<"sortpreview">;
|
|
43
|
+
/** Snapshot emitted when a completed drop commits the move. */
|
|
44
|
+
type SortCommitEvent = SortableEvent<"sortcommit">;
|
|
45
|
+
/** Snapshot emitted when a sort is canceled and the item must return. */
|
|
46
|
+
type SortCancelEvent = SortableEvent<"sortcancel">;
|
|
47
|
+
/** Reactive indicator state for the projected destination. */
|
|
48
|
+
interface SortableIndicatorState {
|
|
49
|
+
/** Key of the item the indicator is relative to. */
|
|
50
|
+
readonly key: string;
|
|
51
|
+
/** Position relative to `key`. */
|
|
52
|
+
readonly position: SortablePosition;
|
|
53
|
+
/** Zero-based projected destination index. */
|
|
54
|
+
readonly toIndex: number;
|
|
55
|
+
/** Rectangle of the reference item, or `null` when unmeasurable. */
|
|
56
|
+
readonly rect: DropTargetRect | null;
|
|
57
|
+
/** Zero-thickness line along the drop edge; `null` for `"inside"` drops. */
|
|
58
|
+
readonly line: DropTargetRect | null;
|
|
59
|
+
}
|
|
60
|
+
/** Context handed to announcement builders before speaking to assistive tech. */
|
|
61
|
+
interface SortableAnnouncementContext {
|
|
62
|
+
readonly pointerType: DragPointerType;
|
|
63
|
+
readonly key: string;
|
|
64
|
+
readonly label: string;
|
|
65
|
+
/** Zero-based indexes; built-in messages render them one-based. */
|
|
66
|
+
readonly fromIndex: number;
|
|
67
|
+
readonly toIndex: number;
|
|
68
|
+
readonly count: number;
|
|
69
|
+
readonly overKey: string | null;
|
|
70
|
+
readonly overLabel: string | null;
|
|
71
|
+
readonly position: SortablePosition | null;
|
|
72
|
+
}
|
|
73
|
+
/** Localizable builders for grab, move, drop, and cancel announcements. */
|
|
74
|
+
interface SortableAnnouncements {
|
|
75
|
+
/** Spoken when an item is picked up. Return `null` to stay silent. */
|
|
76
|
+
readonly grab?: (context: SortableAnnouncementContext) => string | null;
|
|
77
|
+
/** Spoken when the projected destination changes. */
|
|
78
|
+
readonly move?: (context: SortableAnnouncementContext) => string | null;
|
|
79
|
+
/** Spoken after a committed drop. */
|
|
80
|
+
readonly drop?: (context: SortableAnnouncementContext) => string | null;
|
|
81
|
+
/** Spoken after a canceled sort. */
|
|
82
|
+
readonly cancel?: (context: SortableAnnouncementContext) => string | null;
|
|
83
|
+
}
|
|
84
|
+
/** Options shared by `createSortable` and `useSortable`. */
|
|
85
|
+
interface SortableOptions {
|
|
86
|
+
/**
|
|
87
|
+
* Spatial arrangement deciding drop edges and arrow-key geometry.
|
|
88
|
+
*
|
|
89
|
+
* @default "vertical"
|
|
90
|
+
*/
|
|
91
|
+
readonly orientation?: MaybeRefOrGetter<SortableOrientation | undefined>;
|
|
92
|
+
/**
|
|
93
|
+
* Column count used by grid arrow-key geometry.
|
|
94
|
+
* The resolved value must be a finite integer greater than zero.
|
|
95
|
+
*
|
|
96
|
+
* @default 1
|
|
97
|
+
*/
|
|
98
|
+
readonly columns?: MaybeRefOrGetter<number | undefined>;
|
|
99
|
+
/**
|
|
100
|
+
* Writing direction that flips horizontal and grid arrow keys.
|
|
101
|
+
*
|
|
102
|
+
* @default "ltr"
|
|
103
|
+
*/
|
|
104
|
+
readonly direction?: MaybeRefOrGetter<SortableDirection | undefined>;
|
|
105
|
+
/**
|
|
106
|
+
* Allow `"inside"` drops so nested trees can re-parent items.
|
|
107
|
+
*
|
|
108
|
+
* @default false
|
|
109
|
+
*/
|
|
110
|
+
readonly nesting?: MaybeRefOrGetter<boolean | undefined>;
|
|
111
|
+
/**
|
|
112
|
+
* Suppress new sorts and cancel the active sort on its next event.
|
|
113
|
+
*
|
|
114
|
+
* @default false
|
|
115
|
+
*/
|
|
116
|
+
readonly isDisabled?: MaybeRefOrGetter<boolean | undefined>;
|
|
117
|
+
/**
|
|
118
|
+
* Chebyshev distance in CSS pixels a pointer must travel before a sort
|
|
119
|
+
* starts. The resolved value must be finite and greater than or equal to zero.
|
|
120
|
+
*
|
|
121
|
+
* @default 4
|
|
122
|
+
*/
|
|
123
|
+
readonly startDistance?: MaybeRefOrGetter<number | undefined>;
|
|
124
|
+
/**
|
|
125
|
+
* Overrides merged over the built-in English announcement builders.
|
|
126
|
+
*
|
|
127
|
+
* @default built-in English announcements
|
|
128
|
+
*/
|
|
129
|
+
readonly announcements?: SortableAnnouncements;
|
|
130
|
+
/** Called exactly once when an item is picked up. */
|
|
131
|
+
readonly onSortStart?: (event: SortStartEvent) => void;
|
|
132
|
+
/** Called when the projected destination changes before a drop. */
|
|
133
|
+
readonly onSortPreview?: (event: SortPreviewEvent) => void;
|
|
134
|
+
/** Called exactly once when a completed drop commits the move. */
|
|
135
|
+
readonly onSortCommit?: (event: SortCommitEvent) => void;
|
|
136
|
+
/** Called exactly once when a sort is canceled; the item must return. */
|
|
137
|
+
readonly onSortCancel?: (event: SortCancelEvent) => void;
|
|
138
|
+
}
|
|
139
|
+
/** Declaration of one sortable item owned by a controller. */
|
|
140
|
+
interface SortableItemOptions {
|
|
141
|
+
/** Stable key unique among this controller's items. */
|
|
142
|
+
readonly key: string;
|
|
143
|
+
/** Element that owns this item's geometry and document order. */
|
|
144
|
+
readonly element: MaybeRefOrGetter<Element | null | undefined>;
|
|
145
|
+
/**
|
|
146
|
+
* Viewport rectangle used for hit testing and indicator geometry.
|
|
147
|
+
*
|
|
148
|
+
* @default the element's `getBoundingClientRect()`
|
|
149
|
+
*/
|
|
150
|
+
readonly getRect?: () => DropTargetRect | DOMRectReadOnly | null | undefined;
|
|
151
|
+
/**
|
|
152
|
+
* Human-readable name used by announcements.
|
|
153
|
+
*
|
|
154
|
+
* @default the item key
|
|
155
|
+
*/
|
|
156
|
+
readonly label?: MaybeRefOrGetter<string | undefined>;
|
|
157
|
+
/**
|
|
158
|
+
* Suppress sorting this item; it remains a valid drop reference.
|
|
159
|
+
*
|
|
160
|
+
* @default false
|
|
161
|
+
*/
|
|
162
|
+
readonly isDisabled?: MaybeRefOrGetter<boolean | undefined>;
|
|
163
|
+
}
|
|
164
|
+
/** Live registration owned by one sortable item. */
|
|
165
|
+
interface SortableItemRegistration {
|
|
166
|
+
/** Key this registration was created with. */
|
|
167
|
+
readonly key: string;
|
|
168
|
+
/** Whether this item owns the active sort. */
|
|
169
|
+
readonly isDragging: Readonly<ShallowRef<boolean>>;
|
|
170
|
+
/** Stable native handlers to spread or merge onto one item or its handle. */
|
|
171
|
+
readonly itemProps: Readonly<DragSourceProps>;
|
|
172
|
+
/** Remove the item; its active sort is canceled first. */
|
|
173
|
+
readonly dispose: () => void;
|
|
174
|
+
}
|
|
175
|
+
/** Stateful sortable coordinator with explicit ownership and disposal. */
|
|
176
|
+
interface SortableController {
|
|
177
|
+
/** Whether a pointer or keyboard sort is active. */
|
|
178
|
+
readonly isSorting: Readonly<ShallowRef<boolean>>;
|
|
179
|
+
/** Key of the item that owns the active sort, or `null`. */
|
|
180
|
+
readonly activeKey: Readonly<ShallowRef<string | null>>;
|
|
181
|
+
/** Indicator state for the projected destination, or `null`. */
|
|
182
|
+
readonly indicator: Readonly<ShallowRef<SortableIndicatorState | null>>;
|
|
183
|
+
/** Register one sortable item. Duplicate keys are rejected. */
|
|
184
|
+
readonly registerItem: (options: SortableItemOptions) => SortableItemRegistration;
|
|
185
|
+
/**
|
|
186
|
+
* Cancel the active sort, including one that has not started yet.
|
|
187
|
+
*
|
|
188
|
+
* @returns `true` when an owned sort was settled.
|
|
189
|
+
* @throws An error carrying `VIZE_UI_SORTABLE_DISPOSED` after disposal.
|
|
190
|
+
*/
|
|
191
|
+
readonly cancel: () => boolean;
|
|
192
|
+
/** Release listeners, the live region, and reactive state without callbacks. */
|
|
193
|
+
readonly dispose: () => void;
|
|
194
|
+
}
|
|
195
|
+
//#endregion
|
|
196
|
+
//#region src/families/interaction/sortable/sortable-internal.d.ts
|
|
197
|
+
/** Built-in English announcement builders; consumers override to localize. */
|
|
198
|
+
declare const defaultSortableAnnouncements: Required<SortableAnnouncements>;
|
|
199
|
+
//#endregion
|
|
200
|
+
//#region src/families/interaction/sortable/sortable.d.ts
|
|
201
|
+
/** Create an SSR-safe sortable coordinator for lists, grids, and trees. */
|
|
202
|
+
declare function createSortable(options?: SortableOptions): SortableController;
|
|
203
|
+
/** Create a sortable coordinator disposed with the current Vue effect scope. */
|
|
204
|
+
declare function useSortable(options?: SortableOptions): SortableController;
|
|
205
|
+
//#endregion
|
|
206
|
+
export { SortableOptions as _, SortCommitEvent as a, SortableAnnouncementContext as c, SortableDirection as d, SortableEvent as f, SortableItemRegistration as g, SortableItemOptions as h, SortCancelEvent as i, SortableAnnouncements as l, SortableIndicatorState as m, useSortable as n, SortPreviewEvent as o, SortableEventType as p, defaultSortableAnnouncements as r, SortStartEvent as s, createSortable as t, SortableController as u, SortableOrientation as v, SortablePosition as y };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { _ as SortableOptions, a as SortCommitEvent, c as SortableAnnouncementContext, d as SortableDirection, f as SortableEvent, g as SortableItemRegistration, h as SortableItemOptions, i as SortCancelEvent, l as SortableAnnouncements, m as SortableIndicatorState, n as useSortable, o as SortPreviewEvent, p as SortableEventType, r as defaultSortableAnnouncements, s as SortStartEvent, t as createSortable, u as SortableController, v as SortableOrientation, y as SortablePosition } from "./sortable-DQl92bwo.mjs";
|
|
2
|
+
export { type SortCancelEvent, type SortCommitEvent, type SortPreviewEvent, type SortStartEvent, type SortableAnnouncementContext, type SortableAnnouncements, type SortableController, type SortableDirection, type SortableEvent, type SortableEventType, type SortableIndicatorState, type SortableItemOptions, type SortableItemRegistration, type SortableOptions, type SortableOrientation, type SortablePosition, createSortable, defaultSortableAnnouncements, useSortable };
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-BOaGB7Aw.mjs";
|
|
2
|
+
import { computed, createBlock, defineComponent, mergeProps, openBlock, resolveDynamicComponent, useTemplateRef } from "vue";
|
|
3
|
+
const SPACER_CROSS_AXIS_SIZE = "auto";
|
|
4
|
+
function defaultSpacerDisplay(axis) {
|
|
5
|
+
return axis === "block" ? "block" : "inline-block";
|
|
6
|
+
}
|
|
7
|
+
function resolveInlineSize(axis, size) {
|
|
8
|
+
return axis === "inline" || axis === "both" ? size : SPACER_CROSS_AXIS_SIZE;
|
|
9
|
+
}
|
|
10
|
+
function resolveBlockSize(axis, size) {
|
|
11
|
+
return axis === "block" || axis === "both" ? size : SPACER_CROSS_AXIS_SIZE;
|
|
12
|
+
}
|
|
13
|
+
/** Resolve public spacer props into a native CSS logical-size contract. */
|
|
14
|
+
function resolveSpacerLayout(options) {
|
|
15
|
+
const axis = options.axis ?? "block";
|
|
16
|
+
const size = options.size ?? "1rem";
|
|
17
|
+
const inlineSize = options.inlineSize ?? resolveInlineSize(axis, size);
|
|
18
|
+
const blockSize = options.blockSize ?? resolveBlockSize(axis, size);
|
|
19
|
+
const display = options.display ?? defaultSpacerDisplay(axis);
|
|
20
|
+
return {
|
|
21
|
+
axis,
|
|
22
|
+
blockSize,
|
|
23
|
+
display,
|
|
24
|
+
inlineSize,
|
|
25
|
+
state: "sized",
|
|
26
|
+
style: {
|
|
27
|
+
"--vize-ui-spacer-block-size": blockSize,
|
|
28
|
+
"--vize-ui-spacer-inline-size": inlineSize,
|
|
29
|
+
blockSize: "var(--vize-ui-spacer-block-size)",
|
|
30
|
+
display,
|
|
31
|
+
inlineSize: "var(--vize-ui-spacer-inline-size)"
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
//#endregion
|
|
36
|
+
//#region src/families/layout/spacer/spacer.vue
|
|
37
|
+
var spacer_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
38
|
+
__name: "spacer",
|
|
39
|
+
props: {
|
|
40
|
+
as: {
|
|
41
|
+
type: null,
|
|
42
|
+
required: false,
|
|
43
|
+
default: "span"
|
|
44
|
+
},
|
|
45
|
+
axis: {
|
|
46
|
+
type: String,
|
|
47
|
+
required: false,
|
|
48
|
+
default: "block"
|
|
49
|
+
},
|
|
50
|
+
size: {
|
|
51
|
+
type: String,
|
|
52
|
+
required: false,
|
|
53
|
+
default: "1rem"
|
|
54
|
+
},
|
|
55
|
+
inlineSize: {
|
|
56
|
+
type: String,
|
|
57
|
+
required: false,
|
|
58
|
+
default: () => void 0
|
|
59
|
+
},
|
|
60
|
+
blockSize: {
|
|
61
|
+
type: String,
|
|
62
|
+
required: false,
|
|
63
|
+
default: () => void 0
|
|
64
|
+
},
|
|
65
|
+
display: {
|
|
66
|
+
type: String,
|
|
67
|
+
required: false,
|
|
68
|
+
default: () => void 0
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
setup(__props, { expose: __expose }) {
|
|
72
|
+
const element = useTemplateRef("element");
|
|
73
|
+
const layout = computed(() => resolveSpacerLayout({
|
|
74
|
+
axis: __props.axis,
|
|
75
|
+
blockSize: __props.blockSize,
|
|
76
|
+
display: __props.display,
|
|
77
|
+
inlineSize: __props.inlineSize,
|
|
78
|
+
size: __props.size
|
|
79
|
+
}));
|
|
80
|
+
const axisState = computed(() => layout.value.axis);
|
|
81
|
+
const blockSizeState = computed(() => layout.value.blockSize);
|
|
82
|
+
const displayState = computed(() => layout.value.display);
|
|
83
|
+
const inlineSizeState = computed(() => layout.value.inlineSize);
|
|
84
|
+
const spacerState = computed(() => layout.value.state);
|
|
85
|
+
const spacerStyle = computed(() => layout.value.style);
|
|
86
|
+
const intrinsicProps = computed(() => ({ style: spacerStyle.value }));
|
|
87
|
+
__expose({
|
|
88
|
+
axis: axisState,
|
|
89
|
+
blockSize: blockSizeState,
|
|
90
|
+
display: displayState,
|
|
91
|
+
element,
|
|
92
|
+
inlineSize: inlineSizeState
|
|
93
|
+
});
|
|
94
|
+
return (_ctx, _cache) => {
|
|
95
|
+
return openBlock(), createBlock(resolveDynamicComponent(__props.as), mergeProps({
|
|
96
|
+
ref_key: "element",
|
|
97
|
+
ref: element,
|
|
98
|
+
"aria-hidden": "true",
|
|
99
|
+
part: "root",
|
|
100
|
+
"data-vize-ui": "spacer",
|
|
101
|
+
"data-state": spacerState.value,
|
|
102
|
+
"data-axis": axisState.value,
|
|
103
|
+
"data-display": displayState.value,
|
|
104
|
+
"data-vize-spacer-inline-size": inlineSizeState.value,
|
|
105
|
+
"data-vize-spacer-block-size": blockSizeState.value
|
|
106
|
+
}, intrinsicProps.value), null, 16, [
|
|
107
|
+
"data-state",
|
|
108
|
+
"data-axis",
|
|
109
|
+
"data-display",
|
|
110
|
+
"data-vize-spacer-inline-size",
|
|
111
|
+
"data-vize-spacer-block-size"
|
|
112
|
+
]);
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
}), [["__scopeId", "data-v-95ae3a30"]]);
|
|
116
|
+
//#endregion
|
|
117
|
+
export { spacer_default as t };
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { t as PrimitiveAs } from "./primitive-BE2mdUcw.mjs";
|
|
2
|
+
import { ComponentPublicInstance } from "vue";
|
|
3
|
+
|
|
4
|
+
//#region src/families/layout/spacer/spacer-types.d.ts
|
|
5
|
+
/** Logical axis controlled by {@link Spacer}. */
|
|
6
|
+
type SpacerAxis = "block" | "inline" | "both";
|
|
7
|
+
/** CSS display modes supported by {@link Spacer}. */
|
|
8
|
+
type SpacerDisplay = "block" | "inline-block" | "flex" | "inline-flex" | "grid" | "inline-grid";
|
|
9
|
+
/** Native CSS length, percentage, keyword, or custom property used by {@link Spacer}. */
|
|
10
|
+
type SpacerSize = string;
|
|
11
|
+
/** Rendered data state for {@link Spacer}. */
|
|
12
|
+
type SpacerState = "sized";
|
|
13
|
+
/** Rendered value exposed by {@link Spacer}. */
|
|
14
|
+
type SpacerElement = Element | ComponentPublicInstance;
|
|
15
|
+
/** Inline style applied to the rendered host for native logical sizing. */
|
|
16
|
+
interface SpacerStyle {
|
|
17
|
+
/** Native CSS custom property read by the intrinsic inline-size style. */
|
|
18
|
+
readonly "--vize-ui-spacer-inline-size": SpacerSize;
|
|
19
|
+
/** Native CSS custom property read by the intrinsic block-size style. */
|
|
20
|
+
readonly "--vize-ui-spacer-block-size": SpacerSize;
|
|
21
|
+
/** CSS display mode required for the selected spacer axis. */
|
|
22
|
+
readonly display: SpacerDisplay;
|
|
23
|
+
/** Native logical inline size declaration. */
|
|
24
|
+
readonly inlineSize: string;
|
|
25
|
+
/** Native logical block size declaration. */
|
|
26
|
+
readonly blockSize: string;
|
|
27
|
+
}
|
|
28
|
+
/** Resolved layout state published by {@link Spacer}. */
|
|
29
|
+
interface SpacerResolvedLayout {
|
|
30
|
+
/** Logical axis controlled by the spacer. */
|
|
31
|
+
readonly axis: SpacerAxis;
|
|
32
|
+
/** Resolved logical inline size. */
|
|
33
|
+
readonly inlineSize: SpacerSize;
|
|
34
|
+
/** Resolved logical block size. */
|
|
35
|
+
readonly blockSize: SpacerSize;
|
|
36
|
+
/** CSS display mode applied to the host. */
|
|
37
|
+
readonly display: SpacerDisplay;
|
|
38
|
+
/** Rendered data state. */
|
|
39
|
+
readonly state: SpacerState;
|
|
40
|
+
/** Native logical-size style object applied to the host. */
|
|
41
|
+
readonly style: SpacerStyle;
|
|
42
|
+
}
|
|
43
|
+
/** Public instance state exposed by the spacer component. */
|
|
44
|
+
interface SpacerExpose {
|
|
45
|
+
/** Rendered host element or component instance. */
|
|
46
|
+
readonly element: SpacerElement | null;
|
|
47
|
+
/** Logical axis controlled by the spacer. */
|
|
48
|
+
readonly axis: SpacerAxis;
|
|
49
|
+
/** Resolved logical inline size. */
|
|
50
|
+
readonly inlineSize: SpacerSize;
|
|
51
|
+
/** Resolved logical block size. */
|
|
52
|
+
readonly blockSize: SpacerSize;
|
|
53
|
+
/** CSS display mode applied to the host. */
|
|
54
|
+
readonly display: SpacerDisplay;
|
|
55
|
+
}
|
|
56
|
+
//#endregion
|
|
57
|
+
//#region src/families/layout/spacer/spacer.vue.d.ts
|
|
58
|
+
type __VLS_Props = {
|
|
59
|
+
/**
|
|
60
|
+
* Native element, custom element, SVG element, or component to render.
|
|
61
|
+
*
|
|
62
|
+
* @default "span"
|
|
63
|
+
*/
|
|
64
|
+
readonly as?: PrimitiveAs;
|
|
65
|
+
/**
|
|
66
|
+
* Logical axis that receives `size` when explicit axis sizes are omitted.
|
|
67
|
+
*
|
|
68
|
+
* @default "block"
|
|
69
|
+
*/
|
|
70
|
+
readonly axis?: SpacerAxis;
|
|
71
|
+
/**
|
|
72
|
+
* Native CSS size applied to the selected axis.
|
|
73
|
+
*
|
|
74
|
+
* @default "1rem"
|
|
75
|
+
*/
|
|
76
|
+
readonly size?: SpacerSize;
|
|
77
|
+
/**
|
|
78
|
+
* Native CSS logical inline size. Overrides `size` for the inline axis.
|
|
79
|
+
*
|
|
80
|
+
* @default undefined
|
|
81
|
+
*/
|
|
82
|
+
readonly inlineSize?: SpacerSize;
|
|
83
|
+
/**
|
|
84
|
+
* Native CSS logical block size. Overrides `size` for the block axis.
|
|
85
|
+
*
|
|
86
|
+
* @default undefined
|
|
87
|
+
*/
|
|
88
|
+
readonly blockSize?: SpacerSize;
|
|
89
|
+
/**
|
|
90
|
+
* CSS display mode applied to the spacer host.
|
|
91
|
+
*
|
|
92
|
+
* @default "block" for block axis, otherwise "inline-block"
|
|
93
|
+
*/
|
|
94
|
+
readonly display?: SpacerDisplay;
|
|
95
|
+
};
|
|
96
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
97
|
+
axis: import("vue").ComputedRef<SpacerAxis>;
|
|
98
|
+
blockSize: import("vue").ComputedRef<string>;
|
|
99
|
+
display: import("vue").ComputedRef<SpacerDisplay>;
|
|
100
|
+
element: Readonly<import("vue").ShallowRef<SpacerElement | null>>;
|
|
101
|
+
inlineSize: import("vue").ComputedRef<string>;
|
|
102
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
103
|
+
declare const _default: typeof __VLS_export;
|
|
104
|
+
//#endregion
|
|
105
|
+
export { SpacerExpose as a, SpacerState as c, SpacerElement as i, SpacerStyle as l, SpacerAxis as n, SpacerResolvedLayout as o, SpacerDisplay as r, SpacerSize as s, _default as t };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { a as SpacerExpose, c as SpacerState, i as SpacerElement, l as SpacerStyle, n as SpacerAxis, o as SpacerResolvedLayout, r as SpacerDisplay, s as SpacerSize, t as _default } from "./spacer-DFstG4G-.mjs";
|
|
2
|
+
export { _default as Spacer, type SpacerAxis, type SpacerDisplay, type SpacerElement, type SpacerExpose, type SpacerResolvedLayout, type SpacerSize, type SpacerState, type SpacerStyle };
|
package/dist/spacer.mjs
ADDED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { l as CollectionKey, p as CollectionRegistry, s as CollectionItem } from "./collection-
|
|
1
|
+
import { l as CollectionKey, p as CollectionRegistry, s as CollectionItem } from "./collection-BaPf8lgw.mjs";
|
|
2
2
|
import { MaybeRefOrGetter } from "vue";
|
|
3
3
|
|
|
4
|
-
//#region src/spatial-navigation-types.d.ts
|
|
4
|
+
//#region src/families/interaction/spatial-navigation/spatial-navigation-types.d.ts
|
|
5
5
|
/** Physical direction requested by spatial navigation. */
|
|
6
6
|
type SpatialNavigationDirection = "down" | "left" | "right" | "up";
|
|
7
7
|
/** Candidate ranking behavior aligned with CSS Spatial Navigation Level 1. */
|
|
@@ -97,7 +97,7 @@ interface SpatialNavigationController<Key extends CollectionKey> {
|
|
|
97
97
|
readonly dispose: () => void;
|
|
98
98
|
}
|
|
99
99
|
//#endregion
|
|
100
|
-
//#region src/spatial-navigation.d.ts
|
|
100
|
+
//#region src/families/interaction/spatial-navigation/spatial-navigation.d.ts
|
|
101
101
|
/** Create a geometry-driven, SSR-safe arrow navigation controller. */
|
|
102
102
|
declare function createSpatialNavigation<Key extends CollectionKey, Value>(options: SpatialNavigationOptions<Key, Value>): SpatialNavigationController<Key>;
|
|
103
103
|
/** Create a spatial controller disposed with the current Vue effect scope. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getCurrentScope, onScopeDispose, toValue } from "vue";
|
|
2
|
-
//#region src/spatial-navigation-internal.ts
|
|
2
|
+
//#region src/families/interaction/spatial-navigation/spatial-navigation-internal.ts
|
|
3
3
|
const optionDiagnostic = "VIZE_UI_SPATIAL_NAVIGATION_OPTION";
|
|
4
4
|
const rectDiagnostic = "VIZE_UI_SPATIAL_NAVIGATION_RECT";
|
|
5
5
|
function capture(errors, callback) {
|
|
@@ -153,7 +153,7 @@ function isEditableDescendant(event) {
|
|
|
153
153
|
return false;
|
|
154
154
|
}
|
|
155
155
|
//#endregion
|
|
156
|
-
//#region src/spatial-navigation.ts
|
|
156
|
+
//#region src/families/interaction/spatial-navigation/spatial-navigation.ts
|
|
157
157
|
const disposedDiagnostic = "VIZE_UI_SPATIAL_NAVIGATION_DISPOSED";
|
|
158
158
|
const originDiagnostic = "VIZE_UI_SPATIAL_NAVIGATION_ORIGIN";
|
|
159
159
|
const setupDiagnostic = "VIZE_UI_SPATIAL_NAVIGATION_SETUP";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as SpatialNavigationBoundaryBehavior, c as SpatialNavigationDirection, d as SpatialNavigationProps, f as SpatialNavigationRect, i as SpatialNavigationBoundary, l as SpatialNavigationFocusBehavior, n as useSpatialNavigation, o as SpatialNavigationChange, r as SpatialNavigationAlgorithm, s as SpatialNavigationController, t as createSpatialNavigation, u as SpatialNavigationOptions } from "./spatial-navigation-
|
|
1
|
+
import { a as SpatialNavigationBoundaryBehavior, c as SpatialNavigationDirection, d as SpatialNavigationProps, f as SpatialNavigationRect, i as SpatialNavigationBoundary, l as SpatialNavigationFocusBehavior, n as useSpatialNavigation, o as SpatialNavigationChange, r as SpatialNavigationAlgorithm, s as SpatialNavigationController, t as createSpatialNavigation, u as SpatialNavigationOptions } from "./spatial-navigation-BPVJGSiJ.mjs";
|
|
2
2
|
export { type SpatialNavigationAlgorithm, type SpatialNavigationBoundary, type SpatialNavigationBoundaryBehavior, type SpatialNavigationChange, type SpatialNavigationController, type SpatialNavigationDirection, type SpatialNavigationFocusBehavior, type SpatialNavigationOptions, type SpatialNavigationProps, type SpatialNavigationRect, createSpatialNavigation, useSpatialNavigation };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as useSpatialNavigation, t as createSpatialNavigation } from "./spatial-navigation-
|
|
1
|
+
import { n as useSpatialNavigation, t as createSpatialNavigation } from "./spatial-navigation-DwcUYMyc.mjs";
|
|
2
2
|
export { createSpatialNavigation, useSpatialNavigation };
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import { t as PrimitiveAs } from "./primitive-BE2mdUcw.mjs";
|
|
2
|
+
import { ComponentPublicInstance, ComputedRef } from "vue";
|
|
3
|
+
|
|
4
|
+
//#region src/families/feedback/spinner/spinner-types.d.ts
|
|
5
|
+
/** Accessibility role requested by the Spinner primitive. */
|
|
6
|
+
type SpinnerRole = "progressbar" | "status";
|
|
7
|
+
/** Accessibility semantics resolved from Spinner props. */
|
|
8
|
+
type SpinnerAriaState = "decorative" | SpinnerRole;
|
|
9
|
+
/** Progress value state exposed when Spinner uses `role="progressbar"`. */
|
|
10
|
+
type SpinnerProgressState = "determinate" | "indeterminate" | "none";
|
|
11
|
+
/** Visibility and loading state mirrored to `data-state`. */
|
|
12
|
+
type SpinnerState = "complete" | "hidden" | "idle" | "loading";
|
|
13
|
+
/** Rendered value exposed by {@link Spinner}. */
|
|
14
|
+
type SpinnerElement = Element | ComponentPublicInstance;
|
|
15
|
+
/** State exposed to the default Spinner slot. */
|
|
16
|
+
interface SpinnerSlotState {
|
|
17
|
+
/** Whether the spinner represents pending work. */
|
|
18
|
+
readonly loading: boolean;
|
|
19
|
+
/** Whether the spinner remains visible in layout. */
|
|
20
|
+
readonly visible: boolean;
|
|
21
|
+
/** Stable state token for styling and tests. */
|
|
22
|
+
readonly state: SpinnerState;
|
|
23
|
+
/** Resolved accessibility semantics for the rendered host. */
|
|
24
|
+
readonly ariaState: SpinnerAriaState;
|
|
25
|
+
/** Progress value policy used by the rendered host. */
|
|
26
|
+
readonly progressState: SpinnerProgressState;
|
|
27
|
+
/** Current normalized value, or `null` when indeterminate. */
|
|
28
|
+
readonly value: number | null;
|
|
29
|
+
/** Normalized lower progress bound. */
|
|
30
|
+
readonly min: number;
|
|
31
|
+
/** Normalized upper progress bound. */
|
|
32
|
+
readonly max: number;
|
|
33
|
+
/** Current completion percentage from 0 to 100, or `null` when indeterminate. */
|
|
34
|
+
readonly percent: number | null;
|
|
35
|
+
/** Whether determinate progress has reached the normalized maximum. */
|
|
36
|
+
readonly complete: boolean;
|
|
37
|
+
}
|
|
38
|
+
/** Public component instance exposed by the Spinner primitive. */
|
|
39
|
+
interface SpinnerExpose extends SpinnerSlotState {
|
|
40
|
+
/** Rendered host element or component instance. */
|
|
41
|
+
readonly element: SpinnerElement | null;
|
|
42
|
+
}
|
|
43
|
+
//#endregion
|
|
44
|
+
//#region src/families/feedback/spinner/spinner.vue.d.ts
|
|
45
|
+
type __VLS_Props = {
|
|
46
|
+
/**
|
|
47
|
+
* Native element, custom element, or component to render.
|
|
48
|
+
*
|
|
49
|
+
* @default "span"
|
|
50
|
+
*/
|
|
51
|
+
readonly as?: PrimitiveAs;
|
|
52
|
+
/**
|
|
53
|
+
* Consumer-owned spinner id. `null` and `undefined` select a deterministic fallback.
|
|
54
|
+
*
|
|
55
|
+
* @default undefined
|
|
56
|
+
*/
|
|
57
|
+
readonly id?: string | null;
|
|
58
|
+
/**
|
|
59
|
+
* Whether the spinner represents pending work.
|
|
60
|
+
*
|
|
61
|
+
* @default true
|
|
62
|
+
*/
|
|
63
|
+
readonly loading?: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* Whether the spinner remains rendered and visible in layout.
|
|
66
|
+
*
|
|
67
|
+
* @default true
|
|
68
|
+
*/
|
|
69
|
+
readonly visible?: boolean;
|
|
70
|
+
/**
|
|
71
|
+
* Accessibility semantics for the host.
|
|
72
|
+
*
|
|
73
|
+
* @default "status"
|
|
74
|
+
*/
|
|
75
|
+
readonly role?: SpinnerRole;
|
|
76
|
+
/**
|
|
77
|
+
* Optional determinate progress value for `role="progressbar"`.
|
|
78
|
+
*
|
|
79
|
+
* @default null
|
|
80
|
+
*/
|
|
81
|
+
readonly value?: number | null;
|
|
82
|
+
/**
|
|
83
|
+
* Lower progress bound for `role="progressbar"`.
|
|
84
|
+
*
|
|
85
|
+
* @default 0
|
|
86
|
+
*/
|
|
87
|
+
readonly min?: number;
|
|
88
|
+
/**
|
|
89
|
+
* Upper progress bound for `role="progressbar"`.
|
|
90
|
+
*
|
|
91
|
+
* @default 100
|
|
92
|
+
*/
|
|
93
|
+
readonly max?: number;
|
|
94
|
+
/**
|
|
95
|
+
* Whether status announcements should be atomic.
|
|
96
|
+
*
|
|
97
|
+
* @default true
|
|
98
|
+
*/
|
|
99
|
+
readonly atomic?: boolean;
|
|
100
|
+
/**
|
|
101
|
+
* Hide the spinner from assistive technology and suppress status/progress semantics.
|
|
102
|
+
*
|
|
103
|
+
* @default undefined
|
|
104
|
+
*/
|
|
105
|
+
readonly ariaHidden?: boolean;
|
|
106
|
+
/**
|
|
107
|
+
* Accessible name when no visible label or `aria-labelledby` supplies one.
|
|
108
|
+
*
|
|
109
|
+
* @default undefined
|
|
110
|
+
*/
|
|
111
|
+
readonly ariaLabel?: string;
|
|
112
|
+
/**
|
|
113
|
+
* Space-separated ids that label the spinner.
|
|
114
|
+
*
|
|
115
|
+
* @default undefined
|
|
116
|
+
*/
|
|
117
|
+
readonly ariaLabelledby?: string;
|
|
118
|
+
/**
|
|
119
|
+
* Space-separated ids that describe the spinner.
|
|
120
|
+
*
|
|
121
|
+
* @default undefined
|
|
122
|
+
*/
|
|
123
|
+
readonly ariaDescribedby?: string;
|
|
124
|
+
/**
|
|
125
|
+
* Human-readable progress value text for assistive technology.
|
|
126
|
+
*
|
|
127
|
+
* @default undefined
|
|
128
|
+
*/
|
|
129
|
+
readonly ariaValueText?: string;
|
|
130
|
+
};
|
|
131
|
+
type __VLS_Slots = {
|
|
132
|
+
/** Optional spinner contents. Receives current state for composition. */default(props: SpinnerSlotState): unknown;
|
|
133
|
+
};
|
|
134
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
135
|
+
ariaState: ComputedRef<SpinnerAriaState>;
|
|
136
|
+
complete: ComputedRef<boolean>;
|
|
137
|
+
element: Readonly<import("vue").ShallowRef<SpinnerElement | null>>;
|
|
138
|
+
loading: ComputedRef<boolean>;
|
|
139
|
+
max: ComputedRef<number>;
|
|
140
|
+
min: ComputedRef<number>;
|
|
141
|
+
percent: ComputedRef<number | null>;
|
|
142
|
+
progressState: ComputedRef<SpinnerProgressState>;
|
|
143
|
+
state: ComputedRef<SpinnerState>;
|
|
144
|
+
value: ComputedRef<number | null>;
|
|
145
|
+
visible: ComputedRef<boolean>;
|
|
146
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
147
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
148
|
+
declare const _default: typeof __VLS_export;
|
|
149
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
150
|
+
new (): {
|
|
151
|
+
$slots: S;
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
//#endregion
|
|
155
|
+
export { SpinnerProgressState as a, SpinnerState as c, SpinnerExpose as i, SpinnerAriaState as n, SpinnerRole as o, SpinnerElement as r, SpinnerSlotState as s, _default as t };
|