@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,256 @@
|
|
|
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 { useControllableState } from "./controllable-state.mjs";
|
|
4
|
+
import { computed, createElementBlock, defineComponent, nextTick, openBlock, ref, unref, useTemplateRef, watch, watchEffect } from "vue";
|
|
5
|
+
//#region src/families/form/input/text-input.vue?vue&type=script&setup=true&lang.ts
|
|
6
|
+
const _hoisted_1 = [
|
|
7
|
+
"id",
|
|
8
|
+
"name",
|
|
9
|
+
"type",
|
|
10
|
+
"value",
|
|
11
|
+
"disabled",
|
|
12
|
+
"readonly",
|
|
13
|
+
"required",
|
|
14
|
+
"placeholder",
|
|
15
|
+
"autocomplete",
|
|
16
|
+
"inputmode",
|
|
17
|
+
"enterkeyhint",
|
|
18
|
+
"aria-label",
|
|
19
|
+
"aria-labelledby",
|
|
20
|
+
"aria-describedby",
|
|
21
|
+
"aria-errormessage",
|
|
22
|
+
"aria-invalid",
|
|
23
|
+
"data-state",
|
|
24
|
+
"data-empty",
|
|
25
|
+
"data-composing"
|
|
26
|
+
];
|
|
27
|
+
//#endregion
|
|
28
|
+
//#region src/families/form/input/text-input.vue
|
|
29
|
+
var text_input_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
30
|
+
__name: "text-input",
|
|
31
|
+
props: {
|
|
32
|
+
id: {
|
|
33
|
+
type: [String, null],
|
|
34
|
+
required: false,
|
|
35
|
+
default: () => void 0
|
|
36
|
+
},
|
|
37
|
+
name: {
|
|
38
|
+
type: String,
|
|
39
|
+
required: false,
|
|
40
|
+
default: () => void 0
|
|
41
|
+
},
|
|
42
|
+
type: {
|
|
43
|
+
type: String,
|
|
44
|
+
required: false,
|
|
45
|
+
default: "text"
|
|
46
|
+
},
|
|
47
|
+
modelValue: {
|
|
48
|
+
type: String,
|
|
49
|
+
required: false,
|
|
50
|
+
default: () => void 0
|
|
51
|
+
},
|
|
52
|
+
defaultValue: {
|
|
53
|
+
type: String,
|
|
54
|
+
required: false,
|
|
55
|
+
default: ""
|
|
56
|
+
},
|
|
57
|
+
disabled: {
|
|
58
|
+
type: Boolean,
|
|
59
|
+
required: false,
|
|
60
|
+
default: false
|
|
61
|
+
},
|
|
62
|
+
readOnly: {
|
|
63
|
+
type: Boolean,
|
|
64
|
+
required: false,
|
|
65
|
+
default: false
|
|
66
|
+
},
|
|
67
|
+
required: {
|
|
68
|
+
type: Boolean,
|
|
69
|
+
required: false,
|
|
70
|
+
default: false
|
|
71
|
+
},
|
|
72
|
+
placeholder: {
|
|
73
|
+
type: String,
|
|
74
|
+
required: false,
|
|
75
|
+
default: () => void 0
|
|
76
|
+
},
|
|
77
|
+
autocomplete: {
|
|
78
|
+
type: String,
|
|
79
|
+
required: false,
|
|
80
|
+
default: () => void 0
|
|
81
|
+
},
|
|
82
|
+
inputMode: {
|
|
83
|
+
type: String,
|
|
84
|
+
required: false,
|
|
85
|
+
default: () => void 0
|
|
86
|
+
},
|
|
87
|
+
enterKeyHint: {
|
|
88
|
+
type: String,
|
|
89
|
+
required: false,
|
|
90
|
+
default: () => void 0
|
|
91
|
+
},
|
|
92
|
+
ariaLabel: {
|
|
93
|
+
type: String,
|
|
94
|
+
required: false,
|
|
95
|
+
default: () => void 0
|
|
96
|
+
},
|
|
97
|
+
ariaLabelledby: {
|
|
98
|
+
type: String,
|
|
99
|
+
required: false,
|
|
100
|
+
default: () => void 0
|
|
101
|
+
},
|
|
102
|
+
ariaDescribedby: {
|
|
103
|
+
type: String,
|
|
104
|
+
required: false,
|
|
105
|
+
default: () => void 0
|
|
106
|
+
},
|
|
107
|
+
ariaErrormessage: {
|
|
108
|
+
type: String,
|
|
109
|
+
required: false,
|
|
110
|
+
default: () => void 0
|
|
111
|
+
},
|
|
112
|
+
ariaInvalid: {
|
|
113
|
+
type: [Boolean, String],
|
|
114
|
+
required: false,
|
|
115
|
+
default: false
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
emits: [
|
|
119
|
+
"update:modelValue",
|
|
120
|
+
"input",
|
|
121
|
+
"change",
|
|
122
|
+
"compositionStart",
|
|
123
|
+
"compositionEnd"
|
|
124
|
+
],
|
|
125
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
126
|
+
const emit = __emit;
|
|
127
|
+
const element = useTemplateRef("element");
|
|
128
|
+
const controlId = useDeterministicId({
|
|
129
|
+
id: () => __props.id,
|
|
130
|
+
hint: "input"
|
|
131
|
+
});
|
|
132
|
+
const composing = ref(false);
|
|
133
|
+
let compositionInputValue;
|
|
134
|
+
const state = useControllableState({
|
|
135
|
+
value: () => __props.modelValue,
|
|
136
|
+
defaultValue: () => __props.defaultValue,
|
|
137
|
+
onChange: (value) => emit("update:modelValue", value)
|
|
138
|
+
});
|
|
139
|
+
const value = state.value;
|
|
140
|
+
const ariaInvalidValue = computed(() => {
|
|
141
|
+
if (__props.ariaInvalid === false) return void 0;
|
|
142
|
+
return __props.ariaInvalid === true ? "true" : __props.ariaInvalid;
|
|
143
|
+
});
|
|
144
|
+
const dataState = computed(() => {
|
|
145
|
+
if (__props.disabled) return "disabled";
|
|
146
|
+
return __props.readOnly ? "readonly" : "editable";
|
|
147
|
+
});
|
|
148
|
+
const dataEmpty = computed(() => value.value.length === 0 ? "true" : "false");
|
|
149
|
+
const renderedValue = computed(() => composing.value ? element.value?.value ?? value.value : value.value);
|
|
150
|
+
function syncNativeValue() {
|
|
151
|
+
if (composing.value) return;
|
|
152
|
+
if (element.value === null) return;
|
|
153
|
+
if (element.value.value !== value.value) element.value.value = value.value;
|
|
154
|
+
}
|
|
155
|
+
watchEffect(syncNativeValue);
|
|
156
|
+
watch(element, (input, _previous, onCleanup) => {
|
|
157
|
+
const form = input?.form;
|
|
158
|
+
if (form === void 0 || form === null) return;
|
|
159
|
+
const onReset = () => {
|
|
160
|
+
if (!state.controlled.value) state.reset();
|
|
161
|
+
nextTick(syncNativeValue);
|
|
162
|
+
};
|
|
163
|
+
form.addEventListener("reset", onReset);
|
|
164
|
+
onCleanup(() => form.removeEventListener("reset", onReset));
|
|
165
|
+
}, {
|
|
166
|
+
flush: "post",
|
|
167
|
+
immediate: true
|
|
168
|
+
});
|
|
169
|
+
function readInputValue(event) {
|
|
170
|
+
if (!(event.currentTarget instanceof HTMLInputElement)) return void 0;
|
|
171
|
+
return event.currentTarget.value;
|
|
172
|
+
}
|
|
173
|
+
function onInput(event) {
|
|
174
|
+
const next = readInputValue(event);
|
|
175
|
+
if (next === void 0) return;
|
|
176
|
+
if (composing.value) compositionInputValue = next;
|
|
177
|
+
state.set(next);
|
|
178
|
+
emit("input", next, event);
|
|
179
|
+
nextTick(syncNativeValue);
|
|
180
|
+
}
|
|
181
|
+
function onChange(event) {
|
|
182
|
+
const next = readInputValue(event);
|
|
183
|
+
if (next === void 0) return;
|
|
184
|
+
state.set(next);
|
|
185
|
+
emit("change", next, event);
|
|
186
|
+
nextTick(syncNativeValue);
|
|
187
|
+
}
|
|
188
|
+
function onCompositionStart(event) {
|
|
189
|
+
composing.value = true;
|
|
190
|
+
compositionInputValue = void 0;
|
|
191
|
+
emit("compositionStart", value.value, event);
|
|
192
|
+
}
|
|
193
|
+
function onCompositionEnd(event) {
|
|
194
|
+
composing.value = false;
|
|
195
|
+
const next = readInputValue(event);
|
|
196
|
+
if (next !== void 0 && next !== compositionInputValue) state.set(next);
|
|
197
|
+
compositionInputValue = void 0;
|
|
198
|
+
emit("compositionEnd", next ?? value.value, event);
|
|
199
|
+
nextTick(syncNativeValue);
|
|
200
|
+
}
|
|
201
|
+
/** Move focus to the native input. */
|
|
202
|
+
function focus(options) {
|
|
203
|
+
element.value?.focus(options);
|
|
204
|
+
}
|
|
205
|
+
/** Select the current native input text. */
|
|
206
|
+
function select() {
|
|
207
|
+
element.value?.select();
|
|
208
|
+
}
|
|
209
|
+
function setValue(next) {
|
|
210
|
+
const changed = state.set(next);
|
|
211
|
+
nextTick(syncNativeValue);
|
|
212
|
+
return changed;
|
|
213
|
+
}
|
|
214
|
+
__expose({
|
|
215
|
+
composing,
|
|
216
|
+
element,
|
|
217
|
+
focus,
|
|
218
|
+
reset: state.reset,
|
|
219
|
+
select,
|
|
220
|
+
setValue,
|
|
221
|
+
value
|
|
222
|
+
});
|
|
223
|
+
return (_ctx, _cache) => {
|
|
224
|
+
return openBlock(), createElementBlock("input", {
|
|
225
|
+
id: unref(controlId),
|
|
226
|
+
ref_key: "element",
|
|
227
|
+
ref: element,
|
|
228
|
+
name: __props.name,
|
|
229
|
+
type: __props.type,
|
|
230
|
+
value: renderedValue.value,
|
|
231
|
+
disabled: __props.disabled,
|
|
232
|
+
readonly: __props.readOnly,
|
|
233
|
+
required: __props.required,
|
|
234
|
+
placeholder: __props.placeholder,
|
|
235
|
+
autocomplete: __props.autocomplete,
|
|
236
|
+
inputmode: __props.inputMode,
|
|
237
|
+
enterkeyhint: __props.enterKeyHint,
|
|
238
|
+
"aria-label": __props.ariaLabel,
|
|
239
|
+
"aria-labelledby": __props.ariaLabelledby,
|
|
240
|
+
"aria-describedby": __props.ariaDescribedby,
|
|
241
|
+
"aria-errormessage": ariaInvalidValue.value === void 0 ? void 0 : __props.ariaErrormessage,
|
|
242
|
+
"aria-invalid": ariaInvalidValue.value,
|
|
243
|
+
"data-vize-ui": "input",
|
|
244
|
+
"data-state": dataState.value,
|
|
245
|
+
"data-empty": dataEmpty.value,
|
|
246
|
+
"data-composing": composing.value ? "true" : "false",
|
|
247
|
+
onInput,
|
|
248
|
+
onChange,
|
|
249
|
+
onCompositionstart: onCompositionStart,
|
|
250
|
+
onCompositionend: onCompositionEnd
|
|
251
|
+
}, null, 40, _hoisted_1);
|
|
252
|
+
};
|
|
253
|
+
}
|
|
254
|
+
}), [["__scopeId", "data-v-c257c3f5"]]);
|
|
255
|
+
//#endregion
|
|
256
|
+
export { text_input_default as t };
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
//#region src/families/form/input/input-types.d.ts
|
|
2
|
+
/** Text-like native input types handled by the Input primitive. */
|
|
3
|
+
type InputType = "email" | "password" | "search" | "tel" | "text" | "url";
|
|
4
|
+
/** Native virtual-keyboard input modes accepted by the Input primitive. */
|
|
5
|
+
type InputInputMode = "decimal" | "email" | "none" | "numeric" | "search" | "tel" | "text" | "url";
|
|
6
|
+
/** Native virtual-keyboard enter-key labels accepted by the Input primitive. */
|
|
7
|
+
type InputEnterKeyHint = "done" | "enter" | "go" | "next" | "previous" | "search" | "send";
|
|
8
|
+
/** Values accepted by the native `aria-invalid` attribute. */
|
|
9
|
+
type InputAriaInvalid = boolean | "grammar" | "spelling";
|
|
10
|
+
/** Methods and state exposed by the input component instance. */
|
|
11
|
+
interface InputExpose {
|
|
12
|
+
/** Whether the native input is currently inside IME composition. */
|
|
13
|
+
readonly composing: boolean;
|
|
14
|
+
/** Current controlled or uncontrolled string value. */
|
|
15
|
+
readonly value: string;
|
|
16
|
+
/** Move focus to the native input. */
|
|
17
|
+
readonly focus: (options?: FocusOptions) => void;
|
|
18
|
+
/** Select the current native input text. */
|
|
19
|
+
readonly select: () => void;
|
|
20
|
+
/** Request a value update and report whether it differs. */
|
|
21
|
+
readonly setValue: (value: string) => boolean;
|
|
22
|
+
/** Restore the current default value and report whether it changed. */
|
|
23
|
+
readonly reset: () => boolean;
|
|
24
|
+
}
|
|
25
|
+
//#endregion
|
|
26
|
+
//#region src/families/form/input/text-input.vue.d.ts
|
|
27
|
+
type __VLS_Props = {
|
|
28
|
+
/**
|
|
29
|
+
* Consumer-owned control id. `null` and `undefined` select a deterministic fallback.
|
|
30
|
+
*
|
|
31
|
+
* @default undefined
|
|
32
|
+
*/
|
|
33
|
+
readonly id?: string | null;
|
|
34
|
+
/**
|
|
35
|
+
* Native form field name.
|
|
36
|
+
*
|
|
37
|
+
* @default undefined
|
|
38
|
+
*/
|
|
39
|
+
readonly name?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Text-like native input type.
|
|
42
|
+
*
|
|
43
|
+
* @default "text"
|
|
44
|
+
*/
|
|
45
|
+
readonly type?: InputType;
|
|
46
|
+
/**
|
|
47
|
+
* Controlled string value. `undefined` selects uncontrolled behavior.
|
|
48
|
+
*
|
|
49
|
+
* @default undefined
|
|
50
|
+
*/
|
|
51
|
+
readonly modelValue?: string;
|
|
52
|
+
/**
|
|
53
|
+
* Initial value for uncontrolled use and the value restored by form reset.
|
|
54
|
+
*
|
|
55
|
+
* @default ""
|
|
56
|
+
*/
|
|
57
|
+
readonly defaultValue?: string;
|
|
58
|
+
/**
|
|
59
|
+
* Disable editing, focus, and native form submission.
|
|
60
|
+
*
|
|
61
|
+
* @default false
|
|
62
|
+
*/
|
|
63
|
+
readonly disabled?: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* Keep the input focusable while preventing user editing.
|
|
66
|
+
*
|
|
67
|
+
* @default false
|
|
68
|
+
*/
|
|
69
|
+
readonly readOnly?: boolean;
|
|
70
|
+
/**
|
|
71
|
+
* Mark the input as required for native constraint validation.
|
|
72
|
+
*
|
|
73
|
+
* @default false
|
|
74
|
+
*/
|
|
75
|
+
readonly required?: boolean;
|
|
76
|
+
/**
|
|
77
|
+
* Native placeholder text.
|
|
78
|
+
*
|
|
79
|
+
* @default undefined
|
|
80
|
+
*/
|
|
81
|
+
readonly placeholder?: string;
|
|
82
|
+
/**
|
|
83
|
+
* Native autocomplete hint.
|
|
84
|
+
*
|
|
85
|
+
* @default undefined
|
|
86
|
+
*/
|
|
87
|
+
readonly autocomplete?: string;
|
|
88
|
+
/**
|
|
89
|
+
* Native virtual-keyboard input mode.
|
|
90
|
+
*
|
|
91
|
+
* @default undefined
|
|
92
|
+
*/
|
|
93
|
+
readonly inputMode?: InputInputMode;
|
|
94
|
+
/**
|
|
95
|
+
* Native virtual-keyboard enter key hint.
|
|
96
|
+
*
|
|
97
|
+
* @default undefined
|
|
98
|
+
*/
|
|
99
|
+
readonly enterKeyHint?: InputEnterKeyHint;
|
|
100
|
+
/**
|
|
101
|
+
* Accessible name when no label or `aria-labelledby` supplies one.
|
|
102
|
+
*
|
|
103
|
+
* @default undefined
|
|
104
|
+
*/
|
|
105
|
+
readonly ariaLabel?: string;
|
|
106
|
+
/**
|
|
107
|
+
* Space-separated ids that label the input.
|
|
108
|
+
*
|
|
109
|
+
* @default undefined
|
|
110
|
+
*/
|
|
111
|
+
readonly ariaLabelledby?: string;
|
|
112
|
+
/**
|
|
113
|
+
* Space-separated ids that describe the input.
|
|
114
|
+
*
|
|
115
|
+
* @default undefined
|
|
116
|
+
*/
|
|
117
|
+
readonly ariaDescribedby?: string;
|
|
118
|
+
/**
|
|
119
|
+
* Id of the validation error message used while invalid.
|
|
120
|
+
*
|
|
121
|
+
* @default undefined
|
|
122
|
+
*/
|
|
123
|
+
readonly ariaErrormessage?: string;
|
|
124
|
+
/**
|
|
125
|
+
* Invalid state announced to assistive technology.
|
|
126
|
+
*
|
|
127
|
+
* @default false
|
|
128
|
+
*/
|
|
129
|
+
readonly ariaInvalid?: InputAriaInvalid;
|
|
130
|
+
};
|
|
131
|
+
/** Move focus to the native input. */
|
|
132
|
+
declare function focus(options?: FocusOptions): void;
|
|
133
|
+
/** Select the current native input text. */
|
|
134
|
+
declare function select(): void;
|
|
135
|
+
declare function setValue(next: string): boolean;
|
|
136
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
137
|
+
composing: import("vue").Ref<boolean, boolean>;
|
|
138
|
+
element: Readonly<import("vue").ShallowRef<HTMLInputElement | null>>;
|
|
139
|
+
focus: typeof focus;
|
|
140
|
+
reset: () => boolean;
|
|
141
|
+
select: typeof select;
|
|
142
|
+
setValue: typeof setValue;
|
|
143
|
+
value: import("vue").ComputedRef<string>;
|
|
144
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
145
|
+
input: (value: string, nativeEvent: Event) => any;
|
|
146
|
+
"update:modelValue": (value: string) => any;
|
|
147
|
+
change: (value: string, nativeEvent: Event) => any;
|
|
148
|
+
compositionStart: (value: string, nativeEvent: CompositionEvent) => any;
|
|
149
|
+
compositionEnd: (value: string, nativeEvent: CompositionEvent) => any;
|
|
150
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
151
|
+
onInput?: (value: string, nativeEvent: Event) => any;
|
|
152
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
153
|
+
onChange?: (value: string, nativeEvent: Event) => any;
|
|
154
|
+
onCompositionStart?: (value: string, nativeEvent: CompositionEvent) => any;
|
|
155
|
+
onCompositionEnd?: (value: string, nativeEvent: CompositionEvent) => any;
|
|
156
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
157
|
+
declare const _default: typeof __VLS_export;
|
|
158
|
+
//#endregion
|
|
159
|
+
export { InputInputMode as a, InputExpose as i, InputAriaInvalid as n, InputType as o, InputEnterKeyHint as r, _default as t };
|
package/dist/input.d.mts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { a as InputInputMode, i as InputExpose, n as InputAriaInvalid, o as InputType, r as InputEnterKeyHint, t as _default } from "./input-C0fgeRnS.mjs";
|
|
2
|
+
export { _default as Input, type InputAriaInvalid, type InputEnterKeyHint, type InputExpose, type InputInputMode, type InputType };
|
package/dist/input.mjs
ADDED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed, getCurrentScope, isRef, onScopeDispose, shallowReadonly, shallowRef, toValue, watch } from "vue";
|
|
2
|
-
//#region src/interaction-modality-events.ts
|
|
2
|
+
//#region src/families/accessibility/interaction-modality/interaction-modality-events.ts
|
|
3
3
|
const modifierKeys = new Set([
|
|
4
4
|
"Alt",
|
|
5
5
|
"AltGraph",
|
|
@@ -39,7 +39,7 @@ function classifyVirtualClick(event, current) {
|
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
41
|
//#endregion
|
|
42
|
-
//#region src/interaction-modality-hub.ts
|
|
42
|
+
//#region src/families/accessibility/interaction-modality/interaction-modality-hub.ts
|
|
43
43
|
const hubs = /* @__PURE__ */ new WeakMap();
|
|
44
44
|
/** Install one capture listener set for all consumers in a document. */
|
|
45
45
|
function createHub(document, initialModality) {
|
|
@@ -152,7 +152,7 @@ function publishDocumentModality(document, update) {
|
|
|
152
152
|
return hubs.get(document)?.publish(update) ?? false;
|
|
153
153
|
}
|
|
154
154
|
//#endregion
|
|
155
|
-
//#region src/interaction-modality.ts
|
|
155
|
+
//#region src/families/accessibility/interaction-modality/interaction-modality.ts
|
|
156
156
|
const disposedDiagnostic = "VIZE_UI_INTERACTION_MODALITY_DISPOSED";
|
|
157
157
|
const invalidDocumentDiagnostic = "VIZE_UI_INTERACTION_MODALITY_DOCUMENT";
|
|
158
158
|
const setupDiagnostic = "VIZE_UI_INTERACTION_MODALITY_SETUP";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComputedRef, MaybeRefOrGetter, ShallowRef } from "vue";
|
|
2
2
|
|
|
3
|
-
//#region src/interaction-modality-types.d.ts
|
|
3
|
+
//#region src/families/accessibility/interaction-modality/interaction-modality-types.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Input family that most recently expressed user intent.
|
|
6
6
|
*
|
|
@@ -61,7 +61,7 @@ interface InteractionModalityTracker {
|
|
|
61
61
|
readonly dispose: () => void;
|
|
62
62
|
}
|
|
63
63
|
//#endregion
|
|
64
|
-
//#region src/interaction-modality.d.ts
|
|
64
|
+
//#region src/families/accessibility/interaction-modality/interaction-modality.d.ts
|
|
65
65
|
/**
|
|
66
66
|
* Create an SSR-safe, document-scoped interaction-modality observer.
|
|
67
67
|
*
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as InteractionModalityChange, c as InteractionModalityTracker, i as InteractionModality, n as isElementFocusVisible, o as InteractionModalityChangeReason, r as useInteractionModality, s as InteractionModalityOptions, t as createInteractionModalityTracker } from "./interaction-modality-
|
|
1
|
+
import { a as InteractionModalityChange, c as InteractionModalityTracker, i as InteractionModality, n as isElementFocusVisible, o as InteractionModalityChangeReason, r as useInteractionModality, s as InteractionModalityOptions, t as createInteractionModalityTracker } from "./interaction-modality-BTiZ7j98.mjs";
|
|
2
2
|
export { type InteractionModality, type InteractionModalityChange, type InteractionModalityChangeReason, type InteractionModalityOptions, type InteractionModalityTracker, createInteractionModalityTracker, isElementFocusVisible, useInteractionModality };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as isElementFocusVisible, r as useInteractionModality, t as createInteractionModalityTracker } from "./interaction-modality-
|
|
1
|
+
import { n as isElementFocusVisible, r as useInteractionModality, t as createInteractionModalityTracker } from "./interaction-modality-BHnjtU4S.mjs";
|
|
2
2
|
export { createInteractionModalityTracker, isElementFocusVisible, useInteractionModality };
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-BOaGB7Aw.mjs";
|
|
2
|
+
import { computed, createBlock, defineComponent, guardReactiveProps, normalizeProps, openBlock, renderSlot, resolveDynamicComponent, useTemplateRef, withCtx } from "vue";
|
|
3
|
+
//#endregion
|
|
4
|
+
//#region src/families/typography/kbd/kbd.vue
|
|
5
|
+
var kbd_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
6
|
+
__name: "kbd",
|
|
7
|
+
props: {
|
|
8
|
+
as: {
|
|
9
|
+
type: null,
|
|
10
|
+
required: false,
|
|
11
|
+
default: "kbd"
|
|
12
|
+
},
|
|
13
|
+
size: {
|
|
14
|
+
type: String,
|
|
15
|
+
required: false,
|
|
16
|
+
default: "md"
|
|
17
|
+
},
|
|
18
|
+
variant: {
|
|
19
|
+
type: String,
|
|
20
|
+
required: false,
|
|
21
|
+
default: "key"
|
|
22
|
+
},
|
|
23
|
+
tone: {
|
|
24
|
+
type: String,
|
|
25
|
+
required: false,
|
|
26
|
+
default: "neutral"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
setup(__props, { expose: __expose }) {
|
|
30
|
+
const element = useTemplateRef("element");
|
|
31
|
+
const sizeState = computed(() => __props.size);
|
|
32
|
+
const variantState = computed(() => __props.variant);
|
|
33
|
+
const toneState = computed(() => __props.tone);
|
|
34
|
+
const slotState = computed(() => ({
|
|
35
|
+
size: sizeState.value,
|
|
36
|
+
tone: toneState.value,
|
|
37
|
+
variant: variantState.value
|
|
38
|
+
}));
|
|
39
|
+
__expose({
|
|
40
|
+
element,
|
|
41
|
+
size: sizeState,
|
|
42
|
+
tone: toneState,
|
|
43
|
+
variant: variantState
|
|
44
|
+
});
|
|
45
|
+
return (_ctx, _cache) => {
|
|
46
|
+
return openBlock(), createBlock(resolveDynamicComponent(__props.as), {
|
|
47
|
+
ref_key: "element",
|
|
48
|
+
ref: element,
|
|
49
|
+
part: "root",
|
|
50
|
+
"data-vize-ui": "kbd",
|
|
51
|
+
"data-size": sizeState.value,
|
|
52
|
+
"data-variant": variantState.value,
|
|
53
|
+
"data-tone": toneState.value
|
|
54
|
+
}, {
|
|
55
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotState.value)), void 0, true)]),
|
|
56
|
+
_: 3
|
|
57
|
+
}, 8, [
|
|
58
|
+
"data-size",
|
|
59
|
+
"data-variant",
|
|
60
|
+
"data-tone"
|
|
61
|
+
]);
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
}), [["__scopeId", "data-v-b91077e5"]]);
|
|
65
|
+
//#endregion
|
|
66
|
+
export { kbd_default as t };
|
package/dist/kbd.d.mts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { Gn as KbdSize, Hn as _default, Jn as KbdVariant, Kn as KbdSlotState, Un as KbdElement, Wn as KbdExpose, qn as KbdTone } from "./announcer-DGr2Iz0i.mjs";
|
|
2
|
+
export { _default as Kbd, type KbdElement, type KbdExpose, type KbdSize, type KbdSlotState, type KbdTone, type KbdVariant };
|
package/dist/kbd.mjs
ADDED