@kwantis-id3/frontend-library 1.0.0-rc.6 → 1.0.0-rc.8

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 (45) hide show
  1. package/README.md +7 -0
  2. package/dist/esm/index.js +122 -95
  3. package/dist/esm/index.js.map +1 -1
  4. package/dist/esm/types/components/Accordion/Accordion.d.ts +2 -2
  5. package/dist/esm/types/components/Accordion/AccordionInterfaces.d.ts +1 -1
  6. package/dist/esm/types/components/Accordion/index.d.ts +1 -1
  7. package/dist/esm/types/components/Button/Button.d.ts +2 -26
  8. package/dist/esm/types/components/Button/ButtonInterfaces.d.ts +24 -0
  9. package/dist/esm/types/components/Button/ButtonStyled.d.ts +41 -0
  10. package/dist/esm/types/components/Button/index.d.ts +2 -1
  11. package/dist/esm/types/components/Card/CardInterfaces.d.ts +1 -1
  12. package/dist/esm/types/components/Card/index.d.ts +2 -2
  13. package/dist/esm/types/components/Drawer/Drawer.d.ts +3 -0
  14. package/dist/esm/types/components/Drawer/DrawerInterfaces.d.ts +21 -0
  15. package/dist/esm/types/components/Drawer/DrawerStyled.d.ts +25 -0
  16. package/dist/esm/types/components/Drawer/index.d.ts +2 -0
  17. package/dist/esm/types/components/Dropdown/Dropdown.d.ts +2 -43
  18. package/dist/esm/types/components/Dropdown/DropdownInterfaces.d.ts +43 -0
  19. package/dist/esm/types/components/Dropdown/index.d.ts +2 -1
  20. package/dist/esm/types/components/Indicator/index.d.ts +2 -2
  21. package/dist/esm/types/components/InputField/InputField.d.ts +2 -8
  22. package/dist/esm/types/components/InputField/InputFieldInterfaces.d.ts +8 -0
  23. package/dist/esm/types/components/InputField/index.d.ts +2 -1
  24. package/dist/esm/types/components/Modal/Modal.d.ts +3 -19
  25. package/dist/esm/types/components/Modal/ModalInterfaces.d.ts +16 -0
  26. package/dist/esm/types/components/Modal/index.d.ts +2 -2
  27. package/dist/esm/types/components/MultiViewList/MultiViewListInterfaces.d.ts +0 -1
  28. package/dist/esm/types/components/MultiViewList/index.d.ts +1 -1
  29. package/dist/esm/types/components/SelectFilter/index.d.ts +2 -2
  30. package/dist/esm/types/components/Slider/Slider.d.ts +2 -2
  31. package/dist/esm/types/components/Slider/index.d.ts +1 -1
  32. package/dist/esm/types/components/Table/DebouncedInput.d.ts +0 -1
  33. package/dist/esm/types/components/Table/index.d.ts +1 -1
  34. package/dist/esm/types/components/Tag/Tag.d.ts +2 -22
  35. package/dist/esm/types/components/Tag/TagInterfaces.d.ts +22 -0
  36. package/dist/esm/types/components/Tag/TagStyled.d.ts +7 -0
  37. package/dist/esm/types/components/Tag/index.d.ts +2 -1
  38. package/dist/esm/types/components/ThemeContext/ThemeContext.d.ts +2 -2
  39. package/dist/esm/types/components/TreeView/TreeViewInterfaces.d.ts +0 -1
  40. package/dist/esm/types/components/index.d.ts +14 -13
  41. package/dist/esm/types/utils/testing.d.ts +0 -1
  42. package/dist/index.d.ts +79 -40
  43. package/package.json +20 -18
  44. package/changelog.md +0 -229
  45. /package/dist/esm/types/components/Modal/{StyledModal.d.ts → ModalStyled.d.ts} +0 -0
@@ -1,3 +1,3 @@
1
- import React from "react";
1
+ import { FC } from "react";
2
2
  import { TAccordionProps } from "./AccordionInterfaces";
3
- export declare const Accordion: React.FC<TAccordionProps>;
3
+ export declare const Accordion: FC<TAccordionProps>;
@@ -1,4 +1,4 @@
1
- import React, { PropsWithChildren } from "react";
1
+ import { PropsWithChildren } from "react";
2
2
  export type TAccordionProps = PropsWithChildren & {
3
3
  /** Title to be used if no custom trigger is passed */
4
4
  title: string;
@@ -1,2 +1,2 @@
1
- export { Accordion } from "./Accordion";
1
+ export * from "./Accordion";
2
2
  export * from "./AccordionInterfaces";
@@ -1,27 +1,3 @@
1
1
  /** @jsxImportSource @emotion/react */
2
- import * as React from "react";
3
- import { Interpolation } from "@emotion/styled";
4
- import { Theme } from "@emotion/react";
5
- export type ButtonVariants = "contained" | "outlined" | "text";
6
- export type ButtonProps = {
7
- /** Color of the button */
8
- color?: string;
9
- /** Type of the button */
10
- type?: "button" | "submit" | "reset";
11
- /** Custom styles */
12
- sx?: Interpolation<Theme>;
13
- /** Variant of the button, either `contained`, `outlined` or `text` */
14
- variant?: ButtonVariants;
15
- /** The button size; either "large" or "small" */
16
- size?: "small" | "large";
17
- /** onClick handler */
18
- onClick?: () => void;
19
- className?: string;
20
- /** HTML id */
21
- htmlId?: string;
22
- /** Disabled state */
23
- disabled?: boolean;
24
- /** Elements to render as children */
25
- children?: React.ReactNode;
26
- };
27
- export declare const Button: (props: ButtonProps) => import("@emotion/react/jsx-runtime").JSX.Element;
2
+ import { TButtonProps } from "./ButtonInterfaces";
3
+ export declare const Button: (props: TButtonProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1,24 @@
1
+ import { Interpolation } from "@emotion/react";
2
+ import { Theme } from "@emotion/react/dist/declarations/src";
3
+ export type TButtonVariants = "contained" | "outlined" | "text";
4
+ export type TButtonProps = {
5
+ /** Color of the button */
6
+ color?: string;
7
+ /** Type of the button */
8
+ type?: "button" | "submit" | "reset";
9
+ /** Custom styles */
10
+ sx?: Interpolation<Theme>;
11
+ /** Variant of the button, either `contained`, `outlined` or `text` */
12
+ variant?: TButtonVariants;
13
+ /** The button size; either "large" or "small" */
14
+ size?: "small" | "large";
15
+ /** onClick handler */
16
+ onClick?: () => void;
17
+ className?: string;
18
+ /** HTML id */
19
+ htmlId?: string;
20
+ /** Disabled state */
21
+ disabled?: boolean;
22
+ /** Elements to render as children */
23
+ children?: React.ReactNode;
24
+ };
@@ -0,0 +1,41 @@
1
+ export declare const StylishButton: import("@emotion/styled").StyledComponent<{
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
4
+ } & {
5
+ $size: "small" | "large";
6
+ $disabled?: boolean;
7
+ }, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
8
+ export declare const ContainedButton: import("@emotion/styled").StyledComponent<{
9
+ theme?: import("@emotion/react").Theme;
10
+ as?: React.ElementType;
11
+ } & {
12
+ $size: "small" | "large";
13
+ $disabled?: boolean;
14
+ } & import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & {
15
+ theme?: import("@emotion/react").Theme;
16
+ } & {
17
+ $color: string;
18
+ $textColor: string;
19
+ }, {}, {}>;
20
+ export declare const OutlinedButton: import("@emotion/styled").StyledComponent<{
21
+ theme?: import("@emotion/react").Theme;
22
+ as?: React.ElementType;
23
+ } & {
24
+ $size: "small" | "large";
25
+ $disabled?: boolean;
26
+ } & import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & {
27
+ theme?: import("@emotion/react").Theme;
28
+ } & {
29
+ $color: string;
30
+ }, {}, {}>;
31
+ export declare const TextButton: import("@emotion/styled").StyledComponent<{
32
+ theme?: import("@emotion/react").Theme;
33
+ as?: React.ElementType;
34
+ } & {
35
+ $size: "small" | "large";
36
+ $disabled?: boolean;
37
+ } & import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & {
38
+ theme?: import("@emotion/react").Theme;
39
+ } & {
40
+ $color: string;
41
+ }, {}, {}>;
@@ -1 +1,2 @@
1
- export { Button, ButtonProps } from "./Button";
1
+ export * from "./Button";
2
+ export * from "./ButtonInterfaces";
@@ -1,5 +1,5 @@
1
1
  import { Interpolation, Theme } from "@emotion/react";
2
- import React, { PropsWithChildren } from "react";
2
+ import { PropsWithChildren } from "react";
3
3
  export type TCardSectionProps = PropsWithChildren & {
4
4
  sx?: Interpolation<Theme>;
5
5
  onClick?: (e: React.MouseEvent<HTMLElement>) => void;
@@ -1,2 +1,2 @@
1
- export { Card, CardHeader, CardContent, CardFooter, CardIndicators, CardMediaSection, } from "./Card";
2
- export { TCardSectionProps } from "./CardInterfaces";
1
+ export * from "./Card";
2
+ export * from "./CardInterfaces";
@@ -0,0 +1,3 @@
1
+ /** @jsxImportSource @emotion/react */
2
+ import { TDrawerProps } from "./DrawerInterfaces";
3
+ export declare const Drawer: ({ anchor, openContent, closedContent, openTrigger, closedTrigger, minOpen, maxOpen, bgColor, triggerHoverColor, }: TDrawerProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1,21 @@
1
+ import { ReactNode } from "react";
2
+ export type TDrawerProps = {
3
+ /** Position of the drawer */
4
+ anchor: "top" | "right" | "bottom" | "left";
5
+ /** Trigger showed when drawer is closed */
6
+ closedTrigger?: ReactNode;
7
+ /** Trigger showed when drawer is open */
8
+ openTrigger?: ReactNode;
9
+ /** Component to be rendered when Drawer is open */
10
+ openContent?: ReactNode;
11
+ /** Component to be rendered when Drawer is closed */
12
+ closedContent?: ReactNode;
13
+ /** Min open of the drawer as number of pixels. If not defined the minOpen will be the height of closedContent if present, otherwise 0px */
14
+ minOpen?: number;
15
+ /** Max open of the drawer as number of pixels. If not defined the maxOpen will be the height of openContent with limit at 90vh/vw */
16
+ maxOpen?: number;
17
+ /** Background color */
18
+ bgColor?: string;
19
+ /** Trigger hover color */
20
+ triggerHoverColor?: string;
21
+ };
@@ -0,0 +1,25 @@
1
+ export declare const DrawerBody: import("@emotion/styled").StyledComponent<{
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
4
+ } & {
5
+ $anchor: "top" | "right" | "bottom" | "left";
6
+ $isOpen: boolean;
7
+ $minOpen?: string;
8
+ $maxOpen?: string;
9
+ $bgColor?: string;
10
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
11
+ export declare const DrawerContent: import("@emotion/styled").StyledComponent<{
12
+ theme?: import("@emotion/react").Theme;
13
+ as?: React.ElementType;
14
+ } & {
15
+ $anchor: "top" | "right" | "bottom" | "left";
16
+ $isOpen: boolean;
17
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
18
+ export declare const Trigger: import("@emotion/styled").StyledComponent<{
19
+ theme?: import("@emotion/react").Theme;
20
+ as?: React.ElementType;
21
+ } & {
22
+ $anchor: "top" | "right" | "bottom" | "left";
23
+ $bgColor?: string;
24
+ $triggerHoverColor?: string;
25
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -0,0 +1,2 @@
1
+ export * from "./Drawer";
2
+ export * from "./DrawerInterfaces";
@@ -1,43 +1,2 @@
1
- /** @jsxImportSource @emotion/react */
2
- import React from "react";
3
- /**
4
- * @property {string} value - The value displayed in the dropdown item
5
- * @property {string} color - The color of the dropdown item
6
- * @property {string} textColor - The text color of the dropdown item
7
- * @property {DropdownItem[]} children - The children of the dropdown item
8
- * @property {() => void} onClick - The onClick handler of the dropdown item
9
- */
10
- export type DropdownItem = {
11
- /** The value displayed in the item */
12
- value: string;
13
- /** The color of the item */
14
- bgColor?: string;
15
- /** The text color of the item */
16
- textColor?: string;
17
- /** The hover color of the item */
18
- hoverColor?: string;
19
- /** The children of the item */
20
- children?: DropdownItem[];
21
- /** Wether the item is hidden or not */
22
- isHidden?: boolean;
23
- /** Wether the dropdown should close when the item is clicked */
24
- closeOnClick?: boolean;
25
- /** The onClick handler of the item */
26
- onClick?: () => void;
27
- };
28
- export type DropdownProps = {
29
- /** The content of the dropdown */
30
- content: DropdownItem[];
31
- /** The trigger element of the dropdown. Clicking on this item will open the dropdown */
32
- trigger: React.ReactNode;
33
- /** The color of the dropdown */
34
- bgColor?: string;
35
- /** The hover color of the dropdown */
36
- hoverColor?: string;
37
- /** Controls wether the dropdown should extend towards the left or the right */
38
- direction?: "left" | "right";
39
- /** The mobile breakpoint, by default it's 768px */
40
- mobileBreakpoint?: number;
41
- };
42
- export declare const DropdownDesktop: (props: DropdownProps) => import("@emotion/react/jsx-runtime").JSX.Element;
43
- export declare const Dropdown: (props: DropdownProps) => import("@emotion/react/jsx-runtime").JSX.Element;
1
+ import { TDropdownProps } from "./DropdownInterfaces";
2
+ export declare const Dropdown: (props: TDropdownProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1,43 @@
1
+ /**
2
+ * @property {string} value - The value displayed in the dropdown item
3
+ * @property {string} color - The color of the dropdown item
4
+ * @property {string} textColor - The text color of the dropdown item
5
+ * @property {DropdownItem[]} children - The children of the dropdown item
6
+ * @property {() => void} onClick - The onClick handler of the dropdown item
7
+ */
8
+ export type TDropdownItem = {
9
+ /** The value displayed in the item */
10
+ value: string;
11
+ /** The color of the item */
12
+ bgColor?: string;
13
+ /** The text color of the item */
14
+ textColor?: string;
15
+ /** The hover color of the item */
16
+ hoverColor?: string;
17
+ /** The children of the item */
18
+ children?: TDropdownItem[];
19
+ /** Wether the item is hidden or not */
20
+ isHidden?: boolean;
21
+ /** Wether the dropdown should close when the item is clicked */
22
+ closeOnClick?: boolean;
23
+ /** The onClick handler of the item */
24
+ onClick?: () => void;
25
+ };
26
+ export type TDropdownProps = {
27
+ /** The content of the dropdown */
28
+ content: TDropdownItem[];
29
+ /** The trigger element of the dropdown. Clicking on this item will open the dropdown */
30
+ trigger: React.ReactNode;
31
+ /** The color of the dropdown */
32
+ bgColor?: string;
33
+ /** The hover color of the dropdown */
34
+ hoverColor?: string;
35
+ /** Controls wether the dropdown should extend towards the left or the right */
36
+ direction?: "left" | "right";
37
+ /** The mobile breakpoint, by default it's 768px */
38
+ mobileBreakpoint?: number;
39
+ };
40
+ export type TDropdownItemProps = TDropdownItem & {
41
+ direction?: string;
42
+ closeBody: () => void;
43
+ };
@@ -1 +1,2 @@
1
- export { Dropdown, DropdownProps, DropdownItem } from "./Dropdown";
1
+ export * from "./Dropdown";
2
+ export * from "./DropdownInterfaces";
@@ -1,2 +1,2 @@
1
- export { TIndicatorProps, TIndicatorVariants } from "./IndicatorInterfaces";
2
- export { Indicator } from "./Indicator";
1
+ export * from "./IndicatorInterfaces";
2
+ export * from "./Indicator";
@@ -1,11 +1,5 @@
1
- import React from "react";
2
- interface TextFieldProps extends React.InputHTMLAttributes<HTMLInputElement> {
3
- /** Classname given to the container div */
1
+ export declare const InputField: import("react").ForwardRefExoticComponent<import("react").InputHTMLAttributes<HTMLInputElement> & {
4
2
  containerClassName?: string;
5
- /** The color of the input */
6
3
  color?: string;
7
- /** Change the styles of the input field */
8
4
  sx?: React.CSSProperties;
9
- }
10
- export declare const InputField: React.ForwardRefExoticComponent<TextFieldProps & React.RefAttributes<HTMLInputElement>>;
11
- export {};
5
+ } & import("react").RefAttributes<HTMLInputElement>>;
@@ -0,0 +1,8 @@
1
+ export type TTextFieldProps = React.InputHTMLAttributes<HTMLInputElement> & {
2
+ /** Classname given to the container div */
3
+ containerClassName?: string;
4
+ /** The color of the input */
5
+ color?: string;
6
+ /** Change the styles of the input field */
7
+ sx?: React.CSSProperties;
8
+ };
@@ -1 +1,2 @@
1
- export { InputField } from "./InputField";
1
+ export * from "./InputField";
2
+ export * from "./InputFieldInterfaces";
@@ -1,19 +1,3 @@
1
- import React from "react";
2
- interface ModalProps {
3
- /** The content of the modal */
4
- children: React.ReactNode;
5
- /** Cointrols whether the modal should be open or not. */
6
- isOpen: boolean;
7
- /** The handler to be called when the modal is closed */
8
- onClose: () => void;
9
- /** The handler to be called when the modal is opened */
10
- onOpen?: () => void;
11
- /** custom width */
12
- width?: string;
13
- /** custom height */
14
- height?: string;
15
- /** custom css */
16
- sx?: React.CSSProperties;
17
- }
18
- declare const Modal: React.FC<ModalProps>;
19
- export default Modal;
1
+ import { FC } from "react";
2
+ import { TModalProps } from "./ModalInterfaces";
3
+ export declare const Modal: FC<TModalProps>;
@@ -0,0 +1,16 @@
1
+ export type TModalProps = {
2
+ /** The content of the modal */
3
+ children: React.ReactNode;
4
+ /** Cointrols whether the modal should be open or not. */
5
+ isOpen: boolean;
6
+ /** The handler to be called when the modal is closed */
7
+ onClose: () => void;
8
+ /** The handler to be called when the modal is opened */
9
+ onOpen?: () => void;
10
+ /** custom width */
11
+ width?: string;
12
+ /** custom height */
13
+ height?: string;
14
+ /** custom css */
15
+ sx?: React.CSSProperties;
16
+ };
@@ -1,2 +1,2 @@
1
- import Modal from "./Modal";
2
- export { Modal };
1
+ export * from "./Modal";
2
+ export * from "./ModalInterfaces";
@@ -1,4 +1,3 @@
1
- import React from "react";
2
1
  import { TCellValues, TTableProps, TTableRow } from "../Table";
3
2
  export type TMultiViewListProps<Cell extends TCellValues, Row extends TTableRow<Cell>> = TTableProps<Cell, Row> & {
4
3
  mode: "table" | "cards";
@@ -1,2 +1,2 @@
1
1
  export * from "./MultiViewListInterfaces";
2
- export { MultiViewList } from "./MultiViewList";
2
+ export * from "./MultiViewList";
@@ -1,2 +1,2 @@
1
- export { SingleSelect, SingleSelectProps } from "./SingleSelect";
2
- export { MultiSelect, MultiSelectProps } from "./MultiSelect";
1
+ export * from "./SingleSelect";
2
+ export * from "./MultiSelect";
@@ -1,4 +1,4 @@
1
- export type SliderProps = {
1
+ export type TSliderProps = {
2
2
  /** The values of the slider. */
3
3
  values: number[];
4
4
  /** The minimum value of the slider. */
@@ -30,4 +30,4 @@ export type SliderProps = {
30
30
  /** Wether the thumbs can overlap */
31
31
  allowOverlap?: boolean;
32
32
  };
33
- export declare const Slider: (props: SliderProps) => import("@emotion/react/jsx-runtime").JSX.Element;
33
+ export declare const Slider: (props: TSliderProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- export { Slider, SliderProps } from "./Slider";
1
+ export * from "./Slider";
@@ -1,4 +1,3 @@
1
- import React from "react";
2
1
  export declare function DebouncedInput({ value: initialValue, onChange, debounce, ...props }: {
3
2
  value: string | number;
4
3
  onChange: (value: string | number) => void;
@@ -1,2 +1,2 @@
1
1
  export * from "./TableInterfaces";
2
- export { Table, renderCell } from "./Table";
2
+ export * from "./Table";
@@ -1,24 +1,4 @@
1
+ /** @jsxImportSource @emotion/react */
1
2
  import { FC } from "react";
2
- import { ITagColors } from "../ThemeContext/ThemeInterfaces";
3
- import { Interpolation } from "@emotion/styled";
4
- import { Theme } from "@emotion/react";
5
- export type TTagProps = {
6
- text: string;
7
- /**
8
- * If `variant` is set to `custom`, `bgColor` and `textColor` will be used.
9
- * Otherwise, the `variant` will be used to determine the colors.
10
- *
11
- * The variants are the keys of the interface `@see ITagColors`, which by default are:
12
- * - `default`
13
- * - `warm`
14
- * - `cold`
15
- * - `paper`
16
- */
17
- variant: keyof ITagColors | "custom";
18
- /** To use this prop, the variant must be set to `custom` */
19
- bgColor?: string;
20
- /** To use this prop, the variant must be set to `custom` */
21
- textColor?: string;
22
- sx?: Interpolation<Theme>;
23
- };
3
+ import { TTagProps } from "./TagInterfaces";
24
4
  export declare const Tag: FC<TTagProps>;
@@ -0,0 +1,22 @@
1
+ import { Interpolation } from "@emotion/react";
2
+ import { Theme } from "@emotion/react/dist/declarations/src";
3
+ import { ITagColors } from "../ThemeContext";
4
+ export type TTagProps = {
5
+ text: string;
6
+ /**
7
+ * If `variant` is set to `custom`, `bgColor` and `textColor` will be used.
8
+ * Otherwise, the `variant` will be used to determine the colors.
9
+ *
10
+ * The variants are the keys of the interface `@see ITagColors`, which by default are:
11
+ * - `default`
12
+ * - `warm`
13
+ * - `cold`
14
+ * - `paper`
15
+ */
16
+ variant: keyof ITagColors | "custom";
17
+ /** To use this prop, the variant must be set to `custom` */
18
+ bgColor?: string;
19
+ /** To use this prop, the variant must be set to `custom` */
20
+ textColor?: string;
21
+ sx?: Interpolation<Theme>;
22
+ };
@@ -0,0 +1,7 @@
1
+ export declare const StyledTag: import("@emotion/styled").StyledComponent<{
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
4
+ } & {
5
+ $bgColor: string;
6
+ $textColor: string;
7
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
@@ -1 +1,2 @@
1
- export { Tag, TTagProps } from "./Tag";
1
+ export * from "./Tag";
2
+ export * from "./TagInterfaces";
@@ -1,6 +1,6 @@
1
- import React from "react";
1
+ import { PropsWithChildren, ReactNode } from "react";
2
2
  import { IPalette, IThemeContextProps, IThemeContextValue } from "./ThemeInterfaces";
3
3
  export declare const defaultLightPalette: IPalette;
4
4
  export declare const defaultDarkPalette: IPalette;
5
- export declare const ThemeContextProvider: ({ palettes, defaultMode, children, }: React.PropsWithChildren<IThemeContextProps>) => JSX.Element;
5
+ export declare const ThemeContextProvider: ({ palettes, defaultMode, children, }: PropsWithChildren<IThemeContextProps>) => ReactNode;
6
6
  export declare const useThemeContext: () => IThemeContextValue;
@@ -1,5 +1,4 @@
1
1
  import { Interpolation, Theme } from "@emotion/react";
2
- import React from "react";
3
2
  /**
4
3
  * A callback to customize how items are rendered
5
4
  * @property isOpen: A boolean indicating if the item is expanded
@@ -1,14 +1,15 @@
1
- export { Button, ButtonProps } from "./Button";
1
+ export * from "./Button";
2
2
  export * from "./ThemeContext";
3
- export { Accordion, TAccordionProps } from "./Accordion";
4
- export { InputField } from "./InputField";
5
- export { SingleSelect, SingleSelectProps, MultiSelect, MultiSelectProps, } from "./SelectFilter";
6
- export { Slider, SliderProps } from "./Slider";
7
- export { Dropdown, DropdownProps, DropdownItem } from "./Dropdown";
8
- export { Modal } from "./Modal";
9
- export { TIndicatorProps, TIndicatorVariants, Indicator } from "./Indicator";
10
- export { Tag, TTagProps } from "./Tag";
11
- export { Card, CardHeader, CardContent, CardFooter, CardIndicators, CardMediaSection, TCardSectionProps, } from "./Card";
12
- export { Table, renderCell, TTableProps, TTableCell, TCellValues, TTableRow, } from "./Table";
13
- export { MultiViewList, TMultiViewListProps } from "./MultiViewList";
14
- export { ControlledTreeView, UncontrolledTreeView, TControlledTreeViewProps, TUncontrolledTreeViewProps, TViewState, TTreeViewItem, TCustomRenderProps, } from "./TreeView";
3
+ export * from "./Accordion";
4
+ export * from "./InputField";
5
+ export * from "./SelectFilter";
6
+ export * from "./Slider";
7
+ export * from "./Dropdown";
8
+ export * from "./Modal";
9
+ export * from "./Indicator";
10
+ export * from "./Tag";
11
+ export * from "./Card";
12
+ export * from "./Table";
13
+ export * from "./MultiViewList";
14
+ export * from "./TreeView";
15
+ export * from "./Drawer";
@@ -1,5 +1,4 @@
1
1
  import { TCellValues, TTableRow } from "../components/index";
2
- import React from "react";
3
2
  import { IThemeContextProps } from "../components/ThemeContext/ThemeInterfaces";
4
3
  import { RenderHookResult, RenderResult } from "@testing-library/react";
5
4
  import { ColumnDef } from "@tanstack/react-table";