@netless/fastboard-ui 0.3.0-canary.1 → 0.3.0-canary.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.
- package/dist/index.d.ts +2 -2
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +1 -1
- package/dist/index.svelte.mjs +4 -4
- package/dist/index.svelte.mjs.map +1 -1
- package/package.json +3 -3
- package/src/components/Fastboard/Fastboard.svelte +2 -2
- package/src/components/Fastboard/Fastboard.svelte.ts +1 -1
- package/src/components/Fastboard/ReplayFastboard.svelte +2 -2
- package/src/components/Fastboard/ReplayFastboard.svelte.ts +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -58,7 +58,7 @@ declare interface ReplayFastboardProps {
|
|
|
58
58
|
player?: FastboardPlayer | null;
|
|
59
59
|
theme?: Theme;
|
|
60
60
|
language?: Language;
|
|
61
|
-
ref?: (container:
|
|
61
|
+
ref?: (container: HTMLDivElement | null) => void;
|
|
62
62
|
}
|
|
63
63
|
declare class ReplayFastboard extends SvelteComponentTyped<ReplayFastboardProps> {
|
|
64
64
|
}
|
|
@@ -67,7 +67,7 @@ declare interface FastboardProps {
|
|
|
67
67
|
app?: FastboardApp | null;
|
|
68
68
|
theme?: Theme;
|
|
69
69
|
language?: Language;
|
|
70
|
-
ref?: (container:
|
|
70
|
+
ref?: (container: HTMLDivElement | null) => void;
|
|
71
71
|
}
|
|
72
72
|
declare class Fastboard extends SvelteComponentTyped<FastboardProps> {
|
|
73
73
|
}
|
package/dist/index.js
CHANGED
|
@@ -9929,8 +9929,8 @@ function instance57($$self, $$props, $$invalidate) {
|
|
|
9929
9929
|
}
|
|
9930
9930
|
if ($$self.$$.dirty & 24) {
|
|
9931
9931
|
$:
|
|
9932
|
-
if (ref
|
|
9933
|
-
ref(container);
|
|
9932
|
+
if (ref)
|
|
9933
|
+
ref(container || null);
|
|
9934
9934
|
}
|
|
9935
9935
|
};
|
|
9936
9936
|
return [player, theme, language, container, ref, div0_binding];
|
|
@@ -10126,8 +10126,8 @@ function instance58($$self, $$props, $$invalidate) {
|
|
|
10126
10126
|
}
|
|
10127
10127
|
if ($$self.$$.dirty & 24) {
|
|
10128
10128
|
$:
|
|
10129
|
-
if (ref
|
|
10130
|
-
ref(container);
|
|
10129
|
+
if (ref)
|
|
10130
|
+
ref(container || null);
|
|
10131
10131
|
}
|
|
10132
10132
|
};
|
|
10133
10133
|
return [app, theme, language, container, ref, div0_binding];
|