@taikai/rocket-kit 3.0.0 → 3.0.2
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.
- package/dist/atoms/avatar-image/index.d.ts +2 -2
- package/dist/atoms/avatar-image/stories/avatar-image.stories.d.ts +5 -5
- package/dist/atoms/button/index.d.ts +1 -1
- package/dist/atoms/button/stories/button.stories.d.ts +3 -3
- package/dist/atoms/button-dropdown/index.d.ts +2 -2
- package/dist/atoms/button-dropdown/stories/button-dropdown.stories.d.ts +3 -3
- package/dist/atoms/button-link/index.d.ts +1 -1
- package/dist/atoms/button-link/stories/button-link.stories.d.ts +3 -3
- package/dist/atoms/checkbox/index.d.ts +1 -1
- package/dist/atoms/checkbox-button/index.d.ts +1 -1
- package/dist/atoms/checkbox-button/stories/checkbox-button.stories.d.ts +3 -3
- package/dist/atoms/error-field/index.d.ts +2 -2
- package/dist/atoms/file-picker/index.d.ts +1 -2
- package/dist/atoms/file-picker/stories/file-picker.stories.d.ts +3 -4
- package/dist/atoms/file-picker/styles.d.ts +0 -1
- package/dist/atoms/icon/index.d.ts +2 -2
- package/dist/atoms/icon/stories/icon.stories.d.ts +5 -5
- package/dist/atoms/label/index.d.ts +1 -1
- package/dist/atoms/label/stories/label.stories.d.ts +4 -4
- package/dist/atoms/progress-bar/index.d.ts +2 -1
- package/dist/atoms/progress-bar/stories/progress-bar.stories.d.ts +3 -3
- package/dist/atoms/select/index.d.ts +1 -2
- package/dist/atoms/select/stories/select.stories.d.ts +3 -9
- package/dist/atoms/select/styles.d.ts +0 -1
- package/dist/atoms/select-interactive/components/index.d.ts +4 -3
- package/dist/atoms/select-interactive/index.d.ts +2 -1
- package/dist/atoms/select-interactive/stories/select-interactive.stories.d.ts +6 -6
- package/dist/atoms/select-interactive/styles.d.ts +1 -0
- package/dist/atoms/slideshow/index.d.ts +2 -1
- package/dist/atoms/slideshow/stories/slideshow.stories.d.ts +3 -3
- package/dist/atoms/spinner/index.d.ts +2 -2
- package/dist/atoms/tag/index.d.ts +2 -2
- package/dist/atoms/tag/stories/tag.stories.d.ts +3 -3
- package/dist/atoms/tag-number/index.d.ts +2 -2
- package/dist/atoms/tag-number/stories/tag-number.stories.d.ts +3 -3
- package/dist/atoms/text-area/index.d.ts +1 -2
- package/dist/atoms/text-area/stories/text-area.stories.d.ts +8 -21
- package/dist/atoms/text-area/styles.d.ts +0 -1
- package/dist/atoms/text-field/index.d.ts +1 -2
- package/dist/atoms/text-field/styles.d.ts +0 -1
- package/dist/atoms/text-field-appendix/index.d.ts +1 -1
- package/dist/atoms/text-field-appendix/stories/text-field-appendix.stories.d.ts +4 -4
- package/dist/atoms/toggle/index.d.ts +2 -1
- package/dist/atoms/toggle/stories/toogle.stories.d.ts +3 -3
- package/dist/atoms/truncate-line/index.d.ts +2 -2
- package/dist/atoms/truncate-line/stories/truncate-line.stories.d.ts +3 -3
- package/dist/atoms/video-player/index.d.ts +4 -1
- package/dist/atoms/video-player/stories/video-player.stories.d.ts +3 -3
- package/dist/index.d.ts +0 -1
- package/dist/ions/icon-empty-data.d.ts +2 -1
- package/dist/ions/icon-login-only.d.ts +2 -1
- package/dist/ions/variables.d.ts +19 -17
- package/dist/molecules/actions-menu/index.d.ts +3 -2
- package/dist/molecules/card-value/index.d.ts +1 -1
- package/dist/molecules/card-value/stories/card-value.stories.d.ts +5 -5
- package/dist/molecules/card-value/styles.d.ts +0 -1
- package/dist/molecules/checkbox-group/index.d.ts +1 -1
- package/dist/molecules/checkbox-group/stories/checkbox-group.stories.d.ts +3 -3
- package/dist/molecules/data-warning/index.d.ts +1 -1
- package/dist/molecules/data-warning/stories/data-warning.stories.d.ts +3 -3
- package/dist/molecules/empty-table/index.d.ts +2 -1
- package/dist/molecules/empty-table/stories/empty-table.stories.d.ts +3 -3
- package/dist/molecules/error/index.d.ts +2 -1
- package/dist/molecules/error/stories/error.stories.d.ts +3 -3
- package/dist/molecules/field-with-button/index.d.ts +1 -5
- package/dist/molecules/field-with-button/stories/field-with-button.stories.d.ts +3 -4
- package/dist/molecules/form-group/index.d.ts +1 -1
- package/dist/molecules/form-group/stories/form-group.stories.d.ts +3 -3
- package/dist/molecules/modal-footer/index.d.ts +1 -1
- package/dist/molecules/modal-footer/stories/modal-footer.stories.d.ts +4 -4
- package/dist/molecules/note-card/index.d.ts +1 -1
- package/dist/molecules/number-input-spinner/index.d.ts +2 -1
- package/dist/molecules/number-input-spinner/stories/number-input-spinner.stories.d.ts +4 -4
- package/dist/molecules/pagination-control/index.d.ts +1 -1
- package/dist/molecules/pagination-control/stories/pagination-control.stories.d.ts +4 -4
- package/dist/molecules/radio-group/index.d.ts +1 -1
- package/dist/molecules/radio-group/stories/radio-group.stories.d.ts +3 -3
- package/dist/molecules/table/index.d.ts +1 -1
- package/dist/molecules/table/stories/table.stories.d.ts +4 -4
- package/dist/molecules/table-dnd/index.d.ts +1 -1
- package/dist/molecules/table-dnd/stories/table-dnd.stories.d.ts +3 -3
- package/dist/molecules/wizard-steps/index.d.ts +2 -2
- package/dist/molecules/wizard-steps/stories/wizard-steps.stories.d.ts +4 -4
- package/dist/organisms/grid-container/grid-col.d.ts +1 -1
- package/dist/organisms/grid-container/grid-row.d.ts +2 -1
- package/dist/organisms/grid-container/index.d.ts +1 -1
- package/dist/organisms/grid-container/stories/grid-container.stories.d.ts +3 -3
- package/dist/organisms/horizontal-nav/index.d.ts +2 -1
- package/dist/organisms/horizontal-nav/stories/horizontal-nav.stories.d.ts +4 -4
- package/dist/organisms/loading-state/index.d.ts +2 -1
- package/dist/organisms/loading-state/stories/loading-state.stories.d.ts +3 -3
- package/dist/organisms/modal/index.d.ts +1 -1
- package/dist/organisms/modal/stories/modal.stories.d.ts +4 -4
- package/dist/organisms/modal-drawer/index.d.ts +1 -1
- package/dist/organisms/modal-drawer/stories/modal-drawer.stories.d.ts +4 -4
- package/dist/organisms/tabs-panel/index.d.ts +1 -1
- package/dist/organisms/tabs-panel/stories/tabs-panel.stories.d.ts +4 -4
- package/dist/rocket-kit.cjs.development.js +353 -705
- package/dist/rocket-kit.cjs.development.js.map +1 -1
- package/dist/rocket-kit.cjs.production.min.js +413 -476
- package/dist/rocket-kit.cjs.production.min.js.map +1 -1
- package/dist/rocket-kit.esm.js +355 -706
- package/dist/rocket-kit.esm.js.map +1 -1
- package/package.json +3 -3
- package/dist/molecules/alert-notification/index.d.ts +0 -11
- package/dist/molecules/alert-notification/stories/alert-notification.stories.d.ts +0 -25
- package/dist/molecules/alert-notification/styles.d.ts +0 -5
|
@@ -1,22 +1,14 @@
|
|
|
1
|
-
|
|
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;
|
|
@@ -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;
|
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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;
|
|
@@ -6,6 +7,8 @@ export interface VideoPlayerProps {
|
|
|
6
7
|
width?: string;
|
|
7
8
|
height?: string;
|
|
8
9
|
onEnded?: any;
|
|
10
|
+
onReady?: any;
|
|
11
|
+
onError?: any;
|
|
9
12
|
}
|
|
10
|
-
declare const VideoPlayer: (props: VideoPlayerProps) => JSX.Element;
|
|
13
|
+
declare const VideoPlayer: (props: VideoPlayerProps) => React.JSX.Element;
|
|
11
14
|
export default VideoPlayer;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
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';
|
package/dist/ions/variables.d.ts
CHANGED
|
@@ -131,23 +131,6 @@ 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: {
|
|
@@ -171,3 +154,22 @@ export declare const button: {
|
|
|
171
154
|
export declare const misc: {
|
|
172
155
|
transitionDuration: string;
|
|
173
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,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { CardValueProps } from '..';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: (props: CardValueProps) => JSX.Element;
|
|
5
|
+
component: (props: CardValueProps) => React.JSX.Element;
|
|
6
6
|
argTypes: {
|
|
7
7
|
currency: {
|
|
8
8
|
control: {
|
|
@@ -14,7 +14,7 @@ declare const _default: {
|
|
|
14
14
|
};
|
|
15
15
|
export default _default;
|
|
16
16
|
export declare const CardValueComponentKAI: {
|
|
17
|
-
(args: CardValueProps): JSX.Element;
|
|
17
|
+
(args: CardValueProps): React.JSX.Element;
|
|
18
18
|
storyName: string;
|
|
19
19
|
args: {
|
|
20
20
|
label: string;
|
|
@@ -24,7 +24,7 @@ export declare const CardValueComponentKAI: {
|
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
26
|
export declare const CardValueComponent: {
|
|
27
|
-
(args: CardValueProps): JSX.Element;
|
|
27
|
+
(args: CardValueProps): React.JSX.Element;
|
|
28
28
|
storyName: string;
|
|
29
29
|
args: {
|
|
30
30
|
label: string;
|
|
@@ -33,7 +33,7 @@ export declare const CardValueComponent: {
|
|
|
33
33
|
};
|
|
34
34
|
};
|
|
35
35
|
export declare const CardValueComponentButton: {
|
|
36
|
-
(args: CardValueProps): JSX.Element;
|
|
36
|
+
(args: CardValueProps): React.JSX.Element;
|
|
37
37
|
storyName: string;
|
|
38
38
|
args: {
|
|
39
39
|
label: string;
|
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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,8 +1,8 @@
|
|
|
1
|
-
|
|
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
|
-
|
|
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,8 +1,8 @@
|
|
|
1
|
-
|
|
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: {
|
|
@@ -19,7 +19,7 @@ declare const _default: {
|
|
|
19
19
|
};
|
|
20
20
|
export default _default;
|
|
21
21
|
export declare const FormGroupComponent: {
|
|
22
|
-
(args: FormGroupProps): JSX.Element;
|
|
22
|
+
(args: FormGroupProps): React.JSX.Element;
|
|
23
23
|
storyName: string;
|
|
24
24
|
args: {
|
|
25
25
|
label: string;
|
|
@@ -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
|
-
|
|
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;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
export interface NumberInputSpinnerProps {
|
|
2
3
|
decreaseAriaLabel?: string;
|
|
3
4
|
increaseAriaLabel?: string;
|
|
@@ -8,5 +9,5 @@ export interface NumberInputSpinnerProps {
|
|
|
8
9
|
onChange?: (value: number) => void;
|
|
9
10
|
disabled?: boolean;
|
|
10
11
|
}
|
|
11
|
-
declare const NumberInputSpinner: (props: NumberInputSpinnerProps) => JSX.Element;
|
|
12
|
+
declare const NumberInputSpinner: (props: NumberInputSpinnerProps) => React.JSX.Element;
|
|
12
13
|
export default NumberInputSpinner;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { NumberInputSpinnerProps } from '..';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: (props: NumberInputSpinnerProps) => JSX.Element;
|
|
5
|
+
component: (props: NumberInputSpinnerProps) => React.JSX.Element;
|
|
6
6
|
argTypes: {
|
|
7
7
|
onChange: {
|
|
8
8
|
action: string;
|
|
@@ -11,7 +11,7 @@ declare const _default: {
|
|
|
11
11
|
};
|
|
12
12
|
export default _default;
|
|
13
13
|
export declare const NumberInputSpinnerSimpleComponent: {
|
|
14
|
-
(args: NumberInputSpinnerProps): JSX.Element;
|
|
14
|
+
(args: NumberInputSpinnerProps): React.JSX.Element;
|
|
15
15
|
storyName: string;
|
|
16
16
|
args: {
|
|
17
17
|
increment: number;
|
|
@@ -22,7 +22,7 @@ export declare const NumberInputSpinnerSimpleComponent: {
|
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
24
|
export declare const NumberInputSpinnerLongComponent: {
|
|
25
|
-
(args: NumberInputSpinnerProps): JSX.Element;
|
|
25
|
+
(args: NumberInputSpinnerProps): React.JSX.Element;
|
|
26
26
|
storyName: string;
|
|
27
27
|
args: {
|
|
28
28
|
max: number;
|
|
@@ -7,5 +7,5 @@ export interface PageControlProps {
|
|
|
7
7
|
onPageChange?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
8
8
|
ariaLabelBuilder?: any;
|
|
9
9
|
}
|
|
10
|
-
declare const PaginationControl: (props: PageControlProps) => JSX.Element;
|
|
10
|
+
declare const PaginationControl: (props: PageControlProps) => React.JSX.Element;
|
|
11
11
|
export default PaginationControl;
|