The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Migrate to twenty-ui - layout/section (#8068)
gitstart-app[bot]fa0933b2928d
diff --git a/packages/twenty-front/src/modules/activities/calendar/components/Calendar.tsx b/packages/twenty-front/src/modules/activities/calendar/components/Calendar.tsxindex b8da221c6ad..29beb122581 100644--- a/packages/twenty-front/src/modules/activities/calendar/components/Calendar.tsx+++ b/packages/twenty-front/src/modules/activities/calendar/components/Calendar.tsx@@ -8,6 +8,7 @@ import {AnimatedPlaceholderEmptyTitle,EMPTY_PLACEHOLDER_TRANSITION_PROPS,H3Title,+ Section,} from 'twenty-ui';import { CalendarMonthCard } from '@/activities/calendar/components/CalendarMonthCard';@@ -21,7 +22,6 @@ import { SkeletonLoader } from '@/activities/components/SkeletonLoader';import { useCustomResolver } from '@/activities/hooks/useCustomResolver';import { ActivityTargetableObject } from '@/activities/types/ActivityTargetableEntity';import { CoreObjectNameSingular } from '@/object-metadata/types/CoreObjectNameSingular';-import { Section } from '@/ui/layout/section/components/Section';import { TimelineCalendarEventsWithTotal } from '~/generated/graphql';const StyledContainer = styled.div`diff --git a/packages/twenty-front/src/modules/activities/emails/components/EmailThreads.tsx b/packages/twenty-front/src/modules/activities/emails/components/EmailThreads.tsxindex f8c9b317f62..38f150dcc30 100644--- a/packages/twenty-front/src/modules/activities/emails/components/EmailThreads.tsx+++ b/packages/twenty-front/src/modules/activities/emails/components/EmailThreads.tsx@@ -8,6 +8,7 @@ import {EMPTY_PLACEHOLDER_TRANSITION_PROPS,H1Title,H1TitleFontColor,+ Section,} from 'twenty-ui';import { ActivityList } from '@/activities/components/ActivityList';@@ -20,7 +21,6 @@ import { getTimelineThreadsFromPersonId } from '@/activities/emails/graphql/querimport { useCustomResolver } from '@/activities/hooks/useCustomResolver';import { ActivityTargetableObject } from '@/activities/types/ActivityTargetableEntity';import { CoreObjectNameSingular } from '@/object-metadata/types/CoreObjectNameSingular';-import { Section } from '@/ui/layout/section/components/Section';import { TimelineThread, TimelineThreadsWithTotal } from '~/generated/graphql';const StyledContainer = styled.div`diff --git a/packages/twenty-front/src/modules/object-record/record-show/record-detail-section/components/RecordDetailSection.tsx b/packages/twenty-front/src/modules/object-record/record-show/record-detail-section/components/RecordDetailSection.tsxindex 9d1e29b10e5..5350fe09f3f 100644--- a/packages/twenty-front/src/modules/object-record/record-show/record-detail-section/components/RecordDetailSection.tsx+++ b/packages/twenty-front/src/modules/object-record/record-show/record-detail-section/components/RecordDetailSection.tsx@@ -1,6 +1,6 @@import styled from '@emotion/styled';-import { Section } from '@/ui/layout/section/components/Section';+import { Section } from 'twenty-ui';const StyledRecordDetailSection = styled(Section)`border-top: 1px solid ${({ theme }) => theme.border.color.light};diff --git a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsBlocklistSection.tsx b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsBlocklistSection.tsxindex 51ff642b1b3..259b3f87ae2 100644--- a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsBlocklistSection.tsx+++ b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsBlocklistSection.tsx@@ -1,5 +1,5 @@import { useRecoilValue } from 'recoil';-import { H2Title } from 'twenty-ui';+import { H2Title, Section } from 'twenty-ui';import { BlocklistItem } from '@/accounts/types/BlocklistItem';import { currentWorkspaceMemberState } from '@/auth/states/currentWorkspaceMemberState';@@ -9,7 +9,6 @@ import { useDeleteOneRecord } from '@/object-record/hooks/useDeleteOneRecord';import { useFindManyRecords } from '@/object-record/hooks/useFindManyRecords';import { SettingsAccountsBlocklistInput } from '@/settings/accounts/components/SettingsAccountsBlocklistInput';import { SettingsAccountsBlocklistTable } from '@/settings/accounts/components/SettingsAccountsBlocklistTable';-import { Section } from '@/ui/layout/section/components/Section';export const SettingsAccountsBlocklistSection = () => {const currentWorkspaceMember = useRecoilValue(currentWorkspaceMemberState);diff --git a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsMessageChannelDetails.tsx b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsMessageChannelDetails.tsxindex 3d4c81d0ede..1c9bb6821ef 100644--- a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsMessageChannelDetails.tsx+++ b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsMessageChannelDetails.tsx@@ -1,5 +1,5 @@import styled from '@emotion/styled';-import { H2Title, Toggle, Card } from 'twenty-ui';+import { Card, H2Title, Section, Toggle } from 'twenty-ui';import {MessageChannel,@@ -10,7 +10,6 @@ import { useUpdateOneRecord } from '@/object-record/hooks/useUpdateOneRecord';import { SettingsAccountsMessageAutoCreationCard } from '@/settings/accounts/components/SettingsAccountsMessageAutoCreationCard';import { SettingsAccountsMessageVisibilityCard } from '@/settings/accounts/components/SettingsAccountsMessageVisibilityCard';import { SettingsOptionCardContent } from '@/settings/components/SettingsOptionCardContent';-import { Section } from '@/ui/layout/section/components/Section';import { MessageChannelVisibility } from '~/generated-metadata/graphql';type SettingsAccountsMessageChannelDetailsProps = {diff --git a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsSettingsSection.tsx b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsSettingsSection.tsxindex 5c10785d107..d709d97fc96 100644--- a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsSettingsSection.tsx+++ b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsSettingsSection.tsx@@ -4,13 +4,13 @@ import {IconCalendarEvent,IconMailCog,MOBILE_VIEWPORT,+ Section,UndecoratedLink,} from 'twenty-ui';import { SettingsCard } from '@/settings/components/SettingsCard';import { getSettingsPagePath } from '@/settings/utils/getSettingsPagePath';import { SettingsPath } from '@/types/SettingsPath';-import { Section } from '@/ui/layout/section/components/Section';import { useTheme } from '@emotion/react';const StyledCardsContainer = styled.div`diff --git a/packages/twenty-front/src/modules/settings/accounts/components/SettingsNewAccountSection.tsx b/packages/twenty-front/src/modules/settings/accounts/components/SettingsNewAccountSection.tsxindex 3e7303a2e0b..3c75494d0f8 100644--- a/packages/twenty-front/src/modules/settings/accounts/components/SettingsNewAccountSection.tsx+++ b/packages/twenty-front/src/modules/settings/accounts/components/SettingsNewAccountSection.tsx@@ -1,7 +1,6 @@-import { H2Title } from 'twenty-ui';+import { H2Title, Section } from 'twenty-ui';import { SettingsAccountsListEmptyStateCard } from '@/settings/accounts/components/SettingsAccountsListEmptyStateCard';-import { Section } from '@/ui/layout/section/components/Section';export const SettingsNewAccountSection = () => {return (diff --git a/packages/twenty-front/src/modules/settings/data-model/new-object/components/SettingsAvailableStandardObjectsSection.tsx b/packages/twenty-front/src/modules/settings/data-model/new-object/components/SettingsAvailableStandardObjectsSection.tsxindex 22651f0ca05..07a0427f66c 100644--- a/packages/twenty-front/src/modules/settings/data-model/new-object/components/SettingsAvailableStandardObjectsSection.tsx+++ b/packages/twenty-front/src/modules/settings/data-model/new-object/components/SettingsAvailableStandardObjectsSection.tsx@@ -1,7 +1,6 @@-import { H2Title } from 'twenty-ui';+import { H2Title, Section } from 'twenty-ui';import { ObjectMetadataItem } from '@/object-metadata/types/ObjectMetadataItem';-import { Section } from '@/ui/layout/section/components/Section';import { Table } from '@/ui/layout/table/components/Table';import { TableBody } from '@/ui/layout/table/components/TableBody';import { TableHeader } from '@/ui/layout/table/components/TableHeader';diff --git a/packages/twenty-front/src/modules/settings/integrations/components/SettingsIntegrationGroup.tsx b/packages/twenty-front/src/modules/settings/integrations/components/SettingsIntegrationGroup.tsxindex fb516ebb4f1..794f6a8b3ac 100644--- a/packages/twenty-front/src/modules/settings/integrations/components/SettingsIntegrationGroup.tsx+++ b/packages/twenty-front/src/modules/settings/integrations/components/SettingsIntegrationGroup.tsx@@ -1,10 +1,9 @@-import { Link } from 'react-router-dom';import styled from '@emotion/styled';-import { H2Title } from 'twenty-ui';+import { Link } from 'react-router-dom';+import { H2Title, Section } from 'twenty-ui';import { SettingsIntegrationComponent } from '@/settings/integrations/components/SettingsIntegrationComponent';import { SettingsIntegrationCategory } from '@/settings/integrations/types/SettingsIntegrationCategory';-import { Section } from '@/ui/layout/section/components/Section';interface SettingsIntegrationGroupProps {integrationGroup: SettingsIntegrationCategory;diff --git a/packages/twenty-front/src/modules/settings/security/components/SettingsSSOIdentitiesProvidersForm.tsx b/packages/twenty-front/src/modules/settings/security/components/SettingsSSOIdentitiesProvidersForm.tsxindex 0913e59a205..4d28c837fa5 100644--- a/packages/twenty-front/src/modules/settings/security/components/SettingsSSOIdentitiesProvidersForm.tsx+++ b/packages/twenty-front/src/modules/settings/security/components/SettingsSSOIdentitiesProvidersForm.tsx@@ -6,11 +6,10 @@ import { SettingsSSOOIDCForm } from '@/settings/security/components/SettingsSSOOimport { SettingsSSOSAMLForm } from '@/settings/security/components/SettingsSSOSAMLForm';import { SettingSecurityNewSSOIdentityFormValues } from '@/settings/security/types/SSOIdentityProvider';import { TextInput } from '@/ui/input/components/TextInput';-import { Section } from '@/ui/layout/section/components/Section';import styled from '@emotion/styled';import { ReactElement } from 'react';import { Controller, useFormContext } from 'react-hook-form';-import { H2Title, IconComponent, IconKey } from 'twenty-ui';+import { H2Title, IconComponent, IconKey, Section } from 'twenty-ui';import { IdpType } from '~/generated/graphql';const StyledInputsContainer = styled.div`diff --git a/packages/twenty-front/src/modules/settings/security/components/SettingsSSOOIDCForm.tsx b/packages/twenty-front/src/modules/settings/security/components/SettingsSSOOIDCForm.tsxindex 44dc1900bf4..dee52c125a3 100644--- a/packages/twenty-front/src/modules/settings/security/components/SettingsSSOOIDCForm.tsx+++ b/packages/twenty-front/src/modules/settings/security/components/SettingsSSOOIDCForm.tsx@@ -3,11 +3,10 @@import { SnackBarVariant } from '@/ui/feedback/snack-bar-manager/components/SnackBar';import { useSnackBar } from '@/ui/feedback/snack-bar-manager/hooks/useSnackBar';import { TextInput } from '@/ui/input/components/TextInput';-import { Section } from '@/ui/layout/section/components/Section';import { useTheme } from '@emotion/react';import styled from '@emotion/styled';import { Controller, useFormContext } from 'react-hook-form';-import { Button, H2Title, IconCopy } from 'twenty-ui';+import { Button, H2Title, IconCopy, Section } from 'twenty-ui';const StyledInputsContainer = styled.div`display: flex;diff --git a/packages/twenty-front/src/modules/settings/security/components/SettingsSSOSAMLForm.tsx b/packages/twenty-front/src/modules/settings/security/components/SettingsSSOSAMLForm.tsxindex ef0bf05e610..f42e3d8954f 100644--- a/packages/twenty-front/src/modules/settings/security/components/SettingsSSOSAMLForm.tsx+++ b/packages/twenty-front/src/modules/settings/security/components/SettingsSSOSAMLForm.tsx@@ -5,7 +5,6 @@ import { parseSAMLMetadataFromXMLFile } from '@/settings/security/utils/parseSAMimport { SnackBarVariant } from '@/ui/feedback/snack-bar-manager/components/SnackBar';import { useSnackBar } from '@/ui/feedback/snack-bar-manager/hooks/useSnackBar';import { TextInput } from '@/ui/input/components/TextInput';-import { Section } from '@/ui/layout/section/components/Section';import { useTheme } from '@emotion/react';import styled from '@emotion/styled';import { ChangeEvent, useRef } from 'react';@@ -17,6 +16,7 @@ import {IconCopy,IconDownload,IconUpload,+ Section,} from 'twenty-ui';import { REACT_APP_SERVER_BASE_URL } from '~/config';import { isDefined } from '~/utils/isDefined';diff --git a/packages/twenty-front/src/modules/settings/serverless-functions/components/SettingsServerlessFunctionNewForm.tsx b/packages/twenty-front/src/modules/settings/serverless-functions/components/SettingsServerlessFunctionNewForm.tsxindex 46803ca0853..b50b4834c0f 100644--- a/packages/twenty-front/src/modules/settings/serverless-functions/components/SettingsServerlessFunctionNewForm.tsx+++ b/packages/twenty-front/src/modules/settings/serverless-functions/components/SettingsServerlessFunctionNewForm.tsx@@ -1,9 +1,8 @@import { ServerlessFunctionNewFormValues } from '@/settings/serverless-functions/hooks/useServerlessFunctionUpdateFormState';import { TextArea } from '@/ui/input/components/TextArea';import { TextInput } from '@/ui/input/components/TextInput';-import { Section } from '@/ui/layout/section/components/Section';import styled from '@emotion/styled';-import { H2Title } from 'twenty-ui';+import { H2Title, Section } from 'twenty-ui';const StyledInputsContainer = styled.div`display: flex;diff --git a/packages/twenty-front/src/modules/settings/serverless-functions/components/tabs/SettingsServerlessFunctionCodeEditorTab.tsx b/packages/twenty-front/src/modules/settings/serverless-functions/components/tabs/SettingsServerlessFunctionCodeEditorTab.tsxindex 12fbbe1ec0a..8eb0fdfdc03 100644--- a/packages/twenty-front/src/modules/settings/serverless-functions/components/tabs/SettingsServerlessFunctionCodeEditorTab.tsx+++ b/packages/twenty-front/src/modules/settings/serverless-functions/components/tabs/SettingsServerlessFunctionCodeEditorTab.tsx@@ -7,7 +7,6 @@ import { SettingsServerlessFunctionHotkeyScope } from '@/settings/serverless-funimport { getSettingsPagePath } from '@/settings/utils/getSettingsPagePath';import { SettingsPath } from '@/types/SettingsPath';import { CoreEditorHeader } from '@/ui/input/code-editor/components/CodeEditorHeader';-import { Section } from '@/ui/layout/section/components/Section';import { TabList } from '@/ui/layout/tab/components/TabList';import { useTabList } from '@/ui/layout/tab/hooks/useTabList';import { useScopedHotkeys } from '@/ui/utilities/hotkey/hooks/useScopedHotkeys';@@ -21,6 +20,7 @@ import {IconGitCommit,IconPlayerPlay,IconRestore,+ Section,} from 'twenty-ui';import { useHotkeyScopeOnMount } from '~/hooks/useHotkeyScopeOnMount';diff --git a/packages/twenty-front/src/modules/settings/serverless-functions/components/tabs/SettingsServerlessFunctionSettingsTab.tsx b/packages/twenty-front/src/modules/settings/serverless-functions/components/tabs/SettingsServerlessFunctionSettingsTab.tsxindex 121827d7832..efcf01eca16 100644--- a/packages/twenty-front/src/modules/settings/serverless-functions/components/tabs/SettingsServerlessFunctionSettingsTab.tsx+++ b/packages/twenty-front/src/modules/settings/serverless-functions/components/tabs/SettingsServerlessFunctionSettingsTab.tsx@@ -1,18 +1,17 @@import { SettingsServerlessFunctionNewForm } from '@/settings/serverless-functions/components/SettingsServerlessFunctionNewForm';+import { SettingsServerlessFunctionTabEnvironmentVariablesSection } from '@/settings/serverless-functions/components/tabs/SettingsServerlessFunctionTabEnvironmentVariablesSection';import { useDeleteOneServerlessFunction } from '@/settings/serverless-functions/hooks/useDeleteOneServerlessFunction';import { ServerlessFunctionFormValues } from '@/settings/serverless-functions/hooks/useServerlessFunctionUpdateFormState';import { SettingsServerlessFunctionHotkeyScope } from '@/settings/serverless-functions/types/SettingsServerlessFunctionHotKeyScope';import { getSettingsPagePath } from '@/settings/utils/getSettingsPagePath';import { SettingsPath } from '@/types/SettingsPath';import { ConfirmationModal } from '@/ui/layout/modal/components/ConfirmationModal';-import { Section } from '@/ui/layout/section/components/Section';import { useScopedHotkeys } from '@/ui/utilities/hotkey/hooks/useScopedHotkeys';import { useState } from 'react';import { useNavigate } from 'react-router-dom';import { Key } from 'ts-key-enum';-import { Button, H2Title } from 'twenty-ui';+import { Button, H2Title, Section } from 'twenty-ui';import { useHotkeyScopeOnMount } from '~/hooks/useHotkeyScopeOnMount';-import { SettingsServerlessFunctionTabEnvironmentVariablesSection } from '@/settings/serverless-functions/components/tabs/SettingsServerlessFunctionTabEnvironmentVariablesSection';export const SettingsServerlessFunctionSettingsTab = ({formValues,diff --git a/packages/twenty-front/src/modules/settings/serverless-functions/components/tabs/SettingsServerlessFunctionTabEnvironmentVariablesSection.tsx b/packages/twenty-front/src/modules/settings/serverless-functions/components/tabs/SettingsServerlessFunctionTabEnvironmentVariablesSection.tsxindex 00e8f6b3768..7028499c6d1 100644--- a/packages/twenty-front/src/modules/settings/serverless-functions/components/tabs/SettingsServerlessFunctionTabEnvironmentVariablesSection.tsx+++ b/packages/twenty-front/src/modules/settings/serverless-functions/components/tabs/SettingsServerlessFunctionTabEnvironmentVariablesSection.tsx@@ -1,7 +1,6 @@import { SettingsServerlessFunctionTabEnvironmentVariableTableRow } from '@/settings/serverless-functions/components/tabs/SettingsServerlessFunctionTabEnvironmentVariableTableRow';import { ServerlessFunctionFormValues } from '@/settings/serverless-functions/hooks/useServerlessFunctionUpdateFormState';import { TextInput } from '@/ui/input/components/TextInput';-import { Section } from '@/ui/layout/section/components/Section';import { Table } from '@/ui/layout/table/components/Table';import { TableBody } from '@/ui/layout/table/components/TableBody';import { TableHeader } from '@/ui/layout/table/components/TableHeader';@@ -15,6 +14,7 @@ import {IconPlus,IconSearch,MOBILE_VIEWPORT,+ Section,} from 'twenty-ui';import { v4 } from 'uuid';diff --git a/packages/twenty-front/src/modules/settings/serverless-functions/components/tabs/SettingsServerlessFunctionTestTab.tsx b/packages/twenty-front/src/modules/settings/serverless-functions/components/tabs/SettingsServerlessFunctionTestTab.tsxindex 257d138136e..badf2e78543 100644--- a/packages/twenty-front/src/modules/settings/serverless-functions/components/tabs/SettingsServerlessFunctionTestTab.tsx+++ b/packages/twenty-front/src/modules/settings/serverless-functions/components/tabs/SettingsServerlessFunctionTestTab.tsx@@ -1,5 +1,4 @@-import { Section } from '@/ui/layout/section/components/Section';-import { Button, H2Title, IconPlayerPlay } from 'twenty-ui';+import { Button, H2Title, IconPlayerPlay, Section } from 'twenty-ui';import { LightCopyIconButton } from '@/object-record/record-field/components/LightCopyIconButton';import { SettingsServerlessFunctionCodeEditorContainer } from '@/settings/serverless-functions/components/SettingsServerlessFunctionCodeEditorContainer';diff --git a/packages/twenty-front/src/modules/ui/layout/modal/components/ConfirmationModal.tsx b/packages/twenty-front/src/modules/ui/layout/modal/components/ConfirmationModal.tsxindex e49fcff2775..a3c951bba6c 100644--- a/packages/twenty-front/src/modules/ui/layout/modal/components/ConfirmationModal.tsx+++ b/packages/twenty-front/src/modules/ui/layout/modal/components/ConfirmationModal.tsx@@ -1,17 +1,20 @@import styled from '@emotion/styled';import { AnimatePresence, LayoutGroup } from 'framer-motion';import { ReactNode, useState } from 'react';-import { Button, ButtonAccent, H1Title, H1TitleFontColor } from 'twenty-ui';+import {+ Button,+ ButtonAccent,+ H1Title,+ H1TitleFontColor,+ Section,+ SectionAlignment,+ SectionFontColor,+} from 'twenty-ui';import { useDebouncedCallback } from 'use-debounce';import { TextInput } from '@/ui/input/components/TextInput';import { Modal, ModalVariants } from '@/ui/layout/modal/components/Modal';-import {- Section,- SectionAlignment,- SectionFontColor,-} from '@/ui/layout/section/components/Section';export type ConfirmationModalProps = {isOpen: boolean;diff --git a/packages/twenty-front/src/pages/settings/SettingsBilling.tsx b/packages/twenty-front/src/pages/settings/SettingsBilling.tsxindex bbb802addea..49547472334 100644--- a/packages/twenty-front/src/pages/settings/SettingsBilling.tsx+++ b/packages/twenty-front/src/pages/settings/SettingsBilling.tsx@@ -7,6 +7,7 @@ import {IconCircleX,IconCreditCard,Info,+ Section,} from 'twenty-ui';import { currentWorkspaceState } from '@/auth/states/currentWorkspaceState';@@ -20,7 +21,6 @@ import { SnackBarVariant } from '@/ui/feedback/snack-bar-manager/components/Snacimport { useSnackBar } from '@/ui/feedback/snack-bar-manager/hooks/useSnackBar';import { ConfirmationModal } from '@/ui/layout/modal/components/ConfirmationModal';import { SubMenuTopBarContainer } from '@/ui/layout/page/components/SubMenuTopBarContainer';-import { Section } from '@/ui/layout/section/components/Section';import { useSubscriptionStatus } from '@/workspace/hooks/useSubscriptionStatus';import {OnboardingStatus,diff --git a/packages/twenty-front/src/pages/settings/SettingsProfile.tsx b/packages/twenty-front/src/pages/settings/SettingsProfile.tsxindex 9e28b161164..f3df4c489ae 100644--- a/packages/twenty-front/src/pages/settings/SettingsProfile.tsx+++ b/packages/twenty-front/src/pages/settings/SettingsProfile.tsx@@ -1,4 +1,4 @@-import { H2Title } from 'twenty-ui';+import { H2Title, Section } from 'twenty-ui';import { SettingsPageContainer } from '@/settings/components/SettingsPageContainer';import { ChangePassword } from '@/settings/profile/components/ChangePassword';@@ -9,7 +9,6 @@ import { ProfilePictureUploader } from '@/settings/profile/components/ProfilePicimport { getSettingsPagePath } from '@/settings/utils/getSettingsPagePath';import { SettingsPath } from '@/types/SettingsPath';import { SubMenuTopBarContainer } from '@/ui/layout/page/components/SubMenuTopBarContainer';-import { Section } from '@/ui/layout/section/components/Section';export const SettingsProfile = () => (<SubMenuTopBarContainerdiff --git a/packages/twenty-front/src/pages/settings/SettingsWorkspace.tsx b/packages/twenty-front/src/pages/settings/SettingsWorkspace.tsxindex 2dcad9d36be..66aed592793 100644--- a/packages/twenty-front/src/pages/settings/SettingsWorkspace.tsx+++ b/packages/twenty-front/src/pages/settings/SettingsWorkspace.tsx@@ -1,4 +1,4 @@-import { GithubVersionLink, H2Title } from 'twenty-ui';+import { GithubVersionLink, H2Title, Section } from 'twenty-ui';import { SettingsPageContainer } from '@/settings/components/SettingsPageContainer';import { DeleteWorkspace } from '@/settings/profile/components/DeleteWorkspace';@@ -8,7 +8,6 @@ import { ToggleImpersonate } from '@/settings/workspace/components/ToggleImpersoimport { WorkspaceLogoUploader } from '@/settings/workspace/components/WorkspaceLogoUploader';import { SettingsPath } from '@/types/SettingsPath';import { SubMenuTopBarContainer } from '@/ui/layout/page/components/SubMenuTopBarContainer';-import { Section } from '@/ui/layout/section/components/Section';import packageJson from '../../../package.json';export const SettingsWorkspace = () => (<SubMenuTopBarContainerdiff --git a/packages/twenty-front/src/pages/settings/SettingsWorkspaceMembers.tsx b/packages/twenty-front/src/pages/settings/SettingsWorkspaceMembers.tsxindex 6145485c288..f5e1e2bbbf4 100644--- a/packages/twenty-front/src/pages/settings/SettingsWorkspaceMembers.tsx+++ b/packages/twenty-front/src/pages/settings/SettingsWorkspaceMembers.tsx@@ -11,6 +11,7 @@ import {IconMail,IconReload,IconTrash,+ Section,Status,TooltipDelay,} from 'twenty-ui';@@ -27,7 +28,6 @@ import { SnackBarVariant } from '@/ui/feedback/snack-bar-manager/components/Snacimport { useSnackBar } from '@/ui/feedback/snack-bar-manager/hooks/useSnackBar';import { ConfirmationModal } from '@/ui/layout/modal/components/ConfirmationModal';import { SubMenuTopBarContainer } from '@/ui/layout/page/components/SubMenuTopBarContainer';-import { Section } from '@/ui/layout/section/components/Section';import { Table } from '@/ui/layout/table/components/Table';import { TableHeader } from '@/ui/layout/table/components/TableHeader';import { WorkspaceMember } from '@/workspace-member/types/WorkspaceMember';diff --git a/packages/twenty-front/src/pages/settings/accounts/SettingsAccounts.tsx b/packages/twenty-front/src/pages/settings/accounts/SettingsAccounts.tsxindex a827cd4a253..65ec8c7d75a 100644--- a/packages/twenty-front/src/pages/settings/accounts/SettingsAccounts.tsx+++ b/packages/twenty-front/src/pages/settings/accounts/SettingsAccounts.tsx@@ -1,5 +1,5 @@import { useRecoilValue } from 'recoil';-import { H2Title } from 'twenty-ui';+import { H2Title, Section } from 'twenty-ui';import { ConnectedAccount } from '@/accounts/types/ConnectedAccount';import { currentWorkspaceMemberState } from '@/auth/states/currentWorkspaceMemberState';@@ -15,7 +15,6 @@ import { SettingsPageContainer } from '@/settings/components/SettingsPageContainimport { getSettingsPagePath } from '@/settings/utils/getSettingsPagePath';import { SettingsPath } from '@/types/SettingsPath';import { SubMenuTopBarContainer } from '@/ui/layout/page/components/SubMenuTopBarContainer';-import { Section } from '@/ui/layout/section/components/Section';export const SettingsAccounts = () => {const currentWorkspaceMember = useRecoilValue(currentWorkspaceMemberState);diff --git a/packages/twenty-front/src/pages/settings/accounts/SettingsAccountsCalendars.tsx b/packages/twenty-front/src/pages/settings/accounts/SettingsAccountsCalendars.tsxindex 9e75f3297d1..248b82a19b2 100644--- a/packages/twenty-front/src/pages/settings/accounts/SettingsAccountsCalendars.tsx+++ b/packages/twenty-front/src/pages/settings/accounts/SettingsAccountsCalendars.tsx@@ -3,7 +3,7 @@ import { SettingsPageContainer } from '@/settings/components/SettingsPageContainimport { getSettingsPagePath } from '@/settings/utils/getSettingsPagePath';import { SettingsPath } from '@/types/SettingsPath';import { SubMenuTopBarContainer } from '@/ui/layout/page/components/SubMenuTopBarContainer';-import { Section } from '@/ui/layout/section/components/Section';+import { Section } from 'twenty-ui';export const SettingsAccountsCalendars = () => {return (diff --git a/packages/twenty-front/src/pages/settings/accounts/SettingsAccountsEmails.tsx b/packages/twenty-front/src/pages/settings/accounts/SettingsAccountsEmails.tsxindex 4cc777a6239..549f4cf4d3f 100644--- a/packages/twenty-front/src/pages/settings/accounts/SettingsAccountsEmails.tsx+++ b/packages/twenty-front/src/pages/settings/accounts/SettingsAccountsEmails.tsx@@ -3,7 +3,7 @@ import { SettingsPageContainer } from '@/settings/components/SettingsPageContainimport { getSettingsPagePath } from '@/settings/utils/getSettingsPagePath';import { SettingsPath } from '@/types/SettingsPath';import { SubMenuTopBarContainer } from '@/ui/layout/page/components/SubMenuTopBarContainer';-import { Section } from '@/ui/layout/section/components/Section';+import { Section } from 'twenty-ui';export const SettingsAccountsEmails = () => (<SubMenuTopBarContainerdiff --git a/packages/twenty-front/src/pages/settings/crm-migration/SettingsCRMMigration.tsx b/packages/twenty-front/src/pages/settings/crm-migration/SettingsCRMMigration.tsxindex 36c6c7b9abb..095809906ed 100644--- a/packages/twenty-front/src/pages/settings/crm-migration/SettingsCRMMigration.tsx+++ b/packages/twenty-front/src/pages/settings/crm-migration/SettingsCRMMigration.tsx@@ -8,8 +8,8 @@ import { SettingsReadDocumentationButton } from '@/settings/developers/componentimport { getSettingsPagePath } from '@/settings/utils/getSettingsPagePath';import { SettingsPath } from '@/types/SettingsPath';import { SubMenuTopBarContainer } from '@/ui/layout/page/components/SubMenuTopBarContainer';-import { Section } from '@/ui/layout/section/components/Section';import { useRecoilValue } from 'recoil';+import { Section } from 'twenty-ui';const REVERT_PUBLIC_KEY = 'pk_live_a87fee8c-28c7-494f-99a3-996ff89f9918';diff --git a/packages/twenty-front/src/pages/settings/data-model/SettingsNewObject.tsx b/packages/twenty-front/src/pages/settings/data-model/SettingsNewObject.tsxindex 6c368f0a0d4..7afd81e56b4 100644--- a/packages/twenty-front/src/pages/settings/data-model/SettingsNewObject.tsx+++ b/packages/twenty-front/src/pages/settings/data-model/SettingsNewObject.tsx@@ -1,7 +1,7 @@import { zodResolver } from '@hookform/resolvers/zod';import { FormProvider, useForm } from 'react-hook-form';import { useNavigate } from 'react-router-dom';-import { H2Title } from 'twenty-ui';+import { H2Title, Section } from 'twenty-ui';import { z } from 'zod';import { useCreateOneObjectMetadataItem } from '@/object-metadata/hooks/useCreateOneObjectMetadataItem';@@ -18,7 +18,6 @@ import { SettingsPath } from '@/types/SettingsPath';import { SnackBarVariant } from '@/ui/feedback/snack-bar-manager/components/SnackBar';import { useSnackBar } from '@/ui/feedback/snack-bar-manager/hooks/useSnackBar';import { SubMenuTopBarContainer } from '@/ui/layout/page/components/SubMenuTopBarContainer';-import { Section } from '@/ui/layout/section/components/Section';const newObjectFormSchema = settingsDataModelObjectAboutFormSchema;diff --git a/packages/twenty-front/src/pages/settings/data-model/SettingsObjectDetailPageContent.tsx b/packages/twenty-front/src/pages/settings/data-model/SettingsObjectDetailPageContent.tsxindex 3668087f858..749f76d5f18 100644--- a/packages/twenty-front/src/pages/settings/data-model/SettingsObjectDetailPageContent.tsx+++ b/packages/twenty-front/src/pages/settings/data-model/SettingsObjectDetailPageContent.tsx@@ -5,13 +5,12 @@ import { SettingsObjectSummaryCard } from '@/settings/data-model/object-details/import { getSettingsPagePath } from '@/settings/utils/getSettingsPagePath';import { SettingsPath } from '@/types/SettingsPath';import { SubMenuTopBarContainer } from '@/ui/layout/page/components/SubMenuTopBarContainer';-import { Section } from '@/ui/layout/section/components/Section';import { isAdvancedModeEnabledState } from '@/ui/navigation/navigation-drawer/states/isAdvancedModeEnabledState';import { useIsFeatureEnabled } from '@/workspace/hooks/useIsFeatureEnabled';import styled from '@emotion/styled';import { useNavigate } from 'react-router-dom';import { useRecoilValue } from 'recoil';-import { Button, H2Title, IconPlus, UndecoratedLink } from 'twenty-ui';+import { Button, H2Title, IconPlus, Section, UndecoratedLink } from 'twenty-ui';import { SettingsObjectFieldTable } from '~/pages/settings/data-model/SettingsObjectFieldTable';import { SettingsObjectIndexTable } from '~/pages/settings/data-model/SettingsObjectIndexTable';diff --git a/packages/twenty-front/src/pages/settings/data-model/SettingsObjectEdit.tsx b/packages/twenty-front/src/pages/settings/data-model/SettingsObjectEdit.tsxindex 825f7ffacb2..4747d88f117 100644--- a/packages/twenty-front/src/pages/settings/data-model/SettingsObjectEdit.tsx+++ b/packages/twenty-front/src/pages/settings/data-model/SettingsObjectEdit.tsx@@ -4,7 +4,7 @@ import pick from 'lodash.pick';import { useEffect } from 'react';import { FormProvider, useForm } from 'react-hook-form';import { useNavigate, useParams } from 'react-router-dom';-import { Button, H2Title, IconArchive } from 'twenty-ui';+import { Button, H2Title, IconArchive, Section } from 'twenty-ui';import { z } from 'zod';import { useLastVisitedObjectMetadataItem } from '@/navigation/hooks/useLastVisitedObjectMetadataItem';@@ -29,7 +29,6 @@ import { SettingsPath } from '@/types/SettingsPath';import { SnackBarVariant } from '@/ui/feedback/snack-bar-manager/components/SnackBar';import { useSnackBar } from '@/ui/feedback/snack-bar-manager/hooks/useSnackBar';import { SubMenuTopBarContainer } from '@/ui/layout/page/components/SubMenuTopBarContainer';-import { Section } from '@/ui/layout/section/components/Section';import { navigationMemorizedUrlState } from '@/ui/navigation/states/navigationMemorizedUrlState';import { useSetRecoilState } from 'recoil';import { computeMetadataNameFromLabelOrThrow } from '~/pages/settings/data-model/utils/compute-metadata-name-from-label.utils';diff --git a/packages/twenty-front/src/pages/settings/data-model/SettingsObjectFieldEdit.tsx b/packages/twenty-front/src/pages/settings/data-model/SettingsObjectFieldEdit.tsxindex 1d355f08c75..2c28d795032 100644--- a/packages/twenty-front/src/pages/settings/data-model/SettingsObjectFieldEdit.tsx+++ b/packages/twenty-front/src/pages/settings/data-model/SettingsObjectFieldEdit.tsx@@ -5,7 +5,13 @@ import pick from 'lodash.pick';import { useEffect } from 'react';import { FormProvider, useForm } from 'react-hook-form';import { useNavigate, useParams } from 'react-router-dom';-import { Button, H2Title, IconArchive, IconArchiveOff } from 'twenty-ui';+import {+ Button,+ H2Title,+ IconArchive,+ IconArchiveOff,+ Section,+} from 'twenty-ui';import { z } from 'zod';import { useFieldMetadataItem } from '@/object-metadata/hooks/useFieldMetadataItem';@@ -32,7 +38,6 @@ import { SettingsPath } from '@/types/SettingsPath';import { SnackBarVariant } from '@/ui/feedback/snack-bar-manager/components/SnackBar';import { useSnackBar } from '@/ui/feedback/snack-bar-manager/hooks/useSnackBar';import { SubMenuTopBarContainer } from '@/ui/layout/page/components/SubMenuTopBarContainer';-import { Section } from '@/ui/layout/section/components/Section';import { FieldMetadataType } from '~/generated-metadata/graphql';import { isDefined } from '~/utils/isDefined';diff --git a/packages/twenty-front/src/pages/settings/data-model/SettingsObjectNewField/SettingsObjectNewFieldConfigure.tsx b/packages/twenty-front/src/pages/settings/data-model/SettingsObjectNewField/SettingsObjectNewFieldConfigure.tsxindex 682cb7123de..6470b77dd56 100644--- a/packages/twenty-front/src/pages/settings/data-model/SettingsObjectNewField/SettingsObjectNewFieldConfigure.tsx+++ b/packages/twenty-front/src/pages/settings/data-model/SettingsObjectNewField/SettingsObjectNewFieldConfigure.tsx@@ -17,7 +17,6 @@ import { AppPath } from '@/types/AppPath';import { SnackBarVariant } from '@/ui/feedback/snack-bar-manager/components/SnackBar';import { useSnackBar } from '@/ui/feedback/snack-bar-manager/hooks/useSnackBar';import { SubMenuTopBarContainer } from '@/ui/layout/page/components/SubMenuTopBarContainer';-import { Section } from '@/ui/layout/section/components/Section';import { View } from '@/views/types/View';import { ViewType } from '@/views/types/ViewType';import { useApolloClient } from '@apollo/client';@@ -26,7 +25,7 @@ import pick from 'lodash.pick';import { useEffect, useState } from 'react';import { FormProvider, useForm } from 'react-hook-form';import { useNavigate, useParams, useSearchParams } from 'react-router-dom';-import { H2Title } from 'twenty-ui';+import { H2Title, Section } from 'twenty-ui';import { z } from 'zod';import { FieldMetadataType } from '~/generated-metadata/graphql';import { DEFAULT_ICONS_BY_FIELD_TYPE } from '~/pages/settings/data-model/constants/DefaultIconsByFieldType';diff --git a/packages/twenty-front/src/pages/settings/data-model/SettingsObjects.tsx b/packages/twenty-front/src/pages/settings/data-model/SettingsObjects.tsxindex fda857733c9..f8513d77323 100644--- a/packages/twenty-front/src/pages/settings/data-model/SettingsObjects.tsx+++ b/packages/twenty-front/src/pages/settings/data-model/SettingsObjects.tsx@@ -15,7 +15,6 @@ import { getSettingsPagePath } from '@/settings/utils/getSettingsPagePath';import { SettingsPath } from '@/types/SettingsPath';import { TextInput } from '@/ui/input/components/TextInput';import { SubMenuTopBarContainer } from '@/ui/layout/page/components/SubMenuTopBarContainer';-import { Section } from '@/ui/layout/section/components/Section';import { SortableTableHeader } from '@/ui/layout/table/components/SortableTableHeader';import { Table } from '@/ui/layout/table/components/Table';import { TableHeader } from '@/ui/layout/table/components/TableHeader';@@ -31,6 +30,7 @@ import {IconChevronRight,IconPlus,IconSearch,+ Section,UndecoratedLink,} from 'twenty-ui';import { SETTINGS_OBJECT_TABLE_METADATA } from '~/pages/settings/data-model/constants/SettingsObjectTableMetadata';diff --git a/packages/twenty-front/src/pages/settings/developers/SettingsDevelopers.tsx b/packages/twenty-front/src/pages/settings/developers/SettingsDevelopers.tsxindex 8cf5a0db5b2..9bda68bc351 100644--- a/packages/twenty-front/src/pages/settings/developers/SettingsDevelopers.tsx+++ b/packages/twenty-front/src/pages/settings/developers/SettingsDevelopers.tsx@@ -5,10 +5,9 @@ import { SettingsWebhooksTable } from '@/settings/developers/components/Settingsimport { getSettingsPagePath } from '@/settings/utils/getSettingsPagePath';import { SettingsPath } from '@/types/SettingsPath';import { SubMenuTopBarContainer } from '@/ui/layout/page/components/SubMenuTopBarContainer';-import { Section } from '@/ui/layout/section/components/Section';import { useIsMobile } from '@/ui/utilities/responsive/hooks/useIsMobile';import styled from '@emotion/styled';-import { Button, H2Title, IconPlus, MOBILE_VIEWPORT } from 'twenty-ui';+import { Button, H2Title, IconPlus, MOBILE_VIEWPORT, Section } from 'twenty-ui';const StyledButtonContainer = styled.div`display: flex;diff --git a/packages/twenty-front/src/pages/settings/developers/api-keys/SettingsDevelopersApiKeyDetail.tsx b/packages/twenty-front/src/pages/settings/developers/api-keys/SettingsDevelopersApiKeyDetail.tsxindex 51ae6756ca8..e68dabb7bb3 100644--- a/packages/twenty-front/src/pages/settings/developers/api-keys/SettingsDevelopersApiKeyDetail.tsx+++ b/packages/twenty-front/src/pages/settings/developers/api-keys/SettingsDevelopersApiKeyDetail.tsx@@ -4,7 +4,7 @@ import { DateTime } from 'luxon';import { useState } from 'react';import { useNavigate, useParams } from 'react-router-dom';import { useRecoilState } from 'recoil';-import { Button, H2Title, IconRepeat, IconTrash } from 'twenty-ui';+import { Button, H2Title, IconRepeat, IconTrash, Section } from 'twenty-ui';import { CoreObjectNameSingular } from '@/object-metadata/types/CoreObjectNameSingular';import { useCreateOneRecord } from '@/object-record/hooks/useCreateOneRecord';@@ -24,7 +24,6 @@ import { useSnackBar } from '@/ui/feedback/snack-bar-manager/hooks/useSnackBar';import { TextInput } from '@/ui/input/components/TextInput';import { ConfirmationModal } from '@/ui/layout/modal/components/ConfirmationModal';import { SubMenuTopBarContainer } from '@/ui/layout/page/components/SubMenuTopBarContainer';-import { Section } from '@/ui/layout/section/components/Section';import { useGenerateApiKeyTokenMutation } from '~/generated/graphql';const StyledInfo = styled.span`diff --git a/packages/twenty-front/src/pages/settings/developers/api-keys/SettingsDevelopersApiKeysNew.tsx b/packages/twenty-front/src/pages/settings/developers/api-keys/SettingsDevelopersApiKeysNew.tsxindex 93733b7cc64..3e2463da25d 100644--- a/packages/twenty-front/src/pages/settings/developers/api-keys/SettingsDevelopersApiKeysNew.tsx+++ b/packages/twenty-front/src/pages/settings/developers/api-keys/SettingsDevelopersApiKeysNew.tsx@@ -1,7 +1,7 @@import { DateTime } from 'luxon';import { useState } from 'react';import { useNavigate } from 'react-router-dom';-import { H2Title } from 'twenty-ui';+import { H2Title, Section } from 'twenty-ui';import { CoreObjectNameSingular } from '@/object-metadata/types/CoreObjectNameSingular';import { useCreateOneRecord } from '@/object-record/hooks/useCreateOneRecord';@@ -15,7 +15,6 @@ import { SettingsPath } from '@/types/SettingsPath';import { Select } from '@/ui/input/components/Select';import { TextInput } from '@/ui/input/components/TextInput';import { SubMenuTopBarContainer } from '@/ui/layout/page/components/SubMenuTopBarContainer';-import { Section } from '@/ui/layout/section/components/Section';import { useSetRecoilState } from 'recoil';import { Key } from 'ts-key-enum';import { useGenerateApiKeyTokenMutation } from '~/generated/graphql';diff --git a/packages/twenty-front/src/pages/settings/developers/webhooks/components/SettingsDevelopersWebhookDetail.tsx b/packages/twenty-front/src/pages/settings/developers/webhooks/components/SettingsDevelopersWebhookDetail.tsxindex 83b87c390a0..d4031df59c1 100644--- a/packages/twenty-front/src/pages/settings/developers/webhooks/components/SettingsDevelopersWebhookDetail.tsx+++ b/packages/twenty-front/src/pages/settings/developers/webhooks/components/SettingsDevelopersWebhookDetail.tsx@@ -11,6 +11,7 @@ import {IconRefresh,IconTrash,isDefined,+ Section,useIcons,} from 'twenty-ui';@@ -32,7 +33,6 @@ import { TextArea } from '@/ui/input/components/TextArea';import { TextInput } from '@/ui/input/components/TextInput';import { ConfirmationModal } from '@/ui/layout/modal/components/ConfirmationModal';import { SubMenuTopBarContainer } from '@/ui/layout/page/components/SubMenuTopBarContainer';-import { Section } from '@/ui/layout/section/components/Section';import { useIsFeatureEnabled } from '@/workspace/hooks/useIsFeatureEnabled';import { useRecoilValue } from 'recoil';import { WEBHOOK_EMPTY_OPERATION } from '~/pages/settings/developers/webhooks/constants/WebhookEmptyOperation';diff --git a/packages/twenty-front/src/pages/settings/developers/webhooks/components/SettingsDevelopersWebhooksNew.tsx b/packages/twenty-front/src/pages/settings/developers/webhooks/components/SettingsDevelopersWebhooksNew.tsxindex 92dcb49d980..9300774fd8d 100644--- a/packages/twenty-front/src/pages/settings/developers/webhooks/components/SettingsDevelopersWebhooksNew.tsx+++ b/packages/twenty-front/src/pages/settings/developers/webhooks/components/SettingsDevelopersWebhooksNew.tsx@@ -1,6 +1,6 @@import { useState } from 'react';import { useNavigate } from 'react-router-dom';-import { H2Title, isDefined } from 'twenty-ui';+import { H2Title, isDefined, Section } from 'twenty-ui';import { CoreObjectNameSingular } from '@/object-metadata/types/CoreObjectNameSingular';import { useCreateOneRecord } from '@/object-record/hooks/useCreateOneRecord';@@ -11,7 +11,6 @@ import { getSettingsPagePath } from '@/settings/utils/getSettingsPagePath';import { SettingsPath } from '@/types/SettingsPath';import { TextInput } from '@/ui/input/components/TextInput';import { SubMenuTopBarContainer } from '@/ui/layout/page/components/SubMenuTopBarContainer';-import { Section } from '@/ui/layout/section/components/Section';import { isValidUrl } from '~/utils/url/isValidUrl';export const SettingsDevelopersWebhooksNew = () => {diff --git a/packages/twenty-front/src/pages/settings/integrations/SettingsIntegrationDatabase.tsx b/packages/twenty-front/src/pages/settings/integrations/SettingsIntegrationDatabase.tsxindex 1b803f6355b..6baad9a974f 100644--- a/packages/twenty-front/src/pages/settings/integrations/SettingsIntegrationDatabase.tsx+++ b/packages/twenty-front/src/pages/settings/integrations/SettingsIntegrationDatabase.tsx@@ -1,6 +1,6 @@import { useEffect } from 'react';import { useNavigate, useParams } from 'react-router-dom';-import { H2Title } from 'twenty-ui';+import { H2Title, Section } from 'twenty-ui';import { useGetDatabaseConnections } from '@/databases/hooks/useGetDatabaseConnections';import { SettingsPageContainer } from '@/settings/components/SettingsPageContainer';@@ -12,7 +12,6 @@ import { getSettingsPagePath } from '@/settings/utils/getSettingsPagePath';import { AppPath } from '@/types/AppPath';import { SettingsPath } from '@/types/SettingsPath';import { SubMenuTopBarContainer } from '@/ui/layout/page/components/SubMenuTopBarContainer';-import { Section } from '@/ui/layout/section/components/Section';export const SettingsIntegrationDatabase = () => {const { databaseKey = '' } = useParams();diff --git a/packages/twenty-front/src/pages/settings/integrations/SettingsIntegrationNewDatabaseConnection.tsx b/packages/twenty-front/src/pages/settings/integrations/SettingsIntegrationNewDatabaseConnection.tsxindex b3a0a5aaf06..4352c234b08 100644--- a/packages/twenty-front/src/pages/settings/integrations/SettingsIntegrationNewDatabaseConnection.tsx+++ b/packages/twenty-front/src/pages/settings/integrations/SettingsIntegrationNewDatabaseConnection.tsx@@ -21,8 +21,7 @@ import { SettingsPath } from '@/types/SettingsPath';import { SnackBarVariant } from '@/ui/feedback/snack-bar-manager/components/SnackBar';import { useSnackBar } from '@/ui/feedback/snack-bar-manager/hooks/useSnackBar';import { SubMenuTopBarContainer } from '@/ui/layout/page/components/SubMenuTopBarContainer';-import { Section } from '@/ui/layout/section/components/Section';-import { H2Title } from 'twenty-ui';+import { H2Title, Section } from 'twenty-ui';import { CreateRemoteServerInput } from '~/generated-metadata/graphql';const createRemoteServerInputPostgresSchema =diff --git a/packages/twenty-front/src/pages/settings/profile/appearance/components/SettingsAppearance.tsx b/packages/twenty-front/src/pages/settings/profile/appearance/components/SettingsAppearance.tsxindex c049f8d8952..4a0219a5e66 100644--- a/packages/twenty-front/src/pages/settings/profile/appearance/components/SettingsAppearance.tsx+++ b/packages/twenty-front/src/pages/settings/profile/appearance/components/SettingsAppearance.tsx@@ -1,10 +1,9 @@-import { ColorSchemePicker, H2Title } from 'twenty-ui';+import { ColorSchemePicker, H2Title, Section } from 'twenty-ui';import { SettingsPageContainer } from '@/settings/components/SettingsPageContainer';import { getSettingsPagePath } from '@/settings/utils/getSettingsPagePath';import { SettingsPath } from '@/types/SettingsPath';import { SubMenuTopBarContainer } from '@/ui/layout/page/components/SubMenuTopBarContainer';-import { Section } from '@/ui/layout/section/components/Section';import { useColorScheme } from '@/ui/theme/hooks/useColorScheme';import { DateTimeSettings } from '~/pages/settings/profile/appearance/components/DateTimeSettings';diff --git a/packages/twenty-front/src/pages/settings/security/SettingsSecurity.tsx b/packages/twenty-front/src/pages/settings/security/SettingsSecurity.tsxindex d499ad2d3a0..41ece10138d 100644--- a/packages/twenty-front/src/pages/settings/security/SettingsSecurity.tsx+++ b/packages/twenty-front/src/pages/settings/security/SettingsSecurity.tsx@@ -1,4 +1,4 @@-import { H2Title } from 'twenty-ui';+import { H2Title, Section } from 'twenty-ui';import { SettingsPageContainer } from '@/settings/components/SettingsPageContainer';import { SettingsReadDocumentationButton } from '@/settings/developers/components/SettingsReadDocumentationButton';@@ -7,7 +7,6 @@ import { SettingsSecurityOptionsList } from '@/settings/security/components/Settimport { getSettingsPagePath } from '@/settings/utils/getSettingsPagePath';import { SettingsPath } from '@/types/SettingsPath';import { SubMenuTopBarContainer } from '@/ui/layout/page/components/SubMenuTopBarContainer';-import { Section } from '@/ui/layout/section/components/Section';export const SettingsSecurity = () => {return (diff --git a/packages/twenty-front/src/pages/settings/serverless-functions/SettingsServerlessFunctionDetail.tsx b/packages/twenty-front/src/pages/settings/serverless-functions/SettingsServerlessFunctionDetail.tsxindex 9c2ee994d1d..2690e723df3 100644--- a/packages/twenty-front/src/pages/settings/serverless-functions/SettingsServerlessFunctionDetail.tsx+++ b/packages/twenty-front/src/pages/settings/serverless-functions/SettingsServerlessFunctionDetail.tsx@@ -15,13 +15,12 @@ import { SettingsPath } from '@/types/SettingsPath';import { SnackBarVariant } from '@/ui/feedback/snack-bar-manager/components/SnackBar';import { useSnackBar } from '@/ui/feedback/snack-bar-manager/hooks/useSnackBar';import { SubMenuTopBarContainer } from '@/ui/layout/page/components/SubMenuTopBarContainer';-import { Section } from '@/ui/layout/section/components/Section';import { TabList } from '@/ui/layout/tab/components/TabList';import { useTabList } from '@/ui/layout/tab/hooks/useTabList';import { useState } from 'react';import { useParams } from 'react-router-dom';import { useRecoilValue, useSetRecoilState } from 'recoil';-import { IconCode, IconSettings, IconTestPipe } from 'twenty-ui';+import { IconCode, IconSettings, IconTestPipe, Section } from 'twenty-ui';import { usePreventOverlapCallback } from '~/hooks/usePreventOverlapCallback';import { isDeeplyEqual } from '~/utils/isDeeplyEqual';import { isDefined } from '~/utils/isDefined';diff --git a/packages/twenty-front/src/pages/settings/serverless-functions/SettingsServerlessFunctions.tsx b/packages/twenty-front/src/pages/settings/serverless-functions/SettingsServerlessFunctions.tsxindex 81aeb5663d8..4adf34df19b 100644--- a/packages/twenty-front/src/pages/settings/serverless-functions/SettingsServerlessFunctions.tsx+++ b/packages/twenty-front/src/pages/settings/serverless-functions/SettingsServerlessFunctions.tsx@@ -2,8 +2,7 @@ import { SettingsServerlessFunctionsTable } from '@/settings/serverless-functionimport { getSettingsPagePath } from '@/settings/utils/getSettingsPagePath';import { SettingsPath } from '@/types/SettingsPath';import { SubMenuTopBarContainer } from '@/ui/layout/page/components/SubMenuTopBarContainer';-import { Section } from '@/ui/layout/section/components/Section';-import { Button, IconPlus, UndecoratedLink } from 'twenty-ui';+import { Button, IconPlus, Section, UndecoratedLink } from 'twenty-ui';export const SettingsServerlessFunctions = () => {return (diff --git a/packages/twenty-ui/src/input/button/components/index.ts b/packages/twenty-ui/src/input/button/components/index.tsnew file mode 100644index 00000000000..e69de29bb2ddiff --git a/packages/twenty-ui/src/layout/index.ts b/packages/twenty-ui/src/layout/index.tsindex f650ba537e4..a2f33305233 100644--- a/packages/twenty-ui/src/layout/index.ts+++ b/packages/twenty-ui/src/layout/index.ts@@ -10,3 +10,4 @@ export * from './card/components/CardContent';export * from './card/components/CardFooter';export * from './card/components/CardHeader';export * from './expandableContainer/components/ExpandableContainer';+export * from './section/components/Section';diff --git a/packages/twenty-front/src/modules/ui/layout/section/components/Section.tsx b/packages/twenty-ui/src/layout/section/components/Section.tsxsimilarity index 100%rename from packages/twenty-front/src/modules/ui/layout/section/components/Section.tsxrename to packages/twenty-ui/src/layout/section/components/Section.tsx