@astryx-vue/core 0.7.21 → 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-C-7Ko5Iz.js → AlertDialog-Clj4LQbD.js} +14 -8
- 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-Caxyz9SE.js → AvatarGroup-DbWLEmi1.js} +2 -2
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Banner/index.js +1 -1
- package/dist/{Banner-DbyQDB6e.js → Banner-B_mAF0Cw.js} +7 -5
- 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-DI7yRoNk.js → Breadcrumbs-b00jtj_I.js} +2 -2
- package/dist/Button/index.js +1 -1
- package/dist/{Button-j-zrKX71.js → Button-DVXOKWAy.js} +10 -77
- 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-C3ImYBio.js → Calendar-d_uOkvFE.js} +3 -3
- 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-BQDdfnXx.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-CNPH-uIM.js → Chat-BCeC0sHI.js} +11 -8
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-B5xAXedF.js → CheckboxInput-B4pDfjvr.js} +5 -5
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-DtX0fbxc.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-Co1tB4i-.js → ClickableCard-jEBZbzHE.js} +2 -2
- package/dist/Code/index.js +1 -1
- package/dist/{CodeBlock-D3YjfbpG.js → CodeBlock-C8ZQsnEc.js} +17 -6
- 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-DS23yb98.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-Bg_CG9Gq.js → DateInput-B0t3u-_h.js} +16 -14
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-Dz2AUP0I.js → DateRangeInput-CZcASUxa.js} +14 -12
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-BVbqFtKG.js → DateTimeInput-vkdQJjsh.js} +15 -13
- package/dist/Dialog/index.js +1 -1
- package/dist/{DialogHeader-B9o0yEd3.js → DialogHeader-Doo2W2Ni.js} +26 -17
- package/dist/Drawer/index.d.ts +1 -1
- package/dist/Drawer/index.js +1 -1
- package/dist/{Drawer-D15rGbvd.js → Drawer-Ca7Dny6L.js} +1 -1
- package/dist/DropdownMenu/index.js +3 -3
- package/dist/{DropdownMenu-DntJ04S-.js → DropdownMenu-ogcv4KxT.js} +8 -8
- package/dist/{DropdownMenu-Ct4EORZS.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-CQkyMITp.js → Field-DLg-trP2.js} +2 -2
- package/dist/{FieldIcon--Qng2Cup.js → FieldIcon-CxTnEb4Y.js} +1 -1
- package/dist/{FieldInfoTip-DJjB5GkG.js → FieldInfoTip-gWPWGd3Q.js} +3 -3
- package/dist/{FieldLabel-D9uEygay.js → FieldLabel-D5_Pap_W.js} +9 -5
- package/dist/FieldStatus/index.js +1 -1
- package/dist/{FieldStatus-BOtg9PvT.js → FieldStatus-D6Vo_dU5.js} +4 -3
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-tLDnY0rm.js → FileInput-eBk4ZBY8.js} +9 -9
- 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-CR5nMj-j.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-C1LdboAn.js → InputClearButton-DjLXIYX4.js} +3 -3
- package/dist/InputGroup/index.d.ts +1 -1
- package/dist/InputGroup/index.js +1 -1
- package/dist/{InputGroup-Tvm7cVv3.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-Cu56MBXY.js → Lightbox-BKIn3xh8.js} +3 -3
- package/dist/Link/index.d.ts +3 -3
- package/dist/Link/index.js +1 -1
- package/dist/{Link-YpnthlXS.js → Link-Qhzs2lcO.js} +27 -20
- 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-DLeP1tb9.js → Markdown-BJFwe_pB.js} +9 -7
- 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-B2RqL8Dk.js → MoreMenu-VgbqyoGW.js} +13 -11
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-BdEMzzhg.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.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-DC-_pL6R.js → NumberInput-CkYRY1KW.js} +18 -31
- 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.js +1 -1
- package/dist/{Pagination-968o5gbr.js → Pagination-Cn53Nqe3.js} +2 -2
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-nNZl2uqy.js → Popover-Cbv5LUWL.js} +10 -6
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-CibPe6gr.js → PowerSearch-DtncqsYh.js} +88 -73
- 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-DuhW4utO.js → RadioGroup-B2lYTCeV.js} +4 -4
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioList-Bq3Ndazr.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-DmV8zq4L.js → SelectableCard-2a2gsxys.js} +2 -2
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-Bl_vRB6B.js → Selector-CgrXQtte.js} +121 -51
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-BkYc75A-.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-DmQDKGvY.js → Slider-CEhy-D-R.js} +3 -3
- 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-CWoK1f1i.js → Stepper-DVXisudw.js} +148 -66
- package/dist/Switch/index.d.ts +2 -2
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-D_P5kd9S.js → Switch-DXShvaDA.js} +11 -5
- 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-By-8bJNs.js → Table-RQ5wklzn.js} +27 -19
- 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-MbA1CHBn.js → TextArea-D1QHRYUp.js} +23 -13
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-BTh_93lB.js → TextInput-ZSr9jgdk.js} +10 -7
- package/dist/Theme/index.js +1 -1
- package/dist/{Theme-Db264zBm.js → Theme-D7_fQWgb.js} +569 -3
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-BICV4We5.js → Thumbnail-CYRPjf1Y.js} +6 -6
- package/dist/{TimeField-aSYbUpCL.js → TimeField-DnfFPnBT.js} +9 -9
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-adg4eX-J.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-Ip2NKQJq.js → Timestamp-hepTGx5N.js} +5 -5
- package/dist/Toast/index.js +1 -1
- package/dist/{Toast-BXHyruqR.js → Toast-DRIZNfyy.js} +24 -18
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/ToggleButton/index.js +1 -1
- package/dist/{ToggleButton-CyZswHtC.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-BbB7QIzQ.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-CFOX5CtL.js → Typeahead-ClidGB0O.js} +8 -8
- package/dist/{TypeaheadMenu-CafYGgVa.js → TypeaheadMenu-Bu9HO-wZ.js} +1 -1
- 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-COxy6LEW.d.ts → index-6kd7pher.d.ts} +0 -1
- package/dist/{index-ChCcxRFB.d.ts → index-9eluGe3a.d.ts} +1 -1
- package/dist/{index-YiuDd72p.d.ts → index-B7VpAZYk.d.ts} +20 -7
- package/dist/{index-BuubzuE8.d.ts → index-BDZCJ9ri.d.ts} +2 -2
- package/dist/{index-BlujHTbz.d.ts → index-BRXgpLcd.d.ts} +3 -4
- package/dist/{index-G935Rujh.d.ts → index-BUZDSd-n.d.ts} +96 -2
- package/dist/{index-C085uLOn.d.ts → index-Be7N3B5F.d.ts} +1 -2
- package/dist/{index-B8EnP-PB.d.ts → index-BfQ85cS8.d.ts} +0 -1
- 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-oYGkhGRq.d.ts → index-CM8KfpBL.d.ts} +1 -2
- package/dist/{index-B9xI9ns-.d.ts → index-CfOpGR_m.d.ts} +188 -120
- 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-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-QmmrXztz.d.ts → index-DgmlhvRV.d.ts} +3 -3
- package/dist/{index-CAttPKaF.d.ts → index-DjVJDoz4.d.ts} +1 -1
- 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-ChOyJzJh.d.ts → index-Q1oG9yIT.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-mcNmCMqs.d.ts → index-uqEqPcmR.d.ts} +2 -2
- package/dist/index.d.ts +60 -61
- 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-BTUZRCT6.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-CX16yX33.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/{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-BJ9Wim6J.d.ts → index-BqhgeAT4.d.ts} +1 -1
|
@@ -1,104 +1,196 @@
|
|
|
1
1
|
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
2
|
|
|
3
3
|
@layer astryx.components {
|
|
4
|
-
.
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
--_conceal-opacity: 1;
|
|
9
|
-
}
|
|
4
|
+
/* 与上游 containerReveal.stylex.ts 对齐。StyleX 按「属性 + 条件」后者覆盖,这里用嵌套层表达条件优先级:
|
|
5
|
+
rest < focus-within < hover(仅 hover: hover 且未禁用)< 粗指针 < 元素自身覆盖。
|
|
6
|
+
同一层内 --inactive / --active 写在容器之后,等价于 StyleX 里同条件的替换。 */
|
|
7
|
+
@layer rest, focus, hover, coarse, content, override;
|
|
10
8
|
|
|
11
|
-
@
|
|
12
|
-
.astryx-reveal
|
|
13
|
-
--
|
|
14
|
-
--_reveal-
|
|
15
|
-
--
|
|
9
|
+
@layer rest {
|
|
10
|
+
.astryx-reveal {
|
|
11
|
+
--_hover-delay: 0s;
|
|
12
|
+
--_reveal-opacity: 0;
|
|
13
|
+
--_reveal-position: absolute;
|
|
14
|
+
--_reveal-delay: 0s, var(--astryx-duration-fast-max, 165ms);
|
|
15
|
+
--_reveal-delay-reduced: 0s, 0s;
|
|
16
|
+
--_conceal-opacity: 1;
|
|
17
|
+
--_fade-delay: 0s;
|
|
16
18
|
}
|
|
17
19
|
|
|
18
|
-
.astryx-reveal--inactive
|
|
20
|
+
.astryx-reveal--inactive {
|
|
19
21
|
--_reveal-opacity: 0;
|
|
20
22
|
--_reveal-position: absolute;
|
|
23
|
+
--_reveal-delay: 0s, var(--astryx-duration-fast-max, 165ms);
|
|
24
|
+
--_reveal-delay-reduced: 0s, 0s;
|
|
21
25
|
--_conceal-opacity: 1;
|
|
26
|
+
--_fade-delay: 0s;
|
|
22
27
|
}
|
|
23
|
-
}
|
|
24
28
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
+
.astryx-reveal--active {
|
|
30
|
+
--_reveal-opacity: 1;
|
|
31
|
+
--_reveal-position: static;
|
|
32
|
+
--_reveal-delay: 0s, 0s;
|
|
33
|
+
--_reveal-delay-reduced: 0s, 0s;
|
|
34
|
+
--_conceal-opacity: 0;
|
|
35
|
+
--_fade-delay: 0s;
|
|
36
|
+
}
|
|
29
37
|
}
|
|
30
38
|
|
|
31
|
-
@
|
|
32
|
-
.astryx-reveal {
|
|
39
|
+
@layer focus {
|
|
40
|
+
.astryx-reveal:focus-within {
|
|
33
41
|
--_reveal-opacity: 1;
|
|
34
42
|
--_reveal-position: static;
|
|
43
|
+
--_reveal-delay: 0s, 0s;
|
|
44
|
+
--_reveal-delay-reduced: 0s, 0s;
|
|
45
|
+
--_fade-delay: 0s;
|
|
35
46
|
}
|
|
36
|
-
}
|
|
37
47
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
transition-delay: var(--_reveal-delay, 0s);
|
|
46
|
-
transition-behavior: allow-discrete;
|
|
47
|
-
}
|
|
48
|
+
.astryx-reveal--inactive:focus-within {
|
|
49
|
+
--_reveal-opacity: 1;
|
|
50
|
+
--_reveal-position: static;
|
|
51
|
+
--_reveal-delay: 0s, 0s;
|
|
52
|
+
--_reveal-delay-reduced: 0s, 0s;
|
|
53
|
+
--_fade-delay: 0s;
|
|
54
|
+
}
|
|
48
55
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
--_reveal-
|
|
56
|
+
.astryx-reveal--active:focus-within {
|
|
57
|
+
--_reveal-opacity: 1;
|
|
58
|
+
--_reveal-position: static;
|
|
59
|
+
--_reveal-delay: 0s, 0s;
|
|
60
|
+
--_reveal-delay-reduced: 0s, 0s;
|
|
61
|
+
--_fade-delay: 0s;
|
|
52
62
|
}
|
|
53
63
|
}
|
|
54
64
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
65
|
+
@layer hover {
|
|
66
|
+
@media (hover: hover) {
|
|
67
|
+
.astryx-reveal:hover:where(:not(:disabled, [aria-disabled="true"])) {
|
|
68
|
+
--_reveal-opacity: 1;
|
|
69
|
+
--_reveal-position: static;
|
|
70
|
+
--_reveal-delay: var(--_hover-delay, 0s), var(--_hover-delay, 0s);
|
|
71
|
+
--_reveal-delay-reduced: var(--_hover-delay, 0s), var(--_hover-delay, 0s);
|
|
72
|
+
--_conceal-opacity: 0;
|
|
73
|
+
--_fade-delay: var(--_hover-delay, 0s);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.astryx-reveal--inactive:hover:where(:not(:disabled, [aria-disabled="true"])) {
|
|
77
|
+
--_reveal-opacity: 0;
|
|
78
|
+
--_reveal-position: absolute;
|
|
79
|
+
--_reveal-delay: 0s, var(--astryx-duration-fast-max, 165ms);
|
|
80
|
+
--_reveal-delay-reduced: 0s, 0s;
|
|
81
|
+
--_conceal-opacity: 1;
|
|
82
|
+
--_fade-delay: 0s;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.astryx-reveal--active:hover:where(:not(:disabled, [aria-disabled="true"])) {
|
|
86
|
+
--_reveal-opacity: 1;
|
|
87
|
+
--_reveal-position: static;
|
|
88
|
+
--_reveal-delay: 0s, 0s;
|
|
89
|
+
--_reveal-delay-reduced: 0s, 0s;
|
|
90
|
+
--_conceal-opacity: 0;
|
|
91
|
+
--_fade-delay: 0s;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
60
94
|
}
|
|
61
95
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
96
|
+
@layer coarse {
|
|
97
|
+
@media (pointer: coarse) {
|
|
98
|
+
.astryx-reveal {
|
|
99
|
+
--_reveal-opacity: 1;
|
|
100
|
+
--_reveal-position: static;
|
|
101
|
+
--_reveal-delay: 0s, 0s;
|
|
102
|
+
--_reveal-delay-reduced: 0s, 0s;
|
|
103
|
+
--_fade-delay: 0s;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.astryx-reveal--inactive {
|
|
107
|
+
--_reveal-opacity: 1;
|
|
108
|
+
--_reveal-position: static;
|
|
109
|
+
--_reveal-delay: 0s, 0s;
|
|
110
|
+
--_reveal-delay-reduced: 0s, 0s;
|
|
111
|
+
--_fade-delay: 0s;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.astryx-reveal--active {
|
|
115
|
+
--_reveal-opacity: 1;
|
|
116
|
+
--_reveal-position: static;
|
|
117
|
+
--_reveal-delay: 0s, 0s;
|
|
118
|
+
--_reveal-delay-reduced: 0s, 0s;
|
|
119
|
+
--_fade-delay: 0s;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
65
122
|
}
|
|
66
123
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
124
|
+
@layer content {
|
|
125
|
+
.astryx-reveal__content:not(.astryx-reveal__content--preserve) {
|
|
126
|
+
transition-property: opacity, position;
|
|
127
|
+
transition-duration: var(--astryx-duration-fast-max, 165ms), 0s;
|
|
128
|
+
transition-timing-function: var(--astryx-ease-standard, cubic-bezier(0.24, 1, 0.4, 1));
|
|
129
|
+
transition-behavior: allow-discrete;
|
|
130
|
+
transition-delay: var(--_reveal-delay, 0s, 0s);
|
|
131
|
+
opacity: var(--_reveal-opacity, 1);
|
|
132
|
+
position: var(--_reveal-position, static);
|
|
133
|
+
}
|
|
70
134
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
135
|
+
/* 保留布局的版本只淡入淡出,不脱离文档流。 */
|
|
136
|
+
.astryx-reveal__content--preserve,
|
|
137
|
+
.astryx-reveal__conceal,
|
|
138
|
+
.astryx-reveal__conceal--preserve {
|
|
139
|
+
transition-property: opacity;
|
|
140
|
+
transition-duration: var(--astryx-duration-fast-max, 165ms);
|
|
141
|
+
transition-timing-function: var(--astryx-ease-standard, cubic-bezier(0.24, 1, 0.4, 1));
|
|
142
|
+
transition-delay: var(--_fade-delay, 0s);
|
|
143
|
+
}
|
|
75
144
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
}
|
|
145
|
+
.astryx-reveal__content--preserve {
|
|
146
|
+
opacity: var(--_reveal-opacity, 1);
|
|
147
|
+
}
|
|
80
148
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
149
|
+
.astryx-reveal__conceal,
|
|
150
|
+
.astryx-reveal__conceal--preserve {
|
|
151
|
+
opacity: var(--_conceal-opacity, 1);
|
|
152
|
+
}
|
|
85
153
|
|
|
86
|
-
|
|
87
|
-
|
|
154
|
+
@media (prefers-reduced-motion: reduce) {
|
|
155
|
+
.astryx-reveal__content:not(.astryx-reveal__content--preserve) {
|
|
156
|
+
transition-duration: 0s, 0s;
|
|
157
|
+
transition-delay: var(--_reveal-delay-reduced, 0s, 0s);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.astryx-reveal__content--preserve,
|
|
161
|
+
.astryx-reveal__conceal,
|
|
162
|
+
.astryx-reveal__conceal--preserve {
|
|
163
|
+
transition-duration: 0s;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
88
166
|
}
|
|
89
167
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
168
|
+
/* 单个元素的覆盖:不读容器状态。hidden 遇到自身焦点仍会露出。 */
|
|
169
|
+
@layer override {
|
|
170
|
+
.astryx-reveal__shown {
|
|
171
|
+
opacity: 1;
|
|
172
|
+
position: static;
|
|
173
|
+
transition-delay: 0s;
|
|
174
|
+
}
|
|
95
175
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
176
|
+
.astryx-reveal__hidden {
|
|
177
|
+
opacity: 0;
|
|
178
|
+
position: absolute;
|
|
179
|
+
transition-delay: 0s;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.astryx-reveal__hidden--preserve {
|
|
183
|
+
opacity: 0;
|
|
184
|
+
transition-delay: 0s;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.astryx-reveal__hidden:focus-within {
|
|
188
|
+
opacity: 1;
|
|
189
|
+
position: static;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.astryx-reveal__hidden--preserve:focus-within {
|
|
193
|
+
opacity: 1;
|
|
102
194
|
}
|
|
103
195
|
}
|
|
104
196
|
}
|
package/styles/dialog-header.css
CHANGED
|
@@ -9,6 +9,12 @@
|
|
|
9
9
|
gap: var(--astryx-spacing-3, 12px);
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
+
.astryx-dialog-header[data-layout-header] {
|
|
13
|
+
padding-inline: var(--layout-padding-own-outer-x, var(--layout-padding-outer-x, var(--astryx-spacing-4, 16px)));
|
|
14
|
+
padding-block-start: var(--layout-padding-own-outer-y, var(--layout-padding-outer-y, var(--astryx-spacing-4, 16px)));
|
|
15
|
+
padding-block-end: var(--layout-padding-inner-y, var(--astryx-spacing-4, 16px));
|
|
16
|
+
}
|
|
17
|
+
|
|
12
18
|
.astryx-dialog-header--divider {
|
|
13
19
|
border-block-end: var(--astryx-dialog-header-divider-width, 1px) solid var(--astryx-color-border, light-dark(#ebebeb, #ffffff1a));
|
|
14
20
|
}
|
package/styles/dialog.css
CHANGED
|
@@ -21,7 +21,8 @@
|
|
|
21
21
|
inset: 0;
|
|
22
22
|
margin: auto;
|
|
23
23
|
width: 400px;
|
|
24
|
-
|
|
24
|
+
/* 同原版:不超过容器,也不超过视口宽度减去两侧各 16px。 */
|
|
25
|
+
max-width: min(100%, calc(100dvw - 2 * var(--astryx-spacing-4, 1rem)));
|
|
25
26
|
max-height: 75vh;
|
|
26
27
|
height: fit-content;
|
|
27
28
|
padding: 0;
|
|
@@ -43,7 +44,7 @@
|
|
|
43
44
|
|
|
44
45
|
.astryx-dialog[open] {
|
|
45
46
|
display: flex;
|
|
46
|
-
animation: astryx-dialog-enter var(--astryx-duration-medium-max, 400ms) var(--astryx-ease-
|
|
47
|
+
animation: astryx-dialog-enter var(--astryx-duration-medium-max, 400ms) var(--astryx-ease-entrance, cubic-bezier(0.24, 1, 0.4, 1)) backwards;
|
|
47
48
|
}
|
|
48
49
|
|
|
49
50
|
.astryx-dialog::backdrop {
|
|
@@ -52,11 +53,10 @@
|
|
|
52
53
|
}
|
|
53
54
|
|
|
54
55
|
.astryx-dialog--inline {
|
|
55
|
-
position:
|
|
56
|
+
position: static;
|
|
56
57
|
inset: auto;
|
|
57
58
|
margin: 0;
|
|
58
59
|
display: flex;
|
|
59
|
-
max-width: 100%;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
.astryx-dialog--fullscreen {
|
|
@@ -68,21 +68,41 @@
|
|
|
68
68
|
border-radius: 0;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
+
/*
|
|
72
|
+
* 四边内边距各用一个变量,同时公布给 Layout 这类会“撑出去”的子元素:
|
|
73
|
+
* Layout 靠 --container-padding-* 用负外边距顶到对话框边缘,各区域再按
|
|
74
|
+
* --layout-padding-* 自己补内边距(和原版一致,页头、内容、页脚各管各的)。
|
|
75
|
+
*/
|
|
71
76
|
.astryx-dialog__inner {
|
|
77
|
+
--_dialog-pad-block-start: var(--_dialog-padding, var(--astryx-dialog-padding, var(--astryx-spacing-4, 1rem)));
|
|
78
|
+
--_dialog-pad-block-end: var(--_dialog-pad-block-start);
|
|
79
|
+
--_dialog-pad-inline-start: var(--_dialog-pad-block-start);
|
|
80
|
+
--_dialog-pad-inline-end: var(--_dialog-pad-block-start);
|
|
81
|
+
--container-padding-block-start: var(--_dialog-pad-block-start);
|
|
82
|
+
--container-padding-block-end: var(--_dialog-pad-block-end);
|
|
83
|
+
--container-padding-inline-start: var(--_dialog-pad-inline-start);
|
|
84
|
+
--container-padding-inline-end: var(--_dialog-pad-inline-end);
|
|
85
|
+
--layout-padding-own-outer-x: initial;
|
|
86
|
+
--layout-padding-own-outer-y: initial;
|
|
87
|
+
--layout-padding-outer-x: var(--_dialog-pad-inline-start);
|
|
88
|
+
--layout-padding-outer-y: var(--_dialog-pad-block-start);
|
|
89
|
+
--layout-padding-inner-x: var(--_dialog-pad-inline-start);
|
|
90
|
+
--layout-padding-inner-y: var(--_dialog-pad-block-start);
|
|
72
91
|
display: flex;
|
|
73
92
|
flex: 1 1 auto;
|
|
74
93
|
flex-direction: column;
|
|
75
94
|
min-height: 0;
|
|
76
95
|
overflow: hidden;
|
|
77
96
|
border-radius: inherit;
|
|
78
|
-
padding: var(--_dialog-
|
|
97
|
+
padding-block: var(--_dialog-pad-block-start) var(--_dialog-pad-block-end);
|
|
98
|
+
padding-inline: var(--_dialog-pad-inline-start) var(--_dialog-pad-inline-end);
|
|
79
99
|
}
|
|
80
100
|
|
|
81
101
|
.astryx-dialog--fullscreen:not([data-padded]) > .astryx-dialog__inner {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
102
|
+
--_dialog-pad-block-start: max(var(--astryx-spacing-4, 1rem), env(safe-area-inset-top, 0px));
|
|
103
|
+
--_dialog-pad-block-end: max(var(--astryx-spacing-4, 1rem), env(safe-area-inset-bottom, 0px));
|
|
104
|
+
--_dialog-pad-inline-start: max(var(--astryx-spacing-4, 1rem), env(safe-area-inset-left, 0px));
|
|
105
|
+
--_dialog-pad-inline-end: max(var(--astryx-spacing-4, 1rem), env(safe-area-inset-right, 0px));
|
|
86
106
|
}
|
|
87
107
|
|
|
88
108
|
/*
|
package/styles/dropdown-menu.css
CHANGED
|
@@ -141,17 +141,18 @@
|
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
/* Step for step with a list item's density, so the three sizes are
|
|
144
|
-
distinguishable and every menu behaves the same.
|
|
145
|
-
|
|
144
|
+
distinguishable and every menu behaves the same. 勾选行和单选行不跟菜单尺寸,
|
|
145
|
+
上游里它们用 Item 默认的 balanced 内边距。 */
|
|
146
|
+
.astryx-dropdown-menu .astryx-item.astryx-dropdown-menu-item:not([role='menuitemcheckbox'], [role='menuitemradio'])[data-menu-size='sm'] {
|
|
146
147
|
padding-block: var(--astryx-spacing-1, 4px);
|
|
147
148
|
}
|
|
148
149
|
|
|
149
|
-
.astryx-dropdown-menu .astryx-item.astryx-dropdown-menu-item[data-menu-size='md'] {
|
|
150
|
-
padding-block: var(--astryx-spacing-
|
|
150
|
+
.astryx-dropdown-menu .astryx-item.astryx-dropdown-menu-item:not([role='menuitemcheckbox'], [role='menuitemradio'])[data-menu-size='md'] {
|
|
151
|
+
padding-block: var(--astryx-spacing-1-5, 6px);
|
|
151
152
|
}
|
|
152
153
|
|
|
153
|
-
.astryx-dropdown-menu .astryx-item.astryx-dropdown-menu-item[data-menu-size='lg'] {
|
|
154
|
-
padding-block: var(--astryx-spacing-
|
|
154
|
+
.astryx-dropdown-menu .astryx-item.astryx-dropdown-menu-item:not([role='menuitemcheckbox'], [role='menuitemradio'])[data-menu-size='lg'] {
|
|
155
|
+
padding-block: var(--astryx-spacing-2, 8px);
|
|
155
156
|
}
|
|
156
157
|
|
|
157
158
|
/* DOM focus is the highlight, so a roving row is lit without a ring. */
|
package/styles/empty-state.css
CHANGED
package/styles/field.css
CHANGED
|
@@ -31,11 +31,13 @@
|
|
|
31
31
|
display: inline-flex;
|
|
32
32
|
align-items: center;
|
|
33
33
|
gap: var(--astryx-spacing-1, 4px);
|
|
34
|
-
|
|
34
|
+
/* 标签给控件命名,用主文字色;说明和可选标记仍是次要文字色。 */
|
|
35
|
+
color: var(--astryx-color-text-primary, #171717);
|
|
35
36
|
font-family: inherit;
|
|
36
37
|
font-size: var(--astryx-text-label-size, 14px);
|
|
37
|
-
|
|
38
|
-
|
|
38
|
+
/* 不少系统字体没有 500 字重,会退回常规体;用半粗保证标签总比说明重。 */
|
|
39
|
+
font-weight: var(--astryx-font-weight-semibold, 600);
|
|
40
|
+
line-height: var(--astryx-text-label-leading, 1.4286);
|
|
39
41
|
cursor: pointer;
|
|
40
42
|
}
|
|
41
43
|
|
|
@@ -48,27 +50,53 @@
|
|
|
48
50
|
line-height: var(--astryx-text-supporting-leading, 1.6667);
|
|
49
51
|
}
|
|
50
52
|
|
|
51
|
-
|
|
52
|
-
opacity: 0.5;
|
|
53
|
-
}
|
|
54
|
-
|
|
53
|
+
/* 同上游 labelDisabled:只把标签改成禁用色并取消手型光标,不整体变淡 */
|
|
55
54
|
.astryx-field-label-group[data-disabled='true'] .astryx-field-label {
|
|
55
|
+
color: var(--astryx-color-text-disabled);
|
|
56
56
|
cursor: default;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
+
/*
|
|
60
|
+
* 与原版一致:隐藏标签组不占布局位置(display: contents),
|
|
61
|
+
* 标签与描述各自用 sr-only 定位(inset 0、clip rect)。
|
|
62
|
+
*/
|
|
59
63
|
.astryx-field-label-group[data-hidden='true'],
|
|
64
|
+
.astryx-field-label-group[data-hidden='true'] > .astryx-field-label-row {
|
|
65
|
+
display: contents;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.astryx-field-label-group[data-hidden='true'] .astryx-field-label,
|
|
69
|
+
.astryx-field-label-group[data-hidden='true'] .astryx-field-description,
|
|
60
70
|
.astryx-field-status[data-hidden='true'] {
|
|
61
71
|
position: absolute;
|
|
72
|
+
inset-block-start: 0;
|
|
73
|
+
inset-inline-start: 0;
|
|
62
74
|
width: 1px;
|
|
63
75
|
height: 1px;
|
|
64
76
|
margin: -1px;
|
|
65
77
|
padding: 0;
|
|
66
78
|
overflow: hidden;
|
|
67
|
-
border:
|
|
68
|
-
clip
|
|
79
|
+
border-style: none;
|
|
80
|
+
clip: rect(0, 0, 0, 0);
|
|
81
|
+
white-space: nowrap;
|
|
82
|
+
pointer-events: none;
|
|
83
|
+
user-select: none;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.astryx-field-label-group[data-hidden='true'] .astryx-field-label-info-tip {
|
|
87
|
+
position: absolute;
|
|
88
|
+
align-self: flex-start;
|
|
89
|
+
overflow: hidden;
|
|
90
|
+
clip: rect(0, 0, 0, 0);
|
|
69
91
|
white-space: nowrap;
|
|
70
92
|
}
|
|
71
93
|
|
|
94
|
+
.astryx-field-label-group[data-hidden='true'] .astryx-field-label-info-tip:focus-visible {
|
|
95
|
+
position: relative;
|
|
96
|
+
overflow: visible;
|
|
97
|
+
clip: auto;
|
|
98
|
+
}
|
|
99
|
+
|
|
72
100
|
.astryx-field:has(> .astryx-field-label-group[data-hidden='true']) {
|
|
73
101
|
gap: 0;
|
|
74
102
|
}
|
|
@@ -200,17 +228,6 @@
|
|
|
200
228
|
color: var(--astryx-input-status-color, var(--astryx-color-text-secondary, #525252));
|
|
201
229
|
}
|
|
202
230
|
|
|
203
|
-
/* 标签旁的提示图标和上游一样是 16px 方块,独立的 FieldLabel 里也一样。 */
|
|
204
|
-
.astryx-field-label-row .astryx-field-info-tip {
|
|
205
|
-
flex: none;
|
|
206
|
-
width: 16px;
|
|
207
|
-
height: 16px;
|
|
208
|
-
min-height: 0;
|
|
209
|
-
padding: 0;
|
|
210
|
-
border-radius: var(--astryx-radius-inner, 0.375rem);
|
|
211
|
-
color: var(--astryx-color-text-secondary, #525252);
|
|
212
|
-
}
|
|
213
|
-
|
|
214
231
|
.astryx-field-info-tip:focus-visible,
|
|
215
232
|
.astryx-input-clear-button:focus-visible {
|
|
216
233
|
outline-offset: 1px;
|
package/styles/heading.css
CHANGED
|
@@ -39,55 +39,66 @@
|
|
|
39
39
|
|
|
40
40
|
.astryx-heading--level-1 {
|
|
41
41
|
font-size: var(--astryx-heading-level-1-size, 2rem);
|
|
42
|
-
|
|
42
|
+
--_heading-level-weight: var(--astryx-text-heading-1-weight, 600);
|
|
43
|
+
font-weight: var(--_heading-level-weight);
|
|
43
44
|
line-height: var(--astryx-text-heading-1-leading, var(--astryx-heading-leading, 1.25));
|
|
44
45
|
}
|
|
45
46
|
|
|
46
47
|
.astryx-heading--level-2 {
|
|
47
48
|
font-size: var(--astryx-heading-level-2-size, 1.75rem);
|
|
48
|
-
|
|
49
|
+
--_heading-level-weight: var(--astryx-text-heading-2-weight, 600);
|
|
50
|
+
font-weight: var(--_heading-level-weight);
|
|
49
51
|
line-height: var(--astryx-text-heading-2-leading, var(--astryx-heading-leading, 1.25));
|
|
50
52
|
}
|
|
51
53
|
|
|
52
54
|
.astryx-heading--level-3 {
|
|
53
55
|
font-size: var(--astryx-heading-level-3-size, 1.5rem);
|
|
54
|
-
|
|
56
|
+
--_heading-level-weight: var(--astryx-text-heading-3-weight, 600);
|
|
57
|
+
font-weight: var(--_heading-level-weight);
|
|
55
58
|
line-height: var(--astryx-text-heading-3-leading, var(--astryx-heading-leading, 1.25));
|
|
56
59
|
}
|
|
57
60
|
|
|
58
61
|
.astryx-heading--level-4 {
|
|
59
62
|
font-size: var(--astryx-heading-level-4-size, 0.875rem);
|
|
60
|
-
|
|
63
|
+
--_heading-level-weight: var(--astryx-text-heading-4-weight, 700);
|
|
64
|
+
font-weight: var(--_heading-level-weight);
|
|
61
65
|
line-height: var(--astryx-text-heading-4-leading, var(--astryx-heading-leading, 1.25));
|
|
62
66
|
}
|
|
63
67
|
|
|
64
68
|
.astryx-heading--level-5 {
|
|
65
69
|
font-size: var(--astryx-heading-level-5-size, 1.125rem);
|
|
66
|
-
|
|
70
|
+
--_heading-level-weight: var(--astryx-text-heading-5-weight, 600);
|
|
71
|
+
font-weight: var(--_heading-level-weight);
|
|
67
72
|
line-height: var(--astryx-text-heading-5-leading, var(--astryx-heading-leading, 1.25));
|
|
68
73
|
}
|
|
69
74
|
|
|
70
75
|
.astryx-heading--level-6 {
|
|
71
76
|
font-size: var(--astryx-heading-level-6-size, 1rem);
|
|
72
|
-
|
|
77
|
+
--_heading-level-weight: var(--astryx-text-heading-6-weight, 600);
|
|
78
|
+
font-weight: var(--_heading-level-weight);
|
|
73
79
|
line-height: var(--astryx-text-heading-6-leading, var(--astryx-heading-leading, 1.25));
|
|
74
80
|
}
|
|
75
81
|
|
|
82
|
+
/*
|
|
83
|
+
* 同上游的实际渲染:上游主题层的 `.astryx-heading[data-level]` 规则排在 display 字重之后,
|
|
84
|
+
* 所以 display 型标题的字号、行高用 display 档,字重却跟着自己的层级(h1 是 600)。
|
|
85
|
+
* 只有 Heading 这样;Text 的 display 型仍然用 display 字重。
|
|
86
|
+
*/
|
|
76
87
|
.astryx-heading--type-display-1 {
|
|
77
88
|
font-size: var(--astryx-heading-display-1-size, 3rem);
|
|
78
|
-
font-weight: var(--
|
|
89
|
+
font-weight: var(--_heading-level-weight);
|
|
79
90
|
line-height: var(--astryx-text-display-1-leading, 1.1);
|
|
80
91
|
}
|
|
81
92
|
|
|
82
93
|
.astryx-heading--type-display-2 {
|
|
83
94
|
font-size: var(--astryx-heading-display-2-size, 2.25rem);
|
|
84
|
-
font-weight: var(--
|
|
95
|
+
font-weight: var(--_heading-level-weight);
|
|
85
96
|
line-height: var(--astryx-text-display-2-leading, 1.15);
|
|
86
97
|
}
|
|
87
98
|
|
|
88
99
|
.astryx-heading--type-display-3 {
|
|
89
100
|
font-size: var(--astryx-heading-display-3-size, 1.75rem);
|
|
90
|
-
font-weight: var(--
|
|
101
|
+
font-weight: var(--_heading-level-weight);
|
|
91
102
|
line-height: var(--astryx-text-display-3-leading, 1.2);
|
|
92
103
|
}
|
|
93
104
|
|
package/styles/icon.css
CHANGED
|
@@ -11,12 +11,17 @@
|
|
|
11
11
|
height: 1em;
|
|
12
12
|
line-height: 1;
|
|
13
13
|
color: currentcolor;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
/*
|
|
17
|
+
* Upstream renders a component or SVG icon as a bare <svg>, which its reset
|
|
18
|
+
* makes block-level. Only the built-in registry glyphs get the inline-flex
|
|
19
|
+
* span. Our box stands in for that svg, so it is block-level too: a block
|
|
20
|
+
* wrapper around it (EmptyState's icon) is exactly the icon's height, with
|
|
21
|
+
* no line box and descender gap around it.
|
|
22
|
+
*/
|
|
23
|
+
.astryx-icon[data-kind='graphic'] {
|
|
24
|
+
display: flex;
|
|
20
25
|
}
|
|
21
26
|
|
|
22
27
|
/*
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
|
|
3
|
+
@layer astryx.components {
|
|
4
|
+
.astryx-info-tip {
|
|
5
|
+
position: relative;
|
|
6
|
+
display: inline-flex;
|
|
7
|
+
align-items: center;
|
|
8
|
+
justify-content: center;
|
|
9
|
+
vertical-align: middle;
|
|
10
|
+
padding: var(--astryx-spacing-0-5, 2px);
|
|
11
|
+
margin: 0;
|
|
12
|
+
border: 0;
|
|
13
|
+
border-radius: var(--astryx-radius-full, 9999px);
|
|
14
|
+
background: transparent;
|
|
15
|
+
color: var(--astryx-color-icon-secondary);
|
|
16
|
+
cursor: pointer;
|
|
17
|
+
transition: color var(--astryx-duration-fast, 100ms) var(--astryx-ease-standard, ease);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.astryx-info-tip:is(:disabled, [aria-disabled='true']) {
|
|
21
|
+
cursor: default;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@media (hover: hover) {
|
|
25
|
+
.astryx-info-tip:hover:where(:not(:disabled, [aria-disabled='true'])) {
|
|
26
|
+
color: var(--astryx-color-icon-primary);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.astryx-info-tip:focus-visible {
|
|
31
|
+
outline-width: var(--astryx-focus-outline-width, 2px);
|
|
32
|
+
outline-style: var(--astryx-focus-outline-style, solid);
|
|
33
|
+
outline-color: var(--astryx-focus-outline-color, currentcolor);
|
|
34
|
+
outline-offset: var(--astryx-focus-outline-offset, 3px);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/* 触屏下按钮周围一圈看不见的点击带,把点击目标撑到 44px。 */
|
|
38
|
+
@media (pointer: coarse) {
|
|
39
|
+
.astryx-info-tip::after {
|
|
40
|
+
position: absolute;
|
|
41
|
+
inset: -12px;
|
|
42
|
+
content: '';
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
package/styles/layout.css
CHANGED
|
@@ -195,7 +195,8 @@
|
|
|
195
195
|
--container-padding-block-end: var(--layout-pad-outer-y);
|
|
196
196
|
}
|
|
197
197
|
|
|
198
|
-
.astryx-layout__inner:has(> .astryx-layout-header:not([data-divider])) .astryx-layout-content:not([data-explicit-padding])
|
|
198
|
+
.astryx-layout__inner:has(> .astryx-layout-header:not([data-divider])) .astryx-layout-content:not([data-explicit-padding]),
|
|
199
|
+
.astryx-layout__inner:has(> .astryx-dialog-header[data-layout-header]:not(.astryx-dialog-header--divider)) .astryx-layout-content:not([data-explicit-padding]) {
|
|
199
200
|
padding-block-start: 0;
|
|
200
201
|
}
|
|
201
202
|
|