@gpichot/spectacle-deck 1.4.0 → 1.6.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,7 +1,7 @@
1
- import type React from "react";
1
+ import React from "react";
2
2
  export declare function FullImageLayout({ children, image, position, dim, }: {
3
3
  children: React.ReactNode;
4
- image: string;
4
+ image?: string;
5
5
  position?: "center" | "bottom" | "top";
6
6
  dim?: number;
7
7
  }): import("react/jsx-runtime").JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gpichot/spectacle-deck",
3
- "version": "1.4.0",
3
+ "version": "1.6.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "index.cjs",
@@ -0,0 +1,14 @@
1
+ import { type SlideTransition } from "spectacle";
2
+ /**
3
+ * Drop transition: slide drops in from above, exits downward.
4
+ */
5
+ export declare const dropTransition: SlideTransition;
6
+ /**
7
+ * None transition: instant swap with no animation.
8
+ */
9
+ export declare const noneTransition: SlideTransition;
10
+ /**
11
+ * Resolve a transition name string to a SlideTransition object.
12
+ * Returns undefined if the name is not recognized.
13
+ */
14
+ export declare function resolveTransition(name: string | undefined): SlideTransition | undefined;