@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,4 +1,4 @@
|
|
|
1
|
-
import { CSSProperties } from 'react';
|
|
1
|
+
import React, { CSSProperties } from 'react';
|
|
2
2
|
export interface AvatarProps {
|
|
3
3
|
style?: CSSProperties;
|
|
4
4
|
className?: string;
|
|
@@ -9,5 +9,5 @@ export interface AvatarProps {
|
|
|
9
9
|
boringType?: 'marble' | 'beam' | 'pixel' | 'sunset' | 'ring' | 'bauhaus';
|
|
10
10
|
square?: boolean;
|
|
11
11
|
}
|
|
12
|
-
declare const AvatarImage: (props: AvatarProps) => JSX.Element;
|
|
12
|
+
declare const AvatarImage: (props: AvatarProps) => React.JSX.Element;
|
|
13
13
|
export default AvatarImage;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { AvatarProps } from '..';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: (props: AvatarProps) => JSX.Element;
|
|
5
|
+
component: (props: AvatarProps) => React.JSX.Element;
|
|
6
6
|
argTypes: {
|
|
7
7
|
boringType: {
|
|
8
8
|
control: {
|
|
@@ -14,7 +14,7 @@ declare const _default: {
|
|
|
14
14
|
};
|
|
15
15
|
export default _default;
|
|
16
16
|
export declare const PNG: {
|
|
17
|
-
(args: AvatarProps): JSX.Element;
|
|
17
|
+
(args: AvatarProps): React.JSX.Element;
|
|
18
18
|
args: {
|
|
19
19
|
size: number;
|
|
20
20
|
boring: boolean;
|
|
@@ -25,7 +25,7 @@ export declare const PNG: {
|
|
|
25
25
|
};
|
|
26
26
|
};
|
|
27
27
|
export declare const SVG: {
|
|
28
|
-
(args: AvatarProps): JSX.Element;
|
|
28
|
+
(args: AvatarProps): React.JSX.Element;
|
|
29
29
|
args: {
|
|
30
30
|
size: number;
|
|
31
31
|
boring: boolean;
|
|
@@ -36,7 +36,7 @@ export declare const SVG: {
|
|
|
36
36
|
};
|
|
37
37
|
};
|
|
38
38
|
export declare const BoringAvatar: {
|
|
39
|
-
(args: AvatarProps): JSX.Element;
|
|
39
|
+
(args: AvatarProps): React.JSX.Element;
|
|
40
40
|
args: {
|
|
41
41
|
size: number;
|
|
42
42
|
boring: boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { ButtonProps } from '..';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: (props: ButtonProps) => JSX.Element;
|
|
5
|
+
component: (props: ButtonProps) => React.JSX.Element;
|
|
6
6
|
argTypes: {
|
|
7
7
|
variant: {
|
|
8
8
|
control: {
|
|
@@ -38,7 +38,7 @@ declare const _default: {
|
|
|
38
38
|
};
|
|
39
39
|
export default _default;
|
|
40
40
|
export declare const ButtonComponent: {
|
|
41
|
-
(args: ButtonProps): JSX.Element;
|
|
41
|
+
(args: ButtonProps): React.JSX.Element;
|
|
42
42
|
storyName: string;
|
|
43
43
|
args: {
|
|
44
44
|
variant: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CSSProperties } from 'react';
|
|
1
|
+
import React, { CSSProperties } from 'react';
|
|
2
2
|
import { ButtonColor, ButtonVariant } from '../button/types';
|
|
3
3
|
import { ActionMenu } from './types';
|
|
4
4
|
export interface ActionsMenuInterface<T> {
|
|
@@ -19,5 +19,5 @@ export interface ActionsMenuInterface<T> {
|
|
|
19
19
|
startsOpen?: boolean;
|
|
20
20
|
disabled?: boolean;
|
|
21
21
|
}
|
|
22
|
-
declare const ButtonDropdown: <T>(props: ActionsMenuInterface<T>) => JSX.Element;
|
|
22
|
+
declare const ButtonDropdown: <T>(props: ActionsMenuInterface<T>) => React.JSX.Element;
|
|
23
23
|
export default ButtonDropdown;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { ActionsMenuInterface } from '..';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: <T>(props: ActionsMenuInterface<T>) => JSX.Element;
|
|
5
|
+
component: <T>(props: ActionsMenuInterface<T>) => React.JSX.Element;
|
|
6
6
|
argTypes: {
|
|
7
7
|
variant: {
|
|
8
8
|
control: {
|
|
@@ -32,7 +32,7 @@ declare const _default: {
|
|
|
32
32
|
};
|
|
33
33
|
export default _default;
|
|
34
34
|
export declare const ButtonDropdownComponent: {
|
|
35
|
-
<T>(args: ActionsMenuInterface<T>): JSX.Element;
|
|
35
|
+
<T>(args: ActionsMenuInterface<T>): React.JSX.Element;
|
|
36
36
|
storyName: string;
|
|
37
37
|
args: {
|
|
38
38
|
variant: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { ButtonLinkProps } from '..';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: (props: ButtonLinkProps) => JSX.Element;
|
|
5
|
+
component: (props: ButtonLinkProps) => React.JSX.Element;
|
|
6
6
|
argTypes: {
|
|
7
7
|
variant: {
|
|
8
8
|
control: {
|
|
@@ -38,7 +38,7 @@ declare const _default: {
|
|
|
38
38
|
};
|
|
39
39
|
export default _default;
|
|
40
40
|
export declare const ButtonLinkComponent: {
|
|
41
|
-
(args: ButtonLinkProps): JSX.Element;
|
|
41
|
+
(args: ButtonLinkProps): React.JSX.Element;
|
|
42
42
|
storyName: string;
|
|
43
43
|
args: {
|
|
44
44
|
variant: string;
|
|
@@ -11,5 +11,5 @@ interface Props {
|
|
|
11
11
|
dataTestId?: string;
|
|
12
12
|
required?: boolean;
|
|
13
13
|
}
|
|
14
|
-
declare const Checkbox: ({ label, value, checked, onChange, error, disabled, className, style, dataTestId, required, }: Props) => JSX.Element;
|
|
14
|
+
declare const Checkbox: ({ label, value, checked, onChange, error, disabled, className, style, dataTestId, required, }: Props) => React.JSX.Element;
|
|
15
15
|
export default Checkbox;
|
|
@@ -10,5 +10,5 @@ export interface CheckboxButtonProps {
|
|
|
10
10
|
dataTestId?: string;
|
|
11
11
|
required?: boolean;
|
|
12
12
|
}
|
|
13
|
-
declare const CheckboxButton: (props: CheckboxButtonProps) => JSX.Element;
|
|
13
|
+
declare const CheckboxButton: (props: CheckboxButtonProps) => React.JSX.Element;
|
|
14
14
|
export default CheckboxButton;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { CheckboxButtonProps } from '..';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: (props: CheckboxButtonProps) => JSX.Element;
|
|
5
|
+
component: (props: CheckboxButtonProps) => React.JSX.Element;
|
|
6
6
|
argTypes: {
|
|
7
7
|
onChange: {
|
|
8
8
|
action: () => void;
|
|
@@ -11,7 +11,7 @@ declare const _default: {
|
|
|
11
11
|
};
|
|
12
12
|
export default _default;
|
|
13
13
|
export declare const CheckboxButtonComponent: {
|
|
14
|
-
(args: CheckboxButtonProps): JSX.Element;
|
|
14
|
+
(args: CheckboxButtonProps): React.JSX.Element;
|
|
15
15
|
storyName: string;
|
|
16
16
|
args: {
|
|
17
17
|
label: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CSSProperties } from 'react';
|
|
1
|
+
import React, { CSSProperties } from 'react';
|
|
2
2
|
import { ErrorFieldColor } from './types';
|
|
3
3
|
interface ErrorFieldProps {
|
|
4
4
|
color?: ErrorFieldColor;
|
|
@@ -6,5 +6,5 @@ interface ErrorFieldProps {
|
|
|
6
6
|
className?: string;
|
|
7
7
|
style?: CSSProperties;
|
|
8
8
|
}
|
|
9
|
-
declare const ErrorField: (props: ErrorFieldProps) => JSX.Element;
|
|
9
|
+
declare const ErrorField: (props: ErrorFieldProps) => React.JSX.Element;
|
|
10
10
|
export default ErrorField;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface FilePickerProps {
|
|
3
|
-
minimal?: boolean;
|
|
4
3
|
name: string;
|
|
5
4
|
accept?: string;
|
|
6
5
|
multiple?: boolean;
|
|
@@ -13,5 +12,5 @@ export interface FilePickerProps {
|
|
|
13
12
|
buttonText?: string;
|
|
14
13
|
disabled?: boolean;
|
|
15
14
|
}
|
|
16
|
-
declare const FilePicker: (props: FilePickerProps) => JSX.Element;
|
|
15
|
+
declare const FilePicker: (props: FilePickerProps) => React.JSX.Element;
|
|
17
16
|
export default FilePicker;
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { FilePickerProps } from '..';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: (props: FilePickerProps) => JSX.Element;
|
|
5
|
+
component: (props: FilePickerProps) => React.JSX.Element;
|
|
6
6
|
};
|
|
7
7
|
export default _default;
|
|
8
8
|
export declare const FilePickerComponent: {
|
|
9
|
-
(args: FilePickerProps): JSX.Element;
|
|
9
|
+
(args: FilePickerProps): React.JSX.Element;
|
|
10
10
|
story: {
|
|
11
11
|
name: string;
|
|
12
12
|
args: {
|
|
13
|
-
minimal: boolean;
|
|
14
13
|
multiple: boolean;
|
|
15
14
|
name: string;
|
|
16
15
|
placeholder: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { CSSProperties } from 'react';
|
|
1
|
+
import React, { CSSProperties } from 'react';
|
|
2
2
|
export interface IconProps {
|
|
3
3
|
fill?: string;
|
|
4
4
|
icon: string;
|
|
5
5
|
className?: string;
|
|
6
6
|
style?: CSSProperties;
|
|
7
7
|
}
|
|
8
|
-
declare const Icon: (props: IconProps) => JSX.Element;
|
|
8
|
+
declare const Icon: (props: IconProps) => React.JSX.Element;
|
|
9
9
|
export default Icon;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { IconProps } from '..';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: (props: IconProps) => JSX.Element;
|
|
5
|
+
component: (props: IconProps) => React.JSX.Element;
|
|
6
6
|
argTypes: {
|
|
7
7
|
fill: {
|
|
8
8
|
control: string;
|
|
@@ -11,7 +11,7 @@ declare const _default: {
|
|
|
11
11
|
};
|
|
12
12
|
export default _default;
|
|
13
13
|
export declare const Icons: {
|
|
14
|
-
(args: IconProps): JSX.Element;
|
|
14
|
+
(args: IconProps): React.JSX.Element;
|
|
15
15
|
story: {
|
|
16
16
|
name: string;
|
|
17
17
|
args: {
|
|
@@ -20,7 +20,7 @@ export declare const Icons: {
|
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
22
|
export declare const IconComponent: {
|
|
23
|
-
(args: IconProps): JSX.Element;
|
|
23
|
+
(args: IconProps): React.JSX.Element;
|
|
24
24
|
story: {
|
|
25
25
|
name: string;
|
|
26
26
|
args: {
|
|
@@ -35,6 +35,6 @@ export declare const IconComponent: {
|
|
|
35
35
|
};
|
|
36
36
|
};
|
|
37
37
|
};
|
|
38
|
-
decorators: ((Story: any) => JSX.Element)[];
|
|
38
|
+
decorators: ((Story: any) => React.JSX.Element)[];
|
|
39
39
|
};
|
|
40
40
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { LabelProps } from '..';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: (props: LabelProps) => JSX.Element;
|
|
5
|
+
component: (props: LabelProps) => 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 LabelComponentKAI: {
|
|
17
|
-
(args: LabelProps): JSX.Element;
|
|
17
|
+
(args: LabelProps): React.JSX.Element;
|
|
18
18
|
storyName: string;
|
|
19
19
|
args: {
|
|
20
20
|
currency: string;
|
|
@@ -22,7 +22,7 @@ export declare const LabelComponentKAI: {
|
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
24
|
export declare const LabelComponent: {
|
|
25
|
-
(args: LabelProps): JSX.Element;
|
|
25
|
+
(args: LabelProps): React.JSX.Element;
|
|
26
26
|
storyName: string;
|
|
27
27
|
args: {
|
|
28
28
|
value: string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
export interface ProgressBarProps {
|
|
2
3
|
progress: number;
|
|
3
4
|
value?: string;
|
|
4
5
|
}
|
|
5
|
-
declare const ProgressBar: (props: ProgressBarProps) => JSX.Element;
|
|
6
|
+
declare const ProgressBar: (props: ProgressBarProps) => React.JSX.Element;
|
|
6
7
|
export default ProgressBar;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { ProgressBarProps } from '..';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: (props: ProgressBarProps) => JSX.Element;
|
|
5
|
+
component: (props: ProgressBarProps) => React.JSX.Element;
|
|
6
6
|
};
|
|
7
7
|
export default _default;
|
|
8
8
|
export declare const ProgressBarComponent: {
|
|
9
|
-
(args: ProgressBarProps): JSX.Element;
|
|
9
|
+
(args: ProgressBarProps): React.JSX.Element;
|
|
10
10
|
storyName: string;
|
|
11
11
|
args: {
|
|
12
12
|
progress: number;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React, { CSSProperties } from 'react';
|
|
2
2
|
export interface SelectProps {
|
|
3
|
-
minimal?: boolean;
|
|
4
3
|
placeholder?: string;
|
|
5
4
|
options: any;
|
|
6
5
|
defaultValue?: string | number;
|
|
@@ -13,5 +12,5 @@ export interface SelectProps {
|
|
|
13
12
|
className?: string;
|
|
14
13
|
style?: CSSProperties;
|
|
15
14
|
}
|
|
16
|
-
declare const Select: (props: SelectProps) => JSX.Element;
|
|
15
|
+
declare const Select: (props: SelectProps) => React.JSX.Element;
|
|
17
16
|
export default Select;
|
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { SelectProps } from '..';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: (props: SelectProps) => JSX.Element;
|
|
5
|
+
component: (props: SelectProps) => React.JSX.Element;
|
|
6
6
|
argTypes: {
|
|
7
|
-
minimal: {
|
|
8
|
-
control: {
|
|
9
|
-
type: string;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
7
|
onChange: {
|
|
13
8
|
action: string;
|
|
14
9
|
};
|
|
@@ -21,10 +16,9 @@ declare const _default: {
|
|
|
21
16
|
};
|
|
22
17
|
export default _default;
|
|
23
18
|
export declare const SelectComponent: {
|
|
24
|
-
(args: SelectProps): JSX.Element;
|
|
19
|
+
(args: SelectProps): React.JSX.Element;
|
|
25
20
|
storyName: string;
|
|
26
21
|
args: {
|
|
27
|
-
minimal: boolean;
|
|
28
22
|
name: string;
|
|
29
23
|
placeholder: string;
|
|
30
24
|
options: {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { TCustomOptions, TSelectInteractiveOption } from '../types';
|
|
2
3
|
export interface GroupBase {
|
|
3
4
|
options: readonly TSelectInteractiveOption[];
|
|
4
5
|
label?: string;
|
|
5
6
|
}
|
|
6
|
-
export declare const FormatGroupLabel: (props: GroupBase) => JSX.Element;
|
|
7
|
-
export declare const CustomSelectOption: (props: TCustomOptions, commonProps: any) => JSX.Element;
|
|
8
|
-
export declare const CustomSelectValue: (props: TCustomOptions) => JSX.Element;
|
|
7
|
+
export declare const FormatGroupLabel: (props: GroupBase) => React.JSX.Element;
|
|
8
|
+
export declare const CustomSelectOption: (props: TCustomOptions, commonProps: any) => React.JSX.Element;
|
|
9
|
+
export declare const CustomSelectValue: (props: TCustomOptions) => React.JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { SelectInteractiveProps, TSelectInteractiveOption } from './types';
|
|
2
|
-
declare const SelectInteractive: ({ name, multi, search, placeholder, options, value, clear, error, disabled, formatGroupLabel, onChange, onInputChange, ...rest }: SelectInteractiveProps<TSelectInteractiveOption>) => JSX.Element;
|
|
3
|
+
declare const SelectInteractive: ({ name, multi, search, placeholder, options, value, clear, error, disabled, formatGroupLabel, onChange, onInputChange, ...rest }: SelectInteractiveProps<TSelectInteractiveOption>) => React.JSX.Element;
|
|
3
4
|
export default SelectInteractive;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { SelectInteractiveProps, TSelectInteractiveOption } from '../types';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: ({ name, multi, search, placeholder, options, value, clear, error, disabled, formatGroupLabel, onChange, onInputChange, ...rest }: SelectInteractiveProps<TSelectInteractiveOption>) => JSX.Element;
|
|
5
|
+
component: ({ name, multi, search, placeholder, options, value, clear, error, disabled, formatGroupLabel, onChange, onInputChange, ...rest }: SelectInteractiveProps<TSelectInteractiveOption>) => React.JSX.Element;
|
|
6
6
|
argTypes: {
|
|
7
7
|
multi: {
|
|
8
8
|
control: {
|
|
@@ -18,7 +18,7 @@ declare const _default: {
|
|
|
18
18
|
};
|
|
19
19
|
export default _default;
|
|
20
20
|
export declare const SelectInteractiveSimpleComponent: {
|
|
21
|
-
(args: SelectInteractiveProps<TSelectInteractiveOption>): JSX.Element;
|
|
21
|
+
(args: SelectInteractiveProps<TSelectInteractiveOption>): React.JSX.Element;
|
|
22
22
|
storyName: string;
|
|
23
23
|
args: {
|
|
24
24
|
multi: boolean;
|
|
@@ -27,11 +27,11 @@ export declare const SelectInteractiveSimpleComponent: {
|
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
29
|
export declare const SelectInteractiveFormatedGroupedOptionsComponent: {
|
|
30
|
-
(args: SelectInteractiveProps<TSelectInteractiveOption>): JSX.Element;
|
|
30
|
+
(args: SelectInteractiveProps<TSelectInteractiveOption>): React.JSX.Element;
|
|
31
31
|
storyName: string;
|
|
32
32
|
};
|
|
33
33
|
export declare const SelectInteractiveIconsComponent: {
|
|
34
|
-
(args: SelectInteractiveProps<TSelectInteractiveOption>): JSX.Element;
|
|
34
|
+
(args: SelectInteractiveProps<TSelectInteractiveOption>): React.JSX.Element;
|
|
35
35
|
storyName: string;
|
|
36
36
|
args: {
|
|
37
37
|
multi: boolean;
|
|
@@ -40,7 +40,7 @@ export declare const SelectInteractiveIconsComponent: {
|
|
|
40
40
|
};
|
|
41
41
|
};
|
|
42
42
|
export declare const SelectInteractiveCustomComponent: {
|
|
43
|
-
(args: SelectInteractiveProps<TSelectInteractiveOption>): JSX.Element;
|
|
43
|
+
(args: SelectInteractiveProps<TSelectInteractiveOption>): React.JSX.Element;
|
|
44
44
|
storyName: string;
|
|
45
45
|
args: {
|
|
46
46
|
multi: boolean;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
export declare const SelectWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
2
|
export declare const SelectGroupLabel: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
3
|
+
export declare const SingleValue: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
export interface SlideshowProps {
|
|
2
3
|
showArrows?: boolean;
|
|
3
4
|
slidesNumber: number;
|
|
@@ -8,5 +9,5 @@ export interface SlideshowProps {
|
|
|
8
9
|
slideSelected?: number;
|
|
9
10
|
children: any;
|
|
10
11
|
}
|
|
11
|
-
declare const Slideshow: (props: SlideshowProps) => JSX.Element;
|
|
12
|
+
declare const Slideshow: (props: SlideshowProps) => React.JSX.Element;
|
|
12
13
|
export default Slideshow;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { SlideshowProps } from '..';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: (props: SlideshowProps) => JSX.Element;
|
|
5
|
+
component: (props: SlideshowProps) => React.JSX.Element;
|
|
6
6
|
};
|
|
7
7
|
export default _default;
|
|
8
8
|
export declare const SlideshowComponent: {
|
|
9
|
-
(args: SlideshowProps): JSX.Element;
|
|
9
|
+
(args: SlideshowProps): React.JSX.Element;
|
|
10
10
|
story: {
|
|
11
11
|
name: string;
|
|
12
12
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { CSSProperties } from 'react';
|
|
1
|
+
import React, { CSSProperties } from 'react';
|
|
2
2
|
interface SpinnerProps {
|
|
3
3
|
fill?: string;
|
|
4
4
|
size?: string;
|
|
5
5
|
className?: string;
|
|
6
6
|
style?: CSSProperties;
|
|
7
7
|
}
|
|
8
|
-
declare const Spinner: (props: SpinnerProps) => JSX.Element;
|
|
8
|
+
declare const Spinner: (props: SpinnerProps) => React.JSX.Element;
|
|
9
9
|
export default Spinner;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CSSProperties } from 'react';
|
|
1
|
+
import React, { CSSProperties } from 'react';
|
|
2
2
|
import { TagVariant, TagColor } from './types';
|
|
3
3
|
export interface TagProps {
|
|
4
4
|
variant?: TagVariant;
|
|
@@ -8,5 +8,5 @@ export interface TagProps {
|
|
|
8
8
|
className?: string;
|
|
9
9
|
style?: CSSProperties;
|
|
10
10
|
}
|
|
11
|
-
declare const Tag: (props: TagProps) => JSX.Element;
|
|
11
|
+
declare const Tag: (props: TagProps) => React.JSX.Element;
|
|
12
12
|
export default Tag;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { TagProps } from '..';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: (props: TagProps) => JSX.Element;
|
|
5
|
+
component: (props: TagProps) => React.JSX.Element;
|
|
6
6
|
argTypes: {
|
|
7
7
|
color: {
|
|
8
8
|
control: {
|
|
@@ -26,7 +26,7 @@ declare const _default: {
|
|
|
26
26
|
};
|
|
27
27
|
export default _default;
|
|
28
28
|
export declare const TagPrimaryComponent: {
|
|
29
|
-
(args: TagProps): JSX.Element;
|
|
29
|
+
(args: TagProps): React.JSX.Element;
|
|
30
30
|
storyName: string;
|
|
31
31
|
args: {
|
|
32
32
|
color: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CSSProperties } from 'react';
|
|
1
|
+
import React, { CSSProperties } from 'react';
|
|
2
2
|
import { TagColor } from '../tag/types';
|
|
3
3
|
export interface TagNumberProps {
|
|
4
4
|
className?: string;
|
|
@@ -8,5 +8,5 @@ export interface TagNumberProps {
|
|
|
8
8
|
label: string;
|
|
9
9
|
value: number | string;
|
|
10
10
|
}
|
|
11
|
-
declare const TagNumber: (props: TagNumberProps) => JSX.Element;
|
|
11
|
+
declare const TagNumber: (props: TagNumberProps) => React.JSX.Element;
|
|
12
12
|
export default TagNumber;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { TagNumberProps } from '..';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: (props: TagNumberProps) => JSX.Element;
|
|
5
|
+
component: (props: TagNumberProps) => React.JSX.Element;
|
|
6
6
|
argTypes: {
|
|
7
7
|
color: {
|
|
8
8
|
control: {
|
|
@@ -20,7 +20,7 @@ declare const _default: {
|
|
|
20
20
|
};
|
|
21
21
|
export default _default;
|
|
22
22
|
export declare const TagNumberComponent: {
|
|
23
|
-
(args: TagNumberProps): JSX.Element;
|
|
23
|
+
(args: TagNumberProps): React.JSX.Element;
|
|
24
24
|
storyName: string;
|
|
25
25
|
args: {
|
|
26
26
|
color: string;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React, { CSSProperties } from 'react';
|
|
2
2
|
export interface TextAreaProps {
|
|
3
|
-
minimal?: boolean;
|
|
4
3
|
className?: string;
|
|
5
4
|
style?: CSSProperties;
|
|
6
5
|
height?: string;
|
|
@@ -17,5 +16,5 @@ export interface TextAreaProps {
|
|
|
17
16
|
required?: boolean;
|
|
18
17
|
dataTestId?: string;
|
|
19
18
|
}
|
|
20
|
-
declare const TextArea: (props: TextAreaProps) => JSX.Element;
|
|
19
|
+
declare const TextArea: (props: TextAreaProps) => React.JSX.Element;
|
|
21
20
|
export default TextArea;
|