@vuecs/overlays 1.0.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/LICENSE +201 -0
- package/README.md +37 -0
- package/dist/components/context-menu/ContextMenu.vue.d.ts +63 -0
- package/dist/components/context-menu/ContextMenu.vue.d.ts.map +1 -0
- package/dist/components/context-menu/ContextMenuCheckboxItem.vue.d.ts +98 -0
- package/dist/components/context-menu/ContextMenuCheckboxItem.vue.d.ts.map +1 -0
- package/dist/components/context-menu/ContextMenuContent.vue.d.ts +111 -0
- package/dist/components/context-menu/ContextMenuContent.vue.d.ts.map +1 -0
- package/dist/components/context-menu/ContextMenuGroup.vue.d.ts +47 -0
- package/dist/components/context-menu/ContextMenuGroup.vue.d.ts.map +1 -0
- package/dist/components/context-menu/ContextMenuItem.vue.d.ts +113 -0
- package/dist/components/context-menu/ContextMenuItem.vue.d.ts.map +1 -0
- package/dist/components/context-menu/ContextMenuItemIndicator.vue.d.ts +63 -0
- package/dist/components/context-menu/ContextMenuItemIndicator.vue.d.ts.map +1 -0
- package/dist/components/context-menu/ContextMenuLabel.vue.d.ts +79 -0
- package/dist/components/context-menu/ContextMenuLabel.vue.d.ts.map +1 -0
- package/dist/components/context-menu/ContextMenuRadioGroup.vue.d.ts +65 -0
- package/dist/components/context-menu/ContextMenuRadioGroup.vue.d.ts.map +1 -0
- package/dist/components/context-menu/ContextMenuRadioItem.vue.d.ts +96 -0
- package/dist/components/context-menu/ContextMenuRadioItem.vue.d.ts.map +1 -0
- package/dist/components/context-menu/ContextMenuSeparator.vue.d.ts +47 -0
- package/dist/components/context-menu/ContextMenuSeparator.vue.d.ts.map +1 -0
- package/dist/components/context-menu/ContextMenuSub.vue.d.ts +47 -0
- package/dist/components/context-menu/ContextMenuSub.vue.d.ts.map +1 -0
- package/dist/components/context-menu/ContextMenuSubContent.vue.d.ts +127 -0
- package/dist/components/context-menu/ContextMenuSubContent.vue.d.ts.map +1 -0
- package/dist/components/context-menu/ContextMenuSubTrigger.vue.d.ts +111 -0
- package/dist/components/context-menu/ContextMenuSubTrigger.vue.d.ts.map +1 -0
- package/dist/components/context-menu/ContextMenuTrigger.vue.d.ts +95 -0
- package/dist/components/context-menu/ContextMenuTrigger.vue.d.ts.map +1 -0
- package/dist/components/context-menu/index.d.ts +31 -0
- package/dist/components/context-menu/index.d.ts.map +1 -0
- package/dist/components/context-menu/theme.d.ts +4 -0
- package/dist/components/context-menu/theme.d.ts.map +1 -0
- package/dist/components/context-menu/types.d.ts +33 -0
- package/dist/components/context-menu/types.d.ts.map +1 -0
- package/dist/components/dropdown-menu/DropdownMenu.vue.d.ts +79 -0
- package/dist/components/dropdown-menu/DropdownMenu.vue.d.ts.map +1 -0
- package/dist/components/dropdown-menu/DropdownMenuArrow.vue.d.ts +79 -0
- package/dist/components/dropdown-menu/DropdownMenuArrow.vue.d.ts.map +1 -0
- package/dist/components/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +98 -0
- package/dist/components/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts.map +1 -0
- package/dist/components/dropdown-menu/DropdownMenuContent.vue.d.ts +159 -0
- package/dist/components/dropdown-menu/DropdownMenuContent.vue.d.ts.map +1 -0
- package/dist/components/dropdown-menu/DropdownMenuGroup.vue.d.ts +47 -0
- package/dist/components/dropdown-menu/DropdownMenuGroup.vue.d.ts.map +1 -0
- package/dist/components/dropdown-menu/DropdownMenuItem.vue.d.ts +113 -0
- package/dist/components/dropdown-menu/DropdownMenuItem.vue.d.ts.map +1 -0
- package/dist/components/dropdown-menu/DropdownMenuItemIndicator.vue.d.ts +63 -0
- package/dist/components/dropdown-menu/DropdownMenuItemIndicator.vue.d.ts.map +1 -0
- package/dist/components/dropdown-menu/DropdownMenuLabel.vue.d.ts +79 -0
- package/dist/components/dropdown-menu/DropdownMenuLabel.vue.d.ts.map +1 -0
- package/dist/components/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +65 -0
- package/dist/components/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts.map +1 -0
- package/dist/components/dropdown-menu/DropdownMenuRadioItem.vue.d.ts +96 -0
- package/dist/components/dropdown-menu/DropdownMenuRadioItem.vue.d.ts.map +1 -0
- package/dist/components/dropdown-menu/DropdownMenuSeparator.vue.d.ts +47 -0
- package/dist/components/dropdown-menu/DropdownMenuSeparator.vue.d.ts.map +1 -0
- package/dist/components/dropdown-menu/DropdownMenuSub.vue.d.ts +47 -0
- package/dist/components/dropdown-menu/DropdownMenuSub.vue.d.ts.map +1 -0
- package/dist/components/dropdown-menu/DropdownMenuSubContent.vue.d.ts +127 -0
- package/dist/components/dropdown-menu/DropdownMenuSubContent.vue.d.ts.map +1 -0
- package/dist/components/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +111 -0
- package/dist/components/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts.map +1 -0
- package/dist/components/dropdown-menu/DropdownMenuTrigger.vue.d.ts +79 -0
- package/dist/components/dropdown-menu/DropdownMenuTrigger.vue.d.ts.map +1 -0
- package/dist/components/dropdown-menu/index.d.ts +33 -0
- package/dist/components/dropdown-menu/index.d.ts.map +1 -0
- package/dist/components/dropdown-menu/theme.d.ts +4 -0
- package/dist/components/dropdown-menu/theme.d.ts.map +1 -0
- package/dist/components/dropdown-menu/types.d.ts +35 -0
- package/dist/components/dropdown-menu/types.d.ts.map +1 -0
- package/dist/components/hover-card/HoverCard.vue.d.ts +79 -0
- package/dist/components/hover-card/HoverCard.vue.d.ts.map +1 -0
- package/dist/components/hover-card/HoverCardArrow.vue.d.ts +79 -0
- package/dist/components/hover-card/HoverCardArrow.vue.d.ts.map +1 -0
- package/dist/components/hover-card/HoverCardContent.vue.d.ts +143 -0
- package/dist/components/hover-card/HoverCardContent.vue.d.ts.map +1 -0
- package/dist/components/hover-card/HoverCardTrigger.vue.d.ts +79 -0
- package/dist/components/hover-card/HoverCardTrigger.vue.d.ts.map +1 -0
- package/dist/components/hover-card/index.d.ts +11 -0
- package/dist/components/hover-card/index.d.ts.map +1 -0
- package/dist/components/hover-card/theme.d.ts +4 -0
- package/dist/components/hover-card/theme.d.ts.map +1 -0
- package/dist/components/hover-card/types.d.ts +15 -0
- package/dist/components/hover-card/types.d.ts.map +1 -0
- package/dist/components/index.d.ts +9 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/modal/Modal.vue.d.ts +63 -0
- package/dist/components/modal/Modal.vue.d.ts.map +1 -0
- package/dist/components/modal/ModalClose.vue.d.ts +116 -0
- package/dist/components/modal/ModalClose.vue.d.ts.map +1 -0
- package/dist/components/modal/ModalContent.vue.d.ts +81 -0
- package/dist/components/modal/ModalContent.vue.d.ts.map +1 -0
- package/dist/components/modal/ModalDescription.vue.d.ts +47 -0
- package/dist/components/modal/ModalDescription.vue.d.ts.map +1 -0
- package/dist/components/modal/ModalTitle.vue.d.ts +47 -0
- package/dist/components/modal/ModalTitle.vue.d.ts.map +1 -0
- package/dist/components/modal/ModalTrigger.vue.d.ts +79 -0
- package/dist/components/modal/ModalTrigger.vue.d.ts.map +1 -0
- package/dist/components/modal/index.d.ts +16 -0
- package/dist/components/modal/index.d.ts.map +1 -0
- package/dist/components/modal/theme.d.ts +13 -0
- package/dist/components/modal/theme.d.ts.map +1 -0
- package/dist/components/modal/types.d.ts +38 -0
- package/dist/components/modal/types.d.ts.map +1 -0
- package/dist/components/modal/use-modal.d.ts +54 -0
- package/dist/components/modal/use-modal.d.ts.map +1 -0
- package/dist/components/popover/Popover.vue.d.ts +63 -0
- package/dist/components/popover/Popover.vue.d.ts.map +1 -0
- package/dist/components/popover/PopoverArrow.vue.d.ts +79 -0
- package/dist/components/popover/PopoverArrow.vue.d.ts.map +1 -0
- package/dist/components/popover/PopoverClose.vue.d.ts +116 -0
- package/dist/components/popover/PopoverClose.vue.d.ts.map +1 -0
- package/dist/components/popover/PopoverContent.vue.d.ts +143 -0
- package/dist/components/popover/PopoverContent.vue.d.ts.map +1 -0
- package/dist/components/popover/PopoverTrigger.vue.d.ts +79 -0
- package/dist/components/popover/PopoverTrigger.vue.d.ts.map +1 -0
- package/dist/components/popover/index.d.ts +13 -0
- package/dist/components/popover/index.d.ts.map +1 -0
- package/dist/components/popover/theme.d.ts +4 -0
- package/dist/components/popover/theme.d.ts.map +1 -0
- package/dist/components/popover/types.d.ts +25 -0
- package/dist/components/popover/types.d.ts.map +1 -0
- package/dist/components/presence/Presence.vue.d.ts +39 -0
- package/dist/components/presence/Presence.vue.d.ts.map +1 -0
- package/dist/components/presence/index.d.ts +3 -0
- package/dist/components/presence/index.d.ts.map +1 -0
- package/dist/components/presence/types.d.ts +20 -0
- package/dist/components/presence/types.d.ts.map +1 -0
- package/dist/components/toast/Toast.vue.d.ts +225 -0
- package/dist/components/toast/Toast.vue.d.ts.map +1 -0
- package/dist/components/toast/ToastAction.vue.d.ts +99 -0
- package/dist/components/toast/ToastAction.vue.d.ts.map +1 -0
- package/dist/components/toast/ToastClose.vue.d.ts +116 -0
- package/dist/components/toast/ToastClose.vue.d.ts.map +1 -0
- package/dist/components/toast/ToastDescription.vue.d.ts +90 -0
- package/dist/components/toast/ToastDescription.vue.d.ts.map +1 -0
- package/dist/components/toast/ToastProvider.vue.d.ts +85 -0
- package/dist/components/toast/ToastProvider.vue.d.ts.map +1 -0
- package/dist/components/toast/ToastTitle.vue.d.ts +90 -0
- package/dist/components/toast/ToastTitle.vue.d.ts.map +1 -0
- package/dist/components/toast/Toaster.vue.d.ts +135 -0
- package/dist/components/toast/Toaster.vue.d.ts.map +1 -0
- package/dist/components/toast/index.d.ts +18 -0
- package/dist/components/toast/index.d.ts.map +1 -0
- package/dist/components/toast/theme.d.ts +8 -0
- package/dist/components/toast/theme.d.ts.map +1 -0
- package/dist/components/toast/types.d.ts +148 -0
- package/dist/components/toast/types.d.ts.map +1 -0
- package/dist/components/toast/use-toast.d.ts +41 -0
- package/dist/components/toast/use-toast.d.ts.map +1 -0
- package/dist/components/tooltip/Tooltip.vue.d.ts +95 -0
- package/dist/components/tooltip/Tooltip.vue.d.ts.map +1 -0
- package/dist/components/tooltip/TooltipArrow.vue.d.ts +79 -0
- package/dist/components/tooltip/TooltipArrow.vue.d.ts.map +1 -0
- package/dist/components/tooltip/TooltipContent.vue.d.ts +143 -0
- package/dist/components/tooltip/TooltipContent.vue.d.ts.map +1 -0
- package/dist/components/tooltip/TooltipProvider.vue.d.ts +99 -0
- package/dist/components/tooltip/TooltipProvider.vue.d.ts.map +1 -0
- package/dist/components/tooltip/TooltipTrigger.vue.d.ts +79 -0
- package/dist/components/tooltip/TooltipTrigger.vue.d.ts.map +1 -0
- package/dist/components/tooltip/index.d.ts +13 -0
- package/dist/components/tooltip/index.d.ts.map +1 -0
- package/dist/components/tooltip/theme.d.ts +4 -0
- package/dist/components/tooltip/theme.d.ts.map +1 -0
- package/dist/components/tooltip/types.d.ts +15 -0
- package/dist/components/tooltip/types.d.ts.map +1 -0
- package/dist/config.d.ts +25 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.mjs +2620 -0
- package/dist/index.mjs.map +1 -0
- package/dist/vue.d.ts +119 -0
- package/dist/vue.d.ts.map +1 -0
- package/package.json +65 -0
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import type { ExtractPublicPropTypes, PropType } from 'vue';
|
|
2
|
+
import type { ThemeClassesOverride, VariantValues } from '@vuecs/core';
|
|
3
|
+
import type { PopoverThemeClasses } from './types';
|
|
4
|
+
declare const popoverContentProps: {
|
|
5
|
+
/** Skip the portal and render in-place (testing / custom mounting). Internal — never forwarded to Reka. */
|
|
6
|
+
inline: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
/** Preferred side relative to the trigger. */
|
|
11
|
+
side: {
|
|
12
|
+
type: PropType<"top" | "right" | "bottom" | "left">;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
/** Distance in pixels between trigger and panel. Vuecs convention: 4 (Reka default: 0). */
|
|
16
|
+
sideOffset: {
|
|
17
|
+
type: NumberConstructor;
|
|
18
|
+
default: number;
|
|
19
|
+
};
|
|
20
|
+
/** Alignment along the chosen side. */
|
|
21
|
+
align: {
|
|
22
|
+
type: PropType<"start" | "center" | "end">;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
/** Offset in pixels along the alignment axis. */
|
|
26
|
+
alignOffset: {
|
|
27
|
+
type: NumberConstructor;
|
|
28
|
+
default: number;
|
|
29
|
+
};
|
|
30
|
+
/** Flip / shift the panel to stay inside the viewport. */
|
|
31
|
+
avoidCollisions: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
35
|
+
/** Per-instance theme override — flat slot key map. */
|
|
36
|
+
themeClass: {
|
|
37
|
+
type: PropType<ThemeClassesOverride<PopoverThemeClasses>>;
|
|
38
|
+
default: any;
|
|
39
|
+
};
|
|
40
|
+
/** Per-instance variant values. */
|
|
41
|
+
themeVariant: {
|
|
42
|
+
type: PropType<VariantValues>;
|
|
43
|
+
default: any;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
export type PopoverContentProps = ExtractPublicPropTypes<typeof popoverContentProps>;
|
|
47
|
+
declare const _default: typeof __VLS_export;
|
|
48
|
+
export default _default;
|
|
49
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
50
|
+
/** Skip the portal and render in-place (testing / custom mounting). Internal — never forwarded to Reka. */
|
|
51
|
+
inline: {
|
|
52
|
+
type: BooleanConstructor;
|
|
53
|
+
default: boolean;
|
|
54
|
+
};
|
|
55
|
+
/** Preferred side relative to the trigger. */
|
|
56
|
+
side: {
|
|
57
|
+
type: PropType<"top" | "right" | "bottom" | "left">;
|
|
58
|
+
default: string;
|
|
59
|
+
};
|
|
60
|
+
/** Distance in pixels between trigger and panel. Vuecs convention: 4 (Reka default: 0). */
|
|
61
|
+
sideOffset: {
|
|
62
|
+
type: NumberConstructor;
|
|
63
|
+
default: number;
|
|
64
|
+
};
|
|
65
|
+
/** Alignment along the chosen side. */
|
|
66
|
+
align: {
|
|
67
|
+
type: PropType<"start" | "center" | "end">;
|
|
68
|
+
default: string;
|
|
69
|
+
};
|
|
70
|
+
/** Offset in pixels along the alignment axis. */
|
|
71
|
+
alignOffset: {
|
|
72
|
+
type: NumberConstructor;
|
|
73
|
+
default: number;
|
|
74
|
+
};
|
|
75
|
+
/** Flip / shift the panel to stay inside the viewport. */
|
|
76
|
+
avoidCollisions: {
|
|
77
|
+
type: BooleanConstructor;
|
|
78
|
+
default: boolean;
|
|
79
|
+
};
|
|
80
|
+
/** Per-instance theme override — flat slot key map. */
|
|
81
|
+
themeClass: {
|
|
82
|
+
type: PropType<ThemeClassesOverride<PopoverThemeClasses>>;
|
|
83
|
+
default: any;
|
|
84
|
+
};
|
|
85
|
+
/** Per-instance variant values. */
|
|
86
|
+
themeVariant: {
|
|
87
|
+
type: PropType<VariantValues>;
|
|
88
|
+
default: any;
|
|
89
|
+
};
|
|
90
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
91
|
+
[key: string]: any;
|
|
92
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
93
|
+
/** Skip the portal and render in-place (testing / custom mounting). Internal — never forwarded to Reka. */
|
|
94
|
+
inline: {
|
|
95
|
+
type: BooleanConstructor;
|
|
96
|
+
default: boolean;
|
|
97
|
+
};
|
|
98
|
+
/** Preferred side relative to the trigger. */
|
|
99
|
+
side: {
|
|
100
|
+
type: PropType<"top" | "right" | "bottom" | "left">;
|
|
101
|
+
default: string;
|
|
102
|
+
};
|
|
103
|
+
/** Distance in pixels between trigger and panel. Vuecs convention: 4 (Reka default: 0). */
|
|
104
|
+
sideOffset: {
|
|
105
|
+
type: NumberConstructor;
|
|
106
|
+
default: number;
|
|
107
|
+
};
|
|
108
|
+
/** Alignment along the chosen side. */
|
|
109
|
+
align: {
|
|
110
|
+
type: PropType<"start" | "center" | "end">;
|
|
111
|
+
default: string;
|
|
112
|
+
};
|
|
113
|
+
/** Offset in pixels along the alignment axis. */
|
|
114
|
+
alignOffset: {
|
|
115
|
+
type: NumberConstructor;
|
|
116
|
+
default: number;
|
|
117
|
+
};
|
|
118
|
+
/** Flip / shift the panel to stay inside the viewport. */
|
|
119
|
+
avoidCollisions: {
|
|
120
|
+
type: BooleanConstructor;
|
|
121
|
+
default: boolean;
|
|
122
|
+
};
|
|
123
|
+
/** Per-instance theme override — flat slot key map. */
|
|
124
|
+
themeClass: {
|
|
125
|
+
type: PropType<ThemeClassesOverride<PopoverThemeClasses>>;
|
|
126
|
+
default: any;
|
|
127
|
+
};
|
|
128
|
+
/** Per-instance variant values. */
|
|
129
|
+
themeVariant: {
|
|
130
|
+
type: PropType<VariantValues>;
|
|
131
|
+
default: any;
|
|
132
|
+
};
|
|
133
|
+
}>> & Readonly<{}>, {
|
|
134
|
+
themeClass: ThemeClassesOverride<PopoverThemeClasses>;
|
|
135
|
+
themeVariant: VariantValues;
|
|
136
|
+
inline: boolean;
|
|
137
|
+
alignOffset: number;
|
|
138
|
+
avoidCollisions: boolean;
|
|
139
|
+
side: "top" | "right" | "bottom" | "left";
|
|
140
|
+
sideOffset: number;
|
|
141
|
+
align: "start" | "center" | "end";
|
|
142
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
143
|
+
//# sourceMappingURL=PopoverContent.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PopoverContent.vue.d.ts","sourceRoot":"","sources":["../../../src/components/popover/PopoverContent.vue"],"names":[],"mappings":"AA+DA,OAAO,KAAK,EAAE,sBAAsB,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;AAG5D,OAAO,KAAK,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAEvE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEnD,QAAA,MAAM,mBAAmB;IACrB,2GAA2G;;;;;IAE3G,8CAA8C;;cACtB,QAAQ,CAAC,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;;;IACrE,2FAA2F;;;;;IAE3F,uCAAuC;;cACd,QAAQ,CAAC,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;;;IAC7D,iDAAiD;;;;;IAEjD,0DAA0D;;;;;IAE1D,uDAAuD;;cACzB,QAAQ,CAAC,oBAAoB,CAAC,mBAAmB,CAAC,CAAC;;;IACjF,mCAAmC;;cACH,QAAQ,CAAC,aAAa,CAAC;;;CAC1D,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,sBAAsB,CAAC,OAAO,mBAAmB,CAAC,CAAC;wBAEhE,OAAO,YAAY;AAAxC,wBAAyC;AAQzC,QAAA,MAAM,YAAY;IA5Bd,2GAA2G;;;;;IAE3G,8CAA8C;;cACtB,QAAQ,CAAC,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;;;IACrE,2FAA2F;;;;;IAE3F,uCAAuC;;cACd,QAAQ,CAAC,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;;;IAC7D,iDAAiD;;;;;IAEjD,0DAA0D;;;;;IAE1D,uDAAuD;;cACzB,QAAQ,CAAC,oBAAoB,CAAC,mBAAmB,CAAC,CAAC;;;IACjF,mCAAmC;;cACH,QAAQ,CAAC,aAAa,CAAC;;;;;;IAfvD,2GAA2G;;;;;IAE3G,8CAA8C;;cACtB,QAAQ,CAAC,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;;;IACrE,2FAA2F;;;;;IAE3F,uCAAuC;;cACd,QAAQ,CAAC,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;;;IAC7D,iDAAiD;;;;;IAEjD,0DAA0D;;;;;IAE1D,uDAAuD;;cACzB,QAAQ,CAAC,oBAAoB,CAAC,mBAAmB,CAAC,CAAC;;;IACjF,mCAAmC;;cACH,QAAQ,CAAC,aAAa,CAAC;;;;;;;;;;;;4EAwCzD,CAAC"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import type { ExtractPublicPropTypes, PropType } from 'vue';
|
|
2
|
+
import type { ThemeClassesOverride, VariantValues } from '@vuecs/core';
|
|
3
|
+
import type { PopoverThemeClasses } from './types';
|
|
4
|
+
declare const popoverTriggerProps: {
|
|
5
|
+
/** HTML tag (or component) to render as. Reka default: `'button'`. */
|
|
6
|
+
as: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
/** Render the slot content as the rendered element instead of wrapping it. */
|
|
11
|
+
asChild: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
15
|
+
/** Per-instance theme override — flat slot key map. */
|
|
16
|
+
themeClass: {
|
|
17
|
+
type: PropType<ThemeClassesOverride<PopoverThemeClasses>>;
|
|
18
|
+
default: any;
|
|
19
|
+
};
|
|
20
|
+
/** Per-instance variant values. */
|
|
21
|
+
themeVariant: {
|
|
22
|
+
type: PropType<VariantValues>;
|
|
23
|
+
default: any;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export type PopoverTriggerProps = ExtractPublicPropTypes<typeof popoverTriggerProps>;
|
|
27
|
+
declare const _default: typeof __VLS_export;
|
|
28
|
+
export default _default;
|
|
29
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
30
|
+
/** HTML tag (or component) to render as. Reka default: `'button'`. */
|
|
31
|
+
as: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
/** Render the slot content as the rendered element instead of wrapping it. */
|
|
36
|
+
asChild: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
/** Per-instance theme override — flat slot key map. */
|
|
41
|
+
themeClass: {
|
|
42
|
+
type: PropType<ThemeClassesOverride<PopoverThemeClasses>>;
|
|
43
|
+
default: any;
|
|
44
|
+
};
|
|
45
|
+
/** Per-instance variant values. */
|
|
46
|
+
themeVariant: {
|
|
47
|
+
type: PropType<VariantValues>;
|
|
48
|
+
default: any;
|
|
49
|
+
};
|
|
50
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
51
|
+
[key: string]: any;
|
|
52
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
53
|
+
/** HTML tag (or component) to render as. Reka default: `'button'`. */
|
|
54
|
+
as: {
|
|
55
|
+
type: StringConstructor;
|
|
56
|
+
default: string;
|
|
57
|
+
};
|
|
58
|
+
/** Render the slot content as the rendered element instead of wrapping it. */
|
|
59
|
+
asChild: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
63
|
+
/** Per-instance theme override — flat slot key map. */
|
|
64
|
+
themeClass: {
|
|
65
|
+
type: PropType<ThemeClassesOverride<PopoverThemeClasses>>;
|
|
66
|
+
default: any;
|
|
67
|
+
};
|
|
68
|
+
/** Per-instance variant values. */
|
|
69
|
+
themeVariant: {
|
|
70
|
+
type: PropType<VariantValues>;
|
|
71
|
+
default: any;
|
|
72
|
+
};
|
|
73
|
+
}>> & Readonly<{}>, {
|
|
74
|
+
themeClass: ThemeClassesOverride<PopoverThemeClasses>;
|
|
75
|
+
themeVariant: VariantValues;
|
|
76
|
+
asChild: boolean;
|
|
77
|
+
as: string;
|
|
78
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
79
|
+
//# sourceMappingURL=PopoverTrigger.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PopoverTrigger.vue.d.ts","sourceRoot":"","sources":["../../../src/components/popover/PopoverTrigger.vue"],"names":[],"mappings":"AA4CA,OAAO,KAAK,EAAE,sBAAsB,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;AAG5D,OAAO,KAAK,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAEvE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEnD,QAAA,MAAM,mBAAmB;IACrB,sEAAsE;;;;;IAEtE,8EAA8E;;;;;IAE9E,uDAAuD;;cACzB,QAAQ,CAAC,oBAAoB,CAAC,mBAAmB,CAAC,CAAC;;;IACjF,mCAAmC;;cACH,QAAQ,CAAC,aAAa,CAAC;;;CAC1D,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,sBAAsB,CAAC,OAAO,mBAAmB,CAAC,CAAC;wBAEhE,OAAO,YAAY;AAAxC,wBAAyC;AAQzC,QAAA,MAAM,YAAY;IApBd,sEAAsE;;;;;IAEtE,8EAA8E;;;;;IAE9E,uDAAuD;;cACzB,QAAQ,CAAC,oBAAoB,CAAC,mBAAmB,CAAC,CAAC;;;IACjF,mCAAmC;;cACH,QAAQ,CAAC,aAAa,CAAC;;;;;;IAPvD,sEAAsE;;;;;IAEtE,8EAA8E;;;;;IAE9E,uDAAuD;;cACzB,QAAQ,CAAC,oBAAoB,CAAC,mBAAmB,CAAC,CAAC;;;IACjF,mCAAmC;;cACH,QAAQ,CAAC,aAAa,CAAC;;;;;;;;4EA6BzD,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export { default as VCPopover } from './Popover.vue';
|
|
2
|
+
export { default as VCPopoverTrigger } from './PopoverTrigger.vue';
|
|
3
|
+
export { default as VCPopoverContent } from './PopoverContent.vue';
|
|
4
|
+
export { default as VCPopoverArrow } from './PopoverArrow.vue';
|
|
5
|
+
export { default as VCPopoverClose } from './PopoverClose.vue';
|
|
6
|
+
export type { PopoverProps } from './Popover.vue';
|
|
7
|
+
export type { PopoverTriggerProps } from './PopoverTrigger.vue';
|
|
8
|
+
export type { PopoverContentProps } from './PopoverContent.vue';
|
|
9
|
+
export type { PopoverArrowProps } from './PopoverArrow.vue';
|
|
10
|
+
export type { PopoverCloseProps } from './PopoverClose.vue';
|
|
11
|
+
export * from './theme';
|
|
12
|
+
export * from './types';
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/popover/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAE/D,YAAY,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAClD,YAAY,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAChE,YAAY,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAChE,YAAY,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAC5D,YAAY,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAE5D,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/components/popover/theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AAC5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEnD,eAAO,MAAM,oBAAoB,EAAE,wBAAwB,CAAC,mBAAmB,CAQ9E,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { ThemeElementDefinition } from '@vuecs/core';
|
|
2
|
+
export type PopoverThemeClasses = {
|
|
3
|
+
/** Floating panel (the actual popover content). */
|
|
4
|
+
content: string;
|
|
5
|
+
/** Trigger element that toggles the popover. */
|
|
6
|
+
trigger: string;
|
|
7
|
+
/** Arrow / pointer element. */
|
|
8
|
+
arrow: string;
|
|
9
|
+
/**
|
|
10
|
+
* Generic close-trigger button. Neutral by design so consumer classes
|
|
11
|
+
* layered via `class=` compose cleanly. Used by `<VCPopoverClose>`.
|
|
12
|
+
*/
|
|
13
|
+
close: string;
|
|
14
|
+
/**
|
|
15
|
+
* Corner-X close button. Carries absolute positioning + sizing so it
|
|
16
|
+
* docks into the popover's top-right corner. Used by `<VCPopoverCloseIcon>`.
|
|
17
|
+
*/
|
|
18
|
+
closeIcon: string;
|
|
19
|
+
};
|
|
20
|
+
declare module '@vuecs/core' {
|
|
21
|
+
interface ThemeElements {
|
|
22
|
+
popover?: ThemeElementDefinition<PopoverThemeClasses>;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/popover/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAE1D,MAAM,MAAM,mBAAmB,GAAG;IAC9B,mDAAmD;IACnD,OAAO,EAAE,MAAM,CAAC;IAChB,gDAAgD;IAChD,OAAO,EAAE,MAAM,CAAC;IAChB,+BAA+B;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,OAAO,QAAQ,aAAa,CAAC;IACzB,UAAU,aAAa;QACnB,OAAO,CAAC,EAAE,sBAAsB,CAAC,mBAAmB,CAAC,CAAC;KACzD;CACJ"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Animation lifecycle wrapper. Keeps the wrapped subtree mounted while
|
|
3
|
+
* `present` is true, and waits for in-flight `data-state` CSS animations
|
|
4
|
+
* to finish before unmounting when `present` flips to false.
|
|
5
|
+
*
|
|
6
|
+
* Wraps Reka's `Presence` primitive without re-exporting it directly —
|
|
7
|
+
* the props shape is vuecs-owned (see `VCPresenceProps`).
|
|
8
|
+
*/
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
10
|
+
export default _default;
|
|
11
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
12
|
+
/** Whether the wrapped subtree should be mounted. Toggle to trigger enter/exit animations. */
|
|
13
|
+
present: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
required: boolean;
|
|
16
|
+
};
|
|
17
|
+
/** Force the subtree to stay mounted regardless of `present` (debug / programmatic transition control). */
|
|
18
|
+
forceMount: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
25
|
+
/** Whether the wrapped subtree should be mounted. Toggle to trigger enter/exit animations. */
|
|
26
|
+
present: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
required: boolean;
|
|
29
|
+
};
|
|
30
|
+
/** Force the subtree to stay mounted regardless of `present` (debug / programmatic transition control). */
|
|
31
|
+
forceMount: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
35
|
+
}>> & Readonly<{}>, {
|
|
36
|
+
forceMount: boolean;
|
|
37
|
+
present: boolean;
|
|
38
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
39
|
+
//# sourceMappingURL=Presence.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Presence.vue.d.ts","sourceRoot":"","sources":["../../../src/components/presence/Presence.vue"],"names":[],"mappings":"AAyCA;;;;;;;GAOG;wBACkB,OAAO,YAAY;AAAxC,wBAAyC;AAQzC,QAAA,MAAM,YAAY;IAIV,8FAA8F;;;;;IAE9F,2GAA2G;;;;;;;;IAF3G,8FAA8F;;;;;IAE9F,2GAA2G;;;;;;;;4EAajH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/presence/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACvD,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Props for `<VCPresence>`. Vuecs-owned shape — kept independent of the
|
|
3
|
+
* underlying `reka-ui` `PresenceProps` so the upstream type can evolve
|
|
4
|
+
* without breaking vuecs consumers.
|
|
5
|
+
*/
|
|
6
|
+
export type VCPresenceProps = {
|
|
7
|
+
/**
|
|
8
|
+
* Whether the wrapped subtree is "present" right now. The component
|
|
9
|
+
* keeps the children mounted while open, and waits for any in-flight
|
|
10
|
+
* CSS animation (driven by `data-state="open|closed"` attributes on
|
|
11
|
+
* the children) to finish before unmounting.
|
|
12
|
+
*/
|
|
13
|
+
present: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Force the inner element to stay mounted regardless of `present`.
|
|
16
|
+
* Useful when consumer code controls mount lifecycle elsewhere.
|
|
17
|
+
*/
|
|
18
|
+
forceMount?: boolean;
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/presence/types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,MAAM,eAAe,GAAG;IAC1B;;;;;OAKG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC"}
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
import type { ExtractPublicPropTypes, PropType } from 'vue';
|
|
2
|
+
import type { ToastColor, ToastThemeClasses, ToastVariant } from './types';
|
|
3
|
+
declare const toastProps: {
|
|
4
|
+
themeClass: {
|
|
5
|
+
type: PropType<import("@vuecs/core").ThemeClassesOverride<ToastThemeClasses>>;
|
|
6
|
+
default: any;
|
|
7
|
+
};
|
|
8
|
+
themeVariant: {
|
|
9
|
+
type: PropType<import("@vuecs/core").VariantValues>;
|
|
10
|
+
default: any;
|
|
11
|
+
};
|
|
12
|
+
/** Semantic color — drives the `color` theme variant. */
|
|
13
|
+
color: {
|
|
14
|
+
type: PropType<ToastColor>;
|
|
15
|
+
default: any;
|
|
16
|
+
};
|
|
17
|
+
/** Visual treatment — `solid` / `soft` / `outline`. */
|
|
18
|
+
variant: {
|
|
19
|
+
type: PropType<ToastVariant>;
|
|
20
|
+
default: any;
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Auto-dismiss timeout (ms). Falls back to the `<VCToastProvider>`
|
|
24
|
+
* default. Use `0` for a persistent toast (no auto-dismiss).
|
|
25
|
+
*/
|
|
26
|
+
duration: {
|
|
27
|
+
type: NumberConstructor;
|
|
28
|
+
default: any;
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Reka `type` — `'foreground'` interrupts AT (use for errors / urgent
|
|
32
|
+
* messages); `'background'` queues politely.
|
|
33
|
+
*
|
|
34
|
+
* Vuecs convention: defaults to `'background'` (Reka's default is
|
|
35
|
+
* `'foreground'`). Most toasts are informational and shouldn't
|
|
36
|
+
* interrupt screen-reader users; explicit `type="foreground"` opts
|
|
37
|
+
* into the louder announcement for urgent error toasts.
|
|
38
|
+
*/
|
|
39
|
+
type: {
|
|
40
|
+
type: PropType<"foreground" | "background">;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* Controlled open state. Leave undefined to let Reka's internal state
|
|
45
|
+
* machine manage open/close lifecycle from `defaultOpen` + the
|
|
46
|
+
* auto-dismiss timer. `<VCToaster>` deliberately doesn't bind this —
|
|
47
|
+
* it dismisses entries via the queue, letting Reka own per-toast state.
|
|
48
|
+
*/
|
|
49
|
+
open: {
|
|
50
|
+
type: PropType<boolean | undefined>;
|
|
51
|
+
default: any;
|
|
52
|
+
};
|
|
53
|
+
/** Initial open state when `open` is undefined. */
|
|
54
|
+
defaultOpen: {
|
|
55
|
+
type: BooleanConstructor;
|
|
56
|
+
default: boolean;
|
|
57
|
+
};
|
|
58
|
+
/** HTML tag to render. */
|
|
59
|
+
as: {
|
|
60
|
+
type: StringConstructor;
|
|
61
|
+
default: string;
|
|
62
|
+
};
|
|
63
|
+
/** Render the consumer's slot child as the root (Reka `asChild` pattern). */
|
|
64
|
+
asChild: {
|
|
65
|
+
type: BooleanConstructor;
|
|
66
|
+
default: boolean;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
export type ToastProps = ExtractPublicPropTypes<typeof toastProps>;
|
|
70
|
+
declare const _default: typeof __VLS_export;
|
|
71
|
+
export default _default;
|
|
72
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
73
|
+
themeClass: {
|
|
74
|
+
type: PropType<import("@vuecs/core").ThemeClassesOverride<ToastThemeClasses>>;
|
|
75
|
+
default: any;
|
|
76
|
+
};
|
|
77
|
+
themeVariant: {
|
|
78
|
+
type: PropType<import("@vuecs/core").VariantValues>;
|
|
79
|
+
default: any;
|
|
80
|
+
};
|
|
81
|
+
/** Semantic color — drives the `color` theme variant. */
|
|
82
|
+
color: {
|
|
83
|
+
type: PropType<ToastColor>;
|
|
84
|
+
default: any;
|
|
85
|
+
};
|
|
86
|
+
/** Visual treatment — `solid` / `soft` / `outline`. */
|
|
87
|
+
variant: {
|
|
88
|
+
type: PropType<ToastVariant>;
|
|
89
|
+
default: any;
|
|
90
|
+
};
|
|
91
|
+
/**
|
|
92
|
+
* Auto-dismiss timeout (ms). Falls back to the `<VCToastProvider>`
|
|
93
|
+
* default. Use `0` for a persistent toast (no auto-dismiss).
|
|
94
|
+
*/
|
|
95
|
+
duration: {
|
|
96
|
+
type: NumberConstructor;
|
|
97
|
+
default: any;
|
|
98
|
+
};
|
|
99
|
+
/**
|
|
100
|
+
* Reka `type` — `'foreground'` interrupts AT (use for errors / urgent
|
|
101
|
+
* messages); `'background'` queues politely.
|
|
102
|
+
*
|
|
103
|
+
* Vuecs convention: defaults to `'background'` (Reka's default is
|
|
104
|
+
* `'foreground'`). Most toasts are informational and shouldn't
|
|
105
|
+
* interrupt screen-reader users; explicit `type="foreground"` opts
|
|
106
|
+
* into the louder announcement for urgent error toasts.
|
|
107
|
+
*/
|
|
108
|
+
type: {
|
|
109
|
+
type: PropType<"foreground" | "background">;
|
|
110
|
+
default: string;
|
|
111
|
+
};
|
|
112
|
+
/**
|
|
113
|
+
* Controlled open state. Leave undefined to let Reka's internal state
|
|
114
|
+
* machine manage open/close lifecycle from `defaultOpen` + the
|
|
115
|
+
* auto-dismiss timer. `<VCToaster>` deliberately doesn't bind this —
|
|
116
|
+
* it dismisses entries via the queue, letting Reka own per-toast state.
|
|
117
|
+
*/
|
|
118
|
+
open: {
|
|
119
|
+
type: PropType<boolean | undefined>;
|
|
120
|
+
default: any;
|
|
121
|
+
};
|
|
122
|
+
/** Initial open state when `open` is undefined. */
|
|
123
|
+
defaultOpen: {
|
|
124
|
+
type: BooleanConstructor;
|
|
125
|
+
default: boolean;
|
|
126
|
+
};
|
|
127
|
+
/** HTML tag to render. */
|
|
128
|
+
as: {
|
|
129
|
+
type: StringConstructor;
|
|
130
|
+
default: string;
|
|
131
|
+
};
|
|
132
|
+
/** Render the consumer's slot child as the root (Reka `asChild` pattern). */
|
|
133
|
+
asChild: {
|
|
134
|
+
type: BooleanConstructor;
|
|
135
|
+
default: boolean;
|
|
136
|
+
};
|
|
137
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
138
|
+
[key: string]: any;
|
|
139
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:open" | "pause" | "escape-key-down" | "resume" | "swipe-start" | "swipe-move" | "swipe-cancel" | "swipe-end")[], "update:open" | "pause" | "escape-key-down" | "resume" | "swipe-start" | "swipe-move" | "swipe-cancel" | "swipe-end", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
140
|
+
themeClass: {
|
|
141
|
+
type: PropType<import("@vuecs/core").ThemeClassesOverride<ToastThemeClasses>>;
|
|
142
|
+
default: any;
|
|
143
|
+
};
|
|
144
|
+
themeVariant: {
|
|
145
|
+
type: PropType<import("@vuecs/core").VariantValues>;
|
|
146
|
+
default: any;
|
|
147
|
+
};
|
|
148
|
+
/** Semantic color — drives the `color` theme variant. */
|
|
149
|
+
color: {
|
|
150
|
+
type: PropType<ToastColor>;
|
|
151
|
+
default: any;
|
|
152
|
+
};
|
|
153
|
+
/** Visual treatment — `solid` / `soft` / `outline`. */
|
|
154
|
+
variant: {
|
|
155
|
+
type: PropType<ToastVariant>;
|
|
156
|
+
default: any;
|
|
157
|
+
};
|
|
158
|
+
/**
|
|
159
|
+
* Auto-dismiss timeout (ms). Falls back to the `<VCToastProvider>`
|
|
160
|
+
* default. Use `0` for a persistent toast (no auto-dismiss).
|
|
161
|
+
*/
|
|
162
|
+
duration: {
|
|
163
|
+
type: NumberConstructor;
|
|
164
|
+
default: any;
|
|
165
|
+
};
|
|
166
|
+
/**
|
|
167
|
+
* Reka `type` — `'foreground'` interrupts AT (use for errors / urgent
|
|
168
|
+
* messages); `'background'` queues politely.
|
|
169
|
+
*
|
|
170
|
+
* Vuecs convention: defaults to `'background'` (Reka's default is
|
|
171
|
+
* `'foreground'`). Most toasts are informational and shouldn't
|
|
172
|
+
* interrupt screen-reader users; explicit `type="foreground"` opts
|
|
173
|
+
* into the louder announcement for urgent error toasts.
|
|
174
|
+
*/
|
|
175
|
+
type: {
|
|
176
|
+
type: PropType<"foreground" | "background">;
|
|
177
|
+
default: string;
|
|
178
|
+
};
|
|
179
|
+
/**
|
|
180
|
+
* Controlled open state. Leave undefined to let Reka's internal state
|
|
181
|
+
* machine manage open/close lifecycle from `defaultOpen` + the
|
|
182
|
+
* auto-dismiss timer. `<VCToaster>` deliberately doesn't bind this —
|
|
183
|
+
* it dismisses entries via the queue, letting Reka own per-toast state.
|
|
184
|
+
*/
|
|
185
|
+
open: {
|
|
186
|
+
type: PropType<boolean | undefined>;
|
|
187
|
+
default: any;
|
|
188
|
+
};
|
|
189
|
+
/** Initial open state when `open` is undefined. */
|
|
190
|
+
defaultOpen: {
|
|
191
|
+
type: BooleanConstructor;
|
|
192
|
+
default: boolean;
|
|
193
|
+
};
|
|
194
|
+
/** HTML tag to render. */
|
|
195
|
+
as: {
|
|
196
|
+
type: StringConstructor;
|
|
197
|
+
default: string;
|
|
198
|
+
};
|
|
199
|
+
/** Render the consumer's slot child as the root (Reka `asChild` pattern). */
|
|
200
|
+
asChild: {
|
|
201
|
+
type: BooleanConstructor;
|
|
202
|
+
default: boolean;
|
|
203
|
+
};
|
|
204
|
+
}>> & Readonly<{
|
|
205
|
+
"onUpdate:open"?: (...args: any[]) => any;
|
|
206
|
+
onPause?: (...args: any[]) => any;
|
|
207
|
+
"onEscape-key-down"?: (...args: any[]) => any;
|
|
208
|
+
onResume?: (...args: any[]) => any;
|
|
209
|
+
"onSwipe-start"?: (...args: any[]) => any;
|
|
210
|
+
"onSwipe-move"?: (...args: any[]) => any;
|
|
211
|
+
"onSwipe-cancel"?: (...args: any[]) => any;
|
|
212
|
+
"onSwipe-end"?: (...args: any[]) => any;
|
|
213
|
+
}>, {
|
|
214
|
+
open: boolean;
|
|
215
|
+
type: "foreground" | "background";
|
|
216
|
+
themeClass: import("@vuecs/core").ThemeClassesOverride<ToastThemeClasses>;
|
|
217
|
+
themeVariant: import("@vuecs/core").VariantValues;
|
|
218
|
+
asChild: boolean;
|
|
219
|
+
as: string;
|
|
220
|
+
defaultOpen: boolean;
|
|
221
|
+
color: ToastColor;
|
|
222
|
+
variant: ToastVariant;
|
|
223
|
+
duration: number;
|
|
224
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
225
|
+
//# sourceMappingURL=Toast.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Toast.vue.d.ts","sourceRoot":"","sources":["../../../src/components/toast/Toast.vue"],"names":[],"mappings":"AAuFA,OAAO,KAAK,EAAE,sBAAsB,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;AAI5D,OAAO,KAAK,EAAE,UAAU,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE3E,QAAA,MAAM,UAAU;;;;;;;;;IACZ,yDAAyD;;cAChC,QAAQ,CAAC,UAAU,CAAC;;;IAC7C,uDAAuD;;cAC5B,QAAQ,CAAC,YAAY,CAAC;;;IACjD;;;OAGG;;;;;IAEH;;;;;;;;OAQG;;cACqB,QAAQ,CAAC,YAAY,GAAG,YAAY,CAAC;;;IAC7D;;;;;OAKG;;cACsB,QAAQ,CAAC,OAAO,GAAG,SAAS,CAAC;;;IACtD,mDAAmD;;;;;IAEnD,0BAA0B;;;;;IAE1B,6EAA6E;;;;;CAGhF,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG,sBAAsB,CAAC,OAAO,UAAU,CAAC,CAAC;wBAE9C,OAAO,YAAY;AAAxC,wBAAyC;AAQzC,QAAA,MAAM,YAAY;;;;;;;;;IA7Cd,yDAAyD;;cAChC,QAAQ,CAAC,UAAU,CAAC;;;IAC7C,uDAAuD;;cAC5B,QAAQ,CAAC,YAAY,CAAC;;;IACjD;;;OAGG;;;;;IAEH;;;;;;;;OAQG;;cACqB,QAAQ,CAAC,YAAY,GAAG,YAAY,CAAC;;;IAC7D;;;;;OAKG;;cACsB,QAAQ,CAAC,OAAO,GAAG,SAAS,CAAC;;;IACtD,mDAAmD;;;;;IAEnD,0BAA0B;;;;;IAE1B,6EAA6E;;;;;;;;;;;;;;;;IA9B7E,yDAAyD;;cAChC,QAAQ,CAAC,UAAU,CAAC;;;IAC7C,uDAAuD;;cAC5B,QAAQ,CAAC,YAAY,CAAC;;;IACjD;;;OAGG;;;;;IAEH;;;;;;;;OAQG;;cACqB,QAAQ,CAAC,YAAY,GAAG,YAAY,CAAC;;;IAC7D;;;;;OAKG;;cACsB,QAAQ,CAAC,OAAO,GAAG,SAAS,CAAC;;;IACtD,mDAAmD;;;;;IAEnD,0BAA0B;;;;;IAE1B,6EAA6E;;;;;;;;;;;;;;;;;;;;;;;;;4EAkD/E,CAAC"}
|