@codeandfunction/callaloo 2.14.0 → 2.15.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.
- package/dist/assets/styles.css +1 -1
- package/dist/components/Indicators/CLBanner.vue.d.ts +1 -1
- package/dist/index.js +474 -451
- package/dist/types.d.ts +6 -2
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -4,6 +4,8 @@ export declare enum Align {
|
|
|
4
4
|
Right = "right"
|
|
5
5
|
}
|
|
6
6
|
export interface BannerProps {
|
|
7
|
+
/** The action label text to be displayed. */
|
|
8
|
+
actionLabel?: string;
|
|
7
9
|
/** Set the horizontal alignment of content. The property can be one of `CLAlign`, e.g. `CLAlign.Left` */
|
|
8
10
|
align?: Align;
|
|
9
11
|
/** Sets the aria-label on the banner if the `onClick` property has been set. It should be used when the `onClick` property has been set. */
|
|
@@ -20,6 +22,8 @@ export interface BannerProps {
|
|
|
20
22
|
height?: string;
|
|
21
23
|
/** The text to be displayed as the message. */
|
|
22
24
|
message?: string;
|
|
25
|
+
/** A callback function to handle click events */
|
|
26
|
+
onAction?: GenericFunction;
|
|
23
27
|
/** A callback function to handle click events. It should be used when in conjunction with the `ariaLabel` property. */
|
|
24
28
|
onClick?: GenericFunction;
|
|
25
29
|
/** A callback function to handle when the banner is dismissed. */
|
|
@@ -32,8 +36,8 @@ export interface BannerProps {
|
|
|
32
36
|
title?: string;
|
|
33
37
|
/** Sets the width of the Banner, it's default value is `100%`. */
|
|
34
38
|
width?: string;
|
|
35
|
-
/** Sets the color variant. The property can be
|
|
36
|
-
variant?: ColorVariants;
|
|
39
|
+
/** Sets the color variant. The property can be one of `ColorVariants.Ghost | ColorVariants.Outline | ColorVariants.Soft | ColorVariants.Solid`, e.g `CLColorVariants.Soft`. */
|
|
40
|
+
variant?: ColorVariants.Ghost | ColorVariants.Outline | ColorVariants.Soft | ColorVariants.Solid;
|
|
37
41
|
}
|
|
38
42
|
export type BlockTextHtmlTags = 'blockquote' | 'dd' | 'div' | 'dl' | 'dt' | 'figcaption' | 'figure' | 'hr' | 'li' | 'menu' | 'ol' | 'p' | 'pre' | 'ul';
|
|
39
43
|
export declare enum BorderRadius {
|