@codeandfunction/callaloo 3.12.1 → 3.12.3
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/chunks/icons.hu757pLK.js +5 -0
- package/dist/components/Assets/{CLIcon.vue.d.ts → CLIcon/CLIcon.vue.d.ts} +4 -3
- package/dist/components/Assets/CLIcon/index.d.ts +4 -0
- package/dist/components/Assets/index.d.ts +1 -2
- package/dist/components/Buttons/{CLA11yButton.vue.d.ts → CLA11yButton/CLA11yButton.vue.d.ts} +8 -17
- package/dist/components/Buttons/CLA11yButton/index.d.ts +4 -0
- package/dist/components/Buttons/CLButton/CLButton.vue.d.ts +99 -0
- package/dist/components/Buttons/CLButton/index.d.ts +4 -0
- package/dist/components/Buttons/index.d.ts +2 -4
- package/dist/components/Containers/CLCard/CLCard.vue.d.ts +105 -0
- package/dist/components/Containers/CLCard/index.d.ts +4 -0
- package/dist/components/Containers/{Carousel → CLCarousel}/CLCarousel.vue.d.ts +9 -20
- package/dist/components/Containers/CLCarousel/CLCarouselNavigation.vue.d.ts +37 -0
- package/dist/components/Containers/CLCarousel/index.d.ts +11 -0
- package/dist/components/Containers/CLDisclosure/CLDisclosure.vue.d.ts +70 -0
- package/dist/components/Containers/CLDisclosure/index.d.ts +4 -0
- package/dist/components/Containers/index.d.ts +3 -9
- package/dist/components/Form/{CLCheckbox.vue.d.ts → CLCheckbox/CLCheckbox.vue.d.ts} +26 -13
- package/dist/components/Form/CLCheckbox/index.d.ts +4 -0
- package/dist/components/Form/{CLInput.vue.d.ts → CLInput/CLInput.vue.d.ts} +42 -17
- package/dist/components/Form/CLInput/index.d.ts +4 -0
- package/dist/components/Form/{CLRadioButton.vue.d.ts → CLRadioButton/CLRadioButton.vue.d.ts} +9 -9
- package/dist/components/Form/CLRadioButton/index.d.ts +4 -0
- package/dist/components/Form/{CLSelect.vue.d.ts → CLSelect/CLSelect.vue.d.ts} +9 -9
- package/dist/components/Form/CLSelect/index.d.ts +4 -0
- package/dist/components/Form/{CLTextArea.vue.d.ts → CLTextArea/CLTextArea.vue.d.ts} +18 -18
- package/dist/components/Form/CLTextArea/index.d.ts +4 -0
- package/dist/components/Form/index.d.ts +5 -10
- package/dist/components/Indicators/{CLBadge.vue.d.ts → CLBadge/CLBadge.vue.d.ts} +6 -6
- package/dist/components/Indicators/CLBadge/index.d.ts +4 -0
- package/dist/components/Indicators/CLBanner/CLBanner.vue.d.ts +49 -0
- package/dist/components/Indicators/CLBanner/index.d.ts +4 -0
- package/dist/components/Indicators/{CLPill.vue.d.ts → CLPill/CLPill.vue.d.ts} +4 -4
- package/dist/components/Indicators/CLPill/index.d.ts +4 -0
- package/dist/components/Indicators/CLProgress/CLProgress.vue.d.ts +32 -0
- package/dist/components/Indicators/CLProgress/index.d.ts +4 -0
- package/dist/components/Indicators/index.d.ts +4 -9
- package/dist/components/Loading/{CLSkeleton.vue.d.ts → CLSkeleton/CLSkeleton.vue.d.ts} +3 -3
- package/dist/components/Loading/CLSkeleton/index.d.ts +4 -0
- package/dist/components/Loading/{CLSpinner.vue.d.ts → CLSpinner/CLSpinner.vue.d.ts} +4 -4
- package/dist/components/Loading/CLSpinner/index.d.ts +4 -0
- package/dist/components/Loading/index.d.ts +2 -4
- package/dist/components/Modals/{CLModal.vue.d.ts → CLModal/CLModal.vue.d.ts} +16 -24
- package/dist/components/Modals/CLModal/index.d.ts +4 -0
- package/dist/components/Modals/index.d.ts +1 -2
- package/dist/components/Navigation/{CLLink.vue.d.ts → CLLink/CLLink.vue.d.ts} +6 -14
- package/dist/components/Navigation/CLLink/index.d.ts +4 -0
- package/dist/components/Navigation/{CLNavLink.vue.d.ts → CLNavLink/CLNavLink.vue.d.ts} +10 -14
- package/dist/components/Navigation/CLNavLink/index.d.ts +4 -0
- package/dist/components/Navigation/{CLNavSection.vue.d.ts → CLNavSection/CLNavSection.vue.d.ts} +3 -3
- package/dist/components/Navigation/CLNavSection/index.d.ts +4 -0
- package/dist/components/Navigation/index.d.ts +3 -6
- package/dist/components/Popups/CLDropdownMenu/CLDropdownMenu.vue.d.ts +204 -0
- package/dist/components/Popups/CLDropdownMenu/index.d.ts +4 -0
- package/dist/components/Popups/{CLToast.vue.d.ts → CLToast/CLToast.vue.d.ts} +1 -1
- package/dist/components/Popups/CLToast/index.d.ts +4 -0
- package/dist/components/Popups/index.d.ts +2 -5
- package/dist/components/Table/CLTable.vue.d.ts +5 -13
- package/dist/components/Table/CLTableCell.vue.d.ts +8 -16
- package/dist/components/Table/CLTableNestedCell.vue.d.ts +5 -12
- package/dist/components/Table/CLTableRow.vue.d.ts +4 -12
- package/dist/components/Table/index.d.ts +32 -15
- package/dist/components/Typography/CLHeading/CLHeading.vue.d.ts +33 -0
- package/dist/components/Typography/CLHeading/index.d.ts +4 -0
- package/dist/components/Typography/CLText/CLText.vue.d.ts +43 -0
- package/dist/components/Typography/CLText/index.d.ts +4 -0
- package/dist/components/Typography/index.d.ts +2 -5
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3237 -3353
- package/dist/stats.json +3210 -0
- package/dist/types.d.ts +14 -114
- package/package.json +11 -5
- package/dist/components/Buttons/CLButton.vue.d.ts +0 -288
- package/dist/components/Containers/CLCard.vue.d.ts +0 -51
- package/dist/components/Containers/CLDisclosure.vue.d.ts +0 -77
- package/dist/components/Containers/Carousel/CLCarouselNavigation.vue.d.ts +0 -22
- package/dist/components/Indicators/CLBanner.vue.d.ts +0 -13
- package/dist/components/Indicators/Progress/CLProgress.vue.d.ts +0 -45
- package/dist/components/Popups/CLDropdownMenu.vue.d.ts +0 -595
- package/dist/components/Typography/CLHeading.vue.d.ts +0 -85
- package/dist/components/Typography/CLText.vue.d.ts +0 -119
- /package/dist/components/Containers/{Carousel → CLCarousel}/CLCarouselSlide.vue.d.ts +0 -0
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import { CLCheckbox } from './CLCheckbox';
|
|
2
|
+
import { CLInput } from './CLInput';
|
|
3
|
+
import { CLRadioButton } from './CLRadioButton';
|
|
4
|
+
import { CLSelect } from './CLSelect';
|
|
5
|
+
import { CLTextArea } from './CLTextArea';
|
|
6
6
|
export { CLCheckbox, CLInput, CLRadioButton, CLSelect, CLTextArea };
|
|
7
|
-
export type CLCheckbox = InstanceType<typeof CLCheckbox>;
|
|
8
|
-
export type CLInput = InstanceType<typeof CLInput>;
|
|
9
|
-
export type CLRadioButton = InstanceType<typeof CLRadioButton>;
|
|
10
|
-
export type CLSelect = InstanceType<typeof CLSelect>;
|
|
11
|
-
export type CLTextArea = InstanceType<typeof CLTextArea>;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { CLBorderRadius, CLColors, CLColorVariants } from '
|
|
2
|
-
export interface
|
|
1
|
+
import { CLBorderRadius, CLColors, CLColorVariants } from '../../../index.ts';
|
|
2
|
+
export interface CLBadgeProps {
|
|
3
3
|
/** The border radius size. The property can be one of `CLBorderRadius`, e.g. `CLBorderRadius.Medium`. */
|
|
4
4
|
borderRadius?: CLBorderRadius;
|
|
5
5
|
/** Sets the color of the Badge. The property can be one of `CLColors`, e.g. `CLColors.Primary`. */
|
|
6
6
|
color?: CLColors;
|
|
7
|
-
/** The count to display in the Badge. */
|
|
8
|
-
label: string | number;
|
|
9
7
|
/** The `elevated` property displays a shadow to indicate elevation. */
|
|
10
8
|
elevated?: boolean;
|
|
9
|
+
/** The count to display in the Badge. */
|
|
10
|
+
label: string | number;
|
|
11
11
|
/** The maximum amount of characters to display. Once the amount characters goes beyond the limit, a plus sign is added after the displayed characters. */
|
|
12
12
|
limit?: number;
|
|
13
13
|
/** Sets a custom ID used for unit tests. */
|
|
14
14
|
testId?: string;
|
|
15
|
-
/** Sets the color variant. The property can be
|
|
15
|
+
/** Sets the color variant. The property can be one of `CLColorVariants`, e.g `CLColorVariants.Soft`. */
|
|
16
16
|
variant?: CLColorVariants;
|
|
17
17
|
}
|
|
18
|
-
declare const _default: import('vue').DefineComponent<
|
|
18
|
+
declare const _default: import('vue').DefineComponent<CLBadgeProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CLBadgeProps> & Readonly<{}>, {
|
|
19
19
|
color: CLColors;
|
|
20
20
|
variant: CLColorVariants;
|
|
21
21
|
elevated: boolean;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { CLAlign, CLBorderRadius, CLColors, CLColorVariants, CLGenericFunction } from '../../../index.ts';
|
|
2
|
+
export interface CLBannerProps {
|
|
3
|
+
/** The action label text to be displayed. */
|
|
4
|
+
actionLabel?: string;
|
|
5
|
+
/** Set the horizontal alignment of content. The property can be one of `CLAlign`, e.g. `CLAlign.Left` */
|
|
6
|
+
align?: CLAlign;
|
|
7
|
+
/** 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. */
|
|
8
|
+
ariaLabel?: string;
|
|
9
|
+
/** A boolean value when set to `true`, adds a border to the banner. */
|
|
10
|
+
bordered?: boolean;
|
|
11
|
+
/** The border radius size. The property can be one of `CLBorderRadius`, e.g. `CLBorderRadius.Medium`. */
|
|
12
|
+
borderRadius?: CLBorderRadius;
|
|
13
|
+
/** A `boolean` value which dictates the busy state of the Banner. When set to `true`, it utilizes the `<CLSkeleton />` component. */
|
|
14
|
+
busy?: boolean;
|
|
15
|
+
/** Sets the color of the Badge. The property can be one of `CLColors`, e.g. `CLColors.Primary`. */
|
|
16
|
+
color?: CLColors;
|
|
17
|
+
/** Sets the height of the Banner, it's default value is `auto`. */
|
|
18
|
+
height?: string;
|
|
19
|
+
/** The text to be displayed as the message. */
|
|
20
|
+
message?: string;
|
|
21
|
+
/** A callback function to handle click events */
|
|
22
|
+
onAction?: CLGenericFunction;
|
|
23
|
+
/** A callback function to handle click events. It should be used when in conjunction with the `ariaLabel` property. */
|
|
24
|
+
onClick?: CLGenericFunction;
|
|
25
|
+
/** A callback function to handle when the banner is dismissed. */
|
|
26
|
+
onDismiss?: CLGenericFunction;
|
|
27
|
+
/** When set to `false` it will not render a Banner with rounded corners. */
|
|
28
|
+
rounded?: boolean;
|
|
29
|
+
/** Sets a custom ID used for unit tests. */
|
|
30
|
+
testId?: string;
|
|
31
|
+
/** Set the text of the title which should be displayed. */
|
|
32
|
+
title?: string;
|
|
33
|
+
/** Sets the width of the Banner, it's default value is `100%`. */
|
|
34
|
+
width?: string;
|
|
35
|
+
/** Sets the color variant. The property can be one of `ColorVariants.Ghost | ColorVariants.Outline | ColorVariants.Soft | ColorVariants.Solid`, e.g `CLColorVariants.Soft`. */
|
|
36
|
+
variant?: CLColorVariants.Ghost | CLColorVariants.Outline | CLColorVariants.Soft | CLColorVariants.Solid;
|
|
37
|
+
}
|
|
38
|
+
declare const _default: import('vue').DefineComponent<CLBannerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CLBannerProps> & Readonly<{}>, {
|
|
39
|
+
color: CLColors;
|
|
40
|
+
width: string;
|
|
41
|
+
height: string;
|
|
42
|
+
variant: CLColorVariants.Ghost | CLColorVariants.Outline | CLColorVariants.Soft | CLColorVariants.Solid;
|
|
43
|
+
testId: string;
|
|
44
|
+
align: CLAlign;
|
|
45
|
+
bordered: boolean;
|
|
46
|
+
busy: boolean;
|
|
47
|
+
rounded: boolean;
|
|
48
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
49
|
+
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CLGenericFunction, CLIconNames, CLColors, CLColorVariants } from '
|
|
2
|
-
export interface
|
|
1
|
+
import { CLGenericFunction, CLIconNames, CLColors, CLColorVariants } from '../../../index.ts';
|
|
2
|
+
export interface CLPillProps {
|
|
3
3
|
/** Sets the color of the Pill. The property can be one of `CLColors`, e.g. `CLColors.Primary`. */
|
|
4
4
|
color?: CLColors;
|
|
5
5
|
/** The count to display in the Pill. */
|
|
@@ -16,10 +16,10 @@ export interface Props {
|
|
|
16
16
|
rounded?: boolean;
|
|
17
17
|
/** Sets a custom ID used for unit tests. */
|
|
18
18
|
testId?: string;
|
|
19
|
-
/** Sets the color variant. The property can be
|
|
19
|
+
/** Sets the color variant. The property can be one of `CLColorVariants`, e.g `CLColorVariants.Soft`. */
|
|
20
20
|
variant?: CLColorVariants;
|
|
21
21
|
}
|
|
22
|
-
declare const _default: import('vue').DefineComponent<
|
|
22
|
+
declare const _default: import('vue').DefineComponent<CLPillProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CLPillProps> & Readonly<{}>, {
|
|
23
23
|
color: CLColors;
|
|
24
24
|
variant: CLColorVariants;
|
|
25
25
|
elevated: boolean;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { CLColors, CLSizes } from '../../../index.ts';
|
|
2
|
+
export interface CLProgressProps {
|
|
3
|
+
/** The color of the progress bar */
|
|
4
|
+
color?: CLColors;
|
|
5
|
+
/** Set to true to invert the direction of the progress bar */
|
|
6
|
+
inverted?: boolean;
|
|
7
|
+
/** When set to `false` it will not render with rounded corners */
|
|
8
|
+
rounded?: boolean;
|
|
9
|
+
/** The size of the progress bar */
|
|
10
|
+
size?: CLSizes;
|
|
11
|
+
/** Set the value to true to display the current progress value above the bar */
|
|
12
|
+
status?: boolean;
|
|
13
|
+
/** Test ID for testing purposes */
|
|
14
|
+
testId?: string;
|
|
15
|
+
}
|
|
16
|
+
declare const _default: import('vue').DefineComponent<{
|
|
17
|
+
modelValue?: number;
|
|
18
|
+
} & CLProgressProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
19
|
+
"update:modelValue": (value: number) => any;
|
|
20
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
21
|
+
modelValue?: number;
|
|
22
|
+
} & CLProgressProps> & Readonly<{
|
|
23
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
24
|
+
}>, {
|
|
25
|
+
color: CLColors;
|
|
26
|
+
testId: string;
|
|
27
|
+
rounded: boolean;
|
|
28
|
+
size: CLSizes;
|
|
29
|
+
inverted: boolean;
|
|
30
|
+
status: boolean;
|
|
31
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
32
|
+
export default _default;
|
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export { CLBadge, CLBanner, CLPill, CLProgress };
|
|
6
|
-
export type CLBadge = InstanceType<typeof CLBadge>;
|
|
7
|
-
export type CLBanner = InstanceType<typeof CLBanner>;
|
|
8
|
-
export type CLPill = InstanceType<typeof CLPill>;
|
|
9
|
-
export type CLProgress = InstanceType<typeof CLProgress>;
|
|
1
|
+
export { CLBadge } from './CLBadge';
|
|
2
|
+
export { CLBanner } from './CLBanner';
|
|
3
|
+
export { CLPill } from './CLPill';
|
|
4
|
+
export { CLProgress } from './CLProgress';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CLBorderRadius } from '
|
|
2
|
-
export interface
|
|
1
|
+
import { CLBorderRadius } from '../../../index.ts';
|
|
2
|
+
export interface CLSkeletonProps {
|
|
3
3
|
/** The border radius size. The property can be one of `CLBorderRadius`, e.g. `CLBorderRadius.Medium`. */
|
|
4
4
|
borderRadius?: CLBorderRadius;
|
|
5
5
|
/** Sets the height of the Skeleton, it's default value is `100%`. */
|
|
@@ -11,7 +11,7 @@ export interface Props {
|
|
|
11
11
|
/** Sets the width of the Skeleton, it's default value is `100%`. */
|
|
12
12
|
width?: string;
|
|
13
13
|
}
|
|
14
|
-
declare const _default: import('vue').DefineComponent<
|
|
14
|
+
declare const _default: import('vue').DefineComponent<CLSkeletonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CLSkeletonProps> & Readonly<{}>, {
|
|
15
15
|
width: string;
|
|
16
16
|
height: string;
|
|
17
17
|
testId: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CLAlign, CLPosition, CLSizes, CLColors } from '
|
|
2
|
-
export interface
|
|
3
|
-
/** Set the horizontal alignment of the Spinner on the page. The property can be one of `CLAlign`, e.g. `CLAlign.Left`
|
|
1
|
+
import { CLAlign, CLPosition, CLSizes, CLColors } from '../../../index.ts';
|
|
2
|
+
export interface CLSpinnerProps {
|
|
3
|
+
/** Set the horizontal alignment of the Spinner on the page. The property can be one of `CLAlign`, e.g. `CLAlign.Left` */
|
|
4
4
|
align?: CLAlign;
|
|
5
5
|
/** Sets the color of the Spinner. The property can be one of `CLColors`, e.g. `CLColors.Primary` */
|
|
6
6
|
color?: CLColors;
|
|
@@ -11,7 +11,7 @@ export interface Props {
|
|
|
11
11
|
/** Sets a custom ID used for unit tests. */
|
|
12
12
|
testId?: string;
|
|
13
13
|
}
|
|
14
|
-
declare const _default: import('vue').DefineComponent<
|
|
14
|
+
declare const _default: import('vue').DefineComponent<CLSpinnerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CLSpinnerProps> & Readonly<{}>, {
|
|
15
15
|
color: CLColors;
|
|
16
16
|
testId: string;
|
|
17
17
|
align: CLAlign;
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { CLSkeleton } from './CLSkeleton';
|
|
2
|
+
import { CLSpinner } from './CLSpinner';
|
|
3
3
|
export { CLSkeleton, CLSpinner };
|
|
4
|
-
export type CLSkeleton = InstanceType<typeof CLSkeleton>;
|
|
5
|
-
export type CLSpinner = InstanceType<typeof CLSpinner>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CLBorderRadius, CLGenericFunction } from '
|
|
2
|
-
interface
|
|
1
|
+
import { CLBorderRadius, CLGenericFunction } from '../../../index.ts';
|
|
2
|
+
export interface CLModalProps {
|
|
3
3
|
/** The border radius size. The property can be one of `CLBorderRadius`, e.g. `CLBorderRadius.Medium`. */
|
|
4
4
|
borderRadius?: CLBorderRadius;
|
|
5
5
|
/** Display a close button to dismiss the modal. It's default value is `true`. */
|
|
@@ -12,6 +12,8 @@ interface Props {
|
|
|
12
12
|
fullscreen?: boolean;
|
|
13
13
|
/** When set to `true`, the Modal is visible. */
|
|
14
14
|
isOpen?: boolean;
|
|
15
|
+
/** Sets the max width of the modal, it's default value is `640px`. */
|
|
16
|
+
maxWidth?: string;
|
|
15
17
|
/** The unique identifier of the Modal. */
|
|
16
18
|
modalId: string;
|
|
17
19
|
/** A callback function to be called when the Modal is closed. */
|
|
@@ -22,46 +24,36 @@ interface Props {
|
|
|
22
24
|
testId?: string;
|
|
23
25
|
/** The title content of the Modal. */
|
|
24
26
|
title?: string;
|
|
25
|
-
/** Sets the max width of the modal, it's default value is `640px`. */
|
|
26
|
-
maxWidth?: string;
|
|
27
27
|
/** The z-index of the Modal. */
|
|
28
28
|
zIndex?: number | string;
|
|
29
29
|
}
|
|
30
|
-
declare
|
|
31
|
-
attrs: Partial<{}>;
|
|
32
|
-
slots: {
|
|
33
|
-
header?(_: {}): any;
|
|
34
|
-
body?(_: {}): any;
|
|
35
|
-
footer?(_: {}): any;
|
|
36
|
-
};
|
|
37
|
-
refs: {
|
|
38
|
-
'modal-window': HTMLDivElement;
|
|
39
|
-
'overlay-ref': HTMLDivElement;
|
|
40
|
-
};
|
|
41
|
-
rootEl: any;
|
|
42
|
-
};
|
|
43
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
44
|
-
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
30
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<CLModalProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
45
31
|
"modal-open": () => any;
|
|
46
32
|
"modal-close": () => any;
|
|
47
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
33
|
+
}, string, import('vue').PublicProps, Readonly<CLModalProps> & Readonly<{
|
|
48
34
|
"onModal-open"?: (() => any) | undefined;
|
|
49
35
|
"onModal-close"?: (() => any) | undefined;
|
|
50
36
|
}>, {
|
|
51
|
-
|
|
37
|
+
title: string;
|
|
38
|
+
borderRadius: CLBorderRadius;
|
|
52
39
|
close: boolean;
|
|
40
|
+
testId: string;
|
|
53
41
|
isOpen: boolean;
|
|
54
42
|
zIndex: number | string;
|
|
55
43
|
closeBorderRadius: CLBorderRadius;
|
|
56
44
|
dismissible: boolean;
|
|
57
45
|
fullscreen: boolean;
|
|
58
|
-
overlay: boolean;
|
|
59
46
|
maxWidth: string;
|
|
47
|
+
onClose: CLGenericFunction;
|
|
48
|
+
overlay: boolean;
|
|
60
49
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
61
50
|
'modal-window': HTMLDivElement;
|
|
62
51
|
'overlay-ref': HTMLDivElement;
|
|
63
|
-
}, any
|
|
64
|
-
|
|
52
|
+
}, any>, {
|
|
53
|
+
header?(_: {}): any;
|
|
54
|
+
body?(_: {}): any;
|
|
55
|
+
footer?(_: {}): any;
|
|
56
|
+
}>;
|
|
65
57
|
export default _default;
|
|
66
58
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
67
59
|
new (): {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface
|
|
1
|
+
import { CLColors, CLGenericFunction, CLLinkTarget } from '../../../index.ts';
|
|
2
|
+
export interface CLLinkProps {
|
|
3
3
|
/** Sets the aria-label on the Link element. */
|
|
4
4
|
ariaLabel?: string;
|
|
5
5
|
/** Set the color of the link. The property can be one of `CLColors`, e.g. `CLColors.Secondary`. */
|
|
@@ -19,24 +19,16 @@ export interface Props {
|
|
|
19
19
|
/** When set to `true`, it adds an underline to the link. */
|
|
20
20
|
underline?: boolean;
|
|
21
21
|
}
|
|
22
|
-
declare
|
|
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<{}>, {
|
|
22
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<CLLinkProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CLLinkProps> & Readonly<{}>, {
|
|
32
23
|
color: CLColors;
|
|
33
24
|
testId: string;
|
|
34
25
|
target: CLLinkTarget;
|
|
35
26
|
external: boolean;
|
|
36
27
|
rel: string;
|
|
37
28
|
underline: boolean;
|
|
38
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLAnchorElement
|
|
39
|
-
|
|
29
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLAnchorElement>, {
|
|
30
|
+
default?(_: {}): any;
|
|
31
|
+
}>;
|
|
40
32
|
export default _default;
|
|
41
33
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
42
34
|
new (): {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface
|
|
1
|
+
import { CLColors, CLGenericFunction, CLLinkTarget } from '../../../index.ts';
|
|
2
|
+
export interface CLNavLinkProps {
|
|
3
3
|
/** Sets the aria-label on the NavLink element. */
|
|
4
4
|
ariaLabel?: string;
|
|
5
5
|
/** Set the color of the link. The property can be one of `CLColors`, e.g. `CLColors.Neutral`. */
|
|
@@ -19,22 +19,18 @@ export interface Props {
|
|
|
19
19
|
/** Sets a custom ID used for unit tests. */
|
|
20
20
|
testId?: string;
|
|
21
21
|
}
|
|
22
|
-
declare
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
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<{}>, {
|
|
22
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<CLNavLinkProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
23
|
+
click: (event: Event) => any;
|
|
24
|
+
}, string, import('vue').PublicProps, Readonly<CLNavLinkProps> & Readonly<{
|
|
25
|
+
onClick?: ((event: Event) => any) | undefined;
|
|
26
|
+
}>, {
|
|
32
27
|
color: CLColors;
|
|
33
28
|
testId: string;
|
|
34
29
|
external: boolean;
|
|
35
30
|
rel: string;
|
|
36
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLAnchorElement
|
|
37
|
-
|
|
31
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLAnchorElement>, {
|
|
32
|
+
default?(_: {}): any;
|
|
33
|
+
}>;
|
|
38
34
|
export default _default;
|
|
39
35
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
40
36
|
new (): {
|
package/dist/components/Navigation/{CLNavSection.vue.d.ts → CLNavSection/CLNavSection.vue.d.ts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CLNavItem, CLOrientation
|
|
2
|
-
export interface
|
|
1
|
+
import { CLColors, CLNavItem, CLOrientation } from '../../../index.ts';
|
|
2
|
+
export interface CLNavSectionProps {
|
|
3
3
|
/** Set the color of the link. The property can be one of `CLColors`, e.g. `CLColors.Secondary`. */
|
|
4
4
|
color?: CLColors;
|
|
5
5
|
/** An array of `CLNavItem` objects that will be rendered as a list of navigation items. */
|
|
@@ -9,7 +9,7 @@ export interface Props {
|
|
|
9
9
|
/** Sets the orientation of the navigation section. The property can be one of `CLOrientation`, e.g. `CLOrientation.Horizontal` */
|
|
10
10
|
type?: CLOrientation;
|
|
11
11
|
}
|
|
12
|
-
declare const _default: import('vue').DefineComponent<
|
|
12
|
+
declare const _default: import('vue').DefineComponent<CLNavSectionProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CLNavSectionProps> & Readonly<{}>, {
|
|
13
13
|
color: CLColors;
|
|
14
14
|
testId: string;
|
|
15
15
|
type: CLOrientation;
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { CLLink } from './CLLink';
|
|
2
|
+
import { CLNavLink } from './CLNavLink';
|
|
3
|
+
import { CLNavSection } from './CLNavSection';
|
|
4
4
|
export { CLLink, CLNavLink, CLNavSection };
|
|
5
|
-
export type CLLink = InstanceType<typeof CLLink>;
|
|
6
|
-
export type CLNavLink = InstanceType<typeof CLNavLink>;
|
|
7
|
-
export type CLNavSection = InstanceType<typeof CLNavSection>;
|