@astryx-vue/core 0.7.20 → 0.7.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AlertDialog/index.d.ts +1 -1
- package/dist/AlertDialog/index.js +1 -1
- package/dist/{AlertDialog-pPXTwJ2L.js → AlertDialog-Clj4LQbD.js} +14 -8
- package/dist/AppShell/index.d.ts +1 -1
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-ggoyfRU8.js → AppShell--izaf9Fx.js} +3 -3
- package/dist/Avatar/index.d.ts +1 -1
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-CP5bJN1n.js → Avatar-cNntRBEo.js} +18 -14
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/AvatarGroup/index.js +1 -1
- package/dist/{AvatarGroup-DkdSw1yf.js → AvatarGroup-DbWLEmi1.js} +3 -3
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Banner/index.js +1 -1
- package/dist/{Banner-BAq0N2B5.js → Banner-B_mAF0Cw.js} +7 -5
- package/dist/BottomSheet/index.d.ts +1 -1
- package/dist/BottomSheet/index.js +2 -2
- package/dist/{BottomSheet-ChaxnQlr.js → BottomSheet-BKeyoL9N.js} +1 -1
- package/dist/{BottomSheet-BTFPLoGw.js → BottomSheet-CMukh1iI.js} +1 -1
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/{Breadcrumbs-CXRXlVmX.js → Breadcrumbs-b00jtj_I.js} +2 -2
- package/dist/Button/index.d.ts +1 -1
- package/dist/Button/index.js +1 -1
- package/dist/{Button-xMGOU3Wj.js → Button-DVXOKWAy.js} +11 -78
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/ButtonGroup/index.js +1 -1
- package/dist/{ButtonGroup-DnkSZ9a5.js → ButtonGroup-B9sj-OvC.js} +5 -3
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Calendar/index.js +1 -1
- package/dist/{Calendar-CJQCND7M.js → Calendar-d_uOkvFE.js} +4 -4
- package/dist/Card/index.d.ts +1 -1
- package/dist/Card/index.js +1 -1
- package/dist/{Card-B-I24X9S.js → Card-H4571ZKi.js} +1 -1
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-v8MoIvkj.js → Carousel-CUtC-6st.js} +3 -3
- package/dist/Center/index.d.ts +1 -1
- package/dist/Center/index.js +1 -1
- package/dist/{Center-DVaZaTGP.js → Center-B7FTd7Hw.js} +2 -10
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-CZqMkxNN.js → Chat-BCeC0sHI.js} +19 -10
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-D0SSjziv.js → CheckboxInput-B4pDfjvr.js} +6 -6
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-Dd6Vn_0N.js → CheckboxList-DtxfdHRI.js} +14 -10
- package/dist/Citation/index.js +1 -1
- package/dist/{Citation-BDHIuvX3.js → Citation-CCu6QWG7.js} +2 -2
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/ClickableCard/index.js +1 -1
- package/dist/{ClickableCard-CGjr4c7g.js → ClickableCard-jEBZbzHE.js} +3 -3
- package/dist/Code/index.d.ts +1 -1
- package/dist/Code/index.js +2 -2
- package/dist/{Code-U7yN4bwZ.js → Code-PDhTfE2w.js} +2 -8
- package/dist/{CodeBlock-Dnv5SexJ.js → CodeBlock-C8ZQsnEc.js} +31 -9
- package/dist/Collapsible/index.d.ts +1 -1
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-DPC_G0Me.js → Collapsible-BsPZ8CoN.js} +2 -2
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-CM5VyZTp.js → CommandPalette-0Kg-dJg3.js} +5 -5
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-BiKaDteS.js → ComplexSelector-xJGZLLyu.js} +6 -6
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-DPY3WDdI.js → ContextMenu-CgSIWUYh.js} +7 -7
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-CDesWR4P.js → DateInput-B0t3u-_h.js} +17 -15
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-xT3wXhbh.js → DateRangeInput-CZcASUxa.js} +15 -13
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-oZKJG12g.js → DateTimeInput-vkdQJjsh.js} +15 -13
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Dialog/index.js +1 -1
- package/dist/{DialogHeader-CAvunUP_.js → DialogHeader-Doo2W2Ni.js} +26 -17
- package/dist/Divider/index.d.ts +1 -1
- package/dist/Drawer/index.d.ts +1 -1
- package/dist/Drawer/index.js +1 -1
- package/dist/{Drawer-AYHh8GOH.js → Drawer-Ca7Dny6L.js} +1 -1
- package/dist/DropdownMenu/index.js +3 -3
- package/dist/{DropdownMenu-CjM_IQIU.js → DropdownMenu-ogcv4KxT.js} +8 -8
- package/dist/{DropdownMenu-C1-Fx_uu.js → DropdownMenu-xdyXj4Mb.js} +7 -7
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-CVbtVcRb.js → EmptyState-BQrzgh2f.js} +2 -2
- package/dist/Field/index.js +3 -3
- package/dist/{Field-Dw53vhfK.js → Field-DLg-trP2.js} +2 -2
- package/dist/{FieldIcon--Qng2Cup.js → FieldIcon-CxTnEb4Y.js} +1 -1
- package/dist/{FieldInfoTip-Ci5usYvE.js → FieldInfoTip-gWPWGd3Q.js} +3 -3
- package/dist/{FieldLabel-MeJlcRRG.js → FieldLabel-D5_Pap_W.js} +9 -5
- package/dist/FieldStatus/index.js +1 -1
- package/dist/{FieldStatus-BGM4IlHy.js → FieldStatus-D6Vo_dU5.js} +5 -4
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-jPcAv4-1.js → FileInput-eBk4ZBY8.js} +10 -10
- package/dist/Heading/index.d.ts +1 -1
- package/dist/Heading/index.js +1 -1
- package/dist/{Heading-CwMG-5tj.js → Heading-D0zL1j5T.js} +1 -1
- package/dist/HoverCard/index.d.ts +1 -1
- package/dist/HoverCard/index.js +1 -1
- package/dist/{HoverCard-SuGMVIZR.js → HoverCard-B9uadAzT.js} +2 -1
- package/dist/Icon/index.js +1 -1
- package/dist/{Icon-Dosui-zD.js → Icon-CU3412Fe.js} +6 -1
- package/dist/IconButton/index.js +1 -1
- package/dist/{IconButton-BmMIccb4.js → IconButton-C5U75I5C.js} +1 -1
- package/dist/Indicator/index.js +1 -1
- package/dist/InfoTip/index.d.ts +2 -0
- package/dist/InfoTip/index.js +5 -0
- package/dist/InfoTip-BlOySTNC.js +95 -0
- package/dist/{InputClearButton-Dd1GgItq.js → InputClearButton-DjLXIYX4.js} +3 -3
- package/dist/InputGroup/index.d.ts +1 -1
- package/dist/InputGroup/index.js +1 -1
- package/dist/{InputGroup-C1z9qkGA.js → InputGroup-BleRgc6W.js} +8 -4
- package/dist/InternationalizationProvider/index.d.ts +1 -1
- package/dist/InternationalizationProvider/index.js +1 -1
- package/dist/{InternationalizationProvider-DKNYYBp5.js → InternationalizationProvider-CWJDt7Qb.js} +2 -2
- package/dist/{Item-DWMIjN8n.js → Item-X9wgYWoD.js} +1 -1
- package/dist/Layout/index.d.ts +1 -1
- package/dist/Layout/index.js +2 -2
- package/dist/{Layout-JJRCG7Mf.js → Layout-mHcy28k7.js} +3 -2
- package/dist/{LayoutPanel-zM5vjrKS.js → LayoutPanel-DpbBk6rj.js} +4 -27
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-Bx1uvH61.js → Lightbox-BKIn3xh8.js} +3 -3
- package/dist/Link/index.d.ts +3 -3
- package/dist/Link/index.js +1 -1
- package/dist/{Link-DdLdry4N.js → Link-Qhzs2lcO.js} +27 -20
- package/dist/List/index.d.ts +1 -1
- package/dist/List/index.js +2 -2
- package/dist/{ListItem-Cq_nU1YV.js → ListItem-CertehfW.js} +1 -1
- package/dist/Markdown/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-u-bXd7Z_.js → Markdown-BJFwe_pB.js} +10 -8
- package/dist/{MediaTheme-p2hOnZaR.js → MediaTheme-CnSOALNj.js} +4 -9
- package/dist/MetadataList/index.js +1 -1
- package/dist/{MetadataList-sNNwmmXa.js → MetadataList-wOngshS5.js} +1 -1
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-DgEwchpj.js → MobileNavToggle-C8KAzhRl.js} +2 -2
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-CUWP3WTs.js → MoreMenu-VgbqyoGW.js} +117 -99
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-DXFen6nf.js → MultiSelector-BTIeCFDV.js} +36 -38
- package/dist/{NavDisclosure-snipr7Cd.js → NavDisclosure-BbRWuyhq.js} +1 -1
- package/dist/{NavHeadingSurface-tn7cGNlX.js → NavHeadingSurface-B2HkXx6S.js} +3 -3
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NavItem/index.js +1 -1
- package/dist/{NavItem-BPb3yfgz.js → NavItem-DfHMmSsw.js} +1 -1
- package/dist/NavMenu/index.js +3 -3
- package/dist/{NavMenu-BA5lW02j.js → NavMenu-CZS5pRUv.js} +1 -1
- package/dist/{NavMenuItem-BuIgWJq8.js → NavMenuItem-duQuvU1o.js} +2 -2
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-47pYh8M8.js → NumberInput-CkYRY1KW.js} +19 -32
- package/dist/Outline/index.js +1 -1
- package/dist/{Outline-C6xBCP2y.js → Outline-D3g7Vq7-.js} +2 -2
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-BHnarnHA.js → OverflowList-WwL2NPbI.js} +3 -3
- package/dist/Overlay/index.d.ts +1 -1
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-CBjcLsLG.js → Pagination-Cn53Nqe3.js} +2 -2
- package/dist/Popover/index.d.ts +1 -1
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-DOqAuY-b.js → Popover-Cbv5LUWL.js} +10 -6
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-BnsPW_Xe.js → PowerSearch-DtncqsYh.js} +88 -73
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/ProgressBar/index.js +1 -1
- package/dist/{ProgressBar-Cmbhdfla.js → ProgressBar-Dt5AS0GY.js} +1 -1
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-Dcmqx9p_.js → RadioGroup-B2lYTCeV.js} +5 -5
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioList-BnM8hmMZ.js → RadioList-CieZtXzY.js} +1 -1
- package/dist/Resizable/index.d.ts +1 -1
- package/dist/Resizable/index.js +1 -1
- package/dist/{ResizeHandle-Bxt3HOsd.js → ResizeHandle-uBJj4W1M.js} +1 -1
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/ScrollableArea/index.js +1 -1
- package/dist/{ScrollableArea-0u6RWtGG.js → ScrollableArea-BgIytCxo.js} +3 -8
- package/dist/Scrollbars/index.js +2 -2
- package/dist/{Scrollbars-D_93hJYK.js → Scrollbars-Gvu4QVaF.js} +1 -1
- package/dist/Section/index.js +1 -1
- package/dist/{Section-v2QuWBBJ.js → Section-Km_FjJ-i.js} +2 -7
- package/dist/SegmentedControl/index.d.ts +1 -1
- package/dist/SegmentedControl/index.js +1 -1
- package/dist/{SegmentedControl-D1wWGBZo.js → SegmentedControl-BmDn1avo.js} +6 -4
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/SelectableCard/index.js +1 -1
- package/dist/{SelectableCard-BEqnhPaX.js → SelectableCard-2a2gsxys.js} +3 -3
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-DJqfjwFd.js → Selector-CgrXQtte.js} +122 -52
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-DeE9XA0M.js → SideNav-B_atCEBH.js} +45 -27
- package/dist/SizeContext/index.d.ts +2 -0
- package/dist/SizeContext/index.js +2 -0
- package/dist/SizeContext-BbaF-SEx.js +37 -0
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-CDssBPWC.js → Slider-CEhy-D-R.js} +4 -4
- package/dist/Spinner/index.js +1 -1
- package/dist/{Spinner-D8YW_EgO.js → Spinner-CTWLR75x.js} +1 -1
- package/dist/Stack/index.js +2 -2
- package/dist/{Stack-Bp-XN9J4.js → Stack-DPB-Ztf7.js} +3 -11
- package/dist/{Stack-Bb_h60t3.js → Stack-Tw4I_dt-.js} +2 -2
- package/dist/StatusDot/index.js +1 -1
- package/dist/{StatusDot-DhNtAVEN.js → StatusDot-Bu_nCu0I.js} +1 -1
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/Stepper/index.js +1 -1
- package/dist/{Stepper-D_tzl2pr.js → Stepper-DVXisudw.js} +149 -67
- package/dist/Switch/index.d.ts +2 -2
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-GIld457S.js → Switch-DXShvaDA.js} +12 -6
- package/dist/TabList/index.d.ts +1 -1
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-B9RRmiqV.js → TabList-DIEm4YKM.js} +10 -8
- package/dist/Table/index.d.ts +2 -2
- package/dist/Table/index.js +1 -1
- package/dist/{Table-B9F3DkX-.js → Table-RQ5wklzn.js} +28 -20
- package/dist/Text/index.d.ts +2 -2
- package/dist/Text/index.js +1 -1
- package/dist/{Text-D8ZIQxgB.js → Text-Wk-iDAzh.js} +2 -2
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-zVh5qj-c.js → TextArea-D1QHRYUp.js} +24 -14
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-Bfr1Igjs.js → TextInput-ZSr9jgdk.js} +11 -8
- package/dist/Theme/index.js +2 -2
- package/dist/{Theme-BpgmIGCo.js → Theme-D7_fQWgb.js} +570 -4
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-BvXGkihb.js → Thumbnail-CYRPjf1Y.js} +6 -6
- package/dist/{TimeField-BcGkQvY4.js → TimeField-DnfFPnBT.js} +10 -10
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-CwCYQa51.js → TimeInput-Dj5b3rL3.js} +6 -4
- package/dist/Timer/index.d.ts +1 -1
- package/dist/Timer/index.js +1 -1
- package/dist/{Timer-cp10vcti.js → Timer-DL_MPa_h.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-DAfry9GA.js → Timestamp-hepTGx5N.js} +5 -5
- package/dist/Toast/index.js +1 -1
- package/dist/{Toast-CN6C5mZ4.js → Toast-DRIZNfyy.js} +24 -18
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/ToggleButton/index.js +1 -1
- package/dist/{ToggleButton-Cq82SwPx.js → ToggleButton-zpHmL_yH.js} +1 -1
- package/dist/Token/index.d.ts +1 -1
- package/dist/Token/index.js +1 -1
- package/dist/{Token-rBcE4hYh.js → Token-BJDLztV6.js} +2 -2
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-CIviljVO.js → Tokenizer-yz0873oG.js} +45 -37
- package/dist/Toolbar/index.d.ts +2 -2
- package/dist/Toolbar/index.js +1 -1
- package/dist/{Toolbar-DKld_COt.js → Toolbar-CbVhy7K9.js} +3 -1
- package/dist/Tooltip/index.d.ts +1 -1
- package/dist/Tooltip/index.js +2 -1
- package/dist/Tooltip-BfKegFfq.js +126 -0
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-Dwu7beKR.js → TopNav-aCHKxMyk.js} +7 -7
- package/dist/TreeList/index.d.ts +1 -1
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-XMAHW9fH.js → TreeList-tcEjVfb0.js} +34 -26
- package/dist/Typeahead/index.js +2 -2
- package/dist/{Typeahead-DrziC_-X.js → Typeahead-ClidGB0O.js} +8 -8
- package/dist/{TypeaheadMenu-CafYGgVa.js → TypeaheadMenu-Bu9HO-wZ.js} +1 -1
- package/dist/VisuallyHidden/index.js +1 -1
- package/dist/{VisuallyHidden-C7NN3VEP.js → VisuallyHidden-cpmsV-0M.js} +25 -2
- package/dist/composables/index.d.ts +2 -2
- package/dist/composables/index.js +6 -5
- package/dist/{composables-rlh0LyHP.js → composables-BWDrzi3J.js} +1 -1
- package/dist/{context-dY6CBI-t.js → context-BLSiTojH.js} +12 -2
- package/dist/context-Bv6lAoqu.js +26 -0
- package/dist/{index-gW0HW02U.d.ts → index-6kd7pher.d.ts} +0 -1
- package/dist/{index-ChCcxRFB.d.ts → index-9eluGe3a.d.ts} +1 -1
- package/dist/{index-TXcNH86P.d.ts → index-B1eCxBCY.d.ts} +1 -1
- package/dist/{index-DxSmMU5p.d.ts → index-B7VpAZYk.d.ts} +20 -7
- package/dist/{index-BuubzuE8.d.ts → index-BDZCJ9ri.d.ts} +2 -2
- package/dist/{index-wY6dKz6c.d.ts → index-BEZ4ezJk.d.ts} +2 -2
- package/dist/{index-BfS1MA8W.d.ts → index-BRXgpLcd.d.ts} +5 -6
- package/dist/{index-G935Rujh.d.ts → index-BUZDSd-n.d.ts} +96 -2
- package/dist/{index-2nF5Y3RN.d.ts → index-Be7N3B5F.d.ts} +2 -3
- package/dist/{index-DbiZvj1P.d.ts → index-BfQ85cS8.d.ts} +0 -1
- package/dist/{index-CTjkJP4x.d.ts → index-Bgk1Rj2A.d.ts} +1 -1
- package/dist/{index-BOCb89V9.d.ts → index-BxWCX2pJ.d.ts} +1 -1
- package/dist/{index-UFlyBbRd.d.ts → index-C3f1zsJR.d.ts} +2 -2
- package/dist/{index-C-tFz2Yx.d.ts → index-C9ZssPUV.d.ts} +1 -1
- package/dist/{index-CRPSZ4nY.d.ts → index-CFm1rPma.d.ts} +1 -1
- package/dist/{index-C1zwvxPH.d.ts → index-CL8JvxHW.d.ts} +2 -2
- package/dist/{index-B7Jz5i9a.d.ts → index-CM8KfpBL.d.ts} +3 -4
- package/dist/{index-DpXXD9nP.d.ts → index-CfOpGR_m.d.ts} +215 -147
- package/dist/{index-DAMHLkmd.d.ts → index-CfPGC9aW.d.ts} +1 -1
- package/dist/{index-GpET2_oj.d.ts → index-Cun6cXGP.d.ts} +1 -1
- package/dist/{index-C8wfe0Mr.d.ts → index-D05JGsT3.d.ts} +1 -1
- package/dist/{index-Uh-ddE5F.d.ts → index-D21zdEgS.d.ts} +1 -1
- package/dist/{index-DUnLj1kn.d.ts → index-DLq_N8bd.d.ts} +1 -1
- package/dist/{index-Dl4Kx5Pl.d.ts → index-DTfA4uE3.d.ts} +13 -3
- package/dist/{index-CKpz_Eed.d.ts → index-DX4HQToB.d.ts} +1 -1
- package/dist/{index-D97pQbua.d.ts → index-DXhtlG4u.d.ts} +2 -2
- package/dist/{index-B2kcUxGA.d.ts → index-D_K1wfRa.d.ts} +1 -1
- package/dist/{index-MEix_m1o.d.ts → index-DaXzQxos.d.ts} +2 -2
- package/dist/{index-Do0iakTm.d.ts → index-DgmlhvRV.d.ts} +1 -1
- package/dist/{index-CAttPKaF.d.ts → index-DjVJDoz4.d.ts} +1 -1
- package/dist/{index-qayqGnJT.d.ts → index-IfiA8CSr.d.ts} +2 -2
- package/dist/{index-BbArm3_c.d.ts → index-MIv3YJ_j.d.ts} +3 -3
- package/dist/{index-BNaRK-s5.d.ts → index-O9y23OPJ.d.ts} +11 -1
- package/dist/{index-COgrQZIL.d.ts → index-YKCx03zD.d.ts} +2 -2
- package/dist/{index-BKnyTWPM.d.ts → index-ZbNwGVkS.d.ts} +1 -1
- package/dist/index-q7fVtnQc.d.ts +48 -0
- package/dist/{index-Cy1rEWC-.d.ts → index-rszZajcw.d.ts} +1 -1
- package/dist/{index-mcNmCMqs.d.ts → index-uqEqPcmR.d.ts} +2 -2
- package/dist/index.d.ts +67 -68
- package/dist/index.js +132 -125
- package/dist/{loadCatalog-Cr3451_V.js → loadCatalog-85MyL2bm.js} +1 -1
- package/dist/{loadCatalog-DNIEPF3f.d.ts → loadCatalog-DSRSkHnY.d.ts} +9 -0
- package/dist/locale/index.d.ts +2 -2
- package/dist/locale/index.js +4 -4
- package/dist/{locale-BdA3CTlQ.js → locale-C7RSY-JG.js} +77 -77
- package/dist/{searchResultMessage-u1rOubPl.js → searchResultMessage-T4H3r8Vz.js} +3 -3
- package/dist/sharedResizeObserver-9EFWnSWH.js +87 -0
- package/dist/{size-Cpn_wzXi.js → size-BfginNaZ.js} +19 -1
- package/dist/{types-BymI5mmm.d.ts → types-B8suOGP8.d.ts} +3 -2
- package/dist/{useAnchoredListbox-DwQTMWjI.js → useAnchoredListbox-6t5zSSz1.js} +1 -1
- package/dist/useButtonTooltip-DjCaZMp_.js +73 -0
- package/dist/{useIndicator-fTOZfYVI.js → useIndicator-BvF_KY9S.js} +1 -1
- package/dist/{useInputStatusIcon-BZPOzGDC.js → useInputStatusIcon-Dax94Gdd.js} +2 -2
- package/dist/{useMergedRefs-CG0YVRL-.js → useLayer-Byjda3dD.js} +2 -23
- package/dist/{useMenuDrillIn-B6jh8tv8.js → useMenuDrillIn-C36Z89W3.js} +3 -3
- package/dist/useMergedRefs-DTGo1cEU.js +22 -0
- package/dist/{usePositionedLayer-HrhF3lEZ.js → usePositionedLayer-psKf3ano.js} +13 -3
- package/dist/{usePressFeedback-BJCpjEpv.js → usePressFeedback-Dhnfc3ee.js} +19 -2
- package/dist/{useResizable-BJ0DaMml.d.ts → useResizable-fEGAFziz.d.ts} +2 -0
- package/dist/{colorMode-BxqfDP4P.js → useResolvedColorMode-CHOh3Yz-.js} +31 -1
- package/dist/{useScrollbars-C2NJ6Qwq.js → useScrollbars-Ch0xqJWO.js} +3 -0
- package/dist/useTooltip-BKsCTWdb.js +415 -0
- package/dist/{useTranslator-DZBywLvR.js → useTranslator-BDUOzbP_.js} +1 -1
- package/dist/utils/index.js +2 -1
- package/dist/{utils-BE5HBOBX.js → utils-BOmFijPc.js} +1 -87
- package/package.json +9 -1
- package/styles/app-shell.css +12 -0
- package/styles/avatar.css +14 -2
- package/styles/banner.css +35 -27
- package/styles/bottom-sheet.css +8 -1
- package/styles/button.css +26 -12
- package/styles/calendar.css +3 -1
- package/styles/chat.css +53 -32
- package/styles/clickable-card.css +3 -3
- package/styles/code.css +5 -7
- package/styles/collapsible.css +10 -0
- package/styles/complex-selector.css +3 -3
- package/styles/container-reveal.css +161 -69
- package/styles/dialog-header.css +6 -0
- package/styles/dialog.css +29 -9
- package/styles/dropdown-menu.css +7 -6
- package/styles/empty-state.css +0 -4
- package/styles/field.css +37 -20
- package/styles/heading.css +20 -9
- package/styles/icon.css +11 -6
- package/styles/info-tip.css +45 -0
- package/styles/layout.css +2 -1
- package/styles/link.css +54 -7
- package/styles/list.css +1 -1
- package/styles/markdown.css +46 -2
- package/styles/more-menu.css +3 -2
- package/styles/multi-selector.css +6 -6
- package/styles/number-input.css +1 -2
- package/styles/popover.css +2 -2
- package/styles/power-search.css +10 -1
- package/styles/pressable.css +4 -4
- package/styles/radio.css +2 -3
- package/styles/section.css +3 -0
- package/styles/segmented-control.css +13 -0
- package/styles/selector.css +25 -10
- package/styles/side-nav.css +75 -2
- package/styles/slider.css +5 -2
- package/styles/stepper-track.css +57 -0
- package/styles/stepper.css +81 -46
- package/styles/switch.css +22 -11
- package/styles/tab-list.css +7 -6
- package/styles/tab-menu.css +0 -1
- package/styles/table.css +38 -3
- package/styles/text-area.css +5 -8
- package/styles/text.css +21 -1
- package/styles/theme.css +2 -0
- package/styles/thumbnail.css +1 -1
- package/styles/toast.css +11 -21
- package/styles/token.css +1 -1
- package/styles/tokenizer.css +8 -1
- package/styles/toolbar.css +5 -1
- package/styles/top-nav.css +19 -6
- package/styles/tree-list.css +2 -3
- package/styles.css +2 -0
- package/dist/Tooltip-sESBLZwR.js +0 -339
- package/dist/index-CHuSkU5Q.d.ts +0 -26
- package/dist/types-CbiqoBoG.d.ts +0 -89
- package/dist/{index-CHx33xGa.d.ts → index-BqhgeAT4.d.ts} +2 -2
- /package/dist/{index-Ca8VIE4l.d.ts → index-Q1oG9yIT.d.ts} +0 -0
|
@@ -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-DVXOKWAy.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-
|
|
2
|
-
import { t as _sfc_main$2 } from "./VisuallyHidden-
|
|
3
|
-
import { n as useButtonTooltip } from "./Button-xMGOU3Wj.js";
|
|
1
|
+
import { t as usePressFeedback } from "./usePressFeedback-Dhnfc3ee.js";
|
|
2
|
+
import { t as _sfc_main$2 } from "./VisuallyHidden-cpmsV-0M.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-Q1oG9yIT.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 };
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { t as usePressFeedback } from "./usePressFeedback-
|
|
1
|
+
import { t as usePressFeedback } from "./usePressFeedback-Dhnfc3ee.js";
|
|
2
2
|
import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
|
|
3
|
-
import { t as _sfc_main$3 } from "./Icon-
|
|
4
|
-
import { t as _sfc_main$4 } from "./VisuallyHidden-
|
|
5
|
-
import { s as useAstryxMessages } from "./context-
|
|
6
|
-
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeProps, normalizeClass, normalizeStyle, onMounted, onUnmounted, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toDisplayString, unref, useTemplateRef, watch, withCtx } from "vue";
|
|
3
|
+
import { t as _sfc_main$3 } from "./Icon-CU3412Fe.js";
|
|
4
|
+
import { t as _sfc_main$4 } from "./VisuallyHidden-cpmsV-0M.js";
|
|
5
|
+
import { s as useAstryxMessages } from "./context-BLSiTojH.js";
|
|
6
|
+
import { Comment, Fragment, Text, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeProps, normalizeClass, normalizeStyle, onMounted, onUnmounted, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toDisplayString, unref, useTemplateRef, watch, withCtx } from "vue";
|
|
7
7
|
import "../styles/stepper.css";
|
|
8
|
+
import "../styles/stepper-track.css";
|
|
8
9
|
//#region src/Stepper/context.ts
|
|
9
10
|
const stepperContextKey = defineLayerScopedKey("stepper", null);
|
|
10
11
|
/**
|
|
@@ -65,16 +66,20 @@ function connectorFillTiming(activeStep, previousActiveStep, spanIndex, offset,
|
|
|
65
66
|
}
|
|
66
67
|
//#endregion
|
|
67
68
|
//#region src/Stepper/StepMarker.vue
|
|
68
|
-
const _hoisted_1$2 = [
|
|
69
|
+
const _hoisted_1$2 = [
|
|
70
|
+
"data-glyph",
|
|
71
|
+
"data-progress",
|
|
72
|
+
"data-status",
|
|
73
|
+
"data-disabled"
|
|
74
|
+
];
|
|
69
75
|
const _hoisted_2$2 = {
|
|
70
|
-
key:
|
|
76
|
+
key: 3,
|
|
71
77
|
viewBox: "0 0 16 16"
|
|
72
78
|
};
|
|
73
79
|
const _hoisted_3$2 = {
|
|
74
|
-
key:
|
|
80
|
+
key: 4,
|
|
75
81
|
viewBox: "0 0 16 16"
|
|
76
82
|
};
|
|
77
|
-
const _hoisted_4$2 = { key: 4 };
|
|
78
83
|
const _sfc_main$2 = /*@__PURE__*/ defineComponent({
|
|
79
84
|
name: "AstryxStepMarker",
|
|
80
85
|
__name: "StepMarker",
|
|
@@ -82,22 +87,26 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
|
|
|
82
87
|
glyph: {},
|
|
83
88
|
numberLabel: {},
|
|
84
89
|
status: {},
|
|
85
|
-
isDisabled: { type: Boolean }
|
|
90
|
+
isDisabled: { type: Boolean },
|
|
91
|
+
progress: {}
|
|
86
92
|
},
|
|
87
93
|
setup(__props) {
|
|
88
94
|
return (_ctx, _cache) => {
|
|
89
|
-
return __props.glyph !== "none" ? (openBlock(), createElementBlock("span", {
|
|
95
|
+
return _ctx.$slots.icon || __props.glyph !== "none" ? (openBlock(), createElementBlock("span", {
|
|
90
96
|
key: 0,
|
|
91
97
|
class: "astryx-step-indicator",
|
|
92
98
|
"data-glyph": __props.glyph,
|
|
99
|
+
"data-progress": __props.progress,
|
|
100
|
+
"data-status": __props.status,
|
|
101
|
+
"data-disabled": __props.isDisabled || void 0,
|
|
93
102
|
"aria-hidden": "true"
|
|
94
|
-
}, [__props.glyph === "warning" || __props.glyph === "error" ? (openBlock(), createBlock(_sfc_main$3, {
|
|
95
|
-
key:
|
|
103
|
+
}, [_ctx.$slots.icon ? renderSlot(_ctx.$slots, "icon", {}, void 0, void 0, 0) : __props.glyph === "warning" || __props.glyph === "error" ? (openBlock(), createBlock(_sfc_main$3, {
|
|
104
|
+
key: 1,
|
|
96
105
|
icon: __props.glyph,
|
|
97
106
|
size: "sm",
|
|
98
107
|
color: __props.isDisabled ? "disabled" : __props.glyph
|
|
99
108
|
}, null, 8, ["icon", "color"])) : __props.glyph === "check" && __props.status === "success" ? (openBlock(), createBlock(_sfc_main$3, {
|
|
100
|
-
key:
|
|
109
|
+
key: 2,
|
|
101
110
|
icon: "success",
|
|
102
111
|
size: "sm",
|
|
103
112
|
color: __props.isDisabled ? "disabled" : "success"
|
|
@@ -125,7 +134,7 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
|
|
|
125
134
|
cy: "8",
|
|
126
135
|
r: "2.25",
|
|
127
136
|
fill: "currentColor"
|
|
128
|
-
}, null, -1)])])) : (openBlock(), createElementBlock(
|
|
137
|
+
}, null, -1)])])) : (openBlock(), createElementBlock(Fragment, { key: 5 }, [createTextVNode(toDisplayString(__props.numberLabel), 1)], 64))], 8, _hoisted_1$2)) : createCommentVNode("v-if", true);
|
|
129
138
|
};
|
|
130
139
|
}
|
|
131
140
|
});
|
|
@@ -148,20 +157,22 @@ const _hoisted_3$1 = {
|
|
|
148
157
|
const _hoisted_4$1 = ["data-filled"];
|
|
149
158
|
const _hoisted_5$1 = ["data-filled"];
|
|
150
159
|
const _hoisted_6$1 = { class: "astryx-step-body" };
|
|
151
|
-
const _hoisted_7$1 =
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
160
|
+
const _hoisted_7$1 = {
|
|
161
|
+
key: 0,
|
|
162
|
+
class: "astryx-step-track"
|
|
163
|
+
};
|
|
164
|
+
const _hoisted_8$1 = ["data-filled"];
|
|
165
|
+
const _hoisted_9$1 = ["data-filled"];
|
|
166
|
+
const _hoisted_10 = { class: "astryx-step-row" };
|
|
167
|
+
const _hoisted_11 = { class: "astryx-step-label-row" };
|
|
168
|
+
const _hoisted_12 = [
|
|
155
169
|
"data-disabled",
|
|
156
170
|
"data-progress",
|
|
157
171
|
"data-status"
|
|
158
172
|
];
|
|
159
|
-
const
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
};
|
|
163
|
-
const _hoisted_12 = ["data-progress", "data-status"];
|
|
164
|
-
const _hoisted_13 = {
|
|
173
|
+
const _hoisted_13 = { class: "astryx-step-optional" };
|
|
174
|
+
const _hoisted_14 = ["data-progress", "data-status"];
|
|
175
|
+
const _hoisted_15 = {
|
|
165
176
|
key: 0,
|
|
166
177
|
class: "astryx-step-content"
|
|
167
178
|
};
|
|
@@ -186,6 +197,15 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
186
197
|
},
|
|
187
198
|
setup(__props) {
|
|
188
199
|
const props = __props;
|
|
200
|
+
/** 插槽里只有注释(比如 v-if 为假)或空白时不算有内容,不渲染内容区。 */
|
|
201
|
+
function hasContent(nodes) {
|
|
202
|
+
return nodes?.some((node) => {
|
|
203
|
+
if (node.type === Comment) return false;
|
|
204
|
+
if (node.type === Fragment) return hasContent(node.children);
|
|
205
|
+
if (node.type === Text) return typeof node.children === "string" && node.children.trim() !== "";
|
|
206
|
+
return true;
|
|
207
|
+
}) ?? false;
|
|
208
|
+
}
|
|
189
209
|
const stepper = useStepperContext();
|
|
190
210
|
const messages = useAstryxMessages();
|
|
191
211
|
const { pressableProps } = usePressFeedback({ hasOverlay: false });
|
|
@@ -198,7 +218,8 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
198
218
|
const density = computed(() => props.density ?? stepper.density.value);
|
|
199
219
|
const orientation = computed(() => stepper.orientation.value);
|
|
200
220
|
const indicatorPosition = computed(() => stepper.indicatorPosition.value);
|
|
201
|
-
const
|
|
221
|
+
const hasControl = computed(() => stepper.isNonLinear.value === true);
|
|
222
|
+
const isClickable = computed(() => hasControl.value && !props.isDisabled);
|
|
202
223
|
const numberLabel = computed(() => String(props.step + 1));
|
|
203
224
|
const glyph = computed(() => resolveStepGlyph({
|
|
204
225
|
progress: progress.value,
|
|
@@ -206,6 +227,8 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
206
227
|
status: props.status
|
|
207
228
|
}));
|
|
208
229
|
const collapsed = computed(() => stepper.collapsed.value === true);
|
|
230
|
+
const isTrack = computed(() => orientation.value === "horizontal" && indicatorPosition.value === "on-track" && !collapsed.value);
|
|
231
|
+
const isRailMarker = computed(() => orientation.value === "vertical" && indicatorPosition.value === "on-track" && !collapsed.value);
|
|
209
232
|
const leadFilled = computed(() => props.step <= stepper.activeStep.value);
|
|
210
233
|
const trailFilled = computed(() => props.step < stepper.activeStep.value);
|
|
211
234
|
const arrivalShare = computed(() => orientation.value === "vertical" ? STEP_FILL_ARRIVAL_SHARE_V : STEP_FILL_ARRIVAL_SHARE_H);
|
|
@@ -260,57 +283,116 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
260
283
|
class: "astryx-step-bar",
|
|
261
284
|
"data-filled": leadFilled.value || void 0,
|
|
262
285
|
style: normalizeStyle(fillVars(barTiming.value))
|
|
263
|
-
}, null, 12, _hoisted_2$1)) : (openBlock(), createElementBlock("span", _hoisted_3$1, [
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
style: normalizeStyle(fillVars(trailTiming.value))
|
|
271
|
-
}, null, 12, _hoisted_5$1)])), createElementVNode("div", _hoisted_6$1, [(openBlock(), createBlock(resolveDynamicComponent(isClickable.value ? "button" : "div"), mergeProps(isClickable.value ? unref(pressableProps) : void 0, {
|
|
272
|
-
class: "astryx-step-control",
|
|
273
|
-
"aria-label": isClickable.value ? accessibleName.value : void 0,
|
|
274
|
-
type: isClickable.value ? "button" : void 0,
|
|
275
|
-
onClick: activate
|
|
276
|
-
}), {
|
|
277
|
-
default: withCtx(() => [_ctx.$slots.icon ? (openBlock(), createElementBlock("span", {
|
|
286
|
+
}, null, 12, _hoisted_2$1)) : orientation.value === "vertical" ? (openBlock(), createElementBlock("span", _hoisted_3$1, [
|
|
287
|
+
createElementVNode("span", {
|
|
288
|
+
class: "astryx-step-connector astryx-step-connector-lead",
|
|
289
|
+
"data-filled": leadFilled.value || void 0,
|
|
290
|
+
style: normalizeStyle(fillVars(leadTiming.value))
|
|
291
|
+
}, null, 12, _hoisted_4$1),
|
|
292
|
+
isRailMarker.value ? (openBlock(), createBlock(_sfc_main$2, {
|
|
278
293
|
key: 0,
|
|
279
|
-
class: "astryx-step-indicator",
|
|
280
|
-
"data-glyph": glyph.value,
|
|
281
|
-
"aria-hidden": "true"
|
|
282
|
-
}, [renderSlot(_ctx.$slots, "icon")], 8, _hoisted_7$1)) : (openBlock(), createBlock(_sfc_main$2, {
|
|
283
|
-
key: 1,
|
|
284
294
|
glyph: glyph.value,
|
|
285
295
|
"number-label": numberLabel.value,
|
|
286
296
|
status: __props.status,
|
|
287
|
-
"is-disabled": __props.isDisabled
|
|
288
|
-
|
|
297
|
+
"is-disabled": __props.isDisabled,
|
|
298
|
+
progress: progress.value
|
|
299
|
+
}, createSlots({ _: 2 }, [_ctx.$slots.icon ? {
|
|
300
|
+
name: "icon",
|
|
301
|
+
fn: withCtx(() => [renderSlot(_ctx.$slots, "icon")]),
|
|
302
|
+
key: "0"
|
|
303
|
+
} : void 0]), 1032, [
|
|
289
304
|
"glyph",
|
|
290
305
|
"number-label",
|
|
291
306
|
"status",
|
|
292
|
-
"is-disabled"
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
307
|
+
"is-disabled",
|
|
308
|
+
"progress"
|
|
309
|
+
])) : createCommentVNode("v-if", true),
|
|
310
|
+
createElementVNode("span", {
|
|
311
|
+
class: "astryx-step-connector astryx-step-connector-trail",
|
|
312
|
+
"data-filled": trailFilled.value || void 0,
|
|
313
|
+
style: normalizeStyle(fillVars(trailTiming.value))
|
|
314
|
+
}, null, 12, _hoisted_5$1)
|
|
315
|
+
])) : createCommentVNode("v-if", true), createElementVNode("div", _hoisted_6$1, [(openBlock(), createBlock(resolveDynamicComponent(hasControl.value ? "button" : "div"), mergeProps(hasControl.value ? unref(pressableProps) : void 0, {
|
|
316
|
+
class: "astryx-step-control",
|
|
317
|
+
"aria-label": hasControl.value ? accessibleName.value : void 0,
|
|
318
|
+
"aria-disabled": hasControl.value && __props.isDisabled ? "true" : void 0,
|
|
319
|
+
type: hasControl.value ? "button" : void 0,
|
|
320
|
+
onClick: activate
|
|
321
|
+
}), {
|
|
322
|
+
default: withCtx(() => [
|
|
323
|
+
isTrack.value ? (openBlock(), createElementBlock("span", _hoisted_7$1, [
|
|
324
|
+
createElementVNode("span", {
|
|
325
|
+
class: "astryx-step-connector astryx-step-connector-lead",
|
|
326
|
+
"data-filled": leadFilled.value || void 0,
|
|
327
|
+
style: normalizeStyle(fillVars(leadTiming.value))
|
|
328
|
+
}, null, 12, _hoisted_8$1),
|
|
329
|
+
createVNode(_sfc_main$2, {
|
|
330
|
+
glyph: glyph.value,
|
|
331
|
+
"number-label": numberLabel.value,
|
|
332
|
+
status: __props.status,
|
|
333
|
+
"is-disabled": __props.isDisabled,
|
|
334
|
+
progress: progress.value
|
|
335
|
+
}, createSlots({ _: 2 }, [_ctx.$slots.icon ? {
|
|
336
|
+
name: "icon",
|
|
337
|
+
fn: withCtx(() => [renderSlot(_ctx.$slots, "icon")]),
|
|
338
|
+
key: "0"
|
|
339
|
+
} : void 0]), 1032, [
|
|
340
|
+
"glyph",
|
|
341
|
+
"number-label",
|
|
342
|
+
"status",
|
|
343
|
+
"is-disabled",
|
|
344
|
+
"progress"
|
|
345
|
+
]),
|
|
346
|
+
createElementVNode("span", {
|
|
347
|
+
class: "astryx-step-connector astryx-step-connector-trail",
|
|
348
|
+
"data-filled": trailFilled.value || void 0,
|
|
349
|
+
style: normalizeStyle(fillVars(trailTiming.value))
|
|
350
|
+
}, null, 12, _hoisted_9$1)
|
|
351
|
+
])) : createCommentVNode("v-if", true),
|
|
352
|
+
createElementVNode("span", _hoisted_10, [!isTrack.value && !isRailMarker.value ? (openBlock(), createBlock(_sfc_main$2, {
|
|
353
|
+
key: 0,
|
|
354
|
+
glyph: glyph.value,
|
|
355
|
+
"number-label": numberLabel.value,
|
|
356
|
+
status: __props.status,
|
|
357
|
+
"is-disabled": __props.isDisabled,
|
|
358
|
+
progress: progress.value
|
|
359
|
+
}, createSlots({ _: 2 }, [_ctx.$slots.icon ? {
|
|
360
|
+
name: "icon",
|
|
361
|
+
fn: withCtx(() => [renderSlot(_ctx.$slots, "icon")]),
|
|
362
|
+
key: "0"
|
|
363
|
+
} : void 0]), 1032, [
|
|
364
|
+
"glyph",
|
|
365
|
+
"number-label",
|
|
366
|
+
"status",
|
|
367
|
+
"is-disabled",
|
|
368
|
+
"progress"
|
|
369
|
+
])) : createCommentVNode("v-if", true), createElementVNode("span", _hoisted_11, [
|
|
370
|
+
createElementVNode("span", {
|
|
371
|
+
class: "astryx-step-label",
|
|
372
|
+
"data-disabled": __props.isDisabled || void 0,
|
|
373
|
+
"data-progress": progress.value,
|
|
374
|
+
"data-status": __props.status
|
|
375
|
+
}, toDisplayString(__props.label), 9, _hoisted_12),
|
|
376
|
+
hiddenStatus.value ? (openBlock(), createBlock(_sfc_main$4, { key: 0 }, {
|
|
377
|
+
default: withCtx(() => [createTextVNode(toDisplayString(hiddenStatus.value), 1)]),
|
|
378
|
+
_: 1
|
|
379
|
+
})) : createCommentVNode("v-if", true),
|
|
380
|
+
__props.isOptional ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [_cache[0] || (_cache[0] = createElementVNode("span", { class: "astryx-step-optional" }, "•", -1)), createElementVNode("span", _hoisted_13, toDisplayString(unref(messages).stepper.optional), 1)], 64)) : createCommentVNode("v-if", true),
|
|
381
|
+
renderSlot(_ctx.$slots, "end")
|
|
382
|
+
])]),
|
|
383
|
+
__props.description ? (openBlock(), createElementBlock("span", {
|
|
384
|
+
key: 1,
|
|
385
|
+
class: "astryx-step-description",
|
|
297
386
|
"data-progress": progress.value,
|
|
298
387
|
"data-status": __props.status
|
|
299
|
-
}, toDisplayString(__props.
|
|
300
|
-
|
|
301
|
-
default: withCtx(() => [createTextVNode(toDisplayString(hiddenStatus.value), 1)]),
|
|
302
|
-
_: 1
|
|
303
|
-
})) : createCommentVNode("v-if", true),
|
|
304
|
-
__props.isOptional ? (openBlock(), createElementBlock("span", _hoisted_11, "• " + toDisplayString(unref(messages).stepper.optional), 1)) : createCommentVNode("v-if", true),
|
|
305
|
-
renderSlot(_ctx.$slots, "end")
|
|
306
|
-
]), __props.description ? (openBlock(), createElementBlock("span", {
|
|
307
|
-
key: 0,
|
|
308
|
-
class: "astryx-step-description",
|
|
309
|
-
"data-progress": progress.value,
|
|
310
|
-
"data-status": __props.status
|
|
311
|
-
}, toDisplayString(__props.description), 9, _hoisted_12)) : createCommentVNode("v-if", true)])]),
|
|
388
|
+
}, toDisplayString(__props.description), 9, _hoisted_14)) : createCommentVNode("v-if", true)
|
|
389
|
+
]),
|
|
312
390
|
_: 3
|
|
313
|
-
}, 16, [
|
|
391
|
+
}, 16, [
|
|
392
|
+
"aria-label",
|
|
393
|
+
"aria-disabled",
|
|
394
|
+
"type"
|
|
395
|
+
])), hasContent(_ctx.$slots.default?.()) ? (openBlock(), createElementBlock("div", _hoisted_15, [renderSlot(_ctx.$slots, "default")])) : createCommentVNode("v-if", true)])], 8, _hoisted_1$1);
|
|
314
396
|
};
|
|
315
397
|
}
|
|
316
398
|
});
|
package/dist/Switch/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Gn as SwitchChangeEvent, Jn as
|
|
2
|
-
export { _default as Switch, type SwitchChangeAction, type SwitchChangeEvent, type SwitchEmits, type SwitchProps, type SwitchSize, type SwitchSlots, type SwitchStatus, type SwitchStatusType };
|
|
1
|
+
import { $n as SwitchStatusType, Gn as SwitchChangeEvent, Jn as SwitchLabelSpacing, Kn as SwitchEmits, Qn as SwitchStatus, Un as _default, Wn as SwitchChangeAction, Xn as SwitchSize, Yn as SwitchProps, Zn as SwitchSlots, qn as SwitchLabelPosition } from "../index-CfOpGR_m.js";
|
|
2
|
+
export { _default as Switch, type SwitchChangeAction, type SwitchChangeEvent, type SwitchEmits, type SwitchLabelPosition, type SwitchLabelSpacing, type SwitchProps, type SwitchSize, type SwitchSlots, type SwitchStatus, type SwitchStatusType };
|
package/dist/Switch/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Switch-
|
|
1
|
+
import { t as _sfc_main } from "../Switch-DXShvaDA.js";
|
|
2
2
|
export { _sfc_main as Switch };
|