f1ow 0.1.1 → 0.1.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.
@@ -45,6 +45,15 @@ export interface FlowCanvasProps {
45
45
  defaultStyle?: Partial<ElementStyle>;
46
46
  /** Show/hide the toolbar */
47
47
  showToolbar?: boolean;
48
+ /**
49
+ * Position of the toolbar:
50
+ * - `'bottom'` — floating at the bottom center, like tldraw (default)
51
+ * - `'top'` — floating at the top center, like Excalidraw
52
+ * - `'hidden'` — toolbar is not rendered (same as `showToolbar={false}`)
53
+ */
54
+ toolbarPosition?: 'top' | 'bottom' | 'hidden';
55
+ /** Default active tool when the canvas mounts (default: 'select') */
56
+ defaultTool?: ToolType;
48
57
  /** Show/hide the style panel */
49
58
  showStylePanel?: boolean;
50
59
  /** Show/hide the status bar */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "f1ow",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "type": "module",
5
5
  "description": "Interactive canvas drawing toolkit built on KonvaJS — drop-in React component for diagrams, sketches & whiteboards",
6
6
  "author": "Nuumz <info@nuumz.com>",