@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/.claude/rules/doc-pages.md +2 -0
- package/dist/cli.es.js +1 -1
- package/dist/nimpress.es.js +7046 -6603
- package/dist/plugin-BgOqm_bJ.js +8159 -0
- package/dist/plugin.es.js +1 -1
- package/dist/src/config/defaults.d.ts +1 -1
- package/dist/src/config/defaults.d.ts.map +1 -1
- package/dist/src/config/schema.d.ts +9 -9
- package/dist/src/d2/diagram.d.ts +108 -0
- package/dist/src/d2/diagram.d.ts.map +1 -0
- package/dist/src/d2/parse.d.ts +35 -0
- package/dist/src/d2/parse.d.ts.map +1 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/markdown/D2Block.svelte.d.ts +1 -0
- package/dist/src/markdown/DiagramViewport.svelte.d.ts +1 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/styles/theme.css +10 -0
- package/src/styles/themes/glass.css +14 -14
- package/dist/plugin-D9__wFVQ.js +0 -7056
package/package.json
CHANGED
package/src/styles/theme.css
CHANGED
|
@@ -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,
|