@codeandfunction/callaloo 3.12.0 → 3.12.2

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 (100) hide show
  1. package/dist/assets/styles.css +1 -1
  2. package/dist/components/Assets/{CLIcon.vue.d.ts → CLIcon/CLIcon.vue.d.ts} +4 -3
  3. package/dist/components/Assets/CLIcon/index.d.ts +4 -0
  4. package/dist/components/Assets/index.d.ts +1 -2
  5. package/dist/components/Assets/utils.d.ts +1 -1
  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/Buttons/utils.d.ts +1 -1
  12. package/dist/components/Containers/CLCard/CLCard.vue.d.ts +105 -0
  13. package/dist/components/Containers/CLCard/index.d.ts +4 -0
  14. package/dist/components/Containers/{Carousel → CLCarousel}/CLCarousel.vue.d.ts +9 -20
  15. package/dist/components/Containers/CLCarousel/CLCarouselNavigation.vue.d.ts +37 -0
  16. package/dist/components/Containers/CLCarousel/index.d.ts +11 -0
  17. package/dist/components/Containers/CLDisclosure/CLDisclosure.vue.d.ts +70 -0
  18. package/dist/components/Containers/CLDisclosure/index.d.ts +4 -0
  19. package/dist/components/Containers/index.d.ts +3 -9
  20. package/dist/components/Containers/utils.d.ts +1 -1
  21. package/dist/components/Form/{CLCheckbox.vue.d.ts → CLCheckbox/CLCheckbox.vue.d.ts} +26 -13
  22. package/dist/components/Form/CLCheckbox/index.d.ts +4 -0
  23. package/dist/components/Form/CLFormField.vue.d.ts +1 -1
  24. package/dist/components/Form/{CLInput.vue.d.ts → CLInput/CLInput.vue.d.ts} +42 -17
  25. package/dist/components/Form/CLInput/index.d.ts +4 -0
  26. package/dist/components/Form/CLInputMessages.vue.d.ts +1 -1
  27. package/dist/components/Form/{CLRadioButton.vue.d.ts → CLRadioButton/CLRadioButton.vue.d.ts} +9 -9
  28. package/dist/components/Form/CLRadioButton/index.d.ts +4 -0
  29. package/dist/components/Form/{CLSelect.vue.d.ts → CLSelect/CLSelect.vue.d.ts} +9 -9
  30. package/dist/components/Form/CLSelect/index.d.ts +4 -0
  31. package/dist/components/Form/{CLTextArea.vue.d.ts → CLTextArea/CLTextArea.vue.d.ts} +18 -18
  32. package/dist/components/Form/CLTextArea/index.d.ts +4 -0
  33. package/dist/components/Form/index.d.ts +5 -10
  34. package/dist/components/Form/utils.d.ts +1 -1
  35. package/dist/components/Indicators/{CLBadge.vue.d.ts → CLBadge/CLBadge.vue.d.ts} +6 -6
  36. package/dist/components/Indicators/CLBadge/index.d.ts +4 -0
  37. package/dist/components/Indicators/CLBanner/CLBanner.vue.d.ts +49 -0
  38. package/dist/components/Indicators/CLBanner/index.d.ts +4 -0
  39. package/dist/components/Indicators/{CLPill.vue.d.ts → CLPill/CLPill.vue.d.ts} +4 -4
  40. package/dist/components/Indicators/CLPill/index.d.ts +4 -0
  41. package/dist/components/Indicators/CLProgress/CLProgress.vue.d.ts +32 -0
  42. package/dist/components/Indicators/CLProgress/index.d.ts +4 -0
  43. package/dist/components/Indicators/index.d.ts +4 -9
  44. package/dist/components/Indicators/utils.d.ts +1 -1
  45. package/dist/components/Loading/{CLSkeleton.vue.d.ts → CLSkeleton/CLSkeleton.vue.d.ts} +3 -3
  46. package/dist/components/Loading/CLSkeleton/index.d.ts +4 -0
  47. package/dist/components/Loading/{CLSpinner.vue.d.ts → CLSpinner/CLSpinner.vue.d.ts} +4 -4
  48. package/dist/components/Loading/CLSpinner/index.d.ts +4 -0
  49. package/dist/components/Loading/index.d.ts +2 -4
  50. package/dist/components/Loading/utils.d.ts +1 -1
  51. package/dist/components/Modals/{CLModal.vue.d.ts → CLModal/CLModal.vue.d.ts} +16 -24
  52. package/dist/components/Modals/CLModal/index.d.ts +4 -0
  53. package/dist/components/Modals/index.d.ts +1 -2
  54. package/dist/components/Navigation/{CLLink.vue.d.ts → CLLink/CLLink.vue.d.ts} +6 -14
  55. package/dist/components/Navigation/CLLink/index.d.ts +4 -0
  56. package/dist/components/Navigation/{CLNavLink.vue.d.ts → CLNavLink/CLNavLink.vue.d.ts} +10 -14
  57. package/dist/components/Navigation/CLNavLink/index.d.ts +4 -0
  58. package/dist/components/Navigation/{CLNavSection.vue.d.ts → CLNavSection/CLNavSection.vue.d.ts} +3 -3
  59. package/dist/components/Navigation/CLNavSection/index.d.ts +4 -0
  60. package/dist/components/Navigation/index.d.ts +3 -6
  61. package/dist/components/Navigation/utils.d.ts +1 -1
  62. package/dist/components/Popups/CLDropdownMenu/CLDropdownMenu.vue.d.ts +204 -0
  63. package/dist/components/Popups/CLDropdownMenu/index.d.ts +4 -0
  64. package/dist/components/Popups/{CLToast.vue.d.ts → CLToast/CLToast.vue.d.ts} +1 -1
  65. package/dist/components/Popups/CLToast/index.d.ts +4 -0
  66. package/dist/components/Popups/index.d.ts +2 -5
  67. package/dist/components/Popups/utils.d.ts +1 -1
  68. package/dist/components/{Theme → Providers/Theme}/CLThemeProvider.vue.d.ts +1 -1
  69. package/dist/components/{Theme → Providers/Theme}/base-theme.d.ts +15 -15
  70. package/dist/components/{Theme → Providers/Theme}/utils.d.ts +1 -1
  71. package/dist/components/Providers/Toast/CLToastProvider.vue.d.ts +2 -2
  72. package/dist/components/Providers/index.d.ts +3 -1
  73. package/dist/components/Table/CLTable.vue.d.ts +6 -14
  74. package/dist/components/Table/CLTableCell.vue.d.ts +9 -17
  75. package/dist/components/Table/CLTableNestedCell.vue.d.ts +5 -12
  76. package/dist/components/Table/CLTableRow.vue.d.ts +5 -13
  77. package/dist/components/Table/index.d.ts +32 -15
  78. package/dist/components/Typography/CLHeading/CLHeading.vue.d.ts +33 -0
  79. package/dist/components/Typography/CLHeading/index.d.ts +4 -0
  80. package/dist/components/Typography/CLText/CLText.vue.d.ts +43 -0
  81. package/dist/components/Typography/CLText/index.d.ts +4 -0
  82. package/dist/components/Typography/index.d.ts +2 -5
  83. package/dist/components/Typography/utils.d.ts +1 -1
  84. package/dist/composables/useDropdown.d.ts +1 -1
  85. package/dist/composables/useToast.d.ts +1 -1
  86. package/dist/index.d.ts +5 -5
  87. package/dist/index.js +3544 -3659
  88. package/dist/types.d.ts +73 -172
  89. package/package.json +11 -9
  90. package/dist/components/Buttons/CLButton.vue.d.ts +0 -288
  91. package/dist/components/Containers/CLCard.vue.d.ts +0 -51
  92. package/dist/components/Containers/CLDisclosure.vue.d.ts +0 -77
  93. package/dist/components/Containers/Carousel/CLCarouselNavigation.vue.d.ts +0 -22
  94. package/dist/components/Indicators/CLBanner.vue.d.ts +0 -13
  95. package/dist/components/Indicators/Progress/CLProgress.vue.d.ts +0 -45
  96. package/dist/components/Popups/CLDropdownMenu.vue.d.ts +0 -595
  97. package/dist/components/Theme/index.d.ts +0 -3
  98. package/dist/components/Typography/CLHeading.vue.d.ts +0 -85
  99. package/dist/components/Typography/CLText.vue.d.ts +0 -119
  100. /package/dist/components/Containers/{Carousel → CLCarousel}/CLCarouselSlide.vue.d.ts +0 -0
@@ -1,288 +0,0 @@
1
- import { CLAlign, CLBorderRadius, CLButtonTypes, CLButtonTags, CLColors, CLColorVariants, CLIconNames, CLIconSizes, CLLinkTarget, CLSizes, CLGenericFunction } from '../../index';
2
- /**
3
- * The `<CLButton />` component extends the functionality of the native `<button />` element, by including support for icons and colors.
4
- */
5
- declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
6
- /** Sets the active state of the button. When set to true, the button will no longer receive pointer events */
7
- active: {
8
- type: BooleanConstructor;
9
- default: boolean;
10
- };
11
- /** Set the horizontal alignment of content. The property can be one of `CLAlign`, e.g. `CLAlign.Left` */
12
- alignContent: {
13
- type: PropType<CLAlign>;
14
- default: CLAlign;
15
- };
16
- /** Sets the aria-label on the button It should be used when there is no discernable text present, or if this is an icon only */
17
- ariaLabel: {
18
- type: StringConstructor;
19
- };
20
- /** Set the HTML tag of the text element. The property can be one of `CLTextHtmlTags`, e.g. `p`. */
21
- as: {
22
- type: PropType<CLButtonTags>;
23
- default: string;
24
- };
25
- /** The border radius size. The property can be one of `CLBorderRadius`, e.g. `CLBorderRadius.Medium`. */
26
- borderRadius: {
27
- type: PropType<CLBorderRadius>;
28
- };
29
- /** A `boolean` value which dictates the busy state of the button */
30
- busy: {
31
- type: BooleanConstructor;
32
- };
33
- /** Sets the color of the button. The property can be one of `CLColors`, e.g. `CLColors.Primary`. */
34
- color: {
35
- type: PropType<CLColors>;
36
- default: CLColors;
37
- };
38
- /** A `boolean` value which dictates the disabled state of the button */
39
- disabled: {
40
- type: BooleanConstructor;
41
- };
42
- /** The `elevated` property displays a shadow to indicate elevation. */
43
- elevated: {
44
- type: BooleanConstructor;
45
- default: boolean;
46
- };
47
- /** The form whom the button belongs to. Useful for when buttons are not within a `form` element. */
48
- form: {
49
- type: StringConstructor;
50
- };
51
- /** A callback function which provides a reference to the button */
52
- forwardRef: {
53
- type: PropType<CLGenericFunction>;
54
- };
55
- /** Sets the height of the button, it's default value is `auto`. */
56
- height: {
57
- type: StringConstructor;
58
- default: string;
59
- };
60
- /** Sets the href attribute on the button element. This is useful when the button acts as a link. */
61
- href: {
62
- type: StringConstructor;
63
- };
64
- /** Sets the icon which is positioned after the button's slot content. */
65
- iconAfter: {
66
- type: PropType<CLIconNames>;
67
- };
68
- /** Sets the icon which is positioned before the button's slot content. */
69
- iconBefore: {
70
- type: PropType<CLIconNames>;
71
- };
72
- /** Sets the `iconBefore` size. The property can be one of `CLIconSizes`, e.g. `CLIconSizes.Medium`. */
73
- iconSize: {
74
- type: PropType<CLIconSizes>;
75
- default: CLIconSizes;
76
- };
77
- /** Sets the `iconAfter` size. The property can be one of `CLIconSizes`, e.g. `CLIconSizes.Medium`. */
78
- iconAfterSize: {
79
- type: PropType<CLIconSizes>;
80
- default: CLIconSizes;
81
- };
82
- /** A callback function to handle click events. */
83
- onClick: {
84
- type: FunctionConstructor;
85
- };
86
- /** When set to `true` it will display the button as a `CLPill`. */
87
- pill: {
88
- type: BooleanConstructor;
89
- };
90
- /** When set to `false` it will not render with rounded corners. */
91
- rounded: {
92
- type: BooleanConstructor;
93
- default: boolean;
94
- };
95
- /** Sets the button size. The property can be one of `CLSizes`, e.g. `CLSizes.Medium`. */
96
- size: {
97
- type: PropType<CLSizes>;
98
- default: CLSizes;
99
- };
100
- /** Sets the target attribute on the Link element. The property can be one of `CLLinkTarget`, e.g. `CLLinkTarget.Self` */
101
- target: {
102
- type: PropType<CLLinkTarget>;
103
- default: CLLinkTarget;
104
- };
105
- /** Sets the title attribute. */
106
- title: {
107
- type: StringConstructor;
108
- };
109
- /** Sets a custom ID used for unit tests. */
110
- testId: {
111
- type: StringConstructor;
112
- default: string;
113
- };
114
- /** Sets the button type. The property can be one of `CLButtonTypes`, e.g. `CLButtonTypes.Submit`. */
115
- type: {
116
- type: PropType<CLButtonTypes>;
117
- default: CLButtonTypes;
118
- };
119
- /** Sets the color variant. The property can be on of `CLColorVariants`, e.g `CLColorVariants.Soft`. */
120
- variant: {
121
- type: PropType<CLColorVariants>;
122
- default: CLColorVariants;
123
- };
124
- /** Sets the width of the button, it's default value is `auto`. */
125
- width: {
126
- type: StringConstructor;
127
- default: string;
128
- };
129
- /** When set to `true`, it will remove any horizontal and vertical padding of the slot content. */
130
- wrap: {
131
- type: BooleanConstructor;
132
- default: boolean;
133
- };
134
- }>, {
135
- hasSlot: globalThis.ComputedRef<boolean>;
136
- }, {}, {}, {
137
- getSpinnerSize(): CLSizes.Tiny | CLSizes.Small | CLSizes.Medium;
138
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
139
- /** Sets the active state of the button. When set to true, the button will no longer receive pointer events */
140
- active: {
141
- type: BooleanConstructor;
142
- default: boolean;
143
- };
144
- /** Set the horizontal alignment of content. The property can be one of `CLAlign`, e.g. `CLAlign.Left` */
145
- alignContent: {
146
- type: PropType<CLAlign>;
147
- default: CLAlign;
148
- };
149
- /** Sets the aria-label on the button It should be used when there is no discernable text present, or if this is an icon only */
150
- ariaLabel: {
151
- type: StringConstructor;
152
- };
153
- /** Set the HTML tag of the text element. The property can be one of `CLTextHtmlTags`, e.g. `p`. */
154
- as: {
155
- type: PropType<CLButtonTags>;
156
- default: string;
157
- };
158
- /** The border radius size. The property can be one of `CLBorderRadius`, e.g. `CLBorderRadius.Medium`. */
159
- borderRadius: {
160
- type: PropType<CLBorderRadius>;
161
- };
162
- /** A `boolean` value which dictates the busy state of the button */
163
- busy: {
164
- type: BooleanConstructor;
165
- };
166
- /** Sets the color of the button. The property can be one of `CLColors`, e.g. `CLColors.Primary`. */
167
- color: {
168
- type: PropType<CLColors>;
169
- default: CLColors;
170
- };
171
- /** A `boolean` value which dictates the disabled state of the button */
172
- disabled: {
173
- type: BooleanConstructor;
174
- };
175
- /** The `elevated` property displays a shadow to indicate elevation. */
176
- elevated: {
177
- type: BooleanConstructor;
178
- default: boolean;
179
- };
180
- /** The form whom the button belongs to. Useful for when buttons are not within a `form` element. */
181
- form: {
182
- type: StringConstructor;
183
- };
184
- /** A callback function which provides a reference to the button */
185
- forwardRef: {
186
- type: PropType<CLGenericFunction>;
187
- };
188
- /** Sets the height of the button, it's default value is `auto`. */
189
- height: {
190
- type: StringConstructor;
191
- default: string;
192
- };
193
- /** Sets the href attribute on the button element. This is useful when the button acts as a link. */
194
- href: {
195
- type: StringConstructor;
196
- };
197
- /** Sets the icon which is positioned after the button's slot content. */
198
- iconAfter: {
199
- type: PropType<CLIconNames>;
200
- };
201
- /** Sets the icon which is positioned before the button's slot content. */
202
- iconBefore: {
203
- type: PropType<CLIconNames>;
204
- };
205
- /** Sets the `iconBefore` size. The property can be one of `CLIconSizes`, e.g. `CLIconSizes.Medium`. */
206
- iconSize: {
207
- type: PropType<CLIconSizes>;
208
- default: CLIconSizes;
209
- };
210
- /** Sets the `iconAfter` size. The property can be one of `CLIconSizes`, e.g. `CLIconSizes.Medium`. */
211
- iconAfterSize: {
212
- type: PropType<CLIconSizes>;
213
- default: CLIconSizes;
214
- };
215
- /** A callback function to handle click events. */
216
- onClick: {
217
- type: FunctionConstructor;
218
- };
219
- /** When set to `true` it will display the button as a `CLPill`. */
220
- pill: {
221
- type: BooleanConstructor;
222
- };
223
- /** When set to `false` it will not render with rounded corners. */
224
- rounded: {
225
- type: BooleanConstructor;
226
- default: boolean;
227
- };
228
- /** Sets the button size. The property can be one of `CLSizes`, e.g. `CLSizes.Medium`. */
229
- size: {
230
- type: PropType<CLSizes>;
231
- default: CLSizes;
232
- };
233
- /** Sets the target attribute on the Link element. The property can be one of `CLLinkTarget`, e.g. `CLLinkTarget.Self` */
234
- target: {
235
- type: PropType<CLLinkTarget>;
236
- default: CLLinkTarget;
237
- };
238
- /** Sets the title attribute. */
239
- title: {
240
- type: StringConstructor;
241
- };
242
- /** Sets a custom ID used for unit tests. */
243
- testId: {
244
- type: StringConstructor;
245
- default: string;
246
- };
247
- /** Sets the button type. The property can be one of `CLButtonTypes`, e.g. `CLButtonTypes.Submit`. */
248
- type: {
249
- type: PropType<CLButtonTypes>;
250
- default: CLButtonTypes;
251
- };
252
- /** Sets the color variant. The property can be on of `CLColorVariants`, e.g `CLColorVariants.Soft`. */
253
- variant: {
254
- type: PropType<CLColorVariants>;
255
- default: CLColorVariants;
256
- };
257
- /** Sets the width of the button, it's default value is `auto`. */
258
- width: {
259
- type: StringConstructor;
260
- default: string;
261
- };
262
- /** When set to `true`, it will remove any horizontal and vertical padding of the slot content. */
263
- wrap: {
264
- type: BooleanConstructor;
265
- default: boolean;
266
- };
267
- }>> & Readonly<{}>, {
268
- color: CLColors;
269
- width: string;
270
- height: string;
271
- variant: CLColorVariants;
272
- elevated: boolean;
273
- testId: string;
274
- type: CLButtonTypes;
275
- busy: boolean;
276
- rounded: boolean;
277
- active: boolean;
278
- alignContent: CLAlign;
279
- as: CLButtonTags;
280
- disabled: boolean;
281
- iconSize: CLIconSizes;
282
- iconAfterSize: CLIconSizes;
283
- pill: boolean;
284
- size: CLSizes;
285
- target: CLLinkTarget;
286
- wrap: boolean;
287
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
288
- export default _default;
@@ -1,51 +0,0 @@
1
- import { CLAlign, CLCardProps, CLCardTypes, CLColors, CLColorVariants, CLHeadingTypes, CLHeadingLevels, CLLinkTarget } from '../../index';
2
- declare function __VLS_template(): {
3
- attrs: Partial<{}>;
4
- slots: {
5
- heading?(_: {}): any;
6
- heading?(_: {}): any;
7
- byline?(_: {}): any;
8
- default?(_: {}): any;
9
- footer?(_: {}): any;
10
- image?(_: {}): any;
11
- };
12
- refs: {
13
- refExpandedArea: HTMLDivElement;
14
- slotContent: HTMLDivElement;
15
- };
16
- rootEl: HTMLDivElement;
17
- };
18
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
- declare const __VLS_component: import('vue').DefineComponent<CLCardProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CLCardProps> & Readonly<{}>, {
20
- color: CLColors;
21
- width: string;
22
- height: string;
23
- variant: CLColorVariants;
24
- elevated: boolean;
25
- testId: string;
26
- type: CLCardTypes;
27
- align: CLAlign;
28
- bordered: boolean;
29
- busy: boolean;
30
- rounded: boolean;
31
- active: boolean;
32
- target: CLLinkTarget;
33
- compact: boolean;
34
- imageAltText: string;
35
- imageHeight: string;
36
- imageWidth: string;
37
- padded: boolean;
38
- titleType: CLHeadingTypes;
39
- titleHLevel: CLHeadingLevels;
40
- truncateTitle: boolean;
41
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
42
- refExpandedArea: HTMLDivElement;
43
- slotContent: HTMLDivElement;
44
- }, HTMLDivElement>;
45
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
46
- export default _default;
47
- type __VLS_WithTemplateSlots<T, S> = T & {
48
- new (): {
49
- $slots: S;
50
- };
51
- };
@@ -1,77 +0,0 @@
1
- import { CLBorderRadius, CLColors, CLColorVariants, CLHeadingTypes, CLHeadingLevels, CLIconNames, CLIconSizes, CLSizes, CLTextTypes } from '../../index';
2
- export interface Props {
3
- /** When set to `true` adds borders to the disclosure's trigger container and content. */
4
- bordered?: boolean;
5
- /** The border radius size. The property can be one of `CLBorderRadius`, e.g. `CLBorderRadius.Medium`. */
6
- borderRadius?: CLBorderRadius;
7
- /** Sets the color of the Disclosure. The property can be one of `CLColors`, e.g. `CLColors.Primary`. */
8
- color?: CLColors;
9
- /** When set to `true`, it will remove any horizontal padding and overrides the vertical padding of the trigger and slot content. */
10
- compact?: boolean;
11
- /** When set to `false`, it will remove any horizontal and vertical padding. */
12
- contentSpacing?: boolean;
13
- /** A unique identifier, this is required. It ensures that if multiple disclosures are used, each will be handled properly. */
14
- disclosureId: string;
15
- /** Set the expanded state of the disclosure. */
16
- expanded?: boolean;
17
- /** Set the icon to display when the disclosure is expanded. */
18
- expandedIcon?: CLIconNames;
19
- /** Set the text of the heading which should be displayed in the trigger. */
20
- heading?: string;
21
- /** Set the heading type. The property can be one of `CLHeadingTypes`, e.g. `CLHeadingTypes.Title` */
22
- headingType?: CLHeadingTypes;
23
- /** Set the heading level. The property can be one of `CLHeadingLevels`, e.g. `CLHeadingLevels.H1` */
24
- headingLevel?: CLHeadingLevels;
25
- /** Set the icon to display before the heading text. */
26
- iconBefore?: CLIconNames;
27
- /** Set the size of the icon before the heading text. The property can be one of `CLIconSizes`, e.g. `CLIconSizes.Medium` */
28
- iconBeforeSize?: CLIconSizes;
29
- /** Set the icon to display when the disclosure is collapsed. */
30
- iconAfter?: CLIconNames;
31
- /** Set the size of the icon after the heading text. The property can be one of `CLIconSizes`, e.g. `CLIconSizes.Medium` */
32
- iconAfterSize?: CLIconSizes;
33
- /** Set the rounded state of the disclosure. */
34
- rounded?: boolean;
35
- /** Set the text of the sub-heading which should be displayed in the trigger after the heading. */
36
- subHeading?: string;
37
- /** Set the sub-heading text type. The property can be one of `CLTextTypes`, e.g. `CLTextTypes.Body` */
38
- subHeadingType?: CLTextTypes;
39
- /** Sets a custom ID used for unit tests. */
40
- testId?: string;
41
- /** Set the size of the trigger button. The property can be one of `CLSizes`, e.g. `CLSizes.Primary` */
42
- triggerButtonSize?: CLSizes;
43
- /** Sets the color variant. The property can be on of `CLColorVariants`, e.g `CLColorVariants.Soft`. */
44
- variant?: CLColorVariants;
45
- }
46
- declare function __VLS_template(): {
47
- attrs: Partial<{}>;
48
- slots: {
49
- default?(_: {}): any;
50
- };
51
- refs: {};
52
- rootEl: HTMLDivElement;
53
- };
54
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
55
- declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
56
- color: CLColors;
57
- variant: CLColorVariants;
58
- borderRadius: CLBorderRadius;
59
- testId: string;
60
- bordered: boolean;
61
- rounded: boolean;
62
- iconAfter: CLIconNames;
63
- iconAfterSize: CLIconSizes;
64
- contentSpacing: boolean;
65
- expanded: boolean;
66
- expandedIcon: CLIconNames;
67
- headingType: CLHeadingTypes;
68
- subHeadingType: CLTextTypes;
69
- triggerButtonSize: CLSizes;
70
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
71
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
72
- export default _default;
73
- type __VLS_WithTemplateSlots<T, S> = T & {
74
- new (): {
75
- $slots: S;
76
- };
77
- };
@@ -1,22 +0,0 @@
1
- import { CLColors, CLColorVariants, CLGenericFunction, CLPaginationType } from '../../../index';
2
- interface Props {
3
- color: CLColors;
4
- currentPage: number;
5
- enabled: boolean;
6
- gotoPage: (index: number) => void;
7
- moreLabel: string;
8
- moreAriaLabel?: string;
9
- nextPageEnabled: boolean;
10
- paginationType: CLPaginationType;
11
- prefix: string;
12
- prevPageEnabled: boolean;
13
- showMore?: CLGenericFunction;
14
- showNextItems?: CLGenericFunction;
15
- showPrevItems?: CLGenericFunction;
16
- totalPages: number;
17
- variant: CLColorVariants;
18
- }
19
- declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
20
- moreAriaLabel: string;
21
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
22
- export default _default;
@@ -1,13 +0,0 @@
1
- import { CLAlign, CLBannerProps, CLColors, CLColorVariants } from '../../index';
2
- declare const _default: import('vue').DefineComponent<CLBannerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CLBannerProps> & Readonly<{}>, {
3
- color: CLColors;
4
- width: string;
5
- height: string;
6
- variant: CLColorVariants.Ghost | CLColorVariants.Outline | CLColorVariants.Soft | CLColorVariants.Solid;
7
- testId: string;
8
- align: CLAlign;
9
- bordered: boolean;
10
- busy: boolean;
11
- rounded: boolean;
12
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
13
- export default _default;
@@ -1,45 +0,0 @@
1
- import { CLColors, CLSizes } from '../../../index';
2
- interface Props {
3
- /**
4
- * The color of the progress bar.
5
- * @default CLColors.Primary
6
- */
7
- color?: CLColors;
8
- /**
9
- * Set to true to invert the direction of the progress bar.
10
- * @default false
11
- */
12
- inverted?: boolean;
13
- /**
14
- * When set to `false` it will not render with rounded corners.
15
- * @default true
16
- */
17
- rounded?: boolean;
18
- /**
19
- * The size of the progress bar.
20
- * @default CLSizes.Medium
21
- */
22
- size?: CLSizes;
23
- /**
24
- * Set the value to true to display the current Progress value above the bar.
25
- * @default false
26
- */
27
- status?: boolean;
28
- }
29
- type __VLS_Props = Props;
30
- declare const model: import('vue').ModelRef<number, string, number, number>;
31
- type __VLS_PublicProps = {
32
- modelValue?: typeof model['value'];
33
- } & __VLS_Props;
34
- declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
35
- "update:modelValue": (value: number) => any;
36
- }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
37
- "onUpdate:modelValue"?: ((value: number) => any) | undefined;
38
- }>, {
39
- color: CLColors;
40
- rounded: boolean;
41
- size: CLSizes;
42
- inverted: boolean;
43
- status: boolean;
44
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
45
- export default _default;