@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,233 @@
|
|
|
1
|
+
import { a as useDeterministicId } from "./deterministic-id-yMq4HfmS.mjs";
|
|
2
|
+
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-BOaGB7Aw.mjs";
|
|
3
|
+
import { computed, createBlock, createCommentVNode, createElementBlock, defineComponent, guardReactiveProps, normalizeProps, openBlock, renderSlot, resolveDynamicComponent, toDisplayString, useTemplateRef, withCtx } from "vue";
|
|
4
|
+
//#region src/families/layout/icon/icon.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
+
const _hoisted_1 = ["id"];
|
|
6
|
+
const _hoisted_2 = ["id"];
|
|
7
|
+
//#endregion
|
|
8
|
+
//#region src/families/layout/icon/icon.vue
|
|
9
|
+
var icon_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
10
|
+
__name: "icon",
|
|
11
|
+
props: {
|
|
12
|
+
as: {
|
|
13
|
+
type: null,
|
|
14
|
+
required: false,
|
|
15
|
+
default: "svg"
|
|
16
|
+
},
|
|
17
|
+
id: {
|
|
18
|
+
type: String,
|
|
19
|
+
required: false,
|
|
20
|
+
default: () => void 0
|
|
21
|
+
},
|
|
22
|
+
viewBox: {
|
|
23
|
+
type: String,
|
|
24
|
+
required: false,
|
|
25
|
+
default: "0 0 24 24"
|
|
26
|
+
},
|
|
27
|
+
width: {
|
|
28
|
+
type: [String, Number],
|
|
29
|
+
required: false,
|
|
30
|
+
default: "1em"
|
|
31
|
+
},
|
|
32
|
+
height: {
|
|
33
|
+
type: [String, Number],
|
|
34
|
+
required: false,
|
|
35
|
+
default: "1em"
|
|
36
|
+
},
|
|
37
|
+
size: {
|
|
38
|
+
type: String,
|
|
39
|
+
required: false,
|
|
40
|
+
default: "md"
|
|
41
|
+
},
|
|
42
|
+
focusable: {
|
|
43
|
+
type: Boolean,
|
|
44
|
+
required: false,
|
|
45
|
+
default: false
|
|
46
|
+
},
|
|
47
|
+
fill: {
|
|
48
|
+
type: String,
|
|
49
|
+
required: false,
|
|
50
|
+
default: "none"
|
|
51
|
+
},
|
|
52
|
+
stroke: {
|
|
53
|
+
type: String,
|
|
54
|
+
required: false,
|
|
55
|
+
default: "currentColor"
|
|
56
|
+
},
|
|
57
|
+
strokeWidth: {
|
|
58
|
+
type: [Number, String],
|
|
59
|
+
required: false,
|
|
60
|
+
default: "2"
|
|
61
|
+
},
|
|
62
|
+
strokeLinecap: {
|
|
63
|
+
type: String,
|
|
64
|
+
required: false,
|
|
65
|
+
default: "round"
|
|
66
|
+
},
|
|
67
|
+
strokeLinejoin: {
|
|
68
|
+
type: String,
|
|
69
|
+
required: false,
|
|
70
|
+
default: "round"
|
|
71
|
+
},
|
|
72
|
+
decorative: {
|
|
73
|
+
type: Boolean,
|
|
74
|
+
required: false,
|
|
75
|
+
default: () => void 0
|
|
76
|
+
},
|
|
77
|
+
ariaHidden: {
|
|
78
|
+
type: Boolean,
|
|
79
|
+
required: false,
|
|
80
|
+
default: () => void 0
|
|
81
|
+
},
|
|
82
|
+
ariaLabel: {
|
|
83
|
+
type: null,
|
|
84
|
+
required: false,
|
|
85
|
+
default: () => void 0
|
|
86
|
+
},
|
|
87
|
+
ariaLabelledby: {
|
|
88
|
+
type: null,
|
|
89
|
+
required: false,
|
|
90
|
+
default: () => void 0
|
|
91
|
+
},
|
|
92
|
+
ariaDescribedby: {
|
|
93
|
+
type: null,
|
|
94
|
+
required: false,
|
|
95
|
+
default: () => void 0
|
|
96
|
+
},
|
|
97
|
+
title: {
|
|
98
|
+
type: null,
|
|
99
|
+
required: false,
|
|
100
|
+
default: () => void 0
|
|
101
|
+
},
|
|
102
|
+
description: {
|
|
103
|
+
type: null,
|
|
104
|
+
required: false,
|
|
105
|
+
default: () => void 0
|
|
106
|
+
},
|
|
107
|
+
titleId: {
|
|
108
|
+
type: null,
|
|
109
|
+
required: false,
|
|
110
|
+
default: () => void 0
|
|
111
|
+
},
|
|
112
|
+
descriptionId: {
|
|
113
|
+
type: null,
|
|
114
|
+
required: false,
|
|
115
|
+
default: () => void 0
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
setup(__props, { expose: __expose }) {
|
|
119
|
+
const element = useTemplateRef("element");
|
|
120
|
+
const generatedTitleId = useDeterministicId({
|
|
121
|
+
id: () => __props.titleId,
|
|
122
|
+
hint: "icon-title"
|
|
123
|
+
});
|
|
124
|
+
const generatedDescriptionId = useDeterministicId({
|
|
125
|
+
id: () => __props.descriptionId,
|
|
126
|
+
hint: "icon-description"
|
|
127
|
+
});
|
|
128
|
+
const viewBoxValue = computed(() => __props.viewBox);
|
|
129
|
+
const sizeValue = computed(() => __props.size);
|
|
130
|
+
const hasTitle = computed(() => hasText(__props.title));
|
|
131
|
+
const hasDescription = computed(() => hasText(__props.description));
|
|
132
|
+
const hasAccessibleName = computed(() => hasText(__props.ariaLabel) || hasText(__props.ariaLabelledby) || hasTitle.value);
|
|
133
|
+
const decorative = computed(() => __props.ariaHidden === true || __props.decorative === true || !hasAccessibleName.value);
|
|
134
|
+
const ariaState = computed(() => decorative.value ? "decorative" : "img");
|
|
135
|
+
const titleIdValue = computed(() => ariaState.value === "img" && hasTitle.value ? generatedTitleId.value : void 0);
|
|
136
|
+
const descriptionIdValue = computed(() => ariaState.value === "img" && hasDescription.value ? generatedDescriptionId.value : void 0);
|
|
137
|
+
const ariaLabelValue = computed(() => ariaState.value === "img" && !hasText(__props.ariaLabelledby) && hasText(__props.ariaLabel) ? __props.ariaLabel : void 0);
|
|
138
|
+
const ariaLabelledbyValue = computed(() => {
|
|
139
|
+
if (ariaState.value !== "img") return void 0;
|
|
140
|
+
if (hasText(__props.ariaLabelledby)) return __props.ariaLabelledby;
|
|
141
|
+
return hasText(__props.ariaLabel) ? void 0 : titleIdValue.value;
|
|
142
|
+
});
|
|
143
|
+
const ariaDescribedbyValue = computed(() => {
|
|
144
|
+
if (ariaState.value !== "img") return void 0;
|
|
145
|
+
if (hasText(__props.ariaDescribedby)) return __props.ariaDescribedby;
|
|
146
|
+
return descriptionIdValue.value;
|
|
147
|
+
});
|
|
148
|
+
const slotState = computed(() => ({
|
|
149
|
+
ariaState: ariaState.value,
|
|
150
|
+
decorative: decorative.value,
|
|
151
|
+
descriptionId: descriptionIdValue.value,
|
|
152
|
+
size: sizeValue.value,
|
|
153
|
+
titleId: titleIdValue.value,
|
|
154
|
+
viewBox: viewBoxValue.value
|
|
155
|
+
}));
|
|
156
|
+
__expose({
|
|
157
|
+
ariaState,
|
|
158
|
+
decorative,
|
|
159
|
+
descriptionId: descriptionIdValue,
|
|
160
|
+
element,
|
|
161
|
+
size: sizeValue,
|
|
162
|
+
titleId: titleIdValue,
|
|
163
|
+
viewBox: viewBoxValue
|
|
164
|
+
});
|
|
165
|
+
function hasText(value) {
|
|
166
|
+
return value != null && value.trim().length > 0;
|
|
167
|
+
}
|
|
168
|
+
return (_ctx, _cache) => {
|
|
169
|
+
return openBlock(), createBlock(resolveDynamicComponent(__props.as), {
|
|
170
|
+
id: __props.id,
|
|
171
|
+
ref_key: "element",
|
|
172
|
+
ref: element,
|
|
173
|
+
role: ariaState.value === "img" ? "img" : void 0,
|
|
174
|
+
"aria-hidden": ariaState.value === "decorative" ? "true" : void 0,
|
|
175
|
+
"aria-label": ariaLabelValue.value,
|
|
176
|
+
"aria-labelledby": ariaLabelledbyValue.value,
|
|
177
|
+
"aria-describedby": ariaDescribedbyValue.value,
|
|
178
|
+
viewBox: __props.viewBox,
|
|
179
|
+
width: __props.width,
|
|
180
|
+
height: __props.height,
|
|
181
|
+
focusable: __props.focusable ? "true" : "false",
|
|
182
|
+
fill: __props.fill,
|
|
183
|
+
stroke: __props.stroke,
|
|
184
|
+
"stroke-width": __props.strokeWidth,
|
|
185
|
+
"stroke-linecap": __props.strokeLinecap,
|
|
186
|
+
"stroke-linejoin": __props.strokeLinejoin,
|
|
187
|
+
"data-vize-ui": "icon",
|
|
188
|
+
part: "root",
|
|
189
|
+
"data-aria-state": ariaState.value,
|
|
190
|
+
"data-decorative": decorative.value ? "true" : "false",
|
|
191
|
+
"data-size": sizeValue.value,
|
|
192
|
+
"data-title": titleIdValue.value === void 0 ? "missing" : "present",
|
|
193
|
+
"data-description": descriptionIdValue.value === void 0 ? "missing" : "present"
|
|
194
|
+
}, {
|
|
195
|
+
default: withCtx(() => [
|
|
196
|
+
titleIdValue.value !== void 0 ? (openBlock(), createElementBlock("title", {
|
|
197
|
+
key: 0,
|
|
198
|
+
id: titleIdValue.value
|
|
199
|
+
}, toDisplayString(__props.title), 9, _hoisted_1)) : createCommentVNode("v-if", true),
|
|
200
|
+
descriptionIdValue.value !== void 0 ? (openBlock(), createElementBlock("desc", {
|
|
201
|
+
key: 1,
|
|
202
|
+
id: descriptionIdValue.value
|
|
203
|
+
}, toDisplayString(__props.description), 9, _hoisted_2)) : createCommentVNode("v-if", true),
|
|
204
|
+
renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotState.value)), void 0, true)
|
|
205
|
+
]),
|
|
206
|
+
_: 3
|
|
207
|
+
}, 8, [
|
|
208
|
+
"id",
|
|
209
|
+
"role",
|
|
210
|
+
"aria-hidden",
|
|
211
|
+
"aria-label",
|
|
212
|
+
"aria-labelledby",
|
|
213
|
+
"aria-describedby",
|
|
214
|
+
"viewBox",
|
|
215
|
+
"width",
|
|
216
|
+
"height",
|
|
217
|
+
"focusable",
|
|
218
|
+
"fill",
|
|
219
|
+
"stroke",
|
|
220
|
+
"stroke-width",
|
|
221
|
+
"stroke-linecap",
|
|
222
|
+
"stroke-linejoin",
|
|
223
|
+
"data-aria-state",
|
|
224
|
+
"data-decorative",
|
|
225
|
+
"data-size",
|
|
226
|
+
"data-title",
|
|
227
|
+
"data-description"
|
|
228
|
+
]);
|
|
229
|
+
};
|
|
230
|
+
}
|
|
231
|
+
}), [["__scopeId", "data-v-2348d7c6"]]);
|
|
232
|
+
//#endregion
|
|
233
|
+
export { icon_default as t };
|
|
@@ -0,0 +1,188 @@
|
|
|
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/layout/icon/icon-button.vue
|
|
5
|
+
var icon_button_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
6
|
+
__name: "icon-button",
|
|
7
|
+
props: {
|
|
8
|
+
as: {
|
|
9
|
+
type: null,
|
|
10
|
+
required: false,
|
|
11
|
+
default: "button"
|
|
12
|
+
},
|
|
13
|
+
native: {
|
|
14
|
+
type: Boolean,
|
|
15
|
+
required: false,
|
|
16
|
+
default: () => void 0
|
|
17
|
+
},
|
|
18
|
+
type: {
|
|
19
|
+
type: String,
|
|
20
|
+
required: false,
|
|
21
|
+
default: "button"
|
|
22
|
+
},
|
|
23
|
+
disabled: {
|
|
24
|
+
type: Boolean,
|
|
25
|
+
required: false,
|
|
26
|
+
default: false
|
|
27
|
+
},
|
|
28
|
+
loading: {
|
|
29
|
+
type: Boolean,
|
|
30
|
+
required: false,
|
|
31
|
+
default: false
|
|
32
|
+
},
|
|
33
|
+
size: {
|
|
34
|
+
type: String,
|
|
35
|
+
required: false,
|
|
36
|
+
default: "md"
|
|
37
|
+
},
|
|
38
|
+
tone: {
|
|
39
|
+
type: String,
|
|
40
|
+
required: false,
|
|
41
|
+
default: "neutral"
|
|
42
|
+
},
|
|
43
|
+
variant: {
|
|
44
|
+
type: String,
|
|
45
|
+
required: false,
|
|
46
|
+
default: "plain"
|
|
47
|
+
},
|
|
48
|
+
ariaDescribedby: {
|
|
49
|
+
type: String,
|
|
50
|
+
required: false,
|
|
51
|
+
default: () => void 0
|
|
52
|
+
},
|
|
53
|
+
ariaLabel: {
|
|
54
|
+
type: String,
|
|
55
|
+
required: false,
|
|
56
|
+
default: () => void 0
|
|
57
|
+
},
|
|
58
|
+
ariaLabelledby: {
|
|
59
|
+
type: String,
|
|
60
|
+
required: false,
|
|
61
|
+
default: () => void 0
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
emits: ["press"],
|
|
65
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
66
|
+
const emit = __emit;
|
|
67
|
+
const element = useTemplateRef("element");
|
|
68
|
+
const isNativeButton = computed(() => __props.native ?? __props.as === "button");
|
|
69
|
+
const disabledValue = computed(() => __props.disabled);
|
|
70
|
+
const loadingValue = computed(() => __props.loading);
|
|
71
|
+
const unavailable = computed(() => disabledValue.value || loadingValue.value);
|
|
72
|
+
const sizeValue = computed(() => __props.size);
|
|
73
|
+
const toneValue = computed(() => __props.tone);
|
|
74
|
+
const variantValue = computed(() => __props.variant);
|
|
75
|
+
const state = computed(() => disabledValue.value ? "disabled" : loadingValue.value ? "loading" : "idle");
|
|
76
|
+
const tabIndex = computed(() => {
|
|
77
|
+
if (isNativeButton.value) return void 0;
|
|
78
|
+
return disabledValue.value ? -1 : 0;
|
|
79
|
+
});
|
|
80
|
+
const ariaLabelValue = computed(() => hasText(__props.ariaLabel) ? __props.ariaLabel : void 0);
|
|
81
|
+
const ariaLabelledbyValue = computed(() => hasText(__props.ariaLabelledby) ? __props.ariaLabelledby : void 0);
|
|
82
|
+
const slotState = computed(() => ({
|
|
83
|
+
disabled: disabledValue.value,
|
|
84
|
+
loading: loadingValue.value,
|
|
85
|
+
size: sizeValue.value,
|
|
86
|
+
state: state.value,
|
|
87
|
+
tone: toneValue.value,
|
|
88
|
+
unavailable: unavailable.value,
|
|
89
|
+
variant: variantValue.value
|
|
90
|
+
}));
|
|
91
|
+
function onClick(event) {
|
|
92
|
+
if (unavailable.value) {
|
|
93
|
+
event.preventDefault();
|
|
94
|
+
event.stopImmediatePropagation();
|
|
95
|
+
return;
|
|
96
|
+
}
|
|
97
|
+
emit("press", event);
|
|
98
|
+
}
|
|
99
|
+
function onKeyboard(event, phase) {
|
|
100
|
+
if (isNativeButton.value) return;
|
|
101
|
+
const action = getIconButtonKeyboardAction(event.key, phase);
|
|
102
|
+
if (action === "ignore") return;
|
|
103
|
+
event.preventDefault();
|
|
104
|
+
if (unavailable.value) {
|
|
105
|
+
event.stopImmediatePropagation();
|
|
106
|
+
return;
|
|
107
|
+
}
|
|
108
|
+
if (action === "activate" && event.currentTarget instanceof HTMLElement) event.currentTarget.click();
|
|
109
|
+
}
|
|
110
|
+
function onKeydown(event) {
|
|
111
|
+
onKeyboard(event, "keydown");
|
|
112
|
+
}
|
|
113
|
+
function onKeyup(event) {
|
|
114
|
+
onKeyboard(event, "keyup");
|
|
115
|
+
}
|
|
116
|
+
function getIconButtonKeyboardAction(key, phase) {
|
|
117
|
+
if (key === "Enter") return phase === "keydown" ? "activate" : "ignore";
|
|
118
|
+
if (key === " ") return phase === "keydown" ? "prevent" : "activate";
|
|
119
|
+
return "ignore";
|
|
120
|
+
}
|
|
121
|
+
/** Move focus to the rendered control when it exposes a focus method. */
|
|
122
|
+
function focus(options) {
|
|
123
|
+
focusTarget(element.value, options);
|
|
124
|
+
}
|
|
125
|
+
function focusTarget(target, options) {
|
|
126
|
+
if (typeof target === "object" && target !== null && "focus" in target && typeof target.focus === "function") target.focus(options);
|
|
127
|
+
}
|
|
128
|
+
__expose({
|
|
129
|
+
disabled: disabledValue,
|
|
130
|
+
element,
|
|
131
|
+
focus,
|
|
132
|
+
loading: loadingValue,
|
|
133
|
+
size: sizeValue,
|
|
134
|
+
state,
|
|
135
|
+
tone: toneValue,
|
|
136
|
+
unavailable,
|
|
137
|
+
variant: variantValue
|
|
138
|
+
});
|
|
139
|
+
function hasText(value) {
|
|
140
|
+
return value != null && value.trim().length > 0;
|
|
141
|
+
}
|
|
142
|
+
return (_ctx, _cache) => {
|
|
143
|
+
return openBlock(), createBlock(resolveDynamicComponent(__props.as), {
|
|
144
|
+
ref_key: "element",
|
|
145
|
+
ref: element,
|
|
146
|
+
type: isNativeButton.value ? __props.type : void 0,
|
|
147
|
+
disabled: isNativeButton.value ? disabledValue.value : void 0,
|
|
148
|
+
role: isNativeButton.value ? void 0 : "button",
|
|
149
|
+
tabindex: tabIndex.value,
|
|
150
|
+
"aria-disabled": unavailable.value && (!isNativeButton.value || loadingValue.value) ? "true" : void 0,
|
|
151
|
+
"aria-busy": loadingValue.value ? "true" : void 0,
|
|
152
|
+
"aria-label": ariaLabelledbyValue.value === void 0 ? ariaLabelValue.value : void 0,
|
|
153
|
+
"aria-labelledby": ariaLabelledbyValue.value,
|
|
154
|
+
"aria-describedby": __props.ariaDescribedby,
|
|
155
|
+
"data-vize-ui": "icon-button",
|
|
156
|
+
part: "root",
|
|
157
|
+
"data-state": state.value,
|
|
158
|
+
"data-size": sizeValue.value,
|
|
159
|
+
"data-tone": toneValue.value,
|
|
160
|
+
"data-variant": variantValue.value,
|
|
161
|
+
"data-name": ariaLabelValue.value !== void 0 || ariaLabelledbyValue.value !== void 0 ? "present" : "missing",
|
|
162
|
+
onClick,
|
|
163
|
+
onKeydown,
|
|
164
|
+
onKeyup
|
|
165
|
+
}, {
|
|
166
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotState.value)), void 0, true)]),
|
|
167
|
+
_: 3
|
|
168
|
+
}, 40, [
|
|
169
|
+
"type",
|
|
170
|
+
"disabled",
|
|
171
|
+
"role",
|
|
172
|
+
"tabindex",
|
|
173
|
+
"aria-disabled",
|
|
174
|
+
"aria-busy",
|
|
175
|
+
"aria-label",
|
|
176
|
+
"aria-labelledby",
|
|
177
|
+
"aria-describedby",
|
|
178
|
+
"data-state",
|
|
179
|
+
"data-size",
|
|
180
|
+
"data-tone",
|
|
181
|
+
"data-variant",
|
|
182
|
+
"data-name"
|
|
183
|
+
]);
|
|
184
|
+
};
|
|
185
|
+
}
|
|
186
|
+
}), [["__scopeId", "data-v-f95fd847"]]);
|
|
187
|
+
//#endregion
|
|
188
|
+
export { icon_button_default as t };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { $i as IconButtonExpose, Qi as IconButtonElement, Zi as IconButtonBaseProps, aa as IconButtonTone, ea as IconButtonNameProps, ia as IconButtonState, na as IconButtonSize, oa as IconButtonType, qi as _default, ra as IconButtonSlotState, sa as IconButtonVariant, ta as IconButtonProps } from "./announcer-DGr2Iz0i.mjs";
|
|
2
|
+
export { _default as IconButton, type IconButtonBaseProps, type IconButtonElement, type IconButtonExpose, type IconButtonNameProps, type IconButtonProps, type IconButtonSize, type IconButtonSlotState, type IconButtonState, type IconButtonTone, type IconButtonType, type IconButtonVariant };
|
package/dist/icon.d.mts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { Ji as IconAccessibleNameProps, Xi as IconBaseProps, Yi as IconAriaState, _a as IconStrokeLinejoin, ca as IconDecorativeProps, da as IconImageProps, fa as IconPaint, ga as IconStrokeLinecap, ha as IconSlotState, la as IconElement, ma as IconSize, pa as IconProps, ua as IconExpose, va as IconStrokeWidth, xt as _default } from "./announcer-DGr2Iz0i.mjs";
|
|
2
|
+
export { _default as Icon, type IconAccessibleNameProps, type IconAriaState, type IconBaseProps, type IconDecorativeProps, type IconElement, type IconExpose, type IconImageProps, type IconPaint, type IconProps, type IconSize, type IconSlotState, type IconStrokeLinecap, type IconStrokeLinejoin, type IconStrokeWidth };
|
package/dist/icon.mjs
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { o as useOptionalDeterministicIdScope, r as provideDeterministicIdScope, t as createDeterministicIdScope } from "./deterministic-id-yMq4HfmS.mjs";
|
|
2
|
+
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-BOaGB7Aw.mjs";
|
|
3
|
+
import { defineComponent, renderSlot, unref, useId } from "vue";
|
|
4
|
+
//#endregion
|
|
5
|
+
//#region src/families/foundations/id/deterministic-id-provider.vue
|
|
6
|
+
var deterministic_id_provider_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
7
|
+
__name: "deterministic-id-provider",
|
|
8
|
+
props: {
|
|
9
|
+
prefix: {
|
|
10
|
+
type: String,
|
|
11
|
+
required: false,
|
|
12
|
+
default: () => void 0
|
|
13
|
+
},
|
|
14
|
+
seed: {
|
|
15
|
+
type: [String, Number],
|
|
16
|
+
required: false,
|
|
17
|
+
default: () => void 0
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
setup(__props, { expose: __expose }) {
|
|
21
|
+
const vueSeed = useId();
|
|
22
|
+
const parent = useOptionalDeterministicIdScope();
|
|
23
|
+
const resolvedSeed = __props.seed ?? vueSeed;
|
|
24
|
+
const scope = parent === void 0 ? createDeterministicIdScope({
|
|
25
|
+
prefix: __props.prefix ?? "vize",
|
|
26
|
+
seed: resolvedSeed
|
|
27
|
+
}) : __props.prefix === void 0 ? parent.createChild({ seed: resolvedSeed }) : parent.createChild({
|
|
28
|
+
prefix: __props.prefix,
|
|
29
|
+
seed: resolvedSeed
|
|
30
|
+
});
|
|
31
|
+
provideDeterministicIdScope(scope);
|
|
32
|
+
const namespace = scope.namespace;
|
|
33
|
+
const resolvedPrefix = scope.prefix;
|
|
34
|
+
__expose({
|
|
35
|
+
namespace,
|
|
36
|
+
prefix: resolvedPrefix
|
|
37
|
+
});
|
|
38
|
+
return (_ctx, _cache) => {
|
|
39
|
+
return renderSlot(_ctx.$slots, "default", {
|
|
40
|
+
namespace: unref(namespace),
|
|
41
|
+
prefix: unref(resolvedPrefix)
|
|
42
|
+
}, void 0, true);
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
}), [["__scopeId", "data-v-e0c6f468"]]);
|
|
46
|
+
//#endregion
|
|
47
|
+
export { deterministic_id_provider_default as t };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
//#region src/families/foundations/id/deterministic-id-provider.vue.d.ts
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/**
|
|
4
|
+
* Namespace prefix for this subtree.
|
|
5
|
+
*
|
|
6
|
+
* @default The parent prefix when nested; otherwise "vize"
|
|
7
|
+
*/
|
|
8
|
+
readonly prefix?: string;
|
|
9
|
+
/**
|
|
10
|
+
* Stable request, island, or subtree seed.
|
|
11
|
+
*
|
|
12
|
+
* @default Vue's SSR- and hydration-stable useId() value
|
|
13
|
+
*/
|
|
14
|
+
readonly seed?: string | number;
|
|
15
|
+
};
|
|
16
|
+
type __VLS_Slots = {
|
|
17
|
+
/** Renders descendants with the resolved deterministic identifier namespace. */default(props: {
|
|
18
|
+
readonly namespace: string;
|
|
19
|
+
readonly prefix: string;
|
|
20
|
+
}): unknown;
|
|
21
|
+
};
|
|
22
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
23
|
+
namespace: string;
|
|
24
|
+
prefix: string;
|
|
25
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
27
|
+
declare const _default: typeof __VLS_export;
|
|
28
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
29
|
+
new (): {
|
|
30
|
+
$slots: S;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
//#endregion
|
|
34
|
+
export { _default as t };
|
package/dist/id.d.mts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import { a as
|
|
1
|
+
import { a as DeterministicIdScopeOptions, c as deriveDeterministicId, i as DeterministicIdScope, l as toDeterministicId, n as DeterministicIdChildScopeOptions, o as DeterministicIdSeed, r as DeterministicIdOptions, s as createDeterministicIdScope, t as DeterministicId, u as useDeterministicId } from "./deterministic-id-DYQJ7KzM.mjs";
|
|
2
|
+
import { t as _default } from "./id-Ba8FHjAo.mjs";
|
|
2
3
|
export { type DeterministicId, type DeterministicIdChildScopeOptions, type DeterministicIdOptions, type DeterministicIdScope, type DeterministicIdScopeOptions, type DeterministicIdSeed, _default as IdProvider, createDeterministicIdScope, deriveDeterministicId, toDeterministicId, useDeterministicId };
|
package/dist/id.mjs
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import { a as useDeterministicId, i as toDeterministicId, n as
|
|
2
|
-
|
|
1
|
+
import { a as useDeterministicId, i as toDeterministicId, n as deriveDeterministicId, t as createDeterministicIdScope } from "./deterministic-id-yMq4HfmS.mjs";
|
|
2
|
+
import { t as deterministic_id_provider_default } from "./id-BYG8aXPF.mjs";
|
|
3
|
+
export { deterministic_id_provider_default as IdProvider, createDeterministicIdScope, deriveDeterministicId, toDeterministicId, useDeterministicId };
|