@netless/fastboard-ui 0.3.14 → 0.3.15-canary.1
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 +3 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/index.svelte.mjs +1 -1
- package/dist/index.svelte.mjs.map +1 -1
- package/dist/lite.d.ts +3 -0
- package/package.json +5 -5
- package/src/components/Toolbar/Toolbar.svelte +1 -1
- package/src/typings.ts +3 -0
package/dist/index.d.ts
CHANGED
|
@@ -23,6 +23,9 @@ interface ToolbarConfig {
|
|
|
23
23
|
placement?: "left" | "right";
|
|
24
24
|
/** @default ["clicker", "selector", "pencil", "text", "shapes", "eraser", "clear"] */
|
|
25
25
|
items?: ToolbarItem[];
|
|
26
|
+
/** @default false */
|
|
27
|
+
collapsed?: boolean;
|
|
28
|
+
/** Control the last button which opens apps stock on toolbar. */
|
|
26
29
|
apps?: {
|
|
27
30
|
enable?: boolean;
|
|
28
31
|
};
|
package/dist/index.js
CHANGED
|
@@ -13351,7 +13351,7 @@ function instance68($$self, $$props, $$invalidate) {
|
|
|
13351
13351
|
let { language = "en" } = $$props;
|
|
13352
13352
|
let { config = {} } = $$props;
|
|
13353
13353
|
const extra_height = (32 + 4 + 4) * 2;
|
|
13354
|
-
let collapsed =
|
|
13354
|
+
let collapsed = config.collapsed;
|
|
13355
13355
|
let container_height = writable(0);
|
|
13356
13356
|
component_subscribe($$self, container_height, (value) => $$invalidate(15, $container_height = value));
|
|
13357
13357
|
let scroll_height = writable(0);
|