@codeandfunction/callaloo 3.11.0 → 3.12.1

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 (50) hide show
  1. package/dist/assets/styles.css +1 -1
  2. package/dist/components/Assets/CLIcon.vue.d.ts +1 -1
  3. package/dist/components/Assets/utils.d.ts +1 -1
  4. package/dist/components/Buttons/CLA11yButton.vue.d.ts +1 -1
  5. package/dist/components/Buttons/CLButton.vue.d.ts +3 -3
  6. package/dist/components/Buttons/utils.d.ts +1 -1
  7. package/dist/components/Containers/CLCard.vue.d.ts +1 -1
  8. package/dist/components/Containers/CLDisclosure.vue.d.ts +1 -2
  9. package/dist/components/Containers/utils.d.ts +1 -1
  10. package/dist/components/Form/CLCheckbox.vue.d.ts +1 -1
  11. package/dist/components/Form/CLFormField.vue.d.ts +1 -1
  12. package/dist/components/Form/CLInput.vue.d.ts +1 -1
  13. package/dist/components/Form/CLInputMessages.vue.d.ts +1 -1
  14. package/dist/components/Form/CLRadioButton.vue.d.ts +1 -1
  15. package/dist/components/Form/CLSelect.vue.d.ts +1 -1
  16. package/dist/components/Form/CLTextArea.vue.d.ts +1 -1
  17. package/dist/components/Form/utils.d.ts +1 -1
  18. package/dist/components/Indicators/CLBadge.vue.d.ts +1 -1
  19. package/dist/components/Indicators/CLBanner.vue.d.ts +1 -1
  20. package/dist/components/Indicators/CLPill.vue.d.ts +1 -1
  21. package/dist/components/Indicators/utils.d.ts +1 -1
  22. package/dist/components/Loading/CLSkeleton.vue.d.ts +1 -1
  23. package/dist/components/Loading/CLSpinner.vue.d.ts +1 -1
  24. package/dist/components/Loading/utils.d.ts +1 -1
  25. package/dist/components/Modals/CLModal.vue.d.ts +1 -1
  26. package/dist/components/Navigation/CLLink.vue.d.ts +1 -1
  27. package/dist/components/Navigation/CLNavLink.vue.d.ts +1 -1
  28. package/dist/components/Navigation/CLNavSection.vue.d.ts +1 -1
  29. package/dist/components/Navigation/utils.d.ts +1 -1
  30. package/dist/components/Popups/CLDropdownMenu.vue.d.ts +49 -49
  31. package/dist/components/Popups/CLToast.vue.d.ts +1 -1
  32. package/dist/components/Popups/utils.d.ts +1 -1
  33. package/dist/components/{Theme → Providers/Theme}/CLThemeProvider.vue.d.ts +1 -1
  34. package/dist/components/{Theme → Providers/Theme}/base-theme.d.ts +15 -15
  35. package/dist/components/{Theme → Providers/Theme}/utils.d.ts +1 -1
  36. package/dist/components/Providers/Toast/CLToastProvider.vue.d.ts +2 -2
  37. package/dist/components/Providers/index.d.ts +3 -1
  38. package/dist/components/Table/CLTable.vue.d.ts +1 -1
  39. package/dist/components/Table/CLTableCell.vue.d.ts +1 -1
  40. package/dist/components/Table/CLTableRow.vue.d.ts +1 -1
  41. package/dist/components/Typography/CLHeading.vue.d.ts +1 -1
  42. package/dist/components/Typography/CLText.vue.d.ts +1 -1
  43. package/dist/components/Typography/utils.d.ts +1 -1
  44. package/dist/composables/useDropdown.d.ts +1 -1
  45. package/dist/composables/useToast.d.ts +1 -1
  46. package/dist/index.d.ts +4 -4
  47. package/dist/index.js +3338 -3330
  48. package/dist/types.d.ts +80 -79
  49. package/package.json +17 -13
  50. package/dist/components/Theme/index.d.ts +0 -3
@@ -1,4 +1,4 @@
1
- import { CLGenericFunction } from '../../index';
1
+ import { CLGenericFunction } from '../../index.ts';
2
2
  export interface Props {
3
3
  /** The number of columns that the cell should span. */
4
4
  colSpan?: number;
@@ -1,4 +1,4 @@
1
- import { CLGenericFunction } from '../../index';
1
+ import { CLGenericFunction } from '../../index.ts';
2
2
  export interface Props {
3
3
  /** The function to call when the row is clicked. */
4
4
  onClick?: CLGenericFunction;
@@ -1,4 +1,4 @@
1
- import { CLAlign, CLHeadingLevels, CLHeadingTypes, CLColors } from '../../index';
1
+ import { CLAlign, CLHeadingLevels, CLHeadingTypes, CLColors } from '../../index.ts';
2
2
  /**
3
3
  * The `<CLHeading />` component renders text as a heading element.
4
4
  */
@@ -1,4 +1,4 @@
1
- import { CLAlign, CLTextHtmlTags, CLTextTypes, CLColors } from '../../index';
1
+ import { CLAlign, CLTextHtmlTags, CLTextTypes, CLColors } from '../../index.ts';
2
2
  /**
3
3
  * The `<CLText />` component renders a text element.
4
4
  */
@@ -1,4 +1,4 @@
1
- import { CLColors } from '../../index';
1
+ import { CLColors } from '../../index.ts';
2
2
  interface TextThemeProps {
3
3
  color?: CLColors;
4
4
  }
@@ -5,7 +5,7 @@ interface Props {
5
5
  openDropdownHandler?: () => void;
6
6
  closeDropdownHandler?: () => void;
7
7
  }
8
- export declare const useDropdown: ({ triggerRef, dropdownRef, openDropdownHandler, closeDropdownHandler, }: Props) => {
8
+ export declare const useDropdown: ({ triggerRef, dropdownRef, openDropdownHandler, closeDropdownHandler }: Props) => {
9
9
  open: Ref<boolean, boolean>;
10
10
  toggleDropdown: () => void;
11
11
  closeDropdown: () => void;
@@ -1,4 +1,4 @@
1
- import { CLToastProps } from '../index';
1
+ import { CLToastProps } from '../index.ts';
2
2
  export declare const useToast: () => {
3
3
  visible: boolean | undefined;
4
4
  showToast: (input: Omit<CLToastProps, "onDismiss">) => void;
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- export { Align as CLAlign, BorderRadius as CLBorderRadius, ButtonTypes as CLButtonTypes, CardTypes as CLCardTypes, Colors as CLColors, ColorVariants as CLColorVariants, HeadingLevels as CLHeadingLevels, HeadingTypes as CLHeadingTypes, IconSizes as CLIconSizes, IconNames as CLIconNames, InputTypes as CLInputTypes, LinkTarget as CLLinkTarget, Loading as CLLoading, Mode as CLMode, Orientation as CLOrientation, Order as CLOrder, PaginationType as CLPaginationType, Placement as CLPlacement, Position as CLPosition, Sizes as CLSizes, TableTypes as CLTableTypes, TextTypes as CLTextTypes, ToastPosition as CLToastPosition } from './types';
2
- export type { BannerProps as CLBannerProps, ButtonTags as CLButtonTags, CardProps as CLCardProps, GenericFunction as CLGenericFunction, GenericFocusFunction as CLGenericFocusFunction, GenericInputFunction as CLGenericInputFunction, NavItem as CLNavItem, Palette as CLPalette, Option as CLOption, ThemeConfig as CLThemeConfig, TextHtmlTags as CLTextHtmlTags, ToastProps as CLToastProps } from './types';
1
+ export { CLAlign, CLBorderRadius, CLButtonTypes, CLCardTypes, CLColors, CLColorVariants, CLHeadingLevels, CLHeadingTypes, CLIconSizes, CLIconNames, CLInputTypes, CLLinkTarget, CLLoading, CLMessageType, CLMode, CLOrientation, CLOrder, CLPaginationType, CLPlacement, CLPosition, CLSizes, CLTableTypes, CLTextTypes, CLToastPosition } from './types';
2
+ export type { CLBannerProps, CLBlockTextHtmlTags, CLButtonTags, CLButtonForwardRefFunction, CLCardProps, CLGenericFunction, CLGenericFocusFunction, CLGenericInputFunction, CLInlineTextHtmlTags, CLNavItem, CLOption, CLPalette, CLPaletteKeys, CLShades, CLTextHtmlTags, CLThemeConfig, CLToastProps } from './types';
3
3
  export { CLBadge, CLBanner, CLPill, CLProgress } from './components/Indicators';
4
4
  export { CLA11yButton, CLButton } from './components/Buttons';
5
5
  export { CLCard, CLCarousel, CLCarouselSlide, CLDisclosure } from './components/Containers';
@@ -11,7 +11,7 @@ export { CLDropdownMenu, CLToast } from './components/Popups';
11
11
  export { CLModal } from './components/Modals';
12
12
  export { CLSkeleton, CLSpinner } from './components/Loading';
13
13
  export { CLTable, CLTableBody, CLTableCell, CLTableFooter, CLTableHeader, CLTableNestedCell, CLTableRow } from './components/Table';
14
- export { CLThemeProvider } from './components/Theme';
14
+ export { CLThemeProvider } from './components/Providers';
15
15
  export { CLToastProvider, type CLToastProviderOutput } from './components/Providers';
16
16
  export { useToast } from './composables/useToast';
17
- export { DEFAULT_THEME, useTheme } from './components/Theme/base-theme';
17
+ export { DEFAULT_THEME, useTheme } from './components/Providers/Theme/base-theme';