@codeandfunction/callaloo 1.13.4 → 1.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -3
- package/dist/assets/index.css +1 -1
- package/dist/components/Buttons/CLButton.vue.d.ts +13 -10
- package/dist/components/Buttons/utils.d.ts +7 -0
- package/dist/components/Containers/CLCard.vue.d.ts +1 -0
- package/dist/components/Containers/utils.d.ts +7 -0
- package/dist/components/Form/CLCheckbox.vue.d.ts +2 -2
- package/dist/components/Form/CLInput.vue.d.ts +8 -8
- package/dist/components/Form/CLInputMessages.vue.d.ts +5 -3
- package/dist/components/Form/CLRadioButton.vue.d.ts +2 -2
- package/dist/components/Form/CLSelect.vue.d.ts +3 -3
- package/dist/components/Form/CLTextArea.vue.d.ts +8 -8
- package/dist/components/Form/utils.d.ts +12 -0
- package/dist/components/Indicators/utils.d.ts +8 -0
- package/dist/components/Loading/utils.d.ts +6 -0
- package/dist/components/Modals/CLModal.vue.d.ts +3 -1
- package/dist/components/Modals/utils.d.ts +1 -0
- package/dist/components/Navigation/CLNavSection.vue.d.ts +1 -0
- package/dist/components/Navigation/utils.d.ts +7 -0
- package/dist/components/Popups/CLDropdownMenu.vue.d.ts +16 -10
- package/dist/components/Popups/{Toast.vue.d.ts → CLToast.vue.d.ts} +1 -0
- package/dist/components/Popups/utils.d.ts +4 -0
- package/dist/components/Table/utils.d.ts +1 -0
- package/dist/components/Theme/CLThemeProvider.vue.d.ts +21 -0
- package/dist/components/Theme/base-theme.d.ts +188 -0
- package/dist/components/Theme/utils.d.ts +20 -0
- package/dist/components/Typography/CLHeading.vue.d.ts +5 -5
- package/dist/components/Typography/CLText.vue.d.ts +4 -6
- package/dist/components/Typography/utils.d.ts +7 -0
- package/dist/composables/useDropdown.d.ts +1 -0
- package/dist/composables/useEsc.d.ts +3 -1
- package/dist/index.d.ts +5 -3
- package/dist/index.js +7202 -4436
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +32 -1
- package/dist/utils/helper.d.ts +1 -0
- package/package.json +37 -29
- package/dist/utils/tests.d.ts +0 -9
- /package/dist/components/Indicators/{Pill.vue.d.ts → CLPill.vue.d.ts} +0 -0
|
@@ -24,7 +24,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
24
24
|
type: StringConstructor;
|
|
25
25
|
default: string;
|
|
26
26
|
};
|
|
27
|
-
/** Set the text theme. The property can be one of `CLTextThemes`, e.g. `Dark`. */
|
|
27
|
+
/** Set the text theme. The property can be one of `CLTextThemes`, e.g. `CLThemes.Dark`. */
|
|
28
28
|
theme: {
|
|
29
29
|
type: PropType<CLTextThemes>;
|
|
30
30
|
default: CLThemes;
|
|
@@ -34,9 +34,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
34
34
|
type: BooleanConstructor;
|
|
35
35
|
default: boolean;
|
|
36
36
|
};
|
|
37
|
-
}>,
|
|
38
|
-
[key: string]: any;
|
|
39
|
-
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
37
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
40
38
|
/** Set the HTML tag of the text element. The property can be one of `CLTextHtmlTags`, e.g. `p`. */
|
|
41
39
|
as: {
|
|
42
40
|
type: PropType<CLTextHtmlTags>;
|
|
@@ -57,7 +55,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
57
55
|
type: StringConstructor;
|
|
58
56
|
default: string;
|
|
59
57
|
};
|
|
60
|
-
/** Set the text theme. The property can be one of `CLTextThemes`, e.g. `Dark`. */
|
|
58
|
+
/** Set the text theme. The property can be one of `CLTextThemes`, e.g. `CLThemes.Dark`. */
|
|
61
59
|
theme: {
|
|
62
60
|
type: PropType<CLTextThemes>;
|
|
63
61
|
default: CLThemes;
|
|
@@ -68,9 +66,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
68
66
|
default: boolean;
|
|
69
67
|
};
|
|
70
68
|
}>> & Readonly<{}>, {
|
|
69
|
+
label: boolean;
|
|
71
70
|
testId: string;
|
|
72
71
|
type: CLTextTypes;
|
|
73
|
-
label: boolean;
|
|
74
72
|
theme: CLTextThemes;
|
|
75
73
|
as: CLTextHtmlTags;
|
|
76
74
|
truncate: boolean;
|
|
@@ -3,5 +3,7 @@ interface Props {
|
|
|
3
3
|
escHandler: () => void;
|
|
4
4
|
triggerRef?: Ref<HTMLElement | undefined>;
|
|
5
5
|
}
|
|
6
|
-
export declare const useEsc: ({ escHandler, triggerRef }: Props) =>
|
|
6
|
+
export declare const useEsc: ({ escHandler, triggerRef }: Props) => {
|
|
7
|
+
clearEventListeners: () => void;
|
|
8
|
+
};
|
|
7
9
|
export {};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
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,
|
|
2
|
+
export type { BadgeThemes as CLBadgeThemes, BannerProps as CLBannerProps, CardProps as CLCardProps, HeadingThemes as CLHeadingThemes, InputThemes as CLInputThemes, GenericFunction as CLGenericFunction, GenericFocusFunction as CLGenericFocusFunction, MessageThemes as CLMessageThemes, NavItem as CLNavItem, PillThemes as CLPillThemes, Option as CLOption, SimpleThemes as CLSimpleThemes, SpinnerThemes as CLSpinnerThemes, Theme as CLTheme, ThemeConfig as CLThemeConfig, ThemeKeys as CLThemeKeys, TextThemes as CLTextThemes, TextHtmlTags as CLTextHtmlTags, ToastProps as CLToastProps, ToastThemes as CLToastThemes, } from './types';
|
|
3
3
|
export { default as CLA11yButton } from './components/Buttons/CLA11yButton.vue';
|
|
4
4
|
export { default as CLBadge } from './components/Indicators/CLBadge.vue';
|
|
5
5
|
export { default as CLBanner } from './components/Indicators/CLBanner.vue';
|
|
@@ -17,7 +17,7 @@ export { default as CLDropdownMenu } from './components/Popups/CLDropdownMenu.vu
|
|
|
17
17
|
export { default as CLModal } from './components/Modals/CLModal.vue';
|
|
18
18
|
export { default as CLNavLink } from './components/Navigation/CLNavLink.vue';
|
|
19
19
|
export { default as CLNavSection } from './components/Navigation/CLNavSection.vue';
|
|
20
|
-
export { default as CLPill } from './components/Indicators/
|
|
20
|
+
export { default as CLPill } from './components/Indicators/CLPill.vue';
|
|
21
21
|
export { default as CLRadioButton } from './components/Form/CLRadioButton.vue';
|
|
22
22
|
export { default as CLSelect } from './components/Form/CLSelect.vue';
|
|
23
23
|
export { default as CLSkeleton } from './components/Loading/CLSkeleton.vue';
|
|
@@ -31,4 +31,6 @@ export { default as CLTableNestedCell } from './components/Table/CLTableNestedCe
|
|
|
31
31
|
export { default as CLTableRow } from './components/Table/CLTableRow.vue';
|
|
32
32
|
export { default as CLText } from './components/Typography/CLText.vue';
|
|
33
33
|
export { default as CLTextArea } from './components/Form/CLTextArea.vue';
|
|
34
|
-
export { default as
|
|
34
|
+
export { default as CLThemeProvider } from './components/Theme/CLThemeProvider.vue';
|
|
35
|
+
export { default as CLToast } from './components/Popups/CLToast.vue';
|
|
36
|
+
export { DEFAULT_THEME, useTheme } from './components/Theme/base-theme';
|