@taikai/rocket-kit 3.0.0-beta.5 → 3.0.1

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 (108) hide show
  1. package/dist/atoms/avatar-image/index.d.ts +2 -2
  2. package/dist/atoms/avatar-image/stories/avatar-image.stories.d.ts +5 -5
  3. package/dist/atoms/button/index.d.ts +1 -1
  4. package/dist/atoms/button/stories/button.stories.d.ts +3 -3
  5. package/dist/atoms/button-dropdown/index.d.ts +2 -2
  6. package/dist/atoms/button-dropdown/stories/button-dropdown.stories.d.ts +3 -3
  7. package/dist/atoms/button-link/index.d.ts +1 -1
  8. package/dist/atoms/button-link/stories/button-link.stories.d.ts +3 -3
  9. package/dist/atoms/checkbox/index.d.ts +1 -1
  10. package/dist/atoms/checkbox-button/index.d.ts +1 -1
  11. package/dist/atoms/checkbox-button/stories/checkbox-button.stories.d.ts +3 -3
  12. package/dist/atoms/error-field/index.d.ts +2 -2
  13. package/dist/atoms/file-picker/index.d.ts +1 -2
  14. package/dist/atoms/file-picker/stories/file-picker.stories.d.ts +3 -4
  15. package/dist/atoms/file-picker/styles.d.ts +0 -1
  16. package/dist/atoms/icon/index.d.ts +2 -2
  17. package/dist/atoms/icon/stories/icon.stories.d.ts +5 -5
  18. package/dist/atoms/label/index.d.ts +3 -3
  19. package/dist/atoms/label/stories/label.stories.d.ts +30 -0
  20. package/dist/atoms/progress-bar/index.d.ts +2 -1
  21. package/dist/atoms/progress-bar/stories/progress-bar.stories.d.ts +3 -3
  22. package/dist/atoms/select/index.d.ts +1 -2
  23. package/dist/atoms/select/stories/select.stories.d.ts +3 -9
  24. package/dist/atoms/select/styles.d.ts +0 -1
  25. package/dist/atoms/select-interactive/components/index.d.ts +4 -4
  26. package/dist/atoms/select-interactive/index.d.ts +2 -1
  27. package/dist/atoms/select-interactive/stories/select-interactive.stories.d.ts +6 -6
  28. package/dist/atoms/select-interactive/styles.d.ts +1 -0
  29. package/dist/atoms/select-interactive/types.d.ts +1 -1
  30. package/dist/atoms/slideshow/index.d.ts +2 -1
  31. package/dist/atoms/slideshow/stories/slideshow.stories.d.ts +3 -3
  32. package/dist/atoms/spinner/index.d.ts +2 -2
  33. package/dist/atoms/tag/index.d.ts +2 -2
  34. package/dist/atoms/tag/stories/tag.stories.d.ts +3 -3
  35. package/dist/atoms/tag-number/index.d.ts +2 -2
  36. package/dist/atoms/tag-number/stories/tag-number.stories.d.ts +3 -3
  37. package/dist/atoms/text-area/index.d.ts +1 -2
  38. package/dist/atoms/text-area/stories/text-area.stories.d.ts +8 -21
  39. package/dist/atoms/text-area/styles.d.ts +0 -1
  40. package/dist/atoms/text-field/index.d.ts +1 -2
  41. package/dist/atoms/text-field/styles.d.ts +0 -1
  42. package/dist/atoms/text-field-appendix/index.d.ts +1 -1
  43. package/dist/atoms/text-field-appendix/stories/text-field-appendix.stories.d.ts +4 -4
  44. package/dist/atoms/toggle/index.d.ts +2 -1
  45. package/dist/atoms/toggle/stories/toogle.stories.d.ts +3 -3
  46. package/dist/atoms/truncate-line/index.d.ts +2 -2
  47. package/dist/atoms/truncate-line/stories/truncate-line.stories.d.ts +3 -3
  48. package/dist/atoms/video-player/index.d.ts +2 -1
  49. package/dist/atoms/video-player/stories/video-player.stories.d.ts +3 -3
  50. package/dist/index.d.ts +0 -1
  51. package/dist/ions/icon-empty-data.d.ts +2 -1
  52. package/dist/ions/icon-login-only.d.ts +2 -1
  53. package/dist/ions/variables.d.ts +22 -17
  54. package/dist/molecules/actions-menu/index.d.ts +3 -2
  55. package/dist/molecules/card-value/index.d.ts +3 -3
  56. package/dist/molecules/card-value/stories/card-value.stories.d.ts +45 -0
  57. package/dist/molecules/card-value/styles.d.ts +0 -1
  58. package/dist/molecules/checkbox-group/index.d.ts +1 -1
  59. package/dist/molecules/checkbox-group/stories/checkbox-group.stories.d.ts +3 -3
  60. package/dist/molecules/data-warning/index.d.ts +1 -1
  61. package/dist/molecules/data-warning/stories/data-warning.stories.d.ts +3 -3
  62. package/dist/molecules/empty-table/index.d.ts +2 -1
  63. package/dist/molecules/empty-table/stories/empty-table.stories.d.ts +3 -3
  64. package/dist/molecules/error/index.d.ts +2 -1
  65. package/dist/molecules/error/stories/error.stories.d.ts +3 -3
  66. package/dist/molecules/field-with-button/index.d.ts +1 -5
  67. package/dist/molecules/field-with-button/stories/field-with-button.stories.d.ts +3 -4
  68. package/dist/molecules/form-group/index.d.ts +2 -2
  69. package/dist/molecules/form-group/stories/form-group.stories.d.ts +6 -5
  70. package/dist/molecules/modal-footer/index.d.ts +1 -1
  71. package/dist/molecules/modal-footer/stories/modal-footer.stories.d.ts +4 -4
  72. package/dist/molecules/note-card/index.d.ts +1 -1
  73. package/dist/molecules/number-input-spinner/index.d.ts +2 -1
  74. package/dist/molecules/number-input-spinner/stories/number-input-spinner.stories.d.ts +4 -4
  75. package/dist/molecules/pagination-control/index.d.ts +1 -1
  76. package/dist/molecules/pagination-control/stories/pagination-control.stories.d.ts +4 -4
  77. package/dist/molecules/radio-group/index.d.ts +1 -1
  78. package/dist/molecules/radio-group/stories/radio-group.stories.d.ts +3 -3
  79. package/dist/molecules/table/index.d.ts +1 -1
  80. package/dist/molecules/table/stories/table.stories.d.ts +4 -4
  81. package/dist/molecules/table-dnd/index.d.ts +1 -1
  82. package/dist/molecules/table-dnd/stories/table-dnd.stories.d.ts +3 -3
  83. package/dist/molecules/wizard-steps/index.d.ts +2 -2
  84. package/dist/molecules/wizard-steps/stories/wizard-steps.stories.d.ts +4 -4
  85. package/dist/organisms/grid-container/grid-col.d.ts +1 -1
  86. package/dist/organisms/grid-container/grid-row.d.ts +2 -1
  87. package/dist/organisms/grid-container/index.d.ts +1 -1
  88. package/dist/organisms/grid-container/stories/grid-container.stories.d.ts +3 -3
  89. package/dist/organisms/horizontal-nav/index.d.ts +2 -1
  90. package/dist/organisms/horizontal-nav/stories/horizontal-nav.stories.d.ts +4 -4
  91. package/dist/organisms/loading-state/index.d.ts +2 -1
  92. package/dist/organisms/loading-state/stories/loading-state.stories.d.ts +3 -3
  93. package/dist/organisms/modal/index.d.ts +1 -1
  94. package/dist/organisms/modal/stories/modal.stories.d.ts +4 -4
  95. package/dist/organisms/modal-drawer/index.d.ts +1 -1
  96. package/dist/organisms/modal-drawer/stories/modal-drawer.stories.d.ts +4 -4
  97. package/dist/organisms/tabs-panel/index.d.ts +1 -1
  98. package/dist/organisms/tabs-panel/stories/tabs-panel.stories.d.ts +4 -4
  99. package/dist/rocket-kit.cjs.development.js +391 -739
  100. package/dist/rocket-kit.cjs.development.js.map +1 -1
  101. package/dist/rocket-kit.cjs.production.min.js +413 -476
  102. package/dist/rocket-kit.cjs.production.min.js.map +1 -1
  103. package/dist/rocket-kit.esm.js +393 -740
  104. package/dist/rocket-kit.esm.js.map +1 -1
  105. package/package.json +3 -3
  106. package/dist/molecules/alert-notification/index.d.ts +0 -11
  107. package/dist/molecules/alert-notification/stories/alert-notification.stories.d.ts +0 -25
  108. package/dist/molecules/alert-notification/styles.d.ts +0 -5
@@ -1,22 +1,14 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { TextAreaProps } from '..';
3
3
  declare const _default: {
4
4
  title: string;
5
- component: (props: TextAreaProps) => JSX.Element;
6
- argTypes: {
7
- minimal: {
8
- control: {
9
- type: string;
10
- };
11
- };
12
- };
5
+ component: (props: TextAreaProps) => React.JSX.Element;
13
6
  };
14
7
  export default _default;
15
8
  export declare const TextAreaComponent: {
16
- (args: TextAreaProps): JSX.Element;
9
+ (args: TextAreaProps): React.JSX.Element;
17
10
  storyName: string;
18
11
  args: {
19
- minimal: boolean;
20
12
  name: string;
21
13
  placeholder: string;
22
14
  height: string;
@@ -27,10 +19,9 @@ export declare const TextAreaComponent: {
27
19
  };
28
20
  };
29
21
  export declare const TextAreaCharactersCountComponent: {
30
- (args: TextAreaProps): JSX.Element;
22
+ (args: TextAreaProps): React.JSX.Element;
31
23
  storyName: string;
32
24
  args: {
33
- minimal: boolean;
34
25
  name: string;
35
26
  placeholder: string;
36
27
  height: string;
@@ -40,10 +31,9 @@ export declare const TextAreaCharactersCountComponent: {
40
31
  };
41
32
  };
42
33
  export declare const TextAreaDefaultComponent: {
43
- (args: TextAreaProps): JSX.Element;
34
+ (args: TextAreaProps): React.JSX.Element;
44
35
  storyName: string;
45
36
  args: {
46
- minimal: boolean;
47
37
  height: string;
48
38
  placeholder: string;
49
39
  defaultValue: string;
@@ -53,10 +43,9 @@ export declare const TextAreaDefaultComponent: {
53
43
  };
54
44
  };
55
45
  export declare const TextAreaDisabledComponent: {
56
- (args: TextAreaProps): JSX.Element;
46
+ (args: TextAreaProps): React.JSX.Element;
57
47
  storyName: string;
58
48
  args: {
59
- minimal: boolean;
60
49
  name: string;
61
50
  height: string;
62
51
  placeholder: string;
@@ -66,10 +55,9 @@ export declare const TextAreaDisabledComponent: {
66
55
  };
67
56
  };
68
57
  export declare const TextAreaFullBorderComponent: {
69
- (args: TextAreaProps): JSX.Element;
58
+ (args: TextAreaProps): React.JSX.Element;
70
59
  storyName: string;
71
60
  args: {
72
- minimal: boolean;
73
61
  name: string;
74
62
  height: string;
75
63
  placeholder: string;
@@ -78,10 +66,9 @@ export declare const TextAreaFullBorderComponent: {
78
66
  };
79
67
  };
80
68
  export declare const TextAreaErrorComponent: {
81
- (args: TextAreaProps): JSX.Element;
69
+ (args: TextAreaProps): React.JSX.Element;
82
70
  storyName: string;
83
71
  args: {
84
- minimal: boolean;
85
72
  name: string;
86
73
  height: string;
87
74
  placeholder: string;
@@ -1,5 +1,4 @@
1
1
  interface TextAreaProps {
2
- minimal?: boolean;
3
2
  height?: string;
4
3
  error?: string;
5
4
  minlength?: number;
@@ -2,7 +2,6 @@ import React, { CSSProperties } from 'react';
2
2
  import { TextFieldType } from './types';
3
3
  interface TextFieldProps {
4
4
  type?: TextFieldType;
5
- minimal?: boolean;
6
5
  error?: string;
7
6
  icon?: string;
8
7
  name?: string;
@@ -19,5 +18,5 @@ interface TextFieldProps {
19
18
  pattern?: string;
20
19
  required?: boolean;
21
20
  }
22
- declare const TextField: (props: TextFieldProps) => JSX.Element;
21
+ declare const TextField: (props: TextFieldProps) => React.JSX.Element;
23
22
  export default TextField;
@@ -1,5 +1,4 @@
1
1
  interface InputStyleProps {
2
- minimal?: boolean;
3
2
  icon?: string;
4
3
  error?: string;
5
4
  }
@@ -18,5 +18,5 @@ export interface TextFieldAppendixProps {
18
18
  pattern?: string;
19
19
  required?: boolean;
20
20
  }
21
- declare const TextFieldAppendix: (props: TextFieldAppendixProps) => JSX.Element;
21
+ declare const TextFieldAppendix: (props: TextFieldAppendixProps) => React.JSX.Element;
22
22
  export default TextFieldAppendix;
@@ -1,8 +1,8 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { TextFieldAppendixProps } from '..';
3
3
  declare const _default: {
4
4
  title: string;
5
- component: (props: TextFieldAppendixProps) => JSX.Element;
5
+ component: (props: TextFieldAppendixProps) => React.JSX.Element;
6
6
  argTypes: {
7
7
  type: {
8
8
  control: {
@@ -14,7 +14,7 @@ declare const _default: {
14
14
  };
15
15
  export default _default;
16
16
  export declare const TextFieldPrependComponent: {
17
- (args: TextFieldAppendixProps): JSX.Element;
17
+ (args: TextFieldAppendixProps): React.JSX.Element;
18
18
  storyName: string;
19
19
  args: {
20
20
  type: string;
@@ -28,7 +28,7 @@ export declare const TextFieldPrependComponent: {
28
28
  };
29
29
  };
30
30
  export declare const TextFieldAppendComponent: {
31
- (args: TextFieldAppendixProps): JSX.Element;
31
+ (args: TextFieldAppendixProps): React.JSX.Element;
32
32
  storyName: string;
33
33
  args: {
34
34
  type: string;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { ToggleProps } from './types';
2
- declare const Toggle: ({ ariaLabelOn, ariaLabelOff, labelLeft, labelRight, checked, disabled, isLabelVisible, onClick, ...rest }: ToggleProps) => JSX.Element;
3
+ declare const Toggle: ({ ariaLabelOn, ariaLabelOff, labelLeft, labelRight, checked, disabled, isLabelVisible, onClick, ...rest }: ToggleProps) => React.JSX.Element;
3
4
  export default Toggle;
@@ -1,12 +1,12 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { ToggleProps } from '../types';
3
3
  declare const _default: {
4
4
  title: string;
5
- component: ({ ariaLabelOn, ariaLabelOff, labelLeft, labelRight, checked, disabled, isLabelVisible, onClick, ...rest }: ToggleProps) => JSX.Element;
5
+ component: ({ ariaLabelOn, ariaLabelOff, labelLeft, labelRight, checked, disabled, isLabelVisible, onClick, ...rest }: ToggleProps) => React.JSX.Element;
6
6
  };
7
7
  export default _default;
8
8
  export declare const ToggleComponent: {
9
- (args: ToggleProps): JSX.Element;
9
+ (args: ToggleProps): React.JSX.Element;
10
10
  storyName: string;
11
11
  args: {
12
12
  checked: boolean;
@@ -1,9 +1,9 @@
1
- import { CSSProperties } from 'react';
1
+ import React, { CSSProperties } from 'react';
2
2
  export interface TruncateLineProps {
3
3
  value: string;
4
4
  className?: string;
5
5
  style?: CSSProperties;
6
6
  dataTestId?: string;
7
7
  }
8
- declare const TruncateLine: (props: TruncateLineProps) => JSX.Element;
8
+ declare const TruncateLine: (props: TruncateLineProps) => React.JSX.Element;
9
9
  export default TruncateLine;
@@ -1,12 +1,12 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { TruncateLineProps } from '..';
3
3
  declare const _default: {
4
4
  title: string;
5
- component: (props: TruncateLineProps) => JSX.Element;
5
+ component: (props: TruncateLineProps) => React.JSX.Element;
6
6
  };
7
7
  export default _default;
8
8
  export declare const TruncateLineComponent: {
9
- (args: TruncateLineProps): JSX.Element;
9
+ (args: TruncateLineProps): React.JSX.Element;
10
10
  storyName: string;
11
11
  args: {
12
12
  value: string;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  export interface VideoPlayerProps {
2
3
  video: any;
3
4
  playing?: boolean;
@@ -7,5 +8,5 @@ export interface VideoPlayerProps {
7
8
  height?: string;
8
9
  onEnded?: any;
9
10
  }
10
- declare const VideoPlayer: (props: VideoPlayerProps) => JSX.Element;
11
+ declare const VideoPlayer: (props: VideoPlayerProps) => React.JSX.Element;
11
12
  export default VideoPlayer;
@@ -1,8 +1,8 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { VideoPlayerProps } from '..';
3
3
  declare const _default: {
4
4
  title: string;
5
- component: (props: VideoPlayerProps) => JSX.Element;
5
+ component: (props: VideoPlayerProps) => React.JSX.Element;
6
6
  argTypes: {
7
7
  onEnded: {
8
8
  action: string;
@@ -11,7 +11,7 @@ declare const _default: {
11
11
  };
12
12
  export default _default;
13
13
  export declare const VideoPlayerComponent: {
14
- (args: VideoPlayerProps): JSX.Element;
14
+ (args: VideoPlayerProps): React.JSX.Element;
15
15
  storyName: string;
16
16
  args: {
17
17
  video: string;
package/dist/index.d.ts CHANGED
@@ -31,7 +31,6 @@ export { default as TableDnD } from './molecules/table-dnd';
31
31
  export { default as FormGroup } from './molecules/form-group';
32
32
  export { default as NumberInputSpinner } from './molecules/number-input-spinner';
33
33
  export { default as WizardSteps } from './molecules/wizard-steps';
34
- export { default as AlertNotification } from './molecules/alert-notification';
35
34
  export { default as PaginationControl } from './molecules/pagination-control';
36
35
  export { default as Error } from './molecules/error';
37
36
  export { default as DataWarning } from './molecules/data-warning';
@@ -1,2 +1,3 @@
1
- declare const IconEmptyData: () => JSX.Element;
1
+ import React from 'react';
2
+ declare const IconEmptyData: () => React.JSX.Element;
2
3
  export default IconEmptyData;
@@ -1,2 +1,3 @@
1
- declare const IconLoginOnly: () => JSX.Element;
1
+ import React from 'react';
2
+ declare const IconLoginOnly: () => React.JSX.Element;
2
3
  export default IconLoginOnly;
@@ -131,30 +131,16 @@ export declare const colors: {
131
131
  paleOrange850: string;
132
132
  paleOrange900: string;
133
133
  paleOrange950: string;
134
- normal: string;
135
- light: string;
136
- blue: string;
137
- darkBlue: string;
138
- orange: string;
139
- darkOrange: string;
140
- red: string;
141
- lightRed: string;
142
- darkRed: string;
143
- lightPurple: string;
144
- darkPurple: string;
145
- green: string;
146
- lightGreen: string;
147
- darkGreen: string;
148
- grey: string;
149
- lightGrey: string;
150
- darkGrey: string;
151
134
  };
152
135
  export declare const colorHues: number[];
153
136
  export declare const typography: {
154
137
  defaultFont: string;
155
138
  defaultSize: string;
139
+ fontSizeSm: string;
140
+ fontSizeXs: string;
156
141
  regular: number;
157
142
  medium: number;
143
+ semiBold: number;
158
144
  bold: number;
159
145
  };
160
146
  export declare const button: {
@@ -168,3 +154,22 @@ export declare const button: {
168
154
  export declare const misc: {
169
155
  transitionDuration: string;
170
156
  };
157
+ export declare const field: {
158
+ borderWidth: string;
159
+ borderRadius: string;
160
+ borderColor: string;
161
+ hoverBorderColor: string;
162
+ backgroundColor: string;
163
+ boxShadow: string;
164
+ color: string;
165
+ activeBorderColor: string;
166
+ activeColor: string;
167
+ successBackgroundColor: string;
168
+ successBorderColor: string;
169
+ errorBorderColor: string;
170
+ errorBackgroundColor: string;
171
+ disabledBackgroundColor: string;
172
+ disabledColor: string;
173
+ height: string;
174
+ placeholderColor: string;
175
+ };
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { ActionMenu } from './types';
2
3
  interface ActionsMenuListInterface<T> {
3
4
  actions: ActionMenu<T>[];
@@ -13,6 +14,6 @@ interface ActionsMenuInterface<T> {
13
14
  dataTestId?: string;
14
15
  startsOpen?: boolean;
15
16
  }
16
- export declare const ActionMenuList: <T>(props: ActionsMenuListInterface<T>) => JSX.Element;
17
- declare const ActionsMenu: <T>(props: ActionsMenuInterface<T>) => JSX.Element;
17
+ export declare const ActionMenuList: <T>(props: ActionsMenuListInterface<T>) => React.JSX.Element;
18
+ declare const ActionsMenu: <T>(props: ActionsMenuInterface<T>) => React.JSX.Element;
18
19
  export default ActionsMenu;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- interface CardValueProps {
2
+ export interface CardValueProps {
3
3
  label: string;
4
- kai?: boolean;
4
+ currency?: 'tkai' | 'vkai' | undefined;
5
5
  value: string | number;
6
6
  description?: string;
7
7
  buttonValue?: string;
@@ -9,5 +9,5 @@ interface CardValueProps {
9
9
  className?: string;
10
10
  style?: React.CSSProperties;
11
11
  }
12
- declare const CardValue: (props: CardValueProps) => JSX.Element;
12
+ declare const CardValue: (props: CardValueProps) => React.JSX.Element;
13
13
  export default CardValue;
@@ -0,0 +1,45 @@
1
+ import React from 'react';
2
+ import { CardValueProps } from '..';
3
+ declare const _default: {
4
+ title: string;
5
+ component: (props: CardValueProps) => React.JSX.Element;
6
+ argTypes: {
7
+ currency: {
8
+ control: {
9
+ type: string;
10
+ options: string[];
11
+ };
12
+ };
13
+ };
14
+ };
15
+ export default _default;
16
+ export declare const CardValueComponentKAI: {
17
+ (args: CardValueProps): React.JSX.Element;
18
+ storyName: string;
19
+ args: {
20
+ label: string;
21
+ currency: string;
22
+ value: string;
23
+ showArrowButton: boolean;
24
+ };
25
+ };
26
+ export declare const CardValueComponent: {
27
+ (args: CardValueProps): React.JSX.Element;
28
+ storyName: string;
29
+ args: {
30
+ label: string;
31
+ value: string;
32
+ showArrowButton: boolean;
33
+ };
34
+ };
35
+ export declare const CardValueComponentButton: {
36
+ (args: CardValueProps): React.JSX.Element;
37
+ storyName: string;
38
+ args: {
39
+ label: string;
40
+ value: string;
41
+ description: string;
42
+ buttonValue: string;
43
+ onClick: () => void;
44
+ };
45
+ };
@@ -1,2 +1 @@
1
1
  export declare const CardValueStyle: import("styled-components").StyledComponent<"div", any, {}, never>;
2
- export declare const CardValueButtonWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -19,5 +19,5 @@ export interface CheckboxGroupProps {
19
19
  onChange?: () => {};
20
20
  disabled?: boolean;
21
21
  }
22
- declare const CheckboxGroup: (props: CheckboxGroupProps) => JSX.Element;
22
+ declare const CheckboxGroup: (props: CheckboxGroupProps) => React.JSX.Element;
23
23
  export default CheckboxGroup;
@@ -1,8 +1,8 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { CheckboxGroupProps } from '..';
3
3
  declare const _default: {
4
4
  title: string;
5
- component: (props: CheckboxGroupProps) => JSX.Element;
5
+ component: (props: CheckboxGroupProps) => React.JSX.Element;
6
6
  argTypes: {
7
7
  type: {
8
8
  control: {
@@ -17,7 +17,7 @@ declare const _default: {
17
17
  };
18
18
  export default _default;
19
19
  export declare const CheckboxGroupComponent: {
20
- (args: CheckboxGroupProps): JSX.Element;
20
+ (args: CheckboxGroupProps): React.JSX.Element;
21
21
  storyName: string;
22
22
  args: {
23
23
  type: string;
@@ -3,5 +3,5 @@ export interface DataWarningProps {
3
3
  type?: 'login' | 'data';
4
4
  children: React.ReactNode;
5
5
  }
6
- declare const DataWarning: (props: DataWarningProps) => JSX.Element;
6
+ declare const DataWarning: (props: DataWarningProps) => React.JSX.Element;
7
7
  export default DataWarning;
@@ -1,8 +1,8 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { DataWarningProps } from '..';
3
3
  declare const _default: {
4
4
  title: string;
5
- component: (props: DataWarningProps) => JSX.Element;
5
+ component: (props: DataWarningProps) => React.JSX.Element;
6
6
  argTypes: {
7
7
  type: {
8
8
  control: {
@@ -14,7 +14,7 @@ declare const _default: {
14
14
  };
15
15
  export default _default;
16
16
  export declare const DataWarningComponent: {
17
- (args: DataWarningProps): JSX.Element;
17
+ (args: DataWarningProps): React.JSX.Element;
18
18
  storyName: string;
19
19
  args: {
20
20
  type: string;
@@ -1,7 +1,8 @@
1
+ import React from 'react';
1
2
  export interface EmptyTableProps {
2
3
  border?: boolean;
3
4
  value: string;
4
5
  tableHead: string[];
5
6
  }
6
- declare const EmptyTable: (props: EmptyTableProps) => JSX.Element;
7
+ declare const EmptyTable: (props: EmptyTableProps) => React.JSX.Element;
7
8
  export default EmptyTable;
@@ -1,13 +1,13 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { EmptyTableProps } from '..';
3
3
  declare const _default: {
4
4
  title: string;
5
- component: (props: EmptyTableProps) => JSX.Element;
5
+ component: (props: EmptyTableProps) => React.JSX.Element;
6
6
  argTypes: {};
7
7
  };
8
8
  export default _default;
9
9
  export declare const EmptyTableComponent: {
10
- (args: EmptyTableProps): JSX.Element;
10
+ (args: EmptyTableProps): React.JSX.Element;
11
11
  storyName: string;
12
12
  args: {
13
13
  border: boolean;
@@ -1,6 +1,7 @@
1
+ import React from 'react';
1
2
  export interface ErrorProps {
2
3
  variant?: 'default' | 'minimal';
3
4
  value: string;
4
5
  }
5
- declare const Error: (props: ErrorProps) => JSX.Element;
6
+ declare const Error: (props: ErrorProps) => React.JSX.Element;
6
7
  export default Error;
@@ -1,8 +1,8 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { ErrorProps } from '..';
3
3
  declare const _default: {
4
4
  title: string;
5
- component: (props: ErrorProps) => JSX.Element;
5
+ component: (props: ErrorProps) => React.JSX.Element;
6
6
  argTypes: {
7
7
  variant: {
8
8
  control: {
@@ -14,7 +14,7 @@ declare const _default: {
14
14
  };
15
15
  export default _default;
16
16
  export declare const ErrorComponent: {
17
- (args: ErrorProps): JSX.Element;
17
+ (args: ErrorProps): React.JSX.Element;
18
18
  args: {
19
19
  variant: string;
20
20
  value: string;
@@ -6,15 +6,11 @@ export interface FieldWidthButtonProps {
6
6
  name?: string;
7
7
  placeholder?: string;
8
8
  value?: string | number;
9
- onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
10
- disabled?: boolean;
11
- error?: string;
12
9
  dataTestId?: string;
13
- required?: boolean;
14
10
  buttonIcon: string;
15
11
  buttonValue?: string;
16
12
  buttonAction?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
17
13
  buttonDisabled?: boolean;
18
14
  }
19
- declare const FieldWidthButton: (props: FieldWidthButtonProps) => JSX.Element;
15
+ declare const FieldWidthButton: (props: FieldWidthButtonProps) => React.JSX.Element;
20
16
  export default FieldWidthButton;
@@ -1,8 +1,8 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { FieldWidthButtonProps } from '..';
3
3
  declare const _default: {
4
4
  title: string;
5
- component: (props: FieldWidthButtonProps) => JSX.Element;
5
+ component: (props: FieldWidthButtonProps) => React.JSX.Element;
6
6
  argTypes: {
7
7
  onChange: {
8
8
  action: () => void;
@@ -14,12 +14,11 @@ declare const _default: {
14
14
  };
15
15
  export default _default;
16
16
  export declare const FieldWidthButtonComponent: {
17
- (args: FieldWidthButtonProps): JSX.Element;
17
+ (args: FieldWidthButtonProps): React.JSX.Element;
18
18
  storyName: string;
19
19
  args: {
20
20
  label: string;
21
21
  value: string;
22
- disabled: boolean;
23
22
  buttonIcon: string;
24
23
  buttonValue: string;
25
24
  };
@@ -1,9 +1,9 @@
1
1
  import React from 'react';
2
2
  export interface FormGroupProps {
3
- kai?: boolean;
3
+ currency?: 'tkai' | 'vkai' | undefined;
4
4
  label: string;
5
5
  error?: boolean;
6
6
  children: React.ReactNode;
7
7
  }
8
- declare const FormGroup: (props: FormGroupProps) => JSX.Element;
8
+ declare const FormGroup: (props: FormGroupProps) => React.JSX.Element;
9
9
  export default FormGroup;
@@ -1,28 +1,29 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { FormGroupProps } from '..';
3
3
  declare const _default: {
4
4
  title: string;
5
- component: (props: FormGroupProps) => JSX.Element;
5
+ component: (props: FormGroupProps) => React.JSX.Element;
6
6
  argTypes: {
7
7
  error: {
8
8
  control: {
9
9
  type: string;
10
10
  };
11
11
  };
12
- kai: {
12
+ currency: {
13
13
  control: {
14
14
  type: string;
15
+ options: string[];
15
16
  };
16
17
  };
17
18
  };
18
19
  };
19
20
  export default _default;
20
21
  export declare const FormGroupComponent: {
21
- (args: FormGroupProps): JSX.Element;
22
+ (args: FormGroupProps): React.JSX.Element;
22
23
  storyName: string;
23
24
  args: {
24
25
  label: string;
25
- kai: boolean;
26
+ currency: string;
26
27
  error: boolean;
27
28
  };
28
29
  };
@@ -7,5 +7,5 @@ export interface ModalFooterProps {
7
7
  className?: string;
8
8
  style?: React.CSSProperties;
9
9
  }
10
- declare const ModalFooter: (props: ModalFooterProps) => JSX.Element;
10
+ declare const ModalFooter: (props: ModalFooterProps) => React.JSX.Element;
11
11
  export default ModalFooter;
@@ -1,20 +1,20 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { ModalFooterProps } from '..';
3
3
  declare const _default: {
4
4
  title: string;
5
- component: (props: ModalFooterProps) => JSX.Element;
5
+ component: (props: ModalFooterProps) => React.JSX.Element;
6
6
  argTypes: {};
7
7
  };
8
8
  export default _default;
9
9
  export declare const ModalFooterComponentNoChildren: {
10
- (args: ModalFooterProps): JSX.Element;
10
+ (args: ModalFooterProps): React.JSX.Element;
11
11
  storyName: string;
12
12
  args: {
13
13
  closeValue: string;
14
14
  };
15
15
  };
16
16
  export declare const ModalFooterComponentChildren: {
17
- (args: ModalFooterProps): JSX.Element;
17
+ (args: ModalFooterProps): React.JSX.Element;
18
18
  storyName: string;
19
19
  args: {
20
20
  closeValue: string;
@@ -8,5 +8,5 @@ interface NoteCardProps {
8
8
  className?: string;
9
9
  style?: CSSProperties;
10
10
  }
11
- declare const NoteCard: (props: NoteCardProps) => JSX.Element;
11
+ declare const NoteCard: (props: NoteCardProps) => React.JSX.Element;
12
12
  export default NoteCard;