-
Notifications
You must be signed in to change notification settings - Fork 731
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat: JsonViewer New Feature & BugFix (#2658)
* feat: support readonly mode * feat: support hidden searchbar * feat: correct cursor position * fix: correct cursor position with click * fix: resolve missing content issue when copy * fix: resolve cursor positioning issue after indentation * fix: ensure error messages render correctly after rerender * refactor: restructure FoldingModel underlying data structure * docs: update jsonViewer api doc * docs: update jsonViewer storybook instance * v2.72.2-alpha.0 * fix: resolve scroll rendering issue after folding * v2.72.2-alpha.1 * chore: remove console log statements * fix: resolve rendering issue after deletion in folded state * v2.72.2-alpha.2 * fix: resolve search box blur issue in read-only mode * fix: disable replace functionality in read-only mode * fix: correct logic for automatic line wrapping --------- Co-authored-by: 田丰 <[email protected]>
- Loading branch information
1 parent
7c205ed
commit de38239
Showing
23 changed files
with
982 additions
and
251 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"useWorkspaces": true, | ||
"npmClient": "yarn", | ||
"version": "2.72.0" | ||
"version": "2.72.2-alpha.2" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,56 @@ | ||
{ | ||
"name": "@douyinfe/semi-json-viewer-core", | ||
"version": "2.72.0", | ||
"description": "", | ||
"main": "lib/index.js", | ||
"module": "lib/index.js", | ||
"typings": "src/index.ts", | ||
"scripts": { | ||
"build:lib": "node ./script/compileLib.js", | ||
"prepublishOnly": "npm run build:lib" | ||
}, | ||
"files": [ | ||
"dist/*", | ||
"lib/*" | ||
], | ||
"dependencies": { | ||
"jsonc-parser": "^3.3.1" | ||
}, | ||
"devDependencies": { | ||
"esbuild": "^0.24.0" | ||
}, | ||
"sideEffects": [ | ||
"*.scss", | ||
"*.css", | ||
"lib/es/index.js", | ||
"./index.ts" | ||
], | ||
"keywords": [ | ||
"bytedance douyin design system", | ||
"semi design to any design", | ||
"a11y react component library", | ||
"design to code", | ||
"code to design", | ||
"3000+ design token", | ||
"dark mode", | ||
"semi design", | ||
"design ops", | ||
"modern design system", | ||
"figma ui kit" | ||
], | ||
"homepage": "https://semi.design", | ||
"bugs": { | ||
"url": "https://github.com/DouyinFE/semi-design/issues" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/DouyinFE/semi-design" | ||
}, | ||
"_unpkg": true, | ||
"unpkgFiles": [ | ||
"dist/css", | ||
"dist/umd/*.js" | ||
], | ||
"author": "", | ||
"license": "MIT" | ||
"name": "@douyinfe/semi-json-viewer-core", | ||
"version": "2.72.2-alpha.2", | ||
"description": "", | ||
"main": "lib/index.js", | ||
"module": "lib/index.js", | ||
"typings": "src/index.ts", | ||
"scripts": { | ||
"build:lib": "node ./script/compileLib.js", | ||
"prepublishOnly": "npm run build:lib" | ||
}, | ||
"files": [ | ||
"dist/*", | ||
"lib/*" | ||
], | ||
"dependencies": { | ||
"jsonc-parser": "^3.3.1" | ||
}, | ||
"devDependencies": { | ||
"esbuild": "^0.24.0" | ||
}, | ||
"sideEffects": [ | ||
"*.scss", | ||
"*.css", | ||
"lib/es/index.js", | ||
"./index.ts" | ||
], | ||
"keywords": [ | ||
"bytedance douyin design system", | ||
"semi design to any design", | ||
"a11y react component library", | ||
"design to code", | ||
"code to design", | ||
"3000+ design token", | ||
"dark mode", | ||
"semi design", | ||
"design ops", | ||
"modern design system", | ||
"figma ui kit" | ||
], | ||
"homepage": "https://semi.design", | ||
"bugs": { | ||
"url": "https://github.com/DouyinFE/semi-design/issues" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/DouyinFE/semi-design" | ||
}, | ||
"_unpkg": true, | ||
"unpkgFiles": [ | ||
"dist/css", | ||
"dist/umd/*.js" | ||
], | ||
"author": "", | ||
"license": "MIT" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.