Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(clerk-js): Legal consent #4337

Merged
merged 27 commits into from
Oct 23, 2024

Conversation

octoper
Copy link
Member

@octoper octoper commented Oct 15, 2024

Description

This PR adds legal consent as an experimental feature and also updates the <SignUp/> component to display the legal consent checkbox when the legal consent requirements are enabled.

Here are some screenshots of how the<SignUp/> will look like:

image

image

CleanShot 2024-10-17 at 13 08 05@2x

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:

Copy link

changeset-bot bot commented Oct 15, 2024

🦋 Changeset detected

Latest commit: 248b505

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

This PR includes changesets to release 18 packages
Name Type
@clerk/localizations Minor
@clerk/clerk-js Minor
@clerk/types Minor
@clerk/chrome-extension Patch
@clerk/clerk-expo Patch
@clerk/astro Patch
@clerk/backend Patch
@clerk/elements Patch
@clerk/express Patch
@clerk/fastify Patch
@clerk/nextjs Patch
@clerk/clerk-react Patch
@clerk/remix Patch
@clerk/clerk-sdk-node Patch
@clerk/shared Patch
@clerk/tanstack-start Patch
@clerk/testing Patch
@clerk/themes 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

@octoper octoper changed the title Vaggelis/user 742 add legal consent to clerk js feat(clerk-js): Legal consent Oct 15, 2024
@octoper octoper self-assigned this Oct 15, 2024
@octoper octoper force-pushed the vaggelis/user-742-add-legal-consent-to-clerk-js branch 2 times, most recently from 226bdd7 to cc75032 Compare October 16, 2024 18:22
@octoper octoper force-pushed the vaggelis/user-742-add-legal-consent-to-clerk-js branch 2 times, most recently from 4189a77 to ac4eebb Compare October 17, 2024 17:37
@octoper octoper marked this pull request as ready for review October 17, 2024 18:26
@octoper
Copy link
Member Author

octoper commented Oct 17, 2024

!snapshot

@clerk-cookie
Copy link
Collaborator

Hey @octoper - the snapshot version command generated the following package versions:

Package Version
@clerk/astro 1.3.17-snapshot.vac4eebb
@clerk/backend 1.14.2-snapshot.vac4eebb
@clerk/chrome-extension 1.3.21-snapshot.vac4eebb
@clerk/clerk-js 5.28.0-snapshot.vac4eebb
@clerk/elements 0.16.3-snapshot.vac4eebb
@clerk/clerk-expo 2.2.27-snapshot.vac4eebb
@clerk/express 1.3.2-snapshot.vac4eebb
@clerk/fastify 2.0.4-snapshot.vac4eebb
@clerk/localizations 3.4.0-snapshot.vac4eebb
@clerk/nextjs 5.7.6-snapshot.vac4eebb
@clerk/clerk-react 5.12.1-snapshot.vac4eebb
@clerk/remix 4.2.40-snapshot.vac4eebb
@clerk/clerk-sdk-node 5.0.53-snapshot.vac4eebb
@clerk/shared 2.9.3-snapshot.vac4eebb
@clerk/tanstack-start 0.4.16-snapshot.vac4eebb
@clerk/testing 1.3.14-snapshot.vac4eebb
@clerk/themes 2.1.38-snapshot.vac4eebb
@clerk/types 4.27.0-snapshot.vac4eebb

Tip: Use the snippet copy button below to quickly install the required packages.
@clerk/astro

npm i @clerk/[email protected] --save-exact

@clerk/backend

npm i @clerk/[email protected] --save-exact

@clerk/chrome-extension

npm i @clerk/[email protected] --save-exact

@clerk/clerk-js

npm i @clerk/[email protected] --save-exact

@clerk/elements

npm i @clerk/[email protected] --save-exact

@clerk/clerk-expo

npm i @clerk/[email protected] --save-exact

@clerk/express

npm i @clerk/[email protected] --save-exact

@clerk/fastify

npm i @clerk/[email protected] --save-exact

@clerk/localizations

npm i @clerk/[email protected] --save-exact

@clerk/nextjs

npm i @clerk/[email protected] --save-exact

@clerk/clerk-react

npm i @clerk/[email protected] --save-exact

@clerk/remix

npm i @clerk/[email protected] --save-exact

@clerk/clerk-sdk-node

npm i @clerk/[email protected] --save-exact

@clerk/shared

npm i @clerk/[email protected] --save-exact

@clerk/tanstack-start

npm i @clerk/[email protected] --save-exact

@clerk/testing

npm i @clerk/[email protected] --save-exact

@clerk/themes

npm i @clerk/[email protected] --save-exact

@clerk/types

npm i @clerk/[email protected] --save-exact

packages/types/src/signUp.ts Show resolved Hide resolved
packages/clerk-js/src/core/clerk.ts Show resolved Hide resolved
@octoper
Copy link
Member Author

octoper commented Oct 18, 2024

!snapshot

@clerk-cookie
Copy link
Collaborator

Hey @octoper - the snapshot version command generated the following package versions:

Package Version
@clerk/astro 1.3.17-snapshot.v067db9b
@clerk/backend 1.14.2-snapshot.v067db9b
@clerk/chrome-extension 1.3.21-snapshot.v067db9b
@clerk/clerk-js 5.28.0-snapshot.v067db9b
@clerk/elements 0.17.0-snapshot.v067db9b
@clerk/clerk-expo 2.2.27-snapshot.v067db9b
@clerk/express 1.3.2-snapshot.v067db9b
@clerk/fastify 2.0.4-snapshot.v067db9b
@clerk/localizations 3.4.0-snapshot.v067db9b
@clerk/nextjs 5.8.0-snapshot.v067db9b
@clerk/clerk-react 5.12.1-snapshot.v067db9b
@clerk/remix 4.2.40-snapshot.v067db9b
@clerk/clerk-sdk-node 5.0.53-snapshot.v067db9b
@clerk/shared 2.10.0-snapshot.v067db9b
@clerk/tanstack-start 0.4.16-snapshot.v067db9b
@clerk/testing 1.3.14-snapshot.v067db9b
@clerk/themes 2.1.38-snapshot.v067db9b
@clerk/types 4.27.0-snapshot.v067db9b

Tip: Use the snippet copy button below to quickly install the required packages.
@clerk/astro

npm i @clerk/[email protected] --save-exact

@clerk/backend

npm i @clerk/[email protected] --save-exact

@clerk/chrome-extension

npm i @clerk/[email protected] --save-exact

@clerk/clerk-js

npm i @clerk/[email protected] --save-exact

@clerk/elements

npm i @clerk/[email protected] --save-exact

@clerk/clerk-expo

npm i @clerk/[email protected] --save-exact

@clerk/express

npm i @clerk/[email protected] --save-exact

@clerk/fastify

npm i @clerk/[email protected] --save-exact

@clerk/localizations

npm i @clerk/[email protected] --save-exact

@clerk/nextjs

npm i @clerk/[email protected] --save-exact

@clerk/clerk-react

npm i @clerk/[email protected] --save-exact

@clerk/remix

npm i @clerk/[email protected] --save-exact

@clerk/clerk-sdk-node

npm i @clerk/[email protected] --save-exact

@clerk/shared

npm i @clerk/[email protected] --save-exact

@clerk/tanstack-start

npm i @clerk/[email protected] --save-exact

@clerk/testing

npm i @clerk/[email protected] --save-exact

@clerk/themes

npm i @clerk/[email protected] --save-exact

@clerk/types

npm i @clerk/[email protected] --save-exact

@octoper octoper force-pushed the vaggelis/user-742-add-legal-consent-to-clerk-js branch from 067db9b to 1253fa4 Compare October 18, 2024 14:40
@octoper octoper requested a review from chanioxaris October 18, 2024 16:00
@octoper octoper force-pushed the vaggelis/user-742-add-legal-consent-to-clerk-js branch from 5b15715 to 0dd7e0e Compare October 18, 2024 16:34
@octoper octoper requested a review from a team October 18, 2024 17:36
@octoper octoper force-pushed the vaggelis/user-742-add-legal-consent-to-clerk-js branch from 0dd7e0e to 9bddc6f Compare October 18, 2024 17:49
@nikospapcom
Copy link
Member

!snapshot

@octoper octoper force-pushed the vaggelis/user-742-add-legal-consent-to-clerk-js branch from 669c703 to 248b505 Compare October 23, 2024 13:59
@octoper octoper merged commit 3fdcdbf into main Oct 23, 2024
21 checks passed
@octoper octoper deleted the vaggelis/user-742-add-legal-consent-to-clerk-js branch October 23, 2024 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants