@effing/annie-player 0.40.0 → 0.40.2

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,4 +1,4 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { AnniePlayerState } from '../index.js';
3
3
 
4
4
  type AnniePlayerContextValue = {
@@ -31,49 +31,49 @@ type AnniePlayerRootProps = {
31
31
  /** Children can be React nodes or a render function for headless usage */
32
32
  children?: React.ReactNode | ((value: AnniePlayerContextValue) => React.ReactNode);
33
33
  };
34
- declare function AnniePlayerRoot({ src, height, defaultWidth, autoLoad, autoPlay, fps, style, className, children, }: AnniePlayerRootProps): react_jsx_runtime.JSX.Element;
34
+ declare function AnniePlayerRoot({ src, height, defaultWidth, autoLoad, autoPlay, fps, style, className, children, }: AnniePlayerRootProps): react.JSX.Element;
35
35
  type AnniePlayerWrapperProps = {
36
36
  children: React.ReactNode;
37
37
  className?: string;
38
38
  style?: React.CSSProperties;
39
39
  };
40
- declare function AnniePlayerWrapper({ children, className, style, }: AnniePlayerWrapperProps): react_jsx_runtime.JSX.Element;
40
+ declare function AnniePlayerWrapper({ children, className, style, }: AnniePlayerWrapperProps): react.JSX.Element;
41
41
  type AnniePlayerCanvasProps = {
42
42
  className?: string;
43
43
  style?: React.CSSProperties;
44
44
  };
45
- declare function AnniePlayerCanvas({ className, style }: AnniePlayerCanvasProps): react_jsx_runtime.JSX.Element;
45
+ declare function AnniePlayerCanvas({ className, style }: AnniePlayerCanvasProps): react.JSX.Element;
46
46
  type AnniePlayerControlsProps = {
47
47
  children: React.ReactNode;
48
48
  className?: string;
49
49
  style?: React.CSSProperties;
50
50
  };
51
- declare function AnniePlayerControls({ children, className, style, }: AnniePlayerControlsProps): react_jsx_runtime.JSX.Element;
51
+ declare function AnniePlayerControls({ children, className, style, }: AnniePlayerControlsProps): react.JSX.Element;
52
52
  type AnniePlayerLoadButtonProps = {
53
53
  children?: React.ReactNode;
54
54
  className?: string;
55
55
  style?: React.CSSProperties;
56
56
  };
57
- declare function AnniePlayerLoadButton({ children, className, style, }: AnniePlayerLoadButtonProps): react_jsx_runtime.JSX.Element;
57
+ declare function AnniePlayerLoadButton({ children, className, style, }: AnniePlayerLoadButtonProps): react.JSX.Element;
58
58
  type AnniePlayerPlayButtonProps = {
59
59
  children?: React.ReactNode;
60
60
  className?: string;
61
61
  style?: React.CSSProperties;
62
62
  };
63
- declare function AnniePlayerPlayButton({ children, className, style, }: AnniePlayerPlayButtonProps): react_jsx_runtime.JSX.Element;
63
+ declare function AnniePlayerPlayButton({ children, className, style, }: AnniePlayerPlayButtonProps): react.JSX.Element;
64
64
  type AnniePlayerPauseButtonProps = {
65
65
  children?: React.ReactNode;
66
66
  className?: string;
67
67
  style?: React.CSSProperties;
68
68
  };
69
- declare function AnniePlayerPauseButton({ children, className, style, }: AnniePlayerPauseButtonProps): react_jsx_runtime.JSX.Element;
69
+ declare function AnniePlayerPauseButton({ children, className, style, }: AnniePlayerPauseButtonProps): react.JSX.Element;
70
70
  type AnniePlayerScrubberProps = {
71
71
  className?: string;
72
72
  style?: React.CSSProperties;
73
73
  /** If true, pause playback while the user is interacting with the scrubber. */
74
74
  pauseWhileScrubbing?: boolean;
75
75
  };
76
- declare function AnniePlayerScrubber({ className, style, pauseWhileScrubbing, }: AnniePlayerScrubberProps): react_jsx_runtime.JSX.Element;
76
+ declare function AnniePlayerScrubber({ className, style, pauseWhileScrubbing, }: AnniePlayerScrubberProps): react.JSX.Element;
77
77
  type AnniePlayerFrameCounterProps = {
78
78
  className?: string;
79
79
  style?: React.CSSProperties;
@@ -83,13 +83,13 @@ type AnniePlayerFrameCounterProps = {
83
83
  total: number;
84
84
  }) => React.ReactNode;
85
85
  };
86
- declare function AnniePlayerFrameCounter({ className, style, children, }: AnniePlayerFrameCounterProps): react_jsx_runtime.JSX.Element;
86
+ declare function AnniePlayerFrameCounter({ className, style, children, }: AnniePlayerFrameCounterProps): react.JSX.Element;
87
87
  type AnniePlayerStatusProps = {
88
88
  children?: React.ReactNode;
89
89
  className?: string;
90
90
  style?: React.CSSProperties;
91
91
  };
92
- declare function AnniePlayerStatus({ children, className, style, }: AnniePlayerStatusProps): react_jsx_runtime.JSX.Element;
92
+ declare function AnniePlayerStatus({ children, className, style, }: AnniePlayerStatusProps): react.JSX.Element;
93
93
  type AnniePlayerProps = {
94
94
  src: string;
95
95
  height: number;
@@ -102,7 +102,7 @@ type AnniePlayerProps = {
102
102
  /** Class name for the root container */
103
103
  className?: string;
104
104
  };
105
- declare function AnniePlayerSimple({ src, height, defaultWidth, autoLoad, autoPlay, fps, style, className, }: AnniePlayerProps): react_jsx_runtime.JSX.Element;
105
+ declare function AnniePlayerSimple({ src, height, defaultWidth, autoLoad, autoPlay, fps, style, className, }: AnniePlayerProps): react.JSX.Element;
106
106
  /**
107
107
  * AnniePlayer - Play TAR archives of PNG/JPEG frames in the browser.
108
108
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@effing/annie-player",
3
- "version": "0.40.0",
3
+ "version": "0.40.2",
4
4
  "description": "Annie animation player that runs in the browser",
5
5
  "repository": {
6
6
  "type": "git",
@@ -22,14 +22,14 @@
22
22
  "dist"
23
23
  ],
24
24
  "dependencies": {
25
- "@effing/annie": "0.40.0"
25
+ "@effing/annie": "0.40.2"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@types/react": "^19.0.0",
29
29
  "jsdom": "^29.1.1",
30
30
  "tsup": "^8.0.0",
31
31
  "typescript": "^5.9.3",
32
- "vitest": "^3.2.4"
32
+ "vitest": "^3.2.7"
33
33
  },
34
34
  "peerDependencies": {
35
35
  "react": "^18.0.0 || ^19.0.0"