@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,12 +1,12 @@
|
|
|
1
|
-
import { t as usePressFeedback } from "./usePressFeedback-
|
|
2
|
-
import { t as _sfc_main$1 } 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$1 } from "./VisuallyHidden-cpmsV-0M.js";
|
|
4
3
|
import { t as _sfc_main$2 } from "./ButtonTooltip-CNKOQHYR.js";
|
|
4
|
+
import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
|
|
5
5
|
import { t as useAnnounce } from "./announce-B210eJVf.js";
|
|
6
|
-
import { s as useAstryxMessages } from "./context-
|
|
6
|
+
import { s as useAstryxMessages } from "./context-BLSiTojH.js";
|
|
7
7
|
import { i as useAriaRequired } from "./context-Cfml4jaK.js";
|
|
8
|
-
import { t as _sfc_main$3 } from "./FieldLabel-
|
|
9
|
-
import { t as _sfc_main$4 } from "./FieldStatus-
|
|
8
|
+
import { t as _sfc_main$3 } from "./FieldLabel-D5_Pap_W.js";
|
|
9
|
+
import { t as _sfc_main$4 } from "./FieldStatus-D6Vo_dU5.js";
|
|
10
10
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, onUpdated, openBlock, renderSlot, shallowRef, toDisplayString, unref, useAttrs, useId, useModel, useTemplateRef, watch, withCtx } from "vue";
|
|
11
11
|
import "../styles/switch.css";
|
|
12
12
|
//#region src/Switch/useSwitchAction.ts
|
|
@@ -65,6 +65,8 @@ function useSwitchAction(options) {
|
|
|
65
65
|
//#region src/Switch/Switch.vue
|
|
66
66
|
const _hoisted_1 = [
|
|
67
67
|
"data-size",
|
|
68
|
+
"data-label-position",
|
|
69
|
+
"data-label-spacing",
|
|
68
70
|
"data-status",
|
|
69
71
|
"data-blocked"
|
|
70
72
|
];
|
|
@@ -100,6 +102,8 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
100
102
|
props: /*@__PURE__*/ mergeModels({
|
|
101
103
|
id: {},
|
|
102
104
|
size: { default: "md" },
|
|
105
|
+
labelPosition: { default: "end" },
|
|
106
|
+
labelSpacing: { default: "hug" },
|
|
103
107
|
isReadOnly: { type: Boolean },
|
|
104
108
|
disabledMessage: {},
|
|
105
109
|
status: {},
|
|
@@ -239,6 +243,8 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
239
243
|
class: normalizeClass(["astryx-switch", unref(attrs).class]),
|
|
240
244
|
style: normalizeStyle([widthStyle.value, unref(attrs).style]),
|
|
241
245
|
"data-size": __props.size,
|
|
246
|
+
"data-label-position": __props.labelPosition !== "end" ? __props.labelPosition : void 0,
|
|
247
|
+
"data-label-spacing": __props.labelSpacing !== "hug" ? __props.labelSpacing : void 0,
|
|
242
248
|
"data-status": __props.status?.type,
|
|
243
249
|
"data-blocked": blocked.value || void 0
|
|
244
250
|
}, [
|
package/dist/TabList/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TabListLayout, c as TabListSize, d as TabMenuProps, f as TabProps, i as TabListEdgeCompensation, l as TabListTab, n as _default$1, o as TabListOverflow, p as TabSlots, r as _default, s as TabListProps, t as _default$2, u as TabMenuOption } from "../index-
|
|
1
|
+
import { a as TabListLayout, c as TabListSize, d as TabMenuProps, f as TabProps, i as TabListEdgeCompensation, l as TabListTab, n as _default$1, o as TabListOverflow, p as TabSlots, r as _default, s as TabListProps, t as _default$2, u as TabMenuOption } from "../index-CM8KfpBL.js";
|
|
2
2
|
export { _default as Tab, _default$1 as TabList, type TabListEdgeCompensation, type TabListLayout, type TabListOverflow, type TabListProps, type TabListSize, type TabListTab, _default$2 as TabMenu, type TabMenuOption, type TabMenuProps, type TabProps, type TabSlots };
|
package/dist/TabList/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main$1, r as _sfc_main, t as _sfc_main$2 } from "../TabList-
|
|
1
|
+
import { n as _sfc_main$1, r as _sfc_main, t as _sfc_main$2 } from "../TabList-DIEm4YKM.js";
|
|
2
2
|
export { _sfc_main as Tab, _sfc_main$1 as TabList, _sfc_main$2 as TabMenu };
|
|
@@ -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-
|
|
3
|
+
import { t as _sfc_main$3 } from "./Icon-CU3412Fe.js";
|
|
4
4
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
5
|
+
import { i as useSize } from "./SizeContext-BbaF-SEx.js";
|
|
5
6
|
import { n as useDevWarning } from "./useDevWarning-DznOpOHT.js";
|
|
6
|
-
import { n as useDismiss, t as usePositionedLayer } from "./usePositionedLayer-
|
|
7
|
-
import { s as useAstryxMessages } from "./context-
|
|
7
|
+
import { n as useDismiss, t as usePositionedLayer } from "./usePositionedLayer-psKf3ano.js";
|
|
8
|
+
import { s as useAstryxMessages } from "./context-BLSiTojH.js";
|
|
8
9
|
import { t as useListFocus } from "./useListFocus-ChxLg0b4.js";
|
|
9
10
|
import { t as useScrollOverflow } from "./useScrollOverflow-DuMoGXmm.js";
|
|
10
11
|
import { n as isNavigableHref } from "./link-DuuA2eCL.js";
|
|
@@ -262,7 +263,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
262
263
|
__name: "TabList",
|
|
263
264
|
props: {
|
|
264
265
|
value: {},
|
|
265
|
-
size: {
|
|
266
|
+
size: {},
|
|
266
267
|
layout: { default: "hug" },
|
|
267
268
|
hasDivider: {
|
|
268
269
|
type: Boolean,
|
|
@@ -280,6 +281,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
280
281
|
setup(__props, { emit: __emit }) {
|
|
281
282
|
const props = __props;
|
|
282
283
|
const emit = __emit;
|
|
284
|
+
const size = useSize(() => props.size, "md");
|
|
283
285
|
const bleedsInline = computed(() => props.edgeCompensation === "inline" || props.edgeCompensation == null && props.isFullBleed);
|
|
284
286
|
const scrolls = computed(() => props.overflow !== "visible");
|
|
285
287
|
const { bind: bindStrip, onFocusIn: onStripFocusIn, overflowEnd, overflowStart, scrollByPage } = useTabListScroll({
|
|
@@ -335,7 +337,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
335
337
|
}
|
|
336
338
|
provide(tabListContextKey, {
|
|
337
339
|
value: computed(() => props.value),
|
|
338
|
-
size
|
|
340
|
+
size,
|
|
339
341
|
layout: computed(() => props.layout),
|
|
340
342
|
hasDivider: computed(() => props.hasDivider),
|
|
341
343
|
isTabsPattern,
|
|
@@ -349,7 +351,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
349
351
|
return (_ctx, _cache) => {
|
|
350
352
|
return openBlock(), createBlock(resolveDynamicComponent(rootTag.value), {
|
|
351
353
|
class: normalizeClass(["astryx-tab-list", [
|
|
352
|
-
`astryx-tab-list--size-${
|
|
354
|
+
`astryx-tab-list--size-${unref(size)}`,
|
|
353
355
|
`astryx-tab-list--layout-${__props.layout}`,
|
|
354
356
|
__props.hasDivider && "astryx-tab-list--has-divider",
|
|
355
357
|
bleedsInline.value && "astryx-tab-list--full-bleed"
|
|
@@ -470,7 +472,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
470
472
|
const { position, teleportTarget, detach } = usePositionedLayer({
|
|
471
473
|
alignment,
|
|
472
474
|
anchor: anchorRef,
|
|
473
|
-
gap:
|
|
475
|
+
gap: 0,
|
|
474
476
|
isOpen,
|
|
475
477
|
layer: surfaceRef,
|
|
476
478
|
placement
|
package/dist/Table/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $t as TableSemanticRowStatus, An as columnResizeStep, At as _default$4, Bn as resolveColumnFloorWidths, Bt as useTableTreeState, Cn as useTableColumnSettings, Dn as UseTableColumnResizeConfig, Dt as _default$7, En as ColumnResizeSnapshot, Fn as cellText, Ft as TableTreeRowMeta, Gt as useTableStickyColumns, Hn as sortRows, Ht as UseTableStickyColumnsConfig, In as generateColumns, It as UseTableTreeDataConfig, Jt as useTableSortableState, Kt as UseTableSortableConfig, Ln as paginateData, Lt as UseTableTreeStateConfig, Mn as resizeColumnWidths, Mt as _default$2, Nn as useTableColumnResize, Nt as _default$1, On as columnResizeDirectionSign, Ot as _default$6, Pn as capitalize, Pt as _default, Qt as TableRowStatusName, Rn as pixel, Rt as flattenTree, Sn as UseTableColumnSettingsConfig, Tn as ColumnResizePlan, Ut as resolveStickySide, Vn as resolveColumnWidths, Vt as StickySide, Wt as stickyOffsets, Xt as TableRowStatus, Yt as TableCustomRowStatus, Zt as TableRowStatusColor, _n as applyTableFilters, an as useTableRowExpansion, bn as ColumnSettingsOption, cn as useTablePagination, dn as buildGroupedRows, en as UseTableRowStatusConfig, fn as isTableGroupHeader, gn as UseTableFilteringConfig, hn as UseTableFilterStateOptions, in as UseTableRowExpansionConfig, jn as isProportionalColumnWidth, jt as _default$3, kn as columnResizeMinWidth, kt as _default$5, ln as isInteractiveRowClick, mn as TableFilterStateHandle, nn as UseTableRowIndexConfig, on as TablePaginationVariant, pn as useTableGroupedRows, qt as useTableSortable, rn as useTableRowIndex, sn as UseTablePaginationConfig, tn as useTableRowStatus, un as UseTableGroupedRowsConfig, vn as useTableFilterState, wn as useTableColumnSettingsState, xn as TableColumnSettingsState, yn as useTableFiltering, zn as proportional, zt as useTableTreeData } from "../index-
|
|
2
|
-
import { A as TablePanelPatch, B as TableSortDirection, C as TableFilterField, D as TableFilterVariant, E as TableFilterValue, F as TableRowPatch, G as TableSelectedKeysSetter, H as TableSortState, I as TableRowProps, J as UseTableSelectionStateConfig, K as TableSelectionState, L as TableSelectionToolbarProps, M as TableProps, N as TableRowListeners, O as TableGroupPatch, P as TableRowMenuItem, R as TableSelectionToolbarSlots, S as TableDividers, T as TableFilterState, U as TableTextOverflow, V as TableSortEntry, W as TableVerticalAlign, X as useTableSelectionState, Y as useTableSelection, _ as TableCellProps, b as TableColumnResizeContribution, g as TableCellPatch, h as ProportionalWidth, j as TablePlugin, k as TableHeaderPatch, m as PixelWidth, p as ColumnWidth, q as UseTableSelectionConfig, v as TableColumn, w as TableFilterFieldType, x as TableDensity, y as TableColumnAlign } from "../useResizable-
|
|
1
|
+
import { $t as TableSemanticRowStatus, An as columnResizeStep, At as _default$4, Bn as resolveColumnFloorWidths, Bt as useTableTreeState, Cn as useTableColumnSettings, Dn as UseTableColumnResizeConfig, Dt as _default$7, En as ColumnResizeSnapshot, Fn as cellText, Ft as TableTreeRowMeta, Gt as useTableStickyColumns, Hn as sortRows, Ht as UseTableStickyColumnsConfig, In as generateColumns, It as UseTableTreeDataConfig, Jt as useTableSortableState, Kt as UseTableSortableConfig, Ln as paginateData, Lt as UseTableTreeStateConfig, Mn as resizeColumnWidths, Mt as _default$2, Nn as useTableColumnResize, Nt as _default$1, On as columnResizeDirectionSign, Ot as _default$6, Pn as capitalize, Pt as _default, Qt as TableRowStatusName, Rn as pixel, Rt as flattenTree, Sn as UseTableColumnSettingsConfig, Tn as ColumnResizePlan, Ut as resolveStickySide, Vn as resolveColumnWidths, Vt as StickySide, Wt as stickyOffsets, Xt as TableRowStatus, Yt as TableCustomRowStatus, Zt as TableRowStatusColor, _n as applyTableFilters, an as useTableRowExpansion, bn as ColumnSettingsOption, cn as useTablePagination, dn as buildGroupedRows, en as UseTableRowStatusConfig, fn as isTableGroupHeader, gn as UseTableFilteringConfig, hn as UseTableFilterStateOptions, in as UseTableRowExpansionConfig, jn as isProportionalColumnWidth, jt as _default$3, kn as columnResizeMinWidth, kt as _default$5, ln as isInteractiveRowClick, mn as TableFilterStateHandle, nn as UseTableRowIndexConfig, on as TablePaginationVariant, pn as useTableGroupedRows, qt as useTableSortable, rn as useTableRowIndex, sn as UseTablePaginationConfig, tn as useTableRowStatus, un as UseTableGroupedRowsConfig, vn as useTableFilterState, wn as useTableColumnSettingsState, xn as TableColumnSettingsState, yn as useTableFiltering, zn as proportional, zt as useTableTreeData } from "../index-CfOpGR_m.js";
|
|
2
|
+
import { A as TablePanelPatch, B as TableSortDirection, C as TableFilterField, D as TableFilterVariant, E as TableFilterValue, F as TableRowPatch, G as TableSelectedKeysSetter, H as TableSortState, I as TableRowProps, J as UseTableSelectionStateConfig, K as TableSelectionState, L as TableSelectionToolbarProps, M as TableProps, N as TableRowListeners, O as TableGroupPatch, P as TableRowMenuItem, R as TableSelectionToolbarSlots, S as TableDividers, T as TableFilterState, U as TableTextOverflow, V as TableSortEntry, W as TableVerticalAlign, X as useTableSelectionState, Y as useTableSelection, _ as TableCellProps, b as TableColumnResizeContribution, g as TableCellPatch, h as ProportionalWidth, j as TablePlugin, k as TableHeaderPatch, m as PixelWidth, p as ColumnWidth, q as UseTableSelectionConfig, v as TableColumn, w as TableFilterFieldType, x as TableDensity, y as TableColumnAlign } from "../useResizable-fEGAFziz.js";
|
|
3
3
|
export { type ColumnResizePlan, type ColumnResizeSnapshot, type ColumnSettingsOption, type ColumnWidth, type PixelWidth, type ProportionalWidth, type StickySide, _default as Table, _default$1 as TableBody, _default$2 as TableCell, type TableCellPatch, type TableCellProps, type TableColumn, type TableColumnAlign, type TableColumnResizeContribution, type TableColumnSettingsState, type TableCustomRowStatus, type TableDensity, type TableDividers, type TableFilterField, type TableFilterFieldType, type TableFilterState, type TableFilterStateHandle, type TableFilterValue, type TableFilterVariant, _default$3 as TableFooter, type TableGroupPatch, _default$4 as TableHeader, _default$5 as TableHeaderCell, type TableHeaderPatch, type TablePaginationVariant, type TablePanelPatch, type TablePlugin, type TableProps, _default$6 as TableRow, type TableRowListeners, type TableRowMenuItem, type TableRowPatch, type TableRowProps, type TableRowStatus, type TableRowStatusColor, type TableRowStatusName, type TableSelectedKeysSetter, type TableSelectionState, _default$7 as TableSelectionToolbar, type TableSelectionToolbarProps, type TableSelectionToolbarSlots, type TableSemanticRowStatus, type TableSortDirection, type TableSortEntry, type TableSortState, type TableTextOverflow, type TableTreeRowMeta, type TableVerticalAlign, type UseTableColumnResizeConfig, type UseTableColumnSettingsConfig, type UseTableFilterStateOptions, type UseTableFilteringConfig, type UseTableGroupedRowsConfig, type UseTablePaginationConfig, type UseTableRowExpansionConfig, type UseTableRowIndexConfig, type UseTableRowStatusConfig, type UseTableSelectionConfig, type UseTableSelectionStateConfig, type UseTableSortableConfig, type UseTableStickyColumnsConfig, type UseTableTreeDataConfig, type UseTableTreeStateConfig, applyTableFilters, buildGroupedRows, capitalize, cellText, columnResizeDirectionSign, columnResizeMinWidth, columnResizeStep, flattenTree, generateColumns, isInteractiveRowClick, isProportionalColumnWidth, isTableGroupHeader, paginateData, paginateData as paginateTableData, pixel, proportional, resizeColumnWidths, resolveColumnFloorWidths, resolveColumnWidths, resolveStickySide, sortRows, stickyOffsets, useTableColumnResize, useTableColumnSettings, useTableColumnSettingsState, useTableFilterState, useTableFiltering, useTableGroupedRows, useTablePagination, useTableRowExpansion, useTableRowIndex, useTableRowStatus, useTableSelection, useTableSelectionState, useTableSortable, useTableSortableState, useTableStickyColumns, useTableTreeData, useTableTreeState };
|
package/dist/Table/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as useTableColumnSettings, B as generateColumns, C as isInteractiveRowClick, D as applyTableFilters, E as useTableGroupedRows, F as isProportionalColumnWidth, G as resolveColumnWidths, H as pixel, I as resizeColumnWidths, K as sortRows, L as useTableColumnResize, M as columnResizeDirectionSign, N as columnResizeMinWidth, O as useTableFilterState, P as columnResizeStep, R as capitalize, S as useTablePagination, T as isTableGroupHeader, U as proportional, V as paginateData, W as resolveColumnFloorWidths, _ as useTableSelection, a as _sfc_main$3, b as useTableRowIndex, c as _sfc_main, d as useTableTreeState, f as resolveStickySide, g as useTableSortableState, h as useTableSortable, i as _sfc_main$4, j as useTableColumnSettingsState, k as useTableFiltering, l as flattenTree, m as useTableStickyColumns, n as _sfc_main$6, o as _sfc_main$2, p as stickyOffsets, r as _sfc_main$5, s as _sfc_main$1, t as _sfc_main$7, u as useTableTreeData, v as useTableSelectionState, w as buildGroupedRows, x as useTableRowExpansion, y as useTableRowStatus, z as cellText } from "../Table-
|
|
1
|
+
import { A as useTableColumnSettings, B as generateColumns, C as isInteractiveRowClick, D as applyTableFilters, E as useTableGroupedRows, F as isProportionalColumnWidth, G as resolveColumnWidths, H as pixel, I as resizeColumnWidths, K as sortRows, L as useTableColumnResize, M as columnResizeDirectionSign, N as columnResizeMinWidth, O as useTableFilterState, P as columnResizeStep, R as capitalize, S as useTablePagination, T as isTableGroupHeader, U as proportional, V as paginateData, W as resolveColumnFloorWidths, _ as useTableSelection, a as _sfc_main$3, b as useTableRowIndex, c as _sfc_main, d as useTableTreeState, f as resolveStickySide, g as useTableSortableState, h as useTableSortable, i as _sfc_main$4, j as useTableColumnSettingsState, k as useTableFiltering, l as flattenTree, m as useTableStickyColumns, n as _sfc_main$6, o as _sfc_main$2, p as stickyOffsets, r as _sfc_main$5, s as _sfc_main$1, t as _sfc_main$7, u as useTableTreeData, v as useTableSelectionState, w as buildGroupedRows, x as useTableRowExpansion, y as useTableRowStatus, z as cellText } from "../Table-RQ5wklzn.js";
|
|
2
2
|
export { _sfc_main as Table, _sfc_main$1 as TableBody, _sfc_main$2 as TableCell, _sfc_main$3 as TableFooter, _sfc_main$4 as TableHeader, _sfc_main$5 as TableHeaderCell, _sfc_main$6 as TableRow, _sfc_main$7 as TableSelectionToolbar, applyTableFilters, buildGroupedRows, capitalize, cellText, columnResizeDirectionSign, columnResizeMinWidth, columnResizeStep, flattenTree, generateColumns, isInteractiveRowClick, isProportionalColumnWidth, isTableGroupHeader, paginateData, paginateData as paginateTableData, pixel, proportional, resizeColumnWidths, resolveColumnFloorWidths, resolveColumnWidths, resolveStickySide, sortRows, stickyOffsets, useTableColumnResize, useTableColumnSettings, useTableColumnSettingsState, useTableFilterState, useTableFiltering, useTableGroupedRows, useTablePagination, useTableRowExpansion, useTableRowIndex, useTableRowStatus, useTableSelection, useTableSelectionState, useTableSortable, useTableSortableState, useTableStickyColumns, useTableTreeData, useTableTreeState };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { t as _sfc_main$15 } from "./Icon-
|
|
2
|
-
import { t as _sfc_main$16 } from "./VisuallyHidden-
|
|
3
|
-
import { t as _sfc_main$17 } from "./Button-
|
|
1
|
+
import { t as _sfc_main$15 } from "./Icon-CU3412Fe.js";
|
|
2
|
+
import { t as _sfc_main$16 } from "./VisuallyHidden-cpmsV-0M.js";
|
|
3
|
+
import { t as _sfc_main$17 } from "./Button-DVXOKWAy.js";
|
|
4
4
|
import { n as useLayerTeleportTarget } from "./useLayerMountTarget-BmZyeKWE.js";
|
|
5
5
|
import { n as firstCharacter } from "./characters-wTnzjkkR.js";
|
|
6
|
-
import { s as useAstryxMessages } from "./context-
|
|
7
|
-
import { n as useCollator } from "./locale-
|
|
6
|
+
import { s as useAstryxMessages } from "./context-BLSiTojH.js";
|
|
7
|
+
import { n as useCollator } from "./locale-C7RSY-JG.js";
|
|
8
8
|
import { t as useScrollableArea } from "./useScrollableArea-BE8b3qm7.js";
|
|
9
|
-
import { t as _sfc_main$18 } from "./Tooltip-
|
|
10
|
-
import { t as useScrollbars } from "./useScrollbars-
|
|
11
|
-
import { t as _sfc_main$19 } from "./CheckboxInput-
|
|
12
|
-
import { t as _sfc_main$20 } from "./Popover-
|
|
13
|
-
import { t as _sfc_main$21 } from "./DateInput-
|
|
14
|
-
import { t as _sfc_main$22 } from "./MultiSelector-
|
|
15
|
-
import { t as _sfc_main$23 } from "./NumberInput-
|
|
16
|
-
import { t as _sfc_main$24 } from "./Pagination-
|
|
17
|
-
import { t as _sfc_main$25 } from "./Selector-
|
|
18
|
-
import { t as _sfc_main$26 } from "./TextInput-
|
|
19
|
-
import { t as _sfc_main$27 } from "./Toolbar-
|
|
9
|
+
import { t as _sfc_main$18 } from "./Tooltip-BfKegFfq.js";
|
|
10
|
+
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
11
|
+
import { t as _sfc_main$19 } from "./CheckboxInput-B4pDfjvr.js";
|
|
12
|
+
import { t as _sfc_main$20 } from "./Popover-Cbv5LUWL.js";
|
|
13
|
+
import { t as _sfc_main$21 } from "./DateInput-B0t3u-_h.js";
|
|
14
|
+
import { t as _sfc_main$22 } from "./MultiSelector-BTIeCFDV.js";
|
|
15
|
+
import { t as _sfc_main$23 } from "./NumberInput-CkYRY1KW.js";
|
|
16
|
+
import { t as _sfc_main$24 } from "./Pagination-Cn53Nqe3.js";
|
|
17
|
+
import { t as _sfc_main$25 } from "./Selector-CgrXQtte.js";
|
|
18
|
+
import { t as _sfc_main$26 } from "./TextInput-ZSr9jgdk.js";
|
|
19
|
+
import { t as _sfc_main$27 } from "./Toolbar-CbVhy7K9.js";
|
|
20
20
|
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, h, mergeProps, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, onScopeDispose, openBlock, ref, renderList, renderSlot, shallowRef, toDisplayString, toValue, unref, useAttrs, watch, withCtx, withModifiers } from "vue";
|
|
21
21
|
import "../styles/layer.css";
|
|
22
22
|
import "../styles/table.css";
|
|
@@ -542,6 +542,7 @@ function useTableFiltering(config) {
|
|
|
542
542
|
return {
|
|
543
543
|
variant: current.variant ?? "popover",
|
|
544
544
|
field,
|
|
545
|
+
header: typeof column.header === "string" && column.header !== "" ? column.header : column.key,
|
|
545
546
|
value: current.filters[fieldKey] ?? null,
|
|
546
547
|
onChange(value) {
|
|
547
548
|
toValue(config).onFilterChange(fieldKey, value);
|
|
@@ -1613,6 +1614,8 @@ const _sfc_main$12 = /*@__PURE__*/ defineComponent({
|
|
|
1613
1614
|
function listValue(value) {
|
|
1614
1615
|
return Array.isArray(value) ? value : [];
|
|
1615
1616
|
}
|
|
1617
|
+
/** 漏斗按钮和弹层的名称:「筛选 + 列标题」,和原版一致。 */
|
|
1618
|
+
const triggerLabel = computed(() => props.filter.header != null ? messages.value.table.filterByColumn(props.filter.header) : props.filter.field.label);
|
|
1616
1619
|
const options = computed(() => props.filter.field.options ?? []);
|
|
1617
1620
|
const step = computed(() => props.filter.field.step ?? (props.filter.field.isIntegerOnly ? 1 : null));
|
|
1618
1621
|
function onTextInput(value) {
|
|
@@ -1722,7 +1725,7 @@ const _sfc_main$12 = /*@__PURE__*/ defineComponent({
|
|
|
1722
1725
|
"options"
|
|
1723
1726
|
]))], 64)) : (openBlock(), createBlock(_sfc_main$20, {
|
|
1724
1727
|
key: 1,
|
|
1725
|
-
label:
|
|
1728
|
+
label: triggerLabel.value,
|
|
1726
1729
|
"has-close-button": false,
|
|
1727
1730
|
width: 240
|
|
1728
1731
|
}, {
|
|
@@ -1822,7 +1825,7 @@ const _sfc_main$12 = /*@__PURE__*/ defineComponent({
|
|
|
1822
1825
|
default: withCtx(() => [createElementVNode("button", {
|
|
1823
1826
|
type: "button",
|
|
1824
1827
|
class: "astryx-table__filter-trigger",
|
|
1825
|
-
"aria-label":
|
|
1828
|
+
"aria-label": triggerLabel.value,
|
|
1826
1829
|
"data-active": hasValue.value || void 0
|
|
1827
1830
|
}, [createVNode(_sfc_main$15, {
|
|
1828
1831
|
icon: "funnel",
|
|
@@ -1871,7 +1874,12 @@ const _sfc_main$11 = /*@__PURE__*/ defineComponent({
|
|
|
1871
1874
|
}, [createElementVNode("span", { class: normalizeClass(["astryx-table__chevron-icon", { "is-expanded": !__props.collapsed }]) }, [createVNode(_sfc_main$15, {
|
|
1872
1875
|
icon: "chevronRight",
|
|
1873
1876
|
size: "sm"
|
|
1874
|
-
})], 2)], 8, _hoisted_2$1), renderSlot(_ctx.$slots, "default", {}, () => [createElementVNode("span", _hoisted_3$1, [
|
|
1877
|
+
})], 2)], 8, _hoisted_2$1), renderSlot(_ctx.$slots, "default", {}, () => [createElementVNode("span", _hoisted_3$1, [
|
|
1878
|
+
createCommentVNode(" 标签和后面的空格分成两个文本节点,和原版 `{header.groupKey}{' '}` 的 DOM 一致。 "),
|
|
1879
|
+
__props.groupKey != null ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [createTextVNode(toDisplayString(__props.groupKey), 1)], 64)) : createCommentVNode("v-if", true),
|
|
1880
|
+
_cache[1] || (_cache[1] = createTextVNode(toDisplayString(" "), -1)),
|
|
1881
|
+
createElementVNode("span", _hoisted_4$1, "(" + toDisplayString(__props.count) + ")", 1)
|
|
1882
|
+
])])], 8, _hoisted_1$8);
|
|
1875
1883
|
};
|
|
1876
1884
|
}
|
|
1877
1885
|
});
|
|
@@ -2513,7 +2521,7 @@ const _sfc_main$8 = /*@__PURE__*/ defineComponent({
|
|
|
2513
2521
|
"data-active": sortFor(column)?.direction != null || void 0
|
|
2514
2522
|
}, [createVNode(_sfc_main$15, {
|
|
2515
2523
|
icon: sortFor(column)?.direction === "descending" ? "arrowDown" : "arrowUp",
|
|
2516
|
-
size: "
|
|
2524
|
+
size: "xsm"
|
|
2517
2525
|
}, null, 8, ["icon"])], 8, _hoisted_6),
|
|
2518
2526
|
sortFor(column)?.rank ? (openBlock(), createElementBlock("span", _hoisted_7, toDisplayString(sortFor(column)?.rank), 1)) : createCommentVNode("v-if", true)
|
|
2519
2527
|
], 8, _hoisted_5)) : column.headerHidden ? (openBlock(), createBlock(_sfc_main$16, { key: 1 }, {
|
package/dist/Text/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as TextProps, c as TextType, d as TextWrap, i as TextJustify, l as TextWeight, n as TextColor, o as TextSize, r as TextDisplay, s as TextTruncateTooltip, t as TextAs, u as TextWordBreak } from "../types-
|
|
2
|
-
import { t as _default } from "../index-
|
|
1
|
+
import { a as TextProps, c as TextType, d as TextWrap, i as TextJustify, l as TextWeight, n as TextColor, o as TextSize, r as TextDisplay, s as TextTruncateTooltip, t as TextAs, u as TextWordBreak } from "../types-B8suOGP8.js";
|
|
2
|
+
import { t as _default } from "../index-MIv3YJ_j.js";
|
|
3
3
|
export { _default as Text, type TextAs, type TextColor, type TextDisplay, type TextJustify, type TextProps, type TextSize, type TextTruncateTooltip, type TextType, type TextWeight, type TextWordBreak, type TextWrap };
|
package/dist/Text/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Text-
|
|
1
|
+
import { t as _sfc_main } from "../Text-Wk-iDAzh.js";
|
|
2
2
|
export { _sfc_main as Text };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as useTruncation, t as truncatePlacement } from "./useTruncation-C02rA1-c.js";
|
|
2
|
-
import { t as _sfc_main$1 } from "./Tooltip-
|
|
2
|
+
import { t as _sfc_main$1 } from "./Tooltip-BfKegFfq.js";
|
|
3
3
|
import { computed, createBlock, defineComponent, mergeProps, openBlock, renderSlot, resolveDynamicComponent, unref, useAttrs, withCtx } from "vue";
|
|
4
4
|
import "../styles/text.css";
|
|
5
5
|
//#region src/Text/Text.vue
|
|
@@ -31,7 +31,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
31
31
|
setup(__props) {
|
|
32
32
|
const props = __props;
|
|
33
33
|
/** 没写 color 时按 type 取默认色:supporting 是 secondary,其余 primary,inherit 保持 inherit。 */
|
|
34
|
-
const color = computed(() => props.color ?? (props.type === "supporting" ? "secondary" : "primary"));
|
|
34
|
+
const color = computed(() => props.color ?? (props.type === "supporting" ? "secondary" : props.type === "inherit" ? "inherit" : "primary"));
|
|
35
35
|
const weight = computed(() => props.weight === "normal" ? "regular" : props.weight);
|
|
36
36
|
const isBlock = computed(() => props.display === "block" || props.maxLines > 0 || props.hasCapsize);
|
|
37
37
|
const wordBreak = computed(() => props.wordBreak ?? (props.maxLines === 1 ? "break-all" : props.maxLines > 1 ? "break-word" : void 0));
|
package/dist/TextArea/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ct as TextAreaSlots, Et as TextAreaWrap, St as TextAreaSize, Tt as TextAreaStatusType, _t as TextAreaChangeAction, bt as TextAreaProps, gt as _default, vt as TextAreaChangeEvent, wt as TextAreaStatus, xt as TextAreaResize, yt as TextAreaEmits } from "../index-
|
|
1
|
+
import { Ct as TextAreaSlots, Et as TextAreaWrap, St as TextAreaSize, Tt as TextAreaStatusType, _t as TextAreaChangeAction, bt as TextAreaProps, gt as _default, vt as TextAreaChangeEvent, wt as TextAreaStatus, xt as TextAreaResize, yt as TextAreaEmits } from "../index-CfOpGR_m.js";
|
|
2
2
|
export { _default as TextArea, type TextAreaChangeAction, type TextAreaChangeEvent, type TextAreaEmits, type TextAreaProps, type TextAreaResize, type TextAreaSize, type TextAreaSlots, type TextAreaStatus, type TextAreaStatusType, type TextAreaWrap };
|
package/dist/TextArea/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../TextArea-
|
|
1
|
+
import { t as _sfc_main } from "../TextArea-D1QHRYUp.js";
|
|
2
2
|
export { _sfc_main as TextArea };
|
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
import { t as _sfc_main$1 } from "./Icon-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { t as _sfc_main$1 } from "./Icon-CU3412Fe.js";
|
|
2
|
+
import { i as useSize } from "./SizeContext-BbaF-SEx.js";
|
|
3
|
+
import { t as _sfc_main$2 } from "./VisuallyHidden-cpmsV-0M.js";
|
|
4
|
+
import { n as _sfc_main$3 } from "./Button-DVXOKWAy.js";
|
|
4
5
|
import { t as _sfc_main$4 } from "./ButtonTooltip-CNKOQHYR.js";
|
|
6
|
+
import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
|
|
5
7
|
import { t as characterCount } from "./characters-wTnzjkkR.js";
|
|
6
8
|
import { t as useAnnounce } from "./announce-B210eJVf.js";
|
|
7
9
|
import { t as useInputContainer } from "./useInputContainer-CLcYrby4.js";
|
|
8
|
-
import { t as _sfc_main$5 } from "./FieldInfoTip-
|
|
9
|
-
import { s as useAstryxMessages } from "./context-
|
|
10
|
+
import { t as _sfc_main$5 } from "./FieldInfoTip-gWPWGd3Q.js";
|
|
11
|
+
import { o as useAstryxLocale, s as useAstryxMessages } from "./context-BLSiTojH.js";
|
|
10
12
|
import { i as useAriaRequired } from "./context-Cfml4jaK.js";
|
|
11
|
-
import { t as _sfc_main$6 } from "./Field-
|
|
13
|
+
import { t as _sfc_main$6 } from "./Field-DLg-trP2.js";
|
|
12
14
|
import { t as useFieldPartStyling } from "./fieldParts--SyRZVQG.js";
|
|
13
|
-
import { t as _sfc_main$7 } from "./InputClearButton-
|
|
15
|
+
import { t as _sfc_main$7 } from "./InputClearButton-DjLXIYX4.js";
|
|
14
16
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, nextTick, normalizeClass, normalizeStyle, onMounted, openBlock, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, toRaw, unref, useAttrs, useId, useModel, useTemplateRef, watch, withCtx } from "vue";
|
|
15
17
|
import "../styles/text-area.css";
|
|
16
18
|
//#region src/TextArea/useTextAreaAction.ts
|
|
@@ -111,17 +113,17 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
111
113
|
__name: "TextArea",
|
|
112
114
|
props: /*@__PURE__*/ mergeModels({
|
|
113
115
|
id: {},
|
|
114
|
-
size: {
|
|
116
|
+
size: {},
|
|
115
117
|
isReadOnly: { type: Boolean },
|
|
116
118
|
disabledMessage: {},
|
|
117
119
|
startIcon: {},
|
|
118
120
|
status: {},
|
|
119
|
-
statusVariant: { default: "
|
|
121
|
+
statusVariant: { default: "attached" },
|
|
120
122
|
changeAction: {},
|
|
121
123
|
isLoading: { type: Boolean },
|
|
122
124
|
placeholder: {},
|
|
123
125
|
width: {},
|
|
124
|
-
rows: {},
|
|
126
|
+
rows: { default: 3 },
|
|
125
127
|
cols: {},
|
|
126
128
|
autoComplete: {},
|
|
127
129
|
hasSpellCheck: {
|
|
@@ -130,6 +132,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
130
132
|
},
|
|
131
133
|
minlength: {},
|
|
132
134
|
maxlength: {},
|
|
135
|
+
maxLength: {},
|
|
133
136
|
wrap: {},
|
|
134
137
|
resize: { default: "vertical" },
|
|
135
138
|
hasClear: { type: Boolean },
|
|
@@ -191,13 +194,15 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
191
194
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
192
195
|
const props = __props;
|
|
193
196
|
const emit = __emit;
|
|
197
|
+
const size = useSize(() => props.size, "md");
|
|
194
198
|
const ariaRequired = useAriaRequired(props);
|
|
195
199
|
const messages = useAstryxMessages();
|
|
196
200
|
const announce = useAnnounce();
|
|
197
201
|
const counterZone = shallowRef(null);
|
|
198
202
|
const limit = computed(() => {
|
|
199
|
-
|
|
200
|
-
|
|
203
|
+
const raw = props.maxLength ?? props.maxlength;
|
|
204
|
+
if (raw == null || raw === "") return null;
|
|
205
|
+
const parsed = Number(raw);
|
|
201
206
|
return Number.isFinite(parsed) ? parsed : null;
|
|
202
207
|
});
|
|
203
208
|
const model = useModel(__props, "modelValue");
|
|
@@ -220,6 +225,11 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
220
225
|
});
|
|
221
226
|
const busy = computed(() => props.isLoading || action.isPending.value);
|
|
222
227
|
const valueLength = computed(() => limit.value == null ? 0 : characterCount(action.value.value));
|
|
228
|
+
const locale = useAstryxLocale();
|
|
229
|
+
const counterText = computed(() => {
|
|
230
|
+
const format = new Intl.NumberFormat(locale.value);
|
|
231
|
+
return `${format.format(valueLength.value)}/${format.format(limit.value ?? 0)}`;
|
|
232
|
+
});
|
|
223
233
|
const isOverLimit = computed(() => limit.value != null && valueLength.value > limit.value);
|
|
224
234
|
function announceCounter(length) {
|
|
225
235
|
const max = limit.value;
|
|
@@ -342,7 +352,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
342
352
|
ref: container,
|
|
343
353
|
class: normalizeClass(["astryx-text-area", unref(parts).controlClass()]),
|
|
344
354
|
style: normalizeStyle(unref(parts).controlStyle()),
|
|
345
|
-
"data-size":
|
|
355
|
+
"data-size": unref(size),
|
|
346
356
|
"data-status": __props.status?.type,
|
|
347
357
|
"data-disabled": __props.isDisabled || void 0,
|
|
348
358
|
"data-readonly": __props.isReadOnly || void 0,
|
|
@@ -392,7 +402,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
392
402
|
icon: "warning",
|
|
393
403
|
size: "sm",
|
|
394
404
|
"aria-hidden": "true"
|
|
395
|
-
})) : createCommentVNode("v-if", true), createTextVNode(toDisplayString(
|
|
405
|
+
})) : createCommentVNode("v-if", true), createTextVNode(toDisplayString(counterText.value), 1)], 8, _hoisted_4)) : createCommentVNode("v-if", true),
|
|
396
406
|
_ctx.$slots.end ? (openBlock(), createElementBlock("span", _hoisted_5, [renderSlot(_ctx.$slots, "end")])) : createCommentVNode("v-if", true),
|
|
397
407
|
__props.hasClear && unref(action).value.value && !__props.isDisabled && !__props.isReadOnly ? (openBlock(), createBlock(_sfc_main$7, {
|
|
398
408
|
key: 3,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ct as TextInputChangeEvent, dt as TextInputSize, ft as TextInputSlots, ht as TextInputType, lt as TextInputEmits, mt as TextInputStatusType, ot as _default, pt as TextInputStatus, st as TextInputChangeAction, ut as TextInputProps } from "../index-
|
|
1
|
+
import { ct as TextInputChangeEvent, dt as TextInputSize, ft as TextInputSlots, ht as TextInputType, lt as TextInputEmits, mt as TextInputStatusType, ot as _default, pt as TextInputStatus, st as TextInputChangeAction, ut as TextInputProps } from "../index-CfOpGR_m.js";
|
|
2
2
|
export { _default as TextInput, type TextInputChangeAction, type TextInputChangeEvent, type TextInputEmits, type TextInputProps, type TextInputSize, type TextInputSlots, type TextInputStatus, type TextInputStatusType, type TextInputType };
|
package/dist/TextInput/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../TextInput-
|
|
1
|
+
import { t as _sfc_main } from "../TextInput-ZSr9jgdk.js";
|
|
2
2
|
export { _sfc_main as TextInput };
|
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { i as useSize } from "./SizeContext-BbaF-SEx.js";
|
|
2
|
+
import { t as _sfc_main$1 } from "./VisuallyHidden-cpmsV-0M.js";
|
|
3
|
+
import { n as _sfc_main$2 } from "./Button-DVXOKWAy.js";
|
|
3
4
|
import { t as _sfc_main$3 } from "./ButtonTooltip-CNKOQHYR.js";
|
|
5
|
+
import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
|
|
4
6
|
import { t as useInputContainer } from "./useInputContainer-CLcYrby4.js";
|
|
5
|
-
import { t as useInputStatusIcon } from "./useInputStatusIcon-
|
|
6
|
-
import { s as useAstryxMessages } from "./context-
|
|
7
|
+
import { t as useInputStatusIcon } from "./useInputStatusIcon-Dax94Gdd.js";
|
|
8
|
+
import { s as useAstryxMessages } from "./context-BLSiTojH.js";
|
|
7
9
|
import { i as useAriaRequired } from "./context-Cfml4jaK.js";
|
|
8
|
-
import { t as _sfc_main$4 } from "./Field-
|
|
10
|
+
import { t as _sfc_main$4 } from "./Field-DLg-trP2.js";
|
|
9
11
|
import { t as useFieldPartStyling } from "./fieldParts--SyRZVQG.js";
|
|
10
|
-
import { t as _sfc_main$5 } from "./InputClearButton-
|
|
12
|
+
import { t as _sfc_main$5 } from "./InputClearButton-DjLXIYX4.js";
|
|
11
13
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onMounted, openBlock, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, toRaw, unref, useAttrs, useId, useModel, useTemplateRef, watch, withCtx } from "vue";
|
|
12
14
|
import "../styles/text-input.css";
|
|
13
15
|
//#region src/TextInput/useTextInputAction.ts
|
|
@@ -103,7 +105,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
103
105
|
props: /*@__PURE__*/ mergeModels({
|
|
104
106
|
id: {},
|
|
105
107
|
type: { default: "text" },
|
|
106
|
-
size: {
|
|
108
|
+
size: {},
|
|
107
109
|
isReadOnly: { type: Boolean },
|
|
108
110
|
disabledMessage: {},
|
|
109
111
|
startIcon: {},
|
|
@@ -172,6 +174,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
172
174
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
173
175
|
const props = __props;
|
|
174
176
|
const emit = __emit;
|
|
177
|
+
const size = useSize(() => props.size, "md");
|
|
175
178
|
const ariaRequired = useAriaRequired(props);
|
|
176
179
|
const messages = useAstryxMessages();
|
|
177
180
|
const model = useModel(__props, "modelValue");
|
|
@@ -303,7 +306,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
303
306
|
ref: container,
|
|
304
307
|
class: normalizeClass(["astryx-text-input", unref(parts).controlClass()]),
|
|
305
308
|
style: normalizeStyle(unref(parts).controlStyle()),
|
|
306
|
-
"data-size":
|
|
309
|
+
"data-size": unref(size),
|
|
307
310
|
"data-status": __props.status?.type,
|
|
308
311
|
"data-disabled": __props.isDisabled || void 0,
|
|
309
312
|
"data-readonly": __props.isReadOnly || void 0,
|
package/dist/Theme/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as neutralTheme, c as expandMotionScale, d as WIDTH_BREAKPOINT_NAMES, i as isDefinedTheme, l as expandColorScale, n as _sfc_main$1, o as expandTypeScale, r as defineTheme, s as expandRadiusScale, t as useMediaTheme, u as DEFAULT_WIDTH_BREAKPOINTS } from "../Theme-
|
|
2
|
-
import { a as normalizeTokenName, l as DATA_TOKEN_DEFAULTS, n as useTheme, t as _sfc_main } from "../MediaTheme-
|
|
1
|
+
import { a as neutralTheme, c as expandMotionScale, d as WIDTH_BREAKPOINT_NAMES, i as isDefinedTheme, l as expandColorScale, n as _sfc_main$1, o as expandTypeScale, r as defineTheme, s as expandRadiusScale, t as useMediaTheme, u as DEFAULT_WIDTH_BREAKPOINTS } from "../Theme-D7_fQWgb.js";
|
|
2
|
+
import { a as normalizeTokenName, l as DATA_TOKEN_DEFAULTS, n as useTheme, t as _sfc_main } from "../MediaTheme-CnSOALNj.js";
|
|
3
3
|
export { DATA_TOKEN_DEFAULTS, DEFAULT_WIDTH_BREAKPOINTS, _sfc_main as MediaTheme, _sfc_main$1 as Theme, WIDTH_BREAKPOINT_NAMES, defineTheme, expandColorScale, expandMotionScale, expandRadiusScale, expandTypeScale, isDefinedTheme, neutralTheme, normalizeTokenName, useMediaTheme, useTheme };
|