@taikai/rocket-kit 3.0.2 → 3.0.4
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/molecules/field-with-button/index.d.ts +4 -1
- package/dist/rocket-kit.cjs.development.js +70 -55
- package/dist/rocket-kit.cjs.development.js.map +1 -1
- package/dist/rocket-kit.cjs.production.min.js +9 -9
- package/dist/rocket-kit.cjs.production.min.js.map +1 -1
- package/dist/rocket-kit.esm.js +70 -55
- package/dist/rocket-kit.esm.js.map +1 -1
- package/package.json +20 -13
- package/dist/atoms/avatar-image/stories/avatar-image.stories.d.ts +0 -48
- package/dist/atoms/button/stories/button.stories.d.ts +0 -57
- package/dist/atoms/button-dropdown/stories/button-dropdown.stories.d.ts +0 -56
- package/dist/atoms/button-link/stories/button-link.stories.d.ts +0 -58
- package/dist/atoms/checkbox-button/stories/checkbox-button.stories.d.ts +0 -24
- package/dist/atoms/file-picker/stories/file-picker.stories.d.ts +0 -22
- package/dist/atoms/icon/stories/icon.stories.d.ts +0 -40
- package/dist/atoms/label/stories/label.stories.d.ts +0 -30
- package/dist/atoms/progress-bar/stories/progress-bar.stories.d.ts +0 -15
- package/dist/atoms/select/stories/select.stories.d.ts +0 -31
- package/dist/atoms/select-interactive/stories/select-interactive.stories.d.ts +0 -50
- package/dist/atoms/slideshow/stories/slideshow.stories.d.ts +0 -22
- package/dist/atoms/tag/stories/tag.stories.d.ts +0 -37
- package/dist/atoms/tag-number/stories/tag-number.stories.d.ts +0 -31
- package/dist/atoms/text-area/stories/text-area.stories.d.ts +0 -80
- package/dist/atoms/text-field-appendix/stories/text-field-appendix.stories.d.ts +0 -43
- package/dist/atoms/toggle/stories/toogle.stories.d.ts +0 -18
- package/dist/atoms/truncate-line/stories/truncate-line.stories.d.ts +0 -14
- package/dist/atoms/video-player/stories/video-player.stories.d.ts +0 -24
- package/dist/globalStyles.d.ts +0 -2
- package/dist/molecules/card-value/stories/card-value.stories.d.ts +0 -45
- package/dist/molecules/checkbox-group/stories/checkbox-group.stories.d.ts +0 -33
- package/dist/molecules/data-warning/stories/data-warning.stories.d.ts +0 -22
- package/dist/molecules/empty-table/stories/empty-table.stories.d.ts +0 -17
- package/dist/molecules/error/stories/error.stories.d.ts +0 -22
- package/dist/molecules/field-with-button/stories/field-with-button.stories.d.ts +0 -25
- package/dist/molecules/form-group/stories/form-group.stories.d.ts +0 -29
- package/dist/molecules/modal-footer/stories/modal-footer.stories.d.ts +0 -22
- package/dist/molecules/number-input-spinner/stories/number-input-spinner.stories.d.ts +0 -39
- package/dist/molecules/pagination-control/stories/pagination-control.stories.d.ts +0 -42
- package/dist/molecules/radio-group/stories/radio-group.stories.d.ts +0 -34
- package/dist/molecules/table/stories/table.stories.d.ts +0 -46
- package/dist/molecules/table-dnd/stories/table-dnd.stories.d.ts +0 -23
- package/dist/molecules/wizard-steps/stories/wizard-steps.stories.d.ts +0 -14
- package/dist/organisms/grid-container/stories/grid-container.stories.d.ts +0 -10
- package/dist/organisms/horizontal-nav/stories/horizontal-nav.stories.d.ts +0 -20
- package/dist/organisms/loading-state/stories/loading-state.stories.d.ts +0 -25
- package/dist/organisms/modal/stories/modal.stories.d.ts +0 -25
- package/dist/organisms/modal-drawer/stories/modal-drawer.stories.d.ts +0 -26
- package/dist/organisms/tabs-panel/stories/tabs-panel.stories.d.ts +0 -20
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "3.0.
|
|
2
|
+
"version": "3.0.4",
|
|
3
3
|
"name": "@taikai/rocket-kit",
|
|
4
4
|
"author": "taikai",
|
|
5
5
|
"description": "TAIKAI Design System",
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"prepare": "tsdx build",
|
|
32
32
|
"size": "size-limit",
|
|
33
33
|
"analyze": "size-limit --why",
|
|
34
|
-
"storybook": "
|
|
35
|
-
"build-storybook": "
|
|
34
|
+
"storybook": "storybook dev -p 6006",
|
|
35
|
+
"build-storybook": "storybook build",
|
|
36
36
|
"chromatic": "dotenv cross-var npx chromatic --project-token %CHROMATIC_PROJECT_TOKEN%"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
@@ -63,14 +63,18 @@
|
|
|
63
63
|
],
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"@babel/core": "^7.13.8",
|
|
66
|
+
"@babel/preset-env": "^7.22.5",
|
|
67
|
+
"@babel/preset-typescript": "^7.22.5",
|
|
66
68
|
"@size-limit/preset-small-lib": "^4.10.0",
|
|
67
|
-
"@storybook/addon-a11y": "^
|
|
68
|
-
"@storybook/addon-controls": "^
|
|
69
|
-
"@storybook/addon-essentials": "^
|
|
70
|
-
"@storybook/addon-links": "^
|
|
71
|
-
"@storybook/
|
|
72
|
-
"@storybook/
|
|
73
|
-
"@storybook/
|
|
69
|
+
"@storybook/addon-a11y": "^7.0.22",
|
|
70
|
+
"@storybook/addon-controls": "^7.0.22",
|
|
71
|
+
"@storybook/addon-essentials": "^7.0.22",
|
|
72
|
+
"@storybook/addon-links": "^7.0.22",
|
|
73
|
+
"@storybook/addon-styling": "^1.3.0",
|
|
74
|
+
"@storybook/addons": "^7.0.22",
|
|
75
|
+
"@storybook/react": "^7.0.22",
|
|
76
|
+
"@storybook/react-webpack5": "^7.0.22",
|
|
77
|
+
"@storybook/theming": "^7.0.22",
|
|
74
78
|
"@testing-library/jest-dom": "^5.11.9",
|
|
75
79
|
"@testing-library/react": "^11.2.2",
|
|
76
80
|
"@testing-library/user-event": "^13.0.7",
|
|
@@ -82,28 +86,31 @@
|
|
|
82
86
|
"@types/styled-components": "^5.1.4",
|
|
83
87
|
"babel-jest": "^26.6.3",
|
|
84
88
|
"babel-loader": "^8.2.2",
|
|
85
|
-
"babel-plugin-macros": "^3.0
|
|
89
|
+
"babel-plugin-macros": "^3.1.0",
|
|
86
90
|
"chromatic": "^6.17.4",
|
|
87
91
|
"cross-var": "^1.1.0",
|
|
88
92
|
"dotenv-cli": "^4.0.0",
|
|
89
93
|
"eslint-plugin-jest-dom": "^3.6.5",
|
|
90
94
|
"eslint-plugin-jsx-a11y": "^6.4.1",
|
|
95
|
+
"eslint-plugin-storybook": "^0.6.12",
|
|
91
96
|
"eslint-plugin-testing-library": "^3.10.1",
|
|
92
97
|
"husky": "^5.1.3",
|
|
93
98
|
"react": "^17.0.1",
|
|
94
99
|
"react-dom": "^17.0.1",
|
|
95
100
|
"react-is": "^17.0.1",
|
|
96
101
|
"size-limit": "^4.10.0",
|
|
97
|
-
"storybook
|
|
102
|
+
"storybook": "^7.0.22",
|
|
98
103
|
"tsdx": "^0.14.1",
|
|
99
104
|
"tslib": "^2.0.3",
|
|
100
|
-
"typescript": "^4.2.3"
|
|
105
|
+
"typescript": "^4.2.3",
|
|
106
|
+
"webpack-cli": "^5.1.4"
|
|
101
107
|
},
|
|
102
108
|
"publishConfig": {
|
|
103
109
|
"access": "public",
|
|
104
110
|
"registry": "https://registry.npmjs.org"
|
|
105
111
|
},
|
|
106
112
|
"dependencies": {
|
|
113
|
+
"@babel/preset-react": "^7.22.5",
|
|
107
114
|
"@types/uuid": "^8.3.4",
|
|
108
115
|
"boring-avatars": "^1.5.8",
|
|
109
116
|
"jest-styled-components": "^7.0.3",
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { AvatarProps } from '..';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: (props: AvatarProps) => React.JSX.Element;
|
|
6
|
-
argTypes: {
|
|
7
|
-
boringType: {
|
|
8
|
-
control: {
|
|
9
|
-
type: string;
|
|
10
|
-
options: string[];
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
export default _default;
|
|
16
|
-
export declare const PNG: {
|
|
17
|
-
(args: AvatarProps): React.JSX.Element;
|
|
18
|
-
args: {
|
|
19
|
-
size: number;
|
|
20
|
-
boring: boolean;
|
|
21
|
-
boringType: string;
|
|
22
|
-
square: boolean;
|
|
23
|
-
alt: string;
|
|
24
|
-
url: string;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
export declare const SVG: {
|
|
28
|
-
(args: AvatarProps): React.JSX.Element;
|
|
29
|
-
args: {
|
|
30
|
-
size: number;
|
|
31
|
-
boring: boolean;
|
|
32
|
-
boringType: string;
|
|
33
|
-
square: boolean;
|
|
34
|
-
alt: string;
|
|
35
|
-
url: string;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
export declare const BoringAvatar: {
|
|
39
|
-
(args: AvatarProps): React.JSX.Element;
|
|
40
|
-
args: {
|
|
41
|
-
size: number;
|
|
42
|
-
boring: boolean;
|
|
43
|
-
boringType: string;
|
|
44
|
-
square: boolean;
|
|
45
|
-
alt: string;
|
|
46
|
-
url: string;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ButtonProps } from '..';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: (props: ButtonProps) => React.JSX.Element;
|
|
6
|
-
argTypes: {
|
|
7
|
-
variant: {
|
|
8
|
-
control: {
|
|
9
|
-
type: string;
|
|
10
|
-
options: string[];
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
color: {
|
|
14
|
-
control: {
|
|
15
|
-
type: string;
|
|
16
|
-
options: string[];
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
txtColor: {
|
|
20
|
-
control: {
|
|
21
|
-
type: string;
|
|
22
|
-
options: string[];
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
iconPosition: {
|
|
26
|
-
control: {
|
|
27
|
-
type: string;
|
|
28
|
-
options: string[];
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
icon: {
|
|
32
|
-
control: {
|
|
33
|
-
type: string;
|
|
34
|
-
options: string[];
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
export default _default;
|
|
40
|
-
export declare const ButtonComponent: {
|
|
41
|
-
(args: ButtonProps): React.JSX.Element;
|
|
42
|
-
storyName: string;
|
|
43
|
-
args: {
|
|
44
|
-
variant: string;
|
|
45
|
-
rounded: boolean;
|
|
46
|
-
color: string;
|
|
47
|
-
txtColor: string;
|
|
48
|
-
className: string;
|
|
49
|
-
value: string;
|
|
50
|
-
iconPosition: string;
|
|
51
|
-
icon: string;
|
|
52
|
-
loading: boolean;
|
|
53
|
-
ariaLabel: string;
|
|
54
|
-
ariaHidden: boolean;
|
|
55
|
-
disabled: boolean;
|
|
56
|
-
};
|
|
57
|
-
};
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ActionsMenuInterface } from '..';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: <T>(props: ActionsMenuInterface<T>) => React.JSX.Element;
|
|
6
|
-
argTypes: {
|
|
7
|
-
variant: {
|
|
8
|
-
control: {
|
|
9
|
-
type: string;
|
|
10
|
-
options: string[];
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
color: {
|
|
14
|
-
control: {
|
|
15
|
-
type: string;
|
|
16
|
-
options: string[];
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
txtColor: {
|
|
20
|
-
control: {
|
|
21
|
-
type: string;
|
|
22
|
-
options: string[];
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
icon: {
|
|
26
|
-
control: {
|
|
27
|
-
type: string;
|
|
28
|
-
options: string[];
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
export default _default;
|
|
34
|
-
export declare const ButtonDropdownComponent: {
|
|
35
|
-
<T>(args: ActionsMenuInterface<T>): React.JSX.Element;
|
|
36
|
-
storyName: string;
|
|
37
|
-
args: {
|
|
38
|
-
variant: string;
|
|
39
|
-
rounded: boolean;
|
|
40
|
-
color: string;
|
|
41
|
-
txtColor: string;
|
|
42
|
-
className: string;
|
|
43
|
-
value: string;
|
|
44
|
-
icon: string;
|
|
45
|
-
ariaLabel: string;
|
|
46
|
-
ariaHidden: boolean;
|
|
47
|
-
actions: {
|
|
48
|
-
id: string;
|
|
49
|
-
value: string;
|
|
50
|
-
url: null;
|
|
51
|
-
action: () => void;
|
|
52
|
-
}[];
|
|
53
|
-
startsOpen: boolean;
|
|
54
|
-
disabled: boolean;
|
|
55
|
-
};
|
|
56
|
-
};
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ButtonLinkProps } from '..';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: (props: ButtonLinkProps) => React.JSX.Element;
|
|
6
|
-
argTypes: {
|
|
7
|
-
variant: {
|
|
8
|
-
control: {
|
|
9
|
-
type: string;
|
|
10
|
-
options: string[];
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
color: {
|
|
14
|
-
control: {
|
|
15
|
-
type: string;
|
|
16
|
-
options: string[];
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
txtColor: {
|
|
20
|
-
control: {
|
|
21
|
-
type: string;
|
|
22
|
-
options: string[];
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
iconPosition: {
|
|
26
|
-
control: {
|
|
27
|
-
type: string;
|
|
28
|
-
options: string[];
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
icon: {
|
|
32
|
-
control: {
|
|
33
|
-
type: string;
|
|
34
|
-
options: string[];
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
export default _default;
|
|
40
|
-
export declare const ButtonLinkComponent: {
|
|
41
|
-
(args: ButtonLinkProps): React.JSX.Element;
|
|
42
|
-
storyName: string;
|
|
43
|
-
args: {
|
|
44
|
-
variant: string;
|
|
45
|
-
rounded: boolean;
|
|
46
|
-
color: string;
|
|
47
|
-
txtColor: string;
|
|
48
|
-
className: string;
|
|
49
|
-
url: string;
|
|
50
|
-
blank: boolean;
|
|
51
|
-
rel: string;
|
|
52
|
-
value: string;
|
|
53
|
-
iconPosition: string;
|
|
54
|
-
icon: string;
|
|
55
|
-
ariaLabel: string;
|
|
56
|
-
ariaHidden: boolean;
|
|
57
|
-
};
|
|
58
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { CheckboxButtonProps } from '..';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: (props: CheckboxButtonProps) => React.JSX.Element;
|
|
6
|
-
argTypes: {
|
|
7
|
-
onChange: {
|
|
8
|
-
action: () => void;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
export default _default;
|
|
13
|
-
export declare const CheckboxButtonComponent: {
|
|
14
|
-
(args: CheckboxButtonProps): React.JSX.Element;
|
|
15
|
-
storyName: string;
|
|
16
|
-
args: {
|
|
17
|
-
label: string;
|
|
18
|
-
value: string;
|
|
19
|
-
checked: boolean;
|
|
20
|
-
className: string;
|
|
21
|
-
disabled: boolean;
|
|
22
|
-
required: boolean;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { FilePickerProps } from '..';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: (props: FilePickerProps) => React.JSX.Element;
|
|
6
|
-
};
|
|
7
|
-
export default _default;
|
|
8
|
-
export declare const FilePickerComponent: {
|
|
9
|
-
(args: FilePickerProps): React.JSX.Element;
|
|
10
|
-
story: {
|
|
11
|
-
name: string;
|
|
12
|
-
args: {
|
|
13
|
-
multiple: boolean;
|
|
14
|
-
name: string;
|
|
15
|
-
placeholder: string;
|
|
16
|
-
pluralText: string;
|
|
17
|
-
error: string;
|
|
18
|
-
buttonText: string;
|
|
19
|
-
disabled: boolean;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
};
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { IconProps } from '..';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: (props: IconProps) => React.JSX.Element;
|
|
6
|
-
argTypes: {
|
|
7
|
-
fill: {
|
|
8
|
-
control: string;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
export default _default;
|
|
13
|
-
export declare const Icons: {
|
|
14
|
-
(args: IconProps): React.JSX.Element;
|
|
15
|
-
story: {
|
|
16
|
-
name: string;
|
|
17
|
-
args: {
|
|
18
|
-
fill: string;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
export declare const IconComponent: {
|
|
23
|
-
(args: IconProps): React.JSX.Element;
|
|
24
|
-
story: {
|
|
25
|
-
name: string;
|
|
26
|
-
args: {
|
|
27
|
-
icon: string;
|
|
28
|
-
fill: string;
|
|
29
|
-
};
|
|
30
|
-
argTypes: {
|
|
31
|
-
icon: {
|
|
32
|
-
control: {
|
|
33
|
-
type: string;
|
|
34
|
-
options: string[];
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
decorators: ((Story: any) => React.JSX.Element)[];
|
|
39
|
-
};
|
|
40
|
-
};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { LabelProps } from '..';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: (props: LabelProps) => 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 LabelComponentKAI: {
|
|
17
|
-
(args: LabelProps): React.JSX.Element;
|
|
18
|
-
storyName: string;
|
|
19
|
-
args: {
|
|
20
|
-
currency: string;
|
|
21
|
-
value: string;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
export declare const LabelComponent: {
|
|
25
|
-
(args: LabelProps): React.JSX.Element;
|
|
26
|
-
storyName: string;
|
|
27
|
-
args: {
|
|
28
|
-
value: string;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ProgressBarProps } from '..';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: (props: ProgressBarProps) => React.JSX.Element;
|
|
6
|
-
};
|
|
7
|
-
export default _default;
|
|
8
|
-
export declare const ProgressBarComponent: {
|
|
9
|
-
(args: ProgressBarProps): React.JSX.Element;
|
|
10
|
-
storyName: string;
|
|
11
|
-
args: {
|
|
12
|
-
progress: number;
|
|
13
|
-
value: string;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { SelectProps } from '..';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: (props: SelectProps) => React.JSX.Element;
|
|
6
|
-
argTypes: {
|
|
7
|
-
onChange: {
|
|
8
|
-
action: string;
|
|
9
|
-
};
|
|
10
|
-
disabled: {
|
|
11
|
-
control: {
|
|
12
|
-
type: string;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
export default _default;
|
|
18
|
-
export declare const SelectComponent: {
|
|
19
|
-
(args: SelectProps): React.JSX.Element;
|
|
20
|
-
storyName: string;
|
|
21
|
-
args: {
|
|
22
|
-
name: string;
|
|
23
|
-
placeholder: string;
|
|
24
|
-
options: {
|
|
25
|
-
value: string;
|
|
26
|
-
name: string;
|
|
27
|
-
}[];
|
|
28
|
-
error: string;
|
|
29
|
-
disabled: boolean;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { SelectInteractiveProps, TSelectInteractiveOption } from '../types';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: ({ name, multi, search, placeholder, options, value, clear, error, disabled, formatGroupLabel, onChange, onInputChange, ...rest }: SelectInteractiveProps<TSelectInteractiveOption>) => React.JSX.Element;
|
|
6
|
-
argTypes: {
|
|
7
|
-
multi: {
|
|
8
|
-
control: {
|
|
9
|
-
type: string;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
search: {
|
|
13
|
-
control: {
|
|
14
|
-
type: string;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
export default _default;
|
|
20
|
-
export declare const SelectInteractiveSimpleComponent: {
|
|
21
|
-
(args: SelectInteractiveProps<TSelectInteractiveOption>): React.JSX.Element;
|
|
22
|
-
storyName: string;
|
|
23
|
-
args: {
|
|
24
|
-
multi: boolean;
|
|
25
|
-
search: boolean;
|
|
26
|
-
placeholder: string;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
export declare const SelectInteractiveFormatedGroupedOptionsComponent: {
|
|
30
|
-
(args: SelectInteractiveProps<TSelectInteractiveOption>): React.JSX.Element;
|
|
31
|
-
storyName: string;
|
|
32
|
-
};
|
|
33
|
-
export declare const SelectInteractiveIconsComponent: {
|
|
34
|
-
(args: SelectInteractiveProps<TSelectInteractiveOption>): React.JSX.Element;
|
|
35
|
-
storyName: string;
|
|
36
|
-
args: {
|
|
37
|
-
multi: boolean;
|
|
38
|
-
search: boolean;
|
|
39
|
-
placeholder: string;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
export declare const SelectInteractiveCustomComponent: {
|
|
43
|
-
(args: SelectInteractiveProps<TSelectInteractiveOption>): React.JSX.Element;
|
|
44
|
-
storyName: string;
|
|
45
|
-
args: {
|
|
46
|
-
multi: boolean;
|
|
47
|
-
search: boolean;
|
|
48
|
-
placeholder: string;
|
|
49
|
-
};
|
|
50
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { SlideshowProps } from '..';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: (props: SlideshowProps) => React.JSX.Element;
|
|
6
|
-
};
|
|
7
|
-
export default _default;
|
|
8
|
-
export declare const SlideshowComponent: {
|
|
9
|
-
(args: SlideshowProps): React.JSX.Element;
|
|
10
|
-
story: {
|
|
11
|
-
name: string;
|
|
12
|
-
};
|
|
13
|
-
args: {
|
|
14
|
-
showArrows: boolean;
|
|
15
|
-
slidesNumber: number;
|
|
16
|
-
autoPlay: boolean;
|
|
17
|
-
stopOnHover: boolean;
|
|
18
|
-
interval: number;
|
|
19
|
-
dynamicHeight: boolean;
|
|
20
|
-
slideSelected: number;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { TagProps } from '..';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: (props: TagProps) => React.JSX.Element;
|
|
6
|
-
argTypes: {
|
|
7
|
-
color: {
|
|
8
|
-
control: {
|
|
9
|
-
type: string;
|
|
10
|
-
options: string[];
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
txtColor: {
|
|
14
|
-
control: {
|
|
15
|
-
type: string;
|
|
16
|
-
options: string[];
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
variant: {
|
|
20
|
-
control: {
|
|
21
|
-
type: string;
|
|
22
|
-
options: string[];
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
export default _default;
|
|
28
|
-
export declare const TagPrimaryComponent: {
|
|
29
|
-
(args: TagProps): React.JSX.Element;
|
|
30
|
-
storyName: string;
|
|
31
|
-
args: {
|
|
32
|
-
color: string;
|
|
33
|
-
txtColor: string;
|
|
34
|
-
variant: string;
|
|
35
|
-
value: string;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { TagNumberProps } from '..';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: (props: TagNumberProps) => React.JSX.Element;
|
|
6
|
-
argTypes: {
|
|
7
|
-
color: {
|
|
8
|
-
control: {
|
|
9
|
-
type: string;
|
|
10
|
-
options: string[];
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
valueColor: {
|
|
14
|
-
control: {
|
|
15
|
-
type: string;
|
|
16
|
-
options: string[];
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
export default _default;
|
|
22
|
-
export declare const TagNumberComponent: {
|
|
23
|
-
(args: TagNumberProps): React.JSX.Element;
|
|
24
|
-
storyName: string;
|
|
25
|
-
args: {
|
|
26
|
-
color: string;
|
|
27
|
-
label: string;
|
|
28
|
-
value: number;
|
|
29
|
-
valueColor: string;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { TextAreaProps } from '..';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: (props: TextAreaProps) => React.JSX.Element;
|
|
6
|
-
};
|
|
7
|
-
export default _default;
|
|
8
|
-
export declare const TextAreaComponent: {
|
|
9
|
-
(args: TextAreaProps): React.JSX.Element;
|
|
10
|
-
storyName: string;
|
|
11
|
-
args: {
|
|
12
|
-
name: string;
|
|
13
|
-
placeholder: string;
|
|
14
|
-
height: string;
|
|
15
|
-
onChange: () => void;
|
|
16
|
-
error: string;
|
|
17
|
-
disabled: boolean;
|
|
18
|
-
required: boolean;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
export declare const TextAreaCharactersCountComponent: {
|
|
22
|
-
(args: TextAreaProps): React.JSX.Element;
|
|
23
|
-
storyName: string;
|
|
24
|
-
args: {
|
|
25
|
-
name: string;
|
|
26
|
-
placeholder: string;
|
|
27
|
-
height: string;
|
|
28
|
-
error: string;
|
|
29
|
-
disabled: boolean;
|
|
30
|
-
required: boolean;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
export declare const TextAreaDefaultComponent: {
|
|
34
|
-
(args: TextAreaProps): React.JSX.Element;
|
|
35
|
-
storyName: string;
|
|
36
|
-
args: {
|
|
37
|
-
height: string;
|
|
38
|
-
placeholder: string;
|
|
39
|
-
defaultValue: string;
|
|
40
|
-
value: null;
|
|
41
|
-
onChange: () => void;
|
|
42
|
-
disabled: boolean;
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
export declare const TextAreaDisabledComponent: {
|
|
46
|
-
(args: TextAreaProps): React.JSX.Element;
|
|
47
|
-
storyName: string;
|
|
48
|
-
args: {
|
|
49
|
-
name: string;
|
|
50
|
-
height: string;
|
|
51
|
-
placeholder: string;
|
|
52
|
-
value: string;
|
|
53
|
-
onChange: () => void;
|
|
54
|
-
disabled: boolean;
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
|
-
export declare const TextAreaFullBorderComponent: {
|
|
58
|
-
(args: TextAreaProps): React.JSX.Element;
|
|
59
|
-
storyName: string;
|
|
60
|
-
args: {
|
|
61
|
-
name: string;
|
|
62
|
-
height: string;
|
|
63
|
-
placeholder: string;
|
|
64
|
-
onChange: () => void;
|
|
65
|
-
disabled: boolean;
|
|
66
|
-
};
|
|
67
|
-
};
|
|
68
|
-
export declare const TextAreaErrorComponent: {
|
|
69
|
-
(args: TextAreaProps): React.JSX.Element;
|
|
70
|
-
storyName: string;
|
|
71
|
-
args: {
|
|
72
|
-
name: string;
|
|
73
|
-
height: string;
|
|
74
|
-
placeholder: string;
|
|
75
|
-
value: string;
|
|
76
|
-
onChange: () => void;
|
|
77
|
-
error: string;
|
|
78
|
-
disabled: boolean;
|
|
79
|
-
};
|
|
80
|
-
};
|