@taikai/rocket-kit 3.0.3 → 3.0.5

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 (98) hide show
  1. package/dist/atoms/avatar-image/index.d.ts +2 -2
  2. package/dist/atoms/button/index.d.ts +1 -1
  3. package/dist/atoms/button-dropdown/index.d.ts +2 -2
  4. package/dist/atoms/button-link/index.d.ts +1 -1
  5. package/dist/atoms/checkbox/index.d.ts +1 -1
  6. package/dist/atoms/checkbox-button/index.d.ts +1 -1
  7. package/dist/atoms/error-field/index.d.ts +2 -2
  8. package/dist/atoms/file-picker/index.d.ts +1 -1
  9. package/dist/atoms/icon/index.d.ts +2 -2
  10. package/dist/atoms/label/index.d.ts +1 -1
  11. package/dist/atoms/progress-bar/index.d.ts +2 -1
  12. package/dist/atoms/select/index.d.ts +1 -1
  13. package/dist/atoms/select-interactive/components/index.d.ts +4 -3
  14. package/dist/atoms/select-interactive/index.d.ts +2 -1
  15. package/dist/atoms/slideshow/index.d.ts +2 -1
  16. package/dist/atoms/spinner/index.d.ts +2 -2
  17. package/dist/atoms/tag/index.d.ts +2 -2
  18. package/dist/atoms/tag-number/index.d.ts +2 -2
  19. package/dist/atoms/text-area/index.d.ts +1 -1
  20. package/dist/atoms/text-field/index.d.ts +1 -1
  21. package/dist/atoms/text-field-appendix/index.d.ts +1 -1
  22. package/dist/atoms/toggle/index.d.ts +2 -1
  23. package/dist/atoms/truncate-line/index.d.ts +2 -2
  24. package/dist/atoms/video-player/index.d.ts +2 -1
  25. package/dist/index.d.ts +1 -0
  26. package/dist/ions/icon-empty-data.d.ts +2 -1
  27. package/dist/ions/icon-login-only.d.ts +2 -1
  28. package/dist/molecules/actions-menu/index.d.ts +3 -2
  29. package/dist/molecules/card-value/index.d.ts +1 -1
  30. package/dist/molecules/checkbox-group/index.d.ts +1 -1
  31. package/dist/molecules/data-warning/index.d.ts +1 -1
  32. package/dist/molecules/empty-table/index.d.ts +2 -1
  33. package/dist/molecules/error/index.d.ts +2 -1
  34. package/dist/molecules/field-with-button/index.d.ts +3 -1
  35. package/dist/molecules/form-group/index.d.ts +1 -1
  36. package/dist/molecules/modal-footer/index.d.ts +1 -1
  37. package/dist/molecules/note-card/index.d.ts +1 -1
  38. package/dist/molecules/number-input-spinner/index.d.ts +2 -1
  39. package/dist/molecules/pagination-control/index.d.ts +1 -1
  40. package/dist/molecules/radio-group/index.d.ts +1 -1
  41. package/dist/molecules/table/index.d.ts +1 -1
  42. package/dist/molecules/table-dnd/index.d.ts +1 -1
  43. package/dist/molecules/wizard-steps/index.d.ts +2 -2
  44. package/dist/organisms/grid-container/grid-col.d.ts +1 -1
  45. package/dist/organisms/grid-container/grid-row.d.ts +2 -1
  46. package/dist/organisms/grid-container/index.d.ts +1 -1
  47. package/dist/organisms/horizontal-nav/index.d.ts +2 -1
  48. package/dist/organisms/loading-state/index.d.ts +2 -1
  49. package/dist/organisms/modal/index.d.ts +1 -1
  50. package/dist/organisms/modal-drawer/index.d.ts +1 -1
  51. package/dist/organisms/tabs-panel/index.d.ts +1 -1
  52. package/dist/rocket-kit.cjs.development.js +50 -61
  53. package/dist/rocket-kit.cjs.development.js.map +1 -1
  54. package/dist/rocket-kit.cjs.production.min.js +11 -11
  55. package/dist/rocket-kit.cjs.production.min.js.map +1 -1
  56. package/dist/rocket-kit.esm.js +50 -62
  57. package/dist/rocket-kit.esm.js.map +1 -1
  58. package/package.json +21 -14
  59. package/dist/atoms/avatar-image/stories/avatar-image.stories.d.ts +0 -48
  60. package/dist/atoms/button/stories/button.stories.d.ts +0 -57
  61. package/dist/atoms/button-dropdown/stories/button-dropdown.stories.d.ts +0 -56
  62. package/dist/atoms/button-link/stories/button-link.stories.d.ts +0 -58
  63. package/dist/atoms/checkbox-button/stories/checkbox-button.stories.d.ts +0 -24
  64. package/dist/atoms/file-picker/stories/file-picker.stories.d.ts +0 -22
  65. package/dist/atoms/icon/stories/icon.stories.d.ts +0 -40
  66. package/dist/atoms/label/stories/label.stories.d.ts +0 -30
  67. package/dist/atoms/progress-bar/stories/progress-bar.stories.d.ts +0 -15
  68. package/dist/atoms/select/stories/select.stories.d.ts +0 -31
  69. package/dist/atoms/select-interactive/stories/select-interactive.stories.d.ts +0 -50
  70. package/dist/atoms/slideshow/stories/slideshow.stories.d.ts +0 -22
  71. package/dist/atoms/tag/stories/tag.stories.d.ts +0 -37
  72. package/dist/atoms/tag-number/stories/tag-number.stories.d.ts +0 -31
  73. package/dist/atoms/text-area/stories/text-area.stories.d.ts +0 -80
  74. package/dist/atoms/text-field-appendix/stories/text-field-appendix.stories.d.ts +0 -43
  75. package/dist/atoms/toggle/stories/toogle.stories.d.ts +0 -18
  76. package/dist/atoms/truncate-line/stories/truncate-line.stories.d.ts +0 -14
  77. package/dist/atoms/video-player/stories/video-player.stories.d.ts +0 -24
  78. package/dist/globalStyles.d.ts +0 -2
  79. package/dist/molecules/card-value/stories/card-value.stories.d.ts +0 -45
  80. package/dist/molecules/checkbox-group/stories/checkbox-group.stories.d.ts +0 -33
  81. package/dist/molecules/data-warning/stories/data-warning.stories.d.ts +0 -22
  82. package/dist/molecules/empty-table/stories/empty-table.stories.d.ts +0 -17
  83. package/dist/molecules/error/stories/error.stories.d.ts +0 -22
  84. package/dist/molecules/field-with-button/stories/field-with-button.stories.d.ts +0 -25
  85. package/dist/molecules/form-group/stories/form-group.stories.d.ts +0 -29
  86. package/dist/molecules/modal-footer/stories/modal-footer.stories.d.ts +0 -22
  87. package/dist/molecules/number-input-spinner/stories/number-input-spinner.stories.d.ts +0 -39
  88. package/dist/molecules/pagination-control/stories/pagination-control.stories.d.ts +0 -42
  89. package/dist/molecules/radio-group/stories/radio-group.stories.d.ts +0 -34
  90. package/dist/molecules/table/stories/table.stories.d.ts +0 -46
  91. package/dist/molecules/table-dnd/stories/table-dnd.stories.d.ts +0 -23
  92. package/dist/molecules/wizard-steps/stories/wizard-steps.stories.d.ts +0 -14
  93. package/dist/organisms/grid-container/stories/grid-container.stories.d.ts +0 -10
  94. package/dist/organisms/horizontal-nav/stories/horizontal-nav.stories.d.ts +0 -20
  95. package/dist/organisms/loading-state/stories/loading-state.stories.d.ts +0 -25
  96. package/dist/organisms/modal/stories/modal.stories.d.ts +0 -25
  97. package/dist/organisms/modal-drawer/stories/modal-drawer.stories.d.ts +0 -26
  98. package/dist/organisms/tabs-panel/stories/tabs-panel.stories.d.ts +0 -20
@@ -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;
@@ -19,5 +19,5 @@ export interface ButtonProps {
19
19
  eventId?: string;
20
20
  disabled?: boolean;
21
21
  }
22
- declare const Button: (props: ButtonProps) => JSX.Element;
22
+ declare const Button: (props: ButtonProps) => React.JSX.Element;
23
23
  export default Button;
@@ -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;
@@ -19,5 +19,5 @@ export interface ButtonLinkProps {
19
19
  ariaLabel?: string;
20
20
  ariaHidden?: boolean;
21
21
  }
22
- declare const ButtonLink: (props: ButtonLinkProps) => JSX.Element;
22
+ declare const ButtonLink: (props: ButtonLinkProps) => React.JSX.Element;
23
23
  export default ButtonLink;
@@ -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,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;
@@ -12,5 +12,5 @@ export interface FilePickerProps {
12
12
  buttonText?: string;
13
13
  disabled?: boolean;
14
14
  }
15
- declare const FilePicker: (props: FilePickerProps) => JSX.Element;
15
+ declare const FilePicker: (props: FilePickerProps) => React.JSX.Element;
16
16
  export default FilePicker;
@@ -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;
@@ -5,5 +5,5 @@ export interface LabelProps {
5
5
  className?: string;
6
6
  style?: React.CSSProperties;
7
7
  }
8
- declare const Label: (props: LabelProps) => JSX.Element;
8
+ declare const Label: (props: LabelProps) => React.JSX.Element;
9
9
  export default Label;
@@ -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;
@@ -12,5 +12,5 @@ export interface SelectProps {
12
12
  className?: string;
13
13
  style?: CSSProperties;
14
14
  }
15
- declare const Select: (props: SelectProps) => JSX.Element;
15
+ declare const Select: (props: SelectProps) => React.JSX.Element;
16
16
  export default Select;
@@ -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,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,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,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;
@@ -16,5 +16,5 @@ export interface TextAreaProps {
16
16
  required?: boolean;
17
17
  dataTestId?: string;
18
18
  }
19
- declare const TextArea: (props: TextAreaProps) => JSX.Element;
19
+ declare const TextArea: (props: TextAreaProps) => React.JSX.Element;
20
20
  export default TextArea;
@@ -18,5 +18,5 @@ interface TextFieldProps {
18
18
  pattern?: string;
19
19
  required?: boolean;
20
20
  }
21
- declare const TextField: (props: TextFieldProps) => JSX.Element;
21
+ declare const TextField: (props: TextFieldProps) => React.JSX.Element;
22
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,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,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,3 +1,4 @@
1
+ import React from 'react';
1
2
  export interface VideoPlayerProps {
2
3
  video: any;
3
4
  playing?: boolean;
@@ -9,5 +10,5 @@ export interface VideoPlayerProps {
9
10
  onReady?: any;
10
11
  onError?: any;
11
12
  }
12
- declare const VideoPlayer: (props: VideoPlayerProps) => JSX.Element;
13
+ declare const VideoPlayer: (props: VideoPlayerProps) => React.JSX.Element;
13
14
  export default VideoPlayer;
package/dist/index.d.ts CHANGED
@@ -22,6 +22,7 @@ export { default as ProgressBar } from './atoms/progress-bar';
22
22
  export { default as Toggle } from './atoms/toggle';
23
23
  export { default as FilePicker } from './atoms/file-picker';
24
24
  export { default as ActionsMenu } from './molecules/actions-menu';
25
+ export { ActionMenuList } from './molecules/actions-menu';
25
26
  export { default as CardValue } from './molecules/card-value';
26
27
  export { default as EmptyTable } from './molecules/empty-table';
27
28
  export { default as ModalFooter } from './molecules/modal-footer';
@@ -1,2 +1,3 @@
1
- declare const IconEmptyData: () => JSX.Element;
1
+ import React from 'react';
2
+ declare const IconEmptyData: () => React.JSX.Element;
2
3
  export default IconEmptyData;
@@ -1,2 +1,3 @@
1
- declare const IconLoginOnly: () => JSX.Element;
1
+ import React from 'react';
2
+ declare const IconLoginOnly: () => React.JSX.Element;
2
3
  export default IconLoginOnly;
@@ -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;
@@ -9,5 +9,5 @@ export interface CardValueProps {
9
9
  className?: string;
10
10
  style?: React.CSSProperties;
11
11
  }
12
- declare const CardValue: (props: CardValueProps) => JSX.Element;
12
+ declare const CardValue: (props: CardValueProps) => React.JSX.Element;
13
13
  export default CardValue;
@@ -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;
@@ -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,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,6 +1,7 @@
1
+ import React from 'react';
1
2
  export interface ErrorProps {
2
3
  variant?: 'default' | 'minimal';
3
4
  value: string;
4
5
  }
5
- declare const Error: (props: ErrorProps) => JSX.Element;
6
+ declare const Error: (props: ErrorProps) => React.JSX.Element;
6
7
  export default Error;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { TextFieldType } from '../../atoms/text-field/types';
2
3
  export interface FieldWidthButtonProps {
3
4
  label?: string;
@@ -12,6 +13,7 @@ export interface FieldWidthButtonProps {
12
13
  onChange?: (value: string | number | null) => void;
13
14
  buttonAction?: (value: string | number | null) => void | Promise<void>;
14
15
  buttonDisabled?: boolean;
16
+ clearFieldAfterSubmit?: boolean;
15
17
  }
16
- declare const FieldWidthButton: (props: FieldWidthButtonProps) => JSX.Element;
18
+ declare const FieldWidthButton: (props: FieldWidthButtonProps) => React.JSX.Element;
17
19
  export default FieldWidthButton;
@@ -5,5 +5,5 @@ export interface FormGroupProps {
5
5
  error?: boolean;
6
6
  children: React.ReactNode;
7
7
  }
8
- declare const FormGroup: (props: FormGroupProps) => JSX.Element;
8
+ declare const FormGroup: (props: FormGroupProps) => React.JSX.Element;
9
9
  export default FormGroup;
@@ -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;
@@ -8,5 +8,5 @@ interface NoteCardProps {
8
8
  className?: string;
9
9
  style?: CSSProperties;
10
10
  }
11
- declare const NoteCard: (props: NoteCardProps) => JSX.Element;
11
+ declare const NoteCard: (props: NoteCardProps) => React.JSX.Element;
12
12
  export default NoteCard;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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,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;
@@ -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,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,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;
@@ -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;
@@ -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;
@@ -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;