@astryx-vue/core 0.7.21 → 0.7.23
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-XBjLwnAX.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-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-ks2zPq6Z.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-DI7yRoNk.js → Breadcrumbs-k-Xqzbkt.js} +2 -2
- package/dist/Button/index.d.ts +1 -1
- package/dist/Button/index.js +1 -1
- package/dist/{Button-j-zrKX71.js → Button-Byrr4hAu.js} +25 -79
- 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.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-BQDdfnXx.js → Carousel-CrRD6YdZ.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-D0m-tH7R.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.d.ts +1 -1
- package/dist/Code/index.js +1 -1
- package/dist/{CodeBlock-D3YjfbpG.js → CodeBlock-C1CyMSCL.js} +17 -6
- 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.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-DS23yb98.js → ComplexSelector-wbVUmVh6.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-CdwODQhw.js} +16 -14
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-Dz2AUP0I.js → DateRangeInput-Byb8zqZ2.js} +14 -12
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-BVbqFtKG.js → DateTimeInput-lcpORu_P.js} +15 -13
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Dialog/index.js +1 -1
- package/dist/{DialogHeader-B9o0yEd3.js → DialogHeader-8cIwslf4.js} +26 -17
- package/dist/Drawer/index.d.ts +1 -1
- package/dist/Drawer/index.js +1 -1
- package/dist/{Drawer-D15rGbvd.js → Drawer-B8OuWU7j.js} +1 -1
- package/dist/DropdownMenu/index.js +3 -3
- package/dist/{DropdownMenu-Ct4EORZS.js → DropdownMenu-BYD5fFzB.js} +7 -7
- package/dist/{DropdownMenu-DntJ04S-.js → DropdownMenu-BnY1UWKa.js} +8 -8
- 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-xYN2qeQk.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-D2AOeGrs.js} +9 -9
- 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-Dzhukpzc.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-D9QzdIWM.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-COttfQHP.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.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-DLeP1tb9.js → Markdown-C42NPUFp.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-CocuDVj-.js} +13 -11
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-BdEMzzhg.js → MultiSelector-D0g3yHj6.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-DC-_pL6R.js → NumberInput-DEfKx0qI.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.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.d.ts +1 -1
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-nNZl2uqy.js → Popover-D90phFsK.js} +10 -6
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-CibPe6gr.js → PowerSearch-Cj_D0iaM.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-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-GELGN9LR.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-Du4FXP9X.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-CbQp3Lqm.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-CkJRorQb.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-7dKY4N-p.js} +6 -6
- package/dist/{TimeField-aSYbUpCL.js → TimeField-DGPsFfii.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-CnOvJGgC.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-BQc2NBd7.js} +5 -5
- package/dist/Toast/index.js +1 -1
- package/dist/{Toast-BXHyruqR.js → Toast-DytdMVIS.js} +24 -18
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/ToggleButton/index.js +1 -1
- package/dist/{ToggleButton-CyZswHtC.js → ToggleButton-Cgr84UJy.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.d.ts +1 -1
- 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.d.ts +1 -1
- 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-GpET2_oj.d.ts → index--tm6L1ot.d.ts} +2 -2
- package/dist/{index-oYGkhGRq.d.ts → index--uIQXVJ7.d.ts} +3 -4
- package/dist/{index-COxy6LEW.d.ts → index-6kd7pher.d.ts} +0 -1
- package/dist/{index-Dacg7XTH.d.ts → index-8px-LKw_.d.ts} +2 -2
- package/dist/{index-ChCcxRFB.d.ts → index-9eluGe3a.d.ts} +1 -1
- package/dist/{index-BuubzuE8.d.ts → index-BDZCJ9ri.d.ts} +2 -2
- package/dist/{index-BxWCX2pJ.d.ts → index-BOCb89V9.d.ts} +1 -1
- package/dist/{index-G935Rujh.d.ts → index-BUZDSd-n.d.ts} +96 -2
- package/dist/{index-B8EnP-PB.d.ts → index-BfQ85cS8.d.ts} +0 -1
- package/dist/{index-D_K1wfRa.d.ts → index-BhLLG-Gi.d.ts} +2 -2
- package/dist/{index-BaxM-pFP.d.ts → index-BnEhvmdR.d.ts} +4 -4
- package/dist/{index-C085uLOn.d.ts → index-BqEPgwku.d.ts} +3 -4
- package/dist/{index-Dl4Kx5Pl.d.ts → index-BzZC2Y7c.d.ts} +14 -4
- package/dist/{index-CL8JvxHW.d.ts → index-C1zwvxPH.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-ChOyJzJh.d.ts → index-CO9GW-ik.d.ts} +1 -1
- package/dist/{index-YKCx03zD.d.ts → index-COgrQZIL.d.ts} +2 -2
- package/dist/{index-Bgk1Rj2A.d.ts → index-CTjkJP4x.d.ts} +1 -1
- package/dist/{index-DAMHLkmd.d.ts → index-CfPGC9aW.d.ts} +1 -1
- package/dist/{index-rszZajcw.d.ts → index-Cy1rEWC-.d.ts} +1 -1
- package/dist/{index-DUnLj1kn.d.ts → index-DLq_N8bd.d.ts} +1 -1
- package/dist/{index-CKpz_Eed.d.ts → index-DX4HQToB.d.ts} +1 -1
- package/dist/{index-IfiA8CSr.d.ts → index-DZKv1WNB.d.ts} +3 -3
- package/dist/{index-CAttPKaF.d.ts → index-DjVJDoz4.d.ts} +1 -1
- package/dist/{index-BlujHTbz.d.ts → index-Dw-zjHHD.d.ts} +6 -7
- package/dist/{index-QmmrXztz.d.ts → index-EvhMa33P.d.ts} +5 -5
- package/dist/{index-B9xI9ns-.d.ts → index-HoCUEVoX.d.ts} +225 -157
- package/dist/{index-BbArm3_c.d.ts → index-LySSG_PR.d.ts} +1 -1
- package/dist/{index-DaXzQxos.d.ts → index-MEix_m1o.d.ts} +2 -2
- package/dist/{index-BNaRK-s5.d.ts → index-O9y23OPJ.d.ts} +11 -1
- package/dist/{index-B1eCxBCY.d.ts → index-TXcNH86P.d.ts} +1 -1
- package/dist/{index-C3f1zsJR.d.ts → index-UFlyBbRd.d.ts} +2 -2
- package/dist/{index-D21zdEgS.d.ts → index-Uh-ddE5F.d.ts} +1 -1
- package/dist/{index-BKnyTWPM.d.ts → index-ZbNwGVkS.d.ts} +1 -1
- package/dist/{index-YiuDd72p.d.ts → index-cJKrAHO-.d.ts} +22 -9
- package/dist/{index-3t5RAfNP.d.ts → index-mkbGYz8f.d.ts} +2 -2
- package/dist/index-q7fVtnQc.d.ts +48 -0
- package/dist/{index-mcNmCMqs.d.ts → index-uqEqPcmR.d.ts} +2 -2
- package/dist/{index-BEZ4ezJk.d.ts → index-wY6dKz6c.d.ts} +2 -2
- package/dist/index.d.ts +66 -67
- 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-Bpe0xKqN.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 +47 -13
- 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,26 +1,27 @@
|
|
|
1
|
-
import { n as _sfc_main$2 } from "./BottomSheet-
|
|
2
|
-
import { t as _sfc_main$3 } from "./Icon-
|
|
1
|
+
import { n as _sfc_main$2 } from "./BottomSheet-CMukh1iI.js";
|
|
2
|
+
import { t as _sfc_main$3 } from "./Icon-CU3412Fe.js";
|
|
3
|
+
import { i as useSize } from "./SizeContext-BbaF-SEx.js";
|
|
3
4
|
import { t as _sfc_main$4 } from "./VisuallyHidden-cpmsV-0M.js";
|
|
4
|
-
import { n as useButtonTooltip } from "./Button-j-zrKX71.js";
|
|
5
5
|
import { t as _sfc_main$5 } from "./ButtonTooltip-CNKOQHYR.js";
|
|
6
|
+
import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
|
|
6
7
|
import { t as useAnnounce } from "./announce-B210eJVf.js";
|
|
7
8
|
import { t as useCombobox } from "./useCombobox-CTo5C-gc.js";
|
|
8
9
|
import { a as isImeKeyEvent } from "./layerDepth-CNDh-IHb.js";
|
|
9
|
-
import { n as useDismiss, t as usePositionedLayer } from "./usePositionedLayer-
|
|
10
|
+
import { n as useDismiss, t as usePositionedLayer } from "./usePositionedLayer-psKf3ano.js";
|
|
10
11
|
import { t as useFieldControlState } from "./useFieldControlState-voICDrys.js";
|
|
11
12
|
import { n as focusElement } from "./focus-l8jVTcqd.js";
|
|
12
|
-
import { s as useAstryxMessages } from "./context-
|
|
13
|
-
import { t as useScrollbars } from "./useScrollbars-
|
|
14
|
-
import { t as _sfc_main$6 } from "./Spinner-
|
|
15
|
-
import { t as useIndicator } from "./useIndicator-
|
|
16
|
-
import { t as _sfc_main$7 } from "./Field-
|
|
13
|
+
import { s as useAstryxMessages } from "./context-BLSiTojH.js";
|
|
14
|
+
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
15
|
+
import { t as _sfc_main$6 } from "./Spinner-CTWLR75x.js";
|
|
16
|
+
import { t as useIndicator } from "./useIndicator-BvF_KY9S.js";
|
|
17
|
+
import { t as _sfc_main$7 } from "./Field-DLg-trP2.js";
|
|
17
18
|
import { n as useInputGroupContext } from "./context-IvbU9c3T.js";
|
|
18
19
|
import { t as useFieldPartStyling } from "./fieldParts--SyRZVQG.js";
|
|
19
20
|
import { t as consumeWhileDisabled } from "./disabledInteraction-CPzL8kVP.js";
|
|
20
21
|
import { n as fieldStatusPlacement, t as normalizeTriggerVariant } from "./triggerVariant-BsL8jMHs.js";
|
|
21
|
-
import { n as _sfc_main$8, t as searchResultMessage } from "./searchResultMessage-
|
|
22
|
+
import { n as _sfc_main$8, t as searchResultMessage } from "./searchResultMessage-T4H3r8Vz.js";
|
|
22
23
|
import { n as OptionAction, r as isOptionAction, t as useOptionActionGrid } from "./useOptionActionGrid-CkJcuvaU.js";
|
|
23
|
-
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onMounted, onScopeDispose, openBlock, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, useAttrs, useId, useSlots, useTemplateRef, vShow, watch, withCtx, withDirectives, withKeys, withModifiers } from "vue";
|
|
24
|
+
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, h, isVNode, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onMounted, onScopeDispose, openBlock, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, useAttrs, useId, useSlots, useTemplateRef, vShow, watch, withCtx, withDirectives, withKeys, withModifiers } from "vue";
|
|
24
25
|
import "../styles/layer.css";
|
|
25
26
|
import "../styles/button.css";
|
|
26
27
|
import "../styles/visually-hidden-utility.css";
|
|
@@ -60,6 +61,21 @@ function bindListboxEscape(layer, onKeyDown) {
|
|
|
60
61
|
onScopeDispose(() => layer.value?.removeEventListener("keydown", onKeyDown));
|
|
61
62
|
}
|
|
62
63
|
//#endregion
|
|
64
|
+
//#region src/Selector/SelectorIcon.ts
|
|
65
|
+
/**
|
|
66
|
+
* 同上游 renderIconSlot:图标名、组件、渲染函数套进 sm 尺寸的 Icon 盒子;
|
|
67
|
+
* 现成的 VNode(比如 `h(StatusDot)`、`h(Avatar, { size: 'xsm' })`)原样画,不再套 16px 的盒子。
|
|
68
|
+
*/
|
|
69
|
+
const SelectorIcon = (props) => {
|
|
70
|
+
if (isVNode(props.icon)) return props.icon;
|
|
71
|
+
return h(_sfc_main$3, {
|
|
72
|
+
icon: props.icon,
|
|
73
|
+
size: "sm",
|
|
74
|
+
color: props.color
|
|
75
|
+
});
|
|
76
|
+
};
|
|
77
|
+
SelectorIcon.props = ["icon", "color"];
|
|
78
|
+
//#endregion
|
|
63
79
|
//#region src/Selector/selectorOptions.ts
|
|
64
80
|
function isSelectorSection(entry) {
|
|
65
81
|
return typeof entry === "object" && entry !== null && "type" in entry && entry.type === "section";
|
|
@@ -314,11 +330,10 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
314
330
|
option: row.option,
|
|
315
331
|
isActive: active(row.index),
|
|
316
332
|
isSelected: selected(row.option)
|
|
317
|
-
}, void 0, void 0, 0) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [row.option.icon ? (openBlock(), createBlock(
|
|
333
|
+
}, void 0, void 0, 0) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [row.option.icon ? (openBlock(), createBlock(unref(SelectorIcon), {
|
|
318
334
|
key: 0,
|
|
319
335
|
class: "astryx-selector-option-icon",
|
|
320
|
-
icon: row.option.icon
|
|
321
|
-
size: "sm"
|
|
336
|
+
icon: row.option.icon
|
|
322
337
|
}, null, 8, ["icon"])) : createCommentVNode("v-if", true), createElementVNode("span", _hoisted_11, [createElementVNode("span", _hoisted_12, toDisplayString(row.option.label), 1), row.option.description ? (openBlock(), createElementBlock("span", _hoisted_13, toDisplayString(row.option.description), 1)) : createCommentVNode("v-if", true)])], 64))]),
|
|
323
338
|
__props.indicatorPosition === "end" ? (openBlock(), createElementBlock("span", _hoisted_14, [(openBlock(), createBlock(resolveDynamicComponent(__props.mark), {
|
|
324
339
|
class: "astryx-selector-check",
|
|
@@ -355,11 +370,10 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
355
370
|
option: row.option,
|
|
356
371
|
isActive: active(row.index),
|
|
357
372
|
isSelected: selected(row.option)
|
|
358
|
-
}, void 0, void 0, 0) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [row.option.icon ? (openBlock(), createBlock(
|
|
373
|
+
}, void 0, void 0, 0) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [row.option.icon ? (openBlock(), createBlock(unref(SelectorIcon), {
|
|
359
374
|
key: 0,
|
|
360
375
|
class: "astryx-selector-option-icon",
|
|
361
|
-
icon: row.option.icon
|
|
362
|
-
size: "sm"
|
|
376
|
+
icon: row.option.icon
|
|
363
377
|
}, null, 8, ["icon"])) : createCommentVNode("v-if", true), createElementVNode("span", _hoisted_19, [createElementVNode("span", _hoisted_20, toDisplayString(row.option.label), 1), row.option.description ? (openBlock(), createElementBlock("span", _hoisted_21, toDisplayString(row.option.description), 1)) : createCommentVNode("v-if", true)])], 64))]),
|
|
364
378
|
__props.indicatorPosition === "end" ? (openBlock(), createElementBlock("span", _hoisted_22, [(openBlock(), createBlock(resolveDynamicComponent(__props.mark), {
|
|
365
379
|
class: "astryx-selector-check",
|
|
@@ -385,6 +399,29 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
385
399
|
}
|
|
386
400
|
});
|
|
387
401
|
//#endregion
|
|
402
|
+
//#region src/Selector/selectorStatusRoles.ts
|
|
403
|
+
/** 状态字符串、对象或没给,统一成一个类型名。 */
|
|
404
|
+
function selectorStatusType(status) {
|
|
405
|
+
if (status == null || status === "default") return "default";
|
|
406
|
+
if (typeof status === "string") return status;
|
|
407
|
+
return status.type;
|
|
408
|
+
}
|
|
409
|
+
/** 字段下方的状态消息:对象原样用,字符串状态配上 statusMessage。 */
|
|
410
|
+
function selectorFieldStatus(status, statusMessage) {
|
|
411
|
+
if (status && typeof status === "object") return status;
|
|
412
|
+
const type = selectorStatusType(status);
|
|
413
|
+
if (!statusMessage || type === "default") return void 0;
|
|
414
|
+
return {
|
|
415
|
+
type,
|
|
416
|
+
message: statusMessage
|
|
417
|
+
};
|
|
418
|
+
}
|
|
419
|
+
/** 触发器里的状态图标:只有错误、警告、成功画,状态消息分离时也不画。 */
|
|
420
|
+
function selectorStatusGlyph(type, placement) {
|
|
421
|
+
if (type !== "error" && type !== "warning" && type !== "success" || placement === "detached") return void 0;
|
|
422
|
+
return type;
|
|
423
|
+
}
|
|
424
|
+
//#endregion
|
|
388
425
|
//#region src/Selector/triggerActivation.ts
|
|
389
426
|
/**
|
|
390
427
|
* @file triggerActivation.ts
|
|
@@ -406,6 +443,37 @@ function createTriggerActivation(options) {
|
|
|
406
443
|
};
|
|
407
444
|
}
|
|
408
445
|
//#endregion
|
|
446
|
+
//#region src/Selector/useListboxOverlay.ts
|
|
447
|
+
/**
|
|
448
|
+
* 原版的下拉列表(没有搜索框、没指定位置时)把选中项盖在触发器上:
|
|
449
|
+
* 列表上移,使选中项的顶边和字段顶边对齐;还没选值时贴着字段下沿、不留空隙。
|
|
450
|
+
* 只在朝下展开时生效;空间不够翻到上方时按普通位置走。
|
|
451
|
+
*/
|
|
452
|
+
function useListboxOverlay(options) {
|
|
453
|
+
const overlayTop = ref(null);
|
|
454
|
+
function syncOverlay() {
|
|
455
|
+
const list = options.listboxRef.value;
|
|
456
|
+
const field = options.fieldRef.value;
|
|
457
|
+
if (!options.isEnabled() || !options.isOpen.value || !list || !field || options.position.value.placement !== "below") {
|
|
458
|
+
overlayTop.value = null;
|
|
459
|
+
return;
|
|
460
|
+
}
|
|
461
|
+
const fieldRect = field.getBoundingClientRect();
|
|
462
|
+
const selected = list.querySelector(".astryx-selector-option.is-selected");
|
|
463
|
+
const raw = selected ? fieldRect.top - list.clientTop - (selected.offsetTop - list.scrollTop) : fieldRect.bottom;
|
|
464
|
+
const maxTop = window.innerHeight - list.offsetHeight - 8;
|
|
465
|
+
overlayTop.value = Math.max(8, Math.min(raw, Math.max(8, maxTop)));
|
|
466
|
+
}
|
|
467
|
+
watch([
|
|
468
|
+
options.isOpen,
|
|
469
|
+
options.position,
|
|
470
|
+
options.value
|
|
471
|
+
], () => {
|
|
472
|
+
nextTick(syncOverlay);
|
|
473
|
+
}, { flush: "post" });
|
|
474
|
+
return { overlayTop };
|
|
475
|
+
}
|
|
476
|
+
//#endregion
|
|
409
477
|
//#region src/Selector/useSelectorPopup.ts
|
|
410
478
|
/** 选项操作把弹出层锁成网格,并拦下行末方向键。 */
|
|
411
479
|
function useSelectorPopup(options) {
|
|
@@ -510,7 +578,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
510
578
|
status: { default: "default" },
|
|
511
579
|
statusMessage: {},
|
|
512
580
|
statusVariant: { default: "attached" },
|
|
513
|
-
size: {
|
|
581
|
+
size: {},
|
|
514
582
|
variant: { default: "default" },
|
|
515
583
|
presentation: { default: "popover" },
|
|
516
584
|
searchable: {
|
|
@@ -533,6 +601,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
533
601
|
},
|
|
534
602
|
description: {},
|
|
535
603
|
width: {},
|
|
604
|
+
startIcon: {},
|
|
536
605
|
name: {},
|
|
537
606
|
isReadOnly: {
|
|
538
607
|
type: Boolean,
|
|
@@ -551,6 +620,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
551
620
|
default: false
|
|
552
621
|
},
|
|
553
622
|
indicatorPosition: { default: "end" },
|
|
623
|
+
placement: {},
|
|
554
624
|
containerClass: { type: [
|
|
555
625
|
Boolean,
|
|
556
626
|
null,
|
|
@@ -591,6 +661,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
591
661
|
setup(__props, { emit: __emit }) {
|
|
592
662
|
const props = __props;
|
|
593
663
|
const emit = __emit;
|
|
664
|
+
const size = useSize(() => props.size, "md");
|
|
594
665
|
const slots = useSlots();
|
|
595
666
|
const attrs = useAttrs();
|
|
596
667
|
const SelectionMark = useIndicator("check");
|
|
@@ -691,7 +762,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
691
762
|
anchor: fieldRef,
|
|
692
763
|
layer: listboxRef,
|
|
693
764
|
isOpen: popoverOpen,
|
|
694
|
-
placement: computed(() => "below"),
|
|
765
|
+
placement: computed(() => props.placement ?? "below"),
|
|
695
766
|
alignment: computed(() => "start"),
|
|
696
767
|
gap: 4
|
|
697
768
|
});
|
|
@@ -720,27 +791,10 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
720
791
|
});
|
|
721
792
|
const fieldLabel = computed(() => props.label || resolvedPlaceholder.value);
|
|
722
793
|
const hideLabel = computed(() => props.isLabelHidden || !props.label);
|
|
723
|
-
const statusType = computed(() =>
|
|
724
|
-
|
|
725
|
-
if (status == null || status === "default") return "default";
|
|
726
|
-
if (typeof status === "string") return status;
|
|
727
|
-
return status.type;
|
|
728
|
-
});
|
|
729
|
-
const fieldStatus = computed(() => {
|
|
730
|
-
const status = props.status;
|
|
731
|
-
if (status && typeof status === "object") return status;
|
|
732
|
-
if (!props.statusMessage || statusType.value === "default") return void 0;
|
|
733
|
-
return {
|
|
734
|
-
type: statusType.value,
|
|
735
|
-
message: props.statusMessage
|
|
736
|
-
};
|
|
737
|
-
});
|
|
794
|
+
const statusType = computed(() => selectorStatusType(props.status));
|
|
795
|
+
const fieldStatus = computed(() => selectorFieldStatus(props.status, props.statusMessage));
|
|
738
796
|
const effectiveStatusVariant = computed(() => fieldStatusPlacement(props.variant, props.statusVariant));
|
|
739
|
-
const statusGlyph = computed(() =>
|
|
740
|
-
const type = statusType.value;
|
|
741
|
-
if (type !== "error" && type !== "warning" && type !== "success" || effectiveStatusVariant.value === "detached") return void 0;
|
|
742
|
-
return type;
|
|
743
|
-
});
|
|
797
|
+
const statusGlyph = computed(() => selectorStatusGlyph(statusType.value, effectiveStatusVariant.value));
|
|
744
798
|
const displayRows = computed(() => buildSelectorRows(normalizedEntries.value, combobox.filteredOptions.value));
|
|
745
799
|
const displayText = computed(() => {
|
|
746
800
|
return selectedOption.value?.label ?? resolvedPlaceholder.value;
|
|
@@ -814,8 +868,16 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
814
868
|
function syncAnchorWidth() {
|
|
815
869
|
anchorWidth.value = fieldRef.value?.getBoundingClientRect().width ?? 0;
|
|
816
870
|
}
|
|
871
|
+
const { overlayTop } = useListboxOverlay({
|
|
872
|
+
fieldRef,
|
|
873
|
+
listboxRef,
|
|
874
|
+
isOpen: combobox.isOpen,
|
|
875
|
+
position,
|
|
876
|
+
value: () => props.modelValue,
|
|
877
|
+
isEnabled: () => !props.searchable && !isSheet.value && props.placement == null
|
|
878
|
+
});
|
|
817
879
|
const listboxStyle = computed(() => isSheet.value ? void 0 : {
|
|
818
|
-
top: `${position.value.top}px`,
|
|
880
|
+
top: `${overlayTop.value ?? position.value.top}px`,
|
|
819
881
|
left: `${position.value.left}px`,
|
|
820
882
|
minWidth: anchorWidth.value > 0 ? `${anchorWidth.value}px` : void 0
|
|
821
883
|
});
|
|
@@ -827,7 +889,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
827
889
|
return openBlock(), createBlock(_sfc_main$7, {
|
|
828
890
|
class: normalizeClass(["astryx-selector", [
|
|
829
891
|
unref(parts).containerClass.value,
|
|
830
|
-
`size-${
|
|
892
|
+
`size-${unref(size)}`,
|
|
831
893
|
`status-${statusType.value}`,
|
|
832
894
|
`variant-${triggerVariant.value}`
|
|
833
895
|
]]),
|
|
@@ -859,6 +921,12 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
859
921
|
onPointerenter: _cache[3] || (_cache[3] = (...args) => unref(disabledTooltip).onPointerEnter && unref(disabledTooltip).onPointerEnter(...args)),
|
|
860
922
|
onPointerleave: _cache[4] || (_cache[4] = (...args) => unref(disabledTooltip).onPointerLeave && unref(disabledTooltip).onPointerLeave(...args))
|
|
861
923
|
}, [
|
|
924
|
+
props.startIcon ? (openBlock(), createBlock(unref(SelectorIcon), {
|
|
925
|
+
key: 0,
|
|
926
|
+
class: "astryx-selector-start-icon",
|
|
927
|
+
icon: props.startIcon,
|
|
928
|
+
color: "secondary"
|
|
929
|
+
}, null, 8, ["icon"])) : createCommentVNode("v-if", true),
|
|
862
930
|
createElementVNode("button", mergeProps(unref(parts).forwardedAttrs(), {
|
|
863
931
|
id: selectorId.value,
|
|
864
932
|
type: "button",
|
|
@@ -886,20 +954,19 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
886
954
|
"is-placeholder": !selectedOption.value,
|
|
887
955
|
"is-rich": unref(slots).selected,
|
|
888
956
|
"is-grouped": inGroup.value
|
|
889
|
-
}]) }, [unref(slots).selected ? renderSlot(_ctx.$slots, "selected", { option: selectedOption.value }, void 0, void 0, 0) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [selectedOption.value?.icon ? (openBlock(), createBlock(
|
|
957
|
+
}]) }, [unref(slots).selected ? renderSlot(_ctx.$slots, "selected", { option: selectedOption.value }, void 0, void 0, 0) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [!props.startIcon && selectedOption.value?.icon ? (openBlock(), createBlock(unref(SelectorIcon), {
|
|
890
958
|
key: 0,
|
|
891
959
|
class: "astryx-selector-value-icon",
|
|
892
|
-
icon: selectedOption.value.icon
|
|
893
|
-
size: "sm"
|
|
960
|
+
icon: selectedOption.value.icon
|
|
894
961
|
}, null, 8, ["icon"])) : createCommentVNode("v-if", true), createElementVNode("span", _hoisted_3, toDisplayString(displayText.value), 1)], 64))], 2)], 16, _hoisted_2),
|
|
895
962
|
unref(control).isLoading.value ? (openBlock(), createBlock(_sfc_main$6, {
|
|
896
|
-
key:
|
|
963
|
+
key: 1,
|
|
897
964
|
class: "astryx-selector-spinner",
|
|
898
965
|
size: "sm",
|
|
899
966
|
"aria-label": unref(messages).selector.loading
|
|
900
967
|
}, null, 8, ["aria-label"])) : createCommentVNode("v-if", true),
|
|
901
968
|
hasClear.value && selectedOption.value && unref(control).canActivate.value ? (openBlock(), createElementBlock("button", {
|
|
902
|
-
key:
|
|
969
|
+
key: 2,
|
|
903
970
|
type: "button",
|
|
904
971
|
class: "astryx-selector-clear",
|
|
905
972
|
"aria-label": valueClearLabel.value,
|
|
@@ -909,7 +976,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
909
976
|
size: "sm"
|
|
910
977
|
})], 8, _hoisted_4)) : createCommentVNode("v-if", true),
|
|
911
978
|
statusGlyph.value ? (openBlock(), createBlock(_sfc_main$8, {
|
|
912
|
-
key:
|
|
979
|
+
key: 3,
|
|
913
980
|
type: statusGlyph.value,
|
|
914
981
|
message: fieldStatus.value?.message,
|
|
915
982
|
tooltip: effectiveStatusVariant.value === "tooltip"
|
|
@@ -917,14 +984,14 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
917
984
|
"type",
|
|
918
985
|
"message",
|
|
919
986
|
"tooltip"
|
|
920
|
-
])) : unref(control).
|
|
921
|
-
key:
|
|
987
|
+
])) : !unref(control).isReadOnly.value ? (openBlock(), createBlock(_sfc_main$3, {
|
|
988
|
+
key: 4,
|
|
922
989
|
class: "astryx-selector-icon",
|
|
923
990
|
icon: "chevronDown",
|
|
924
991
|
size: "sm"
|
|
925
992
|
})) : createCommentVNode("v-if", true),
|
|
926
993
|
unref(control).isReadOnly.value ? (openBlock(), createElementBlock("span", {
|
|
927
|
-
key:
|
|
994
|
+
key: 5,
|
|
928
995
|
id: readOnlyId.value,
|
|
929
996
|
class: "astryx-visually-hidden"
|
|
930
997
|
}, toDisplayString(unref(messages).selector.readOnly), 9, _hoisted_5)) : createCommentVNode("v-if", true)
|
|
@@ -972,7 +1039,10 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
972
1039
|
ref_key: "listboxRef",
|
|
973
1040
|
ref: listboxRef,
|
|
974
1041
|
role: unref(gridMode) ? "grid" : "listbox",
|
|
975
|
-
class: normalizeClass(["astryx-selector-listbox astryx-layer", {
|
|
1042
|
+
class: normalizeClass(["astryx-selector-listbox astryx-layer", [{
|
|
1043
|
+
"is-sheet": isSheet.value,
|
|
1044
|
+
"is-input": triggerVariant.value === "input"
|
|
1045
|
+
}, `size-${unref(size)}`]]),
|
|
976
1046
|
"data-placement": isSheet.value ? void 0 : unref(position).placement,
|
|
977
1047
|
style: normalizeStyle(listboxStyle.value),
|
|
978
1048
|
tabindex: "-1"
|
package/dist/SideNav/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _r as SideNavSectionProps, ar as SideNavCollapseButtonProps, cr as SideNavCollapsible, dr as SideNavHandle, er as _default$4, fr as SideNavHeadingProps, gr as SideNavResizable, hr as SideNavProps, ir as _default, lr as SideNavControlledCollapsible, mr as SideNavItemProps, nr as _default$2, or as SideNavCollapseButtonSize, pr as SideNavItemEmits, rr as _default$1, sr as SideNavCollapseButtonSlots, tr as _default$3, ur as SideNavEmits, vr as SideNavCollapseContext, yr as useSideNavCollapse } from "../index-HoCUEVoX.js";
|
|
2
2
|
export { _default as SideNav, _default$1 as SideNavCollapseButton, type SideNavCollapseButtonProps, type SideNavCollapseButtonSize, type SideNavCollapseButtonSlots, type SideNavCollapseContext, type SideNavCollapsible, type SideNavControlledCollapsible, type SideNavEmits, type SideNavHandle, _default$2 as SideNavHeading, type SideNavHeadingProps, _default$3 as SideNavItem, type SideNavItemEmits, type SideNavItemProps, type SideNavProps, type SideNavResizable, _default$4 as SideNavSection, type SideNavSectionProps, useSideNavCollapse };
|
package/dist/SideNav/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { i as useSideNavCollapse } from "../context-ZsDEkhSF.js";
|
|
2
|
-
import { a as _sfc_main$1, i as _sfc_main, n as _sfc_main$3, r as _sfc_main$2, t as _sfc_main$4 } from "../SideNav-
|
|
2
|
+
import { a as _sfc_main$1, i as _sfc_main, n as _sfc_main$3, r as _sfc_main$2, t as _sfc_main$4 } from "../SideNav-GELGN9LR.js";
|
|
3
3
|
export { _sfc_main as SideNav, _sfc_main$1 as SideNavCollapseButton, _sfc_main$2 as SideNavHeading, _sfc_main$3 as SideNavItem, _sfc_main$4 as SideNavSection, useSideNavCollapse };
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import { t as _sfc_main$5 } from "./Icon-
|
|
1
|
+
import { t as _sfc_main$5 } from "./Icon-CU3412Fe.js";
|
|
2
2
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
3
|
-
import {
|
|
3
|
+
import { n as SizeProvider } from "./SizeContext-BbaF-SEx.js";
|
|
4
|
+
import { t as _sfc_main$6 } from "./Button-Byrr4hAu.js";
|
|
4
5
|
import { t as useHandleRef } from "./useHandleRef-6cdKugm8.js";
|
|
5
6
|
import { n as useResizable, r as useHotkeys } from "./useResizable-I3BCiLSL.js";
|
|
6
|
-
import { s as useAstryxMessages } from "./context-
|
|
7
|
-
import { t as _sfc_main$7 } from "./Tooltip-
|
|
8
|
-
import { t as useScrollbars } from "./useScrollbars-
|
|
7
|
+
import { s as useAstryxMessages } from "./context-BLSiTojH.js";
|
|
8
|
+
import { t as _sfc_main$7 } from "./Tooltip-BfKegFfq.js";
|
|
9
|
+
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
9
10
|
import { a as useSideNavDepth, i as useSideNavCollapse, n as sideNavDepthKey, o as useSideNavRenderMode, t as sideNavCollapseKey } from "./context-ZsDEkhSF.js";
|
|
10
11
|
import { i as safeNavHref, r as resolveNavRoot } from "./link-DuuA2eCL.js";
|
|
11
|
-
import { t as _sfc_main$8 } from "./NavItem-
|
|
12
|
-
import { t as _sfc_main$9 } from "./NavDisclosure-
|
|
13
|
-
import { t as _sfc_main$10 } from "./ResizeHandle-
|
|
14
|
-
import { t as _sfc_main$11 } from "./NavHeadingSurface-
|
|
12
|
+
import { t as _sfc_main$8 } from "./NavItem-DfHMmSsw.js";
|
|
13
|
+
import { t as _sfc_main$9 } from "./NavDisclosure-BbRWuyhq.js";
|
|
14
|
+
import { t as _sfc_main$10 } from "./ResizeHandle-uBJj4W1M.js";
|
|
15
|
+
import { t as _sfc_main$11 } from "./NavHeadingSurface-B2HkXx6S.js";
|
|
15
16
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, getCurrentInstance, guardReactiveProps, inject, mergeProps, normalizeClass, normalizeProps, normalizeStyle, openBlock, provide, reactive, ref, renderSlot, resolveDynamicComponent, toDisplayString, unref, useAttrs, useId, useSlots, useTemplateRef, watch, watchEffect, withCtx, withModifiers } from "vue";
|
|
16
17
|
import "../styles/visually-hidden.css";
|
|
17
18
|
import "../styles/side-nav.css";
|
|
@@ -229,17 +230,14 @@ const _hoisted_11 = {
|
|
|
229
230
|
class: "astryx-side-nav__top-content"
|
|
230
231
|
};
|
|
231
232
|
const _hoisted_12 = {
|
|
232
|
-
ref: "body",
|
|
233
|
-
class: "astryx-side-nav__body"
|
|
234
|
-
};
|
|
235
|
-
const _hoisted_13 = {
|
|
236
233
|
key: 1,
|
|
237
234
|
class: "astryx-side-nav__bottom"
|
|
238
235
|
};
|
|
239
|
-
const
|
|
236
|
+
const _hoisted_13 = {
|
|
240
237
|
key: 0,
|
|
241
|
-
class: "astryx-side-nav__footer-
|
|
238
|
+
class: "astryx-side-nav__footer-row"
|
|
242
239
|
};
|
|
240
|
+
const FOOTER_ICON_SIZE = "sm";
|
|
243
241
|
const _sfc_main$3 = /*@__PURE__*/ defineComponent({
|
|
244
242
|
name: "AstryxSideNav",
|
|
245
243
|
__name: "SideNav",
|
|
@@ -268,6 +266,7 @@ const _sfc_main$3 = /*@__PURE__*/ defineComponent({
|
|
|
268
266
|
const props = __props;
|
|
269
267
|
const emit = __emit;
|
|
270
268
|
const slots = useSlots();
|
|
269
|
+
/** 同上游 FOOTER_ICON_SIZE:折叠按钮和 footerIcons 同高。 */
|
|
271
270
|
const messages = useAstryxMessages();
|
|
272
271
|
const navId = `astryx-side-nav-${useId()}`;
|
|
273
272
|
const localCollapsed = ref(false);
|
|
@@ -304,8 +303,12 @@ const _sfc_main$3 = /*@__PURE__*/ defineComponent({
|
|
|
304
303
|
});
|
|
305
304
|
const showResizeHandle = computed(() => resize.enabled.value && !isCollapsed.value);
|
|
306
305
|
const showButton = computed(() => isCollapsible.value && (config.value.hasButton ?? true));
|
|
307
|
-
const hasTop = computed(() => slots.header != null || slots.top != null
|
|
308
|
-
const hasBottom = computed(() => slots.footer != null || slots.footerIcons != null);
|
|
306
|
+
const hasTop = computed(() => slots.header != null || slots.top != null);
|
|
307
|
+
const hasBottom = computed(() => slots.footer != null || slots.footerIcons != null || showButton.value);
|
|
308
|
+
const bodyEdgeClass = computed(() => ({
|
|
309
|
+
"astryx-side-nav__body--no-top": !hasTop.value,
|
|
310
|
+
"astryx-side-nav__body--no-bottom": !hasBottom.value
|
|
311
|
+
}));
|
|
309
312
|
const label = computed(() => props.label || messages.value.nav.sideNav);
|
|
310
313
|
const renderMode = useSideNavRenderMode();
|
|
311
314
|
watch(() => config.value.defaultIsCollapsed, (value) => {
|
|
@@ -347,10 +350,16 @@ const _sfc_main$3 = /*@__PURE__*/ defineComponent({
|
|
|
347
350
|
toggle
|
|
348
351
|
});
|
|
349
352
|
return (_ctx, _cache) => {
|
|
350
|
-
return unref(renderMode) === "topbar" ? (openBlock(), createElementBlock("div", _hoisted_1$3, [renderSlot(_ctx.$slots, "header"), slots.footerIcons ? (openBlock(), createElementBlock("div", _hoisted_2$3, [
|
|
353
|
+
return unref(renderMode) === "topbar" ? (openBlock(), createElementBlock("div", _hoisted_1$3, [renderSlot(_ctx.$slots, "header"), slots.footerIcons ? (openBlock(), createElementBlock("div", _hoisted_2$3, [createVNode(unref(SizeProvider), { value: FOOTER_ICON_SIZE }, {
|
|
354
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "footerIcons")]),
|
|
355
|
+
_: 3
|
|
356
|
+
})])) : createCommentVNode("v-if", true)])) : unref(renderMode) === "drawer" || unref(renderMode) === "drawer-content" ? (openBlock(), createElementBlock("div", _hoisted_3$3, [
|
|
351
357
|
slots.top ? (openBlock(), createElementBlock("div", _hoisted_4$3, [renderSlot(_ctx.$slots, "top")])) : createCommentVNode("v-if", true),
|
|
352
358
|
createElementVNode("div", _hoisted_5$2, [renderSlot(_ctx.$slots, "default")], 512),
|
|
353
|
-
hasBottom.value ? (openBlock(), createElementBlock("div", _hoisted_6$2, [renderSlot(_ctx.$slots, "footer"), slots.footerIcons ? (openBlock(), createElementBlock("div", _hoisted_7$1, [
|
|
359
|
+
hasBottom.value ? (openBlock(), createElementBlock("div", _hoisted_6$2, [renderSlot(_ctx.$slots, "footer"), slots.footerIcons ? (openBlock(), createElementBlock("div", _hoisted_7$1, [createVNode(unref(SizeProvider), { value: FOOTER_ICON_SIZE }, {
|
|
360
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "footerIcons")]),
|
|
361
|
+
_: 3
|
|
362
|
+
})])) : createCommentVNode("v-if", true)])) : createCommentVNode("v-if", true)
|
|
354
363
|
])) : (openBlock(), createElementBlock("div", {
|
|
355
364
|
key: 2,
|
|
356
365
|
class: normalizeClass(["astryx-side-nav-frame", { "astryx-side-nav-frame--resizable": showResizeHandle.value }])
|
|
@@ -364,12 +373,18 @@ const _sfc_main$3 = /*@__PURE__*/ defineComponent({
|
|
|
364
373
|
"aria-label": label.value,
|
|
365
374
|
"data-collapsed": isCollapsed.value || void 0
|
|
366
375
|
}, [
|
|
367
|
-
hasTop.value ? (openBlock(), createElementBlock("div", _hoisted_9$1, [slots.header
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
hasBottom.value ? (openBlock(), createElementBlock("div",
|
|
376
|
+
hasTop.value ? (openBlock(), createElementBlock("div", _hoisted_9$1, [slots.header ? (openBlock(), createElementBlock("div", _hoisted_10$1, [renderSlot(_ctx.$slots, "header")])) : createCommentVNode("v-if", true), slots.top ? (openBlock(), createElementBlock("div", _hoisted_11, [renderSlot(_ctx.$slots, "top")])) : createCommentVNode("v-if", true)])) : createCommentVNode("v-if", true),
|
|
377
|
+
createElementVNode("div", {
|
|
378
|
+
ref: "body",
|
|
379
|
+
class: normalizeClass(["astryx-side-nav__body", bodyEdgeClass.value])
|
|
380
|
+
}, [renderSlot(_ctx.$slots, "default")], 2),
|
|
381
|
+
hasBottom.value ? (openBlock(), createElementBlock("div", _hoisted_12, [renderSlot(_ctx.$slots, "footer"), showButton.value || slots.footerIcons ? (openBlock(), createElementBlock("div", _hoisted_13, [createVNode(unref(SizeProvider), { value: FOOTER_ICON_SIZE }, {
|
|
382
|
+
default: withCtx(() => [showButton.value ? (openBlock(), createBlock(_sfc_main$4, {
|
|
383
|
+
key: 0,
|
|
384
|
+
label: config.value.buttonLabel
|
|
385
|
+
}, null, 8, ["label"])) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "footerIcons")]),
|
|
386
|
+
_: 3
|
|
387
|
+
})])) : createCommentVNode("v-if", true)])) : createCommentVNode("v-if", true)
|
|
373
388
|
], 14, _hoisted_8$1), showResizeHandle.value ? (openBlock(), createBlock(_sfc_main$10, {
|
|
374
389
|
key: 0,
|
|
375
390
|
"data-testid": "astryx-sidenav-resize-handle",
|
|
@@ -791,7 +806,10 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
791
806
|
"selected-icon-class",
|
|
792
807
|
"size",
|
|
793
808
|
"target"
|
|
794
|
-
])), _ctx.$slots.actions ? (openBlock(), createElementBlock("div", _hoisted_8, [
|
|
809
|
+
])), _ctx.$slots.actions ? (openBlock(), createElementBlock("div", _hoisted_8, [createVNode(unref(SizeProvider), { value: "sm" }, {
|
|
810
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "actions")]),
|
|
811
|
+
_: 3
|
|
812
|
+
})])) : createCommentVNode("v-if", true)]), hasChildren.value ? (openBlock(), createElementBlock("div", {
|
|
795
813
|
key: 0,
|
|
796
814
|
id: childrenId,
|
|
797
815
|
class: normalizeClass(["astryx-side-nav-item__children", { "astryx-side-nav-item__children--collapsed": nestedCollapsed.value }]),
|
|
@@ -801,7 +819,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
801
819
|
inert: nestedCollapsed.value || void 0
|
|
802
820
|
}, [createElementVNode("div", _hoisted_10, [createElementVNode("span", {
|
|
803
821
|
id: labelId,
|
|
804
|
-
|
|
822
|
+
hidden: ""
|
|
805
823
|
}, toDisplayString(__props.label), 1), renderSlot(_ctx.$slots, "default")])], 10, _hoisted_9)) : createCommentVNode("v-if", true)]));
|
|
806
824
|
};
|
|
807
825
|
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
|
|
2
|
+
import { computed, defineComponent, provide, toValue } from "vue";
|
|
3
|
+
//#region src/SizeContext/SizeContext.ts
|
|
4
|
+
/**
|
|
5
|
+
* 容器往下传默认尺寸的 context。值是一个 getter/ref 的解包形式;
|
|
6
|
+
* `null` 表示外面没有容器提供尺寸,组件走自己的默认值。
|
|
7
|
+
*/
|
|
8
|
+
const SizeContext = defineLayerScopedKey("SizeContext", null);
|
|
9
|
+
/**
|
|
10
|
+
* 解析最终尺寸:显式 prop > 外层 context > 默认值。
|
|
11
|
+
* 返回计算属性,prop 和 context 变化都会跟上。
|
|
12
|
+
*/
|
|
13
|
+
function useSize(sizeProp, defaultSize = "md") {
|
|
14
|
+
const inherited = readLayerScoped(SizeContext);
|
|
15
|
+
return computed(() => toValue(sizeProp) ?? inherited?.value ?? defaultSize);
|
|
16
|
+
}
|
|
17
|
+
/** 在 setup 里往下提供尺寸(组件内部用,等价于原版的 `<SizeProvider value>`)。 */
|
|
18
|
+
function provideSize(size) {
|
|
19
|
+
provide(SizeContext, computed(() => toValue(size)));
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* 声明式提供者,对应原版的 `<SizeProvider value="sm">`。
|
|
23
|
+
* 渲染时不产生额外 DOM,只把默认槽原样透传。
|
|
24
|
+
*/
|
|
25
|
+
const SizeProvider = defineComponent({
|
|
26
|
+
name: "AstryxSizeProvider",
|
|
27
|
+
props: { value: {
|
|
28
|
+
type: String,
|
|
29
|
+
default: null
|
|
30
|
+
} },
|
|
31
|
+
setup(props, { slots }) {
|
|
32
|
+
provideSize(() => props.value);
|
|
33
|
+
return () => slots.default?.();
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
//#endregion
|
|
37
|
+
export { useSize as i, SizeProvider as n, provideSize as r, SizeContext as t };
|
package/dist/Slider/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Slider-
|
|
1
|
+
import { t as _sfc_main } from "../Slider-CEhy-D-R.js";
|
|
2
2
|
export { _sfc_main as Slider };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as usePressFeedback } from "./usePressFeedback-
|
|
1
|
+
import { t as usePressFeedback } from "./usePressFeedback-Dhnfc3ee.js";
|
|
2
2
|
import { t as _sfc_main$2 } from "./VisuallyHidden-cpmsV-0M.js";
|
|
3
|
-
import { n as useButtonTooltip } from "./Button-j-zrKX71.js";
|
|
4
3
|
import { t as _sfc_main$3 } from "./ButtonTooltip-CNKOQHYR.js";
|
|
4
|
+
import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
|
|
5
5
|
import { r as trackInteractionModality, t as getInteractionModality } from "./interactionModality-ACpTMhak.js";
|
|
6
|
-
import { t as _sfc_main$4 } from "./Field-
|
|
6
|
+
import { t as _sfc_main$4 } from "./Field-DLg-trP2.js";
|
|
7
7
|
import { t as useFieldPartStyling } from "./fieldParts--SyRZVQG.js";
|
|
8
8
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, normalizeClass, normalizeStyle, openBlock, renderList, renderSlot, shallowRef, toDisplayString, unref, useAttrs, useId, useModel, useTemplateRef, watch, withCtx, withKeys } from "vue";
|
|
9
9
|
import "../styles/button.css";
|
package/dist/Spinner/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Spinner-
|
|
1
|
+
import { t as _sfc_main } from "../Spinner-CTWLR75x.js";
|
|
2
2
|
export { _sfc_main as Spinner };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as useAstryxMessages } from "./context-
|
|
1
|
+
import { s as useAstryxMessages } from "./context-BLSiTojH.js";
|
|
2
2
|
import { computed, createElementBlock, createElementVNode, createTextVNode, defineComponent, mergeProps, normalizeStyle, openBlock, renderSlot, toDisplayString, useAttrs, useId, useSlots } from "vue";
|
|
3
3
|
import "../styles/spinner.css";
|
|
4
4
|
//#region src/Spinner/spinnerGeometry.ts
|
package/dist/Stack/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as _sfc_main$1 } from "../Stack-
|
|
2
|
-
import { n as _sfc_main$2, r as _sfc_main, t as _sfc_main$3 } from "../Stack-
|
|
1
|
+
import { t as _sfc_main$1 } from "../Stack-DPB-Ztf7.js";
|
|
2
|
+
import { n as _sfc_main$2, r as _sfc_main, t as _sfc_main$3 } from "../Stack-Tw4I_dt-.js";
|
|
3
3
|
export { _sfc_main as HStack, _sfc_main$1 as Stack, _sfc_main$2 as StackItem, _sfc_main$3 as VStack };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { t as useScrollbars } from "./useScrollbars-
|
|
1
|
+
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
2
|
+
import { r as sizingStyle } from "./size-BfginNaZ.js";
|
|
2
3
|
import { computed, createBlock, defineComponent, mergeProps, openBlock, renderSlot, resolveDynamicComponent, useAttrs, useTemplateRef, withCtx } from "vue";
|
|
3
4
|
import "../styles/stack.css";
|
|
4
5
|
//#region src/Stack/Stack.vue
|
|
@@ -50,10 +51,6 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
50
51
|
8: "var(--astryx-spacing-8, 32px)",
|
|
51
52
|
10: "var(--astryx-spacing-10, 40px)"
|
|
52
53
|
};
|
|
53
|
-
function formatSize(value) {
|
|
54
|
-
if (value == null) return void 0;
|
|
55
|
-
return typeof value === "number" ? `${value}px` : value;
|
|
56
|
-
}
|
|
57
54
|
const resolvedHAlign = computed(() => props.hAlign ?? (props.direction === "horizontal" ? props.justify : props.align));
|
|
58
55
|
const resolvedVAlign = computed(() => props.vAlign ?? (props.direction === "horizontal" ? props.align : props.justify));
|
|
59
56
|
const mainAlign = computed(() => props.direction === "horizontal" ? resolvedHAlign.value : resolvedVAlign.value);
|
|
@@ -68,12 +65,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
68
65
|
* CSS 变量默认继承,空着不写会让里层 Stack 拿到外层 Stack 的内边距和间距。
|
|
69
66
|
*/
|
|
70
67
|
const rootStyle = computed(() => {
|
|
71
|
-
const stackStyle = {
|
|
72
|
-
height: formatSize(props.height),
|
|
73
|
-
maxWidth: formatSize(props.maxWidth),
|
|
74
|
-
minHeight: formatSize(props.minHeight),
|
|
75
|
-
width: formatSize(props.width)
|
|
76
|
-
};
|
|
68
|
+
const stackStyle = { ...sizingStyle(props) };
|
|
77
69
|
stackStyle["--astryx-stack-gap"] = spacingValue(props.gap) ?? UNSET_SPACING;
|
|
78
70
|
stackStyle["--astryx-stack-padding-block"] = spacingValue(props.paddingBlock ?? props.padding) ?? UNSET_SPACING;
|
|
79
71
|
stackStyle["--astryx-stack-padding-block-start"] = spacingValue(props.paddingBlockStart) ?? UNSET_SPACING;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as useScrollbars } from "./useScrollbars-
|
|
2
|
-
import { t as _sfc_main$3 } from "./Stack-
|
|
1
|
+
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
2
|
+
import { t as _sfc_main$3 } from "./Stack-DPB-Ztf7.js";
|
|
3
3
|
import { computed, createBlock, defineComponent, mergeProps, openBlock, renderSlot, resolveDynamicComponent, useAttrs, useTemplateRef, withCtx } from "vue";
|
|
4
4
|
import "../styles/stack.css";
|
|
5
5
|
//#region src/Stack/HStack.vue
|
package/dist/StatusDot/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../StatusDot-
|
|
1
|
+
import { t as _sfc_main } from "../StatusDot-Bu_nCu0I.js";
|
|
2
2
|
export { _sfc_main as StatusDot };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as _sfc_main$1 } from "./Tooltip-
|
|
1
|
+
import { t as _sfc_main$1 } from "./Tooltip-BfKegFfq.js";
|
|
2
2
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, guardReactiveProps, normalizeClass, normalizeProps, openBlock, renderSlot, resolveDynamicComponent, toRaw, useSlots, withCtx } from "vue";
|
|
3
3
|
import "../styles/status-dot.css";
|
|
4
4
|
//#region src/StatusDot/StatusDot.vue
|
package/dist/Stepper/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as StepProps, c as StepperCollapsedVariant, d as StepperIndicatorPosition, f as StepperOrientation, i as StepProgress, l as StepperDensity, m as StepperSlots, n as _default, o as StepSlots, p as StepperProps, r as StepIndicator, s as StepStatus, t as _default$1, u as StepperHorizontalOptions } from "../index-
|
|
1
|
+
import { a as StepProps, c as StepperCollapsedVariant, d as StepperIndicatorPosition, f as StepperOrientation, i as StepProgress, l as StepperDensity, m as StepperSlots, n as _default, o as StepSlots, p as StepperProps, r as StepIndicator, s as StepStatus, t as _default$1, u as StepperHorizontalOptions } from "../index-CO9GW-ik.js";
|
|
2
2
|
export { _default as Step, type StepIndicator, type StepProgress, type StepProps, type StepSlots, type StepStatus, _default$1 as Stepper, type StepperCollapsedVariant, type StepperDensity, type StepperHorizontalOptions, type StepperIndicatorPosition, type StepperOrientation, type StepperProps, type StepperSlots };
|
package/dist/Stepper/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, t as _sfc_main$1 } from "../Stepper-
|
|
1
|
+
import { n as _sfc_main, t as _sfc_main$1 } from "../Stepper-DVXisudw.js";
|
|
2
2
|
export { _sfc_main as Step, _sfc_main$1 as Stepper };
|