@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,595 +0,0 @@
1
- import { CLBorderRadius, CLIconNames, CLIconSizes, CLPlacement, CLSizes, CLColors, CLColorVariants } from '../../index';
2
- interface Props {
3
- /** Sets the aria-label on the anchor button. */
4
- buttonAriaLabel: string;
5
- /** Set the border radius size on the anchor button. The property can be one of `CLBorderRadius`, e.g. `CLBorderRadius.Medium`. */
6
- buttonBorderRadius?: CLBorderRadius;
7
- /** Sets the height of the anchor button, it's default value is `auto`. */
8
- buttonHeight?: string;
9
- /** Sets the anchor button size. The property can be one of `CLSizes`, e.g. `CLSizes.Medium`. */
10
- buttonSize?: CLSizes;
11
- /** Sets the color of the anchor button. The property can be one of `CLColors`, e.g. `CLColors.Primary`. */
12
- buttonColor?: CLColors;
13
- /** Sets the color variant. The property can be on of `CLColorVariants`, e.g `CLColorVariants.Soft`. */
14
- buttonVariant?: CLColorVariants;
15
- /** Sets the width of the anchor button, it's default value is `auto`. */
16
- buttonWidth?: string;
17
- /** When set to `true`, it will remove any horizontal and vertical padding from the button. */
18
- buttonWrapped?: boolean;
19
- /** A callback function to be called when the DropdownMenu is closed. */
20
- onCloseHandler?: () => void;
21
- /** Set the border radius size on the content container. The property can be one of `CLBorderRadius`, e.g. `CLBorderRadius.Medium`. */
22
- containerBorderRadius?: CLBorderRadius;
23
- /** Sets the width of the content container. */
24
- contentWidth?: string;
25
- /** A unique identifier, this is required. It ensures that if multiple dropdowns are used, each will be handled properly. */
26
- dropdownId: string;
27
- /** Sets the icon to be displayed after the anchor button label. The property can be one of `CLIconNames`, e.g. `CLIconNames.ChevronDown`. */
28
- iconAfter?: CLIconNames;
29
- /** Sets the icon to be displayed before the anchor button label. The property can be one of `CLIconNames`, e.g. `CLIconNames.Menu`. */
30
- iconBefore?: CLIconNames;
31
- /** Sets the size of the icon displayed after the anchor button label. The property can be one of `CLIconSizes`, e.g. `CLIconSizes.Tiny`. */
32
- iconAfterSize?: CLIconSizes;
33
- /** Sets the size of the icon displayed before the anchor button label. The property can be one of `CLIconSizes`, e.g. `CLIconSizes.Tiny`. */
34
- iconSize?: CLIconSizes;
35
- /** Sets the initial open state of the DropdownMenu. */
36
- isOpen?: boolean;
37
- /** Sets the label on the anchor button. */
38
- label?: string;
39
- /** A callback function to be called when the DropdownMenu is opened. */
40
- onOpenHandler?: () => void;
41
- /** Sets the placement of the content container. The property can be one of `CLPlacement`, e.g. `CLPlacement.BottomStart`. */
42
- placement?: CLPlacement;
43
- /** Sets the z-index of the content container. */
44
- zIndex?: number | string;
45
- }
46
- declare function __VLS_template(): {
47
- attrs: Partial<{}>;
48
- slots: {
49
- content?(_: {}): any;
50
- };
51
- refs: {
52
- anchor: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
53
- active: {
54
- type: BooleanConstructor;
55
- default: boolean;
56
- };
57
- alignContent: {
58
- type: PropType<import('../../types').Align>;
59
- default: import('../../types').Align;
60
- };
61
- ariaLabel: {
62
- type: StringConstructor;
63
- };
64
- as: {
65
- type: PropType<import('../../types').ButtonTags>;
66
- default: string;
67
- };
68
- borderRadius: {
69
- type: PropType<CLBorderRadius>;
70
- };
71
- busy: {
72
- type: BooleanConstructor;
73
- };
74
- color: {
75
- type: PropType<CLColors>;
76
- default: CLColors;
77
- };
78
- disabled: {
79
- type: BooleanConstructor;
80
- };
81
- elevated: {
82
- type: BooleanConstructor;
83
- default: boolean;
84
- };
85
- form: {
86
- type: StringConstructor;
87
- };
88
- forwardRef: {
89
- type: PropType<import('../../types').GenericFunction>;
90
- };
91
- height: {
92
- type: StringConstructor;
93
- default: string;
94
- };
95
- href: {
96
- type: StringConstructor;
97
- };
98
- iconAfter: {
99
- type: PropType<CLIconNames>;
100
- };
101
- iconBefore: {
102
- type: PropType<CLIconNames>;
103
- };
104
- iconSize: {
105
- type: PropType<CLIconSizes>;
106
- default: CLIconSizes;
107
- };
108
- iconAfterSize: {
109
- type: PropType<CLIconSizes>;
110
- default: CLIconSizes;
111
- };
112
- onClick: {
113
- type: FunctionConstructor;
114
- };
115
- pill: {
116
- type: BooleanConstructor;
117
- };
118
- rounded: {
119
- type: BooleanConstructor;
120
- default: boolean;
121
- };
122
- size: {
123
- type: PropType<CLSizes>;
124
- default: CLSizes;
125
- };
126
- target: {
127
- type: PropType<import('../../types').LinkTarget>;
128
- default: import('../../types').LinkTarget;
129
- };
130
- title: {
131
- type: StringConstructor;
132
- };
133
- testId: {
134
- type: StringConstructor;
135
- default: string;
136
- };
137
- type: {
138
- type: PropType<import('../../types').ButtonTypes>;
139
- default: import('../../types').ButtonTypes;
140
- };
141
- variant: {
142
- type: PropType<CLColorVariants>;
143
- default: CLColorVariants;
144
- };
145
- width: {
146
- type: StringConstructor;
147
- default: string;
148
- };
149
- wrap: {
150
- type: BooleanConstructor;
151
- default: boolean;
152
- };
153
- }>> & Readonly<{}>, {
154
- hasSlot: globalThis.ComputedRef<boolean>;
155
- }, {}, {}, {
156
- getSpinnerSize(): CLSizes.Tiny | CLSizes.Small | CLSizes.Medium;
157
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
158
- color: CLColors;
159
- width: string;
160
- height: string;
161
- variant: CLColorVariants;
162
- elevated: boolean;
163
- testId: string;
164
- type: import('../../types').ButtonTypes;
165
- busy: boolean;
166
- rounded: boolean;
167
- active: boolean;
168
- alignContent: import('../../types').Align;
169
- as: import('../../types').ButtonTags;
170
- disabled: boolean;
171
- iconSize: CLIconSizes;
172
- iconAfterSize: CLIconSizes;
173
- pill: boolean;
174
- size: CLSizes;
175
- target: import('../../types').LinkTarget;
176
- wrap: boolean;
177
- }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
178
- P: {};
179
- B: {};
180
- D: {};
181
- C: {};
182
- M: {};
183
- Defaults: {};
184
- }, Readonly<globalThis.ExtractPropTypes<{
185
- active: {
186
- type: BooleanConstructor;
187
- default: boolean;
188
- };
189
- alignContent: {
190
- type: PropType<import('../../types').Align>;
191
- default: import('../../types').Align;
192
- };
193
- ariaLabel: {
194
- type: StringConstructor;
195
- };
196
- as: {
197
- type: PropType<import('../../types').ButtonTags>;
198
- default: string;
199
- };
200
- borderRadius: {
201
- type: PropType<CLBorderRadius>;
202
- };
203
- busy: {
204
- type: BooleanConstructor;
205
- };
206
- color: {
207
- type: PropType<CLColors>;
208
- default: CLColors;
209
- };
210
- disabled: {
211
- type: BooleanConstructor;
212
- };
213
- elevated: {
214
- type: BooleanConstructor;
215
- default: boolean;
216
- };
217
- form: {
218
- type: StringConstructor;
219
- };
220
- forwardRef: {
221
- type: PropType<import('../../types').GenericFunction>;
222
- };
223
- height: {
224
- type: StringConstructor;
225
- default: string;
226
- };
227
- href: {
228
- type: StringConstructor;
229
- };
230
- iconAfter: {
231
- type: PropType<CLIconNames>;
232
- };
233
- iconBefore: {
234
- type: PropType<CLIconNames>;
235
- };
236
- iconSize: {
237
- type: PropType<CLIconSizes>;
238
- default: CLIconSizes;
239
- };
240
- iconAfterSize: {
241
- type: PropType<CLIconSizes>;
242
- default: CLIconSizes;
243
- };
244
- onClick: {
245
- type: FunctionConstructor;
246
- };
247
- pill: {
248
- type: BooleanConstructor;
249
- };
250
- rounded: {
251
- type: BooleanConstructor;
252
- default: boolean;
253
- };
254
- size: {
255
- type: PropType<CLSizes>;
256
- default: CLSizes;
257
- };
258
- target: {
259
- type: PropType<import('../../types').LinkTarget>;
260
- default: import('../../types').LinkTarget;
261
- };
262
- title: {
263
- type: StringConstructor;
264
- };
265
- testId: {
266
- type: StringConstructor;
267
- default: string;
268
- };
269
- type: {
270
- type: PropType<import('../../types').ButtonTypes>;
271
- default: import('../../types').ButtonTypes;
272
- };
273
- variant: {
274
- type: PropType<CLColorVariants>;
275
- default: CLColorVariants;
276
- };
277
- width: {
278
- type: StringConstructor;
279
- default: string;
280
- };
281
- wrap: {
282
- type: BooleanConstructor;
283
- default: boolean;
284
- };
285
- }>> & Readonly<{}>, {
286
- hasSlot: globalThis.ComputedRef<boolean>;
287
- }, {}, {}, {
288
- getSpinnerSize(): CLSizes.Tiny | CLSizes.Small | CLSizes.Medium;
289
- }, {
290
- color: CLColors;
291
- width: string;
292
- height: string;
293
- variant: CLColorVariants;
294
- elevated: boolean;
295
- testId: string;
296
- type: import('../../types').ButtonTypes;
297
- busy: boolean;
298
- rounded: boolean;
299
- active: boolean;
300
- alignContent: import('../../types').Align;
301
- as: import('../../types').ButtonTags;
302
- disabled: boolean;
303
- iconSize: CLIconSizes;
304
- iconAfterSize: CLIconSizes;
305
- pill: boolean;
306
- size: CLSizes;
307
- target: import('../../types').LinkTarget;
308
- wrap: boolean;
309
- }> | null;
310
- dropdownElem: HTMLDivElement;
311
- };
312
- rootEl: HTMLDivElement;
313
- };
314
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
315
- declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
316
- iconAfter: CLIconNames;
317
- iconSize: CLIconSizes;
318
- iconAfterSize: CLIconSizes;
319
- buttonHeight: string;
320
- buttonSize: CLSizes;
321
- buttonColor: CLColors;
322
- buttonVariant: CLColorVariants;
323
- buttonWidth: string;
324
- contentWidth: string;
325
- isOpen: boolean;
326
- placement: CLPlacement;
327
- zIndex: number | string;
328
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
329
- anchor: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
330
- active: {
331
- type: BooleanConstructor;
332
- default: boolean;
333
- };
334
- alignContent: {
335
- type: PropType<import('../../types').Align>;
336
- default: import('../../types').Align;
337
- };
338
- ariaLabel: {
339
- type: StringConstructor;
340
- };
341
- as: {
342
- type: PropType<import('../../types').ButtonTags>;
343
- default: string;
344
- };
345
- borderRadius: {
346
- type: PropType<CLBorderRadius>;
347
- };
348
- busy: {
349
- type: BooleanConstructor;
350
- };
351
- color: {
352
- type: PropType<CLColors>;
353
- default: CLColors;
354
- };
355
- disabled: {
356
- type: BooleanConstructor;
357
- };
358
- elevated: {
359
- type: BooleanConstructor;
360
- default: boolean;
361
- };
362
- form: {
363
- type: StringConstructor;
364
- };
365
- forwardRef: {
366
- type: PropType<import('../../types').GenericFunction>;
367
- };
368
- height: {
369
- type: StringConstructor;
370
- default: string;
371
- };
372
- href: {
373
- type: StringConstructor;
374
- };
375
- iconAfter: {
376
- type: PropType<CLIconNames>;
377
- };
378
- iconBefore: {
379
- type: PropType<CLIconNames>;
380
- };
381
- iconSize: {
382
- type: PropType<CLIconSizes>;
383
- default: CLIconSizes;
384
- };
385
- iconAfterSize: {
386
- type: PropType<CLIconSizes>;
387
- default: CLIconSizes;
388
- };
389
- onClick: {
390
- type: FunctionConstructor;
391
- };
392
- pill: {
393
- type: BooleanConstructor;
394
- };
395
- rounded: {
396
- type: BooleanConstructor;
397
- default: boolean;
398
- };
399
- size: {
400
- type: PropType<CLSizes>;
401
- default: CLSizes;
402
- };
403
- target: {
404
- type: PropType<import('../../types').LinkTarget>;
405
- default: import('../../types').LinkTarget;
406
- };
407
- title: {
408
- type: StringConstructor;
409
- };
410
- testId: {
411
- type: StringConstructor;
412
- default: string;
413
- };
414
- type: {
415
- type: PropType<import('../../types').ButtonTypes>;
416
- default: import('../../types').ButtonTypes;
417
- };
418
- variant: {
419
- type: PropType<CLColorVariants>;
420
- default: CLColorVariants;
421
- };
422
- width: {
423
- type: StringConstructor;
424
- default: string;
425
- };
426
- wrap: {
427
- type: BooleanConstructor;
428
- default: boolean;
429
- };
430
- }>> & Readonly<{}>, {
431
- hasSlot: globalThis.ComputedRef<boolean>;
432
- }, {}, {}, {
433
- getSpinnerSize(): CLSizes.Tiny | CLSizes.Small | CLSizes.Medium;
434
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
435
- color: CLColors;
436
- width: string;
437
- height: string;
438
- variant: CLColorVariants;
439
- elevated: boolean;
440
- testId: string;
441
- type: import('../../types').ButtonTypes;
442
- busy: boolean;
443
- rounded: boolean;
444
- active: boolean;
445
- alignContent: import('../../types').Align;
446
- as: import('../../types').ButtonTags;
447
- disabled: boolean;
448
- iconSize: CLIconSizes;
449
- iconAfterSize: CLIconSizes;
450
- pill: boolean;
451
- size: CLSizes;
452
- target: import('../../types').LinkTarget;
453
- wrap: boolean;
454
- }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
455
- P: {};
456
- B: {};
457
- D: {};
458
- C: {};
459
- M: {};
460
- Defaults: {};
461
- }, Readonly<globalThis.ExtractPropTypes<{
462
- active: {
463
- type: BooleanConstructor;
464
- default: boolean;
465
- };
466
- alignContent: {
467
- type: PropType<import('../../types').Align>;
468
- default: import('../../types').Align;
469
- };
470
- ariaLabel: {
471
- type: StringConstructor;
472
- };
473
- as: {
474
- type: PropType<import('../../types').ButtonTags>;
475
- default: string;
476
- };
477
- borderRadius: {
478
- type: PropType<CLBorderRadius>;
479
- };
480
- busy: {
481
- type: BooleanConstructor;
482
- };
483
- color: {
484
- type: PropType<CLColors>;
485
- default: CLColors;
486
- };
487
- disabled: {
488
- type: BooleanConstructor;
489
- };
490
- elevated: {
491
- type: BooleanConstructor;
492
- default: boolean;
493
- };
494
- form: {
495
- type: StringConstructor;
496
- };
497
- forwardRef: {
498
- type: PropType<import('../../types').GenericFunction>;
499
- };
500
- height: {
501
- type: StringConstructor;
502
- default: string;
503
- };
504
- href: {
505
- type: StringConstructor;
506
- };
507
- iconAfter: {
508
- type: PropType<CLIconNames>;
509
- };
510
- iconBefore: {
511
- type: PropType<CLIconNames>;
512
- };
513
- iconSize: {
514
- type: PropType<CLIconSizes>;
515
- default: CLIconSizes;
516
- };
517
- iconAfterSize: {
518
- type: PropType<CLIconSizes>;
519
- default: CLIconSizes;
520
- };
521
- onClick: {
522
- type: FunctionConstructor;
523
- };
524
- pill: {
525
- type: BooleanConstructor;
526
- };
527
- rounded: {
528
- type: BooleanConstructor;
529
- default: boolean;
530
- };
531
- size: {
532
- type: PropType<CLSizes>;
533
- default: CLSizes;
534
- };
535
- target: {
536
- type: PropType<import('../../types').LinkTarget>;
537
- default: import('../../types').LinkTarget;
538
- };
539
- title: {
540
- type: StringConstructor;
541
- };
542
- testId: {
543
- type: StringConstructor;
544
- default: string;
545
- };
546
- type: {
547
- type: PropType<import('../../types').ButtonTypes>;
548
- default: import('../../types').ButtonTypes;
549
- };
550
- variant: {
551
- type: PropType<CLColorVariants>;
552
- default: CLColorVariants;
553
- };
554
- width: {
555
- type: StringConstructor;
556
- default: string;
557
- };
558
- wrap: {
559
- type: BooleanConstructor;
560
- default: boolean;
561
- };
562
- }>> & Readonly<{}>, {
563
- hasSlot: globalThis.ComputedRef<boolean>;
564
- }, {}, {}, {
565
- getSpinnerSize(): CLSizes.Tiny | CLSizes.Small | CLSizes.Medium;
566
- }, {
567
- color: CLColors;
568
- width: string;
569
- height: string;
570
- variant: CLColorVariants;
571
- elevated: boolean;
572
- testId: string;
573
- type: import('../../types').ButtonTypes;
574
- busy: boolean;
575
- rounded: boolean;
576
- active: boolean;
577
- alignContent: import('../../types').Align;
578
- as: import('../../types').ButtonTags;
579
- disabled: boolean;
580
- iconSize: CLIconSizes;
581
- iconAfterSize: CLIconSizes;
582
- pill: boolean;
583
- size: CLSizes;
584
- target: import('../../types').LinkTarget;
585
- wrap: boolean;
586
- }> | null;
587
- dropdownElem: HTMLDivElement;
588
- }, HTMLDivElement>;
589
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
590
- export default _default;
591
- type __VLS_WithTemplateSlots<T, S> = T & {
592
- new (): {
593
- $slots: S;
594
- };
595
- };
@@ -1,3 +0,0 @@
1
- import { default as CLThemeProvider } from './CLThemeProvider.vue';
2
- export { CLThemeProvider };
3
- export type CLThemeProvider = InstanceType<typeof CLThemeProvider>;
@@ -1,85 +0,0 @@
1
- import { CLAlign, CLHeadingLevels, CLHeadingTypes, CLColors } from '../../index';
2
- /**
3
- * The `<CLHeading />` component renders text as a heading element.
4
- */
5
- declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
6
- /** Set the horizontal alignment of content. The property can be one of `CLAlign`, e.g. `CLAlign.Left` */
7
- align: {
8
- type: PropType<CLAlign>;
9
- default: CLAlign;
10
- };
11
- /** Render text with a font-weight of 900 */
12
- bolder: {
13
- type: BooleanConstructor;
14
- default: boolean;
15
- };
16
- /** Set the color of the heading. The property can be one of `CLColors`, e.g. `CLColors.Neutral` */
17
- color: {
18
- type: PropType<CLColors>;
19
- default: CLColors;
20
- };
21
- /** Set the heading level. The property can be one of `CLHeadingLevels`, e.g. `CLHeadingLevels.H1` */
22
- level: {
23
- type: PropType<CLHeadingLevels>;
24
- };
25
- /** Sets a custom ID used for unit tests. */
26
- testId: {
27
- type: StringConstructor;
28
- default: string;
29
- };
30
- /** When set to `true`, truncate the text if it overflows its container. */
31
- truncate: {
32
- type: BooleanConstructor;
33
- default: boolean;
34
- };
35
- /** Set the type of the heading. The property can be one of `CLHeadingTypes`, e.g. `CLHeadingTypes.Title` */
36
- type: {
37
- type: PropType<CLHeadingTypes>;
38
- default: CLHeadingTypes;
39
- };
40
- }>, {}, {}, {}, {
41
- getLevel(): CLHeadingLevels;
42
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
43
- /** Set the horizontal alignment of content. The property can be one of `CLAlign`, e.g. `CLAlign.Left` */
44
- align: {
45
- type: PropType<CLAlign>;
46
- default: CLAlign;
47
- };
48
- /** Render text with a font-weight of 900 */
49
- bolder: {
50
- type: BooleanConstructor;
51
- default: boolean;
52
- };
53
- /** Set the color of the heading. The property can be one of `CLColors`, e.g. `CLColors.Neutral` */
54
- color: {
55
- type: PropType<CLColors>;
56
- default: CLColors;
57
- };
58
- /** Set the heading level. The property can be one of `CLHeadingLevels`, e.g. `CLHeadingLevels.H1` */
59
- level: {
60
- type: PropType<CLHeadingLevels>;
61
- };
62
- /** Sets a custom ID used for unit tests. */
63
- testId: {
64
- type: StringConstructor;
65
- default: string;
66
- };
67
- /** When set to `true`, truncate the text if it overflows its container. */
68
- truncate: {
69
- type: BooleanConstructor;
70
- default: boolean;
71
- };
72
- /** Set the type of the heading. The property can be one of `CLHeadingTypes`, e.g. `CLHeadingTypes.Title` */
73
- type: {
74
- type: PropType<CLHeadingTypes>;
75
- default: CLHeadingTypes;
76
- };
77
- }>> & Readonly<{}>, {
78
- color: CLColors;
79
- testId: string;
80
- type: CLHeadingTypes;
81
- align: CLAlign;
82
- bolder: boolean;
83
- truncate: boolean;
84
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
85
- export default _default;