diff --git a/.changeset/tiny-brooms-learn.md b/.changeset/tiny-brooms-learn.md new file mode 100644 index 0000000000..689b76dd91 --- /dev/null +++ b/.changeset/tiny-brooms-learn.md @@ -0,0 +1,6 @@ +--- +'@clerk/clerk-js': patch +'@clerk/types': patch +--- + +Add `socialButtonsRoot` descriptor. diff --git a/packages/clerk-js/bundlewatch.config.json b/packages/clerk-js/bundlewatch.config.json index c145b46909..afb9da5459 100644 --- a/packages/clerk-js/bundlewatch.config.json +++ b/packages/clerk-js/bundlewatch.config.json @@ -3,7 +3,7 @@ { "path": "./dist/clerk.js", "maxSize": "707kB" }, { "path": "./dist/clerk.browser.js", "maxSize": "75kB" }, { "path": "./dist/clerk.headless.js", "maxSize": "48kB" }, - { "path": "./dist/ui-common*.js", "maxSize": "88KB" }, + { "path": "./dist/ui-common*.js", "maxSize": "89KB" }, { "path": "./dist/vendors*.js", "maxSize": "70KB" }, { "path": "./dist/coinbase*.js", "maxSize": "58KB" }, { "path": "./dist/createorganization*.js", "maxSize": "5KB" }, diff --git a/packages/clerk-js/src/ui/customizables/elementDescriptors.ts b/packages/clerk-js/src/ui/customizables/elementDescriptors.ts index 2f49c54046..858d4a0f24 100644 --- a/packages/clerk-js/src/ui/customizables/elementDescriptors.ts +++ b/packages/clerk-js/src/ui/customizables/elementDescriptors.ts @@ -47,6 +47,7 @@ export const APPEARANCE_KEYS = containsAllElementsConfigKeys([ 'backRow', 'backLink', + 'socialButtonsRoot', 'socialButtons', 'socialButtonsIconButton', 'socialButtonsBlockButton', diff --git a/packages/clerk-js/src/ui/elements/SocialButtons.tsx b/packages/clerk-js/src/ui/elements/SocialButtons.tsx index d6e3628e9f..584d2ba873 100644 --- a/packages/clerk-js/src/ui/elements/SocialButtons.tsx +++ b/packages/clerk-js/src/ui/elements/SocialButtons.tsx @@ -88,6 +88,7 @@ export const SocialButtons = React.memo((props: SocialButtonsRootProps) => { {strategyRows.map((row, rowIndex) => ( ; + socialButtonsRoot: WithOptions; socialButtons: WithOptions; socialButtonsIconButton: WithOptions; socialButtonsBlockButton: WithOptions;