Skip to content

Commit b3a1347

Browse files
committed
fix(e2e): merge vincent and use correct appearance options prop
2 parents 4a06520 + 1aafcce commit b3a1347

File tree

120 files changed

+1422
-320
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

120 files changed

+1422
-320
lines changed

.changeset/odd-rice-swim.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
'@clerk/ui': major
3+
---
4+
5+
Removes `simple` theme export from UI package in favor of using the `simple` theme via the appearance prop:
6+
7+
```tsx
8+
<ClerkProvider appearance={{ theme: 'simple' }} />
9+
```
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@clerk/ui': major
3+
---
4+
5+
Renamed `appearance.layout` to `appearance.options` across all appearance configurations. This is a breaking change - update all instances of `appearance.layout` to `appearance.options` in your codebase.
6+

integration/templates/astro-hybrid/astro.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default defineConfig({
77
integrations: [
88
clerk({
99
appearance: {
10-
layout: {
10+
options: {
1111
showOptionalFields: true,
1212
},
1313
},

integration/templates/astro-node/astro.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default defineConfig({
1313
integrations: [
1414
clerk({
1515
appearance: {
16-
layout: {
16+
options: {
1717
showOptionalFields: true,
1818
},
1919
},

integration/templates/custom-flows-react-vite/src/main.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ createRoot(document.getElementById('root')!).render(
2424
clerkJSUrl={import.meta.env.VITE_CLERK_JS_URL as string}
2525
clerkUiUrl={import.meta.env.VITE_CLERK_UI_URL as string}
2626
appearance={{
27-
layout: {
27+
options: {
2828
showOptionalFields: true,
2929
},
3030
}}

integration/templates/expo-web/app/_layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default function RootLayout() {
1111
clerkJSUrl={process.env.EXPO_PUBLIC_CLERK_JS_URL}
1212
clerkUiUrl={process.env.EXPO_PUBLIC_CLERK_UI_URL}
1313
appearance={{
14-
layout: {
14+
options: {
1515
showOptionalFields: true,
1616
},
1717
}}

integration/templates/next-app-router-quickstart/src/app/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default function RootLayout({ children }: { children: React.ReactNode })
1313
return (
1414
<ClerkProvider
1515
appearance={{
16-
layout: {
16+
options: {
1717
showOptionalFields: true,
1818
},
1919
}}

integration/templates/next-app-router/src/app/jwt-v2-organizations/(tests)/has-ssr/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default function Page() {
66
<ClerkProvider
77
dynamic
88
appearance={{
9-
layout: {
9+
options: {
1010
showOptionalFields: true,
1111
},
1212
}}

integration/templates/next-app-router/src/app/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default function RootLayout({ children }: { children: React.ReactNode })
1313
return (
1414
<ClerkProvider
1515
appearance={{
16-
layout: {
16+
options: {
1717
showOptionalFields: true,
1818
// Icon buttons only contain accessible labels when they use an icon; our generated letter icon does not have
1919
// an accessible label. Using the "blockButton" variant ensures that the button contains a visible label that

integration/templates/next-app-router/src/app/settings/useAuth-has/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default function Layout({ children }: { children: React.ReactNode }) {
55
<ClerkProvider
66
dynamic
77
appearance={{
8-
layout: {
8+
options: {
99
showOptionalFields: true,
1010
},
1111
}}

0 commit comments

Comments
 (0)