@codeandfunction/callaloo 1.18.10 → 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 (61) hide show
  1. package/README.md +2 -0
  2. package/dist/assets/styles.css +1 -0
  3. package/dist/components/Assets/CLIcon.vue.d.ts +4 -1
  4. package/dist/components/Assets/index.d.ts +3 -0
  5. package/dist/components/Assets/utils.d.ts +6 -0
  6. package/dist/components/Buttons/CLA11yButton.vue.d.ts +8 -6
  7. package/dist/components/Buttons/CLButton.vue.d.ts +42 -31
  8. package/dist/components/Buttons/index.d.ts +5 -0
  9. package/dist/components/Buttons/utils.d.ts +4 -3
  10. package/dist/components/Containers/CLCard.vue.d.ts +12 -8
  11. package/dist/components/Containers/CLDisclosure.vue.d.ts +9 -6
  12. package/dist/components/Containers/Carousel/CLCarousel.vue.d.ts +9 -7
  13. package/dist/components/Containers/Carousel/CLCarouselNavigation.vue.d.ts +2 -2
  14. package/dist/components/Containers/index.d.ts +9 -0
  15. package/dist/components/Containers/utils.d.ts +5 -4
  16. package/dist/components/Form/CLCheckbox.vue.d.ts +10 -8
  17. package/dist/components/Form/CLInput.vue.d.ts +11 -9
  18. package/dist/components/Form/CLInputMessages.vue.d.ts +3 -3
  19. package/dist/components/Form/CLRadioButton.vue.d.ts +10 -8
  20. package/dist/components/Form/CLSelect.vue.d.ts +11 -9
  21. package/dist/components/Form/CLTextArea.vue.d.ts +11 -9
  22. package/dist/components/Form/index.d.ts +11 -0
  23. package/dist/components/Form/utils.d.ts +3 -3
  24. package/dist/components/Indicators/CLBadge.vue.d.ts +9 -6
  25. package/dist/components/Indicators/CLBanner.vue.d.ts +6 -5
  26. package/dist/components/Indicators/CLPill.vue.d.ts +9 -6
  27. package/dist/components/Indicators/index.d.ts +7 -0
  28. package/dist/components/Indicators/utils.d.ts +6 -5
  29. package/dist/components/Loading/CLSkeleton.vue.d.ts +3 -3
  30. package/dist/components/Loading/CLSpinner.vue.d.ts +4 -4
  31. package/dist/components/Loading/index.d.ts +5 -0
  32. package/dist/components/Loading/utils.d.ts +2 -2
  33. package/dist/components/Modals/CLModal.vue.d.ts +4 -2
  34. package/dist/components/Modals/index.d.ts +3 -0
  35. package/dist/components/Navigation/CLLink.vue.d.ts +4 -4
  36. package/dist/components/Navigation/CLNavLink.vue.d.ts +4 -4
  37. package/dist/components/Navigation/CLNavSection.vue.d.ts +4 -4
  38. package/dist/components/Navigation/index.d.ts +7 -0
  39. package/dist/components/Navigation/utils.d.ts +3 -3
  40. package/dist/components/Popups/CLDropdownMenu.vue.d.ts +310 -58
  41. package/dist/components/Popups/CLToast.vue.d.ts +8 -5
  42. package/dist/components/Popups/index.d.ts +5 -0
  43. package/dist/components/Popups/utils.d.ts +7 -4
  44. package/dist/components/Table/CLTable.vue.d.ts +1 -1
  45. package/dist/components/Table/index.d.ts +15 -0
  46. package/dist/components/Theme/CLThemeProvider.vue.d.ts +24 -18
  47. package/dist/components/Theme/base-theme.d.ts +35 -182
  48. package/dist/components/Theme/index.d.ts +3 -0
  49. package/dist/components/Theme/utils.d.ts +22 -5
  50. package/dist/components/Typography/CLHeading.vue.d.ts +12 -13
  51. package/dist/components/Typography/CLText.vue.d.ts +14 -15
  52. package/dist/components/Typography/index.d.ts +5 -0
  53. package/dist/components/Typography/utils.d.ts +3 -4
  54. package/dist/composables/useHasSlotContent.d.ts +1 -0
  55. package/dist/index.d.ts +14 -36
  56. package/dist/index.js +4278 -7247
  57. package/dist/types.d.ts +69 -64
  58. package/dist/utils/helper.d.ts +2 -2
  59. package/package.json +54 -44
  60. package/dist/assets/index.css +0 -1
  61. package/dist/index.js.map +0 -1
@@ -1,19 +1,23 @@
1
- import { CLBorderRadius, CLIconNames, CLIconSizes, CLPlacement, CLSizes, CLThemes } from '../../index';
1
+ import { CLBorderRadius, CLIconNames, CLIconSizes, CLPlacement, CLSizes, CLColors, CLColorVariants } from '../../index';
2
2
  interface Props {
3
3
  /** Sets the aria-label on the anchor button. */
4
4
  buttonAriaLabel: string;
5
5
  /** Set the border radius size on the anchor button. The property can be one of `CLBorderRadius`, e.g. `CLBorderRadius.Medium`. */
6
6
  buttonBorderRadius?: CLBorderRadius;
7
+ /** Sets the height of the anchor button, it's default value is `auto`. */
8
+ buttonHeight?: string;
7
9
  /** Sets the anchor button size. The property can be one of `CLSizes`, e.g. `CLSizes.Medium`. */
8
10
  buttonSize?: CLSizes;
9
- /** Sets the style/theme of the anchor button. The property can be one of `CLThemes`, e.g. `CLThemes.Primary`. */
10
- buttonTheme?: CLThemes;
11
+ /** Sets the color of the anchor button. The property can be one of `CLColors`, e.g. `CLColors.Primary`. */
12
+ buttonColor?: CLColors;
13
+ /** Sets the color variant. The property can be on of `CLColorVariants`, e.g `CLColorVariants.Soft`. */
14
+ buttonVariant?: CLColorVariants;
15
+ /** Sets the width of the anchor button, it's default value is `auto`. */
16
+ buttonWidth?: string;
11
17
  /** A callback function to be called when the DropdownMenu is closed. */
12
18
  onCloseHandler?: () => void;
13
19
  /** Set the border radius size on the content container. The property can be one of `CLBorderRadius`, e.g. `CLBorderRadius.Medium`. */
14
20
  containerBorderRadius?: CLBorderRadius;
15
- /** Sets the style/theme of the content container. The property can be one of `CLThemes`, e.g. `CLThemes.Primary`. */
16
- containerTheme?: CLThemes.Light | CLThemes.Dark | CLThemes.Transparent | CLThemes.Outline;
17
21
  /** Sets the width of the content container. */
18
22
  contentWidth?: string;
19
23
  /** A unique identifier, this is required. It ensures that if multiple dropdowns are used, each will be handled properly. */
@@ -43,20 +47,28 @@ declare function __VLS_template(): {
43
47
  content?(_: {}): any;
44
48
  };
45
49
  refs: {
46
- anchor: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
50
+ anchor: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
51
+ active: {
52
+ type: BooleanConstructor;
53
+ default: boolean;
54
+ };
47
55
  alignContent: {
48
- type: import('vue').PropType<import('../../types').Align>;
56
+ type: PropType<import('../../types').Align>;
49
57
  default: import('../../types').Align;
50
58
  };
51
59
  ariaLabel: {
52
60
  type: StringConstructor;
53
61
  };
54
62
  borderRadius: {
55
- type: import('vue').PropType<CLBorderRadius>;
63
+ type: PropType<CLBorderRadius>;
56
64
  };
57
65
  busy: {
58
66
  type: BooleanConstructor;
59
67
  };
68
+ color: {
69
+ type: PropType<CLColors>;
70
+ default: CLColors;
71
+ };
60
72
  disabled: {
61
73
  type: BooleanConstructor;
62
74
  };
@@ -75,22 +87,19 @@ declare function __VLS_template(): {
75
87
  default: string;
76
88
  };
77
89
  iconAfter: {
78
- type: import('vue').PropType<CLIconNames>;
90
+ type: PropType<CLIconNames>;
79
91
  };
80
92
  iconBefore: {
81
- type: import('vue').PropType<CLIconNames>;
93
+ type: PropType<CLIconNames>;
82
94
  };
83
95
  iconSize: {
84
- type: import('vue').PropType<CLIconSizes>;
96
+ type: PropType<CLIconSizes>;
85
97
  default: CLIconSizes;
86
98
  };
87
99
  iconAfterSize: {
88
- type: import('vue').PropType<CLIconSizes>;
100
+ type: PropType<CLIconSizes>;
89
101
  default: CLIconSizes;
90
102
  };
91
- link: {
92
- type: BooleanConstructor;
93
- };
94
103
  onClick: {
95
104
  type: FunctionConstructor;
96
105
  };
@@ -102,7 +111,7 @@ declare function __VLS_template(): {
102
111
  default: boolean;
103
112
  };
104
113
  size: {
105
- type: import('vue').PropType<CLSizes>;
114
+ type: PropType<CLSizes>;
106
115
  default: CLSizes;
107
116
  };
108
117
  title: {
@@ -113,12 +122,12 @@ declare function __VLS_template(): {
113
122
  default: string;
114
123
  };
115
124
  type: {
116
- type: import('vue').PropType<import('../../types').ButtonTypes>;
125
+ type: PropType<import('../../types').ButtonTypes>;
117
126
  default: import('../../types').ButtonTypes;
118
127
  };
119
- theme: {
120
- type: import('vue').PropType<CLThemes>;
121
- default: CLThemes;
128
+ variant: {
129
+ type: PropType<CLColorVariants>;
130
+ default: CLColorVariants;
122
131
  };
123
132
  width: {
124
133
  type: StringConstructor;
@@ -128,21 +137,21 @@ declare function __VLS_template(): {
128
137
  type: BooleanConstructor;
129
138
  default: boolean;
130
139
  };
131
- }>> & Readonly<{}>, {}, {
132
- hasSlots: boolean;
133
- }, {}, {
134
- checkForSlots(): boolean;
140
+ }>> & Readonly<{}>, {
141
+ hasSlot: globalThis.ComputedRef<boolean>;
142
+ }, {}, {}, {
135
143
  getSpinnerSize(): CLSizes.Tiny | CLSizes.Small | CLSizes.Medium;
136
144
  }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
137
- link: boolean;
138
- rounded: boolean;
139
- theme: CLThemes;
145
+ color: CLColors;
146
+ width: string;
147
+ height: string;
148
+ variant: CLColorVariants;
149
+ elevated: boolean;
140
150
  testId: string;
141
151
  type: import('../../types').ButtonTypes;
142
- elevated: boolean;
143
152
  busy: boolean;
144
- height: string;
145
- width: string;
153
+ rounded: boolean;
154
+ active: boolean;
146
155
  alignContent: import('../../types').Align;
147
156
  disabled: boolean;
148
157
  iconSize: CLIconSizes;
@@ -157,20 +166,28 @@ declare function __VLS_template(): {
157
166
  C: {};
158
167
  M: {};
159
168
  Defaults: {};
160
- }, Readonly<import('vue').ExtractPropTypes<{
169
+ }, Readonly<globalThis.ExtractPropTypes<{
170
+ active: {
171
+ type: BooleanConstructor;
172
+ default: boolean;
173
+ };
161
174
  alignContent: {
162
- type: import('vue').PropType<import('../../types').Align>;
175
+ type: PropType<import('../../types').Align>;
163
176
  default: import('../../types').Align;
164
177
  };
165
178
  ariaLabel: {
166
179
  type: StringConstructor;
167
180
  };
168
181
  borderRadius: {
169
- type: import('vue').PropType<CLBorderRadius>;
182
+ type: PropType<CLBorderRadius>;
170
183
  };
171
184
  busy: {
172
185
  type: BooleanConstructor;
173
186
  };
187
+ color: {
188
+ type: PropType<CLColors>;
189
+ default: CLColors;
190
+ };
174
191
  disabled: {
175
192
  type: BooleanConstructor;
176
193
  };
@@ -189,22 +206,19 @@ declare function __VLS_template(): {
189
206
  default: string;
190
207
  };
191
208
  iconAfter: {
192
- type: import('vue').PropType<CLIconNames>;
209
+ type: PropType<CLIconNames>;
193
210
  };
194
211
  iconBefore: {
195
- type: import('vue').PropType<CLIconNames>;
212
+ type: PropType<CLIconNames>;
196
213
  };
197
214
  iconSize: {
198
- type: import('vue').PropType<CLIconSizes>;
215
+ type: PropType<CLIconSizes>;
199
216
  default: CLIconSizes;
200
217
  };
201
218
  iconAfterSize: {
202
- type: import('vue').PropType<CLIconSizes>;
219
+ type: PropType<CLIconSizes>;
203
220
  default: CLIconSizes;
204
221
  };
205
- link: {
206
- type: BooleanConstructor;
207
- };
208
222
  onClick: {
209
223
  type: FunctionConstructor;
210
224
  };
@@ -216,7 +230,7 @@ declare function __VLS_template(): {
216
230
  default: boolean;
217
231
  };
218
232
  size: {
219
- type: import('vue').PropType<CLSizes>;
233
+ type: PropType<CLSizes>;
220
234
  default: CLSizes;
221
235
  };
222
236
  title: {
@@ -227,12 +241,12 @@ declare function __VLS_template(): {
227
241
  default: string;
228
242
  };
229
243
  type: {
230
- type: import('vue').PropType<import('../../types').ButtonTypes>;
244
+ type: PropType<import('../../types').ButtonTypes>;
231
245
  default: import('../../types').ButtonTypes;
232
246
  };
233
- theme: {
234
- type: import('vue').PropType<CLThemes>;
235
- default: CLThemes;
247
+ variant: {
248
+ type: PropType<CLColorVariants>;
249
+ default: CLColorVariants;
236
250
  };
237
251
  width: {
238
252
  type: StringConstructor;
@@ -242,21 +256,21 @@ declare function __VLS_template(): {
242
256
  type: BooleanConstructor;
243
257
  default: boolean;
244
258
  };
245
- }>> & Readonly<{}>, {}, {
246
- hasSlots: boolean;
247
- }, {}, {
248
- checkForSlots(): boolean;
259
+ }>> & Readonly<{}>, {
260
+ hasSlot: globalThis.ComputedRef<boolean>;
261
+ }, {}, {}, {
249
262
  getSpinnerSize(): CLSizes.Tiny | CLSizes.Small | CLSizes.Medium;
250
263
  }, {
251
- link: boolean;
252
- rounded: boolean;
253
- theme: CLThemes;
264
+ color: CLColors;
265
+ width: string;
266
+ height: string;
267
+ variant: CLColorVariants;
268
+ elevated: boolean;
254
269
  testId: string;
255
270
  type: import('../../types').ButtonTypes;
256
- elevated: boolean;
257
271
  busy: boolean;
258
- height: string;
259
- width: string;
272
+ rounded: boolean;
273
+ active: boolean;
260
274
  alignContent: import('../../types').Align;
261
275
  disabled: boolean;
262
276
  iconSize: CLIconSizes;
@@ -274,14 +288,252 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
274
288
  iconAfter: CLIconNames;
275
289
  iconSize: CLIconSizes;
276
290
  iconAfterSize: CLIconSizes;
291
+ buttonBorderRadius: CLBorderRadius;
292
+ buttonHeight: string;
277
293
  buttonSize: CLSizes;
278
- buttonTheme: CLThemes;
279
- containerTheme: CLThemes.Light | CLThemes.Dark | CLThemes.Transparent | CLThemes.Outline;
294
+ buttonColor: CLColors;
295
+ buttonVariant: CLColorVariants;
296
+ buttonWidth: string;
297
+ containerBorderRadius: CLBorderRadius;
280
298
  contentWidth: string;
281
299
  isOpen: boolean;
282
300
  placement: CLPlacement;
283
301
  zIndex: number;
284
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
302
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
303
+ anchor: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
304
+ active: {
305
+ type: BooleanConstructor;
306
+ default: boolean;
307
+ };
308
+ alignContent: {
309
+ type: PropType<import('../../types').Align>;
310
+ default: import('../../types').Align;
311
+ };
312
+ ariaLabel: {
313
+ type: StringConstructor;
314
+ };
315
+ borderRadius: {
316
+ type: PropType<CLBorderRadius>;
317
+ };
318
+ busy: {
319
+ type: BooleanConstructor;
320
+ };
321
+ color: {
322
+ type: PropType<CLColors>;
323
+ default: CLColors;
324
+ };
325
+ disabled: {
326
+ type: BooleanConstructor;
327
+ };
328
+ elevated: {
329
+ type: BooleanConstructor;
330
+ default: boolean;
331
+ };
332
+ form: {
333
+ type: StringConstructor;
334
+ };
335
+ forwardRef: {
336
+ type: FunctionConstructor;
337
+ };
338
+ height: {
339
+ type: StringConstructor;
340
+ default: string;
341
+ };
342
+ iconAfter: {
343
+ type: PropType<CLIconNames>;
344
+ };
345
+ iconBefore: {
346
+ type: PropType<CLIconNames>;
347
+ };
348
+ iconSize: {
349
+ type: PropType<CLIconSizes>;
350
+ default: CLIconSizes;
351
+ };
352
+ iconAfterSize: {
353
+ type: PropType<CLIconSizes>;
354
+ default: CLIconSizes;
355
+ };
356
+ onClick: {
357
+ type: FunctionConstructor;
358
+ };
359
+ pill: {
360
+ type: BooleanConstructor;
361
+ };
362
+ rounded: {
363
+ type: BooleanConstructor;
364
+ default: boolean;
365
+ };
366
+ size: {
367
+ type: PropType<CLSizes>;
368
+ default: CLSizes;
369
+ };
370
+ title: {
371
+ type: StringConstructor;
372
+ };
373
+ testId: {
374
+ type: StringConstructor;
375
+ default: string;
376
+ };
377
+ type: {
378
+ type: PropType<import('../../types').ButtonTypes>;
379
+ default: import('../../types').ButtonTypes;
380
+ };
381
+ variant: {
382
+ type: PropType<CLColorVariants>;
383
+ default: CLColorVariants;
384
+ };
385
+ width: {
386
+ type: StringConstructor;
387
+ default: string;
388
+ };
389
+ wrap: {
390
+ type: BooleanConstructor;
391
+ default: boolean;
392
+ };
393
+ }>> & Readonly<{}>, {
394
+ hasSlot: globalThis.ComputedRef<boolean>;
395
+ }, {}, {}, {
396
+ getSpinnerSize(): CLSizes.Tiny | CLSizes.Small | CLSizes.Medium;
397
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
398
+ color: CLColors;
399
+ width: string;
400
+ height: string;
401
+ variant: CLColorVariants;
402
+ elevated: boolean;
403
+ testId: string;
404
+ type: import('../../types').ButtonTypes;
405
+ busy: boolean;
406
+ rounded: boolean;
407
+ active: boolean;
408
+ alignContent: import('../../types').Align;
409
+ disabled: boolean;
410
+ iconSize: CLIconSizes;
411
+ iconAfterSize: CLIconSizes;
412
+ pill: boolean;
413
+ size: CLSizes;
414
+ wrap: boolean;
415
+ }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
416
+ P: {};
417
+ B: {};
418
+ D: {};
419
+ C: {};
420
+ M: {};
421
+ Defaults: {};
422
+ }, Readonly<globalThis.ExtractPropTypes<{
423
+ active: {
424
+ type: BooleanConstructor;
425
+ default: boolean;
426
+ };
427
+ alignContent: {
428
+ type: PropType<import('../../types').Align>;
429
+ default: import('../../types').Align;
430
+ };
431
+ ariaLabel: {
432
+ type: StringConstructor;
433
+ };
434
+ borderRadius: {
435
+ type: PropType<CLBorderRadius>;
436
+ };
437
+ busy: {
438
+ type: BooleanConstructor;
439
+ };
440
+ color: {
441
+ type: PropType<CLColors>;
442
+ default: CLColors;
443
+ };
444
+ disabled: {
445
+ type: BooleanConstructor;
446
+ };
447
+ elevated: {
448
+ type: BooleanConstructor;
449
+ default: boolean;
450
+ };
451
+ form: {
452
+ type: StringConstructor;
453
+ };
454
+ forwardRef: {
455
+ type: FunctionConstructor;
456
+ };
457
+ height: {
458
+ type: StringConstructor;
459
+ default: string;
460
+ };
461
+ iconAfter: {
462
+ type: PropType<CLIconNames>;
463
+ };
464
+ iconBefore: {
465
+ type: PropType<CLIconNames>;
466
+ };
467
+ iconSize: {
468
+ type: PropType<CLIconSizes>;
469
+ default: CLIconSizes;
470
+ };
471
+ iconAfterSize: {
472
+ type: PropType<CLIconSizes>;
473
+ default: CLIconSizes;
474
+ };
475
+ onClick: {
476
+ type: FunctionConstructor;
477
+ };
478
+ pill: {
479
+ type: BooleanConstructor;
480
+ };
481
+ rounded: {
482
+ type: BooleanConstructor;
483
+ default: boolean;
484
+ };
485
+ size: {
486
+ type: PropType<CLSizes>;
487
+ default: CLSizes;
488
+ };
489
+ title: {
490
+ type: StringConstructor;
491
+ };
492
+ testId: {
493
+ type: StringConstructor;
494
+ default: string;
495
+ };
496
+ type: {
497
+ type: PropType<import('../../types').ButtonTypes>;
498
+ default: import('../../types').ButtonTypes;
499
+ };
500
+ variant: {
501
+ type: PropType<CLColorVariants>;
502
+ default: CLColorVariants;
503
+ };
504
+ width: {
505
+ type: StringConstructor;
506
+ default: string;
507
+ };
508
+ wrap: {
509
+ type: BooleanConstructor;
510
+ default: boolean;
511
+ };
512
+ }>> & Readonly<{}>, {
513
+ hasSlot: globalThis.ComputedRef<boolean>;
514
+ }, {}, {}, {
515
+ getSpinnerSize(): CLSizes.Tiny | CLSizes.Small | CLSizes.Medium;
516
+ }, {
517
+ color: CLColors;
518
+ width: string;
519
+ height: string;
520
+ variant: CLColorVariants;
521
+ elevated: boolean;
522
+ testId: string;
523
+ type: import('../../types').ButtonTypes;
524
+ busy: boolean;
525
+ rounded: boolean;
526
+ active: boolean;
527
+ alignContent: import('../../types').Align;
528
+ disabled: boolean;
529
+ iconSize: CLIconSizes;
530
+ iconAfterSize: CLIconSizes;
531
+ pill: boolean;
532
+ size: CLSizes;
533
+ wrap: boolean;
534
+ }> | null;
535
+ dropdownElem: HTMLDivElement;
536
+ }, HTMLDivElement>;
285
537
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
286
538
  export default _default;
287
539
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,10 +1,13 @@
1
- import { CLIconSizes, CLToastProps } from '../../index';
1
+ import { CLIconSizes, CLColors, CLToastProps, CLColorVariants } from '../../index';
2
2
  declare const _default: import('vue').DefineComponent<CLToastProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CLToastProps> & Readonly<{}>, {
3
- rounded: boolean;
4
- theme: import('../../types').ToastThemes;
5
- testId: string;
3
+ color: CLColors;
6
4
  width: string;
5
+ variant: CLColorVariants;
6
+ testId: string;
7
+ rounded: boolean;
7
8
  iconSize: CLIconSizes;
8
9
  dismissTimer: number;
9
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLOutputElement>;
10
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
11
+ elem: HTMLOutputElement;
12
+ }, HTMLOutputElement>;
10
13
  export default _default;
@@ -0,0 +1,5 @@
1
+ import { default as CLDropdownMenu } from './CLDropdownMenu.vue';
2
+ import { default as CLToast } from './CLToast.vue';
3
+ export { CLDropdownMenu, CLToast };
4
+ export type CLDropdownMenu = InstanceType<typeof CLDropdownMenu>;
5
+ export type CLToast = InstanceType<typeof CLToast>;
@@ -1,4 +1,7 @@
1
- import { CLThemes } from '../../index';
2
- export declare const toastTheme: ({ color }: {
3
- color?: CLThemes | undefined;
4
- }) => string;
1
+ import { CLColors, CLColorVariants } from '../../index';
2
+ interface ThemeProps {
3
+ color: CLColors;
4
+ variant: CLColorVariants;
5
+ }
6
+ export declare const toastTheme: ({ color, variant }: ThemeProps) => string;
7
+ export {};
@@ -31,9 +31,9 @@ declare function __VLS_template(): {
31
31
  };
32
32
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
33
33
  declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
34
- rounded: boolean;
35
34
  testId: string;
36
35
  type: CLTableTypes;
36
+ rounded: boolean;
37
37
  id: string;
38
38
  rowHeight: string;
39
39
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
@@ -0,0 +1,15 @@
1
+ import { default as CLTable } from './CLTable.vue';
2
+ import { default as CLTableBody } from './CLTableBody.vue';
3
+ import { default as CLTableCell } from './CLTableCell.vue';
4
+ import { default as CLTableFooter } from './CLTableFooter.vue';
5
+ import { default as CLTableHeader } from './CLTableHeader.vue';
6
+ import { default as CLTableNestedCell } from './CLTableNestedCell.vue';
7
+ import { default as CLTableRow } from './CLTableRow.vue';
8
+ export { CLTable, CLTableBody, CLTableCell, CLTableFooter, CLTableHeader, CLTableNestedCell, CLTableRow, };
9
+ export type CLTable = InstanceType<typeof CLTable>;
10
+ export type CLTableBody = InstanceType<typeof CLTableBody>;
11
+ export type CLTableCell = InstanceType<typeof CLTableCell>;
12
+ export type CLTableFooter = InstanceType<typeof CLTableFooter>;
13
+ export type CLTableHeader = InstanceType<typeof CLTableHeader>;
14
+ export type CLTableNestedCell = InstanceType<typeof CLTableNestedCell>;
15
+ export type CLTableRow = InstanceType<typeof CLTableRow>;
@@ -1,22 +1,28 @@
1
1
  import { CLThemeConfig } from '../../index';
2
- interface Props {
2
+ /** The `<CLThemeProvider />` component configures the visual look of your application, it also facilitates the use of custom themes. You should wrap your entire application with it. It will apply the default theme required for all Callaloo components.*/
3
+ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
4
+ /** An HTML element used as the root element. The default tag used is `<div>`. */
5
+ tag: {
6
+ type: StringConstructor;
7
+ default: string;
8
+ };
3
9
  /** A theme configuration object. */
4
- themeConfig?: CLThemeConfig;
5
- }
6
- declare function __VLS_template(): {
7
- attrs: Partial<{}>;
8
- slots: {
9
- default?(_: {}): any;
10
+ themeConfig: {
11
+ type: PropType<CLThemeConfig>;
10
12
  };
11
- refs: {};
12
- rootEl: any;
13
- };
14
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
- declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
16
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
17
- export default _default;
18
- type __VLS_WithTemplateSlots<T, S> = T & {
19
- new (): {
20
- $slots: S;
13
+ }>, () => globalThis.VNode<import('vue').RendererNode, import('vue').RendererElement, {
14
+ [key: string]: any;
15
+ }>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
16
+ /** An HTML element used as the root element. The default tag used is `<div>`. */
17
+ tag: {
18
+ type: StringConstructor;
19
+ default: string;
21
20
  };
22
- };
21
+ /** A theme configuration object. */
22
+ themeConfig: {
23
+ type: PropType<CLThemeConfig>;
24
+ };
25
+ }>> & Readonly<{}>, {
26
+ tag: string;
27
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
28
+ export default _default;