@sequenza/workbench 1.0.2 → 1.0.4
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.
- package/README.md +3 -69
- package/app/assets/index-D4zKdPfC.css +1 -0
- package/app/assets/index-b-fcoZFF.js +900 -0
- package/app/index.html +2 -2
- package/dist/index.d.ts +11 -4
- package/dist/sequenza.js +1459 -1263
- package/package.json +2 -2
- package/app/assets/index-BbK7hGuP.css +0 -1
- package/app/assets/index-CdVswdI1.js +0 -70
package/app/index.html
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
7
|
<title>local</title>
|
|
8
|
-
<script type="module" crossorigin src="/assets/index-
|
|
9
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
8
|
+
<script type="module" crossorigin src="/assets/index-b-fcoZFF.js"></script>
|
|
9
|
+
<link rel="stylesheet" crossorigin href="/assets/index-D4zKdPfC.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|
|
12
12
|
<div id="root"></div>
|
package/dist/index.d.ts
CHANGED
|
@@ -25,7 +25,14 @@ export declare function buildEditorState(patch: Patch, uniforms: Record<string,
|
|
|
25
25
|
|
|
26
26
|
export { Connection }
|
|
27
27
|
|
|
28
|
-
export declare const CustomHandle: FC<
|
|
28
|
+
export declare const CustomHandle: FC<CustomHandleProps>;
|
|
29
|
+
|
|
30
|
+
declare interface CustomHandleProps extends HandleProps {
|
|
31
|
+
count?: {
|
|
32
|
+
total: number;
|
|
33
|
+
index: number;
|
|
34
|
+
};
|
|
35
|
+
}
|
|
29
36
|
|
|
30
37
|
export declare const Dialog: FC<DialogProps>;
|
|
31
38
|
|
|
@@ -51,7 +58,7 @@ declare interface EditorContextType {
|
|
|
51
58
|
setOpenExportNodeId: (id: string | null) => void;
|
|
52
59
|
openPreviewNodeId: string | null;
|
|
53
60
|
setOpenPreviewNodeId: (id: string | null) => void;
|
|
54
|
-
handleUpdateUniforms: (shaderId: string,
|
|
61
|
+
handleUpdateUniforms: (shaderId: string, uniformUpdateCallback: (current: Uniforms_2) => Uniforms_2) => void;
|
|
55
62
|
handleUpdateNode: (nodeId: string, data: (snapshot: ShaderNodeData) => ShaderNodeData) => void;
|
|
56
63
|
handleInsertShader: (shader: Shader_2, edgeId: string) => void;
|
|
57
64
|
}
|
|
@@ -137,8 +144,8 @@ export declare const UniformForm: FC<UniformFormProps>;
|
|
|
137
144
|
|
|
138
145
|
declare interface UniformFormProps {
|
|
139
146
|
shader: Shader_2;
|
|
140
|
-
|
|
141
|
-
handleUpdateUniform: (
|
|
147
|
+
savedUniforms: Uniforms_2;
|
|
148
|
+
handleUpdateUniform: (fieldName: string, value: any) => void;
|
|
142
149
|
}
|
|
143
150
|
|
|
144
151
|
export { Uniforms }
|