@pantograph/vue 0.6.6 → 0.7.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/ActionButton/ActionButton.d.ts +2 -228
- package/dist/Avatar/Avatar.d.ts +41 -0
- package/dist/AvatarGroup/AvatarGroup.d.ts +1 -1
- package/dist/Badge/Badge.d.ts +1 -9
- package/dist/Base/BaseBadge/BaseBadge.d.ts +7 -15
- package/dist/Base/BaseButton/BaseButton.d.ts +5 -87
- package/dist/Base/Primitive.d.ts +2 -2
- package/dist/Button/Button.d.ts +2 -228
- package/dist/ButtonGroup/ButtonGroup.d.ts +3 -3
- package/dist/Checkbox/Checkbox.d.ts +2 -2
- package/dist/Checkbox/index.js.js +1 -1
- package/dist/Checkbox/index.umd.cjs.js +1 -1
- package/dist/Checkbox.vue_vue_type_style_index_0_lang-BY73A9jA.js +216 -0
- package/dist/Checkbox.vue_vue_type_style_index_0_lang-BezXV-lY.js +1 -0
- package/dist/CheckboxGroup/index.js.js +1 -1
- package/dist/CheckboxGroup/index.umd.cjs.js +1 -1
- package/dist/ConfigProvider/index.d.ts +6 -6
- package/dist/ConfigProvider/utils.d.ts +2 -2
- package/dist/Divider/Divider.d.ts +6 -14
- package/dist/FloatButton/FloatButton.d.ts +2 -228
- package/dist/GraphicalObject/GraphicalObject.d.ts +1 -9
- package/dist/Icon/Icon.d.ts +4 -12
- package/dist/IconButton/IconButton.d.ts +2 -228
- package/dist/Image/Image.d.ts +8 -16
- package/dist/Image/index.js.js +6 -116
- package/dist/Image/index.umd.cjs.js +1 -1
- package/dist/Image.vue_vue_type_style_index_0_lang-C1KxnvZB.js +1 -0
- package/dist/Image.vue_vue_type_style_index_0_lang-f4IzwLoA.js +117 -0
- package/dist/IndentLevel/IndentLevel.d.ts +6 -14
- package/dist/Indicator/Indicator.d.ts +1 -9
- package/dist/Kbd/Kbd.d.ts +6 -14
- package/dist/Menu/Menu.d.ts +10 -10
- package/dist/Menu/index.js.js +1 -1
- package/dist/Menu/index.umd.cjs.js +1 -1
- package/dist/Menu.vue_vue_type_style_index_0_lang-CMub1sQn.js +1 -0
- package/dist/Menu.vue_vue_type_style_index_0_lang-Da97vR8P.js +513 -0
- package/dist/MenuItem/MenuItem.d.ts +2 -4
- package/dist/MenuItem/MenuItemContent.d.ts +19 -13
- package/dist/MenuItem/index.js.js +1 -1
- package/dist/MenuItem/index.umd.cjs.js +1 -1
- package/dist/Popover/Popover.d.ts +49 -0
- package/dist/RadioGroup/RadioGroup.d.ts +5 -13
- package/dist/RadioGroup/index.js.js +3 -98
- package/dist/RadioGroup/index.umd.cjs.js +1 -1
- package/dist/RadioGroup.vue_vue_type_script_setup_true_lang-CLCQycnR.js +100 -0
- package/dist/RadioGroup.vue_vue_type_script_setup_true_lang-CYjzOKgl.js +1 -0
- package/dist/Shortcut/index.js.js +3 -40
- package/dist/Shortcut/index.umd.cjs.js +1 -1
- package/dist/Shortcut.vue_vue_type_style_index_0_lang-BQb7DjFe.js +41 -0
- package/dist/Shortcut.vue_vue_type_style_index_0_lang-C49ZdQFd.js +1 -0
- package/dist/Skeleton/Skeleton.d.ts +4 -4
- package/dist/Spinner/Spinner.d.ts +4 -12
- package/dist/Switch/Switch.d.ts +3 -11
- package/dist/Switch/index.js.js +4 -102
- package/dist/Switch/index.umd.cjs.js +1 -1
- package/dist/Switch.vue_vue_type_style_index_0_lang-C2cAawMN.js +1 -0
- package/dist/Switch.vue_vue_type_style_index_0_lang-DCrwOHDJ.js +103 -0
- package/dist/Tree/Tree.d.ts +3 -15
- package/dist/Tree/TreeNode.d.ts +2 -14
- package/dist/Tree/index.js.js +7 -573
- package/dist/Tree/index.umd.cjs.js +1 -1
- package/dist/Tree.vue_vue_type_style_index_0_lang-BfqlnQLT.js +1 -0
- package/dist/Tree.vue_vue_type_style_index_0_lang-CjXY2DNC.js +574 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.js.js +102 -64
- package/dist/index.umd.cjs.js +1 -1
- package/dist/style/index.css +1 -1
- package/package.json +4 -4
- package/dist/Checkbox.vue_vue_type_style_index_0_lang-DsMbQaMY.js +0 -1
- package/dist/Checkbox.vue_vue_type_style_index_0_lang-GqiihInu.js +0 -218
- package/dist/Menu.vue_vue_type_style_index_0_lang-CSEBoubK.js +0 -1
- package/dist/Menu.vue_vue_type_style_index_0_lang-DvZS9q1c.js +0 -477
|
@@ -4,236 +4,10 @@ export type ActionButtonProps = Partial<Pick<BaseButtonProps, 'as' | 'class' | '
|
|
|
4
4
|
type?: Exclude<ButtonType, 'fill'>;
|
|
5
5
|
variant?: Exclude<ButtonVariant, 'float'>;
|
|
6
6
|
};
|
|
7
|
-
declare
|
|
8
|
-
attrs: Partial<{}>;
|
|
9
|
-
slots: Readonly<BaseButtonSlots> & BaseButtonSlots;
|
|
10
|
-
refs: {
|
|
11
|
-
buttonRef: ({
|
|
12
|
-
$: import('vue').ComponentInternalInstance;
|
|
13
|
-
$data: {};
|
|
14
|
-
$props: {
|
|
15
|
-
readonly class?: import('..').Class | undefined;
|
|
16
|
-
readonly text?: (string | number) | undefined;
|
|
17
|
-
readonly size?: import('../Base/BaseButton/BaseButton.model').ButtonSize | undefined;
|
|
18
|
-
readonly color?: import('../Base/BaseButton/BaseButton.model').ButtonColor | undefined;
|
|
19
|
-
readonly type?: ButtonType | undefined;
|
|
20
|
-
readonly variant?: ButtonVariant | undefined;
|
|
21
|
-
readonly loading?: boolean | undefined;
|
|
22
|
-
readonly action?: boolean | undefined;
|
|
23
|
-
readonly active?: boolean | undefined;
|
|
24
|
-
readonly badgeText?: string | undefined;
|
|
25
|
-
readonly badgeIcon?: string | undefined;
|
|
26
|
-
readonly icon?: string | undefined;
|
|
27
|
-
readonly preIcon?: string | undefined;
|
|
28
|
-
readonly postIcon?: string | undefined;
|
|
29
|
-
readonly as?: (import('radix-vue').AsTag | import('vue').Component) | undefined;
|
|
30
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
31
|
-
$attrs: {
|
|
32
|
-
[x: string]: unknown;
|
|
33
|
-
};
|
|
34
|
-
$refs: {
|
|
35
|
-
[x: string]: unknown;
|
|
36
|
-
} & {
|
|
37
|
-
buttonRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
38
|
-
asChild: {
|
|
39
|
-
type: BooleanConstructor;
|
|
40
|
-
default: boolean;
|
|
41
|
-
};
|
|
42
|
-
as: {
|
|
43
|
-
type: import('vue').PropType<import('radix-vue').AsTag | import('vue').Component>;
|
|
44
|
-
default: string;
|
|
45
|
-
};
|
|
46
|
-
}>>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
47
|
-
[key: string]: any;
|
|
48
|
-
}>, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
49
|
-
asChild: boolean;
|
|
50
|
-
as: import('radix-vue').AsTag | import('vue').Component;
|
|
51
|
-
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
52
|
-
P: {};
|
|
53
|
-
B: {};
|
|
54
|
-
D: {};
|
|
55
|
-
C: {};
|
|
56
|
-
M: {};
|
|
57
|
-
Defaults: {};
|
|
58
|
-
}, Readonly<import('vue').ExtractPropTypes<{
|
|
59
|
-
asChild: {
|
|
60
|
-
type: BooleanConstructor;
|
|
61
|
-
default: boolean;
|
|
62
|
-
};
|
|
63
|
-
as: {
|
|
64
|
-
type: import('vue').PropType<import('radix-vue').AsTag | import('vue').Component>;
|
|
65
|
-
default: string;
|
|
66
|
-
};
|
|
67
|
-
}>>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
68
|
-
[key: string]: any;
|
|
69
|
-
}>, {}, {}, {}, {
|
|
70
|
-
asChild: boolean;
|
|
71
|
-
as: import('radix-vue').AsTag | import('vue').Component;
|
|
72
|
-
}> | null;
|
|
73
|
-
};
|
|
74
|
-
$slots: Readonly<{
|
|
75
|
-
[name: string]: import('vue').Slot<any> | undefined;
|
|
76
|
-
}>;
|
|
77
|
-
$root: import('vue').ComponentPublicInstance | null;
|
|
78
|
-
$parent: import('vue').ComponentPublicInstance | null;
|
|
79
|
-
$host: Element | null;
|
|
80
|
-
$emit: (event: string, ...args: any[]) => void;
|
|
81
|
-
$el: any;
|
|
82
|
-
$options: import('vue').ComponentOptionsBase<Readonly<BaseButtonProps> & Readonly<{}>, {
|
|
83
|
-
focus(): void;
|
|
84
|
-
blur(): void;
|
|
85
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
86
|
-
type: ButtonType;
|
|
87
|
-
color: import('../Base/BaseButton/BaseButton.model').ButtonColor;
|
|
88
|
-
as: import('radix-vue').AsTag | import('vue').Component;
|
|
89
|
-
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
90
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
91
|
-
created?: (() => void) | (() => void)[];
|
|
92
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
93
|
-
mounted?: (() => void) | (() => void)[];
|
|
94
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
95
|
-
updated?: (() => void) | (() => void)[];
|
|
96
|
-
activated?: (() => void) | (() => void)[];
|
|
97
|
-
deactivated?: (() => void) | (() => void)[];
|
|
98
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
99
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
100
|
-
destroyed?: (() => void) | (() => void)[];
|
|
101
|
-
unmounted?: (() => void) | (() => void)[];
|
|
102
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
103
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
104
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
105
|
-
};
|
|
106
|
-
$forceUpdate: () => void;
|
|
107
|
-
$nextTick: typeof import('vue').nextTick;
|
|
108
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
109
|
-
} & Readonly<{
|
|
110
|
-
type: ButtonType;
|
|
111
|
-
color: import('../Base/BaseButton/BaseButton.model').ButtonColor;
|
|
112
|
-
as: import('radix-vue').AsTag | import('vue').Component;
|
|
113
|
-
}> & Omit<Readonly<BaseButtonProps> & Readonly<{}>, "focus" | "blur" | ("type" | "color" | "as")> & import('vue').ShallowUnwrapRef<{
|
|
114
|
-
focus(): void;
|
|
115
|
-
blur(): void;
|
|
116
|
-
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
117
|
-
$slots: Readonly<BaseButtonSlots> & BaseButtonSlots;
|
|
118
|
-
}) | null;
|
|
119
|
-
};
|
|
120
|
-
rootEl: any;
|
|
121
|
-
};
|
|
122
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
123
|
-
declare const __VLS_component: import('vue').DefineComponent<ActionButtonProps, {
|
|
7
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<ActionButtonProps, {
|
|
124
8
|
focus(): void;
|
|
125
9
|
blur(): void;
|
|
126
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ActionButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
127
|
-
buttonRef: ({
|
|
128
|
-
$: import('vue').ComponentInternalInstance;
|
|
129
|
-
$data: {};
|
|
130
|
-
$props: {
|
|
131
|
-
readonly class?: import('..').Class | undefined;
|
|
132
|
-
readonly text?: (string | number) | undefined;
|
|
133
|
-
readonly size?: import('../Base/BaseButton/BaseButton.model').ButtonSize | undefined;
|
|
134
|
-
readonly color?: import('../Base/BaseButton/BaseButton.model').ButtonColor | undefined;
|
|
135
|
-
readonly type?: ButtonType | undefined;
|
|
136
|
-
readonly variant?: ButtonVariant | undefined;
|
|
137
|
-
readonly loading?: boolean | undefined;
|
|
138
|
-
readonly action?: boolean | undefined;
|
|
139
|
-
readonly active?: boolean | undefined;
|
|
140
|
-
readonly badgeText?: string | undefined;
|
|
141
|
-
readonly badgeIcon?: string | undefined;
|
|
142
|
-
readonly icon?: string | undefined;
|
|
143
|
-
readonly preIcon?: string | undefined;
|
|
144
|
-
readonly postIcon?: string | undefined;
|
|
145
|
-
readonly as?: (import('radix-vue').AsTag | import('vue').Component) | undefined;
|
|
146
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
147
|
-
$attrs: {
|
|
148
|
-
[x: string]: unknown;
|
|
149
|
-
};
|
|
150
|
-
$refs: {
|
|
151
|
-
[x: string]: unknown;
|
|
152
|
-
} & {
|
|
153
|
-
buttonRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
154
|
-
asChild: {
|
|
155
|
-
type: BooleanConstructor;
|
|
156
|
-
default: boolean;
|
|
157
|
-
};
|
|
158
|
-
as: {
|
|
159
|
-
type: import('vue').PropType<import('radix-vue').AsTag | import('vue').Component>;
|
|
160
|
-
default: string;
|
|
161
|
-
};
|
|
162
|
-
}>>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
163
|
-
[key: string]: any;
|
|
164
|
-
}>, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
165
|
-
asChild: boolean;
|
|
166
|
-
as: import('radix-vue').AsTag | import('vue').Component;
|
|
167
|
-
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
168
|
-
P: {};
|
|
169
|
-
B: {};
|
|
170
|
-
D: {};
|
|
171
|
-
C: {};
|
|
172
|
-
M: {};
|
|
173
|
-
Defaults: {};
|
|
174
|
-
}, Readonly<import('vue').ExtractPropTypes<{
|
|
175
|
-
asChild: {
|
|
176
|
-
type: BooleanConstructor;
|
|
177
|
-
default: boolean;
|
|
178
|
-
};
|
|
179
|
-
as: {
|
|
180
|
-
type: import('vue').PropType<import('radix-vue').AsTag | import('vue').Component>;
|
|
181
|
-
default: string;
|
|
182
|
-
};
|
|
183
|
-
}>>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
184
|
-
[key: string]: any;
|
|
185
|
-
}>, {}, {}, {}, {
|
|
186
|
-
asChild: boolean;
|
|
187
|
-
as: import('radix-vue').AsTag | import('vue').Component;
|
|
188
|
-
}> | null;
|
|
189
|
-
};
|
|
190
|
-
$slots: Readonly<{
|
|
191
|
-
[name: string]: import('vue').Slot<any> | undefined;
|
|
192
|
-
}>;
|
|
193
|
-
$root: import('vue').ComponentPublicInstance | null;
|
|
194
|
-
$parent: import('vue').ComponentPublicInstance | null;
|
|
195
|
-
$host: Element | null;
|
|
196
|
-
$emit: (event: string, ...args: any[]) => void;
|
|
197
|
-
$el: any;
|
|
198
|
-
$options: import('vue').ComponentOptionsBase<Readonly<BaseButtonProps> & Readonly<{}>, {
|
|
199
|
-
focus(): void;
|
|
200
|
-
blur(): void;
|
|
201
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
202
|
-
type: ButtonType;
|
|
203
|
-
color: import('../Base/BaseButton/BaseButton.model').ButtonColor;
|
|
204
|
-
as: import('radix-vue').AsTag | import('vue').Component;
|
|
205
|
-
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
206
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
207
|
-
created?: (() => void) | (() => void)[];
|
|
208
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
209
|
-
mounted?: (() => void) | (() => void)[];
|
|
210
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
211
|
-
updated?: (() => void) | (() => void)[];
|
|
212
|
-
activated?: (() => void) | (() => void)[];
|
|
213
|
-
deactivated?: (() => void) | (() => void)[];
|
|
214
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
215
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
216
|
-
destroyed?: (() => void) | (() => void)[];
|
|
217
|
-
unmounted?: (() => void) | (() => void)[];
|
|
218
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
219
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
220
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
221
|
-
};
|
|
222
|
-
$forceUpdate: () => void;
|
|
223
|
-
$nextTick: typeof import('vue').nextTick;
|
|
224
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
225
|
-
} & Readonly<{
|
|
226
|
-
type: ButtonType;
|
|
227
|
-
color: import('../Base/BaseButton/BaseButton.model').ButtonColor;
|
|
228
|
-
as: import('radix-vue').AsTag | import('vue').Component;
|
|
229
|
-
}> & Omit<Readonly<BaseButtonProps> & Readonly<{}>, "focus" | "blur" | ("type" | "color" | "as")> & import('vue').ShallowUnwrapRef<{
|
|
230
|
-
focus(): void;
|
|
231
|
-
blur(): void;
|
|
232
|
-
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
233
|
-
$slots: Readonly<BaseButtonSlots> & BaseButtonSlots;
|
|
234
|
-
}) | null;
|
|
235
|
-
}, any>;
|
|
236
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
10
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ActionButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, Readonly<BaseButtonSlots> & BaseButtonSlots>;
|
|
237
11
|
export default _default;
|
|
238
12
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
239
13
|
new (): {
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { AvatarFallbackProps, AvatarImageProps, AvatarRootProps } from 'radix-vue';
|
|
2
|
+
import { Class } from '../types';
|
|
3
|
+
import { BadgeColor } from '../Base/BaseBadge/BaseBadge.model';
|
|
4
|
+
import { AvatarSize, AvatarStroke, AvatarShape, AvatarOnlineAlignment } from './Avatar.model';
|
|
5
|
+
type Avatar = AvatarRootProps & AvatarImageProps & AvatarFallbackProps;
|
|
6
|
+
export interface AvatarProps extends Omit<Avatar, 'asChild' | 'src'> {
|
|
7
|
+
src?: string;
|
|
8
|
+
class?: Class;
|
|
9
|
+
onlineColor?: BadgeColor;
|
|
10
|
+
size?: AvatarSize;
|
|
11
|
+
stroke?: AvatarStroke;
|
|
12
|
+
shape?: AvatarShape;
|
|
13
|
+
online?: boolean;
|
|
14
|
+
alt?: string;
|
|
15
|
+
fallback?: string;
|
|
16
|
+
text?: string;
|
|
17
|
+
icon?: string;
|
|
18
|
+
onlineAlignment?: AvatarOnlineAlignment;
|
|
19
|
+
}
|
|
20
|
+
export interface AvatarSlots {
|
|
21
|
+
default?: () => never;
|
|
22
|
+
fallback?: () => never;
|
|
23
|
+
}
|
|
24
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<AvatarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
25
|
+
loadingStatusChange: (value: import('../../../../node_modules/radix-vue/dist/Avatar/utils.js', { with: { "resolution-mode": "import" } }).ImageLoadingStatus) => any;
|
|
26
|
+
}, string, import('vue').PublicProps, Readonly<AvatarProps> & Readonly<{
|
|
27
|
+
onLoadingStatusChange?: ((value: import('../../../../node_modules/radix-vue/dist/Avatar/utils.js', { with: { "resolution-mode": "import" } }).ImageLoadingStatus) => any) | undefined;
|
|
28
|
+
}>, {
|
|
29
|
+
size: "2xsm" | "xsm" | "sm" | "md" | "lg" | "2xlg";
|
|
30
|
+
icon: string;
|
|
31
|
+
shape: "circle" | "rect" | "square";
|
|
32
|
+
src: string;
|
|
33
|
+
onlineColor: "primary" | "blue" | "red" | "orange" | "yellow" | "lime" | "violet" | "gray" | "teal" | "green" | "sky" | "cyan" | "pink" | "amber" | "fuchsia";
|
|
34
|
+
onlineAlignment: "start" | "end";
|
|
35
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, Readonly<AvatarSlots> & AvatarSlots>;
|
|
36
|
+
export default _default;
|
|
37
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
38
|
+
new (): {
|
|
39
|
+
$slots: S;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
@@ -19,7 +19,7 @@ interface Context {
|
|
|
19
19
|
}
|
|
20
20
|
export declare const injectAvatarGroupContext: <T extends Context | null | undefined = Context>(fallback?: T | undefined) => T extends null ? Context | null : Context, provideAvatarGroupContext: (contextValue: Context) => Context;
|
|
21
21
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<AvatarGroupProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<AvatarGroupProps> & Readonly<{}>, {
|
|
22
|
-
as: import('radix-vue').AsTag | import('vue').Component;
|
|
22
|
+
as: import('radix-vue', { with: { "resolution-mode": "import" } }).AsTag | import('vue').Component;
|
|
23
23
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, Readonly<AvatarGroupSlots> & AvatarGroupSlots>;
|
|
24
24
|
export default _default;
|
|
25
25
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
package/dist/Badge/Badge.d.ts
CHANGED
|
@@ -3,15 +3,7 @@ export type BadgeProps = Partial<Pick<BaseBadgeProps, 'as' | 'class' | 'text' |
|
|
|
3
3
|
size?: Exclude<BaseBadgeProps['size'], 'sm' | 'tiny' | 'tinier'>;
|
|
4
4
|
color?: Exclude<BaseBadgeProps['color'], 'none'>;
|
|
5
5
|
};
|
|
6
|
-
declare
|
|
7
|
-
attrs: Partial<{}>;
|
|
8
|
-
slots: Readonly<BaseBadgeSlots> & BaseBadgeSlots;
|
|
9
|
-
refs: {};
|
|
10
|
-
rootEl: any;
|
|
11
|
-
};
|
|
12
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
-
declare const __VLS_component: import('vue').DefineComponent<BadgeProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BadgeProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
14
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
6
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<BadgeProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BadgeProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, Readonly<BaseBadgeSlots> & BaseBadgeSlots>;
|
|
15
7
|
export default _default;
|
|
16
8
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
17
9
|
new (): {
|
|
@@ -18,21 +18,13 @@ export interface BaseBadgeSlots {
|
|
|
18
18
|
size: IconSize;
|
|
19
19
|
}) => never;
|
|
20
20
|
}
|
|
21
|
-
declare
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
declare const __VLS_component: import('vue').DefineComponent<BaseBadgeProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BaseBadgeProps> & Readonly<{}>, {
|
|
29
|
-
size: BadgeSize;
|
|
30
|
-
type: BadgeType;
|
|
31
|
-
mode: BadgeMode;
|
|
32
|
-
color: BadgeColor | "none";
|
|
33
|
-
as: import('radix-vue').AsTag | import('vue').Component;
|
|
34
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
35
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
21
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<BaseBadgeProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BaseBadgeProps> & Readonly<{}>, {
|
|
22
|
+
size: "2xsm" | "xsm" | "sm" | "md" | "tiny" | "tinier";
|
|
23
|
+
type: "rect" | "pill" | "minify";
|
|
24
|
+
mode: "bold" | "subtle";
|
|
25
|
+
color: "none" | "primary" | "blue" | "red" | "orange" | "yellow" | "lime" | "violet" | "gray" | "teal" | "green" | "sky" | "cyan" | "pink" | "amber" | "fuchsia";
|
|
26
|
+
as: import('radix-vue', { with: { "resolution-mode": "import" } }).AsTag | import('vue').Component;
|
|
27
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, Readonly<BaseBadgeSlots> & BaseBadgeSlots>;
|
|
36
28
|
export default _default;
|
|
37
29
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
38
30
|
new (): {
|
|
@@ -31,96 +31,14 @@ export interface BaseButtonSlots {
|
|
|
31
31
|
badgeIcon?: BaseBadgeSlots['icon'];
|
|
32
32
|
postIcon?: () => never;
|
|
33
33
|
}
|
|
34
|
-
declare
|
|
35
|
-
attrs: Partial<{}>;
|
|
36
|
-
slots: Readonly<BaseButtonSlots> & BaseButtonSlots;
|
|
37
|
-
refs: {
|
|
38
|
-
buttonRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
39
|
-
asChild: {
|
|
40
|
-
type: BooleanConstructor;
|
|
41
|
-
default: boolean;
|
|
42
|
-
};
|
|
43
|
-
as: {
|
|
44
|
-
type: import('vue').PropType<import('radix-vue').AsTag | import('vue').Component>;
|
|
45
|
-
default: string;
|
|
46
|
-
};
|
|
47
|
-
}>>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
48
|
-
[key: string]: any;
|
|
49
|
-
}>, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
50
|
-
asChild: boolean;
|
|
51
|
-
as: import('radix-vue').AsTag | import('vue').Component;
|
|
52
|
-
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
53
|
-
P: {};
|
|
54
|
-
B: {};
|
|
55
|
-
D: {};
|
|
56
|
-
C: {};
|
|
57
|
-
M: {};
|
|
58
|
-
Defaults: {};
|
|
59
|
-
}, Readonly<import('vue').ExtractPropTypes<{
|
|
60
|
-
asChild: {
|
|
61
|
-
type: BooleanConstructor;
|
|
62
|
-
default: boolean;
|
|
63
|
-
};
|
|
64
|
-
as: {
|
|
65
|
-
type: import('vue').PropType<import('radix-vue').AsTag | import('vue').Component>;
|
|
66
|
-
default: string;
|
|
67
|
-
};
|
|
68
|
-
}>>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
69
|
-
[key: string]: any;
|
|
70
|
-
}>, {}, {}, {}, {
|
|
71
|
-
asChild: boolean;
|
|
72
|
-
as: import('radix-vue').AsTag | import('vue').Component;
|
|
73
|
-
}> | null;
|
|
74
|
-
};
|
|
75
|
-
rootEl: any;
|
|
76
|
-
};
|
|
77
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
78
|
-
declare const __VLS_component: import('vue').DefineComponent<BaseButtonProps, {
|
|
34
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<BaseButtonProps, {
|
|
79
35
|
focus(): void;
|
|
80
36
|
blur(): void;
|
|
81
37
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BaseButtonProps> & Readonly<{}>, {
|
|
82
|
-
type:
|
|
83
|
-
color:
|
|
84
|
-
as: import('radix-vue').AsTag | import('vue').Component;
|
|
85
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
86
|
-
buttonRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
87
|
-
asChild: {
|
|
88
|
-
type: BooleanConstructor;
|
|
89
|
-
default: boolean;
|
|
90
|
-
};
|
|
91
|
-
as: {
|
|
92
|
-
type: import('vue').PropType<import('radix-vue').AsTag | import('vue').Component>;
|
|
93
|
-
default: string;
|
|
94
|
-
};
|
|
95
|
-
}>>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
96
|
-
[key: string]: any;
|
|
97
|
-
}>, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
98
|
-
asChild: boolean;
|
|
99
|
-
as: import('radix-vue').AsTag | import('vue').Component;
|
|
100
|
-
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
101
|
-
P: {};
|
|
102
|
-
B: {};
|
|
103
|
-
D: {};
|
|
104
|
-
C: {};
|
|
105
|
-
M: {};
|
|
106
|
-
Defaults: {};
|
|
107
|
-
}, Readonly<import('vue').ExtractPropTypes<{
|
|
108
|
-
asChild: {
|
|
109
|
-
type: BooleanConstructor;
|
|
110
|
-
default: boolean;
|
|
111
|
-
};
|
|
112
|
-
as: {
|
|
113
|
-
type: import('vue').PropType<import('radix-vue').AsTag | import('vue').Component>;
|
|
114
|
-
default: string;
|
|
115
|
-
};
|
|
116
|
-
}>>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
117
|
-
[key: string]: any;
|
|
118
|
-
}>, {}, {}, {}, {
|
|
119
|
-
asChild: boolean;
|
|
120
|
-
as: import('radix-vue').AsTag | import('vue').Component;
|
|
121
|
-
}> | null;
|
|
122
|
-
}, any>;
|
|
123
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
38
|
+
type: "fill" | "outline" | "ghost";
|
|
39
|
+
color: "primary" | "gray" | "danger" | "success" | "warning";
|
|
40
|
+
as: import('radix-vue', { with: { "resolution-mode": "import" } }).AsTag | import('vue').Component;
|
|
41
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, Readonly<BaseButtonSlots> & BaseButtonSlots>;
|
|
124
42
|
export default _default;
|
|
125
43
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
126
44
|
new (): {
|
package/dist/Base/Primitive.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ export declare const Primitive: import('vue').DefineComponent<import('vue').Extr
|
|
|
19
19
|
default: boolean;
|
|
20
20
|
};
|
|
21
21
|
as: {
|
|
22
|
-
type: PropType<
|
|
22
|
+
type: PropType<Component | AsTag>;
|
|
23
23
|
default: string;
|
|
24
24
|
};
|
|
25
25
|
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
@@ -30,7 +30,7 @@ export declare const Primitive: import('vue').DefineComponent<import('vue').Extr
|
|
|
30
30
|
default: boolean;
|
|
31
31
|
};
|
|
32
32
|
as: {
|
|
33
|
-
type: PropType<
|
|
33
|
+
type: PropType<Component | AsTag>;
|
|
34
34
|
default: string;
|
|
35
35
|
};
|
|
36
36
|
}>> & Readonly<{}>, {
|