@emeryld/rrroutes-contract 2.7.8 → 2.7.9

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.8",
4
+ "version": "2.7.9",
5
5
  "private": false,
6
6
  "type": "module",
7
7
  "main": "dist/index.cjs",
@@ -30,8 +30,8 @@
30
30
  }
31
31
 
32
32
  mark {
33
- background: #fbbd23;
34
- color: #1f1f1f;
33
+ background: #00e5ff;
34
+ color: #0f1416;
35
35
  border-radius: 2px;
36
36
  padding: 0 1px;
37
37
  }
@@ -124,6 +124,9 @@
124
124
  display: grid;
125
125
  gap: 4px;
126
126
  margin-top: 10px;
127
+ margin-left: 16px;
128
+ padding-left: 12px;
129
+ border-left: 2px solid var(--border);
127
130
  }
128
131
 
129
132
  .section {
@@ -255,10 +258,14 @@
255
258
  }
256
259
 
257
260
  .schema-tree summary .tree-row {
258
- display: inline-grid;
261
+ display: grid;
259
262
  vertical-align: middle;
260
263
  }
261
264
 
265
+ .schema-tree > .tree-row {
266
+ padding-left: 18px;
267
+ }
268
+
262
269
  .tree-name {
263
270
  display: inline-flex;
264
271
  align-items: baseline;
@@ -286,6 +293,26 @@
286
293
 
287
294
  .schema-tree summary {
288
295
  color: var(--schema-accent);
296
+ list-style: none;
297
+ display: flex;
298
+ align-items: center;
299
+ gap: 6px;
300
+ }
301
+
302
+ .schema-tree summary::-webkit-details-marker {
303
+ display: none;
304
+ }
305
+
306
+ .schema-tree summary::before {
307
+ content: '▸';
308
+ display: inline-block;
309
+ width: 12px;
310
+ flex: 0 0 12px;
311
+ text-align: center;
312
+ }
313
+
314
+ .schema-tree details[open] > summary::before {
315
+ content: '▾';
289
316
  }
290
317
 
291
318
  input[type='checkbox'] {
@@ -763,7 +790,7 @@
763
790
  keyLink.href = href
764
791
  keyLink.target = '_blank'
765
792
  keyLink.rel = 'noopener noreferrer'
766
- keyLink.textContent = key
793
+ keyLink.innerHTML = engine.highlight(key)
767
794
  keyNode.appendChild(keyLink)
768
795
 
769
796
  setHighlighted(valueNode, sourceDisplay(source), engine)