Repository navigation
feat(mosaic): let apps replace or hide the OAuthConsent logomark - #10982
alexcarpenter wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🦋 Changeset detectedLatest commit: 5bff50e The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
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 |
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the
Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
| Merge-base | This PR 5bff50e3 |
|---|---|
Also checked · 2 match
Proof on 5bff50e3 · Did Proof get it right? Yes · No
View full Proof report · React 👎 or comment @codesmith dismiss this proof to dismiss
058f0ae to
0ef4fce
Compare
@clerk/astro
@clerk/backend
@clerk/chrome-extension
@clerk/clerk-js
@clerk/electron
@clerk/electron-passkeys
@clerk/eslint-plugin
@clerk/expo
@clerk/expo-biometrics
@clerk/expo-google-signin
@clerk/expo-native-components
@clerk/expo-passkeys
@clerk/express
@clerk/fastify
@clerk/hono
@clerk/localizations
@clerk/mosaic
@clerk/nextjs
@clerk/nuxt
@clerk/react
@clerk/react-router
@clerk/shared
@clerk/tanstack-react-start
@clerk/testing
@clerk/ui
@clerk/upgrade
@clerk/vue
commit: |
0ef4fce to
02cf58d
Compare
02cf58d to
bea9485
Compare
bea9485 to
78d0f50
Compare
78d0f50 to
a2f1ff7
Compare
Today OAuthConsent shows only the logomark or logo set in the Clerk Dashboard. An app embedding it cannot show its own logomark, such as an inline SVG or a next/image Image, and cannot hide it. Add an options prop to MosaicProvider and OAuthConsent with one key, logomark. A component's options override the provider's key by key, and logomark: false hides the logomark and the arrow. Before this, these settings would each become a top-level prop, and more are coming (such as elevation, which @clerk/ui grouped with the logo in appearance.options).
a2f1ff7 to
5bff50e
Compare


Description
Stacked on #10965.
Adds an
optionsprop toMosaicProviderandOAuthConsentwith one key,logomark: an element that replaces the Dashboard logomark, orfalseto hide it (and the arrow). A component'soptionsoverride the provider's key by key.The settings go in one
optionsprop rather than a top-levelrenderLogomarkprop because more are expected (elevation next;@clerk/uigroups the logo and elevation inappearance.options). Elevation is not part of this PR.Checklist
pnpm testruns as expected.pnpm buildruns as expected.Type of change