wobnimo 0.0.0-stage → 0.1.1

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,23 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { M as MascotOptions, a as MascotState, C as ChatStatus, P as Palette } from './status-DVudJbtp.js';
3
+ import { C as CharacterSpec } from './types-PAZ6PnKv.js';
4
+
5
+ interface MascotProps extends Omit<MascotOptions, 'state' | 'palette'> {
6
+ /** A built-in character id (`"mochi"`) or any CharacterSpec of your own. */
7
+ character: string | CharacterSpec;
8
+ /** The mascot's state. Ignored while `status` is set. */
9
+ state?: MascotState;
10
+ /** A chat status (e.g. the Vercel AI SDK's `useChat` status); drives the state for you. */
11
+ status?: ChatStatus;
12
+ /** Recolour materials by name, e.g. `{ shell: '#e0457b' }`. */
13
+ palette?: Palette;
14
+ /** Fired when the mascot is clicked or poked. */
15
+ onPoke?: () => void;
16
+ /** Fired the first time a frame is on screen; use it to fade the mascot in. */
17
+ onReady?: () => void;
18
+ className?: string;
19
+ style?: React.CSSProperties;
20
+ }
21
+ declare function Mascot({ character, state, status, palette, onPoke, onReady, className, style, ...options }: MascotProps): react_jsx_runtime.JSX.Element;
22
+
23
+ export { Mascot, type MascotProps };