@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/number-input.css
CHANGED
|
@@ -82,10 +82,16 @@
|
|
|
82
82
|
box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--astryx-input-focus, #262626) 15%, transparent);
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
.astryx-number-input
|
|
85
|
+
.astryx-number-input[data-disabled='true'] {
|
|
86
86
|
opacity: 0.5;
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
+
/* 禁用的输入框还留在 Tab 顺序里:键盘聚焦时仍画聚焦环,和整块字段一样被淡化。 */
|
|
90
|
+
.astryx-number-input[data-disabled='true']:has(.astryx-number-input-field:focus-visible) {
|
|
91
|
+
border-color: var(--astryx-input-focus, #262626);
|
|
92
|
+
box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--astryx-input-focus, #262626) 15%, transparent);
|
|
93
|
+
}
|
|
94
|
+
|
|
89
95
|
.astryx-number-input-field {
|
|
90
96
|
box-sizing: border-box;
|
|
91
97
|
flex: 1;
|
|
@@ -105,7 +111,8 @@
|
|
|
105
111
|
opacity: 1;
|
|
106
112
|
}
|
|
107
113
|
|
|
108
|
-
.astryx-number-input-field:disabled
|
|
114
|
+
.astryx-number-input-field:disabled,
|
|
115
|
+
.astryx-number-input-field[aria-disabled='true'] {
|
|
109
116
|
cursor: default;
|
|
110
117
|
}
|
|
111
118
|
|
|
@@ -114,6 +121,11 @@
|
|
|
114
121
|
}
|
|
115
122
|
|
|
116
123
|
@media (pointer: coarse) {
|
|
124
|
+
/* 点一下输入框就会升起键盘,聚焦外观淡入会在升起的每一帧重绘,所以粗指针下立刻显示。 */
|
|
125
|
+
.astryx-number-input {
|
|
126
|
+
transition-duration: 0s;
|
|
127
|
+
}
|
|
128
|
+
|
|
117
129
|
@supports (-webkit-touch-callout: none) {
|
|
118
130
|
.astryx-number-input-field {
|
|
119
131
|
font-size: max(1rem, var(--astryx-text-body-size, 14px));
|
|
@@ -139,6 +151,9 @@
|
|
|
139
151
|
background: var(--astryx-input-background, #fff);
|
|
140
152
|
color: var(--astryx-color-text-secondary, #525252);
|
|
141
153
|
cursor: pointer;
|
|
154
|
+
user-select: none;
|
|
155
|
+
-webkit-user-select: none;
|
|
156
|
+
-webkit-touch-callout: none;
|
|
142
157
|
}
|
|
143
158
|
|
|
144
159
|
.astryx-number-input-chevron {
|
|
@@ -146,6 +161,13 @@
|
|
|
146
161
|
flex: none;
|
|
147
162
|
}
|
|
148
163
|
|
|
164
|
+
/* 这两个小按钮是细指针的便利:触屏直接输入数字,键盘仍可用方向键步进。 */
|
|
165
|
+
@media (pointer: coarse) {
|
|
166
|
+
.astryx-number-input-buttons {
|
|
167
|
+
display: none;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
149
171
|
.astryx-number-input-button.increment .astryx-number-input-chevron {
|
|
150
172
|
transform: rotate(180deg);
|
|
151
173
|
}
|
|
@@ -154,13 +176,13 @@
|
|
|
154
176
|
border-block-start: var(--astryx-border-width, 1px) solid var(--astryx-color-border-emphasized, #d4d4d4);
|
|
155
177
|
}
|
|
156
178
|
|
|
157
|
-
.astryx-number-input-button
|
|
179
|
+
.astryx-number-input-button[aria-disabled='true'] {
|
|
158
180
|
color: var(--astryx-color-text-secondary, #525252);
|
|
159
181
|
cursor: default;
|
|
160
182
|
}
|
|
161
183
|
|
|
162
184
|
@media (hover: hover) {
|
|
163
|
-
.astryx-number-input-button:hover:not(
|
|
185
|
+
.astryx-number-input-button:hover:not([aria-disabled='true']) {
|
|
164
186
|
background: var(--astryx-dropdown-menu-hover-background, light-dark(#0536590c, #ffffff0c));
|
|
165
187
|
}
|
|
166
188
|
}
|
|
@@ -170,6 +192,29 @@
|
|
|
170
192
|
transition: none;
|
|
171
193
|
}
|
|
172
194
|
}
|
|
195
|
+
|
|
196
|
+
@media (forced-colors: active) {
|
|
197
|
+
.astryx-number-input {
|
|
198
|
+
border-color: ButtonText;
|
|
199
|
+
color: CanvasText;
|
|
200
|
+
background: Canvas;
|
|
201
|
+
box-shadow: none;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.astryx-number-input:focus-within {
|
|
205
|
+
border-color: Highlight;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.astryx-number-input[data-disabled='true'] {
|
|
209
|
+
color: GrayText;
|
|
210
|
+
border-color: GrayText;
|
|
211
|
+
opacity: 1;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.astryx-number-input[data-disabled='true']:has(.astryx-number-input-field:focus-visible) {
|
|
215
|
+
border-color: Highlight;
|
|
216
|
+
}
|
|
217
|
+
}
|
|
173
218
|
}
|
|
174
219
|
|
|
175
220
|
/* Unlayered: the field chrome owns focus. A page ring on the inner input stacks a second outline. */
|
package/styles/pagination.css
CHANGED
|
@@ -176,28 +176,6 @@
|
|
|
176
176
|
white-space: nowrap;
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
.astryx-pagination-input-field {
|
|
180
|
-
box-sizing: border-box;
|
|
181
|
-
width: var(--astryx-size-element-md, 36px);
|
|
182
|
-
height: var(--astryx-size-element-md, 36px);
|
|
183
|
-
padding: 0;
|
|
184
|
-
border: var(--astryx-border-width, 1px) solid var(--astryx-color-border, #d4d4d4);
|
|
185
|
-
border-radius: var(--astryx-radius-element, 0.625rem);
|
|
186
|
-
background: transparent;
|
|
187
|
-
color: inherit;
|
|
188
|
-
font: inherit;
|
|
189
|
-
text-align: center;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
.astryx-pagination--sm .astryx-pagination-input-field {
|
|
193
|
-
width: var(--astryx-size-element-sm, 28px);
|
|
194
|
-
height: var(--astryx-size-element-sm, 28px);
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
.astryx-pagination-input-field:disabled {
|
|
198
|
-
opacity: 0.4;
|
|
199
|
-
}
|
|
200
|
-
|
|
201
179
|
.astryx-pagination-size-changer .astryx-selector {
|
|
202
180
|
width: 7.5rem;
|
|
203
181
|
}
|
package/styles/popover.css
CHANGED
|
@@ -1,53 +1,5 @@
|
|
|
1
1
|
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
2
|
|
|
3
|
-
@keyframes astryx-popover-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-popover-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-popover-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-popover-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
|
@layer astryx.components {
|
|
52
4
|
.astryx-popover-trigger {
|
|
53
5
|
display: inline-flex;
|
|
@@ -74,28 +26,9 @@
|
|
|
74
26
|
animation-timing-function: var(--astryx-ease-entrance, cubic-bezier(0.24, 1, 0.4, 1));
|
|
75
27
|
}
|
|
76
28
|
|
|
77
|
-
.astryx-popover[data-placement
|
|
78
|
-
animation-name: astryx-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
.astryx-popover[data-placement='below'] {
|
|
82
|
-
animation-name: astryx-popover-enter-below;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.astryx-popover[data-placement='start'] {
|
|
86
|
-
animation-name: astryx-popover-enter-start;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.astryx-popover[data-placement='end'] {
|
|
90
|
-
animation-name: astryx-popover-enter-end;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.astryx-popover[data-placement='start']:is([dir='rtl'] *) {
|
|
94
|
-
animation-name: astryx-popover-enter-end;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.astryx-popover[data-placement='end']:is([dir='rtl'] *) {
|
|
98
|
-
animation-name: astryx-popover-enter-start;
|
|
29
|
+
.astryx-popover[data-placement] {
|
|
30
|
+
animation-name: astryx-layer-enter;
|
|
31
|
+
transform-origin: var(--_astryx-layer-enter-origin, 50% 50%);
|
|
99
32
|
}
|
|
100
33
|
|
|
101
34
|
.astryx-popover__body {
|
|
@@ -133,12 +66,33 @@
|
|
|
133
66
|
padding-block-start: var(--astryx-spacing-1, 4px);
|
|
134
67
|
}
|
|
135
68
|
|
|
136
|
-
|
|
137
|
-
|
|
69
|
+
/* 底部弹层里的后备关闭按钮:平时移出排版并裁掉,聚焦时回到内容下方,留出焦点环的位置。 */
|
|
70
|
+
.astryx-popover__sheet-close:not(:focus) {
|
|
71
|
+
position: absolute;
|
|
72
|
+
clip-path: inset(50%);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.astryx-popover__sheet-close:focus {
|
|
76
|
+
position: relative;
|
|
77
|
+
display: flex;
|
|
78
|
+
width: fit-content;
|
|
79
|
+
margin-block-start: var(--astryx-spacing-3, 12px);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
@media (prefers-reduced-motion: reduce) and (not (pointer: coarse)) {
|
|
83
|
+
.astryx-popover[data-placement] {
|
|
138
84
|
animation: none;
|
|
139
85
|
}
|
|
140
86
|
}
|
|
141
87
|
|
|
88
|
+
@media (prefers-reduced-motion: reduce) and (pointer: coarse) {
|
|
89
|
+
.astryx-popover[data-placement] {
|
|
90
|
+
animation-name: astryx-layer-fade-in;
|
|
91
|
+
animation-duration: var(--_astryx-reduced-motion-fade-duration, 200ms);
|
|
92
|
+
animation-timing-function: var(--_astryx-reduced-motion-fade-easing, cubic-bezier(0.42, 0, 0.58, 1));
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
142
96
|
@media (forced-colors: active) {
|
|
143
97
|
/* 强制配色会去掉阴影,阴影是这块浮层唯一的边,这里补一圈系统色边框。 */
|
|
144
98
|
.astryx-popover {
|
package/styles/selector.css
CHANGED
|
@@ -1,29 +1,5 @@
|
|
|
1
1
|
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
2
|
|
|
3
|
-
@keyframes astryx-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-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-selector {
|
|
29
5
|
display: inline-block;
|
|
@@ -326,12 +302,9 @@
|
|
|
326
302
|
font-weight: var(--astryx-font-weight-medium, 500);
|
|
327
303
|
}
|
|
328
304
|
|
|
329
|
-
.astryx-selector-listbox[data-placement
|
|
330
|
-
animation-name: astryx-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
.astryx-selector-listbox[data-placement='above'] {
|
|
334
|
-
animation-name: astryx-selector-enter-above;
|
|
305
|
+
.astryx-selector-listbox[data-placement] {
|
|
306
|
+
animation-name: astryx-layer-enter;
|
|
307
|
+
transform-origin: var(--_astryx-layer-enter-origin, 50% 50%);
|
|
335
308
|
}
|
|
336
309
|
|
|
337
310
|
.astryx-selector-search {
|
|
@@ -521,6 +494,20 @@
|
|
|
521
494
|
animation: none;
|
|
522
495
|
}
|
|
523
496
|
}
|
|
497
|
+
|
|
498
|
+
@media (prefers-reduced-motion: reduce) and (not (pointer: coarse)) {
|
|
499
|
+
.astryx-selector-listbox[data-placement] {
|
|
500
|
+
animation: none;
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
@media (prefers-reduced-motion: reduce) and (pointer: coarse) {
|
|
505
|
+
.astryx-selector-listbox[data-placement] {
|
|
506
|
+
animation-name: astryx-layer-fade-in;
|
|
507
|
+
animation-duration: var(--_astryx-reduced-motion-fade-duration, 200ms);
|
|
508
|
+
animation-timing-function: var(--_astryx-reduced-motion-fade-easing, cubic-bezier(0.42, 0, 0.58, 1));
|
|
509
|
+
}
|
|
510
|
+
}
|
|
524
511
|
}
|
|
525
512
|
|
|
526
513
|
/* Unlayered: the field chrome owns focus. A page ring on the trigger or search input stacks a second outline. */
|
package/styles/text-area.css
CHANGED
|
@@ -71,6 +71,12 @@
|
|
|
71
71
|
cursor: default;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
+
/* 禁用的文本框还留在 Tab 顺序里:键盘聚焦时仍画聚焦环,和整块字段一样被淡化。 */
|
|
75
|
+
.astryx-text-area[data-disabled='true']:has(> [aria-disabled='true']:focus-visible) {
|
|
76
|
+
border-color: var(--astryx-input-focus, #262626);
|
|
77
|
+
box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--astryx-input-focus, #262626) 15%, transparent);
|
|
78
|
+
}
|
|
79
|
+
|
|
74
80
|
.astryx-text-area-control {
|
|
75
81
|
box-sizing: border-box;
|
|
76
82
|
display: block;
|
|
@@ -122,13 +128,19 @@
|
|
|
122
128
|
right: var(--astryx-spacing-1, 4px);
|
|
123
129
|
}
|
|
124
130
|
|
|
125
|
-
.astryx-text-area-control:disabled
|
|
131
|
+
.astryx-text-area-control:disabled,
|
|
132
|
+
.astryx-text-area-control[aria-disabled='true'] {
|
|
126
133
|
color: inherit;
|
|
127
134
|
cursor: default;
|
|
128
135
|
-webkit-text-fill-color: currentcolor;
|
|
129
136
|
}
|
|
130
137
|
|
|
131
138
|
@media (pointer: coarse) {
|
|
139
|
+
/* 点一下文本框就会升起键盘,聚焦外观淡入会在升起的每一帧重绘,所以粗指针下立刻显示。 */
|
|
140
|
+
.astryx-text-area {
|
|
141
|
+
transition-duration: 0s;
|
|
142
|
+
}
|
|
143
|
+
|
|
132
144
|
@supports (-webkit-touch-callout: none) {
|
|
133
145
|
.astryx-text-area-control {
|
|
134
146
|
font-size: max(1rem, var(--astryx-text-body-size, 14px));
|
|
@@ -157,6 +169,9 @@
|
|
|
157
169
|
border-color: GrayText;
|
|
158
170
|
opacity: 1;
|
|
159
171
|
}
|
|
172
|
+
.astryx-text-area[data-disabled='true']:has(> [aria-disabled='true']:focus-visible) {
|
|
173
|
+
border-color: Highlight;
|
|
174
|
+
}
|
|
160
175
|
}
|
|
161
176
|
}
|
|
162
177
|
|
package/styles/text-input.css
CHANGED
|
@@ -9,21 +9,23 @@
|
|
|
9
9
|
align-items: center;
|
|
10
10
|
gap: var(--astryx-spacing-2, 8px);
|
|
11
11
|
min-width: 0;
|
|
12
|
-
height: var(--astryx-input-height-md, 32px);
|
|
12
|
+
height: max(var(--astryx-input-height-md, 32px), var(--astryx-text-input-line, 1.5rem));
|
|
13
13
|
padding: var(--astryx-input-padding-block, var(--astryx-spacing-1, 4px)) var(--astryx-input-padding-inline, var(--astryx-spacing-2, 8px));
|
|
14
14
|
border: 1px solid var(--astryx-input-status-color, var(--astryx-input-border, #d4d4d4));
|
|
15
15
|
border-radius: var(--astryx-radius-element, 0.625rem);
|
|
16
16
|
color: var(--astryx-color-text-primary, #171717);
|
|
17
17
|
background: var(--astryx-input-background, #fff);
|
|
18
|
+
/* 行高跟着正文字号走:一行字加上下边框就是行的下限,字放大到 200% 时输入框跟着长高,不会切掉字。 */
|
|
19
|
+
--astryx-text-input-line: calc(var(--astryx-text-body-size, 14px) * var(--astryx-text-body-leading, 1.4286) + 2 * var(--astryx-border-width, 1px));
|
|
18
20
|
transition: border-color 130ms cubic-bezier(0.24, 1, 0.4, 1), box-shadow 130ms cubic-bezier(0.24, 1, 0.4, 1);
|
|
19
21
|
}
|
|
20
22
|
|
|
21
23
|
.astryx-text-input[data-size='sm'] {
|
|
22
|
-
height: var(--astryx-input-height-sm, 28px);
|
|
24
|
+
height: max(var(--astryx-input-height-sm, 28px), var(--astryx-text-input-line, 1.5rem));
|
|
23
25
|
}
|
|
24
26
|
|
|
25
27
|
.astryx-text-input[data-size='lg'] {
|
|
26
|
-
height: var(--astryx-input-height-lg, 36px);
|
|
28
|
+
height: max(var(--astryx-input-height-lg, 36px), var(--astryx-text-input-line, 1.5rem));
|
|
27
29
|
}
|
|
28
30
|
|
|
29
31
|
@media (hover: hover) {
|
|
@@ -57,7 +59,7 @@
|
|
|
57
59
|
font-family: inherit;
|
|
58
60
|
font-size: var(--astryx-text-body-size, 14px);
|
|
59
61
|
font-weight: 400;
|
|
60
|
-
line-height: 1.4286;
|
|
62
|
+
line-height: var(--astryx-text-body-leading, 1.4286);
|
|
61
63
|
appearance: none;
|
|
62
64
|
}
|
|
63
65
|
|
|
@@ -91,14 +93,30 @@
|
|
|
91
93
|
color: var(--astryx-input-status-color);
|
|
92
94
|
}
|
|
93
95
|
|
|
94
|
-
|
|
96
|
+
/* 禁用的输入框还留在 Tab 顺序里:键盘聚焦时仍画聚焦环,和整块字段一样被淡化。 */
|
|
97
|
+
.astryx-text-input[data-disabled='true']:has(> [aria-disabled='true']:focus-visible) {
|
|
98
|
+
border-color: var(--astryx-input-focus, #262626);
|
|
99
|
+
box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--astryx-input-focus, #262626) 15%, transparent);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.astryx-text-input-control:disabled,
|
|
103
|
+
.astryx-text-input-control[aria-disabled='true'] {
|
|
95
104
|
color: inherit;
|
|
96
105
|
cursor: default;
|
|
97
106
|
-webkit-text-fill-color: currentcolor;
|
|
98
107
|
}
|
|
99
108
|
|
|
100
109
|
@media (pointer: coarse) {
|
|
110
|
+
/* 点一下输入框就会升起键盘,聚焦外观淡入会在升起的每一帧重绘,所以粗指针下立刻显示。 */
|
|
111
|
+
.astryx-text-input {
|
|
112
|
+
transition-duration: 0s;
|
|
113
|
+
}
|
|
114
|
+
|
|
101
115
|
@supports (-webkit-touch-callout: none) {
|
|
116
|
+
.astryx-text-input {
|
|
117
|
+
--astryx-text-input-line: calc(max(1rem, var(--astryx-text-body-size, 14px)) * var(--astryx-text-body-leading, 1.4286) + 2 * var(--astryx-border-width, 1px));
|
|
118
|
+
}
|
|
119
|
+
|
|
102
120
|
.astryx-text-input-control {
|
|
103
121
|
font-size: max(1rem, var(--astryx-text-body-size, 14px));
|
|
104
122
|
}
|
|
@@ -126,6 +144,9 @@
|
|
|
126
144
|
border-color: GrayText;
|
|
127
145
|
opacity: 1;
|
|
128
146
|
}
|
|
147
|
+
.astryx-text-input[data-disabled='true']:has(> [aria-disabled='true']:focus-visible) {
|
|
148
|
+
border-color: Highlight;
|
|
149
|
+
}
|
|
129
150
|
}
|
|
130
151
|
}
|
|
131
152
|
|
package/styles/tooltip.css
CHANGED
|
@@ -1,53 +1,5 @@
|
|
|
1
1
|
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
2
|
|
|
3
|
-
@keyframes astryx-tooltip-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-tooltip-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-tooltip-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-tooltip-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
|
@layer astryx.components {
|
|
52
4
|
.astryx-tooltip-trigger {
|
|
53
5
|
display: contents;
|
|
@@ -89,33 +41,22 @@
|
|
|
89
41
|
animation-timing-function: var(--astryx-ease-standard, cubic-bezier(0.24, 1, 0.4, 1));
|
|
90
42
|
}
|
|
91
43
|
|
|
92
|
-
.astryx-tooltip[data-placement
|
|
93
|
-
animation-name: astryx-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
.astryx-tooltip[data-placement='below'] {
|
|
97
|
-
animation-name: astryx-tooltip-enter-below;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.astryx-tooltip[data-placement='start'] {
|
|
101
|
-
animation-name: astryx-tooltip-enter-start;
|
|
44
|
+
.astryx-tooltip[data-placement] {
|
|
45
|
+
animation-name: astryx-layer-enter;
|
|
46
|
+
transform-origin: var(--_astryx-layer-enter-origin, 50% 50%);
|
|
102
47
|
}
|
|
103
48
|
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
.astryx-tooltip[data-placement='start']:is([dir='rtl'] *) {
|
|
109
|
-
animation-name: astryx-tooltip-enter-end;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.astryx-tooltip[data-placement='end']:is([dir='rtl'] *) {
|
|
113
|
-
animation-name: astryx-tooltip-enter-start;
|
|
49
|
+
@media (prefers-reduced-motion: reduce) and (not (pointer: coarse)) {
|
|
50
|
+
.astryx-tooltip[data-placement] {
|
|
51
|
+
animation: none;
|
|
52
|
+
}
|
|
114
53
|
}
|
|
115
54
|
|
|
116
|
-
@media (prefers-reduced-motion: reduce) {
|
|
117
|
-
.astryx-tooltip {
|
|
118
|
-
animation:
|
|
55
|
+
@media (prefers-reduced-motion: reduce) and (pointer: coarse) {
|
|
56
|
+
.astryx-tooltip[data-placement] {
|
|
57
|
+
animation-name: astryx-layer-fade-in;
|
|
58
|
+
animation-duration: var(--_astryx-reduced-motion-fade-duration, 200ms);
|
|
59
|
+
animation-timing-function: var(--_astryx-reduced-motion-fade-easing, cubic-bezier(0.42, 0, 0.58, 1));
|
|
119
60
|
}
|
|
120
61
|
}
|
|
121
62
|
}
|
package/styles/typeahead.css
CHANGED
|
@@ -1,29 +1,5 @@
|
|
|
1
1
|
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
2
|
|
|
3
|
-
@keyframes astryx-typeahead-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-typeahead-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
|
/* 默认铺满容器。传入 width 时改走 --astryx-field-width。 */
|
|
29
5
|
.astryx-field.astryx-typeahead {
|
|
@@ -174,12 +150,9 @@
|
|
|
174
150
|
animation-timing-function: var(--astryx-ease-standard, cubic-bezier(0.24, 1, 0.4, 1));
|
|
175
151
|
}
|
|
176
152
|
|
|
177
|
-
.astryx-typeahead-listbox[data-placement
|
|
178
|
-
animation-name: astryx-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
.astryx-typeahead-listbox[data-placement='above'] {
|
|
182
|
-
animation-name: astryx-typeahead-enter-above;
|
|
153
|
+
.astryx-typeahead-listbox[data-placement] {
|
|
154
|
+
animation-name: astryx-layer-enter;
|
|
155
|
+
transform-origin: var(--_astryx-layer-enter-origin, 50% 50%);
|
|
183
156
|
}
|
|
184
157
|
|
|
185
158
|
.astryx-typeahead-options {
|
|
@@ -331,6 +304,20 @@
|
|
|
331
304
|
animation: none;
|
|
332
305
|
}
|
|
333
306
|
}
|
|
307
|
+
|
|
308
|
+
@media (prefers-reduced-motion: reduce) and (not (pointer: coarse)) {
|
|
309
|
+
.astryx-typeahead-listbox[data-placement] {
|
|
310
|
+
animation: none;
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
@media (prefers-reduced-motion: reduce) and (pointer: coarse) {
|
|
315
|
+
.astryx-typeahead-listbox[data-placement] {
|
|
316
|
+
animation-name: astryx-layer-fade-in;
|
|
317
|
+
animation-duration: var(--_astryx-reduced-motion-fade-duration, 200ms);
|
|
318
|
+
animation-timing-function: var(--_astryx-reduced-motion-fade-easing, cubic-bezier(0.42, 0, 0.58, 1));
|
|
319
|
+
}
|
|
320
|
+
}
|
|
334
321
|
}
|
|
335
322
|
|
|
336
323
|
/* 不分层:输入框自己不画环,焦点落在外框的 focus-within 上。 */
|