import * as React from 'react' import type { StoryFn, Meta } from '@storybook/react-webpack5' import { Toolbar, ToolbarButtonEmpty, ToolbarButtonGroup, ToolbarDropdownMenu, ToolbarMoreMenu, ToolbarSectionLeft, ToolbarSectionRight, ToolbarSeparator, } from '../' import { BoardHealth, Filter, Legend, PlusCircle, History, HierarchyParent, DotsVertical, FileCode, Board, Card, CollapseRows, Swimlanes, ListBullet, Graph, DotsHorizontal, Help, ResizeFull, } from '@planview/pv-icons' import { ListGroup, ListItem, ListItemDivider } from '@planview/pv-uikit' export default { title: 'pv-toolbar/Toolbar', tags: ['autodocs'], component: Toolbar, parameters: { controls: { disabled: true, hideNoControlsWarning: true }, }, } satisfies Meta export const Default: StoryFn = () => ( } tooltip="Filter" /> ) export const ExampleLeanKit: StoryFn = () => ( }> New Card } tooltip="Filter cards on this board" /> } tooltip="View statistics on this board" /> } tooltip="View the boards legend" /> } tooltip="View the activity stream" /> } tooltip="View connections" /> }> } label="Board" /> } label="Cards" /> } /> } /> ) ExampleLeanKit.storyName = 'AgilePlace toolbar' export const ExampleProjectplace: StoryFn = () => ( } /> ( Board name )} > } /> } label="Group by" disabled trigger={(props) => ( } activated={props['aria-expanded']} {...props} > Activity )} > } tooltip="Board view" /> } tooltip="List view" /> } tooltip="Chart view" /> } label="More options" trigger={(props) => ( } activated={props['aria-expanded']} {...props} /> )} > } /> } /> ) ExampleProjectplace.storyName = 'ProjectPlace boards toolbar'