@steamfield/decks 1.0.0-rc.0 → 1.0.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/dist/cli.js +1 -1
- package/dist/control-tray.css +80 -0
- package/dist/go-to-dialog.css +57 -0
- package/dist/{index-BURtH7IB.d.ts → index-D3Yj4yT6.d.ts} +11 -2
- package/dist/{index-BV_-6L5L.d.ts → index-DG8UcGQd.d.ts} +77 -1
- package/dist/{index-B2n69xrC.d.ts → index-zg-z6HTy.d.ts} +18 -2
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/kit/term/live-term.module.css +36 -0
- package/dist/kit.d.ts +21 -6
- package/dist/kit.js +252 -8
- package/dist/live-term.module.css +36 -0
- package/dist/magic-move.css +30 -0
- package/dist/mark.css +34 -0
- package/dist/motion.d.ts +2 -2
- package/dist/motion.js +1 -1
- package/dist/node.d.ts +5 -1
- package/dist/node.js +1 -1
- package/dist/plugin/skills/building-a-deck/references/workflow.md +10 -0
- package/dist/plugin/skills/deck-design/references/layout.md +2 -0
- package/dist/plugin/skills/deck-motion/references/motion.md +38 -1
- package/dist/plugin/skills/working-with-decks/references/project.md +4 -0
- package/dist/{prose-patterns-DPqjGBFu.js → prose-patterns-D-tdt0Ab.js} +3 -1
- package/dist/{prose-scan-BrWZ7gxZ.js → prose-scan-ni8g6pc-.js} +2 -2
- package/dist/{src-DizFoqYt.js → src-BHlxNl0Z.js} +347 -42
- package/dist/{src-CmQgaG1b.js → src-BxuWgcUh.js} +581 -67
- package/dist/{src-C-OfT72W.js → src-CDNWEWZz.js} +212 -3
- package/dist/term/shell_pty.py +38 -0
- package/dist/term/zsh/.zshrc +4 -0
- package/dist/term-protocol-B_qHRDEp.js +11 -0
- package/dist/xterm-host-C6OjffSm.js +282 -0
- package/docs/README.md +1 -0
- package/docs/cli.md +1 -1
- package/docs/code-blocks.md +31 -0
- package/docs/config.md +1 -0
- package/docs/getting-started.md +2 -1
- package/docs/kit.md +7 -6
- package/docs/migrating-from-slidev.md +4 -0
- package/docs/motion.md +25 -1
- package/docs/presenting.md +16 -1
- package/docs/slides.md +20 -1
- package/docs/terminal.md +97 -0
- package/package.json +4 -1
package/docs/kit.md
CHANGED
|
@@ -48,6 +48,7 @@ export { StoryCover } from "@steamfield/decks/kit";
|
|
|
48
48
|
| `DUR`, `SETTLE`, `DRAW`, `TRACE`, `SETTLE_CSS`, `DRAW_CSS`, `TRACE_CSS`, `easedStagger` | The story duration table (seconds), three gsap ease names, the same curves as CSS strings, and an eased stagger offset. |
|
|
49
49
|
| `xScale`, `yScale`, `clamp01`, `stagger` | Linear scales (d3-scale) for stage coordinates, a 0 to 1 clamp, and per-item progress within one staggered beat. |
|
|
50
50
|
| `FILTER_IDS`, `filterUrl` | SVG filters every `StoryStage` defines (marker textures and a glow), referenced as `filter={filterUrl(FILTER_IDS.glow)}`. |
|
|
51
|
+
| `LiveTerm`; type `LiveTermStatus` | A real shell on a slide, one command per click, with a fallback wherever a shell can't run. See [terminal.md](terminal.md). |
|
|
51
52
|
| `gsap` | The motion package's gsap instance, re-exported. |
|
|
52
53
|
|
|
53
54
|
The package also exports `@steamfield/decks/kit/styles.css`. Nothing else is public.
|
|
@@ -72,11 +73,11 @@ installTheme(resolveTheme(deckTheme));
|
|
|
72
73
|
| `theme()` | Returns the active theme. Throws if none is installed. |
|
|
73
74
|
| `ink(hue, step)` | One color of a ramp. `hue` is `"cyan"`, `"amber"`, `"rose"`, `"emerald"`, `"violet"` or `"slate"`; `step` is 1 to 4, darkest to lightest. |
|
|
74
75
|
|
|
75
|
-
`setup.ts` runs before any component module, so a component may call `ink()` at module level, as `examples/
|
|
76
|
+
`setup.ts` runs before any component module, so a component may call `ink()` at module level, as `examples/opendata-pitch/components/BootstrapStage.tsx` does:
|
|
76
77
|
|
|
77
78
|
```tsx
|
|
78
|
-
const
|
|
79
|
-
const
|
|
79
|
+
const RULE_INK = ink("slate", 1);
|
|
80
|
+
const DISK_WALL = ink("amber", 3);
|
|
80
81
|
```
|
|
81
82
|
|
|
82
83
|
### A deck's `theme.json`
|
|
@@ -330,15 +331,15 @@ The chart animates in when its slide is arrived at on click 0 in the play view,
|
|
|
330
331
|
|
|
331
332
|
The chart draws at screen size, not canvas size, so font sizes in a spec are screen pixels. Multiply them by the frame scale: `useFrameScale()` returns it, and `scaleChartTheme(theme, scale)` applies it to a chart theme's font sizes and axis spacing. `slideChartTheme` is a chart theme that reads its colors and fonts from the installed kit theme, and `slideChartAnimation` is the entrance timing for slides.
|
|
332
333
|
|
|
333
|
-
|
|
334
|
+
A stage that draws one chart from a module-level `SPEC`, colored with a module-level `DATA = ink("cyan", 2)`:
|
|
334
335
|
|
|
335
336
|
```tsx
|
|
336
337
|
const scale = useFrameScale();
|
|
337
338
|
const chartSpec = useMemo<ComponentProps<typeof OpenChart>["spec"]>(() => {
|
|
338
339
|
const base = scaleChartTheme(slideChartTheme, scale);
|
|
339
340
|
return {
|
|
340
|
-
...
|
|
341
|
-
data: [...
|
|
341
|
+
...SPEC,
|
|
342
|
+
data: [...SPEC.data],
|
|
342
343
|
theme: { ...base, colors: { ...base.colors, categorical: [DATA] } },
|
|
343
344
|
animation: slideChartAnimation,
|
|
344
345
|
};
|
|
@@ -35,6 +35,10 @@ Decks used to be a Slidev addon, `slidev-addon-decks`. It is now its own React f
|
|
|
35
35
|
| `<!-- notes -->` at the end of a page | `<Notes>...</Notes>`, `[click]` markers included |
|
|
36
36
|
| `<!-- lint-allow: id -->` on a line | `{/* lint-allow: id */}` on the same line |
|
|
37
37
|
| `routeEmbedNavigation` from `slidev-addon-decks/composables/embed-navigation` | `routeEmbedNavigation` from `@steamfield/decks` |
|
|
38
|
+
| `v-mark` (`v-mark.circle`, `v-mark.box`, ...) | `<Mark kind="circle" at={n}>` around the text; see [motion.md](motion.md) |
|
|
39
|
+
| a four-backtick `md magic-move` fence | the same fence; `{*}` emphasis becomes `{all}`. See [code-blocks.md](code-blocks.md) |
|
|
40
|
+
| `<Toc />`, `<Link to="5">` | `<Toc />`, `<Link to={5}>` (a number); see [slides.md](slides.md) |
|
|
41
|
+
| the bottom-left navigation controls and `g` | the control tray and `g`; see [presenting.md](presenting.md) |
|
|
38
42
|
|
|
39
43
|
## Commands
|
|
40
44
|
|
package/docs/motion.md
CHANGED
|
@@ -14,10 +14,11 @@ When a slide's frontmatter has no `clicks`, the total is read from the MDX sourc
|
|
|
14
14
|
|
|
15
15
|
| Written in the slide | Contributes |
|
|
16
16
|
| --- | --- |
|
|
17
|
-
| `Step`, `Stagger`, `Highlight`, `Draw` with `at` and optional `until` | `until` if present, else `at` |
|
|
17
|
+
| `Step`, `Stagger`, `Highlight`, `Draw`, `Mark` with `at` and optional `until` | `until` if present, else `at` |
|
|
18
18
|
| `TextReveal`, `CountUp` with `at` | `at` |
|
|
19
19
|
| `Steps` with `from` and `k` children (JSX elements, or one list with `k` items) | `from + k - 1` |
|
|
20
20
|
| A fenced code block with `k` highlight steps and `at=<n>` | `at + k - 1` (see [code-blocks.md](code-blocks.md)) |
|
|
21
|
+
| A magic-move fence | `at` plus each version's highlight steps (at least 1 each), minus 1 (see [code-blocks.md](code-blocks.md)) |
|
|
21
22
|
|
|
22
23
|
So this slide has two clicks with no `clicks:` line:
|
|
23
24
|
|
|
@@ -157,6 +158,29 @@ Draws the strokes of its SVG shape children on click `at`. It renders a `<g>`, s
|
|
|
157
158
|
|
|
158
159
|
Props: `at`, `until`.
|
|
159
160
|
|
|
161
|
+
### `Mark`
|
|
162
|
+
|
|
163
|
+
Draws a hand-drawn mark around inline text on click `at`, and removes it at `until`. The text is always visible and readable; only the mark comes and goes. Going back un-draws it.
|
|
164
|
+
|
|
165
|
+
```mdx
|
|
166
|
+
The fix was <Mark kind="circle" at={1}>one line</Mark>, and <Mark at={2}>nobody</Mark> had read it.
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
Props: `at`, `until`, `kind` and `color`.
|
|
170
|
+
|
|
171
|
+
| `kind` | Draws |
|
|
172
|
+
| --- | --- |
|
|
173
|
+
| `underline` (default) | A line under the text. |
|
|
174
|
+
| `circle` | An ellipse around it. |
|
|
175
|
+
| `box` | A rectangle around it. |
|
|
176
|
+
| `strike` | A line through its middle. |
|
|
177
|
+
| `cross` | Two diagonals across it. |
|
|
178
|
+
| `bracket` | A bracket either side. |
|
|
179
|
+
|
|
180
|
+
`color` takes any CSS colour, including a theme token (`color="var(--accent)"`); the default is the text colour. Set the stroke width with the `--deck-mark-width` CSS variable (default `3px`). The strokes come from [Rough.js](https://roughjs.com) with a fixed seed, so the same mark looks the same on every load and in every view. A mark over text that wraps onto two lines surrounds the whole box, and an `underline` sits under the last line only, so keep marked phrases short.
|
|
181
|
+
|
|
182
|
+
`Mark` is the counterpart of Slidev's `v-mark`.
|
|
183
|
+
|
|
160
184
|
## Hooks
|
|
161
185
|
|
|
162
186
|
### `useStepState(at, until?)`
|
package/docs/presenting.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Presenting
|
|
2
2
|
|
|
3
|
-
Open the deck's URL, press `f` for fullscreen and use the arrow keys. Press `p` for a presenter window with notes,
|
|
3
|
+
Open the deck's URL, press `f` for fullscreen and use the arrow keys. Press `p` for a presenter window with notes, `o` for an overview of every slide, and `g` to jump to a slide by number or title. Everything the keys do is also on the control tray in the bottom-left corner.
|
|
4
4
|
|
|
5
5
|
## Keyboard
|
|
6
6
|
|
|
@@ -23,6 +23,7 @@ Views and display:
|
|
|
23
23
|
| `o` | Open the overview, or close it. | Every view. |
|
|
24
24
|
| `Escape` | Close the overview without moving. | The overview. |
|
|
25
25
|
| `p` | Open the presenter window. | The play view, when not embedded. |
|
|
26
|
+
| `g` | Open the go-to dialog. | The play view and presenter window, when not embedded or in the site player. |
|
|
26
27
|
| `Cmd/Ctrl` + `+` or `=` | Larger slide text. | Play view and presenter window. |
|
|
27
28
|
| `Cmd/Ctrl` + `-` | Smaller slide text. | Play view and presenter window. |
|
|
28
29
|
| `Cmd/Ctrl` + `0` | Slide text back to its authored size. | Play view and presenter window. |
|
|
@@ -31,6 +32,20 @@ In the overview the arrow keys move between tiles instead: `ArrowRight` and `Arr
|
|
|
31
32
|
|
|
32
33
|
Keys are ignored while typing in an input, textarea, select or editable element, and a held key acts once. `Space` and `Enter` on a focused button do the button's job, so after clicking "Reset timer" the arrow keys still advance the talk.
|
|
33
34
|
|
|
35
|
+
## Control tray
|
|
36
|
+
|
|
37
|
+
Move the pointer to the bottom-left corner of the play view and a row of controls appears: previous, next, the position ("3 / 12", which opens the go-to dialog), overview, presenter, fullscreen and smaller or larger text. It fades out again when the pointer leaves, and `Tab` reaches it from the keyboard. Previous and next are disabled at the first and last click of the deck, and the fullscreen button is absent where the browser does not allow fullscreen.
|
|
38
|
+
|
|
39
|
+
Moving the pointer away also releases a clicked tray button's focus, so `Space` advances the talk again rather than pressing the button. The tray is not shown in the presenter window, the overview, print, or a deck running `?embedded`.
|
|
40
|
+
|
|
41
|
+
During a slide transition the browser routes clicks to the transition's snapshot, so a tray click in that moment is dropped. Keys still work; wait for the transition to finish or use the keyboard.
|
|
42
|
+
|
|
43
|
+
## Go to a slide
|
|
44
|
+
|
|
45
|
+
Press `g`, or click the position in the tray. Type a number to pick that slide, or any other text to filter slides by title; `ArrowUp` and `ArrowDown` move the selection and `Enter` goes there, at click 0. `Escape` or a click outside closes the dialog without moving. A search that is only digits always means a slide number, so a title such as "2026" is found by another word in it.
|
|
46
|
+
|
|
47
|
+
In a synced talk, going to a slide from the presenter window moves the audience window too, as any other navigation does.
|
|
48
|
+
|
|
34
49
|
## The URL
|
|
35
50
|
|
|
36
51
|
The position is in the URL hash, so a reload, a bookmark or a shared link lands on the same state.
|
package/docs/slides.md
CHANGED
|
@@ -92,8 +92,9 @@ Every slide can use these names with no import.
|
|
|
92
92
|
| Source | Names |
|
|
93
93
|
| --- | --- |
|
|
94
94
|
| The deck's `components/*.tsx` | Every named export under its own name; a default export under the file's basename. |
|
|
95
|
-
| Motion (`@steamfield/decks/motion`) | `Step`, `Steps`, `Stagger`, `TextReveal`, `Highlight`, `CountUp`, `Draw`, `Morph` |
|
|
95
|
+
| Motion (`@steamfield/decks/motion`) | `Step`, `Steps`, `Stagger`, `TextReveal`, `Highlight`, `CountUp`, `Draw`, `Morph`, `Mark` |
|
|
96
96
|
| Layouts (`@steamfield/decks`) | `Center`, `Cover`, `Section`, `TwoCol`, `ImageSide` |
|
|
97
|
+
| Navigation (`@steamfield/decks`) | `Toc`, `Link` |
|
|
97
98
|
| Built in | `Notes`; fenced code blocks render through `CodeBlock` |
|
|
98
99
|
|
|
99
100
|
A deck component with the same name as a framework one replaces it for that deck. A replaced motion component no longer adds clicks.
|
|
@@ -121,6 +122,24 @@ slides/03-x.mdx:3:1: <Nonexistent> is not defined. Export it from a file in comp
|
|
|
121
122
|
|
|
122
123
|
Lowercase elements and member names such as `<motion.div>` are not checked.
|
|
123
124
|
|
|
125
|
+
## Links between slides
|
|
126
|
+
|
|
127
|
+
`<Link to={5}>the results</Link>` is a link to slide 5 at click 0. In the play view and the presenter window a click goes there, and in a synced talk the other windows follow. A `Cmd`- or `Ctrl`-click opens the slide in a new tab, which joins the talk's sync and then follows the talk's position. A `to` that is not a slide number in the deck is an error naming it.
|
|
128
|
+
|
|
129
|
+
`<Toc />` is an agenda: a numbered list of every slide's title as a `Link`, with the current slide marked (`aria-current="page"`). Slides without a `title` in their frontmatter are listed by number, and hidden slides are left out.
|
|
130
|
+
|
|
131
|
+
In the overview, a preview, and print, both render as plain text, so a thumbnail never navigates.
|
|
132
|
+
|
|
133
|
+
```mdx
|
|
134
|
+
---
|
|
135
|
+
title: What this talk covers.
|
|
136
|
+
---
|
|
137
|
+
|
|
138
|
+
<h1>What this talk covers.</h1>
|
|
139
|
+
|
|
140
|
+
<Toc />
|
|
141
|
+
```
|
|
142
|
+
|
|
124
143
|
## Built-in layouts
|
|
125
144
|
|
|
126
145
|
Layouts arrange their children and nothing else. They set no fonts, colors or sizes. Each fills the slide and pads its content with `--deck-pad-x` (120px) and `--deck-pad-y` (96px); the gap between children is `--deck-gap` (80px). Override the variables in your CSS.
|
package/docs/terminal.md
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
# Live terminal
|
|
2
|
+
|
|
3
|
+
`LiveTerm` puts a real shell on a slide. Each click on the slide types the next command into it and runs it, so a talk about a command-line tool never leaves the deck. Everywhere a shell can't run (a built deck, `decks export`, the presenter's preview, the overview, a dev server started without `--live-term`), the pane shows a fallback you supply instead, usually a recording of the same commands.
|
|
4
|
+
|
|
5
|
+
It works on macOS and Linux. The shell is `zsh`, run through Python's standard `pty` module, so both must be on the speaker's machine. On Windows the dev server logs one line and every pane shows its fallback.
|
|
6
|
+
|
|
7
|
+
## A pane
|
|
8
|
+
|
|
9
|
+
```tsx
|
|
10
|
+
// components/Demo.tsx
|
|
11
|
+
import { useSlide } from "@steamfield/decks";
|
|
12
|
+
import { LiveTerm } from "@steamfield/decks/kit";
|
|
13
|
+
|
|
14
|
+
const pane = {
|
|
15
|
+
id: "hello",
|
|
16
|
+
rows: 12,
|
|
17
|
+
cols: 60,
|
|
18
|
+
cwd: "temp",
|
|
19
|
+
commands: ["echo hello", "ls", "git status"],
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export function Demo() {
|
|
23
|
+
const { clicks } = useSlide();
|
|
24
|
+
return (
|
|
25
|
+
<LiveTerm
|
|
26
|
+
pane={pane}
|
|
27
|
+
click={clicks}
|
|
28
|
+
fallback={<pre>{RECORDING.slice(0, clicks + 1).join("\n")}</pre>}
|
|
29
|
+
/>
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
The slide sets `clicks:` in its frontmatter to the number of commands. Moving from click n − 1 to n types `commands[n - 1]` and runs it; returning to click 0 restarts the shell.
|
|
35
|
+
|
|
36
|
+
| `pane` field | Meaning |
|
|
37
|
+
| --- | --- |
|
|
38
|
+
| `id` | Unique in the deck. One shell runs per id, shared by every window showing it. |
|
|
39
|
+
| `rows`, `cols` | The fixed grid. The font is sized to fill the pane with whole-pixel glyphs; the grid never reflows. |
|
|
40
|
+
| `cwd` | `"temp"` for a fresh temporary directory, or a key of `term.dirs` in `deck.config.ts`. Any other value is an error naming the pane. |
|
|
41
|
+
| `commands` | The commands, one per click. |
|
|
42
|
+
|
|
43
|
+
Run it live with `decks dev <deck> --live-term`. The pane goes live when it is in the play view, its slide is the current one, the deck is not embedded and motion is not `instant`. It stays on its fallback otherwise.
|
|
44
|
+
|
|
45
|
+
## Working directories
|
|
46
|
+
|
|
47
|
+
A pane that should run in a real project names it through the config:
|
|
48
|
+
|
|
49
|
+
```ts
|
|
50
|
+
export default defineDeck({
|
|
51
|
+
title: "Agents",
|
|
52
|
+
term: { dirs: { repo: "../.." } },
|
|
53
|
+
});
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
Paths are relative to the deck directory. The browser only ever sends the key (`cwd: "repo"`), never a path. Every command checks that `dirs` is a record of strings. Only `decks dev --live-term` checks that each directory exists, since a deck built on another machine names directories that only exist on the speaker's.
|
|
57
|
+
|
|
58
|
+
## Styling and status
|
|
59
|
+
|
|
60
|
+
The kit ships no terminal skin. The pane reads `--deck-term-font`, `--deck-term-font-size`, `--deck-term-foreground` and `--deck-term-background` from CSS. Without `frame`, a pane that fell back after trying to go live shows the reason below its fallback in a `role="status"` element. With `frame`, you draw that yourself:
|
|
61
|
+
|
|
62
|
+
```tsx
|
|
63
|
+
<LiveTerm
|
|
64
|
+
pane={pane}
|
|
65
|
+
click={clicks}
|
|
66
|
+
fallback={recording}
|
|
67
|
+
frame={(content, status) => (
|
|
68
|
+
<figure className={styles.window}>
|
|
69
|
+
{content}
|
|
70
|
+
<figcaption>
|
|
71
|
+
{status.live ? "Live" : "Recorded"}
|
|
72
|
+
{status.queued ? " · queued" : status.busy ? " · busy" : ""}
|
|
73
|
+
{status.reason && ` · ${status.reason}`}
|
|
74
|
+
</figcaption>
|
|
75
|
+
</figure>
|
|
76
|
+
)}
|
|
77
|
+
/>
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
`status` is `{ live, busy, queued, reason? }`: the shell is on screen, a command is running, clicks are waiting for a prompt, and why the pane fell back. The fallback stays visible until the shell has drawn its first prompt, so the slide never shows an empty pane.
|
|
81
|
+
|
|
82
|
+
## While presenting
|
|
83
|
+
|
|
84
|
+
A click into the pane gives it the keyboard; `Escape` gives the keys back to the deck. Pressing next while a command still runs queues the next command until the prompt returns. Every audience window shows the same shell, and each command runs once whichever window advanced, the presenter included. The presenter's own preview of the slide shows the fallback. Reloading a window reattaches to the running shell and replays its recent output. If the shell exits or its connection drops, the pane goes back to its fallback with the reason.
|
|
85
|
+
|
|
86
|
+
The dev server only starts shells when it listens on a loopback address, its hot-update socket shares the page's port, and Vite's socket token and Host checks are on. A deck's `vite` config that changes any of these turns the terminal off with a line in the dev log saying why. None of the checks can be turned off: anything that can reach the socket can type into the shell.
|
|
87
|
+
|
|
88
|
+
## Limits
|
|
89
|
+
|
|
90
|
+
- A full-screen program (`vim`, `htop`, a TUI) is not supported. A reattach replays the tail of the output, which redraws such a program wrongly.
|
|
91
|
+
- Jumping back to a terminal slide at click 0 from far away (the go-to dialog, the overview) replays the old session instead of restarting the shell. Step to click 1 and back to restart it.
|
|
92
|
+
- If the dev server restarts while a pane is past click 0, later commands wait until the pane returns to click 0.
|
|
93
|
+
- A next pressed before the terminal slide has appeared on the first load moves the click without running its command, and later commands then wait until click 0. Wait for the slide before advancing.
|
|
94
|
+
- Typing into a focused pane during the short pause before a command's Enter is sent edits that command.
|
|
95
|
+
- Windows order their reports by the deck's sync stamp, which two separate browsers (or a private window) don't share. Keep every window of one talk in the same browser profile.
|
|
96
|
+
- Reloading a window can, rarely, leave its pane ignoring clicks, if the old page's connection closes after the reloaded page has reconnected. Close every window showing the deck and open it again.
|
|
97
|
+
- After editing a pane's spec in dev, a stale hot update can briefly restart the pane with the old spec; saving again restores the new one.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steamfield/decks",
|
|
3
|
-
"version": "1.0.0
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "React slide decks for animated, data-driven talks: MDX slides, motion, story stages, charts, and a CLI, built with coding agents.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -66,10 +66,12 @@
|
|
|
66
66
|
"@mdx-js/rollup": "3.1.1",
|
|
67
67
|
"@opendata-ai/openchart-core": "9.0.0",
|
|
68
68
|
"@opendata-ai/openchart-react": "9.0.0",
|
|
69
|
+
"@shikijs/magic-move": "4.6.0",
|
|
69
70
|
"@shikijs/rehype": "4.6.0",
|
|
70
71
|
"@types/d3-scale": "4.0.9",
|
|
71
72
|
"@types/mdx": "2.0.14",
|
|
72
73
|
"@vitejs/plugin-react": "6.3.0",
|
|
74
|
+
"@xterm/xterm": "6.0.0",
|
|
73
75
|
"citty": "0.2.2",
|
|
74
76
|
"d3-scale": "4.0.2",
|
|
75
77
|
"get-port": "7.2.0",
|
|
@@ -85,6 +87,7 @@
|
|
|
85
87
|
"remark-mdx": "3.1.1",
|
|
86
88
|
"remark-parse": "11.0.0",
|
|
87
89
|
"remark-rehype": "11.1.2",
|
|
90
|
+
"roughjs": "4.6.6",
|
|
88
91
|
"shiki": "4.6.0",
|
|
89
92
|
"three": "0.185.1",
|
|
90
93
|
"three-spritetext": "1.10.0",
|