react-jsonschema-form-extras 1.0.0 → 1.1.0-alpha.183650
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/README.md +1089 -1084
- package/dist/form-with-extras.js +1 -1
- package/dist/form-with-extras.js.map +1 -1
- package/lib/DraftRte.js +32 -32
- package/lib/MultiTypeaheadField.js +129 -114
- package/lib/TypeaheadField.js +8 -8
- package/lib/css/form-extras.css +9 -9
- package/package.json +146 -146
package/package.json
CHANGED
@@ -1,146 +1,146 @@
|
|
1
|
-
{
|
2
|
-
"name": "react-jsonschema-form-extras",
|
3
|
-
"description": "Extra widgets for Mozilla's react-jsonschema-form",
|
4
|
-
"private": false,
|
5
|
-
"author": "mavarazy@gmail.com",
|
6
|
-
"version": "1.0.
|
7
|
-
"scripts": {
|
8
|
-
"build:lib": "rimraf lib && cross-env NODE_ENV=production babel -d lib/ src/ --copy-files",
|
9
|
-
"build:dist": "rimraf dist && cross-env NODE_ENV=production webpack --config webpack.config.dist.js",
|
10
|
-
"build:playground": "rimraf build && cross-env NODE_ENV=production webpack --config webpack.config.prod.js --optimize-minimize && cp playground/index.prod.html build/index.html",
|
11
|
-
"cs-check": "prettier -l $npm_package_prettierOptions '{playground,src,test}/**/*.js'",
|
12
|
-
"cs-format": "prettier $npm_package_prettierOptions '{playground,src,test}/**/*.js' --write",
|
13
|
-
"dist": "npm run build:lib && npm run build:dist",
|
14
|
-
"lint": "eslint src test playground --fix",
|
15
|
-
"precommit": "lint-staged",
|
16
|
-
"publish-to-gh-pages": "npm run build:playground && gh-pages --dist build/",
|
17
|
-
"publish-to-npm": "npm run dist && npm publish && npm version patch",
|
18
|
-
"start": "webpack-dev-server",
|
19
|
-
"tdd": "jest --watchAll",
|
20
|
-
"test": "jest"
|
21
|
-
},
|
22
|
-
"jest": {
|
23
|
-
"verbose": true,
|
24
|
-
"collectCoverage": true
|
25
|
-
},
|
26
|
-
"prettierOptions": "--jsx-bracket-same-line --trailing-comma es5 --semi",
|
27
|
-
"lint-staged": {
|
28
|
-
"{playground,src,test}/**/*.js": [
|
29
|
-
"npm run lint",
|
30
|
-
"npm run cs-format",
|
31
|
-
"git add"
|
32
|
-
]
|
33
|
-
},
|
34
|
-
"main": "lib/index.js",
|
35
|
-
"files": [
|
36
|
-
"lib",
|
37
|
-
"dist"
|
38
|
-
],
|
39
|
-
"engineStrict": false,
|
40
|
-
"engines": {
|
41
|
-
"npm": "^5.0.4",
|
42
|
-
"node": ">=8.0.0"
|
43
|
-
},
|
44
|
-
"peerDependencies": {
|
45
|
-
"moment": "^2.20.0",
|
46
|
-
"prop-types": "^15.x",
|
47
|
-
"react": "^16.x",
|
48
|
-
"react-bootstrap-table": "^4.x",
|
49
|
-
"react-bootstrap-typeahead": "^3.3.2",
|
50
|
-
"react-day-picker": "^7.x",
|
51
|
-
"react-rte": "^0.15.0"
|
52
|
-
},
|
53
|
-
"dependencies": {
|
54
|
-
"@emotion/react": "^11.11.0",
|
55
|
-
"@emotion/styled": "^11.11.0",
|
56
|
-
"@mui/icons-material": "^5.18.0",
|
57
|
-
"@mui/material": "^5.15.0",
|
58
|
-
"classnames": "^2.2.6",
|
59
|
-
"draftjs-to-html": "^0.8.4",
|
60
|
-
"es6-shim": "^0.35.5",
|
61
|
-
"html-to-draftjs": "^1.4.0",
|
62
|
-
"lodash.debounce": "^4.0.8",
|
63
|
-
"react-draft-wysiwyg": "^1.12.13",
|
64
|
-
"react-render-html": "^0.6.0",
|
65
|
-
"selectn": "^1.1.2",
|
66
|
-
"use-debounce": "^10.0.4"
|
67
|
-
},
|
68
|
-
"devDependencies": {
|
69
|
-
"ansi-html": "^0.0.9",
|
70
|
-
"atob": "^2.1.1",
|
71
|
-
"babel-cli": "^6.0.0",
|
72
|
-
"babel-core": "^6.26.3",
|
73
|
-
"babel-eslint": "^8.0.1",
|
74
|
-
"babel-jest": "^21.2.0",
|
75
|
-
"babel-loader": "^7.1.2",
|
76
|
-
"babel-plugin-add-module-exports": "^0.2.1",
|
77
|
-
"babel-plugin-transform-class-properties": "^6.24.1",
|
78
|
-
"babel-plugin-transform-object-rest-spread": "^6.26.0",
|
79
|
-
"babel-polyfill": "^6.26.0",
|
80
|
-
"babel-preset-env": "^1.7.0",
|
81
|
-
"babel-preset-es2015": "^6.24.1",
|
82
|
-
"babel-preset-react": "^6.24.1",
|
83
|
-
"babel-preset-stage-2": "^6.24.1",
|
84
|
-
"babel-register": "^6.26.0",
|
85
|
-
"bootstrap": "^3.3.7",
|
86
|
-
"coveralls": "^3.0.0",
|
87
|
-
"cross-env": "^5.1.0",
|
88
|
-
"css-loader": "^0.28.7",
|
89
|
-
"eslint": "^4.9.0",
|
90
|
-
"eslint-plugin-jest": "^21.2.0",
|
91
|
-
"eslint-plugin-react": "^7.4.0",
|
92
|
-
"eslint-plugin-standard": "^3.0.1",
|
93
|
-
"exit-hook": "^1.1.1",
|
94
|
-
"express": "^4.16.2",
|
95
|
-
"gh-pages": "^1.2.0",
|
96
|
-
"has-flag": "^2.0.0",
|
97
|
-
"html": "1.0.0",
|
98
|
-
"husky": "^0.14.3",
|
99
|
-
"istanbul-api": "1.2.2",
|
100
|
-
"istanbul-reports": "1.1.4",
|
101
|
-
"jest": "^23.6.0",
|
102
|
-
"jsdom": "^11.12.0",
|
103
|
-
"json-rules-engine-simplified": "^0.1.17",
|
104
|
-
"lint-staged": "^6.0.0",
|
105
|
-
"mini-css-extract-plugin": "^0.9.0",
|
106
|
-
"moment": "^2.20.1",
|
107
|
-
"prettier": "^1.7.4",
|
108
|
-
"react": "^16.0.0",
|
109
|
-
"react-bootstrap-table": "^4.3.0",
|
110
|
-
"react-bootstrap-typeahead": "^3.2.4",
|
111
|
-
"react-day-picker": "^7.0.5",
|
112
|
-
"react-dom": "^16.0.0",
|
113
|
-
"react-jsonschema-form": "^1.0.0",
|
114
|
-
"react-jsonschema-form-conditionals": "^0.3.15",
|
115
|
-
"react-rte": "^0.15.0",
|
116
|
-
"react-test-renderer": "^16.0.0",
|
117
|
-
"react-transform-catch-errors": "^1.0.2",
|
118
|
-
"react-transform-hmr": "^1.0.4",
|
119
|
-
"regenerator-runtime": "^0.11.0",
|
120
|
-
"rimraf": "^2.6.2",
|
121
|
-
"selectn": "^1.1.2",
|
122
|
-
"sinon": "^4.1.1",
|
123
|
-
"style-loader": "^0.19.0",
|
124
|
-
"terser-webpack-plugin": "^1.4.6",
|
125
|
-
"webpack": "^4.47.0",
|
126
|
-
"webpack-cli": "^3.3.12",
|
127
|
-
"webpack-dev-server": "^3.11.3",
|
128
|
-
"webpack-hot-middleware": "^2.20.0"
|
129
|
-
},
|
130
|
-
"directories": {
|
131
|
-
"test": "test"
|
132
|
-
},
|
133
|
-
"repository": {
|
134
|
-
"type": "git",
|
135
|
-
"url": "git+https://github.com/RxNT/react-jsonschema-form-extras.git"
|
136
|
-
},
|
137
|
-
"keywords": [
|
138
|
-
"react",
|
139
|
-
"form",
|
140
|
-
"json-schema",
|
141
|
-
"conditional",
|
142
|
-
"predicate"
|
143
|
-
],
|
144
|
-
"license": "Apache-2.0",
|
145
|
-
"homepage": "https://github.com/RxNT/react-jsonschema-form-extras#readme"
|
146
|
-
}
|
1
|
+
{
|
2
|
+
"name": "react-jsonschema-form-extras",
|
3
|
+
"description": "Extra widgets for Mozilla's react-jsonschema-form",
|
4
|
+
"private": false,
|
5
|
+
"author": "mavarazy@gmail.com",
|
6
|
+
"version": "1.1.0-alpha.183650",
|
7
|
+
"scripts": {
|
8
|
+
"build:lib": "rimraf lib && cross-env NODE_ENV=production babel -d lib/ src/ --copy-files",
|
9
|
+
"build:dist": "rimraf dist && cross-env NODE_ENV=production webpack --config webpack.config.dist.js",
|
10
|
+
"build:playground": "rimraf build && cross-env NODE_ENV=production webpack --config webpack.config.prod.js --optimize-minimize && cp playground/index.prod.html build/index.html",
|
11
|
+
"cs-check": "prettier -l $npm_package_prettierOptions '{playground,src,test}/**/*.js'",
|
12
|
+
"cs-format": "prettier $npm_package_prettierOptions '{playground,src,test}/**/*.js' --write",
|
13
|
+
"dist": "npm run build:lib && npm run build:dist",
|
14
|
+
"lint": "eslint src test playground --fix",
|
15
|
+
"precommit": "lint-staged",
|
16
|
+
"publish-to-gh-pages": "npm run build:playground && gh-pages --dist build/",
|
17
|
+
"publish-to-npm": "npm run dist && npm publish && npm version patch",
|
18
|
+
"start": "webpack-dev-server",
|
19
|
+
"tdd": "jest --watchAll",
|
20
|
+
"test": "jest"
|
21
|
+
},
|
22
|
+
"jest": {
|
23
|
+
"verbose": true,
|
24
|
+
"collectCoverage": true
|
25
|
+
},
|
26
|
+
"prettierOptions": "--jsx-bracket-same-line --trailing-comma es5 --semi",
|
27
|
+
"lint-staged": {
|
28
|
+
"{playground,src,test}/**/*.js": [
|
29
|
+
"npm run lint",
|
30
|
+
"npm run cs-format",
|
31
|
+
"git add"
|
32
|
+
]
|
33
|
+
},
|
34
|
+
"main": "lib/index.js",
|
35
|
+
"files": [
|
36
|
+
"lib",
|
37
|
+
"dist"
|
38
|
+
],
|
39
|
+
"engineStrict": false,
|
40
|
+
"engines": {
|
41
|
+
"npm": "^5.0.4",
|
42
|
+
"node": ">=8.0.0"
|
43
|
+
},
|
44
|
+
"peerDependencies": {
|
45
|
+
"moment": "^2.20.0",
|
46
|
+
"prop-types": "^15.x",
|
47
|
+
"react": "^16.x",
|
48
|
+
"react-bootstrap-table": "^4.x",
|
49
|
+
"react-bootstrap-typeahead": "^3.3.2",
|
50
|
+
"react-day-picker": "^7.x",
|
51
|
+
"react-rte": "^0.15.0"
|
52
|
+
},
|
53
|
+
"dependencies": {
|
54
|
+
"@emotion/react": "^11.11.0",
|
55
|
+
"@emotion/styled": "^11.11.0",
|
56
|
+
"@mui/icons-material": "^5.18.0",
|
57
|
+
"@mui/material": "^5.15.0",
|
58
|
+
"classnames": "^2.2.6",
|
59
|
+
"draftjs-to-html": "^0.8.4",
|
60
|
+
"es6-shim": "^0.35.5",
|
61
|
+
"html-to-draftjs": "^1.4.0",
|
62
|
+
"lodash.debounce": "^4.0.8",
|
63
|
+
"react-draft-wysiwyg": "^1.12.13",
|
64
|
+
"react-render-html": "^0.6.0",
|
65
|
+
"selectn": "^1.1.2",
|
66
|
+
"use-debounce": "^10.0.4"
|
67
|
+
},
|
68
|
+
"devDependencies": {
|
69
|
+
"ansi-html": "^0.0.9",
|
70
|
+
"atob": "^2.1.1",
|
71
|
+
"babel-cli": "^6.0.0",
|
72
|
+
"babel-core": "^6.26.3",
|
73
|
+
"babel-eslint": "^8.0.1",
|
74
|
+
"babel-jest": "^21.2.0",
|
75
|
+
"babel-loader": "^7.1.2",
|
76
|
+
"babel-plugin-add-module-exports": "^0.2.1",
|
77
|
+
"babel-plugin-transform-class-properties": "^6.24.1",
|
78
|
+
"babel-plugin-transform-object-rest-spread": "^6.26.0",
|
79
|
+
"babel-polyfill": "^6.26.0",
|
80
|
+
"babel-preset-env": "^1.7.0",
|
81
|
+
"babel-preset-es2015": "^6.24.1",
|
82
|
+
"babel-preset-react": "^6.24.1",
|
83
|
+
"babel-preset-stage-2": "^6.24.1",
|
84
|
+
"babel-register": "^6.26.0",
|
85
|
+
"bootstrap": "^3.3.7",
|
86
|
+
"coveralls": "^3.0.0",
|
87
|
+
"cross-env": "^5.1.0",
|
88
|
+
"css-loader": "^0.28.7",
|
89
|
+
"eslint": "^4.9.0",
|
90
|
+
"eslint-plugin-jest": "^21.2.0",
|
91
|
+
"eslint-plugin-react": "^7.4.0",
|
92
|
+
"eslint-plugin-standard": "^3.0.1",
|
93
|
+
"exit-hook": "^1.1.1",
|
94
|
+
"express": "^4.16.2",
|
95
|
+
"gh-pages": "^1.2.0",
|
96
|
+
"has-flag": "^2.0.0",
|
97
|
+
"html": "1.0.0",
|
98
|
+
"husky": "^0.14.3",
|
99
|
+
"istanbul-api": "1.2.2",
|
100
|
+
"istanbul-reports": "1.1.4",
|
101
|
+
"jest": "^23.6.0",
|
102
|
+
"jsdom": "^11.12.0",
|
103
|
+
"json-rules-engine-simplified": "^0.1.17",
|
104
|
+
"lint-staged": "^6.0.0",
|
105
|
+
"mini-css-extract-plugin": "^0.9.0",
|
106
|
+
"moment": "^2.20.1",
|
107
|
+
"prettier": "^1.7.4",
|
108
|
+
"react": "^16.0.0",
|
109
|
+
"react-bootstrap-table": "^4.3.0",
|
110
|
+
"react-bootstrap-typeahead": "^3.2.4",
|
111
|
+
"react-day-picker": "^7.0.5",
|
112
|
+
"react-dom": "^16.0.0",
|
113
|
+
"react-jsonschema-form": "^1.0.0",
|
114
|
+
"react-jsonschema-form-conditionals": "^0.3.15",
|
115
|
+
"react-rte": "^0.15.0",
|
116
|
+
"react-test-renderer": "^16.0.0",
|
117
|
+
"react-transform-catch-errors": "^1.0.2",
|
118
|
+
"react-transform-hmr": "^1.0.4",
|
119
|
+
"regenerator-runtime": "^0.11.0",
|
120
|
+
"rimraf": "^2.6.2",
|
121
|
+
"selectn": "^1.1.2",
|
122
|
+
"sinon": "^4.1.1",
|
123
|
+
"style-loader": "^0.19.0",
|
124
|
+
"terser-webpack-plugin": "^1.4.6",
|
125
|
+
"webpack": "^4.47.0",
|
126
|
+
"webpack-cli": "^3.3.12",
|
127
|
+
"webpack-dev-server": "^3.11.3",
|
128
|
+
"webpack-hot-middleware": "^2.20.0"
|
129
|
+
},
|
130
|
+
"directories": {
|
131
|
+
"test": "test"
|
132
|
+
},
|
133
|
+
"repository": {
|
134
|
+
"type": "git",
|
135
|
+
"url": "git+https://github.com/RxNT/react-jsonschema-form-extras.git"
|
136
|
+
},
|
137
|
+
"keywords": [
|
138
|
+
"react",
|
139
|
+
"form",
|
140
|
+
"json-schema",
|
141
|
+
"conditional",
|
142
|
+
"predicate"
|
143
|
+
],
|
144
|
+
"license": "Apache-2.0",
|
145
|
+
"homepage": "https://github.com/RxNT/react-jsonschema-form-extras#readme"
|
146
|
+
}
|