@astryx-vue/core 0.3.0 → 0.4.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-RAVA_cT1.js → AlertDialog-C2inDZWG.js} +5 -5
- package/dist/AppShell/index.d.ts +1 -1
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-0wTvOo3H.js → AppShell-awAKicsc.js} +3 -3
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-pPZ4dI_s.js → Avatar-DXBjJ88C.js} +47 -34
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/AvatarGroup/index.js +1 -1
- package/dist/{AvatarGroup-B--NQSB3.js → AvatarGroup-kpAeKLNq.js} +57 -13
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Banner/index.js +1 -1
- package/dist/{Banner-GbGxrqQO.js → Banner-BdvuyzAe.js} +71 -35
- package/dist/Blockquote/index.js +1 -1
- package/dist/Blockquote-DRoKdcxZ.js +27 -0
- package/dist/BottomSheet/index.d.ts +1 -1
- package/dist/BottomSheet/index.js +2 -2
- package/dist/{BottomSheet-pt7m4CvC.js → BottomSheet-B4sc3F1S.js} +286 -140
- package/dist/{BottomSheet-JYMB_Ofl.js → BottomSheet-m54uCMJN.js} +20 -4
- package/dist/Breadcrumbs/index.d.ts +2 -2
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/Breadcrumbs-D4ZzHEB0.js +223 -0
- package/dist/Button/index.d.ts +1 -1
- package/dist/Button/index.js +1 -1
- package/dist/{Button-B6Hj_O_s.js → Button-ONOoHdkg.js} +25 -15
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/ButtonGroup/index.js +1 -1
- package/dist/ButtonGroup-DnkSZ9a5.js +87 -0
- package/dist/{ButtonTooltip-nWWrth8j.js → ButtonTooltip-CNKOQHYR.js} +7 -4
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Calendar/index.js +1 -1
- package/dist/{Calendar-B7vIowKq.js → Calendar-CjK-JUDM.js} +5 -5
- package/dist/Card/index.d.ts +2 -2
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-CA8zpD9v.js → Carousel-D262qigj.js} +8 -8
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-Bmna9EOA.js → Chat-DD_mlIP3.js} +165 -101
- package/dist/CheckboxIndicator/index.js +1 -1
- package/dist/{CheckboxIndicator-D37cm2Rh.js → CheckboxIndicator-fH4d-JE1.js} +9 -3
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-BS9J6edf.js → CheckboxInput-D8vTmAMZ.js} +20 -12
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-CX1i_jVP.js → CheckboxList-DCvHewHB.js} +155 -38
- package/dist/Citation/index.js +1 -1
- package/dist/{Citation-Djgwa0ko.js → Citation-C69BgxW3.js} +8 -3
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/ClickableCard/index.js +1 -1
- package/dist/{ClickableCard-DUsC-j03.js → ClickableCard-ChAfiw9T.js} +9 -6
- package/dist/Code/index.d.ts +1 -1
- package/dist/Code/index.js +3 -3
- package/dist/{Code-XnPuGxey.js → Code-Bg7GBdxy.js} +2 -1
- package/dist/{CodeBlock-D0BFubut.js → CodeBlock-DsbwTBiT.js} +8 -8
- package/dist/Collapsible/index.d.ts +1 -1
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-Cov3Pyq5.js → Collapsible-Bdj0WYpb.js} +13 -11
- package/dist/CommandPalette/index.d.ts +1 -1
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-YHsUNg3V.js → CommandPalette-CZ7CZglZ.js} +147 -67
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-DWLdKPGI.js → ComplexSelector-CIz6DDmY.js} +114 -28
- package/dist/ContextMenu/index.d.ts +2 -2
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-Bq9b3Ti5.js → ContextMenu-CxoiRh_h.js} +297 -179
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-DT518j5E.js → DateInput-C67HCOU-.js} +563 -72
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-Bqi5tlIA.js → DateRangeInput-Dsf5Tyf-.js} +91 -26
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/DateTimeInput-tfM1y5nZ.js +562 -0
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Dialog/index.js +2 -2
- package/dist/{Dialog-BiOSKQso.js → Dialog-DT1GzCrB.js} +28 -11
- package/dist/{Dialog-FGHfDu5M.js → Dialog-fhyxB00e.js} +32 -5
- package/dist/Divider/index.d.ts +1 -1
- package/dist/Divider/index.js +1 -1
- package/dist/{Divider-BtwnL18I.js → Divider-mOZ6vIQw.js} +5 -1
- package/dist/DropdownMenu/index.d.ts +2 -2
- package/dist/DropdownMenu/index.js +3 -3
- package/dist/{DropdownMenu-CoOQVlRp.js → DropdownMenu-C6wBC18g.js} +84 -56
- package/dist/{DropdownMenu-DEb2dSSP.js → DropdownMenu-G-pWSiBk.js} +479 -264
- package/dist/{DropdownMenuRadioItem.vue-CXEURBcq.d.ts → DropdownMenuRadioItem.vue-Qd-8Rg4Q.d.ts} +236 -230
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-C_GH7IV5.js → EmptyState-CmOQf2SH.js} +2 -2
- package/dist/Field/index.d.ts +4 -3
- package/dist/Field/index.js +4 -3
- package/dist/{Field-D5gUEGw4.js → Field-JIxT3xCh.js} +5 -4
- package/dist/FieldIcon-BFSHZEs_.js +40 -0
- package/dist/{FieldInfoTip-Ds-sW_jY.js → FieldInfoTip-BbgLt4ug.js} +4 -4
- package/dist/{FieldLabel-BNeXRuGH.js → FieldLabel-CHqp1y3z.js} +13 -8
- package/dist/FieldStatus/index.d.ts +1 -1
- package/dist/FieldStatus/index.js +1 -1
- package/dist/{FieldStatus-MjY19ERl.js → FieldStatus-DaAB3TIt.js} +1 -1
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-BpdiO1V8.js → FileInput-Bi1uty-F.js} +108 -31
- package/dist/FormLayout/index.d.ts +1 -1
- package/dist/FormLayout/index.js +1 -1
- package/dist/{FormLayout-D47FjiOq.js → FormLayout-B9dUB6Ps.js} +1 -1
- package/dist/Heading/index.d.ts +1 -1
- package/dist/Heading/index.js +1 -1
- package/dist/{Heading-BnwWEWkp.js → Heading-BzBunfN7.js} +1 -1
- package/dist/HoverCard/index.js +1 -1
- package/dist/{HoverCard-ycY50pRN.js → HoverCard-BpJhT0sn.js} +35 -22
- package/dist/Icon/index.d.ts +4 -4
- package/dist/Icon/index.js +1 -1
- package/dist/{Icon-bteSId7T.js → Icon-KDnUyY7f.js} +12 -20
- package/dist/IconButton/index.js +1 -1
- package/dist/{IconButton-DDNgNl7B.js → IconButton-DI-XBbtV.js} +1 -1
- package/dist/Indicator/index.d.ts +2 -2
- package/dist/Indicator/index.js +2 -1
- package/dist/InputClearButton-CfSIqc-V.js +40 -0
- package/dist/InputGroup/index.d.ts +1 -1
- package/dist/InputGroup/index.js +2 -2
- package/dist/{InputGroup-CA03Smrs.js → InputGroup-D3F-QnET.js} +2 -2
- package/dist/InternationalizationProvider/index.d.ts +1 -1
- package/dist/InternationalizationProvider/index.js +1 -1
- package/dist/{InternationalizationProvider-DJay_w3B.js → InternationalizationProvider-CVV5QDgp.js} +5 -9
- package/dist/{Item-KhFKX9St.js → Item-DWMIjN8n.js} +34 -9
- package/dist/Kbd/index.js +1 -1
- package/dist/{Kbd-BB-Dw6zE.js → Kbd-CV3LO2Ge.js} +18 -2
- package/dist/LayerContentBoundary-CvsKxwwm.js +27 -0
- package/dist/LayerProvider/index.js +1 -1
- package/dist/{LayerProvider-D9NsQFzL.js → LayerProvider-B6zpMBWC.js} +15 -3
- package/dist/Layout/index.d.ts +1 -1
- package/dist/Layout/index.js +2 -2
- package/dist/{Layout-C6RHllr-.js → Layout-JJRCG7Mf.js} +1 -1
- package/dist/{LayoutPanel-DXOsaeQb.js → LayoutPanel-zM5vjrKS.js} +12 -8
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-DTF9EdTG.js → Lightbox-CjXhbDPc.js} +14 -12
- package/dist/Link/index.js +1 -1
- package/dist/{Link-BqHCtiyt.js → Link-ClNkTN1Q.js} +29 -12
- package/dist/List/index.d.ts +1 -1
- package/dist/List/index.js +2 -2
- package/dist/{ListItem-8RWT8XAG.js → ListItem-BQXMu1Tb.js} +1 -1
- package/dist/Markdown/index.d.ts +5 -2
- package/dist/Markdown/index.js +4 -2
- package/dist/Markdown/parser/index.d.ts +4 -0
- package/dist/Markdown/parser/index.js +2 -0
- package/dist/Markdown/plugin-protocol/index.d.ts +35 -0
- package/dist/Markdown/plugin-protocol/index.js +107 -0
- package/dist/Markdown/plugin-renderer/index.d.ts +31 -0
- package/dist/Markdown/plugin-renderer/index.js +42 -0
- package/dist/{Markdown-CvtN7HnF.js → Markdown-EIBrwQrb.js} +195 -524
- package/dist/MediaTheme-DlLqYhDy.js +433 -0
- package/dist/MetadataList/index.js +1 -1
- package/dist/{MetadataList-B-OelQlt.js → MetadataList-DLlSLX1n.js} +15 -7
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-DxGz0xKA.js → MobileNavToggle-DgJYyzT6.js} +52 -17
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-Dlb7MLlW.js → MoreMenu-C8BEt6-O.js} +74 -61
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/MultiSelector-C7NCAtwW.js +1456 -0
- package/dist/{NavDisclosure-C_fugrQ3.js → NavDisclosure-Bq9DTZLO.js} +29 -7
- package/dist/{NavHeadingSurface-B3yJspSN.js → NavHeadingSurface-DQXisuaX.js} +29 -26
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NavItem/index.js +2 -2
- package/dist/{NavItem-BBIGSvDj.js → NavItem-BPb3yfgz.js} +17 -4
- package/dist/NavMenu/index.d.ts +1 -1
- package/dist/NavMenu/index.js +3 -3
- package/dist/{NavMenu-ThXguZAz.js → NavMenu-BYIDzjix.js} +42 -15
- package/dist/{NavMenuItem-BvJNsDFC.js → NavMenuItem-D3FO90GR.js} +14 -12
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/NumberInput-3u3NZWnv.js +727 -0
- package/dist/Outline/index.d.ts +2 -2
- package/dist/Outline/index.js +2 -2
- package/dist/{Outline-755h-lMP.js → Outline-8szj9eXu.js} +91 -6
- package/dist/OverflowList/index.d.ts +2 -2
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-NmrSMbxb.js → OverflowList-BizpEwH8.js} +23 -6
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-DqwNQFRp.js → Pagination-Cihr1CjD.js} +2 -2
- package/dist/PickerWheel-CSwUYfes.js +69 -0
- package/dist/Popover/index.d.ts +1 -1
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-DJf8POzL.js → Popover-78dFjTb9.js} +20 -15
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-DvjiPqMZ.js → PowerSearch-BHx91ypY.js} +778 -590
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/ProgressBar/index.js +1 -1
- package/dist/{ProgressBar-CVLzdoBK.js → ProgressBar-VP4JS7vm.js} +10 -7
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-Bfu6JSNV.js → RadioGroup-DeSIRrgt.js} +94 -26
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioList-xY1cwLdZ.js → RadioList-Co2lmetC.js} +57 -8
- package/dist/Resizable/index.d.ts +1 -1
- package/dist/Resizable/index.js +1 -1
- package/dist/{ResizeHandle-q4nD_586.js → ResizeHandle-DjLZ2pcq.js} +103 -50
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/ScrollableArea/index.js +1 -1
- package/dist/{ScrollableArea-D4dCJv9I.js → ScrollableArea-0u6RWtGG.js} +1 -1
- package/dist/SegmentedControl/index.d.ts +1 -1
- package/dist/SegmentedControl/index.js +1 -1
- package/dist/{SegmentedControl-ChHmFrrC.js → SegmentedControl-D1wWGBZo.js} +11 -5
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/SelectableCard/index.js +1 -1
- package/dist/{SelectableCard-Cku4dRzc.js → SelectableCard-BEqnhPaX.js} +16 -11
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/Selector-swa3RNQI.js +1049 -0
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-BF8mYDxl.js → SideNav-BH6XKsW2.js} +56 -42
- package/dist/Slider/index.d.ts +1 -1
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-DWobsPgm.js → Slider-DG2YXll8.js} +172 -46
- package/dist/Spinner/index.js +1 -1
- package/dist/Spinner-BY8iQz--.js +200 -0
- package/dist/Stack/index.js +2 -2
- package/dist/{Stack-CTsTFfar.js → Stack-Bb_h60t3.js} +1 -1
- package/dist/{Stack-kQlYbbL4.js → Stack-Bp-XN9J4.js} +12 -7
- package/dist/StatusDot/index.d.ts +1 -1
- package/dist/StatusDot/index.js +1 -1
- package/dist/{StatusDot-BPUhMOff.js → StatusDot-BS_ohXhd.js} +8 -4
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/Stepper/index.js +1 -1
- package/dist/{Stepper-CE8dHysu.js → Stepper-FtkTq5qR.js} +127 -113
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-DaVPRxvN.js → Switch-0JKvJluV.js} +38 -22
- package/dist/TabList/index.d.ts +2 -2
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-DIkK9sgK.js → TabList-cpjvnbhx.js} +205 -63
- package/dist/Table/index.d.ts +3 -3
- package/dist/Table/index.js +1 -1
- package/dist/{Table-fecqnm7P.js → Table-fWs_ZQBF.js} +735 -461
- package/dist/Text/index.d.ts +1 -1
- package/dist/Text/index.js +1 -1
- package/dist/{Text-CV3LmscH.js → Text-CmTOgYXf.js} +1 -1
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-Ab5Sw60T.js → TextArea-CwSfEjT1.js} +110 -50
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-zFT1_qgI.js → TextInput-CavITage.js} +71 -38
- package/dist/Theme/index.d.ts +3 -3
- package/dist/Theme/index.js +3 -2
- package/dist/Theme-BbDT8B_C.js +2125 -0
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-C3NnJUFG.js → Thumbnail-DpJnaNbg.js} +17 -14
- package/dist/{TimeField-CoHDGmsP.js → TimeField-DefNjDIT.js} +297 -40
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-D2k3Ux3p.js → TimeInput-j5vzN8MG.js} +78 -9
- package/dist/Timer/index.js +1 -1
- package/dist/{Timer-avMQk5DN.js → Timer-CH7GsEVu.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-xpQKCk0d.js → Timestamp-dtT4yADD.js} +9 -9
- package/dist/Toast/index.d.ts +1 -1
- package/dist/Toast/index.js +1 -1
- package/dist/Toast-igtJYSw0.js +685 -0
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/ToggleButton/index.js +1 -1
- package/dist/{ToggleButton-B-C-Q7XP.js → ToggleButton-cLjh9W-x.js} +5 -4
- package/dist/Token/index.d.ts +1 -1
- package/dist/Token/index.js +1 -1
- package/dist/{Token-DsntTYhQ.js → Token-DhsAtAH6.js} +32 -17
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-B5C_qY7t.js → Tokenizer-BGdj78UK.js} +107 -23
- package/dist/Toolbar/index.d.ts +2 -2
- package/dist/Toolbar/index.js +1 -1
- package/dist/{Toolbar-BrgvvTCk.js → Toolbar-C0pMWL4S.js} +1 -1
- package/dist/Tooltip/index.d.ts +1 -1
- package/dist/Tooltip/index.js +1 -1
- package/dist/{Tooltip-C4Vaqd3G.js → Tooltip-sAM8i1eO.js} +23 -19
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-Ciq0l1w7.js → TopNav-Dw0m387B.js} +23 -22
- package/dist/TreeList/index.d.ts +1 -1
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-BUz-KZJd.js → TreeList-Bunn7u3T.js} +129 -46
- package/dist/Typeahead/index.d.ts +1 -1
- package/dist/Typeahead/index.js +2 -2
- package/dist/{Typeahead-JP9RT87x.js → Typeahead-DRyf2HEh.js} +123 -26
- package/dist/{TypeaheadMenu-DBW6rHeO.js → TypeaheadMenu-BY5__sPC.js} +141 -51
- package/dist/{announce-Cnio10Wk.js → announce-B210eJVf.js} +17 -2
- package/dist/characters-rcDbGt71.d.ts +29 -0
- package/dist/characters-wTnzjkkR.js +58 -0
- package/dist/{colorMode-CBgdgDSn.js → colorMode-BxqfDP4P.js} +1 -4
- package/dist/composables/index.d.ts +5 -4
- package/dist/composables/index.js +23 -18
- package/dist/{composables-CbKx9C1Y.js → composables-CnsDaMuU.js} +167 -197
- package/dist/context-B6UElI5X.js +5 -0
- package/dist/context-CM-cjGg_.js +1425 -0
- package/dist/{context-Cfjh8te1.js → context-Cfml4jaK.js} +5 -3
- package/dist/context-IvbU9c3T.js +8 -0
- package/dist/context-pjBxaMSh.js +28 -0
- package/dist/fieldParts--SyRZVQG.js +44 -0
- package/dist/fieldParts-LXpQMKE8.d.ts +27 -0
- package/dist/{focus-CpficIgf.js → focus-l8jVTcqd.js} +1 -1
- package/dist/hoverIntent-DMHGb85c.js +115 -0
- package/dist/{index-ClNU2Th8.d.ts → index-3t5RAfNP.d.ts} +6 -2
- package/dist/{index-B9e52paP.d.ts → index-5LVG3QyV.d.ts} +1 -1
- package/dist/{index-CsNi1I8j.d.ts → index-B08-Uxhv.d.ts} +4 -2
- package/dist/{index-TXcNH86P.d.ts → index-B1eCxBCY.d.ts} +1 -1
- package/dist/{index-Cn-sSds-.d.ts → index-B1t1oQWH.d.ts} +24 -1
- package/dist/{index-BkjSF265.d.ts → index-BEZ4ezJk.d.ts} +3 -3
- package/dist/{index-yT1yiiww.d.ts → index-BI6jikpA.d.ts} +23 -11
- package/dist/{index-DeQwYJbg.d.ts → index-BNaRK-s5.d.ts} +10 -1
- package/dist/{index-D97pQbua.d.ts → index-BV2D2x_u.d.ts} +1 -1
- package/dist/{index-Crp3NFLW.d.ts → index-BZKgbyN9.d.ts} +1 -1
- package/dist/{index-Bu8NA2SD.d.ts → index-BaxM-pFP.d.ts} +12 -3
- package/dist/{index-BVKivP59.d.ts → index-Bgk1Rj2A.d.ts} +32 -3
- package/dist/index-BkUkm6Al.d.ts +11 -0
- package/dist/index-Bo-ofFyg.d.ts +166 -0
- package/dist/{index-B1WJxt-n.d.ts → index-C-tFz2Yx.d.ts} +17 -7
- package/dist/{index-DWh2WC8W.d.ts → index-C4Cjz6OK.d.ts} +2 -2
- package/dist/{index-CqE4Bf3Q.d.ts → index-C732aNMY.d.ts} +18 -4
- package/dist/{index-B7yhzGUT.d.ts → index-C7sam-SB.d.ts} +2 -2
- package/dist/{index-BrJzFA5X.d.ts → index-C90l2rH1.d.ts} +1 -1
- package/dist/{index-vP0EtrJJ.d.ts → index-C9gAlDt_.d.ts} +6 -3
- package/dist/index-CKUfpmFL.d.ts +375 -0
- package/dist/{index-CL1T2j4y.d.ts → index-CL8JvxHW.d.ts} +3 -3
- package/dist/{index-IBAInumL.d.ts → index-CMme-xmL.d.ts} +19 -6
- package/dist/{index-gW0HW02U.d.ts → index-COxy6LEW.d.ts} +1 -1
- package/dist/{index-12QYAbiz.d.ts → index-CRrSHbok.d.ts} +3 -2
- package/dist/{index-B42oE_F-.d.ts → index-CT5OEUxd.d.ts} +17 -4
- package/dist/{index-DG52Bg0W.d.ts → index-CTf3SK0b.d.ts} +6 -0
- package/dist/{index-Cde5JvtX.d.ts → index-CUVmtB5-.d.ts} +13 -6
- package/dist/{index-DXpSFlPG.d.ts → index-CWaSYtk9.d.ts} +4 -4
- package/dist/{index-CVn0GBdB.d.ts → index-Ca8VIE4l.d.ts} +1 -1
- package/dist/{index-Cyb9Du5Z.d.ts → index-CfR2Z0uG.d.ts} +1 -1
- package/dist/{index-Byar3h1e.d.ts → index-D05JGsT3.d.ts} +6 -3
- package/dist/{index-hCpxKePE.d.ts → index-D5N9ikrS.d.ts} +1 -1
- package/dist/{index-CkKPMIeX.d.ts → index-D7XRtUTY.d.ts} +9 -0
- package/dist/{index-i0tNFWfz.d.ts → index-D8lv2BiD.d.ts} +3 -1
- package/dist/{index-TntQsADQ.d.ts → index-DEm3kRBO.d.ts} +4 -3
- package/dist/{index-0QGtSf3r.d.ts → index-DFLPv9io.d.ts} +4 -3
- package/dist/{index-C2nbK2AA.d.ts → index-DLAG3m9W.d.ts} +13 -3
- package/dist/{index-D41_xqjs.d.ts → index-DTuhnqHb.d.ts} +16 -9
- package/dist/{index-B3Fomy15.d.ts → index-DbiZvj1P.d.ts} +4 -4
- package/dist/{index-C5e-7Obr.d.ts → index-Dj1_1t3j.d.ts} +19 -6
- package/dist/{index-DIXAzTKL.d.ts → index-DxxudRgB.d.ts} +1 -1
- package/dist/{index-BhpAUzUr.d.ts → index-Dy746dfn.d.ts} +1 -1
- package/dist/{index-GI9xIV9l.d.ts → index-JL4auphT.d.ts} +2 -2
- package/dist/{index-DVmgNb78.d.ts → index-TA1zVibb.d.ts} +4 -4
- package/dist/{index-DUaLJO7l.d.ts → index-UA93Im7H.d.ts} +155 -109
- package/dist/{index-COgrQZIL.d.ts → index-YKCx03zD.d.ts} +2 -2
- package/dist/{index-XuAAcYiP.d.ts → index-f3d9cVtj.d.ts} +1 -1
- package/dist/{index-T2FOcOuI.d.ts → index-jOwU3YoR.d.ts} +400 -90
- package/dist/{index-CICeEoZV.d.ts → index-pNtfr-RW.d.ts} +1 -1
- package/dist/{index-B4OOtNP8.d.ts → index-pYh4gqgl.d.ts} +1 -1
- package/dist/index.d.ts +81 -75
- package/dist/index.js +150 -136
- package/dist/inlineSize-BNe8wggI.js +66 -0
- package/dist/inputPresentation-BOyHkCDr.js +62 -0
- package/dist/interactionModality-ACpTMhak.js +44 -0
- package/dist/isApplePlatform-B1ju6F5B.js +27 -0
- package/dist/isRenderable-BnKHIqfd.js +21 -0
- package/dist/layerDepth-CNDh-IHb.js +181 -0
- package/dist/link-DuuA2eCL.js +30 -0
- package/dist/loadCatalog-CsZFr9dg.js +424 -0
- package/dist/loadCatalog-opk5hs94.d.ts +803 -0
- package/dist/locale/index.d.ts +2 -2
- package/dist/locale/index.js +4 -3
- package/dist/locale-D1Z3K290.js +343 -0
- package/dist/modalOutlet-CUOcrhIu.js +56 -0
- package/dist/optionAction-Cg7xQLUA.d.ts +6 -0
- package/dist/{power-search-DrDfcoL1.d.ts → power-search-gHLIYXs5.d.ts} +2 -0
- package/dist/protocol-DHxY0NI8.js +113 -0
- package/dist/protocol-DwUmpC5G.d.ts +240 -0
- package/dist/publicParser-B6XMcsB2.d.ts +141 -0
- package/dist/publicParser-DWUMCx7j.js +1437 -0
- package/dist/resizableChannel-3vivrEcT.js +20 -0
- package/dist/safeUrl-CsvfcZ9m.js +54 -0
- package/dist/scopedProvide-C-Df7c15.js +30 -0
- package/dist/scrollKeyboardDelegation-D7cumnOl.js +238 -0
- package/dist/scrollLock-C3aT4-0z.js +102 -0
- package/dist/{searchResultMessage-hXXNOFJP.js → searchResultMessage-DtyScdZs.js} +5 -14
- package/dist/{semantic-CKH9XVqa.d.ts → semantic-BF_AjLvk.d.ts} +6 -3
- package/dist/slug-DAK6hdbr.js +17 -0
- package/dist/syntaxContext-DmIfNNtb.js +4 -0
- package/dist/triggerVariant-BsL8jMHs.js +16 -0
- package/dist/{types-0Q_SJv_F.d.ts → types-Bb7OGivY.d.ts} +6 -1
- package/dist/{types-CwyibrRB.d.ts → types-C5GQ2KCK.d.ts} +23 -3
- package/dist/{types-gKsEkk2g.d.ts → types-CsqwQkf1.d.ts} +143 -10
- package/dist/upstreamMap-ocuIRfI2.js +893 -0
- package/dist/{useAnchoredListbox-DwztMNjP.js → useAnchoredListbox-DGxxKHZb.js} +2 -2
- package/dist/{useAsyncSource-xpQovjV_.d.ts → useAsyncSource-aGzrvRkI.d.ts} +3 -0
- package/dist/{useClickableContainer-DyNpnSEa.js → useClickableContainer-CdGp_Cev.js} +1 -1
- package/dist/{useClipboard-BDfbEsWd.js → useClipboard-Dk8cS810.js} +1 -1
- package/dist/useHoverLayerDismiss-kYJ_NqL4.js +27 -0
- package/dist/{useIndicator-i1NORM7W.js → useIndicator-D9Y0dJsm.js} +5 -23
- package/dist/{useInputContainer-CpgDe2-4.js → useInputContainer-CLcYrby4.js} +1 -1
- package/dist/{useInputStatusIcon-DBOwxV4x.js → useInputStatusIcon-CWkCeMyX.js} +2 -2
- package/dist/useLayerMountTarget-BmZyeKWE.js +156 -0
- package/dist/{useListFocus-D0iOJl39.js → useListFocus-ChxLg0b4.js} +3 -2
- package/dist/{useMenuDrillIn-DzKGkTho.js → useMenuDrillIn-DhUnPvKs.js} +6 -5
- package/dist/useMenuHover-Djreu23i.js +170 -0
- package/dist/useMenuPress-8foxY8z4.js +764 -0
- package/dist/{useMergedRefs-CfHHlCsn.js → useMergedRefs-Cb6_w93m.js} +24 -4
- package/dist/{useNumberField-4-dIGVed.js → useNumberField-Dk1BE3-K.js} +3 -3
- package/dist/useOptionActionGrid-CkJcuvaU.js +97 -0
- package/dist/{usePositionedLayer-Cru9_00b.js → usePositionedLayer-B7cvG-_v.js} +43 -49
- package/dist/usePressFeedback-BJCpjEpv.js +319 -0
- package/dist/{useResizable-DDwPpPe6.d.ts → useResizable-1MHPNaRD.d.ts} +19 -1
- package/dist/{useResizable-B3ahKLoZ.js → useResizable-I3BCiLSL.js} +72 -40
- package/dist/useResolvedLabelHidden-B2rlWiaI.js +30 -0
- package/dist/{useRestoreFocus-Djw9RUIf.js → useRestoreFocus-XEKs5-gp.js} +49 -7
- package/dist/useScrollOverflow-DuMoGXmm.js +67 -0
- package/dist/useScrollableArea-BE8b3qm7.js +222 -0
- package/dist/{useTimeValue-6ufHM15W.js → useTimeValue-BJd0xBhG.js} +4 -22
- package/dist/useTranslator-PEXMxDpv.js +35 -0
- package/dist/{useTypeahead-PAK8lMYz.js → useTypeahead-BvtflkRk.js} +4 -5
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/index.js +5 -0
- package/dist/{utils-D33VQDnk.js → utils-ClVseK2w.js} +29 -2
- package/dist/utils-z3Q6BGIJ.js +819 -0
- package/locales/SOURCE.json +1 -1
- package/package.json +18 -2
- package/reset.css +364 -1
- package/styles/avatar-group.css +9 -1
- package/styles/badge.css +8 -5
- package/styles/banner.css +125 -26
- package/styles/blockquote.css +1 -0
- package/styles/bordered-control.css +1 -1
- package/styles/bottom-sheet.css +74 -6
- package/styles/breadcrumbs.css +16 -2
- package/styles/button-group.css +3 -1
- package/styles/button.css +53 -11
- package/styles/card.css +1 -1
- package/styles/chat.css +16 -6
- package/styles/checkbox-input.css +10 -0
- package/styles/clickable-card.css +10 -3
- package/styles/collapsible.css +12 -5
- package/styles/command-palette.css +29 -14
- package/styles/complex-selector.css +24 -5
- package/styles/context-menu.css +3 -3
- package/styles/date-input.css +111 -1
- package/styles/dialog-header.css +4 -1
- package/styles/dialog.css +7 -0
- package/styles/dropdown-menu.css +12 -3
- package/styles/field.css +5 -0
- package/styles/form-layout.css +1 -0
- package/styles/heading.css +18 -8
- package/styles/icon.css +9 -9
- package/styles/kbd.css +1 -1
- package/styles/layer.css +72 -0
- package/styles/list.css +9 -2
- package/styles/metadata-list.css +1 -0
- package/styles/mobile-nav.css +4 -1
- package/styles/multi-selector.css +48 -1
- package/styles/nav-item.css +9 -2
- package/styles/nav-menu.css +12 -2
- package/styles/number-input.css +9 -1
- package/styles/overflow-list.css +1 -1
- package/styles/popover.css +2 -1
- package/styles/power-search.css +5 -3
- package/styles/pressable.css +63 -22
- package/styles/progress-bar.css +15 -3
- package/styles/radio.css +16 -0
- package/styles/resize-handle.css +42 -0
- package/styles/segmented-control.css +12 -4
- package/styles/selector.css +53 -1
- package/styles/side-nav.css +19 -0
- package/styles/slider.css +4 -3
- package/styles/spinner.css +48 -42
- package/styles/stepper.css +58 -4
- package/styles/switch.css +26 -0
- package/styles/tab-list.css +132 -3
- package/styles/table.css +88 -11
- package/styles/text-area.css +7 -1
- package/styles/text-input.css +1 -1
- package/styles/text.css +6 -6
- package/styles/thumbnail.css +11 -3
- package/styles/time-input.css +8 -0
- package/styles/toast.css +37 -3
- package/styles/token.css +2 -2
- package/styles/tokenizer.css +1 -1
- package/styles/toolbar.css +4 -1
- package/styles/tree-list.css +1 -1
- package/styles/typeahead.css +34 -1
- package/styles.css +1 -0
- package/dist/Blockquote-DFqBv_oJ.js +0 -18
- package/dist/Breadcrumbs-DIm4figq.js +0 -141
- package/dist/ButtonGroup-ySQWanDP.js +0 -125
- package/dist/DateTimeInput-A7m2O3bg.js +0 -268
- package/dist/FieldIcon--NTgW5IU.js +0 -44
- package/dist/MultiSelector-BtAUfQ3t.js +0 -990
- package/dist/NumberInput-AZ9x3oja.js +0 -473
- package/dist/Selector-DJ2BhUTV.js +0 -677
- package/dist/Spinner-9cYUCnDy.js +0 -84
- package/dist/Theme-CtaUWo4g.js +0 -1246
- package/dist/Toast-BuqIZV5z.js +0 -322
- package/dist/context-4PuqD1Ic.js +0 -4
- package/dist/context-D5-MwxnN.js +0 -4
- package/dist/context-iABt_ueM.js +0 -976
- package/dist/index-BH9PzQ1F.d.ts +0 -87
- package/dist/link-C4_WogdF.js +0 -18
- package/dist/loadCatalog-BGHKG_9N.d.ts +0 -457
- package/dist/loadCatalog-CXKqEB9s.js +0 -877
- package/dist/locale-DgkZEMTn.js +0 -105
- package/dist/platform-B_9W_aHW.js +0 -33
- package/dist/scrollLock-BzIvIimL.js +0 -42
- package/dist/useMenuPress-D-FRNrBW.js +0 -573
- package/dist/useScrollableArea-DDk_CluT.js +0 -172
- /package/dist/{index-lgvUFSCO.d.ts → index-CryFtTT6.d.ts} +0 -0
package/styles/pressable.css
CHANGED
|
@@ -1,44 +1,85 @@
|
|
|
1
1
|
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
|
-
*
|
|
5
|
-
* 手指按实了再临时加 `data-astryx-pressed`。
|
|
4
|
+
* 触屏按压模型的样式。
|
|
6
5
|
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
6
|
+
* 鼠标和手指走两套:
|
|
7
|
+
* - 鼠标保留 `:active`;
|
|
8
|
+
* - 粗指针(`@media (pointer: coarse)`)下丢掉 `:active`,改看控制器写的
|
|
9
|
+
* `data-astryx-press`:`on` 是按压成立、手指还在,`fading` 是抬手后的淡出。
|
|
10
|
+
*
|
|
11
|
+
* 两条触屏分支都通过同一个数画颜色:`--astryx-press-alpha`,按压强度,0 到 1。
|
|
12
|
+
* 它是注册过的自定义属性(`@property`,`<number>`),所以能做动画;
|
|
13
|
+
* 按压色 `--_press-paint` 是「按压 token 乘以这个强度」,作为背景图片画出来。
|
|
14
|
+
* 图片的切换不会被组件自己的颜色过渡拖慢,所以按下的第一帧就是满强度。
|
|
15
|
+
* `fading` 用关键帧把强度从 1 降到 0,时长和控制器里的 PRESS_FADE_MS 是同一个数(200ms)。
|
|
16
|
+
*
|
|
17
|
+
* 组件怎么接:在画按压的元素上带 `data-astryx-pressable`,
|
|
18
|
+
* 在自己的样式里用 `var(--_press-paint-image)` 或 `var(--_press-paint)` 画两条触屏分支,
|
|
19
|
+
* 鼠标的 `:active` 放进 `@media not all and (pointer: coarse)`。
|
|
20
|
+
* 本地组件不想自己写样式时,用 `usePressFeedback()` 返回的 `astryx-pressable` 类,
|
|
21
|
+
* 它在 `::after` 上画一层按压色。
|
|
9
22
|
*/
|
|
23
|
+
|
|
24
|
+
@property --astryx-press-alpha {
|
|
25
|
+
syntax: '<number>';
|
|
26
|
+
inherits: true;
|
|
27
|
+
initial-value: 0;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@keyframes astryx-press-release {
|
|
31
|
+
from {
|
|
32
|
+
--astryx-press-alpha: 1;
|
|
33
|
+
}
|
|
34
|
+
to {
|
|
35
|
+
--astryx-press-alpha: 0;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
10
39
|
@layer astryx.components {
|
|
11
40
|
[data-astryx-pressable] {
|
|
41
|
+
--_press-paint: color-mix(
|
|
42
|
+
in srgb,
|
|
43
|
+
var(--astryx-color-overlay-pressed, light-dark(#05365919, #ffffff19)) calc(var(--astryx-press-alpha) * 100%),
|
|
44
|
+
transparent
|
|
45
|
+
);
|
|
46
|
+
--_press-paint-image: linear-gradient(var(--_press-paint), var(--_press-paint));
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
[data-astryx-pressable][data-astryx-press='on'],
|
|
50
|
+
[data-astryx-pressable][data-astryx-press='fading'] {
|
|
51
|
+
--astryx-press-alpha: 1;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/* 淡出的曲线是平缓的 ease-out,整段时长都在褪色,读起来像系统列表取消选中。 */
|
|
55
|
+
[data-astryx-pressable][data-astryx-press='fading'] {
|
|
56
|
+
animation-name: astryx-press-release;
|
|
57
|
+
animation-duration: 200ms;
|
|
58
|
+
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
59
|
+
animation-fill-mode: both;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/* 默认的一层按压色,给不想自己写样式的本地组件用。 */
|
|
63
|
+
.astryx-pressable {
|
|
12
64
|
position: relative;
|
|
13
|
-
--astryx-pressable-fade: 200ms;
|
|
14
65
|
}
|
|
15
66
|
|
|
16
|
-
|
|
67
|
+
.astryx-pressable::after {
|
|
17
68
|
content: '';
|
|
18
69
|
position: absolute;
|
|
19
70
|
inset: 0;
|
|
20
71
|
border-radius: inherit;
|
|
21
|
-
background: var(--astryx-color-overlay-pressed, light-dark(#05365919, #ffffff19));
|
|
22
|
-
opacity: 0;
|
|
23
72
|
pointer-events: none;
|
|
24
|
-
transition: opacity var(--astryx-pressable-fade, 200ms) linear;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
[data-astryx-pressed]::after {
|
|
28
|
-
opacity: 1;
|
|
29
|
-
transition: none;
|
|
30
73
|
}
|
|
31
74
|
|
|
32
|
-
@media (pointer:
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
transition: none;
|
|
75
|
+
@media not all and (pointer: coarse) {
|
|
76
|
+
.astryx-pressable:where(:not(:disabled, [aria-disabled='true'])):active::after {
|
|
77
|
+
background-color: var(--astryx-color-overlay-pressed, light-dark(#05365919, #ffffff19));
|
|
36
78
|
}
|
|
37
79
|
}
|
|
38
80
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
81
|
+
.astryx-pressable:where(:not(:disabled, [aria-disabled='true']))[data-astryx-press]::after {
|
|
82
|
+
background-color: transparent;
|
|
83
|
+
background-image: var(--_press-paint-image);
|
|
43
84
|
}
|
|
44
85
|
}
|
package/styles/progress-bar.css
CHANGED
|
@@ -153,7 +153,11 @@
|
|
|
153
153
|
|
|
154
154
|
.astryx-progress-bar[data-indeterminate='true'] .astryx-progress-bar-fill {
|
|
155
155
|
width: 40%;
|
|
156
|
-
animation: astryx-progress-bar-indeterminate 1.
|
|
156
|
+
animation: astryx-progress-bar-indeterminate 1.5s ease-in-out infinite;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
:is([dir='rtl'] .astryx-progress-bar[data-indeterminate='true']) .astryx-progress-bar-fill {
|
|
160
|
+
animation-name: astryx-progress-bar-indeterminate-rtl;
|
|
157
161
|
}
|
|
158
162
|
|
|
159
163
|
@keyframes astryx-progress-bar-indeterminate {
|
|
@@ -165,14 +169,22 @@
|
|
|
165
169
|
}
|
|
166
170
|
}
|
|
167
171
|
|
|
172
|
+
@keyframes astryx-progress-bar-indeterminate-rtl {
|
|
173
|
+
0% {
|
|
174
|
+
transform: translateX(100%);
|
|
175
|
+
}
|
|
176
|
+
100% {
|
|
177
|
+
transform: translateX(-250%);
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
|
|
168
181
|
@media (prefers-reduced-motion: reduce) {
|
|
169
182
|
.astryx-progress-bar-fill {
|
|
170
183
|
transition: none;
|
|
171
184
|
}
|
|
172
185
|
|
|
173
186
|
.astryx-progress-bar[data-indeterminate='true'] .astryx-progress-bar-fill {
|
|
174
|
-
animation:
|
|
175
|
-
width: 100%;
|
|
187
|
+
animation-duration: 3s;
|
|
176
188
|
}
|
|
177
189
|
}
|
|
178
190
|
}
|
package/styles/radio.css
CHANGED
|
@@ -50,6 +50,22 @@
|
|
|
50
50
|
height: 8px;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
+
@media not all and (pointer: coarse) {
|
|
54
|
+
.astryx-radio:not([data-disabled='true']):active .astryx-radio-indicator {
|
|
55
|
+
background-image: linear-gradient(var(--astryx-color-overlay-pressed, light-dark(#05365919, #ffffff19)), var(--astryx-color-overlay-pressed, light-dark(#05365919, #ffffff19)));
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.astryx-radio[data-astryx-press] .astryx-radio-indicator {
|
|
60
|
+
background-image: var(--_press-paint-image);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
@media (pointer: coarse) {
|
|
64
|
+
.astryx-radio {
|
|
65
|
+
min-height: 24px;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
53
69
|
.astryx-radio-native:focus-visible + .astryx-radio-indicator {
|
|
54
70
|
outline: 2px solid var(--astryx-focus-outline-color, var(--astryx-input-focus, #262626));
|
|
55
71
|
outline-offset: 2px;
|
package/styles/resize-handle.css
CHANGED
|
@@ -89,6 +89,48 @@
|
|
|
89
89
|
cursor: row-resize;
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
+
/*
|
|
93
|
+
* 抓取区跟握把走同一套物理偏移。6.5px 是 (16px - 3px) / 2,用来把更宽的抓取区中心对齐握把。
|
|
94
|
+
* 这段位移在行内轴上,从右到左时要改号,否则抓取区会偏到握把旁边。
|
|
95
|
+
*/
|
|
96
|
+
.astryx-resize-handle[data-direction='horizontal'] > .astryx-resize-handle__hit[data-bias='center'] {
|
|
97
|
+
inset-inline-start: 50%;
|
|
98
|
+
transform: translateX(-50%);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.astryx-resize-handle[data-direction='vertical'] > .astryx-resize-handle__hit[data-bias='center'] {
|
|
102
|
+
inset-block-start: 50%;
|
|
103
|
+
transform: translateY(-50%);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.astryx-resize-handle[data-direction='horizontal'] > .astryx-resize-handle__hit[data-bias='start'] {
|
|
107
|
+
inset-inline-start: 0;
|
|
108
|
+
transform: translateX(calc(-1 * (3px + var(--astryx-spacing-1, 4px)) - 6.5px));
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.astryx-resize-handle[data-direction='horizontal'] > .astryx-resize-handle__hit[data-bias='end'] {
|
|
112
|
+
inset-inline-start: 0;
|
|
113
|
+
transform: translateX(calc(1 * (3px + var(--astryx-spacing-1, 4px)) - 6.5px));
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
:is([dir='rtl'] .astryx-resize-handle[data-direction='horizontal'] > .astryx-resize-handle__hit[data-bias='start']) {
|
|
117
|
+
transform: translateX(calc(-1 * (3px + var(--astryx-spacing-1, 4px)) + 6.5px));
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
:is([dir='rtl'] .astryx-resize-handle[data-direction='horizontal'] > .astryx-resize-handle__hit[data-bias='end']) {
|
|
121
|
+
transform: translateX(calc(1 * (3px + var(--astryx-spacing-1, 4px)) + 6.5px));
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.astryx-resize-handle[data-direction='vertical'] > .astryx-resize-handle__hit[data-bias='start'] {
|
|
125
|
+
inset-block-start: 0;
|
|
126
|
+
transform: translateY(calc(-1 * (3px + var(--astryx-spacing-1, 4px)) - 6.5px));
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.astryx-resize-handle[data-direction='vertical'] > .astryx-resize-handle__hit[data-bias='end'] {
|
|
130
|
+
inset-block-start: 0;
|
|
131
|
+
transform: translateY(calc(1 * (3px + var(--astryx-spacing-1, 4px)) - 6.5px));
|
|
132
|
+
}
|
|
133
|
+
|
|
92
134
|
.astryx-resize-handle-pill {
|
|
93
135
|
position: absolute;
|
|
94
136
|
z-index: 2;
|
|
@@ -113,12 +113,20 @@
|
|
|
113
113
|
forced-color-adjust: none;
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
-
|
|
117
|
-
|
|
116
|
+
@media (hover: hover) {
|
|
117
|
+
.astryx-segmented-control-item:not([aria-disabled='true']):not([data-selected='true']):hover {
|
|
118
|
+
background-color: var(--astryx-segmented-control-item-hover-background, light-dark(#0000000d, #ffffff0d));
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
@media not all and (pointer: coarse) {
|
|
123
|
+
.astryx-segmented-control-item:not([aria-disabled='true']):not([data-selected='true']):active {
|
|
124
|
+
background-color: var(--astryx-segmented-control-item-pressed-background, light-dark(#0000001a, #ffffff1a));
|
|
125
|
+
}
|
|
118
126
|
}
|
|
119
127
|
|
|
120
|
-
.astryx-segmented-control-item:not([aria-disabled='true']):not([data-selected='true'])
|
|
121
|
-
background-
|
|
128
|
+
.astryx-segmented-control-item[data-astryx-press]:not([aria-disabled='true']):not([data-selected='true']) {
|
|
129
|
+
background-image: var(--_press-paint-image);
|
|
122
130
|
}
|
|
123
131
|
|
|
124
132
|
.astryx-segmented-control-item[aria-disabled='true'] {
|
package/styles/selector.css
CHANGED
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
width: 100%;
|
|
42
42
|
min-width: 0;
|
|
43
43
|
height: var(--astryx-input-height-md, 32px);
|
|
44
|
-
padding: var(--astryx-spacing-1, 4px) var(--astryx-spacing-2, 8px);
|
|
44
|
+
padding: var(--astryx-input-padding-block, var(--astryx-spacing-1, 4px)) var(--astryx-input-padding-inline, var(--astryx-spacing-2, 8px));
|
|
45
45
|
border: var(--astryx-border-width, 1px) solid var(--astryx-input-status-color, var(--astryx-input-border, #d4d4d4));
|
|
46
46
|
border-radius: var(--astryx-radius-element, 0.625rem);
|
|
47
47
|
background: var(--astryx-input-background, #fff);
|
|
@@ -121,6 +121,58 @@
|
|
|
121
121
|
box-shadow: none;
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
+
.astryx-selector-field[data-variant='secondary'] {
|
|
125
|
+
border-width: var(--astryx-button-secondary-border-width, 0);
|
|
126
|
+
border-style: var(--astryx-button-secondary-border-style, solid);
|
|
127
|
+
border-color: var(--astryx-button-secondary-border-color, transparent);
|
|
128
|
+
background-color: var(--astryx-button-secondary-background, #0000000f);
|
|
129
|
+
box-shadow: none;
|
|
130
|
+
color: var(--astryx-button-secondary-foreground, #171717);
|
|
131
|
+
font-weight: var(--astryx-font-weight-medium, 500);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
@media (hover: hover) {
|
|
135
|
+
.astryx-selector-field[data-variant='secondary']:hover:not(.is-disabled):not(:focus-within) {
|
|
136
|
+
background-image: linear-gradient(var(--astryx-button-secondary-hover-overlay, var(--astryx-button-hover-overlay, #0000000d)), var(--astryx-button-secondary-hover-overlay, var(--astryx-button-hover-overlay, #0000000d)));
|
|
137
|
+
box-shadow: none;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.astryx-selector-field[data-variant='secondary']:focus-within,
|
|
142
|
+
.astryx-selector-field[data-variant='secondary'].is-open {
|
|
143
|
+
border-color: var(--astryx-button-secondary-border-color, transparent);
|
|
144
|
+
box-shadow: none;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.astryx-selector-listbox[role='grid'] .astryx-selector-option {
|
|
148
|
+
display: grid;
|
|
149
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
150
|
+
align-items: stretch;
|
|
151
|
+
padding: 0;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.astryx-selector-option-main,
|
|
155
|
+
.astryx-selector-option-action {
|
|
156
|
+
display: flex;
|
|
157
|
+
align-items: center;
|
|
158
|
+
min-width: 0;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.astryx-selector-option-main {
|
|
162
|
+
gap: var(--astryx-spacing-2, 8px);
|
|
163
|
+
padding: var(--astryx-spacing-2, 8px);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.astryx-selector-option-action {
|
|
167
|
+
justify-content: flex-end;
|
|
168
|
+
padding-inline-end: var(--astryx-spacing-2, 8px);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.astryx-selector-option-action.is-active {
|
|
172
|
+
outline: var(--astryx-focus-outline-width, 2px) solid var(--astryx-focus-outline-color, currentcolor);
|
|
173
|
+
outline-offset: -2px;
|
|
174
|
+
}
|
|
175
|
+
|
|
124
176
|
.astryx-selector:has(.astryx-selector-value.is-rich) .astryx-selector-field {
|
|
125
177
|
height: auto;
|
|
126
178
|
min-height: var(--astryx-input-height-md, 32px);
|
package/styles/side-nav.css
CHANGED
|
@@ -322,6 +322,25 @@
|
|
|
322
322
|
|
|
323
323
|
.astryx-side-nav-item { width: 100%; }
|
|
324
324
|
|
|
325
|
+
.astryx-side-nav-item__main {
|
|
326
|
+
display: flex;
|
|
327
|
+
align-items: center;
|
|
328
|
+
gap: var(--astryx-spacing-1, 4px);
|
|
329
|
+
min-width: 0;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
.astryx-side-nav-item__main > .astryx-nav-item,
|
|
333
|
+
.astryx-side-nav-item__main > .astryx-side-nav-item {
|
|
334
|
+
flex: 1 1 auto;
|
|
335
|
+
min-width: 0;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
.astryx-side-nav-item__actions {
|
|
339
|
+
display: inline-flex;
|
|
340
|
+
flex: none;
|
|
341
|
+
align-items: center;
|
|
342
|
+
}
|
|
343
|
+
|
|
325
344
|
.astryx-side-nav-item__split {
|
|
326
345
|
min-width: 0;
|
|
327
346
|
}
|
package/styles/slider.css
CHANGED
|
@@ -41,14 +41,15 @@
|
|
|
41
41
|
transition: background-color 130ms ease-out;
|
|
42
42
|
}
|
|
43
43
|
.astryx-slider-thumb:dir(rtl) { transform: translate(50%, -50%); }
|
|
44
|
-
.astryx-slider-thumb:focus-visible:not([data-dragging='true']) {
|
|
44
|
+
.astryx-slider-thumb[data-keyboard-focus='true']:focus-visible:not([data-dragging='true']) {
|
|
45
45
|
outline: 2px solid var(--astryx-slider-focus, #262626);
|
|
46
46
|
outline-offset: 3px;
|
|
47
47
|
z-index: 2;
|
|
48
48
|
}
|
|
49
49
|
.astryx-slider-thumb[data-dragging='true'] {
|
|
50
50
|
cursor: grabbing;
|
|
51
|
-
background: color-mix(in srgb, var(--astryx-slider-accent, #262626), var(--astryx-slider-track, #e5e5e5) 20%);
|
|
51
|
+
background-color: color-mix(in srgb, var(--astryx-slider-accent, #262626), var(--astryx-slider-track, #e5e5e5) 20%);
|
|
52
|
+
background-image: var(--_press-paint-image);
|
|
52
53
|
z-index: 2;
|
|
53
54
|
}
|
|
54
55
|
@media (hover: hover) {
|
|
@@ -106,6 +107,6 @@
|
|
|
106
107
|
.astryx-slider-fill,
|
|
107
108
|
.astryx-slider-thumb,
|
|
108
109
|
.astryx-slider-mark[data-filled='true'] { background: Highlight; forced-color-adjust: none; }
|
|
109
|
-
.astryx-slider-thumb:focus-visible { outline-color: Highlight; }
|
|
110
|
+
.astryx-slider-thumb[data-keyboard-focus='true']:focus-visible { outline-color: Highlight; }
|
|
110
111
|
}
|
|
111
112
|
}
|
package/styles/spinner.css
CHANGED
|
@@ -1,125 +1,131 @@
|
|
|
1
1
|
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
2
|
|
|
3
|
-
@keyframes astryx-spinner-
|
|
3
|
+
@keyframes astryx-spinner-dash {
|
|
4
4
|
from {
|
|
5
|
-
|
|
5
|
+
stroke-dashoffset: 0;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
to {
|
|
9
|
-
|
|
9
|
+
stroke-dashoffset: calc(var(--_spinner-ring-diameter) * -3.141592653589793);
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
@layer astryx.components {
|
|
14
|
+
.astryx-spinner {
|
|
15
|
+
--astryx-spinner-diameter: var(--astryx-spinner-diameter-md, 14px);
|
|
16
|
+
--astryx-spinner-stroke-width: var(--astryx-spinner-stroke-width-md, 3px);
|
|
17
|
+
--astryx-spinner-color: var(--astryx-spinner-color-accent, var(--astryx-color-accent, #262626));
|
|
18
|
+
--astryx-spinner-track-color: var(--astryx-spinner-color-track, var(--astryx-color-track, #ccd3db));
|
|
19
|
+
--astryx-spinner-arc-fraction: 0.375;
|
|
20
|
+
--_spinner-track-opacity: 1;
|
|
21
|
+
--_spinner-ring-diameter: var(--astryx-spinner-diameter);
|
|
22
|
+
--_spinner-ring-stroke: var(--astryx-spinner-stroke-width);
|
|
23
|
+
--_spinner-box-size: calc(var(--_spinner-ring-diameter) + var(--_spinner-ring-stroke) * 2);
|
|
24
|
+
}
|
|
25
|
+
|
|
14
26
|
.astryx-spinner-group {
|
|
15
27
|
box-sizing: border-box;
|
|
16
28
|
display: inline-flex;
|
|
17
29
|
flex-direction: column;
|
|
18
30
|
align-items: center;
|
|
19
|
-
gap: var(--astryx-spinner-group-gap, 8px);
|
|
31
|
+
gap: var(--astryx-spinner-group-gap, var(--astryx-spacing-2, 8px));
|
|
20
32
|
}
|
|
21
33
|
|
|
22
34
|
.astryx-spinner-label {
|
|
23
|
-
color: var(--astryx-spinner-label-color, #171717);
|
|
35
|
+
color: var(--astryx-spinner-label-color, var(--astryx-color-text-primary, #171717));
|
|
24
36
|
font-size: var(--astryx-text-body-size, 0.875rem);
|
|
25
37
|
font-weight: var(--astryx-font-weight-bold, 700);
|
|
26
38
|
line-height: var(--astryx-text-body-leading, 1.4286);
|
|
27
39
|
}
|
|
28
40
|
|
|
29
|
-
.astryx-spinner {
|
|
30
|
-
--_spinner-diameter: var(--astryx-spinner-diameter-md, 14px);
|
|
31
|
-
--_spinner-stroke: var(--astryx-spinner-stroke-width-md, 3px);
|
|
32
|
-
--_spinner-color: var(--astryx-spinner-color-accent, #262626);
|
|
33
|
-
--_spinner-track: var(--astryx-spinner-color-track, #ccd3db);
|
|
34
|
-
--_spinner-track-opacity: 1;
|
|
35
|
-
--_spinner-arc-fraction: var(--astryx-spinner-arc-fraction, 0.375);
|
|
36
|
-
|
|
41
|
+
.astryx-spinner-box {
|
|
37
42
|
box-sizing: content-box;
|
|
38
43
|
display: inline-grid;
|
|
39
44
|
flex-shrink: 0;
|
|
40
45
|
place-items: center;
|
|
41
46
|
vertical-align: middle;
|
|
42
|
-
width: calc(var(--_spinner-diameter) + var(--_spinner-stroke) * 2);
|
|
43
|
-
height: calc(var(--_spinner-diameter) + var(--_spinner-stroke) * 2);
|
|
44
|
-
animation: astryx-spinner-rotate var(--astryx-duration-slow-min, 525ms) linear infinite;
|
|
45
47
|
}
|
|
46
48
|
|
|
47
49
|
.astryx-spinner[data-size='sm'] {
|
|
48
|
-
--
|
|
49
|
-
--
|
|
50
|
+
--astryx-spinner-diameter: var(--astryx-spinner-diameter-sm, 10px);
|
|
51
|
+
--astryx-spinner-stroke-width: var(--astryx-spinner-stroke-width-sm, 2px);
|
|
50
52
|
}
|
|
51
53
|
|
|
52
54
|
.astryx-spinner[data-size='md'] {
|
|
53
|
-
--
|
|
54
|
-
--
|
|
55
|
+
--astryx-spinner-diameter: var(--astryx-spinner-diameter-md, 14px);
|
|
56
|
+
--astryx-spinner-stroke-width: var(--astryx-spinner-stroke-width-md, 3px);
|
|
55
57
|
}
|
|
56
58
|
|
|
57
59
|
.astryx-spinner[data-size='lg'] {
|
|
58
|
-
--
|
|
59
|
-
--
|
|
60
|
+
--astryx-spinner-diameter: var(--astryx-spinner-diameter-lg, 18px);
|
|
61
|
+
--astryx-spinner-stroke-width: var(--astryx-spinner-stroke-width-lg, 3px);
|
|
60
62
|
}
|
|
61
63
|
|
|
62
64
|
.astryx-spinner[data-size='xl'] {
|
|
63
|
-
--
|
|
64
|
-
--
|
|
65
|
+
--astryx-spinner-diameter: var(--astryx-spinner-diameter-xl, 28px);
|
|
66
|
+
--astryx-spinner-stroke-width: var(--astryx-spinner-stroke-width-xl, 4px);
|
|
65
67
|
}
|
|
66
68
|
|
|
67
69
|
.astryx-spinner[data-shade='default'] {
|
|
68
|
-
--
|
|
69
|
-
--
|
|
70
|
+
--astryx-spinner-color: var(--astryx-spinner-color-accent, var(--astryx-color-accent, #262626));
|
|
71
|
+
--astryx-spinner-track-color: var(--astryx-spinner-color-track, var(--astryx-color-track, #ccd3db));
|
|
70
72
|
--_spinner-track-opacity: 1;
|
|
71
73
|
}
|
|
72
74
|
|
|
73
75
|
.astryx-spinner[data-shade='subtle'] {
|
|
74
|
-
--
|
|
75
|
-
--
|
|
76
|
+
--astryx-spinner-color: var(--astryx-spinner-color-subtle, var(--astryx-color-text-secondary, #525252));
|
|
77
|
+
--astryx-spinner-track-color: var(--astryx-spinner-color-track, var(--astryx-color-track, #ccd3db));
|
|
76
78
|
--_spinner-track-opacity: 1;
|
|
77
79
|
}
|
|
78
80
|
|
|
79
81
|
.astryx-spinner[data-shade='onMedia'] {
|
|
80
|
-
--
|
|
81
|
-
--
|
|
82
|
-
--_spinner-track-opacity:
|
|
82
|
+
--astryx-spinner-color: var(--astryx-spinner-color-on-dark, var(--astryx-color-on-dark, #fff));
|
|
83
|
+
--astryx-spinner-track-color: var(--astryx-spinner-color-on-dark, var(--astryx-color-on-dark, #fff));
|
|
84
|
+
--_spinner-track-opacity: calc(77 / 255);
|
|
83
85
|
}
|
|
84
86
|
|
|
85
87
|
.astryx-spinner[data-shade='inherit'] {
|
|
86
|
-
--
|
|
87
|
-
--
|
|
88
|
+
--astryx-spinner-color: currentcolor;
|
|
89
|
+
--astryx-spinner-track-color: currentcolor;
|
|
88
90
|
--_spinner-track-opacity: 0.3;
|
|
89
91
|
}
|
|
90
92
|
|
|
91
93
|
.astryx-spinner__ring {
|
|
92
94
|
display: block;
|
|
93
|
-
width:
|
|
94
|
-
height:
|
|
95
|
+
width: var(--_spinner-box-size, 100%);
|
|
96
|
+
height: var(--_spinner-box-size, 100%);
|
|
95
97
|
overflow: visible;
|
|
96
98
|
}
|
|
97
99
|
|
|
98
100
|
.astryx-spinner__track,
|
|
99
101
|
.astryx-spinner__arc {
|
|
100
102
|
fill: none;
|
|
101
|
-
r: calc(var(--_spinner-diameter) / 2);
|
|
102
|
-
stroke-width: var(--_spinner-stroke);
|
|
103
|
+
r: calc(var(--_spinner-ring-diameter) / 2);
|
|
104
|
+
stroke-width: var(--_spinner-ring-stroke);
|
|
103
105
|
stroke-linecap: round;
|
|
104
106
|
transform-box: fill-box;
|
|
105
107
|
transform-origin: center;
|
|
106
108
|
}
|
|
107
109
|
|
|
108
110
|
.astryx-spinner__track {
|
|
109
|
-
stroke: var(--
|
|
111
|
+
stroke: var(--astryx-spinner-track-color);
|
|
110
112
|
stroke-opacity: var(--_spinner-track-opacity);
|
|
111
113
|
}
|
|
112
114
|
|
|
113
115
|
.astryx-spinner__arc {
|
|
114
|
-
stroke: var(--
|
|
116
|
+
stroke: var(--astryx-spinner-color);
|
|
115
117
|
transform: rotate(-90deg);
|
|
116
118
|
stroke-dasharray:
|
|
117
|
-
calc(var(--_spinner-diameter) * 3.
|
|
118
|
-
calc(var(--_spinner-diameter) * 3.
|
|
119
|
+
calc(var(--_spinner-ring-diameter) * 3.141592653589793 * var(--astryx-spinner-arc-fraction))
|
|
120
|
+
calc(var(--_spinner-ring-diameter) * 3.141592653589793 * (1 - var(--astryx-spinner-arc-fraction)));
|
|
121
|
+
animation-name: astryx-spinner-dash;
|
|
122
|
+
animation-duration: var(--astryx-duration-slow-min, 525ms);
|
|
123
|
+
animation-timing-function: linear;
|
|
124
|
+
animation-iteration-count: infinite;
|
|
119
125
|
}
|
|
120
126
|
|
|
121
127
|
@media (prefers-reduced-motion: reduce) {
|
|
122
|
-
.astryx-
|
|
128
|
+
.astryx-spinner__arc {
|
|
123
129
|
animation-duration: 3s;
|
|
124
130
|
}
|
|
125
131
|
}
|
package/styles/stepper.css
CHANGED
|
@@ -5,6 +5,14 @@
|
|
|
5
5
|
width: 100%;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
+
.astryx-stepper-frame {
|
|
9
|
+
--astryx-step-connector-gap: 0px;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.astryx-stepper {
|
|
13
|
+
--astryx-step-connector-gap: inherit;
|
|
14
|
+
}
|
|
15
|
+
|
|
8
16
|
.astryx-stepper-root[data-collapsed] {
|
|
9
17
|
display: flex;
|
|
10
18
|
flex-direction: column;
|
|
@@ -57,6 +65,14 @@
|
|
|
57
65
|
gap: var(--astryx-spacing-2, 8px);
|
|
58
66
|
}
|
|
59
67
|
|
|
68
|
+
/* 控件和内容合成一列:竖向流程里内容落在标签下面,而不是被排到标签右边。 */
|
|
69
|
+
.astryx-step-body {
|
|
70
|
+
display: flex;
|
|
71
|
+
flex: 1 1 auto;
|
|
72
|
+
flex-direction: column;
|
|
73
|
+
min-width: 0;
|
|
74
|
+
}
|
|
75
|
+
|
|
60
76
|
.astryx-step[data-density='compact'] { --_step-space: var(--astryx-spacing-1, 4px); }
|
|
61
77
|
.astryx-step[data-density='balanced'] { --_step-space: var(--astryx-spacing-2, 8px); }
|
|
62
78
|
.astryx-step[data-density='spacious'] { --_step-space: var(--astryx-spacing-3, 12px); }
|
|
@@ -108,11 +124,36 @@
|
|
|
108
124
|
}
|
|
109
125
|
|
|
110
126
|
.astryx-step-connector {
|
|
127
|
+
--_step-connector-gap: max(0px, min(var(--astryx-step-connector-gap, 0px), var(--astryx-spacing-2, 8px)));
|
|
111
128
|
flex: 1 1 auto;
|
|
112
129
|
min-width: var(--astryx-spacing-2, 8px);
|
|
113
130
|
border-radius: 0;
|
|
114
131
|
}
|
|
115
132
|
|
|
133
|
+
.astryx-step[data-orientation='vertical'][data-indicator-position='on-track']:not([data-glyph='none']) .astryx-step-connector-lead {
|
|
134
|
+
clip-path: inset(0 0 var(--_step-connector-gap) 0);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.astryx-step[data-orientation='vertical'][data-indicator-position='on-track']:not([data-glyph='none']) .astryx-step-connector-trail {
|
|
138
|
+
clip-path: inset(var(--_step-connector-gap) 0 0 0);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.astryx-step[data-orientation='horizontal'][data-indicator-position='on-track']:not([data-glyph='none']) .astryx-step-connector-lead {
|
|
142
|
+
clip-path: inset(0 var(--_step-connector-gap) 0 0);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.astryx-step[data-orientation='horizontal'][data-indicator-position='on-track']:not([data-glyph='none']) .astryx-step-connector-trail {
|
|
146
|
+
clip-path: inset(0 0 0 var(--_step-connector-gap));
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
:is([dir='rtl'] .astryx-step[data-orientation='horizontal'][data-indicator-position='on-track']:not([data-glyph='none'])) .astryx-step-connector-lead {
|
|
150
|
+
clip-path: inset(0 0 0 var(--_step-connector-gap));
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
:is([dir='rtl'] .astryx-step[data-orientation='horizontal'][data-indicator-position='on-track']:not([data-glyph='none'])) .astryx-step-connector-trail {
|
|
154
|
+
clip-path: inset(0 var(--_step-connector-gap) 0 0);
|
|
155
|
+
}
|
|
156
|
+
|
|
116
157
|
.astryx-step[data-orientation='horizontal'] .astryx-step-connector {
|
|
117
158
|
height: var(--astryx-spacing-1, 4px);
|
|
118
159
|
}
|
|
@@ -150,13 +191,21 @@
|
|
|
150
191
|
}
|
|
151
192
|
|
|
152
193
|
@media (hover: hover) {
|
|
153
|
-
button.astryx-step-control:hover {
|
|
194
|
+
button.astryx-step-control:where(:not(:disabled, [aria-disabled='true'])):hover {
|
|
154
195
|
background: var(--astryx-color-overlay-hover, light-dark(#0536590c, #ffffff0c));
|
|
155
196
|
}
|
|
156
197
|
}
|
|
157
198
|
|
|
158
|
-
|
|
159
|
-
|
|
199
|
+
@media not all and (pointer: coarse) {
|
|
200
|
+
button.astryx-step-control:where(:not(:disabled, [aria-disabled='true'])):active {
|
|
201
|
+
background: var(--astryx-color-overlay-pressed, light-dark(#05365919, #ffffff19));
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
button.astryx-step-control[data-astryx-press='on'],
|
|
206
|
+
button.astryx-step-control[data-astryx-press='fading'] {
|
|
207
|
+
background-color: transparent;
|
|
208
|
+
background-image: var(--_press-paint-image);
|
|
160
209
|
}
|
|
161
210
|
|
|
162
211
|
button.astryx-step-control:focus-visible {
|
|
@@ -255,6 +304,11 @@
|
|
|
255
304
|
padding-block-start: var(--astryx-spacing-2, 8px);
|
|
256
305
|
}
|
|
257
306
|
|
|
307
|
+
/* 竖向的内容跟标签左对齐:缩进 = 控件内边距 + 指示点宽度和间距。 */
|
|
308
|
+
.astryx-step[data-orientation='vertical'] .astryx-step-content {
|
|
309
|
+
padding-inline: calc(var(--_step-space) + var(--astryx-spacing-4, 16px) + var(--astryx-spacing-2, 8px)) var(--_step-space);
|
|
310
|
+
}
|
|
311
|
+
|
|
258
312
|
.astryx-step[data-orientation='horizontal'][data-indicator-position='separated'] .astryx-step-control {
|
|
259
313
|
align-items: center;
|
|
260
314
|
}
|
|
@@ -340,7 +394,7 @@
|
|
|
340
394
|
|
|
341
395
|
.astryx-stepper-nav:disabled {
|
|
342
396
|
opacity: 0.4;
|
|
343
|
-
cursor:
|
|
397
|
+
cursor: default;
|
|
344
398
|
}
|
|
345
399
|
|
|
346
400
|
@container astryx-stepper (max-width: 480px) {
|