import { spread } from '@open-wc/lit-helpers';
import { getStorybookHelpers } from '@wc-toolkit/storybook-helpers';
import { html } from 'lit';
import { prespread } from '../../.storybook/utilities.js';
import './index.js';
const { events, args, argTypes } = getStorybookHelpers('w-dead-toggle');
const meta = {
    title: 'Forms/Dead toggle',
    render(args) {
        return html `<w-dead-toggle ${spread(prespread(args))}></w-dead-toggle>`;
    },
    args,
    argTypes,
    parameters: {
        actions: {
            handles: events,
        },
    },
};
export default meta;
export const Radio = {
    args: {
        type: 'radio',
    },
};
export const Checkbox = {
    args: {
        type: 'checkbox',
    },
};
export const Indeterminate = {
    args: {
        indeterminate: true,
    },
};
export const Checked = {
    args: {
        checked: true,
    },
};
export const Invalid = {
    args: {
        invalid: true,
    },
};
