@astryx-vue/core 0.16.5 → 0.18.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/AppShell/index.d.ts +1 -1
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/Banner/index.d.ts +1 -1
- package/dist/BottomSheet/index.d.ts +1 -1
- package/dist/Button/index.d.ts +1 -1
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Carousel/index.d.ts +1 -1
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/Code/index.d.ts +1 -1
- package/dist/Code/index.js +1 -1
- package/dist/Collapsible/index.d.ts +1 -1
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-Dk9BQQbT.js → Collapsible-ExzU7vC0.js} +104 -40
- package/dist/CommandPalette/index.d.ts +1 -1
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-mNR6dV0B.js → CommandPalette-CECjNvGB.js} +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-CR9XbpTa.js → ComplexSelector-Dmaag1wm.js} +5 -1
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-ChGin5zS.js → DateTimeInput-Cfkuec_h.js} +1 -1
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Divider/index.d.ts +1 -1
- package/dist/Drawer/index.d.ts +1 -1
- package/dist/Field/index.d.ts +1 -1
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/HoverCard/index.d.ts +1 -1
- package/dist/Indicator/index.d.ts +2 -2
- package/dist/InfoTip/index.d.ts +1 -1
- package/dist/InputGroup/index.d.ts +1 -1
- package/dist/InternationalizationProvider/index.d.ts +1 -1
- package/dist/InternationalizationProvider/index.js +1 -1
- package/dist/{InternationalizationProvider-7rA65NO7.js → InternationalizationProvider-Dr5GE6f0.js} +1 -1
- package/dist/Link/index.d.ts +1 -1
- package/dist/List/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-BNVd70jg.js → Markdown-DnnWjJGX.js} +1 -1
- package/dist/{MediaTheme-Bkj-_DFN.js → MediaTheme-DfcdEWx-.js} +2 -36
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-CXX1Hsty.js → MultiSelector-BK6nZweN.js} +26 -14
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-BvZFvwso.js → Pagination-DFQNX_Mb.js} +1 -1
- package/dist/Popover/index.d.ts +1 -1
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-BiupstfT.js → PowerSearch-BAOqpQag.js} +10 -10
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/Radio/index.d.ts +1 -1
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/SegmentedControl/index.d.ts +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-DiSLNzl8.js → Selector-Bo7qkt1P.js} +157 -62
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-BD8MugZo.js → Table-iemur_3E.js} +378 -7
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/Theme/index.d.ts +3 -3
- package/dist/Theme/index.js +3 -2
- package/dist/{Theme-8bDq2nud.js → Theme-1RJVaRgz.js} +329 -40
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/Timer/index.d.ts +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Toast/index.js +1 -1
- package/dist/{Toast-CzbqvHDN.js → Toast-D4Q6wvYu.js} +1 -1
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-mu0Sak58.js → Tokenizer-CsFiYUJ_.js} +171 -103
- 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/TreeList/index.d.ts +1 -1
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-CNj4KnHH.js → TreeList-ugSF9DWj.js} +117 -2
- package/dist/Typeahead/index.d.ts +2 -1
- package/dist/Typeahead/index.js +2 -2
- package/dist/{Typeahead-Db8Tu27Z.js → Typeahead--kEp21ut.js} +159 -71
- package/dist/{useKeyboardHighlight-CGCf1O57.js → assertOptions-CK_gJ0d3.js} +12 -1
- package/dist/composables/index.d.ts +4 -3
- package/dist/composables/index.js +5 -5
- package/dist/composables-BgfubKnk.js +5437 -0
- package/dist/handle-BPXdHbkr.js +458 -0
- package/dist/{index-sXu15K4j.d.ts → index-B-3EGjfQ.d.ts} +2 -2
- package/dist/{index-TXcNH86P.d.ts → index-B1eCxBCY.d.ts} +1 -1
- package/dist/{index-9eluGe3a.d.ts → index-BBTU-TKb.d.ts} +1 -1
- package/dist/{index-CE74Qsbn.d.ts → index-BKpnfdq1.d.ts} +9 -9
- package/dist/{index-D_xBhUV5.d.ts → index-B_PKY-Wn.d.ts} +11 -11
- package/dist/{index-Bfm6mF-r.d.ts → index-BfoazhEu.d.ts} +1 -1
- package/dist/{index-BWzEt0gT.d.ts → index-BhxqUt3y.d.ts} +1 -1
- package/dist/{index-CJdOt5Cc.d.ts → index-BtqvPjAf.d.ts} +3 -3
- package/dist/{index-ChqMaV6N.d.ts → index-Bzi3A980.d.ts} +1 -1
- package/dist/{index-DBwEz4M9.d.ts → index-BzmcDJau.d.ts} +11 -11
- package/dist/{index-CQ1bsxLC.d.ts → index-C1qJlC65.d.ts} +1 -1
- package/dist/{index-CMLnSg3T.d.ts → index-C4S65SAW.d.ts} +8 -1
- package/dist/{index-D05JGsT3.d.ts → index-C8wfe0Mr.d.ts} +1 -1
- package/dist/{index-gmY3A_Iw.d.ts → index-C93nwgTW.d.ts} +1 -1
- package/dist/{index-BvWBeoa8.d.ts → index-CEjvYAUZ.d.ts} +1 -1
- package/dist/{index-B0R5CLPF.d.ts → index-CsYDrQ9R.d.ts} +1 -1
- package/dist/{index-C2cH8OLC.d.ts → index-D31bgBoy.d.ts} +1 -1
- package/dist/{index-BxWCX2pJ.d.ts → index-DFLPv9io.d.ts} +3 -3
- package/dist/index-DGXCnzOL.d.ts +69 -0
- package/dist/{index-BPf_jmME.d.ts → index-DMcf0QeR.d.ts} +3 -3
- package/dist/{index-SWw-WMTO.d.ts → index-DPhQZXYw.d.ts} +3 -3
- package/dist/{index-B-Jla56c.d.ts → index-DmAEpn5E.d.ts} +1 -1
- package/dist/{index-B0yaHi__.d.ts → index-DtZUOyCy.d.ts} +12 -5
- package/dist/{index-BQ3cm7mP.d.ts → index-FeZXsFO-.d.ts} +1 -1
- package/dist/{index-Byan7Dad.d.ts → index-GmoeIuhl.d.ts} +1 -1
- package/dist/{index-ygmRS6Np.d.ts → index-KcCNhdAw.d.ts} +1 -1
- package/dist/{index-BPHqOCfp.d.ts → index-PffxihMx.d.ts} +4 -4
- package/dist/{index-unAZVFGz.d.ts → index-Qdbssopn.d.ts} +2 -2
- package/dist/{index-LHvLg1Pv.d.ts → index-Y4H4X6Vy.d.ts} +88 -82
- package/dist/{index-Xc3q9f84.d.ts → index-YKCx03zD.d.ts} +2 -2
- package/dist/{index-BXDqyk2_.d.ts → index-gu5EvbE0.d.ts} +170 -2
- package/dist/{index-BFZxzCYu.d.ts → index-o00Upzjp.d.ts} +3 -3
- package/dist/{index-BEZ4ezJk.d.ts → index-ql9ApSTF.d.ts} +7 -0
- package/dist/index.d.ts +39 -37
- package/dist/index.js +31 -30
- package/dist/landing-Bs0aMIsR.js +2049 -0
- package/dist/{loadCatalog-DFyDz_4e.d.ts → loadCatalog-BJwcyX8i.d.ts} +2 -0
- package/dist/{loadCatalog-C3MSknfx.js → loadCatalog-C1kms5sO.js} +5 -1
- package/dist/locale/index.d.ts +2 -2
- package/dist/locale/index.js +3 -3
- package/dist/{locale-OCGw4bi6.js → locale-CHhsd9Mq.js} +1 -1
- package/dist/motionTokenDefaults-EFzpiAF5.js +38 -0
- package/dist/tokenName-0U-WEH09.js +36 -0
- package/dist/{typeahead-RkZw0Ktn.js → typeahead-BgfLP7vR.js} +2 -0
- package/dist/{index-DbFIQDoa.d.ts → types-C1ydeFiu.d.ts} +43 -65
- package/dist/{types-uWxXh1Jm.d.ts → types-fRasDCe4.d.ts} +47 -6
- package/dist/useAnimatedLayout-C0koWm4a.d.ts +56 -0
- package/dist/{useAsyncSource-Gk0VtE7_.js → useAsyncSource-7GTcK8ep.js} +31 -1
- package/dist/{useAsyncSource-aGzrvRkI.d.ts → useAsyncSource-DbG2FSuI.d.ts} +19 -2
- package/dist/{useCombobox-D374_pT8.js → useCombobox-DIR9yoEu.js} +150 -3
- package/dist/{useTypeaheadAnnouncement-CSikDlpK.js → useTypeaheadMenuConfig--4f7jR6G.js} +264 -20
- package/package.json +1 -1
- package/styles/motion.css +10 -0
- package/styles/selector.css +10 -0
- package/styles/table.css +19 -0
- package/dist/composables-CCsHfpCS.js +0 -1256
- package/dist/{Chat-PEkZTrQE.js → Chat-Wq7e98zS.js} +1 -1
- package/dist/{CodeBlock-9Lfec8C8.js → CodeBlock-CLVXVlB7.js} +1 -1
- package/dist/{DateInput-kXAc_r5m.js → DateInput-BitZfGEY.js} +1 -1
- package/dist/{DateRangeInput-DW7IzFQM.js → DateRangeInput-kxXBsUTU.js} +1 -1
package/dist/AppShell/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as AppShellMobileNav, c as AppShellVariant, i as AppShellHeight, n as AppShellBreakpoint, o as AppShellProps, r as AppShellEmits, s as AppShellSlots, t as _default } from "../index-
|
|
1
|
+
import { a as AppShellMobileNav, c as AppShellVariant, i as AppShellHeight, n as AppShellBreakpoint, o as AppShellProps, r as AppShellEmits, s as AppShellSlots, t as _default } from "../index-B1eCxBCY.js";
|
|
2
2
|
export { _default as AppShell, type AppShellBreakpoint, type AppShellEmits, type AppShellHeight, type AppShellMobileNav, type AppShellProps, type AppShellSlots, type AppShellVariant };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as AvatarGroupOverflowSlots, i as AvatarGroupOverflowProps, n as _default, o as AvatarGroupProps, r as AvatarGroupOverflowEmits, t as _default$1 } from "../index-
|
|
1
|
+
import { a as AvatarGroupOverflowSlots, i as AvatarGroupOverflowProps, n as _default, o as AvatarGroupProps, r as AvatarGroupOverflowEmits, t as _default$1 } from "../index-Y4H4X6Vy.js";
|
|
2
2
|
export { _default as AvatarGroup, _default$1 as AvatarGroupOverflow, type AvatarGroupOverflowEmits, type AvatarGroupOverflowProps, type AvatarGroupOverflowSlots, type AvatarGroupProps };
|
package/dist/Banner/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Co as BannerStatus, So as BannerSlots, bo as BannerEmits, vo as _default, xo as BannerProps, yo as BannerContainer } from "../index-
|
|
1
|
+
import { Co as BannerStatus, So as BannerSlots, bo as BannerEmits, vo as _default, xo as BannerProps, yo as BannerContainer } from "../index-Y4H4X6Vy.js";
|
|
2
2
|
export { _default as Banner, type BannerContainer, type BannerEmits, type BannerProps, type BannerSlots, type BannerStatus };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as BottomSheetMotion, c as BottomSheetPurpose, d as BottomSheetState, i as BottomSheetHeight, l as BottomSheetSlots, n as _default, o as BottomSheetPadding, r as BottomSheetEmits, s as BottomSheetProps, t as _default$1, u as BottomSheetSnapPoint } from "../index-
|
|
1
|
+
import { a as BottomSheetMotion, c as BottomSheetPurpose, d as BottomSheetState, i as BottomSheetHeight, l as BottomSheetSlots, n as _default, o as BottomSheetPadding, r as BottomSheetEmits, s as BottomSheetProps, t as _default$1, u as BottomSheetSnapPoint } from "../index-DFLPv9io.js";
|
|
2
2
|
export { _default as BottomSheet, type BottomSheetEmits, type BottomSheetHeight, type BottomSheetMotion, type BottomSheetPadding, type BottomSheetProps, type BottomSheetPurpose, type BottomSheetSlots, type BottomSheetSnapPoint, type BottomSheetState, _default$1 as BottomSheetSwitcher };
|
package/dist/Button/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as ButtonProps, c as ButtonSizeValue, d as ButtonVariantMap, i as ButtonLinkElement, l as ButtonSlots, n as ButtonElevation, o as ButtonRootElement, r as ButtonEmits, s as ButtonSize, t as ButtonClickAction, u as ButtonVariant } from "../types-DRpOiAlm.js";
|
|
2
|
-
import { t as _default } from "../index-
|
|
2
|
+
import { t as _default } from "../index-BhxqUt3y.js";
|
|
3
3
|
export { _default as Button, _default as default, type ButtonClickAction, type ButtonElevation, type ButtonEmits, type ButtonLinkElement, type ButtonProps, type ButtonRootElement, type ButtonSize, type ButtonSizeValue, type ButtonSlots, type ButtonVariant, type ButtonVariantMap };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _o as ButtonGroupOrientation, go as ButtonGroupSlots, ho as ButtonGroupProps, mo as _default } from "../index-
|
|
1
|
+
import { _o as ButtonGroupOrientation, go as ButtonGroupSlots, ho as ButtonGroupProps, mo as _default } from "../index-Y4H4X6Vy.js";
|
|
2
2
|
export { _default as ButtonGroup, _default as default, type ButtonGroupOrientation, type ButtonGroupProps, type ButtonGroupSlots };
|
package/dist/Calendar/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { co as CalendarEmits, do as CalendarProps, fo as CalendarRangeValue, lo as CalendarHandle, po as CalendarSlots, so as _default, uo as CalendarHandleRef } from "../index-
|
|
1
|
+
import { co as CalendarEmits, do as CalendarProps, fo as CalendarRangeValue, lo as CalendarHandle, po as CalendarSlots, so as _default, uo as CalendarHandleRef } from "../index-Y4H4X6Vy.js";
|
|
2
2
|
export { _default as Calendar, type CalendarEmits, type CalendarHandle, type CalendarHandleRef, type CalendarProps, type CalendarRangeValue, type CalendarSlots };
|
package/dist/Carousel/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ao as CarouselProps, io as CarouselHandle, no as _default, oo as CarouselSlots, ro as CarouselGap } from "../index-
|
|
1
|
+
import { ao as CarouselProps, io as CarouselHandle, no as _default, oo as CarouselSlots, ro as CarouselGap } from "../index-Y4H4X6Vy.js";
|
|
2
2
|
export { _default as Carousel, type CarouselGap, type CarouselHandle, type CarouselProps, type CarouselSlots };
|
package/dist/Chat/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as ChatComposerTokenBadge, A as _default$8, At as ChatReasoningProps, B as ChatComposerDrawerEmits, Bt as ChatTypingIndicatorProps, C as _default$15, Ct as ChatMessageMetadataProps, D as _default$11, Dt as ChatMessageSlots, E as _default$12, Et as ChatMessageSender, F as _default$3, Ft as ChatToolCallItem, G as ChatComposerInputControl, H as ChatComposerDrawerSlots, I as _default$2, It as ChatToolCallStatus, J as ChatComposerInputProps, K as ChatComposerInputEmits, L as _default$1, Lt as ChatToolCallsEmits, M as _default$6, Mt as ChatSystemMessageProps, N as _default$5, Nt as ChatSystemMessageSlots, O as _default$10, Ot as ChatMessageStatus, P as _default$4, Pt as ChatSystemMessageVariant, Q as ChatComposerToken, R as _default, Rt as ChatToolCallsProps, S as _default$16, St as ChatMessageListSlots, T as _default$13, Tt as ChatMessageProps, U as ChatComposerElevation, V as ChatComposerDrawerProps, Vt as ChatUnreadDividerProps, W as ChatComposerEmits, X as ChatComposerSlots, Y as ChatComposerProps, Z as ChatComposerStatus, _ as useChatComposerContext, _t as ChatMessageBubbleProps, a as useChatPasteAsToken, at as ChatSendButtonEmits, b as useChatMessageContext, bt as ChatMessageListAlign, c as SpeechRecognitionError, ct as ChatTokenizedTextProps, d as useSpeechRecognition, dt as ChatLayoutProps, et as ChatComposerTokenCustom, f as TokenPortal, ft as ChatLayoutScrollButtonEmits, g as ChatComposerContextValue, gt as ChatMessageBubbleGroup, h as useChatComposerTokens, ht as ChatLayoutSlots, i as pastedTextLabel, it as ChatDictationButtonProps, j as _default$7, jt as ChatReasoningSlots, k as _default$9, kt as ChatReasoningEmits, l as UseSpeechRecognitionOptions, lt as ChatTokenizedTextSlots, m as UseChatComposerTokensReturn, mt as ChatLayoutScrollSlotProps, n as UseChatPasteAsTokenOptions, nt as ChatComposerTrigger, o as UseChatDictationOptions, ot as ChatSendButtonProps, p as UseChatComposerTokensOptions, pt as ChatLayoutScrollButtonProps, q as ChatComposerInputHandle, r as UseChatPasteAsTokenReturn, rt as ChatComposerTriggerItem, s as useChatDictation, st as ChatSendButtonSlots, t as PASTE_TOKEN_THRESHOLD, tt as ChatComposerTokenElementProps, u as UseSpeechRecognitionReturn, ut as ChatDensity, v as useChatLayoutContext, vt as ChatMessageBubbleSlots, w as _default$14, wt as ChatMessageMetadataSlots, x as _default$17, xt as ChatMessageListProps, y as useChatListContext, yt as ChatMessageBubbleVariant, z as ChatComposerDensity, zt as ChatToolCallsSlots } from "../index-
|
|
1
|
+
import { $ as ChatComposerTokenBadge, A as _default$8, At as ChatReasoningProps, B as ChatComposerDrawerEmits, Bt as ChatTypingIndicatorProps, C as _default$15, Ct as ChatMessageMetadataProps, D as _default$11, Dt as ChatMessageSlots, E as _default$12, Et as ChatMessageSender, F as _default$3, Ft as ChatToolCallItem, G as ChatComposerInputControl, H as ChatComposerDrawerSlots, I as _default$2, It as ChatToolCallStatus, J as ChatComposerInputProps, K as ChatComposerInputEmits, L as _default$1, Lt as ChatToolCallsEmits, M as _default$6, Mt as ChatSystemMessageProps, N as _default$5, Nt as ChatSystemMessageSlots, O as _default$10, Ot as ChatMessageStatus, P as _default$4, Pt as ChatSystemMessageVariant, Q as ChatComposerToken, R as _default, Rt as ChatToolCallsProps, S as _default$16, St as ChatMessageListSlots, T as _default$13, Tt as ChatMessageProps, U as ChatComposerElevation, V as ChatComposerDrawerProps, Vt as ChatUnreadDividerProps, W as ChatComposerEmits, X as ChatComposerSlots, Y as ChatComposerProps, Z as ChatComposerStatus, _ as useChatComposerContext, _t as ChatMessageBubbleProps, a as useChatPasteAsToken, at as ChatSendButtonEmits, b as useChatMessageContext, bt as ChatMessageListAlign, c as SpeechRecognitionError, ct as ChatTokenizedTextProps, d as useSpeechRecognition, dt as ChatLayoutProps, et as ChatComposerTokenCustom, f as TokenPortal, ft as ChatLayoutScrollButtonEmits, g as ChatComposerContextValue, gt as ChatMessageBubbleGroup, h as useChatComposerTokens, ht as ChatLayoutSlots, i as pastedTextLabel, it as ChatDictationButtonProps, j as _default$7, jt as ChatReasoningSlots, k as _default$9, kt as ChatReasoningEmits, l as UseSpeechRecognitionOptions, lt as ChatTokenizedTextSlots, m as UseChatComposerTokensReturn, mt as ChatLayoutScrollSlotProps, n as UseChatPasteAsTokenOptions, nt as ChatComposerTrigger, o as UseChatDictationOptions, ot as ChatSendButtonProps, p as UseChatComposerTokensOptions, pt as ChatLayoutScrollButtonProps, q as ChatComposerInputHandle, r as UseChatPasteAsTokenReturn, rt as ChatComposerTriggerItem, s as useChatDictation, st as ChatSendButtonSlots, t as PASTE_TOKEN_THRESHOLD, tt as ChatComposerTokenElementProps, u as UseSpeechRecognitionReturn, ut as ChatDensity, v as useChatLayoutContext, vt as ChatMessageBubbleSlots, w as _default$14, wt as ChatMessageMetadataSlots, x as _default$17, xt as ChatMessageListProps, y as useChatListContext, yt as ChatMessageBubbleVariant, z as ChatComposerDensity, zt as ChatToolCallsSlots } from "../index-B_PKY-Wn.js";
|
|
2
2
|
export { _default as ChatComposer, type ChatComposerContextValue, type ChatComposerDensity, _default$1 as ChatComposerDrawer, type ChatComposerDrawerEmits, type ChatComposerDrawerProps, type ChatComposerDrawerSlots, type ChatComposerElevation, type ChatComposerEmits, _default$2 as ChatComposerInput, type ChatComposerInputControl, type ChatComposerInputEmits, type ChatComposerInputHandle, type ChatComposerInputProps, type ChatComposerProps, type ChatComposerSlots, type ChatComposerStatus, type ChatComposerToken, type ChatComposerTokenBadge, type ChatComposerTokenCustom, _default$3 as ChatComposerTokenElement, type ChatComposerTokenElementProps, type ChatComposerTrigger, type ChatComposerTriggerItem, type ChatDensity, _default$4 as ChatDictationButton, type ChatDictationButtonProps, _default$5 as ChatLayout, type ChatLayoutProps, _default$6 as ChatLayoutScrollButton, type ChatLayoutScrollButtonEmits, type ChatLayoutScrollButtonProps, type ChatLayoutScrollSlotProps, type ChatLayoutSlots, _default$7 as ChatMessage, _default$8 as ChatMessageBubble, type ChatMessageBubbleGroup, type ChatMessageBubbleProps, type ChatMessageBubbleSlots, type ChatMessageBubbleVariant, _default$9 as ChatMessageList, type ChatMessageListAlign, type ChatMessageListProps, type ChatMessageListSlots, _default$10 as ChatMessageMetadata, type ChatMessageMetadataProps, type ChatMessageMetadataSlots, type ChatMessageProps, type ChatMessageSender, type ChatMessageSlots, type ChatMessageStatus, _default$11 as ChatReasoning, type ChatReasoningEmits, type ChatReasoningProps, type ChatReasoningSlots, _default$12 as ChatSendButton, type ChatSendButtonEmits, type ChatSendButtonProps, type ChatSendButtonSlots, _default$13 as ChatSystemMessage, type ChatSystemMessageProps, type ChatSystemMessageSlots, type ChatSystemMessageVariant, _default$14 as ChatTokenizedText, type ChatTokenizedTextProps, type ChatTokenizedTextSlots, type ChatToolCallItem, type ChatToolCallStatus, _default$15 as ChatToolCalls, type ChatToolCallsEmits, type ChatToolCallsProps, type ChatToolCallsSlots, _default$16 as ChatTypingIndicator, type ChatTypingIndicatorProps, _default$17 as ChatUnreadDivider, type ChatUnreadDividerProps, PASTE_TOKEN_THRESHOLD, type SpeechRecognitionError, type TokenPortal, type UseChatComposerTokensOptions, type UseChatComposerTokensReturn, type UseChatDictationOptions, type UseChatPasteAsTokenOptions, type UseChatPasteAsTokenReturn, type UseSpeechRecognitionOptions, type UseSpeechRecognitionReturn, pastedTextLabel, useChatComposerContext, useChatComposerTokens, useChatDictation, useChatLayoutContext, useChatListContext, useChatMessageContext, useChatPasteAsToken, useSpeechRecognition };
|
package/dist/Chat/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as useChatLayoutContext, D as pastedTextLabel, E as PASTE_TOKEN_THRESHOLD, O as useChatPasteAsToken, S as useChatComposerContext, T as useChatMessageContext, _ as _sfc_main$1, a as _sfc_main$15, b as _sfc_main$2, c as _sfc_main$11, d as _sfc_main$8, f as _sfc_main$7, g as _sfc_main$3, h as _sfc_main$4, i as _sfc_main$16, l as _sfc_main$10, m as _sfc_main$6, n as useSpeechRecognition, o as _sfc_main$14, p as _sfc_main$5, r as _sfc_main$17, s as _sfc_main$13, t as useChatDictation, u as _sfc_main$9, v as _sfc_main, w as useChatListContext, x as useChatComposerTokens, y as _sfc_main$12 } from "../Chat-
|
|
1
|
+
import { C as useChatLayoutContext, D as pastedTextLabel, E as PASTE_TOKEN_THRESHOLD, O as useChatPasteAsToken, S as useChatComposerContext, T as useChatMessageContext, _ as _sfc_main$1, a as _sfc_main$15, b as _sfc_main$2, c as _sfc_main$11, d as _sfc_main$8, f as _sfc_main$7, g as _sfc_main$3, h as _sfc_main$4, i as _sfc_main$16, l as _sfc_main$10, m as _sfc_main$6, n as useSpeechRecognition, o as _sfc_main$14, p as _sfc_main$5, r as _sfc_main$17, s as _sfc_main$13, t as useChatDictation, u as _sfc_main$9, v as _sfc_main, w as useChatListContext, x as useChatComposerTokens, y as _sfc_main$12 } from "../Chat-Wq7e98zS.js";
|
|
2
2
|
export { _sfc_main as ChatComposer, _sfc_main$1 as ChatComposerDrawer, _sfc_main$2 as ChatComposerInput, _sfc_main$3 as ChatComposerTokenElement, _sfc_main$4 as ChatDictationButton, _sfc_main$5 as ChatLayout, _sfc_main$6 as ChatLayoutScrollButton, _sfc_main$7 as ChatMessage, _sfc_main$8 as ChatMessageBubble, _sfc_main$9 as ChatMessageList, _sfc_main$10 as ChatMessageMetadata, _sfc_main$11 as ChatReasoning, _sfc_main$12 as ChatSendButton, _sfc_main$13 as ChatSystemMessage, _sfc_main$14 as ChatTokenizedText, _sfc_main$15 as ChatToolCalls, _sfc_main$16 as ChatTypingIndicator, _sfc_main$17 as ChatUnreadDivider, PASTE_TOKEN_THRESHOLD, pastedTextLabel, useChatComposerContext, useChatComposerTokens, useChatDictation, useChatLayoutContext, useChatListContext, useChatMessageContext, useChatPasteAsToken, useSpeechRecognition };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $a as CheckboxInputProps, Qa as CheckboxInputEmits, Xa as CheckboxInputChangeAction, Ya as _default, Za as CheckboxInputChangeEvent, eo as CheckboxInputSlots, to as CheckboxValue } from "../index-
|
|
1
|
+
import { $a as CheckboxInputProps, Qa as CheckboxInputEmits, Xa as CheckboxInputChangeAction, Ya as _default, Za as CheckboxInputChangeEvent, eo as CheckboxInputSlots, to as CheckboxValue } from "../index-Y4H4X6Vy.js";
|
|
2
2
|
export { _default as CheckboxInput, type CheckboxInputChangeAction, type CheckboxInputChangeEvent, type CheckboxInputEmits, type CheckboxInputProps, type CheckboxInputSlots, type CheckboxValue };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ga as CheckboxListEmits, Ja as CheckboxListProps, Ka as CheckboxListItemEmits, Ua as _default$1, Wa as _default, qa as CheckboxListItemProps } from "../index-
|
|
1
|
+
import { Ga as CheckboxListEmits, Ja as CheckboxListProps, Ka as CheckboxListItemEmits, Ua as _default$1, Wa as _default, qa as CheckboxListItemProps } from "../index-Y4H4X6Vy.js";
|
|
2
2
|
export { _default as CheckboxList, type CheckboxListEmits, _default$1 as CheckboxListItem, type CheckboxListItemEmits, type CheckboxListItemProps, type CheckboxListProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ba as ClickableCardEmits, Ha as ClickableCardSlots, Va as ClickableCardProps, za as _default } from "../index-
|
|
1
|
+
import { Ba as ClickableCardEmits, Ha as ClickableCardSlots, Va as ClickableCardProps, za as _default } from "../index-Y4H4X6Vy.js";
|
|
2
2
|
export { _default as ClickableCard, _default as default, type ClickableCardEmits, type ClickableCardProps, type ClickableCardSlots };
|
package/dist/Code/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { a as SyntaxThemeInput, c as SyntaxTokenValue, i as SyntaxThemeDefinition, l as defineSyntaxTheme, n as SYNTAX_TOKEN_KEYS, o as SyntaxThemeTokens, r as SyntaxDiffTokenKey, s as SyntaxTokenKey, t as DIFF_SYNTAX_TOKEN_KEYS, u as githubDark } from "../syntaxTheme-CwVEcVDk.js";
|
|
2
|
-
import { A as _default$1, B as CodeSize, C as applyHighlightRanges, D as diffLineKind, E as DiffLines, F as CodeBlockSize, H as SyntaxToken, I as CodeBlockTokenizer, L as CodeColor, M as CodeBlockContainer, N as CodeBlockEmits, O as parseFenceLanguage, P as CodeBlockProps, R as CodeHighlightMode, S as HIGHLIGHTED_TOKEN_TYPES, T as DiffLineKind, U as TokenLine, V as CodeSlots, _ as oneDarkPro, a as tokenize, b as tokyoNight, c as allSyntaxPresets, d as darkSyntaxPresets, f as dracula, g as nord, h as monokai, i as flatTokensToLines, j as _default, k as splitDiffLines, l as catppuccinLatte, m as lightSyntaxPresets, n as useSyntaxTheme, o as tokenizeAsync, p as githubLight, r as SYNC_TOKENIZE_THRESHOLD, s as _default$2, t as UseSyntaxThemeReturn, u as catppuccinMocha, v as oneLight, w as applyHighlightRangesFlat, x as tokyoNightLight, y as solarizedLight, z as CodeProps } from "../index-
|
|
2
|
+
import { A as _default$1, B as CodeSize, C as applyHighlightRanges, D as diffLineKind, E as DiffLines, F as CodeBlockSize, H as SyntaxToken, I as CodeBlockTokenizer, L as CodeColor, M as CodeBlockContainer, N as CodeBlockEmits, O as parseFenceLanguage, P as CodeBlockProps, R as CodeHighlightMode, S as HIGHLIGHTED_TOKEN_TYPES, T as DiffLineKind, U as TokenLine, V as CodeSlots, _ as oneDarkPro, a as tokenize, b as tokyoNight, c as allSyntaxPresets, d as darkSyntaxPresets, f as dracula, g as nord, h as monokai, i as flatTokensToLines, j as _default, k as splitDiffLines, l as catppuccinLatte, m as lightSyntaxPresets, n as useSyntaxTheme, o as tokenizeAsync, p as githubLight, r as SYNC_TOKENIZE_THRESHOLD, s as _default$2, t as UseSyntaxThemeReturn, u as catppuccinMocha, v as oneLight, w as applyHighlightRangesFlat, x as tokyoNightLight, y as solarizedLight, z as CodeProps } from "../index-Bzi3A980.js";
|
|
3
3
|
import { n as UseClipboardReturn, r as useClipboard, t as UseClipboardOptions } from "../useClipboard-DeO8fCW_.js";
|
|
4
4
|
export { _default as Code, _default$1 as CodeBlock, type CodeBlockContainer, type CodeBlockEmits, type CodeBlockProps, type CodeBlockSize, type CodeBlockTokenizer, type CodeColor, type CodeHighlightMode, type CodeProps, type CodeSize, type CodeSlots, type UseClipboardOptions as CopyToClipboardOptions, type UseClipboardReturn as CopyToClipboardReturn, DIFF_SYNTAX_TOKEN_KEYS, type DiffLineKind, type DiffLines, HIGHLIGHTED_TOKEN_TYPES, SYNC_TOKENIZE_THRESHOLD, SYNTAX_TOKEN_KEYS, type SyntaxDiffTokenKey, _default$2 as SyntaxTheme, type SyntaxThemeDefinition, type SyntaxThemeInput, type SyntaxThemeTokens, type SyntaxToken, type SyntaxTokenKey, type SyntaxTokenValue, type TokenLine, type UseSyntaxThemeReturn, allSyntaxPresets, applyHighlightRanges, applyHighlightRangesFlat, catppuccinLatte, catppuccinMocha, darkSyntaxPresets, defineSyntaxTheme, diffLineKind, dracula, flatTokensToLines, githubDark, githubLight, lightSyntaxPresets, monokai, nord, oneDarkPro, oneLight, parseFenceLanguage, solarizedLight, splitDiffLines, tokenize, tokenizeAsync, tokyoNight, tokyoNightLight, useClipboard as useCopyToClipboard, useSyntaxTheme };
|
package/dist/Code/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as useClipboard } from "../useClipboard-CTY3GwFz.js";
|
|
2
|
-
import { a as tokenizeAsync, c as splitDiffLines, d as applyHighlightRangesFlat, f as _sfc_main, i as tokenize, l as HIGHLIGHTED_TOKEN_TYPES, n as SYNC_TOKENIZE_THRESHOLD, o as diffLineKind, r as flatTokensToLines, s as parseFenceLanguage, t as _sfc_main$1, u as applyHighlightRanges } from "../CodeBlock-
|
|
2
|
+
import { a as tokenizeAsync, c as splitDiffLines, d as applyHighlightRangesFlat, f as _sfc_main, i as tokenize, l as HIGHLIGHTED_TOKEN_TYPES, n as SYNC_TOKENIZE_THRESHOLD, o as diffLineKind, r as flatTokensToLines, s as parseFenceLanguage, t as _sfc_main$1, u as applyHighlightRanges } from "../CodeBlock-CLVXVlB7.js";
|
|
3
3
|
import { i as githubDark, n as SYNTAX_TOKEN_KEYS, r as defineSyntaxTheme, t as DIFF_SYNTAX_TOKEN_KEYS } from "../syntaxTheme-R7xnu5x5.js";
|
|
4
4
|
import { a as catppuccinMocha, c as githubLight, d as nord, f as oneDarkPro, g as tokyoNightLight, h as tokyoNight, i as catppuccinLatte, l as lightSyntaxPresets, m as solarizedLight, n as _sfc_main$2, o as darkSyntaxPresets, p as oneLight, r as allSyntaxPresets, s as dracula, t as useSyntaxTheme, u as monokai } from "../Code-rmiC0XfO.js";
|
|
5
5
|
export { _sfc_main as Code, _sfc_main$1 as CodeBlock, DIFF_SYNTAX_TOKEN_KEYS, HIGHLIGHTED_TOKEN_TYPES, SYNC_TOKENIZE_THRESHOLD, SYNTAX_TOKEN_KEYS, _sfc_main$2 as SyntaxTheme, allSyntaxPresets, applyHighlightRanges, applyHighlightRangesFlat, catppuccinLatte, catppuccinMocha, darkSyntaxPresets, defineSyntaxTheme, diffLineKind, dracula, flatTokensToLines, githubDark, githubLight, lightSyntaxPresets, monokai, nord, oneDarkPro, oneLight, parseFenceLanguage, solarizedLight, splitDiffLines, tokenize, tokenizeAsync, tokyoNight, tokyoNightLight, useClipboard as useCopyToClipboard, useSyntaxTheme };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as _default$1, c as CollapsibleGroupSlots, d as CollapsibleGroupValue, f as _default, g as CollapsibleSlots, h as CollapsibleProps, i as useCollapsible, l as CollapsibleGroupDensity, m as CollapsibleEmits, n as UseCollapsibleOptions, o as CollapsibleGroupEmits, p as CollapsibleChevronPosition, r as UseCollapsibleReturn, s as CollapsibleGroupProps, t as CollapsibleConfig, u as CollapsibleGroupType } from "../index-
|
|
1
|
+
import { a as _default$1, c as CollapsibleGroupSlots, d as CollapsibleGroupValue, f as _default, g as CollapsibleSlots, h as CollapsibleProps, i as useCollapsible, l as CollapsibleGroupDensity, m as CollapsibleEmits, n as UseCollapsibleOptions, o as CollapsibleGroupEmits, p as CollapsibleChevronPosition, r as UseCollapsibleReturn, s as CollapsibleGroupProps, t as CollapsibleConfig, u as CollapsibleGroupType } from "../index-ql9ApSTF.js";
|
|
2
2
|
export { _default as Collapsible, type CollapsibleChevronPosition, type CollapsibleConfig, type CollapsibleEmits, _default$1 as CollapsibleGroup, type CollapsibleGroupDensity, type CollapsibleGroupEmits, type CollapsibleGroupProps, type CollapsibleGroupSlots, type CollapsibleGroupType, type CollapsibleGroupValue, type CollapsibleProps, type CollapsibleSlots, type UseCollapsibleOptions, type UseCollapsibleReturn, useCollapsible };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, r as useCollapsible, t as _sfc_main$1 } from "../Collapsible-
|
|
1
|
+
import { n as _sfc_main, r as useCollapsible, t as _sfc_main$1 } from "../Collapsible-ExzU7vC0.js";
|
|
2
2
|
export { _sfc_main as Collapsible, _sfc_main$1 as CollapsibleGroup, useCollapsible };
|
|
@@ -1,8 +1,53 @@
|
|
|
1
1
|
import { t as usePressFeedback } from "./usePressFeedback-2YAzGB6C.js";
|
|
2
2
|
import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
|
|
3
3
|
import { t as _sfc_main$2 } from "./Icon-BCHo7W0x.js";
|
|
4
|
-
import {
|
|
4
|
+
import { a as playLayoutChange, i as releaseLayoutExit, n as reportLayoutChange, r as holdLayoutExit, t as applyLayoutChangeTransition } from "./landing-Bs0aMIsR.js";
|
|
5
|
+
import { Transition, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, getCurrentInstance, mergeModels, mergeProps, onMounted, openBlock, provide, ref, renderSlot, shallowRef, toDisplayString, toValue, unref, useId, useModel, useTemplateRef, vShow, watch, withCtx, withDirectives } from "vue";
|
|
5
6
|
import "../styles/collapsible.css";
|
|
7
|
+
//#region src/composables/internal/layoutDisclosure.ts
|
|
8
|
+
function useLayoutDisclosure(options) {
|
|
9
|
+
const isExiting = ref(false);
|
|
10
|
+
let pending = null;
|
|
11
|
+
function endExit() {
|
|
12
|
+
isExiting.value = false;
|
|
13
|
+
}
|
|
14
|
+
watch(options.isOpen, (isOpen, wasOpen) => {
|
|
15
|
+
options.onBeforeChange?.(wasOpen);
|
|
16
|
+
const handle = options.animatedLayout();
|
|
17
|
+
if (handle != null) {
|
|
18
|
+
applyLayoutChangeTransition(handle, options.chevron());
|
|
19
|
+
pending = reportLayoutChange(handle, options.content);
|
|
20
|
+
pending.measureBefore();
|
|
21
|
+
}
|
|
22
|
+
isExiting.value = !isOpen && handle != null;
|
|
23
|
+
}, { flush: "pre" });
|
|
24
|
+
watch(options.isOpen, (isOpen) => {
|
|
25
|
+
const change = pending;
|
|
26
|
+
pending = null;
|
|
27
|
+
const content = options.content();
|
|
28
|
+
if (content == null) return;
|
|
29
|
+
const isMeasured = change?.animate() ?? false;
|
|
30
|
+
const handle = options.animatedLayout();
|
|
31
|
+
if (isOpen) {
|
|
32
|
+
releaseLayoutExit(content);
|
|
33
|
+
if (isMeasured) playLayoutChange(handle, content);
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
const isHeld = isExiting.value && isMeasured && holdLayoutExit(handle, content, endExit);
|
|
37
|
+
if (isExiting.value && !isHeld) endExit();
|
|
38
|
+
}, { flush: "post" });
|
|
39
|
+
watch(() => !options.isOpen() && !isExiting.value, (isHidden) => {
|
|
40
|
+
const content = options.content();
|
|
41
|
+
if (isHidden && content != null) releaseLayoutExit(content);
|
|
42
|
+
}, { flush: "post" });
|
|
43
|
+
function clearChevronWithoutHandle() {
|
|
44
|
+
if (options.animatedLayout() == null) applyLayoutChangeTransition(null, options.chevron());
|
|
45
|
+
}
|
|
46
|
+
onMounted(clearChevronWithoutHandle);
|
|
47
|
+
watch(options.animatedLayout, clearChevronWithoutHandle, { flush: "post" });
|
|
48
|
+
return { isExiting };
|
|
49
|
+
}
|
|
50
|
+
//#endregion
|
|
6
51
|
//#region src/Collapsible/context.ts
|
|
7
52
|
const collapsibleGroupKey = defineLayerScopedKey("collapsibleGroup", null);
|
|
8
53
|
const collapsibleGroupPresentationKey = defineLayerScopedKey("collapsibleGroupPresentation", null);
|
|
@@ -85,7 +130,8 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
85
130
|
default: false
|
|
86
131
|
},
|
|
87
132
|
chevronPosition: {},
|
|
88
|
-
value: {}
|
|
133
|
+
value: {},
|
|
134
|
+
animatedLayout: {}
|
|
89
135
|
}, {
|
|
90
136
|
"isOpen": {
|
|
91
137
|
type: Boolean,
|
|
@@ -114,7 +160,16 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
114
160
|
const { pressableProps } = usePressFeedback({ hasOverlay: false });
|
|
115
161
|
const contentId = `astryx-collapsible-${useId()}`;
|
|
116
162
|
const root = useTemplateRef("root");
|
|
117
|
-
|
|
163
|
+
const element = computed(() => root.value ?? null);
|
|
164
|
+
const triggerButton = useTemplateRef("triggerButton");
|
|
165
|
+
const content = useTemplateRef("content");
|
|
166
|
+
const { isExiting } = useLayoutDisclosure({
|
|
167
|
+
animatedLayout: () => props.animatedLayout,
|
|
168
|
+
isOpen: () => isOpen.value,
|
|
169
|
+
content: () => content.value ?? null,
|
|
170
|
+
chevron: () => triggerButton.value?.querySelector(".astryx-collapsible-chevron") ?? null
|
|
171
|
+
});
|
|
172
|
+
__expose({ element });
|
|
118
173
|
function toggle() {
|
|
119
174
|
if (props.isDisabled) return;
|
|
120
175
|
collapsible.toggle();
|
|
@@ -126,43 +181,52 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
126
181
|
class: "astryx-collapsible",
|
|
127
182
|
"data-density": density.value || void 0,
|
|
128
183
|
"data-dividers": hasDividers.value || void 0
|
|
129
|
-
}, [
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
184
|
+
}, [
|
|
185
|
+
createElementVNode("button", mergeProps({
|
|
186
|
+
ref_key: "triggerButton",
|
|
187
|
+
ref: triggerButton,
|
|
188
|
+
type: "button",
|
|
189
|
+
class: "astryx-collapsible-trigger",
|
|
190
|
+
"data-chevron-position": chevronPosition.value,
|
|
191
|
+
"data-open": unref(isOpen) ? "open" : void 0,
|
|
192
|
+
"data-disabled": __props.isDisabled ? "disabled" : void 0,
|
|
193
|
+
"aria-expanded": unref(isOpen),
|
|
194
|
+
"aria-controls": contentId,
|
|
195
|
+
"aria-disabled": __props.isDisabled || void 0,
|
|
196
|
+
tabindex: __props.isDisabled ? -1 : void 0
|
|
197
|
+
}, unref(pressableProps), { onClick: toggle }), [
|
|
198
|
+
isChevronAtStart.value ? (openBlock(), createBlock(_sfc_main$2, {
|
|
199
|
+
key: 0,
|
|
200
|
+
class: "astryx-collapsible-chevron",
|
|
201
|
+
color: "secondary",
|
|
202
|
+
icon: "chevronRight",
|
|
203
|
+
size: "sm"
|
|
204
|
+
})) : createCommentVNode("v-if", true),
|
|
205
|
+
createElementVNode("span", _hoisted_3, [renderSlot(_ctx.$slots, "trigger", {}, () => [createTextVNode(toDisplayString(__props.trigger), 1)])]),
|
|
206
|
+
!isChevronAtStart.value ? (openBlock(), createBlock(_sfc_main$2, {
|
|
207
|
+
key: 1,
|
|
208
|
+
class: "astryx-collapsible-chevron",
|
|
209
|
+
color: "secondary",
|
|
210
|
+
icon: "chevronDown",
|
|
211
|
+
size: "sm"
|
|
212
|
+
})) : createCommentVNode("v-if", true)
|
|
213
|
+
], 16, _hoisted_2),
|
|
214
|
+
createCommentVNode(" 有句柄时开合交给布局动效,不再走 CSS 过渡;收起后内容播完退场才隐藏。 "),
|
|
215
|
+
createVNode(Transition, {
|
|
216
|
+
name: "astryx-collapsible-reveal",
|
|
217
|
+
css: __props.animatedLayout == null,
|
|
218
|
+
persisted: ""
|
|
219
|
+
}, {
|
|
220
|
+
default: withCtx(() => [withDirectives(createElementVNode("div", {
|
|
221
|
+
id: contentId,
|
|
222
|
+
ref_key: "content",
|
|
223
|
+
ref: content,
|
|
224
|
+
class: "astryx-collapsible-content",
|
|
225
|
+
"data-open": unref(isOpen) ? "open" : void 0
|
|
226
|
+
}, [createElementVNode("div", _hoisted_5, [renderSlot(_ctx.$slots, "default")])], 8, _hoisted_4), [[vShow, unref(isOpen) || unref(isExiting)]])]),
|
|
227
|
+
_: 3
|
|
228
|
+
}, 8, ["css"])
|
|
229
|
+
], 8, _hoisted_1$1);
|
|
166
230
|
};
|
|
167
231
|
}
|
|
168
232
|
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as CommandPaletteSlots, a as _default$2, c as CommandPaletteEmits, d as CommandPaletteInputProps, f as CommandPaletteItemEmits, g as CommandPaletteProps, h as CommandPaletteListProps, i as _default$3, l as CommandPaletteGroupProps, m as CommandPaletteItemSlotProps, n as _default$5, o as _default$1, p as CommandPaletteItemProps, r as _default$4, s as _default, t as _default$6, u as CommandPaletteInputEmits } from "../index-
|
|
1
|
+
import { _ as CommandPaletteSlots, a as _default$2, c as CommandPaletteEmits, d as CommandPaletteInputProps, f as CommandPaletteItemEmits, g as CommandPaletteProps, h as CommandPaletteListProps, i as _default$3, l as CommandPaletteGroupProps, m as CommandPaletteItemSlotProps, n as _default$5, o as _default$1, p as CommandPaletteItemProps, r as _default$4, s as _default, t as _default$6, u as CommandPaletteInputEmits } from "../index-Qdbssopn.js";
|
|
2
2
|
export { _default as CommandPalette, type CommandPaletteEmits, _default$1 as CommandPaletteEmpty, _default$2 as CommandPaletteFooter, _default$3 as CommandPaletteGroup, type CommandPaletteGroupProps, _default$4 as CommandPaletteInput, type CommandPaletteInputEmits, type CommandPaletteInputProps, _default$5 as CommandPaletteItem, type CommandPaletteItemEmits, type CommandPaletteItemProps, type CommandPaletteItemSlotProps, _default$6 as CommandPaletteList, type CommandPaletteListProps, type CommandPaletteProps, type CommandPaletteSlots };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as _sfc_main$3, i as _sfc_main$4, n as _sfc_main$6, o as _sfc_main$2, r as _sfc_main$5, s as _sfc_main$1, t as _sfc_main } from "../CommandPalette-
|
|
1
|
+
import { a as _sfc_main$3, i as _sfc_main$4, n as _sfc_main$6, o as _sfc_main$2, r as _sfc_main$5, s as _sfc_main$1, t as _sfc_main } from "../CommandPalette-CECjNvGB.js";
|
|
2
2
|
export { _sfc_main as CommandPalette, _sfc_main$1 as CommandPaletteEmpty, _sfc_main$2 as CommandPaletteFooter, _sfc_main$3 as CommandPaletteGroup, _sfc_main$4 as CommandPaletteInput, _sfc_main$5 as CommandPaletteItem, _sfc_main$6 as CommandPaletteList };
|
|
@@ -3,7 +3,7 @@ import { t as _sfc_main$7 } from "./Icon-BCHo7W0x.js";
|
|
|
3
3
|
import { i as trackInteractionModality, n as isKeyboardModality } from "./interactionModality-B5dR7nnb.js";
|
|
4
4
|
import { t as invokeNativeEventHandler } from "./eventHandlers-DUXzBWZy.js";
|
|
5
5
|
import { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
6
|
-
import { n as useAsyncSource } from "./useAsyncSource-
|
|
6
|
+
import { n as useAsyncSource } from "./useAsyncSource-7GTcK8ep.js";
|
|
7
7
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
8
8
|
import { t as _sfc_main$8 } from "./Kbd-CbD993ig.js";
|
|
9
9
|
import { n as DIALOG_CONTEXT_KEY, t as _sfc_main$9 } from "./Dialog-DgdbRn2l.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, t as ComplexSelector_default } from "../ComplexSelector-
|
|
1
|
+
import { n as _sfc_main, t as ComplexSelector_default } from "../ComplexSelector-Dmaag1wm.js";
|
|
2
2
|
export { _sfc_main as ComplexSelector, ComplexSelector_default as default };
|
|
@@ -9,6 +9,7 @@ import { t as _sfc_main$3 } from "./Spinner-DEVPDsD0.js";
|
|
|
9
9
|
import { t as _sfc_main$4 } from "./Field-BXkGR8H0.js";
|
|
10
10
|
import { t as useFieldPartStyling } from "./fieldParts-CbWvZLhH.js";
|
|
11
11
|
import { t as consumeWhileDisabled } from "./disabledInteraction-CPzL8kVP.js";
|
|
12
|
+
import { t as useBusyAnnouncement } from "./busyAnnouncement-CExubuYm.js";
|
|
12
13
|
import { n as fieldStatusPlacement, r as _sfc_main$5, t as normalizeTriggerVariant } from "./triggerVariant-BDVvyLtv.js";
|
|
13
14
|
import { t as selectorMessages } from "./selector-BmGLjm94.js";
|
|
14
15
|
import { t as _sfc_main$6 } from "./Popover-CmAEizH-.js";
|
|
@@ -211,6 +212,8 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
211
212
|
const contentStyles = computed(() => [{ "--_complex-selector-max-block": `min(480px, calc(100dvh - ${layerGutter.value.blockStart + layerGutter.value.blockEnd}px))` }, props.contentStyle]);
|
|
212
213
|
const placeholder = computed(() => props.placeholder ?? messages.value.selector.placeholder);
|
|
213
214
|
const isBusy = computed(() => props.isLoading || isPending.value);
|
|
215
|
+
/** 框里的转圈只是装饰,忙碌由触发器自己念一次。 */
|
|
216
|
+
useBusyAnnouncement(isBusy, () => messages.value.selector.loading, triggerEl);
|
|
214
217
|
const displayValue = computed(() => isPending.value && optimistic.value !== void 0 ? optimistic.value : model.value);
|
|
215
218
|
const hasTriggerLabel = computed(() => props.triggerLabel != null && props.triggerLabel !== "");
|
|
216
219
|
const state = computed(() => ({
|
|
@@ -470,7 +473,8 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
470
473
|
createElementVNode("span", _hoisted_2, toDisplayString(hasTriggerLabel.value ? __props.triggerLabel : placeholder.value), 1),
|
|
471
474
|
isBusy.value ? (openBlock(), createBlock(_sfc_main$3, {
|
|
472
475
|
key: 1,
|
|
473
|
-
size: "sm"
|
|
476
|
+
size: "sm",
|
|
477
|
+
"aria-hidden": "true"
|
|
474
478
|
})) : createCommentVNode("v-if", true),
|
|
475
479
|
statusGlyph.value && !isTooltipStatus.value ? (openBlock(), createBlock(_sfc_main$5, {
|
|
476
480
|
key: 2,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Aa as ContextMenuSection, Ca as ContextMenuItemSlots, Da as ContextMenuProps, Ea as ContextMenuPresentation, Fa as ContextMenuSubMenuSlots, Ia as ContextMenuTriggerElement, La as ContextMenuVariant, Ma as ContextMenuSlots, Na as ContextMenuSubMenuEmits, Oa as ContextMenuRadioData, Pa as ContextMenuSubMenuProps, Ra as ContextMenuWidth, Sa as ContextMenuItemProps, Ta as ContextMenuOption, _a as ContextMenuGroupProps, aa as _default$7, ba as ContextMenuItemEmits, ca as _default$2, da as useContextMenuSize, fa as ContextMenuCheckboxData, ga as ContextMenuEntry, ha as ContextMenuEmits, ja as ContextMenuSize, ka as ContextMenuRadioOptionData, la as _default, ma as ContextMenuDividerProps, oa as _default$4, pa as ContextMenuDividerData, sa as _default$3, ua as useContextMenu, va as ContextMenuGroupSlots, wa as ContextMenuItemTarget, xa as ContextMenuItemIcon, ya as ContextMenuItemData } from "../index-
|
|
1
|
+
import { Aa as ContextMenuSection, Ca as ContextMenuItemSlots, Da as ContextMenuProps, Ea as ContextMenuPresentation, Fa as ContextMenuSubMenuSlots, Ia as ContextMenuTriggerElement, La as ContextMenuVariant, Ma as ContextMenuSlots, Na as ContextMenuSubMenuEmits, Oa as ContextMenuRadioData, Pa as ContextMenuSubMenuProps, Ra as ContextMenuWidth, Sa as ContextMenuItemProps, Ta as ContextMenuOption, _a as ContextMenuGroupProps, aa as _default$7, ba as ContextMenuItemEmits, ca as _default$2, da as useContextMenuSize, fa as ContextMenuCheckboxData, ga as ContextMenuEntry, ha as ContextMenuEmits, ja as ContextMenuSize, ka as ContextMenuRadioOptionData, la as _default, ma as ContextMenuDividerProps, oa as _default$4, pa as ContextMenuDividerData, sa as _default$3, ua as useContextMenu, va as ContextMenuGroupSlots, wa as ContextMenuItemTarget, xa as ContextMenuItemIcon, ya as ContextMenuItemData } from "../index-Y4H4X6Vy.js";
|
|
2
2
|
import { n as _default$5, r as _default$1, t as _default$6 } from "../DropdownMenuRadioItem.vue-C9DdN6UE.js";
|
|
3
3
|
export { _default as ContextMenu, type ContextMenuCheckboxData, _default$1 as ContextMenuCheckboxItem, _default$2 as ContextMenuDivider, type ContextMenuDividerData, type ContextMenuDividerProps, type ContextMenuEmits, type ContextMenuEntry, _default$3 as ContextMenuGroup, type ContextMenuGroupProps, type ContextMenuGroupSlots, _default$4 as ContextMenuItem, type ContextMenuItemData, type ContextMenuItemEmits, type ContextMenuItemIcon, type ContextMenuItemProps, type ContextMenuItemSlots, type ContextMenuItemTarget, type ContextMenuOption, type ContextMenuPresentation, type ContextMenuProps, type ContextMenuRadioData, _default$5 as ContextMenuRadioGroup, _default$6 as ContextMenuRadioItem, type ContextMenuRadioOptionData, type ContextMenuSection, type ContextMenuSize, type ContextMenuSlots, _default$7 as ContextMenuSubMenu, type ContextMenuSubMenuEmits, type ContextMenuSubMenuProps, type ContextMenuSubMenuSlots, type ContextMenuTriggerElement, type ContextMenuVariant, type ContextMenuWidth, useContextMenu, useContextMenuSize };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $i as DateInputNativePicker, Ji as _default, Qi as DateInputFormatName, Xi as DateInputEmits, Yi as DateInputEntryError, Zi as DateInputFormat, ea as DateInputPresentation, ia as DateInputStatusType, na as DateInputSlots, ra as DateInputStatus, ta as DateInputProps } from "../index-
|
|
1
|
+
import { $i as DateInputNativePicker, Ji as _default, Qi as DateInputFormatName, Xi as DateInputEmits, Yi as DateInputEntryError, Zi as DateInputFormat, ea as DateInputPresentation, ia as DateInputStatusType, na as DateInputSlots, ra as DateInputStatus, ta as DateInputProps } from "../index-Y4H4X6Vy.js";
|
|
2
2
|
export { _default as DateInput, type DateInputEmits, type DateInputEntryError, type DateInputFormat, type DateInputFormatName, type DateInputNativePicker, type DateInputPresentation, type DateInputProps, type DateInputSlots, type DateInputStatus, type DateInputStatusType };
|
package/dist/DateInput/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../DateInput-
|
|
1
|
+
import { t as _sfc_main } from "../DateInput-BitZfGEY.js";
|
|
2
2
|
export { _sfc_main as DateInput };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Gi as DateRangeInputEmits, Ki as DateRangeInputProps, Ui as _default, Wi as DateRange, qi as DateRangePreset } from "../index-
|
|
1
|
+
import { Gi as DateRangeInputEmits, Ki as DateRangeInputProps, Ui as _default, Wi as DateRange, qi as DateRangePreset } from "../index-Y4H4X6Vy.js";
|
|
2
2
|
export { type DateRange, _default as DateRangeInput, type DateRangeInputEmits, type DateRangeInputProps, type DateRangePreset };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../DateRangeInput-
|
|
1
|
+
import { t as _sfc_main } from "../DateRangeInput-kxXBsUTU.js";
|
|
2
2
|
export { _sfc_main as DateRangeInput };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Bi as DateTimeInputEmits, Hi as DateTimeInputSize, Vi as DateTimeInputProps, zi as _default } from "../index-
|
|
1
|
+
import { Bi as DateTimeInputEmits, Hi as DateTimeInputSize, Vi as DateTimeInputProps, zi as _default } from "../index-Y4H4X6Vy.js";
|
|
2
2
|
export { _default as DateTimeInput, type DateTimeInputEmits, type DateTimeInputProps, type DateTimeInputSize };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../DateTimeInput-
|
|
1
|
+
import { t as _sfc_main } from "../DateTimeInput-Cfkuec_h.js";
|
|
2
2
|
export { _sfc_main as DateTimeInput };
|
|
@@ -13,7 +13,7 @@ import { t as _sfc_main$7 } from "./Field-BXkGR8H0.js";
|
|
|
13
13
|
import { t as useFieldPartStyling } from "./fieldParts-CbWvZLhH.js";
|
|
14
14
|
import { t as dateInputMessages } from "./date-input-rUD8YAow.js";
|
|
15
15
|
import { t as formatInstant } from "./formatInstant-BDWUIxS7.js";
|
|
16
|
-
import { n as _sfc_main$8, t as _sfc_main$9 } from "./DateInput-
|
|
16
|
+
import { n as _sfc_main$8, t as _sfc_main$9 } from "./DateInput-BitZfGEY.js";
|
|
17
17
|
import { n as dateTimeInputMessages } from "./time-input-CKOsh84E.js";
|
|
18
18
|
import { n as _sfc_main$10, t as _sfc_main$11 } from "./TimeField-CBWgdA1Y.js";
|
|
19
19
|
import { r as effectivePickerPresentation, s as resolvePickerPresentation } from "./inputPresentation-BOyHkCDr.js";
|
package/dist/Dialog/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as _default$1, c as DialogHeaderProps, d as DialogProps, f as DialogPurpose, i as useDialogContext, l as DialogPadding, m as DialogContext, n as ImperativeDialogReturn, o as _default, p as DialogVariant, r as useImperativeDialog, s as DialogBlockPosition, t as ImperativeDialogOptions, u as DialogPosition } from "../index-
|
|
1
|
+
import { a as _default$1, c as DialogHeaderProps, d as DialogProps, f as DialogPurpose, i as useDialogContext, l as DialogPadding, m as DialogContext, n as ImperativeDialogReturn, o as _default, p as DialogVariant, r as useImperativeDialog, s as DialogBlockPosition, t as ImperativeDialogOptions, u as DialogPosition } from "../index-FeZXsFO-.js";
|
|
2
2
|
export { _default as Dialog, type DialogBlockPosition, type DialogContext, _default$1 as DialogHeader, type DialogHeaderProps, type DialogPadding, type DialogPosition, type DialogProps, type DialogPurpose, type DialogVariant, type ImperativeDialogOptions, type ImperativeDialogReturn, useDialogContext, useImperativeDialog };
|
package/dist/Divider/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as DividerVariant, n as DividerOrientation, r as DividerProps, t as _default } from "../index-
|
|
1
|
+
import { i as DividerVariant, n as DividerOrientation, r as DividerProps, t as _default } from "../index-C8wfe0Mr.js";
|
|
2
2
|
export { _default as Divider, type DividerOrientation, type DividerProps, type DividerVariant };
|
package/dist/Drawer/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ai as _default$1, Fi as DrawerHeaderSlots, Ii as DrawerPlacement, Li as DrawerProps, Mi as DrawerEmits, Ni as DrawerHeaderEmits, Pi as DrawerHeaderProps, Ri as DrawerSlots, ji as _default } from "../index-
|
|
1
|
+
import { Ai as _default$1, Fi as DrawerHeaderSlots, Ii as DrawerPlacement, Li as DrawerProps, Mi as DrawerEmits, Ni as DrawerHeaderEmits, Pi as DrawerHeaderProps, Ri as DrawerSlots, ji as _default } from "../index-Y4H4X6Vy.js";
|
|
2
2
|
export { _default as Drawer, type DrawerEmits, _default$1 as DrawerHeader, type DrawerHeaderEmits, type DrawerHeaderProps, type DrawerHeaderSlots, type DrawerPlacement, type DrawerProps, type DrawerSlots };
|
package/dist/Field/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { a as FieldSlots, c as FieldStatusType, i as FieldSlotProps, l as FieldStatusVariant, n as FieldLabelSlots, o as FieldStatusInput, r as FieldProps, s as FieldStatusProps, t as FieldLabelProps } from "../types-bAQk3F8G.js";
|
|
2
2
|
import { t as FieldPartStylingProps } from "../fieldParts-LXpQMKE8.js";
|
|
3
|
-
import { n as _default$1, r as _default, t as _default$2 } from "../index-
|
|
3
|
+
import { n as _default$1, r as _default, t as _default$2 } from "../index-GmoeIuhl.js";
|
|
4
4
|
export { _default as Field, _default$1 as FieldLabel, type FieldLabelProps, type FieldLabelSlots, type FieldPartStylingProps, type FieldProps, type FieldSlotProps, type FieldSlots, type FieldStatusInput, type FieldStatusProps, type FieldStatusType, type FieldStatusVariant, _default$2 as InputClearButton };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ci as _default, Di as FileInputSize, Ei as FileInputProps, Oi as FileInputStatus, Ti as FileInputMode, ki as FileInputValue, wi as FileInputEmits } from "../index-
|
|
1
|
+
import { Ci as _default, Di as FileInputSize, Ei as FileInputProps, Oi as FileInputStatus, Ti as FileInputMode, ki as FileInputValue, wi as FileInputEmits } from "../index-Y4H4X6Vy.js";
|
|
2
2
|
export { _default as FileInput, type FileInputEmits, type FileInputMode, type FileInputProps, type FileInputSize, type FileInputStatus, type FileInputValue };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as HoverCardAlignment, c as HoverCardHoverIndication, d as HoverCardSlots, f as HoverCardTouchTrigger, i as _default, l as HoverCardPlacement, n as UseHoverCardReturn, o as HoverCardEmits, r as useHoverCard, s as HoverCardFocusTrigger, t as UseHoverCardOptions, u as HoverCardProps } from "../index-
|
|
1
|
+
import { a as HoverCardAlignment, c as HoverCardHoverIndication, d as HoverCardSlots, f as HoverCardTouchTrigger, i as _default, l as HoverCardPlacement, n as UseHoverCardReturn, o as HoverCardEmits, r as useHoverCard, s as HoverCardFocusTrigger, t as UseHoverCardOptions, u as HoverCardProps } from "../index-BtqvPjAf.js";
|
|
2
2
|
export { _default as HoverCard, type HoverCardAlignment, type HoverCardEmits, type HoverCardFocusTrigger, type HoverCardHoverIndication, type HoverCardPlacement, type HoverCardProps, type HoverCardSlots, type HoverCardTouchTrigger, type UseHoverCardOptions, type UseHoverCardReturn, useHoverCard };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { B as
|
|
2
|
-
import { a as _default$1, i as isCoreIndicatorName, n as defaultIndicators, o as isRenderable, r as getIndicator, s as _default, t as useIndicator } from "../index-
|
|
1
|
+
import { B as IndicatorMap, G as IndicatorSize, H as IndicatorPosition, I as CoreIndicatorName, K as IndicatorState, L as IndicatorComponent, R as IndicatorFamily, U as IndicatorProps, V as IndicatorName, W as IndicatorRegistry, z as IndicatorFamilyMap } from "../types-fRasDCe4.js";
|
|
2
|
+
import { a as _default$1, i as isCoreIndicatorName, n as defaultIndicators, o as isRenderable, r as getIndicator, s as _default, t as useIndicator } from "../index-CsYDrQ9R.js";
|
|
3
3
|
export { _default as CheckIndicator, type CoreIndicatorName, type IndicatorComponent, type IndicatorFamily, type IndicatorFamilyMap, type IndicatorMap, type IndicatorName, type IndicatorPosition, type IndicatorProps, type IndicatorRegistry, type IndicatorSize, type IndicatorState, _default$1 as RadioIndicator, defaultIndicators, getIndicator, isCoreIndicatorName, isRenderable, useIndicator };
|
package/dist/InfoTip/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Si as InfoTipSize, bi as _default, xi as InfoTipProps } from "../index-
|
|
1
|
+
import { Si as InfoTipSize, bi as _default, xi as InfoTipProps } from "../index-Y4H4X6Vy.js";
|
|
2
2
|
export { _default as InfoTip, _default as default, type InfoTipProps, type InfoTipSize };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as InputGroupSlots, c as INPUT_GROUP_KEY, i as InputGroupSize, l as InputGroupContext, n as _default, o as InputGroupTextProps, r as InputGroupProps, s as InputGroupTextSlots, t as _default$1 } from "../index-
|
|
1
|
+
import { a as InputGroupSlots, c as INPUT_GROUP_KEY, i as InputGroupSize, l as InputGroupContext, n as _default, o as InputGroupTextProps, r as InputGroupProps, s as InputGroupTextSlots, t as _default$1 } from "../index-CEjvYAUZ.js";
|
|
2
2
|
export { INPUT_GROUP_KEY, _default as InputGroup, type InputGroupContext, type InputGroupProps, type InputGroupSize, type InputGroupSlots, _default$1 as InputGroupText, type InputGroupTextProps, type InputGroupTextSlots };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as useLocaleDirection, c as ProviderMessagesByLocale, i as astryxDirectionKey, l as ProviderOverrides, n as InternationalizationProviderProps, o as TextDirection, r as InternationalizationProviderSlots, s as getLocaleDirection, t as _default, u as resolveProviderMessages } from "../index-
|
|
1
|
+
import { a as useLocaleDirection, c as ProviderMessagesByLocale, i as astryxDirectionKey, l as ProviderOverrides, n as InternationalizationProviderProps, o as TextDirection, r as InternationalizationProviderSlots, s as getLocaleDirection, t as _default, u as resolveProviderMessages } from "../index-D31bgBoy.js";
|
|
2
2
|
export { _default as InternationalizationProvider, type InternationalizationProviderProps, type InternationalizationProviderSlots, type ProviderMessagesByLocale, type ProviderOverrides, type TextDirection, astryxDirectionKey, getLocaleDirection, resolveProviderMessages, useLocaleDirection };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as resolveProviderMessages, i as getLocaleDirection, n as astryxDirectionKey, r as useLocaleDirection, t as _sfc_main } from "../InternationalizationProvider-
|
|
1
|
+
import { a as resolveProviderMessages, i as getLocaleDirection, n as astryxDirectionKey, r as useLocaleDirection, t as _sfc_main } from "../InternationalizationProvider-Dr5GE6f0.js";
|
|
2
2
|
export { _sfc_main as InternationalizationProvider, astryxDirectionKey, getLocaleDirection, resolveProviderMessages, useLocaleDirection };
|
package/dist/{InternationalizationProvider-7rA65NO7.js → InternationalizationProvider-Dr5GE6f0.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as isDevBuild, t as devPropError } from "./devBuild-G249YcdZ.js";
|
|
2
2
|
import { a as useAstryxLocale, i as provideAstryxLocale, r as normalizeLocale } from "./context-B8IEFCDR.js";
|
|
3
|
-
import { m as icuPlaceholderNames, n as upstreamMessageMap, p as formatIcu, r as builtInMessages, t as loadAstryxCatalog } from "./loadCatalog-
|
|
3
|
+
import { m as icuPlaceholderNames, n as upstreamMessageMap, p as formatIcu, r as builtInMessages, t as loadAstryxCatalog } from "./loadCatalog-C1kms5sO.js";
|
|
4
4
|
import { computed, defineComponent, inject, provide, renderSlot } from "vue";
|
|
5
5
|
//#region src/InternationalizationProvider/catalog.ts
|
|
6
6
|
/**
|
package/dist/Link/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { _ as LinkWeight, f as LinkColor, g as LinkType, h as LinkSize, m as LinkRoot, p as LinkProps } from "../index-Dc52pmSr.js";
|
|
2
|
-
import { yi as _default } from "../index-
|
|
2
|
+
import { yi as _default } from "../index-Y4H4X6Vy.js";
|
|
3
3
|
export { _default as Link, type LinkColor, type LinkProps, type LinkRoot, type LinkSize, type LinkType, type LinkWeight };
|
package/dist/List/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { _ as ListItemProps, a as ItemLayout, b as ListProps, c as ItemSwipeAction, d as ItemSwipeSide, f as ItemTarget, g as ListEdgeCompensation, h as ListEdge, i as ItemLabel, l as ItemSwipeActions, m as ListDensity, n as ItemDensity, o as ItemProps, p as ItemText, r as ItemElement, s as ItemSlots, t as ItemAlign, u as ItemSwipeBehavior, v as ListItemSlots, x as ListSlots, y as ListMarkerStyle } from "../types-Dxs5rf-2.js";
|
|
2
|
-
import { a as useListContext, i as useItemDescriptionId, n as _default$1, r as _default, t as _default$2 } from "../index-
|
|
2
|
+
import { a as useListContext, i as useItemDescriptionId, n as _default$1, r as _default, t as _default$2 } from "../index-o00Upzjp.js";
|
|
3
3
|
export { _default as Item, type ItemAlign, type ItemDensity, type ItemElement, type ItemLabel, type ItemLayout, type ItemProps, type ItemSlots, type ItemSwipeAction, type ItemSwipeActions, type ItemSwipeBehavior, type ItemSwipeSide, type ItemTarget, type ItemText, _default$1 as List, type ListDensity, type ListEdge, type ListEdgeCompensation, _default$2 as ListItem, type ListItemProps, type ListItemSlots, type ListMarkerStyle, type ListProps, type ListSlots, useItemDescriptionId, useListContext };
|
package/dist/Markdown/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { a as parseMarkdownAst, c as decodeMarkdownCharacterReferences, d as parseMarkdown, g as isMarkdownExtensionNode, n as parseInline, o as parseMarkdownIncremental, r as parseInlineAst, t as createIncrementalState } from "../publicParser-C8RBKNLA.js";
|
|
2
|
-
import { a as visitMarkdownNodes, i as defineMarkdownPlugin, n as applyInlinePlugins, r as applyMarkdownPlugins, t as _sfc_main } from "../Markdown-
|
|
2
|
+
import { a as visitMarkdownNodes, i as defineMarkdownPlugin, n as applyInlinePlugins, r as applyMarkdownPlugins, t as _sfc_main } from "../Markdown-DnnWjJGX.js";
|
|
3
3
|
import { n as uniqueSlug, t as slugify } from "../slug-D6ln5PTq.js";
|
|
4
4
|
export { _sfc_main as Markdown, applyInlinePlugins, applyMarkdownPlugins, createIncrementalState, decodeMarkdownCharacterReferences, defineMarkdownPlugin, isMarkdownExtensionNode, parseInline, parseInlineAst, parseMarkdown, parseMarkdownAst, parseMarkdownIncremental, slugify, uniqueSlug, visitMarkdownNodes };
|
|
@@ -5,7 +5,7 @@ import { t as _sfc_main$3 } from "./Blockquote-DRoKdcxZ.js";
|
|
|
5
5
|
import { t as _sfc_main$4 } from "./CheckboxIndicator-fH4d-JE1.js";
|
|
6
6
|
import { t as useIndicator } from "./useIndicator--9mGGlT2.js";
|
|
7
7
|
import { t as citationMessages } from "./citation-h6fyz-JH.js";
|
|
8
|
-
import { f as _sfc_main$5, s as parseFenceLanguage, t as _sfc_main$6 } from "./CodeBlock-
|
|
8
|
+
import { f as _sfc_main$5, s as parseFenceLanguage, t as _sfc_main$6 } from "./CodeBlock-CLVXVlB7.js";
|
|
9
9
|
import { t as markdownMessages } from "./markdown-JcCeKquw.js";
|
|
10
10
|
import { t as _sfc_main$7 } from "./Link-CQ-Ztuo_.js";
|
|
11
11
|
import { _ as plainText, d as parseMarkdown, f as parseMarkdownIncremental, h as sanitizeMarkdownLinkUrl, l as applyProtocolTransforms, m as sanitizeMarkdownImageUrl, p as linkOpensInNewTab, s as applyMarkdownSyntax, u as createIncrementalMarkdownState } from "./publicParser-C8RBKNLA.js";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { o as mediaThemeKey, s as themeContextKey } from "./themeIcons-CqGF0fwW.js";
|
|
2
|
+
import { n as normalizeTokenName } from "./tokenName-0U-WEH09.js";
|
|
2
3
|
import { n as useResolvedColorMode, r as resolveLightDark, t as usePageReadable } from "./useResolvedColorMode-Df97_9w_.js";
|
|
3
4
|
import { computed, createElementBlock, defineComponent, inject, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, onUpdated, openBlock, provide, ref, renderSlot, unref, useAttrs, useTemplateRef, watch } from "vue";
|
|
4
5
|
import "../styles/media-theme.css";
|
|
@@ -144,41 +145,6 @@ function pickMediaMode(background, ambient, onDark, onLight) {
|
|
|
144
145
|
return contrastRatio(onDark, background) >= contrastRatio(onLight, background) ? "dark" : "light";
|
|
145
146
|
}
|
|
146
147
|
//#endregion
|
|
147
|
-
//#region src/Theme/tokenName.ts
|
|
148
|
-
/** Unprefixed theme vocabulary: `--color-accent`, `--spacing-4`, `--font-size-base`. */
|
|
149
|
-
const THEME_TOKEN_PREFIX = /^--(?:color|font|text|radius|duration|ease|spacing|size|shadow|border|focus|heading)-/;
|
|
150
|
-
/** Accept `--color-accent`, `--astryx-color-accent`, or `color-accent`. */
|
|
151
|
-
function normalizeTokenName(name) {
|
|
152
|
-
const trimmed = name.trim();
|
|
153
|
-
if (trimmed.startsWith("--astryx-")) return trimmed;
|
|
154
|
-
if (trimmed.startsWith("--")) return `--astryx-${trimmed.slice(2)}`;
|
|
155
|
-
return `--astryx-${trimmed}`;
|
|
156
|
-
}
|
|
157
|
-
/**
|
|
158
|
-
* Whether a custom-property name belongs to the shared theme vocabulary,
|
|
159
|
-
* written either way: `--color-accent` or `--astryx-color-accent`.
|
|
160
|
-
*
|
|
161
|
-
* A theme-local token may not use one of these names, because the shared
|
|
162
|
-
* name already has a meaning every component reads.
|
|
163
|
-
*/
|
|
164
|
-
function isPortableTokenName(name) {
|
|
165
|
-
const trimmed = name.trim();
|
|
166
|
-
const bare = trimmed.startsWith("--astryx-") ? `--${trimmed.slice(9)}` : trimmed;
|
|
167
|
-
return THEME_TOKEN_PREFIX.test(bare);
|
|
168
|
-
}
|
|
169
|
-
/**
|
|
170
|
-
* Rewrite `var(--color-accent)` to `var(--astryx-color-accent)`.
|
|
171
|
-
*
|
|
172
|
-
* Custom properties outside the theme vocabulary are left alone, so a
|
|
173
|
-
* theme-local `var(--brand-ink)` keeps its exact name.
|
|
174
|
-
*/
|
|
175
|
-
function prefixTokenReferences(value) {
|
|
176
|
-
return value.replace(/var\(\s*(--(?!astryx-)[\w-]+)/g, (match, name) => {
|
|
177
|
-
if (!THEME_TOKEN_PREFIX.test(name)) return match;
|
|
178
|
-
return `var(${normalizeTokenName(name)}`;
|
|
179
|
-
});
|
|
180
|
-
}
|
|
181
|
-
//#endregion
|
|
182
148
|
//#region src/Theme/themeStyle.ts
|
|
183
149
|
/**
|
|
184
150
|
* Aliases declared on `:root` are substituted there. A later override of the
|
|
@@ -461,4 +427,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
461
427
|
}
|
|
462
428
|
});
|
|
463
429
|
//#endregion
|
|
464
|
-
export {
|
|
430
|
+
export { contrastRatio as a, DATA_TOKEN_DEFAULTS as c, compositeOver as i, useTheme as n, parseColor as o, bridgeComponentTokens as r, relativeLuminance as s, _sfc_main as t };
|