@codeandfunction/callaloo 1.13.1 → 1.13.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 (39) hide show
  1. package/README.md +10 -1
  2. package/dist/assets/index.css +1 -1
  3. package/dist/components/Assets/Icon.vue.d.ts +7 -3
  4. package/dist/components/Buttons/A11yButton.vue.d.ts +4 -0
  5. package/dist/components/Buttons/Button.vue.d.ts +61 -6
  6. package/dist/components/Containers/Card.vue.d.ts +2 -2
  7. package/dist/components/Containers/Carousel/Carousel.vue.d.ts +24 -1
  8. package/dist/components/Containers/Carousel/CarouselNavigation.vue.d.ts +15 -8
  9. package/dist/components/Containers/Carousel/CarouselSlide.vue.d.ts +16 -0
  10. package/dist/components/Containers/Disclosure.vue.d.ts +23 -4
  11. package/dist/components/Form/Checkbox.vue.d.ts +48 -3
  12. package/dist/components/Form/Input.vue.d.ts +72 -3
  13. package/dist/components/Form/RadioButton.vue.d.ts +48 -3
  14. package/dist/components/Form/Select.vue.d.ts +50 -3
  15. package/dist/components/Form/TextArea.vue.d.ts +68 -3
  16. package/dist/components/Indicators/Badge.vue.d.ts +8 -0
  17. package/dist/components/Indicators/Banner.vue.d.ts +3 -2
  18. package/dist/components/Indicators/Pill.vue.d.ts +13 -3
  19. package/dist/components/Loading/Skeleton.vue.d.ts +8 -1
  20. package/dist/components/Loading/Spinner.vue.d.ts +9 -2
  21. package/dist/components/Modals/CLModal.vue.d.ts +12 -3
  22. package/dist/components/Navigation/Link.vue.d.ts +12 -3
  23. package/dist/components/Navigation/NavLink.vue.d.ts +12 -3
  24. package/dist/components/Navigation/NavSection.vue.d.ts +5 -1
  25. package/dist/components/Popups/DropdownMenu.vue.d.ts +36 -11
  26. package/dist/components/Popups/Toast.vue.d.ts +3 -2
  27. package/dist/components/Table/Table.vue.d.ts +12 -0
  28. package/dist/components/Table/TableCell.vue.d.ts +14 -7
  29. package/dist/components/Table/TableRow.vue.d.ts +3 -1
  30. package/dist/components/Typography/Heading.vue.d.ts +36 -14
  31. package/dist/components/Typography/Text.vue.d.ts +40 -16
  32. package/dist/constants.d.ts +22 -0
  33. package/dist/index.d.ts +3 -2
  34. package/dist/index.js +996 -595
  35. package/dist/index.js.map +1 -1
  36. package/dist/types.d.ts +98 -54
  37. package/dist/{helper.d.ts → utils/helper.d.ts} +9 -2
  38. package/dist/utils/tests.d.ts +9 -0
  39. package/package.json +61 -33
@@ -1,54 +1,78 @@
1
1
  import { PropType } from 'vue';
2
2
  import { CLTextHtmlTags, CLTextThemes, CLTextTypes, CLThemes } from '../../index';
3
+ /**
4
+ * The `<CLText />` component renders a text element.
5
+ */
3
6
  declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
7
+ /** Set the HTML tag of the text element. The property can be one of `CLTextHtmlTags`, e.g. `p`. */
8
+ as: {
9
+ type: PropType<CLTextHtmlTags>;
10
+ default: string;
11
+ };
12
+ /** Rendered a bolded text. */
13
+ label: {
14
+ type: BooleanConstructor;
15
+ default: boolean;
16
+ };
17
+ /** Set the text type. The property can be one of `CLTextTypes`, e.g. `Body`. */
4
18
  type: {
5
19
  type: PropType<CLTextTypes>;
6
20
  default: CLTextTypes;
7
21
  };
22
+ /** Sets a custom ID used for unit tests. */
23
+ testId: {
24
+ type: StringConstructor;
25
+ default: string;
26
+ };
27
+ /** Set the text theme. The property can be one of `CLTextThemes`, e.g. `Dark`. */
8
28
  theme: {
9
29
  type: PropType<CLTextThemes>;
10
30
  default: CLThemes;
11
31
  };
32
+ /** When set to `true`, truncate the text if it overflows its container. */
12
33
  truncate: {
13
34
  type: BooleanConstructor;
14
35
  default: boolean;
15
36
  };
16
- label: {
17
- type: BooleanConstructor;
18
- default: boolean;
19
- };
37
+ }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
38
+ [key: string]: any;
39
+ }>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
40
+ /** Set the HTML tag of the text element. The property can be one of `CLTextHtmlTags`, e.g. `p`. */
20
41
  as: {
21
42
  type: PropType<CLTextHtmlTags>;
22
43
  default: string;
23
44
  };
24
- }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
25
- [key: string]: any;
26
- }>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
45
+ /** Rendered a bolded text. */
46
+ label: {
47
+ type: BooleanConstructor;
48
+ default: boolean;
49
+ };
50
+ /** Set the text type. The property can be one of `CLTextTypes`, e.g. `Body`. */
27
51
  type: {
28
52
  type: PropType<CLTextTypes>;
29
53
  default: CLTextTypes;
30
54
  };
55
+ /** Sets a custom ID used for unit tests. */
56
+ testId: {
57
+ type: StringConstructor;
58
+ default: string;
59
+ };
60
+ /** Set the text theme. The property can be one of `CLTextThemes`, e.g. `Dark`. */
31
61
  theme: {
32
62
  type: PropType<CLTextThemes>;
33
63
  default: CLThemes;
34
64
  };
65
+ /** When set to `true`, truncate the text if it overflows its container. */
35
66
  truncate: {
36
67
  type: BooleanConstructor;
37
68
  default: boolean;
38
69
  };
39
- label: {
40
- type: BooleanConstructor;
41
- default: boolean;
42
- };
43
- as: {
44
- type: PropType<CLTextHtmlTags>;
45
- default: string;
46
- };
47
70
  }>> & Readonly<{}>, {
71
+ testId: string;
48
72
  type: CLTextTypes;
49
73
  label: boolean;
50
74
  theme: CLTextThemes;
51
- truncate: boolean;
52
75
  as: CLTextHtmlTags;
76
+ truncate: boolean;
53
77
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
54
78
  export default _default;
@@ -0,0 +1,22 @@
1
+ import { CLIconSizes, CLTextTypes } from './index';
2
+ export declare const DecoratorIconSize: {
3
+ tiny: CLIconSizes;
4
+ small: CLIconSizes;
5
+ medium: CLIconSizes;
6
+ large: CLIconSizes;
7
+ xlarge: CLIconSizes;
8
+ };
9
+ export declare const InputLabelSizes: {
10
+ tiny: CLTextTypes;
11
+ small: CLTextTypes;
12
+ medium: CLTextTypes;
13
+ large: CLTextTypes;
14
+ xlarge: CLTextTypes;
15
+ };
16
+ export declare const LabelSizes: {
17
+ tiny: CLTextTypes;
18
+ small: CLTextTypes;
19
+ medium: CLTextTypes;
20
+ large: CLTextTypes;
21
+ xlarge: CLTextTypes;
22
+ };
package/dist/index.d.ts CHANGED
@@ -1,11 +1,12 @@
1
- export { Align as CLAlign, BorderRadius as CLBorderRadius, ButtonTypes as CLButtonTypes, CardTypes as CLCardTypes, DarkMode as CLDarkMode, HeadingLevels as CLHeadingLevels, HeadingTypes as CLHeadingTypes, IconNames as CLIconNames, InputTypes as CLInputTypes, LinkTarget as CLLinkTarget, MessageType as CLMessageType, Orientation as CLOrientation, Order as CLOrder, Placement as CLPlacement, Position as CLPosition, Sizes as CLSizes, TableTypes as CLTableTypes, TextTypes as CLTextTypes, Themes as CLThemes, } from './types';
2
- export type { BadgeThemes as CLBadgeThemes, BannerProps as CLBannerProps, CardProps as CLCardProps, HeadingThemes as CLHeadingThemes, InputProps as CLInputProps, NavItem as CLNavItem, PillThemes as CLPillThemes, Option as CLOption, SimpleThemes as CLSimpleThemes, SpinnerThemes as CLSpinnerThemes, ToastProps as CLToastProps, TextThemes as CLTextThemes, TextHtmlTags as CLTextHtmlTags, } from './types';
1
+ export { Align as CLAlign, BorderRadius as CLBorderRadius, ButtonTypes as CLButtonTypes, CardTypes as CLCardTypes, DarkMode as CLDarkMode, HeadingLevels as CLHeadingLevels, HeadingTypes as CLHeadingTypes, IconSizes as CLIconSizes, IconNames as CLIconNames, InputTypes as CLInputTypes, LinkTarget as CLLinkTarget, MessageType as CLMessageType, Orientation as CLOrientation, Order as CLOrder, PaginationType as CLPaginationType, Placement as CLPlacement, Position as CLPosition, Sizes as CLSizes, TableTypes as CLTableTypes, TextTypes as CLTextTypes, Themes as CLThemes, } from './types';
2
+ export type { BadgeThemes as CLBadgeThemes, BannerProps as CLBannerProps, CardProps as CLCardProps, HeadingThemes as CLHeadingThemes, InputThemes as CLInputThemes, GenericFunction as CLGenericFunction, GenericFocusFunction as CLGenericFocusFunction, NavItem as CLNavItem, PillThemes as CLPillThemes, Option as CLOption, SimpleThemes as CLSimpleThemes, SpinnerThemes as CLSpinnerThemes, ToastProps as CLToastProps, TextThemes as CLTextThemes, TextHtmlTags as CLTextHtmlTags, } from './types';
3
3
  export { default as CLA11yButton } from './components/Buttons/A11yButton.vue';
4
4
  export { default as CLBadge } from './components/Indicators/Badge.vue';
5
5
  export { default as CLBanner } from './components/Indicators/Banner.vue';
6
6
  export { default as CLButton } from './components/Buttons/Button.vue';
7
7
  export { default as CLCard } from './components/Containers/Card.vue';
8
8
  export { default as CLCarousel } from './components/Containers/Carousel/Carousel.vue';
9
+ export { default as CLCarouselSlide } from './components/Containers/Carousel/CarouselSlide.vue';
9
10
  export { default as CLCheckbox } from './components/Form/Checkbox.vue';
10
11
  export { default as CLDisclosure } from './components/Containers/Disclosure.vue';
11
12
  export { default as CLHeading } from './components/Typography/Heading.vue';