@bigbinary/neeto-image-uploader-frontend 4.0.3 → 4.0.5
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/.ready +1 -1
- package/dist/AssetLibrary.js +12 -9
- package/dist/AssetLibrary.js.map +1 -1
- package/dist/BasicImageUploader.js +4 -2
- package/dist/BasicImageUploader.js.map +1 -1
- package/dist/ImageForm.js +7 -4
- package/dist/ImageForm.js.map +1 -1
- package/dist/ImageUploader.js +9 -6
- package/dist/ImageUploader.js.map +1 -1
- package/dist/ImageWithFallback-BhUgmP7t.js +61 -0
- package/dist/ImageWithFallback-BhUgmP7t.js.map +1 -0
- package/dist/{ImageWithFallback-Bq5rs1yf.js → ImageWithFallback-D1ClfJLn.js} +4 -4
- package/dist/{ImageWithFallback-Bq5rs1yf.js.map → ImageWithFallback-D1ClfJLn.js.map} +1 -1
- package/dist/ImageWithFallback-MfA03icL.js +59 -0
- package/dist/ImageWithFallback-MfA03icL.js.map +1 -0
- package/dist/cjs/AssetLibrary.js +10 -7
- package/dist/cjs/AssetLibrary.js.map +1 -1
- package/dist/cjs/BasicImageUploader.js +5 -3
- package/dist/cjs/BasicImageUploader.js.map +1 -1
- package/dist/cjs/ImageForm.js +9 -6
- package/dist/cjs/ImageForm.js.map +1 -1
- package/dist/cjs/ImageUploader.js +14 -11
- package/dist/cjs/ImageUploader.js.map +1 -1
- package/dist/cjs/hooks.js +1 -1
- package/dist/cjs/index.js +9 -6
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/v2/AssetLibrary.js +40 -0
- package/dist/cjs/v2/AssetLibrary.js.map +1 -0
- package/dist/cjs/v2/BasicImageUploader.js +71 -0
- package/dist/cjs/v2/BasicImageUploader.js.map +1 -0
- package/dist/cjs/v2/ImageForm.js +324 -0
- package/dist/cjs/v2/ImageForm.js.map +1 -0
- package/dist/cjs/v2/ImageUploader.js +246 -0
- package/dist/cjs/v2/ImageUploader.js.map +1 -0
- package/dist/cjs/v2/hooks.js +27 -0
- package/dist/cjs/v2/hooks.js.map +1 -0
- package/dist/cjs/v2/index.js +61 -0
- package/dist/cjs/v2/index.js.map +1 -0
- package/dist/cjs/v2/utils.js +9 -0
- package/dist/cjs/v2/utils.js.map +1 -0
- package/dist/constants-Csle2bxb.js +56 -0
- package/dist/constants-Csle2bxb.js.map +1 -0
- package/dist/constants-DI8wBtC-.js +68 -0
- package/dist/constants-DI8wBtC-.js.map +1 -0
- package/dist/hooks.js +3 -3
- package/dist/{imagekit.esm-CXW6c1fP.js → imagekit.esm-IYQEzBnD.js} +2 -2
- package/dist/{imagekit.esm-CXW6c1fP.js.map → imagekit.esm-IYQEzBnD.js.map} +1 -1
- package/dist/index-CBorETxd.js +972 -0
- package/dist/index-CBorETxd.js.map +1 -0
- package/dist/index-CiB5LGGR.js +950 -0
- package/dist/index-CiB5LGGR.js.map +1 -0
- package/dist/index-EgJf9LfL.js +947 -0
- package/dist/index-EgJf9LfL.js.map +1 -0
- package/dist/index-krkZ4CNS.js +969 -0
- package/dist/index-krkZ4CNS.js.map +1 -0
- package/dist/index.js +10 -7
- package/dist/index.js.map +1 -1
- package/dist/{useImageUploader-BLOdyAwv.js → useImageUploader-D8luC4Qw.js} +2 -2
- package/dist/{useImageUploader-BLOdyAwv.js.map → useImageUploader-D8luC4Qw.js.map} +1 -1
- package/dist/{useProfileImageUpload-CiGxDpEx.js → useProfileImageUpload-CbjVfcfI.js} +3 -3
- package/dist/{useProfileImageUpload-CiGxDpEx.js.map → useProfileImageUpload-CbjVfcfI.js.map} +1 -1
- package/dist/{useProfileImageUpload-DkmUBjtt.js → useProfileImageUpload-DbanXK57.js} +6 -6
- package/dist/useProfileImageUpload-DbanXK57.js.map +1 -0
- package/dist/useUnsplashApi-CNeNh58q.js +1065 -0
- package/dist/useUnsplashApi-CNeNh58q.js.map +1 -0
- package/dist/useUnsplashApi-D_ekWD8p.js +1057 -0
- package/dist/useUnsplashApi-D_ekWD8p.js.map +1 -0
- package/dist/useUploadDropzone-8Xa8PI-1.js +56 -0
- package/dist/useUploadDropzone-8Xa8PI-1.js.map +1 -0
- package/dist/useUploadDropzone-DMv8VMRF.js +58 -0
- package/dist/useUploadDropzone-DMv8VMRF.js.map +1 -0
- package/dist/utils-BTmA9hHb.js +364 -0
- package/dist/utils-BTmA9hHb.js.map +1 -0
- package/dist/{utils-BYMSmzRM.js → utils-CbaXwRPJ.js} +33 -74
- package/dist/utils-CbaXwRPJ.js.map +1 -0
- package/dist/{utils-C0TymZ5r.js → utils-DwOJkJSn.js} +41 -83
- package/dist/utils-DwOJkJSn.js.map +1 -0
- package/dist/utils-DyCNC3w5.js +347 -0
- package/dist/utils-DyCNC3w5.js.map +1 -0
- package/dist/v2/AssetLibrary.js +34 -0
- package/dist/v2/AssetLibrary.js.map +1 -0
- package/dist/v2/BasicImageUploader.js +69 -0
- package/dist/v2/BasicImageUploader.js.map +1 -0
- package/dist/v2/ImageForm.js +322 -0
- package/dist/v2/ImageForm.js.map +1 -0
- package/dist/v2/ImageUploader.js +244 -0
- package/dist/v2/ImageUploader.js.map +1 -0
- package/dist/v2/hooks.js +19 -0
- package/dist/v2/hooks.js.map +1 -0
- package/dist/v2/index.js +48 -0
- package/dist/v2/index.js.map +1 -0
- package/dist/v2/utils.js +3 -0
- package/dist/v2/utils.js.map +1 -0
- package/package.json +49 -37
- package/dist/index-BuYEdyOT.js +0 -2413
- package/dist/index-BuYEdyOT.js.map +0 -1
- package/dist/index-Dpyvz0h1.js +0 -2410
- package/dist/index-Dpyvz0h1.js.map +0 -1
- package/dist/useProfileImageUpload-DkmUBjtt.js.map +0 -1
- package/dist/utils-BYMSmzRM.js.map +0 -1
- package/dist/utils-C0TymZ5r.js.map +0 -1
package/dist/v2/hooks.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export { u as useImageUpload, a as useProfileImageUpload } from '../useProfileImageUpload-CbjVfcfI.js';
|
|
2
|
+
export { u as useImageUploader } from '../useImageUploader-D8luC4Qw.js';
|
|
3
|
+
import '@babel/runtime/helpers/asyncToGenerator';
|
|
4
|
+
import '@babel/runtime/helpers/slicedToArray';
|
|
5
|
+
import '@babel/runtime/regenerator';
|
|
6
|
+
import 'react';
|
|
7
|
+
import '@rails/activestorage';
|
|
8
|
+
import 'i18next';
|
|
9
|
+
import '../imagekit.esm-IYQEzBnD.js';
|
|
10
|
+
import '@bigbinary/neeto-cist';
|
|
11
|
+
import '@bigbinary/neeto-commons-frontend/initializers';
|
|
12
|
+
import '@bigbinary/neetoui/Toastr';
|
|
13
|
+
import 'ramda';
|
|
14
|
+
import '@babel/runtime/helpers/defineProperty';
|
|
15
|
+
import '@tanstack/react-query';
|
|
16
|
+
import '@bigbinary/neeto-commons-frontend/react-utils';
|
|
17
|
+
import '../query-BJnGLX4z.js';
|
|
18
|
+
import 'axios';
|
|
19
|
+
//# sourceMappingURL=hooks.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hooks.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;"}
|
package/dist/v2/index.js
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
export { default as BasicImageUploader } from './BasicImageUploader.js';
|
|
2
|
+
export { default as ImageForm } from './ImageForm.js';
|
|
3
|
+
export { default as ImageUploader } from './ImageUploader.js';
|
|
4
|
+
export { M as AssetLibrary } from '../index-EgJf9LfL.js';
|
|
5
|
+
export { u as useImageUpload, a as useProfileImageUpload } from '../useProfileImageUpload-CbjVfcfI.js';
|
|
6
|
+
export { u as useImageUploader } from '../useImageUploader-D8luC4Qw.js';
|
|
7
|
+
export { refetchImageLibraryAssetList } from '../utils.js';
|
|
8
|
+
import '@babel/runtime/helpers/defineProperty';
|
|
9
|
+
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
10
|
+
import '@bigbinary/neeto-atoms';
|
|
11
|
+
import 'classnames';
|
|
12
|
+
import '@bigbinary/neeto-cist';
|
|
13
|
+
import '@bigbinary/neeto-icons/Delete';
|
|
14
|
+
import '../utils-CbaXwRPJ.js';
|
|
15
|
+
import 'react';
|
|
16
|
+
import 'ramda';
|
|
17
|
+
import 'react-i18next';
|
|
18
|
+
import '../useUploadDropzone-8Xa8PI-1.js';
|
|
19
|
+
import '@babel/runtime/helpers/slicedToArray';
|
|
20
|
+
import 'react-dropzone';
|
|
21
|
+
import 'i18next';
|
|
22
|
+
import '@bigbinary/neetoui/Toastr';
|
|
23
|
+
import '../imagekit.esm-IYQEzBnD.js';
|
|
24
|
+
import '@bigbinary/neeto-commons-frontend/v2/initializers';
|
|
25
|
+
import 'react/jsx-runtime';
|
|
26
|
+
import '../ImageWithFallback-MfA03icL.js';
|
|
27
|
+
import '@bigbinary/neeto-atoms/formik';
|
|
28
|
+
import 'formik';
|
|
29
|
+
import '@bigbinary/neeto-icons/Help';
|
|
30
|
+
import '@bigbinary/neeto-icons/LeftAlign';
|
|
31
|
+
import '@bigbinary/neeto-icons/CenterAlign';
|
|
32
|
+
import '@bigbinary/neeto-icons/RightAlign';
|
|
33
|
+
import '@babel/runtime/helpers/asyncToGenerator';
|
|
34
|
+
import '@babel/runtime/regenerator';
|
|
35
|
+
import '@bigbinary/neeto-icons/MenuHorizontal';
|
|
36
|
+
import '../useUnsplashApi-D_ekWD8p.js';
|
|
37
|
+
import '@tanstack/react-query';
|
|
38
|
+
import 'axios';
|
|
39
|
+
import '../constants-Csle2bxb.js';
|
|
40
|
+
import '@bigbinary/neeto-commons-frontend/initializers';
|
|
41
|
+
import '../query-BJnGLX4z.js';
|
|
42
|
+
import '@bigbinary/neeto-icons/LeftArrow';
|
|
43
|
+
import '@bigbinary/neeto-commons-frontend/v2/react-utils';
|
|
44
|
+
import '@bigbinary/neeto-commons-frontend/v2/utils';
|
|
45
|
+
import '@bigbinary/neeto-team-members-frontend/constants';
|
|
46
|
+
import '@rails/activestorage';
|
|
47
|
+
import '@bigbinary/neeto-commons-frontend/react-utils';
|
|
48
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/v2/utils.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigbinary/neeto-image-uploader-frontend",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.5",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"url": "https://github.com/bigbinary/neeto-image-uploader-nano/issues"
|
|
@@ -54,6 +54,16 @@
|
|
|
54
54
|
"import": "./dist/*.js",
|
|
55
55
|
"require": "./dist/cjs/*.js",
|
|
56
56
|
"types": "./types.d.ts"
|
|
57
|
+
},
|
|
58
|
+
"./v2": {
|
|
59
|
+
"import": "./dist/v2/index.js",
|
|
60
|
+
"require": "./dist/cjs/v2/index.js",
|
|
61
|
+
"types": "./types.d.ts"
|
|
62
|
+
},
|
|
63
|
+
"./v2/*": {
|
|
64
|
+
"import": "./dist/v2/*.js",
|
|
65
|
+
"require": "./dist/cjs/v2/*.js",
|
|
66
|
+
"types": "./types.d.ts"
|
|
57
67
|
}
|
|
58
68
|
},
|
|
59
69
|
"devDependencies": {
|
|
@@ -67,14 +77,15 @@
|
|
|
67
77
|
"@babel/runtime": "7.29.2",
|
|
68
78
|
"@bigbinary/babel-preset-neeto": "^1.0.3",
|
|
69
79
|
"@bigbinary/eslint-plugin-neeto": "1.9.0",
|
|
80
|
+
"@bigbinary/neeto-atoms": "^1.0.64",
|
|
70
81
|
"@bigbinary/neeto-cist": "1.0.17",
|
|
71
|
-
"@bigbinary/neeto-commons-frontend": "4.13.
|
|
72
|
-
"@bigbinary/neeto-editor": "1.47.
|
|
73
|
-
"@bigbinary/neeto-filters-frontend": "4.3.
|
|
74
|
-
"@bigbinary/neeto-icons": "1.20.
|
|
75
|
-
"@bigbinary/neeto-molecules": "
|
|
76
|
-
"@bigbinary/neeto-team-members-frontend": "5.0.
|
|
77
|
-
"@bigbinary/neetoui": "8.
|
|
82
|
+
"@bigbinary/neeto-commons-frontend": "4.13.127",
|
|
83
|
+
"@bigbinary/neeto-editor": "1.47.115",
|
|
84
|
+
"@bigbinary/neeto-filters-frontend": "4.3.38",
|
|
85
|
+
"@bigbinary/neeto-icons": "1.20.88",
|
|
86
|
+
"@bigbinary/neeto-molecules": "5.1.5",
|
|
87
|
+
"@bigbinary/neeto-team-members-frontend": "5.0.46",
|
|
88
|
+
"@bigbinary/neetoui": "8.8.0",
|
|
78
89
|
"@emotion/is-prop-valid": "1.2.0",
|
|
79
90
|
"@faker-js/faker": "8.2.0",
|
|
80
91
|
"@honeybadger-io/js": "6.10.1",
|
|
@@ -87,13 +98,13 @@
|
|
|
87
98
|
"@rollup/plugin-node-resolve": "15.3.0",
|
|
88
99
|
"@rollup/plugin-replace": "5.0.4",
|
|
89
100
|
"@svgr/rollup": "8.1.0",
|
|
90
|
-
"@tailwindcss/container-queries": "
|
|
91
|
-
"@tailwindcss/postcss": "
|
|
101
|
+
"@tailwindcss/container-queries": "0.1.1",
|
|
102
|
+
"@tailwindcss/postcss": "4.1.16",
|
|
92
103
|
"@tanstack/react-query": "5.59.20",
|
|
93
104
|
"antd": "5.22.1",
|
|
94
|
-
"assert": "
|
|
105
|
+
"assert": "2.0.0",
|
|
95
106
|
"autoprefixer": "^10.4.5",
|
|
96
|
-
"axios": "1.
|
|
107
|
+
"axios": "1.16.0",
|
|
97
108
|
"babel-loader": "^8.2.5",
|
|
98
109
|
"babel-plugin-istanbul": "^6.1.1",
|
|
99
110
|
"babel-plugin-js-logger": "1.0.17",
|
|
@@ -103,16 +114,16 @@
|
|
|
103
114
|
"babel-plugin-transform-react-remove-prop-types": "0.4.24",
|
|
104
115
|
"babel-preset-react": "6.24.1",
|
|
105
116
|
"babel-preset-typescript": "^7.0.0-alpha.19",
|
|
106
|
-
"browserify-zlib": "
|
|
117
|
+
"browserify-zlib": "0.2.0",
|
|
107
118
|
"buffer": "^6.0.3",
|
|
108
119
|
"classnames": "2.5.1",
|
|
109
120
|
"crypto-browserify": "3.12.1",
|
|
110
|
-
"css-loader": "
|
|
121
|
+
"css-loader": "6.7.1",
|
|
111
122
|
"dompurify": "3.4.1",
|
|
112
|
-
"dotenv-webpack": "
|
|
123
|
+
"dotenv-webpack": "8.0.1",
|
|
113
124
|
"eslint": "^9.25.1",
|
|
114
125
|
"eslint-config-prettier": "^10.1.2",
|
|
115
|
-
"eslint-plugin-cypress": "
|
|
126
|
+
"eslint-plugin-cypress": "4.3.0",
|
|
116
127
|
"eslint-plugin-import": "^2.31.0",
|
|
117
128
|
"eslint-plugin-jam3": "^0.2.3",
|
|
118
129
|
"eslint-plugin-json": "^4.0.1",
|
|
@@ -127,27 +138,27 @@
|
|
|
127
138
|
"eslint-plugin-xss": "^0.1.12",
|
|
128
139
|
"formik": "2.4.6",
|
|
129
140
|
"globals": "16.0.0",
|
|
130
|
-
"globby": "
|
|
141
|
+
"globby": "14.1.0",
|
|
131
142
|
"html-webpack-plugin": "5.5.0",
|
|
132
143
|
"https-browserify": "1.0.0",
|
|
133
144
|
"husky": "7.0.4",
|
|
134
145
|
"i18next": "22.5.1",
|
|
135
146
|
"i18next-browser-languagedetector": "7.0.1",
|
|
136
|
-
"imagekitio-react": "
|
|
147
|
+
"imagekitio-react": "2.0.0",
|
|
137
148
|
"js-logger": "1.6.1",
|
|
138
149
|
"lint-staged": "12.4.1",
|
|
139
|
-
"mini-css-extract-plugin": "
|
|
150
|
+
"mini-css-extract-plugin": "2.6.1",
|
|
140
151
|
"mixpanel-browser": "2.46.0",
|
|
141
152
|
"os-browserify": "0.3.0",
|
|
142
153
|
"path-browserify": "^1.0.1",
|
|
143
|
-
"perf_hooks": "
|
|
144
|
-
"postcss": "8.5.
|
|
154
|
+
"perf_hooks": "0.0.1",
|
|
155
|
+
"postcss": "8.5.11",
|
|
145
156
|
"postcss-import": "^15.0.0",
|
|
146
157
|
"postcss-loader": "^7.0.1",
|
|
147
158
|
"postcss-preset-env": "7.8.2",
|
|
148
159
|
"prettier": "3",
|
|
149
|
-
"prettier-plugin-tailwindcss": "
|
|
150
|
-
"process": "
|
|
160
|
+
"prettier-plugin-tailwindcss": "0.7.1",
|
|
161
|
+
"process": "0.11.10",
|
|
151
162
|
"qs": "6.15.0",
|
|
152
163
|
"ramda": "0.29.0",
|
|
153
164
|
"react": "18.3.1",
|
|
@@ -155,8 +166,8 @@
|
|
|
155
166
|
"react-dropzone": "14.3.8",
|
|
156
167
|
"react-helmet": "^6.1.0",
|
|
157
168
|
"react-i18next": "12.3.1",
|
|
158
|
-
"react-image-crop": "
|
|
159
|
-
"react-masonry-infinite": "
|
|
169
|
+
"react-image-crop": "10.0.9",
|
|
170
|
+
"react-masonry-infinite": "1.2.2",
|
|
160
171
|
"react-query": "3.39.3",
|
|
161
172
|
"react-router-dom": "5.3.3",
|
|
162
173
|
"react-toastify": "8.0.2",
|
|
@@ -172,35 +183,36 @@
|
|
|
172
183
|
"stream-browserify": "^3.0.0",
|
|
173
184
|
"stream-http": "3.2.0",
|
|
174
185
|
"style-loader": "^3.3.1",
|
|
175
|
-
"tailwindcss": "
|
|
186
|
+
"tailwindcss": "4.1.16",
|
|
176
187
|
"tty-browserify": "0.0.1",
|
|
177
188
|
"url": "0.11.4",
|
|
178
189
|
"util": "^0.12.5",
|
|
179
190
|
"vm-browserify": "1.1.2",
|
|
180
191
|
"webpack": "5.104.1",
|
|
181
|
-
"webpack-assets-manifest": "
|
|
192
|
+
"webpack-assets-manifest": "5.1.0",
|
|
182
193
|
"webpack-cli": "4.10.0",
|
|
183
|
-
"webpack-dev-server": "
|
|
194
|
+
"webpack-dev-server": "5.2.4",
|
|
184
195
|
"yup": "0.32.11",
|
|
185
196
|
"zustand": "4.4.2"
|
|
186
197
|
},
|
|
187
198
|
"peerDependencies": {
|
|
188
199
|
"@babel/runtime": "7.29.2",
|
|
200
|
+
"@bigbinary/neeto-atoms": "^1.0.64",
|
|
189
201
|
"@bigbinary/neeto-cist": "1.0.17",
|
|
190
|
-
"@bigbinary/neeto-commons-frontend": "4.13.
|
|
191
|
-
"@bigbinary/neeto-editor": "1.47.
|
|
192
|
-
"@bigbinary/neeto-filters-frontend": "4.3.
|
|
193
|
-
"@bigbinary/neeto-icons": "1.20.
|
|
194
|
-
"@bigbinary/neeto-molecules": "
|
|
195
|
-
"@bigbinary/neeto-team-members-frontend": "5.0.
|
|
196
|
-
"@bigbinary/neetoui": "8.
|
|
202
|
+
"@bigbinary/neeto-commons-frontend": "4.13.127",
|
|
203
|
+
"@bigbinary/neeto-editor": "1.47.115",
|
|
204
|
+
"@bigbinary/neeto-filters-frontend": "4.3.38",
|
|
205
|
+
"@bigbinary/neeto-icons": "1.20.88",
|
|
206
|
+
"@bigbinary/neeto-molecules": "5.1.5",
|
|
207
|
+
"@bigbinary/neeto-team-members-frontend": "5.0.46",
|
|
208
|
+
"@bigbinary/neetoui": "8.8.0",
|
|
197
209
|
"@honeybadger-io/js": "6.10.1",
|
|
198
210
|
"@honeybadger-io/react": "6.1.25",
|
|
199
211
|
"@rails/activestorage": "7.0.8-3",
|
|
200
|
-
"@tailwindcss/container-queries": "
|
|
212
|
+
"@tailwindcss/container-queries": "0.1.1",
|
|
201
213
|
"@tanstack/react-query": "5.59.20",
|
|
202
214
|
"antd": "5.22.1",
|
|
203
|
-
"axios": "1.
|
|
215
|
+
"axios": "1.16.0",
|
|
204
216
|
"buffer": "^6.0.3",
|
|
205
217
|
"classnames": "2.5.1",
|
|
206
218
|
"crypto-browserify": "3.12.1",
|