react-schema-form 0.9.6 → 1.0.1

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