@prosperitainova/mirage-ui 1.1.15 → 1.1.17

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.
@@ -1,9 +1,11 @@
1
- /// <reference types="react" />
1
+ import { DropzoneProps as DropzoneRootProps } from "react-dropzone";
2
2
  import "../../../src/theme/fonts/ProximaNova.css";
3
- export type DropzoneProps = {
3
+ interface DropzoneRootPropsLite extends Omit<DropzoneRootProps, "onDrop"> {
4
+ }
5
+ export interface DropzoneProps extends DropzoneRootPropsLite {
4
6
  error?: string;
5
7
  helper?: string;
6
8
  onFilesChanged?: (files: File[]) => void;
7
- };
9
+ }
8
10
  declare const Dropzone: (props: DropzoneProps) => JSX.Element;
9
11
  export default Dropzone;
@@ -13,6 +13,8 @@ export type InputProps = InputHTMLAttributes<HTMLInputElement> & TextareaHTMLAtt
13
13
  maskChar?: string | null;
14
14
  ref?: any;
15
15
  onFocus?: boolean;
16
+ min?: string;
17
+ max?: string;
16
18
  };
17
19
  declare const Input: (props: InputProps) => JSX.Element;
18
20
  export default Input;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export type RadioProps = {
3
2
  label?: string;
4
3
  title?: string;
@@ -5,6 +5,7 @@ export type OptionsProps = {
5
5
  description: string;
6
6
  value: string;
7
7
  setIndex?: (event: React.MouseEvent<HTMLDivElement>) => void;
8
+ disabled?: boolean;
8
9
  };
9
10
  export type RadioGroupProps = HTMLAttributes<HTMLDivElement> & {
10
11
  display: "row" | "column";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Story } from "@storybook/react";
3
2
  import { RadioGroupProps } from "./RadioGroup";
4
3
  declare const RadioGroupStories: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "../../../src/theme/fonts/ProximaNova.css";
3
2
  export type MenuItem = {
4
3
  icon: string;