Skip to content

Commit

Permalink
UI: fix JsonEditor (matching lines calculation issue), fix DefaultCel…
Browse files Browse the repository at this point in the history
…l tooltip
  • Loading branch information
sofa-tata committed Aug 3, 2023
1 parent 0cd47da commit 51f2f71
Show file tree
Hide file tree
Showing 11 changed files with 1,676 additions and 1,680 deletions.
6 changes: 3 additions & 3 deletions dist/cjs/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/cjs/index.js.map

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions dist/cjs/types/components/JsonEditor/JsonEditor.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
import 'ace-builds/src-noconflict/mode-json';
import 'ace-builds/src-min-noconflict/ext-searchbox';
import './jsonEditor.scss';
interface ParsedData {
[key: string]: any;
}
interface JsonEditorProps {
onChange?: () => void;
readOnly?: boolean;
Expand All @@ -11,6 +14,8 @@ interface JsonEditorProps {
allowSearch?: boolean;
allowCopy?: boolean;
shouldFoldAll?: boolean;
valueForMatched?: ParsedData;
isValueForMatchedLoading?: boolean;
[key: string]: any;
}
declare function JsonEditor(props: JsonEditorProps): JSX.Element;
Expand Down
8 changes: 4 additions & 4 deletions dist/esm/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/esm/index.js.map

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions dist/esm/types/components/JsonEditor/JsonEditor.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
import 'ace-builds/src-noconflict/mode-json';
import 'ace-builds/src-min-noconflict/ext-searchbox';
import './jsonEditor.scss';
interface ParsedData {
[key: string]: any;
}
interface JsonEditorProps {
onChange?: () => void;
readOnly?: boolean;
Expand All @@ -11,6 +14,8 @@ interface JsonEditorProps {
allowSearch?: boolean;
allowCopy?: boolean;
shouldFoldAll?: boolean;
valueForMatched?: ParsedData;
isValueForMatchedLoading?: boolean;
[key: string]: any;
}
declare function JsonEditor(props: JsonEditorProps): JSX.Element;
Expand Down
5 changes: 5 additions & 0 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,9 @@ interface UploadFieldProps {
}
declare function UploadField(props: UploadFieldProps): JSX.Element;

interface ParsedData {
[key: string]: any;
}
interface JsonEditorProps {
onChange?: () => void;
readOnly?: boolean;
Expand All @@ -262,6 +265,8 @@ interface JsonEditorProps {
allowSearch?: boolean;
allowCopy?: boolean;
shouldFoldAll?: boolean;
valueForMatched?: ParsedData;
isValueForMatchedLoading?: boolean;
[key: string]: any;
}
declare function JsonEditor(props: JsonEditorProps): JSX.Element;
Expand Down
Loading

0 comments on commit 51f2f71

Please sign in to comment.