@mantine-vue/core 2.0.1 → 2.1.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/cjs/index.cjs +2873 -1241
- package/cjs/index.cjs.map +1 -1
- package/esm/index.mjs +2854 -1242
- package/esm/index.mjs.map +1 -1
- package/lib/components/Accordion/Accordion.d.ts +4 -4
- package/lib/components/Accordion/AccordionControl/AccordionControl.d.ts +1 -1
- package/lib/components/ActionIcon/ActionIcon.d.ts +1 -1
- package/lib/components/ActionIcon/ActionIconGroup/ActionIconGroup.d.ts +1 -1
- package/lib/components/Alert/Alert.d.ts +1 -1
- package/lib/components/AppShell/AppShell.d.ts +3 -3
- package/lib/components/Autocomplete/Autocomplete.d.ts +1 -1
- package/lib/components/Badge/Badge.d.ts +1 -1
- package/lib/components/Blockquote/Blockquote.d.ts +1 -1
- package/lib/components/Button/Button.d.ts +1 -1
- package/lib/components/Button/ButtonGroup/ButtonGroup.d.ts +1 -1
- package/lib/components/Card/Card.d.ts +3 -3
- package/lib/components/Checkbox/Checkbox.d.ts +4 -4
- package/lib/components/Checkbox/CheckboxGroup/CheckboxGroup.d.ts +1 -1
- package/lib/components/Collapse/Collapse.d.ts +1 -1
- package/lib/components/Combobox/Combobox.d.ts +4 -4
- package/lib/components/ComboboxPopover/ComboboxPopover.d.ts +970 -0
- package/lib/components/ComboboxPopover/ComboboxPopover.types.d.ts +2 -0
- package/lib/components/ComboboxPopover/ComboboxPopoverTarget.d.ts +24 -0
- package/lib/components/ComboboxPopover/index.d.ts +5 -0
- package/lib/components/DataList/DataList.context.d.ts +4 -0
- package/lib/components/DataList/DataList.d.ts +304 -0
- package/lib/components/DataList/DataListItem/DataListItem.d.ts +44 -0
- package/lib/components/DataList/DataListItemLabel/DataListItemLabel.d.ts +44 -0
- package/lib/components/DataList/DataListItemValue/DataListItemValue.d.ts +44 -0
- package/lib/components/DataList/index.d.ts +10 -0
- package/lib/components/Dialog/Dialog.d.ts +1 -1
- package/lib/components/Divider/Divider.d.ts +2 -2
- package/lib/components/EmptyState/EmptyState.context.d.ts +5 -0
- package/lib/components/EmptyState/EmptyState.d.ts +401 -0
- package/lib/components/EmptyState/EmptyStateActions/EmptyStateActions.d.ts +44 -0
- package/lib/components/EmptyState/EmptyStateDescription/EmptyStateDescription.d.ts +44 -0
- package/lib/components/EmptyState/EmptyStateIndicator/EmptyStateIndicator.d.ts +44 -0
- package/lib/components/EmptyState/EmptyStateTitle/EmptyStateTitle.d.ts +55 -0
- package/lib/components/EmptyState/index.d.ts +12 -0
- package/lib/components/Fieldset/Fieldset.d.ts +1 -1
- package/lib/components/FileButton/FileButton.d.ts +1 -1
- package/lib/components/FileInput/FileInput.d.ts +2 -2
- package/lib/components/Highlight/Highlight.d.ts +1 -1
- package/lib/components/HoverCard/HoverCard.context.d.ts +1 -0
- package/lib/components/HoverCard/use-hover-card.d.ts +1 -0
- package/lib/components/Indicator/Indicator.d.ts +1 -1
- package/lib/components/Input/Input.d.ts +1 -1
- package/lib/components/Input/InputWrapper/InputWrapper.d.ts +1 -1
- package/lib/components/InputBase/InputBase.d.ts +2 -2
- package/lib/components/List/List.d.ts +3 -3
- package/lib/components/Marquee/Marquee.d.ts +1 -1
- package/lib/components/Menu/Menu.d.ts +3 -3
- package/lib/components/Menubar/Menubar.context.d.ts +51 -0
- package/lib/components/Menubar/Menubar.d.ts +282 -0
- package/lib/components/Menubar/MenubarDropdown/MenubarDropdown.d.ts +10 -0
- package/lib/components/Menubar/MenubarMenu/MenubarMenu.d.ts +49 -0
- package/lib/components/Menubar/MenubarTarget/MenubarTarget.d.ts +35 -0
- package/lib/components/Menubar/index.d.ts +10 -0
- package/lib/components/MultiSelect/MultiSelect.d.ts +2 -2
- package/lib/components/NativeSelect/NativeSelect.d.ts +3 -3
- package/lib/components/NavLink/NavLink.d.ts +1 -1
- package/lib/components/Notification/Notification.d.ts +1 -1
- package/lib/components/NumberInput/NumberInput.d.ts +1 -1
- package/lib/components/Overlay/Overlay.d.ts +1 -1
- package/lib/components/PasswordInput/PasswordInput.d.ts +2 -2
- package/lib/components/PillsInput/PillsInput.d.ts +3 -3
- package/lib/components/PinInput/PinInput.d.ts +2 -2
- package/lib/components/Progress/Progress.d.ts +4 -4
- package/lib/components/Progress/ProgressRoot/ProgressRoot.d.ts +1 -1
- package/lib/components/Radio/Radio.d.ts +4 -4
- package/lib/components/Radio/RadioGroup/RadioGroup.d.ts +1 -1
- package/lib/components/ScrollArea/ScrollAreaScrollbar/ScrollAreaScrollbarVisible.d.ts +1 -1
- package/lib/components/SegmentedControl/SegmentedControl.d.ts +1 -1
- package/lib/components/Select/Select.d.ts +3 -3
- package/lib/components/SemiCircleProgress/SemiCircleProgress.d.ts +1 -1
- package/lib/components/Skeleton/Skeleton.d.ts +2 -2
- package/lib/components/Slider/RangeSlider/RangeSlider.d.ts +2 -2
- package/lib/components/Slider/Slider/Slider.d.ts +2 -2
- package/lib/components/Slider/SliderRoot/SliderRoot.d.ts +1 -1
- package/lib/components/Slider/Thumb/Thumb.d.ts +1 -1
- package/lib/components/Splitter/Splitter.d.ts +3 -3
- package/lib/components/Stepper/Stepper.d.ts +6 -6
- package/lib/components/Stepper/StepperStep/StepperStep.d.ts +3 -3
- package/lib/components/Switch/Switch.d.ts +4 -4
- package/lib/components/Switch/SwitchGroup/SwitchGroup.d.ts +1 -1
- package/lib/components/Table/Table.d.ts +3 -3
- package/lib/components/Tabs/Tabs.d.ts +7 -7
- package/lib/components/Tabs/TabsTab/TabsTab.d.ts +1 -1
- package/lib/components/TagsInput/TagsInput.d.ts +1 -1
- package/lib/components/Text/Text.d.ts +1 -1
- package/lib/components/Textarea/Textarea.d.ts +1 -1
- package/lib/components/Timeline/Timeline.d.ts +2 -2
- package/lib/components/Timeline/TimelineItem/TimelineItem.d.ts +2 -2
- package/lib/components/TreeSelect/TreeSelect.d.ts +3 -3
- package/lib/components/index.d.ts +4 -0
- package/lib/core/Box/Box.d.ts +2 -2
- package/lib/core/utils/create-scoped-keydown-handler.d.ts +10 -0
- package/lib/core/utils/index.d.ts +1 -0
- package/lib/utils/InlineInput/InlineInput.d.ts +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1,401 @@
|
|
|
1
|
+
import { type PropType, type SlotsType, type VNode, type VNodeChild } from 'vue';
|
|
2
|
+
import { type MantineColor, type MantineNode, type MantineSize } from '../../core';
|
|
3
|
+
export type EmptyStateStylesNames = 'root' | 'body' | 'indicator' | 'title' | 'description' | 'actions';
|
|
4
|
+
export type EmptyStateVariant = 'filled' | 'light';
|
|
5
|
+
export type EmptyStateCssVariables = {
|
|
6
|
+
root: '--empty-state-indicator-size' | '--empty-state-gap' | '--empty-state-title-fz' | '--empty-state-description-fz' | '--empty-state-indicator-bg' | '--empty-state-indicator-color';
|
|
7
|
+
};
|
|
8
|
+
export interface EmptyStateProps {
|
|
9
|
+
/** Controls indicator size, gap between elements and font sizes of title and description @default 'md' */
|
|
10
|
+
size?: MantineSize | (string & {});
|
|
11
|
+
/** Content alignment. `center` stacks the content in a centered column, `left`/`right` place the indicator on the side with the content next to it @default 'center' */
|
|
12
|
+
align?: 'left' | 'center' | 'right';
|
|
13
|
+
/** Controls the indicator appearance. `filled` and `light` display a colored circular background behind the icon. If not set, the icon is displayed with dimmed color */
|
|
14
|
+
variant?: EmptyStateVariant | (string & {});
|
|
15
|
+
/** Key of `theme.colors` or any valid CSS color, used by `filled` and `light` variants @default theme.primaryColor */
|
|
16
|
+
color?: MantineColor;
|
|
17
|
+
/** Title content, rendered inside `EmptyState.Title`. Can also be provided via the `#title` slot */
|
|
18
|
+
title?: MantineNode;
|
|
19
|
+
/** Description content, rendered inside `EmptyState.Description`. Can also be provided via the `#description` slot */
|
|
20
|
+
description?: MantineNode;
|
|
21
|
+
/** Icon or illustration, rendered inside `EmptyState.Indicator`. Can also be provided via the `#icon` slot */
|
|
22
|
+
icon?: MantineNode;
|
|
23
|
+
/** If set, a neutral circular background is displayed behind the indicator. Setting `variant` always displays a colored background regardless of this prop @default false */
|
|
24
|
+
withIndicatorBackground?: boolean;
|
|
25
|
+
classNames?: any;
|
|
26
|
+
styles?: any;
|
|
27
|
+
vars?: any;
|
|
28
|
+
unstyled?: boolean;
|
|
29
|
+
mod?: any;
|
|
30
|
+
[key: string]: any;
|
|
31
|
+
}
|
|
32
|
+
export interface EmptyStateSlots {
|
|
33
|
+
default?: () => VNodeChild;
|
|
34
|
+
icon?: () => VNodeChild;
|
|
35
|
+
title?: () => VNodeChild;
|
|
36
|
+
description?: () => VNodeChild;
|
|
37
|
+
}
|
|
38
|
+
export declare const EmptyState: import("../..").WithBoxProps<{
|
|
39
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
40
|
+
size: {
|
|
41
|
+
type: PropType<MantineSize | (string & {})>;
|
|
42
|
+
default: undefined;
|
|
43
|
+
};
|
|
44
|
+
align: {
|
|
45
|
+
type: PropType<"left" | "center" | "right">;
|
|
46
|
+
default: undefined;
|
|
47
|
+
};
|
|
48
|
+
variant: {
|
|
49
|
+
type: PropType<EmptyStateVariant | (string & {})>;
|
|
50
|
+
default: undefined;
|
|
51
|
+
};
|
|
52
|
+
color: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
default: undefined;
|
|
55
|
+
};
|
|
56
|
+
title: {
|
|
57
|
+
type: PropType<MantineNode>;
|
|
58
|
+
default: undefined;
|
|
59
|
+
};
|
|
60
|
+
description: {
|
|
61
|
+
type: PropType<MantineNode>;
|
|
62
|
+
default: undefined;
|
|
63
|
+
};
|
|
64
|
+
icon: {
|
|
65
|
+
type: PropType<MantineNode>;
|
|
66
|
+
default: undefined;
|
|
67
|
+
};
|
|
68
|
+
withIndicatorBackground: {
|
|
69
|
+
type: BooleanConstructor;
|
|
70
|
+
default: undefined;
|
|
71
|
+
};
|
|
72
|
+
mod: {
|
|
73
|
+
type: PropType<any>;
|
|
74
|
+
default: undefined;
|
|
75
|
+
};
|
|
76
|
+
classNames: {
|
|
77
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
78
|
+
default: undefined;
|
|
79
|
+
};
|
|
80
|
+
styles: {
|
|
81
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
82
|
+
default: undefined;
|
|
83
|
+
};
|
|
84
|
+
vars: {
|
|
85
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
86
|
+
default: undefined;
|
|
87
|
+
};
|
|
88
|
+
unstyled: {
|
|
89
|
+
type: BooleanConstructor;
|
|
90
|
+
default: boolean;
|
|
91
|
+
};
|
|
92
|
+
}>> & Readonly<{}>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
93
|
+
[key: string]: any;
|
|
94
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
95
|
+
size: MantineSize | (string & {});
|
|
96
|
+
title: MantineNode;
|
|
97
|
+
color: string;
|
|
98
|
+
variant: (string & {}) | EmptyStateVariant;
|
|
99
|
+
classNames: Function | Record<string, any>;
|
|
100
|
+
styles: Function | Record<string, any>;
|
|
101
|
+
description: MantineNode;
|
|
102
|
+
mod: any;
|
|
103
|
+
icon: MantineNode;
|
|
104
|
+
vars: Function | Record<string, any>;
|
|
105
|
+
unstyled: boolean;
|
|
106
|
+
align: "center" | "left" | "right";
|
|
107
|
+
withIndicatorBackground: boolean;
|
|
108
|
+
}, true, {}, SlotsType<EmptyStateSlots>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
109
|
+
P: {};
|
|
110
|
+
B: {};
|
|
111
|
+
D: {};
|
|
112
|
+
C: {};
|
|
113
|
+
M: {};
|
|
114
|
+
Defaults: {};
|
|
115
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
116
|
+
size: {
|
|
117
|
+
type: PropType<MantineSize | (string & {})>;
|
|
118
|
+
default: undefined;
|
|
119
|
+
};
|
|
120
|
+
align: {
|
|
121
|
+
type: PropType<"left" | "center" | "right">;
|
|
122
|
+
default: undefined;
|
|
123
|
+
};
|
|
124
|
+
variant: {
|
|
125
|
+
type: PropType<EmptyStateVariant | (string & {})>;
|
|
126
|
+
default: undefined;
|
|
127
|
+
};
|
|
128
|
+
color: {
|
|
129
|
+
type: StringConstructor;
|
|
130
|
+
default: undefined;
|
|
131
|
+
};
|
|
132
|
+
title: {
|
|
133
|
+
type: PropType<MantineNode>;
|
|
134
|
+
default: undefined;
|
|
135
|
+
};
|
|
136
|
+
description: {
|
|
137
|
+
type: PropType<MantineNode>;
|
|
138
|
+
default: undefined;
|
|
139
|
+
};
|
|
140
|
+
icon: {
|
|
141
|
+
type: PropType<MantineNode>;
|
|
142
|
+
default: undefined;
|
|
143
|
+
};
|
|
144
|
+
withIndicatorBackground: {
|
|
145
|
+
type: BooleanConstructor;
|
|
146
|
+
default: undefined;
|
|
147
|
+
};
|
|
148
|
+
mod: {
|
|
149
|
+
type: PropType<any>;
|
|
150
|
+
default: undefined;
|
|
151
|
+
};
|
|
152
|
+
classNames: {
|
|
153
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
154
|
+
default: undefined;
|
|
155
|
+
};
|
|
156
|
+
styles: {
|
|
157
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
158
|
+
default: undefined;
|
|
159
|
+
};
|
|
160
|
+
vars: {
|
|
161
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
162
|
+
default: undefined;
|
|
163
|
+
};
|
|
164
|
+
unstyled: {
|
|
165
|
+
type: BooleanConstructor;
|
|
166
|
+
default: boolean;
|
|
167
|
+
};
|
|
168
|
+
}>> & Readonly<{}>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
169
|
+
[key: string]: any;
|
|
170
|
+
}>, {}, {}, {}, {
|
|
171
|
+
size: MantineSize | (string & {});
|
|
172
|
+
title: MantineNode;
|
|
173
|
+
color: string;
|
|
174
|
+
variant: (string & {}) | EmptyStateVariant;
|
|
175
|
+
classNames: Function | Record<string, any>;
|
|
176
|
+
styles: Function | Record<string, any>;
|
|
177
|
+
description: MantineNode;
|
|
178
|
+
mod: any;
|
|
179
|
+
icon: MantineNode;
|
|
180
|
+
vars: Function | Record<string, any>;
|
|
181
|
+
unstyled: boolean;
|
|
182
|
+
align: "center" | "left" | "right";
|
|
183
|
+
withIndicatorBackground: boolean;
|
|
184
|
+
}>;
|
|
185
|
+
__isFragment?: never;
|
|
186
|
+
__isTeleport?: never;
|
|
187
|
+
__isSuspense?: never;
|
|
188
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
189
|
+
size: {
|
|
190
|
+
type: PropType<MantineSize | (string & {})>;
|
|
191
|
+
default: undefined;
|
|
192
|
+
};
|
|
193
|
+
align: {
|
|
194
|
+
type: PropType<"left" | "center" | "right">;
|
|
195
|
+
default: undefined;
|
|
196
|
+
};
|
|
197
|
+
variant: {
|
|
198
|
+
type: PropType<EmptyStateVariant | (string & {})>;
|
|
199
|
+
default: undefined;
|
|
200
|
+
};
|
|
201
|
+
color: {
|
|
202
|
+
type: StringConstructor;
|
|
203
|
+
default: undefined;
|
|
204
|
+
};
|
|
205
|
+
title: {
|
|
206
|
+
type: PropType<MantineNode>;
|
|
207
|
+
default: undefined;
|
|
208
|
+
};
|
|
209
|
+
description: {
|
|
210
|
+
type: PropType<MantineNode>;
|
|
211
|
+
default: undefined;
|
|
212
|
+
};
|
|
213
|
+
icon: {
|
|
214
|
+
type: PropType<MantineNode>;
|
|
215
|
+
default: undefined;
|
|
216
|
+
};
|
|
217
|
+
withIndicatorBackground: {
|
|
218
|
+
type: BooleanConstructor;
|
|
219
|
+
default: undefined;
|
|
220
|
+
};
|
|
221
|
+
mod: {
|
|
222
|
+
type: PropType<any>;
|
|
223
|
+
default: undefined;
|
|
224
|
+
};
|
|
225
|
+
classNames: {
|
|
226
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
227
|
+
default: undefined;
|
|
228
|
+
};
|
|
229
|
+
styles: {
|
|
230
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
231
|
+
default: undefined;
|
|
232
|
+
};
|
|
233
|
+
vars: {
|
|
234
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
235
|
+
default: undefined;
|
|
236
|
+
};
|
|
237
|
+
unstyled: {
|
|
238
|
+
type: BooleanConstructor;
|
|
239
|
+
default: boolean;
|
|
240
|
+
};
|
|
241
|
+
}>> & Readonly<{}>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
242
|
+
[key: string]: any;
|
|
243
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
244
|
+
size: MantineSize | (string & {});
|
|
245
|
+
title: MantineNode;
|
|
246
|
+
color: string;
|
|
247
|
+
variant: (string & {}) | EmptyStateVariant;
|
|
248
|
+
classNames: Function | Record<string, any>;
|
|
249
|
+
styles: Function | Record<string, any>;
|
|
250
|
+
description: MantineNode;
|
|
251
|
+
mod: any;
|
|
252
|
+
icon: MantineNode;
|
|
253
|
+
vars: Function | Record<string, any>;
|
|
254
|
+
unstyled: boolean;
|
|
255
|
+
align: "center" | "left" | "right";
|
|
256
|
+
withIndicatorBackground: boolean;
|
|
257
|
+
}, {}, string, SlotsType<EmptyStateSlots>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
258
|
+
classes: Record<string, string>;
|
|
259
|
+
varsResolver: (theme: import("../..").MantineTheme, props: any, ctx: Record<string, any>) => Record<string, Record<string, string | undefined>>;
|
|
260
|
+
Indicator: import("../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
261
|
+
classNames: {
|
|
262
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
263
|
+
default: undefined;
|
|
264
|
+
};
|
|
265
|
+
styles: {
|
|
266
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
267
|
+
default: undefined;
|
|
268
|
+
};
|
|
269
|
+
mod: {
|
|
270
|
+
type: PropType<any>;
|
|
271
|
+
default: undefined;
|
|
272
|
+
};
|
|
273
|
+
}>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
274
|
+
[key: string]: any;
|
|
275
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
276
|
+
classNames: {
|
|
277
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
278
|
+
default: undefined;
|
|
279
|
+
};
|
|
280
|
+
styles: {
|
|
281
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
282
|
+
default: undefined;
|
|
283
|
+
};
|
|
284
|
+
mod: {
|
|
285
|
+
type: PropType<any>;
|
|
286
|
+
default: undefined;
|
|
287
|
+
};
|
|
288
|
+
}>> & Readonly<{}>, {
|
|
289
|
+
classNames: Function | Record<string, any>;
|
|
290
|
+
styles: Function | Record<string, any>;
|
|
291
|
+
mod: any;
|
|
292
|
+
}, SlotsType<import(".").EmptyStateIndicatorSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
293
|
+
Title: import("../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
294
|
+
order: {
|
|
295
|
+
type: PropType<1 | 2 | 3 | 4 | 5 | 6>;
|
|
296
|
+
default: undefined;
|
|
297
|
+
};
|
|
298
|
+
classNames: {
|
|
299
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
300
|
+
default: undefined;
|
|
301
|
+
};
|
|
302
|
+
styles: {
|
|
303
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
304
|
+
default: undefined;
|
|
305
|
+
};
|
|
306
|
+
mod: {
|
|
307
|
+
type: PropType<any>;
|
|
308
|
+
default: undefined;
|
|
309
|
+
};
|
|
310
|
+
}>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
311
|
+
[key: string]: any;
|
|
312
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
313
|
+
order: {
|
|
314
|
+
type: PropType<1 | 2 | 3 | 4 | 5 | 6>;
|
|
315
|
+
default: undefined;
|
|
316
|
+
};
|
|
317
|
+
classNames: {
|
|
318
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
319
|
+
default: undefined;
|
|
320
|
+
};
|
|
321
|
+
styles: {
|
|
322
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
323
|
+
default: undefined;
|
|
324
|
+
};
|
|
325
|
+
mod: {
|
|
326
|
+
type: PropType<any>;
|
|
327
|
+
default: undefined;
|
|
328
|
+
};
|
|
329
|
+
}>> & Readonly<{}>, {
|
|
330
|
+
classNames: Function | Record<string, any>;
|
|
331
|
+
styles: Function | Record<string, any>;
|
|
332
|
+
mod: any;
|
|
333
|
+
order: 1 | 3 | 2 | 4 | 5 | 6;
|
|
334
|
+
}, SlotsType<import(".").EmptyStateTitleSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
335
|
+
Description: import("../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
336
|
+
classNames: {
|
|
337
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
338
|
+
default: undefined;
|
|
339
|
+
};
|
|
340
|
+
styles: {
|
|
341
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
342
|
+
default: undefined;
|
|
343
|
+
};
|
|
344
|
+
mod: {
|
|
345
|
+
type: PropType<any>;
|
|
346
|
+
default: undefined;
|
|
347
|
+
};
|
|
348
|
+
}>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
349
|
+
[key: string]: any;
|
|
350
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
351
|
+
classNames: {
|
|
352
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
353
|
+
default: undefined;
|
|
354
|
+
};
|
|
355
|
+
styles: {
|
|
356
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
357
|
+
default: undefined;
|
|
358
|
+
};
|
|
359
|
+
mod: {
|
|
360
|
+
type: PropType<any>;
|
|
361
|
+
default: undefined;
|
|
362
|
+
};
|
|
363
|
+
}>> & Readonly<{}>, {
|
|
364
|
+
classNames: Function | Record<string, any>;
|
|
365
|
+
styles: Function | Record<string, any>;
|
|
366
|
+
mod: any;
|
|
367
|
+
}, SlotsType<import(".").EmptyStateDescriptionSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
368
|
+
Actions: import("../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
369
|
+
classNames: {
|
|
370
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
371
|
+
default: undefined;
|
|
372
|
+
};
|
|
373
|
+
styles: {
|
|
374
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
375
|
+
default: undefined;
|
|
376
|
+
};
|
|
377
|
+
mod: {
|
|
378
|
+
type: PropType<any>;
|
|
379
|
+
default: undefined;
|
|
380
|
+
};
|
|
381
|
+
}>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
382
|
+
[key: string]: any;
|
|
383
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
384
|
+
classNames: {
|
|
385
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
386
|
+
default: undefined;
|
|
387
|
+
};
|
|
388
|
+
styles: {
|
|
389
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
390
|
+
default: undefined;
|
|
391
|
+
};
|
|
392
|
+
mod: {
|
|
393
|
+
type: PropType<any>;
|
|
394
|
+
default: undefined;
|
|
395
|
+
};
|
|
396
|
+
}>> & Readonly<{}>, {
|
|
397
|
+
classNames: Function | Record<string, any>;
|
|
398
|
+
styles: Function | Record<string, any>;
|
|
399
|
+
mod: any;
|
|
400
|
+
}, SlotsType<import(".").EmptyStateActionsSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
401
|
+
}>;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { type PropType, type SlotsType, type VNodeChild } from 'vue';
|
|
2
|
+
export type EmptyStateActionsStylesNames = 'actions';
|
|
3
|
+
export interface EmptyStateActionsProps {
|
|
4
|
+
classNames?: any;
|
|
5
|
+
styles?: any;
|
|
6
|
+
mod?: any;
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
}
|
|
9
|
+
export interface EmptyStateActionsSlots {
|
|
10
|
+
default?: () => VNodeChild;
|
|
11
|
+
}
|
|
12
|
+
export declare const EmptyStateActions: import("../../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
13
|
+
classNames: {
|
|
14
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
15
|
+
default: undefined;
|
|
16
|
+
};
|
|
17
|
+
styles: {
|
|
18
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
19
|
+
default: undefined;
|
|
20
|
+
};
|
|
21
|
+
mod: {
|
|
22
|
+
type: PropType<any>;
|
|
23
|
+
default: undefined;
|
|
24
|
+
};
|
|
25
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
26
|
+
[key: string]: any;
|
|
27
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
28
|
+
classNames: {
|
|
29
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
30
|
+
default: undefined;
|
|
31
|
+
};
|
|
32
|
+
styles: {
|
|
33
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
34
|
+
default: undefined;
|
|
35
|
+
};
|
|
36
|
+
mod: {
|
|
37
|
+
type: PropType<any>;
|
|
38
|
+
default: undefined;
|
|
39
|
+
};
|
|
40
|
+
}>> & Readonly<{}>, {
|
|
41
|
+
classNames: Function | Record<string, any>;
|
|
42
|
+
styles: Function | Record<string, any>;
|
|
43
|
+
mod: any;
|
|
44
|
+
}, SlotsType<EmptyStateActionsSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { type PropType, type SlotsType, type VNodeChild } from 'vue';
|
|
2
|
+
export type EmptyStateDescriptionStylesNames = 'description';
|
|
3
|
+
export interface EmptyStateDescriptionProps {
|
|
4
|
+
classNames?: any;
|
|
5
|
+
styles?: any;
|
|
6
|
+
mod?: any;
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
}
|
|
9
|
+
export interface EmptyStateDescriptionSlots {
|
|
10
|
+
default?: () => VNodeChild;
|
|
11
|
+
}
|
|
12
|
+
export declare const EmptyStateDescription: import("../../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
13
|
+
classNames: {
|
|
14
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
15
|
+
default: undefined;
|
|
16
|
+
};
|
|
17
|
+
styles: {
|
|
18
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
19
|
+
default: undefined;
|
|
20
|
+
};
|
|
21
|
+
mod: {
|
|
22
|
+
type: PropType<any>;
|
|
23
|
+
default: undefined;
|
|
24
|
+
};
|
|
25
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
26
|
+
[key: string]: any;
|
|
27
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
28
|
+
classNames: {
|
|
29
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
30
|
+
default: undefined;
|
|
31
|
+
};
|
|
32
|
+
styles: {
|
|
33
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
34
|
+
default: undefined;
|
|
35
|
+
};
|
|
36
|
+
mod: {
|
|
37
|
+
type: PropType<any>;
|
|
38
|
+
default: undefined;
|
|
39
|
+
};
|
|
40
|
+
}>> & Readonly<{}>, {
|
|
41
|
+
classNames: Function | Record<string, any>;
|
|
42
|
+
styles: Function | Record<string, any>;
|
|
43
|
+
mod: any;
|
|
44
|
+
}, SlotsType<EmptyStateDescriptionSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { type PropType, type SlotsType, type VNodeChild } from 'vue';
|
|
2
|
+
export type EmptyStateIndicatorStylesNames = 'indicator';
|
|
3
|
+
export interface EmptyStateIndicatorProps {
|
|
4
|
+
classNames?: any;
|
|
5
|
+
styles?: any;
|
|
6
|
+
mod?: any;
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
}
|
|
9
|
+
export interface EmptyStateIndicatorSlots {
|
|
10
|
+
default?: () => VNodeChild;
|
|
11
|
+
}
|
|
12
|
+
export declare const EmptyStateIndicator: import("../../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
13
|
+
classNames: {
|
|
14
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
15
|
+
default: undefined;
|
|
16
|
+
};
|
|
17
|
+
styles: {
|
|
18
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
19
|
+
default: undefined;
|
|
20
|
+
};
|
|
21
|
+
mod: {
|
|
22
|
+
type: PropType<any>;
|
|
23
|
+
default: undefined;
|
|
24
|
+
};
|
|
25
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
26
|
+
[key: string]: any;
|
|
27
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
28
|
+
classNames: {
|
|
29
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
30
|
+
default: undefined;
|
|
31
|
+
};
|
|
32
|
+
styles: {
|
|
33
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
34
|
+
default: undefined;
|
|
35
|
+
};
|
|
36
|
+
mod: {
|
|
37
|
+
type: PropType<any>;
|
|
38
|
+
default: undefined;
|
|
39
|
+
};
|
|
40
|
+
}>> & Readonly<{}>, {
|
|
41
|
+
classNames: Function | Record<string, any>;
|
|
42
|
+
styles: Function | Record<string, any>;
|
|
43
|
+
mod: any;
|
|
44
|
+
}, SlotsType<EmptyStateIndicatorSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { type PropType, type SlotsType, type VNodeChild } from 'vue';
|
|
2
|
+
export type EmptyStateTitleStylesNames = 'title';
|
|
3
|
+
export interface EmptyStateTitleProps {
|
|
4
|
+
/** Heading order, renders the title as `h1`–`h6` element. By default, the title is rendered as a `div` without semantic heading level */
|
|
5
|
+
order?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
6
|
+
classNames?: any;
|
|
7
|
+
styles?: any;
|
|
8
|
+
mod?: any;
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
}
|
|
11
|
+
export interface EmptyStateTitleSlots {
|
|
12
|
+
default?: () => VNodeChild;
|
|
13
|
+
}
|
|
14
|
+
export declare const EmptyStateTitle: import("../../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
15
|
+
order: {
|
|
16
|
+
type: PropType<1 | 2 | 3 | 4 | 5 | 6>;
|
|
17
|
+
default: undefined;
|
|
18
|
+
};
|
|
19
|
+
classNames: {
|
|
20
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
21
|
+
default: undefined;
|
|
22
|
+
};
|
|
23
|
+
styles: {
|
|
24
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
25
|
+
default: undefined;
|
|
26
|
+
};
|
|
27
|
+
mod: {
|
|
28
|
+
type: PropType<any>;
|
|
29
|
+
default: undefined;
|
|
30
|
+
};
|
|
31
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
32
|
+
[key: string]: any;
|
|
33
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
34
|
+
order: {
|
|
35
|
+
type: PropType<1 | 2 | 3 | 4 | 5 | 6>;
|
|
36
|
+
default: undefined;
|
|
37
|
+
};
|
|
38
|
+
classNames: {
|
|
39
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
40
|
+
default: undefined;
|
|
41
|
+
};
|
|
42
|
+
styles: {
|
|
43
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
44
|
+
default: undefined;
|
|
45
|
+
};
|
|
46
|
+
mod: {
|
|
47
|
+
type: PropType<any>;
|
|
48
|
+
default: undefined;
|
|
49
|
+
};
|
|
50
|
+
}>> & Readonly<{}>, {
|
|
51
|
+
classNames: Function | Record<string, any>;
|
|
52
|
+
styles: Function | Record<string, any>;
|
|
53
|
+
mod: any;
|
|
54
|
+
order: 1 | 3 | 2 | 4 | 5 | 6;
|
|
55
|
+
}, SlotsType<EmptyStateTitleSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export { EmptyState } from './EmptyState';
|
|
2
|
+
export type { EmptyStateProps, EmptyStateSlots, EmptyStateStylesNames, EmptyStateCssVariables, EmptyStateVariant, } from './EmptyState';
|
|
3
|
+
export { EmptyStateIndicator } from './EmptyStateIndicator/EmptyStateIndicator';
|
|
4
|
+
export type { EmptyStateIndicatorProps, EmptyStateIndicatorSlots, EmptyStateIndicatorStylesNames, } from './EmptyStateIndicator/EmptyStateIndicator';
|
|
5
|
+
export { EmptyStateTitle } from './EmptyStateTitle/EmptyStateTitle';
|
|
6
|
+
export type { EmptyStateTitleProps, EmptyStateTitleSlots, EmptyStateTitleStylesNames, } from './EmptyStateTitle/EmptyStateTitle';
|
|
7
|
+
export { EmptyStateDescription } from './EmptyStateDescription/EmptyStateDescription';
|
|
8
|
+
export type { EmptyStateDescriptionProps, EmptyStateDescriptionSlots, EmptyStateDescriptionStylesNames, } from './EmptyStateDescription/EmptyStateDescription';
|
|
9
|
+
export { EmptyStateActions } from './EmptyStateActions/EmptyStateActions';
|
|
10
|
+
export type { EmptyStateActionsProps, EmptyStateActionsSlots, EmptyStateActionsStylesNames, } from './EmptyStateActions/EmptyStateActions';
|
|
11
|
+
export { useEmptyStateContext } from './EmptyState.context';
|
|
12
|
+
export type { EmptyStateContextValue } from './EmptyState.context';
|
|
@@ -67,9 +67,9 @@ export declare const Fieldset: import("../..").WithBoxProps<import("vue").Define
|
|
|
67
67
|
default: boolean;
|
|
68
68
|
};
|
|
69
69
|
}>> & Readonly<{}>, {
|
|
70
|
+
legend: MantineNode;
|
|
70
71
|
radius: string | number;
|
|
71
72
|
variant: FieldsetVariant;
|
|
72
|
-
legend: MantineNode;
|
|
73
73
|
classNames: Function | Record<string, any>;
|
|
74
74
|
styles: Function | Record<string, any>;
|
|
75
75
|
vars: Function | Record<string, any>;
|
|
@@ -250,11 +250,11 @@ export declare const FileInput: import("vue").DefineComponent<import("vue").Extr
|
|
|
250
250
|
};
|
|
251
251
|
}>> & Readonly<{}>, {
|
|
252
252
|
size: string | number;
|
|
253
|
+
form: string;
|
|
254
|
+
label: MantineNode;
|
|
253
255
|
name: string;
|
|
254
256
|
error: MantineNode;
|
|
255
257
|
onChange: (payload: File | File[] | null) => void;
|
|
256
|
-
form: string;
|
|
257
|
-
label: MantineNode;
|
|
258
258
|
value: File | File[] | null | undefined;
|
|
259
259
|
classNames: Function | Record<string, any>;
|
|
260
260
|
styles: Function | Record<string, any>;
|
|
@@ -104,8 +104,8 @@ export declare const Highlight: import("vue").DefineComponent<import("vue").Extr
|
|
|
104
104
|
default: undefined;
|
|
105
105
|
};
|
|
106
106
|
}>> & Readonly<{}>, {
|
|
107
|
-
color: string;
|
|
108
107
|
span: boolean;
|
|
108
|
+
color: string;
|
|
109
109
|
classNames: Function | Record<string, any>;
|
|
110
110
|
styles: Function | Record<string, any>;
|
|
111
111
|
component: string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export interface HoverCardContextValue {
|
|
2
2
|
openDropdown: () => void;
|
|
3
3
|
closeDropdown: () => void;
|
|
4
|
+
assignTarget: (node: HTMLElement | null) => void;
|
|
4
5
|
}
|
|
5
6
|
export declare const provideHoverCardContext: (value: HoverCardContextValue) => void, useHoverCardContext: () => HoverCardContextValue;
|
|
@@ -150,9 +150,9 @@ export declare const Indicator: import("../..").WithBoxProps<import("vue").Defin
|
|
|
150
150
|
default: boolean;
|
|
151
151
|
};
|
|
152
152
|
}>> & Readonly<{}>, {
|
|
153
|
+
label: MantineNode;
|
|
153
154
|
color: string;
|
|
154
155
|
autoContrast: boolean;
|
|
155
|
-
label: MantineNode;
|
|
156
156
|
classNames: Function | Record<string, any>;
|
|
157
157
|
styles: Function | Record<string, any>;
|
|
158
158
|
disabled: boolean;
|