The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Remove the no-op rounded prop from Card.Root (#28263)
Raphaël Bosi10a35288ef83
diff --git a/packages/twenty-docs/snippets/ui/generated/surfaces/card.mdx b/packages/twenty-docs/snippets/ui/generated/surfaces/card.mdxindex c1d412cd7c3..0f7f5697b05 100644--- a/packages/twenty-docs/snippets/ui/generated/surfaces/card.mdx+++ b/packages/twenty-docs/snippets/ui/generated/surfaces/card.mdx@@ -37,10 +37,6 @@Element or render callback composed through Base UI useRender. Supply native button or link attributes on the rendered owner.</ParamField>-<ParamField body="Root.rounded" type="boolean">- Cards already use the same rounded corners when omitted.-</ParamField>-<ParamField body="Root.style" type="CSSProperties">Native styles applied to the rendered part.</ParamField>diff --git a/packages/twenty-docs/ui/primitives/surfaces/card.mdx b/packages/twenty-docs/ui/primitives/surfaces/card.mdxindex 86c6b666364..3ef96d57619 100644--- a/packages/twenty-docs/ui/primitives/surfaces/card.mdx+++ b/packages/twenty-docs/ui/primitives/surfaces/card.mdx@@ -62,7 +62,7 @@ Each part renders a `div` by default and accepts native div attributes, event ha## Appearance and dividers-`Card.Root` has a transparent background by default. `fullWidth` fills its container, and `backgroundColor` changes the outer background. Child sections have their own backgrounds. `rounded` currently uses the same corner radius as the default card.+`Card.Root` has a transparent background by default. `fullWidth` fills its container, and `backgroundColor` changes the outer background. Child sections have their own backgrounds.`Card.Header` has a primary background, padding, and a bottom border. `Card.Content` has a secondary background and padding; its optional `divider` adds a bottom border. `Card.Footer` has a primary background, padding, and a top border unless `divider={false}`. Avoid adding two borders at the same section boundary.diff --git a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-card-composition.front-component.tsx b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-card-composition.front-component.tsxindex 7750d1cb0db..c40b50f59f4 100644--- a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-card-composition.front-component.tsx+++ b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-card-composition.front-component.tsx@@ -16,7 +16,6 @@ const ROOT_PROPS = {id: 'display-card',title: 'Display card',fullWidth: true,- rounded: true,backgroundColor: 'rgb(245, 246, 247)',} satisfies CardRootProps;@@ -56,7 +55,6 @@ const CardComposition = () => {id={ROOT_PROPS.id}title={ROOT_PROPS.title}fullWidth={ROOT_PROPS.fullWidth}- rounded={ROOT_PROPS.rounded}backgroundColor={ROOT_PROPS.backgroundColor}ref={rootRef}data-card-part="root"diff --git a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/utils/cardCompositionTest.ts b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/utils/cardCompositionTest.tsindex f58c1f3d3b5..ad188540ad7 100644--- a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/utils/cardCompositionTest.ts+++ b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/utils/cardCompositionTest.ts@@ -18,7 +18,6 @@ export const cardCompositionTest: TwentyUiGalleryPlayFunction = async ({expect(displayCard.tagName).toBe('DIV');expect(displayCard).toHaveAttribute('id', 'display-card');expect(displayCard).toHaveAttribute('data-full-width');- expect(displayCard).toHaveAttribute('data-rounded');await waitFor(() =>expect(getComputedStyle(displayCard).backgroundColor).toBe('rgb(245, 246, 247)',diff --git a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsCalendarChannelDetails.tsx b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsCalendarChannelDetails.tsxindex 2f3f4fef00d..4b1111a4ebc 100644--- a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsCalendarChannelDetails.tsx+++ b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsCalendarChannelDetails.tsx@@ -68,7 +68,7 @@ export const SettingsAccountsCalendarChannelDetails = ({title={t`Contact auto-creation`}description={t`Automatically create contacts for people you've participated in an event with.`}/>- <Card.Root rounded>+ <Card.Root><SettingsOptionCardContentSwitchIcon={IconUserPlus}title={t`Auto-creation`}@@ -87,7 +87,7 @@ export const SettingsAccountsCalendarChannelDetails = ({title={t`Options`}description={t`Configure what events should get synced`}/>- <Card.Root rounded>+ <Card.Root><SettingsOptionCardContentSwitchIcon={IconEyeOff}title={t`Exclude private events`}diff --git a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsMessageChannelDetails.tsx b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsMessageChannelDetails.tsxindex cdadadcf890..7f432cee727 100644--- a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsMessageChannelDetails.tsx+++ b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsMessageChannelDetails.tsx@@ -129,7 +129,7 @@ export const SettingsAccountsMessageChannelDetails = ({title={t`Options`}description={t`Configure what emails should get synced`}/>- <Card.Root rounded>+ <Card.Root><SettingsOptionCardContentSwitchIcon={IconUsers}title={t`Exclude group emails`}diff --git a/packages/twenty-front/src/modules/settings/admin-panel/ai/components/SettingsAdminAI.tsx b/packages/twenty-front/src/modules/settings/admin-panel/ai/components/SettingsAdminAI.tsxindex 124a5b5c974..584f208c6df 100644--- a/packages/twenty-front/src/modules/settings/admin-panel/ai/components/SettingsAdminAI.tsx+++ b/packages/twenty-front/src/modules/settings/admin-panel/ai/components/SettingsAdminAI.tsx@@ -203,7 +203,7 @@ export const SettingsAdminAI = () => {description={t`The model behind each mode for every workspace. Workspaces can pin their own.`}/>- <Card.Root rounded>+ <Card.Root><StyledSettingsSelectGroup controlWidth={260}>{AI_MODEL_TIERS.map((tier, index) => (<SettingsOptionCardContentSelect@@ -278,7 +278,7 @@ export const SettingsAdminAI = () => {))}</Table>) : (- <Card.Root rounded>+ <Card.Root><TableRow gridTemplateColumns="1fr"><TableCellcolor={themeCssVariables.font.color.tertiary}diff --git a/packages/twenty-front/src/modules/settings/admin-panel/ai/components/SettingsAdminAiProviderListCard.tsx b/packages/twenty-front/src/modules/settings/admin-panel/ai/components/SettingsAdminAiProviderListCard.tsxindex d53de25c72d..224a60bd95d 100644--- a/packages/twenty-front/src/modules/settings/admin-panel/ai/components/SettingsAdminAiProviderListCard.tsx+++ b/packages/twenty-front/src/modules/settings/admin-panel/ai/components/SettingsAdminAiProviderListCard.tsx@@ -65,7 +65,6 @@ export const SettingsAdminAiProviderListCard = ({return (<SettingsListCarditems={providers}- roundedRowIconColor={themeCssVariables.font.color.primary}RowIconFn={(provider) => getProviderIcon(provider.name ?? provider.id)}getItemLabel={(provider) => provider.label ?? provider.id}diff --git a/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminChatThreadMessageList.tsx b/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminChatThreadMessageList.tsxindex edf6392b74e..26636b31faa 100644--- a/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminChatThreadMessageList.tsx+++ b/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminChatThreadMessageList.tsx@@ -31,7 +31,7 @@ export const SettingsAdminChatThreadMessageList = ({if (!isNonEmptyArray(visibleMessages)) {return (- <Card.Root rounded>+ <Card.Root><TableRow gridTemplateColumns="1fr"><TableCellcolor={themeCssVariables.font.color.tertiary}diff --git a/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminVersionContainer.tsx b/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminVersionContainer.tsxindex 108ee0c2d46..8435360f74a 100644--- a/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminVersionContainer.tsx+++ b/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminVersionContainer.tsx@@ -38,7 +38,5 @@ export const SettingsAdminVersionContainer = () => {},];- return (- <SettingsTableCard rounded items={versionItems} gridAutoColumns="3fr 8fr" />- );+ return <SettingsTableCard items={versionItems} gridAutoColumns="3fr 8fr" />;};diff --git a/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminWorkspaceBillingContent.tsx b/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminWorkspaceBillingContent.tsxindex 50a6f13fe50..c94a33191e9 100644--- a/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminWorkspaceBillingContent.tsx+++ b/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminWorkspaceBillingContent.tsx@@ -358,11 +358,7 @@ export const SettingsAdminWorkspaceBillingContent = ({title={t`Customer`}description={t`Stripe customer linked to this workspace`}/>- <SettingsTableCard- rounded- items={customerItems}- gridAutoColumns="3fr 8fr"- />+ <SettingsTableCard items={customerItems} gridAutoColumns="3fr 8fr" /></Section.Root><Section.Root>@@ -375,11 +371,7 @@ export const SettingsAdminWorkspaceBillingContent = ({}/>{isDefined(usage) && (- <SettingsTableCard- rounded- items={usageItems}- gridAutoColumns="3fr 8fr"- />+ <SettingsTableCard items={usageItems} gridAutoColumns="3fr 8fr" />)}</Section.Root>@@ -394,7 +386,6 @@ export const SettingsAdminWorkspaceBillingContent = ({/>{subscription && (<SettingsTableCard- roundeditems={subscriptionItems}gridAutoColumns="3fr 8fr"/>diff --git a/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminHealthAccountSyncCountersTable.tsx b/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminHealthAccountSyncCountersTable.tsxindex b91380b00f7..4f1c4cb13f4 100644--- a/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminHealthAccountSyncCountersTable.tsx+++ b/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminHealthAccountSyncCountersTable.tsx@@ -48,7 +48,6 @@ export const SettingsAdminHealthAccountSyncCountersTable = ({<Section.Header title={title} description={description} /><StyledSettingsTableCarditems={items}- roundedgridAutoColumns="1fr 1fr"labelAlign="left"valueAlign="right"diff --git a/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminHealthStatusListCard.tsx b/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminHealthStatusListCard.tsxindex 38b76801e07..1f05a94db09 100644--- a/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminHealthStatusListCard.tsx+++ b/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminHealthStatusListCard.tsx@@ -37,7 +37,6 @@ export const SettingsAdminHealthStatusListCard = ({return (<SettingsListCarditems={services}- rounded={true}RowIconFn={(row) => HealthStatusIcons[row.id]}RowIconColor={theme.font.color.tertiary}getItemLabel={(service) => service.label}diff --git a/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminUpgradeStatusListCard.tsx b/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminUpgradeStatusListCard.tsxindex c145e3e559d..5ce45aef180 100644--- a/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminUpgradeStatusListCard.tsx+++ b/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminUpgradeStatusListCard.tsx@@ -82,7 +82,6 @@ export const SettingsAdminUpgradeStatusListCard = ({return (<SettingsListCard<UpgradeStatusRow>items={items}- rounded={true}RowIconFn={(item) => ROW_ICON_BY_KIND[item.kind]}getItemLabel={(item) => item.label}RowRightComponent={SettingsAdminUpgradeStatusRightContainer}diff --git a/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminWorkerMetricsGraph.tsx b/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminWorkerMetricsGraph.tsxindex 80c6addbe1a..fa4fc2eb17b 100644--- a/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminWorkerMetricsGraph.tsx+++ b/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminWorkerMetricsGraph.tsx@@ -200,7 +200,6 @@ export const SettingsAdminWorkerMetricsGraph = ({</StyledGraphContainer>{isDefined(metricsDetails) && (<StyledSettingsTableCard- roundeditems={Object.entries(metricsDetails).filter(([key]) => key !== '__typename').map(([key, value]) => ({diff --git a/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminWorkspacesByHealthAccordion.tsx b/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminWorkspacesByHealthAccordion.tsxindex cf5bdb2bff4..297ca43275f 100644--- a/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminWorkspacesByHealthAccordion.tsx+++ b/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminWorkspacesByHealthAccordion.tsx@@ -54,14 +54,14 @@ export const SettingsAdminWorkspacesByHealthAccordion = ({if (workspaces.length === 0) {return (- <Card.Root rounded={true}>+ <Card.Root><StyledAccordionHeader>{emptyLabel}</StyledAccordionHeader></Card.Root>);}return (- <Card.Root rounded={true}>+ <Card.Root><Collapsible.Root open={isExpanded} onOpenChange={setIsExpanded}><StyledAccordionHeader render={<Collapsible.Trigger />}><span>{filledLabel}</span>diff --git a/packages/twenty-front/src/modules/settings/admin-panel/health-status/maintenance-mode/components/SettingsAdminMaintenanceMode.tsx b/packages/twenty-front/src/modules/settings/admin-panel/health-status/maintenance-mode/components/SettingsAdminMaintenanceMode.tsxindex c05a3ba6533..f3e089218a5 100644--- a/packages/twenty-front/src/modules/settings/admin-panel/health-status/maintenance-mode/components/SettingsAdminMaintenanceMode.tsx+++ b/packages/twenty-front/src/modules/settings/admin-panel/health-status/maintenance-mode/components/SettingsAdminMaintenanceMode.tsx@@ -195,7 +195,7 @@ export const SettingsAdminMaintenanceMode = () => {title={t`Maintenance`}description={t`Schedule a maintenance window and notify all users`}/>- <Card.Root rounded>+ <Card.Root><SettingsOptionCardContentSwitchIcon={IconTool}title={t`Maintenance mode`}diff --git a/packages/twenty-front/src/modules/settings/ai/components/SettingsAiModelHoverCard.tsx b/packages/twenty-front/src/modules/settings/ai/components/SettingsAiModelHoverCard.tsxindex 5a8f7a0c5f2..89a6dda2a49 100644--- a/packages/twenty-front/src/modules/settings/ai/components/SettingsAiModelHoverCard.tsx+++ b/packages/twenty-front/src/modules/settings/ai/components/SettingsAiModelHoverCard.tsx@@ -173,7 +173,6 @@ export const SettingsAiModelHoverCard = ({return (<StyledHoverCardWrapper><SettingsTableCard- roundeditems={items}gridAutoColumns={`${themeCssVariables.spacing[30]} 1fr`}/>diff --git a/packages/twenty-front/src/modules/settings/app-preferences/components/SettingsAppPreferencesMessageChannelDetails.tsx b/packages/twenty-front/src/modules/settings/app-preferences/components/SettingsAppPreferencesMessageChannelDetails.tsxindex c6e754aaaf2..1ca52e06587 100644--- a/packages/twenty-front/src/modules/settings/app-preferences/components/SettingsAppPreferencesMessageChannelDetails.tsx+++ b/packages/twenty-front/src/modules/settings/app-preferences/components/SettingsAppPreferencesMessageChannelDetails.tsx@@ -129,7 +129,7 @@ export const SettingsAppPreferencesMessageChannelDetails = ({title={t`Options`}description={t`Configure what emails should get synced`}/>- <Card.Root rounded>+ <Card.Root><SettingsOptionCardContentSwitchIcon={IconUsers}title={t`Exclude group emails`}diff --git a/packages/twenty-front/src/modules/settings/applications/components/SettingsApplicationOverviewCard.tsx b/packages/twenty-front/src/modules/settings/applications/components/SettingsApplicationOverviewCard.tsxindex 4b38d2e8809..35712cd80b1 100644--- a/packages/twenty-front/src/modules/settings/applications/components/SettingsApplicationOverviewCard.tsx+++ b/packages/twenty-front/src/modules/settings/applications/components/SettingsApplicationOverviewCard.tsx@@ -91,7 +91,6 @@ export const SettingsApplicationOverviewCard = ({}: SettingsApplicationOverviewCardProps) => {return (<StyledCard- roundedfullWidthbackgroundColor={themeCssVariables.background.secondary}>diff --git a/packages/twenty-front/src/modules/settings/components/SettingsCard.tsx b/packages/twenty-front/src/modules/settings/components/SettingsCard.tsxindex 3c8097526e3..6dd39388368 100644--- a/packages/twenty-front/src/modules/settings/components/SettingsCard.tsx+++ b/packages/twenty-front/src/modules/settings/components/SettingsCard.tsx@@ -124,7 +124,7 @@ export const SettingsCard = ({return (<StyledCardWrapper disabled={disabled} className={className}>- <Card.Root rounded={true} fullWidth>+ <Card.Root fullWidth><StyledCardContent render={getContentOwner()}><StyledHeader><StyledIconContainer disabled={disabled} iconColor={iconColor}>diff --git a/packages/twenty-front/src/modules/settings/components/SettingsDiscoveryHeroCard.tsx b/packages/twenty-front/src/modules/settings/components/SettingsDiscoveryHeroCard.tsxindex 008bd8406a8..0d30c1e3d9d 100644--- a/packages/twenty-front/src/modules/settings/components/SettingsDiscoveryHeroCard.tsx+++ b/packages/twenty-front/src/modules/settings/components/SettingsDiscoveryHeroCard.tsx@@ -72,7 +72,7 @@ export const SettingsDiscoveryHeroCard = ({return (<>- <Card.Root rounded>+ <Card.Root><StyledCoverContainer coverHeight={coverHeight}><StyledImage src={src} alt="" aria-hidden />{shouldDisplayVideo && (diff --git a/packages/twenty-front/src/modules/settings/components/SettingsEnterpriseFeatureGateCard.tsx b/packages/twenty-front/src/modules/settings/components/SettingsEnterpriseFeatureGateCard.tsxindex 930b443324f..aefa42627bf 100644--- a/packages/twenty-front/src/modules/settings/components/SettingsEnterpriseFeatureGateCard.tsx+++ b/packages/twenty-front/src/modules/settings/components/SettingsEnterpriseFeatureGateCard.tsx@@ -29,7 +29,7 @@ export const SettingsEnterpriseFeatureGateCard = ({: SettingsPath.AdminPanelOrganization;return (- <Card.Root rounded>+ <Card.Root><SettingsOptionCardContentButtonIcon={IconLock}title={title}diff --git a/packages/twenty-front/src/modules/settings/components/SettingsListCard.tsx b/packages/twenty-front/src/modules/settings/components/SettingsListCard.tsxindex 19ae0dd4c6e..162511c1d97 100644--- a/packages/twenty-front/src/modules/settings/components/SettingsListCard.tsx+++ b/packages/twenty-front/src/modules/settings/components/SettingsListCard.tsx@@ -48,7 +48,6 @@ type SettingsListCardProps<ListItem extends { id: string }> = {footerButtonLabel?: string;onFooterButtonClick?: () => void;to?: (item: ListItem) => string;- rounded?: boolean;};export const SettingsListCard = <@@ -69,14 +68,13 @@ export const SettingsListCard = <onFooterButtonClick,footerButtonLabel,to,- rounded,}: SettingsListCardProps<ListItem>) => {const theme = useTheme();if (isLoading === true) return <SettingsListSkeletonCard />;return (- <Card.Root rounded={rounded}>+ <Card.Root>{items.map((item, index) => (<SettingsListItemCardContentkey={item.id}diff --git a/packages/twenty-front/src/modules/settings/components/SettingsRadioSettingsCard.tsx b/packages/twenty-front/src/modules/settings/components/SettingsRadioSettingsCard.tsxindex b28b393ad21..5562e7cd6d5 100644--- a/packages/twenty-front/src/modules/settings/components/SettingsRadioSettingsCard.tsx+++ b/packages/twenty-front/src/modules/settings/components/SettingsRadioSettingsCard.tsx@@ -90,7 +90,7 @@ export const SettingsRadioSettingsCard = <}}}>- <Card.Root fullWidth rounded>+ <Card.Root fullWidth>{options.map((option, index) => {const isSelected = value === option.value;diff --git a/packages/twenty-front/src/modules/settings/components/SettingsTableCard.tsx b/packages/twenty-front/src/modules/settings/components/SettingsTableCard.tsxindex fa576aef4cd..8780a8384f6 100644--- a/packages/twenty-front/src/modules/settings/components/SettingsTableCard.tsx+++ b/packages/twenty-front/src/modules/settings/components/SettingsTableCard.tsx@@ -16,7 +16,6 @@ export type TableItem = {type SettingsTableCardProps = {items: TableItem[];- rounded?: boolean;gridAutoColumns?: string;labelAlign?: 'left' | 'center' | 'right';valueAlign?: 'left' | 'center' | 'right';@@ -25,7 +24,6 @@ type SettingsTableCardProps = {export const SettingsTableCard = ({items,- rounded = false,gridAutoColumns,labelAlign = 'left',valueAlign = 'left',@@ -34,7 +32,6 @@ export const SettingsTableCard = ({const theme = useTheme();return (<Card.Root- rounded={rounded}className={className}backgroundColor={themeCssVariables.background.secondary}>diff --git a/packages/twenty-front/src/modules/settings/data-model/components/SettingsDataModelPreviewFormCard.tsx b/packages/twenty-front/src/modules/settings/data-model/components/SettingsDataModelPreviewFormCard.tsxindex 50d6c9cf12e..ae559b72219 100644--- a/packages/twenty-front/src/modules/settings/data-model/components/SettingsDataModelPreviewFormCard.tsx+++ b/packages/twenty-front/src/modules/settings/data-model/components/SettingsDataModelPreviewFormCard.tsx@@ -23,7 +23,7 @@ export const SettingsDataModelPreviewFormCard = ({form,isPreviewTitleVisible = true,}: SettingsDataModelPreviewFormCardProps) => (- <Card.Root fullWidth rounded>+ <Card.Root fullWidth><Card.ContentclassName={SETTINGS_DATA_MODEL_PREVIEW_SECTION_CLASS_NAME}divider={isDefined(form)}diff --git a/packages/twenty-front/src/modules/settings/data-model/fields/forms/components/SettingsDataModelFieldIconLabelForm.tsx b/packages/twenty-front/src/modules/settings/data-model/fields/forms/components/SettingsDataModelFieldIconLabelForm.tsxindex 2adf66a971a..b16acddd55f 100644--- a/packages/twenty-front/src/modules/settings/data-model/fields/forms/components/SettingsDataModelFieldIconLabelForm.tsx+++ b/packages/twenty-front/src/modules/settings/data-model/fields/forms/components/SettingsDataModelFieldIconLabelForm.tsx@@ -169,7 +169,7 @@ export const SettingsDataModelFieldIconLabelForm = ({control={control}defaultValue={fieldMetadataItem?.isLabelSyncedWithName ?? true}render={({ field: { onChange, value } }) => (- <Card.Root rounded>+ <Card.Root><SettingsOptionCardContentSwitchIcon={IconRefresh}title={t`Synchronize Field Label and API Name`}diff --git a/packages/twenty-front/src/modules/settings/data-model/object-details/components/tabs/SettingsObjectSearchSection.tsx b/packages/twenty-front/src/modules/settings/data-model/object-details/components/tabs/SettingsObjectSearchSection.tsxindex b970f332970..345668b7401 100644--- a/packages/twenty-front/src/modules/settings/data-model/object-details/components/tabs/SettingsObjectSearchSection.tsx+++ b/packages/twenty-front/src/modules/settings/data-model/object-details/components/tabs/SettingsObjectSearchSection.tsx@@ -184,7 +184,7 @@ export const SettingsObjectSearchSection = ({return (<StyledSearchSectionContent>{!isReadOnly && (- <Card.Root rounded>+ <Card.Root><SettingsOptionCardContentSwitchIcon={IconEye}title={t`Global search`}diff --git a/packages/twenty-front/src/modules/settings/data-model/objects/forms/components/SettingsDataModelObjectAboutForm.tsx b/packages/twenty-front/src/modules/settings/data-model/objects/forms/components/SettingsDataModelObjectAboutForm.tsxindex cd0e56324d4..14c9887901d 100644--- a/packages/twenty-front/src/modules/settings/data-model/objects/forms/components/SettingsDataModelObjectAboutForm.tsx+++ b/packages/twenty-front/src/modules/settings/data-model/objects/forms/components/SettingsDataModelObjectAboutForm.tsx@@ -269,7 +269,7 @@ export const SettingsDataModelObjectAboutForm = ({control={control}defaultValue={objectMetadataItem?.isLabelSyncedWithName}render={({ field: { onChange, value } }) => (- <Card.Root rounded>+ <Card.Root><SettingsOptionCardContentSwitchIcon={IconRefresh}title={t`Synchronize Objects Labels and API Names`}@@ -359,7 +359,7 @@ export const SettingsDataModelObjectAboutForm = ({control={control}defaultValue={false}render={({ field: { onChange, value } }) => (- <Card.Root rounded>+ <Card.Root><SettingsOptionCardContentSwitchIcon={IconLink}title={t`Skip creating a Name field `}diff --git a/packages/twenty-front/src/modules/settings/emailing-domains/components/SettingsEmailingDomainDnsRecords.tsx b/packages/twenty-front/src/modules/settings/emailing-domains/components/SettingsEmailingDomainDnsRecords.tsxindex 087a4201975..be27a908701 100644--- a/packages/twenty-front/src/modules/settings/emailing-domains/components/SettingsEmailingDomainDnsRecords.tsx+++ b/packages/twenty-front/src/modules/settings/emailing-domains/components/SettingsEmailingDomainDnsRecords.tsx@@ -76,7 +76,6 @@ export const SettingsEmailingDomainDnsRecords = ({<><SettingsListCarditems={groups}- roundedgetItemLabel={(group) => group.title}RowIconFn={(group) => group.Icon}RowRightComponent={({ item: group }) => (diff --git a/packages/twenty-front/src/modules/settings/event-logs/components/SettingsLogs.tsx b/packages/twenty-front/src/modules/settings/event-logs/components/SettingsLogs.tsxindex 41fb37e43e8..8e1713936ca 100644--- a/packages/twenty-front/src/modules/settings/event-logs/components/SettingsLogs.tsx+++ b/packages/twenty-front/src/modules/settings/event-logs/components/SettingsLogs.tsx@@ -166,7 +166,7 @@ export const SettingsLogs = () => {};const renderUpgradeCard = () => (- <Card.Root rounded backgroundColor={themeCssVariables.background.secondary}>+ <Card.Root backgroundColor={themeCssVariables.background.secondary}><SettingsOptionCardContentButtonIcon={IconLock}title={t`Upgrade to access audit logs`}@@ -234,7 +234,6 @@ export const SettingsLogs = () => {return (<StyledRoot><Card.Root- roundedfullWidthbackgroundColor={themeCssVariables.background.secondary}>diff --git a/packages/twenty-front/src/modules/settings/event-logs/components/SettingsOpenLogConsoleCard.tsx b/packages/twenty-front/src/modules/settings/event-logs/components/SettingsOpenLogConsoleCard.tsxindex a60a237324d..def17ddc494 100644--- a/packages/twenty-front/src/modules/settings/event-logs/components/SettingsOpenLogConsoleCard.tsx+++ b/packages/twenty-front/src/modules/settings/event-logs/components/SettingsOpenLogConsoleCard.tsx@@ -31,7 +31,7 @@ export const SettingsOpenLogConsoleCard = () => {};return (- <Card.Root rounded>+ <Card.Root><SettingsOptionCardContentButtonIcon={IconHistory}title={t`Log console`}diff --git a/packages/twenty-front/src/modules/settings/lab/components/SettingsLabContent.tsx b/packages/twenty-front/src/modules/settings/lab/components/SettingsLabContent.tsxindex b4271773133..d55c617dcfc 100644--- a/packages/twenty-front/src/modules/settings/lab/components/SettingsLabContent.tsx+++ b/packages/twenty-front/src/modules/settings/lab/components/SettingsLabContent.tsx@@ -54,7 +54,6 @@ export const SettingsLabContent = () => {{labPublicFeatureFlagsWithImage.map((flag) => (<Card.Rootkey={flag.key}- roundedbackgroundColor={themeCssVariables.background.secondary}>{!hasImageLoadingError[flag.key] && (@@ -75,10 +74,7 @@ export const SettingsLabContent = () => {))}{labPublicFeatureFlagsWithoutImage.length > 0 && (- <Card.Root- rounded- backgroundColor={themeCssVariables.background.secondary}- >+ <Card.Root backgroundColor={themeCssVariables.background.secondary}>{labPublicFeatureFlagsWithoutImage.map((flag, index) => (<SettingsOptionCardContentSwitchkey={flag.key}diff --git a/packages/twenty-front/src/modules/settings/logic-functions/components/SettingsLogicFunctionNewForm.tsx b/packages/twenty-front/src/modules/settings/logic-functions/components/SettingsLogicFunctionNewForm.tsxindex eeea4229153..72052262b4a 100644--- a/packages/twenty-front/src/modules/settings/logic-functions/components/SettingsLogicFunctionNewForm.tsx+++ b/packages/twenty-front/src/modules/settings/logic-functions/components/SettingsLogicFunctionNewForm.tsx@@ -54,7 +54,7 @@ export const SettingsLogicFunctionNewForm = ({onChange={onChange('description')}readOnly={readonly}/>- <Card.Root rounded>+ <Card.Root><SettingsOptionCardContentCounterIcon={IconClockHour8}title={t`Timeout`}diff --git a/packages/twenty-front/src/modules/settings/mcp/components/SettingsMcpSetupCard.tsx b/packages/twenty-front/src/modules/settings/mcp/components/SettingsMcpSetupCard.tsxindex 839de054f70..12de9a8b684 100644--- a/packages/twenty-front/src/modules/settings/mcp/components/SettingsMcpSetupCard.tsx+++ b/packages/twenty-front/src/modules/settings/mcp/components/SettingsMcpSetupCard.tsx@@ -145,7 +145,7 @@ type SettingsMcpSetupCardProps = {};export const SettingsMcpSetupCard = ({ card }: SettingsMcpSetupCardProps) => (- <Card.Root rounded>+ <Card.Root><StyledCardContent><StyledLogo aria-hidden>{card.logo}</StyledLogo><StyledBody>diff --git a/packages/twenty-front/src/modules/settings/roles/components/SettingsRolesDefaultRole.tsx b/packages/twenty-front/src/modules/settings/roles/components/SettingsRolesDefaultRole.tsxindex 4274bf0e13f..86aecce1982 100644--- a/packages/twenty-front/src/modules/settings/roles/components/SettingsRolesDefaultRole.tsx+++ b/packages/twenty-front/src/modules/settings/roles/components/SettingsRolesDefaultRole.tsx@@ -75,7 +75,7 @@ export const SettingsRoleDefaultRole = ({title={t`Default Role`}description={t`Assigned to users who join via invite link, approved domain, or SSO, and used as fallback when an assigned role is deleted`}/>- <Card.Root rounded>+ <Card.Root><SettingsOptionCardContentSelectIcon={IconUserPin}title={t`Default Role`}diff --git a/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/record-level-permissions/components/SettingsRolePermissionsObjectLevelRecordLevelSection.tsx b/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/record-level-permissions/components/SettingsRolePermissionsObjectLevelRecordLevelSection.tsxindex 42aa0350e8b..c72882cb066 100644--- a/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/record-level-permissions/components/SettingsRolePermissionsObjectLevelRecordLevelSection.tsx+++ b/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/record-level-permissions/components/SettingsRolePermissionsObjectLevelRecordLevelSection.tsx@@ -50,7 +50,7 @@ export const SettingsRolePermissionsObjectLevelRecordLevelSection = ({actions={<OrganizationAdornment />}/><StyledCardContainer>- <Card.Root rounded>+ <Card.Root><SettingsOptionCardContentButtonIcon={IconLock}title={t`Upgrade to access`}diff --git a/packages/twenty-front/src/modules/settings/roles/role-permissions/permission-flags/components/SettingsRolePermissionsSettingsSection.tsx b/packages/twenty-front/src/modules/settings/roles/role-permissions/permission-flags/components/SettingsRolePermissionsSettingsSection.tsxindex 3d4a3baaf08..874e3bc0a79 100644--- a/packages/twenty-front/src/modules/settings/roles/role-permissions/permission-flags/components/SettingsRolePermissionsSettingsSection.tsx+++ b/packages/twenty-front/src/modules/settings/roles/role-permissions/permission-flags/components/SettingsRolePermissionsSettingsSection.tsx@@ -69,7 +69,7 @@ export const SettingsRolePermissionsSettingsSection = ({<Section.Header title={t`Layout`} description={t`Layout permissions`} />{shouldShowAllAccessToggle && (<StyledCardContainer>- <Card.Root rounded>+ <Card.Root><SettingsOptionCardContentSwitchIcon={IconSettings}title={t`Layout All Access`}diff --git a/packages/twenty-front/src/modules/settings/roles/role-permissions/permission-flags/components/SettingsRolePermissionsToolSection.tsx b/packages/twenty-front/src/modules/settings/roles/role-permissions/permission-flags/components/SettingsRolePermissionsToolSection.tsxindex caf3fb81741..2f91966fa6c 100644--- a/packages/twenty-front/src/modules/settings/roles/role-permissions/permission-flags/components/SettingsRolePermissionsToolSection.tsx+++ b/packages/twenty-front/src/modules/settings/roles/role-permissions/permission-flags/components/SettingsRolePermissionsToolSection.tsx@@ -68,7 +68,7 @@ export const SettingsRolePermissionsToolSection = ({<Section.Header title={t`Logic`} description={t`Logic permissions`} />{shouldShowAllAccessToggle && (<StyledCardContainer>- <Card.Root rounded>+ <Card.Root><SettingsOptionCardContentSwitchIcon={IconTool}title={t`Logic All Access`}diff --git a/packages/twenty-front/src/modules/settings/security/components/SettingsSecurityAuthBypassOptionsList.tsx b/packages/twenty-front/src/modules/settings/security/components/SettingsSecurityAuthBypassOptionsList.tsxindex d658391cb41..88aa4e8a385 100644--- a/packages/twenty-front/src/modules/settings/security/components/SettingsSecurityAuthBypassOptionsList.tsx+++ b/packages/twenty-front/src/modules/settings/security/components/SettingsSecurityAuthBypassOptionsList.tsx@@ -82,7 +82,7 @@ export const SettingsSecurityAuthBypassOptionsList = () => {return (<StyledSettingsSecurityOptionsList>- <Card.Root rounded>+ <Card.Root>{authProviders.google === true && (<SettingsOptionCardContentSwitchIcon={IconGoogle}diff --git a/packages/twenty-front/src/modules/settings/security/components/SettingsSecurityAuthProvidersOptionsList.tsx b/packages/twenty-front/src/modules/settings/security/components/SettingsSecurityAuthProvidersOptionsList.tsxindex 76230ce3484..b257a8f4c01 100644--- a/packages/twenty-front/src/modules/settings/security/components/SettingsSecurityAuthProvidersOptionsList.tsx+++ b/packages/twenty-front/src/modules/settings/security/components/SettingsSecurityAuthProvidersOptionsList.tsx@@ -197,7 +197,7 @@ export const SettingsSecurityAuthProvidersOptionsList = () => {<StyledSettingsSecurityOptionsList>{currentWorkspace && (<>- <Card.Root rounded>+ <Card.Root>{authProviders.google === true && (<SettingsOptionCardContentSwitchIcon={IconGoogle}@@ -232,7 +232,7 @@ export const SettingsSecurityAuthProvidersOptionsList = () => {/>)}</Card.Root>- <Card.Root rounded>+ <Card.Root><SettingsOptionCardContentSwitchIcon={IconLink}title={t`Invite by Link`}diff --git a/packages/twenty-front/src/modules/settings/security/components/SettingsSecuritySettings.tsx b/packages/twenty-front/src/modules/settings/security/components/SettingsSecuritySettings.tsxindex 2c34699c7c1..d1928acc48f 100644--- a/packages/twenty-front/src/modules/settings/security/components/SettingsSecuritySettings.tsx+++ b/packages/twenty-front/src/modules/settings/security/components/SettingsSecuritySettings.tsx@@ -228,7 +228,7 @@ export const SettingsSecuritySettings = () => {actions={<OrganizationAdornment />}/>{hasAuditLogsEntitlement ? (- <Card.Root rounded>+ <Card.Root>{isEventLogsEnabled ? (<SettingsOptionCardContentCounterIcon={IconClockHour8}@@ -264,7 +264,7 @@ export const SettingsSecuritySettings = () => {title={t`Other`}description={t`Other security settings`}/>- <Card.Root rounded>+ <Card.Root><SettingsOptionCardContentCounterIcon={IconTrash}title={t`Erasure of soft-deleted records`}diff --git a/packages/twenty-front/src/modules/settings/unsubscribers/components/SettingsUnsubscribePreview.tsx b/packages/twenty-front/src/modules/settings/unsubscribers/components/SettingsUnsubscribePreview.tsxindex 3ecc154a08b..2ac4b944cbf 100644--- a/packages/twenty-front/src/modules/settings/unsubscribers/components/SettingsUnsubscribePreview.tsx+++ b/packages/twenty-front/src/modules/settings/unsubscribers/components/SettingsUnsubscribePreview.tsx@@ -90,7 +90,6 @@ export const SettingsUnsubscribePreview = () => {<StyledViewport>{!loading && (<StyledCard- roundedfullWidthbackgroundColor={themeCssVariables.background.primary}>diff --git a/packages/twenty-front/src/modules/settings/workspace/components/ClickTrackingSwitch.tsx b/packages/twenty-front/src/modules/settings/workspace/components/ClickTrackingSwitch.tsxindex fc1e87f634c..dc906adc4c8 100644--- a/packages/twenty-front/src/modules/settings/workspace/components/ClickTrackingSwitch.tsx+++ b/packages/twenty-front/src/modules/settings/workspace/components/ClickTrackingSwitch.tsx@@ -47,7 +47,7 @@ export const ClickTrackingSwitch = () => {return (<>{currentWorkspace ? (- <Card.Root rounded>+ <Card.Root><SettingsOptionCardContentSwitchIcon={IconClick}title={t`Track link clicks`}diff --git a/packages/twenty-front/src/modules/settings/workspace/components/ImpersonationSwitch.tsx b/packages/twenty-front/src/modules/settings/workspace/components/ImpersonationSwitch.tsxindex 99ff6172a5a..c26e11731cf 100644--- a/packages/twenty-front/src/modules/settings/workspace/components/ImpersonationSwitch.tsx+++ b/packages/twenty-front/src/modules/settings/workspace/components/ImpersonationSwitch.tsx@@ -43,7 +43,7 @@ export const ImpersonationSwitch = () => {};return (- <Card.Root rounded>+ <Card.Root><SettingsOptionCardContentSwitchIcon={IconLifebuoy}title={t`Allow Support Team Access`}diff --git a/packages/twenty-front/src/modules/settings/workspace/components/OpenTrackingSwitch.tsx b/packages/twenty-front/src/modules/settings/workspace/components/OpenTrackingSwitch.tsxindex c91c3683965..e5b907ab5ad 100644--- a/packages/twenty-front/src/modules/settings/workspace/components/OpenTrackingSwitch.tsx+++ b/packages/twenty-front/src/modules/settings/workspace/components/OpenTrackingSwitch.tsx@@ -47,7 +47,7 @@ export const OpenTrackingSwitch = () => {return (<>{currentWorkspace ? (- <Card.Root rounded>+ <Card.Root><SettingsOptionCardContentSwitchIcon={IconEye}title={t`Track opens`}diff --git a/packages/twenty-front/src/modules/settings/workspace/components/SettingsWorkspaceEmailSyncSection.tsx b/packages/twenty-front/src/modules/settings/workspace/components/SettingsWorkspaceEmailSyncSection.tsxindex ecddd85c687..c1b9e2b2507 100644--- a/packages/twenty-front/src/modules/settings/workspace/components/SettingsWorkspaceEmailSyncSection.tsx+++ b/packages/twenty-front/src/modules/settings/workspace/components/SettingsWorkspaceEmailSyncSection.tsx@@ -51,7 +51,7 @@ export const SettingsWorkspaceEmailSyncSection = () => {title={t`Sync`}description={t`Control what the workspace imports from connected mailboxes and calendars`}/>- <Card.Root rounded>+ <Card.Root><SettingsOptionCardContentSwitchIcon={IconMail}title={t`Sync Internal Emails`}diff --git a/packages/twenty-front/src/modules/side-panel/pages/send-campaign/components/SendCampaignRecipientsCard.tsx b/packages/twenty-front/src/modules/side-panel/pages/send-campaign/components/SendCampaignRecipientsCard.tsxindex 5e41958267b..791b70c41fc 100644--- a/packages/twenty-front/src/modules/side-panel/pages/send-campaign/components/SendCampaignRecipientsCard.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/send-campaign/components/SendCampaignRecipientsCard.tsx@@ -72,7 +72,7 @@ export const SendCampaignRecipientsCard = ({].filter(({ count }) => count > 0);return (- <Card.Root rounded fullWidth>+ <Card.Root fullWidth><SettingsListItemCardContentLeftIcon={IconUsersGroup}label={isNonEmptyString(listName) ? t`In ${listName}` : t`In the list`}diff --git a/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminAiProviderDetail.tsx b/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminAiProviderDetail.tsxindex 30efef08017..60ec6031f81 100644--- a/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminAiProviderDetail.tsx+++ b/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminAiProviderDetail.tsx@@ -327,7 +327,6 @@ export const SettingsAdminAiProviderDetail = () => {{provider && (<SettingsTableCard- roundeditems={providerInfoItems}gridAutoColumns="120px 1fr"/>diff --git a/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminApplicationRegistrationGeneralSwitches.tsx b/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminApplicationRegistrationGeneralSwitches.tsxindex 30143887997..83a946697df 100644--- a/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminApplicationRegistrationGeneralSwitches.tsx+++ b/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminApplicationRegistrationGeneralSwitches.tsx@@ -33,7 +33,7 @@ export const SettingsAdminApplicationRegistrationGeneralSwitches = ({<Section.Root><Section.Header title={t`Installation`} /><StyledSwitchContainer>- <Card.Root rounded fullWidth>+ <Card.Root fullWidth><SettingsOptionCardContentSwitchIcon={IconArrowBarToDown}title={t`Allow installation`}@@ -51,7 +51,7 @@ export const SettingsAdminApplicationRegistrationGeneralSwitches = ({}/></Card.Root>- <Card.Root rounded fullWidth>+ <Card.Root fullWidth><SettingsOptionCardContentSwitchIcon={IconShield}title={t`Vetted`}@@ -69,7 +69,7 @@ export const SettingsAdminApplicationRegistrationGeneralSwitches = ({}/></Card.Root>- <Card.Root rounded fullWidth>+ <Card.Root fullWidth><SettingsOptionCardContentSwitchIcon={IconPinned}title={t`Pre-install on new workspaces`}diff --git a/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminUserDetail.tsx b/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminUserDetail.tsxindex cbd8eff2f6b..0570a8fa94e 100644--- a/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminUserDetail.tsx+++ b/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminUserDetail.tsx@@ -227,7 +227,6 @@ export const SettingsAdminUserDetail = () => {/><SettingsTableCarditems={userInfoItems}- roundedgridAutoColumns="1fr 4fr"/></Section.Root>diff --git a/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminWorkspaceDetail.tsx b/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminWorkspaceDetail.tsxindex 1e39379cdba..baca3482773 100644--- a/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminWorkspaceDetail.tsx+++ b/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminWorkspaceDetail.tsx@@ -451,7 +451,7 @@ export const SettingsAdminWorkspaceDetail = () => {{isLoadingThreads ? (<SettingsSectionSkeletonLoader />) : threads.length === 0 ? (- <Card.Root rounded>+ <Card.Root><TableRow gridTemplateColumns="1fr"><TableCellcolor={themeCssVariables.font.color.tertiary}diff --git a/packages/twenty-front/src/pages/settings/ai/components/SettingsAiModelsTab.tsx b/packages/twenty-front/src/pages/settings/ai/components/SettingsAiModelsTab.tsxindex bd84526c460..df791e30468 100644--- a/packages/twenty-front/src/pages/settings/ai/components/SettingsAiModelsTab.tsx+++ b/packages/twenty-front/src/pages/settings/ai/components/SettingsAiModelsTab.tsx@@ -55,10 +55,7 @@ export const SettingsAiModelsTab = () => {title={t`Models`}description={t`Choose the default modes for people and agents`}/>- <Card.Root- rounded- backgroundColor={themeCssVariables.background.secondary}- >+ <Card.Root backgroundColor={themeCssVariables.background.secondary}><StyledSettingsSelectGroup controlWidth={160}><SettingsOptionCardContentSelectIcon={IconMessage}diff --git a/packages/twenty-front/src/pages/settings/ai/components/SettingsSkillFormContent.tsx b/packages/twenty-front/src/pages/settings/ai/components/SettingsSkillFormContent.tsxindex 1925b3ac6ea..d597d8bfb80 100644--- a/packages/twenty-front/src/pages/settings/ai/components/SettingsSkillFormContent.tsx+++ b/packages/twenty-front/src/pages/settings/ai/components/SettingsSkillFormContent.tsx@@ -207,7 +207,7 @@ export const SettingsSkillFormContent = ({{!isReadonlyMode && (<div>- <Card.Root rounded>+ <Card.Root><SettingsOptionCardContentSwitchIcon={IconRefresh}title={t`Synchronize Label and API Name`}diff --git a/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationRegistrationGeneralInfo.tsx b/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationRegistrationGeneralInfo.tsxindex 85d6bfd6748..f4cb8898817 100644--- a/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationRegistrationGeneralInfo.tsx+++ b/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationRegistrationGeneralInfo.tsx@@ -214,11 +214,7 @@ export const SettingsApplicationRegistrationGeneralInfo = ({<Section.Root><Section.Header title={t`General`} description={t`About your app`} /><StyledGeneralContainer>- <SettingsTableCard- rounded- items={generateItems()}- gridAutoColumns="3fr 8fr"- />+ <SettingsTableCard items={generateItems()} gridAutoColumns="3fr 8fr" /><SettingsApplicationRegistrationShareLinkButtonsshareLink={shareLink}isInstalled={isApplicationInstalled}diff --git a/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationRegistrationInstallStats.tsx b/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationRegistrationInstallStats.tsxindex 86ec20f0a28..fd98bde5a53 100644--- a/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationRegistrationInstallStats.tsx+++ b/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationRegistrationInstallStats.tsx@@ -142,7 +142,6 @@ export const SettingsApplicationRegistrationInstallStats = ({<StyledStats><div role="group" aria-label={t`Install statistics`}><SettingsTableCard- roundeditems={statsItems}gridAutoColumns="minmax(0, 200px) minmax(0, 1fr)"/>@@ -162,7 +161,6 @@ export const SettingsApplicationRegistrationInstallStats = ({}/><SettingsTableCard- roundeditems={creditsUsedItems}gridAutoColumns="minmax(0, 200px) minmax(0, 1fr)"/>diff --git a/packages/twenty-front/src/pages/settings/applications/components/SettingsAvailableApplicationCard.tsx b/packages/twenty-front/src/pages/settings/applications/components/SettingsAvailableApplicationCard.tsxindex d5ced4f03c9..b06e5a544a6 100644--- a/packages/twenty-front/src/pages/settings/applications/components/SettingsAvailableApplicationCard.tsx+++ b/packages/twenty-front/src/pages/settings/applications/components/SettingsAvailableApplicationCard.tsx@@ -69,7 +69,6 @@ export const SettingsAvailableApplicationCard = ({return (<Card.Root- roundedfullWidthrender={<Linkdiff --git a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationAutoUpdateSection.tsx b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationAutoUpdateSection.tsxindex cbb64261974..74bea214485 100644--- a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationAutoUpdateSection.tsx+++ b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationAutoUpdateSection.tsx@@ -38,7 +38,7 @@ export const SettingsApplicationAutoUpdateSection = ({return (<Section.Root><Section.Header title={t`Auto update`} />- <Card.Root rounded fullWidth>+ <Card.Root fullWidth><SettingsOptionCardContentSwitchIcon={IconRefresh}title={t`Auto-upgrade`}diff --git a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationRegistrationOAuthTab.tsx b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationRegistrationOAuthTab.tsxindex 133b8cd0675..029822237f0 100644--- a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationRegistrationOAuthTab.tsx+++ b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationRegistrationOAuthTab.tsx@@ -134,11 +134,7 @@ export const SettingsApplicationRegistrationOAuthTab = ({title={t`OAuth`}description={t`Credentials and scopes for OAuth authorization flows`}/>- <SettingsTableCard- rounded- items={credentialItems}- gridAutoColumns="3fr 8fr"- />+ <SettingsTableCard items={credentialItems} gridAutoColumns="3fr 8fr" /><StyledRotateContainer><ButtonstartIcon={<IconRefresh />}diff --git a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationTimelineActivityTypeSettingsTab.tsx b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationTimelineActivityTypeSettingsTab.tsxindex a6ca5cd64ff..ff3ca5e6fad 100644--- a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationTimelineActivityTypeSettingsTab.tsx+++ b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationTimelineActivityTypeSettingsTab.tsx@@ -116,7 +116,7 @@ export const SettingsApplicationTimelineActivityTypeSettingsTab = ({title={t`Activity visibility`}description={t`Choose whether this activity type appears in record timelines`}/>- <Card.Root rounded fullWidth>+ <Card.Root fullWidth><SettingsOptionCardContentSwitchIcon={IconTimelineEvent}title={t`Active`}diff --git a/packages/twenty-front/src/pages/settings/communications/SettingsWorkspaceNewUnsubscribeTopic.tsx b/packages/twenty-front/src/pages/settings/communications/SettingsWorkspaceNewUnsubscribeTopic.tsxindex 9f62f9e55a9..019ce72a82a 100644--- a/packages/twenty-front/src/pages/settings/communications/SettingsWorkspaceNewUnsubscribeTopic.tsx+++ b/packages/twenty-front/src/pages/settings/communications/SettingsWorkspaceNewUnsubscribeTopic.tsx@@ -152,7 +152,7 @@ export const SettingsWorkspaceNewUnsubscribeTopic = () => {title={t`Visibility`}description={t`Control whether recipients can find and manage this topic.`}/>- <Card.Root rounded>+ <Card.Root><SettingsOptionCardContentSwitchIcon={IconEye}title={t`Listed on the unsubscribe page`}diff --git a/packages/twenty-front/src/pages/settings/communications/SettingsWorkspaceUnsubscribeTopicDetail.tsx b/packages/twenty-front/src/pages/settings/communications/SettingsWorkspaceUnsubscribeTopicDetail.tsxindex a90e10422ed..43b69a3c0e8 100644--- a/packages/twenty-front/src/pages/settings/communications/SettingsWorkspaceUnsubscribeTopicDetail.tsx+++ b/packages/twenty-front/src/pages/settings/communications/SettingsWorkspaceUnsubscribeTopicDetail.tsx@@ -189,7 +189,7 @@ export const SettingsWorkspaceUnsubscribeTopicDetail = () => {title={t`Visibility`}description={t`Control whether recipients can find and manage this topic.`}/>- <Card.Root rounded>+ <Card.Root><SettingsOptionCardContentSwitchIcon={IconEye}title={t`Listed on the unsubscribe page`}diff --git a/packages/twenty-ui/docs/cardPropDescriptions.ts b/packages/twenty-ui/docs/cardPropDescriptions.tsindex 875a4971e89..d23ce71599c 100644--- a/packages/twenty-ui/docs/cardPropDescriptions.ts+++ b/packages/twenty-ui/docs/cardPropDescriptions.ts@@ -3,7 +3,6 @@ import { type CardRootProps } from '../src/primitives/surfaces/Card/types/CardRoexport const CARD_PROP_DESCRIPTIONS = {children: 'Card sections or other content.',fullWidth: 'Sets the card width to 100% of its container.',- rounded: 'Cards already use the same rounded corners when omitted.',backgroundColor:'CSS background color of the outer card. Child sections have their own backgrounds.',className: 'CSS class merged with the part class.',diff --git a/packages/twenty-ui/generated/components.docs.json b/packages/twenty-ui/generated/components.docs.jsonindex 1428edd41fd..8bd56fbfade 100644--- a/packages/twenty-ui/generated/components.docs.json+++ b/packages/twenty-ui/generated/components.docs.json@@ -8079,13 +8079,6 @@"defaultValue": null,"description": "Element or render callback composed through Base UI useRender. Supply native button or link attributes on the rendered owner."},- {- "name": "rounded",- "type": "boolean",- "required": false,- "defaultValue": null,- "description": "Cards already use the same rounded corners when omitted."- },{"name": "style","type": "CSSProperties",diff --git a/packages/twenty-ui/src/primitives/surfaces/Card/Card.module.scss b/packages/twenty-ui/src/primitives/surfaces/Card/Card.module.scssindex 79b55b0269a..7f2cf10b550 100644--- a/packages/twenty-ui/src/primitives/surfaces/Card/Card.module.scss+++ b/packages/twenty-ui/src/primitives/surfaces/Card/Card.module.scss@@ -14,10 +14,6 @@overflow: hidden;width: auto;- &[data-rounded] {- border-radius: var(--t-border-radius-md);- }-&[data-full-width] {width: 100%;}diff --git a/packages/twenty-ui/src/primitives/surfaces/Card/__tests__/Card.test.tsx b/packages/twenty-ui/src/primitives/surfaces/Card/__tests__/Card.test.tsxindex d356dc3e221..5f150614d08 100644--- a/packages/twenty-ui/src/primitives/surfaces/Card/__tests__/Card.test.tsx+++ b/packages/twenty-ui/src/primitives/surfaces/Card/__tests__/Card.test.tsx@@ -81,7 +81,6 @@ describe('Card rendering', () => {render(<Card.RootfullWidth- roundedbackgroundColor="rebeccapurple"style={{ marginTop: 7 }}>@@ -92,7 +91,6 @@ describe('Card rendering', () => {const root = screen.getByText('Import summary');expect(root).toHaveAttribute('data-full-width', 'true');- expect(root).toHaveAttribute('data-rounded', 'true');expect(root).toHaveStyle({ marginTop: '7px' });expect(root.style.getPropertyValue('--card-background-color')).toBe('rebeccapurple',@@ -120,7 +118,6 @@ describe('Card rendering', () => {'Import actions',]);expect(root).not.toHaveAttribute('data-full-width');- expect(root).not.toHaveAttribute('data-rounded');expect(screen.getByText('Ready records')).toHaveAttribute('data-divider','true',diff --git a/packages/twenty-ui/src/primitives/surfaces/Card/internal/CardRoot.tsx b/packages/twenty-ui/src/primitives/surfaces/Card/internal/CardRoot.tsxindex 42c5cdbbc75..99d02cc5a58 100644--- a/packages/twenty-ui/src/primitives/surfaces/Card/internal/CardRoot.tsx+++ b/packages/twenty-ui/src/primitives/surfaces/Card/internal/CardRoot.tsx@@ -11,7 +11,6 @@ import styles from '../Card.module.scss';export const CardRoot = ({className,fullWidth,- rounded,backgroundColor,style,render,@@ -25,7 +24,6 @@ export const CardRoot = ({...props,className: clsx(styles.card, className),'data-full-width': fullWidth || undefined,- 'data-rounded': rounded || undefined,style: isDefined(backgroundColor)? ({...style,diff --git a/packages/twenty-ui/src/primitives/surfaces/Card/types/CardRootProps.ts b/packages/twenty-ui/src/primitives/surfaces/Card/types/CardRootProps.tsindex 0ec20c0ae24..34858dde37e 100644--- a/packages/twenty-ui/src/primitives/surfaces/Card/types/CardRootProps.ts+++ b/packages/twenty-ui/src/primitives/surfaces/Card/types/CardRootProps.ts@@ -2,6 +2,5 @@ import { type useRender } from '@base-ui/react/use-render';export type CardRootProps = useRender.ComponentProps<'div'> & {fullWidth?: boolean;- rounded?: boolean;backgroundColor?: string;};