@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
package/styles/drawer.css
CHANGED
|
@@ -1,59 +1,156 @@
|
|
|
1
1
|
@layer astryx.components {
|
|
2
2
|
/*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
3
|
+
* 抽屉面板就是原生 <dialog> 本身:高度撑满视口,贴在行首或行尾,三条边和视口齐平,所以是直角。
|
|
4
|
+
* 模态时在 showModal() 的顶层里,非模态时在 popover 的顶层里。
|
|
5
|
+
*
|
|
6
|
+
* 显示由组件的 data-rendered 管,不靠 display 的离散过渡:面板要在离开顶层的同一轮里停止绘制,
|
|
7
|
+
* 否则带 transform 的祖先会成为它 position: fixed 的参照物,面板会在页面里闪一帧。
|
|
8
|
+
*
|
|
9
|
+
* overflow 用 clip 不用 hidden:hidden 会把面板变成滚动容器,Chromium 会把手指在非模态抽屉
|
|
10
|
+
* 旁边页面上的拖动扣在它的 overscroll 约束里,页面就滚不动了。内容区自己负责滚动。
|
|
5
11
|
*/
|
|
6
12
|
.astryx-drawer {
|
|
13
|
+
--_drawer-duration: var(--astryx-duration-medium, 300ms);
|
|
14
|
+
--_drawer-easing: var(--astryx-ease-standard, cubic-bezier(0.24, 1, 0.4, 1));
|
|
15
|
+
|
|
7
16
|
box-sizing: border-box;
|
|
17
|
+
position: fixed;
|
|
18
|
+
inset-block: 0;
|
|
19
|
+
width: var(--_drawer-width, 400px);
|
|
20
|
+
max-width: 100dvw;
|
|
8
21
|
height: 100dvh;
|
|
9
|
-
max-height:
|
|
22
|
+
max-height: none;
|
|
23
|
+
margin: 0;
|
|
24
|
+
padding: 0;
|
|
25
|
+
border: 0;
|
|
10
26
|
border-radius: 0;
|
|
27
|
+
display: none;
|
|
28
|
+
flex-direction: column;
|
|
29
|
+
overflow: clip;
|
|
30
|
+
outline: none;
|
|
31
|
+
background-color: var(--astryx-color-background-surface, #fff);
|
|
32
|
+
color: var(--astryx-color-text-primary, #171717);
|
|
33
|
+
box-shadow: var(--astryx-shadow-high, 0 12px 32px rgb(0 0 0 / 20%));
|
|
34
|
+
transition: transform var(--_drawer-duration) var(--_drawer-easing);
|
|
11
35
|
}
|
|
12
36
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
.astryx-drawer {
|
|
16
|
-
max-width: calc(100vw - 56px);
|
|
17
|
-
}
|
|
37
|
+
.astryx-drawer[data-rendered] {
|
|
38
|
+
display: flex;
|
|
18
39
|
}
|
|
19
40
|
|
|
20
|
-
/*
|
|
21
|
-
.astryx-drawer {
|
|
22
|
-
|
|
41
|
+
/* 关着时停在贴着的那一边外面,退场也滑回这里。方向跟着 DOM 的 dir 走,RTL 自动镜像。 */
|
|
42
|
+
.astryx-drawer--end {
|
|
43
|
+
inset-inline-end: 0;
|
|
44
|
+
inset-inline-start: auto;
|
|
45
|
+
border-inline-start: var(--astryx-border-width, 1px) solid var(--astryx-color-border, light-dark(#ebebeb, #ffffff1a));
|
|
46
|
+
transform: translateX(100%);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.astryx-drawer--end:dir(rtl) {
|
|
50
|
+
transform: translateX(-100%);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.astryx-drawer--start {
|
|
54
|
+
inset-inline-start: 0;
|
|
55
|
+
inset-inline-end: auto;
|
|
56
|
+
border-inline-end: var(--astryx-border-width, 1px) solid var(--astryx-color-border, light-dark(#ebebeb, #ffffff1a));
|
|
57
|
+
transform: translateX(-100%);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.astryx-drawer--start:dir(rtl) {
|
|
61
|
+
transform: translateX(100%);
|
|
23
62
|
}
|
|
24
63
|
|
|
25
64
|
/*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
* `--astryx-dialog-padding`,这里在它们之间插入抽屉自己的那一层。
|
|
65
|
+
* 打开后停在 none 而不是 translateX(0):带 transform 的面板会成为里面 fixed 浮层(提示、菜单)的参照物,
|
|
66
|
+
* 浮层就会错位、被裁掉。none 和 translateX 之间照样能过渡。
|
|
29
67
|
*/
|
|
30
|
-
.astryx-drawer
|
|
31
|
-
|
|
68
|
+
.astryx-drawer[data-open] {
|
|
69
|
+
transform: none;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
@starting-style {
|
|
73
|
+
.astryx-drawer--end[data-open] {
|
|
74
|
+
transform: translateX(100%);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.astryx-drawer--end[data-open]:dir(rtl) {
|
|
78
|
+
transform: translateX(-100%);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.astryx-drawer--start[data-open] {
|
|
82
|
+
transform: translateX(-100%);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.astryx-drawer--start[data-open]:dir(rtl) {
|
|
86
|
+
transform: translateX(100%);
|
|
87
|
+
}
|
|
32
88
|
}
|
|
33
89
|
|
|
34
|
-
|
|
35
|
-
|
|
90
|
+
/* 手机上留一条 56px 的缝露出后面的页面,同时不超过 width。 */
|
|
91
|
+
@media (max-width: 640px) {
|
|
92
|
+
.astryx-drawer {
|
|
93
|
+
width: min(var(--_drawer-width, 400px), calc(100dvw - 56px));
|
|
94
|
+
}
|
|
36
95
|
}
|
|
37
96
|
|
|
38
|
-
|
|
39
|
-
|
|
97
|
+
/* 遮罩是原生 ::backdrop,和面板同时长、同曲线淡入淡出。不加模糊:整屏模糊重绘太贵。 */
|
|
98
|
+
.astryx-drawer--scrim::backdrop {
|
|
99
|
+
background-color: var(--astryx-color-overlay, rgb(0 0 0 / 50%));
|
|
100
|
+
opacity: 0;
|
|
101
|
+
transition: opacity var(--astryx-duration-medium, 300ms) var(--astryx-ease-standard, cubic-bezier(0.24, 1, 0.4, 1));
|
|
40
102
|
}
|
|
41
103
|
|
|
42
|
-
.astryx-drawer--
|
|
43
|
-
|
|
104
|
+
.astryx-drawer--scrim[data-open]::backdrop {
|
|
105
|
+
opacity: 1;
|
|
44
106
|
}
|
|
45
107
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
108
|
+
@starting-style {
|
|
109
|
+
.astryx-drawer--scrim[data-open]::backdrop {
|
|
110
|
+
opacity: 0;
|
|
111
|
+
}
|
|
49
112
|
}
|
|
50
113
|
|
|
51
|
-
|
|
52
|
-
|
|
114
|
+
/*
|
|
115
|
+
* 内容区:可滚动,也是抽屉的容器。四边内边距各用一个变量,同时公布给 Layout 这类会撑出去的子元素。
|
|
116
|
+
* 主题给抽屉写的内边距走 `--astryx-drawer-padding`,没写就沿用对话框的,再没有就是 spacing-4。
|
|
117
|
+
* 块末尾再加上手势条的安全区,最后一行内容不会贴到它;公布出去的变量不含安全区。
|
|
118
|
+
*/
|
|
119
|
+
.astryx-drawer__content {
|
|
120
|
+
--_drawer-pad: var(--_drawer-padding, var(--astryx-drawer-padding, var(--astryx-dialog-padding, var(--astryx-spacing-4, 1rem))));
|
|
121
|
+
--container-padding-block-start: var(--_drawer-pad);
|
|
122
|
+
--container-padding-block-end: var(--_drawer-pad);
|
|
123
|
+
--container-padding-inline-start: var(--_drawer-pad);
|
|
124
|
+
--container-padding-inline-end: var(--_drawer-pad);
|
|
125
|
+
--layout-padding-own-outer-x: initial;
|
|
126
|
+
--layout-padding-own-outer-y: initial;
|
|
127
|
+
--layout-padding-outer-x: var(--_drawer-pad);
|
|
128
|
+
--layout-padding-outer-y: var(--_drawer-pad);
|
|
129
|
+
--layout-padding-inner-x: var(--_drawer-pad);
|
|
130
|
+
--layout-padding-inner-y: var(--_drawer-pad);
|
|
131
|
+
--_container-corner-block-start: 0px;
|
|
132
|
+
--_container-corner-block-end: 0px;
|
|
133
|
+
|
|
134
|
+
box-sizing: border-box;
|
|
135
|
+
display: flex;
|
|
136
|
+
flex: 1 1 auto;
|
|
137
|
+
flex-direction: column;
|
|
138
|
+
width: 100%;
|
|
139
|
+
min-height: 0;
|
|
140
|
+
padding: var(--_drawer-pad);
|
|
141
|
+
padding-block-end: calc(var(--_drawer-pad) + env(safe-area-inset-bottom, 0px));
|
|
142
|
+
overflow-x: hidden;
|
|
143
|
+
overflow-y: auto;
|
|
144
|
+
overscroll-behavior: contain;
|
|
145
|
+
touch-action: pan-y;
|
|
146
|
+
outline: none;
|
|
147
|
+
/* 内容区自己铺满表面色:主题塞进阴影里的内圈描边(暗色模式常见)会被均匀盖住,面板只剩贴边那条边框。 */
|
|
148
|
+
background-color: var(--astryx-color-background-surface, #fff);
|
|
53
149
|
}
|
|
54
150
|
|
|
55
151
|
.astryx-drawer-body {
|
|
56
152
|
display: flex;
|
|
153
|
+
flex: 1 0 auto;
|
|
57
154
|
flex-direction: column;
|
|
58
155
|
gap: var(--astryx-spacing-3, 12px);
|
|
59
156
|
min-block-size: 0;
|
|
@@ -63,33 +160,28 @@
|
|
|
63
160
|
display: flex;
|
|
64
161
|
justify-content: end;
|
|
65
162
|
gap: var(--astryx-spacing-2, 8px);
|
|
163
|
+
margin-block-start: var(--astryx-spacing-3, 12px);
|
|
66
164
|
}
|
|
67
165
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
to {
|
|
74
|
-
transform: translateX(0);
|
|
75
|
-
}
|
|
166
|
+
/* 浮层挂载点。它自己不占地方,里面的浮层都是 fixed 定位。 */
|
|
167
|
+
.astryx-drawer__layer-host {
|
|
168
|
+
display: contents;
|
|
76
169
|
}
|
|
77
170
|
|
|
171
|
+
/* 减少动效时和原版一样把滑动压到 0.01s:几乎瞬间到位,过渡仍然会结束,退场照常收尾。 */
|
|
78
172
|
@media (prefers-reduced-motion: reduce) {
|
|
79
|
-
/* 手机上留一条缝露出后面的页面,和原版一样是 56px。 */
|
|
80
|
-
@media (max-width: 640px) {
|
|
81
173
|
.astryx-drawer {
|
|
82
|
-
|
|
174
|
+
transition-duration: 0.01s;
|
|
83
175
|
}
|
|
84
|
-
}
|
|
85
176
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
177
|
+
.astryx-drawer--scrim::backdrop {
|
|
178
|
+
transition-duration: 0.01s;
|
|
179
|
+
}
|
|
89
180
|
}
|
|
90
181
|
|
|
91
|
-
|
|
92
|
-
|
|
182
|
+
@media (forced-colors: active) {
|
|
183
|
+
.astryx-drawer {
|
|
184
|
+
border-inline: 1px solid CanvasText;
|
|
93
185
|
}
|
|
94
186
|
}
|
|
95
187
|
}
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
|
|
3
|
+
/*
|
|
4
|
+
* List 拖动重排(createReorderable):行末的手柄、列表的插入线、重排模式提示里的按钮。
|
|
5
|
+
* 标记属性由 List/reorder/reorderMarks.ts 写。
|
|
6
|
+
*/
|
|
7
|
+
@layer astryx.components {
|
|
8
|
+
/* 手柄 28px 见方,里面三条 20×2 的横线(::before 加上下两道投影),行距 6px。 */
|
|
9
|
+
.astryx-list-reorder-handle {
|
|
10
|
+
position: relative;
|
|
11
|
+
align-self: center;
|
|
12
|
+
display: flex;
|
|
13
|
+
align-items: center;
|
|
14
|
+
justify-content: center;
|
|
15
|
+
flex-shrink: 0;
|
|
16
|
+
width: 28px;
|
|
17
|
+
height: 28px;
|
|
18
|
+
margin-block: -7px;
|
|
19
|
+
margin-inline-end: calc(-1 * min(8px, var(--astryx-item-inset-inline, 8px)));
|
|
20
|
+
padding: 0;
|
|
21
|
+
border: 0;
|
|
22
|
+
border-radius: 4px;
|
|
23
|
+
background-color: transparent;
|
|
24
|
+
color: var(--astryx-color-icon-secondary, #737373);
|
|
25
|
+
font: inherit;
|
|
26
|
+
cursor: grab;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.astryx-list-reorder-handle::before {
|
|
30
|
+
content: '';
|
|
31
|
+
display: block;
|
|
32
|
+
width: 20px;
|
|
33
|
+
height: 2px;
|
|
34
|
+
border-radius: 1px;
|
|
35
|
+
background-color: currentcolor;
|
|
36
|
+
box-shadow: 0 -6px currentcolor, 0 6px currentcolor;
|
|
37
|
+
forced-color-adjust: none;
|
|
38
|
+
pointer-events: none;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.astryx-list-reorder-handle:focus-visible {
|
|
42
|
+
outline: var(--astryx-focus-outline-width, 2px) var(--astryx-focus-outline-style, solid) var(--astryx-focus-outline-color, currentcolor);
|
|
43
|
+
outline-offset: calc(-1 * var(--astryx-focus-outline-width, 2px));
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.astryx-list-reorder-handle[aria-pressed='true'] {
|
|
47
|
+
background-color: var(--astryx-color-overlay-pressed, light-dark(#05365919, #ffffff19));
|
|
48
|
+
forced-color-adjust: none;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.astryx-list-reorder-handle[aria-disabled='true'] {
|
|
52
|
+
color: var(--astryx-color-icon-disabled, #a3a3a3);
|
|
53
|
+
cursor: default;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
[data-astryx-reordering] .astryx-list-reorder-handle:not([aria-disabled='true']) {
|
|
57
|
+
cursor: grabbing;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
@media (pointer: coarse) {
|
|
61
|
+
.astryx-list-reorder-handle {
|
|
62
|
+
touch-action: manipulation;
|
|
63
|
+
-webkit-tap-highlight-color: transparent;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
@media (forced-colors: active) {
|
|
68
|
+
.astryx-list-reorder-handle[aria-pressed='true'] {
|
|
69
|
+
background-color: Highlight;
|
|
70
|
+
color: HighlightText;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/* 没有尾部内容的行里,手柄是行自己的最后一个子元素,靠到末端并跟着行的对齐方式。 */
|
|
75
|
+
.astryx-list-reorder-handle[data-row-align] {
|
|
76
|
+
margin-inline-start: auto;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.astryx-list-reorder-handle[data-row-align='start'] {
|
|
80
|
+
align-self: flex-start;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.astryx-list-reorder-handle[data-row-align='first-line'] {
|
|
84
|
+
align-self: flex-start;
|
|
85
|
+
margin-block-start: calc((var(--astryx-text-body-leading, 1.4286) * var(--astryx-text-body-size, 0.875rem) - 28px) / 2);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/* 插入线:列表的 ::after,位置由 --astryx-reorder-line-* 给出,只在拖动和重排模式里显示。 */
|
|
89
|
+
.astryx-list[data-astryx-reorder-line]::after {
|
|
90
|
+
content: '';
|
|
91
|
+
position: absolute;
|
|
92
|
+
top: 0;
|
|
93
|
+
inset-inline-start: var(--astryx-reorder-line-start, 0px);
|
|
94
|
+
inline-size: var(--astryx-reorder-line-size, 0px);
|
|
95
|
+
block-size: 2px;
|
|
96
|
+
border-radius: 1px;
|
|
97
|
+
background-color: var(--astryx-color-accent, #0082fb);
|
|
98
|
+
forced-color-adjust: none;
|
|
99
|
+
translate: 0 var(--astryx-reorder-line-y, 0px);
|
|
100
|
+
pointer-events: none;
|
|
101
|
+
z-index: 2;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
@media (forced-colors: active) {
|
|
105
|
+
.astryx-list[data-astryx-reorder-line]::after {
|
|
106
|
+
background-color: Highlight;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/* 重排模式提示:键盘提示的外观,挂在手柄下方,可以点。 */
|
|
111
|
+
.astryx-list-reorder-hint {
|
|
112
|
+
pointer-events: auto;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.astryx-list-reorder-hint__button {
|
|
116
|
+
position: relative;
|
|
117
|
+
display: inline-flex;
|
|
118
|
+
align-items: center;
|
|
119
|
+
justify-content: center;
|
|
120
|
+
margin: 0;
|
|
121
|
+
padding: 0;
|
|
122
|
+
border: 0;
|
|
123
|
+
border-radius: 4px;
|
|
124
|
+
background-color: transparent;
|
|
125
|
+
color: inherit;
|
|
126
|
+
font: inherit;
|
|
127
|
+
cursor: pointer;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.astryx-list-reorder-hint__button[data-text] {
|
|
131
|
+
padding-inline: var(--astryx-spacing-1, 4px);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.astryx-list-reorder-hint__button:focus-visible {
|
|
135
|
+
outline: var(--astryx-focus-outline-width, 2px) var(--astryx-focus-outline-style, solid) var(--astryx-focus-outline-color, currentcolor);
|
|
136
|
+
}
|
|
137
|
+
}
|
package/styles/nav-menu.css
CHANGED
|
@@ -22,6 +22,11 @@
|
|
|
22
22
|
animation: astryx-scale-in var(--astryx-duration-fast-max) var(--astryx-ease-standard) both;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
+
/* 盖在触发区原位上的弹出层直接出现:它的第一行就是触发区本身,缩放进场会让这一行跳一下。 */
|
|
26
|
+
.astryx-nav-disclosure__panel--overlap {
|
|
27
|
+
animation: none;
|
|
28
|
+
}
|
|
29
|
+
|
|
25
30
|
.astryx-nav-menu {
|
|
26
31
|
display: flex;
|
|
27
32
|
flex-direction: column;
|
package/styles/side-nav.css
CHANGED
|
@@ -226,14 +226,17 @@
|
|
|
226
226
|
border-radius: var(--astryx-radius-element, 0.625rem);
|
|
227
227
|
}
|
|
228
228
|
|
|
229
|
-
.astryx-side-nav-heading--link:hover
|
|
230
|
-
.astryx-side-nav-heading--echo:hover {
|
|
229
|
+
.astryx-side-nav-heading--link:hover {
|
|
231
230
|
background: var(--astryx-color-overlay-hover);
|
|
232
231
|
}
|
|
233
232
|
|
|
233
|
+
/*
|
|
234
|
+
* 弹出层里重复的标题行:弹出层盖在标题原位上、四周外扩 8px,
|
|
235
|
+
* 这一行再从弹出层内边距往里缩 4px,文字和图标就落在原来标题的位置上。
|
|
236
|
+
*/
|
|
234
237
|
.astryx-side-nav-heading--echo {
|
|
235
|
-
width: 100
|
|
236
|
-
margin:
|
|
238
|
+
width: calc(100% - 2 * var(--astryx-spacing-1, 4px));
|
|
239
|
+
margin: var(--astryx-spacing-1, 4px) var(--astryx-spacing-1, 4px) var(--astryx-spacing-2, 8px);
|
|
237
240
|
border: 0;
|
|
238
241
|
background: transparent;
|
|
239
242
|
color: inherit;
|
package/styles/top-nav.css
CHANGED
|
@@ -131,14 +131,17 @@
|
|
|
131
131
|
grid-template-columns: auto minmax(calc(var(--astryx-spacing-7, 28px) + var(--astryx-spacing-1, 4px)), 1fr);
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
-
.astryx-top-nav-heading--link:hover
|
|
135
|
-
.astryx-top-nav-heading--echo:hover {
|
|
134
|
+
.astryx-top-nav-heading--link:hover {
|
|
136
135
|
background: var(--astryx-color-overlay-hover);
|
|
137
136
|
}
|
|
138
137
|
|
|
138
|
+
/*
|
|
139
|
+
* 弹出层里重复的标题行:弹出层盖在标题原位上、四周外扩 8px,
|
|
140
|
+
* 这一行再从弹出层内边距往里缩 4px,文字和图标就落在原来标题的位置上。
|
|
141
|
+
*/
|
|
139
142
|
.astryx-top-nav-heading--echo {
|
|
140
|
-
width: 100
|
|
141
|
-
margin:
|
|
143
|
+
width: calc(100% - 2 * var(--astryx-spacing-1, 4px));
|
|
144
|
+
margin: var(--astryx-spacing-1, 4px) var(--astryx-spacing-1, 4px) var(--astryx-spacing-2, 8px);
|
|
142
145
|
border: 0;
|
|
143
146
|
background: transparent;
|
|
144
147
|
color: inherit;
|
package/styles.css
CHANGED
package/dist/Drawer-C3t7NKiF.js
DELETED
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
import { t as _sfc_main$2 } from "./Dialog-BxijA4zr.js";
|
|
2
|
-
import { t as _sfc_main$3 } from "./DialogHeader-D7f97ksG.js";
|
|
3
|
-
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, defineComponent, getCurrentInstance, mergeProps, openBlock, renderSlot, unref, useAttrs, useSlots, withCtx } from "vue";
|
|
4
|
-
import "../styles/drawer.css";
|
|
5
|
-
//#region src/Drawer/Drawer.vue
|
|
6
|
-
const _hoisted_1 = { class: "astryx-drawer-body" };
|
|
7
|
-
const _hoisted_2 = {
|
|
8
|
-
key: 0,
|
|
9
|
-
class: "astryx-drawer-footer"
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* 贴边的模态面板。模态、焦点陷阱、焦点归还、滚动锁和 `purpose` 的关闭规则
|
|
13
|
-
* 都由 `Dialog` 负责,这里只决定贴哪一边和多大。
|
|
14
|
-
*/
|
|
15
|
-
const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
16
|
-
name: "AstryxDrawer",
|
|
17
|
-
inheritAttrs: false,
|
|
18
|
-
__name: "Drawer",
|
|
19
|
-
props: {
|
|
20
|
-
isOpen: { type: Boolean },
|
|
21
|
-
label: {},
|
|
22
|
-
placement: { default: "end" },
|
|
23
|
-
width: { default: 400 },
|
|
24
|
-
padding: { default: void 0 },
|
|
25
|
-
purpose: { default: "info" }
|
|
26
|
-
},
|
|
27
|
-
emits: ["openChange"],
|
|
28
|
-
setup(__props, { emit: __emit }) {
|
|
29
|
-
const props = __props;
|
|
30
|
-
const emit = __emit;
|
|
31
|
-
const attrs = useAttrs();
|
|
32
|
-
const position = computed(() => props.placement === "start" ? {
|
|
33
|
-
start: 0,
|
|
34
|
-
top: 0,
|
|
35
|
-
bottom: 0
|
|
36
|
-
} : {
|
|
37
|
-
end: 0,
|
|
38
|
-
top: 0,
|
|
39
|
-
bottom: 0
|
|
40
|
-
});
|
|
41
|
-
const rootAttrs = computed(() => Object.fromEntries(Object.entries(attrs).filter(([name]) => name !== "class" && name !== "style")));
|
|
42
|
-
return (_ctx, _cache) => {
|
|
43
|
-
return openBlock(), createBlock(_sfc_main$2, mergeProps(rootAttrs.value, {
|
|
44
|
-
"aria-label": __props.label,
|
|
45
|
-
class: ["astryx-drawer", [`astryx-drawer--${__props.placement}`, unref(attrs).class]],
|
|
46
|
-
"is-open": __props.isOpen,
|
|
47
|
-
"max-height": "100dvh",
|
|
48
|
-
padding: __props.padding,
|
|
49
|
-
position: position.value,
|
|
50
|
-
purpose: __props.purpose,
|
|
51
|
-
style: unref(attrs).style,
|
|
52
|
-
width: __props.width,
|
|
53
|
-
onOpenChange: _cache[0] || (_cache[0] = ($event) => emit("openChange", $event))
|
|
54
|
-
}), {
|
|
55
|
-
default: withCtx(() => [createElementVNode("div", _hoisted_1, [renderSlot(_ctx.$slots, "default")]), _ctx.$slots.footer ? (openBlock(), createElementBlock("div", _hoisted_2, [renderSlot(_ctx.$slots, "footer")])) : createCommentVNode("v-if", true)]),
|
|
56
|
-
_: 3
|
|
57
|
-
}, 16, [
|
|
58
|
-
"aria-label",
|
|
59
|
-
"class",
|
|
60
|
-
"is-open",
|
|
61
|
-
"padding",
|
|
62
|
-
"position",
|
|
63
|
-
"purpose",
|
|
64
|
-
"style",
|
|
65
|
-
"width"
|
|
66
|
-
]);
|
|
67
|
-
};
|
|
68
|
-
}
|
|
69
|
-
});
|
|
70
|
-
//#endregion
|
|
71
|
-
//#region src/Drawer/DrawerHeader.vue
|
|
72
|
-
/**
|
|
73
|
-
* 抽屉的标题行。布局、标题语义和关闭按钮的补偿边都复用 `DialogHeader`,
|
|
74
|
-
* 这里只把关闭按钮的默认值和事件名换成抽屉的说法。
|
|
75
|
-
*/
|
|
76
|
-
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
77
|
-
name: "AstryxDrawerHeader",
|
|
78
|
-
__name: "DrawerHeader",
|
|
79
|
-
props: {
|
|
80
|
-
title: {},
|
|
81
|
-
subtitle: { default: void 0 },
|
|
82
|
-
hasCloseButton: {
|
|
83
|
-
type: Boolean,
|
|
84
|
-
default: void 0
|
|
85
|
-
},
|
|
86
|
-
closeButtonLabel: { default: void 0 }
|
|
87
|
-
},
|
|
88
|
-
emits: ["openChange"],
|
|
89
|
-
setup(__props, { emit: __emit }) {
|
|
90
|
-
const props = __props;
|
|
91
|
-
const emit = __emit;
|
|
92
|
-
const instance = getCurrentInstance();
|
|
93
|
-
const slots = useSlots();
|
|
94
|
-
/**
|
|
95
|
-
* 关闭按钮只在有人接关闭请求时出现:没人处理的按钮点了什么也不会发生。
|
|
96
|
-
* 显式传 `hasCloseButton` 时以传入值为准。监听函数在渲染时才看得到,所以放在 computed 里读。
|
|
97
|
-
*/
|
|
98
|
-
const showClose = computed(() => props.hasCloseButton ?? instance?.vnode?.props?.onOpenChange != null);
|
|
99
|
-
return (_ctx, _cache) => {
|
|
100
|
-
return openBlock(), createBlock(_sfc_main$3, {
|
|
101
|
-
"close-button-label": __props.closeButtonLabel,
|
|
102
|
-
"has-close-button": showClose.value,
|
|
103
|
-
subtitle: __props.subtitle,
|
|
104
|
-
title: __props.title,
|
|
105
|
-
onOpenChange: _cache[0] || (_cache[0] = ($event) => emit("openChange", false))
|
|
106
|
-
}, createSlots({ _: 2 }, [
|
|
107
|
-
unref(slots).title ? {
|
|
108
|
-
name: "title",
|
|
109
|
-
fn: withCtx(() => [renderSlot(_ctx.$slots, "title")]),
|
|
110
|
-
key: "0"
|
|
111
|
-
} : void 0,
|
|
112
|
-
unref(slots).subtitle ? {
|
|
113
|
-
name: "subtitle",
|
|
114
|
-
fn: withCtx(() => [renderSlot(_ctx.$slots, "subtitle")]),
|
|
115
|
-
key: "1"
|
|
116
|
-
} : void 0,
|
|
117
|
-
unref(slots).startContent ? {
|
|
118
|
-
name: "startContent",
|
|
119
|
-
fn: withCtx(() => [renderSlot(_ctx.$slots, "startContent")]),
|
|
120
|
-
key: "2"
|
|
121
|
-
} : void 0,
|
|
122
|
-
unref(slots).endContent ? {
|
|
123
|
-
name: "endContent",
|
|
124
|
-
fn: withCtx(() => [renderSlot(_ctx.$slots, "endContent")]),
|
|
125
|
-
key: "3"
|
|
126
|
-
} : void 0
|
|
127
|
-
]), 1032, [
|
|
128
|
-
"close-button-label",
|
|
129
|
-
"has-close-button",
|
|
130
|
-
"subtitle",
|
|
131
|
-
"title"
|
|
132
|
-
]);
|
|
133
|
-
};
|
|
134
|
-
}
|
|
135
|
-
});
|
|
136
|
-
//#endregion
|
|
137
|
-
export { _sfc_main$1 as n, _sfc_main as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as resolveWeekStart } from "./useDateRange-D1Szw54e.js";
|
|
2
1
|
import { a as useAstryxLocale } from "./context-B8IEFCDR.js";
|
|
2
|
+
import { c as resolveWeekStart } from "./useDateRange-D1Szw54e.js";
|
|
3
3
|
import { F as plainDateToday, N as plainDateToISO, b as plainDateFromISO, p as plainDateAddDays } from "./plainDate-CaTDErKr.js";
|
|
4
4
|
import { a as calendarAddMonths, f as calendarMonthOf, g as calendarYearMonthOf, l as calendarMonthFromYearMonth, n as resolveCalendarSystem } from "./calendar-C7py_wtb.js";
|
|
5
5
|
import { i as standaloneShortWeekdayNames } from "./format-6G9QuGy1.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as _sfc_main$1 } from "./Icon-Dk0jccgU.js";
|
|
2
2
|
import { t as _sfc_main$2 } from "./VisuallyHidden-cpmsV-0M.js";
|
|
3
|
+
import { a as useAstryxLocale, o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
3
4
|
import { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
4
5
|
import { t as useHandleRef } from "./useHandleRef-6cdKugm8.js";
|
|
5
|
-
import { a as useAstryxLocale, o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
6
6
|
import { C as plainDateIsAfter, M as plainDateToDate, N as plainDateToISO, _ as plainDateDiffDays, b as plainDateFromISO, w as plainDateIsBefore, y as plainDateFromDate } from "./plainDate-CaTDErKr.js";
|
|
7
7
|
import { b as isInCalendarMonth, c as calendarDayOfMonth, h as calendarShiftYears, m as calendarShiftMonths, r as useCalendarSystem } from "./calendar-C7py_wtb.js";
|
|
8
8
|
import { a as weekdayNames, i as standaloneShortWeekdayNames, n as formatDayNumber } from "./format-6G9QuGy1.js";
|