@codeandfunction/callaloo 2.22.3 → 3.0.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.
@@ -1,4 +1,4 @@
1
- import { CLAlign, CLBorderRadius, CLButtonTypes, CLButtonTags, CLColors, CLColorVariants, CLIconNames, CLIconSizes, CLLinkTarget, CLSizes } from '../../index';
1
+ import { CLAlign, CLBorderRadius, CLButtonTypes, CLButtonTags, CLColors, CLColorVariants, CLIconNames, CLIconSizes, CLLinkTarget, CLSizes, CLGenericFunction } from '../../index';
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: FunctionConstructor;
53
+ type: PropType<CLGenericFunction>;
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: FunctionConstructor;
186
+ type: PropType<CLGenericFunction>;
187
187
  };
188
188
  /** Sets the height of the button, it's default value is `auto`. */
189
189
  height: {
@@ -84,7 +84,7 @@ declare function __VLS_template(): {
84
84
  type: StringConstructor;
85
85
  };
86
86
  forwardRef: {
87
- type: FunctionConstructor;
87
+ type: PropType<import('../../types').GenericFunction>;
88
88
  };
89
89
  height: {
90
90
  type: StringConstructor;
@@ -216,7 +216,7 @@ declare function __VLS_template(): {
216
216
  type: StringConstructor;
217
217
  };
218
218
  forwardRef: {
219
- type: FunctionConstructor;
219
+ type: PropType<import('../../types').GenericFunction>;
220
220
  };
221
221
  height: {
222
222
  type: StringConstructor;
@@ -361,7 +361,7 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
361
361
  type: StringConstructor;
362
362
  };
363
363
  forwardRef: {
364
- type: FunctionConstructor;
364
+ type: PropType<import('../../types').GenericFunction>;
365
365
  };
366
366
  height: {
367
367
  type: StringConstructor;
@@ -493,7 +493,7 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
493
493
  type: StringConstructor;
494
494
  };
495
495
  forwardRef: {
496
- type: FunctionConstructor;
496
+ type: PropType<import('../../types').GenericFunction>;
497
497
  };
498
498
  height: {
499
499
  type: StringConstructor;
@@ -1,5 +1,9 @@
1
1
  import { Ref } from 'vue';
2
- import { CLToastProps } from '../../../index';
2
+ import { CLToastPosition, CLToastProps } from '../../../index';
3
+ interface Props {
4
+ dismissTimer?: number;
5
+ position?: CLToastPosition;
6
+ }
3
7
  export interface CLToastProviderOutput {
4
8
  visible: Ref<boolean>;
5
9
  showToast: (toastProps: Omit<CLToastProps, 'onDismiss'>) => void;
@@ -14,7 +18,7 @@ declare function __VLS_template(): {
14
18
  rootEl: HTMLDivElement;
15
19
  };
16
20
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
17
- declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
21
+ 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, {}, HTMLDivElement>;
18
22
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
19
23
  export default _default;
20
24
  type __VLS_WithTemplateSlots<T, S> = T & {