elseware-ui 2.2.21 → 2.2.22

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 (115) hide show
  1. package/dist/index.esm.min.js +24 -0
  2. package/dist/index.min.js +25 -0
  3. package/package.json +9 -7
  4. package/build/components/data-display/avatar/Avatar.d.ts +0 -17
  5. package/build/components/data-display/badge/Badge.d.ts +0 -16
  6. package/build/components/data-display/banners/TitleBanner.d.ts +0 -18
  7. package/build/components/data-display/charts/BarChart.d.ts +0 -10
  8. package/build/components/data-display/charts/LineChart.d.ts +0 -9
  9. package/build/components/data-display/charts/PieChart.d.ts +0 -10
  10. package/build/components/data-display/chip/Chip.d.ts +0 -11
  11. package/build/components/data-display/colors/Color.d.ts +0 -7
  12. package/build/components/data-display/colors/ColorMatrix.d.ts +0 -4
  13. package/build/components/data-display/image/CloudinaryImage.d.ts +0 -10
  14. package/build/components/data-display/image/Image.d.ts +0 -10
  15. package/build/components/data-display/image/index.d.ts +0 -3
  16. package/build/components/data-display/info/Info.d.ts +0 -9
  17. package/build/components/data-display/lists/List.d.ts +0 -9
  18. package/build/components/data-display/lists/ListItem.d.ts +0 -15
  19. package/build/components/data-display/lists/index.d.ts +0 -3
  20. package/build/components/data-display/price-tag/PriceTag.d.ts +0 -10
  21. package/build/components/data-display/rating/StarRating.d.ts +0 -11
  22. package/build/components/data-display/rating/StarRatingDistribution.d.ts +0 -25
  23. package/build/components/data-display/rating/index.d.ts +0 -3
  24. package/build/components/data-display/slider/Slider.d.ts +0 -10
  25. package/build/components/data-display/slider/SliderItem.d.ts +0 -10
  26. package/build/components/data-display/table/Table.d.ts +0 -17
  27. package/build/components/data-display/table/TableContent.d.ts +0 -13
  28. package/build/components/data-display/table/TableRow.d.ts +0 -10
  29. package/build/components/data-display/tag/Tag.d.ts +0 -8
  30. package/build/components/data-display/typography/chapter/Chapter.d.ts +0 -14
  31. package/build/components/data-display/typography/index.d.ts +0 -14
  32. package/build/components/data-display/typography/link/Link.d.ts +0 -15
  33. package/build/components/data-display/typography/paragraph/Paragraph.d.ts +0 -14
  34. package/build/components/data-display/typography/quote/Quote.d.ts +0 -7
  35. package/build/components/data-display/typography/section/Section.d.ts +0 -14
  36. package/build/components/data-entry/button/Button.d.ts +0 -20
  37. package/build/components/data-entry/checkbox/Checkbox.d.ts +0 -9
  38. package/build/components/data-entry/date-selector/DateSelector.d.ts +0 -9
  39. package/build/components/data-entry/form/Form.d.ts +0 -11
  40. package/build/components/data-entry/form/FormResponse.d.ts +0 -12
  41. package/build/components/data-entry/form/index.d.ts +0 -3
  42. package/build/components/data-entry/image-input/ImageInput.d.ts +0 -13
  43. package/build/components/data-entry/image-input/ImageView.d.ts +0 -9
  44. package/build/components/data-entry/input/Input.d.ts +0 -13
  45. package/build/components/data-entry/input/InputResponse.d.ts +0 -11
  46. package/build/components/data-entry/input/index.d.ts +0 -3
  47. package/build/components/data-entry/multi-image-input/MultiImageInput.d.ts +0 -10
  48. package/build/components/data-entry/radio/Radio.d.ts +0 -9
  49. package/build/components/data-entry/rating/StarRatingInput.d.ts +0 -9
  50. package/build/components/data-entry/rating/index.d.ts +0 -2
  51. package/build/components/data-entry/select/Select.d.ts +0 -10
  52. package/build/components/data-entry/switch/Switch.d.ts +0 -11
  53. package/build/components/data-entry/text-area/TextArea.d.ts +0 -10
  54. package/build/components/feedback/backdrop/Backdrop.d.ts +0 -8
  55. package/build/components/feedback/skeleton/Skeleton.d.ts +0 -7
  56. package/build/components/feedback/toast/Toast.d.ts +0 -9
  57. package/build/components/feedback/transition/TransitionDropdown.d.ts +0 -9
  58. package/build/components/feedback/transition/TransitionFadeIn.d.ts +0 -9
  59. package/build/components/feedback/transition/index.d.ts +0 -7
  60. package/build/components/general/content-area/ContentArea.d.ts +0 -10
  61. package/build/components/general/footer-navbar/FooterNavbar.d.ts +0 -4
  62. package/build/components/general/header-navbar/HeaderNavbar.d.ts +0 -10
  63. package/build/components/general/sidebar/Sidebar.d.ts +0 -8
  64. package/build/components/general/sidebar/SidebarToggler.d.ts +0 -7
  65. package/build/components/general/sidebar/index.d.ts +0 -3
  66. package/build/components/layout/flex/FlexCol.d.ts +0 -9
  67. package/build/components/layout/flex/FlexRow.d.ts +0 -9
  68. package/build/components/layout/flex/index.d.ts +0 -7
  69. package/build/components/layout/grid/Grid.d.ts +0 -8
  70. package/build/components/layout/layout/Content.d.ts +0 -9
  71. package/build/components/layout/layout/Footer.d.ts +0 -7
  72. package/build/components/layout/layout/Header.d.ts +0 -8
  73. package/build/components/layout/layout/Layout.d.ts +0 -8
  74. package/build/components/layout/layout/Sider.d.ts +0 -9
  75. package/build/components/layout/layout/index.d.ts +0 -6
  76. package/build/components/navigation/breadcrumb/Breadcrumb.d.ts +0 -13
  77. package/build/components/navigation/breadcrumb/BreadcrumbItem.d.ts +0 -9
  78. package/build/components/navigation/breadcrumb/index.d.ts +0 -3
  79. package/build/components/navigation/header-nav/HeaderNav.d.ts +0 -25
  80. package/build/components/navigation/header-nav/HeaderNavGroup.d.ts +0 -13
  81. package/build/components/navigation/header-nav/HeaderNavItem.d.ts +0 -12
  82. package/build/components/navigation/header-nav/HeaderNavItemContext.d.ts +0 -9
  83. package/build/components/navigation/header-nav/HeaderNavItemTitle.d.ts +0 -10
  84. package/build/components/navigation/header-nav/index.d.ts +0 -5
  85. package/build/components/navigation/menu/MIContext.d.ts +0 -8
  86. package/build/components/navigation/menu/Menu.d.ts +0 -25
  87. package/build/components/navigation/menu/MenuGroup.d.ts +0 -11
  88. package/build/components/navigation/menu/MenuItem.d.ts +0 -17
  89. package/build/components/navigation/menu/MenuItemTitle.d.ts +0 -9
  90. package/build/components/navigation/menu/index.d.ts +0 -5
  91. package/build/components/other/modal/Modal.d.ts +0 -16
  92. package/build/components/surfaces/accordion/Accordion.d.ts +0 -12
  93. package/build/components/surfaces/card/Card.d.ts +0 -9
  94. package/build/components/surfaces/card/CardContent.d.ts +0 -9
  95. package/build/components/surfaces/card/CardFooter.d.ts +0 -9
  96. package/build/components/surfaces/card/CardHeader.d.ts +0 -11
  97. package/build/components/surfaces/card/index.d.ts +0 -5
  98. package/build/components/theme/ThemeContext.d.ts +0 -14
  99. package/build/components/theme/ThemeSwitch.d.ts +0 -3
  100. package/build/components/theme/index.d.ts +0 -3
  101. package/build/components/utils/AsyncComponentWrapper.d.ts +0 -11
  102. package/build/components/utils/ShowMore.d.ts +0 -8
  103. package/build/data/enums.d.ts +0 -48
  104. package/build/data/meta/currency.d.ts +0 -5
  105. package/build/data/styles.d.ts +0 -67
  106. package/build/data/test/test-data.d.ts +0 -20
  107. package/build/index.d.ts +0 -55
  108. package/build/index.es.js +0 -33341
  109. package/build/index.es.js.map +0 -1
  110. package/build/index.js +0 -33447
  111. package/build/index.js.map +0 -1
  112. package/build/layouts/DefaultLayout.d.ts +0 -7
  113. package/build/utils/hooks/components/useModal.d.ts +0 -6
  114. package/build/utils/hooks/components/useSider.d.ts +0 -7
  115. package/build/utils/useClickOutside.d.ts +0 -5
@@ -1,11 +0,0 @@
1
- /// <reference types="@types/react" />
2
- import React from "react";
3
- import { FieldHookConfig } from "formik";
4
- export interface SwitchProps {
5
- name: string;
6
- label?: string;
7
- description?: string;
8
- showStatus?: boolean;
9
- }
10
- declare function Switch({ label, description, showStatus, ...props }: FieldHookConfig<boolean> & SwitchProps): React.JSX.Element;
11
- export default Switch;
@@ -1,10 +0,0 @@
1
- /// <reference types="@types/react" />
2
- import React from "react";
3
- import { FieldHookConfig } from "formik";
4
- export interface TextAreaProps {
5
- placeholder: string;
6
- limit: number;
7
- styles?: string;
8
- }
9
- declare function TextArea({ placeholder, limit, styles, ...props }: FieldHookConfig<string> & TextAreaProps): React.JSX.Element;
10
- export default TextArea;
@@ -1,8 +0,0 @@
1
- /// <reference types="@types/react" />
2
- import React from "react";
3
- export interface BackdropProps {
4
- children?: React.ReactNode;
5
- styles?: string;
6
- }
7
- export declare const Backdrop: ({ children, styles }: BackdropProps) => React.JSX.Element;
8
- export default Backdrop;
@@ -1,7 +0,0 @@
1
- /// <reference types="@types/react" />
2
- import React from "react";
3
- export interface SkeletonProps {
4
- children?: React.ReactNode;
5
- styles?: string;
6
- }
7
- export declare const Skeleton: ({ children, styles }: SkeletonProps) => React.JSX.Element;
@@ -1,9 +0,0 @@
1
- /// <reference types="@types/react" />
2
- import React from "react";
3
- import "react-toastify/dist/ReactToastify.css";
4
- declare function sendToast(data?: {
5
- status: string;
6
- message: string;
7
- }): void;
8
- declare function Toast(): React.JSX.Element;
9
- export { Toast, sendToast };
@@ -1,9 +0,0 @@
1
- /// <reference types="@types/react" />
2
- import React from "react";
3
- import { ReactNode } from "react";
4
- export interface TransitionDropdownProps {
5
- visibility: any;
6
- children?: ReactNode;
7
- }
8
- declare function TransitionDropdown({ visibility, children }: TransitionDropdownProps): React.JSX.Element;
9
- export default TransitionDropdown;
@@ -1,9 +0,0 @@
1
- /// <reference types="@types/react" />
2
- import React from "react";
3
- import { ReactNode } from "react";
4
- export interface TransitionDropdownProps {
5
- visibility: any;
6
- children?: ReactNode;
7
- }
8
- declare function TransitionFadeIn({ visibility, children }: TransitionDropdownProps): React.JSX.Element;
9
- export default TransitionFadeIn;
@@ -1,7 +0,0 @@
1
- import TransitionDropdown from "./TransitionDropdown";
2
- import TransitionFadeIn from "./TransitionFadeIn";
3
- declare const Transition: {
4
- TransitionDropdown: typeof TransitionDropdown;
5
- TransitionFadeIn: typeof TransitionFadeIn;
6
- };
7
- export default Transition;
@@ -1,10 +0,0 @@
1
- /// <reference types="@types/react" />
2
- import React from "react";
3
- import { ReactNode } from "react";
4
- export interface ContentAreaProps {
5
- children?: ReactNode;
6
- styles?: string;
7
- enablePadding?: boolean;
8
- }
9
- declare function ContentArea({ children, styles, enablePadding, }: ContentAreaProps): React.JSX.Element;
10
- export default ContentArea;
@@ -1,4 +0,0 @@
1
- /// <reference types="@types/react" />
2
- import React from 'react';
3
- declare function FooterNavbar(): React.JSX.Element;
4
- export default FooterNavbar;
@@ -1,10 +0,0 @@
1
- /// <reference types="@types/react" />
2
- import React from "react";
3
- import { ReactNode } from "react";
4
- export interface HeaderNavbarProps {
5
- left?: ReactNode;
6
- middle?: ReactNode;
7
- right?: ReactNode;
8
- }
9
- declare function HeaderNavbar({ left, middle, right }: HeaderNavbarProps): React.JSX.Element;
10
- export default HeaderNavbar;
@@ -1,8 +0,0 @@
1
- /// <reference types="@types/react" />
2
- import React from "react";
3
- import "./sidebar.css";
4
- export interface SidebarProps {
5
- data?: any;
6
- }
7
- declare function Sidebar({ data }: SidebarProps): React.JSX.Element;
8
- export default Sidebar;
@@ -1,7 +0,0 @@
1
- /// <reference types="@types/react" />
2
- import React from "react";
3
- export interface SidebarTogglerProps {
4
- handleToggleSider?: () => void;
5
- }
6
- declare function SidebarToggler({ handleToggleSider }: SidebarTogglerProps): React.JSX.Element;
7
- export default SidebarToggler;
@@ -1,3 +0,0 @@
1
- import Sidebar from "./Sidebar";
2
- import SidebarToggler from "./SidebarToggler";
3
- export { Sidebar, SidebarToggler };
@@ -1,9 +0,0 @@
1
- /// <reference types="@types/react" />
2
- import React from "react";
3
- export interface FlexColProps {
4
- children?: React.ReactNode;
5
- gap?: number;
6
- styles?: string;
7
- }
8
- declare function FlexCol({ children, gap, styles }: FlexColProps): React.JSX.Element;
9
- export default FlexCol;
@@ -1,9 +0,0 @@
1
- /// <reference types="@types/react" />
2
- import React from "react";
3
- export interface FlexColProps {
4
- children?: React.ReactNode;
5
- gap?: number;
6
- styles?: string;
7
- }
8
- declare function FlexRow({ children, gap, styles }: FlexColProps): React.JSX.Element;
9
- export default FlexRow;
@@ -1,7 +0,0 @@
1
- import FlexCol from "./FlexCol";
2
- import FlexRow from "./FlexRow";
3
- declare const Flex: {
4
- FlexCol: typeof FlexCol;
5
- FlexRow: typeof FlexRow;
6
- };
7
- export { Flex, FlexCol, FlexRow };
@@ -1,8 +0,0 @@
1
- /// <reference types="@types/react" />
2
- import React from "react";
3
- export interface GridProps {
4
- children?: React.ReactNode;
5
- styles?: string;
6
- }
7
- declare function Grid({ children, styles }: GridProps): React.JSX.Element;
8
- export default Grid;
@@ -1,9 +0,0 @@
1
- /// <reference types="@types/react" />
2
- import React from "react";
3
- export interface ContentProps {
4
- children?: React.ReactNode;
5
- sidebarVisible?: boolean;
6
- isMobile?: boolean;
7
- styles?: string;
8
- }
9
- export declare const Content: ({ sidebarVisible, isMobile, children, styles, }: ContentProps) => React.JSX.Element;
@@ -1,7 +0,0 @@
1
- /// <reference types="@types/react" />
2
- import React from "react";
3
- export interface FooterProps {
4
- children?: React.ReactNode;
5
- styles?: string;
6
- }
7
- export declare const Footer: ({ children, styles }: FooterProps) => React.JSX.Element;
@@ -1,8 +0,0 @@
1
- /// <reference types="@types/react" />
2
- import React from "react";
3
- export interface HeaderProps {
4
- position?: "static" | "fixed" | "sticky";
5
- children?: React.ReactNode;
6
- styles?: string;
7
- }
8
- export declare const Header: ({ position, children, styles }: HeaderProps) => React.JSX.Element;
@@ -1,8 +0,0 @@
1
- /// <reference types="@types/react" />
2
- import React from "react";
3
- export interface LayoutProps {
4
- flexDirection?: "vertical" | "horizontal";
5
- children?: React.ReactNode;
6
- styles?: string;
7
- }
8
- export declare const Layout: ({ flexDirection, children, styles, }: LayoutProps) => React.JSX.Element;
@@ -1,9 +0,0 @@
1
- /// <reference types="@types/react" />
2
- import React from "react";
3
- export interface SiderProps {
4
- children?: React.ReactNode;
5
- visibility: boolean;
6
- isMobile: boolean;
7
- handleClose: () => void;
8
- }
9
- export declare const Sider: ({ children, visibility, isMobile, handleClose }: SiderProps) => React.JSX.Element;
@@ -1,6 +0,0 @@
1
- import { Layout } from "./Layout";
2
- import { Header } from "./Header";
3
- import { Sider } from "./Sider";
4
- import { Content } from "./Content";
5
- import { Footer } from "./Footer";
6
- export { Layout, Header, Sider, Content, Footer };
@@ -1,13 +0,0 @@
1
- /// <reference types="@types/react" />
2
- import React from "react";
3
- export interface I_ItemType {
4
- title: string;
5
- href: string;
6
- }
7
- export interface BreadcrumbProps {
8
- gap?: number;
9
- seperator?: string;
10
- data?: I_ItemType[];
11
- styles?: string;
12
- }
13
- export declare const Breadcrumb: ({ gap, seperator, data, styles }: BreadcrumbProps) => React.JSX.Element;
@@ -1,9 +0,0 @@
1
- /// <reference types="@types/react" />
2
- import React from "react";
3
- export interface BreadcrumbItemProps {
4
- title: string;
5
- href: string;
6
- active: boolean;
7
- }
8
- declare function BreadcrumbItem({ title, href, active }: BreadcrumbItemProps): React.JSX.Element;
9
- export default BreadcrumbItem;
@@ -1,3 +0,0 @@
1
- import { Breadcrumb } from "./Breadcrumb";
2
- import BreadcrumbItem from "./BreadcrumbItem";
3
- export { Breadcrumb, BreadcrumbItem };
@@ -1,25 +0,0 @@
1
- /// <reference types="@types/react" />
2
- import React from "react";
3
- interface I_HeaderNavItem {
4
- component: any;
5
- icon?: React.ReactNode;
6
- name: string;
7
- badge?: React.ReactNode;
8
- to?: string;
9
- onClick?: () => void;
10
- }
11
- interface I_HeaderNavGroup {
12
- component: any;
13
- icon?: React.ReactNode;
14
- name: string;
15
- badge?: React.ReactNode;
16
- to?: string;
17
- items: I_HeaderNavItem[];
18
- }
19
- export type HeaderDataItemProps = I_HeaderNavItem | I_HeaderNavGroup;
20
- export interface HeaderNavProps {
21
- data: HeaderDataItemProps[];
22
- styles?: string;
23
- }
24
- declare function HeaderNav({ data, styles }: HeaderNavProps): React.JSX.Element;
25
- export default HeaderNav;
@@ -1,13 +0,0 @@
1
- /// <reference types="@types/react" />
2
- import React from "react";
3
- export interface HeaderNavGroupProps {
4
- icon?: React.ReactNode;
5
- name: string;
6
- description: string;
7
- badge?: React.ReactNode;
8
- to?: string;
9
- children: React.ReactNode;
10
- styles?: string;
11
- }
12
- export declare const HeaderNavGroup: ({ icon, name, description, badge, to, styles, children, }: HeaderNavGroupProps) => React.JSX.Element;
13
- export default HeaderNavGroup;
@@ -1,12 +0,0 @@
1
- /// <reference types="@types/react" />
2
- import React from "react";
3
- export interface HeaderNavItemProps {
4
- icon?: React.ReactNode;
5
- name: string;
6
- description: string;
7
- badge?: React.ReactNode;
8
- to?: string;
9
- onClick?: () => void;
10
- styles?: string;
11
- }
12
- export declare const HeaderNavItem: ({ icon, name, description, badge, to, onClick, styles }: HeaderNavItemProps) => React.JSX.Element;
@@ -1,9 +0,0 @@
1
- /// <reference types="@types/react" />
2
- import React from "react";
3
- export interface HeaderNavItemContextProps {
4
- icon?: React.ReactNode;
5
- name: string;
6
- description: string;
7
- badge?: React.ReactNode;
8
- }
9
- export declare const HeaderNavItemContext: ({ icon, name, description, badge, }: HeaderNavItemContextProps) => React.JSX.Element;
@@ -1,10 +0,0 @@
1
- /// <reference types="@types/react" />
2
- import React from "react";
3
- export interface HeaderNavItemTitleProps {
4
- icon?: React.ReactNode;
5
- name: string;
6
- description: string;
7
- badge?: React.ReactNode;
8
- styles?: string;
9
- }
10
- export declare const HeaderNavItemTitle: ({ icon, name, description, badge, styles }: HeaderNavItemTitleProps) => React.JSX.Element;
@@ -1,5 +0,0 @@
1
- import HeaderNav from "./HeaderNav";
2
- import HeaderNavGroup from "./HeaderNavGroup";
3
- import { HeaderNavItem } from "./HeaderNavItem";
4
- import { HeaderNavItemTitle } from "./HeaderNavItemTitle";
5
- export { HeaderNav, HeaderNavGroup, HeaderNavItem, HeaderNavItemTitle };
@@ -1,8 +0,0 @@
1
- /// <reference types="@types/react" />
2
- import React from "react";
3
- export interface MIContextProps {
4
- icon?: React.ReactNode;
5
- name: string;
6
- badge?: React.ReactNode;
7
- }
8
- export declare const MIContext: ({ icon, name, badge }: MIContextProps) => React.JSX.Element;
@@ -1,25 +0,0 @@
1
- /// <reference types="@types/react" />
2
- import React from "react";
3
- interface I_MenuItem {
4
- component: any;
5
- icon?: React.ReactNode;
6
- name: string;
7
- badge?: React.ReactNode;
8
- to?: string;
9
- onClick?: () => void;
10
- }
11
- interface I_MenuGroup {
12
- component: any;
13
- icon?: React.ReactNode;
14
- name: string;
15
- badge?: React.ReactNode;
16
- to?: string;
17
- items: I_MenuItem[];
18
- }
19
- export type MenuDataItemProps = I_MenuItem | I_MenuGroup;
20
- export interface MenuProps {
21
- data: MenuDataItemProps[];
22
- styles?: string;
23
- }
24
- declare function Menu({ data, styles }: MenuProps): React.JSX.Element;
25
- export { Menu };
@@ -1,11 +0,0 @@
1
- /// <reference types="@types/react" />
2
- import React from "react";
3
- export interface MenuGroupProps {
4
- icon?: React.ReactNode;
5
- name: string;
6
- badge?: React.ReactNode;
7
- to?: string;
8
- children: React.ReactNode;
9
- styles?: string;
10
- }
11
- export declare const MenuGroup: ({ icon, name, badge, to, styles, children }: MenuGroupProps) => React.JSX.Element;
@@ -1,17 +0,0 @@
1
- /// <reference types="@types/react" />
2
- import React from "react";
3
- export interface ContentProps {
4
- icon?: React.ReactNode;
5
- name: string;
6
- badge?: React.ReactNode;
7
- styles?: string;
8
- }
9
- export interface MenuItemProps {
10
- icon?: React.ReactNode;
11
- name: string;
12
- badge?: React.ReactNode;
13
- to?: string;
14
- onClick?: () => void;
15
- styles?: string;
16
- }
17
- export declare const MenuItem: ({ icon, name, badge, to, onClick, styles }: MenuItemProps) => React.JSX.Element;
@@ -1,9 +0,0 @@
1
- /// <reference types="@types/react" />
2
- import React from "react";
3
- export interface MenuItemTitleProps {
4
- icon?: React.ReactNode;
5
- name: string;
6
- badge?: React.ReactNode;
7
- styles?: string;
8
- }
9
- export declare const MenuItemTitle: ({ icon, name, badge, styles }: MenuItemTitleProps) => React.JSX.Element;
@@ -1,5 +0,0 @@
1
- import { Menu } from "./Menu";
2
- import { MenuGroup } from "./MenuGroup";
3
- import { MenuItem } from "./MenuItem";
4
- import { MenuItemTitle } from "./MenuItemTitle";
5
- export { Menu, MenuGroup, MenuItem, MenuItemTitle };
@@ -1,16 +0,0 @@
1
- /// <reference types="@types/react" />
2
- import React from "react";
3
- export interface ModalProps {
4
- title: string;
5
- show: boolean;
6
- handleOnClose?: () => void;
7
- children?: React.ReactNode;
8
- enableCloseOnClickOutside: boolean;
9
- isLoading?: boolean;
10
- isSuccess?: boolean;
11
- isError?: boolean;
12
- error?: string;
13
- styles?: string;
14
- }
15
- declare function Modal({ title, show, handleOnClose, children, isLoading, isSuccess, isError, error, styles, enableCloseOnClickOutside, }: ModalProps): React.JSX.Element;
16
- export default Modal;
@@ -1,12 +0,0 @@
1
- /// <reference types="@types/react" />
2
- import React from "react";
3
- import { ReactNode } from "react";
4
- export interface AccordionProps {
5
- summary?: ReactNode | string;
6
- children?: ReactNode;
7
- expandIcon?: ReactNode;
8
- collapseIcon?: ReactNode;
9
- defaultCollapse?: boolean;
10
- }
11
- declare function Accordion({ summary, expandIcon, collapseIcon, children, defaultCollapse, }: AccordionProps): React.JSX.Element;
12
- export default Accordion;
@@ -1,9 +0,0 @@
1
- /// <reference types="@types/react" />
2
- import React from "react";
3
- import { ReactNode } from "react";
4
- export interface CardProps {
5
- children?: ReactNode;
6
- styles?: string;
7
- }
8
- declare function Card({ children, styles }: CardProps): React.JSX.Element;
9
- export default Card;
@@ -1,9 +0,0 @@
1
- /// <reference types="@types/react" />
2
- import React from "react";
3
- import { ReactNode } from "react";
4
- export interface CardContentProps {
5
- children?: ReactNode;
6
- styles?: string;
7
- }
8
- declare function CardContent({ children, styles }: CardContentProps): React.JSX.Element;
9
- export default CardContent;
@@ -1,9 +0,0 @@
1
- /// <reference types="@types/react" />
2
- import React from "react";
3
- import { ReactNode } from "react";
4
- export interface CardFooterProps {
5
- children?: ReactNode;
6
- styles?: string;
7
- }
8
- declare function CardFooter({ children, styles }: CardFooterProps): React.JSX.Element;
9
- export default CardFooter;
@@ -1,11 +0,0 @@
1
- /// <reference types="@types/react" />
2
- import React from "react";
3
- import { ReactNode } from "react";
4
- export interface CardHeaderProps {
5
- avatar?: ReactNode;
6
- title?: string;
7
- description?: string;
8
- styles?: string;
9
- }
10
- declare function CardHeader({ avatar, title, description, styles }: CardHeaderProps): React.JSX.Element;
11
- export default CardHeader;
@@ -1,5 +0,0 @@
1
- import Card from "./Card";
2
- import CardHeader from "./CardHeader";
3
- import CardContent from "./CardContent";
4
- import CardFooter from "./CardFooter";
5
- export { Card, CardHeader, CardContent, CardFooter };
@@ -1,14 +0,0 @@
1
- /// <reference types="@types/react" />
2
- import React, { ReactNode } from "react";
3
- interface ThemeContextProps {
4
- theme: "light" | "dark";
5
- setTheme: (theme: "light" | "dark") => void;
6
- toggleTheme: () => void;
7
- }
8
- export declare const ThemeContext: React.Context<ThemeContextProps | undefined>;
9
- interface ThemeProviderProps {
10
- defaultTheme?: "light" | "dark";
11
- children: ReactNode;
12
- }
13
- export declare const ThemeProvider: ({ defaultTheme, children, }: ThemeProviderProps) => React.JSX.Element;
14
- export {};
@@ -1,3 +0,0 @@
1
- /// <reference types="@types/react" />
2
- import React from "react";
3
- export declare const ThemeSwitch: () => React.JSX.Element | null;
@@ -1,3 +0,0 @@
1
- import { ThemeContext, ThemeProvider } from "./ThemeContext";
2
- import { ThemeSwitch } from "./ThemeSwitch";
3
- export { ThemeContext, ThemeProvider, ThemeSwitch };
@@ -1,11 +0,0 @@
1
- /// <reference types="@types/react" />
2
- import React from "react";
3
- export interface AsyncComponentWrapperProps {
4
- children: React.ReactNode;
5
- isLoading?: boolean;
6
- isSuccess?: boolean;
7
- isError?: boolean;
8
- error?: string;
9
- }
10
- declare function AsyncComponentWrapper({ children, isLoading, isSuccess, isError, error, }: AsyncComponentWrapperProps): React.JSX.Element;
11
- export default AsyncComponentWrapper;
@@ -1,8 +0,0 @@
1
- /// <reference types="@types/react" />
2
- import React from "react";
3
- export interface ShowMoreProps {
4
- text: string;
5
- limit: number;
6
- }
7
- declare function ShowMore({ text, limit }: ShowMoreProps): React.JSX.Element;
8
- export default ShowMore;
@@ -1,48 +0,0 @@
1
- export declare enum Variant {
2
- default = "default",
3
- primary = "primary",
4
- secondary = "secondary",
5
- success = "success",
6
- danger = "danger",
7
- warning = "warning",
8
- info = "info",
9
- light = "light",
10
- dark = "dark"
11
- }
12
- export declare enum TextVariant {
13
- default = "default",
14
- primary = "primary",
15
- secondary = "secondary",
16
- success = "success",
17
- danger = "danger",
18
- warning = "warning",
19
- info = "info",
20
- light = "light",
21
- dark = "dark"
22
- }
23
- export declare enum Shape {
24
- circle = "circle",
25
- square = "square",
26
- roundedSquare = "roundedSquare",
27
- softRoundedSquare = "softRoundedSquare",
28
- pill = "pill"
29
- }
30
- export declare enum Size {
31
- xs = "xs",
32
- sm = "sm",
33
- md = "md",
34
- lg = "lg",
35
- xl = "xl"
36
- }
37
- export declare enum Decoration {
38
- underline = "underline",
39
- overline = "overline",
40
- lineThrough = "lineThrough",
41
- noUnderline = "noUnderline"
42
- }
43
- export declare enum Target {
44
- blank = "blank",
45
- self = "self",
46
- parent = "parent",
47
- top = "top"
48
- }
@@ -1,5 +0,0 @@
1
- export declare const currencies: {
2
- name: string;
3
- symbol: string;
4
- code: string;
5
- }[];