@mantine-vue/core 2.0.0 → 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.
Files changed (115) hide show
  1. package/cjs/index.cjs +3615 -2207
  2. package/cjs/index.cjs.map +1 -1
  3. package/esm/index.mjs +3594 -2208
  4. package/esm/index.mjs.map +1 -1
  5. package/lib/components/Accordion/Accordion.d.ts +11 -11
  6. package/lib/components/Accordion/AccordionControl/AccordionControl.d.ts +15 -9
  7. package/lib/components/ActionIcon/ActionIcon.d.ts +1 -1
  8. package/lib/components/ActionIcon/ActionIconGroup/ActionIconGroup.d.ts +1 -1
  9. package/lib/components/Alert/Alert.d.ts +14 -8
  10. package/lib/components/AppShell/AppShell.d.ts +3 -3
  11. package/lib/components/Autocomplete/Autocomplete.d.ts +15 -3
  12. package/lib/components/Badge/Badge.d.ts +13 -10
  13. package/lib/components/Blockquote/Blockquote.d.ts +14 -8
  14. package/lib/components/Breadcrumbs/Breadcrumbs.d.ts +10 -5
  15. package/lib/components/Button/Button.d.ts +1 -1
  16. package/lib/components/Button/ButtonGroup/ButtonGroup.d.ts +1 -1
  17. package/lib/components/Card/Card.d.ts +3 -3
  18. package/lib/components/Checkbox/Checkbox.d.ts +44 -32
  19. package/lib/components/Checkbox/CheckboxGroup/CheckboxGroup.d.ts +18 -11
  20. package/lib/components/Checkbox/CheckboxIndicator/CheckboxIndicator.d.ts +9 -2
  21. package/lib/components/CloseButton/CloseButton.d.ts +10 -5
  22. package/lib/components/Collapse/Collapse.d.ts +1 -1
  23. package/lib/components/Combobox/Combobox.d.ts +4 -4
  24. package/lib/components/Combobox/OptionsDropdown/OptionsDropdown.d.ts +6 -2
  25. package/lib/components/ComboboxPopover/ComboboxPopover.d.ts +970 -0
  26. package/lib/components/ComboboxPopover/ComboboxPopover.types.d.ts +2 -0
  27. package/lib/components/ComboboxPopover/ComboboxPopoverTarget.d.ts +24 -0
  28. package/lib/components/ComboboxPopover/index.d.ts +5 -0
  29. package/lib/components/DataList/DataList.context.d.ts +4 -0
  30. package/lib/components/DataList/DataList.d.ts +304 -0
  31. package/lib/components/DataList/DataListItem/DataListItem.d.ts +44 -0
  32. package/lib/components/DataList/DataListItemLabel/DataListItemLabel.d.ts +44 -0
  33. package/lib/components/DataList/DataListItemValue/DataListItemValue.d.ts +44 -0
  34. package/lib/components/DataList/index.d.ts +10 -0
  35. package/lib/components/Dialog/Dialog.d.ts +1 -1
  36. package/lib/components/Divider/Divider.d.ts +11 -6
  37. package/lib/components/Drawer/Drawer.d.ts +14 -9
  38. package/lib/components/EmptyState/EmptyState.context.d.ts +5 -0
  39. package/lib/components/EmptyState/EmptyState.d.ts +401 -0
  40. package/lib/components/EmptyState/EmptyStateActions/EmptyStateActions.d.ts +44 -0
  41. package/lib/components/EmptyState/EmptyStateDescription/EmptyStateDescription.d.ts +44 -0
  42. package/lib/components/EmptyState/EmptyStateIndicator/EmptyStateIndicator.d.ts +44 -0
  43. package/lib/components/EmptyState/EmptyStateTitle/EmptyStateTitle.d.ts +55 -0
  44. package/lib/components/EmptyState/index.d.ts +12 -0
  45. package/lib/components/Fieldset/Fieldset.d.ts +10 -5
  46. package/lib/components/FileButton/FileButton.d.ts +1 -1
  47. package/lib/components/FileInput/FileInput.d.ts +27 -18
  48. package/lib/components/Highlight/Highlight.d.ts +1 -1
  49. package/lib/components/HoverCard/HoverCard.context.d.ts +1 -0
  50. package/lib/components/HoverCard/use-hover-card.d.ts +1 -0
  51. package/lib/components/Indicator/Indicator.d.ts +10 -5
  52. package/lib/components/Input/Input.d.ts +29 -25
  53. package/lib/components/Input/InputWrapper/InputWrapper.d.ts +18 -11
  54. package/lib/components/InputBase/InputBase.d.ts +22 -15
  55. package/lib/components/List/List.d.ts +21 -16
  56. package/lib/components/List/ListItem/ListItem.d.ts +10 -5
  57. package/lib/components/Marquee/Marquee.d.ts +1 -1
  58. package/lib/components/Menu/Menu.d.ts +69 -30
  59. package/lib/components/Menubar/Menubar.context.d.ts +51 -0
  60. package/lib/components/Menubar/Menubar.d.ts +282 -0
  61. package/lib/components/Menubar/MenubarDropdown/MenubarDropdown.d.ts +10 -0
  62. package/lib/components/Menubar/MenubarMenu/MenubarMenu.d.ts +49 -0
  63. package/lib/components/Menubar/MenubarTarget/MenubarTarget.d.ts +35 -0
  64. package/lib/components/Menubar/index.d.ts +10 -0
  65. package/lib/components/Modal/Modal.d.ts +14 -9
  66. package/lib/components/MultiSelect/MultiSelect.d.ts +16 -4
  67. package/lib/components/NativeSelect/NativeSelect.d.ts +25 -16
  68. package/lib/components/NavLink/NavLink.d.ts +15 -9
  69. package/lib/components/Notification/Notification.d.ts +14 -8
  70. package/lib/components/NumberInput/NumberInput.d.ts +22 -14
  71. package/lib/components/Overlay/Overlay.d.ts +1 -1
  72. package/lib/components/Pagination/Pagination.d.ts +5 -5
  73. package/lib/components/Pagination/PaginationDots/PaginationDots.d.ts +5 -2
  74. package/lib/components/Pagination/PaginationEdges/PaginationEdges.d.ts +8 -5
  75. package/lib/components/PasswordInput/PasswordInput.d.ts +26 -18
  76. package/lib/components/PillsInput/PillsInput.d.ts +30 -21
  77. package/lib/components/PinInput/PinInput.d.ts +2 -2
  78. package/lib/components/Progress/Progress.d.ts +4 -4
  79. package/lib/components/Progress/ProgressRoot/ProgressRoot.d.ts +1 -1
  80. package/lib/components/Radio/Radio.d.ts +42 -32
  81. package/lib/components/Radio/RadioGroup/RadioGroup.d.ts +18 -11
  82. package/lib/components/Radio/RadioIndicator/RadioIndicator.d.ts +8 -2
  83. package/lib/components/Rating/Rating.d.ts +17 -8
  84. package/lib/components/ScrollArea/ScrollAreaScrollbar/ScrollAreaScrollbarVisible.d.ts +1 -1
  85. package/lib/components/SegmentedControl/SegmentedControl.d.ts +1 -1
  86. package/lib/components/Select/Select.d.ts +17 -5
  87. package/lib/components/SemiCircleProgress/SemiCircleProgress.d.ts +10 -6
  88. package/lib/components/Skeleton/Skeleton.d.ts +2 -2
  89. package/lib/components/Slider/RangeSlider/RangeSlider.d.ts +13 -4
  90. package/lib/components/Slider/Slider/Slider.d.ts +10 -4
  91. package/lib/components/Slider/SliderRoot/SliderRoot.d.ts +1 -1
  92. package/lib/components/Slider/Thumb/Thumb.d.ts +1 -1
  93. package/lib/components/Splitter/Splitter.d.ts +3 -3
  94. package/lib/components/Spoiler/Spoiler.d.ts +18 -10
  95. package/lib/components/Stepper/Stepper.d.ts +22 -10
  96. package/lib/components/Stepper/StepperStep/StepperStep.d.ts +15 -5
  97. package/lib/components/Switch/Switch.d.ts +58 -49
  98. package/lib/components/Switch/SwitchGroup/SwitchGroup.d.ts +18 -11
  99. package/lib/components/Table/Table.d.ts +3 -3
  100. package/lib/components/Tabs/Tabs.d.ts +14 -14
  101. package/lib/components/Tabs/TabsTab/TabsTab.d.ts +13 -9
  102. package/lib/components/TagsInput/TagsInput.d.ts +15 -3
  103. package/lib/components/Text/Text.d.ts +1 -1
  104. package/lib/components/Textarea/Textarea.d.ts +1 -1
  105. package/lib/components/Timeline/Timeline.d.ts +8 -8
  106. package/lib/components/Timeline/TimelineItem/TimelineItem.d.ts +15 -9
  107. package/lib/components/TreeSelect/TreeSelect.d.ts +14 -5
  108. package/lib/components/index.d.ts +4 -0
  109. package/lib/core/Box/Box.d.ts +2 -2
  110. package/lib/core/index.d.ts +1 -0
  111. package/lib/core/renderable-node.d.ts +10 -0
  112. package/lib/core/utils/create-scoped-keydown-handler.d.ts +10 -0
  113. package/lib/core/utils/index.d.ts +1 -0
  114. package/lib/utils/InlineInput/InlineInput.d.ts +1 -1
  115. package/package.json +3 -3
@@ -0,0 +1,2 @@
1
+ import type { Primitive } from '../../core';
2
+ export type ComboboxPopoverValue<Multiple extends boolean, Value extends Primitive = string> = Multiple extends true ? Value[] : Value | null;
@@ -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,4 @@
1
+ export interface DataListContextValue {
2
+ getStyles: (selector: string, options?: Record<string, any>) => any;
3
+ }
4
+ export declare const provideDataListContext: (value: DataListContextValue) => void, useDataListContext: () => DataListContextValue;
@@ -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;
@@ -1,5 +1,10 @@
1
- import { type PropType } from 'vue';
1
+ import { type PropType, type SlotsType, type VNodeChild } from 'vue';
2
+ import { type MantineNode } from '../../core';
2
3
  export type DividerVariant = 'solid' | 'dashed' | 'dotted';
4
+ export interface DividerSlots {
5
+ default?: () => VNodeChild;
6
+ label?: () => VNodeChild;
7
+ }
3
8
  export declare const Divider: import("../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
9
  color: {
5
10
  type: StringConstructor;
@@ -7,7 +12,7 @@ export declare const Divider: import("../..").WithBoxProps<import("vue").DefineC
7
12
  };
8
13
  size: PropType<string | number>;
9
14
  label: {
10
- type: (ObjectConstructor | NumberConstructor | StringConstructor | FunctionConstructor)[];
15
+ type: PropType<MantineNode>;
11
16
  default: undefined;
12
17
  };
13
18
  labelPosition: {
@@ -47,7 +52,7 @@ export declare const Divider: import("../..").WithBoxProps<import("vue").DefineC
47
52
  };
48
53
  size: PropType<string | number>;
49
54
  label: {
50
- type: (ObjectConstructor | NumberConstructor | StringConstructor | FunctionConstructor)[];
55
+ type: PropType<MantineNode>;
51
56
  default: undefined;
52
57
  };
53
58
  labelPosition: {
@@ -79,13 +84,13 @@ export declare const Divider: import("../..").WithBoxProps<import("vue").DefineC
79
84
  default: boolean;
80
85
  };
81
86
  }>> & Readonly<{}>, {
87
+ label: MantineNode;
88
+ orientation: "vertical" | "horizontal";
82
89
  color: string;
83
90
  variant: DividerVariant;
84
- label: string | number | Function | Record<string, any>;
85
91
  classNames: Function | Record<string, any>;
86
92
  styles: Function | Record<string, any>;
87
- orientation: "horizontal" | "vertical";
88
93
  vars: Function | Record<string, any>;
89
94
  unstyled: boolean;
90
95
  labelPosition: "center" | "left" | "right";
91
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
96
+ }, SlotsType<DividerSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
@@ -1,6 +1,11 @@
1
- import { type PropType, type VNodeChild } from 'vue';
1
+ import { type PropType, type SlotsType, type VNodeChild } from 'vue';
2
+ import { type MantineNode } from '../../core';
2
3
  import { type ModalBaseProps } from '../ModalBase';
3
4
  export type DrawerPosition = 'top' | 'bottom' | 'left' | 'right';
5
+ export interface DrawerSlots {
6
+ default?: () => VNodeChild;
7
+ title?: () => VNodeChild;
8
+ }
4
9
  export interface DrawerProps extends ModalBaseProps {
5
10
  title?: VNodeChild | (() => VNodeChild);
6
11
  withOverlay?: boolean;
@@ -264,7 +269,7 @@ export declare const Drawer: {
264
269
  required: true;
265
270
  };
266
271
  title: {
267
- type: PropType<any>;
272
+ type: PropType<MantineNode>;
268
273
  default: undefined;
269
274
  };
270
275
  withOverlay: {
@@ -288,12 +293,12 @@ export declare const Drawer: {
288
293
  }>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
289
294
  [key: string]: any;
290
295
  }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
291
- title: any;
296
+ title: MantineNode;
292
297
  zIndex: string | number;
293
298
  withCloseButton: boolean;
294
299
  withOverlay: boolean;
295
300
  stackId: string;
296
- }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
301
+ }, true, {}, SlotsType<DrawerSlots>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
297
302
  P: {};
298
303
  B: {};
299
304
  D: {};
@@ -310,7 +315,7 @@ export declare const Drawer: {
310
315
  required: true;
311
316
  };
312
317
  title: {
313
- type: PropType<any>;
318
+ type: PropType<MantineNode>;
314
319
  default: undefined;
315
320
  };
316
321
  withOverlay: {
@@ -334,7 +339,7 @@ export declare const Drawer: {
334
339
  }>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
335
340
  [key: string]: any;
336
341
  }>, {}, {}, {}, {
337
- title: any;
342
+ title: MantineNode;
338
343
  zIndex: string | number;
339
344
  withCloseButton: boolean;
340
345
  withOverlay: boolean;
@@ -353,7 +358,7 @@ export declare const Drawer: {
353
358
  required: true;
354
359
  };
355
360
  title: {
356
- type: PropType<any>;
361
+ type: PropType<MantineNode>;
357
362
  default: undefined;
358
363
  };
359
364
  withOverlay: {
@@ -377,12 +382,12 @@ export declare const Drawer: {
377
382
  }>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
378
383
  [key: string]: any;
379
384
  }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
380
- title: any;
385
+ title: MantineNode;
381
386
  zIndex: string | number;
382
387
  withCloseButton: boolean;
383
388
  withOverlay: boolean;
384
389
  stackId: string;
385
- }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
390
+ }, {}, string, SlotsType<DrawerSlots>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
386
391
  classes: Record<string, string>;
387
392
  varsResolver: (theme: import("../..").MantineTheme, props: any, ctx: Record<string, any>) => Record<string, Record<string, string | undefined>>;
388
393
  Root: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
@@ -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;