@bobbykim/manguito-theme 0.19.0 → 0.21.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/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;
@@ -22,10 +27,22 @@ declare type __VLS_NonUndefinedable_6<T> = T extends undefined ? never : T;
22
27
 
23
28
  declare type __VLS_NonUndefinedable_7<T> = T extends undefined ? never : T;
24
29
 
30
+ declare type __VLS_NonUndefinedable_8<T> = T extends undefined ? never : T;
31
+
32
+ declare type __VLS_NonUndefinedable_9<T> = T extends undefined ? never : T;
33
+
25
34
  declare type __VLS_Prettify<T> = {
26
35
  [K in keyof T]: T[K];
27
36
  } & {};
28
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
+
29
46
  declare type __VLS_Prettify_2<T> = {
30
47
  [K in keyof T]: T[K];
31
48
  } & {};
@@ -50,6 +67,14 @@ declare type __VLS_Prettify_7<T> = {
50
67
  [K in keyof T]: T[K];
51
68
  } & {};
52
69
 
70
+ declare type __VLS_Prettify_8<T> = {
71
+ [K in keyof T]: T[K];
72
+ } & {};
73
+
74
+ declare type __VLS_Prettify_9<T> = {
75
+ [K in keyof T]: T[K];
76
+ } & {};
77
+
53
78
  declare type __VLS_TypePropsToRuntimeProps<T> = {
54
79
  [K in keyof T]-?: {} extends Pick<T, K> ? {
55
80
  type: PropType<__VLS_NonUndefinedable<T[K]>>;
@@ -59,6 +84,24 @@ declare type __VLS_TypePropsToRuntimeProps<T> = {
59
84
  };
60
85
  };
61
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
+
62
105
  declare type __VLS_TypePropsToRuntimeProps_2<T> = {
63
106
  [K in keyof T]-?: {} extends Pick<T, K> ? {
64
107
  type: PropType<__VLS_NonUndefinedable_2<T[K]>>;
@@ -113,12 +156,42 @@ declare type __VLS_TypePropsToRuntimeProps_7<T> = {
113
156
  };
114
157
  };
115
158
 
159
+ declare type __VLS_TypePropsToRuntimeProps_8<T> = {
160
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
161
+ type: PropType<__VLS_NonUndefinedable_8<T[K]>>;
162
+ } : {
163
+ type: PropType<T[K]>;
164
+ required: true;
165
+ };
166
+ };
167
+
168
+ declare type __VLS_TypePropsToRuntimeProps_9<T> = {
169
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
170
+ type: PropType<__VLS_NonUndefinedable_9<T[K]>>;
171
+ } : {
172
+ type: PropType<T[K]>;
173
+ required: true;
174
+ };
175
+ };
176
+
116
177
  declare type __VLS_WithDefaults<P, D> = {
117
178
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
118
179
  default: D[K];
119
180
  }> : P[K];
120
181
  };
121
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
+
122
195
  declare type __VLS_WithDefaults_2<P, D> = {
123
196
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_2<P[K] & {
124
197
  default: D[K];
@@ -155,12 +228,42 @@ declare type __VLS_WithDefaults_7<P, D> = {
155
228
  }> : P[K];
156
229
  };
157
230
 
231
+ declare type __VLS_WithDefaults_8<P, D> = {
232
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_8<P[K] & {
233
+ default: D[K];
234
+ }> : P[K];
235
+ };
236
+
237
+ declare type __VLS_WithDefaults_9<P, D> = {
238
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_9<P[K] & {
239
+ default: D[K];
240
+ }> : P[K];
241
+ };
242
+
158
243
  declare type __VLS_WithTemplateSlots<T, S> = T & {
159
244
  new (): {
160
245
  $slots: S;
161
246
  };
162
247
  };
163
248
 
249
+ declare type __VLS_WithTemplateSlots_10<T, S> = T & {
250
+ new (): {
251
+ $slots: S;
252
+ };
253
+ };
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
+
164
267
  declare type __VLS_WithTemplateSlots_2<T, S> = T & {
165
268
  new (): {
166
269
  $slots: S;
@@ -203,6 +306,12 @@ declare type __VLS_WithTemplateSlots_8<T, S> = T & {
203
306
  };
204
307
  };
205
308
 
309
+ declare type __VLS_WithTemplateSlots_9<T, S> = T & {
310
+ new (): {
311
+ $slots: S;
312
+ };
313
+ };
314
+
206
315
  export declare const Alert: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
207
316
  color?: ColorPalette | undefined;
208
317
  rounded?: boolean | undefined;
@@ -253,6 +362,95 @@ export declare type BodyText = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
253
362
 
254
363
  export declare type ButtonSize = 'small' | 'medium' | 'large';
255
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
+
256
454
  declare type ClassType = (typeof allType)[number];
257
455
 
258
456
  export declare const ClientSideRender: DefineComponent< {}, () => VNode<RendererNode, RendererElement, {
@@ -261,7 +459,7 @@ export declare const ClientSideRender: DefineComponent< {}, () => VNode<Rende
261
459
 
262
460
  export declare const Collapse: __VLS_WithTemplateSlots_2<DefineComponent<__VLS_WithDefaults_2<__VLS_TypePropsToRuntimeProps_2<{
263
461
  accordion?: string | undefined;
264
- className?: string | undefined;
462
+ className?: string | string[] | undefined;
265
463
  visible?: boolean | undefined;
266
464
  }>, {
267
465
  className: string;
@@ -275,7 +473,7 @@ open: (visible: boolean) => void;
275
473
  close: (visible: boolean) => void;
276
474
  }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_2<__VLS_TypePropsToRuntimeProps_2<{
277
475
  accordion?: string | undefined;
278
- className?: string | undefined;
476
+ className?: string | string[] | undefined;
279
477
  visible?: boolean | undefined;
280
478
  }>, {
281
479
  className: string;
@@ -285,7 +483,7 @@ onOpen?: ((visible: boolean) => any) | undefined;
285
483
  onClose?: ((visible: boolean) => any) | undefined;
286
484
  }, {
287
485
  visible: boolean;
288
- className: string;
486
+ className: string | string[];
289
487
  }, {}>, Readonly<{
290
488
  default: any;
291
489
  }> & {
@@ -314,22 +512,28 @@ onToggle?: ((event: Event) => any) | undefined;
314
512
  "onClick-outside"?: ((event: Event) => any) | undefined;
315
513
  }, {}, {}>, Readonly<{
316
514
  default: any;
317
- toggler: any;
515
+ toggler(props: {
516
+ dropdownState: boolean;
517
+ toggle: (arg: Event) => void;
518
+ }): any;
318
519
  }> & {
319
520
  default: any;
320
- toggler: any;
521
+ toggler(props: {
522
+ dropdownState: boolean;
523
+ toggle: (arg: Event) => void;
524
+ }): any;
321
525
  }>;
322
526
 
323
527
  export declare const DropdownContent: __VLS_WithTemplateSlots_4<DefineComponent<__VLS_WithDefaults_3<__VLS_TypePropsToRuntimeProps_3<{
324
- className?: string | undefined;
528
+ className?: string | string[] | undefined;
325
529
  }>, {
326
530
  className: string;
327
531
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_3<__VLS_TypePropsToRuntimeProps_3<{
328
- className?: string | undefined;
532
+ className?: string | string[] | undefined;
329
533
  }>, {
330
534
  className: string;
331
535
  }>>>, {
332
- className: string;
536
+ className: string | string[];
333
537
  }, {}>, Readonly<{
334
538
  default(props: {
335
539
  itemClick: () => void;
@@ -467,7 +671,7 @@ declare type IntRange<T extends number[], E extends number, R extends number = n
467
671
  export declare const Modal: __VLS_WithTemplateSlots_7<DefineComponent<__VLS_WithDefaults_6<__VLS_TypePropsToRuntimeProps_6<{
468
672
  title?: string | undefined;
469
673
  titleColor?: ColorPalette | undefined;
470
- className?: string | undefined;
674
+ className?: string | string[] | undefined;
471
675
  visible?: boolean | undefined;
472
676
  noBackdrop?: boolean | undefined;
473
677
  noHeader?: boolean | undefined;
@@ -493,7 +697,7 @@ close: (visible: boolean) => void;
493
697
  }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_6<__VLS_TypePropsToRuntimeProps_6<{
494
698
  title?: string | undefined;
495
699
  titleColor?: ColorPalette | undefined;
496
- className?: string | undefined;
700
+ className?: string | string[] | undefined;
497
701
  visible?: boolean | undefined;
498
702
  noBackdrop?: boolean | undefined;
499
703
  noHeader?: boolean | undefined;
@@ -514,7 +718,7 @@ onOpen?: ((visible: boolean) => any) | undefined;
514
718
  onClose?: ((visible: boolean) => any) | undefined;
515
719
  }, {
516
720
  visible: boolean;
517
- className: string;
721
+ className: string | string[];
518
722
  color: ColorPalette;
519
723
  titleColor: ColorPalette;
520
724
  noBackdrop: boolean;
@@ -559,7 +763,7 @@ declare type _RangeArray<T extends number, R extends unknown[] = []> = R['length
559
763
  export declare const Sidebar: __VLS_WithTemplateSlots_8<DefineComponent<__VLS_WithDefaults_7<__VLS_TypePropsToRuntimeProps_7<{
560
764
  title?: string | undefined;
561
765
  titleColor?: ColorPalette | undefined;
562
- className?: string | undefined;
766
+ className?: string | string[] | undefined;
563
767
  visible?: boolean | undefined;
564
768
  noBackdrop?: boolean | undefined;
565
769
  noHeader?: boolean | undefined;
@@ -587,7 +791,7 @@ close: (visible: boolean) => void;
587
791
  }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_7<__VLS_TypePropsToRuntimeProps_7<{
588
792
  title?: string | undefined;
589
793
  titleColor?: ColorPalette | undefined;
590
- className?: string | undefined;
794
+ className?: string | string[] | undefined;
591
795
  visible?: boolean | undefined;
592
796
  noBackdrop?: boolean | undefined;
593
797
  noHeader?: boolean | undefined;
@@ -610,7 +814,7 @@ onOpen?: ((visible: boolean) => any) | undefined;
610
814
  onClose?: ((visible: boolean) => any) | undefined;
611
815
  }, {
612
816
  visible: boolean;
613
- className: string;
817
+ className: string | string[];
614
818
  color: ColorPalette;
615
819
  width: string | number;
616
820
  titleColor: ColorPalette;
@@ -648,6 +852,60 @@ placement: DirectionX;
648
852
 
649
853
  export declare type SpacingLevel = '0' | '3xs' | '2xs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';
650
854
 
855
+ export declare const TabContainer: __VLS_WithTemplateSlots_9<DefineComponent<__VLS_WithDefaults_8<__VLS_TypePropsToRuntimeProps_8<{
856
+ bodyClass?: string | string[] | undefined;
857
+ btnContainerClass?: string | string[] | undefined;
858
+ contentContainerClass?: string | string[] | undefined;
859
+ }>, {
860
+ bodyClass: string;
861
+ btnContainerClass: string;
862
+ contentContainerClass: string;
863
+ }>, {
864
+ update: (arg: number) => void;
865
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_8<__VLS_TypePropsToRuntimeProps_8<{
866
+ bodyClass?: string | string[] | undefined;
867
+ btnContainerClass?: string | string[] | undefined;
868
+ contentContainerClass?: string | string[] | undefined;
869
+ }>, {
870
+ bodyClass: string;
871
+ btnContainerClass: string;
872
+ contentContainerClass: string;
873
+ }>>>, {
874
+ bodyClass: string | string[];
875
+ btnContainerClass: string | string[];
876
+ contentContainerClass: string | string[];
877
+ }, {}>, Readonly<{
878
+ 'tab-button'(props: {
879
+ update: (num: number) => void;
880
+ activeTab: number;
881
+ }): any;
882
+ 'tab-content': any;
883
+ }> & {
884
+ 'tab-button'(props: {
885
+ update: (num: number) => void;
886
+ activeTab: number;
887
+ }): any;
888
+ 'tab-content': any;
889
+ }>;
890
+
891
+ export declare const TabContent: __VLS_WithTemplateSlots_10<DefineComponent<__VLS_WithDefaults_9<__VLS_TypePropsToRuntimeProps_9<{
892
+ tabNumber: number;
893
+ id: string;
894
+ tabClass?: string | string[] | undefined;
895
+ }>, {
896
+ tabClass: string;
897
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_9<__VLS_TypePropsToRuntimeProps_9<{
898
+ tabNumber: number;
899
+ id: string;
900
+ tabClass?: string | string[] | undefined;
901
+ }>, {
902
+ tabClass: string;
903
+ }>>>, {
904
+ tabClass: string | string[];
905
+ }, {}>, {
906
+ default?(_: {}): any;
907
+ }>;
908
+
651
909
  declare interface TooltipElementType extends HTMLElement {
652
910
  __HandleTooltip: Function;
653
911
  __UnmountTooltip: Function;