@particle-academy/fancy-slides 0.1.7 → 0.2.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 { h as SlideElement } from './types-Bc-psiRF.cjs';
2
+ import { h as SlideElement } from './types-B2ecrEAz.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 { h as SlideElement } from './types-Bc-psiRF.js';
2
+ import { h as SlideElement } from './types-B2ecrEAz.js';
3
3
 
4
4
  /**
5
5
  * Renderer signature compatible with `Slide`'s `renderElement` prop. Returns
@@ -260,6 +260,10 @@ type DeckOp = {
260
260
  kind: "slide_set_background";
261
261
  id: string;
262
262
  background?: SlideBackground;
263
+ } | {
264
+ kind: "slide_set_transition";
265
+ id: string;
266
+ transition?: SlideTransition;
263
267
  } | {
264
268
  kind: "element_add";
265
269
  slideId: string;
@@ -260,6 +260,10 @@ type DeckOp = {
260
260
  kind: "slide_set_background";
261
261
  id: string;
262
262
  background?: SlideBackground;
263
+ } | {
264
+ kind: "slide_set_transition";
265
+ id: string;
266
+ transition?: SlideTransition;
263
267
  } | {
264
268
  kind: "element_add";
265
269
  slideId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@particle-academy/fancy-slides",
3
- "version": "0.1.7",
3
+ "version": "0.2.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",