@astryx-vue/core 0.25.0 → 0.26.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AlertDialog/index.js +1 -1
- package/dist/{AlertDialog-Cub9_aPC.js → AlertDialog-CGGkPG4T.js} +192 -6
- package/dist/AppShell/index.d.ts +1 -1
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-D62A7lqZ.js → AppShell-DGJgCvS6.js} +6 -6
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-BKoSK75s.js → Avatar-DpFHPRlE.js} +1 -1
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/Badge/index.d.ts +1 -2
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Banner/index.js +1 -1
- package/dist/{Banner-cg2nXT_4.js → Banner-DVU5-fWC.js} +1 -1
- package/dist/BottomSheet/index.js +2 -2
- package/dist/{BottomSheet-DGhRZLw4.js → BottomSheet-Dn8gpT4m.js} +9 -6
- package/dist/{BottomSheet-CpLYy3vb.js → BottomSheet-gctYQ3sV.js} +2 -2
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/{Breadcrumbs-D-nHDHV8.js → Breadcrumbs-BZsjHn_5.js} +1 -1
- package/dist/Button/index.d.ts +1 -1
- package/dist/Button/index.js +1 -1
- package/dist/{Button-D8AGK5oT.js → Button-yJiHoWps.js} +1 -1
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Card/index.d.ts +1 -1
- package/dist/Carousel/index.d.ts +1 -1
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-DrCG9wbP.js → Carousel-DPhwOTjx.js} +1 -1
- package/dist/Center/index.d.ts +1 -1
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-U1qq8gkF.js → Chat-RE_6Ez79.js} +206 -44
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-qm6lkjAw.js → CheckboxInput-C-UseBJo.js} +5 -5
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-DuCKhJHJ.js → CheckboxList-CWHlG8Jq.js} +4 -4
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/Code/index.d.ts +1 -1
- package/dist/Code/index.js +1 -1
- package/dist/{CodeBlock-PMZd9dQ9.js → CodeBlock-3QLhu3jZ.js} +1 -1
- package/dist/Collapsible/index.d.ts +1 -1
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-BmUloCSR.js → Collapsible-BSRdsb6w.js} +3 -3
- package/dist/CommandPalette/index.d.ts +1 -1
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-Cy7trpD3.js → CommandPalette-CtY5ZCR7.js} +50 -20
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-DMBiVQWp.js → ComplexSelector-DI3J30Ho.js} +4 -4
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-63ay7EE-.js → ContextMenu-CVf4OqJP.js} +4 -4
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-B3Q91FDT.js → DateInput-DK-FI37x.js} +14 -33
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-B6Z66OsH.js → DateRangeInput-ClriBc4F.js} +6 -6
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-B_7cn7ze.js → DateTimeInput-BdXkBBYi.js} +7 -7
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Dialog/index.js +3 -3
- package/dist/{Dialog-CBPD5b-S.js → Dialog-CKDlXonX.js} +1 -1
- package/dist/{Dialog-C4FZ7p7Q.js → Dialog-DjhG_vpE.js} +3 -3
- package/dist/{DialogHeader-CQ3pnLYi.js → DialogHeader-C1Bz4Knk.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-BOwQLKm9.js → Drawer-BqcPP0z7.js} +2 -2
- package/dist/DropdownMenu/index.js +3 -3
- package/dist/{DropdownMenu-9CR9TiKG.js → DropdownMenu-CdwEvDld.js} +3 -3
- package/dist/{DropdownMenu-DwIfoTnV.js → DropdownMenu-q5euMYv-.js} +40 -11
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-BG5g2jwJ.js → EmptyState-DNjqNAT3.js} +4 -50
- package/dist/Field/index.d.ts +3 -3
- package/dist/Field/index.js +3 -3
- package/dist/{Field-eAowUUMX.js → Field-DrUMz0oj.js} +2 -2
- package/dist/{FieldInfoTip-Dwl9HNp1.js → FieldInfoTip-DmDOcxU1.js} +1 -1
- package/dist/{FieldLabel-CgYk-ORu.js → FieldLabel-DsFZnW1l.js} +3 -3
- package/dist/FieldStatus/index.d.ts +1 -1
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-B7zeePbM.js → FileInput-0u4zjJfx.js} +135 -85
- package/dist/FormLayout/index.js +1 -1
- package/dist/{FormLayout-CGJVeNsL.js → FormLayout-0_X9o-L4.js} +1 -1
- package/dist/Heading/index.js +1 -1
- package/dist/{Heading-B1dNZQtu.js → Heading-BG1PBVkf.js} +1 -1
- package/dist/HoverCard/index.d.ts +1 -1
- package/dist/HoverCard/index.js +1 -1
- package/dist/{HoverCard-CZhfsvP4.js → HoverCard-Fr6RLRR8.js} +2 -2
- package/dist/IconButton/index.js +1 -1
- package/dist/{IconButton-D9ZRJ7vD.js → IconButton-CEjiXpUg.js} +1 -1
- package/dist/Indicator/index.d.ts +2 -2
- package/dist/InfoTip/index.d.ts +1 -1
- package/dist/InfoTip/index.js +1 -1
- package/dist/{InfoTip-LJi9llxi.js → InfoTip-CKRaCO6I.js} +1 -1
- package/dist/{InputClearButton-C-j9Nf1s.js → InputClearButton-ByUJXRmY.js} +1 -1
- package/dist/InputGroup/index.d.ts +1 -1
- package/dist/InputGroup/index.js +1 -1
- package/dist/{InputGroup-B8PGJZKH.js → InputGroup-H8DP0TAG.js} +6 -6
- package/dist/InternationalizationProvider/index.d.ts +1 -1
- package/dist/InternationalizationProvider/index.js +1 -1
- package/dist/{InternationalizationProvider-DaZS5Dch.js → InternationalizationProvider-8qllKdVk.js} +1 -1
- package/dist/Layout/index.js +2 -2
- package/dist/{Layout-DOIeCgs4.js → Layout-094k14rN.js} +1 -1
- package/dist/{LayoutPanel-C7Wsid2W.js → LayoutPanel-BPboQAJj.js} +1 -1
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-BOWTHnTb.js → Lightbox-LI6h7LFn.js} +3 -3
- package/dist/Link/index.d.ts +1 -1
- package/dist/Link/index.js +1 -1
- package/dist/{Link-B75ygGzG.js → Link-Dx2ql41g.js} +1 -1
- package/dist/List/index.d.ts +1 -1
- package/dist/Markdown/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-Cqrcj-ct.js → Markdown-BHWf2IOO.js} +3 -3
- package/dist/MetadataList/index.d.ts +1 -1
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-DLpEONfs.js → MobileNavToggle-Dx7rmb-V.js} +3 -3
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-aR88r9xp.js → MoreMenu-DAq29azZ.js} +3 -3
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-UTaDe-YT.js → MultiSelector-BUXFzIla.js} +8 -8
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NavMenu/index.js +2 -2
- package/dist/{NavMenu-DS6y8ZAY.js → NavMenu-BoKuJq-K.js} +1 -1
- package/dist/{NavMenuItem-BqIi3o3D.js → NavMenuItem-Ez3_K8iI.js} +1 -1
- package/dist/NumberInput/index.d.ts +2 -2
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-ClkOGF5j.js → NumberInput-lqUmTsqB.js} +386 -99
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-UnVXBDIW.js → OverflowList-B6En7wIj.js} +1 -1
- package/dist/Overlay/index.d.ts +1 -1
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-CTCLE02h.js → Pagination-CRrou1P-.js} +60 -49
- package/dist/Popover/index.d.ts +3 -3
- package/dist/Popover/index.js +1 -1
- package/dist/Popover-sERt08TR.js +1247 -0
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-BBOum0TP.js → PowerSearch-CiVIW13b.js} +230 -143
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/ProgressBar/index.js +1 -1
- package/dist/{ProgressBar-Bgg6zsKR.js → ProgressBar-yw2BCtB_.js} +1 -1
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-DPy5JQhm.js → RadioGroup-B8QoJyJu.js} +5 -5
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioList-UN7IxQg8.js → RadioList-BEv82wbs.js} +1 -1
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-CCtsUveZ.js → Selector-Bj4q6aT5.js} +6 -6
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +2 -2
- package/dist/{SideNav-COl5ApOz.js → SideNav-CHSwzwTt.js} +7 -7
- package/dist/Slider/index.d.ts +1 -1
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-CYie9hWm.js → Slider-Bmksx8ng.js} +4 -4
- package/dist/Stack/index.d.ts +1 -1
- package/dist/StatusDot/index.js +1 -1
- package/dist/{StatusDot-CHfgSYmv.js → StatusDot-Bz4l43St.js} +1 -1
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-D24CvhDS.js → Switch-CeNEvvTn.js} +5 -5
- package/dist/TabList/index.d.ts +1 -1
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-DToCh5JW.js → TabList-BLLxHXwu.js} +1 -1
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-D3mzxBr0.js → Table-DEqfIA3q.js} +16 -16
- package/dist/Text/index.js +1 -1
- package/dist/{Text-5p-eZodt.js → Text-DkSHitKh.js} +1 -1
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-Bp6D-riO.js → TextArea-CAcjMvls.js} +56 -22
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-BYslwBDZ.js → TextInput-BvQQTG75.js} +78 -34
- package/dist/Theme/index.d.ts +2 -2
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-B_a8tOS7.js → Thumbnail-Bv-M13fy.js} +2 -2
- package/dist/{TimeField-MDSJny9m.js → TimeField-hB88chlQ.js} +13 -32
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-B19amuxi.js → TimeInput-JrTs9r66.js} +3 -3
- package/dist/Timer/index.js +1 -1
- package/dist/{Timer-BD3tfzrF.js → Timer-qjI_QrCz.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-CqWoZUKM.js → Timestamp-CJ_HUcek.js} +3 -3
- package/dist/Toast/index.js +1 -1
- package/dist/{Toast-BKPl8iIr.js → Toast-CFpOSuAr.js} +1 -1
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/ToggleButton/index.js +1 -1
- package/dist/{ToggleButton-DfpsuhMa.js → ToggleButton-BtXMvoOA.js} +1 -1
- package/dist/Token/index.d.ts +1 -1
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-C-eorFsF.js → Tokenizer-2zj57yDt.js} +4 -4
- 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-88zhGfzF.js → Tooltip-ByLqPCP7.js} +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-DMFIsFwy.js → TopNav-Ce79A3zT.js} +3 -3
- package/dist/TreeList/index.d.ts +1 -1
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-nU2gSmQm.js → TreeList-BEPHdVYu.js} +2 -2
- package/dist/Typeahead/index.d.ts +2 -2
- package/dist/Typeahead/index.js +1 -1
- package/dist/{Typeahead-DUQfmy_r.js → Typeahead-CBrUdbHv.js} +4 -4
- package/dist/{types-fRasDCe4.d.ts → adaptationTypes-Cn_pfrsw.d.ts} +155 -155
- package/dist/animator-BooLoGyI.js +3164 -0
- package/dist/announceRenderedText-CslZ0cev.js +50 -0
- package/dist/{assertOptions-DVRsfCk1.js → assertOptions-CJgNig1l.js} +2 -2
- package/dist/{batch-DR5SgbnX.js → batch-CM-vJhQg.js} +2 -278
- package/dist/{handle-ma1yF_B_.js → bezier-Cts7gENO.js} +1 -21
- package/dist/composables/index.d.ts +2 -2
- package/dist/composables/index.js +7 -7
- package/dist/{composables-Do86VAmM.js → composables-BtqijTIO.js} +5 -3163
- package/dist/{context-DsNhYm5O.js → context-CrVCeUUK.js} +1 -1
- package/dist/context-DH8E-qjm.js +173 -0
- package/dist/{edge-qfeek_VV.js → edge-BYXwSggM.js} +1 -1
- package/dist/{edgeRide-iWUNdlxe.js → edgeRide-B5mlN2Q4.js} +3 -3
- package/dist/escape-DzSxSmez.js +10 -0
- package/dist/{field-CehUqCe0.js → field-BaUBjqf5.js} +4 -2
- package/dist/{fieldParts-CbWvZLhH.js → fieldParts-CuE5V12i.js} +1 -1
- package/dist/{focusLeaving-Dqm8Yj4T.js → focusLeaving-DMkbxFkF.js} +1 -1
- package/dist/{focusReturn-C1cFL3WM.js → focusReturn-DfZS7TCp.js} +1 -1
- package/dist/handle-BazRxHwq.js +22 -0
- package/dist/holdEntranceInput-DMCOeRqu.js +37 -0
- package/dist/{index-CsYDrQ9R.d.ts → index-668zPVsH.d.ts} +1 -1
- package/dist/{index-CnVjgLP5.d.ts → index-B5aHF0Ml.d.ts} +1 -2
- package/dist/{index-CuW4AQ7M.d.ts → index-BD-Pxni9.d.ts} +3 -3
- package/dist/{index-DDAcxZAP.d.ts → index-BZUVNr2c.d.ts} +1 -1
- package/dist/{index-B52PMrO7.d.ts → index-BdhQpERn.d.ts} +7 -7
- package/dist/{index-CEjvYAUZ.d.ts → index-BenG-F5d.d.ts} +1 -1
- package/dist/{index-CTjkJP4x.d.ts → index-Bgk1Rj2A.d.ts} +1 -1
- package/dist/{index-Qdbssopn.d.ts → index-BjqoHLMq.d.ts} +4 -1
- package/dist/{index-BDZCJ9ri.d.ts → index-BuubzuE8.d.ts} +2 -2
- package/dist/{index-ChqMaV6N.d.ts → index-Bzi3A980.d.ts} +1 -1
- package/dist/{index-0RIgvtdm.d.ts → index-C2zWUiJ1.d.ts} +2 -2
- package/dist/{index-CKnr0JlT.d.ts → index-C4S65SAW.d.ts} +1 -1
- package/dist/{index-D05JGsT3.d.ts → index-C8wfe0Mr.d.ts} +1 -1
- package/dist/{index-CiVrhGUJ.d.ts → index-C9ZssPUV.d.ts} +1 -1
- package/dist/{index-ZKBj_1nu.d.ts → index-CB6VQETg.d.ts} +2 -2
- package/dist/{index-BfoazhEu.d.ts → index-CTXG-KKT.d.ts} +1 -1
- package/dist/{index-mK1ICsVg.d.ts → index-Cm36VS1A.d.ts} +2 -2
- package/dist/{index-_FjbcSgD.d.ts → index-CnOH43-f.d.ts} +1 -2
- package/dist/index-CuFLztiI.d.ts +49 -0
- package/dist/{index-QnlWyUxN.d.ts → index-D14kSf-g.d.ts} +4 -4
- package/dist/{index-BgT6mH3U.d.ts → index-D7ShT2c-.d.ts} +1 -1
- package/dist/index-DHUCHxn2.d.ts +69 -0
- package/dist/{index-GmoeIuhl.d.ts → index-DMZ5SKJJ.d.ts} +35 -3
- package/dist/{index-CO9GW-ik.d.ts → index-DPklTi3o.d.ts} +1 -1
- package/dist/{index-Dcxqzk_d.d.ts → index-DSMv6W8s.d.ts} +8 -8
- package/dist/{index-BjmMJ_4E.d.ts → index-DY1kpap1.d.ts} +1657 -275
- package/dist/{index-DxR6cZBf.d.ts → index-DZCpswvp.d.ts} +1 -1
- package/dist/{index-BhdxP-OG.d.ts → index-DeZ11MNP.d.ts} +2 -2
- package/dist/{index-lmd9LZKB.d.ts → index-DlKz3dB1.d.ts} +6 -3
- package/dist/{index-CbA8rR_b.d.ts → index-FeZXsFO-.d.ts} +2 -2
- package/dist/{index-CH-xSiJz.d.ts → index-LqFjvL4C.d.ts} +4 -4
- package/dist/{index-utZGF4GR.d.ts → index-NOXYEdOI.d.ts} +1 -1
- package/dist/{index-DofC9Rll.d.ts → index-Otl047R1.d.ts} +1 -1
- package/dist/{index-DCyYldjP.d.ts → index-T5bzxQ30.d.ts} +1 -1
- package/dist/{index-COgrQZIL.d.ts → index-YKCx03zD.d.ts} +2 -2
- package/dist/{index-BKnyTWPM.d.ts → index-ZbNwGVkS.d.ts} +1 -1
- package/dist/{index-DGXCnzOL.d.ts → index-aHC2C89h.d.ts} +1 -1
- package/dist/{index-DYabo8TI.d.ts → index-eCp-ElSp.d.ts} +1 -1
- package/dist/{index-yQc-te9a.d.ts → index-ql9ApSTF.d.ts} +2 -2
- package/dist/{index-0pBqcQXV.d.ts → index-tpkJfk6X.d.ts} +6 -1
- package/dist/index.d.ts +49 -52
- package/dist/index.js +90 -90
- package/dist/{holdEntranceInput-DjEzfGRU.js → inputHold-BmChuR9x.js} +87 -85
- package/dist/inputHoldState-pblUT4oh.js +39 -0
- package/dist/{interactionModality-CedLz5PC.js → interactionModality-4Km2ibsq.js} +4 -3
- package/dist/{landing-qVsYAZ-v.js → landing-B9Uvex6x.js} +3 -2
- package/dist/{layerFocusReturn-KvH6DMFT.js → layerFocusReturn-CEvrMbxH.js} +1 -1
- package/dist/lazyBottomSheet-CxEu25bK.js +16 -0
- package/dist/{loadCatalog-BeQt6Uq-.js → loadCatalog-BRd5XCbW.js} +24 -1
- package/dist/{loadCatalog-C8mRnC0E.d.ts → loadCatalog-CLm4V7mm.d.ts} +100 -2
- package/dist/locale/index.d.ts +2 -3
- package/dist/locale/index.js +3 -3
- package/dist/{locale-B4FpGKpc.js → locale-BkAezFog.js} +1 -1
- package/dist/{useHeldPresentation-fQsuYFhz.js → presentationHold-7IkbR4d8.js} +14 -22
- package/dist/progress-FQfSgLZC.js +38 -0
- package/dist/renderedText-BwJdmps3.js +32 -0
- package/dist/textEntryTraits-cb0LZSNl.js +11 -0
- package/dist/themeTiming-CWEvdh31.js +287 -0
- package/dist/{tooltipFocusRules-CFNKWzYn.js → tooltipFocusRules-DvVDuqZI.js} +1 -1
- package/dist/{context-WY1ippwe.js → transientCopy-VAsg2a46.js} +1 -172
- package/dist/{types-OGMYGejX.d.ts → types-BA1veIoa.d.ts} +25 -2
- package/dist/{types-bAQk3F8G.d.ts → types-Cvh2VwQZ.d.ts} +4 -2
- package/dist/{types-C1ydeFiu.d.ts → types-DL-hRibg.d.ts} +1 -1
- package/dist/{useChatStreamScroll-BIMKffDA.js → useChatStreamScroll-Cv51kRT0.js} +91 -30
- package/dist/useEntryErrorReport-Wee3N8IA.js +51 -0
- package/dist/{useFocusTrap-DTz_d7IP.js → useFocusTrap-BD9POtMp.js} +2 -2
- package/dist/useHeldPresentation-7MH-RlSF.js +24 -0
- package/dist/{useInputStatusIcon-B6m_t8cK.d.ts → useInputStatusIcon-CFkOmDS4.d.ts} +1 -1
- package/dist/{useInputStatusIcon-BFw-EXjJ.js → useInputStatusIcon-CGj9gMj8.js} +1 -1
- package/dist/{useMenuDrillIn-CDn2na4X.js → useMenuDrillIn-CP0P49ej.js} +1 -1
- package/dist/{useMenuPress-CxUqSUZ9.js → useMenuPress-DU6pAIHy.js} +4 -2
- package/dist/{useRestoreFocus-BxooFhas.js → useRestoreFocus-AeZABFZN.js} +2 -2
- package/dist/{useTooltip-CJHbG8Pv.js → useTooltip-Bsm43vbi.js} +5 -35
- package/dist/{useTouchTriggerInternal-Bdm_M4aa.js → useTouchTriggerInternal-Bl602PtA.js} +1 -1
- package/dist/{useTruncationTooltip-BTcr1LCR.js → useTruncationTooltip-wc6Lzz34.js} +3 -3
- package/package.json +1 -1
- package/styles/alert-dialog.css +5 -0
- package/styles/chat.css +45 -17
- package/styles/command-palette.css +9 -6
- package/styles/dropdown-menu.css +47 -38
- package/styles/file-input.css +8 -1
- package/styles/input-group.css +0 -15
- package/styles/number-input.css +49 -4
- package/styles/pagination.css +0 -22
- package/styles/popover.css +13 -0
- package/styles/text-area.css +16 -1
- package/styles/text-input.css +26 -5
- package/dist/Popover-CZvRSqqD.js +0 -374
- package/dist/index-B63NOJRc.d.ts +0 -957
- package/dist/index-B9WzWqzk.d.ts +0 -18
- package/dist/index-BtgkNd0Q.d.ts +0 -446
- package/dist/power-search-CuMzfLwW.d.ts +0 -87
- package/dist/types-DIYwbkpe.d.ts +0 -33
- package/dist/{index-CHx33xGa.d.ts → index-J6YRJ7Ul.d.ts} +1 -1
|
@@ -0,0 +1,287 @@
|
|
|
1
|
+
import { _ as parseMotionRoleValue, g as parseCssEasing } from "./pressGesture-BzIBmKF2.js";
|
|
2
|
+
import { t as cubicBezier } from "./bezier-Cts7gENO.js";
|
|
3
|
+
import { n as easeDefaults, t as durationDefaults } from "./motionTokenDefaults-EFzpiAF5.js";
|
|
4
|
+
import { n as normalizeTokenName } from "./tokenName-0U-WEH09.js";
|
|
5
|
+
//#region src/Theme/tokenReferences.ts
|
|
6
|
+
/**
|
|
7
|
+
* @file tokenReferences.ts
|
|
8
|
+
* @input A flat map of token names to raw CSS values
|
|
9
|
+
* @output `resolveTokenReferences`, which follows `var(--name[, fallback])`
|
|
10
|
+
* references through the map
|
|
11
|
+
* @position Theme utility with no imports: themeMotion.ts resolves motion
|
|
12
|
+
* tokens written as references on it, and the motion foundation resolves
|
|
13
|
+
* the declared timing defaults on it. Pure; safe on the server.
|
|
14
|
+
*/
|
|
15
|
+
/**
|
|
16
|
+
* Call `visit` for each top-level character of a CSS value. A top-level
|
|
17
|
+
* character is outside parentheses and outside quoted strings. In a quoted
|
|
18
|
+
* string, a backslash escapes the next character. The scan stops when `visit`
|
|
19
|
+
* returns true.
|
|
20
|
+
*/
|
|
21
|
+
function scanTopLevel(input, visit) {
|
|
22
|
+
let depth = 0;
|
|
23
|
+
let quote = null;
|
|
24
|
+
let isEscaped = false;
|
|
25
|
+
for (let i = 0; i < input.length; i++) {
|
|
26
|
+
const char = input[i];
|
|
27
|
+
if (quote !== null) {
|
|
28
|
+
if (isEscaped) isEscaped = false;
|
|
29
|
+
else if (char === "\\") isEscaped = true;
|
|
30
|
+
else if (char === quote) quote = null;
|
|
31
|
+
continue;
|
|
32
|
+
}
|
|
33
|
+
if (char === "\"" || char === "'") {
|
|
34
|
+
quote = char;
|
|
35
|
+
continue;
|
|
36
|
+
}
|
|
37
|
+
if (char === "(") {
|
|
38
|
+
depth++;
|
|
39
|
+
continue;
|
|
40
|
+
}
|
|
41
|
+
if (char === ")") {
|
|
42
|
+
depth = Math.max(0, depth - 1);
|
|
43
|
+
continue;
|
|
44
|
+
}
|
|
45
|
+
if (depth === 0 && visit(i)) return;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Split the arguments of a CSS function body on the first top-level comma.
|
|
50
|
+
* Handles nested functions such as rgba(), color-mix(), var(), and quoted strings.
|
|
51
|
+
*/
|
|
52
|
+
function splitTopLevelComma(input) {
|
|
53
|
+
let split = null;
|
|
54
|
+
scanTopLevel(input, (i) => {
|
|
55
|
+
if (input[i] !== ",") return false;
|
|
56
|
+
split = [input.slice(0, i).trim(), input.slice(i + 1).trim()];
|
|
57
|
+
return true;
|
|
58
|
+
});
|
|
59
|
+
return split;
|
|
60
|
+
}
|
|
61
|
+
/** Index of the `)` matching the `(` at `openIndex`, or -1 when unbalanced. */
|
|
62
|
+
function findMatchingParen(input, openIndex) {
|
|
63
|
+
let depth = 0;
|
|
64
|
+
for (let i = openIndex; i < input.length; i++) {
|
|
65
|
+
const char = input[i];
|
|
66
|
+
if (char === "(") depth++;
|
|
67
|
+
else if (char === ")") {
|
|
68
|
+
depth--;
|
|
69
|
+
if (depth === 0) return i;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
return -1;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Resolves every value in `raw` to a concrete one: each `var(--name[,
|
|
76
|
+
* fallback])` is replaced by `name`'s resolved value, or by its fallback when
|
|
77
|
+
* `raw` has no `name`, and is kept as written when neither exists or the
|
|
78
|
+
* references form a cycle.
|
|
79
|
+
*/
|
|
80
|
+
function resolveTokenReferences(raw) {
|
|
81
|
+
const cache = {};
|
|
82
|
+
const substitute = (expr, seen) => {
|
|
83
|
+
const start = expr.indexOf("var(");
|
|
84
|
+
if (start === -1) return expr;
|
|
85
|
+
const openIndex = start + 3;
|
|
86
|
+
const closeIndex = findMatchingParen(expr, openIndex);
|
|
87
|
+
if (closeIndex === -1) return expr;
|
|
88
|
+
const inner = expr.slice(openIndex + 1, closeIndex);
|
|
89
|
+
const commaSplit = splitTopLevelComma(inner);
|
|
90
|
+
const name = (commaSplit ? commaSplit[0] : inner).trim();
|
|
91
|
+
const fallback = commaSplit ? commaSplit[1] : null;
|
|
92
|
+
let replacement;
|
|
93
|
+
if (seen.has(name)) replacement = expr.slice(start, closeIndex + 1);
|
|
94
|
+
else if (name in raw) {
|
|
95
|
+
seen.add(name);
|
|
96
|
+
replacement = reference(name, seen);
|
|
97
|
+
seen.delete(name);
|
|
98
|
+
} else if (fallback !== null) replacement = substitute(fallback.trim(), seen);
|
|
99
|
+
else replacement = expr.slice(start, closeIndex + 1);
|
|
100
|
+
const rest = substitute(expr.slice(closeIndex + 1), seen);
|
|
101
|
+
return expr.slice(0, start) + replacement + rest;
|
|
102
|
+
};
|
|
103
|
+
const reference = (name, seen) => {
|
|
104
|
+
if (name in cache) return cache[name];
|
|
105
|
+
const value = raw[name];
|
|
106
|
+
if (value === void 0) return "";
|
|
107
|
+
const resolved = value.includes("var(") ? substitute(value, seen) : value;
|
|
108
|
+
cache[name] = resolved;
|
|
109
|
+
return resolved;
|
|
110
|
+
};
|
|
111
|
+
for (const name of Object.keys(raw)) reference(name, /* @__PURE__ */ new Set());
|
|
112
|
+
return cache;
|
|
113
|
+
}
|
|
114
|
+
//#endregion
|
|
115
|
+
//#region src/motion/themeTiming.ts
|
|
116
|
+
/**
|
|
117
|
+
* The value `@astryx-vue/themes` declares for each timing token, by its
|
|
118
|
+
* unprefixed name. A page without the stylesheet reads these.
|
|
119
|
+
*/
|
|
120
|
+
const declaredTimingTokens = {
|
|
121
|
+
...durationDefaults,
|
|
122
|
+
...easeDefaults
|
|
123
|
+
};
|
|
124
|
+
/**
|
|
125
|
+
* The eased progress from 0 to 1 over `seconds`, as a MotionCurve whose
|
|
126
|
+
* velocity is in progress per second. A curve of no length is at its end.
|
|
127
|
+
* With `jumps`, a jump in the easing, as in `steps()`, carries no speed. The
|
|
128
|
+
* gentler of the slopes just before and just after counts.
|
|
129
|
+
*/
|
|
130
|
+
function easedProgress(seconds, ease, { jumps = false } = {}) {
|
|
131
|
+
const at = (t) => seconds <= 0 || t >= seconds ? 1 : ease(Math.max(0, t) / seconds);
|
|
132
|
+
const step = Math.min(.001, seconds / 100);
|
|
133
|
+
return {
|
|
134
|
+
duration: seconds,
|
|
135
|
+
at,
|
|
136
|
+
velocity: (t) => {
|
|
137
|
+
if (seconds <= 0 || t >= seconds) return 0;
|
|
138
|
+
const before = Math.max(0, t - step);
|
|
139
|
+
const after = Math.min(seconds, t + step);
|
|
140
|
+
if (!jumps) return (at(after) - at(before)) / (after - before);
|
|
141
|
+
const here = at(t);
|
|
142
|
+
const slopes = [];
|
|
143
|
+
if (t > before) slopes.push((here - at(before)) / (t - before));
|
|
144
|
+
if (after > t) slopes.push((at(after) - here) / (after - t));
|
|
145
|
+
return slopes.reduce((a, b) => Math.abs(b) < Math.abs(a) ? b : a);
|
|
146
|
+
}
|
|
147
|
+
};
|
|
148
|
+
}
|
|
149
|
+
function firstDurationMs(style) {
|
|
150
|
+
return parseMotionRoleValue("duration", style.transitionDuration.split(",")[0] ?? "");
|
|
151
|
+
}
|
|
152
|
+
/** The first transition's easing in a computed style, as the style writes it. */
|
|
153
|
+
function firstEasingText(style) {
|
|
154
|
+
return style.transitionTimingFunction.split(/,(?![^(]*\))/)[0] ?? "";
|
|
155
|
+
}
|
|
156
|
+
/** The first transition's easing in a computed style. */
|
|
157
|
+
function firstEasing(style) {
|
|
158
|
+
return parseCssEasing(firstEasingText(style));
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* The easing `text` as the browser plays it. A paused animation with that
|
|
162
|
+
* easing gives its eased progress at each time it is set to. This reads an
|
|
163
|
+
* easing that is not a cubic Bézier, such as `linear()` or `steps()`. Null
|
|
164
|
+
* when the browser plays no such easing, or has no Web Animations.
|
|
165
|
+
*/
|
|
166
|
+
function browserEasing(doc, text) {
|
|
167
|
+
const view = doc.defaultView;
|
|
168
|
+
if (typeof view?.Animation !== "function" || typeof view.KeyframeEffect !== "function") return null;
|
|
169
|
+
let animation;
|
|
170
|
+
try {
|
|
171
|
+
animation = new view.Animation(new view.KeyframeEffect(null, null, {
|
|
172
|
+
duration: 1e3,
|
|
173
|
+
easing: text,
|
|
174
|
+
fill: "both"
|
|
175
|
+
}), null);
|
|
176
|
+
} catch {
|
|
177
|
+
return null;
|
|
178
|
+
}
|
|
179
|
+
return (x) => {
|
|
180
|
+
animation.currentTime = Math.min(1, Math.max(0, x)) * 1e3;
|
|
181
|
+
return animation.effect?.getComputedTiming().progress ?? 1;
|
|
182
|
+
};
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* The curve for a duration and an easing, or null if either cannot play. An
|
|
186
|
+
* easing that is not a cubic Bézier plays as the browser plays `easing`, and
|
|
187
|
+
* a jump in it carries no speed.
|
|
188
|
+
*/
|
|
189
|
+
function progressOf(doc, { ms, points }, easing) {
|
|
190
|
+
if (ms == null || ms <= 0) return null;
|
|
191
|
+
if (points != null) return easedProgress(ms / 1e3, cubicBezier(points));
|
|
192
|
+
const ease = browserEasing(doc, easing);
|
|
193
|
+
return ease == null ? null : easedProgress(ms / 1e3, ease, { jumps: true });
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* A duration and an easing written in CSS, resolved as a transition resolves
|
|
197
|
+
* them where `element` is. A plain time or easing parses as written. Other
|
|
198
|
+
* text, such as `calc()`, resolves on a hidden probe's transition. The
|
|
199
|
+
* duration is null when it is not a time of zero or more. The easing is null
|
|
200
|
+
* when it is not a cubic Bézier. A value left out gives null.
|
|
201
|
+
*/
|
|
202
|
+
function resolveTiming(element, { duration, easing }) {
|
|
203
|
+
const plainMs = duration == null ? null : parseMotionRoleValue("duration", duration);
|
|
204
|
+
const plainPoints = easing == null ? null : parseCssEasing(easing);
|
|
205
|
+
const doc = element.ownerDocument;
|
|
206
|
+
const view = doc.defaultView;
|
|
207
|
+
const needsMs = duration != null && plainMs == null;
|
|
208
|
+
const needsPoints = easing != null && plainPoints == null;
|
|
209
|
+
if (view == null || !needsMs && !needsPoints) return {
|
|
210
|
+
ms: plainMs,
|
|
211
|
+
points: plainPoints
|
|
212
|
+
};
|
|
213
|
+
const probe = doc.createElement("span");
|
|
214
|
+
probe.style.setProperty("display", "none", "important");
|
|
215
|
+
const takes = (property, value) => {
|
|
216
|
+
probe.style.setProperty(property, value, "important");
|
|
217
|
+
return probe.style.getPropertyValue(property) !== "";
|
|
218
|
+
};
|
|
219
|
+
const hasMs = needsMs && takes("transition-duration", duration);
|
|
220
|
+
const hasPoints = needsPoints && takes("transition-timing-function", easing);
|
|
221
|
+
(doc.body ?? doc.documentElement).append(probe);
|
|
222
|
+
try {
|
|
223
|
+
const style = view.getComputedStyle(probe);
|
|
224
|
+
return {
|
|
225
|
+
ms: hasMs ? firstDurationMs(style) : plainMs,
|
|
226
|
+
points: hasPoints ? firstEasing(style) : plainPoints
|
|
227
|
+
};
|
|
228
|
+
} finally {
|
|
229
|
+
probe.remove();
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
/**
|
|
233
|
+
* The value of `token` in `style`, which carries it with the `--astryx-`
|
|
234
|
+
* prefix. With none, it is the declared default, and the references in that
|
|
235
|
+
* default read their own tokens in `style` too.
|
|
236
|
+
*/
|
|
237
|
+
function tokenValue(style, token) {
|
|
238
|
+
const own = style.getPropertyValue(normalizeTokenName(token)).trim();
|
|
239
|
+
if (own !== "") return own;
|
|
240
|
+
const declared = {};
|
|
241
|
+
for (const [name, value] of Object.entries(declaredTimingTokens)) declared[name] = style.getPropertyValue(normalizeTokenName(name)).trim() || value;
|
|
242
|
+
return resolveTokenReferences(declared)[token] ?? "";
|
|
243
|
+
}
|
|
244
|
+
/**
|
|
245
|
+
* The text of a timing token where `element` is: its value there, or the
|
|
246
|
+
* default the theme declares, with that default's references read there too. It
|
|
247
|
+
* holds no reference, so another element that takes it plays the same timing.
|
|
248
|
+
*/
|
|
249
|
+
function readThemeTokenText(element, token) {
|
|
250
|
+
const style = element.ownerDocument.defaultView?.getComputedStyle(element);
|
|
251
|
+
return style == null ? null : tokenValue(style, token);
|
|
252
|
+
}
|
|
253
|
+
/**
|
|
254
|
+
* The eased progress from 0 to 1 that times a motion of `element`, as a
|
|
255
|
+
* MotionCurve whose velocity is in progress per second. With no tokens, it
|
|
256
|
+
* reads the element's own transition, where its stylesheet applies the
|
|
257
|
+
* theme's tokens. With tokens, it reads them as readThemeTokens does. Null
|
|
258
|
+
* when the duration is not a positive length or the browser plays no such
|
|
259
|
+
* easing: the caller decides what that motion does.
|
|
260
|
+
*/
|
|
261
|
+
function readThemeTiming(element, tokens) {
|
|
262
|
+
const doc = element.ownerDocument;
|
|
263
|
+
const style = doc.defaultView?.getComputedStyle(element);
|
|
264
|
+
if (style == null) return null;
|
|
265
|
+
if (tokens != null) {
|
|
266
|
+
const easing = tokenValue(style, tokens.easing);
|
|
267
|
+
return progressOf(doc, resolveTiming(element, {
|
|
268
|
+
duration: tokenValue(style, tokens.duration),
|
|
269
|
+
easing
|
|
270
|
+
}), easing);
|
|
271
|
+
}
|
|
272
|
+
const easing = firstEasingText(style);
|
|
273
|
+
return progressOf(doc, {
|
|
274
|
+
ms: firstDurationMs(style),
|
|
275
|
+
points: parseCssEasing(easing)
|
|
276
|
+
}, easing);
|
|
277
|
+
}
|
|
278
|
+
/**
|
|
279
|
+
* The theme's timing for `tokens` where `element` is, as readThemeTiming
|
|
280
|
+
* reads it. A timing that does not resolve, or no element, plays no motion:
|
|
281
|
+
* the curve has no length, so the motion lands at once.
|
|
282
|
+
*/
|
|
283
|
+
function readThemeTimingOrInstant(element, tokens) {
|
|
284
|
+
return (element == null ? null : readThemeTiming(element, tokens)) ?? easedProgress(0, (x) => x);
|
|
285
|
+
}
|
|
286
|
+
//#endregion
|
|
287
|
+
export { readThemeTimingOrInstant as n, readThemeTokenText as r, readThemeTiming as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as isTopLayer, n as useLayerDepth, o as pushLayer } from "./layerDepth-D3Rh8T5C.js";
|
|
2
2
|
import { t as matchesFocusVisible } from "./tooltipTriggerRules-DyPyWOdP.js";
|
|
3
|
-
import { s as isTextEntryControl, t as getInteractionModality } from "./interactionModality-
|
|
3
|
+
import { s as isTextEntryControl, t as getInteractionModality } from "./interactionModality-4Km2ibsq.js";
|
|
4
4
|
import { i as isFocusable } from "./focus-x7mxEqjR.js";
|
|
5
5
|
import { onScopeDispose } from "vue";
|
|
6
6
|
//#region src/layer/useHoverLayerDismiss.ts
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import { t as quietFinished } from "./quietFinished-CKZXgsPM.js";
|
|
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
|
-
import { computed, inject, ref } from "vue";
|
|
5
2
|
//#region src/motion/inertClone.ts
|
|
6
3
|
/**
|
|
7
4
|
* @file inertClone.ts
|
|
@@ -558,172 +555,4 @@ function wrapText(copy) {
|
|
|
558
555
|
return [...faded];
|
|
559
556
|
}
|
|
560
557
|
//#endregion
|
|
561
|
-
|
|
562
|
-
const NO_RIDE = {
|
|
563
|
-
x: 0,
|
|
564
|
-
y: 0
|
|
565
|
-
};
|
|
566
|
-
/**
|
|
567
|
-
* Before a change commits: hold `element`'s old content as one transient copy
|
|
568
|
-
* (`spec:AST-105` FR8). With `isVisiblePart`, the copy is the element's
|
|
569
|
-
* visible part, its content scrolled as it was (a scroll container). Returns
|
|
570
|
-
* null without a handle, outside its area, under an immediate change, or for
|
|
571
|
-
* content too large to copy.
|
|
572
|
-
*/
|
|
573
|
-
function holdLayoutSwap(handle, element, { isVisiblePart = false } = {}) {
|
|
574
|
-
if (handle == null || typeof element.animate !== "function") return null;
|
|
575
|
-
const area = areaOf(handle, element);
|
|
576
|
-
if (area == null || layoutMotion(area).kind === "instant" || !isCopyable(element)) return null;
|
|
577
|
-
beginChange(element.ownerDocument);
|
|
578
|
-
const box = element.getBoundingClientRect();
|
|
579
|
-
if (!isVisiblePart) {
|
|
580
|
-
const copy = inertCopy(element);
|
|
581
|
-
return copy == null ? null : {
|
|
582
|
-
area,
|
|
583
|
-
copy,
|
|
584
|
-
rect: box
|
|
585
|
-
};
|
|
586
|
-
}
|
|
587
|
-
const part = visiblePartCopy(element);
|
|
588
|
-
return part == null ? null : {
|
|
589
|
-
area,
|
|
590
|
-
...part
|
|
591
|
-
};
|
|
592
|
-
}
|
|
593
|
-
/**
|
|
594
|
-
* After the change commits, before paint: the copy leaves while the incoming
|
|
595
|
-
* elements enter, on FR4's one motion, every part started on the same
|
|
596
|
-
* timeline time. Under Reduce Motion with a coarse pointer, only opacity
|
|
597
|
-
* changes (`design:reduced-motion` DR2). Returns what ends the swap at once;
|
|
598
|
-
* it also ends when its motion does, and the copy is removed.
|
|
599
|
-
*/
|
|
600
|
-
function playLayoutSwap(swap, how) {
|
|
601
|
-
const motion = layoutMotion(swap.area);
|
|
602
|
-
if (motion.kind === "instant") return () => {};
|
|
603
|
-
const { copy } = swap;
|
|
604
|
-
const change = changeStartIn(swap.area, copy.ownerDocument);
|
|
605
|
-
placeOver(copy, how.host, swap.rect, how.copyBefore ?? null);
|
|
606
|
-
if (how.isOpaque === true) {
|
|
607
|
-
if (how.copyBefore == null) copy.style.zIndex = "1";
|
|
608
|
-
copy.style.backgroundColor = paintedBackground(copy);
|
|
609
|
-
}
|
|
610
|
-
const animations = [];
|
|
611
|
-
let isDone = false;
|
|
612
|
-
const end = () => {
|
|
613
|
-
if (isDone) return;
|
|
614
|
-
isDone = true;
|
|
615
|
-
animations.forEach((animation) => animation.cancel());
|
|
616
|
-
copy.remove();
|
|
617
|
-
how.onEnd?.();
|
|
618
|
-
};
|
|
619
|
-
const { copyText, rideWith } = how;
|
|
620
|
-
const fadedText = copyText != null && motion.kind === "glide" ? wrapText(copy) : [];
|
|
621
|
-
const parts = [];
|
|
622
|
-
if (motion.kind === "glide") {
|
|
623
|
-
const moves = rideWith != null && rideWith.isCopyMoved !== false;
|
|
624
|
-
parts.push([copy, (p, ride) => ({
|
|
625
|
-
...how.copy(p, ride),
|
|
626
|
-
...moves ? { translate: `${ride.x}px ${ride.y}px` } : null
|
|
627
|
-
})]);
|
|
628
|
-
for (const span of fadedText) parts.push([span, (p) => ({ opacity: copyText?.(p) ?? 1 })]);
|
|
629
|
-
for (const { element, frames } of how.incoming) parts.push([element, frames]);
|
|
630
|
-
} else {
|
|
631
|
-
parts.push([copy, (p) => ({ opacity: 1 - p })]);
|
|
632
|
-
for (const { element } of how.incoming) parts.push([element, (p) => ({ opacity: p })]);
|
|
633
|
-
}
|
|
634
|
-
const playAll = (durationMs, progressAt, rideAt, options, sample) => {
|
|
635
|
-
for (const [element, shape] of parts) {
|
|
636
|
-
const animation = safeAnimate(element, sample((t) => shape(progressAt(t), rideAt(t))), {
|
|
637
|
-
duration: durationMs,
|
|
638
|
-
fill: "both",
|
|
639
|
-
...options
|
|
640
|
-
}, change);
|
|
641
|
-
if (animation != null) animations.push(animation);
|
|
642
|
-
}
|
|
643
|
-
if (animations.length === 0) end();
|
|
644
|
-
else animations[0].addEventListener?.("finish", end);
|
|
645
|
-
};
|
|
646
|
-
if (motion.kind === "fade") {
|
|
647
|
-
playAll(motion.durationMs, (t) => t <= 0 ? 0 : 1, () => NO_RIDE, { easing: motion.easing }, (shape) => [shape(0), shape(motion.durationMs)]);
|
|
648
|
-
return end;
|
|
649
|
-
}
|
|
650
|
-
const { progress } = motion;
|
|
651
|
-
const progressAt = (t) => 1 - progress.remaining(t);
|
|
652
|
-
if (rideWith == null) {
|
|
653
|
-
playAll(progress.durationMs, progressAt, () => NO_RIDE, { easing: "linear" }, (shape) => sampleOver(progress.durationMs, shape));
|
|
654
|
-
return end;
|
|
655
|
-
}
|
|
656
|
-
queueMicrotask(() => {
|
|
657
|
-
if (isDone) return;
|
|
658
|
-
const glide = glides.get(rideWith.element);
|
|
659
|
-
const durationMs = glide?.durationMs ?? progress.durationMs;
|
|
660
|
-
const rideAt = (t) => {
|
|
661
|
-
if (glide == null) return {
|
|
662
|
-
x: -rideWith.travel.x,
|
|
663
|
-
y: -rideWith.travel.y
|
|
664
|
-
};
|
|
665
|
-
const now = glide.offsetAt(t);
|
|
666
|
-
const start = glide.shownBefore;
|
|
667
|
-
return {
|
|
668
|
-
x: now.x - start.x,
|
|
669
|
-
y: now.y - start.y
|
|
670
|
-
};
|
|
671
|
-
};
|
|
672
|
-
playAll(durationMs, progressAt, rideAt, { easing: "linear" }, (shape) => sampleOver(durationMs, shape));
|
|
673
|
-
});
|
|
674
|
-
return end;
|
|
675
|
-
}
|
|
676
|
-
/**
|
|
677
|
-
* After a change commits, before paint: elements the page already renders
|
|
678
|
-
* play frames over the change's progress on FR4's one motion, with no copy,
|
|
679
|
-
* such as a surface reaching over a gap a glide opens. Under Reduce Motion
|
|
680
|
-
* with a coarse pointer, only opacity changes; under an immediate change,
|
|
681
|
-
* nothing plays. Returns what ends them at once.
|
|
682
|
-
*/
|
|
683
|
-
function playLayoutFrames(handle, parts) {
|
|
684
|
-
const area = handle == null ? null : readArea(handle);
|
|
685
|
-
const motion = area == null ? null : layoutMotion(area);
|
|
686
|
-
if (area == null || motion == null || motion.kind === "instant") return () => {};
|
|
687
|
-
const change = changeStartIn(area, area.ownerDocument);
|
|
688
|
-
const animations = [];
|
|
689
|
-
for (const { element, frames: shape } of parts) {
|
|
690
|
-
const animation = motion.kind === "glide" ? safeAnimate(element, sampleKeyframes(motion.progress, (remaining) => shape(1 - remaining, NO_RIDE)), {
|
|
691
|
-
duration: motion.progress.durationMs,
|
|
692
|
-
easing: "linear",
|
|
693
|
-
fill: "both"
|
|
694
|
-
}, change) : safeAnimate(element, [{ opacity: 0 }, { opacity: 1 }], {
|
|
695
|
-
duration: motion.durationMs,
|
|
696
|
-
easing: motion.easing
|
|
697
|
-
}, change);
|
|
698
|
-
if (animation != null) animations.push(animation);
|
|
699
|
-
}
|
|
700
|
-
const end = () => animations.forEach((animation) => animation.cancel());
|
|
701
|
-
animations[0]?.addEventListener?.("finish", end);
|
|
702
|
-
return end;
|
|
703
|
-
}
|
|
704
|
-
//#endregion
|
|
705
|
-
//#region src/SideNav/context.ts
|
|
706
|
-
const sideNavRenderModeKey = Symbol("astryx-side-nav-render-mode");
|
|
707
|
-
const defaultRenderMode = computed(() => "default");
|
|
708
|
-
function useSideNavRenderMode() {
|
|
709
|
-
return inject(sideNavRenderModeKey, defaultRenderMode);
|
|
710
|
-
}
|
|
711
|
-
const sideNavCollapseKey = Symbol("astryx-side-nav-collapse");
|
|
712
|
-
const fallbackCollapse = {
|
|
713
|
-
isCollapsed: ref(false),
|
|
714
|
-
isCollapsible: ref(false),
|
|
715
|
-
navId: "",
|
|
716
|
-
toggle: () => {}
|
|
717
|
-
};
|
|
718
|
-
function useSideNavCollapse() {
|
|
719
|
-
return inject(sideNavCollapseKey, fallbackCollapse);
|
|
720
|
-
}
|
|
721
|
-
/** Internal nesting depth; zero for top-level rows and the first rail flyout level. */
|
|
722
|
-
const sideNavDepthKey = Symbol("astryx-side-nav-depth");
|
|
723
|
-
function useSideNavDepth() {
|
|
724
|
-
return inject(sideNavDepthKey, ref(0));
|
|
725
|
-
}
|
|
726
|
-
/** AppShell 借给里面的 SideNav:让内容区跟着侧栏的收展一起动。 */
|
|
727
|
-
const sideNavShellKey = Symbol("astryx-side-nav-shell");
|
|
728
|
-
//#endregion
|
|
729
|
-
export { useSideNavCollapse as a, holdLayoutSwap as c, sideNavShellKey as i, playLayoutFrames as l, sideNavDepthKey as n, useSideNavDepth as o, sideNavRenderModeKey as r, useSideNavRenderMode as s, sideNavCollapseKey as t, playLayoutSwap as u };
|
|
558
|
+
export { restoreScrollOffsets as a, paintedBackground as c, placeOver as i, isCopyable as n, visiblePartCopy as o, keepInherited as r, wrapText as s, inertCopy as t };
|
|
@@ -1,8 +1,18 @@
|
|
|
1
1
|
import { n as LayerPlacement, t as LayerAlignment } from "./position-DFW5ymAF.js";
|
|
2
|
+
import "./adaptationTypes-Cn_pfrsw.js";
|
|
3
|
+
import { ComputedRef, MaybeRefOrGetter } from "vue";
|
|
4
|
+
//#region src/composables/internal/presentation.d.ts
|
|
5
|
+
type AdaptivePresentation = 'popover' | 'bottom-sheet' | 'adaptive';
|
|
6
|
+
//#endregion
|
|
2
7
|
//#region src/Popover/types.d.ts
|
|
3
8
|
type PopoverPlacement = LayerPlacement;
|
|
4
9
|
type PopoverAlignment = LayerAlignment;
|
|
5
10
|
type PopoverRole = 'dialog' | 'none';
|
|
11
|
+
/**
|
|
12
|
+
* 内容放在哪:锚定在触发器上、底部弹层,或自适应(紧凑触屏上用底部弹层,
|
|
13
|
+
* 其余用浮层)。
|
|
14
|
+
*/
|
|
15
|
+
type PopoverPresentation = AdaptivePresentation;
|
|
6
16
|
/** 内边距步进,对应 `--astryx-spacing-*` 令牌。 */
|
|
7
17
|
type PopoverPadding = 0 | 0.5 | 1 | 1.5 | 2 | 3 | 4 | 5 | 6 | 8 | 10;
|
|
8
18
|
interface PopoverProps {
|
|
@@ -18,7 +28,7 @@ interface PopoverProps {
|
|
|
18
28
|
width?: number | string;
|
|
19
29
|
/** 浮层内边距步进。 */
|
|
20
30
|
padding?: PopoverPadding;
|
|
21
|
-
/** 对话框的无障碍名称。`role` 为 `dialog`
|
|
31
|
+
/** 对话框的无障碍名称。`role` 为 `dialog` 时应提供。没写时,底部弹层用触发器的文字命名。 */
|
|
22
32
|
label?: string;
|
|
23
33
|
/** `dialog` 为对话框,适用于包含交互内容的浮层;`none` 适用于内容自带角色的弹出列表或菜单。 */
|
|
24
34
|
role?: PopoverRole;
|
|
@@ -39,6 +49,19 @@ interface PopoverProps {
|
|
|
39
49
|
* 点击、`aria-haspopup` 等会直接挂到这个元素里的按钮上。
|
|
40
50
|
*/
|
|
41
51
|
anchor?: HTMLElement | null;
|
|
52
|
+
/**
|
|
53
|
+
* 承载内容的界面。`'popover'` 锚定在触发器上;`'bottom-sheet'` 放进模态
|
|
54
|
+
* BottomSheet,由 `label` 命名;`'adaptive'` 在紧凑触屏(粗指针,并且屏幕按主题
|
|
55
|
+
* 算紧凑:窄于 `md` 宽度点或矮于 500px,横竖屏的手机都算)上用 BottomSheet,
|
|
56
|
+
* 其余用锚定浮层,和 iOS 在手机上呈现 popover 一样。
|
|
57
|
+
*
|
|
58
|
+
* 在底部弹层里,`placement`、`alignment`、`width`、`role`、`isModal`、
|
|
59
|
+
* `hasAutoFocus` 不生效,`padding` 是弹层内容的内边距;弹层总能轻点外面或向下
|
|
60
|
+
* 轻扫关闭(不管 `hasLightDismiss`),Escape 跟着 `hasEscapeDismiss`,后备关闭
|
|
61
|
+
* 按钮照样聚焦时才出现。界面在打开时选定,保持到关闭。
|
|
62
|
+
* @default 'popover'
|
|
63
|
+
*/
|
|
64
|
+
presentation?: PopoverPresentation;
|
|
42
65
|
}
|
|
43
66
|
//#endregion
|
|
44
|
-
export {
|
|
67
|
+
export { PopoverProps as a, PopoverPresentation as i, PopoverPadding as n, PopoverRole as o, PopoverPlacement as r, AdaptivePresentation as s, PopoverAlignment as t };
|
|
@@ -3,6 +3,8 @@ import { Component, VNode } from "vue";
|
|
|
3
3
|
//#region src/Field/types.d.ts
|
|
4
4
|
type FieldStatusType = 'error' | 'warning' | 'success';
|
|
5
5
|
type FieldStatusVariant = 'attached' | 'detached';
|
|
6
|
+
/** 字段控件把状态说明放在哪:`attached`、`detached`,或 `tooltip`(不画说明框,由控件自己的状态图标按钮显示)。 */
|
|
7
|
+
type FieldStatusPlacement = FieldStatusVariant | 'tooltip';
|
|
6
8
|
interface FieldStatusInput {
|
|
7
9
|
type: FieldStatusType;
|
|
8
10
|
message?: string;
|
|
@@ -33,7 +35,7 @@ interface FieldLabelProps {
|
|
|
33
35
|
interface FieldProps extends FieldLabelProps {
|
|
34
36
|
status?: FieldStatusInput;
|
|
35
37
|
/** Tooltip leaves the message accessible but hides the inline status box. */
|
|
36
|
-
statusVariant?:
|
|
38
|
+
statusVariant?: FieldStatusPlacement;
|
|
37
39
|
width?: number | string;
|
|
38
40
|
}
|
|
39
41
|
interface FieldStatusProps {
|
|
@@ -56,4 +58,4 @@ interface FieldSlots extends FieldLabelSlots {
|
|
|
56
58
|
default: (props: FieldSlotProps) => VNode[];
|
|
57
59
|
}
|
|
58
60
|
//#endregion
|
|
59
|
-
export { FieldSlots as a,
|
|
61
|
+
export { FieldSlots as a, FieldStatusProps as c, FieldSlotProps as i, FieldStatusType as l, FieldLabelSlots as n, FieldStatusInput as o, FieldProps as r, FieldStatusPlacement as s, FieldLabelProps as t, FieldStatusVariant as u };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as SearchSource, o as SearchableItem } from "./useAsyncSource-DbG2FSuI.js";
|
|
2
2
|
import { t as FieldPartStylingProps } from "./fieldParts-LXpQMKE8.js";
|
|
3
|
-
import { t as InputStatusVariant } from "./useInputStatusIcon-
|
|
3
|
+
import { t as InputStatusVariant } from "./useInputStatusIcon-CFkOmDS4.js";
|
|
4
4
|
import { Component, HTMLAttributes, StyleValue } from "vue";
|
|
5
5
|
//#region src/Typeahead/types.d.ts
|
|
6
6
|
type TypeaheadSize = 'sm' | 'md' | 'lg';
|