Commit Graph

130 Commits

Author SHA1 Message Date
greenkeeper[bot] 1f02eda866 Update jsoneditor in group default to the latest version 🚀 (#868)
* fix(package): update jsoneditor to version 8.0.0

* fix(package): update jsoneditor to version 8.0.0

* chore(package): update lockfile examples/react_demo/package-lock.json

* chore(package): update lockfile examples/react_advanced_demo/package-lock.json
2019-12-11 17:37:48 +01:00
Small ce15bb4b37 add timestampFormat (#863)
* add timestampFormat

* use createTextNode instead innerHTML
2019-12-11 11:34:24 +01:00
Meir Rotstein 84950ac69a onValidationError to report any kind of error (#861)
* onValidationError to report any kind of error

* lint fixes
2019-12-08 10:35:22 +01:00
jos 45ade363f4 Update dependencies of example projects 2019-12-08 10:19:21 +01:00
Meir Rotstein 266eeec21a onValidationError option (#854)
* provide onValidationError callback

* linter fixes

* docu fixes

* textmode - invoke callback also when no errors
This to cover situation of changes that fixes validations

* fixed cautom validation example
2019-12-01 16:21:16 +01:00
jos 87691e6693 Remove test options from example again (see #850) 2019-12-01 11:56:22 +01:00
jos 0d4525d3d2 Fixed #850: make autocomplete options robust against non-string inputs 2019-12-01 11:54:56 +01:00
greenkeeper[bot] 58c6379e32 Update react in group default to the latest version 🚀 (#846)
* fix(package): update react to version 16.12.0

* fix(package): update react to version 16.12.0

* fix(package): update react-dom to version 16.12.0

* fix(package): update react-dom to version 16.12.0

* chore(package): update lockfile examples/react_demo/package-lock.json

* chore(package): update lockfile examples/react_advanced_demo/package-lock.json
2019-11-15 19:42:08 +01:00
jos da235536bc Update dependencies of react example projects 2019-10-23 14:41:06 +02:00
jos ecb1674f09 Update dependencies 2019-10-05 22:10:48 +02:00
greenkeeper[bot] 42821e2c53 Update react in group default to the latest version 🚀 (#807)
* fix(package): update react to version 16.10.2

* fix(package): update react to version 16.10.2

* fix(package): update react-dom to version 16.10.2

* fix(package): update react-dom to version 16.10.2

* chore(package): update lockfile examples/react_demo/package-lock.json

* chore(package): update lockfile examples/react_advanced_demo/package-lock.json
2019-10-05 21:54:58 +02:00
greenkeeper[bot] 3997062911 Update react in group default to the latest version 🚀 (#803)
* fix(package): update react to version 16.10.0

* fix(package): update react to version 16.10.0

* fix(package): update react-dom to version 16.10.0

* fix(package): update react-dom to version 16.10.0

* chore(package): update lockfile examples/react_demo/package-lock.json

* chore(package): update lockfile examples/react_advanced_demo/package-lock.json
2019-09-29 16:29:05 +02:00
greenkeeper[bot] 8633f33420 Update react-scripts in group default to the latest version 🚀 (#797)
* fix(package): update react-scripts to version 3.1.2

* fix(package): update react-scripts to version 3.1.2

* chore(package): update lockfile examples/react_demo/package-lock.json

* chore(package): update lockfile examples/react_advanced_demo/package-lock.json
2019-09-19 22:36:31 +02:00
Vishwas Navada K f100c4f403 change jsoneditor dependency property value. (#787)
* change jsoneditor dependency property value. 

Adding the jsoneditor version into package.json npm install did not install jsoneditor with "file:../..".

* update jsoneditor version to have version.
2019-09-07 11:29:36 +02:00
jos ceb08fe13d Some fixes and updates in examples 2019-09-01 16:37:57 +02:00
jos 6bfede956b Rewrite code styling of browser examples 2019-08-29 15:45:32 +02:00
jos a5d6b8a65b Set up code style linting with standardjs 2019-08-28 13:21:14 +02:00
dependabot[bot] 06618fcbd5 Bump eslint-utils from 1.4.0 to 1.4.2 in /examples/react_advanced_demo (#775)
Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils) from 1.4.0 to 1.4.2.
- [Release notes](https://github.com/mysticatea/eslint-utils/releases)
- [Commits](https://github.com/mysticatea/eslint-utils/compare/v1.4.0...v1.4.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-08-28 10:38:38 +02:00
dependabot[bot] e9f301c901 Bump eslint-utils from 1.4.0 to 1.4.2 in /examples/react_demo (#776)
Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils) from 1.4.0 to 1.4.2.
- [Release notes](https://github.com/mysticatea/eslint-utils/releases)
- [Commits](https://github.com/mysticatea/eslint-utils/compare/v1.4.0...v1.4.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-08-28 10:38:17 +02:00
jos ee64c1fbb3 Update dependencies of react examples 2019-08-15 11:45:18 +02:00
jos 6bef66aaba Merge branch 'develop' into feature/preview
# Conflicts:
#	HISTORY.md
2019-07-24 13:48:20 +02:00
jos 745a4f3665 Implement validation in mode `"preview"` 2019-07-24 13:30:44 +02:00
jos 8c06c41f02 Merge remote-tracking branch 'origin/develop' into develop 2019-07-20 11:11:12 +02:00
jos 6f6f58bb33 Update package-lock.json files of react examples 2019-07-20 11:11:01 +02:00
greenkeeper[bot] a077e660e3 Update lodash in group default to the latest version 🚀 (#747)
* fix(package): update lodash to version 4.17.15

* chore(package): update lockfile examples/react_advanced_demo/package-lock.json
2019-07-20 11:03:00 +02:00
jos 939826d41f Update dependencies 2019-07-17 12:17:34 +02:00
dependabot[bot] 23463740df Bump lodash.template in /examples/react_advanced_demo (#733)
Bumps [lodash.template](https://github.com/lodash/lodash) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.4.0...4.5.0)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-13 11:08:39 +02:00
dependabot[bot] fe7b0eaa2a Bump lodash from 4.17.11 to 4.17.13 in /examples/react_advanced_demo (#736)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.13.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.13)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-13 11:07:55 +02:00
dependabot[bot] 47630710af Bump lodash from 4.17.11 to 4.17.14 in /examples/react_demo (#737)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.14.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.14)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-13 11:07:20 +02:00
jos df386b6f1b Add `'preview'` to the list with allowed modes in all examples 2019-07-08 20:00:34 +02:00
dependabot[bot] 05753a00ef Bump handlebars from 4.0.11 to 4.1.2 in /examples/react_advanced_demo (#726)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.0.11 to 4.1.2.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.0.11...v4.1.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-04 19:38:00 +02:00
dependabot[bot] 4d12b1d000 Bump handlebars from 4.0.11 to 4.1.2 in /examples/react_demo (#725)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.0.11 to 4.1.2.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.0.11...v4.1.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-04 19:37:39 +02:00
jos 12dc0408e8 Update dependencies of react examples 2019-06-12 22:01:56 +02:00
jos 10daf40b56 Use JSON schema title as name for the root object if defined (see #635) 2019-06-12 15:43:16 +02:00
Gcaufy 85e0710097 Feat: Added filter and trigger options for autocomplete (#713)
* Feat: Added filter options for autocomplete

* Feat: added trigger option for autocomplete

* Fix: const/let => var
2019-06-08 11:37:52 +02:00
jos a9abad2cd4 Fix #698 `node.path` sometimes null in `onCreateMenu` 2019-05-29 16:29:29 +02:00
jos 7c398aeef7 Update history. Fix JSON schema default value styling not working for `false` and `null`, and fixed the styling not updating when clicking a boolean checkbox (See #666) 2019-03-17 15:56:29 +01:00
Adam Vigneaux c79bea4eb8 Display schema defaults inline next to Nodes (#666)
* Display schema defaults inline next to Nodes

* Improve usability of schema default display

- When value is default, make it bold and set a tooltip
- When value is not default, display the default next to the value
- When value is default and is a select, show "Default" next to it
- Lighten the color of green used for values
  This increases the contrast between normal values and default values.

* Remove styling when value is the same as the schema default

This styling may have been confusing for some users and may not have
been applicable to all situations.

* Apply is-default and is-not-default classes to values

This allows the user to supply custom styling for these states.

To set styles for values that match the default value in the schema, use
the class `.jsoneditor-is-default`.

To set styles for values that _do not_ match the default value in the
schema, use the class `.jsoneditor-is-not-default`.

* Remove extra newline after schema examples in tooltip

* Move schema default display from inline to tooltip

This presents less opportunity for user confusion and is likely to be
more widely applicable.

* Add examples of schema metadata display

* Add documentation on styling
2019-03-17 15:39:00 +01:00
Adam Vigneaux c93b8f1305
Add reproduction for schema ref examples bug 2019-03-14 11:27:28 -04:00
jos b5e9cfb34b Fix custom menu item in example 21 broken 2019-03-02 10:28:50 +01:00
jos 83b6c9a892 Update example 21 so it can run in IE11 2019-03-02 10:26:39 +01:00
RobAley b83090d412
change path parameter to object 2019-02-25 16:14:49 +00:00
RobAley 1c743bed1d
Add example for onCreateMenu 2019-02-21 14:32:20 +00:00
jos db9f5480c7 Define `onClassName` once and use it twice 2019-01-21 21:04:32 +01:00
jos 20e42ab8b0 Fix example 20 always highlighting objects and arrays (see #604) 2019-01-21 21:01:38 +01:00
jos a7cc8527bd Updated history, some minor tweaks in example 20 (see #604) 2019-01-21 20:53:02 +01:00
Pawel Raszewski 1c5d7d71ac added an ability to set custom css classes for Node's field and value (#604)
* update for gulp 4.0.0

* added an ability to set custom css classes for Node's field and value

* v5.9.8-beta

* wip

* wip

* wip

* wip

* wip

* wip

* cleanup

* reverted ./dist/ files

* cleanup

* reverted package-lock.json

* updated onClassName signature

* recursive node class name update on change

* add/remove css classes on node

* example fix

* merged remote

* removed yarn.lock

* changes get reflected on both sides of the diff view in example 20

* refactored and cleaned up example 20
2019-01-21 20:42:43 +01:00
jos ef764df37d Release v5.24.6 2018-09-12 09:44:23 +02:00
jos b853ec3f64 Implement color picker. Expose `VanillaPicker`, `ace`, and `Ajv`. 2018-08-22 12:10:15 +02:00
jos 4f72c5e113 Display a colored square left from values containing a color 2018-08-22 09:20:19 +02:00