@astryx-vue/core 0.15.0 → 0.16.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/AlertDialog/index.js +1 -1
- package/dist/{AlertDialog-BH74lTP9.js → AlertDialog-B6EU-qoC.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-BECb_pnL.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-BL7ztCU4.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-BpgUZDh3.js} +1 -1
- package/dist/Button/index.d.ts +1 -1
- package/dist/Button/index.js +1 -1
- package/dist/{Button-47s3ZBYa.js → Button-Bi1evguV.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-r6KuUnE1.js} +1 -1
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-BfekV9OQ.js → Chat-JwOWSmvy.js} +7 -8
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-Cr0qhZpZ.js → CheckboxInput-3yFIGqYj.js} +1 -1
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-DOAdqkXD.js → CheckboxList-2GMj8LSo.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-AeyHA3sX.js} +21 -9
- 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-BQNwK1Rx.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-BAEJLiKU.js} +7 -7
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-BTYlRhmn.js → DateRangeInput-BM1__kku.js} +4 -4
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-CiUKgoVy.js → DateTimeInput-CqPuS2Wb.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-DywC9gTH.js} +2 -2
- package/dist/Drawer/index.d.ts +1 -1
- package/dist/Drawer/index.js +1 -1
- package/dist/{Drawer-fB3IoD5P.js → Drawer-BYXbMeXz.js} +2 -2
- package/dist/DropdownMenu/index.js +2 -2
- package/dist/{DropdownMenu-D5fBg5Cc.js → DropdownMenu-1qD5NjRZ.js} +6 -6
- package/dist/{DropdownMenu-ClBIeBwM.js → DropdownMenu-DFD4_snt.js} +10 -10
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-BS8ESteS.js → EmptyState-DHogz6sS.js} +60 -9
- package/dist/Field/index.js +3 -3
- package/dist/{Field-Dxacpe9d.js → Field-CqIDpjny.js} +1 -1
- package/dist/{FieldInfoTip-DS4OAl2Q.js → FieldInfoTip-tETk5JH_.js} +1 -1
- package/dist/{FieldLabel-DjzTYhCM.js → FieldLabel-DL8r5Jzc.js} +1 -1
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-Dak2gIXU.js → FileInput-Bwvb-tQk.js} +3 -3
- package/dist/Heading/index.js +1 -1
- package/dist/{Heading-BYB7QXkT.js → Heading-CkHUa3bI.js} +1 -1
- package/dist/HoverCard/index.d.ts +1 -1
- package/dist/HoverCard/index.js +1 -1
- package/dist/{HoverCard-CtDr234t.js → HoverCard-Ddcu9mBO.js} +4 -4
- package/dist/IconButton/index.js +1 -1
- package/dist/{IconButton-DvgueAEp.js → IconButton-eGsozJhK.js} +1 -1
- package/dist/InfoTip/index.d.ts +1 -1
- package/dist/InfoTip/index.js +1 -1
- package/dist/{InfoTip-DshbO5eW.js → InfoTip-DH9gvEPg.js} +2 -2
- package/dist/{InputClearButton-DEb-bGsY.js → InputClearButton-tztlFeqp.js} +1 -1
- package/dist/InputGroup/index.js +1 -1
- package/dist/{InputGroup-DLu11Lsd.js → InputGroup-ew0kllZw.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-CwRSUkkH.js} +4 -4
- package/dist/Link/index.d.ts +1 -1
- package/dist/Link/index.js +1 -1
- package/dist/{Link-CFxZ9W2X.js → Link-DKeXWgvF.js} +1 -1
- package/dist/List/index.d.ts +1 -1
- package/dist/Markdown/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-DTqTIKbq.js → Markdown-umUpz0Pf.js} +3 -3
- package/dist/{MediaTheme-BVKUsMfC.js → MediaTheme-Bkj-_DFN.js} +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-YTZfzTM_.js} +5 -5
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-BgGEzXiX.js → MultiSelector-wNUnwrLr.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-C8ymESEK.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-BREwZINI.js} +1 -1
- package/dist/Popover/index.d.ts +1 -1
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-BUiTyOcY.js → Popover-CBXTOdtZ.js} +7 -7
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-BLJd0NKp.js → PowerSearch-8ali3Cze.js} +19 -19
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/ProgressBar/index.js +1 -1
- package/dist/{ProgressBar-sGSCEtHC.js → ProgressBar-B0IjJKEy.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-fNJoHMK0.js} +2 -2
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioList-u9PoRBXY.js → RadioList-Dt301fwV.js} +1 -1
- package/dist/Resizable/index.d.ts +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-DJiziplk.js} +15 -10
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-BgmpUELq.js → SideNav-CcgrhUXF.js} +6 -6
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-Depy9L-Y.js → Slider-W9T8GaFW.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-EQ8y4vq2.js} +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-dD4OQLkI.js → Switch-YXDRo4ei.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-uPs9O7-T.js} +14 -14
- package/dist/Text/index.js +1 -1
- package/dist/{Text-BWSmB93V.js → Text-vw2_AIxf.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-BNiJxKXr.js} +9 -6
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-C8f89GV8.js → TextInput-CiKL_mGp.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-BJSDUhEI.js} +3 -3
- package/dist/{TimeField-Bzq72Me_.js → TimeField-Cc6LnM1G.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-DAd4fwAj.js} +2 -2
- package/dist/Timer/index.js +1 -1
- package/dist/{Timer-CgBSMr9E.js → Timer-DWdMqvhQ.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-HUDZSHZO.js} +27 -8
- package/dist/Toast/index.js +1 -1
- package/dist/{Toast-CRSZV9K-.js → Toast-y_XAIj6o.js} +2 -2
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/ToggleButton/index.js +1 -1
- package/dist/{ToggleButton-Bm5IQUy5.js → ToggleButton-Bo3FU3Fw.js} +3 -3
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-DmjNQLDl.js → Tokenizer-IlXAt3yW.js} +7 -8
- package/dist/Toolbar/index.d.ts +1 -1
- package/dist/Tooltip/index.d.ts +1 -1
- package/dist/Tooltip/index.js +2 -2
- package/dist/{Tooltip-BwrJVZ8X.js → Tooltip-nEgotJlb.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-Ck5wA5fs.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-6kd7pher.d.ts → index-51CkIKnI.d.ts} +4 -6
- package/dist/{index-qbj0Lj9a.d.ts → index-B99LFtEg.d.ts} +4 -4
- package/dist/{index-CP-fJFcJ.d.ts → index-BOCb89V9.d.ts} +3 -3
- package/dist/{index-D-eT_nvf.d.ts → index-BYEcUSBq.d.ts} +63 -63
- package/dist/{index-YKCx03zD.d.ts → index-BaFphczL.d.ts} +2 -2
- 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-CL8JvxHW.d.ts → index-C1zwvxPH.d.ts} +2 -2
- package/dist/{index-BHYhTZzp.d.ts → index-C2cH8OLC.d.ts} +1 -1
- package/dist/{index-O9y23OPJ.d.ts → index-CMLnSg3T.d.ts} +2 -0
- 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-DDrL_-hJ.d.ts → index-CbA8rR_b.d.ts} +3 -3
- package/dist/{index-ul1hNxih.d.ts → index-ChqMaV6N.d.ts} +13 -2
- package/dist/{index-C9ZssPUV.d.ts → index-CiVrhGUJ.d.ts} +1 -1
- package/dist/{index-Cf5j7Cjl.d.ts → index-Cv0FsOgj.d.ts} +50 -16
- package/dist/{index-rnFsCdJ7.d.ts → index-Cy1rEWC-.d.ts} +1 -1
- package/dist/{index-BzViSe8D.d.ts → index-D1J81rYJ.d.ts} +4 -4
- package/dist/{index-rzkX36wM.d.ts → index-D2p8EVVV.d.ts} +2 -2
- package/dist/{index-BL4mH8aK.d.ts → index-DMN_JVEt.d.ts} +1 -1
- package/dist/{index-DPH5yoAr.d.ts → index-DTvnURvQ.d.ts} +2 -2
- package/dist/{index-BhxqUt3y.d.ts → index-Dpz-JUMl.d.ts} +3 -3
- package/dist/{index-BlGEkjh5.d.ts → index-FzAAjCFZ.d.ts} +6 -6
- package/dist/{index-DYabo8TI.d.ts → index-MvrDMqnQ.d.ts} +1 -1
- package/dist/{index--tm6L1ot.d.ts → index-QRzXr6ME.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-bwNMoZo_.d.ts → index-r1zpDegp.d.ts} +4 -4
- 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-lln4Pl9h.js} +1 -1
- package/dist/{selectorEscape-FjiU_5WC.js → useKeyboardHighlight-CGCf1O57.js} +24 -3
- package/dist/{useLayer-vK4-yRk_.js → useLayer-D34yqEqr.js} +1 -1
- 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-CCPg2zcB.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-BLNzBuiG.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
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
import { t as _sfc_main$1 } from "./Icon-BCHo7W0x.js";
|
|
2
2
|
import { i as useSize } from "./SizeContext-BbaF-SEx.js";
|
|
3
|
-
import { n as _sfc_main$2 } from "./Button-
|
|
3
|
+
import { n as _sfc_main$2 } from "./Button-Bi1evguV.js";
|
|
4
4
|
import { t as _sfc_main$3 } from "./VisuallyHidden-cpmsV-0M.js";
|
|
5
5
|
import { t as _sfc_main$4 } from "./ButtonTooltip-CNKOQHYR.js";
|
|
6
6
|
import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
|
|
7
7
|
import { t as characterCount } from "./characters-wTnzjkkR.js";
|
|
8
|
-
import { t as useAnnounce } from "./announce-
|
|
8
|
+
import { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
9
9
|
import { t as useInputContainer } from "./useInputContainer-CLhsKYZ6.js";
|
|
10
|
-
import { t as _sfc_main$5 } from "./FieldInfoTip-
|
|
10
|
+
import { t as _sfc_main$5 } from "./FieldInfoTip-tETk5JH_.js";
|
|
11
11
|
import { a as useAstryxLocale, o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
12
12
|
import { i as useAriaRequired } from "./context-DsNhYm5O.js";
|
|
13
|
-
import { t as _sfc_main$6 } from "./Field-
|
|
13
|
+
import { t as _sfc_main$6 } from "./Field-CqIDpjny.js";
|
|
14
14
|
import { t as useFieldPartStyling } from "./fieldParts-CbWvZLhH.js";
|
|
15
|
+
import { t as useBusyAnnouncement } from "./busyAnnouncement-CExubuYm.js";
|
|
15
16
|
import { t as textAreaMessages } from "./text-area-CsnUYtMk.js";
|
|
16
17
|
import { t as textInputMessages } from "./text-input-Bs3LFP5a.js";
|
|
17
|
-
import { t as _sfc_main$7 } from "./InputClearButton-
|
|
18
|
+
import { t as _sfc_main$7 } from "./InputClearButton-tztlFeqp.js";
|
|
18
19
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, nextTick, normalizeClass, normalizeStyle, onMounted, openBlock, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, toRaw, unref, useAttrs, useId, useModel, useTemplateRef, watch, withCtx } from "vue";
|
|
19
20
|
import "../styles/text-area.css";
|
|
20
21
|
//#region src/TextArea/useTextAreaAction.ts
|
|
@@ -229,6 +230,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
229
230
|
emitError: (error, value, event) => emit("actionError", error, value, event)
|
|
230
231
|
});
|
|
231
232
|
const busy = computed(() => props.isLoading || action.isPending.value);
|
|
233
|
+
useBusyAnnouncement(busy, () => props.loadingLabel, () => container.value);
|
|
232
234
|
const valueLength = computed(() => limit.value == null ? 0 : characterCount(action.value.value));
|
|
233
235
|
const locale = useAstryxLocale();
|
|
234
236
|
const counterText = computed(() => {
|
|
@@ -418,7 +420,8 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
418
420
|
busy.value ? (openBlock(), createBlock(_sfc_main$2, {
|
|
419
421
|
key: 4,
|
|
420
422
|
class: "astryx-text-area-spinner",
|
|
421
|
-
label: __props.loadingLabel
|
|
423
|
+
label: __props.loadingLabel,
|
|
424
|
+
"is-decorative": ""
|
|
422
425
|
}, null, 8, ["label"])) : createCommentVNode("v-if", true),
|
|
423
426
|
__props.status?.message && __props.statusVariant === "tooltip" ? (openBlock(), createBlock(_sfc_main$5, {
|
|
424
427
|
key: 5,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ct as TextInputChangeEvent, dt as TextInputSize, ft as TextInputSlots, ht as TextInputType, lt as TextInputEmits, mt as TextInputStatusType, ot as _default, pt as TextInputStatus, st as TextInputChangeAction, ut as TextInputProps } from "../index-
|
|
1
|
+
import { ct as TextInputChangeEvent, dt as TextInputSize, ft as TextInputSlots, ht as TextInputType, lt as TextInputEmits, mt as TextInputStatusType, ot as _default, pt as TextInputStatus, st as TextInputChangeAction, ut as TextInputProps } from "../index-BYEcUSBq.js";
|
|
2
2
|
export { _default as TextInput, type TextInputChangeAction, type TextInputChangeEvent, type TextInputEmits, type TextInputProps, type TextInputSize, type TextInputSlots, type TextInputStatus, type TextInputStatusType, type TextInputType };
|
package/dist/TextInput/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../TextInput-
|
|
1
|
+
import { t as _sfc_main } from "../TextInput-CiKL_mGp.js";
|
|
2
2
|
export { _sfc_main as TextInput };
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { r as useInputGroupDisabled } from "./context-Bg7eSJ47.js";
|
|
2
2
|
import { i as useSize } from "./SizeContext-BbaF-SEx.js";
|
|
3
|
-
import { n as _sfc_main$1 } from "./Button-
|
|
3
|
+
import { n as _sfc_main$1 } from "./Button-Bi1evguV.js";
|
|
4
4
|
import { t as _sfc_main$2 } from "./VisuallyHidden-cpmsV-0M.js";
|
|
5
5
|
import { t as _sfc_main$3 } from "./ButtonTooltip-CNKOQHYR.js";
|
|
6
6
|
import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
|
|
7
7
|
import { t as useInputContainer } from "./useInputContainer-CLhsKYZ6.js";
|
|
8
|
-
import { t as useInputStatusIcon } from "./useInputStatusIcon-
|
|
8
|
+
import { t as useInputStatusIcon } from "./useInputStatusIcon-lln4Pl9h.js";
|
|
9
9
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
10
10
|
import { i as useAriaRequired } from "./context-DsNhYm5O.js";
|
|
11
|
-
import { t as _sfc_main$4 } from "./Field-
|
|
11
|
+
import { t as _sfc_main$4 } from "./Field-CqIDpjny.js";
|
|
12
12
|
import { t as useFieldPartStyling } from "./fieldParts-CbWvZLhH.js";
|
|
13
|
+
import { t as useBusyAnnouncement } from "./busyAnnouncement-CExubuYm.js";
|
|
13
14
|
import { t as textInputMessages } from "./text-input-Bs3LFP5a.js";
|
|
14
|
-
import { t as _sfc_main$5 } from "./InputClearButton-
|
|
15
|
+
import { t as _sfc_main$5 } from "./InputClearButton-tztlFeqp.js";
|
|
15
16
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onMounted, openBlock, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, toRaw, unref, useAttrs, useId, useModel, useTemplateRef, watch, withCtx } from "vue";
|
|
16
17
|
import "../styles/text-input.css";
|
|
17
18
|
//#region src/TextInput/useTextInputAction.ts
|
|
@@ -199,6 +200,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
199
200
|
emitError: (error, value, event) => emit("actionError", error, value, event)
|
|
200
201
|
});
|
|
201
202
|
const busy = computed(() => props.isLoading || action.isPending.value);
|
|
203
|
+
useBusyAnnouncement(busy, () => props.loadingLabel, () => container.value);
|
|
202
204
|
const element = computed(() => input.value ?? null);
|
|
203
205
|
function focus(options) {
|
|
204
206
|
input.value?.focus(options);
|
|
@@ -354,7 +356,8 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
354
356
|
busy.value ? (openBlock(), createBlock(_sfc_main$1, {
|
|
355
357
|
key: 3,
|
|
356
358
|
class: "astryx-text-input-spinner",
|
|
357
|
-
label: __props.loadingLabel
|
|
359
|
+
label: __props.loadingLabel,
|
|
360
|
+
"is-decorative": ""
|
|
358
361
|
}, null, 8, ["label"])) : createCommentVNode("v-if", true),
|
|
359
362
|
unref(statusIcon) ? (openBlock(), createBlock(resolveDynamicComponent(unref(statusIcon)), normalizeProps(mergeProps({ key: 4 }, unref(statusIconProps))), null, 16)) : createCommentVNode("v-if", true)
|
|
360
363
|
], 46, _hoisted_1)]),
|
package/dist/Theme/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as neutralTheme, c as expandRadiusScale, d as DEFAULT_WIDTH_BREAKPOINTS, f as WIDTH_BREAKPOINT_NAMES, i as isDefinedTheme, l as expandMotionScale, n as _sfc_main$1, o as STATUS_COLOR_DEFAULTS, r as defineTheme, s as expandTypeScale, t as useMediaTheme, u as expandColorScale } from "../Theme-
|
|
2
|
-
import { a as normalizeTokenName, d as DATA_TOKEN_DEFAULTS, n as useTheme, t as _sfc_main } from "../MediaTheme-
|
|
1
|
+
import { a as neutralTheme, c as expandRadiusScale, d as DEFAULT_WIDTH_BREAKPOINTS, f as WIDTH_BREAKPOINT_NAMES, i as isDefinedTheme, l as expandMotionScale, n as _sfc_main$1, o as STATUS_COLOR_DEFAULTS, r as defineTheme, s as expandTypeScale, t as useMediaTheme, u as expandColorScale } from "../Theme-8bDq2nud.js";
|
|
2
|
+
import { a as normalizeTokenName, d as DATA_TOKEN_DEFAULTS, n as useTheme, t as _sfc_main } from "../MediaTheme-Bkj-_DFN.js";
|
|
3
3
|
export { DATA_TOKEN_DEFAULTS, DEFAULT_WIDTH_BREAKPOINTS, _sfc_main as MediaTheme, STATUS_COLOR_DEFAULTS, _sfc_main$1 as Theme, WIDTH_BREAKPOINT_NAMES, defineTheme, expandColorScale, expandMotionScale, expandRadiusScale, expandTypeScale, isDefinedTheme, neutralTheme, normalizeTokenName, useMediaTheme, useTheme };
|
|
@@ -3,7 +3,7 @@ import { n as observeResize } from "./sharedResizeObserver-BekhnB3E.js";
|
|
|
3
3
|
import { r as staticComponentIcons, t as mergeComponentIcons } from "./componentIcons-CFr2L6o3.js";
|
|
4
4
|
import { a as syntaxThemeStyle } from "./syntaxTheme-R7xnu5x5.js";
|
|
5
5
|
import { t as syntaxThemeKey } from "./syntaxContext-DmIfNNtb.js";
|
|
6
|
-
import { a as normalizeTokenName, c as contrastRatio, i as isPortableTokenName, l as parseColor, o as prefixTokenReferences, r as bridgeComponentTokens, s as compositeOver, u as relativeLuminance } from "./MediaTheme-
|
|
6
|
+
import { a as normalizeTokenName, c as contrastRatio, i as isPortableTokenName, l as parseColor, o as prefixTokenReferences, r as bridgeComponentTokens, s as compositeOver, u as relativeLuminance } from "./MediaTheme-Bkj-_DFN.js";
|
|
7
7
|
import { computed, createBlock, createCommentVNode, createElementBlock, defineComponent, h, inject, markRaw, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, openBlock, provide, renderSlot, unref, useAttrs, useTemplateRef, watch } from "vue";
|
|
8
8
|
import "../styles/theme.css";
|
|
9
9
|
//#region src/Theme/adaptationTypes.ts
|
package/dist/Thumbnail/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Thumbnail-
|
|
1
|
+
import { t as _sfc_main } from "../Thumbnail-BJSDUhEI.js";
|
|
2
2
|
export { _sfc_main as Thumbnail };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as usePressFeedback } from "./usePressFeedback-Cxu4-mCe.js";
|
|
2
2
|
import { t as _sfc_main$1 } from "./Icon-BCHo7W0x.js";
|
|
3
|
-
import { t as useAnnounce } from "./announce-
|
|
4
|
-
import { t as _sfc_main$2 } from "./IconButton-
|
|
3
|
+
import { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
4
|
+
import { t as _sfc_main$2 } from "./IconButton-eGsozJhK.js";
|
|
5
5
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
6
|
-
import { t as _sfc_main$3 } from "./Tooltip-
|
|
6
|
+
import { t as _sfc_main$3 } from "./Tooltip-nEgotJlb.js";
|
|
7
7
|
import { t as spinnerMessages } from "./spinner-DVia-eDf.js";
|
|
8
8
|
import { t as _sfc_main$4 } from "./Spinner-DEVPDsD0.js";
|
|
9
9
|
import { t as thumbnailMessages } from "./thumbnail-BI82Ijpj.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { n as _sfc_main$2 } from "./BottomSheet-
|
|
1
|
+
import { n as _sfc_main$2 } from "./BottomSheet-HQpcSkPH.js";
|
|
2
2
|
import { t as _sfc_main$3 } from "./Icon-BCHo7W0x.js";
|
|
3
|
-
import { n as usePositionedLayer, t as useDismiss } from "./useDismiss-
|
|
4
|
-
import {
|
|
3
|
+
import { n as usePositionedLayer, t as useDismiss } from "./useDismiss-Dfb0Ky7T.js";
|
|
4
|
+
import { p as isImeKeyEvent } from "./interactionModality-B5dR7nnb.js";
|
|
5
5
|
import { t as _sfc_main$4 } from "./VisuallyHidden-cpmsV-0M.js";
|
|
6
6
|
import { t as _sfc_main$5 } from "./ButtonTooltip-CNKOQHYR.js";
|
|
7
7
|
import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
|
|
8
|
-
import { t as useMediaQuery } from "./useMediaQuery-
|
|
8
|
+
import { t as useMediaQuery } from "./useMediaQuery-BzXGT1Aw.js";
|
|
9
9
|
import { t as _sfc_main$6 } from "./FieldIcon-DMtfe1Ne.js";
|
|
10
|
-
import { t as _sfc_main$7 } from "./IconButton-
|
|
10
|
+
import { t as _sfc_main$7 } from "./IconButton-eGsozJhK.js";
|
|
11
11
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
12
12
|
import { a as parseISOTime, i as parseDisplayTime, n as formatISOTime, o as resolveTimeSurface, r as isTimeInRange, s as shiftTime, t as formatDisplayTime } from "./useTimeValue-_XW9g2V1.js";
|
|
13
13
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { at as TimeInputSize, it as TimeInputProps, nt as _default, rt as TimeInputEmits } from "../index-
|
|
1
|
+
import { at as TimeInputSize, it as TimeInputProps, nt as _default, rt as TimeInputEmits } from "../index-BYEcUSBq.js";
|
|
2
2
|
export { _default as TimeInput, type TimeInputEmits, type TimeInputProps, type TimeInputSize };
|
package/dist/TimeInput/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../TimeInput-
|
|
1
|
+
import { t as _sfc_main } from "../TimeInput-DAd4fwAj.js";
|
|
2
2
|
export { _sfc_main as TimeInput };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as useInputGroupDisabled } from "./context-Bg7eSJ47.js";
|
|
2
2
|
import { i as useSize } from "./SizeContext-BbaF-SEx.js";
|
|
3
3
|
import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
|
|
4
|
-
import { t as _sfc_main$1 } from "./Field-
|
|
4
|
+
import { t as _sfc_main$1 } from "./Field-CqIDpjny.js";
|
|
5
5
|
import { t as useFieldPartStyling } from "./fieldParts-CbWvZLhH.js";
|
|
6
|
-
import { t as _sfc_main$2 } from "./TimeField-
|
|
6
|
+
import { t as _sfc_main$2 } from "./TimeField-Cc6LnM1G.js";
|
|
7
7
|
import { computed, createBlock, createVNode, defineComponent, mergeModels, mergeProps, normalizeClass, normalizeStyle, openBlock, unref, useAttrs, useId, useModel, withCtx } from "vue";
|
|
8
8
|
//#region src/TimeInput/TimeInput.vue
|
|
9
9
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
package/dist/Timer/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as getPresentation, t as _sfc_main } from "../Timer-
|
|
1
|
+
import { n as getPresentation, t as _sfc_main } from "../Timer-DWdMqvhQ.js";
|
|
2
2
|
export { _sfc_main as Timer, getPresentation };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as _sfc_main$1 } from "./Text-
|
|
1
|
+
import { t as _sfc_main$1 } from "./Text-vw2_AIxf.js";
|
|
2
2
|
import { computed, createBlock, createElementBlock, createElementVNode, defineComponent, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, openBlock, useTemplateRef, watch, withCtx } from "vue";
|
|
3
3
|
import "../styles/timer.css";
|
|
4
4
|
//#region src/Timer/format.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as FormatInstantOptions, G as TimestampColor, J as TimestampTooltipEntry, K as TimestampFormat, Q as formatRelativeTime, W as _default, X as TimestampTooltipLine, Y as TimestampTooltipFormat, Z as formatTooltipLines, et as InstantFormat, q as TimestampProps, tt as formatInstant } from "../index-
|
|
1
|
+
import { $ as FormatInstantOptions, G as TimestampColor, J as TimestampTooltipEntry, K as TimestampFormat, Q as formatRelativeTime, W as _default, X as TimestampTooltipLine, Y as TimestampTooltipFormat, Z as formatTooltipLines, et as InstantFormat, q as TimestampProps, tt as formatInstant } from "../index-BYEcUSBq.js";
|
|
2
2
|
export { type FormatInstantOptions, type InstantFormat, _default as Timestamp, type TimestampColor, type TimestampFormat, type TimestampProps, type TimestampTooltipEntry, type TimestampTooltipFormat, type TimestampTooltipLine, formatInstant, formatRelativeTime, formatTooltipLines };
|
package/dist/Timestamp/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { t as formatInstant } from "../formatInstant-BDWUIxS7.js";
|
|
2
|
-
import { n as formatTooltipLines, r as formatRelativeTime, t as _sfc_main } from "../Timestamp-
|
|
2
|
+
import { n as formatTooltipLines, r as formatRelativeTime, t as _sfc_main } from "../Timestamp-HUDZSHZO.js";
|
|
3
3
|
export { _sfc_main as Timestamp, formatInstant, formatRelativeTime, formatTooltipLines };
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import { t as
|
|
1
|
+
import { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
2
|
+
import { t as writeClipboardText } from "./clipboardWrite-Ds6fxmZc.js";
|
|
3
|
+
import { t as _sfc_main$2 } from "./IconButton-eGsozJhK.js";
|
|
2
4
|
import { a as useAstryxLocale, o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
3
|
-
import { t as _sfc_main$3 } from "./Text-
|
|
4
|
-
import { t as _sfc_main$4 } from "./HoverCard-
|
|
5
|
+
import { t as _sfc_main$3 } from "./Text-vw2_AIxf.js";
|
|
6
|
+
import { t as _sfc_main$4 } from "./HoverCard-Ddcu9mBO.js";
|
|
5
7
|
import { t as _sfc_main$5 } from "./ComponentIcon-BRXBBKeG.js";
|
|
6
8
|
import { t as formatInstant } from "./formatInstant-BDWUIxS7.js";
|
|
7
|
-
import { t as timestampMessages } from "./timestamp-
|
|
9
|
+
import { t as timestampMessages } from "./timestamp-BMYQsFDj.js";
|
|
8
10
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, openBlock, ref, renderList, renderSlot, toDisplayString, unref, watch, withCtx } from "vue";
|
|
9
11
|
import "../styles/timestamp.css";
|
|
10
12
|
//#region src/Timestamp/formatRelativeTime.ts
|
|
@@ -80,7 +82,9 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
80
82
|
setup(__props) {
|
|
81
83
|
const props = __props;
|
|
82
84
|
const messages = useComponentMessages({ timestamp: timestampMessages });
|
|
85
|
+
const announce = useAnnounce();
|
|
83
86
|
const copiedKey = ref();
|
|
87
|
+
const failedKey = ref();
|
|
84
88
|
let resetTimer;
|
|
85
89
|
const hasLabel = computed(() => props.lines.some((line) => line.label != null && line.label !== ""));
|
|
86
90
|
const hasAction = computed(() => props.lines.some((line) => line.isCopyable));
|
|
@@ -91,17 +95,32 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
91
95
|
return "value";
|
|
92
96
|
});
|
|
93
97
|
async function copy(value, key) {
|
|
98
|
+
clearTimeout(resetTimer);
|
|
94
99
|
try {
|
|
95
|
-
await
|
|
100
|
+
await writeClipboardText(value);
|
|
96
101
|
} catch {
|
|
102
|
+
copiedKey.value = void 0;
|
|
103
|
+
failedKey.value = key;
|
|
104
|
+
announce(messages.value.timestamp.copyFailed, "assertive");
|
|
105
|
+
resetTimer = setTimeout(() => {
|
|
106
|
+
if (failedKey.value === key) failedKey.value = void 0;
|
|
107
|
+
}, 1500);
|
|
97
108
|
return;
|
|
98
109
|
}
|
|
110
|
+
failedKey.value = void 0;
|
|
99
111
|
copiedKey.value = key;
|
|
100
|
-
clearTimeout(resetTimer);
|
|
101
112
|
resetTimer = setTimeout(() => {
|
|
102
113
|
if (copiedKey.value === key) copiedKey.value = void 0;
|
|
103
114
|
}, 1500);
|
|
104
115
|
}
|
|
116
|
+
function copyLabel(line, key) {
|
|
117
|
+
if (failedKey.value === key) return messages.value.timestamp.copyFailed;
|
|
118
|
+
return copiedKey.value === key ? messages.value.timestamp.copied : messages.value.timestamp.copyValue(line.value);
|
|
119
|
+
}
|
|
120
|
+
function copyIcon(key) {
|
|
121
|
+
if (failedKey.value === key) return "close";
|
|
122
|
+
return copiedKey.value === key ? "check" : "copy";
|
|
123
|
+
}
|
|
105
124
|
return (_ctx, _cache) => {
|
|
106
125
|
return openBlock(), createBlock(_sfc_main$4, {
|
|
107
126
|
label: __props.label,
|
|
@@ -124,14 +143,14 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
124
143
|
key: 0,
|
|
125
144
|
variant: "ghost",
|
|
126
145
|
size: "sm",
|
|
127
|
-
label:
|
|
146
|
+
label: copyLabel(line, String(index)),
|
|
128
147
|
onClick: ($event) => copy(line.value, String(index))
|
|
129
148
|
}, {
|
|
130
149
|
default: withCtx(() => [createVNode(_sfc_main$5, {
|
|
131
150
|
"icon-slot": "timestamp-copy",
|
|
132
151
|
state: { copied: copiedKey.value === String(index) },
|
|
133
152
|
fallback: {
|
|
134
|
-
icon:
|
|
153
|
+
icon: copyIcon(String(index)),
|
|
135
154
|
size: "sm"
|
|
136
155
|
}
|
|
137
156
|
}, null, 8, ["state", "fallback"])]),
|
package/dist/Toast/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main$1, r as _sfc_main, t as useToast } from "../Toast-
|
|
1
|
+
import { n as _sfc_main$1, r as _sfc_main, t as useToast } from "../Toast-y_XAIj6o.js";
|
|
2
2
|
export { _sfc_main as Toast, _sfc_main$1 as ToastViewport, useToast };
|
|
@@ -2,11 +2,11 @@ import { n as hasInteractiveAncestor } from "./useClickableContainer-Dtjg-nkm.js
|
|
|
2
2
|
import { r as resetLayerScopedContext } from "./scopedProvide-C-Df7c15.js";
|
|
3
3
|
import { t as _sfc_main$2 } from "./Icon-BCHo7W0x.js";
|
|
4
4
|
import { r as useLayerConfig } from "./context-M-er0-Rk.js";
|
|
5
|
-
import { t as _sfc_main$3 } from "./IconButton-
|
|
5
|
+
import { t as _sfc_main$3 } from "./IconButton-eGsozJhK.js";
|
|
6
6
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
7
7
|
import { n as useActiveModalOutlet, r as whenModalSettled } from "./modalOutlet-Drr9a16b.js";
|
|
8
8
|
import { t as toastMessages } from "./toast-BvAnX6Vc.js";
|
|
9
|
-
import { n as useTheme, t as _sfc_main$4 } from "./MediaTheme-
|
|
9
|
+
import { n as useTheme, t as _sfc_main$4 } from "./MediaTheme-Bkj-_DFN.js";
|
|
10
10
|
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, guardReactiveProps, markRaw, normalizeClass, normalizeProps, normalizeStyle, onMounted, onScopeDispose, onUnmounted, openBlock, reactive, ref, renderList, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, unref, watch, withCtx } from "vue";
|
|
11
11
|
import "../styles/toast.css";
|
|
12
12
|
//#region src/Toast/options.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as ToggleButtonEmits, B as ToggleButtonPressedChangeHandler, D as _default, E as _default$1, F as ToggleButtonGroupProps, H as ToggleButtonSize, I as ToggleButtonGroupSingleProps, L as ToggleButtonGroupSlots, M as ToggleButtonGroupEmits, N as ToggleButtonGroupMultipleProps, O as ToggleButtonChangeAction, P as ToggleButtonGroupOrientation, R as ToggleButtonGroupType, U as ToggleButtonSlots, V as ToggleButtonProps, j as ToggleButtonGroupBaseProps, k as ToggleButtonElevation, z as ToggleButtonGroupValue } from "../index-
|
|
1
|
+
import { A as ToggleButtonEmits, B as ToggleButtonPressedChangeHandler, D as _default, E as _default$1, F as ToggleButtonGroupProps, H as ToggleButtonSize, I as ToggleButtonGroupSingleProps, L as ToggleButtonGroupSlots, M as ToggleButtonGroupEmits, N as ToggleButtonGroupMultipleProps, O as ToggleButtonChangeAction, P as ToggleButtonGroupOrientation, R as ToggleButtonGroupType, U as ToggleButtonSlots, V as ToggleButtonProps, j as ToggleButtonGroupBaseProps, k as ToggleButtonElevation, z as ToggleButtonGroupValue } from "../index-BYEcUSBq.js";
|
|
2
2
|
export { _default as ToggleButton, _default as default, type ToggleButtonChangeAction, type ToggleButtonElevation, type ToggleButtonEmits, _default$1 as ToggleButtonGroup, type ToggleButtonGroupBaseProps, type ToggleButtonGroupEmits, type ToggleButtonGroupMultipleProps, type ToggleButtonGroupOrientation, type ToggleButtonGroupProps, type ToggleButtonGroupSingleProps, type ToggleButtonGroupSlots, type ToggleButtonGroupType, type ToggleButtonGroupValue, type ToggleButtonPressedChangeHandler, type ToggleButtonProps, type ToggleButtonSize, type ToggleButtonSlots };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main$1, r as _sfc_main, t as ToggleButton_default } from "../ToggleButton-
|
|
1
|
+
import { n as _sfc_main$1, r as _sfc_main, t as ToggleButton_default } from "../ToggleButton-Bo3FU3Fw.js";
|
|
2
2
|
export { _sfc_main as ToggleButton, _sfc_main$1 as ToggleButtonGroup, ToggleButton_default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as pressGroupItemProps, n as useTouchHitArea, t as GROUP_HIT_AREA } from "./useTouchHitArea-
|
|
2
|
-
import { t as useActionGroupTracking } from "./useActionGroupTracking-
|
|
1
|
+
import { a as pressGroupItemProps, n as useTouchHitArea, t as GROUP_HIT_AREA } from "./useTouchHitArea-CzCtdSt9.js";
|
|
2
|
+
import { t as useActionGroupTracking } from "./useActionGroupTracking-CbE8fwYb.js";
|
|
3
3
|
import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
|
|
4
|
-
import { t as _sfc_main$2 } from "./Button-
|
|
4
|
+
import { t as _sfc_main$2 } from "./Button-Bi1evguV.js";
|
|
5
5
|
import { n as buttonHitAreaContextKey } from "./context-Cgkyk-b7.js";
|
|
6
6
|
import { t as useCoarsePointer } from "./useCoarsePointer-GItEMrjX.js";
|
|
7
7
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, defineComponent, mergeModels, mergeProps, normalizeClass, openBlock, provide, renderSlot, shallowRef, toDisplayString, unref, useModel, useTemplateRef, withCtx } from "vue";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TokenizerProps, c as TokenizerStatus, i as TokenizerOverflow, n as TokenizerChange, o as TokenizerSize, r as TokenizerEmits, s as TokenizerSlots, t as _default } from "../index-
|
|
1
|
+
import { a as TokenizerProps, c as TokenizerStatus, i as TokenizerOverflow, n as TokenizerChange, o as TokenizerSize, r as TokenizerEmits, s as TokenizerSlots, t as _default } from "../index-Bc-ChXDo.js";
|
|
2
2
|
export { _default as Tokenizer, type TokenizerChange, type TokenizerEmits, type TokenizerOverflow, type TokenizerProps, type TokenizerSize, type TokenizerSlots, type TokenizerStatus };
|
package/dist/Tokenizer/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Tokenizer-
|
|
1
|
+
import { t as _sfc_main } from "../Tokenizer-IlXAt3yW.js";
|
|
2
2
|
export { _sfc_main as Tokenizer };
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
import { i as useSize } from "./SizeContext-BbaF-SEx.js";
|
|
2
|
-
import {
|
|
3
|
-
import { i as trackInteractionModality, t as getInteractionModality } from "./interactionModality-BPvyShJT.js";
|
|
2
|
+
import { i as trackInteractionModality, p as isImeKeyEvent, t as getInteractionModality } from "./interactionModality-B5dR7nnb.js";
|
|
4
3
|
import { t as _sfc_main$1 } from "./ButtonTooltip-CNKOQHYR.js";
|
|
5
4
|
import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
|
|
6
|
-
import { t as useAnnounce } from "./announce-
|
|
5
|
+
import { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
7
6
|
import { n as isDevBuild, t as devPropError } from "./devBuild-G249YcdZ.js";
|
|
8
|
-
import { t as useInputStatusIcon } from "./useInputStatusIcon-
|
|
7
|
+
import { t as useInputStatusIcon } from "./useInputStatusIcon-lln4Pl9h.js";
|
|
9
8
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
10
|
-
import {
|
|
9
|
+
import { t as useOverflow } from "./useOverflow-GU0pxGaU.js";
|
|
11
10
|
import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
|
|
12
11
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
13
|
-
import { t as _sfc_main$2 } from "./Field-
|
|
12
|
+
import { t as _sfc_main$2 } from "./Field-CqIDpjny.js";
|
|
14
13
|
import { t as useFieldPartStyling } from "./fieldParts-CbWvZLhH.js";
|
|
15
14
|
import { t as tokenizerMessages } from "./tokenizer-ChiAuPN-.js";
|
|
16
15
|
import { t as _sfc_main$3 } from "./Token-uhs8Q9Rr.js";
|
|
17
|
-
import { n as scrollOptionIntoView, r as useAnchoredListbox } from "./stillPointerGate-
|
|
18
|
-
import { a as useTypeaheadMenu, i as useLatchedOptionGrid, n as _sfc_main$4, t as useTypeaheadAnnouncement } from "./useTypeaheadAnnouncement-
|
|
16
|
+
import { n as scrollOptionIntoView, r as useAnchoredListbox } from "./stillPointerGate-0vdn-hSa.js";
|
|
17
|
+
import { a as useTypeaheadMenu, i as useLatchedOptionGrid, n as _sfc_main$4, t as useTypeaheadAnnouncement } from "./useTypeaheadAnnouncement-CSikDlpK.js";
|
|
19
18
|
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onBeforeUnmount, onMounted, openBlock, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, useAttrs, useId, useTemplateRef, vShow, watch, withCtx, withDirectives } from "vue";
|
|
20
19
|
import "../styles/layer.css";
|
|
21
20
|
import "../styles/visually-hidden-utility.css";
|
package/dist/Toolbar/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { T as _default } from "../index-
|
|
1
|
+
import { T as _default } from "../index-BYEcUSBq.js";
|
|
2
2
|
import { et as ToolbarOrientation, nt as ToolbarSize, tt as ToolbarProps } from "../useResizable-CJd4JkbJ.js";
|
|
3
3
|
export { _default as Toolbar, type ToolbarOrientation, type ToolbarProps, type ToolbarSize };
|
package/dist/Tooltip/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TooltipAlignment, c as TooltipProps, i as _default, l as TooltipTouchTrigger, n as UseTooltipReturn, o as TooltipFocusTrigger, r as useTooltip, s as TooltipPlacement, t as UseTooltipOptions } from "../index-
|
|
1
|
+
import { a as TooltipAlignment, c as TooltipProps, i as _default, l as TooltipTouchTrigger, n as UseTooltipReturn, o as TooltipFocusTrigger, r as useTooltip, s as TooltipPlacement, t as UseTooltipOptions } from "../index-MvrDMqnQ.js";
|
|
2
2
|
export { _default as Tooltip, type TooltipAlignment, type TooltipFocusTrigger, type TooltipPlacement, type TooltipProps, type TooltipTouchTrigger, type UseTooltipOptions, type UseTooltipReturn, useTooltip };
|
package/dist/Tooltip/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as useTooltip } from "../useTooltip-
|
|
2
|
-
import { t as _sfc_main } from "../Tooltip-
|
|
1
|
+
import { t as useTooltip } from "../useTooltip-CCPg2zcB.js";
|
|
2
|
+
import { t as _sfc_main } from "../Tooltip-nEgotJlb.js";
|
|
3
3
|
export { _sfc_main as Tooltip, useTooltip };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { i as _sfc_main$1, t as useTooltip } from "./useTooltip-CCPg2zcB.js";
|
|
2
2
|
import { Fragment, Teleport, computed, createElementBlock, createTextVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, nextTick, onMounted, onUpdated, openBlock, ref, renderSlot, toDisplayString, unref, useAttrs, watch, withCtx } from "vue";
|
|
3
3
|
import "../styles/tooltip.css";
|
|
4
4
|
//#region src/Tooltip/Tooltip.vue
|
package/dist/TopNav/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as TopNavMenuProps, S as TopNavMenuItem, _ as TopNavMegaMenuEmits, b as TopNavMegaMenuProps, c as _default$5, d as _default$2, f as _default$1, g as TopNavItemProps, h as TopNavItemEmits, l as _default$4, m as TopNavHeadingProps, p as _default, s as _default$6, u as _default$3, v as TopNavMegaMenuFeaturedCardProps, w as TopNavProps, x as TopNavMenuEmits, y as TopNavMegaMenuItemProps } from "../index-
|
|
1
|
+
import { C as TopNavMenuProps, S as TopNavMenuItem, _ as TopNavMegaMenuEmits, b as TopNavMegaMenuProps, c as _default$5, d as _default$2, f as _default$1, g as TopNavItemProps, h as TopNavItemEmits, l as _default$4, m as TopNavHeadingProps, p as _default, s as _default$6, u as _default$3, v as TopNavMegaMenuFeaturedCardProps, w as TopNavProps, x as TopNavMenuEmits, y as TopNavMegaMenuItemProps } from "../index-BYEcUSBq.js";
|
|
2
2
|
export { _default as TopNav, _default$1 as TopNavHeading, type TopNavHeadingProps, _default$2 as TopNavItem, type TopNavItemEmits, type TopNavItemProps, _default$3 as TopNavMegaMenu, type TopNavMegaMenuEmits, _default$4 as TopNavMegaMenuFeaturedCard, type TopNavMegaMenuFeaturedCardProps, _default$5 as TopNavMegaMenuItem, type TopNavMegaMenuItemProps, type TopNavMegaMenuProps, _default$6 as TopNavMenu, type TopNavMenuEmits, type TopNavMenuItem, type TopNavMenuProps, type TopNavProps };
|
package/dist/TopNav/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as _sfc_main$2, i as _sfc_main$3, n as _sfc_main$5, o as _sfc_main$1, r as _sfc_main$4, s as _sfc_main, t as _sfc_main$6 } from "../TopNav-
|
|
1
|
+
import { a as _sfc_main$2, i as _sfc_main$3, n as _sfc_main$5, o as _sfc_main$1, r as _sfc_main$4, s as _sfc_main, t as _sfc_main$6 } from "../TopNav-CzTYtsm4.js";
|
|
2
2
|
export { _sfc_main as TopNav, _sfc_main$1 as TopNavHeading, _sfc_main$2 as TopNavItem, _sfc_main$3 as TopNavMegaMenu, _sfc_main$4 as TopNavMegaMenuFeaturedCard, _sfc_main$5 as TopNavMegaMenuItem, _sfc_main$6 as TopNavMenu };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { t as _sfc_main$8 } from "./Icon-BCHo7W0x.js";
|
|
2
2
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
3
|
-
import { t as useMediaQuery } from "./useMediaQuery-
|
|
3
|
+
import { t as useMediaQuery } from "./useMediaQuery-BzXGT1Aw.js";
|
|
4
4
|
import { n as useAppShellMobile } from "./useAppShellMobile-DTsyuAJ4.js";
|
|
5
5
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
6
6
|
import { t as useListFocus } from "./useListFocus-CbHkLT-X.js";
|
|
7
7
|
import { t as navMessages } from "./nav-DpKQUHqR.js";
|
|
8
|
-
import { n as _sfc_main$10, r as mobileNavKey, t as _sfc_main$9 } from "./MobileNavToggle-
|
|
8
|
+
import { n as _sfc_main$10, r as mobileNavKey, t as _sfc_main$9 } from "./MobileNavToggle-DlQmYaBx.js";
|
|
9
9
|
import { i as safeNavHref, n as isNavigableHref, r as resolveNavRoot } from "./link-DuuA2eCL.js";
|
|
10
10
|
import { t as _sfc_main$11 } from "./NavItem-hmUfwhiK.js";
|
|
11
|
-
import { n as navMenuCloseKey, t as _sfc_main$12 } from "./NavDisclosure-
|
|
12
|
-
import { n as _sfc_main$14, t as _sfc_main$13 } from "./NavMenuItem-
|
|
13
|
-
import { t as _sfc_main$15 } from "./NavHeadingSurface-
|
|
11
|
+
import { n as navMenuCloseKey, t as _sfc_main$12 } from "./NavDisclosure-Dg6U7pc7.js";
|
|
12
|
+
import { n as _sfc_main$14, t as _sfc_main$13 } from "./NavMenuItem-BbT97LNz.js";
|
|
13
|
+
import { t as _sfc_main$15 } from "./NavHeadingSurface-C17cbKn9.js";
|
|
14
14
|
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, inject, nextTick, normalizeClass, normalizeProps, onMounted, openBlock, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, useId, useSlots, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
|
|
15
15
|
import "../styles/top-nav.css";
|
|
16
16
|
//#region src/TopNav/TopNav.vue
|
package/dist/TreeList/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TreeListItemData, c as TreeListVariant, i as TreeListDensity, n as useTreeFocus, o as TreeListProps, r as _default, s as TreeListSlots, t as UseTreeFocusOptions } from "../index-
|
|
1
|
+
import { a as TreeListItemData, c as TreeListVariant, i as TreeListDensity, n as useTreeFocus, o as TreeListProps, r as _default, s as TreeListSlots, t as UseTreeFocusOptions } from "../index-CMLnSg3T.js";
|
|
2
2
|
export { _default as TreeList, type TreeListDensity, type TreeListItemData, type TreeListProps, type TreeListSlots, type TreeListVariant, type UseTreeFocusOptions, useTreeFocus };
|
package/dist/TreeList/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as useTreeFocus, t as _sfc_main } from "../TreeList-
|
|
1
|
+
import { n as useTreeFocus, t as _sfc_main } from "../TreeList-TEh2PChT.js";
|
|
2
2
|
export { _sfc_main as TreeList, useTreeFocus };
|
|
@@ -510,6 +510,7 @@ function useTreeFocus(options) {
|
|
|
510
510
|
treeRef,
|
|
511
511
|
focusFirst,
|
|
512
512
|
focusLast,
|
|
513
|
+
focusRow: focusItem,
|
|
513
514
|
handleFocus,
|
|
514
515
|
handleKeyDown
|
|
515
516
|
};
|
|
@@ -577,8 +578,12 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
577
578
|
if (!found) return false;
|
|
578
579
|
return id in expanded ? expanded[id] === true : seeded;
|
|
579
580
|
}
|
|
581
|
+
/** 焦点在要收起的分支里面时,先把焦点挪到这一行:分支收起会把里面的节点从页面上拿掉,焦点会掉到 body。树的焦点模型建好后接上。 */
|
|
582
|
+
let keepFocusOnCollapsingRow = () => {};
|
|
580
583
|
function toggle(id) {
|
|
581
|
-
|
|
584
|
+
const collapsing = currentExpanded(id, props.items);
|
|
585
|
+
if (collapsing) keepFocusOnCollapsingRow(id);
|
|
586
|
+
expanded[id] = !collapsing;
|
|
582
587
|
}
|
|
583
588
|
const hasExpandable = computed(() => {
|
|
584
589
|
let found = false;
|
|
@@ -602,7 +607,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
602
607
|
return visit(items) ?? firstEnabled ?? items[0]?.id;
|
|
603
608
|
}
|
|
604
609
|
const tabbableId = computed(() => initialTabbable(props.items));
|
|
605
|
-
const { treeRef, handleKeyDown, handleFocus } = useTreeFocus({
|
|
610
|
+
const { treeRef, focusRow, handleKeyDown, handleFocus } = useTreeFocus({
|
|
606
611
|
hasRovingTabIndex: true,
|
|
607
612
|
matchLabelledBy: true,
|
|
608
613
|
onToggleExpand: toggle,
|
|
@@ -615,6 +620,14 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
615
620
|
return false;
|
|
616
621
|
}
|
|
617
622
|
});
|
|
623
|
+
keepFocusOnCollapsingRow = (id) => {
|
|
624
|
+
const tree = treeRef.value;
|
|
625
|
+
const active = typeof document === "undefined" ? null : document.activeElement;
|
|
626
|
+
if (tree == null || active == null || !tree.contains(active)) return;
|
|
627
|
+
const row = [...tree.querySelectorAll("[role=\"treeitem\"]")].find((item) => item.dataset.treeId === id);
|
|
628
|
+
const group = row?.querySelector(":scope > [role=\"group\"]");
|
|
629
|
+
if (row != null && group?.contains(active) === true) focusRow(row);
|
|
630
|
+
};
|
|
618
631
|
function callKeydown(listener, event) {
|
|
619
632
|
if (typeof listener === "function") listener(event);
|
|
620
633
|
else if (Array.isArray(listener)) listener.forEach((entry) => callKeydown(entry, event));
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TypeaheadEmits, c as TypeaheadSize, i as BaseTypeaheadProps, l as TypeaheadSlots, n as _default$1, o as TypeaheadItemProps, r as _default, s as TypeaheadProps, t as _default$2, u as TypeaheadStatus } from "../index-
|
|
1
|
+
import { a as TypeaheadEmits, c as TypeaheadSize, i as BaseTypeaheadProps, l as TypeaheadSlots, n as _default$1, o as TypeaheadItemProps, r as _default, s as TypeaheadProps, t as _default$2, u as TypeaheadStatus } from "../index-D1J81rYJ.js";
|
|
2
2
|
export { _default as BaseTypeahead, type BaseTypeaheadProps, _default$1 as Typeahead, type TypeaheadEmits, _default$2 as TypeaheadItem, type TypeaheadItemProps, type TypeaheadProps, type TypeaheadSize, type TypeaheadSlots, type TypeaheadStatus };
|
package/dist/Typeahead/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { r as _sfc_main$2 } from "../useTypeaheadAnnouncement-
|
|
2
|
-
import { n as _sfc_main, t as _sfc_main$1 } from "../Typeahead-
|
|
1
|
+
import { r as _sfc_main$2 } from "../useTypeaheadAnnouncement-CSikDlpK.js";
|
|
2
|
+
import { n as _sfc_main, t as _sfc_main$1 } from "../Typeahead-Ck5wA5fs.js";
|
|
3
3
|
export { _sfc_main as BaseTypeahead, _sfc_main$1 as Typeahead, _sfc_main$2 as TypeaheadItem };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { r as useInputGroupDisabled } from "./context-Bg7eSJ47.js";
|
|
2
|
-
import {
|
|
2
|
+
import { p as isImeKeyEvent } from "./interactionModality-B5dR7nnb.js";
|
|
3
3
|
import { t as _sfc_main$2 } from "./ButtonTooltip-CNKOQHYR.js";
|
|
4
4
|
import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
|
|
5
|
-
import { t as useInputStatusIcon } from "./useInputStatusIcon-
|
|
5
|
+
import { t as useInputStatusIcon } from "./useInputStatusIcon-lln4Pl9h.js";
|
|
6
6
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
7
7
|
import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
|
|
8
8
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
9
9
|
import { t as _sfc_main$3 } from "./Spinner-DEVPDsD0.js";
|
|
10
|
-
import { t as _sfc_main$4 } from "./Field-
|
|
10
|
+
import { t as _sfc_main$4 } from "./Field-CqIDpjny.js";
|
|
11
11
|
import { t as useFieldPartStyling } from "./fieldParts-CbWvZLhH.js";
|
|
12
12
|
import { t as typeaheadMessages } from "./typeahead-RkZw0Ktn.js";
|
|
13
13
|
import { t as _sfc_main$5 } from "./Token-uhs8Q9Rr.js";
|
|
14
|
-
import { n as scrollOptionIntoView, r as useAnchoredListbox } from "./stillPointerGate-
|
|
15
|
-
import { a as useTypeaheadMenu, i as useLatchedOptionGrid, n as _sfc_main$6, t as useTypeaheadAnnouncement } from "./useTypeaheadAnnouncement-
|
|
14
|
+
import { n as scrollOptionIntoView, r as useAnchoredListbox } from "./stillPointerGate-0vdn-hSa.js";
|
|
15
|
+
import { a as useTypeaheadMenu, i as useLatchedOptionGrid, n as _sfc_main$6, t as useTypeaheadAnnouncement } from "./useTypeaheadAnnouncement-CSikDlpK.js";
|
|
16
16
|
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, inject, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onMounted, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toDisplayString, unref, useAttrs, useId, useTemplateRef, vShow, watch, withCtx, withDirectives } from "vue";
|
|
17
17
|
import "../styles/layer.css";
|
|
18
18
|
import "../styles/visually-hidden-utility.css";
|