import type {Meta, StoryObj} from '@storybook/web-components'; import {ObcAlertMenu} from './alert-menu'; import './alert-menu'; import '../alert-menu-item/alert-menu-item'; import '../../icons/icon-alarm-unacknowledged-iec'; import '../../icons/icon-warning-unacknowledged-iec'; import '../../icons/icon-caution-color-iec'; import {html} from 'lit'; const meta: Meta = { title: 'Application/Alert menu', tags: ['autodocs'], component: 'obc-alert-menu', args: { breakpoint: 0, maxWidth: 800, }, argTypes: { breakpoint: { control: {type: 'range', min: 0, max: 2000, step: 1}, }, }, render: (args) => { return html` `; }, } satisfies Meta; export default meta; type Story = StoryObj; export const Regular: Story = { args: {}, }; export const Narrow: Story = { args: { breakpoint: 1_000_000, maxWidth: 500, }, }; export const Responsive: Story = { args: { breakpoint: 600, maxWidth: 800, }, }; export const Empty: Story = { args: {}, render: (args) => html` `, };