@emeryld/rrroutes-contract 2.7.8 → 2.7.10

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.10",
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
+ margin-left: 18px;
267
+ }
268
+
262
269
  .tree-name {
263
270
  display: inline-flex;
264
271
  align-items: baseline;
@@ -284,8 +291,37 @@
284
291
  color: var(--schema-accent);
285
292
  }
286
293
 
287
- .schema-tree summary {
294
+ .schema-tree details > summary {
288
295
  color: var(--schema-accent);
296
+ list-style: none;
297
+ display: grid;
298
+ grid-template-columns: 12px 1fr;
299
+ align-items: center;
300
+ column-gap: 6px;
301
+ }
302
+
303
+ .schema-tree details > summary::-webkit-details-marker {
304
+ display: none;
305
+ }
306
+
307
+ .schema-tree details > summary::marker {
308
+ content: '';
309
+ }
310
+
311
+ .schema-tree details > summary::before {
312
+ content: '▸';
313
+ display: inline-block;
314
+ grid-column: 1;
315
+ width: 12px;
316
+ text-align: center;
317
+ }
318
+
319
+ .schema-tree details > summary > .tree-row {
320
+ grid-column: 2;
321
+ }
322
+
323
+ .schema-tree details[open] > summary::before {
324
+ content: '▾';
289
325
  }
290
326
 
291
327
  input[type='checkbox'] {
@@ -763,7 +799,7 @@
763
799
  keyLink.href = href
764
800
  keyLink.target = '_blank'
765
801
  keyLink.rel = 'noopener noreferrer'
766
- keyLink.textContent = key
802
+ keyLink.innerHTML = engine.highlight(key)
767
803
  keyNode.appendChild(keyLink)
768
804
 
769
805
  setHighlighted(valueNode, sourceDisplay(source), engine)