@codeandfunction/callaloo 3.9.0 → 3.10.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.
@@ -1,4 +1,4 @@
1
- import { CLBorderRadius, CLColors, CLGenericFunction, CLGenericFocusFunction, CLSizes } from '../../index';
1
+ import { CLBorderRadius, CLColors, CLColorVariants, CLGenericFunction, CLGenericFocusFunction, CLSizes } from '../../index';
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;
@@ -32,6 +32,8 @@ interface Props {
32
32
  testId?: string;
33
33
  /** Set the value for the checkbox when it's checked. */
34
34
  value?: string | number | boolean;
35
+ /** Sets the color variant. The property can be one of `CLColorVariants.Outline | CLColorVariants.Ghost`, e.g `CLColorVariants.Outline`. */
36
+ variant?: CLColorVariants.Outline | CLColorVariants.Ghost;
35
37
  /** A callback function which handles when the checkbox loses focus. */
36
38
  onBlur?: CLGenericFocusFunction;
37
39
  /** A callback function which handles when the checkbox is clicked. */
@@ -51,6 +53,7 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
51
53
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
52
54
  }>, {
53
55
  color: CLColors;
56
+ variant: CLColorVariants.Outline | CLColorVariants.Ghost;
54
57
  testId: string;
55
58
  rounded: boolean;
56
59
  size: CLSizes;
@@ -1,4 +1,4 @@
1
- import { CLColors, CLBorderRadius, CLGenericFunction, CLGenericFocusFunction, CLSizes } from '../../index';
1
+ import { CLBorderRadius, CLColors, CLColorVariants, CLGenericFunction, CLGenericFocusFunction, CLSizes } from '../../index';
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;
@@ -34,6 +34,8 @@ interface Props {
34
34
  testId?: string;
35
35
  /** Set the value for the radiobutton when it's checked. */
36
36
  value?: string | number | boolean;
37
+ /** Sets the color variant. The property can be one of `CLColorVariants.Outline | CLColorVariants.Ghost`, e.g `CLColorVariants.Outline`. */
38
+ variant?: CLColorVariants.Outline | CLColorVariants.Ghost;
37
39
  /** A callback function which handles when the radiobutton loses focus. */
38
40
  onBlur?: CLGenericFocusFunction;
39
41
  /** A callback function which handles when the radiobutton is clicked. */
@@ -53,6 +55,7 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
53
55
  "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
54
56
  }>, {
55
57
  color: CLColors;
58
+ variant: CLColorVariants.Outline | CLColorVariants.Ghost;
56
59
  testId: string;
57
60
  rounded: boolean;
58
61
  size: CLSizes;
@@ -6,7 +6,7 @@ interface ThemeProps {
6
6
  readonly?: boolean;
7
7
  variant?: CLColorVariants.Outline | CLColorVariants.Ghost;
8
8
  }
9
- export declare const checkboxTheme: ({ color, component, disabled }: ThemeProps) => string;
9
+ export declare const checkboxTheme: ({ color, component, disabled, variant }: ThemeProps) => string;
10
10
  export declare const inputTheme: ({ color, component, disabled, readonly, variant }: ThemeProps) => string;
11
11
  export declare const inputMessagesTheme: ({ color }: ThemeProps) => string;
12
12
  export declare const selectTheme: ({ color, disabled, variant }: ThemeProps) => string;
@@ -25,7 +25,7 @@ interface Props {
25
25
  /** Sets the max width of the modal, it's default value is `640px`. */
26
26
  maxWidth?: string;
27
27
  /** The z-index of the Modal. */
28
- zIndex?: number;
28
+ zIndex?: number | string;
29
29
  }
30
30
  declare function __VLS_template(): {
31
31
  attrs: Partial<{}>;
@@ -51,7 +51,7 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
51
51
  testId: string;
52
52
  close: boolean;
53
53
  isOpen: boolean;
54
- zIndex: number;
54
+ zIndex: number | string;
55
55
  closeBorderRadius: CLBorderRadius;
56
56
  dismissible: boolean;
57
57
  fullscreen: boolean;
@@ -41,7 +41,7 @@ interface Props {
41
41
  /** Sets the placement of the content container. The property can be one of `CLPlacement`, e.g. `CLPlacement.BottomStart`. */
42
42
  placement?: CLPlacement;
43
43
  /** Sets the z-index of the content container. */
44
- zIndex?: number;
44
+ zIndex?: number | string;
45
45
  }
46
46
  declare function __VLS_template(): {
47
47
  attrs: Partial<{}>;
@@ -324,7 +324,7 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
324
324
  contentWidth: string;
325
325
  isOpen: boolean;
326
326
  placement: CLPlacement;
327
- zIndex: number;
327
+ zIndex: number | string;
328
328
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
329
329
  anchor: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
330
330
  active: {