@astryx-vue/core 0.37.0 → 0.38.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-DwITRN1M.js → AlertDialog-BVTKz7re.js} +8 -8
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-ClZ2Y8cu.js → AppShell-C2y8U6wp.js} +6 -6
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-CpWBsTqf.js → Avatar-BY-EWaJM.js} +1 -1
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/AvatarGroup/index.js +1 -1
- package/dist/{AvatarGroup-DhSPWemf.js → AvatarGroup-BSsARmYE.js} +1 -1
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Banner/index.js +1 -1
- package/dist/{Banner-DeauKxQw.js → Banner-NCI6aOKt.js} +2 -2
- package/dist/BottomSheet/index.d.ts +1 -1
- package/dist/BottomSheet/index.js +2 -2
- package/dist/{BottomSheet-Cr6FacYP.js → BottomSheet-CFdGLVIF.js} +9 -9
- package/dist/{BottomSheet-CDxV1Rkx.js → BottomSheet-dgHDqtQg.js} +1 -1
- package/dist/Breadcrumbs/index.d.ts +2 -2
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/{Breadcrumbs-DaxgM0-F.js → Breadcrumbs-CwEfccnT.js} +1 -1
- package/dist/Button/index.js +1 -1
- package/dist/{Button-V6i-PeBt.js → Button-BZV5wL4j.js} +4 -4
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/ButtonGroup/index.js +1 -1
- package/dist/{ButtonGroup-CEDeeGkY.js → ButtonGroup-CaQ7bir4.js} +2 -2
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Calendar/index.js +2 -2
- package/dist/Carousel/index.d.ts +1 -1
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-5NYWpta1.js → Carousel-CbOusMO0.js} +1 -1
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-BRtDKajd.js → Chat-BrHbv7Ah.js} +7 -7
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-ixAs3zkT.js → CheckboxInput-CV8aHb9r.js} +4 -4
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxListItem-DoWYdLf-.js → CheckboxListItem-SyF1JdT3.js} +5 -5
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/ClickableCard/index.js +1 -1
- package/dist/{ClickableCard-DuOcbNlt.js → ClickableCard-DYcn-IFI.js} +1 -1
- package/dist/Code/index.js +2 -2
- package/dist/{Code-qHt8uZqb.js → Code-BNOzyQX4.js} +1 -1
- package/dist/{CodeBlock-2zigEFFD.js → CodeBlock-DYXx_9Kj.js} +2 -2
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-DfVihLCR.js → Collapsible-48Q1GfRw.js} +3 -3
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-CWaKVNGZ.js → CommandPalette-Ct70AcIK.js} +5 -5
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-D2QRdM57.js → ComplexSelector-NnPRhI6t.js} +2 -2
- package/dist/ContextMenu/index.d.ts +2 -2
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-D-G53u7B.js → ContextMenu-C7m059d4.js} +6 -6
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-BHSp4fZS.js → DateInput-D-NIlF5P.js} +7 -7
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-DP1QWK_6.js → DateRangeInput-BYl649eD.js} +4 -4
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-Bgx9lgWb.js → DateTimeInput-CBzae6EW.js} +6 -6
- package/dist/Dialog/index.js +3 -3
- package/dist/{Dialog-DCKT1dWC.js → Dialog-BP2KWnEi.js} +2 -2
- package/dist/{Dialog-DRQrtKHT.js → Dialog-BUl1lqE6.js} +1 -1
- package/dist/{DialogHeader-C3Mc580J.js → DialogHeader-DKt_lREy.js} +2 -2
- package/dist/Drawer/index.d.ts +1 -1
- package/dist/Drawer/index.js +1 -1
- package/dist/{Drawer-CnFTUjln.js → Drawer-D63qUfxP.js} +3 -3
- package/dist/DropdownMenu/index.d.ts +2 -2
- package/dist/DropdownMenu/index.js +2 -2
- package/dist/{DropdownMenu-DU_Rw88D.js → DropdownMenu-BkTjcbtP.js} +8 -8
- package/dist/{DropdownMenuRadioItem.vue-BDDI4EZK.d.ts → DropdownMenuRadioItem.vue-BFCbIBfb.d.ts} +1 -1
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-DU7uOI2G.js → EmptyState-BUmLBchw.js} +2 -2
- package/dist/Field/index.js +3 -3
- package/dist/{Field-CZndbiqR.js → Field-DgtZ9Czv.js} +1 -1
- package/dist/{FieldInfoTip-Ii7lSYS8.js → FieldInfoTip-D4vkQb2F.js} +1 -1
- package/dist/{FieldLabel-ru3qavED.js → FieldLabel-DkElUlTP.js} +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-BtVTN7LN.js → FileInput-epZuREvN.js} +4 -4
- package/dist/Heading/index.d.ts +1 -1
- package/dist/Heading/index.js +1 -1
- package/dist/{Heading-BZ0ydu2s.js → Heading-SdObK_xM.js} +1 -1
- package/dist/HoverCard/index.d.ts +1 -1
- package/dist/HoverCard/index.js +1 -1
- package/dist/{HoverCard-BhHZE9q6.js → HoverCard-B7hrl0Qz.js} +4 -4
- package/dist/IconButton/index.js +1 -1
- package/dist/{IconButton-4BXILpv-.js → IconButton-ddP2kBOE.js} +1 -1
- package/dist/InfoTip/index.d.ts +1 -1
- package/dist/InfoTip/index.js +1 -1
- package/dist/{InfoTip-D2MzKXZH.js → InfoTip-D2rbGvF9.js} +2 -2
- package/dist/{InputClearButton-Cm5Q3KK2.js → InputClearButton-pGsDJl26.js} +2 -2
- package/dist/InputGroup/index.js +1 -1
- package/dist/{InputGroup-CjB_XpEy.js → InputGroup-BIVCj2rq.js} +1 -1
- package/dist/InternationalizationProvider/index.d.ts +1 -1
- package/dist/InternationalizationProvider/index.js +1 -1
- package/dist/{InternationalizationProvider-yLbf4Wi_.js → InternationalizationProvider-BkJ8Z7ox.js} +1 -1
- package/dist/{Item-CKYsTbM4.js → Item-DrV3f4fe.js} +12 -28
- package/dist/{LayerContentBoundary-D67fobWl.js → LayerContentBoundary-iYtfCpG9.js} +1 -1
- package/dist/Layout/index.js +2 -2
- package/dist/{Layout-BDS2ZN6C.js → Layout-DIs9FbLS.js} +1 -1
- package/dist/{LayoutPanel-D56PBM4I.js → LayoutPanel-DPueklAW.js} +1 -1
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-CnTXrgq6.js → Lightbox-CYFqIuYF.js} +2 -2
- package/dist/Link/index.d.ts +1 -1
- package/dist/Link/index.js +1 -1
- package/dist/{Link-BnM830Xa.js → Link-Bte02xvC.js} +2 -2
- package/dist/List/index.d.ts +2 -2
- package/dist/List/index.js +3 -2
- package/dist/{ListItem-B1ztelEC.js → ListItem-DyJ5nTUB.js} +86 -65
- package/dist/Markdown/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-JjZLAFq2.js → Markdown-DLOM7sua.js} +3 -3
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-CjlgmcSf.js → MobileNavToggle-CiY__Fy9.js} +2 -2
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-CGTbwTyw.js → MoreMenu-Dfw9RqEG.js} +7 -7
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-DUQMNBoZ.js → MultiSelector-670gfK2P.js} +6 -6
- package/dist/{NavDisclosure-BpYjtYo5.js → NavDisclosure-l2h8R_ub.js} +10 -3
- package/dist/{NavHeadingSurface-CK9zMjFC.js → NavHeadingSurface-CyzeGig1.js} +3 -1
- package/dist/NavItem/index.js +1 -1
- package/dist/{NavItem-DTO-BEfc.js → NavItem-BbnusKbo.js} +1 -1
- package/dist/NavMenu/index.d.ts +1 -1
- package/dist/NavMenu/index.js +3 -3
- package/dist/{NavMenu-BflnhBtX.js → NavMenu-BRWghdCF.js} +2 -2
- package/dist/{NavMenuItem-CrFrczWe.js → NavMenuItem-BtYmdZGe.js} +3 -3
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-vWUcgJU8.js → NumberInput-CoozsQxb.js} +5 -5
- package/dist/Outline/index.js +1 -1
- package/dist/{Outline-D4DJTfKp.js → Outline-DGntLLCe.js} +2 -2
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-D9Ua6e3-.js → OverflowList-DJBaY3B_.js} +2 -2
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-DBikmHyn.js → Pagination-HRiDkiv1.js} +3 -3
- package/dist/{PanGestureRecognizer-C-gk9mOy.js → PanGestureRecognizer-K-I6ORwh.js} +3 -3
- package/dist/{PickerWheel-sIOSfcfO.js → PickerWheel-BH7fotFp.js} +14 -14
- package/dist/Popover/index.d.ts +1 -1
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-CTCWhA_K.js → Popover-CIfmPr2b.js} +9 -9
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-CTNFHNnr.js → PowerSearch-lZ7C-9_i.js} +29 -29
- package/dist/{PressTracker-CPRIrG4f.js → PressTracker-Byalgid0.js} +3 -3
- package/dist/ProgressBar/index.js +1 -1
- package/dist/{ProgressBar-B2ds3imd.js → ProgressBar-DJ79DNQq.js} +4 -4
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-OLFNjvKt.js → RadioGroup-DE0vl44p.js} +5 -5
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioListItem-BAEF0vc8.js → RadioListItem-CMH7E4o4.js} +1 -1
- package/dist/Resizable/index.d.ts +1 -1
- package/dist/Resizable/index.js +1 -1
- package/dist/{ResizeHandle-Bd4TdK7E.js → ResizeHandle-IXhzcM0r.js} +2 -2
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/SegmentedControl/index.js +1 -1
- package/dist/{SegmentedControl-C0xXOVTv.js → SegmentedControl-DfQbw_Kx.js} +10 -10
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/SelectableCard/index.js +1 -1
- package/dist/{SelectableCard-B2QbpWiT.js → SelectableCard-BSgi3FJf.js} +1 -1
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-BvxQXUYr.js → Selector-BA_Br1PQ.js} +4 -4
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +2 -2
- package/dist/{SideNav-D8jQrwtL.js → SideNav-iTVaFVr8.js} +10 -10
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-Bd5fxqRa.js → Slider-Dd-7-KDB.js} +13 -13
- package/dist/Stack/index.d.ts +1 -1
- package/dist/StatusDot/index.js +1 -1
- package/dist/{StatusDot-Jw676Z_6.js → StatusDot-DOf6Q4MC.js} +1 -1
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/Stepper/index.js +1 -1
- package/dist/{Stepper-3oMdVe0c.js → Stepper-2Pzjo2X6.js} +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-COKmqJQU.js → Switch-CDzpdofs.js} +14 -14
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-DjRutwar.js → TabList-2WI0pFSQ.js} +3 -3
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-3GiSElIS.js → Table-Dv2v2Qn1.js} +15 -15
- package/dist/Text/index.d.ts +1 -1
- package/dist/Text/index.js +1 -1
- package/dist/{Text-bvai__ae.js → Text-CILdp7jE.js} +1 -1
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-BtBC4IoD.js → TextArea-DVaMUVoM.js} +6 -6
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-cotkU2bC.js → TextInput-CuZ0_q-W.js} +6 -6
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-oqrKH-co.js → Thumbnail-DdWfJKHa.js} +4 -4
- package/dist/{TimeField-BYuUKUNq.js → TimeField-BxM1p1iV.js} +5 -5
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-Bqo_oHMl.js → TimeInput-OazN0w6r.js} +2 -2
- package/dist/Timer/index.d.ts +1 -1
- package/dist/Timer/index.js +1 -1
- package/dist/{Timer-CO-JNJTI.js → Timer-DOoFQEBD.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-CfzqAAX2.js → Timestamp-B6Ob-xlj.js} +4 -4
- package/dist/Toast/index.js +1 -1
- package/dist/{Toast-BSay0eZw.js → Toast-CW2ML8tU.js} +4 -4
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/ToggleButton/index.js +1 -1
- package/dist/{ToggleButton-Ditxp2jT.js → ToggleButton-8XAM4Mko.js} +3 -3
- package/dist/Token/index.js +1 -1
- package/dist/{Token-Dk6MPUkH.js → Token-Di7w9Cvr.js} +2 -2
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-D-wBxbBE.js → Tokenizer-OZbI0TqN.js} +13 -13
- 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-BdG9g6c6.js → Tooltip-DPiEYfao.js} +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-D7jH9iwk.js → TopNav-Bea1f-4t.js} +6 -6
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-Dnx-uco3.js → TreeList-DEGpCrNi.js} +4 -4
- package/dist/Typeahead/index.js +2 -2
- package/dist/{Typeahead-Cx086Mmv.js → Typeahead-BONCIm6m.js} +6 -6
- package/dist/{VelocityTracker-CPFBHDpy.js → VelocityTracker-CWqXCLNe.js} +1 -1
- package/dist/{accessibleName-CHrrgpAy.js → accessibleName-YrrAARQX.js} +2 -2
- package/dist/{animator-Bptiubcx.js → animator-i7djdtNK.js} +3 -3
- package/dist/{boxHold-D1G2s1tG.js → boxHold-ig0sUg95.js} +1 -1
- package/dist/composables/index.d.ts +3 -2
- package/dist/composables/index.js +10 -10
- package/dist/{composables-CpG7bhuQ.js → composables-BJfZbXeW.js} +2424 -203
- package/dist/{context-Dweha8vW.js → context-DArta_KP.js} +3 -2
- package/dist/createReorderable-Bw3Q9mUd.d.ts +55 -0
- package/dist/{decay-TluwbMlP.js → decay-DGF4-sPB.js} +1 -1
- package/dist/{geometry-BRW7FETc.js → geometry-BBqUriul.js} +1 -1
- package/dist/{gestures-yKyyMqeQ.js → gestures-CP1MX1rx.js} +1 -1
- package/dist/{haptics-BEgivjBd.js → haptics-By_893U8.js} +3 -3
- package/dist/{index-DvCLTiDV.d.ts → index-4_uuTfaY.d.ts} +1 -1
- package/dist/{index-tXYy8MJ0.d.ts → index-BIcmTipH.d.ts} +1 -1
- package/dist/{index-BB9acgK8.d.ts → index-BgT6mH3U.d.ts} +1 -1
- package/dist/{index-BhpRhww0.d.ts → index-BrY-v2wz.d.ts} +2 -2
- package/dist/{index-Dk50Zh3F.d.ts → index-BtqvPjAf.d.ts} +1 -1
- package/dist/{index-CZ29Xu_E.d.ts → index-Bwh8O-v8.d.ts} +1 -1
- package/dist/{index-BIQZa2BD.d.ts → index-CAP19BZD.d.ts} +9 -0
- package/dist/{index-DjSQLT53.d.ts → index-COqeB2ug.d.ts} +1 -1
- package/dist/{index-hwP1oWCA.d.ts → index-CTASAiq2.d.ts} +1 -1
- package/dist/{index-OP4ntESa.d.ts → index-DLPSlnXP.d.ts} +1 -1
- package/dist/{index-B44fLswd.d.ts → index-DPhQZXYw.d.ts} +1 -1
- package/dist/{index-CGRtGORf.d.ts → index-DXGoFpRN.d.ts} +52 -2
- package/dist/{index-sUMua5pp.d.ts → index-Dgl2rXqH.d.ts} +27 -1
- package/dist/{index-B7Rd2RuL.d.ts → index-DxFU2kv3.d.ts} +31 -31
- package/dist/{index-DVX2jlTQ.d.ts → index-JE1HrzdJ.d.ts} +2 -2
- package/dist/{index-Ak1b0V24.d.ts → index-Pad9p8CU.d.ts} +1 -1
- package/dist/{index-CilCxEvD.d.ts → index-V6uruC4Z.d.ts} +1 -1
- package/dist/{index-BA8exXNP.d.ts → index-X4S7_dmq.d.ts} +1 -1
- package/dist/{index-CtYlR9Cu.d.ts → index-rdwI-mcm.d.ts} +1 -1
- package/dist/{index-C89cIh4E.d.ts → index-waTkqxTz.d.ts} +1 -1
- package/dist/index.d.ts +25 -24
- package/dist/index.js +113 -112
- package/dist/inertClone-BUK-k6-n.js +83 -0
- package/dist/itemSlots-BxUu7hje.js +54 -0
- package/dist/keyboard-hint-DZrL82bU.js +48 -0
- package/dist/{landing-CrVewjeb.js → landing-CwF_76em.js} +1 -1
- package/dist/{layerDepth-DRfWATFr.js → layerDepth-C4altnV8.js} +1 -1
- package/dist/{lazyBottomSheet-C6Rw8yoX.js → lazyBottomSheet-COX_Z3-V.js} +1 -1
- package/dist/{linearEasing-VHwy6xl_.js → linearEasing-CDsqxyiS.js} +1 -1
- package/dist/{loadCatalog-CdEXyPYj.d.ts → loadCatalog-S2AgQN51.d.ts} +40 -1
- package/dist/{loadCatalog-CKntEldg.js → loadCatalog-baFZaTpj.js} +76 -5
- package/dist/locale/index.d.ts +3 -3
- package/dist/locale/index.js +5 -5
- package/dist/{locale-CHA0DNw5.js → locale-BIyfn-cf.js} +1 -1
- package/dist/{position-DwHfneha.js → position-CkZfFubr.js} +1 -1
- package/dist/{pressGesture-CfBgXWRM.js → pressGesture-ZTBGwYpT.js} +1 -1
- package/dist/{pressSlot-B6TvGkSO.js → pressSlot-zlwhNl9N.js} +1 -1
- package/dist/{projection-qPcLQcwK.js → projection-DzrWyxL1.js} +1 -1
- package/dist/{reducedMotion-D8-U7XFT.js → reducedMotion-BHRhHfWB.js} +2 -2
- package/dist/reorderTypes-CvmAkO-R.js +55 -0
- package/dist/{reportChange-CUo2YNPB.js → reportChange-DuOzs-8h.js} +3 -3
- package/dist/{resizableChannel-DpbFJbto.js → resizableChannel-6oZZNYYM.js} +4 -4
- package/dist/{resolveMotion-DftkGFw6.js → resolveMotion-BCM4CX-R.js} +2 -2
- package/dist/{resolveSnapPoint-A4dhS5jj.js → resolveSnapPoint-D1yU-Z-K.js} +1 -1
- package/dist/{rideKeyboard-BCzVooOd.js → rideKeyboard-BKGLLMuU.js} +2 -2
- package/dist/{roles-DWH31Bn3.js → roles-D6hLs7Rg.js} +1 -1
- package/dist/{rubberBand-DDd5ElTe.js → rubberBand-C-2erWWl.js} +1 -1
- package/dist/scrollingAncestor-DMWTn_Ih.js +36 -0
- package/dist/{springs-CPk0tpwL.js → springs-B5hVbZta.js} +1 -1
- package/dist/{stillPointerGate-BU1CKW7m.js → stillPointerGate-DXFzBeMy.js} +1 -1
- package/dist/{themeTiming-BJziEh4O.js → themeTiming-Cv_hsTJU.js} +1 -1
- package/dist/{tooltipFocusRules-GGASOH_U.js → tooltipFocusRules-R21SPfWy.js} +2 -2
- package/dist/{tooltipTriggerRules-DIaGdkD_.js → tooltipTriggerRules-CoGD2lVn.js} +1 -1
- package/dist/{transientCopy-VAsg2a46.js → transientCopy--76J3N2f.js} +2 -83
- package/dist/{types-BHHT6Bho.d.ts → types-D9mwL8sz.d.ts} +25 -0
- package/dist/{useActionGroupTracking-C-nLjHyn.js → useActionGroupTracking-DB5xIxPW.js} +3 -3
- package/dist/{useAnimatedLayout-Dq-cttfe.js → useAnimatedLayout-CVYflMPG.js} +1 -1
- package/dist/{useDismiss-CegXF2Zo.js → useDismiss-yu_sIa7a.js} +33 -2
- package/dist/{useGestureRecognizer-Di-YKr93.js → useGestureRecognizer-BKzTWKYx.js} +1 -1
- package/dist/{useInputStatusIcon-CXP2kRSe.js → useInputStatusIcon-CV8qfqzK.js} +1 -1
- package/dist/{useMenuPress-kjmot8Bn.js → useMenuPress-DrrOBqjM.js} +1 -1
- package/dist/{useMobileKeyboard-BDPV51xl.js → useMobileKeyboard-DOa93Ek2.js} +4 -38
- package/dist/{usePressFeedback-CF4ISMfb.js → usePressFeedback-BEY9kk8T.js} +3 -3
- package/dist/{useResizable-7-uUaJ7x.js → useResizable-9WyAIDnz.js} +6 -6
- package/dist/{useTooltip-DCp4sTM1.js → useTooltip-B2RrDbtI.js} +4 -4
- package/dist/{useTouchHitArea-CkHMLZ34.js → useTouchHitArea-DvKV21NY.js} +1 -1
- package/dist/{useTouchTriggerInternal-C_mowlpv.js → useTouchTriggerInternal-Obcx-oKN.js} +1 -1
- package/dist/{useTruncationTooltip-Du80jGdE.js → useTruncationTooltip-RUl8qSGz.js} +3 -3
- package/dist/{useTypeaheadMenuConfig-B14t0HGE.js → useTypeaheadMenuConfig-DUZD3GqE.js} +1 -1
- package/package.json +1 -1
- package/styles/list-reorder.css +137 -0
- package/styles/nav-menu.css +5 -0
- package/styles/side-nav.css +7 -4
- package/styles/top-nav.css +7 -4
- package/styles.css +1 -0
- package/dist/keyboard-hint-KWx0-7kD.js +0 -7
- package/dist/{Calendar-B6TZYEge.js → Calendar-DbAQvHgy.js} +1 -1
- package/dist/{Calendar-CUMnYIhe.js → Calendar-S5IjkDsY.js} +1 -1
|
@@ -1,35 +1,15 @@
|
|
|
1
1
|
import { a as isInLayerSurface, o as isLayerSurface } from "./useClickableContainer-Dtjg-nkm.js";
|
|
2
|
-
import { t as usePressFeedback } from "./usePressFeedback-
|
|
3
|
-
import { n as readLayerScoped
|
|
2
|
+
import { t as usePressFeedback } from "./usePressFeedback-BEY9kk8T.js";
|
|
3
|
+
import { n as readLayerScoped } from "./scopedProvide-C-Df7c15.js";
|
|
4
4
|
import { n as isSafeUrl } from "./safeUrl-CsvfcZ9m.js";
|
|
5
5
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
6
6
|
import { t as isCoarsePointer } from "./coarsePointer-BWNSUIY8.js";
|
|
7
|
+
import { a as itemDescriptionContextKey, i as useItemSlotsFromWrapper, o as itemListRowKey } from "./itemSlots-BxUu7hje.js";
|
|
7
8
|
import { t as useInteractiveRole } from "./useInteractiveRole-Cn0Nd5GX.js";
|
|
8
9
|
import { t as useFocusAcrossSwap } from "./focusAcrossSwap-Casww_IY.js";
|
|
9
10
|
import { n as disabledInteractionProps, t as consumeWhileDisabled } from "./disabledInteraction-Bqoyhoss.js";
|
|
10
|
-
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, h,
|
|
11
|
+
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, h, mergeProps, normalizeClass, normalizeStyle, onBeforeUnmount, openBlock, provide, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, toRaw, toValue, unref, useAttrs, useId, useSlots, useTemplateRef, watch, watchEffect, withCtx, withModifiers } from "vue";
|
|
11
12
|
import "../styles/list.css";
|
|
12
|
-
//#region src/List/context.ts
|
|
13
|
-
const listContextKey = defineLayerScopedKey("astryx-list-context", void 0);
|
|
14
|
-
/** The surrounding list, or `undefined` when the row stands alone. */
|
|
15
|
-
function useListContext() {
|
|
16
|
-
return readLayerScoped(listContextKey);
|
|
17
|
-
}
|
|
18
|
-
const itemDescriptionContextKey = Symbol("astryx-item-description");
|
|
19
|
-
/**
|
|
20
|
-
* The id of the description element of the nearest row, so a control rendered
|
|
21
|
-
* in one of that row's slots can point `aria-describedby` at it. `null` when
|
|
22
|
-
* the row renders no description.
|
|
23
|
-
*/
|
|
24
|
-
function useItemDescriptionId() {
|
|
25
|
-
return inject(itemDescriptionContextKey, computed(() => null));
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* `ListItem` 直接渲染的那一行读到它。链接行的内边距和热区点按转给里面的链接,
|
|
29
|
-
* 行里的内容(插槽里的嵌套行)读到的是 `null`。
|
|
30
|
-
*/
|
|
31
|
-
const itemListRowKey = defineLayerScopedKey("astryx-item-list-row", null);
|
|
32
|
-
//#endregion
|
|
33
13
|
//#region src/List/ItemSwipePanel.vue
|
|
34
14
|
const _hoisted_1$1 = ["data-side", "inert"];
|
|
35
15
|
const _hoisted_2$1 = [
|
|
@@ -309,7 +289,8 @@ const _hoisted_1 = {
|
|
|
309
289
|
key: 0,
|
|
310
290
|
class: "astryx-item__start"
|
|
311
291
|
};
|
|
312
|
-
const _hoisted_2 =
|
|
292
|
+
const _hoisted_2 = ["id"];
|
|
293
|
+
const _hoisted_3 = {
|
|
313
294
|
key: 1,
|
|
314
295
|
class: "astryx-item__end"
|
|
315
296
|
};
|
|
@@ -405,6 +386,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
405
386
|
const descriptionIdBase = `astryx-item-description-${useId()}`;
|
|
406
387
|
const hasDescription = computed(() => slots.description != null || isRenderable(props.description));
|
|
407
388
|
const hasLabel = computed(() => slots.label != null || isRenderable(props.label));
|
|
389
|
+
const { trailing, shownLabelId } = useItemSlotsFromWrapper(`astryx-item-label-${useId()}`, hasLabel);
|
|
408
390
|
const listRow = readLayerScoped(itemListRowKey);
|
|
409
391
|
const isListRow = listRow != null;
|
|
410
392
|
provide(itemListRowKey, null);
|
|
@@ -693,9 +675,10 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
693
675
|
(openBlock(), createBlock(resolveDynamicComponent(contentTag.value), mergeProps(contentAttrs.value, { class: ["astryx-item__content", { "astryx-item__content--inline": isInline.value }] }), {
|
|
694
676
|
default: withCtx(() => [hasLabel.value ? (openBlock(), createElementBlock("span", {
|
|
695
677
|
key: 0,
|
|
678
|
+
id: unref(shownLabelId) ?? void 0,
|
|
696
679
|
class: normalizeClass(["astryx-item__label", labelClasses.value]),
|
|
697
680
|
style: normalizeStyle(labelStyle.value)
|
|
698
|
-
}, [renderSlot(_ctx.$slots, "label", {}, () => [createTextVNode(toDisplayString(__props.label), 1)])],
|
|
681
|
+
}, [renderSlot(_ctx.$slots, "label", {}, () => [createTextVNode(toDisplayString(__props.label), 1)])], 14, _hoisted_2)) : createCommentVNode("v-if", true), hasDescription.value ? (openBlock(), createElementBlock("span", {
|
|
699
682
|
key: 1,
|
|
700
683
|
id: descriptionIdBase,
|
|
701
684
|
class: normalizeClass(["astryx-item__description", descriptionClasses.value]),
|
|
@@ -703,7 +686,8 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
703
686
|
}, [renderSlot(_ctx.$slots, "description", {}, () => [createTextVNode(toDisplayString(__props.description), 1)])], 6)) : createCommentVNode("v-if", true)]),
|
|
704
687
|
_: 3
|
|
705
688
|
}, 16, ["class"])),
|
|
706
|
-
_ctx.$slots.endContent ? (openBlock(), createElementBlock("span",
|
|
689
|
+
_ctx.$slots.endContent ? (openBlock(), createElementBlock("span", _hoisted_3, [renderSlot(_ctx.$slots, "endContent")])) : createCommentVNode("v-if", true),
|
|
690
|
+
unref(trailing) ? (openBlock(), createBlock(resolveDynamicComponent(unref(trailing)), { key: 2 })) : createCommentVNode("v-if", true)
|
|
707
691
|
]),
|
|
708
692
|
_: 3
|
|
709
693
|
})]),
|
|
@@ -736,4 +720,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
736
720
|
}
|
|
737
721
|
});
|
|
738
722
|
//#endregion
|
|
739
|
-
export {
|
|
723
|
+
export { _sfc_main as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as resetLayerScopedContext } from "./scopedProvide-C-Df7c15.js";
|
|
2
|
-
import { t as provideLayerDepth } from "./layerDepth-
|
|
2
|
+
import { t as provideLayerDepth } from "./layerDepth-C4altnV8.js";
|
|
3
3
|
import { defineComponent, renderSlot } from "vue";
|
|
4
4
|
//#region src/layer/LayerContentBoundary.vue
|
|
5
5
|
/**
|
package/dist/Layout/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as _sfc_main, n as _sfc_main$3, r as _sfc_main$1, t as _sfc_main$4 } from "../LayoutPanel-
|
|
2
|
-
import { t as _sfc_main$2 } from "../Layout-
|
|
1
|
+
import { a as _sfc_main, n as _sfc_main$3, r as _sfc_main$1, t as _sfc_main$4 } from "../LayoutPanel-DPueklAW.js";
|
|
2
|
+
import { t as _sfc_main$2 } from "../Layout-DIs9FbLS.js";
|
|
3
3
|
export { _sfc_main as Layout, _sfc_main$1 as LayoutContent, _sfc_main$2 as LayoutFooter, _sfc_main$3 as LayoutHeader, _sfc_main$4 as LayoutPanel };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as useLayoutContainer, l as useLayoutDividers } from "./context-D-Hwh-Jf.js";
|
|
2
2
|
import { t as formatSize } from "./size-BfginNaZ.js";
|
|
3
|
-
import { i as regionPaddingStyle } from "./LayoutPanel-
|
|
3
|
+
import { i as regionPaddingStyle } from "./LayoutPanel-DPueklAW.js";
|
|
4
4
|
import { computed, createElementBlock, createElementVNode, defineComponent, mergeProps, normalizeStyle, openBlock, renderSlot, unref, useAttrs, useTemplateRef } from "vue";
|
|
5
5
|
import "../styles/layout.css";
|
|
6
6
|
//#region src/Layout/LayoutFooter.vue
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as hasSlotContent } from "./slotContent-CNWOrGOr.js";
|
|
2
|
-
import { a as resizablePropsOf, d as regionOfProps, o as resizeHandleBeside } from "./resizableChannel-DpbFJbto.js";
|
|
3
2
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
3
|
+
import { a as resizablePropsOf, d as regionOfProps, o as resizeHandleBeside } from "./resizableChannel-6oZZNYYM.js";
|
|
4
4
|
import { a as layoutSlotsKey, c as useLayoutContainer, i as layoutDividerKey, l as useLayoutDividers, n as layoutAreaKey, s as useLayoutArea, u as useLayoutSlots } from "./context-D-Hwh-Jf.js";
|
|
5
5
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
6
6
|
import { a as spacingVariable, o as supportsInternalContentWidth, t as formatSize } from "./size-BfginNaZ.js";
|
package/dist/Lightbox/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, t as useLightbox } from "../Lightbox-
|
|
1
|
+
import { n as _sfc_main, t as useLightbox } from "../Lightbox-CYFqIuYF.js";
|
|
2
2
|
export { _sfc_main as Lightbox, useLightbox };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as resetLayerScopedContext } from "./scopedProvide-C-Df7c15.js";
|
|
2
2
|
import { t as _sfc_main$2 } from "./Icon-Dk0jccgU.js";
|
|
3
|
-
import { t as useFocusTrap } from "./useFocusTrap-Bj9GskLh.js";
|
|
4
|
-
import { t as _sfc_main$3 } from "./IconButton-4BXILpv-.js";
|
|
5
3
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
4
|
+
import { t as useFocusTrap } from "./useFocusTrap-Bj9GskLh.js";
|
|
5
|
+
import { t as _sfc_main$3 } from "./IconButton-ddP2kBOE.js";
|
|
6
6
|
import { t as useScrollLock } from "./scrollLock-CoVg9lLU.js";
|
|
7
7
|
import { n as restoreLayerFocus, r as trackLayerFocus, t as isLayerFocusStranded } from "./layerFocusReturn-uixUCSc8.js";
|
|
8
8
|
import { n as useTruncation } from "./useTruncation-D_T-ezdp.js";
|
package/dist/Link/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { _ as LinkWeight, f as LinkColor, g as LinkType, h as LinkSize, m as LinkRoot, p as LinkProps } from "../index-Dc52pmSr.js";
|
|
2
|
-
import { Ia as _default } from "../index-
|
|
2
|
+
import { Ia as _default } from "../index-DxFU2kv3.js";
|
|
3
3
|
export { _default as Link, type LinkColor, type LinkProps, type LinkRoot, type LinkSize, type LinkType, type LinkWeight };
|
package/dist/Link/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Link-
|
|
1
|
+
import { t as _sfc_main } from "../Link-Bte02xvC.js";
|
|
2
2
|
export { _sfc_main as Link };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { t as usePressFeedback } from "./usePressFeedback-
|
|
1
|
+
import { t as usePressFeedback } from "./usePressFeedback-BEY9kk8T.js";
|
|
2
2
|
import { n as readLayerScoped } from "./scopedProvide-C-Df7c15.js";
|
|
3
3
|
import { t as _sfc_main$1 } from "./Icon-Dk0jccgU.js";
|
|
4
4
|
import { n as isSafeUrl } from "./safeUrl-CsvfcZ9m.js";
|
|
5
5
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
6
6
|
import { t as _sfc_main$2 } from "./VisuallyHidden-cpmsV-0M.js";
|
|
7
7
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
8
|
-
import { t as _sfc_main$3 } from "./Tooltip-
|
|
8
|
+
import { t as _sfc_main$3 } from "./Tooltip-DPiEYfao.js";
|
|
9
9
|
import { t as TextClampContext } from "./textClampContext-o3-nLErq.js";
|
|
10
10
|
import { t as navMessages } from "./nav-DpKQUHqR.js";
|
|
11
11
|
import { computed, createBlock, createCommentVNode, createElementVNode, createTextVNode, defineComponent, mergeProps, normalizeClass, normalizeStyle, openBlock, renderSlot, resolveDynamicComponent, toDisplayString, toRaw, useAttrs, withCtx } from "vue";
|
package/dist/List/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { _ as ListItemProps, a as ItemLayout, b as ListProps, c as ItemSwipeAction, d as ItemSwipeSide, f as ItemTarget, g as ListEdgeCompensation, h as ListEdge, i as ItemLabel, l as ItemSwipeActions, m as ListDensity, n as ItemDensity, o as ItemProps, p as ItemText, r as ItemElement, s as ItemSlots, t as ItemAlign, u as ItemSwipeBehavior, v as ListItemSlots, x as ListSlots, y as ListMarkerStyle } from "../types-
|
|
2
|
-
import { a as useListContext, i as useItemDescriptionId, n as _default$1, r as _default, t as _default$2 } from "../index-
|
|
1
|
+
import { _ as ListItemProps, a as ItemLayout, b as ListProps, c as ItemSwipeAction, d as ItemSwipeSide, f as ItemTarget, g as ListEdgeCompensation, h as ListEdge, i as ItemLabel, l as ItemSwipeActions, m as ListDensity, n as ItemDensity, o as ItemProps, p as ItemText, r as ItemElement, s as ItemSlots, t as ItemAlign, u as ItemSwipeBehavior, v as ListItemSlots, x as ListSlots, y as ListMarkerStyle } from "../types-D9mwL8sz.js";
|
|
2
|
+
import { a as useListContext, i as useItemDescriptionId, n as _default$1, r as _default, t as _default$2 } from "../index-DXGoFpRN.js";
|
|
3
3
|
export { _default as Item, type ItemAlign, type ItemDensity, type ItemElement, type ItemLabel, type ItemLayout, type ItemProps, type ItemSlots, type ItemSwipeAction, type ItemSwipeActions, type ItemSwipeBehavior, type ItemSwipeSide, type ItemTarget, type ItemText, _default$1 as List, type ListDensity, type ListEdge, type ListEdgeCompensation, _default$2 as ListItem, type ListItemProps, type ListItemSlots, type ListMarkerStyle, type ListProps, type ListSlots, useItemDescriptionId, useListContext };
|
package/dist/List/index.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { c as useItemDescriptionId, l as useListContext } from "../itemSlots-BxUu7hje.js";
|
|
2
|
+
import { t as _sfc_main } from "../Item-DrV3f4fe.js";
|
|
3
|
+
import { n as _sfc_main$1, t as _sfc_main$2 } from "../ListItem-DyJ5nTUB.js";
|
|
3
4
|
export { _sfc_main as Item, _sfc_main$1 as List, _sfc_main$2 as ListItem, useItemDescriptionId, useListContext };
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { o as sharedWeakMap } from "./sharedRealm-BYHklCVM.js";
|
|
2
|
-
import { n as useTouchHitArea } from "./useTouchHitArea-
|
|
2
|
+
import { n as useTouchHitArea } from "./useTouchHitArea-DvKV21NY.js";
|
|
3
3
|
import { n as useDevWarning } from "./useDevWarning-B2fsk2B-.js";
|
|
4
|
-
import {
|
|
5
|
-
import { a as
|
|
6
|
-
import {
|
|
4
|
+
import { l as useListContext, n as itemTrailingKey, o as itemListRowKey, s as listContextKey, t as itemLabelNeededKey } from "./itemSlots-BxUu7hje.js";
|
|
5
|
+
import { a as markLeaving, i as itemKeyOf, n as isLeaving, o as markTravelling, r as itemKeyAttrs, t as REORDER_ENGINE } from "./reorderTypes-CvmAkO-R.js";
|
|
6
|
+
import { r as holdLayoutExit, s as playLayoutChange, t as reportLayoutChange } from "./reportChange-DuOzs-8h.js";
|
|
7
|
+
import { t as _sfc_main$2 } from "./Item-DrV3f4fe.js";
|
|
8
|
+
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, defineComponent, h, mergeProps, onBeforeUnmount, onBeforeUpdate, onMounted, onUpdated, openBlock, provide, renderSlot, resolveDynamicComponent, toDisplayString, unref, useAttrs, useId, useSlots, useTemplateRef, withCtx } from "vue";
|
|
7
9
|
import "../styles/list.css";
|
|
8
10
|
//#region src/List/listPresentation.ts
|
|
9
11
|
/**
|
|
@@ -63,51 +65,6 @@ function showAsItLeft(row) {
|
|
|
63
65
|
keptStyles.delete(row);
|
|
64
66
|
}
|
|
65
67
|
//#endregion
|
|
66
|
-
//#region src/List/listRowMarks.ts
|
|
67
|
-
/**
|
|
68
|
-
* @file listRowMarks.ts
|
|
69
|
-
* @input List 的行元素
|
|
70
|
-
* @output 行身上的三个内部标记:行的 `itemKey`(`itemKeyAttrs`、`itemKeyOf`)、
|
|
71
|
-
* 放回页面播退场的行(`markLeaving`、`isLeaving`)、从反向移动的行上方滑过的行(`markTravelling`)
|
|
72
|
-
* @position List 内部:只有这个文件写这些属性名。ListItem 写行的键,listLayoutUpdates 读写其余两个,
|
|
73
|
-
* list.css 按 `data-astryx-travelling` 把行抬高。不从包入口导出。
|
|
74
|
-
*/
|
|
75
|
-
const ITEM_KEY = "data-astryx-item-key";
|
|
76
|
-
const LEAVING = "data-astryx-leaving";
|
|
77
|
-
const TRAVELLING = "data-astryx-travelling";
|
|
78
|
-
/** 绑在 List 的行上:有 `itemKey` 时把它写成行的标记。 */
|
|
79
|
-
function itemKeyAttrs(itemKey) {
|
|
80
|
-
return itemKey == null ? {} : { [ITEM_KEY]: String(itemKey) };
|
|
81
|
-
}
|
|
82
|
-
/** 行带着的键;没有键时为 null。 */
|
|
83
|
-
function itemKeyOf(row) {
|
|
84
|
-
return row.getAttribute(ITEM_KEY);
|
|
85
|
-
}
|
|
86
|
-
/** 标记一行已经离开、只是放回页面播退场:之后的更新不再把它算作行。 */
|
|
87
|
-
function markLeaving(row) {
|
|
88
|
-
row.setAttribute(LEAVING, "");
|
|
89
|
-
}
|
|
90
|
-
function isLeaving(row) {
|
|
91
|
-
return row.hasAttribute(LEAVING);
|
|
92
|
-
}
|
|
93
|
-
/** 每行最近一次的滑过标记:早先那次滑动结束时不会摘掉后来的标记。 */
|
|
94
|
-
const travels = /* @__PURE__ */ new WeakMap();
|
|
95
|
-
/**
|
|
96
|
-
* 把 `row` 标成正在从反向移动的行上方滑过,返回滑动结束时摘掉标记的调用。
|
|
97
|
-
* 之后又标了一次时,这个调用不再摘。
|
|
98
|
-
*/
|
|
99
|
-
function markTravelling(row) {
|
|
100
|
-
const mark = {};
|
|
101
|
-
travels.set(row, mark);
|
|
102
|
-
row.setAttribute(TRAVELLING, "");
|
|
103
|
-
return () => {
|
|
104
|
-
if (travels.get(row) === mark) {
|
|
105
|
-
travels.delete(row);
|
|
106
|
-
row.removeAttribute(TRAVELLING);
|
|
107
|
-
}
|
|
108
|
-
};
|
|
109
|
-
}
|
|
110
|
-
//#endregion
|
|
111
68
|
//#region src/List/listRows.ts
|
|
112
69
|
/**
|
|
113
70
|
* @file listRows.ts
|
|
@@ -303,13 +260,13 @@ function play(list, handle, measured) {
|
|
|
303
260
|
* 把列表行的变化报告给 `animatedLayout`:列表每次重新渲染、DOM 变化之前量,变化之后播。
|
|
304
261
|
* 没有句柄时什么都不做。
|
|
305
262
|
*/
|
|
306
|
-
function useListLayoutUpdates(list, animatedLayout) {
|
|
263
|
+
function useListLayoutUpdates(list, animatedLayout, skips = () => false) {
|
|
307
264
|
let measured = null;
|
|
308
265
|
onBeforeUpdate(() => {
|
|
309
266
|
measured = null;
|
|
310
267
|
const element = list();
|
|
311
268
|
const handle = animatedLayout();
|
|
312
|
-
if (element == null || handle == null) return;
|
|
269
|
+
if (element == null || handle == null || skips()) return;
|
|
313
270
|
measured = measure(element, handle);
|
|
314
271
|
setReportedRows(element, measured.reported);
|
|
315
272
|
});
|
|
@@ -324,6 +281,26 @@ function useListLayoutUpdates(list, animatedLayout) {
|
|
|
324
281
|
});
|
|
325
282
|
}
|
|
326
283
|
//#endregion
|
|
284
|
+
//#region src/List/reorder/useReorderSession.ts
|
|
285
|
+
function useReorderSession(reorderable, getList, hintId) {
|
|
286
|
+
const internals = computed(() => reorderable());
|
|
287
|
+
const engine = computed(() => internals.value?.[REORDER_ENGINE]);
|
|
288
|
+
const session = computed(() => engine.value?.createSession(getList, hintId) ?? null);
|
|
289
|
+
return computed(() => {
|
|
290
|
+
const options = internals.value?.options;
|
|
291
|
+
return session.value == null || options == null ? null : {
|
|
292
|
+
session: session.value,
|
|
293
|
+
options
|
|
294
|
+
};
|
|
295
|
+
});
|
|
296
|
+
}
|
|
297
|
+
/** Runs the session's commit after the List mounts and after each of its updates. */
|
|
298
|
+
function useReorderCommit(reorder) {
|
|
299
|
+
const commit = () => reorder.value?.session.commit();
|
|
300
|
+
onMounted(commit);
|
|
301
|
+
onUpdated(commit);
|
|
302
|
+
}
|
|
303
|
+
//#endregion
|
|
327
304
|
//#region src/List/List.vue
|
|
328
305
|
const _hoisted_1$1 = {
|
|
329
306
|
key: 0,
|
|
@@ -335,6 +312,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
335
312
|
__name: "List",
|
|
336
313
|
props: {
|
|
337
314
|
animatedLayout: {},
|
|
315
|
+
reorderable: {},
|
|
338
316
|
density: { default: "balanced" },
|
|
339
317
|
hasDividers: {
|
|
340
318
|
type: Boolean,
|
|
@@ -357,7 +335,9 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
357
335
|
const attrs = useAttrs();
|
|
358
336
|
const slots = useSlots();
|
|
359
337
|
const listElement = useTemplateRef("list");
|
|
360
|
-
|
|
338
|
+
const reorder = useReorderSession(() => props.reorderable, () => listElement.value, `astryx-list-reorder-hint-${useId()}`);
|
|
339
|
+
useListLayoutUpdates(() => listElement.value, () => props.animatedLayout, () => reorder.value?.session.ownsCommit() === true);
|
|
340
|
+
useReorderCommit(reorder);
|
|
361
341
|
const headerId = `astryx-list-header-${useId()}`;
|
|
362
342
|
const hasHeader = computed(() => slots.header != null || props.header != null);
|
|
363
343
|
const tag = computed(() => props.listStyle === "decimal" ? "ol" : "ul");
|
|
@@ -371,7 +351,8 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
371
351
|
edge,
|
|
372
352
|
edgeCompensation: computed(() => props.edgeCompensation),
|
|
373
353
|
hasDividers: computed(() => props.hasDividers),
|
|
374
|
-
listStyle: computed(() => props.listStyle)
|
|
354
|
+
listStyle: computed(() => props.listStyle),
|
|
355
|
+
reorder
|
|
375
356
|
});
|
|
376
357
|
const listStyleValue = computed(() => [attrs.style, counterStart.value == null ? void 0 : { counterReset: counterStart.value }]);
|
|
377
358
|
const listAttrs = computed(() => {
|
|
@@ -389,16 +370,23 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
389
370
|
});
|
|
390
371
|
__expose({ element: computed(() => listElement.value) });
|
|
391
372
|
return (_ctx, _cache) => {
|
|
392
|
-
return hasHeader.value ? (openBlock(), createElementBlock("div", _hoisted_1$1, [
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
373
|
+
return openBlock(), createElementBlock(Fragment, null, [hasHeader.value ? (openBlock(), createElementBlock("div", _hoisted_1$1, [
|
|
374
|
+
createElementVNode("div", {
|
|
375
|
+
id: headerId,
|
|
376
|
+
class: "astryx-list-header"
|
|
377
|
+
}, [renderSlot(_ctx.$slots, "header", {}, () => [createTextVNode(toDisplayString(__props.header), 1)])]),
|
|
378
|
+
(openBlock(), createBlock(resolveDynamicComponent(tag.value), mergeProps({ ref: "list" }, listAttrs.value, {
|
|
379
|
+
class: ["astryx-list", unref(attrs).class],
|
|
380
|
+
style: listStyleValue.value
|
|
381
|
+
}), {
|
|
382
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
383
|
+
_: 3
|
|
384
|
+
}, 16, ["class", "style"])),
|
|
385
|
+
unref(reorder) ? (openBlock(), createBlock(resolveDynamicComponent(unref(reorder).session.Host), {
|
|
386
|
+
key: 0,
|
|
387
|
+
reorder: unref(reorder)
|
|
388
|
+
}, null, 8, ["reorder"])) : createCommentVNode("v-if", true)
|
|
389
|
+
])) : (openBlock(), createBlock(resolveDynamicComponent(tag.value), mergeProps({
|
|
402
390
|
key: 1,
|
|
403
391
|
ref: "list"
|
|
404
392
|
}, listAttrs.value, {
|
|
@@ -407,7 +395,10 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
407
395
|
}), {
|
|
408
396
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
409
397
|
_: 3
|
|
410
|
-
}, 16, ["class", "style"]))
|
|
398
|
+
}, 16, ["class", "style"])), !hasHeader.value && unref(reorder) ? (openBlock(), createBlock(resolveDynamicComponent(unref(reorder).session.Host), {
|
|
399
|
+
key: 2,
|
|
400
|
+
reorder: unref(reorder)
|
|
401
|
+
}, null, 8, ["reorder"])) : createCommentVNode("v-if", true)], 64);
|
|
411
402
|
};
|
|
412
403
|
}
|
|
413
404
|
});
|
|
@@ -455,6 +446,36 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
455
446
|
});
|
|
456
447
|
provide(itemListRowKey, { isNumbered: computed(() => marker.value === "decimal") });
|
|
457
448
|
const isBullet = computed(() => marker.value === "disc" || marker.value === "circle");
|
|
449
|
+
const attrs = useAttrs();
|
|
450
|
+
const slots = useSlots();
|
|
451
|
+
const reorder = computed(() => list?.reorder.value ?? null);
|
|
452
|
+
const hasHandle = computed(() => {
|
|
453
|
+
const key = props.itemKey;
|
|
454
|
+
return reorder.value != null && key != null && (reorder.value.options.isReorderable?.(key) ?? true);
|
|
455
|
+
});
|
|
456
|
+
const isHandleInRow = computed(() => hasHandle.value && slots.endContent == null);
|
|
457
|
+
function renderHandle() {
|
|
458
|
+
const session = reorder.value?.session;
|
|
459
|
+
if (session == null || !hasHandle.value || props.itemKey == null) return null;
|
|
460
|
+
return h(session.Handle, {
|
|
461
|
+
label: props.label == null ? void 0 : String(props.label),
|
|
462
|
+
itemKey: props.itemKey,
|
|
463
|
+
isDisabled: props.isDisabled,
|
|
464
|
+
rowLabel: attrs["aria-label"],
|
|
465
|
+
rowLabelledBy: attrs["aria-labelledby"],
|
|
466
|
+
rowAlign: isHandleInRow.value ? props.align ?? "center" : void 0
|
|
467
|
+
});
|
|
468
|
+
}
|
|
469
|
+
provide(itemLabelNeededKey, hasHandle);
|
|
470
|
+
provide(itemTrailingKey, computed(() => {
|
|
471
|
+
const session = reorder.value?.session;
|
|
472
|
+
if (session == null) return null;
|
|
473
|
+
if (hasHandle.value) return isHandleInRow.value ? renderHandle : null;
|
|
474
|
+
return () => h(session.RowName, {
|
|
475
|
+
row: () => item.value?.element ?? null,
|
|
476
|
+
label: props.label == null ? "" : String(props.label)
|
|
477
|
+
});
|
|
478
|
+
}));
|
|
458
479
|
return (_ctx, _cache) => {
|
|
459
480
|
return openBlock(), createBlock(_sfc_main$2, mergeProps({
|
|
460
481
|
ref_key: "item",
|
|
@@ -504,7 +525,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
504
525
|
} : void 0,
|
|
505
526
|
_ctx.$slots.endContent ? {
|
|
506
527
|
name: "endContent",
|
|
507
|
-
fn: withCtx(() => [renderSlot(_ctx.$slots, "endContent")]),
|
|
528
|
+
fn: withCtx(() => [renderSlot(_ctx.$slots, "endContent"), hasHandle.value ? (openBlock(), createBlock(resolveDynamicComponent(renderHandle), { key: 0 })) : createCommentVNode("v-if", true)]),
|
|
508
529
|
key: "4"
|
|
509
530
|
} : void 0
|
|
510
531
|
]), 1040, [
|
package/dist/Markdown/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Aa as MarkdownTransformContext, Ca as MarkdownListProps, Da as MarkdownInlinePlugin, Ea as MarkdownSource, Fa as isMarkdownExtensionNode, Ma as applyMarkdownPlugins, Na as defineMarkdownPlugin, Oa as MarkdownPlugin, Pa as firstStrongDirection, Sa as MarkdownLinkProps, Ta as MarkdownSlots, _a as MarkdownDisplay, ba as MarkdownImageProps, ca as ParseMarkdownOptions, da as MarkdownAlign, fa as MarkdownAutolink, ga as MarkdownDensity, ha as MarkdownComponents, ja as applyInlinePlugins, ka as MarkdownPluginRenderContext, la as parseMarkdown, ma as MarkdownCodeProps, oa as slugify, pa as MarkdownCitationStyle, sa as uniqueSlug, ua as _default, va as MarkdownHeadingLevel, wa as MarkdownProps, xa as MarkdownInlineCodeProps, ya as MarkdownHeadingProps } from "../index-
|
|
1
|
+
import { Aa as MarkdownTransformContext, Ca as MarkdownListProps, Da as MarkdownInlinePlugin, Ea as MarkdownSource, Fa as isMarkdownExtensionNode, Ma as applyMarkdownPlugins, Na as defineMarkdownPlugin, Oa as MarkdownPlugin, Pa as firstStrongDirection, Sa as MarkdownLinkProps, Ta as MarkdownSlots, _a as MarkdownDisplay, ba as MarkdownImageProps, ca as ParseMarkdownOptions, da as MarkdownAlign, fa as MarkdownAutolink, ga as MarkdownDensity, ha as MarkdownComponents, ja as applyInlinePlugins, ka as MarkdownPluginRenderContext, la as parseMarkdown, ma as MarkdownCodeProps, oa as slugify, pa as MarkdownCitationStyle, sa as uniqueSlug, ua as _default, va as MarkdownHeadingLevel, wa as MarkdownProps, xa as MarkdownInlineCodeProps, ya as MarkdownHeadingProps } from "../index-DxFU2kv3.js";
|
|
2
2
|
import { K as MarkdownAstRoot, Q as visitMarkdownNodes, U as MarkdownAstPhrasingContent } from "../protocol-DwUmpC5G.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";
|
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-Dbu2LRTf.js";
|
|
2
|
-
import { a as visitMarkdownNodes, i as defineMarkdownPlugin, n as applyInlinePlugins, o as firstStrongDirection, r as applyMarkdownPlugins, t as _sfc_main } from "../Markdown-
|
|
2
|
+
import { a as visitMarkdownNodes, i as defineMarkdownPlugin, n as applyInlinePlugins, o as firstStrongDirection, r as applyMarkdownPlugins, t as _sfc_main } from "../Markdown-DLOM7sua.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, firstStrongDirection, isMarkdownExtensionNode, parseInline, parseInlineAst, parseMarkdown, parseMarkdownAst, parseMarkdownIncremental, slugify, uniqueSlug, visitMarkdownNodes };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { t as _sfc_main$1 } from "./VisuallyHidden-cpmsV-0M.js";
|
|
2
2
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
3
3
|
import { t as unicodeRegExp } from "./unicodeRegExp-B7yQnpFC.js";
|
|
4
|
-
import { t as _sfc_main$2 } from "./Heading-
|
|
4
|
+
import { t as _sfc_main$2 } from "./Heading-SdObK_xM.js";
|
|
5
5
|
import { t as _sfc_main$3 } from "./Blockquote-DRoKdcxZ.js";
|
|
6
6
|
import { t as _sfc_main$4 } from "./CheckboxIndicator-fH4d-JE1.js";
|
|
7
7
|
import { t as useIndicator } from "./useIndicator-PFDBNOvX.js";
|
|
8
8
|
import { t as citationMessages } from "./citation-h6fyz-JH.js";
|
|
9
|
-
import { f as _sfc_main$5, s as parseFenceLanguage, t as _sfc_main$6 } from "./CodeBlock-
|
|
9
|
+
import { f as _sfc_main$5, s as parseFenceLanguage, t as _sfc_main$6 } from "./CodeBlock-DYXx_9Kj.js";
|
|
10
10
|
import { b as listedLanguage, x as sameCodeLanguageList } from "./grammar-Dz71GleT.js";
|
|
11
11
|
import { t as markdownMessages } from "./markdown-JcCeKquw.js";
|
|
12
|
-
import { t as _sfc_main$7 } from "./Link-
|
|
12
|
+
import { t as _sfc_main$7 } from "./Link-Bte02xvC.js";
|
|
13
13
|
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-Dbu2LRTf.js";
|
|
14
14
|
import { l as isMarkdownPluginEntry, t as collectProtocolRenderers, u as isMarkdownSourceLinesPlugin } from "./protocol-DHxY0NI8.js";
|
|
15
15
|
import { n as uniqueSlug, t as slugify } from "./slug-D6ln5PTq.js";
|
package/dist/MobileNav/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as _sfc_main, t as _sfc_main$1 } from "../MobileNavToggle-
|
|
1
|
+
import { n as _sfc_main, t as _sfc_main$1 } from "../MobileNavToggle-CiY__Fy9.js";
|
|
2
2
|
import { n as mobileNavKey } from "../context-D8MAZio1.js";
|
|
3
3
|
export { _sfc_main as MobileNav, _sfc_main$1 as MobileNavToggle, mobileNavKey };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as resetLayerScopedContext } from "./scopedProvide-C-Df7c15.js";
|
|
2
|
-
import { i as isTopLayer, n as useLayerDepth, o as pushLayer, t as provideLayerDepth } from "./layerDepth-
|
|
3
|
-
import { t as useFocusTrap } from "./useFocusTrap-Bj9GskLh.js";
|
|
2
|
+
import { i as isTopLayer, n as useLayerDepth, o as pushLayer, t as provideLayerDepth } from "./layerDepth-C4altnV8.js";
|
|
4
3
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
4
|
+
import { t as useFocusTrap } from "./useFocusTrap-Bj9GskLh.js";
|
|
5
5
|
import { t as useRestoreFocus } from "./useRestoreFocus-m3rsqE4d.js";
|
|
6
6
|
import { t as useScrollLock } from "./scrollLock-CoVg9lLU.js";
|
|
7
7
|
import { t as holdEntranceInput } from "./holdEntranceInput-CROBPhuO.js";
|
package/dist/MoreMenu/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $i as MoreMenuItemVariant, Ji as MoreMenuDivider, Qi as MoreMenuItem, Xi as MoreMenuIcon, Yi as MoreMenuEmits, Zi as MoreMenuInitialFocus, aa as MoreMenuSlots, ea as MoreMenuOption, ia as MoreMenuSection, na as MoreMenuProps, qi as _default, ra as MoreMenuResolvedPresentation, ta as MoreMenuPresentation } from "../index-
|
|
1
|
+
import { $i as MoreMenuItemVariant, Ji as MoreMenuDivider, Qi as MoreMenuItem, Xi as MoreMenuIcon, Yi as MoreMenuEmits, Zi as MoreMenuInitialFocus, aa as MoreMenuSlots, ea as MoreMenuOption, ia as MoreMenuSection, na as MoreMenuProps, qi as _default, ra as MoreMenuResolvedPresentation, ta as MoreMenuPresentation } from "../index-DxFU2kv3.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-Dfw9RqEG.js";
|
|
2
2
|
export { _sfc_main as MoreMenu };
|
|
@@ -2,20 +2,20 @@ import { t as _sfc_main$5 } from "./Icon-Dk0jccgU.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-zwZQglr2.js";
|
|
5
|
-
import { n as usePositionedLayer } from "./useDismiss-
|
|
6
|
-
import { t as _sfc_main$6 } from "./LayerContentBoundary-
|
|
7
|
-
import { n as focusElement, r as getFocusables } from "./focus-x7mxEqjR.js";
|
|
8
|
-
import { t as _sfc_main$7 } from "./IconButton-4BXILpv-.js";
|
|
5
|
+
import { n as usePositionedLayer } from "./useDismiss-yu_sIa7a.js";
|
|
6
|
+
import { t as _sfc_main$6 } from "./LayerContentBoundary-iYtfCpG9.js";
|
|
9
7
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
10
|
-
import { n as
|
|
8
|
+
import { n as focusElement, r as getFocusables } from "./focus-x7mxEqjR.js";
|
|
9
|
+
import { t as _sfc_main$7 } from "./IconButton-ddP2kBOE.js";
|
|
10
|
+
import { n as useMenuPress } from "./useMenuPress-DrrOBqjM.js";
|
|
11
11
|
import { t as useOverflow } from "./useOverflow-GU0pxGaU.js";
|
|
12
|
-
import { t as _sfc_main$8 } from "./Heading-
|
|
12
|
+
import { t as _sfc_main$8 } from "./Heading-SdObK_xM.js";
|
|
13
13
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
14
14
|
import { n as isModifiedClick, t as activateMenuItem } from "./menuActivation-BQqnzKAX.js";
|
|
15
15
|
import { t as useHeldPresentation } from "./useHeldPresentation-CaIKTwUh.js";
|
|
16
16
|
import { t as useMenuEntranceHold } from "./useMenuEntranceHold-DMHMzaRW.js";
|
|
17
17
|
import { t as _sfc_main$9 } from "./Divider-mOZ6vIQw.js";
|
|
18
|
-
import { n as _sfc_main$11, t as _sfc_main$10 } from "./ListItem-
|
|
18
|
+
import { n as _sfc_main$11, t as _sfc_main$10 } from "./ListItem-DyJ5nTUB.js";
|
|
19
19
|
import { t as moreMenuMessages } from "./more-menu-B_dod4C-.js";
|
|
20
20
|
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";
|
|
21
21
|
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-CTASAiq2.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-670gfK2P.js";
|
|
2
2
|
export { _sfc_main as MultiSelector, SELECT_ALL_VALUE, flattenOptions };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as _sfc_main$2 } from "./BottomSheet-
|
|
1
|
+
import { n as _sfc_main$2 } from "./BottomSheet-CFdGLVIF.js";
|
|
2
2
|
import { t as _sfc_main$3 } from "./Icon-Dk0jccgU.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";
|
|
@@ -7,26 +7,26 @@ import { a as trackInteractionModality, r as isKeyboardModality } from "./intera
|
|
|
7
7
|
import { t as _sfc_main$4 } from "./ButtonTooltip-ZpQP-aQg.js";
|
|
8
8
|
import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
|
|
9
9
|
import { n as useDevWarning } from "./useDevWarning-B2fsk2B-.js";
|
|
10
|
+
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
10
11
|
import { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
11
12
|
import { t as useCombobox } from "./useCombobox-BbDP75hw.js";
|
|
12
13
|
import { t as useDisclosureHandle } from "./useDisclosureHandle-Df3HhAfC.js";
|
|
13
14
|
import { t as useFieldControlState } from "./useFieldControlState-voICDrys.js";
|
|
14
15
|
import { n as focusElement } from "./focus-x7mxEqjR.js";
|
|
15
|
-
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
16
16
|
import { t as useOverflow } from "./useOverflow-GU0pxGaU.js";
|
|
17
17
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
18
18
|
import { t as consumeWhileDisabled } from "./disabledInteraction-Bqoyhoss.js";
|
|
19
19
|
import { t as useBusyAnnouncement } from "./busyAnnouncement-CExubuYm.js";
|
|
20
20
|
import { t as _sfc_main$5 } from "./Spinner-D1adu3uH.js";
|
|
21
21
|
import { t as useIndicator } from "./useIndicator-PFDBNOvX.js";
|
|
22
|
-
import { t as _sfc_main$6 } from "./Field-
|
|
22
|
+
import { t as _sfc_main$6 } from "./Field-DgtZ9Czv.js";
|
|
23
23
|
import { t as useFieldPartStyling } from "./fieldParts-CuE5V12i.js";
|
|
24
24
|
import { n as fieldStatusPlacement, r as _sfc_main$7, t as normalizeTriggerVariant } from "./triggerVariant-DPuBmzpp.js";
|
|
25
25
|
import { t as multiSelectorMessages } from "./multi-selector-CpVI6bt5.js";
|
|
26
|
-
import { t as _sfc_main$8 } from "./InputClearButton-
|
|
26
|
+
import { t as _sfc_main$8 } from "./InputClearButton-pGsDJl26.js";
|
|
27
27
|
import { i as bindListboxEscape, n as useKeyboardHighlight, r as useSelectorSheet, t as assertOptionsArray } from "./assertOptions-Byu4Yqfg.js";
|
|
28
|
-
import { t as _sfc_main$9 } from "./Token-
|
|
29
|
-
import { n as scrollOptionIntoView, r as useAnchoredListbox, t as createStillPointerGate } from "./stillPointerGate-
|
|
28
|
+
import { t as _sfc_main$9 } from "./Token-Di7w9Cvr.js";
|
|
29
|
+
import { n as scrollOptionIntoView, r as useAnchoredListbox, t as createStillPointerGate } from "./stillPointerGate-DXFzBeMy.js";
|
|
30
30
|
import { i as isOptionAction, n as searchResultMessage, r as OptionAction, t as useOptionActionGrid } from "./useOptionActionGrid-C7ibYM_A.js";
|
|
31
31
|
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, isRef, 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";
|
|
32
32
|
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-yu_sIa7a.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";
|
|
@@ -31,7 +31,11 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
31
31
|
},
|
|
32
32
|
showDelay: { default: 150 },
|
|
33
33
|
hideDelay: { default: 200 },
|
|
34
|
-
panelClass: {}
|
|
34
|
+
panelClass: {},
|
|
35
|
+
overlap: {
|
|
36
|
+
type: Boolean,
|
|
37
|
+
default: false
|
|
38
|
+
}
|
|
35
39
|
}, {
|
|
36
40
|
"isOpen": {
|
|
37
41
|
type: Boolean,
|
|
@@ -55,17 +59,20 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
55
59
|
const placement = computed(() => props.placement);
|
|
56
60
|
const alignment = computed(() => props.alignment);
|
|
57
61
|
const dismissEnabled = computed(() => isOpen.value);
|
|
62
|
+
const overlap = computed(() => props.overlap);
|
|
58
63
|
const { position } = usePositionedLayer({
|
|
59
64
|
alignment,
|
|
60
65
|
anchor: anchorRef,
|
|
61
66
|
gap: 4,
|
|
62
67
|
isOpen,
|
|
63
68
|
layer: surfaceRef,
|
|
69
|
+
overlap,
|
|
64
70
|
placement
|
|
65
71
|
});
|
|
66
72
|
const panelStyle = computed(() => ({
|
|
67
73
|
"left": `${position.value.left}px`,
|
|
68
74
|
"top": `${position.value.top}px`,
|
|
75
|
+
"minWidth": position.value.minWidth == null ? void 0 : `${position.value.minWidth}px`,
|
|
69
76
|
"--astryx-nav-panel-top": `${position.value.top}px`
|
|
70
77
|
}));
|
|
71
78
|
function clearTimers() {
|
|
@@ -181,7 +188,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
181
188
|
id: panelId,
|
|
182
189
|
ref_key: "surfaceRef",
|
|
183
190
|
ref: surfaceRef,
|
|
184
|
-
class: normalizeClass(["astryx-nav-disclosure__panel astryx-layer", __props.panelClass]),
|
|
191
|
+
class: normalizeClass(["astryx-nav-disclosure__panel astryx-layer", [__props.panelClass, { "astryx-nav-disclosure__panel--overlap": overlap.value }]]),
|
|
185
192
|
style: normalizeStyle(panelStyle.value),
|
|
186
193
|
"data-placement": unref(position).placement,
|
|
187
194
|
onPointerenter: onPointerEnter,
|