@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.
Files changed (107) hide show
  1. package/dist/atoms/avatar-image/index.d.ts +2 -2
  2. package/dist/atoms/avatar-image/stories/avatar-image.stories.d.ts +5 -5
  3. package/dist/atoms/button/index.d.ts +1 -1
  4. package/dist/atoms/button/stories/button.stories.d.ts +3 -3
  5. package/dist/atoms/button-dropdown/index.d.ts +2 -2
  6. package/dist/atoms/button-dropdown/stories/button-dropdown.stories.d.ts +3 -3
  7. package/dist/atoms/button-link/index.d.ts +1 -1
  8. package/dist/atoms/button-link/stories/button-link.stories.d.ts +3 -3
  9. package/dist/atoms/checkbox/index.d.ts +1 -1
  10. package/dist/atoms/checkbox-button/index.d.ts +1 -1
  11. package/dist/atoms/checkbox-button/stories/checkbox-button.stories.d.ts +3 -3
  12. package/dist/atoms/error-field/index.d.ts +2 -2
  13. package/dist/atoms/file-picker/index.d.ts +1 -2
  14. package/dist/atoms/file-picker/stories/file-picker.stories.d.ts +3 -4
  15. package/dist/atoms/file-picker/styles.d.ts +0 -1
  16. package/dist/atoms/icon/index.d.ts +2 -2
  17. package/dist/atoms/icon/stories/icon.stories.d.ts +5 -5
  18. package/dist/atoms/label/index.d.ts +1 -1
  19. package/dist/atoms/label/stories/label.stories.d.ts +4 -4
  20. package/dist/atoms/progress-bar/index.d.ts +2 -1
  21. package/dist/atoms/progress-bar/stories/progress-bar.stories.d.ts +3 -3
  22. package/dist/atoms/select/index.d.ts +1 -2
  23. package/dist/atoms/select/stories/select.stories.d.ts +3 -9
  24. package/dist/atoms/select/styles.d.ts +0 -1
  25. package/dist/atoms/select-interactive/components/index.d.ts +4 -3
  26. package/dist/atoms/select-interactive/index.d.ts +2 -1
  27. package/dist/atoms/select-interactive/stories/select-interactive.stories.d.ts +6 -6
  28. package/dist/atoms/select-interactive/styles.d.ts +1 -0
  29. package/dist/atoms/slideshow/index.d.ts +2 -1
  30. package/dist/atoms/slideshow/stories/slideshow.stories.d.ts +3 -3
  31. package/dist/atoms/spinner/index.d.ts +2 -2
  32. package/dist/atoms/tag/index.d.ts +2 -2
  33. package/dist/atoms/tag/stories/tag.stories.d.ts +3 -3
  34. package/dist/atoms/tag-number/index.d.ts +2 -2
  35. package/dist/atoms/tag-number/stories/tag-number.stories.d.ts +3 -3
  36. package/dist/atoms/text-area/index.d.ts +1 -2
  37. package/dist/atoms/text-area/stories/text-area.stories.d.ts +8 -21
  38. package/dist/atoms/text-area/styles.d.ts +0 -1
  39. package/dist/atoms/text-field/index.d.ts +1 -2
  40. package/dist/atoms/text-field/styles.d.ts +0 -1
  41. package/dist/atoms/text-field-appendix/index.d.ts +1 -1
  42. package/dist/atoms/text-field-appendix/stories/text-field-appendix.stories.d.ts +4 -4
  43. package/dist/atoms/toggle/index.d.ts +2 -1
  44. package/dist/atoms/toggle/stories/toogle.stories.d.ts +3 -3
  45. package/dist/atoms/truncate-line/index.d.ts +2 -2
  46. package/dist/atoms/truncate-line/stories/truncate-line.stories.d.ts +3 -3
  47. package/dist/atoms/video-player/index.d.ts +2 -1
  48. package/dist/atoms/video-player/stories/video-player.stories.d.ts +3 -3
  49. package/dist/index.d.ts +0 -1
  50. package/dist/ions/icon-empty-data.d.ts +2 -1
  51. package/dist/ions/icon-login-only.d.ts +2 -1
  52. package/dist/ions/variables.d.ts +19 -17
  53. package/dist/molecules/actions-menu/index.d.ts +3 -2
  54. package/dist/molecules/card-value/index.d.ts +1 -1
  55. package/dist/molecules/card-value/stories/card-value.stories.d.ts +5 -5
  56. package/dist/molecules/card-value/styles.d.ts +0 -1
  57. package/dist/molecules/checkbox-group/index.d.ts +1 -1
  58. package/dist/molecules/checkbox-group/stories/checkbox-group.stories.d.ts +3 -3
  59. package/dist/molecules/data-warning/index.d.ts +1 -1
  60. package/dist/molecules/data-warning/stories/data-warning.stories.d.ts +3 -3
  61. package/dist/molecules/empty-table/index.d.ts +2 -1
  62. package/dist/molecules/empty-table/stories/empty-table.stories.d.ts +3 -3
  63. package/dist/molecules/error/index.d.ts +2 -1
  64. package/dist/molecules/error/stories/error.stories.d.ts +3 -3
  65. package/dist/molecules/field-with-button/index.d.ts +1 -5
  66. package/dist/molecules/field-with-button/stories/field-with-button.stories.d.ts +3 -4
  67. package/dist/molecules/form-group/index.d.ts +1 -1
  68. package/dist/molecules/form-group/stories/form-group.stories.d.ts +3 -3
  69. package/dist/molecules/modal-footer/index.d.ts +1 -1
  70. package/dist/molecules/modal-footer/stories/modal-footer.stories.d.ts +4 -4
  71. package/dist/molecules/note-card/index.d.ts +1 -1
  72. package/dist/molecules/number-input-spinner/index.d.ts +2 -1
  73. package/dist/molecules/number-input-spinner/stories/number-input-spinner.stories.d.ts +4 -4
  74. package/dist/molecules/pagination-control/index.d.ts +1 -1
  75. package/dist/molecules/pagination-control/stories/pagination-control.stories.d.ts +4 -4
  76. package/dist/molecules/radio-group/index.d.ts +1 -1
  77. package/dist/molecules/radio-group/stories/radio-group.stories.d.ts +3 -3
  78. package/dist/molecules/table/index.d.ts +1 -1
  79. package/dist/molecules/table/stories/table.stories.d.ts +4 -4
  80. package/dist/molecules/table-dnd/index.d.ts +1 -1
  81. package/dist/molecules/table-dnd/stories/table-dnd.stories.d.ts +3 -3
  82. package/dist/molecules/wizard-steps/index.d.ts +2 -2
  83. package/dist/molecules/wizard-steps/stories/wizard-steps.stories.d.ts +4 -4
  84. package/dist/organisms/grid-container/grid-col.d.ts +1 -1
  85. package/dist/organisms/grid-container/grid-row.d.ts +2 -1
  86. package/dist/organisms/grid-container/index.d.ts +1 -1
  87. package/dist/organisms/grid-container/stories/grid-container.stories.d.ts +3 -3
  88. package/dist/organisms/horizontal-nav/index.d.ts +2 -1
  89. package/dist/organisms/horizontal-nav/stories/horizontal-nav.stories.d.ts +4 -4
  90. package/dist/organisms/loading-state/index.d.ts +2 -1
  91. package/dist/organisms/loading-state/stories/loading-state.stories.d.ts +3 -3
  92. package/dist/organisms/modal/index.d.ts +1 -1
  93. package/dist/organisms/modal/stories/modal.stories.d.ts +4 -4
  94. package/dist/organisms/modal-drawer/index.d.ts +1 -1
  95. package/dist/organisms/modal-drawer/stories/modal-drawer.stories.d.ts +4 -4
  96. package/dist/organisms/tabs-panel/index.d.ts +1 -1
  97. package/dist/organisms/tabs-panel/stories/tabs-panel.stories.d.ts +4 -4
  98. package/dist/rocket-kit.cjs.development.js +347 -703
  99. package/dist/rocket-kit.cjs.development.js.map +1 -1
  100. package/dist/rocket-kit.cjs.production.min.js +413 -476
  101. package/dist/rocket-kit.cjs.production.min.js.map +1 -1
  102. package/dist/rocket-kit.esm.js +349 -704
  103. package/dist/rocket-kit.esm.js.map +1 -1
  104. package/package.json +3 -3
  105. package/dist/molecules/alert-notification/index.d.ts +0 -11
  106. package/dist/molecules/alert-notification/stories/alert-notification.stories.d.ts +0 -25
  107. package/dist/molecules/alert-notification/styles.d.ts +0 -5
@@ -1,13 +1,13 @@
1
- /// <reference types="react" />
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;
@@ -16,5 +16,5 @@ export interface RadioGroupProps {
16
16
  disabled?: boolean;
17
17
  dataTestId?: string;
18
18
  }
19
- declare const RadioGroup: (props: RadioGroupProps) => JSX.Element;
19
+ declare const RadioGroup: (props: RadioGroupProps) => React.JSX.Element;
20
20
  export default RadioGroup;
@@ -1,8 +1,8 @@
1
- /// <reference types="react" />
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
- /// <reference types="react" />
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
- /// <reference types="react" />
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
- /// <reference types="react" />
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
  };
@@ -4,5 +4,5 @@ export interface GridColProps {
4
4
  size?: number;
5
5
  children?: React.ReactNode;
6
6
  }
7
- declare const GridCol: (props: GridColProps) => JSX.Element;
7
+ declare const GridCol: (props: GridColProps) => React.JSX.Element;
8
8
  export default GridCol;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { GridContainerProps } from '.';
2
- declare const GridRow: (props: GridContainerProps) => JSX.Element;
3
+ declare const GridRow: (props: GridContainerProps) => React.JSX.Element;
3
4
  export default GridRow;
@@ -3,5 +3,5 @@ export interface GridContainerProps {
3
3
  className?: string;
4
4
  children?: React.ReactNode;
5
5
  }
6
- declare const TabsPanel: (props: GridContainerProps) => JSX.Element;
6
+ declare const TabsPanel: (props: GridContainerProps) => React.JSX.Element;
7
7
  export default TabsPanel;
@@ -1,10 +1,10 @@
1
- /// <reference types="react" />
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
- /// <reference types="react" />
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
- /// <reference types="react" />
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;
@@ -8,5 +8,5 @@ export interface ModalProps {
8
8
  footer: boolean;
9
9
  zIndex?: number;
10
10
  }
11
- declare const Modal: (props: ModalProps) => JSX.Element;
11
+ declare const Modal: (props: ModalProps) => React.JSX.Element;
12
12
  export default Modal;
@@ -1,13 +1,13 @@
1
- /// <reference types="react" />
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;
@@ -9,5 +9,5 @@ export interface ModalDrawerProps {
9
9
  footerHidden?: boolean;
10
10
  zIndex?: number;
11
11
  }
12
- declare const ModalDrawer: (props: ModalDrawerProps) => JSX.Element;
12
+ declare const ModalDrawer: (props: ModalDrawerProps) => React.JSX.Element;
13
13
  export default ModalDrawer;
@@ -1,13 +1,13 @@
1
- /// <reference types="react" />
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;
@@ -10,5 +10,5 @@ export interface TabsPanelProps {
10
10
  onChange?: () => {};
11
11
  tabs: Tab[];
12
12
  }
13
- declare const TabsPanel: (props: TabsPanelProps) => JSX.Element;
13
+ declare const TabsPanel: (props: TabsPanelProps) => React.JSX.Element;
14
14
  export default TabsPanel;
@@ -1,20 +1,20 @@
1
- /// <reference types="react" />
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
  };