virtual-react-json-diff 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -38,6 +38,7 @@ export interface VirtualizedDiffViewerProps {
38
38
  onSearchMatch?: (index: number) => void;
39
39
  differOptions?: DifferOptions;
40
40
  className?: string;
41
+ miniMapWidth?: number;
41
42
  }
42
43
  export interface DiffMinimapProps {
43
44
  leftDiff: DiffRowOrCollapsed[];
@@ -47,4 +48,5 @@ export interface DiffMinimapProps {
47
48
  currentScrollTop: number;
48
49
  searchResults?: number[];
49
50
  currentMatchIndex?: number;
51
+ miniMapWidth?: number;
50
52
  }
package/dist/index.d.ts CHANGED
@@ -12,6 +12,7 @@ interface VirtualizedDiffViewerProps {
12
12
  onSearchMatch?: (index: number) => void;
13
13
  differOptions?: DifferOptions;
14
14
  className?: string;
15
+ miniMapWidth?: number;
15
16
  }
16
17
 
17
18
  declare const VirtualizedDiffViewer: React.FC<VirtualizedDiffViewerProps>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "virtual-react-json-diff",
3
- "version": "1.0.2",
4
- "description": "A React UI component for visually comparing large JSON objects with virtual scrolling, search, and theming — built on top of json-diff-kit.",
3
+ "version": "1.0.3",
4
+ "description": "Fast, virtualized React component for visually comparing large JSON objects. Includes search, theming, and minimap.",
5
5
  "main": "dist/cjs/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "files": [
@@ -31,12 +31,16 @@
31
31
  "react",
32
32
  "json",
33
33
  "diff",
34
- "json-diff",
35
- "viewer",
36
- "json-diff-kit",
37
- "virtual-scroll",
38
- "theme",
39
- "search"
34
+ "json diff",
35
+ "json compare",
36
+ "diff viewer",
37
+ "react json diff",
38
+ "json visualizer",
39
+ "json viewer",
40
+ "virtual scroll",
41
+ "large json",
42
+ "compare json",
43
+ "react diff viewer"
40
44
  ],
41
45
  "devDependencies": {
42
46
  "@fontsource/inter": "^5.1.1",