@taikai/rocket-kit 3.0.0 → 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.
- 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 +2 -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 +347 -703
- 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 +349 -704
- 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,13 +1,13 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { PageControlProps } from '..';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: (props: PageControlProps) => JSX.Element;
|
|
5
|
+
component: (props: PageControlProps) => React.JSX.Element;
|
|
6
6
|
decorators: ((...args: any) => any)[];
|
|
7
7
|
};
|
|
8
8
|
export default _default;
|
|
9
9
|
export declare const PaginationControlLight: {
|
|
10
|
-
(args: PageControlProps): JSX.Element;
|
|
10
|
+
(args: PageControlProps): React.JSX.Element;
|
|
11
11
|
storyName: string;
|
|
12
12
|
args: {
|
|
13
13
|
page: number;
|
|
@@ -22,7 +22,7 @@ export declare const PaginationControlLight: {
|
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
24
|
export declare const PaginationControlDark: {
|
|
25
|
-
(args: PageControlProps): JSX.Element;
|
|
25
|
+
(args: PageControlProps): React.JSX.Element;
|
|
26
26
|
storyName: string;
|
|
27
27
|
args: {
|
|
28
28
|
dark: boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { RadioGroupProps } from '..';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: (props: RadioGroupProps) => JSX.Element;
|
|
5
|
+
component: (props: RadioGroupProps) => 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 RadioGroupComponent: {
|
|
20
|
-
(args: RadioGroupProps): JSX.Element;
|
|
20
|
+
(args: RadioGroupProps): React.JSX.Element;
|
|
21
21
|
storyName: string;
|
|
22
22
|
args: {
|
|
23
23
|
type: string;
|
|
@@ -31,5 +31,5 @@ export interface TableProps<CellDataType> {
|
|
|
31
31
|
export interface CellBaseType {
|
|
32
32
|
id: string;
|
|
33
33
|
}
|
|
34
|
-
declare const Table: <CellData extends CellBaseType>(props: TableProps<CellData>) => JSX.Element;
|
|
34
|
+
declare const Table: <CellData extends CellBaseType>(props: TableProps<CellData>) => React.JSX.Element;
|
|
35
35
|
export default Table;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export interface TableProps {
|
|
3
3
|
border?: boolean;
|
|
4
4
|
}
|
|
5
5
|
declare const _default: {
|
|
6
6
|
title: string;
|
|
7
|
-
component: <CellData extends import("..").CellBaseType>(props: import("..").TableProps<CellData>) => JSX.Element;
|
|
7
|
+
component: <CellData extends import("..").CellBaseType>(props: import("..").TableProps<CellData>) => React.JSX.Element;
|
|
8
8
|
argTypes: {
|
|
9
9
|
border: {
|
|
10
10
|
control: {
|
|
@@ -30,7 +30,7 @@ declare const _default: {
|
|
|
30
30
|
};
|
|
31
31
|
export default _default;
|
|
32
32
|
export declare const TableComponent: {
|
|
33
|
-
(args: TableProps): JSX.Element;
|
|
33
|
+
(args: TableProps): React.JSX.Element;
|
|
34
34
|
storyName: string;
|
|
35
35
|
args: {
|
|
36
36
|
border: boolean;
|
|
@@ -40,7 +40,7 @@ export declare const TableComponent: {
|
|
|
40
40
|
};
|
|
41
41
|
};
|
|
42
42
|
export declare const TableEmptyComponent: {
|
|
43
|
-
(args: TableProps): JSX.Element;
|
|
43
|
+
(args: TableProps): React.JSX.Element;
|
|
44
44
|
storyName: string;
|
|
45
45
|
args: {};
|
|
46
46
|
};
|
|
@@ -29,5 +29,5 @@ export interface TableProps<CellDataType> {
|
|
|
29
29
|
export interface CellBaseType {
|
|
30
30
|
id: string;
|
|
31
31
|
}
|
|
32
|
-
declare const TableDnD: <CellData extends CellBaseType>(props: TableProps<CellData>) => JSX.Element;
|
|
32
|
+
declare const TableDnD: <CellData extends CellBaseType>(props: TableProps<CellData>) => React.JSX.Element;
|
|
33
33
|
export default TableDnD;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export interface TableDnDProps {
|
|
3
3
|
border?: boolean;
|
|
4
4
|
}
|
|
5
5
|
declare const _default: {
|
|
6
6
|
title: string;
|
|
7
|
-
component: <CellData extends import("..").CellBaseType>(props: import("..").TableProps<CellData>) => JSX.Element;
|
|
7
|
+
component: <CellData extends import("..").CellBaseType>(props: import("..").TableProps<CellData>) => React.JSX.Element;
|
|
8
8
|
argTypes: {
|
|
9
9
|
border: {
|
|
10
10
|
control: {
|
|
@@ -15,7 +15,7 @@ declare const _default: {
|
|
|
15
15
|
};
|
|
16
16
|
export default _default;
|
|
17
17
|
export declare const TableDnDComponent: {
|
|
18
|
-
(args: TableDnDProps): JSX.Element;
|
|
18
|
+
(args: TableDnDProps): React.JSX.Element;
|
|
19
19
|
storyName: string;
|
|
20
20
|
args: {
|
|
21
21
|
border: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CSSProperties } from 'react';
|
|
1
|
+
import React, { CSSProperties } from 'react';
|
|
2
2
|
export declare type Step = {
|
|
3
3
|
active: boolean;
|
|
4
4
|
value: string;
|
|
@@ -10,5 +10,5 @@ export interface WizardStepsProps {
|
|
|
10
10
|
steps: Step[];
|
|
11
11
|
dataTestId?: string;
|
|
12
12
|
}
|
|
13
|
-
declare const WizardSteps: (props: WizardStepsProps) => JSX.Element;
|
|
13
|
+
declare const WizardSteps: (props: WizardStepsProps) => React.JSX.Element;
|
|
14
14
|
export default WizardSteps;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
declare const _default: {
|
|
3
3
|
title: string;
|
|
4
|
-
component: (props: import("..").WizardStepsProps) => JSX.Element;
|
|
4
|
+
component: (props: import("..").WizardStepsProps) => React.JSX.Element;
|
|
5
5
|
};
|
|
6
6
|
export default _default;
|
|
7
7
|
export declare const WizardStepsComponent: {
|
|
8
|
-
(): JSX.Element;
|
|
8
|
+
(): React.JSX.Element;
|
|
9
9
|
storyName: string;
|
|
10
10
|
};
|
|
11
11
|
export declare const WizardStepsRendererComponent: {
|
|
12
|
-
(): JSX.Element;
|
|
12
|
+
(): React.JSX.Element;
|
|
13
13
|
storyName: string;
|
|
14
14
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
declare const _default: {
|
|
3
3
|
title: string;
|
|
4
|
-
component: (props: import("..").GridContainerProps) => JSX.Element;
|
|
4
|
+
component: (props: import("..").GridContainerProps) => React.JSX.Element;
|
|
5
5
|
};
|
|
6
6
|
export default _default;
|
|
7
7
|
export declare const GridContainerComponent: {
|
|
8
|
-
(): JSX.Element;
|
|
8
|
+
(): React.JSX.Element;
|
|
9
9
|
storyName: string;
|
|
10
10
|
};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
export interface HorizontalNavInterface {
|
|
2
3
|
className?: string;
|
|
3
4
|
customColor?: string;
|
|
4
5
|
items: any;
|
|
5
6
|
startsOpen?: boolean;
|
|
6
7
|
}
|
|
7
|
-
declare const HorizontalNav: (props: HorizontalNavInterface) => JSX.Element;
|
|
8
|
+
declare const HorizontalNav: (props: HorizontalNavInterface) => React.JSX.Element;
|
|
8
9
|
export default HorizontalNav;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { HorizontalNavInterface } from '..';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: (props: HorizontalNavInterface) => JSX.Element;
|
|
5
|
+
component: (props: HorizontalNavInterface) => React.JSX.Element;
|
|
6
6
|
argTypes: {
|
|
7
7
|
customColor: {
|
|
8
8
|
control: string;
|
|
@@ -11,10 +11,10 @@ declare const _default: {
|
|
|
11
11
|
};
|
|
12
12
|
export default _default;
|
|
13
13
|
export declare const HorizontalNavComponent: {
|
|
14
|
-
(args: HorizontalNavInterface): JSX.Element;
|
|
14
|
+
(args: HorizontalNavInterface): React.JSX.Element;
|
|
15
15
|
storyName: string;
|
|
16
16
|
args: {
|
|
17
|
-
items: JSX.Element[];
|
|
17
|
+
items: React.JSX.Element[];
|
|
18
18
|
startsOpen: boolean;
|
|
19
19
|
};
|
|
20
20
|
};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
export interface LoadingStateProps {
|
|
2
3
|
type: 'text' | 'card' | 'value';
|
|
3
4
|
lines?: number;
|
|
4
5
|
cardsNumber?: number;
|
|
5
6
|
center?: boolean;
|
|
6
7
|
}
|
|
7
|
-
declare const LoadingState: (props: LoadingStateProps) => JSX.Element;
|
|
8
|
+
declare const LoadingState: (props: LoadingStateProps) => React.JSX.Element;
|
|
8
9
|
export default LoadingState;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { LoadingStateProps } from '..';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: (props: LoadingStateProps) => JSX.Element;
|
|
5
|
+
component: (props: LoadingStateProps) => 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 LoadingStateComponent: {
|
|
17
|
-
(args: LoadingStateProps): JSX.Element;
|
|
17
|
+
(args: LoadingStateProps): React.JSX.Element;
|
|
18
18
|
storyName: string;
|
|
19
19
|
args: {
|
|
20
20
|
type: string;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { ModalProps } from '..';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: (props: ModalProps) => JSX.Element;
|
|
5
|
+
component: (props: ModalProps) => React.JSX.Element;
|
|
6
6
|
argTypes: {};
|
|
7
7
|
};
|
|
8
8
|
export default _default;
|
|
9
9
|
export declare const ModalComponentBase: {
|
|
10
|
-
(args: ModalProps): JSX.Element;
|
|
10
|
+
(args: ModalProps): React.JSX.Element;
|
|
11
11
|
storyName: string;
|
|
12
12
|
args: {
|
|
13
13
|
title: string;
|
|
@@ -17,7 +17,7 @@ export declare const ModalComponentBase: {
|
|
|
17
17
|
};
|
|
18
18
|
};
|
|
19
19
|
export declare const ModalEditorComponent: {
|
|
20
|
-
(args: ModalProps): JSX.Element;
|
|
20
|
+
(args: ModalProps): React.JSX.Element;
|
|
21
21
|
storyName: string;
|
|
22
22
|
args: {
|
|
23
23
|
title: string;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { ModalDrawerProps } from '..';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: (props: ModalDrawerProps) => JSX.Element;
|
|
5
|
+
component: (props: ModalDrawerProps) => React.JSX.Element;
|
|
6
6
|
argTypes: {};
|
|
7
7
|
};
|
|
8
8
|
export default _default;
|
|
9
9
|
export declare const ModalDrawerComponent: {
|
|
10
|
-
(args: ModalDrawerProps): JSX.Element;
|
|
10
|
+
(args: ModalDrawerProps): React.JSX.Element;
|
|
11
11
|
storyName: string;
|
|
12
12
|
args: {
|
|
13
13
|
title: string;
|
|
@@ -16,7 +16,7 @@ export declare const ModalDrawerComponent: {
|
|
|
16
16
|
};
|
|
17
17
|
};
|
|
18
18
|
export declare const ModalDrawerCustomFooterComponent: {
|
|
19
|
-
(args: ModalDrawerProps): JSX.Element;
|
|
19
|
+
(args: ModalDrawerProps): React.JSX.Element;
|
|
20
20
|
storyName: string;
|
|
21
21
|
args: {
|
|
22
22
|
title: string;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { TabsPanelProps } from '..';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: (props: TabsPanelProps) => JSX.Element;
|
|
5
|
+
component: (props: TabsPanelProps) => React.JSX.Element;
|
|
6
6
|
argTypes: {};
|
|
7
7
|
};
|
|
8
8
|
export default _default;
|
|
9
9
|
export declare const TabsPanelComponent: {
|
|
10
|
-
(args: TabsPanelProps): JSX.Element;
|
|
10
|
+
(args: TabsPanelProps): React.JSX.Element;
|
|
11
11
|
storyName: string;
|
|
12
12
|
args: {
|
|
13
13
|
unmountOnExit: boolean;
|
|
14
14
|
selectedTabKey: number;
|
|
15
15
|
tabs: {
|
|
16
16
|
title: string;
|
|
17
|
-
renderer: JSX.Element;
|
|
17
|
+
renderer: React.JSX.Element;
|
|
18
18
|
}[];
|
|
19
19
|
};
|
|
20
20
|
};
|