jiffy-ui 1.0.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.
Files changed (156) hide show
  1. package/dist/assets/fonts/Roboto-Bold.ttf +0 -0
  2. package/dist/assets/fonts/Roboto-Light.ttf +0 -0
  3. package/dist/assets/fonts/Roboto-Medium.ttf +0 -0
  4. package/dist/assets/fonts/Roboto-Regular.ttf +0 -0
  5. package/dist/assets/fonts/roboto-bold.woff +0 -0
  6. package/dist/assets/fonts/roboto-bold.woff2 +0 -0
  7. package/dist/assets/fonts/roboto-light.woff +0 -0
  8. package/dist/assets/fonts/roboto-medium.woff +0 -0
  9. package/dist/assets/fonts/roboto-medium.woff2 +0 -0
  10. package/dist/assets/fonts/roboto-regular.woff +0 -0
  11. package/dist/assets/fonts/roboto-regular.woff2 +0 -0
  12. package/dist/assets/icons/Icons.d.ts +3 -0
  13. package/dist/components/Accordion/Accordian.stories.d.ts +18 -0
  14. package/dist/components/Accordion/Accordion.d.ts +12 -0
  15. package/dist/components/Actionlist/Actionlist.d.ts +26 -0
  16. package/dist/components/Actionlist/Actionlist.stories.d.ts +11 -0
  17. package/dist/components/Actionlist/index.d.ts +1 -0
  18. package/dist/components/Alert/Alert.d.ts +16 -0
  19. package/dist/components/Alert/Alert.stories.d.ts +46 -0
  20. package/dist/components/AppWrapper/AppWrapper.d.ts +11 -0
  21. package/dist/components/AppWrapper/AppWrapper.stories.d.ts +11 -0
  22. package/dist/components/Avatar/Avatar.d.ts +13 -0
  23. package/dist/components/Avatar/Avatar.stories.d.ts +61 -0
  24. package/dist/components/Badge/Badge.d.ts +11 -0
  25. package/dist/components/Badge/Badge.stories.d.ts +55 -0
  26. package/dist/components/BottomSheet/BottomSheet.d.ts +10 -0
  27. package/dist/components/BottomSheet/BottomSheet.stories.d.ts +12 -0
  28. package/dist/components/Breadcrumb/Breadcrumb.d.ts +12 -0
  29. package/dist/components/Breadcrumb/Breadcrumb.stories.d.ts +11 -0
  30. package/dist/components/Button/Button.d.ts +17 -0
  31. package/dist/components/Button/Button.stories.d.ts +82 -0
  32. package/dist/components/ButtonGroup/ButtonGroup.d.ts +8 -0
  33. package/dist/components/ButtonGroup/ButtonGroup.stories.d.ts +21 -0
  34. package/dist/components/Card/Card.d.ts +18 -0
  35. package/dist/components/Card/Card.stories.d.ts +71 -0
  36. package/dist/components/CopyClipboard/CopyClipboard.d.ts +12 -0
  37. package/dist/components/CopyClipboard/CopyClipboard.stories.d.ts +56 -0
  38. package/dist/components/Divider/Divider.d.ts +10 -0
  39. package/dist/components/Divider/Divider.stories.d.ts +48 -0
  40. package/dist/components/Dropdown/Dropdown.d.ts +14 -0
  41. package/dist/components/Dropdown/Dropdown.stories.d.ts +10 -0
  42. package/dist/components/FlexItem/FlexItem.d.ts +28 -0
  43. package/dist/components/Foundation/BorderWidth/BorderWidth.d.ts +1 -0
  44. package/dist/components/Foundation/BorderWidth/BorderWidth.stories.d.ts +19 -0
  45. package/dist/components/Foundation/Colors/DesignColors.d.ts +1 -0
  46. package/dist/components/Foundation/Colors/DesignColors.stories.d.ts +19 -0
  47. package/dist/components/Foundation/Elevation/Elevation.d.ts +1 -0
  48. package/dist/components/Foundation/Elevation/elevation.stories.d.ts +19 -0
  49. package/dist/components/Foundation/Icons/IconData.d.ts +8 -0
  50. package/dist/components/Foundation/Icons/Icons.d.ts +255 -0
  51. package/dist/components/Foundation/Icons/Icons.stories.d.ts +37 -0
  52. package/dist/components/Foundation/RorderRadius/BorderRadius.d.ts +1 -0
  53. package/dist/components/Foundation/RorderRadius/BorderRadius.stories.d.ts +9 -0
  54. package/dist/components/Foundation/UsedColor/UsedColor.d.ts +2 -0
  55. package/dist/components/Foundation/UsedColor/UsedColor.stories.d.ts +19 -0
  56. package/dist/components/Grid/Grid.d.ts +26 -0
  57. package/dist/components/Grid/stories/Grid.stories.d.ts +41 -0
  58. package/dist/components/HorizontalFlex/HorizontalFlex.d.ts +25 -0
  59. package/dist/components/HorizontalFlex/HorizontalFlex.stories.d.ts +12 -0
  60. package/dist/components/Indicator/Indicator.d.ts +10 -0
  61. package/dist/components/Indicator/Indicator.stories.d.ts +40 -0
  62. package/dist/components/Input/Checkbox/Checkbox.d.ts +14 -0
  63. package/dist/components/Input/Checkbox/Checkbox.stories.d.ts +12 -0
  64. package/dist/components/Input/CheckboxGroup/CheckboxGroup.d.ts +21 -0
  65. package/dist/components/Input/CheckboxGroup/CheckboxGroup.stories.d.ts +12 -0
  66. package/dist/components/Input/FileUpload/FileItem.d.ts +3 -0
  67. package/dist/components/Input/FileUpload/FileUpload.d.ts +18 -0
  68. package/dist/components/Input/FileUpload/FileUpload.stories.d.ts +11 -0
  69. package/dist/components/Input/FileUpload/Fileprogress.d.ts +3 -0
  70. package/dist/components/Input/Radio/Radio.d.ts +14 -0
  71. package/dist/components/Input/Radio/Radio.stories.d.ts +11 -0
  72. package/dist/components/Input/RadioGroup/RadioGroup.d.ts +21 -0
  73. package/dist/components/Input/RadioGroup/RadioGroup.stories.d.ts +12 -0
  74. package/dist/components/Input/Select/Select.d.ts +18 -0
  75. package/dist/components/Input/Select/Select.stories.d.ts +15 -0
  76. package/dist/components/Input/TextArea/TextArea.d.ts +16 -0
  77. package/dist/components/Input/TextArea/TextArea.stories.d.ts +11 -0
  78. package/dist/components/Input/TextField/TextField.d.ts +29 -0
  79. package/dist/components/Input/TextField/story/TextField.stories.d.ts +173 -0
  80. package/dist/components/List/List.d.ts +13 -0
  81. package/dist/components/List/List.stories.d.ts +20 -0
  82. package/dist/components/MediaCard/MediaCard.d.ts +16 -0
  83. package/dist/components/MediaCard/MediaCard.stories.d.ts +57 -0
  84. package/dist/components/Modal/Modal.d.ts +14 -0
  85. package/dist/components/Modal/Modal.stories.d.ts +47 -0
  86. package/dist/components/PageTitle/PageTitle.d.ts +17 -0
  87. package/dist/components/PageTitle/PageTitle.stories.d.ts +16 -0
  88. package/dist/components/Pagination/Pagination.d.ts +13 -0
  89. package/dist/components/Pagination/Pagination.stories.d.ts +13 -0
  90. package/dist/components/ProgressBar/ProgressBar.d.ts +13 -0
  91. package/dist/components/ProgressBar/ProgressBar.stories.d.ts +38 -0
  92. package/dist/components/SideBar/SideBar.d.ts +33 -0
  93. package/dist/components/SideBar/Sidebar.stories.d.ts +13 -0
  94. package/dist/components/SideBar/globalFunc.d.ts +1 -0
  95. package/dist/components/SideSheet/SideSheet.d.ts +11 -0
  96. package/dist/components/SideSheet/SideSheet.stories.d.ts +47 -0
  97. package/dist/components/SimpleTest/Simple.stories.d.ts +9 -0
  98. package/dist/components/SimpleTest/SimpleTest.d.ts +3 -0
  99. package/dist/components/Skeleton/Skeleton.d.ts +16 -0
  100. package/dist/components/Skeleton/SkeletonBadge/SkeletonBadge.d.ts +7 -0
  101. package/dist/components/Skeleton/SkeletonBadge/SkeletonBadge.stories.d.ts +12 -0
  102. package/dist/components/Skeleton/SkeletonButton/SkeletonButton.d.ts +7 -0
  103. package/dist/components/Skeleton/SkeletonButton/SkeletonButton.stories.d.ts +12 -0
  104. package/dist/components/Skeleton/SkeletonCustom/SkeletonCustom.d.ts +9 -0
  105. package/dist/components/Skeleton/SkeletonCustom/SkeletonCustom.stories.d.ts +11 -0
  106. package/dist/components/Skeleton/SkeletonLine/SkeletonLine.d.ts +9 -0
  107. package/dist/components/Skeleton/SkeletonLine/SkeletonLine.stories.d.ts +11 -0
  108. package/dist/components/Skeleton/SkeletonList/SkeletonList.d.ts +7 -0
  109. package/dist/components/Skeleton/SkeletonList/SkeletonList.stories.d.ts +11 -0
  110. package/dist/components/Skeleton/SkeletonTabs/SkeletonTabs.d.ts +7 -0
  111. package/dist/components/Skeleton/SkeletonTabs/SkeletonTabs.stories.d.ts +11 -0
  112. package/dist/components/Skeleton/SkeletonThumbnail/SkeletonThumbnail.d.ts +7 -0
  113. package/dist/components/Skeleton/SkeletonThumbnail/SkeletonThumbnail.stories.d.ts +12 -0
  114. package/dist/components/Spinner/Spinner.d.ts +10 -0
  115. package/dist/components/Spinner/Spinner.stories.d.ts +46 -0
  116. package/dist/components/StepWizard/StepWizard.d.ts +17 -0
  117. package/dist/components/StepWizard/getClassnames.d.ts +5 -0
  118. package/dist/components/StepWizard/story/StepWizard.stories.d.ts +9 -0
  119. package/dist/components/Switcher/Switcher.d.ts +10 -0
  120. package/dist/components/Switcher/Switcher.stories.d.ts +13 -0
  121. package/dist/components/Table/Table.d.ts +20 -0
  122. package/dist/components/Table/Table.stories.d.ts +14 -0
  123. package/dist/components/Table/useRowSelection.d.ts +5 -0
  124. package/dist/components/Tabs/Tabs.d.ts +19 -0
  125. package/dist/components/Tabs/Tabs.stories.d.ts +11 -0
  126. package/dist/components/Tag/Tag.d.ts +9 -0
  127. package/dist/components/Tag/Tag.stories.d.ts +38 -0
  128. package/dist/components/Template/Template.stories.d.ts +19 -0
  129. package/dist/components/Template/TemplateDemo.d.ts +4 -0
  130. package/dist/components/TextLink/TextLink.d.ts +15 -0
  131. package/dist/components/TextLink/TextLink.stories.d.ts +70 -0
  132. package/dist/components/TextStyle/TextStyle.d.ts +14 -0
  133. package/dist/components/TextStyle/TextStyle.stories.d.ts +61 -0
  134. package/dist/components/Thumbnail/Thumbnail.d.ts +11 -0
  135. package/dist/components/Thumbnail/Thumbnail.stories.d.ts +14 -0
  136. package/dist/components/Tooltip/Tooltip.d.ts +12 -0
  137. package/dist/components/Tooltip/Tooltip.stories.d.ts +11 -0
  138. package/dist/components/TopBar/TopBar.d.ts +11 -0
  139. package/dist/components/TopBar/TopBar.stories.d.ts +11 -0
  140. package/dist/components/VerticalFlex/VerticalFlex.d.ts +9 -0
  141. package/dist/components/VerticalFlex/VerticalFlex.stories.d.ts +12 -0
  142. package/dist/components/index.d.ts +53 -0
  143. package/dist/index.css +6951 -0
  144. package/dist/index.d.ts +2 -0
  145. package/dist/index.js +32 -0
  146. package/dist/index.modern.js +32 -0
  147. package/dist/index.test.d.ts +1 -0
  148. package/dist/utilities/Portal.d.ts +6 -0
  149. package/dist/utilities/context/AppContext.d.ts +16 -0
  150. package/dist/utilities/getClassnames.d.ts +5 -0
  151. package/dist/utilities/globalFunction.d.ts +23 -0
  152. package/dist/utilities/handleOutsideClick.d.ts +2 -0
  153. package/dist/utilities/useAddEventListener.d.ts +1 -0
  154. package/dist/utilities/useDelay.d.ts +2 -0
  155. package/dist/utilities/useWindowResize.d.ts +1 -0
  156. package/package.json +92 -0
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ export declare const CheckIcon: () => React.JSX.Element;
3
+ export declare const FileType: () => React.JSX.Element;
@@ -0,0 +1,18 @@
1
+ import React from "react";
2
+ declare const _default: {
3
+ title: string;
4
+ component: ({ accordionHeader, onClick, isExpended, children, icon, ...props }: import("./Accordion").AccordionI) => React.JSX.Element;
5
+ parameters: {
6
+ docs: {
7
+ description: {
8
+ component: string;
9
+ };
10
+ };
11
+ };
12
+ argTypes: {};
13
+ };
14
+ export default _default;
15
+ export declare const Default: ({ ...rest }: {
16
+ [x: string]: any;
17
+ }) => React.JSX.Element;
18
+ export declare const AccordionWithoutIcons: any;
@@ -0,0 +1,12 @@
1
+ import React from "react";
2
+ import './accordion.css';
3
+ export interface AccordionI {
4
+ accordionHeader?: string | React.ReactNode;
5
+ onClick?: any;
6
+ isExpended: boolean;
7
+ children?: string | React.ReactNode;
8
+ icon?: React.ReactNode;
9
+ withNumber?: boolean;
10
+ }
11
+ declare const Accordion: ({ accordionHeader, onClick, isExpended, children, icon, ...props }: AccordionI) => React.JSX.Element;
12
+ export default Accordion;
@@ -0,0 +1,26 @@
1
+ import "./actionlist.css";
2
+ import React from "react";
3
+ export interface ActionListI {
4
+ open: boolean;
5
+ activator: React.ReactNode;
6
+ options: ActionListObjI[];
7
+ onClose: () => void;
8
+ direction?: "left" | "right" | "auto";
9
+ }
10
+ export interface ActionListObjI {
11
+ title?: string;
12
+ id?: number | string;
13
+ items: ActionListItemsI[];
14
+ }
15
+ export interface ActionListItemsI {
16
+ id?: number | string;
17
+ content?: string;
18
+ destructive?: boolean;
19
+ description?: string;
20
+ onClick?: () => void;
21
+ prefixIcon?: React.ReactNode;
22
+ suffixIcon?: React.ReactNode;
23
+ isDisabled?: boolean;
24
+ }
25
+ export declare const Actionlist: React.ForwardRefExoticComponent<ActionListI & React.RefAttributes<unknown>>;
26
+ export default Actionlist;
@@ -0,0 +1,11 @@
1
+ import React from "react";
2
+ declare const _default: {
3
+ title: string;
4
+ component: React.ForwardRefExoticComponent<import("./Actionlist").ActionListI & React.RefAttributes<unknown>>;
5
+ tags: string[];
6
+ };
7
+ export default _default;
8
+ export declare const Default: ({ ...rest }: {
9
+ [x: string]: any;
10
+ }) => React.JSX.Element;
11
+ export declare const ActionList_with_GroupedOption: any;
@@ -0,0 +1 @@
1
+ export { Actionlist } from "./Actionlist";
@@ -0,0 +1,16 @@
1
+ import React from "react";
2
+ import "./alert.css";
3
+ import { ButtonI } from "../Button/Button";
4
+ import { TextLinkI } from "../TextLink/TextLink";
5
+ declare const Alert: ({ title, description, color, emphasis, onDismiss, icon, secondaryAction, primaryAction, ...props }: AlertI) => React.JSX.Element;
6
+ export interface AlertI {
7
+ title?: string;
8
+ description: React.ReactNode | string;
9
+ color: "Primary" | "Positive" | "Negative" | "Waiting" | "Neutral";
10
+ emphasis?: "Subtile" | "Intense";
11
+ onDismiss?: () => void;
12
+ primaryAction?: ButtonI;
13
+ secondaryAction?: TextLinkI;
14
+ icon: React.ReactNode;
15
+ }
16
+ export default Alert;
@@ -0,0 +1,46 @@
1
+ import React from "react";
2
+ declare const _default: {
3
+ title: string;
4
+ component: ({ title, description, color, emphasis, onDismiss, icon, secondaryAction, primaryAction, ...props }: import("./Alert").AlertI) => React.JSX.Element;
5
+ tags: string[];
6
+ argTypes: {
7
+ title: {
8
+ description: string;
9
+ control: {
10
+ type: string;
11
+ };
12
+ defaultValue: string;
13
+ };
14
+ description: {
15
+ description: string;
16
+ control: {
17
+ type: string;
18
+ };
19
+ defaultValue: string;
20
+ };
21
+ color: {
22
+ description: string;
23
+ control: {
24
+ type: string;
25
+ options: string[];
26
+ };
27
+ defaultValue: string;
28
+ };
29
+ emphasis: {
30
+ description: string;
31
+ control: {
32
+ type: string;
33
+ options: string[];
34
+ };
35
+ defaultValue: string;
36
+ };
37
+ onDismiss: {};
38
+ };
39
+ };
40
+ export default _default;
41
+ export declare const Primary: ({ ...rest }: {
42
+ [x: string]: any;
43
+ }) => React.JSX.Element;
44
+ export declare const Alert_without_action: any;
45
+ export declare const Alert_with_multiple_color: any;
46
+ export declare const Alert_with_multiple_color_and_Intense: any;
@@ -0,0 +1,11 @@
1
+ import React from "react";
2
+ import './appwrapper.css';
3
+ export interface AppWrapperI {
4
+ topBar?: string | React.ReactNode;
5
+ sideBar?: string | React.ReactNode;
6
+ announcementBar?: string | React.ReactNode;
7
+ content?: string | React.ReactNode;
8
+ footer?: string | React.ReactNode;
9
+ }
10
+ declare const AppWrapper: ({ topBar, sideBar, footer, announcementBar, content, ...props }: AppWrapperI) => React.JSX.Element;
11
+ export default AppWrapper;
@@ -0,0 +1,11 @@
1
+ import React from "react";
2
+ declare const _default: {
3
+ title: string;
4
+ component: ({ topBar, sideBar, footer, announcementBar, content, ...props }: import("./AppWrapper").AppWrapperI) => React.JSX.Element;
5
+ tags: string[];
6
+ argTypes: {};
7
+ };
8
+ export default _default;
9
+ export declare const Primary: ({ ...rest }: {
10
+ [x: string]: any;
11
+ }) => React.JSX.Element;
@@ -0,0 +1,13 @@
1
+ import React from "react";
2
+ import "./Avatar.css";
3
+ export interface AvatarI {
4
+ size: "Small" | "Medium" | "Large" | "Xlarge";
5
+ shape?: "Circle" | "Squire";
6
+ icon?: React.ReactNode;
7
+ srcIco?: string;
8
+ label?: string;
9
+ onClick?: () => void;
10
+ indicator?: React.ReactNode;
11
+ }
12
+ declare const Avatar: ({ size, shape, label, icon, srcIco, indicator, onClick, ...props }: AvatarI) => React.JSX.Element;
13
+ export default Avatar;
@@ -0,0 +1,61 @@
1
+ import React from "react";
2
+ declare const _default: {
3
+ title: string;
4
+ component: ({ size, shape, label, icon, srcIco, indicator, onClick, ...props }: import("./Avatar").AvatarI) => React.JSX.Element;
5
+ tags: string[];
6
+ argTypes: {
7
+ size: {
8
+ description: string;
9
+ control: {
10
+ type: string;
11
+ options: string[];
12
+ };
13
+ defaultValue: string;
14
+ };
15
+ shape: {
16
+ description: string;
17
+ control: {
18
+ type: string;
19
+ options: string[];
20
+ };
21
+ defaultValue: string;
22
+ };
23
+ icon: {
24
+ description: string;
25
+ control: {
26
+ type: string;
27
+ };
28
+ defaultValue: string;
29
+ };
30
+ srcIco: {
31
+ description: string;
32
+ control: {
33
+ type: string;
34
+ };
35
+ defaultValue: string;
36
+ };
37
+ label: {
38
+ description: string;
39
+ control: {
40
+ type: string;
41
+ };
42
+ defaultValue: string;
43
+ };
44
+ indicator: {
45
+ escription: string;
46
+ control: {
47
+ type: string;
48
+ };
49
+ defaultValue: string;
50
+ };
51
+ };
52
+ };
53
+ export default _default;
54
+ export declare const Primary: ({ ...rest }: {
55
+ [x: string]: any;
56
+ }) => React.JSX.Element;
57
+ export declare const Avatar_with_image_icon: any;
58
+ export declare const Avatar_with_multiple_sizes: any;
59
+ export declare const Avatar_with_multiple_sizes_using_image: any;
60
+ export declare const Avatar_with_click_action: any;
61
+ export declare const Avatar_with_indicator: any;
@@ -0,0 +1,11 @@
1
+ import React from "react";
2
+ import "./badge.css";
3
+ declare const Badge: ({ size, color, children, type, emphasis, ...props }: BadgeI) => React.JSX.Element;
4
+ export interface BadgeI {
5
+ size?: "Small" | "Medium" | "Large";
6
+ color: "Primary" | "Positive" | "Negative" | "Notice" | "Neutral";
7
+ type?: "Partial" | "Full" | "None";
8
+ emphasis?: "Subtile" | "Intense" | "OutLine";
9
+ children?: string;
10
+ }
11
+ export default Badge;
@@ -0,0 +1,55 @@
1
+ import React from "react";
2
+ declare const _default: {
3
+ title: string;
4
+ component: ({ size, color, children, type, emphasis, ...props }: import("./Badge").BadgeI) => React.JSX.Element;
5
+ tags: string[];
6
+ argTypes: {
7
+ size: {
8
+ description: string;
9
+ control: {
10
+ type: string;
11
+ options: string[];
12
+ };
13
+ defaultValue: string;
14
+ };
15
+ color: {
16
+ description: string;
17
+ control: {
18
+ type: string;
19
+ options: string[];
20
+ };
21
+ defaultValue: string;
22
+ };
23
+ type: {
24
+ description: string;
25
+ control: {
26
+ type: string;
27
+ options: string[];
28
+ };
29
+ defaultValue: string;
30
+ };
31
+ emphasis: {
32
+ description: string;
33
+ control: {
34
+ type: string;
35
+ options: string[];
36
+ };
37
+ defaultValue: string;
38
+ };
39
+ children: {
40
+ description: string;
41
+ control: {
42
+ type: string;
43
+ };
44
+ defaultValue: string;
45
+ };
46
+ };
47
+ };
48
+ export default _default;
49
+ export declare const Primary: ({ ...rest }: {
50
+ [x: string]: any;
51
+ }) => React.JSX.Element;
52
+ export declare const BadgeWithMultipleSizes: any;
53
+ export declare const BadgeWithMultipleColors: any;
54
+ export declare const BadgeWithMultipleType: any;
55
+ export declare const BadgeWithMultipleEmphasis: any;
@@ -0,0 +1,10 @@
1
+ import "./BottomSheet.css";
2
+ import React from "react";
3
+ export interface BottomSheetI {
4
+ heading?: string;
5
+ isOpen: boolean;
6
+ onDismiss?: () => void;
7
+ children: string | React.ReactNode;
8
+ }
9
+ declare function BottomSheet(props: BottomSheetI): React.JSX.Element | null;
10
+ export default BottomSheet;
@@ -0,0 +1,12 @@
1
+ import BottomSheet from "./BottomSheet";
2
+ import React from "react";
3
+ declare const _default: {
4
+ title: string;
5
+ component: typeof BottomSheet;
6
+ tags: string[];
7
+ argTypes: {};
8
+ };
9
+ export default _default;
10
+ export declare const Primary: ({ ...rest }: {
11
+ [x: string]: any;
12
+ }) => React.JSX.Element;
@@ -0,0 +1,12 @@
1
+ import React from "react";
2
+ import "./Breadcrumb.css";
3
+ declare const Breadcrumb: (props: BreadcrumbI) => JSX.Element;
4
+ export interface BreadcrumbI {
5
+ items: ObjI[];
6
+ onClick?: (value: string, obj?: ObjI) => void;
7
+ }
8
+ export interface ObjI {
9
+ label: string | React.ReactNode;
10
+ value: string;
11
+ }
12
+ export default Breadcrumb;
@@ -0,0 +1,11 @@
1
+ import React from "react";
2
+ declare const _default: {
3
+ title: string;
4
+ component: (props: import("./Breadcrumb").BreadcrumbI) => JSX.Element;
5
+ tags: string[];
6
+ argTypes: {};
7
+ };
8
+ export default _default;
9
+ export declare const Primary: ({ ...rest }: {
10
+ [x: string]: any;
11
+ }) => React.JSX.Element;
@@ -0,0 +1,17 @@
1
+ import React from "react";
2
+ import "./Button.css";
3
+ export interface ButtonI {
4
+ variant?: "Primary" | "Secondry" | "Tertiary" | "Link";
5
+ size?: "XSmall" | "Small" | "Medium" | "Large";
6
+ color?: "Primary" | "Positive" | "Negative" | "Waiting" | "Neutral";
7
+ isDisabled?: boolean;
8
+ icon?: string | React.ReactNode;
9
+ isLoading?: boolean;
10
+ isFullWidth?: boolean;
11
+ iconOnly?: boolean;
12
+ alignIcon?: "Left" | "Right";
13
+ onClick?: () => void;
14
+ children?: string;
15
+ }
16
+ declare const Button: React.ForwardRefExoticComponent<ButtonI & React.RefAttributes<unknown>>;
17
+ export default Button;
@@ -0,0 +1,82 @@
1
+ import React from "react";
2
+ declare const _default: {
3
+ title: string;
4
+ component: React.ForwardRefExoticComponent<import("./Button").ButtonI & React.RefAttributes<unknown>>;
5
+ tags: string[];
6
+ argTypes: {
7
+ variant: {
8
+ description: string;
9
+ control: {
10
+ type: string;
11
+ options: string[];
12
+ };
13
+ defaultValue: string;
14
+ };
15
+ size: {
16
+ description: string;
17
+ control: {
18
+ type: string;
19
+ options: string[];
20
+ };
21
+ defaultValue: string;
22
+ };
23
+ color: {
24
+ description: string;
25
+ control: {
26
+ type: string;
27
+ options: string[];
28
+ };
29
+ defaultValue: string;
30
+ };
31
+ isDisabled: {
32
+ description: string;
33
+ control: {
34
+ type: string;
35
+ };
36
+ defaultValue: boolean;
37
+ };
38
+ icon: {
39
+ description: string;
40
+ control: {
41
+ type: string;
42
+ };
43
+ defaultValue: string;
44
+ };
45
+ isLoading: {
46
+ description: string;
47
+ control: {
48
+ type: string;
49
+ };
50
+ defaultValue: boolean;
51
+ };
52
+ isFullWidth: {
53
+ description: string;
54
+ control: {
55
+ type: string;
56
+ };
57
+ defaultValue: boolean;
58
+ };
59
+ children: {
60
+ description: string;
61
+ control: {
62
+ type: string;
63
+ };
64
+ defaultValue: string;
65
+ };
66
+ };
67
+ };
68
+ export default _default;
69
+ export declare const Primary: ({ ...rest }: {
70
+ [x: string]: any;
71
+ }) => React.JSX.Element;
72
+ export declare const ButtonWithVariant: any;
73
+ export declare const ButtonWithColor: any;
74
+ export declare const ButtonWithSizes: any;
75
+ export declare const ButtonWithIconOnly: any;
76
+ export declare const ButtonWithVariantLoading: any;
77
+ export declare const ButtonWithColorLoading: any;
78
+ export declare const ButtonWithSizesLoading: any;
79
+ export declare const ButtonWithIconOnlyLoading: any;
80
+ export declare const ButtonWithDisabled: any;
81
+ export declare const ButtonWithDisabledLoading: any;
82
+ export declare const ButtonWithRightIcons: any;
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ import "./ButtonGroup.css";
3
+ export interface ButtonGroupI {
4
+ segmented?: boolean;
5
+ children: React.ReactNode;
6
+ }
7
+ declare const ButtonGroup: ({ segmented, children, ...props }: ButtonGroupI) => React.JSX.Element;
8
+ export default ButtonGroup;
@@ -0,0 +1,21 @@
1
+ import React from "react";
2
+ declare const _default: {
3
+ title: string;
4
+ component: ({ segmented, children, ...props }: import("./ButtonGroup").ButtonGroupI) => React.JSX.Element;
5
+ tags: string[];
6
+ argTypes: {
7
+ segmented: {
8
+ description: string;
9
+ control: {
10
+ type: string;
11
+ };
12
+ defaultValue: boolean;
13
+ };
14
+ };
15
+ };
16
+ export default _default;
17
+ export declare const Primary: ({ ...rest }: {
18
+ [x: string]: any;
19
+ }) => React.JSX.Element;
20
+ export declare const ButtonGroup_with_variant: any;
21
+ export declare const ButtonGroup_with_Tertiary_Action: any;
@@ -0,0 +1,18 @@
1
+ import React from "react";
2
+ import { ButtonI } from "../Button/Button";
3
+ import { ActionListObjI } from "../Actionlist/Actionlist";
4
+ import "./card.css";
5
+ declare const Card: ({ type, primaryAction, headerTitle, headerSubTitle, children, footerTitle, footerSubtitle, secondaryAction, headerActions, onHeaderAction, ...props }: CardI) => React.JSX.Element;
6
+ export interface CardI {
7
+ type: "Plain" | "Shadow" | "Borderd" | "BorderWithShadow";
8
+ headerTitle?: string | React.ReactNode;
9
+ headerSubTitle?: string | React.ReactNode;
10
+ children?: string | React.ReactNode;
11
+ footerTitle?: string | React.ReactNode;
12
+ footerSubtitle?: string | React.ReactNode;
13
+ primaryAction?: ButtonI;
14
+ secondaryAction?: ButtonI;
15
+ headerActions?: ActionListObjI[];
16
+ onHeaderAction?: () => void;
17
+ }
18
+ export default Card;
@@ -0,0 +1,71 @@
1
+ import React from "react";
2
+ declare const _default: {
3
+ title: string;
4
+ component: ({ type, primaryAction, headerTitle, headerSubTitle, children, footerTitle, footerSubtitle, secondaryAction, headerActions, onHeaderAction, ...props }: import("./Card").CardI) => React.JSX.Element;
5
+ tags: string[];
6
+ argTypes: {
7
+ type: {
8
+ description: string;
9
+ control: {
10
+ type: string;
11
+ options: string[];
12
+ };
13
+ defaultValue: string;
14
+ };
15
+ headerTitle: {
16
+ description: string;
17
+ control: {
18
+ type: string;
19
+ };
20
+ defaultValue: string;
21
+ };
22
+ headerSubTitle: {
23
+ description: string;
24
+ control: {
25
+ type: string;
26
+ };
27
+ defaultValue: string;
28
+ };
29
+ footerTitle: {
30
+ description: string;
31
+ control: {
32
+ type: string;
33
+ };
34
+ defaultValue: string;
35
+ };
36
+ footerSubtitle: {
37
+ description: string;
38
+ control: {
39
+ type: string;
40
+ };
41
+ defaultValue: string;
42
+ };
43
+ primaryAction: {
44
+ description: string;
45
+ control: {
46
+ type: string;
47
+ };
48
+ defaultValue: string;
49
+ };
50
+ secondaryAction: {
51
+ description: string;
52
+ control: {
53
+ type: string;
54
+ };
55
+ defaultValue: string;
56
+ };
57
+ children: {
58
+ description: string;
59
+ control: {
60
+ type: string;
61
+ };
62
+ defaultValue: string;
63
+ };
64
+ };
65
+ };
66
+ export default _default;
67
+ export declare const Default: ({ ...rest }: {
68
+ [x: string]: any;
69
+ }) => React.JSX.Element;
70
+ export declare const CardWithMultipleType: any;
71
+ export declare const CardWithHeaderActions: any;
@@ -0,0 +1,12 @@
1
+ import { FC } from "react";
2
+ import "./CopyClipboard.css";
3
+ export interface CopyClipboardI {
4
+ value: string | any;
5
+ label?: string | any;
6
+ iconAlign?: "left" | "right";
7
+ timeout?: number;
8
+ customClass?: string;
9
+ onClick?: () => void;
10
+ }
11
+ declare const CopyClipboard: FC<CopyClipboardI>;
12
+ export default CopyClipboard;