When using vanilla-jsoneditor directly in the browser, you now have to import { JSONEditor } from 'vanilla-jsoneditor/standalone.js' instead of import { JSONEditor } from 'vanilla-jsoneditor'. For projects with a build setup (React, Vue, Angular) it should be a drop-in replacement.
CSS variables are no longer defined globally, and the file themes/jse-theme-default.css is now removed (replaced by an internal defaults.scss). The provided dark theme still works as-is. The CSS variable --jse-modal-theme-color has been renamed to --jse-modal-editor-theme-color, and --jse-modal-theme-color-highlight has been renamed to --jse-modal-editor-theme-color-highlight.
Features
export one bundle with and one without external dependencies in vanilla-jsoneditor (#353) (9c1ad15)
update dependencies codemirror, fontawesome, svelte-awesome, and dev dependencies (75596ae)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps vanilla-jsoneditor from 0.19.0 to 0.20.0.
Release notes
Sourced from vanilla-jsoneditor's releases.
Changelog
Sourced from vanilla-jsoneditor's changelog.
Commits
64ed613
chore(release): 0.20.04ff40f9
fix: styling issue with a button text color in dark mode75596ae
feat: update dependenciescodemirror
,fontawesome
,svelte-awesome
, and ...9c1ad15
feat: export one bundle with and one without external dependencies in `vanill...ec4b788
feat: use SCSS variables internally (#344)3b0bdb7
fix: allowisEditing
property to be true when inreadOnly
mode (see #342)6c19c89
chore: cleanup unused import005f189
fix: cleanup a console.log6eb9b82
fix: make argumentelement
of helper functiononEscape
optionalDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show