@mantine-vue/carousel 2.4.0 → 3.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 +360 -431
- package/cjs/index.cjs.map +1 -1
- package/esm/index.mjs +359 -433
- package/esm/index.mjs.map +1 -1
- package/lib/components/Carousel/Carousel.types.d.ts +86 -0
- package/lib/components/Carousel/Carousel.vue.d.ts +19 -0
- package/lib/components/Carousel/index.d.ts +17 -0
- package/lib/components/CarouselSlide/CarouselSlide.types.d.ts +20 -0
- package/lib/components/CarouselSlide/CarouselSlide.vue.d.ts +16 -0
- package/lib/components/CarouselSlide/index.d.ts +10 -0
- package/lib/components/CarouselVariables/CarouselContainerVariables.vue.d.ts +4 -0
- package/lib/components/CarouselVariables/CarouselVariables.types.d.ts +9 -0
- package/lib/components/CarouselVariables/CarouselVariables.utils.d.ts +6 -0
- package/lib/components/CarouselVariables/CarouselVariables.vue.d.ts +4 -0
- package/lib/components/CarouselVariables/index.d.ts +3 -0
- package/lib/index.d.mts +4 -4
- package/lib/index.d.ts +4 -4
- package/package.json +3 -3
- package/lib/Carousel.d.ts +0 -66
- package/lib/CarouselSlide.d.ts +0 -169
- package/lib/CarouselVariables.d.ts +0 -67
package/lib/CarouselSlide.d.ts
DELETED
|
@@ -1,169 +0,0 @@
|
|
|
1
|
-
import { type PropType } from 'vue';
|
|
2
|
-
export type CarouselSlideStylesNames = 'slide';
|
|
3
|
-
export interface CarouselSlideProps {
|
|
4
|
-
classNames?: any;
|
|
5
|
-
styles?: any;
|
|
6
|
-
mod?: any;
|
|
7
|
-
}
|
|
8
|
-
export declare const CarouselSlide: {
|
|
9
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
10
|
-
classNames: {
|
|
11
|
-
type: (ObjectConstructor | FunctionConstructor)[];
|
|
12
|
-
default: undefined;
|
|
13
|
-
};
|
|
14
|
-
styles: {
|
|
15
|
-
type: (ObjectConstructor | FunctionConstructor)[];
|
|
16
|
-
default: undefined;
|
|
17
|
-
};
|
|
18
|
-
mod: {
|
|
19
|
-
type: PropType<any>;
|
|
20
|
-
default: undefined;
|
|
21
|
-
};
|
|
22
|
-
}>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
23
|
-
[key: string]: any;
|
|
24
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
25
|
-
classNames: Function | Record<string, any>;
|
|
26
|
-
styles: Function | Record<string, any>;
|
|
27
|
-
mod: any;
|
|
28
|
-
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
29
|
-
P: {};
|
|
30
|
-
B: {};
|
|
31
|
-
D: {};
|
|
32
|
-
C: {};
|
|
33
|
-
M: {};
|
|
34
|
-
Defaults: {};
|
|
35
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
|
36
|
-
classNames: {
|
|
37
|
-
type: (ObjectConstructor | FunctionConstructor)[];
|
|
38
|
-
default: undefined;
|
|
39
|
-
};
|
|
40
|
-
styles: {
|
|
41
|
-
type: (ObjectConstructor | FunctionConstructor)[];
|
|
42
|
-
default: undefined;
|
|
43
|
-
};
|
|
44
|
-
mod: {
|
|
45
|
-
type: PropType<any>;
|
|
46
|
-
default: undefined;
|
|
47
|
-
};
|
|
48
|
-
}>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
49
|
-
[key: string]: any;
|
|
50
|
-
}>, {}, {}, {}, {
|
|
51
|
-
classNames: Function | Record<string, any>;
|
|
52
|
-
styles: Function | Record<string, any>;
|
|
53
|
-
mod: any;
|
|
54
|
-
}>;
|
|
55
|
-
__isFragment?: never;
|
|
56
|
-
__isTeleport?: never;
|
|
57
|
-
__isSuspense?: never;
|
|
58
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
59
|
-
classNames: {
|
|
60
|
-
type: (ObjectConstructor | FunctionConstructor)[];
|
|
61
|
-
default: undefined;
|
|
62
|
-
};
|
|
63
|
-
styles: {
|
|
64
|
-
type: (ObjectConstructor | FunctionConstructor)[];
|
|
65
|
-
default: undefined;
|
|
66
|
-
};
|
|
67
|
-
mod: {
|
|
68
|
-
type: PropType<any>;
|
|
69
|
-
default: undefined;
|
|
70
|
-
};
|
|
71
|
-
}>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
72
|
-
[key: string]: any;
|
|
73
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
74
|
-
classNames: Function | Record<string, any>;
|
|
75
|
-
styles: Function | Record<string, any>;
|
|
76
|
-
mod: any;
|
|
77
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
78
|
-
$: import("vue").ComponentInternalInstance;
|
|
79
|
-
$data: {};
|
|
80
|
-
$props: Partial<{
|
|
81
|
-
classNames: Function | Record<string, any>;
|
|
82
|
-
styles: Function | Record<string, any>;
|
|
83
|
-
mod: any;
|
|
84
|
-
}> & Omit<{
|
|
85
|
-
readonly classNames?: Function | Record<string, any> | undefined;
|
|
86
|
-
readonly styles?: Function | Record<string, any> | undefined;
|
|
87
|
-
readonly mod?: any;
|
|
88
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "classNames" | "styles" | "mod">;
|
|
89
|
-
$attrs: import("vue").Attrs;
|
|
90
|
-
$refs: {
|
|
91
|
-
[x: string]: unknown;
|
|
92
|
-
};
|
|
93
|
-
$slots: Readonly<{
|
|
94
|
-
[name: string]: import("vue").Slot<any> | undefined;
|
|
95
|
-
}>;
|
|
96
|
-
$root: import("vue").ComponentPublicInstance | null;
|
|
97
|
-
$parent: import("vue").ComponentPublicInstance | null;
|
|
98
|
-
$host: Element | null;
|
|
99
|
-
$emit: (event: string, ...args: any[]) => void;
|
|
100
|
-
$el: any;
|
|
101
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
102
|
-
classNames: {
|
|
103
|
-
type: (ObjectConstructor | FunctionConstructor)[];
|
|
104
|
-
default: undefined;
|
|
105
|
-
};
|
|
106
|
-
styles: {
|
|
107
|
-
type: (ObjectConstructor | FunctionConstructor)[];
|
|
108
|
-
default: undefined;
|
|
109
|
-
};
|
|
110
|
-
mod: {
|
|
111
|
-
type: PropType<any>;
|
|
112
|
-
default: undefined;
|
|
113
|
-
};
|
|
114
|
-
}>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
115
|
-
[key: string]: any;
|
|
116
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
117
|
-
classNames: Function | Record<string, any>;
|
|
118
|
-
styles: Function | Record<string, any>;
|
|
119
|
-
mod: any;
|
|
120
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
121
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
122
|
-
created?: (() => void) | (() => void)[];
|
|
123
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
124
|
-
mounted?: (() => void) | (() => void)[];
|
|
125
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
126
|
-
updated?: (() => void) | (() => void)[];
|
|
127
|
-
activated?: (() => void) | (() => void)[];
|
|
128
|
-
deactivated?: (() => void) | (() => void)[];
|
|
129
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
130
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
131
|
-
destroyed?: (() => void) | (() => void)[];
|
|
132
|
-
unmounted?: (() => void) | (() => void)[];
|
|
133
|
-
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
134
|
-
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
135
|
-
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
136
|
-
};
|
|
137
|
-
$forceUpdate: () => void;
|
|
138
|
-
$nextTick: typeof import("vue").nextTick;
|
|
139
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
140
|
-
} & Readonly<{
|
|
141
|
-
classNames: Function | Record<string, any>;
|
|
142
|
-
styles: Function | Record<string, any>;
|
|
143
|
-
mod: any;
|
|
144
|
-
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
145
|
-
classNames: {
|
|
146
|
-
type: (ObjectConstructor | FunctionConstructor)[];
|
|
147
|
-
default: undefined;
|
|
148
|
-
};
|
|
149
|
-
styles: {
|
|
150
|
-
type: (ObjectConstructor | FunctionConstructor)[];
|
|
151
|
-
default: undefined;
|
|
152
|
-
};
|
|
153
|
-
mod: {
|
|
154
|
-
type: PropType<any>;
|
|
155
|
-
default: undefined;
|
|
156
|
-
};
|
|
157
|
-
}>> & Readonly<{}>, "classNames" | "styles" | "mod"> & {} & {} & import("vue").ComponentCustomProperties & {} & {
|
|
158
|
-
$props: Partial<{
|
|
159
|
-
classNames: Function | Record<string, any>;
|
|
160
|
-
styles: Function | Record<string, any>;
|
|
161
|
-
mod: any;
|
|
162
|
-
}> & Omit<{
|
|
163
|
-
readonly classNames?: Function | Record<string, any> | undefined;
|
|
164
|
-
readonly styles?: Function | Record<string, any> | undefined;
|
|
165
|
-
readonly mod?: any;
|
|
166
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "classNames" | "styles" | "mod"> & Omit<import("@mantine-vue/core").BoxProps, keyof import("vue").VNodeProps | keyof import("vue").AllowedComponentProps | ("classNames" | "styles" | "mod")>;
|
|
167
|
-
}) & {
|
|
168
|
-
classes: Record<string, string>;
|
|
169
|
-
};
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { type PropType } from 'vue';
|
|
2
|
-
type StyleProp<T> = T | Partial<Record<string, T>>;
|
|
3
|
-
export declare const CarouselVariables: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
-
selector: {
|
|
5
|
-
type: StringConstructor;
|
|
6
|
-
required: boolean;
|
|
7
|
-
};
|
|
8
|
-
slideSize: {
|
|
9
|
-
type: PropType<StyleProp<string | number>>;
|
|
10
|
-
default: undefined;
|
|
11
|
-
};
|
|
12
|
-
slideGap: {
|
|
13
|
-
type: PropType<StyleProp<string | number>>;
|
|
14
|
-
default: undefined;
|
|
15
|
-
};
|
|
16
|
-
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
17
|
-
[key: string]: any;
|
|
18
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
|
-
selector: {
|
|
20
|
-
type: StringConstructor;
|
|
21
|
-
required: boolean;
|
|
22
|
-
};
|
|
23
|
-
slideSize: {
|
|
24
|
-
type: PropType<StyleProp<string | number>>;
|
|
25
|
-
default: undefined;
|
|
26
|
-
};
|
|
27
|
-
slideGap: {
|
|
28
|
-
type: PropType<StyleProp<string | number>>;
|
|
29
|
-
default: undefined;
|
|
30
|
-
};
|
|
31
|
-
}>> & Readonly<{}>, {
|
|
32
|
-
slideSize: StyleProp<string | number>;
|
|
33
|
-
slideGap: StyleProp<string | number>;
|
|
34
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
35
|
-
export declare const CarouselContainerVariables: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
36
|
-
selector: {
|
|
37
|
-
type: StringConstructor;
|
|
38
|
-
required: boolean;
|
|
39
|
-
};
|
|
40
|
-
slideSize: {
|
|
41
|
-
type: PropType<StyleProp<string | number>>;
|
|
42
|
-
default: undefined;
|
|
43
|
-
};
|
|
44
|
-
slideGap: {
|
|
45
|
-
type: PropType<StyleProp<string | number>>;
|
|
46
|
-
default: undefined;
|
|
47
|
-
};
|
|
48
|
-
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
49
|
-
[key: string]: any;
|
|
50
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
51
|
-
selector: {
|
|
52
|
-
type: StringConstructor;
|
|
53
|
-
required: boolean;
|
|
54
|
-
};
|
|
55
|
-
slideSize: {
|
|
56
|
-
type: PropType<StyleProp<string | number>>;
|
|
57
|
-
default: undefined;
|
|
58
|
-
};
|
|
59
|
-
slideGap: {
|
|
60
|
-
type: PropType<StyleProp<string | number>>;
|
|
61
|
-
default: undefined;
|
|
62
|
-
};
|
|
63
|
-
}>> & Readonly<{}>, {
|
|
64
|
-
slideSize: StyleProp<string | number>;
|
|
65
|
-
slideGap: StyleProp<string | number>;
|
|
66
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
67
|
-
export {};
|