@nimtech/nimpress 2.9.3 → 2.10.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nimtech/nimpress",
3
- "version": "2.9.3",
3
+ "version": "2.10.1",
4
4
  "description": "Svelte 5 docs framework that supports it all.",
5
5
  "author": "nimling",
6
6
  "license": "Apache-2.0",
@@ -55,6 +55,16 @@
55
55
  * Mermaid host (rehydrated client-side)
56
56
  * .np-mermaid
57
57
  *
58
+ * D2 host (laid out at build time, drawn client-side)
59
+ * .np-d2
60
+ *
61
+ * Diagram frame shared by mermaid and d2
62
+ * .np-diagram-wrapper
63
+ * .np-diagram-viewport
64
+ * .np-diagram-stage
65
+ * .np-diagram-toolbar
66
+ * .np-diagram-error
67
+ *
58
68
  * DBML host (rehydrated client-side)
59
69
  * .np-dbml
60
70
  * .np-dbml-wrapper
@@ -354,6 +354,20 @@
354
354
  box-shadow: inset 0 1px 0 var(--np-glass-edge), var(--np-shadow-popover);
355
355
  }
356
356
 
357
+ html[data-np-theme="glass"] .np-header-lead {
358
+ position: relative;
359
+ isolation: isolate;
360
+ justify-self: start;
361
+ width: fit-content;
362
+ max-width: 100%;
363
+ height: calc(var(--np-header-height) - 16px);
364
+ padding: 0 18px 0 12px;
365
+ }
366
+
367
+ html[data-np-theme="glass"] .np-header-lead .np-crumbs-slot {
368
+ width: auto;
369
+ }
370
+
357
371
  @supports (animation-timeline: scroll()) {
358
372
  html[data-np-theme="glass"] .np-header::before {
359
373
  animation: np-glass-header-frost linear both;
@@ -361,16 +375,6 @@
361
375
  animation-range: 0 96px;
362
376
  }
363
377
 
364
- html[data-np-theme="glass"] .np-header-lead {
365
- position: relative;
366
- isolation: isolate;
367
- justify-self: start;
368
- width: fit-content;
369
- max-width: 100%;
370
- height: calc(var(--np-header-height) - 16px);
371
- padding: 0 18px 0 12px;
372
- }
373
-
374
378
  html[data-np-theme="glass"] .np-header-lead::before {
375
379
  content: "";
376
380
  position: absolute;
@@ -386,10 +390,6 @@
386
390
  animation-timeline: --np-glass-scroll;
387
391
  animation-range: 0 96px;
388
392
  }
389
-
390
- html[data-np-theme="glass"] .np-header-lead .np-crumbs-slot {
391
- width: auto;
392
- }
393
393
  }
394
394
 
395
395
  html[data-np-theme="glass"] .np-dropdown-trigger,