import type {Meta, StoryObj} from '@storybook/web-components'; import {ObcAutomationReadout} from './automation-readout'; import './automation-readout'; import {AutomationReadoutPosition} from './automation-readout'; import '../horizontal-line/horizontal-line'; import '../vertical-line/vertical-line'; import {LineMedium, LineType} from '../index'; import {html} from 'lit'; import {crossDecorator} from '../../storybook-util'; const meta: Meta = { title: 'Automation/Readout', tags: ['autodocs'], component: 'obc-automation-readout', decorators: [crossDecorator], args: { value: 25, unit: '°C', numberOfDigits: 3, lineType: LineType.fluid, }, argTypes: { value: { control: { type: 'range', min: -99, max: 999, }, }, lineType: { options: [ LineType.air, LineType.connector, LineType.electric, LineType.fluid, ], control: {type: 'radio'}, }, }, } satisfies Meta; export default meta; type Story = StoryObj; export const UsageWithPipeBottom: Story = { render: (args) => html`
`, }; export const UsageWithPipeTop: Story = { render: (args) => html`
`, }; export const UsageWithPipeLeft: Story = { render: (args) => html`
`, }; export const UsageWithPipeRight: Story = { render: (args) => html`
`, };