@astryx-vue/core 0.33.2 → 0.33.4
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-BwW3jdTg.js → AlertDialog-CwyMvZEI.js} +9 -9
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-BURF50V8.js → AppShell-4hWTPKSD.js} +5 -5
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-CcmhCa5q.js → Avatar-C6E6TYbe.js} +1 -1
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/AvatarGroup/index.js +1 -1
- package/dist/{AvatarGroup-DJKoExQk.js → AvatarGroup-BIPixZOb.js} +1 -1
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Banner/index.js +1 -1
- package/dist/{Banner-DSSXXFU9.js → Banner-CMXebR4Y.js} +1 -1
- package/dist/BottomSheet/index.js +2 -2
- package/dist/{BottomSheet-KUGb-GPw.js → BottomSheet-BmmGemH5.js} +1 -1
- package/dist/{BottomSheet-Jq7g0EWd.js → BottomSheet-DKEUVLe5.js} +9 -9
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/{Breadcrumbs-BEx7_LpB.js → Breadcrumbs-BPxPAEHQ.js} +1 -1
- package/dist/Button/index.d.ts +1 -1
- package/dist/Button/index.js +1 -1
- package/dist/{Button-BlWhnkeM.js → Button-B7PvGVt6.js} +4 -4
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/ButtonGroup/index.js +1 -1
- package/dist/{ButtonGroup-D3pGXH3t.js → ButtonGroup-BkwQ0h97.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-XHo3AGQj.js → Carousel-BmfKiv69.js} +1 -1
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-B0c_CxBk.js → Chat-2AG37D51.js} +5 -5
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-DCeCsNvg.js → CheckboxInput-rbMgS8ZL.js} +79 -74
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxListItem-CGC_EBYs.js → CheckboxListItem-Ckt1Cwt_.js} +5 -5
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/ClickableCard/index.js +1 -1
- package/dist/{ClickableCard-aU0QED8P.js → ClickableCard-Dh0tOQv-.js} +1 -1
- package/dist/Code/index.js +1 -1
- package/dist/{CodeBlock-ClZvd61o.js → CodeBlock-ZluDuBT7.js} +1 -1
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-BAup__Sy.js → Collapsible-B_9H2wV_.js} +3 -3
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-CvalZZHH.js → CommandPalette-Cbr-WWC8.js} +2 -2
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-DIwWcWwi.js → ComplexSelector-BPvBCUJk.js} +2 -2
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-BnX93m0D.js → ContextMenu-BF4ALBZn.js} +6 -6
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-BFjeik3X.js → DateInput-C7PICKR2.js} +4 -4
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-Cnrp5SDW.js → DateRangeInput-Dt-BA7AA.js} +3 -3
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-Zsf86rSO.js → DateTimeInput-XEESzGJf.js} +5 -5
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Dialog/index.js +3 -3
- package/dist/{Dialog-Bl5CCsoX.js → Dialog-B1xC9xMC.js} +2 -2
- package/dist/{Dialog-DIWIrzgk.js → Dialog-BmdNX3NC.js} +1 -1
- package/dist/{DialogHeader-DbWkeIrf.js → DialogHeader-DcP4xAk3.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-MdC2BxbG.js → Drawer-CdHbZffI.js} +2 -2
- package/dist/DropdownMenu/index.js +2 -2
- package/dist/{DropdownMenu-4o8qS78m.js → DropdownMenu-C1494BkC.js} +9 -9
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-CeZXvaPU.js → EmptyState-BAP8BpDj.js} +2 -2
- package/dist/Field/index.js +3 -3
- package/dist/{Field-CrTrfcXB.js → Field-KszpxUdx.js} +1 -1
- package/dist/{FieldInfoTip-C3Ztw-wI.js → FieldInfoTip-CY9BTVtK.js} +1 -1
- package/dist/{FieldLabel-CFE2WC_i.js → FieldLabel-KPCTcJpO.js} +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-BhO1SCw-.js → FileInput-BTIn6OoY.js} +3 -3
- package/dist/Heading/index.d.ts +1 -1
- package/dist/Heading/index.js +1 -1
- package/dist/{Heading-AZCa8gid.js → Heading-D94VFJtm.js} +1 -1
- package/dist/HoverCard/index.d.ts +1 -1
- package/dist/HoverCard/index.js +1 -1
- package/dist/{HoverCard-C4VR_GZ0.js → HoverCard-rwpyd6nt.js} +4 -4
- package/dist/IconButton/index.js +1 -1
- package/dist/{IconButton-CqWEkha9.js → IconButton-e5xeGow-.js} +1 -1
- package/dist/InfoTip/index.d.ts +1 -1
- package/dist/InfoTip/index.js +1 -1
- package/dist/{InfoTip-Dps1Aaem.js → InfoTip-DpvV8zrm.js} +2 -2
- package/dist/{InputClearButton-Xjvkkq7B.js → InputClearButton-BzxJH6mk.js} +1 -1
- package/dist/InputGroup/index.d.ts +1 -1
- package/dist/InputGroup/index.js +1 -1
- package/dist/{InputGroup-gYIGs7VH.js → InputGroup-Bj4hksiI.js} +1 -1
- package/dist/{Item-FxMSEuU3.js → Item-D62Cibn1.js} +2 -2
- package/dist/{LayerContentBoundary-C7VZOgMs.js → LayerContentBoundary-CTjEpdM4.js} +1 -1
- package/dist/Layout/index.js +2 -2
- package/dist/{Layout-D6UhyoVb.js → Layout-SJoCw8NC.js} +1 -1
- package/dist/{LayoutPanel-DfS5TvSP.js → LayoutPanel-DZN4RxX6.js} +1 -1
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-76vHqGA0.js → Lightbox-FWtAn7X5.js} +1 -1
- package/dist/Link/index.d.ts +1 -1
- package/dist/Link/index.js +1 -1
- package/dist/{Link-QPBGLcTk.js → Link-BxK3lbA-.js} +2 -2
- package/dist/List/index.d.ts +1 -1
- package/dist/List/index.js +2 -2
- package/dist/{ListItem-Ss6Kw90l.js → ListItem-B4jt3EXr.js} +4 -4
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-Cz6wbx9z.js → Markdown-CsoseOGe.js} +3 -3
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-CCJBX2fq.js → MobileNavToggle-AgT6hzTg.js} +2 -2
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-OOQAeJT9.js → MoreMenu-4zcxptan.js} +8 -8
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-9HGDsMQE.js → MultiSelector-LuAE71wE.js} +6 -6
- package/dist/{NavDisclosure-BTeZLyLq.js → NavDisclosure-CSnUZY3k.js} +1 -1
- package/dist/{NavHeadingSurface-DPmolgVb.js → NavHeadingSurface-C3fTf5--.js} +1 -1
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NavItem/index.js +1 -1
- package/dist/{NavItem-BL3g0YUf.js → NavItem-mcmzIshL.js} +1 -1
- package/dist/NavMenu/index.js +3 -3
- package/dist/{NavMenu-DcTh1DCM.js → NavMenu-Bp35Bk7_.js} +2 -2
- package/dist/{NavMenuItem-Dmsno5s3.js → NavMenuItem-DviXkleh.js} +3 -3
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-DWYCcrUw.js → NumberInput-CxzhFPQw.js} +3 -3
- package/dist/Outline/index.js +1 -1
- package/dist/{Outline-DGtPcD0U.js → Outline-KpA-ffCT.js} +3 -3
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-EIr4jQjY.js → OverflowList-DRZxrAYq.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-Ch7-xIFe.js → Pagination-B3JMAlnl.js} +2 -2
- package/dist/PanGestureRecognizer-R5y8LZ9h.js +681 -0
- package/dist/Popover/index.d.ts +1 -1
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-LSIKv1zS.js → Popover-CQr95J2s.js} +10 -10
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-Cjkv0qON.js → PowerSearch-BEaqgsZa.js} +26 -26
- package/dist/PressTracker-Dze87pxw.js +190 -0
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/ProgressBar/index.js +1 -1
- package/dist/{ProgressBar-nPERcjvJ.js → ProgressBar-ChgsiVRR.js} +3 -3
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-BWFVn7Gd.js → RadioGroup-CpMYh9eL.js} +9 -6
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioListItem-D1rnSZeL.js → RadioListItem-n-h5r1GO.js} +1 -1
- package/dist/Resizable/index.d.ts +1 -1
- package/dist/Resizable/index.js +1 -1
- package/dist/{ResizeHandle-DyjQfxxG.js → ResizeHandle-J9-dAMuo.js} +2 -2
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/SegmentedControl/index.js +1 -1
- package/dist/SegmentedControl-nz9d6e0y.js +1465 -0
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/SelectableCard/index.js +1 -1
- package/dist/{SelectableCard-uDblNb5T.js → SelectableCard-C018jluo.js} +1 -1
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-BiLcyM3Y.js → Selector-CW1jaM4F.js} +4 -4
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +2 -2
- package/dist/{SideNav-d0A9mlEW.js → SideNav-DgRpBPuP.js} +9 -9
- package/dist/Slider/index.js +1 -1
- package/dist/Slider-Bz72itTP.js +1786 -0
- package/dist/Stack/index.d.ts +1 -1
- package/dist/StatusDot/index.js +1 -1
- package/dist/{StatusDot-D3z-WEGn.js → StatusDot-D7nVuPg7.js} +1 -1
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/Stepper/index.js +1 -1
- package/dist/{Stepper-CePOs80C.js → Stepper-Af_rH8C4.js} +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/Switch-BYsb1gKn.js +1397 -0
- package/dist/TabList/index.d.ts +1 -1
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-CthDI2i1.js → TabList-Cgw2IuL-.js} +3 -3
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-egoY0slV.js → Table-DzE-4_og.js} +12 -12
- package/dist/Text/index.d.ts +1 -1
- package/dist/Text/index.js +1 -1
- package/dist/{Text-CGb1rxyK.js → Text-kwsIut3C.js} +1 -1
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-B3WlT4sr.js → TextArea-DrYMTaZm.js} +4 -4
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-C4CqgE0E.js → TextInput-B-1cuwcB.js} +4 -4
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-6YWZ9a2A.js → Thumbnail-DeMaRkDU.js} +3 -3
- package/dist/{TimeField-CvBKO_Ew.js → TimeField-C1Nv-fz3.js} +3 -3
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-Cl9HIZrP.js → TimeInput-Dvh6qqHI.js} +2 -2
- package/dist/Timer/index.d.ts +1 -1
- package/dist/Timer/index.js +1 -1
- package/dist/{Timer-BNa_W8zr.js → Timer-B-9sSJWK.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-D_NTXtxz.js → Timestamp-wFkl39dn.js} +3 -3
- package/dist/Toast/index.js +1 -1
- package/dist/{Toast-E6NqFf3W.js → Toast-CO6Z1r1s.js} +5 -3
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/ToggleButton/index.js +1 -1
- package/dist/{ToggleButton-ih92QX-K.js → ToggleButton-DPpjDYxP.js} +3 -3
- package/dist/Token/index.js +1 -1
- package/dist/{Token-DE1udaRF.js → Token-DZkUAIYA.js} +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-DbD2ZBuh.js → Tokenizer-CX7D4klL.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-sXtW5dTD.js → Tooltip-DyGaJUbl.js} +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-D688LaUK.js → TopNav-D8Hc_kQ-.js} +5 -5
- package/dist/TreeList/index.d.ts +1 -1
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-BFKPBFKu.js → TreeList-lNyuRBOk.js} +4 -4
- package/dist/Typeahead/index.js +2 -2
- package/dist/{Typeahead-BwjzOjT4.js → Typeahead-BiosTaFo.js} +5 -5
- package/dist/{VelocityTracker-bns4TzMt.js → VelocityTracker-CPFBHDpy.js} +1 -1
- package/dist/{accessibleName-nYUMoSTW.js → accessibleName-f5xApbXG.js} +2 -2
- package/dist/{animator-DnLs_cbV.js → animator-ozeBZ_zC.js} +3 -3
- package/dist/{assertOptions-BdLvkG6M.js → assertOptions-Byu4Yqfg.js} +1 -1
- package/dist/boxHold-YML2o6iP.js +170 -0
- package/dist/browserClickWait-DIj9tkLa.js +77 -0
- package/dist/{clickGuard-C3VmOLhI.js → clickGuard-CxqcfBCJ.js} +2 -2
- package/dist/{coarsePointer-BfMx3H23.js → coarsePointer-BWNSUIY8.js} +2 -32
- package/dist/composables/index.js +10 -10
- package/dist/{composables-B9tgZEzP.js → composables-CPDafrux.js} +12 -9
- package/dist/{context-Dktfy1fh.js → context-C1MPE6J5.js} +1 -1
- package/dist/{useAttachment-CALrXA-t.js → geometry-CGa3nNzZ.js} +14 -837
- package/dist/{gestures-CppaWqif.js → gestures-yKyyMqeQ.js} +225 -1
- package/dist/{holdEntranceInput-DgimbgGm.js → holdEntranceInput-C8B_DYYs.js} +2 -2
- package/dist/{index-MOtVbTwK.d.ts → index-B6GTqpW-.d.ts} +4 -4
- package/dist/{index-X4S7_dmq.d.ts → index-BA8exXNP.d.ts} +1 -1
- package/dist/{index-D7ShT2c-.d.ts → index-BB9acgK8.d.ts} +2 -2
- package/dist/{index-BuubzuE8.d.ts → index-BDZCJ9ri.d.ts} +2 -2
- package/dist/{index-D65x5ny5.d.ts → index-BdICULsZ.d.ts} +78 -78
- package/dist/{index-maTGrWjF.d.ts → index-BenG-F5d.d.ts} +1 -1
- package/dist/{index-3LdpzxQZ.d.ts → index-BfFpUr1B.d.ts} +1 -1
- package/dist/{index-CTjkJP4x.d.ts → index-Bgk1Rj2A.d.ts} +1 -1
- package/dist/{index-CKnr0JlT.d.ts → index-C4S65SAW.d.ts} +1 -1
- package/dist/{index-waTkqxTz.d.ts → index-C89cIh4E.d.ts} +1 -1
- package/dist/{index-D05JGsT3.d.ts → index-C8wfe0Mr.d.ts} +1 -1
- package/dist/{index-Cm36VS1A.d.ts → index-C9uW39Mj.d.ts} +1 -1
- package/dist/{index-AgTJRqUY.d.ts → index-CQi9WGWE.d.ts} +2 -2
- package/dist/{index-Bwh8O-v8.d.ts → index-CZ29Xu_E.d.ts} +1 -1
- package/dist/{index-85y5NZP-.d.ts → index-CpkQlo1t.d.ts} +2 -2
- package/dist/{index-rdwI-mcm.d.ts → index-CtYlR9Cu.d.ts} +1 -1
- package/dist/{index-DWVhyvVu.d.ts → index-CukA-J8A.d.ts} +6 -6
- package/dist/{index-eCp-ElSp.d.ts → index-DYabo8TI.d.ts} +1 -1
- package/dist/{index-CM00rrgg.d.ts → index-DhrnMYVh.d.ts} +3 -3
- package/dist/{index-BOiwoyXq.d.ts → index-DlsrR4Gm.d.ts} +8 -8
- package/dist/{index-Otl047R1.d.ts → index-DofC9Rll.d.ts} +1 -1
- package/dist/{index-CArP_6wv.d.ts → index-ZXrvTM3A.d.ts} +1 -1
- package/dist/{index-CbA8rR_b.d.ts → index-a_FOKJMw.d.ts} +2 -2
- package/dist/{index-CdvmnNMH.d.ts → index-jz9GfvS0.d.ts} +1 -1
- package/dist/{index-Ak1b0V24.d.ts → index-tdOyqA_U.d.ts} +1 -1
- package/dist/index.d.ts +25 -25
- package/dist/index.js +101 -101
- package/dist/{inputHold-DW2LYHb5.js → inputHold-BJtjc9iI.js} +4 -4
- package/dist/{inputHoldState-xntIqr5W.js → inputHoldState-BYi5FKZl.js} +2 -2
- package/dist/{inputStream-bPd9eB2b.js → inputStream-HXw2lZ-3.js} +1 -1
- package/dist/{landing-9mjHGn26.js → landing-BW6qLvC8.js} +1 -1
- package/dist/{layerDepth-c3jUndA2.js → layerDepth-SGFJ5L6X.js} +1 -1
- package/dist/{lazyBottomSheet-Ca7Mdou2.js → lazyBottomSheet-Bg5E8lr3.js} +1 -1
- package/dist/{linearEasing-CBwOorE7.js → linearEasing-VHwy6xl_.js} +1 -1
- package/dist/{presentation-Cy_yf56y.js → presentation-twEOzzJq.js} +1 -1
- package/dist/{presentationHold-B4tK68sd.js → presentationHold-ZKixVLcz.js} +1 -1
- package/dist/pressClaim-DvdlIn4w.js +24 -0
- package/dist/{pressFeedback-BlOSZew9.js → pressFeedback--_INTed0.js} +49 -9
- package/dist/{pressGesture-yntcDLXo.js → pressGesture-B3Efxs_z.js} +1 -1
- package/dist/{rubberBand-DDapO54w.js → projection-qPcLQcwK.js} +2 -50
- package/dist/{reportChange-DPFCmyOB.js → reportChange-DwOfucSf.js} +4 -4
- package/dist/{resizableChannel-DOmBYh4V.js → resizableChannel-BnwrR5tr.js} +5 -5
- package/dist/{resolveMotion-CF9fXX0t.js → resolveMotion-DftkGFw6.js} +1 -1
- package/dist/{resolveSnapPoint-mZzJRIC2.js → resolveSnapPoint-A4dhS5jj.js} +1 -1
- package/dist/rubberBand-DDd5ElTe.js +65 -0
- package/dist/selectionLock-BrUpRS0E.js +130 -0
- package/dist/{sharedRealm-H1OrlP0V.js → sharedRealm-DBtNH73I.js} +9 -1
- package/dist/{springs-B2jqskKJ.js → springs-DjAn_oV5.js} +1 -1
- package/dist/{stillPointerGate-Htiy6uKa.js → stillPointerGate-BvCX7ddI.js} +1 -1
- package/dist/{themeTiming-ClYaZxGf.js → themeTiming-BJziEh4O.js} +1 -1
- package/dist/{tooltipFocusRules-BHJUQprJ.js → tooltipFocusRules-CxIlSnHw.js} +2 -2
- package/dist/{tooltipTriggerRules-Dremu4W9.js → tooltipTriggerRules-CHNpQ6RL.js} +1 -1
- package/dist/{touchHold-DXtx7npm.js → touchHold-CjNjGH7O.js} +1 -1
- package/dist/touchQueries-xy5IeZfe.js +32 -0
- package/dist/{useActionGroupTracking-DDhfTUOK.js → useActionGroupTracking-BTjuGF9J.js} +3 -3
- package/dist/{useAnimatedLayout-B6Xj_kTo.js → useAnimatedLayout-CRAuCwTZ.js} +1 -1
- package/dist/useAttachment-CGiD9rt6.js +24 -0
- package/dist/{useChatStreamScroll-CuMzkXgD.js → useChatStreamScroll-DcNKcNTj.js} +1 -1
- package/dist/{useDismiss-BvDK4xBe.js → useDismiss-6SGAlkB_.js} +1 -1
- package/dist/{useHeldPresentation-BF5vGVUn.js → useHeldPresentation-CaIKTwUh.js} +1 -1
- package/dist/{useInputStatusIcon-MyCpVp3g.js → useInputStatusIcon-Bl2JFlc3.js} +1 -1
- package/dist/{useMenuEntranceHold-HznOwIry.js → useMenuEntranceHold-C-kHicUN.js} +1 -1
- package/dist/{useMenuPress-BJVQF7ml.js → useMenuPress-CF1GHP_7.js} +6 -4
- package/dist/{usePressFeedback-cxyksfAD.js → usePressFeedback-B_NavJu0.js} +1 -1
- package/dist/{useResizable-C-9ff2ZK.js → useResizable-I0APFcMz.js} +6 -5
- package/dist/{useTooltip-w57yzB7h.js → useTooltip-owvVSn_m.js} +4 -4
- package/dist/{useTouchHitArea-CgUvnuTz.js → useTouchHitArea-BpEJXuu-.js} +2 -2
- package/dist/{useTouchTriggerInternal-DSA228_-.js → useTouchTriggerInternal-5ExaYYSy.js} +1 -1
- package/dist/{useTruncationTooltip--w8vh7M-.js → useTruncationTooltip-DHI6q_EV.js} +3 -3
- package/dist/{useTypeaheadMenuConfig-C-EOaLF-.js → useTypeaheadMenuConfig-COiZ4isy.js} +1 -1
- package/package.json +1 -1
- package/styles/segmented-control.css +20 -11
- package/styles/slider.css +59 -12
- package/styles/switch.css +101 -34
- package/dist/SegmentedControl-CkR8ur3h.js +0 -416
- package/dist/Slider-BdIrYmul.js +0 -735
- package/dist/Switch-6tQbDX9A.js +0 -355
package/dist/Switch-6tQbDX9A.js
DELETED
|
@@ -1,355 +0,0 @@
|
|
|
1
|
-
import { t as usePressFeedback } from "./usePressFeedback-cxyksfAD.js";
|
|
2
|
-
import { t as _sfc_main$1 } from "./VisuallyHidden-cpmsV-0M.js";
|
|
3
|
-
import { t as _sfc_main$2 } from "./ButtonTooltip-ZpQP-aQg.js";
|
|
4
|
-
import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
|
|
5
|
-
import { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
6
|
-
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
7
|
-
import { r as withholdCallerHandlers } from "./disabledInteraction-Bqoyhoss.js";
|
|
8
|
-
import { t as ariaRequired } from "./context-CrVCeUUK.js";
|
|
9
|
-
import { t as _sfc_main$3 } from "./FieldLabel-CFE2WC_i.js";
|
|
10
|
-
import { t as _sfc_main$4 } from "./FieldStatus-DmCWPT6U.js";
|
|
11
|
-
import { t as switchMessages } from "./switch-B9xwxdOU.js";
|
|
12
|
-
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, onUpdated, openBlock, renderSlot, shallowRef, toDisplayString, unref, useAttrs, useId, useModel, useTemplateRef, watch, withCtx } from "vue";
|
|
13
|
-
import "../styles/switch.css";
|
|
14
|
-
//#region src/Switch/useSwitchAction.ts
|
|
15
|
-
function useSwitchAction(options) {
|
|
16
|
-
const optimistic = shallowRef(null);
|
|
17
|
-
const pendingCount = shallowRef(0);
|
|
18
|
-
let revision = 0;
|
|
19
|
-
watch(options.model, () => {
|
|
20
|
-
optimistic.value = null;
|
|
21
|
-
});
|
|
22
|
-
function commit(value, event) {
|
|
23
|
-
const current = ++revision;
|
|
24
|
-
const changeEvent = new CustomEvent("change", {
|
|
25
|
-
cancelable: true,
|
|
26
|
-
detail: {
|
|
27
|
-
value,
|
|
28
|
-
originalEvent: event
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
if (event.defaultPrevented) changeEvent.preventDefault();
|
|
32
|
-
optimistic.value = value;
|
|
33
|
-
options.model.value = value;
|
|
34
|
-
options.emitChange(value, changeEvent);
|
|
35
|
-
const action = options.changeAction();
|
|
36
|
-
if (!action || changeEvent.defaultPrevented) {
|
|
37
|
-
optimistic.value = null;
|
|
38
|
-
return;
|
|
39
|
-
}
|
|
40
|
-
pendingCount.value += 1;
|
|
41
|
-
const finish = () => {
|
|
42
|
-
pendingCount.value -= 1;
|
|
43
|
-
if (current === revision) optimistic.value = null;
|
|
44
|
-
};
|
|
45
|
-
try {
|
|
46
|
-
const result = action(value, changeEvent);
|
|
47
|
-
if (result == null) {
|
|
48
|
-
finish();
|
|
49
|
-
return;
|
|
50
|
-
}
|
|
51
|
-
Promise.resolve(result).then(finish, (error) => {
|
|
52
|
-
finish();
|
|
53
|
-
options.emitError(error, value, changeEvent);
|
|
54
|
-
});
|
|
55
|
-
} catch (error) {
|
|
56
|
-
finish();
|
|
57
|
-
options.emitError(error, value, changeEvent);
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
return {
|
|
61
|
-
commit,
|
|
62
|
-
value: computed(() => optimistic.value ?? options.model.value),
|
|
63
|
-
isPending: computed(() => pendingCount.value > 0)
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
//#endregion
|
|
67
|
-
//#region src/Switch/Switch.vue
|
|
68
|
-
const _hoisted_1 = [
|
|
69
|
-
"data-size",
|
|
70
|
-
"data-label-position",
|
|
71
|
-
"data-label-spacing",
|
|
72
|
-
"data-status",
|
|
73
|
-
"data-blocked"
|
|
74
|
-
];
|
|
75
|
-
const _hoisted_2 = { class: "astryx-switch-control" };
|
|
76
|
-
const _hoisted_3 = [
|
|
77
|
-
"id",
|
|
78
|
-
"checked",
|
|
79
|
-
"name",
|
|
80
|
-
"form",
|
|
81
|
-
"readonly",
|
|
82
|
-
"required",
|
|
83
|
-
"aria-checked",
|
|
84
|
-
"aria-labelledby",
|
|
85
|
-
"aria-describedby",
|
|
86
|
-
"aria-disabled",
|
|
87
|
-
"aria-readonly",
|
|
88
|
-
"aria-busy",
|
|
89
|
-
"aria-required",
|
|
90
|
-
"aria-invalid"
|
|
91
|
-
];
|
|
92
|
-
const _hoisted_4 = {
|
|
93
|
-
class: "astryx-switch-track",
|
|
94
|
-
"aria-hidden": "true"
|
|
95
|
-
};
|
|
96
|
-
const _hoisted_5 = {
|
|
97
|
-
key: 0,
|
|
98
|
-
class: "astryx-switch-spinner"
|
|
99
|
-
};
|
|
100
|
-
const _hoisted_6 = { class: "astryx-switch-label" };
|
|
101
|
-
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
102
|
-
name: "AstryxSwitch",
|
|
103
|
-
inheritAttrs: false,
|
|
104
|
-
__name: "Switch",
|
|
105
|
-
props: /*@__PURE__*/ mergeModels({
|
|
106
|
-
id: {},
|
|
107
|
-
size: { default: "md" },
|
|
108
|
-
labelPosition: { default: "end" },
|
|
109
|
-
labelSpacing: { default: "hug" },
|
|
110
|
-
isReadOnly: { type: Boolean },
|
|
111
|
-
disabledMessage: {},
|
|
112
|
-
status: {},
|
|
113
|
-
statusVariant: { default: "detached" },
|
|
114
|
-
changeAction: {},
|
|
115
|
-
isLoading: { type: Boolean },
|
|
116
|
-
description: {},
|
|
117
|
-
width: {},
|
|
118
|
-
hasAutoFocus: { type: Boolean },
|
|
119
|
-
htmlName: {},
|
|
120
|
-
form: {},
|
|
121
|
-
loadingLabel: {},
|
|
122
|
-
label: {},
|
|
123
|
-
isLabelHidden: { type: Boolean },
|
|
124
|
-
isDisabled: { type: Boolean },
|
|
125
|
-
isOptional: { type: Boolean },
|
|
126
|
-
isRequired: { type: Boolean },
|
|
127
|
-
labelIcon: {},
|
|
128
|
-
labelTooltip: {},
|
|
129
|
-
optionalLabel: {},
|
|
130
|
-
requiredLabel: {},
|
|
131
|
-
targetClass: {}
|
|
132
|
-
}, {
|
|
133
|
-
"modelValue": {
|
|
134
|
-
type: Boolean,
|
|
135
|
-
required: true
|
|
136
|
-
},
|
|
137
|
-
"modelModifiers": {}
|
|
138
|
-
}),
|
|
139
|
-
emits: /*@__PURE__*/ mergeModels(["change", "actionError"], ["update:modelValue"]),
|
|
140
|
-
setup(__props, { expose: __expose, emit: __emit }) {
|
|
141
|
-
const props = __props;
|
|
142
|
-
const emit = __emit;
|
|
143
|
-
const ariaRequired$1 = computed(() => ariaRequired(props.isRequired, props.isOptional, void 0));
|
|
144
|
-
const messages = useComponentMessages({ switch: switchMessages });
|
|
145
|
-
const announce = useAnnounce();
|
|
146
|
-
const press = usePressFeedback({ hasOverlay: false });
|
|
147
|
-
const model = useModel(__props, "modelValue");
|
|
148
|
-
const attrs = useAttrs();
|
|
149
|
-
const input = useTemplateRef("input");
|
|
150
|
-
const generatedId = `astryx-switch-${useId()}`;
|
|
151
|
-
const inputId = computed(() => props.id ?? generatedId);
|
|
152
|
-
const descriptionId = computed(() => props.description ? `${inputId.value}-description` : void 0);
|
|
153
|
-
const statusId = computed(() => props.status?.message ? props.status.messageId ?? `${inputId.value}-status` : void 0);
|
|
154
|
-
const disabledId = `${generatedId}-disabled`;
|
|
155
|
-
const showsDisabledMessage = computed(() => !!props.isDisabled && !!props.disabledMessage?.trim());
|
|
156
|
-
const tooltip = useButtonTooltip(showsDisabledMessage);
|
|
157
|
-
const action = useSwitchAction({
|
|
158
|
-
model,
|
|
159
|
-
changeAction: () => props.changeAction,
|
|
160
|
-
emitChange: (value, event) => emit("change", value, event),
|
|
161
|
-
emitError: (error, value, event) => emit("actionError", error, value, event)
|
|
162
|
-
});
|
|
163
|
-
const busy = computed(() => !!props.isLoading || action.isPending.value);
|
|
164
|
-
const blocked = computed(() => props.isDisabled || props.isReadOnly || busy.value);
|
|
165
|
-
const loadingText = computed(() => props.loadingLabel || messages.value.switch.loading);
|
|
166
|
-
watch(busy, (isBusy) => {
|
|
167
|
-
if (isBusy) announce(loadingText.value);
|
|
168
|
-
}, { immediate: true });
|
|
169
|
-
const widthStyle = computed(() => ({ width: typeof props.width === "number" ? `${props.width}px` : props.width }));
|
|
170
|
-
const element = computed(() => input.value ?? null);
|
|
171
|
-
function focus(options) {
|
|
172
|
-
input.value?.focus(options);
|
|
173
|
-
}
|
|
174
|
-
function blur() {
|
|
175
|
-
input.value?.blur();
|
|
176
|
-
}
|
|
177
|
-
__expose({
|
|
178
|
-
element,
|
|
179
|
-
focus,
|
|
180
|
-
blur
|
|
181
|
-
});
|
|
182
|
-
const controlledAttrs = /* @__PURE__ */ new Set([
|
|
183
|
-
"class",
|
|
184
|
-
"style",
|
|
185
|
-
"id",
|
|
186
|
-
"type",
|
|
187
|
-
"checked",
|
|
188
|
-
"disabled",
|
|
189
|
-
"readonly",
|
|
190
|
-
"autofocus",
|
|
191
|
-
"role",
|
|
192
|
-
"aria-checked",
|
|
193
|
-
"aria-labelledby",
|
|
194
|
-
"aria-describedby",
|
|
195
|
-
"aria-disabled",
|
|
196
|
-
"aria-readonly",
|
|
197
|
-
"aria-required",
|
|
198
|
-
"aria-busy"
|
|
199
|
-
]);
|
|
200
|
-
function inputAttrs() {
|
|
201
|
-
return Object.fromEntries(Object.entries(withholdCallerHandlers(attrs, !!props.isDisabled)).filter(([key]) => !controlledAttrs.has(key)));
|
|
202
|
-
}
|
|
203
|
-
function describedBy() {
|
|
204
|
-
return [
|
|
205
|
-
attrs["aria-describedby"],
|
|
206
|
-
descriptionId.value,
|
|
207
|
-
statusId.value,
|
|
208
|
-
showsDisabledMessage.value ? disabledId : void 0
|
|
209
|
-
].filter(Boolean).join(" ") || void 0;
|
|
210
|
-
}
|
|
211
|
-
function labelledBy() {
|
|
212
|
-
const external = attrs["aria-labelledby"];
|
|
213
|
-
if (typeof external === "string" && external.trim() !== "") return external;
|
|
214
|
-
return `${inputId.value}-label`;
|
|
215
|
-
}
|
|
216
|
-
function syncNative() {
|
|
217
|
-
if (input.value) input.value.checked = action.value.value;
|
|
218
|
-
}
|
|
219
|
-
function click(event) {
|
|
220
|
-
if (blocked.value) {
|
|
221
|
-
event.preventDefault();
|
|
222
|
-
nextTick(syncNative);
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
function change(event) {
|
|
226
|
-
if (!blocked.value && input.value) action.commit(input.value.checked, event);
|
|
227
|
-
nextTick(syncNative);
|
|
228
|
-
}
|
|
229
|
-
function reset(event) {
|
|
230
|
-
if (event.target === input.value?.form) nextTick(syncNative);
|
|
231
|
-
}
|
|
232
|
-
function keydown(event) {
|
|
233
|
-
if (event.key === "Escape") tooltip.hideImmediately();
|
|
234
|
-
}
|
|
235
|
-
let ownerDocument;
|
|
236
|
-
onMounted(() => {
|
|
237
|
-
syncNative();
|
|
238
|
-
ownerDocument = input.value?.ownerDocument;
|
|
239
|
-
ownerDocument?.addEventListener("reset", reset, true);
|
|
240
|
-
if (props.hasAutoFocus) focus({ preventScroll: true });
|
|
241
|
-
});
|
|
242
|
-
onUpdated(syncNative);
|
|
243
|
-
onBeforeUnmount(() => ownerDocument?.removeEventListener("reset", reset, true));
|
|
244
|
-
return (_ctx, _cache) => {
|
|
245
|
-
return openBlock(), createElementBlock(Fragment, null, [createElementVNode("div", {
|
|
246
|
-
class: normalizeClass(["astryx-switch", unref(attrs).class]),
|
|
247
|
-
style: normalizeStyle([widthStyle.value, unref(attrs).style]),
|
|
248
|
-
"data-size": __props.size,
|
|
249
|
-
"data-label-position": __props.labelPosition !== "end" ? __props.labelPosition : void 0,
|
|
250
|
-
"data-label-spacing": __props.labelSpacing !== "hug" ? __props.labelSpacing : void 0,
|
|
251
|
-
"data-status": __props.status?.type,
|
|
252
|
-
"data-blocked": blocked.value || void 0
|
|
253
|
-
}, [
|
|
254
|
-
createElementVNode("div", mergeProps({ class: "astryx-switch-row" }, blocked.value ? void 0 : unref(press).pressableProps, {
|
|
255
|
-
onPointerenter: _cache[2] || (_cache[2] = (...args) => unref(tooltip).onPointerEnter && unref(tooltip).onPointerEnter(...args)),
|
|
256
|
-
onPointerleave: _cache[3] || (_cache[3] = (...args) => unref(tooltip).onPointerLeave && unref(tooltip).onPointerLeave(...args))
|
|
257
|
-
}), [createElementVNode("span", _hoisted_2, [createElementVNode("input", mergeProps(inputAttrs(), {
|
|
258
|
-
id: inputId.value,
|
|
259
|
-
ref_key: "input",
|
|
260
|
-
ref: input,
|
|
261
|
-
class: "astryx-switch-native",
|
|
262
|
-
type: "checkbox",
|
|
263
|
-
role: "switch",
|
|
264
|
-
checked: unref(action).value.value,
|
|
265
|
-
name: __props.isDisabled ? void 0 : __props.htmlName ?? inputAttrs().name,
|
|
266
|
-
form: __props.isDisabled ? "" : inputAttrs().form,
|
|
267
|
-
readonly: __props.isReadOnly || showsDisabledMessage.value,
|
|
268
|
-
required: __props.isRequired && !__props.isOptional,
|
|
269
|
-
"aria-checked": unref(action).value.value,
|
|
270
|
-
"aria-labelledby": labelledBy(),
|
|
271
|
-
"aria-describedby": describedBy(),
|
|
272
|
-
"aria-disabled": __props.isDisabled || void 0,
|
|
273
|
-
"aria-readonly": __props.isReadOnly || void 0,
|
|
274
|
-
"aria-busy": busy.value || void 0,
|
|
275
|
-
"aria-required": ariaRequired$1.value,
|
|
276
|
-
"aria-invalid": __props.status?.type === "error" ? true : __props.isRequired ? false : inputAttrs()["aria-invalid"],
|
|
277
|
-
onClick: click,
|
|
278
|
-
onChange: change,
|
|
279
|
-
onKeydown: keydown,
|
|
280
|
-
onFocus: _cache[0] || (_cache[0] = (...args) => unref(tooltip).onFocus && unref(tooltip).onFocus(...args)),
|
|
281
|
-
onBlur: _cache[1] || (_cache[1] = (...args) => unref(tooltip).onBlur && unref(tooltip).onBlur(...args))
|
|
282
|
-
}), null, 16, _hoisted_3), createElementVNode("span", _hoisted_4, [_cache[4] || (_cache[4] = createElementVNode("span", { class: "astryx-switch-thumb" }, null, -1)), busy.value ? (openBlock(), createElementBlock("span", _hoisted_5)) : createCommentVNode("v-if", true)])]), createElementVNode("div", _hoisted_6, [createVNode(_sfc_main$3, {
|
|
283
|
-
label: __props.label,
|
|
284
|
-
"input-id": inputId.value,
|
|
285
|
-
"label-id": `${inputId.value}-label`,
|
|
286
|
-
description: __props.description,
|
|
287
|
-
"description-id": descriptionId.value,
|
|
288
|
-
"is-label-hidden": __props.isLabelHidden,
|
|
289
|
-
"is-disabled": __props.isDisabled,
|
|
290
|
-
"is-optional": __props.isOptional,
|
|
291
|
-
"is-required": __props.isRequired,
|
|
292
|
-
"target-class": "astryx-switch-label",
|
|
293
|
-
"label-icon": __props.labelIcon,
|
|
294
|
-
"label-tooltip": __props.labelTooltip,
|
|
295
|
-
"optional-label": __props.optionalLabel,
|
|
296
|
-
"required-label": __props.requiredLabel
|
|
297
|
-
}, createSlots({ _: 2 }, [_ctx.$slots.labelIcon ? {
|
|
298
|
-
name: "labelIcon",
|
|
299
|
-
fn: withCtx(() => [renderSlot(_ctx.$slots, "labelIcon")]),
|
|
300
|
-
key: "0"
|
|
301
|
-
} : void 0]), 1032, [
|
|
302
|
-
"label",
|
|
303
|
-
"input-id",
|
|
304
|
-
"label-id",
|
|
305
|
-
"description",
|
|
306
|
-
"description-id",
|
|
307
|
-
"is-label-hidden",
|
|
308
|
-
"is-disabled",
|
|
309
|
-
"is-optional",
|
|
310
|
-
"is-required",
|
|
311
|
-
"label-icon",
|
|
312
|
-
"label-tooltip",
|
|
313
|
-
"optional-label",
|
|
314
|
-
"required-label"
|
|
315
|
-
])])], 16),
|
|
316
|
-
__props.status?.message ? (openBlock(), createBlock(_sfc_main$4, {
|
|
317
|
-
key: 0,
|
|
318
|
-
id: statusId.value,
|
|
319
|
-
type: __props.status.type,
|
|
320
|
-
message: __props.status.message,
|
|
321
|
-
variant: __props.statusVariant === "attached" ? "attached" : "detached"
|
|
322
|
-
}, null, 8, [
|
|
323
|
-
"id",
|
|
324
|
-
"type",
|
|
325
|
-
"message",
|
|
326
|
-
"variant"
|
|
327
|
-
])) : createCommentVNode("v-if", true),
|
|
328
|
-
showsDisabledMessage.value ? (openBlock(), createBlock(_sfc_main$1, {
|
|
329
|
-
key: 1,
|
|
330
|
-
id: disabledId
|
|
331
|
-
}, {
|
|
332
|
-
default: withCtx(() => [createTextVNode(toDisplayString(__props.disabledMessage), 1)]),
|
|
333
|
-
_: 1
|
|
334
|
-
})) : createCommentVNode("v-if", true)
|
|
335
|
-
], 14, _hoisted_1), showsDisabledMessage.value ? (openBlock(), createBlock(_sfc_main$2, {
|
|
336
|
-
key: 0,
|
|
337
|
-
id: `${generatedId}-tooltip`,
|
|
338
|
-
anchor: input.value,
|
|
339
|
-
open: unref(tooltip).isOpen.value,
|
|
340
|
-
text: __props.disabledMessage ?? "",
|
|
341
|
-
onPointerEnter: unref(tooltip).onTooltipPointerEnter,
|
|
342
|
-
onPointerLeave: unref(tooltip).onTooltipPointerLeave
|
|
343
|
-
}, null, 8, [
|
|
344
|
-
"id",
|
|
345
|
-
"anchor",
|
|
346
|
-
"open",
|
|
347
|
-
"text",
|
|
348
|
-
"onPointerEnter",
|
|
349
|
-
"onPointerLeave"
|
|
350
|
-
])) : createCommentVNode("v-if", true)], 64);
|
|
351
|
-
};
|
|
352
|
-
}
|
|
353
|
-
});
|
|
354
|
-
//#endregion
|
|
355
|
-
export { _sfc_main as t };
|