@codeandfunction/callaloo 5.6.0 → 5.6.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.
@@ -27,9 +27,9 @@ export interface CLButtonProps {
27
27
  /** Sets the href attribute on the button element. This is useful when the button acts as a link. */
28
28
  href?: string;
29
29
  /** Sets the icon which is positioned after the button's slot content. */
30
- iconAfter?: CLIconNames;
30
+ iconAfter?: CLIconNames | null;
31
31
  /** Sets the icon which is positioned before the button's slot content. */
32
- iconBefore?: CLIconNames;
32
+ iconBefore?: CLIconNames | null;
33
33
  /** A boolean value which dictates whether icons should be filled. */
34
34
  iconFilled?: boolean;
35
35
  /** Sets the icon size for both `iconBefore` and `iconAfter`. The property can be one of `CLIconSizes`, e.g. `CLIconSizes.Medium`. */
@@ -82,8 +82,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<CL
82
82
  disabled: boolean;
83
83
  elevated: boolean;
84
84
  forwardRef: CLButtonForwardRefFunction;
85
- iconAfter: CLIconNames;
86
- iconBefore: CLIconNames;
85
+ iconAfter: CLIconNames | null;
86
+ iconBefore: CLIconNames | null;
87
87
  pill: boolean;
88
88
  wrap: boolean;
89
89
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
@@ -35,8 +35,8 @@ export interface CLDropdownMenuProps {
35
35
  /** When set to `true`, sets the width of the menu container to 100% of its parent. */
36
36
  fluid?: boolean;
37
37
  /** Sets the icon to be displayed after the anchor button label. The property can be one of `CLIconNames`, e.g. `CLIconNames.ChevronDown`. */
38
- iconAfter?: CLIconNames;
39
- /** Sets the icon to be displayed before the anchor button label. The property can be one of `CLIconNames`, e.g. `CLIconNames.Menu`. */
38
+ iconAfter?: CLIconNames | null;
39
+ /** Sets the icon to be displayed before the anchor button label. The property can be one of `CLIconNames`, e.g. `CLIconNames.Menu`. Set to `null` to hide the icon. */
40
40
  iconBefore?: CLIconNames;
41
41
  /** Sets the size of icons displayed before and after the anchor button label. The property can be one of `CLIconSizes`, e.g. `CLIconSizes.Tiny`. */
42
42
  iconSize?: CLIconSizes;
@@ -62,7 +62,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<CL
62
62
  fluid: boolean;
63
63
  testId: string;
64
64
  iconSize: CLIconSizes;
65
- iconAfter: CLIconNames;
65
+ iconAfter: CLIconNames | null;
66
66
  isOpen: boolean;
67
67
  zIndex: number | string;
68
68
  placement: CLPlacement;
@@ -93,8 +93,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<CL
93
93
  readonly forwardRef?: import('../../../types').CLButtonForwardRefFunction | undefined;
94
94
  readonly height?: string | undefined;
95
95
  readonly href?: string | undefined;
96
- readonly iconAfter?: CLIconNames | undefined;
97
- readonly iconBefore?: CLIconNames | undefined;
96
+ readonly iconAfter?: (CLIconNames | null) | undefined;
97
+ readonly iconBefore?: (CLIconNames | null) | undefined;
98
98
  readonly iconFilled?: boolean | undefined;
99
99
  readonly iconSize?: CLIconSizes | undefined;
100
100
  readonly onClick?: ((event?: Event) => void) | undefined;
@@ -150,8 +150,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<CL
150
150
  disabled: boolean;
151
151
  elevated: boolean;
152
152
  forwardRef: import('../../../types').CLButtonForwardRefFunction;
153
- iconAfter: CLIconNames;
154
- iconBefore: CLIconNames;
153
+ iconAfter: CLIconNames | null;
154
+ iconBefore: CLIconNames | null;
155
155
  pill: boolean;
156
156
  wrap: boolean;
157
157
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
@@ -199,8 +199,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<CL
199
199
  disabled: boolean;
200
200
  elevated: boolean;
201
201
  forwardRef: import('../../../types').CLButtonForwardRefFunction;
202
- iconAfter: CLIconNames;
203
- iconBefore: CLIconNames;
202
+ iconAfter: CLIconNames | null;
203
+ iconBefore: CLIconNames | null;
204
204
  pill: boolean;
205
205
  wrap: boolean;
206
206
  }> & Omit<Readonly<import('../../Buttons/CLButton/CLButton.vue').CLButtonProps> & Readonly<{}>, "size" | "color" | "variant" | "rounded" | "testId" | "type" | "form" | "title" | "onClick" | "target" | "width" | "height" | "borderRadius" | "iconFilled" | "iconSize" | "href" | "active" | "alignContent" | "ariaLabel" | "as" | "busy" | "disabled" | "elevated" | "forwardRef" | "iconAfter" | "iconBefore" | "pill" | "wrap"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
package/package.json CHANGED
@@ -17,7 +17,7 @@
17
17
  "ui components",
18
18
  "vuejs"
19
19
  ],
20
- "version": "5.6.0",
20
+ "version": "5.6.1",
21
21
  "license": "MIT",
22
22
  "type": "module",
23
23
  "unpkg": "dist/callaloo.global.js",