@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,15 +1,16 @@
|
|
|
1
|
+
import { r as useInputGroupDisabled } from "./context-Bg7eSJ47.js";
|
|
1
2
|
import { i as useSize } from "./SizeContext-BbaF-SEx.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
3
|
+
import { n as _sfc_main$1 } from "./Button-DsjdehLZ.js";
|
|
4
|
+
import { t as _sfc_main$2 } from "./VisuallyHidden-cpmsV-0M.js";
|
|
4
5
|
import { t as _sfc_main$3 } from "./ButtonTooltip-CNKOQHYR.js";
|
|
5
6
|
import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
|
|
6
|
-
import { t as useInputContainer } from "./useInputContainer-
|
|
7
|
-
import { t as useInputStatusIcon } from "./useInputStatusIcon-
|
|
8
|
-
import { s as useAstryxMessages } from "./context-
|
|
7
|
+
import { t as useInputContainer } from "./useInputContainer-BpLtCA-U.js";
|
|
8
|
+
import { t as useInputStatusIcon } from "./useInputStatusIcon-DCnx00BM.js";
|
|
9
|
+
import { s as useAstryxMessages } from "./context-CV6TrhJY.js";
|
|
9
10
|
import { i as useAriaRequired } from "./context-Cfml4jaK.js";
|
|
10
|
-
import { t as _sfc_main$4 } from "./Field-
|
|
11
|
-
import { t as useFieldPartStyling } from "./fieldParts
|
|
12
|
-
import { t as _sfc_main$5 } from "./InputClearButton-
|
|
11
|
+
import { t as _sfc_main$4 } from "./Field-if5a58LO.js";
|
|
12
|
+
import { t as useFieldPartStyling } from "./fieldParts-CDOlBdy6.js";
|
|
13
|
+
import { t as _sfc_main$5 } from "./InputClearButton-DhvxPkK6.js";
|
|
13
14
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onMounted, openBlock, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, toRaw, unref, useAttrs, useId, useModel, useTemplateRef, watch, withCtx } from "vue";
|
|
14
15
|
import "../styles/text-input.css";
|
|
15
16
|
//#region src/TextInput/useTextInputAction.ts
|
|
@@ -175,6 +176,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
175
176
|
const props = __props;
|
|
176
177
|
const emit = __emit;
|
|
177
178
|
const size = useSize(() => props.size, "md");
|
|
179
|
+
const disabled = useInputGroupDisabled(() => props.isDisabled);
|
|
178
180
|
const ariaRequired = useAriaRequired(props);
|
|
179
181
|
const messages = useAstryxMessages();
|
|
180
182
|
const model = useModel(__props, "modelValue");
|
|
@@ -186,7 +188,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
186
188
|
const isComposing = shallowRef(false);
|
|
187
189
|
const disabledDescriptionId = `${generatedId}-disabled`;
|
|
188
190
|
const disabledTooltipId = `${generatedId}-tooltip`;
|
|
189
|
-
const showsDisabledMessage = computed(() =>
|
|
191
|
+
const showsDisabledMessage = computed(() => disabled.value && !!props.disabledMessage?.trim());
|
|
190
192
|
const disabledTooltip = useButtonTooltip(showsDisabledMessage);
|
|
191
193
|
const icon = computed(() => props.startIcon ? toRaw(props.startIcon) : void 0);
|
|
192
194
|
const action = useTextInputAction({
|
|
@@ -244,7 +246,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
244
246
|
return [labelId, attrs["aria-labelledby"]].filter(Boolean).join(" ");
|
|
245
247
|
}
|
|
246
248
|
function acceptInput(event) {
|
|
247
|
-
if (
|
|
249
|
+
if (disabled.value || props.isReadOnly) {
|
|
248
250
|
if (input.value) input.value.value = action.value.value;
|
|
249
251
|
return;
|
|
250
252
|
}
|
|
@@ -259,10 +261,10 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
259
261
|
function keydown(event) {
|
|
260
262
|
emit("keydown", event);
|
|
261
263
|
if (event.key === "Escape") disabledTooltip.hideImmediately();
|
|
262
|
-
if (!
|
|
264
|
+
if (!disabled.value && !event.defaultPrevented && event.key === "Enter" && !isComposing.value && !event.isComposing && event.keyCode !== 229) emit("enter", event);
|
|
263
265
|
}
|
|
264
266
|
async function clear(event) {
|
|
265
|
-
if (
|
|
267
|
+
if (disabled.value || props.isReadOnly) return;
|
|
266
268
|
action.commit("", event);
|
|
267
269
|
emit("clear", event);
|
|
268
270
|
await nextTick();
|
|
@@ -276,7 +278,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
276
278
|
const inputContainer = useInputContainer({
|
|
277
279
|
containerRef: container,
|
|
278
280
|
inputRef: input,
|
|
279
|
-
disabled: () =>
|
|
281
|
+
disabled: () => disabled.value
|
|
280
282
|
});
|
|
281
283
|
onMounted(() => {
|
|
282
284
|
if (props.hasAutoFocus) focus({ preventScroll: true });
|
|
@@ -289,7 +291,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
289
291
|
description: __props.description,
|
|
290
292
|
width: __props.width,
|
|
291
293
|
"is-label-hidden": __props.isLabelHidden,
|
|
292
|
-
"is-disabled":
|
|
294
|
+
"is-disabled": unref(disabled),
|
|
293
295
|
"is-optional": __props.isOptional,
|
|
294
296
|
"is-required": __props.isRequired,
|
|
295
297
|
"label-icon": __props.labelIcon,
|
|
@@ -308,7 +310,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
308
310
|
style: normalizeStyle(unref(parts).controlStyle()),
|
|
309
311
|
"data-size": unref(size),
|
|
310
312
|
"data-status": __props.status?.type,
|
|
311
|
-
"data-disabled":
|
|
313
|
+
"data-disabled": unref(disabled) || void 0,
|
|
312
314
|
"data-readonly": __props.isReadOnly || void 0,
|
|
313
315
|
onClick: _cache[3] || (_cache[3] = (...args) => unref(inputContainer).onClick && unref(inputContainer).onClick(...args)),
|
|
314
316
|
onMouseup: _cache[4] || (_cache[4] = (...args) => unref(inputContainer).onMouseUp && unref(inputContainer).onMouseUp(...args)),
|
|
@@ -324,9 +326,9 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
324
326
|
type: __props.type,
|
|
325
327
|
value: unref(action).value.value,
|
|
326
328
|
placeholder: __props.placeholder,
|
|
327
|
-
name:
|
|
329
|
+
name: unref(disabled) ? void 0 : __props.htmlName ?? inputAttrs().name,
|
|
328
330
|
autocomplete: __props.autoComplete ?? inputAttrs().autocomplete,
|
|
329
|
-
disabled:
|
|
331
|
+
disabled: unref(disabled) && !showsDisabledMessage.value,
|
|
330
332
|
readonly: __props.isReadOnly || showsDisabledMessage.value,
|
|
331
333
|
"aria-disabled": showsDisabledMessage.value || void 0,
|
|
332
334
|
"aria-busy": busy.value || void 0,
|
|
@@ -343,12 +345,12 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
343
345
|
onBlur: _cache[2] || (_cache[2] = (...args) => unref(disabledTooltip).onBlur && unref(disabledTooltip).onBlur(...args))
|
|
344
346
|
}), null, 16, _hoisted_3),
|
|
345
347
|
_ctx.$slots.end ? (openBlock(), createElementBlock("span", _hoisted_4, [renderSlot(_ctx.$slots, "end")])) : createCommentVNode("v-if", true),
|
|
346
|
-
__props.hasClear && unref(action).value.value && !
|
|
348
|
+
__props.hasClear && unref(action).value.value && !unref(disabled) && !__props.isReadOnly ? (openBlock(), createBlock(_sfc_main$5, {
|
|
347
349
|
key: 2,
|
|
348
350
|
label: resolvedClearLabel.value,
|
|
349
351
|
onClick: clear
|
|
350
352
|
}, null, 8, ["label"])) : createCommentVNode("v-if", true),
|
|
351
|
-
busy.value ? (openBlock(), createBlock(_sfc_main$
|
|
353
|
+
busy.value ? (openBlock(), createBlock(_sfc_main$1, {
|
|
352
354
|
key: 3,
|
|
353
355
|
class: "astryx-text-input-spinner",
|
|
354
356
|
label: __props.loadingLabel
|
|
@@ -378,7 +380,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
378
380
|
"class",
|
|
379
381
|
"style"
|
|
380
382
|
]),
|
|
381
|
-
showsDisabledMessage.value ? (openBlock(), createBlock(_sfc_main$
|
|
383
|
+
showsDisabledMessage.value ? (openBlock(), createBlock(_sfc_main$2, {
|
|
382
384
|
key: 0,
|
|
383
385
|
id: disabledDescriptionId
|
|
384
386
|
}, {
|
package/dist/Theme/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
import { a as _default$1, c as isDefinedTheme, d as DATA_TOKEN_DEFAULTS, f as DataTokenName, i as useMediaTheme, l as neutralTheme, n as useTheme, o as _default, r as UseMediaThemeReturn, s as defineTheme, t as UseThemeReturn, u as normalizeTokenName } from "../index-
|
|
1
|
+
import { A as expandMotionScale, C as WidthBreakpointName, D as RadiusScaleConfig, E as expandTypeScale, M as expandColorScale, O as expandRadiusScale, S as WIDTH_BREAKPOINT_NAMES, T as TypeScaleConfig, _ as ThemeAdaptationRule, a as StyleOverrides, b as ThemeAdaptationWidthCondition, c as ThemeMode, d as ThemeTokenValue, f as ThemeTokens, g as ThemeAdaptationCondition, h as DEFAULT_WIDTH_BREAKPOINTS, i as MediaThemeProps, j as ColorScaleConfig, k as MotionScaleConfig, l as ThemeProps, m as TypographyRole, n as DefineThemeInput, o as ThemeDefinition, p as TypographyConfig, r as MediaThemeMode, t as ComponentStyleMap, u as ThemeSurfaceInput, v as ThemeAdaptationTypographyConfig, w as WidthBreakpoints, x as ThemeAdaptations, y as ThemeAdaptationValue } from "../types-Bq4Yl6CS.js";
|
|
2
|
+
import { a as _default$1, c as isDefinedTheme, d as DATA_TOKEN_DEFAULTS, f as DataTokenName, i as useMediaTheme, l as neutralTheme, n as useTheme, o as _default, r as UseMediaThemeReturn, s as defineTheme, t as UseThemeReturn, u as normalizeTokenName } from "../index-CbNLiaWw.js";
|
|
3
3
|
export { type ColorScaleConfig, type ComponentStyleMap, DATA_TOKEN_DEFAULTS, DEFAULT_WIDTH_BREAKPOINTS, type DataTokenName, type DefineThemeInput, _default as MediaTheme, type MediaThemeMode, type MediaThemeProps, type MotionScaleConfig, type RadiusScaleConfig, type StyleOverrides, _default$1 as Theme, type ThemeAdaptationCondition, type ThemeAdaptationRule, type ThemeAdaptationTypographyConfig, type ThemeAdaptationValue, type ThemeAdaptationWidthCondition, type ThemeAdaptations, type ThemeDefinition, type ThemeMode, type ThemeProps, type ThemeSurfaceInput, type ThemeTokenValue, type ThemeTokens, type TypeScaleConfig, type TypographyConfig, type TypographyRole, type UseMediaThemeReturn, type UseThemeReturn, WIDTH_BREAKPOINT_NAMES, type WidthBreakpointName, type WidthBreakpoints, defineTheme, expandColorScale, expandMotionScale, expandRadiusScale, expandTypeScale, isDefinedTheme, neutralTheme, normalizeTokenName, useMediaTheme, useTheme };
|
package/dist/Theme/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as neutralTheme, c as expandMotionScale, d as WIDTH_BREAKPOINT_NAMES, i as isDefinedTheme, l as expandColorScale, n as _sfc_main$1, o as expandTypeScale, r as defineTheme, s as expandRadiusScale, t as useMediaTheme, u as DEFAULT_WIDTH_BREAKPOINTS } from "../Theme-
|
|
2
|
-
import { a as normalizeTokenName, l as DATA_TOKEN_DEFAULTS, n as useTheme, t as _sfc_main } from "../MediaTheme-
|
|
1
|
+
import { a as neutralTheme, c as expandMotionScale, d as WIDTH_BREAKPOINT_NAMES, i as isDefinedTheme, l as expandColorScale, n as _sfc_main$1, o as expandTypeScale, r as defineTheme, s as expandRadiusScale, t as useMediaTheme, u as DEFAULT_WIDTH_BREAKPOINTS } from "../Theme-BQe--DY6.js";
|
|
2
|
+
import { a as normalizeTokenName, l as DATA_TOKEN_DEFAULTS, n as useTheme, t as _sfc_main } from "../MediaTheme-Bt7WBTkq.js";
|
|
3
3
|
export { DATA_TOKEN_DEFAULTS, DEFAULT_WIDTH_BREAKPOINTS, _sfc_main as MediaTheme, _sfc_main$1 as Theme, WIDTH_BREAKPOINT_NAMES, defineTheme, expandColorScale, expandMotionScale, expandRadiusScale, expandTypeScale, isDefinedTheme, neutralTheme, normalizeTokenName, useMediaTheme, useTheme };
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { n as
|
|
1
|
+
import { c as themeNestingKey, n as resolveIconEntryVariants, o as mediaThemeKey, s as themeContextKey, t as readThemeIconIds } from "./themeIcons-CqGF0fwW.js";
|
|
2
|
+
import { n as observeResize } from "./sharedResizeObserver-BekhnB3E.js";
|
|
3
|
+
import { r as staticComponentIcons, t as mergeComponentIcons } from "./componentIcons-CFr2L6o3.js";
|
|
2
4
|
import { a as syntaxThemeStyle } from "./syntaxTheme-R7xnu5x5.js";
|
|
3
5
|
import { t as syntaxThemeKey } from "./syntaxContext-DmIfNNtb.js";
|
|
4
|
-
import { a as normalizeTokenName, c as parseColor, i as isPortableTokenName, o as prefixTokenReferences, r as bridgeComponentTokens, s as contrastRatio } from "./MediaTheme-
|
|
5
|
-
import { t as observeResize } from "./sharedResizeObserver-9EFWnSWH.js";
|
|
6
|
+
import { a as normalizeTokenName, c as parseColor, i as isPortableTokenName, o as prefixTokenReferences, r as bridgeComponentTokens, s as contrastRatio } from "./MediaTheme-Bt7WBTkq.js";
|
|
6
7
|
import { computed, createBlock, createCommentVNode, createElementBlock, defineComponent, h, inject, markRaw, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, openBlock, provide, renderSlot, unref, useAttrs, useTemplateRef, watch } from "vue";
|
|
7
8
|
import "../styles/theme.css";
|
|
8
9
|
//#region src/Theme/adaptationTypes.ts
|
|
@@ -1340,6 +1341,11 @@ const DERIVED_VARS = {
|
|
|
1340
1341
|
property: "padding",
|
|
1341
1342
|
expand: "container"
|
|
1342
1343
|
}],
|
|
1344
|
+
"checkbox-input": [{
|
|
1345
|
+
property: "gap",
|
|
1346
|
+
vars: ["--_checkbox-input-gap"],
|
|
1347
|
+
replaces: true
|
|
1348
|
+
}],
|
|
1343
1349
|
"chat": [{
|
|
1344
1350
|
property: "borderRadius",
|
|
1345
1351
|
vars: ["--_chat-composer-radius"]
|
|
@@ -1368,6 +1374,13 @@ const DERIVED_VARS = {
|
|
|
1368
1374
|
property: "padding",
|
|
1369
1375
|
vars: ["--_dropdown-menu-padding"]
|
|
1370
1376
|
}],
|
|
1377
|
+
"icon": [{
|
|
1378
|
+
property: "width",
|
|
1379
|
+
vars: ["--_icon-width"]
|
|
1380
|
+
}, {
|
|
1381
|
+
property: "height",
|
|
1382
|
+
vars: ["--_icon-height"]
|
|
1383
|
+
}],
|
|
1371
1384
|
"progress-bar-mark": [{
|
|
1372
1385
|
property: "width",
|
|
1373
1386
|
vars: ["--_progressbar-mark-width"]
|
|
@@ -1381,6 +1394,11 @@ const DERIVED_VARS = {
|
|
|
1381
1394
|
}, {
|
|
1382
1395
|
property: "padding",
|
|
1383
1396
|
vars: ["--_segmented-control-padding"]
|
|
1397
|
+
}],
|
|
1398
|
+
"switch": [{
|
|
1399
|
+
property: "gap",
|
|
1400
|
+
vars: ["--_switch-gap"],
|
|
1401
|
+
replaces: true
|
|
1384
1402
|
}]
|
|
1385
1403
|
};
|
|
1386
1404
|
const PADDING_PROPS = /* @__PURE__ */ new Set([
|
|
@@ -1453,20 +1471,23 @@ function entriesFor(component, property) {
|
|
|
1453
1471
|
* Lower one rule's declarations through the component's derived variables.
|
|
1454
1472
|
*
|
|
1455
1473
|
* Input and output are `[camelCase or custom property, value]` pairs. A
|
|
1456
|
-
* container-expanded padding
|
|
1457
|
-
* derived variable is written next to the
|
|
1474
|
+
* container-expanded padding, or an entry marked `replaces`, takes the place
|
|
1475
|
+
* of the property; every other derived variable is written next to the
|
|
1476
|
+
* property it mirrors.
|
|
1458
1477
|
*/
|
|
1459
1478
|
function applyDerivedVars(component, declarations) {
|
|
1460
1479
|
const derived = [];
|
|
1461
1480
|
const padding = [];
|
|
1481
|
+
const replaced = /* @__PURE__ */ new Set();
|
|
1462
1482
|
for (const [property, value] of declarations) for (const entry of entriesFor(component, property)) {
|
|
1463
1483
|
if (entry.expand === "container") padding.push([property, value]);
|
|
1484
|
+
if (entry.replaces || entry.expand === "container") replaced.add(property);
|
|
1464
1485
|
for (const name of entry.vars ?? []) derived.push([name, value]);
|
|
1465
1486
|
}
|
|
1466
|
-
|
|
1467
|
-
|
|
1487
|
+
const kept = declarations.filter(([property]) => !replaced.has(property)).map(([p, v]) => [p, v]);
|
|
1488
|
+
if (padding.length === 0) return [...kept, ...derived];
|
|
1468
1489
|
return [
|
|
1469
|
-
...
|
|
1490
|
+
...kept,
|
|
1470
1491
|
...containerPadding(component, parsePadding(padding)),
|
|
1471
1492
|
...derived
|
|
1472
1493
|
];
|
|
@@ -2432,7 +2453,12 @@ function defineTheme(input) {
|
|
|
2432
2453
|
};
|
|
2433
2454
|
const onDarkComponents = mergeComponentMaps(base?.onDarkComponents, input.onDark?.components);
|
|
2434
2455
|
const onLightComponents = mergeComponentMaps(base?.onLightComponents, input.onLight?.components);
|
|
2435
|
-
const
|
|
2456
|
+
const ownIcons = input.icons;
|
|
2457
|
+
const iconEntries = mergeMaps(base?.iconEntries ?? base?.icons, ownIcons);
|
|
2458
|
+
const icons = readThemeIconIds(iconEntries);
|
|
2459
|
+
const iconVariants = input.iconVariants !== void 0 ? [...input.iconVariants] : base?.iconVariants;
|
|
2460
|
+
const iconEntryVariants = resolveIconEntryVariants(iconEntries, ownIcons, base, iconVariants);
|
|
2461
|
+
const componentIconValues = mergeComponentIcons(base?.componentIconValues, input.componentIcons);
|
|
2436
2462
|
const indicators = sealIndicators(mergeMaps(base?.indicators, input.indicators));
|
|
2437
2463
|
const css = compileThemeCss({
|
|
2438
2464
|
name: input.name,
|
|
@@ -2458,6 +2484,13 @@ function defineTheme(input) {
|
|
|
2458
2484
|
...onLightComponents ? { onLightComponents } : {},
|
|
2459
2485
|
syntax: input.syntax ?? base?.syntax,
|
|
2460
2486
|
...icons ? { icons } : {},
|
|
2487
|
+
...iconEntries ? { iconEntries } : {},
|
|
2488
|
+
...iconVariants !== void 0 ? { iconVariants } : {},
|
|
2489
|
+
...iconEntryVariants ? { iconEntryVariants } : {},
|
|
2490
|
+
...componentIconValues ? {
|
|
2491
|
+
componentIcons: staticComponentIcons(componentIconValues),
|
|
2492
|
+
componentIconValues
|
|
2493
|
+
} : {},
|
|
2461
2494
|
...indicators ? { indicators } : {},
|
|
2462
2495
|
...components ? { components } : {},
|
|
2463
2496
|
...css ? { css } : {},
|
package/dist/Thumbnail/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Thumbnail-
|
|
1
|
+
import { t as _sfc_main } from "../Thumbnail-CZOWP5HN.js";
|
|
2
2
|
export { _sfc_main as Thumbnail };
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { t as usePressFeedback } from "./usePressFeedback-
|
|
2
|
-
import { t as _sfc_main$1 } from "./Icon-
|
|
3
|
-
import { t as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { t as _sfc_main$
|
|
1
|
+
import { t as usePressFeedback } from "./usePressFeedback-Bcjsw9vv.js";
|
|
2
|
+
import { t as _sfc_main$1 } from "./Icon-BCHo7W0x.js";
|
|
3
|
+
import { t as useAnnounce } from "./announce-B210eJVf.js";
|
|
4
|
+
import { t as _sfc_main$2 } from "./IconButton-Crtfruc0.js";
|
|
5
|
+
import { s as useAstryxMessages } from "./context-CV6TrhJY.js";
|
|
6
|
+
import { t as _sfc_main$3 } from "./Tooltip-CGHpFMnc.js";
|
|
7
|
+
import { t as _sfc_main$4 } from "./Spinner-ke63bQPv.js";
|
|
7
8
|
import { t as _sfc_main$5 } from "./Skeleton-CrgWxJgr.js";
|
|
8
9
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, normalizeClass, normalizeStyle, openBlock, ref, unref, watch, withCtx } from "vue";
|
|
9
10
|
import "../styles/thumbnail.css";
|
|
10
11
|
//#region src/Thumbnail/Thumbnail.vue
|
|
11
12
|
const _hoisted_1 = ["data-disabled", "aria-label"];
|
|
12
13
|
const _hoisted_2 = { class: "astryx-thumbnail__frame" };
|
|
13
|
-
const _hoisted_3 = ["aria-label"];
|
|
14
|
+
const _hoisted_3 = ["aria-label", "aria-disabled"];
|
|
14
15
|
const _hoisted_4 = [
|
|
15
16
|
"src",
|
|
16
17
|
"alt",
|
|
@@ -77,20 +78,43 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
77
78
|
const showSkeleton = computed(() => props.isLoading && !hasSrc.value);
|
|
78
79
|
const showImage = computed(() => hasSrc.value && !showSkeleton.value && !hasError.value);
|
|
79
80
|
const showUpload = computed(() => props.isLoading && hasSrc.value);
|
|
81
|
+
/**
|
|
82
|
+
* 上传时的转圈只是装饰,对读屏隐藏;缩略图自己在每次开始忙时用共享的播报通道
|
|
83
|
+
* 说一次「加载中」。和文字同时出生的 status 区域,很多读屏软件不会念。
|
|
84
|
+
*/
|
|
85
|
+
const announce = useAnnounce();
|
|
86
|
+
watch(showUpload, (isUploading) => {
|
|
87
|
+
if (isUploading) announce(messages.value.spinner.loading);
|
|
88
|
+
}, { immediate: true });
|
|
80
89
|
const showPlaceholder = computed(() => !props.isLoading && !hasSrc.value || Boolean(hasError.value));
|
|
81
90
|
const accessibleName = computed(() => {
|
|
82
91
|
if (props.label && props.alt) return `${props.label} — ${props.alt}`;
|
|
83
92
|
return props.label ?? props.alt ?? messages.value.thumbnail.fallbackName;
|
|
84
93
|
});
|
|
94
|
+
/**
|
|
95
|
+
* Open 和 Remove 在不能操作时仍然挂着:可以聚焦,读屏念出「已禁用」,但什么都不调用。
|
|
96
|
+
* 拿掉它们会让正在上面的键盘焦点掉到页面 body。
|
|
97
|
+
*/
|
|
98
|
+
const hasOpen = computed(() => hasListener("onClick"));
|
|
99
|
+
const canOpen = computed(() => !props.isDisabled && !props.isLoading);
|
|
85
100
|
function onImageError() {
|
|
86
101
|
failedSrc.value = props.src;
|
|
87
102
|
}
|
|
88
103
|
function onOpen(event) {
|
|
104
|
+
if (!canOpen.value) {
|
|
105
|
+
event.preventDefault();
|
|
106
|
+
event.stopPropagation();
|
|
107
|
+
return;
|
|
108
|
+
}
|
|
89
109
|
emit("click", event);
|
|
90
110
|
}
|
|
111
|
+
/** 不能操作的 Open 上,Enter 和空格不派发点击。 */
|
|
112
|
+
function onOpenKeydown(event) {
|
|
113
|
+
if (!canOpen.value && (event.key === "Enter" || event.key === " ")) event.preventDefault();
|
|
114
|
+
}
|
|
91
115
|
function onRemove(event) {
|
|
92
116
|
event.stopPropagation();
|
|
93
|
-
emit("remove", event);
|
|
117
|
+
if (!props.isDisabled) emit("remove", event);
|
|
94
118
|
}
|
|
95
119
|
return (_ctx, _cache) => {
|
|
96
120
|
return openBlock(), createBlock(_sfc_main$3, {
|
|
@@ -105,13 +129,15 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
105
129
|
role: "group",
|
|
106
130
|
"aria-label": accessibleName.value
|
|
107
131
|
}, [createElementVNode("div", _hoisted_2, [
|
|
108
|
-
|
|
132
|
+
hasOpen.value ? (openBlock(), createElementBlock("button", mergeProps({
|
|
109
133
|
key: 0,
|
|
110
134
|
type: "button"
|
|
111
|
-
}, unref(press).pressableProps, {
|
|
135
|
+
}, canOpen.value ? unref(press).pressableProps : {}, {
|
|
112
136
|
class: "astryx-thumbnail__open",
|
|
113
137
|
"aria-label": unref(messages).thumbnail.open(accessibleName.value),
|
|
114
|
-
|
|
138
|
+
"aria-disabled": canOpen.value ? void 0 : "true",
|
|
139
|
+
onClick: onOpen,
|
|
140
|
+
onKeydown: onOpenKeydown
|
|
115
141
|
}), [showImage.value ? (openBlock(), createElementBlock("img", {
|
|
116
142
|
key: 0,
|
|
117
143
|
class: "astryx-thumbnail__image",
|
|
@@ -138,9 +164,10 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
138
164
|
showImage.value ? (openBlock(), createElementBlock("span", _hoisted_8)) : createCommentVNode("v-if", true),
|
|
139
165
|
showUpload.value ? (openBlock(), createElementBlock("span", _hoisted_9, [createVNode(_sfc_main$4, {
|
|
140
166
|
size: "sm",
|
|
141
|
-
shade: "onMedia"
|
|
167
|
+
shade: "onMedia",
|
|
168
|
+
"aria-hidden": "true"
|
|
142
169
|
})])) : createCommentVNode("v-if", true),
|
|
143
|
-
hasListener("onRemove")
|
|
170
|
+
hasListener("onRemove") ? (openBlock(), createElementBlock("span", {
|
|
144
171
|
key: 4,
|
|
145
172
|
class: "astryx-thumbnail__remove",
|
|
146
173
|
"data-reveal": __props.showRemoveOn
|
|
@@ -148,6 +175,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
148
175
|
variant: "secondary",
|
|
149
176
|
size: "sm",
|
|
150
177
|
label: unref(messages).thumbnail.remove(accessibleName.value),
|
|
178
|
+
"is-disabled": __props.isDisabled,
|
|
151
179
|
onClick: onRemove
|
|
152
180
|
}, {
|
|
153
181
|
default: withCtx(() => [createVNode(_sfc_main$1, {
|
|
@@ -155,7 +183,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
155
183
|
size: "sm"
|
|
156
184
|
})]),
|
|
157
185
|
_: 1
|
|
158
|
-
}, 8, ["label"])], 8, _hoisted_10)) : createCommentVNode("v-if", true)
|
|
186
|
+
}, 8, ["label", "is-disabled"])], 8, _hoisted_10)) : createCommentVNode("v-if", true)
|
|
159
187
|
])], 14, _hoisted_1)]),
|
|
160
188
|
_: 1
|
|
161
189
|
}, 8, ["content", "is-enabled"]);
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { n as _sfc_main$2 } from "./BottomSheet-
|
|
2
|
-
import { t as _sfc_main$3 } from "./Icon-
|
|
1
|
+
import { n as _sfc_main$2 } from "./BottomSheet-CgOzQHaA.js";
|
|
2
|
+
import { t as _sfc_main$3 } from "./Icon-BCHo7W0x.js";
|
|
3
|
+
import { n as usePositionedLayer, t as useDismiss } from "./useDismiss-0-Z-9D0A.js";
|
|
4
|
+
import { a as isImeKeyEvent } from "./layerDepth-CNDh-IHb.js";
|
|
3
5
|
import { t as _sfc_main$4 } from "./VisuallyHidden-cpmsV-0M.js";
|
|
4
6
|
import { t as _sfc_main$5 } from "./ButtonTooltip-CNKOQHYR.js";
|
|
5
7
|
import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
|
|
6
8
|
import { t as useMediaQuery } from "./useMediaQuery-GMmgp28-.js";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { t as _sfc_main$7 } from "./IconButton-B6AQLlx9.js";
|
|
11
|
-
import { s as useAstryxMessages } from "./context-BLSiTojH.js";
|
|
9
|
+
import { t as _sfc_main$6 } from "./FieldIcon-DMtfe1Ne.js";
|
|
10
|
+
import { t as _sfc_main$7 } from "./IconButton-Crtfruc0.js";
|
|
11
|
+
import { s as useAstryxMessages } from "./context-CV6TrhJY.js";
|
|
12
12
|
import { a as parseISOTime, i as parseDisplayTime, n as formatISOTime, o as resolveTimeSurface, r as isTimeInRange, s as shiftTime, t as formatDisplayTime } from "./useTimeValue-BJd0xBhG.js";
|
|
13
13
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
14
|
-
import { t as _sfc_main$8 } from "./Spinner-
|
|
14
|
+
import { t as _sfc_main$8 } from "./Spinner-ke63bQPv.js";
|
|
15
15
|
import { i as useAriaRequired } from "./context-Cfml4jaK.js";
|
|
16
16
|
import { t as _sfc_main$9 } from "./PickerWheel-CSwUYfes.js";
|
|
17
17
|
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, nextTick, normalizeClass, normalizeStyle, openBlock, renderList, shallowRef, toDisplayString, unref, useAttrs, useId, useModel, useTemplateRef, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { at as TimeInputSize, it as TimeInputProps, nt as _default, rt as TimeInputEmits } from "../index-
|
|
1
|
+
import { at as TimeInputSize, it as TimeInputProps, nt as _default, rt as TimeInputEmits } from "../index-DFDadgys.js";
|
|
2
2
|
export { _default as TimeInput, type TimeInputEmits, type TimeInputProps, type TimeInputSize };
|
package/dist/TimeInput/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../TimeInput-
|
|
1
|
+
import { t as _sfc_main } from "../TimeInput-D9kvMQso.js";
|
|
2
2
|
export { _sfc_main as TimeInput };
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { r as useInputGroupDisabled } from "./context-Bg7eSJ47.js";
|
|
1
2
|
import { i as useSize } from "./SizeContext-BbaF-SEx.js";
|
|
2
3
|
import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
|
|
3
|
-
import { t as _sfc_main$1 } from "./Field-
|
|
4
|
-
import { t as useFieldPartStyling } from "./fieldParts
|
|
5
|
-
import { t as _sfc_main$2 } from "./TimeField-
|
|
4
|
+
import { t as _sfc_main$1 } from "./Field-if5a58LO.js";
|
|
5
|
+
import { t as useFieldPartStyling } from "./fieldParts-CDOlBdy6.js";
|
|
6
|
+
import { t as _sfc_main$2 } from "./TimeField-ByoS5s_I.js";
|
|
6
7
|
import { computed, createBlock, createVNode, defineComponent, mergeModels, mergeProps, normalizeClass, normalizeStyle, openBlock, unref, useAttrs, useId, useModel, withCtx } from "vue";
|
|
7
8
|
//#region src/TimeInput/TimeInput.vue
|
|
8
9
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
@@ -79,6 +80,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
79
80
|
setup(__props) {
|
|
80
81
|
const props = __props;
|
|
81
82
|
const size = useSize(() => props.size, "md");
|
|
83
|
+
const disabled = useInputGroupDisabled(() => props.isDisabled);
|
|
82
84
|
const model = useModel(__props, "modelValue");
|
|
83
85
|
const attrs = useAttrs();
|
|
84
86
|
const parts = useFieldPartStyling({
|
|
@@ -119,7 +121,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
119
121
|
class: normalizeClass(unref(parts).containerClass.value),
|
|
120
122
|
style: normalizeStyle(unref(parts).containerStyle.value),
|
|
121
123
|
"is-label-hidden": unref(hideLabel),
|
|
122
|
-
"is-disabled":
|
|
124
|
+
"is-disabled": unref(disabled),
|
|
123
125
|
"is-optional": __props.isOptional,
|
|
124
126
|
"is-required": __props.isRequired,
|
|
125
127
|
"label-tooltip": __props.labelTooltip,
|
|
@@ -147,7 +149,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
147
149
|
"has-clear": __props.hasClear,
|
|
148
150
|
"clear-label": __props.clearLabel,
|
|
149
151
|
size: unref(size),
|
|
150
|
-
"is-disabled":
|
|
152
|
+
"is-disabled": unref(disabled),
|
|
151
153
|
"is-read-only": __props.isReadOnly,
|
|
152
154
|
"is-required": __props.isRequired && !__props.isOptional,
|
|
153
155
|
"is-loading": __props.isLoading,
|
package/dist/Timer/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as getPresentation, t as _sfc_main } from "../Timer-
|
|
1
|
+
import { n as getPresentation, t as _sfc_main } from "../Timer-BD2gSoQ3.js";
|
|
2
2
|
export { _sfc_main as Timer, getPresentation };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as _sfc_main$1 } from "./Text-
|
|
1
|
+
import { t as _sfc_main$1 } from "./Text-WB-fpFne.js";
|
|
2
2
|
import { computed, createBlock, createElementBlock, createElementVNode, defineComponent, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, openBlock, useTemplateRef, watch, withCtx } from "vue";
|
|
3
3
|
import "../styles/timer.css";
|
|
4
4
|
//#region src/Timer/format.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as FormatInstantOptions, G as TimestampColor, J as TimestampTooltipEntry, K as TimestampFormat, Q as formatRelativeTime, W as _default, X as TimestampTooltipLine, Y as TimestampTooltipFormat, Z as formatTooltipLines, et as InstantFormat, q as TimestampProps, tt as formatInstant } from "../index-
|
|
1
|
+
import { $ as FormatInstantOptions, G as TimestampColor, J as TimestampTooltipEntry, K as TimestampFormat, Q as formatRelativeTime, W as _default, X as TimestampTooltipLine, Y as TimestampTooltipFormat, Z as formatTooltipLines, et as InstantFormat, q as TimestampProps, tt as formatInstant } from "../index-DFDadgys.js";
|
|
2
2
|
export { type FormatInstantOptions, type InstantFormat, _default as Timestamp, type TimestampColor, type TimestampFormat, type TimestampProps, type TimestampTooltipEntry, type TimestampTooltipFormat, type TimestampTooltipLine, formatInstant, formatRelativeTime, formatTooltipLines };
|
package/dist/Timestamp/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { t as formatInstant } from "../formatInstant-BDWUIxS7.js";
|
|
2
|
-
import { n as formatTooltipLines, r as formatRelativeTime, t as _sfc_main } from "../Timestamp-
|
|
2
|
+
import { n as formatTooltipLines, r as formatRelativeTime, t as _sfc_main } from "../Timestamp-CEdNhKc5.js";
|
|
3
3
|
export { _sfc_main as Timestamp, formatInstant, formatRelativeTime, formatTooltipLines };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as _sfc_main$2 } from "./
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { t as _sfc_main$4 } from "./
|
|
5
|
-
import { t as _sfc_main$5 } from "./
|
|
1
|
+
import { t as _sfc_main$2 } from "./IconButton-Crtfruc0.js";
|
|
2
|
+
import { o as useAstryxLocale, s as useAstryxMessages } from "./context-CV6TrhJY.js";
|
|
3
|
+
import { t as _sfc_main$3 } from "./Text-WB-fpFne.js";
|
|
4
|
+
import { t as _sfc_main$4 } from "./HoverCard-CLcbBLBN.js";
|
|
5
|
+
import { t as _sfc_main$5 } from "./ComponentIcon-BRXBBKeG.js";
|
|
6
6
|
import { t as formatInstant } from "./formatInstant-BDWUIxS7.js";
|
|
7
7
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, openBlock, ref, renderList, renderSlot, toDisplayString, unref, watch, withCtx } from "vue";
|
|
8
8
|
import "../styles/timestamp.css";
|
|
@@ -102,7 +102,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
102
102
|
}, 1500);
|
|
103
103
|
}
|
|
104
104
|
return (_ctx, _cache) => {
|
|
105
|
-
return openBlock(), createBlock(_sfc_main$
|
|
105
|
+
return openBlock(), createBlock(_sfc_main$4, {
|
|
106
106
|
label: __props.label,
|
|
107
107
|
"focus-trigger": "always",
|
|
108
108
|
"has-hover-indication": true,
|
|
@@ -119,17 +119,21 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
119
119
|
}, [
|
|
120
120
|
hasLabel.value ? (openBlock(), createElementBlock("dt", _hoisted_2$1, toDisplayString(line.label ?? ""), 1)) : createCommentVNode("v-if", true),
|
|
121
121
|
createElementVNode("dd", _hoisted_3, toDisplayString(line.value), 1),
|
|
122
|
-
hasAction.value ? (openBlock(), createElementBlock("div", _hoisted_4, [line.isCopyable ? (openBlock(), createBlock(_sfc_main$
|
|
122
|
+
hasAction.value ? (openBlock(), createElementBlock("div", _hoisted_4, [line.isCopyable ? (openBlock(), createBlock(_sfc_main$2, {
|
|
123
123
|
key: 0,
|
|
124
124
|
variant: "ghost",
|
|
125
125
|
size: "sm",
|
|
126
126
|
label: copiedKey.value === String(index) ? unref(messages).timestamp.copied : unref(messages).timestamp.copyValue(line.value),
|
|
127
127
|
onClick: ($event) => copy(line.value, String(index))
|
|
128
128
|
}, {
|
|
129
|
-
default: withCtx(() => [createVNode(_sfc_main$
|
|
130
|
-
icon
|
|
131
|
-
|
|
132
|
-
|
|
129
|
+
default: withCtx(() => [createVNode(_sfc_main$5, {
|
|
130
|
+
"icon-slot": "timestamp-copy",
|
|
131
|
+
state: { copied: copiedKey.value === String(index) },
|
|
132
|
+
fallback: {
|
|
133
|
+
icon: copiedKey.value === String(index) ? "check" : "copy",
|
|
134
|
+
size: "sm"
|
|
135
|
+
}
|
|
136
|
+
}, null, 8, ["state", "fallback"])]),
|
|
133
137
|
_: 2
|
|
134
138
|
}, 1032, ["label", "onClick"])) : createCommentVNode("v-if", true)])) : createCommentVNode("v-if", true)
|
|
135
139
|
]);
|
|
@@ -302,7 +306,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
302
306
|
lines: lines.value,
|
|
303
307
|
label: unref(messages).timestamp.detailsLabel
|
|
304
308
|
}, {
|
|
305
|
-
default: withCtx(() => [createVNode(_sfc_main$
|
|
309
|
+
default: withCtx(() => [createVNode(_sfc_main$3, {
|
|
306
310
|
class: normalizeClass(["astryx-timestamp", _ctx.$attrs.class]),
|
|
307
311
|
style: normalizeStyle(_ctx.$attrs.style),
|
|
308
312
|
type: __props.type,
|
|
@@ -330,7 +334,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
330
334
|
"data-format"
|
|
331
335
|
])]),
|
|
332
336
|
_: 1
|
|
333
|
-
}, 8, ["lines", "label"])) : valid.value ? (openBlock(), createBlock(_sfc_main$
|
|
337
|
+
}, 8, ["lines", "label"])) : valid.value ? (openBlock(), createBlock(_sfc_main$3, {
|
|
334
338
|
key: 1,
|
|
335
339
|
class: normalizeClass(["astryx-timestamp", _ctx.$attrs.class]),
|
|
336
340
|
style: normalizeStyle(_ctx.$attrs.style),
|
package/dist/Toast/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main$1, r as _sfc_main, t as useToast } from "../Toast-
|
|
1
|
+
import { n as _sfc_main$1, r as _sfc_main, t as useToast } from "../Toast-CnZrcU-G.js";
|
|
2
2
|
export { _sfc_main as Toast, _sfc_main$1 as ToastViewport, useToast };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import { d as hasInteractiveAncestor } from "./pressFeedback-Bwwpex9q.js";
|
|
1
2
|
import { r as resetLayerScopedContext } from "./scopedProvide-C-Df7c15.js";
|
|
2
|
-
import { t as _sfc_main$2 } from "./Icon-
|
|
3
|
-
import { n as hasInteractiveAncestor } from "./useClickableContainer-CdGp_Cev.js";
|
|
4
|
-
import { t as _sfc_main$3 } from "./IconButton-B6AQLlx9.js";
|
|
5
|
-
import { s as useAstryxMessages } from "./context-BLSiTojH.js";
|
|
3
|
+
import { t as _sfc_main$2 } from "./Icon-BCHo7W0x.js";
|
|
6
4
|
import { r as useLayerConfig } from "./context-M-er0-Rk.js";
|
|
5
|
+
import { t as _sfc_main$3 } from "./IconButton-Crtfruc0.js";
|
|
6
|
+
import { s as useAstryxMessages } from "./context-CV6TrhJY.js";
|
|
7
7
|
import { i as whenModalSettled, r as useActiveModalOutlet } from "./modalOutlet-CUOcrhIu.js";
|
|
8
|
-
import { n as useTheme, t as _sfc_main$4 } from "./MediaTheme-
|
|
8
|
+
import { n as useTheme, t as _sfc_main$4 } from "./MediaTheme-Bt7WBTkq.js";
|
|
9
9
|
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, guardReactiveProps, markRaw, normalizeClass, normalizeProps, normalizeStyle, onMounted, onScopeDispose, onUnmounted, openBlock, reactive, ref, renderList, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, unref, watch, withCtx } from "vue";
|
|
10
10
|
import "../styles/toast.css";
|
|
11
11
|
//#region src/Toast/options.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as ToggleButtonEmits, B as ToggleButtonPressedChangeHandler, D as _default, E as _default$1, F as ToggleButtonGroupProps, H as ToggleButtonSize, I as ToggleButtonGroupSingleProps, L as ToggleButtonGroupSlots, M as ToggleButtonGroupEmits, N as ToggleButtonGroupMultipleProps, O as ToggleButtonChangeAction, P as ToggleButtonGroupOrientation, R as ToggleButtonGroupType, U as ToggleButtonSlots, V as ToggleButtonProps, j as ToggleButtonGroupBaseProps, k as ToggleButtonElevation, z as ToggleButtonGroupValue } from "../index-
|
|
1
|
+
import { A as ToggleButtonEmits, B as ToggleButtonPressedChangeHandler, D as _default, E as _default$1, F as ToggleButtonGroupProps, H as ToggleButtonSize, I as ToggleButtonGroupSingleProps, L as ToggleButtonGroupSlots, M as ToggleButtonGroupEmits, N as ToggleButtonGroupMultipleProps, O as ToggleButtonChangeAction, P as ToggleButtonGroupOrientation, R as ToggleButtonGroupType, U as ToggleButtonSlots, V as ToggleButtonProps, j as ToggleButtonGroupBaseProps, k as ToggleButtonElevation, z as ToggleButtonGroupValue } from "../index-DFDadgys.js";
|
|
2
2
|
export { _default as ToggleButton, _default as default, type ToggleButtonChangeAction, type ToggleButtonElevation, type ToggleButtonEmits, _default$1 as ToggleButtonGroup, type ToggleButtonGroupBaseProps, type ToggleButtonGroupEmits, type ToggleButtonGroupMultipleProps, type ToggleButtonGroupOrientation, type ToggleButtonGroupProps, type ToggleButtonGroupSingleProps, type ToggleButtonGroupSlots, type ToggleButtonGroupType, type ToggleButtonGroupValue, type ToggleButtonPressedChangeHandler, type ToggleButtonProps, type ToggleButtonSize, type ToggleButtonSlots };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main$1, r as _sfc_main, t as ToggleButton_default } from "../ToggleButton-
|
|
1
|
+
import { n as _sfc_main$1, r as _sfc_main, t as ToggleButton_default } from "../ToggleButton-BMn4yJXe.js";
|
|
2
2
|
export { _sfc_main as ToggleButton, _sfc_main$1 as ToggleButtonGroup, ToggleButton_default as default };
|