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
+26 -22
View File
@@ -39,32 +39,36 @@ export default {
const Template = (args) => <Switch {...args} />;
export const Default = Template.bind({});
Default.args = {
propSwitch: false,
text: "Switch label",
export const Default = {
args: {
propSwitch: false,
text: "Switch label",
},
render: Template,
};
export const Checked = Template.bind({});
Checked.args = {
propSwitch: true,
text: "Switch label",
export const Checked = {
args: {
propSwitch: true,
text: "Switch label",
},
render: Template,
};
export const Focus = Template.bind({});
Focus.args = {
propSwitch: false,
state: "focus",
text: "Switch label",
export const Focus = {
args: {
propSwitch: false,
state: "focus",
text: "Switch label",
},
render: Template,
};
export const FocusChecked = Template.bind({});
FocusChecked.args = {
propSwitch: true,
state: "focus",
text: "Switch label",
export const FocusChecked = {
args: {
propSwitch: true,
state: "focus",
text: "Switch label",
},
render: Template,
};
export const States = () => (
<div className="space-y-4">
<div className="space-y-2">