chore: catch up Storybook preview, coverage, and story hygiene

Stories were throwing without AuthModal/CreateFlow providers, autodocs was a no-op, and several DS/create-flow screens had no stories.
This commit is contained in:
adilallo
2026-08-17 19:25:46 -06:00
parent 1983a67ffd
commit db1581337c
44 changed files with 1215 additions and 932 deletions
+37 -34
View File
@@ -44,43 +44,46 @@ const Template = (args) => {
};
// Default story
export const Default = Template.bind({});
Default.args = {
label: "Default Select Input",
placeholder: "Choose an option",
state: "default",
export const Default = {
args: {
label: "Default Select Input",
placeholder: "Choose an option",
state: "default",
},
render: Template,
}; // States
export const Active = {
args: {
label: "Active State",
placeholder: "Choose an option",
state: "active",
},
render: Template,
};
// States
export const Active = Template.bind({});
Active.args = {
label: "Active State",
placeholder: "Choose an option",
state: "active",
export const Focus = {
args: {
label: "Focus State",
placeholder: "Choose an option",
state: "focus",
},
render: Template,
};
export const Focus = Template.bind({});
Focus.args = {
label: "Focus State",
placeholder: "Choose an option",
state: "focus",
export const Error = {
args: {
label: "Error State",
placeholder: "Choose an option",
error: true,
},
render: Template,
};
export const Error = Template.bind({});
Error.args = {
label: "Error State",
placeholder: "Choose an option",
error: true,
};
export const Disabled = Template.bind({});
Disabled.args = {
label: "Disabled State",
placeholder: "Choose an option",
disabled: true,
};
// Interactive example
export const Disabled = {
args: {
label: "Disabled State",
placeholder: "Choose an option",
disabled: true,
},
render: Template,
}; // Interactive example
export const Interactive = (args) => {
const [value, setValue] = useState("");