@astryx-vue/core 0.15.0 → 0.16.1
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/AlertDialog/index.js +1 -1
- package/dist/{AlertDialog-BH74lTP9.js → AlertDialog-ht4fOMkB.js} +7 -7
- package/dist/AppShell/index.d.ts +1 -1
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-CBhuHXh4.js → AppShell-NvIT99xw.js} +49 -6
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-B-dg3imS.js → Avatar-dMLeTLRs.js} +1 -1
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Banner/index.js +1 -1
- package/dist/{Banner-qEMqg2D8.js → Banner-BnfQ2vBe.js} +1 -1
- package/dist/BottomSheet/index.d.ts +1 -1
- package/dist/BottomSheet/index.js +2 -2
- package/dist/{BottomSheet-BvdEUioy.js → BottomSheet-CCW58Kl3.js} +4 -4
- package/dist/{BottomSheet-BTf3rz65.js → BottomSheet-HQpcSkPH.js} +6 -5
- package/dist/Breadcrumbs/index.js +1 -1
- package/dist/{Breadcrumbs-BAyIQaP-.js → Breadcrumbs-CTrFNDfv.js} +1 -1
- package/dist/Button/index.d.ts +1 -1
- package/dist/Button/index.js +1 -1
- package/dist/{Button-47s3ZBYa.js → Button-C39zGBke.js} +16 -8
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/ButtonGroup/index.js +1 -1
- package/dist/{ButtonGroup-BFl-0uOp.js → ButtonGroup-IIN-hAJl.js} +2 -2
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Calendar/index.js +1 -1
- package/dist/{Calendar-D029GXOJ.js → Calendar-Bk2nGoT-.js} +69 -20
- package/dist/Card/index.d.ts +1 -1
- package/dist/Carousel/index.d.ts +1 -1
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-CYjVpChx.js → Carousel-C4Qt1b77.js} +1 -1
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-BfekV9OQ.js → Chat-rnnmu5KI.js} +7 -8
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-Cr0qhZpZ.js → CheckboxInput-CbjJ_Xvc.js} +1 -1
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-DOAdqkXD.js → CheckboxList-CJEYi4g-.js} +3 -3
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/Code/index.d.ts +2 -2
- package/dist/Code/index.js +3 -3
- package/dist/{Code-6GS0nAkR.js → Code-rmiC0XfO.js} +1 -1
- package/dist/{CodeBlock-CuNiGAhQ.js → CodeBlock-C3yYDgae.js} +82 -22
- package/dist/Collapsible/index.d.ts +1 -1
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-ChtGNWy3.js → CommandPalette-CccNmfH_.js} +4 -4
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-TPRMIDgt.js → ComplexSelector-CByyyHpR.js} +2 -2
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +1 -1
- package/dist/{ContextMenu-DYKU1mJT.js → ContextMenu-DlkuMtXc.js} +8 -8
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-iQQLaYlp.js → DateInput-C2KV0WdR.js} +7 -7
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-BTYlRhmn.js → DateRangeInput-CJzuhskG.js} +4 -4
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-CiUKgoVy.js → DateTimeInput-CcED_Q0r.js} +6 -6
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Dialog/index.js +3 -3
- package/dist/{Dialog-D54oHAxr.js → Dialog-BoV6-sZg.js} +4 -4
- package/dist/{Dialog-DeHVvhL3.js → Dialog-CvRMUDsx.js} +1 -1
- package/dist/{DialogHeader-B6ZIBIC4.js → DialogHeader-ByQp4TVW.js} +2 -2
- package/dist/Divider/index.d.ts +1 -1
- package/dist/Drawer/index.d.ts +1 -1
- package/dist/Drawer/index.js +1 -1
- package/dist/{Drawer-fB3IoD5P.js → Drawer-D0GvwmUD.js} +2 -2
- package/dist/DropdownMenu/index.js +2 -2
- package/dist/{DropdownMenu-ClBIeBwM.js → DropdownMenu-CRd9u40R.js} +10 -10
- package/dist/{DropdownMenu-D5fBg5Cc.js → DropdownMenu-D1_RS0yt.js} +6 -6
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-BS8ESteS.js → EmptyState-D2ENfW7V.js} +60 -9
- package/dist/Field/index.js +3 -3
- package/dist/{Field-Dxacpe9d.js → Field-BhBVP2xE.js} +1 -1
- package/dist/{FieldInfoTip-DS4OAl2Q.js → FieldInfoTip-D9mnUVar.js} +1 -1
- package/dist/{FieldLabel-DjzTYhCM.js → FieldLabel-DvPCLCa0.js} +1 -1
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-Dak2gIXU.js → FileInput-CHNUi0kA.js} +3 -3
- package/dist/Heading/index.js +1 -1
- package/dist/{Heading-BYB7QXkT.js → Heading-CNOg6iq5.js} +1 -1
- package/dist/HoverCard/index.js +1 -1
- package/dist/{HoverCard-CtDr234t.js → HoverCard-DafCEtWH.js} +4 -4
- package/dist/IconButton/index.js +1 -1
- package/dist/{IconButton-DvgueAEp.js → IconButton-G54PFJFc.js} +1 -1
- package/dist/InfoTip/index.d.ts +1 -1
- package/dist/InfoTip/index.js +1 -1
- package/dist/{InfoTip-DshbO5eW.js → InfoTip-jqguAmrp.js} +2 -2
- package/dist/{InputClearButton-DEb-bGsY.js → InputClearButton-B955MYbI.js} +1 -1
- package/dist/InputGroup/index.js +1 -1
- package/dist/{InputGroup-DLu11Lsd.js → InputGroup-BX39EmuR.js} +1 -1
- package/dist/InternationalizationProvider/index.d.ts +1 -1
- package/dist/InternationalizationProvider/index.js +1 -1
- package/dist/{InternationalizationProvider-CqCxB9ku.js → InternationalizationProvider-7rA65NO7.js} +1 -1
- package/dist/{LayerContentBoundary-Cx5xXZzg.js → LayerContentBoundary-CpqXMTyU.js} +1 -1
- package/dist/Layout/index.js +2 -2
- package/dist/{Layout-BeYYiLFm.js → Layout-DP2vrvTv.js} +1 -1
- package/dist/{LayoutPanel-DDLcJgzG.js → LayoutPanel-DuroKU_A.js} +23 -4
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-BbeuDbgd.js → Lightbox-Cp7qir9t.js} +4 -4
- package/dist/Link/index.d.ts +1 -1
- package/dist/Link/index.js +1 -1
- package/dist/{Link-CFxZ9W2X.js → Link-DR4ujull.js} +1 -1
- package/dist/List/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-DTqTIKbq.js → Markdown-DozSu61T.js} +3 -3
- package/dist/{MediaTheme-BVKUsMfC.js → MediaTheme-Bkj-_DFN.js} +1 -1
- package/dist/MetadataList/index.d.ts +1 -1
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-pwkvRFW-.js → MobileNavToggle-DlQmYaBx.js} +4 -4
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-BY1t1_QA.js → MoreMenu-DjOuEhx8.js} +5 -5
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-BgGEzXiX.js → MultiSelector-CiU0E829.js} +24 -13
- package/dist/{NavDisclosure-mXBWmRDC.js → NavDisclosure-Dg6U7pc7.js} +1 -1
- package/dist/{NavHeadingSurface-foJo5bLT.js → NavHeadingSurface-C17cbKn9.js} +1 -1
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NavMenu/index.js +3 -3
- package/dist/{NavMenu-CG9Bthba.js → NavMenu-CTbvZnO2.js} +26 -6
- package/dist/{NavMenuItem-BiFZUPxC.js → NavMenuItem-BbT97LNz.js} +14 -7
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-BDNiEgzf.js → NumberInput-BkZih0tH.js} +3 -3
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-CR96Nr5t.js → OverflowList-Buzyq2be.js} +25 -10
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-40BEwZOo.js → Pagination-CHh3zdjM.js} +1 -1
- package/dist/Popover/index.d.ts +1 -1
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-BUiTyOcY.js → Popover-DZZUX2Te.js} +7 -7
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-BLJd0NKp.js → PowerSearch-DnwFd6LK.js} +19 -19
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/ProgressBar/index.js +1 -1
- package/dist/{ProgressBar-sGSCEtHC.js → ProgressBar-CHdyTMyH.js} +1 -1
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-D58Fy-bM.js → RadioGroup-k0bBqNUn.js} +2 -2
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioList-u9PoRBXY.js → RadioList-B9L4RXQx.js} +1 -1
- package/dist/Resizable/index.js +1 -1
- package/dist/{ResizeHandle-Bon51yNV.js → ResizeHandle-4-krI-cQ.js} +1 -1
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/ScrollableArea/index.js +1 -1
- package/dist/{ScrollableArea-C2GBp55Z.js → ScrollableArea-Cflez3d4.js} +1 -1
- package/dist/SegmentedControl/index.d.ts +1 -1
- package/dist/SegmentedControl/index.js +1 -1
- package/dist/{SegmentedControl-COVOdCq2.js → SegmentedControl-DoTaOwPI.js} +16 -9
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-QHLh7g_K.js → Selector-CBAbLScH.js} +15 -10
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-BgmpUELq.js → SideNav-Bu1i0NNw.js} +6 -6
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-Depy9L-Y.js → Slider-bwuwD1Wr.js} +2 -2
- package/dist/Stack/index.d.ts +1 -1
- package/dist/Stack/index.js +1 -1
- package/dist/{Stack-Tw4I_dt-.js → Stack-Byxur1jV.js} +19 -2
- package/dist/StatusDot/index.js +1 -1
- package/dist/{StatusDot-D0Wy2ggp.js → StatusDot-DdR_DF-k.js} +1 -1
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-dD4OQLkI.js → Switch-BTuIxLoP.js} +2 -2
- package/dist/TabList/index.d.ts +1 -1
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-CoiyQidC.js → TabList-QBE7ojy4.js} +20 -8
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-CIMUux6b.js → Table-B_zYopX5.js} +14 -14
- package/dist/Text/index.js +1 -1
- package/dist/{Text-BWSmB93V.js → Text-DKlvc1pK.js} +1 -1
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-CbY2w_ic.js → TextArea-Bj7qf9Yo.js} +9 -6
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-C8f89GV8.js → TextInput-D3qoQPv2.js} +8 -5
- package/dist/Theme/index.js +2 -2
- package/dist/{Theme-PyAl8nM0.js → Theme-8bDq2nud.js} +1 -1
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-DENhXd9-.js → Thumbnail-DLDe6FU7.js} +3 -3
- package/dist/{TimeField-Bzq72Me_.js → TimeField-Cn3AdN7J.js} +5 -5
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-D-bRCUzU.js → TimeInput-Cf7L2iiV.js} +2 -2
- package/dist/Timer/index.js +1 -1
- package/dist/{Timer-CgBSMr9E.js → Timer-DOs3NhSX.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-B-VgG6l8.js → Timestamp-K9ioNfKc.js} +27 -8
- package/dist/Toast/index.js +1 -1
- package/dist/{Toast-CRSZV9K-.js → Toast-bMMBnjae.js} +2 -2
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/ToggleButton/index.js +1 -1
- package/dist/{ToggleButton-Bm5IQUy5.js → ToggleButton-CgyPyCO4.js} +3 -3
- package/dist/Token/index.d.ts +1 -1
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-DmjNQLDl.js → Tokenizer-BOqH93OP.js} +7 -8
- package/dist/Toolbar/index.d.ts +1 -1
- package/dist/Tooltip/index.js +2 -2
- package/dist/{Tooltip-BwrJVZ8X.js → Tooltip-vUyPDqhh.js} +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-FiszUHkM.js → TopNav-CzTYtsm4.js} +5 -5
- package/dist/TreeList/index.d.ts +1 -1
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-Dc3A72iY.js → TreeList-TEh2PChT.js} +15 -2
- package/dist/Typeahead/index.d.ts +1 -1
- package/dist/Typeahead/index.js +2 -2
- package/dist/{Typeahead-LdmEDCOU.js → Typeahead-fGWGTrZ_.js} +5 -5
- package/dist/announce-GU01Oix2.js +179 -0
- package/dist/busyAnnouncement-CExubuYm.js +55 -0
- package/dist/clipboardWrite-Ds6fxmZc.js +58 -0
- package/dist/composables/index.d.ts +3 -3
- package/dist/composables/index.js +18 -18
- package/dist/{composables-Bi0Rt0Uj.js → composables-CCsHfpCS.js} +25 -5
- package/dist/focusReturn-D7Y7Pwwb.js +41 -0
- package/dist/{index-BhxqUt3y.d.ts → index--kbwaSXW.d.ts} +1 -1
- package/dist/{index-CL8JvxHW.d.ts → index-B3yTdknp.d.ts} +1 -1
- package/dist/{index-rnFsCdJ7.d.ts → index-B449gOMC.d.ts} +2 -2
- package/dist/{index-Cf5j7Cjl.d.ts → index-BXDqyk2_.d.ts} +52 -16
- package/dist/{index-qbj0Lj9a.d.ts → index-BYlVsqfM.d.ts} +5 -5
- package/dist/{index-Dc9_kBrU.d.ts → index-Bc-ChXDo.d.ts} +2 -2
- package/dist/{index-BB9acgK8.d.ts → index-BgT6mH3U.d.ts} +1 -1
- package/dist/{index-BlGEkjh5.d.ts → index-BnqDF_AX.d.ts} +7 -7
- package/dist/{index-CP-fJFcJ.d.ts → index-BxWCX2pJ.d.ts} +2 -2
- package/dist/{index-BHYhTZzp.d.ts → index-C2cH8OLC.d.ts} +1 -1
- package/dist/{index-bwNMoZo_.d.ts → index-C8JPt6zL.d.ts} +5 -5
- package/dist/{index-D05JGsT3.d.ts → index-C8wfe0Mr.d.ts} +1 -1
- package/dist/{index-6kd7pher.d.ts → index-C93nwgTW.d.ts} +3 -5
- package/dist/{index-DfdtDWSP.d.ts → index-CQ1bsxLC.d.ts} +1 -1
- package/dist/{index-Bgk1Rj2A.d.ts → index-CTjkJP4x.d.ts} +1 -1
- package/dist/{index-DPH5yoAr.d.ts → index-CUMT5whl.d.ts} +3 -3
- package/dist/{index-DDrL_-hJ.d.ts → index-CbA8rR_b.d.ts} +3 -3
- package/dist/{index-YKCx03zD.d.ts → index-CdvmnNMH.d.ts} +1 -1
- package/dist/{index-ul1hNxih.d.ts → index-ChqMaV6N.d.ts} +13 -2
- package/dist/{index-BzViSe8D.d.ts → index-D1J81rYJ.d.ts} +4 -4
- package/dist/{index-O9y23OPJ.d.ts → index-DAr67CZ9.d.ts} +3 -1
- package/dist/{index-rzkX36wM.d.ts → index-DIejw1EB.d.ts} +3 -3
- package/dist/{index-Q1oG9yIT.d.ts → index-DPklTi3o.d.ts} +1 -1
- package/dist/{index-D-eT_nvf.d.ts → index-DTffvguz.d.ts} +56 -56
- package/dist/{index-utZGF4GR.d.ts → index-NOXYEdOI.d.ts} +1 -1
- package/dist/{index-DE1genab.d.ts → index-QnlWyUxN.d.ts} +2 -2
- package/dist/{index-B1eCxBCY.d.ts → index-TXcNH86P.d.ts} +1 -1
- package/dist/{index-C5e2rZML.d.ts → index-dWlCpnua.d.ts} +2 -2
- package/dist/{index-DS9SzqqJ.d.ts → index-lmd9LZKB.d.ts} +2 -2
- package/dist/{index-BEZ4ezJk.d.ts → index-wY6dKz6c.d.ts} +2 -2
- package/dist/index.d.ts +34 -34
- package/dist/index.js +109 -109
- package/dist/{layerDepth-I6d28O4d.js → interactionModality-B5dR7nnb.js} +125 -1
- package/dist/{layerFocusReturn-_pBrNAPE.js → layerFocusReturn-13azEIdn.js} +1 -1
- package/dist/{layout-DzxSsBe8.js → layout-DhX4-SyE.js} +4 -2
- package/dist/{loadCatalog-DYuZZRtf.js → loadCatalog-C3MSknfx.js} +10 -2
- package/dist/{loadCatalog-Cvf-xgDD.d.ts → loadCatalog-DFyDz_4e.d.ts} +5 -0
- package/dist/locale/index.d.ts +2 -2
- package/dist/locale/index.js +4 -4
- package/dist/{locale-B-DrJCMs.js → locale-OCGw4bi6.js} +1 -1
- package/dist/scrollGeometry-ivD7aoBo.js +104 -0
- package/dist/{scrollKeyboardDelegation-BSpUCTlO.js → scrollKeyboardDelegation-DZ4t5PvC.js} +2 -82
- package/dist/scrollLock-CoVg9lLU.js +212 -0
- package/dist/{stillPointerGate-DlAU_J_M.js → stillPointerGate-0vdn-hSa.js} +1 -1
- package/dist/strayClick-_QKRT5aH.js +99 -0
- package/dist/{timestamp-CFBVCsHF.js → timestamp-BMYQsFDj.js} +2 -0
- package/dist/{useActionGroupTracking-CDclbV3Y.js → useActionGroupTracking-CbE8fwYb.js} +1 -1
- package/dist/{useChatStreamScroll-oDfybEos.js → useChatStreamScroll-BIMKffDA.js} +1 -1
- package/dist/{useClipboard-i4a_x_Io.js → useClipboard-CTY3GwFz.js} +24 -10
- package/dist/{useClipboard-ZdT7wKBL.d.ts → useClipboard-DeO8fCW_.d.ts} +12 -3
- package/dist/{useDismiss-21Gk7uWk.js → useDismiss-Dfb0Ky7T.js} +1 -1
- package/dist/useFocusTrap-BUd-fvUH.js +238 -0
- package/dist/{useHoverLayerDismiss-Chfty2wT.js → useHoverLayerDismiss-CFGjvYi4.js} +1 -1
- package/dist/{useInputStatusIcon-Yd0hvw5K.js → useInputStatusIcon-NEwl5a3B.js} +1 -1
- package/dist/{selectorEscape-FjiU_5WC.js → useKeyboardHighlight-CGCf1O57.js} +24 -3
- package/dist/{useLayer-vK4-yRk_.js → useLayer-CzyH9KXY.js} +3 -2
- package/dist/useMediaQuery-BzXGT1Aw.js +64 -0
- package/dist/{useMenuHover-CbjjfzAd.js → useMenuHover-CQYo0XCC.js} +4 -2
- package/dist/{useMenuPress-9vsHzbRX.js → useMenuPress-9dOj2hvC.js} +71 -26
- package/dist/{useOverflow-VrwF5oek.js → useOverflow-GU0pxGaU.js} +43 -3
- package/dist/{useResizable-DYlc06-H.js → useResizable-BMlG1oxA.js} +1 -1
- package/dist/{useResolvedColorMode-CHOh3Yz-.js → useResolvedColorMode-Df97_9w_.js} +1 -1
- package/dist/{useRestoreFocus-Do8y6Yy4.js → useRestoreFocus-Cz_jM_nW.js} +2 -2
- package/dist/useScrollRegionProps-DwkPUb-O.js +119 -0
- package/dist/{useScrollableArea-Bwn75HDg.js → useScrollableArea-BaHkGWbX.js} +73 -10
- package/dist/{useTooltip-DIg3ZE9P.js → useTooltip-frKBHzqr.js} +7 -7
- package/dist/{useTouchHitArea-B3jx01C3.js → useTouchHitArea-CzCtdSt9.js} +1 -1
- package/dist/{useTouchTriggerInternal-CrLW-7kT.js → useTouchTriggerInternal-Bs7obOrb.js} +1 -2
- package/dist/{useTruncationTooltip-D9_lzxpF.js → useTruncationTooltip-DUkkZgmO.js} +3 -3
- package/dist/{useTypeahead-CiLt-yEg.js → useTypeahead-BrWvmOu9.js} +1 -1
- package/dist/{useTypeaheadAnnouncement-C59m2nSx.js → useTypeaheadAnnouncement-CSikDlpK.js} +2 -2
- package/package.json +1 -1
- package/styles/app-shell.css +13 -0
- package/styles/calendar.css +6 -0
- package/styles/dropdown-menu.css +16 -0
- package/styles/multi-selector.css +6 -0
- package/styles/nav-menu.css +6 -0
- package/styles/segmented-control.css +3 -8
- package/styles/selector.css +6 -0
- package/styles/tab-menu.css +6 -0
- package/styles/toolbar.css +12 -0
- package/dist/announce-B210eJVf.js +0 -104
- package/dist/busyAnnouncement-D3eGqdsf.js +0 -88
- package/dist/interactionModality-BPvyShJT.js +0 -125
- package/dist/scrollLock-C3aT4-0z.js +0 -102
- package/dist/strayClick-CY-_ImKv.js +0 -60
- package/dist/useFocusTrap-CnKnSN99.js +0 -190
- package/dist/useMediaQuery-GMmgp28-.js +0 -32
- package/dist/{index-BqhgeAT4.d.ts → index-D8lv2BiD.d.ts} +1 -1
|
@@ -1,190 +0,0 @@
|
|
|
1
|
-
import { s as isImeKeyEvent } from "./layerDepth-I6d28O4d.js";
|
|
2
|
-
import { i as trackInteractionModality, t as getInteractionModality } from "./interactionModality-BPvyShJT.js";
|
|
3
|
-
import { r as getFocusables } from "./focus-x7mxEqjR.js";
|
|
4
|
-
import { onScopeDispose, ref, toValue, watch } from "vue";
|
|
5
|
-
//#region src/composables/internal/focusReturn.ts
|
|
6
|
-
/**
|
|
7
|
-
* 焦点归还的两个小工具。浮层关闭、把焦点还给触发器时用。
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* 焦点现在是不是「哪儿都不在」:没有活动元素,或者落在 body / 根元素上。
|
|
11
|
-
*
|
|
12
|
-
* 浮层关闭时只在这种情况下把焦点还给触发器。`popover="auto"` 的点外关闭和指针事件同步发生,
|
|
13
|
-
* 关闭回调跑的时候焦点已经落在用户点的那个地方了,再抢回来就和那一下点击打架。
|
|
14
|
-
* 只有按 Escape、或者点在不可聚焦的空白处,焦点才会掉到 body,这时触发器才该接回来。
|
|
15
|
-
*/
|
|
16
|
-
function isFocusDetached(doc = document) {
|
|
17
|
-
const active = doc.activeElement;
|
|
18
|
-
return active == null || active === doc.body || active === doc.documentElement;
|
|
19
|
-
}
|
|
20
|
-
function isTextEntry(element) {
|
|
21
|
-
return element instanceof HTMLInputElement || element instanceof HTMLTextAreaElement || element instanceof HTMLSelectElement || element.isContentEditable;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* 程序移动焦点,焦点环跟着上一次的输入走:
|
|
25
|
-
* 上一次是键盘就照常画环,上一次是鼠标或手指就不画。
|
|
26
|
-
*
|
|
27
|
-
* 用鼠标或手指关掉浮层后,焦点回到触发器上,但触发器不会突然亮起一圈焦点环。
|
|
28
|
-
* 文本输入类元素例外:它们本来就要画出「打字会落在这里」,多一次 blur 还可能触发校验,
|
|
29
|
-
* 所以一律直接聚焦。`options` 原样交给 `focus()`,例如 `preventScroll`。
|
|
30
|
-
*/
|
|
31
|
-
function focusForLastInput(element, options) {
|
|
32
|
-
trackInteractionModality();
|
|
33
|
-
if (isTextEntry(element) || getInteractionModality() !== "pointer") {
|
|
34
|
-
element.focus(options);
|
|
35
|
-
return;
|
|
36
|
-
}
|
|
37
|
-
if (element.matches(":focus-visible")) element.blur();
|
|
38
|
-
element.focus({
|
|
39
|
-
...options,
|
|
40
|
-
focusVisible: false
|
|
41
|
-
});
|
|
42
|
-
}
|
|
43
|
-
//#endregion
|
|
44
|
-
//#region src/composables/useFocusTrap.ts
|
|
45
|
-
/**
|
|
46
|
-
* 在容器内陷阱键盘焦点,按 Tab 时循环聚焦容器内的可聚焦元素。
|
|
47
|
-
* 用于模态对话框、抽屉等需要限制焦点范围的浮层组件。
|
|
48
|
-
*
|
|
49
|
-
* 打开时把焦点送进容器,关闭或卸载时把焦点还给打开前聚焦的元素;
|
|
50
|
-
* 焦点从没进过容器、或者已经被别处拿走时不还。还焦点时焦点环跟着上一次的输入走:
|
|
51
|
-
* 用鼠标或手指关掉的,回到触发器上不画环。
|
|
52
|
-
*
|
|
53
|
-
* Tab 只在焦点真的在陷阱里面时才被拦下。浮层开着、焦点却合理地留在外面
|
|
54
|
-
* (例如挂在输入框上的列表框)时,拦下 Tab 会让整个页面都没法用 Tab。
|
|
55
|
-
*/
|
|
56
|
-
function useFocusTrap(options = {}) {
|
|
57
|
-
const containerRef = options.container ?? ref(null);
|
|
58
|
-
/** 打开陷阱前聚焦的元素,关闭时还给它。 */
|
|
59
|
-
let previouslyFocused = null;
|
|
60
|
-
/** 焦点是否进过陷阱。没进过就不还焦点,免得抢走浮层触发器的焦点。 */
|
|
61
|
-
let hasFocusEntered = false;
|
|
62
|
-
/**
|
|
63
|
-
* 陷阱所在的 document:容器的。经 Teleport 渲染进同源 iframe 或画中画窗口的陷阱,
|
|
64
|
-
* 按键和焦点变化只到那个窗口的 document,全局 `document` 收不到。
|
|
65
|
-
*/
|
|
66
|
-
function trapDocument() {
|
|
67
|
-
return containerRef.value?.ownerDocument ?? document;
|
|
68
|
-
}
|
|
69
|
-
/** 正在监听的 document,摘监听时用同一个。 */
|
|
70
|
-
let listeningDoc = null;
|
|
71
|
-
function isActive() {
|
|
72
|
-
return toValue(options.isActive) ?? toValue(options.isEnabled) ?? false;
|
|
73
|
-
}
|
|
74
|
-
function isFocusInside() {
|
|
75
|
-
const el = containerRef.value;
|
|
76
|
-
if (el == null || typeof document === "undefined") return false;
|
|
77
|
-
const active = trapDocument().activeElement;
|
|
78
|
-
return active != null && el.contains(active);
|
|
79
|
-
}
|
|
80
|
-
function isTargetInside(event) {
|
|
81
|
-
const el = containerRef.value;
|
|
82
|
-
return el != null && event.target instanceof Node && el.contains(event.target);
|
|
83
|
-
}
|
|
84
|
-
function onKeyDown(event) {
|
|
85
|
-
if (!isActive()) return;
|
|
86
|
-
if (event.key === "Escape") {
|
|
87
|
-
if (event.defaultPrevented || isImeKeyEvent(event)) return;
|
|
88
|
-
if (options.onEscape != null && (isTargetInside(event) || isFocusInside())) options.onEscape();
|
|
89
|
-
return;
|
|
90
|
-
}
|
|
91
|
-
if (event.key !== "Tab") return;
|
|
92
|
-
const el = containerRef.value;
|
|
93
|
-
if (!el || !isFocusInside()) return;
|
|
94
|
-
const focusables = getFocusables(el);
|
|
95
|
-
if (focusables.length === 0) {
|
|
96
|
-
event.preventDefault();
|
|
97
|
-
return;
|
|
98
|
-
}
|
|
99
|
-
const first = focusables[0];
|
|
100
|
-
const last = focusables[focusables.length - 1];
|
|
101
|
-
const active = trapDocument().activeElement;
|
|
102
|
-
if (active === el) {
|
|
103
|
-
event.preventDefault();
|
|
104
|
-
if (event.shiftKey) last.focus();
|
|
105
|
-
else first.focus();
|
|
106
|
-
return;
|
|
107
|
-
}
|
|
108
|
-
if (event.shiftKey && active === first) {
|
|
109
|
-
event.preventDefault();
|
|
110
|
-
last.focus();
|
|
111
|
-
} else if (!event.shiftKey && active === last) {
|
|
112
|
-
event.preventDefault();
|
|
113
|
-
first.focus();
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
function onFocusIn() {
|
|
117
|
-
if (isFocusInside()) hasFocusEntered = true;
|
|
118
|
-
}
|
|
119
|
-
function update() {}
|
|
120
|
-
function focusFirst() {
|
|
121
|
-
const el = containerRef.value;
|
|
122
|
-
if (!el) return;
|
|
123
|
-
const focusables = getFocusables(el);
|
|
124
|
-
if (focusables.length > 0) focusables[0].focus();
|
|
125
|
-
}
|
|
126
|
-
function focusLast() {
|
|
127
|
-
const el = containerRef.value;
|
|
128
|
-
if (!el) return;
|
|
129
|
-
const focusables = getFocusables(el);
|
|
130
|
-
if (focusables.length > 0) focusables[focusables.length - 1].focus();
|
|
131
|
-
}
|
|
132
|
-
function activate() {
|
|
133
|
-
trackInteractionModality();
|
|
134
|
-
if (typeof document !== "undefined") {
|
|
135
|
-
const doc = trapDocument();
|
|
136
|
-
const active = doc.activeElement;
|
|
137
|
-
previouslyFocused = active != null && active !== doc.body && typeof active.focus === "function" ? active : null;
|
|
138
|
-
}
|
|
139
|
-
hasFocusEntered = false;
|
|
140
|
-
setup();
|
|
141
|
-
const target = options.initialFocus?.();
|
|
142
|
-
if (target) target.focus();
|
|
143
|
-
else focusFirst();
|
|
144
|
-
if (isFocusInside()) hasFocusEntered = true;
|
|
145
|
-
}
|
|
146
|
-
function restoreFocus() {
|
|
147
|
-
const target = previouslyFocused;
|
|
148
|
-
const hasEntered = hasFocusEntered;
|
|
149
|
-
previouslyFocused = null;
|
|
150
|
-
hasFocusEntered = false;
|
|
151
|
-
if (target == null || !hasEntered || !target.isConnected) return;
|
|
152
|
-
const doc = typeof document === "undefined" ? null : trapDocument();
|
|
153
|
-
const active = doc?.activeElement ?? null;
|
|
154
|
-
if (active != null && active !== doc?.body && !isFocusInside()) return;
|
|
155
|
-
focusForLastInput(target);
|
|
156
|
-
}
|
|
157
|
-
function deactivate() {
|
|
158
|
-
teardown();
|
|
159
|
-
restoreFocus();
|
|
160
|
-
}
|
|
161
|
-
function setup() {
|
|
162
|
-
if (typeof document === "undefined") return;
|
|
163
|
-
teardown();
|
|
164
|
-
listeningDoc = trapDocument();
|
|
165
|
-
listeningDoc.addEventListener("keydown", onKeyDown, true);
|
|
166
|
-
listeningDoc.addEventListener("focusin", onFocusIn, true);
|
|
167
|
-
}
|
|
168
|
-
function teardown() {
|
|
169
|
-
if (listeningDoc == null) return;
|
|
170
|
-
listeningDoc.removeEventListener("keydown", onKeyDown, true);
|
|
171
|
-
listeningDoc.removeEventListener("focusin", onFocusIn, true);
|
|
172
|
-
listeningDoc = null;
|
|
173
|
-
}
|
|
174
|
-
watch(isActive, (enabled) => {
|
|
175
|
-
if (enabled) activate();
|
|
176
|
-
else deactivate();
|
|
177
|
-
}, { immediate: true });
|
|
178
|
-
watch(containerRef, () => {
|
|
179
|
-
if (isActive() && listeningDoc !== trapDocument()) setup();
|
|
180
|
-
});
|
|
181
|
-
onScopeDispose(deactivate);
|
|
182
|
-
return {
|
|
183
|
-
containerRef,
|
|
184
|
-
focusFirst,
|
|
185
|
-
focusLast,
|
|
186
|
-
update
|
|
187
|
-
};
|
|
188
|
-
}
|
|
189
|
-
//#endregion
|
|
190
|
-
export { focusForLastInput as n, isFocusDetached as r, useFocusTrap as t };
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { onBeforeUnmount, onMounted, ref } from "vue";
|
|
2
|
-
//#region src/composables/useMediaQuery.ts
|
|
3
|
-
function readMatches(query) {
|
|
4
|
-
if (typeof window === "undefined" || typeof window.matchMedia !== "function") return false;
|
|
5
|
-
return window.matchMedia(query).matches;
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* 对应原版 Astryx 的 `hooks/useMediaQuery`。
|
|
9
|
-
*
|
|
10
|
-
* Tracks a CSS media query as a ref. The first value is read during setup so a
|
|
11
|
-
* layout decision does not have to wait for mount, and changes are followed
|
|
12
|
-
* while the component is alive.
|
|
13
|
-
*/
|
|
14
|
-
function useMediaQuery(query) {
|
|
15
|
-
const matches = ref(readMatches(query));
|
|
16
|
-
let mediaQueryList = null;
|
|
17
|
-
function update(event) {
|
|
18
|
-
matches.value = event.matches;
|
|
19
|
-
}
|
|
20
|
-
onMounted(() => {
|
|
21
|
-
if (typeof window === "undefined" || typeof window.matchMedia !== "function") return;
|
|
22
|
-
mediaQueryList = window.matchMedia(query);
|
|
23
|
-
update(mediaQueryList);
|
|
24
|
-
mediaQueryList.addEventListener("change", update);
|
|
25
|
-
});
|
|
26
|
-
onBeforeUnmount(() => {
|
|
27
|
-
mediaQueryList?.removeEventListener("change", update);
|
|
28
|
-
});
|
|
29
|
-
return matches;
|
|
30
|
-
}
|
|
31
|
-
//#endregion
|
|
32
|
-
export { useMediaQuery as t };
|
|
@@ -43,9 +43,9 @@ declare const __VLS_base: import("vue").DefineComponent<TokenProps, {}, {}, {},
|
|
|
43
43
|
onRemove?: ((event: Event) => any) | undefined;
|
|
44
44
|
}>, {
|
|
45
45
|
size: TokenSize;
|
|
46
|
+
color: "default" | "blue" | "cyan" | "gray" | "green" | "orange" | "pink" | "purple" | "red" | "teal" | "yellow";
|
|
46
47
|
labelHidden: boolean;
|
|
47
48
|
disabled: boolean;
|
|
48
|
-
color: "default" | "blue" | "cyan" | "gray" | "green" | "orange" | "pink" | "purple" | "red" | "teal" | "yellow";
|
|
49
49
|
removable: boolean;
|
|
50
50
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
51
51
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|