import TextBoxWithSuggestions from "../components/TextBoxWithSuggestions";
const meta = {
    title: "Components/TextBoxWithSuggestions",
    component: TextBoxWithSuggestions,
    parameters: {
        layout: "centered",
    },
    tags: ["autodocs"],
};
export default meta;
const mockSuggestions = [
    {
        suggestionHeading: "Professional Summary",
        suggestionText: "A highly motivated and results-driven professional with extensive experience in software development and team leadership.",
        suggestionActive: false,
    },
    {
        suggestionHeading: "Technical Skills",
        suggestionText: "Proficient in React, TypeScript, Node.js, and modern web development practices.",
        suggestionActive: false,
    },
    {
        suggestionHeading: "Leadership Experience",
        suggestionText: "Led cross-functional teams of 5-10 developers in delivering high-quality software solutions.",
        suggestionActive: false,
    },
];
export const Default = {
    args: {
        heading: "Job Description",
        value: "",
        handleChange: (newValue) => {
            console.log("Text changed:", newValue);
        },
        suggestionList: mockSuggestions,
    },
};
export const WithInitialValue = {
    args: {
        heading: "Job Description",
        value: "We are looking for a skilled developer to join our team.",
        handleChange: (newValue) => {
            console.log("Text changed:", newValue);
        },
        suggestionList: mockSuggestions,
    },
};
export const CustomHeading = {
    args: {
        heading: "Project Requirements",
        value: "",
        handleChange: (newValue) => {
            console.log("Text changed:", newValue);
        },
        suggestionList: [
            {
                suggestionHeading: "Technical Requirements",
                suggestionText: "Must have experience with React, TypeScript, and REST APIs.",
                suggestionActive: false,
            },
            {
                suggestionHeading: "Soft Skills",
                suggestionText: "Excellent communication skills and ability to work in a team environment.",
                suggestionActive: false,
            },
        ],
    },
};
