@bigbinary/neeto-image-uploader-frontend 4.0.2 → 4.0.4

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.
Files changed (101) hide show
  1. package/dist/.ready +1 -1
  2. package/dist/AssetLibrary.js +12 -9
  3. package/dist/AssetLibrary.js.map +1 -1
  4. package/dist/BasicImageUploader.js +4 -2
  5. package/dist/BasicImageUploader.js.map +1 -1
  6. package/dist/ImageForm.js +7 -4
  7. package/dist/ImageForm.js.map +1 -1
  8. package/dist/ImageUploader.js +9 -6
  9. package/dist/ImageUploader.js.map +1 -1
  10. package/dist/{ImageWithFallback-Bq5rs1yf.js → ImageWithFallback-B3DoquUi.js} +4 -4
  11. package/dist/ImageWithFallback-B3DoquUi.js.map +1 -0
  12. package/dist/ImageWithFallback-CSHOljd2.js +59 -0
  13. package/dist/ImageWithFallback-CSHOljd2.js.map +1 -0
  14. package/dist/ImageWithFallback-D1ClfJLn.js +61 -0
  15. package/dist/{ImageWithFallback-Bq5rs1yf.js.map → ImageWithFallback-D1ClfJLn.js.map} +1 -1
  16. package/dist/cjs/AssetLibrary.js +10 -7
  17. package/dist/cjs/AssetLibrary.js.map +1 -1
  18. package/dist/cjs/BasicImageUploader.js +5 -3
  19. package/dist/cjs/BasicImageUploader.js.map +1 -1
  20. package/dist/cjs/ImageForm.js +9 -6
  21. package/dist/cjs/ImageForm.js.map +1 -1
  22. package/dist/cjs/ImageUploader.js +14 -11
  23. package/dist/cjs/ImageUploader.js.map +1 -1
  24. package/dist/cjs/hooks.js +1 -1
  25. package/dist/cjs/index.js +9 -6
  26. package/dist/cjs/index.js.map +1 -1
  27. package/dist/cjs/v2/AssetLibrary.js +40 -0
  28. package/dist/cjs/v2/AssetLibrary.js.map +1 -0
  29. package/dist/cjs/v2/BasicImageUploader.js +71 -0
  30. package/dist/cjs/v2/BasicImageUploader.js.map +1 -0
  31. package/dist/cjs/v2/ImageForm.js +324 -0
  32. package/dist/cjs/v2/ImageForm.js.map +1 -0
  33. package/dist/cjs/v2/ImageUploader.js +247 -0
  34. package/dist/cjs/v2/ImageUploader.js.map +1 -0
  35. package/dist/cjs/v2/hooks.js +27 -0
  36. package/dist/cjs/v2/hooks.js.map +1 -0
  37. package/dist/cjs/v2/index.js +61 -0
  38. package/dist/cjs/v2/index.js.map +1 -0
  39. package/dist/cjs/v2/utils.js +9 -0
  40. package/dist/cjs/v2/utils.js.map +1 -0
  41. package/dist/constants-Csle2bxb.js +56 -0
  42. package/dist/constants-Csle2bxb.js.map +1 -0
  43. package/dist/constants-DI8wBtC-.js +68 -0
  44. package/dist/constants-DI8wBtC-.js.map +1 -0
  45. package/dist/hooks.js +3 -3
  46. package/dist/{imagekit.esm-CXW6c1fP.js → imagekit.esm-IYQEzBnD.js} +2 -2
  47. package/dist/{imagekit.esm-CXW6c1fP.js.map → imagekit.esm-IYQEzBnD.js.map} +1 -1
  48. package/dist/index-BuSc2dEl.js +949 -0
  49. package/dist/index-BuSc2dEl.js.map +1 -0
  50. package/dist/index-CBorETxd.js +972 -0
  51. package/dist/index-CBorETxd.js.map +1 -0
  52. package/dist/index-Cv97u10a.js +952 -0
  53. package/dist/index-Cv97u10a.js.map +1 -0
  54. package/dist/index-krkZ4CNS.js +969 -0
  55. package/dist/index-krkZ4CNS.js.map +1 -0
  56. package/dist/index.js +10 -7
  57. package/dist/index.js.map +1 -1
  58. package/dist/{useImageUploader-BLOdyAwv.js → useImageUploader-D8luC4Qw.js} +2 -2
  59. package/dist/{useImageUploader-BLOdyAwv.js.map → useImageUploader-D8luC4Qw.js.map} +1 -1
  60. package/dist/{useProfileImageUpload-CiGxDpEx.js → useProfileImageUpload-CbjVfcfI.js} +3 -3
  61. package/dist/{useProfileImageUpload-CiGxDpEx.js.map → useProfileImageUpload-CbjVfcfI.js.map} +1 -1
  62. package/dist/{useProfileImageUpload-DkmUBjtt.js → useProfileImageUpload-DbanXK57.js} +6 -6
  63. package/dist/useProfileImageUpload-DbanXK57.js.map +1 -0
  64. package/dist/useUnsplashApi-CNeNh58q.js +1065 -0
  65. package/dist/useUnsplashApi-CNeNh58q.js.map +1 -0
  66. package/dist/useUnsplashApi-D_ekWD8p.js +1057 -0
  67. package/dist/useUnsplashApi-D_ekWD8p.js.map +1 -0
  68. package/dist/useUploadDropzone-8Xa8PI-1.js +56 -0
  69. package/dist/useUploadDropzone-8Xa8PI-1.js.map +1 -0
  70. package/dist/useUploadDropzone-DMv8VMRF.js +58 -0
  71. package/dist/useUploadDropzone-DMv8VMRF.js.map +1 -0
  72. package/dist/utils-BTmA9hHb.js +364 -0
  73. package/dist/utils-BTmA9hHb.js.map +1 -0
  74. package/dist/{utils-YicuhSoR.js → utils-D5iQ8UME.js} +29 -66
  75. package/dist/utils-D5iQ8UME.js.map +1 -0
  76. package/dist/{utils-CoOpqzJA.js → utils-De7yUxgQ.js} +37 -75
  77. package/dist/utils-De7yUxgQ.js.map +1 -0
  78. package/dist/utils-DyCNC3w5.js +347 -0
  79. package/dist/utils-DyCNC3w5.js.map +1 -0
  80. package/dist/v2/AssetLibrary.js +34 -0
  81. package/dist/v2/AssetLibrary.js.map +1 -0
  82. package/dist/v2/BasicImageUploader.js +69 -0
  83. package/dist/v2/BasicImageUploader.js.map +1 -0
  84. package/dist/v2/ImageForm.js +322 -0
  85. package/dist/v2/ImageForm.js.map +1 -0
  86. package/dist/v2/ImageUploader.js +245 -0
  87. package/dist/v2/ImageUploader.js.map +1 -0
  88. package/dist/v2/hooks.js +19 -0
  89. package/dist/v2/hooks.js.map +1 -0
  90. package/dist/v2/index.js +48 -0
  91. package/dist/v2/index.js.map +1 -0
  92. package/dist/v2/utils.js +3 -0
  93. package/dist/v2/utils.js.map +1 -0
  94. package/package.json +51 -39
  95. package/dist/index-BGVHZZys.js +0 -2410
  96. package/dist/index-BGVHZZys.js.map +0 -1
  97. package/dist/index-CjVmJmv5.js +0 -2413
  98. package/dist/index-CjVmJmv5.js.map +0 -1
  99. package/dist/useProfileImageUpload-DkmUBjtt.js.map +0 -1
  100. package/dist/utils-CoOpqzJA.js.map +0 -1
  101. package/dist/utils-YicuhSoR.js.map +0 -1
@@ -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":";;;;;;;;;;;;;;;;;"}
@@ -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-BuSc2dEl.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-D5iQ8UME.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-CSHOljd2.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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,3 @@
1
+ import '../query-BJnGLX4z.js';
2
+ export { refetchImageLibraryAssetList } from '../utils.js';
3
+ //# sourceMappingURL=utils.js.map
@@ -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.2",
3
+ "version": "4.0.4",
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.120",
72
- "@bigbinary/neeto-editor": "1.47.99",
73
- "@bigbinary/neeto-filters-frontend": "4.3.32",
74
- "@bigbinary/neeto-icons": "1.20.86",
75
- "@bigbinary/neeto-molecules": "4.1.54",
76
- "@bigbinary/neeto-team-members-frontend": "5.0.29",
77
- "@bigbinary/neetoui": "8.6.0",
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": "^0.1.1",
91
- "@tailwindcss/postcss": "^4.1.16",
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": "^2.0.0",
105
+ "assert": "2.0.0",
95
106
  "autoprefixer": "^10.4.5",
96
- "axios": "1.13.6",
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": "^0.2.0",
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": "^6.7.1",
111
- "dompurify": "3.3.2",
112
- "dotenv-webpack": "^8.0.1",
121
+ "css-loader": "6.7.1",
122
+ "dompurify": "3.4.1",
123
+ "dotenv-webpack": "8.0.1",
113
124
  "eslint": "^9.25.1",
114
125
  "eslint-config-prettier": "^10.1.2",
115
- "eslint-plugin-cypress": "^4.3.0",
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": "^14.1.0",
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": "^2.0.0",
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": "^2.6.1",
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": "^0.0.1",
144
- "postcss": "8.4.49",
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": "^0.7.1",
150
- "process": "^0.11.10",
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": "^10.0.9",
159
- "react-masonry-infinite": "^1.2.2",
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,39 +183,40 @@
172
183
  "stream-browserify": "^3.0.0",
173
184
  "stream-http": "3.2.0",
174
185
  "style-loader": "^3.3.1",
175
- "tailwindcss": "^4.1.16",
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": "^5.1.0",
192
+ "webpack-assets-manifest": "5.1.0",
182
193
  "webpack-cli": "4.10.0",
183
- "webpack-dev-server": "^5.2.1",
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.120",
191
- "@bigbinary/neeto-editor": "1.47.99",
192
- "@bigbinary/neeto-filters-frontend": "4.3.32",
193
- "@bigbinary/neeto-icons": "1.20.86",
194
- "@bigbinary/neeto-molecules": "4.1.54",
195
- "@bigbinary/neeto-team-members-frontend": "5.0.29",
196
- "@bigbinary/neetoui": "8.6.0",
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": "^0.1.1",
212
+ "@tailwindcss/container-queries": "0.1.1",
201
213
  "@tanstack/react-query": "5.59.20",
202
214
  "antd": "5.22.1",
203
- "axios": "1.13.6",
215
+ "axios": "1.16.0",
204
216
  "buffer": "^6.0.3",
205
217
  "classnames": "2.5.1",
206
218
  "crypto-browserify": "3.12.1",
207
- "dompurify": "3.3.2",
219
+ "dompurify": "3.4.1",
208
220
  "formik": "2.4.6",
209
221
  "https-browserify": "1.0.0",
210
222
  "i18next": "22.5.1",