Skip to content

Conversation

@LekoArts
Copy link
Contributor

@LekoArts LekoArts commented May 5, 2025

Description

We need to make the label for <Switch /> required as otherwise it's not an accessible component when left out. It needs a description for people to understand what it's about.

I also added the is prefix to the booleans as we a) use this in other places and b) makes their purpose clearer.

Checklist

  • pnpm test runs as expected.
  • pnpm build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

@changeset-bot
Copy link

changeset-bot bot commented May 5, 2025

🦋 Changeset detected

Latest commit: 0872fe4

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@clerk/clerk-js Patch
@clerk/chrome-extension Patch
@clerk/clerk-expo Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented May 5, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
clerk-js-sandbox ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 5, 2025 11:55pm

@LekoArts LekoArts marked this pull request as ready for review May 5, 2025 23:56
@LekoArts LekoArts merged commit 96a6ada into main May 6, 2025
35 checks passed
@LekoArts LekoArts deleted the lekoarts/switch-followup-fixes branch May 6, 2025 00:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants