@nimtech/nimpress 2.9.2 → 2.10.0

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.2",
3
+ "version": "2.10.0",
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
@@ -385,17 +385,34 @@
385
385
  animation: np-glass-lead-clear linear both;
386
386
  animation-timeline: --np-glass-scroll;
387
387
  animation-range: 0 96px;
388
- html[data-np-theme="glass"] .np-dropdown-trigger {
388
+ }
389
+
390
+ html[data-np-theme="glass"] .np-header-lead .np-crumbs-slot {
391
+ width: auto;
392
+ }
393
+ }
394
+
395
+ html[data-np-theme="glass"] .np-dropdown-trigger,
396
+ html[data-np-theme="glass"] .np-api-collapse-all {
389
397
  background-color: var(--np-glass-control);
390
398
  border-color: var(--np-glass-rim);
391
399
  box-shadow: inset 0 1px 0 var(--np-glass-edge);
400
+ backdrop-filter: var(--np-glass-frost-light);
401
+ -webkit-backdrop-filter: var(--np-glass-frost-light);
392
402
  }
393
403
 
394
- html[data-np-theme="glass"] .np-dropdown-trigger:hover {
404
+ html[data-np-theme="glass"] .np-dropdown-trigger:hover,
405
+ html[data-np-theme="glass"] .np-api-collapse-all:hover {
395
406
  background-color: var(--np-glass-control-hover);
396
407
  }
397
408
 
398
- html[data-np-theme="glass"] .np-dropdown-panel {
409
+ html[data-np-theme="glass"] .np-tag-card,
410
+ html[data-np-theme="glass"] .np-schemas-card {
411
+ background-color: transparent;
412
+ }
413
+
414
+ html[data-np-theme="glass"] .np-dropdown-panel,
415
+ html[data-np-theme="glass"] .np-api-download-menu {
399
416
  background-color: var(--np-glass-cover);
400
417
  background-image: var(--np-glass-sheen);
401
418
  backdrop-filter: var(--np-glass-frost);
@@ -416,13 +433,6 @@
416
433
  -webkit-backdrop-filter: var(--np-glass-frost);
417
434
  }
418
435
 
419
- }
420
-
421
- html[data-np-theme="glass"] .np-header-lead .np-crumbs-slot {
422
- width: auto;
423
- }
424
- }
425
-
426
436
  @keyframes np-glass-lead-clear {
427
437
  to {
428
438
  opacity: 0;