@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.
Files changed (83) hide show
  1. package/dist/assets/styles.css +1 -1
  2. package/dist/chunks/icons.hu757pLK.js +5 -0
  3. package/dist/components/Assets/{CLIcon.vue.d.ts → CLIcon/CLIcon.vue.d.ts} +4 -3
  4. package/dist/components/Assets/CLIcon/index.d.ts +4 -0
  5. package/dist/components/Assets/index.d.ts +1 -2
  6. package/dist/components/Buttons/{CLA11yButton.vue.d.ts → CLA11yButton/CLA11yButton.vue.d.ts} +8 -17
  7. package/dist/components/Buttons/CLA11yButton/index.d.ts +4 -0
  8. package/dist/components/Buttons/CLButton/CLButton.vue.d.ts +99 -0
  9. package/dist/components/Buttons/CLButton/index.d.ts +4 -0
  10. package/dist/components/Buttons/index.d.ts +2 -4
  11. package/dist/components/Containers/CLCard/CLCard.vue.d.ts +105 -0
  12. package/dist/components/Containers/CLCard/index.d.ts +4 -0
  13. package/dist/components/Containers/{Carousel → CLCarousel}/CLCarousel.vue.d.ts +9 -20
  14. package/dist/components/Containers/CLCarousel/CLCarouselNavigation.vue.d.ts +37 -0
  15. package/dist/components/Containers/CLCarousel/index.d.ts +11 -0
  16. package/dist/components/Containers/CLDisclosure/CLDisclosure.vue.d.ts +70 -0
  17. package/dist/components/Containers/CLDisclosure/index.d.ts +4 -0
  18. package/dist/components/Containers/index.d.ts +3 -9
  19. package/dist/components/Form/{CLCheckbox.vue.d.ts → CLCheckbox/CLCheckbox.vue.d.ts} +26 -13
  20. package/dist/components/Form/CLCheckbox/index.d.ts +4 -0
  21. package/dist/components/Form/{CLInput.vue.d.ts → CLInput/CLInput.vue.d.ts} +42 -17
  22. package/dist/components/Form/CLInput/index.d.ts +4 -0
  23. package/dist/components/Form/{CLRadioButton.vue.d.ts → CLRadioButton/CLRadioButton.vue.d.ts} +9 -9
  24. package/dist/components/Form/CLRadioButton/index.d.ts +4 -0
  25. package/dist/components/Form/{CLSelect.vue.d.ts → CLSelect/CLSelect.vue.d.ts} +9 -9
  26. package/dist/components/Form/CLSelect/index.d.ts +4 -0
  27. package/dist/components/Form/{CLTextArea.vue.d.ts → CLTextArea/CLTextArea.vue.d.ts} +18 -18
  28. package/dist/components/Form/CLTextArea/index.d.ts +4 -0
  29. package/dist/components/Form/index.d.ts +5 -10
  30. package/dist/components/Indicators/{CLBadge.vue.d.ts → CLBadge/CLBadge.vue.d.ts} +6 -6
  31. package/dist/components/Indicators/CLBadge/index.d.ts +4 -0
  32. package/dist/components/Indicators/CLBanner/CLBanner.vue.d.ts +49 -0
  33. package/dist/components/Indicators/CLBanner/index.d.ts +4 -0
  34. package/dist/components/Indicators/{CLPill.vue.d.ts → CLPill/CLPill.vue.d.ts} +4 -4
  35. package/dist/components/Indicators/CLPill/index.d.ts +4 -0
  36. package/dist/components/Indicators/CLProgress/CLProgress.vue.d.ts +32 -0
  37. package/dist/components/Indicators/CLProgress/index.d.ts +4 -0
  38. package/dist/components/Indicators/index.d.ts +4 -9
  39. package/dist/components/Loading/{CLSkeleton.vue.d.ts → CLSkeleton/CLSkeleton.vue.d.ts} +3 -3
  40. package/dist/components/Loading/CLSkeleton/index.d.ts +4 -0
  41. package/dist/components/Loading/{CLSpinner.vue.d.ts → CLSpinner/CLSpinner.vue.d.ts} +4 -4
  42. package/dist/components/Loading/CLSpinner/index.d.ts +4 -0
  43. package/dist/components/Loading/index.d.ts +2 -4
  44. package/dist/components/Modals/{CLModal.vue.d.ts → CLModal/CLModal.vue.d.ts} +16 -24
  45. package/dist/components/Modals/CLModal/index.d.ts +4 -0
  46. package/dist/components/Modals/index.d.ts +1 -2
  47. package/dist/components/Navigation/{CLLink.vue.d.ts → CLLink/CLLink.vue.d.ts} +6 -14
  48. package/dist/components/Navigation/CLLink/index.d.ts +4 -0
  49. package/dist/components/Navigation/{CLNavLink.vue.d.ts → CLNavLink/CLNavLink.vue.d.ts} +10 -14
  50. package/dist/components/Navigation/CLNavLink/index.d.ts +4 -0
  51. package/dist/components/Navigation/{CLNavSection.vue.d.ts → CLNavSection/CLNavSection.vue.d.ts} +3 -3
  52. package/dist/components/Navigation/CLNavSection/index.d.ts +4 -0
  53. package/dist/components/Navigation/index.d.ts +3 -6
  54. package/dist/components/Popups/CLDropdownMenu/CLDropdownMenu.vue.d.ts +204 -0
  55. package/dist/components/Popups/CLDropdownMenu/index.d.ts +4 -0
  56. package/dist/components/Popups/{CLToast.vue.d.ts → CLToast/CLToast.vue.d.ts} +1 -1
  57. package/dist/components/Popups/CLToast/index.d.ts +4 -0
  58. package/dist/components/Popups/index.d.ts +2 -5
  59. package/dist/components/Table/CLTable.vue.d.ts +5 -13
  60. package/dist/components/Table/CLTableCell.vue.d.ts +8 -16
  61. package/dist/components/Table/CLTableNestedCell.vue.d.ts +5 -12
  62. package/dist/components/Table/CLTableRow.vue.d.ts +4 -12
  63. package/dist/components/Table/index.d.ts +32 -15
  64. package/dist/components/Typography/CLHeading/CLHeading.vue.d.ts +33 -0
  65. package/dist/components/Typography/CLHeading/index.d.ts +4 -0
  66. package/dist/components/Typography/CLText/CLText.vue.d.ts +43 -0
  67. package/dist/components/Typography/CLText/index.d.ts +4 -0
  68. package/dist/components/Typography/index.d.ts +2 -5
  69. package/dist/index.d.ts +2 -2
  70. package/dist/index.js +3237 -3353
  71. package/dist/stats.json +3210 -0
  72. package/dist/types.d.ts +14 -114
  73. package/package.json +11 -5
  74. package/dist/components/Buttons/CLButton.vue.d.ts +0 -288
  75. package/dist/components/Containers/CLCard.vue.d.ts +0 -51
  76. package/dist/components/Containers/CLDisclosure.vue.d.ts +0 -77
  77. package/dist/components/Containers/Carousel/CLCarouselNavigation.vue.d.ts +0 -22
  78. package/dist/components/Indicators/CLBanner.vue.d.ts +0 -13
  79. package/dist/components/Indicators/Progress/CLProgress.vue.d.ts +0 -45
  80. package/dist/components/Popups/CLDropdownMenu.vue.d.ts +0 -595
  81. package/dist/components/Typography/CLHeading.vue.d.ts +0 -85
  82. package/dist/components/Typography/CLText.vue.d.ts +0 -119
  83. /package/dist/components/Containers/{Carousel → CLCarousel}/CLCarouselSlide.vue.d.ts +0 -0
@@ -1,11 +1,6 @@
1
- import { default as CLCheckbox } from './CLCheckbox.vue';
2
- import { default as CLInput } from './CLInput.vue';
3
- import { default as CLRadioButton } from './CLRadioButton.vue';
4
- import { default as CLSelect } from './CLSelect.vue';
5
- import { default as CLTextArea } from './CLTextArea.vue';
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 '../../index.ts';
2
- export interface Props {
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 on of `CLColorVariants`, e.g `CLColorVariants.Soft`. */
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<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
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,4 @@
1
+ import { default as CLBadgeComponent } from './CLBadge.vue';
2
+ export { CLBadgeComponent as CLBadge };
3
+ export default CLBadgeComponent;
4
+ export type CLBadge = InstanceType<typeof CLBadgeComponent>;
@@ -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;
@@ -0,0 +1,4 @@
1
+ import { default as CLBannerComponent } from './CLBanner.vue';
2
+ export { CLBannerComponent as CLBanner };
3
+ export default CLBannerComponent;
4
+ export type CLBanner = InstanceType<typeof CLBannerComponent>;
@@ -1,5 +1,5 @@
1
- import { CLGenericFunction, CLIconNames, CLColors, CLColorVariants } from '../../index.ts';
2
- export interface Props {
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 on of `CLColorVariants`, e.g `CLColorVariants.Soft`. */
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<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
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,4 @@
1
+ import { default as CLPillComponent } from './CLPill.vue';
2
+ export { CLPillComponent as CLPill };
3
+ export default CLPillComponent;
4
+ export type CLPill = InstanceType<typeof CLPillComponent>;
@@ -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;
@@ -0,0 +1,4 @@
1
+ import { default as CLProgressComponent } from './CLProgress.vue';
2
+ export { CLProgressComponent as CLProgress };
3
+ export default CLProgressComponent;
4
+ export type CLProgress = InstanceType<typeof CLProgressComponent>;
@@ -1,9 +1,4 @@
1
- import { default as CLBadge } from './CLBadge.vue';
2
- import { default as CLBanner } from './CLBanner.vue';
3
- import { default as CLPill } from './CLPill.vue';
4
- import { default as CLProgress } from './Progress/CLProgress.vue';
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 '../../index.ts';
2
- export interface Props {
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<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
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;
@@ -0,0 +1,4 @@
1
+ import { default as CLSkeletonComponent } from './CLSkeleton.vue';
2
+ export { CLSkeletonComponent as CLSkeleton };
3
+ export default CLSkeletonComponent;
4
+ export type CLSkeleton = InstanceType<typeof CLSkeletonComponent>;
@@ -1,6 +1,6 @@
1
- import { CLAlign, CLPosition, CLSizes, CLColors } from '../../index.ts';
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` */
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<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
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;
@@ -0,0 +1,4 @@
1
+ import { default as CLSpinnerComponent } from './CLSpinner.vue';
2
+ export { CLSpinnerComponent as CLSpinner };
3
+ export default CLSpinnerComponent;
4
+ export type CLSpinner = InstanceType<typeof CLSpinnerComponent>;
@@ -1,5 +1,3 @@
1
- import { default as CLSkeleton } from './CLSkeleton.vue';
2
- import { default as CLSpinner } from './CLSpinner.vue';
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 '../../index.ts';
2
- interface Props {
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 function __VLS_template(): {
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<Props> & Readonly<{
33
+ }, string, import('vue').PublicProps, Readonly<CLModalProps> & Readonly<{
48
34
  "onModal-open"?: (() => any) | undefined;
49
35
  "onModal-close"?: (() => any) | undefined;
50
36
  }>, {
51
- testId: string;
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
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
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 (): {
@@ -0,0 +1,4 @@
1
+ import { default as CLModalComponent } from './CLModal.vue';
2
+ export { CLModalComponent as CLModal };
3
+ export default CLModalComponent;
4
+ export type CLModal = InstanceType<typeof CLModalComponent>;
@@ -1,3 +1,2 @@
1
- import { default as CLModal } from './CLModal.vue';
1
+ import { CLModal } from './CLModal';
2
2
  export { CLModal };
3
- export type CLModal = InstanceType<typeof CLModal>;
@@ -1,5 +1,5 @@
1
- import { CLLinkTarget, CLColors, CLGenericFunction } from '../../index.ts';
2
- export interface Props {
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 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<{}>, {
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
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
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 (): {
@@ -0,0 +1,4 @@
1
+ import { default as CLLinkComponent } from './CLLink.vue';
2
+ export { CLLinkComponent as CLLink };
3
+ export default CLLinkComponent;
4
+ export type CLLink = InstanceType<typeof CLLinkComponent>;
@@ -1,5 +1,5 @@
1
- import { CLLinkTarget, CLColors, CLGenericFunction } from '../../index.ts';
2
- export interface Props {
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 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<{}>, {
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
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
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 (): {
@@ -0,0 +1,4 @@
1
+ import { default as CLNavLinkComponent } from './CLNavLink.vue';
2
+ export { CLNavLinkComponent as CLNavLink };
3
+ export default CLNavLinkComponent;
4
+ export type CLNavLink = InstanceType<typeof CLNavLinkComponent>;
@@ -1,5 +1,5 @@
1
- import { CLNavItem, CLOrientation, CLColors } from '../../index.ts';
2
- export interface Props {
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<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
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;
@@ -0,0 +1,4 @@
1
+ import { default as CLNavSectionComponent } from './CLNavSection.vue';
2
+ export { CLNavSectionComponent as CLNavSection };
3
+ export default CLNavSectionComponent;
4
+ export type CLNavSection = InstanceType<typeof CLNavSectionComponent>;
@@ -1,7 +1,4 @@
1
- import { default as CLLink } from './CLLink.vue';
2
- import { default as CLNavLink } from './CLNavLink.vue';
3
- import { default as CLNavSection } from './CLNavSection.vue';
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>;