import { TemplateResult, html } from "lit";
import "../src/pendor-clock.js";
export default {
    title: "PendorClock",
    component: "pendor-clock",
    argTypes: {
        title: { control: "text" },
        counter: { control: "number" },
        textColor: { control: "color" },
    },
};
interface Story {
    (args: T): TemplateResult;
    args?: Partial;
    argTypes?: Record;
}
interface ArgTypes {
    title?: string;
    counter?: number;
    textColor?: string;
    slot?: TemplateResult;
}
const Template: Story = ({
    title = "Hello world",
    counter = 5,
    textColor,
    slot,
}: ArgTypes) => html`
    
        ${slot}
    
`;
export const Regular = Template.bind({});
export const CustomTitle = Template.bind({});
CustomTitle.args = {
    title: "My title",
};
export const CustomCounter = Template.bind({});
CustomCounter.args = {
    counter: 123456,
};
export const SlottedContent = Template.bind({});
SlottedContent.args = {
    slot: html`Slotted content
`,
};
SlottedContent.argTypes = {
    slot: { table: { disable: true } },
};