@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 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 = false;
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);