@astryx-vue/core 0.20.1 → 0.22.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-DYYA2LOe.js → AlertDialog-VD9PadlM.js} +6 -6
- package/dist/AppShell/index.d.ts +1 -1
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-zEXmJb1h.js → AppShell-C4XGguw0.js} +23 -8
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-D85dSNpq.js → Avatar-CAweS1WY.js} +1 -1
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/AvatarGroup/index.js +1 -1
- package/dist/{AvatarGroup-AIu60Urv.js → AvatarGroup-BUXjzekw.js} +2 -2
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Banner/index.js +1 -1
- package/dist/{Banner-C4ZICVvW.js → Banner-DnK7bKAb.js} +1 -1
- package/dist/BottomSheet/index.js +2 -2
- package/dist/{BottomSheet-DNuzJPfQ.js → BottomSheet-C4OU3mJT.js} +3 -3
- package/dist/{BottomSheet-DV7bboru.js → BottomSheet-CM0-eaUF.js} +4 -4
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/{Breadcrumbs-C8nA3Ft9.js → Breadcrumbs-DZAgtC9c.js} +4 -1
- package/dist/Button/index.d.ts +1 -1
- package/dist/Button/index.js +1 -1
- package/dist/{Button-DOfigN38.js → Button-Blnc0yB3.js} +5 -5
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/ButtonGroup/index.js +1 -1
- package/dist/{ButtonGroup-BzrDhbMP.js → ButtonGroup-DNN4O9_-.js} +3 -3
- package/dist/Calendar/index.d.ts +1 -1
- 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-CRaHAUsZ.js → Carousel-CB4Iap-B.js} +1 -1
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-DTs843Ta.js → Chat-DjJPQ9bX.js} +5 -5
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-Ydl1GSBh.js → CheckboxInput-CGTPmOHs.js} +3 -3
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-Sn_ph-Xz.js → CheckboxList-CGzHkA95.js} +5 -5
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/ClickableCard/index.js +1 -1
- package/dist/{ClickableCard-DH-zpF7o.js → ClickableCard-DMX5z-QV.js} +1 -1
- package/dist/Code/index.d.ts +1 -1
- package/dist/Code/index.js +1 -1
- package/dist/{CodeBlock-DXBJEZS6.js → CodeBlock-CwQCMSKA.js} +1 -1
- package/dist/Collapsible/index.d.ts +1 -1
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-BG-u5nEt.js → Collapsible-BVoNZijw.js} +3 -3
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-CV7t0ouM.js → CommandPalette-DBOETNGM.js} +3 -3
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-BKjyFdHr.js → ComplexSelector-CNBH2t6W.js} +2 -2
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-CwnY6hcJ.js → ContextMenu-CUwAPrVP.js} +6 -7
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-BaX40vSs.js → DateInput-BQ-3bvV5.js} +4 -4
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-DplhXZqK.js → DateRangeInput-DFXz4vNX.js} +3 -3
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-CrD1EEfs.js → DateTimeInput-BHO4nXKW.js} +5 -5
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Dialog/index.js +3 -3
- package/dist/{Dialog-CztWmbf8.js → Dialog-BCPhWMxL.js} +3 -3
- package/dist/{Dialog-B2pOTrnQ.js → Dialog-Dx6zuttb.js} +1 -1
- package/dist/{DialogHeader-CjHTNccL.js → DialogHeader-C9fp2Rti.js} +2 -2
- package/dist/Drawer/index.d.ts +1 -1
- package/dist/Drawer/index.js +1 -1
- package/dist/{Drawer-DGIuMLms.js → Drawer--2vLSKY_.js} +2 -2
- package/dist/DropdownMenu/index.js +3 -3
- package/dist/{DropdownMenu-l9c562oA.js → DropdownMenu-BImEVieZ.js} +7 -7
- package/dist/{DropdownMenu-r93pI0mD.js → DropdownMenu-CskkQAAz.js} +9 -10
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-nyV5XxMA.js → EmptyState-Dq3NWNnG.js} +3 -3
- package/dist/Field/index.js +3 -3
- package/dist/{Field-CIZdFzXr.js → Field-DsucLkyQ.js} +1 -1
- package/dist/{FieldInfoTip-eJSORVbp.js → FieldInfoTip-1zW3QTQG.js} +1 -1
- package/dist/{FieldLabel-BoMSIOLF.js → FieldLabel-D9uFPtXs.js} +1 -1
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-DvGU92Sg.js → FileInput-DLtHinlh.js} +2 -2
- package/dist/Heading/index.js +1 -1
- package/dist/{Heading-Bo6A69fA.js → Heading-DBBChghq.js} +1 -1
- package/dist/HoverCard/index.d.ts +1 -1
- package/dist/HoverCard/index.js +1 -1
- package/dist/{HoverCard-FHYH3VXg.js → HoverCard-BW-bOUZI.js} +4 -4
- package/dist/IconButton/index.js +1 -1
- package/dist/{IconButton-oKXLxgYb.js → IconButton-CIUbkA8_.js} +1 -1
- package/dist/InfoTip/index.d.ts +1 -1
- package/dist/InfoTip/index.js +1 -1
- package/dist/{InfoTip-DWC-vnT5.js → InfoTip-C71T8lv_.js} +2 -2
- package/dist/{InputClearButton-CAitWZTk.js → InputClearButton-h0BxBXu1.js} +1 -1
- package/dist/InputGroup/index.js +1 -1
- package/dist/{InputGroup-CeTKqJQn.js → InputGroup-DHPTru5v.js} +1 -1
- package/dist/{Item-BSHDEJyh.js → Item-CzKm9wxQ.js} +1 -1
- package/dist/{LayerContentBoundary-CpqXMTyU.js → LayerContentBoundary-DxeAFxNJ.js} +1 -1
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-CesmEisI.js → Lightbox-B3WP06Qt.js} +4 -4
- package/dist/Link/index.d.ts +1 -1
- package/dist/Link/index.js +1 -1
- package/dist/{Link-CQ-Ztuo_.js → Link-CQK9d_Yf.js} +2 -2
- package/dist/List/index.d.ts +1 -1
- package/dist/List/index.js +2 -2
- package/dist/{ListItem-v1GFTbba.js → ListItem-Bc4snKv8.js} +1 -1
- package/dist/Markdown/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-CIA5ejYp.js → Markdown-BVXFWJT0.js} +3 -3
- package/dist/MobileNav/index.js +2 -1
- package/dist/{MobileNavToggle-CKEOroi0.js → MobileNavToggle-DGZPwsf9.js} +6 -8
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-DcImQxyp.js → MoreMenu-Q_KpDTNB.js} +5 -5
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-DedRF-RL.js → MultiSelector-CzGsdjcl.js} +8 -8
- package/dist/{NavDisclosure-Dg6U7pc7.js → NavDisclosure-DIYayUrP.js} +13 -4
- package/dist/{NavHeadingSurface-DZPa2px5.js → NavHeadingSurface-bFcFpeMI.js} +15 -14
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NavItem/index.js +1 -1
- package/dist/{NavItem-CcbOJNnY.js → NavItem-CB3loauj.js} +1 -1
- package/dist/NavMenu/index.js +3 -3
- package/dist/{NavMenu-CTbvZnO2.js → NavMenu-DYvMKPU_.js} +9 -7
- package/dist/{NavMenuItem-BS0oULrz.js → NavMenuItem-Ccix-agv.js} +9 -6
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-q9HP5L_V.js → NumberInput-DTksMfSU.js} +3 -3
- package/dist/Outline/index.js +1 -1
- package/dist/{Outline-eucTzyZu.js → Outline-NuPQMjxw.js} +2 -2
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-B6Alf6bi.js → OverflowList-DKM7TeUs.js} +2 -2
- package/dist/Overlay/index.d.ts +1 -1
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-DfAHckUV.js → Pagination-B-O21ut1.js} +272 -136
- package/dist/Popover/index.d.ts +1 -1
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-D0jAIXkw.js → Popover-BtfsoxXC.js} +6 -6
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-CU_MBQlC.js → PowerSearch-CniqThU7.js} +17 -17
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/ProgressBar/index.js +1 -1
- package/dist/{ProgressBar-DgyPRxV0.js → ProgressBar-DOusesCL.js} +1 -1
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-Cm2n6M5C.js → RadioGroup-CRwMwMw4.js} +4 -4
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioList-B5MaynOw.js → RadioList-PUlENMq5.js} +1 -1
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/SegmentedControl/index.d.ts +1 -1
- package/dist/SegmentedControl/index.js +1 -1
- package/dist/{SegmentedControl-D--5X0eZ.js → SegmentedControl-DFUYTOVH.js} +2 -2
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/SelectableCard/index.js +1 -1
- package/dist/{SelectableCard-CLwYtbZl.js → SelectableCard-DUTtyApJ.js} +1 -1
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-wcbEB7BC.js → Selector-Qs1rFiI6.js} +6 -6
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +2 -2
- package/dist/{SideNav-CYlAzvrT.js → SideNav-BUfUwE2P.js} +16 -11
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-jgmpvIDe.js → Slider-BbiQbyie.js} +3 -3
- package/dist/Stack/index.d.ts +1 -1
- package/dist/StatusDot/index.js +1 -1
- package/dist/{StatusDot-Cxm-uhTD.js → StatusDot-DhfcDBE7.js} +1 -1
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/Stepper/index.js +1 -1
- package/dist/{Stepper-CnNUZDMO.js → Stepper-CQd4YlPC.js} +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-YNk17Lct.js → Switch-CMK5bICl.js} +2 -2
- package/dist/TabList/index.d.ts +1 -1
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-D_OvLcD5.js → TabList-Bd3h7Nj3.js} +63 -24
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-DcFujAPW.js → Table-DN9mo-cQ.js} +15 -15
- package/dist/Text/index.js +2 -2
- package/dist/{Text-Bv4urzOW.js → Text-Dez23ltM.js} +1 -1
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-CixgkV__.js → TextArea-BsGUOyDg.js} +4 -4
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-Bpiq3FcP.js → TextInput-DZi0EMh-.js} +4 -4
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-Bktyar_H.js → Thumbnail-CsmF1HTP.js} +3 -3
- package/dist/{TimeField-BtiLoHqW.js → TimeField-DqOPj5s2.js} +4 -4
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-eyxw3KzD.js → TimeInput-CA3kXBWB.js} +2 -2
- package/dist/Timer/index.js +1 -1
- package/dist/{Timer-C-N-sElU.js → Timer-vubjQ88x.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-BTs10ZLD.js → Timestamp-Cz_0Ofj4.js} +3 -3
- package/dist/Toast/index.js +1 -1
- package/dist/{Toast-DpMqZ72F.js → Toast-DhJNtBjT.js} +1 -1
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/ToggleButton/index.js +1 -1
- package/dist/{ToggleButton-W_tpgZ8k.js → ToggleButton-BR_qVBEt.js} +3 -3
- package/dist/Token/index.d.ts +1 -1
- package/dist/Token/index.js +1 -1
- package/dist/{Token-jBbgdevV.js → Token-CPNzkSj3.js} +1 -1
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-Bs1VXinx.js → Tokenizer-C3pXgLmC.js} +6 -6
- package/dist/Toolbar/index.d.ts +1 -1
- package/dist/Toolbar/index.js +1 -1
- package/dist/{Toolbar-BH_E0F0G.js → Toolbar-B4Vltu-j.js} +1 -1
- package/dist/Tooltip/index.d.ts +1 -1
- package/dist/Tooltip/index.js +2 -2
- package/dist/{Tooltip-DQipgW1R.js → Tooltip-BUHvOnE1.js} +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-CSFUTuyI.js → TopNav-klsRhS-I.js} +169 -62
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-B8p_lI7a.js → TreeList-DJQvL5tG.js} +3 -3
- package/dist/Typeahead/index.d.ts +1 -1
- package/dist/Typeahead/index.js +2 -2
- package/dist/{Typeahead-Bh0nap5Z.js → Typeahead-BaPqX3Ey.js} +6 -6
- package/dist/{assertOptions-CK_gJ0d3.js → assertOptions-DF9pum-3.js} +1 -1
- package/dist/{batch-BJD6Bt-O.js → batch-oTkSbtVz.js} +3 -1
- package/dist/clickGuard-ChKuogmR.js +132 -0
- package/dist/closeOnActivate-D1KgKWwm.js +13 -0
- package/dist/composables/index.d.ts +2 -2
- package/dist/composables/index.js +14 -15
- package/dist/composables-BDWdSCwe.js +11917 -0
- package/dist/context-D8MAZio1.js +7 -0
- package/dist/{context-Cj_zItu2.js → context-DQPBIsl5.js} +2 -2
- package/dist/{edge-DIlkB7vS.js → edge-3sC8-cbB.js} +1 -1
- package/dist/{edgeRide-D0oC2JEB.js → edgeRide-DOxmVxTM.js} +4 -3
- package/dist/{focusReturn-D7Y7Pwwb.js → focusReturn-CsEp47Wa.js} +1 -1
- package/dist/handle-CSHfxBie.js +298 -0
- package/dist/{index-B63NOJRc.d.ts → index--CtH4lQr.d.ts} +5 -5
- package/dist/{index-DBu-H-vB.d.ts → index-0pBqcQXV.d.ts} +164 -7
- package/dist/{index-TXcNH86P.d.ts → index-B1eCxBCY.d.ts} +1 -1
- package/dist/{index-BgT6mH3U.d.ts → index-BB9acgK8.d.ts} +1 -1
- package/dist/{index-BuubzuE8.d.ts → index-BDZCJ9ri.d.ts} +2 -2
- package/dist/{index-CTjkJP4x.d.ts → index-Bgk1Rj2A.d.ts} +1 -1
- package/dist/{index-5Hrxeq2J.d.ts → index-BhxqUt3y.d.ts} +5 -5
- package/dist/{index-LaQSu7ST.d.ts → index-BkxWKIV_.d.ts} +6 -6
- package/dist/{index-BP2SjZiM.d.ts → index-BmXk_doE.d.ts} +3 -3
- package/dist/{index-DGXCnzOL.d.ts → index-BrMtj1lT.d.ts} +4 -4
- package/dist/{index-DtZUOyCy.d.ts → index-BvW0tiei.d.ts} +2 -2
- package/dist/{index-ChqMaV6N.d.ts → index-Bzi3A980.d.ts} +1 -1
- package/dist/{index-51CkIKnI.d.ts → index-C93nwgTW.d.ts} +1 -1
- package/dist/{index-CiVrhGUJ.d.ts → index-C9ZssPUV.d.ts} +1 -1
- package/dist/{index-mK1ICsVg.d.ts → index-C9uW39Mj.d.ts} +3 -3
- package/dist/{index-CaE2cqeG.d.ts → index-CAKT4Kkz.d.ts} +78 -64
- package/dist/{index-DmAEpn5E.d.ts → index-CG3fD4hw.d.ts} +1 -1
- package/dist/{index-Q1oG9yIT.d.ts → index-CO9GW-ik.d.ts} +1 -1
- package/dist/{index-BNtSmuWg.d.ts → index-D0MA9x_i.d.ts} +5 -5
- package/dist/{index-CbA8rR_b.d.ts → index-DDrL_-hJ.d.ts} +3 -3
- package/dist/{index-QnlWyUxN.d.ts → index-DE1genab.d.ts} +2 -2
- package/dist/{index-vCRf5fyK.d.ts → index-DIw5D3zj.d.ts} +2 -2
- package/dist/{index-MvrDMqnQ.d.ts → index-DYabo8TI.d.ts} +1 -1
- package/dist/{index-Cb-rvc1W.d.ts → index-DofC9Rll.d.ts} +1 -1
- package/dist/{index-D1JXm7Et.d.ts → index-DogWVRJi.d.ts} +15 -2
- package/dist/{index-BaFphczL.d.ts → index-YKCx03zD.d.ts} +2 -2
- package/dist/{index-yQc-te9a.d.ts → index-ql9ApSTF.d.ts} +2 -2
- package/dist/{index-Y-AmNzkO.d.ts → index-rzkX36wM.d.ts} +3 -3
- package/dist/index.d.ts +30 -30
- package/dist/index.js +106 -107
- package/dist/{interactionModality-B5dR7nnb.js → interactionModality-CyU67ucP.js} +9 -3
- package/dist/{landing-C7nc9JHm.js → landing-DFC97kl9.js} +2 -2
- package/dist/{layerFocusReturn-B8Hp14ZG.js → layerFocusReturn-BeCsk_4F.js} +1 -1
- package/dist/{pressFeedback-BajhWhi1.js → pressFeedback-CEUPQWIS.js} +297 -118
- package/dist/pressGesture-BzIBmKF2.js +615 -0
- package/dist/sharedRealm-H1OrlP0V.js +124 -0
- package/dist/{stillPointerGate-0vdn-hSa.js → stillPointerGate-BX4vr5M-.js} +1 -1
- package/dist/{tooltipFocusRules-D4cJ08fk.js → tooltipFocusRules-BnZ1zwAm.js} +2 -2
- package/dist/{tooltipTriggerRules-PBxqztvn.js → tooltipTriggerRules-BLBEkBcK.js} +1 -1
- package/dist/{useActionGroupTracking-fwmxDcU3.js → useActionGroupTracking-PVBCtLUE.js} +5 -4
- package/dist/{useCombobox-DIR9yoEu.js → useCombobox-DcBbaWYj.js} +1 -1
- package/dist/{useDismiss-Dfb0Ky7T.js → useDismiss-C1dyveme.js} +1 -1
- package/dist/{useFocusTrap-DsYtRdmV.js → useFocusTrap-DAKJJP0Z.js} +2 -2
- package/dist/{useInputStatusIcon-CVGsNTi_.js → useInputStatusIcon-BDWAijXe.js} +1 -1
- package/dist/{useListFocus-CbHkLT-X.js → useListFocus-CkHfsZp0.js} +23 -5
- package/dist/{useMenuDrillIn-DaH0nhPa.js → useMenuDrillIn-RZwY55RM.js} +1 -1
- package/dist/{useMenuHover-CQYo0XCC.js → useMenuHover-CfQtWMg-.js} +1 -1
- package/dist/{useMenuPress-9dOj2hvC.js → useMenuPress-3203ryBY.js} +63 -15
- package/dist/{usePressFeedback-2YAzGB6C.js → usePressFeedback-aufF1sCH.js} +1 -1
- package/dist/{useResizable-BMlG1oxA.js → useResizable-wZU54yCO.js} +1 -1
- package/dist/{useRestoreFocus-Cz_jM_nW.js → useRestoreFocus-v8-FFcQQ.js} +2 -2
- package/dist/{useTooltip-C7gHRGEO.js → useTooltip-0_wOd0e5.js} +5 -5
- package/dist/{useTouchHitArea-BKZL6tHX.js → useTouchHitArea-BMDBe36j.js} +3 -3
- package/dist/{useTouchTriggerInternal-Bs7obOrb.js → useTouchTriggerInternal-DwzthF8T.js} +1 -1
- package/dist/{useTruncationTooltip-DeCGRmot.js → useTruncationTooltip-BDIe7-ya.js} +5 -5
- package/dist/{useTypeahead-BrWvmOu9.js → useTypeahead-BlqvS9x9.js} +1 -1
- package/dist/{useTypeaheadMenuConfig--4f7jR6G.js → useTypeaheadMenuConfig-CIf9Ep57.js} +2 -2
- package/dist/utils/index.js +1 -1
- package/package.json +1 -1
- package/styles/app-shell.css +36 -0
- package/styles/breadcrumbs.css +1 -0
- package/styles/nav-item.css +9 -3
- package/styles/nav-menu.css +3 -0
- package/styles/pagination.css +2 -2
- package/styles/tab-list.css +7 -3
- package/styles/tab-menu.css +1 -0
- package/styles/top-nav.css +141 -11
- package/dist/composables-CDrwFX0l.js +0 -5420
- package/dist/handle-ChN2TMKH.js +0 -458
- package/dist/pressGesture-B3z3W3Za.js +0 -78
- package/dist/strayClick-_QKRT5aH.js +0 -99
- package/dist/{index-BJ9Wim6J.d.ts → index-BqhgeAT4.d.ts} +1 -1
- package/dist/{useTruncation-BxYAhQtF.js → useTruncation-D_T-ezdp.js} +1 -1
package/dist/Markdown/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { K as MarkdownAstRoot, Q as visitMarkdownNodes, U as MarkdownAstPhrasingContent } from "../protocol-DwUmpC5G.js";
|
|
2
|
-
import { C as MarkdownPlugin, D as applyMarkdownPlugins, E as applyInlinePlugins, O as defineMarkdownPlugin, S as MarkdownInlinePlugin, T as MarkdownTransformContext, _ as MarkdownLinkProps, a as _default, b as MarkdownSlots, c as MarkdownCitationStyle, d as MarkdownDensity, f as MarkdownDisplay, g as MarkdownInlineCodeProps, h as MarkdownImageProps, i as parseMarkdown, k as isMarkdownExtensionNode, l as MarkdownCodeProps, m as MarkdownHeadingProps, n as uniqueSlug, o as MarkdownAlign, p as MarkdownHeadingLevel, r as ParseMarkdownOptions, s as MarkdownAutolink, t as slugify, u as MarkdownComponents, v as MarkdownListProps, w as MarkdownPluginRenderContext, x as MarkdownSource, y as MarkdownProps } from "../index-
|
|
2
|
+
import { C as MarkdownPlugin, D as applyMarkdownPlugins, E as applyInlinePlugins, O as defineMarkdownPlugin, S as MarkdownInlinePlugin, T as MarkdownTransformContext, _ as MarkdownLinkProps, a as _default, b as MarkdownSlots, c as MarkdownCitationStyle, d as MarkdownDensity, f as MarkdownDisplay, g as MarkdownInlineCodeProps, h as MarkdownImageProps, i as parseMarkdown, k as isMarkdownExtensionNode, l as MarkdownCodeProps, m as MarkdownHeadingProps, n as uniqueSlug, o as MarkdownAlign, p as MarkdownHeadingLevel, r as ParseMarkdownOptions, s as MarkdownAutolink, t as slugify, u as MarkdownComponents, v as MarkdownListProps, w as MarkdownPluginRenderContext, x as MarkdownSource, y as MarkdownProps } from "../index-C9ZssPUV.js";
|
|
3
3
|
import { a as ParseOptions, c as parseInlineAst, d as parseMarkdownIncremental, f as BlockNode, m as InlineNode, o as createIncrementalState, s as parseInline, u as parseMarkdownAst, y as SourceRange } from "../publicParser-B6XMcsB2.js";
|
|
4
4
|
import { t as decodeMarkdownCharacterReferences } from "../index-BkUkm6Al.js";
|
|
5
5
|
export { type BlockNode, type InlineNode, _default as Markdown, type MarkdownAlign, type MarkdownAstPhrasingContent, type MarkdownAstRoot, type MarkdownAutolink, type MarkdownCitationStyle, type MarkdownCodeProps, type MarkdownComponents, type MarkdownDensity, type MarkdownDisplay, type MarkdownHeadingLevel, type MarkdownHeadingProps, type MarkdownImageProps, type MarkdownInlineCodeProps, type MarkdownInlinePlugin, type MarkdownLinkProps, type MarkdownListProps, type MarkdownPlugin, type MarkdownPluginRenderContext, type MarkdownProps, type MarkdownSlots, type MarkdownSource, type MarkdownTransformContext, type ParseMarkdownOptions, type ParseOptions, type SourceRange, applyInlinePlugins, applyMarkdownPlugins, createIncrementalState, decodeMarkdownCharacterReferences, defineMarkdownPlugin, isMarkdownExtensionNode, parseInline, parseInlineAst, parseMarkdown, parseMarkdownAst, parseMarkdownIncremental, slugify, uniqueSlug, visitMarkdownNodes };
|
package/dist/Markdown/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { a as parseMarkdownAst, c as decodeMarkdownCharacterReferences, d as parseMarkdown, g as isMarkdownExtensionNode, n as parseInline, o as parseMarkdownIncremental, r as parseInlineAst, t as createIncrementalState } from "../publicParser-C8RBKNLA.js";
|
|
2
|
-
import { a as visitMarkdownNodes, i as defineMarkdownPlugin, n as applyInlinePlugins, r as applyMarkdownPlugins, t as _sfc_main } from "../Markdown-
|
|
2
|
+
import { a as visitMarkdownNodes, i as defineMarkdownPlugin, n as applyInlinePlugins, r as applyMarkdownPlugins, t as _sfc_main } from "../Markdown-BVXFWJT0.js";
|
|
3
3
|
import { n as uniqueSlug, t as slugify } from "../slug-D6ln5PTq.js";
|
|
4
4
|
export { _sfc_main as Markdown, applyInlinePlugins, applyMarkdownPlugins, createIncrementalState, decodeMarkdownCharacterReferences, defineMarkdownPlugin, isMarkdownExtensionNode, parseInline, parseInlineAst, parseMarkdown, parseMarkdownAst, parseMarkdownIncremental, slugify, uniqueSlug, visitMarkdownNodes };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as _sfc_main$1 } from "./VisuallyHidden-cpmsV-0M.js";
|
|
2
2
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
3
|
-
import { t as _sfc_main$2 } from "./Heading-
|
|
3
|
+
import { t as _sfc_main$2 } from "./Heading-DBBChghq.js";
|
|
4
4
|
import { t as _sfc_main$3 } from "./Blockquote-DRoKdcxZ.js";
|
|
5
5
|
import { t as _sfc_main$4 } from "./CheckboxIndicator-fH4d-JE1.js";
|
|
6
6
|
import { t as useIndicator } from "./useIndicator--9mGGlT2.js";
|
|
7
7
|
import { t as citationMessages } from "./citation-h6fyz-JH.js";
|
|
8
|
-
import { f as _sfc_main$5, s as parseFenceLanguage, t as _sfc_main$6 } from "./CodeBlock-
|
|
8
|
+
import { f as _sfc_main$5, s as parseFenceLanguage, t as _sfc_main$6 } from "./CodeBlock-CwQCMSKA.js";
|
|
9
9
|
import { t as markdownMessages } from "./markdown-JcCeKquw.js";
|
|
10
|
-
import { t as _sfc_main$7 } from "./Link-
|
|
10
|
+
import { t as _sfc_main$7 } from "./Link-CQK9d_Yf.js";
|
|
11
11
|
import { _ as plainText, d as parseMarkdown, f as parseMarkdownIncremental, h as sanitizeMarkdownLinkUrl, l as applyProtocolTransforms, m as sanitizeMarkdownImageUrl, p as linkOpensInNewTab, s as applyMarkdownSyntax, u as createIncrementalMarkdownState } from "./publicParser-C8RBKNLA.js";
|
|
12
12
|
import { l as isMarkdownPluginEntry, t as collectProtocolRenderers, u as isMarkdownSourceLinesPlugin } from "./protocol-DHxY0NI8.js";
|
|
13
13
|
import { n as uniqueSlug, t as slugify } from "./slug-D6ln5PTq.js";
|
package/dist/MobileNav/index.js
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import { n as _sfc_main,
|
|
1
|
+
import { n as _sfc_main, t as _sfc_main$1 } from "../MobileNavToggle-DGZPwsf9.js";
|
|
2
|
+
import { n as mobileNavKey } from "../context-D8MAZio1.js";
|
|
2
3
|
export { _sfc_main as MobileNav, _sfc_main$1 as MobileNavToggle, mobileNavKey };
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { r as resetLayerScopedContext } from "./scopedProvide-C-Df7c15.js";
|
|
2
|
-
import { c as
|
|
3
|
-
import { t as useFocusTrap } from "./useFocusTrap-
|
|
2
|
+
import { c as provideLayerDepth, d as isTopLayer, l as useLayerDepth, p as pushLayer } from "./interactionModality-CyU67ucP.js";
|
|
3
|
+
import { t as useFocusTrap } from "./useFocusTrap-DAKJJP0Z.js";
|
|
4
4
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
5
|
-
import { t as useRestoreFocus } from "./useRestoreFocus-
|
|
5
|
+
import { t as useRestoreFocus } from "./useRestoreFocus-v8-FFcQQ.js";
|
|
6
6
|
import { t as useScrollLock } from "./scrollLock-CoVg9lLU.js";
|
|
7
7
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
8
8
|
import { t as navMessages } from "./nav-DpKQUHqR.js";
|
|
9
|
+
import { n as mobileNavKey, t as mobileNavCloseKey } from "./context-D8MAZio1.js";
|
|
9
10
|
import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, mergeModels, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, onScopeDispose, openBlock, provide, ref, renderSlot, toDisplayString, unref, useAttrs, useId, useModel, useSlots, useTemplateRef, watch } from "vue";
|
|
10
11
|
import "../styles/mobile-nav.css";
|
|
11
12
|
//#region src/MobileNav/autoSide.ts
|
|
@@ -38,10 +39,6 @@ function resolveAutoSide(dialog, dialogId) {
|
|
|
38
39
|
return (view.getComputedStyle(opener).direction === "rtl" ? center > half : center < half) ? "start" : "end";
|
|
39
40
|
}
|
|
40
41
|
//#endregion
|
|
41
|
-
//#region src/MobileNav/context.ts
|
|
42
|
-
/** 内容渲染在移动导航抽屉里时为 true。菜单在这里改成内联折叠,不再弹出。 */
|
|
43
|
-
const mobileNavKey = Symbol("astryx-mobile-nav");
|
|
44
|
-
//#endregion
|
|
45
42
|
//#region src/MobileNav/useMobileNavLayer.ts
|
|
46
43
|
/**
|
|
47
44
|
* 抽屉打开时登记进全页关闭栈。
|
|
@@ -135,6 +132,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
135
132
|
isEnabled: trapEnabled
|
|
136
133
|
});
|
|
137
134
|
provide(mobileNavKey, true);
|
|
135
|
+
provide(mobileNavCloseKey, () => setOpen(false));
|
|
138
136
|
const layer = useMobileNavLayer({
|
|
139
137
|
getContainer: () => dialogRef.value,
|
|
140
138
|
isOpen,
|
|
@@ -291,4 +289,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
291
289
|
}
|
|
292
290
|
});
|
|
293
291
|
//#endregion
|
|
294
|
-
export { _sfc_main$1 as n,
|
|
292
|
+
export { _sfc_main$1 as n, _sfc_main as t };
|
package/dist/MoreMenu/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _i as MoreMenuResolvedPresentation, ci as MoreMenuDivider, di as MoreMenuInitialFocus, fi as MoreMenuItem, gi as MoreMenuProps, hi as MoreMenuPresentation, li as MoreMenuEmits, mi as MoreMenuOption, pi as MoreMenuItemVariant, si as _default, ui as MoreMenuIcon, vi as MoreMenuSection, yi as MoreMenuSlots } from "../index-
|
|
1
|
+
import { _i as MoreMenuResolvedPresentation, ci as MoreMenuDivider, di as MoreMenuInitialFocus, fi as MoreMenuItem, gi as MoreMenuProps, hi as MoreMenuPresentation, li as MoreMenuEmits, mi as MoreMenuOption, pi as MoreMenuItemVariant, si as _default, ui as MoreMenuIcon, vi as MoreMenuSection, yi as MoreMenuSlots } from "../index-CAKT4Kkz.js";
|
|
2
2
|
export { _default as MoreMenu, type MoreMenuDivider, type MoreMenuEmits, type MoreMenuIcon, type MoreMenuInitialFocus, type MoreMenuItem, type MoreMenuItemVariant, type MoreMenuOption, type MoreMenuPresentation, type MoreMenuProps, type MoreMenuResolvedPresentation, type MoreMenuSection, type MoreMenuSlots };
|
package/dist/MoreMenu/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../MoreMenu-
|
|
1
|
+
import { t as _sfc_main } from "../MoreMenu-Q_KpDTNB.js";
|
|
2
2
|
export { _sfc_main as MoreMenu };
|
|
@@ -2,17 +2,17 @@ import { t as _sfc_main$5 } from "./Icon-BCHo7W0x.js";
|
|
|
2
2
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
3
3
|
import { i as useSize } from "./SizeContext-BbaF-SEx.js";
|
|
4
4
|
import { n as useLayerTeleportTarget } from "./useLayerMountTarget-BmZyeKWE.js";
|
|
5
|
-
import { n as usePositionedLayer } from "./useDismiss-
|
|
6
|
-
import { t as _sfc_main$6 } from "./LayerContentBoundary-
|
|
5
|
+
import { n as usePositionedLayer } from "./useDismiss-C1dyveme.js";
|
|
6
|
+
import { t as _sfc_main$6 } from "./LayerContentBoundary-DxeAFxNJ.js";
|
|
7
7
|
import { n as focusElement, r as getFocusables } from "./focus-x7mxEqjR.js";
|
|
8
|
-
import { t as _sfc_main$7 } from "./IconButton-
|
|
8
|
+
import { t as _sfc_main$7 } from "./IconButton-CIUbkA8_.js";
|
|
9
9
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
10
10
|
import { t as useOverflow } from "./useOverflow-GU0pxGaU.js";
|
|
11
|
-
import { t as _sfc_main$8 } from "./Heading-
|
|
11
|
+
import { t as _sfc_main$8 } from "./Heading-DBBChghq.js";
|
|
12
12
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
13
13
|
import { t as _sfc_main$9 } from "./Divider-mOZ6vIQw.js";
|
|
14
14
|
import { n as isModifiedClick, t as activateMenuItem } from "./menuActivation-BqiaK6ot.js";
|
|
15
|
-
import { n as _sfc_main$11, t as _sfc_main$10 } from "./ListItem-
|
|
15
|
+
import { n as _sfc_main$11, t as _sfc_main$10 } from "./ListItem-Bc4snKv8.js";
|
|
16
16
|
import { t as moreMenuMessages } from "./more-menu-B_dod4C-.js";
|
|
17
17
|
import { Fragment, Teleport, Transition, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, h, inject, mergeModels, mergeProps, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, openBlock, provide, ref, renderList, renderSlot, resolveComponent, resolveDynamicComponent, shallowRef, toDisplayString, toRaw, unref, useId, useModel, useTemplateRef, watch, withCtx } from "vue";
|
|
18
18
|
import "../styles/layer.css";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as MultiSelectorSlots, a as MultiSelectorCreateChange, b as MultiSelectorTriggerDisplay, c as MultiSelectorHandle, d as MultiSelectorOptionData, f as MultiSelectorPresentation, g as MultiSelectorSize, h as MultiSelectorSelectedItem, i as MultiSelectorCheckboxPosition, l as MultiSelectorHandleRef, m as MultiSelectorSection, n as flattenOptions, o as MultiSelectorDivider, p as MultiSelectorProps, r as _default, s as MultiSelectorEmits, t as SELECT_ALL_VALUE, u as MultiSelectorOption, v as MultiSelectorStatus, x as MultiSelectorVariant, y as MultiSelectorStatusVariant } from "../index-
|
|
1
|
+
import { _ as MultiSelectorSlots, a as MultiSelectorCreateChange, b as MultiSelectorTriggerDisplay, c as MultiSelectorHandle, d as MultiSelectorOptionData, f as MultiSelectorPresentation, g as MultiSelectorSize, h as MultiSelectorSelectedItem, i as MultiSelectorCheckboxPosition, l as MultiSelectorHandleRef, m as MultiSelectorSection, n as flattenOptions, o as MultiSelectorDivider, p as MultiSelectorProps, r as _default, s as MultiSelectorEmits, t as SELECT_ALL_VALUE, u as MultiSelectorOption, v as MultiSelectorStatus, x as MultiSelectorVariant, y as MultiSelectorStatusVariant } from "../index-D0MA9x_i.js";
|
|
2
2
|
export { _default as MultiSelector, type MultiSelectorCheckboxPosition, type MultiSelectorCreateChange, type MultiSelectorDivider, type MultiSelectorEmits, type MultiSelectorHandle, type MultiSelectorHandleRef, type MultiSelectorOption, type MultiSelectorOptionData, type MultiSelectorPresentation, type MultiSelectorProps, type MultiSelectorSection, type MultiSelectorSelectedItem, type MultiSelectorSize, type MultiSelectorSlots, type MultiSelectorStatus, type MultiSelectorStatusVariant, type MultiSelectorTriggerDisplay, type MultiSelectorVariant, SELECT_ALL_VALUE, flattenOptions };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as SELECT_ALL_VALUE, r as flattenOptions, t as _sfc_main } from "../MultiSelector-
|
|
1
|
+
import { n as SELECT_ALL_VALUE, r as flattenOptions, t as _sfc_main } from "../MultiSelector-CzGsdjcl.js";
|
|
2
2
|
export { _sfc_main as MultiSelector, SELECT_ALL_VALUE, flattenOptions };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { n as _sfc_main$2 } from "./BottomSheet-
|
|
1
|
+
import { n as _sfc_main$2 } from "./BottomSheet-CM0-eaUF.js";
|
|
2
2
|
import { t as _sfc_main$3 } from "./Icon-BCHo7W0x.js";
|
|
3
3
|
import { n as useInputGroupContext, r as useInputGroupDisabled } from "./context-Bg7eSJ47.js";
|
|
4
4
|
import { i as useSize } from "./SizeContext-BbaF-SEx.js";
|
|
5
|
-
import {
|
|
5
|
+
import { a as trackInteractionModality, m as isImeKeyEvent, r as isKeyboardModality } from "./interactionModality-CyU67ucP.js";
|
|
6
6
|
import { t as _sfc_main$4 } from "./ButtonTooltip-CNKOQHYR.js";
|
|
7
7
|
import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
|
|
8
8
|
import { n as useDevWarning } from "./useDevWarning-B2fsk2B-.js";
|
|
9
9
|
import { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
10
|
-
import { t as useCombobox } from "./useCombobox-
|
|
10
|
+
import { t as useCombobox } from "./useCombobox-DcBbaWYj.js";
|
|
11
11
|
import { t as useDisclosureHandle } from "./useDisclosureHandle-Df3HhAfC.js";
|
|
12
12
|
import { t as useFieldControlState } from "./useFieldControlState-voICDrys.js";
|
|
13
13
|
import { n as focusElement } from "./focus-x7mxEqjR.js";
|
|
@@ -16,16 +16,16 @@ import { t as useOverflow } from "./useOverflow-GU0pxGaU.js";
|
|
|
16
16
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
17
17
|
import { t as _sfc_main$5 } from "./Spinner-DEVPDsD0.js";
|
|
18
18
|
import { t as useIndicator } from "./useIndicator--9mGGlT2.js";
|
|
19
|
-
import { t as _sfc_main$6 } from "./Field-
|
|
19
|
+
import { t as _sfc_main$6 } from "./Field-DsucLkyQ.js";
|
|
20
20
|
import { t as useFieldPartStyling } from "./fieldParts-CbWvZLhH.js";
|
|
21
21
|
import { t as consumeWhileDisabled } from "./disabledInteraction-CPzL8kVP.js";
|
|
22
22
|
import { t as useBusyAnnouncement } from "./busyAnnouncement-CExubuYm.js";
|
|
23
23
|
import { n as fieldStatusPlacement, r as _sfc_main$7, t as normalizeTriggerVariant } from "./triggerVariant-BDVvyLtv.js";
|
|
24
24
|
import { t as multiSelectorMessages } from "./multi-selector-CpVI6bt5.js";
|
|
25
|
-
import { t as _sfc_main$8 } from "./InputClearButton-
|
|
26
|
-
import { n as useKeyboardHighlight, r as bindListboxEscape, t as assertOptionsArray } from "./assertOptions-
|
|
27
|
-
import { t as _sfc_main$9 } from "./Token-
|
|
28
|
-
import { n as scrollOptionIntoView, r as useAnchoredListbox, t as createStillPointerGate } from "./stillPointerGate-
|
|
25
|
+
import { t as _sfc_main$8 } from "./InputClearButton-h0BxBXu1.js";
|
|
26
|
+
import { n as useKeyboardHighlight, r as bindListboxEscape, t as assertOptionsArray } from "./assertOptions-DF9pum-3.js";
|
|
27
|
+
import { t as _sfc_main$9 } from "./Token-CPNzkSj3.js";
|
|
28
|
+
import { n as scrollOptionIntoView, r as useAnchoredListbox, t as createStillPointerGate } from "./stillPointerGate-BX4vr5M-.js";
|
|
29
29
|
import { i as isOptionAction, n as searchResultMessage, r as OptionAction, t as useOptionActionGrid } from "./useOptionActionGrid-C7ibYM_A.js";
|
|
30
30
|
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onMounted, openBlock, ref, renderList, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, unref, useAttrs, useId, useSlots, useTemplateRef, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
|
|
31
31
|
import "../styles/layer.css";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
|
|
2
|
-
import { n as usePositionedLayer, t as useDismiss } from "./useDismiss-
|
|
2
|
+
import { n as usePositionedLayer, t as useDismiss } from "./useDismiss-C1dyveme.js";
|
|
3
3
|
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, mergeModels, nextTick, normalizeClass, normalizeStyle, openBlock, provide, ref, renderSlot, unref, useId, useModel, watch } from "vue";
|
|
4
4
|
import "../styles/layer.css";
|
|
5
5
|
import "../styles/nav-menu.css";
|
|
@@ -8,6 +8,13 @@ const navMenuKey = defineLayerScopedKey("astryx-nav-menu", null);
|
|
|
8
8
|
const navMenuCloseKey = Symbol("astryx-nav-menu-close");
|
|
9
9
|
/** 弹出层要求菜单把焦点放在哪一项。菜单可以自己收,调用方也可以用插槽参数盖过它。 */
|
|
10
10
|
const navMenuFocusKey = Symbol("astryx-nav-menu-focus");
|
|
11
|
+
/**
|
|
12
|
+
* 在顶栏菜单里,选中一项后要不要关闭菜单。由 TopNavMenu、TopNavMegaMenu 提供;
|
|
13
|
+
* 没人提供时项照常在选中后关闭。
|
|
14
|
+
*/
|
|
15
|
+
const navMenuPickKey = Symbol("astryx-nav-menu-pick");
|
|
16
|
+
/** 弹出层的名字(标题文字)。里面没有自己命名的菜单用它当名字,一个弹出层里只有这一个具名菜单。 */
|
|
17
|
+
const navMenuLabelKey = Symbol("astryx-nav-menu-label");
|
|
11
18
|
//#endregion
|
|
12
19
|
//#region src/NavMenu/NavDisclosure.vue
|
|
13
20
|
const _hoisted_1 = ["data-placement"];
|
|
@@ -57,8 +64,9 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
57
64
|
placement
|
|
58
65
|
});
|
|
59
66
|
const panelStyle = computed(() => ({
|
|
60
|
-
left: `${position.value.left}px`,
|
|
61
|
-
top: `${position.value.top}px
|
|
67
|
+
"left": `${position.value.left}px`,
|
|
68
|
+
"top": `${position.value.top}px`,
|
|
69
|
+
"--astryx-nav-panel-top": `${position.value.top}px`
|
|
62
70
|
}));
|
|
63
71
|
function clearTimers() {
|
|
64
72
|
clearTimeout(showTimer);
|
|
@@ -149,6 +157,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
149
157
|
});
|
|
150
158
|
provide(navMenuCloseKey, () => close(true));
|
|
151
159
|
provide(navMenuFocusKey, focusRequest);
|
|
160
|
+
provide(navMenuLabelKey, computed(() => props.label));
|
|
152
161
|
watch(isOpen, (open) => {
|
|
153
162
|
emit("openChange", open);
|
|
154
163
|
});
|
|
@@ -186,4 +195,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
186
195
|
}
|
|
187
196
|
});
|
|
188
197
|
//#endregion
|
|
189
|
-
export { navMenuKey as i, navMenuCloseKey as n, navMenuFocusKey as r, _sfc_main as t };
|
|
198
|
+
export { navMenuLabelKey as a, navMenuKey as i, navMenuCloseKey as n, navMenuPickKey as o, navMenuFocusKey as r, _sfc_main as t };
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import { t as hasSlotContent } from "./slotContent-CNWOrGOr.js";
|
|
1
2
|
import { t as _sfc_main$2 } from "./Icon-BCHo7W0x.js";
|
|
2
3
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
3
4
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
4
5
|
import { t as navMessages } from "./nav-DpKQUHqR.js";
|
|
5
6
|
import { i as safeNavHref, n as isNavigableHref, r as resolveNavRoot } from "./link-DuuA2eCL.js";
|
|
6
|
-
import { t as _sfc_main$3 } from "./NavDisclosure-
|
|
7
|
-
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, guardReactiveProps, mergeProps, normalizeClass, normalizeProps, openBlock, renderSlot, resolveDynamicComponent, toDisplayString, useSlots, withCtx, withModifiers } from "vue";
|
|
7
|
+
import { t as _sfc_main$3 } from "./NavDisclosure-DIYayUrP.js";
|
|
8
|
+
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, guardReactiveProps, mergeProps, normalizeClass, normalizeProps, openBlock, renderSlot, resolveDynamicComponent, toDisplayString, unref, useSlots, withCtx, withModifiers } from "vue";
|
|
8
9
|
//#region src/NavMenu/navHeadingMode.ts
|
|
9
10
|
/** 标题的点击边界:整段链接、整段打开菜单,或链接和箭头各管各的。 */
|
|
10
11
|
function resolveNavHeadingMode(input) {
|
|
@@ -166,7 +167,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
166
167
|
to: safeHeadingHref.value && customLink.value != null ? safeHeadingHref.value : void 0,
|
|
167
168
|
"aria-label": safeHeadingHref.value ? logoName.value : void 0
|
|
168
169
|
}, {
|
|
169
|
-
default: withCtx(() => [_ctx.$slots.icon ? (openBlock(), createElementBlock("span", {
|
|
170
|
+
default: withCtx(() => [unref(hasSlotContent)(_ctx.$slots.icon) ? (openBlock(), createElementBlock("span", {
|
|
170
171
|
key: 0,
|
|
171
172
|
class: normalizeClass(`${block.value}__icon`)
|
|
172
173
|
}, [renderSlot(_ctx.$slots, "icon")], 2)) : createCommentVNode("v-if", true)]),
|
|
@@ -176,12 +177,12 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
176
177
|
"href",
|
|
177
178
|
"to",
|
|
178
179
|
"aria-label"
|
|
179
|
-
])) : mode.value === "whole-link" && __props.kind === "side" && _ctx.$slots.end ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [createCommentVNode(" 整个标题是链接、又带末端内容:末端内容常是控件,不能放进 <a>,所以链接和末端内容并排放在一个 div 里。 "), createElementVNode("div", { class: normalizeClass([block.value, `${block.value}--link`]) }, [(openBlock(), createBlock(resolveDynamicComponent(headingRoot.value), {
|
|
180
|
+
])) : mode.value === "whole-link" && __props.kind === "side" && unref(hasSlotContent)(_ctx.$slots.end) ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [createCommentVNode(" 整个标题是链接、又带末端内容:末端内容常是控件,不能放进 <a>,所以链接和末端内容并排放在一个 div 里。 "), createElementVNode("div", { class: normalizeClass([block.value, `${block.value}--link`]) }, [(openBlock(), createBlock(resolveDynamicComponent(headingRoot.value), {
|
|
180
181
|
class: normalizeClass(`${block.value}__whole-link`),
|
|
181
182
|
href: safeHeadingHref.value,
|
|
182
183
|
to: safeHeadingHref.value && customLink.value != null ? safeHeadingHref.value : void 0
|
|
183
184
|
}, {
|
|
184
|
-
default: withCtx(() => [_ctx.$slots.icon ? (openBlock(), createElementBlock("span", {
|
|
185
|
+
default: withCtx(() => [unref(hasSlotContent)(_ctx.$slots.icon) ? (openBlock(), createElementBlock("span", {
|
|
185
186
|
key: 0,
|
|
186
187
|
class: normalizeClass(`${block.value}__icon`)
|
|
187
188
|
}, [renderSlot(_ctx.$slots, "icon")], 2)) : createCommentVNode("v-if", true), createVNode(_sfc_main$1, normalizeProps(guardReactiveProps(textProps.value)), null, 16)]),
|
|
@@ -197,12 +198,12 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
197
198
|
to: safeHeadingHref.value && customLink.value != null ? safeHeadingHref.value : void 0
|
|
198
199
|
}, {
|
|
199
200
|
default: withCtx(() => [
|
|
200
|
-
_ctx.$slots.icon ? (openBlock(), createElementBlock("span", {
|
|
201
|
+
unref(hasSlotContent)(_ctx.$slots.icon) ? (openBlock(), createElementBlock("span", {
|
|
201
202
|
key: 0,
|
|
202
203
|
class: normalizeClass(`${block.value}__icon`)
|
|
203
204
|
}, [renderSlot(_ctx.$slots, "icon")], 2)) : createCommentVNode("v-if", true),
|
|
204
205
|
createVNode(_sfc_main$1, normalizeProps(guardReactiveProps(textProps.value)), null, 16),
|
|
205
|
-
_ctx.$slots.end ? (openBlock(), createElementBlock("span", {
|
|
206
|
+
unref(hasSlotContent)(_ctx.$slots.end) ? (openBlock(), createElementBlock("span", {
|
|
206
207
|
key: 1,
|
|
207
208
|
class: normalizeClass(`${block.value}__end`)
|
|
208
209
|
}, [renderSlot(_ctx.$slots, "end")], 2)) : createCommentVNode("v-if", true)
|
|
@@ -222,7 +223,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
222
223
|
class: normalizeClass(block.value),
|
|
223
224
|
"data-open": isOpen || void 0
|
|
224
225
|
}, [
|
|
225
|
-
logoIsLink.value && _ctx.$slots.icon ? (openBlock(), createBlock(resolveDynamicComponent(headingRoot.value), {
|
|
226
|
+
logoIsLink.value && unref(hasSlotContent)(_ctx.$slots.icon) ? (openBlock(), createBlock(resolveDynamicComponent(headingRoot.value), {
|
|
226
227
|
key: 0,
|
|
227
228
|
class: normalizeClass(`${block.value}__icon`),
|
|
228
229
|
href: safeHeadingHref.value,
|
|
@@ -237,7 +238,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
237
238
|
"href",
|
|
238
239
|
"to",
|
|
239
240
|
"aria-label"
|
|
240
|
-
])) : _ctx.$slots.icon ? (openBlock(), createElementBlock("span", {
|
|
241
|
+
])) : unref(hasSlotContent)(_ctx.$slots.icon) ? (openBlock(), createElementBlock("span", {
|
|
241
242
|
key: 1,
|
|
242
243
|
class: normalizeClass(`${block.value}__icon`)
|
|
243
244
|
}, [renderSlot(_ctx.$slots, "icon")], 2)) : createCommentVNode("v-if", true),
|
|
@@ -256,7 +257,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
256
257
|
}, null, 8, ["class"])], 10, _hoisted_2)]),
|
|
257
258
|
_: 2
|
|
258
259
|
}, 1040, ["independent"]),
|
|
259
|
-
_ctx.$slots.end ? (openBlock(), createElementBlock("span", {
|
|
260
|
+
unref(hasSlotContent)(_ctx.$slots.end) ? (openBlock(), createElementBlock("span", {
|
|
260
261
|
key: 2,
|
|
261
262
|
class: normalizeClass(`${block.value}__end`)
|
|
262
263
|
}, [renderSlot(_ctx.$slots, "end")], 2)) : createCommentVNode("v-if", true)
|
|
@@ -265,7 +266,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
265
266
|
type: "button",
|
|
266
267
|
class: normalizeClass([block.value, `${block.value}--echo`]),
|
|
267
268
|
onClick: ($event) => close()
|
|
268
|
-
}, [_ctx.$slots.icon ? (openBlock(), createElementBlock("span", {
|
|
269
|
+
}, [unref(hasSlotContent)(_ctx.$slots.icon) ? (openBlock(), createElementBlock("span", {
|
|
269
270
|
key: 0,
|
|
270
271
|
class: normalizeClass(`${block.value}__icon`)
|
|
271
272
|
}, [renderSlot(_ctx.$slots, "icon")], 2)) : createCommentVNode("v-if", true), createVNode(_sfc_main$1, normalizeProps(guardReactiveProps(textProps.value)), {
|
|
@@ -287,7 +288,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
287
288
|
key: 4,
|
|
288
289
|
class: normalizeClass(block.value)
|
|
289
290
|
}, [
|
|
290
|
-
logoIsLink.value && _ctx.$slots.icon ? (openBlock(), createBlock(resolveDynamicComponent(headingRoot.value), {
|
|
291
|
+
logoIsLink.value && unref(hasSlotContent)(_ctx.$slots.icon) ? (openBlock(), createBlock(resolveDynamicComponent(headingRoot.value), {
|
|
291
292
|
key: 0,
|
|
292
293
|
class: normalizeClass(`${block.value}__icon`),
|
|
293
294
|
href: safeHeadingHref.value,
|
|
@@ -301,12 +302,12 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
301
302
|
"href",
|
|
302
303
|
"to",
|
|
303
304
|
"aria-label"
|
|
304
|
-
])) : _ctx.$slots.icon ? (openBlock(), createElementBlock("span", {
|
|
305
|
+
])) : unref(hasSlotContent)(_ctx.$slots.icon) ? (openBlock(), createElementBlock("span", {
|
|
305
306
|
key: 1,
|
|
306
307
|
class: normalizeClass(`${block.value}__icon`)
|
|
307
308
|
}, [renderSlot(_ctx.$slots, "icon")], 2)) : createCommentVNode("v-if", true),
|
|
308
309
|
createVNode(_sfc_main$1, mergeProps(textProps.value, { independent: mode.value === "links" }), null, 16, ["independent"]),
|
|
309
|
-
_ctx.$slots.end ? (openBlock(), createElementBlock("span", {
|
|
310
|
+
unref(hasSlotContent)(_ctx.$slots.end) ? (openBlock(), createElementBlock("span", {
|
|
310
311
|
key: 2,
|
|
311
312
|
class: normalizeClass(`${block.value}__end`)
|
|
312
313
|
}, [renderSlot(_ctx.$slots, "end")], 2)) : createCommentVNode("v-if", true)
|
package/dist/NavItem/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as NavItemSize, i as NavItemProps, n as NavIconSlots, o as NavItemSlots, r as NavItemEmits, s as NavLinkComponent, t as NavIconProps } from "../types-C2ZuV4jf.js";
|
|
2
|
-
import { n as _default, r as resolveNavRoot, t as _default$1 } from "../index-
|
|
2
|
+
import { n as _default, r as resolveNavRoot, t as _default$1 } from "../index-DIw5D3zj.js";
|
|
3
3
|
export { _default as NavIcon, type NavIconProps, type NavIconSlots, _default$1 as NavItem, type NavItemEmits, type NavItemProps, type NavItemSize, type NavItemSlots, type NavLinkComponent, resolveNavRoot };
|
package/dist/NavItem/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { r as resolveNavRoot } from "../link-DuuA2eCL.js";
|
|
2
2
|
import { t as _sfc_main } from "../NavItem-thEKXyJA.js";
|
|
3
|
-
import { t as _sfc_main$1 } from "../NavItem-
|
|
3
|
+
import { t as _sfc_main$1 } from "../NavItem-CB3loauj.js";
|
|
4
4
|
export { _sfc_main as NavIcon, _sfc_main$1 as NavItem, resolveNavRoot };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as hasSlotContent } from "./slotContent-CNWOrGOr.js";
|
|
2
|
-
import { t as usePressFeedback } from "./usePressFeedback-
|
|
2
|
+
import { t as usePressFeedback } from "./usePressFeedback-aufF1sCH.js";
|
|
3
3
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
4
4
|
import { n as isNavigableHref, r as resolveNavRoot, t as isExternalNavTarget } from "./link-DuuA2eCL.js";
|
|
5
5
|
import { n as disabledInteractionProps } from "./disabledInteraction-CPzL8kVP.js";
|
package/dist/NavMenu/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../NavDisclosure-
|
|
2
|
-
import { n as _sfc_main$1, t as _sfc_main$2 } from "../NavMenu-
|
|
3
|
-
import { n as _sfc_main$3, t as _sfc_main$4 } from "../NavMenuItem-
|
|
1
|
+
import { t as _sfc_main } from "../NavDisclosure-DIYayUrP.js";
|
|
2
|
+
import { n as _sfc_main$1, t as _sfc_main$2 } from "../NavMenu-DYvMKPU_.js";
|
|
3
|
+
import { n as _sfc_main$3, t as _sfc_main$4 } from "../NavMenuItem-Ccix-agv.js";
|
|
4
4
|
export { _sfc_main as NavDisclosure, _sfc_main$1 as NavHeadingMenu, _sfc_main$2 as NavHeadingMenuItem, _sfc_main$3 as NavMenu, _sfc_main$4 as NavMenuItem };
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
import { t as hasSlotContent } from "./slotContent-CNWOrGOr.js";
|
|
1
2
|
import { n as readLayerScoped } from "./scopedProvide-C-Df7c15.js";
|
|
2
3
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
3
|
-
import { t as useListFocus } from "./useListFocus-
|
|
4
|
-
import { t as useMenuPress } from "./useMenuPress-
|
|
4
|
+
import { t as useListFocus } from "./useListFocus-CkHfsZp0.js";
|
|
5
|
+
import { t as useMenuPress } from "./useMenuPress-3203ryBY.js";
|
|
5
6
|
import { t as useOverflow } from "./useOverflow-GU0pxGaU.js";
|
|
6
|
-
import { t as useTypeahead } from "./useTypeahead-
|
|
7
|
+
import { t as useTypeahead } from "./useTypeahead-BlqvS9x9.js";
|
|
7
8
|
import { n as isNavigableHref } from "./link-DuuA2eCL.js";
|
|
8
|
-
import { i as navMenuKey, n as navMenuCloseKey, r as navMenuFocusKey } from "./NavDisclosure-
|
|
9
|
+
import { a as navMenuLabelKey, i as navMenuKey, n as navMenuCloseKey, r as navMenuFocusKey } from "./NavDisclosure-DIYayUrP.js";
|
|
9
10
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, inject, mergeProps, nextTick, normalizeClass, onMounted, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toDisplayString, toRaw, unref, useAttrs, watch, withCtx } from "vue";
|
|
10
11
|
import "../styles/nav-menu.css";
|
|
11
12
|
//#region src/NavMenu/NavHeadingMenu.vue
|
|
@@ -27,6 +28,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
27
28
|
const emit = __emit;
|
|
28
29
|
const closeMenu = inject(navMenuCloseKey, void 0);
|
|
29
30
|
const injectedFocus = inject(navMenuFocusKey, ref(null));
|
|
31
|
+
const injectedLabel = inject(navMenuLabelKey, ref(void 0));
|
|
30
32
|
const size = computed(() => props.size);
|
|
31
33
|
const requestedFocus = computed(() => props.focusRequest ?? injectedFocus.value);
|
|
32
34
|
const { listRef, handleKeyDown, focusItem } = useListFocus({
|
|
@@ -126,7 +128,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
126
128
|
class: ["astryx-nav-heading-menu astryx-nav-menu", `astryx-nav-menu--${size.value}`],
|
|
127
129
|
role: "menu",
|
|
128
130
|
tabindex: "-1",
|
|
129
|
-
"aria-label": __props.label,
|
|
131
|
+
"aria-label": __props.label ?? unref(injectedLabel),
|
|
130
132
|
"data-overflow": unref(hasOverflow) || void 0,
|
|
131
133
|
style: minWidthStyle.value,
|
|
132
134
|
"data-astryx-menu-press": "",
|
|
@@ -208,10 +210,10 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
208
210
|
tabindex: __props.isDisabled ? void 0 : -1,
|
|
209
211
|
onClick
|
|
210
212
|
}), {
|
|
211
|
-
default: withCtx(() => [__props.iconClass || _ctx.$slots.icon ? (openBlock(), createElementBlock("span", _hoisted_1, [renderSlot(_ctx.$slots, "icon", {}, () => [__props.iconClass ? (openBlock(), createElementBlock("span", {
|
|
213
|
+
default: withCtx(() => [__props.iconClass || unref(hasSlotContent)(_ctx.$slots.icon) ? (openBlock(), createElementBlock("span", _hoisted_1, [renderSlot(_ctx.$slots, "icon", {}, () => [__props.iconClass ? (openBlock(), createElementBlock("span", {
|
|
212
214
|
key: 0,
|
|
213
215
|
class: normalizeClass(["astryx-nav-menu-item__glyph", __props.iconClass])
|
|
214
|
-
}, null, 2)) : createCommentVNode("v-if", true)])])) : createCommentVNode("v-if", true), createElementVNode("span", _hoisted_2, [_ctx.$slots.default ? (openBlock(), createElementBlock("span", _hoisted_3, [renderSlot(_ctx.$slots, "default")])) : (openBlock(), createElementBlock("span", _hoisted_4, toDisplayString(__props.label), 1)), __props.description ? (openBlock(), createElementBlock("span", _hoisted_5, toDisplayString(__props.description), 1)) : createCommentVNode("v-if", true)])]),
|
|
216
|
+
}, null, 2)) : createCommentVNode("v-if", true)])])) : createCommentVNode("v-if", true), createElementVNode("span", _hoisted_2, [unref(hasSlotContent)(_ctx.$slots.default) ? (openBlock(), createElementBlock("span", _hoisted_3, [renderSlot(_ctx.$slots, "default")])) : (openBlock(), createElementBlock("span", _hoisted_4, toDisplayString(__props.label), 1)), __props.description ? (openBlock(), createElementBlock("span", _hoisted_5, toDisplayString(__props.description), 1)) : createCommentVNode("v-if", true)])]),
|
|
215
217
|
_: 3
|
|
216
218
|
}, 16, [
|
|
217
219
|
"class",
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { t as
|
|
1
|
+
import { t as hasSlotContent } from "./slotContent-CNWOrGOr.js";
|
|
2
|
+
import { t as usePressFeedback } from "./usePressFeedback-aufF1sCH.js";
|
|
2
3
|
import { n as readLayerScoped } from "./scopedProvide-C-Df7c15.js";
|
|
3
4
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
4
|
-
import { t as useListFocus } from "./useListFocus-
|
|
5
|
-
import { t as useMenuPress } from "./useMenuPress-
|
|
5
|
+
import { t as useListFocus } from "./useListFocus-CkHfsZp0.js";
|
|
6
|
+
import { t as useMenuPress } from "./useMenuPress-3203ryBY.js";
|
|
6
7
|
import { t as useOverflow } from "./useOverflow-GU0pxGaU.js";
|
|
7
8
|
import { n as isNavigableHref, r as resolveNavRoot } from "./link-DuuA2eCL.js";
|
|
8
|
-
import { i as navMenuKey, n as navMenuCloseKey } from "./NavDisclosure-
|
|
9
|
+
import { i as navMenuKey, n as navMenuCloseKey, o as navMenuPickKey } from "./NavDisclosure-DIYayUrP.js";
|
|
9
10
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, inject, mergeProps, nextTick, normalizeClass, onMounted, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toDisplayString, unref, watch, withCtx } from "vue";
|
|
10
11
|
import "../styles/nav-menu.css";
|
|
11
12
|
//#region src/NavMenu/NavMenu.vue
|
|
@@ -128,6 +129,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
128
129
|
const emit = __emit;
|
|
129
130
|
const menu = readLayerScoped(navMenuKey);
|
|
130
131
|
const closeMenu = inject(navMenuCloseKey, void 0);
|
|
132
|
+
const picksClose = inject(navMenuPickKey, void 0);
|
|
131
133
|
const linkComponent = useLinkComponent();
|
|
132
134
|
const size = computed(() => menu?.size.value ?? "md");
|
|
133
135
|
const isLink = computed(() => isNavigableHref(props.href, props.isDisabled));
|
|
@@ -143,6 +145,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
143
145
|
const preventedBeforeItem = event.defaultPrevented;
|
|
144
146
|
emit("click", event);
|
|
145
147
|
if (props.keepOpen || !preventedBeforeItem && event.defaultPrevented) return;
|
|
148
|
+
if (picksClose != null && !picksClose()) return;
|
|
146
149
|
closeMenu?.();
|
|
147
150
|
menu?.close();
|
|
148
151
|
}
|
|
@@ -158,12 +161,12 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
158
161
|
tabindex: __props.isMenuItem && !__props.isDisabled ? -1 : void 0
|
|
159
162
|
}, __props.isDisabled ? {} : unref(pressableProps), { onClick }), {
|
|
160
163
|
default: withCtx(() => [
|
|
161
|
-
__props.iconClass || _ctx.$slots.icon ? (openBlock(), createElementBlock("span", _hoisted_1, [renderSlot(_ctx.$slots, "icon", {}, () => [__props.iconClass ? (openBlock(), createElementBlock("span", {
|
|
164
|
+
__props.iconClass || unref(hasSlotContent)(_ctx.$slots.icon) ? (openBlock(), createElementBlock("span", _hoisted_1, [renderSlot(_ctx.$slots, "icon", {}, () => [__props.iconClass ? (openBlock(), createElementBlock("span", {
|
|
162
165
|
key: 0,
|
|
163
166
|
class: normalizeClass(["astryx-nav-menu-item__glyph", __props.iconClass])
|
|
164
167
|
}, null, 2)) : createCommentVNode("v-if", true)])])) : createCommentVNode("v-if", true),
|
|
165
168
|
createElementVNode("span", _hoisted_2, [createElementVNode("span", _hoisted_3, toDisplayString(__props.label), 1), __props.description ? (openBlock(), createElementBlock("span", _hoisted_4, toDisplayString(__props.description), 1)) : createCommentVNode("v-if", true)]),
|
|
166
|
-
_ctx.$slots.end ? (openBlock(), createElementBlock("span", _hoisted_5, [renderSlot(_ctx.$slots, "end")])) : createCommentVNode("v-if", true)
|
|
169
|
+
unref(hasSlotContent)(_ctx.$slots.end) ? (openBlock(), createElementBlock("span", _hoisted_5, [renderSlot(_ctx.$slots, "end")])) : createCommentVNode("v-if", true)
|
|
167
170
|
]),
|
|
168
171
|
_: 3
|
|
169
172
|
}, 16, [
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ai as NumberInputProps, ii as NumberInputEmits, oi as NumberInputStatus, ri as _default } from "../index-
|
|
1
|
+
import { ai as NumberInputProps, ii as NumberInputEmits, oi as NumberInputStatus, ri as _default } from "../index-CAKT4Kkz.js";
|
|
2
2
|
export { _default as NumberInput, type NumberInputEmits, type NumberInputProps, type NumberInputStatus };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../NumberInput-
|
|
1
|
+
import { t as _sfc_main } from "../NumberInput-DTksMfSU.js";
|
|
2
2
|
export { _sfc_main as NumberInput };
|
|
@@ -5,16 +5,16 @@ 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 _sfc_main$4 } from "./FieldIcon-DMtfe1Ne.js";
|
|
8
|
-
import { t as _sfc_main$5 } from "./FieldInfoTip-
|
|
8
|
+
import { t as _sfc_main$5 } from "./FieldInfoTip-1zW3QTQG.js";
|
|
9
9
|
import { a as useAstryxLocale, o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
10
10
|
import { n as useNumberField, t as computeSteppedValue } from "./useNumberField-Dk1BE3-K.js";
|
|
11
11
|
import { t as unicodeRegExp } from "./unicodeRegExp-B7yQnpFC.js";
|
|
12
12
|
import { n as toAsciiDigits, t as INVISIBLE_CHARS } from "./unicodeDigits-_BYIJcAu.js";
|
|
13
13
|
import { i as useAriaRequired } from "./context-DsNhYm5O.js";
|
|
14
|
-
import { t as _sfc_main$6 } from "./Field-
|
|
14
|
+
import { t as _sfc_main$6 } from "./Field-DsucLkyQ.js";
|
|
15
15
|
import { t as useFieldPartStyling } from "./fieldParts-CbWvZLhH.js";
|
|
16
16
|
import { t as numberInputMessages } from "./number-input-DTjrRWmU.js";
|
|
17
|
-
import { t as _sfc_main$7 } from "./InputClearButton-
|
|
17
|
+
import { t as _sfc_main$7 } from "./InputClearButton-h0BxBXu1.js";
|
|
18
18
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeProps, nextTick, normalizeClass, normalizeStyle, onMounted, openBlock, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, toRaw, unref, useAttrs, useId, useTemplateRef, withCtx, withModifiers } from "vue";
|
|
19
19
|
import "../styles/number-input.css";
|
|
20
20
|
//#region src/NumberInput/numberParser.ts
|
package/dist/Outline/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as _sfc_main, n as useOutlineFromDOM, r as parseOutlineFromMarkdown, t as useOutlineFromMarkdown } from "../Outline-
|
|
1
|
+
import { i as _sfc_main, n as useOutlineFromDOM, r as parseOutlineFromMarkdown, t as useOutlineFromMarkdown } from "../Outline-NuPQMjxw.js";
|
|
2
2
|
export { _sfc_main as Outline, parseOutlineFromMarkdown, useOutlineFromDOM, useOutlineFromMarkdown };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as usePressFeedback } from "./usePressFeedback-
|
|
1
|
+
import { t as usePressFeedback } from "./usePressFeedback-aufF1sCH.js";
|
|
2
|
+
import { t as useListFocus } from "./useListFocus-CkHfsZp0.js";
|
|
2
3
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
3
|
-
import { t as useListFocus } from "./useListFocus-CbHkLT-X.js";
|
|
4
4
|
import { t as outlineMessages } from "./outline-BflaJV62.js";
|
|
5
5
|
import { _ as plainText, a as parseMarkdownAst } from "./publicParser-C8RBKNLA.js";
|
|
6
6
|
import { n as uniqueSlug, t as slugify } from "./slug-D6ln5PTq.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $r as OverflowListCollapsedItem, Qr as _default, ei as OverflowListEmits, ni as OverflowListProps, ti as OverflowListItem } from "../index-
|
|
1
|
+
import { $r as OverflowListCollapsedItem, Qr as _default, ei as OverflowListEmits, ni as OverflowListProps, ti as OverflowListItem } from "../index-CAKT4Kkz.js";
|
|
2
2
|
export { _default as OverflowList, type OverflowListCollapsedItem, type OverflowListEmits, type OverflowListItem, type OverflowListProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../OverflowList-
|
|
1
|
+
import { t as _sfc_main } from "../OverflowList-DKM7TeUs.js";
|
|
2
2
|
export { _sfc_main as OverflowList };
|
|
@@ -3,8 +3,8 @@ import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
|
3
3
|
import { t as useOverflow } from "./useOverflow-GU0pxGaU.js";
|
|
4
4
|
import { t as navMessages } from "./nav-DpKQUHqR.js";
|
|
5
5
|
import { r as resolveNavRoot } from "./link-DuuA2eCL.js";
|
|
6
|
-
import { t as _sfc_main$2 } from "./NavDisclosure-
|
|
7
|
-
import { n as _sfc_main$3, t as _sfc_main$4 } from "./NavMenuItem-
|
|
6
|
+
import { t as _sfc_main$2 } from "./NavDisclosure-DIYayUrP.js";
|
|
7
|
+
import { n as _sfc_main$3, t as _sfc_main$4 } from "./NavMenuItem-Ccix-agv.js";
|
|
8
8
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, normalizeClass, normalizeStyle, openBlock, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, watch, withCtx } from "vue";
|
|
9
9
|
import "../styles/overflow-list.css";
|
|
10
10
|
//#region src/OverflowList/OverflowMore.vue
|
package/dist/Overlay/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as OverlayContainerProps, c as OverlayScrimMode, d as OverlayShowOn, f as OverlaySlots, i as OverlayAlign, l as OverlayScrimProps, m as UseOverlayResult, n as _default$1, o as OverlayPosition, p as UseOverlayOptions, r as _default, s as OverlayProps, t as useOverlay, u as OverlayScrimSlots } from "../index-
|
|
1
|
+
import { a as OverlayContainerProps, c as OverlayScrimMode, d as OverlayShowOn, f as OverlaySlots, i as OverlayAlign, l as OverlayScrimProps, m as UseOverlayResult, n as _default$1, o as OverlayPosition, p as UseOverlayOptions, r as _default, s as OverlayProps, t as useOverlay, u as OverlayScrimSlots } from "../index-BDZCJ9ri.js";
|
|
2
2
|
export { _default as Overlay, type OverlayAlign, type OverlayContainerProps, type OverlayPosition, type OverlayProps, _default$1 as OverlayScrim, type OverlayScrimMode, type OverlayScrimProps, type OverlayScrimSlots, type OverlayShowOn, type OverlaySlots, type UseOverlayOptions, type UseOverlayResult, useOverlay };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as PaginationSlots, i as PaginationSize, n as PaginationEmits, o as PaginationVariant, r as PaginationProps, t as _default } from "../index-
|
|
1
|
+
import { a as PaginationSlots, i as PaginationSize, n as PaginationEmits, o as PaginationVariant, r as PaginationProps, t as _default } from "../index-DogWVRJi.js";
|
|
2
2
|
export { _default as Pagination, type PaginationEmits, type PaginationProps, type PaginationSize, type PaginationSlots, type PaginationVariant };
|
package/dist/Pagination/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Pagination-
|
|
1
|
+
import { t as _sfc_main } from "../Pagination-B-O21ut1.js";
|
|
2
2
|
export { _sfc_main as Pagination };
|