@gpichot/spectacle-deck 1.14.0 → 1.16.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.
@@ -0,0 +1,17 @@
1
+ import React from "react";
2
+ export interface AppearProps {
3
+ children: React.ReactNode;
4
+ /** Step index at which this element appears (1-based). Defaults to auto-assigned. */
5
+ stepIndex?: number;
6
+ /** Style applied when visible */
7
+ activeStyle?: React.CSSProperties;
8
+ /** Style applied when hidden */
9
+ inactiveStyle?: React.CSSProperties;
10
+ }
11
+ /**
12
+ * Appear component — shows children at a given step.
13
+ *
14
+ * Registers one step with the deck. Children are hidden (opacity 0)
15
+ * until the step is reached, then fade in.
16
+ */
17
+ export declare function Appear({ children, activeStyle, inactiveStyle, }: AppearProps): import("react/jsx-runtime").JSX.Element;
package/engine/index.d.ts CHANGED
@@ -1,3 +1,5 @@
1
+ export type { AppearProps } from "./Appear";
2
+ export { Appear } from "./Appear";
1
3
  export type { Command } from "./CommandPalette";
2
4
  export { CommandPalette } from "./CommandPalette";
3
5
  export type { DeckType, SlideType } from "./Deck";