@bigbinary/neeto-image-uploader-frontend 1.0.4 → 1.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/index.cjs.js +6167 -6235
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +6168 -6236
- package/dist/index.js.map +1 -1
- package/package.json +113 -81
- package/types.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,163 +1,195 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigbinary/neeto-image-uploader-frontend",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
7
|
-
"engines": {
|
|
8
|
-
"node": ">=18.12",
|
|
9
|
-
"npm": ">=9",
|
|
10
|
-
"yarn": ">=1.22"
|
|
3
|
+
"version": "1.0.5",
|
|
4
|
+
"license": "UNLICENSED",
|
|
5
|
+
"bugs": {
|
|
6
|
+
"url": "https://github.com/bigbinary/neeto-message-templates-engine/issues"
|
|
11
7
|
},
|
|
8
|
+
"repository": "neeto-message-templates-engine",
|
|
9
|
+
"author": "BigBinary",
|
|
12
10
|
"files": [
|
|
13
|
-
"dist
|
|
11
|
+
"dist",
|
|
14
12
|
"types.d.ts"
|
|
15
13
|
],
|
|
14
|
+
"main": "dist/index.cjs.js",
|
|
15
|
+
"module": "dist/index.js",
|
|
16
|
+
"types": "types.d.ts",
|
|
16
17
|
"scripts": {
|
|
18
|
+
"build": "NODE_ENV=production rollup -c --environment production",
|
|
17
19
|
"prepare": "husky install",
|
|
18
|
-
"
|
|
20
|
+
"release": "yarn build && yalc push --sig",
|
|
19
21
|
"build-preview": "NODE_ENV=production webpack"
|
|
20
22
|
},
|
|
21
23
|
"lint-staged": {
|
|
22
|
-
"app
|
|
23
|
-
"
|
|
24
|
+
"app/**/*.{html,md,js,css,jsx,json,yml}": [
|
|
25
|
+
"prettier --write",
|
|
26
|
+
"eslint --cache --fix"
|
|
27
|
+
],
|
|
28
|
+
"cypress-tests/**/*.{html,md,js,css,jsx,json,yml}": [
|
|
29
|
+
"prettier --write",
|
|
30
|
+
"eslint --cache --fix"
|
|
31
|
+
],
|
|
32
|
+
"{package.json,.eslintrc.js,.prettierrc.js}": [
|
|
33
|
+
"prettier --write",
|
|
34
|
+
"eslint --cache --fix"
|
|
24
35
|
],
|
|
25
36
|
"./**/*.rb": [
|
|
26
|
-
"bundle exec rubocop -a"
|
|
37
|
+
"bundle exec rubocop -a --force-exclusion"
|
|
27
38
|
],
|
|
28
39
|
"{Gemfile,Rakefile,config.ru}": [
|
|
29
|
-
"bundle exec rubocop -a"
|
|
40
|
+
"bundle exec rubocop -a --force-exclusion"
|
|
30
41
|
],
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"eslint --fix"
|
|
42
|
+
"app/views/**/*.html.erb": [
|
|
43
|
+
"bundle exec erblint --lint-all --format compact -a"
|
|
34
44
|
]
|
|
35
45
|
},
|
|
36
46
|
"devDependencies": {
|
|
37
|
-
"@babel/core": "
|
|
38
|
-
"@babel/eslint-parser": "7.
|
|
39
|
-
"@babel/plugin-transform-runtime": "
|
|
40
|
-
"@babel/preset-env": "7.
|
|
41
|
-
"@babel/preset-react": "7.
|
|
42
|
-
"@babel/preset-typescript": "
|
|
43
|
-
"@babel/runtime": "
|
|
44
|
-
"@bigbinary/
|
|
45
|
-
"@bigbinary/
|
|
47
|
+
"@babel/core": "7.21.5",
|
|
48
|
+
"@babel/eslint-parser": "7.21.3",
|
|
49
|
+
"@babel/plugin-transform-runtime": "7.21.4",
|
|
50
|
+
"@babel/preset-env": "7.21.5",
|
|
51
|
+
"@babel/preset-react": "7.18.6",
|
|
52
|
+
"@babel/preset-typescript": "7.21.5",
|
|
53
|
+
"@babel/runtime": "7.21.5",
|
|
54
|
+
"@bigbinary/babel-preset-neeto": "1.0.3",
|
|
55
|
+
"@bigbinary/eslint-plugin-neeto": "1.0.41",
|
|
56
|
+
"@bigbinary/neeto-commons-frontend": "2.0.42",
|
|
57
|
+
"@bigbinary/neeto-editor": "^1.26.3",
|
|
58
|
+
"@bigbinary/neeto-filters-frontend": "2.10.1",
|
|
46
59
|
"@bigbinary/neeto-icons": "^1.11.0",
|
|
47
|
-
"@bigbinary/
|
|
60
|
+
"@bigbinary/neeto-molecules": "^1.0.30",
|
|
61
|
+
"@bigbinary/neeto-team-members-frontend": "2.7.2",
|
|
62
|
+
"@bigbinary/neetoui": "4.4.27",
|
|
48
63
|
"@emotion/is-prop-valid": "1.2.0",
|
|
64
|
+
"@faker-js/faker": "7.6.0",
|
|
49
65
|
"@honeybadger-io/react": "2.0.1",
|
|
66
|
+
"@rails/activestorage": "^7.0.4",
|
|
50
67
|
"@rollup/plugin-alias": "5.0.0",
|
|
51
68
|
"@rollup/plugin-babel": "6.0.3",
|
|
52
69
|
"@rollup/plugin-commonjs": "24.1.0",
|
|
53
70
|
"@rollup/plugin-json": "6.0.0",
|
|
54
|
-
"@rollup/plugin-node-resolve": "15.0.2",
|
|
71
|
+
"@rollup/plugin-node-resolve": "^15.0.2",
|
|
55
72
|
"@rollup/plugin-replace": "5.0.2",
|
|
56
73
|
"@svgr/rollup": "7.0.0",
|
|
57
|
-
"antd": "4.
|
|
58
|
-
"
|
|
59
|
-
"autoprefixer": "^10.4.5",
|
|
74
|
+
"antd": "4.18.7",
|
|
75
|
+
"autoprefixer": "10.4.14",
|
|
60
76
|
"axios": "0.27.2",
|
|
61
|
-
"babel-loader": "
|
|
62
|
-
"babel-plugin-istanbul": "
|
|
77
|
+
"babel-loader": "9.1.2",
|
|
78
|
+
"babel-plugin-istanbul": "6.1.1",
|
|
63
79
|
"babel-plugin-js-logger": "1.0.17",
|
|
64
80
|
"babel-plugin-macros": "3.1.0",
|
|
65
81
|
"babel-plugin-transform-react-remove-prop-types": "0.4.24",
|
|
66
82
|
"babel-preset-react": "6.24.1",
|
|
67
|
-
"babel-preset-typescript": "
|
|
83
|
+
"babel-preset-typescript": "7.0.0-alpha.19",
|
|
68
84
|
"browserify-zlib": "^0.2.0",
|
|
69
85
|
"buffer": "^6.0.3",
|
|
70
|
-
"classnames": "2.3.
|
|
86
|
+
"classnames": "2.3.2",
|
|
71
87
|
"crypto-browserify": "^3.12.0",
|
|
72
|
-
"css-loader": "6.7.1",
|
|
73
|
-
"
|
|
88
|
+
"css-loader": "^6.7.1",
|
|
89
|
+
"dompurify": "3.0.2",
|
|
74
90
|
"dotenv-webpack": "^8.0.1",
|
|
75
|
-
"eslint": "8.
|
|
76
|
-
"eslint-config-prettier": "8.
|
|
77
|
-
"eslint-plugin-cypress": "2.
|
|
78
|
-
"eslint-plugin-import": "2.
|
|
91
|
+
"eslint": "8.39.0",
|
|
92
|
+
"eslint-config-prettier": "8.8.0",
|
|
93
|
+
"eslint-plugin-cypress": "2.13.3",
|
|
94
|
+
"eslint-plugin-import": "2.27.5",
|
|
79
95
|
"eslint-plugin-jam3": "0.2.3",
|
|
80
96
|
"eslint-plugin-json": "3.1.0",
|
|
81
|
-
"eslint-plugin-prettier": "4.
|
|
82
|
-
"eslint-plugin-promise": "6.
|
|
83
|
-
"eslint-plugin-react": "7.
|
|
84
|
-
"eslint-plugin-react-hooks": "4.
|
|
97
|
+
"eslint-plugin-prettier": "4.2.1",
|
|
98
|
+
"eslint-plugin-promise": "6.1.1",
|
|
99
|
+
"eslint-plugin-react": "7.32.2",
|
|
100
|
+
"eslint-plugin-react-hooks": "4.6.0",
|
|
85
101
|
"eslint-plugin-unused-imports": "2.0.0",
|
|
86
102
|
"formik": "2.2.9",
|
|
87
|
-
"html-loader": "4.2.0",
|
|
88
103
|
"html-webpack-plugin": "5.5.0",
|
|
89
104
|
"https-browserify": "^1.0.0",
|
|
90
|
-
"husky": "
|
|
91
|
-
"i18next": "22.4.
|
|
105
|
+
"husky": "8.0.3",
|
|
106
|
+
"i18next": "22.4.10",
|
|
107
|
+
"i18next-browser-languagedetector": "7.0.1",
|
|
92
108
|
"imagekitio-react": "^2.0.0",
|
|
93
|
-
"js-logger": "
|
|
94
|
-
"lint-staged": "
|
|
95
|
-
"mini-css-extract-plugin": "^2.
|
|
96
|
-
"mixpanel-browser": "
|
|
109
|
+
"js-logger": "1.6.1",
|
|
110
|
+
"lint-staged": "13.2.2",
|
|
111
|
+
"mini-css-extract-plugin": "^2.6.1",
|
|
112
|
+
"mixpanel-browser": "2.46.0",
|
|
97
113
|
"os-browserify": "^0.3.0",
|
|
98
114
|
"path-browserify": "^1.0.1",
|
|
99
115
|
"perf_hooks": "^0.0.1",
|
|
100
|
-
"postcss": "
|
|
101
|
-
"postcss-import": "
|
|
102
|
-
"postcss-loader": "
|
|
103
|
-
"postcss-preset-env": "
|
|
104
|
-
"prettier": "2.
|
|
105
|
-
"prettier-plugin-tailwindcss": "0.
|
|
116
|
+
"postcss": "8.4.23",
|
|
117
|
+
"postcss-import": "15.1.0",
|
|
118
|
+
"postcss-loader": "7.3.0",
|
|
119
|
+
"postcss-preset-env": "8.3.2",
|
|
120
|
+
"prettier": "2.8.8",
|
|
121
|
+
"prettier-plugin-tailwindcss": "0.2.8",
|
|
106
122
|
"process": "^0.11.10",
|
|
107
|
-
"prop-types": "15.8.1",
|
|
108
123
|
"ramda": "0.28.0",
|
|
109
124
|
"react": "17.0.2",
|
|
110
125
|
"react-dom": "17.0.2",
|
|
111
126
|
"react-dropzone": "^14.2.3",
|
|
112
|
-
"react-helmet": "
|
|
113
|
-
"react-i18next": "
|
|
127
|
+
"react-helmet": "6.1.0",
|
|
128
|
+
"react-i18next": "11.16.8",
|
|
114
129
|
"react-image-crop": "^10.0.9",
|
|
115
130
|
"react-masonry-infinite": "^1.2.2",
|
|
116
|
-
"react-query": "3.39.
|
|
117
|
-
"react-router-dom": "5.
|
|
131
|
+
"react-query": "3.39.3",
|
|
132
|
+
"react-router-dom": "5.2.0",
|
|
118
133
|
"react-toastify": "8.0.2",
|
|
119
|
-
"react-transition-group": "4.4.5",
|
|
120
134
|
"react_ujs": "2.6.2",
|
|
121
135
|
"rollup": "2.79.1",
|
|
122
136
|
"rollup-plugin-analyzer": "4.0.0",
|
|
123
137
|
"rollup-plugin-cleaner": "1.0.0",
|
|
124
138
|
"rollup-plugin-peer-deps-external": "2.2.4",
|
|
125
139
|
"rollup-plugin-styles": "4.0.0",
|
|
126
|
-
"sass": "
|
|
140
|
+
"sass": "1.62.1",
|
|
127
141
|
"sass-loader": "^13.0.2",
|
|
128
142
|
"shakapacker": "6.5.2",
|
|
129
143
|
"stream-browserify": "^3.0.0",
|
|
130
144
|
"stream-http": "^3.2.0",
|
|
131
|
-
"style-loader": "3.3.1",
|
|
145
|
+
"style-loader": "^3.3.1",
|
|
132
146
|
"tailwindcss": "npm:@tailwindcss/postcss7-compat",
|
|
133
147
|
"tty-browserify": "^0.0.1",
|
|
134
148
|
"url": "^0.11.0",
|
|
135
|
-
"util": "
|
|
149
|
+
"util": "0.12.5",
|
|
136
150
|
"vm-browserify": "^1.1.2",
|
|
137
151
|
"webpack": "5.76.0",
|
|
138
152
|
"webpack-assets-manifest": "^5.1.0",
|
|
139
153
|
"webpack-cli": "4.10.0",
|
|
140
|
-
"webpack-dev-server": "4.
|
|
154
|
+
"webpack-dev-server": "^4.15.0",
|
|
141
155
|
"yup": "0.32.11"
|
|
142
156
|
},
|
|
143
157
|
"peerDependencies": {
|
|
144
|
-
"@bigbinary/neeto-commons-frontend": "
|
|
145
|
-
"@bigbinary/neeto-
|
|
146
|
-
"@bigbinary/neeto-
|
|
147
|
-
"@bigbinary/
|
|
148
|
-
"@
|
|
149
|
-
"
|
|
150
|
-
"
|
|
151
|
-
"
|
|
152
|
-
"
|
|
153
|
-
"
|
|
154
|
-
"
|
|
158
|
+
"@bigbinary/neeto-commons-frontend": "^2.0.54",
|
|
159
|
+
"@bigbinary/neeto-editor": "^1.26.3",
|
|
160
|
+
"@bigbinary/neeto-filters-frontend": "^2.8.1",
|
|
161
|
+
"@bigbinary/neeto-icons": "^1.9.22",
|
|
162
|
+
"@bigbinary/neeto-molecules": "^1.0.30",
|
|
163
|
+
"@bigbinary/neetoui": "^4.4.10",
|
|
164
|
+
"@honeybadger-io/react": "^2.0.1",
|
|
165
|
+
"@rails/activestorage": "^7.0.4",
|
|
166
|
+
"assert": "^2.0.0",
|
|
167
|
+
"axios": "^0.27.2",
|
|
168
|
+
"classnames": "^2.3.2",
|
|
169
|
+
"formik": "^2.2.9",
|
|
170
|
+
"js-logger": "^1.6.1",
|
|
171
|
+
"mixpanel-browser": "^2.45.0",
|
|
172
|
+
"ramda": "^0.28.0",
|
|
155
173
|
"react": "17.0.2",
|
|
156
174
|
"react-dom": "17.0.2",
|
|
157
175
|
"react-helmet": "^6.1.0",
|
|
158
176
|
"react-query": "3.39.2",
|
|
159
177
|
"react-router-dom": "5.3.0",
|
|
160
|
-
"react-toastify": "8.0
|
|
161
|
-
"yup": "0.32.11"
|
|
178
|
+
"react-toastify": "8.2.0",
|
|
179
|
+
"yup": "^0.32.11",
|
|
180
|
+
"zustand": "4.3.2"
|
|
181
|
+
},
|
|
182
|
+
"resolutions": {
|
|
183
|
+
"postcss": "^8"
|
|
184
|
+
},
|
|
185
|
+
"engines": {
|
|
186
|
+
"node": ">=18.12",
|
|
187
|
+
"npm": ">=9",
|
|
188
|
+
"yarn": ">=1.22"
|
|
189
|
+
},
|
|
190
|
+
"dependencies": {
|
|
191
|
+
"react-router-nav-prompt": "0.4.1",
|
|
192
|
+
"source-map-loader": "^4.0.1",
|
|
193
|
+
"zustand": "4.3.2"
|
|
162
194
|
}
|
|
163
195
|
}
|
package/types.d.ts
CHANGED
|
@@ -29,7 +29,7 @@ interface VideoProps {
|
|
|
29
29
|
className?: string;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export function
|
|
32
|
+
export function NeetoImageUploader(props: ImageUploaderProps): JSX.Element;
|
|
33
33
|
|
|
34
34
|
export function Image(props: ImageProps): JSX.Element;
|
|
35
35
|
|