@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
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/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/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
|
@@ -66,6 +66,19 @@
|
|
|
66
66
|
padding-block-start: var(--astryx-spacing-1, 4px);
|
|
67
67
|
}
|
|
68
68
|
|
|
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
|
+
|
|
69
82
|
@media (prefers-reduced-motion: reduce) and (not (pointer: coarse)) {
|
|
70
83
|
.astryx-popover[data-placement] {
|
|
71
84
|
animation: none;
|
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
|
|