Storybook stories for the `FileManagerActionBar` component, covering default, selection, clipboard, and fully-enabled interaction states. ## Key Components | Export | Type | Description | |--------|------|-------------| | `meta` | `Meta` | Storybook metadata — registers component under `UI/FileManagerActionBar` with mocked action handlers | | `Default` | `Story` | No selection, no clipboard content; Copy, Cut, and Paste disabled | | `WithSelection` | `Story` | `hasSelection: true` — Copy and Cut buttons become active | | `WithPasteAvailable` | `Story` | `canPaste: true` — Paste button becomes active | | `AllEnabled` | `Story` | Both `hasSelection` and `canPaste` set — all action buttons enabled | ## Usage Example ```typescript // Render the AllEnabled story in a test or custom harness import { AllEnabled } from './FileManagerActionBar.stories'; console.log('copy')} onCut={() => console.log('cut')} onPaste={() => console.log('paste')} onNewFolder={() => console.log('new folder')} onUpload={() => console.log('upload')} onSelectAll={() => console.log('select all')} /> ``` ## Controlled Props | Prop | Control | Effect | |------|---------|--------| | `hasSelection` | `boolean` | Enables Copy and Cut actions | | `canPaste` | `boolean` | Enables Paste action | All handler props (`onNewFolder`, `onCopy`, `onCut`, `onPaste`, `onUpload`, `onSelectAll`) are wired to Storybook `fn()` spies, making interaction events visible in the **Actions** panel during development.