@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
|
@@ -3,7 +3,7 @@ import { r as resetLayerScopedContext } from "./scopedProvide-C-Df7c15.js";
|
|
|
3
3
|
import { t as _sfc_main$2 } from "./Icon-Dk0jccgU.js";
|
|
4
4
|
import { r as useLayerConfig } from "./context-M-er0-Rk.js";
|
|
5
5
|
import { n as focusElement, r as getFocusables } from "./focus-x7mxEqjR.js";
|
|
6
|
-
import { t as _sfc_main$3 } from "./IconButton-
|
|
6
|
+
import { t as _sfc_main$3 } from "./IconButton-D9ZRJ7vD.js";
|
|
7
7
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
8
8
|
import { n as useActiveModalOutlet, r as whenModalSettled } from "./modalOutlet-Drr9a16b.js";
|
|
9
9
|
import { t as toastMessages } from "./toast-BvAnX6Vc.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as ToggleButtonEmits, B as ToggleButtonPressedChangeHandler, D as _default, E as _default$1, F as ToggleButtonGroupProps, H as ToggleButtonSize, I as ToggleButtonGroupSingleProps, L as ToggleButtonGroupSlots, M as ToggleButtonGroupEmits, N as ToggleButtonGroupMultipleProps, O as ToggleButtonChangeAction, P as ToggleButtonGroupOrientation, R as ToggleButtonGroupType, U as ToggleButtonSlots, V as ToggleButtonProps, j as ToggleButtonGroupBaseProps, k as ToggleButtonElevation, z as ToggleButtonGroupValue } from "../index-
|
|
1
|
+
import { A as ToggleButtonEmits, B as ToggleButtonPressedChangeHandler, D as _default, E as _default$1, F as ToggleButtonGroupProps, H as ToggleButtonSize, I as ToggleButtonGroupSingleProps, L as ToggleButtonGroupSlots, M as ToggleButtonGroupEmits, N as ToggleButtonGroupMultipleProps, O as ToggleButtonChangeAction, P as ToggleButtonGroupOrientation, R as ToggleButtonGroupType, U as ToggleButtonSlots, V as ToggleButtonProps, j as ToggleButtonGroupBaseProps, k as ToggleButtonElevation, z as ToggleButtonGroupValue } from "../index-BjmMJ_4E.js";
|
|
2
2
|
export { _default as ToggleButton, _default as default, type ToggleButtonChangeAction, type ToggleButtonElevation, type ToggleButtonEmits, _default$1 as ToggleButtonGroup, type ToggleButtonGroupBaseProps, type ToggleButtonGroupEmits, type ToggleButtonGroupMultipleProps, type ToggleButtonGroupOrientation, type ToggleButtonGroupProps, type ToggleButtonGroupSingleProps, type ToggleButtonGroupSlots, type ToggleButtonGroupType, type ToggleButtonGroupValue, type ToggleButtonPressedChangeHandler, type ToggleButtonProps, type ToggleButtonSize, type ToggleButtonSlots };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main$1, r as _sfc_main, t as ToggleButton_default } from "../ToggleButton-
|
|
1
|
+
import { n as _sfc_main$1, r as _sfc_main, t as ToggleButton_default } from "../ToggleButton-DfpsuhMa.js";
|
|
2
2
|
export { _sfc_main as ToggleButton, _sfc_main$1 as ToggleButtonGroup, ToggleButton_default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as pressGroupItemProps, n as useTouchHitArea, t as GROUP_HIT_AREA } from "./useTouchHitArea-
|
|
2
|
-
import { t as useActionGroupTracking } from "./useActionGroupTracking-
|
|
1
|
+
import { a as pressGroupItemProps, n as useTouchHitArea, t as GROUP_HIT_AREA } from "./useTouchHitArea-CNZyA18Y.js";
|
|
2
|
+
import { t as useActionGroupTracking } from "./useActionGroupTracking-C6BzQzvp.js";
|
|
3
3
|
import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
|
|
4
|
-
import { t as _sfc_main$2 } from "./Button-
|
|
4
|
+
import { t as _sfc_main$2 } from "./Button-D8AGK5oT.js";
|
|
5
5
|
import { n as buttonHitAreaContextKey } from "./context-Cgkyk-b7.js";
|
|
6
6
|
import { t as useCoarsePointer } from "./useCoarsePointer-GItEMrjX.js";
|
|
7
7
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, defineComponent, mergeModels, mergeProps, normalizeClass, openBlock, provide, renderSlot, shallowRef, toDisplayString, unref, useModel, useTemplateRef, withCtx } from "vue";
|
|
@@ -21,6 +21,7 @@ const _hoisted_3 = {
|
|
|
21
21
|
};
|
|
22
22
|
const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
23
23
|
name: "AstryxToggleButton",
|
|
24
|
+
inheritAttrs: false,
|
|
24
25
|
__name: "ToggleButton",
|
|
25
26
|
props: /*@__PURE__*/ mergeModels({
|
|
26
27
|
label: {},
|
|
@@ -117,7 +118,11 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
117
118
|
return (_ctx, _cache) => {
|
|
118
119
|
return openBlock(), createBlock(_sfc_main$2, mergeProps({
|
|
119
120
|
ref_key: "button",
|
|
120
|
-
ref: button
|
|
121
|
+
ref: button
|
|
122
|
+
}, {
|
|
123
|
+
..._ctx.$attrs,
|
|
124
|
+
...groupItemProps.value
|
|
125
|
+
}, {
|
|
121
126
|
class: "astryx-toggle-button",
|
|
122
127
|
"aria-pressed": isPressed.value ? "true" : "false",
|
|
123
128
|
"data-pressed": isPressed.value ? "true" : "false",
|
|
@@ -131,8 +136,9 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
131
136
|
size: size.value,
|
|
132
137
|
tooltip: __props.tooltip,
|
|
133
138
|
variant: "ghost",
|
|
134
|
-
"click-action": clickAction.value
|
|
135
|
-
|
|
139
|
+
"click-action": clickAction.value,
|
|
140
|
+
onClick: handleClick
|
|
141
|
+
}), createSlots({
|
|
136
142
|
default: withCtx(() => [!__props.isIconOnly ? (openBlock(), createElementBlock("span", _hoisted_1$1, [createElementVNode("span", _hoisted_2, [renderSlot(_ctx.$slots, "default", {}, () => [createTextVNode(toDisplayString(__props.label), 1)])]), createElementVNode("span", _hoisted_3, [renderSlot(_ctx.$slots, "default", {}, () => [createTextVNode(toDisplayString(__props.label), 1)])])])) : createCommentVNode("v-if", true)]),
|
|
137
143
|
_: 2
|
|
138
144
|
}, [_ctx.$slots.icon || _ctx.$slots.pressedIcon ? {
|
package/dist/Token/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TokenProps, i as TokenEmits, n as TOKEN_COLORS, o as TokenSize, r as TokenColor, s as TokenSlots, t as _default } from "../index-
|
|
1
|
+
import { a as TokenProps, i as TokenEmits, n as TOKEN_COLORS, o as TokenSize, r as TokenColor, s as TokenSlots, t as _default } from "../index-CHx33xGa.js";
|
|
2
2
|
export { TOKEN_COLORS, _default as Token, type TokenColor, type TokenEmits, type TokenProps, type TokenSize, type TokenSlots };
|
package/dist/Token/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { t as usePressFeedback } from "./usePressFeedback-
|
|
1
|
+
import { t as usePressFeedback } from "./usePressFeedback-BhNcuxQv.js";
|
|
2
2
|
import { n as isSafeUrl } from "./safeUrl-CsvfcZ9m.js";
|
|
3
3
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
4
4
|
import { t as useInteractiveRole } from "./useInteractiveRole-Cn0Nd5GX.js";
|
|
5
5
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
6
6
|
import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
|
|
7
7
|
import { t as textDirection } from "./textDirection-D4ObTwbB.js";
|
|
8
|
-
import { n as disabledInteractionProps } from "./disabledInteraction-
|
|
8
|
+
import { n as disabledInteractionProps } from "./disabledInteraction-Bqoyhoss.js";
|
|
9
9
|
import { t as tokenMessages } from "./token-DcbdjdZ2.js";
|
|
10
10
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, inject, mergeProps, normalizeClass, openBlock, renderSlot, resolveDynamicComponent, toDisplayString, toRaw, unref, useAttrs, withCtx } from "vue";
|
|
11
11
|
import "../styles/visually-hidden-utility.css";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TokenizerProps, c as TokenizerStatus, i as TokenizerOverflow, n as TokenizerChange, o as TokenizerSize, r as TokenizerEmits, s as TokenizerSlots, t as _default } from "../index-
|
|
1
|
+
import { a as TokenizerProps, c as TokenizerStatus, i as TokenizerOverflow, n as TokenizerChange, o as TokenizerSize, r as TokenizerEmits, s as TokenizerSlots, t as _default } from "../index-CH-xSiJz.js";
|
|
2
2
|
export { _default as Tokenizer, type TokenizerChange, type TokenizerEmits, type TokenizerOverflow, type TokenizerProps, type TokenizerSize, type TokenizerSlots, type TokenizerStatus };
|
package/dist/Tokenizer/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Tokenizer-
|
|
1
|
+
import { t as _sfc_main } from "../Tokenizer-C-eorFsF.js";
|
|
2
2
|
export { _sfc_main as Tokenizer };
|
|
@@ -5,18 +5,18 @@ import { t as _sfc_main$1 } from "./ButtonTooltip-CNKOQHYR.js";
|
|
|
5
5
|
import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
|
|
6
6
|
import { n as isDevBuild, t as devPropError } from "./devBuild-G249YcdZ.js";
|
|
7
7
|
import { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
8
|
-
import { t as useInputStatusIcon } from "./useInputStatusIcon-
|
|
8
|
+
import { t as useInputStatusIcon } from "./useInputStatusIcon-BFw-EXjJ.js";
|
|
9
9
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
10
10
|
import { t as useOverflow } from "./useOverflow-GU0pxGaU.js";
|
|
11
11
|
import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
|
|
12
12
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
13
|
-
import { t as _sfc_main$2 } from "./Field-
|
|
13
|
+
import { t as _sfc_main$2 } from "./Field-eAowUUMX.js";
|
|
14
14
|
import { t as useFieldPartStyling } from "./fieldParts-CbWvZLhH.js";
|
|
15
15
|
import { t as useBusyAnnouncement } from "./busyAnnouncement-CExubuYm.js";
|
|
16
16
|
import { t as tokenizerMessages } from "./tokenizer-ChiAuPN-.js";
|
|
17
|
-
import { t as _sfc_main$3 } from "./Token-
|
|
18
|
-
import { n as scrollOptionIntoView, r as useAnchoredListbox } from "./stillPointerGate-
|
|
19
|
-
import { a as useLatchedOptionGrid, n as useTypeaheadAnnouncement, o as useTypeaheadMenu, r as _sfc_main$4, t as useTypeaheadMenuConfig } from "./useTypeaheadMenuConfig-
|
|
17
|
+
import { t as _sfc_main$3 } from "./Token-C7Dt5ygK.js";
|
|
18
|
+
import { n as scrollOptionIntoView, r as useAnchoredListbox } from "./stillPointerGate-D3loXLh7.js";
|
|
19
|
+
import { a as useLatchedOptionGrid, n as useTypeaheadAnnouncement, o as useTypeaheadMenu, r as _sfc_main$4, t as useTypeaheadMenuConfig } from "./useTypeaheadMenuConfig-DeDGVR8S.js";
|
|
20
20
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, guardReactiveProps, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onBeforeUnmount, onMounted, openBlock, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, useAttrs, useId, useTemplateRef, watch, withCtx } from "vue";
|
|
21
21
|
import "../styles/layer.css";
|
|
22
22
|
import "../styles/visually-hidden-utility.css";
|
package/dist/Toolbar/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { T as _default } from "../index-
|
|
1
|
+
import { T as _default } from "../index-BjmMJ_4E.js";
|
|
2
2
|
import { et as ToolbarOrientation, nt as ToolbarSize, tt as ToolbarProps } from "../useResizable-CJd4JkbJ.js";
|
|
3
3
|
export { _default as Toolbar, type ToolbarOrientation, type ToolbarProps, type ToolbarSize };
|
package/dist/Tooltip/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TooltipAlignment, c as TooltipProps, i as _default, l as TooltipTouchTrigger, n as UseTooltipReturn, o as TooltipFocusTrigger, r as useTooltip, s as TooltipPlacement, t as UseTooltipOptions } from "../index-
|
|
1
|
+
import { a as TooltipAlignment, c as TooltipProps, i as _default, l as TooltipTouchTrigger, n as UseTooltipReturn, o as TooltipFocusTrigger, r as useTooltip, s as TooltipPlacement, t as UseTooltipOptions } from "../index-DYabo8TI.js";
|
|
2
2
|
export { _default as Tooltip, type TooltipAlignment, type TooltipFocusTrigger, type TooltipPlacement, type TooltipProps, type TooltipTouchTrigger, type UseTooltipOptions, type UseTooltipReturn, useTooltip };
|
package/dist/Tooltip/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as useTooltip } from "../useTooltip-
|
|
2
|
-
import { t as _sfc_main } from "../Tooltip-
|
|
1
|
+
import { t as useTooltip } from "../useTooltip-CJHbG8Pv.js";
|
|
2
|
+
import { t as _sfc_main } from "../Tooltip-88zhGfzF.js";
|
|
3
3
|
export { _sfc_main as Tooltip, useTooltip };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as _sfc_main$1, t as useTooltip } from "./useTooltip-
|
|
1
|
+
import { i as _sfc_main$1, t as useTooltip } from "./useTooltip-CJHbG8Pv.js";
|
|
2
2
|
import { Fragment, Teleport, computed, createElementBlock, createTextVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, nextTick, onMounted, onUpdated, openBlock, ref, renderSlot, toDisplayString, unref, useAttrs, watch, withCtx } from "vue";
|
|
3
3
|
import "../styles/tooltip.css";
|
|
4
4
|
//#region src/Tooltip/Tooltip.vue
|
package/dist/TopNav/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as TopNavMenuProps, S as TopNavMenuItem, _ as TopNavMegaMenuEmits, b as TopNavMegaMenuProps, c as _default$5, d as _default$2, f as _default$1, g as TopNavItemProps, h as TopNavItemEmits, l as _default$4, m as TopNavHeadingProps, p as _default, s as _default$6, u as _default$3, v as TopNavMegaMenuFeaturedCardProps, w as TopNavProps, x as TopNavMenuEmits, y as TopNavMegaMenuItemProps } from "../index-
|
|
1
|
+
import { C as TopNavMenuProps, S as TopNavMenuItem, _ as TopNavMegaMenuEmits, b as TopNavMegaMenuProps, c as _default$5, d as _default$2, f as _default$1, g as TopNavItemProps, h as TopNavItemEmits, l as _default$4, m as TopNavHeadingProps, p as _default, s as _default$6, u as _default$3, v as TopNavMegaMenuFeaturedCardProps, w as TopNavProps, x as TopNavMenuEmits, y as TopNavMegaMenuItemProps } from "../index-BjmMJ_4E.js";
|
|
2
2
|
export { _default as TopNav, _default$1 as TopNavHeading, type TopNavHeadingProps, _default$2 as TopNavItem, type TopNavItemEmits, type TopNavItemProps, _default$3 as TopNavMegaMenu, type TopNavMegaMenuEmits, _default$4 as TopNavMegaMenuFeaturedCard, type TopNavMegaMenuFeaturedCardProps, _default$5 as TopNavMegaMenuItem, type TopNavMegaMenuItemProps, type TopNavMegaMenuProps, _default$6 as TopNavMenu, type TopNavMenuEmits, type TopNavMenuItem, type TopNavMenuProps, type TopNavProps };
|
package/dist/TopNav/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as _sfc_main$2, i as _sfc_main$3, n as _sfc_main$5, o as _sfc_main$1, r as _sfc_main$4, s as _sfc_main, t as _sfc_main$6 } from "../TopNav-
|
|
1
|
+
import { a as _sfc_main$2, i as _sfc_main$3, n as _sfc_main$5, o as _sfc_main$1, r as _sfc_main$4, s as _sfc_main, t as _sfc_main$6 } from "../TopNav-DMFIsFwy.js";
|
|
2
2
|
export { _sfc_main as TopNav, _sfc_main$1 as TopNavHeading, _sfc_main$2 as TopNavItem, _sfc_main$3 as TopNavMegaMenu, _sfc_main$4 as TopNavMegaMenuFeaturedCard, _sfc_main$5 as TopNavMegaMenuItem, _sfc_main$6 as TopNavMenu };
|
|
@@ -7,14 +7,14 @@ import { t as useListFocus } from "./useListFocus-CkHfsZp0.js";
|
|
|
7
7
|
import { n as useAppShellMobile } from "./useAppShellMobile-DTsyuAJ4.js";
|
|
8
8
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
9
9
|
import { t as navMessages } from "./nav-DpKQUHqR.js";
|
|
10
|
-
import { n as _sfc_main$11, t as _sfc_main$10 } from "./MobileNavToggle-
|
|
10
|
+
import { n as _sfc_main$11, t as _sfc_main$10 } from "./MobileNavToggle-DLpEONfs.js";
|
|
11
11
|
import { n as mobileNavKey, t as mobileNavCloseKey } from "./context-D8MAZio1.js";
|
|
12
12
|
import { t as useCloseMobileDrawer } from "./closeOnActivate-D1KgKWwm.js";
|
|
13
13
|
import { i as safeNavHref, n as isNavigableHref, r as resolveNavRoot } from "./link-DuuA2eCL.js";
|
|
14
|
-
import { t as _sfc_main$12 } from "./NavItem-
|
|
15
|
-
import { n as navMenuCloseKey, o as navMenuPickKey, t as _sfc_main$13 } from "./NavDisclosure-
|
|
16
|
-
import { n as _sfc_main$15, t as _sfc_main$14 } from "./NavMenuItem-
|
|
17
|
-
import { t as _sfc_main$16 } from "./NavHeadingSurface-
|
|
14
|
+
import { t as _sfc_main$12 } from "./NavItem-c1ScHEJY.js";
|
|
15
|
+
import { n as navMenuCloseKey, o as navMenuPickKey, t as _sfc_main$13 } from "./NavDisclosure-B66SHKdd.js";
|
|
16
|
+
import { n as _sfc_main$15, t as _sfc_main$14 } from "./NavMenuItem-BqIi3o3D.js";
|
|
17
|
+
import { t as _sfc_main$16 } from "./NavHeadingSurface-BZCzkCPJ.js";
|
|
18
18
|
import { Fragment, Teleport, Text, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, inject, nextTick, normalizeClass, normalizeProps, onMounted, openBlock, provide, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, useId, useSlots, watch, withCtx, withModifiers } from "vue";
|
|
19
19
|
import "../styles/top-nav.css";
|
|
20
20
|
//#region src/MobileNav/MobileNavScope.vue
|
package/dist/TreeList/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TreeListItemData, c as TreeListVariant, i as TreeListDensity, n as useTreeFocus, o as TreeListProps, r as _default, s as TreeListSlots, t as UseTreeFocusOptions } from "../index-
|
|
1
|
+
import { a as TreeListItemData, c as TreeListVariant, i as TreeListDensity, n as useTreeFocus, o as TreeListProps, r as _default, s as TreeListSlots, t as UseTreeFocusOptions } from "../index-CKnr0JlT.js";
|
|
2
2
|
export { _default as TreeList, type TreeListDensity, type TreeListItemData, type TreeListProps, type TreeListSlots, type TreeListVariant, type UseTreeFocusOptions, useTreeFocus };
|
package/dist/TreeList/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as useTreeFocus, t as _sfc_main } from "../TreeList-
|
|
1
|
+
import { n as useTreeFocus, t as _sfc_main } from "../TreeList-nU2gSmQm.js";
|
|
2
2
|
export { _sfc_main as TreeList, useTreeFocus };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { a as isInLayerSurface } from "./useClickableContainer-Dtjg-nkm.js";
|
|
2
|
-
import { t as usePressFeedback } from "./usePressFeedback-
|
|
2
|
+
import { t as usePressFeedback } from "./usePressFeedback-BhNcuxQv.js";
|
|
3
3
|
import { i as isIconGlyph, t as _sfc_main$2 } from "./Icon-Dk0jccgU.js";
|
|
4
4
|
import { n as isSafeUrl } from "./safeUrl-CsvfcZ9m.js";
|
|
5
5
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
6
|
-
import { n as releaseLayoutExit, r as playLayoutChange, t as holdLayoutExit } from "./edgeRide-
|
|
7
|
-
import { i as reportLayoutChange, t as applyLayoutChangeTransition } from "./landing-
|
|
6
|
+
import { n as releaseLayoutExit, r as playLayoutChange, t as holdLayoutExit } from "./edgeRide-iWUNdlxe.js";
|
|
7
|
+
import { i as reportLayoutChange, t as applyLayoutChangeTransition } from "./landing-qVsYAZ-v.js";
|
|
8
8
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
9
9
|
import { n as isShortcutChord, r as nextTypeaheadBuffer, t as findTypeaheadMatch } from "./typeaheadMatch-Cl-oxKFt.js";
|
|
10
10
|
import { t as _sfc_main$3 } from "./Badge-BbPS_49c.js";
|
|
11
11
|
import { t as useFocusAcrossSwap } from "./focusAcrossSwap-Casww_IY.js";
|
|
12
|
-
import { t as consumeWhileDisabled } from "./disabledInteraction-
|
|
12
|
+
import { t as consumeWhileDisabled } from "./disabledInteraction-Bqoyhoss.js";
|
|
13
13
|
import { t as treeListMessages } from "./tree-list-NZ1EZhtd.js";
|
|
14
14
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeProps, normalizeClass, normalizeStyle, onMounted, openBlock, reactive, ref, renderList, renderSlot, resolveComponent, resolveDynamicComponent, shallowRef, toDisplayString, toRaw, unref, useAttrs, useId, useSlots, useTemplateRef, vShow, watch, withCtx, withDirectives } from "vue";
|
|
15
15
|
import "../styles/tree-list.css";
|
package/dist/Typeahead/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { i as _sfc_main$2 } from "../useTypeaheadMenuConfig-
|
|
2
|
-
import { n as _sfc_main, t as _sfc_main$1 } from "../Typeahead-
|
|
1
|
+
import { i as _sfc_main$2 } from "../useTypeaheadMenuConfig-DeDGVR8S.js";
|
|
2
|
+
import { n as _sfc_main, t as _sfc_main$1 } from "../Typeahead-DUQfmy_r.js";
|
|
3
3
|
export { _sfc_main as BaseTypeahead, _sfc_main$1 as Typeahead, _sfc_main$2 as TypeaheadItem };
|
|
@@ -4,18 +4,18 @@ import { s as isImeKeyEvent } from "./layerDepth-D3Rh8T5C.js";
|
|
|
4
4
|
import { t as _sfc_main$3 } from "./ButtonTooltip-CNKOQHYR.js";
|
|
5
5
|
import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
|
|
6
6
|
import { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
7
|
-
import { t as useInputStatusIcon } from "./useInputStatusIcon-
|
|
7
|
+
import { t as useInputStatusIcon } from "./useInputStatusIcon-BFw-EXjJ.js";
|
|
8
8
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
9
9
|
import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
|
|
10
10
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
11
11
|
import { t as _sfc_main$4 } from "./Spinner-DEVPDsD0.js";
|
|
12
|
-
import { t as _sfc_main$5 } from "./Field-
|
|
12
|
+
import { t as _sfc_main$5 } from "./Field-eAowUUMX.js";
|
|
13
13
|
import { t as useFieldPartStyling } from "./fieldParts-CbWvZLhH.js";
|
|
14
14
|
import { t as useBusyAnnouncement } from "./busyAnnouncement-CExubuYm.js";
|
|
15
15
|
import { t as typeaheadMessages } from "./typeahead-BgfLP7vR.js";
|
|
16
|
-
import { t as _sfc_main$6 } from "./Token-
|
|
17
|
-
import { n as scrollOptionIntoView, r as useAnchoredListbox } from "./stillPointerGate-
|
|
18
|
-
import { a as useLatchedOptionGrid, n as useTypeaheadAnnouncement, o as useTypeaheadMenu, r as _sfc_main$7, t as useTypeaheadMenuConfig } from "./useTypeaheadMenuConfig-
|
|
16
|
+
import { t as _sfc_main$6 } from "./Token-C7Dt5ygK.js";
|
|
17
|
+
import { n as scrollOptionIntoView, r as useAnchoredListbox } from "./stillPointerGate-D3loXLh7.js";
|
|
18
|
+
import { a as useLatchedOptionGrid, n as useTypeaheadAnnouncement, o as useTypeaheadMenu, r as _sfc_main$7, t as useTypeaheadMenuConfig } from "./useTypeaheadMenuConfig-DeDGVR8S.js";
|
|
19
19
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, guardReactiveProps, inject, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onMounted, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toDisplayString, unref, useAttrs, useId, useTemplateRef, watch, withCtx } from "vue";
|
|
20
20
|
import "../styles/layer.css";
|
|
21
21
|
import "../styles/visually-hidden-utility.css";
|
|
@@ -2,7 +2,8 @@ import { s as isImeKeyEvent } from "./layerDepth-D3Rh8T5C.js";
|
|
|
2
2
|
import { r as isKeyboardModality } from "./interactionModality-CedLz5PC.js";
|
|
3
3
|
import { n as isDevBuild, t as devPropError } from "./devBuild-G249YcdZ.js";
|
|
4
4
|
import { n as focusElement } from "./focus-x7mxEqjR.js";
|
|
5
|
-
import {
|
|
5
|
+
import { t as useHeldPresentation } from "./useHeldPresentation-fQsuYFhz.js";
|
|
6
|
+
import { computed, nextTick, onScopeDispose, ref, watch } from "vue";
|
|
6
7
|
//#region src/Selector/selectorEscape.ts
|
|
7
8
|
/** 弹出层关掉后,焦点回到触发按钮,而不是掉到 body。 */
|
|
8
9
|
function focusSelectorTrigger(field) {
|
|
@@ -38,6 +39,25 @@ function bindListboxEscape(layer, onKeyDown) {
|
|
|
38
39
|
onScopeDispose(() => layer.value?.removeEventListener("keydown", onKeyDown));
|
|
39
40
|
}
|
|
40
41
|
//#endregion
|
|
42
|
+
//#region src/Selector/useSelectorSheet.ts
|
|
43
|
+
/** Selector 和 MultiSelector 共用的呈现控制:浮层还是底部弹层(上游 useSelectorPresentation)。 */
|
|
44
|
+
function useSelectorSheet(presentation, combobox) {
|
|
45
|
+
const { isSheet, settle } = useHeldPresentation(presentation, () => combobox.isOpen.value);
|
|
46
|
+
return {
|
|
47
|
+
isSheet,
|
|
48
|
+
sheetOpen: computed({
|
|
49
|
+
get: () => isSheet.value && combobox.isOpen.value,
|
|
50
|
+
set: (open) => {
|
|
51
|
+
if (!open && combobox.isOpen.value) combobox.close();
|
|
52
|
+
}
|
|
53
|
+
}),
|
|
54
|
+
popoverOpen: computed(() => combobox.isOpen.value && !isSheet.value),
|
|
55
|
+
onSheetMotionComplete: (motion) => {
|
|
56
|
+
if (motion === "exiting") settle();
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
//#endregion
|
|
41
61
|
//#region src/composables/internal/useKeyboardHighlight.ts
|
|
42
62
|
/**
|
|
43
63
|
* 高亮既能被按键移动,也能被指针移动,但只给键盘看的绘制(焦点环)只在键盘引起的移动后画。
|
|
@@ -69,4 +89,4 @@ function assertOptionsArray(component, options) {
|
|
|
69
89
|
if (isDevBuild() && !Array.isArray(options)) throw devPropError(component, "options", `must be an array of options, for example :options="[{ value: 'nyc', label: 'New York' }]". ${component} does not read <option> children.`);
|
|
70
90
|
}
|
|
71
91
|
//#endregion
|
|
72
|
-
export {
|
|
92
|
+
export { dismissSelectorEscape as a, bindListboxEscape as i, useKeyboardHighlight as n, focusSelectorTrigger as o, useSelectorSheet as r, onSelectorListboxEscape as s, assertOptionsArray as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as sharedState, l as sharedWeakMap, s as sharedMap, u as sharedWeakSet } from "./inputStream-LZdK8luP.js";
|
|
2
2
|
import { _ as parseMotionRoleValue, g as parseCssEasing } from "./pressGesture-BzIBmKF2.js";
|
|
3
|
-
import { a as reducedMotionCrossFade, c as clearPresentedResolve, d as registerPresentedOffset, h as themeReducesMotion, i as cubicBezier, m as writePresentedResolve, s as batchPresented } from "./handle-
|
|
3
|
+
import { a as reducedMotionCrossFade, c as clearPresentedResolve, d as registerPresentedOffset, h as themeReducesMotion, i as cubicBezier, m as writePresentedResolve, s as batchPresented } from "./handle-ma1yF_B_.js";
|
|
4
4
|
import { n as easeDefaults, t as durationDefaults } from "./motionTokenDefaults-EFzpiAF5.js";
|
|
5
5
|
import { n as normalizeTokenName } from "./tokenName-0U-WEH09.js";
|
|
6
6
|
//#region src/motion/linearEasing.ts
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { l as subscribeInput } from "./pressFeedback-CEUPQWIS.js";
|
|
1
|
+
import { a as realmValue, c as sharedState, i as subscribeInput, o as sharedKey } from "./inputStream-LZdK8luP.js";
|
|
3
2
|
//#region src/utils/hapticSwitch.ts
|
|
4
3
|
/**
|
|
5
4
|
* @file privateAttributes/hapticSwitch.stylex.ts
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
//#region src/utils/touchQueries.ts
|
|
2
|
+
/**
|
|
3
|
+
* @file touchQueries.ts
|
|
4
|
+
* @input Nothing: plain strings
|
|
5
|
+
* @output TOUCH_QUERY, the media query for a coarse primary pointer; and
|
|
6
|
+
* IOS_SUPPORTS_QUERY with isIosWebKit, the iOS WebKit engine check
|
|
7
|
+
* @position The dependency-free half of touchPresentation.ts, for code that
|
|
8
|
+
* must load without React or the theme: the motion foundation, which
|
|
9
|
+
* Node-side specs and browser proofs load without a StyleX compile.
|
|
10
|
+
* touchPresentation.ts re-exports it beside the hook and the parts that
|
|
11
|
+
* read the theme.
|
|
12
|
+
*/
|
|
13
|
+
/** The primary pointer is coarse: touch behaviours. */
|
|
14
|
+
const TOUCH_QUERY = "(pointer: coarse)";
|
|
15
|
+
/**
|
|
16
|
+
* The engine is WebKit on iOS or iPadOS: the only one that implements
|
|
17
|
+
* `-webkit-touch-callout`. For a style iOS WebKit requires, never a
|
|
18
|
+
* behaviour; isIosWebKit reads it for an engine workaround a record names.
|
|
19
|
+
*/
|
|
20
|
+
const IOS_SUPPORTS_QUERY = "(-webkit-touch-callout: none)";
|
|
21
|
+
/**
|
|
22
|
+
* Whether `view`'s engine is iOS WebKit, by IOS_SUPPORTS_QUERY. Only for an
|
|
23
|
+
* engine workaround a record names (`spec:AST-013` FR6): the selection
|
|
24
|
+
* lock's inline style, and the gesture host's presented hit testing. The
|
|
25
|
+
* keyboard's rise and its scroll back from the blur read it too. False where
|
|
26
|
+
* `CSS.supports` is missing (jsdom has `CSS.escape` only).
|
|
27
|
+
*/
|
|
28
|
+
function isIosWebKit(view = globalThis) {
|
|
29
|
+
return view?.CSS?.supports?.(IOS_SUPPORTS_QUERY) === true;
|
|
30
|
+
}
|
|
31
|
+
//#endregion
|
|
32
|
+
//#region src/utils/coarsePointer.ts
|
|
33
|
+
/**
|
|
34
|
+
* @file coarsePointer.ts
|
|
35
|
+
* @input A window
|
|
36
|
+
* @output Exports isCoarsePointer, matchesMediaQuery, watchCoarsePointer and
|
|
37
|
+
* watchMediaQuery: whether the primary pointer is coarse (TOUCH_QUERY) or
|
|
38
|
+
* any media query matches, and when either changes
|
|
39
|
+
* @position The coarse-pointer gate of packages/core/src/gestures and of
|
|
40
|
+
* the press controller (pressFeedback.ts): touch-only work registers only
|
|
41
|
+
* while it holds. useMediaQuery and the presentation resolvers read and
|
|
42
|
+
* watch through matchesMediaQuery and watchMediaQuery
|
|
43
|
+
*
|
|
44
|
+
* Under a coarse primary pointer, a phone's touch work stays registered: the
|
|
45
|
+
* gesture host's page listeners, the page hold and the finger scroll. Under a
|
|
46
|
+
* fine one, recognizers still attach, and the host listens on the page only
|
|
47
|
+
* during a press (AST-094). The answer can change while the page is open (a
|
|
48
|
+
* tablet docking a mouse), so a holder watches it.
|
|
49
|
+
*
|
|
50
|
+
* SYNC: When modified, update coarsePointer.test.ts.
|
|
51
|
+
*/
|
|
52
|
+
/** Whether the primary pointer of `view` is coarse now. */
|
|
53
|
+
function isCoarsePointer(view) {
|
|
54
|
+
return matchesMediaQuery(view, TOUCH_QUERY);
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Whether `query` matches in `view` now. False where `view` has no
|
|
58
|
+
* `matchMedia`, as in a test DOM.
|
|
59
|
+
*/
|
|
60
|
+
function matchesMediaQuery(view, query) {
|
|
61
|
+
return typeof view?.matchMedia === "function" && view.matchMedia(query).matches;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Call `listener` with the new answer each time `query` starts or stops
|
|
65
|
+
* matching in `view`, until the returned function is called.
|
|
66
|
+
*/
|
|
67
|
+
function watchMediaQuery(view, query, listener) {
|
|
68
|
+
if (typeof view?.matchMedia !== "function") return () => {};
|
|
69
|
+
const list = view.matchMedia(query);
|
|
70
|
+
const onChange = () => listener(list.matches);
|
|
71
|
+
if (typeof list.addEventListener === "function") {
|
|
72
|
+
list.addEventListener("change", onChange);
|
|
73
|
+
return () => list.removeEventListener("change", onChange);
|
|
74
|
+
}
|
|
75
|
+
list.addListener(onChange);
|
|
76
|
+
return () => list.removeListener(onChange);
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Call `listener` with the new answer each time the primary pointer of
|
|
80
|
+
* `view` turns coarse or fine, until the returned function is called.
|
|
81
|
+
*/
|
|
82
|
+
function watchCoarsePointer(view, listener) {
|
|
83
|
+
return watchMediaQuery(view, TOUCH_QUERY, listener);
|
|
84
|
+
}
|
|
85
|
+
//#endregion
|
|
86
|
+
export { isIosWebKit as a, watchMediaQuery as i, matchesMediaQuery as n, watchCoarsePointer as r, isCoarsePointer as t };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as useAnimator, a as usePanGesture, b as createPanGesture, c as imageModeFromPixels, d as useGridRovingFocus, f as useGridFocus, g as useContainerReveal, h as useControllableState, i as useSnapPaging, l as perceptualLightness, m as useDragToSnapPoints, n as snapToGraphemeBoundary, o as useKeyboardHint, p as useEntryAnimation, r as useStreamingText, s as useIndicatorFocusRing, t as useTouchTrigger, u as useImageMode, v as useAnimatedLayout, x as createAnimator, y as createDragToSnapPoints } from "../composables-
|
|
1
|
+
import { _ as useAnimator, a as usePanGesture, b as createPanGesture, c as imageModeFromPixels, d as useGridRovingFocus, f as useGridFocus, g as useContainerReveal, h as useControllableState, i as useSnapPaging, l as perceptualLightness, m as useDragToSnapPoints, n as snapToGraphemeBoundary, o as useKeyboardHint, p as useEntryAnimation, r as useStreamingText, s as useIndicatorFocusRing, t as useTouchTrigger, u as useImageMode, v as useAnimatedLayout, x as createAnimator, y as createDragToSnapPoints } from "../composables-Do86VAmM.js";
|
|
2
2
|
import { i as useClickableContainer, n as hasInteractiveAncestor, r as hasTextSelection, t as INTERACTIVE_SELECTORS } from "../useClickableContainer-Dtjg-nkm.js";
|
|
3
|
-
import { t as usePressFeedback } from "../usePressFeedback-
|
|
3
|
+
import { t as usePressFeedback } from "../usePressFeedback-BhNcuxQv.js";
|
|
4
4
|
import { n as useLayerTeleportTarget, r as useResolvedLayerTeleport, t as useLayerMountTarget } from "../useLayerMountTarget-BmZyeKWE.js";
|
|
5
|
-
import { t as useDismiss } from "../useDismiss-
|
|
6
|
-
import { n as useLayer } from "../tooltipTriggerRules-
|
|
5
|
+
import { t as useDismiss } from "../useDismiss-C7_S7qUA.js";
|
|
6
|
+
import { n as useLayer } from "../tooltipTriggerRules-DyPyWOdP.js";
|
|
7
7
|
import { t as useCoarsePointer } from "../useCoarsePointer-GItEMrjX.js";
|
|
8
8
|
import { t as useMediaQuery } from "../useMediaQuery-BzXGT1Aw.js";
|
|
9
9
|
import { t as characterCount } from "../characters-wTnzjkkR.js";
|
|
@@ -24,9 +24,9 @@ import { t as useFocusTrap } from "../useFocusTrap-DTz_d7IP.js";
|
|
|
24
24
|
import { t as useHandleRef } from "../useHandleRef-6cdKugm8.js";
|
|
25
25
|
import { n as useResizable, r as useHotkeys, t as percent } from "../useResizable-hv4NYIUi.js";
|
|
26
26
|
import { t as useInputContainer } from "../useInputContainer-CLhsKYZ6.js";
|
|
27
|
-
import { t as useInputStatusIcon } from "../useInputStatusIcon-
|
|
27
|
+
import { t as useInputStatusIcon } from "../useInputStatusIcon-BFw-EXjJ.js";
|
|
28
28
|
import { t as useInteractiveRole } from "../useInteractiveRole-Cn0Nd5GX.js";
|
|
29
|
-
import { a as isMenuPressActivation, i as MENU_PRESS_MARKER, n as MENU_PRESS_SETTLE_MS, o as resetMenuPress, r as menuPressStep, s as useLongPress, t as useMenuPress } from "../useMenuPress-
|
|
29
|
+
import { a as isMenuPressActivation, i as MENU_PRESS_MARKER, n as MENU_PRESS_SETTLE_MS, o as resetMenuPress, r as menuPressStep, s as useLongPress, t as useMenuPress } from "../useMenuPress-CxUqSUZ9.js";
|
|
30
30
|
import { t as useMergedRefs } from "../useMergedRefs-DTGo1cEU.js";
|
|
31
31
|
import { a as todayISODate, i as toISODate, n as buildMonthGrid, r as parseISODate, t as addMonths } from "../useMonthGrid-Bzvlstgc.js";
|
|
32
32
|
import { n as useNumberField, t as computeSteppedValue } from "../useNumberField-Dk1BE3-K.js";
|
|
@@ -1,15 +1,18 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import { d as
|
|
3
|
-
import { i as withoutClickGuard, n as disarmClickGuard, t as armClickGuard } from "./clickGuard-
|
|
1
|
+
import { a as shadowRootsOutward, c as isHTMLElement, i as shadowHostOf, l as isNode, n as deepActiveElement, r as parentAcrossShadow, s as isElement, t as containsAlongFlatTree } from "./flatTree-BB4yPMNL.js";
|
|
2
|
+
import { d as parseTouchAction, f as rootOverflow, l as SCROLLABLE_OVERFLOW, p as clockOf, u as isInsideScrollView } from "./pressFeedback-DVR5V1b6.js";
|
|
3
|
+
import { i as withoutClickGuard, n as disarmClickGuard, t as armClickGuard } from "./clickGuard-FrlnECMp.js";
|
|
4
|
+
import { a as realmValue, i as subscribeInput, l as sharedWeakMap, o as sharedKey } from "./inputStream-LZdK8luP.js";
|
|
4
5
|
import { b as isSpring, c as UIKIT_PAN, d as UIKIT_VELOCITY, f as registerScrollTable, h as motionRoleOf, l as UIKIT_PRESS, m as motionRoleIn, p as scroll, s as UIKIT_LONG_PRESS, u as UIKIT_TAP, v as registerMotionTable, y as registerSpringRole } from "./pressGesture-BzIBmKF2.js";
|
|
5
6
|
import { o as pushLayer } from "./layerDepth-D3Rh8T5C.js";
|
|
6
7
|
import { t as useMediaQuery } from "./useMediaQuery-BzXGT1Aw.js";
|
|
7
8
|
import { t as quietFinished } from "./quietFinished-CKZXgsPM.js";
|
|
8
|
-
import { a as reducedMotionCrossFade, c as clearPresentedResolve, d as registerPresentedOffset, f as resolvePresented, h as themeReducesMotion, i as cubicBezier, l as presentedElements, m as writePresentedResolve, n as createAnimatedLayout, o as registerReducedMotionCrossFade, p as watchPresentedElements, u as presentedOffsetOf } from "./handle-
|
|
9
|
+
import { a as reducedMotionCrossFade, c as clearPresentedResolve, d as registerPresentedOffset, f as resolvePresented, h as themeReducesMotion, i as cubicBezier, l as presentedElements, m as writePresentedResolve, n as createAnimatedLayout, o as registerReducedMotionCrossFade, p as watchPresentedElements, u as presentedOffsetOf } from "./handle-ma1yF_B_.js";
|
|
9
10
|
import { n as isDevBuild } from "./devBuild-G249YcdZ.js";
|
|
10
11
|
import { t as devWarn } from "./useDevWarning-B2fsk2B-.js";
|
|
11
12
|
import { t as isApplePlatform } from "./isApplePlatform-B1ju6F5B.js";
|
|
13
|
+
import { a as isIosWebKit, r as watchCoarsePointer, t as isCoarsePointer } from "./coarsePointer-BfMx3H23.js";
|
|
12
14
|
import { n as isRtlElement } from "./useListFocus-CkHfsZp0.js";
|
|
15
|
+
import { t as holdsTouch } from "./touchHold-CFJlSClt.js";
|
|
13
16
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
14
17
|
import { t as _sfc_main$1 } from "./Kbd-CbD993ig.js";
|
|
15
18
|
import { t as keyboardHintMessages } from "./keyboard-hint-KWx0-7kD.js";
|
|
@@ -5315,37 +5318,6 @@ function isPrimaryClick(event) {
|
|
|
5315
5318
|
return event.button === 0 && !(event.ctrlKey && isApplePlatform());
|
|
5316
5319
|
}
|
|
5317
5320
|
//#endregion
|
|
5318
|
-
//#region src/utils/touchQueries.ts
|
|
5319
|
-
/**
|
|
5320
|
-
* @file touchQueries.ts
|
|
5321
|
-
* @input Nothing: plain strings
|
|
5322
|
-
* @output TOUCH_QUERY, the media query for a coarse primary pointer; and
|
|
5323
|
-
* IOS_SUPPORTS_QUERY with isIosWebKit, the iOS WebKit engine check
|
|
5324
|
-
* @position The dependency-free half of touchPresentation.ts, for code that
|
|
5325
|
-
* must load without React or the theme: the motion foundation, which
|
|
5326
|
-
* Node-side specs and browser proofs load without a StyleX compile.
|
|
5327
|
-
* touchPresentation.ts re-exports it beside the hook and the parts that
|
|
5328
|
-
* read the theme.
|
|
5329
|
-
*/
|
|
5330
|
-
/** The primary pointer is coarse: touch behaviours. */
|
|
5331
|
-
const TOUCH_QUERY = "(pointer: coarse)";
|
|
5332
|
-
/**
|
|
5333
|
-
* The engine is WebKit on iOS or iPadOS: the only one that implements
|
|
5334
|
-
* `-webkit-touch-callout`. For a style iOS WebKit requires, never a
|
|
5335
|
-
* behaviour; isIosWebKit reads it for an engine workaround a record names.
|
|
5336
|
-
*/
|
|
5337
|
-
const IOS_SUPPORTS_QUERY = "(-webkit-touch-callout: none)";
|
|
5338
|
-
/**
|
|
5339
|
-
* Whether `view`'s engine is iOS WebKit, by IOS_SUPPORTS_QUERY. Only for an
|
|
5340
|
-
* engine workaround a record names (`spec:AST-013` FR6): the selection
|
|
5341
|
-
* lock's inline style, and the gesture host's presented hit testing. The
|
|
5342
|
-
* keyboard's rise and its scroll back from the blur read it too. False where
|
|
5343
|
-
* `CSS.supports` is missing (jsdom has `CSS.escape` only).
|
|
5344
|
-
*/
|
|
5345
|
-
function isIosWebKit(view = globalThis) {
|
|
5346
|
-
return view?.CSS?.supports?.(IOS_SUPPORTS_QUERY) === true;
|
|
5347
|
-
}
|
|
5348
|
-
//#endregion
|
|
5349
5321
|
//#region src/utils/selectionLock.ts
|
|
5350
5322
|
/**
|
|
5351
5323
|
* @file selectionLock.ts
|
|
@@ -5853,60 +5825,6 @@ function lockDragSelection(elements, view, kept, onReleased) {
|
|
|
5853
5825
|
return release;
|
|
5854
5826
|
}
|
|
5855
5827
|
//#endregion
|
|
5856
|
-
//#region src/utils/coarsePointer.ts
|
|
5857
|
-
/**
|
|
5858
|
-
* @file coarsePointer.ts
|
|
5859
|
-
* @input A window
|
|
5860
|
-
* @output Exports isCoarsePointer, matchesMediaQuery, watchCoarsePointer and
|
|
5861
|
-
* watchMediaQuery: whether the primary pointer is coarse (TOUCH_QUERY) or
|
|
5862
|
-
* any media query matches, and when either changes
|
|
5863
|
-
* @position The coarse-pointer gate of packages/core/src/gestures and of
|
|
5864
|
-
* the press controller (pressFeedback.ts): touch-only work registers only
|
|
5865
|
-
* while it holds. useMediaQuery and the presentation resolvers read and
|
|
5866
|
-
* watch through matchesMediaQuery and watchMediaQuery
|
|
5867
|
-
*
|
|
5868
|
-
* Under a coarse primary pointer, a phone's touch work stays registered: the
|
|
5869
|
-
* gesture host's page listeners, the page hold and the finger scroll. Under a
|
|
5870
|
-
* fine one, recognizers still attach, and the host listens on the page only
|
|
5871
|
-
* during a press (AST-094). The answer can change while the page is open (a
|
|
5872
|
-
* tablet docking a mouse), so a holder watches it.
|
|
5873
|
-
*
|
|
5874
|
-
* SYNC: When modified, update coarsePointer.test.ts.
|
|
5875
|
-
*/
|
|
5876
|
-
/** Whether the primary pointer of `view` is coarse now. */
|
|
5877
|
-
function isCoarsePointer(view) {
|
|
5878
|
-
return matchesMediaQuery(view, TOUCH_QUERY);
|
|
5879
|
-
}
|
|
5880
|
-
/**
|
|
5881
|
-
* Whether `query` matches in `view` now. False where `view` has no
|
|
5882
|
-
* `matchMedia`, as in a test DOM.
|
|
5883
|
-
*/
|
|
5884
|
-
function matchesMediaQuery(view, query) {
|
|
5885
|
-
return typeof view?.matchMedia === "function" && view.matchMedia(query).matches;
|
|
5886
|
-
}
|
|
5887
|
-
/**
|
|
5888
|
-
* Call `listener` with the new answer each time `query` starts or stops
|
|
5889
|
-
* matching in `view`, until the returned function is called.
|
|
5890
|
-
*/
|
|
5891
|
-
function watchMediaQuery(view, query, listener) {
|
|
5892
|
-
if (typeof view?.matchMedia !== "function") return () => {};
|
|
5893
|
-
const list = view.matchMedia(query);
|
|
5894
|
-
const onChange = () => listener(list.matches);
|
|
5895
|
-
if (typeof list.addEventListener === "function") {
|
|
5896
|
-
list.addEventListener("change", onChange);
|
|
5897
|
-
return () => list.removeEventListener("change", onChange);
|
|
5898
|
-
}
|
|
5899
|
-
list.addListener(onChange);
|
|
5900
|
-
return () => list.removeListener(onChange);
|
|
5901
|
-
}
|
|
5902
|
-
/**
|
|
5903
|
-
* Call `listener` with the new answer each time the primary pointer of
|
|
5904
|
-
* `view` turns coarse or fine, until the returned function is called.
|
|
5905
|
-
*/
|
|
5906
|
-
function watchCoarsePointer(view, listener) {
|
|
5907
|
-
return watchMediaQuery(view, TOUCH_QUERY, listener);
|
|
5908
|
-
}
|
|
5909
|
-
//#endregion
|
|
5910
5828
|
//#region src/gestures/wheelSegmenter.ts
|
|
5911
5829
|
/** Momentum arrives at frame rate: a pause this long ends it. */
|
|
5912
5830
|
const MOMENTUM_GAP_MS = 50;
|
|
@@ -7364,27 +7282,6 @@ function createNativeScrollProbe(target, { readsTouchAction = true } = {}) {
|
|
|
7364
7282
|
};
|
|
7365
7283
|
}
|
|
7366
7284
|
//#endregion
|
|
7367
|
-
//#region src/gestures/touchHold.ts
|
|
7368
|
-
/**
|
|
7369
|
-
* @file touchHold.ts
|
|
7370
|
-
* @input The holds a layer places on input while it animates or shields
|
|
7371
|
-
* what is beneath it
|
|
7372
|
-
* @output registerTouchHold, which adds a hold's read, and holdsTouch, the
|
|
7373
|
-
* gesture host's one question: whether a touch on a target is held
|
|
7374
|
-
* @position The seam between the gesture host and a layer's input hold
|
|
7375
|
-
* (upstream Layer/inputHold `holdsTouch`): a layer registers its read, and
|
|
7376
|
-
* the host asks before it gives a touch to any recognizer
|
|
7377
|
-
*
|
|
7378
|
-
* A held touch reaches no recognizer: the host drops it as it lands. With
|
|
7379
|
-
* no hold registered, every touch passes, at once.
|
|
7380
|
-
*/
|
|
7381
|
-
const holds = sharedState("gestures/touch-hold", 1, () => /* @__PURE__ */ new Set());
|
|
7382
|
-
/** Whether any registered hold takes a touch on `target`. */
|
|
7383
|
-
function holdsTouch(target) {
|
|
7384
|
-
for (const query of holds) if (query(target)) return true;
|
|
7385
|
-
return false;
|
|
7386
|
-
}
|
|
7387
|
-
//#endregion
|
|
7388
7285
|
//#region src/gestures/hostHitTest.ts
|
|
7389
7286
|
/** Presented hit testing, click retargeting, and the participants a contact meets; GestureHost is the class to use. */
|
|
7390
7287
|
var HostHitTest = class extends HostInstall {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as quietFinished } from "./quietFinished-CKZXgsPM.js";
|
|
2
|
-
import { r as readArea, t as areaOf } from "./handle-
|
|
3
|
-
import { D as glides, _ as safeAnimate, d as layoutMotion, h as beginChange, m as sampleOver, p as sampleKeyframes, r as changeStartIn } from "./batch-
|
|
2
|
+
import { r as readArea, t as areaOf } from "./handle-ma1yF_B_.js";
|
|
3
|
+
import { D as glides, _ as safeAnimate, d as layoutMotion, h as beginChange, m as sampleOver, p as sampleKeyframes, r as changeStartIn } from "./batch-DR5SgbnX.js";
|
|
4
4
|
import { computed, inject, ref } from "vue";
|
|
5
5
|
//#region src/motion/inertClone.ts
|
|
6
6
|
/**
|
|
@@ -43,5 +43,13 @@ function disabledInteractionProps(onKeyDown) {
|
|
|
43
43
|
}
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
|
+
/**
|
|
47
|
+
* 可聚焦的禁用控件交给元素的调用方 props:除了聚焦和失焦,所有 `on*` 处理函数都不给,
|
|
48
|
+
* 和原生 `disabled` 一样,控件不会运行任何调用方回调。没禁用时原样返回。
|
|
49
|
+
*/
|
|
50
|
+
function withholdCallerHandlers(props, isDisabled) {
|
|
51
|
+
if (!isDisabled) return props;
|
|
52
|
+
return Object.fromEntries(Object.entries(props).filter(([key]) => !/^on[A-Z]/.test(key) || /^on(?:Focus|Blur)/.test(key)));
|
|
53
|
+
}
|
|
46
54
|
//#endregion
|
|
47
|
-
export { disabledInteractionProps as n, consumeWhileDisabled as t };
|
|
55
|
+
export { disabledInteractionProps as n, withholdCallerHandlers as r, consumeWhileDisabled as t };
|