@threlte/theatre 3.0.5 → 3.0.6

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.
@@ -4,9 +4,9 @@ import { globalSheets } from '../consts';
4
4
  // parent context
5
5
  export const project = getContext('theatre-project');
6
6
  const projectName = project.address.projectId;
7
- let { name = 'default', instance = undefined, children } = $props();
7
+ let { name = 'default', sheet = $bindable(), instance = undefined, children } = $props();
8
8
  // bindings
9
- export const sheet = globalSheets.get(`${projectName}-${name}-${instance}`) ?? project.sheet(name, instance);
9
+ sheet = globalSheets.get(`${projectName}-${name}-${instance}`) ?? project.sheet(name, instance);
10
10
  // register instance logic
11
11
  globalSheets.set(`${projectName}-${name}-${instance}`, sheet);
12
12
  // init sequence store
@@ -4,12 +4,12 @@ import { SequenceController } from '../sequence/SequenceController';
4
4
  declare const Sheet: import("svelte").Component<{
5
5
  name?: string;
6
6
  instance?: string | undefined;
7
+ sheet?: ISheet;
7
8
  children?: Snippet<[{
8
9
  sheet: ISheet;
9
10
  }]>;
10
11
  }, {
11
12
  project: IProject;
12
- sheet: ISheet;
13
13
  sequence: SequenceController;
14
- }, "">;
14
+ }, "sheet">;
15
15
  export default Sheet;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@threlte/theatre",
3
- "version": "3.0.5",
3
+ "version": "3.0.6",
4
4
  "author": "Grischa Erbe <hello@legrisch.com> (https://legrisch.com)",
5
5
  "license": "MIT",
6
6
  "description": "Threlte Components for Theatre, an animation library with a professional motion design toolset",
@@ -30,8 +30,8 @@
30
30
  "typescript": "^5.6.3",
31
31
  "typescript-eslint": "^8.32.0",
32
32
  "vite": "^5.2.8",
33
- "@threlte/core": "8.1.3",
34
- "@threlte/extras": "9.4.2"
33
+ "@threlte/extras": "9.4.2",
34
+ "@threlte/core": "8.1.3"
35
35
  },
36
36
  "peerDependencies": {
37
37
  "@theatre/core": ">=0.6",