@astryx-vue/core 0.24.0 → 0.26.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-Sku86l_R.js} +194 -8
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-Cmu6bMY6.js → AppShell-CJWvaqgZ.js} +5 -5
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-dMcn3j8Z.js → Avatar-C5KaulzE.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/Badge/index.d.ts +1 -2
- 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-DyJJtZZU.js → BottomSheet-BtuF3uH6.js} +114 -11
- package/dist/{BottomSheet-ZOjuZya0.js → BottomSheet-DKrJyrhw.js} +1 -1
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/{Breadcrumbs-Nv-089W0.js → Breadcrumbs-Cvzwy6sZ.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-BIHEfSec.js} +205 -43
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-FKfsoLcl.js → CheckboxInput-wmX3Ekj-.js} +7 -7
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-DuSVBtMk.js → CheckboxList-JWXHHU-u.js} +6 -6
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/ClickableCard/index.js +1 -1
- package/dist/{ClickableCard-dNmSVHBu.js → ClickableCard-CwGxO0GU.js} +1 -1
- package/dist/Code/index.js +1 -1
- package/dist/{CodeBlock-5KoJDvWd.js → CodeBlock-PMZd9dQ9.js} +1 -1
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-B1qW6OuL.js → Collapsible-BDCJRfFN.js} +3 -3
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-B2riNg_7.js → CommandPalette-CJyQd7P-.js} +2 -2
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-C4CO8Fd2.js → ComplexSelector-DIb8LjYJ.js} +4 -4
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-SzsWZf18.js → ContextMenu-HLvsROcS.js} +13 -26
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-D9Jv70H7.js → DateInput-D5YBijbb.js} +14 -33
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-BsB2kg_q.js → DateRangeInput-BlcHsqgx.js} +6 -6
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-BDyKPKGD.js → DateTimeInput-Bx3LWb9Y.js} +7 -7
- package/dist/Dialog/index.js +3 -3
- package/dist/{Dialog-DUlWQH8R.js → Dialog-CNLEL4Mf.js} +1 -1
- package/dist/{Dialog-JCB5s-T-.js → Dialog-CxeXQTqH.js} +10 -0
- package/dist/{DialogHeader-C6hZZxdv.js → DialogHeader-CjXS_wba.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-B_4HN6v5.js} +2 -2
- package/dist/DropdownMenu/index.js +3 -3
- package/dist/{DropdownMenu-Der2x_k_.js → DropdownMenu-CvdeExRQ.js} +5 -5
- package/dist/{DropdownMenu-BhxKnh6D.js → DropdownMenu-D_fBzKvf.js} +52 -23
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-CnFkYtcS.js → EmptyState-DUaFClsX.js} +4 -50
- package/dist/Field/index.d.ts +3 -3
- package/dist/Field/index.js +3 -3
- package/dist/{Field-D4UmRHlD.js → Field-Btyrw1hd.js} +2 -2
- package/dist/{FieldInfoTip-BSqcEcUx.js → FieldInfoTip-Dwl9HNp1.js} +1 -1
- package/dist/{FieldLabel-CZbayYFD.js → FieldLabel-B4l3sS4O.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-8oYiJsq_.js → FileInput-BUwV9fQa.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.d.ts +1 -1
- package/dist/Heading/index.js +1 -1
- package/dist/{Heading-COtyAhtB.js → Heading-BuZaxfIK.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/Indicator/index.d.ts +2 -2
- package/dist/InfoTip/index.d.ts +1 -1
- package/dist/InfoTip/index.js +1 -1
- package/dist/{InfoTip-CNZateDb.js → InfoTip-BDo2xI8h.js} +2 -2
- package/dist/{InputClearButton-CzCP41sx.js → InputClearButton-C-j9Nf1s.js} +1 -1
- package/dist/InputGroup/index.d.ts +1 -1
- package/dist/InputGroup/index.js +1 -1
- package/dist/{InputGroup-CfUGHDNz.js → InputGroup-1Ukiu-dg.js} +6 -6
- package/dist/InternationalizationProvider/index.d.ts +1 -1
- package/dist/InternationalizationProvider/index.js +1 -1
- package/dist/{InternationalizationProvider-DaZS5Dch.js → InternationalizationProvider-B2Gv5yAm.js} +1 -1
- package/dist/{Item-DyaYlbyE.js → Item-DUI1Qnnd.js} +1 -1
- 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-ruNSnGtC.js} +2 -2
- package/dist/List/index.d.ts +1 -1
- package/dist/List/index.js +2 -2
- package/dist/{ListItem-gj_lOvEt.js → ListItem-C8SqSrU6.js} +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-Cbj-nqhN.js → Markdown-C-KT_riK.js} +3 -3
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-BlcdCg8M.js → MobileNavToggle-BGNYwwfI.js} +12 -0
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-Dokwc4Mg.js → MoreMenu-DnwzVBEE.js} +17 -31
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-CId8-qAX.js → MultiSelector-Cl_HzKvn.js} +25 -26
- package/dist/{NavDisclosure-CqAThYgR.js → NavDisclosure-B66SHKdd.js} +1 -1
- package/dist/{NavHeadingSurface-DJ4pWvEi.js → NavHeadingSurface-BZCzkCPJ.js} +1 -1
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NavItem/index.js +1 -1
- package/dist/{NavItem-_eIEwV41.js → NavItem-c1ScHEJY.js} +1 -1
- package/dist/NavMenu/index.js +3 -3
- package/dist/{NavMenu-BtA_Xbmr.js → NavMenu-pCZjhMHe.js} +2 -2
- package/dist/{NavMenuItem-BxfjAf1T.js → NavMenuItem-BIqpJmH6.js} +3 -3
- package/dist/NumberInput/index.d.ts +2 -2
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-Bl5TFhGD.js → NumberInput-Dz0H_XPw.js} +386 -99
- 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-MCN1PhBB.js} +2 -2
- package/dist/Overlay/index.d.ts +1 -1
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-C0Bx80Tu.js → Pagination-Cq9BIzPe.js} +59 -48
- package/dist/Popover/index.d.ts +3 -3
- package/dist/Popover/index.js +1 -1
- package/dist/Popover-BJAyg1Qh.js +1247 -0
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-Dq6Gi9z1.js → PowerSearch-wXnusKnz.js} +19 -19
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/ProgressBar/index.js +1 -1
- package/dist/{ProgressBar-Dp-0xquN.js → ProgressBar-C6x0E-BF.js} +1 -1
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-IKBXLzYU.js → RadioGroup-LUDji_LA.js} +7 -7
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioList-NW4fGKgm.js → RadioList-CmeUUgn-.js} +1 -1
- package/dist/Resizable/index.d.ts +1 -1
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/SegmentedControl/index.js +1 -1
- package/dist/{SegmentedControl-DRxcUlVP.js → SegmentedControl-BkWz-I2J.js} +2 -2
- 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-BW_oxWDM.js → Selector-BL_JH51H.js} +30 -25
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +2 -2
- package/dist/{SideNav-B5mMRj98.js → SideNav-DtAQA-o-.js} +9 -9
- package/dist/Slider/index.d.ts +1 -1
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-oD3AY4jh.js → Slider-DEMdW9An.js} +4 -4
- package/dist/StatusDot/index.js +1 -1
- package/dist/{StatusDot-B3oOyRF7.js → StatusDot-_rucEf3d.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-DG_A9cD0.js → Switch-BxRYZTQV.js} +6 -6
- package/dist/TabList/index.d.ts +1 -1
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-FkoypUk0.js → TabList-D8KzfcGB.js} +3 -3
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-zNW23VwP.js → Table-DYDBgr3y.js} +15 -15
- package/dist/Text/index.d.ts +1 -1
- package/dist/Text/index.js +1 -1
- package/dist/{Text-v1ep26uD.js → Text-CHauN5So.js} +1 -1
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-BilHnmSs.js → TextArea-BJl6YH4p.js} +56 -22
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-D6tHM2sA.js → TextInput-CGOVY0Zk.js} +78 -34
- package/dist/Theme/index.d.ts +2 -2
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-llGdnQM8.js → Thumbnail-C3MvJ67s.js} +3 -3
- package/dist/{TimeField-C5rcoaVu.js → TimeField-C2of7Ok5.js} +14 -33
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-D0N8nwrI.js → TimeInput-B_YY-IHW.js} +3 -3
- package/dist/Timer/index.d.ts +1 -1
- package/dist/Timer/index.js +1 -1
- package/dist/{Timer-65PfuoQ7.js → Timer-OULaFQFf.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-rYC8mE3r.js → Timestamp-B6J0nfYH.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-Bnn_MiOn.js → ToggleButton-DfpsuhMa.js} +3 -3
- package/dist/Token/index.js +1 -1
- package/dist/{Token-B-j3AKxB.js → Token-C7Dt5ygK.js} +1 -1
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-Cpdy_L00.js → Tokenizer-CSmIMDc4.js} +6 -6
- 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-gT9_hIEv.js} +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-q8xDVlM_.js → TopNav-BsrhSbkn.js} +5 -5
- package/dist/TreeList/index.d.ts +1 -1
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-CEGInQtF.js → TreeList-BEPHdVYu.js} +3 -3
- package/dist/Typeahead/index.d.ts +2 -2
- package/dist/Typeahead/index.js +2 -2
- package/dist/{Typeahead-C-PdRnRQ.js → Typeahead-CdLc7S2v.js} +7 -7
- 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-og3t30Fh.js → assertOptions-CFn7Gdcr.js} +22 -2
- package/dist/{batch-oTkSbtVz.js → batch-CM-vJhQg.js} +3 -279
- package/dist/{handle-CSHfxBie.js → bezier-Cts7gENO.js} +3 -22
- package/dist/{clickGuard-ChKuogmR.js → clickGuard-FrlnECMp.js} +1 -2
- package/dist/coarsePointer-BfMx3H23.js +86 -0
- package/dist/composables/index.d.ts +2 -2
- package/dist/composables/index.js +7 -7
- package/dist/{composables-COCeg92e.js → composables-D9DVeNnL.js} +10 -3271
- package/dist/{context-DsNhYm5O.js → context-CrVCeUUK.js} +1 -1
- package/dist/context-DH8E-qjm.js +173 -0
- package/dist/{edge-3sC8-cbB.js → edge-BYXwSggM.js} +1 -1
- package/dist/{edgeRide-DOxmVxTM.js → edgeRide-B5mlN2Q4.js} +4 -4
- 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/{sharedRealm-H1OrlP0V.js → flatTree-BB4yPMNL.js} +1 -49
- package/dist/handle-BazRxHwq.js +22 -0
- package/dist/holdEntranceInput-DMCOeRqu.js +37 -0
- package/dist/{index-CuW4AQ7M.d.ts → index--kbwaSXW.d.ts} +1 -1
- package/dist/{index-CsYDrQ9R.d.ts → index-668zPVsH.d.ts} +1 -1
- package/dist/{index-_FjbcSgD.d.ts → index-7Q-wnbe7.d.ts} +1 -1
- package/dist/{index-Q1oG9yIT.d.ts → index-B-3EGjfQ.d.ts} +2 -2
- package/dist/{index-HULXozsK.d.ts → index-B3uBbehw.d.ts} +8 -8
- package/dist/{index-X4S7_dmq.d.ts → index-BA8exXNP.d.ts} +1 -1
- package/dist/{index-CnVjgLP5.d.ts → index-BCW6qCcS.d.ts} +1 -1
- package/dist/{index-QnlWyUxN.d.ts → index-BFGtLIp8.d.ts} +2 -2
- package/dist/{index-DDAcxZAP.d.ts → index-BZUVNr2c.d.ts} +1 -1
- package/dist/{index-BWcZ-L80.d.ts → index-BcRvRqWU.d.ts} +1 -1
- package/dist/{index-CEjvYAUZ.d.ts → index-BenG-F5d.d.ts} +1 -1
- package/dist/{index-ZKBj_1nu.d.ts → index-BfFpUr1B.d.ts} +1 -1
- package/dist/{index-DofC9Rll.d.ts → index-BtqvPjAf.d.ts} +1 -1
- package/dist/{index-BDZCJ9ri.d.ts → index-BuubzuE8.d.ts} +2 -2
- package/dist/{index-mK1ICsVg.d.ts → index-C3JmGujU.d.ts} +1 -1
- package/dist/{index-CKnr0JlT.d.ts → index-C4S65SAW.d.ts} +1 -1
- package/dist/{index-waTkqxTz.d.ts → index-C89cIh4E.d.ts} +1 -1
- package/dist/{index-D05JGsT3.d.ts → index-C8wfe0Mr.d.ts} +1 -1
- package/dist/{index-BfoazhEu.d.ts → index-CTXG-KKT.d.ts} +1 -1
- package/dist/{index-COgrQZIL.d.ts → index-CdvmnNMH.d.ts} +1 -1
- package/dist/{index-lmd9LZKB.d.ts → index-ClJINYPl.d.ts} +5 -2
- package/dist/{index-rdwI-mcm.d.ts → index-CtYlR9Cu.d.ts} +1 -1
- package/dist/index-CuFLztiI.d.ts +49 -0
- package/dist/{index-BOCb89V9.d.ts → index-DFLPv9io.d.ts} +2 -2
- package/dist/index-DHUCHxn2.d.ts +69 -0
- package/dist/{index-85RFPeV0.d.ts → index-DHsYyqMP.d.ts} +5 -5
- package/dist/{index-GmoeIuhl.d.ts → index-DMZ5SKJJ.d.ts} +35 -3
- package/dist/{index-DYabo8TI.d.ts → index-DPhQZXYw.d.ts} +1 -1
- package/dist/{index-DRDOArzq.d.ts → index-DSEEgvak.d.ts} +1152 -214
- package/dist/{index-DxR6cZBf.d.ts → index-DZCpswvp.d.ts} +1 -1
- package/dist/{index-etx25Eq-.d.ts → index-NOxH5oYj.d.ts} +1 -1
- package/dist/{index-CH-xSiJz.d.ts → index-XY0rleGM.d.ts} +2 -2
- package/dist/{index-0RIgvtdm.d.ts → index-ZXrvTM3A.d.ts} +2 -2
- package/dist/{index-DGXCnzOL.d.ts → index-aHC2C89h.d.ts} +1 -1
- package/dist/{index-0pBqcQXV.d.ts → index-tpkJfk6X.d.ts} +6 -1
- package/dist/index.d.ts +43 -44
- package/dist/index.js +101 -101
- package/dist/inputHold-BmChuR9x.js +525 -0
- package/dist/inputHoldState-pblUT4oh.js +39 -0
- package/dist/inputStream-LZdK8luP.js +239 -0
- package/dist/{landing-DFC97kl9.js → landing-B9Uvex6x.js} +3 -2
- package/dist/lazyBottomSheet-CL_PrTxb.js +16 -0
- package/dist/{loadCatalog-C8mRnC0E.d.ts → loadCatalog-2Hu-xisJ.d.ts} +2 -0
- package/dist/{loadCatalog-BeQt6Uq-.js → loadCatalog-umh_C97k.js} +2 -1
- package/dist/locale/index.d.ts +2 -2
- package/dist/locale/index.js +3 -3
- package/dist/{locale-B4FpGKpc.js → locale-BDPlcO62.js} +1 -1
- package/dist/presentationHold-7IkbR4d8.js +118 -0
- package/dist/{pressFeedback-CEUPQWIS.js → pressFeedback-DVR5V1b6.js} +3 -164
- package/dist/progress-FQfSgLZC.js +38 -0
- package/dist/renderedText-BwJdmps3.js +32 -0
- package/dist/{stillPointerGate-1Tgkns0J.js → stillPointerGate-D3loXLh7.js} +1 -1
- package/dist/textEntryTraits-cb0LZSNl.js +11 -0
- package/dist/themeTiming-CWEvdh31.js +287 -0
- 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/{context-DQPBIsl5.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/{useActionGroupTracking-PVBCtLUE.js → useActionGroupTracking-C6BzQzvp.js} +2 -2
- package/dist/{useChatStreamScroll-BIMKffDA.js → useChatStreamScroll-Cv51kRT0.js} +91 -30
- package/dist/{useDismiss-CMIsdIOQ.js → useDismiss-C7_S7qUA.js} +87 -5
- package/dist/useEntryErrorReport-Wee3N8IA.js +51 -0
- package/dist/useHeldPresentation-7MH-RlSF.js +24 -0
- package/dist/{useInputStatusIcon-CrgeMzrf.js → useInputStatusIcon-BFw-EXjJ.js} +1 -1
- package/dist/{useInputStatusIcon-B6m_t8cK.d.ts → useInputStatusIcon-CFkOmDS4.d.ts} +1 -1
- package/dist/{useMenuDrillIn-CQrzwZvx.js → useMenuDrillIn-CP0P49ej.js} +9 -8
- package/dist/{useMenuPress-wqRDvUMW.js → useMenuPress-Di_3jhOx.js} +5 -3
- package/dist/{usePressFeedback-aufF1sCH.js → usePressFeedback-BhNcuxQv.js} +1 -1
- package/dist/{useTooltip-BwqzEtoF.js → useTooltip-BpBMQ815.js} +4 -34
- package/dist/{useTouchHitArea-BMDBe36j.js → useTouchHitArea-CNZyA18Y.js} +2 -2
- package/dist/{useTruncationTooltip-CRhoPzeu.js → useTruncationTooltip-t5G978XB.js} +3 -3
- package/dist/{useTypeaheadMenuConfig-GvdIymRg.js → useTypeaheadMenuConfig-DeDGVR8S.js} +1 -1
- package/package.json +1 -1
- package/styles/alert-dialog.css +5 -0
- package/styles/chat.css +45 -17
- package/styles/context-menu.css +17 -73
- package/styles/dialog.css +18 -1
- package/styles/dropdown-menu.css +47 -38
- package/styles/file-input.css +8 -1
- package/styles/hover-card.css +13 -72
- package/styles/input-group.css +0 -15
- package/styles/layer.css +68 -0
- package/styles/multi-selector.css +17 -30
- package/styles/number-input.css +49 -4
- package/styles/pagination.css +0 -22
- package/styles/popover.css +26 -72
- package/styles/selector.css +17 -30
- package/styles/text-area.css +16 -1
- package/styles/text-input.css +26 -5
- package/styles/tooltip.css +12 -71
- package/styles/typeahead.css +17 -30
- package/dist/Popover-DpR4rwiW.js +0 -374
- package/dist/index-B9WzWqzk.d.ts +0 -18
- package/dist/index-CyMStZq4.d.ts +0 -957
- package/dist/types-DIYwbkpe.d.ts +0 -33
package/styles/chat.css
CHANGED
|
@@ -17,10 +17,6 @@
|
|
|
17
17
|
overflow-y: auto;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
.astryx-chat-layout[data-astryx-scrolling] {
|
|
21
|
-
scrollbar-width: none;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
20
|
.astryx-chat-layout__messages {
|
|
25
21
|
display: flex;
|
|
26
22
|
flex-direction: column;
|
|
@@ -173,9 +169,10 @@
|
|
|
173
169
|
outline: none;
|
|
174
170
|
}
|
|
175
171
|
|
|
172
|
+
/* 列表撑满滚动它的区域,边缘会被裁掉,所以键盘焦点环画在自己的盒子里面。 */
|
|
176
173
|
.astryx-chat-message-list:focus-visible {
|
|
177
|
-
outline: 2px solid var(--astryx-chat-focus, var(--astryx-focus-outline-color));
|
|
178
|
-
outline-offset: 2px;
|
|
174
|
+
outline: var(--astryx-focus-outline-width, 2px) var(--astryx-focus-outline-style, solid) var(--astryx-chat-focus, var(--astryx-focus-outline-color, currentcolor));
|
|
175
|
+
outline-offset: calc(-1 * var(--astryx-focus-outline-width, 2px));
|
|
179
176
|
}
|
|
180
177
|
|
|
181
178
|
.astryx-chat-message-list__inner {
|
|
@@ -261,12 +258,21 @@
|
|
|
261
258
|
.astryx-chat-message:has(.astryx-chat-message__avatar)[data-density='balanced'] { gap: var(--astryx-spacing-2, 8px); }
|
|
262
259
|
.astryx-chat-message:has(.astryx-chat-message__avatar)[data-density='spacious'] { gap: var(--astryx-spacing-3, 12px); }
|
|
263
260
|
|
|
264
|
-
|
|
265
|
-
|
|
261
|
+
/*
|
|
262
|
+
* 头像顶部的偏移由每条消息自己根据自己的内容设定(只看自己,不看兄弟),
|
|
263
|
+
* 嵌套的消息各设各的,不会继承外层那条的值。
|
|
264
|
+
*/
|
|
265
|
+
.astryx-chat-message {
|
|
266
|
+
--_chat-avatar-offset: 0px;
|
|
266
267
|
}
|
|
267
268
|
|
|
268
|
-
.astryx-chat-message:has([data-chat-name])
|
|
269
|
-
|
|
269
|
+
.astryx-chat-message:has([data-chat-name]) {
|
|
270
|
+
--_chat-avatar-offset: var(--astryx-spacing-5, 20px);
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.astryx-chat-message__avatar {
|
|
274
|
+
flex-shrink: 0;
|
|
275
|
+
margin-block-start: var(--_chat-avatar-offset);
|
|
270
276
|
}
|
|
271
277
|
|
|
272
278
|
.astryx-chat-message__column {
|
|
@@ -482,8 +488,7 @@
|
|
|
482
488
|
padding-block: var(--astryx-spacing-1, 4px);
|
|
483
489
|
color: var(--astryx-chat-foreground-secondary, var(--astryx-color-text-secondary));
|
|
484
490
|
font-size: var(--astryx-text-supporting-size, 0.75rem);
|
|
485
|
-
|
|
486
|
-
line-height: 1.5;
|
|
491
|
+
line-height: var(--astryx-text-supporting-leading, 1.6667);
|
|
487
492
|
text-align: center;
|
|
488
493
|
}
|
|
489
494
|
|
|
@@ -896,6 +901,13 @@
|
|
|
896
901
|
border-color var(--astryx-duration-fast, 125ms) var(--astryx-ease-standard, cubic-bezier(0.24, 1, 0.4, 1));
|
|
897
902
|
}
|
|
898
903
|
|
|
904
|
+
/* 点一下输入区就会升起键盘,聚焦外观淡入会在升起的每一帧重绘,所以粗指针下立刻显示。 */
|
|
905
|
+
@media (pointer: coarse) {
|
|
906
|
+
.astryx-chat-composer__body {
|
|
907
|
+
transition-duration: 0s;
|
|
908
|
+
}
|
|
909
|
+
}
|
|
910
|
+
|
|
899
911
|
.astryx-chat-composer__body:is(:disabled, [aria-disabled='true']) {
|
|
900
912
|
cursor: default;
|
|
901
913
|
}
|
|
@@ -970,6 +982,17 @@
|
|
|
970
982
|
gap: var(--astryx-spacing-1, 4px);
|
|
971
983
|
}
|
|
972
984
|
|
|
985
|
+
/* 调用方的操作在页脚里换行,发送操作始终留在输入区里;比页脚还宽的操作仍然截断。 */
|
|
986
|
+
.astryx-chat-composer__footer-start {
|
|
987
|
+
flex-wrap: wrap;
|
|
988
|
+
min-width: 0;
|
|
989
|
+
}
|
|
990
|
+
|
|
991
|
+
/* 主操作从不为调用方的操作让出宽度。 */
|
|
992
|
+
.astryx-chat-composer__footer-end {
|
|
993
|
+
flex-shrink: 0;
|
|
994
|
+
}
|
|
995
|
+
|
|
973
996
|
.astryx-chat-composer__header-end {
|
|
974
997
|
display: flex;
|
|
975
998
|
align-items: center;
|
|
@@ -1064,6 +1087,8 @@
|
|
|
1064
1087
|
}
|
|
1065
1088
|
|
|
1066
1089
|
.astryx-chat-composer-input__editable {
|
|
1090
|
+
/* 编辑区是会滚动的 flex 子项,自动最小高度为 0:重新排版后空的编辑区可能塌成 0px,点击就落不到它身上。 */
|
|
1091
|
+
min-height: 22px;
|
|
1067
1092
|
outline: none;
|
|
1068
1093
|
white-space: pre-wrap;
|
|
1069
1094
|
word-break: break-word;
|
|
@@ -1110,8 +1135,10 @@
|
|
|
1110
1135
|
}
|
|
1111
1136
|
|
|
1112
1137
|
.astryx-chat-send {
|
|
1138
|
+
/* 发送键自己声明按钮圆角:输入区的同心圆角靠继承传给别的按钮,发送键在里面仍保持圆形。 */
|
|
1139
|
+
--astryx-button-radius: var(--astryx-radius-full, 9999px);
|
|
1113
1140
|
flex-shrink: 0;
|
|
1114
|
-
border-radius: var(--astryx-button-radius
|
|
1141
|
+
border-radius: var(--astryx-button-radius);
|
|
1115
1142
|
}
|
|
1116
1143
|
|
|
1117
1144
|
.astryx-chat-drawer {
|
|
@@ -1123,12 +1150,13 @@
|
|
|
1123
1150
|
box-sizing: border-box;
|
|
1124
1151
|
padding-inline: var(--astryx-spacing-4, 16px);
|
|
1125
1152
|
padding-block-start: var(--astryx-spacing-3, 12px);
|
|
1126
|
-
|
|
1127
|
-
|
|
1153
|
+
/* 抽屉塞在输入区正文后面一个圆角的高度,顶部圆角和这段塞入量都跟着输入区自己的圆角;单独使用时取聊天圆角。 */
|
|
1154
|
+
padding-block-end: calc(var(--astryx-spacing-3, 12px) + var(--_chat-composer-radius, var(--astryx-radius-chat, 28px)));
|
|
1155
|
+
margin-block-end: calc(-1 * var(--_chat-composer-radius, var(--astryx-radius-chat, 28px)));
|
|
1128
1156
|
background-color: var(--astryx-color-background-surface);
|
|
1129
1157
|
background-image: linear-gradient(var(--astryx-color-background-muted), var(--astryx-color-background-muted));
|
|
1130
|
-
border-start-start-radius: var(--astryx-radius-chat, 28px);
|
|
1131
|
-
border-start-end-radius: var(--astryx-radius-chat, 28px);
|
|
1158
|
+
border-start-start-radius: var(--_chat-composer-radius, var(--astryx-radius-chat, 28px));
|
|
1159
|
+
border-start-end-radius: var(--_chat-composer-radius, var(--astryx-radius-chat, 28px));
|
|
1132
1160
|
}
|
|
1133
1161
|
|
|
1134
1162
|
.astryx-chat-drawer__toggle {
|
package/styles/context-menu.css
CHANGED
|
@@ -1,53 +1,5 @@
|
|
|
1
1
|
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
2
|
|
|
3
|
-
@keyframes astryx-context-menu-enter-below {
|
|
4
|
-
from {
|
|
5
|
-
opacity: 0;
|
|
6
|
-
transform: translateY(calc(-1 * var(--astryx-spacing-2, 8px))) scale(0.96);
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
to {
|
|
10
|
-
opacity: 1;
|
|
11
|
-
transform: translateY(0) scale(1);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
@keyframes astryx-context-menu-enter-above {
|
|
16
|
-
from {
|
|
17
|
-
opacity: 0;
|
|
18
|
-
transform: translateY(var(--astryx-spacing-2, 8px)) scale(0.96);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
to {
|
|
22
|
-
opacity: 1;
|
|
23
|
-
transform: translateY(0) scale(1);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
@keyframes astryx-context-menu-enter-end {
|
|
28
|
-
from {
|
|
29
|
-
opacity: 0;
|
|
30
|
-
transform: translateX(calc(-1 * var(--astryx-spacing-2, 8px))) scale(0.96);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
to {
|
|
34
|
-
opacity: 1;
|
|
35
|
-
transform: translateX(0) scale(1);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
@keyframes astryx-context-menu-enter-start {
|
|
40
|
-
from {
|
|
41
|
-
opacity: 0;
|
|
42
|
-
transform: translateX(var(--astryx-spacing-2, 8px)) scale(0.96);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
to {
|
|
46
|
-
opacity: 1;
|
|
47
|
-
transform: translateX(0) scale(1);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
3
|
@keyframes astryx-context-menu-leave {
|
|
52
4
|
from {
|
|
53
5
|
opacity: 1;
|
|
@@ -146,32 +98,10 @@
|
|
|
146
98
|
touch-action: pan-y pinch-zoom;
|
|
147
99
|
}
|
|
148
100
|
|
|
149
|
-
.astryx-context-menu[data-placement
|
|
150
|
-
animation-name: astryx-
|
|
151
|
-
animation-fill-mode: backwards;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.astryx-context-menu[data-placement='above'] {
|
|
155
|
-
animation-name: astryx-context-menu-enter-above;
|
|
156
|
-
animation-fill-mode: backwards;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
.astryx-context-menu[data-placement='end'] {
|
|
160
|
-
animation-name: astryx-context-menu-enter-end;
|
|
101
|
+
.astryx-context-menu[data-placement] {
|
|
102
|
+
animation-name: astryx-layer-enter;
|
|
161
103
|
animation-fill-mode: backwards;
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
.astryx-context-menu[data-placement='start'] {
|
|
165
|
-
animation-name: astryx-context-menu-enter-start;
|
|
166
|
-
animation-fill-mode: backwards;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
[dir='rtl'] .astryx-context-menu[data-placement='end'] {
|
|
170
|
-
animation-name: astryx-context-menu-enter-start;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
[dir='rtl'] .astryx-context-menu[data-placement='start'] {
|
|
174
|
-
animation-name: astryx-context-menu-enter-end;
|
|
104
|
+
transform-origin: var(--_astryx-layer-enter-origin, 50% 50%);
|
|
175
105
|
}
|
|
176
106
|
|
|
177
107
|
/* A leave keeps its final frame until Vue takes the element away. */
|
|
@@ -327,6 +257,20 @@
|
|
|
327
257
|
}
|
|
328
258
|
}
|
|
329
259
|
|
|
260
|
+
@media (prefers-reduced-motion: reduce) and (not (pointer: coarse)) {
|
|
261
|
+
.astryx-context-menu[data-placement]:not(.astryx-context-menu-leave-active, .astryx-context-menu-flyout-leave-active) {
|
|
262
|
+
animation: none;
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
@media (prefers-reduced-motion: reduce) and (pointer: coarse) {
|
|
267
|
+
.astryx-context-menu[data-placement]:not(.astryx-context-menu-leave-active, .astryx-context-menu-flyout-leave-active) {
|
|
268
|
+
animation-name: astryx-layer-fade-in;
|
|
269
|
+
animation-duration: var(--_astryx-reduced-motion-fade-duration, 200ms);
|
|
270
|
+
animation-timing-function: var(--_astryx-reduced-motion-fade-easing, cubic-bezier(0.42, 0, 0.58, 1));
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
|
|
330
274
|
@media (forced-colors: active) {
|
|
331
275
|
/* 强制配色会去掉阴影,阴影是这块浮层唯一的边,这里补一圈系统色边框。 */
|
|
332
276
|
.astryx-context-menu {
|
package/styles/dialog.css
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
2
|
|
|
3
|
+
@keyframes astryx-dialog-fade-in {
|
|
4
|
+
from {
|
|
5
|
+
opacity: 0;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
to {
|
|
9
|
+
opacity: 1;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
3
13
|
@keyframes astryx-dialog-enter {
|
|
4
14
|
from {
|
|
5
15
|
opacity: 0;
|
|
@@ -115,12 +125,19 @@
|
|
|
115
125
|
display: contents;
|
|
116
126
|
}
|
|
117
127
|
|
|
118
|
-
|
|
128
|
+
/* 减少动效时对话框不移动也不缩放:触屏上原地淡入(200ms 以内),用鼠标时直接出现。 */
|
|
129
|
+
@media (prefers-reduced-motion: reduce) and (not (pointer: coarse)) {
|
|
119
130
|
.astryx-dialog[open] {
|
|
120
131
|
animation: none;
|
|
121
132
|
}
|
|
122
133
|
}
|
|
123
134
|
|
|
135
|
+
@media (prefers-reduced-motion: reduce) and (pointer: coarse) {
|
|
136
|
+
.astryx-dialog[open] {
|
|
137
|
+
animation: astryx-dialog-fade-in var(--_astryx-reduced-motion-fade-duration, 200ms) var(--_astryx-reduced-motion-fade-easing, cubic-bezier(0.42, 0, 0.58, 1)) backwards;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
124
141
|
@media (forced-colors: active) {
|
|
125
142
|
/* 强制配色会去掉阴影,遮罩颜色也由系统接管,对话框靠这圈边和页面分开。全屏对话框四周没有页面,不加。 */
|
|
126
143
|
.astryx-dialog:not(.astryx-dialog--fullscreen) {
|
package/styles/dropdown-menu.css
CHANGED
|
@@ -81,47 +81,44 @@
|
|
|
81
81
|
outline: none;
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
|
|
84
|
+
/*
|
|
85
|
+
* The anchored layer entrance (layer.css): the panel slides in from the side
|
|
86
|
+
* the positioning runtime writes, and scales about the point where it meets
|
|
87
|
+
* its trigger. It is a CSS animation, so it is running the moment the panel
|
|
88
|
+
* shows, and the entrance hold can wait for it.
|
|
89
|
+
*/
|
|
90
|
+
.astryx-dropdown-menu[data-placement] {
|
|
91
|
+
animation-name: astryx-layer-enter;
|
|
92
|
+
animation-duration: var(--astryx-duration-fast-max, 165ms);
|
|
93
|
+
animation-fill-mode: backwards;
|
|
94
|
+
animation-timing-function: var(--astryx-ease-standard, cubic-bezier(0.24, 1, 0.4, 1));
|
|
95
|
+
transform-origin: var(--_astryx-layer-enter-origin, 50% 50%);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.astryx-dropdown-menu-popover[data-placement] {
|
|
99
|
+
animation-name: astryx-layer-enter;
|
|
100
|
+
animation-duration: var(--astryx-duration-fast-max, 165ms);
|
|
101
|
+
animation-fill-mode: backwards;
|
|
102
|
+
animation-timing-function: var(--astryx-ease-standard, cubic-bezier(0.24, 1, 0.4, 1));
|
|
103
|
+
transform-origin: var(--_astryx-layer-enter-origin, 50% 50%);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
/* The leave runs back toward the trigger and keeps its last frame until Vue takes the panel away. */
|
|
85
107
|
.astryx-dropdown-menu-leave-active {
|
|
108
|
+
animation: none;
|
|
86
109
|
transition:
|
|
87
110
|
opacity var(--astryx-duration-fast-max, 165ms) var(--astryx-ease-standard, cubic-bezier(0.24, 1, 0.4, 1)),
|
|
88
111
|
transform var(--astryx-duration-fast-max, 165ms) var(--astryx-ease-standard, cubic-bezier(0.24, 1, 0.4, 1));
|
|
89
112
|
}
|
|
90
113
|
|
|
91
|
-
.astryx-dropdown-menu-enter-from,
|
|
92
114
|
.astryx-dropdown-menu-leave-to {
|
|
93
115
|
opacity: 0;
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.astryx-dropdown-menu-enter-from[data-placement='below'],
|
|
103
|
-
.astryx-dropdown-menu-leave-to[data-placement='below'] {
|
|
104
|
-
transform: translateY(calc(-1 * var(--astryx-spacing-2, 8px))) scale(0.95);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.astryx-dropdown-menu-enter-from[data-placement='start'],
|
|
108
|
-
.astryx-dropdown-menu-leave-to[data-placement='start'] {
|
|
109
|
-
transform: translateX(var(--astryx-spacing-2, 8px)) scale(0.95);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.astryx-dropdown-menu-enter-from[data-placement='end'],
|
|
113
|
-
.astryx-dropdown-menu-leave-to[data-placement='end'] {
|
|
114
|
-
transform: translateX(calc(-1 * var(--astryx-spacing-2, 8px))) scale(0.95);
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.astryx-dropdown-menu-enter-from[data-placement='start']:is([dir='rtl'] *),
|
|
118
|
-
.astryx-dropdown-menu-leave-to[data-placement='start']:is([dir='rtl'] *) {
|
|
119
|
-
transform: translateX(calc(-1 * var(--astryx-spacing-2, 8px))) scale(0.95);
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
.astryx-dropdown-menu-enter-from[data-placement='end']:is([dir='rtl'] *),
|
|
123
|
-
.astryx-dropdown-menu-leave-to[data-placement='end']:is([dir='rtl'] *) {
|
|
124
|
-
transform: translateX(var(--astryx-spacing-2, 8px)) scale(0.95);
|
|
116
|
+
transform:
|
|
117
|
+
translate(
|
|
118
|
+
calc(var(--_astryx-layer-enter-x, var(--_astryx-layer-enter-from-x, 0)) * min(var(--astryx-spacing-2, 8px), var(--_astryx-layer-enter-gap, var(--astryx-spacing-2, 8px)))),
|
|
119
|
+
calc(var(--_astryx-layer-enter-y, var(--_astryx-layer-enter-from-y, -1)) * min(var(--astryx-spacing-2, 8px), var(--_astryx-layer-enter-gap, var(--astryx-spacing-2, 8px))))
|
|
120
|
+
)
|
|
121
|
+
scale(0.95);
|
|
125
122
|
}
|
|
126
123
|
|
|
127
124
|
/*
|
|
@@ -394,15 +391,11 @@
|
|
|
394
391
|
}
|
|
395
392
|
|
|
396
393
|
@media (prefers-reduced-motion: reduce) {
|
|
397
|
-
.astryx-dropdown-menu-enter-active,
|
|
398
394
|
.astryx-dropdown-menu-leave-active {
|
|
399
395
|
transition: none;
|
|
400
396
|
}
|
|
401
397
|
|
|
402
|
-
.astryx-dropdown-menu-
|
|
403
|
-
.astryx-dropdown-menu-leave-to,
|
|
404
|
-
.astryx-dropdown-menu-enter-from[data-placement],
|
|
405
|
-
.astryx-dropdown-menu-leave-to[data-placement] {
|
|
398
|
+
.astryx-dropdown-menu-leave-to {
|
|
406
399
|
opacity: 1;
|
|
407
400
|
transform: none;
|
|
408
401
|
}
|
|
@@ -412,6 +405,22 @@
|
|
|
412
405
|
}
|
|
413
406
|
}
|
|
414
407
|
|
|
408
|
+
@media (prefers-reduced-motion: reduce) and (not (pointer: coarse)) {
|
|
409
|
+
.astryx-dropdown-menu[data-placement],
|
|
410
|
+
.astryx-dropdown-menu-popover[data-placement] {
|
|
411
|
+
animation: none;
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
@media (prefers-reduced-motion: reduce) and (pointer: coarse) {
|
|
416
|
+
.astryx-dropdown-menu[data-placement],
|
|
417
|
+
.astryx-dropdown-menu-popover[data-placement] {
|
|
418
|
+
animation-name: astryx-layer-fade-in;
|
|
419
|
+
animation-duration: var(--_astryx-reduced-motion-fade-duration, 200ms);
|
|
420
|
+
animation-timing-function: var(--_astryx-reduced-motion-fade-easing, cubic-bezier(0.42, 0, 0.58, 1));
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
|
|
415
424
|
@media (forced-colors: active) {
|
|
416
425
|
/* 强制配色把半透明的焦点叠色换成页面色,聚焦的行就看不出来了:用系统的 Highlight / HighlightText 配对涂出来。 */
|
|
417
426
|
.astryx-dropdown-menu [role='menuitem']:focus,
|
package/styles/file-input.css
CHANGED
|
@@ -54,10 +54,17 @@
|
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
.astryx-file-input-trigger:disabled,
|
|
57
|
-
.astryx-file-input[data-disabled='true'] .astryx-file-input-trigger
|
|
57
|
+
.astryx-file-input[data-disabled='true'] .astryx-file-input-trigger,
|
|
58
|
+
.astryx-file-input[data-busy='true'] .astryx-file-input-trigger {
|
|
58
59
|
cursor: default;
|
|
59
60
|
}
|
|
60
61
|
|
|
62
|
+
/* 忙碌时不再接受新的选择:不画可点光标,也不画悬停和拖入的反馈,但不套禁用的淡化。 */
|
|
63
|
+
.astryx-file-input[data-busy='true'] {
|
|
64
|
+
cursor: default;
|
|
65
|
+
box-shadow: none;
|
|
66
|
+
}
|
|
67
|
+
|
|
61
68
|
.astryx-file-input-text {
|
|
62
69
|
min-width: 0;
|
|
63
70
|
overflow: hidden;
|
package/styles/hover-card.css
CHANGED
|
@@ -1,53 +1,5 @@
|
|
|
1
1
|
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
2
|
|
|
3
|
-
@keyframes astryx-hover-card-enter-above {
|
|
4
|
-
from {
|
|
5
|
-
opacity: 0;
|
|
6
|
-
transform: translateY(var(--astryx-spacing-2, 8px)) scale(0.95);
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
to {
|
|
10
|
-
opacity: 1;
|
|
11
|
-
transform: translateY(0) scale(1);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
@keyframes astryx-hover-card-enter-below {
|
|
16
|
-
from {
|
|
17
|
-
opacity: 0;
|
|
18
|
-
transform: translateY(calc(-1 * var(--astryx-spacing-2, 8px))) scale(0.95);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
to {
|
|
22
|
-
opacity: 1;
|
|
23
|
-
transform: translateY(0) scale(1);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
@keyframes astryx-hover-card-enter-start {
|
|
28
|
-
from {
|
|
29
|
-
opacity: 0;
|
|
30
|
-
transform: translateX(var(--astryx-spacing-2, 8px)) scale(0.95);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
to {
|
|
34
|
-
opacity: 1;
|
|
35
|
-
transform: translateX(0) scale(1);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
@keyframes astryx-hover-card-enter-end {
|
|
40
|
-
from {
|
|
41
|
-
opacity: 0;
|
|
42
|
-
transform: translateX(calc(-1 * var(--astryx-spacing-2, 8px))) scale(0.95);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
to {
|
|
46
|
-
opacity: 1;
|
|
47
|
-
transform: translateX(0) scale(1);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
3
|
@keyframes astryx-hover-card-leave-above {
|
|
52
4
|
from {
|
|
53
5
|
opacity: 1;
|
|
@@ -157,28 +109,9 @@
|
|
|
157
109
|
animation-fill-mode: forwards;
|
|
158
110
|
}
|
|
159
111
|
|
|
160
|
-
.astryx-hover-card-enter-active[data-placement
|
|
161
|
-
animation-name: astryx-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
.astryx-hover-card-enter-active[data-placement='below'] {
|
|
165
|
-
animation-name: astryx-hover-card-enter-below;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
.astryx-hover-card-enter-active[data-placement='start'] {
|
|
169
|
-
animation-name: astryx-hover-card-enter-start;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
.astryx-hover-card-enter-active[data-placement='end'] {
|
|
173
|
-
animation-name: astryx-hover-card-enter-end;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
.astryx-hover-card-enter-active[data-placement='start']:is([dir='rtl'] *) {
|
|
177
|
-
animation-name: astryx-hover-card-enter-end;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
.astryx-hover-card-enter-active[data-placement='end']:is([dir='rtl'] *) {
|
|
181
|
-
animation-name: astryx-hover-card-enter-start;
|
|
112
|
+
.astryx-hover-card-enter-active[data-placement] {
|
|
113
|
+
animation-name: astryx-layer-enter;
|
|
114
|
+
transform-origin: var(--_astryx-layer-enter-origin, 50% 50%);
|
|
182
115
|
}
|
|
183
116
|
|
|
184
117
|
.astryx-hover-card-leave-active[data-placement='above'] {
|
|
@@ -206,9 +139,17 @@
|
|
|
206
139
|
}
|
|
207
140
|
|
|
208
141
|
@media (prefers-reduced-motion: reduce) {
|
|
209
|
-
.astryx-hover-card-enter-active,
|
|
210
|
-
.astryx-hover-card-leave-active {
|
|
142
|
+
.astryx-hover-card-enter-active[data-placement],
|
|
143
|
+
.astryx-hover-card-leave-active[data-placement] {
|
|
211
144
|
animation: none;
|
|
212
145
|
}
|
|
213
146
|
}
|
|
147
|
+
|
|
148
|
+
@media (prefers-reduced-motion: reduce) and (pointer: coarse) {
|
|
149
|
+
.astryx-hover-card-enter-active[data-placement] {
|
|
150
|
+
animation-name: astryx-layer-fade-in;
|
|
151
|
+
animation-duration: var(--_astryx-reduced-motion-fade-duration, 200ms);
|
|
152
|
+
animation-timing-function: var(--_astryx-reduced-motion-fade-easing, cubic-bezier(0.42, 0, 0.58, 1));
|
|
153
|
+
}
|
|
154
|
+
}
|
|
214
155
|
}
|
package/styles/input-group.css
CHANGED
|
@@ -33,21 +33,6 @@
|
|
|
33
33
|
cursor: default;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
.astryx-input-group.status-error {
|
|
37
|
-
--astryx-input-focus: var(--astryx-input-error, var(--astryx-color-border-error, #e33f4a));
|
|
38
|
-
border-color: var(--astryx-input-error, var(--astryx-color-border-error, #e33f4a));
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.astryx-input-group.status-warning {
|
|
42
|
-
--astryx-input-focus: var(--astryx-input-warning, var(--astryx-color-border-warning, #a67a00));
|
|
43
|
-
border-color: var(--astryx-input-warning, var(--astryx-color-border-warning, #a67a00));
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.astryx-input-group.status-success {
|
|
47
|
-
--astryx-input-focus: var(--astryx-input-success, var(--astryx-color-border-success, #198100));
|
|
48
|
-
border-color: var(--astryx-input-success, var(--astryx-color-border-success, #198100));
|
|
49
|
-
}
|
|
50
|
-
|
|
51
36
|
.astryx-input-group-shell {
|
|
52
37
|
width: 100%;
|
|
53
38
|
min-width: 0;
|
package/styles/layer.css
CHANGED
|
@@ -71,4 +71,72 @@
|
|
|
71
71
|
/* 外面容器传给 Text 的 anywhere 换行也停在这里,浮层里的 Text 回到自己的 break-word。 */
|
|
72
72
|
--_astryx-text-overflow-wrap: initial;
|
|
73
73
|
}
|
|
74
|
+
|
|
75
|
+
/* 进场没拿到运行时写的一侧时,按 placement 退回的方向。横向退回在 RTL 下镜像;运行时写的是物理方向。 */
|
|
76
|
+
[data-placement='above'] {
|
|
77
|
+
--_astryx-layer-enter-from-x: 0;
|
|
78
|
+
--_astryx-layer-enter-from-y: 1;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
[data-placement='below'] {
|
|
82
|
+
--_astryx-layer-enter-from-x: 0;
|
|
83
|
+
--_astryx-layer-enter-from-y: -1;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
[data-placement='start'] {
|
|
87
|
+
--_astryx-layer-enter-from-x: 1;
|
|
88
|
+
--_astryx-layer-enter-from-y: 0;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
[data-placement='end'] {
|
|
92
|
+
--_astryx-layer-enter-from-x: -1;
|
|
93
|
+
--_astryx-layer-enter-from-y: 0;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
[data-placement='start']:is([dir='rtl'] *) {
|
|
97
|
+
--_astryx-layer-enter-from-x: -1;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
[data-placement='end']:is([dir='rtl'] *) {
|
|
101
|
+
--_astryx-layer-enter-from-x: 1;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
/*
|
|
106
|
+
* 锚定浮层的进场(上游 Layer/layerAnimations)。
|
|
107
|
+
*
|
|
108
|
+
* 浮层摆好后,定位运行时(layer/layerEntranceSide.ts)在浮层上写下它落在的那一侧:
|
|
109
|
+
* 每个轴往锚点退的一步(-1、0、1)、缩放原点、和锚点之间的空隙。进场从那一侧滑进来,
|
|
110
|
+
* 以浮层和锚点相接的点为原点缩放;退的那一步取 spacing-2 和空隙里较小的一个,所以
|
|
111
|
+
* 任何一帧都不会盖到锚点。用它的浮层要写
|
|
112
|
+
* `transform-origin: var(--_astryx-layer-enter-origin, 50% 50%)`。
|
|
113
|
+
*
|
|
114
|
+
* 减少动效时,主指针是粗略指针(手指)就改用 astryx-layer-fade-in 只淡入(motion.css
|
|
115
|
+
* 的减少动效时长和曲线),其余指针直接出现。
|
|
116
|
+
*/
|
|
117
|
+
@keyframes astryx-layer-enter {
|
|
118
|
+
from {
|
|
119
|
+
opacity: 0;
|
|
120
|
+
transform:
|
|
121
|
+
translate(
|
|
122
|
+
calc(var(--_astryx-layer-enter-x, var(--_astryx-layer-enter-from-x, 0)) * min(var(--astryx-spacing-2, 8px), var(--_astryx-layer-enter-gap, var(--astryx-spacing-2, 8px)))),
|
|
123
|
+
calc(var(--_astryx-layer-enter-y, var(--_astryx-layer-enter-from-y, -1)) * min(var(--astryx-spacing-2, 8px), var(--_astryx-layer-enter-gap, var(--astryx-spacing-2, 8px))))
|
|
124
|
+
)
|
|
125
|
+
scale(0.95);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
to {
|
|
129
|
+
opacity: 1;
|
|
130
|
+
transform: translate(0, 0) scale(1);
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
@keyframes astryx-layer-fade-in {
|
|
135
|
+
from {
|
|
136
|
+
opacity: 0;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
to {
|
|
140
|
+
opacity: 1;
|
|
141
|
+
}
|
|
74
142
|
}
|
|
@@ -1,29 +1,5 @@
|
|
|
1
1
|
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
2
|
|
|
3
|
-
@keyframes astryx-multi-selector-enter-below {
|
|
4
|
-
from {
|
|
5
|
-
opacity: 0;
|
|
6
|
-
transform: translateY(calc(-1 * var(--astryx-spacing-2, 8px))) scale(0.95);
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
to {
|
|
10
|
-
opacity: 1;
|
|
11
|
-
transform: translateY(0) scale(1);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
@keyframes astryx-multi-selector-enter-above {
|
|
16
|
-
from {
|
|
17
|
-
opacity: 0;
|
|
18
|
-
transform: translateY(var(--astryx-spacing-2, 8px)) scale(0.95);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
to {
|
|
22
|
-
opacity: 1;
|
|
23
|
-
transform: translateY(0) scale(1);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
3
|
@layer astryx.components {
|
|
28
4
|
.astryx-field.astryx-multi-selector {
|
|
29
5
|
width: var(--astryx-field-width, 100%);
|
|
@@ -269,12 +245,9 @@
|
|
|
269
245
|
animation-timing-function: var(--astryx-ease-standard, cubic-bezier(0.24, 1, 0.4, 1));
|
|
270
246
|
}
|
|
271
247
|
|
|
272
|
-
.astryx-multi-selector-listbox[data-placement
|
|
273
|
-
animation-name: astryx-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
.astryx-multi-selector-listbox[data-placement='above'] {
|
|
277
|
-
animation-name: astryx-multi-selector-enter-above;
|
|
248
|
+
.astryx-multi-selector-listbox[data-placement] {
|
|
249
|
+
animation-name: astryx-layer-enter;
|
|
250
|
+
transform-origin: var(--_astryx-layer-enter-origin, 50% 50%);
|
|
278
251
|
}
|
|
279
252
|
|
|
280
253
|
.astryx-multi-selector-search {
|
|
@@ -406,6 +379,20 @@
|
|
|
406
379
|
animation: none;
|
|
407
380
|
}
|
|
408
381
|
}
|
|
382
|
+
|
|
383
|
+
@media (prefers-reduced-motion: reduce) and (not (pointer: coarse)) {
|
|
384
|
+
.astryx-multi-selector-listbox[data-placement] {
|
|
385
|
+
animation: none;
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
@media (prefers-reduced-motion: reduce) and (pointer: coarse) {
|
|
390
|
+
.astryx-multi-selector-listbox[data-placement] {
|
|
391
|
+
animation-name: astryx-layer-fade-in;
|
|
392
|
+
animation-duration: var(--_astryx-reduced-motion-fade-duration, 200ms);
|
|
393
|
+
animation-timing-function: var(--_astryx-reduced-motion-fade-easing, cubic-bezier(0.42, 0, 0.58, 1));
|
|
394
|
+
}
|
|
395
|
+
}
|
|
409
396
|
}
|
|
410
397
|
|
|
411
398
|
/* 不分层:压过文档页 :where(input, button, ...):focus-visible 的品牌绿环。
|