@astryx-vue/core 0.7.24 → 0.7.26
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-DsPFYRxB.js → AlertDialog-DZpJzvOC.js} +30 -15
- package/dist/AppShell/index.d.ts +1 -1
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell--izaf9Fx.js → AppShell-D7ik41g-.js} +3 -3
- package/dist/Avatar/index.d.ts +1 -1
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-cNntRBEo.js → Avatar-D_C9RBJb.js} +27 -21
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/AvatarGroup/index.js +1 -1
- package/dist/{AvatarGroup-CiJia58o.js → AvatarGroup-CFvNDgU-.js} +17 -7
- package/dist/Badge/index.js +1 -1
- package/dist/Badge-BbPS_49c.js +41 -0
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Banner/index.js +1 -1
- package/dist/{Banner-C8f377q3.js → Banner-C1B7DsHS.js} +3 -3
- package/dist/BottomSheet/index.d.ts +1 -1
- package/dist/BottomSheet/index.js +2 -2
- package/dist/{BottomSheet-BKeyoL9N.js → BottomSheet-BECeWtEy.js} +2 -2
- package/dist/{BottomSheet-CMukh1iI.js → BottomSheet-CgOzQHaA.js} +4 -2
- package/dist/Breadcrumbs/index.d.ts +2 -2
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/{Breadcrumbs-CXJNJ93V.js → Breadcrumbs-BgiZY7un.js} +9 -8
- package/dist/Button/index.d.ts +2 -2
- package/dist/Button/index.js +1 -1
- package/dist/{Button-Dgm5wCch.js → Button-DsjdehLZ.js} +181 -18
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/ButtonGroup/index.js +1 -1
- package/dist/{ButtonGroup-UgiGP61q.js → ButtonGroup-CSW7a9vq.js} +14 -2
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Calendar/index.js +1 -1
- package/dist/{Calendar-d_uOkvFE.js → Calendar-Bzgi-XyF.js} +12 -3
- package/dist/Card/index.d.ts +1 -1
- package/dist/Card/index.js +1 -1
- package/dist/{Card-H4571ZKi.js → Card-BbKFHWuD.js} +2 -0
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-BWTArLIP.js → Carousel--VycM-Sa.js} +64 -19
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-DKZWVA3Q.js → Chat-C1DlnlCQ.js} +30 -28
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-B4pDfjvr.js → CheckboxInput-uk8nuCEf.js} +4 -4
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-DtxfdHRI.js → CheckboxList-Dr4kQ-BC.js} +7 -7
- package/dist/Citation/index.js +1 -1
- package/dist/{Citation-CCu6QWG7.js → Citation-BAFsn6N1.js} +4 -2
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/ClickableCard/index.js +1 -1
- package/dist/{ClickableCard-jEBZbzHE.js → ClickableCard-CvxSKkXh.js} +16 -6
- package/dist/Code/index.d.ts +1 -1
- package/dist/Code/index.js +2 -2
- package/dist/{Code-PDhTfE2w.js → Code-6GS0nAkR.js} +1 -1
- package/dist/{CodeBlock-BrE72i6C.js → CodeBlock-PSnUWX57.js} +21 -10
- package/dist/Collapsible/index.d.ts +1 -1
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-BsPZ8CoN.js → Collapsible-C_tl5-L0.js} +2 -2
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-0Kg-dJg3.js → CommandPalette-lewtyQrO.js} +7 -7
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-BrGVG8c7.js → ComplexSelector-BUnqjeW5.js} +16 -8
- package/dist/ComponentIcon-BRXBBKeG.js +37 -0
- package/dist/ContextMenu/index.d.ts +2 -2
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-CgSIWUYh.js → ContextMenu-IDkvorRp.js} +10 -9
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-vV0tc4a4.js → DateInput-DTxxFz9-.js} +15 -13
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-DcM1Zntr.js → DateRangeInput-D4Us58KW.js} +9 -9
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-DbbVU3bk.js → DateTimeInput-CliLnI7P.js} +10 -10
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Dialog/index.js +3 -3
- package/dist/{Dialog-vPGLWE3o.js → Dialog-B_s-w66_.js} +1 -1
- package/dist/{Dialog-D4V2ZnuS.js → Dialog-BtPktuiy.js} +3 -1
- package/dist/{DialogHeader-D1sgjPC7.js → DialogHeader-Hk419KW1.js} +4 -4
- 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-CaZF_-lH.js → Drawer-DoQ9hjKz.js} +2 -2
- package/dist/DropdownMenu/index.d.ts +2 -2
- package/dist/DropdownMenu/index.js +3 -3
- package/dist/{DropdownMenu-B3R5WLsl.js → DropdownMenu-B2iga1fe.js} +18 -13
- package/dist/{DropdownMenu-BjE_cTDM.js → DropdownMenu-BF2Z5T4h.js} +9 -9
- 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-v1cvHKav.js} +2 -2
- package/dist/Field/index.d.ts +2 -2
- package/dist/Field/index.js +3 -3
- package/dist/{Field-DLg-trP2.js → Field-if5a58LO.js} +2 -2
- package/dist/{FieldIcon-CxTnEb4Y.js → FieldIcon-DMtfe1Ne.js} +1 -1
- package/dist/{FieldInfoTip-D5IOQrVA.js → FieldInfoTip-BJAaKJjM.js} +2 -2
- package/dist/{FieldLabel-D5_Pap_W.js → FieldLabel-C-IaUcP4.js} +3 -3
- package/dist/FieldStatus/index.d.ts +1 -1
- package/dist/FieldStatus/index.js +1 -1
- package/dist/{FieldStatus-D6Vo_dU5.js → FieldStatus-DSUCli4W.js} +1 -1
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-CKYpJtuU.js → FileInput-0zBWfO8h.js} +9 -9
- package/dist/Grid/index.d.ts +1 -1
- package/dist/Grid/index.js +1 -1
- package/dist/{Grid-D1onTzyC.js → Grid-C0mp7fha.js} +1 -1
- package/dist/Heading/index.d.ts +1 -1
- package/dist/Heading/index.js +1 -1
- package/dist/Heading-C10qO8wg.js +114 -0
- package/dist/HoverCard/index.d.ts +1 -1
- package/dist/HoverCard/index.js +1 -1
- package/dist/{HoverCard-B9uadAzT.js → HoverCard-CLcbBLBN.js} +4 -3
- 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-BCHo7W0x.js} +48 -86
- package/dist/IconButton/index.d.ts +1 -1
- package/dist/IconButton/index.js +1 -1
- package/dist/{IconButton-B6AQLlx9.js → IconButton-Crtfruc0.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-DNQy7wqB.js} +3 -3
- package/dist/{InputClearButton-BbFXoxWi.js → InputClearButton-DhvxPkK6.js} +3 -3
- package/dist/InputGroup/index.d.ts +1 -1
- package/dist/InputGroup/index.js +2 -2
- package/dist/{InputGroup-BleRgc6W.js → InputGroup-B1kG0rBN.js} +42 -18
- package/dist/InternationalizationProvider/index.d.ts +1 -1
- package/dist/InternationalizationProvider/index.js +1 -1
- package/dist/{InternationalizationProvider-CWJDt7Qb.js → InternationalizationProvider-CUEIHCf4.js} +3 -3
- package/dist/{Item-X9wgYWoD.js → Item-Cfv4ALls.js} +29 -6
- package/dist/Kbd/index.d.ts +1 -1
- package/dist/Kbd/index.js +1 -1
- package/dist/{Kbd-CV3LO2Ge.js → Kbd-DyxKNYtE.js} +58 -30
- package/dist/Layout/index.js +2 -2
- package/dist/{Layout-mHcy28k7.js → Layout-OHKb6r7D.js} +8 -5
- package/dist/{LayoutPanel-DpbBk6rj.js → LayoutPanel-D-rpTtC-.js} +6 -3
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-DLZzT9un.js → Lightbox-B8uMFPOS.js} +96 -17
- package/dist/Link/index.d.ts +2 -2
- package/dist/Link/index.js +1 -1
- package/dist/{Link-Qhzs2lcO.js → Link-Kc2RQFHc.js} +59 -70
- package/dist/List/index.d.ts +1 -1
- package/dist/List/index.js +2 -2
- package/dist/{ListItem-CertehfW.js → ListItem-2evjQQ7n.js} +2 -2
- package/dist/Markdown/index.js +2 -2
- package/dist/{Markdown-DGTG02tI.js → Markdown-NVkHi_tk.js} +6 -6
- package/dist/{MediaTheme-CnSOALNj.js → MediaTheme-Bt7WBTkq.js} +1 -1
- package/dist/MetadataList/index.js +1 -1
- package/dist/{MetadataList-wOngshS5.js → MetadataList-4GnMi6s9.js} +1 -1
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-C8KAzhRl.js → MobileNavToggle-TMDrnXfG.js} +2 -2
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-B_NLxMJW.js → MoreMenu-CpGEXWCd.js} +10 -10
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-B0TQuJ5d.js → MultiSelector-Baca6xNx.js} +17 -16
- package/dist/{NavDisclosure-BbRWuyhq.js → NavDisclosure-DG4jls5z.js} +1 -1
- package/dist/{NavHeadingSurface-B2HkXx6S.js → NavHeadingSurface-j2gzMVKt.js} +3 -3
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NavItem/index.js +1 -1
- package/dist/{NavItem-DfHMmSsw.js → NavItem-BZLN0U5a.js} +1 -1
- package/dist/NavMenu/index.js +3 -3
- package/dist/{NavMenu-mZVfqNxt.js → NavMenu-t7WN2bcq.js} +1 -1
- package/dist/{NavMenuItem-DkfXIdxs.js → NavMenuItem-DIMQohIa.js} +2 -2
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-DEv4_fDj.js → NumberInput-BBFGZ4Fg.js} +27 -17
- package/dist/Outline/index.js +1 -1
- package/dist/{Outline-Bbu16_MT.js → Outline-BgDOI3ar.js} +3 -3
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-CjIOYKLM.js → OverflowList-D4fC5s_q.js} +3 -3
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-Bcq0T9qo.js → Pagination-Do_MIlo4.js} +16 -4
- package/dist/Popover/index.d.ts +1 -1
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-9Xt2lYdo.js → Popover-Bd93LlDd.js} +7 -7
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-DXz85xcx.js → PowerSearch-DyqItMHo.js} +111 -42
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/ProgressBar/index.js +1 -1
- package/dist/{ProgressBar-Dt5AS0GY.js → ProgressBar-gsm2A_cR.js} +1 -1
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-B2lYTCeV.js → RadioGroup-Dzp4qSgm.js} +5 -5
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioList-CieZtXzY.js → RadioList-CAIgB1j_.js} +1 -1
- package/dist/Resizable/index.d.ts +1 -1
- package/dist/Resizable/index.js +1 -1
- package/dist/{ResizeHandle-uBJj4W1M.js → ResizeHandle-GAmiHb0-.js} +2 -2
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/SegmentedControl/index.js +1 -1
- package/dist/{SegmentedControl-BmDn1avo.js → SegmentedControl-Bs74LlvS.js} +3 -2
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/SelectableCard/index.js +1 -1
- package/dist/{SelectableCard-2a2gsxys.js → SelectableCard-BFCwgtWf.js} +12 -7
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-CgrXQtte.js → Selector-B9lINQRM.js} +15 -13
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-DW4jXGp5.js → SideNav-DzZ12DIq.js} +8 -8
- package/dist/Slider/index.d.ts +1 -1
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-CEhy-D-R.js → Slider-Cuk2ul9w.js} +4 -4
- package/dist/Spinner/index.js +1 -1
- package/dist/{Spinner-CTWLR75x.js → Spinner-ke63bQPv.js} +1 -1
- package/dist/StatusDot/index.js +1 -1
- package/dist/{StatusDot-Bu_nCu0I.js → StatusDot-DF5wK42f.js} +1 -1
- package/dist/Stepper/index.js +1 -1
- package/dist/{Stepper-DVXisudw.js → Stepper-C68f_iJG.js} +3 -3
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-DXShvaDA.js → Switch-bnxiN6Qe.js} +4 -4
- package/dist/TabList/index.d.ts +1 -1
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-Bo4pjQhj.js → TabList-8dlO0Ws6.js} +13 -8
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-Bd8BQ8X_.js → Table-j_DCDbcI.js} +107 -49
- package/dist/Text/index.d.ts +2 -2
- package/dist/Text/index.js +3 -2
- package/dist/{Text-Wk-iDAzh.js → Text-WB-fpFne.js} +38 -29
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-8bifudmD.js → TextArea-Bzz_KcKT.js} +11 -11
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-Bb25yDd0.js → TextInput-givkH9HQ.js} +22 -20
- package/dist/Theme/index.d.ts +2 -2
- package/dist/Theme/index.js +2 -2
- package/dist/{Theme-D7_fQWgb.js → Theme-BQe--DY6.js} +42 -9
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-CYVlnYws.js → Thumbnail-CZOWP5HN.js} +42 -14
- package/dist/{TimeField-dDDrUtI4.js → TimeField-ByoS5s_I.js} +8 -8
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-BvGVUfWy.js → TimeInput-D9kvMQso.js} +7 -5
- package/dist/Timer/index.js +1 -1
- package/dist/{Timer-DL_MPa_h.js → Timer-BD2gSoQ3.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-CJSVY4tS.js → Timestamp-CEdNhKc5.js} +17 -13
- package/dist/Toast/index.js +1 -1
- package/dist/{Toast-cXs5Cbr4.js → Toast-CnZrcU-G.js} +5 -5
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/ToggleButton/index.js +1 -1
- package/dist/{ToggleButton-DFiJDsOV.js → ToggleButton-BMn4yJXe.js} +27 -8
- package/dist/Token/index.js +1 -1
- package/dist/{Token-BJDLztV6.js → Token-DWCDMawn.js} +101 -28
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-yz0873oG.js → Tokenizer-R0eC1BOk.js} +93 -10
- package/dist/Toolbar/index.d.ts +1 -1
- package/dist/Toolbar/index.js +1 -1
- package/dist/{Toolbar-D5UI1JLe.js → Toolbar-BH_E0F0G.js} +4 -1
- package/dist/Tooltip/index.d.ts +1 -1
- package/dist/Tooltip/index.js +2 -2
- package/dist/{Tooltip-BfKegFfq.js → Tooltip-CGHpFMnc.js} +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-CWksqYD8.js → TopNav-DHunql9h.js} +7 -7
- package/dist/TreeList/index.d.ts +1 -1
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-tcEjVfb0.js → TreeList-Dg5gtkOu.js} +24 -17
- package/dist/Typeahead/index.d.ts +1 -1
- package/dist/Typeahead/index.js +2 -2
- package/dist/{Typeahead-ClidGB0O.js → Typeahead-BkmCC6DX.js} +52 -27
- package/dist/{TypeaheadMenu-Bu9HO-wZ.js → TypeaheadMenu-CFeJCv-6.js} +1 -1
- package/dist/componentIcons-CFr2L6o3.js +106 -0
- package/dist/composables/index.d.ts +2 -2
- package/dist/composables/index.js +13 -11
- package/dist/{composables-BWDrzi3J.js → composables-DqJzanJ5.js} +5 -24
- package/dist/context-Bg7eSJ47.js +17 -0
- package/dist/{context-BLSiTojH.js → context-CV6TrhJY.js} +57 -3
- package/dist/context-CZP3jfy-.js +125 -0
- package/dist/{context-Bv6lAoqu.js → context-CjX2RSDn.js} +14 -2
- package/dist/devBuild-G249YcdZ.js +17 -0
- package/dist/{fieldParts--SyRZVQG.js → fieldParts-CDOlBdy6.js} +2 -2
- package/dist/{index-CM8KfpBL.d.ts → index--uIQXVJ7.d.ts} +2 -2
- package/dist/{index-CL8JvxHW.d.ts → index-B3yTdknp.d.ts} +1 -1
- package/dist/{index-rszZajcw.d.ts → index-B449gOMC.d.ts} +2 -2
- package/dist/{index-B3PTchxx.d.ts → index-B7brdDVR.d.ts} +5 -5
- package/dist/{index-BO9TY87G.d.ts → index-BOCb89V9.d.ts} +3 -3
- package/dist/{index-Gnewu6-J.d.ts → index-BPyRH3WL.d.ts} +1 -1
- package/dist/{index-DEQ5cnUV.d.ts → index-BTljzczH.d.ts} +4 -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-D_K1wfRa.d.ts → index-BfSZhAVv.d.ts} +2 -2
- package/dist/{index-CFm1rPma.d.ts → index-BjbPK91B.d.ts} +1 -1
- package/dist/{index-C3f1zsJR.d.ts → index-BngdKVro.d.ts} +1 -1
- package/dist/{index-RW8kvEwf.d.ts → index-BnqDF_AX.d.ts} +11 -6
- package/dist/{index-Be7N3B5F.d.ts → index-BqEPgwku.d.ts} +2 -2
- package/dist/{index-DxxudRgB.d.ts → index-C16d2Fc4.d.ts} +1 -1
- package/dist/{index-D97pQbua.d.ts → index-C89cIh4E.d.ts} +3 -5
- package/dist/{index-D05JGsT3.d.ts → index-C8wfe0Mr.d.ts} +1 -1
- package/dist/{index-IvAfdGCC.d.ts → index-CAoenU4T.d.ts} +1 -1
- package/dist/{index-BaxM-pFP.d.ts → index-CM2L3SUw.d.ts} +6 -4
- package/dist/{index-Bgk1Rj2A.d.ts → index-CTjkJP4x.d.ts} +1 -1
- package/dist/{index-Bo-ofFyg.d.ts → index-CbNLiaWw.d.ts} +2 -2
- package/dist/{index-YKCx03zD.d.ts → index-CdvmnNMH.d.ts} +1 -1
- package/dist/{index-BMCjAlq6.d.ts → index-CfPGC9aW.d.ts} +1 -1
- package/dist/index-CtYlR9Cu.d.ts +46 -0
- package/dist/{index--tm6L1ot.d.ts → index-Cun6cXGP.d.ts} +1 -1
- package/dist/{index-C9gAlDt_.d.ts → index-CvquEEGw.d.ts} +8 -2
- package/dist/{index-QWh122EV.d.ts → index-D57GW53K.d.ts} +1 -1
- package/dist/{index-DX4HQToB.d.ts → index-D6pP-H_N.d.ts} +1 -1
- package/dist/{index-dcT6zeY_.d.ts → index-DCU6dy7n.d.ts} +25 -5
- package/dist/{index-DqaYENaT.d.ts → index-DFDadgys.d.ts} +68 -68
- package/dist/{index-DEm3kRBO.d.ts → index-DN1RqxjP.d.ts} +1 -1
- package/dist/{index-BzZC2Y7c.d.ts → index-DTfA4uE3.d.ts} +1 -1
- package/dist/{index-BZchpRgm.d.ts → index-DZKv1WNB.d.ts} +2 -2
- 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-O9y23OPJ.d.ts → index-DneQgJfI.d.ts} +1 -1
- package/dist/{index-Dj1_1t3j.d.ts → index-IFFGXlhq.d.ts} +1 -1
- package/dist/{index-DaXzQxos.d.ts → index-MEix_m1o.d.ts} +2 -2
- package/dist/{index-B1eCxBCY.d.ts → index-TXcNH86P.d.ts} +1 -1
- package/dist/{index-D21zdEgS.d.ts → index-Uh-ddE5F.d.ts} +1 -1
- package/dist/{index-BtrAhmSP.d.ts → index-fuztfDLA.d.ts} +10 -6
- package/dist/{index-BRXgpLcd.d.ts → index-mJ_aqK5M.d.ts} +3 -3
- package/dist/{index-3t5RAfNP.d.ts → index-mkbGYz8f.d.ts} +2 -2
- package/dist/{index-BEZ4ezJk.d.ts → index-wY6dKz6c.d.ts} +2 -2
- package/dist/{index-Dacg7XTH.d.ts → index-wkeCkhTi.d.ts} +16 -6
- package/dist/index.d.ts +53 -53
- package/dist/index.js +134 -130
- package/dist/layerSurfacePress-C3PjPpJP.js +29 -0
- package/dist/{loadCatalog-85MyL2bm.js → loadCatalog-Bulk4H7U.js} +2 -2
- package/dist/{loadCatalog-DSRSkHnY.d.ts → loadCatalog-D_uf2uX1.d.ts} +36 -0
- package/dist/locale/index.d.ts +2 -2
- package/dist/locale/index.js +4 -4
- package/dist/{locale-C7RSY-JG.js → locale-BA52q_fh.js} +1 -1
- package/dist/pressFeedback-Bwwpex9q.js +578 -0
- package/dist/{registry-C7OZb0PJ.js → registry-fNY3jasS.js} +23 -4
- package/dist/{searchResultMessage-T4H3r8Vz.js → searchResultMessage-CFmIy2Da.js} +2 -2
- package/dist/semantic-CXHSMwPK.d.ts +118 -0
- package/dist/{sharedResizeObserver-9EFWnSWH.js → sharedResizeObserver-BekhnB3E.js} +5 -1
- package/dist/slotContent-CNWOrGOr.js +14 -0
- package/dist/{slug-DAK6hdbr.js → slug-D6ln5PTq.js} +3 -1
- package/dist/strayClick-CY-_ImKv.js +60 -0
- package/dist/textClampContext-o3-nLErq.js +15 -0
- package/dist/textDirection-D4ObTwbB.js +32 -0
- package/dist/themeIcons-CqGF0fwW.js +128 -0
- package/dist/tooltipTriggerRules-Bg4tG8w2.js +53 -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/unicodeRegExp-B7yQnpFC.js +14 -0
- package/dist/{upstreamMap-CZUPxbc9.js → upstreamMap-DrkVNtXW.js} +2 -0
- package/dist/useActionGroupTracking-BncJjk1A.js +131 -0
- package/dist/{useAnchoredListbox-6t5zSSz1.js → useAnchoredListbox-9Gn8asBR.js} +3 -2
- package/dist/useCoarsePointer-GItEMrjX.js +21 -0
- package/dist/{useDevWarning-DznOpOHT.js → useDevWarning-B2fsk2B-.js} +1 -4
- package/dist/{usePositionedLayer-psKf3ano.js → useDismiss-0-Z-9D0A.js} +52 -52
- package/dist/{useFileSelection-BPtaegqK.js → useFileSelection-B44UpbvF.js} +14 -4
- package/dist/{useIndicator-BvF_KY9S.js → useIndicator--9mGGlT2.js} +2 -2
- package/dist/{useInputContainer-CLcYrby4.js → useInputContainer-BpLtCA-U.js} +1 -1
- package/dist/{useInputStatusIcon-BSVFtRQG.js → useInputStatusIcon-DCnx00BM.js} +2 -2
- package/dist/{useLayer-Byjda3dD.js → useLayer-CED-g4Q2.js} +1 -1
- package/dist/{useMenuDrillIn-C36Z89W3.js → useMenuDrillIn-C5eJCuO1.js} +2 -2
- package/dist/{useMenuPress-8foxY8z4.js → useMenuPress-BLPwY_m1.js} +2 -59
- package/dist/usePressFeedback-Bcjsw9vv.js +49 -0
- package/dist/{useTooltip-BKsCTWdb.js → useTooltip-D8Tq7-yd.js} +36 -22
- package/dist/{useTranslator-BDUOzbP_.js → useTranslator-Q85hi4qz.js} +2 -2
- package/dist/useTruncation-C4pdlaXa.js +135 -0
- package/dist/useTruncationTooltip-BNk2xslw.js +106 -0
- package/dist/utils/index.js +1 -1
- package/dist/{utils-ClVseK2w.js → utils-BTkg5Ie9.js} +7 -2
- package/locales/en.json +8 -0
- package/package.json +1 -1
- package/styles/alert-dialog.css +19 -0
- package/styles/avatar.css +18 -3
- package/styles/badge.css +20 -2
- package/styles/banner.css +6 -0
- package/styles/button-group.css +38 -2
- package/styles/button.css +76 -4
- package/styles/calendar.css +34 -0
- package/styles/carousel.css +19 -11
- package/styles/chat.css +2 -0
- package/styles/checkbox-indicator.css +9 -9
- package/styles/checkbox-input.css +4 -1
- package/styles/citation.css +2 -1
- package/styles/clickable-card.css +19 -5
- package/styles/code.css +6 -0
- package/styles/context-menu.css +11 -0
- package/styles/dialog-header.css +2 -0
- package/styles/dialog.css +7 -0
- package/styles/dropdown-menu.css +11 -0
- package/styles/field.css +2 -0
- package/styles/heading.css +4 -0
- package/styles/hover-card.css +2 -0
- package/styles/icon.css +18 -12
- package/styles/input-group.css +1 -0
- package/styles/kbd.css +2 -0
- package/styles/layer.css +2 -0
- package/styles/lightbox.css +78 -0
- package/styles/link.css +25 -1
- package/styles/list.css +10 -1
- package/styles/metadata-list.css +1 -1
- package/styles/more-menu.css +6 -0
- package/styles/popover.css +7 -0
- package/styles/pressable.css +7 -0
- package/styles/radio-indicator.css +21 -4
- package/styles/slider.css +2 -0
- package/styles/switch.css +2 -1
- package/styles/table.css +25 -1
- package/styles/text.css +8 -0
- package/styles/thumbnail.css +25 -0
- package/styles/toast.css +2 -0
- package/styles/toggle-button.css +17 -0
- package/styles/token.css +14 -9
- package/styles/toolbar.css +19 -0
- package/dist/Badge-CjDQPF5g.js +0 -30
- package/dist/Heading-D0zL1j5T.js +0 -99
- package/dist/context-B6UElI5X.js +0 -5
- package/dist/context-Cws_tXTr.js +0 -7
- package/dist/context-IvbU9c3T.js +0 -8
- package/dist/index-LySSG_PR.d.ts +0 -27
- 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/useTruncation-C02rA1-c.js +0 -102
- package/dist/{useRestoreFocus-XEKs5-gp.js → useRestoreFocus-CEG0n2AK.js} +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-DZpJzvOC.js";
|
|
2
2
|
export { _sfc_main as AlertDialog, useImperativeAlertDialog };
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { i as pressGroupItemProps } from "./context-CZP3jfy-.js";
|
|
2
|
+
import { t as useActionGroupTracking } from "./useActionGroupTracking-BncJjk1A.js";
|
|
3
|
+
import { t as _sfc_main$1 } from "./Button-DsjdehLZ.js";
|
|
4
|
+
import { t as useCoarsePointer } from "./useCoarsePointer-GItEMrjX.js";
|
|
2
5
|
import { t as useMediaQuery } from "./useMediaQuery-GMmgp28-.js";
|
|
3
|
-
import { t as _sfc_main$2 } from "./Dialog-
|
|
4
|
-
import { t as _sfc_main$3 } from "./Heading-
|
|
6
|
+
import { t as _sfc_main$2 } from "./Dialog-BtPktuiy.js";
|
|
7
|
+
import { t as _sfc_main$3 } from "./Heading-C10qO8wg.js";
|
|
5
8
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
6
9
|
import { t as _sfc_main$4 } from "./Stack-DPB-Ztf7.js";
|
|
7
|
-
import { t as _sfc_main$5 } from "./Text-
|
|
8
|
-
import { Fragment, computed, createBlock, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, h, mergeProps,
|
|
10
|
+
import { t as _sfc_main$5 } from "./Text-WB-fpFne.js";
|
|
11
|
+
import { Fragment, computed, createBlock, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, h, mergeProps, onMounted, openBlock, provide, ref, renderList, renderSlot, shallowRef, toDisplayString, unref, useId, useTemplateRef, withCtx } from "vue";
|
|
9
12
|
import "../styles/alert-dialog.css";
|
|
10
13
|
//#region src/AlertDialog/context.ts
|
|
11
14
|
const ALERT_DIALOG_CONTEXT_KEY = Symbol("astryx-alert-dialog");
|
|
@@ -15,7 +18,7 @@ const _hoisted_1 = {
|
|
|
15
18
|
ref: "content",
|
|
16
19
|
class: "astryx-alert-dialog__content"
|
|
17
20
|
};
|
|
18
|
-
const _hoisted_2 =
|
|
21
|
+
const _hoisted_2 = ["data-press-tracking"];
|
|
19
22
|
/**
|
|
20
23
|
* Order is part of the contract, not just the visual: on a narrow screen the
|
|
21
24
|
* destructive action sits above Cancel so visual, DOM, and tab order agree,
|
|
@@ -98,6 +101,14 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
98
101
|
};
|
|
99
102
|
return isSmallScreen.value ? [confirm, cancel] : [cancel, confirm];
|
|
100
103
|
});
|
|
104
|
+
/**
|
|
105
|
+
* 触屏为主的设备上,两个按钮像系统弹窗一样跟踪手指和笔:按下的那个立刻高亮,滑到另一个上高亮跟过去,
|
|
106
|
+
* 松手时执行手指下的那个,在按钮外松手什么都不执行。鼠标按下还是原生按钮的行为。
|
|
107
|
+
*/
|
|
108
|
+
const footer = useTemplateRef("footer");
|
|
109
|
+
const tracksPress = useCoarsePointer();
|
|
110
|
+
useActionGroupTracking(footer, { isEnabled: tracksPress });
|
|
111
|
+
const actionTrackingProps = computed(() => tracksPress.value ? pressGroupItemProps() : void 0);
|
|
101
112
|
const dialogRole = computed(() => props.isInline ? "group" : "alertdialog");
|
|
102
113
|
const layout = computed(() => isSmallScreen.value ? "stacked" : "row");
|
|
103
114
|
return (_ctx, _cache) => {
|
|
@@ -118,7 +129,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
118
129
|
}), {
|
|
119
130
|
default: withCtx(() => [createElementVNode("div", _hoisted_1, [createVNode(_sfc_main$3, {
|
|
120
131
|
id: titleId,
|
|
121
|
-
class: "astryx-alert-dialog__title",
|
|
132
|
+
class: "astryx-alert-dialog__title astryx-alert-dialog-title",
|
|
122
133
|
level: 2
|
|
123
134
|
}, {
|
|
124
135
|
default: withCtx(() => [renderSlot(_ctx.$slots, "title", {}, () => [createTextVNode(toDisplayString(__props.title), 1)])]),
|
|
@@ -126,13 +137,18 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
126
137
|
}), createVNode(_sfc_main$5, {
|
|
127
138
|
id: descriptionId,
|
|
128
139
|
as: "div",
|
|
129
|
-
class: "astryx-alert-dialog__description",
|
|
140
|
+
class: "astryx-alert-dialog__description astryx-alert-dialog-description",
|
|
130
141
|
color: "secondary",
|
|
131
142
|
type: "body"
|
|
132
143
|
}, {
|
|
133
144
|
default: withCtx(() => [renderSlot(_ctx.$slots, "description", {}, () => [createTextVNode(toDisplayString(__props.description), 1)])]),
|
|
134
145
|
_: 3
|
|
135
|
-
})], 512), createElementVNode("div",
|
|
146
|
+
})], 512), createElementVNode("div", {
|
|
147
|
+
ref_key: "footer",
|
|
148
|
+
ref: footer,
|
|
149
|
+
class: "astryx-alert-dialog__footer",
|
|
150
|
+
"data-press-tracking": unref(tracksPress) || void 0
|
|
151
|
+
}, [createVNode(_sfc_main$4, {
|
|
136
152
|
class: "astryx-alert-dialog__actions",
|
|
137
153
|
direction: unref(isSmallScreen) ? "vertical" : "horizontal",
|
|
138
154
|
gap: 2,
|
|
@@ -140,15 +156,14 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
140
156
|
wrap: unref(isSmallScreen) ? "nowrap" : "wrap"
|
|
141
157
|
}, {
|
|
142
158
|
default: withCtx(() => [renderSlot(_ctx.$slots, "actions"), (openBlock(true), createElementBlock(Fragment, null, renderList(actions.value, (action) => {
|
|
143
|
-
return openBlock(), createBlock(_sfc_main$1, {
|
|
159
|
+
return openBlock(), createBlock(_sfc_main$1, mergeProps({
|
|
144
160
|
key: action.key,
|
|
145
|
-
class:
|
|
161
|
+
class: action.className,
|
|
146
162
|
"data-autofocus": action.autofocus,
|
|
147
163
|
"is-loading": action.isLoading,
|
|
148
164
|
label: action.label,
|
|
149
|
-
variant: action.variant
|
|
150
|
-
|
|
151
|
-
}, null, 8, [
|
|
165
|
+
variant: action.variant
|
|
166
|
+
}, { ref_for: true }, actionTrackingProps.value, { onClick: ($event) => action.onClick($event) }), null, 16, [
|
|
152
167
|
"class",
|
|
153
168
|
"data-autofocus",
|
|
154
169
|
"is-loading",
|
|
@@ -162,7 +177,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
162
177
|
"direction",
|
|
163
178
|
"h-align",
|
|
164
179
|
"wrap"
|
|
165
|
-
])])]),
|
|
180
|
+
])], 8, _hoisted_2)]),
|
|
166
181
|
_: 3
|
|
167
182
|
}, 16, [
|
|
168
183
|
"data-layout",
|
package/dist/AppShell/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as AppShellMobileNav, c as AppShellVariant, i as AppShellHeight, n as AppShellBreakpoint, o as AppShellProps, r as AppShellEmits, s as AppShellSlots, t as _default } from "../index-
|
|
1
|
+
import { a as AppShellMobileNav, c as AppShellVariant, i as AppShellHeight, n as AppShellBreakpoint, o as AppShellProps, r as AppShellEmits, s as AppShellSlots, t as _default } from "../index-TXcNH86P.js";
|
|
2
2
|
export { _default as AppShell, type AppShellBreakpoint, type AppShellEmits, type AppShellHeight, type AppShellMobileNav, type AppShellProps, type AppShellSlots, type AppShellVariant };
|
package/dist/AppShell/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../AppShell
|
|
1
|
+
import { t as _sfc_main } from "../AppShell-D7ik41g-.js";
|
|
2
2
|
export { _sfc_main as AppShell };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as appShellMobileKey } from "./useAppShellMobile-DTsyuAJ4.js";
|
|
2
|
-
import { s as useAstryxMessages } from "./context-
|
|
3
|
-
import { a as _sfc_main$2, n as _sfc_main$4, r as _sfc_main$3, t as _sfc_main$5 } from "./LayoutPanel-
|
|
4
|
-
import { n as _sfc_main$7, t as _sfc_main$6 } from "./MobileNavToggle-
|
|
2
|
+
import { s as useAstryxMessages } from "./context-CV6TrhJY.js";
|
|
3
|
+
import { a as _sfc_main$2, n as _sfc_main$4, r as _sfc_main$3, t as _sfc_main$5 } from "./LayoutPanel-D-rpTtC-.js";
|
|
4
|
+
import { n as _sfc_main$7, t as _sfc_main$6 } from "./MobileNavToggle-TMDrnXfG.js";
|
|
5
5
|
import { r as sideNavRenderModeKey } from "./context-ZsDEkhSF.js";
|
|
6
6
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, mergeModels, mergeProps, openBlock, provide, reactive, ref, renderSlot, toDisplayString, unref, useAttrs, useId, useModel, useSlots, useTemplateRef, watch, withCtx } from "vue";
|
|
7
7
|
import "../styles/app-shell.css";
|
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-D_C9RBJb.js";
|
|
2
2
|
export { _sfc_main as Avatar, _sfc_main$1 as AvatarStatusDot };
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import { t as hasSlotContent } from "./slotContent-CNWOrGOr.js";
|
|
1
2
|
import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
|
|
2
3
|
import { n as isSafeUrl } from "./safeUrl-CsvfcZ9m.js";
|
|
3
4
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
4
|
-
import { n as useDevWarning } from "./useDevWarning-
|
|
5
|
-
import { s as useAstryxMessages } from "./context-
|
|
6
|
-
import { t as _sfc_main$2 } from "./Tooltip-
|
|
7
|
-
import { a as
|
|
5
|
+
import { n as useDevWarning } from "./useDevWarning-B2fsk2B-.js";
|
|
6
|
+
import { s as useAstryxMessages } from "./context-CV6TrhJY.js";
|
|
7
|
+
import { t as _sfc_main$2 } from "./Tooltip-CGHpFMnc.js";
|
|
8
|
+
import { a as resolveStatusDotMetrics, i as resolveSize, n as cssString, o as resolveStatusDotVariant, r as getInitials, s as AvatarGroupContext, t as composeAccessibleName } from "./utils-BTkg5Ie9.js";
|
|
8
9
|
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
10
|
import "../styles/avatar.css";
|
|
10
11
|
//#region src/Avatar/context.ts
|
|
@@ -32,16 +33,14 @@ const AvatarStatusLabelContext = Symbol("AvatarStatusLabelContext");
|
|
|
32
33
|
const _hoisted_1$1 = { class: "astryx-avatar__content" };
|
|
33
34
|
const _hoisted_2$1 = ["src"];
|
|
34
35
|
const _hoisted_3$1 = ["src"];
|
|
35
|
-
const _hoisted_4$1 =
|
|
36
|
-
const _hoisted_5 = {
|
|
36
|
+
const _hoisted_4$1 = {
|
|
37
37
|
key: 0,
|
|
38
38
|
class: "astryx-avatar__status"
|
|
39
39
|
};
|
|
40
|
-
const
|
|
40
|
+
const _hoisted_5 = { class: "astryx-avatar__content" };
|
|
41
|
+
const _hoisted_6 = ["src"];
|
|
41
42
|
const _hoisted_7 = ["src"];
|
|
42
|
-
const _hoisted_8 =
|
|
43
|
-
const _hoisted_9 = ["data-initials"];
|
|
44
|
-
const _hoisted_10 = {
|
|
43
|
+
const _hoisted_8 = {
|
|
45
44
|
key: 0,
|
|
46
45
|
class: "astryx-avatar__status"
|
|
47
46
|
};
|
|
@@ -96,6 +95,15 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
96
95
|
return typeof props.alt === "string" && props.alt.trim() !== "" ? props.alt.trim() : void 0;
|
|
97
96
|
});
|
|
98
97
|
const initials = computed(() => meaningfulName.value ? getInitials(meaningfulName.value) : "");
|
|
98
|
+
/**
|
|
99
|
+
* 首字母由 `::before` 生成内容画出,属于头像这张「图」,不算控件的文字:
|
|
100
|
+
* 链接或按钮头像的可见文字若不在名字里,会违反 Label in Name。
|
|
101
|
+
* 首字母以 CSS 字符串写进私有的行内自定义属性,不暴露公开的 data 属性。
|
|
102
|
+
*/
|
|
103
|
+
const initialsStyle = computed(() => ({
|
|
104
|
+
"fontSize": `${numericSize.value * INITIALS_FONT_SIZE_RATIO}px`,
|
|
105
|
+
"--_avatar-initials": cssString(initials.value)
|
|
106
|
+
}));
|
|
99
107
|
const showInitials = computed(() => !showImage.value && !showFallbackImage.value && initials.value !== "");
|
|
100
108
|
const showIcon = computed(() => !showImage.value && !showFallbackImage.value && initials.value === "");
|
|
101
109
|
const messages = useAstryxMessages();
|
|
@@ -203,9 +211,8 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
203
211
|
}, null, 40, _hoisted_3$1)) : showInitials.value ? (openBlock(), createElementBlock("span", {
|
|
204
212
|
key: 2,
|
|
205
213
|
class: "astryx-avatar__fallback astryx-avatar__fallback--initials",
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
}, null, 12, _hoisted_4$1)) : showIcon.value ? (openBlock(), createElementBlock("span", {
|
|
214
|
+
style: normalizeStyle(initialsStyle.value)
|
|
215
|
+
}, null, 4)) : showIcon.value ? (openBlock(), createElementBlock("span", {
|
|
209
216
|
key: 3,
|
|
210
217
|
class: "astryx-avatar__fallback astryx-avatar__fallback--icon",
|
|
211
218
|
style: normalizeStyle({ fontSize: `${numericSize.value * DEFAULT_ICON_RATIO}px` })
|
|
@@ -213,7 +220,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
213
220
|
viewBox: "0 0 24 24",
|
|
214
221
|
fill: "currentColor",
|
|
215
222
|
"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",
|
|
223
|
+
}, [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)]), unref(hasSlotContent)(_ctx.$slots.status) ? (openBlock(), createElementBlock("span", _hoisted_4$1, [renderSlot(_ctx.$slots, "status")])) : createCommentVNode("v-if", true)]),
|
|
217
224
|
_: 3
|
|
218
225
|
}, 16, [
|
|
219
226
|
"class",
|
|
@@ -234,24 +241,23 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
234
241
|
"data-shape": resolvedShape.value,
|
|
235
242
|
"data-avatar-item": isInteractive.value ? "" : void 0
|
|
236
243
|
}, rootBindings.value), {
|
|
237
|
-
default: withCtx(() => [createElementVNode("span",
|
|
244
|
+
default: withCtx(() => [createElementVNode("span", _hoisted_5, [showImage.value ? (openBlock(), createElementBlock("img", {
|
|
238
245
|
key: 0,
|
|
239
246
|
class: "astryx-avatar__image",
|
|
240
247
|
src: __props.src,
|
|
241
248
|
alt: "",
|
|
242
249
|
onError: handleImageError
|
|
243
|
-
}, null, 40,
|
|
250
|
+
}, null, 40, _hoisted_6)) : showFallbackImage.value ? (openBlock(), createElementBlock("img", {
|
|
244
251
|
key: 1,
|
|
245
252
|
class: "astryx-avatar__image",
|
|
246
253
|
src: __props.fallbackSrc,
|
|
247
254
|
alt: "",
|
|
248
255
|
onError: handleFallbackError
|
|
249
|
-
}, null, 40,
|
|
256
|
+
}, null, 40, _hoisted_7)) : showInitials.value ? (openBlock(), createElementBlock("span", {
|
|
250
257
|
key: 2,
|
|
251
258
|
class: "astryx-avatar__fallback astryx-avatar__fallback--initials",
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
}, null, 12, _hoisted_9)) : showIcon.value ? (openBlock(), createElementBlock("span", {
|
|
259
|
+
style: normalizeStyle(initialsStyle.value)
|
|
260
|
+
}, null, 4)) : showIcon.value ? (openBlock(), createElementBlock("span", {
|
|
255
261
|
key: 3,
|
|
256
262
|
class: "astryx-avatar__fallback astryx-avatar__fallback--icon",
|
|
257
263
|
style: normalizeStyle({ fontSize: `${numericSize.value * DEFAULT_ICON_RATIO}px` })
|
|
@@ -259,7 +265,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
259
265
|
viewBox: "0 0 24 24",
|
|
260
266
|
fill: "currentColor",
|
|
261
267
|
"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",
|
|
268
|
+
}, [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)]), unref(hasSlotContent)(_ctx.$slots.status) ? (openBlock(), createElementBlock("span", _hoisted_8, [renderSlot(_ctx.$slots, "status")])) : createCommentVNode("v-if", true)]),
|
|
263
269
|
_: 3
|
|
264
270
|
}, 16, [
|
|
265
271
|
"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-DFDadgys.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-CFvNDgU-.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-Bcjsw9vv.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
|
-
import { s as useAstryxMessages } from "./context-
|
|
4
|
+
import { s as useAstryxMessages } from "./context-CV6TrhJY.js";
|
|
5
5
|
import { t as useListFocus } from "./useListFocus-CbHkLT-X.js";
|
|
6
|
-
import {
|
|
6
|
+
import { i as resolveSize, s as AvatarGroupContext } from "./utils-BTkg5Ie9.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-BbPS_49c.js";
|
|
2
2
|
export { _sfc_main as Badge };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { t as textDirection } from "./textDirection-D4ObTwbB.js";
|
|
2
|
+
import { computed, createElementBlock, createElementVNode, createTextVNode, defineComponent, normalizeClass, openBlock, renderSlot, toDisplayString, unref, useSlots } from "vue";
|
|
3
|
+
import "../styles/badge.css";
|
|
4
|
+
//#region src/Badge/Badge.vue
|
|
5
|
+
const _hoisted_1 = ["data-variant", "title"];
|
|
6
|
+
const _hoisted_2 = ["dir"];
|
|
7
|
+
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
8
|
+
name: "Badge",
|
|
9
|
+
__name: "Badge",
|
|
10
|
+
props: {
|
|
11
|
+
variant: { default: "neutral" },
|
|
12
|
+
label: {}
|
|
13
|
+
},
|
|
14
|
+
setup(__props) {
|
|
15
|
+
const props = __props;
|
|
16
|
+
const slots = useSlots();
|
|
17
|
+
const labelTitle = computed(() => {
|
|
18
|
+
const label = props.label;
|
|
19
|
+
if (typeof label === "number") return String(label);
|
|
20
|
+
if (typeof label === "string" && label.length > 0) return label;
|
|
21
|
+
});
|
|
22
|
+
/** 有文字的徽章才跟着文字长高;只有颜色的徽章没有文字要装,尺寸不变。 */
|
|
23
|
+
const hasLabel = computed(() => {
|
|
24
|
+
if (slots.default != null) return true;
|
|
25
|
+
const label = props.label;
|
|
26
|
+
return label != null && label !== "";
|
|
27
|
+
});
|
|
28
|
+
return (_ctx, _cache) => {
|
|
29
|
+
return openBlock(), createElementBlock("span", {
|
|
30
|
+
class: normalizeClass(["astryx-badge", { "astryx-badge--has-label": hasLabel.value }]),
|
|
31
|
+
"data-variant": __props.variant,
|
|
32
|
+
title: labelTitle.value
|
|
33
|
+
}, [renderSlot(_ctx.$slots, "icon"), createElementVNode("span", {
|
|
34
|
+
class: "astryx-badge__label",
|
|
35
|
+
dir: _ctx.$slots.default ? void 0 : unref(textDirection)(__props.label)
|
|
36
|
+
}, [renderSlot(_ctx.$slots, "default", {}, () => [createTextVNode(toDisplayString(__props.label), 1)])], 8, _hoisted_2)], 10, _hoisted_1);
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
//#endregion
|
|
41
|
+
export { _sfc_main as t };
|
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-DFDadgys.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-C1B7DsHS.js";
|
|
2
2
|
export { _sfc_main as Banner };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as _sfc_main$1 } from "./FieldIcon-CxTnEb4Y.js";
|
|
2
|
-
import { t as _sfc_main$2 } from "./IconButton-B6AQLlx9.js";
|
|
3
|
-
import { s as useAstryxMessages } from "./context-BLSiTojH.js";
|
|
4
1
|
import { t as isRenderable } from "./isRenderable-BnKHIqfd.js";
|
|
2
|
+
import { t as _sfc_main$1 } from "./FieldIcon-DMtfe1Ne.js";
|
|
3
|
+
import { t as _sfc_main$2 } from "./IconButton-Crtfruc0.js";
|
|
4
|
+
import { s as useAstryxMessages } from "./context-CV6TrhJY.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";
|
|
6
6
|
import "../styles/banner.css";
|
|
7
7
|
import "../styles/field.css";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as BottomSheetMotion, c as BottomSheetPurpose, d as BottomSheetState, i as BottomSheetHeight, l as BottomSheetSlots, n as _default, o as BottomSheetPadding, r as BottomSheetEmits, s as BottomSheetProps, t as _default$1, u as BottomSheetSnapPoint } from "../index-
|
|
1
|
+
import { a as BottomSheetMotion, c as BottomSheetPurpose, d as BottomSheetState, i as BottomSheetHeight, l as BottomSheetSlots, n as _default, o as BottomSheetPadding, r as BottomSheetEmits, s as BottomSheetProps, t as _default$1, u as BottomSheetSnapPoint } from "../index-BOCb89V9.js";
|
|
2
2
|
export { _default as BottomSheet, type BottomSheetEmits, type BottomSheetHeight, type BottomSheetMotion, type BottomSheetPadding, type BottomSheetProps, type BottomSheetPurpose, type BottomSheetSlots, type BottomSheetSnapPoint, type BottomSheetState, _default$1 as BottomSheetSwitcher };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as _sfc_main } from "../BottomSheet-
|
|
2
|
-
import { t as _sfc_main$1 } from "../BottomSheet-
|
|
1
|
+
import { n as _sfc_main } from "../BottomSheet-CgOzQHaA.js";
|
|
2
|
+
import { t as _sfc_main$1 } from "../BottomSheet-BECeWtEy.js";
|
|
3
3
|
export { _sfc_main as BottomSheet, _sfc_main$1 as BottomSheetSwitcher };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as bottomSheetSwitcherKey, r as useSheetLayerDismiss } from "./BottomSheet-
|
|
1
|
+
import { i as bottomSheetSwitcherKey, r as useSheetLayerDismiss } from "./BottomSheet-CgOzQHaA.js";
|
|
2
2
|
import { a as isImeKeyEvent } from "./layerDepth-CNDh-IHb.js";
|
|
3
|
-
import { n as useFocusTrap } from "./useRestoreFocus-
|
|
3
|
+
import { n as useFocusTrap } from "./useRestoreFocus-CEG0n2AK.js";
|
|
4
4
|
import { t as useScrollLock } from "./scrollLock-C3aT4-0z.js";
|
|
5
5
|
import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, defineComponent, mergeModels, mergeProps, nextTick, onBeforeUnmount, onMounted, openBlock, provide, ref, renderSlot, shallowRef, useModel, useTemplateRef, watch } from "vue";
|
|
6
6
|
import "../styles/bottom-sheet.css";
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { r as resetLayerScopedContext } from "./scopedProvide-C-Df7c15.js";
|
|
2
2
|
import { a as isImeKeyEvent, i as pushLayer, n as useLayerDepth, r as isTopLayer, t as provideLayerDepth } from "./layerDepth-CNDh-IHb.js";
|
|
3
|
-
import { n as useFocusTrap, r as focusForLastInput, t as useRestoreFocus } from "./useRestoreFocus-
|
|
3
|
+
import { n as useFocusTrap, r as focusForLastInput, t as useRestoreFocus } from "./useRestoreFocus-CEG0n2AK.js";
|
|
4
4
|
import { t as attachScrollKeyboardDelegation } from "./scrollKeyboardDelegation-D7cumnOl.js";
|
|
5
5
|
import { t as useScrollLock } from "./scrollLock-C3aT4-0z.js";
|
|
6
|
+
import { i as provideLayoutContainer } from "./context-CjX2RSDn.js";
|
|
6
7
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
7
8
|
import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, inject, mergeModels, mergeProps, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, onScopeDispose, onUpdated, openBlock, ref, renderSlot, toValue, unref, useAttrs, useModel, useTemplateRef, watch, withCtx } from "vue";
|
|
8
9
|
import "../styles/bottom-sheet.css";
|
|
@@ -679,6 +680,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
679
680
|
const emit = __emit;
|
|
680
681
|
resetLayerScopedContext();
|
|
681
682
|
provideLayerDepth();
|
|
683
|
+
provideLayoutContainer("bottom-sheet");
|
|
682
684
|
const HEIGHT_BUDGETS = {
|
|
683
685
|
hug: "92dvh",
|
|
684
686
|
capped: "62dvh",
|
|
@@ -765,7 +767,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
765
767
|
style: normalizeStyle(panelStyle.value),
|
|
766
768
|
tabindex: "-1"
|
|
767
769
|
}, [createElementVNode("div", {
|
|
768
|
-
class: "astryx-bottom-sheet__handle",
|
|
770
|
+
class: "astryx-bottom-sheet__handle astryx-bottom-sheet-handle",
|
|
769
771
|
"aria-hidden": "true",
|
|
770
772
|
onPointerdown: _cache[0] || (_cache[0] = (...args) => unref(gestures).onHandlePointerDown && unref(gestures).onHandlePointerDown(...args))
|
|
771
773
|
}, [..._cache[2] || (_cache[2] = [createElementVNode("div", { class: "astryx-bottom-sheet__handle-pill" }, null, -1)])], 32), createElementVNode("div", {
|
|
@@ -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-C5eJCuO1.js";
|
|
2
|
+
import { n as _sfc_main, t as _sfc_main$4 } from "../Breadcrumbs-BgiZY7un.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,10 +1,11 @@
|
|
|
1
|
+
import { t as hasSlotContent } from "./slotContent-CNWOrGOr.js";
|
|
1
2
|
import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
|
|
2
|
-
import { t as _sfc_main$2 } from "./Icon-
|
|
3
|
+
import { t as _sfc_main$2 } from "./Icon-BCHo7W0x.js";
|
|
3
4
|
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-
|
|
5
|
+
import { n as useDevWarning } from "./useDevWarning-B2fsk2B-.js";
|
|
6
|
+
import { t as _sfc_main$3 } from "./DropdownMenu-B2iga1fe.js";
|
|
6
7
|
import { n as isNavigableHref } from "./link-DuuA2eCL.js";
|
|
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
|
+
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeProps, normalizeClass, onMounted, onScopeDispose, onUpdated, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toDisplayString, toRaw, unref, useId, useSlots, useTemplateRef, watch, withCtx } from "vue";
|
|
8
9
|
import "../styles/breadcrumbs.css";
|
|
9
10
|
//#region src/Breadcrumbs/context.ts
|
|
10
11
|
const breadcrumbContextKey = defineLayerScopedKey("breadcrumbContext", void 0);
|
|
@@ -100,7 +101,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
100
101
|
type: "button",
|
|
101
102
|
class: ["astryx-breadcrumb-item-menu-trigger", contentClasses.value]
|
|
102
103
|
}, triggerProps, { "aria-current": showsCurrent.value ? "page" : void 0 }), [
|
|
103
|
-
_ctx.$slots.startIcon ? (openBlock(), createElementBlock("span", _hoisted_4, [renderSlot(_ctx.$slots, "startIcon")])) : createCommentVNode("v-if", true),
|
|
104
|
+
unref(hasSlotContent)(_ctx.$slots.startIcon) ? (openBlock(), createElementBlock("span", _hoisted_4, [renderSlot(_ctx.$slots, "startIcon")])) : createCommentVNode("v-if", true),
|
|
104
105
|
renderSlot(_ctx.$slots, "default"),
|
|
105
106
|
createVNode(_sfc_main$2, {
|
|
106
107
|
class: "astryx-breadcrumb-item__chevron",
|
|
@@ -121,7 +122,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
121
122
|
"aria-current": showsCurrent.value ? "page" : void 0,
|
|
122
123
|
onClick: handleClick
|
|
123
124
|
}, {
|
|
124
|
-
default: withCtx(() => [_ctx.$slots.startIcon ? (openBlock(), createElementBlock("span", _hoisted_5, [renderSlot(_ctx.$slots, "startIcon")])) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "default")]),
|
|
125
|
+
default: withCtx(() => [unref(hasSlotContent)(_ctx.$slots.startIcon) ? (openBlock(), createElementBlock("span", _hoisted_5, [renderSlot(_ctx.$slots, "startIcon")])) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "default")]),
|
|
125
126
|
_: 3
|
|
126
127
|
}, 8, [
|
|
127
128
|
"href",
|
|
@@ -134,11 +135,11 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
134
135
|
class: normalizeClass(contentClasses.value),
|
|
135
136
|
"aria-current": showsCurrent.value ? "page" : void 0,
|
|
136
137
|
onClick: handleClick
|
|
137
|
-
}, [_ctx.$slots.startIcon ? (openBlock(), createElementBlock("span", _hoisted_7, [renderSlot(_ctx.$slots, "startIcon")])) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "default")], 10, _hoisted_6)) : (openBlock(), createElementBlock("span", {
|
|
138
|
+
}, [unref(hasSlotContent)(_ctx.$slots.startIcon) ? (openBlock(), createElementBlock("span", _hoisted_7, [renderSlot(_ctx.$slots, "startIcon")])) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "default")], 10, _hoisted_6)) : (openBlock(), createElementBlock("span", {
|
|
138
139
|
key: 3,
|
|
139
140
|
class: normalizeClass(contentClasses.value),
|
|
140
141
|
"aria-current": "page"
|
|
141
|
-
}, [_ctx.$slots.startIcon ? (openBlock(), createElementBlock("span", _hoisted_8, [renderSlot(_ctx.$slots, "startIcon")])) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "default")], 2))], 2);
|
|
142
|
+
}, [unref(hasSlotContent)(_ctx.$slots.startIcon) ? (openBlock(), createElementBlock("span", _hoisted_8, [renderSlot(_ctx.$slots, "startIcon")])) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "default")], 2))], 2);
|
|
142
143
|
};
|
|
143
144
|
}
|
|
144
145
|
});
|
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-BfSZhAVv.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