@astryx-vue/core 0.38.0 → 0.39.0
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.js +1 -1
- package/dist/{AlertDialog-BVTKz7re.js → AlertDialog-DnylRSpj.js} +3 -3
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-C2y8U6wp.js → AppShell-lv3WDlCi.js} +5 -5
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Banner/index.js +1 -1
- package/dist/{Banner-NCI6aOKt.js → Banner-CqIYLEcx.js} +2 -2
- package/dist/BottomSheet/index.d.ts +1 -1
- package/dist/BottomSheet/index.js +2 -2
- package/dist/{BottomSheet-dgHDqtQg.js → BottomSheet-6W3izQzr.js} +1 -1
- package/dist/{BottomSheet-CFdGLVIF.js → BottomSheet-D37eNqz5.js} +2 -2
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/{Breadcrumbs-CwEfccnT.js → Breadcrumbs-BEzCPnoe.js} +2 -2
- package/dist/Button/index.js +1 -1
- package/dist/{Button-BZV5wL4j.js → Button-DGIfLwqj.js} +1 -1
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Calendar/index.js +1 -1
- package/dist/{Calendar-S5IjkDsY.js → Calendar-CfhOlgQJ.js} +1 -1
- package/dist/Carousel/index.d.ts +1 -1
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-CbOusMO0.js → Carousel-DmeW51vC.js} +2 -2
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-BrHbv7Ah.js → Chat-whrqE8Zj.js} +5 -5
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-CV8aHb9r.js → CheckboxInput-CHO4Jz0m.js} +3 -3
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxListItem-SyF1JdT3.js → CheckboxListItem-C4dmrC_w.js} +3 -3
- package/dist/Citation/index.js +1 -1
- package/dist/{Citation-Ijf06x0V.js → Citation-DXMQVSi5.js} +1 -1
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/Code/index.js +2 -2
- package/dist/{Code-BNOzyQX4.js → Code-D80SHrJx.js} +4 -3
- package/dist/{CodeBlock-DYXx_9Kj.js → CodeBlock-vhMVY90M.js} +3 -3
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-48Q1GfRw.js → Collapsible-CaKmR3yE.js} +3 -3
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-Ct70AcIK.js → CommandPalette-C-iXk7EB.js} +2 -2
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-NnPRhI6t.js → ComplexSelector-BsdtBmd0.js} +5 -5
- package/dist/{ComponentIcon-Dw4xQxg3.js → ComponentIcon-B67QcA-d.js} +2 -2
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-C7m059d4.js → ContextMenu-GZkN9lf1.js} +6 -6
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-D-NIlF5P.js → DateInput-Cb6eLrbU.js} +9 -9
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-BYl649eD.js → DateRangeInput-BUFeQYJ6.js} +6 -6
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-CBzae6EW.js → DateTimeInput-r-MOwLs4.js} +9 -9
- package/dist/Dialog/index.js +1 -1
- package/dist/{DialogHeader-DKt_lREy.js → DialogHeader-CPhEYbZ1.js} +1 -1
- package/dist/Drawer/index.d.ts +1 -1
- package/dist/Drawer/index.js +1 -1
- package/dist/{Drawer-D63qUfxP.js → Drawer-C0ntt2L9.js} +1 -1
- package/dist/DropdownMenu/index.js +2 -2
- package/dist/{DropdownMenu-BkTjcbtP.js → DropdownMenu-CSWLdtI4.js} +7 -7
- package/dist/Field/index.js +3 -3
- package/dist/{Field-DgtZ9Czv.js → Field-BYAHZ4s7.js} +2 -2
- package/dist/{FieldIcon-BU1ZWAuo.js → FieldIcon-C6A69-um.js} +1 -1
- package/dist/{FieldInfoTip-D4vkQb2F.js → FieldInfoTip-6IHEEEJL.js} +2 -2
- package/dist/{FieldLabel-DkElUlTP.js → FieldLabel-CHaeZROf.js} +2 -2
- package/dist/FieldStatus/index.js +1 -1
- package/dist/{FieldStatus-DmCWPT6U.js → FieldStatus-QjwGygl3.js} +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-epZuREvN.js → FileInput-DD3DvIT0.js} +5 -5
- package/dist/HoverCard/index.d.ts +1 -1
- package/dist/Icon/index.js +2 -2
- package/dist/{Icon-Dk0jccgU.js → Icon-BUSj1-Th.js} +1 -1
- package/dist/{Icon-M1Rlknd0.js → Icon-CYXC4iYF.js} +1 -1
- package/dist/IconButton/index.js +1 -1
- package/dist/{IconButton-ddP2kBOE.js → IconButton-CzU-cz_H.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-D2rbGvF9.js → InfoTip-Ckhg715K.js} +1 -1
- package/dist/{InputClearButton-pGsDJl26.js → InputClearButton-Btjd5Lnk.js} +2 -2
- package/dist/InputGroup/index.js +1 -1
- package/dist/{InputGroup-BIVCj2rq.js → InputGroup-C388xPHC.js} +1 -1
- package/dist/Layout/index.js +2 -2
- package/dist/{Layout-DIs9FbLS.js → Layout-DTSKNAzq.js} +1 -1
- package/dist/{LayoutPanel-DPueklAW.js → LayoutPanel-CH4HZGLR.js} +1 -1
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-CYFqIuYF.js → Lightbox-CQhmsbhy.js} +2 -2
- package/dist/Link/index.d.ts +1 -1
- package/dist/Link/index.js +1 -1
- package/dist/{Link-Bte02xvC.js → Link-BsmxrY3Y.js} +1 -1
- package/dist/List/index.js +1 -1
- package/dist/{ListItem-DyJ5nTUB.js → ListItem-BEc2EF1u.js} +1 -1
- package/dist/Markdown/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-DLOM7sua.js → Markdown-BkL2wt7F.js} +3 -3
- package/dist/{MediaTheme-CBkEmVe4.js → MediaTheme-BavxpAJt.js} +5 -77
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-Dfw9RqEG.js → MoreMenu-pvuN9vfu.js} +4 -4
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-670gfK2P.js → MultiSelector-sD97taHQ.js} +8 -8
- package/dist/{NavHeadingSurface-CyzeGig1.js → NavHeadingSurface-C3QJ64vm.js} +1 -1
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-CoozsQxb.js → NumberInput-B3Y_NOui.js} +6 -6
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/Overlay/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-HRiDkiv1.js → Pagination-BJKFuELz.js} +2 -2
- package/dist/{PickerWheel-BH7fotFp.js → PickerWheel-J5F_ecWb.js} +1 -1
- package/dist/Popover/index.d.ts +2 -2
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-CIfmPr2b.js → Popover-CVZnqsUy.js} +4 -4
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-lZ7C-9_i.js → PowerSearch-BHTHVINR.js} +21 -21
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-DE0vl44p.js → RadioGroup-CvMj98z_.js} +2 -2
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioListItem-CMH7E4o4.js → RadioListItem-CptY2wdB.js} +1 -1
- package/dist/Resizable/index.js +1 -1
- package/dist/{ResizeHandle-IXhzcM0r.js → ResizeHandle-ruXeaXUT.js} +1 -1
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/SegmentedControl/index.js +1 -1
- package/dist/{SegmentedControl-DfQbw_Kx.js → SegmentedControl-DMxIY7uq.js} +1 -1
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-BA_Br1PQ.js → Selector-DhKtSP71.js} +7 -7
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +2 -2
- package/dist/{SideNav-iTVaFVr8.js → SideNav-DOXNxEIp.js} +7 -7
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-Dd-7-KDB.js → Slider-D5GYcH4S.js} +1 -1
- package/dist/Spinner/index.js +1 -1
- package/dist/{Spinner-D1adu3uH.js → Spinner-lLOYfbOY.js} +1 -1
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/Stepper/index.js +1 -1
- package/dist/{Stepper-2Pzjo2X6.js → Stepper-0ycdCwND.js} +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-CDzpdofs.js → Switch-DDHf_9iJ.js} +2 -2
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-2WI0pFSQ.js → TabList-BnLUktgm.js} +1 -1
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-Dv2v2Qn1.js → Table-B49mlc0R.js} +13 -13
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-DVaMUVoM.js → TextArea-BSB5WIpK.js} +6 -6
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-CuZ0_q-W.js → TextInput-Ck-6Mtbt.js} +6 -6
- package/dist/Theme/index.d.ts +3 -3
- package/dist/Theme/index.js +3 -3
- package/dist/{Theme-CwruhtLu.js → Theme-B_kAJHy2.js} +111 -23
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-DdWfJKHa.js → Thumbnail-Tg50Msul.js} +3 -3
- package/dist/{TimeField-BxM1p1iV.js → TimeField-CLD_j1tX.js} +7 -7
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-OazN0w6r.js → TimeInput-DuijuQMd.js} +2 -2
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-B6Ob-xlj.js → Timestamp-D8fyTuhk.js} +2 -2
- package/dist/Toast/index.js +1 -1
- package/dist/{Toast-CW2ML8tU.js → Toast-51l_F_YA.js} +4 -3
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/ToggleButton/index.js +1 -1
- package/dist/{ToggleButton-8XAM4Mko.js → ToggleButton-_fEU63Nz.js} +1 -1
- package/dist/Token/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-OZbI0TqN.js → Tokenizer-wWybLovw.js} +9 -9
- package/dist/Toolbar/index.d.ts +1 -1
- package/dist/Tooltip/index.d.ts +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-Bea1f-4t.js → TopNav-GvK-XIRl.js} +3 -3
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-DEGpCrNi.js → TreeList-CfELZwbQ.js} +5 -5
- package/dist/Typeahead/index.js +2 -2
- package/dist/{Typeahead-BONCIm6m.js → Typeahead-DtNM4311.js} +5 -5
- package/dist/{accessibleName-YrrAARQX.js → accessibleName-CYV4uRm9.js} +3 -3
- package/dist/{adaptationTypes-D874ONPJ.d.ts → adaptationTypes-D5HrfPSt.d.ts} +9 -0
- package/dist/{assertOptions-Byu4Yqfg.js → assertOptions-BOwrrTT-.js} +1 -1
- package/dist/colorMode-DVs86FF2.js +49 -0
- package/dist/{compactDefinition-CMTR5KqU.d.ts → compactDefinition-BPg0hR8Q.d.ts} +1 -1
- package/dist/{compactDefinition-BeFUKEFg.js → compactDefinition-D32f2O_H.js} +1 -1
- package/dist/composables/index.d.ts +2 -2
- package/dist/composables/index.js +7 -7
- package/dist/{composables-BJfZbXeW.js → composables-D5840uKi.js} +1 -1
- package/dist/{context-DArta_KP.js → context-CLCiYDtY.js} +1 -1
- package/dist/context-CwV8eyUd.js +12 -0
- package/dist/contrast-B0fsdq4U.js +75 -0
- package/dist/{index-Pad9p8CU.d.ts → index-Ak1b0V24.d.ts} +1 -1
- package/dist/{index-BrY-v2wz.d.ts → index-Bk2SsmEu.d.ts} +3 -3
- package/dist/{index-BDZCJ9ri.d.ts → index-BuubzuE8.d.ts} +2 -2
- package/dist/{index-Dgl2rXqH.d.ts → index-BzaRSOA3.d.ts} +2 -1
- package/dist/index-CDZhxbEp.d.ts +44 -0
- package/dist/{index-CQi9WGWE.d.ts → index-CEdoNcHF.d.ts} +1 -1
- package/dist/{index-DkYOGpsC.d.ts → index-CTo75wH5.d.ts} +1 -1
- package/dist/{index-V6uruC4Z.d.ts → index-CqvIpZ-t.d.ts} +1 -1
- package/dist/{index-JE1HrzdJ.d.ts → index-DVX2jlTQ.d.ts} +2 -2
- package/dist/{index-DPhQZXYw.d.ts → index-DYabo8TI.d.ts} +1 -1
- package/dist/{index-BtqvPjAf.d.ts → index-DofC9Rll.d.ts} +1 -1
- package/dist/{index-CTASAiq2.d.ts → index-EyFu5eSZ.d.ts} +3 -3
- package/dist/{index-EUzmHHm6.d.ts → index-WBF_zxXX.d.ts} +2 -2
- package/dist/{index-DxFU2kv3.d.ts → index-ZXDolNI1.d.ts} +29 -29
- package/dist/index.d.ts +20 -18
- package/dist/index.js +85 -84
- package/dist/{landing-CwF_76em.js → landing-DjJvKu3c.js} +1 -1
- package/dist/{lazyBottomSheet-COX_Z3-V.js → lazyBottomSheet-DUPKYGf1.js} +1 -1
- package/dist/motionTokenDefaults-EFzpiAF5.js +38 -0
- package/dist/palette/index.d.ts +3 -0
- package/dist/palette/index.js +2 -0
- package/dist/palette-DlNBLR8U.js +2114 -0
- package/dist/{presentationHold-ZKixVLcz.js → presentationHold-Bjjux3fp.js} +1 -1
- package/dist/{reportChange-DuOzs-8h.js → reportChange-wIeU3q3y.js} +1 -1
- package/dist/{resizableChannel-6oZZNYYM.js → resizableChannel-b7iQNnCj.js} +2 -2
- package/dist/{themeTiming-Cv_hsTJU.js → themeTiming-DOf0j6SM.js} +2 -1
- package/dist/{tokenReferences-sKpv-7_O.js → tokenReferences-CdmofltU.js} +1 -38
- package/dist/{triggerVariant-DPuBmzpp.js → triggerVariant-CRQoD-4F.js} +1 -1
- package/dist/{types-D97oBk6c.d.ts → types-DTlpQo7j.d.ts} +1 -1
- package/dist/types-DypDQlbk.d.ts +176 -0
- package/dist/{useAnimatedLayout-CVYflMPG.js → useAnimatedLayout-CXjd5pjG.js} +1 -1
- package/dist/{useChatStreamScroll-3mJvbNtI.js → useChatStreamScroll-BQpGHGAr.js} +1 -1
- package/dist/{useHeldPresentation-CaIKTwUh.js → useHeldPresentation-0Z0Untra.js} +1 -1
- package/dist/{useIndicator-PFDBNOvX.js → useIndicator-Co1ERlg-.js} +2 -2
- package/dist/{useInputStatusIcon-CV8qfqzK.js → useInputStatusIcon-DJfhmCiH.js} +2 -2
- package/dist/{useMediaQuery-BzXGT1Aw.js → useMediaQuery-DKnSDG3S.js} +1 -1
- package/dist/{useMenuHover-DoBatZeD.js → useMenuHover-Dahcf3qo.js} +1 -1
- package/dist/{useMobileKeyboard-DOa93Ek2.js → useMobileKeyboard-Cibxl8ZC.js} +1 -1
- package/dist/{useResizable-9WyAIDnz.js → useResizable-CJQAV_tU.js} +1 -1
- package/dist/useResolvedColorMode-CyZjLvfj.js +159 -0
- package/dist/{useTypeaheadMenuConfig-DUZD3GqE.js → useTypeaheadMenuConfig-0glQWHQd.js} +1 -1
- package/package.json +5 -1
- package/dist/context-Cws_tXTr.js +0 -7
- package/dist/useResolvedColorMode-Df97_9w_.js +0 -78
- package/dist/{index-BqhgeAT4.d.ts → index-5FGt4HsB.d.ts} +1 -1
|
@@ -2,11 +2,11 @@ import { t as devWarn } from "./useDevWarning-B2fsk2B-.js";
|
|
|
2
2
|
import { a as useAstryxLocale, o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
3
3
|
import { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
4
4
|
import { t as writeClipboardText } from "./clipboardWrite-Ds6fxmZc.js";
|
|
5
|
-
import { t as _sfc_main$2 } from "./IconButton-
|
|
5
|
+
import { t as _sfc_main$2 } from "./IconButton-CzU-cz_H.js";
|
|
6
6
|
import { t as _sfc_main$3 } from "./Text-CILdp7jE.js";
|
|
7
7
|
import { r as useCalendarSystem } from "./calendar-C7py_wtb.js";
|
|
8
8
|
import { t as _sfc_main$4 } from "./HoverCard-B7hrl0Qz.js";
|
|
9
|
-
import { t as _sfc_main$5 } from "./ComponentIcon-
|
|
9
|
+
import { t as _sfc_main$5 } from "./ComponentIcon-B67QcA-d.js";
|
|
10
10
|
import { t as formatInstant } from "./formatInstant-CjCwl6JS.js";
|
|
11
11
|
import { t as timestampMessages } from "./timestamp-saJUedIU.js";
|
|
12
12
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, mergeProps, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, openBlock, ref, renderList, renderSlot, toDisplayString, unref, useAttrs, useTemplateRef, watch, withCtx } from "vue";
|
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-51l_F_YA.js";
|
|
2
2
|
export { _sfc_main as Toast, _sfc_main$1 as ToastViewport, useToast };
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { n as hasInteractiveAncestor } from "./useClickableContainer-Dtjg-nkm.js";
|
|
2
2
|
import { r as resetLayerScopedContext } from "./scopedProvide-C-Df7c15.js";
|
|
3
|
-
import { t as _sfc_main$2 } from "./Icon-
|
|
3
|
+
import { t as _sfc_main$2 } from "./Icon-BUSj1-Th.js";
|
|
4
4
|
import { r as useLayerConfig } from "./context-M-er0-Rk.js";
|
|
5
5
|
import { t as PanGestureRecognizer } from "./PanGestureRecognizer-K-I6ORwh.js";
|
|
6
6
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
7
7
|
import { n as focusElement, r as getFocusables } from "./focus-x7mxEqjR.js";
|
|
8
|
-
import { t as _sfc_main$3 } from "./IconButton-
|
|
8
|
+
import { t as _sfc_main$3 } from "./IconButton-CzU-cz_H.js";
|
|
9
9
|
import { a as whenModalSettled, i as useTopLayerEntries, r as useActiveModalOutlet } from "./modalOutlet-BwR9AAlm.js";
|
|
10
10
|
import { t as useGestureRecognizer } from "./useGestureRecognizer-BKzTWKYx.js";
|
|
11
11
|
import { t as toastMessages } from "./toast-BvAnX6Vc.js";
|
|
12
|
-
import {
|
|
12
|
+
import { i as pickMediaMode, r as parseColor } from "./contrast-B0fsdq4U.js";
|
|
13
|
+
import { n as useTheme, t as _sfc_main$4 } from "./MediaTheme-BavxpAJt.js";
|
|
13
14
|
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, guardReactiveProps, inject, markRaw, normalizeClass, normalizeProps, normalizeStyle, onMounted, onScopeDispose, onUnmounted, openBlock, provide, reactive, ref, renderList, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, unref, watch, withCtx } from "vue";
|
|
14
15
|
import "../styles/toast.css";
|
|
15
16
|
//#region src/Theme/invertedSurfaceSide.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-ZXDolNI1.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-_fEU63Nz.js";
|
|
2
2
|
export { _sfc_main as ToggleButton, _sfc_main$1 as ToggleButtonGroup, ToggleButton_default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as pressGroupItemProps, n as useTouchHitArea, t as GROUP_HIT_AREA } from "./useTouchHitArea-DvKV21NY.js";
|
|
2
2
|
import { t as useActionGroupTracking } from "./useActionGroupTracking-DB5xIxPW.js";
|
|
3
3
|
import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
|
|
4
|
-
import { t as _sfc_main$2 } from "./Button-
|
|
4
|
+
import { t as _sfc_main$2 } from "./Button-DGIfLwqj.js";
|
|
5
5
|
import { n as buttonHitAreaContextKey } from "./context-Cgkyk-b7.js";
|
|
6
6
|
import { t as useCoarsePointer } from "./useCoarsePointer-GItEMrjX.js";
|
|
7
7
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, defineComponent, mergeModels, mergeProps, normalizeClass, openBlock, provide, renderSlot, shallowRef, toDisplayString, unref, useModel, useTemplateRef, withCtx } from "vue";
|
package/dist/Token/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TokenProps, i as TokenEmits, n as TOKEN_COLORS, o as TokenSize, r as TokenColor, s as TokenSlots, t as _default } from "../index-
|
|
1
|
+
import { a as TokenProps, i as TokenEmits, n as TOKEN_COLORS, o as TokenSize, r as TokenColor, s as TokenSlots, t as _default } from "../index-5FGt4HsB.js";
|
|
2
2
|
export { TOKEN_COLORS, _default as Token, type TokenColor, type TokenEmits, type TokenProps, type TokenSize, type TokenSlots };
|
package/dist/Tokenizer/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Tokenizer-
|
|
1
|
+
import { t as _sfc_main } from "../Tokenizer-wWybLovw.js";
|
|
2
2
|
export { _sfc_main as Tokenizer };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as _sfc_main$4 } from "./Icon-
|
|
1
|
+
import { t as _sfc_main$4 } from "./Icon-BUSj1-Th.js";
|
|
2
2
|
import { i as useSize } from "./SizeContext-BbaF-SEx.js";
|
|
3
|
-
import { t as _sfc_main$5 } from "./Button-
|
|
3
|
+
import { t as _sfc_main$5 } from "./Button-DGIfLwqj.js";
|
|
4
4
|
import { t as isImeKeyEvent } from "./ime-VY8-80S8.js";
|
|
5
5
|
import { a as trackInteractionModality, t as getInteractionModality } from "./interactionModality-4Km2ibsq.js";
|
|
6
6
|
import { t as _sfc_main$6 } from "./ButtonTooltip-ZpQP-aQg.js";
|
|
@@ -9,7 +9,7 @@ import { n as isDevBuild, t as devPropError } from "./devBuild-G249YcdZ.js";
|
|
|
9
9
|
import { t as devWarn } from "./useDevWarning-B2fsk2B-.js";
|
|
10
10
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
11
11
|
import { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
12
|
-
import { t as useInputStatusIcon } from "./useInputStatusIcon-
|
|
12
|
+
import { t as useInputStatusIcon } from "./useInputStatusIcon-DJfhmCiH.js";
|
|
13
13
|
import { t as useOverflow } from "./useOverflow-GU0pxGaU.js";
|
|
14
14
|
import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
|
|
15
15
|
import { t as _sfc_main$7 } from "./Dialog-BUl1lqE6.js";
|
|
@@ -18,18 +18,18 @@ import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
|
18
18
|
import { t as _sfc_main$9 } from "./Stack-DPB-Ztf7.js";
|
|
19
19
|
import { t as _sfc_main$10 } from "./Text-CILdp7jE.js";
|
|
20
20
|
import { t as _sfc_main$11 } from "./CheckboxIndicator-fH4d-JE1.js";
|
|
21
|
-
import { t as useHeldPresentation } from "./useHeldPresentation-
|
|
22
|
-
import { n as preloadBottomSheet, t as LazyBottomSheet } from "./lazyBottomSheet-
|
|
21
|
+
import { t as useHeldPresentation } from "./useHeldPresentation-0Z0Untra.js";
|
|
22
|
+
import { n as preloadBottomSheet, t as LazyBottomSheet } from "./lazyBottomSheet-DUPKYGf1.js";
|
|
23
23
|
import { t as useBusyAnnouncement } from "./busyAnnouncement-CExubuYm.js";
|
|
24
|
-
import { n as spinnerOwnerKey, t as _sfc_main$12 } from "./Spinner-
|
|
25
|
-
import { t as _sfc_main$13 } from "./Field-
|
|
24
|
+
import { n as spinnerOwnerKey, t as _sfc_main$12 } from "./Spinner-lLOYfbOY.js";
|
|
25
|
+
import { t as _sfc_main$13 } from "./Field-BYAHZ4s7.js";
|
|
26
26
|
import { t as useFieldPartStyling } from "./fieldParts-CuE5V12i.js";
|
|
27
27
|
import { n as alertDialogMessages, t as tokenizerMessages } from "./tokenizer-C1y-55Ft.js";
|
|
28
28
|
import { t as _sfc_main$14 } from "./EmptyState-BUmLBchw.js";
|
|
29
29
|
import { t as _sfc_main$15 } from "./Token-Di7w9Cvr.js";
|
|
30
30
|
import { n as scrollOptionIntoView, r as useAnchoredListbox } from "./stillPointerGate-DXFzBeMy.js";
|
|
31
|
-
import { i as _sfc_main$16, n as useTypeaheadAnnouncement, o as useTypeaheadMenu, r as useLatchedOptionGrid, t as useTypeaheadMenuConfig } from "./useTypeaheadMenuConfig-
|
|
32
|
-
import { t as _sfc_main$17 } from "./TextInput-
|
|
31
|
+
import { i as _sfc_main$16, n as useTypeaheadAnnouncement, o as useTypeaheadMenu, r as useLatchedOptionGrid, t as useTypeaheadMenuConfig } from "./useTypeaheadMenuConfig-0glQWHQd.js";
|
|
32
|
+
import { t as _sfc_main$17 } from "./TextInput-Ck-6Mtbt.js";
|
|
33
33
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, isRef, mergeModels, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onBeforeUnmount, onMounted, openBlock, provide, ref, renderList, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, unref, useAttrs, useId, useModel, useSlots, useTemplateRef, watch, withCtx } from "vue";
|
|
34
34
|
import "../styles/layer.css";
|
|
35
35
|
import "../styles/alert-dialog.css";
|
package/dist/Toolbar/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { T as _default } from "../index-
|
|
1
|
+
import { T as _default } from "../index-ZXDolNI1.js";
|
|
2
2
|
import { et as ToolbarOrientation, nt as ToolbarSize, tt as ToolbarProps } from "../useResizable-CKDaU_se.js";
|
|
3
3
|
export { _default as Toolbar, type ToolbarOrientation, type ToolbarProps, type ToolbarSize };
|
package/dist/Tooltip/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TooltipAlignment, c as TooltipProps, i as _default, l as TooltipTouchTrigger, n as UseTooltipReturn, o as TooltipFocusTrigger, r as useTooltip, s as TooltipPlacement, t as UseTooltipOptions } from "../index-
|
|
1
|
+
import { a as TooltipAlignment, c as TooltipProps, i as _default, l as TooltipTouchTrigger, n as UseTooltipReturn, o as TooltipFocusTrigger, r as useTooltip, s as TooltipPlacement, t as UseTooltipOptions } from "../index-DYabo8TI.js";
|
|
2
2
|
export { _default as Tooltip, type TooltipAlignment, type TooltipFocusTrigger, type TooltipPlacement, type TooltipProps, type TooltipTouchTrigger, type UseTooltipOptions, type UseTooltipReturn, useTooltip };
|
package/dist/TopNav/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as TopNavMenuProps, S as TopNavMenuItem, _ as TopNavMegaMenuEmits, b as TopNavMegaMenuProps, c as _default$5, d as _default$2, f as _default$1, g as TopNavItemProps, h as TopNavItemEmits, l as _default$4, m as TopNavHeadingProps, p as _default, s as _default$6, u as _default$3, v as TopNavMegaMenuFeaturedCardProps, w as TopNavProps, x as TopNavMenuEmits, y as TopNavMegaMenuItemProps } from "../index-
|
|
1
|
+
import { C as TopNavMenuProps, S as TopNavMenuItem, _ as TopNavMegaMenuEmits, b as TopNavMegaMenuProps, c as _default$5, d as _default$2, f as _default$1, g as TopNavItemProps, h as TopNavItemEmits, l as _default$4, m as TopNavHeadingProps, p as _default, s as _default$6, u as _default$3, v as TopNavMegaMenuFeaturedCardProps, w as TopNavProps, x as TopNavMenuEmits, y as TopNavMegaMenuItemProps } from "../index-ZXDolNI1.js";
|
|
2
2
|
export { _default as TopNav, _default$1 as TopNavHeading, type TopNavHeadingProps, _default$2 as TopNavItem, type TopNavItemEmits, type TopNavItemProps, _default$3 as TopNavMegaMenu, type TopNavMegaMenuEmits, _default$4 as TopNavMegaMenuFeaturedCard, type TopNavMegaMenuFeaturedCardProps, _default$5 as TopNavMegaMenuItem, type TopNavMegaMenuItemProps, type TopNavMegaMenuProps, _default$6 as TopNavMenu, type TopNavMenuEmits, type TopNavMenuItem, type TopNavMenuProps, type TopNavProps };
|
package/dist/TopNav/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as _sfc_main$2, i as _sfc_main$3, n as _sfc_main$5, o as _sfc_main$1, r as _sfc_main$4, s as _sfc_main, t as _sfc_main$6 } from "../TopNav-
|
|
1
|
+
import { a as _sfc_main$2, i as _sfc_main$3, n as _sfc_main$5, o as _sfc_main$1, r as _sfc_main$4, s as _sfc_main, t as _sfc_main$6 } from "../TopNav-GvK-XIRl.js";
|
|
2
2
|
export { _sfc_main as TopNav, _sfc_main$1 as TopNavHeading, _sfc_main$2 as TopNavItem, _sfc_main$3 as TopNavMegaMenu, _sfc_main$4 as TopNavMegaMenuFeaturedCard, _sfc_main$5 as TopNavMegaMenuItem, _sfc_main$6 as TopNavMenu };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as hasSlotContent } from "./slotContent-CNWOrGOr.js";
|
|
2
|
-
import { t as _sfc_main$9 } from "./Icon-
|
|
2
|
+
import { t as _sfc_main$9 } from "./Icon-BUSj1-Th.js";
|
|
3
3
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
4
4
|
import { a as trackInteractionModality, n as getLastPointerType, t as getInteractionModality } from "./interactionModality-4Km2ibsq.js";
|
|
5
|
-
import { t as useMediaQuery } from "./useMediaQuery-
|
|
5
|
+
import { t as useMediaQuery } from "./useMediaQuery-DKnSDG3S.js";
|
|
6
6
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
7
7
|
import { n as useAppShellMobile } from "./useAppShellMobile-DTsyuAJ4.js";
|
|
8
8
|
import { t as useListFocus } from "./useListFocus-Ccd_HU9T.js";
|
|
@@ -14,7 +14,7 @@ import { i as safeNavHref, n as isNavigableHref, r as resolveNavRoot } from "./l
|
|
|
14
14
|
import { t as _sfc_main$12 } from "./NavItem-BbnusKbo.js";
|
|
15
15
|
import { n as navMenuCloseKey, o as navMenuPickKey, t as _sfc_main$13 } from "./NavDisclosure-l2h8R_ub.js";
|
|
16
16
|
import { n as _sfc_main$15, t as _sfc_main$14 } from "./NavMenuItem-BtYmdZGe.js";
|
|
17
|
-
import { t as _sfc_main$16 } from "./NavHeadingSurface-
|
|
17
|
+
import { t as _sfc_main$16 } from "./NavHeadingSurface-C3QJ64vm.js";
|
|
18
18
|
import { Fragment, Teleport, Text, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, inject, nextTick, normalizeClass, normalizeProps, onMounted, openBlock, provide, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, useId, useSlots, watch, withCtx, withModifiers } from "vue";
|
|
19
19
|
import "../styles/top-nav.css";
|
|
20
20
|
//#region src/MobileNav/MobileNavScope.vue
|
package/dist/TreeList/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as useTreeFocus, t as _sfc_main } from "../TreeList-
|
|
1
|
+
import { n as useTreeFocus, t as _sfc_main } from "../TreeList-CfELZwbQ.js";
|
|
2
2
|
export { _sfc_main as TreeList, useTreeFocus };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { a as isInLayerSurface } from "./useClickableContainer-Dtjg-nkm.js";
|
|
2
2
|
import { t as usePressFeedback } from "./usePressFeedback-BEY9kk8T.js";
|
|
3
|
-
import { i as isIconGlyph, t as _sfc_main$2 } from "./Icon-
|
|
3
|
+
import { i as isIconGlyph, t as _sfc_main$2 } from "./Icon-BUSj1-Th.js";
|
|
4
4
|
import { n as isSafeUrl } from "./safeUrl-CsvfcZ9m.js";
|
|
5
5
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
6
6
|
import { t as useCoarsePointer } from "./useCoarsePointer-GItEMrjX.js";
|
|
7
7
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
8
|
-
import { o as releaseLayoutExit, r as holdLayoutExit, s as playLayoutChange, t as reportLayoutChange } from "./reportChange-
|
|
9
|
-
import { t as applyLayoutChangeTransition } from "./landing-
|
|
10
|
-
import { t as useAnimatedLayout } from "./useAnimatedLayout-
|
|
8
|
+
import { o as releaseLayoutExit, r as holdLayoutExit, s as playLayoutChange, t as reportLayoutChange } from "./reportChange-wIeU3q3y.js";
|
|
9
|
+
import { t as applyLayoutChangeTransition } from "./landing-DjJvKu3c.js";
|
|
10
|
+
import { t as useAnimatedLayout } from "./useAnimatedLayout-CXjd5pjG.js";
|
|
11
11
|
import { n as isShortcutChord, r as nextTypeaheadBuffer, t as findTypeaheadMatch } from "./typeaheadMatch-Cl-oxKFt.js";
|
|
12
12
|
import { t as _sfc_main$3 } from "./Badge-BbPS_49c.js";
|
|
13
13
|
import { t as useFocusAcrossSwap } from "./focusAcrossSwap-Casww_IY.js";
|
|
14
14
|
import { t as consumeWhileDisabled } from "./disabledInteraction-Bqoyhoss.js";
|
|
15
|
-
import { t as useIndicator } from "./useIndicator-
|
|
15
|
+
import { t as useIndicator } from "./useIndicator-Co1ERlg-.js";
|
|
16
16
|
import { t as treeListMessages } from "./tree-list-NZ1EZhtd.js";
|
|
17
17
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, mergeProps, normalizeClass, normalizeStyle, onMounted, openBlock, reactive, ref, renderList, renderSlot, resolveComponent, resolveDynamicComponent, shallowRef, toDisplayString, toRaw, unref, useAttrs, useId, useSlots, useTemplateRef, vShow, watch, withCtx, withDirectives } from "vue";
|
|
18
18
|
import "../styles/tree-list.css";
|
package/dist/Typeahead/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as _sfc_main$2 } from "../useTypeaheadMenuConfig-
|
|
2
|
-
import { n as _sfc_main, t as _sfc_main$1 } from "../Typeahead-
|
|
1
|
+
import { a as _sfc_main$2 } from "../useTypeaheadMenuConfig-0glQWHQd.js";
|
|
2
|
+
import { n as _sfc_main, t as _sfc_main$1 } from "../Typeahead-DtNM4311.js";
|
|
3
3
|
export { _sfc_main as BaseTypeahead, _sfc_main$1 as Typeahead, _sfc_main$2 as TypeaheadItem };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { t as _sfc_main$2 } from "./Icon-
|
|
1
|
+
import { t as _sfc_main$2 } from "./Icon-BUSj1-Th.js";
|
|
2
2
|
import { r as useInputGroupDisabled } from "./context-Bg7eSJ47.js";
|
|
3
3
|
import { t as isImeKeyEvent } from "./ime-VY8-80S8.js";
|
|
4
4
|
import { t as _sfc_main$3 } from "./ButtonTooltip-ZpQP-aQg.js";
|
|
5
5
|
import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
|
|
6
6
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
7
7
|
import { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
8
|
-
import { t as useInputStatusIcon } from "./useInputStatusIcon-
|
|
8
|
+
import { t as useInputStatusIcon } from "./useInputStatusIcon-DJfhmCiH.js";
|
|
9
9
|
import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
|
|
10
10
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
11
11
|
import { t as useBusyAnnouncement } from "./busyAnnouncement-CExubuYm.js";
|
|
12
|
-
import { t as _sfc_main$4 } from "./Spinner-
|
|
13
|
-
import { t as _sfc_main$5 } from "./Field-
|
|
12
|
+
import { t as _sfc_main$4 } from "./Spinner-lLOYfbOY.js";
|
|
13
|
+
import { t as _sfc_main$5 } from "./Field-BYAHZ4s7.js";
|
|
14
14
|
import { t as useFieldPartStyling } from "./fieldParts-CuE5V12i.js";
|
|
15
15
|
import { t as typeaheadMessages } from "./typeahead-BgfLP7vR.js";
|
|
16
16
|
import { t as _sfc_main$6 } from "./Token-Di7w9Cvr.js";
|
|
17
17
|
import { n as scrollOptionIntoView, r as useAnchoredListbox } from "./stillPointerGate-DXFzBeMy.js";
|
|
18
|
-
import { i as _sfc_main$7, n as useTypeaheadAnnouncement, o as useTypeaheadMenu, r as useLatchedOptionGrid, t as useTypeaheadMenuConfig } from "./useTypeaheadMenuConfig-
|
|
18
|
+
import { i as _sfc_main$7, n as useTypeaheadAnnouncement, o as useTypeaheadMenu, r as useLatchedOptionGrid, t as useTypeaheadMenuConfig } from "./useTypeaheadMenuConfig-0glQWHQd.js";
|
|
19
19
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, guardReactiveProps, inject, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onMounted, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toDisplayString, unref, useAttrs, useId, useTemplateRef, watch, withCtx } from "vue";
|
|
20
20
|
import "../styles/layer.css";
|
|
21
21
|
import "../styles/visually-hidden-utility.css";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
|
|
2
|
-
import { t as _sfc_main$4 } from "./Icon-
|
|
2
|
+
import { t as _sfc_main$4 } from "./Icon-BUSj1-Th.js";
|
|
3
3
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
4
4
|
import { t as focusForLastInput } from "./focusReturn-BeSRm0xD.js";
|
|
5
5
|
import { r as keepDisabledRowUnfocused } from "./menuActivation-BQqnzKAX.js";
|
|
6
6
|
import { t as _sfc_main$5 } from "./Item-DrV3f4fe.js";
|
|
7
7
|
import { t as _sfc_main$6 } from "./CheckboxIndicator-fH4d-JE1.js";
|
|
8
|
-
import { r as useCompactDefinition } from "./compactDefinition-
|
|
9
|
-
import { r as readCompactTouch } from "./presentationHold-
|
|
8
|
+
import { r as useCompactDefinition } from "./compactDefinition-D32f2O_H.js";
|
|
9
|
+
import { r as readCompactTouch } from "./presentationHold-Bjjux3fp.js";
|
|
10
10
|
import { t as dropdownMenuMessages } from "./dropdown-menu-BDu4gWwQ.js";
|
|
11
11
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, inject, mergeModels, mergeProps, openBlock, provide, ref, renderSlot, toDisplayString, unref, useAttrs, useModel, useSlots, watch, withCtx } from "vue";
|
|
12
12
|
import "../styles/dropdown-menu.css";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { f as StoredIconEntry, p as ThemeIconEntries } from "./types-D8t_HevJ.js";
|
|
2
2
|
import { i as SyntaxThemeDefinition } from "./syntaxTheme-CwVEcVDk.js";
|
|
3
3
|
import { c as ComponentIconStaticMap, d as StoredComponentIconValue, i as ComponentIconMap, t as SemanticIconMap } from "./semantic-Dj507RuV.js";
|
|
4
|
+
import { n as ThemePalette } from "./types-DypDQlbk.js";
|
|
4
5
|
import { Component } from "vue";
|
|
5
6
|
//#region src/Theme/expandColorScale.d.ts
|
|
6
7
|
/**
|
|
@@ -310,6 +311,14 @@ interface DefineThemeInput<IconVariants extends readonly string[] | undefined =
|
|
|
310
311
|
name: string;
|
|
311
312
|
/** Semantic token overrides. These win over generated values, token by token. */
|
|
312
313
|
tokens?: ThemeTokens;
|
|
314
|
+
/**
|
|
315
|
+
* Colors made from a few seeds by `themePalette()` from
|
|
316
|
+
* `@astryx-vue/core/palette`: the color tokens the theme editor maps for its
|
|
317
|
+
* color settings, and the part styles that keep secondary text readable on
|
|
318
|
+
* the accent tint, the neutral track and the colored cards. `tokens` and
|
|
319
|
+
* `components` still win, one by one.
|
|
320
|
+
*/
|
|
321
|
+
palette?: ThemePalette;
|
|
313
322
|
/**
|
|
314
323
|
* Values only this theme family uses, keyed by their exact custom-property
|
|
315
324
|
* name, such as `--brand-ink`. No prefix is added or required.
|
|
@@ -2,7 +2,7 @@ import { t as isImeKeyEvent } from "./ime-VY8-80S8.js";
|
|
|
2
2
|
import { r as isKeyboardModality } from "./interactionModality-4Km2ibsq.js";
|
|
3
3
|
import { n as isDevBuild, t as devPropError } from "./devBuild-G249YcdZ.js";
|
|
4
4
|
import { n as focusElement } from "./focus-x7mxEqjR.js";
|
|
5
|
-
import { t as useHeldPresentation } from "./useHeldPresentation-
|
|
5
|
+
import { t as useHeldPresentation } from "./useHeldPresentation-0Z0Untra.js";
|
|
6
6
|
import { computed, nextTick, onScopeDispose, ref, watch } from "vue";
|
|
7
7
|
//#region src/Selector/selectorEscape.ts
|
|
8
8
|
/** 弹出层关掉后,焦点回到触发按钮,而不是掉到 body。 */
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
//#region src/Theme/colorMode.ts
|
|
2
|
+
/**
|
|
3
|
+
* Split `light-dark(light, dark)` at the top-level comma.
|
|
4
|
+
* Nested functions such as `rgb()` keep their own commas.
|
|
5
|
+
*/
|
|
6
|
+
function splitLightDark(value) {
|
|
7
|
+
const trimmed = value.trim();
|
|
8
|
+
if (!trimmed.startsWith("light-dark(") || !trimmed.endsWith(")")) return null;
|
|
9
|
+
const body = trimmed.slice(11, -1);
|
|
10
|
+
let depth = 0;
|
|
11
|
+
for (let index = 0; index < body.length; index += 1) {
|
|
12
|
+
const char = body[index];
|
|
13
|
+
if (char === "(") depth += 1;
|
|
14
|
+
else if (char === ")") depth -= 1;
|
|
15
|
+
else if (char === "," && depth === 0) {
|
|
16
|
+
const light = body.slice(0, index).trim();
|
|
17
|
+
const dark = body.slice(index + 1).trim();
|
|
18
|
+
return light && dark ? [light, dark] : null;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Pick the stop `light-dark()` would use for the effective mode.
|
|
25
|
+
* A value that is not `light-dark()` is returned unchanged.
|
|
26
|
+
*/
|
|
27
|
+
function resolveLightDark(value, mode) {
|
|
28
|
+
const parts = splitLightDark(value);
|
|
29
|
+
if (!parts) return value.trim();
|
|
30
|
+
return mode === "dark" ? parts[1] : parts[0];
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* The mode `light-dark()` is using on the page.
|
|
34
|
+
*
|
|
35
|
+
* An explicit theme mode is handled by the caller. This reads the document
|
|
36
|
+
* attribute, the docs site's `dark` class, then the scheme the page root
|
|
37
|
+
* draws in (`pageScheme`, see `rootScheme.ts`), and last the OS preference
|
|
38
|
+
* that was already measured, which decides when the root names both schemes.
|
|
39
|
+
*/
|
|
40
|
+
function readColorMode(prefersDark, pageScheme = null) {
|
|
41
|
+
if (typeof document !== "undefined") {
|
|
42
|
+
const attr = document.documentElement.getAttribute("data-astryx-color-mode");
|
|
43
|
+
if (attr === "light" || attr === "dark") return attr;
|
|
44
|
+
if (document.documentElement.classList.contains("dark")) return "dark";
|
|
45
|
+
}
|
|
46
|
+
return pageScheme ?? (prefersDark ? "dark" : "light");
|
|
47
|
+
}
|
|
48
|
+
//#endregion
|
|
49
|
+
export { resolveLightDark as n, readColorMode as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { r as themeContextKey } from "./context-CwV8eyUd.js";
|
|
2
2
|
import { t as DEFAULT_WIDTH_BREAKPOINTS } from "./adaptationTypes-Beao49TN.js";
|
|
3
3
|
import { computed, inject } from "vue";
|
|
4
4
|
//#region src/Theme/compactDefinition.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as useAnimatedLayout, r as AnimatedLayout, t as UseAnimatedLayoutOptions } from "../useAnimatedLayout-C0koWm4a.js";
|
|
2
2
|
import { i as createReorderable, n as Reorderable, r as ReorderableOptions, t as ReorderMove } from "../createReorderable-Bw3Q9mUd.js";
|
|
3
|
-
import { $ as parseISODate, $n as
|
|
3
|
+
import { $ as parseISODate, $n as formatDisplayTime, $r as AnimatorDecayVelocity, $t as IndicatorFocusRingHandlers, A as useRestoreFocus, An as EntryAnimationPreset, Ar as UseChatNewMessagesOptions, At as LinkifyPattern, B as UseOverflowOptions, Bn as useDisclosureHandle, Br as useAnimator, Bt as UseLayerReturn, C as ScrollStickyContainment, Cn as FileSelectionResult, Cr as hasTextSelection, Ct as LongPressOptions, D as useScrollableArea, Dn as FieldControlState, Dr as UseChatStreamScrollReturn, Dt as UseListFocusOptions, E as UseScrollableAreaResult, En as selectFiles, Er as UseChatStreamScrollOptions, Et as ListFocusOrientation, F as usePressFeedback, Fn as useDragToSnapPoints, Fr as useAppShellMobile, Ft as useLayerMountTarget, G as computeOverflow, Gn as resolveDatePresentation, Gr as PanGestureEvent, Gt as useKeyboardHint, H as useOverflow, Hn as useDevWarning, Hr as DragToSnapPointsOptions, Ht as KeyboardHintOrientation, I as PendingChange, In as UseDismissOptions, Ir as AnnounceFn, It as useLayerTeleportTarget, J as UseNumberFieldOptions, Jn as ISOTimeString, Jr as createPanGesture, Jt as UseInteractiveRoleReturn, K as NumberField, Kn as resolveDateSurface, Kr as PanGestureOptions, Kt as InteractiveRole, L as usePendingChange, Ln as useDismiss, Lr as UseAnnounceOptions, Lt as useResolvedLayerTeleport, M as useReorderable, Mn as UseEntryAnimationReturn, Mr as useChatNewMessages, Mt as LinkifyTextSegment, N as UsePressFeedbackOptions, Nn as useEntryAnimation, Nr as AppShellMobile, Nt as UseLinkifyOptions, O as RestoreFocus, On as FieldControlStateInput, Or as useChatStreamScroll, Ot as useListFocus, P as UsePressFeedbackReturn, Pn as UseDragToSnapPointsResult, Pr as appShellMobileKey, Pt as useLinkify, Q as buildMonthGrid, Qn as TimeSurface, Qr as AnimatorChannel, Qt as useInputContainer, R as usePanGesture, Rn as DisclosureHandle, Rr as useAnnounce, Rt as LayerMode, S as ScrollRole, Sn as FileSelectionOptions, Sr as hasInteractiveAncestor, St as LongPressHandlers, T as UseScrollableAreaOptions, Tn as formatFileSize, Tr as ChatScrollToBottomOptions, Tt as ListFocus, U as ComputeOverflowInput, Un as DatePresentation, Ur as createDragToSnapPoints, Ut as UseKeyboardHint, V as UseOverflowReturn, Vn as devWarn, Vr as DragToSnapPoints, Vt as useLayer, W as ComputeOverflowResult, Wn as DateSurface, Wr as PanGesture, Wt as UseKeyboardHintOptions, X as useNumberField, Xn as ParsedTime, Xr as Animator, Xt as InputContainerHandlers, Y as computeSteppedValue, Yn as NativePicker, Yr as createAnimator, Yt as useInteractiveRole, Z as addMonths, Zn as TimePresentation, Zr as AnimatorAnimateOptions, Zt as UseInputContainerOptions, _ as useScrollLock, _n as useGridFocus, _r as useCombobox, _t as MenuPressPointerType, a as UseTouchTriggerOptions, ai as ISODateRange, an as imageModeFromPixels, ar as shiftTime, at as MENU_PRESS_LIT_ATTRIBUTE, b as ScrollKeyboardAccess, bn as useFocusTrap, br as INTERACTIVE_SELECTORS, bt as useMediaQuery, c as isActionTrigger, ci as applyRangeClick, cn as Hotkey, cr as useControllableState, ct as useMenuPress, d as snapToGraphemeBoundary, di as isDayOutsideSpan, dn as useHandleRef, dr as UseContainerReveal, dt as resetMenuPress, ei as AnimatorHandle, en as UseIndicatorFocusRingOptions, er as formatISOTime, et as toISODate, f as useStreamingText, fi as isRangeWithinSpan, fn as GridRovingFocus, fr as UseContainerRevealOptions, ft as MENU_PRESS_HANDOFF_PX, g as useScrollOverflow, gi as spanDays, gn as UseGridFocusReturn, gr as UseComboboxOptions, gt as MenuPressGesture, h as UseScrollOverflowResult, hi as resolveWeekStart, hn as UseGridFocusOptions, hr as ComboboxOption, ht as MenuPressEvent, i as LayerTouchTrigger, ii as SnapPagingOptions, in as UseImageModeOptions, ir as resolveTimeSurface, it as useMergedRefs, j as useResolvedLabelHidden, jn as UseEntryAnimationOptions, jr as UseChatNewMessagesReturn, jt as LinkifySegment, k as UseRestoreFocusOptions, kn as useFieldControlState, kr as CHAT_MESSAGE_CLASS, kt as LinkifyLinkSegment, l as StreamingTextSpeed, li as compareISODate, ln as useHotkeys, lr as ContainerRevealOptions, lt as MENU_PRESS_MARKER, m as ScrollOverflowState, mi as orderRange, mn as useGridRovingFocus, mr as Combobox, mt as MenuPressEffect, n as UseTypeaheadReturn, ni as AnimatorValues, nn as useIndicatorFocusRing, nr as parseDisplayTime, nt as MergedRef, o as UseTouchTriggerReturn, oi as RangeClickResult, on as perceptualLightness, or as ControllableState, ot as MenuPress, p as useSnapPaging, pi as isSameRange, pn as UseGridRovingFocusOptions, pr as useContainerReveal, pt as MENU_PRESS_SETTLE_MS, q as NumberStepDirection, qn as HourFormat, qr as PanGestureState, qt as UseInteractiveRoleOptions, r as useTypeahead, ri as SnapPaging, rn as ImageSampleRegion, rr as parseISOTime, rt as MergedRefHandle, s as useTouchTrigger, si as WeekStartsOn, sn as useImageMode, sr as UseControllableStateOptions, st as MenuPressOptions, t as UseTypeaheadOptions, ti as AnimatorSnapshot, tn as UseIndicatorFocusRingReturn, tr as isTimeInRange, tt as todayISODate, u as UseStreamingTextOptions, ui as formatDateRange, un as HandleRef, ur as ContentRevealOptions, ut as isMenuPressActivation, v as ScrollAxis, vn as FocusTrap, vr as useCoarsePointer, vt as MenuPressStep, w as ScrollableAreaState, wn as FileSizeUnits, wr as useClickableContainer, wt as useLongPress, x as ScrollOverscroll, xn as FileRejection, xr as UseClickableContainerOptions, xt as watchMediaQuery, y as ScrollAxisState, yn as UseFocusTrapOptions, yr as ClickableContainerHandlers, yt as menuPressStep, z as OverflowInlineBounds, zn as DisclosureHandleRef, zr as AnnouncePoliteness, zt as UseLayerOptions } from "../index-BzaRSOA3.js";
|
|
4
4
|
import { a as SearchSource, c as createStaticSource, i as SearchContext, l as useAsyncSource, n as AsyncSourceStatus, o as SearchableItem, r as CreateStaticSourceOptions, s as UseAsyncSourceOptions, t as AsyncSource } from "../useAsyncSource-DbG2FSuI.js";
|
|
5
5
|
import { n as UseClipboardReturn, r as useClipboard, t as UseClipboardOptions } from "../useClipboard-DeO8fCW_.js";
|
|
6
6
|
import { t as characterCount } from "../characters-rcDbGt71.js";
|
|
7
7
|
import { i as useInputStatusIcon, n as UseInputStatusIconOptions, r as UseInputStatusIconReturn, t as InputStatusVariant } from "../useInputStatusIcon-CFkOmDS4.js";
|
|
8
8
|
import { a as ResizableRegionConfig, c as UseResizableMultiConfig, d as useResizable, f as percent, i as ResizableRegion, l as UseResizableOptions, n as ResizablePercentSize, o as ResizableSize, r as ResizableProps, s as ResizableState, t as ResizableDirection, u as UseResizableSingleOptions } from "../useResizable-CKDaU_se.js";
|
|
9
|
-
export { type AnimatedLayout, type Animator, type AnimatorAnimateOptions, type AnimatorChannel, type AnimatorDecayVelocity, type AnimatorHandle, type AnimatorSnapshot, type AnimatorValues, type AnnounceFn, type AnnouncePoliteness, type AppShellMobile, type AsyncSource, type AsyncSourceStatus, CHAT_MESSAGE_CLASS, type ChatScrollToBottomOptions, type ClickableContainerHandlers, type Combobox, type ComboboxOption, type ComputeOverflowInput, type ComputeOverflowResult, type ContainerRevealOptions, type ContentRevealOptions, type ControllableState, type CreateStaticSourceOptions, type DatePresentation, type DateSurface, type DisclosureHandle, type DisclosureHandleRef, type DragToSnapPoints, type DragToSnapPointsOptions, type EntryAnimationPreset, type FieldControlState, type FieldControlStateInput, type FileRejection, type FileSelectionOptions, type FileSelectionResult, type FileSizeUnits, type FocusTrap, type GridRovingFocus, type HandleRef, type Hotkey, type HourFormat, INTERACTIVE_SELECTORS, type ISODateRange, type ISOTimeString, type ImageSampleRegion, type IndicatorFocusRingHandlers, type InputContainerHandlers, type InputStatusVariant, type InteractiveRole, type KeyboardHintOrientation, type LayerMode, type LayerTouchTrigger, type LinkifyLinkSegment, type LinkifyPattern, type LinkifySegment, type LinkifyTextSegment, type ListFocus, type ListFocusOrientation, type LongPressHandlers, type LongPressOptions, MENU_PRESS_HANDOFF_PX, MENU_PRESS_LIT_ATTRIBUTE, MENU_PRESS_MARKER, MENU_PRESS_SETTLE_MS, type MenuPress, type MenuPressEffect, type MenuPressEvent, type MenuPressGesture, type MenuPressOptions, type MenuPressPointerType, type MenuPressStep, type MergedRef, type MergedRefHandle, type NativePicker, type NumberField, type NumberStepDirection, type OverflowInlineBounds, type PanGesture, type PanGestureEvent, type PanGestureOptions, type PanGestureState, type ParsedTime, type PendingChange, type RangeClickResult, type ReorderMove, type Reorderable, type ReorderableOptions, type ResizableDirection, type ResizablePercentSize, type ResizableProps, type ResizableRegion, type ResizableRegionConfig, type ResizableSize, type ResizableState, type RestoreFocus, type ScrollAxis, type ScrollAxisState, type ScrollKeyboardAccess, type ScrollOverflowState, type ScrollOverscroll, type ScrollRole, type ScrollStickyContainment, type ScrollableAreaState, type SearchContext, type SearchSource, type SearchableItem, type SnapPaging, type SnapPagingOptions, type StreamingTextSpeed, type TimePresentation, type TimeSurface, type UseAnimatedLayoutOptions, type UseAnnounceOptions, type UseAsyncSourceOptions, type UseChatNewMessagesOptions, type UseChatNewMessagesReturn, type UseChatStreamScrollOptions, type UseChatStreamScrollReturn, type UseClickableContainerOptions, type UseClipboardOptions, type UseClipboardReturn, type UseComboboxOptions, type UseContainerReveal, type UseContainerRevealOptions, type UseControllableStateOptions, type UseDismissOptions, type UseDragToSnapPointsResult, type UseEntryAnimationOptions, type UseEntryAnimationReturn, type UseFocusTrapOptions, type UseGridFocusOptions, type UseGridFocusReturn, type UseGridRovingFocusOptions, type UseImageModeOptions, type UseIndicatorFocusRingOptions, type UseIndicatorFocusRingReturn, type UseInputContainerOptions, type UseInputStatusIconOptions, type UseInputStatusIconReturn, type UseInteractiveRoleOptions, type UseInteractiveRoleReturn, type UseKeyboardHint, type UseKeyboardHintOptions, type UseLayerOptions, type UseLayerReturn, type UseLinkifyOptions, type UseListFocusOptions, type UseNumberFieldOptions, type UseOverflowOptions, type UseOverflowReturn, type UsePressFeedbackOptions, type UsePressFeedbackReturn, type UseResizableMultiConfig, type UseResizableOptions, type UseResizableSingleOptions, type UseRestoreFocusOptions, type UseScrollOverflowResult, type UseScrollableAreaOptions, type UseScrollableAreaResult, type UseStreamingTextOptions, type UseTouchTriggerOptions, type UseTouchTriggerReturn, type UseTypeaheadOptions, type UseTypeaheadReturn, type WeekStartsOn, addMonths, appShellMobileKey, applyRangeClick, buildMonthGrid, compareISODate, computeOverflow, computeSteppedValue, characterCount as countCharacters, createAnimator, createDragToSnapPoints, createPanGesture, createReorderable, createStaticSource, devWarn, formatDateRange, formatDisplayTime, formatFileSize, formatISOTime, hasInteractiveAncestor, hasTextSelection, imageModeFromPixels, isActionTrigger, isDayOutsideSpan, isMenuPressActivation, isRangeWithinSpan, isSameRange, isTimeInRange, menuPressStep, orderRange, parseDisplayTime, parseISODate, parseISOTime, percent, perceptualLightness, resetMenuPress, resolveDatePresentation, resolveDateSurface, resolveTimeSurface, resolveWeekStart, selectFiles, shiftTime, snapToGraphemeBoundary, spanDays, toISODate, todayISODate, useAnimatedLayout, useAnimator, useAnnounce, useAppShellMobile, useAsyncSource, useChatNewMessages, useChatStreamScroll, useClickableContainer, useClipboard, useCoarsePointer, useCombobox, useContainerReveal, useControllableState, useDevWarning, useDisclosureHandle, useDismiss, useDragToSnapPoints, useEntryAnimation, useFieldControlState, useFocusTrap, useGridFocus, useGridRovingFocus, useHandleRef, useHotkeys, useImageMode, useIndicatorFocusRing, useInputContainer, useInputStatusIcon, useInteractiveRole, useKeyboardHint, useLayer, useLayerMountTarget, useLayerTeleportTarget, useLinkify, useListFocus, useLongPress, useMediaQuery, useMenuPress, useMergedRefs, useNumberField, useOverflow, usePanGesture, usePendingChange, usePressFeedback, useReorderable, useResizable, useResolvedLabelHidden, useResolvedLayerTeleport, useRestoreFocus, useScrollLock, useScrollOverflow, useScrollableArea, useSnapPaging, useStreamingText, useTouchTrigger, useTypeahead };
|
|
9
|
+
export { type AnimatedLayout, type Animator, type AnimatorAnimateOptions, type AnimatorChannel, type AnimatorDecayVelocity, type AnimatorHandle, type AnimatorSnapshot, type AnimatorValues, type AnnounceFn, type AnnouncePoliteness, type AppShellMobile, type AsyncSource, type AsyncSourceStatus, CHAT_MESSAGE_CLASS, type ChatScrollToBottomOptions, type ClickableContainerHandlers, type Combobox, type ComboboxOption, type ComputeOverflowInput, type ComputeOverflowResult, type ContainerRevealOptions, type ContentRevealOptions, type ControllableState, type CreateStaticSourceOptions, type DatePresentation, type DateSurface, type DisclosureHandle, type DisclosureHandleRef, type DragToSnapPoints, type DragToSnapPointsOptions, type EntryAnimationPreset, type FieldControlState, type FieldControlStateInput, type FileRejection, type FileSelectionOptions, type FileSelectionResult, type FileSizeUnits, type FocusTrap, type GridRovingFocus, type HandleRef, type Hotkey, type HourFormat, INTERACTIVE_SELECTORS, type ISODateRange, type ISOTimeString, type ImageSampleRegion, type IndicatorFocusRingHandlers, type InputContainerHandlers, type InputStatusVariant, type InteractiveRole, type KeyboardHintOrientation, type LayerMode, type LayerTouchTrigger, type LinkifyLinkSegment, type LinkifyPattern, type LinkifySegment, type LinkifyTextSegment, type ListFocus, type ListFocusOrientation, type LongPressHandlers, type LongPressOptions, MENU_PRESS_HANDOFF_PX, MENU_PRESS_LIT_ATTRIBUTE, MENU_PRESS_MARKER, MENU_PRESS_SETTLE_MS, type MenuPress, type MenuPressEffect, type MenuPressEvent, type MenuPressGesture, type MenuPressOptions, type MenuPressPointerType, type MenuPressStep, type MergedRef, type MergedRefHandle, type NativePicker, type NumberField, type NumberStepDirection, type OverflowInlineBounds, type PanGesture, type PanGestureEvent, type PanGestureOptions, type PanGestureState, type ParsedTime, type PendingChange, type RangeClickResult, type ReorderMove, type Reorderable, type ReorderableOptions, type ResizableDirection, type ResizablePercentSize, type ResizableProps, type ResizableRegion, type ResizableRegionConfig, type ResizableSize, type ResizableState, type RestoreFocus, type ScrollAxis, type ScrollAxisState, type ScrollKeyboardAccess, type ScrollOverflowState, type ScrollOverscroll, type ScrollRole, type ScrollStickyContainment, type ScrollableAreaState, type SearchContext, type SearchSource, type SearchableItem, type SnapPaging, type SnapPagingOptions, type StreamingTextSpeed, type TimePresentation, type TimeSurface, type UseAnimatedLayoutOptions, type UseAnnounceOptions, type UseAsyncSourceOptions, type UseChatNewMessagesOptions, type UseChatNewMessagesReturn, type UseChatStreamScrollOptions, type UseChatStreamScrollReturn, type UseClickableContainerOptions, type UseClipboardOptions, type UseClipboardReturn, type UseComboboxOptions, type UseContainerReveal, type UseContainerRevealOptions, type UseControllableStateOptions, type UseDismissOptions, type UseDragToSnapPointsResult, type UseEntryAnimationOptions, type UseEntryAnimationReturn, type UseFocusTrapOptions, type UseGridFocusOptions, type UseGridFocusReturn, type UseGridRovingFocusOptions, type UseImageModeOptions, type UseIndicatorFocusRingOptions, type UseIndicatorFocusRingReturn, type UseInputContainerOptions, type UseInputStatusIconOptions, type UseInputStatusIconReturn, type UseInteractiveRoleOptions, type UseInteractiveRoleReturn, type UseKeyboardHint, type UseKeyboardHintOptions, type UseLayerOptions, type UseLayerReturn, type UseLinkifyOptions, type UseListFocusOptions, type UseNumberFieldOptions, type UseOverflowOptions, type UseOverflowReturn, type UsePressFeedbackOptions, type UsePressFeedbackReturn, type UseResizableMultiConfig, type UseResizableOptions, type UseResizableSingleOptions, type UseRestoreFocusOptions, type UseScrollOverflowResult, type UseScrollableAreaOptions, type UseScrollableAreaResult, type UseStreamingTextOptions, type UseTouchTriggerOptions, type UseTouchTriggerReturn, type UseTypeaheadOptions, type UseTypeaheadReturn, type WeekStartsOn, addMonths, appShellMobileKey, applyRangeClick, buildMonthGrid, compareISODate, computeOverflow, computeSteppedValue, characterCount as countCharacters, createAnimator, createDragToSnapPoints, createPanGesture, createReorderable, createStaticSource, devWarn, formatDateRange, formatDisplayTime, formatFileSize, formatISOTime, hasInteractiveAncestor, hasTextSelection, imageModeFromPixels, isActionTrigger, isDayOutsideSpan, isMenuPressActivation, isRangeWithinSpan, isSameRange, isTimeInRange, menuPressStep, orderRange, parseDisplayTime, parseISODate, parseISOTime, percent, perceptualLightness, resetMenuPress, resolveDatePresentation, resolveDateSurface, resolveTimeSurface, resolveWeekStart, selectFiles, shiftTime, snapToGraphemeBoundary, spanDays, toISODate, todayISODate, useAnimatedLayout, useAnimator, useAnnounce, useAppShellMobile, useAsyncSource, useChatNewMessages, useChatStreamScroll, useClickableContainer, useClipboard, useCoarsePointer, useCombobox, useContainerReveal, useControllableState, useDevWarning, useDisclosureHandle, useDismiss, useDragToSnapPoints, useEntryAnimation, useFieldControlState, useFocusTrap, useGridFocus, useGridRovingFocus, useHandleRef, useHotkeys, useImageMode, useIndicatorFocusRing, useInputContainer, useInputStatusIcon, useInteractiveRole, useKeyboardHint, useLayer, useLayerMountTarget, useLayerTeleportTarget, useLinkify, useListFocus, useLongPress, useMediaQuery, useMenuPress, useMergedRefs, useNumberField, useOverflow, usePanGesture, usePendingChange, usePressFeedback, useReorderable, useResizable, useResolvedLabelHidden, useResolvedLayerTeleport, useRestoreFocus, useScrollLock, useScrollOverflow, useScrollableArea, useSnapPaging, useStreamingText, useTouchTrigger, useTypeahead, watchMediaQuery };
|
|
@@ -4,15 +4,15 @@ import { n as useLayerTeleportTarget, r as useResolvedLayerTeleport, t as useLay
|
|
|
4
4
|
import { t as useDismiss } from "../useDismiss-yu_sIa7a.js";
|
|
5
5
|
import { n as useLayer } from "../tooltipTriggerRules-CoGD2lVn.js";
|
|
6
6
|
import { t as useCoarsePointer } from "../useCoarsePointer-GItEMrjX.js";
|
|
7
|
-
import { t as useMediaQuery } from "../useMediaQuery-
|
|
7
|
+
import { n as watchMediaQuery, t as useMediaQuery } from "../useMediaQuery-DKnSDG3S.js";
|
|
8
8
|
import { t as characterCount } from "../characters-wTnzjkkR.js";
|
|
9
9
|
import { n as useDevWarning, t as devWarn } from "../useDevWarning-B2fsk2B-.js";
|
|
10
|
-
import { C as createAnimator, S as createPanGesture, _ as useControllableState, a as useReorderable, b as createReorderable, c as useKeyboardHint, d as perceptualLightness, f as useImageMode, g as useDragToSnapPoints, h as useEntryAnimation, i as useSnapPaging, l as useIndicatorFocusRing, m as useGridFocus, n as snapToGraphemeBoundary, o as usePanGesture, p as useGridRovingFocus, r as useStreamingText, s as useLinkify, t as useTouchTrigger, u as imageModeFromPixels, v as useContainerReveal, x as createDragToSnapPoints, y as useAnimator } from "../composables-
|
|
10
|
+
import { C as createAnimator, S as createPanGesture, _ as useControllableState, a as useReorderable, b as createReorderable, c as useKeyboardHint, d as perceptualLightness, f as useImageMode, g as useDragToSnapPoints, h as useEntryAnimation, i as useSnapPaging, l as useIndicatorFocusRing, m as useGridFocus, n as snapToGraphemeBoundary, o as usePanGesture, p as useGridRovingFocus, r as useStreamingText, s as useLinkify, t as useTouchTrigger, u as imageModeFromPixels, v as useContainerReveal, x as createDragToSnapPoints, y as useAnimator } from "../composables-D5840uKi.js";
|
|
11
11
|
import { t as useAnnounce } from "../announce-GU01Oix2.js";
|
|
12
|
-
import { t as useAnimatedLayout } from "../useAnimatedLayout-
|
|
12
|
+
import { t as useAnimatedLayout } from "../useAnimatedLayout-CXjd5pjG.js";
|
|
13
13
|
import { n as useAppShellMobile, t as appShellMobileKey } from "../useAppShellMobile-DTsyuAJ4.js";
|
|
14
14
|
import { n as useAsyncSource, t as createStaticSource } from "../useAsyncSource-7GTcK8ep.js";
|
|
15
|
-
import { i as useChatNewMessages, r as CHAT_MESSAGE_CLASS, t as useChatStreamScroll } from "../useChatStreamScroll-
|
|
15
|
+
import { i as useChatNewMessages, r as CHAT_MESSAGE_CLASS, t as useChatStreamScroll } from "../useChatStreamScroll-BQpGHGAr.js";
|
|
16
16
|
import { t as useClipboard } from "../useClipboard-CTY3GwFz.js";
|
|
17
17
|
import { t as useCombobox } from "../useCombobox-BbDP75hw.js";
|
|
18
18
|
import { n as resolveDateSurface, t as resolveDatePresentation } from "../useDatePresentation-C07PnOCw.js";
|
|
@@ -22,9 +22,9 @@ import { t as useFieldControlState } from "../useFieldControlState-voICDrys.js";
|
|
|
22
22
|
import { n as selectFiles, t as formatFileSize } from "../useFileSelection-Cfcbh8XI.js";
|
|
23
23
|
import { t as useFocusTrap } from "../useFocusTrap-Bj9GskLh.js";
|
|
24
24
|
import { t as useHandleRef } from "../useHandleRef-6cdKugm8.js";
|
|
25
|
-
import { n as percent, r as useHotkeys, t as useResizable } from "../useResizable-
|
|
25
|
+
import { n as percent, r as useHotkeys, t as useResizable } from "../useResizable-CJQAV_tU.js";
|
|
26
26
|
import { t as useInputContainer } from "../useInputContainer-CLhsKYZ6.js";
|
|
27
|
-
import { t as useInputStatusIcon } from "../useInputStatusIcon-
|
|
27
|
+
import { t as useInputStatusIcon } from "../useInputStatusIcon-DJfhmCiH.js";
|
|
28
28
|
import { t as useInteractiveRole } from "../useInteractiveRole-Cn0Nd5GX.js";
|
|
29
29
|
import { t as useListFocus } from "../useListFocus-Ccd_HU9T.js";
|
|
30
30
|
import { a as menuPressStep, c as resetMenuPress, i as MENU_PRESS_SETTLE_MS, l as useLongPress, n as useMenuPress, o as MENU_PRESS_MARKER, r as MENU_PRESS_HANDOFF_PX, s as isMenuPressActivation, t as MENU_PRESS_LIT_ATTRIBUTE } from "../useMenuPress-DrrOBqjM.js";
|
|
@@ -41,4 +41,4 @@ import { t as useScrollOverflow } from "../useScrollOverflow-DuMoGXmm.js";
|
|
|
41
41
|
import { a as parseISOTime, i as parseDisplayTime, n as formatISOTime, o as resolveTimeSurface, r as isTimeInRange, s as shiftTime, t as formatDisplayTime } from "../useTimeValue-8YfPQffv.js";
|
|
42
42
|
import { n as isActionTrigger } from "../useTouchTriggerInternal-Obcx-oKN.js";
|
|
43
43
|
import { t as useTypeahead } from "../useTypeahead-HlZ9cICe.js";
|
|
44
|
-
export { CHAT_MESSAGE_CLASS, INTERACTIVE_SELECTORS, MENU_PRESS_HANDOFF_PX, MENU_PRESS_LIT_ATTRIBUTE, MENU_PRESS_MARKER, MENU_PRESS_SETTLE_MS, addMonths, appShellMobileKey, applyRangeClick, buildMonthGrid, compareISODate, computeOverflow, computeSteppedValue, characterCount as countCharacters, createAnimator, createDragToSnapPoints, createPanGesture, createReorderable, createStaticSource, devWarn, formatDateRange, formatDisplayTime, formatFileSize, formatISOTime, hasInteractiveAncestor, hasTextSelection, imageModeFromPixels, isActionTrigger, isDayOutsideSpan, isMenuPressActivation, isRangeWithinSpan, isSameRange, isTimeInRange, menuPressStep, orderRange, parseDisplayTime, parseISODate, parseISOTime, percent, perceptualLightness, resetMenuPress, resolveDatePresentation, resolveDateSurface, resolveTimeSurface, resolveWeekStart, selectFiles, shiftTime, snapToGraphemeBoundary, spanDays, toISODate, todayISODate, useAnimatedLayout, useAnimator, useAnnounce, useAppShellMobile, useAsyncSource, useChatNewMessages, useChatStreamScroll, useClickableContainer, useClipboard, useCoarsePointer, useCombobox, useContainerReveal, useControllableState, useDevWarning, useDisclosureHandle, useDismiss, useDragToSnapPoints, useEntryAnimation, useFieldControlState, useFocusTrap, useGridFocus, useGridRovingFocus, useHandleRef, useHotkeys, useImageMode, useIndicatorFocusRing, useInputContainer, useInputStatusIcon, useInteractiveRole, useKeyboardHint, useLayer, useLayerMountTarget, useLayerTeleportTarget, useLinkify, useListFocus, useLongPress, useMediaQuery, useMenuPress, useMergedRefs, useNumberField, useOverflow, usePanGesture, usePendingChange, usePressFeedback, useReorderable, useResizable, useResolvedLabelHidden, useResolvedLayerTeleport, useRestoreFocus, useScrollLock, useScrollOverflow, useScrollableArea, useSnapPaging, useStreamingText, useTouchTrigger, useTypeahead };
|
|
44
|
+
export { CHAT_MESSAGE_CLASS, INTERACTIVE_SELECTORS, MENU_PRESS_HANDOFF_PX, MENU_PRESS_LIT_ATTRIBUTE, MENU_PRESS_MARKER, MENU_PRESS_SETTLE_MS, addMonths, appShellMobileKey, applyRangeClick, buildMonthGrid, compareISODate, computeOverflow, computeSteppedValue, characterCount as countCharacters, createAnimator, createDragToSnapPoints, createPanGesture, createReorderable, createStaticSource, devWarn, formatDateRange, formatDisplayTime, formatFileSize, formatISOTime, hasInteractiveAncestor, hasTextSelection, imageModeFromPixels, isActionTrigger, isDayOutsideSpan, isMenuPressActivation, isRangeWithinSpan, isSameRange, isTimeInRange, menuPressStep, orderRange, parseDisplayTime, parseISODate, parseISOTime, percent, perceptualLightness, resetMenuPress, resolveDatePresentation, resolveDateSurface, resolveTimeSurface, resolveWeekStart, selectFiles, shiftTime, snapToGraphemeBoundary, spanDays, toISODate, todayISODate, useAnimatedLayout, useAnimator, useAnnounce, useAppShellMobile, useAsyncSource, useChatNewMessages, useChatStreamScroll, useClickableContainer, useClipboard, useCoarsePointer, useCombobox, useContainerReveal, useControllableState, useDevWarning, useDisclosureHandle, useDismiss, useDragToSnapPoints, useEntryAnimation, useFieldControlState, useFocusTrap, useGridFocus, useGridRovingFocus, useHandleRef, useHotkeys, useImageMode, useIndicatorFocusRing, useInputContainer, useInputStatusIcon, useInteractiveRole, useKeyboardHint, useLayer, useLayerMountTarget, useLayerTeleportTarget, useLinkify, useListFocus, useLongPress, useMediaQuery, useMenuPress, useMergedRefs, useNumberField, useOverflow, usePanGesture, usePendingChange, usePressFeedback, useReorderable, useResizable, useResolvedLabelHidden, useResolvedLayerTeleport, useRestoreFocus, useScrollLock, useScrollOverflow, useScrollableArea, useSnapPaging, useStreamingText, useTouchTrigger, useTypeahead, watchMediaQuery };
|
|
@@ -6,7 +6,7 @@ import { i as UIKIT_LONG_PRESS, l as registerScrollTable, r as UIKIT_GESTURES, s
|
|
|
6
6
|
import { r as useResolvedLayerTeleport } from "./useLayerMountTarget-zwZQglr2.js";
|
|
7
7
|
import { o as pushLayer } from "./layerDepth-C4altnV8.js";
|
|
8
8
|
import { t as useCoarsePointer } from "./useCoarsePointer-GItEMrjX.js";
|
|
9
|
-
import { t as useMediaQuery } from "./useMediaQuery-
|
|
9
|
+
import { t as useMediaQuery } from "./useMediaQuery-DKnSDG3S.js";
|
|
10
10
|
import { c as motionNow, s as isIdentityText } from "./cssValues-Cr6PhYTx.js";
|
|
11
11
|
import { n as createMotionEngine, r as SETTLE_THRESHOLD, t as animatorFor } from "./animator-i7djdtNK.js";
|
|
12
12
|
import { n as isDevBuild } from "./devBuild-G249YcdZ.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as paintedBackground } from "./inertClone-BUK-k6-n.js";
|
|
2
|
-
import { A as glides, C as safeAnimate, _ as layoutMotion, c as areaOf, h as changeStartIn, u as readArea, v as sampleKeyframes, x as beginChange, y as sampleOver } from "./reportChange-
|
|
2
|
+
import { A as glides, C as safeAnimate, _ as layoutMotion, c as areaOf, h as changeStartIn, u as readArea, v as sampleKeyframes, x as beginChange, y as sampleOver } from "./reportChange-wIeU3q3y.js";
|
|
3
3
|
import { i as placeOver, n as isCopyable, o as visiblePartCopy, s as wrapText, t as inertCopy } from "./transientCopy--76J3N2f.js";
|
|
4
4
|
import { computed, inject, ref } from "vue";
|
|
5
5
|
//#region src/motion/layout/swap.ts
|
|
@@ -0,0 +1,12 @@
|
|
|
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
|
+
/**
|
|
7
|
+
* `system` 模式跟谁:页面根的配色(`root`),还是在强制了浅色或深色的 Theme
|
|
8
|
+
* 里面跟读者的偏好(`preference`)。由 Theme 提供,没有 Theme 时按 `root`。
|
|
9
|
+
*/
|
|
10
|
+
const systemSchemeKey = Symbol("astryx-system-scheme");
|
|
11
|
+
//#endregion
|
|
12
|
+
export { themeNestingKey as i, systemSchemeKey as n, themeContextKey as r, mediaThemeKey as t };
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
//#region src/Theme/contrast.ts
|
|
2
|
+
const HEX = /^#([0-9a-f]{3}|[0-9a-f]{6}|[0-9a-f]{8})$/i;
|
|
3
|
+
const RGB = /^rgba?\(\s*([\d.]+)[,\s]+([\d.]+)[,\s]+([\d.]+)(?:[,\s/]+([\d.]+)(%)?)?\s*\)$/i;
|
|
4
|
+
function parseColor(input) {
|
|
5
|
+
const value = input.trim().toLowerCase();
|
|
6
|
+
if (value === "transparent") return {
|
|
7
|
+
r: 0,
|
|
8
|
+
g: 0,
|
|
9
|
+
b: 0,
|
|
10
|
+
a: 0
|
|
11
|
+
};
|
|
12
|
+
const hex = HEX.exec(value);
|
|
13
|
+
if (hex?.[1]) {
|
|
14
|
+
const raw = hex[1];
|
|
15
|
+
const expanded = raw.length === 3 ? raw.split("").map((part) => part + part).join("") : raw;
|
|
16
|
+
const channels = expanded.length === 6 ? `${expanded}ff` : expanded;
|
|
17
|
+
return {
|
|
18
|
+
r: Number.parseInt(channels.slice(0, 2), 16),
|
|
19
|
+
g: Number.parseInt(channels.slice(2, 4), 16),
|
|
20
|
+
b: Number.parseInt(channels.slice(4, 6), 16),
|
|
21
|
+
a: Number.parseInt(channels.slice(6, 8), 16) / 255
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
const rgb = RGB.exec(value);
|
|
25
|
+
if (!rgb) return null;
|
|
26
|
+
const alpha = rgb[4] == null ? 1 : rgb[5] === "%" ? Number.parseFloat(rgb[4]) / 100 : Number.parseFloat(rgb[4]);
|
|
27
|
+
return {
|
|
28
|
+
r: Number.parseFloat(rgb[1] ?? "0"),
|
|
29
|
+
g: Number.parseFloat(rgb[2] ?? "0"),
|
|
30
|
+
b: Number.parseFloat(rgb[3] ?? "0"),
|
|
31
|
+
a: alpha
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
function channel(value) {
|
|
35
|
+
const scaled = value / 255;
|
|
36
|
+
return scaled <= .04045 ? scaled / 12.92 : ((scaled + .055) / 1.055) ** 2.4;
|
|
37
|
+
}
|
|
38
|
+
function relativeLuminance(color) {
|
|
39
|
+
return .2126 * channel(color.r) + .7152 * channel(color.g) + .0722 * channel(color.b);
|
|
40
|
+
}
|
|
41
|
+
/** WCAG contrast ratio. 1 is no contrast. */
|
|
42
|
+
function contrastRatio(foreground, background) {
|
|
43
|
+
const first = relativeLuminance(foreground);
|
|
44
|
+
const second = relativeLuminance(background);
|
|
45
|
+
const lighter = Math.max(first, second);
|
|
46
|
+
const darker = Math.min(first, second);
|
|
47
|
+
return (lighter + .05) / (darker + .05);
|
|
48
|
+
}
|
|
49
|
+
/** Paint `foreground` over an opaque `backdrop`. The result is opaque. */
|
|
50
|
+
function compositeOver(foreground, backdrop) {
|
|
51
|
+
const a = foreground.a;
|
|
52
|
+
return {
|
|
53
|
+
r: foreground.r * a + backdrop.r * (1 - a),
|
|
54
|
+
g: foreground.g * a + backdrop.g * (1 - a),
|
|
55
|
+
b: foreground.b * a + backdrop.b * (1 - a),
|
|
56
|
+
a: 1
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
/** Ambient text counts as reading well on a surface at this contrast or more. */
|
|
60
|
+
const AMBIENT_READS_AT = 3;
|
|
61
|
+
/**
|
|
62
|
+
* Choose a media surface from the painted background.
|
|
63
|
+
*
|
|
64
|
+
* `off` means the ambient text already reads on that background at 3:1, so
|
|
65
|
+
* no inverted context is needed. Otherwise the side whose text color, the
|
|
66
|
+
* theme's `on-dark` or `on-light`, contrasts more wins. `null` means a color
|
|
67
|
+
* could not be read.
|
|
68
|
+
*/
|
|
69
|
+
function pickMediaMode(background, ambient, onDark, onLight) {
|
|
70
|
+
if (onDark === null || onLight === null) return null;
|
|
71
|
+
if (ambient !== null && contrastRatio(ambient, background) >= AMBIENT_READS_AT) return "off";
|
|
72
|
+
return contrastRatio(onDark, background) >= contrastRatio(onLight, background) ? "dark" : "light";
|
|
73
|
+
}
|
|
74
|
+
//#endregion
|
|
75
|
+
export { relativeLuminance as a, pickMediaMode as i, contrastRatio as n, parseColor as r, compositeOver as t };
|
|
@@ -87,8 +87,8 @@ interface StepSlots {
|
|
|
87
87
|
type __VLS_Slots$1 = StepSlots;
|
|
88
88
|
declare const __VLS_base$1: import("vue").DefineComponent<StepProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<StepProps> & Readonly<{}>, {
|
|
89
89
|
isDisabled: boolean;
|
|
90
|
-
indicator: StepIndicator;
|
|
91
90
|
isOptional: boolean;
|
|
91
|
+
indicator: StepIndicator;
|
|
92
92
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
93
93
|
declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
94
94
|
declare const _default$1: typeof __VLS_export$1;
|