@prosperitainova/mirage-ui 1.1.14 → 1.1.16

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,6 +11,10 @@ export type InputProps = InputHTMLAttributes<HTMLInputElement> & TextareaHTMLAtt
11
11
  search?: boolean;
12
12
  mask?: string;
13
13
  maskChar?: string | null;
14
+ ref?: any;
15
+ onFocus?: boolean;
16
+ min?: string;
17
+ max?: string;
14
18
  };
15
19
  declare const Input: (props: InputProps) => JSX.Element;
16
20
  export default Input;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { InputProps } from "./Input";
2
3
  import { Story } from "@storybook/react";
3
4
  declare const InputStories: {
@@ -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: {
package/dist/index.d.ts CHANGED
@@ -82,6 +82,10 @@ type InputProps = InputHTMLAttributes<HTMLInputElement> & TextareaHTMLAttributes
82
82
  search?: boolean;
83
83
  mask?: string;
84
84
  maskChar?: string | null;
85
+ ref?: any;
86
+ onFocus?: boolean;
87
+ min?: string;
88
+ max?: string;
85
89
  };
86
90
  declare const Input: (props: InputProps) => JSX.Element;
87
91
 
@@ -150,6 +154,7 @@ type OptionsProps = {
150
154
  description: string;
151
155
  value: string;
152
156
  setIndex?: (event: React.MouseEvent<HTMLDivElement>) => void;
157
+ disabled?: boolean;
153
158
  };
154
159
  type RadioGroupProps = HTMLAttributes<HTMLDivElement> & {
155
160
  display: "row" | "column";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prosperitainova/mirage-ui",
3
- "version": "1.1.14",
3
+ "version": "1.1.16",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "publishConfig": {