dependabot-preview[bot]
716c60cded
Bump webpack from 4.44.2 to 5.0.0
...
Bumps [webpack](https://github.com/webpack/webpack ) from 4.44.2 to 5.0.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v4.44.2...v5.0.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-12 05:11:18 +00:00
dependabot-preview[bot]
b64e012da8
Bump uglify-js from 3.10.4 to 3.11.1 ( #1123 )
...
Bumps [uglify-js](https://github.com/mishoo/UglifyJS ) from 3.10.4 to 3.11.1.
- [Release notes](https://github.com/mishoo/UglifyJS/releases )
- [Commits](https://github.com/mishoo/UglifyJS/compare/v3.10.4...v3.11.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-07 09:56:16 +02:00
Jos de Jong
8eb4819d0e
Fix lint error
2020-09-23 15:49:44 +02:00
Jos de Jong
e35e39ff2f
Merge remote-tracking branch 'origin/develop' into develop
2020-09-23 15:44:11 +02:00
Jos de Jong
58f460a383
Log a clear error in the console when the returned value of `onEditable` is invalid. See #1112
2020-09-23 15:44:04 +02:00
dependabot-preview[bot]
1492f22eea
Bump webpack from 4.44.1 to 4.44.2 ( #1114 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 4.44.1 to 4.44.2.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v4.44.1...v4.44.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-23 11:40:05 +02:00
Jos de Jong
223b78542e
Publish v9.1.1
2020-09-23 10:33:34 +02:00
Jos de Jong
e1a8077dc1
Fix quick-key `Ctrl+D` (duplicate) not working
2020-09-23 10:27:47 +02:00
Jos de Jong
745a1597dd
Fix linter issue
2020-09-23 10:25:26 +02:00
Jos de Jong
2a861a2868
Defined charset="utf-8" and lang="en" in all examples
2020-09-23 10:23:38 +02:00
Josh Kelley
69fbe63f0e
Multi-select mouse events now honor the event's window ( #1098 )
...
* Multi-select mouse events now honor the event's window
This prevents errors from opening JSONEditor in a child window (such as `window.open` or third-party libraries like react-new-window).
* Add a demo of showing a JSONEditor in a child window
* Minor spelling fixes
* Further improvements to new window support
Use `event.view` instead of the global `window`. Copy VanillaPicker styles in the example so that the color picker is correctly styled.
* Add 'noopener'
This helps security; otherwise, JavaScript running in the context of the new window can access the original window object via the `window.opener` property, even if it's a different origin.
* Update modal handling for new windows
There are two approaches we could take; we could use the existing modalAnchor property and make callers responsible for setting it, or we could modify the default handling to default to the node's container body. For now, I chose to make callers responsible.
Rename showTransformModal's `anchor` parameter to `container`; as far as I can tell, `anchor` didn't work properly.
2020-09-23 10:06:12 +02:00
Jos de Jong
f3694c3126
Update history
2020-09-23 09:45:37 +02:00
Žiga Miklič
6cf627a61a
Fix for issue #1111 ( #1116 )
...
Fixes enum dropdown not showing when using patternProperties for schema.
The issue happens as `_findSchema` is recursively called one more than than it should. Instead of returning the nested schema object (eg. `{ enum: [1, 2, 3] }`), it returns the parent object, eg.:
```javascript
{
type: 'object',
properties: {
testrigId: {
enum: [1, 2, 3]
},
},
required: [
'testrigId'
]
}
```
The fix adds an if check to ignore the additional recursive call and return the correct object.
The unit tests pass and I've also tested a complex schema inside `patternProperties` that uses the special types (boolean, color, enum).
2020-09-23 09:43:44 +02:00
Jos de Jong
41fbf6973f
Publish v9.1.0
2020-09-15 20:51:01 +02:00
Jos de Jong
07e4221fad
Fix quick-keys `Ctrl-\` (format) and `Ctrl-Shift-\` (compact) not working in `code` mode (see #1107 )
2020-09-15 20:47:28 +02:00
Jos de Jong
8855944bae
Update history and docs with new translation `de`
2020-09-14 20:05:34 +02:00
Stephan Ahlf
09b8ed8af6
Add German language support to i18n.js ( #1105 )
...
* Add German language support to i18n.js
* add `de` to `_locales` variable
* fix code format to fit JavaScript Standard Style
* fix variable typo in "de" dictionary
* add new containsInvalidProperties and containsInvalidItems translation keys to german i18n dictionary
Co-authored-by: s-a <stephan.ahlf@gmail.com>
2020-09-14 19:59:29 +02:00
Jos de Jong
2aee4a6008
Add translation for the texts "Contains invalid properties" and "Contains invalid items" (see #1105 )
2020-09-12 17:33:37 +02:00
Jos de Jong
2314aa74e5
Publish v9.0.5
2020-09-09 09:36:06 +02:00
Jos de Jong
12fd998cc1
Update `uglify-js` to the latest version
2020-09-09 09:34:03 +02:00
Jos de Jong
60b84bb6bd
Fix #1090 : autocomplete firing on dragging or clicking a node
2020-09-09 09:29:45 +02:00
Jos de Jong
2cbac6fd5c
Default to tree mode in custom styling example
2020-09-09 09:05:04 +02:00
Jos de Jong
70c9b0b454
Update devDependencies
2020-09-06 10:18:06 +02:00
Jos de Jong
59dd16a538
Update dependencies and devDependencies
2020-08-26 21:56:45 +02:00
Jos de Jong
b214915b34
Fix #1096 : editor crashing when passing an empty string as `name`
2020-08-26 21:35:30 +02:00
Jos de Jong
b48ec89953
Publish v9.0.4
2020-08-15 10:27:18 +02:00
Jos de Jong
295e771ec4
Merge remote-tracking branch 'origin/develop' into develop
2020-08-15 10:17:49 +02:00
Jos de Jong
df81d1098d
Fix #1077 : change the `main` field in `package.json` to point to the actual bundled and minified file instead of a node.js index file
2020-08-15 10:17:41 +02:00
dependabot-preview[bot]
475902593e
Bump jsdom from 16.3.0 to 16.4.0 ( #1074 )
...
Bumps [jsdom](https://github.com/jsdom/jsdom ) from 16.3.0 to 16.4.0.
- [Release notes](https://github.com/jsdom/jsdom/releases )
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md )
- [Commits](https://github.com/jsdom/jsdom/compare/16.3.0...16.4.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-08-10 21:35:25 +02:00
Jos de Jong
e92bdf407f
Update devDependencies
2020-08-07 15:14:48 +02:00
jos
f9649d1155
Update devDependencies
2020-07-25 15:06:29 +02:00
Jos de Jong
e89632d9ce
Update dependencies
2020-07-11 13:01:26 +02:00
Jos de Jong
09f2a398ca
Make React examples maintenance friendly
2020-07-04 15:06:15 +02:00
josdejong
162756ef69
Publish v9.0.3
2020-07-02 20:10:21 +02:00
josdejong
025c0649fa
Fix regression introduced in `v9.0.2` in the select boxes in the Transform model not lighlighting the matches correctly
2020-07-02 20:07:27 +02:00
josdejong
fb994728fd
Publish v9.0.2
2020-07-01 11:05:00 +02:00
josdejong
400b1eea37
Small styling fix
2020-07-01 10:58:29 +02:00
josdejong
87bc7b2561
Fix #1029 : XSS vulnerabilities
2020-07-01 10:45:09 +02:00
josdejong
8826c6f2b6
Fix #1017 : unable to style the color of a value containing a color. See also #1028
2020-06-27 17:15:58 +02:00
josdejong
394432d3a6
Publish v9.0.1
2020-06-24 08:42:33 +02:00
josdejong
3a5ddb2ae7
Update devDependencies
2020-06-24 08:41:34 +02:00
josdejong
b6235a8d23
Fix #1027 : create IE11 Array polyfills `find` and `findIndex` in such a way that they are not iterable
2020-06-23 21:22:21 +02:00
josdejong
70a2f94693
Update history
2020-06-21 16:34:01 +02:00
patrikx3
d71c7b4ca0
FIXE: powered by ace link is updated to https://ace.c9.io/ ( #1018 )
2020-06-21 16:32:20 +02:00
dependabot[bot]
3048e710c9
Bump websocket-extensions in /examples/react_advanced_demo ( #1007 )
...
Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node ) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/faye/websocket-extensions-node/releases )
- [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md )
- [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-06-06 16:49:11 +02:00
dependabot[bot]
2d38d0bbc9
Bump websocket-extensions from 0.1.3 to 0.1.4 in /examples/react_demo ( #1006 )
...
Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node ) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/faye/websocket-extensions-node/releases )
- [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md )
- [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-06-06 14:08:16 +02:00
josdejong
ae84c74996
Update devDependencies
2020-06-06 14:04:01 +02:00
josdejong
f94589c1e9
Update devDependencies
2020-05-30 13:40:52 +02:00
josdejong
901b8aa8dd
Describe `onFocus` and `onBlur` in the docs (see #612 )
2020-05-27 09:03:46 +02:00
josdejong
1b259e7e47
Publish v9.0.0
2020-05-24 16:08:09 +02:00