@astryx-vue/core 0.32.0 → 0.32.1
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-C5pc5nQN.js → AlertDialog-JmxbMkeV.js} +8 -8
- package/dist/AppShell/index.d.ts +1 -1
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-B7dkDyY8.js → AppShell-mWlY4pE3.js} +4 -6
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-CYW9ZTD3.js → Avatar-B-gSpEw4.js} +1 -1
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/AvatarGroup/index.js +1 -1
- package/dist/{AvatarGroup-Dd-yDDNz.js → AvatarGroup-CCFMtKks.js} +1 -1
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Banner/index.js +1 -1
- package/dist/{Banner-BNrs2Ptl.js → Banner-BJETFZr7.js} +1 -1
- package/dist/BottomSheet/index.d.ts +1 -1
- package/dist/BottomSheet/index.js +2 -2
- package/dist/{BottomSheet-Z92IvLBU.js → BottomSheet-C6pQBvnU.js} +10 -38
- package/dist/{BottomSheet-CAJJ8cR5.js → BottomSheet-C_LoskZt.js} +3 -3
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/{Breadcrumbs-CnvaPn8M.js → Breadcrumbs-D05OmNfd.js} +1 -1
- package/dist/Button/index.d.ts +1 -1
- package/dist/Button/index.js +1 -1
- package/dist/{Button-CzMWqCpJ.js → Button-X7k1WCkW.js} +4 -4
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/ButtonGroup/index.js +1 -1
- package/dist/{ButtonGroup-oI99JAyN.js → ButtonGroup-D5E7QLWI.js} +2 -2
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Card/index.d.ts +1 -1
- package/dist/Carousel/index.d.ts +1 -1
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-BjyedZ0Y.js → Carousel-Bpbx-2DK.js} +1 -1
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-CJr2RIyc.js → Chat-D7Q2z9W2.js} +5 -5
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-BrbQTrL-.js → CheckboxInput-Cxtmdymo.js} +3 -3
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxListItem-CrAzFR4x.js → CheckboxListItem-DJrx97cA.js} +5 -5
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/ClickableCard/index.js +1 -1
- package/dist/{ClickableCard-B86P2aiM.js → ClickableCard-CLXCxaxo.js} +1 -1
- package/dist/Code/index.d.ts +1 -1
- package/dist/Code/index.js +1 -1
- package/dist/{CodeBlock-pWPw1-iu.js → CodeBlock-Bgxy15iD.js} +1 -1
- package/dist/Collapsible/index.d.ts +1 -1
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-DXl9RRaX.js → Collapsible-Cf5zttC-.js} +2 -3
- package/dist/CommandPalette/index.d.ts +1 -1
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-DnbvnT4c.js → CommandPalette-CniaCqex.js} +2 -2
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-DWQbuovE.js → ComplexSelector-DYeYZKON.js} +2 -2
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-DfoShDVW.js → ContextMenu-CLCgJG0C.js} +6 -6
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-D9_QsZMj.js → DateInput-BmEbQA1z.js} +4 -4
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-8P8i8aVI.js → DateRangeInput-CoA1PuGz.js} +3 -3
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-C2XWslHp.js → DateTimeInput-CL0sp0ES.js} +5 -5
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Dialog/index.js +3 -3
- package/dist/{Dialog-Cet6PTnf.js → Dialog-C46xHdDO.js} +1 -1
- package/dist/{Dialog-B1Hlr0x_.js → Dialog-uzq24bX_.js} +2 -2
- package/dist/{DialogHeader-BiHQct4G.js → DialogHeader-E0auaRKt.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-Bm3l7Dey.js → Drawer-DfhhdBMZ.js} +2 -2
- package/dist/DropdownMenu/index.js +2 -2
- package/dist/{DropdownMenu-BaRXEFLa.js → DropdownMenu-BWgt12MZ.js} +8 -8
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-CXDlpIdI.js → EmptyState-C8WQltQk.js} +2 -2
- package/dist/Field/index.js +3 -3
- package/dist/{Field-njr7AUcW.js → Field-CrnwM-2A.js} +1 -1
- package/dist/{FieldInfoTip-DLqZykVm.js → FieldInfoTip-DqQP1T-d.js} +1 -1
- package/dist/{FieldLabel-CyL5D1lu.js → FieldLabel-CLxclKT2.js} +1 -1
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-CtqZSRdh.js → FileInput-BHFjo_zo.js} +3 -3
- package/dist/Heading/index.d.ts +1 -1
- package/dist/Heading/index.js +1 -1
- package/dist/{Heading-BXTbW_px.js → Heading-jYno4L3t.js} +1 -1
- package/dist/HoverCard/index.js +1 -1
- package/dist/{HoverCard-zVUEeqF2.js → HoverCard-D_6idU4r.js} +4 -4
- package/dist/IconButton/index.js +1 -1
- package/dist/{IconButton-CoZFp0CP.js → IconButton-B6m42AlL.js} +1 -1
- package/dist/InfoTip/index.d.ts +1 -1
- package/dist/InfoTip/index.js +1 -1
- package/dist/{InfoTip-Eg2IGZJw.js → InfoTip-CUkTHca2.js} +2 -2
- package/dist/{InputClearButton-CBsL91my.js → InputClearButton-s_MEW25n.js} +1 -1
- package/dist/InputGroup/index.d.ts +1 -1
- package/dist/InputGroup/index.js +1 -1
- package/dist/{InputGroup-BE83-MCX.js → InputGroup-42PbUmg-.js} +1 -1
- package/dist/{Item-C9u_kQUO.js → Item-C9Cs0Jqr.js} +1 -1
- package/dist/{LayerContentBoundary-DmRI6Bg0.js → LayerContentBoundary-XvH9wmdg.js} +1 -1
- package/dist/Layout/index.d.ts +1 -1
- package/dist/Layout/index.js +2 -2
- package/dist/{Layout-094k14rN.js → Layout-tU7e1J1I.js} +1 -1
- package/dist/{LayoutPanel-BPboQAJj.js → LayoutPanel-D8t8F-sl.js} +22 -2
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-5PtYb0r4.js → Lightbox-Bur4pvRo.js} +2 -2
- package/dist/Link/index.d.ts +1 -1
- package/dist/Link/index.js +1 -1
- package/dist/{Link-BzXVGE7G.js → Link-DVslj_GH.js} +2 -2
- package/dist/List/index.d.ts +1 -1
- package/dist/List/index.js +2 -2
- package/dist/{ListItem-_lOmngHp.js → ListItem-DOFfdRA_.js} +2 -2
- package/dist/Markdown/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-HDZPj9Vw.js → Markdown-Baq5r2Mp.js} +3 -3
- package/dist/MetadataList/index.d.ts +1 -1
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-CrUf5UPQ.js → MobileNavToggle-BV3fmVmO.js} +2 -2
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-DzpufGyj.js → MoreMenu-COSDjYyl.js} +6 -6
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-BS6wxlx4.js → MultiSelector-eJSx3iZR.js} +8 -8
- package/dist/{NavDisclosure-BM0dJGLA.js → NavDisclosure-B8G8t325.js} +1 -1
- package/dist/{NavHeadingSurface-CuQnoV_V.js → NavHeadingSurface-BkNP_1au.js} +1 -1
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NavItem/index.js +1 -1
- package/dist/{NavItem-D4xHjSTo.js → NavItem-B7xpLk_x.js} +1 -1
- package/dist/NavMenu/index.js +3 -3
- package/dist/{NavMenu-fXsoJKjW.js → NavMenu-C6OU4a5Z.js} +3 -3
- package/dist/{NavMenuItem-BKY6eRkz.js → NavMenuItem-BZuajqYL.js} +3 -3
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-Ueted2wi.js → NumberInput-Dd4QQGZp.js} +3 -3
- package/dist/Outline/index.js +1 -1
- package/dist/{Outline-CnSt_KvS.js → Outline-coqRQ06s.js} +4 -3
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-KpebInhH.js → OverflowList-DS7cmNsr.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-BliQ5RGN.js → Pagination-BWPJfO4_.js} +2 -2
- package/dist/Popover/index.d.ts +1 -1
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-DXfXGrWG.js → Popover-DnrZk22Y.js} +8 -8
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-CmJKFEEu.js → PowerSearch-CDwASKYp.js} +26 -26
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/ProgressBar/index.js +1 -1
- package/dist/{ProgressBar-Dj1ucJxG.js → ProgressBar-C-HzrG8T.js} +1 -1
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-BLOjBRrM.js → RadioGroup-B-AkUDI8.js} +4 -4
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioListItem-CHxTpBva.js → RadioListItem-DhmF7YNL.js} +1 -1
- package/dist/Resizable/index.d.ts +1 -1
- package/dist/Resizable/index.js +1 -1
- package/dist/{ResizeHandle-BMSbAFdP.js → ResizeHandle-CcS-NP4r.js} +21 -4
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/SegmentedControl/index.js +1 -1
- package/dist/{SegmentedControl-C-F5dkcG.js → SegmentedControl-BdbqWErg.js} +2 -2
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/SelectableCard/index.js +1 -1
- package/dist/{SelectableCard-CwfpgsS8.js → SelectableCard-YzN6trLf.js} +1 -1
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-OhIdsI8A.js → Selector-BNr_kb6Q.js} +6 -6
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +2 -2
- package/dist/{SideNav-CcdDU-hP.js → SideNav-DnoR_4ml.js} +9 -11
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-DjbWQ1wn.js → Slider-DaHQhbA7.js} +2 -2
- package/dist/Stack/index.d.ts +1 -1
- package/dist/StatusDot/index.js +1 -1
- package/dist/{StatusDot-Bta_bpaZ.js → StatusDot-B7T0et3H.js} +1 -1
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/Stepper/index.js +1 -1
- package/dist/{Stepper-CWluGqBs.js → Stepper-C3ZFN-Gp.js} +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-D4ojsj_l.js → Switch-B8HRxp3u.js} +2 -2
- package/dist/TabList/index.d.ts +1 -1
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-S99zXoRN.js → TabList-BOQ0bvE3.js} +3 -3
- package/dist/Table/index.d.ts +2 -2
- package/dist/Table/index.js +1 -1
- package/dist/{Table-3NTjPpHc.js → Table-CoWGEhzQ.js} +11 -13
- package/dist/Text/index.d.ts +1 -1
- package/dist/Text/index.js +1 -1
- package/dist/{Text-DNKNlENe.js → Text-DqiV40AF.js} +1 -1
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-DnSmL0A8.js → TextArea-Vrx7Os5P.js} +4 -4
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-DyHEMYld.js → TextInput-DOeUROX8.js} +4 -4
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-D8GlIdNm.js → Thumbnail-BF53Z6jm.js} +3 -3
- package/dist/{TimeField-ADeT0OA1.js → TimeField-CkGXOHTG.js} +4 -4
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-C1gzJGHk.js → TimeInput-DCksf1di.js} +2 -2
- package/dist/Timer/index.js +1 -1
- package/dist/{Timer-DhI2oV5L.js → Timer-DDrODKow.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-CTZSVsmd.js → Timestamp-CCzREXNN.js} +3 -3
- package/dist/Toast/index.js +1 -1
- package/dist/{Toast-DUqDW07c.js → Toast-CoAEdN_I.js} +2 -2
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/ToggleButton/index.js +1 -1
- package/dist/{ToggleButton-BMBH2tmu.js → ToggleButton-DAW-pV4r.js} +3 -3
- package/dist/Token/index.js +1 -1
- package/dist/{Token-DTGUCgpn.js → Token-DZmmnHEj.js} +1 -1
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-C0CdEzQT.js → Tokenizer-DsPtN6tZ.js} +13 -13
- package/dist/Toolbar/index.d.ts +2 -2
- package/dist/Tooltip/index.d.ts +1 -1
- package/dist/Tooltip/index.js +2 -2
- package/dist/{Tooltip-CEyd_iFa.js → Tooltip-DhV7MkwU.js} +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-BObecD_X.js → TopNav-Djli-IEz.js} +5 -5
- package/dist/TreeList/index.d.ts +1 -1
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-CsgXzBdm.js → TreeList-CqJ3xfhB.js} +3 -4
- package/dist/Typeahead/index.d.ts +1 -1
- package/dist/Typeahead/index.js +2 -2
- package/dist/{Typeahead-C_0dTmaf.js → Typeahead-Dowds5Z-.js} +6 -6
- package/dist/{VelocityTracker-DgjmootV.js → VelocityTracker-DVbtTSXR.js} +1 -1
- package/dist/{accessibleName-Cq7krRE-.js → accessibleName-CINO01Ek.js} +1 -1
- package/dist/{animator-C0kqgDUJ.js → animator-DLWdws2R.js} +3 -2
- package/dist/{assertOptions-Km_9Y5rI.js → assertOptions-BCEzojGr.js} +1 -1
- package/dist/composables/index.d.ts +2 -2
- package/dist/composables/index.js +12 -12
- package/dist/{composables-kHI1dSq2.js → composables-B7FrCjk6.js} +11 -7
- package/dist/{context-ZWA02GaM.js → context-C_rX8KGX.js} +1 -2
- package/dist/cssValues-Cr6PhYTx.js +223 -0
- package/dist/{pressGesture-BzIBmKF2.js → gestures-C8VhWve7.js} +2 -296
- package/dist/{index-CQi9WGWE.d.ts → index-AgTJRqUY.d.ts} +2 -2
- package/dist/{index-Bxus0zuz.d.ts → index-B-Z4GL8g.d.ts} +11 -11
- package/dist/{index-CHLZPpjQ.d.ts → index-B44fLswd.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-BDZCJ9ri.d.ts → index-BuubzuE8.d.ts} +2 -2
- package/dist/{index-etx25Eq-.d.ts → index-Bwh8O-v8.d.ts} +1 -1
- package/dist/{index-Cm36VS1A.d.ts → index-C3JmGujU.d.ts} +3 -3
- package/dist/{index-CKnr0JlT.d.ts → index-C4S65SAW.d.ts} +1 -1
- package/dist/{index-D05JGsT3.d.ts → index-C8wfe0Mr.d.ts} +1 -1
- package/dist/{index-CiVrhGUJ.d.ts → index-C9ZssPUV.d.ts} +1 -1
- package/dist/{index-Bgk1Rj2A.d.ts → index-CTjkJP4x.d.ts} +1 -1
- package/dist/{index-JE1HrzdJ.d.ts → index-CUuUoX3h.d.ts} +3 -3
- package/dist/{index-FeZXsFO-.d.ts → index-CbA8rR_b.d.ts} +2 -2
- package/dist/{index-BpFzfJbo.d.ts → index-CdvmnNMH.d.ts} +2 -2
- package/dist/{index-Bzi3A980.d.ts → index-ChqMaV6N.d.ts} +1 -1
- package/dist/{index-BIiG1CF_.d.ts → index-CilCxEvD.d.ts} +4 -4
- package/dist/{index-BgT6mH3U.d.ts → index-D7ShT2c-.d.ts} +1 -1
- package/dist/{index-DIw5D3zj.d.ts → index-D8l_CmL-.d.ts} +2 -2
- package/dist/{index-DbNGGCM0.d.ts → index-DAz4l6Jw.d.ts} +1 -1
- package/dist/{index-T5bzxQ30.d.ts → index-DCyYldjP.d.ts} +1 -1
- package/dist/{index-BWWirRm3.d.ts → index-DHUCHxn2.d.ts} +1 -1
- package/dist/{index-B83v2qNb.d.ts → index-DIkdln91.d.ts} +3 -3
- package/dist/{index-CdRxeyhB.d.ts → index-DLE-sASO.d.ts} +1 -1
- package/dist/{index-CO9GW-ik.d.ts → index-DPklTi3o.d.ts} +1 -1
- package/dist/{index-Cj-Ob5jw.d.ts → index-DoYrlaEI.d.ts} +10 -10
- package/dist/{index-DGe-ApvN.d.ts → index-In41wHf3.d.ts} +4 -4
- package/dist/{index-utZGF4GR.d.ts → index-NOXYEdOI.d.ts} +1 -1
- package/dist/{index-ILJ7sKx3.d.ts → index-QC9FDUDA.d.ts} +4 -4
- package/dist/{index-4m5X7IYX.d.ts → index-Rz4jwv4Q.d.ts} +96 -96
- package/dist/{index-DogWVRJi.d.ts → index-ZXrvTM3A.d.ts} +2 -2
- package/dist/{index-DAEgHJTK.d.ts → index-aHC2C89h.d.ts} +4 -4
- 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 +36 -36
- package/dist/index.js +103 -103
- package/dist/{batch-DPlrpYU6.js → landing-DrnLUanQ.js} +812 -4
- package/dist/{layerDepth-8jb4An1z.js → layerDepth-BdZX0xSD.js} +1 -1
- package/dist/{lazyBottomSheet-CNYA5qOy.js → lazyBottomSheet-BUXYsz28.js} +1 -1
- package/dist/linearEasing-BxWjPql6.js +282 -0
- package/dist/{pressFeedback-9dqGYjxv.js → pressFeedback-CPzGi_88.js} +2 -1
- package/dist/pressGesture-BV4fYPIG.js +103 -0
- package/dist/resizableChannel-BeoqCSou.js +387 -0
- package/dist/resolveMotion-BLdMNTpf.js +117 -0
- package/dist/resolveSnapPoint-DygD-wmL.js +110 -0
- package/dist/roles-CPMsH5Ob.js +196 -0
- package/dist/rubberBand-DecgmtDj.js +123 -0
- package/dist/{resolveSnapPoint-DdZyBkT4.js → springs-BR66JuIm.js} +2 -182
- package/dist/{stillPointerGate-CpzpYNqy.js → stillPointerGate-BChxtcd6.js} +1 -1
- package/dist/{themeTiming-D1U0redl.js → themeTiming-BA_wpgEn.js} +1 -1
- package/dist/{tooltipFocusRules-BfnTnTpn.js → tooltipFocusRules-CU8eUu3v.js} +2 -2
- package/dist/{tooltipTriggerRules-BRdKWVzo.js → tooltipTriggerRules-CKfpQu9d.js} +1 -1
- package/dist/{useActionGroupTracking-CLFF7FI2.js → useActionGroupTracking-iv0p__dY.js} +3 -3
- package/dist/{useAnimatedLayout-DWWc31RR.js → useAnimatedLayout-B_mZd526.js} +1 -1
- package/dist/{useAttachment-BuNyeUXy.js → useAttachment-BohgLE3o.js} +3 -3
- package/dist/{useCombobox-DkwiskdE.js → useCombobox-BYRrwLe-.js} +1 -1
- package/dist/{useDismiss-fhWaGqY8.js → useDismiss-Qq0hUJoO.js} +1 -1
- package/dist/{useFocusTrap-DT2UCZd-.js → useFocusTrap-CX-qEF-G.js} +1 -1
- package/dist/{useInputStatusIcon-B1i0sFKu.js → useInputStatusIcon-CYvxaJvt.js} +1 -1
- package/dist/{useMenuPress-CBtTaYOS.js → useMenuPress-DDvcJNRd.js} +2 -2
- package/dist/{usePressFeedback-DHdmAsMp.js → usePressFeedback-BuyFZkQO.js} +1 -1
- package/dist/{useResizable-AfPBAq5c.js → useResizable-BIaZZDJ2.js} +411 -85
- package/dist/{useResizable-CJd4JkbJ.d.ts → useResizable-CKDaU_se.d.ts} +10 -8
- package/dist/{useTooltip-llyJd1q6.js → useTooltip-CgJi5QQW.js} +4 -4
- package/dist/{useTouchHitArea-SY1ITxSJ.js → useTouchHitArea-Dsz80HzY.js} +1 -1
- package/dist/{useTouchTriggerInternal-DzsFiDjb.js → useTouchTriggerInternal-BapohoUw.js} +1 -1
- package/dist/{useTruncationTooltip-BFm7XgvO.js → useTruncationTooltip-x1cQd8of.js} +3 -3
- package/dist/{useTypeahead-8Y5m41VA.js → useTypeahead-CZuT8Niw.js} +1 -1
- package/dist/{useTypeaheadMenuConfig-Cy-gOjVd.js → useTypeaheadMenuConfig-BMd42XKb.js} +2 -2
- package/package.json +1 -1
- package/styles/resize-handle.css +2 -0
- package/dist/edge-DFaE6rUg.js +0 -164
- package/dist/edgeRide-UdNxbwxY.js +0 -500
- package/dist/handle-CwxCHapJ.js +0 -22
- package/dist/landing-CSCE9afT.js +0 -105
- package/dist/linearEasing-BiRVC8Mq.js +0 -98
- package/dist/resizableChannel-LElsNkSY.js +0 -33
- package/dist/resolveMotion-B9NDPeUz.js +0 -508
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
import { s as isImeKeyEvent } from "./layerDepth-
|
|
1
|
+
import { s as isImeKeyEvent } from "./layerDepth-BdZX0xSD.js";
|
|
2
|
+
import { t as animatorFor } from "./animator-DLWdws2R.js";
|
|
3
|
+
import { t as resolveMotion } from "./resolveMotion-BLdMNTpf.js";
|
|
4
|
+
import { n as springs } from "./springs-BR66JuIm.js";
|
|
2
5
|
import { t as isApplePlatform } from "./isApplePlatform-B1ju6F5B.js";
|
|
3
|
-
import { r as
|
|
6
|
+
import { i as project, n as rubberBandInverse, r as rubberBandSlope, t as rubberBand } from "./rubberBand-DecgmtDj.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-BeoqCSou.js";
|
|
4
8
|
import { computed, onBeforeUnmount, onMounted, onScopeDispose, reactive, ref, toValue, watch } from "vue";
|
|
5
9
|
//#region src/composables/useHotkeys.ts
|
|
6
10
|
const KEY_ALIASES = {
|
|
@@ -76,47 +80,321 @@ function useHotkeys(hotkeys) {
|
|
|
76
80
|
});
|
|
77
81
|
}
|
|
78
82
|
//#endregion
|
|
79
|
-
//#region src/
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
size: null,
|
|
89
|
-
isCollapsed: true
|
|
90
|
-
} : {
|
|
91
|
-
size: parsed,
|
|
92
|
-
isCollapsed: null
|
|
83
|
+
//#region src/Resizable/overshootDrawing.ts
|
|
84
|
+
function createOvershootDrawing(pane, handleOf) {
|
|
85
|
+
let geometry = null;
|
|
86
|
+
let drawn = 0;
|
|
87
|
+
let springing = null;
|
|
88
|
+
const measure = () => {
|
|
89
|
+
geometry ??= {
|
|
90
|
+
...edgeAxis(pane),
|
|
91
|
+
handle: handleOf()
|
|
93
92
|
};
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
93
|
+
return geometry;
|
|
94
|
+
};
|
|
95
|
+
const animator = () => {
|
|
96
|
+
const handle = geometry?.handle;
|
|
97
|
+
return handle == null ? null : animatorFor(handle);
|
|
98
|
+
};
|
|
99
|
+
return {
|
|
100
|
+
draw(amount) {
|
|
101
|
+
const isAtRest = drawn === 0 && springing == null;
|
|
102
|
+
if (isAtRest && amount === 0) return;
|
|
103
|
+
if (isAtRest) geometry = null;
|
|
104
|
+
springing = null;
|
|
105
|
+
drawn = amount;
|
|
106
|
+
const { sign, axis } = measure();
|
|
107
|
+
animator()?.set({ [axis]: sign * amount });
|
|
108
|
+
},
|
|
109
|
+
springBack(spring, velocity) {
|
|
110
|
+
const motion = animator();
|
|
111
|
+
if (drawn === 0 || motion == null || geometry == null) return false;
|
|
112
|
+
const { sign, axis } = geometry;
|
|
113
|
+
drawn = 0;
|
|
114
|
+
const played = motion.animate({ [axis]: 0 }, {
|
|
115
|
+
spring,
|
|
116
|
+
velocity: { [axis]: sign * velocity }
|
|
117
|
+
});
|
|
118
|
+
springing = played;
|
|
119
|
+
played.finished.then(() => {
|
|
120
|
+
if (springing === played) springing = null;
|
|
121
|
+
});
|
|
122
|
+
return true;
|
|
123
|
+
},
|
|
124
|
+
shown() {
|
|
125
|
+
const motion = animator();
|
|
126
|
+
if (springing == null || motion == null || geometry == null) return drawn;
|
|
127
|
+
return geometry.sign * motion.get(geometry.axis);
|
|
128
|
+
},
|
|
129
|
+
clear() {
|
|
130
|
+
if (geometry != null && (drawn !== 0 || springing != null)) animator()?.set({ [geometry.axis]: 0 }, { promote: false });
|
|
131
|
+
springing = null;
|
|
132
|
+
drawn = 0;
|
|
133
|
+
geometry = null;
|
|
134
|
+
}
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
function reducesMotion(element) {
|
|
138
|
+
return element?.ownerDocument.defaultView?.matchMedia?.("(prefers-reduced-motion: reduce)").matches === true;
|
|
139
|
+
}
|
|
140
|
+
function createRegionMotion(host) {
|
|
141
|
+
let pane = null;
|
|
142
|
+
let drawing = null;
|
|
143
|
+
const paneReveal = createPaneReveal(() => pane?.element.parentElement ?? null);
|
|
144
|
+
let pendingFlip = null;
|
|
145
|
+
let isPointerReopening = false;
|
|
146
|
+
let isPointerGesture = false;
|
|
147
|
+
let limits = {
|
|
148
|
+
min: 0,
|
|
149
|
+
max: Number.POSITIVE_INFINITY
|
|
150
|
+
};
|
|
151
|
+
let dragStartSize = 0;
|
|
152
|
+
let pointerSize = 0;
|
|
153
|
+
let sizeBeforeDrag = null;
|
|
154
|
+
let overshoot = 0;
|
|
155
|
+
let caught = 0;
|
|
156
|
+
let isDrawingHeldForSlide = false;
|
|
157
|
+
let isSpringingBack = false;
|
|
158
|
+
let closingSlide = null;
|
|
159
|
+
let held = null;
|
|
160
|
+
const slot = createRegionPaneSlot((next) => {
|
|
161
|
+
paneReveal.land();
|
|
162
|
+
pendingFlip = null;
|
|
163
|
+
isDrawingHeldForSlide = false;
|
|
164
|
+
drawing?.clear();
|
|
165
|
+
pane = next;
|
|
166
|
+
drawing = next == null ? null : createOvershootDrawing(next, () => host.handleOf(next));
|
|
167
|
+
});
|
|
168
|
+
slot.listen({
|
|
169
|
+
beforeChange(toCollapsed) {
|
|
170
|
+
if (pane == null) return;
|
|
171
|
+
if (pendingFlip?.toCollapsed === toCollapsed) {
|
|
172
|
+
const { isPlayable } = pendingFlip;
|
|
173
|
+
pendingFlip = null;
|
|
174
|
+
if (isPlayable) paneReveal.measure(pane);
|
|
175
|
+
else paneReveal.land();
|
|
176
|
+
}
|
|
177
|
+
dropHeldDrawing();
|
|
178
|
+
},
|
|
179
|
+
committed() {
|
|
180
|
+
dropHeldDrawing();
|
|
181
|
+
if (pane != null) paneReveal.committed(pane);
|
|
182
|
+
}
|
|
183
|
+
});
|
|
184
|
+
function dropHeldDrawing() {
|
|
185
|
+
if (isDrawingHeldForSlide) {
|
|
186
|
+
isDrawingHeldForSlide = false;
|
|
187
|
+
drawing?.clear();
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
function overshootPast(raw) {
|
|
191
|
+
const { min, max } = limits;
|
|
192
|
+
if (raw >= min && raw <= max) {
|
|
193
|
+
caught = 0;
|
|
194
|
+
return 0;
|
|
195
|
+
}
|
|
196
|
+
const bound = raw > max ? max : min;
|
|
197
|
+
const excess = raw - bound;
|
|
198
|
+
const kept = Math.sign(caught) === Math.sign(excess) ? caught : 0;
|
|
199
|
+
const shown = Math.abs(excess) <= Math.abs(kept) ? excess : kept + rubberBand(excess - kept, Math.max(8 - Math.abs(kept), 0));
|
|
200
|
+
return Math.max(bound + shown, 0) - bound;
|
|
201
|
+
}
|
|
202
|
+
function paintAt(raw, reopens, useSnaps = true) {
|
|
203
|
+
isPointerReopening = reopens;
|
|
204
|
+
try {
|
|
205
|
+
host.paint(raw, useSnaps);
|
|
206
|
+
} finally {
|
|
207
|
+
isPointerReopening = false;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
function settleOvershoot(velocity) {
|
|
211
|
+
const from = overshoot;
|
|
212
|
+
isSpringingBack = false;
|
|
213
|
+
overshoot = 0;
|
|
214
|
+
if (from === 0 || drawing == null || pane == null) {
|
|
215
|
+
drawing?.clear();
|
|
216
|
+
return;
|
|
217
|
+
}
|
|
218
|
+
if (reducesMotion(pane.element)) {
|
|
219
|
+
drawing.clear();
|
|
220
|
+
return;
|
|
221
|
+
}
|
|
222
|
+
const slope = rubberBandSlope(rubberBandInverse(from, 8), 8);
|
|
223
|
+
isSpringingBack = drawing.springBack(resolveMotion(pane.element, springs.settle), velocity * slope);
|
|
224
|
+
}
|
|
225
|
+
function closingShown() {
|
|
226
|
+
const element = pane?.element;
|
|
227
|
+
const view = element?.ownerDocument.defaultView;
|
|
228
|
+
if (closingSlide == null || element == null || view == null) return 0;
|
|
229
|
+
const elapsed = typeof element.getAnimations === "function" ? Number(element.getAnimations().find((motion) => (motion.playState === "running" || motion.playState === "paused") && isScriptMotion(motion))?.currentTime ?? Number.POSITIVE_INFINITY) : view.performance.now() - closingSlide.startedAt;
|
|
230
|
+
const share = closingSlide.remaining(elapsed);
|
|
231
|
+
if (!(share > 0)) return 0;
|
|
232
|
+
return closingSlide.readShown?.() ?? closingSlide.fromSize * share;
|
|
233
|
+
}
|
|
234
|
+
function reopenAt(size) {
|
|
235
|
+
sizeBeforeDrag = Math.min(limits.max, Math.max(limits.min, size));
|
|
236
|
+
caught = 0;
|
|
237
|
+
overshoot = pane == null ? 0 : overshootPast(size);
|
|
238
|
+
drawing?.draw(overshoot);
|
|
239
|
+
paintAt(size, true, false);
|
|
240
|
+
}
|
|
241
|
+
function catchClosing(shownSize, slide) {
|
|
242
|
+
dragStartSize = shownSize;
|
|
243
|
+
pointerSize = shownSize;
|
|
244
|
+
if (shownSize >= limits.min) {
|
|
245
|
+
reopenAt(shownSize);
|
|
246
|
+
return;
|
|
247
|
+
}
|
|
248
|
+
const motions = pane == null ? [] : slideMotionsOf(pane);
|
|
249
|
+
for (const motion of motions) motion.pause();
|
|
250
|
+
const elapsed = Number(motions[0]?.currentTime ?? 0);
|
|
251
|
+
const share = slide.remaining(Number.isFinite(elapsed) ? elapsed : 0);
|
|
252
|
+
const shutSize = share < .98 ? (shownSize - slide.fromSize * share) / (1 - share) : 0;
|
|
253
|
+
held = {
|
|
254
|
+
slide,
|
|
255
|
+
motions,
|
|
256
|
+
durationMs: Number(motions[0]?.effect?.getComputedTiming().duration ?? 0),
|
|
257
|
+
shutSize
|
|
258
|
+
};
|
|
259
|
+
}
|
|
260
|
+
function holdAt(size) {
|
|
261
|
+
if (held == null) return;
|
|
262
|
+
const { slide, motions, durationMs, shutSize } = held;
|
|
263
|
+
const span = slide.fromSize - shutSize;
|
|
264
|
+
const share = span > 0 ? Math.min(1, Math.max(0, (size - shutSize) / span)) : 0;
|
|
265
|
+
let low = 0;
|
|
266
|
+
let high = durationMs;
|
|
267
|
+
while (high - low > .05) {
|
|
268
|
+
const mid = (low + high) / 2;
|
|
269
|
+
if (slide.remaining(mid) > share) low = mid;
|
|
270
|
+
else high = mid;
|
|
271
|
+
}
|
|
272
|
+
for (const motion of motions) motion.currentTime = (low + high) / 2;
|
|
273
|
+
}
|
|
274
|
+
function letGoOfHeldSlide(velocity) {
|
|
275
|
+
const current = held;
|
|
276
|
+
held = null;
|
|
277
|
+
if (current == null) return;
|
|
278
|
+
if (Math.min(pointerSize, project(pointerSize, velocity)) < host.collapsedSize) {
|
|
279
|
+
for (const motion of current.motions) motion.play();
|
|
280
|
+
const view = pane?.element.ownerDocument.defaultView;
|
|
281
|
+
const elapsed = Number(current.motions[0]?.currentTime ?? 0);
|
|
282
|
+
if (view != null && Number.isFinite(elapsed)) closingSlide = {
|
|
283
|
+
...current.slide,
|
|
284
|
+
startedAt: view.performance.now() - elapsed
|
|
100
285
|
};
|
|
286
|
+
return;
|
|
101
287
|
}
|
|
102
|
-
|
|
103
|
-
|
|
288
|
+
const row = pane?.element.parentElement;
|
|
289
|
+
if (row != null) slideNextOnRelease(row, velocity, Math.max(limits.min - pointerSize, 1));
|
|
290
|
+
host.paint(limits.min, false);
|
|
104
291
|
}
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
292
|
+
function closeOnRelease(velocity) {
|
|
293
|
+
isSpringingBack = false;
|
|
294
|
+
const drawnAtLift = overshoot;
|
|
295
|
+
const shown = host.size() + overshoot;
|
|
296
|
+
const readShown = pane == null ? null : shownSizeReader(pane, host.handleOf(pane), shown);
|
|
297
|
+
overshoot = 0;
|
|
298
|
+
isDrawingHeldForSlide = drawing != null;
|
|
299
|
+
const row = pane?.element.parentElement;
|
|
300
|
+
const remaining = row == null ? null : slideNextOnRelease(row, -velocity, shown);
|
|
301
|
+
const view = pane?.element.ownerDocument.defaultView;
|
|
302
|
+
closingSlide = remaining == null || view == null || reducesMotion(pane?.element) ? null : {
|
|
303
|
+
fromSize: shown,
|
|
304
|
+
startedAt: view.performance.now(),
|
|
305
|
+
remaining,
|
|
306
|
+
readShown
|
|
307
|
+
};
|
|
308
|
+
host.close(sizeBeforeDrag);
|
|
309
|
+
if (isDrawingHeldForSlide) {
|
|
310
|
+
const springBackIfKept = () => {
|
|
311
|
+
if (!isDrawingHeldForSlide) return;
|
|
312
|
+
isDrawingHeldForSlide = false;
|
|
313
|
+
overshoot = drawnAtLift;
|
|
314
|
+
settleOvershoot(velocity);
|
|
315
|
+
};
|
|
316
|
+
if (typeof view?.requestAnimationFrame === "function") view.requestAnimationFrame(springBackIfKept);
|
|
317
|
+
else setTimeout(springBackIfKept, 16);
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
return {
|
|
321
|
+
slot,
|
|
322
|
+
start() {
|
|
323
|
+
dropHeldDrawing();
|
|
324
|
+
limits = host.limits();
|
|
325
|
+
const isPointer = slot.isPointerDragging();
|
|
326
|
+
isPointerGesture = isPointer;
|
|
327
|
+
const closing = host.isCollapsed() && isPointer ? closingShown() : 0;
|
|
328
|
+
const slide = closingSlide;
|
|
329
|
+
closingSlide = null;
|
|
330
|
+
if (closing > 0 && slide != null) {
|
|
331
|
+
catchClosing(closing, slide);
|
|
332
|
+
return;
|
|
333
|
+
}
|
|
334
|
+
const shown = !isPointer ? 0 : isSpringingBack ? drawing?.shown() ?? 0 : overshoot;
|
|
335
|
+
isSpringingBack = false;
|
|
336
|
+
overshoot = shown;
|
|
337
|
+
caught = shown;
|
|
338
|
+
drawing?.draw(shown);
|
|
339
|
+
dragStartSize = (host.isCollapsed() ? 0 : host.size()) + shown;
|
|
340
|
+
pointerSize = dragStartSize;
|
|
341
|
+
sizeBeforeDrag = host.isCollapsed() ? null : host.size();
|
|
342
|
+
},
|
|
343
|
+
move(delta) {
|
|
344
|
+
const raw = dragStartSize + delta;
|
|
345
|
+
pointerSize = raw;
|
|
346
|
+
if (held != null) {
|
|
347
|
+
if (raw < limits.min) {
|
|
348
|
+
holdAt(raw);
|
|
349
|
+
return;
|
|
350
|
+
}
|
|
351
|
+
held = null;
|
|
352
|
+
reopenAt(raw);
|
|
353
|
+
return;
|
|
354
|
+
}
|
|
355
|
+
if (host.isCollapsed() && raw < host.collapsedSize) return;
|
|
356
|
+
const reopens = host.isCollapsed();
|
|
357
|
+
const isPointer = slot.isPointerDragging();
|
|
358
|
+
overshoot = pane == null || !isPointer ? 0 : overshootPast(raw);
|
|
359
|
+
drawing?.draw(overshoot);
|
|
360
|
+
paintAt(raw, reopens && isPointer);
|
|
361
|
+
},
|
|
362
|
+
end(velocity = 0) {
|
|
363
|
+
if (held != null) {
|
|
364
|
+
letGoOfHeldSlide(velocity);
|
|
365
|
+
host.endGesture();
|
|
366
|
+
return;
|
|
367
|
+
}
|
|
368
|
+
const closes = host.collapsible && !host.isCollapsed() && Math.min(pointerSize, project(pointerSize, velocity)) < host.collapsedSize;
|
|
369
|
+
if (closes && !isPointerGesture) host.close(sizeBeforeDrag);
|
|
370
|
+
else if (closes) closeOnRelease(velocity);
|
|
371
|
+
else settleOvershoot(velocity);
|
|
372
|
+
host.endGesture();
|
|
373
|
+
},
|
|
374
|
+
cancel() {
|
|
375
|
+
if (held != null) letGoOfHeldSlide(Number.NEGATIVE_INFINITY);
|
|
376
|
+
else settleOvershoot(0);
|
|
377
|
+
host.endGesture();
|
|
378
|
+
},
|
|
379
|
+
noteChange(wasCollapsed, isCollapsed) {
|
|
380
|
+
if (wasCollapsed !== isCollapsed) {
|
|
381
|
+
pendingFlip = {
|
|
382
|
+
toCollapsed: isCollapsed,
|
|
383
|
+
isPlayable: !isPointerReopening
|
|
384
|
+
};
|
|
385
|
+
if (isPointerReopening) paneReveal.land();
|
|
386
|
+
return;
|
|
387
|
+
}
|
|
388
|
+
paneReveal.land();
|
|
389
|
+
},
|
|
390
|
+
dispose() {
|
|
391
|
+
paneReveal.land();
|
|
392
|
+
drawing?.clear();
|
|
393
|
+
}
|
|
394
|
+
};
|
|
114
395
|
}
|
|
115
396
|
//#endregion
|
|
116
|
-
//#region src/composables/
|
|
117
|
-
const DEFAULT_SIZE = 250;
|
|
118
|
-
const DEFAULT_MIN = 50;
|
|
119
|
-
const DEFAULT_COLLAPSED_SIZE = 40;
|
|
397
|
+
//#region src/composables/internal/resizableSize.ts
|
|
120
398
|
const UNMEASURED_BASIS = 1200;
|
|
121
399
|
function percent(value, options) {
|
|
122
400
|
return {
|
|
@@ -187,6 +465,48 @@ function contentBox(element, direction) {
|
|
|
187
465
|
const size = direction === "vertical" ? element.clientHeight - Number.parseFloat(style.paddingTop) - Number.parseFloat(style.paddingBottom) : element.clientWidth - Number.parseFloat(style.paddingLeft) - Number.parseFloat(style.paddingRight);
|
|
188
466
|
return Number.isFinite(size) ? size : null;
|
|
189
467
|
}
|
|
468
|
+
//#endregion
|
|
469
|
+
//#region src/composables/internal/resizableStorage.ts
|
|
470
|
+
const STORAGE_PREFIX = "astryx-resizable:";
|
|
471
|
+
function loadPersistedState(key) {
|
|
472
|
+
if (typeof window === "undefined") return null;
|
|
473
|
+
try {
|
|
474
|
+
const raw = localStorage.getItem(STORAGE_PREFIX + key);
|
|
475
|
+
if (raw == null) return null;
|
|
476
|
+
const parsed = JSON.parse(raw);
|
|
477
|
+
if (typeof parsed === "number" && Number.isFinite(parsed)) return parsed === 0 ? {
|
|
478
|
+
size: null,
|
|
479
|
+
isCollapsed: true
|
|
480
|
+
} : {
|
|
481
|
+
size: parsed,
|
|
482
|
+
isCollapsed: null
|
|
483
|
+
};
|
|
484
|
+
if (typeof parsed === "object" && parsed != null) {
|
|
485
|
+
const record = parsed;
|
|
486
|
+
const hasSize = typeof record.size === "number" && Number.isFinite(record.size) && record.size > 0;
|
|
487
|
+
if (hasSize || record.isCollapsed === true) return {
|
|
488
|
+
size: hasSize ? record.size : null,
|
|
489
|
+
isCollapsed: record.isCollapsed === true
|
|
490
|
+
};
|
|
491
|
+
}
|
|
492
|
+
} catch {
|
|
493
|
+
return null;
|
|
494
|
+
}
|
|
495
|
+
return null;
|
|
496
|
+
}
|
|
497
|
+
function savePersistedState(key, size, isCollapsed) {
|
|
498
|
+
try {
|
|
499
|
+
localStorage.setItem(STORAGE_PREFIX + key, JSON.stringify({
|
|
500
|
+
size,
|
|
501
|
+
isCollapsed
|
|
502
|
+
}));
|
|
503
|
+
} catch {}
|
|
504
|
+
}
|
|
505
|
+
//#endregion
|
|
506
|
+
//#region src/composables/useResizable.ts
|
|
507
|
+
const DEFAULT_SIZE = 250;
|
|
508
|
+
const DEFAULT_MIN = 50;
|
|
509
|
+
const DEFAULT_COLLAPSED_SIZE = 40;
|
|
190
510
|
function useSingleRegion(options, cascade) {
|
|
191
511
|
const direction = options.direction ?? "horizontal";
|
|
192
512
|
const collapsible = options.collapsible ?? false;
|
|
@@ -198,7 +518,6 @@ function useSingleRegion(options, cascade) {
|
|
|
198
518
|
const basisMeasured = ref(true);
|
|
199
519
|
const controlledCollapse = computed(() => options.isCollapsed);
|
|
200
520
|
const clientExtent = ref(null);
|
|
201
|
-
let origin = DEFAULT_SIZE;
|
|
202
521
|
let settledDefault = false;
|
|
203
522
|
let dragging = false;
|
|
204
523
|
let dragLimits = null;
|
|
@@ -227,17 +546,52 @@ function useSingleRegion(options, cascade) {
|
|
|
227
546
|
max: parseSize(options.maxSize, basis.px, Number.POSITIVE_INFINITY)
|
|
228
547
|
};
|
|
229
548
|
}
|
|
230
|
-
|
|
231
|
-
|
|
549
|
+
const motion = createRegionMotion({
|
|
550
|
+
isCollapsed: () => isCollapsed.value,
|
|
551
|
+
size: () => size.value,
|
|
552
|
+
limits: () => limits(),
|
|
553
|
+
collapsible,
|
|
554
|
+
collapsedSize,
|
|
555
|
+
handleOf: (pane) => resizeHandleBeside(pane.element, pane.contentFacingEdge() === "inline-start" ? "end" : "start"),
|
|
556
|
+
paint(raw, useSnaps) {
|
|
557
|
+
const wasCollapsed = isCollapsed.value;
|
|
558
|
+
if (wasCollapsed && options.isCollapsed != null) {
|
|
559
|
+
const bounds = dragLimits ?? limits();
|
|
560
|
+
expandedSize.value = clampSize(raw, bounds.min, bounds.max, useSnaps ? snaps : []);
|
|
561
|
+
options.onCollapseChange?.(false);
|
|
562
|
+
return expandedSize.value;
|
|
563
|
+
}
|
|
564
|
+
applySize(raw, false, dragLimits ?? limits(), useSnaps);
|
|
565
|
+
if (wasCollapsed) options.onCollapseChange?.(false);
|
|
566
|
+
options.onSizeChange?.(size.value);
|
|
567
|
+
return size.value;
|
|
568
|
+
},
|
|
569
|
+
close(expandTo) {
|
|
570
|
+
if (expandTo != null) expandedSize.value = expandTo;
|
|
571
|
+
setCollapsed(true);
|
|
572
|
+
options.onSizeChange?.(0);
|
|
573
|
+
},
|
|
574
|
+
endGesture() {
|
|
575
|
+
dragging = false;
|
|
576
|
+
dragLimits = null;
|
|
577
|
+
persist();
|
|
578
|
+
cascade?.settle();
|
|
579
|
+
}
|
|
580
|
+
});
|
|
581
|
+
function commitState(nextSize, collapsed) {
|
|
582
|
+
const wasCollapsed = isCollapsed.value;
|
|
583
|
+
const previous = size.value;
|
|
584
|
+
isCollapsed.value = collapsed;
|
|
585
|
+
size.value = nextSize;
|
|
586
|
+
if (!collapsed) expandedSize.value = nextSize;
|
|
587
|
+
if (wasCollapsed !== collapsed || previous !== nextSize) motion.noteChange(wasCollapsed, collapsed);
|
|
588
|
+
}
|
|
589
|
+
function applySize(next, collapsed, bounds = limits(), useSnaps = true) {
|
|
232
590
|
if (collapsed && collapsible) {
|
|
233
|
-
|
|
234
|
-
size.value = 0;
|
|
591
|
+
commitState(0, true);
|
|
235
592
|
return;
|
|
236
593
|
}
|
|
237
|
-
|
|
238
|
-
isCollapsed.value = false;
|
|
239
|
-
size.value = clamped;
|
|
240
|
-
expandedSize.value = clamped;
|
|
594
|
+
commitState(clampSize(next, bounds.min, bounds.max, useSnaps ? snaps : []), false);
|
|
241
595
|
}
|
|
242
596
|
function restore() {
|
|
243
597
|
const basis = currentBasis();
|
|
@@ -277,47 +631,16 @@ function useSingleRegion(options, cascade) {
|
|
|
277
631
|
options.onSizeChange?.(size.value);
|
|
278
632
|
persist();
|
|
279
633
|
}
|
|
280
|
-
function paintDrag(next, collapsed) {
|
|
281
|
-
const bounds = dragLimits ?? limits();
|
|
282
|
-
if (collapsed && collapsible) {
|
|
283
|
-
isCollapsed.value = true;
|
|
284
|
-
size.value = 0;
|
|
285
|
-
return;
|
|
286
|
-
}
|
|
287
|
-
const clamped = clampSize(next, bounds.min, bounds.max, snaps);
|
|
288
|
-
isCollapsed.value = false;
|
|
289
|
-
size.value = clamped;
|
|
290
|
-
expandedSize.value = clamped;
|
|
291
|
-
}
|
|
292
634
|
function onResizeStart() {
|
|
293
635
|
dragging = true;
|
|
294
|
-
origin = isCollapsed.value ? 0 : size.value;
|
|
295
636
|
dragLimits = limits();
|
|
296
|
-
|
|
297
|
-
function onResizeMove(delta) {
|
|
298
|
-
const raw = origin + delta;
|
|
299
|
-
if (collapsible && raw < collapsedSize) {
|
|
300
|
-
if (!isCollapsed.value) {
|
|
301
|
-
paintDrag(0, true);
|
|
302
|
-
options.onCollapseChange?.(true);
|
|
303
|
-
options.onSizeChange?.(0);
|
|
304
|
-
}
|
|
305
|
-
return;
|
|
306
|
-
}
|
|
307
|
-
const wasCollapsed = isCollapsed.value;
|
|
308
|
-
paintDrag(raw, false);
|
|
309
|
-
if (wasCollapsed) options.onCollapseChange?.(false);
|
|
310
|
-
options.onSizeChange?.(size.value);
|
|
311
|
-
}
|
|
312
|
-
function onResizeEnd() {
|
|
313
|
-
dragging = false;
|
|
314
|
-
dragLimits = null;
|
|
315
|
-
persist();
|
|
316
|
-
cascade?.settle();
|
|
637
|
+
motion.start();
|
|
317
638
|
}
|
|
318
639
|
function applyDisplay(next) {
|
|
319
640
|
if (isCollapsed.value) return;
|
|
641
|
+
const previous = size.value;
|
|
320
642
|
size.value = next;
|
|
643
|
+
if (previous !== next) motion.noteChange(false, false);
|
|
321
644
|
}
|
|
322
645
|
const props = computed(() => {
|
|
323
646
|
const { min, max } = limits();
|
|
@@ -325,9 +648,9 @@ function useSingleRegion(options, cascade) {
|
|
|
325
648
|
_size: size.value,
|
|
326
649
|
_isCollapsed: isCollapsed.value,
|
|
327
650
|
_onResizeStart: onResizeStart,
|
|
328
|
-
_onResizeMove:
|
|
329
|
-
_onResizeEnd:
|
|
330
|
-
_onResizeCancel:
|
|
651
|
+
_onResizeMove: motion.move,
|
|
652
|
+
_onResizeEnd: () => motion.end(),
|
|
653
|
+
_onResizeCancel: motion.cancel,
|
|
331
654
|
_minSizePx: min,
|
|
332
655
|
_maxSizePx: max,
|
|
333
656
|
_snaps: snaps,
|
|
@@ -338,8 +661,10 @@ function useSingleRegion(options, cascade) {
|
|
|
338
661
|
};
|
|
339
662
|
registerResizableChannel(value, {
|
|
340
663
|
collapse: () => setCollapsed(true),
|
|
341
|
-
expand: () => setCollapsed(false)
|
|
664
|
+
expand: () => setCollapsed(false),
|
|
665
|
+
release: motion.end
|
|
342
666
|
}, reportedMax(min, max));
|
|
667
|
+
registerPropsRegion(value, motion.slot);
|
|
343
668
|
return value;
|
|
344
669
|
});
|
|
345
670
|
function measureDefault() {
|
|
@@ -365,6 +690,7 @@ function useSingleRegion(options, cascade) {
|
|
|
365
690
|
});
|
|
366
691
|
onBeforeUnmount(() => {
|
|
367
692
|
observer?.disconnect();
|
|
693
|
+
motion.dispose();
|
|
368
694
|
if (dragging) persist();
|
|
369
695
|
});
|
|
370
696
|
watch(controlledCollapse, (next) => {
|
|
@@ -456,4 +782,4 @@ function useResizable(options) {
|
|
|
456
782
|
return useSingleRegion(options);
|
|
457
783
|
}
|
|
458
784
|
//#endregion
|
|
459
|
-
export {
|
|
785
|
+
export { percent as n, useHotkeys as r, useResizable as t };
|
|
@@ -402,6 +402,15 @@ interface TableSelectionToolbarSlots {
|
|
|
402
402
|
default?: () => VNodeChild;
|
|
403
403
|
}
|
|
404
404
|
//#endregion
|
|
405
|
+
//#region src/composables/internal/resizableSize.d.ts
|
|
406
|
+
declare function percent(value: number, options: {
|
|
407
|
+
min: PixelWidth;
|
|
408
|
+
max?: never;
|
|
409
|
+
} | {
|
|
410
|
+
min?: never;
|
|
411
|
+
max: PixelWidth;
|
|
412
|
+
}): ResizablePercentSize;
|
|
413
|
+
//#endregion
|
|
405
414
|
//#region src/composables/useResizable.d.ts
|
|
406
415
|
type ResizableDirection = 'horizontal' | 'vertical';
|
|
407
416
|
interface ResizablePercentSize {
|
|
@@ -459,16 +468,9 @@ interface ResizableRegion {
|
|
|
459
468
|
resize: (size: number) => void;
|
|
460
469
|
props: ResizableProps;
|
|
461
470
|
}
|
|
462
|
-
declare function percent(value: number, options: {
|
|
463
|
-
min: PixelWidth;
|
|
464
|
-
max?: never;
|
|
465
|
-
} | {
|
|
466
|
-
min?: never;
|
|
467
|
-
max: PixelWidth;
|
|
468
|
-
}): ResizablePercentSize;
|
|
469
471
|
declare function useResizable(options: UseResizableMultiConfig): Record<string, ResizableRegion>;
|
|
470
472
|
declare function useResizable(options: UseResizableSingleOptions): ResizableRegion;
|
|
471
473
|
type UseResizableOptions = UseResizableSingleOptions | UseResizableMultiConfig;
|
|
472
474
|
type ResizableState = ResizableRegion;
|
|
473
475
|
//#endregion
|
|
474
|
-
export { useTableSelectionState as $, TableLoadingState as A, TableSelectionToolbarSlots as B, TableFilterField as C, TableFilterVariant as D, TableFilterValue as E, TableRowMenuItem as F, TableTextOverflow as G, TableSortDirection as H, TableRowModel as I, TableSelectedKeysSetter as J, TableVerticalAlign as K, TableRowPatch as L, TablePlugin as M, TableProps as N, TableGroupPatch as O, TableRowListeners as P, useTableSelection as Q, TableRowProps as R, TableDividers as S, TableFilterState as T, TableSortEntry as U, TableSlots as V, TableSortState as W, UseTableSelectionConfig as X, TableSelectionState as Y, UseTableSelectionStateConfig as Z, TableCellProps as _, ResizableRegionConfig as a, TableColumnResizeContribution as b, UseResizableMultiConfig as c,
|
|
476
|
+
export { useTableSelectionState as $, TableLoadingState as A, TableSelectionToolbarSlots as B, TableFilterField as C, TableFilterVariant as D, TableFilterValue as E, TableRowMenuItem as F, TableTextOverflow as G, TableSortDirection as H, TableRowModel as I, TableSelectedKeysSetter as J, TableVerticalAlign as K, TableRowPatch as L, TablePlugin as M, TableProps as N, TableGroupPatch as O, TableRowListeners as P, useTableSelection as Q, TableRowProps as R, TableDividers as S, TableFilterState as T, TableSortEntry as U, TableSlots as V, TableSortState as W, UseTableSelectionConfig as X, TableSelectionState as Y, UseTableSelectionStateConfig as Z, TableCellProps as _, ResizableRegionConfig as a, TableColumnResizeContribution as b, UseResizableMultiConfig as c, useResizable as d, ToolbarOrientation as et, percent as f, TableCellPatch as g, ProportionalWidth as h, ResizableRegion as i, ToolbarVariant as it, TablePanelPatch as j, TableHeaderPatch as k, UseResizableOptions as l, PixelWidth as m, ResizablePercentSize as n, ToolbarSize as nt, ResizableSize as o, ColumnWidth as p, TableVirtualizationContribution as q, ResizableProps as r, ToolbarSlots as rt, ResizableState as s, ResizableDirection as t, ToolbarProps as tt, UseResizableSingleOptions as u, TableColumn as v, TableFilterFieldType as w, TableDensity as x, TableColumnAlign as y, TableSelectionToolbarProps as z };
|
|
@@ -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-CKfpQu9d.js";
|
|
4
|
+
import { t as _sfc_main$1 } from "./LayerContentBoundary-XvH9wmdg.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-BapohoUw.js";
|
|
8
|
+
import { n as opensOnFocus, r as useHoverLayerDismiss, t as createFocusGate } from "./tooltipFocusRules-CU8eUu3v.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,4 +1,4 @@
|
|
|
1
|
-
import { c as isTrackedByGroup, r as pressFadeMs, s as PRESS_GROUP_ITEM_ATTRIBUTE, t as PRESSED_ATTRIBUTE } from "./pressFeedback-
|
|
1
|
+
import { c as isTrackedByGroup, r as pressFadeMs, s as PRESS_GROUP_ITEM_ATTRIBUTE, t as PRESSED_ATTRIBUTE } from "./pressFeedback-CPzGi_88.js";
|
|
2
2
|
import { t as armClickGuard } from "./clickGuard-C3VmOLhI.js";
|
|
3
3
|
import { toValue, watch } from "vue";
|
|
4
4
|
import "../styles/touch-hit-area.css";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as INTERACTIVE_SELECTORS } from "./useClickableContainer-Dtjg-nkm.js";
|
|
2
|
-
import { c as currentGesture } from "./layerDepth-
|
|
2
|
+
import { c as currentGesture } from "./layerDepth-BdZX0xSD.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-CKfpQu9d.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-CgJi5QQW.js";
|
|
4
|
+
import { t as _sfc_main$1 } from "./Tooltip-DhV7MkwU.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
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as isImeKeyEvent } from "./layerDepth-
|
|
1
|
+
import { s as isImeKeyEvent } from "./layerDepth-BdZX0xSD.js";
|
|
2
2
|
import { n as isShortcutChord, r as nextTypeaheadBuffer, t as findTypeaheadMatch } from "./typeaheadMatch-Cl-oxKFt.js";
|
|
3
3
|
import { onScopeDispose, ref } from "vue";
|
|
4
4
|
//#region src/composables/useTypeahead.ts
|
|
@@ -3,9 +3,9 @@ import { n as isDevBuild, t as devPropError } from "./devBuild-G249YcdZ.js";
|
|
|
3
3
|
import { t as devWarn } from "./useDevWarning-B2fsk2B-.js";
|
|
4
4
|
import { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
5
5
|
import { n as useAsyncSource } from "./useAsyncSource-7GTcK8ep.js";
|
|
6
|
-
import { t as useCombobox } from "./useCombobox-
|
|
6
|
+
import { t as useCombobox } from "./useCombobox-BYRrwLe-.js";
|
|
7
7
|
import { t as _sfc_main$3 } from "./Spinner-DEVPDsD0.js";
|
|
8
|
-
import { t as createStillPointerGate } from "./stillPointerGate-
|
|
8
|
+
import { t as createStillPointerGate } from "./stillPointerGate-BChxtcd6.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";
|