@markgrafhq/markgraf-react 0.0.29 → 0.0.30

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.
@@ -27533,7 +27533,7 @@ const wn = /* @__PURE__ */ Vs(GR), f$ = (t) => (n) => (e) => () => ks((r, o) =>
27533
27533
  onCueEnter: (n) => gf(t.onCueEnter(_f(n))()),
27534
27534
  onStepEnter: (n, e) => gf(t.onStepEnter(n)(_f(e))()),
27535
27535
  onComplete: (n) => gf(t.onComplete(_f(n))())
27536
- }), H6 = (t, n) => B6(p$(t)(n ?? {})), Q6 = F6;
27536
+ }), H6 = (t, n) => B6(p$(t)(n ?? {})()), Q6 = F6;
27537
27537
  export {
27538
27538
  Q6 as MarkgrafPlayer,
27539
27539
  H6 as useMarkgraf
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@markgrafhq/markgraf-react",
3
- "version": "0.0.29",
3
+ "version": "0.0.30",
4
4
  "description": "React hook + component for embedding markgraf animations. Drives play/pause/seek and exposes time + keyframe as reactive state.",
5
5
  "type": "module",
6
6
  "main": "./dist/markgraf-react.js",
@@ -23,7 +23,22 @@
23
23
  "README.md",
24
24
  "LICENSE"
25
25
  ],
26
- "sideEffects": false,
26
+ "sideEffects": [
27
+ "./dist/markgraf-react.css"
28
+ ],
29
+ "scripts": {
30
+ "storybook": "storybook dev -p 6006",
31
+ "build-storybook": "storybook build"
32
+ },
33
+ "devDependencies": {
34
+ "@storybook/addon-essentials": "^8.6.14",
35
+ "@storybook/react": "^8.6.14",
36
+ "@storybook/react-vite": "^8.6.14",
37
+ "react": "^18.3.1",
38
+ "react-dom": "^18.3.1",
39
+ "storybook": "^8.6.14",
40
+ "vite": "^5.4.11"
41
+ },
27
42
  "peerDependencies": {
28
43
  "react": ">=18",
29
44
  "react-dom": ">=18"