@codeandfunction/callaloo 3.10.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;