@astryx-vue/core 0.7.23 → 0.7.25
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-XBjLwnAX.js → AlertDialog--9IcMdY3.js} +2 -2
- package/dist/Avatar/index.d.ts +1 -1
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-cNntRBEo.js → Avatar-CqPpL59Q.js} +24 -19
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/AvatarGroup/index.js +1 -1
- package/dist/{AvatarGroup-DbWLEmi1.js → AvatarGroup-lmO-a3Eq.js} +17 -7
- package/dist/Badge/index.js +1 -1
- package/dist/{Badge-CjDQPF5g.js → Badge-DByZSDmu.js} +10 -3
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Banner/index.js +1 -1
- package/dist/{Banner-ks2zPq6Z.js → Banner-BpiQjQvG.js} +2 -2
- package/dist/Breadcrumbs/index.d.ts +2 -2
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/{Breadcrumbs-k-Xqzbkt.js → Breadcrumbs-CH-rcc_-.js} +3 -3
- package/dist/Button/index.d.ts +2 -2
- package/dist/Button/index.js +1 -1
- package/dist/{Button-Byrr4hAu.js → Button-7W3G5gok.js} +7 -10
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/ButtonGroup/index.js +1 -1
- package/dist/{ButtonGroup-B9sj-OvC.js → ButtonGroup-UgiGP61q.js} +3 -2
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Calendar/index.js +1 -1
- package/dist/{Calendar-d_uOkvFE.js → Calendar-DjhwshS8.js} +1 -1
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-CrRD6YdZ.js → Carousel-RN3BV6qj.js} +107 -56
- package/dist/Center/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-D0m-tH7R.js → Chat-D5cXLYlh.js} +3 -3
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-B4pDfjvr.js → CheckboxInput-GFjf15n3.js} +4 -4
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-DtxfdHRI.js → CheckboxList-CJzRo5vd.js} +5 -5
- package/dist/Citation/index.js +1 -1
- package/dist/{Citation-CCu6QWG7.js → Citation-C_XMPOpv.js} +3 -1
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/ClickableCard/index.js +1 -1
- package/dist/{ClickableCard-jEBZbzHE.js → ClickableCard-qeVRS9dw.js} +14 -5
- package/dist/Code/index.js +2 -2
- package/dist/{Code-PDhTfE2w.js → Code-6GS0nAkR.js} +1 -1
- package/dist/{CodeBlock-C1CyMSCL.js → CodeBlock-9NMYGL48.js} +19 -10
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-BsPZ8CoN.js → Collapsible-CifnTLlc.js} +2 -2
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-0Kg-dJg3.js → CommandPalette-BbGFrwAI.js} +3 -3
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-wbVUmVh6.js → ComplexSelector-DMnzBMY1.js} +5 -5
- package/dist/ComponentIcon-hPmWTSXE.js +37 -0
- package/dist/ContextMenu/index.d.ts +2 -2
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-CgSIWUYh.js → ContextMenu-BD3pObnQ.js} +2 -2
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-CdwODQhw.js → DateInput-CYFPGd__.js} +10 -8
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-Byb8zqZ2.js → DateRangeInput-BOdKqQUw.js} +6 -6
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-lcpORu_P.js → DateTimeInput-Bs4T8KWb.js} +7 -7
- package/dist/Dialog/index.js +1 -1
- package/dist/{DialogHeader-8cIwslf4.js → DialogHeader-Dii5B7vE.js} +1 -1
- package/dist/Drawer/index.d.ts +1 -1
- package/dist/Drawer/index.js +1 -1
- package/dist/{Drawer-B8OuWU7j.js → Drawer-CtuxdSAd.js} +1 -1
- package/dist/DropdownMenu/index.d.ts +2 -2
- package/dist/DropdownMenu/index.js +3 -3
- package/dist/{DropdownMenu-BYD5fFzB.js → DropdownMenu-BmAeVIu5.js} +5 -5
- package/dist/{DropdownMenu-BnY1UWKa.js → DropdownMenu-CXyECszu.js} +4 -4
- package/dist/{DropdownMenuRadioItem.vue-z0XU7pZS.d.ts → DropdownMenuRadioItem.vue-D455cIQQ.d.ts} +1 -1
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-BQrzgh2f.js → EmptyState-DaVNSbYi.js} +1 -1
- package/dist/Field/index.d.ts +2 -2
- package/dist/Field/index.js +3 -3
- package/dist/{Field-DLg-trP2.js → Field-CdrGdY7U.js} +2 -2
- package/dist/{FieldIcon-CxTnEb4Y.js → FieldIcon-BB08VXf7.js} +1 -1
- package/dist/{FieldInfoTip-xYN2qeQk.js → FieldInfoTip-CPhFmGaY.js} +2 -2
- package/dist/{FieldLabel-D5_Pap_W.js → FieldLabel-lJ1exgvq.js} +2 -2
- package/dist/FieldStatus/index.d.ts +1 -1
- package/dist/FieldStatus/index.js +1 -1
- package/dist/{FieldStatus-D6Vo_dU5.js → FieldStatus-CR-cK1rW.js} +1 -1
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-D2AOeGrs.js → FileInput-C85funO_.js} +5 -5
- package/dist/Icon/index.d.ts +4 -4
- package/dist/Icon/index.js +4 -2
- package/dist/Icon/plugin.js +1 -1
- package/dist/Icon-B2aULLnn.js +15 -0
- package/dist/{Icon-CU3412Fe.js → Icon-DAcZMgiJ.js} +47 -85
- package/dist/IconButton/index.d.ts +1 -1
- package/dist/IconButton/index.js +1 -1
- package/dist/{IconButton-Dzhukpzc.js → IconButton-Cn4re9lo.js} +1 -1
- package/dist/Indicator/index.d.ts +2 -2
- package/dist/Indicator/index.js +1 -1
- package/dist/InfoTip/index.d.ts +1 -1
- package/dist/InfoTip/index.js +1 -1
- package/dist/{InfoTip-BlOySTNC.js → InfoTip-CQmrs5nz.js} +1 -1
- package/dist/{InputClearButton-D9QzdIWM.js → InputClearButton-gGlttFrg.js} +2 -2
- package/dist/InputGroup/index.d.ts +1 -1
- package/dist/InputGroup/index.js +2 -2
- package/dist/{InputGroup-BleRgc6W.js → InputGroup-DQpDwkjF.js} +23 -16
- package/dist/{Item-X9wgYWoD.js → Item-Dbf2g0Ee.js} +25 -5
- package/dist/Kbd/index.d.ts +1 -1
- package/dist/Kbd/index.js +1 -1
- package/dist/{Kbd-CV3LO2Ge.js → Kbd-Dn1LTcNY.js} +24 -7
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-COttfQHP.js → Lightbox-Duz-OrsN.js} +2 -2
- package/dist/Link/index.d.ts +2 -2
- package/dist/Link/index.js +1 -1
- package/dist/{Link-Qhzs2lcO.js → Link-C0NPH_Zy.js} +57 -68
- package/dist/List/index.js +2 -2
- package/dist/{ListItem-CertehfW.js → ListItem-C8F4r-3e.js} +2 -2
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-C42NPUFp.js → Markdown-B0K6WhMg.js} +3 -3
- package/dist/{MediaTheme-CnSOALNj.js → MediaTheme-Bt7WBTkq.js} +1 -1
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-CocuDVj-.js → MoreMenu-CPp7nRqq.js} +3 -3
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-D0g3yHj6.js → MultiSelector-EuMT3jk8.js} +11 -10
- package/dist/{NavHeadingSurface-B2HkXx6S.js → NavHeadingSurface-DemUziLF.js} +1 -1
- package/dist/NavItem/index.js +1 -1
- package/dist/{NavItem-DfHMmSsw.js → NavItem-B_c92jqW.js} +1 -1
- package/dist/NavMenu/index.js +2 -2
- package/dist/{NavMenu-CZS5pRUv.js → NavMenu-mZVfqNxt.js} +1 -1
- package/dist/{NavMenuItem-duQuvU1o.js → NavMenuItem-Crc0y9_s.js} +2 -2
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-DEfKx0qI.js → NumberInput-nhsOtHSM.js} +15 -14
- package/dist/Outline/index.js +1 -1
- package/dist/{Outline-D3g7Vq7-.js → Outline-CXQKfopf.js} +2 -2
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-WwL2NPbI.js → OverflowList-BGHiFBEV.js} +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-Cn53Nqe3.js → Pagination-DtItBecM.js} +2 -2
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-D90phFsK.js → Popover-DE_a8vx0.js} +1 -1
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-Cj_D0iaM.js → PowerSearch-BPqinhNg.js} +15 -15
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-B2lYTCeV.js → RadioGroup-DgD_qw8h.js} +4 -4
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioList-CieZtXzY.js → RadioList-BTfVjABV.js} +1 -1
- package/dist/Resizable/index.d.ts +1 -1
- package/dist/Resizable/index.js +1 -1
- package/dist/{ResizeHandle-uBJj4W1M.js → ResizeHandle-5JnYYMyi.js} +1 -1
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/SegmentedControl/index.js +1 -1
- package/dist/{SegmentedControl-BmDn1avo.js → SegmentedControl-BOFsp4zL.js} +1 -1
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/SelectableCard/index.js +1 -1
- package/dist/{SelectableCard-2a2gsxys.js → SelectableCard-DkAtLqr0.js} +10 -6
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-CgrXQtte.js → Selector-Bb0Tw0IX.js} +8 -7
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-GELGN9LR.js → SideNav-woP0TsbV.js} +5 -5
- package/dist/Slider/index.d.ts +1 -1
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-CEhy-D-R.js → Slider-DPNiq0HG.js} +3 -3
- package/dist/Stepper/index.js +1 -1
- package/dist/{Stepper-DVXisudw.js → Stepper-Ca1DQGyG.js} +2 -2
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-DXShvaDA.js → Switch-yKKscO-i.js} +3 -3
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-DIEm4YKM.js → TabList-cg8Mrbs_.js} +4 -4
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-Du4FXP9X.js → Table-rUgNSJgQ.js} +41 -32
- package/dist/Text/index.js +1 -1
- package/dist/{Text-Wk-iDAzh.js → Text-BShV9dky.js} +7 -1
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-CbQp3Lqm.js → TextArea-D8703Iin.js} +7 -7
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-CkJRorQb.js → TextInput-C3TcHG4h.js} +18 -16
- package/dist/Theme/index.d.ts +2 -2
- package/dist/Theme/index.js +2 -2
- package/dist/{Theme-D7_fQWgb.js → Theme-DkFv7FGK.js} +23 -3
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-7dKY4N-p.js → Thumbnail-7hvPR8TA.js} +39 -11
- package/dist/{TimeField-DGPsFfii.js → TimeField-D2vnhUvT.js} +3 -3
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-CnOvJGgC.js → TimeInput-D31lgw-s.js} +7 -5
- package/dist/Timer/index.js +1 -1
- package/dist/{Timer-DL_MPa_h.js → Timer-D0A9hh4O.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-BQc2NBd7.js → Timestamp-BCYaQaDQ.js} +16 -12
- package/dist/Toast/index.js +1 -1
- package/dist/{Toast-DytdMVIS.js → Toast-BpumSIBN.js} +4 -4
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/ToggleButton/index.js +1 -1
- package/dist/{ToggleButton-Cgr84UJy.js → ToggleButton-DYGsPjtx.js} +1 -1
- package/dist/Token/index.d.ts +1 -1
- package/dist/Token/index.js +1 -1
- package/dist/{Token-BJDLztV6.js → Token-DV53YBsy.js} +12 -7
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-yz0873oG.js → Tokenizer-DlptPLpP.js} +3 -3
- package/dist/Toolbar/index.d.ts +1 -1
- package/dist/Toolbar/index.js +1 -1
- package/dist/{Toolbar-CbVhy7K9.js → Toolbar-D5UI1JLe.js} +2 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-aCHKxMyk.js → TopNav-ZTKVEADp.js} +5 -5
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-tcEjVfb0.js → TreeList-CLWHRRDM.js} +21 -16
- package/dist/Typeahead/index.js +1 -1
- package/dist/{Typeahead-ClidGB0O.js → Typeahead-Dd8pq0fI.js} +7 -5
- package/dist/componentIcons-CFr2L6o3.js +106 -0
- package/dist/composables/index.d.ts +1 -1
- package/dist/composables/index.js +6 -7
- package/dist/{composables-BWDrzi3J.js → composables-DamLUqw3.js} +1 -1
- package/dist/context-Bg7eSJ47.js +17 -0
- package/dist/devBuild-G249YcdZ.js +17 -0
- package/dist/{fieldParts--SyRZVQG.js → fieldParts-CDOlBdy6.js} +2 -2
- package/dist/{index-ZbNwGVkS.d.ts → index-BKnyTWPM.d.ts} +1 -1
- package/dist/{index-CfPGC9aW.d.ts → index-BMCjAlq6.d.ts} +1 -1
- package/dist/{index-Gnewu6-J.d.ts → index-BPyRH3WL.d.ts} +1 -1
- package/dist/{index-f3d9cVtj.d.ts → index-BU78NOP-.d.ts} +1 -1
- package/dist/{index-BfQ85cS8.d.ts → index-BZuEYd9y.d.ts} +1 -1
- package/dist/{index-DxxudRgB.d.ts → index-C16d2Fc4.d.ts} +1 -1
- package/dist/{index-IvAfdGCC.d.ts → index-CAoenU4T.d.ts} +1 -1
- package/dist/{index-HoCUEVoX.d.ts → index-CCYGMtZy.d.ts} +28 -28
- package/dist/{index-BhLLG-Gi.d.ts → index-CEHqYyz5.d.ts} +1 -1
- package/dist/{index-Bo-ofFyg.d.ts → index-CbNLiaWw.d.ts} +2 -2
- package/dist/{index-C9gAlDt_.d.ts → index-CvquEEGw.d.ts} +8 -2
- package/dist/{index-BqEPgwku.d.ts → index-D4BeRDzX.d.ts} +1 -1
- package/dist/{index-QWh122EV.d.ts → index-D57GW53K.d.ts} +1 -1
- package/dist/{index-DjVJDoz4.d.ts → index-DAs54mND.d.ts} +20 -3
- package/dist/{index-DEm3kRBO.d.ts → index-DN1RqxjP.d.ts} +1 -1
- package/dist/{index-BUZDSd-n.d.ts → index-Dc52pmSr.d.ts} +4 -2
- package/dist/{index-uqEqPcmR.d.ts → index-DhMCql2U.d.ts} +1 -1
- package/dist/{index-Dw-zjHHD.d.ts → index-Ds4OafGN.d.ts} +2 -2
- package/dist/{index-cJKrAHO-.d.ts → index-GksCg4a4.d.ts} +4 -4
- package/dist/{index-8px-LKw_.d.ts → index-HLkEFNeu.d.ts} +3 -3
- package/dist/{index-Dj1_1t3j.d.ts → index-IFFGXlhq.d.ts} +1 -1
- package/dist/{index-BtrAhmSP.d.ts → index-fuztfDLA.d.ts} +10 -6
- package/dist/index.d.ts +30 -30
- package/dist/index.js +95 -95
- package/dist/{registry-C7OZb0PJ.js → registry-fNY3jasS.js} +23 -4
- package/dist/{searchResultMessage-T4H3r8Vz.js → searchResultMessage-U_4q8zX3.js} +1 -1
- package/dist/semantic-CXHSMwPK.d.ts +118 -0
- package/dist/textClampContext-o3-nLErq.js +15 -0
- package/dist/themeIcons-CqGF0fwW.js +128 -0
- package/dist/{types-CsqwQkf1.d.ts → types-Bq4Yl6CS.d.ts} +68 -7
- package/dist/{types-Bb7OGivY.d.ts → types-BwVJBE-G.d.ts} +1 -1
- package/dist/{types-C5GQ2KCK.d.ts → types-Dcai2Icw.d.ts} +55 -1
- package/dist/{types-DnrU3HYQ.d.ts → types-hB0M54I7.d.ts} +1 -1
- package/dist/{useDevWarning-DznOpOHT.js → useDevWarning-B2fsk2B-.js} +1 -4
- package/dist/{useIndicator-BvF_KY9S.js → useIndicator-DGWEjVpB.js} +2 -2
- package/dist/{useInputContainer-CLcYrby4.js → useInputContainer-BP3u3hGz.js} +1 -1
- package/dist/{useInputStatusIcon-Bpe0xKqN.js → useInputStatusIcon-CTF4yF3e.js} +2 -2
- package/dist/{useListFocus-ChxLg0b4.js → useListFocus-CbHkLT-X.js} +4 -3
- package/dist/{useMenuDrillIn-C36Z89W3.js → useMenuDrillIn-DJ4U_hF7.js} +2 -2
- package/dist/{useMenuHover-Ctmp4Xkh.js → useMenuHover-CbjjfzAd.js} +1 -1
- package/dist/usePressFeedback-Dt76SpLj.js +616 -0
- package/dist/{utils-ClVseK2w.js → utils-DsFqXaGf.js} +5 -1
- package/package.json +1 -1
- package/styles/avatar.css +18 -3
- package/styles/badge.css +13 -0
- package/styles/button-group.css +21 -2
- package/styles/button.css +63 -0
- package/styles/carousel.css +19 -11
- package/styles/citation.css +2 -1
- package/styles/clickable-card.css +19 -5
- package/styles/code.css +6 -0
- package/styles/context-menu.css +7 -0
- package/styles/dialog.css +7 -0
- package/styles/dropdown-menu.css +9 -0
- package/styles/icon.css +18 -12
- package/styles/kbd.css +2 -0
- package/styles/link.css +20 -1
- package/styles/popover.css +7 -0
- package/styles/pressable.css +7 -0
- package/styles/table.css +24 -0
- package/styles/thumbnail.css +25 -0
- package/dist/context-Cws_tXTr.js +0 -7
- package/dist/context-IvbU9c3T.js +0 -8
- package/dist/semantic-BF_AjLvk.d.ts +0 -57
- package/dist/useClickableContainer-CdGp_Cev.js +0 -112
- package/dist/usePressFeedback-Dhnfc3ee.js +0 -336
- package/dist/{index-BqhgeAT4.d.ts → index-BJ9Wim6J.d.ts} +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as AlertDialogActionVariant, c as AlertDialogProps, i as _default, l as AlertDialogSlots, n as ImperativeAlertDialogReturn, o as AlertDialogEmits, r as useImperativeAlertDialog, s as AlertDialogLayout, t as ImperativeAlertDialogOptions } from "../index-
|
|
1
|
+
import { a as AlertDialogActionVariant, c as AlertDialogProps, i as _default, l as AlertDialogSlots, n as ImperativeAlertDialogReturn, o as AlertDialogEmits, r as useImperativeAlertDialog, s as AlertDialogLayout, t as ImperativeAlertDialogOptions } from "../index-DhMCql2U.js";
|
|
2
2
|
export { _default as AlertDialog, type AlertDialogActionVariant, type AlertDialogEmits, type AlertDialogLayout, type AlertDialogProps, type AlertDialogSlots, type ImperativeAlertDialogOptions, type ImperativeAlertDialogReturn, useImperativeAlertDialog };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, t as useImperativeAlertDialog } from "../AlertDialog
|
|
1
|
+
import { n as _sfc_main, t as useImperativeAlertDialog } from "../AlertDialog--9IcMdY3.js";
|
|
2
2
|
export { _sfc_main as AlertDialog, useImperativeAlertDialog };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as _sfc_main$1 } from "./Button-
|
|
1
|
+
import { t as _sfc_main$1 } from "./Button-7W3G5gok.js";
|
|
2
2
|
import { t as useMediaQuery } from "./useMediaQuery-GMmgp28-.js";
|
|
3
3
|
import { t as _sfc_main$2 } from "./Dialog-D4V2ZnuS.js";
|
|
4
4
|
import { t as _sfc_main$3 } from "./Heading-D0zL1j5T.js";
|
|
5
5
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
6
6
|
import { t as _sfc_main$4 } from "./Stack-DPB-Ztf7.js";
|
|
7
|
-
import { t as _sfc_main$5 } from "./Text-
|
|
7
|
+
import { t as _sfc_main$5 } from "./Text-BShV9dky.js";
|
|
8
8
|
import { Fragment, computed, createBlock, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, h, mergeProps, normalizeClass, onMounted, openBlock, provide, ref, renderList, renderSlot, shallowRef, toDisplayString, unref, useId, useTemplateRef, withCtx } from "vue";
|
|
9
9
|
import "../styles/alert-dialog.css";
|
|
10
10
|
//#region src/AlertDialog/context.ts
|
package/dist/Avatar/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as AvatarProps, c as AvatarStatusDotProps, d as AvatarStatusDotVariantName, i as AvatarNumericSize, l as AvatarStatusDotSlots, n as _default, o as AvatarShape, r as AvatarNamedSize, s as AvatarSize, t as _default$1, u as AvatarStatusDotVariant } from "../index-
|
|
1
|
+
import { a as AvatarProps, c as AvatarStatusDotProps, d as AvatarStatusDotVariantName, i as AvatarNumericSize, l as AvatarStatusDotSlots, n as _default, o as AvatarShape, r as AvatarNamedSize, s as AvatarSize, t as _default$1, u as AvatarStatusDotVariant } from "../index-Dc52pmSr.js";
|
|
2
2
|
export { _default as Avatar, type AvatarNamedSize, type AvatarNumericSize, type AvatarProps, type AvatarShape, type AvatarSize, _default$1 as AvatarStatusDot, type AvatarStatusDotProps, type AvatarStatusDotSlots, type AvatarStatusDotVariant, type AvatarStatusDotVariantName };
|
package/dist/Avatar/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, t as _sfc_main$1 } from "../Avatar-
|
|
1
|
+
import { n as _sfc_main, t as _sfc_main$1 } from "../Avatar-CqPpL59Q.js";
|
|
2
2
|
export { _sfc_main as Avatar, _sfc_main$1 as AvatarStatusDot };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
|
|
2
2
|
import { n as isSafeUrl } from "./safeUrl-CsvfcZ9m.js";
|
|
3
3
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
4
|
-
import { n as useDevWarning } from "./useDevWarning-
|
|
4
|
+
import { n as useDevWarning } from "./useDevWarning-B2fsk2B-.js";
|
|
5
5
|
import { s as useAstryxMessages } from "./context-BLSiTojH.js";
|
|
6
6
|
import { t as _sfc_main$2 } from "./Tooltip-BfKegFfq.js";
|
|
7
|
-
import { a as
|
|
7
|
+
import { a as resolveStatusDotMetrics, i as resolveSize, n as cssString, o as resolveStatusDotVariant, r as getInitials, s as AvatarGroupContext, t as composeAccessibleName } from "./utils-DsFqXaGf.js";
|
|
8
8
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, inject, mergeProps, normalizeStyle, onUnmounted, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toRaw, unref, useAttrs, useSlots, watch, withCtx } from "vue";
|
|
9
9
|
import "../styles/avatar.css";
|
|
10
10
|
//#region src/Avatar/context.ts
|
|
@@ -32,16 +32,14 @@ const AvatarStatusLabelContext = Symbol("AvatarStatusLabelContext");
|
|
|
32
32
|
const _hoisted_1$1 = { class: "astryx-avatar__content" };
|
|
33
33
|
const _hoisted_2$1 = ["src"];
|
|
34
34
|
const _hoisted_3$1 = ["src"];
|
|
35
|
-
const _hoisted_4$1 =
|
|
36
|
-
const _hoisted_5 = {
|
|
35
|
+
const _hoisted_4$1 = {
|
|
37
36
|
key: 0,
|
|
38
37
|
class: "astryx-avatar__status"
|
|
39
38
|
};
|
|
40
|
-
const
|
|
39
|
+
const _hoisted_5 = { class: "astryx-avatar__content" };
|
|
40
|
+
const _hoisted_6 = ["src"];
|
|
41
41
|
const _hoisted_7 = ["src"];
|
|
42
|
-
const _hoisted_8 =
|
|
43
|
-
const _hoisted_9 = ["data-initials"];
|
|
44
|
-
const _hoisted_10 = {
|
|
42
|
+
const _hoisted_8 = {
|
|
45
43
|
key: 0,
|
|
46
44
|
class: "astryx-avatar__status"
|
|
47
45
|
};
|
|
@@ -96,6 +94,15 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
96
94
|
return typeof props.alt === "string" && props.alt.trim() !== "" ? props.alt.trim() : void 0;
|
|
97
95
|
});
|
|
98
96
|
const initials = computed(() => meaningfulName.value ? getInitials(meaningfulName.value) : "");
|
|
97
|
+
/**
|
|
98
|
+
* 首字母由 `::before` 生成内容画出,属于头像这张「图」,不算控件的文字:
|
|
99
|
+
* 链接或按钮头像的可见文字若不在名字里,会违反 Label in Name。
|
|
100
|
+
* 首字母以 CSS 字符串写进私有的行内自定义属性,不暴露公开的 data 属性。
|
|
101
|
+
*/
|
|
102
|
+
const initialsStyle = computed(() => ({
|
|
103
|
+
"fontSize": `${numericSize.value * INITIALS_FONT_SIZE_RATIO}px`,
|
|
104
|
+
"--_avatar-initials": cssString(initials.value)
|
|
105
|
+
}));
|
|
99
106
|
const showInitials = computed(() => !showImage.value && !showFallbackImage.value && initials.value !== "");
|
|
100
107
|
const showIcon = computed(() => !showImage.value && !showFallbackImage.value && initials.value === "");
|
|
101
108
|
const messages = useAstryxMessages();
|
|
@@ -203,9 +210,8 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
203
210
|
}, null, 40, _hoisted_3$1)) : showInitials.value ? (openBlock(), createElementBlock("span", {
|
|
204
211
|
key: 2,
|
|
205
212
|
class: "astryx-avatar__fallback astryx-avatar__fallback--initials",
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
}, null, 12, _hoisted_4$1)) : showIcon.value ? (openBlock(), createElementBlock("span", {
|
|
213
|
+
style: normalizeStyle(initialsStyle.value)
|
|
214
|
+
}, null, 4)) : showIcon.value ? (openBlock(), createElementBlock("span", {
|
|
209
215
|
key: 3,
|
|
210
216
|
class: "astryx-avatar__fallback astryx-avatar__fallback--icon",
|
|
211
217
|
style: normalizeStyle({ fontSize: `${numericSize.value * DEFAULT_ICON_RATIO}px` })
|
|
@@ -213,7 +219,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
213
219
|
viewBox: "0 0 24 24",
|
|
214
220
|
fill: "currentColor",
|
|
215
221
|
"aria-hidden": "true"
|
|
216
|
-
}, [createElementVNode("path", { d: "M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z" })], -1))])], 4)) : createCommentVNode("v-if", true)]), _ctx.$slots.status ? (openBlock(), createElementBlock("span",
|
|
222
|
+
}, [createElementVNode("path", { d: "M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z" })], -1))])], 4)) : createCommentVNode("v-if", true)]), _ctx.$slots.status ? (openBlock(), createElementBlock("span", _hoisted_4$1, [renderSlot(_ctx.$slots, "status")])) : createCommentVNode("v-if", true)]),
|
|
217
223
|
_: 3
|
|
218
224
|
}, 16, [
|
|
219
225
|
"class",
|
|
@@ -234,24 +240,23 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
234
240
|
"data-shape": resolvedShape.value,
|
|
235
241
|
"data-avatar-item": isInteractive.value ? "" : void 0
|
|
236
242
|
}, rootBindings.value), {
|
|
237
|
-
default: withCtx(() => [createElementVNode("span",
|
|
243
|
+
default: withCtx(() => [createElementVNode("span", _hoisted_5, [showImage.value ? (openBlock(), createElementBlock("img", {
|
|
238
244
|
key: 0,
|
|
239
245
|
class: "astryx-avatar__image",
|
|
240
246
|
src: __props.src,
|
|
241
247
|
alt: "",
|
|
242
248
|
onError: handleImageError
|
|
243
|
-
}, null, 40,
|
|
249
|
+
}, null, 40, _hoisted_6)) : showFallbackImage.value ? (openBlock(), createElementBlock("img", {
|
|
244
250
|
key: 1,
|
|
245
251
|
class: "astryx-avatar__image",
|
|
246
252
|
src: __props.fallbackSrc,
|
|
247
253
|
alt: "",
|
|
248
254
|
onError: handleFallbackError
|
|
249
|
-
}, null, 40,
|
|
255
|
+
}, null, 40, _hoisted_7)) : showInitials.value ? (openBlock(), createElementBlock("span", {
|
|
250
256
|
key: 2,
|
|
251
257
|
class: "astryx-avatar__fallback astryx-avatar__fallback--initials",
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
}, null, 12, _hoisted_9)) : showIcon.value ? (openBlock(), createElementBlock("span", {
|
|
258
|
+
style: normalizeStyle(initialsStyle.value)
|
|
259
|
+
}, null, 4)) : showIcon.value ? (openBlock(), createElementBlock("span", {
|
|
255
260
|
key: 3,
|
|
256
261
|
class: "astryx-avatar__fallback astryx-avatar__fallback--icon",
|
|
257
262
|
style: normalizeStyle({ fontSize: `${numericSize.value * DEFAULT_ICON_RATIO}px` })
|
|
@@ -259,7 +264,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
259
264
|
viewBox: "0 0 24 24",
|
|
260
265
|
fill: "currentColor",
|
|
261
266
|
"aria-hidden": "true"
|
|
262
|
-
}, [createElementVNode("path", { d: "M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z" })], -1))])], 4)) : createCommentVNode("v-if", true)]), _ctx.$slots.status ? (openBlock(), createElementBlock("span",
|
|
267
|
+
}, [createElementVNode("path", { d: "M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z" })], -1))])], 4)) : createCommentVNode("v-if", true)]), _ctx.$slots.status ? (openBlock(), createElementBlock("span", _hoisted_8, [renderSlot(_ctx.$slots, "status")])) : createCommentVNode("v-if", true)]),
|
|
263
268
|
_: 3
|
|
264
269
|
}, 16, [
|
|
265
270
|
"class",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as AvatarGroupOverflowSlots, i as AvatarGroupOverflowProps, n as _default, o as AvatarGroupProps, r as AvatarGroupOverflowEmits, t as _default$1 } from "../index-
|
|
1
|
+
import { a as AvatarGroupOverflowSlots, i as AvatarGroupOverflowProps, n as _default, o as AvatarGroupProps, r as AvatarGroupOverflowEmits, t as _default$1 } from "../index-CCYGMtZy.js";
|
|
2
2
|
export { _default as AvatarGroup, _default$1 as AvatarGroupOverflow, type AvatarGroupOverflowEmits, type AvatarGroupOverflowProps, type AvatarGroupOverflowSlots, type AvatarGroupProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, t as _sfc_main$1 } from "../AvatarGroup-
|
|
1
|
+
import { n as _sfc_main, t as _sfc_main$1 } from "../AvatarGroup-lmO-a3Eq.js";
|
|
2
2
|
export { _sfc_main as AvatarGroup, _sfc_main$1 as AvatarGroupOverflow };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as usePressFeedback } from "./usePressFeedback-
|
|
1
|
+
import { t as usePressFeedback } from "./usePressFeedback-Dt76SpLj.js";
|
|
2
2
|
import { n as readLayerScoped } from "./scopedProvide-C-Df7c15.js";
|
|
3
3
|
import { t as _sfc_main$2 } from "./VisuallyHidden-cpmsV-0M.js";
|
|
4
4
|
import { s as useAstryxMessages } from "./context-BLSiTojH.js";
|
|
5
|
-
import { t as useListFocus } from "./useListFocus-
|
|
6
|
-
import {
|
|
5
|
+
import { t as useListFocus } from "./useListFocus-CbHkLT-X.js";
|
|
6
|
+
import { i as resolveSize, s as AvatarGroupContext } from "./utils-DsFqXaGf.js";
|
|
7
7
|
import { computed, createBlock, createCommentVNode, createElementBlock, createTextVNode, defineComponent, getCurrentInstance, mergeProps, normalizeStyle, onMounted, onUpdated, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toDisplayString, unref, useAttrs, useId, withCtx } from "vue";
|
|
8
8
|
import "../styles/avatar-group.css";
|
|
9
9
|
//#region src/AvatarGroup/AvatarGroup.vue
|
|
@@ -76,6 +76,7 @@ const OVERFLOW_FONT_RATIO = .35;
|
|
|
76
76
|
*/
|
|
77
77
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
78
78
|
name: "AstryxAvatarGroupOverflow",
|
|
79
|
+
inheritAttrs: false,
|
|
79
80
|
__name: "AvatarGroupOverflow",
|
|
80
81
|
props: { count: {} },
|
|
81
82
|
emits: ["click"],
|
|
@@ -100,10 +101,19 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
100
101
|
* 免得画出 `+-3`。
|
|
101
102
|
*/
|
|
102
103
|
const safeCount = computed(() => Math.max(0, props.count));
|
|
103
|
-
/**
|
|
104
|
+
/**
|
|
105
|
+
* 调用方给了非空的 `aria-label` 就用它;否则读屏名走语言包(英文 `5 more`),
|
|
106
|
+
* 跟着 `count` 变。调用方的 `aria-labelledby` 原样透传,浏览器会让它优先。
|
|
107
|
+
*/
|
|
104
108
|
const accessibleName = computed(() => {
|
|
105
|
-
const
|
|
106
|
-
|
|
109
|
+
const callerLabel = attrs["aria-label"];
|
|
110
|
+
if (typeof callerLabel === "string" && callerLabel !== "") return callerLabel;
|
|
111
|
+
return messages.value.nav.avatarOverflow(safeCount.value);
|
|
112
|
+
});
|
|
113
|
+
/** 除了名字,调用方的其他属性原样落到根元素上。 */
|
|
114
|
+
const forwardedAttrs = computed(() => {
|
|
115
|
+
const { "aria-label": _callerLabel, ...rest } = attrs;
|
|
116
|
+
return rest;
|
|
107
117
|
});
|
|
108
118
|
/** 字号随头像长:小头像沿用正文字号,大头像按比例放大。 */
|
|
109
119
|
const rootStyle = computed(() => ({
|
|
@@ -115,7 +125,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
115
125
|
/** 静态指示器的 `img` 语义可以被调用方换掉,比如标成 `note`。 */
|
|
116
126
|
const staticRole = computed(() => attrs.role ?? "img");
|
|
117
127
|
return (_ctx, _cache) => {
|
|
118
|
-
return openBlock(), createBlock(resolveDynamicComponent(isInteractive.value ? "button" : "span"), mergeProps(pressBindings.value, {
|
|
128
|
+
return openBlock(), createBlock(resolveDynamicComponent(isInteractive.value ? "button" : "span"), mergeProps(mergeProps(forwardedAttrs.value, pressBindings.value), {
|
|
119
129
|
class: ["astryx-avatar-group-overflow", [`astryx-avatar-group-overflow--${shape.value}`, { "astryx-avatar-group-overflow--interactive": isInteractive.value }]],
|
|
120
130
|
style: rootStyle.value,
|
|
121
131
|
"data-size": size.value,
|
package/dist/Badge/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Badge-
|
|
1
|
+
import { t as _sfc_main } from "../Badge-DByZSDmu.js";
|
|
2
2
|
export { _sfc_main as Badge };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { computed, createElementBlock, createElementVNode, createTextVNode, defineComponent, openBlock, renderSlot, toDisplayString } from "vue";
|
|
1
|
+
import { computed, createElementBlock, createElementVNode, createTextVNode, defineComponent, normalizeClass, openBlock, renderSlot, toDisplayString, useSlots } from "vue";
|
|
2
2
|
import "../styles/badge.css";
|
|
3
3
|
//#region src/Badge/Badge.vue
|
|
4
4
|
const _hoisted_1 = ["data-variant", "title"];
|
|
@@ -12,17 +12,24 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
12
12
|
},
|
|
13
13
|
setup(__props) {
|
|
14
14
|
const props = __props;
|
|
15
|
+
const slots = useSlots();
|
|
15
16
|
const labelTitle = computed(() => {
|
|
16
17
|
const label = props.label;
|
|
17
18
|
if (typeof label === "number") return String(label);
|
|
18
19
|
if (typeof label === "string" && label.length > 0) return label;
|
|
19
20
|
});
|
|
21
|
+
/** 有文字的徽章才跟着文字长高;只有颜色的徽章没有文字要装,尺寸不变。 */
|
|
22
|
+
const hasLabel = computed(() => {
|
|
23
|
+
if (slots.default != null) return true;
|
|
24
|
+
const label = props.label;
|
|
25
|
+
return label != null && label !== "";
|
|
26
|
+
});
|
|
20
27
|
return (_ctx, _cache) => {
|
|
21
28
|
return openBlock(), createElementBlock("span", {
|
|
22
|
-
class: "astryx-badge",
|
|
29
|
+
class: normalizeClass(["astryx-badge", { "astryx-badge--has-label": hasLabel.value }]),
|
|
23
30
|
"data-variant": __props.variant,
|
|
24
31
|
title: labelTitle.value
|
|
25
|
-
}, [renderSlot(_ctx.$slots, "icon"), createElementVNode("span", _hoisted_2, [renderSlot(_ctx.$slots, "default", {}, () => [createTextVNode(toDisplayString(__props.label), 1)])])],
|
|
32
|
+
}, [renderSlot(_ctx.$slots, "icon"), createElementVNode("span", _hoisted_2, [renderSlot(_ctx.$slots, "default", {}, () => [createTextVNode(toDisplayString(__props.label), 1)])])], 10, _hoisted_1);
|
|
26
33
|
};
|
|
27
34
|
}
|
|
28
35
|
});
|
package/dist/Banner/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { co as BannerEmits, do as BannerStatus, lo as BannerProps, oo as _default, so as BannerContainer, uo as BannerSlots } from "../index-
|
|
1
|
+
import { co as BannerEmits, do as BannerStatus, lo as BannerProps, oo as _default, so as BannerContainer, uo as BannerSlots } from "../index-CCYGMtZy.js";
|
|
2
2
|
export { _default as Banner, type BannerContainer, type BannerEmits, type BannerProps, type BannerSlots, type BannerStatus };
|
package/dist/Banner/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Banner-
|
|
1
|
+
import { t as _sfc_main } from "../Banner-BpiQjQvG.js";
|
|
2
2
|
export { _sfc_main as Banner };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as _sfc_main$1 } from "./FieldIcon-
|
|
2
|
-
import { t as _sfc_main$2 } from "./IconButton-
|
|
1
|
+
import { t as _sfc_main$1 } from "./FieldIcon-BB08VXf7.js";
|
|
2
|
+
import { t as _sfc_main$2 } from "./IconButton-Cn4re9lo.js";
|
|
3
3
|
import { s as useAstryxMessages } from "./context-BLSiTojH.js";
|
|
4
4
|
import { t as isRenderable } from "./isRenderable-BnKHIqfd.js";
|
|
5
5
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeModels, openBlock, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, toRaw, useId, useModel, useSlots, useTemplateRef, watch, withCtx } from "vue";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { b as DropdownMenuCheckboxItemProps, j as DropdownMenuRadioItemProps, k as DropdownMenuRadioGroupProps, n as _default$2, r as _default$1, t as _default$3 } from "../DropdownMenuRadioItem.vue-
|
|
2
|
-
import { a as BreadcrumbsProps, i as BreadcrumbMenuOption, n as _default, o as BreadcrumbsVariant, r as BreadcrumbItemProps, t as _default$4 } from "../index-
|
|
1
|
+
import { b as DropdownMenuCheckboxItemProps, j as DropdownMenuRadioItemProps, k as DropdownMenuRadioGroupProps, n as _default$2, r as _default$1, t as _default$3 } from "../DropdownMenuRadioItem.vue-D455cIQQ.js";
|
|
2
|
+
import { a as BreadcrumbsProps, i as BreadcrumbMenuOption, n as _default, o as BreadcrumbsVariant, r as BreadcrumbItemProps, t as _default$4 } from "../index-BPyRH3WL.js";
|
|
3
3
|
export { _default as BreadcrumbItem, type BreadcrumbItemProps, _default$1 as BreadcrumbMenuCheckboxItem, type DropdownMenuCheckboxItemProps as BreadcrumbMenuCheckboxItemProps, type BreadcrumbMenuOption, _default$2 as BreadcrumbMenuRadioGroup, type DropdownMenuRadioGroupProps as BreadcrumbMenuRadioGroupProps, _default$3 as BreadcrumbMenuRadioItem, type DropdownMenuRadioItemProps as BreadcrumbMenuRadioItemProps, _default$4 as Breadcrumbs, type BreadcrumbsProps, type BreadcrumbsVariant };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { i as _sfc_main$1, n as _sfc_main$3, r as _sfc_main$2 } from "../useMenuDrillIn-
|
|
2
|
-
import { n as _sfc_main, t as _sfc_main$4 } from "../Breadcrumbs-
|
|
1
|
+
import { i as _sfc_main$1, n as _sfc_main$3, r as _sfc_main$2 } from "../useMenuDrillIn-DJ4U_hF7.js";
|
|
2
|
+
import { n as _sfc_main, t as _sfc_main$4 } from "../Breadcrumbs-CH-rcc_-.js";
|
|
3
3
|
export { _sfc_main as BreadcrumbItem, _sfc_main$1 as BreadcrumbMenuCheckboxItem, _sfc_main$2 as BreadcrumbMenuRadioGroup, _sfc_main$3 as BreadcrumbMenuRadioItem, _sfc_main$4 as Breadcrumbs };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
|
|
2
|
-
import { t as _sfc_main$2 } from "./Icon-
|
|
2
|
+
import { t as _sfc_main$2 } from "./Icon-DAcZMgiJ.js";
|
|
3
3
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
4
|
-
import { n as useDevWarning } from "./useDevWarning-
|
|
5
|
-
import { t as _sfc_main$3 } from "./DropdownMenu-
|
|
4
|
+
import { n as useDevWarning } from "./useDevWarning-B2fsk2B-.js";
|
|
5
|
+
import { t as _sfc_main$3 } from "./DropdownMenu-CXyECszu.js";
|
|
6
6
|
import { n as isNavigableHref } from "./link-DuuA2eCL.js";
|
|
7
7
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeProps, normalizeClass, onMounted, onScopeDispose, onUpdated, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toDisplayString, toRaw, useId, useSlots, useTemplateRef, watch, withCtx } from "vue";
|
|
8
8
|
import "../styles/breadcrumbs.css";
|
package/dist/Button/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as ButtonProps, c as ButtonSizeValue, d as ButtonVariantMap, i as ButtonLinkElement, l as ButtonSlots, n as ButtonElevation, o as ButtonRootElement, r as ButtonEmits, s as ButtonSize, t as ButtonClickAction, u as ButtonVariant } from "../types-
|
|
2
|
-
import { t as _default } from "../index-
|
|
1
|
+
import { a as ButtonProps, c as ButtonSizeValue, d as ButtonVariantMap, i as ButtonLinkElement, l as ButtonSlots, n as ButtonElevation, o as ButtonRootElement, r as ButtonEmits, s as ButtonSize, t as ButtonClickAction, u as ButtonVariant } from "../types-hB0M54I7.js";
|
|
2
|
+
import { t as _default } from "../index-CEHqYyz5.js";
|
|
3
3
|
export { _default as Button, _default as default, type ButtonClickAction, type ButtonElevation, type ButtonEmits, type ButtonLinkElement, type ButtonProps, type ButtonRootElement, type ButtonSize, type ButtonSizeValue, type ButtonSlots, type ButtonVariant, type ButtonVariantMap };
|
package/dist/Button/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { t as usePressFeedback } from "./usePressFeedback-
|
|
1
|
+
import { t as usePressFeedback } from "./usePressFeedback-Dt76SpLj.js";
|
|
2
2
|
import { n as readLayerScoped } from "./scopedProvide-C-Df7c15.js";
|
|
3
|
-
import {
|
|
3
|
+
import { a as provideIconSize, t as _sfc_main$2 } from "./Icon-DAcZMgiJ.js";
|
|
4
|
+
import { r as useInputGroupDisabled } from "./context-Bg7eSJ47.js";
|
|
4
5
|
import { n as isSafeUrl } from "./safeUrl-CsvfcZ9m.js";
|
|
5
6
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
6
7
|
import { i as useSize } from "./SizeContext-BbaF-SEx.js";
|
|
@@ -138,7 +139,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
138
139
|
/** 小、中按钮里的图标是 16px,大按钮是 20px。插槽里没写尺寸的图标跟着走。 */
|
|
139
140
|
provideIconSize(computed(() => effectiveSize.value === "lg" ? "md" : "sm"));
|
|
140
141
|
const isGroupDisabled = computed(() => group?.isDisabled.value ?? false);
|
|
141
|
-
const isLocallyDisabled =
|
|
142
|
+
const isLocallyDisabled = useInputGroupDisabled(() => props.isDisabled || isGroupDisabled.value);
|
|
142
143
|
const action = useButtonAction({
|
|
143
144
|
clickAction: () => props.clickAction,
|
|
144
145
|
emitClick: (event) => emit("click", event),
|
|
@@ -152,7 +153,6 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
152
153
|
const isBusyOnlyDisabled = computed(() => !isTrueDisabled.value && isLoadingState.value && !props.isInterruptible);
|
|
153
154
|
const isButtonDisabled = computed(() => isTrueDisabled.value || isBusyOnlyDisabled.value);
|
|
154
155
|
const hasTooltip = computed(() => (props.tooltip?.trim().length ?? 0) > 0);
|
|
155
|
-
const useAriaDisabled = computed(() => isButtonDisabled.value && (isBusyOnlyDisabled.value || hasTooltip.value));
|
|
156
156
|
const safeHref = computed(() => props.href != null && isSafeUrl(props.href) ? props.href : void 0);
|
|
157
157
|
const renderAsLink = computed(() => props.href != null && !isTrueDisabled.value);
|
|
158
158
|
const rootComponent = computed(() => {
|
|
@@ -161,7 +161,6 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
161
161
|
return toRaw(props.as ?? linkComponent.value ?? "a");
|
|
162
162
|
});
|
|
163
163
|
const isCustomLink = computed(() => renderAsLink.value && safeHref.value != null && rootComponent.value !== "a");
|
|
164
|
-
const nativeDisabled = computed(() => !renderAsLink.value && !useAriaDisabled.value && isButtonDisabled.value);
|
|
165
164
|
const isMounted = ref(false);
|
|
166
165
|
const renderedType = computed(() => isButtonDisabled.value && !isMounted.value && (props.type === "submit" || props.type === "reset") ? "button" : props.type);
|
|
167
166
|
const isLiveRegionReady = ref(!isLoadingState.value);
|
|
@@ -236,7 +235,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
236
235
|
}
|
|
237
236
|
function handleRootKeydown(event) {
|
|
238
237
|
if (event.key === "Escape") buttonTooltip.hideImmediately();
|
|
239
|
-
if (
|
|
238
|
+
if (isButtonDisabled.value && (event.key === "Enter" || event.key === " ")) {
|
|
240
239
|
event.preventDefault();
|
|
241
240
|
return;
|
|
242
241
|
}
|
|
@@ -247,7 +246,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
247
246
|
return openBlock(), createBlock(resolveDynamicComponent(rootComponent.value), mergeProps({ ref: "root" }, getForwardedAttrs(), {
|
|
248
247
|
"aria-busy": isLoadingState.value || void 0,
|
|
249
248
|
"aria-describedby": ariaDescribedBy.value,
|
|
250
|
-
"aria-disabled":
|
|
249
|
+
"aria-disabled": isButtonDisabled.value || void 0,
|
|
251
250
|
"aria-label": ariaLabel.value,
|
|
252
251
|
class: rootClass.value,
|
|
253
252
|
"data-astryx-edge-comp": __props.variant === "ghost" ? "" : void 0,
|
|
@@ -257,10 +256,9 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
257
256
|
"data-icon-only": __props.isIconOnly || void 0,
|
|
258
257
|
"data-size": unref(effectiveSize),
|
|
259
258
|
"data-variant": __props.variant,
|
|
260
|
-
disabled: nativeDisabled.value || void 0,
|
|
261
259
|
form: renderAsLink.value ? void 0 : __props.form,
|
|
262
260
|
href: renderAsLink.value ? safeHref.value : void 0,
|
|
263
|
-
name: renderAsLink.value ? void 0 : __props.name,
|
|
261
|
+
name: renderAsLink.value || isTrueDisabled.value ? void 0 : __props.name,
|
|
264
262
|
rel: renderAsLink.value ? __props.rel : void 0,
|
|
265
263
|
style: rootStyle.value,
|
|
266
264
|
target: renderAsLink.value ? __props.target : void 0,
|
|
@@ -325,7 +323,6 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
325
323
|
"data-icon-only",
|
|
326
324
|
"data-size",
|
|
327
325
|
"data-variant",
|
|
328
|
-
"disabled",
|
|
329
326
|
"form",
|
|
330
327
|
"href",
|
|
331
328
|
"name",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ao as ButtonGroupOrientation, io as ButtonGroupSlots, no as _default, ro as ButtonGroupProps } from "../index-
|
|
1
|
+
import { ao as ButtonGroupOrientation, io as ButtonGroupSlots, no as _default, ro as ButtonGroupProps } from "../index-CCYGMtZy.js";
|
|
2
2
|
export { _default as ButtonGroup, _default as default, type ButtonGroupOrientation, type ButtonGroupProps, type ButtonGroupSlots };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, t as ButtonGroup_default } from "../ButtonGroup-
|
|
1
|
+
import { n as _sfc_main, t as ButtonGroup_default } from "../ButtonGroup-UgiGP61q.js";
|
|
2
2
|
export { _sfc_main as ButtonGroup, ButtonGroup_default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as useSize, r as provideSize } from "./SizeContext-BbaF-SEx.js";
|
|
2
2
|
import { t as buttonGroupContextKey } from "./context-B6UElI5X.js";
|
|
3
3
|
import { t as invokeNativeEventHandler } from "./eventHandlers-DUXzBWZy.js";
|
|
4
|
-
import { t as useListFocus } from "./useListFocus-
|
|
4
|
+
import { t as useListFocus } from "./useListFocus-CbHkLT-X.js";
|
|
5
5
|
import { computed, createElementBlock, defineComponent, mergeProps, openBlock, provide, renderSlot, unref, useAttrs } from "vue";
|
|
6
6
|
import "../styles/button-group.css";
|
|
7
7
|
//#region src/ButtonGroup/ButtonGroup.vue
|
|
@@ -34,7 +34,8 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
34
34
|
itemSelector: "button, a[href], [tabindex]",
|
|
35
35
|
boundarySelector: "[role=\"group\"], [popover]",
|
|
36
36
|
orientation: () => props.orientation,
|
|
37
|
-
hasRovingTabIndex: true
|
|
37
|
+
hasRovingTabIndex: true,
|
|
38
|
+
hasDisabledTabStop: true
|
|
38
39
|
});
|
|
39
40
|
const isDisabled = computed(() => props.isDisabled);
|
|
40
41
|
const size = useSize(() => props.size, "md");
|
package/dist/Calendar/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $a as CalendarProps, Qa as CalendarHandleRef, Xa as CalendarEmits, Ya as _default, Za as CalendarHandle, eo as CalendarRangeValue, to as CalendarSlots } from "../index-
|
|
1
|
+
import { $a as CalendarProps, Qa as CalendarHandleRef, Xa as CalendarEmits, Ya as _default, Za as CalendarHandle, eo as CalendarRangeValue, to as CalendarSlots } from "../index-CCYGMtZy.js";
|
|
2
2
|
export { _default as Calendar, type CalendarEmits, type CalendarHandle, type CalendarHandleRef, type CalendarProps, type CalendarRangeValue, type CalendarSlots };
|
package/dist/Calendar/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Calendar-
|
|
1
|
+
import { t as _sfc_main } from "../Calendar-DjhwshS8.js";
|
|
2
2
|
export { _sfc_main as Calendar };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as _sfc_main$1 } from "./Icon-
|
|
1
|
+
import { t as _sfc_main$1 } from "./Icon-DAcZMgiJ.js";
|
|
2
2
|
import { t as _sfc_main$2 } from "./VisuallyHidden-cpmsV-0M.js";
|
|
3
3
|
import { t as useAnnounce } from "./announce-B210eJVf.js";
|
|
4
4
|
import { c as resolveWeekStart } from "./useDateRange-CIXoE_8k.js";
|
package/dist/Carousel/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Carousel-
|
|
1
|
+
import { t as _sfc_main } from "../Carousel-RN3BV6qj.js";
|
|
2
2
|
export { _sfc_main as Carousel };
|