@bobbykim/manguito-theme 0.20.0 → 0.22.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/README.md +1 -0
- package/dist/core.cjs +2 -2
- package/dist/core.d.ts +156 -12
- package/dist/core.js +732 -630
- package/dist/mcl-theme.cjs +1 -1
- package/dist/mcl-theme.js +32 -25
- package/package.json +2 -2
package/dist/core.d.ts
CHANGED
|
@@ -4,12 +4,17 @@ import { Directive } from 'vue';
|
|
|
4
4
|
import { ExtractPropTypes } from 'vue';
|
|
5
5
|
import { PropType } from 'vue';
|
|
6
6
|
import { PublicProps } from 'vue';
|
|
7
|
+
import { Ref } from 'vue';
|
|
7
8
|
import { RendererElement } from 'vue';
|
|
8
9
|
import { RendererNode } from 'vue';
|
|
9
10
|
import { VNode } from 'vue';
|
|
10
11
|
|
|
11
12
|
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
13
|
|
|
14
|
+
declare type __VLS_NonUndefinedable_10<T> = T extends undefined ? never : T;
|
|
15
|
+
|
|
16
|
+
declare type __VLS_NonUndefinedable_11<T> = T extends undefined ? never : T;
|
|
17
|
+
|
|
13
18
|
declare type __VLS_NonUndefinedable_2<T> = T extends undefined ? never : T;
|
|
14
19
|
|
|
15
20
|
declare type __VLS_NonUndefinedable_3<T> = T extends undefined ? never : T;
|
|
@@ -30,6 +35,14 @@ declare type __VLS_Prettify<T> = {
|
|
|
30
35
|
[K in keyof T]: T[K];
|
|
31
36
|
} & {};
|
|
32
37
|
|
|
38
|
+
declare type __VLS_Prettify_10<T> = {
|
|
39
|
+
[K in keyof T]: T[K];
|
|
40
|
+
} & {};
|
|
41
|
+
|
|
42
|
+
declare type __VLS_Prettify_11<T> = {
|
|
43
|
+
[K in keyof T]: T[K];
|
|
44
|
+
} & {};
|
|
45
|
+
|
|
33
46
|
declare type __VLS_Prettify_2<T> = {
|
|
34
47
|
[K in keyof T]: T[K];
|
|
35
48
|
} & {};
|
|
@@ -71,6 +84,24 @@ declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
71
84
|
};
|
|
72
85
|
};
|
|
73
86
|
|
|
87
|
+
declare type __VLS_TypePropsToRuntimeProps_10<T> = {
|
|
88
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
89
|
+
type: PropType<__VLS_NonUndefinedable_10<T[K]>>;
|
|
90
|
+
} : {
|
|
91
|
+
type: PropType<T[K]>;
|
|
92
|
+
required: true;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
declare type __VLS_TypePropsToRuntimeProps_11<T> = {
|
|
97
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
98
|
+
type: PropType<__VLS_NonUndefinedable_11<T[K]>>;
|
|
99
|
+
} : {
|
|
100
|
+
type: PropType<T[K]>;
|
|
101
|
+
required: true;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
|
|
74
105
|
declare type __VLS_TypePropsToRuntimeProps_2<T> = {
|
|
75
106
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
76
107
|
type: PropType<__VLS_NonUndefinedable_2<T[K]>>;
|
|
@@ -149,6 +180,18 @@ declare type __VLS_WithDefaults<P, D> = {
|
|
|
149
180
|
}> : P[K];
|
|
150
181
|
};
|
|
151
182
|
|
|
183
|
+
declare type __VLS_WithDefaults_10<P, D> = {
|
|
184
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_10<P[K] & {
|
|
185
|
+
default: D[K];
|
|
186
|
+
}> : P[K];
|
|
187
|
+
};
|
|
188
|
+
|
|
189
|
+
declare type __VLS_WithDefaults_11<P, D> = {
|
|
190
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_11<P[K] & {
|
|
191
|
+
default: D[K];
|
|
192
|
+
}> : P[K];
|
|
193
|
+
};
|
|
194
|
+
|
|
152
195
|
declare type __VLS_WithDefaults_2<P, D> = {
|
|
153
196
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_2<P[K] & {
|
|
154
197
|
default: D[K];
|
|
@@ -209,6 +252,18 @@ declare type __VLS_WithTemplateSlots_10<T, S> = T & {
|
|
|
209
252
|
};
|
|
210
253
|
};
|
|
211
254
|
|
|
255
|
+
declare type __VLS_WithTemplateSlots_11<T, S> = T & {
|
|
256
|
+
new (): {
|
|
257
|
+
$slots: S;
|
|
258
|
+
};
|
|
259
|
+
};
|
|
260
|
+
|
|
261
|
+
declare type __VLS_WithTemplateSlots_12<T, S> = T & {
|
|
262
|
+
new (): {
|
|
263
|
+
$slots: S;
|
|
264
|
+
};
|
|
265
|
+
};
|
|
266
|
+
|
|
212
267
|
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
213
268
|
new (): {
|
|
214
269
|
$slots: S;
|
|
@@ -307,6 +362,95 @@ export declare type BodyText = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
|
307
362
|
|
|
308
363
|
export declare type ButtonSize = 'small' | 'medium' | 'large';
|
|
309
364
|
|
|
365
|
+
export declare const CarouselContainer: __VLS_WithTemplateSlots_11<DefineComponent<__VLS_WithDefaults_10<__VLS_TypePropsToRuntimeProps_10<{
|
|
366
|
+
bodyClass?: string | string[] | undefined;
|
|
367
|
+
contentContainerClass?: string | string[] | undefined;
|
|
368
|
+
controllerTopClass?: string | string[] | undefined;
|
|
369
|
+
controllerBottomClass?: string | string[] | undefined;
|
|
370
|
+
loop?: boolean | undefined;
|
|
371
|
+
}>, {
|
|
372
|
+
bodyClass: string;
|
|
373
|
+
contentContainerClass: string;
|
|
374
|
+
controllerTopClass: string;
|
|
375
|
+
controllerBottomClass: string;
|
|
376
|
+
loop: boolean;
|
|
377
|
+
}>, {
|
|
378
|
+
numberOfSlides: Ref<number>;
|
|
379
|
+
prev: () => void;
|
|
380
|
+
next: () => void;
|
|
381
|
+
setActive: (idx: number) => void;
|
|
382
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_10<__VLS_TypePropsToRuntimeProps_10<{
|
|
383
|
+
bodyClass?: string | string[] | undefined;
|
|
384
|
+
contentContainerClass?: string | string[] | undefined;
|
|
385
|
+
controllerTopClass?: string | string[] | undefined;
|
|
386
|
+
controllerBottomClass?: string | string[] | undefined;
|
|
387
|
+
loop?: boolean | undefined;
|
|
388
|
+
}>, {
|
|
389
|
+
bodyClass: string;
|
|
390
|
+
contentContainerClass: string;
|
|
391
|
+
controllerTopClass: string;
|
|
392
|
+
controllerBottomClass: string;
|
|
393
|
+
loop: boolean;
|
|
394
|
+
}>>>, {
|
|
395
|
+
bodyClass: string | string[];
|
|
396
|
+
contentContainerClass: string | string[];
|
|
397
|
+
controllerTopClass: string | string[];
|
|
398
|
+
controllerBottomClass: string | string[];
|
|
399
|
+
loop: boolean;
|
|
400
|
+
}, {}>, Readonly<{
|
|
401
|
+
content: any;
|
|
402
|
+
'controller-top'(props: {
|
|
403
|
+
next: () => void;
|
|
404
|
+
prev: () => void;
|
|
405
|
+
setActive: (arg: number) => void;
|
|
406
|
+
numberOfSlides: number;
|
|
407
|
+
activeSlide: number;
|
|
408
|
+
}): any;
|
|
409
|
+
'controller-bottom'(props: {
|
|
410
|
+
next: () => void;
|
|
411
|
+
prev: () => void;
|
|
412
|
+
setActive: (arg: number) => void;
|
|
413
|
+
numberOfSlides: number;
|
|
414
|
+
activeSlide: number;
|
|
415
|
+
}): any;
|
|
416
|
+
}> & {
|
|
417
|
+
content: any;
|
|
418
|
+
'controller-top'(props: {
|
|
419
|
+
next: () => void;
|
|
420
|
+
prev: () => void;
|
|
421
|
+
setActive: (arg: number) => void;
|
|
422
|
+
numberOfSlides: number;
|
|
423
|
+
activeSlide: number;
|
|
424
|
+
}): any;
|
|
425
|
+
'controller-bottom'(props: {
|
|
426
|
+
next: () => void;
|
|
427
|
+
prev: () => void;
|
|
428
|
+
setActive: (arg: number) => void;
|
|
429
|
+
numberOfSlides: number;
|
|
430
|
+
activeSlide: number;
|
|
431
|
+
}): any;
|
|
432
|
+
}>;
|
|
433
|
+
|
|
434
|
+
export declare const CarouselContent: __VLS_WithTemplateSlots_12<DefineComponent<__VLS_WithDefaults_11<__VLS_TypePropsToRuntimeProps_11<{
|
|
435
|
+
slideNumber: number;
|
|
436
|
+
id: string;
|
|
437
|
+
slideClass?: string | string[] | undefined;
|
|
438
|
+
}>, {
|
|
439
|
+
slideClass: string;
|
|
440
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_11<__VLS_TypePropsToRuntimeProps_11<{
|
|
441
|
+
slideNumber: number;
|
|
442
|
+
id: string;
|
|
443
|
+
slideClass?: string | string[] | undefined;
|
|
444
|
+
}>, {
|
|
445
|
+
slideClass: string;
|
|
446
|
+
}>>>, {
|
|
447
|
+
slideClass: string | string[];
|
|
448
|
+
}, {}>, Readonly<{
|
|
449
|
+
default: any;
|
|
450
|
+
}> & {
|
|
451
|
+
default: any;
|
|
452
|
+
}>;
|
|
453
|
+
|
|
310
454
|
declare type ClassType = (typeof allType)[number];
|
|
311
455
|
|
|
312
456
|
export declare const ClientSideRender: DefineComponent< {}, () => VNode<RendererNode, RendererElement, {
|
|
@@ -315,7 +459,7 @@ export declare const ClientSideRender: DefineComponent< {}, () => VNode<Rende
|
|
|
315
459
|
|
|
316
460
|
export declare const Collapse: __VLS_WithTemplateSlots_2<DefineComponent<__VLS_WithDefaults_2<__VLS_TypePropsToRuntimeProps_2<{
|
|
317
461
|
accordion?: string | undefined;
|
|
318
|
-
className?: string | undefined;
|
|
462
|
+
className?: string | string[] | undefined;
|
|
319
463
|
visible?: boolean | undefined;
|
|
320
464
|
}>, {
|
|
321
465
|
className: string;
|
|
@@ -329,7 +473,7 @@ open: (visible: boolean) => void;
|
|
|
329
473
|
close: (visible: boolean) => void;
|
|
330
474
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_2<__VLS_TypePropsToRuntimeProps_2<{
|
|
331
475
|
accordion?: string | undefined;
|
|
332
|
-
className?: string | undefined;
|
|
476
|
+
className?: string | string[] | undefined;
|
|
333
477
|
visible?: boolean | undefined;
|
|
334
478
|
}>, {
|
|
335
479
|
className: string;
|
|
@@ -339,7 +483,7 @@ onOpen?: ((visible: boolean) => any) | undefined;
|
|
|
339
483
|
onClose?: ((visible: boolean) => any) | undefined;
|
|
340
484
|
}, {
|
|
341
485
|
visible: boolean;
|
|
342
|
-
className: string;
|
|
486
|
+
className: string | string[];
|
|
343
487
|
}, {}>, Readonly<{
|
|
344
488
|
default: any;
|
|
345
489
|
}> & {
|
|
@@ -381,15 +525,15 @@ onToggle?: ((event: Event) => any) | undefined;
|
|
|
381
525
|
}>;
|
|
382
526
|
|
|
383
527
|
export declare const DropdownContent: __VLS_WithTemplateSlots_4<DefineComponent<__VLS_WithDefaults_3<__VLS_TypePropsToRuntimeProps_3<{
|
|
384
|
-
className?: string | undefined;
|
|
528
|
+
className?: string | string[] | undefined;
|
|
385
529
|
}>, {
|
|
386
530
|
className: string;
|
|
387
531
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_3<__VLS_TypePropsToRuntimeProps_3<{
|
|
388
|
-
className?: string | undefined;
|
|
532
|
+
className?: string | string[] | undefined;
|
|
389
533
|
}>, {
|
|
390
534
|
className: string;
|
|
391
535
|
}>>>, {
|
|
392
|
-
className: string;
|
|
536
|
+
className: string | string[];
|
|
393
537
|
}, {}>, Readonly<{
|
|
394
538
|
default(props: {
|
|
395
539
|
itemClick: () => void;
|
|
@@ -527,7 +671,7 @@ declare type IntRange<T extends number[], E extends number, R extends number = n
|
|
|
527
671
|
export declare const Modal: __VLS_WithTemplateSlots_7<DefineComponent<__VLS_WithDefaults_6<__VLS_TypePropsToRuntimeProps_6<{
|
|
528
672
|
title?: string | undefined;
|
|
529
673
|
titleColor?: ColorPalette | undefined;
|
|
530
|
-
className?: string | undefined;
|
|
674
|
+
className?: string | string[] | undefined;
|
|
531
675
|
visible?: boolean | undefined;
|
|
532
676
|
noBackdrop?: boolean | undefined;
|
|
533
677
|
noHeader?: boolean | undefined;
|
|
@@ -553,7 +697,7 @@ close: (visible: boolean) => void;
|
|
|
553
697
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_6<__VLS_TypePropsToRuntimeProps_6<{
|
|
554
698
|
title?: string | undefined;
|
|
555
699
|
titleColor?: ColorPalette | undefined;
|
|
556
|
-
className?: string | undefined;
|
|
700
|
+
className?: string | string[] | undefined;
|
|
557
701
|
visible?: boolean | undefined;
|
|
558
702
|
noBackdrop?: boolean | undefined;
|
|
559
703
|
noHeader?: boolean | undefined;
|
|
@@ -574,7 +718,7 @@ onOpen?: ((visible: boolean) => any) | undefined;
|
|
|
574
718
|
onClose?: ((visible: boolean) => any) | undefined;
|
|
575
719
|
}, {
|
|
576
720
|
visible: boolean;
|
|
577
|
-
className: string;
|
|
721
|
+
className: string | string[];
|
|
578
722
|
color: ColorPalette;
|
|
579
723
|
titleColor: ColorPalette;
|
|
580
724
|
noBackdrop: boolean;
|
|
@@ -619,7 +763,7 @@ declare type _RangeArray<T extends number, R extends unknown[] = []> = R['length
|
|
|
619
763
|
export declare const Sidebar: __VLS_WithTemplateSlots_8<DefineComponent<__VLS_WithDefaults_7<__VLS_TypePropsToRuntimeProps_7<{
|
|
620
764
|
title?: string | undefined;
|
|
621
765
|
titleColor?: ColorPalette | undefined;
|
|
622
|
-
className?: string | undefined;
|
|
766
|
+
className?: string | string[] | undefined;
|
|
623
767
|
visible?: boolean | undefined;
|
|
624
768
|
noBackdrop?: boolean | undefined;
|
|
625
769
|
noHeader?: boolean | undefined;
|
|
@@ -647,7 +791,7 @@ close: (visible: boolean) => void;
|
|
|
647
791
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_7<__VLS_TypePropsToRuntimeProps_7<{
|
|
648
792
|
title?: string | undefined;
|
|
649
793
|
titleColor?: ColorPalette | undefined;
|
|
650
|
-
className?: string | undefined;
|
|
794
|
+
className?: string | string[] | undefined;
|
|
651
795
|
visible?: boolean | undefined;
|
|
652
796
|
noBackdrop?: boolean | undefined;
|
|
653
797
|
noHeader?: boolean | undefined;
|
|
@@ -670,7 +814,7 @@ onOpen?: ((visible: boolean) => any) | undefined;
|
|
|
670
814
|
onClose?: ((visible: boolean) => any) | undefined;
|
|
671
815
|
}, {
|
|
672
816
|
visible: boolean;
|
|
673
|
-
className: string;
|
|
817
|
+
className: string | string[];
|
|
674
818
|
color: ColorPalette;
|
|
675
819
|
width: string | number;
|
|
676
820
|
titleColor: ColorPalette;
|