@astryx-vue/core 0.23.0 → 0.25.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-DXOTr1D7.js → AlertDialog-Cub9_aPC.js} +6 -6
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-Cmu6bMY6.js → AppShell-D62A7lqZ.js} +5 -5
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-dMcn3j8Z.js → Avatar-BKoSK75s.js} +1 -1
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/AvatarGroup/index.js +1 -1
- package/dist/{AvatarGroup-BUXjzekw.js → AvatarGroup-DT5RbxDa.js} +1 -1
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Banner/index.js +1 -1
- package/dist/{Banner-CTY9qV89.js → Banner-cg2nXT_4.js} +1 -1
- package/dist/BottomSheet/index.d.ts +1 -1
- package/dist/BottomSheet/index.js +2 -2
- package/dist/{BottomSheet-ZOjuZya0.js → BottomSheet-CpLYy3vb.js} +1 -1
- package/dist/{BottomSheet-DyJJtZZU.js → BottomSheet-DGhRZLw4.js} +108 -8
- package/dist/Breadcrumbs/index.d.ts +2 -2
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/{Breadcrumbs-mlCoLtma.js → Breadcrumbs-D-nHDHV8.js} +1 -1
- package/dist/Button/index.d.ts +1 -1
- package/dist/Button/index.js +1 -1
- package/dist/{Button-TiYG0btL.js → Button-D8AGK5oT.js} +3 -3
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/ButtonGroup/index.js +1 -1
- package/dist/{ButtonGroup-DNN4O9_-.js → ButtonGroup-CUN_rC57.js} +2 -2
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Carousel/index.d.ts +1 -1
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-DsXup1mZ.js → Carousel-DrCG9wbP.js} +1 -1
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-DqYT_S9M.js → Chat-U1qq8gkF.js} +3 -3
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-BNwTTDHu.js → CheckboxInput-qm6lkjAw.js} +17 -7
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-BLY16jPG.js → CheckboxList-DuCKhJHJ.js} +22 -7
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/ClickableCard/index.js +1 -1
- package/dist/{ClickableCard-CVQ7XS4L.js → ClickableCard-CwGxO0GU.js} +2 -2
- package/dist/Code/index.js +1 -1
- package/dist/{CodeBlock-5KoJDvWd.js → CodeBlock-PMZd9dQ9.js} +1 -1
- package/dist/Collapsible/index.d.ts +1 -1
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-B1qW6OuL.js → Collapsible-BmUloCSR.js} +3 -3
- package/dist/CommandPalette/index.d.ts +1 -1
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-B2riNg_7.js → CommandPalette-Cy7trpD3.js} +2 -2
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-CVCIsgAU.js → ComplexSelector-DMBiVQWp.js} +3 -3
- package/dist/ContextMenu/index.d.ts +2 -2
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-DYLdP-Ok.js → ContextMenu-63ay7EE-.js} +13 -26
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-D9Jv70H7.js → DateInput-B3Q91FDT.js} +3 -3
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-BsB2kg_q.js → DateRangeInput-B6Z66OsH.js} +3 -3
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-BDyKPKGD.js → DateTimeInput-B_7cn7ze.js} +5 -5
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Dialog/index.js +3 -3
- package/dist/{Dialog-JCB5s-T-.js → Dialog-C4FZ7p7Q.js} +10 -0
- package/dist/{Dialog-DUlWQH8R.js → Dialog-CBPD5b-S.js} +1 -1
- package/dist/{DialogHeader-C6hZZxdv.js → DialogHeader-CQ3pnLYi.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-BDuiw1-g.js → Drawer-BOwQLKm9.js} +2 -2
- package/dist/DropdownMenu/index.d.ts +2 -2
- package/dist/DropdownMenu/index.js +3 -3
- package/dist/{DropdownMenu-PjqSkkQs.js → DropdownMenu-9CR9TiKG.js} +5 -5
- package/dist/{DropdownMenu-BVEOMFwc.js → DropdownMenu-DwIfoTnV.js} +18 -18
- package/dist/{DropdownMenuRadioItem.vue-C9DdN6UE.d.ts → DropdownMenuRadioItem.vue-DINRx71W.d.ts} +1 -1
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-CnFkYtcS.js → EmptyState-BG5g2jwJ.js} +3 -3
- package/dist/Field/index.js +3 -3
- package/dist/{Field-D4UmRHlD.js → Field-eAowUUMX.js} +1 -1
- package/dist/{FieldInfoTip-BSqcEcUx.js → FieldInfoTip-Dwl9HNp1.js} +1 -1
- package/dist/{FieldLabel-CZbayYFD.js → FieldLabel-CgYk-ORu.js} +1 -1
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-8oYiJsq_.js → FileInput-B7zeePbM.js} +2 -2
- package/dist/Heading/index.js +1 -1
- package/dist/{Heading-COtyAhtB.js → Heading-B1dNZQtu.js} +1 -1
- package/dist/HoverCard/index.d.ts +1 -1
- package/dist/HoverCard/index.js +1 -1
- package/dist/{HoverCard-DGlOpk4x.js → HoverCard-CZhfsvP4.js} +2 -2
- package/dist/IconButton/index.js +1 -1
- package/dist/{IconButton-CwjHTIBg.js → IconButton-D9ZRJ7vD.js} +1 -1
- package/dist/InfoTip/index.d.ts +1 -1
- package/dist/InfoTip/index.js +1 -1
- package/dist/{InfoTip-CNZateDb.js → InfoTip-LJi9llxi.js} +2 -2
- package/dist/{InputClearButton-CzCP41sx.js → InputClearButton-C-j9Nf1s.js} +1 -1
- package/dist/InputGroup/index.js +1 -1
- package/dist/{InputGroup-CfUGHDNz.js → InputGroup-B8PGJZKH.js} +1 -1
- package/dist/{Item-CzKm9wxQ.js → Item-DUI1Qnnd.js} +2 -2
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-Dzzd2Vqe.js → Lightbox-BOWTHnTb.js} +1 -1
- package/dist/Link/index.d.ts +1 -1
- package/dist/Link/index.js +1 -1
- package/dist/{Link-B7OJQ0zl.js → Link-B75ygGzG.js} +2 -2
- package/dist/List/index.d.ts +2 -2
- package/dist/List/index.js +2 -2
- package/dist/{ListItem-Bc4snKv8.js → ListItem-C8SqSrU6.js} +4 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-Cbj-nqhN.js → Markdown-Cqrcj-ct.js} +3 -3
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-BlcdCg8M.js → MobileNavToggle-DLpEONfs.js} +12 -0
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-DAhOiau3.js → MoreMenu-aR88r9xp.js} +17 -31
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-ERv5u6r4.js → MultiSelector-UTaDe-YT.js} +23 -24
- package/dist/{NavDisclosure-CqAThYgR.js → NavDisclosure-B66SHKdd.js} +1 -1
- package/dist/{NavHeadingSurface-DJ4pWvEi.js → NavHeadingSurface-BZCzkCPJ.js} +1 -1
- package/dist/NavItem/index.js +1 -1
- package/dist/{NavItem-CB3loauj.js → NavItem-c1ScHEJY.js} +2 -2
- package/dist/NavMenu/index.js +3 -3
- package/dist/{NavMenu-BtA_Xbmr.js → NavMenu-DS6y8ZAY.js} +2 -2
- package/dist/{NavMenuItem-BxfjAf1T.js → NavMenuItem-BqIi3o3D.js} +3 -3
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-Bl5TFhGD.js → NumberInput-ClkOGF5j.js} +3 -3
- package/dist/Outline/index.js +1 -1
- package/dist/{Outline-NuPQMjxw.js → Outline-DvQbXc_H.js} +1 -1
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-CumJl6X_.js → OverflowList-UnVXBDIW.js} +2 -2
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-DuTUReOl.js → Pagination-CTCLE02h.js} +2 -2
- package/dist/Popover/index.d.ts +1 -1
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-DpR4rwiW.js → Popover-CZvRSqqD.js} +3 -3
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-CewQJzEt.js → PowerSearch-BBOum0TP.js} +17 -17
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/ProgressBar/index.js +1 -1
- package/dist/{ProgressBar-Dp-0xquN.js → ProgressBar-Bgg6zsKR.js} +1 -1
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-DrCL5-AN.js → RadioGroup-DPy5JQhm.js} +31 -9
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioList-CRi4E1zq.js → RadioList-UN7IxQg8.js} +4 -1
- package/dist/Resizable/index.d.ts +1 -1
- 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-DFUYTOVH.js → SegmentedControl-BkWz-I2J.js} +73 -6
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/SelectableCard/index.js +1 -1
- package/dist/{SelectableCard-Dp-LsEcf.js → SelectableCard-GRWYx3iD.js} +1 -1
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-D6yzPO5O.js → Selector-CCtsUveZ.js} +28 -23
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +2 -2
- package/dist/{SideNav-z_6FwEJy.js → SideNav-COl5ApOz.js} +9 -9
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-DMHlRq7q.js → Slider-CYie9hWm.js} +66 -22
- package/dist/Stack/index.d.ts +1 -1
- package/dist/StatusDot/index.js +1 -1
- package/dist/{StatusDot-B3oOyRF7.js → StatusDot-CHfgSYmv.js} +1 -1
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/Stepper/index.js +1 -1
- package/dist/{Stepper-CgOdL36_.js → Stepper-CCuggsov.js} +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-OPRkoPLi.js → Switch-D24CvhDS.js} +7 -4
- package/dist/TabList/index.d.ts +1 -1
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-FkoypUk0.js → TabList-DToCh5JW.js} +3 -3
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-CCjpL_Ku.js → Table-D3mzxBr0.js} +13 -13
- package/dist/Text/index.js +1 -1
- package/dist/{Text-v1ep26uD.js → Text-5p-eZodt.js} +1 -1
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-BilHnmSs.js → TextArea-Bp6D-riO.js} +4 -4
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-D6tHM2sA.js → TextInput-BYslwBDZ.js} +4 -4
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-llGdnQM8.js → Thumbnail-B_a8tOS7.js} +3 -3
- package/dist/{TimeField-C5rcoaVu.js → TimeField-MDSJny9m.js} +3 -3
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-D0N8nwrI.js → TimeInput-B19amuxi.js} +2 -2
- package/dist/Timer/index.d.ts +1 -1
- package/dist/Timer/index.js +1 -1
- package/dist/{Timer-65PfuoQ7.js → Timer-BD3tfzrF.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-rYC8mE3r.js → Timestamp-CqWoZUKM.js} +3 -3
- package/dist/Toast/index.js +1 -1
- package/dist/{Toast-BtQ-4Y6Z.js → Toast-BKPl8iIr.js} +1 -1
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/ToggleButton/index.js +1 -1
- package/dist/{ToggleButton-DTrNL430.js → ToggleButton-DfpsuhMa.js} +12 -6
- package/dist/Token/index.d.ts +1 -1
- package/dist/Token/index.js +1 -1
- package/dist/{Token-CPNzkSj3.js → Token-C7Dt5ygK.js} +2 -2
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-DdddkJb1.js → Tokenizer-C-eorFsF.js} +5 -5
- 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-CByjfHBZ.js → Tooltip-88zhGfzF.js} +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-C1wpttKX.js → TopNav-DMFIsFwy.js} +5 -5
- package/dist/TreeList/index.d.ts +1 -1
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-DOAcS3PM.js → TreeList-nU2gSmQm.js} +4 -4
- package/dist/Typeahead/index.js +2 -2
- package/dist/{Typeahead-6y_r-VNU.js → Typeahead-DUQfmy_r.js} +5 -5
- package/dist/{assertOptions-og3t30Fh.js → assertOptions-DVRsfCk1.js} +22 -2
- package/dist/{batch-oTkSbtVz.js → batch-DR5SgbnX.js} +2 -2
- package/dist/{clickGuard-ChKuogmR.js → clickGuard-FrlnECMp.js} +1 -2
- package/dist/coarsePointer-BfMx3H23.js +86 -0
- package/dist/composables/index.js +6 -6
- package/dist/{composables-COCeg92e.js → composables-Do86VAmM.js} +7 -110
- package/dist/{context-DQPBIsl5.js → context-WY1ippwe.js} +2 -2
- package/dist/{disabledInteraction-CPzL8kVP.js → disabledInteraction-Bqoyhoss.js} +9 -1
- package/dist/{edge-3sC8-cbB.js → edge-qfeek_VV.js} +1 -1
- package/dist/{edgeRide-DOxmVxTM.js → edgeRide-iWUNdlxe.js} +4 -4
- package/dist/{sharedRealm-H1OrlP0V.js → flatTree-BB4yPMNL.js} +1 -49
- package/dist/{handle-CSHfxBie.js → handle-ma1yF_B_.js} +2 -1
- package/dist/holdEntranceInput-DjEzfGRU.js +523 -0
- package/dist/{index-beOIC0Qk.d.ts → index-0RIgvtdm.d.ts} +1 -1
- package/dist/{index-ZT45ZWd5.d.ts → index-B52PMrO7.d.ts} +8 -8
- package/dist/{index-Dc6mU3rv.d.ts → index-B63NOJRc.d.ts} +1 -1
- package/dist/{index-X4S7_dmq.d.ts → index-BA8exXNP.d.ts} +1 -1
- package/dist/{index-BB9acgK8.d.ts → index-BgT6mH3U.d.ts} +1 -1
- package/dist/{index-nk2xIHpr.d.ts → index-BhdxP-OG.d.ts} +3 -3
- package/dist/{index-B5MCvW75.d.ts → index-BjmMJ_4E.d.ts} +65 -49
- package/dist/{index-CpLLSVCn.d.ts → index-BtgkNd0Q.d.ts} +4 -4
- package/dist/{index-CP-fJFcJ.d.ts → index-BxWCX2pJ.d.ts} +2 -2
- package/dist/{index-51CkIKnI.d.ts → index-C93nwgTW.d.ts} +1 -1
- package/dist/{index-BJputYk6.d.ts → index-CH-xSiJz.d.ts} +3 -3
- package/dist/{index-C4S65SAW.d.ts → index-CKnr0JlT.d.ts} +1 -1
- package/dist/{index-B-3EGjfQ.d.ts → index-CO9GW-ik.d.ts} +1 -1
- package/dist/{index-BaFphczL.d.ts → index-COgrQZIL.d.ts} +1 -1
- package/dist/{index-GgHVkJtB.d.ts → index-CRtGmCHi.d.ts} +1 -1
- package/dist/{index-CBOv5j3c.d.ts → index-CbA8rR_b.d.ts} +1 -1
- package/dist/{index-DXHmlFcC.d.ts → index-CuW4AQ7M.d.ts} +3 -3
- package/dist/{index-C8wfe0Mr.d.ts → index-D05JGsT3.d.ts} +1 -1
- package/dist/{index-BlhbRf58.d.ts → index-DDVCVpnG.d.ts} +1 -1
- package/dist/{index-MvrDMqnQ.d.ts → index-DYabo8TI.d.ts} +1 -1
- package/dist/{index-SRA6e30Q.d.ts → index-Dcxqzk_d.d.ts} +8 -8
- package/dist/{index-Cb-rvc1W.d.ts → index-DofC9Rll.d.ts} +1 -1
- package/dist/{index-B6svLvfZ.d.ts → index-Qdbssopn.d.ts} +1 -1
- package/dist/{index-NOxH5oYj.d.ts → index-etx25Eq-.d.ts} +1 -1
- package/dist/{index-B3U6GJKl.d.ts → index-lmd9LZKB.d.ts} +1 -1
- package/dist/{index-C9uW39Mj.d.ts → index-mK1ICsVg.d.ts} +3 -3
- package/dist/{index-ql9ApSTF.d.ts → index-yQc-te9a.d.ts} +2 -2
- package/dist/index.d.ts +30 -30
- package/dist/index.js +95 -95
- package/dist/inputStream-LZdK8luP.js +239 -0
- package/dist/{landing-DFC97kl9.js → landing-qVsYAZ-v.js} +2 -2
- package/dist/{pressFeedback-CEUPQWIS.js → pressFeedback-DVR5V1b6.js} +3 -164
- package/dist/{stillPointerGate-1Tgkns0J.js → stillPointerGate-D3loXLh7.js} +1 -1
- package/dist/{tooltipFocusRules-vIH7PZh1.js → tooltipFocusRules-CFNKWzYn.js} +1 -1
- package/dist/{tooltipTriggerRules-DoBAbfGc.js → tooltipTriggerRules-DyPyWOdP.js} +1 -1
- package/dist/touchHold-CFJlSClt.js +30 -0
- package/dist/{types-Dxs5rf-2.d.ts → types-Gw2OjSK9.d.ts} +9 -9
- package/dist/{useActionGroupTracking-PVBCtLUE.js → useActionGroupTracking-C6BzQzvp.js} +2 -2
- package/dist/{useDismiss-CMIsdIOQ.js → useDismiss-C7_S7qUA.js} +87 -5
- package/dist/useHeldPresentation-fQsuYFhz.js +126 -0
- package/dist/{useInputStatusIcon-CrgeMzrf.js → useInputStatusIcon-BFw-EXjJ.js} +1 -1
- package/dist/{useMenuDrillIn-f3m-59Qb.js → useMenuDrillIn-CDn2na4X.js} +9 -8
- package/dist/{useMenuPress-wqRDvUMW.js → useMenuPress-CxUqSUZ9.js} +2 -2
- package/dist/{usePressFeedback-aufF1sCH.js → usePressFeedback-BhNcuxQv.js} +1 -1
- package/dist/{useTooltip-BwqzEtoF.js → useTooltip-CJHbG8Pv.js} +2 -2
- package/dist/{useTouchHitArea-BMDBe36j.js → useTouchHitArea-CNZyA18Y.js} +2 -2
- package/dist/{useTruncationTooltip-CRhoPzeu.js → useTruncationTooltip-BTcr1LCR.js} +3 -3
- package/dist/{useTypeaheadMenuConfig-GvdIymRg.js → useTypeaheadMenuConfig-DeDGVR8S.js} +1 -1
- package/package.json +1 -1
- package/styles/checkbox-list.css +5 -0
- package/styles/context-menu.css +17 -73
- package/styles/dialog.css +18 -1
- package/styles/hover-card.css +13 -72
- package/styles/layer.css +68 -0
- package/styles/multi-selector.css +17 -30
- package/styles/popover.css +13 -72
- package/styles/radio-indicator.css +2 -2
- package/styles/radio.css +25 -0
- package/styles/segmented-control.css +46 -1
- package/styles/selector.css +17 -30
- package/styles/slider.css +8 -2
- package/styles/switch.css +2 -1
- package/styles/toggle-button.css +3 -0
- package/styles/tooltip.css +12 -71
- package/styles/typeahead.css +17 -30
- package/dist/{index-BqhgeAT4.d.ts → index-CHx33xGa.d.ts} +2 -2
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import { n as useTouchHitArea } from "./useTouchHitArea-
|
|
2
|
-
import { t as usePressFeedback } from "./usePressFeedback-
|
|
1
|
+
import { n as useTouchHitArea } from "./useTouchHitArea-CNZyA18Y.js";
|
|
2
|
+
import { t as usePressFeedback } from "./usePressFeedback-BhNcuxQv.js";
|
|
3
3
|
import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
|
|
4
4
|
import { t as _sfc_main$2 } from "./VisuallyHidden-cpmsV-0M.js";
|
|
5
|
-
import { t as _sfc_main$3 } from "./Tooltip-
|
|
5
|
+
import { t as _sfc_main$3 } from "./Tooltip-88zhGfzF.js";
|
|
6
|
+
import { i as useAriaRequired } from "./context-DsNhYm5O.js";
|
|
6
7
|
import { t as useIndicator } from "./useIndicator-PFDBNOvX.js";
|
|
7
|
-
import {
|
|
8
|
+
import { r as withholdCallerHandlers } from "./disabledInteraction-Bqoyhoss.js";
|
|
9
|
+
import { t as _sfc_main$4 } from "./Field-eAowUUMX.js";
|
|
8
10
|
import { t as useFieldPartStyling } from "./fieldParts-CbWvZLhH.js";
|
|
9
11
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, normalizeClass, normalizeStyle, openBlock, provide, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, useAttrs, useId, useModel, useSlots, useTemplateRef, withCtx } from "vue";
|
|
10
12
|
import "../styles/radio.css";
|
|
@@ -15,6 +17,7 @@ const radioContextKey = defineLayerScopedKey("astryx-radio-context", void 0);
|
|
|
15
17
|
const _hoisted_1$1 = [
|
|
16
18
|
"for",
|
|
17
19
|
"data-size",
|
|
20
|
+
"data-align",
|
|
18
21
|
"data-disabled",
|
|
19
22
|
"data-readonly"
|
|
20
23
|
];
|
|
@@ -27,6 +30,8 @@ const _hoisted_2 = [
|
|
|
27
30
|
"readonly",
|
|
28
31
|
"form",
|
|
29
32
|
"aria-disabled",
|
|
33
|
+
"required",
|
|
34
|
+
"aria-invalid",
|
|
30
35
|
"aria-describedby"
|
|
31
36
|
];
|
|
32
37
|
const _hoisted_3 = { class: "astryx-radio-content" };
|
|
@@ -38,8 +43,10 @@ const _hoisted_6 = {
|
|
|
38
43
|
};
|
|
39
44
|
const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
40
45
|
name: "AstryxRadio",
|
|
46
|
+
inheritAttrs: false,
|
|
41
47
|
__name: "Radio",
|
|
42
48
|
props: {
|
|
49
|
+
align: {},
|
|
43
50
|
value: {},
|
|
44
51
|
label: {},
|
|
45
52
|
description: {},
|
|
@@ -82,6 +89,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
82
89
|
function describedBy() {
|
|
83
90
|
return [hasDescription.value ? `${inputId.value}-description` : void 0, messageDescriptionId.value].filter(Boolean).join(" ") || void 0;
|
|
84
91
|
}
|
|
92
|
+
const rowAttrs = computed(() => mergeProps(withholdCallerHandlers(attrs, !!isDisabled.value), isDisabled.value ? {} : press.pressableProps));
|
|
85
93
|
function rowClick(event) {
|
|
86
94
|
const target = event.target;
|
|
87
95
|
if (target instanceof Element && target.closest("a, button, select, textarea, [role=\"button\"], [role=\"link\"]")) event.preventDefault();
|
|
@@ -89,14 +97,15 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
89
97
|
return (_ctx, _cache) => {
|
|
90
98
|
return openBlock(), createElementBlock(Fragment, null, [createCommentVNode(" eslint-disable-next-line vue-a11y/click-events-have-key-events, vue-a11y/no-static-element-interactions -- 标签包住整行。点到链接时取消标签的默认选中,键盘仍由单选框处理。 "), createElementVNode("label", mergeProps({
|
|
91
99
|
ref_key: "row",
|
|
92
|
-
ref: row
|
|
100
|
+
ref: row
|
|
101
|
+
}, rowAttrs.value, {
|
|
93
102
|
for: inputId.value,
|
|
94
103
|
class: ["astryx-radio", {
|
|
95
104
|
"astryx-indicator-scope": !isDisabled.value,
|
|
96
105
|
"astryx-touch-hit-area-band": !isDisabled.value
|
|
97
|
-
}]
|
|
98
|
-
}, isDisabled.value ? void 0 : unref(press).pressableProps, {
|
|
106
|
+
}],
|
|
99
107
|
"data-size": indicatorSize.value,
|
|
108
|
+
"data-align": __props.align && __props.align !== "center" ? __props.align : void 0,
|
|
100
109
|
"data-disabled": isDisabled.value || void 0,
|
|
101
110
|
"data-readonly": isReadOnly.value || void 0,
|
|
102
111
|
onClick: rowClick
|
|
@@ -112,6 +121,8 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
112
121
|
readonly: isReadOnly.value,
|
|
113
122
|
form: explainedByMessage.value ? "" : void 0,
|
|
114
123
|
"aria-disabled": explainedByMessage.value || void 0,
|
|
124
|
+
required: unref(context)?.isRequired.value || void 0,
|
|
125
|
+
"aria-invalid": unref(context)?.isRequired.value ? unref(context).hasErrorStatus.value : void 0,
|
|
115
126
|
"aria-describedby": describedBy(),
|
|
116
127
|
onClick: click,
|
|
117
128
|
onChange: change
|
|
@@ -137,7 +148,13 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
137
148
|
});
|
|
138
149
|
//#endregion
|
|
139
150
|
//#region src/Radio/RadioGroup.vue
|
|
140
|
-
const _hoisted_1 = [
|
|
151
|
+
const _hoisted_1 = [
|
|
152
|
+
"aria-labelledby",
|
|
153
|
+
"aria-describedby",
|
|
154
|
+
"aria-disabled",
|
|
155
|
+
"aria-invalid",
|
|
156
|
+
"aria-required"
|
|
157
|
+
];
|
|
141
158
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
142
159
|
name: "AstryxRadioGroup",
|
|
143
160
|
inheritAttrs: false,
|
|
@@ -213,6 +230,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
213
230
|
]
|
|
214
231
|
});
|
|
215
232
|
const model = useModel(__props, "modelValue");
|
|
233
|
+
const ariaRequired = useAriaRequired(props);
|
|
216
234
|
const generatedName = `astryx-radio-${useId()}`;
|
|
217
235
|
const groupName = computed(() => props.name ?? generatedName);
|
|
218
236
|
const group = useTemplateRef("group");
|
|
@@ -249,6 +267,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
249
267
|
isGroupDisabled: computed(() => props.isDisabled ?? false),
|
|
250
268
|
isGroupReadOnly: computed(() => props.isReadOnly ?? false),
|
|
251
269
|
isRequired: computed(() => (props.isRequired && !props.isOptional) ?? false),
|
|
270
|
+
hasErrorStatus: computed(() => props.status?.type === "error"),
|
|
252
271
|
disabledMessage,
|
|
253
272
|
disabledMessageId,
|
|
254
273
|
size: computed(() => props.size)
|
|
@@ -292,7 +311,10 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
292
311
|
role: "radiogroup"
|
|
293
312
|
}, unref(parts).forwardedAttrs(), {
|
|
294
313
|
"aria-labelledby": [field.labelId, unref(attrs)["aria-labelledby"]].filter(Boolean).join(" ") || void 0,
|
|
295
|
-
"aria-describedby": groupDescribedBy(field.describedBy)
|
|
314
|
+
"aria-describedby": groupDescribedBy(field.describedBy),
|
|
315
|
+
"aria-disabled": __props.isDisabled || void 0,
|
|
316
|
+
"aria-invalid": __props.status?.type === "error" ? true : void 0,
|
|
317
|
+
"aria-required": unref(ariaRequired)
|
|
296
318
|
}), [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.options, (option) => {
|
|
297
319
|
return openBlock(), createBlock(_sfc_main$1, {
|
|
298
320
|
key: option.value,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Fr as RadioListItemProps, Ir as _default, Pr as _default$1, Ur as RadioListProps } from "../index-
|
|
1
|
+
import { Fr as RadioListItemProps, Ir as _default, Pr as _default$1, Ur as RadioListProps } from "../index-BjmMJ_4E.js";
|
|
2
2
|
export { _default as RadioList, _default$1 as RadioListItem, type RadioListItemProps, type RadioListProps };
|
package/dist/RadioList/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, t as _sfc_main$1 } from "../RadioList-
|
|
1
|
+
import { n as _sfc_main, t as _sfc_main$1 } from "../RadioList-UN7IxQg8.js";
|
|
2
2
|
export { _sfc_main as RadioList, _sfc_main$1 as RadioListItem };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as _sfc_main$3, t as _sfc_main$2 } from "./RadioGroup-
|
|
1
|
+
import { n as _sfc_main$3, t as _sfc_main$2 } from "./RadioGroup-DPy5JQhm.js";
|
|
2
2
|
import { createBlock, createSlots, defineComponent, mergeModels, openBlock, renderSlot, useModel, withCtx } from "vue";
|
|
3
3
|
//#region src/Radio/RadioList.vue
|
|
4
4
|
const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
@@ -130,6 +130,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
130
130
|
name: "AstryxRadioListItem",
|
|
131
131
|
__name: "RadioListItem",
|
|
132
132
|
props: {
|
|
133
|
+
align: {},
|
|
133
134
|
value: {},
|
|
134
135
|
label: {},
|
|
135
136
|
description: {},
|
|
@@ -139,6 +140,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
139
140
|
setup(__props) {
|
|
140
141
|
return (_ctx, _cache) => {
|
|
141
142
|
return openBlock(), createBlock(_sfc_main$3, {
|
|
143
|
+
align: __props.align,
|
|
142
144
|
value: __props.value,
|
|
143
145
|
label: __props.label,
|
|
144
146
|
description: __props.description,
|
|
@@ -161,6 +163,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
161
163
|
key: "2"
|
|
162
164
|
} : void 0
|
|
163
165
|
]), 1032, [
|
|
166
|
+
"align",
|
|
164
167
|
"value",
|
|
165
168
|
"label",
|
|
166
169
|
"description",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ResizePillPlacement, i as ResizeHandleSlots, n as ResizeDirection, o as ResizePosition, r as ResizeHandleProps, t as _default } from "../index-
|
|
1
|
+
import { a as ResizePillPlacement, i as ResizeHandleSlots, n as ResizeDirection, o as ResizePosition, r as ResizeHandleProps, t as _default } from "../index-etx25Eq-.js";
|
|
2
2
|
export { type ResizeDirection, _default as ResizeHandle, type ResizeHandleProps, type ResizeHandleSlots, type ResizePillPlacement, type ResizePosition };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Mr as ScrollableAreaProps, Nr as ScrollableAreaSlots, jr as _default } from "../index-
|
|
1
|
+
import { Mr as ScrollableAreaProps, Nr as ScrollableAreaSlots, jr as _default } from "../index-BjmMJ_4E.js";
|
|
2
2
|
export { _default as ScrollableArea, type ScrollableAreaProps, type ScrollableAreaSlots };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as SegmentedControlItemProps, c as SegmentedControlProps, i as SegmentedControlEmits, l as SegmentedControlSize, n as _default, o as SegmentedControlItemSlots, r as SegmentedControlContextValue, s as SegmentedControlLayout, t as _default$1, u as SegmentedControlSlots } from "../index-
|
|
1
|
+
import { a as SegmentedControlItemProps, c as SegmentedControlProps, i as SegmentedControlEmits, l as SegmentedControlSize, n as _default, o as SegmentedControlItemSlots, r as SegmentedControlContextValue, s as SegmentedControlLayout, t as _default$1, u as SegmentedControlSlots } from "../index-C93nwgTW.js";
|
|
2
2
|
export { _default as SegmentedControl, type SegmentedControlContextValue, type SegmentedControlEmits, _default$1 as SegmentedControlItem, type SegmentedControlItemProps, type SegmentedControlItemSlots, type SegmentedControlLayout, type SegmentedControlProps, type SegmentedControlSize, type SegmentedControlSlots };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, t as _sfc_main$1 } from "../SegmentedControl-
|
|
1
|
+
import { n as _sfc_main, t as _sfc_main$1 } from "../SegmentedControl-BkWz-I2J.js";
|
|
2
2
|
export { _sfc_main as SegmentedControl, _sfc_main$1 as SegmentedControlItem };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as hasSlotContent } from "./slotContent-CNWOrGOr.js";
|
|
2
|
-
import { n as useTouchHitArea } from "./useTouchHitArea-
|
|
3
|
-
import { t as usePressFeedback } from "./usePressFeedback-
|
|
2
|
+
import { n as useTouchHitArea } from "./useTouchHitArea-CNZyA18Y.js";
|
|
3
|
+
import { t as usePressFeedback } from "./usePressFeedback-BhNcuxQv.js";
|
|
4
4
|
import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
|
|
5
5
|
import { i as useSize } from "./SizeContext-BbaF-SEx.js";
|
|
6
6
|
import { t as _sfc_main$2 } from "./ButtonTooltip-CNKOQHYR.js";
|
|
@@ -10,6 +10,63 @@ import "../styles/segmented-control.css";
|
|
|
10
10
|
//#region src/SegmentedControl/context.ts
|
|
11
11
|
const segmentedControlContextKey = defineLayerScopedKey("astryx-segmented-control", null);
|
|
12
12
|
//#endregion
|
|
13
|
+
//#region src/SegmentedControl/useSegmentedSelection.ts
|
|
14
|
+
/**
|
|
15
|
+
* 选中块是控件里的一块独立表面,每次选中的分段变了都滑到新位置,大小也跟着变。
|
|
16
|
+
* 位置和大小从选中的分段量出来:分段变宽、换行、字体加载完、控件被缩放,都会重新量。
|
|
17
|
+
*/
|
|
18
|
+
function useSegmentedSelection(root) {
|
|
19
|
+
const box = shallowRef(null);
|
|
20
|
+
const isReady = shallowRef(false);
|
|
21
|
+
let observer;
|
|
22
|
+
let frame;
|
|
23
|
+
function measure() {
|
|
24
|
+
const element = root.value;
|
|
25
|
+
const selected = element?.querySelector("[role=\"radio\"][aria-checked=\"true\"]");
|
|
26
|
+
if (element == null || selected == null || selected.offsetWidth === 0 || selected.offsetHeight === 0) {
|
|
27
|
+
box.value = null;
|
|
28
|
+
return;
|
|
29
|
+
}
|
|
30
|
+
const next = {
|
|
31
|
+
x: selected.offsetLeft,
|
|
32
|
+
y: selected.offsetTop,
|
|
33
|
+
width: selected.offsetWidth,
|
|
34
|
+
height: selected.offsetHeight
|
|
35
|
+
};
|
|
36
|
+
const current = box.value;
|
|
37
|
+
if (current == null || current.x !== next.x || current.y !== next.y || current.width !== next.width || current.height !== next.height) box.value = next;
|
|
38
|
+
}
|
|
39
|
+
onMounted(() => {
|
|
40
|
+
measure();
|
|
41
|
+
if (box.value != null && typeof requestAnimationFrame === "function") frame = requestAnimationFrame(() => {
|
|
42
|
+
isReady.value = true;
|
|
43
|
+
});
|
|
44
|
+
if (typeof ResizeObserver !== "undefined" && root.value != null) {
|
|
45
|
+
observer = new ResizeObserver(measure);
|
|
46
|
+
observer.observe(root.value);
|
|
47
|
+
for (const item of root.value.querySelectorAll("[role=\"radio\"]")) observer.observe(item);
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
onUpdated(measure);
|
|
51
|
+
onBeforeUnmount(() => {
|
|
52
|
+
observer?.disconnect();
|
|
53
|
+
if (frame != null && typeof cancelAnimationFrame === "function") cancelAnimationFrame(frame);
|
|
54
|
+
});
|
|
55
|
+
return {
|
|
56
|
+
box,
|
|
57
|
+
isReady,
|
|
58
|
+
style: () => {
|
|
59
|
+
const current = box.value;
|
|
60
|
+
return current == null ? void 0 : {
|
|
61
|
+
"--_selection-x": `${current.x}px`,
|
|
62
|
+
"--_selection-y": `${current.y}px`,
|
|
63
|
+
"--_selection-width": `${current.width}px`,
|
|
64
|
+
"--_selection-height": `${current.height}px`
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
//#endregion
|
|
13
70
|
//#region src/SegmentedControl/SegmentedControl.vue
|
|
14
71
|
const _hoisted_1$1 = [
|
|
15
72
|
"aria-describedby",
|
|
@@ -18,8 +75,14 @@ const _hoisted_1$1 = [
|
|
|
18
75
|
"data-disabled",
|
|
19
76
|
"data-disabled-message",
|
|
20
77
|
"data-layout",
|
|
78
|
+
"data-selection",
|
|
21
79
|
"data-size"
|
|
22
80
|
];
|
|
81
|
+
const _hoisted_2$1 = {
|
|
82
|
+
key: 0,
|
|
83
|
+
class: "astryx-segmented-control__selection",
|
|
84
|
+
"aria-hidden": "true"
|
|
85
|
+
};
|
|
23
86
|
const ITEM_SELECTOR = "[role=\"radio\"]";
|
|
24
87
|
const TOOLTIP_SHOW_DELAY = 200;
|
|
25
88
|
const TOOLTIP_HIDE_DELAY = 100;
|
|
@@ -49,7 +112,9 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
49
112
|
const attrs = useAttrs();
|
|
50
113
|
const root = useTemplateRef("root");
|
|
51
114
|
const tooltipId = `astryx-segmented-control-${useId()}-tooltip`;
|
|
52
|
-
|
|
115
|
+
const element = computed(() => root.value ?? null);
|
|
116
|
+
const selection = useSegmentedSelection(root);
|
|
117
|
+
__expose({ element });
|
|
53
118
|
const showsDisabledMessage = computed(() => props.isDisabled && !!props.disabledMessage?.trim());
|
|
54
119
|
function select(value) {
|
|
55
120
|
if (props.isDisabled || value === model.value) return;
|
|
@@ -200,7 +265,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
200
265
|
]);
|
|
201
266
|
const forwardedAttrs = computed(() => Object.fromEntries(Object.entries(attrs).filter(([key]) => !controlledAttrs.has(key))));
|
|
202
267
|
const rootClass = computed(() => ["astryx-segmented-control", attrs.class]);
|
|
203
|
-
const rootStyle = computed(() => attrs.style);
|
|
268
|
+
const rootStyle = computed(() => [attrs.style, selection.style()]);
|
|
204
269
|
const describedBy = computed(() => [attrs["aria-describedby"], showsDisabledMessage.value ? tooltipId : void 0].filter(Boolean).join(" ") || void 0);
|
|
205
270
|
return (_ctx, _cache) => {
|
|
206
271
|
return openBlock(), createElementBlock(Fragment, null, [createElementVNode("div", mergeProps({
|
|
@@ -214,6 +279,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
214
279
|
"data-disabled": __props.isDisabled || void 0,
|
|
215
280
|
"data-disabled-message": showsDisabledMessage.value || void 0,
|
|
216
281
|
"data-layout": __props.layout,
|
|
282
|
+
"data-selection": unref(selection).box.value != null ? unref(selection).isReady.value ? "ready" : "measured" : void 0,
|
|
217
283
|
"data-size": unref(size),
|
|
218
284
|
style: rootStyle.value,
|
|
219
285
|
role: "radiogroup",
|
|
@@ -221,7 +287,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
221
287
|
onFocusout: scheduleHideTooltip,
|
|
222
288
|
onPointerenter: scheduleShowTooltip,
|
|
223
289
|
onPointerleave: scheduleHideTooltip
|
|
224
|
-
}), [renderSlot(_ctx.$slots, "default")], 16, _hoisted_1$1), showsDisabledMessage.value ? (openBlock(), createBlock(_sfc_main$2, {
|
|
290
|
+
}), [unref(selection).box.value != null ? (openBlock(), createElementBlock("span", _hoisted_2$1)) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "default")], 16, _hoisted_1$1), showsDisabledMessage.value ? (openBlock(), createBlock(_sfc_main$2, {
|
|
225
291
|
key: 0,
|
|
226
292
|
id: tooltipId,
|
|
227
293
|
anchor: root.value,
|
|
@@ -294,8 +360,9 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
294
360
|
});
|
|
295
361
|
const describedBy = computed(() => [attrs["aria-describedby"], context?.disabledReasonId.value].filter(Boolean).join(" ") || void 0);
|
|
296
362
|
function handleClick(event) {
|
|
363
|
+
if (isDisabled.value) return;
|
|
297
364
|
invokeNativeEventHandler(attrs.onClick, event);
|
|
298
|
-
if (event.defaultPrevented
|
|
365
|
+
if (event.defaultPrevented) return;
|
|
299
366
|
context?.select(props.value);
|
|
300
367
|
}
|
|
301
368
|
const controlledAttrs = /* @__PURE__ */ new Set([
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ar as SelectableCardSlots, Dr as _default, Or as SelectableCardEmits, kr as SelectableCardProps } from "../index-
|
|
1
|
+
import { Ar as SelectableCardSlots, Dr as _default, Or as SelectableCardEmits, kr as SelectableCardProps } from "../index-BjmMJ_4E.js";
|
|
2
2
|
export { _default as SelectableCard, _default as default, type SelectableCardEmits, type SelectableCardProps, type SelectableCardSlots };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, t as SelectableCard_default } from "../SelectableCard-
|
|
1
|
+
import { n as _sfc_main, t as SelectableCard_default } from "../SelectableCard-GRWYx3iD.js";
|
|
2
2
|
export { _sfc_main as SelectableCard, SelectableCard_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as useClickableContainer } from "./useClickableContainer-Dtjg-nkm.js";
|
|
2
|
-
import { t as usePressFeedback } from "./usePressFeedback-
|
|
2
|
+
import { t as usePressFeedback } from "./usePressFeedback-BhNcuxQv.js";
|
|
3
3
|
import { t as _sfc_main$1 } from "./VisuallyHidden-cpmsV-0M.js";
|
|
4
4
|
import { t as _sfc_main$2 } from "./Card-D_OJxmwD.js";
|
|
5
5
|
import { computed, createBlock, createVNode, defineComponent, mergeModels, mergeProps, openBlock, renderSlot, unref, useModel, useTemplateRef, withCtx } from "vue";
|
package/dist/Selector/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as SelectorOption, c as SelectorProps, d as SelectorSlots, f as SelectorStatus, h as SelectorVariant, i as SelectorIndicatorPosition, l as SelectorSection, m as SelectorStatusVariant, n as SelectorEmits, o as SelectorOptionInput, p as SelectorStatusInput, r as SelectorEntry, s as SelectorPresentation, t as _default, u as SelectorSize } from "../index-
|
|
1
|
+
import { a as SelectorOption, c as SelectorProps, d as SelectorSlots, f as SelectorStatus, h as SelectorVariant, i as SelectorIndicatorPosition, l as SelectorSection, m as SelectorStatusVariant, n as SelectorEmits, o as SelectorOptionInput, p as SelectorStatusInput, r as SelectorEntry, s as SelectorPresentation, t as _default, u as SelectorSize } from "../index-Dcxqzk_d.js";
|
|
2
2
|
export { _default as Selector, type SelectorEmits, type SelectorEntry, type SelectorIndicatorPosition, type SelectorOption, type SelectorOptionInput, type SelectorPresentation, type SelectorProps, type SelectorSection, type SelectorSize, type SelectorSlots, type SelectorStatus, type SelectorStatusInput, type SelectorStatusVariant, type SelectorVariant };
|
package/dist/Selector/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Selector-
|
|
1
|
+
import { t as _sfc_main } from "../Selector-CCtsUveZ.js";
|
|
2
2
|
export { _sfc_main as Selector };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as _sfc_main$2 } from "./BottomSheet-
|
|
1
|
+
import { n as _sfc_main$2 } from "./BottomSheet-DGhRZLw4.js";
|
|
2
2
|
import { t as _sfc_main$3 } from "./Icon-Dk0jccgU.js";
|
|
3
3
|
import { n as useInputGroupContext, r as useInputGroupDisabled } from "./context-Bg7eSJ47.js";
|
|
4
4
|
import { i as useSize } from "./SizeContext-BbaF-SEx.js";
|
|
5
|
-
import { n as usePositionedLayer, t as useDismiss } from "./useDismiss-
|
|
5
|
+
import { i as writeLayerEntranceSide, n as usePositionedLayer, r as layerEntranceSide, t as useDismiss } from "./useDismiss-C7_S7qUA.js";
|
|
6
6
|
import { s as isImeKeyEvent } from "./layerDepth-D3Rh8T5C.js";
|
|
7
7
|
import { t as _sfc_main$4 } from "./VisuallyHidden-cpmsV-0M.js";
|
|
8
8
|
import { t as _sfc_main$5 } from "./ButtonTooltip-CNKOQHYR.js";
|
|
@@ -16,15 +16,15 @@ import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
|
16
16
|
import { n as clampInlineSize } from "./inlineSize-BNe8wggI.js";
|
|
17
17
|
import { t as _sfc_main$6 } from "./Spinner-DEVPDsD0.js";
|
|
18
18
|
import { t as useIndicator } from "./useIndicator-PFDBNOvX.js";
|
|
19
|
-
import { t as
|
|
19
|
+
import { t as consumeWhileDisabled } from "./disabledInteraction-Bqoyhoss.js";
|
|
20
|
+
import { t as _sfc_main$7 } from "./Field-eAowUUMX.js";
|
|
20
21
|
import { t as useFieldPartStyling } from "./fieldParts-CbWvZLhH.js";
|
|
21
|
-
import { t as consumeWhileDisabled } from "./disabledInteraction-CPzL8kVP.js";
|
|
22
22
|
import { t as useBusyAnnouncement } from "./busyAnnouncement-CExubuYm.js";
|
|
23
23
|
import { n as fieldStatusPlacement, r as _sfc_main$8, t as normalizeTriggerVariant } from "./triggerVariant-DG0VhG-X.js";
|
|
24
24
|
import { t as selectorMessages } from "./selector-BmGLjm94.js";
|
|
25
|
-
import { a as
|
|
25
|
+
import { a as dismissSelectorEscape, i as bindListboxEscape, n as useKeyboardHighlight, o as focusSelectorTrigger, r as useSelectorSheet, s as onSelectorListboxEscape, t as assertOptionsArray } from "./assertOptions-DVRsfCk1.js";
|
|
26
26
|
import { i as isOptionAction, n as searchResultMessage, r as OptionAction, t as useOptionActionGrid } from "./useOptionActionGrid-C7ibYM_A.js";
|
|
27
|
-
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, h, isVNode, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onMounted, onScopeDispose, openBlock, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, useAttrs, useId, useSlots, useTemplateRef, vShow, watch, withCtx, withDirectives, withKeys, withModifiers } from "vue";
|
|
27
|
+
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, h, isRef, isVNode, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onMounted, onScopeDispose, openBlock, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, useAttrs, useId, useSlots, useTemplateRef, vShow, watch, withCtx, withDirectives, withKeys, withModifiers } from "vue";
|
|
28
28
|
import "../styles/layer.css";
|
|
29
29
|
import "../styles/button.css";
|
|
30
30
|
import "../styles/visually-hidden-utility.css";
|
|
@@ -461,7 +461,14 @@ function useListboxOverlay(options) {
|
|
|
461
461
|
const selected = list.querySelector(".astryx-selector-option.is-selected");
|
|
462
462
|
const raw = selected ? fieldRect.top - list.clientTop - (selected.offsetTop - list.scrollTop) : fieldRect.bottom;
|
|
463
463
|
const maxTop = window.innerHeight - list.offsetHeight - 8;
|
|
464
|
-
|
|
464
|
+
const top = Math.max(8, Math.min(raw, Math.max(8, maxTop)));
|
|
465
|
+
overlayTop.value = top;
|
|
466
|
+
writeLayerEntranceSide(list, layerEntranceSide({
|
|
467
|
+
left: options.position.value.left,
|
|
468
|
+
top,
|
|
469
|
+
width: list.offsetWidth,
|
|
470
|
+
height: list.offsetHeight
|
|
471
|
+
}, fieldRect));
|
|
465
472
|
}
|
|
466
473
|
watch([
|
|
467
474
|
options.isOpen,
|
|
@@ -765,7 +772,6 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
765
772
|
const panelRef = useTemplateRef("panelRef");
|
|
766
773
|
const sheetSlot = useTemplateRef("sheetSlot");
|
|
767
774
|
useScrollbars(listboxRef);
|
|
768
|
-
const isSheet = computed(() => props.presentation === "bottom-sheet");
|
|
769
775
|
const sheetLabel = computed(() => props.label || resolvedPlaceholder.value);
|
|
770
776
|
const isEnabled = control.canActivate;
|
|
771
777
|
const isSearchable = computed(() => props.searchable && control.canActivate.value);
|
|
@@ -801,13 +807,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
801
807
|
}
|
|
802
808
|
});
|
|
803
809
|
const { isKeyboardHighlight } = useKeyboardHighlight(combobox.activeIndex);
|
|
804
|
-
const sheetOpen =
|
|
805
|
-
get: () => isSheet.value && combobox.isOpen.value,
|
|
806
|
-
set: (open) => {
|
|
807
|
-
if (!open && combobox.isOpen.value) combobox.close();
|
|
808
|
-
}
|
|
809
|
-
});
|
|
810
|
-
const popoverOpen = computed(() => combobox.isOpen.value && !isSheet.value);
|
|
810
|
+
const { isSheet, sheetOpen, popoverOpen, onSheetMotionComplete } = useSelectorSheet(() => props.presentation, combobox);
|
|
811
811
|
const { position, teleportTarget } = usePositionedLayer({
|
|
812
812
|
anchor: fieldRef,
|
|
813
813
|
layer: listboxRef,
|
|
@@ -1085,13 +1085,14 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
1085
1085
|
"onPointerEnter",
|
|
1086
1086
|
"onPointerLeave"
|
|
1087
1087
|
])) : createCommentVNode("v-if", true),
|
|
1088
|
-
isSheet
|
|
1088
|
+
unref(isSheet) ? (openBlock(), createBlock(_sfc_main$2, {
|
|
1089
1089
|
key: 2,
|
|
1090
|
-
"is-open": sheetOpen
|
|
1091
|
-
"onUpdate:isOpen": _cache[5] || (_cache[5] = ($event) => sheetOpen.value = $event),
|
|
1090
|
+
"is-open": unref(sheetOpen),
|
|
1091
|
+
"onUpdate:isOpen": _cache[5] || (_cache[5] = ($event) => isRef(sheetOpen) ? sheetOpen.value = $event : null),
|
|
1092
1092
|
height: "hug",
|
|
1093
1093
|
label: sheetLabel.value,
|
|
1094
|
-
padding: 2
|
|
1094
|
+
padding: 2,
|
|
1095
|
+
onMotionComplete: unref(onSheetMotionComplete)
|
|
1095
1096
|
}, {
|
|
1096
1097
|
default: withCtx(() => [createElementVNode("div", {
|
|
1097
1098
|
ref_key: "sheetSlot",
|
|
@@ -1099,18 +1100,22 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
1099
1100
|
class: "astryx-selector-sheet"
|
|
1100
1101
|
}, [createElementVNode("div", _hoisted_7, toDisplayString(sheetLabel.value), 1)], 512)]),
|
|
1101
1102
|
_: 1
|
|
1102
|
-
}, 8, [
|
|
1103
|
-
|
|
1103
|
+
}, 8, [
|
|
1104
|
+
"is-open",
|
|
1105
|
+
"label",
|
|
1106
|
+
"onMotionComplete"
|
|
1107
|
+
])) : createCommentVNode("v-if", true),
|
|
1108
|
+
(openBlock(), createBlock(Teleport, { to: unref(isSheet) && sheetSlot.value ? sheetSlot.value : unref(teleportTarget) }, [withDirectives(createElementVNode("div", {
|
|
1104
1109
|
id: listboxId.value,
|
|
1105
1110
|
ref_key: "listboxRef",
|
|
1106
1111
|
ref: listboxRef,
|
|
1107
1112
|
role: unref(gridMode) ? "grid" : "listbox",
|
|
1108
1113
|
"aria-label": fieldLabel.value,
|
|
1109
1114
|
class: normalizeClass(["astryx-selector-listbox astryx-layer", [{
|
|
1110
|
-
"is-sheet": isSheet
|
|
1115
|
+
"is-sheet": unref(isSheet),
|
|
1111
1116
|
"is-input": triggerVariant.value === "input"
|
|
1112
1117
|
}, `size-${unref(size)}`]]),
|
|
1113
|
-
"data-placement": isSheet
|
|
1118
|
+
"data-placement": unref(isSheet) ? void 0 : unref(position).placement,
|
|
1114
1119
|
style: normalizeStyle(unref(listboxStyle)),
|
|
1115
1120
|
"data-keyboard-highlight": unref(isKeyboardHighlight) || void 0,
|
|
1116
1121
|
tabindex: "-1"
|
package/dist/SideNav/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Cr as SideNavResizable, Er as useSideNavCollapse, Sr as SideNavProps, Tr as SideNavCollapseContext, _r as SideNavEmits, br as SideNavItemEmits, cr as _default$3, dr as _default, fr as SideNavCollapseButtonProps, gr as SideNavControlledCollapsible, hr as SideNavCollapsible, lr as _default$2, mr as SideNavCollapseButtonSlots, pr as SideNavCollapseButtonSize, sr as _default$4, ur as _default$1, vr as SideNavHandle, wr as SideNavSectionProps, xr as SideNavItemProps, yr as SideNavHeadingProps } from "../index-
|
|
1
|
+
import { Cr as SideNavResizable, Er as useSideNavCollapse, Sr as SideNavProps, Tr as SideNavCollapseContext, _r as SideNavEmits, br as SideNavItemEmits, cr as _default$3, dr as _default, fr as SideNavCollapseButtonProps, gr as SideNavControlledCollapsible, hr as SideNavCollapsible, lr as _default$2, mr as SideNavCollapseButtonSlots, pr as SideNavCollapseButtonSize, sr as _default$4, ur as _default$1, vr as SideNavHandle, wr as SideNavSectionProps, xr as SideNavItemProps, yr as SideNavHeadingProps } from "../index-BjmMJ_4E.js";
|
|
2
2
|
export { _default as SideNav, _default$1 as SideNavCollapseButton, type SideNavCollapseButtonProps, type SideNavCollapseButtonSize, type SideNavCollapseButtonSlots, type SideNavCollapseContext, type SideNavCollapsible, type SideNavControlledCollapsible, type SideNavEmits, type SideNavHandle, _default$2 as SideNavHeading, type SideNavHeadingProps, _default$3 as SideNavItem, type SideNavItemEmits, type SideNavItemProps, type SideNavProps, type SideNavResizable, _default$4 as SideNavSection, type SideNavSectionProps, useSideNavCollapse };
|
package/dist/SideNav/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as useSideNavCollapse } from "../context-
|
|
2
|
-
import { a as _sfc_main$1, i as _sfc_main, n as _sfc_main$3, r as _sfc_main$2, t as _sfc_main$4 } from "../SideNav-
|
|
1
|
+
import { a as useSideNavCollapse } from "../context-WY1ippwe.js";
|
|
2
|
+
import { a as _sfc_main$1, i as _sfc_main, n as _sfc_main$3, r as _sfc_main$2, t as _sfc_main$4 } from "../SideNav-COl5ApOz.js";
|
|
3
3
|
export { _sfc_main as SideNav, _sfc_main$1 as SideNavCollapseButton, _sfc_main$2 as SideNavHeading, _sfc_main$3 as SideNavItem, _sfc_main$4 as SideNavSection, useSideNavCollapse };
|
|
@@ -2,25 +2,25 @@ import { t as hasSlotContent } from "./slotContent-CNWOrGOr.js";
|
|
|
2
2
|
import { t as _sfc_main$5 } from "./Icon-Dk0jccgU.js";
|
|
3
3
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
4
4
|
import { n as SizeProvider } from "./SizeContext-BbaF-SEx.js";
|
|
5
|
-
import { t as _sfc_main$6 } from "./Button-
|
|
6
|
-
import { n as createAnimatedLayout, t as areaOf } from "./handle-
|
|
7
|
-
import { d as layoutMotion, g as layoutStartFor, h as beginChange, k as shownBoxAt, r as changeStartIn } from "./batch-
|
|
8
|
-
import { a as isRtl, s as pxClip } from "./edge-
|
|
9
|
-
import { a as useSideNavCollapse, c as holdLayoutSwap, i as sideNavShellKey, l as playLayoutFrames, n as sideNavDepthKey, o as useSideNavDepth, s as useSideNavRenderMode, t as sideNavCollapseKey, u as playLayoutSwap } from "./context-
|
|
5
|
+
import { t as _sfc_main$6 } from "./Button-D8AGK5oT.js";
|
|
6
|
+
import { n as createAnimatedLayout, t as areaOf } from "./handle-ma1yF_B_.js";
|
|
7
|
+
import { d as layoutMotion, g as layoutStartFor, h as beginChange, k as shownBoxAt, r as changeStartIn } from "./batch-DR5SgbnX.js";
|
|
8
|
+
import { a as isRtl, s as pxClip } from "./edge-qfeek_VV.js";
|
|
9
|
+
import { a as useSideNavCollapse, c as holdLayoutSwap, i as sideNavShellKey, l as playLayoutFrames, n as sideNavDepthKey, o as useSideNavDepth, s as useSideNavRenderMode, t as sideNavCollapseKey, u as playLayoutSwap } from "./context-WY1ippwe.js";
|
|
10
10
|
import { r as focusablesIn } from "./focusRegion-CmDg7_4b.js";
|
|
11
11
|
import { t as useHandleRef } from "./useHandleRef-6cdKugm8.js";
|
|
12
12
|
import { n as useResizable, r as useHotkeys } from "./useResizable-hv4NYIUi.js";
|
|
13
13
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
14
|
-
import { t as _sfc_main$7 } from "./Tooltip-
|
|
14
|
+
import { t as _sfc_main$7 } from "./Tooltip-88zhGfzF.js";
|
|
15
15
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
16
16
|
import { n as noteFocusWithin, r as useFocusLeavingChange, t as moveFocusLeftBehind } from "./focusLeaving-Dqm8Yj4T.js";
|
|
17
17
|
import { t as navMessages } from "./nav-DpKQUHqR.js";
|
|
18
18
|
import { t as useCloseMobileDrawer } from "./closeOnActivate-D1KgKWwm.js";
|
|
19
19
|
import { i as safeNavHref, r as resolveNavRoot } from "./link-DuuA2eCL.js";
|
|
20
|
-
import { t as _sfc_main$8 } from "./NavItem-
|
|
21
|
-
import { t as _sfc_main$9 } from "./NavDisclosure-
|
|
20
|
+
import { t as _sfc_main$8 } from "./NavItem-c1ScHEJY.js";
|
|
21
|
+
import { t as _sfc_main$9 } from "./NavDisclosure-B66SHKdd.js";
|
|
22
22
|
import { t as _sfc_main$10 } from "./ResizeHandle-BMSbAFdP.js";
|
|
23
|
-
import { t as _sfc_main$11 } from "./NavHeadingSurface-
|
|
23
|
+
import { t as _sfc_main$11 } from "./NavHeadingSurface-BZCzkCPJ.js";
|
|
24
24
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, getCurrentInstance, guardReactiveProps, inject, mergeProps, normalizeClass, normalizeProps, normalizeStyle, onBeforeUnmount, onMounted, openBlock, provide, reactive, ref, renderSlot, resolveDynamicComponent, toDisplayString, unref, useAttrs, useId, useSlots, useTemplateRef, watch, watchEffect, withCtx, withModifiers } from "vue";
|
|
25
25
|
import "../styles/visually-hidden.css";
|
|
26
26
|
import "../styles/side-nav.css";
|
package/dist/Slider/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Slider-
|
|
1
|
+
import { t as _sfc_main } from "../Slider-CYie9hWm.js";
|
|
2
2
|
export { _sfc_main as Slider };
|