@taikai/rocket-kit 2.0.0-beta.7

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 (153) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +157 -0
  3. package/dist/atoms/avatar-image/index.d.ts +13 -0
  4. package/dist/atoms/avatar-image/stories/avatar-image.stories.d.ts +48 -0
  5. package/dist/atoms/avatar-image/styles.d.ts +6 -0
  6. package/dist/atoms/button/index.d.ts +22 -0
  7. package/dist/atoms/button/styles.d.ts +11 -0
  8. package/dist/atoms/button/types.d.ts +2 -0
  9. package/dist/atoms/button-dropdown/index.d.ts +19 -0
  10. package/dist/atoms/button-dropdown/styles.d.ts +5 -0
  11. package/dist/atoms/button-dropdown/types.d.ts +8 -0
  12. package/dist/atoms/button-link/index.d.ts +22 -0
  13. package/dist/atoms/button-link/styles.d.ts +10 -0
  14. package/dist/atoms/checkbox/index.d.ts +15 -0
  15. package/dist/atoms/checkbox/styles.d.ts +11 -0
  16. package/dist/atoms/checkbox-button/index.d.ts +14 -0
  17. package/dist/atoms/checkbox-button/stories/checkbox-button.stories.d.ts +24 -0
  18. package/dist/atoms/checkbox-button/styles.d.ts +9 -0
  19. package/dist/atoms/error-field/index.d.ts +10 -0
  20. package/dist/atoms/error-field/styles.d.ts +6 -0
  21. package/dist/atoms/error-field/types.d.ts +1 -0
  22. package/dist/atoms/icon/index.d.ts +9 -0
  23. package/dist/atoms/icon/stories/icon.stories.d.ts +40 -0
  24. package/dist/atoms/icon/stories/styles.d.ts +1 -0
  25. package/dist/atoms/label/index.d.ts +9 -0
  26. package/dist/atoms/label/styles.d.ts +1 -0
  27. package/dist/atoms/progress-bar/index.d.ts +7 -0
  28. package/dist/atoms/progress-bar/stories/progress-bar.stories.d.ts +15 -0
  29. package/dist/atoms/progress-bar/styles.d.ts +9 -0
  30. package/dist/atoms/select/index.d.ts +17 -0
  31. package/dist/atoms/select/stories/select.stories.d.ts +37 -0
  32. package/dist/atoms/select/styles.d.ts +6 -0
  33. package/dist/atoms/select-interactive/index.d.ts +3 -0
  34. package/dist/atoms/select-interactive/stories/select-interactive.stories.d.ts +50 -0
  35. package/dist/atoms/select-interactive/styles.d.ts +1 -0
  36. package/dist/atoms/slideshow/index.d.ts +13 -0
  37. package/dist/atoms/slideshow/stories/slideshow.stories.d.ts +22 -0
  38. package/dist/atoms/slideshow/styles.d.ts +5 -0
  39. package/dist/atoms/spinner/index.d.ts +9 -0
  40. package/dist/atoms/spinner/styles.d.ts +6 -0
  41. package/dist/atoms/tag/index.d.ts +11 -0
  42. package/dist/atoms/tag/styles.d.ts +7 -0
  43. package/dist/atoms/tag/types.d.ts +2 -0
  44. package/dist/atoms/tag-number/index.d.ts +9 -0
  45. package/dist/atoms/tag-number/stories/tag-number.stories.d.ts +15 -0
  46. package/dist/atoms/tag-number/styles.d.ts +1 -0
  47. package/dist/atoms/text-area/index.d.ts +21 -0
  48. package/dist/atoms/text-area/stories/text-area.stories.d.ts +93 -0
  49. package/dist/atoms/text-area/styles.d.ts +11 -0
  50. package/dist/atoms/text-field/index.d.ts +23 -0
  51. package/dist/atoms/text-field/styles.d.ts +7 -0
  52. package/dist/atoms/text-field/types.d.ts +1 -0
  53. package/dist/atoms/text-field-appendix/index.d.ts +22 -0
  54. package/dist/atoms/text-field-appendix/stories/text-field-appendix.stories.d.ts +43 -0
  55. package/dist/atoms/text-field-appendix/styles.d.ts +10 -0
  56. package/dist/atoms/toggle/index.d.ts +4 -0
  57. package/dist/atoms/toggle/stories/toogle.stories.d.ts +18 -0
  58. package/dist/atoms/toggle/styles.d.ts +1 -0
  59. package/dist/atoms/toggle/types.d.ts +16 -0
  60. package/dist/atoms/truncate-line/index.d.ts +9 -0
  61. package/dist/atoms/truncate-line/stories/truncate-line.stories.d.ts +14 -0
  62. package/dist/atoms/truncate-line/styles.d.ts +1 -0
  63. package/dist/atoms/video-player/index.d.ts +12 -0
  64. package/dist/atoms/video-player/stories/video-player.stories.d.ts +24 -0
  65. package/dist/atoms/video-player/styles.d.ts +1 -0
  66. package/dist/globalStyles.d.ts +2 -0
  67. package/dist/index.d.ts +47 -0
  68. package/dist/index.js +8 -0
  69. package/dist/ions/breakpoints.d.ts +9 -0
  70. package/dist/ions/icon-empty-data.d.ts +3 -0
  71. package/dist/ions/icon-login-only.d.ts +3 -0
  72. package/dist/ions/icons.d.ts +5 -0
  73. package/dist/ions/variables.d.ts +24 -0
  74. package/dist/molecules/actions-menu/index.d.ts +19 -0
  75. package/dist/molecules/actions-menu/styles.d.ts +6 -0
  76. package/dist/molecules/actions-menu/types.d.ts +10 -0
  77. package/dist/molecules/alert-notification/index.d.ts +11 -0
  78. package/dist/molecules/alert-notification/stories/alert-notification.stories.d.ts +25 -0
  79. package/dist/molecules/alert-notification/styles.d.ts +5 -0
  80. package/dist/molecules/card-value/index.d.ts +13 -0
  81. package/dist/molecules/card-value/styles.d.ts +2 -0
  82. package/dist/molecules/checkbox-group/index.d.ts +23 -0
  83. package/dist/molecules/checkbox-group/stories/checkbox-group.stories.d.ts +33 -0
  84. package/dist/molecules/checkbox-group/styles.d.ts +6 -0
  85. package/dist/molecules/data-warning/index.d.ts +7 -0
  86. package/dist/molecules/data-warning/stories/data-warning.stories.d.ts +22 -0
  87. package/dist/molecules/data-warning/styles.d.ts +5 -0
  88. package/dist/molecules/empty-table/index.d.ts +8 -0
  89. package/dist/molecules/empty-table/stories/empty-table.stories.d.ts +17 -0
  90. package/dist/molecules/empty-table/styles.d.ts +10 -0
  91. package/dist/molecules/error/index.d.ts +7 -0
  92. package/dist/molecules/error/stories/error.stories.d.ts +22 -0
  93. package/dist/molecules/error/styles.d.ts +5 -0
  94. package/dist/molecules/field-with-button/index.d.ts +20 -0
  95. package/dist/molecules/field-with-button/stories/field-with-button.stories.d.ts +26 -0
  96. package/dist/molecules/field-with-button/styles.d.ts +2 -0
  97. package/dist/molecules/form-group/index.d.ts +9 -0
  98. package/dist/molecules/form-group/stories/form-group.stories.d.ts +28 -0
  99. package/dist/molecules/form-group/styles.d.ts +5 -0
  100. package/dist/molecules/modal-footer/index.d.ts +11 -0
  101. package/dist/molecules/modal-footer/stories/modal-footer.stories.d.ts +22 -0
  102. package/dist/molecules/modal-footer/styles.d.ts +1 -0
  103. package/dist/molecules/note-card/index.d.ts +12 -0
  104. package/dist/molecules/note-card/styles.d.ts +7 -0
  105. package/dist/molecules/note-card/types.d.ts +1 -0
  106. package/dist/molecules/number-input-spinner/index.d.ts +13 -0
  107. package/dist/molecules/number-input-spinner/stories/number-input-spinner.stories.d.ts +39 -0
  108. package/dist/molecules/number-input-spinner/styles.d.ts +7 -0
  109. package/dist/molecules/pagination-control/index.d.ts +11 -0
  110. package/dist/molecules/pagination-control/stories/pagination-control.stories.d.ts +42 -0
  111. package/dist/molecules/pagination-control/styles.d.ts +5 -0
  112. package/dist/molecules/radio-group/index.d.ts +20 -0
  113. package/dist/molecules/radio-group/stories/radio-group.stories.d.ts +34 -0
  114. package/dist/molecules/radio-group/styles.d.ts +13 -0
  115. package/dist/molecules/table/index.d.ts +32 -0
  116. package/dist/molecules/table/stories/table.stories.d.ts +28 -0
  117. package/dist/molecules/table/styles.d.ts +7 -0
  118. package/dist/molecules/table-dnd/index.d.ts +33 -0
  119. package/dist/molecules/table-dnd/stories/table-dnd.stories.d.ts +23 -0
  120. package/dist/molecules/table-dnd/styles.d.ts +8 -0
  121. package/dist/molecules/wizard-steps/index.d.ts +14 -0
  122. package/dist/molecules/wizard-steps/stories/wizard-steps.stories.d.ts +14 -0
  123. package/dist/molecules/wizard-steps/styles.d.ts +6 -0
  124. package/dist/organisms/grid-container/grid-col.d.ts +8 -0
  125. package/dist/organisms/grid-container/grid-row.d.ts +4 -0
  126. package/dist/organisms/grid-container/index.d.ts +7 -0
  127. package/dist/organisms/grid-container/stories/grid-container.stories.d.ts +10 -0
  128. package/dist/organisms/grid-container/styles.d.ts +6 -0
  129. package/dist/organisms/horizontal-nav/index.d.ts +9 -0
  130. package/dist/organisms/horizontal-nav/stories/horizontal-nav.stories.d.ts +20 -0
  131. package/dist/organisms/horizontal-nav/styles.d.ts +6 -0
  132. package/dist/organisms/loading-state/index.d.ts +12 -0
  133. package/dist/organisms/loading-state/stories/loading-state.stories.d.ts +28 -0
  134. package/dist/organisms/loading-state/styles.d.ts +9 -0
  135. package/dist/organisms/modal/index.d.ts +12 -0
  136. package/dist/organisms/modal/stories/modal.stories.d.ts +25 -0
  137. package/dist/organisms/modal/styles.d.ts +9 -0
  138. package/dist/organisms/modal-drawer/index.d.ts +13 -0
  139. package/dist/organisms/modal-drawer/stories/modal-drawer.stories.d.ts +26 -0
  140. package/dist/organisms/modal-drawer/styles.d.ts +9 -0
  141. package/dist/organisms/tabs-panel/index.d.ts +14 -0
  142. package/dist/organisms/tabs-panel/stories/tabs-panel.stories.d.ts +20 -0
  143. package/dist/organisms/tabs-panel/styles.d.ts +1 -0
  144. package/dist/rocket-kit.cjs.development.js +6223 -0
  145. package/dist/rocket-kit.cjs.development.js.map +1 -0
  146. package/dist/rocket-kit.cjs.production.min.js +1598 -0
  147. package/dist/rocket-kit.cjs.production.min.js.map +1 -0
  148. package/dist/rocket-kit.esm.js +6168 -0
  149. package/dist/rocket-kit.esm.js.map +1 -0
  150. package/dist/utils/filters/has-value.d.ts +1 -0
  151. package/dist/utils/hooks/use-mouse-move-effect.d.ts +5 -0
  152. package/dist/utils/hooks/use-visible.d.ts +6 -0
  153. package/package.json +122 -0
@@ -0,0 +1,19 @@
1
+ /// <reference types="react" />
2
+ import { ActionMenu } from './types';
3
+ interface ActionsMenuListInterface<T> {
4
+ actions: ActionMenu<T>[];
5
+ data?: any;
6
+ rowIndex?: number;
7
+ handleOptionClick?: () => void;
8
+ }
9
+ interface ActionsMenuInterface<T> {
10
+ className?: string;
11
+ ariaLabel?: string;
12
+ actions: ActionMenu<T>[];
13
+ data?: T;
14
+ dataTestId?: string;
15
+ startsOpen?: boolean;
16
+ }
17
+ export declare const ActionMenuList: <T>(props: ActionsMenuListInterface<T>) => JSX.Element;
18
+ declare const ActionsMenu: <T>(props: ActionsMenuInterface<T>) => JSX.Element;
19
+ export default ActionsMenu;
@@ -0,0 +1,6 @@
1
+ interface ListInterface {
2
+ rowIndex?: number;
3
+ }
4
+ export declare const ActionsMenuStyle: import("styled-components").StyledComponent<"div", any, {}, never>;
5
+ export declare const List: import("styled-components").StyledComponent<"ul", any, ListInterface, never>;
6
+ export {};
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ export declare type ActionMenuType = 'default' | 'danger' | 'disabled';
3
+ export interface ActionMenu<T> {
4
+ id: string;
5
+ type: ActionMenuType;
6
+ value: string;
7
+ visibilityFunc?: (data: T) => boolean;
8
+ url?: string;
9
+ action?: (e: React.MouseEvent<HTMLAnchorElement, MouseEvent>, data: T | null) => void;
10
+ }
@@ -0,0 +1,11 @@
1
+ import React, { CSSProperties } from 'react';
2
+ export interface AlertNotificationProps {
3
+ className?: string;
4
+ style?: CSSProperties;
5
+ variant?: 'success' | 'orange' | 'red';
6
+ value: string;
7
+ children?: React.ReactNode;
8
+ closeAction?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
9
+ }
10
+ declare const AlertNotification: (props: AlertNotificationProps) => JSX.Element;
11
+ export default AlertNotification;
@@ -0,0 +1,25 @@
1
+ /// <reference types="react" />
2
+ import { AlertNotificationProps } from '..';
3
+ declare const _default: {
4
+ title: string;
5
+ component: (props: AlertNotificationProps) => JSX.Element;
6
+ argTypes: {
7
+ variant: {
8
+ control: {
9
+ type: string;
10
+ options: string[];
11
+ };
12
+ };
13
+ };
14
+ };
15
+ export default _default;
16
+ export declare const AlertNotificationComponent: {
17
+ (args: AlertNotificationProps): JSX.Element;
18
+ storyName: string;
19
+ args: {
20
+ className: string;
21
+ variant: string;
22
+ value: string;
23
+ closeAction: () => void;
24
+ };
25
+ };
@@ -0,0 +1,5 @@
1
+ interface AlertNotificationProps {
2
+ variant?: 'success' | 'orange' | 'red';
3
+ }
4
+ export declare const Wrapper: import("styled-components").StyledComponent<"div", any, AlertNotificationProps, never>;
5
+ export {};
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ interface CardValueProps {
3
+ label: string;
4
+ kai?: boolean;
5
+ value: string | number;
6
+ description?: string;
7
+ buttonValue?: string;
8
+ onClick?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
9
+ className?: string;
10
+ style?: React.CSSProperties;
11
+ }
12
+ declare const CardValue: (props: CardValueProps) => JSX.Element;
13
+ export default CardValue;
@@ -0,0 +1,2 @@
1
+ export declare const CardValueStyle: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ export declare const CardValueButtonWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,23 @@
1
+ import React, { CSSProperties } from 'react';
2
+ export declare type CheckboxItem = {
3
+ value: string;
4
+ label?: string | React.ReactNode;
5
+ checked?: boolean;
6
+ onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
7
+ error?: string;
8
+ disabled?: boolean;
9
+ className?: string;
10
+ style?: CSSProperties;
11
+ dataTestId?: string;
12
+ required?: boolean;
13
+ };
14
+ export interface CheckboxGroupProps {
15
+ type?: 'row' | 'column';
16
+ children?: React.ReactNode;
17
+ options?: CheckboxItem[];
18
+ error?: string;
19
+ onChange?: () => {};
20
+ disabled?: boolean;
21
+ }
22
+ declare const CheckboxGroup: (props: CheckboxGroupProps) => JSX.Element;
23
+ export default CheckboxGroup;
@@ -0,0 +1,33 @@
1
+ /// <reference types="react" />
2
+ import { CheckboxGroupProps } from '..';
3
+ declare const _default: {
4
+ title: string;
5
+ component: (props: CheckboxGroupProps) => JSX.Element;
6
+ argTypes: {
7
+ type: {
8
+ control: {
9
+ type: string;
10
+ options: string[];
11
+ };
12
+ };
13
+ onChange: {
14
+ action: () => void;
15
+ };
16
+ };
17
+ };
18
+ export default _default;
19
+ export declare const CheckboxGroupComponent: {
20
+ (args: CheckboxGroupProps): JSX.Element;
21
+ storyName: string;
22
+ args: {
23
+ type: string;
24
+ options: {
25
+ label: string;
26
+ value: string;
27
+ checked: null;
28
+ disabled: boolean;
29
+ }[];
30
+ error: string;
31
+ disabled: boolean;
32
+ };
33
+ };
@@ -0,0 +1,6 @@
1
+ interface CheckboxGroupProps {
2
+ type?: 'row' | 'column';
3
+ error?: string;
4
+ }
5
+ export declare const Wrapper: import("styled-components").StyledComponent<"ul", any, CheckboxGroupProps, never>;
6
+ export {};
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ export interface DataWarningProps {
3
+ type?: 'login' | 'data';
4
+ children: React.ReactNode;
5
+ }
6
+ declare const DataWarning: (props: DataWarningProps) => JSX.Element;
7
+ export default DataWarning;
@@ -0,0 +1,22 @@
1
+ /// <reference types="react" />
2
+ import { DataWarningProps } from '..';
3
+ declare const _default: {
4
+ title: string;
5
+ component: (props: DataWarningProps) => JSX.Element;
6
+ argTypes: {
7
+ type: {
8
+ control: {
9
+ type: string;
10
+ options: string[];
11
+ };
12
+ };
13
+ };
14
+ };
15
+ export default _default;
16
+ export declare const DataWarningComponent: {
17
+ (args: DataWarningProps): JSX.Element;
18
+ storyName: string;
19
+ args: {
20
+ type: string;
21
+ };
22
+ };
@@ -0,0 +1,5 @@
1
+ interface DataWarningProps {
2
+ type: 'login' | 'data';
3
+ }
4
+ export declare const Wrapper: import("styled-components").StyledComponent<"div", any, DataWarningProps, never>;
5
+ export {};
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ export interface EmptyTableProps {
3
+ border?: boolean;
4
+ value: string;
5
+ tableHead: string[];
6
+ }
7
+ declare const EmptyTable: (props: EmptyTableProps) => JSX.Element;
8
+ export default EmptyTable;
@@ -0,0 +1,17 @@
1
+ /// <reference types="react" />
2
+ import { EmptyTableProps } from '..';
3
+ declare const _default: {
4
+ title: string;
5
+ component: (props: EmptyTableProps) => JSX.Element;
6
+ argTypes: {};
7
+ };
8
+ export default _default;
9
+ export declare const EmptyTableComponent: {
10
+ (args: EmptyTableProps): JSX.Element;
11
+ storyName: string;
12
+ args: {
13
+ border: boolean;
14
+ tableHead: string[];
15
+ value: string;
16
+ };
17
+ };
@@ -0,0 +1,10 @@
1
+ interface BorderProps {
2
+ border: boolean;
3
+ }
4
+ export declare const EmptyTableWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
5
+ export declare const EmptyTableHead: import("styled-components").StyledComponent<"div", any, BorderProps, never>;
6
+ export declare const EmptyTableBody: import("styled-components").StyledComponent<"div", any, BorderProps, never>;
7
+ export declare const EmptyTableRow: import("styled-components").StyledComponent<"div", any, {}, never>;
8
+ export declare const EmptyTableCellText: import("styled-components").StyledComponent<"div", any, {}, never>;
9
+ export declare const EmptyTableOverlay: import("styled-components").StyledComponent<"div", any, {}, never>;
10
+ export {};
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ export interface ErrorProps {
3
+ variant?: 'default' | 'minimal';
4
+ value: string;
5
+ }
6
+ declare const Error: (props: ErrorProps) => JSX.Element;
7
+ export default Error;
@@ -0,0 +1,22 @@
1
+ /// <reference types="react" />
2
+ import { ErrorProps } from '..';
3
+ declare const _default: {
4
+ title: string;
5
+ component: (props: ErrorProps) => JSX.Element;
6
+ argTypes: {
7
+ variant: {
8
+ control: {
9
+ type: string;
10
+ options: string[];
11
+ };
12
+ };
13
+ };
14
+ };
15
+ export default _default;
16
+ export declare const ErrorComponent: {
17
+ (args: ErrorProps): JSX.Element;
18
+ args: {
19
+ variant: string;
20
+ value: string;
21
+ };
22
+ };
@@ -0,0 +1,5 @@
1
+ interface ErrorProps {
2
+ variant: 'default' | 'minimal';
3
+ }
4
+ export declare const Wrapper: import("styled-components").StyledComponent<"div", any, ErrorProps, never>;
5
+ export {};
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ import { TextFieldType } from '../../atoms/text-field/types';
3
+ export interface FieldWidthButtonProps {
4
+ label?: string;
5
+ type?: TextFieldType;
6
+ name?: string;
7
+ placeholder?: string;
8
+ value?: string | number;
9
+ onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
10
+ disabled?: boolean;
11
+ error?: string;
12
+ dataTestId?: string;
13
+ required?: boolean;
14
+ buttonIcon: string;
15
+ buttonValue?: string;
16
+ buttonAction?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
17
+ buttonDisabled?: boolean;
18
+ }
19
+ declare const FieldWidthButton: (props: FieldWidthButtonProps) => JSX.Element;
20
+ export default FieldWidthButton;
@@ -0,0 +1,26 @@
1
+ /// <reference types="react" />
2
+ import { FieldWidthButtonProps } from '..';
3
+ declare const _default: {
4
+ title: string;
5
+ component: (props: FieldWidthButtonProps) => JSX.Element;
6
+ argTypes: {
7
+ onChange: {
8
+ action: () => void;
9
+ };
10
+ buttonAction: {
11
+ action: string;
12
+ };
13
+ };
14
+ };
15
+ export default _default;
16
+ export declare const FieldWidthButtonComponent: {
17
+ (args: FieldWidthButtonProps): JSX.Element;
18
+ storyName: string;
19
+ args: {
20
+ label: string;
21
+ value: string;
22
+ disabled: boolean;
23
+ buttonIcon: string;
24
+ buttonValue: string;
25
+ };
26
+ };
@@ -0,0 +1,2 @@
1
+ export declare const Wrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ export declare const Field: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ export interface FormGroupProps {
3
+ kai?: boolean;
4
+ label: string;
5
+ error?: boolean;
6
+ children: React.ReactNode;
7
+ }
8
+ declare const FormGroup: (props: FormGroupProps) => JSX.Element;
9
+ export default FormGroup;
@@ -0,0 +1,28 @@
1
+ /// <reference types="react" />
2
+ import { FormGroupProps } from '..';
3
+ declare const _default: {
4
+ title: string;
5
+ component: (props: FormGroupProps) => JSX.Element;
6
+ argTypes: {
7
+ error: {
8
+ control: {
9
+ type: string;
10
+ };
11
+ };
12
+ kai: {
13
+ control: {
14
+ type: string;
15
+ };
16
+ };
17
+ };
18
+ };
19
+ export default _default;
20
+ export declare const FormGroupComponent: {
21
+ (args: FormGroupProps): JSX.Element;
22
+ storyName: string;
23
+ args: {
24
+ label: string;
25
+ kai: boolean;
26
+ error: boolean;
27
+ };
28
+ };
@@ -0,0 +1,5 @@
1
+ interface WrapperProps {
2
+ error?: boolean;
3
+ }
4
+ export declare const Wrapper: import("styled-components").StyledComponent<"div", any, WrapperProps, never>;
5
+ export {};
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ export interface ModalFooterProps {
3
+ children?: React.ReactNode;
4
+ closeAction?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
5
+ closeValue?: string;
6
+ dataTestId?: string;
7
+ className?: string;
8
+ style?: React.CSSProperties;
9
+ }
10
+ declare const ModalFooter: (props: ModalFooterProps) => JSX.Element;
11
+ export default ModalFooter;
@@ -0,0 +1,22 @@
1
+ /// <reference types="react" />
2
+ import { ModalFooterProps } from '..';
3
+ declare const _default: {
4
+ title: string;
5
+ component: (props: ModalFooterProps) => JSX.Element;
6
+ argTypes: {};
7
+ };
8
+ export default _default;
9
+ export declare const ModalFooterComponentNoChildren: {
10
+ (args: ModalFooterProps): JSX.Element;
11
+ storyName: string;
12
+ args: {
13
+ closeValue: string;
14
+ };
15
+ };
16
+ export declare const ModalFooterComponentChildren: {
17
+ (args: ModalFooterProps): JSX.Element;
18
+ storyName: string;
19
+ args: {
20
+ closeValue: string;
21
+ };
22
+ };
@@ -0,0 +1 @@
1
+ export declare const FooterStyle: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,12 @@
1
+ import React, { CSSProperties } from 'react';
2
+ import { NoteColor } from './types';
3
+ interface NoteCardProps {
4
+ color?: NoteColor;
5
+ value: any;
6
+ buttonValue?: string;
7
+ onClick?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
8
+ className?: string;
9
+ style?: CSSProperties;
10
+ }
11
+ declare const NoteCard: (props: NoteCardProps) => JSX.Element;
12
+ export default NoteCard;
@@ -0,0 +1,7 @@
1
+ import { NoteColor } from './types';
2
+ interface NoteCardProps {
3
+ color?: NoteColor;
4
+ buttonValue?: string;
5
+ }
6
+ export declare const Wrapper: import("styled-components").StyledComponent<"div", any, NoteCardProps, never>;
7
+ export {};
@@ -0,0 +1 @@
1
+ export declare type NoteColor = 'grey' | 'green' | 'red';
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ export interface NumberInputSpinnerProps {
3
+ decreaseAriaLabel?: string;
4
+ increaseAriaLabel?: string;
5
+ increment?: number;
6
+ min?: number;
7
+ max?: number;
8
+ value?: number;
9
+ onChange?: (value: number) => void;
10
+ disabled?: boolean;
11
+ }
12
+ declare const NumberInputSpinner: (props: NumberInputSpinnerProps) => JSX.Element;
13
+ export default NumberInputSpinner;
@@ -0,0 +1,39 @@
1
+ /// <reference types="react" />
2
+ import { NumberInputSpinnerProps } from '..';
3
+ declare const _default: {
4
+ title: string;
5
+ component: (props: NumberInputSpinnerProps) => JSX.Element;
6
+ argTypes: {
7
+ onChange: {
8
+ action: string;
9
+ };
10
+ };
11
+ };
12
+ export default _default;
13
+ export declare const NumberInputSpinnerSimpleComponent: {
14
+ (args: NumberInputSpinnerProps): JSX.Element;
15
+ storyName: string;
16
+ args: {
17
+ increment: number;
18
+ min: number;
19
+ max: number;
20
+ value: number;
21
+ disabled: boolean;
22
+ };
23
+ };
24
+ export declare const NumberInputSpinnerLongComponent: {
25
+ (args: NumberInputSpinnerProps): JSX.Element;
26
+ storyName: string;
27
+ args: {
28
+ max: number;
29
+ value: number;
30
+ storyName: string;
31
+ args: {
32
+ increment: number;
33
+ min: number;
34
+ max: number;
35
+ value: number;
36
+ disabled: boolean;
37
+ };
38
+ };
39
+ };
@@ -0,0 +1,7 @@
1
+ interface NumberInputSpinnerProps {
2
+ max?: number;
3
+ }
4
+ export declare const Wrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
5
+ export declare const Input: import("styled-components").StyledComponent<"input", any, NumberInputSpinnerProps, never>;
6
+ export declare const Button: import("styled-components").StyledComponent<"button", any, {}, never>;
7
+ export {};
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ export interface PageControlProps {
3
+ dark?: boolean;
4
+ page: number;
5
+ pageCount: number;
6
+ hrefBuilder?: any;
7
+ onPageChange?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
8
+ ariaLabelBuilder?: any;
9
+ }
10
+ declare const PaginationControl: (props: PageControlProps) => JSX.Element;
11
+ export default PaginationControl;
@@ -0,0 +1,42 @@
1
+ /// <reference types="react" />
2
+ import { PageControlProps } from '..';
3
+ declare const _default: {
4
+ title: string;
5
+ component: (props: PageControlProps) => JSX.Element;
6
+ decorators: ((...args: any) => any)[];
7
+ };
8
+ export default _default;
9
+ export declare const PaginationControlLight: {
10
+ (args: PageControlProps): JSX.Element;
11
+ storyName: string;
12
+ args: {
13
+ page: number;
14
+ pageCount: number;
15
+ onPageChange: () => void;
16
+ };
17
+ parameters: {
18
+ design: {
19
+ type: string;
20
+ url: string;
21
+ };
22
+ };
23
+ };
24
+ export declare const PaginationControlDark: {
25
+ (args: PageControlProps): JSX.Element;
26
+ storyName: string;
27
+ args: {
28
+ dark: boolean;
29
+ page: number;
30
+ pageCount: number;
31
+ onPageChange: () => void;
32
+ };
33
+ parameters: {
34
+ backgrounds: {
35
+ default: string;
36
+ };
37
+ design: {
38
+ type: string;
39
+ url: string;
40
+ };
41
+ };
42
+ };
@@ -0,0 +1,5 @@
1
+ interface PageControlProps {
2
+ dark?: boolean;
3
+ }
4
+ export declare const PaginationWrapper: import("styled-components").StyledComponent<"div", any, PageControlProps, never>;
5
+ export {};
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ export declare type Item = {
3
+ value: string;
4
+ label: string;
5
+ disabled: boolean;
6
+ checked: boolean | undefined;
7
+ };
8
+ export interface RadioGroupProps {
9
+ className?: string;
10
+ style?: React.CSSProperties;
11
+ options: Item[];
12
+ type?: 'row' | 'column';
13
+ group: string;
14
+ onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
15
+ error?: string;
16
+ disabled?: boolean;
17
+ dataTestId?: string;
18
+ }
19
+ declare const RadioGroup: (props: RadioGroupProps) => JSX.Element;
20
+ export default RadioGroup;
@@ -0,0 +1,34 @@
1
+ /// <reference types="react" />
2
+ import { RadioGroupProps } from '..';
3
+ declare const _default: {
4
+ title: string;
5
+ component: (props: RadioGroupProps) => JSX.Element;
6
+ argTypes: {
7
+ type: {
8
+ control: {
9
+ type: string;
10
+ options: string[];
11
+ };
12
+ };
13
+ onChange: {
14
+ action: () => void;
15
+ };
16
+ };
17
+ };
18
+ export default _default;
19
+ export declare const RadioGroupComponent: {
20
+ (args: RadioGroupProps): JSX.Element;
21
+ storyName: string;
22
+ args: {
23
+ type: string;
24
+ group: string;
25
+ options: {
26
+ value: string;
27
+ label: string;
28
+ disabled: boolean;
29
+ checked: undefined;
30
+ }[];
31
+ error: string;
32
+ disabled: boolean;
33
+ };
34
+ };
@@ -0,0 +1,13 @@
1
+ interface WrapperProps {
2
+ type?: 'row' | 'column';
3
+ group: string;
4
+ error?: string;
5
+ disabled?: boolean;
6
+ }
7
+ interface ItemProps {
8
+ error?: string;
9
+ disabled?: boolean;
10
+ }
11
+ export declare const Wrapper: import("styled-components").StyledComponent<"ul", any, WrapperProps, never>;
12
+ export declare const Item: import("styled-components").StyledComponent<"li", any, ItemProps, never>;
13
+ export {};