import { CharacterCounter } from "./character-counter.js";
const meta = {
    title: "UI/CharacterCounter",
    component: CharacterCounter,
    parameters: {
        layout: "centered",
        chromatic: {
            disableSnapshot: true,
        },
    },
    tags: ["autodocs"],
    argTypes: {
        maxLength: {
            control: "number",
            description: "Maximum number of characters allowed",
        },
        value: {
            control: "text",
            description: "Current text value to count characters from",
        },
    },
};
export default meta;
export const Default = {
    args: {
        maxLength: 10,
        value: "",
    },
};
export const AtLimit = {
    args: {
        maxLength: 10,
        value: "HelloWorld",
    },
};
export const ExceedingLimit = {
    args: {
        maxLength: 10,
        value: "Hello World!",
    },
};
export const LargeLimit = {
    args: {
        maxLength: 100,
        value: "This is a longer text that demonstrates the counter with a larger character limit",
    },
};
//# sourceMappingURL=character-counter.stories.js.map