Skip to content

feat: add accessible stepper component#5

Merged
nathan2slime merged 3 commits intomasterfrom
feat/stepper
Apr 21, 2026
Merged

feat: add accessible stepper component#5
nathan2slime merged 3 commits intomasterfrom
feat/stepper

Conversation

@nathan2slime
Copy link
Copy Markdown
Owner

Summary

  • add a composable Stepper compound component with controlled and uncontrolled state, horizontal and vertical layouts, and keyboard navigation
  • cover active, completed, error, and disabled states with accessible semantics, tests, Storybook stories, and usage docs
  • register the new component in package exports, build entries, and generated API docs

Testing

  • pnpm run lint
  • pnpm run test
  • pnpm run build
  • pnpm run build:storybook
  • pnpm run doc:build

Closes #4

Add a composable Stepper API with controlled state and keyboard navigation.

This keeps multi-step flows aligned with the library's accessibility and theming patterns.
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ui Ready Ready Preview, Comment Apr 21, 2026 2:19am

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 12391bc9a3

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/components/stepper/stepper-list.tsx Outdated
Fall back to the first enabled step when the selected value no longer matches a rendered item.

This preserves a current step and keyboard reachability for controlled and dynamic flows.
Adjust the horizontal step grid and separator width.

This keeps step content readable without connectors touching neighboring items.
@nathan2slime nathan2slime merged commit 58b7d12 into master Apr 21, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: plan Stepper/Step component

1 participant