@taikai/rocket-kit 3.0.0-beta.5 → 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 (108) 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 +3 -3
  19. package/dist/atoms/label/stories/label.stories.d.ts +30 -0
  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 -4
  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/select-interactive/types.d.ts +1 -1
  30. package/dist/atoms/slideshow/index.d.ts +2 -1
  31. package/dist/atoms/slideshow/stories/slideshow.stories.d.ts +3 -3
  32. package/dist/atoms/spinner/index.d.ts +2 -2
  33. package/dist/atoms/tag/index.d.ts +2 -2
  34. package/dist/atoms/tag/stories/tag.stories.d.ts +3 -3
  35. package/dist/atoms/tag-number/index.d.ts +2 -2
  36. package/dist/atoms/tag-number/stories/tag-number.stories.d.ts +3 -3
  37. package/dist/atoms/text-area/index.d.ts +1 -2
  38. package/dist/atoms/text-area/stories/text-area.stories.d.ts +8 -21
  39. package/dist/atoms/text-area/styles.d.ts +0 -1
  40. package/dist/atoms/text-field/index.d.ts +1 -2
  41. package/dist/atoms/text-field/styles.d.ts +0 -1
  42. package/dist/atoms/text-field-appendix/index.d.ts +1 -1
  43. package/dist/atoms/text-field-appendix/stories/text-field-appendix.stories.d.ts +4 -4
  44. package/dist/atoms/toggle/index.d.ts +2 -1
  45. package/dist/atoms/toggle/stories/toogle.stories.d.ts +3 -3
  46. package/dist/atoms/truncate-line/index.d.ts +2 -2
  47. package/dist/atoms/truncate-line/stories/truncate-line.stories.d.ts +3 -3
  48. package/dist/atoms/video-player/index.d.ts +2 -1
  49. package/dist/atoms/video-player/stories/video-player.stories.d.ts +3 -3
  50. package/dist/index.d.ts +0 -1
  51. package/dist/ions/icon-empty-data.d.ts +2 -1
  52. package/dist/ions/icon-login-only.d.ts +2 -1
  53. package/dist/ions/variables.d.ts +22 -17
  54. package/dist/molecules/actions-menu/index.d.ts +3 -2
  55. package/dist/molecules/card-value/index.d.ts +3 -3
  56. package/dist/molecules/card-value/stories/card-value.stories.d.ts +45 -0
  57. package/dist/molecules/card-value/styles.d.ts +0 -1
  58. package/dist/molecules/checkbox-group/index.d.ts +1 -1
  59. package/dist/molecules/checkbox-group/stories/checkbox-group.stories.d.ts +3 -3
  60. package/dist/molecules/data-warning/index.d.ts +1 -1
  61. package/dist/molecules/data-warning/stories/data-warning.stories.d.ts +3 -3
  62. package/dist/molecules/empty-table/index.d.ts +2 -1
  63. package/dist/molecules/empty-table/stories/empty-table.stories.d.ts +3 -3
  64. package/dist/molecules/error/index.d.ts +2 -1
  65. package/dist/molecules/error/stories/error.stories.d.ts +3 -3
  66. package/dist/molecules/field-with-button/index.d.ts +1 -5
  67. package/dist/molecules/field-with-button/stories/field-with-button.stories.d.ts +3 -4
  68. package/dist/molecules/form-group/index.d.ts +2 -2
  69. package/dist/molecules/form-group/stories/form-group.stories.d.ts +6 -5
  70. package/dist/molecules/modal-footer/index.d.ts +1 -1
  71. package/dist/molecules/modal-footer/stories/modal-footer.stories.d.ts +4 -4
  72. package/dist/molecules/note-card/index.d.ts +1 -1
  73. package/dist/molecules/number-input-spinner/index.d.ts +2 -1
  74. package/dist/molecules/number-input-spinner/stories/number-input-spinner.stories.d.ts +4 -4
  75. package/dist/molecules/pagination-control/index.d.ts +1 -1
  76. package/dist/molecules/pagination-control/stories/pagination-control.stories.d.ts +4 -4
  77. package/dist/molecules/radio-group/index.d.ts +1 -1
  78. package/dist/molecules/radio-group/stories/radio-group.stories.d.ts +3 -3
  79. package/dist/molecules/table/index.d.ts +1 -1
  80. package/dist/molecules/table/stories/table.stories.d.ts +4 -4
  81. package/dist/molecules/table-dnd/index.d.ts +1 -1
  82. package/dist/molecules/table-dnd/stories/table-dnd.stories.d.ts +3 -3
  83. package/dist/molecules/wizard-steps/index.d.ts +2 -2
  84. package/dist/molecules/wizard-steps/stories/wizard-steps.stories.d.ts +4 -4
  85. package/dist/organisms/grid-container/grid-col.d.ts +1 -1
  86. package/dist/organisms/grid-container/grid-row.d.ts +2 -1
  87. package/dist/organisms/grid-container/index.d.ts +1 -1
  88. package/dist/organisms/grid-container/stories/grid-container.stories.d.ts +3 -3
  89. package/dist/organisms/horizontal-nav/index.d.ts +2 -1
  90. package/dist/organisms/horizontal-nav/stories/horizontal-nav.stories.d.ts +4 -4
  91. package/dist/organisms/loading-state/index.d.ts +2 -1
  92. package/dist/organisms/loading-state/stories/loading-state.stories.d.ts +3 -3
  93. package/dist/organisms/modal/index.d.ts +1 -1
  94. package/dist/organisms/modal/stories/modal.stories.d.ts +4 -4
  95. package/dist/organisms/modal-drawer/index.d.ts +1 -1
  96. package/dist/organisms/modal-drawer/stories/modal-drawer.stories.d.ts +4 -4
  97. package/dist/organisms/tabs-panel/index.d.ts +1 -1
  98. package/dist/organisms/tabs-panel/stories/tabs-panel.stories.d.ts +4 -4
  99. package/dist/rocket-kit.cjs.development.js +391 -739
  100. package/dist/rocket-kit.cjs.development.js.map +1 -1
  101. package/dist/rocket-kit.cjs.production.min.js +413 -476
  102. package/dist/rocket-kit.cjs.production.min.js.map +1 -1
  103. package/dist/rocket-kit.esm.js +393 -740
  104. package/dist/rocket-kit.esm.js.map +1 -1
  105. package/package.json +3 -3
  106. package/dist/molecules/alert-notification/index.d.ts +0 -11
  107. package/dist/molecules/alert-notification/stories/alert-notification.stories.d.ts +0 -25
  108. 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
- /// <reference types="react" />
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;
@@ -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,8 +1,8 @@
1
- /// <reference types="react" />
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
- /// <reference types="react" />
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;
@@ -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;
@@ -1,8 +1,8 @@
1
- /// <reference types="react" />
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
- /// <reference types="react" />
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
- /// <reference types="react" />
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,5 +1,4 @@
1
1
  interface FilePickerProps {
2
- minimal?: boolean;
3
2
  error?: boolean;
4
3
  disabled?: boolean;
5
4
  }
@@ -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
- /// <reference types="react" />
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,9 +1,9 @@
1
1
  import React from 'react';
2
- interface LabelProps {
3
- kai?: boolean;
2
+ export interface LabelProps {
3
+ currency?: 'tkai' | 'vkai' | undefined;
4
4
  value: string;
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;
@@ -0,0 +1,30 @@
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,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
- /// <reference types="react" />
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
- /// <reference types="react" />
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,5 +1,4 @@
1
1
  interface SelectStyleProps {
2
- minimal?: boolean;
3
2
  error?: string;
4
3
  }
5
4
  export declare const SelectStyle: import("styled-components").StyledComponent<"select", any, SelectStyleProps, never>;
@@ -1,9 +1,9 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { TCustomOptions, TSelectInteractiveOption } from '../types';
3
3
  export interface GroupBase {
4
4
  options: readonly TSelectInteractiveOption[];
5
5
  label?: string;
6
6
  }
7
- export declare const FormatGroupLabel: (props: GroupBase) => JSX.Element;
8
- export declare const CustomSelectOption: (props: TCustomOptions, commonProps: any) => JSX.Element;
9
- 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
- /// <reference types="react" />
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>;
@@ -18,7 +18,7 @@ export interface OptionsGroup<T extends TSelectInteractiveOption> {
18
18
  }
19
19
  declare type TDivElement = Omit<MapHTMLAttributes<HTMLDivElement>, 'onChange' | 'placeholder'>;
20
20
  declare type Options = TSelectInteractiveOption | ReadonlyArray<TSelectInteractiveOption>;
21
- export interface SelectInteractiveProps<T extends Options> extends TDivElement, Pick<NamedProps<T>, 'onInputChange'> {
21
+ export interface SelectInteractiveProps<T extends Options> extends TDivElement, Partial<Pick<NamedProps<T>, 'onInputChange'>> {
22
22
  name?: string;
23
23
  error?: string;
24
24
  clear?: boolean;
@@ -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
- /// <reference types="react" />
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
- /// <reference types="react" />
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
- /// <reference types="react" />
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;