@codeandfunction/callaloo 2.13.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.
|
@@ -3,7 +3,7 @@ declare const _default: import('vue').DefineComponent<CLBannerProps, {}, {}, {},
|
|
|
3
3
|
color: CLColors;
|
|
4
4
|
width: string;
|
|
5
5
|
height: string;
|
|
6
|
-
variant: CLColorVariants;
|
|
6
|
+
variant: CLColorVariants.Ghost | CLColorVariants.Outline | CLColorVariants.Soft | CLColorVariants.Solid;
|
|
7
7
|
testId: string;
|
|
8
8
|
align: CLAlign;
|
|
9
9
|
bordered: boolean;
|
|
@@ -2,12 +2,20 @@ import { CLBorderRadius, CLGenericFunction } from '../../index';
|
|
|
2
2
|
interface Props {
|
|
3
3
|
/** The border radius size. The property can be one of `CLBorderRadius`, e.g. `CLBorderRadius.Medium`. */
|
|
4
4
|
borderRadius?: CLBorderRadius;
|
|
5
|
+
/** Display a close button to dismiss the modal. It's default value is `true`. */
|
|
6
|
+
close?: boolean;
|
|
7
|
+
/** The border radius size of the close button. The property can be one of `CLBorderRadius`, e.g. `CLBorderRadius.Full`. */
|
|
8
|
+
closeBorderRadius?: CLBorderRadius;
|
|
9
|
+
/** When `false,` the modal will not close when clicking outside or pressing escape. It's default value is `true`. */
|
|
10
|
+
dismissible?: boolean;
|
|
5
11
|
/** When set to `true`, the Modal spans the available width and height of the page. */
|
|
6
12
|
fullscreen?: boolean;
|
|
7
13
|
/** When set to `true`, the Modal is visible. */
|
|
8
14
|
isOpen?: boolean;
|
|
9
15
|
/** A callback function to be called when the Modal is closed. */
|
|
10
16
|
onClose?: CLGenericFunction;
|
|
17
|
+
/** When set to `true`, it renders an overlay behind the modal. It's default value is `true`. */
|
|
18
|
+
overlay?: boolean;
|
|
11
19
|
/** Sets a custom ID used for unit tests. */
|
|
12
20
|
testId?: string;
|
|
13
21
|
/** The title content of the Modal. */
|
|
@@ -32,9 +40,13 @@ declare function __VLS_template(): {
|
|
|
32
40
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
33
41
|
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
34
42
|
testId: string;
|
|
43
|
+
close: boolean;
|
|
35
44
|
isOpen: boolean;
|
|
36
45
|
zIndex: number;
|
|
46
|
+
closeBorderRadius: CLBorderRadius;
|
|
47
|
+
dismissible: boolean;
|
|
37
48
|
fullscreen: boolean;
|
|
49
|
+
overlay: boolean;
|
|
38
50
|
maxWidth: string;
|
|
39
51
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
40
52
|
modalWindow: HTMLDivElement;
|