Skip to content

chore(clerk-js): Introduce Form.RadioGroup#2034

Merged
panteliselef merged 2 commits intomainfrom
elef/SDK-674-form-fields
Nov 7, 2023
Merged

chore(clerk-js): Introduce Form.RadioGroup#2034
panteliselef merged 2 commits intomainfrom
elef/SDK-674-form-fields

Conversation

@panteliselef
Copy link
Copy Markdown
Contributor

Description

Refactor internal form radio, previously this was nested under FormControl, now it is a top level component. Tests are added to make sure nothing was broken during refactoring.

Checklist

  • npm test runs as expected.
  • npm run 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:

Packages affected

  • @clerk/backend
  • @clerk/chrome-extension
  • @clerk/clerk-js
  • @clerk/clerk-expo
  • @clerk/fastify
  • gatsby-plugin-clerk
  • @clerk/localizations
  • @clerk/nextjs
  • @clerk/clerk-react
  • @clerk/remix
  • @clerk/clerk-sdk-node
  • @clerk/shared
  • @clerk/themes
  • @clerk/types
  • build/tooling/chore

@panteliselef panteliselef self-assigned this Nov 3, 2023
@panteliselef panteliselef requested a review from a team as a code owner November 3, 2023 13:10
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Nov 3, 2023

🦋 Changeset detected

Latest commit: 719e901

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

const useEnrollmentOptions = () => {
const { organizationSettings } = useEnvironment();

const options = (() => {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@panteliselef you can move this function outside of the hook if you feel it's easier to read.

@panteliselef panteliselef added this pull request to the merge queue Nov 7, 2023
Merged via the queue into main with commit db3eefe Nov 7, 2023
@panteliselef panteliselef deleted the elef/SDK-674-form-fields branch November 7, 2023 10:15
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.

3 participants