@astryx-vue/core 0.7.20 → 0.7.22
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.d.ts +1 -1
- package/dist/AlertDialog/index.js +1 -1
- package/dist/{AlertDialog-pPXTwJ2L.js → AlertDialog-Clj4LQbD.js} +14 -8
- package/dist/AppShell/index.d.ts +1 -1
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-ggoyfRU8.js → AppShell--izaf9Fx.js} +3 -3
- package/dist/Avatar/index.d.ts +1 -1
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-CP5bJN1n.js → Avatar-cNntRBEo.js} +18 -14
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/AvatarGroup/index.js +1 -1
- package/dist/{AvatarGroup-DkdSw1yf.js → AvatarGroup-DbWLEmi1.js} +3 -3
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Banner/index.js +1 -1
- package/dist/{Banner-BAq0N2B5.js → Banner-B_mAF0Cw.js} +7 -5
- package/dist/BottomSheet/index.d.ts +1 -1
- package/dist/BottomSheet/index.js +2 -2
- package/dist/{BottomSheet-ChaxnQlr.js → BottomSheet-BKeyoL9N.js} +1 -1
- package/dist/{BottomSheet-BTFPLoGw.js → BottomSheet-CMukh1iI.js} +1 -1
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/{Breadcrumbs-CXRXlVmX.js → Breadcrumbs-b00jtj_I.js} +2 -2
- package/dist/Button/index.d.ts +1 -1
- package/dist/Button/index.js +1 -1
- package/dist/{Button-xMGOU3Wj.js → Button-DVXOKWAy.js} +11 -78
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/ButtonGroup/index.js +1 -1
- package/dist/{ButtonGroup-DnkSZ9a5.js → ButtonGroup-B9sj-OvC.js} +5 -3
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Calendar/index.js +1 -1
- package/dist/{Calendar-CJQCND7M.js → Calendar-d_uOkvFE.js} +4 -4
- package/dist/Card/index.d.ts +1 -1
- package/dist/Card/index.js +1 -1
- package/dist/{Card-B-I24X9S.js → Card-H4571ZKi.js} +1 -1
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-v8MoIvkj.js → Carousel-CUtC-6st.js} +3 -3
- package/dist/Center/index.d.ts +1 -1
- package/dist/Center/index.js +1 -1
- package/dist/{Center-DVaZaTGP.js → Center-B7FTd7Hw.js} +2 -10
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-CZqMkxNN.js → Chat-BCeC0sHI.js} +19 -10
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-D0SSjziv.js → CheckboxInput-B4pDfjvr.js} +6 -6
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-Dd6Vn_0N.js → CheckboxList-DtxfdHRI.js} +14 -10
- package/dist/Citation/index.js +1 -1
- package/dist/{Citation-BDHIuvX3.js → Citation-CCu6QWG7.js} +2 -2
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/ClickableCard/index.js +1 -1
- package/dist/{ClickableCard-CGjr4c7g.js → ClickableCard-jEBZbzHE.js} +3 -3
- package/dist/Code/index.d.ts +1 -1
- package/dist/Code/index.js +2 -2
- package/dist/{Code-U7yN4bwZ.js → Code-PDhTfE2w.js} +2 -8
- package/dist/{CodeBlock-Dnv5SexJ.js → CodeBlock-C8ZQsnEc.js} +31 -9
- package/dist/Collapsible/index.d.ts +1 -1
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-DPC_G0Me.js → Collapsible-BsPZ8CoN.js} +2 -2
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-CM5VyZTp.js → CommandPalette-0Kg-dJg3.js} +5 -5
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-BiKaDteS.js → ComplexSelector-xJGZLLyu.js} +6 -6
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-DPY3WDdI.js → ContextMenu-CgSIWUYh.js} +7 -7
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-CDesWR4P.js → DateInput-B0t3u-_h.js} +17 -15
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-xT3wXhbh.js → DateRangeInput-CZcASUxa.js} +15 -13
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-oZKJG12g.js → DateTimeInput-vkdQJjsh.js} +15 -13
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Dialog/index.js +1 -1
- package/dist/{DialogHeader-CAvunUP_.js → DialogHeader-Doo2W2Ni.js} +26 -17
- 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-AYHh8GOH.js → Drawer-Ca7Dny6L.js} +1 -1
- package/dist/DropdownMenu/index.js +3 -3
- package/dist/{DropdownMenu-CjM_IQIU.js → DropdownMenu-ogcv4KxT.js} +8 -8
- package/dist/{DropdownMenu-C1-Fx_uu.js → DropdownMenu-xdyXj4Mb.js} +7 -7
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-CVbtVcRb.js → EmptyState-BQrzgh2f.js} +2 -2
- package/dist/Field/index.js +3 -3
- package/dist/{Field-Dw53vhfK.js → Field-DLg-trP2.js} +2 -2
- package/dist/{FieldIcon--Qng2Cup.js → FieldIcon-CxTnEb4Y.js} +1 -1
- package/dist/{FieldInfoTip-Ci5usYvE.js → FieldInfoTip-gWPWGd3Q.js} +3 -3
- package/dist/{FieldLabel-MeJlcRRG.js → FieldLabel-D5_Pap_W.js} +9 -5
- package/dist/FieldStatus/index.js +1 -1
- package/dist/{FieldStatus-BGM4IlHy.js → FieldStatus-D6Vo_dU5.js} +5 -4
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-jPcAv4-1.js → FileInput-eBk4ZBY8.js} +10 -10
- package/dist/Heading/index.d.ts +1 -1
- package/dist/Heading/index.js +1 -1
- package/dist/{Heading-CwMG-5tj.js → Heading-D0zL1j5T.js} +1 -1
- package/dist/HoverCard/index.d.ts +1 -1
- package/dist/HoverCard/index.js +1 -1
- package/dist/{HoverCard-SuGMVIZR.js → HoverCard-B9uadAzT.js} +2 -1
- package/dist/Icon/index.js +1 -1
- package/dist/{Icon-Dosui-zD.js → Icon-CU3412Fe.js} +6 -1
- package/dist/IconButton/index.js +1 -1
- package/dist/{IconButton-BmMIccb4.js → IconButton-C5U75I5C.js} +1 -1
- package/dist/Indicator/index.js +1 -1
- package/dist/InfoTip/index.d.ts +2 -0
- package/dist/InfoTip/index.js +5 -0
- package/dist/InfoTip-BlOySTNC.js +95 -0
- package/dist/{InputClearButton-Dd1GgItq.js → InputClearButton-DjLXIYX4.js} +3 -3
- package/dist/InputGroup/index.d.ts +1 -1
- package/dist/InputGroup/index.js +1 -1
- package/dist/{InputGroup-C1z9qkGA.js → InputGroup-BleRgc6W.js} +8 -4
- package/dist/InternationalizationProvider/index.d.ts +1 -1
- package/dist/InternationalizationProvider/index.js +1 -1
- package/dist/{InternationalizationProvider-DKNYYBp5.js → InternationalizationProvider-CWJDt7Qb.js} +2 -2
- package/dist/{Item-DWMIjN8n.js → Item-X9wgYWoD.js} +1 -1
- package/dist/Layout/index.d.ts +1 -1
- package/dist/Layout/index.js +2 -2
- package/dist/{Layout-JJRCG7Mf.js → Layout-mHcy28k7.js} +3 -2
- package/dist/{LayoutPanel-zM5vjrKS.js → LayoutPanel-DpbBk6rj.js} +4 -27
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-Bx1uvH61.js → Lightbox-BKIn3xh8.js} +3 -3
- package/dist/Link/index.d.ts +3 -3
- package/dist/Link/index.js +1 -1
- package/dist/{Link-DdLdry4N.js → Link-Qhzs2lcO.js} +27 -20
- package/dist/List/index.d.ts +1 -1
- package/dist/List/index.js +2 -2
- package/dist/{ListItem-Cq_nU1YV.js → ListItem-CertehfW.js} +1 -1
- package/dist/Markdown/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-u-bXd7Z_.js → Markdown-BJFwe_pB.js} +10 -8
- package/dist/{MediaTheme-p2hOnZaR.js → MediaTheme-CnSOALNj.js} +4 -9
- package/dist/MetadataList/index.js +1 -1
- package/dist/{MetadataList-sNNwmmXa.js → MetadataList-wOngshS5.js} +1 -1
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-DgEwchpj.js → MobileNavToggle-C8KAzhRl.js} +2 -2
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-CUWP3WTs.js → MoreMenu-VgbqyoGW.js} +117 -99
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-DXFen6nf.js → MultiSelector-BTIeCFDV.js} +36 -38
- package/dist/{NavDisclosure-snipr7Cd.js → NavDisclosure-BbRWuyhq.js} +1 -1
- package/dist/{NavHeadingSurface-tn7cGNlX.js → NavHeadingSurface-B2HkXx6S.js} +3 -3
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NavItem/index.js +1 -1
- package/dist/{NavItem-BPb3yfgz.js → NavItem-DfHMmSsw.js} +1 -1
- package/dist/NavMenu/index.js +3 -3
- package/dist/{NavMenu-BA5lW02j.js → NavMenu-CZS5pRUv.js} +1 -1
- package/dist/{NavMenuItem-BuIgWJq8.js → NavMenuItem-duQuvU1o.js} +2 -2
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-47pYh8M8.js → NumberInput-CkYRY1KW.js} +19 -32
- package/dist/Outline/index.js +1 -1
- package/dist/{Outline-C6xBCP2y.js → Outline-D3g7Vq7-.js} +2 -2
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-BHnarnHA.js → OverflowList-WwL2NPbI.js} +3 -3
- 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-CBjcLsLG.js → Pagination-Cn53Nqe3.js} +2 -2
- package/dist/Popover/index.d.ts +1 -1
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-DOqAuY-b.js → Popover-Cbv5LUWL.js} +10 -6
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-BnsPW_Xe.js → PowerSearch-DtncqsYh.js} +88 -73
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/ProgressBar/index.js +1 -1
- package/dist/{ProgressBar-Cmbhdfla.js → ProgressBar-Dt5AS0GY.js} +1 -1
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-Dcmqx9p_.js → RadioGroup-B2lYTCeV.js} +5 -5
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioList-BnM8hmMZ.js → RadioList-CieZtXzY.js} +1 -1
- package/dist/Resizable/index.d.ts +1 -1
- package/dist/Resizable/index.js +1 -1
- package/dist/{ResizeHandle-Bxt3HOsd.js → ResizeHandle-uBJj4W1M.js} +1 -1
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/ScrollableArea/index.js +1 -1
- package/dist/{ScrollableArea-0u6RWtGG.js → ScrollableArea-BgIytCxo.js} +3 -8
- package/dist/Scrollbars/index.js +2 -2
- package/dist/{Scrollbars-D_93hJYK.js → Scrollbars-Gvu4QVaF.js} +1 -1
- package/dist/Section/index.js +1 -1
- package/dist/{Section-v2QuWBBJ.js → Section-Km_FjJ-i.js} +2 -7
- package/dist/SegmentedControl/index.d.ts +1 -1
- package/dist/SegmentedControl/index.js +1 -1
- package/dist/{SegmentedControl-D1wWGBZo.js → SegmentedControl-BmDn1avo.js} +6 -4
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/SelectableCard/index.js +1 -1
- package/dist/{SelectableCard-BEqnhPaX.js → SelectableCard-2a2gsxys.js} +3 -3
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-DJqfjwFd.js → Selector-CgrXQtte.js} +122 -52
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-DeE9XA0M.js → SideNav-B_atCEBH.js} +45 -27
- package/dist/SizeContext/index.d.ts +2 -0
- package/dist/SizeContext/index.js +2 -0
- package/dist/SizeContext-BbaF-SEx.js +37 -0
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-CDssBPWC.js → Slider-CEhy-D-R.js} +4 -4
- package/dist/Spinner/index.js +1 -1
- package/dist/{Spinner-D8YW_EgO.js → Spinner-CTWLR75x.js} +1 -1
- package/dist/Stack/index.js +2 -2
- package/dist/{Stack-Bp-XN9J4.js → Stack-DPB-Ztf7.js} +3 -11
- package/dist/{Stack-Bb_h60t3.js → Stack-Tw4I_dt-.js} +2 -2
- package/dist/StatusDot/index.js +1 -1
- package/dist/{StatusDot-DhNtAVEN.js → StatusDot-Bu_nCu0I.js} +1 -1
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/Stepper/index.js +1 -1
- package/dist/{Stepper-D_tzl2pr.js → Stepper-DVXisudw.js} +149 -67
- package/dist/Switch/index.d.ts +2 -2
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-GIld457S.js → Switch-DXShvaDA.js} +12 -6
- package/dist/TabList/index.d.ts +1 -1
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-B9RRmiqV.js → TabList-DIEm4YKM.js} +10 -8
- package/dist/Table/index.d.ts +2 -2
- package/dist/Table/index.js +1 -1
- package/dist/{Table-B9F3DkX-.js → Table-RQ5wklzn.js} +28 -20
- package/dist/Text/index.d.ts +2 -2
- package/dist/Text/index.js +1 -1
- package/dist/{Text-D8ZIQxgB.js → Text-Wk-iDAzh.js} +2 -2
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-zVh5qj-c.js → TextArea-D1QHRYUp.js} +24 -14
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-Bfr1Igjs.js → TextInput-ZSr9jgdk.js} +11 -8
- package/dist/Theme/index.js +2 -2
- package/dist/{Theme-BpgmIGCo.js → Theme-D7_fQWgb.js} +570 -4
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-BvXGkihb.js → Thumbnail-CYRPjf1Y.js} +6 -6
- package/dist/{TimeField-BcGkQvY4.js → TimeField-DnfFPnBT.js} +10 -10
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-CwCYQa51.js → TimeInput-Dj5b3rL3.js} +6 -4
- package/dist/Timer/index.d.ts +1 -1
- package/dist/Timer/index.js +1 -1
- package/dist/{Timer-cp10vcti.js → Timer-DL_MPa_h.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-DAfry9GA.js → Timestamp-hepTGx5N.js} +5 -5
- package/dist/Toast/index.js +1 -1
- package/dist/{Toast-CN6C5mZ4.js → Toast-DRIZNfyy.js} +24 -18
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/ToggleButton/index.js +1 -1
- package/dist/{ToggleButton-Cq82SwPx.js → ToggleButton-zpHmL_yH.js} +1 -1
- package/dist/Token/index.d.ts +1 -1
- package/dist/Token/index.js +1 -1
- package/dist/{Token-rBcE4hYh.js → Token-BJDLztV6.js} +2 -2
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-CIviljVO.js → Tokenizer-yz0873oG.js} +45 -37
- package/dist/Toolbar/index.d.ts +2 -2
- package/dist/Toolbar/index.js +1 -1
- package/dist/{Toolbar-DKld_COt.js → Toolbar-CbVhy7K9.js} +3 -1
- package/dist/Tooltip/index.d.ts +1 -1
- package/dist/Tooltip/index.js +2 -1
- package/dist/Tooltip-BfKegFfq.js +126 -0
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-Dwu7beKR.js → TopNav-aCHKxMyk.js} +7 -7
- package/dist/TreeList/index.d.ts +1 -1
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-XMAHW9fH.js → TreeList-tcEjVfb0.js} +34 -26
- package/dist/Typeahead/index.js +2 -2
- package/dist/{Typeahead-DrziC_-X.js → Typeahead-ClidGB0O.js} +8 -8
- package/dist/{TypeaheadMenu-CafYGgVa.js → TypeaheadMenu-Bu9HO-wZ.js} +1 -1
- package/dist/VisuallyHidden/index.js +1 -1
- package/dist/{VisuallyHidden-C7NN3VEP.js → VisuallyHidden-cpmsV-0M.js} +25 -2
- package/dist/composables/index.d.ts +2 -2
- package/dist/composables/index.js +6 -5
- package/dist/{composables-rlh0LyHP.js → composables-BWDrzi3J.js} +1 -1
- package/dist/{context-dY6CBI-t.js → context-BLSiTojH.js} +12 -2
- package/dist/context-Bv6lAoqu.js +26 -0
- package/dist/{index-gW0HW02U.d.ts → index-6kd7pher.d.ts} +0 -1
- package/dist/{index-ChCcxRFB.d.ts → index-9eluGe3a.d.ts} +1 -1
- package/dist/{index-TXcNH86P.d.ts → index-B1eCxBCY.d.ts} +1 -1
- package/dist/{index-DxSmMU5p.d.ts → index-B7VpAZYk.d.ts} +20 -7
- package/dist/{index-BuubzuE8.d.ts → index-BDZCJ9ri.d.ts} +2 -2
- package/dist/{index-wY6dKz6c.d.ts → index-BEZ4ezJk.d.ts} +2 -2
- package/dist/{index-BfS1MA8W.d.ts → index-BRXgpLcd.d.ts} +5 -6
- package/dist/{index-G935Rujh.d.ts → index-BUZDSd-n.d.ts} +96 -2
- package/dist/{index-2nF5Y3RN.d.ts → index-Be7N3B5F.d.ts} +2 -3
- package/dist/{index-DbiZvj1P.d.ts → index-BfQ85cS8.d.ts} +0 -1
- package/dist/{index-CTjkJP4x.d.ts → index-Bgk1Rj2A.d.ts} +1 -1
- package/dist/{index-BOCb89V9.d.ts → index-BxWCX2pJ.d.ts} +1 -1
- package/dist/{index-UFlyBbRd.d.ts → index-C3f1zsJR.d.ts} +2 -2
- package/dist/{index-C-tFz2Yx.d.ts → index-C9ZssPUV.d.ts} +1 -1
- package/dist/{index-CRPSZ4nY.d.ts → index-CFm1rPma.d.ts} +1 -1
- package/dist/{index-C1zwvxPH.d.ts → index-CL8JvxHW.d.ts} +2 -2
- package/dist/{index-B7Jz5i9a.d.ts → index-CM8KfpBL.d.ts} +3 -4
- package/dist/{index-DpXXD9nP.d.ts → index-CfOpGR_m.d.ts} +215 -147
- package/dist/{index-DAMHLkmd.d.ts → index-CfPGC9aW.d.ts} +1 -1
- package/dist/{index-GpET2_oj.d.ts → index-Cun6cXGP.d.ts} +1 -1
- package/dist/{index-C8wfe0Mr.d.ts → index-D05JGsT3.d.ts} +1 -1
- package/dist/{index-Uh-ddE5F.d.ts → index-D21zdEgS.d.ts} +1 -1
- package/dist/{index-DUnLj1kn.d.ts → index-DLq_N8bd.d.ts} +1 -1
- package/dist/{index-Dl4Kx5Pl.d.ts → index-DTfA4uE3.d.ts} +13 -3
- package/dist/{index-CKpz_Eed.d.ts → index-DX4HQToB.d.ts} +1 -1
- package/dist/{index-D97pQbua.d.ts → index-DXhtlG4u.d.ts} +2 -2
- package/dist/{index-B2kcUxGA.d.ts → index-D_K1wfRa.d.ts} +1 -1
- package/dist/{index-MEix_m1o.d.ts → index-DaXzQxos.d.ts} +2 -2
- package/dist/{index-Do0iakTm.d.ts → index-DgmlhvRV.d.ts} +1 -1
- package/dist/{index-CAttPKaF.d.ts → index-DjVJDoz4.d.ts} +1 -1
- package/dist/{index-qayqGnJT.d.ts → index-IfiA8CSr.d.ts} +2 -2
- package/dist/{index-BbArm3_c.d.ts → index-MIv3YJ_j.d.ts} +3 -3
- package/dist/{index-BNaRK-s5.d.ts → index-O9y23OPJ.d.ts} +11 -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-q7fVtnQc.d.ts +48 -0
- package/dist/{index-Cy1rEWC-.d.ts → index-rszZajcw.d.ts} +1 -1
- package/dist/{index-mcNmCMqs.d.ts → index-uqEqPcmR.d.ts} +2 -2
- package/dist/index.d.ts +67 -68
- package/dist/index.js +132 -125
- package/dist/{loadCatalog-Cr3451_V.js → loadCatalog-85MyL2bm.js} +1 -1
- package/dist/{loadCatalog-DNIEPF3f.d.ts → loadCatalog-DSRSkHnY.d.ts} +9 -0
- package/dist/locale/index.d.ts +2 -2
- package/dist/locale/index.js +4 -4
- package/dist/{locale-BdA3CTlQ.js → locale-C7RSY-JG.js} +77 -77
- package/dist/{searchResultMessage-u1rOubPl.js → searchResultMessage-T4H3r8Vz.js} +3 -3
- package/dist/sharedResizeObserver-9EFWnSWH.js +87 -0
- package/dist/{size-Cpn_wzXi.js → size-BfginNaZ.js} +19 -1
- package/dist/{types-BymI5mmm.d.ts → types-B8suOGP8.d.ts} +3 -2
- package/dist/{useAnchoredListbox-DwQTMWjI.js → useAnchoredListbox-6t5zSSz1.js} +1 -1
- package/dist/useButtonTooltip-DjCaZMp_.js +73 -0
- package/dist/{useIndicator-fTOZfYVI.js → useIndicator-BvF_KY9S.js} +1 -1
- package/dist/{useInputStatusIcon-BZPOzGDC.js → useInputStatusIcon-Dax94Gdd.js} +2 -2
- package/dist/{useMergedRefs-CG0YVRL-.js → useLayer-Byjda3dD.js} +2 -23
- package/dist/{useMenuDrillIn-B6jh8tv8.js → useMenuDrillIn-C36Z89W3.js} +3 -3
- package/dist/useMergedRefs-DTGo1cEU.js +22 -0
- package/dist/{usePositionedLayer-HrhF3lEZ.js → usePositionedLayer-psKf3ano.js} +13 -3
- package/dist/{usePressFeedback-BJCpjEpv.js → usePressFeedback-Dhnfc3ee.js} +19 -2
- package/dist/{useResizable-BJ0DaMml.d.ts → useResizable-fEGAFziz.d.ts} +2 -0
- package/dist/{colorMode-BxqfDP4P.js → useResolvedColorMode-CHOh3Yz-.js} +31 -1
- package/dist/{useScrollbars-C2NJ6Qwq.js → useScrollbars-Ch0xqJWO.js} +3 -0
- package/dist/useTooltip-BKsCTWdb.js +415 -0
- package/dist/{useTranslator-DZBywLvR.js → useTranslator-BDUOzbP_.js} +1 -1
- package/dist/utils/index.js +2 -1
- package/dist/{utils-BE5HBOBX.js → utils-BOmFijPc.js} +1 -87
- package/package.json +9 -1
- package/styles/app-shell.css +12 -0
- package/styles/avatar.css +14 -2
- package/styles/banner.css +35 -27
- package/styles/bottom-sheet.css +8 -1
- package/styles/button.css +26 -12
- package/styles/calendar.css +3 -1
- package/styles/chat.css +53 -32
- package/styles/clickable-card.css +3 -3
- package/styles/code.css +5 -7
- package/styles/collapsible.css +10 -0
- package/styles/complex-selector.css +3 -3
- package/styles/container-reveal.css +161 -69
- package/styles/dialog-header.css +6 -0
- package/styles/dialog.css +29 -9
- package/styles/dropdown-menu.css +7 -6
- package/styles/empty-state.css +0 -4
- package/styles/field.css +37 -20
- package/styles/heading.css +20 -9
- package/styles/icon.css +11 -6
- package/styles/info-tip.css +45 -0
- package/styles/layout.css +2 -1
- package/styles/link.css +54 -7
- package/styles/list.css +1 -1
- package/styles/markdown.css +46 -2
- package/styles/more-menu.css +3 -2
- package/styles/multi-selector.css +6 -6
- package/styles/number-input.css +1 -2
- package/styles/popover.css +2 -2
- package/styles/power-search.css +10 -1
- package/styles/pressable.css +4 -4
- package/styles/radio.css +2 -3
- package/styles/section.css +3 -0
- package/styles/segmented-control.css +13 -0
- package/styles/selector.css +25 -10
- package/styles/side-nav.css +75 -2
- package/styles/slider.css +5 -2
- package/styles/stepper-track.css +57 -0
- package/styles/stepper.css +81 -46
- package/styles/switch.css +22 -11
- package/styles/tab-list.css +7 -6
- package/styles/tab-menu.css +0 -1
- package/styles/table.css +38 -3
- package/styles/text-area.css +5 -8
- package/styles/text.css +21 -1
- package/styles/theme.css +2 -0
- package/styles/thumbnail.css +1 -1
- package/styles/toast.css +11 -21
- package/styles/token.css +1 -1
- package/styles/tokenizer.css +8 -1
- package/styles/toolbar.css +5 -1
- package/styles/top-nav.css +19 -6
- package/styles/tree-list.css +2 -3
- package/styles.css +2 -0
- package/dist/Tooltip-sESBLZwR.js +0 -339
- package/dist/index-CHuSkU5Q.d.ts +0 -26
- package/dist/types-CbiqoBoG.d.ts +0 -89
- package/dist/{index-CHx33xGa.d.ts → index-BqhgeAT4.d.ts} +2 -2
- /package/dist/{index-Ca8VIE4l.d.ts → index-Q1oG9yIT.d.ts} +0 -0
package/styles/link.css
CHANGED
|
@@ -44,15 +44,62 @@
|
|
|
44
44
|
color: inherit;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
47
|
+
/*
|
|
48
|
+
* 同上游:Link 的文字是一个 Text,`type` 默认 body,决定字号、行高和字重。
|
|
49
|
+
* `type="inherit"` 不加类,沿用基础规则里的 `font: inherit`,适合嵌在一段文字里。
|
|
50
|
+
*/
|
|
51
|
+
.astryx-link.astryx-link--type-body {
|
|
52
|
+
font-size: var(--astryx-text-body-size, 0.875rem);
|
|
53
|
+
font-weight: var(--astryx-text-body-weight, 400);
|
|
54
|
+
line-height: var(--astryx-text-body-leading, 1.4286);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.astryx-link.astryx-link--type-large {
|
|
58
|
+
font-size: var(--astryx-text-large-size, 1rem);
|
|
59
|
+
font-weight: var(--astryx-text-large-weight, 600);
|
|
60
|
+
line-height: var(--astryx-text-large-leading, 1.5);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.astryx-link.astryx-link--type-label {
|
|
64
|
+
font-size: var(--astryx-text-label-size, 0.875rem);
|
|
65
|
+
font-weight: var(--astryx-text-label-weight, 500);
|
|
66
|
+
line-height: var(--astryx-text-label-leading, 1.25);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.astryx-link.astryx-link--type-supporting {
|
|
70
|
+
font-size: var(--astryx-text-supporting-size, 0.75rem);
|
|
71
|
+
font-weight: var(--astryx-text-supporting-weight, 400);
|
|
72
|
+
line-height: var(--astryx-text-supporting-leading, 1.6667);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.astryx-link.astryx-link--type-code {
|
|
76
|
+
font-family: var(--astryx-font-family-code, monospace);
|
|
77
|
+
font-size: var(--astryx-text-body-size, 0.875rem);
|
|
78
|
+
font-weight: var(--astryx-text-code-weight, 400);
|
|
79
|
+
line-height: var(--astryx-text-body-leading, 1.4286);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.astryx-link.astryx-link--type-display-1 {
|
|
83
|
+
font-size: var(--astryx-text-display-1-size, 3rem);
|
|
84
|
+
font-weight: var(--astryx-text-display-weight, var(--astryx-text-display-1-weight, 300));
|
|
85
|
+
line-height: var(--astryx-text-display-1-leading, 1.1);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.astryx-link.astryx-link--type-display-2 {
|
|
89
|
+
font-size: var(--astryx-text-display-2-size, 2.25rem);
|
|
90
|
+
font-weight: var(--astryx-text-display-weight, var(--astryx-text-display-2-weight, 300));
|
|
91
|
+
line-height: var(--astryx-text-display-2-leading, 1.15);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.astryx-link.astryx-link--type-display-3 {
|
|
95
|
+
font-size: var(--astryx-text-display-3-size, 1.75rem);
|
|
96
|
+
font-weight: var(--astryx-text-display-weight, var(--astryx-text-display-3-weight, 300));
|
|
97
|
+
line-height: var(--astryx-text-display-3-leading, 1.2);
|
|
50
98
|
}
|
|
51
99
|
|
|
52
|
-
.astryx-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
line-height: 1;
|
|
100
|
+
.astryx-link.astryx-link--standalone {
|
|
101
|
+
font-size: var(--astryx-text-body-size, 0.875rem);
|
|
102
|
+
line-height: var(--astryx-text-body-leading, 1.4286);
|
|
56
103
|
}
|
|
57
104
|
|
|
58
105
|
/* 修饰类与基础规则同特异性,排在后面所以生效:基础里的 `font: inherit` 不会盖掉它们。 */
|
package/styles/list.css
CHANGED
|
@@ -188,7 +188,7 @@
|
|
|
188
188
|
|
|
189
189
|
.astryx-item[data-interactive='true'] {
|
|
190
190
|
cursor: pointer;
|
|
191
|
-
transition: background-color var(--astryx-duration-
|
|
191
|
+
transition: background-color var(--astryx-duration-exit, 175ms) var(--astryx-ease-exit, cubic-bezier(0.3, 0, 0.6, 0.6));
|
|
192
192
|
}
|
|
193
193
|
|
|
194
194
|
.astryx-item[data-inert='true'] {
|
package/styles/markdown.css
CHANGED
|
@@ -95,6 +95,15 @@
|
|
|
95
95
|
line-height: var(--astryx-text-body-leading, 1.4286);
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
+
/* 引用块的文字色由 Blockquote 自己给(次要色),这里不能再 `inherit` 把它盖掉。 */
|
|
99
|
+
.astryx-markdown__blockquote {
|
|
100
|
+
color: var(--astryx-color-text-secondary, #525252);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.astryx-markdown__blockquote > .astryx-markdown__paragraph {
|
|
104
|
+
color: inherit;
|
|
105
|
+
}
|
|
106
|
+
|
|
98
107
|
.astryx-markdown__paragraph,
|
|
99
108
|
.astryx-markdown__list,
|
|
100
109
|
.astryx-markdown__blockquote,
|
|
@@ -110,6 +119,21 @@
|
|
|
110
119
|
margin-block: var(--astryx-spacing-4, 16px);
|
|
111
120
|
}
|
|
112
121
|
|
|
122
|
+
/* 原版:代码块按最长行收缩,下限是 contentWidth(默认 400px 兜底);居中时块自己居中。 */
|
|
123
|
+
.astryx-markdown__code {
|
|
124
|
+
--astryx-code-block-min-width: var(--astryx-markdown-measure, 400px);
|
|
125
|
+
max-width: 100%;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.astryx-markdown[data-align='center'] .astryx-markdown__code > .astryx-code-block {
|
|
129
|
+
margin-inline: auto;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
/* 引用块自带的外边距在原版里压过居中的 auto,所以它始终贴左。 */
|
|
133
|
+
.astryx-markdown[data-align='center'] .astryx-markdown__blockquote {
|
|
134
|
+
margin-inline: 0;
|
|
135
|
+
}
|
|
136
|
+
|
|
113
137
|
.astryx-markdown__hr {
|
|
114
138
|
height: 0;
|
|
115
139
|
margin-block: var(--astryx-spacing-6, 24px);
|
|
@@ -151,6 +175,24 @@
|
|
|
151
175
|
margin-block-end: 0;
|
|
152
176
|
}
|
|
153
177
|
|
|
178
|
+
/* 紧凑密度的段落、列表间距特异性更高,首尾去边距同样要跟上。 */
|
|
179
|
+
.astryx-markdown[data-density='compact'] > :first-child {
|
|
180
|
+
margin-block-start: 0;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.astryx-markdown[data-density='compact'] > :last-child {
|
|
184
|
+
margin-block-end: 0;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/* 引用块里的首尾块不带外边距,否则会穿透引用块撑出多余空白(原版同样给首尾块去外边距)。 */
|
|
188
|
+
.astryx-markdown__blockquote > :first-child {
|
|
189
|
+
margin-block-start: 0;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.astryx-markdown__blockquote > :last-child {
|
|
193
|
+
margin-block-end: 0;
|
|
194
|
+
}
|
|
195
|
+
|
|
154
196
|
/* 标题自己的间距规则特异性更高,首尾去边距要跟上。 */
|
|
155
197
|
.astryx-markdown > .astryx-heading.astryx-markdown__heading:first-child {
|
|
156
198
|
margin-block-start: 0;
|
|
@@ -203,6 +245,9 @@
|
|
|
203
245
|
gap: var(--astryx-spacing-0-5, 2px);
|
|
204
246
|
margin-block: var(--astryx-spacing-3, 12px);
|
|
205
247
|
margin-inline: calc(-1 * var(--astryx-spacing-2, 8px));
|
|
248
|
+
/* 原版是 contentWidth 宽的外层里套一个两侧各外扩 8px 的列表;这里宽度也算成外扩后的,居中时才对得上。 */
|
|
249
|
+
width: calc(100% + var(--astryx-spacing-4, 16px));
|
|
250
|
+
max-width: calc(var(--astryx-markdown-measure, 100%) + var(--astryx-spacing-4, 16px));
|
|
206
251
|
padding: 0;
|
|
207
252
|
list-style: none;
|
|
208
253
|
}
|
|
@@ -385,8 +430,7 @@
|
|
|
385
430
|
自己的边框。边框在表格元素上而不是包一层,`border-collapse: collapse` 会把它和
|
|
386
431
|
格线合成一条 1px 线,外沿不会叠成双线。 */
|
|
387
432
|
.astryx-markdown__table {
|
|
388
|
-
width:
|
|
389
|
-
min-width: 100%;
|
|
433
|
+
width: 100%;
|
|
390
434
|
border: var(--astryx-border-width, 1px) solid var(--astryx-color-border, #ebebeb);
|
|
391
435
|
border-collapse: collapse;
|
|
392
436
|
border-spacing: 0;
|
package/styles/more-menu.css
CHANGED
|
@@ -142,12 +142,13 @@
|
|
|
142
142
|
padding-block: var(--astryx-spacing-1, 4px);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
+
/* 同上游 DropdownMenuItem 的 itemSizeStyles:md 6px(行高 32px),lg 沿用基础的 8px。 */
|
|
145
146
|
.astryx-more-menu__panel[data-size='md'] .astryx-more-menu__item {
|
|
146
|
-
padding-block: var(--astryx-spacing-
|
|
147
|
+
padding-block: var(--astryx-spacing-1-5, 6px);
|
|
147
148
|
}
|
|
148
149
|
|
|
149
150
|
.astryx-more-menu__panel[data-size='lg'] .astryx-more-menu__item {
|
|
150
|
-
padding-block: var(--astryx-spacing-
|
|
151
|
+
padding-block: var(--astryx-spacing-2, 8px);
|
|
151
152
|
}
|
|
152
153
|
|
|
153
154
|
/*
|
|
@@ -39,15 +39,15 @@
|
|
|
39
39
|
gap: var(--astryx-spacing-2, 8px);
|
|
40
40
|
width: 100%;
|
|
41
41
|
min-width: 0;
|
|
42
|
-
|
|
43
|
-
padding: var(--astryx-
|
|
42
|
+
height: var(--astryx-input-height-md, 32px);
|
|
43
|
+
padding: var(--astryx-spacing-2, 8px) var(--astryx-spacing-3, 12px);
|
|
44
44
|
border: var(--astryx-border-width, 1px) solid var(--astryx-input-status-color, var(--astryx-input-border, #d4d4d4));
|
|
45
45
|
border-radius: var(--astryx-radius-element, 0.625rem);
|
|
46
46
|
background: var(--astryx-input-background, #fff);
|
|
47
47
|
color: var(--astryx-color-text-primary, light-dark(#171717, #fafafa));
|
|
48
48
|
font-family: var(--astryx-font-family-body, Figtree, sans-serif);
|
|
49
|
-
font-size: var(--astryx-text-
|
|
50
|
-
line-height: var(--astryx-text-
|
|
49
|
+
font-size: var(--astryx-text-label-size, 0.875rem);
|
|
50
|
+
line-height: var(--astryx-text-label-leading, 1.4286);
|
|
51
51
|
transition:
|
|
52
52
|
border-color var(--astryx-duration-fast-max, 165ms) var(--astryx-ease-standard, cubic-bezier(0.24, 1, 0.4, 1)),
|
|
53
53
|
box-shadow var(--astryx-duration-fast-max, 165ms) var(--astryx-ease-standard, cubic-bezier(0.24, 1, 0.4, 1)),
|
|
@@ -55,11 +55,11 @@
|
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
.astryx-multi-selector.size-sm .astryx-multi-selector-control {
|
|
58
|
-
|
|
58
|
+
height: var(--astryx-input-height-sm, 28px);
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
.astryx-multi-selector.size-lg .astryx-multi-selector-control {
|
|
62
|
-
|
|
62
|
+
height: var(--astryx-input-height-lg, 36px);
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
.astryx-multi-selector-control.is-ghost {
|
package/styles/number-input.css
CHANGED
|
@@ -125,8 +125,7 @@
|
|
|
125
125
|
display: flex;
|
|
126
126
|
flex-direction: column;
|
|
127
127
|
flex: none;
|
|
128
|
-
|
|
129
|
-
width: max(1.75rem, calc(var(--astryx-radius-element, 0.625rem) + 1.125rem));
|
|
128
|
+
width: var(--astryx-spacing-4, 16px);
|
|
130
129
|
border-inline-start: var(--astryx-border-width, 1px) solid var(--astryx-color-border-emphasized, #d4d4d4);
|
|
131
130
|
}
|
|
132
131
|
|
package/styles/popover.css
CHANGED
|
@@ -69,9 +69,9 @@
|
|
|
69
69
|
font-family: var(--astryx-font-family-body, Figtree, sans-serif);
|
|
70
70
|
font-size: var(--astryx-text-body-size, 0.875rem);
|
|
71
71
|
line-height: var(--astryx-text-body-leading, 1.4286);
|
|
72
|
-
animation-duration: var(--astryx-duration-
|
|
72
|
+
animation-duration: var(--astryx-duration-medium-min, 225ms);
|
|
73
73
|
animation-fill-mode: backwards;
|
|
74
|
-
animation-timing-function: var(--astryx-ease-
|
|
74
|
+
animation-timing-function: var(--astryx-ease-entrance, cubic-bezier(0.24, 1, 0.4, 1));
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
.astryx-popover[data-placement='above'] {
|
package/styles/power-search.css
CHANGED
|
@@ -86,8 +86,17 @@
|
|
|
86
86
|
color: var(--astryx-color-text-secondary, #525252);
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
|
|
89
|
+
/* 同上游 endSection:距字段内缘 8px(控件已有 4px 内边距,再补 4px),项间距 8px。 */
|
|
90
|
+
.astryx-power-search-end {
|
|
91
|
+
display: flex;
|
|
92
|
+
flex: none;
|
|
93
|
+
align-items: center;
|
|
94
|
+
gap: var(--astryx-spacing-2, 8px);
|
|
90
95
|
margin-inline-start: auto;
|
|
96
|
+
padding-inline-end: var(--astryx-spacing-1, 4px);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.astryx-power-search-clear {
|
|
91
100
|
padding: 0;
|
|
92
101
|
border: 0;
|
|
93
102
|
background: transparent;
|
package/styles/pressable.css
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* 它是注册过的自定义属性(`@property`,`<number>`),所以能做动画;
|
|
13
13
|
* 按压色 `--_press-paint` 是「按压 token 乘以这个强度」,作为背景图片画出来。
|
|
14
14
|
* 图片的切换不会被组件自己的颜色过渡拖慢,所以按下的第一帧就是满强度。
|
|
15
|
-
* `fading` 用关键帧把强度从 1 降到 0
|
|
15
|
+
* `fading` 用关键帧把强度从 1 降到 0,时长是主题的 `--astryx-duration-exit`,控制器抬手时读同一个 token(读不到用 PRESS_FADE_MS,175ms)。
|
|
16
16
|
*
|
|
17
17
|
* 组件怎么接:在画按压的元素上带 `data-astryx-pressable`,
|
|
18
18
|
* 在自己的样式里用 `var(--_press-paint-image)` 或 `var(--_press-paint)` 画两条触屏分支,
|
|
@@ -51,11 +51,11 @@
|
|
|
51
51
|
--astryx-press-alpha: 1;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
/*
|
|
54
|
+
/* 淡出播主题的退出时长和曲线(`--astryx-duration-exit`、`--astryx-ease-exit`),所有按压释放共用。 */
|
|
55
55
|
[data-astryx-pressable][data-astryx-press='fading'] {
|
|
56
56
|
animation-name: astryx-press-release;
|
|
57
|
-
animation-duration:
|
|
58
|
-
animation-timing-function: cubic-bezier(0, 0, 0.
|
|
57
|
+
animation-duration: var(--astryx-duration-exit, 175ms);
|
|
58
|
+
animation-timing-function: var(--astryx-ease-exit, cubic-bezier(0.3, 0, 0.6, 0.6));
|
|
59
59
|
animation-fill-mode: both;
|
|
60
60
|
}
|
|
61
61
|
|
package/styles/radio.css
CHANGED
|
@@ -74,14 +74,13 @@
|
|
|
74
74
|
.astryx-radio-content {
|
|
75
75
|
display: flex;
|
|
76
76
|
flex-direction: column;
|
|
77
|
-
gap: 2px;
|
|
78
77
|
min-width: 0;
|
|
79
78
|
}
|
|
80
79
|
|
|
81
80
|
.astryx-radio-label {
|
|
82
81
|
color: var(--astryx-color-text-primary, #171717);
|
|
83
82
|
font-size: var(--astryx-text-body-size, 14px);
|
|
84
|
-
line-height: 1.4286;
|
|
83
|
+
line-height: var(--astryx-text-body-leading, 1.4286);
|
|
85
84
|
}
|
|
86
85
|
|
|
87
86
|
.astryx-radio-description {
|
|
@@ -106,7 +105,7 @@
|
|
|
106
105
|
margin-inline-start: auto;
|
|
107
106
|
color: var(--astryx-color-text-secondary, #525252);
|
|
108
107
|
font-size: var(--astryx-text-body-size, 14px);
|
|
109
|
-
line-height: 1.4286;
|
|
108
|
+
line-height: var(--astryx-text-body-leading, 1.4286);
|
|
110
109
|
}
|
|
111
110
|
|
|
112
111
|
@media (forced-colors: active) {
|
package/styles/section.css
CHANGED
|
@@ -31,6 +31,9 @@
|
|
|
31
31
|
--container-padding-block-end: var(--_section-block-end, var(--_section-pad));
|
|
32
32
|
--layout-padding-outer-x: var(--container-padding-inline-start);
|
|
33
33
|
--layout-padding-outer-y: var(--container-padding-block-start);
|
|
34
|
+
/* 区域之间的内侧间距也跟着 Section 的内边距走,同上游 sectionDefaultPaddingStyles。 */
|
|
35
|
+
--layout-padding-inner-x: var(--container-padding-inline-start);
|
|
36
|
+
--layout-padding-inner-y: var(--container-padding-block-start);
|
|
34
37
|
background-color: var(--astryx-color-background-surface, #fff);
|
|
35
38
|
}
|
|
36
39
|
|
|
@@ -144,6 +144,19 @@
|
|
|
144
144
|
flex-shrink: 0;
|
|
145
145
|
align-items: center;
|
|
146
146
|
justify-content: center;
|
|
147
|
+
width: 16px;
|
|
148
|
+
height: 16px;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
/* 图标槽跟着分段尺寸走:sm 14px、md 16px、lg 18px,和原版一致。 */
|
|
152
|
+
.astryx-segmented-control-item[data-size='sm'] > .astryx-segmented-control-item__icon {
|
|
153
|
+
width: 14px;
|
|
154
|
+
height: 14px;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.astryx-segmented-control-item[data-size='lg'] > .astryx-segmented-control-item__icon {
|
|
158
|
+
width: 18px;
|
|
159
|
+
height: 18px;
|
|
147
160
|
}
|
|
148
161
|
|
|
149
162
|
.astryx-segmented-control-item__label {
|
package/styles/selector.css
CHANGED
|
@@ -26,7 +26,6 @@
|
|
|
26
26
|
|
|
27
27
|
@layer astryx.components {
|
|
28
28
|
.astryx-selector {
|
|
29
|
-
position: relative;
|
|
30
29
|
display: inline-block;
|
|
31
30
|
width: 100%;
|
|
32
31
|
min-width: 0;
|
|
@@ -37,18 +36,23 @@
|
|
|
37
36
|
position: relative;
|
|
38
37
|
display: flex;
|
|
39
38
|
align-items: center;
|
|
40
|
-
|
|
39
|
+
/* 同上游 triggerContainer:触发按钮、箭头、开头图标之间都隔 8px */
|
|
40
|
+
gap: var(--astryx-spacing-2, 8px);
|
|
41
41
|
width: 100%;
|
|
42
42
|
min-width: 0;
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
/* 同上游 sizeStyles:行高随尺寸 token 取值并封顶,上下内边距补齐到最小高度 */
|
|
44
|
+
--_selector-size: var(--astryx-size-element-md, 32px);
|
|
45
|
+
--_selector-line: max(min(var(--astryx-spacing-5, 20px), max(var(--_selector-size) - 2 * var(--astryx-border-width, 1px), 1.5em)), 20px, 1rem);
|
|
46
|
+
min-height: var(--_selector-size);
|
|
47
|
+
padding-block: calc((var(--_selector-size) - var(--_selector-line) - 2 * var(--astryx-border-width, 1px)) / 2);
|
|
48
|
+
padding-inline: var(--astryx-spacing-3, 12px);
|
|
45
49
|
border: var(--astryx-border-width, 1px) solid var(--astryx-input-status-color, var(--astryx-input-border, #d4d4d4));
|
|
46
50
|
border-radius: var(--astryx-radius-element, 0.625rem);
|
|
47
51
|
background: var(--astryx-input-background, #fff);
|
|
48
52
|
color: var(--astryx-color-text-primary, light-dark(#171717, #fafafa));
|
|
49
53
|
font-family: var(--astryx-font-family-body, Figtree, sans-serif);
|
|
50
|
-
font-size: var(--astryx-text-
|
|
51
|
-
line-height: var(--
|
|
54
|
+
font-size: var(--astryx-text-label-size, 0.875rem);
|
|
55
|
+
line-height: var(--_selector-line);
|
|
52
56
|
text-align: start;
|
|
53
57
|
transition:
|
|
54
58
|
border-color var(--astryx-duration-fast-max, 165ms) var(--astryx-ease-standard, cubic-bezier(0.24, 1, 0.4, 1)),
|
|
@@ -74,11 +78,11 @@
|
|
|
74
78
|
}
|
|
75
79
|
|
|
76
80
|
.astryx-selector.size-sm .astryx-selector-field {
|
|
77
|
-
|
|
81
|
+
--_selector-size: var(--astryx-size-element-sm, 28px);
|
|
78
82
|
}
|
|
79
83
|
|
|
80
84
|
.astryx-selector.size-lg .astryx-selector-field {
|
|
81
|
-
|
|
85
|
+
--_selector-size: var(--astryx-size-element-lg, 36px);
|
|
82
86
|
}
|
|
83
87
|
|
|
84
88
|
@media (hover: hover) {
|
|
@@ -110,6 +114,7 @@
|
|
|
110
114
|
.astryx-selector-field.is-ghost {
|
|
111
115
|
border-color: transparent;
|
|
112
116
|
background: transparent;
|
|
117
|
+
font-weight: var(--astryx-font-weight-medium, 500);
|
|
113
118
|
}
|
|
114
119
|
|
|
115
120
|
@media (hover: hover) {
|
|
@@ -215,6 +220,10 @@
|
|
|
215
220
|
text-align: start;
|
|
216
221
|
}
|
|
217
222
|
|
|
223
|
+
.astryx-selector-start-icon {
|
|
224
|
+
flex: none;
|
|
225
|
+
}
|
|
226
|
+
|
|
218
227
|
.astryx-selector-value-icon {
|
|
219
228
|
flex: none;
|
|
220
229
|
color: var(--astryx-color-text-secondary, #525252);
|
|
@@ -369,7 +378,11 @@
|
|
|
369
378
|
.astryx-selector-options {
|
|
370
379
|
display: flex;
|
|
371
380
|
flex-direction: column;
|
|
372
|
-
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
/* 输入框样式的触发器自带 1px 边框,列表左右多留一像素,让选项和触发器里的文字同一条左边。 */
|
|
384
|
+
.astryx-selector-listbox.is-input {
|
|
385
|
+
padding-inline: calc(var(--astryx-spacing-1, 4px) + var(--astryx-border-width, 1px));
|
|
373
386
|
}
|
|
374
387
|
|
|
375
388
|
.astryx-selector-option {
|
|
@@ -392,7 +405,9 @@
|
|
|
392
405
|
outline: none;
|
|
393
406
|
}
|
|
394
407
|
|
|
395
|
-
|
|
408
|
+
/* 选项面板挂在 body 上,不在 .astryx-selector 里面,所以尺寸类要落在面板自己身上。 */
|
|
409
|
+
.astryx-selector.size-sm .astryx-selector-option,
|
|
410
|
+
.astryx-selector-listbox.size-sm .astryx-selector-option {
|
|
396
411
|
padding-block: var(--astryx-spacing-1, 4px);
|
|
397
412
|
}
|
|
398
413
|
|
package/styles/side-nav.css
CHANGED
|
@@ -68,26 +68,56 @@
|
|
|
68
68
|
padding: var(--astryx-spacing-2, 8px);
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
+
/* 同上游 stickyTop:顶部区域 sticky,也是内部绝对定位元素(如隐藏标签)的包含块。 */
|
|
72
|
+
.astryx-side-nav__top {
|
|
73
|
+
position: sticky;
|
|
74
|
+
inset-block-start: 0;
|
|
75
|
+
z-index: 1;
|
|
76
|
+
background-color: inherit;
|
|
77
|
+
}
|
|
78
|
+
|
|
71
79
|
.astryx-side-nav--collapsed .astryx-side-nav__top,
|
|
72
80
|
.astryx-side-nav--collapsed .astryx-side-nav__bottom,
|
|
73
81
|
.astryx-side-nav--collapsed .astryx-side-nav__body {
|
|
74
82
|
align-items: center;
|
|
75
83
|
}
|
|
76
84
|
|
|
85
|
+
/* 同上游 stickyBottom:底部区域 sticky,同时是内部隐藏标签的包含块。 */
|
|
77
86
|
.astryx-side-nav__bottom {
|
|
87
|
+
position: sticky;
|
|
88
|
+
inset-block-end: 0;
|
|
89
|
+
margin-block-start: auto;
|
|
78
90
|
padding-block-start: var(--astryx-spacing-1, 4px);
|
|
91
|
+
background-color: inherit;
|
|
79
92
|
}
|
|
80
93
|
|
|
81
94
|
.astryx-side-nav__body {
|
|
82
95
|
display: flex;
|
|
83
96
|
flex: 1 1 auto;
|
|
84
97
|
flex-direction: column;
|
|
85
|
-
gap: var(--astryx-spacing-1, 4px);
|
|
86
98
|
min-height: 0;
|
|
87
99
|
padding: var(--astryx-spacing-1, 4px) var(--astryx-spacing-2, 8px);
|
|
88
100
|
overflow: auto;
|
|
89
101
|
}
|
|
90
102
|
|
|
103
|
+
.astryx-side-nav__body--no-top {
|
|
104
|
+
padding-block-start: var(--astryx-spacing-2, 8px);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.astryx-side-nav__body--no-bottom {
|
|
108
|
+
padding-block-end: var(--astryx-spacing-2, 8px);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.astryx-side-nav__footer-row {
|
|
112
|
+
display: flex;
|
|
113
|
+
align-items: center;
|
|
114
|
+
gap: var(--astryx-spacing-1, 4px);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.astryx-side-nav--collapsed .astryx-side-nav__footer-row {
|
|
118
|
+
flex-direction: column-reverse;
|
|
119
|
+
}
|
|
120
|
+
|
|
91
121
|
.astryx-side-nav__heading-row,
|
|
92
122
|
.astryx-side-nav__footer-icons {
|
|
93
123
|
display: flex;
|
|
@@ -122,7 +152,6 @@
|
|
|
122
152
|
.astryx-side-nav-section {
|
|
123
153
|
display: flex;
|
|
124
154
|
flex-direction: column;
|
|
125
|
-
gap: var(--astryx-spacing-0-5, 2px);
|
|
126
155
|
width: 100%;
|
|
127
156
|
padding-block: var(--astryx-spacing-1, 4px);
|
|
128
157
|
}
|
|
@@ -145,6 +174,11 @@
|
|
|
145
174
|
padding: var(--astryx-spacing-1, 4px) var(--astryx-spacing-2, 8px);
|
|
146
175
|
}
|
|
147
176
|
|
|
177
|
+
.astryx-side-nav-section__header.astryx-visually-hidden {
|
|
178
|
+
display: block;
|
|
179
|
+
padding: 0;
|
|
180
|
+
}
|
|
181
|
+
|
|
148
182
|
.astryx-side-nav-section__title,
|
|
149
183
|
.astryx-side-nav-section__subtitle {
|
|
150
184
|
overflow: hidden;
|
|
@@ -178,6 +212,10 @@
|
|
|
178
212
|
text-decoration: none;
|
|
179
213
|
}
|
|
180
214
|
|
|
215
|
+
.astryx-side-nav-heading:has(.astryx-nav-icon) {
|
|
216
|
+
padding-inline-start: 0;
|
|
217
|
+
}
|
|
218
|
+
|
|
181
219
|
.astryx-side-nav-heading--collapsed {
|
|
182
220
|
justify-content: center;
|
|
183
221
|
width: 32px;
|
|
@@ -316,10 +354,36 @@
|
|
|
316
354
|
transition: transform var(--astryx-duration-fast-max) var(--astryx-ease-standard);
|
|
317
355
|
}
|
|
318
356
|
|
|
357
|
+
/* 字形盒子在按钮图标槽里居中,不吃图标自带的 -0.125em 基线偏移。 */
|
|
358
|
+
.astryx-side-nav-collapse__chevron {
|
|
359
|
+
vertical-align: baseline;
|
|
360
|
+
}
|
|
361
|
+
|
|
319
362
|
[dir='rtl'] .astryx-side-nav-collapse__mirror {
|
|
320
363
|
transform: scaleX(-1);
|
|
321
364
|
}
|
|
322
365
|
|
|
366
|
+
/*
|
|
367
|
+
* 原版的行内展开箭头:24px 宽的盒子,字形按行内字号走(14px 的 1em),不用 sm 的 16px。
|
|
368
|
+
* 独立的展开按钮里同一个箭头高 24px。
|
|
369
|
+
*/
|
|
370
|
+
.astryx-side-nav-item .astryx-icon.astryx-side-nav-item__chevron {
|
|
371
|
+
flex: none;
|
|
372
|
+
width: var(--astryx-spacing-6, 24px);
|
|
373
|
+
height: auto;
|
|
374
|
+
font-size: inherit;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
.astryx-side-nav-item__toggle .astryx-icon.astryx-side-nav-item__chevron {
|
|
378
|
+
height: var(--astryx-spacing-6, 24px);
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
.astryx-side-nav-item__chevron .astryx-icon__glyph {
|
|
382
|
+
flex: none;
|
|
383
|
+
width: 1em;
|
|
384
|
+
height: 1em;
|
|
385
|
+
}
|
|
386
|
+
|
|
323
387
|
.astryx-side-nav-item { width: 100%; }
|
|
324
388
|
|
|
325
389
|
/* Nested rows keep the full-width surface; only their content moves inward. */
|
|
@@ -348,6 +412,15 @@
|
|
|
348
412
|
min-width: 0;
|
|
349
413
|
}
|
|
350
414
|
|
|
415
|
+
/* 原版把动作放在整行内边距里:行尾内缩 8px,主按钮与动作之间 8px。 */
|
|
416
|
+
.astryx-side-nav-item__main:has(> .astryx-side-nav-item__actions) {
|
|
417
|
+
padding-inline-end: var(--astryx-spacing-2, 8px);
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
.astryx-side-nav-item__main:has(> .astryx-side-nav-item__actions) > .astryx-nav-item {
|
|
421
|
+
padding-inline-end: var(--astryx-spacing-1, 4px);
|
|
422
|
+
}
|
|
423
|
+
|
|
351
424
|
.astryx-side-nav-item__actions {
|
|
352
425
|
display: inline-flex;
|
|
353
426
|
flex: none;
|
package/styles/slider.css
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
position: relative;
|
|
12
12
|
flex: 1;
|
|
13
13
|
min-width: 20px;
|
|
14
|
-
height:
|
|
14
|
+
height: 20px;
|
|
15
15
|
touch-action: none;
|
|
16
16
|
user-select: none;
|
|
17
17
|
isolation: isolate;
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
}
|
|
90
90
|
.astryx-slider-mark-label:dir(rtl) { transform: translateX(50%); }
|
|
91
91
|
.astryx-slider[data-mark-labels='true'][data-orientation='horizontal'] .astryx-slider-row { margin-bottom: 24px; }
|
|
92
|
-
.astryx-slider[data-orientation='vertical'] .astryx-slider-control { flex: none; width:
|
|
92
|
+
.astryx-slider[data-orientation='vertical'] .astryx-slider-control { flex: none; width: 20px; height: var(--astryx-slider-height, 160px); }
|
|
93
93
|
.astryx-slider[data-orientation='vertical'] :is(.astryx-slider-track, .astryx-slider-fill) { top: auto; left: 50%; width: 4px; height: auto; transform: translateX(-50%); }
|
|
94
94
|
.astryx-slider[data-orientation='vertical'] .astryx-slider-track { top: 0; bottom: 0; inset-inline-end: auto; }
|
|
95
95
|
.astryx-slider[data-orientation='vertical'] .astryx-slider-thumb { top: auto; left: 50%; transform: translate(-50%, 50%); }
|
|
@@ -98,6 +98,9 @@
|
|
|
98
98
|
.astryx-slider[data-mark-labels='true'][data-orientation='vertical'] .astryx-slider-control { margin-inline-end: 4rem; }
|
|
99
99
|
@media (pointer: coarse) {
|
|
100
100
|
.astryx-slider-thumb::before { content: ''; position: absolute; inset: -2px; }
|
|
101
|
+
/* 控件和滑块一样高(20px),手指点按时把可点区域撑到 WCAG 2.5.8 的 24px,轨道和滑块都居中不动。 */
|
|
102
|
+
.astryx-slider-control { min-height: 24px; }
|
|
103
|
+
.astryx-slider[data-orientation='vertical'] .astryx-slider-control { min-width: 24px; }
|
|
101
104
|
}
|
|
102
105
|
@media (prefers-reduced-motion: reduce) {
|
|
103
106
|
.astryx-slider-thumb { transition: none; }
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
|
|
3
|
+
/* 轨道模式(指示点画在连接线上)的布局:竖向一个网格,横向轨道在控件里面。 */
|
|
4
|
+
@layer astryx.components {
|
|
5
|
+
/* 竖向轨道:指示点画在左边的轨道列里(和连接线同一列),控件里只剩标签和说明。 */
|
|
6
|
+
.astryx-step[data-orientation='vertical'][data-indicator-position='on-track'] .astryx-step-control {
|
|
7
|
+
display: grid;
|
|
8
|
+
grid-template-columns: minmax(0, 1fr);
|
|
9
|
+
align-items: start;
|
|
10
|
+
row-gap: var(--astryx-spacing-0-5, 2px);
|
|
11
|
+
padding-inline: 0 var(--_step-space);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.astryx-step[data-orientation='vertical'][data-indicator-position='on-track'] .astryx-step-row {
|
|
15
|
+
display: contents;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.astryx-step[data-orientation='vertical'][data-indicator-position='on-track'] > .astryx-step-rail {
|
|
19
|
+
margin-inline-start: var(--_step-space);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.astryx-step[data-orientation='vertical'][data-indicator-position='on-track'] .astryx-step-description {
|
|
23
|
+
padding-inline-start: 0;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/*
|
|
27
|
+
* 横向轨道:[连接线][指示点][连接线] 一行,标签在下面居中,整块是一个点击目标。
|
|
28
|
+
* 左右不加内边距,轨道才能一直拉到步骤边缘和相邻步骤接上。
|
|
29
|
+
*/
|
|
30
|
+
.astryx-step[data-orientation='horizontal'][data-indicator-position='on-track'] .astryx-step-control {
|
|
31
|
+
padding-inline: 0;
|
|
32
|
+
text-align: center;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.astryx-step-track {
|
|
36
|
+
display: flex;
|
|
37
|
+
align-items: center;
|
|
38
|
+
width: 100%;
|
|
39
|
+
pointer-events: none;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.astryx-step[data-orientation='horizontal'][data-indicator-position='on-track'] .astryx-step-row {
|
|
43
|
+
display: contents;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.astryx-step[data-orientation='horizontal'][data-indicator-position='on-track'] .astryx-step-label-row {
|
|
47
|
+
flex-wrap: wrap;
|
|
48
|
+
justify-content: center;
|
|
49
|
+
margin-block-start: var(--_step-space);
|
|
50
|
+
gap: var(--astryx-spacing-1, 4px);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.astryx-step[data-orientation='horizontal'][data-indicator-position='on-track'] .astryx-step-description {
|
|
54
|
+
margin-block-start: var(--astryx-spacing-0-5, 2px);
|
|
55
|
+
padding-inline-start: 0;
|
|
56
|
+
}
|
|
57
|
+
}
|