@nimtech/nimpress 2.9.1 → 2.9.3
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/skills/nimpress/SKILL.md +1 -1
- package/dist/cli.es.js +1 -1
- package/dist/nimpress.es.js +1570 -1570
- package/dist/{plugin-B3XIiXAk.js → plugin-D9__wFVQ.js} +1894 -1881
- package/dist/plugin.es.js +1 -1
- package/dist/src/commands/server.d.ts +2 -1
- package/dist/src/commands/server.d.ts.map +1 -1
- package/dist/src/framework/gated.d.ts.map +1 -1
- package/dist/src/modules/harness.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/styles/themes/glass.css +20 -10
package/dist/plugin.es.js
CHANGED
|
@@ -13,7 +13,7 @@ import "markdown-it-container";
|
|
|
13
13
|
import "markdown-it-deflist";
|
|
14
14
|
import "markdown-it-footnote";
|
|
15
15
|
import "markdown-it-task-lists";
|
|
16
|
-
import { C as L, H as O, n as P, I as T, J as V, m as b, y as h, K as x, L as A, F as D, G as F, l as H } from "./plugin-
|
|
16
|
+
import { C as L, H as O, n as P, I as T, J as V, m as b, y as h, K as x, L as A, F as D, G as F, l as H } from "./plugin-D9__wFVQ.js";
|
|
17
17
|
import "zod";
|
|
18
18
|
import "yaml";
|
|
19
19
|
import "shiki";
|
|
@@ -3,7 +3,8 @@ import { NimpressCommandsConfig } from '../types';
|
|
|
3
3
|
export declare const commandRoute = "/__nimpress/command";
|
|
4
4
|
export declare const commandsModule = "@nimtech/nimpress/commands";
|
|
5
5
|
export declare const staticCommandsId = "\0virtual:nimpress/commands";
|
|
6
|
-
export declare const staticCommandsSource = "export const commandsEnabled = false\nexport async function postCommand() {\n throw new Error('commands run only under nimpress dev, a static build has no command server')\n}\n";
|
|
6
|
+
export declare const staticCommandsSource = "export const commandsEnabled = false\nexport async function postCommand() {\n throw new Error('nimpress:unguarded-command commands run only under nimpress dev, a static build has no command server')\n}\n";
|
|
7
|
+
export declare function getStaticCommandsLeak(code: string[], importers: readonly string[]): string | undefined;
|
|
7
8
|
export declare function getCommandRefusal(config: NimpressCommandsConfig, command: string, args: string[]): string | null;
|
|
8
9
|
export declare function getCommandHandler(config: NimpressCommandsConfig, cwd: string): (req: IncomingMessage, res: ServerResponse) => void;
|
|
9
10
|
//# sourceMappingURL=server.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../../src/commands/server.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAChE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAA;AAEtD,eAAO,MAAM,YAAY,wBAAwB,CAAA;AAEjD,eAAO,MAAM,cAAc,+BAA+B,CAAA;AAE1D,eAAO,MAAM,gBAAgB,gCAAgC,CAAA;
|
|
1
|
+
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../../src/commands/server.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAChE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAA;AAEtD,eAAO,MAAM,YAAY,wBAAwB,CAAA;AAEjD,eAAO,MAAM,cAAc,+BAA+B,CAAA;AAE1D,eAAO,MAAM,gBAAgB,gCAAgC,CAAA;AAI7D,eAAO,MAAM,oBAAoB,iNAIhC,CAAA;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,SAAS,MAAM,EAAE,GAAG,MAAM,GAAG,SAAS,CAGtG;AAwBD,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,sBAAsB,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,MAAM,GAAG,IAAI,CAKhH;AA0GD,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,sBAAsB,EAAE,GAAG,EAAE,MAAM,IACnE,KAAK,eAAe,EAAE,KAAK,cAAc,KAAG,IAAI,CA4BzD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gated.d.ts","sourceRoot":"","sources":["../../../src/framework/gated.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"gated.d.ts","sourceRoot":"","sources":["../../../src/framework/gated.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAA8B,SAAS,EAA4B,MAAM,UAAU,CAAA;AAS/F,MAAM,WAAW,YAAY;IAC3B,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAsBD,wBAAgB,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAIjE;AAED,wBAAgB,cAAc,IAAI,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAE7D;AAED,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,CAE9D;AAED,wBAAgB,gBAAgB,IAAI,MAAM,CAEzC;AAED,wBAAsB,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC,CAQ/D;AAED,wBAAsB,gBAAgB,CAAC,aAAa,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAmF5E;AAED,wBAAgB,kBAAkB,IAAI,IAAI,CA0BzC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"harness.d.ts","sourceRoot":"","sources":["../../../src/modules/harness.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAU,YAAY,EAAE,MAAM,MAAM,CAAA;AAC9D,OAAO,KAAK,EAAE,eAAe,EAAE,kBAAkB,EAAE,aAAa,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAA;AAQ1G,OAAO,KAAK,EAA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G;AAED,MAAM,WAAW,aAAa;IAC5B,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,UAAU,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;IAClD,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB;AAED,wBAAgB,qBAAqB,CACnC,GAAG,EAAE,MAAM,EACX,OAAO,EAAE,aAAa,EACtB,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,gBAAgB,EAAE,GACxB,aAAa,EAAE,CAuBjB;AAED,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,MAAM,GAAG,KAAK,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC,CAezF;AAED,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,MAAM,EAAE,YAAY,EAAE,kBAAkB,GAAG,MAAM,GAAG,SAAS,CAKrG;AAED,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,MAAM,EAAE,YAAY,EAAE,kBAAkB,GAAG,MAAM,GAAG,SAAS,CAKxG;AAuHD,wBAAsB,iBAAiB,CACrC,GAAG,EAAE,MAAM,EACX,cAAc,EAAE,sBAAsB,EACtC,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,OAAO,GAAG,OAAO,GACzB,OAAO,CAAC,YAAY,CAAC,CA4DvB"}
|
package/package.json
CHANGED
|
@@ -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
|
-
|
|
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-
|
|
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;
|