@vizejs/ui 0.387.0 → 0.389.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-CuBryPW9.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,200 @@
|
|
|
1
|
+
import { a as useDeterministicId } from "./deterministic-id-yMq4HfmS.mjs";
|
|
2
|
+
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-BOaGB7Aw.mjs";
|
|
3
|
+
import { computed, createBlock, defineComponent, guardReactiveProps, normalizeProps, openBlock, renderSlot, resolveDynamicComponent, unref, useTemplateRef, withCtx } from "vue";
|
|
4
|
+
//#region src/families/feedback/spinner/spinner.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
+
const SPINNER_DEFAULT_MIN = 0;
|
|
6
|
+
const SPINNER_DEFAULT_MAX = 100;
|
|
7
|
+
//#endregion
|
|
8
|
+
//#region src/families/feedback/spinner/spinner.vue
|
|
9
|
+
var spinner_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
10
|
+
__name: "spinner",
|
|
11
|
+
props: {
|
|
12
|
+
as: {
|
|
13
|
+
type: null,
|
|
14
|
+
required: false,
|
|
15
|
+
default: "span"
|
|
16
|
+
},
|
|
17
|
+
id: {
|
|
18
|
+
type: [String, null],
|
|
19
|
+
required: false,
|
|
20
|
+
default: () => void 0
|
|
21
|
+
},
|
|
22
|
+
loading: {
|
|
23
|
+
type: Boolean,
|
|
24
|
+
required: false,
|
|
25
|
+
default: true
|
|
26
|
+
},
|
|
27
|
+
visible: {
|
|
28
|
+
type: Boolean,
|
|
29
|
+
required: false,
|
|
30
|
+
default: true
|
|
31
|
+
},
|
|
32
|
+
role: {
|
|
33
|
+
type: String,
|
|
34
|
+
required: false,
|
|
35
|
+
default: "status"
|
|
36
|
+
},
|
|
37
|
+
value: {
|
|
38
|
+
type: [Number, null],
|
|
39
|
+
required: false,
|
|
40
|
+
default: null
|
|
41
|
+
},
|
|
42
|
+
min: {
|
|
43
|
+
type: Number,
|
|
44
|
+
required: false,
|
|
45
|
+
default: () => SPINNER_DEFAULT_MIN
|
|
46
|
+
},
|
|
47
|
+
max: {
|
|
48
|
+
type: Number,
|
|
49
|
+
required: false,
|
|
50
|
+
default: () => SPINNER_DEFAULT_MAX
|
|
51
|
+
},
|
|
52
|
+
atomic: {
|
|
53
|
+
type: Boolean,
|
|
54
|
+
required: false,
|
|
55
|
+
default: true
|
|
56
|
+
},
|
|
57
|
+
ariaHidden: {
|
|
58
|
+
type: Boolean,
|
|
59
|
+
required: false,
|
|
60
|
+
default: () => void 0
|
|
61
|
+
},
|
|
62
|
+
ariaLabel: {
|
|
63
|
+
type: String,
|
|
64
|
+
required: false,
|
|
65
|
+
default: () => void 0
|
|
66
|
+
},
|
|
67
|
+
ariaLabelledby: {
|
|
68
|
+
type: String,
|
|
69
|
+
required: false,
|
|
70
|
+
default: () => void 0
|
|
71
|
+
},
|
|
72
|
+
ariaDescribedby: {
|
|
73
|
+
type: String,
|
|
74
|
+
required: false,
|
|
75
|
+
default: () => void 0
|
|
76
|
+
},
|
|
77
|
+
ariaValueText: {
|
|
78
|
+
type: String,
|
|
79
|
+
required: false,
|
|
80
|
+
default: () => void 0
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
setup(__props, { expose: __expose }) {
|
|
84
|
+
const element = useTemplateRef("element");
|
|
85
|
+
const controlId = useDeterministicId({
|
|
86
|
+
id: () => __props.id,
|
|
87
|
+
hint: "spinner"
|
|
88
|
+
});
|
|
89
|
+
const loadingState = computed(() => __props.loading);
|
|
90
|
+
const visibleState = computed(() => __props.visible);
|
|
91
|
+
const ariaState = computed(() => __props.ariaHidden === true ? "decorative" : __props.role);
|
|
92
|
+
const currentMin = computed(() => Number.isFinite(__props.min) ? __props.min : SPINNER_DEFAULT_MIN);
|
|
93
|
+
const currentMax = computed(() => normalizeMax(__props.max, currentMin.value));
|
|
94
|
+
const currentValue = computed(() => normalizeValue(__props.value, currentMin.value, currentMax.value));
|
|
95
|
+
const percent = computed(() => currentValue.value === null ? null : (currentValue.value - currentMin.value) / (currentMax.value - currentMin.value) * 100);
|
|
96
|
+
const progressState = computed(() => {
|
|
97
|
+
if (ariaState.value !== "progressbar") return "none";
|
|
98
|
+
return currentValue.value === null ? "indeterminate" : "determinate";
|
|
99
|
+
});
|
|
100
|
+
const complete = computed(() => progressState.value === "determinate" && currentValue.value === currentMax.value);
|
|
101
|
+
const state = computed(() => {
|
|
102
|
+
if (!visibleState.value) return "hidden";
|
|
103
|
+
if (!loadingState.value) return "idle";
|
|
104
|
+
return complete.value && progressState.value === "determinate" ? "complete" : "loading";
|
|
105
|
+
});
|
|
106
|
+
const slotState = computed(() => ({
|
|
107
|
+
ariaState: ariaState.value,
|
|
108
|
+
complete: complete.value,
|
|
109
|
+
loading: loadingState.value,
|
|
110
|
+
max: currentMax.value,
|
|
111
|
+
min: currentMin.value,
|
|
112
|
+
percent: percent.value,
|
|
113
|
+
progressState: progressState.value,
|
|
114
|
+
state: state.value,
|
|
115
|
+
value: currentValue.value,
|
|
116
|
+
visible: visibleState.value
|
|
117
|
+
}));
|
|
118
|
+
__expose({
|
|
119
|
+
ariaState,
|
|
120
|
+
complete,
|
|
121
|
+
element,
|
|
122
|
+
loading: loadingState,
|
|
123
|
+
max: currentMax,
|
|
124
|
+
min: currentMin,
|
|
125
|
+
percent,
|
|
126
|
+
progressState,
|
|
127
|
+
state,
|
|
128
|
+
value: currentValue,
|
|
129
|
+
visible: visibleState
|
|
130
|
+
});
|
|
131
|
+
function normalizeMax(rawMax, normalizedMin) {
|
|
132
|
+
const candidate = Number.isFinite(rawMax) ? rawMax : SPINNER_DEFAULT_MAX;
|
|
133
|
+
return candidate > normalizedMin ? candidate : normalizedMin + SPINNER_DEFAULT_MAX;
|
|
134
|
+
}
|
|
135
|
+
function normalizeValue(rawValue, normalizedMin, normalizedMax) {
|
|
136
|
+
if (rawValue == null || !Number.isFinite(rawValue)) return null;
|
|
137
|
+
return Math.min(Math.max(rawValue, normalizedMin), normalizedMax);
|
|
138
|
+
}
|
|
139
|
+
return (_ctx, _cache) => {
|
|
140
|
+
return openBlock(), createBlock(resolveDynamicComponent(__props.as), {
|
|
141
|
+
id: unref(controlId),
|
|
142
|
+
ref_key: "element",
|
|
143
|
+
ref: element,
|
|
144
|
+
hidden: __props.visible ? void 0 : true,
|
|
145
|
+
role: ariaState.value === "decorative" ? void 0 : __props.role,
|
|
146
|
+
"aria-hidden": ariaState.value === "decorative" ? "true" : void 0,
|
|
147
|
+
"aria-label": ariaState.value === "decorative" ? void 0 : __props.ariaLabel,
|
|
148
|
+
"aria-labelledby": ariaState.value === "decorative" ? void 0 : __props.ariaLabelledby,
|
|
149
|
+
"aria-describedby": ariaState.value === "decorative" ? void 0 : __props.ariaDescribedby,
|
|
150
|
+
"aria-live": ariaState.value === "status" ? "polite" : void 0,
|
|
151
|
+
"aria-atomic": ariaState.value === "status" ? __props.atomic ? "true" : "false" : void 0,
|
|
152
|
+
"aria-valuemin": ariaState.value === "progressbar" ? currentMin.value : void 0,
|
|
153
|
+
"aria-valuemax": ariaState.value === "progressbar" ? currentMax.value : void 0,
|
|
154
|
+
"aria-valuenow": ariaState.value === "progressbar" ? currentValue.value ?? void 0 : void 0,
|
|
155
|
+
"aria-valuetext": ariaState.value === "progressbar" ? __props.ariaValueText : void 0,
|
|
156
|
+
"data-vize-ui": "spinner",
|
|
157
|
+
part: "root",
|
|
158
|
+
"data-state": state.value,
|
|
159
|
+
"data-loading": __props.loading ? "true" : "false",
|
|
160
|
+
"data-visible": __props.visible ? "true" : "false",
|
|
161
|
+
"data-aria-state": ariaState.value,
|
|
162
|
+
"data-progress-state": progressState.value,
|
|
163
|
+
"data-complete": complete.value ? "true" : "false",
|
|
164
|
+
"data-value": progressState.value === "none" ? void 0 : currentValue.value ?? void 0,
|
|
165
|
+
"data-min": progressState.value === "none" ? void 0 : currentMin.value,
|
|
166
|
+
"data-max": progressState.value === "none" ? void 0 : currentMax.value,
|
|
167
|
+
"data-percent": progressState.value === "determinate" ? percent.value : void 0
|
|
168
|
+
}, {
|
|
169
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotState.value)), void 0, true)]),
|
|
170
|
+
_: 3
|
|
171
|
+
}, 8, [
|
|
172
|
+
"id",
|
|
173
|
+
"hidden",
|
|
174
|
+
"role",
|
|
175
|
+
"aria-hidden",
|
|
176
|
+
"aria-label",
|
|
177
|
+
"aria-labelledby",
|
|
178
|
+
"aria-describedby",
|
|
179
|
+
"aria-live",
|
|
180
|
+
"aria-atomic",
|
|
181
|
+
"aria-valuemin",
|
|
182
|
+
"aria-valuemax",
|
|
183
|
+
"aria-valuenow",
|
|
184
|
+
"aria-valuetext",
|
|
185
|
+
"data-state",
|
|
186
|
+
"data-loading",
|
|
187
|
+
"data-visible",
|
|
188
|
+
"data-aria-state",
|
|
189
|
+
"data-progress-state",
|
|
190
|
+
"data-complete",
|
|
191
|
+
"data-value",
|
|
192
|
+
"data-min",
|
|
193
|
+
"data-max",
|
|
194
|
+
"data-percent"
|
|
195
|
+
]);
|
|
196
|
+
};
|
|
197
|
+
}
|
|
198
|
+
}), [["__scopeId", "data-v-fb16abcb"]]);
|
|
199
|
+
//#endregion
|
|
200
|
+
export { spinner_default as t };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { a as SpinnerProgressState, c as SpinnerState, i as SpinnerExpose, n as SpinnerAriaState, o as SpinnerRole, r as SpinnerElement, s as SpinnerSlotState, t as _default } from "./spinner-JnRs8fp-.mjs";
|
|
2
|
+
export { _default as Spinner, type SpinnerAriaState, type SpinnerElement, type SpinnerExpose, type SpinnerProgressState, type SpinnerRole, type SpinnerSlotState, type SpinnerState };
|
package/dist/spinner.mjs
ADDED
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-BOaGB7Aw.mjs";
|
|
2
|
+
import { computed, createBlock, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, renderSlot, resolveDynamicComponent, useTemplateRef, withCtx } from "vue";
|
|
3
|
+
function resolveFlexDirection(axis, reversed) {
|
|
4
|
+
if (axis === "inline") return reversed ? "row-reverse" : "row";
|
|
5
|
+
return reversed ? "column-reverse" : "column";
|
|
6
|
+
}
|
|
7
|
+
/** Resolve public Stack props into a native CSS flexbox contract. */
|
|
8
|
+
function resolveStackLayout(options) {
|
|
9
|
+
const align = options.align ?? "stretch";
|
|
10
|
+
const axis = options.axis ?? "block";
|
|
11
|
+
const gap = options.gap ?? "1rem";
|
|
12
|
+
const justify = options.justify ?? "start";
|
|
13
|
+
const reversed = options.reversed ?? false;
|
|
14
|
+
const direction = resolveFlexDirection(axis, reversed);
|
|
15
|
+
return {
|
|
16
|
+
align,
|
|
17
|
+
axis,
|
|
18
|
+
direction,
|
|
19
|
+
gap,
|
|
20
|
+
justify,
|
|
21
|
+
reversed,
|
|
22
|
+
state: "stacked",
|
|
23
|
+
style: {
|
|
24
|
+
"--vize-ui-stack-align": align,
|
|
25
|
+
"--vize-ui-stack-gap": gap,
|
|
26
|
+
"--vize-ui-stack-justify": justify,
|
|
27
|
+
alignItems: "var(--vize-ui-stack-align)",
|
|
28
|
+
display: "flex",
|
|
29
|
+
flexDirection: direction,
|
|
30
|
+
gap: "var(--vize-ui-stack-gap)",
|
|
31
|
+
justifyContent: "var(--vize-ui-stack-justify)"
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
//#endregion
|
|
36
|
+
//#region src/families/layout/stack/stack.vue
|
|
37
|
+
var stack_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
38
|
+
__name: "stack",
|
|
39
|
+
props: {
|
|
40
|
+
as: {
|
|
41
|
+
type: null,
|
|
42
|
+
required: false,
|
|
43
|
+
default: "div"
|
|
44
|
+
},
|
|
45
|
+
axis: {
|
|
46
|
+
type: String,
|
|
47
|
+
required: false,
|
|
48
|
+
default: "block"
|
|
49
|
+
},
|
|
50
|
+
reversed: {
|
|
51
|
+
type: Boolean,
|
|
52
|
+
required: false,
|
|
53
|
+
default: false
|
|
54
|
+
},
|
|
55
|
+
gap: {
|
|
56
|
+
type: String,
|
|
57
|
+
required: false,
|
|
58
|
+
default: "1rem"
|
|
59
|
+
},
|
|
60
|
+
align: {
|
|
61
|
+
type: String,
|
|
62
|
+
required: false,
|
|
63
|
+
default: "stretch"
|
|
64
|
+
},
|
|
65
|
+
justify: {
|
|
66
|
+
type: String,
|
|
67
|
+
required: false,
|
|
68
|
+
default: "start"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
setup(__props, { expose: __expose }) {
|
|
72
|
+
const element = useTemplateRef("element");
|
|
73
|
+
const layout = computed(() => resolveStackLayout({
|
|
74
|
+
align: __props.align,
|
|
75
|
+
axis: __props.axis,
|
|
76
|
+
gap: __props.gap,
|
|
77
|
+
justify: __props.justify,
|
|
78
|
+
reversed: __props.reversed
|
|
79
|
+
}));
|
|
80
|
+
const alignState = computed(() => layout.value.align);
|
|
81
|
+
const axisState = computed(() => layout.value.axis);
|
|
82
|
+
const directionState = computed(() => layout.value.direction);
|
|
83
|
+
const gapState = computed(() => layout.value.gap);
|
|
84
|
+
const justifyState = computed(() => layout.value.justify);
|
|
85
|
+
const reversedState = computed(() => layout.value.reversed);
|
|
86
|
+
const stackState = computed(() => layout.value.state);
|
|
87
|
+
const stackStyle = computed(() => layout.value.style);
|
|
88
|
+
const slotState = computed(() => ({
|
|
89
|
+
align: alignState.value,
|
|
90
|
+
axis: axisState.value,
|
|
91
|
+
direction: directionState.value,
|
|
92
|
+
gap: gapState.value,
|
|
93
|
+
justify: justifyState.value,
|
|
94
|
+
reversed: reversedState.value,
|
|
95
|
+
state: stackState.value
|
|
96
|
+
}));
|
|
97
|
+
const intrinsicProps = computed(() => ({ style: stackStyle.value }));
|
|
98
|
+
__expose({
|
|
99
|
+
align: alignState,
|
|
100
|
+
axis: axisState,
|
|
101
|
+
direction: directionState,
|
|
102
|
+
element,
|
|
103
|
+
gap: gapState,
|
|
104
|
+
justify: justifyState,
|
|
105
|
+
reversed: reversedState,
|
|
106
|
+
state: stackState
|
|
107
|
+
});
|
|
108
|
+
return (_ctx, _cache) => {
|
|
109
|
+
return openBlock(), createBlock(resolveDynamicComponent(__props.as), mergeProps({
|
|
110
|
+
ref_key: "element",
|
|
111
|
+
ref: element,
|
|
112
|
+
part: "root",
|
|
113
|
+
"data-vize-ui": "stack",
|
|
114
|
+
"data-state": stackState.value,
|
|
115
|
+
"data-axis": axisState.value,
|
|
116
|
+
"data-reversed": reversedState.value ? "true" : "false",
|
|
117
|
+
"data-vize-stack-direction": directionState.value,
|
|
118
|
+
"data-vize-stack-gap": gapState.value,
|
|
119
|
+
"data-vize-stack-align": alignState.value,
|
|
120
|
+
"data-vize-stack-justify": justifyState.value
|
|
121
|
+
}, intrinsicProps.value), {
|
|
122
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotState.value)), void 0, true)]),
|
|
123
|
+
_: 3
|
|
124
|
+
}, 16, [
|
|
125
|
+
"data-state",
|
|
126
|
+
"data-axis",
|
|
127
|
+
"data-reversed",
|
|
128
|
+
"data-vize-stack-direction",
|
|
129
|
+
"data-vize-stack-gap",
|
|
130
|
+
"data-vize-stack-align",
|
|
131
|
+
"data-vize-stack-justify"
|
|
132
|
+
]);
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
}), [["__scopeId", "data-v-ed6c52a7"]]);
|
|
136
|
+
//#endregion
|
|
137
|
+
export { stack_default as t };
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { t as PrimitiveAs } from "./primitive-BE2mdUcw.mjs";
|
|
2
|
+
import { ComponentPublicInstance } from "vue";
|
|
3
|
+
|
|
4
|
+
//#region src/families/layout/stack/stack-types.d.ts
|
|
5
|
+
/** Logical axis used by {@link Stack}. */
|
|
6
|
+
type StackAxis = "block" | "inline";
|
|
7
|
+
/** Native CSS `align-items` values supported by {@link Stack}. */
|
|
8
|
+
type StackAlign = "stretch" | "start" | "center" | "end" | "baseline";
|
|
9
|
+
/** Native CSS `justify-content` values supported by {@link Stack}. */
|
|
10
|
+
type StackJustify = "start" | "center" | "end" | "space-between" | "space-around" | "space-evenly";
|
|
11
|
+
/** Native CSS length, percentage, keyword, or custom property used by {@link Stack}. */
|
|
12
|
+
type StackGap = string;
|
|
13
|
+
/** CSS `flex-direction` produced by the logical stack axis. */
|
|
14
|
+
type StackFlexDirection = "column" | "column-reverse" | "row" | "row-reverse";
|
|
15
|
+
/** Rendered data state for {@link Stack}. */
|
|
16
|
+
type StackState = "stacked";
|
|
17
|
+
/** Rendered value exposed by {@link Stack}. */
|
|
18
|
+
type StackElement = Element | ComponentPublicInstance;
|
|
19
|
+
/** State exposed to the default Stack slot. */
|
|
20
|
+
interface StackSlotState {
|
|
21
|
+
/** Logical axis used for the flex main axis. */
|
|
22
|
+
readonly axis: StackAxis;
|
|
23
|
+
/** Whether the selected logical axis is reversed. */
|
|
24
|
+
readonly reversed: boolean;
|
|
25
|
+
/** CSS `flex-direction` applied to the rendered host. */
|
|
26
|
+
readonly direction: StackFlexDirection;
|
|
27
|
+
/** Native CSS `gap` value between direct children. */
|
|
28
|
+
readonly gap: StackGap;
|
|
29
|
+
/** Native CSS `align-items` value for the cross axis. */
|
|
30
|
+
readonly align: StackAlign;
|
|
31
|
+
/** Native CSS `justify-content` value for the main axis. */
|
|
32
|
+
readonly justify: StackJustify;
|
|
33
|
+
/** Stable state token for styling and tests. */
|
|
34
|
+
readonly state: StackState;
|
|
35
|
+
}
|
|
36
|
+
/** Inline style hooks applied to the rendered Stack host. */
|
|
37
|
+
interface StackStyle {
|
|
38
|
+
/** Consumer-overridable gap hook read by the host `gap` declaration. */
|
|
39
|
+
readonly "--vize-ui-stack-gap": StackGap;
|
|
40
|
+
/** Consumer-overridable alignment hook read by the host `align-items` declaration. */
|
|
41
|
+
readonly "--vize-ui-stack-align": StackAlign;
|
|
42
|
+
/** Consumer-overridable justification hook read by the host `justify-content` declaration. */
|
|
43
|
+
readonly "--vize-ui-stack-justify": StackJustify;
|
|
44
|
+
/** Flex layout mode for a single non-wrapping axis. */
|
|
45
|
+
readonly display: "flex";
|
|
46
|
+
/** CSS `flex-direction` resolved from `axis` and `reversed`. */
|
|
47
|
+
readonly flexDirection: StackFlexDirection;
|
|
48
|
+
/** Native child spacing declaration. */
|
|
49
|
+
readonly gap: string;
|
|
50
|
+
/** Native cross-axis alignment declaration. */
|
|
51
|
+
readonly alignItems: string;
|
|
52
|
+
/** Native main-axis distribution declaration. */
|
|
53
|
+
readonly justifyContent: string;
|
|
54
|
+
}
|
|
55
|
+
/** Resolved layout state published by {@link Stack}. */
|
|
56
|
+
interface StackResolvedLayout extends StackSlotState {
|
|
57
|
+
/** Native flexbox style object applied to the host. */
|
|
58
|
+
readonly style: StackStyle;
|
|
59
|
+
}
|
|
60
|
+
/** Public instance state exposed by the Stack primitive. */
|
|
61
|
+
interface StackExpose extends StackSlotState {
|
|
62
|
+
/** Rendered host element or component instance. */
|
|
63
|
+
readonly element: StackElement | null;
|
|
64
|
+
}
|
|
65
|
+
//#endregion
|
|
66
|
+
//#region src/families/layout/stack/stack.vue.d.ts
|
|
67
|
+
type __VLS_Props = {
|
|
68
|
+
/**
|
|
69
|
+
* Native element, custom element, or component to render.
|
|
70
|
+
*
|
|
71
|
+
* @default "div"
|
|
72
|
+
*/
|
|
73
|
+
readonly as?: PrimitiveAs;
|
|
74
|
+
/**
|
|
75
|
+
* Logical flex main axis. `block` stacks vertically in the current writing mode;
|
|
76
|
+
* `inline` follows the document direction, including RTL.
|
|
77
|
+
*
|
|
78
|
+
* @default "block"
|
|
79
|
+
*/
|
|
80
|
+
readonly axis?: StackAxis;
|
|
81
|
+
/**
|
|
82
|
+
* Reverse the selected logical main axis without changing DOM order.
|
|
83
|
+
*
|
|
84
|
+
* @default false
|
|
85
|
+
*/
|
|
86
|
+
readonly reversed?: boolean;
|
|
87
|
+
/**
|
|
88
|
+
* Native CSS `gap` value between direct children.
|
|
89
|
+
*
|
|
90
|
+
* @default "1rem"
|
|
91
|
+
*/
|
|
92
|
+
readonly gap?: StackGap;
|
|
93
|
+
/**
|
|
94
|
+
* Native CSS `align-items` value for the cross axis.
|
|
95
|
+
*
|
|
96
|
+
* @default "stretch"
|
|
97
|
+
*/
|
|
98
|
+
readonly align?: StackAlign;
|
|
99
|
+
/**
|
|
100
|
+
* Native CSS `justify-content` value for the main axis.
|
|
101
|
+
*
|
|
102
|
+
* @default "start"
|
|
103
|
+
*/
|
|
104
|
+
readonly justify?: StackJustify;
|
|
105
|
+
};
|
|
106
|
+
type __VLS_Slots = {
|
|
107
|
+
/** Renders stack children with the resolved logical layout state. */default(props: StackSlotState): unknown;
|
|
108
|
+
};
|
|
109
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
110
|
+
align: import("vue").ComputedRef<StackAlign>;
|
|
111
|
+
axis: import("vue").ComputedRef<StackAxis>;
|
|
112
|
+
direction: import("vue").ComputedRef<StackFlexDirection>;
|
|
113
|
+
element: Readonly<import("vue").ShallowRef<StackElement | null>>;
|
|
114
|
+
gap: import("vue").ComputedRef<string>;
|
|
115
|
+
justify: import("vue").ComputedRef<StackJustify>;
|
|
116
|
+
reversed: import("vue").ComputedRef<boolean>;
|
|
117
|
+
state: import("vue").ComputedRef<"stacked">;
|
|
118
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
119
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
120
|
+
declare const _default: typeof __VLS_export;
|
|
121
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
122
|
+
new (): {
|
|
123
|
+
$slots: S;
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
//#endregion
|
|
127
|
+
export { StackExpose as a, StackJustify as c, StackState as d, StackStyle as f, StackElement as i, StackResolvedLayout as l, StackAlign as n, StackFlexDirection as o, StackAxis as r, StackGap as s, _default as t, StackSlotState as u };
|
package/dist/stack.d.mts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { a as StackExpose, c as StackJustify, d as StackState, f as StackStyle, i as StackElement, l as StackResolvedLayout, n as StackAlign, o as StackFlexDirection, r as StackAxis, s as StackGap, t as _default, u as StackSlotState } from "./stack-CPtBckZB.mjs";
|
|
2
|
+
export { _default as Stack, type StackAlign, type StackAxis, type StackElement, type StackExpose, type StackFlexDirection, type StackGap, type StackJustify, type StackResolvedLayout, type StackSlotState, type StackState, type StackStyle };
|
package/dist/stack.mjs
ADDED
|
@@ -0,0 +1,125 @@
|
|
|
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/feedback/status-light/status-light.vue
|
|
5
|
+
var status_light_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
6
|
+
__name: "status-light",
|
|
7
|
+
props: {
|
|
8
|
+
as: {
|
|
9
|
+
type: null,
|
|
10
|
+
required: false,
|
|
11
|
+
default: "span"
|
|
12
|
+
},
|
|
13
|
+
state: {
|
|
14
|
+
type: String,
|
|
15
|
+
required: false,
|
|
16
|
+
default: "unknown"
|
|
17
|
+
},
|
|
18
|
+
tone: {
|
|
19
|
+
type: String,
|
|
20
|
+
required: false,
|
|
21
|
+
default: "neutral"
|
|
22
|
+
},
|
|
23
|
+
size: {
|
|
24
|
+
type: String,
|
|
25
|
+
required: false,
|
|
26
|
+
default: "md"
|
|
27
|
+
},
|
|
28
|
+
role: {
|
|
29
|
+
type: String,
|
|
30
|
+
required: false,
|
|
31
|
+
default: "img"
|
|
32
|
+
},
|
|
33
|
+
atomic: {
|
|
34
|
+
type: Boolean,
|
|
35
|
+
required: false,
|
|
36
|
+
default: true
|
|
37
|
+
},
|
|
38
|
+
ariaHidden: {
|
|
39
|
+
type: Boolean,
|
|
40
|
+
required: false,
|
|
41
|
+
default: () => void 0
|
|
42
|
+
},
|
|
43
|
+
ariaLabel: {
|
|
44
|
+
type: String,
|
|
45
|
+
required: false,
|
|
46
|
+
default: () => void 0
|
|
47
|
+
},
|
|
48
|
+
ariaLabelledby: {
|
|
49
|
+
type: String,
|
|
50
|
+
required: false,
|
|
51
|
+
default: () => void 0
|
|
52
|
+
},
|
|
53
|
+
ariaDescribedby: {
|
|
54
|
+
type: String,
|
|
55
|
+
required: false,
|
|
56
|
+
default: () => void 0
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
setup(__props, { expose: __expose }) {
|
|
60
|
+
const element = useTemplateRef("element");
|
|
61
|
+
const stateValue = computed(() => __props.state);
|
|
62
|
+
const toneValue = computed(() => __props.tone);
|
|
63
|
+
const sizeValue = computed(() => __props.size);
|
|
64
|
+
const roleValue = computed(() => __props.role);
|
|
65
|
+
const hasAccessibleName = computed(() => hasText(__props.ariaLabel) || hasText(__props.ariaLabelledby));
|
|
66
|
+
const decorative = computed(() => __props.ariaHidden ?? !hasAccessibleName.value);
|
|
67
|
+
const ariaState = computed(() => decorative.value ? "decorative" : roleValue.value);
|
|
68
|
+
const slotState = computed(() => ({
|
|
69
|
+
ariaState: ariaState.value,
|
|
70
|
+
decorative: decorative.value,
|
|
71
|
+
size: sizeValue.value,
|
|
72
|
+
state: stateValue.value,
|
|
73
|
+
tone: toneValue.value
|
|
74
|
+
}));
|
|
75
|
+
__expose({
|
|
76
|
+
ariaState,
|
|
77
|
+
decorative,
|
|
78
|
+
element,
|
|
79
|
+
size: sizeValue,
|
|
80
|
+
state: stateValue,
|
|
81
|
+
tone: toneValue
|
|
82
|
+
});
|
|
83
|
+
function hasText(value) {
|
|
84
|
+
return value != null && value.trim().length > 0;
|
|
85
|
+
}
|
|
86
|
+
return (_ctx, _cache) => {
|
|
87
|
+
return openBlock(), createBlock(resolveDynamicComponent(__props.as), {
|
|
88
|
+
ref_key: "element",
|
|
89
|
+
ref: element,
|
|
90
|
+
role: ariaState.value === "decorative" ? void 0 : roleValue.value,
|
|
91
|
+
"aria-hidden": ariaState.value === "decorative" ? "true" : void 0,
|
|
92
|
+
"aria-label": ariaState.value === "decorative" ? void 0 : __props.ariaLabel,
|
|
93
|
+
"aria-labelledby": ariaState.value === "decorative" ? void 0 : __props.ariaLabelledby,
|
|
94
|
+
"aria-describedby": ariaState.value === "decorative" ? void 0 : __props.ariaDescribedby,
|
|
95
|
+
"aria-live": ariaState.value === "status" ? "polite" : void 0,
|
|
96
|
+
"aria-atomic": ariaState.value === "status" ? __props.atomic ? "true" : "false" : void 0,
|
|
97
|
+
"data-vize-ui": "status-light",
|
|
98
|
+
part: "root",
|
|
99
|
+
"data-state": stateValue.value,
|
|
100
|
+
"data-tone": toneValue.value,
|
|
101
|
+
"data-size": sizeValue.value,
|
|
102
|
+
"data-aria-state": ariaState.value,
|
|
103
|
+
"data-decorative": decorative.value ? "true" : "false"
|
|
104
|
+
}, {
|
|
105
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotState.value)), void 0, true)]),
|
|
106
|
+
_: 3
|
|
107
|
+
}, 8, [
|
|
108
|
+
"role",
|
|
109
|
+
"aria-hidden",
|
|
110
|
+
"aria-label",
|
|
111
|
+
"aria-labelledby",
|
|
112
|
+
"aria-describedby",
|
|
113
|
+
"aria-live",
|
|
114
|
+
"aria-atomic",
|
|
115
|
+
"data-state",
|
|
116
|
+
"data-tone",
|
|
117
|
+
"data-size",
|
|
118
|
+
"data-aria-state",
|
|
119
|
+
"data-decorative"
|
|
120
|
+
]);
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
}), [["__scopeId", "data-v-fc1ca38b"]]);
|
|
124
|
+
//#endregion
|
|
125
|
+
export { status_light_default as t };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { C as StatusLightState, S as StatusLightSlotState, _ as StatusLightElement, b as StatusLightRole, g as StatusLightAriaState, h as _default, v as StatusLightExpose, w as StatusLightTone, x as StatusLightSize, y as StatusLightProps } from "./announcer-CuBryPW9.mjs";
|
|
2
|
+
export { _default as StatusLight, type StatusLightAriaState, type StatusLightElement, type StatusLightExpose, type StatusLightProps, type StatusLightRole, type StatusLightSize, type StatusLightSlotState, type StatusLightState, type StatusLightTone };
|