All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Critical: Corrected
package.jsonexport paths —main/module/exportsnow correctly referencedist/index.jsanddist/index.mjs(previous entries pointed to non-existentindex.cjs.js/index.esm.jsand would fail to resolve) - Fixed React
act()warning in validation test by replacing rawsetTimeoutwithwaitFor
src/styles.css— standalone CSS file now included in thedist/bundle viatsuppost-build step; importable asmodern-json-react/styles.cssuseContainerWidthhook exported from the public APISearchBarcomponent for full-text search across keys and values with match highlighting- Split mode screenshots (
split-mode-light.png,split-mode-dark.png,tree-mode-dark.png) added to documentation - GitHub Actions CI workflow (Node 18/20/22 matrix), npm publish workflow (triggered on GitHub Release), and JSR publish workflow
- Developer tooling: ESLint + TypeScript + React Hooks plugins, Prettier, Husky pre-commit hooks, lint-staged, commitlint, EditorConfig
CONTRIBUTING.mdwith developer guidelinestsconfig.test.jsonfor correct IDE type resolution in test files
- Added
bugsandhomepagefields topackage.json - Updated
repository.urlwith the correct GitHub URL TreeNodesignificantly refactored for improved interaction and accessibilityCodeEditorandTreeEditorimprovements- Demo (
demo/index.html) refreshed - Screenshots updated to PNG format (previously SVG)
- Version bump and minor fixes after initial release
- Initial release
- Dual editing modes: code (syntax-highlighted), tree (collapsible), and split
- JSON Schema validation (Draft-07, 2019-09, 2020-12) with real-time error markers
- Tree view with inline editing, type changing, key renaming, drag-drop reordering, and node deletion
- Undo / Redo with full history stack and keyboard shortcuts
- Full-text search with regex support and match highlighting
- Light and dark themes with 22 CSS custom properties for full customization
- Formatting: pretty-print, minify, sort keys
- WCAG 2.1 AA accessibility with full keyboard navigation and ARIA roles
- Complete TypeScript definitions with JSDoc comments
- Zero peer dependencies beyond React 18+