@teamflojo/floimg-studio-ui 0.1.3 → 0.1.5

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.
@@ -1 +1,17 @@
1
- export declare function Toolbar(): import("react/jsx-runtime").JSX.Element;
1
+ import { ReactNode } from 'react';
2
+
3
+ /**
4
+ * Props for the Toolbar component.
5
+ * All props are optional to maintain backward compatibility.
6
+ */
7
+ export interface ToolbarProps {
8
+ /** Slot rendered after the branding text (e.g., "Cloud" badge) */
9
+ brandingSlot?: ReactNode;
10
+ /** Slot rendered before the action buttons (e.g., usage counter) */
11
+ beforeActionsSlot?: ReactNode;
12
+ /** Slot rendered after all action buttons (e.g., auth/user menu) */
13
+ afterActionsSlot?: ReactNode;
14
+ /** Hide the "by Flojo" attribution link */
15
+ hideAttribution?: boolean;
16
+ }
17
+ export declare function Toolbar({ brandingSlot, beforeActionsSlot, afterActionsSlot, hideAttribution, }?: ToolbarProps): import("react/jsx-runtime").JSX.Element;
package/dist/index.d.ts CHANGED
@@ -10,7 +10,7 @@ export { default as App } from './App';
10
10
  export { WorkflowEditor } from './editor/WorkflowEditor';
11
11
  export { NodePalette } from './components/NodePalette';
12
12
  export { NodeInspector } from './components/NodeInspector';
13
- export { Toolbar } from './components/Toolbar';
13
+ export { Toolbar, type ToolbarProps } from './components/Toolbar';
14
14
  export { Gallery } from './components/Gallery';
15
15
  export { TemplateGallery } from './components/TemplateGallery';
16
16
  export { WorkflowLibrary } from './components/WorkflowLibrary';