@stackshift-ui/input-file 6.0.12 → 6.1.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.
- package/dist/input-file.d.ts +4 -0
- package/package.json +4 -4
- package/src/input-file.tsx +4 -0
package/dist/input-file.d.ts
CHANGED
|
@@ -10,5 +10,9 @@ export interface InputFileProps extends Omit<HTMLProps<HTMLInputElement>, "as">
|
|
|
10
10
|
className?: string;
|
|
11
11
|
as?: ElementType;
|
|
12
12
|
}
|
|
13
|
+
/**
|
|
14
|
+
* @deprecated Redundant since Input component was added
|
|
15
|
+
* @use Input component
|
|
16
|
+
* */
|
|
13
17
|
export declare const InputFile: React.FC<InputFileProps>;
|
|
14
18
|
export {};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stackshift-ui/input-file",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "6.0
|
|
4
|
+
"version": "6.1.0",
|
|
5
5
|
"private": false,
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"main": "./dist/index.js",
|
|
@@ -34,15 +34,15 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"classnames": "^2.5.1",
|
|
37
|
-
"@stackshift-ui/scripts": "6.0
|
|
38
|
-
"@stackshift-ui/system": "6.0
|
|
37
|
+
"@stackshift-ui/scripts": "6.1.0",
|
|
38
|
+
"@stackshift-ui/system": "6.1.0"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"@types/react": "16.8 - 19",
|
|
42
42
|
"next": "10 - 14",
|
|
43
43
|
"react": "16.8 - 19",
|
|
44
44
|
"react-dom": "16.8 - 19",
|
|
45
|
-
"@stackshift-ui/system": ">=
|
|
45
|
+
"@stackshift-ui/system": ">=7.0.0"
|
|
46
46
|
},
|
|
47
47
|
"peerDependenciesMeta": {
|
|
48
48
|
"next": {
|
package/src/input-file.tsx
CHANGED
|
@@ -19,6 +19,10 @@ export interface InputFileProps extends Omit<HTMLProps<HTMLInputElement>, "as">
|
|
|
19
19
|
|
|
20
20
|
const displayName = "InputFile";
|
|
21
21
|
|
|
22
|
+
/**
|
|
23
|
+
* @deprecated Redundant since Input component was added
|
|
24
|
+
* @use Input component
|
|
25
|
+
* */
|
|
22
26
|
export const InputFile: React.FC<InputFileProps> = ({
|
|
23
27
|
required = false,
|
|
24
28
|
variant = "primary",
|