@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.
package/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import React from "react";
2
2
  import { type LayoutComponent } from "./context";
3
3
  export * from "spectacle";
4
+ export { AnimatedCounter, FadeIn, ProgressRing, ScaleIn, Spotlight, StaggerChildren, TypeWriter, } from "./components/animations";
4
5
  export { Doc, DocItem } from "./components/DocumentationItem";
5
6
  export { default as FilePane } from "./components/FilePane";
6
7
  export { default as HorizontalList, HorizontalListItem, } from "./components/HorizontalList";
@@ -9,6 +10,7 @@ export { Image } from "./components/Image";
9
10
  export { ItemsColumn } from "./components/ItemsColumn";
10
11
  export { Mermaid } from "./components/Mermaid";
11
12
  export { default as Timeline, TimelineItem } from "./components/Timeline";
13
+ export { dropTransition, noneTransition, resolveTransition, } from "./transitions";
12
14
  export type SlideType = {
13
15
  metadata: Record<string, unknown> & {
14
16
  layout?: string;
@@ -54,10 +56,12 @@ interface ThemeOptions {
54
56
  };
55
57
  };
56
58
  }
57
- export declare function Deck({ deck, theme, layouts, }: {
59
+ export declare function Deck({ deck, theme, layouts, transition, }: {
58
60
  deck: DeckType;
59
61
  theme: ThemeOptions;
60
62
  layouts?: Record<string, LayoutComponent>;
63
+ /** Default slide transition. Can be a name ("fade", "slide", "drop", "none") or a SlideTransition object. */
64
+ transition?: string;
61
65
  }): import("react/jsx-runtime").JSX.Element;
62
66
  export declare function Danger({ children }: {
63
67
  children: React.ReactNode;