diff --git a/.changeset/slow-eels-fly.md b/.changeset/slow-eels-fly.md new file mode 100644 index 0000000000..a845151cc8 --- /dev/null +++ b/.changeset/slow-eels-fly.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/packages/clerk-js/src/ui.retheme/common/RemoveResourcePage.tsx b/packages/clerk-js/src/ui.retheme/common/RemoveResourcePage.tsx index 3eb81b00b2..69b203b0d1 100644 --- a/packages/clerk-js/src/ui.retheme/common/RemoveResourcePage.tsx +++ b/packages/clerk-js/src/ui.retheme/common/RemoveResourcePage.tsx @@ -45,7 +45,7 @@ export const RemoveResourcePage = withCardStateProvider((props: RemovePageProps) localizationKey={messageLine2} variant='regularRegular' /> - + { avatarPreviewPlaceholder={ void elementDescriptor={descriptors.button} block variant='secondary' - colorScheme='secondary' textVariant='buttonExtraSmallBold' onClick={handleCreateOrganizationClicked} localizationKey={localizationKeys('organizationList.action__createOrganization')} diff --git a/packages/clerk-js/src/ui.retheme/components/OrganizationList/shared.tsx b/packages/clerk-js/src/ui.retheme/components/OrganizationList/shared.tsx index c2f602ddf4..2c5d829aa6 100644 --- a/packages/clerk-js/src/ui.retheme/components/OrganizationList/shared.tsx +++ b/packages/clerk-js/src/ui.retheme/components/OrganizationList/shared.tsx @@ -98,7 +98,6 @@ export const PreviewListItemButton = (props: Parameters[0]) => { elementDescriptor={descriptors.organizationListPreviewItemActionButton} textVariant='buttonExtraSmallBold' variant='secondary' - colorScheme='secondary' size='sm' {...props} /> diff --git a/packages/clerk-js/src/ui.retheme/components/OrganizationProfile/ActionConfirmationPage.tsx b/packages/clerk-js/src/ui.retheme/components/OrganizationProfile/ActionConfirmationPage.tsx index 9dd362f3b1..88868aaf9e 100644 --- a/packages/clerk-js/src/ui.retheme/components/OrganizationProfile/ActionConfirmationPage.tsx +++ b/packages/clerk-js/src/ui.retheme/components/OrganizationProfile/ActionConfirmationPage.tsx @@ -90,7 +90,7 @@ type ActionConfirmationPageProps = { successMessage: LocalizationKey; submitLabel: LocalizationKey; onConfirmation: () => Promise; - colorScheme?: 'danger' | 'secondary' | 'primary'; + variant?: 'primaryDanger' | 'primary'; }; const ActionConfirmationPage = withCardStateProvider((props: ActionConfirmationPageProps) => { @@ -103,7 +103,7 @@ const ActionConfirmationPage = withCardStateProvider((props: ActionConfirmationP successMessage, submitLabel, onConfirmation, - colorScheme = 'danger', + variant = 'primaryDanger', } = props; const wizard = useWizard(); const card = useCardState(); @@ -149,7 +149,7 @@ const ActionConfirmationPage = withCardStateProvider((props: ActionConfirmationP diff --git a/packages/clerk-js/src/ui.retheme/components/OrganizationProfile/DomainList.tsx b/packages/clerk-js/src/ui.retheme/components/OrganizationProfile/DomainList.tsx index 18960d360a..a40f3f9b67 100644 --- a/packages/clerk-js/src/ui.retheme/components/OrganizationProfile/DomainList.tsx +++ b/packages/clerk-js/src/ui.retheme/components/OrganizationProfile/DomainList.tsx @@ -144,7 +144,6 @@ export const DomainList = withGate( : undefined} sx={t => ({ padding: `${t.space.$3} ${t.space.$4}`, diff --git a/packages/clerk-js/src/ui.retheme/components/OrganizationProfile/OrganizationMembersTabInvitations.tsx b/packages/clerk-js/src/ui.retheme/components/OrganizationProfile/OrganizationMembersTabInvitations.tsx index a533393fe3..b823250721 100644 --- a/packages/clerk-js/src/ui.retheme/components/OrganizationProfile/OrganizationMembersTabInvitations.tsx +++ b/packages/clerk-js/src/ui.retheme/components/OrganizationProfile/OrganizationMembersTabInvitations.tsx @@ -50,7 +50,6 @@ export const OrganizationMembersTabInvitations = () => { { { sx={t => ({ marginRight: t.space.$2 })} /> } - variant='secondary' - colorScheme='danger' + variant='secondaryDanger' textVariant='buttonExtraSmallBold' onClick={() => navigate('leave')} localizationKey={localizationKeys('organizationProfile.profilePage.dangerSection.leaveOrganization.title')} @@ -142,8 +141,7 @@ const OrganizationDangerSection = () => { sx={t => ({ marginRight: t.space.$2 })} /> } - variant='secondary' - colorScheme='danger' + variant='secondaryDanger' textVariant='buttonExtraSmallBold' onClick={() => navigate('delete')} localizationKey={localizationKeys('organizationProfile.profilePage.dangerSection.deleteOrganization.title')} diff --git a/packages/clerk-js/src/ui.retheme/components/OrganizationProfile/VerifiedDomainPage.tsx b/packages/clerk-js/src/ui.retheme/components/OrganizationProfile/VerifiedDomainPage.tsx index 825ff77f60..d5d2dfb34d 100644 --- a/packages/clerk-js/src/ui.retheme/components/OrganizationProfile/VerifiedDomainPage.tsx +++ b/packages/clerk-js/src/ui.retheme/components/OrganizationProfile/VerifiedDomainPage.tsx @@ -312,7 +312,7 @@ export const VerifiedDomainPage = withCardStateProvider(() => { actionLabel={localizationKeys( 'organizationProfile.verifiedDomainPage.dangerTab.removeDomainActionLabel__remove', )} - colorScheme='danger' + variant='linkDanger' onClick={() => navigate(`../../domain/${domain.id}/remove`)} /> diff --git a/packages/clerk-js/src/ui.retheme/components/OrganizationSwitcher/OrganizationSwitcherTrigger.tsx b/packages/clerk-js/src/ui.retheme/components/OrganizationSwitcher/OrganizationSwitcherTrigger.tsx index 5c880478a5..f3cd587c30 100644 --- a/packages/clerk-js/src/ui.retheme/components/OrganizationSwitcher/OrganizationSwitcherTrigger.tsx +++ b/packages/clerk-js/src/ui.retheme/components/OrganizationSwitcher/OrganizationSwitcherTrigger.tsx @@ -31,7 +31,6 @@ export const OrganizationSwitcherTrigger = withAvatarShimmer(