@osmandvc/react-upload-control 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
package/dist/utils/index.d.ts
CHANGED
package/package.json
CHANGED
@@ -1,16 +1,19 @@
|
|
1
1
|
{
|
2
2
|
"name": "@osmandvc/react-upload-control",
|
3
|
-
"version": "0.3.
|
3
|
+
"version": "0.3.2",
|
4
4
|
"description": "A completely free and open-source file uploader library designed for modern react applications. This package focuses on delivering a feature-rich experience while prioritizing an exceptional developer experience (DX). Whether you're handling simple uploads or complex multi-file scenarios, this library offers powerful customization, seamless integration, and a smooth workflow for developers. Perfect for those who need an efficient, flexible, and easy-to-use file uploader solution in their projects.",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"types": "dist/index.d.ts",
|
7
|
+
"sideEffects": [
|
8
|
+
"*.css",
|
9
|
+
"react-medium-image-zoom/dist/styles.css"
|
10
|
+
],
|
7
11
|
"repository": {
|
8
12
|
"type": "git",
|
9
13
|
"url": "https://github.com/osmandvc/react-upload-control.git"
|
10
14
|
},
|
11
15
|
"files": [
|
12
16
|
"dist",
|
13
|
-
"dist/**/*.d.ts",
|
14
17
|
"README.md",
|
15
18
|
"LICENSE"
|
16
19
|
],
|
@@ -45,56 +48,54 @@
|
|
45
48
|
],
|
46
49
|
"author": "Osman Deveci",
|
47
50
|
"license": "MIT",
|
51
|
+
"peerDependencies": {
|
52
|
+
"react": "^18.0.0",
|
53
|
+
"react-dom": "^18.0.0"
|
54
|
+
},
|
48
55
|
"dependencies": {
|
49
56
|
"@dnd-kit/core": "^6.2.0",
|
50
57
|
"@dnd-kit/sortable": "^9.0.0",
|
51
|
-
"@emotion/react": "^11.13.3",
|
52
|
-
"@emotion/styled": "^11.13.0",
|
53
58
|
"@radix-ui/react-dialog": "^1.1.2",
|
54
59
|
"@radix-ui/react-progress": "^1.1.0",
|
55
60
|
"@radix-ui/react-select": "^2.1.2",
|
56
61
|
"@radix-ui/react-separator": "^1.1.0",
|
57
62
|
"@radix-ui/react-slot": "^1.1.0",
|
58
63
|
"@radix-ui/react-tooltip": "^1.1.3",
|
59
|
-
"@storybook/addon-styling": "^1.3.7",
|
60
64
|
"@tabler/icons-react": "^3.19.0",
|
61
|
-
"@types/react": "^18.3.11",
|
62
|
-
"@types/react-dom": "^18.3.1",
|
63
65
|
"class-variance-authority": "^0.7.0",
|
64
66
|
"date-fns": "^4.1.0",
|
65
67
|
"filesize": "^10.1.6",
|
66
|
-
"kleur": "^4.1.5",
|
67
68
|
"nanoid": "^5.0.7",
|
68
|
-
"react": "^18.3.1",
|
69
69
|
"react-intl": "^6.4.0",
|
70
70
|
"react-medium-image-zoom": "^5.2.10",
|
71
71
|
"react-spinners": "^0.14.1",
|
72
|
-
"react-wrap-balancer": "^1.1.1",
|
73
72
|
"sonner": "^1.5.0",
|
74
73
|
"tailwind-merge": "^2.5.4",
|
75
|
-
"tailwindcss-animate": "^1.0.7"
|
76
|
-
"typescript": "^5.6.3",
|
77
|
-
"zod": "^3.23.8"
|
74
|
+
"tailwindcss-animate": "^1.0.7"
|
78
75
|
},
|
79
76
|
"devDependencies": {
|
80
77
|
"@babel/core": "^7.25.8",
|
81
78
|
"@babel/preset-env": "^7.25.8",
|
82
79
|
"@babel/preset-react": "^7.25.7",
|
83
80
|
"@babel/preset-typescript": "^7.25.7",
|
84
|
-
"@
|
81
|
+
"@osmandvc/react-upload-control-processors": "file:../processors/osmandvc-react-upload-control-processors-0.0.1.tgz",
|
85
82
|
"@storybook/addon-essentials": "^8.3.6",
|
86
83
|
"@storybook/addon-interactions": "^8.3.6",
|
87
84
|
"@storybook/addon-links": "^8.3.6",
|
88
85
|
"@storybook/addon-onboarding": "^8.3.6",
|
86
|
+
"@storybook/addon-styling": "^1.3.7",
|
89
87
|
"@storybook/addon-webpack5-compiler-swc": "^1.0.5",
|
90
88
|
"@storybook/blocks": "^8.3.6",
|
91
89
|
"@storybook/react": "^8.3.6",
|
92
90
|
"@storybook/react-webpack5": "^8.3.6",
|
93
91
|
"@storybook/test": "^8.3.6",
|
92
|
+
"@types/react": "^18.3.11",
|
93
|
+
"@types/react-dom": "^18.3.1",
|
94
94
|
"autoprefixer": "^10.4.20",
|
95
95
|
"babel-loader": "^9.2.1",
|
96
96
|
"chromatic": "^11.20.2",
|
97
97
|
"css-loader": "^7.1.2",
|
98
|
+
"mini-css-extract-plugin": "^2.9.2",
|
98
99
|
"postcss": "^8.4.47",
|
99
100
|
"postcss-loader": "^8.1.1",
|
100
101
|
"process": "^0.11.10",
|
@@ -104,10 +105,10 @@
|
|
104
105
|
"tailwindcss": "^3.4.14",
|
105
106
|
"ts-loader": "^9.5.1",
|
106
107
|
"tsconfig-paths-webpack-plugin": "^4.1.0",
|
108
|
+
"typescript": "^5.6.3",
|
107
109
|
"webpack": "^5.95.0",
|
108
110
|
"webpack-bundle-analyzer": "^4.10.2",
|
109
111
|
"webpack-cli": "^5.1.4",
|
110
|
-
"webpack-dev-server": "^5.1.0"
|
111
|
-
"@osmandvc/react-upload-control-processors": "file:../processors/osmandvc-react-upload-control-processors-0.0.1.tgz"
|
112
|
+
"webpack-dev-server": "^5.1.0"
|
112
113
|
}
|
113
114
|
}
|
@@ -1,20 +0,0 @@
|
|
1
|
-
interface WebcamFrameProps {
|
2
|
-
width: number;
|
3
|
-
height: number;
|
4
|
-
offset?: {
|
5
|
-
top: number;
|
6
|
-
right: number;
|
7
|
-
bottom: number;
|
8
|
-
left: number;
|
9
|
-
};
|
10
|
-
proportion?: number;
|
11
|
-
}
|
12
|
-
export declare function getFrame(props: WebcamFrameProps): {
|
13
|
-
x: number;
|
14
|
-
y: number;
|
15
|
-
width: number;
|
16
|
-
height: number;
|
17
|
-
orientation: string;
|
18
|
-
};
|
19
|
-
export declare function WebcamFrameA4(props: WebcamFrameProps): import("react/jsx-runtime").JSX.Element;
|
20
|
-
export {};
|