vizmatic 0.1.13 → 0.1.15
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/PROMPT.md +28 -8
- package/README.md +14 -2
- package/dist/cli.js +222 -63
- package/dist/index.cjs +85 -27
- package/dist/index.d.cts +10 -6
- package/dist/index.d.ts +10 -6
- package/dist/index.js +85 -27
- package/docs/PROMPT.md +28 -8
- package/docs/assets/examples/agent-pipeline_dark.png +0 -0
- package/docs/assets/examples/agent-pipeline_light.png +0 -0
- package/docs/assets/examples/animated-pipeline_dark.png +0 -0
- package/docs/assets/examples/animated-pipeline_light.png +0 -0
- package/docs/assets/examples/attention-head_dark.png +0 -0
- package/docs/assets/examples/attention-head_light.png +0 -0
- package/docs/assets/examples/embedding-map_dark.png +0 -0
- package/docs/assets/examples/embedding-map_light.png +0 -0
- package/docs/assets/examples/eval-dashboard_dark.png +0 -0
- package/docs/assets/examples/eval-dashboard_light.png +0 -0
- package/docs/assets/examples/manifest.json +16 -0
- package/docs/assets/examples/model-router_dark.png +0 -0
- package/docs/assets/examples/model-router_light.png +0 -0
- package/docs/assets/examples/presentation-frame_dark.png +0 -0
- package/docs/assets/examples/presentation-frame_light.png +0 -0
- package/docs/assets/examples/rag-graph_dark.png +0 -0
- package/docs/assets/examples/rag-graph_light.png +0 -0
- package/docs/assets/examples/release-card_dark.png +0 -0
- package/docs/assets/examples/release-card_light.png +0 -0
- package/docs/assets/examples/research-landscape_dark.png +0 -0
- package/docs/assets/examples/research-landscape_light.png +0 -0
- package/docs/assets/examples/sources.json +26 -6
- package/docs/assets/examples/spec-anatomy_dark.png +0 -0
- package/docs/assets/examples/spec-anatomy_light.png +0 -0
- package/docs/assets/examples/theme-background_dark.png +0 -0
- package/docs/assets/examples/theme-background_light.png +0 -0
- package/docs/assets/examples/theme-system_dark.png +0 -0
- package/docs/assets/examples/theme-system_light.png +0 -0
- package/docs/assets/examples/token-matrix_dark.png +0 -0
- package/docs/assets/examples/token-matrix_light.png +0 -0
- package/docs/assets/examples/transparent-badge_dark.png +0 -0
- package/docs/assets/examples/transparent-badge_light.png +0 -0
- package/examples/README.md +2 -0
- package/examples/model-router.tsx +1 -1
- package/examples/research-landscape.tsx +1 -1
- package/examples/theme-background.tsx +15 -0
- package/examples/transparent-badge.tsx +15 -0
- package/examples/vizmatic-bare.d.ts +1 -0
- package/package.json +2 -1
package/examples/README.md
CHANGED
|
@@ -17,5 +17,7 @@ Rendered assets live in [`../docs/assets/examples`](../docs/assets/examples).
|
|
|
17
17
|
| [Release Card](release-card.tsx) | <img src="../docs/assets/examples/release-card_dark.png" alt="Release Card dark render" width="360" /> | <img src="../docs/assets/examples/release-card_light.png" alt="Release Card light render" width="360" /> |
|
|
18
18
|
| [Research Landscape](research-landscape.tsx) | <img src="../docs/assets/examples/research-landscape_dark.png" alt="Research Landscape dark render" width="360" /> | <img src="../docs/assets/examples/research-landscape_light.png" alt="Research Landscape light render" width="360" /> |
|
|
19
19
|
| [Spec Anatomy](spec-anatomy.tsx) | <img src="../docs/assets/examples/spec-anatomy_dark.png" alt="Spec Anatomy dark render" width="360" /> | <img src="../docs/assets/examples/spec-anatomy_light.png" alt="Spec Anatomy light render" width="360" /> |
|
|
20
|
+
| [Theme Background](theme-background.tsx) | <img src="../docs/assets/examples/theme-background_dark.png" alt="Theme Background dark render" width="360" /> | <img src="../docs/assets/examples/theme-background_light.png" alt="Theme Background light render" width="360" /> |
|
|
20
21
|
| [Theme System](theme-system.tsx) | <img src="../docs/assets/examples/theme-system_dark.png" alt="Theme System dark render" width="360" /> | <img src="../docs/assets/examples/theme-system_light.png" alt="Theme System light render" width="360" /> |
|
|
21
22
|
| [Token Matrix](token-matrix.tsx) | <img src="../docs/assets/examples/token-matrix_dark.png" alt="Token Matrix dark render" width="360" /> | <img src="../docs/assets/examples/token-matrix_light.png" alt="Token Matrix light render" width="360" /> |
|
|
23
|
+
| [Transparent Badge](transparent-badge.tsx) | <img src="../docs/assets/examples/transparent-badge_dark.png" alt="Transparent Badge dark render" width="360" /> | <img src="../docs/assets/examples/transparent-badge_light.png" alt="Transparent Badge light render" width="360" /> |
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
width = 760;
|
|
2
|
+
height = 420;
|
|
3
|
+
|
|
4
|
+
<Scene background={c.bg} title="Opaque theme background" subtitle="use when the host page needs the full frame" align="center" contentWidth={620}>
|
|
5
|
+
<Row gap={16} width="100%" justify="center">
|
|
6
|
+
<MetricCard label="Canvas" value="theme" detail="uses c.bg" tone="purple" width={210} />
|
|
7
|
+
<StepCard title="Stable" subtitle="same as older renders" tone="green" width={210} />
|
|
8
|
+
</Row>
|
|
9
|
+
<CalloutCard
|
|
10
|
+
title="Explicit fill"
|
|
11
|
+
detail="Use background={c.bg}, render background: 'theme', or CLI --background theme."
|
|
12
|
+
tone="cyan"
|
|
13
|
+
width={560}
|
|
14
|
+
/>
|
|
15
|
+
</Scene>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
width = 760;
|
|
2
|
+
height = 420;
|
|
3
|
+
|
|
4
|
+
<Scene title="Transparent PNG default" subtitle="drop onto any blog background" align="center" contentWidth={620}>
|
|
5
|
+
<Row gap={16} width="100%" justify="center">
|
|
6
|
+
<MetricCard label="Alpha" value="default" detail="no canvas fill" tone="cyan" width={210} />
|
|
7
|
+
<StepCard title="Reusable" subtitle="blog, deck, docs" tone="green" width={210} />
|
|
8
|
+
</Row>
|
|
9
|
+
<CalloutCard
|
|
10
|
+
title="No background flag needed"
|
|
11
|
+
detail="Vizmatic leaves the root canvas transparent unless a frame or render option asks for a background."
|
|
12
|
+
tone="purple"
|
|
13
|
+
width={560}
|
|
14
|
+
/>
|
|
15
|
+
</Scene>
|
|
@@ -8,6 +8,7 @@ declare global {
|
|
|
8
8
|
var width: number
|
|
9
9
|
var height: number
|
|
10
10
|
|
|
11
|
+
const c: import('../src').ThemeColors
|
|
11
12
|
const BarChart: AutoTheme<typeof import('../src').BarChart>
|
|
12
13
|
const CalloutCard: AutoTheme<typeof import('../src').CalloutCard>
|
|
13
14
|
const Column: AutoTheme<typeof import('../src').Column>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vizmatic",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.15",
|
|
4
4
|
"description": "Theme-aware visual primitives and render pipeline for AI-generated diagrams, figures, and presentation frames.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -64,6 +64,7 @@
|
|
|
64
64
|
"site:build": "tsx scripts/build-site.ts",
|
|
65
65
|
"docs:check": "tsx scripts/check-docs.ts",
|
|
66
66
|
"site:serve": "node scripts/serve-docs.mjs docs 4173",
|
|
67
|
+
"sync:plugin-versions": "node scripts/sync-plugin-versions.mjs",
|
|
67
68
|
"security:audit": "pnpm audit --audit-level low",
|
|
68
69
|
"deps:check": "pnpm security:audit && npm pack --dry-run",
|
|
69
70
|
"verify": "pnpm lint && pnpm test && pnpm render:examples && pnpm docs:check && pnpm deps:check",
|