@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,24 @@
|
|
|
1
|
+
import { type SlotsType, type VNode, type VNodeChild } from 'vue';
|
|
2
|
+
export interface ComboboxPopoverTargetProps {
|
|
3
|
+
/** Key of the prop that is used to access element ref @default 'ref' */
|
|
4
|
+
refProp?: string;
|
|
5
|
+
[key: string]: any;
|
|
6
|
+
}
|
|
7
|
+
export interface ComboboxPopoverTargetSlots {
|
|
8
|
+
default?: () => VNodeChild;
|
|
9
|
+
}
|
|
10
|
+
export declare const ComboboxPopoverTarget: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
11
|
+
refProp: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
}>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
|
+
refProp: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
}>> & Readonly<{}>, {
|
|
23
|
+
refProp: string;
|
|
24
|
+
}, SlotsType<ComboboxPopoverTargetSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { ComboboxPopover } from './ComboboxPopover';
|
|
2
|
+
export type { ComboboxPopoverProps, ComboboxPopoverSlots, ComboboxPopoverStylesNames, } from './ComboboxPopover';
|
|
3
|
+
export { ComboboxPopoverTarget } from './ComboboxPopoverTarget';
|
|
4
|
+
export type { ComboboxPopoverTargetProps, ComboboxPopoverTargetSlots, } from './ComboboxPopoverTarget';
|
|
5
|
+
export type { ComboboxPopoverValue } from './ComboboxPopover.types';
|
|
@@ -0,0 +1,304 @@
|
|
|
1
|
+
import { type PropType, type SlotsType, type VNodeChild } from 'vue';
|
|
2
|
+
import { type MantineSize, type MantineSpacing } from '../../core';
|
|
3
|
+
export type DataListStylesNames = 'root' | 'item' | 'itemLabel' | 'itemValue';
|
|
4
|
+
export type DataListCssVariables = {
|
|
5
|
+
root: '--data-list-fz' | '--data-list-lh' | '--data-list-gap' | '--data-list-label-width';
|
|
6
|
+
};
|
|
7
|
+
export interface DataListProps {
|
|
8
|
+
/** Controls `font-size` and `line-height` @default 'sm' */
|
|
9
|
+
size?: MantineSize | (string & {});
|
|
10
|
+
/** Key of `theme.spacing` or any valid CSS value to set gap between items @default 'sm' */
|
|
11
|
+
gap?: MantineSpacing;
|
|
12
|
+
/** Controls arrangement of label and value within each item. `horizontal` renders label and value side by side, `vertical` stacks label on top of value @default 'horizontal' */
|
|
13
|
+
orientation?: 'horizontal' | 'vertical';
|
|
14
|
+
/** Adds border between items @default false */
|
|
15
|
+
withDivider?: boolean;
|
|
16
|
+
/** Controls min-width of the label (dt) element, any valid CSS value @default '120px' */
|
|
17
|
+
labelWidth?: string | number;
|
|
18
|
+
classNames?: any;
|
|
19
|
+
styles?: any;
|
|
20
|
+
vars?: any;
|
|
21
|
+
unstyled?: boolean;
|
|
22
|
+
mod?: any;
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
}
|
|
25
|
+
export interface DataListSlots {
|
|
26
|
+
default?: () => VNodeChild;
|
|
27
|
+
}
|
|
28
|
+
export declare const DataList: import("../..").WithBoxProps<{
|
|
29
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
30
|
+
size: {
|
|
31
|
+
type: PropType<MantineSize | (string & {})>;
|
|
32
|
+
default: undefined;
|
|
33
|
+
};
|
|
34
|
+
gap: {
|
|
35
|
+
type: PropType<MantineSpacing>;
|
|
36
|
+
default: undefined;
|
|
37
|
+
};
|
|
38
|
+
orientation: {
|
|
39
|
+
type: PropType<"horizontal" | "vertical">;
|
|
40
|
+
default: undefined;
|
|
41
|
+
};
|
|
42
|
+
withDivider: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: undefined;
|
|
45
|
+
};
|
|
46
|
+
labelWidth: {
|
|
47
|
+
type: PropType<string | number>;
|
|
48
|
+
default: undefined;
|
|
49
|
+
};
|
|
50
|
+
mod: {
|
|
51
|
+
type: PropType<any>;
|
|
52
|
+
default: undefined;
|
|
53
|
+
};
|
|
54
|
+
classNames: {
|
|
55
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
56
|
+
default: undefined;
|
|
57
|
+
};
|
|
58
|
+
styles: {
|
|
59
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
60
|
+
default: undefined;
|
|
61
|
+
};
|
|
62
|
+
vars: {
|
|
63
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
64
|
+
default: undefined;
|
|
65
|
+
};
|
|
66
|
+
unstyled: {
|
|
67
|
+
type: BooleanConstructor;
|
|
68
|
+
default: boolean;
|
|
69
|
+
};
|
|
70
|
+
}>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
71
|
+
[key: string]: any;
|
|
72
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
73
|
+
size: MantineSize | (string & {});
|
|
74
|
+
orientation: "vertical" | "horizontal";
|
|
75
|
+
classNames: Function | Record<string, any>;
|
|
76
|
+
styles: Function | Record<string, any>;
|
|
77
|
+
mod: any;
|
|
78
|
+
gap: MantineSpacing;
|
|
79
|
+
vars: Function | Record<string, any>;
|
|
80
|
+
unstyled: boolean;
|
|
81
|
+
withDivider: boolean;
|
|
82
|
+
labelWidth: string | number;
|
|
83
|
+
}, true, {}, SlotsType<DataListSlots>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
84
|
+
P: {};
|
|
85
|
+
B: {};
|
|
86
|
+
D: {};
|
|
87
|
+
C: {};
|
|
88
|
+
M: {};
|
|
89
|
+
Defaults: {};
|
|
90
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
91
|
+
size: {
|
|
92
|
+
type: PropType<MantineSize | (string & {})>;
|
|
93
|
+
default: undefined;
|
|
94
|
+
};
|
|
95
|
+
gap: {
|
|
96
|
+
type: PropType<MantineSpacing>;
|
|
97
|
+
default: undefined;
|
|
98
|
+
};
|
|
99
|
+
orientation: {
|
|
100
|
+
type: PropType<"horizontal" | "vertical">;
|
|
101
|
+
default: undefined;
|
|
102
|
+
};
|
|
103
|
+
withDivider: {
|
|
104
|
+
type: BooleanConstructor;
|
|
105
|
+
default: undefined;
|
|
106
|
+
};
|
|
107
|
+
labelWidth: {
|
|
108
|
+
type: PropType<string | number>;
|
|
109
|
+
default: undefined;
|
|
110
|
+
};
|
|
111
|
+
mod: {
|
|
112
|
+
type: PropType<any>;
|
|
113
|
+
default: undefined;
|
|
114
|
+
};
|
|
115
|
+
classNames: {
|
|
116
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
117
|
+
default: undefined;
|
|
118
|
+
};
|
|
119
|
+
styles: {
|
|
120
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
121
|
+
default: undefined;
|
|
122
|
+
};
|
|
123
|
+
vars: {
|
|
124
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
125
|
+
default: undefined;
|
|
126
|
+
};
|
|
127
|
+
unstyled: {
|
|
128
|
+
type: BooleanConstructor;
|
|
129
|
+
default: boolean;
|
|
130
|
+
};
|
|
131
|
+
}>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
132
|
+
[key: string]: any;
|
|
133
|
+
}>, {}, {}, {}, {
|
|
134
|
+
size: MantineSize | (string & {});
|
|
135
|
+
orientation: "vertical" | "horizontal";
|
|
136
|
+
classNames: Function | Record<string, any>;
|
|
137
|
+
styles: Function | Record<string, any>;
|
|
138
|
+
mod: any;
|
|
139
|
+
gap: MantineSpacing;
|
|
140
|
+
vars: Function | Record<string, any>;
|
|
141
|
+
unstyled: boolean;
|
|
142
|
+
withDivider: boolean;
|
|
143
|
+
labelWidth: string | number;
|
|
144
|
+
}>;
|
|
145
|
+
__isFragment?: never;
|
|
146
|
+
__isTeleport?: never;
|
|
147
|
+
__isSuspense?: never;
|
|
148
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
149
|
+
size: {
|
|
150
|
+
type: PropType<MantineSize | (string & {})>;
|
|
151
|
+
default: undefined;
|
|
152
|
+
};
|
|
153
|
+
gap: {
|
|
154
|
+
type: PropType<MantineSpacing>;
|
|
155
|
+
default: undefined;
|
|
156
|
+
};
|
|
157
|
+
orientation: {
|
|
158
|
+
type: PropType<"horizontal" | "vertical">;
|
|
159
|
+
default: undefined;
|
|
160
|
+
};
|
|
161
|
+
withDivider: {
|
|
162
|
+
type: BooleanConstructor;
|
|
163
|
+
default: undefined;
|
|
164
|
+
};
|
|
165
|
+
labelWidth: {
|
|
166
|
+
type: PropType<string | number>;
|
|
167
|
+
default: undefined;
|
|
168
|
+
};
|
|
169
|
+
mod: {
|
|
170
|
+
type: PropType<any>;
|
|
171
|
+
default: undefined;
|
|
172
|
+
};
|
|
173
|
+
classNames: {
|
|
174
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
175
|
+
default: undefined;
|
|
176
|
+
};
|
|
177
|
+
styles: {
|
|
178
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
179
|
+
default: undefined;
|
|
180
|
+
};
|
|
181
|
+
vars: {
|
|
182
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
183
|
+
default: undefined;
|
|
184
|
+
};
|
|
185
|
+
unstyled: {
|
|
186
|
+
type: BooleanConstructor;
|
|
187
|
+
default: boolean;
|
|
188
|
+
};
|
|
189
|
+
}>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
190
|
+
[key: string]: any;
|
|
191
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
192
|
+
size: MantineSize | (string & {});
|
|
193
|
+
orientation: "vertical" | "horizontal";
|
|
194
|
+
classNames: Function | Record<string, any>;
|
|
195
|
+
styles: Function | Record<string, any>;
|
|
196
|
+
mod: any;
|
|
197
|
+
gap: MantineSpacing;
|
|
198
|
+
vars: Function | Record<string, any>;
|
|
199
|
+
unstyled: boolean;
|
|
200
|
+
withDivider: boolean;
|
|
201
|
+
labelWidth: string | number;
|
|
202
|
+
}, {}, string, SlotsType<DataListSlots>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
203
|
+
classes: Record<string, string>;
|
|
204
|
+
varsResolver: (theme: import("../..").MantineTheme, props: any, ctx: Record<string, any>) => Record<string, Record<string, string | undefined>>;
|
|
205
|
+
Item: import("../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
206
|
+
classNames: {
|
|
207
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
208
|
+
default: undefined;
|
|
209
|
+
};
|
|
210
|
+
styles: {
|
|
211
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
212
|
+
default: undefined;
|
|
213
|
+
};
|
|
214
|
+
mod: {
|
|
215
|
+
type: PropType<any>;
|
|
216
|
+
default: undefined;
|
|
217
|
+
};
|
|
218
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
219
|
+
[key: string]: any;
|
|
220
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
221
|
+
classNames: {
|
|
222
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
223
|
+
default: undefined;
|
|
224
|
+
};
|
|
225
|
+
styles: {
|
|
226
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
227
|
+
default: undefined;
|
|
228
|
+
};
|
|
229
|
+
mod: {
|
|
230
|
+
type: PropType<any>;
|
|
231
|
+
default: undefined;
|
|
232
|
+
};
|
|
233
|
+
}>> & Readonly<{}>, {
|
|
234
|
+
classNames: Function | Record<string, any>;
|
|
235
|
+
styles: Function | Record<string, any>;
|
|
236
|
+
mod: any;
|
|
237
|
+
}, SlotsType<import(".").DataListItemSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
238
|
+
ItemLabel: import("../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
239
|
+
classNames: {
|
|
240
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
241
|
+
default: undefined;
|
|
242
|
+
};
|
|
243
|
+
styles: {
|
|
244
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
245
|
+
default: undefined;
|
|
246
|
+
};
|
|
247
|
+
mod: {
|
|
248
|
+
type: PropType<any>;
|
|
249
|
+
default: undefined;
|
|
250
|
+
};
|
|
251
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
252
|
+
[key: string]: any;
|
|
253
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
254
|
+
classNames: {
|
|
255
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
256
|
+
default: undefined;
|
|
257
|
+
};
|
|
258
|
+
styles: {
|
|
259
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
260
|
+
default: undefined;
|
|
261
|
+
};
|
|
262
|
+
mod: {
|
|
263
|
+
type: PropType<any>;
|
|
264
|
+
default: undefined;
|
|
265
|
+
};
|
|
266
|
+
}>> & Readonly<{}>, {
|
|
267
|
+
classNames: Function | Record<string, any>;
|
|
268
|
+
styles: Function | Record<string, any>;
|
|
269
|
+
mod: any;
|
|
270
|
+
}, SlotsType<import(".").DataListItemLabelSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
271
|
+
ItemValue: import("../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
272
|
+
classNames: {
|
|
273
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
274
|
+
default: undefined;
|
|
275
|
+
};
|
|
276
|
+
styles: {
|
|
277
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
278
|
+
default: undefined;
|
|
279
|
+
};
|
|
280
|
+
mod: {
|
|
281
|
+
type: PropType<any>;
|
|
282
|
+
default: undefined;
|
|
283
|
+
};
|
|
284
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
285
|
+
[key: string]: any;
|
|
286
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
287
|
+
classNames: {
|
|
288
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
289
|
+
default: undefined;
|
|
290
|
+
};
|
|
291
|
+
styles: {
|
|
292
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
293
|
+
default: undefined;
|
|
294
|
+
};
|
|
295
|
+
mod: {
|
|
296
|
+
type: PropType<any>;
|
|
297
|
+
default: undefined;
|
|
298
|
+
};
|
|
299
|
+
}>> & Readonly<{}>, {
|
|
300
|
+
classNames: Function | Record<string, any>;
|
|
301
|
+
styles: Function | Record<string, any>;
|
|
302
|
+
mod: any;
|
|
303
|
+
}, SlotsType<import(".").DataListItemValueSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
304
|
+
}>;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { type PropType, type SlotsType, type VNodeChild } from 'vue';
|
|
2
|
+
export type DataListItemStylesNames = 'item';
|
|
3
|
+
export interface DataListItemProps {
|
|
4
|
+
classNames?: any;
|
|
5
|
+
styles?: any;
|
|
6
|
+
mod?: any;
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
}
|
|
9
|
+
export interface DataListItemSlots {
|
|
10
|
+
default?: () => VNodeChild;
|
|
11
|
+
}
|
|
12
|
+
export declare const DataListItem: 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<DataListItemSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { type PropType, type SlotsType, type VNodeChild } from 'vue';
|
|
2
|
+
export type DataListItemLabelStylesNames = 'itemLabel';
|
|
3
|
+
export interface DataListItemLabelProps {
|
|
4
|
+
classNames?: any;
|
|
5
|
+
styles?: any;
|
|
6
|
+
mod?: any;
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
}
|
|
9
|
+
export interface DataListItemLabelSlots {
|
|
10
|
+
default?: () => VNodeChild;
|
|
11
|
+
}
|
|
12
|
+
export declare const DataListItemLabel: 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<DataListItemLabelSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { type PropType, type SlotsType, type VNodeChild } from 'vue';
|
|
2
|
+
export type DataListItemValueStylesNames = 'itemValue';
|
|
3
|
+
export interface DataListItemValueProps {
|
|
4
|
+
classNames?: any;
|
|
5
|
+
styles?: any;
|
|
6
|
+
mod?: any;
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
}
|
|
9
|
+
export interface DataListItemValueSlots {
|
|
10
|
+
default?: () => VNodeChild;
|
|
11
|
+
}
|
|
12
|
+
export declare const DataListItemValue: 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<DataListItemValueSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { DataList } from './DataList';
|
|
2
|
+
export type { DataListProps, DataListSlots, DataListStylesNames, DataListCssVariables, } from './DataList';
|
|
3
|
+
export { DataListItem } from './DataListItem/DataListItem';
|
|
4
|
+
export type { DataListItemProps, DataListItemSlots, DataListItemStylesNames, } from './DataListItem/DataListItem';
|
|
5
|
+
export { DataListItemLabel } from './DataListItemLabel/DataListItemLabel';
|
|
6
|
+
export type { DataListItemLabelProps, DataListItemLabelSlots, DataListItemLabelStylesNames, } from './DataListItemLabel/DataListItemLabel';
|
|
7
|
+
export { DataListItemValue } from './DataListItemValue/DataListItemValue';
|
|
8
|
+
export type { DataListItemValueProps, DataListItemValueSlots, DataListItemValueStylesNames, } from './DataListItemValue/DataListItemValue';
|
|
9
|
+
export { useDataListContext } from './DataList.context';
|
|
10
|
+
export type { DataListContextValue } from './DataList.context';
|
|
@@ -160,10 +160,10 @@ export declare const Dialog: import("vue").DefineComponent<import("vue").Extract
|
|
|
160
160
|
};
|
|
161
161
|
}>> & Readonly<{}>, {
|
|
162
162
|
size: string | number;
|
|
163
|
+
p: string | number;
|
|
163
164
|
radius: string | number;
|
|
164
165
|
shadow: string;
|
|
165
166
|
onClose: () => void;
|
|
166
|
-
p: string | number;
|
|
167
167
|
classNames: Function | Record<string, any>;
|
|
168
168
|
styles: Function | Record<string, any>;
|
|
169
169
|
position: AffixPosition;
|
|
@@ -84,12 +84,12 @@ export declare const Divider: import("../..").WithBoxProps<import("vue").DefineC
|
|
|
84
84
|
default: boolean;
|
|
85
85
|
};
|
|
86
86
|
}>> & Readonly<{}>, {
|
|
87
|
+
label: MantineNode;
|
|
88
|
+
orientation: "vertical" | "horizontal";
|
|
87
89
|
color: string;
|
|
88
90
|
variant: DividerVariant;
|
|
89
|
-
label: MantineNode;
|
|
90
91
|
classNames: Function | Record<string, any>;
|
|
91
92
|
styles: Function | Record<string, any>;
|
|
92
|
-
orientation: "horizontal" | "vertical";
|
|
93
93
|
vars: Function | Record<string, any>;
|
|
94
94
|
unstyled: boolean;
|
|
95
95
|
labelPosition: "center" | "left" | "right";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export interface EmptyStateContextValue {
|
|
2
|
+
getStyles: (selector: string, options?: Record<string, any>) => any;
|
|
3
|
+
withIndicatorBackground: boolean | undefined;
|
|
4
|
+
}
|
|
5
|
+
export declare const provideEmptyStateContext: (value: EmptyStateContextValue) => void, useEmptyStateContext: () => EmptyStateContextValue;
|