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): Render @clerk/ui #4114

Open
wants to merge 50 commits into
base: main
Choose a base branch
from
Open

Conversation

BRKalow
Copy link
Member

@BRKalow BRKalow commented Sep 5, 2024

Description

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 Sep 5, 2024

🦋 Changeset detected

Latest commit: 129bc20

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

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

@dstaley
Copy link
Member

dstaley commented Oct 2, 2024

!snapshot

@clerk-cookie
Copy link
Collaborator

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

Package Version
@clerk/astro 1.3.13-snapshot.vd415f19
@clerk/backend 1.13.9-snapshot.vd415f19
@clerk/chrome-extension 1.3.15-snapshot.vd415f19
@clerk/clerk-js 5.27.0-snapshot.vd415f19
@clerk/elements 0.16.0-snapshot.vd415f19
@clerk/clerk-expo 2.2.21-snapshot.vd415f19
@clerk/express 1.2.2-snapshot.vd415f19
@clerk/fastify 1.0.52-snapshot.vd415f19
@clerk/localizations 3.1.3-snapshot.vd415f19
@clerk/nextjs 5.8.0-snapshot.vd415f19
@clerk/clerk-react 5.11.1-snapshot.vd415f19
@clerk/remix 4.2.36-snapshot.vd415f19
@clerk/clerk-sdk-node 5.0.49-snapshot.vd415f19
@clerk/shared 2.10.0-snapshot.vd415f19
@clerk/tanstack-start 0.4.12-snapshot.vd415f19
@clerk/testing 1.3.10-snapshot.vd415f19
@clerk/themes 2.1.36-snapshot.vd415f19
@clerk/types 4.26.0-snapshot.vd415f19

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

@dstaley
Copy link
Member

dstaley commented Oct 2, 2024

!snapshot

@clerk-cookie
Copy link
Collaborator

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

Package Version
@clerk/astro 1.3.13-snapshot.v477ee05
@clerk/backend 1.13.9-snapshot.v477ee05
@clerk/chrome-extension 1.3.15-snapshot.v477ee05
@clerk/clerk-js 5.27.0-snapshot.v477ee05
@clerk/elements 0.16.0-snapshot.v477ee05
@clerk/clerk-expo 2.2.21-snapshot.v477ee05
@clerk/express 1.2.2-snapshot.v477ee05
@clerk/fastify 1.0.52-snapshot.v477ee05
@clerk/localizations 3.1.3-snapshot.v477ee05
@clerk/nextjs 5.8.0-snapshot.v477ee05
@clerk/clerk-react 5.11.1-snapshot.v477ee05
@clerk/remix 4.2.36-snapshot.v477ee05
@clerk/clerk-sdk-node 5.0.49-snapshot.v477ee05
@clerk/shared 2.10.0-snapshot.v477ee05
@clerk/tanstack-start 0.4.12-snapshot.v477ee05
@clerk/testing 1.3.10-snapshot.v477ee05
@clerk/themes 2.1.36-snapshot.v477ee05
@clerk/types 4.26.0-snapshot.v477ee05

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

@@ -15,6 +15,6 @@
{ "path": "./dist/userbutton*.js", "maxSize": "5KB" },
{ "path": "./dist/userprofile*.js", "maxSize": "15KB" },
{ "path": "./dist/userverification*.js", "maxSize": "5KB" },
{ "path": "./dist/onetap*.js", "maxSize": "1KB" }
{ "path": "./dist/onetap*.js", "maxSize": "2KB" }
Copy link
Member

Choose a reason for hiding this comment

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

❓ how's this affected

@@ -53,6 +53,7 @@
"@clerk/localizations": "3.1.2",
"@clerk/shared": "2.9.0",
"@clerk/types": "4.25.0",
"@clerk/ui": "0.1.9",
Copy link
Contributor

Choose a reason for hiding this comment

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

[question] is @clerk/ui considered pre-release since it's still 0.x.x?

Copy link
Member

Choose a reason for hiding this comment

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

Yup, it's an internal-only package essentially. At this point I'm not aware of any plans to make it a publicly consumable package, so we might be able to get away with keeping it private and pinning the version to "*". I'll let @BRKalow confirm though.

The ui package is bundled via Webpack into clerk-js, so we don't need it published to npm in order to consume it.

@dstaley
Copy link
Member

dstaley commented Oct 3, 2024

!snapshot

@clerk-cookie
Copy link
Collaborator

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

Package Version
@clerk/astro 1.3.13-snapshot.v860897c
@clerk/backend 1.13.9-snapshot.v860897c
@clerk/chrome-extension 1.3.15-snapshot.v860897c
@clerk/clerk-js 5.27.0-snapshot.v860897c
@clerk/elements 0.16.0-snapshot.v860897c
@clerk/clerk-expo 2.2.21-snapshot.v860897c
@clerk/express 1.2.2-snapshot.v860897c
@clerk/fastify 1.0.52-snapshot.v860897c
@clerk/localizations 3.1.3-snapshot.v860897c
@clerk/nextjs 5.8.0-snapshot.v860897c
@clerk/clerk-react 5.11.1-snapshot.v860897c
@clerk/remix 4.2.36-snapshot.v860897c
@clerk/clerk-sdk-node 5.0.49-snapshot.v860897c
@clerk/shared 2.10.0-snapshot.v860897c
@clerk/tanstack-start 0.4.12-snapshot.v860897c
@clerk/testing 1.3.10-snapshot.v860897c
@clerk/themes 2.1.36-snapshot.v860897c
@clerk/types 4.26.0-snapshot.v860897c

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

@dstaley
Copy link
Member

dstaley commented Oct 4, 2024

!snapshot

@clerk-cookie
Copy link
Collaborator

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

Package Version
@clerk/astro 1.3.13-snapshot.v6bae6c3
@clerk/backend 1.13.9-snapshot.v6bae6c3
@clerk/chrome-extension 1.3.16-snapshot.v6bae6c3
@clerk/clerk-js 5.27.0-snapshot.v6bae6c3
@clerk/elements 0.16.0-snapshot.v6bae6c3
@clerk/clerk-expo 2.2.22-snapshot.v6bae6c3
@clerk/express 1.2.2-snapshot.v6bae6c3
@clerk/fastify 1.0.52-snapshot.v6bae6c3
@clerk/localizations 3.2.0-snapshot.v6bae6c3
@clerk/nextjs 5.8.0-snapshot.v6bae6c3
@clerk/clerk-react 5.11.1-snapshot.v6bae6c3
@clerk/remix 4.2.36-snapshot.v6bae6c3
@clerk/clerk-sdk-node 5.0.49-snapshot.v6bae6c3
@clerk/shared 2.10.0-snapshot.v6bae6c3
@clerk/tanstack-start 0.4.12-snapshot.v6bae6c3
@clerk/testing 1.3.10-snapshot.v6bae6c3
@clerk/themes 2.1.36-snapshot.v6bae6c3
@clerk/types 4.26.0-snapshot.v6bae6c3

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

@dstaley
Copy link
Member

dstaley commented Oct 7, 2024

!snapshot

@clerk-cookie
Copy link
Collaborator

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

Package Version
@clerk/astro 1.3.13-snapshot.v63f97d3
@clerk/backend 1.13.9-snapshot.v63f97d3
@clerk/chrome-extension 1.3.16-snapshot.v63f97d3
@clerk/clerk-js 5.27.0-snapshot.v63f97d3
@clerk/elements 0.16.0-snapshot.v63f97d3
@clerk/clerk-expo 2.2.22-snapshot.v63f97d3
@clerk/express 1.2.2-snapshot.v63f97d3
@clerk/fastify 1.0.52-snapshot.v63f97d3
@clerk/localizations 3.2.0-snapshot.v63f97d3
@clerk/nextjs 5.8.0-snapshot.v63f97d3
@clerk/clerk-react 5.11.1-snapshot.v63f97d3
@clerk/remix 4.2.36-snapshot.v63f97d3
@clerk/clerk-sdk-node 5.0.49-snapshot.v63f97d3
@clerk/shared 2.10.0-snapshot.v63f97d3
@clerk/tanstack-start 0.4.12-snapshot.v63f97d3
@clerk/testing 1.3.10-snapshot.v63f97d3
@clerk/themes 2.1.36-snapshot.v63f97d3
@clerk/types 4.26.0-snapshot.v63f97d3

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

@dstaley
Copy link
Member

dstaley commented Oct 8, 2024

!snapshot

@clerk-cookie
Copy link
Collaborator

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

Package Version
@clerk/astro 1.3.13-snapshot.vc65ea96
@clerk/backend 1.13.9-snapshot.vc65ea96
@clerk/chrome-extension 1.3.17-snapshot.vc65ea96
@clerk/clerk-js 5.27.0-snapshot.vc65ea96
@clerk/elements 0.16.0-snapshot.vc65ea96
@clerk/clerk-expo 2.2.23-snapshot.vc65ea96
@clerk/express 1.2.2-snapshot.vc65ea96
@clerk/fastify 2.0.0-snapshot.vc65ea96
@clerk/localizations 3.2.1-snapshot.vc65ea96
@clerk/nextjs 5.8.0-snapshot.vc65ea96
@clerk/clerk-react 5.11.1-snapshot.vc65ea96
@clerk/remix 4.2.36-snapshot.vc65ea96
@clerk/clerk-sdk-node 5.0.49-snapshot.vc65ea96
@clerk/shared 2.10.0-snapshot.vc65ea96
@clerk/tanstack-start 0.4.12-snapshot.vc65ea96
@clerk/testing 1.3.10-snapshot.vc65ea96
@clerk/themes 2.1.36-snapshot.vc65ea96
@clerk/types 4.26.0-snapshot.vc65ea96

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

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.

8 participants