@codeandfunction/callaloo 1.18.9 → 2.0.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/README.md +2 -0
- package/package.json +53 -43
- package/dist/assets/index.css +0 -1
- package/dist/components/Assets/CLIcon.vue.d.ts +0 -13
- package/dist/components/Buttons/CLA11yButton.vue.d.ts +0 -37
- package/dist/components/Buttons/CLButton.vue.d.ts +0 -247
- package/dist/components/Buttons/utils.d.ts +0 -7
- package/dist/components/Containers/CLCard.vue.d.ts +0 -40
- package/dist/components/Containers/CLDisclosure.vue.d.ts +0 -75
- package/dist/components/Containers/Carousel/CLCarousel.vue.d.ts +0 -57
- package/dist/components/Containers/Carousel/CLCarouselNavigation.vue.d.ts +0 -21
- package/dist/components/Containers/Carousel/CLCarouselSlide.vue.d.ts +0 -17
- package/dist/components/Containers/utils.d.ts +0 -7
- package/dist/components/Form/CLCheckbox.vue.d.ts +0 -52
- package/dist/components/Form/CLFormField.vue.d.ts +0 -23
- package/dist/components/Form/CLInput.vue.d.ts +0 -85
- package/dist/components/Form/CLInputMessages.vue.d.ts +0 -10
- package/dist/components/Form/CLRadioButton.vue.d.ts +0 -52
- package/dist/components/Form/CLSelect.vue.d.ts +0 -58
- package/dist/components/Form/CLTextArea.vue.d.ts +0 -77
- package/dist/components/Form/utils.d.ts +0 -12
- package/dist/components/Indicators/CLBadge.vue.d.ts +0 -21
- package/dist/components/Indicators/CLBanner.vue.d.ts +0 -12
- package/dist/components/Indicators/CLPill.vue.d.ts +0 -26
- package/dist/components/Indicators/utils.d.ts +0 -8
- package/dist/components/Loading/CLSkeleton.vue.d.ts +0 -20
- package/dist/components/Loading/CLSpinner.vue.d.ts +0 -21
- package/dist/components/Loading/utils.d.ts +0 -6
- package/dist/components/Modals/CLModal.vue.d.ts +0 -44
- package/dist/components/Modals/utils.d.ts +0 -1
- package/dist/components/Navigation/CLLink.vue.d.ts +0 -45
- package/dist/components/Navigation/CLNavLink.vue.d.ts +0 -43
- package/dist/components/Navigation/CLNavSection.vue.d.ts +0 -17
- package/dist/components/Navigation/utils.d.ts +0 -7
- package/dist/components/Popups/CLDropdownMenu.vue.d.ts +0 -291
- package/dist/components/Popups/CLToast.vue.d.ts +0 -10
- package/dist/components/Popups/utils.d.ts +0 -4
- package/dist/components/Table/CLTable.vue.d.ts +0 -46
- package/dist/components/Table/CLTableBody.vue.d.ts +0 -17
- package/dist/components/Table/CLTableCell.vue.d.ts +0 -41
- package/dist/components/Table/CLTableFooter.vue.d.ts +0 -17
- package/dist/components/Table/CLTableHeader.vue.d.ts +0 -17
- package/dist/components/Table/CLTableNestedCell.vue.d.ts +0 -20
- package/dist/components/Table/CLTableRow.vue.d.ts +0 -22
- package/dist/components/Table/utils.d.ts +0 -1
- package/dist/components/Theme/CLThemeProvider.vue.d.ts +0 -22
- package/dist/components/Theme/base-theme.d.ts +0 -188
- package/dist/components/Theme/utils.d.ts +0 -21
- package/dist/components/Typography/CLHeading.vue.d.ts +0 -64
- package/dist/components/Typography/CLText.vue.d.ts +0 -87
- package/dist/components/Typography/utils.d.ts +0 -7
- package/dist/composables/useDropdown.d.ts +0 -14
- package/dist/composables/useEsc.d.ts +0 -9
- package/dist/constants.d.ts +0 -22
- package/dist/index.d.ts +0 -37
- package/dist/index.js +0 -8248
- package/dist/index.js.map +0 -1
- package/dist/types.d.ts +0 -565
- package/dist/utils/helper.d.ts +0 -16
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { CLBorderRadius, CLGenericFunction, CLGenericFocusFunction, CLMessageThemes, CLSizes, CLInputThemes } from '../../index';
|
|
2
|
-
interface Props {
|
|
3
|
-
/** Sets the aria-label on the input. It should be used when there is no label present. */
|
|
4
|
-
ariaLabel?: string;
|
|
5
|
-
/** The border radius size. The property can be one of `CLBorderRadius`, e.g. `CLBorderRadius.Medium`. */
|
|
6
|
-
borderRadius?: CLBorderRadius;
|
|
7
|
-
/** A `boolean` value which dictates the busy state of the radiobutton. */
|
|
8
|
-
busy?: boolean;
|
|
9
|
-
/** Set the checked state. */
|
|
10
|
-
checked?: boolean;
|
|
11
|
-
/** Set the disabled state. */
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
/** The form whom the radiobutton belongs to. Useful for when a radiobutton is not within a `form` element. */
|
|
14
|
-
form?: string;
|
|
15
|
-
/** A unique identifier, this is required. */
|
|
16
|
-
id: string;
|
|
17
|
-
/** The label text to be displayed which is associated to the radiobutton. */
|
|
18
|
-
label?: string;
|
|
19
|
-
/** An array of messages to be displayed. */
|
|
20
|
-
messages?: string[];
|
|
21
|
-
/** The message type. The property can be one of `CLThemes`, e.g. `CLThemes.Danger`. */
|
|
22
|
-
messageType?: CLMessageThemes;
|
|
23
|
-
/** A string representing name of the radiobutton. The name is submitted along with the radiobutton value when the form it belongs to is submitted. */
|
|
24
|
-
name: string;
|
|
25
|
-
/** Set the required state. */
|
|
26
|
-
required?: boolean;
|
|
27
|
-
/** When set to `false` it will not render with rounded corners. */
|
|
28
|
-
rounded?: boolean;
|
|
29
|
-
/** Sets the radiobutton size. The property can be one of `CLSizes`, e.g. `CLSizes.Medium`. */
|
|
30
|
-
size?: CLSizes;
|
|
31
|
-
/** Sets a custom ID used for unit tests. */
|
|
32
|
-
testId?: string;
|
|
33
|
-
/** Sets the style/theme. The property can be one of `CLThemes`, e.g. `CLThemes.Primary`. */
|
|
34
|
-
theme?: CLInputThemes;
|
|
35
|
-
/** Set the value for the radiobutton when it's checked. */
|
|
36
|
-
value?: string | number;
|
|
37
|
-
/** A callback function which handles when the radiobutton loses focus. */
|
|
38
|
-
onBlur?: CLGenericFocusFunction;
|
|
39
|
-
/** A callback function which handles when the radiobutton is clicked. */
|
|
40
|
-
onChange?: CLGenericFunction;
|
|
41
|
-
/** A callback function which handles when the radiobutton gains focus. */
|
|
42
|
-
onFocus?: CLGenericFocusFunction;
|
|
43
|
-
/** A callback function which handles when the radiobutton input state is updated. */
|
|
44
|
-
onInput?: CLGenericFunction;
|
|
45
|
-
}
|
|
46
|
-
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
47
|
-
rounded: boolean;
|
|
48
|
-
theme: CLInputThemes;
|
|
49
|
-
testId: string;
|
|
50
|
-
size: CLSizes;
|
|
51
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
52
|
-
export default _default;
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { CLBorderRadius, CLGenericFocusFunction, CLGenericFunction, CLInputThemes, CLMessageThemes, CLOption, CLOrientation, CLSizes } from '../../index';
|
|
2
|
-
interface Props {
|
|
3
|
-
/** Sets the aria-label on the input. It should be used when there is no label present. */
|
|
4
|
-
ariaLabel?: string;
|
|
5
|
-
/** The border radius size. The property can be one of `CLBorderRadius`, e.g. `CLBorderRadius.Medium`. */
|
|
6
|
-
borderRadius?: CLBorderRadius;
|
|
7
|
-
/** A `boolean` value which dictates the busy state of the select. */
|
|
8
|
-
busy?: boolean;
|
|
9
|
-
/** Set the disabled state. */
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
/** When set to true, sets the width of the select to 100% of it's parent. */
|
|
12
|
-
fluid?: boolean;
|
|
13
|
-
/** The form whom the select belongs to. Useful for when a select is not within a `form` element. */
|
|
14
|
-
form?: string;
|
|
15
|
-
/** A unique identifier, this is required. */
|
|
16
|
-
id: string;
|
|
17
|
-
/** The label text to be displayed which is associated to the select. */
|
|
18
|
-
label?: string;
|
|
19
|
-
/** An array of messages to be displayed. */
|
|
20
|
-
messages?: string[];
|
|
21
|
-
/** The message type. The property can be one of `CLThemes`, e.g. `CLThemes.Danger`. */
|
|
22
|
-
messageType?: CLMessageThemes;
|
|
23
|
-
/** A string representing name of the select. The name is submitted along with the select value when the form it belongs to is submitted. */
|
|
24
|
-
name: string;
|
|
25
|
-
/** Sets the label position to be above or to the left of the form element. The property can be one of `CLOrientation` */
|
|
26
|
-
orientation?: CLOrientation;
|
|
27
|
-
/** A list of options */
|
|
28
|
-
options: CLOption[];
|
|
29
|
-
/** Set the required state. */
|
|
30
|
-
required?: boolean;
|
|
31
|
-
/** When set to `false` it will not render with rounded corners. */
|
|
32
|
-
rounded?: boolean;
|
|
33
|
-
/** Sets the select size. The property can be one of `CLSizes`, e.g. `CLSizes.Medium`. */
|
|
34
|
-
size?: CLSizes;
|
|
35
|
-
/** Sets a custom ID used for unit tests. */
|
|
36
|
-
testId?: string;
|
|
37
|
-
/** Sets the style/theme. The property can be one of `CLThemes`, e.g. `CLThemes.Primary`. */
|
|
38
|
-
theme?: CLInputThemes;
|
|
39
|
-
/** Set the default value for the select. */
|
|
40
|
-
value?: string | number;
|
|
41
|
-
/** A callback function which handles when the select loses focus. */
|
|
42
|
-
onBlur?: CLGenericFocusFunction;
|
|
43
|
-
/** A callback function which handles when the select is clicked. */
|
|
44
|
-
onChange?: CLGenericFunction;
|
|
45
|
-
/** A callback function which handles when the select gains focus. */
|
|
46
|
-
onFocus?: CLGenericFocusFunction;
|
|
47
|
-
/** A callback function which handles when the select state is updated. */
|
|
48
|
-
onInput?: CLGenericFunction;
|
|
49
|
-
}
|
|
50
|
-
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
51
|
-
fluid: boolean;
|
|
52
|
-
rounded: boolean;
|
|
53
|
-
theme: CLInputThemes;
|
|
54
|
-
testId: string;
|
|
55
|
-
size: CLSizes;
|
|
56
|
-
orientation: CLOrientation;
|
|
57
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
58
|
-
export default _default;
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { CLBorderRadius, CLGenericFunction, CLGenericFocusFunction, CLMessageThemes, CLOrientation, CLSizes, CLInputThemes } from '../../index';
|
|
2
|
-
interface Props {
|
|
3
|
-
/** Sets the aria-label on the textarea. It should be used when there is no label present. */
|
|
4
|
-
ariaLabel?: string;
|
|
5
|
-
/** See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#autocomplete for more details. */
|
|
6
|
-
autoComplete?: boolean;
|
|
7
|
-
/** The border radius size. The property can be one of `CLBorderRadius`, e.g. `CLBorderRadius.Medium`. */
|
|
8
|
-
borderRadius?: CLBorderRadius;
|
|
9
|
-
/** A `boolean` value which dictates the busy state of the textarea. */
|
|
10
|
-
busy?: boolean;
|
|
11
|
-
/** Set the exact number of columns, to specify the size of the rendered textarea. */
|
|
12
|
-
cols?: number;
|
|
13
|
-
/** Set the disabled state. */
|
|
14
|
-
disabled?: boolean;
|
|
15
|
-
/** When set to true, sets the width of the TextArea to 100% of it's parent. */
|
|
16
|
-
fluid?: boolean;
|
|
17
|
-
/** The form whom the textarea belongs to. Useful for when a textarea is not within a `form` element. */
|
|
18
|
-
form?: string;
|
|
19
|
-
/** A unique identifier, this is required. */
|
|
20
|
-
id: string;
|
|
21
|
-
/** The label text to be displayed which is associated to the textarea. */
|
|
22
|
-
label?: string;
|
|
23
|
-
/** The maximum amount of characters allowed for entry. */
|
|
24
|
-
maxLength?: number;
|
|
25
|
-
/** The minimum amount of characters required for entry. */
|
|
26
|
-
minLength?: number;
|
|
27
|
-
/** An array of messages to be displayed. */
|
|
28
|
-
messages?: string[];
|
|
29
|
-
/** The message type. The property can be one of `CLThemes`, e.g. `CLThemes.Danger`. */
|
|
30
|
-
messageType?: CLMessageThemes;
|
|
31
|
-
/** A string representing name of the textarea. The name is submitted along with the textarea value when the form it belongs to is submitted. */
|
|
32
|
-
name: string;
|
|
33
|
-
/** Sets the label position to be above or to the left of the form element. The property can be one of `CLOrientation` */
|
|
34
|
-
orientation?: CLOrientation;
|
|
35
|
-
/** A regexp pattern that can be used for validation. */
|
|
36
|
-
pattern?: string;
|
|
37
|
-
/** The default text shown when there is no value. Useful for providing a hint of what type of textarea is expected. */
|
|
38
|
-
placeholder?: string;
|
|
39
|
-
/** When set to `true` the textarea cannot be edited. */
|
|
40
|
-
readonly?: boolean;
|
|
41
|
-
/** Set the required state. */
|
|
42
|
-
required?: boolean;
|
|
43
|
-
/** When set to `true` the textarea will be able to be resized. */
|
|
44
|
-
resizable?: boolean;
|
|
45
|
-
/** When set to `false` it will not render with rounded corners. */
|
|
46
|
-
rounded?: boolean;
|
|
47
|
-
/** Set the exact number of rows, to specify the size of the rendered textarea */
|
|
48
|
-
rows?: number;
|
|
49
|
-
/** Sets the textarea size. The property can be one of `CLSizes`, e.g. `CLSizes.Medium`. */
|
|
50
|
-
size?: CLSizes;
|
|
51
|
-
/** A hint provided to browsers that support it, whether or not to check for spelling errors. */
|
|
52
|
-
spellCheck?: boolean;
|
|
53
|
-
/** Sets a custom ID used for unit tests. */
|
|
54
|
-
testId?: string;
|
|
55
|
-
/** Sets the style/theme. The property can be one of `CLThemes`, e.g. `CLThemes.Primary`. */
|
|
56
|
-
theme?: CLInputThemes;
|
|
57
|
-
/** Set the value for the textarea when it's checked. */
|
|
58
|
-
value?: string | number;
|
|
59
|
-
/** A callback function which handles when the textarea loses focus. */
|
|
60
|
-
onBlur?: CLGenericFocusFunction;
|
|
61
|
-
/** A callback function which handles when the textarea value changes. */
|
|
62
|
-
onChange?: CLGenericFunction;
|
|
63
|
-
/** A callback function which handles when the textarea gains focus. */
|
|
64
|
-
onFocus?: CLGenericFocusFunction;
|
|
65
|
-
/** A callback function which handles when the textarea state is updated. */
|
|
66
|
-
onInput?: CLGenericFunction;
|
|
67
|
-
}
|
|
68
|
-
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
69
|
-
fluid: boolean;
|
|
70
|
-
rounded: boolean;
|
|
71
|
-
theme: CLInputThemes;
|
|
72
|
-
testId: string;
|
|
73
|
-
size: CLSizes;
|
|
74
|
-
orientation: CLOrientation;
|
|
75
|
-
resizable: boolean;
|
|
76
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
77
|
-
export default _default;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { CLThemes } from '../../index';
|
|
2
|
-
interface ThemeProps {
|
|
3
|
-
color: CLThemes;
|
|
4
|
-
component?: string;
|
|
5
|
-
disabled?: boolean;
|
|
6
|
-
readonly?: boolean;
|
|
7
|
-
}
|
|
8
|
-
export declare const checkboxTheme: ({ color, component, disabled }: ThemeProps) => string;
|
|
9
|
-
export declare const inputTheme: ({ color, component, disabled, readonly, }: ThemeProps) => string;
|
|
10
|
-
export declare const inputMessagesTheme: ({ color }: ThemeProps) => string;
|
|
11
|
-
export declare const selectTheme: ({ color, disabled }: ThemeProps) => string;
|
|
12
|
-
export {};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { CLBadgeThemes, CLBorderRadius } from '../../index';
|
|
2
|
-
export interface Props {
|
|
3
|
-
/** The border radius size. The property can be one of `CLBorderRadius`, e.g. `CLBorderRadius.Medium`. */
|
|
4
|
-
borderRadius?: CLBorderRadius;
|
|
5
|
-
/** The count to display in the Badge. */
|
|
6
|
-
label?: string | number;
|
|
7
|
-
/** The `elevated` property displays a shadow to indicate elevation. */
|
|
8
|
-
elevated?: boolean;
|
|
9
|
-
/** The maximum amount of characters to display. Once the amount characters goes beyond the limit, a plus sign is added after the displayed characters. */
|
|
10
|
-
limit?: number;
|
|
11
|
-
/** Sets a custom ID used for unit tests. */
|
|
12
|
-
testId?: string;
|
|
13
|
-
/** The theme of the Badge. The property can be one of `CLBadgeThemes`, e.g. `CLBadgeThemes.Default`. */
|
|
14
|
-
theme?: CLBadgeThemes;
|
|
15
|
-
}
|
|
16
|
-
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
17
|
-
theme: CLBadgeThemes;
|
|
18
|
-
testId: string;
|
|
19
|
-
elevated: boolean;
|
|
20
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
21
|
-
export default _default;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { CLAlign, CLBannerProps } from '../../index';
|
|
2
|
-
declare const _default: import('vue').DefineComponent<CLBannerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CLBannerProps> & Readonly<{}>, {
|
|
3
|
-
rounded: boolean;
|
|
4
|
-
theme: import('../../types').BannerThemes;
|
|
5
|
-
testId: string;
|
|
6
|
-
align: CLAlign;
|
|
7
|
-
bordered: boolean;
|
|
8
|
-
busy: boolean;
|
|
9
|
-
height: string;
|
|
10
|
-
width: string;
|
|
11
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
12
|
-
export default _default;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { CLGenericFunction, CLIconNames, CLPillThemes } from '../../index';
|
|
2
|
-
export interface Props {
|
|
3
|
-
/** The count to display in the Pill. */
|
|
4
|
-
count?: number;
|
|
5
|
-
/** The `elevated` property displays a shadow to indicate elevation. */
|
|
6
|
-
elevated?: boolean;
|
|
7
|
-
/** Sets the icon which is positioned before the Pill's label. */
|
|
8
|
-
icon?: CLIconNames;
|
|
9
|
-
/** The text to be displayed as the label. */
|
|
10
|
-
label: string;
|
|
11
|
-
/** A callback function to handle click events. */
|
|
12
|
-
onClick?: CLGenericFunction;
|
|
13
|
-
/** When set to `false` it will not render a Pill with rounded corners. */
|
|
14
|
-
rounded?: boolean;
|
|
15
|
-
/** Sets a custom ID used for unit tests. */
|
|
16
|
-
testId?: string;
|
|
17
|
-
/** The theme of the Pill. The property can be one of `CLPillThemes`, e.g. `CLPillThemes.Default`. */
|
|
18
|
-
theme?: CLPillThemes;
|
|
19
|
-
}
|
|
20
|
-
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
21
|
-
rounded: boolean;
|
|
22
|
-
theme: CLPillThemes;
|
|
23
|
-
testId: string;
|
|
24
|
-
elevated: boolean;
|
|
25
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
26
|
-
export default _default;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { CLThemes } from '../../index';
|
|
2
|
-
interface ThemeProps {
|
|
3
|
-
color: CLThemes;
|
|
4
|
-
}
|
|
5
|
-
export declare const badgeTheme: ({ color }: ThemeProps) => string;
|
|
6
|
-
export declare const bannerTheme: ({ color }: ThemeProps) => string;
|
|
7
|
-
export declare const pillTheme: ({ color }: ThemeProps) => string;
|
|
8
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { CLBorderRadius } from '../../index';
|
|
2
|
-
export interface Props {
|
|
3
|
-
/** The border radius size. The property can be one of `CLBorderRadius`, e.g. `CLBorderRadius.Medium`. */
|
|
4
|
-
borderRadius?: CLBorderRadius;
|
|
5
|
-
/** Sets the height of the Skeleton, it's default value is `100%`. */
|
|
6
|
-
height?: string;
|
|
7
|
-
/** When set to `false` it will not render with rounded corners. */
|
|
8
|
-
rounded?: boolean;
|
|
9
|
-
/** Sets a custom ID used for unit tests. */
|
|
10
|
-
testId?: string;
|
|
11
|
-
/** Sets the width of the Skeleton, it's default value is `100%`. */
|
|
12
|
-
width?: string;
|
|
13
|
-
}
|
|
14
|
-
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
15
|
-
rounded: boolean;
|
|
16
|
-
testId: string;
|
|
17
|
-
height: string;
|
|
18
|
-
width: string;
|
|
19
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
20
|
-
export default _default;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { CLAlign, CLPosition, CLSpinnerThemes, CLSizes } from '../../index';
|
|
2
|
-
export interface Props {
|
|
3
|
-
/** Set the horizontal alignment of the Spinner on the page. The property can be one of `CLAlign`, e.g. `CLAlign.Left` */
|
|
4
|
-
align?: CLAlign;
|
|
5
|
-
/** Sets the css display property of the Spinner. The property can be one of `CLPosition`, e.g. `CLPosition.Absolute` */
|
|
6
|
-
position?: CLPosition;
|
|
7
|
-
/** Sets the size of the Spinner. The property can be one of `CLSizes`, e.g. `CLSizes.Medium` */
|
|
8
|
-
size?: CLSizes;
|
|
9
|
-
/** Sets a custom ID used for unit tests. */
|
|
10
|
-
testId?: string;
|
|
11
|
-
/** Sets the theme of the Spinner. The property can be one of `CLSpinnerThemes`, e.g. `CLSpinnerThemes.Primary` */
|
|
12
|
-
theme?: CLSpinnerThemes;
|
|
13
|
-
}
|
|
14
|
-
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
15
|
-
theme: CLSpinnerThemes;
|
|
16
|
-
testId: string;
|
|
17
|
-
align: CLAlign;
|
|
18
|
-
size: CLSizes;
|
|
19
|
-
position: CLPosition;
|
|
20
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
21
|
-
export default _default;
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { CLBorderRadius, CLGenericFunction } from '../../index';
|
|
2
|
-
interface Props {
|
|
3
|
-
/** The border radius size. The property can be one of `CLBorderRadius`, e.g. `CLBorderRadius.Medium`. */
|
|
4
|
-
borderRadius?: CLBorderRadius;
|
|
5
|
-
/** When set to `true`, the Modal spans the available width and height of the page. */
|
|
6
|
-
fullscreen?: boolean;
|
|
7
|
-
/** When set to `true`, the Modal is visible. */
|
|
8
|
-
isOpen?: boolean;
|
|
9
|
-
/** A callback function to be called when the Modal is closed. */
|
|
10
|
-
onClose?: CLGenericFunction;
|
|
11
|
-
/** Sets a custom ID used for unit tests. */
|
|
12
|
-
testId?: string;
|
|
13
|
-
/** The title content of the Modal. */
|
|
14
|
-
title?: string;
|
|
15
|
-
/** The z-index of the Modal. */
|
|
16
|
-
zIndex?: number;
|
|
17
|
-
}
|
|
18
|
-
declare function __VLS_template(): {
|
|
19
|
-
attrs: Partial<{}>;
|
|
20
|
-
slots: {
|
|
21
|
-
header?(_: {}): any;
|
|
22
|
-
body?(_: {}): any;
|
|
23
|
-
footer?(_: {}): any;
|
|
24
|
-
};
|
|
25
|
-
refs: {
|
|
26
|
-
modalWindow: HTMLDivElement;
|
|
27
|
-
};
|
|
28
|
-
rootEl: any;
|
|
29
|
-
};
|
|
30
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
31
|
-
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
32
|
-
testId: string;
|
|
33
|
-
borderRadius: CLBorderRadius;
|
|
34
|
-
isOpen: boolean;
|
|
35
|
-
zIndex: number;
|
|
36
|
-
fullscreen: boolean;
|
|
37
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
38
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
39
|
-
export default _default;
|
|
40
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
41
|
-
new (): {
|
|
42
|
-
$slots: S;
|
|
43
|
-
};
|
|
44
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const modalTheme: () => string;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { CLLinkTarget, CLSimpleThemes, CLGenericFunction } from '../../index';
|
|
2
|
-
export interface Props {
|
|
3
|
-
/** Sets the aria-label on the Link element. */
|
|
4
|
-
ariaLabel?: string;
|
|
5
|
-
/** Sets the external attribute on the Link element. If set, it adds an icon indicating that the link will open a new tab/window. */
|
|
6
|
-
external?: boolean;
|
|
7
|
-
/** Sets the href attribute on the Link element. */
|
|
8
|
-
href?: string;
|
|
9
|
-
/** A callback function to handle click events. */
|
|
10
|
-
onClick?: CLGenericFunction;
|
|
11
|
-
/** Sets the rel attribute on the Link element. */
|
|
12
|
-
rel?: string;
|
|
13
|
-
/** Sets the target attribute on the Link element. The property can be one of `CLLinkTarget`, e.g. `CLLinkTarget.Self` */
|
|
14
|
-
target?: CLLinkTarget;
|
|
15
|
-
/** Sets a custom ID used for unit tests. */
|
|
16
|
-
testId?: string;
|
|
17
|
-
/** Sets the theme of the Link element. The property can be one of `CLSimpleThemes`, e.g. `CLThemes.Default` */
|
|
18
|
-
theme?: CLSimpleThemes;
|
|
19
|
-
/** When set to `true`, it adds an underline to the link. */
|
|
20
|
-
underline?: boolean;
|
|
21
|
-
}
|
|
22
|
-
declare function __VLS_template(): {
|
|
23
|
-
attrs: Partial<{}>;
|
|
24
|
-
slots: {
|
|
25
|
-
default?(_: {}): any;
|
|
26
|
-
};
|
|
27
|
-
refs: {};
|
|
28
|
-
rootEl: HTMLAnchorElement;
|
|
29
|
-
};
|
|
30
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
31
|
-
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
32
|
-
theme: CLSimpleThemes;
|
|
33
|
-
testId: string;
|
|
34
|
-
target: CLLinkTarget;
|
|
35
|
-
external: boolean;
|
|
36
|
-
rel: string;
|
|
37
|
-
underline: boolean;
|
|
38
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLAnchorElement>;
|
|
39
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
40
|
-
export default _default;
|
|
41
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
42
|
-
new (): {
|
|
43
|
-
$slots: S;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { CLLinkTarget, CLSimpleThemes, CLGenericFunction } from '../../index';
|
|
2
|
-
export interface Props {
|
|
3
|
-
/** Sets the aria-label on the NavLink element. */
|
|
4
|
-
ariaLabel?: string;
|
|
5
|
-
/** Sets the external attribute on the NavLink element. If set, it adds an icon indicating that the link will open a new tab/window. */
|
|
6
|
-
external?: boolean;
|
|
7
|
-
/** Sets the href attribute on the Link element. */
|
|
8
|
-
href?: string;
|
|
9
|
-
/** Sets the unique ID of the NavLink element. */
|
|
10
|
-
id?: string;
|
|
11
|
-
/** A callback function to handle click events. */
|
|
12
|
-
onClick?: CLGenericFunction;
|
|
13
|
-
/** Sets the rel attribute on the NavLink element. */
|
|
14
|
-
rel?: string;
|
|
15
|
-
/** Sets the target attribute on the NavLink element. The property can be one of `CLLinkTarget`, e.g. `CLLinkTarget.Self` */
|
|
16
|
-
target?: CLLinkTarget;
|
|
17
|
-
/** Sets a custom ID used for unit tests. */
|
|
18
|
-
testId?: string;
|
|
19
|
-
/** Sets the theme of the NavLink element. The property can be one of `CLSimpleThemes`, e.g. `CLThemes.Default` */
|
|
20
|
-
theme?: CLSimpleThemes;
|
|
21
|
-
}
|
|
22
|
-
declare function __VLS_template(): {
|
|
23
|
-
attrs: Partial<{}>;
|
|
24
|
-
slots: {
|
|
25
|
-
default?(_: {}): any;
|
|
26
|
-
};
|
|
27
|
-
refs: {};
|
|
28
|
-
rootEl: HTMLAnchorElement;
|
|
29
|
-
};
|
|
30
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
31
|
-
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
32
|
-
theme: CLSimpleThemes;
|
|
33
|
-
testId: string;
|
|
34
|
-
external: boolean;
|
|
35
|
-
rel: string;
|
|
36
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLAnchorElement>;
|
|
37
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
38
|
-
export default _default;
|
|
39
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
40
|
-
new (): {
|
|
41
|
-
$slots: S;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { CLNavItem, CLOrientation, CLSimpleThemes } from '../../index';
|
|
2
|
-
export interface Props {
|
|
3
|
-
/** An array of `CLNavItem` objects that will be rendered as a list of navigation items. */
|
|
4
|
-
navItems: CLNavItem[];
|
|
5
|
-
/** Sets a custom ID used for unit tests. */
|
|
6
|
-
testId?: string;
|
|
7
|
-
/** Sets the theme of the navigation section. The property can be one of `CLSimpleThemes`, e.g. `CLThemes.Default` */
|
|
8
|
-
theme?: CLSimpleThemes;
|
|
9
|
-
/** Sets the orientation of the navigation section. The property can be one of `CLOrientation`, e.g. `CLOrientation.Horizontal` */
|
|
10
|
-
type?: CLOrientation;
|
|
11
|
-
}
|
|
12
|
-
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
13
|
-
theme: CLSimpleThemes;
|
|
14
|
-
testId: string;
|
|
15
|
-
type: CLOrientation;
|
|
16
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLUListElement>;
|
|
17
|
-
export default _default;
|