@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
package/styles/switch.css
CHANGED
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
.astryx-switch-row {
|
|
14
14
|
display: inline-flex;
|
|
15
15
|
align-items: center;
|
|
16
|
-
gap
|
|
16
|
+
/* 主题在 switch 目标上写的 gap 落在这里,见 theme/derivedVars.ts。 */
|
|
17
|
+
gap: var(--_switch-gap, var(--astryx-spacing-2, 8px));
|
|
17
18
|
}
|
|
18
19
|
|
|
19
20
|
.astryx-switch[data-label-spacing='spread'] > .astryx-switch-row {
|
package/styles/table.css
CHANGED
|
@@ -227,6 +227,11 @@
|
|
|
227
227
|
opacity: 0.35;
|
|
228
228
|
}
|
|
229
229
|
|
|
230
|
+
/* A theme that hides the sort glyph leaves no gap beside the label. */
|
|
231
|
+
.astryx-table__sort-icon:empty {
|
|
232
|
+
display: none;
|
|
233
|
+
}
|
|
234
|
+
|
|
230
235
|
.astryx-table th:hover .astryx-table__sort-icon,
|
|
231
236
|
.astryx-table__sort:focus-visible .astryx-table__sort-icon,
|
|
232
237
|
.astryx-table__sort-icon[data-active='true'] {
|
|
@@ -234,7 +239,7 @@
|
|
|
234
239
|
}
|
|
235
240
|
|
|
236
241
|
.astryx-table__sort-rank {
|
|
237
|
-
color: var(--astryx-color-accent, light-dark(#262626, #ebebeb));
|
|
242
|
+
color: var(--astryx-color-text-accent, light-dark(#262626, #ebebeb));
|
|
238
243
|
font-size: 10px;
|
|
239
244
|
line-height: 1;
|
|
240
245
|
}
|
|
@@ -526,6 +531,25 @@
|
|
|
526
531
|
transition: transform var(--astryx-duration-fast, 125ms) var(--astryx-ease-move, cubic-bezier(0.24, 1, 0.4, 1));
|
|
527
532
|
}
|
|
528
533
|
|
|
534
|
+
/*
|
|
535
|
+
* The row-expansion toggle holds whatever the theme's table-row-expand slot
|
|
536
|
+
* resolves in a box the size of the default glyph, centred out of flow. A
|
|
537
|
+
* larger glyph or a hidden one keeps the toggle's baseline and the row height.
|
|
538
|
+
* The box carries the turn, so any glyph turns with it.
|
|
539
|
+
*/
|
|
540
|
+
.astryx-table__chevron-icon--slot {
|
|
541
|
+
position: relative;
|
|
542
|
+
inline-size: 0.75rem;
|
|
543
|
+
block-size: 0.75rem;
|
|
544
|
+
flex-shrink: 0;
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
.astryx-table__chevron-icon--slot > .astryx-icon {
|
|
548
|
+
position: absolute;
|
|
549
|
+
inset: 0;
|
|
550
|
+
margin: auto;
|
|
551
|
+
}
|
|
552
|
+
|
|
529
553
|
.astryx-table__chevron-icon.is-expanded {
|
|
530
554
|
transform: rotate(90deg);
|
|
531
555
|
}
|
package/styles/text.css
CHANGED
|
@@ -7,6 +7,12 @@
|
|
|
7
7
|
font-family: var(--astryx-font-family-body, Figtree, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif);
|
|
8
8
|
font-size: var(--astryx-text-body-size, 0.875rem);
|
|
9
9
|
line-height: var(--astryx-text-body-leading, 1.4286);
|
|
10
|
+
/*
|
|
11
|
+
* 比一行还长的串(URL、ID)换行,不撑出横向滚动(WCAG 2.2 1.4.10)。
|
|
12
|
+
* break-word 不改最小内容宽度,表格和自适应列照旧排版;flex 子项仍要容器给 min-width: 0。
|
|
13
|
+
* 用 anywhere 换行的容器设置私有变量,里面的文字跟着用 anywhere。截断的类在后面会覆盖它。
|
|
14
|
+
*/
|
|
15
|
+
overflow-wrap: var(--_astryx-text-overflow-wrap, break-word);
|
|
10
16
|
}
|
|
11
17
|
|
|
12
18
|
.astryx-text--block {
|
|
@@ -139,6 +145,8 @@
|
|
|
139
145
|
|
|
140
146
|
.astryx-text--word-break-word {
|
|
141
147
|
overflow-wrap: anywhere;
|
|
148
|
+
/* Text 和 Heading 在里面也按 anywhere 换行。 */
|
|
149
|
+
--_astryx-text-overflow-wrap: anywhere;
|
|
142
150
|
word-break: break-word;
|
|
143
151
|
}
|
|
144
152
|
|
package/styles/thumbnail.css
CHANGED
|
@@ -70,6 +70,23 @@
|
|
|
70
70
|
overflow: hidden;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
+
/*
|
|
74
|
+
* 一次聚焦只画一个焦点环:图片容器替 Open 画,Open 自己不画。
|
|
75
|
+
* 聚焦 Remove 时容器也亮,Remove 自己的环可能落在照片上看不清。
|
|
76
|
+
*/
|
|
77
|
+
.astryx-thumbnail__open:focus-visible {
|
|
78
|
+
outline: none;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.astryx-thumbnail__frame:has(:focus-visible) {
|
|
82
|
+
outline: var(--astryx-focus-outline-width, 2px) var(--astryx-focus-outline-style, solid) var(--astryx-focus-outline-color, var(--astryx-color-accent));
|
|
83
|
+
outline-offset: var(--astryx-focus-outline-offset, 3px);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.astryx-thumbnail__open[aria-disabled='true'] {
|
|
87
|
+
cursor: default;
|
|
88
|
+
}
|
|
89
|
+
|
|
73
90
|
.astryx-thumbnail__open::after,
|
|
74
91
|
.astryx-thumbnail__frame[data-interactive='true']::after {
|
|
75
92
|
content: '';
|
|
@@ -101,6 +118,14 @@
|
|
|
101
118
|
transition-duration: 0s;
|
|
102
119
|
}
|
|
103
120
|
|
|
121
|
+
/* 减少动态效果时,悬停和按下的颜色立即切换。 */
|
|
122
|
+
@media (prefers-reduced-motion: reduce) {
|
|
123
|
+
.astryx-thumbnail__open::after,
|
|
124
|
+
.astryx-thumbnail__frame[data-interactive='true']::after {
|
|
125
|
+
transition-duration: 0s;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
104
129
|
.astryx-thumbnail__loading {
|
|
105
130
|
position: absolute;
|
|
106
131
|
inset: 0;
|
package/styles/toast.css
CHANGED
package/styles/toggle-button.css
CHANGED
|
@@ -64,4 +64,21 @@
|
|
|
64
64
|
background-color: Highlight;
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
|
+
|
|
68
|
+
/*
|
|
69
|
+
* 跟踪滑动时(触屏为主的设备上),沿着按钮排列方向的拖动留给滑动选按钮,另一个方向照常滚动页面,
|
|
70
|
+
* 按住也不选中文字、不弹系统菜单。
|
|
71
|
+
*/
|
|
72
|
+
.astryx-toggle-button-group[data-press-tracking] {
|
|
73
|
+
-webkit-touch-callout: none;
|
|
74
|
+
user-select: none;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.astryx-toggle-button-group[data-orientation='horizontal'][data-press-tracking] {
|
|
78
|
+
touch-action: pan-y pinch-zoom;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.astryx-toggle-button-group[data-orientation='vertical'][data-press-tracking] {
|
|
82
|
+
touch-action: pan-x pinch-zoom;
|
|
83
|
+
}
|
|
67
84
|
}
|
package/styles/token.css
CHANGED
|
@@ -87,10 +87,12 @@
|
|
|
87
87
|
align-items: center;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
+
/* 标签和两侧内容互相隔离,混排方向时不会把旁边的字符拉进来重排。 */
|
|
90
91
|
.astryx-token-label {
|
|
91
92
|
min-width: 0;
|
|
92
93
|
overflow: hidden;
|
|
93
94
|
text-overflow: ellipsis;
|
|
95
|
+
unicode-bidi: isolate;
|
|
94
96
|
}
|
|
95
97
|
|
|
96
98
|
.astryx-token-label.is-hidden {
|
|
@@ -150,11 +152,6 @@
|
|
|
150
152
|
}
|
|
151
153
|
}
|
|
152
154
|
|
|
153
|
-
.astryx-token.is-interactive:focus-within {
|
|
154
|
-
outline: var(--astryx-focus-outline-width, 2px) var(--astryx-focus-outline-style, solid) var(--astryx-focus-outline-color, var(--astryx-color-accent));
|
|
155
|
-
outline-offset: 1px;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
155
|
.astryx-token.is-disabled {
|
|
159
156
|
cursor: default;
|
|
160
157
|
opacity: 0.5;
|
|
@@ -172,15 +169,23 @@
|
|
|
172
169
|
}
|
|
173
170
|
}
|
|
174
171
|
|
|
175
|
-
/*
|
|
172
|
+
/*
|
|
173
|
+
* 不分层:文档页的 :focus-visible 会盖过分层里的 outline。
|
|
174
|
+
* 焦点环只画一个:token 自己的按钮或链接获得焦点时整颗 token 画环,删除按钮自己画环。
|
|
175
|
+
*/
|
|
176
176
|
.astryx-token-action:focus,
|
|
177
177
|
.astryx-token-action:focus-visible,
|
|
178
|
-
.astryx-token-remove:focus
|
|
179
|
-
.astryx-token-remove:focus-visible {
|
|
178
|
+
.astryx-token-remove:focus {
|
|
180
179
|
outline: none;
|
|
181
180
|
}
|
|
182
181
|
|
|
183
|
-
.astryx-token.is-interactive:focus-
|
|
182
|
+
.astryx-token.is-interactive:focus-visible,
|
|
183
|
+
.astryx-token.is-interactive:has(> .astryx-token-action:focus-visible) {
|
|
184
184
|
outline: var(--astryx-focus-outline-width, 2px) var(--astryx-focus-outline-style, solid) var(--astryx-focus-outline-color, var(--astryx-color-accent));
|
|
185
185
|
outline-offset: 1px;
|
|
186
186
|
}
|
|
187
|
+
|
|
188
|
+
.astryx-token-remove:focus-visible {
|
|
189
|
+
outline: var(--astryx-focus-outline-width, 2px) var(--astryx-focus-outline-style, solid) var(--astryx-focus-outline-color, var(--astryx-color-accent));
|
|
190
|
+
outline-offset: 0;
|
|
191
|
+
}
|
package/styles/toolbar.css
CHANGED
|
@@ -71,5 +71,24 @@
|
|
|
71
71
|
min-width: 0;
|
|
72
72
|
}
|
|
73
73
|
.astryx-toolbar__slot--end { justify-content: flex-end; margin-inline-start: auto; }
|
|
74
|
+
|
|
75
|
+
/*
|
|
76
|
+
* 只有首尾两条道时,每条道的控件尽量排在一行里,宽度以工具栏为上限。
|
|
77
|
+
* 两条道挤不下就整行换行,尾部那条挪到下一行,而不是把首部挤到标题折行、徽标被截。
|
|
78
|
+
* 尾部那条撑满它所在的行,换到下一行后控件仍然靠行尾。
|
|
79
|
+
*/
|
|
80
|
+
.astryx-toolbar--two-lane {
|
|
81
|
+
flex-wrap: wrap;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.astryx-toolbar--two-lane > .astryx-toolbar__slot--start,
|
|
85
|
+
.astryx-toolbar--two-lane > .astryx-toolbar__slot--end {
|
|
86
|
+
flex-wrap: wrap;
|
|
87
|
+
min-width: fit-content;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.astryx-toolbar--two-lane > .astryx-toolbar__slot--end {
|
|
91
|
+
flex-grow: 1;
|
|
92
|
+
}
|
|
74
93
|
.astryx-toolbar--centered .astryx-toolbar__slot--end { margin-inline-start: 0; }
|
|
75
94
|
}
|
package/dist/Badge-CjDQPF5g.js
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { computed, createElementBlock, createElementVNode, createTextVNode, defineComponent, openBlock, renderSlot, toDisplayString } from "vue";
|
|
2
|
-
import "../styles/badge.css";
|
|
3
|
-
//#region src/Badge/Badge.vue
|
|
4
|
-
const _hoisted_1 = ["data-variant", "title"];
|
|
5
|
-
const _hoisted_2 = { class: "astryx-badge__label" };
|
|
6
|
-
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
7
|
-
name: "Badge",
|
|
8
|
-
__name: "Badge",
|
|
9
|
-
props: {
|
|
10
|
-
variant: { default: "neutral" },
|
|
11
|
-
label: {}
|
|
12
|
-
},
|
|
13
|
-
setup(__props) {
|
|
14
|
-
const props = __props;
|
|
15
|
-
const labelTitle = computed(() => {
|
|
16
|
-
const label = props.label;
|
|
17
|
-
if (typeof label === "number") return String(label);
|
|
18
|
-
if (typeof label === "string" && label.length > 0) return label;
|
|
19
|
-
});
|
|
20
|
-
return (_ctx, _cache) => {
|
|
21
|
-
return openBlock(), createElementBlock("span", {
|
|
22
|
-
class: "astryx-badge",
|
|
23
|
-
"data-variant": __props.variant,
|
|
24
|
-
title: labelTitle.value
|
|
25
|
-
}, [renderSlot(_ctx.$slots, "icon"), createElementVNode("span", _hoisted_2, [renderSlot(_ctx.$slots, "default", {}, () => [createTextVNode(toDisplayString(__props.label), 1)])])], 8, _hoisted_1);
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
});
|
|
29
|
-
//#endregion
|
|
30
|
-
export { _sfc_main as t };
|
package/dist/Heading-D0zL1j5T.js
DELETED
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { n as useTruncation, t as truncatePlacement } from "./useTruncation-C02rA1-c.js";
|
|
2
|
-
import { t as _sfc_main$1 } from "./Tooltip-BfKegFfq.js";
|
|
3
|
-
import { computed, createBlock, defineComponent, mergeProps, openBlock, renderSlot, resolveDynamicComponent, unref, useAttrs, withCtx } from "vue";
|
|
4
|
-
import "../styles/heading.css";
|
|
5
|
-
//#region src/Heading/Heading.vue
|
|
6
|
-
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
7
|
-
inheritAttrs: false,
|
|
8
|
-
__name: "Heading",
|
|
9
|
-
props: {
|
|
10
|
-
level: {},
|
|
11
|
-
type: {},
|
|
12
|
-
color: { default: "primary" },
|
|
13
|
-
weight: {},
|
|
14
|
-
display: { default: "block" },
|
|
15
|
-
accessibilityLevel: {},
|
|
16
|
-
textWrap: {},
|
|
17
|
-
wordBreak: {},
|
|
18
|
-
justify: { default: "start" },
|
|
19
|
-
hasCapsize: {
|
|
20
|
-
type: Boolean,
|
|
21
|
-
default: false
|
|
22
|
-
},
|
|
23
|
-
hasStrikethrough: { type: Boolean },
|
|
24
|
-
maxLines: { default: 0 },
|
|
25
|
-
hasTruncateTooltip: {
|
|
26
|
-
type: [Boolean, String],
|
|
27
|
-
default: true
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
setup(__props) {
|
|
31
|
-
const props = __props;
|
|
32
|
-
const tag = computed(() => `h${props.level}`);
|
|
33
|
-
const placement = computed(() => props.maxLines > 0 ? truncatePlacement(props.hasTruncateTooltip) : null);
|
|
34
|
-
const wordBreak = computed(() => props.wordBreak ?? (props.maxLines === 1 ? "break-all" : props.maxLines > 1 ? "break-word" : void 0));
|
|
35
|
-
const truncation = useTruncation(computed(() => props.maxLines));
|
|
36
|
-
const ariaLevel = computed(() => props.accessibilityLevel != null && props.accessibilityLevel !== props.level ? props.accessibilityLevel : void 0);
|
|
37
|
-
const attrs = useAttrs();
|
|
38
|
-
const classes = computed(() => [
|
|
39
|
-
"astryx-heading",
|
|
40
|
-
`astryx-heading--level-${props.level}`,
|
|
41
|
-
props.type && `astryx-heading--type-${props.type}`,
|
|
42
|
-
`astryx-heading--color-${props.color}`,
|
|
43
|
-
props.weight && `astryx-heading--weight-${props.weight}`,
|
|
44
|
-
props.display === "inline" && props.maxLines === 0 && !props.hasCapsize && "astryx-heading--inline",
|
|
45
|
-
props.hasCapsize && "astryx-heading--capsize",
|
|
46
|
-
props.textWrap && `astryx-heading--wrap-${props.textWrap}`,
|
|
47
|
-
wordBreak.value && `astryx-heading--word-${wordBreak.value}`,
|
|
48
|
-
props.justify !== "start" && `astryx-heading--justify-${props.justify}`,
|
|
49
|
-
props.hasStrikethrough && "astryx-heading--strike",
|
|
50
|
-
props.maxLines === 1 && "astryx-heading--truncate-single",
|
|
51
|
-
props.maxLines > 1 && "astryx-heading--truncate-multi"
|
|
52
|
-
]);
|
|
53
|
-
const style = computed(() => {
|
|
54
|
-
if (props.maxLines > 1) return { WebkitLineClamp: props.maxLines };
|
|
55
|
-
return {};
|
|
56
|
-
});
|
|
57
|
-
return (_ctx, _cache) => {
|
|
58
|
-
return placement.value ? (openBlock(), createBlock(_sfc_main$1, {
|
|
59
|
-
key: 0,
|
|
60
|
-
"anchors-on-self": "",
|
|
61
|
-
"has-hover-indication": false,
|
|
62
|
-
content: unref(truncation).fullText.value,
|
|
63
|
-
"is-enabled": unref(truncation).isTruncated.value,
|
|
64
|
-
placement: placement.value
|
|
65
|
-
}, {
|
|
66
|
-
default: withCtx(() => [(openBlock(), createBlock(resolveDynamicComponent(tag.value), mergeProps({ ref: unref(truncation).bind }, unref(attrs), {
|
|
67
|
-
class: ["astryx-heading", classes.value],
|
|
68
|
-
style: style.value,
|
|
69
|
-
"aria-level": ariaLevel.value
|
|
70
|
-
}), {
|
|
71
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
72
|
-
_: 3
|
|
73
|
-
}, 16, [
|
|
74
|
-
"class",
|
|
75
|
-
"style",
|
|
76
|
-
"aria-level"
|
|
77
|
-
]))]),
|
|
78
|
-
_: 3
|
|
79
|
-
}, 8, [
|
|
80
|
-
"content",
|
|
81
|
-
"is-enabled",
|
|
82
|
-
"placement"
|
|
83
|
-
])) : (openBlock(), createBlock(resolveDynamicComponent(tag.value), mergeProps({ key: 1 }, unref(attrs), {
|
|
84
|
-
class: ["astryx-heading", classes.value],
|
|
85
|
-
style: style.value,
|
|
86
|
-
"aria-level": ariaLevel.value
|
|
87
|
-
}), {
|
|
88
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
89
|
-
_: 3
|
|
90
|
-
}, 16, [
|
|
91
|
-
"class",
|
|
92
|
-
"style",
|
|
93
|
-
"aria-level"
|
|
94
|
-
]));
|
|
95
|
-
};
|
|
96
|
-
}
|
|
97
|
-
});
|
|
98
|
-
//#endregion
|
|
99
|
-
export { _sfc_main as t };
|
package/dist/context-B6UElI5X.js
DELETED
package/dist/context-Cws_tXTr.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
//#region src/Theme/context.ts
|
|
2
|
-
const themeContextKey = Symbol("astryx-theme");
|
|
3
|
-
/** Present when this component is already inside a Theme. */
|
|
4
|
-
const themeNestingKey = Symbol("astryx-theme-nesting");
|
|
5
|
-
const mediaThemeKey = Symbol("astryx-media-theme");
|
|
6
|
-
//#endregion
|
|
7
|
-
export { themeContextKey as n, themeNestingKey as r, mediaThemeKey as t };
|
package/dist/context-IvbU9c3T.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
|
|
2
|
-
//#region src/InputGroup/context.ts
|
|
3
|
-
const INPUT_GROUP_KEY = defineLayerScopedKey("InputGroup", null);
|
|
4
|
-
function useInputGroupContext() {
|
|
5
|
-
return readLayerScoped(INPUT_GROUP_KEY);
|
|
6
|
-
}
|
|
7
|
-
//#endregion
|
|
8
|
-
export { useInputGroupContext as n, INPUT_GROUP_KEY as t };
|
package/dist/index-LySSG_PR.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { a as TextProps, c as TextType, i as TextJustify, n as TextColor, r as TextDisplay, s as TextTruncateTooltip, t as TextAs } from "./types-B8suOGP8.js";
|
|
2
|
-
//#region src/Text/Text.vue.d.ts
|
|
3
|
-
declare var __VLS_13: {}, __VLS_21: {};
|
|
4
|
-
type __VLS_Slots = {} & {
|
|
5
|
-
default?: (props: typeof __VLS_13) => any;
|
|
6
|
-
} & {
|
|
7
|
-
default?: (props: typeof __VLS_21) => any;
|
|
8
|
-
};
|
|
9
|
-
declare const __VLS_base: import("vue").DefineComponent<TextProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TextProps> & Readonly<{}>, {
|
|
10
|
-
type: TextType;
|
|
11
|
-
as: TextAs;
|
|
12
|
-
color: TextColor;
|
|
13
|
-
hasCapsize: boolean;
|
|
14
|
-
display: TextDisplay;
|
|
15
|
-
justify: TextJustify;
|
|
16
|
-
maxLines: number;
|
|
17
|
-
hasTruncateTooltip: TextTruncateTooltip;
|
|
18
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
20
|
-
declare const _default: typeof __VLS_export;
|
|
21
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
22
|
-
new (): {
|
|
23
|
-
$slots: S;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
//#endregion
|
|
27
|
-
export { _default as t };
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
//#region src/Icon/semantic.d.ts
|
|
2
|
-
/**
|
|
3
|
-
* Semantic name to Iconify id.
|
|
4
|
-
*
|
|
5
|
-
* The names describe the job (close, search, check). The id is the drawing.
|
|
6
|
-
* Lucide matches the upstream themes. A theme replaces any of these, or adds
|
|
7
|
-
* its own keys, through `defineTheme({ icons })`.
|
|
8
|
-
*
|
|
9
|
-
* The drawing is used only after that collection is registered. Until then
|
|
10
|
-
* the built-in glyph stays, so a missing collection does not blank the icon.
|
|
11
|
-
*
|
|
12
|
-
* `upload` is its own name, not `arrowUp`: a theme can redraw the upload
|
|
13
|
-
* affordance without changing sort arrows or the send button.
|
|
14
|
-
*/
|
|
15
|
-
declare const defaultSemanticIcons: {
|
|
16
|
-
readonly close: "lucide:x";
|
|
17
|
-
readonly chevronDown: "lucide:chevron-down";
|
|
18
|
-
readonly chevronLeft: "lucide:chevron-left";
|
|
19
|
-
readonly chevronRight: "lucide:chevron-right";
|
|
20
|
-
readonly chevronsLeft: "lucide:chevrons-left";
|
|
21
|
-
readonly chevronsRight: "lucide:chevrons-right";
|
|
22
|
-
readonly check: "lucide:check";
|
|
23
|
-
readonly success: "lucide:circle-check";
|
|
24
|
-
readonly error: "lucide:circle-x";
|
|
25
|
-
readonly warning: "lucide:triangle-alert";
|
|
26
|
-
readonly info: "lucide:info";
|
|
27
|
-
readonly calendar: "lucide:calendar";
|
|
28
|
-
readonly clock: "lucide:clock";
|
|
29
|
-
readonly externalLink: "lucide:external-link";
|
|
30
|
-
readonly menu: "lucide:menu";
|
|
31
|
-
readonly moreHorizontal: "lucide:ellipsis";
|
|
32
|
-
readonly search: "lucide:search";
|
|
33
|
-
readonly upload: "lucide:upload";
|
|
34
|
-
readonly arrowUp: "lucide:arrow-up";
|
|
35
|
-
readonly arrowDown: "lucide:arrow-down";
|
|
36
|
-
readonly arrowsUpDown: "lucide:arrow-up-down";
|
|
37
|
-
readonly funnel: "lucide:funnel";
|
|
38
|
-
readonly eyeSlash: "lucide:eye-off";
|
|
39
|
-
readonly viewColumns: "lucide:columns-3";
|
|
40
|
-
readonly copy: "lucide:copy";
|
|
41
|
-
readonly checkDouble: "lucide:check-check";
|
|
42
|
-
readonly wrench: "lucide:wrench";
|
|
43
|
-
readonly stop: "lucide:square";
|
|
44
|
-
readonly microphone: "lucide:mic";
|
|
45
|
-
readonly image: "lucide:image";
|
|
46
|
-
};
|
|
47
|
-
type SemanticIconMap = Readonly<Record<string, string>>;
|
|
48
|
-
/**
|
|
49
|
-
* The Iconify id for a semantic name.
|
|
50
|
-
*
|
|
51
|
-
* Theme entries win, including keys the package does not ship, such as a
|
|
52
|
-
* namespaced `numberInput:stepperDown`. An unknown name with no theme entry
|
|
53
|
-
* returns undefined, so a CSS class can still pass through `icon`.
|
|
54
|
-
*/
|
|
55
|
-
declare function resolveSemanticIcon(name: string | undefined, icons?: SemanticIconMap): string | undefined;
|
|
56
|
-
//#endregion
|
|
57
|
-
export { defaultSemanticIcons as n, resolveSemanticIcon as r, SemanticIconMap as t };
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
//#region src/composables/useClickableContainer.ts
|
|
2
|
-
/**
|
|
3
|
-
* 对应原版 Astryx 的 `hooks/useClickableContainer`。
|
|
4
|
-
*
|
|
5
|
-
* 让整块容器可点,同时把点在嵌套按钮、链接、输入框上的点击留给那些控件自己。
|
|
6
|
-
* ClickableCard 和 SelectableCard 都走这里,避免两套“点到谁算谁”的判断。
|
|
7
|
-
*/
|
|
8
|
-
const INTERACTIVE_SELECTORS = [
|
|
9
|
-
"button",
|
|
10
|
-
"a",
|
|
11
|
-
"input",
|
|
12
|
-
"select",
|
|
13
|
-
"textarea",
|
|
14
|
-
"[role=\"button\"]",
|
|
15
|
-
"[role=\"link\"]",
|
|
16
|
-
"[role=\"checkbox\"]",
|
|
17
|
-
"[role=\"radio\"]",
|
|
18
|
-
"[role=\"switch\"]",
|
|
19
|
-
"[role=\"tab\"]",
|
|
20
|
-
"[role=\"menuitem\"]",
|
|
21
|
-
"[role=\"option\"]",
|
|
22
|
-
"[role=\"combobox\"]",
|
|
23
|
-
"[role=\"listbox\"]",
|
|
24
|
-
"[role=\"slider\"]",
|
|
25
|
-
"[role=\"spinbutton\"]",
|
|
26
|
-
"[data-pressable-container]"
|
|
27
|
-
].join(",");
|
|
28
|
-
const NON_INTERACTIVE_SELECTORS = "[aria-readonly=\"true\"]";
|
|
29
|
-
function hasInteractiveAncestor(element, root) {
|
|
30
|
-
let current = element;
|
|
31
|
-
while (current != null && current !== root && current !== document.body) {
|
|
32
|
-
if (current.matches(INTERACTIVE_SELECTORS) && !current.matches(NON_INTERACTIVE_SELECTORS)) return true;
|
|
33
|
-
current = current.parentElement;
|
|
34
|
-
}
|
|
35
|
-
return false;
|
|
36
|
-
}
|
|
37
|
-
function hasTextSelection(node) {
|
|
38
|
-
if (typeof document === "undefined" || document.getSelection == null) return false;
|
|
39
|
-
const selection = document.getSelection();
|
|
40
|
-
if (selection == null || selection.isCollapsed) return false;
|
|
41
|
-
return node.contains(selection.anchorNode);
|
|
42
|
-
}
|
|
43
|
-
function openInNewTab(href) {
|
|
44
|
-
window.open(href, "_blank", "noopener");
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* 把容器的 click / mouseup 交给调用方绑到根元素上。
|
|
48
|
-
* 组件挂载后会给容器加上 `data-pressable-container`,嵌套的可点容器因此不会互相抢走点击。
|
|
49
|
-
*/
|
|
50
|
-
function useClickableContainer(options) {
|
|
51
|
-
function markContainer() {
|
|
52
|
-
const container = options.containerRef.value;
|
|
53
|
-
if (container != null) container.dataset.pressableContainer = "true";
|
|
54
|
-
}
|
|
55
|
-
function onClick(event) {
|
|
56
|
-
markContainer();
|
|
57
|
-
if (options.disabled) return;
|
|
58
|
-
const container = options.containerRef.value;
|
|
59
|
-
if (container == null) return;
|
|
60
|
-
if (hasTextSelection(container)) return;
|
|
61
|
-
const target = event.target;
|
|
62
|
-
if (!(target instanceof Element)) return;
|
|
63
|
-
if (target !== event.currentTarget && hasInteractiveAncestor(target, container)) return;
|
|
64
|
-
options.onClick?.(event);
|
|
65
|
-
if (event.defaultPrevented) return;
|
|
66
|
-
const href = options.href;
|
|
67
|
-
if (href != null && href !== "") {
|
|
68
|
-
if (options.target === "_blank" || event.metaKey || event.ctrlKey) {
|
|
69
|
-
openInNewTab(href);
|
|
70
|
-
return;
|
|
71
|
-
}
|
|
72
|
-
const interactive = options.interactiveRef?.value;
|
|
73
|
-
if (interactive != null) {
|
|
74
|
-
interactive.click();
|
|
75
|
-
return;
|
|
76
|
-
}
|
|
77
|
-
window.location.assign(href);
|
|
78
|
-
return;
|
|
79
|
-
}
|
|
80
|
-
if (options.onClick == null) {
|
|
81
|
-
const interactive = options.interactiveRef?.value;
|
|
82
|
-
if (interactive != null) {
|
|
83
|
-
interactive.dispatchEvent(new MouseEvent("click", {
|
|
84
|
-
bubbles: true,
|
|
85
|
-
cancelable: true,
|
|
86
|
-
button: event.button,
|
|
87
|
-
ctrlKey: event.ctrlKey,
|
|
88
|
-
metaKey: event.metaKey,
|
|
89
|
-
shiftKey: event.shiftKey,
|
|
90
|
-
altKey: event.altKey
|
|
91
|
-
}));
|
|
92
|
-
event.stopPropagation();
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
function onMouseUp(event) {
|
|
97
|
-
if (options.disabled) return;
|
|
98
|
-
const href = options.href;
|
|
99
|
-
if (href == null || href === "" || event.button !== 1) return;
|
|
100
|
-
const container = options.containerRef.value;
|
|
101
|
-
const target = event.target;
|
|
102
|
-
if (container == null || !(target instanceof Element)) return;
|
|
103
|
-
if (target !== event.currentTarget && hasInteractiveAncestor(target, container)) return;
|
|
104
|
-
openInNewTab(href);
|
|
105
|
-
}
|
|
106
|
-
return {
|
|
107
|
-
onClick,
|
|
108
|
-
onMouseUp
|
|
109
|
-
};
|
|
110
|
-
}
|
|
111
|
-
//#endregion
|
|
112
|
-
export { useClickableContainer as i, hasInteractiveAncestor as n, hasTextSelection as r, INTERACTIVE_SELECTORS as t };
|