elseware-ui 2.2.24 → 2.2.26

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 (111) hide show
  1. package/build/components/data-display/avatar/Avatar.d.ts +16 -0
  2. package/build/components/data-display/badge/Badge.d.ts +15 -0
  3. package/build/components/data-display/banners/TitleBanner.d.ts +17 -0
  4. package/build/components/data-display/charts/BarChart.d.ts +10 -0
  5. package/build/components/data-display/charts/LineChart.d.ts +9 -0
  6. package/build/components/data-display/charts/PieChart.d.ts +10 -0
  7. package/build/components/data-display/chip/Chip.d.ts +9 -0
  8. package/build/components/data-display/image/CloudinaryImage.d.ts +8 -0
  9. package/build/components/data-display/image/Image.d.ts +8 -0
  10. package/build/components/data-display/image/index.d.ts +3 -0
  11. package/build/components/data-display/info/Info.d.ts +8 -0
  12. package/build/components/data-display/lists/List.d.ts +8 -0
  13. package/build/components/data-display/lists/ListItem.d.ts +14 -0
  14. package/build/components/data-display/lists/index.d.ts +3 -0
  15. package/build/components/data-display/price-tag/PriceTag.d.ts +8 -0
  16. package/build/components/data-display/rating/StarRating.d.ts +9 -0
  17. package/build/components/data-display/rating/StarRatingDistribution.d.ts +23 -0
  18. package/build/components/data-display/rating/index.d.ts +3 -0
  19. package/build/components/data-display/slider/Slider.d.ts +8 -0
  20. package/build/components/data-display/slider/SliderItem.d.ts +8 -0
  21. package/build/components/data-display/table/Table.d.ts +15 -0
  22. package/build/components/data-display/table/TableContent.d.ts +11 -0
  23. package/build/components/data-display/table/TableRow.d.ts +8 -0
  24. package/build/components/data-display/tag/Tag.d.ts +6 -0
  25. package/build/components/data-display/typography/chapter/Chapter.d.ts +12 -0
  26. package/build/components/data-display/typography/index.d.ts +13 -0
  27. package/build/components/data-display/typography/link/Link.d.ts +13 -0
  28. package/build/components/data-display/typography/paragraph/Paragraph.d.ts +12 -0
  29. package/build/components/data-display/typography/quote/Quote.d.ts +5 -0
  30. package/build/components/data-display/typography/section/Section.d.ts +12 -0
  31. package/build/components/data-entry/button/Button.d.ts +19 -0
  32. package/build/components/data-entry/checkbox/Checkbox.d.ts +7 -0
  33. package/build/components/data-entry/date-selector/DateSelector.d.ts +7 -0
  34. package/build/components/data-entry/form/Form.d.ts +11 -0
  35. package/build/components/data-entry/form/FormResponse.d.ts +10 -0
  36. package/build/components/data-entry/form/index.d.ts +3 -0
  37. package/build/components/data-entry/image-input/ImageInput.d.ts +13 -0
  38. package/build/components/data-entry/image-input/ImageView.d.ts +7 -0
  39. package/build/components/data-entry/input/Input.d.ts +11 -0
  40. package/build/components/data-entry/input/InputResponse.d.ts +9 -0
  41. package/build/components/data-entry/input/index.d.ts +3 -0
  42. package/build/components/data-entry/multi-image-input/MultiImageInput.d.ts +8 -0
  43. package/build/components/data-entry/radio/Radio.d.ts +7 -0
  44. package/build/components/data-entry/rating/StarRatingInput.d.ts +7 -0
  45. package/build/components/data-entry/rating/index.d.ts +2 -0
  46. package/build/components/data-entry/select/Select.d.ts +8 -0
  47. package/build/components/data-entry/switch/Switch.d.ts +9 -0
  48. package/build/components/data-entry/text-area/TextArea.d.ts +8 -0
  49. package/build/components/feedback/backdrop/Backdrop.d.ts +8 -0
  50. package/build/components/feedback/skeleton/Skeleton.d.ts +7 -0
  51. package/build/components/feedback/toast/Toast.d.ts +7 -0
  52. package/build/components/feedback/transition/TransitionDropdown.d.ts +8 -0
  53. package/build/components/feedback/transition/TransitionFadeIn.d.ts +8 -0
  54. package/build/components/feedback/transition/index.d.ts +7 -0
  55. package/build/components/general/content-area/ContentArea.d.ts +9 -0
  56. package/build/components/general/footer-navbar/FooterNavbar.d.ts +2 -0
  57. package/build/components/general/header-navbar/HeaderNavbar.d.ts +9 -0
  58. package/build/components/general/sidebar/Sidebar.d.ts +6 -0
  59. package/build/components/general/sidebar/SidebarToggler.d.ts +5 -0
  60. package/build/components/general/sidebar/index.d.ts +3 -0
  61. package/build/components/layout/flex/FlexCol.d.ts +9 -0
  62. package/build/components/layout/flex/FlexRow.d.ts +9 -0
  63. package/build/components/layout/flex/index.d.ts +7 -0
  64. package/build/components/layout/grid/Grid.d.ts +8 -0
  65. package/build/components/layout/layout/Content.d.ts +9 -0
  66. package/build/components/layout/layout/Footer.d.ts +7 -0
  67. package/build/components/layout/layout/Header.d.ts +8 -0
  68. package/build/components/layout/layout/Layout.d.ts +8 -0
  69. package/build/components/layout/layout/Sider.d.ts +9 -0
  70. package/build/components/layout/layout/index.d.ts +6 -0
  71. package/build/components/navigation/breadcrumb/Breadcrumb.d.ts +11 -0
  72. package/build/components/navigation/breadcrumb/BreadcrumbItem.d.ts +7 -0
  73. package/build/components/navigation/breadcrumb/index.d.ts +3 -0
  74. package/build/components/navigation/header-nav/HeaderNav.d.ts +25 -0
  75. package/build/components/navigation/header-nav/HeaderNavGroup.d.ts +13 -0
  76. package/build/components/navigation/header-nav/HeaderNavItem.d.ts +12 -0
  77. package/build/components/navigation/header-nav/HeaderNavItemContext.d.ts +9 -0
  78. package/build/components/navigation/header-nav/HeaderNavItemTitle.d.ts +10 -0
  79. package/build/components/navigation/header-nav/index.d.ts +5 -0
  80. package/build/components/navigation/menu/MIContext.d.ts +8 -0
  81. package/build/components/navigation/menu/Menu.d.ts +25 -0
  82. package/build/components/navigation/menu/MenuGroup.d.ts +11 -0
  83. package/build/components/navigation/menu/MenuItem.d.ts +17 -0
  84. package/build/components/navigation/menu/MenuItemTitle.d.ts +9 -0
  85. package/build/components/navigation/menu/index.d.ts +5 -0
  86. package/build/components/other/modal/Modal.d.ts +16 -0
  87. package/build/components/surfaces/accordion/Accordion.d.ts +11 -0
  88. package/build/components/surfaces/card/Card.d.ts +8 -0
  89. package/build/components/surfaces/card/CardContent.d.ts +8 -0
  90. package/build/components/surfaces/card/CardFooter.d.ts +8 -0
  91. package/build/components/surfaces/card/CardHeader.d.ts +10 -0
  92. package/build/components/surfaces/card/index.d.ts +5 -0
  93. package/build/components/theme/ThemeContext.d.ts +14 -0
  94. package/build/components/theme/ThemeSwitch.d.ts +1 -0
  95. package/build/components/theme/index.d.ts +3 -0
  96. package/build/components/utils/AsyncComponentWrapper.d.ts +11 -0
  97. package/build/components/utils/ShowMore.d.ts +6 -0
  98. package/build/data/enums.d.ts +48 -0
  99. package/build/data/meta/currency.d.ts +5 -0
  100. package/build/data/styles.d.ts +67 -0
  101. package/build/data/test/test-data.d.ts +20 -0
  102. package/build/index.es.js +34488 -0
  103. package/build/index.js +34594 -0
  104. package/build/layouts/DefaultLayout.d.ts +6 -0
  105. package/build/utils/hooks/components/useModal.d.ts +6 -0
  106. package/build/utils/hooks/components/useSider.d.ts +7 -0
  107. package/build/utils/useClickOutside.d.ts +5 -0
  108. package/package.json +7 -7
  109. package/dist/index.esm.min.js +0 -28
  110. package/dist/index.min.js +0 -29
  111. /package/{dist → build}/index.d.ts +0 -0
@@ -0,0 +1,5 @@
1
+ export interface SidebarTogglerProps {
2
+ handleToggleSider?: () => void;
3
+ }
4
+ declare function SidebarToggler({ handleToggleSider }: SidebarTogglerProps): import("react/jsx-runtime").JSX.Element;
5
+ export default SidebarToggler;
@@ -0,0 +1,3 @@
1
+ import Sidebar from "./Sidebar";
2
+ import SidebarToggler from "./SidebarToggler";
3
+ export { Sidebar, SidebarToggler };
@@ -0,0 +1,9 @@
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): import("react/jsx-runtime").JSX.Element;
9
+ export default FlexCol;
@@ -0,0 +1,9 @@
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): import("react/jsx-runtime").JSX.Element;
9
+ export default FlexRow;
@@ -0,0 +1,7 @@
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 };
@@ -0,0 +1,8 @@
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): import("react/jsx-runtime").JSX.Element;
8
+ export default Grid;
@@ -0,0 +1,9 @@
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) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
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) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
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) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
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) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,9 @@
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) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
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 };
@@ -0,0 +1,11 @@
1
+ export interface I_ItemType {
2
+ title: string;
3
+ href: string;
4
+ }
5
+ export interface BreadcrumbProps {
6
+ gap?: number;
7
+ seperator?: string;
8
+ data?: I_ItemType[];
9
+ styles?: string;
10
+ }
11
+ export declare const Breadcrumb: ({ gap, seperator, data, styles }: BreadcrumbProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ export interface BreadcrumbItemProps {
2
+ title: string;
3
+ href: string;
4
+ active: boolean;
5
+ }
6
+ declare function BreadcrumbItem({ title, href, active }: BreadcrumbItemProps): import("react/jsx-runtime").JSX.Element;
7
+ export default BreadcrumbItem;
@@ -0,0 +1,3 @@
1
+ import { Breadcrumb } from "./Breadcrumb";
2
+ import BreadcrumbItem from "./BreadcrumbItem";
3
+ export { Breadcrumb, BreadcrumbItem };
@@ -0,0 +1,25 @@
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): import("react/jsx-runtime").JSX.Element;
25
+ export default HeaderNav;
@@ -0,0 +1,13 @@
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) => import("react/jsx-runtime").JSX.Element;
13
+ export default HeaderNavGroup;
@@ -0,0 +1,12 @@
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) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,9 @@
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) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,10 @@
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) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
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 };
@@ -0,0 +1,8 @@
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) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,25 @@
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): import("react/jsx-runtime").JSX.Element;
25
+ export { Menu };
@@ -0,0 +1,11 @@
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) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,17 @@
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) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,9 @@
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) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
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 };
@@ -0,0 +1,16 @@
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): import("react/jsx-runtime").JSX.Element;
16
+ export default Modal;
@@ -0,0 +1,11 @@
1
+ /// <reference types="@types/react" />
2
+ import { ReactNode } from "react";
3
+ export interface AccordionProps {
4
+ summary?: ReactNode | string;
5
+ children?: ReactNode;
6
+ expandIcon?: ReactNode;
7
+ collapseIcon?: ReactNode;
8
+ defaultCollapse?: boolean;
9
+ }
10
+ declare function Accordion({ summary, expandIcon, collapseIcon, children, defaultCollapse, }: AccordionProps): import("react/jsx-runtime").JSX.Element;
11
+ export default Accordion;
@@ -0,0 +1,8 @@
1
+ /// <reference types="@types/react" />
2
+ import { ReactNode } from "react";
3
+ export interface CardProps {
4
+ children?: ReactNode;
5
+ styles?: string;
6
+ }
7
+ declare function Card({ children, styles }: CardProps): import("react/jsx-runtime").JSX.Element;
8
+ export default Card;
@@ -0,0 +1,8 @@
1
+ /// <reference types="@types/react" />
2
+ import { ReactNode } from "react";
3
+ export interface CardContentProps {
4
+ children?: ReactNode;
5
+ styles?: string;
6
+ }
7
+ declare function CardContent({ children, styles }: CardContentProps): import("react/jsx-runtime").JSX.Element;
8
+ export default CardContent;
@@ -0,0 +1,8 @@
1
+ /// <reference types="@types/react" />
2
+ import { ReactNode } from "react";
3
+ export interface CardFooterProps {
4
+ children?: ReactNode;
5
+ styles?: string;
6
+ }
7
+ declare function CardFooter({ children, styles }: CardFooterProps): import("react/jsx-runtime").JSX.Element;
8
+ export default CardFooter;
@@ -0,0 +1,10 @@
1
+ /// <reference types="@types/react" />
2
+ import { ReactNode } from "react";
3
+ export interface CardHeaderProps {
4
+ avatar?: ReactNode;
5
+ title?: string;
6
+ description?: string;
7
+ styles?: string;
8
+ }
9
+ declare function CardHeader({ avatar, title, description, styles }: CardHeaderProps): import("react/jsx-runtime").JSX.Element;
10
+ export default CardHeader;
@@ -0,0 +1,5 @@
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 };
@@ -0,0 +1,14 @@
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) => import("react/jsx-runtime").JSX.Element;
14
+ export {};
@@ -0,0 +1 @@
1
+ export declare const ThemeSwitch: () => import("react/jsx-runtime").JSX.Element | null;
@@ -0,0 +1,3 @@
1
+ import { ThemeContext, ThemeProvider } from "./ThemeContext";
2
+ import { ThemeSwitch } from "./ThemeSwitch";
3
+ export { ThemeContext, ThemeProvider, ThemeSwitch };
@@ -0,0 +1,11 @@
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): import("react/jsx-runtime").JSX.Element;
11
+ export default AsyncComponentWrapper;
@@ -0,0 +1,6 @@
1
+ export interface ShowMoreProps {
2
+ text: string;
3
+ limit: number;
4
+ }
5
+ declare function ShowMore({ text, limit }: ShowMoreProps): import("react/jsx-runtime").JSX.Element;
6
+ export default ShowMore;
@@ -0,0 +1,48 @@
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
+ }
@@ -0,0 +1,5 @@
1
+ export declare const currencies: {
2
+ name: string;
3
+ symbol: string;
4
+ code: string;
5
+ }[];
@@ -0,0 +1,67 @@
1
+ export declare const variants: {
2
+ default: string;
3
+ primary: string;
4
+ secondary: string;
5
+ success: string;
6
+ danger: string;
7
+ warning: string;
8
+ info: string;
9
+ light: string;
10
+ dark: string;
11
+ };
12
+ export declare const variantsLite: {
13
+ default: string;
14
+ primary: string;
15
+ secondary: string;
16
+ success: string;
17
+ danger: string;
18
+ warning: string;
19
+ info: string;
20
+ light: string;
21
+ dark: string;
22
+ };
23
+ export declare const textVariants: {
24
+ default: string;
25
+ primary: string;
26
+ secondary: string;
27
+ success: string;
28
+ danger: string;
29
+ warning: string;
30
+ info: string;
31
+ light: string;
32
+ dark: string;
33
+ };
34
+ export declare const variantsGhost: {
35
+ default: string;
36
+ primary: string;
37
+ secondary: string;
38
+ success: string;
39
+ danger: string;
40
+ warning: string;
41
+ info: string;
42
+ light: string;
43
+ dark: string;
44
+ };
45
+ export declare const borderVariants: {
46
+ default: string;
47
+ primary: string;
48
+ secondary: string;
49
+ success: string;
50
+ danger: string;
51
+ warning: string;
52
+ info: string;
53
+ light: string;
54
+ dark: string;
55
+ };
56
+ export declare const decorations: {
57
+ underline: string;
58
+ overline: string;
59
+ lineThrough: string;
60
+ noUnderline: string;
61
+ };
62
+ export declare const targets: {
63
+ blank: string;
64
+ self: string;
65
+ parent: string;
66
+ top: string;
67
+ };
@@ -0,0 +1,20 @@
1
+ export declare const genderOptions: {
2
+ label: string;
3
+ value: string;
4
+ }[];
5
+ export declare const countryOptions: {
6
+ label: string;
7
+ value: string;
8
+ }[];
9
+ export declare const movieOptions: {
10
+ label: string;
11
+ value: string;
12
+ }[];
13
+ export declare const fruitOptions: {
14
+ label: string;
15
+ value: string;
16
+ }[];
17
+ export declare const artifactOptions: {
18
+ label: string;
19
+ value: string;
20
+ }[];