@codeandfunction/callaloo 3.11.0 → 3.12.1

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 (50) hide show
  1. package/dist/assets/styles.css +1 -1
  2. package/dist/components/Assets/CLIcon.vue.d.ts +1 -1
  3. package/dist/components/Assets/utils.d.ts +1 -1
  4. package/dist/components/Buttons/CLA11yButton.vue.d.ts +1 -1
  5. package/dist/components/Buttons/CLButton.vue.d.ts +3 -3
  6. package/dist/components/Buttons/utils.d.ts +1 -1
  7. package/dist/components/Containers/CLCard.vue.d.ts +1 -1
  8. package/dist/components/Containers/CLDisclosure.vue.d.ts +1 -2
  9. package/dist/components/Containers/utils.d.ts +1 -1
  10. package/dist/components/Form/CLCheckbox.vue.d.ts +1 -1
  11. package/dist/components/Form/CLFormField.vue.d.ts +1 -1
  12. package/dist/components/Form/CLInput.vue.d.ts +1 -1
  13. package/dist/components/Form/CLInputMessages.vue.d.ts +1 -1
  14. package/dist/components/Form/CLRadioButton.vue.d.ts +1 -1
  15. package/dist/components/Form/CLSelect.vue.d.ts +1 -1
  16. package/dist/components/Form/CLTextArea.vue.d.ts +1 -1
  17. package/dist/components/Form/utils.d.ts +1 -1
  18. package/dist/components/Indicators/CLBadge.vue.d.ts +1 -1
  19. package/dist/components/Indicators/CLBanner.vue.d.ts +1 -1
  20. package/dist/components/Indicators/CLPill.vue.d.ts +1 -1
  21. package/dist/components/Indicators/utils.d.ts +1 -1
  22. package/dist/components/Loading/CLSkeleton.vue.d.ts +1 -1
  23. package/dist/components/Loading/CLSpinner.vue.d.ts +1 -1
  24. package/dist/components/Loading/utils.d.ts +1 -1
  25. package/dist/components/Modals/CLModal.vue.d.ts +1 -1
  26. package/dist/components/Navigation/CLLink.vue.d.ts +1 -1
  27. package/dist/components/Navigation/CLNavLink.vue.d.ts +1 -1
  28. package/dist/components/Navigation/CLNavSection.vue.d.ts +1 -1
  29. package/dist/components/Navigation/utils.d.ts +1 -1
  30. package/dist/components/Popups/CLDropdownMenu.vue.d.ts +49 -49
  31. package/dist/components/Popups/CLToast.vue.d.ts +1 -1
  32. package/dist/components/Popups/utils.d.ts +1 -1
  33. package/dist/components/{Theme → Providers/Theme}/CLThemeProvider.vue.d.ts +1 -1
  34. package/dist/components/{Theme → Providers/Theme}/base-theme.d.ts +15 -15
  35. package/dist/components/{Theme → Providers/Theme}/utils.d.ts +1 -1
  36. package/dist/components/Providers/Toast/CLToastProvider.vue.d.ts +2 -2
  37. package/dist/components/Providers/index.d.ts +3 -1
  38. package/dist/components/Table/CLTable.vue.d.ts +1 -1
  39. package/dist/components/Table/CLTableCell.vue.d.ts +1 -1
  40. package/dist/components/Table/CLTableRow.vue.d.ts +1 -1
  41. package/dist/components/Typography/CLHeading.vue.d.ts +1 -1
  42. package/dist/components/Typography/CLText.vue.d.ts +1 -1
  43. package/dist/components/Typography/utils.d.ts +1 -1
  44. package/dist/composables/useDropdown.d.ts +1 -1
  45. package/dist/composables/useToast.d.ts +1 -1
  46. package/dist/index.d.ts +4 -4
  47. package/dist/index.js +3338 -3330
  48. package/dist/types.d.ts +80 -79
  49. package/package.json +17 -13
  50. package/dist/components/Theme/index.d.ts +0 -3
@@ -1,4 +1,4 @@
1
- import { CLColors, CLIconNames, CLIconSizes } from '../../index';
1
+ import { CLColors, CLIconNames, CLIconSizes } from '../../index.ts';
2
2
  interface Props {
3
3
  /** Sets the color of the icon. The property can be one of `CLColors`, e.g. `CLColors.Primary`. */
4
4
  color?: CLColors;
@@ -1,4 +1,4 @@
1
- import { CLColors } from '../../index';
1
+ import { CLColors } from '../../index.ts';
2
2
  interface IconThemeProps {
3
3
  color?: CLColors;
4
4
  }
@@ -1,4 +1,4 @@
1
- import { CLColors } from '../../index';
1
+ import { CLColors } from '../../types';
2
2
  export interface Props {
3
3
  /** Sets the color of the focus outline. The property can be one of `CLColors`, e.g. `CLColors.Primary`. */
4
4
  color?: CLColors;
@@ -1,4 +1,4 @@
1
- import { CLAlign, CLBorderRadius, CLButtonTypes, CLButtonTags, CLColors, CLColorVariants, CLIconNames, CLIconSizes, CLLinkTarget, CLSizes, CLGenericFunction } from '../../index';
1
+ import { CLAlign, CLBorderRadius, CLButtonTypes, CLButtonTags, CLButtonForwardRefFunction, CLColors, CLColorVariants, CLIconNames, CLIconSizes, CLLinkTarget, CLSizes } from '../../index.ts';
2
2
  /**
3
3
  * The `<CLButton />` component extends the functionality of the native `<button />` element, by including support for icons and colors.
4
4
  */
@@ -50,7 +50,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
50
50
  };
51
51
  /** A callback function which provides a reference to the button */
52
52
  forwardRef: {
53
- type: PropType<CLGenericFunction>;
53
+ type: PropType<CLButtonForwardRefFunction>;
54
54
  };
55
55
  /** Sets the height of the button, it's default value is `auto`. */
56
56
  height: {
@@ -183,7 +183,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
183
183
  };
184
184
  /** A callback function which provides a reference to the button */
185
185
  forwardRef: {
186
- type: PropType<CLGenericFunction>;
186
+ type: PropType<CLButtonForwardRefFunction>;
187
187
  };
188
188
  /** Sets the height of the button, it's default value is `auto`. */
189
189
  height: {
@@ -1,4 +1,4 @@
1
- import { CLColors, CLColorVariants } from '../../index';
1
+ import { CLColors, CLColorVariants } from '../../index.ts';
2
2
  interface ThemeProps {
3
3
  color: CLColors;
4
4
  variant?: CLColorVariants;
@@ -1,4 +1,4 @@
1
- import { CLAlign, CLCardProps, CLCardTypes, CLColors, CLColorVariants, CLHeadingTypes, CLHeadingLevels, CLLinkTarget } from '../../index';
1
+ import { CLAlign, CLCardProps, CLCardTypes, CLColors, CLColorVariants, CLHeadingTypes, CLHeadingLevels, CLLinkTarget } from '../../index.ts';
2
2
  declare function __VLS_template(): {
3
3
  attrs: Partial<{}>;
4
4
  slots: {
@@ -1,4 +1,4 @@
1
- import { CLBorderRadius, CLColors, CLColorVariants, CLHeadingTypes, CLHeadingLevels, CLIconNames, CLIconSizes, CLSizes, CLTextTypes } from '../../index';
1
+ import { CLBorderRadius, CLColors, CLColorVariants, CLHeadingTypes, CLHeadingLevels, CLIconNames, CLIconSizes, CLSizes, CLTextTypes } from '../../index.ts';
2
2
  export interface Props {
3
3
  /** When set to `true` adds borders to the disclosure's trigger container and content. */
4
4
  bordered?: boolean;
@@ -62,7 +62,6 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
62
62
  iconAfter: CLIconNames;
63
63
  iconAfterSize: CLIconSizes;
64
64
  contentSpacing: boolean;
65
- disclosureId: string;
66
65
  expanded: boolean;
67
66
  expandedIcon: CLIconNames;
68
67
  headingType: CLHeadingTypes;
@@ -1,4 +1,4 @@
1
- import { CLColors, CLColorVariants } from '../../index';
1
+ import { CLColors, CLColorVariants } from '../../index.ts';
2
2
  interface ThemeProps {
3
3
  color: CLColors;
4
4
  variant: CLColorVariants;
@@ -1,4 +1,4 @@
1
- import { CLBorderRadius, CLColors, CLColorVariants, CLGenericFunction, CLGenericFocusFunction, CLSizes } from '../../index';
1
+ import { CLBorderRadius, CLColors, CLColorVariants, CLGenericFunction, CLGenericFocusFunction, CLSizes } from '../../index.ts';
2
2
  interface Props {
3
3
  /** Sets the aria-label on the input. It should be used when there is no label present. */
4
4
  ariaLabel?: string;
@@ -1,4 +1,4 @@
1
- import { CLOrientation } from '../../index';
1
+ import { CLOrientation } from '../../index.ts';
2
2
  interface Props {
3
3
  fluid?: boolean;
4
4
  hasPill?: boolean;
@@ -1,4 +1,4 @@
1
- import { CLBorderRadius, CLIconNames, CLInputTypes, CLGenericFocusFunction, CLGenericFunction, CLGenericInputFunction, CLSizes, CLColors, CLColorVariants, CLOrientation } from '../../index';
1
+ import { CLBorderRadius, CLIconNames, CLInputTypes, CLGenericFocusFunction, CLGenericFunction, CLGenericInputFunction, CLSizes, CLColors, CLColorVariants, CLOrientation } from '../../index.ts';
2
2
  interface Props {
3
3
  /** Sets the aria-label on the input. It should be used when there is no label present. */
4
4
  ariaLabel?: string;
@@ -1,4 +1,4 @@
1
- import { CLColors } from '../../index';
1
+ import { CLColors } from '../../index.ts';
2
2
  export interface Props {
3
3
  id: string;
4
4
  messages?: string[];
@@ -1,4 +1,4 @@
1
- import { CLBorderRadius, CLColors, CLColorVariants, CLGenericFunction, CLGenericFocusFunction, CLSizes } from '../../index';
1
+ import { CLBorderRadius, CLColors, CLColorVariants, CLGenericFunction, CLGenericFocusFunction, CLSizes } from '../../index.ts';
2
2
  interface Props {
3
3
  /** Sets the aria-label on the input. It should be used when there is no label present. */
4
4
  ariaLabel?: string;
@@ -1,4 +1,4 @@
1
- import { CLBorderRadius, CLColors, CLColorVariants, CLGenericFocusFunction, CLGenericFunction, CLOption, CLOrientation, CLSizes } from '../../index';
1
+ import { CLBorderRadius, CLColors, CLColorVariants, CLGenericFocusFunction, CLGenericFunction, CLOption, CLOrientation, CLSizes } from '../../index.ts';
2
2
  interface Props {
3
3
  /** Sets the aria-label on the input. It should be used when there is no label present. */
4
4
  ariaLabel?: string;
@@ -1,4 +1,4 @@
1
- import { CLBorderRadius, CLGenericFunction, CLGenericFocusFunction, CLGenericInputFunction, CLOrientation, CLSizes, CLColors, CLColorVariants } from '../../index';
1
+ import { CLBorderRadius, CLGenericFunction, CLGenericFocusFunction, CLGenericInputFunction, CLOrientation, CLSizes, CLColors, CLColorVariants } from '../../index.ts';
2
2
  interface Props {
3
3
  /** Sets the aria-label on the textarea. It should be used when there is no label present. */
4
4
  ariaLabel?: string;
@@ -1,4 +1,4 @@
1
- import { CLColors, CLColorVariants } from '../../index';
1
+ import { CLColors, CLColorVariants } from '../../index.ts';
2
2
  interface ThemeProps {
3
3
  color: CLColors;
4
4
  component?: string;
@@ -1,4 +1,4 @@
1
- import { CLBorderRadius, CLColors, CLColorVariants } from '../../index';
1
+ import { CLBorderRadius, CLColors, CLColorVariants } from '../../index.ts';
2
2
  export interface Props {
3
3
  /** The border radius size. The property can be one of `CLBorderRadius`, e.g. `CLBorderRadius.Medium`. */
4
4
  borderRadius?: CLBorderRadius;
@@ -1,4 +1,4 @@
1
- import { CLAlign, CLBannerProps, CLColors, CLColorVariants } from '../../index';
1
+ import { CLAlign, CLBannerProps, CLColors, CLColorVariants } from '../../index.ts';
2
2
  declare const _default: import('vue').DefineComponent<CLBannerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CLBannerProps> & Readonly<{}>, {
3
3
  color: CLColors;
4
4
  width: string;
@@ -1,4 +1,4 @@
1
- import { CLGenericFunction, CLIconNames, CLColors, CLColorVariants } from '../../index';
1
+ import { CLGenericFunction, CLIconNames, CLColors, CLColorVariants } from '../../index.ts';
2
2
  export interface Props {
3
3
  /** Sets the color of the Pill. The property can be one of `CLColors`, e.g. `CLColors.Primary`. */
4
4
  color?: CLColors;
@@ -1,4 +1,4 @@
1
- import { CLColors, CLColorVariants } from '../../index';
1
+ import { CLColors, CLColorVariants } from '../../index.ts';
2
2
  interface ThemeProps {
3
3
  color: CLColors;
4
4
  variant: CLColorVariants;
@@ -1,4 +1,4 @@
1
- import { CLBorderRadius } from '../../index';
1
+ import { CLBorderRadius } from '../../index.ts';
2
2
  export interface Props {
3
3
  /** The border radius size. The property can be one of `CLBorderRadius`, e.g. `CLBorderRadius.Medium`. */
4
4
  borderRadius?: CLBorderRadius;
@@ -1,4 +1,4 @@
1
- import { CLAlign, CLPosition, CLSizes, CLColors } from '../../index';
1
+ import { CLAlign, CLPosition, CLSizes, CLColors } from '../../index.ts';
2
2
  export interface Props {
3
3
  /** Set the horizontal alignment of the Spinner on the page. The property can be one of `CLAlign`, e.g. `CLAlign.Left` */
4
4
  align?: CLAlign;
@@ -1,4 +1,4 @@
1
- import { CLColors } from '../../index';
1
+ import { CLColors } from '../../index.ts';
2
2
  interface ThemeProps {
3
3
  color: CLColors;
4
4
  }
@@ -1,4 +1,4 @@
1
- import { CLBorderRadius, CLGenericFunction } from '../../index';
1
+ import { CLBorderRadius, CLGenericFunction } from '../../index.ts';
2
2
  interface Props {
3
3
  /** The border radius size. The property can be one of `CLBorderRadius`, e.g. `CLBorderRadius.Medium`. */
4
4
  borderRadius?: CLBorderRadius;
@@ -1,4 +1,4 @@
1
- import { CLLinkTarget, CLColors, CLGenericFunction } from '../../index';
1
+ import { CLLinkTarget, CLColors, CLGenericFunction } from '../../index.ts';
2
2
  export interface Props {
3
3
  /** Sets the aria-label on the Link element. */
4
4
  ariaLabel?: string;
@@ -1,4 +1,4 @@
1
- import { CLLinkTarget, CLColors, CLGenericFunction } from '../../index';
1
+ import { CLLinkTarget, CLColors, CLGenericFunction } from '../../index.ts';
2
2
  export interface Props {
3
3
  /** Sets the aria-label on the NavLink element. */
4
4
  ariaLabel?: string;
@@ -1,4 +1,4 @@
1
- import { CLNavItem, CLOrientation, CLColors } from '../../index';
1
+ import { CLNavItem, CLOrientation, CLColors } from '../../index.ts';
2
2
  export interface Props {
3
3
  /** Set the color of the link. The property can be one of `CLColors`, e.g. `CLColors.Secondary`. */
4
4
  color?: CLColors;
@@ -1,4 +1,4 @@
1
- import { CLColors } from '../../index';
1
+ import { CLColors } from '../../index.ts';
2
2
  interface BaseLinkProps {
3
3
  color: CLColors;
4
4
  underline?: boolean;
@@ -1,4 +1,4 @@
1
- import { CLBorderRadius, CLIconNames, CLIconSizes, CLPlacement, CLSizes, CLColors, CLColorVariants } from '../../index';
1
+ import { CLBorderRadius, CLIconNames, CLIconSizes, CLPlacement, CLSizes, CLColors, CLColorVariants } from '../../index.ts';
2
2
  interface Props {
3
3
  /** Sets the aria-label on the anchor button. */
4
4
  buttonAriaLabel: string;
@@ -55,14 +55,14 @@ declare function __VLS_template(): {
55
55
  default: boolean;
56
56
  };
57
57
  alignContent: {
58
- type: PropType<import('../../types').Align>;
59
- default: import('../../types').Align;
58
+ type: PropType<import('../../index.ts').CLAlign>;
59
+ default: import('../../index.ts').CLAlign;
60
60
  };
61
61
  ariaLabel: {
62
62
  type: StringConstructor;
63
63
  };
64
64
  as: {
65
- type: PropType<import('../../types').ButtonTags>;
65
+ type: PropType<import('../../index.ts').CLButtonTags>;
66
66
  default: string;
67
67
  };
68
68
  borderRadius: {
@@ -86,7 +86,7 @@ declare function __VLS_template(): {
86
86
  type: StringConstructor;
87
87
  };
88
88
  forwardRef: {
89
- type: PropType<import('../../types').GenericFunction>;
89
+ type: PropType<import('../../index.ts').CLButtonForwardRefFunction>;
90
90
  };
91
91
  height: {
92
92
  type: StringConstructor;
@@ -124,8 +124,8 @@ declare function __VLS_template(): {
124
124
  default: CLSizes;
125
125
  };
126
126
  target: {
127
- type: PropType<import('../../types').LinkTarget>;
128
- default: import('../../types').LinkTarget;
127
+ type: PropType<import('../../index.ts').CLLinkTarget>;
128
+ default: import('../../index.ts').CLLinkTarget;
129
129
  };
130
130
  title: {
131
131
  type: StringConstructor;
@@ -135,8 +135,8 @@ declare function __VLS_template(): {
135
135
  default: string;
136
136
  };
137
137
  type: {
138
- type: PropType<import('../../types').ButtonTypes>;
139
- default: import('../../types').ButtonTypes;
138
+ type: PropType<import('../../index.ts').CLButtonTypes>;
139
+ default: import('../../index.ts').CLButtonTypes;
140
140
  };
141
141
  variant: {
142
142
  type: PropType<CLColorVariants>;
@@ -161,18 +161,18 @@ declare function __VLS_template(): {
161
161
  variant: CLColorVariants;
162
162
  elevated: boolean;
163
163
  testId: string;
164
- type: import('../../types').ButtonTypes;
164
+ type: import('../../index.ts').CLButtonTypes;
165
165
  busy: boolean;
166
166
  rounded: boolean;
167
167
  active: boolean;
168
- alignContent: import('../../types').Align;
169
- as: import('../../types').ButtonTags;
168
+ alignContent: import('../../index.ts').CLAlign;
169
+ as: import('../../index.ts').CLButtonTags;
170
170
  disabled: boolean;
171
171
  iconSize: CLIconSizes;
172
172
  iconAfterSize: CLIconSizes;
173
173
  pill: boolean;
174
174
  size: CLSizes;
175
- target: import('../../types').LinkTarget;
175
+ target: import('../../index.ts').CLLinkTarget;
176
176
  wrap: boolean;
177
177
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
178
178
  P: {};
@@ -187,14 +187,14 @@ declare function __VLS_template(): {
187
187
  default: boolean;
188
188
  };
189
189
  alignContent: {
190
- type: PropType<import('../../types').Align>;
191
- default: import('../../types').Align;
190
+ type: PropType<import('../../index.ts').CLAlign>;
191
+ default: import('../../index.ts').CLAlign;
192
192
  };
193
193
  ariaLabel: {
194
194
  type: StringConstructor;
195
195
  };
196
196
  as: {
197
- type: PropType<import('../../types').ButtonTags>;
197
+ type: PropType<import('../../index.ts').CLButtonTags>;
198
198
  default: string;
199
199
  };
200
200
  borderRadius: {
@@ -218,7 +218,7 @@ declare function __VLS_template(): {
218
218
  type: StringConstructor;
219
219
  };
220
220
  forwardRef: {
221
- type: PropType<import('../../types').GenericFunction>;
221
+ type: PropType<import('../../index.ts').CLButtonForwardRefFunction>;
222
222
  };
223
223
  height: {
224
224
  type: StringConstructor;
@@ -256,8 +256,8 @@ declare function __VLS_template(): {
256
256
  default: CLSizes;
257
257
  };
258
258
  target: {
259
- type: PropType<import('../../types').LinkTarget>;
260
- default: import('../../types').LinkTarget;
259
+ type: PropType<import('../../index.ts').CLLinkTarget>;
260
+ default: import('../../index.ts').CLLinkTarget;
261
261
  };
262
262
  title: {
263
263
  type: StringConstructor;
@@ -267,8 +267,8 @@ declare function __VLS_template(): {
267
267
  default: string;
268
268
  };
269
269
  type: {
270
- type: PropType<import('../../types').ButtonTypes>;
271
- default: import('../../types').ButtonTypes;
270
+ type: PropType<import('../../index.ts').CLButtonTypes>;
271
+ default: import('../../index.ts').CLButtonTypes;
272
272
  };
273
273
  variant: {
274
274
  type: PropType<CLColorVariants>;
@@ -293,18 +293,18 @@ declare function __VLS_template(): {
293
293
  variant: CLColorVariants;
294
294
  elevated: boolean;
295
295
  testId: string;
296
- type: import('../../types').ButtonTypes;
296
+ type: import('../../index.ts').CLButtonTypes;
297
297
  busy: boolean;
298
298
  rounded: boolean;
299
299
  active: boolean;
300
- alignContent: import('../../types').Align;
301
- as: import('../../types').ButtonTags;
300
+ alignContent: import('../../index.ts').CLAlign;
301
+ as: import('../../index.ts').CLButtonTags;
302
302
  disabled: boolean;
303
303
  iconSize: CLIconSizes;
304
304
  iconAfterSize: CLIconSizes;
305
305
  pill: boolean;
306
306
  size: CLSizes;
307
- target: import('../../types').LinkTarget;
307
+ target: import('../../index.ts').CLLinkTarget;
308
308
  wrap: boolean;
309
309
  }> | null;
310
310
  dropdownElem: HTMLDivElement;
@@ -332,14 +332,14 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
332
332
  default: boolean;
333
333
  };
334
334
  alignContent: {
335
- type: PropType<import('../../types').Align>;
336
- default: import('../../types').Align;
335
+ type: PropType<import('../../index.ts').CLAlign>;
336
+ default: import('../../index.ts').CLAlign;
337
337
  };
338
338
  ariaLabel: {
339
339
  type: StringConstructor;
340
340
  };
341
341
  as: {
342
- type: PropType<import('../../types').ButtonTags>;
342
+ type: PropType<import('../../index.ts').CLButtonTags>;
343
343
  default: string;
344
344
  };
345
345
  borderRadius: {
@@ -363,7 +363,7 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
363
363
  type: StringConstructor;
364
364
  };
365
365
  forwardRef: {
366
- type: PropType<import('../../types').GenericFunction>;
366
+ type: PropType<import('../../index.ts').CLButtonForwardRefFunction>;
367
367
  };
368
368
  height: {
369
369
  type: StringConstructor;
@@ -401,8 +401,8 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
401
401
  default: CLSizes;
402
402
  };
403
403
  target: {
404
- type: PropType<import('../../types').LinkTarget>;
405
- default: import('../../types').LinkTarget;
404
+ type: PropType<import('../../index.ts').CLLinkTarget>;
405
+ default: import('../../index.ts').CLLinkTarget;
406
406
  };
407
407
  title: {
408
408
  type: StringConstructor;
@@ -412,8 +412,8 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
412
412
  default: string;
413
413
  };
414
414
  type: {
415
- type: PropType<import('../../types').ButtonTypes>;
416
- default: import('../../types').ButtonTypes;
415
+ type: PropType<import('../../index.ts').CLButtonTypes>;
416
+ default: import('../../index.ts').CLButtonTypes;
417
417
  };
418
418
  variant: {
419
419
  type: PropType<CLColorVariants>;
@@ -438,18 +438,18 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
438
438
  variant: CLColorVariants;
439
439
  elevated: boolean;
440
440
  testId: string;
441
- type: import('../../types').ButtonTypes;
441
+ type: import('../../index.ts').CLButtonTypes;
442
442
  busy: boolean;
443
443
  rounded: boolean;
444
444
  active: boolean;
445
- alignContent: import('../../types').Align;
446
- as: import('../../types').ButtonTags;
445
+ alignContent: import('../../index.ts').CLAlign;
446
+ as: import('../../index.ts').CLButtonTags;
447
447
  disabled: boolean;
448
448
  iconSize: CLIconSizes;
449
449
  iconAfterSize: CLIconSizes;
450
450
  pill: boolean;
451
451
  size: CLSizes;
452
- target: import('../../types').LinkTarget;
452
+ target: import('../../index.ts').CLLinkTarget;
453
453
  wrap: boolean;
454
454
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
455
455
  P: {};
@@ -464,14 +464,14 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
464
464
  default: boolean;
465
465
  };
466
466
  alignContent: {
467
- type: PropType<import('../../types').Align>;
468
- default: import('../../types').Align;
467
+ type: PropType<import('../../index.ts').CLAlign>;
468
+ default: import('../../index.ts').CLAlign;
469
469
  };
470
470
  ariaLabel: {
471
471
  type: StringConstructor;
472
472
  };
473
473
  as: {
474
- type: PropType<import('../../types').ButtonTags>;
474
+ type: PropType<import('../../index.ts').CLButtonTags>;
475
475
  default: string;
476
476
  };
477
477
  borderRadius: {
@@ -495,7 +495,7 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
495
495
  type: StringConstructor;
496
496
  };
497
497
  forwardRef: {
498
- type: PropType<import('../../types').GenericFunction>;
498
+ type: PropType<import('../../index.ts').CLButtonForwardRefFunction>;
499
499
  };
500
500
  height: {
501
501
  type: StringConstructor;
@@ -533,8 +533,8 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
533
533
  default: CLSizes;
534
534
  };
535
535
  target: {
536
- type: PropType<import('../../types').LinkTarget>;
537
- default: import('../../types').LinkTarget;
536
+ type: PropType<import('../../index.ts').CLLinkTarget>;
537
+ default: import('../../index.ts').CLLinkTarget;
538
538
  };
539
539
  title: {
540
540
  type: StringConstructor;
@@ -544,8 +544,8 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
544
544
  default: string;
545
545
  };
546
546
  type: {
547
- type: PropType<import('../../types').ButtonTypes>;
548
- default: import('../../types').ButtonTypes;
547
+ type: PropType<import('../../index.ts').CLButtonTypes>;
548
+ default: import('../../index.ts').CLButtonTypes;
549
549
  };
550
550
  variant: {
551
551
  type: PropType<CLColorVariants>;
@@ -570,18 +570,18 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
570
570
  variant: CLColorVariants;
571
571
  elevated: boolean;
572
572
  testId: string;
573
- type: import('../../types').ButtonTypes;
573
+ type: import('../../index.ts').CLButtonTypes;
574
574
  busy: boolean;
575
575
  rounded: boolean;
576
576
  active: boolean;
577
- alignContent: import('../../types').Align;
578
- as: import('../../types').ButtonTags;
577
+ alignContent: import('../../index.ts').CLAlign;
578
+ as: import('../../index.ts').CLButtonTags;
579
579
  disabled: boolean;
580
580
  iconSize: CLIconSizes;
581
581
  iconAfterSize: CLIconSizes;
582
582
  pill: boolean;
583
583
  size: CLSizes;
584
- target: import('../../types').LinkTarget;
584
+ target: import('../../index.ts').CLLinkTarget;
585
585
  wrap: boolean;
586
586
  }> | null;
587
587
  dropdownElem: HTMLDivElement;
@@ -1,4 +1,4 @@
1
- import { CLColorVariants, CLIconSizes, CLColors, CLToastPosition, CLToastProps } from '../../index';
1
+ import { CLColorVariants, CLIconSizes, CLColors, CLToastPosition, CLToastProps } from '../../index.ts';
2
2
  declare const _default: import('vue').DefineComponent<CLToastProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CLToastProps> & Readonly<{}>, {
3
3
  color: CLColors;
4
4
  width: string;
@@ -1,4 +1,4 @@
1
- import { CLColors, CLColorVariants } from '../../index';
1
+ import { CLColors, CLColorVariants } from '../../index.ts';
2
2
  interface ThemeProps {
3
3
  color: CLColors;
4
4
  variant: CLColorVariants;
@@ -1,4 +1,4 @@
1
- import { CLThemeConfig } from '../../index';
1
+ import { CLThemeConfig } from '../../../index';
2
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
3
  declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
4
4
  /** An HTML element used as the root element. The default tag used is `<div>`. */
@@ -1,4 +1,4 @@
1
- import { CLBorderRadius, CLColorVariants, CLMode, CLPalette, CLThemeConfig } from '../../index';
1
+ import { CLBorderRadius, CLColorVariants, CLMode, CLPalette, CLThemeConfig } from '../../../index.ts';
2
2
  export declare const DEFAULT_THEME: CLThemeConfig;
3
3
  type ColorMap = Record<CLColorVariants, Record<CLMode, ColorModesKeys>>;
4
4
  export interface ColorModesKeys {
@@ -22,21 +22,21 @@ export declare const setupTheme: (config?: CLThemeConfig) => void;
22
22
  export declare const useTheme: () => {
23
23
  borderRadius: globalThis.Ref<CLBorderRadius | undefined, CLBorderRadius | undefined>;
24
24
  colors: globalThis.Ref<{
25
- primary?: import('../../types').Shades | undefined;
26
- secondary?: import('../../types').Shades | undefined;
27
- neutral?: import('../../types').Shades | undefined;
28
- danger?: import('../../types').Shades | undefined;
29
- warning?: import('../../types').Shades | undefined;
30
- success?: import('../../types').Shades | undefined;
31
- info?: import('../../types').Shades | undefined;
25
+ primary?: import('../../../index.ts').CLShades | undefined;
26
+ secondary?: import('../../../index.ts').CLShades | undefined;
27
+ neutral?: import('../../../index.ts').CLShades | undefined;
28
+ danger?: import('../../../index.ts').CLShades | undefined;
29
+ warning?: import('../../../index.ts').CLShades | undefined;
30
+ success?: import('../../../index.ts').CLShades | undefined;
31
+ info?: import('../../../index.ts').CLShades | undefined;
32
32
  }, CLPalette | {
33
- primary?: import('../../types').Shades | undefined;
34
- secondary?: import('../../types').Shades | undefined;
35
- neutral?: import('../../types').Shades | undefined;
36
- danger?: import('../../types').Shades | undefined;
37
- warning?: import('../../types').Shades | undefined;
38
- success?: import('../../types').Shades | undefined;
39
- info?: import('../../types').Shades | undefined;
33
+ primary?: import('../../../index.ts').CLShades | undefined;
34
+ secondary?: import('../../../index.ts').CLShades | undefined;
35
+ neutral?: import('../../../index.ts').CLShades | undefined;
36
+ danger?: import('../../../index.ts').CLShades | undefined;
37
+ warning?: import('../../../index.ts').CLShades | undefined;
38
+ success?: import('../../../index.ts').CLShades | undefined;
39
+ info?: import('../../../index.ts').CLShades | undefined;
40
40
  }>;
41
41
  darkMode: globalThis.Ref<boolean | undefined, boolean | undefined>;
42
42
  fontFamily: globalThis.Ref<string | undefined, string | undefined>;
@@ -1,4 +1,4 @@
1
- import { CLColors, CLColorVariants, CLMode, CLPalette } from '../../index';
1
+ import { CLColors, CLColorVariants, CLMode, CLPalette } from '../../../index.ts';
2
2
  export declare const baseContentBox: () => string;
3
3
  interface BaseFormElementProps {
4
4
  backgroundColor?: string;
@@ -1,12 +1,12 @@
1
1
  import { Ref } from 'vue';
2
- import { CLToastPosition, CLToastProps } from '../../../index';
2
+ import { CLToastPosition, CLToastProps } from '../../../index.ts';
3
3
  interface Props {
4
4
  dismissTimer?: number;
5
5
  position?: CLToastPosition;
6
6
  }
7
7
  export interface CLToastProviderOutput {
8
8
  visible: Ref<boolean>;
9
- showToast: (toastProps: Omit<CLToastProps, 'onDismiss'>) => void;
9
+ showToast: (newToastProps: Omit<CLToastProps, 'onDismiss'>) => void;
10
10
  hideToast: () => void;
11
11
  }
12
12
  declare function __VLS_template(): {
@@ -1,4 +1,6 @@
1
+ import { default as CLThemeProvider } from './Theme/CLThemeProvider.vue';
1
2
  import { default as CLToastProvider } from './Toast/CLToastProvider.vue';
2
- export { CLToastProvider };
3
+ export { CLThemeProvider, CLToastProvider };
3
4
  export type { CLToastProviderOutput } from './Toast/CLToastProvider.vue';
5
+ export type CLThemeProvider = InstanceType<typeof CLThemeProvider>;
4
6
  export type CLToastProvider = InstanceType<typeof CLToastProvider>;
@@ -1,4 +1,4 @@
1
- import { CLBorderRadius, CLTableTypes } from '../../index';
1
+ import { CLBorderRadius, CLTableTypes } from '../../index.ts';
2
2
  export interface Props {
3
3
  /** When set to `true` adds borders to the entire table and its rows and columns. */
4
4
  bordered?: boolean;