@astryx-vue/core 0.36.2 → 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-Dz8T0KIa.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-CYsGu9GP.js → BottomSheet-CFdGLVIF.js} +13 -86
- package/dist/{BottomSheet-CRHPDrmS.js → BottomSheet-dgHDqtQg.js} +1 -1
- package/dist/Breadcrumbs/index.d.ts +2 -2
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/{Breadcrumbs-nO9YHygD.js → Breadcrumbs-CwEfccnT.js} +1 -1
- package/dist/Button/index.d.ts +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/Card/index.d.ts +1 -1
- 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.d.ts +1 -1
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-DfVihLCR.js → Collapsible-48Q1GfRw.js} +3 -3
- package/dist/CommandPalette/index.d.ts +1 -1
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-D07roA0D.js → CommandPalette-Ct70AcIK.js} +5 -4
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-7OdAby6v.js → ComplexSelector-NnPRhI6t.js} +2 -2
- package/dist/ContextMenu/index.d.ts +2 -2
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-BIJyyObZ.js → ContextMenu-C7m059d4.js} +6 -6
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-BNKoPL3j.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-CGDlPnUb.js → DateRangeInput-BYl649eD.js} +4 -4
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-CRWUAh75.js → DateTimeInput-CBzae6EW.js} +6 -6
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Dialog/index.js +3 -3
- package/dist/{Dialog-CXa-tu02.js → Dialog-BP2KWnEi.js} +2 -1
- package/dist/{Dialog-BxijA4zr.js → Dialog-BUl1lqE6.js} +3 -80
- package/dist/{DialogHeader-D7f97ksG.js → DialogHeader-DKt_lREy.js} +2 -2
- package/dist/Divider/index.d.ts +1 -1
- package/dist/Drawer/index.d.ts +1 -1
- package/dist/Drawer/index.js +1 -1
- package/dist/Drawer-D63qUfxP.js +422 -0
- package/dist/DropdownMenu/index.d.ts +2 -2
- package/dist/DropdownMenu/index.js +2 -2
- package/dist/{DropdownMenu-Bklf6ekH.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.d.ts +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.d.ts +1 -1
- 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-BjFYfRqV.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.d.ts +1 -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/Overlay/index.d.ts +1 -1
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-DGcl38z9.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-DlCqmkYD.js → Popover-CIfmPr2b.js} +9 -9
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-BKhXYPRO.js → PowerSearch-lZ7C-9_i.js} +29 -29
- package/dist/{PressTracker-CPRIrG4f.js → PressTracker-Byalgid0.js} +3 -3
- package/dist/ProgressBar/index.d.ts +1 -1
- 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.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.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-CHq3XHwH.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/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.d.ts +1 -1
- 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-waEj3x_o.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-BXQCZIwP.js → TimeField-BxM1p1iV.js} +5 -5
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-C_ZssG1D.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-W6aKxXlF.js → Toast-CW2ML8tU.js} +18 -10
- 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.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-hmGkGVG7.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.d.ts +1 -1
- 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-BWzEt0gT.d.ts → index--kbwaSXW.d.ts} +2 -2
- package/dist/{index-CArP_6wv.d.ts → index-0RIgvtdm.d.ts} +1 -1
- package/dist/{index-CAJMHw-g.d.ts → index-1yvu_vpF.d.ts} +4 -4
- package/dist/{index-DvCLTiDV.d.ts → index-4_uuTfaY.d.ts} +1 -1
- package/dist/{index-BuubzuE8.d.ts → index-BDZCJ9ri.d.ts} +2 -2
- package/dist/{index-tXYy8MJ0.d.ts → index-BIcmTipH.d.ts} +1 -1
- package/dist/{index-maTGrWjF.d.ts → index-BenG-F5d.d.ts} +1 -1
- package/dist/{index-C1e8LNx2.d.ts → index-BjqoHLMq.d.ts} +1 -1
- package/dist/{index-BGUuyAMO.d.ts → index-BrY-v2wz.d.ts} +11 -11
- package/dist/{index-CJdOt5Cc.d.ts → index-BtqvPjAf.d.ts} +3 -3
- package/dist/{index-D05JGsT3.d.ts → index-C8wfe0Mr.d.ts} +1 -1
- package/dist/{index-gmY3A_Iw.d.ts → index-C93nwgTW.d.ts} +1 -1
- package/dist/{index-BIQZa2BD.d.ts → index-CAP19BZD.d.ts} +9 -0
- package/dist/{index-Xc3q9f84.d.ts → index-COgrQZIL.d.ts} +3 -3
- package/dist/{index-DjSQLT53.d.ts → index-COqeB2ug.d.ts} +1 -1
- package/dist/{index-BRr4ANpr.d.ts → index-CTASAiq2.d.ts} +8 -8
- package/dist/{index-Bgk1Rj2A.d.ts → index-CTjkJP4x.d.ts} +1 -1
- package/dist/{index-BQ3cm7mP.d.ts → index-CbA8rR_b.d.ts} +1 -1
- package/dist/{index-BWWirRm3.d.ts → index-DHUCHxn2.d.ts} +1 -1
- package/dist/{index-OP4ntESa.d.ts → index-DLPSlnXP.d.ts} +1 -1
- package/dist/{index-SWw-WMTO.d.ts → index-DPhQZXYw.d.ts} +3 -3
- package/dist/{index-D2B3ysZr.d.ts → index-DXGoFpRN.d.ts} +53 -3
- package/dist/{index-sUMua5pp.d.ts → index-Dgl2rXqH.d.ts} +27 -1
- package/dist/{index-C0smuLQ8.d.ts → index-DxFU2kv3.d.ts} +104 -92
- package/dist/{index-DA3DMFds.d.ts → index-J83fLEyo.d.ts} +4 -4
- package/dist/{index-DsWEyz1N.d.ts → index-JE1HrzdJ.d.ts} +1 -1
- package/dist/{index-DlH0BI35.d.ts → index-Pad9p8CU.d.ts} +1 -1
- package/dist/{index-C6Iv6sgd.d.ts → index-V6uruC4Z.d.ts} +2 -2
- package/dist/{index-BA8exXNP.d.ts → index-X4S7_dmq.d.ts} +1 -1
- package/dist/{index-BfFpUr1B.d.ts → index-ZKBj_1nu.d.ts} +1 -1
- package/dist/{index-Cm36VS1A.d.ts → index-mK1ICsVg.d.ts} +2 -2
- 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-ql9ApSTF.d.ts → index-yQc-te9a.d.ts} +2 -2
- package/dist/index.d.ts +39 -38
- 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-zUe1mYmM.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/{modalOutlet-Drr9a16b.js → modalOutlet-BwR9AAlm.js} +16 -1
- package/dist/position-CkZfFubr.js +79 -0
- 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/sheetTransition-BEm1GCv1.js +76 -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/drawer.css +136 -44
- 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/Drawer-C3t7NKiF.js +0 -137
- 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
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { t as SCROLLABLE_OVERFLOW } from "./scrollView-BGBtu5JP.js";
|
|
2
|
+
//#region src/utils/scrollingAncestor.ts
|
|
3
|
+
/**
|
|
4
|
+
* @file scrollingAncestor.ts
|
|
5
|
+
* @input An element, and an optional ancestor where the walk stops.
|
|
6
|
+
* @output The element's nearest ancestor that scrolls on the block axis, and
|
|
7
|
+
* `nearestScroller`, which falls back to the document's scroller.
|
|
8
|
+
* @position Shared by the keyboard module's reveals, Outline's scroll spy
|
|
9
|
+
* and the List reorder's edge autoscroll.
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* The nearest ancestor of `element` that scrolls on the block axis: its
|
|
13
|
+
* `overflow-y` lets it scroll and its content is taller than its box. The walk
|
|
14
|
+
* ends after `bound` when one is given, and at the document's root otherwise.
|
|
15
|
+
* Null when no ancestor in that range scrolls.
|
|
16
|
+
*/
|
|
17
|
+
function scrollingAncestor(element, bound) {
|
|
18
|
+
const view = element.ownerDocument.defaultView;
|
|
19
|
+
if (view == null) return null;
|
|
20
|
+
for (let node = element.parentElement; node != null; node = node.parentElement) {
|
|
21
|
+
if (SCROLLABLE_OVERFLOW.has(view.getComputedStyle(node).overflowY) && node.scrollHeight > node.clientHeight) return node;
|
|
22
|
+
if (node === bound) return null;
|
|
23
|
+
}
|
|
24
|
+
return null;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* The element that scrolls `element` into view: its nearest ancestor that
|
|
28
|
+
* scrolls on the block axis, or else the document's scroller.
|
|
29
|
+
*/
|
|
30
|
+
function nearestScroller(element) {
|
|
31
|
+
const doc = element.ownerDocument;
|
|
32
|
+
const scroller = scrollingAncestor(element);
|
|
33
|
+
return scroller == null || scroller === doc.body || scroller === doc.documentElement ? doc.scrollingElement ?? doc.documentElement : scroller;
|
|
34
|
+
}
|
|
35
|
+
//#endregion
|
|
36
|
+
export { scrollingAncestor as n, nearestScroller as t };
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
//#region src/BottomSheet/sheetTransition.ts
|
|
2
|
+
const BACKSTOP_BUFFER_MS = 50;
|
|
3
|
+
function parseTransitionTime(value) {
|
|
4
|
+
const normalized = value.trim();
|
|
5
|
+
if (!/^-?(?:\d+|\d*\.\d+)(?:ms|s)$/.test(normalized)) return null;
|
|
6
|
+
const time = Number.parseFloat(normalized);
|
|
7
|
+
return normalized.endsWith("ms") ? time : time * 1e3;
|
|
8
|
+
}
|
|
9
|
+
/** Longest transition duration + delay that applies to `property`, in ms. */
|
|
10
|
+
function transitionMsFor(element, property) {
|
|
11
|
+
const style = getComputedStyle(element);
|
|
12
|
+
const properties = (style.transitionProperty || "").split(",").map((value) => value.trim());
|
|
13
|
+
const durations = (style.transitionDuration || "").split(",").map(parseTransitionTime);
|
|
14
|
+
const delays = (style.transitionDelay || "").split(",").map((value) => parseTransitionTime(value) ?? 0);
|
|
15
|
+
return properties.reduce((longest, name, index) => {
|
|
16
|
+
if (name !== property && name !== "all") return longest;
|
|
17
|
+
const duration = durations[index % durations.length];
|
|
18
|
+
if (duration == null) return longest;
|
|
19
|
+
return Math.max(longest, duration + (delays[index % delays.length] ?? 0));
|
|
20
|
+
}, 0);
|
|
21
|
+
}
|
|
22
|
+
/** Whether a CSS transition of `property` still runs on `element`. */
|
|
23
|
+
function hasRunningTransition(element, property) {
|
|
24
|
+
return (element.getAnimations?.() ?? []).some((animation) => animation.transitionProperty === property && (animation.playState === "running" || animation.playState === "paused"));
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Calls `complete` when `element` finishes transitioning `property`: on the
|
|
28
|
+
* matching `transitionend`/`transitioncancel`, or on a timer backstop so a
|
|
29
|
+
* missed event can never strand the caller. Without a resolved duration — the
|
|
30
|
+
* case in a stylesheet-free test environment — it completes immediately.
|
|
31
|
+
*/
|
|
32
|
+
function waitForTransition(element, property, complete) {
|
|
33
|
+
if (element == null) {
|
|
34
|
+
complete();
|
|
35
|
+
return () => {};
|
|
36
|
+
}
|
|
37
|
+
let done = false;
|
|
38
|
+
let timer = null;
|
|
39
|
+
let backstopMs = 0;
|
|
40
|
+
let onTransitionEnd = () => {};
|
|
41
|
+
const finish = () => {
|
|
42
|
+
if (done) return;
|
|
43
|
+
done = true;
|
|
44
|
+
if (timer != null) clearTimeout(timer);
|
|
45
|
+
element.removeEventListener("transitionend", onTransitionEnd);
|
|
46
|
+
element.removeEventListener("transitioncancel", onTransitionEnd);
|
|
47
|
+
complete();
|
|
48
|
+
};
|
|
49
|
+
onTransitionEnd = (event) => {
|
|
50
|
+
if (event.target !== element || event.propertyName !== property) return;
|
|
51
|
+
if (event.type === "transitioncancel" && hasRunningTransition(element, property)) {
|
|
52
|
+
if (timer != null) {
|
|
53
|
+
clearTimeout(timer);
|
|
54
|
+
timer = setTimeout(finish, backstopMs);
|
|
55
|
+
}
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
58
|
+
finish();
|
|
59
|
+
};
|
|
60
|
+
const duration = transitionMsFor(element, property);
|
|
61
|
+
if (duration <= 0) {
|
|
62
|
+
finish();
|
|
63
|
+
return () => {};
|
|
64
|
+
}
|
|
65
|
+
element.addEventListener("transitionend", onTransitionEnd);
|
|
66
|
+
element.addEventListener("transitioncancel", onTransitionEnd);
|
|
67
|
+
backstopMs = duration + BACKSTOP_BUFFER_MS;
|
|
68
|
+
timer = setTimeout(finish, backstopMs);
|
|
69
|
+
return () => {
|
|
70
|
+
if (timer != null) clearTimeout(timer);
|
|
71
|
+
element.removeEventListener("transitionend", onTransitionEnd);
|
|
72
|
+
element.removeEventListener("transitioncancel", onTransitionEnd);
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
//#endregion
|
|
76
|
+
export { waitForTransition as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as registerMotionTable, o as registerSpringRole } from "./roles-
|
|
1
|
+
import { a as registerMotionTable, o as registerSpringRole } from "./roles-D6hLs7Rg.js";
|
|
2
2
|
//#region src/motion/springRole.ts
|
|
3
3
|
/**
|
|
4
4
|
* Registers the row as the role `springs.<name>` and returns it. A page that
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as usePositionedLayer, t as useDismiss } from "./useDismiss-
|
|
1
|
+
import { n as usePositionedLayer, t as useDismiss } from "./useDismiss-yu_sIa7a.js";
|
|
2
2
|
import { n as clampInlineSize } from "./inlineSize-BNe8wggI.js";
|
|
3
3
|
import { computed, onMounted, ref, toValue, watch } from "vue";
|
|
4
4
|
//#region src/Typeahead/useAnchoredListbox.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as parseMotionRoleValue, r as parseCssEasing } from "./roles-
|
|
1
|
+
import { i as parseMotionRoleValue, r as parseCssEasing } from "./roles-D6hLs7Rg.js";
|
|
2
2
|
import { t as cubicBezier } from "./bezier-Dko5MnTp.js";
|
|
3
3
|
import { i as easeDefaults, r as durationDefaults, t as resolveTokenReferences } from "./tokenReferences-sKpv-7_O.js";
|
|
4
4
|
import { n as normalizeTokenName } from "./tokenName-0U-WEH09.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as isTopLayer, n as useLayerDepth, o as pushLayer } from "./layerDepth-
|
|
2
|
-
import { t as matchesFocusVisible } from "./tooltipTriggerRules-
|
|
1
|
+
import { i as isTopLayer, n as useLayerDepth, o as pushLayer } from "./layerDepth-C4altnV8.js";
|
|
2
|
+
import { t as matchesFocusVisible } from "./tooltipTriggerRules-CoGD2lVn.js";
|
|
3
3
|
import { s as isTextEntryControl, t as getInteractionModality } from "./interactionModality-4Km2ibsq.js";
|
|
4
4
|
import { i as isFocusable } from "./focus-x7mxEqjR.js";
|
|
5
5
|
import { onScopeDispose } from "vue";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as usePositionedLayer, t as useDismiss } from "./useDismiss-
|
|
1
|
+
import { n as usePositionedLayer, t as useDismiss } from "./useDismiss-yu_sIa7a.js";
|
|
2
2
|
import { computed, shallowRef, toValue, useId } from "vue";
|
|
3
3
|
//#region src/composables/useLayer.ts
|
|
4
4
|
/**
|
|
@@ -1,86 +1,5 @@
|
|
|
1
1
|
import { t as quietFinished } from "./quietFinished-CKZXgsPM.js";
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @file inertClone.ts
|
|
5
|
-
* @input The DOM
|
|
6
|
-
* @output Exports `inertClone`, a deep clone that takes no part in the page,
|
|
7
|
-
* and `paintedBackground`, the background an element shows
|
|
8
|
-
* @position Motion foundation, internal to core. transientCopy.ts builds the
|
|
9
|
-
* swap's and the layer exit's copies on the clone, and the List reorder
|
|
10
|
-
* builds its drag preview on it
|
|
11
|
-
*/
|
|
12
|
-
/** The listed controls a form can own. */
|
|
13
|
-
const FORM_CONTROLS = "button, fieldset, input, object, output, select, textarea";
|
|
14
|
-
function isFormAssociated(node, registry) {
|
|
15
|
-
if (!node.localName.includes("-")) return false;
|
|
16
|
-
return (registry?.get(node.localName))?.formAssociated === true;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Paints `canvas` with `source`'s pixels at its own size. False when they
|
|
20
|
-
* read back empty: unreadable (a WebGL canvas without
|
|
21
|
-
* `preserveDrawingBuffer`, a tainted one) or blank.
|
|
22
|
-
*/
|
|
23
|
-
function paintCanvas(canvas, source) {
|
|
24
|
-
if (canvas.width === 0 || canvas.height === 0) return true;
|
|
25
|
-
const context = canvas.getContext("2d", { willReadFrequently: true });
|
|
26
|
-
if (context == null) return true;
|
|
27
|
-
try {
|
|
28
|
-
context.drawImage(source, 0, 0);
|
|
29
|
-
const { data } = context.getImageData(0, 0, canvas.width, canvas.height);
|
|
30
|
-
for (let index = 3; index < data.length; index += 4) if (data[index] !== 0) return true;
|
|
31
|
-
return false;
|
|
32
|
-
} catch {
|
|
33
|
-
return false;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* A deep clone of `element` that takes no part in the page. It has no ids or
|
|
38
|
-
* test ids and joins no form or radio group: a copied checked radio would
|
|
39
|
-
* uncheck the live one. No copied label names a live control, copied frames
|
|
40
|
-
* and media load nothing, and copied elements carry no anchor name. It is
|
|
41
|
-
* inert and hidden from assistive technology. Content holding a canvas whose
|
|
42
|
-
* pixels read back empty is not cloned: the result is null.
|
|
43
|
-
*/
|
|
44
|
-
function inertClone(element) {
|
|
45
|
-
const copy = element.cloneNode(true);
|
|
46
|
-
const sourceNodes = [element, ...element.querySelectorAll("*")];
|
|
47
|
-
const copyNodes = [copy, ...copy.querySelectorAll("*")];
|
|
48
|
-
for (const node of copyNodes) for (const name of [
|
|
49
|
-
"id",
|
|
50
|
-
"data-testid",
|
|
51
|
-
"name",
|
|
52
|
-
"for",
|
|
53
|
-
"autofocus"
|
|
54
|
-
]) node.removeAttribute(name);
|
|
55
|
-
const view = element.ownerDocument.defaultView;
|
|
56
|
-
sourceNodes.forEach((source, index) => {
|
|
57
|
-
const name = view?.getComputedStyle(source).getPropertyValue("anchor-name");
|
|
58
|
-
if (name != null && name !== "" && name !== "none") copyNodes[index].style?.setProperty("anchor-name", "none");
|
|
59
|
-
});
|
|
60
|
-
const registry = element.ownerDocument.defaultView?.customElements;
|
|
61
|
-
for (const node of copyNodes) if (node.matches(FORM_CONTROLS) || isFormAssociated(node, registry)) node.setAttribute("form", "");
|
|
62
|
-
for (const node of copy.querySelectorAll("iframe, video, audio, source, embed, object")) for (const name of [
|
|
63
|
-
"src",
|
|
64
|
-
"srcdoc",
|
|
65
|
-
"data",
|
|
66
|
-
"autoplay"
|
|
67
|
-
]) node.removeAttribute(name);
|
|
68
|
-
const sources = element.querySelectorAll("canvas");
|
|
69
|
-
if (!Array.from(copy.querySelectorAll("canvas")).every((canvas, index) => paintCanvas(canvas, sources[index]))) return null;
|
|
70
|
-
copy.setAttribute("aria-hidden", "true");
|
|
71
|
-
copy.setAttribute("inert", "");
|
|
72
|
-
copy.style.pointerEvents = "none";
|
|
73
|
-
return copy;
|
|
74
|
-
}
|
|
75
|
-
/** The background `element` shows: its own, or the nearest ancestor's. */
|
|
76
|
-
function paintedBackground(element) {
|
|
77
|
-
for (let node = element; node; node = node.parentElement) {
|
|
78
|
-
const color = getComputedStyle(node).backgroundColor;
|
|
79
|
-
if (color !== "transparent" && !/^rgba\(.*,\s*0\)$/.test(color)) return color;
|
|
80
|
-
}
|
|
81
|
-
return "Canvas";
|
|
82
|
-
}
|
|
83
|
-
//#endregion
|
|
2
|
+
import { t as inertClone } from "./inertClone-BUK-k6-n.js";
|
|
84
3
|
//#region src/motion/carryAnimations.ts
|
|
85
4
|
/**
|
|
86
5
|
* @file carryAnimations.ts
|
|
@@ -555,4 +474,4 @@ function wrapText(copy) {
|
|
|
555
474
|
return [...faded];
|
|
556
475
|
}
|
|
557
476
|
//#endregion
|
|
558
|
-
export { restoreScrollOffsets as a,
|
|
477
|
+
export { restoreScrollOffsets as a, placeOver as i, isCopyable as n, visiblePartCopy as o, keepInherited as r, wrapText as s, inertCopy as t };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { r as AnimatedLayout } from "./useAnimatedLayout-C0koWm4a.js";
|
|
2
|
+
import { n as Reorderable } from "./createReorderable-Bw3Q9mUd.js";
|
|
2
3
|
import { Component, MaybeRefOrGetter, VNodeChild } from "vue";
|
|
3
4
|
//#region src/List/types.d.ts
|
|
4
5
|
/** 滑动露出的一侧。`leading` 是往行内末尾拖,`trailing` 是往行内开头拖。 */
|
|
@@ -72,6 +73,30 @@ interface ListProps {
|
|
|
72
73
|
* changes at once. Without a handle the list changes at once.
|
|
73
74
|
*/
|
|
74
75
|
animatedLayout?: AnimatedLayout;
|
|
76
|
+
/**
|
|
77
|
+
* Makes the rows reorderable, with the object `createReorderable` makes.
|
|
78
|
+
* Each ListItem with an `itemKey` gets a reorder handle at its end. One the
|
|
79
|
+
* object's `isReorderable` rejects keeps its place. Each committed move
|
|
80
|
+
* calls its `onReorder` once with the row's key and its index after the
|
|
81
|
+
* move. Apply it by rendering the rows in their new order. A drop on the
|
|
82
|
+
* starting place, a cancel, or a move the order does not take changes
|
|
83
|
+
* nothing.
|
|
84
|
+
*
|
|
85
|
+
* On a touch screen, a finger held still on a handle for a moment picks up
|
|
86
|
+
* its row. A flick on it still scrolls. The row stays in its place, dimmed,
|
|
87
|
+
* while a copy of it follows the finger. An accent line marks where it
|
|
88
|
+
* would land. The other rows stay still, the list scrolls near the edges,
|
|
89
|
+
* and on release the rows rearrange. A mouse drags a handle at once, the
|
|
90
|
+
* same way.
|
|
91
|
+
*
|
|
92
|
+
* Without a drag, activating a handle (a click, Space or Enter) turns on
|
|
93
|
+
* reorder mode for its row. Each arrow key moves it a place at once,
|
|
94
|
+
* reported and announced with its place and neighbours. Escape or another
|
|
95
|
+
* activation ends the mode, keeping the moves. While it is on, a hint
|
|
96
|
+
* anchored to the handle shows the moves and Done as buttons, so taps alone
|
|
97
|
+
* can reorder.
|
|
98
|
+
*/
|
|
99
|
+
reorderable?: Reorderable;
|
|
75
100
|
/**
|
|
76
101
|
* Spacing density for the rows. Each `ListItem` inherits it unless the item
|
|
77
102
|
* sets its own.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as msSinceInput } from "./inputAge-C-SoLwpD.js";
|
|
2
2
|
import { n as isInsideScrollView } from "./scrollView-BGBtu5JP.js";
|
|
3
|
-
import { i as createActionGroupTracker, o as resolveGroupTouch, r as GROUP_PRESS_POINTERS } from "./useTouchHitArea-
|
|
4
|
-
import { i as PRESS_SLOP_PX, n as PRESS_ONSET_MS } from "./pressGesture-
|
|
5
|
-
import { f as PRESS_GROUP_ITEM_ATTRIBUTE, p as isTrackedByGroup } from "./pressSlot-
|
|
3
|
+
import { i as createActionGroupTracker, o as resolveGroupTouch, r as GROUP_PRESS_POINTERS } from "./useTouchHitArea-DvKV21NY.js";
|
|
4
|
+
import { i as PRESS_SLOP_PX, n as PRESS_ONSET_MS } from "./pressGesture-ZTBGwYpT.js";
|
|
5
|
+
import { f as PRESS_GROUP_ITEM_ATTRIBUTE, p as isTrackedByGroup } from "./pressSlot-zlwhNl9N.js";
|
|
6
6
|
import { getCurrentScope, onScopeDispose, toValue, watch } from "vue";
|
|
7
7
|
//#region src/composables/internal/useActionGroupTracking.ts
|
|
8
8
|
const DISABLED = ":disabled, [aria-disabled=\"true\"]";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as useLayerTeleportTarget } from "./useLayerMountTarget-zwZQglr2.js";
|
|
2
2
|
import { i as useLayerGutter, s as resolveLayerGutter } from "./context-M-er0-Rk.js";
|
|
3
|
-
import { n as useLayerDepth, o as pushLayer } from "./layerDepth-
|
|
3
|
+
import { n as useLayerDepth, o as pushLayer } from "./layerDepth-C4altnV8.js";
|
|
4
4
|
import { nextTick, onScopeDispose, ref, toValue, watch } from "vue";
|
|
5
5
|
//#region src/layer/anchorClear.ts
|
|
6
6
|
function overlapsAnchor(anchor, top, left, layer) {
|
|
@@ -175,6 +175,29 @@ function computeLayerPosition(anchor, layer, viewport, placement, alignment, gap
|
|
|
175
175
|
function isAnchorInViewport(anchor, viewport) {
|
|
176
176
|
return anchor.right > 0 && anchor.bottom > 0 && anchor.left < viewport.width && anchor.top < viewport.height;
|
|
177
177
|
}
|
|
178
|
+
/**
|
|
179
|
+
* 让浮层盖在锚点原位上:浮层左上角比锚点左上角各外扩 `OVERLAP_OUTSET`,
|
|
180
|
+
* 宽度至少比锚点宽两倍外扩距离。浮层里第一行内容离浮层边缘也是这个距离时,
|
|
181
|
+
* 正好落在锚点内容原来的位置上。最终位置保持在视口内。
|
|
182
|
+
*/
|
|
183
|
+
function computeOverlapPosition(anchor, layer, viewport, gutter = resolveLayerGutter()) {
|
|
184
|
+
const minWidth = anchor.width + 16;
|
|
185
|
+
const width = Math.max(layer.width, minWidth);
|
|
186
|
+
const top = anchor.top - 8;
|
|
187
|
+
const left = anchor.left - 8;
|
|
188
|
+
if (!isAnchorInViewport(anchor, viewport)) return {
|
|
189
|
+
top,
|
|
190
|
+
left,
|
|
191
|
+
placement: "below",
|
|
192
|
+
minWidth
|
|
193
|
+
};
|
|
194
|
+
return {
|
|
195
|
+
top: clamp(top, 0, viewport.height - layer.height - gutter.blockEnd),
|
|
196
|
+
left: clamp(left, 0, viewport.width - width - gutter.inlineEnd),
|
|
197
|
+
placement: "below",
|
|
198
|
+
minWidth
|
|
199
|
+
};
|
|
200
|
+
}
|
|
178
201
|
//#endregion
|
|
179
202
|
//#region src/layer/visibleViewport.ts
|
|
180
203
|
/**
|
|
@@ -220,6 +243,10 @@ function usePositionedLayer(options) {
|
|
|
220
243
|
width: layerEl.offsetWidth,
|
|
221
244
|
height: options.keepAnchorClear === true ? Math.max(layerEl.offsetHeight, layerEl.scrollHeight) : layerEl.offsetHeight
|
|
222
245
|
};
|
|
246
|
+
if (options.overlap?.value === true) {
|
|
247
|
+
position.value = computeOverlapPosition(anchorRect, box, viewport, gutter.value);
|
|
248
|
+
return;
|
|
249
|
+
}
|
|
223
250
|
const placed = computeLayerPosition(anchorRect, box, viewport, placement.value, alignment.value, gap, gutter.value);
|
|
224
251
|
const next = options.keepAnchorClear === true ? keepClearOfAnchor(placed, anchorRect, box, viewport, gap, gutter.value) : placed;
|
|
225
252
|
position.value = next;
|
|
@@ -276,7 +303,11 @@ function usePositionedLayer(options) {
|
|
|
276
303
|
} else detach();
|
|
277
304
|
}, { immediate: true });
|
|
278
305
|
watch([anchor, layer], update);
|
|
279
|
-
watch([
|
|
306
|
+
watch([
|
|
307
|
+
placement,
|
|
308
|
+
alignment,
|
|
309
|
+
() => options.overlap?.value
|
|
310
|
+
], update);
|
|
280
311
|
watch(gutter, update);
|
|
281
312
|
onScopeDispose(detach);
|
|
282
313
|
return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as sharedState } from "./sharedRealm-BYHklCVM.js";
|
|
2
|
-
import { f as internals, i as getGestureHost } from "./geometry-
|
|
2
|
+
import { f as internals, i as getGestureHost } from "./geometry-BBqUriul.js";
|
|
3
3
|
import { t as useAttachment } from "./useAttachment-CGiD9rt6.js";
|
|
4
4
|
import { getCurrentScope, onScopeDispose, toValue, watch } from "vue";
|
|
5
5
|
//#region src/gestures/gestureSync.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as _sfc_main } from "./FieldIcon-BU1ZWAuo.js";
|
|
2
|
-
import { t as _sfc_main$1 } from "./FieldInfoTip-
|
|
2
|
+
import { t as _sfc_main$1 } from "./FieldInfoTip-D4vkQb2F.js";
|
|
3
3
|
import { computed, toValue } from "vue";
|
|
4
4
|
//#region src/composables/useInputStatusIcon.ts
|
|
5
5
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as msSinceInput } from "./inputAge-C-SoLwpD.js";
|
|
2
2
|
import { i as withoutClickGuard, r as disarmEveryClickGuard, t as armClickGuard } from "./clickGuard-BkegH2NW.js";
|
|
3
|
-
import { s as currentGesture } from "./layerDepth-
|
|
3
|
+
import { s as currentGesture } from "./layerDepth-C4altnV8.js";
|
|
4
4
|
import { t as focusForLastInput } from "./focusReturn-BeSRm0xD.js";
|
|
5
5
|
import { t as claimPress } from "./pressClaim-DvdlIn4w.js";
|
|
6
6
|
import { r as isInputShield } from "./inputHoldState-Bav14W7v.js";
|
|
@@ -1,49 +1,15 @@
|
|
|
1
1
|
import { l as isNode, n as deepActiveElement, o as isDocument } from "./flatTree-BB4yPMNL.js";
|
|
2
|
-
import { t as SCROLLABLE_OVERFLOW } from "./scrollView-BGBtu5JP.js";
|
|
3
2
|
import { a as sharedState, o as sharedWeakMap } from "./sharedRealm-BYHklCVM.js";
|
|
4
3
|
import { a as subscribeInput } from "./inputStream-DmPkJ1aU.js";
|
|
5
4
|
import { t as useMediaQuery } from "./useMediaQuery-BzXGT1Aw.js";
|
|
6
|
-
import { t as animatorFor } from "./animator-
|
|
7
|
-
import { t as KEYBOARD_SPRING } from "./springs-
|
|
5
|
+
import { t as animatorFor } from "./animator-i7djdtNK.js";
|
|
6
|
+
import { t as KEYBOARD_SPRING } from "./springs-B5hVbZta.js";
|
|
8
7
|
import { t as TOUCH_QUERY } from "./touchQueries-xy5IeZfe.js";
|
|
8
|
+
import { n as scrollingAncestor, t as nearestScroller } from "./scrollingAncestor-DMWTn_Ih.js";
|
|
9
9
|
import { t as useAttachment } from "./useAttachment-CGiD9rt6.js";
|
|
10
10
|
import { n as observeResize } from "./sharedResizeObserver-BekhnB3E.js";
|
|
11
|
-
import { A as riddenAnimators, C as hasOwnTranslate, D as nearestFixedAncestor, E as isMovedByApp, F as subscribeKeyboardHeight, I as layoutViewportHeight, M as getKeyboardHeight, N as isKeyboardMeasurable, O as registerKeyboardTarget, P as isTextEntryControl, S as followsKeyboard, T as isInsideKeyboardTarget, _ as refuseFocusReveal, a as revealWithKeyboard, b as fixedContainerOf, c as claimTapFocus, d as claimKeyboardScrollBack, f as stopKeyboardScrollBack, g as keyboardProfileOf, h as hidesField, i as revealDistance, j as findTextEntryControl, k as restingBottom, l as watchRevealPan, m as getKeyboardLayoutGuide, n as bandOf, o as scrollBy, p as bringsUpKeyboard, r as deliverTap, s as watchPans, t as rideKeyboard, u as distanceIntoBand, v as coveredBy, w as isDockedContainer, x as focusedFieldIn, y as drawnOffsetOf } from "./rideKeyboard-
|
|
11
|
+
import { A as riddenAnimators, C as hasOwnTranslate, D as nearestFixedAncestor, E as isMovedByApp, F as subscribeKeyboardHeight, I as layoutViewportHeight, M as getKeyboardHeight, N as isKeyboardMeasurable, O as registerKeyboardTarget, P as isTextEntryControl, S as followsKeyboard, T as isInsideKeyboardTarget, _ as refuseFocusReveal, a as revealWithKeyboard, b as fixedContainerOf, c as claimTapFocus, d as claimKeyboardScrollBack, f as stopKeyboardScrollBack, g as keyboardProfileOf, h as hidesField, i as revealDistance, j as findTextEntryControl, k as restingBottom, l as watchRevealPan, m as getKeyboardLayoutGuide, n as bandOf, o as scrollBy, p as bringsUpKeyboard, r as deliverTap, s as watchPans, t as rideKeyboard, u as distanceIntoBand, v as coveredBy, w as isDockedContainer, x as focusedFieldIn, y as drawnOffsetOf } from "./rideKeyboard-BKGLLMuU.js";
|
|
12
12
|
import { readonly, shallowRef, toValue, watch } from "vue";
|
|
13
|
-
//#region src/utils/scrollingAncestor.ts
|
|
14
|
-
/**
|
|
15
|
-
* @file scrollingAncestor.ts
|
|
16
|
-
* @input An element, and an optional ancestor where the walk stops.
|
|
17
|
-
* @output The element's nearest ancestor that scrolls on the block axis, and
|
|
18
|
-
* `nearestScroller`, which falls back to the document's scroller.
|
|
19
|
-
* @position Shared by the keyboard module's reveals, Outline's scroll spy
|
|
20
|
-
* and the List reorder's edge autoscroll.
|
|
21
|
-
*/
|
|
22
|
-
/**
|
|
23
|
-
* The nearest ancestor of `element` that scrolls on the block axis: its
|
|
24
|
-
* `overflow-y` lets it scroll and its content is taller than its box. The walk
|
|
25
|
-
* ends after `bound` when one is given, and at the document's root otherwise.
|
|
26
|
-
* Null when no ancestor in that range scrolls.
|
|
27
|
-
*/
|
|
28
|
-
function scrollingAncestor(element, bound) {
|
|
29
|
-
const view = element.ownerDocument.defaultView;
|
|
30
|
-
if (view == null) return null;
|
|
31
|
-
for (let node = element.parentElement; node != null; node = node.parentElement) {
|
|
32
|
-
if (SCROLLABLE_OVERFLOW.has(view.getComputedStyle(node).overflowY) && node.scrollHeight > node.clientHeight) return node;
|
|
33
|
-
if (node === bound) return null;
|
|
34
|
-
}
|
|
35
|
-
return null;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* The element that scrolls `element` into view: its nearest ancestor that
|
|
39
|
-
* scrolls on the block axis, or else the document's scroller.
|
|
40
|
-
*/
|
|
41
|
-
function nearestScroller(element) {
|
|
42
|
-
const doc = element.ownerDocument;
|
|
43
|
-
const scroller = scrollingAncestor(element);
|
|
44
|
-
return scroller == null || scroller === doc.body || scroller === doc.documentElement ? doc.scrollingElement ?? doc.documentElement : scroller;
|
|
45
|
-
}
|
|
46
|
-
//#endregion
|
|
47
13
|
//#region src/keyboard/keyboardRide.ts
|
|
48
14
|
function liftFor(target, animator, height, offset, win, isHostOwned) {
|
|
49
15
|
if (!isHostOwned && (!isDockedContainer(target) || isMovedByApp(target))) return 0;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as msSinceInput } from "./inputAge-C-SoLwpD.js";
|
|
2
2
|
import { n as isInsideScrollView } from "./scrollView-BGBtu5JP.js";
|
|
3
3
|
import { a as subscribeInput } from "./inputStream-DmPkJ1aU.js";
|
|
4
|
-
import { o as UIKIT_PRESS } from "./gestures-
|
|
5
|
-
import { a as idlePressGesture, o as pressGestureStep, r as PRESS_SCROLL_BRAKE_MS } from "./pressGesture-
|
|
6
|
-
import { a as finish, d as PRESS_CONTAINER_ATTRIBUTE, i as finger, l as PRESSABLE_ATTRIBUTE, m as pressSurfaceAt, n as apply, o as releaseIfDead, p as isTrackedByGroup, r as button, s as takeOver, u as PRESS_ACTION_ATTRIBUTE } from "./pressSlot-
|
|
4
|
+
import { o as UIKIT_PRESS } from "./gestures-CP1MX1rx.js";
|
|
5
|
+
import { a as idlePressGesture, o as pressGestureStep, r as PRESS_SCROLL_BRAKE_MS } from "./pressGesture-ZTBGwYpT.js";
|
|
6
|
+
import { a as finish, d as PRESS_CONTAINER_ATTRIBUTE, i as finger, l as PRESSABLE_ATTRIBUTE, m as pressSurfaceAt, n as apply, o as releaseIfDead, p as isTrackedByGroup, r as button, s as takeOver, u as PRESS_ACTION_ATTRIBUTE } from "./pressSlot-zlwhNl9N.js";
|
|
7
7
|
import { getCurrentInstance, getCurrentScope, onMounted, onScopeDispose } from "vue";
|
|
8
8
|
import "../styles/pressable.css";
|
|
9
9
|
//#region src/composables/internal/pressButton.ts
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as isImeKeyEvent } from "./ime-VY8-80S8.js";
|
|
2
|
-
import { t as animatorFor } from "./animator-
|
|
3
|
-
import { t as resolveMotion } from "./resolveMotion-
|
|
4
|
-
import { s as springs } from "./springs-
|
|
2
|
+
import { t as animatorFor } from "./animator-i7djdtNK.js";
|
|
3
|
+
import { t as resolveMotion } from "./resolveMotion-BCM4CX-R.js";
|
|
4
|
+
import { s as springs } from "./springs-B5hVbZta.js";
|
|
5
5
|
import { t as isApplePlatform } from "./isApplePlatform-B1ju6F5B.js";
|
|
6
|
-
import { t as project } from "./projection-
|
|
7
|
-
import { c as createRegionPaneSlot, f as registerPropsRegion, h as slideNextOnRelease, i as registerResizableChannel, l as edgeAxis, m as slideMotionsOf, o as resizeHandleBeside, p as shownSizeReader, s as createPaneReveal, u as isScriptMotion } from "./resizableChannel-
|
|
8
|
-
import { i as rubberBandSlope, r as rubberBandInverse, t as rubberBand } from "./rubberBand-
|
|
6
|
+
import { t as project } from "./projection-DzrWyxL1.js";
|
|
7
|
+
import { c as createRegionPaneSlot, f as registerPropsRegion, h as slideNextOnRelease, i as registerResizableChannel, l as edgeAxis, m as slideMotionsOf, o as resizeHandleBeside, p as shownSizeReader, s as createPaneReveal, u as isScriptMotion } from "./resizableChannel-6oZZNYYM.js";
|
|
8
|
+
import { i as rubberBandSlope, r as rubberBandInverse, t as rubberBand } from "./rubberBand-C-2erWWl.js";
|
|
9
9
|
import { computed, onBeforeUnmount, onMounted, onScopeDispose, reactive, ref, toValue, watch } from "vue";
|
|
10
10
|
//#region src/composables/useHotkeys.ts
|
|
11
11
|
const KEY_ALIASES = {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { s as registerLayerSurface } from "./useClickableContainer-Dtjg-nkm.js";
|
|
2
2
|
import { r as useResolvedLayerTeleport } from "./useLayerMountTarget-zwZQglr2.js";
|
|
3
|
-
import { n as useLayer } from "./tooltipTriggerRules-
|
|
4
|
-
import { t as _sfc_main$1 } from "./LayerContentBoundary-
|
|
3
|
+
import { n as useLayer } from "./tooltipTriggerRules-CoGD2lVn.js";
|
|
4
|
+
import { t as _sfc_main$1 } from "./LayerContentBoundary-iYtfCpG9.js";
|
|
5
5
|
import { a as trackInteractionModality } from "./interactionModality-4Km2ibsq.js";
|
|
6
6
|
import { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
7
|
-
import { t as useTouchTriggerInternal } from "./useTouchTriggerInternal-
|
|
8
|
-
import { n as opensOnFocus, r as useHoverLayerDismiss, t as createFocusGate } from "./tooltipFocusRules-
|
|
7
|
+
import { t as useTouchTriggerInternal } from "./useTouchTriggerInternal-Obcx-oKN.js";
|
|
8
|
+
import { n as opensOnFocus, r as useHoverLayerDismiss, t as createFocusGate } from "./tooltipFocusRules-R21SPfWy.js";
|
|
9
9
|
import { t as renderedText } from "./renderedText-BwJdmps3.js";
|
|
10
10
|
import { Teleport, computed, createBlock, createCommentVNode, createElementVNode, createTextVNode, createVNode, defineComponent, inject, mergeProps, onMounted, onScopeDispose, openBlock, renderSlot, shallowRef, toDisplayString, toValue, unref, vShow, watch, withCtx, withDirectives } from "vue";
|
|
11
11
|
import "../styles/tooltip.css";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as armClickGuard } from "./clickGuard-BkegH2NW.js";
|
|
2
|
-
import { c as pressFadeMs, f as PRESS_GROUP_ITEM_ATTRIBUTE, p as isTrackedByGroup, t as PRESSED_ATTRIBUTE } from "./pressSlot-
|
|
2
|
+
import { c as pressFadeMs, f as PRESS_GROUP_ITEM_ATTRIBUTE, p as isTrackedByGroup, t as PRESSED_ATTRIBUTE } from "./pressSlot-zlwhNl9N.js";
|
|
3
3
|
import { toValue, watch } from "vue";
|
|
4
4
|
import "../styles/touch-hit-area.css";
|
|
5
5
|
/** 不长:热区就是目标本身。 */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as INTERACTIVE_SELECTORS } from "./useClickableContainer-Dtjg-nkm.js";
|
|
2
|
-
import { s as currentGesture } from "./layerDepth-
|
|
2
|
+
import { s as currentGesture } from "./layerDepth-C4altnV8.js";
|
|
3
3
|
import { a as trackInteractionModality, i as isTextEntrySincePointer, o as isDisabledControl, s as isTextEntryControl } from "./interactionModality-4Km2ibsq.js";
|
|
4
4
|
import { onScopeDispose, ref, toValue, watch } from "vue";
|
|
5
5
|
//#region src/composables/internal/tapRecognizer.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as matchesFocusVisible } from "./tooltipTriggerRules-
|
|
1
|
+
import { t as matchesFocusVisible } from "./tooltipTriggerRules-CoGD2lVn.js";
|
|
2
2
|
import { a as trackInteractionModality, t as getInteractionModality } from "./interactionModality-4Km2ibsq.js";
|
|
3
|
-
import { n as tooltipPresentInterestKey } from "./useTooltip-
|
|
4
|
-
import { t as _sfc_main$1 } from "./Tooltip-
|
|
3
|
+
import { n as tooltipPresentInterestKey } from "./useTooltip-B2RrDbtI.js";
|
|
4
|
+
import { t as _sfc_main$1 } from "./Tooltip-DPiEYfao.js";
|
|
5
5
|
import { n as useTruncation, t as truncatePlacement } from "./useTruncation-D_T-ezdp.js";
|
|
6
6
|
import { computed, createBlock, createCommentVNode, defineComponent, openBlock, provide, shallowRef } from "vue";
|
|
7
7
|
//#region src/Text/TruncationTooltip.vue
|
|
@@ -5,7 +5,7 @@ import { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
|
5
5
|
import { n as useAsyncSource } from "./useAsyncSource-7GTcK8ep.js";
|
|
6
6
|
import { t as useCombobox } from "./useCombobox-BbDP75hw.js";
|
|
7
7
|
import { t as _sfc_main$3 } from "./Spinner-D1adu3uH.js";
|
|
8
|
-
import { t as createStillPointerGate } from "./stillPointerGate-
|
|
8
|
+
import { t as createStillPointerGate } from "./stillPointerGate-DXFzBeMy.js";
|
|
9
9
|
import { i as isOptionAction, n as searchResultMessage, r as OptionAction, t as useOptionActionGrid } from "./useOptionActionGrid-C7ibYM_A.js";
|
|
10
10
|
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, h, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, openBlock, ref, renderList, renderSlot, toDisplayString, toValue, unref, useSlots, useTemplateRef, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
|
|
11
11
|
import "../styles/layer.css";
|
package/package.json
CHANGED