@emeryld/rrroutes-contract 2.7.7 → 2.7.8

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@emeryld/rrroutes-contract",
3
3
  "description": "TypeScript contract definitions for RRRoutes",
4
- "version": "2.7.7",
4
+ "version": "2.7.8",
5
5
  "private": false,
6
6
  "type": "module",
7
7
  "main": "dist/index.cjs",
@@ -6,13 +6,14 @@
6
6
  <title>Finalized Leaves Viewer</title>
7
7
  <style>
8
8
  :root {
9
- --bg: #f6f8fc;
10
- --surface: #ffffff;
11
- --surface-2: #f1f4f9;
12
- --border: #d9e0eb;
13
- --text: #182033;
14
- --muted: #64708b;
15
- --accent: #1858c6;
9
+ --bg: #212121;
10
+ --surface: #2a2a2a;
11
+ --surface-2: #353535;
12
+ --border: #4a4a4a;
13
+ --text: #fffafa;
14
+ --muted: #c8c2c2;
15
+ --accent: #a764d3;
16
+ --schema-accent: #fbbd23;
16
17
  --ok: #1f8f4e;
17
18
  --danger: #d12b2b;
18
19
  }
@@ -29,8 +30,8 @@
29
30
  }
30
31
 
31
32
  mark {
32
- background: #ffec99;
33
- color: #402f00;
33
+ background: #fbbd23;
34
+ color: #1f1f1f;
34
35
  border-radius: 2px;
35
36
  padding: 0 1px;
36
37
  }
@@ -43,7 +44,7 @@
43
44
 
44
45
  .card {
45
46
  background: var(--surface);
46
- border: 1px solid #e7ecf4;
47
+ border: 1px solid var(--border);
47
48
  border-radius: 6px;
48
49
  padding: 12px;
49
50
  }
@@ -79,7 +80,8 @@
79
80
  border-radius: 4px;
80
81
  padding: 8px 10px;
81
82
  font: inherit;
82
- background: #fff;
83
+ background: var(--surface-2);
84
+ color: var(--text);
83
85
  }
84
86
 
85
87
  button {
@@ -87,7 +89,7 @@
87
89
  border-radius: 4px;
88
90
  padding: 7px 10px;
89
91
  font: inherit;
90
- background: #fff;
92
+ background: var(--surface-2);
91
93
  color: var(--text);
92
94
  cursor: pointer;
93
95
  }
@@ -125,7 +127,7 @@
125
127
  }
126
128
 
127
129
  .section {
128
- border-top: 1px solid #e8edf5;
130
+ border-top: 1px solid var(--border);
129
131
  padding: 10px 0 2px;
130
132
  }
131
133
 
@@ -147,7 +149,7 @@
147
149
  }
148
150
 
149
151
  .kv {
150
- border-bottom: 1px dashed #e2e8f2;
152
+ border-bottom: 1px dashed var(--border);
151
153
  padding: 4px 0 6px;
152
154
  }
153
155
 
@@ -178,11 +180,11 @@
178
180
  }
179
181
 
180
182
  .chip {
181
- border: 1px solid #e0e6f0;
183
+ border: 1px solid var(--border);
182
184
  border-radius: 4px;
183
185
  padding: 2px 6px;
184
186
  font-size: 12px;
185
- background: #f6f8fc;
187
+ background: var(--surface-2);
186
188
  }
187
189
 
188
190
  .chip.ok {
@@ -203,10 +205,10 @@
203
205
  justify-content: center;
204
206
  width: 18px;
205
207
  height: 18px;
206
- border: 1px solid #e0e6f0;
208
+ border: 1px solid var(--border);
207
209
  border-radius: 4px;
208
210
  font-size: 11px;
209
- background: #f6f8fc;
211
+ background: var(--surface-2);
210
212
  }
211
213
 
212
214
  .icon-badge.warn {
@@ -224,7 +226,7 @@
224
226
  }
225
227
 
226
228
  .schema-block {
227
- border-top: 1px solid #e8edf5;
229
+ border-top: 1px solid var(--border);
228
230
  padding: 8px 0 2px;
229
231
  margin-bottom: 6px;
230
232
  }
@@ -240,7 +242,7 @@
240
242
 
241
243
  .schema-tree details {
242
244
  margin-left: 12px;
243
- border-left: 1px solid #e8edf5;
245
+ border-left: 1px solid var(--border);
244
246
  padding-left: 8px;
245
247
  }
246
248
 
@@ -274,11 +276,20 @@
274
276
  }
275
277
 
276
278
  .tree-pill {
277
- border: 1px solid #e0e6f0;
279
+ border: 1px solid var(--schema-accent);
278
280
  border-radius: 4px;
279
281
  padding: 1px 6px;
280
282
  font-size: 11px;
281
- background: #f2f5fa;
283
+ background: rgba(251, 189, 35, 0.15);
284
+ color: var(--schema-accent);
285
+ }
286
+
287
+ .schema-tree summary {
288
+ color: var(--schema-accent);
289
+ }
290
+
291
+ input[type='checkbox'] {
292
+ accent-color: var(--accent);
282
293
  }
283
294
 
284
295
  @media (max-width: 720px) {
@@ -730,6 +741,10 @@
730
741
  return `${prefix}${encodeURI(normalizedPath)}`
731
742
  }
732
743
 
744
+ function sourceDisplay(source) {
745
+ return ''
746
+ }
747
+
733
748
  function createSourceRow(key, source, engine) {
734
749
  const box = el('div', 'kv')
735
750
  const keyNode = el('div', 'k')
@@ -751,7 +766,7 @@
751
766
  keyLink.textContent = key
752
767
  keyNode.appendChild(keyLink)
753
768
 
754
- setHighlighted(valueNode, `${source.file}:${source.line}:${source.column}`, engine)
769
+ setHighlighted(valueNode, sourceDisplay(source), engine)
755
770
  box.appendChild(keyNode)
756
771
  box.appendChild(valueNode)
757
772
  return box