json-diff-viewer-component 0.5.0 → 0.5.1

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.
package/README.md CHANGED
@@ -24,6 +24,7 @@
24
24
  - Collapsible nodes (synced between panels)
25
25
  - Diff indicators bubble up to parent nodes
26
26
  - Stats summary (added/removed/modified)
27
+ - Show only changed filter toggle
27
28
  - Syntax highlighting
28
29
  - Zero dependencies
29
30
  - Shadow DOM encapsulation
@@ -153,6 +154,9 @@ json-diff-viewer {
153
154
  --txt: #fafafa; /* Primary text */
154
155
  --dim: #a1a1aa; /* Dimmed/secondary text */
155
156
 
157
+ /* Controls */
158
+ --slider: var(--bdr); /* Slider toggle active color */
159
+
156
160
  /* Syntax highlighting */
157
161
  --key: #38bdf8; /* Object keys */
158
162
  --str: #a78bfa; /* String values */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "json-diff-viewer-component",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "type": "module",
5
5
  "description": "Vanilla JS web component for side-by-side JSON diff visualization",
6
6
  "keywords": [
package/src/lib/styles.js CHANGED
@@ -4,7 +4,7 @@ export default `
4
4
  --bg: #18181b; --bg2: #27272a; --bdr: #3f3f46;
5
5
  --txt: #fafafa; --dim: #a1a1aa;
6
6
  --key: #38bdf8; --str: #a78bfa; --num: #34d399; --bool: #fb923c; --nul: #f472b6; --br: #71717a;
7
- --slider: var(--mod);
7
+ --slider: var(--bdr);
8
8
  display: flex; flex-direction: column; font: 13px 'JetBrains Mono', 'Fira Code', monospace;
9
9
  background: var(--bg); color: var(--txt); border-radius: 12px; overflow: hidden;
10
10
  }