@particle-academy/fancy-slides 0.9.0 → 0.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.
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { k as SlideElement } from './types-2yYMJPhi.cjs';
2
+ import { k as SlideElement } from './types-C3w37g3A.cjs';
3
3
 
4
4
  /**
5
5
  * Renderer signature compatible with `Slide`'s `renderElement` prop. Returns
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { k as SlideElement } from './types-2yYMJPhi.js';
2
+ import { k as SlideElement } from './types-C3w37g3A.js';
3
3
 
4
4
  /**
5
5
  * Renderer signature compatible with `Slide`'s `renderElement` prop. Returns
@@ -292,6 +292,11 @@ type DeckOp = {
292
292
  } | {
293
293
  kind: "deck_apply_theme";
294
294
  theme: Theme;
295
+ }
296
+ /** Replace the entire deck atomically — stream a full presentation IN in one op. */
297
+ | {
298
+ kind: "deck_set";
299
+ deck: Deck;
295
300
  } | {
296
301
  kind: "slide_add";
297
302
  index: number;
@@ -292,6 +292,11 @@ type DeckOp = {
292
292
  } | {
293
293
  kind: "deck_apply_theme";
294
294
  theme: Theme;
295
+ }
296
+ /** Replace the entire deck atomically — stream a full presentation IN in one op. */
297
+ | {
298
+ kind: "deck_set";
299
+ deck: Deck;
295
300
  } | {
296
301
  kind: "slide_add";
297
302
  index: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@particle-academy/fancy-slides",
3
- "version": "0.9.0",
3
+ "version": "0.10.0",
4
4
  "description": "Presentation editor + web viewer for the fancy UI set — Google-Slides-style deck authoring with a JSON-friendly schema, full keyboard-driven viewer, and an agent bridge so LLMs can compose decks directly.",
5
5
  "repository": {
6
6
  "type": "git",