react-schema-form 0.9.9 → 1.0.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-schema-form",
3
- "version": "0.9.9",
3
+ "version": "1.0.3",
4
4
  "description": "React json schema form",
5
5
  "keywords": [
6
6
  "json schema",
@@ -18,7 +18,7 @@
18
18
  "module": "dist/index.modern.js",
19
19
  "source": "src/index.js",
20
20
  "engines": {
21
- "node": ">=10"
21
+ "node": ">=14"
22
22
  },
23
23
  "scripts": {
24
24
  "build": "microbundle-crl --no-compress --format modern,cjs",
@@ -33,51 +33,60 @@
33
33
  "deploy": "gh-pages -d example/build"
34
34
  },
35
35
  "peerDependencies": {
36
- "@material-ui/core": ">=4.11.0",
37
- "@material-ui/icons": ">=4.9.1",
38
- "react": ">=16.13.1",
39
- "react-dom": ">=16.13.1",
40
- "react-is": ">=16.13.1"
36
+ "@emotion/react": "^11.6.0",
37
+ "@emotion/styled": "^11.6.0",
38
+ "@mui/icons-material": "^5.1.0",
39
+ "@mui/material": "^5.1.0",
40
+ "@mui/styles": "^5.1.0",
41
+ "@mui/x-data-grid": "^5.0.1",
42
+ "react": ">=^17.0.2",
43
+ "react-dom": ">=^17.0.2",
44
+ "react-is": ">=17.0.2"
41
45
  },
42
46
  "devDependencies": {
43
- "@material-ui/core": ">=4.11.0",
44
- "@material-ui/icons": ">=4.9.1",
45
- "babel-eslint": "^10.0.3",
46
- "cross-env": "^7.0.2",
47
+ "@emotion/react": "^11.6.0",
48
+ "@emotion/styled": "^11.6.0",
49
+ "@mui/icons-material": "^5.1.0",
50
+ "@mui/material": "^5.1.0",
51
+ "@mui/styles": "^5.1.0",
52
+ "@mui/x-data-grid": "^5.0.1",
53
+ "@babel/eslint-parser": "^7.16.5",
54
+ "cross-env": "^7.0.3",
47
55
  "enzyme": "^3.11.0",
48
- "enzyme-adapter-react-16": "^1.15.4",
49
- "eslint": "^6.8.0",
50
- "eslint-config-prettier": "^6.7.0",
51
- "eslint-config-standard": "^14.1.0",
52
- "eslint-config-standard-react": "^9.2.0",
53
- "eslint-plugin-import": "^2.18.2",
56
+ "enzyme-adapter-react-16": "^1.15.6",
57
+ "eslint": "^8.5.0",
58
+ "eslint-config-prettier": "^8.3.0",
59
+ "eslint-config-standard": "^16.0.3",
60
+ "eslint-config-standard-react": "^11.0.1",
61
+ "eslint-plugin-import": "^2.25.3",
54
62
  "eslint-plugin-node": "^11.0.0",
55
- "eslint-plugin-prettier": "^3.1.1",
56
- "eslint-plugin-promise": "^4.2.1",
57
- "eslint-plugin-react": "^7.17.0",
58
- "eslint-plugin-standard": "^4.0.1",
59
- "gh-pages": "^2.2.0",
63
+ "eslint-plugin-prettier": "^4.0.0",
64
+ "eslint-plugin-promise": "^6.0.0",
65
+ "eslint-plugin-react": "^7.28.0",
66
+ "eslint-plugin-standard": "^5.0.0",
67
+ "gh-pages": "^3.2.3",
60
68
  "microbundle-crl": "^0.13.10",
61
69
  "npm-run-all": "^4.1.5",
62
- "prettier": "^2.0.4",
63
- "react": "^16.13.1",
64
- "react-dom": "^16.13.1",
65
- "react-scripts": "^3.4.1"
70
+ "prettier": "^2.5.1",
71
+ "react": "^17.0.2",
72
+ "react-dom": "^17.0.2",
73
+ "react-scripts": "^5.0.0"
66
74
  },
67
75
  "files": [
68
76
  "dist"
69
77
  ],
70
78
  "dependencies": {
71
- "classnames": "^2.2.6",
79
+ "classnames": "^2.3.1",
72
80
  "lodash": "^4.17.15",
73
81
  "notevil": "^1.3.2",
74
- "objectpath": "1.2.2",
75
- "prop-types": "^15.7.2",
76
- "react-autosuggest": "^9.4.3",
77
- "react-checkbox-tree": "^1.6.0",
78
- "react-mde": "^11.0.0",
82
+ "objectpath": "2.0.0",
83
+ "prop-types": "^15.8.0",
84
+ "react-autosuggest": "^10.1.0",
85
+ "react-checkbox-tree": "^1.7.2",
86
+ "react-mde": "^11.5.0",
79
87
  "showdown": "^1.9.1",
80
- "supports-color": "^7.1.0",
81
- "tv4": "^1.3.0"
88
+ "supports-color": "^9.2.1",
89
+ "tv4": "^1.3.0",
90
+ "universal-cookie": "^4.0.4"
82
91
  }
83
92
  }
package/CHANGELOG.md DELETED
@@ -1,325 +0,0 @@
1
- # Change Log
2
- All notable changes to this project will be documented in this file.
3
-
4
- The format is based on [Keep a Changelog](http://keepachangelog.com/)
5
- and this project adheres to [Semantic Versioning](http://semver.org/).
6
-
7
- ## [Unreleased]
8
- ### Added
9
-
10
- ### Changed
11
-
12
- ## 0.9.6 - 2020-09-17
13
- ### Added
14
-
15
- ### Changed
16
- - fixes #220 resolve a react warning after upgrade to 16.13.x
17
- - fixes #219 switch taxnomy to react-checkbox-tree implementation
18
- - fixes #218 change the taxonomy wrapper to remove the root style
19
- - fixes #217 add taxonomy and example for light-portal category management
20
- - fixes #216 add several examples for testing and light-portal
21
- - fixes #215 resolve the value update for checkbox
22
-
23
- ## 0.9.2 - 2020-09-09
24
- ### Added
25
-
26
- ### Changed
27
- - fixes #214 Add markdown field to support light-portal forms
28
- - fixes #213 add dev dependencies to fix unit test cases
29
- - fixes #212 Run the lint with the new configuration and remove lib folder
30
-
31
- ## 0.9.0 - 2020-09-08
32
- ### Added
33
-
34
- ### Changed
35
- - fixes #211 update build environment with create-react-library
36
- - fixes #207 add dbInfo to the light-codegen config form conditionally
37
-
38
- ## 0.8.8 - 2020-07-28
39
- ### Added
40
-
41
- ### Changed
42
- - fixes #204 update Checkbox to functional component with default value handling
43
-
44
- ## 0.8.7 - 2020-05-05
45
- ### Added
46
-
47
- ### Changed
48
- - fixes #196 add timestamp component to default to the current Date()
49
-
50
- ## 0.8.6 - 2020-04-24
51
- ### Added
52
-
53
- ### Changed
54
- - fixes #195 add setDefault to populate default value from the Select constructor
55
-
56
- ## 0.8.5 - 2020-04-21
57
- ### Added
58
-
59
- ### Changed
60
- - fixes #194 fix the logic for default value for Select component
61
-
62
- ## 0.8.4 - 2020-02-19
63
- ### Added
64
-
65
- ### Changed
66
- - fixes #191 Allow additional contexts to be passed to be used in evaluation of condition property. Thanks @struankl
67
-
68
- ## 0.8.3 - 2019-12-30
69
- ### Added
70
-
71
- ### Changed
72
- - fixes #189 Check if obj is not null. Thanks @psamim
73
-
74
-
75
- ## 0.8.2 - 2019-12-24
76
- ### Added
77
-
78
- ### Changed
79
- - fixes #188 fix bug in removing empty value. Thanks @sahba-changizi
80
- - fixes #187 I25 add support for multi selects. Thanks @naeemba
81
-
82
- ## 0.8.1 - 2019-12-20
83
- ### Added
84
-
85
- ### Changed
86
- - fixes #182 move the webpack-config from dependencies to devDependencies
87
- - fixes #183 rebuilt the example code with webpack
88
- - fixes #184 add README.md to the example folder
89
- - Fixes #185 add support for multi selects. Thanks @naeemba
90
- - fixes #186 resolve a small lint issue
91
-
92
- ## 0.8.0 - 2019-11-29
93
- ### Added
94
-
95
- ### Changed
96
- - Fix 179 upgrade dependencies to the latest and node 12 is needed
97
-
98
- ## 0.7.1 - 2019-09-29
99
- ### Added
100
-
101
- ### Changed
102
- - Fix 175 Fix conditional array. Thanks @ psamim
103
- - Fix 176 fix the security issue reported by npm with npm audit fix
104
-
105
- ## 0.7.0 - 2019-07-07
106
- ### Added
107
-
108
- ### Changed
109
- - Fix 169 Update to material-ui v4. Thanks @naeemba
110
-
111
- ## 0.6.15 - 2019-06-18
112
- ### Added
113
-
114
- ### Changed
115
- - Fix 167 Array tuple example/support. Thanks @fauxsoup
116
-
117
-
118
- ## 0.6.13 - 2019-06-03
119
- ### Added
120
-
121
- ### Changed
122
- - Fix 163 Allow htmlClass on fieldset elements. Thanks @fauxsoup
123
-
124
- ## 0.6.12 - 2019-03-26
125
- ### Added
126
-
127
- ### Changed
128
- - I 160 incorrect errors for not required null fields. Thanks @naeemba
129
-
130
- ## 0.6.11 - 2019-01-30
131
- ### Added
132
-
133
- ### Changed
134
- - I18 add other props to elements #159. Thanks @naeemba
135
-
136
- ## 0.6.10 - 2019-01-15
137
- ### Added
138
-
139
- ### Changed
140
- - Fix error message and description on Select #156. Thanks @naeemba
141
-
142
- ## 0.6.9 - 2019-01-02
143
- ### Added
144
-
145
- ### Changed
146
- - Support objects in selects #153. Thanks @naeemba
147
- - Remove peer dependancy on a fixed version of material-ui #154. Thanks @psamim
148
-
149
-
150
- ## 0.6.8 - 2018-12-31
151
- ### Added
152
-
153
- ### Changed
154
- - Improvements on array component #149. Thanks @naeemba
155
- - Array: fix bug causing nested arrays TextFields loose focus on type #150. Thanks @naeemba
156
- - fix eslint errors #152. Thanks @naeemba
157
-
158
- ## 0.6.7 - 2018-12-25
159
- ### Added
160
- - Render custom labels for required fields #146. Thanks @naeemba
161
-
162
- ### Changed
163
-
164
- ## 0.6.6 - 2018-12-23
165
- ### Added
166
- - Add support for localization #144. Thanks @naeemba
167
-
168
- ### Changed
169
- - Validation behaviour on load #136 Thanks @naeemba
170
-
171
-
172
- ## 0.6.5 - 2018-12-18
173
- ### Added
174
-
175
- ### Changed
176
- - Conditionals in array objects #142. Thanks @struankl
177
-
178
- ## 0.6.4 - 2018-12-13
179
- ### Added
180
-
181
- ### Changed
182
- - fix the help to inject text on form and add an example #141
183
-
184
- ## 0.6.3 - 2018-12-07
185
- ### Added
186
-
187
- ### Changed
188
- - arrayselect seems not working in the example #121
189
-
190
- ## 0.6.2 - 2018-11-26
191
- ### Added
192
-
193
- ### Changed
194
- - Updating project dependencies to latest version #135. Thanks @naeemba
195
- - Flow #134. Thanks @naeemba
196
-
197
- ## 0.6.1 - 2018-11-19
198
- ### Added
199
-
200
- ### Changed
201
- - Fixes Validation Errors not Showing. Thanks @thefringeninja
202
-
203
-
204
- ## 0.6.0 - 2018-10-31
205
- ### Added
206
-
207
- ### Changed
208
- - It is a massive release with latest react and material-ui support. Thanks @JFrankfurt, @dogada, @gtaschuk and @naeemba
209
-
210
- ## 0.5.0 - 2018-09-20
211
- ### Added
212
-
213
- ### Changed
214
- - upgrade to react 16.5.1 and material-ui/core 1.5.1(Thanks @dogada and @SadMonster)
215
-
216
-
217
- ## 0.4.1 - 2018-08-06
218
- ### Added
219
-
220
- ### Changed
221
- - fix some issues with 0.4.0 release(Thanks @gtaschuk)
222
-
223
- ## 0.4.0 - 2018-07-17
224
- ### Added
225
-
226
- ### Changed
227
- - fix number can not empty(Thanks @weilaihui)
228
- - fix Date field can't be cleared issue #77 (Thanks @taitt)
229
- - Merge pull request #79 from weilaihui/master
230
- - Merge pull request #80 from bakaoh/master
231
- - show the clear icon only when there was a value(Thanks @taitt)
232
- - Merge pull request #81 from bakaoh/master
233
- - Simplify canonicalTitleMap processing (Thanks @XaviTorello)
234
- - utils.canonicalTitleMap transpilation (Thanks @XaviTorello)
235
- - Add TextSuggest component (Thanks @XaviTorello)
236
- - Add TextSuggest to schemaForm using "textsuggest" as mapper (Thanks @XaviTorello)
237
- - Ready to work textsuggest component! (Thanks @XaviTorello)
238
- - Add dataSourceConfig to link passed datasource keys (Thanks @XaviTorello)
239
- - Activate openOnFocus (Thanks @XaviTorello)
240
- - Use the generated titleMap as dataSource (Thanks @XaviTorello)
241
- - Intercept changes and pass it to the form handler (Thanks @XaviTorello)
242
- - Clean debug mark (Thanks @XaviTorello)
243
- - Add react-autosuggest dependency for textsuggest fields (Thanks @XaviTorello)
244
- - Add textsuggest autoInit method (Thanks @XaviTorello)
245
- - Add default value if passed to textsuggest (Thanks @XaviTorello)
246
- - Add new TextSuggest field transpilation (Thanks @XaviTorello)
247
- - Add latest SchemaForm transpiled version (Thanks @XaviTorello)
248
- - Identify all SchemaForm fields by an unique key based on their form.key (Thanks @XaviTorello)
249
- - Merge pull request #2 from XaviTorello/fix_fields_identification
250
- - Update transpiled SchemaForm (Thanks @XaviTorello)
251
- - Merge pull request #3 from XaviTorello/fix_fields_identification
252
- - Add notevil dependency (Thanks @XaviTorello)
253
- - Create new util.safeEval method (Thanks @XaviTorello)
254
-
255
- ## 0.3.11 - 2017-11-03
256
- ### Added
257
-
258
- ### Changed
259
- - Fixes #73 fix Select when param is missing. (Thanks @oceanic815recovery)
260
- - Add `yarn.lock` / Use Yarn for package management (Thanks @MrSaints)
261
-
262
- ## 0.3.10 - 2017-10-19
263
- ### Added
264
-
265
- ### Changed
266
- - Fixes #71 Fix Select when it is in an array. (Thanks @oceanic815recovery)
267
-
268
- ## 0.3.9 - 2017-10-18
269
- ### Added
270
-
271
- ### Changed
272
- - Fixes #70 "cannot read property" error when using an enum in an object. (Thanks @MrSaints)
273
-
274
- ## 0.3.8 - 2017-07-22
275
- ### Added
276
-
277
- ### Changed
278
- - added floatingLabelType to Date (Thanks @gtaschuk)
279
- - Made FieldSet into a proper fieldset tag with a legend (Thanks @gtaschuk)
280
-
281
- ## 0.3.7 - 2017-07-18
282
- ### Added
283
-
284
- ### Changed
285
- - Adding top-level className for better framework support (Thanks @curtiswilkinson)
286
-
287
- ## 0.3.6 - 2017-07-17
288
- ### Added
289
-
290
- ### Changed
291
- - Adding htmlClass from the json-schema-form specification (Thanks @curtiswilkinson)
292
-
293
- ## 0.3.5 - 2017-06-02
294
- ### Added
295
-
296
- ### Changed
297
- - Sync react and react-dom version
298
-
299
- ## 0.3.4 - 2017-06-02
300
- ### Added
301
-
302
- ### Changed
303
- - Fixes #45 Number: onChangeValidate called twice (Thanks @stropitek)
304
- - Fixes #44 Move react to peer dependencies, react-dom to dev dependencies (Thanks @stropitek)
305
-
306
-
307
- ## 0.3.2 - 2017-01-07
308
- ### Added
309
-
310
- ### Changed
311
- - Fixes #40 number validation (Thanks @maplechori)
312
-
313
- ## 0.3.1 - 2016-11-06
314
- ### Added
315
-
316
- ### Changed
317
- - Update dependency to react-schema-form-rc-select
318
-
319
- ## 0.3.0 - 2016-11-03
320
- ### Added
321
-
322
- ### Changed
323
- - Upgrade to react 15.3.2 (Thanks Paul Apostol)
324
- - Upgrade to babel 6.5.2 (Thanks Paul Apostol)
325
- - Upgrade to webpack 1.13.3 (Thanks Paul Apostol)