/**
* Pending step — shows Skip Step + the primary action button.
*/
export const Default: Story = {
args: {
step: baseStep,
isCompleted: false,
isSkipped: false,
isCheckingCompletion: false,
onAction: () => console.log('action'),
onSkip: () => console.log('skip'),
},
}
/**
* Completed step — shows the success badge and a "Manage" button.
*/
export const Completed: Story = {
args: {
...Default.args,
isCompleted: true,
},
}
/**
* Skipped step — shows only the SKIPPED badge.
*/
export const Skipped: Story = {
args: {
...Default.args,
isSkipped: true,
},
}
/**
* Loading state while completion status is being checked.
*/
export const CheckingCompletion: Story = {
args: {
...Default.args,
isCheckingCompletion: true,
},
}
/**
* Full list rendered the way it appears on the Get Started page.
* Use this story to verify that hovering any row does NOT change its
* border or background — only the inner buttons should react.
*/
export const List: Story = {
args: Default.args,
render: () => {
const steps = [
{
...baseStep,
id: 'orgs',
title: 'Organizations Setup',
description: 'Create and configure your organizational structure',
completed: true,
},
{
...baseStep,
id: 'devices',
title: 'Device Management',
description: 'Connect and monitor your fleet of devices',
completed: true,
},
{
...baseStep,
id: 'team',
title: 'Company & Team',
description: 'Invite team members and set up roles',
completed: false,
},
{
...baseStep,
id: 'sso',
title: 'SSO Configuration',
description: 'Link Microsoft 365, Google Workspace, and other identity providers',
completed: false,
},
{
...baseStep,
id: 'kb',
title: 'Knowledge Base',
description: 'Access documentation and learning resources',
completed: false,
},
]
return (
{steps.map((s) => (
console.log('action', s.id)}
onSkip={() => console.log('skip', s.id)}
/>
))}
)
},
}