@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,6 +1,9 @@
|
|
|
1
|
+
import { i as pressGroupItemProps } from "./context-CZP3jfy-.js";
|
|
2
|
+
import { t as useActionGroupTracking } from "./useActionGroupTracking-BncJjk1A.js";
|
|
1
3
|
import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
|
|
2
|
-
import { t as _sfc_main$2 } from "./Button-
|
|
3
|
-
import {
|
|
4
|
+
import { t as _sfc_main$2 } from "./Button-DsjdehLZ.js";
|
|
5
|
+
import { t as useCoarsePointer } from "./useCoarsePointer-GItEMrjX.js";
|
|
6
|
+
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, defineComponent, mergeModels, mergeProps, openBlock, provide, renderSlot, shallowRef, toDisplayString, unref, useModel, useTemplateRef, withCtx } from "vue";
|
|
4
7
|
import "../styles/toggle-button.css";
|
|
5
8
|
//#region src/ToggleButton/context.ts
|
|
6
9
|
const toggleButtonGroupContextKey = defineLayerScopedKey("astryx-toggle-button-group", null);
|
|
@@ -62,6 +65,8 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
62
65
|
const isPressed = computed(() => groupPressed.value ?? optimisticPressed.value ?? isPressedModel.value);
|
|
63
66
|
const isDisabled = computed(() => (group?.isDisabled.value ?? false) || props.isDisabled);
|
|
64
67
|
const size = computed(() => props.size ?? group?.size.value ?? "md");
|
|
68
|
+
/** 跟踪滑动的组里,带 value 的切换按钮由组来画高亮、松手时切换。 */
|
|
69
|
+
const groupItemProps = computed(() => group?.tracksPress?.value === true && props.value != null ? pressGroupItemProps() : void 0);
|
|
65
70
|
const element = computed(() => button.value?.element ?? null);
|
|
66
71
|
function focus(options) {
|
|
67
72
|
element.value?.focus(options);
|
|
@@ -109,12 +114,13 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
109
114
|
focus
|
|
110
115
|
});
|
|
111
116
|
return (_ctx, _cache) => {
|
|
112
|
-
return openBlock(), createBlock(_sfc_main$2, {
|
|
117
|
+
return openBlock(), createBlock(_sfc_main$2, mergeProps({
|
|
113
118
|
ref_key: "button",
|
|
114
119
|
ref: button,
|
|
115
120
|
class: "astryx-toggle-button",
|
|
116
121
|
"aria-pressed": isPressed.value ? "true" : "false",
|
|
117
122
|
"data-pressed": isPressed.value ? "true" : "false",
|
|
123
|
+
"data-grouped": unref(group) != null ? "grouped" : void 0,
|
|
118
124
|
elevation: __props.elevation,
|
|
119
125
|
"is-disabled": isDisabled.value,
|
|
120
126
|
"is-icon-only": __props.isIconOnly,
|
|
@@ -124,18 +130,18 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
124
130
|
size: size.value,
|
|
125
131
|
tooltip: __props.tooltip,
|
|
126
132
|
variant: "ghost",
|
|
127
|
-
"click-action": clickAction.value
|
|
128
|
-
|
|
129
|
-
}, createSlots({
|
|
133
|
+
"click-action": clickAction.value
|
|
134
|
+
}, groupItemProps.value, { onClick: handleClick }), createSlots({
|
|
130
135
|
default: withCtx(() => [!__props.isIconOnly ? (openBlock(), createElementBlock("span", _hoisted_1$1, [createElementVNode("span", _hoisted_2, [renderSlot(_ctx.$slots, "default", {}, () => [createTextVNode(toDisplayString(__props.label), 1)])]), createElementVNode("span", _hoisted_3, [renderSlot(_ctx.$slots, "default", {}, () => [createTextVNode(toDisplayString(__props.label), 1)])])])) : createCommentVNode("v-if", true)]),
|
|
131
136
|
_: 2
|
|
132
137
|
}, [_ctx.$slots.icon || _ctx.$slots.pressedIcon ? {
|
|
133
138
|
name: "icon",
|
|
134
139
|
fn: withCtx(() => [isPressed.value && _ctx.$slots.pressedIcon ? renderSlot(_ctx.$slots, "pressedIcon", {}, void 0, void 0, 0) : renderSlot(_ctx.$slots, "icon", {}, void 0, void 0, 1)]),
|
|
135
140
|
key: "0"
|
|
136
|
-
} : void 0]),
|
|
141
|
+
} : void 0]), 1040, [
|
|
137
142
|
"aria-pressed",
|
|
138
143
|
"data-pressed",
|
|
144
|
+
"data-grouped",
|
|
139
145
|
"elevation",
|
|
140
146
|
"is-disabled",
|
|
141
147
|
"is-icon-only",
|
|
@@ -153,6 +159,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
153
159
|
const _hoisted_1 = [
|
|
154
160
|
"aria-label",
|
|
155
161
|
"data-orientation",
|
|
162
|
+
"data-press-tracking",
|
|
156
163
|
"data-size"
|
|
157
164
|
];
|
|
158
165
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
@@ -197,17 +204,29 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
197
204
|
value.value = next;
|
|
198
205
|
emit("change", next);
|
|
199
206
|
}
|
|
207
|
+
/**
|
|
208
|
+
* 触屏为主的设备上,手指和笔可以按住一个切换按钮滑到别的上面,只切换松手时手指下的那个;
|
|
209
|
+
* 在组外松手什么都不切换。鼠标还是原生按钮的行为。
|
|
210
|
+
*/
|
|
211
|
+
const root = useTemplateRef("root");
|
|
212
|
+
const isCoarse = useCoarsePointer();
|
|
213
|
+
const tracksPress = computed(() => isCoarse.value && !props.isDisabled);
|
|
214
|
+
useActionGroupTracking(root, { isEnabled: tracksPress });
|
|
200
215
|
provide(toggleButtonGroupContextKey, {
|
|
201
216
|
isDisabled,
|
|
202
217
|
selectedValues,
|
|
203
218
|
size,
|
|
204
|
-
toggle
|
|
219
|
+
toggle,
|
|
220
|
+
tracksPress
|
|
205
221
|
});
|
|
206
222
|
return (_ctx, _cache) => {
|
|
207
223
|
return openBlock(), createElementBlock("div", {
|
|
224
|
+
ref_key: "root",
|
|
225
|
+
ref: root,
|
|
208
226
|
class: "astryx-toggle-button-group",
|
|
209
227
|
"aria-label": __props.label,
|
|
210
228
|
"data-orientation": __props.orientation,
|
|
229
|
+
"data-press-tracking": tracksPress.value || void 0,
|
|
211
230
|
"data-size": size.value,
|
|
212
231
|
role: "group"
|
|
213
232
|
}, [renderSlot(_ctx.$slots, "default")], 8, _hoisted_1);
|
package/dist/Token/index.js
CHANGED
|
@@ -1,21 +1,28 @@
|
|
|
1
|
-
import { t as usePressFeedback } from "./usePressFeedback-
|
|
1
|
+
import { t as usePressFeedback } from "./usePressFeedback-Bcjsw9vv.js";
|
|
2
2
|
import { n as isSafeUrl } from "./safeUrl-CsvfcZ9m.js";
|
|
3
3
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
4
4
|
import { t as useInteractiveRole } from "./useInteractiveRole-Cn0Nd5GX.js";
|
|
5
|
-
import { s as useAstryxMessages } from "./context-
|
|
5
|
+
import { s as useAstryxMessages } from "./context-CV6TrhJY.js";
|
|
6
6
|
import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
|
|
7
|
+
import { t as textDirection } from "./textDirection-D4ObTwbB.js";
|
|
7
8
|
import { n as disabledInteractionProps } from "./disabledInteraction-CPzL8kVP.js";
|
|
8
|
-
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, mergeProps, normalizeClass, openBlock, renderSlot, resolveDynamicComponent, toDisplayString, toRaw, unref, useAttrs, withCtx } from "vue";
|
|
9
|
+
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, inject, mergeProps, normalizeClass, openBlock, renderSlot, resolveDynamicComponent, toDisplayString, toRaw, unref, useAttrs, withCtx } from "vue";
|
|
9
10
|
import "../styles/visually-hidden-utility.css";
|
|
10
11
|
import "../styles/token.css";
|
|
12
|
+
//#region src/Token/namingContext.ts
|
|
13
|
+
const tokenNamingKey = Symbol("astryx-token-naming");
|
|
14
|
+
//#endregion
|
|
11
15
|
//#region src/Token/Token.vue
|
|
12
16
|
const _hoisted_1 = {
|
|
13
17
|
key: 0,
|
|
14
18
|
class: "astryx-token-icon",
|
|
15
19
|
"aria-hidden": "true"
|
|
16
20
|
};
|
|
17
|
-
const _hoisted_2 = ["
|
|
18
|
-
const _hoisted_3 = ["aria-
|
|
21
|
+
const _hoisted_2 = ["dir"];
|
|
22
|
+
const _hoisted_3 = ["aria-disabled"];
|
|
23
|
+
const _hoisted_4 = ["dir"];
|
|
24
|
+
const _hoisted_5 = ["dir"];
|
|
25
|
+
const _hoisted_6 = ["aria-label", "aria-disabled"];
|
|
19
26
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
20
27
|
name: "AstryxToken",
|
|
21
28
|
inheritAttrs: false,
|
|
@@ -49,7 +56,8 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
49
56
|
/** 正名 isLabelHidden,旧名 labelHidden 任一为真就藏起文字。 */
|
|
50
57
|
const hideLabel = useResolvedLabelHidden(() => props.isLabelHidden, () => props.labelHidden);
|
|
51
58
|
const linkComponent = useLinkComponent();
|
|
52
|
-
|
|
59
|
+
/** 删除按钮、尾部插槽里的控件被手指按下时,Token 自己的动作不执行,所以 Token 不亮。 */
|
|
60
|
+
const press = usePressFeedback({ isContainer: true });
|
|
53
61
|
/** 有链接时用的根组件,没有 provider 时还是 `<a>`。危险协议退回普通锚点。 */
|
|
54
62
|
const safeHref = computed(() => {
|
|
55
63
|
const href = props.href;
|
|
@@ -59,8 +67,9 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
59
67
|
if (safeHref.value == null || linkComponent.value == null) return "a";
|
|
60
68
|
return toRaw(linkComponent.value);
|
|
61
69
|
});
|
|
62
|
-
const
|
|
63
|
-
const
|
|
70
|
+
const naming = inject(tokenNamingKey, null);
|
|
71
|
+
const removeLabel = computed(() => messages.value.token.remove(naming?.value.removeName ?? props.label));
|
|
72
|
+
const clickable = computed(() => attrs.onClick != null);
|
|
64
73
|
const linked = computed(() => safeHref.value != null);
|
|
65
74
|
const interactive = computed(() => clickable.value || linked.value || props.removable);
|
|
66
75
|
const rootIsLink = computed(() => linked.value && !props.removable);
|
|
@@ -73,18 +82,60 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
73
82
|
const actionIsButton = computed(() => actionRole.role.value === "button");
|
|
74
83
|
/** 禁用时不再用原生 disabled,改用可聚焦的 aria-disabled 加共用事件守卫。 */
|
|
75
84
|
const disabledInteraction = computed(() => props.disabled ? disabledInteractionProps() : void 0);
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
85
|
+
/** 没有右到左字母的标签按左到右排,`@alice`、`C++` 在右到左页面上不会被重排。 */
|
|
86
|
+
const labelDir = computed(() => textDirection(props.label));
|
|
87
|
+
/**
|
|
88
|
+
* 命名、弹层和按下状态这几个属性要落在承担动作的元素上:
|
|
89
|
+
* 可点击 token 落在里面的按钮上,其余结构落在根上。
|
|
90
|
+
*/
|
|
91
|
+
const ACTION_ARIA = /* @__PURE__ */ new Set([
|
|
92
|
+
"aria-labelledby",
|
|
93
|
+
"aria-describedby",
|
|
94
|
+
"aria-haspopup",
|
|
95
|
+
"aria-expanded",
|
|
96
|
+
"aria-pressed"
|
|
97
|
+
]);
|
|
98
|
+
function ariaName(key) {
|
|
99
|
+
return /^aria[A-Z]/.test(key) ? key.replace(/[A-Z]/g, (letter) => `-${letter.toLowerCase()}`) : key;
|
|
100
|
+
}
|
|
101
|
+
const actionAria = computed(() => {
|
|
102
|
+
if (!actionIsButton.value) return {};
|
|
103
|
+
const own = Object.fromEntries(Object.entries(attrs).filter(([key]) => ACTION_ARIA.has(ariaName(key))));
|
|
104
|
+
const actionName = naming?.value.actionName;
|
|
105
|
+
return own["aria-labelledby"] == null && own.ariaLabelledby == null && actionName ? {
|
|
106
|
+
"aria-label": actionName,
|
|
107
|
+
...own
|
|
108
|
+
} : own;
|
|
109
|
+
});
|
|
110
|
+
function callListener(listener, event) {
|
|
111
|
+
if (typeof listener === "function") listener(event);
|
|
112
|
+
else if (Array.isArray(listener)) listener.forEach((item) => callListener(item, event));
|
|
113
|
+
}
|
|
114
|
+
/** 有地址的 token 也调用调用方的 click:链接本身就是它的动作。 */
|
|
115
|
+
function runLinkClick(event) {
|
|
116
|
+
callListener(attrs.onClick, event);
|
|
117
|
+
}
|
|
118
|
+
const rootAttrs = computed(() => {
|
|
119
|
+
const own = {};
|
|
120
|
+
for (const [key, value] of Object.entries(attrs)) {
|
|
121
|
+
if (key === "onClick" || actionIsButton.value && ACTION_ARIA.has(ariaName(key))) continue;
|
|
122
|
+
if (key === "onKeydown" && rootIsLink.value && props.disabled) continue;
|
|
123
|
+
own[key] = value;
|
|
124
|
+
}
|
|
125
|
+
if (interactive.value && !props.disabled) Object.assign(own, press.pressableProps);
|
|
126
|
+
if (rootIsLink.value) {
|
|
127
|
+
if (props.disabled) Object.assign(own, disabledInteractionProps((event) => callListener(attrs.onKeydown, event)));
|
|
128
|
+
else own.onClick = runLinkClick;
|
|
129
|
+
}
|
|
130
|
+
return own;
|
|
131
|
+
});
|
|
80
132
|
function runClick(event) {
|
|
81
133
|
if (props.disabled) {
|
|
82
134
|
event.preventDefault();
|
|
83
135
|
event.stopPropagation();
|
|
84
136
|
return;
|
|
85
137
|
}
|
|
86
|
-
|
|
87
|
-
if (typeof listener === "function") listener(event);
|
|
138
|
+
callListener(attrs.onClick, event);
|
|
88
139
|
}
|
|
89
140
|
function onRemoveClick(event) {
|
|
90
141
|
event.stopPropagation();
|
|
@@ -102,46 +153,66 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
102
153
|
emit("remove", event);
|
|
103
154
|
}
|
|
104
155
|
return (_ctx, _cache) => {
|
|
105
|
-
return openBlock(), createBlock(resolveDynamicComponent(rootIsLink.value ? linkRoot.value : "span"), mergeProps(rootAttrs.value, {
|
|
156
|
+
return openBlock(), createBlock(resolveDynamicComponent(rootIsLink.value ? props.disabled ? "a" : linkRoot.value : "span"), mergeProps(rootAttrs.value, {
|
|
106
157
|
class: ["astryx-token", [`size-${props.size}`, {
|
|
107
158
|
"is-interactive": interactive.value,
|
|
108
159
|
"is-disabled": props.disabled
|
|
109
160
|
}]],
|
|
110
161
|
"data-color": props.color,
|
|
162
|
+
"data-disabled": props.disabled || void 0,
|
|
111
163
|
href: rootIsLink.value && !props.disabled ? safeHref.value : void 0,
|
|
112
164
|
to: rootIsLink.value && !props.disabled && linkRoot.value !== "a" ? safeHref.value : void 0,
|
|
113
|
-
|
|
165
|
+
role: rootIsLink.value && props.disabled ? "link" : void 0,
|
|
166
|
+
"aria-disabled": rootIsLink.value && props.disabled ? "true" : void 0,
|
|
114
167
|
"aria-label": unref(hideLabel) ? props.label : void 0,
|
|
115
168
|
"aria-description": props.description,
|
|
116
|
-
tabindex: rootIsLink.value && props.disabled ?
|
|
169
|
+
tabindex: rootIsLink.value && props.disabled ? 0 : void 0,
|
|
117
170
|
onKeydown
|
|
118
171
|
}), {
|
|
119
172
|
default: withCtx(() => [
|
|
120
173
|
_ctx.$slots.icon ? (openBlock(), createElementBlock("span", _hoisted_1, [renderSlot(_ctx.$slots, "icon")])) : createCommentVNode("v-if", true),
|
|
121
|
-
actionIsLink.value ? (openBlock(), createBlock(resolveDynamicComponent(
|
|
174
|
+
actionIsLink.value ? (openBlock(), createBlock(resolveDynamicComponent(props.disabled ? "a" : linkRoot.value), mergeProps({
|
|
122
175
|
key: 1,
|
|
123
176
|
class: "astryx-token-action",
|
|
124
177
|
href: props.disabled ? void 0 : safeHref.value,
|
|
125
178
|
to: props.disabled || linkRoot.value === "a" ? void 0 : safeHref.value,
|
|
179
|
+
role: props.disabled ? "link" : void 0,
|
|
126
180
|
"aria-disabled": props.disabled || void 0,
|
|
127
|
-
tabindex: props.disabled ?
|
|
181
|
+
tabindex: props.disabled ? 0 : void 0
|
|
128
182
|
}, {
|
|
129
|
-
|
|
183
|
+
...unref(press).pressActionProps,
|
|
184
|
+
...props.disabled ? disabledInteraction.value : { onClick: runLinkClick }
|
|
185
|
+
}), {
|
|
186
|
+
default: withCtx(() => [createElementVNode("span", {
|
|
187
|
+
class: normalizeClass(["astryx-token-label", { "is-hidden": unref(hideLabel) }]),
|
|
188
|
+
dir: labelDir.value
|
|
189
|
+
}, toDisplayString(props.label), 11, _hoisted_2)]),
|
|
130
190
|
_: 1
|
|
131
|
-
},
|
|
191
|
+
}, 16, [
|
|
132
192
|
"href",
|
|
133
193
|
"to",
|
|
194
|
+
"role",
|
|
134
195
|
"aria-disabled",
|
|
135
196
|
"tabindex"
|
|
136
197
|
])) : actionIsButton.value ? (openBlock(), createElementBlock("button", mergeProps({
|
|
137
198
|
key: 2,
|
|
138
199
|
type: "button",
|
|
139
|
-
class: "astryx-token-action"
|
|
140
|
-
|
|
141
|
-
|
|
200
|
+
class: "astryx-token-action"
|
|
201
|
+
}, {
|
|
202
|
+
...actionAria.value,
|
|
203
|
+
...disabledInteraction.value,
|
|
204
|
+
...unref(press).pressActionProps
|
|
205
|
+
}, {
|
|
206
|
+
"aria-disabled": props.disabled || void 0,
|
|
207
|
+
onClick: runClick
|
|
208
|
+
}), [createElementVNode("span", {
|
|
209
|
+
class: normalizeClass(["astryx-token-label", { "is-hidden": unref(hideLabel) }]),
|
|
210
|
+
dir: labelDir.value
|
|
211
|
+
}, toDisplayString(props.label), 11, _hoisted_4)], 16, _hoisted_3)) : (openBlock(), createElementBlock("span", {
|
|
142
212
|
key: 3,
|
|
143
|
-
class: normalizeClass(["astryx-token-label", { "is-hidden": unref(hideLabel) }])
|
|
144
|
-
|
|
213
|
+
class: normalizeClass(["astryx-token-label", { "is-hidden": unref(hideLabel) }]),
|
|
214
|
+
dir: labelDir.value
|
|
215
|
+
}, toDisplayString(props.label), 11, _hoisted_5)),
|
|
145
216
|
renderSlot(_ctx.$slots, "end", {}, () => [renderSlot(_ctx.$slots, "endContent")]),
|
|
146
217
|
props.removable ? (openBlock(), createElementBlock("button", mergeProps({
|
|
147
218
|
key: 4,
|
|
@@ -160,14 +231,16 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
160
231
|
stroke: "currentColor",
|
|
161
232
|
"stroke-width": "1.5",
|
|
162
233
|
"stroke-linecap": "round"
|
|
163
|
-
})], -1)])], 16,
|
|
234
|
+
})], -1)])], 16, _hoisted_6)) : createCommentVNode("v-if", true)
|
|
164
235
|
]),
|
|
165
236
|
_: 3
|
|
166
237
|
}, 16, [
|
|
167
238
|
"class",
|
|
168
239
|
"data-color",
|
|
240
|
+
"data-disabled",
|
|
169
241
|
"href",
|
|
170
242
|
"to",
|
|
243
|
+
"role",
|
|
171
244
|
"aria-disabled",
|
|
172
245
|
"aria-label",
|
|
173
246
|
"aria-description",
|
|
@@ -177,4 +250,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
177
250
|
}
|
|
178
251
|
});
|
|
179
252
|
//#endregion
|
|
180
|
-
export { _sfc_main as t };
|
|
253
|
+
export { tokenNamingKey as n, _sfc_main as t };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TokenizerProps, c as TokenizerStatus, i as TokenizerOverflow, n as TokenizerChange, o as TokenizerSize, r as TokenizerEmits, s as TokenizerSlots, t as _default } from "../index-
|
|
1
|
+
import { a as TokenizerProps, c as TokenizerStatus, i as TokenizerOverflow, n as TokenizerChange, o as TokenizerSize, r as TokenizerEmits, s as TokenizerSlots, t as _default } from "../index-mkbGYz8f.js";
|
|
2
2
|
export { _default as Tokenizer, type TokenizerChange, type TokenizerEmits, type TokenizerOverflow, type TokenizerProps, type TokenizerSize, type TokenizerSlots, type TokenizerStatus };
|
package/dist/Tokenizer/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Tokenizer-
|
|
1
|
+
import { t as _sfc_main } from "../Tokenizer-R0eC1BOk.js";
|
|
2
2
|
export { _sfc_main as Tokenizer };
|
|
@@ -1,22 +1,100 @@
|
|
|
1
1
|
import { i as useSize } from "./SizeContext-BbaF-SEx.js";
|
|
2
|
+
import { a as isImeKeyEvent } from "./layerDepth-CNDh-IHb.js";
|
|
3
|
+
import { r as trackInteractionModality, t as getInteractionModality } from "./interactionModality-ACpTMhak.js";
|
|
2
4
|
import { t as _sfc_main$1 } from "./ButtonTooltip-CNKOQHYR.js";
|
|
3
5
|
import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
|
|
4
6
|
import { t as useAnnounce } from "./announce-B210eJVf.js";
|
|
5
|
-
import {
|
|
6
|
-
import { s as useAstryxMessages } from "./context-BLSiTojH.js";
|
|
7
|
+
import { s as useAstryxMessages } from "./context-CV6TrhJY.js";
|
|
7
8
|
import { n as useOverflow } from "./useOverflow-VrwF5oek.js";
|
|
8
9
|
import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
|
|
9
10
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
10
|
-
import { t as _sfc_main$2 } from "./Field-
|
|
11
|
-
import { t as useFieldPartStyling } from "./fieldParts
|
|
12
|
-
import { t as _sfc_main$3 } from "./Token-
|
|
13
|
-
import { n as useAnchoredListbox, t as scrollOptionIntoView } from "./useAnchoredListbox-
|
|
14
|
-
import { i as useTypeaheadMenu, r as useLatchedOptionGrid, t as _sfc_main$4 } from "./TypeaheadMenu-
|
|
15
|
-
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, mergeProps, nextTick, normalizeClass, normalizeStyle, onMounted, openBlock, ref, renderList, renderSlot, toDisplayString, unref, useAttrs, useId, useTemplateRef, vShow, watch, withCtx, withDirectives } from "vue";
|
|
11
|
+
import { t as _sfc_main$2 } from "./Field-if5a58LO.js";
|
|
12
|
+
import { t as useFieldPartStyling } from "./fieldParts-CDOlBdy6.js";
|
|
13
|
+
import { t as _sfc_main$3 } from "./Token-DWCDMawn.js";
|
|
14
|
+
import { n as useAnchoredListbox, t as scrollOptionIntoView } from "./useAnchoredListbox-9Gn8asBR.js";
|
|
15
|
+
import { i as useTypeaheadMenu, r as useLatchedOptionGrid, t as _sfc_main$4 } from "./TypeaheadMenu-CFeJCv-6.js";
|
|
16
|
+
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, mergeProps, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, openBlock, ref, renderList, renderSlot, toDisplayString, unref, useAttrs, useId, useTemplateRef, vShow, watch, withCtx, withDirectives } from "vue";
|
|
16
17
|
import "../styles/layer.css";
|
|
17
18
|
import "../styles/visually-hidden-utility.css";
|
|
18
19
|
import "../styles/typeahead.css";
|
|
19
20
|
import "../styles/tokenizer.css";
|
|
21
|
+
//#region src/composables/internal/useTokenRemoveTap.ts
|
|
22
|
+
/**
|
|
23
|
+
* 手指点 Token 自带的删除按钮时,别把触屏键盘弹起来。
|
|
24
|
+
*
|
|
25
|
+
* 触屏浏览器在一次点按里聚焦输入框就会弹出键盘。标签输入框删掉一个标签后
|
|
26
|
+
* 默认把焦点交回输入框,于是手指每删一个标签都要再收一次键盘。这里记下
|
|
27
|
+
* 字段里最近一次按下:手指按在删除按钮上、而输入框当时没有焦点(键盘是收着的)
|
|
28
|
+
* 时,删除后焦点留在原处,被按的删除按钮也不接焦点。鼠标、笔、按键删除,
|
|
29
|
+
* 以及键盘已经弹起时的点按,都照旧把焦点交回输入框。
|
|
30
|
+
*/
|
|
31
|
+
/** Token 自带的删除按钮。自定义插槽画的删除控件不算。 */
|
|
32
|
+
const TOKEN_REMOVE_SELECTOR = ".astryx-token-remove";
|
|
33
|
+
function removeControlOf(target) {
|
|
34
|
+
return target instanceof Element ? target.closest(TOKEN_REMOVE_SELECTOR) : null;
|
|
35
|
+
}
|
|
36
|
+
function useTokenRemoveTap(options) {
|
|
37
|
+
trackInteractionModality();
|
|
38
|
+
let press = null;
|
|
39
|
+
let endTimer;
|
|
40
|
+
/** 键盘是收着的:最近一次是手指按下,当时输入框没有焦点,之后也没按过键。 */
|
|
41
|
+
function wasKeyboardDown() {
|
|
42
|
+
return press != null && press.isFinger && !press.inputHadFocus && getInteractionModality() === "pointer";
|
|
43
|
+
}
|
|
44
|
+
function onPointerDown(event) {
|
|
45
|
+
clearTimeout(endTimer);
|
|
46
|
+
const input = options.input.value;
|
|
47
|
+
press = {
|
|
48
|
+
inputHadFocus: input != null && input.ownerDocument.activeElement === input,
|
|
49
|
+
isFinger: event.pointerType === "touch",
|
|
50
|
+
pressedRemove: removeControlOf(event.target)
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
/** 手指点按后浏览器补发的 mousedown 会让按钮抢到焦点,键盘收着时取消它。 */
|
|
54
|
+
function onMouseDown(event) {
|
|
55
|
+
if (removeControlOf(event.target) != null && wasKeyboardDown()) event.preventDefault();
|
|
56
|
+
}
|
|
57
|
+
/** 这次按下的记录随点按结束:click 所在的任务跑完,或者浏览器把按下接管成滚动。 */
|
|
58
|
+
function onClick() {
|
|
59
|
+
clearTimeout(endTimer);
|
|
60
|
+
endTimer = setTimeout(() => {
|
|
61
|
+
press = null;
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
function onPointerCancel() {
|
|
65
|
+
press = null;
|
|
66
|
+
}
|
|
67
|
+
const listeners = [
|
|
68
|
+
["pointerdown", onPointerDown],
|
|
69
|
+
["mousedown", onMouseDown],
|
|
70
|
+
["click", onClick],
|
|
71
|
+
["pointercancel", onPointerCancel]
|
|
72
|
+
];
|
|
73
|
+
let boundTo = null;
|
|
74
|
+
function bindTo(element) {
|
|
75
|
+
if (element === boundTo) return;
|
|
76
|
+
for (const [type, listener] of listeners) {
|
|
77
|
+
boundTo?.removeEventListener(type, listener, true);
|
|
78
|
+
element?.addEventListener(type, listener, true);
|
|
79
|
+
}
|
|
80
|
+
boundTo = element;
|
|
81
|
+
}
|
|
82
|
+
onMounted(() => bindTo(options.root.value));
|
|
83
|
+
watch(options.root, (element) => bindTo(element), { flush: "post" });
|
|
84
|
+
onBeforeUnmount(() => {
|
|
85
|
+
clearTimeout(endTimer);
|
|
86
|
+
bindTo(null);
|
|
87
|
+
});
|
|
88
|
+
function shouldFocusInputAfterRemove() {
|
|
89
|
+
const pressed = wasKeyboardDown() ? press?.pressedRemove ?? null : null;
|
|
90
|
+
if (pressed == null) return true;
|
|
91
|
+
const active = pressed.ownerDocument.activeElement;
|
|
92
|
+
const token = pressed.closest(options.tokenSelector) ?? pressed;
|
|
93
|
+
return active != null && token.contains(active);
|
|
94
|
+
}
|
|
95
|
+
return { shouldFocusInputAfterRemove };
|
|
96
|
+
}
|
|
97
|
+
//#endregion
|
|
20
98
|
//#region src/Tokenizer/inputAttrs.ts
|
|
21
99
|
/**
|
|
22
100
|
* 这些属性由组件自己算,不能让外面透传的值盖掉。
|
|
@@ -298,6 +376,11 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
298
376
|
onMounted(() => {
|
|
299
377
|
if (props.hasAutoFocus) inputRef.value?.focus();
|
|
300
378
|
});
|
|
379
|
+
const removeTap = useTokenRemoveTap({
|
|
380
|
+
root: anchorRef,
|
|
381
|
+
input: inputRef,
|
|
382
|
+
tokenSelector: ".astryx-tokenizer-token"
|
|
383
|
+
});
|
|
301
384
|
const tokenCount = computed(() => values.value.length);
|
|
302
385
|
const overflow = useOverflow(tokenCount, { gap: 4 });
|
|
303
386
|
const visibleCount = computed(() => collapsed.value ? overflow.visibleCount.value : tokenCount.value);
|
|
@@ -336,7 +419,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
336
419
|
item
|
|
337
420
|
});
|
|
338
421
|
announce(messages.value.tokenizer.removed(item.label));
|
|
339
|
-
nextTick(() => inputRef.value?.focus());
|
|
422
|
+
if (removeTap.shouldFocusInputAfterRemove()) nextTick(() => inputRef.value?.focus());
|
|
340
423
|
}
|
|
341
424
|
function clearAll(event) {
|
|
342
425
|
event?.stopPropagation();
|
|
@@ -674,4 +757,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
674
757
|
}
|
|
675
758
|
});
|
|
676
759
|
//#endregion
|
|
677
|
-
export { _sfc_main as t };
|
|
760
|
+
export { useTokenRemoveTap as n, _sfc_main as t };
|
package/dist/Toolbar/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { T as _default } from "../index-
|
|
1
|
+
import { T as _default } from "../index-DFDadgys.js";
|
|
2
2
|
import { $ as ToolbarSize, Q as ToolbarProps, Z as ToolbarOrientation } from "../useResizable-fEGAFziz.js";
|
|
3
3
|
export { _default as Toolbar, type ToolbarOrientation, type ToolbarProps, type ToolbarSize };
|
package/dist/Toolbar/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Toolbar-
|
|
1
|
+
import { t as _sfc_main } from "../Toolbar-BH_E0F0G.js";
|
|
2
2
|
export { _sfc_main as Toolbar };
|
|
@@ -60,7 +60,10 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
60
60
|
class: normalizeClass(["astryx-toolbar", [
|
|
61
61
|
`astryx-toolbar--${__props.size}`,
|
|
62
62
|
`astryx-toolbar--${__props.orientation}`,
|
|
63
|
-
{
|
|
63
|
+
{
|
|
64
|
+
"astryx-toolbar--centered": _ctx.$slots.center,
|
|
65
|
+
"astryx-toolbar--two-lane": _ctx.$slots.start && _ctx.$slots.end && !_ctx.$slots.center && __props.orientation !== "vertical"
|
|
66
|
+
}
|
|
64
67
|
]]),
|
|
65
68
|
role: "toolbar",
|
|
66
69
|
"aria-label": __props.label,
|
package/dist/Tooltip/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TooltipAlignment, c as TooltipProps, i as _default, l as TooltipTouchTrigger, n as UseTooltipReturn, o as TooltipFocusTrigger, r as useTooltip, s as TooltipPlacement, t as UseTooltipOptions } from "../index-
|
|
1
|
+
import { a as TooltipAlignment, c as TooltipProps, i as _default, l as TooltipTouchTrigger, n as UseTooltipReturn, o as TooltipFocusTrigger, r as useTooltip, s as TooltipPlacement, t as UseTooltipOptions } from "../index-DTfA4uE3.js";
|
|
2
2
|
export { _default as Tooltip, type TooltipAlignment, type TooltipFocusTrigger, type TooltipPlacement, type TooltipProps, type TooltipTouchTrigger, type UseTooltipOptions, type UseTooltipReturn, useTooltip };
|
package/dist/Tooltip/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as useTooltip } from "../useTooltip-
|
|
2
|
-
import { t as _sfc_main } from "../Tooltip-
|
|
1
|
+
import { t as useTooltip } from "../useTooltip-D8Tq7-yd.js";
|
|
2
|
+
import { t as _sfc_main } from "../Tooltip-CGHpFMnc.js";
|
|
3
3
|
export { _sfc_main as Tooltip, useTooltip };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { r as _sfc_main$1, t as useTooltip } from "./useTooltip-D8Tq7-yd.js";
|
|
2
2
|
import { Fragment, Teleport, computed, createElementBlock, createTextVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, nextTick, onMounted, onUpdated, openBlock, ref, renderSlot, toDisplayString, unref, useAttrs, watch, withCtx } from "vue";
|
|
3
3
|
import "../styles/tooltip.css";
|
|
4
4
|
//#region src/Tooltip/Tooltip.vue
|
package/dist/TopNav/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as TopNavMenuProps, S as TopNavMenuItem, _ as TopNavMegaMenuEmits, b as TopNavMegaMenuProps, c as _default$5, d as _default$2, f as _default$1, g as TopNavItemProps, h as TopNavItemEmits, l as _default$4, m as TopNavHeadingProps, p as _default, s as _default$6, u as _default$3, v as TopNavMegaMenuFeaturedCardProps, w as TopNavProps, x as TopNavMenuEmits, y as TopNavMegaMenuItemProps } from "../index-
|
|
1
|
+
import { C as TopNavMenuProps, S as TopNavMenuItem, _ as TopNavMegaMenuEmits, b as TopNavMegaMenuProps, c as _default$5, d as _default$2, f as _default$1, g as TopNavItemProps, h as TopNavItemEmits, l as _default$4, m as TopNavHeadingProps, p as _default, s as _default$6, u as _default$3, v as TopNavMegaMenuFeaturedCardProps, w as TopNavProps, x as TopNavMenuEmits, y as TopNavMegaMenuItemProps } from "../index-DFDadgys.js";
|
|
2
2
|
export { _default as TopNav, _default$1 as TopNavHeading, type TopNavHeadingProps, _default$2 as TopNavItem, type TopNavItemEmits, type TopNavItemProps, _default$3 as TopNavMegaMenu, type TopNavMegaMenuEmits, _default$4 as TopNavMegaMenuFeaturedCard, type TopNavMegaMenuFeaturedCardProps, _default$5 as TopNavMegaMenuItem, type TopNavMegaMenuItemProps, type TopNavMegaMenuProps, _default$6 as TopNavMenu, type TopNavMenuEmits, type TopNavMenuItem, type TopNavMenuProps, type TopNavProps };
|
package/dist/TopNav/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as _sfc_main$2, i as _sfc_main$3, n as _sfc_main$5, o as _sfc_main$1, r as _sfc_main$4, s as _sfc_main, t as _sfc_main$6 } from "../TopNav-
|
|
1
|
+
import { a as _sfc_main$2, i as _sfc_main$3, n as _sfc_main$5, o as _sfc_main$1, r as _sfc_main$4, s as _sfc_main, t as _sfc_main$6 } from "../TopNav-DHunql9h.js";
|
|
2
2
|
export { _sfc_main as TopNav, _sfc_main$1 as TopNavHeading, _sfc_main$2 as TopNavItem, _sfc_main$3 as TopNavMegaMenu, _sfc_main$4 as TopNavMegaMenuFeaturedCard, _sfc_main$5 as TopNavMegaMenuItem, _sfc_main$6 as TopNavMenu };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { t as _sfc_main$8 } from "./Icon-
|
|
1
|
+
import { t as _sfc_main$8 } from "./Icon-BCHo7W0x.js";
|
|
2
2
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
3
3
|
import { t as useMediaQuery } from "./useMediaQuery-GMmgp28-.js";
|
|
4
4
|
import { n as useAppShellMobile } from "./useAppShellMobile-DTsyuAJ4.js";
|
|
5
|
-
import { s as useAstryxMessages } from "./context-
|
|
5
|
+
import { s as useAstryxMessages } from "./context-CV6TrhJY.js";
|
|
6
6
|
import { t as useListFocus } from "./useListFocus-CbHkLT-X.js";
|
|
7
|
-
import { n as _sfc_main$10, r as mobileNavKey, t as _sfc_main$9 } from "./MobileNavToggle-
|
|
7
|
+
import { n as _sfc_main$10, r as mobileNavKey, t as _sfc_main$9 } from "./MobileNavToggle-TMDrnXfG.js";
|
|
8
8
|
import { i as safeNavHref, n as isNavigableHref, r as resolveNavRoot } from "./link-DuuA2eCL.js";
|
|
9
|
-
import { t as _sfc_main$11 } from "./NavItem-
|
|
10
|
-
import { n as navMenuCloseKey, t as _sfc_main$12 } from "./NavDisclosure-
|
|
11
|
-
import { n as _sfc_main$14, t as _sfc_main$13 } from "./NavMenuItem-
|
|
12
|
-
import { t as _sfc_main$15 } from "./NavHeadingSurface-
|
|
9
|
+
import { t as _sfc_main$11 } from "./NavItem-BZLN0U5a.js";
|
|
10
|
+
import { n as navMenuCloseKey, t as _sfc_main$12 } from "./NavDisclosure-DG4jls5z.js";
|
|
11
|
+
import { n as _sfc_main$14, t as _sfc_main$13 } from "./NavMenuItem-DIMQohIa.js";
|
|
12
|
+
import { t as _sfc_main$15 } from "./NavHeadingSurface-j2gzMVKt.js";
|
|
13
13
|
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, inject, nextTick, normalizeClass, normalizeProps, onMounted, openBlock, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, useId, useSlots, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
|
|
14
14
|
import "../styles/top-nav.css";
|
|
15
15
|
//#region src/TopNav/TopNav.vue
|
package/dist/TreeList/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TreeListItemData, c as TreeListVariant, i as TreeListDensity, n as useTreeFocus, o as TreeListProps, r as _default, s as TreeListSlots, t as UseTreeFocusOptions } from "../index-
|
|
1
|
+
import { a as TreeListItemData, c as TreeListVariant, i as TreeListDensity, n as useTreeFocus, o as TreeListProps, r as _default, s as TreeListSlots, t as UseTreeFocusOptions } from "../index-DneQgJfI.js";
|
|
2
2
|
export { _default as TreeList, type TreeListDensity, type TreeListItemData, type TreeListProps, type TreeListSlots, type TreeListVariant, type UseTreeFocusOptions, useTreeFocus };
|
package/dist/TreeList/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as useTreeFocus, t as _sfc_main } from "../TreeList-
|
|
1
|
+
import { n as useTreeFocus, t as _sfc_main } from "../TreeList-Dg5gtkOu.js";
|
|
2
2
|
export { _sfc_main as TreeList, useTreeFocus };
|