@taikai/rocket-kit 3.0.0-beta.2 → 3.0.0-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,5 +11,5 @@ interface Props {
11
11
  dataTestId?: string;
12
12
  required?: boolean;
13
13
  }
14
- declare const Checkbox: (props: Props) => JSX.Element;
14
+ declare const Checkbox: ({ label, value, checked, onChange, error, disabled, className, style, dataTestId, required, }: Props) => JSX.Element;
15
15
  export default Checkbox;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface ProgressBarProps {
3
2
  progress: number;
4
3
  value?: string;
@@ -1,6 +1,9 @@
1
1
  /// <reference types="react" />
2
- import { TCustomOptions, TOptions } from '../types';
3
- import { formatGroupLabel } from 'react-select/src/builtins';
4
- export declare const FormatGroupLabel: formatGroupLabel<TOptions>;
2
+ import { TCustomOptions, TSelectInteractiveOption } from '../types';
3
+ export interface GroupBase {
4
+ options: readonly TSelectInteractiveOption[];
5
+ label?: string;
6
+ }
7
+ export declare const FormatGroupLabel: (props: GroupBase) => JSX.Element;
5
8
  export declare const CustomSelectOption: (props: TCustomOptions, commonProps: any) => JSX.Element;
6
9
  export declare const CustomSelectValue: (props: TCustomOptions) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SelectInteractiveProps, TSelectInteractiveOption } from './types';
3
2
  declare const SelectInteractive: ({ name, multi, search, placeholder, options, value, clear, error, disabled, formatGroupLabel, onChange, onInputChange, ...rest }: SelectInteractiveProps<TSelectInteractiveOption>) => JSX.Element;
4
3
  export default SelectInteractive;
@@ -1,5 +1,5 @@
1
1
  import { MapHTMLAttributes, ReactNode } from 'react';
2
- import { NamedProps } from 'react-select/src/Select';
2
+ import NamedProps from 'react-select/dist/declarations/src/Select';
3
3
  export interface TSelectInteractiveOption {
4
4
  value: string;
5
5
  label: string;
@@ -7,7 +7,7 @@ export interface TSelectInteractiveOption {
7
7
  }
8
8
  export interface TOptions extends TSelectInteractiveOption {
9
9
  icon?: string;
10
- customImage?: React.ReactNode;
10
+ customImage?: string;
11
11
  }
12
12
  export interface TCustomOptions {
13
13
  data: TOptions;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface SlideshowProps {
3
2
  showArrows?: boolean;
4
3
  slidesNumber: number;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ToggleProps } from './types';
3
2
  declare const Toggle: ({ ariaLabelOn, ariaLabelOff, labelLeft, labelRight, checked, disabled, isLabelVisible, onClick, ...rest }: ToggleProps) => JSX.Element;
4
3
  export default Toggle;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface VideoPlayerProps {
3
2
  video: any;
4
3
  playing?: boolean;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const IconEmptyData: () => JSX.Element;
3
2
  export default IconEmptyData;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const IconLoginOnly: () => JSX.Element;
3
2
  export default IconLoginOnly;
@@ -156,7 +156,6 @@ export declare const typography: {
156
156
  regular: number;
157
157
  medium: number;
158
158
  bold: number;
159
- letterSpacing: string;
160
159
  };
161
160
  export declare const button: {
162
161
  height: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ActionMenu } from './types';
3
2
  interface ActionsMenuListInterface<T> {
4
3
  actions: ActionMenu<T>[];
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface EmptyTableProps {
3
2
  border?: boolean;
4
3
  value: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface ErrorProps {
3
2
  variant?: 'default' | 'minimal';
4
3
  value: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface NumberInputSpinnerProps {
3
2
  decreaseAriaLabel?: string;
4
3
  increaseAriaLabel?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { GridContainerProps } from '.';
3
2
  declare const GridRow: (props: GridContainerProps) => JSX.Element;
4
3
  export default GridRow;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface HorizontalNavInterface {
3
2
  className?: string;
4
3
  customColor?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface LoadingStateProps {
3
2
  type: 'text' | 'card' | 'value';
4
3
  lines?: number;