scorer-ui-kit 2.3.0 → 2.5.0

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.
@@ -3,6 +3,8 @@ import { TypeButtonSizes, TypeButtonDesigns } from '..';
3
3
  interface OwnProps {
4
4
  size?: TypeButtonSizes;
5
5
  design?: TypeButtonDesigns;
6
+ shadow?: boolean;
7
+ noPadding?: boolean;
6
8
  }
7
9
  declare type Props = OwnProps & ButtonHTMLAttributes<HTMLButtonElement>;
8
10
  declare const Button: React.FC<Props>;
@@ -3,6 +3,8 @@ import { IButtonProps } from '..';
3
3
  export interface IButtonWithIcon extends IButtonProps {
4
4
  icon: string;
5
5
  position?: 'left' | 'right';
6
+ loading?: boolean;
7
+ shadow?: boolean;
6
8
  }
7
9
  declare const ButtonWithIcon: React.FC<IButtonWithIcon>;
8
10
  export default ButtonWithIcon;
@@ -3,6 +3,7 @@ import { IButtonProps } from '..';
3
3
  interface IProps extends IButtonProps {
4
4
  position?: 'left' | 'right';
5
5
  loading: boolean;
6
+ shadow?: boolean;
6
7
  }
7
8
  declare const ButtonWithLoading: React.FC<IProps>;
8
9
  export default ButtonWithLoading;
@@ -28,7 +28,7 @@ import SplitButton, { ISplitButtonProps } from './molecules/SplitButton';
28
28
  import ButtonsStack, { IButtonsStack, IButtonStack } from './molecules/ButtonsStack';
29
29
  export { Form, Button, ButtonWithIcon, ButtonWithLoading, IconButton, ActionButtons, SmallInput, Input, Label, Checkbox, Switch, PasswordField, TextField, TextArea, TextAreaField, SliderInput, DurationSlider, PercentageSlider, InputFileButton, AvatarUploader, DropArea, CropTool, SelectField, SelectWrapper, AreaUploadManager, RadioButton, SplitButton, ButtonsStack, };
30
30
  export declare type TypeFieldState = 'default' | 'disabled' | 'required' | 'valid' | 'invalid' | 'processing';
31
- export declare type TypeButtonDesigns = 'primary' | 'secondary' | 'danger';
31
+ export declare type TypeButtonDesigns = 'primary' | 'secondary' | 'warning' | 'danger';
32
32
  export declare type TypeButtonSizes = 'xsmall' | 'small' | 'normal' | 'large';
33
33
  export declare type ISelectSizes = 'small' | 'normal';
34
34
  export declare type IInputOptionsType = "text" | "checkbox" | "radio";