The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Organize Twenty UI into primitive families (#25948)
Raphaël Bosi73b957e764c9
diff --git a/packages/create-twenty-app/src/constants/template/src/front-components/main-page.tsx b/packages/create-twenty-app/src/constants/template/src/front-components/main-page.tsxindex a1109693a34..ce33dd031b5 100644--- a/packages/create-twenty-app/src/constants/template/src/front-components/main-page.tsx+++ b/packages/create-twenty-app/src/constants/template/src/front-components/main-page.tsx@@ -1,6 +1,6 @@import { defineFrontComponent } from 'twenty-sdk/define';import { useState } from 'react';-import { Avatar } from 'twenty-ui/data-display';+import { Avatar } from 'twenty-ui/primitives/data-display';import {IconBox,IconHierarchy,diff --git a/packages/twenty-codex-plugin/references/concepts/how-apps-work.md b/packages/twenty-codex-plugin/references/concepts/how-apps-work.mdindex 438a18091b7..367deb14748 100644--- a/packages/twenty-codex-plugin/references/concepts/how-apps-work.md+++ b/packages/twenty-codex-plugin/references/concepts/how-apps-work.md@@ -21,7 +21,7 @@ A Twenty app depends on two SDK packages:`twenty-sdk/front-component` provides runtime APIs available inside front components: `navigate`, `enqueueSnackbar`, `openSidePanelPage`, `useSelectedRecordIds`, `getApplicationVariable`, and others.-Twenty UI components (`Button`, `Chip`, `Tag`, `Status`, `H2Title`, `ThemeProvider`, icons, `themeCssVariables`) live in the `twenty-ui` package. Install `twenty-ui` from npm at the same version as `twenty-sdk` and `twenty-client-sdk` and import from its subpaths (`twenty-ui/input`, `twenty-ui/data-display`, `twenty-ui/icon`, `twenty-ui/typography`, `twenty-ui/theme-constants`, and others).+Twenty UI components (`Button`, `Chip`, `Tag`, `Status`, `H2Title`, `ThemeProvider`, icons, `themeCssVariables`) live in the `twenty-ui` package. Install `twenty-ui` from npm at the same version as `twenty-sdk` and `twenty-client-sdk` and import from its subpaths (`twenty-ui/primitives/input`, `twenty-ui/primitives/data-display`, `twenty-ui/icon`, `twenty-ui/primitives/typography`, `twenty-ui/theme-constants`, and others).`twenty-client-sdk/core` provides `CoreApiClient` for querying and mutating workspace records (companies, people, custom objects). `twenty-client-sdk/metadata` provides access to workspace metadata (object definitions, field definitions).diff --git a/packages/twenty-codex-plugin/references/develop-app/front-components.md b/packages/twenty-codex-plugin/references/develop-app/front-components.mdindex 1a84cd13e1c..9d684862d11 100644--- a/packages/twenty-codex-plugin/references/develop-app/front-components.md+++ b/packages/twenty-codex-plugin/references/develop-app/front-components.md@@ -33,11 +33,11 @@ Keep imports narrow:- Use `twenty-sdk/front-component` for front component hooks and host APIs.- Use `twenty-client-sdk/core` or `twenty-client-sdk/metadata` for data access.-- Install `twenty-ui` from npm at the same version as `twenty-sdk` and `twenty-client-sdk` and import Twenty UI components, icons, and theme tokens from its subpaths (`twenty-ui/input`, `twenty-ui/data-display`, `twenty-ui/icon`, `twenty-ui/typography`, `twenty-ui/theme-constants`, and others) before adding external UI libraries.+- Install `twenty-ui` from npm at the same version as `twenty-sdk` and `twenty-client-sdk` and import Twenty UI components, icons, and theme tokens from its subpaths (`twenty-ui/primitives/input`, `twenty-ui/primitives/data-display`, `twenty-ui/icon`, `twenty-ui/primitives/typography`, `twenty-ui/theme-constants`, and others) before adding external UI libraries.The front component renderer provides a Twenty `ThemeProvider` around the remote root. For isolated examples or local story-style verification, wrapping the component in `ThemeProvider` from `twenty-ui/theme-constants` is also acceptable.-The canonical Twenty UI front component example is `packages/twenty-front-component-renderer/src/__stories__/showcase/twenty-ui-example.front-component.tsx`. It imports `Button` from `twenty-ui/input`; `Chip`, `Status`, and `Tag` from `twenty-ui/data-display`; `H2Title` from `twenty-ui/typography`; and `ThemeProvider` from `twenty-ui/theme-constants`.+The canonical Twenty UI front component example is `packages/twenty-front-component-renderer/src/__stories__/showcase/twenty-ui-example.front-component.tsx`. It imports `Button` from `twenty-ui/primitives/input`; `Chip`, `Status`, and `Tag` from `twenty-ui/primitives/data-display`; `H2Title` from `twenty-ui/primitives/typography`; and `ThemeProvider` from `twenty-ui/theme-constants`.Read theme tokens with the `useTheme()` hook from `twenty-ui/theme-constants` inside the component body. The same tokens are also exported as the `themeCssVariables` constant, but the SDK mocks `twenty-ui` during manifest extraction, so a module-level constant that dereferences `themeCssVariables` can fail before the component renders — prefer `useTheme()`.diff --git a/packages/twenty-docs/developers/extend/apps/layout/front-components.mdx b/packages/twenty-docs/developers/extend/apps/layout/front-components.mdxindex 0ae9e97697d..852fcb3b7c5 100644--- a/packages/twenty-docs/developers/extend/apps/layout/front-components.mdx+++ b/packages/twenty-docs/developers/extend/apps/layout/front-components.mdx@@ -646,7 +646,11 @@ By default, every front component bundles its own copy of the libraries it impor```json package.json{- "frontComponentSharedDependencies": ["react", "react-dom/client", "twenty-ui/input"]+ "frontComponentSharedDependencies": [+ "react",+ "react-dom/client",+ "twenty-ui/primitives/input"+ ]}```@@ -672,7 +676,7 @@ export default defineFrontComponent({A few things to know:- **One shared dependencies bundle per app.** The bundle is built from your app's own dependencies, so you keep full control of the versions you ship.-- **List the exact specifiers you import.** `twenty-ui/input` and `twenty-ui/display` are two entries; a package name alone does not cover its subpaths. Listing `react` automatically covers `react/jsx-runtime`.+- **List the exact specifiers you import.** `twenty-ui/primitives/input` and `twenty-ui/primitives/data-display` are two entries; a package name alone does not cover its subpaths. Listing `react` automatically covers `react/jsx-runtime`.- **Share `react-dom/client` alongside `react`.** Every component renders through `createRoot`, so leaving it out means each component still bundles React DOM.- **The bundle is cached.** It is served under a content-hash URL with a long-lived immutable cache, so it is downloaded once and reused across all components of the app until one of its dependencies changes.- **Components that import none of the shared packages never download it.**@@ -693,7 +697,8 @@ Front components support multiple styling approaches. You can use:Twenty ships its component library as the [`twenty-ui`](https://www.npmjs.com/package/twenty-ui) package. Front components can use it for buttons, tags, status pills, chips, avatars, icons, typography, and theme tokens that automatically match the workspace's light and dark theme.<Warning>-`twenty-ui` is still in alpha. Its version number follows the Twenty SDK release cycle. APIs and component behavior may change between releases.+ `twenty-ui` is still in alpha. Its version number follows the Twenty SDK+ release cycle. APIs and component behavior may change between releases.</Warning>### Installation@@ -710,26 +715,34 @@ yarn add -D [email protected]Import from the matching subpath rather than the package root, so only the components you use end up in your bundle:+All existing UI components are grouped under `twenty-ui/primitives/<family>`.+The `components/` folder is reserved for higher-level app building blocks.+| Subpath | What it exports || --- | --- |-| `twenty-ui/input` | `Button` and form inputs |-| `twenty-ui/data-display` | `Tag`, `Status`, `Chip`, `Avatar`, and more |-| `twenty-ui/feedback` | `Callout`, `Banner`, `Info`, and more |-| `twenty-ui/typography` | `H1Title`, `H2Title`, `H3Title`, `Label`, and more |+| `twenty-ui/primitives/accessibility` | Hidden elements and keyboard interaction helpers |+| `twenty-ui/primitives/data-display` | Avatars, chips, tags, status indicators, and display helpers |+| `twenty-ui/primitives/feedback` | Toasts, banners, progress bars, and loaders |+| `twenty-ui/primitives/input` | Buttons, form controls, pickers, and code editors |+| `twenty-ui/primitives/json-visualizer` | JSON tree viewer |+| `twenty-ui/primitives/layout` | Layout, animation, resizing, and section components |+| `twenty-ui/primitives/navigation` | Links, list items, menus, and tabs |+| `twenty-ui/primitives/surfaces` | Cards, dialogs, menus, popovers, and tooltips |+| `twenty-ui/primitives/typography` | Text, headings, labels, and typography helpers || `twenty-ui/icon` | `Icon*` components (e.g. `IconCheck`) || `twenty-ui/theme-constants` | `ThemeProvider`, `themeCssVariables` |```tsximport { defineFrontComponent } from 'twenty-sdk/define';-import { Status, Tag } from 'twenty-ui/data-display';-import { Button } from 'twenty-ui/input';+import { Button } from 'twenty-ui/primitives/input';+import { Status, Tag } from 'twenty-ui/primitives/data-display';const StyledWidget = () => {return (<div style={{ padding: '16px', display: 'flex', gap: '8px' }}><Button title="Click me" onClick={() => alert('Clicked!')} />- <Tag text="Active" color="green" />- <Status color="green" text="Online" />+ <Tag color="green">Active</Tag>+ <Status color="green">Online</Status></div>);};diff --git a/packages/twenty-docs/scripts/ui/__tests__/documentation-defaults.spec.ts b/packages/twenty-docs/scripts/ui/__tests__/documentation-defaults.spec.tsindex 08e222825e2..a5174315684 100644--- a/packages/twenty-docs/scripts/ui/__tests__/documentation-defaults.spec.ts+++ b/packages/twenty-docs/scripts/ui/__tests__/documentation-defaults.spec.ts@@ -23,7 +23,7 @@ describe('documentation defaults', () => {it('omits absent defaults and renders string defaults without display quotes', () => {const reference = renderComponentReference({name: 'Example',- entryPoint: 'twenty-ui/input',+ entryPoint: 'twenty-ui/primitives/input',slug: 'input/example',props: [{diff --git a/packages/twenty-docs/scripts/ui/__tests__/documentation-imports.spec.ts b/packages/twenty-docs/scripts/ui/__tests__/documentation-imports.spec.tsindex 808faaf1dc1..14f25f60834 100644--- a/packages/twenty-docs/scripts/ui/__tests__/documentation-imports.spec.ts+++ b/packages/twenty-docs/scripts/ui/__tests__/documentation-imports.spec.ts@@ -5,7 +5,7 @@ import { getDocumentationImportDiagnostics } from '../../../../twenty-ui/docs/geconst allowedModules = new Set(['twenty-ui',- 'twenty-ui/input',+ 'twenty-ui/primitives/input','twenty-ui/style.css','react',]);@@ -26,7 +26,7 @@ describe('documentation imports', () => {it('allows public entry points, exported CSS, and peer dependencies', () => {expect(checkImports(`- import { Input } from 'twenty-ui/input';+ import { Input } from 'twenty-ui/primitives/input';import 'twenty-ui/style.css';export { Text } from 'twenty-ui';import { useState } from 'react';@@ -52,7 +52,7 @@ describe('documentation imports', () => {});it.each([- "import { Checkbox } from '@ui/input/Checkbox/Checkbox';",+ "import { Checkbox } from '@ui/primitives/input/Checkbox/Checkbox';","import { Input } from '../../twenty-ui/src/input';","import { vi } from 'vitest';",])('rejects a module outside the public surface in %s', (content) => {diff --git a/packages/twenty-docs/scripts/ui/__tests__/render-ui-reference.spec.ts b/packages/twenty-docs/scripts/ui/__tests__/render-ui-reference.spec.tsindex c2ba3edde50..70d028db910 100644--- a/packages/twenty-docs/scripts/ui/__tests__/render-ui-reference.spec.ts+++ b/packages/twenty-docs/scripts/ui/__tests__/render-ui-reference.spec.ts@@ -9,7 +9,7 @@ describe('renderComponentReference', () => {it('escapes attributes and prose while keeping markdown and code intact', () => {const reference = renderComponentReference({name: 'Example',- entryPoint: 'twenty-ui/input',+ entryPoint: 'twenty-ui/primitives/input',slug: 'input/example',props: [{@@ -44,7 +44,7 @@ describe('compound component references', () => {it('distinguishes identically named props on different parts and retains defaults', () => {const reference = renderComponentReference({name: 'Menu',- entryPoint: 'twenty-ui/surfaces',+ entryPoint: 'twenty-ui/primitives/surfaces',slug: 'surfaces/menu',props: [],parts: [diff --git a/packages/twenty-docs/ui/accessibility.mdx b/packages/twenty-docs/ui/accessibility.mdxindex 5f9a0a16636..b2ac9d06502 100644--- a/packages/twenty-docs/ui/accessibility.mdx+++ b/packages/twenty-docs/ui/accessibility.mdx@@ -10,7 +10,7 @@ Migrated interactive components use Base UI primitives for semantics and keyboarUse `Field.Label` with an input to associate a visible label with the control. `Field.Description` supplies supporting text:```tsx-import { Field, Input } from 'twenty-ui/input';+import { Field, Input } from 'twenty-ui/primitives/input';export const EmailField = () => (<Field.Root>diff --git a/packages/twenty-docs/ui/components/feedback/toast.mdx b/packages/twenty-docs/ui/components/feedback/toast.mdxindex 6b23b5aa3bc..4db0a296efc 100644--- a/packages/twenty-docs/ui/components/feedback/toast.mdx+++ b/packages/twenty-docs/ui/components/feedback/toast.mdx@@ -19,7 +19,7 @@ import ToastReference from '/snippets/ui/generated/feedback/toast.mdx';```tsximport { useState } from 'react';-import { Toast } from 'twenty-ui/feedback';+import { Toast } from 'twenty-ui/primitives/feedback';export const SaveNotification = () => {const [visible, setVisible] = useState(false);@@ -49,7 +49,7 @@ export const SaveNotification = () => {## Progress and cancellation```tsx-import { Toast } from 'twenty-ui/feedback';+import { Toast } from 'twenty-ui/primitives/feedback';type ImportProgressProps = { progress: number; onCancel: () => void };diff --git a/packages/twenty-docs/ui/components/input/checkbox.mdx b/packages/twenty-docs/ui/components/input/checkbox.mdxindex ab562cec803..eb46c2325d2 100644--- a/packages/twenty-docs/ui/components/input/checkbox.mdx+++ b/packages/twenty-docs/ui/components/input/checkbox.mdx@@ -18,7 +18,7 @@ Use `Checkbox` when each option can be selected independently. For a mutually ex## Uncontrolled state```tsx-import { Checkbox } from 'twenty-ui/input';+import { Checkbox } from 'twenty-ui/primitives/input';export const EmailPreference = () => (<label>@@ -34,7 +34,7 @@ A checked, named checkbox contributes its value to a form. Set `uncheckedValue````tsximport { useState } from 'react';-import { Checkbox } from 'twenty-ui/input';+import { Checkbox } from 'twenty-ui/primitives/input';export const ColumnSelection = () => {const [showEmail, setShowEmail] = useState(true);diff --git a/packages/twenty-docs/ui/components/input/field.mdx b/packages/twenty-docs/ui/components/input/field.mdxindex e99bb134951..aa0752923e7 100644--- a/packages/twenty-docs/ui/components/input/field.mdx+++ b/packages/twenty-docs/ui/components/input/field.mdx@@ -18,7 +18,7 @@ Use `Field` to group one control with its accessible label and helper text. Comp## Labeled control```tsx-import { Field, Input } from 'twenty-ui/input';+import { Field, Input } from 'twenty-ui/primitives/input';export const EmailField = () => (<Field.Root name="email" validationMode="onBlur">@@ -40,7 +40,7 @@ export const EmailField = () => (Use `invalid` when your application owns the error state. An explicit `match` makes the error message visible.```tsx-import { Field, Input } from 'twenty-ui/input';+import { Field, Input } from 'twenty-ui/primitives/input';type UsernameFieldProps = { error?: string };diff --git a/packages/twenty-docs/ui/components/input/input-group.mdx b/packages/twenty-docs/ui/components/input/input-group.mdxindex 194f4dc4032..a516582f003 100644--- a/packages/twenty-docs/ui/components/input/input-group.mdx+++ b/packages/twenty-docs/ui/components/input/input-group.mdx@@ -18,7 +18,7 @@ import InputGroupReference from '/snippets/ui/generated/input/input-group.mdx';## Prefix and suffix```tsx-import { Field, Input, InputGroup } from 'twenty-ui/input';+import { Field, Input, InputGroup } from 'twenty-ui/primitives/input';export const WebsiteField = () => (<Field.Root name="website">@@ -37,7 +37,7 @@ export const WebsiteField = () => (```tsximport { useState } from 'react';-import { Field, Input, InputGroup } from 'twenty-ui/input';+import { Field, Input, InputGroup } from 'twenty-ui/primitives/input';export const PasswordField = () => {const [visible, setVisible] = useState(false);diff --git a/packages/twenty-docs/ui/components/input/input.mdx b/packages/twenty-docs/ui/components/input/input.mdxindex c6c7eb1662c..18933f92bc9 100644--- a/packages/twenty-docs/ui/components/input/input.mdx+++ b/packages/twenty-docs/ui/components/input/input.mdx@@ -18,7 +18,7 @@ import InputReference from '/snippets/ui/generated/input/input.mdx';## Label an input```tsx-import { Field, Input } from 'twenty-ui/input';+import { Field, Input } from 'twenty-ui/primitives/input';export const EmailField = () => (<Field.Root>@@ -35,7 +35,7 @@ export const EmailField = () => (```tsximport { useState } from 'react';-import { Input } from 'twenty-ui/input';+import { Input } from 'twenty-ui/primitives/input';export const SearchField = () => {const [query, setQuery] = useState('');@@ -56,7 +56,7 @@ export const SearchField = () => {```tsximport { IconSearch } from 'twenty-ui/icon';-import { Input, InputGroup } from 'twenty-ui/input';+import { Input, InputGroup } from 'twenty-ui/primitives/input';export const CompactSearch = () => (<InputGroup size="sm" startElement={<IconSearch size={16} aria-hidden />}>diff --git a/packages/twenty-docs/ui/components/input/radio-group.mdx b/packages/twenty-docs/ui/components/input/radio-group.mdxindex cee51cd9f91..e593b0e467b 100644--- a/packages/twenty-docs/ui/components/input/radio-group.mdx+++ b/packages/twenty-docs/ui/components/input/radio-group.mdx@@ -19,7 +19,7 @@ import RadioGroupReference from '/snippets/ui/generated/input/radio-group.mdx';```tsximport { useId } from 'react';-import { Radio, RadioGroup } from 'twenty-ui/input';+import { Radio, RadioGroup } from 'twenty-ui/primitives/input';export const BillingFrequency = () => {const labelId = useId();@@ -52,7 +52,7 @@ Use `defaultValue` for an uncontrolled group. Its `name` identifies the selected```tsximport { useState } from 'react';-import { Radio, RadioGroup } from 'twenty-ui/input';+import { Radio, RadioGroup } from 'twenty-ui/primitives/input';export const DisplayDensity = () => {const [density, setDensity] = useState('comfortable');diff --git a/packages/twenty-docs/ui/components/input/radio.mdx b/packages/twenty-docs/ui/components/input/radio.mdxindex 6bdedd47090..66c5581f371 100644--- a/packages/twenty-docs/ui/components/input/radio.mdx+++ b/packages/twenty-docs/ui/components/input/radio.mdx@@ -18,7 +18,7 @@ import RadioReference from '/snippets/ui/generated/input/radio.mdx';## Labeled options```tsx-import { Radio, RadioGroup } from 'twenty-ui/input';+import { Radio, RadioGroup } from 'twenty-ui/primitives/input';export const ContactMethod = () => (<RadioGroupdiff --git a/packages/twenty-docs/ui/components/input/select.mdx b/packages/twenty-docs/ui/components/input/select.mdxindex 8237d450cca..1db72d3d6ca 100644--- a/packages/twenty-docs/ui/components/input/select.mdx+++ b/packages/twenty-docs/ui/components/input/select.mdx@@ -18,7 +18,7 @@ Use `Select` for a form value chosen from a list. Use [Menu](/ui/components/surf## Single selection```tsx-import { Select } from 'twenty-ui/input';+import { Select } from 'twenty-ui/primitives/input';const PRIORITIES = [{ value: 'low', label: 'Low' },@@ -48,7 +48,7 @@ Supply `items` on `Root` so `Value` renders the selected item's label; without i```tsximport { useState } from 'react';-import { Select } from 'twenty-ui/input';+import { Select } from 'twenty-ui/primitives/input';const LANGUAGES = [{ value: 'en', label: 'English' },diff --git a/packages/twenty-docs/ui/components/input/slider.mdx b/packages/twenty-docs/ui/components/input/slider.mdxindex c72b609d9a5..52d8bd3a801 100644--- a/packages/twenty-docs/ui/components/input/slider.mdx+++ b/packages/twenty-docs/ui/components/input/slider.mdx@@ -18,7 +18,7 @@ import SliderReference from '/snippets/ui/generated/input/slider.mdx';## Single value```tsx-import { Slider } from 'twenty-ui/input';+import { Slider } from 'twenty-ui/primitives/input';export const VolumeSlider = () => (<Slider.Root name="volume" defaultValue={40} min={0} max={100} step={1}>@@ -39,7 +39,7 @@ Use `value` and `onValueChange` for controlled state. `onValueCommitted` handles## Range```tsx-import { Slider } from 'twenty-ui/input';+import { Slider } from 'twenty-ui/primitives/input';export const PriceRange = () => (<Slider.Rootdiff --git a/packages/twenty-docs/ui/components/input/switch.mdx b/packages/twenty-docs/ui/components/input/switch.mdxindex 19c73a5d073..e4bfcb066d7 100644--- a/packages/twenty-docs/ui/components/input/switch.mdx+++ b/packages/twenty-docs/ui/components/input/switch.mdx@@ -18,7 +18,7 @@ Use `Switch` for an on or off preference. Give the control a visible label or an## Uncontrolled state```tsx-import { Switch } from 'twenty-ui/input';+import { Switch } from 'twenty-ui/primitives/input';export const NotificationsPreference = () => (<label>@@ -32,7 +32,7 @@ export const NotificationsPreference = () => (```tsximport { useState } from 'react';-import { Switch } from 'twenty-ui/input';+import { Switch } from 'twenty-ui/primitives/input';export const NotificationsPreference = () => {const [checked, setChecked] = useState(false);diff --git a/packages/twenty-docs/ui/components/input/textarea.mdx b/packages/twenty-docs/ui/components/input/textarea.mdxindex 5e3f2c80b33..19e827f0acd 100644--- a/packages/twenty-docs/ui/components/input/textarea.mdx+++ b/packages/twenty-docs/ui/components/input/textarea.mdx@@ -18,7 +18,7 @@ Use `Textarea` for notes, descriptions, and other multiline values. It integrate## Basic textarea```tsx-import { Field, Textarea } from 'twenty-ui/input';+import { Field, Textarea } from 'twenty-ui/primitives/input';export const NotesField = () => (<Field.Root name="notes">@@ -35,7 +35,7 @@ Native textarea attributes such as `rows`, `maxLength`, `required`, and `readOnl```tsximport { useState } from 'react';-import { Field, Textarea } from 'twenty-ui/input';+import { Field, Textarea } from 'twenty-ui/primitives/input';export const DescriptionField = () => {const [description, setDescription] = useState('');diff --git a/packages/twenty-docs/ui/components/navigation/list-item.mdx b/packages/twenty-docs/ui/components/navigation/list-item.mdxindex fde77356750..9d2bc542767 100644--- a/packages/twenty-docs/ui/components/navigation/list-item.mdx+++ b/packages/twenty-docs/ui/components/navigation/list-item.mdx@@ -19,7 +19,7 @@ import ListItemReference from '/snippets/ui/generated/navigation/list-item.mdx';```tsximport { IconCopy } from 'twenty-ui/icon';-import { ListItem } from 'twenty-ui/navigation';+import { ListItem } from 'twenty-ui/primitives/navigation';type DuplicateActionProps = { onDuplicate: () => void };@@ -41,7 +41,7 @@ The default element is a `div`. Use `render` to give an interactive row appropri```tsximport { useState } from 'react';-import { ListItem } from 'twenty-ui/navigation';+import { ListItem } from 'twenty-ui/primitives/navigation';export const ShowArchivedToggle = () => {const [selected, setSelected] = useState(false);diff --git a/packages/twenty-docs/ui/components/navigation/tabs.mdx b/packages/twenty-docs/ui/components/navigation/tabs.mdxindex f3ab180124e..8f5340e8b5e 100644--- a/packages/twenty-docs/ui/components/navigation/tabs.mdx+++ b/packages/twenty-docs/ui/components/navigation/tabs.mdx@@ -18,7 +18,7 @@ import TabsReference from '/snippets/ui/generated/navigation/tabs.mdx';## Tab panels```tsx-import { Tabs } from 'twenty-ui/navigation';+import { Tabs } from 'twenty-ui/primitives/navigation';export const RecordTabs = () => (<Tabs.Root defaultValue="overview">@@ -40,7 +40,7 @@ export const RecordTabs = () => (```tsximport { useState } from 'react';-import { Tabs } from 'twenty-ui/navigation';+import { Tabs } from 'twenty-ui/primitives/navigation';export const SettingsTabs = () => {const [tab, setTab] = useState<string | number | null>('profile');diff --git a/packages/twenty-docs/ui/components/surfaces/alert-dialog.mdx b/packages/twenty-docs/ui/components/surfaces/alert-dialog.mdxindex 1c2dea26e89..1f6fcb2de9b 100644--- a/packages/twenty-docs/ui/components/surfaces/alert-dialog.mdx+++ b/packages/twenty-docs/ui/components/surfaces/alert-dialog.mdx@@ -19,7 +19,7 @@ Use `AlertDialog` for a decision that interrupts the current workflow, such as c```tsximport { useState } from 'react';-import { AlertDialog } from 'twenty-ui/surfaces';+import { AlertDialog } from 'twenty-ui/primitives/surfaces';type DeleteConfirmationProps = { onDelete: () => void };diff --git a/packages/twenty-docs/ui/components/surfaces/menu.mdx b/packages/twenty-docs/ui/components/surfaces/menu.mdxindex d5fb65e3cc3..4773bd3b83c 100644--- a/packages/twenty-docs/ui/components/surfaces/menu.mdx+++ b/packages/twenty-docs/ui/components/surfaces/menu.mdx@@ -19,7 +19,7 @@ Use `Menu` for actions opened from a trigger. Its items supply keyboard navigati```tsximport { IconCopy, IconTrash } from 'twenty-ui/icon';-import { Menu } from 'twenty-ui/surfaces';+import { Menu } from 'twenty-ui/primitives/surfaces';type RecordMenuProps = { onDuplicate: () => void; onDelete: () => void };@@ -45,7 +45,7 @@ Action items close the menu when selected by default. `disabled` prevents select```tsximport { useState } from 'react';-import { Menu } from 'twenty-ui/surfaces';+import { Menu } from 'twenty-ui/primitives/surfaces';export const ViewMenu = () => {const [showArchived, setShowArchived] = useState(false);diff --git a/packages/twenty-docs/ui/components/surfaces/popover.mdx b/packages/twenty-docs/ui/components/surfaces/popover.mdxindex 53f03f5862a..7c404f7f927 100644--- a/packages/twenty-docs/ui/components/surfaces/popover.mdx+++ b/packages/twenty-docs/ui/components/surfaces/popover.mdx@@ -18,7 +18,7 @@ Use `Popover` for contextual information or lightweight controls. `Popup` includ## Contextual content```tsx-import { Popover } from 'twenty-ui/surfaces';+import { Popover } from 'twenty-ui/primitives/surfaces';export const ImportHelp = () => (<Popover.Root>@@ -40,7 +40,7 @@ Use `Title` and `Description` to identify the popup. The trigger renders a butto```tsximport { useState } from 'react';-import { Popover } from 'twenty-ui/surfaces';+import { Popover } from 'twenty-ui/primitives/surfaces';export const FilterPopover = () => {const [open, setOpen] = useState(false);diff --git a/packages/twenty-docs/ui/components/typography/text.mdx b/packages/twenty-docs/ui/components/typography/text.mdxindex f04b319b5ac..70b6e588822 100644--- a/packages/twenty-docs/ui/components/typography/text.mdx+++ b/packages/twenty-docs/ui/components/typography/text.mdx@@ -20,7 +20,7 @@ import TextReference from '/snippets/ui/generated/typography/text.mdx';Give the text a constrained width, then set `truncate` to show an ellipsis when it overflows:```tsx-import { Text } from 'twenty-ui/typography';+import { Text } from 'twenty-ui/primitives/typography';export const ContactName = () => (<Text truncate style={{ maxWidth: 160 }}>@@ -34,7 +34,7 @@ export const ContactName = () => (Use `lineClamp` with a positive integer. Choose either `truncate` or `lineClamp`; their props are mutually exclusive.```tsx-import { Text } from 'twenty-ui/typography';+import { Text } from 'twenty-ui/primitives/typography';export const Summary = () => (<Text lineClamp={2} style={{ maxWidth: 240 }}>@@ -49,7 +49,7 @@ export const Summary = () => (Use `render` when the text needs another semantic element:```tsx-import { Text } from 'twenty-ui/typography';+import { Text } from 'twenty-ui/primitives/typography';export const Description = () => (<Text render={<p />}>Account description</Text>diff --git a/packages/twenty-docs/ui/dark-mode.mdx b/packages/twenty-docs/ui/dark-mode.mdxindex d48b974daa5..40c3936e361 100644--- a/packages/twenty-docs/ui/dark-mode.mdx+++ b/packages/twenty-docs/ui/dark-mode.mdx@@ -7,7 +7,7 @@ Load both theme stylesheets when your application can switch schemes. `ThemeProv```tsximport { useState } from 'react';-import { Switch } from 'twenty-ui/input';+import { Switch } from 'twenty-ui/primitives/input';import { ThemeProvider } from 'twenty-ui/theme-constants';import 'twenty-ui/style.css';diff --git a/packages/twenty-docs/ui/getting-started.mdx b/packages/twenty-docs/ui/getting-started.mdxindex 02369a1d6fe..55a39ef9f25 100644--- a/packages/twenty-docs/ui/getting-started.mdx+++ b/packages/twenty-docs/ui/getting-started.mdx@@ -19,7 +19,7 @@ For a standalone React application, install the library and its peer dependencieyarn add twenty-ui monaco-editor react@^19 react-dom@^19```-`monaco-editor` powers the code editor components, but install it even if you never render an editor: the `twenty-ui/input`, `twenty-ui/feedback`, and `twenty-ui/navigation` entry points reference it, and bundlers fail to resolve it otherwise.+`monaco-editor` powers the code editor components, but install it even if you never render an editor: the `twenty-ui/primitives/input`, `twenty-ui/primitives/feedback`, and `twenty-ui/primitives/navigation` entry points reference it, and bundlers fail to resolve it otherwise.If you are building a Twenty app, follow [Using Twenty UI components](/developers/extend/apps/layout/front-components#using-twenty-ui-components). The front component renderer supplies the workspace theme and has a different setup from a standalone browser application.@@ -28,7 +28,7 @@ If you are building a Twenty app, follow [Using Twenty UI components](/developerImport the component stylesheet and a theme stylesheet once at your application entry point. `ThemeProvider` applies the active theme class and makes theme values available to components.```tsx-import { Field, Input } from 'twenty-ui/input';+import { Field, Input } from 'twenty-ui/primitives/input';import { ThemeProvider } from 'twenty-ui/theme-constants';import 'twenty-ui/style.css';@@ -51,16 +51,29 @@ The component stylesheet includes a global reset. Review its effect when addingImport components from their public subpath to keep imports focused:-| Import | Contents |-| --------------------------- | -------------------------------------------------- |-| `twenty-ui/input` | Form controls and buttons |-| `twenty-ui/data-display` | Avatars, chips, tags, and status indicators |-| `twenty-ui/feedback` | Feedback and notifications |-| `twenty-ui/navigation` | List rows, tabs, and navigation components |-| `twenty-ui/surfaces` | Menus, popovers, dialogs, and surfaces |-| `twenty-ui/typography` | Text and typography |-| `twenty-ui/icon` | Icons |-| `twenty-ui/theme-constants` | Theme provider, hooks, and CSS variable references |+Primitives are foundational controls, including compound controls such as Select,+Menu, and AlertDialog. Higher-level components combine primitives into reusable+app building blocks, such as tables, boards, and pickers. Both receive data and+callbacks from the application.++All existing UI components live in `primitives/`, including controls still being+migrated to the new API. The `components/` folder is reserved for higher-level+app building blocks. Each primitive family has a matching public entry point,+such as `twenty-ui/primitives/input`.++| Import | Contents |+| -------------------------------------- | ------------------------------------------------------------ |+| `twenty-ui/primitives/accessibility` | Hidden elements and keyboard interaction helpers |+| `twenty-ui/primitives/data-display` | Avatars, chips, tags, status indicators, and display helpers |+| `twenty-ui/primitives/feedback` | Toasts, banners, progress bars, and loaders |+| `twenty-ui/primitives/input` | Buttons, form controls, pickers, and code editors |+| `twenty-ui/primitives/json-visualizer` | JSON tree viewer |+| `twenty-ui/primitives/layout` | Layout, animation, resizing, and section components |+| `twenty-ui/primitives/navigation` | Links, list items, menus, and tabs |+| `twenty-ui/primitives/surfaces` | Cards, dialogs, menus, popovers, and tooltips |+| `twenty-ui/primitives/typography` | Text, headings, labels, and typography helpers |+| `twenty-ui/icon` | Icons |+| `twenty-ui/theme-constants` | Theme provider, hooks, and CSS variable references |Import individual icons, such as `IconCheck`, from `twenty-ui/icon`. The dynamic icon provider includes the full icon catalog, so reserve it for interfaces that need to look up icons at runtime.diff --git a/packages/twenty-front-component-renderer/scripts/front-component-stories/build-source-examples.ts b/packages/twenty-front-component-renderer/scripts/front-component-stories/build-source-examples.tsindex c130a6fad74..57e0622f694 100644--- a/packages/twenty-front-component-renderer/scripts/front-component-stories/build-source-examples.ts+++ b/packages/twenty-front-component-renderer/scripts/front-component-stories/build-source-examples.ts@@ -68,17 +68,19 @@ const twentySharedAliases = Object.fromEntries();const TWENTY_UI_SUBMODULES = [- 'accessibility',- 'data-display',- 'feedback',+ 'components','icon',- 'input',- 'json-visualizer',- 'layout',- 'navigation',- 'surfaces',+ 'primitives',+ 'primitives/accessibility',+ 'primitives/data-display',+ 'primitives/feedback',+ 'primitives/input',+ 'primitives/json-visualizer',+ 'primitives/layout',+ 'primitives/navigation',+ 'primitives/surfaces',+ 'primitives/typography','theme-constants',- 'typography','utilities',];diff --git a/packages/twenty-front-component-renderer/src/__stories__/host-api/host-api-router-link.front-component.tsx b/packages/twenty-front-component-renderer/src/__stories__/host-api/host-api-router-link.front-component.tsxindex 9bd3044c942..3bd2a080c8c 100644--- a/packages/twenty-front-component-renderer/src/__stories__/host-api/host-api-router-link.front-component.tsx+++ b/packages/twenty-front-component-renderer/src/__stories__/host-api/host-api-router-link.front-component.tsx@@ -1,5 +1,5 @@import { defineFrontComponent } from 'twenty-sdk/define';-import { UndecoratedLink } from 'twenty-ui/navigation';+import { UndecoratedLink } from 'twenty-ui/primitives/navigation';import { ThemeProvider } from 'twenty-ui/theme-constants';import { FrontComponentCard } from '@/__stories__/shared/front-components/front-component-card';diff --git a/packages/twenty-front-component-renderer/src/__stories__/showcase/twenty-ui-example.front-component.tsx b/packages/twenty-front-component-renderer/src/__stories__/showcase/twenty-ui-example.front-component.tsxindex a4c23ca7741..a06e09da87e 100644--- a/packages/twenty-front-component-renderer/src/__stories__/showcase/twenty-ui-example.front-component.tsx+++ b/packages/twenty-front-component-renderer/src/__stories__/showcase/twenty-ui-example.front-component.tsx@@ -1,9 +1,9 @@import { defineFrontComponent } from 'twenty-sdk/define';import { useState } from 'react';-import { Chip, Status, Tag } from 'twenty-ui/data-display';-import { Button } from 'twenty-ui/input';+import { Chip, Status, Tag } from 'twenty-ui/primitives/data-display';+import { Button } from 'twenty-ui/primitives/input';import { ThemeProvider } from 'twenty-ui/theme-constants';-import { H2Title } from 'twenty-ui/typography';+import { H2Title } from 'twenty-ui/primitives/typography';const CARD_STYLE = {padding: 24,diff --git a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-alert-dialog.front-component.tsx b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-alert-dialog.front-component.tsxindex ac15142ba2d..359dafcfa2a 100644--- a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-alert-dialog.front-component.tsx+++ b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-alert-dialog.front-component.tsx@@ -1,6 +1,6 @@import { useState } from 'react';import { defineFrontComponent } from 'twenty-sdk/define';-import { AlertDialog } from 'twenty-ui/surfaces';+import { AlertDialog } from 'twenty-ui/primitives/surfaces';import { TwentyUiGalleryCard } from '@/__stories__/shared/front-components/twenty-ui-gallery-card';diff --git a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-avatar-controls.front-component.tsx b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-avatar-controls.front-component.tsxindex 9b84b0dad4f..7c7d6bca44c 100644--- a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-avatar-controls.front-component.tsx+++ b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-avatar-controls.front-component.tsx@@ -1,6 +1,6 @@import { useState } from 'react';import { defineFrontComponent } from 'twenty-sdk/define';-import { Avatar } from 'twenty-ui/data-display';+import { Avatar } from 'twenty-ui/primitives/data-display';import { ThemeProvider } from 'twenty-ui/theme-constants';import 'twenty-ui/style.css';diff --git a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-checkbox.front-component.tsx b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-checkbox.front-component.tsxindex dec0e81e10a..cb50a216956 100644--- a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-checkbox.front-component.tsx+++ b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-checkbox.front-component.tsx@@ -1,6 +1,6 @@import { useState } from 'react';import { defineFrontComponent } from 'twenty-sdk/define';-import { Checkbox } from 'twenty-ui/input';+import { Checkbox } from 'twenty-ui/primitives/input';import { TwentyUiGalleryCard } from '@/__stories__/shared/front-components/twenty-ui-gallery-card';diff --git a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-chip-controls.front-component.tsx b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-chip-controls.front-component.tsxindex 856ec94e17a..416a74f57f9 100644--- a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-chip-controls.front-component.tsx+++ b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-chip-controls.front-component.tsx@@ -1,6 +1,6 @@import { useState } from 'react';import { defineFrontComponent } from 'twenty-sdk/define';-import { Chip } from 'twenty-ui/data-display';+import { Chip } from 'twenty-ui/primitives/data-display';import { IconStar } from 'twenty-ui/icon';import { ThemeProvider } from 'twenty-ui/theme-constants';import 'twenty-ui/style.css';diff --git a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-code-editor-gallery.front-component.tsx b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-code-editor-gallery.front-component.tsxindex 132bbf0a2fe..684bcada78e 100644--- a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-code-editor-gallery.front-component.tsx+++ b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-code-editor-gallery.front-component.tsx@@ -1,6 +1,6 @@import { defineFrontComponent } from 'twenty-sdk/define';import { useState } from 'react';-import { CodeEditor } from 'twenty-ui/input';+import { CodeEditor } from 'twenty-ui/primitives/input';import { ThemeProvider } from 'twenty-ui/theme-constants';// KNOWN ISSUE: CodeEditor wraps @monaco-editor/react, which lazy-loads thediff --git a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-data-display-gallery.front-component.tsx b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-data-display-gallery.front-component.tsxindex a7381a3ad44..95acfe765a3 100644--- a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-data-display-gallery.front-component.tsx+++ b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-data-display-gallery.front-component.tsx@@ -1,21 +1,21 @@import { defineFrontComponent } from 'twenty-sdk/define';import {AnimatedCheckmark,- Avatar,AvatarGroup,AvatarOrIcon,Checkmark,- Chip,ColorSample,CommandBlock,LinkChip,NotificationCounter,Pill,- Status,StyledTintedIconTileContainer,- Tag,TintedIconTile,-} from 'twenty-ui/data-display';+ Avatar,+ Chip,+ Status,+ Tag,+} from 'twenty-ui/primitives/data-display';import { IconStar } from 'twenty-ui/icon';import { ThemeProvider } from 'twenty-ui/theme-constants';@@ -104,7 +104,7 @@ const DATA_DISPLAY_ENTRIES: GalleryEntry[] = [const DataDisplayGallery = () => (<ThemeProvider colorScheme="light"><ComponentGallery- title="twenty-ui/data-display"+ title="twenty-ui/primitives/data-display"entries={DATA_DISPLAY_ENTRIES}/></ThemeProvider>@@ -113,6 +113,7 @@ const DataDisplayGallery = () => (export default defineFrontComponent({universalIdentifier: 'test-20ui0-0000-0000-0000-000000000101',name: 'twenty-ui-data-display-gallery',- description: 'Renders every twenty-ui/data-display component in the sandbox',+ description:+ 'Renders every twenty-ui/primitives/data-display component in the sandbox',component: DataDisplayGallery,});diff --git a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-display-helpers.front-component.tsx b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-display-helpers.front-component.tsxindex 67cc2532d50..97231c9b57d 100644--- a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-display-helpers.front-component.tsx+++ b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-display-helpers.front-component.tsx@@ -5,8 +5,8 @@ import {NumberDisplay,SelectDisplay,TextDisplay,-} from 'twenty-ui/data-display';-import { Text } from 'twenty-ui/typography';+} from 'twenty-ui/primitives/data-display';+import { Text } from 'twenty-ui/primitives/typography';import { TwentyUiGalleryCard } from '@/__stories__/shared/front-components/twenty-ui-gallery-card';diff --git a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-feedback-gallery.front-component.tsx b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-feedback-gallery.front-component.tsxindex ec9a02e3a01..e6a14345a24 100644--- a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-feedback-gallery.front-component.tsx+++ b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-feedback-gallery.front-component.tsx@@ -17,7 +17,7 @@ import {Loader,ProgressBar,SidePanelInformationBanner,-} from 'twenty-ui/feedback';+} from 'twenty-ui/primitives/feedback';import { ThemeProvider } from 'twenty-ui/theme-constants';import {@@ -132,13 +132,17 @@ const FEEDBACK_ENTRIES: GalleryEntry[] = [const FeedbackGallery = () => (<ThemeProvider colorScheme="light">- <ComponentGallery title="twenty-ui/feedback" entries={FEEDBACK_ENTRIES} />+ <ComponentGallery+ title="twenty-ui/primitives/feedback"+ entries={FEEDBACK_ENTRIES}+ /></ThemeProvider>);export default defineFrontComponent({universalIdentifier: 'test-20ui0-0000-0000-0000-000000000102',name: 'twenty-ui-feedback-gallery',- description: 'Renders every twenty-ui/feedback component in the sandbox',+ description:+ 'Renders every twenty-ui/primitives/feedback component in the sandbox',component: FeedbackGallery,});diff --git a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-field-controls.front-component.tsx b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-field-controls.front-component.tsxindex 6c583954f21..ba8498ac524 100644--- a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-field-controls.front-component.tsx+++ b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-field-controls.front-component.tsx@@ -4,10 +4,10 @@ import {Field,Input,InputGroup,+ Textarea,InputHint,InputLabel,- Textarea,-} from 'twenty-ui/input';+} from 'twenty-ui/primitives/input';import { TwentyUiGalleryCard } from '@/__stories__/shared/front-components/twenty-ui-gallery-card';diff --git a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-input-gallery.front-component.tsx b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-input-gallery.front-component.tsxindex 9da777b8377..ef62a632a4f 100644--- a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-input-gallery.front-component.tsx+++ b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-input-gallery.front-component.tsx@@ -5,8 +5,6 @@ import {AnimatedLightIconButton,Button,ButtonGroup,- CardPicker,- Checkbox,ColorPickerButton,ColorSchemeCard,ColorSchemePicker,@@ -23,17 +21,19 @@ import {LightIconButton,LightIconButtonGroup,MainButton,- Radio,- RadioGroup,RoundedIconButton,SearchInput,SegmentedControl,- Slider,StyledTabContainer,TabButton,TabContent,+ CardPicker,+ Checkbox,+ Radio,+ RadioGroup,+ Slider,Switch,-} from 'twenty-ui/input';+} from 'twenty-ui/primitives/input';import { ThemeProvider } from 'twenty-ui/theme-constants';import {@@ -258,7 +258,10 @@ const INPUT_ENTRIES: GalleryEntry[] = [const InputGallery = () => (<ThemeProvider colorScheme="light">- <ComponentGallery title="twenty-ui/input" entries={INPUT_ENTRIES} />+ <ComponentGallery+ title="twenty-ui/primitives/input"+ entries={INPUT_ENTRIES}+ /></ThemeProvider>);@@ -266,6 +269,6 @@ export default defineFrontComponent({universalIdentifier: 'test-20ui0-0000-0000-0000-000000000107',name: 'twenty-ui-input-gallery',description:- 'Renders every twenty-ui/input component (except monaco CodeEditor) in the sandbox',+ 'Renders every twenty-ui/primitives/input component (except monaco CodeEditor) in the sandbox',component: InputGallery,});diff --git a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-json-visualizer-gallery.front-component.tsx b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-json-visualizer-gallery.front-component.tsxindex 84ed299b754..c2c3836d384 100644--- a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-json-visualizer-gallery.front-component.tsx+++ b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-json-visualizer-gallery.front-component.tsx@@ -9,7 +9,7 @@ import {JsonTreeContextProvider,type JsonTreeContextType,JsonValueNode,-} from 'twenty-ui/json-visualizer';+} from 'twenty-ui/primitives/json-visualizer';import { ThemeProvider } from 'twenty-ui/theme-constants';import {@@ -118,7 +118,7 @@ const JSON_VISUALIZER_ENTRIES: GalleryEntry[] = [const JsonVisualizerGallery = () => (<ThemeProvider colorScheme="light"><ComponentGallery- title="twenty-ui/json-visualizer"+ title="twenty-ui/primitives/json-visualizer"entries={JSON_VISUALIZER_ENTRIES}/></ThemeProvider>@@ -128,6 +128,6 @@ export default defineFrontComponent({universalIdentifier: 'test-20ui0-0000-0000-0000-000000000106',name: 'twenty-ui-json-visualizer-gallery',description:- 'Renders every twenty-ui/json-visualizer component in the sandbox',+ 'Renders every twenty-ui/primitives/json-visualizer component in the sandbox',component: JsonVisualizerGallery,});diff --git a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-layout-gallery.front-component.tsx b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-layout-gallery.front-component.tsxindex 0be55dbc1a0..fd46f8177b1 100644--- a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-layout-gallery.front-component.tsx+++ b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-layout-gallery.front-component.tsx@@ -14,7 +14,7 @@ import {Section,SectionAlignment,SectionFontColor,-} from 'twenty-ui/layout';+} from 'twenty-ui/primitives/layout';import { ThemeProvider } from 'twenty-ui/theme-constants';import {@@ -89,13 +89,17 @@ const LAYOUT_ENTRIES: GalleryEntry[] = [const LayoutGallery = () => (<ThemeProvider colorScheme="light">- <ComponentGallery title="twenty-ui/layout" entries={LAYOUT_ENTRIES} />+ <ComponentGallery+ title="twenty-ui/primitives/layout"+ entries={LAYOUT_ENTRIES}+ /></ThemeProvider>);export default defineFrontComponent({universalIdentifier: 'test-20ui0-0000-0000-0000-000000000103',name: 'twenty-ui-layout-gallery',- description: 'Renders every twenty-ui/layout component in the sandbox',+ description:+ 'Renders every twenty-ui/primitives/layout component in the sandbox',component: LayoutGallery,});diff --git a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-list-item.front-component.tsx b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-list-item.front-component.tsxindex e312b87da01..c90b546cb6e 100644--- a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-list-item.front-component.tsx+++ b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-list-item.front-component.tsx@@ -1,6 +1,6 @@import { useState } from 'react';import { defineFrontComponent } from 'twenty-sdk/define';-import { ListItem } from 'twenty-ui/navigation';+import { ListItem } from 'twenty-ui/primitives/navigation';import { TwentyUiGalleryCard } from '@/__stories__/shared/front-components/twenty-ui-gallery-card';diff --git a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-menu.front-component.tsx b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-menu.front-component.tsxindex 91e9995a0a1..a31ea7ffa7f 100644--- a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-menu.front-component.tsx+++ b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-menu.front-component.tsx@@ -1,6 +1,6 @@import { useState } from 'react';import { defineFrontComponent } from 'twenty-sdk/define';-import { Menu } from 'twenty-ui/surfaces';+import { Menu } from 'twenty-ui/primitives/surfaces';import { TwentyUiGalleryCard } from '@/__stories__/shared/front-components/twenty-ui-gallery-card';diff --git a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-modal-open-gallery.front-component.tsx b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-modal-open-gallery.front-component.tsxindex 1da767668c2..f7606526441 100644--- a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-modal-open-gallery.front-component.tsx+++ b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-modal-open-gallery.front-component.tsx@@ -1,5 +1,5 @@import { defineFrontComponent } from 'twenty-sdk/define';-import { Modal } from 'twenty-ui/surfaces';+import { Modal } from 'twenty-ui/primitives/surfaces';import { ThemeProvider } from 'twenty-ui/theme-constants';import {@@ -25,7 +25,7 @@ const MODAL_OPEN_ENTRIES: GalleryEntry[] = [const ModalOpenGallery = () => (<ThemeProvider colorScheme="light"><ComponentGallery- title="twenty-ui/surfaces Modal (open)"+ title="twenty-ui/primitives/surfaces Modal (open)"entries={MODAL_OPEN_ENTRIES}/></ThemeProvider>diff --git a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-navigation-gallery.front-component.tsx b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-navigation-gallery.front-component.tsxindex 0917619a575..0abf0530863 100644--- a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-navigation-gallery.front-component.tsx+++ b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-navigation-gallery.front-component.tsx@@ -32,7 +32,7 @@ import {StyledMenuItemLeftContent,StyledMenuItemSelect,UndecoratedLink,-} from 'twenty-ui/navigation';+} from 'twenty-ui/primitives/navigation';import { ThemeProvider } from 'twenty-ui/theme-constants';import {@@ -240,7 +240,7 @@ const NAVIGATION_ENTRIES: GalleryEntry[] = [const NavigationGallery = () => (<ThemeProvider colorScheme="light"><ComponentGallery- title="twenty-ui/navigation"+ title="twenty-ui/primitives/navigation"entries={NAVIGATION_ENTRIES}/></ThemeProvider>@@ -249,6 +249,7 @@ const NavigationGallery = () => (export default defineFrontComponent({universalIdentifier: 'test-20ui0-0000-0000-0000-000000000108',name: 'twenty-ui-navigation-gallery',- description: 'Renders every twenty-ui/navigation component in the sandbox',+ description:+ 'Renders every twenty-ui/primitives/navigation component in the sandbox',component: NavigationGallery,});diff --git a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-popover.front-component.tsx b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-popover.front-component.tsxindex 3a29842001b..8c232060776 100644--- a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-popover.front-component.tsx+++ b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-popover.front-component.tsx@@ -1,6 +1,6 @@import { useState } from 'react';import { defineFrontComponent } from 'twenty-sdk/define';-import { Popover } from 'twenty-ui/surfaces';+import { Popover } from 'twenty-ui/primitives/surfaces';import { TwentyUiGalleryCard } from '@/__stories__/shared/front-components/twenty-ui-gallery-card';diff --git a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-radio-group.front-component.tsx b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-radio-group.front-component.tsxindex af622b102a1..933d06e06f0 100644--- a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-radio-group.front-component.tsx+++ b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-radio-group.front-component.tsx@@ -1,6 +1,6 @@import { useState } from 'react';import { defineFrontComponent } from 'twenty-sdk/define';-import { CardPicker, Radio, RadioGroup } from 'twenty-ui/input';+import { CardPicker, Radio, RadioGroup } from 'twenty-ui/primitives/input';import { TwentyUiGalleryCard } from '@/__stories__/shared/front-components/twenty-ui-gallery-card';diff --git a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-select.front-component.tsx b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-select.front-component.tsxindex 97944ed28df..5eb98809d84 100644--- a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-select.front-component.tsx+++ b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-select.front-component.tsx@@ -1,6 +1,6 @@import { useState } from 'react';import { defineFrontComponent } from 'twenty-sdk/define';-import { Select } from 'twenty-ui/input';+import { Select } from 'twenty-ui/primitives/input';import { TwentyUiGalleryCard } from '@/__stories__/shared/front-components/twenty-ui-gallery-card';diff --git a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-slider-range.front-component.tsx b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-slider-range.front-component.tsxindex 34c307be9b3..388b8d0ba72 100644--- a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-slider-range.front-component.tsx+++ b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-slider-range.front-component.tsx@@ -1,5 +1,5 @@import { defineFrontComponent } from 'twenty-sdk/define';-import { Slider } from 'twenty-ui/input';+import { Slider } from 'twenty-ui/primitives/input';import { TwentyUiGalleryCard } from '@/__stories__/shared/front-components/twenty-ui-gallery-card';diff --git a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-slider.front-component.tsx b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-slider.front-component.tsxindex d23cdc2c6e7..aa740eca23d 100644--- a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-slider.front-component.tsx+++ b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-slider.front-component.tsx@@ -1,6 +1,6 @@import { useState } from 'react';import { defineFrontComponent } from 'twenty-sdk/define';-import { Slider } from 'twenty-ui/input';+import { Slider } from 'twenty-ui/primitives/input';import { TwentyUiGalleryCard } from '@/__stories__/shared/front-components/twenty-ui-gallery-card';diff --git a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-status-controls.front-component.tsx b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-status-controls.front-component.tsxindex 4513738467f..bb1099f6f97 100644--- a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-status-controls.front-component.tsx+++ b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-status-controls.front-component.tsx@@ -1,6 +1,6 @@import { useState } from 'react';import { defineFrontComponent } from 'twenty-sdk/define';-import { Status } from 'twenty-ui/data-display';+import { Status } from 'twenty-ui/primitives/data-display';import { ThemeProvider } from 'twenty-ui/theme-constants';import 'twenty-ui/style.css';diff --git a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-surfaces-gallery.front-component.tsx b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-surfaces-gallery.front-component.tsxindex 9e71e1451ed..e1158a61b1e 100644--- a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-surfaces-gallery.front-component.tsx+++ b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-surfaces-gallery.front-component.tsx@@ -11,7 +11,7 @@ import {ModalFooter,ModalHeader,OverflowingTextWithTooltip,-} from 'twenty-ui/surfaces';+} from 'twenty-ui/primitives/surfaces';import { ThemeProvider } from 'twenty-ui/theme-constants';import {@@ -87,13 +87,17 @@ const SURFACES_ENTRIES: GalleryEntry[] = [const SurfacesGallery = () => (<ThemeProvider colorScheme="light">- <ComponentGallery title="twenty-ui/surfaces" entries={SURFACES_ENTRIES} />+ <ComponentGallery+ title="twenty-ui/primitives/surfaces"+ entries={SURFACES_ENTRIES}+ /></ThemeProvider>);export default defineFrontComponent({universalIdentifier: 'test-20ui0-0000-0000-0000-000000000105',name: 'twenty-ui-surfaces-gallery',- description: 'Renders every twenty-ui/surfaces component in the sandbox',+ description:+ 'Renders every twenty-ui/primitives/surfaces component in the sandbox',component: SurfacesGallery,});diff --git a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-switch.front-component.tsx b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-switch.front-component.tsxindex fccca501872..4b714dc2ba8 100644--- a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-switch.front-component.tsx+++ b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-switch.front-component.tsx@@ -1,6 +1,6 @@import { useState } from 'react';import { defineFrontComponent } from 'twenty-sdk/define';-import { Switch } from 'twenty-ui/input';+import { Switch } from 'twenty-ui/primitives/input';import { TwentyUiGalleryCard } from '@/__stories__/shared/front-components/twenty-ui-gallery-card';diff --git a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-tabs.front-component.tsx b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-tabs.front-component.tsxindex ec8f5955510..2d912677acd 100644--- a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-tabs.front-component.tsx+++ b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-tabs.front-component.tsx@@ -1,6 +1,6 @@import { useState } from 'react';import { defineFrontComponent } from 'twenty-sdk/define';-import { Tabs } from 'twenty-ui/navigation';+import { Tabs } from 'twenty-ui/primitives/navigation';import { TwentyUiGalleryCard } from '@/__stories__/shared/front-components/twenty-ui-gallery-card';diff --git a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-tag-controls.front-component.tsx b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-tag-controls.front-component.tsxindex de7690b5c06..69a6481067c 100644--- a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-tag-controls.front-component.tsx+++ b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-tag-controls.front-component.tsx@@ -1,6 +1,6 @@import { useState } from 'react';import { defineFrontComponent } from 'twenty-sdk/define';-import { Tag } from 'twenty-ui/data-display';+import { Tag } from 'twenty-ui/primitives/data-display';import { IconStar } from 'twenty-ui/icon';import { ThemeProvider } from 'twenty-ui/theme-constants';import 'twenty-ui/style.css';diff --git a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-toast.front-component.tsx b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-toast.front-component.tsxindex 027a626cf90..8c69bc0dd7d 100644--- a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-toast.front-component.tsx+++ b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-toast.front-component.tsx@@ -1,6 +1,6 @@import { useState } from 'react';import { defineFrontComponent } from 'twenty-sdk/define';-import { Toast } from 'twenty-ui/feedback';+import { Toast } from 'twenty-ui/primitives/feedback';import { TwentyUiGalleryCard } from '@/__stories__/shared/front-components/twenty-ui-gallery-card';diff --git a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-typography-gallery.front-component.tsx b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-typography-gallery.front-component.tsxindex ba1d82f3700..d7c1eb676a7 100644--- a/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-typography-gallery.front-component.tsx+++ b/packages/twenty-front-component-renderer/src/__stories__/twenty-ui-gallery/twenty-ui-typography-gallery.front-component.tsx@@ -2,7 +2,7 @@ import { defineFrontComponent } from 'twenty-sdk/define';import {VisibilityHidden,VisibilityHiddenInput,-} from 'twenty-ui/accessibility';+} from 'twenty-ui/primitives/accessibility';import { ThemeProvider } from 'twenty-ui/theme-constants';import {H1Title,@@ -15,7 +15,7 @@ import {StyledText,StyledTextContent,StyledTextWrapper,-} from 'twenty-ui/typography';+} from 'twenty-ui/primitives/typography';import {ComponentGallery,@@ -72,7 +72,7 @@ const TYPOGRAPHY_ENTRIES: GalleryEntry[] = [const TypographyGallery = () => (<ThemeProvider colorScheme="light"><ComponentGallery- title="twenty-ui/typography + accessibility"+ title="twenty-ui/primitives/typography + accessibility"entries={TYPOGRAPHY_ENTRIES}/></ThemeProvider>@@ -82,6 +82,6 @@ export default defineFrontComponent({universalIdentifier: 'test-20ui0-0000-0000-0000-000000000104',name: 'twenty-ui-typography-gallery',description:- 'Renders every twenty-ui/typography and accessibility component in the sandbox',+ 'Renders every twenty-ui/primitives/typography and accessibility component in the sandbox',component: TypographyGallery,});diff --git a/packages/twenty-front/src/modules/accounts/utils/buildConnectedAccountSenderOptions.ts b/packages/twenty-front/src/modules/accounts/utils/buildConnectedAccountSenderOptions.tsindex 2e21c76dab5..60234b1096d 100644--- a/packages/twenty-front/src/modules/accounts/utils/buildConnectedAccountSenderOptions.ts+++ b/packages/twenty-front/src/modules/accounts/utils/buildConnectedAccountSenderOptions.ts@@ -1,6 +1,6 @@import { type ConnectedAccount } from '@/accounts/types/ConnectedAccount';import { getSendableEmailHandles } from 'twenty-shared/utils';-import { type SelectOption } from 'twenty-ui/input';+import { type SelectOption } from 'twenty-ui/primitives/input';export const buildConnectedAccountSenderOptions = (accounts: Pick<ConnectedAccount, 'handle' | 'handleAliases'>[],diff --git a/packages/twenty-front/src/modules/activities/calendar/components/CalendarDayCardContent.tsx b/packages/twenty-front/src/modules/activities/calendar/components/CalendarDayCardContent.tsxindex 9750a2759b0..2964cb7b078 100644--- a/packages/twenty-front/src/modules/activities/calendar/components/CalendarDayCardContent.tsx+++ b/packages/twenty-front/src/modules/activities/calendar/components/CalendarDayCardContent.tsx@@ -3,7 +3,7 @@ import { differenceInSeconds, endOfDay, format } from 'date-fns';import { CalendarEventRow } from '@/activities/calendar/components/CalendarEventRow';import { getCalendarEventStartDate } from '@/activities/calendar/utils/getCalendarEventStartDate';-import { CardContent } from 'twenty-ui/surfaces';+import { CardContent } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';import { type TimelineCalendarEvent } from '~/generated/graphql';diff --git a/packages/twenty-front/src/modules/activities/calendar/components/CalendarEventCallRecorderAvatar.tsx b/packages/twenty-front/src/modules/activities/calendar/components/CalendarEventCallRecorderAvatar.tsxindex 0e805a44d2b..17a13352e5a 100644--- a/packages/twenty-front/src/modules/activities/calendar/components/CalendarEventCallRecorderAvatar.tsx+++ b/packages/twenty-front/src/modules/activities/calendar/components/CalendarEventCallRecorderAvatar.tsx@@ -4,7 +4,11 @@ import { t } from '@lingui/core/macro';import { useId } from 'react';import { createPortal } from 'react-dom';import { assertUnreachable } from 'twenty-shared/utils';-import { AppTooltip, TooltipDelay, TooltipPosition } from 'twenty-ui/surfaces';+import {+ AppTooltip,+ TooltipDelay,+ TooltipPosition,+} from 'twenty-ui/primitives/surfaces';import { CallRecordingStatus } from '~/generated/graphql';const IN_PROGRESS_CALL_RECORDING_STATUSES: CallRecordingStatus[] = [diff --git a/packages/twenty-front/src/modules/activities/calendar/components/CalendarEventComposerFields.tsx b/packages/twenty-front/src/modules/activities/calendar/components/CalendarEventComposerFields.tsxindex 6cb563e7d7e..5c448c4f083 100644--- a/packages/twenty-front/src/modules/activities/calendar/components/CalendarEventComposerFields.tsx+++ b/packages/twenty-front/src/modules/activities/calendar/components/CalendarEventComposerFields.tsx@@ -21,8 +21,8 @@ import { DragDropItemDndContext } from '@/ui/utilities/drag-and-drop/context/Draimport { DragDropProvider } from '@dnd-kit/react';import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';-import { Callout } from 'twenty-ui/feedback';-import { Switch } from 'twenty-ui/input';+import { Callout } from 'twenty-ui/primitives/feedback';+import { Switch } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';const COMPOSER_LABEL_MIN_WIDTH = '80px';diff --git a/packages/twenty-front/src/modules/activities/calendar/components/CalendarEventParticipantsAvatarGroup.tsx b/packages/twenty-front/src/modules/activities/calendar/components/CalendarEventParticipantsAvatarGroup.tsxindex 50af66d8364..a80f545f822 100644--- a/packages/twenty-front/src/modules/activities/calendar/components/CalendarEventParticipantsAvatarGroup.tsx+++ b/packages/twenty-front/src/modules/activities/calendar/components/CalendarEventParticipantsAvatarGroup.tsx@@ -3,7 +3,7 @@ import { type CalendarEventCallRecording } from '@/activities/calendar/types/Calimport { type CalendarEventParticipant } from '@/activities/calendar/types/CalendarEventParticipant';import { isTimelineCalendarEventParticipant } from '@/activities/calendar/types/guards/IsTimelineCalendarEventParticipant';import { isDefined } from 'twenty-shared/utils';-import { Avatar, AvatarGroup } from 'twenty-ui/data-display';+import { Avatar, AvatarGroup } from 'twenty-ui/primitives/data-display';import { type TimelineCalendarEventParticipant } from '~/generated/graphql';import { getAbsoluteImageUrl } from '~/utils/image/getAbsoluteImageUrl';diff --git a/packages/twenty-front/src/modules/activities/calendar/components/CalendarEventsCardContent.tsx b/packages/twenty-front/src/modules/activities/calendar/components/CalendarEventsCardContent.tsxindex 2d9530f3f08..640603cdb2b 100644--- a/packages/twenty-front/src/modules/activities/calendar/components/CalendarEventsCardContent.tsx+++ b/packages/twenty-front/src/modules/activities/calendar/components/CalendarEventsCardContent.tsx@@ -14,10 +14,10 @@ import {AnimatedPlaceholderEmptySubTitle,AnimatedPlaceholderEmptyTextContainer,AnimatedPlaceholderEmptyTitle,-} from 'twenty-ui/feedback';-import { Section } from 'twenty-ui/layout';+} from 'twenty-ui/primitives/feedback';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';-import { H3Title } from 'twenty-ui/typography';+import { H3Title } from 'twenty-ui/primitives/typography';import { type TimelineCalendarEvent } from '~/generated/graphql';import { dateLocaleState } from '~/localization/states/dateLocaleState';diff --git a/packages/twenty-front/src/modules/activities/calendar/components/CalendarMonthCard.tsx b/packages/twenty-front/src/modules/activities/calendar/components/CalendarMonthCard.tsxindex e169eebb0b3..5d4cabd3e9a 100644--- a/packages/twenty-front/src/modules/activities/calendar/components/CalendarMonthCard.tsx+++ b/packages/twenty-front/src/modules/activities/calendar/components/CalendarMonthCard.tsx@@ -2,7 +2,7 @@ import { useContext } from 'react';import { CalendarDayCardContent } from '@/activities/calendar/components/CalendarDayCardContent';import { CalendarContext } from '@/activities/calendar/contexts/CalendarContext';-import { Card } from 'twenty-ui/surfaces';+import { Card } from 'twenty-ui/primitives/surfaces';type CalendarMonthCardProps = {dayTimes: number[];diff --git a/packages/twenty-front/src/modules/activities/calendar/hooks/useCalendarEventComposer.ts b/packages/twenty-front/src/modules/activities/calendar/hooks/useCalendarEventComposer.tsindex ab430dbc799..4ba86addec9 100644--- a/packages/twenty-front/src/modules/activities/calendar/hooks/useCalendarEventComposer.ts+++ b/packages/twenty-front/src/modules/activities/calendar/hooks/useCalendarEventComposer.ts@@ -27,7 +27,7 @@ import { useCallback, useState } from 'react';import { MAX_EMAIL_RECIPIENTS } from 'twenty-shared/constants';import { CoreObjectNameSingular } from 'twenty-shared/types';import { isDefined } from 'twenty-shared/utils';-import { type SelectOption } from 'twenty-ui/input';+import { type SelectOption } from 'twenty-ui/primitives/input';import { Temporal } from 'temporal-polyfill';export const useCalendarEventComposer = ({diff --git a/packages/twenty-front/src/modules/activities/components/ActivityList.tsx b/packages/twenty-front/src/modules/activities/components/ActivityList.tsxindex d2cc8a4640d..2fb64226b56 100644--- a/packages/twenty-front/src/modules/activities/components/ActivityList.tsx+++ b/packages/twenty-front/src/modules/activities/components/ActivityList.tsx@@ -1,5 +1,5 @@import { styled } from '@linaria/react';-import { Card } from 'twenty-ui/surfaces';+import { Card } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledListContainer = styled.div`diff --git a/packages/twenty-front/src/modules/activities/components/ActivityRow.tsx b/packages/twenty-front/src/modules/activities/components/ActivityRow.tsxindex d46a54867b6..c36eb4979e6 100644--- a/packages/twenty-front/src/modules/activities/components/ActivityRow.tsx+++ b/packages/twenty-front/src/modules/activities/components/ActivityRow.tsx@@ -1,6 +1,6 @@import { styled } from '@linaria/react';import React from 'react';-import { CardContent } from 'twenty-ui/surfaces';+import { CardContent } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledRowContentContainer = styled.div`diff --git a/packages/twenty-front/src/modules/activities/components/ParticipantChip.tsx b/packages/twenty-front/src/modules/activities/components/ParticipantChip.tsxindex 658411f8ba0..9f94d7761c5 100644--- a/packages/twenty-front/src/modules/activities/components/ParticipantChip.tsx+++ b/packages/twenty-front/src/modules/activities/components/ParticipantChip.tsx@@ -6,7 +6,7 @@ import { getEmailParticipantAvatarColorSeed } from '@/activities/emails/utils/geimport { CoreObjectNameSingular } from 'twenty-shared/types';import { RecordChip } from '@/object-record/components/RecordChip';import { getAbsoluteImageUrl } from '~/utils/image/getAbsoluteImageUrl';-import { Avatar } from 'twenty-ui/data-display';+import { Avatar } from 'twenty-ui/primitives/data-display';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledAvatarContainer = styled.span`diff --git a/packages/twenty-front/src/modules/activities/emails/components/CampaignDetailsFields.tsx b/packages/twenty-front/src/modules/activities/emails/components/CampaignDetailsFields.tsxindex befff46860b..fd6b00d261f 100644--- a/packages/twenty-front/src/modules/activities/emails/components/CampaignDetailsFields.tsx+++ b/packages/twenty-front/src/modules/activities/emails/components/CampaignDetailsFields.tsx@@ -6,8 +6,8 @@ import {} from 'twenty-shared/types';import { isDefined } from 'twenty-shared/utils';import { IconAlertTriangle } from 'twenty-ui/icon';-import { InlineBanner } from 'twenty-ui/feedback';-import { type SelectOption } from 'twenty-ui/input';+import { InlineBanner } from 'twenty-ui/primitives/feedback';+import { type SelectOption } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';import {diff --git a/packages/twenty-front/src/modules/activities/emails/components/EmailLoader.tsx b/packages/twenty-front/src/modules/activities/emails/components/EmailLoader.tsxindex 57514ff6afa..8da93220d81 100644--- a/packages/twenty-front/src/modules/activities/emails/components/EmailLoader.tsx+++ b/packages/twenty-front/src/modules/activities/emails/components/EmailLoader.tsx@@ -5,7 +5,7 @@ import {AnimatedPlaceholderEmptyTextContainer,AnimatedPlaceholderEmptyTitle,Loader,-} from 'twenty-ui/feedback';+} from 'twenty-ui/primitives/feedback';export const EmailLoader = ({ loadingText }: { loadingText?: string }) => (<AnimatedPlaceholderEmptyContainer>diff --git a/packages/twenty-front/src/modules/activities/emails/components/EmailThreadMessageBody.tsx b/packages/twenty-front/src/modules/activities/emails/components/EmailThreadMessageBody.tsxindex 8d350c76e85..72ad041d3db 100644--- a/packages/twenty-front/src/modules/activities/emails/components/EmailThreadMessageBody.tsx+++ b/packages/twenty-front/src/modules/activities/emails/components/EmailThreadMessageBody.tsx@@ -2,7 +2,7 @@ import { styled } from '@linaria/react';import { motion } from 'framer-motion';import Linkify from 'linkify-react';import { themeCssVariables } from 'twenty-ui/theme-constants';-import { AnimatedEaseInOut } from 'twenty-ui/layout';+import { AnimatedEaseInOut } from 'twenty-ui/primitives/layout';const StyledThreadMessageBody = styled(motion.div)`color: ${themeCssVariables.font.color.primary};diff --git a/packages/twenty-front/src/modules/activities/emails/components/EmailThreadMessageReceivers.tsx b/packages/twenty-front/src/modules/activities/emails/components/EmailThreadMessageReceivers.tsxindex 60b0e349d01..40560f7b162 100644--- a/packages/twenty-front/src/modules/activities/emails/components/EmailThreadMessageReceivers.tsx+++ b/packages/twenty-front/src/modules/activities/emails/components/EmailThreadMessageReceivers.tsx@@ -2,7 +2,7 @@ import { styled } from '@linaria/react';import { type EmailThreadMessageParticipant } from '@/activities/emails/types/EmailThreadMessageParticipant';import { getDisplayNameFromParticipant } from '@/activities/emails/utils/getDisplayNameFromParticipant';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';type EmailThreadMessageReceiversProps = {diff --git a/packages/twenty-front/src/modules/activities/emails/components/EmailThreadMessageSender.tsx b/packages/twenty-front/src/modules/activities/emails/components/EmailThreadMessageSender.tsxindex 24f719724b7..7773c732e67 100644--- a/packages/twenty-front/src/modules/activities/emails/components/EmailThreadMessageSender.tsx+++ b/packages/twenty-front/src/modules/activities/emails/components/EmailThreadMessageSender.tsx@@ -3,7 +3,7 @@ import { styled } from '@linaria/react';import { ParticipantChip } from '@/activities/components/ParticipantChip';import { type EmailThreadMessageParticipant } from '@/activities/emails/types/EmailThreadMessageParticipant';import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';-import { AppTooltip, TooltipPosition } from 'twenty-ui/surfaces';+import { AppTooltip, TooltipPosition } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';import { dateLocaleState } from '~/localization/states/dateLocaleState';import {diff --git a/packages/twenty-front/src/modules/activities/emails/components/EmailThreadNotShared.tsx b/packages/twenty-front/src/modules/activities/emails/components/EmailThreadNotShared.tsxindex 90a396bff1a..a06ce7db4de 100644--- a/packages/twenty-front/src/modules/activities/emails/components/EmailThreadNotShared.tsx+++ b/packages/twenty-front/src/modules/activities/emails/components/EmailThreadNotShared.tsx@@ -2,7 +2,7 @@ import { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';import { useContext } from 'react';import { IconLock } from 'twenty-ui/icon';-import { AppTooltip, TooltipDelay } from 'twenty-ui/surfaces';+import { AppTooltip, TooltipDelay } from 'twenty-ui/primitives/surfaces';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';import { MessageChannelVisibility } from '~/generated/graphql';diff --git a/packages/twenty-front/src/modules/activities/emails/components/EmailThreadPreview.tsx b/packages/twenty-front/src/modules/activities/emails/components/EmailThreadPreview.tsxindex 22eaffc651b..5b00f9b51d5 100644--- a/packages/twenty-front/src/modules/activities/emails/components/EmailThreadPreview.tsx+++ b/packages/twenty-front/src/modules/activities/emails/components/EmailThreadPreview.tsx@@ -9,7 +9,7 @@ import { useContext } from 'react';import { t } from '@lingui/core/macro';import { CoreObjectNameSingular } from 'twenty-shared/types';import { isDefined } from 'twenty-shared/utils';-import { Avatar, Tag } from 'twenty-ui/data-display';+import { Avatar, Tag } from 'twenty-ui/primitives/data-display';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';import {MessageChannelVisibility,diff --git a/packages/twenty-front/src/modules/activities/emails/components/EmailsCardContent.tsx b/packages/twenty-front/src/modules/activities/emails/components/EmailsCardContent.tsxindex 4869a2c6fac..c413ba0bedd 100644--- a/packages/twenty-front/src/modules/activities/emails/components/EmailsCardContent.tsx+++ b/packages/twenty-front/src/modules/activities/emails/components/EmailsCardContent.tsx@@ -5,7 +5,7 @@ import { EmailThreadPreview } from '@/activities/emails/components/EmailThreadPrimport { EmptyInboxPlaceholder } from '@/activities/emails/components/EmptyInboxPlaceholder';import { StyledWidgetContentContainer } from '@/ui/layout/components/WidgetContentContainer';import { styled } from '@linaria/react';-import { Section } from 'twenty-ui/layout';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';import { type TimelineThread } from '~/generated/graphql';diff --git a/packages/twenty-front/src/modules/activities/emails/components/EmptyInboxPlaceholder.tsx b/packages/twenty-front/src/modules/activities/emails/components/EmptyInboxPlaceholder.tsxindex 2118264dcf8..d161b57edc9 100644--- a/packages/twenty-front/src/modules/activities/emails/components/EmptyInboxPlaceholder.tsx+++ b/packages/twenty-front/src/modules/activities/emails/components/EmptyInboxPlaceholder.tsx@@ -2,14 +2,14 @@ import { useComposeEmailForTargetRecord } from '@/activities/emails/hooks/useComimport { useTargetRecord } from '@/ui/layout/contexts/useTargetRecord';import { Trans, useLingui } from '@lingui/react/macro';import { IconMail } from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';+import { Button } from 'twenty-ui/primitives/input';import {AnimatedPlaceholder,AnimatedPlaceholderEmptyContainer,AnimatedPlaceholderEmptySubTitle,AnimatedPlaceholderEmptyTextContainer,AnimatedPlaceholderEmptyTitle,-} from 'twenty-ui/feedback';+} from 'twenty-ui/primitives/feedback';export const EmptyInboxPlaceholder = () => {const { t } = useLingui();diff --git a/packages/twenty-front/src/modules/activities/emails/recipients/components/EmailRecipientChipMenuContent.tsx b/packages/twenty-front/src/modules/activities/emails/recipients/components/EmailRecipientChipMenuContent.tsxindex c9d60430343..90b44b8c9dd 100644--- a/packages/twenty-front/src/modules/activities/emails/recipients/components/EmailRecipientChipMenuContent.tsx+++ b/packages/twenty-front/src/modules/activities/emails/recipients/components/EmailRecipientChipMenuContent.tsx@@ -3,7 +3,7 @@ import { isNonEmptyString } from '@sniptt/guards';import { CoreObjectNameSingular } from 'twenty-shared/types';import { isDefined } from 'twenty-shared/utils';import { IconCopy, IconPencil, IconTrash, IconUserPlus } from 'twenty-ui/icon';-import { MenuItem, MenuItemAvatar } from 'twenty-ui/navigation';+import { MenuItem, MenuItemAvatar } from 'twenty-ui/primitives/navigation';import { type EmailRecipientResolution } from '@/activities/emails/recipients/hooks/useEmailRecipientsResolution';import { type EmailRecipient } from '@/activities/emails/recipients/types/EmailRecipient';diff --git a/packages/twenty-front/src/modules/activities/emails/recipients/components/EmailRecipientSuggestionMenuItem.tsx b/packages/twenty-front/src/modules/activities/emails/recipients/components/EmailRecipientSuggestionMenuItem.tsxindex 56e2beeab03..952bb6f3d80 100644--- a/packages/twenty-front/src/modules/activities/emails/recipients/components/EmailRecipientSuggestionMenuItem.tsx+++ b/packages/twenty-front/src/modules/activities/emails/recipients/components/EmailRecipientSuggestionMenuItem.tsx@@ -1,5 +1,5 @@-import { Avatar } from 'twenty-ui/data-display';-import { MenuItemSelectAvatar } from 'twenty-ui/navigation';+import { Avatar } from 'twenty-ui/primitives/data-display';+import { MenuItemSelectAvatar } from 'twenty-ui/primitives/navigation';import { type EmailRecipientSuggestion } from '@/activities/emails/recipients/hooks/useEmailRecipientSuggestions';import { SelectableListItem } from '@/ui/layout/selectable-list/components/SelectableListItem';diff --git a/packages/twenty-front/src/modules/activities/emails/recipients/components/EmailRecipientSuggestionsDropdownContent.tsx b/packages/twenty-front/src/modules/activities/emails/recipients/components/EmailRecipientSuggestionsDropdownContent.tsxindex e46ba5120c3..9009a8ea5f9 100644--- a/packages/twenty-front/src/modules/activities/emails/recipients/components/EmailRecipientSuggestionsDropdownContent.tsx+++ b/packages/twenty-front/src/modules/activities/emails/recipients/components/EmailRecipientSuggestionsDropdownContent.tsx@@ -1,5 +1,5 @@import { useLingui } from '@lingui/react/macro';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { EmailRecipientSuggestionMenuItem } from '@/activities/emails/recipients/components/EmailRecipientSuggestionMenuItem';import { type EmailRecipientSuggestion } from '@/activities/emails/recipients/hooks/useEmailRecipientSuggestions';diff --git a/packages/twenty-front/src/modules/activities/emails/recipients/components/EmailRecipientsFieldChip.tsx b/packages/twenty-front/src/modules/activities/emails/recipients/components/EmailRecipientsFieldChip.tsxindex 87f2e2e810e..44a84fe6692 100644--- a/packages/twenty-front/src/modules/activities/emails/recipients/components/EmailRecipientsFieldChip.tsx+++ b/packages/twenty-front/src/modules/activities/emails/recipients/components/EmailRecipientsFieldChip.tsx@@ -1,6 +1,6 @@import { useLingui } from '@lingui/react/macro';import { isDefined } from 'twenty-shared/utils';-import { Avatar } from 'twenty-ui/data-display';+import { Avatar } from 'twenty-ui/primitives/data-display';import { EmailRecipientChipMenuContent } from '@/activities/emails/recipients/components/EmailRecipientChipMenuContent';import { type EmailRecipientResolution } from '@/activities/emails/recipients/hooks/useEmailRecipientsResolution';diff --git a/packages/twenty-front/src/modules/activities/files/components/AttachmentDropdown.tsx b/packages/twenty-front/src/modules/activities/files/components/AttachmentDropdown.tsxindex bf28d903544..ed905f8976f 100644--- a/packages/twenty-front/src/modules/activities/files/components/AttachmentDropdown.tsx+++ b/packages/twenty-front/src/modules/activities/files/components/AttachmentDropdown.tsx@@ -10,8 +10,8 @@ import {IconPencil,IconTrash,} from 'twenty-ui/icon';-import { LightIconButton } from 'twenty-ui/input';-import { MenuItem } from 'twenty-ui/navigation';+import { LightIconButton } from 'twenty-ui/primitives/input';+import { MenuItem } from 'twenty-ui/primitives/navigation';type AttachmentDropdownProps = {onDownload: () => void;diff --git a/packages/twenty-front/src/modules/activities/files/components/AttachmentList.tsx b/packages/twenty-front/src/modules/activities/files/components/AttachmentList.tsxindex 46d6ff21472..4164454a2f0 100644--- a/packages/twenty-front/src/modules/activities/files/components/AttachmentList.tsx+++ b/packages/twenty-front/src/modules/activities/files/components/AttachmentList.tsx@@ -11,7 +11,7 @@ import { type ActivityTargetableObject } from '@/activities/types/ActivityTargetimport { isAttachmentPreviewEnabledState } from '@/client-config/states/isAttachmentPreviewEnabledState';import { ModalStatefulWrapper } from '@/ui/layout/modal/components/ModalStatefulWrapper';import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';-import { ModalContent, ModalHeader } from 'twenty-ui/surfaces';+import { ModalContent, ModalHeader } from 'twenty-ui/primitives/surfaces';import { ActivityList } from '@/activities/components/ActivityList';import {@@ -24,7 +24,7 @@ import { useModal } from '@/ui/layout/modal/hooks/useModal';import { ScrollWrapper } from '@/ui/utilities/scroll/components/ScrollWrapper';import { isDefined } from 'twenty-shared/utils';import { IconDownload, IconX } from 'twenty-ui/icon';-import { IconButton } from 'twenty-ui/input';+import { IconButton } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';import { PermissionFlagType } from '~/generated-metadata/graphql';import { AttachmentRow } from './AttachmentRow';diff --git a/packages/twenty-front/src/modules/activities/files/components/AttachmentRow.tsx b/packages/twenty-front/src/modules/activities/files/components/AttachmentRow.tsxindex b720ff5e797..dcb74670f06 100644--- a/packages/twenty-front/src/modules/activities/files/components/AttachmentRow.tsx+++ b/packages/twenty-front/src/modules/activities/files/components/AttachmentRow.tsx@@ -18,7 +18,7 @@ import { FileIcon } from '@/file/components/FileIcon';import { useHasPermissionFlag } from '@/settings/roles/hooks/useHasPermissionFlag';import { CoreObjectNameSingular } from 'twenty-shared/types';import { IconCalendar } from 'twenty-ui/icon';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';import { isNavigationModifierPressed } from 'twenty-ui/utilities';import { PermissionFlagType } from '~/generated-metadata/graphql';diff --git a/packages/twenty-front/src/modules/activities/files/components/DocumentViewer.tsx b/packages/twenty-front/src/modules/activities/files/components/DocumentViewer.tsxindex fa58418f7ab..f9fc9cacf0c 100644--- a/packages/twenty-front/src/modules/activities/files/components/DocumentViewer.tsx+++ b/packages/twenty-front/src/modules/activities/files/components/DocumentViewer.tsx@@ -14,7 +14,7 @@ import { Trans, useLingui } from '@lingui/react/macro';import { useContext, useEffect, useState } from 'react';import { isDefined } from 'twenty-shared/utils';import { IconDownload } from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';+import { Button } from 'twenty-ui/primitives/input';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';import { getFileNameAndExtension } from '~/utils/file/getFileNameAndExtension';diff --git a/packages/twenty-front/src/modules/activities/files/components/FilesCardContent.tsx b/packages/twenty-front/src/modules/activities/files/components/FilesCardContent.tsxindex 9ced9306ae5..93b6f84be01 100644--- a/packages/twenty-front/src/modules/activities/files/components/FilesCardContent.tsx+++ b/packages/twenty-front/src/modules/activities/files/components/FilesCardContent.tsx@@ -13,9 +13,9 @@ import {AnimatedPlaceholderEmptySubTitle,AnimatedPlaceholderEmptyTextContainer,AnimatedPlaceholderEmptyTitle,-} from 'twenty-ui/feedback';+} from 'twenty-ui/primitives/feedback';import { IconPlus } from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';+import { Button } from 'twenty-ui/primitives/input';const StyledAttachmentsContainer = styled.div`display: flex;diff --git a/packages/twenty-front/src/modules/activities/files/components/UnavailableFilePreview.tsx b/packages/twenty-front/src/modules/activities/files/components/UnavailableFilePreview.tsxindex 18924ef86b2..d72bbad6161 100644--- a/packages/twenty-front/src/modules/activities/files/components/UnavailableFilePreview.tsx+++ b/packages/twenty-front/src/modules/activities/files/components/UnavailableFilePreview.tsx@@ -3,7 +3,7 @@ import { styled } from '@linaria/react';import { Trans, useLingui } from '@lingui/react/macro';import { type ReactNode } from 'react';import { IconDownload } from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';+import { Button } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledContainer = styled.div`diff --git a/packages/twenty-front/src/modules/activities/notes/components/NotesCardContent.tsx b/packages/twenty-front/src/modules/activities/notes/components/NotesCardContent.tsxindex 787e0bc5fc1..8686b282f3d 100644--- a/packages/twenty-front/src/modules/activities/notes/components/NotesCardContent.tsx+++ b/packages/twenty-front/src/modules/activities/notes/components/NotesCardContent.tsx@@ -11,9 +11,9 @@ import {AnimatedPlaceholderEmptySubTitle,AnimatedPlaceholderEmptyTextContainer,AnimatedPlaceholderEmptyTitle,-} from 'twenty-ui/feedback';+} from 'twenty-ui/primitives/feedback';import { IconPlus } from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';+import { Button } from 'twenty-ui/primitives/input';const StyledNotesContainer = styled.div`display: flex;diff --git a/packages/twenty-front/src/modules/activities/tasks/components/TaskGroupsContent.tsx b/packages/twenty-front/src/modules/activities/tasks/components/TaskGroupsContent.tsxindex 0dec830a147..8ff0d96ed94 100644--- a/packages/twenty-front/src/modules/activities/tasks/components/TaskGroupsContent.tsx+++ b/packages/twenty-front/src/modules/activities/tasks/components/TaskGroupsContent.tsx@@ -13,9 +13,9 @@ import {AnimatedPlaceholderEmptySubTitle,AnimatedPlaceholderEmptyTextContainer,AnimatedPlaceholderEmptyTitle,-} from 'twenty-ui/feedback';+} from 'twenty-ui/primitives/feedback';import { IconPlus } from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';+import { Button } from 'twenty-ui/primitives/input';const StyledContainer = styled.div`display: flex;diff --git a/packages/twenty-front/src/modules/activities/tasks/components/TaskList.tsx b/packages/twenty-front/src/modules/activities/tasks/components/TaskList.tsxindex 989c82b85d5..12d8a193f44 100644--- a/packages/twenty-front/src/modules/activities/tasks/components/TaskList.tsx+++ b/packages/twenty-front/src/modules/activities/tasks/components/TaskList.tsx@@ -2,7 +2,7 @@ import { styled } from '@linaria/react';import { ActivityList } from '@/activities/components/ActivityList';import { type Task } from '@/activities/types/Task';-import { SelectDisplay } from 'twenty-ui/data-display';+import { SelectDisplay } from 'twenty-ui/primitives/data-display';import { type ThemeColor } from 'twenty-ui/theme';import { themeCssVariables } from 'twenty-ui/theme-constants';import { TaskRow } from './TaskRow';diff --git a/packages/twenty-front/src/modules/activities/tasks/components/TaskRow.tsx b/packages/twenty-front/src/modules/activities/tasks/components/TaskRow.tsxindex 74da123d32d..d0fa660ed82 100644--- a/packages/twenty-front/src/modules/activities/tasks/components/TaskRow.tsx+++ b/packages/twenty-front/src/modules/activities/tasks/components/TaskRow.tsx@@ -18,8 +18,8 @@ import { RecordInlineCell } from '@/object-record/record-inline-cell/components/import { getRecordFieldInputInstanceId } from '@/object-record/utils/getRecordFieldInputId';import { useContext } from 'react';import { IconCalendar } from 'twenty-ui/icon';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';-import { Checkbox } from 'twenty-ui/input';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';+import { Checkbox } from 'twenty-ui/primitives/input';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';import { useCompleteTask } from '@/activities/tasks/hooks/useCompleteTask';diff --git a/packages/twenty-front/src/modules/activities/timeline-activities/components/EventList.tsx b/packages/twenty-front/src/modules/activities/timeline-activities/components/EventList.tsxindex 9e17fdf0f6d..e032f0f0812 100644--- a/packages/twenty-front/src/modules/activities/timeline-activities/components/EventList.tsx+++ b/packages/twenty-front/src/modules/activities/timeline-activities/components/EventList.tsx@@ -16,7 +16,7 @@ import {AnimatedPlaceholderEmptySubTitle,AnimatedPlaceholderEmptyTextContainer,AnimatedPlaceholderEmptyTitle,-} from 'twenty-ui/feedback';+} from 'twenty-ui/primitives/feedback';import { themeCssVariables } from 'twenty-ui/theme-constants';type EventListProps = {diff --git a/packages/twenty-front/src/modules/activities/timeline-activities/components/TimelineCard.tsx b/packages/twenty-front/src/modules/activities/timeline-activities/components/TimelineCard.tsxindex 9d055396160..6c3b3a476c2 100644--- a/packages/twenty-front/src/modules/activities/timeline-activities/components/TimelineCard.tsx+++ b/packages/twenty-front/src/modules/activities/timeline-activities/components/TimelineCard.tsx@@ -15,7 +15,7 @@ import {AnimatedPlaceholderEmptySubTitle,AnimatedPlaceholderEmptyTextContainer,AnimatedPlaceholderEmptyTitle,-} from 'twenty-ui/feedback';+} from 'twenty-ui/primitives/feedback';import { MOBILE_VIEWPORT, themeCssVariables } from 'twenty-ui/theme-constants';const StyledMainContainer = styled(StyledWidgetScrollContainer)`diff --git a/packages/twenty-front/src/modules/activities/timeline-activities/rows/components/EventCardToggleButton.tsx b/packages/twenty-front/src/modules/activities/timeline-activities/rows/components/EventCardToggleButton.tsxindex 037f7036aec..3b2a91eb1a7 100644--- a/packages/twenty-front/src/modules/activities/timeline-activities/rows/components/EventCardToggleButton.tsx+++ b/packages/twenty-front/src/modules/activities/timeline-activities/rows/components/EventCardToggleButton.tsx@@ -1,7 +1,7 @@import { TIMELINE_ICON_SLOT_SIZE } from '@/activities/timeline-activities/constants/TimelineIconSlotSize';import { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';-import { IconButton } from 'twenty-ui/input';+import { IconButton } from 'twenty-ui/primitives/input';import { IconChevronDown, IconChevronUp } from 'twenty-ui/icon';import { themeCssVariables } from 'twenty-ui/theme-constants';diff --git a/packages/twenty-front/src/modules/activities/timeline-activities/rows/components/EventRowDate.tsx b/packages/twenty-front/src/modules/activities/timeline-activities/rows/components/EventRowDate.tsxindex e04f29f5a3d..0b88a744f3d 100644--- a/packages/twenty-front/src/modules/activities/timeline-activities/rows/components/EventRowDate.tsx+++ b/packages/twenty-front/src/modules/activities/timeline-activities/rows/components/EventRowDate.tsx@@ -4,7 +4,7 @@ import { useId } from 'react';import { useDateTimeFormat } from '@/localization/hooks/useDateTimeFormat';import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';-import { AppTooltip, TooltipDelay } from 'twenty-ui/surfaces';+import { AppTooltip, TooltipDelay } from 'twenty-ui/primitives/surfaces';import { MOBILE_VIEWPORT, themeCssVariables } from 'twenty-ui/theme-constants';import { dateLocaleState } from '~/localization/states/dateLocaleState';import { beautifyPastDateRelativeToNow } from '~/utils/date-utils';diff --git a/packages/twenty-front/src/modules/activities/timeline-activities/rows/generic/components/EventRowGenericLinked.tsx b/packages/twenty-front/src/modules/activities/timeline-activities/rows/generic/components/EventRowGenericLinked.tsxindex 60d5778ac52..3f4e5f455cc 100644--- a/packages/twenty-front/src/modules/activities/timeline-activities/rows/generic/components/EventRowGenericLinked.tsx+++ b/packages/twenty-front/src/modules/activities/timeline-activities/rows/generic/components/EventRowGenericLinked.tsx@@ -15,7 +15,7 @@ import {} from '@/activities/timeline-activities/rows/components/EventRowStyles';import { useOpenRecordInSidePanel } from '@/side-panel/hooks/useOpenRecordInSidePanel';import { isDefined } from 'twenty-shared/utils';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';import { SidePanelSearchRecordPreviewCard } from '@/side-panel/pages/search/components/SidePanelSearchRecordPreviewCard';import { allowRequestsToTwentyIconsState } from '@/client-config/states/allowRequestsToTwentyIcons';import { recordStoreIdentifierFamilySelector } from '@/object-record/record-store/states/selectors/recordStoreIdentifierFamilySelector';diff --git a/packages/twenty-front/src/modules/activities/timeline-activities/rows/main-object/components/EventRelationFieldDiffValues.tsx b/packages/twenty-front/src/modules/activities/timeline-activities/rows/main-object/components/EventRelationFieldDiffValues.tsxindex a5a79b3c99e..1c0f412533c 100644--- a/packages/twenty-front/src/modules/activities/timeline-activities/rows/main-object/components/EventRelationFieldDiffValues.tsx+++ b/packages/twenty-front/src/modules/activities/timeline-activities/rows/main-object/components/EventRelationFieldDiffValues.tsx@@ -8,7 +8,11 @@ import { getObjectRecordIdentifier } from '@/object-metadata/utils/getObjectRecoimport { useFindManyRecords } from '@/object-record/hooks/useFindManyRecords';import { Trans, useLingui } from '@lingui/react/macro';import { isDefined } from 'twenty-shared/utils';-import { AppTooltip, TooltipDelay, TooltipPosition } from 'twenty-ui/surfaces';+import {+ AppTooltip,+ TooltipDelay,+ TooltipPosition,+} from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';type EventRelationFieldDiffValuesProps = {diff --git a/packages/twenty-front/src/modules/activities/timeline-activities/rows/message/components/EventCardMessage.tsx b/packages/twenty-front/src/modules/activities/timeline-activities/rows/message/components/EventCardMessage.tsxindex e6ad3ccb609..220f859f4fb 100644--- a/packages/twenty-front/src/modules/activities/timeline-activities/rows/message/components/EventCardMessage.tsx+++ b/packages/twenty-front/src/modules/activities/timeline-activities/rows/message/components/EventCardMessage.tsx@@ -3,7 +3,7 @@ import { styled } from '@linaria/react';import { Trans } from '@lingui/react/macro';import { CoreObjectNameSingular } from 'twenty-shared/types';import { isDefined, isFieldValueRestricted } from 'twenty-shared/utils';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';import { type EmailThreadMessage } from '@/activities/emails/types/EmailThreadMessage';diff --git a/packages/twenty-front/src/modules/advanced-text-editor/components/AdvancedTextEditorInsertRail.tsx b/packages/twenty-front/src/modules/advanced-text-editor/components/AdvancedTextEditorInsertRail.tsxindex 3071de8a7bc..dd1a0d2f7ea 100644--- a/packages/twenty-front/src/modules/advanced-text-editor/components/AdvancedTextEditorInsertRail.tsx+++ b/packages/twenty-front/src/modules/advanced-text-editor/components/AdvancedTextEditorInsertRail.tsx@@ -15,8 +15,8 @@ import {IconTypography,IconVariable,} from 'twenty-ui/icon';-import { Button, LightIconButton } from 'twenty-ui/input';-import { MenuItem } from 'twenty-ui/navigation';+import { Button, LightIconButton } from 'twenty-ui/primitives/input';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { themeCssVariables } from 'twenty-ui/theme-constants';import { ADVANCED_TEXT_EDITOR_BLOCK_INSERTION_RECIPES } from '@/advanced-text-editor/constants/AdvancedTextEditorBlockInsertionRecipes';diff --git a/packages/twenty-front/src/modules/advanced-text-editor/components/BubbleMenuIconButton.tsx b/packages/twenty-front/src/modules/advanced-text-editor/components/BubbleMenuIconButton.tsxindex 01763209823..73bab80c77e 100644--- a/packages/twenty-front/src/modules/advanced-text-editor/components/BubbleMenuIconButton.tsx+++ b/packages/twenty-front/src/modules/advanced-text-editor/components/BubbleMenuIconButton.tsx@@ -1,6 +1,6 @@import React from 'react';import type { IconComponent } from 'twenty-ui/icon';-import { LightIconButton } from 'twenty-ui/input';+import { LightIconButton } from 'twenty-ui/primitives/input';type BubbleMenuIconButtonProps = {className?: string;diff --git a/packages/twenty-front/src/modules/advanced-text-editor/components/FormAdvancedTextFieldInput.tsx b/packages/twenty-front/src/modules/advanced-text-editor/components/FormAdvancedTextFieldInput.tsxindex a43f9a872ad..604843a9a1b 100644--- a/packages/twenty-front/src/modules/advanced-text-editor/components/FormAdvancedTextFieldInput.tsx+++ b/packages/twenty-front/src/modules/advanced-text-editor/components/FormAdvancedTextFieldInput.tsx@@ -17,7 +17,7 @@ import { type Editor } from '@tiptap/core';import { type ComponentType, useEffect, useId, useState } from 'react';import { isDefined } from 'twenty-shared/utils';import { IconMaximize } from 'twenty-ui/icon';-import { Field, LightIconButton } from 'twenty-ui/input';+import { Field, LightIconButton } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';import { useIsMobile } from 'twenty-ui/utilities';diff --git a/packages/twenty-front/src/modules/advanced-text-editor/components/TurnIntoBlockDropdown.tsx b/packages/twenty-front/src/modules/advanced-text-editor/components/TurnIntoBlockDropdown.tsxindex 3855e7cf751..e90bfc0a397 100644--- a/packages/twenty-front/src/modules/advanced-text-editor/components/TurnIntoBlockDropdown.tsx+++ b/packages/twenty-front/src/modules/advanced-text-editor/components/TurnIntoBlockDropdown.tsx@@ -8,7 +8,7 @@ import { t } from '@lingui/core/macro';import { type Editor } from '@tiptap/react';import { useContext, useId } from 'react';import { IconPilcrow } from 'twenty-ui/icon';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';const StyledMenuItem = styled.button`diff --git a/packages/twenty-front/src/modules/advanced-text-editor/extensions/slash-command/SlashCommandMenu.tsx b/packages/twenty-front/src/modules/advanced-text-editor/extensions/slash-command/SlashCommandMenu.tsxindex 433562b9424..5ed05b10cc4 100644--- a/packages/twenty-front/src/modules/advanced-text-editor/extensions/slash-command/SlashCommandMenu.tsx+++ b/packages/twenty-front/src/modules/advanced-text-editor/extensions/slash-command/SlashCommandMenu.tsx@@ -1,6 +1,6 @@import { type Editor, type Range } from '@tiptap/core';import { forwardRef, useCallback, useState } from 'react';-import { MenuItemSuggestion } from 'twenty-ui/navigation';+import { MenuItemSuggestion } from 'twenty-ui/primitives/navigation';import { type SlashCommandItem } from '@/advanced-text-editor/extensions/slash-command/SlashCommand';import { SuggestionMenu } from '@/ui/suggestion/components/SuggestionMenu';diff --git a/packages/twenty-front/src/modules/ai/components/AiChatCloseButton.tsx b/packages/twenty-front/src/modules/ai/components/AiChatCloseButton.tsxindex 563b809d999..6611e66892b 100644--- a/packages/twenty-front/src/modules/ai/components/AiChatCloseButton.tsx+++ b/packages/twenty-front/src/modules/ai/components/AiChatCloseButton.tsx@@ -1,6 +1,6 @@import { useLingui } from '@lingui/react/macro';import { IconX } from 'twenty-ui/icon';-import { IconButton } from 'twenty-ui/input';+import { IconButton } from 'twenty-ui/primitives/input';import { useReturnFromExpandedAiChat } from '@/ai/hooks/useReturnFromExpandedAiChat';import { isWelcomeAnimationVisibleState } from '@/onboarding/states/isWelcomeAnimationVisibleState';diff --git a/packages/twenty-front/src/modules/ai/components/AiChatErrorMessage.tsx b/packages/twenty-front/src/modules/ai/components/AiChatErrorMessage.tsxindex 98a1983afe6..f513deb356c 100644--- a/packages/twenty-front/src/modules/ai/components/AiChatErrorMessage.tsx+++ b/packages/twenty-front/src/modules/ai/components/AiChatErrorMessage.tsx@@ -2,7 +2,7 @@ import { CombinedGraphQLErrors } from '@apollo/client/errors';import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';import { IconAlertCircle, IconRefresh } from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';+import { Button } from 'twenty-ui/primitives/input';import { useContext } from 'react';import { isDefined } from 'twenty-shared/utils';diff --git a/packages/twenty-front/src/modules/ai/components/AiChatInlineBanner.tsx b/packages/twenty-front/src/modules/ai/components/AiChatInlineBanner.tsxindex 1dff1fbd50a..6f3dab57143 100644--- a/packages/twenty-front/src/modules/ai/components/AiChatInlineBanner.tsx+++ b/packages/twenty-front/src/modules/ai/components/AiChatInlineBanner.tsx@@ -1,5 +1,5 @@import { type ComponentProps } from 'react';-import { InlineBanner } from 'twenty-ui/feedback';+import { InlineBanner } from 'twenty-ui/primitives/feedback';type AiChatInlineBannerProps = Pick<ComponentProps<typeof InlineBanner>,diff --git a/packages/twenty-front/src/modules/ai/components/AiChatPageThreadHeader.tsx b/packages/twenty-front/src/modules/ai/components/AiChatPageThreadHeader.tsxindex 7c4199e528f..7008f0c6fe3 100644--- a/packages/twenty-front/src/modules/ai/components/AiChatPageThreadHeader.tsx+++ b/packages/twenty-front/src/modules/ai/components/AiChatPageThreadHeader.tsx@@ -3,8 +3,8 @@ import { useLingui } from '@lingui/react/macro';import { Key } from 'ts-key-enum';import { isDefined } from 'twenty-shared/utils';import { IconDotsVertical, IconPlus } from 'twenty-ui/icon';-import { Button, IconButton } from 'twenty-ui/input';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';+import { Button, IconButton } from 'twenty-ui/primitives/input';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';import { AiChatThreadItemMenu } from '@/ai/components/AiChatThreadItemMenu';diff --git a/packages/twenty-front/src/modules/ai/components/AiChatQuestionCard.tsx b/packages/twenty-front/src/modules/ai/components/AiChatQuestionCard.tsxindex 364782cf1b8..2a038e896c5 100644--- a/packages/twenty-front/src/modules/ai/components/AiChatQuestionCard.tsx+++ b/packages/twenty-front/src/modules/ai/components/AiChatQuestionCard.tsx@@ -3,7 +3,7 @@ import { useLingui } from '@lingui/react/macro';import { type KeyboardEvent, useContext, useMemo, useState } from 'react';import { type AskQuestionAnswer, type AskQuestionItem } from 'twenty-shared/ai';import { isDefined } from 'twenty-shared/utils';-import { AppTooltip, TooltipDelay } from 'twenty-ui/surfaces';+import { AppTooltip, TooltipDelay } from 'twenty-ui/primitives/surfaces';import {IconArrowUp,IconChevronLeft,@@ -20,7 +20,7 @@ import {IconSquareNumber8,IconSquareNumber9,} from 'twenty-ui/icon';-import { LightIconButton, RoundedIconButton } from 'twenty-ui/input';+import { LightIconButton, RoundedIconButton } from 'twenty-ui/primitives/input';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';import { AgentChatFileUploadButton } from '@/ai/components/internal/AgentChatFileUploadButton';diff --git a/packages/twenty-front/src/modules/ai/components/AiChatQueuedMessages.tsx b/packages/twenty-front/src/modules/ai/components/AiChatQueuedMessages.tsxindex 906b725f943..a9e82308ba2 100644--- a/packages/twenty-front/src/modules/ai/components/AiChatQueuedMessages.tsx+++ b/packages/twenty-front/src/modules/ai/components/AiChatQueuedMessages.tsx@@ -8,7 +8,7 @@ import { useAtomComponentFamilyStateValue } from '@/ui/utilities/state/jotai/hooimport { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';import { isDefined } from 'twenty-shared/utils';import { IconX } from 'twenty-ui/icon';-import { LightIconButton } from 'twenty-ui/input';+import { LightIconButton } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledQueueContainer = styled(StyledAiChatContentContainer)`diff --git a/packages/twenty-front/src/modules/ai/components/AiChatThreadFilterDropdown.tsx b/packages/twenty-front/src/modules/ai/components/AiChatThreadFilterDropdown.tsxindex 85e7faa9dfc..505ffc222e8 100644--- a/packages/twenty-front/src/modules/ai/components/AiChatThreadFilterDropdown.tsx+++ b/packages/twenty-front/src/modules/ai/components/AiChatThreadFilterDropdown.tsx@@ -1,7 +1,7 @@import { useLingui } from '@lingui/react/macro';import { useState } from 'react';import { IconFilter } from 'twenty-ui/icon';-import { LightIconButton } from 'twenty-ui/input';+import { LightIconButton } from 'twenty-ui/primitives/input';import { AiChatThreadFilterDropdownContent } from '@/ai/components/AiChatThreadFilterDropdownContent';import { AI_CHAT_THREAD_FILTER_DROPDOWN_PAGE } from '@/ai/constants/AiChatThreadFilterDropdownPage';diff --git a/packages/twenty-front/src/modules/ai/components/AiChatThreadFilterDropdownGroupByMenu.tsx b/packages/twenty-front/src/modules/ai/components/AiChatThreadFilterDropdownGroupByMenu.tsxindex d78c0a8907d..6be90a7dcf3 100644--- a/packages/twenty-front/src/modules/ai/components/AiChatThreadFilterDropdownGroupByMenu.tsx+++ b/packages/twenty-front/src/modules/ai/components/AiChatThreadFilterDropdownGroupByMenu.tsx@@ -1,6 +1,6 @@import { useLingui } from '@lingui/react/macro';import { IconChevronLeft } from 'twenty-ui/icon';-import { MenuItemSelect } from 'twenty-ui/navigation';+import { MenuItemSelect } from 'twenty-ui/primitives/navigation';import { AGENT_CHAT_THREAD_GROUP_BY } from '@/ai/constants/AgentChatThreadGroupBy';import { AGENT_CHAT_THREAD_GROUP_BY_LABELS } from '@/ai/constants/AgentChatThreadGroupByLabels';diff --git a/packages/twenty-front/src/modules/ai/components/AiChatThreadFilterDropdownLastActivityMenu.tsx b/packages/twenty-front/src/modules/ai/components/AiChatThreadFilterDropdownLastActivityMenu.tsxindex 9c3f8261593..207e4d2ac31 100644--- a/packages/twenty-front/src/modules/ai/components/AiChatThreadFilterDropdownLastActivityMenu.tsx+++ b/packages/twenty-front/src/modules/ai/components/AiChatThreadFilterDropdownLastActivityMenu.tsx@@ -1,6 +1,6 @@import { useLingui } from '@lingui/react/macro';import { IconChevronLeft } from 'twenty-ui/icon';-import { MenuItemSelect } from 'twenty-ui/navigation';+import { MenuItemSelect } from 'twenty-ui/primitives/navigation';import { AGENT_CHAT_THREAD_LAST_ACTIVITY_FILTER } from '@/ai/constants/AgentChatThreadLastActivityFilter';import { AGENT_CHAT_THREAD_LAST_ACTIVITY_FILTER_LABELS } from '@/ai/constants/AgentChatThreadLastActivityFilterLabels';diff --git a/packages/twenty-front/src/modules/ai/components/AiChatThreadFilterDropdownRootMenu.tsx b/packages/twenty-front/src/modules/ai/components/AiChatThreadFilterDropdownRootMenu.tsxindex 3ce5d4a2d49..d8588a04749 100644--- a/packages/twenty-front/src/modules/ai/components/AiChatThreadFilterDropdownRootMenu.tsx+++ b/packages/twenty-front/src/modules/ai/components/AiChatThreadFilterDropdownRootMenu.tsx@@ -22,7 +22,7 @@ import { DropdownMenuItemsContainer } from '@/ui/layout/dropdown/components/Dropimport { DropdownMenuSeparator } from '@/ui/layout/dropdown/components/DropdownMenuSeparator';import { useCloseDropdown } from '@/ui/layout/dropdown/hooks/useCloseDropdown';import { useAtomState } from '@/ui/utilities/state/jotai/hooks/useAtomState';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';type AiChatThreadFilterDropdownRootMenuProps = {dropdownId: string;diff --git a/packages/twenty-front/src/modules/ai/components/AiChatThreadFilterDropdownStatusMenu.tsx b/packages/twenty-front/src/modules/ai/components/AiChatThreadFilterDropdownStatusMenu.tsxindex eae0d2f62d2..6903c9b03eb 100644--- a/packages/twenty-front/src/modules/ai/components/AiChatThreadFilterDropdownStatusMenu.tsx+++ b/packages/twenty-front/src/modules/ai/components/AiChatThreadFilterDropdownStatusMenu.tsx@@ -1,6 +1,6 @@import { useLingui } from '@lingui/react/macro';import { IconChevronLeft } from 'twenty-ui/icon';-import { MenuItemSelect } from 'twenty-ui/navigation';+import { MenuItemSelect } from 'twenty-ui/primitives/navigation';import { AGENT_CHAT_THREAD_FILTER_STATUS } from '@/ai/constants/AgentChatThreadFilterStatus';import { AGENT_CHAT_THREAD_FILTER_STATUS_LABELS } from '@/ai/constants/AgentChatThreadFilterStatusLabels';diff --git a/packages/twenty-front/src/modules/ai/components/AiChatThreadItemMenu.tsx b/packages/twenty-front/src/modules/ai/components/AiChatThreadItemMenu.tsxindex 0c099b9b90f..afb6502d7f4 100644--- a/packages/twenty-front/src/modules/ai/components/AiChatThreadItemMenu.tsx+++ b/packages/twenty-front/src/modules/ai/components/AiChatThreadItemMenu.tsx@@ -7,8 +7,8 @@ import {IconPencil,IconTrash,} from 'twenty-ui/icon';-import { LightIconButton } from 'twenty-ui/input';-import { MenuItem } from 'twenty-ui/navigation';+import { LightIconButton } from 'twenty-ui/primitives/input';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { type AiChatThreadActionsSurface } from '@/ai/types/AiChatThreadActionsSurface';import { useChatThreadArchiveActions } from '@/ai/hooks/useChatThreadArchiveActions';diff --git a/packages/twenty-front/src/modules/ai/components/AiModelPicker.tsx b/packages/twenty-front/src/modules/ai/components/AiModelPicker.tsxindex d576ca3960e..9d6a77c9b2c 100644--- a/packages/twenty-front/src/modules/ai/components/AiModelPicker.tsx+++ b/packages/twenty-front/src/modules/ai/components/AiModelPicker.tsx@@ -6,7 +6,7 @@ import {AUTO_SELECT_WORKSPACE_DEFAULT_MODEL_ID,} from 'twenty-shared/ai';import { isDefined } from 'twenty-shared/utils';-import { LightButton } from 'twenty-ui/input';+import { LightButton } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';import { AiModelTierSlider } from '@/ai/components/AiModelTierSlider';diff --git a/packages/twenty-front/src/modules/ai/components/AiModelTierSlider.tsx b/packages/twenty-front/src/modules/ai/components/AiModelTierSlider.tsxindex edbcf8882a1..319e8343abe 100644--- a/packages/twenty-front/src/modules/ai/components/AiModelTierSlider.tsx+++ b/packages/twenty-front/src/modules/ai/components/AiModelTierSlider.tsx@@ -7,7 +7,7 @@ import {isAiModelEffort,} from 'twenty-shared/ai';import { isDefined } from 'twenty-shared/utils';-import { AppTooltip, TooltipDelay } from 'twenty-ui/surfaces';+import { AppTooltip, TooltipDelay } from 'twenty-ui/primitives/surfaces';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';import { useAiModelTiers } from '@/ai/hooks/useAiModelTiers';diff --git a/packages/twenty-front/src/modules/ai/components/ChatReferenceChip.tsx b/packages/twenty-front/src/modules/ai/components/ChatReferenceChip.tsxindex 0b7369e1c94..5fccd172d9d 100644--- a/packages/twenty-front/src/modules/ai/components/ChatReferenceChip.tsx+++ b/packages/twenty-front/src/modules/ai/components/ChatReferenceChip.tsx@@ -1,7 +1,7 @@import { t } from '@lingui/core/macro';import { useContext } from 'react';import { isDefined } from 'twenty-shared/utils';-import { Chip, LinkChip } from 'twenty-ui/data-display';+import { Chip, LinkChip } from 'twenty-ui/primitives/data-display';import { ChatReferenceNavigationEnabledContext } from '@/ai/contexts/ChatReferenceNavigationEnabledContext';import { useChatReferenceTarget } from '@/ai/hooks/useChatReferenceTarget';diff --git a/packages/twenty-front/src/modules/ai/components/CodeExecutionDisplay.tsx b/packages/twenty-front/src/modules/ai/components/CodeExecutionDisplay.tsxindex c465ed1cc4f..2e84c4f6eeb 100644--- a/packages/twenty-front/src/modules/ai/components/CodeExecutionDisplay.tsx+++ b/packages/twenty-front/src/modules/ai/components/CodeExecutionDisplay.tsx@@ -2,7 +2,7 @@ import { TerminalOutput } from '@/ai/components/TerminalOutput';import { styled } from '@linaria/react';import { useContext, useState } from 'react';import { useLingui } from '@lingui/react/macro';-import { Tag } from 'twenty-ui/data-display';+import { Tag } from 'twenty-ui/primitives/data-display';import {IconChevronDown,IconChevronUp,@@ -11,8 +11,8 @@ import {IconDownload,IconFile,} from 'twenty-ui/icon';-import { CodeEditor, LightIconButton } from 'twenty-ui/input';-import { AnimatedExpandableContainer } from 'twenty-ui/layout';+import { CodeEditor, LightIconButton } from 'twenty-ui/primitives/input';+import { AnimatedExpandableContainer } from 'twenty-ui/primitives/layout';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';import { useCopyToClipboard } from '~/hooks/useCopyToClipboard';diff --git a/packages/twenty-front/src/modules/ai/components/MarkdownCodeBlock.tsx b/packages/twenty-front/src/modules/ai/components/MarkdownCodeBlock.tsxindex a89cba04cc8..3b45a93ab78 100644--- a/packages/twenty-front/src/modules/ai/components/MarkdownCodeBlock.tsx+++ b/packages/twenty-front/src/modules/ai/components/MarkdownCodeBlock.tsx@@ -3,7 +3,7 @@ import { useLingui } from '@lingui/react/macro';import { isNumber, isString } from '@sniptt/guards';import { Children, isValidElement } from 'react';import { IconCopy } from 'twenty-ui/icon';-import { LightIconButton } from 'twenty-ui/input';+import { LightIconButton } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';import { useCopyToClipboard } from '~/hooks/useCopyToClipboard';diff --git a/packages/twenty-front/src/modules/ai/components/NavigationDrawerAiChatThreadSection.tsx b/packages/twenty-front/src/modules/ai/components/NavigationDrawerAiChatThreadSection.tsxindex 5287a5fe809..d54b23effbd 100644--- a/packages/twenty-front/src/modules/ai/components/NavigationDrawerAiChatThreadSection.tsx+++ b/packages/twenty-front/src/modules/ai/components/NavigationDrawerAiChatThreadSection.tsx@@ -1,6 +1,6 @@import { styled } from '@linaria/react';import { type ReactNode } from 'react';-import { AnimatedExpandableContainer } from 'twenty-ui/layout';+import { AnimatedExpandableContainer } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';import { NavigationDrawerAiChatThreadItem } from '@/ai/components/NavigationDrawerAiChatThreadItem';diff --git a/packages/twenty-front/src/modules/ai/components/RoutingDebugDisplay.tsx b/packages/twenty-front/src/modules/ai/components/RoutingDebugDisplay.tsxindex 26b83537ed5..2d1ced4a01d 100644--- a/packages/twenty-front/src/modules/ai/components/RoutingDebugDisplay.tsx+++ b/packages/twenty-front/src/modules/ai/components/RoutingDebugDisplay.tsx@@ -2,8 +2,8 @@ import { styled } from '@linaria/react';import { useContext, useState } from 'react';import { IconChevronDown, IconChevronUp } from 'twenty-ui/icon';-import { JsonTree } from 'twenty-ui/json-visualizer';-import { AnimatedExpandableContainer } from 'twenty-ui/layout';+import { JsonTree } from 'twenty-ui/primitives/json-visualizer';+import { AnimatedExpandableContainer } from 'twenty-ui/primitives/layout';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';import { useLingui } from '@lingui/react/macro';diff --git a/packages/twenty-front/src/modules/ai/components/RoutingStatusDisplay.tsx b/packages/twenty-front/src/modules/ai/components/RoutingStatusDisplay.tsxindex 72038d17fcc..58c5b17c461 100644--- a/packages/twenty-front/src/modules/ai/components/RoutingStatusDisplay.tsx+++ b/packages/twenty-front/src/modules/ai/components/RoutingStatusDisplay.tsx@@ -5,7 +5,7 @@ import { useContext, useState } from 'react';import { type DataMessagePart } from 'twenty-shared/ai';import { isDefined } from 'twenty-shared/utils';import { IconChevronDown, IconChevronUp, IconCpu } from 'twenty-ui/icon';-import { AnimatedExpandableContainer } from 'twenty-ui/layout';+import { AnimatedExpandableContainer } from 'twenty-ui/primitives/layout';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';const StyledContainer = styled.div`diff --git a/packages/twenty-front/src/modules/ai/components/SettingsAgentModelCapabilities.tsx b/packages/twenty-front/src/modules/ai/components/SettingsAgentModelCapabilities.tsxindex 1ff6fa9f7ee..f7d64b98a43 100644--- a/packages/twenty-front/src/modules/ai/components/SettingsAgentModelCapabilities.tsx+++ b/packages/twenty-front/src/modules/ai/components/SettingsAgentModelCapabilities.tsx@@ -1,11 +1,11 @@import { useResolvedAiModel } from '@/ai/hooks/useResolvedAiModel';-import { InputLabel, Checkbox } from 'twenty-ui/input';+import { InputLabel, Checkbox } from 'twenty-ui/primitives/input';import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';import { useContext } from 'react';import { isDefined } from 'twenty-shared/utils';import { IconBrandX, IconWorld } from 'twenty-ui/icon';-import { Section } from 'twenty-ui/layout';+import { Section } from 'twenty-ui/primitives/layout';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';const StyledCheckboxContainer = styled.div<{ disabled: boolean }>`diff --git a/packages/twenty-front/src/modules/ai/components/TerminalOutput.tsx b/packages/twenty-front/src/modules/ai/components/TerminalOutput.tsxindex 414d498901f..3ca1d3128c9 100644--- a/packages/twenty-front/src/modules/ai/components/TerminalOutput.tsx+++ b/packages/twenty-front/src/modules/ai/components/TerminalOutput.tsx@@ -3,7 +3,7 @@ import { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';import { useState } from 'react';import { IconCopy, IconTerminal } from 'twenty-ui/icon';-import { LightIconButton } from 'twenty-ui/input';+import { LightIconButton } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';import { useCopyToClipboard } from '~/hooks/useCopyToClipboard';diff --git a/packages/twenty-front/src/modules/ai/components/ThinkingStepsDisplay.tsx b/packages/twenty-front/src/modules/ai/components/ThinkingStepsDisplay.tsxindex 61220ceb4a7..865298a39d0 100644--- a/packages/twenty-front/src/modules/ai/components/ThinkingStepsDisplay.tsx+++ b/packages/twenty-front/src/modules/ai/components/ThinkingStepsDisplay.tsx@@ -4,9 +4,12 @@ import { useState } from 'react';import { type DynamicToolUIPart, getToolName, type ToolUIPart } from 'ai';import { isDefined } from 'twenty-shared/utils';import { IconChevronRight, IconCpu } from 'twenty-ui/icon';-import { OverflowingTextWithTooltip, TooltipDelay } from 'twenty-ui/surfaces';-import { JsonTree } from 'twenty-ui/json-visualizer';-import { AnimatedExpandableContainer } from 'twenty-ui/layout';+import {+ OverflowingTextWithTooltip,+ TooltipDelay,+} from 'twenty-ui/primitives/surfaces';+import { JsonTree } from 'twenty-ui/primitives/json-visualizer';+import { AnimatedExpandableContainer } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';import { type JsonValue } from 'type-fest';diff --git a/packages/twenty-front/src/modules/ai/components/ToolStepRenderer.tsx b/packages/twenty-front/src/modules/ai/components/ToolStepRenderer.tsxindex 2e5fcd5d5b9..6e59d8edf9a 100644--- a/packages/twenty-front/src/modules/ai/components/ToolStepRenderer.tsx+++ b/packages/twenty-front/src/modules/ai/components/ToolStepRenderer.tsx@@ -2,8 +2,8 @@ import { styled } from '@linaria/react';import { useContext, useState } from 'react';import { IconChevronDown, IconChevronUp } from 'twenty-ui/icon';-import { JsonTree } from 'twenty-ui/json-visualizer';-import { AnimatedExpandableContainer } from 'twenty-ui/layout';+import { JsonTree } from 'twenty-ui/primitives/json-visualizer';+import { AnimatedExpandableContainer } from 'twenty-ui/primitives/layout';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';import { CodeExecutionDisplay } from '@/ai/components/CodeExecutionDisplay';diff --git a/packages/twenty-front/src/modules/ai/components/internal/AgentChatFilePreview.tsx b/packages/twenty-front/src/modules/ai/components/internal/AgentChatFilePreview.tsxindex 6467b44f161..f7c931ec99f 100644--- a/packages/twenty-front/src/modules/ai/components/internal/AgentChatFilePreview.tsx+++ b/packages/twenty-front/src/modules/ai/components/internal/AgentChatFilePreview.tsx@@ -10,9 +10,9 @@ import { t } from '@lingui/core/macro';import { useCallback, useContext } from 'react';import { type ExtendedFileUIPart } from 'twenty-shared/ai';import { isDefined } from 'twenty-shared/utils';-import { AvatarOrIcon, Chip } from 'twenty-ui/data-display';+import { AvatarOrIcon, Chip } from 'twenty-ui/primitives/data-display';import { type IconComponent, IconX } from 'twenty-ui/icon';-import { Loader } from 'twenty-ui/feedback';+import { Loader } from 'twenty-ui/primitives/feedback';import { ThemeContext } from 'twenty-ui/theme-constants';const StyledClickableContainer = styled.div<{ clickable: boolean }>`diff --git a/packages/twenty-front/src/modules/ai/components/internal/AgentChatFileUploadButton.tsx b/packages/twenty-front/src/modules/ai/components/internal/AgentChatFileUploadButton.tsxindex 93c89ef28f0..98b1975ff4f 100644--- a/packages/twenty-front/src/modules/ai/components/internal/AgentChatFileUploadButton.tsx+++ b/packages/twenty-front/src/modules/ai/components/internal/AgentChatFileUploadButton.tsx@@ -5,7 +5,7 @@ import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';import React, { useRef } from 'react';import { IconPaperclip } from 'twenty-ui/icon';-import { IconButton } from 'twenty-ui/input';+import { IconButton } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledFileUploadContainer = styled.div`diff --git a/packages/twenty-front/src/modules/ai/components/internal/AiChatContextUsageButton.tsx b/packages/twenty-front/src/modules/ai/components/internal/AiChatContextUsageButton.tsxindex 881de90deae..6fde37e4fe1 100644--- a/packages/twenty-front/src/modules/ai/components/internal/AiChatContextUsageButton.tsx+++ b/packages/twenty-front/src/modules/ai/components/internal/AiChatContextUsageButton.tsx@@ -3,8 +3,8 @@ import { t } from '@lingui/core/macro';import { useLingui } from '@lingui/react/macro';import { useState } from 'react';import { isDefined } from 'twenty-shared/utils';-import { HorizontalSeparator } from 'twenty-ui/layout';-import { ProgressBar } from 'twenty-ui/feedback';+import { HorizontalSeparator } from 'twenty-ui/primitives/layout';+import { ProgressBar } from 'twenty-ui/primitives/feedback';import { themeCssVariables } from 'twenty-ui/theme-constants';import { ContextUsageProgressRing } from '@/ai/components/internal/ContextUsageProgressRing';diff --git a/packages/twenty-front/src/modules/ai/components/internal/SendMessageButton.tsx b/packages/twenty-front/src/modules/ai/components/internal/SendMessageButton.tsxindex a9a13804735..3e48b8d0d30 100644--- a/packages/twenty-front/src/modules/ai/components/internal/SendMessageButton.tsx+++ b/packages/twenty-front/src/modules/ai/components/internal/SendMessageButton.tsx@@ -8,7 +8,7 @@ import { dispatchBrowserEvent } from '@/browser-event/utils/dispatchBrowserEventimport { useAtomComponentFamilyStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentFamilyStateValue';import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';import { IconArrowUp, IconPlayerStop } from 'twenty-ui/icon';-import { RoundedIconButton } from 'twenty-ui/input';+import { RoundedIconButton } from 'twenty-ui/primitives/input';type SendMessageButtonProps = {onSend: () => void;diff --git a/packages/twenty-front/src/modules/ai/components/suggested-prompts/AiChatSuggestedPrompts.tsx b/packages/twenty-front/src/modules/ai/components/suggested-prompts/AiChatSuggestedPrompts.tsxindex 2f9e39005fd..408e386293b 100644--- a/packages/twenty-front/src/modules/ai/components/suggested-prompts/AiChatSuggestedPrompts.tsx+++ b/packages/twenty-front/src/modules/ai/components/suggested-prompts/AiChatSuggestedPrompts.tsx@@ -1,7 +1,7 @@import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';import { useLingui } from '@lingui/react/macro';-import { Button, LightButton } from 'twenty-ui/input';+import { Button, LightButton } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';import { getAiChatSuggestedPrompts } from '@/ai/components/suggested-prompts/getAiChatSuggestedPrompts';diff --git a/packages/twenty-front/src/modules/ai/dictation/components/AiChatDictationButton.tsx b/packages/twenty-front/src/modules/ai/dictation/components/AiChatDictationButton.tsxindex 53667889588..d0075d56c1c 100644--- a/packages/twenty-front/src/modules/ai/dictation/components/AiChatDictationButton.tsx+++ b/packages/twenty-front/src/modules/ai/dictation/components/AiChatDictationButton.tsx@@ -1,6 +1,6 @@import { t } from '@lingui/core/macro';import { IconMicrophone } from 'twenty-ui/icon';-import { IconButton } from 'twenty-ui/input';+import { IconButton } from 'twenty-ui/primitives/input';import { useDictation } from '@/ai/dictation/hooks/useDictation';diff --git a/packages/twenty-front/src/modules/ai/hooks/useChatReferenceTarget.tsx b/packages/twenty-front/src/modules/ai/hooks/useChatReferenceTarget.tsxindex 0739bc4bbdc..39c01100602 100644--- a/packages/twenty-front/src/modules/ai/hooks/useChatReferenceTarget.tsx+++ b/packages/twenty-front/src/modules/ai/hooks/useChatReferenceTarget.tsx@@ -7,7 +7,7 @@ import {getSettingsPath,isDefined,} from 'twenty-shared/utils';-import { AvatarOrIcon } from 'twenty-ui/data-display';+import { AvatarOrIcon } from 'twenty-ui/primitives/data-display';import { IconApps, IconLock, useIcons } from 'twenty-ui/icon';import { useTheme } from 'twenty-ui/theme-constants';diff --git a/packages/twenty-front/src/modules/app/components/LocaleDirectionProvider.tsx b/packages/twenty-front/src/modules/app/components/LocaleDirectionProvider.tsxindex cfc6c93380e..8b182ea338a 100644--- a/packages/twenty-front/src/modules/app/components/LocaleDirectionProvider.tsx+++ b/packages/twenty-front/src/modules/app/components/LocaleDirectionProvider.tsx@@ -1,7 +1,7 @@import { useLingui } from '@lingui/react';import { type ReactNode } from 'react';import { getLocaleTextDirection } from 'twenty-shared/translations';-import { TextDirectionProvider } from 'twenty-ui/layout';+import { TextDirectionProvider } from 'twenty-ui/primitives/layout';type LocaleDirectionProviderProps = {children: ReactNode;diff --git a/packages/twenty-front/src/modules/applications/components/AppChip.tsx b/packages/twenty-front/src/modules/applications/components/AppChip.tsxindex 8e28494ebcd..eae84266576 100644--- a/packages/twenty-front/src/modules/applications/components/AppChip.tsx+++ b/packages/twenty-front/src/modules/applications/components/AppChip.tsx@@ -1,8 +1,8 @@import { useApplicationChipData } from '@/applications/hooks/useApplicationChipData';import { styled } from '@linaria/react';import { getAbsoluteImageUrl } from '~/utils/image/getAbsoluteImageUrl';-import { Avatar, type AvatarSize } from 'twenty-ui/data-display';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';+import { Avatar, type AvatarSize } from 'twenty-ui/primitives/data-display';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';type AppChipProps = {diff --git a/packages/twenty-front/src/modules/applications/components/AppConnectionHeader.tsx b/packages/twenty-front/src/modules/applications/components/AppConnectionHeader.tsxindex e319952cc1c..1859ae2ea24 100644--- a/packages/twenty-front/src/modules/applications/components/AppConnectionHeader.tsx+++ b/packages/twenty-front/src/modules/applications/components/AppConnectionHeader.tsx@@ -1,7 +1,7 @@import { styled } from '@linaria/react';import { useContext, useState } from 'react';import { isNonEmptyString } from '@sniptt/guards';-import { Avatar } from 'twenty-ui/data-display';+import { Avatar } from 'twenty-ui/primitives/data-display';import { IconRefresh } from 'twenty-ui/icon';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';diff --git a/packages/twenty-front/src/modules/applications/components/AppMenuItem.tsx b/packages/twenty-front/src/modules/applications/components/AppMenuItem.tsxindex 461fde08ad0..40b80268b97 100644--- a/packages/twenty-front/src/modules/applications/components/AppMenuItem.tsx+++ b/packages/twenty-front/src/modules/applications/components/AppMenuItem.tsx@@ -1,7 +1,7 @@import { AppChip } from '@/applications/components/AppChip';import { useApplicationChipData } from '@/applications/hooks/useApplicationChipData';import { type ReactNode } from 'react';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';type AppMenuItemProps = {applicationId?: string | null;diff --git a/packages/twenty-front/src/modules/applications/components/AuthorizeActionButtons.tsx b/packages/twenty-front/src/modules/applications/components/AuthorizeActionButtons.tsxindex 80929715da6..5acfe1c4ce6 100644--- a/packages/twenty-front/src/modules/applications/components/AuthorizeActionButtons.tsx+++ b/packages/twenty-front/src/modules/applications/components/AuthorizeActionButtons.tsx@@ -1,6 +1,6 @@import { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';-import { MainButton } from 'twenty-ui/input';+import { MainButton } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';type AuthorizeActionButtonsProps = {diff --git a/packages/twenty-front/src/modules/auth/components/Logo.tsx b/packages/twenty-front/src/modules/auth/components/Logo.tsxindex 511b652c41c..12263449e8d 100644--- a/packages/twenty-front/src/modules/auth/components/Logo.tsx+++ b/packages/twenty-front/src/modules/auth/components/Logo.tsx@@ -2,8 +2,8 @@ import { styled } from '@linaria/react';import { isNonEmptyString } from '@sniptt/guards';import { AppPath } from 'twenty-shared/types';import { getImageAbsoluteURI, isDefined } from 'twenty-shared/utils';-import { Avatar } from 'twenty-ui/data-display';-import { UndecoratedLink } from 'twenty-ui/navigation';+import { Avatar } from 'twenty-ui/primitives/data-display';+import { UndecoratedLink } from 'twenty-ui/primitives/navigation';import { themeCssVariables } from 'twenty-ui/theme-constants';import { REACT_APP_SERVER_BASE_URL } from '~/config';import { useRedirectToDefaultDomain } from '~/modules/domain-manager/hooks/useRedirectToDefaultDomain';diff --git a/packages/twenty-front/src/modules/auth/components/Title.tsx b/packages/twenty-front/src/modules/auth/components/Title.tsxindex 7a85e3eec8d..8024633f828 100644--- a/packages/twenty-front/src/modules/auth/components/Title.tsx+++ b/packages/twenty-front/src/modules/auth/components/Title.tsx@@ -1,7 +1,7 @@import { styled } from '@linaria/react';import React from 'react';import { themeCssVariables } from 'twenty-ui/theme-constants';-import { AnimatedEaseIn } from 'twenty-ui/layout';+import { AnimatedEaseIn } from 'twenty-ui/primitives/layout';type TitleProps = React.PropsWithChildren & {animate?: boolean;diff --git a/packages/twenty-front/src/modules/auth/components/VerifyEmail.tsx b/packages/twenty-front/src/modules/auth/components/VerifyEmail.tsxindex 86cfb5899f0..7c5c82f604a 100644--- a/packages/twenty-front/src/modules/auth/components/VerifyEmail.tsx+++ b/packages/twenty-front/src/modules/auth/components/VerifyEmail.tsx@@ -5,7 +5,7 @@ import { OnboardingVerifyLayout } from '@/onboarding/components/OnboardingVerifyimport { useLingui } from '@lingui/react/macro';import { useState } from 'react';import { useSearchParams } from 'react-router-dom';-import { ModalContent } from 'twenty-ui/surfaces';+import { ModalContent } from 'twenty-ui/primitives/surfaces';export const VerifyEmail = () => {const { t } = useLingui();diff --git a/packages/twenty-front/src/modules/auth/components/__stories__/VerifyEmail.stories.tsx b/packages/twenty-front/src/modules/auth/components/__stories__/VerifyEmail.stories.tsxindex 9af93e928b3..1ecdf73811e 100644--- a/packages/twenty-front/src/modules/auth/components/__stories__/VerifyEmail.stories.tsx+++ b/packages/twenty-front/src/modules/auth/components/__stories__/VerifyEmail.stories.tsx@@ -5,7 +5,7 @@ import { MemoryRouter, Route, Routes } from 'react-router-dom';// Mock component that just renders the error state of VerifyEmail directly// (since normal VerifyEmail has async logic that's hard to test in Storybook)import { EmailVerificationSent } from '@/auth/sign-in-up/components/EmailVerificationSent';-import { ModalContent } from 'twenty-ui/surfaces';+import { ModalContent } from 'twenty-ui/primitives/surfaces';import { SnackBarDecorator } from '~/testing/decorators/SnackBarDecorator';const VerifyEmailErrorState = ({ email = '[email protected]' }) => {diff --git a/packages/twenty-front/src/modules/auth/sign-in-up/components/EmailVerificationSent.tsx b/packages/twenty-front/src/modules/auth/sign-in-up/components/EmailVerificationSent.tsxindex cd6abee19ea..5b96f9ead14 100644--- a/packages/twenty-front/src/modules/auth/sign-in-up/components/EmailVerificationSent.tsx+++ b/packages/twenty-front/src/modules/auth/sign-in-up/components/EmailVerificationSent.tsx@@ -11,9 +11,9 @@ import { OnboardingModalCircularIcon } from '@/onboarding/components/OnboardingMimport { t } from '@lingui/core/macro';import { useSetAtomState } from '@/ui/utilities/state/jotai/hooks/useSetAtomState';import { IconGmail, IconMail, IconMailX, IconMicrosoft } from 'twenty-ui/icon';-import { MainButton } from 'twenty-ui/input';+import { MainButton } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';-import { AnimatedEaseIn } from 'twenty-ui/layout';+import { AnimatedEaseIn } from 'twenty-ui/primitives/layout';const StyledContainer = styled.div`align-items: center;diff --git a/packages/twenty-front/src/modules/auth/sign-in-up/components/SignInUpGlobalScopeForm.tsx b/packages/twenty-front/src/modules/auth/sign-in-up/components/SignInUpGlobalScopeForm.tsxindex f26f589c148..1f6480e64e6 100644--- a/packages/twenty-front/src/modules/auth/sign-in-up/components/SignInUpGlobalScopeForm.tsx+++ b/packages/twenty-front/src/modules/auth/sign-in-up/components/SignInUpGlobalScopeForm.tsx@@ -5,7 +5,10 @@ import { useQuery } from '@apollo/client/react';import { styled } from '@linaria/react';import { Trans, useLingui } from '@lingui/react/macro';import { FormProvider } from 'react-hook-form';-import { ClickToActionLink, UndecoratedLink } from 'twenty-ui/navigation';+import {+ ClickToActionLink,+ UndecoratedLink,+} from 'twenty-ui/primitives/navigation';import { StyledOnboardingContentContainer } from '@/auth/components/StyledOnboardingContentContainer';import { OnboardingStepAnimatedItem } from '@/onboarding/components/OnboardingStepAnimatedItem';@@ -26,9 +29,9 @@ import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateimport { useSetAtomState } from '@/ui/utilities/state/jotai/hooks/useSetAtomState';import { isNonEmptyString } from '@sniptt/guards';import { useContext } from 'react';-import { Avatar } from 'twenty-ui/data-display';+import { Avatar } from 'twenty-ui/primitives/data-display';import { IconChevronRight, IconPlus } from 'twenty-ui/icon';-import { HorizontalSeparator } from 'twenty-ui/layout';+import { HorizontalSeparator } from 'twenty-ui/primitives/layout';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';import {type AvailableWorkspace,diff --git a/packages/twenty-front/src/modules/auth/sign-in-up/components/SignInUpStandardContent.tsx b/packages/twenty-front/src/modules/auth/sign-in-up/components/SignInUpStandardContent.tsxindex d3dab22ff14..ff7b48cd15d 100644--- a/packages/twenty-front/src/modules/auth/sign-in-up/components/SignInUpStandardContent.tsx+++ b/packages/twenty-front/src/modules/auth/sign-in-up/components/SignInUpStandardContent.tsx@@ -6,8 +6,8 @@ import { SignInUpStep } from '@/auth/states/signInUpStepState';import { styled } from '@linaria/react';import { type JSX } from 'react';import { AppPath } from 'twenty-shared/types';-import { AnimatedEaseIn } from 'twenty-ui/layout';-import { ModalContent } from 'twenty-ui/surfaces';+import { AnimatedEaseIn } from 'twenty-ui/primitives/layout';+import { ModalContent } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';import { type PublicWorkspaceData } from '~/generated-metadata/graphql';diff --git a/packages/twenty-front/src/modules/auth/sign-in-up/components/SignInUpWorkspaceScopeForm.tsx b/packages/twenty-front/src/modules/auth/sign-in-up/components/SignInUpWorkspaceScopeForm.tsxindex 9ce761c266c..f0f7cdb5e11 100644--- a/packages/twenty-front/src/modules/auth/sign-in-up/components/SignInUpWorkspaceScopeForm.tsx+++ b/packages/twenty-front/src/modules/auth/sign-in-up/components/SignInUpWorkspaceScopeForm.tsx@@ -12,8 +12,8 @@ import { workspaceAuthBypassProvidersState } from '@/workspace/states/workspaceAimport { workspaceAuthProvidersState } from '@/workspace/states/workspaceAuthProvidersState';import { Trans } from '@lingui/react/macro';import { FormProvider } from 'react-hook-form';-import { HorizontalSeparator } from 'twenty-ui/layout';-import { ClickToActionLink } from 'twenty-ui/navigation';+import { HorizontalSeparator } from 'twenty-ui/primitives/layout';+import { ClickToActionLink } from 'twenty-ui/primitives/navigation';import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';export const SignInUpWorkspaceScopeForm = () => {diff --git a/packages/twenty-front/src/modules/auth/sign-in-up/components/WorkspaceSelectionFooter.tsx b/packages/twenty-front/src/modules/auth/sign-in-up/components/WorkspaceSelectionFooter.tsxindex 2f55c99bfb0..deec24b2774 100644--- a/packages/twenty-front/src/modules/auth/sign-in-up/components/WorkspaceSelectionFooter.tsx+++ b/packages/twenty-front/src/modules/auth/sign-in-up/components/WorkspaceSelectionFooter.tsx@@ -1,6 +1,6 @@import { useAuth } from '@/auth/hooks/useAuth';import { Trans } from '@lingui/react/macro';-import { ClickToActionLink } from 'twenty-ui/navigation';+import { ClickToActionLink } from 'twenty-ui/primitives/navigation';export const WorkspaceSelectionFooter = () => {const { signOut } = useAuth();diff --git a/packages/twenty-front/src/modules/auth/sign-in-up/components/__stories__/EmailVerificationSent.stories.tsx b/packages/twenty-front/src/modules/auth/sign-in-up/components/__stories__/EmailVerificationSent.stories.tsxindex 147503a61df..f1a54108272 100644--- a/packages/twenty-front/src/modules/auth/sign-in-up/components/__stories__/EmailVerificationSent.stories.tsx+++ b/packages/twenty-front/src/modules/auth/sign-in-up/components/__stories__/EmailVerificationSent.stories.tsx@@ -1,7 +1,7 @@import { type Meta, type StoryObj } from '@storybook/react-vite';import { EmailVerificationSent } from '@/auth/sign-in-up/components/EmailVerificationSent';-import { ModalContent } from 'twenty-ui/surfaces';+import { ModalContent } from 'twenty-ui/primitives/surfaces';import { ComponentDecorator } from 'twenty-ui/testing';import { SnackBarDecorator } from '~/testing/decorators/SnackBarDecorator';diff --git a/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/LastUsedPill.tsx b/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/LastUsedPill.tsxindex b92a0ccabcd..ca4d5e4d9b8 100644--- a/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/LastUsedPill.tsx+++ b/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/LastUsedPill.tsx@@ -1,6 +1,6 @@import { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';-import { Pill } from 'twenty-ui/data-display';+import { Pill } from 'twenty-ui/primitives/data-display';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledPillContainer = styled.span`diff --git a/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpPasswordField.tsx b/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpPasswordField.tsxindex 4d4b8542e8b..1801e6164c8 100644--- a/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpPasswordField.tsx+++ b/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpPasswordField.tsx@@ -6,7 +6,7 @@ import { useLingui } from '@lingui/react/macro';import { motion } from 'framer-motion';import { useContext } from 'react';import { Controller, useFormContext } from 'react-hook-form';-import { StyledText } from 'twenty-ui/typography';+import { StyledText } from 'twenty-ui/primitives/typography';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';const StyledFullWidthMotionDiv = styled(motion.div)`diff --git a/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpSsoIdentityProviderSelection.tsx b/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpSsoIdentityProviderSelection.tsxindex 074e030e9cc..3300eb3a07f 100644--- a/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpSsoIdentityProviderSelection.tsx+++ b/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpSsoIdentityProviderSelection.tsx@@ -7,8 +7,8 @@ import { guessSsoIdentityProviderIconByUrl } from '@/settings/security/utils/gueimport { workspaceAuthProvidersState } from '@/workspace/states/workspaceAuthProvidersState';import React from 'react';import { isDefined } from 'twenty-shared/utils';-import { HorizontalSeparator } from 'twenty-ui/layout';-import { MainButton } from 'twenty-ui/input';+import { HorizontalSeparator } from 'twenty-ui/primitives/layout';+import { MainButton } from 'twenty-ui/primitives/input';import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';export const SignInUpSsoIdentityProviderSelection = () => {diff --git a/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpTwoFactorAuthenticationProvision.tsx b/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpTwoFactorAuthenticationProvision.tsxindex 6a2ba3f33a4..c7c9f87de69 100644--- a/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpTwoFactorAuthenticationProvision.tsx+++ b/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpTwoFactorAuthenticationProvision.tsx@@ -15,8 +15,8 @@ import { Trans, useLingui } from '@lingui/react/macro';import QRCodeModule from 'react-qr-code';import { useSetAtomState } from '@/ui/utilities/state/jotai/hooks/useSetAtomState';import { IconCopy } from 'twenty-ui/icon';-import { Loader } from 'twenty-ui/feedback';-import { MainButton } from 'twenty-ui/input';+import { Loader } from 'twenty-ui/primitives/feedback';+import { MainButton } from 'twenty-ui/primitives/input';import { useContext } from 'react';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';diff --git a/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpTwoFactorAuthenticationVerification.tsx b/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpTwoFactorAuthenticationVerification.tsxindex adc962f4ffd..108b31e1325 100644--- a/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpTwoFactorAuthenticationVerification.tsx+++ b/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpTwoFactorAuthenticationVerification.tsx@@ -23,8 +23,8 @@ import { OTPInput, type SlotProps } from 'input-otp';import { useState } from 'react';import { Controller } from 'react-hook-form';import { AppPath } from 'twenty-shared/types';-import { MainButton } from 'twenty-ui/input';-import { ClickToActionLink } from 'twenty-ui/navigation';+import { MainButton } from 'twenty-ui/primitives/input';+import { ClickToActionLink } from 'twenty-ui/primitives/navigation';import { themeCssVariables } from 'twenty-ui/theme-constants';import { useNavigateApp } from '~/hooks/useNavigateApp';import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';diff --git a/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpWithCredentials.tsx b/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpWithCredentials.tsxindex 102987de84e..8e2212c4de8 100644--- a/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpWithCredentials.tsx+++ b/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpWithCredentials.tsx@@ -21,8 +21,8 @@ import { useLingui } from '@lingui/react/macro';import { useMemo, useState } from 'react';import { useFormContext } from 'react-hook-form';import { isDefined } from 'twenty-shared/utils';-import { Loader } from 'twenty-ui/feedback';-import { MainButton, InputHint } from 'twenty-ui/input';+import { Loader } from 'twenty-ui/primitives/feedback';+import { MainButton, InputHint } from 'twenty-ui/primitives/input';import { useAtomState } from '@/ui/utilities/state/jotai/hooks/useAtomState';import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';diff --git a/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpWithGoogle.tsx b/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpWithGoogle.tsxindex b21c8c67323..41bf91295d3 100644--- a/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpWithGoogle.tsx+++ b/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpWithGoogle.tsx@@ -10,8 +10,8 @@ import { type SocialSsoSignInUpActionType } from '@/auth/types/socialSsoSignInUpimport { useLingui } from '@lingui/react/macro';import { memo, useContext } from 'react';import { IconGoogle } from 'twenty-ui/icon';-import { HorizontalSeparator } from 'twenty-ui/layout';-import { MainButton } from 'twenty-ui/input';+import { HorizontalSeparator } from 'twenty-ui/primitives/layout';+import { MainButton } from 'twenty-ui/primitives/input';import { useAtomState } from '@/ui/utilities/state/jotai/hooks/useAtomState';import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';import { LastUsedPill } from './LastUsedPill';diff --git a/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpWithMicrosoft.tsx b/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpWithMicrosoft.tsxindex 80ba5316194..62999d81e79 100644--- a/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpWithMicrosoft.tsx+++ b/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpWithMicrosoft.tsx@@ -10,8 +10,8 @@ import { type SocialSsoSignInUpActionType } from '@/auth/types/socialSsoSignInUpimport { useLingui } from '@lingui/react/macro';import { useContext } from 'react';import { IconMicrosoft } from 'twenty-ui/icon';-import { HorizontalSeparator } from 'twenty-ui/layout';-import { MainButton } from 'twenty-ui/input';+import { HorizontalSeparator } from 'twenty-ui/primitives/layout';+import { MainButton } from 'twenty-ui/primitives/input';import { useAtomState } from '@/ui/utilities/state/jotai/hooks/useAtomState';import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';import { LastUsedPill } from './LastUsedPill';diff --git a/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpWithSso.tsx b/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpWithSso.tsxindex 76bd69b3121..6ebed04ff63 100644--- a/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpWithSso.tsx+++ b/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpWithSso.tsx@@ -13,8 +13,8 @@ import { useSetAtomState } from '@/ui/utilities/state/jotai/hooks/useSetAtomStatimport { useLingui } from '@lingui/react/macro';import { isDefined } from 'twenty-shared/utils';import { IconLock } from 'twenty-ui/icon';-import { HorizontalSeparator } from 'twenty-ui/layout';-import { MainButton } from 'twenty-ui/input';+import { HorizontalSeparator } from 'twenty-ui/primitives/layout';+import { MainButton } from 'twenty-ui/primitives/input';import { LastUsedPill } from './LastUsedPill';import { StyledSsoButtonContainer } from './SignInUpSsoButtonStyles';import { useContext } from 'react';diff --git a/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpWorkspaceCreationForm.tsx b/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpWorkspaceCreationForm.tsxindex 9adc1b997a0..5cbb8593547 100644--- a/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpWorkspaceCreationForm.tsx+++ b/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpWorkspaceCreationForm.tsx@@ -15,9 +15,13 @@ import { isNonEmptyString } from '@sniptt/guards';import { useEffect, useRef, useState } from 'react';import { Key } from 'ts-key-enum';import { isDefined } from 'twenty-shared/utils';-import { Avatar } from 'twenty-ui/data-display';+import { Avatar } from 'twenty-ui/primitives/data-display';import { IconTrash, IconUpload } from 'twenty-ui/icon';-import { Button, LightIconButton, MainButton } from 'twenty-ui/input';+import {+ Button,+ LightIconButton,+ MainButton,+} from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledContentContainer = styled.div`diff --git a/packages/twenty-front/src/modules/blocknote-editor/blocks/FileBlock.tsx b/packages/twenty-front/src/modules/blocknote-editor/blocks/FileBlock.tsxindex a9470a08230..d5b8a18d76e 100644--- a/packages/twenty-front/src/modules/blocknote-editor/blocks/FileBlock.tsx+++ b/packages/twenty-front/src/modules/blocknote-editor/blocks/FileBlock.tsx@@ -10,7 +10,7 @@ import { getFileType } from '@/activities/files/utils/getFileType';import { FileIcon } from '@/file/components/FileIcon';import { t } from '@lingui/core/macro';import { getSafeUrl, isDefined } from 'twenty-shared/utils';-import { Button } from 'twenty-ui/input';+import { Button } from 'twenty-ui/primitives/input';const StyledFileInput = styled.input`display: none;diff --git a/packages/twenty-front/src/modules/blocknote-editor/blocks/MentionInlineContent.tsx b/packages/twenty-front/src/modules/blocknote-editor/blocks/MentionInlineContent.tsxindex a2b3ad55524..74ac817c012 100644--- a/packages/twenty-front/src/modules/blocknote-editor/blocks/MentionInlineContent.tsx+++ b/packages/twenty-front/src/modules/blocknote-editor/blocks/MentionInlineContent.tsx@@ -7,7 +7,7 @@ import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';import { isNonEmptyString } from '@sniptt/guards';import { isDefined } from 'twenty-shared/utils';-import { Chip } from 'twenty-ui/data-display';+import { Chip } from 'twenty-ui/primitives/data-display';import { themeCssVariables } from 'twenty-ui/theme-constants';import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';diff --git a/packages/twenty-front/src/modules/blocknote-editor/components/CustomSlashMenuListItem.tsx b/packages/twenty-front/src/modules/blocknote-editor/components/CustomSlashMenuListItem.tsxindex 2ce91eb7356..5ff189a2024 100644--- a/packages/twenty-front/src/modules/blocknote-editor/components/CustomSlashMenuListItem.tsx+++ b/packages/twenty-front/src/modules/blocknote-editor/components/CustomSlashMenuListItem.tsx@@ -4,7 +4,7 @@ import { SelectableListItem } from '@/ui/layout/selectable-list/components/Selecimport { useSelectableList } from '@/ui/layout/selectable-list/hooks/useSelectableList';import { isSelectedItemIdComponentFamilyState } from '@/ui/layout/selectable-list/states/isSelectedItemIdComponentFamilyState';import { useAtomComponentFamilyStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentFamilyStateValue';-import { MenuItemSuggestion } from 'twenty-ui/navigation';+import { MenuItemSuggestion } from 'twenty-ui/primitives/navigation';export type CustomSlashMenuListItemProps = {item: SuggestionItem;diff --git a/packages/twenty-front/src/modules/command-menu-item/components/RecordIndexCommandMenuDropdown.tsx b/packages/twenty-front/src/modules/command-menu-item/components/RecordIndexCommandMenuDropdown.tsxindex 9c878cc3cb0..fbb53dc1067 100644--- a/packages/twenty-front/src/modules/command-menu-item/components/RecordIndexCommandMenuDropdown.tsx+++ b/packages/twenty-front/src/modules/command-menu-item/components/RecordIndexCommandMenuDropdown.tsx@@ -19,7 +19,7 @@ import { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';import { useContext } from 'react';import { IconLayoutSidebarRightExpand } from 'twenty-ui/icon';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { CommandMenuItemAvailabilityType } from '~/generated-metadata/graphql';const StyledDropdownMenuContainer = styled.div`diff --git a/packages/twenty-front/src/modules/command-menu-item/components/RecordPageSidePanelCommandMenuDropdown.tsx b/packages/twenty-front/src/modules/command-menu-item/components/RecordPageSidePanelCommandMenuDropdown.tsxindex 54010c4eccb..47e7ee94c69 100644--- a/packages/twenty-front/src/modules/command-menu-item/components/RecordPageSidePanelCommandMenuDropdown.tsx+++ b/packages/twenty-front/src/modules/command-menu-item/components/RecordPageSidePanelCommandMenuDropdown.tsx@@ -10,8 +10,8 @@ import { sidePanelWidgetFooterCommandMenuItemsState } from '@/ui/layout/side-panimport { useAvailableComponentInstanceIdOrThrow } from '@/ui/utilities/state/component-state/hooks/useAvailableComponentInstanceIdOrThrow';import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';import { useContext, useMemo } from 'react';-import { HorizontalSeparator } from 'twenty-ui/layout';-import { MenuItem } from 'twenty-ui/navigation';+import { HorizontalSeparator } from 'twenty-ui/primitives/layout';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { CommandMenuItemAvailabilityType } from '~/generated-metadata/graphql';export const RecordPageSidePanelCommandMenuDropdown = () => {diff --git a/packages/twenty-front/src/modules/command-menu-item/components/RecordPageSidePanelWidgetCommandMenuItems.tsx b/packages/twenty-front/src/modules/command-menu-item/components/RecordPageSidePanelWidgetCommandMenuItems.tsxindex bfe2c8a7b70..40cd01beada 100644--- a/packages/twenty-front/src/modules/command-menu-item/components/RecordPageSidePanelWidgetCommandMenuItems.tsx+++ b/packages/twenty-front/src/modules/command-menu-item/components/RecordPageSidePanelWidgetCommandMenuItems.tsx@@ -1,6 +1,6 @@import { sidePanelWidgetFooterCommandMenuItemsState } from '@/ui/layout/side-panel/states/sidePanelWidgetFooterCommandMenuItemsState';import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';-import { Button } from 'twenty-ui/input';+import { Button } from 'twenty-ui/primitives/input';export const RecordPageSidePanelWidgetCommandMenuItems = () => {const sidePanelWidgetFooterCommandMenuItems = useAtomStateValue(diff --git a/packages/twenty-front/src/modules/command-menu-item/confirmation-modal/states/commandMenuItemConfirmationModalState.ts b/packages/twenty-front/src/modules/command-menu-item/confirmation-modal/states/commandMenuItemConfirmationModalState.tsindex 2cfc96f3345..c613cc042b9 100644--- a/packages/twenty-front/src/modules/command-menu-item/confirmation-modal/states/commandMenuItemConfirmationModalState.ts+++ b/packages/twenty-front/src/modules/command-menu-item/confirmation-modal/states/commandMenuItemConfirmationModalState.ts@@ -2,7 +2,7 @@ import { type ReactNode } from 'react';import { type ConfirmationModalCaller } from 'twenty-shared/types';import { createAtomState } from '@/ui/utilities/state/jotai/utils/createAtomState';-import { type ButtonAccent } from 'twenty-ui/input';+import { type ButtonAccent } from 'twenty-ui/primitives/input';export type CommandMenuItemConfirmationModalLinkButton = {title: string;diff --git a/packages/twenty-front/src/modules/command-menu-item/display/components/CommandListItemLoader.tsx b/packages/twenty-front/src/modules/command-menu-item/display/components/CommandListItemLoader.tsxindex 56f46a1533a..80b52b95f59 100644--- a/packages/twenty-front/src/modules/command-menu-item/display/components/CommandListItemLoader.tsx+++ b/packages/twenty-front/src/modules/command-menu-item/display/components/CommandListItemLoader.tsx@@ -1,5 +1,5 @@import { styled } from '@linaria/react';-import { Loader } from 'twenty-ui/feedback';+import { Loader } from 'twenty-ui/primitives/feedback';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledContainer = styled.div`diff --git a/packages/twenty-front/src/modules/command-menu-item/display/components/CommandMenuItemRenderer.tsx b/packages/twenty-front/src/modules/command-menu-item/display/components/CommandMenuItemRenderer.tsxindex 3b5bf8dba7d..9071061fd71 100644--- a/packages/twenty-front/src/modules/command-menu-item/display/components/CommandMenuItemRenderer.tsx+++ b/packages/twenty-front/src/modules/command-menu-item/display/components/CommandMenuItemRenderer.tsx@@ -16,8 +16,8 @@ import { styled } from '@linaria/react';import { useContext } from 'react';import { assertUnreachable, isDefined } from 'twenty-shared/utils';import { useIcons } from 'twenty-ui/icon';-import { Loader } from 'twenty-ui/feedback';-import { MenuItem } from 'twenty-ui/navigation';+import { Loader } from 'twenty-ui/primitives/feedback';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { type CommandMenuItemFieldsFragment } from '~/generated-metadata/graphql';const StyledPreviewWrapper = styled.div`diff --git a/packages/twenty-front/src/modules/command-menu-item/edit/components/CommandMenuItemEditButton.tsx b/packages/twenty-front/src/modules/command-menu-item/edit/components/CommandMenuItemEditButton.tsxindex 2304f6ac6e1..8f743f4f267 100644--- a/packages/twenty-front/src/modules/command-menu-item/edit/components/CommandMenuItemEditButton.tsx+++ b/packages/twenty-front/src/modules/command-menu-item/edit/components/CommandMenuItemEditButton.tsx@@ -1,4 +1,4 @@-import { AnimatedIconCrossfade } from 'twenty-ui/layout';+import { AnimatedIconCrossfade } from 'twenty-ui/primitives/layout';import { isLayoutCustomizationModeEnabledState } from '@/layout-customization/states/isLayoutCustomizationModeEnabledState';import { useNavigateSidePanel } from '@/side-panel/hooks/useNavigateSidePanel';import { useSidePanelMenu } from '@/side-panel/hooks/useSidePanelMenu';@@ -8,7 +8,7 @@ import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateimport { useLingui } from '@lingui/react/macro';import { SidePanelPages } from 'twenty-shared/types';import { IconPencil, IconX } from 'twenty-ui/icon';-import { AnimatedButton } from 'twenty-ui/input';+import { AnimatedButton } from 'twenty-ui/primitives/input';export const CommandMenuItemEditButton = () => {const { t } = useLingui();diff --git a/packages/twenty-front/src/modules/command-menu-item/edit/components/CommandMenuItemEditRecordSelectionDropdown.tsx b/packages/twenty-front/src/modules/command-menu-item/edit/components/CommandMenuItemEditRecordSelectionDropdown.tsxindex b746b84e01a..ecf860e5983 100644--- a/packages/twenty-front/src/modules/command-menu-item/edit/components/CommandMenuItemEditRecordSelectionDropdown.tsx+++ b/packages/twenty-front/src/modules/command-menu-item/edit/components/CommandMenuItemEditRecordSelectionDropdown.tsx@@ -13,7 +13,7 @@ import { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';import { useContext } from 'react';import { IconChevronDown, IconSquareCheck, IconSquareX } from 'twenty-ui/icon';-import { MenuItemSelect } from 'twenty-ui/navigation';+import { MenuItemSelect } from 'twenty-ui/primitives/navigation';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';const DROPDOWN_ID = 'command-menu-edit-record-selection-dropdown';diff --git a/packages/twenty-front/src/modules/command-menu-item/edit/components/CommandMenuItemOptionsDropdown.tsx b/packages/twenty-front/src/modules/command-menu-item/edit/components/CommandMenuItemOptionsDropdown.tsxindex 6629746468c..945a6ee0e11 100644--- a/packages/twenty-front/src/modules/command-menu-item/edit/components/CommandMenuItemOptionsDropdown.tsx+++ b/packages/twenty-front/src/modules/command-menu-item/edit/components/CommandMenuItemOptionsDropdown.tsx@@ -9,7 +9,7 @@ import { useLingui } from '@lingui/react/macro';import { type ReactElement } from 'react';import { isDefined } from 'twenty-shared/utils';import { IconRefresh, IconTag } from 'twenty-ui/icon';-import { MenuItem, MenuItemSwitch } from 'twenty-ui/navigation';+import { MenuItem, MenuItemSwitch } from 'twenty-ui/primitives/navigation';import { type CommandMenuItemFieldsFragment } from '~/generated-metadata/graphql';type CommandMenuItemOptionsDropdownProps = Pick<diff --git a/packages/twenty-front/src/modules/command-menu-item/edit/components/SidePanelCommandMenuItemEditPage.tsx b/packages/twenty-front/src/modules/command-menu-item/edit/components/SidePanelCommandMenuItemEditPage.tsxindex d55b29c9eac..ef5d9ae69c8 100644--- a/packages/twenty-front/src/modules/command-menu-item/edit/components/SidePanelCommandMenuItemEditPage.tsx+++ b/packages/twenty-front/src/modules/command-menu-item/edit/components/SidePanelCommandMenuItemEditPage.tsx@@ -27,7 +27,7 @@ import {IconPinnedOff,useIcons,} from 'twenty-ui/icon';-import { MenuItem, MenuItemDraggable } from 'twenty-ui/navigation';+import { MenuItem, MenuItemDraggable } from 'twenty-ui/primitives/navigation';import { themeCssVariables } from 'twenty-ui/theme-constants';import { type CommandMenuItemFieldsFragment } from '~/generated-metadata/graphql';import { normalizeSearchText } from '~/utils/normalizeSearchText';diff --git a/packages/twenty-front/src/modules/command-menu-item/engine-command/components/HeadlessConfirmationModalEngineCommandEffect.tsx b/packages/twenty-front/src/modules/command-menu-item/engine-command/components/HeadlessConfirmationModalEngineCommandEffect.tsxindex 2593bed9170..aa013dccd66 100644--- a/packages/twenty-front/src/modules/command-menu-item/engine-command/components/HeadlessConfirmationModalEngineCommandEffect.tsx+++ b/packages/twenty-front/src/modules/command-menu-item/engine-command/components/HeadlessConfirmationModalEngineCommandEffect.tsx@@ -8,7 +8,7 @@ import { type CommandMenuConfirmationModalResultBrowserEventDetail } from 'twentimport { useUnmountCommand } from '@/command-menu-item/engine-command/hooks/useUnmountEngineCommand';import { CommandComponentInstanceContext } from '@/command-menu-item/engine-command/states/contexts/CommandComponentInstanceContext';import { useAvailableComponentInstanceIdOrThrow } from '@/ui/utilities/state/component-state/hooks/useAvailableComponentInstanceIdOrThrow';-import { type ButtonAccent } from 'twenty-ui/input';+import { type ButtonAccent } from 'twenty-ui/primitives/input';export type HeadlessConfirmationModalEngineCommandEffectProps = {title: string;diff --git a/packages/twenty-front/src/modules/command-menu/components/CommandMenuButton.tsx b/packages/twenty-front/src/modules/command-menu/components/CommandMenuButton.tsxindex 0d0b78a35a6..3e3122dd66f 100644--- a/packages/twenty-front/src/modules/command-menu/components/CommandMenuButton.tsx+++ b/packages/twenty-front/src/modules/command-menu/components/CommandMenuButton.tsx@@ -3,8 +3,12 @@ import { type MouseEvent } from 'react';import { type Nullable } from 'twenty-shared/types';import { isDefined } from 'twenty-shared/utils';import { type IconComponent } from 'twenty-ui/icon';-import { AppTooltip, TooltipDelay, TooltipPosition } from 'twenty-ui/surfaces';-import { Button, IconButton } from 'twenty-ui/input';+import {+ AppTooltip,+ TooltipDelay,+ TooltipPosition,+} from 'twenty-ui/primitives/surfaces';+import { Button, IconButton } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledWrapper = styled.div`diff --git a/packages/twenty-front/src/modules/command-menu/components/CommandMenuItem.tsx b/packages/twenty-front/src/modules/command-menu/components/CommandMenuItem.tsxindex b8e082e7e37..a15cf23162e 100644--- a/packages/twenty-front/src/modules/command-menu/components/CommandMenuItem.tsx+++ b/packages/twenty-front/src/modules/command-menu/components/CommandMenuItem.tsx@@ -1,7 +1,7 @@import { isNonEmptyString } from '@sniptt/guards';import { type ReactNode } from 'react';import { IconArrowUpRight, type IconComponent } from 'twenty-ui/icon';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { useCommandMenuOnItemClick } from '@/command-menu/hooks/useCommandMenuOnItemClick';import { isSelectedItemIdComponentFamilyState } from '@/ui/layout/selectable-list/states/isSelectedItemIdComponentFamilyState';diff --git a/packages/twenty-front/src/modules/command-menu/components/CommandMenuItemSwitch.tsx b/packages/twenty-front/src/modules/command-menu/components/CommandMenuItemSwitch.tsxindex 8c193b2ad78..0d9b10dd9ed 100644--- a/packages/twenty-front/src/modules/command-menu/components/CommandMenuItemSwitch.tsx+++ b/packages/twenty-front/src/modules/command-menu/components/CommandMenuItemSwitch.tsx@@ -1,6 +1,9 @@import { isSelectedItemIdComponentFamilyState } from '@/ui/layout/selectable-list/states/isSelectedItemIdComponentFamilyState';import { useAtomComponentFamilyStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentFamilyStateValue';-import { MenuItemSwitch, type MenuItemSwitchProps } from 'twenty-ui/navigation';+import {+ MenuItemSwitch,+ type MenuItemSwitchProps,+} from 'twenty-ui/primitives/navigation';export type CommandMenuItemSwitchProps = MenuItemSwitchProps & {id: string;diff --git a/packages/twenty-front/src/modules/command-menu/components/CommandMenuOpenContainer.tsx b/packages/twenty-front/src/modules/command-menu/components/CommandMenuOpenContainer.tsxindex fbe19eaaf6d..3163004f13e 100644--- a/packages/twenty-front/src/modules/command-menu/components/CommandMenuOpenContainer.tsx+++ b/packages/twenty-front/src/modules/command-menu/components/CommandMenuOpenContainer.tsx@@ -21,7 +21,7 @@ import { useStore } from 'jotai';import { styled } from '@linaria/react';import { motion } from 'framer-motion';import { useCallback, useContext, useRef } from 'react';-import { LINK_CHIP_CLICK_OUTSIDE_ID } from 'twenty-ui/data-display';+import { LINK_CHIP_CLICK_OUTSIDE_ID } from 'twenty-ui/primitives/data-display';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';import { useIsMobile } from 'twenty-ui/utilities';const StyledCommandMenuBase = styled.div`diff --git a/packages/twenty-front/src/modules/error-handler/components/internal/AppErrorDisplay.tsx b/packages/twenty-front/src/modules/error-handler/components/internal/AppErrorDisplay.tsxindex 388e1b8b68a..5399f94ed7a 100644--- a/packages/twenty-front/src/modules/error-handler/components/internal/AppErrorDisplay.tsx+++ b/packages/twenty-front/src/modules/error-handler/components/internal/AppErrorDisplay.tsx@@ -1,14 +1,14 @@import { type AppErrorDisplayProps } from '@/error-handler/types/AppErrorDisplayProps';import { t } from '@lingui/core/macro';import { IconRefresh } from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';+import { Button } from 'twenty-ui/primitives/input';import {AnimatedPlaceholder,AnimatedPlaceholderEmptyContainer,AnimatedPlaceholderEmptySubTitle,AnimatedPlaceholderEmptyTextContainer,AnimatedPlaceholderEmptyTitle,-} from 'twenty-ui/feedback';+} from 'twenty-ui/primitives/feedback';export const AppErrorDisplay = ({resetErrorBoundary,diff --git a/packages/twenty-front/src/modules/file/components/AttachmentChip.tsx b/packages/twenty-front/src/modules/file/components/AttachmentChip.tsxindex dfc9264ec8d..256fed80e2f 100644--- a/packages/twenty-front/src/modules/file/components/AttachmentChip.tsx+++ b/packages/twenty-front/src/modules/file/components/AttachmentChip.tsx@@ -1,6 +1,6 @@import { styled } from '@linaria/react';import { useContext } from 'react';-import { AvatarOrIcon } from 'twenty-ui/data-display';+import { AvatarOrIcon } from 'twenty-ui/primitives/data-display';import { IconX } from 'twenty-ui/icon';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';diff --git a/packages/twenty-front/src/modules/file/components/FileIcon.tsx b/packages/twenty-front/src/modules/file/components/FileIcon.tsxindex 1a347455302..6084c4fd555 100644--- a/packages/twenty-front/src/modules/file/components/FileIcon.tsx+++ b/packages/twenty-front/src/modules/file/components/FileIcon.tsx@@ -6,7 +6,7 @@ import { isNonEmptyString } from '@sniptt/guards';import { useContext, useState } from 'react';import { FILE_CATEGORIES, type FileCategory } from 'twenty-shared/types';import { isDefined } from 'twenty-shared/utils';-import { AvatarOrIcon } from 'twenty-ui/data-display';+import { AvatarOrIcon } from 'twenty-ui/primitives/data-display';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';type FileIconSize = 'small' | 'medium';diff --git a/packages/twenty-front/src/modules/geo-map/components/PlaceAutocompleteSelect.tsx b/packages/twenty-front/src/modules/geo-map/components/PlaceAutocompleteSelect.tsxindex b8d0ecfe00e..dcb99bdd45b 100644--- a/packages/twenty-front/src/modules/geo-map/components/PlaceAutocompleteSelect.tsx+++ b/packages/twenty-front/src/modules/geo-map/components/PlaceAutocompleteSelect.tsx@@ -6,8 +6,8 @@ import { SelectableListItem } from '@/ui/layout/selectable-list/components/Selecimport { styled } from '@linaria/react';import { useMemo, useRef } from 'react';import { isDefined } from 'twenty-shared/utils';-import { type SelectOption } from 'twenty-ui/input';-import { MenuItemSelectTag } from 'twenty-ui/navigation';+import { type SelectOption } from 'twenty-ui/primitives/input';+import { MenuItemSelectTag } from 'twenty-ui/primitives/navigation';const StyledContainer = styled.div<{ fullWidth?: boolean }>`margin-bottom: 0px !important;width: ${({ fullWidth }) => (fullWidth ? '100%' : 'auto')};diff --git a/packages/twenty-front/src/modules/information-banner/components/InformationBanner.tsx b/packages/twenty-front/src/modules/information-banner/components/InformationBanner.tsxindex df4dad9eb4f..c79d62ddf37 100644--- a/packages/twenty-front/src/modules/information-banner/components/InformationBanner.tsx+++ b/packages/twenty-front/src/modules/information-banner/components/InformationBanner.tsx@@ -7,10 +7,10 @@ import {Banner,type BannerColor,type BannerVariant,-} from 'twenty-ui/feedback';+} from 'twenty-ui/primitives/feedback';import { type IconComponent, IconX } from 'twenty-ui/icon';-import { Button, IconButton } from 'twenty-ui/input';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';+import { Button, IconButton } from 'twenty-ui/primitives/input';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledText = styled.div`diff --git a/packages/twenty-front/src/modules/keyboard-shortcut-menu/components/KeyboardShortcutMenuDialog.tsx b/packages/twenty-front/src/modules/keyboard-shortcut-menu/components/KeyboardShortcutMenuDialog.tsxindex 38a9256cb14..bbabbb72d52 100644--- a/packages/twenty-front/src/modules/keyboard-shortcut-menu/components/KeyboardShortcutMenuDialog.tsx+++ b/packages/twenty-front/src/modules/keyboard-shortcut-menu/components/KeyboardShortcutMenuDialog.tsx@@ -4,7 +4,7 @@ import {StyledHeading,} from './KeyboardShortcutMenuStyles';import { t } from '@lingui/core/macro';-import { IconButton } from 'twenty-ui/input';+import { IconButton } from 'twenty-ui/primitives/input';import { IconX } from 'twenty-ui/icon';import { useIsMobile } from 'twenty-ui/utilities';diff --git a/packages/twenty-front/src/modules/layout-customization/components/LayoutCustomizationBarMenuDropdown.tsx b/packages/twenty-front/src/modules/layout-customization/components/LayoutCustomizationBarMenuDropdown.tsxindex 966b1c200be..436de132081 100644--- a/packages/twenty-front/src/modules/layout-customization/components/LayoutCustomizationBarMenuDropdown.tsx+++ b/packages/twenty-front/src/modules/layout-customization/components/LayoutCustomizationBarMenuDropdown.tsx@@ -1,8 +1,8 @@import { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';import { IconDotsVertical, IconReload } from 'twenty-ui/icon';-import { LightIconButton } from 'twenty-ui/input';-import { MenuItem } from 'twenty-ui/navigation';+import { LightIconButton } from 'twenty-ui/primitives/input';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { GRAY_SCALE_LIGHT } from 'twenty-ui/theme';import { themeCssVariables } from 'twenty-ui/theme-constants';diff --git a/packages/twenty-front/src/modules/logic-functions/components/LogicFunctionLogs.tsx b/packages/twenty-front/src/modules/logic-functions/components/LogicFunctionLogs.tsxindex aa1a8fb8d66..bc3bb67e113 100644--- a/packages/twenty-front/src/modules/logic-functions/components/LogicFunctionLogs.tsx+++ b/packages/twenty-front/src/modules/logic-functions/components/LogicFunctionLogs.tsx@@ -1,5 +1,5 @@import { useLingui } from '@lingui/react/macro';-import { ResizeHandle, useResizeHandle } from 'twenty-ui/layout';+import { ResizeHandle, useResizeHandle } from 'twenty-ui/primitives/layout';import { TextArea } from '@/ui/input/components/TextArea';type LogicFunctionLogsProps = {diff --git a/packages/twenty-front/src/modules/marketplace/components/SettingsApplicationInstallPermissionValidationModal.tsx b/packages/twenty-front/src/modules/marketplace/components/SettingsApplicationInstallPermissionValidationModal.tsxindex 57bbe06eecc..4f4731c9981 100644--- a/packages/twenty-front/src/modules/marketplace/components/SettingsApplicationInstallPermissionValidationModal.tsx+++ b/packages/twenty-front/src/modules/marketplace/components/SettingsApplicationInstallPermissionValidationModal.tsx@@ -10,7 +10,7 @@ import { t } from '@lingui/core/macro';import { useMemo } from 'react';import { type RoleManifest } from 'twenty-shared/application';import { IconChevronLeft } from 'twenty-ui/icon';-import { LightButton } from 'twenty-ui/input';+import { LightButton } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';import { StyledAppModal } from '~/pages/settings/applications/components/SettingsAppModalLayout';diff --git a/packages/twenty-front/src/modules/mention/components/MentionMenuListItem.tsx b/packages/twenty-front/src/modules/mention/components/MentionMenuListItem.tsxindex 989f7756bdc..0de32e536f6 100644--- a/packages/twenty-front/src/modules/mention/components/MentionMenuListItem.tsx+++ b/packages/twenty-front/src/modules/mention/components/MentionMenuListItem.tsx@@ -2,8 +2,8 @@ import { type MouseEvent } from 'react';import { useObjectMetadataItems } from '@/object-metadata/hooks/useObjectMetadataItems';import { getAvatarShape } from '@/object-metadata/utils/getAvatarShape';-import { Avatar } from 'twenty-ui/data-display';-import { MenuItemSuggestion } from 'twenty-ui/navigation';+import { Avatar } from 'twenty-ui/primitives/data-display';+import { MenuItemSuggestion } from 'twenty-ui/primitives/navigation';import { getAbsoluteImageUrl } from '~/utils/image/getAbsoluteImageUrl';type MentionMenuListItemProps = {diff --git a/packages/twenty-front/src/modules/mention/components/MentionRecordChip.tsx b/packages/twenty-front/src/modules/mention/components/MentionRecordChip.tsxindex 1856297f380..501c1894317 100644--- a/packages/twenty-front/src/modules/mention/components/MentionRecordChip.tsx+++ b/packages/twenty-front/src/modules/mention/components/MentionRecordChip.tsx@@ -2,7 +2,11 @@ import { getLinkToShowPage } from '@/object-metadata/utils/getLinkToShowPage';import { getAbsoluteImageUrl } from '~/utils/image/getAbsoluteImageUrl';import { t } from '@lingui/core/macro';import { isNonEmptyString } from '@sniptt/guards';-import { AvatarOrIcon, Chip, LinkChip } from 'twenty-ui/data-display';+import {+ AvatarOrIcon,+ LinkChip,+ Chip,+} from 'twenty-ui/primitives/data-display';type MentionRecordChipProps = {recordId: string;diff --git a/packages/twenty-front/src/modules/mention/components/MentionSuggestionMenu.tsx b/packages/twenty-front/src/modules/mention/components/MentionSuggestionMenu.tsxindex d80daf8d9e4..b9ff28a2103 100644--- a/packages/twenty-front/src/modules/mention/components/MentionSuggestionMenu.tsx+++ b/packages/twenty-front/src/modules/mention/components/MentionSuggestionMenu.tsx@@ -1,6 +1,6 @@import { forwardRef } from 'react';-import { AvatarOrIcon } from 'twenty-ui/data-display';-import { MenuItemSuggestion } from 'twenty-ui/navigation';+import { AvatarOrIcon } from 'twenty-ui/primitives/data-display';+import { MenuItemSuggestion } from 'twenty-ui/primitives/navigation';import type { MentionSearchResult } from '@/mention/types/MentionSearchResult';import type { MentionSuggestionMenuProps } from '@/mention/types/MentionSuggestionMenuProps';diff --git a/packages/twenty-front/src/modules/navigation-menu-item/display/components/NavigationMenuItemIcon.tsx b/packages/twenty-front/src/modules/navigation-menu-item/display/components/NavigationMenuItemIcon.tsxindex a91d7887c80..23bc0458e75 100644--- a/packages/twenty-front/src/modules/navigation-menu-item/display/components/NavigationMenuItemIcon.tsx+++ b/packages/twenty-front/src/modules/navigation-menu-item/display/components/NavigationMenuItemIcon.tsx@@ -4,7 +4,7 @@ import {Avatar,StyledTintedIconTileContainer,getIconTileColorShades,-} from 'twenty-ui/data-display';+} from 'twenty-ui/primitives/data-display';import { IconLink, IconWorld, useIcons } from 'twenty-ui/icon';import { themeCssVariables } from 'twenty-ui/theme-constants';import { type NavigationMenuItem } from '~/generated-metadata/graphql';diff --git a/packages/twenty-front/src/modules/navigation-menu-item/display/dnd/components/AddToNavigationDragHandle.tsx b/packages/twenty-front/src/modules/navigation-menu-item/display/dnd/components/AddToNavigationDragHandle.tsxindex 865dd89a4d2..592f34cccf4 100644--- a/packages/twenty-front/src/modules/navigation-menu-item/display/dnd/components/AddToNavigationDragHandle.tsx+++ b/packages/twenty-front/src/modules/navigation-menu-item/display/dnd/components/AddToNavigationDragHandle.tsx@@ -2,7 +2,7 @@ import { styled } from '@linaria/react';import { useContext, type ReactNode } from 'react';import { NavigationMenuItemType } from 'twenty-shared/types';import { isDefined } from 'twenty-shared/utils';-import { TintedIconTile } from 'twenty-ui/data-display';+import { TintedIconTile } from 'twenty-ui/primitives/data-display';import { IconGripVertical, type IconComponent } from 'twenty-ui/icon';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';diff --git a/packages/twenty-front/src/modules/navigation-menu-item/display/folder/components/NavigationMenuItemFolderContent.tsx b/packages/twenty-front/src/modules/navigation-menu-item/display/folder/components/NavigationMenuItemFolderContent.tsxindex 243a5328d56..1bfd6e1cd47 100644--- a/packages/twenty-front/src/modules/navigation-menu-item/display/folder/components/NavigationMenuItemFolderContent.tsx+++ b/packages/twenty-front/src/modules/navigation-menu-item/display/folder/components/NavigationMenuItemFolderContent.tsx@@ -1,5 +1,5 @@import { IconHeartOff } from 'twenty-ui/icon';-import { LightIconButton } from 'twenty-ui/input';+import { LightIconButton } from 'twenty-ui/primitives/input';import { type NavigationMenuItem } from '~/generated-metadata/graphql';import { NavigationMenuItemDroppableIds } from '@/navigation-menu-item/common/constants/NavigationMenuItemDroppableIds';diff --git a/packages/twenty-front/src/modules/navigation-menu-item/display/folder/components/NavigationMenuItemFolderDnd.tsx b/packages/twenty-front/src/modules/navigation-menu-item/display/folder/components/NavigationMenuItemFolderDnd.tsxindex 91441449a99..25db01d1760 100644--- a/packages/twenty-front/src/modules/navigation-menu-item/display/folder/components/NavigationMenuItemFolderDnd.tsx+++ b/packages/twenty-front/src/modules/navigation-menu-item/display/folder/components/NavigationMenuItemFolderDnd.tsx@@ -11,7 +11,7 @@ import {IconPlus,useIcons,} from 'twenty-ui/icon';-import { LightIconButton } from 'twenty-ui/input';+import { LightIconButton } from 'twenty-ui/primitives/input';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';import { useIsMobile } from 'twenty-ui/utilities';import { type NavigationMenuItem } from '~/generated-metadata/graphql';diff --git a/packages/twenty-front/src/modules/navigation-menu-item/display/folder/components/NavigationMenuItemFolderLayout.tsx b/packages/twenty-front/src/modules/navigation-menu-item/display/folder/components/NavigationMenuItemFolderLayout.tsxindex a014dae3912..6e639ef48c8 100644--- a/packages/twenty-front/src/modules/navigation-menu-item/display/folder/components/NavigationMenuItemFolderLayout.tsx+++ b/packages/twenty-front/src/modules/navigation-menu-item/display/folder/components/NavigationMenuItemFolderLayout.tsx@@ -1,6 +1,6 @@import { styled } from '@linaria/react';import { useDeferredValue, useState, type ReactNode } from 'react';-import { AnimatedExpandableContainer } from 'twenty-ui/layout';+import { AnimatedExpandableContainer } from 'twenty-ui/primitives/layout';import { NavigationDrawerItemsCollapsableContainer } from '@/ui/navigation/navigation-drawer/components/NavigationDrawerItemsCollapsableContainer';diff --git a/packages/twenty-front/src/modules/navigation-menu-item/display/folder/components/NavigationMenuItemFolderNavigationDrawerItemDropdown.tsx b/packages/twenty-front/src/modules/navigation-menu-item/display/folder/components/NavigationMenuItemFolderNavigationDrawerItemDropdown.tsxindex c16fb1e4451..b2be484b866 100644--- a/packages/twenty-front/src/modules/navigation-menu-item/display/folder/components/NavigationMenuItemFolderNavigationDrawerItemDropdown.tsx+++ b/packages/twenty-front/src/modules/navigation-menu-item/display/folder/components/NavigationMenuItemFolderNavigationDrawerItemDropdown.tsx@@ -1,7 +1,7 @@import { useLingui } from '@lingui/react/macro';import { IconDotsVertical, IconPencil, IconTrash } from 'twenty-ui/icon';-import { LightIconButton } from 'twenty-ui/input';-import { MenuItem } from 'twenty-ui/navigation';+import { LightIconButton } from 'twenty-ui/primitives/input';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { Dropdown } from '@/ui/layout/dropdown/components/Dropdown';import { DropdownContent } from '@/ui/layout/dropdown/components/DropdownContent';diff --git a/packages/twenty-front/src/modules/navigation-menu-item/display/link/components/LinkIconWithLinkOverlay.tsx b/packages/twenty-front/src/modules/navigation-menu-item/display/link/components/LinkIconWithLinkOverlay.tsxindex 674f5655a3d..fd2e289f431 100644--- a/packages/twenty-front/src/modules/navigation-menu-item/display/link/components/LinkIconWithLinkOverlay.tsx+++ b/packages/twenty-front/src/modules/navigation-menu-item/display/link/components/LinkIconWithLinkOverlay.tsx@@ -1,7 +1,7 @@import { styled } from '@linaria/react';import { useContext, useState } from 'react';import { getLinkFaviconUrl, isDefined } from 'twenty-shared/utils';-import { getIconTileColorShades } from 'twenty-ui/data-display';+import { getIconTileColorShades } from 'twenty-ui/primitives/data-display';import { type IconComponent } from 'twenty-ui/icon';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';diff --git a/packages/twenty-front/src/modules/navigation-menu-item/display/object/components/NavigationDrawerItemForObjectMetadataItem.tsx b/packages/twenty-front/src/modules/navigation-menu-item/display/object/components/NavigationDrawerItemForObjectMetadataItem.tsxindex eb079813a0f..dca06c9c9a6 100644--- a/packages/twenty-front/src/modules/navigation-menu-item/display/object/components/NavigationDrawerItemForObjectMetadataItem.tsx+++ b/packages/twenty-front/src/modules/navigation-menu-item/display/object/components/NavigationDrawerItemForObjectMetadataItem.tsx@@ -29,7 +29,7 @@ import {NavigationMenuItemType,} from 'twenty-shared/types';import { getAppPath, isDefined } from 'twenty-shared/utils';-import { Avatar } from 'twenty-ui/data-display';+import { Avatar } from 'twenty-ui/primitives/data-display';import { IconLock, useIcons } from 'twenty-ui/icon';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';import { type NavigationMenuItem } from '~/generated-metadata/graphql';diff --git a/packages/twenty-front/src/modules/navigation-menu-item/display/sections/components/NavigationDrawerOpenedSection.tsx b/packages/twenty-front/src/modules/navigation-menu-item/display/sections/components/NavigationDrawerOpenedSection.tsxindex 563195cd301..68810b8edce 100644--- a/packages/twenty-front/src/modules/navigation-menu-item/display/sections/components/NavigationDrawerOpenedSection.tsx+++ b/packages/twenty-front/src/modules/navigation-menu-item/display/sections/components/NavigationDrawerOpenedSection.tsx@@ -3,7 +3,7 @@ import { NavigationDrawerSectionForObjectMetadataItems } from '@/object-metadataimport { useFilteredObjectMetadataItems } from '@/object-metadata/hooks/useFilteredObjectMetadataItems';import { useLingui } from '@lingui/react/macro';import { isDefined } from 'twenty-shared/utils';-import { AnimatedExpandableContainer } from 'twenty-ui/layout';+import { AnimatedExpandableContainer } from 'twenty-ui/primitives/layout';export const NavigationDrawerOpenedSection = () => {const { t } = useLingui();diff --git a/packages/twenty-front/src/modules/navigation-menu-item/display/sections/components/NavigationMenuItemSection.tsx b/packages/twenty-front/src/modules/navigation-menu-item/display/sections/components/NavigationMenuItemSection.tsxindex f8cc080b495..430ebd32d6c 100644--- a/packages/twenty-front/src/modules/navigation-menu-item/display/sections/components/NavigationMenuItemSection.tsx+++ b/packages/twenty-front/src/modules/navigation-menu-item/display/sections/components/NavigationMenuItemSection.tsx@@ -1,5 +1,5 @@import type { ReactNode } from 'react';-import { AnimatedExpandableContainer } from 'twenty-ui/layout';+import { AnimatedExpandableContainer } from 'twenty-ui/primitives/layout';import { NavigationDrawerAnimatedCollapseWrapper } from '@/ui/navigation/navigation-drawer/components/NavigationDrawerAnimatedCollapseWrapper';import { NavigationDrawerSection } from '@/ui/navigation/navigation-drawer/components/NavigationDrawerSection';diff --git a/packages/twenty-front/src/modules/navigation-menu-item/display/sections/favorites/components/FavoritesSection.tsx b/packages/twenty-front/src/modules/navigation-menu-item/display/sections/favorites/components/FavoritesSection.tsxindex dedb56fe4ea..8205dd2cc39 100644--- a/packages/twenty-front/src/modules/navigation-menu-item/display/sections/favorites/components/FavoritesSection.tsx+++ b/packages/twenty-front/src/modules/navigation-menu-item/display/sections/favorites/components/FavoritesSection.tsx@@ -3,7 +3,7 @@ import { useLingui } from '@lingui/react/macro';import { useCallback, useContext, useMemo } from 'react';import { SidePanelPages } from 'twenty-shared/types';import { IconHeart, IconHeartOff, IconPlus } from 'twenty-ui/icon';-import { LightIconButton } from 'twenty-ui/input';+import { LightIconButton } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';import { type NavigationMenuItem } from '~/generated-metadata/graphql';diff --git a/packages/twenty-front/src/modules/navigation-menu-item/display/sections/favorites/components/FavoritesSectionDispatcher.tsx b/packages/twenty-front/src/modules/navigation-menu-item/display/sections/favorites/components/FavoritesSectionDispatcher.tsxindex c801b6637a2..3cb9f0ae171 100644--- a/packages/twenty-front/src/modules/navigation-menu-item/display/sections/favorites/components/FavoritesSectionDispatcher.tsx+++ b/packages/twenty-front/src/modules/navigation-menu-item/display/sections/favorites/components/FavoritesSectionDispatcher.tsx@@ -4,7 +4,7 @@ import { NavigationMenuItemDndKitProvider } from '@/navigation-menu-item/displayimport { useSortedNavigationMenuItems } from '@/navigation-menu-item/display/hooks/useSortedNavigationMenuItems';import { FavoritesSection } from '@/navigation-menu-item/display/sections/favorites/components/FavoritesSection';import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';-import { AnimatedEaseInOut } from 'twenty-ui/layout';+import { AnimatedEaseInOut } from 'twenty-ui/primitives/layout';export const FavoritesSectionDispatcher = () => {const isLayoutCustomizationModeEnabled = useAtomStateValue(diff --git a/packages/twenty-front/src/modules/navigation-menu-item/display/sections/workspace/components/WorkspaceSection.tsx b/packages/twenty-front/src/modules/navigation-menu-item/display/sections/workspace/components/WorkspaceSection.tsxindex 3436701c234..0ba1dcef7d2 100644--- a/packages/twenty-front/src/modules/navigation-menu-item/display/sections/workspace/components/WorkspaceSection.tsx+++ b/packages/twenty-front/src/modules/navigation-menu-item/display/sections/workspace/components/WorkspaceSection.tsx@@ -10,7 +10,7 @@ import {IconTool,useIcons,} from 'twenty-ui/icon';-import { LightIconButton } from 'twenty-ui/input';+import { LightIconButton } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';import { useIsMobile } from 'twenty-ui/utilities';diff --git a/packages/twenty-front/src/modules/navigation-menu-item/display/view/components/ObjectIconWithViewOverlay.tsx b/packages/twenty-front/src/modules/navigation-menu-item/display/view/components/ObjectIconWithViewOverlay.tsxindex 52dd50cfd2d..26b6e436665 100644--- a/packages/twenty-front/src/modules/navigation-menu-item/display/view/components/ObjectIconWithViewOverlay.tsx+++ b/packages/twenty-front/src/modules/navigation-menu-item/display/view/components/ObjectIconWithViewOverlay.tsx@@ -1,6 +1,6 @@import { styled } from '@linaria/react';import { useContext } from 'react';-import { getIconTileColorShades } from 'twenty-ui/data-display';+import { getIconTileColorShades } from 'twenty-ui/primitives/data-display';import { type IconComponent } from 'twenty-ui/icon';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';diff --git a/packages/twenty-front/src/modules/navigation-menu-item/edit/side-panel/components/SidePanelEditColorOption.tsx b/packages/twenty-front/src/modules/navigation-menu-item/edit/side-panel/components/SidePanelEditColorOption.tsxindex 73d72cddd89..daa31c6514a 100644--- a/packages/twenty-front/src/modules/navigation-menu-item/edit/side-panel/components/SidePanelEditColorOption.tsx+++ b/packages/twenty-front/src/modules/navigation-menu-item/edit/side-panel/components/SidePanelEditColorOption.tsx@@ -11,7 +11,7 @@ import { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';import { capitalize } from 'twenty-shared/utils';import { IconColorSwatch } from 'twenty-ui/icon';-import { DEFAULT_COLOR_LABELS } from 'twenty-ui/navigation';+import { DEFAULT_COLOR_LABELS } from 'twenty-ui/primitives/navigation';import { type ThemeColor } from 'twenty-ui/theme';import { themeCssVariables } from 'twenty-ui/theme-constants';diff --git a/packages/twenty-front/src/modules/navigation-menu-item/edit/side-panel/components/SidePanelEditFolderPickerSubPage.tsx b/packages/twenty-front/src/modules/navigation-menu-item/edit/side-panel/components/SidePanelEditFolderPickerSubPage.tsxindex d501404e445..567c552f3d0 100644--- a/packages/twenty-front/src/modules/navigation-menu-item/edit/side-panel/components/SidePanelEditFolderPickerSubPage.tsx+++ b/packages/twenty-front/src/modules/navigation-menu-item/edit/side-panel/components/SidePanelEditFolderPickerSubPage.tsx@@ -1,6 +1,6 @@import { useLingui } from '@lingui/react/macro';import { useState } from 'react';-import { TintedIconTile } from 'twenty-ui/data-display';+import { TintedIconTile } from 'twenty-ui/primitives/data-display';import { useIcons } from 'twenty-ui/icon';import { CommandMenuItem } from '@/command-menu/components/CommandMenuItem';diff --git a/packages/twenty-front/src/modules/navigation-menu-item/edit/side-panel/components/SidePanelNewSidebarItemMainMenu.tsx b/packages/twenty-front/src/modules/navigation-menu-item/edit/side-panel/components/SidePanelNewSidebarItemMainMenu.tsxindex 25457283e28..044096abd45 100644--- a/packages/twenty-front/src/modules/navigation-menu-item/edit/side-panel/components/SidePanelNewSidebarItemMainMenu.tsx+++ b/packages/twenty-front/src/modules/navigation-menu-item/edit/side-panel/components/SidePanelNewSidebarItemMainMenu.tsx@@ -1,7 +1,7 @@import { useLingui } from '@lingui/react/macro';import { NavigationMenuItemType } from 'twenty-shared/types';import { isDefined } from 'twenty-shared/utils';-import { Avatar, TintedIconTile } from 'twenty-ui/data-display';+import { Avatar, TintedIconTile } from 'twenty-ui/primitives/data-display';import { IconBox, IconFolder, IconLink, IconTable } from 'twenty-ui/icon';import { themeCssVariables } from 'twenty-ui/theme-constants';diff --git a/packages/twenty-front/src/modules/navigation-menu-item/edit/side-panel/components/SidePanelNewSidebarItemRecordItem.tsx b/packages/twenty-front/src/modules/navigation-menu-item/edit/side-panel/components/SidePanelNewSidebarItemRecordItem.tsxindex bc2fe485b96..39d05f7470d 100644--- a/packages/twenty-front/src/modules/navigation-menu-item/edit/side-panel/components/SidePanelNewSidebarItemRecordItem.tsx+++ b/packages/twenty-front/src/modules/navigation-menu-item/edit/side-panel/components/SidePanelNewSidebarItemRecordItem.tsx@@ -1,4 +1,4 @@-import { Avatar } from 'twenty-ui/data-display';+import { Avatar } from 'twenty-ui/primitives/data-display';import { useIcons } from 'twenty-ui/icon';import {CoreObjectNameSingular,diff --git a/packages/twenty-front/src/modules/navigation-menu-item/edit/side-panel/components/SidePanelNewSidebarItemViewObjectPickerSubView.tsx b/packages/twenty-front/src/modules/navigation-menu-item/edit/side-panel/components/SidePanelNewSidebarItemViewObjectPickerSubView.tsxindex 0b501f359fb..6a02148f54f 100644--- a/packages/twenty-front/src/modules/navigation-menu-item/edit/side-panel/components/SidePanelNewSidebarItemViewObjectPickerSubView.tsx+++ b/packages/twenty-front/src/modules/navigation-menu-item/edit/side-panel/components/SidePanelNewSidebarItemViewObjectPickerSubView.tsx@@ -1,5 +1,5 @@import { useLingui } from '@lingui/react/macro';-import { TintedIconTile } from 'twenty-ui/data-display';+import { TintedIconTile } from 'twenty-ui/primitives/data-display';import { IconSettings } from 'twenty-ui/icon';import { CommandMenuItem } from '@/command-menu/components/CommandMenuItem';diff --git a/packages/twenty-front/src/modules/navigation-menu-item/edit/side-panel/components/SidePanelObjectPickerSubView.tsx b/packages/twenty-front/src/modules/navigation-menu-item/edit/side-panel/components/SidePanelObjectPickerSubView.tsxindex 6e0a7a5f67b..c21ff7732f4 100644--- a/packages/twenty-front/src/modules/navigation-menu-item/edit/side-panel/components/SidePanelObjectPickerSubView.tsx+++ b/packages/twenty-front/src/modules/navigation-menu-item/edit/side-panel/components/SidePanelObjectPickerSubView.tsx@@ -1,5 +1,5 @@import { useLingui } from '@lingui/react/macro';-import { TintedIconTile } from 'twenty-ui/data-display';+import { TintedIconTile } from 'twenty-ui/primitives/data-display';import { IconSettings } from 'twenty-ui/icon';import { CommandMenuItem } from '@/command-menu/components/CommandMenuItem';diff --git a/packages/twenty-front/src/modules/navigation/components/MainNavigationDrawerModeSwitcher.tsx b/packages/twenty-front/src/modules/navigation/components/MainNavigationDrawerModeSwitcher.tsxindex 43e8447026c..712c00f65f1 100644--- a/packages/twenty-front/src/modules/navigation/components/MainNavigationDrawerModeSwitcher.tsx+++ b/packages/twenty-front/src/modules/navigation/components/MainNavigationDrawerModeSwitcher.tsx@@ -2,7 +2,11 @@ import { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';import { motion, useReducedMotion } from 'framer-motion';import { useContext, useId } from 'react';-import { AppTooltip, TooltipDelay, TooltipPosition } from 'twenty-ui/surfaces';+import {+ AppTooltip,+ TooltipDelay,+ TooltipPosition,+} from 'twenty-ui/primitives/surfaces';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';import { isLayoutCustomizationModeEnabledState } from '@/layout-customization/states/isLayoutCustomizationModeEnabledState';diff --git a/packages/twenty-front/src/modules/navigation/components/MobileNavigationBar.tsx b/packages/twenty-front/src/modules/navigation/components/MobileNavigationBar.tsxindex 771a5204b32..953f71b9218 100644--- a/packages/twenty-front/src/modules/navigation/components/MobileNavigationBar.tsx+++ b/packages/twenty-front/src/modules/navigation/components/MobileNavigationBar.tsx@@ -7,7 +7,7 @@ import { RootStackingContextZIndices } from '@/ui/layout/constants/RootStackingCimport { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';import { styled } from '@linaria/react';import { useLocation } from 'react-router-dom';-import { NavigationBar } from 'twenty-ui/navigation';+import { NavigationBar } from 'twenty-ui/primitives/navigation';import { isAiChatPath } from '~/utils/isAiChatPath';// The bar floats over the page, so the container has to let taps through todiff --git a/packages/twenty-front/src/modules/navigation/components/__tests__/MainNavigationDrawerModeSwitcher.test.tsx b/packages/twenty-front/src/modules/navigation/components/__tests__/MainNavigationDrawerModeSwitcher.test.tsxindex ed30400738c..d4f409ea33f 100644--- a/packages/twenty-front/src/modules/navigation/components/__tests__/MainNavigationDrawerModeSwitcher.test.tsx+++ b/packages/twenty-front/src/modules/navigation/components/__tests__/MainNavigationDrawerModeSwitcher.test.tsx@@ -22,8 +22,8 @@ jest.mock('@/ui/utilities/responsive/hooks/useIsMobile', () => ({useIsMobile: () => false,}));-jest.mock('twenty-ui/surfaces', () => ({- ...jest.requireActual('twenty-ui/surfaces'),+jest.mock('twenty-ui/primitives/surfaces', () => ({+ ...jest.requireActual('twenty-ui/primitives/surfaces'),AppTooltip: () => null,}));diff --git a/packages/twenty-front/src/modules/object-core/components/CoreObjectTableCheckboxCell.tsx b/packages/twenty-front/src/modules/object-core/components/CoreObjectTableCheckboxCell.tsxindex f3c55ee896d..827cb7466ad 100644--- a/packages/twenty-front/src/modules/object-core/components/CoreObjectTableCheckboxCell.tsx+++ b/packages/twenty-front/src/modules/object-core/components/CoreObjectTableCheckboxCell.tsx@@ -1,6 +1,6 @@import { styled } from '@linaria/react';import { type MouseEvent } from 'react';-import { Checkbox } from 'twenty-ui/input';+import { Checkbox } from 'twenty-ui/primitives/input';const StyledContainer = styled.div`align-items: center;diff --git a/packages/twenty-front/src/modules/object-core/components/cells/CoreObjectNameCell.tsx b/packages/twenty-front/src/modules/object-core/components/cells/CoreObjectNameCell.tsxindex 2971dafc970..db984c104ea 100644--- a/packages/twenty-front/src/modules/object-core/components/cells/CoreObjectNameCell.tsx+++ b/packages/twenty-front/src/modules/object-core/components/cells/CoreObjectNameCell.tsx@@ -1,9 +1,9 @@import { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';import { isNonEmptyString } from '@sniptt/guards';-import { TintedIconTile } from 'twenty-ui/data-display';+import { TintedIconTile } from 'twenty-ui/primitives/data-display';import { type IconComponent } from 'twenty-ui/icon';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';import { type ThemeColor } from 'twenty-ui/theme';import { themeCssVariables } from 'twenty-ui/theme-constants';diff --git a/packages/twenty-front/src/modules/object-core/workflows/components/CoreWorkflowFiltersBuilder.tsx b/packages/twenty-front/src/modules/object-core/workflows/components/CoreWorkflowFiltersBuilder.tsxindex 5ea6999d9d4..bfcbcea49a9 100644--- a/packages/twenty-front/src/modules/object-core/workflows/components/CoreWorkflowFiltersBuilder.tsx+++ b/packages/twenty-front/src/modules/object-core/workflows/components/CoreWorkflowFiltersBuilder.tsx@@ -2,7 +2,7 @@ import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';import { type StepFilter } from 'twenty-shared/types';import { isDefined } from 'twenty-shared/utils';-import { InputLabel } from 'twenty-ui/input';+import { InputLabel } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';import { CoreWorkflowFilterAddRuleButton } from '@/object-core/workflows/components/CoreWorkflowFilterAddRuleButton';diff --git a/packages/twenty-front/src/modules/object-core/workflows/components/CoreWorkflowsFilterBar.tsx b/packages/twenty-front/src/modules/object-core/workflows/components/CoreWorkflowsFilterBar.tsxindex 106ef00dab0..33128c445e8 100644--- a/packages/twenty-front/src/modules/object-core/workflows/components/CoreWorkflowsFilterBar.tsx+++ b/packages/twenty-front/src/modules/object-core/workflows/components/CoreWorkflowsFilterBar.tsx@@ -1,7 +1,7 @@import { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';import { IconFilter } from 'twenty-ui/icon';-import { IconButton } from 'twenty-ui/input';+import { IconButton } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';import { findCoreWorkflowFilterField } from '@/object-core/workflows/utils/findCoreWorkflowFilterField';diff --git a/packages/twenty-front/src/modules/object-core/workflows/hooks/useCoreWorkflowStatusOptions.ts b/packages/twenty-front/src/modules/object-core/workflows/hooks/useCoreWorkflowStatusOptions.tsindex e20710bbe1a..7e5cd403e53 100644--- a/packages/twenty-front/src/modules/object-core/workflows/hooks/useCoreWorkflowStatusOptions.ts+++ b/packages/twenty-front/src/modules/object-core/workflows/hooks/useCoreWorkflowStatusOptions.ts@@ -1,5 +1,5 @@import { CoreObjectNameSingular } from 'twenty-shared/types';-import { type SelectOption } from 'twenty-ui/input';+import { type SelectOption } from 'twenty-ui/primitives/input';import { useObjectMetadataItem } from '@/object-metadata/hooks/useObjectMetadataItem';diff --git a/packages/twenty-front/src/modules/object-core/workflows/versions/components/CoreWorkflowVersionRestoreButton.tsx b/packages/twenty-front/src/modules/object-core/workflows/versions/components/CoreWorkflowVersionRestoreButton.tsxindex 11ec62a91ed..4542e3e2648 100644--- a/packages/twenty-front/src/modules/object-core/workflows/versions/components/CoreWorkflowVersionRestoreButton.tsx+++ b/packages/twenty-front/src/modules/object-core/workflows/versions/components/CoreWorkflowVersionRestoreButton.tsx@@ -1,5 +1,5 @@import { useLingui } from '@lingui/react/macro';-import { Button } from 'twenty-ui/input';+import { Button } from 'twenty-ui/primitives/input';import { RESTORE_CORE_WORKFLOW_VERSION_MODAL_ID } from '@/object-core/workflows/versions/constants/RestoreCoreWorkflowVersionModalId';import { useRestoreCoreWorkflowVersionAsDraft } from '@/object-core/workflows/versions/hooks/useRestoreCoreWorkflowVersionAsDraft';diff --git a/packages/twenty-front/src/modules/object-core/workflows/versions/components/CoreWorkflowVersionsListItem.tsx b/packages/twenty-front/src/modules/object-core/workflows/versions/components/CoreWorkflowVersionsListItem.tsxindex 4e3e456398c..5ac1b41730c 100644--- a/packages/twenty-front/src/modules/object-core/workflows/versions/components/CoreWorkflowVersionsListItem.tsx+++ b/packages/twenty-front/src/modules/object-core/workflows/versions/components/CoreWorkflowVersionsListItem.tsx@@ -1,7 +1,7 @@import { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';import { themeCssVariables } from 'twenty-ui/theme-constants';-import { Tag } from 'twenty-ui/data-display';+import { Tag } from 'twenty-ui/primitives/data-display';import { CORE_WORKFLOW_VERSION_STATUS_TAG_PROPS } from '@/object-core/workflows/versions/constants/CoreWorkflowVersionStatusTagProps';import { SelectableListItem } from '@/ui/layout/selectable-list/components/SelectableListItem';diff --git a/packages/twenty-front/src/modules/object-core/workflows/versions/components/SidePanelCoreWorkflowVersionPage.tsx b/packages/twenty-front/src/modules/object-core/workflows/versions/components/SidePanelCoreWorkflowVersionPage.tsxindex b69949b6b0f..f9d131b69dc 100644--- a/packages/twenty-front/src/modules/object-core/workflows/versions/components/SidePanelCoreWorkflowVersionPage.tsx+++ b/packages/twenty-front/src/modules/object-core/workflows/versions/components/SidePanelCoreWorkflowVersionPage.tsx@@ -1,7 +1,7 @@import { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';import { isDefined } from 'twenty-shared/utils';-import { Tag } from 'twenty-ui/data-display';+import { Tag } from 'twenty-ui/primitives/data-display';import { themeCssVariables } from 'twenty-ui/theme-constants';import { CoreWorkflowVersionCard } from '@/object-core/workflows/versions/components/CoreWorkflowVersionCard';diff --git a/packages/twenty-front/src/modules/object-metadata/components/ObjectMetadataIcon.tsx b/packages/twenty-front/src/modules/object-metadata/components/ObjectMetadataIcon.tsxindex dcdfaee67e8..f412d21ab61 100644--- a/packages/twenty-front/src/modules/object-metadata/components/ObjectMetadataIcon.tsx+++ b/packages/twenty-front/src/modules/object-metadata/components/ObjectMetadataIcon.tsx@@ -1,6 +1,6 @@import { type EnrichedObjectMetadataItem } from '@/object-metadata/types/EnrichedObjectMetadataItem';import { getObjectColorWithFallback } from '@/object-metadata/utils/getObjectColorWithFallback';-import { TintedIconTile } from 'twenty-ui/data-display';+import { TintedIconTile } from 'twenty-ui/primitives/data-display';import { useIcons } from 'twenty-ui/icon';export type ObjectMetadataIconInput = Pick<diff --git a/packages/twenty-front/src/modules/object-record/advanced-filter/components/AdvancedFilterAddFilterRuleSelect.tsx b/packages/twenty-front/src/modules/object-record/advanced-filter/components/AdvancedFilterAddFilterRuleSelect.tsxindex 7616a7b01d3..7705c3b1156 100644--- a/packages/twenty-front/src/modules/object-record/advanced-filter/components/AdvancedFilterAddFilterRuleSelect.tsx+++ b/packages/twenty-front/src/modules/object-record/advanced-filter/components/AdvancedFilterAddFilterRuleSelect.tsx@@ -20,7 +20,7 @@ import { useContext } from 'react';import { RecordFilterGroupLogicalOperator } from 'twenty-shared/types';import { getFilterTypeFromFieldType, isDefined } from 'twenty-shared/utils';import { IconLibraryPlus, IconPlus } from 'twenty-ui/icon';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { v4 } from 'uuid';type AdvancedFilterAddFilterRuleSelectProps = {diff --git a/packages/twenty-front/src/modules/object-record/advanced-filter/components/AdvancedFilterCompositeSubFieldSelectMenu.tsx b/packages/twenty-front/src/modules/object-record/advanced-filter/components/AdvancedFilterCompositeSubFieldSelectMenu.tsxindex 2f231f094a6..807d02ff589 100644--- a/packages/twenty-front/src/modules/object-record/advanced-filter/components/AdvancedFilterCompositeSubFieldSelectMenu.tsx+++ b/packages/twenty-front/src/modules/object-record/advanced-filter/components/AdvancedFilterCompositeSubFieldSelectMenu.tsx@@ -24,7 +24,7 @@ import { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useimport { t } from '@lingui/core/macro';import { isDefined } from 'twenty-shared/utils';import { IconChevronLeft, useIcons } from 'twenty-ui/icon';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';type AdvancedFilterCompositeSubFieldSelectMenuProps = {recordFilterId: string;diff --git a/packages/twenty-front/src/modules/object-record/advanced-filter/components/AdvancedFilterRecordFilterGroupOptionsDropdown.tsx b/packages/twenty-front/src/modules/object-record/advanced-filter/components/AdvancedFilterRecordFilterGroupOptionsDropdown.tsxindex 1185e2b1e17..6b7611f30d9 100644--- a/packages/twenty-front/src/modules/object-record/advanced-filter/components/AdvancedFilterRecordFilterGroupOptionsDropdown.tsx+++ b/packages/twenty-front/src/modules/object-record/advanced-filter/components/AdvancedFilterRecordFilterGroupOptionsDropdown.tsx@@ -9,8 +9,8 @@ import { DropdownMenuItemsContainer } from '@/ui/layout/dropdown/components/Dropimport { useCloseDropdown } from '@/ui/layout/dropdown/hooks/useCloseDropdown';import { t } from '@lingui/core/macro';import { IconDotsVertical, IconTrash } from 'twenty-ui/icon';-import { IconButton } from 'twenty-ui/input';-import { MenuItem } from 'twenty-ui/navigation';+import { IconButton } from 'twenty-ui/primitives/input';+import { MenuItem } from 'twenty-ui/primitives/navigation';type AdvancedFilterRecordFilterGroupOptionsDropdownProps = {recordFilterGroupId: string;diff --git a/packages/twenty-front/src/modules/object-record/advanced-filter/components/AdvancedFilterRecordFilterOperandSelectContent.tsx b/packages/twenty-front/src/modules/object-record/advanced-filter/components/AdvancedFilterRecordFilterOperandSelectContent.tsxindex 8b97abd4c58..09dae7b6fe4 100644--- a/packages/twenty-front/src/modules/object-record/advanced-filter/components/AdvancedFilterRecordFilterOperandSelectContent.tsx+++ b/packages/twenty-front/src/modules/object-record/advanced-filter/components/AdvancedFilterRecordFilterOperandSelectContent.tsx@@ -21,7 +21,7 @@ import { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useimport { t } from '@lingui/core/macro';import { useContext } from 'react';import { type ViewFilterOperand } from 'twenty-shared/types';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';type AdvancedFilterRecordFilterOperandSelectContentProps = {recordFilterId: string;diff --git a/packages/twenty-front/src/modules/object-record/advanced-filter/components/AdvancedFilterRecordFilterOptionsDropdown.tsx b/packages/twenty-front/src/modules/object-record/advanced-filter/components/AdvancedFilterRecordFilterOptionsDropdown.tsxindex 312e0935fe9..979fc76de6c 100644--- a/packages/twenty-front/src/modules/object-record/advanced-filter/components/AdvancedFilterRecordFilterOptionsDropdown.tsx+++ b/packages/twenty-front/src/modules/object-record/advanced-filter/components/AdvancedFilterRecordFilterOptionsDropdown.tsx@@ -14,8 +14,8 @@ import { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useimport { t } from '@lingui/core/macro';import { isDefined } from 'twenty-shared/utils';import { IconDotsVertical, IconTrash } from 'twenty-ui/icon';-import { IconButton } from 'twenty-ui/input';-import { MenuItem } from 'twenty-ui/navigation';+import { IconButton } from 'twenty-ui/primitives/input';+import { MenuItem } from 'twenty-ui/primitives/navigation';type AdvancedFilterRecordFilterOptionsDropdownProps = {recordFilterId: string;diff --git a/packages/twenty-front/src/modules/object-record/advanced-filter/components/AdvancedFilterRelationTargetFieldSelectMenu.tsx b/packages/twenty-front/src/modules/object-record/advanced-filter/components/AdvancedFilterRelationTargetFieldSelectMenu.tsxindex 3662c2b9743..460b67b6289 100644--- a/packages/twenty-front/src/modules/object-record/advanced-filter/components/AdvancedFilterRelationTargetFieldSelectMenu.tsx+++ b/packages/twenty-front/src/modules/object-record/advanced-filter/components/AdvancedFilterRelationTargetFieldSelectMenu.tsx@@ -23,7 +23,7 @@ import { useSetAtomComponentState } from '@/ui/utilities/state/jotai/hooks/useSeimport { CoreObjectNameSingular } from 'twenty-shared/types';import { isDefined } from 'twenty-shared/utils';import { IconChevronLeft, IconUserCircle, useIcons } from 'twenty-ui/icon';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';const RELATION_RECORD_SELECTABLE_ITEM_ID = 'relation-record-select';diff --git a/packages/twenty-front/src/modules/object-record/advanced-filter/side-panel/components/AdvancedFilterSidePanelCreateRootFilterButton.tsx b/packages/twenty-front/src/modules/object-record/advanced-filter/side-panel/components/AdvancedFilterSidePanelCreateRootFilterButton.tsxindex 98b8edd5085..e45611dc2d3 100644--- a/packages/twenty-front/src/modules/object-record/advanced-filter/side-panel/components/AdvancedFilterSidePanelCreateRootFilterButton.tsx+++ b/packages/twenty-front/src/modules/object-record/advanced-filter/side-panel/components/AdvancedFilterSidePanelCreateRootFilterButton.tsx@@ -14,7 +14,7 @@ import { useContext } from 'react';import { RecordFilterGroupLogicalOperator } from 'twenty-shared/types';import { isDefined } from 'twenty-shared/utils';import { IconFilter } from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';+import { Button } from 'twenty-ui/primitives/input';import { v4 } from 'uuid';export const AdvancedFilterSidePanelCreateRootFilterButton = ({diff --git a/packages/twenty-front/src/modules/object-record/advanced-filter/side-panel/components/AdvancedFilterSidePanelValueFormCompositeFieldInput.tsx b/packages/twenty-front/src/modules/object-record/advanced-filter/side-panel/components/AdvancedFilterSidePanelValueFormCompositeFieldInput.tsxindex 19efbb52756..7a965a9df52 100644--- a/packages/twenty-front/src/modules/object-record/advanced-filter/side-panel/components/AdvancedFilterSidePanelValueFormCompositeFieldInput.tsx+++ b/packages/twenty-front/src/modules/object-record/advanced-filter/side-panel/components/AdvancedFilterSidePanelValueFormCompositeFieldInput.tsx@@ -11,7 +11,7 @@ import { type RecordFilter } from '@/object-record/record-filter/types/RecordFilimport { CURRENCIES } from '@/settings/data-model/constants/Currencies';import { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentStateValue';import { useContext } from 'react';-import { type SelectOption } from 'twenty-ui/input';+import { type SelectOption } from 'twenty-ui/primitives/input';import { type JsonValue } from 'type-fest';const ACTOR_SOURCE_OPTIONS: SelectOption[] = Object.values(diff --git a/packages/twenty-front/src/modules/object-record/components/RecordChip.tsx b/packages/twenty-front/src/modules/object-record/components/RecordChip.tsxindex 7d6575b443b..baeb6073e77 100644--- a/packages/twenty-front/src/modules/object-record/components/RecordChip.tsx+++ b/packages/twenty-front/src/modules/object-record/components/RecordChip.tsx@@ -10,10 +10,10 @@ import { type MouseEvent } from 'react';import { isDefined } from 'twenty-shared/utils';import {AvatarOrIcon,+ LinkChip,Chip,type ChipSize,- LinkChip,-} from 'twenty-ui/data-display';+} from 'twenty-ui/primitives/data-display';import { type TriggerEventType } from 'twenty-ui/utilities';export type RecordChipProps = {diff --git a/packages/twenty-front/src/modules/object-record/object-filter-dropdown/components/ObjectFilterDropdownCountrySelect.tsx b/packages/twenty-front/src/modules/object-record/object-filter-dropdown/components/ObjectFilterDropdownCountrySelect.tsxindex 50f111c1373..17e9906ca82 100644--- a/packages/twenty-front/src/modules/object-record/object-filter-dropdown/components/ObjectFilterDropdownCountrySelect.tsx+++ b/packages/twenty-front/src/modules/object-record/object-filter-dropdown/components/ObjectFilterDropdownCountrySelect.tsx@@ -16,7 +16,10 @@ import { useLingui } from '@lingui/react/macro';import { isNonEmptyString } from '@sniptt/guards';import { type ChangeEvent, useState } from 'react';import { isDefined, parseJson } from 'twenty-shared/utils';-import { MenuItem, MenuItemMultiSelectAvatar } from 'twenty-ui/navigation';+import {+ MenuItem,+ MenuItemMultiSelectAvatar,+} from 'twenty-ui/primitives/navigation';import { z } from 'zod';export const EMPTY_FILTER_VALUE = '[]';diff --git a/packages/twenty-front/src/modules/object-record/object-filter-dropdown/components/ObjectFilterDropdownCurrencySelect.tsx b/packages/twenty-front/src/modules/object-record/object-filter-dropdown/components/ObjectFilterDropdownCurrencySelect.tsxindex 11d0647dc33..171e373de35 100644--- a/packages/twenty-front/src/modules/object-record/object-filter-dropdown/components/ObjectFilterDropdownCurrencySelect.tsx+++ b/packages/twenty-front/src/modules/object-record/object-filter-dropdown/components/ObjectFilterDropdownCurrencySelect.tsx@@ -15,7 +15,10 @@ import { useLingui } from '@lingui/react/macro';import { isNonEmptyString } from '@sniptt/guards';import { type ChangeEvent, useState } from 'react';import { isDefined, parseJson } from 'twenty-shared/utils';-import { MenuItem, MenuItemMultiSelectAvatar } from 'twenty-ui/navigation';+import {+ MenuItem,+ MenuItemMultiSelectAvatar,+} from 'twenty-ui/primitives/navigation';import { z } from 'zod';export const EMPTY_FILTER_VALUE = '[]';diff --git a/packages/twenty-front/src/modules/object-record/object-filter-dropdown/components/ObjectFilterDropdownFilterSelectMenuItem.tsx b/packages/twenty-front/src/modules/object-record/object-filter-dropdown/components/ObjectFilterDropdownFilterSelectMenuItem.tsxindex d37f3b7baf2..0d69622993b 100644--- a/packages/twenty-front/src/modules/object-record/object-filter-dropdown/components/ObjectFilterDropdownFilterSelectMenuItem.tsx+++ b/packages/twenty-front/src/modules/object-record/object-filter-dropdown/components/ObjectFilterDropdownFilterSelectMenuItem.tsx@@ -5,7 +5,7 @@ import { useSelectableList } from '@/ui/layout/selectable-list/hooks/useSelectabimport { isSelectedItemIdComponentFamilyState } from '@/ui/layout/selectable-list/states/isSelectedItemIdComponentFamilyState';import { useAtomComponentFamilyStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentFamilyStateValue';import { useIcons } from 'twenty-ui/icon';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';export type ObjectFilterDropdownFilterSelectMenuItemProps = {fieldMetadataItemToSelect: FieldMetadataItem;diff --git a/packages/twenty-front/src/modules/object-record/object-filter-dropdown/components/ObjectFilterDropdownInnerSelectOperandDropdown.tsx b/packages/twenty-front/src/modules/object-record/object-filter-dropdown/components/ObjectFilterDropdownInnerSelectOperandDropdown.tsxindex 2e4a57221ae..dc048521e1e 100644--- a/packages/twenty-front/src/modules/object-record/object-filter-dropdown/components/ObjectFilterDropdownInnerSelectOperandDropdown.tsx+++ b/packages/twenty-front/src/modules/object-record/object-filter-dropdown/components/ObjectFilterDropdownInnerSelectOperandDropdown.tsx@@ -20,7 +20,7 @@ import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateimport { ObjectFilterDropdownComponentInstanceContext } from '@/object-record/object-filter-dropdown/states/contexts/ObjectFilterDropdownComponentInstanceContext';import { useAvailableComponentInstanceIdOrThrow } from '@/ui/utilities/state/component-state/hooks/useAvailableComponentInstanceIdOrThrow';import { getFilterTypeFromFieldType, isDefined } from 'twenty-shared/utils';-import { type SelectOption } from 'twenty-ui/input';+import { type SelectOption } from 'twenty-ui/primitives/input';export const ObjectFilterDropdownInnerSelectOperandDropdown = () => {const objectFilterDropdownComponentInstanceId =diff --git a/packages/twenty-front/src/modules/object-record/object-filter-dropdown/components/ObjectFilterDropdownOptionSelect.tsx b/packages/twenty-front/src/modules/object-record/object-filter-dropdown/components/ObjectFilterDropdownOptionSelect.tsxindex e2e98a4337d..bd11a2b4eb4 100644--- a/packages/twenty-front/src/modules/object-record/object-filter-dropdown/components/ObjectFilterDropdownOptionSelect.tsx+++ b/packages/twenty-front/src/modules/object-record/object-filter-dropdown/components/ObjectFilterDropdownOptionSelect.tsx@@ -25,7 +25,7 @@ import { t } from '@lingui/core/macro';import { isNonEmptyString } from '@sniptt/guards';import { MAX_OPTIONS_TO_DISPLAY } from 'twenty-shared/constants';import { isDefined, parseJson } from 'twenty-shared/utils';-import { MenuItem, MenuItemMultiSelect } from 'twenty-ui/navigation';+import { MenuItem, MenuItemMultiSelect } from 'twenty-ui/primitives/navigation';import { z } from 'zod';export const EMPTY_FILTER_VALUE = '';diff --git a/packages/twenty-front/src/modules/object-record/object-filter-dropdown/components/ObjectFilterDropdownRecordPinnedItems.tsx b/packages/twenty-front/src/modules/object-record/object-filter-dropdown/components/ObjectFilterDropdownRecordPinnedItems.tsxindex e7a98f30f5f..0294227d88d 100644--- a/packages/twenty-front/src/modules/object-record/object-filter-dropdown/components/ObjectFilterDropdownRecordPinnedItems.tsx+++ b/packages/twenty-front/src/modules/object-record/object-filter-dropdown/components/ObjectFilterDropdownRecordPinnedItems.tsx@@ -1,7 +1,7 @@import { type SelectableItem } from '@/object-record/select/types/SelectableItem';import { styled } from '@linaria/react';-import { Avatar } from 'twenty-ui/data-display';-import { MenuItemMultiSelectAvatar } from 'twenty-ui/navigation';+import { Avatar } from 'twenty-ui/primitives/data-display';+import { MenuItemMultiSelectAvatar } from 'twenty-ui/primitives/navigation';import { themeCssVariables } from 'twenty-ui/theme-constants';import { getAbsoluteImageUrl } from '~/utils/image/getAbsoluteImageUrl';diff --git a/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownCalendarFieldsContent.tsx b/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownCalendarFieldsContent.tsxindex a4c4d890d55..c7a1531aa8e 100644--- a/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownCalendarFieldsContent.tsx+++ b/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownCalendarFieldsContent.tsx@@ -13,7 +13,7 @@ import { useGetAvailableFieldsForCalendar } from '@/views/view-picker/hooks/useGimport { useLingui } from '@lingui/react/macro';import { useState } from 'react';import { IconChevronLeft, IconSettings, useIcons } from 'twenty-ui/icon';-import { MenuItem, MenuItemSelect } from 'twenty-ui/navigation';+import { MenuItem, MenuItemSelect } from 'twenty-ui/primitives/navigation';export const ObjectOptionsDropdownCalendarFieldsContent = () => {const { t } = useLingui();diff --git a/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownCalendarViewContent.tsx b/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownCalendarViewContent.tsxindex 5a842867295..2bb5ef516de 100644--- a/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownCalendarViewContent.tsx+++ b/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownCalendarViewContent.tsx@@ -11,7 +11,7 @@ import { selectedItemIdComponentState } from '@/ui/layout/selectable-list/statesimport { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentStateValue';import { useUpdateCurrentView } from '@/views/hooks/useUpdateCurrentView';import { t } from '@lingui/core/macro';-import { Pill } from 'twenty-ui/data-display';+import { Pill } from 'twenty-ui/primitives/data-display';import {IconCalendarEvent,IconCalendarMonth,@@ -19,7 +19,7 @@ import {IconChevronLeft,IconTimelineEvent,} from 'twenty-ui/icon';-import { MenuItemSelect } from 'twenty-ui/navigation';+import { MenuItemSelect } from 'twenty-ui/primitives/navigation';import { ViewCalendarLayout } from '~/generated-metadata/graphql';const RECORD_CALENDAR_TIMELINE_VIEW_ID = 'record-calendar-timeline-view';diff --git a/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownCustomView.tsx b/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownCustomView.tsxindex fa42168f5a6..e0c98905dd1 100644--- a/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownCustomView.tsx+++ b/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownCustomView.tsx@@ -34,8 +34,8 @@ import {IconShare,IconTrash,} from 'twenty-ui/icon';-import { AppTooltip } from 'twenty-ui/surfaces';-import { MenuItem } from 'twenty-ui/navigation';+import { AppTooltip } from 'twenty-ui/primitives/surfaces';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { ViewCalendarLayout } from '~/generated-metadata/graphql';interface ObjectOptionsDropdownCustomViewProps {diff --git a/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownDefaultView.tsx b/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownDefaultView.tsxindex 05fc2c09944..06b0d5107eb 100644--- a/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownDefaultView.tsx+++ b/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownDefaultView.tsx@@ -19,7 +19,7 @@ import {IconLock,useIcons,} from 'twenty-ui/icon';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { useCopyToClipboard } from '~/hooks/useCopyToClipboard';export const ObjectOptionsDropdownDefaultView = () => {diff --git a/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownFieldsContent.tsx b/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownFieldsContent.tsxindex 0fca7793ec9..7de583ae3bb 100644--- a/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownFieldsContent.tsx+++ b/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownFieldsContent.tsx@@ -11,7 +11,7 @@ import { useLingui } from '@lingui/react/macro';import { isNonEmptyString } from '@sniptt/guards';import { useState } from 'react';import { IconChevronLeft, IconEyeOff } from 'twenty-ui/icon';-import { MenuItemNavigate } from 'twenty-ui/navigation';+import { MenuItemNavigate } from 'twenty-ui/primitives/navigation';export const ObjectOptionsDropdownFieldsContent = () => {const { t } = useLingui();diff --git a/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownHiddenFieldsContent.tsx b/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownHiddenFieldsContent.tsxindex 3197983c5a3..2705c7b9117 100644--- a/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownHiddenFieldsContent.tsx+++ b/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownHiddenFieldsContent.tsx@@ -15,7 +15,7 @@ import { useLingui } from '@lingui/react/macro';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath } from 'twenty-shared/utils';import { IconChevronLeft, IconSettings } from 'twenty-ui/icon';-import { MenuItem, UndecoratedLink } from 'twenty-ui/navigation';+import { MenuItem, UndecoratedLink } from 'twenty-ui/primitives/navigation';export const ObjectOptionsDropdownHiddenFieldsContent = () => {const { t } = useLingui();diff --git a/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownHiddenRecordGroupsContent.tsx b/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownHiddenRecordGroupsContent.tsxindex 22a5470c331..f2f97c03a24 100644--- a/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownHiddenRecordGroupsContent.tsx+++ b/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownHiddenRecordGroupsContent.tsx@@ -24,7 +24,7 @@ import { VIEW_GROUP_VISIBLE_OPTIONS_MAX } from 'twenty-shared/constants';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath } from 'twenty-shared/utils';import { IconChevronLeft, IconSettings } from 'twenty-ui/icon';-import { MenuItem, UndecoratedLink } from 'twenty-ui/navigation';+import { MenuItem, UndecoratedLink } from 'twenty-ui/primitives/navigation';export const ObjectOptionsDropdownHiddenRecordGroupsContent = () => {const { t } = useLingui();diff --git a/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownLayoutContent.tsx b/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownLayoutContent.tsxindex cb96fa4ef3c..01f5ff3e342 100644--- a/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownLayoutContent.tsx+++ b/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownLayoutContent.tsx@@ -33,8 +33,12 @@ import {IconLayoutList,IconTable,} from 'twenty-ui/icon';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';-import { MenuItem, MenuItemSelect, MenuItemSwitch } from 'twenty-ui/navigation';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';+import {+ MenuItem,+ MenuItemSelect,+ MenuItemSwitch,+} from 'twenty-ui/primitives/navigation';import { ViewCalendarLayout } from '~/generated-metadata/graphql';export const ObjectOptionsDropdownLayoutContent = () => {diff --git a/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownMenuViewName.tsx b/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownMenuViewName.tsxindex 6d7ce3c8fcf..8b4fbd07b2e 100644--- a/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownMenuViewName.tsx+++ b/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownMenuViewName.tsx@@ -16,7 +16,7 @@ import { styled } from '@linaria/react';import { useContext, useEffect, useRef, useState } from 'react';import { Key } from 'ts-key-enum';import { useIcons } from 'twenty-ui/icon';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';import { useDebouncedCallback } from 'use-debounce';diff --git a/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownRecordGroupFieldsContent.tsx b/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownRecordGroupFieldsContent.tsxindex 159066cd2c5..2787c7fbb3e 100644--- a/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownRecordGroupFieldsContent.tsx+++ b/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownRecordGroupFieldsContent.tsx@@ -28,7 +28,7 @@ import {MenuItem,MenuItemSelect,UndecoratedLink,-} from 'twenty-ui/navigation';+} from 'twenty-ui/primitives/navigation';import { FieldMetadataType } from '~/generated-metadata/graphql';export const ObjectOptionsDropdownRecordGroupFieldsContent = () => {diff --git a/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownRecordGroupSortContent.tsx b/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownRecordGroupSortContent.tsxindex fedf7c12508..0466f20a99d 100644--- a/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownRecordGroupSortContent.tsx+++ b/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownRecordGroupSortContent.tsx@@ -24,7 +24,7 @@ import {IconSortAZ,IconSortZA,} from 'twenty-ui/icon';-import { MenuItemSelect } from 'twenty-ui/navigation';+import { MenuItemSelect } from 'twenty-ui/primitives/navigation';export const ObjectOptionsDropdownRecordGroupSortContent = () => {const { currentContentId, onContentChange, dropdownId } =diff --git a/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownRecordGroupsContent.tsx b/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownRecordGroupsContent.tsxindex dccbcf468c5..c1b19b39c75 100644--- a/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownRecordGroupsContent.tsx+++ b/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownRecordGroupsContent.tsx@@ -37,7 +37,7 @@ import {MenuItem,MenuItemNavigate,MenuItemSwitch,-} from 'twenty-ui/navigation';+} from 'twenty-ui/primitives/navigation';export const ObjectOptionsDropdownRecordGroupsContent = () => {const { t } = useLingui();diff --git a/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownVisibilityContent.tsx b/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownVisibilityContent.tsxindex bc9d86db0ed..b416c68e9b2 100644--- a/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownVisibilityContent.tsx+++ b/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownVisibilityContent.tsx@@ -22,8 +22,8 @@ import {IconCircleDashed,IconCopy,} from 'twenty-ui/icon';-import { AppTooltip } from 'twenty-ui/surfaces';-import { MenuItem, MenuItemSelect } from 'twenty-ui/navigation';+import { AppTooltip } from 'twenty-ui/primitives/surfaces';+import { MenuItem, MenuItemSelect } from 'twenty-ui/primitives/navigation';import {ViewVisibility,PermissionFlagType,diff --git a/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/__tests__/ObjectOptionsDropdownCalendarViewContent.test.tsx b/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/__tests__/ObjectOptionsDropdownCalendarViewContent.test.tsxindex cbf3a44c703..7441a6f2e65 100644--- a/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/__tests__/ObjectOptionsDropdownCalendarViewContent.test.tsx+++ b/packages/twenty-front/src/modules/object-record/object-options-dropdown/components/__tests__/ObjectOptionsDropdownCalendarViewContent.test.tsx@@ -89,10 +89,10 @@ jest.mock('@/views/hooks/useUpdateCurrentView', () => ({updateCurrentView: mockUpdateCurrentView,})),}));-jest.mock('twenty-ui/data-display', () => ({+jest.mock('twenty-ui/primitives/data-display', () => ({Pill: ({ label }: { label: string }) => <span>{label}</span>,}));-jest.mock('twenty-ui/navigation', () => ({+jest.mock('twenty-ui/primitives/navigation', () => ({MenuItem: ({ text }: { text: string }) => <span>{text}</span>,MenuItemSelect: ({contextualText,diff --git a/packages/twenty-front/src/modules/object-record/object-sort-dropdown/components/ObjectSortDropdownButton.tsx b/packages/twenty-front/src/modules/object-record/object-sort-dropdown/components/ObjectSortDropdownButton.tsxindex 25b3e383f30..8aac3993009 100644--- a/packages/twenty-front/src/modules/object-record/object-sort-dropdown/components/ObjectSortDropdownButton.tsx+++ b/packages/twenty-front/src/modules/object-record/object-sort-dropdown/components/ObjectSortDropdownButton.tsx@@ -33,7 +33,7 @@ import { useAtomFamilySelectorValue } from '@/ui/utilities/state/jotai/hooks/useimport { Trans, useLingui } from '@lingui/react/macro';import { findByProperty } from 'twenty-shared/utils';import { IconX, useIcons } from 'twenty-ui/icon';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { v4 } from 'uuid';import { ViewSortDirection } from '~/generated-metadata/graphql';diff --git a/packages/twenty-front/src/modules/object-record/record-board/components/RecordBoardClickOutsideEffect.tsx b/packages/twenty-front/src/modules/object-record/record-board/components/RecordBoardClickOutsideEffect.tsxindex b3707bab8ed..df20d1b9191 100644--- a/packages/twenty-front/src/modules/object-record/record-board/components/RecordBoardClickOutsideEffect.tsx+++ b/packages/twenty-front/src/modules/object-record/record-board/components/RecordBoardClickOutsideEffect.tsx@@ -14,7 +14,7 @@ import { PAGE_ACTION_CONTAINER_CLICK_OUTSIDE_ID } from '@/ui/layout/page/constanimport { useListenClickOutside } from '@/ui/utilities/pointer-event/hooks/useListenClickOutside';import { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentStateValue';import { useContext } from 'react';-import { LINK_CHIP_CLICK_OUTSIDE_ID } from 'twenty-ui/data-display';+import { LINK_CHIP_CLICK_OUTSIDE_ID } from 'twenty-ui/primitives/data-display';export const RecordBoardClickOutsideEffect = () => {const { recordBoardId } = useContext(RecordBoardContext);diff --git a/packages/twenty-front/src/modules/object-record/record-board/record-board-card/components/RecordBoardCard.tsx b/packages/twenty-front/src/modules/object-record/record-board/record-board-card/components/RecordBoardCard.tsxindex a90609dc781..6d279ecf17e 100644--- a/packages/twenty-front/src/modules/object-record/record-board/record-board-card/components/RecordBoardCard.tsx+++ b/packages/twenty-front/src/modules/object-record/record-board/record-board-card/components/RecordBoardCard.tsx@@ -35,7 +35,7 @@ import { useGetCurrentViewOnly } from '@/views/hooks/useGetCurrentViewOnly';import { styled } from '@linaria/react';import { useContext } from 'react';import { themeCssVariables } from 'twenty-ui/theme-constants';-import { AnimatedEaseInOut } from 'twenty-ui/layout';+import { AnimatedEaseInOut } from 'twenty-ui/primitives/layout';import { useDebouncedCallback } from 'use-debounce';import { useDisableDragSelectOnPointerDown } from '@/ui/utilities/drag-select/hooks/useDisableDragSelectOnPointerDown';diff --git a/packages/twenty-front/src/modules/object-record/record-board/record-board-card/components/RecordBoardCardHeader.tsx b/packages/twenty-front/src/modules/object-record/record-board/record-board-card/components/RecordBoardCardHeader.tsxindex d763d4d996f..3dad2c0b496 100644--- a/packages/twenty-front/src/modules/object-record/record-board/record-board-card/components/RecordBoardCardHeader.tsx+++ b/packages/twenty-front/src/modules/object-record/record-board/record-board-card/components/RecordBoardCardHeader.tsx@@ -22,7 +22,7 @@ import { useContext } from 'react';import { themeCssVariables } from 'twenty-ui/theme-constants';import { isDefined } from 'twenty-shared/utils';import { IconEye, IconEyeOff } from 'twenty-ui/icon';-import { Checkbox, LightIconButton } from 'twenty-ui/input';+import { Checkbox, LightIconButton } from 'twenty-ui/primitives/input';import { useIsMobile, useIsTouchDevice } from 'twenty-ui/utilities';const StyledCompactIconContainer = styled.div`diff --git a/packages/twenty-front/src/modules/object-record/record-board/record-board-column/components/RecordBoardColumnDropdownMenu.tsx b/packages/twenty-front/src/modules/object-record/record-board/record-board-column/components/RecordBoardColumnDropdownMenu.tsxindex 95159a97844..cea71865c4b 100644--- a/packages/twenty-front/src/modules/object-record/record-board/record-board-column/components/RecordBoardColumnDropdownMenu.tsx+++ b/packages/twenty-front/src/modules/object-record/record-board/record-board-column/components/RecordBoardColumnDropdownMenu.tsx@@ -2,7 +2,7 @@ import { useRecordGroupActions } from '@/object-record/record-group/hooks/useRecimport { DropdownContent } from '@/ui/layout/dropdown/components/DropdownContent';import { DropdownMenuItemsContainer } from '@/ui/layout/dropdown/components/DropdownMenuItemsContainer';import { ViewType } from '@/views/types/ViewType';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';export const RecordBoardColumnDropdownMenu = () => {const recordGroupActions = useRecordGroupActions({diff --git a/packages/twenty-front/src/modules/object-record/record-board/record-board-column/components/RecordBoardColumnHeader.tsx b/packages/twenty-front/src/modules/object-record/record-board/record-board-column/components/RecordBoardColumnHeader.tsxindex e0549e5bbdf..289b0de5ed0 100644--- a/packages/twenty-front/src/modules/object-record/record-board/record-board-column/components/RecordBoardColumnHeader.tsx+++ b/packages/twenty-front/src/modules/object-record/record-board/record-board-column/components/RecordBoardColumnHeader.tsx@@ -32,7 +32,7 @@ import { useAtomComponentSelectorValue } from '@/ui/utilities/state/jotai/hooks/import { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentStateValue';import { isDefined } from 'twenty-shared/utils';import { IconDotsVertical, IconPlus } from 'twenty-ui/icon';-import { LightIconButton } from 'twenty-ui/input';+import { LightIconButton } from 'twenty-ui/primitives/input';const StyledHeader = styled.div<{ isReadOnly: boolean }>`align-items: center;diff --git a/packages/twenty-front/src/modules/object-record/record-calendar/components/RecordCalendar.tsx b/packages/twenty-front/src/modules/object-record/record-calendar/components/RecordCalendar.tsxindex 1258cff5717..9f3f51418ba 100644--- a/packages/twenty-front/src/modules/object-record/record-calendar/components/RecordCalendar.tsx+++ b/packages/twenty-front/src/modules/object-record/record-calendar/components/RecordCalendar.tsx@@ -17,7 +17,7 @@ import { useListenClickOutside } from '@/ui/utilities/pointer-event/hooks/useLisimport { ScrollWrapper } from '@/ui/utilities/scroll/components/ScrollWrapper';import { useAvailableComponentInstanceIdOrThrow } from '@/ui/utilities/state/component-state/hooks/useAvailableComponentInstanceIdOrThrow';import { useEffect } from 'react';-import { LINK_CHIP_CLICK_OUTSIDE_ID } from 'twenty-ui/data-display';+import { LINK_CHIP_CLICK_OUTSIDE_ID } from 'twenty-ui/primitives/data-display';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledContainerContainer = styled.div`diff --git a/packages/twenty-front/src/modules/object-record/record-calendar/components/RecordCalendarAddNew.tsx b/packages/twenty-front/src/modules/object-record/record-calendar/components/RecordCalendarAddNew.tsxindex eac996e7370..d9663a74cf5 100644--- a/packages/twenty-front/src/modules/object-record/record-calendar/components/RecordCalendarAddNew.tsx+++ b/packages/twenty-front/src/modules/object-record/record-calendar/components/RecordCalendarAddNew.tsx@@ -17,7 +17,7 @@ import { type Temporal } from 'temporal-polyfill';import { FieldMetadataType } from 'twenty-shared/types';import { isDefined } from 'twenty-shared/utils';import { IconPlus } from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';+import { Button } from 'twenty-ui/primitives/input';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';const StyledButtonContainer = styled.div`diff --git a/packages/twenty-front/src/modules/object-record/record-calendar/components/RecordCalendarTopBar.tsx b/packages/twenty-front/src/modules/object-record/record-calendar/components/RecordCalendarTopBar.tsxindex 0d8ce155629..0ae502446ab 100644--- a/packages/twenty-front/src/modules/object-record/record-calendar/components/RecordCalendarTopBar.tsx+++ b/packages/twenty-front/src/modules/object-record/record-calendar/components/RecordCalendarTopBar.tsx@@ -30,7 +30,7 @@ import {turnPlainDateToShiftedDateInSystemTimeZone,} from 'twenty-shared/utils';import { IconChevronLeft, IconChevronRight } from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';+import { Button } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';import { ViewCalendarLayout } from '~/generated-metadata/graphql';import { dateLocaleState } from '~/localization/states/dateLocaleState';diff --git a/packages/twenty-front/src/modules/object-record/record-calendar/components/__tests__/RecordCalendarTopBar.test.tsx b/packages/twenty-front/src/modules/object-record/record-calendar/components/__tests__/RecordCalendarTopBar.test.tsxindex 7186844627f..829761f9947 100644--- a/packages/twenty-front/src/modules/object-record/record-calendar/components/__tests__/RecordCalendarTopBar.test.tsx+++ b/packages/twenty-front/src/modules/object-record/record-calendar/components/__tests__/RecordCalendarTopBar.test.tsx@@ -90,7 +90,7 @@ jest.mock('@/views/hooks/useUpdateCurrentView', () => ({updateCurrentView: mockUpdateCurrentView,})),}));-jest.mock('twenty-ui/input', () => ({+jest.mock('twenty-ui/primitives/input', () => ({Button: ({ariaLabel,onClick,diff --git a/packages/twenty-front/src/modules/object-record/record-calendar/record-calendar-card/components/RecordCalendarCard.tsx b/packages/twenty-front/src/modules/object-record/record-calendar/record-calendar-card/components/RecordCalendarCard.tsxindex 842481d44ec..dad42870305 100644--- a/packages/twenty-front/src/modules/object-record/record-calendar/record-calendar-card/components/RecordCalendarCard.tsx+++ b/packages/twenty-front/src/modules/object-record/record-calendar/record-calendar-card/components/RecordCalendarCard.tsx@@ -27,7 +27,7 @@ import { useSetAtomComponentState } from '@/ui/utilities/state/jotai/hooks/useSeimport { useGetCurrentViewOnly } from '@/views/hooks/useGetCurrentViewOnly';import { themeCssVariables } from 'twenty-ui/theme-constants';import { styled } from '@linaria/react';-import { AnimatedEaseInOut } from 'twenty-ui/layout';+import { AnimatedEaseInOut } from 'twenty-ui/primitives/layout';const StyledContainer = styled.div`display: flex;diff --git a/packages/twenty-front/src/modules/object-record/record-calendar/record-calendar-card/components/RecordCalendarCardHeader.tsx b/packages/twenty-front/src/modules/object-record/record-calendar/record-calendar-card/components/RecordCalendarCardHeader.tsxindex 36772acfd98..691a6c4f5e6 100644--- a/packages/twenty-front/src/modules/object-record/record-calendar/record-calendar-card/components/RecordCalendarCardHeader.tsx+++ b/packages/twenty-front/src/modules/object-record/record-calendar/record-calendar-card/components/RecordCalendarCardHeader.tsx@@ -11,7 +11,7 @@ import { useGetCurrentViewOnly } from '@/views/hooks/useGetCurrentViewOnly';import { styled } from '@linaria/react';import { useAtomFamilyStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomFamilyStateValue';import { isDefined } from 'twenty-shared/utils';-import { Checkbox } from 'twenty-ui/input';+import { Checkbox } from 'twenty-ui/primitives/input';import { isRecordCalendarCardSelectedComponentFamilyState } from '@/object-record/record-calendar/record-calendar-card/states/isRecordCalendarCardSelectedComponentFamilyState';import { themeCssVariables } from 'twenty-ui/theme-constants';diff --git a/packages/twenty-front/src/modules/object-record/record-calendar/record-calendar-card/components/__tests__/RecordCalendarCard.test.tsx b/packages/twenty-front/src/modules/object-record/record-calendar/record-calendar-card/components/__tests__/RecordCalendarCard.test.tsxindex 02988b0be02..85bb7a83e5b 100644--- a/packages/twenty-front/src/modules/object-record/record-calendar/record-calendar-card/components/__tests__/RecordCalendarCard.test.tsx+++ b/packages/twenty-front/src/modules/object-record/record-calendar/record-calendar-card/components/__tests__/RecordCalendarCard.test.tsx@@ -77,7 +77,7 @@ jest.mock('@/object-record/record-card/components/RecordCard', () => ({</button>),}));-jest.mock('twenty-ui/layout', () => ({+jest.mock('twenty-ui/primitives/layout', () => ({AnimatedEaseInOut: ({children,isOpen,diff --git a/packages/twenty-front/src/modules/object-record/record-drag/components/RecordDragMultiDragCounterChip.tsx b/packages/twenty-front/src/modules/object-record/record-drag/components/RecordDragMultiDragCounterChip.tsxindex 347a5b8d2fe..bb7f7fd9e29 100644--- a/packages/twenty-front/src/modules/object-record/record-drag/components/RecordDragMultiDragCounterChip.tsx+++ b/packages/twenty-front/src/modules/object-record/record-drag/components/RecordDragMultiDragCounterChip.tsx@@ -1,7 +1,7 @@import { originalDragSelectionComponentState } from '@/object-record/record-drag/states/originalDragSelectionComponentState';import { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentStateValue';import { styled } from '@linaria/react';-import { NotificationCounter } from 'twenty-ui/data-display';+import { NotificationCounter } from 'twenty-ui/primitives/data-display';const StyledNotificationCounterContainer = styled.div`position: absolute;diff --git a/packages/twenty-front/src/modules/object-record/record-field-list/record-detail-section/components/RecordDetailSectionContainer.tsx b/packages/twenty-front/src/modules/object-record/record-field-list/record-detail-section/components/RecordDetailSectionContainer.tsxindex f628b4e48a9..2132d2fc95e 100644--- a/packages/twenty-front/src/modules/object-record/record-field-list/record-detail-section/components/RecordDetailSectionContainer.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field-list/record-detail-section/components/RecordDetailSectionContainer.tsx@@ -1,7 +1,7 @@import { styled } from '@linaria/react';import { useState } from 'react';import { Link } from 'react-router-dom';-import { Section } from 'twenty-ui/layout';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledRecordDetailSectionWrapper = styled.div`diff --git a/packages/twenty-front/src/modules/object-record/record-field-list/record-detail-section/duplicate/components/RecordDetailDuplicatesSection.tsx b/packages/twenty-front/src/modules/object-record/record-field-list/record-detail-section/duplicate/components/RecordDetailDuplicatesSection.tsxindex 892713f0cdb..3ae1f991e6e 100644--- a/packages/twenty-front/src/modules/object-record/record-field-list/record-detail-section/duplicate/components/RecordDetailDuplicatesSection.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field-list/record-detail-section/duplicate/components/RecordDetailDuplicatesSection.tsx@@ -9,7 +9,7 @@ import { RecordDetailSectionContainer } from '@/object-record/record-field-list/import { t } from '@lingui/core/macro';import { isDefined } from 'twenty-shared/utils';import { IconArrowMerge } from 'twenty-ui/icon';-import { LightIconButton } from 'twenty-ui/input';+import { LightIconButton } from 'twenty-ui/primitives/input';export const RecordDetailDuplicatesSection = ({objectRecordId,diff --git a/packages/twenty-front/src/modules/object-record/record-field-list/record-detail-section/relation/components/RecordDetailMorphRelationSectionDropdownManyToOne.tsx b/packages/twenty-front/src/modules/object-record/record-field-list/record-detail-section/relation/components/RecordDetailMorphRelationSectionDropdownManyToOne.tsxindex 381d21c5dbc..c20c71d57f7 100644--- a/packages/twenty-front/src/modules/object-record/record-field-list/record-detail-section/relation/components/RecordDetailMorphRelationSectionDropdownManyToOne.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field-list/record-detail-section/relation/components/RecordDetailMorphRelationSectionDropdownManyToOne.tsx@@ -21,7 +21,7 @@ import { useSetAtomComponentState } from '@/ui/utilities/state/jotai/hooks/useSeimport { FieldMetadataType } from 'twenty-shared/types';import { isDefined } from 'twenty-shared/utils';import { IconForbid, IconPencil } from 'twenty-ui/icon';-import { LightIconButton } from 'twenty-ui/input';+import { LightIconButton } from 'twenty-ui/primitives/input';type RecordDetailMorphRelationSectionDropdownManyToOneProps = {dropdownTriggerClickableComponent?: ReactNode;diff --git a/packages/twenty-front/src/modules/object-record/record-field-list/record-detail-section/relation/components/RecordDetailMorphRelationSectionDropdownOneToMany.tsx b/packages/twenty-front/src/modules/object-record/record-field-list/record-detail-section/relation/components/RecordDetailMorphRelationSectionDropdownOneToMany.tsxindex 282355441fd..c72fda992ba 100644--- a/packages/twenty-front/src/modules/object-record/record-field-list/record-detail-section/relation/components/RecordDetailMorphRelationSectionDropdownOneToMany.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field-list/record-detail-section/relation/components/RecordDetailMorphRelationSectionDropdownOneToMany.tsx@@ -23,7 +23,7 @@ import { useSetAtomComponentState } from '@/ui/utilities/state/jotai/hooks/useSeimport { FieldMetadataType } from 'twenty-shared/types';import { CustomError, isDefined } from 'twenty-shared/utils';import { IconPlus } from 'twenty-ui/icon';-import { LightIconButton } from 'twenty-ui/input';+import { LightIconButton } from 'twenty-ui/primitives/input';type RecordDetailMorphRelationSectionDropdownOneToManyProps = {dropdownTriggerClickableComponent?: ReactNode;diff --git a/packages/twenty-front/src/modules/object-record/record-field-list/record-detail-section/relation/components/RecordDetailRelationRecordsListItem.tsx b/packages/twenty-front/src/modules/object-record/record-field-list/record-detail-section/relation/components/RecordDetailRelationRecordsListItem.tsxindex 2d4684c643e..f034d8a4a99 100644--- a/packages/twenty-front/src/modules/object-record/record-field-list/record-detail-section/relation/components/RecordDetailRelationRecordsListItem.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field-list/record-detail-section/relation/components/RecordDetailRelationRecordsListItem.tsx@@ -42,9 +42,9 @@ import {IconUnlink,type IconComponent,} from 'twenty-ui/icon';-import { LightIconButton } from 'twenty-ui/input';-import { MenuItem } from 'twenty-ui/navigation';-import { AnimatedEaseInOut } from 'twenty-ui/layout';+import { LightIconButton } from 'twenty-ui/primitives/input';+import { MenuItem } from 'twenty-ui/primitives/navigation';+import { AnimatedEaseInOut } from 'twenty-ui/primitives/layout';import { FieldMetadataType, RelationType } from '~/generated-metadata/graphql';const StyledClickableZone = styled.div`diff --git a/packages/twenty-front/src/modules/object-record/record-field-list/record-detail-section/relation/components/RecordDetailRelationSectionDropdownToMany.tsx b/packages/twenty-front/src/modules/object-record/record-field-list/record-detail-section/relation/components/RecordDetailRelationSectionDropdownToMany.tsxindex 66c748db96e..832624f7cb7 100644--- a/packages/twenty-front/src/modules/object-record/record-field-list/record-detail-section/relation/components/RecordDetailRelationSectionDropdownToMany.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field-list/record-detail-section/relation/components/RecordDetailRelationSectionDropdownToMany.tsx@@ -30,7 +30,7 @@ import { useAtomFamilySelectorValue } from '@/ui/utilities/state/jotai/hooks/useimport { useSetAtomComponentState } from '@/ui/utilities/state/jotai/hooks/useSetAtomComponentState';import { CustomError, isDefined } from 'twenty-shared/utils';import { IconPlus } from 'twenty-ui/icon';-import { LightIconButton } from 'twenty-ui/input';+import { LightIconButton } from 'twenty-ui/primitives/input';type RecordDetailRelationSectionDropdownToManyProps = {dropdownTriggerClickableComponent?: ReactNode;diff --git a/packages/twenty-front/src/modules/object-record/record-field-list/record-detail-section/relation/components/RecordDetailRelationSectionDropdownToOne.tsx b/packages/twenty-front/src/modules/object-record/record-field-list/record-detail-section/relation/components/RecordDetailRelationSectionDropdownToOne.tsxindex 8566bf74626..98f41a29d69 100644--- a/packages/twenty-front/src/modules/object-record/record-field-list/record-detail-section/relation/components/RecordDetailRelationSectionDropdownToOne.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field-list/record-detail-section/relation/components/RecordDetailRelationSectionDropdownToOne.tsx@@ -27,7 +27,7 @@ import { assertFieldMetadata } from '@/object-record/record-field/ui/types/guardimport { isFieldRelation } from '@/object-record/record-field/ui/types/guards/isFieldRelation';import { CustomError, isDefined } from 'twenty-shared/utils';import { IconForbid, IconPencil } from 'twenty-ui/icon';-import { LightIconButton } from 'twenty-ui/input';+import { LightIconButton } from 'twenty-ui/primitives/input';type RecordDetailRelationSectionDropdownToOneProps = {dropdownTriggerClickableComponent?: ReactNode;diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/components/FieldDescriptionTooltipProvider.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/components/FieldDescriptionTooltipProvider.tsxindex 11114e5ac49..939c1556e4b 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/components/FieldDescriptionTooltipProvider.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/components/FieldDescriptionTooltipProvider.tsx@@ -4,7 +4,7 @@ import {AppTooltip,type AppTooltipProps,TooltipDelay,-} from 'twenty-ui/surfaces';+} from 'twenty-ui/primitives/surfaces';type FieldDescriptionTooltipProviderProps = {children: ReactNode;diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/components/LightCopyIconButton.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/components/LightCopyIconButton.tsxindex f7a7ac4c878..ee8d211ee01 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/components/LightCopyIconButton.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/components/LightCopyIconButton.tsx@@ -1,7 +1,7 @@import { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';import { IconCopy } from 'twenty-ui/icon';-import { LightIconButton } from 'twenty-ui/input';+import { LightIconButton } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';import { useCopyToClipboard } from '~/hooks/useCopyToClipboard';diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/contexts/FieldDescriptionTooltipContext.ts b/packages/twenty-front/src/modules/object-record/record-field/ui/contexts/FieldDescriptionTooltipContext.tsindex cf3c43d0650..2f884eef67e 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/contexts/FieldDescriptionTooltipContext.ts+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/contexts/FieldDescriptionTooltipContext.ts@@ -1,5 +1,5 @@import { createContext } from 'react';-import { type AppTooltipProps } from 'twenty-ui/surfaces';+import { type AppTooltipProps } from 'twenty-ui/primitives/surfaces';type FieldDescriptionTooltipContextValue = {tooltipId: string;diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormAddressFieldInput.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormAddressFieldInput.tsxindex 97dc171c221..a8a5353d11f 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormAddressFieldInput.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormAddressFieldInput.tsx@@ -5,7 +5,7 @@ import { FormTextFieldInput } from '@/object-record/record-field/ui/form-types/cimport { type VariablePickerComponent } from '@/object-record/record-field/ui/form-types/types/VariablePickerComponent';import { type FieldAddressDraftValue } from '@/object-record/record-field/ui/types/FieldInputDraftValue';import { type FieldAddressValue } from '@/object-record/record-field/ui/types/FieldMetadata';-import { Field } from 'twenty-ui/input';+import { Field } from 'twenty-ui/primitives/input';import { t } from '@lingui/core/macro';import { normalizeAddressFieldValueForPersist } from '~/utils/normalize-address-field-value-for-persist';diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormArrayFieldInput.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormArrayFieldInput.tsxindex 66ec609cd03..8004da10676 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormArrayFieldInput.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormArrayFieldInput.tsx@@ -9,7 +9,7 @@ import { MultiItemBaseInput } from '@/object-record/record-field/ui/meta-types/iimport { type FieldArrayValue } from '@/object-record/record-field/ui/types/FieldMetadata';import { ArrayDisplay } from '@/ui/field/display/components/ArrayDisplay';import { TextInput } from '@/ui/field/input/components/TextInput';-import { Field } from 'twenty-ui/input';+import { Field } from 'twenty-ui/primitives/input';import { Dropdown } from '@/ui/layout/dropdown/components/Dropdown';import { DropdownContent } from '@/ui/layout/dropdown/components/DropdownContent';import { DropdownMenuItemsContainer } from '@/ui/layout/dropdown/components/DropdownMenuItemsContainer';@@ -29,7 +29,7 @@ import { useContext, useId, useRef, useState } from 'react';import { isDefined } from 'twenty-shared/utils';import { IconPlus } from 'twenty-ui/icon';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { toSpliced } from '~/utils/array/toSpliced';type FormArrayFieldInputProps = {diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormBooleanFieldInput.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormBooleanFieldInput.tsxindex 9666868c7d4..4dea343fe20 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormBooleanFieldInput.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormBooleanFieldInput.tsx@@ -3,7 +3,7 @@ import { FormFieldInputInnerContainer } from '@/object-record/record-field/ui/foimport { FormFieldInputRowContainer } from '@/object-record/record-field/ui/form-types/components/FormFieldInputRowContainer';import { VariableChipStandalone } from '@/object-record/record-field/ui/form-types/components/VariableChipStandalone';import { type VariablePickerComponent } from '@/object-record/record-field/ui/form-types/types/VariablePickerComponent';-import { Field } from 'twenty-ui/input';+import { Field } from 'twenty-ui/primitives/input';import { Select } from '@/ui/input/components/Select';import { GenericDropdownContentWidth } from '@/ui/layout/dropdown/constants/GenericDropdownContentWidth';import { useRemoveFocusItemFromFocusStackById } from '@/ui/utilities/focus/hooks/useRemoveFocusItemFromFocusStackById';diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormBooleanFieldSwitchInput.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormBooleanFieldSwitchInput.tsxindex 4a8f11428cd..c5750c19c4c 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormBooleanFieldSwitchInput.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormBooleanFieldSwitchInput.tsx@@ -1,7 +1,7 @@import { FormFieldInputContainer } from '@/ui/input/components/FormFieldInputContainer';import { FormFieldInputInnerContainer } from '@/object-record/record-field/ui/form-types/components/FormFieldInputInnerContainer';import { FormFieldInputRowContainer } from '@/object-record/record-field/ui/form-types/components/FormFieldInputRowContainer';-import { Field, Switch } from 'twenty-ui/input';+import { Field, Switch } from 'twenty-ui/primitives/input';import { styled } from '@linaria/react';import { useId } from 'react';import { themeCssVariables } from 'twenty-ui/theme-constants';diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormCallingCodeSelectInput.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormCallingCodeSelectInput.tsxindex bbca952b345..a08128be9cf 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormCallingCodeSelectInput.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormCallingCodeSelectInput.tsx@@ -6,7 +6,7 @@ import { useCountries } from '@/ui/input/components/internal/hooks/useCountries'import { isStandaloneVariableString } from 'twenty-shared/workflow';import { t } from '@lingui/core/macro';import { IconCircleOff, type IconComponentProps } from 'twenty-ui/icon';-import { type SelectOption } from 'twenty-ui/input';+import { type SelectOption } from 'twenty-ui/primitives/input';export type FormCallingCodeSelectInputUpdatedValue = {callingCode: string;diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormCountryMultiSelectInput.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormCountryMultiSelectInput.tsxindex 81f18a7ede6..0e527fed5fa 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormCountryMultiSelectInput.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormCountryMultiSelectInput.tsx@@ -5,7 +5,7 @@ import { type VariablePickerComponent } from '@/object-record/record-field/ui/foimport { type FieldMultiSelectValue } from '@/object-record/record-field/ui/types/FieldMetadata';import { useCountries } from '@/ui/input/components/internal/hooks/useCountries';import { type IconComponentProps } from 'twenty-ui/icon';-import { type SelectOption } from 'twenty-ui/input';+import { type SelectOption } from 'twenty-ui/primitives/input';export const FormCountryMultiSelectInput = ({onChange,diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormCountrySelectInput.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormCountrySelectInput.tsxindex c063db69ced..58bde6e6e70 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormCountrySelectInput.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormCountrySelectInput.tsx@@ -5,7 +5,7 @@ import { FormSelectFieldInput } from '@/object-record/record-field/ui/form-typesimport { type VariablePickerComponent } from '@/object-record/record-field/ui/form-types/types/VariablePickerComponent';import { useCountries } from '@/ui/input/components/internal/hooks/useCountries';import { IconCircleOff, type IconComponentProps } from 'twenty-ui/icon';-import { type SelectOption } from 'twenty-ui/input';+import { type SelectOption } from 'twenty-ui/primitives/input';export const FormCountrySelectInput = ({selectedCountryName,diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormCurrencyFieldInput.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormCurrencyFieldInput.tsxindex c5948f74e76..6b03e4044de 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormCurrencyFieldInput.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormCurrencyFieldInput.tsx@@ -5,7 +5,7 @@ import { FormSelectFieldInput } from '@/object-record/record-field/ui/form-typesimport { type VariablePickerComponent } from '@/object-record/record-field/ui/form-types/types/VariablePickerComponent';import { type FormFieldCurrencyValue } from '@/object-record/record-field/ui/types/FieldMetadata';import { CURRENCIES } from '@/settings/data-model/constants/Currencies';-import { Field } from 'twenty-ui/input';+import { Field } from 'twenty-ui/primitives/input';import { t } from '@lingui/core/macro';import { useMemo } from 'react';import { type CurrencyCode } from 'twenty-shared/constants';diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormDateFieldInput.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormDateFieldInput.tsxindex a50c4c4ba51..6a48e37c8d2 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormDateFieldInput.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormDateFieldInput.tsx@@ -3,7 +3,7 @@ import { FormFieldInputInnerContainer } from '@/object-record/record-field/ui/foimport { FormFieldInputRowContainer } from '@/object-record/record-field/ui/form-types/components/FormFieldInputRowContainer';import { VariableChipStandalone } from '@/object-record/record-field/ui/form-types/components/VariableChipStandalone';import { type VariablePickerComponent } from '@/object-record/record-field/ui/form-types/types/VariablePickerComponent';-import { Field } from 'twenty-ui/input';+import { Field } from 'twenty-ui/primitives/input';import {DatePicker,MONTH_AND_YEAR_DROPDOWN_MONTH_SELECT_ID,diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormDateTimeFieldInput.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormDateTimeFieldInput.tsxindex 523e2e8e800..68c7d879370 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormDateTimeFieldInput.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormDateTimeFieldInput.tsx@@ -3,7 +3,7 @@ import { FormFieldInputInnerContainer } from '@/object-record/record-field/ui/foimport { FormFieldInputRowContainer } from '@/object-record/record-field/ui/form-types/components/FormFieldInputRowContainer';import { VariableChipStandalone } from '@/object-record/record-field/ui/form-types/components/VariableChipStandalone';import { type VariablePickerComponent } from '@/object-record/record-field/ui/form-types/types/VariablePickerComponent';-import { Field } from 'twenty-ui/input';+import { Field } from 'twenty-ui/primitives/input';import {DATE_TIME_PICKER_MONTH_YEAR_PANEL_DROPDOWN_ID,DateTimePicker,diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormEmailsFieldInput.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormEmailsFieldInput.tsxindex 414441f0c07..b2f24eb36a1 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormEmailsFieldInput.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormEmailsFieldInput.tsx@@ -3,7 +3,7 @@ import { FormNestedFieldInputContainer } from '@/object-record/record-field/ui/fimport { FormTextFieldInput } from '@/object-record/record-field/ui/form-types/components/FormTextFieldInput';import { type VariablePickerComponent } from '@/object-record/record-field/ui/form-types/types/VariablePickerComponent';import { type FieldEmailsValue } from '@/object-record/record-field/ui/types/FieldMetadata';-import { Field } from 'twenty-ui/input';+import { Field } from 'twenty-ui/primitives/input';import { useLingui } from '@lingui/react/macro';type FormEmailsFieldInputProps = {diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormFilesFieldInput.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormFilesFieldInput.tsxindex 0b86ff13d24..8effb8a7f97 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormFilesFieldInput.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormFilesFieldInput.tsx@@ -4,7 +4,7 @@ import { FormFieldInputRowContainer } from '@/object-record/record-field/ui/formimport { TextVariableEditor } from '@/object-record/record-field/ui/form-types/components/TextVariableEditor';import { useTextVariableEditor } from '@/object-record/record-field/ui/form-types/hooks/useTextVariableEditor';import { type VariablePickerComponent } from '@/object-record/record-field/ui/form-types/types/VariablePickerComponent';-import { Field } from 'twenty-ui/input';+import { Field } from 'twenty-ui/primitives/input';import { t } from '@lingui/core/macro';import { useId } from 'react';import { isDefined } from 'twenty-shared/utils';diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormFullNameFieldInput.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormFullNameFieldInput.tsxindex 3bc4202e6bf..08ff2a1b93e 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormFullNameFieldInput.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormFullNameFieldInput.tsx@@ -6,7 +6,7 @@ import { type VariablePickerComponent } from '@/object-record/record-field/ui/foimport { FIRST_NAME_PLACEHOLDER_WITH_SPECIAL_CHARACTER_TO_AVOID_PASSWORD_MANAGERS } from '@/object-record/record-field/ui/meta-types/input/constants/FirstNamePlaceholder';import { LAST_NAME_PLACEHOLDER_WITH_SPECIAL_CHARACTER_TO_AVOID_PASSWORD_MANAGERS } from '@/object-record/record-field/ui/meta-types/input/constants/LastNamePlaceholder';import { type FieldFullNameValue } from '@/object-record/record-field/ui/types/FieldMetadata';-import { Field } from 'twenty-ui/input';+import { Field } from 'twenty-ui/primitives/input';type FormFullNameFieldInputProps = {label?: string;diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormLinksFieldInput.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormLinksFieldInput.tsxindex 41b7a1944d1..c59773fe849 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormLinksFieldInput.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormLinksFieldInput.tsx@@ -5,7 +5,7 @@ import { FormTextFieldInput } from '@/object-record/record-field/ui/form-types/cimport { type VariablePickerComponent } from '@/object-record/record-field/ui/form-types/types/VariablePickerComponent';import { type FieldLinksDraftValue } from '@/object-record/record-field/ui/types/FieldInputDraftValue';import { type FieldLinksValue } from '@/object-record/record-field/ui/types/FieldMetadata';-import { Field } from 'twenty-ui/input';+import { Field } from 'twenty-ui/primitives/input';type FormLinksFieldInputProps = {label?: string;diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormMorphRelationToOneFieldInput.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormMorphRelationToOneFieldInput.tsxindex 164daad2741..01eca61582b 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormMorphRelationToOneFieldInput.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormMorphRelationToOneFieldInput.tsx@@ -12,7 +12,7 @@ import {} from '@/object-record/record-field/ui/form-types/types/RecordPickerValue';import { type VariablePickerComponent } from '@/object-record/record-field/ui/form-types/types/VariablePickerComponent';import { ForbiddenFieldDisplay } from '@/object-record/record-field/ui/meta-types/display/components/ForbiddenFieldDisplay';-import { Field } from 'twenty-ui/input';+import { Field } from 'twenty-ui/primitives/input';import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';import { isString } from '@sniptt/guards';diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormMultiRecordPicker.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormMultiRecordPicker.tsxindex 2501ddab84b..eec1d970c3d 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormMultiRecordPicker.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormMultiRecordPicker.tsx@@ -16,7 +16,7 @@ import {import { MultipleRecordPicker } from '@/object-record/record-picker/multiple-record-picker/components/MultipleRecordPicker';import { type RecordPickerPickableMorphItem } from '@/object-record/record-picker/types/RecordPickerPickableMorphItem';import { useSnackBar } from '@/ui/feedback/snack-bar-manager/hooks/useSnackBar';-import { Field } from 'twenty-ui/input';+import { Field } from 'twenty-ui/primitives/input';import { Dropdown } from '@/ui/layout/dropdown/components/Dropdown';import { GenericDropdownContentWidth } from '@/ui/layout/dropdown/constants/GenericDropdownContentWidth';import { useCloseDropdown } from '@/ui/layout/dropdown/hooks/useCloseDropdown';diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormMultiSelectFieldInput.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormMultiSelectFieldInput.tsxindex 3c045998a8c..25633fe2d85 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormMultiSelectFieldInput.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormMultiSelectFieldInput.tsx@@ -11,7 +11,7 @@ import { SELECT_FIELD_INPUT_SELECTABLE_LIST_COMPONENT_INSTANCE_ID } from '@/objeimport { type FieldMultiSelectValue } from '@/object-record/record-field/ui/types/FieldMetadata';import { MultiSelectDisplay } from '@/ui/field/display/components/MultiSelectDisplay';import { MultiSelectInput } from '@/ui/field/input/components/MultiSelectInput';-import { Field, type SelectOption } from 'twenty-ui/input';+import { Field, type SelectOption } from 'twenty-ui/primitives/input';import { GenericDropdownContentWidth } from '@/ui/layout/dropdown/constants/GenericDropdownContentWidth';import { OverlayContainer } from '@/ui/layout/overlay/components/OverlayContainer';import { usePushFocusItemToFocusStack } from '@/ui/utilities/focus/hooks/usePushFocusItemToFocusStack';@@ -21,7 +21,7 @@ import { isStandaloneVariableString } from 'twenty-shared/workflow';import { isArray } from '@sniptt/guards';import { useContext, useId, useState } from 'react';import { isDefined } from 'twenty-shared/utils';-import { VisibilityHidden } from 'twenty-ui/accessibility';+import { VisibilityHidden } from 'twenty-ui/primitives/accessibility';import { IconChevronDown } from 'twenty-ui/icon';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormMultiTextFieldInput.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormMultiTextFieldInput.tsxindex 9ef98cb6aa4..4bc1694ca62 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormMultiTextFieldInput.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormMultiTextFieldInput.tsx@@ -4,7 +4,7 @@ import { FormFieldInputRowContainer } from '@/object-record/record-field/ui/formimport { TextVariableEditor } from '@/object-record/record-field/ui/form-types/components/TextVariableEditor';import { useMultiItemFieldEditor } from '@/object-record/record-field/ui/form-types/hooks/useMultiItemFieldEditor';import { type VariablePickerComponent } from '@/object-record/record-field/ui/form-types/types/VariablePickerComponent';-import { Field } from 'twenty-ui/input';+import { Field } from 'twenty-ui/primitives/input';import { parseMultiItemEditorContent } from '@/workflow/workflow-variables/utils/parseMultiItemEditorContent';import { t } from '@lingui/core/macro';import { useId } from 'react';diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormNumberFieldInput.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormNumberFieldInput.tsxindex d289b3e6adc..8c8b0422361 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormNumberFieldInput.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormNumberFieldInput.tsx@@ -4,7 +4,7 @@ import { FormFieldInputRowContainer } from '@/object-record/record-field/ui/formimport { VariableChipStandalone } from '@/object-record/record-field/ui/form-types/components/VariableChipStandalone';import { type VariablePickerComponent } from '@/object-record/record-field/ui/form-types/types/VariablePickerComponent';import { TextInput } from '@/ui/field/input/components/TextInput';-import { Field } from 'twenty-ui/input';+import { Field } from 'twenty-ui/primitives/input';import { isStandaloneVariableString } from 'twenty-shared/workflow';import { t } from '@lingui/core/macro';import isEmpty from 'lodash.isempty';diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormPhoneFieldInput.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormPhoneFieldInput.tsxindex 573f1654f1b..f0510b69458 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormPhoneFieldInput.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormPhoneFieldInput.tsx@@ -7,7 +7,7 @@ import { FormNestedFieldInputContainer } from '@/object-record/record-field/ui/fimport { FormNumberFieldInput } from '@/object-record/record-field/ui/form-types/components/FormNumberFieldInput';import { type VariablePickerComponent } from '@/object-record/record-field/ui/form-types/types/VariablePickerComponent';import { type FieldPhonesValue } from '@/object-record/record-field/ui/types/FieldMetadata';-import { Field } from 'twenty-ui/input';+import { Field } from 'twenty-ui/primitives/input';import { t } from '@lingui/core/macro';import { isDefined } from 'twenty-shared/utils';diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormRawJsonFieldInput.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormRawJsonFieldInput.tsxindex f78cde7260e..3369bc2d9c3 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormRawJsonFieldInput.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormRawJsonFieldInput.tsx@@ -5,7 +5,7 @@ import { FormFieldInputRowContainer } from '@/object-record/record-field/ui/formimport { TextVariableEditor } from '@/object-record/record-field/ui/form-types/components/TextVariableEditor';import { useTextVariableEditor } from '@/object-record/record-field/ui/form-types/hooks/useTextVariableEditor';import { type VariablePickerComponent } from '@/object-record/record-field/ui/form-types/types/VariablePickerComponent';-import { Field } from 'twenty-ui/input';+import { Field } from 'twenty-ui/primitives/input';import { useId } from 'react';import { isDefined } from 'twenty-shared/utils';import { turnIntoEmptyStringIfWhitespacesOnly } from '~/utils/string/turnIntoEmptyStringIfWhitespacesOnly';diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormSelectFieldInput.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormSelectFieldInput.tsxindex 25617088f55..9572c419b98 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormSelectFieldInput.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormSelectFieldInput.tsx@@ -4,7 +4,7 @@ import { FormFieldInputInnerContainer } from '@/object-record/record-field/ui/foimport { FormFieldInputRowContainer } from '@/object-record/record-field/ui/form-types/components/FormFieldInputRowContainer';import { VariableChipStandalone } from '@/object-record/record-field/ui/form-types/components/VariableChipStandalone';import { type VariablePickerComponent } from '@/object-record/record-field/ui/form-types/types/VariablePickerComponent';-import { Field, type SelectOption } from 'twenty-ui/input';+import { Field, type SelectOption } from 'twenty-ui/primitives/input';import { type CallToActionButton, Select } from '@/ui/input/components/Select';import { GenericDropdownContentWidth } from '@/ui/layout/dropdown/constants/GenericDropdownContentWidth';import { useRemoveFocusItemFromFocusStackById } from '@/ui/utilities/focus/hooks/useRemoveFocusItemFromFocusStackById';diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormSingleRecordPicker.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormSingleRecordPicker.tsxindex c588b859d92..d618d6917fd 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormSingleRecordPicker.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormSingleRecordPicker.tsx@@ -12,7 +12,7 @@ import { SingleRecordPicker } from '@/object-record/record-picker/single-record-import { singleRecordPickerSearchFilterComponentState } from '@/object-record/record-picker/single-record-picker/states/singleRecordPickerSearchFilterComponentState';import { singleRecordPickerSelectedIdComponentState } from '@/object-record/record-picker/single-record-picker/states/singleRecordPickerSelectedIdComponentState';import { type RecordPickerPickableMorphItem } from '@/object-record/record-picker/types/RecordPickerPickableMorphItem';-import { Field } from 'twenty-ui/input';+import { Field } from 'twenty-ui/primitives/input';import { Dropdown } from '@/ui/layout/dropdown/components/Dropdown';import { GenericDropdownContentWidth } from '@/ui/layout/dropdown/constants/GenericDropdownContentWidth';import { useCloseDropdown } from '@/ui/layout/dropdown/hooks/useCloseDropdown';diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormTextFieldInput.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormTextFieldInput.tsxindex b605cc10709..2e107136355 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormTextFieldInput.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormTextFieldInput.tsx@@ -5,7 +5,7 @@ import { FormFieldInputRowContainer } from '@/object-record/record-field/ui/formimport { TextVariableEditor } from '@/object-record/record-field/ui/form-types/components/TextVariableEditor';import { useTextVariableEditor } from '@/object-record/record-field/ui/form-types/hooks/useTextVariableEditor';import { type VariablePickerComponent } from '@/object-record/record-field/ui/form-types/types/VariablePickerComponent';-import { Field } from 'twenty-ui/input';+import { Field } from 'twenty-ui/primitives/input';import { parseEditorContent } from '@/workflow/workflow-variables/utils/parseEditorContent';import { useId } from 'react';import { isDefined } from 'twenty-shared/utils';diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormUuidFieldInput.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormUuidFieldInput.tsxindex 25fdeac17b5..22e11f4bf40 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormUuidFieldInput.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormUuidFieldInput.tsx@@ -4,7 +4,7 @@ import { FormFieldInputRowContainer } from '@/object-record/record-field/ui/formimport { VariableChipStandalone } from '@/object-record/record-field/ui/form-types/components/VariableChipStandalone';import { type VariablePickerComponent } from '@/object-record/record-field/ui/form-types/types/VariablePickerComponent';import { TextInput } from '@/ui/field/input/components/TextInput';-import { Field } from 'twenty-ui/input';+import { Field } from 'twenty-ui/primitives/input';import { isStandaloneVariableString } from 'twenty-shared/workflow';import { t } from '@lingui/core/macro';import { useId, useState } from 'react';diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormWorkspaceMemberFilterValueInput.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormWorkspaceMemberFilterValueInput.tsxindex 76ffcb6f60f..82881056d47 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormWorkspaceMemberFilterValueInput.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormWorkspaceMemberFilterValueInput.tsx@@ -29,7 +29,7 @@ import {} from '@/object-record/record-field/ui/form-types/utils/parseWorkspaceMemberFilterValue';import { useRecordsForSelect } from '@/object-record/select/hooks/useRecordsForSelect';import { type SelectableItem } from '@/object-record/select/types/SelectableItem';-import { Field } from 'twenty-ui/input';+import { Field } from 'twenty-ui/primitives/input';import { Dropdown } from '@/ui/layout/dropdown/components/Dropdown';import { isStandaloneVariableString } from 'twenty-shared/workflow';diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/RelativeDateFilterRangeHint.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/RelativeDateFilterRangeHint.tsxindex d2913e5c18b..7a8415aa6d1 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/RelativeDateFilterRangeHint.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/RelativeDateFilterRangeHint.tsx@@ -1,5 +1,5 @@import { currentWorkspaceMemberState } from '@/auth/states/currentWorkspaceMemberState';-import { InputHint } from 'twenty-ui/input';+import { InputHint } from 'twenty-ui/primitives/input';import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';import { Temporal } from 'temporal-polyfill';import { SOURCE_LOCALE } from 'twenty-shared/translations';diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/display/components/AddressFieldDisplay.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/display/components/AddressFieldDisplay.tsxindex 8fe44ff571c..792140847b7 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/display/components/AddressFieldDisplay.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/display/components/AddressFieldDisplay.tsx@@ -1,5 +1,5 @@import { useAddressFieldDisplay } from '@/object-record/record-field/ui/meta-types/hooks/useAddressFieldDisplay';-import { TextDisplay } from 'twenty-ui/data-display';+import { TextDisplay } from 'twenty-ui/primitives/data-display';import { formatAddressDisplay } from '~/utils/formatAddressDisplay';export const AddressFieldDisplay = () => {diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/display/components/FullNameFieldDisplay.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/display/components/FullNameFieldDisplay.tsxindex 5a8f4c95e37..8b0254dc8c9 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/display/components/FullNameFieldDisplay.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/display/components/FullNameFieldDisplay.tsx@@ -1,7 +1,7 @@import { isNonEmptyString } from '@sniptt/guards';import { useFullNameFieldDisplay } from '@/object-record/record-field/ui/meta-types/hooks/useFullNameFieldDisplay';-import { TextDisplay } from 'twenty-ui/data-display';+import { TextDisplay } from 'twenty-ui/primitives/data-display';export const FullNameFieldDisplay = () => {const { fieldValue } = useFullNameFieldDisplay();diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/display/components/JsonFieldDisplay.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/display/components/JsonFieldDisplay.tsxindex 60e748e77a2..9b510c01507 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/display/components/JsonFieldDisplay.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/display/components/JsonFieldDisplay.tsx@@ -1,10 +1,13 @@import { useJsonFieldDisplay } from '@/object-record/record-field/ui/meta-types/hooks/useJsonFieldDisplay';-import { JsonDisplay } from 'twenty-ui/data-display';+import { JsonDisplay } from 'twenty-ui/primitives/data-display';import { ExpandedFieldDisplay } from '@/ui/layout/expandable-list/components/ExpandedFieldDisplay';import { t } from '@lingui/core/macro';import { useRef, useState } from 'react';import { isDefined } from 'twenty-shared/utils';-import { isTwoFirstDepths, JsonTree } from 'twenty-ui/json-visualizer';+import {+ isTwoFirstDepths,+ JsonTree,+} from 'twenty-ui/primitives/json-visualizer';import { useCopyToClipboard } from '~/hooks/useCopyToClipboard';export const JsonFieldDisplay = () => {diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/display/components/MultiSelectFieldDisplay.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/display/components/MultiSelectFieldDisplay.tsxindex 9bacca7a389..1c811fefb1e 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/display/components/MultiSelectFieldDisplay.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/display/components/MultiSelectFieldDisplay.tsx@@ -1,7 +1,7 @@import { useFieldFocus } from '@/object-record/record-field/ui/hooks/useFieldFocus';import { useMultiSelectFieldDisplay } from '@/object-record/record-field/ui/meta-types/hooks/useMultiSelectFieldDisplay';import { ExpandableList } from '@/ui/layout/expandable-list/components/ExpandableList';-import { Tag } from 'twenty-ui/data-display';+import { Tag } from 'twenty-ui/primitives/data-display';import { isDefined } from 'twenty-shared/utils';export const MultiSelectFieldDisplay = () => {diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/display/components/NumberFieldDisplay.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/display/components/NumberFieldDisplay.tsxindex a494bd2a471..f12649260ef 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/display/components/NumberFieldDisplay.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/display/components/NumberFieldDisplay.tsx@@ -1,6 +1,6 @@import { useNumberFormat } from '@/localization/hooks/useNumberFormat';import { useNumberFieldDisplay } from '@/object-record/record-field/ui/meta-types/hooks/useNumberFieldDisplay';-import { NumberDisplay } from 'twenty-ui/data-display';+import { NumberDisplay } from 'twenty-ui/primitives/data-display';import { formatToShortNumber, isDefined } from 'twenty-shared/utils';export const NumberFieldDisplay = () => {diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/display/components/SelectFieldDisplay.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/display/components/SelectFieldDisplay.tsxindex 6d075e1e2b5..9d67ef4b858 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/display/components/SelectFieldDisplay.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/display/components/SelectFieldDisplay.tsx@@ -1,5 +1,5 @@import { useSelectFieldDisplay } from '@/object-record/record-field/ui/meta-types/hooks/useSelectFieldDisplay';-import { SelectDisplay } from 'twenty-ui/data-display';+import { SelectDisplay } from 'twenty-ui/primitives/data-display';import { isDefined } from 'twenty-shared/utils';export const SelectFieldDisplay = () => {diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/display/components/TextFieldDisplay.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/display/components/TextFieldDisplay.tsxindex d6b7c6b35f1..98e18898a40 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/display/components/TextFieldDisplay.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/display/components/TextFieldDisplay.tsx@@ -1,6 +1,6 @@import { useTextFieldDisplay } from '@/object-record/record-field/ui/meta-types/hooks/useTextFieldDisplay';import { isFieldText } from '@/object-record/record-field/ui/types/guards/isFieldText';-import { TextDisplay } from 'twenty-ui/data-display';+import { TextDisplay } from 'twenty-ui/primitives/data-display';export const TextFieldDisplay = () => {const { fieldValue, fieldDefinition, displayedMaxRows } =diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/display/components/UuidFieldDisplay.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/display/components/UuidFieldDisplay.tsxindex beeda3307e2..778d1b0378c 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/display/components/UuidFieldDisplay.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/display/components/UuidFieldDisplay.tsx@@ -1,5 +1,5 @@import { useUuidField } from '@/object-record/record-field/ui/meta-types/hooks/useUuidField';-import { TextDisplay } from 'twenty-ui/data-display';+import { TextDisplay } from 'twenty-ui/primitives/data-display';export const UuidFieldDisplay = () => {const { fieldValue } = useUuidField();diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/hooks/useFilteredSelectOptionsFromRLSPredicates.ts b/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/hooks/useFilteredSelectOptionsFromRLSPredicates.tsindex c1087b57082..b2c9ad21231 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/hooks/useFilteredSelectOptionsFromRLSPredicates.ts+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/hooks/useFilteredSelectOptionsFromRLSPredicates.ts@@ -8,7 +8,7 @@ import {RowLevelPermissionPredicateOperand,} from 'twenty-shared/types';import { isDefined } from 'twenty-shared/utils';-import { type SelectOption } from 'twenty-ui/input';+import { type SelectOption } from 'twenty-ui/primitives/input';// Predicate values for select fields can be:// - an actual array: ["BIRD", "DOG"]diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/input/components/FilesFieldMenuItem.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/input/components/FilesFieldMenuItem.tsxindex 26681975c3b..e8c6b7596ab 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/input/components/FilesFieldMenuItem.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/input/components/FilesFieldMenuItem.tsx@@ -1,7 +1,7 @@import { FileIcon } from '@/file/components/FileIcon';import { type FieldFilesValue } from '@/object-record/record-field/ui/types/FieldMetadata';import { getFileCategoryFromExtension } from '@/object-record/record-field/ui/utils/getFileCategoryFromExtension';-import { Chip } from 'twenty-ui/data-display';+import { Chip } from 'twenty-ui/primitives/data-display';import { MultiItemFieldMenuItem } from './MultiItemFieldMenuItem';type FilesFieldMenuItemProps = {diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/input/components/MultiItemFieldInput.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/input/components/MultiItemFieldInput.tsxindex ba0d35ecbc9..6dcf7207904 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/input/components/MultiItemFieldInput.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/input/components/MultiItemFieldInput.tsx@@ -23,8 +23,8 @@ import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateimport { isNonEmptyString } from '@sniptt/guards';import { CustomError, isDefined } from 'twenty-shared/utils';import { IconCheck, IconPlus } from 'twenty-ui/icon';-import { LightIconButton } from 'twenty-ui/input';-import { MenuItem } from 'twenty-ui/navigation';+import { LightIconButton } from 'twenty-ui/primitives/input';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { FieldMetadataType } from '~/generated-metadata/graphql';import { moveArrayItem } from '~/utils/array/moveArrayItem';import { toSpliced } from '~/utils/array/toSpliced';diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/input/components/MultiItemFieldMenuItem.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/input/components/MultiItemFieldMenuItem.tsxindex 4c5fb0291c6..9c138e31ea7 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/input/components/MultiItemFieldMenuItem.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/input/components/MultiItemFieldMenuItem.tsx@@ -13,7 +13,7 @@ import {IconPencil,IconTrash,} from 'twenty-ui/icon';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';type MultiItemFieldMenuItemProps<T> = {dropdownId: string;diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/input/components/RawJsonFieldInput.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/input/components/RawJsonFieldInput.tsxindex c275552791c..9563b3d502a 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/input/components/RawJsonFieldInput.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/input/components/RawJsonFieldInput.tsx@@ -10,8 +10,11 @@ import { useLingui } from '@lingui/react/macro';import { useContext, useRef, useState } from 'react';import { Key } from 'ts-key-enum';import { IconPencil } from 'twenty-ui/icon';-import { CodeEditor, FloatingIconButton } from 'twenty-ui/input';-import { JsonTree, isTwoFirstDepths } from 'twenty-ui/json-visualizer';+import { CodeEditor, FloatingIconButton } from 'twenty-ui/primitives/input';+import {+ JsonTree,+ isTwoFirstDepths,+} from 'twenty-ui/primitives/json-visualizer';import { themeCssVariables } from 'twenty-ui/theme-constants';import { useCopyToClipboard } from '~/hooks/useCopyToClipboard';import { useJsonField } from '@/object-record/record-field/ui/meta-types/hooks/useJsonField';diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/input/components/RichTextFieldInput.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/input/components/RichTextFieldInput.tsxindex b4d13c464c4..23ec129c04d 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/input/components/RichTextFieldInput.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/input/components/RichTextFieldInput.tsx@@ -13,7 +13,7 @@ import { styled } from '@linaria/react';import { Suspense, lazy, useContext, useRef } from 'react';import Skeleton, { SkeletonTheme } from 'react-loading-skeleton';import { IconLayoutSidebarLeftCollapse } from 'twenty-ui/icon';-import { FloatingIconButton } from 'twenty-ui/input';+import { FloatingIconButton } from 'twenty-ui/primitives/input';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';const ActivityRichTextEditor = lazy(() =>diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/input/components/SelectFieldInput.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/input/components/SelectFieldInput.tsxindex ca75b9ae544..8f314d277e6 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/input/components/SelectFieldInput.tsx+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/input/components/SelectFieldInput.tsx@@ -14,7 +14,7 @@ import { useAvailableComponentInstanceIdOrThrow } from '@/ui/utilities/state/comimport { useContext, useState } from 'react';import { Key } from 'ts-key-enum';import { isDefined } from 'twenty-shared/utils';-import { type SelectOption } from 'twenty-ui/input';+import { type SelectOption } from 'twenty-ui/primitives/input';export const SelectFieldInput = () => {const { fieldDefinition, fieldValue } = useSelectField();diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/types/RecordChipData.ts b/packages/twenty-front/src/modules/object-record/record-field/ui/types/RecordChipData.tsindex 01ffe5321c6..646dc9b9a78 100644--- a/packages/twenty-front/src/modules/object-record/record-field/ui/types/RecordChipData.ts+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/types/RecordChipData.ts@@ -1,4 +1,4 @@-import { type AvatarShape } from 'twenty-ui/data-display';+import { type AvatarShape } from 'twenty-ui/primitives/data-display';export type RecordChipData = {recordId: string;name: string;diff --git a/packages/twenty-front/src/modules/object-record/record-group/components/AddRecordGroupButton.tsx b/packages/twenty-front/src/modules/object-record/record-group/components/AddRecordGroupButton.tsxindex f30f4cbc4b6..0da4ce73750 100644--- a/packages/twenty-front/src/modules/object-record/record-group/components/AddRecordGroupButton.tsx+++ b/packages/twenty-front/src/modules/object-record/record-group/components/AddRecordGroupButton.tsx@@ -11,7 +11,7 @@ import { t } from '@lingui/core/macro';import { isNonEmptyString } from '@sniptt/guards';import { isDefined } from 'twenty-shared/utils';import { IconPlus } from 'twenty-ui/icon';-import { LightButton } from 'twenty-ui/input';+import { LightButton } from 'twenty-ui/primitives/input';type AddRecordGroupButtonProps = {fieldMetadataItem: FieldMetadataItem;diff --git a/packages/twenty-front/src/modules/object-record/record-group/components/RecordGroupAggregateDropdownButton.tsx b/packages/twenty-front/src/modules/object-record/record-group/components/RecordGroupAggregateDropdownButton.tsxindex cd8baae1815..2a38c5bf719 100644--- a/packages/twenty-front/src/modules/object-record/record-group/components/RecordGroupAggregateDropdownButton.tsx+++ b/packages/twenty-front/src/modules/object-record/record-group/components/RecordGroupAggregateDropdownButton.tsx@@ -4,8 +4,8 @@ import { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useimport { styled } from '@linaria/react';import { type Nullable } from 'twenty-shared/types';import { isDefined } from 'twenty-shared/utils';-import { Tag } from 'twenty-ui/data-display';-import { AppTooltip, TooltipDelay } from 'twenty-ui/surfaces';+import { Tag } from 'twenty-ui/primitives/data-display';+import { AppTooltip, TooltipDelay } from 'twenty-ui/primitives/surfaces';const StyledTagContainer = styled.div`width: 100%;diff --git a/packages/twenty-front/src/modules/object-record/record-group/components/RecordGroupAggregateDropdownFieldsContent.tsx b/packages/twenty-front/src/modules/object-record/record-group/components/RecordGroupAggregateDropdownFieldsContent.tsxindex 5cbaf1e9114..c2aa665d841 100644--- a/packages/twenty-front/src/modules/object-record/record-group/components/RecordGroupAggregateDropdownFieldsContent.tsx+++ b/packages/twenty-front/src/modules/object-record/record-group/components/RecordGroupAggregateDropdownFieldsContent.tsx@@ -13,7 +13,7 @@ import { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useimport { useUpdateViewAggregate } from '@/views/hooks/useUpdateViewAggregate';import { isDefined } from 'twenty-shared/utils';import { Icon123, IconCheck, IconChevronLeft, useIcons } from 'twenty-ui/icon';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';export const RecordGroupAggregateDropdownFieldsContent = () => {const {diff --git a/packages/twenty-front/src/modules/object-record/record-group/components/RecordGroupAggregateDropdownMenuContent.tsx b/packages/twenty-front/src/modules/object-record/record-group/components/RecordGroupAggregateDropdownMenuContent.tsxindex f1e08b45bbc..47ad7ba1d71 100644--- a/packages/twenty-front/src/modules/object-record/record-group/components/RecordGroupAggregateDropdownMenuContent.tsx+++ b/packages/twenty-front/src/modules/object-record/record-group/components/RecordGroupAggregateDropdownMenuContent.tsx@@ -5,7 +5,7 @@ import { type RecordGroupAggregateDropdownContextValue } from '@/object-record/rimport { DropdownContent } from '@/ui/layout/dropdown/components/DropdownContent';import { DropdownMenuItemsContainer } from '@/ui/layout/dropdown/components/DropdownMenuItemsContainer';import { useLingui } from '@lingui/react/macro';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';export const RecordGroupAggregateDropdownMenuContent = () => {const { t } = useLingui();diff --git a/packages/twenty-front/src/modules/object-record/record-group/components/RecordGroupAggregateDropdownMenuItem.tsx b/packages/twenty-front/src/modules/object-record/record-group/components/RecordGroupAggregateDropdownMenuItem.tsxindex c761883cbcb..d99835c741c 100644--- a/packages/twenty-front/src/modules/object-record/record-group/components/RecordGroupAggregateDropdownMenuItem.tsx+++ b/packages/twenty-front/src/modules/object-record/record-group/components/RecordGroupAggregateDropdownMenuItem.tsx@@ -1,5 +1,5 @@import { type IconComponent } from 'twenty-ui/icon';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';export const RecordGroupAggregateDropdownMenuItem = ({onContentChange,diff --git a/packages/twenty-front/src/modules/object-record/record-group/components/RecordGroupChip.tsx b/packages/twenty-front/src/modules/object-record/record-group/components/RecordGroupChip.tsxindex 8c1ca18415e..223307c8341 100644--- a/packages/twenty-front/src/modules/object-record/record-group/components/RecordGroupChip.tsx+++ b/packages/twenty-front/src/modules/object-record/record-group/components/RecordGroupChip.tsx@@ -6,7 +6,7 @@ import {RecordGroupDefinitionType,} from '@/object-record/record-group/types/RecordGroupDefinition';import { isDefined } from 'twenty-shared/utils';-import { Tag } from 'twenty-ui/data-display';+import { Tag } from 'twenty-ui/primitives/data-display';type RecordGroupChipProps = {recordGroupDefinition: RecordGroupDefinition;diff --git a/packages/twenty-front/src/modules/object-record/record-group/components/RecordGroupMenuItemDraggable.tsx b/packages/twenty-front/src/modules/object-record/record-group/components/RecordGroupMenuItemDraggable.tsxindex 41c613e7f59..4f4b5760f53 100644--- a/packages/twenty-front/src/modules/object-record/record-group/components/RecordGroupMenuItemDraggable.tsx+++ b/packages/twenty-front/src/modules/object-record/record-group/components/RecordGroupMenuItemDraggable.tsx@@ -10,7 +10,7 @@ import { useAtomFamilyStateValue } from '@/ui/utilities/state/jotai/hooks/useAtoimport { t } from '@lingui/core/macro';import { isDefined } from 'twenty-shared/utils';import { IconEye, IconEyeOff } from 'twenty-ui/icon';-import { MenuItemDraggable } from 'twenty-ui/navigation';+import { MenuItemDraggable } from 'twenty-ui/primitives/navigation';type RecordGroupMenuItemDraggableProps = {recordGroupId: string;diff --git a/packages/twenty-front/src/modules/object-record/record-group/components/RecordGroupRelationChip.tsx b/packages/twenty-front/src/modules/object-record/record-group/components/RecordGroupRelationChip.tsxindex 76e493517e4..e445458f4c8 100644--- a/packages/twenty-front/src/modules/object-record/record-group/components/RecordGroupRelationChip.tsx+++ b/packages/twenty-front/src/modules/object-record/record-group/components/RecordGroupRelationChip.tsx@@ -4,7 +4,7 @@ import { useFindOneRecord } from '@/object-record/hooks/useFindOneRecord';import { type ObjectRecord } from '@/object-record/types/ObjectRecord';import { t } from '@lingui/core/macro';import { isDefined } from 'twenty-shared/utils';-import { Tag } from 'twenty-ui/data-display';+import { Tag } from 'twenty-ui/primitives/data-display';type RecordGroupRelationChipProps = {fieldMetadataItem: FieldMetadataItem;diff --git a/packages/twenty-front/src/modules/object-record/record-index/components/RecordIndexEmptyStateDisplay.tsx b/packages/twenty-front/src/modules/object-record/record-index/components/RecordIndexEmptyStateDisplay.tsxindex cddb8e9d446..2e532ff6b5b 100644--- a/packages/twenty-front/src/modules/object-record/record-index/components/RecordIndexEmptyStateDisplay.tsx+++ b/packages/twenty-front/src/modules/object-record/record-index/components/RecordIndexEmptyStateDisplay.tsx@@ -7,9 +7,9 @@ import {AnimatedPlaceholderEmptyTextContainer,AnimatedPlaceholderEmptyTitle,type AnimatedPlaceholderType,-} from 'twenty-ui/feedback';+} from 'twenty-ui/primitives/feedback';import { type IconComponent } from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';+import { Button } from 'twenty-ui/primitives/input';const StyledEmptyStateContainer = styled.div`height: 100%;diff --git a/packages/twenty-front/src/modules/object-record/record-index/components/RecordIndexEmptyStateNotShared.tsx b/packages/twenty-front/src/modules/object-record/record-index/components/RecordIndexEmptyStateNotShared.tsxindex 685fd27efa0..dadbff7657f 100644--- a/packages/twenty-front/src/modules/object-record/record-index/components/RecordIndexEmptyStateNotShared.tsx+++ b/packages/twenty-front/src/modules/object-record/record-index/components/RecordIndexEmptyStateNotShared.tsx@@ -9,7 +9,7 @@ import {AnimatedPlaceholderEmptySubTitle,AnimatedPlaceholderEmptyTextContainer,AnimatedPlaceholderEmptyTitle,-} from 'twenty-ui/feedback';+} from 'twenty-ui/primitives/feedback';const StyledEmptyPlaceholderOuterContainer = styled.div`height: 100%;diff --git a/packages/twenty-front/src/modules/object-record/record-inline-cell/components/RecordInlineCellContainer.tsx b/packages/twenty-front/src/modules/object-record/record-inline-cell/components/RecordInlineCellContainer.tsxindex c876a3991a5..a91b642b48b 100644--- a/packages/twenty-front/src/modules/object-record/record-inline-cell/components/RecordInlineCellContainer.tsx+++ b/packages/twenty-front/src/modules/object-record/record-inline-cell/components/RecordInlineCellContainer.tsx@@ -14,7 +14,7 @@ import {AppTooltip,OverflowingTextWithTooltip,TooltipDelay,-} from 'twenty-ui/surfaces';+} from 'twenty-ui/primitives/surfaces';import { FieldMetadataType } from '~/generated-metadata/graphql';import { useRecordInlineCellContext } from './RecordInlineCellContext';diff --git a/packages/twenty-front/src/modules/object-record/record-inline-cell/components/RecordInlineCellEditButton.tsx b/packages/twenty-front/src/modules/object-record/record-inline-cell/components/RecordInlineCellEditButton.tsxindex 12ef04edce7..2909745ff6e 100644--- a/packages/twenty-front/src/modules/object-record/record-inline-cell/components/RecordInlineCellEditButton.tsx+++ b/packages/twenty-front/src/modules/object-record/record-inline-cell/components/RecordInlineCellEditButton.tsx@@ -1,7 +1,7 @@import { styled } from '@linaria/react';import { type IconComponent } from 'twenty-ui/icon';-import { FloatingIconButton } from 'twenty-ui/input';-import { AnimatedContainer } from 'twenty-ui/layout';+import { FloatingIconButton } from 'twenty-ui/primitives/input';+import { AnimatedContainer } from 'twenty-ui/primitives/layout';const StyledInlineCellButtonContainer = styled.div`align-items: center;diff --git a/packages/twenty-front/src/modules/object-record/record-list/components/RecordListFieldTooltip.tsx b/packages/twenty-front/src/modules/object-record/record-list/components/RecordListFieldTooltip.tsxindex f30d149ec94..b70a3030f9a 100644--- a/packages/twenty-front/src/modules/object-record/record-list/components/RecordListFieldTooltip.tsx+++ b/packages/twenty-front/src/modules/object-record/record-list/components/RecordListFieldTooltip.tsx@@ -6,7 +6,7 @@ import { useAtomComponentSelectorValue } from '@/ui/utilities/state/jotai/hooks/import { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentStateValue';import { isDefined } from 'twenty-shared/utils';import { useIcons } from 'twenty-ui/icon';-import { AppTooltip, TooltipDelay } from 'twenty-ui/surfaces';+import { AppTooltip, TooltipDelay } from 'twenty-ui/primitives/surfaces';export const RecordListFieldTooltip = () => {const { getIcon } = useIcons();diff --git a/packages/twenty-front/src/modules/object-record/record-list/components/RecordListRow.tsx b/packages/twenty-front/src/modules/object-record/record-list/components/RecordListRow.tsxindex 552a321f45c..0c22ea9ee6c 100644--- a/packages/twenty-front/src/modules/object-record/record-list/components/RecordListRow.tsx+++ b/packages/twenty-front/src/modules/object-record/record-list/components/RecordListRow.tsx@@ -19,8 +19,8 @@ import { styled } from '@linaria/react';import { plural, t } from '@lingui/core/macro';import { isNonEmptyString } from '@sniptt/guards';import { isDefined } from 'twenty-shared/utils';-import { Chip, LinkChip } from 'twenty-ui/data-display';-import { TooltipPosition } from 'twenty-ui/surfaces';+import { Chip, LinkChip } from 'twenty-ui/primitives/data-display';+import { TooltipPosition } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledRowContainer = styled.div`diff --git a/packages/twenty-front/src/modules/object-record/record-merge/components/MergeRecordsFooter.tsx b/packages/twenty-front/src/modules/object-record/record-merge/components/MergeRecordsFooter.tsxindex c71a1d4c068..eaf9fb4f56a 100644--- a/packages/twenty-front/src/modules/object-record/record-merge/components/MergeRecordsFooter.tsx+++ b/packages/twenty-front/src/modules/object-record/record-merge/components/MergeRecordsFooter.tsx@@ -5,7 +5,7 @@ import { styled } from '@linaria/react';import { Key } from 'ts-key-enum';import { t } from '@lingui/core/macro';import { IconArrowMerge } from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';+import { Button } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledFooterContainer = styled.div`diff --git a/packages/twenty-front/src/modules/object-record/record-merge/components/MergeSettingsTab.tsx b/packages/twenty-front/src/modules/object-record/record-merge/components/MergeSettingsTab.tsxindex 745317ed096..93cfd02bc16 100644--- a/packages/twenty-front/src/modules/object-record/record-merge/components/MergeSettingsTab.tsx+++ b/packages/twenty-front/src/modules/object-record/record-merge/components/MergeSettingsTab.tsx@@ -5,7 +5,7 @@ import { getPositionWordLabel } from '@/object-record/record-merge/utils/getPosiimport { Select } from '@/ui/input/components/Select';import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';-import { Section } from 'twenty-ui/layout';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledSectionContainer = styled.div`diff --git a/packages/twenty-front/src/modules/object-record/record-picker/components/RecordPickerNoRecordFoundMenuItem.tsx b/packages/twenty-front/src/modules/object-record/record-picker/components/RecordPickerNoRecordFoundMenuItem.tsxindex 81e783a8746..0bedd0c6e8d 100644--- a/packages/twenty-front/src/modules/object-record/record-picker/components/RecordPickerNoRecordFoundMenuItem.tsx+++ b/packages/twenty-front/src/modules/object-record/record-picker/components/RecordPickerNoRecordFoundMenuItem.tsx@@ -1,4 +1,4 @@-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { useLingui } from '@lingui/react/macro';diff --git a/packages/twenty-front/src/modules/object-record/record-picker/multiple-record-picker/components/MultipleRecordPickerCreateTargetSelect.tsx b/packages/twenty-front/src/modules/object-record/record-picker/multiple-record-picker/components/MultipleRecordPickerCreateTargetSelect.tsxindex 30561c70f14..91009d83623 100644--- a/packages/twenty-front/src/modules/object-record/record-picker/multiple-record-picker/components/MultipleRecordPickerCreateTargetSelect.tsx+++ b/packages/twenty-front/src/modules/object-record/record-picker/multiple-record-picker/components/MultipleRecordPickerCreateTargetSelect.tsx@@ -10,7 +10,7 @@ import { selectedItemIdComponentState } from '@/ui/layout/selectable-list/statesimport { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentStateValue';import { t } from '@lingui/core/macro';import { IconChevronLeft } from 'twenty-ui/icon';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';type MultipleRecordPickerCreateTargetSelectProps = {objectMetadataItems: EnrichedObjectMetadataItem[];diff --git a/packages/twenty-front/src/modules/object-record/record-picker/multiple-record-picker/components/MultipleRecordPickerMenuItemContent.tsx b/packages/twenty-front/src/modules/object-record/record-picker/multiple-record-picker/components/MultipleRecordPickerMenuItemContent.tsxindex 1f8ffeb368c..cfa19acee4c 100644--- a/packages/twenty-front/src/modules/object-record/record-picker/multiple-record-picker/components/MultipleRecordPickerMenuItemContent.tsx+++ b/packages/twenty-front/src/modules/object-record/record-picker/multiple-record-picker/components/MultipleRecordPickerMenuItemContent.tsx@@ -13,8 +13,8 @@ import { useAtomComponentFamilySelectorValue } from '@/ui/utilities/state/jotai/import { useAtomComponentFamilyStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentFamilyStateValue';import { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentStateValue';import { capitalize } from 'twenty-shared/utils';-import { Avatar } from 'twenty-ui/data-display';-import { MenuItemMultiSelectAvatar } from 'twenty-ui/navigation';+import { Avatar } from 'twenty-ui/primitives/data-display';+import { MenuItemMultiSelectAvatar } from 'twenty-ui/primitives/navigation';import { multipleRecordPickerSearchableObjectMetadataItemsComponentState } from '@/object-record/record-picker/multiple-record-picker/states/multipleRecordPickerSearchableObjectMetadataItemsComponentState';import { type SearchRecord } from '~/generated/graphql';diff --git a/packages/twenty-front/src/modules/object-record/record-picker/single-record-picker/components/SingleRecordPickerMenuItem.tsx b/packages/twenty-front/src/modules/object-record/record-picker/single-record-picker/components/SingleRecordPickerMenuItem.tsxindex 6ce45af1530..28d7a10eae3 100644--- a/packages/twenty-front/src/modules/object-record/record-picker/single-record-picker/components/SingleRecordPickerMenuItem.tsx+++ b/packages/twenty-front/src/modules/object-record/record-picker/single-record-picker/components/SingleRecordPickerMenuItem.tsx@@ -14,8 +14,8 @@ import { useAtomComponentFamilyStateValue } from '@/ui/utilities/state/jotai/hooimport { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentStateValue';import { useAtomFamilyStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomFamilyStateValue';import { capitalize, isDefined } from 'twenty-shared/utils';-import { Avatar } from 'twenty-ui/data-display';-import { MenuItemSelectAvatar } from 'twenty-ui/navigation';+import { Avatar } from 'twenty-ui/primitives/data-display';+import { MenuItemSelectAvatar } from 'twenty-ui/primitives/navigation';import { getAbsoluteImageUrl } from '~/utils/image/getAbsoluteImageUrl';type SingleRecordPickerMenuItemProps = {diff --git a/packages/twenty-front/src/modules/object-record/record-picker/single-record-picker/components/SingleRecordPickerMenuItems.tsx b/packages/twenty-front/src/modules/object-record/record-picker/single-record-picker/components/SingleRecordPickerMenuItems.tsxindex 01dac86619e..fa47b9cbb14 100644--- a/packages/twenty-front/src/modules/object-record/record-picker/single-record-picker/components/SingleRecordPickerMenuItems.tsx+++ b/packages/twenty-front/src/modules/object-record/record-picker/single-record-picker/components/SingleRecordPickerMenuItems.tsx@@ -22,7 +22,7 @@ import { useAtomComponentState } from '@/ui/utilities/state/jotai/hooks/useAtomCimport { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentStateValue';import { useAtomComponentFamilyStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentFamilyStateValue';import { type IconComponent } from 'twenty-ui/icon';-import { MenuItemSelect } from 'twenty-ui/navigation';+import { MenuItemSelect } from 'twenty-ui/primitives/navigation';export type SingleRecordPickerMenuItemsProps = {EmptyIcon?: IconComponent;diff --git a/packages/twenty-front/src/modules/object-record/record-show/components/ObjectRecordShowPageBreadcrumb.tsx b/packages/twenty-front/src/modules/object-record/record-show/components/ObjectRecordShowPageBreadcrumb.tsxindex a2d05c0bd08..42b156a16cc 100644--- a/packages/twenty-front/src/modules/object-record/record-show/components/ObjectRecordShowPageBreadcrumb.tsx+++ b/packages/twenty-front/src/modules/object-record/record-show/components/ObjectRecordShowPageBreadcrumb.tsx@@ -20,7 +20,7 @@ import { styled } from '@linaria/react';import { useState } from 'react';import { FieldMetadataType } from 'twenty-shared/types';import { isDefined } from 'twenty-shared/utils';-import { Avatar } from 'twenty-ui/data-display';+import { Avatar } from 'twenty-ui/primitives/data-display';import { themeCssVariables } from 'twenty-ui/theme-constants';import { getAbsoluteImageUrl } from '~/utils/image/getAbsoluteImageUrl';diff --git a/packages/twenty-front/src/modules/object-record/record-show/components/RecordIdentifierBarCreatedAt.tsx b/packages/twenty-front/src/modules/object-record/record-show/components/RecordIdentifierBarCreatedAt.tsxindex 1aab8f6776d..edeeeccf26d 100644--- a/packages/twenty-front/src/modules/object-record/record-show/components/RecordIdentifierBarCreatedAt.tsx+++ b/packages/twenty-front/src/modules/object-record/record-show/components/RecordIdentifierBarCreatedAt.tsx@@ -6,7 +6,7 @@ import { styled } from '@linaria/react';import { Trans } from '@lingui/react/macro';import { isNonEmptyString } from '@sniptt/guards';import { useId } from 'react';-import { AppTooltip } from 'twenty-ui/surfaces';+import { AppTooltip } from 'twenty-ui/primitives/surfaces';import { dateLocaleState } from '~/localization/states/dateLocaleState';import {beautifyExactDateTime,diff --git a/packages/twenty-front/src/modules/object-record/record-show/components/RecordIdentifierBarTitle.tsx b/packages/twenty-front/src/modules/object-record/record-show/components/RecordIdentifierBarTitle.tsxindex a71ae78f737..d0b46fc726a 100644--- a/packages/twenty-front/src/modules/object-record/record-show/components/RecordIdentifierBarTitle.tsx+++ b/packages/twenty-front/src/modules/object-record/record-show/components/RecordIdentifierBarTitle.tsx@@ -7,7 +7,7 @@ import { styled } from '@linaria/react';import { useRef, type ChangeEvent, type MouseEvent } from 'react';import { AppPath } from 'twenty-shared/types';import { getAppPath, isDefined } from 'twenty-shared/utils';-import { UndecoratedLink } from 'twenty-ui/navigation';+import { UndecoratedLink } from 'twenty-ui/primitives/navigation';import { useNavigateApp } from '~/hooks/useNavigateApp';import { getAbsoluteImageUrl } from '~/utils/image/getAbsoluteImageUrl';diff --git a/packages/twenty-front/src/modules/object-record/record-table-widget/components/RecordTableWidgetRelationPickerMenuItem.tsx b/packages/twenty-front/src/modules/object-record/record-table-widget/components/RecordTableWidgetRelationPickerMenuItem.tsxindex d9c67889638..f43abb00e90 100644--- a/packages/twenty-front/src/modules/object-record/record-table-widget/components/RecordTableWidgetRelationPickerMenuItem.tsx+++ b/packages/twenty-front/src/modules/object-record/record-table-widget/components/RecordTableWidgetRelationPickerMenuItem.tsx@@ -4,8 +4,8 @@ import { SelectableListItem } from '@/ui/layout/selectable-list/components/Selecimport { isSelectedItemIdComponentFamilyState } from '@/ui/layout/selectable-list/states/isSelectedItemIdComponentFamilyState';import { useAvailableComponentInstanceIdOrThrow } from '@/ui/utilities/state/component-state/hooks/useAvailableComponentInstanceIdOrThrow';import { useAtomComponentFamilyStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentFamilyStateValue';-import { Avatar } from 'twenty-ui/data-display';-import { MenuItemSelectAvatar } from 'twenty-ui/navigation';+import { Avatar } from 'twenty-ui/primitives/data-display';+import { MenuItemSelectAvatar } from 'twenty-ui/primitives/navigation';import { getAbsoluteImageUrl } from '~/utils/image/getAbsoluteImageUrl';type RecordTableWidgetRelationPickerMenuItemProps = {diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellButtons.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellButtons.tsxindex f0cf96234bf..fd9c35960a2 100644--- a/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellButtons.tsx+++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellButtons.tsx@@ -1,8 +1,8 @@import { styled } from '@linaria/react';import { type IconComponent } from 'twenty-ui/icon';-import { LightIconButtonGroup } from 'twenty-ui/input';+import { LightIconButtonGroup } from 'twenty-ui/primitives/input';import { MOBILE_VIEWPORT, themeCssVariables } from 'twenty-ui/theme-constants';-import { AnimatedContainer } from 'twenty-ui/layout';+import { AnimatedContainer } from 'twenty-ui/primitives/layout';const StyledButtonContainer = styled.div`/* Buttons stay concentric with the frame: its radius minus the 1px border.diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellCheckbox.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellCheckbox.tsxindex 053cbc83666..f3ca30c4808 100644--- a/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellCheckbox.tsx+++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellCheckbox.tsx@@ -11,7 +11,7 @@ import { useRecordTableRowDraggableContextOrThrow } from '@/object-record/recordimport { RecordTableCellStyleWrapper } from '@/object-record/record-table/record-table-cell/components/RecordTableCellStyleWrapper';import { useSetCurrentRowSelected } from '@/object-record/record-table/record-table-row/hooks/useSetCurrentRowSelected';import { isDefined } from 'twenty-shared/utils';-import { Checkbox } from 'twenty-ui/input';+import { Checkbox } from 'twenty-ui/primitives/input';const StyledContainer = styled.div`align-items: center;diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellCheckboxPlaceholder.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellCheckboxPlaceholder.tsxindex 1ce388fb73f..670a6c891c5 100644--- a/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellCheckboxPlaceholder.tsx+++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellCheckboxPlaceholder.tsx@@ -6,7 +6,7 @@ import { RECORD_TABLE_COLUMN_CHECKBOX_WIDTH_CLASS_NAME } from '@/object-record/rimport { RECORD_TABLE_ROW_HEIGHT } from '@/object-record/record-table/constants/RecordTableRowHeight';import { useRecordTableBodyContextOrThrow } from '@/object-record/record-table/contexts/RecordTableBodyContext';import { RecordTableCellStyleWrapper } from '@/object-record/record-table/record-table-cell/components/RecordTableCellStyleWrapper';-import { Checkbox } from 'twenty-ui/input';+import { Checkbox } from 'twenty-ui/primitives/input';const StyledContainer = styled.div`align-items: center;diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellDragAndDrop.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellDragAndDrop.tsxindex 2daa8971813..49135ab4411 100644--- a/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellDragAndDrop.tsx+++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellDragAndDrop.tsx@@ -8,7 +8,7 @@ import { TABLE_Z_INDEX } from '@/object-record/record-table/constants/TableZIndeimport { useRecordTableRowDraggableContextOrThrow } from '@/object-record/record-table/contexts/RecordTableRowDraggableContext';import { RecordTableCellStyleWrapper } from '@/object-record/record-table/record-table-cell/components/RecordTableCellStyleWrapper';import { DragDropItemSortableHandleRefContext } from '@/ui/utilities/drag-and-drop/context/DragDropItemSortableHandleRefContext';-import { IconListViewGrip } from 'twenty-ui/input';+import { IconListViewGrip } from 'twenty-ui/primitives/input';const StyledContainer = styled.div`border-color: transparent;diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-footer/components/RecordTableColumnAggregateFooterAggregateOperationMenuItems.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-footer/components/RecordTableColumnAggregateFooterAggregateOperationMenuItems.tsxindex e329a3901b5..76f3a3b5577 100644--- a/packages/twenty-front/src/modules/object-record/record-table/record-table-footer/components/RecordTableColumnAggregateFooterAggregateOperationMenuItems.tsx+++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-footer/components/RecordTableColumnAggregateFooterAggregateOperationMenuItems.tsx@@ -7,7 +7,7 @@ import { useLingui } from '@lingui/react/macro';import { type ReactNode, useContext } from 'react';import { isDefined } from 'twenty-shared/utils';import { IconCheck } from 'twenty-ui/icon';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';export const RecordTableColumnAggregateFooterAggregateOperationMenuItems = ({aggregateOperations,diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-footer/components/RecordTableColumnAggregateFooterMenuContent.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-footer/components/RecordTableColumnAggregateFooterMenuContent.tsxindex 9298f16805d..a83a4f55a96 100644--- a/packages/twenty-front/src/modules/object-record/record-table/record-table-footer/components/RecordTableColumnAggregateFooterMenuContent.tsx+++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-footer/components/RecordTableColumnAggregateFooterMenuContent.tsx@@ -11,7 +11,7 @@ import { t } from '@lingui/core/macro';import { useContext, useMemo } from 'react';import { isDefined, isFieldMetadataDateKind } from 'twenty-shared/utils';import { IconCheck } from 'twenty-ui/icon';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { FieldMetadataType } from '~/generated-metadata/graphql';export const RecordTableColumnAggregateFooterMenuContent = () => {diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-footer/components/RecordTableColumnAggregateFooterValue.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-footer/components/RecordTableColumnAggregateFooterValue.tsxindex 3701d92837c..37c26182f6d 100644--- a/packages/twenty-front/src/modules/object-record/record-table/record-table-footer/components/RecordTableColumnAggregateFooterValue.tsx+++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-footer/components/RecordTableColumnAggregateFooterValue.tsx@@ -4,7 +4,7 @@ import { styled } from '@linaria/react';import { Trans } from '@lingui/react/macro';import { themeCssVariables } from 'twenty-ui/theme-constants';import { isDefined } from 'twenty-shared/utils';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';const StyledText = styled.span`align-items: center;diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-header/components/RecordTableColumnHeadDropdownMenu.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-header/components/RecordTableColumnHeadDropdownMenu.tsxindex 466c58c52ac..48d4ca53ef0 100644--- a/packages/twenty-front/src/modules/object-record/record-table/record-table-header/components/RecordTableColumnHeadDropdownMenu.tsx+++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-header/components/RecordTableColumnHeadDropdownMenu.tsx@@ -23,7 +23,7 @@ import {IconEyeOff,IconFilter,} from 'twenty-ui/icon';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';export type RecordTableColumnHeadDropdownMenuProps = {recordField: RecordField;diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-header/components/RecordTableHeaderCheckboxColumn.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-header/components/RecordTableHeaderCheckboxColumn.tsxindex 4237dfc99a8..15d540e990b 100644--- a/packages/twenty-front/src/modules/object-record/record-table/record-table-header/components/RecordTableHeaderCheckboxColumn.tsx+++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-header/components/RecordTableHeaderCheckboxColumn.tsx@@ -15,7 +15,7 @@ import { allRowsSelectedStatusComponentSelector } from '@/object-record/record-timport { useAtomComponentSelectorValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentSelectorValue';import { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentStateValue';import { cx } from '@linaria/core';-import { Checkbox } from 'twenty-ui/input';+import { Checkbox } from 'twenty-ui/primitives/input';const StyledContainer = styled.div`align-items: center;diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-header/components/RecordTableHeaderLabelIdentifierCellPlusButton.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-header/components/RecordTableHeaderLabelIdentifierCellPlusButton.tsxindex 81b4e6311f1..b3d721f9d80 100644--- a/packages/twenty-front/src/modules/object-record/record-table/record-table-header/components/RecordTableHeaderLabelIdentifierCellPlusButton.tsx+++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-header/components/RecordTableHeaderLabelIdentifierCellPlusButton.tsx@@ -8,7 +8,7 @@ import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateimport { styled } from '@linaria/react';import { IconPlus } from 'twenty-ui/icon';import { themeCssVariables } from 'twenty-ui/theme-constants';-import { LightIconButton } from 'twenty-ui/input';+import { LightIconButton } from 'twenty-ui/primitives/input';import { useIsMobile } from 'twenty-ui/utilities';const StyledHeaderIcon = styled.div`diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-header/components/RecordTableHeaderPlusButtonContent.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-header/components/RecordTableHeaderPlusButtonContent.tsxindex 31504a7721a..88fd42cae34 100644--- a/packages/twenty-front/src/modules/object-record/record-table/record-table-header/components/RecordTableHeaderPlusButtonContent.tsx+++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-header/components/RecordTableHeaderPlusButtonContent.tsx@@ -18,7 +18,7 @@ import { useLingui } from '@lingui/react/macro';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath } from 'twenty-shared/utils';import { IconSettings, useIcons } from 'twenty-ui/icon';-import { MenuItem, UndecoratedLink } from 'twenty-ui/navigation';+import { MenuItem, UndecoratedLink } from 'twenty-ui/primitives/navigation';export const RecordTableHeaderPlusButtonContent = () => {const { t } = useLingui();diff --git a/packages/twenty-front/src/modules/object-record/record-title-cell/components/RecordTitleCellTextFieldDisplay.tsx b/packages/twenty-front/src/modules/object-record/record-title-cell/components/RecordTitleCellTextFieldDisplay.tsxindex 938c5a0571c..75439b663b3 100644--- a/packages/twenty-front/src/modules/object-record/record-title-cell/components/RecordTitleCellTextFieldDisplay.tsx+++ b/packages/twenty-front/src/modules/object-record/record-title-cell/components/RecordTitleCellTextFieldDisplay.tsx@@ -8,7 +8,7 @@ import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';import { isNonEmptyString } from '@sniptt/guards';import { useContext } from 'react';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledDiv = styled.div`diff --git a/packages/twenty-front/src/modules/object-record/record-title-cell/components/RecordTitleCellUuidFieldDisplay.tsx b/packages/twenty-front/src/modules/object-record/record-title-cell/components/RecordTitleCellUuidFieldDisplay.tsxindex 3224b1d7df8..88ee5e47233 100644--- a/packages/twenty-front/src/modules/object-record/record-title-cell/components/RecordTitleCellUuidFieldDisplay.tsx+++ b/packages/twenty-front/src/modules/object-record/record-title-cell/components/RecordTitleCellUuidFieldDisplay.tsx@@ -4,7 +4,7 @@ import { useAtomFamilyStateValue } from '@/ui/utilities/state/jotai/hooks/useAtoimport { type RecordTitleCellContainerType } from '@/object-record/record-title-cell/types/RecordTitleCellContainerType';import { styled } from '@linaria/react';import { useContext } from 'react';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledDiv = styled.div`diff --git a/packages/twenty-front/src/modules/object-record/record-title-cell/components/RecordTitleFullNameFieldDisplay.tsx b/packages/twenty-front/src/modules/object-record/record-title-cell/components/RecordTitleFullNameFieldDisplay.tsxindex ca0806b1f05..173a7b1032b 100644--- a/packages/twenty-front/src/modules/object-record/record-title-cell/components/RecordTitleFullNameFieldDisplay.tsx+++ b/packages/twenty-front/src/modules/object-record/record-title-cell/components/RecordTitleFullNameFieldDisplay.tsx@@ -8,7 +8,7 @@ import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';import { isNonEmptyString } from '@sniptt/guards';import { useContext } from 'react';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledDiv = styled.div`diff --git a/packages/twenty-front/src/modules/object-record/record-update-multiple/components/UpdateMultipleRecordsFooter.tsx b/packages/twenty-front/src/modules/object-record/record-update-multiple/components/UpdateMultipleRecordsFooter.tsxindex bb7817b5222..d6e39840409 100644--- a/packages/twenty-front/src/modules/object-record/record-update-multiple/components/UpdateMultipleRecordsFooter.tsx+++ b/packages/twenty-front/src/modules/object-record/record-update-multiple/components/UpdateMultipleRecordsFooter.tsx@@ -8,7 +8,7 @@ import { themeCssVariables } from 'twenty-ui/theme-constants';import { Key } from 'ts-key-enum';import { IconBoxMultiple } from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';+import { Button } from 'twenty-ui/primitives/input';const StyledFooterContainer = styled.div`align-items: flex-end;diff --git a/packages/twenty-front/src/modules/object-record/record-update-multiple/components/UpdateMultipleRecordsForm.tsx b/packages/twenty-front/src/modules/object-record/record-update-multiple/components/UpdateMultipleRecordsForm.tsxindex 48fa94c369d..d803aac4ccb 100644--- a/packages/twenty-front/src/modules/object-record/record-update-multiple/components/UpdateMultipleRecordsForm.tsx+++ b/packages/twenty-front/src/modules/object-record/record-update-multiple/components/UpdateMultipleRecordsForm.tsx@@ -8,7 +8,7 @@ import { shouldDisplayFormMultiEditField } from '@/object-record/record-update-mimport { styled } from '@linaria/react';import { FieldMetadataType } from 'twenty-shared/types';import { computeRelationGqlFieldJoinColumnName } from 'twenty-shared/utils';-import { Section } from 'twenty-ui/layout';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledSectionContainer = styled.div`diff --git a/packages/twenty-front/src/modules/object-record/select/components/MultipleSelectDropdown.tsx b/packages/twenty-front/src/modules/object-record/select/components/MultipleSelectDropdown.tsxindex fa71b09800a..4cd15f04603 100644--- a/packages/twenty-front/src/modules/object-record/select/components/MultipleSelectDropdown.tsx+++ b/packages/twenty-front/src/modules/object-record/select/components/MultipleSelectDropdown.tsx@@ -12,8 +12,11 @@ import { useHotkeysOnFocusedElement } from '@/ui/utilities/hotkey/hooks/useHotkeimport { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentStateValue';import { getAbsoluteImageUrl } from '~/utils/image/getAbsoluteImageUrl';import { t } from '@lingui/core/macro';-import { Avatar } from 'twenty-ui/data-display';-import { MenuItem, MenuItemMultiSelectAvatar } from 'twenty-ui/navigation';+import { Avatar } from 'twenty-ui/primitives/data-display';+import {+ MenuItem,+ MenuItemMultiSelectAvatar,+} from 'twenty-ui/primitives/navigation';export const MultipleSelectDropdown = ({selectableListId,diff --git a/packages/twenty-front/src/modules/object-record/select/types/SelectableItem.ts b/packages/twenty-front/src/modules/object-record/select/types/SelectableItem.tsindex 02c4668b7e2..9e47a7603e5 100644--- a/packages/twenty-front/src/modules/object-record/select/types/SelectableItem.ts+++ b/packages/twenty-front/src/modules/object-record/select/types/SelectableItem.ts@@ -1,4 +1,4 @@-import { type AvatarShape } from 'twenty-ui/data-display';+import { type AvatarShape } from 'twenty-ui/primitives/data-display';import { type IconComponent } from 'twenty-ui/icon';export type SelectableItem<T = object> = T & {diff --git a/packages/twenty-front/src/modules/object-record/types/ObjectRecordIdentifier.ts b/packages/twenty-front/src/modules/object-record/types/ObjectRecordIdentifier.tsindex 0219854bea9..e5281fc1291 100644--- a/packages/twenty-front/src/modules/object-record/types/ObjectRecordIdentifier.ts+++ b/packages/twenty-front/src/modules/object-record/types/ObjectRecordIdentifier.ts@@ -1,4 +1,4 @@-import { type AvatarShape } from 'twenty-ui/data-display';+import { type AvatarShape } from 'twenty-ui/primitives/data-display';export type ObjectRecordIdentifier = {id: string;name: string;diff --git a/packages/twenty-front/src/modules/onboarding/components/OnboardingHeader.tsx b/packages/twenty-front/src/modules/onboarding/components/OnboardingHeader.tsxindex 44a8791956c..2eb6b6c977f 100644--- a/packages/twenty-front/src/modules/onboarding/components/OnboardingHeader.tsx+++ b/packages/twenty-front/src/modules/onboarding/components/OnboardingHeader.tsx@@ -3,7 +3,7 @@ import { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';import { isDefined } from 'twenty-shared/utils';import { IconChevronLeft, IconCoins, IconInfoCircle } from 'twenty-ui/icon';-import { LightIconButton } from 'twenty-ui/input';+import { LightIconButton } from 'twenty-ui/primitives/input';import {MOBILE_VIEWPORT,themeCssVariables,diff --git a/packages/twenty-front/src/modules/onboarding/components/WelcomeOverlay/WelcomePersonChip.tsx b/packages/twenty-front/src/modules/onboarding/components/WelcomeOverlay/WelcomePersonChip.tsxindex aea8254c617..2b6acf4d27b 100644--- a/packages/twenty-front/src/modules/onboarding/components/WelcomeOverlay/WelcomePersonChip.tsx+++ b/packages/twenty-front/src/modules/onboarding/components/WelcomeOverlay/WelcomePersonChip.tsx@@ -1,5 +1,5 @@import { styled } from '@linaria/react';-import { Avatar, type AvatarSize } from 'twenty-ui/data-display';+import { Avatar, type AvatarSize } from 'twenty-ui/primitives/data-display';import { themeCssVariables } from 'twenty-ui/theme-constants';import { currentWorkspaceMemberState } from '@/auth/states/currentWorkspaceMemberState';diff --git a/packages/twenty-front/src/modules/onboarding/components/__stories__/OnboardingActivationSteps.stories.tsx b/packages/twenty-front/src/modules/onboarding/components/__stories__/OnboardingActivationSteps.stories.tsxindex f6732b597b1..b5233a47c35 100644--- a/packages/twenty-front/src/modules/onboarding/components/__stories__/OnboardingActivationSteps.stories.tsx+++ b/packages/twenty-front/src/modules/onboarding/components/__stories__/OnboardingActivationSteps.stories.tsx@@ -4,7 +4,7 @@ import { OnboardingActivationSteps } from '@/onboarding/components/OnboardingActimport { OnboardingActivationStepsEffect } from '@/onboarding/components/OnboardingActivationStepsEffect';import { ONBOARDING_ACTIVATION_MESSAGES } from '@/onboarding/constants/OnboardingActivationMessages';import { useState } from 'react';-import { ModalContent } from 'twenty-ui/surfaces';+import { ModalContent } from 'twenty-ui/primitives/surfaces';import { ComponentDecorator } from 'twenty-ui/testing';const RenderWithModalContent = () => {diff --git a/packages/twenty-front/src/modules/onboarding/components/import-contacts/OnboardingImportPreviewCompanies.tsx b/packages/twenty-front/src/modules/onboarding/components/import-contacts/OnboardingImportPreviewCompanies.tsxindex 8ed9d860dd8..8acde67d9b5 100644--- a/packages/twenty-front/src/modules/onboarding/components/import-contacts/OnboardingImportPreviewCompanies.tsx+++ b/packages/twenty-front/src/modules/onboarding/components/import-contacts/OnboardingImportPreviewCompanies.tsx@@ -3,9 +3,10 @@ import { getAbsoluteImageUrl } from '~/utils/image/getAbsoluteImageUrl';import { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';import { getLogoUrlFromDomainName } from 'twenty-shared/utils';-import { Avatar, Chip } from 'twenty-ui/data-display';+import { Avatar, Chip } from 'twenty-ui/primitives/data-display';+import { Checkbox } from 'twenty-ui/primitives/input';import { IconBuildingSkyscraper, IconPlus } from 'twenty-ui/icon';-import { Checkbox } from 'twenty-ui/input';+import { themeCssVariables, useTheme } from 'twenty-ui/theme-constants';const PREVIEW_ROW_HEIGHT = 32;diff --git a/packages/twenty-front/src/modules/onboarding/components/upgrade-free-trial/ChooseYourPlanErrorState.tsx b/packages/twenty-front/src/modules/onboarding/components/upgrade-free-trial/ChooseYourPlanErrorState.tsxindex 02a892bf89b..6afe41f9770 100644--- a/packages/twenty-front/src/modules/onboarding/components/upgrade-free-trial/ChooseYourPlanErrorState.tsx+++ b/packages/twenty-front/src/modules/onboarding/components/upgrade-free-trial/ChooseYourPlanErrorState.tsx@@ -7,8 +7,8 @@ import { StyledOnboardingStepSubtitle } from '@/onboarding/components/StyledOnboimport { StyledOnboardingStepTitle } from '@/onboarding/components/StyledOnboardingStepTitle';import { styled } from '@linaria/react';import { Trans, useLingui } from '@lingui/react/macro';-import { MainButton } from 'twenty-ui/input';-import { ClickToActionLink } from 'twenty-ui/navigation';+import { MainButton } from 'twenty-ui/primitives/input';+import { ClickToActionLink } from 'twenty-ui/primitives/navigation';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledFooter = styled(StyledOnboardingContentBlock)`diff --git a/packages/twenty-front/src/modules/onboarding/components/upgrade-free-trial/OnboardingPlanCard.tsx b/packages/twenty-front/src/modules/onboarding/components/upgrade-free-trial/OnboardingPlanCard.tsxindex 29b4f2ddd16..ecf0a9b74cb 100644--- a/packages/twenty-front/src/modules/onboarding/components/upgrade-free-trial/OnboardingPlanCard.tsx+++ b/packages/twenty-front/src/modules/onboarding/components/upgrade-free-trial/OnboardingPlanCard.tsx@@ -1,7 +1,7 @@import { styled } from '@linaria/react';import { isValidElement, type ReactNode, useId } from 'react';import { isDefined } from 'twenty-shared/utils';-import { Radio } from 'twenty-ui/input';+import { Radio } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledCard = styled.div`diff --git a/packages/twenty-front/src/modules/onboarding/components/upgrade-free-trial/__stories__/OnboardingPlanCard.stories.tsx b/packages/twenty-front/src/modules/onboarding/components/upgrade-free-trial/__stories__/OnboardingPlanCard.stories.tsxindex 20da99d756c..32a9507932a 100644--- a/packages/twenty-front/src/modules/onboarding/components/upgrade-free-trial/__stories__/OnboardingPlanCard.stories.tsx+++ b/packages/twenty-front/src/modules/onboarding/components/upgrade-free-trial/__stories__/OnboardingPlanCard.stories.tsx@@ -2,7 +2,7 @@ import { OnboardingPlanCard } from '@/onboarding/components/upgrade-free-trial/Oimport { type Meta, type StoryObj } from '@storybook/react-vite';import { useState } from 'react';import { expect, fn, userEvent, within } from 'storybook/test';-import { RadioGroup } from 'twenty-ui/input';+import { RadioGroup } from 'twenty-ui/primitives/input';import { ComponentDecorator } from 'twenty-ui/testing';const PlanChoices = ({diff --git a/packages/twenty-front/src/modules/page-layout/components/PageLayoutRecordIdentifierBar.tsx b/packages/twenty-front/src/modules/page-layout/components/PageLayoutRecordIdentifierBar.tsxindex ad6e3201100..822a08c3a34 100644--- a/packages/twenty-front/src/modules/page-layout/components/PageLayoutRecordIdentifierBar.tsx+++ b/packages/twenty-front/src/modules/page-layout/components/PageLayoutRecordIdentifierBar.tsx@@ -10,8 +10,8 @@ import { useLingui } from '@lingui/react/macro';import { type ReactNode } from 'react';import { isDefined } from 'twenty-shared/utils';import { IconPinned } from 'twenty-ui/icon';-import { IconButtonWithTooltip } from 'twenty-ui/input';-import { TooltipDelay } from 'twenty-ui/surfaces';+import { IconButtonWithTooltip } from 'twenty-ui/primitives/input';+import { TooltipDelay } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';const SIDE_TRACK = `min(${PAGE_LAYOUT_LEFT_PANEL_CONTAINER_WIDTH}px, calc(100% / 3))`;diff --git a/packages/twenty-front/src/modules/page-layout/components/PageLayoutTabList.tsx b/packages/twenty-front/src/modules/page-layout/components/PageLayoutTabList.tsxindex baab9747366..674c5902f4d 100644--- a/packages/twenty-front/src/modules/page-layout/components/PageLayoutTabList.tsx+++ b/packages/twenty-front/src/modules/page-layout/components/PageLayoutTabList.tsx@@ -5,7 +5,7 @@ import { useLingui } from '@lingui/react/macro';import { useCallback, useMemo } from 'react';import { useLocation, useNavigate } from 'react-router-dom';import { IconPlus, useIcons } from 'twenty-ui/icon';-import { TabButton } from 'twenty-ui/input';+import { TabButton } from 'twenty-ui/primitives/input';import { isPageLayoutTabDraggingComponentState } from '@/page-layout/states/isPageLayoutTabDraggingComponentState';import { useCloseDropdown } from '@/ui/layout/dropdown/hooks/useCloseDropdown';diff --git a/packages/twenty-front/src/modules/page-layout/components/PageLayoutTabListNewTabDropdownContent.tsx b/packages/twenty-front/src/modules/page-layout/components/PageLayoutTabListNewTabDropdownContent.tsxindex 74be571874f..effc42c99f1 100644--- a/packages/twenty-front/src/modules/page-layout/components/PageLayoutTabListNewTabDropdownContent.tsx+++ b/packages/twenty-front/src/modules/page-layout/components/PageLayoutTabListNewTabDropdownContent.tsx@@ -17,7 +17,7 @@ import { useCallback } from 'react';import { SidePanelPages } from 'twenty-shared/types';import { isDefined } from 'twenty-shared/utils';import { IconPlus, useIcons } from 'twenty-ui/icon';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';type PageLayoutTabListNewTabDropdownContentProps = {onCreate: () => void;diff --git a/packages/twenty-front/src/modules/page-layout/components/PageLayoutTabListReorderableTab.tsx b/packages/twenty-front/src/modules/page-layout/components/PageLayoutTabListReorderableTab.tsxindex bf44fe00e88..311301eb5ad 100644--- a/packages/twenty-front/src/modules/page-layout/components/PageLayoutTabListReorderableTab.tsx+++ b/packages/twenty-front/src/modules/page-layout/components/PageLayoutTabListReorderableTab.tsx@@ -9,7 +9,7 @@ import { DragDropItemSortableCell } from '@/ui/utilities/drag-and-drop/componentimport { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentStateValue';import { styled } from '@linaria/react';import { isDefined } from 'twenty-shared/utils';-import { StyledTabContainer, TabContent } from 'twenty-ui/input';+import { StyledTabContainer, TabContent } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';import { PageLayoutType } from '~/generated-metadata/graphql';diff --git a/packages/twenty-front/src/modules/page-layout/components/PageLayoutTabListVisibleTabs.tsx b/packages/twenty-front/src/modules/page-layout/components/PageLayoutTabListVisibleTabs.tsxindex 514002a2e7e..5a761163419 100644--- a/packages/twenty-front/src/modules/page-layout/components/PageLayoutTabListVisibleTabs.tsx+++ b/packages/twenty-front/src/modules/page-layout/components/PageLayoutTabListVisibleTabs.tsx@@ -1,6 +1,6 @@import { styled } from '@linaria/react';import { useLocation } from 'react-router-dom';-import { TabButton } from 'twenty-ui/input';+import { TabButton } from 'twenty-ui/primitives/input';import { TAB_LIST_GAP } from '@/ui/layout/tab-list/constants/TabListGap';import { useScrollActiveTabIntoView } from '@/ui/layout/tab-list/hooks/useScrollActiveTabIntoView';diff --git a/packages/twenty-front/src/modules/page-layout/components/PageLayoutTabMenuItemSelectAvatar.tsx b/packages/twenty-front/src/modules/page-layout/components/PageLayoutTabMenuItemSelectAvatar.tsxindex 4cdd61cc87d..55a3438ff22 100644--- a/packages/twenty-front/src/modules/page-layout/components/PageLayoutTabMenuItemSelectAvatar.tsx+++ b/packages/twenty-front/src/modules/page-layout/components/PageLayoutTabMenuItemSelectAvatar.tsx@@ -4,13 +4,13 @@ import { type MouseEvent, useContext, useState } from 'react';import { TabAvatar } from '@/ui/layout/tab-list/components/TabAvatar';import { type SingleTabProps } from '@/ui/layout/tab-list/types/SingleTabProps';import { IconPencil } from 'twenty-ui/icon';-import { LightIconButton } from 'twenty-ui/input';+import { LightIconButton } from 'twenty-ui/primitives/input';import {StyledHoverableMenuItemBase,StyledMenuItemIconCheck,StyledMenuItemLabel,StyledMenuItemLeftContent,-} from 'twenty-ui/navigation';+} from 'twenty-ui/primitives/navigation';import { themeCssVariables, ThemeContext } from 'twenty-ui/theme-constants';const StyledTextContainer = styled.div`align-items: center;diff --git a/packages/twenty-front/src/modules/page-layout/components/__tests__/PageLayoutRecordIdentifierBar.test.tsx b/packages/twenty-front/src/modules/page-layout/components/__tests__/PageLayoutRecordIdentifierBar.test.tsxindex 2502fcc996b..725dab3c102 100644--- a/packages/twenty-front/src/modules/page-layout/components/__tests__/PageLayoutRecordIdentifierBar.test.tsx+++ b/packages/twenty-front/src/modules/page-layout/components/__tests__/PageLayoutRecordIdentifierBar.test.tsx@@ -28,7 +28,7 @@ jest.mock('@/page-layout/hooks/useOpenPageLayoutTabSettings', () => ({}),}));-jest.mock('twenty-ui/input', () => ({+jest.mock('twenty-ui/primitives/input', () => ({IconButtonWithTooltip: ({ariaLabel,onClick,diff --git a/packages/twenty-front/src/modules/page-layout/widgets/call-recording-transcript/components/CallRecordingAudioPlayer.tsx b/packages/twenty-front/src/modules/page-layout/widgets/call-recording-transcript/components/CallRecordingAudioPlayer.tsxindex 74b1db78d73..e7697bb4524 100644--- a/packages/twenty-front/src/modules/page-layout/widgets/call-recording-transcript/components/CallRecordingAudioPlayer.tsx+++ b/packages/twenty-front/src/modules/page-layout/widgets/call-recording-transcript/components/CallRecordingAudioPlayer.tsx@@ -3,13 +3,13 @@ import { styled } from '@linaria/react';import { plural, t } from '@lingui/core/macro';import { useImperativeHandle, useRef, useState, type Ref } from 'react';import { isDefined } from 'twenty-shared/utils';-import { CircularProgressBar } from 'twenty-ui/feedback';+import { CircularProgressBar } from 'twenty-ui/primitives/feedback';import {IconHeadphones,IconPlayerPause,IconPlayerPlay,} from 'twenty-ui/icon';-import { Button, IconButton, Slider } from 'twenty-ui/input';+import { Button, IconButton, Slider } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledAudioBar = styled.div`diff --git a/packages/twenty-front/src/modules/page-layout/widgets/call-recording-transcript/components/CallRecordingTranscriptEntryListItem.tsx b/packages/twenty-front/src/modules/page-layout/widgets/call-recording-transcript/components/CallRecordingTranscriptEntryListItem.tsxindex dbc1a9acbbf..220f9f598ea 100644--- a/packages/twenty-front/src/modules/page-layout/widgets/call-recording-transcript/components/CallRecordingTranscriptEntryListItem.tsx+++ b/packages/twenty-front/src/modules/page-layout/widgets/call-recording-transcript/components/CallRecordingTranscriptEntryListItem.tsx@@ -6,7 +6,7 @@ import { t } from '@lingui/core/macro';import { type Ref } from 'react';import { type CallRecordingParsedTranscriptEntry } from 'twenty-shared/types';import { isDefined, isNonEmptyArray } from 'twenty-shared/utils';-import { Avatar, Chip } from 'twenty-ui/data-display';+import { Avatar, Chip } from 'twenty-ui/primitives/data-display';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledEntry = styled.li<{diff --git a/packages/twenty-front/src/modules/page-layout/widgets/call-recording-transcript/components/CallRecordingVideoPlayer.tsx b/packages/twenty-front/src/modules/page-layout/widgets/call-recording-transcript/components/CallRecordingVideoPlayer.tsxindex 47a7ca51c0b..e910b1743e8 100644--- a/packages/twenty-front/src/modules/page-layout/widgets/call-recording-transcript/components/CallRecordingVideoPlayer.tsx+++ b/packages/twenty-front/src/modules/page-layout/widgets/call-recording-transcript/components/CallRecordingVideoPlayer.tsx@@ -1,8 +1,8 @@import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';import { useState, type Ref } from 'react';-import { CircularProgressBar } from 'twenty-ui/feedback';-import { Button } from 'twenty-ui/input';+import { CircularProgressBar } from 'twenty-ui/primitives/feedback';+import { Button } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';// Forces Safari to decode the first frame under preload="metadata".diff --git a/packages/twenty-front/src/modules/page-layout/widgets/call-recording/components/CallRecordingWidgetEmptyStateDisplay.tsx b/packages/twenty-front/src/modules/page-layout/widgets/call-recording/components/CallRecordingWidgetEmptyStateDisplay.tsxindex a4847e9301c..4febbbf0aa4 100644--- a/packages/twenty-front/src/modules/page-layout/widgets/call-recording/components/CallRecordingWidgetEmptyStateDisplay.tsx+++ b/packages/twenty-front/src/modules/page-layout/widgets/call-recording/components/CallRecordingWidgetEmptyStateDisplay.tsx@@ -5,7 +5,7 @@ import {AnimatedPlaceholderEmptyTextContainer,AnimatedPlaceholderEmptyTitle,type AnimatedPlaceholderType,-} from 'twenty-ui/feedback';+} from 'twenty-ui/primitives/feedback';type CallRecordingWidgetEmptyStateDisplayProps = {animatedPlaceholderType: AnimatedPlaceholderType;diff --git a/packages/twenty-front/src/modules/page-layout/widgets/components/DashboardWidgetPlaceholder.tsx b/packages/twenty-front/src/modules/page-layout/widgets/components/DashboardWidgetPlaceholder.tsxindex 8b1a13afd02..0afa5bf53f6 100644--- a/packages/twenty-front/src/modules/page-layout/widgets/components/DashboardWidgetPlaceholder.tsx+++ b/packages/twenty-front/src/modules/page-layout/widgets/components/DashboardWidgetPlaceholder.tsx@@ -16,7 +16,7 @@ import {AnimatedPlaceholderEmptySubTitle,AnimatedPlaceholderEmptyTextContainer,AnimatedPlaceholderEmptyTitle,-} from 'twenty-ui/feedback';+} from 'twenty-ui/primitives/feedback';export const DashboardWidgetPlaceholder = () => {const pageLayoutId = useAvailableComponentInstanceIdOrThrow(diff --git a/packages/twenty-front/src/modules/page-layout/widgets/components/PageLayoutWidgetForbiddenDisplay.tsx b/packages/twenty-front/src/modules/page-layout/widgets/components/PageLayoutWidgetForbiddenDisplay.tsxindex fed265b4bd0..e33bff10a43 100644--- a/packages/twenty-front/src/modules/page-layout/widgets/components/PageLayoutWidgetForbiddenDisplay.tsx+++ b/packages/twenty-front/src/modules/page-layout/widgets/components/PageLayoutWidgetForbiddenDisplay.tsx@@ -2,7 +2,7 @@ import { ForbiddenFieldDisplay } from '@/object-record/record-field/ui/meta-typeimport { type WidgetAccessDenialInfo } from '@/page-layout/widgets/types/WidgetAccessDenialInfo';import { plural, t } from '@lingui/core/macro';import { isDefined } from 'twenty-shared/utils';-import { AppTooltip } from 'twenty-ui/surfaces';+import { AppTooltip } from 'twenty-ui/primitives/surfaces';type PageLayoutWidgetForbiddenDisplayProps = {widgetId: string;diff --git a/packages/twenty-front/src/modules/page-layout/widgets/components/PageLayoutWidgetInvalidConfigDisplay.tsx b/packages/twenty-front/src/modules/page-layout/widgets/components/PageLayoutWidgetInvalidConfigDisplay.tsxindex 2e738b24938..48457206ee9 100644--- a/packages/twenty-front/src/modules/page-layout/widgets/components/PageLayoutWidgetInvalidConfigDisplay.tsx+++ b/packages/twenty-front/src/modules/page-layout/widgets/components/PageLayoutWidgetInvalidConfigDisplay.tsx@@ -2,8 +2,8 @@ import { useCurrentWidget } from '@/page-layout/widgets/hooks/useCurrentWidget';import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';import { type FallbackProps } from 'react-error-boundary';-import { Status } from 'twenty-ui/data-display';-import { AppTooltip } from 'twenty-ui/surfaces';+import { Status } from 'twenty-ui/primitives/data-display';+import { AppTooltip } from 'twenty-ui/primitives/surfaces';type PageLayoutWidgetInvalidConfigDisplayProps = FallbackProps;diff --git a/packages/twenty-front/src/modules/page-layout/widgets/components/PageLayoutWidgetStatusDisplay.tsx b/packages/twenty-front/src/modules/page-layout/widgets/components/PageLayoutWidgetStatusDisplay.tsxindex 9190ea7b8f3..673c51ceb18 100644--- a/packages/twenty-front/src/modules/page-layout/widgets/components/PageLayoutWidgetStatusDisplay.tsx+++ b/packages/twenty-front/src/modules/page-layout/widgets/components/PageLayoutWidgetStatusDisplay.tsx@@ -1,6 +1,6 @@import { styled } from '@linaria/react';-import { Status } from 'twenty-ui/data-display';-import { AppTooltip } from 'twenty-ui/surfaces';+import { Status } from 'twenty-ui/primitives/data-display';+import { AppTooltip } from 'twenty-ui/primitives/surfaces';import { type ThemeColor } from 'twenty-ui/theme';const StyledContainer = styled.div`diff --git a/packages/twenty-front/src/modules/page-layout/widgets/components/RecordPageAddWidgetSection.tsx b/packages/twenty-front/src/modules/page-layout/widgets/components/RecordPageAddWidgetSection.tsxindex e905d1b5a01..8037c7caed7 100644--- a/packages/twenty-front/src/modules/page-layout/widgets/components/RecordPageAddWidgetSection.tsx+++ b/packages/twenty-front/src/modules/page-layout/widgets/components/RecordPageAddWidgetSection.tsx@@ -14,7 +14,7 @@ import {IconNotes,IconPlus,} from 'twenty-ui/icon';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledContainer = styled.div`diff --git a/packages/twenty-front/src/modules/page-layout/widgets/components/RecordPageWidgetInsertionSeparator.tsx b/packages/twenty-front/src/modules/page-layout/widgets/components/RecordPageWidgetInsertionSeparator.tsxindex 340e1e75c29..0f819ecfe5c 100644--- a/packages/twenty-front/src/modules/page-layout/widgets/components/RecordPageWidgetInsertionSeparator.tsx+++ b/packages/twenty-front/src/modules/page-layout/widgets/components/RecordPageWidgetInsertionSeparator.tsx@@ -3,7 +3,7 @@ import { type PageLayoutWidget } from '@/page-layout/types/PageLayoutWidget';import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';import { IconPlus } from 'twenty-ui/icon';-import { FloatingIconButton } from 'twenty-ui/input';+import { FloatingIconButton } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledInsertButton = styled(FloatingIconButton)`diff --git a/packages/twenty-front/src/modules/page-layout/widgets/components/StandaloneWidgetPlaceholder.tsx b/packages/twenty-front/src/modules/page-layout/widgets/components/StandaloneWidgetPlaceholder.tsxindex feae3b227e9..c28c29f9e6f 100644--- a/packages/twenty-front/src/modules/page-layout/widgets/components/StandaloneWidgetPlaceholder.tsx+++ b/packages/twenty-front/src/modules/page-layout/widgets/components/StandaloneWidgetPlaceholder.tsx@@ -7,7 +7,7 @@ import {AnimatedPlaceholderEmptySubTitle,AnimatedPlaceholderEmptyTextContainer,AnimatedPlaceholderEmptyTitle,-} from 'twenty-ui/feedback';+} from 'twenty-ui/primitives/feedback';const StyledPlaceholderContainer = styled.div`background: ${themeCssVariables.background.secondary};diff --git a/packages/twenty-front/src/modules/page-layout/widgets/email-thread/components/EmailThreadIntermediaryMessages.tsx b/packages/twenty-front/src/modules/page-layout/widgets/email-thread/components/EmailThreadIntermediaryMessages.tsxindex 02bcaa8be68..b3a4268e138 100644--- a/packages/twenty-front/src/modules/page-layout/widgets/email-thread/components/EmailThreadIntermediaryMessages.tsx+++ b/packages/twenty-front/src/modules/page-layout/widgets/email-thread/components/EmailThreadIntermediaryMessages.tsx@@ -5,7 +5,7 @@ import { EmailThreadMessage } from '@/activities/emails/components/EmailThreadMeimport { type EmailThreadMessageWithSender } from '@/activities/emails/types/EmailThreadMessageWithSender';import { t } from '@lingui/core/macro';import { IconArrowsVertical } from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';+import { Button } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledButtonContainer = styled.div`diff --git a/packages/twenty-front/src/modules/page-layout/widgets/field/components/FieldWidget.tsx b/packages/twenty-front/src/modules/page-layout/widgets/field/components/FieldWidget.tsxindex c032101c02b..49096c1d938 100644--- a/packages/twenty-front/src/modules/page-layout/widgets/field/components/FieldWidget.tsx+++ b/packages/twenty-front/src/modules/page-layout/widgets/field/components/FieldWidget.tsx@@ -36,7 +36,7 @@ import {AnimatedPlaceholderEmptySubTitle,AnimatedPlaceholderEmptyTextContainer,AnimatedPlaceholderEmptyTitle,-} from 'twenty-ui/feedback';+} from 'twenty-ui/primitives/feedback';import { FieldDisplayMode } from '~/generated-metadata/graphql';const StyledContainer = styled.div`diff --git a/packages/twenty-front/src/modules/page-layout/widgets/field/components/FieldWidgetEditAction.tsx b/packages/twenty-front/src/modules/page-layout/widgets/field/components/FieldWidgetEditAction.tsxindex 794c0cd598f..b66f245ac24 100644--- a/packages/twenty-front/src/modules/page-layout/widgets/field/components/FieldWidgetEditAction.tsx+++ b/packages/twenty-front/src/modules/page-layout/widgets/field/components/FieldWidgetEditAction.tsx@@ -5,7 +5,7 @@ import { useInlineCell } from '@/object-record/record-inline-cell/hooks/useInlinimport { useOpenFieldWidgetFieldInputEditMode } from '@/page-layout/widgets/field/hooks/useOpenFieldWidgetFieldInputEditMode';import { WidgetCardHeaderHoverReveal } from '@/page-layout/widgets/widget-card/components/WidgetCardHeaderHoverReveal';import { IconPencil } from 'twenty-ui/icon';-import { LightIconButton } from 'twenty-ui/input';+import { LightIconButton } from 'twenty-ui/primitives/input';export const FieldWidgetEditAction = () => {const { recordId, fieldDefinition } = useContext(FieldContext);diff --git a/packages/twenty-front/src/modules/page-layout/widgets/field/components/FieldWidgetRelationEditAction.tsx b/packages/twenty-front/src/modules/page-layout/widgets/field/components/FieldWidgetRelationEditAction.tsxindex a67bd806188..d56196690a0 100644--- a/packages/twenty-front/src/modules/page-layout/widgets/field/components/FieldWidgetRelationEditAction.tsx+++ b/packages/twenty-front/src/modules/page-layout/widgets/field/components/FieldWidgetRelationEditAction.tsx@@ -22,7 +22,7 @@ import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';import { CustomError, isDefined } from 'twenty-shared/utils';import { IconPencil, IconPlus } from 'twenty-ui/icon';-import { IconButton } from 'twenty-ui/input';+import { IconButton } from 'twenty-ui/primitives/input';import { RelationType } from '~/generated-metadata/graphql';type FieldWidgetRelationEditActionProps = {diff --git a/packages/twenty-front/src/modules/page-layout/widgets/fields/components/FieldsConfigurationEditor.tsx b/packages/twenty-front/src/modules/page-layout/widgets/fields/components/FieldsConfigurationEditor.tsxindex a9c16634d42..da339bbf7b0 100644--- a/packages/twenty-front/src/modules/page-layout/widgets/fields/components/FieldsConfigurationEditor.tsx+++ b/packages/twenty-front/src/modules/page-layout/widgets/fields/components/FieldsConfigurationEditor.tsx@@ -29,7 +29,7 @@ import { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useimport { useLingui } from '@lingui/react/macro';import { Fragment, useState } from 'react';import { IconNewSection } from 'twenty-ui/icon';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';const StyledGroupsDroppable = styled.div`display: flex;diff --git a/packages/twenty-front/src/modules/page-layout/widgets/fields/components/FieldsConfigurationFieldEditor.tsx b/packages/twenty-front/src/modules/page-layout/widgets/fields/components/FieldsConfigurationFieldEditor.tsxindex db6b7d5c89b..f8931b7fb76 100644--- a/packages/twenty-front/src/modules/page-layout/widgets/fields/components/FieldsConfigurationFieldEditor.tsx+++ b/packages/twenty-front/src/modules/page-layout/widgets/fields/components/FieldsConfigurationFieldEditor.tsx@@ -1,7 +1,7 @@import { type FieldMetadataItem } from '@/object-metadata/types/FieldMetadataItem';import { type FieldsConfigurationFieldItem } from '@/page-layout/types/FieldsConfiguration';import { IconEye, IconEyeOff, useIcons } from 'twenty-ui/icon';-import { MenuItemDraggable } from 'twenty-ui/navigation';+import { MenuItemDraggable } from 'twenty-ui/primitives/navigation';type FieldsConfigurationFieldEditorProps = {field: FieldsConfigurationFieldItem;diff --git a/packages/twenty-front/src/modules/page-layout/widgets/fields/components/FieldsConfigurationGroupDraggableHeader.tsx b/packages/twenty-front/src/modules/page-layout/widgets/fields/components/FieldsConfigurationGroupDraggableHeader.tsxindex 51f93e93fe3..e50e3fbc1b2 100644--- a/packages/twenty-front/src/modules/page-layout/widgets/fields/components/FieldsConfigurationGroupDraggableHeader.tsx+++ b/packages/twenty-front/src/modules/page-layout/widgets/fields/components/FieldsConfigurationGroupDraggableHeader.tsx@@ -2,7 +2,7 @@ import { styled } from '@linaria/react';import { useContext } from 'react';import { IconGripVertical } from 'twenty-ui/icon';-import { Label } from 'twenty-ui/typography';+import { Label } from 'twenty-ui/primitives/typography';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';const StyledContainer = styled.div`diff --git a/packages/twenty-front/src/modules/page-layout/widgets/fields/components/FieldsConfigurationGroupDropdown.tsx b/packages/twenty-front/src/modules/page-layout/widgets/fields/components/FieldsConfigurationGroupDropdown.tsxindex 8d8dc16e2d1..ff141d0df44 100644--- a/packages/twenty-front/src/modules/page-layout/widgets/fields/components/FieldsConfigurationGroupDropdown.tsx+++ b/packages/twenty-front/src/modules/page-layout/widgets/fields/components/FieldsConfigurationGroupDropdown.tsx@@ -5,8 +5,8 @@ import {IconPencil,IconTrash,} from 'twenty-ui/icon';-import { LightIconButton } from 'twenty-ui/input';-import { MenuItem } from 'twenty-ui/navigation';+import { LightIconButton } from 'twenty-ui/primitives/input';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { getFieldsConfigurationGroupEditDropdownId } from '@/page-layout/widgets/fields/utils/getFieldsConfigurationGroupEditDropdownId';import { Dropdown } from '@/ui/layout/dropdown/components/Dropdown';diff --git a/packages/twenty-front/src/modules/page-layout/widgets/fields/components/FieldsConfigurationGroupRenameInput.tsx b/packages/twenty-front/src/modules/page-layout/widgets/fields/components/FieldsConfigurationGroupRenameInput.tsxindex a0d8fabca62..60fcb33094c 100644--- a/packages/twenty-front/src/modules/page-layout/widgets/fields/components/FieldsConfigurationGroupRenameInput.tsx+++ b/packages/twenty-front/src/modules/page-layout/widgets/fields/components/FieldsConfigurationGroupRenameInput.tsx@@ -4,7 +4,7 @@ import { Key } from 'ts-key-enum';import { TextInput } from '@/ui/input/components/TextInput';import { useHotkeysOnFocusedElement } from '@/ui/utilities/hotkey/hooks/useHotkeysOnFocusedElement';-import { Button } from 'twenty-ui/input';+import { Button } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledContainer = styled.div`diff --git a/packages/twenty-front/src/modules/page-layout/widgets/fields/components/FieldsConfigurationUngroupedEditor.tsx b/packages/twenty-front/src/modules/page-layout/widgets/fields/components/FieldsConfigurationUngroupedEditor.tsxindex f301e38e95e..bbb54dba50c 100644--- a/packages/twenty-front/src/modules/page-layout/widgets/fields/components/FieldsConfigurationUngroupedEditor.tsx+++ b/packages/twenty-front/src/modules/page-layout/widgets/fields/components/FieldsConfigurationUngroupedEditor.tsx@@ -4,7 +4,7 @@ import { useLingui } from '@lingui/react/macro';import { Fragment, useState } from 'react';import { isDefined } from 'twenty-shared/utils';import { IconNewSection } from 'twenty-ui/icon';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { FieldsConfigurationFieldEditor } from '@/page-layout/widgets/fields/components/FieldsConfigurationFieldEditor';import { FIELDS_CONFIGURATION_FIELD_DND_TYPE } from '@/page-layout/widgets/fields/constants/FieldsConfigurationFieldDndType';diff --git a/packages/twenty-front/src/modules/page-layout/widgets/fields/components/FieldsWidget.tsx b/packages/twenty-front/src/modules/page-layout/widgets/fields/components/FieldsWidget.tsxindex dedb05e922b..64b97f76d6e 100644--- a/packages/twenty-front/src/modules/page-layout/widgets/fields/components/FieldsWidget.tsx+++ b/packages/twenty-front/src/modules/page-layout/widgets/fields/components/FieldsWidget.tsx@@ -21,7 +21,7 @@ import {AnimatedPlaceholderEmptySubTitle,AnimatedPlaceholderEmptyTextContainer,AnimatedPlaceholderEmptyTitle,-} from 'twenty-ui/feedback';+} from 'twenty-ui/primitives/feedback';import { themeCssVariables } from 'twenty-ui/theme-constants';import { type FieldsConfiguration } from '~/generated-metadata/graphql';diff --git a/packages/twenty-front/src/modules/page-layout/widgets/fields/components/FieldsWidgetGroupContainer.tsx b/packages/twenty-front/src/modules/page-layout/widgets/fields/components/FieldsWidgetGroupContainer.tsxindex 648709b9d36..28183a9ed02 100644--- a/packages/twenty-front/src/modules/page-layout/widgets/fields/components/FieldsWidgetGroupContainer.tsx+++ b/packages/twenty-front/src/modules/page-layout/widgets/fields/components/FieldsWidgetGroupContainer.tsx@@ -1,7 +1,10 @@import { styled } from '@linaria/react';import { useContext, useState } from 'react';import { IconChevronDown } from 'twenty-ui/icon';-import { AnimatedExpandableContainer, Section } from 'twenty-ui/layout';+import {+ AnimatedExpandableContainer,+ Section,+} from 'twenty-ui/primitives/layout';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';const StyledHeader = styled.header`diff --git a/packages/twenty-front/src/modules/page-layout/widgets/graph/components/GraphWidgetLegend.tsx b/packages/twenty-front/src/modules/page-layout/widgets/graph/components/GraphWidgetLegend.tsxindex aebfc055777..c505a8ebaac 100644--- a/packages/twenty-front/src/modules/page-layout/widgets/graph/components/GraphWidgetLegend.tsx+++ b/packages/twenty-front/src/modules/page-layout/widgets/graph/components/GraphWidgetLegend.tsx@@ -14,8 +14,8 @@ import { styled } from '@linaria/react';import { AnimatePresence, motion } from 'framer-motion';import { useContext, useRef, useState } from 'react';import { IconChevronLeft, IconChevronRight } from 'twenty-ui/icon';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';-import { LightIconButton } from 'twenty-ui/input';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';+import { LightIconButton } from 'twenty-ui/primitives/input';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';export type GraphWidgetLegendItem = {diff --git a/packages/twenty-front/src/modules/page-layout/widgets/graph/graph-widget-aggregate-chart/components/GraphWidgetAggregateChart.tsx b/packages/twenty-front/src/modules/page-layout/widgets/graph/graph-widget-aggregate-chart/components/GraphWidgetAggregateChart.tsxindex 599a718db16..809982f1575 100644--- a/packages/twenty-front/src/modules/page-layout/widgets/graph/graph-widget-aggregate-chart/components/GraphWidgetAggregateChart.tsx+++ b/packages/twenty-front/src/modules/page-layout/widgets/graph/graph-widget-aggregate-chart/components/GraphWidgetAggregateChart.tsx@@ -3,7 +3,7 @@ import { styled } from '@linaria/react';import { useContext } from 'react';import { isDefined } from 'twenty-shared/utils';import { IconTrendingDown, IconTrendingUp } from 'twenty-ui/icon';-import { H1Title, H1TitleFontColor } from 'twenty-ui/typography';+import { H1Title, H1TitleFontColor } from 'twenty-ui/primitives/typography';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';type GraphWidgetAggregateChartProps = {value: string | number;diff --git a/packages/twenty-front/src/modules/page-layout/widgets/timeline/components/WidgetActionTimelineFilter.tsx b/packages/twenty-front/src/modules/page-layout/widgets/timeline/components/WidgetActionTimelineFilter.tsxindex abf068f3b5b..918e4dd8e53 100644--- a/packages/twenty-front/src/modules/page-layout/widgets/timeline/components/WidgetActionTimelineFilter.tsx+++ b/packages/twenty-front/src/modules/page-layout/widgets/timeline/components/WidgetActionTimelineFilter.tsx@@ -13,7 +13,7 @@ import { useLingui } from '@lingui/react/macro';import { useState } from 'react';import { isDefined, isNonEmptyArray } from 'twenty-shared/utils';import { IconFilter, IconFilterOff, useIcons } from 'twenty-ui/icon';-import { MenuItem, MenuItemMultiSelect } from 'twenty-ui/navigation';+import { MenuItem, MenuItemMultiSelect } from 'twenty-ui/primitives/navigation';import { normalizeSearchText } from '~/utils/normalizeSearchText';export const WidgetActionTimelineFilter = () => {diff --git a/packages/twenty-front/src/modules/page-layout/widgets/widget-card/components/WidgetCardHeader.tsx b/packages/twenty-front/src/modules/page-layout/widgets/widget-card/components/WidgetCardHeader.tsxindex f0a21e5b453..505cee45788 100644--- a/packages/twenty-front/src/modules/page-layout/widgets/widget-card/components/WidgetCardHeader.tsx+++ b/packages/twenty-front/src/modules/page-layout/widgets/widget-card/components/WidgetCardHeader.tsx@@ -7,8 +7,8 @@ import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';import { type ReactNode, useContext } from 'react';import { IconTrash } from 'twenty-ui/icon';-import { IconButton } from 'twenty-ui/input';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';+import { IconButton } from 'twenty-ui/primitives/input';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';import { type WidgetCardVariant } from '@/page-layout/widgets/types/WidgetCardVariant';import { WidgetGrip } from '@/page-layout/widgets/widget-card/components/WidgetGrip';diff --git a/packages/twenty-front/src/modules/page-layout/widgets/widget-card/components/WidgetCardHeaderActionButton.tsx b/packages/twenty-front/src/modules/page-layout/widgets/widget-card/components/WidgetCardHeaderActionButton.tsxindex 4b265dcb8c4..1de54c5e517 100644--- a/packages/twenty-front/src/modules/page-layout/widgets/widget-card/components/WidgetCardHeaderActionButton.tsx+++ b/packages/twenty-front/src/modules/page-layout/widgets/widget-card/components/WidgetCardHeaderActionButton.tsx@@ -1,5 +1,5 @@import { type IconComponent } from 'twenty-ui/icon';-import { LightIconButton } from 'twenty-ui/input';+import { LightIconButton } from 'twenty-ui/primitives/input';type WidgetCardHeaderActionButtonProps = {Icon: IconComponent;diff --git a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsBlocklistInput.tsx b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsBlocklistInput.tsxindex 42accc4cc5b..a5ae500a574 100644--- a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsBlocklistInput.tsx+++ b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsBlocklistInput.tsx@@ -9,7 +9,7 @@ import { z } from 'zod';import { SettingsTextInput } from '@/ui/input/components/SettingsTextInput';import { useLingui } from '@lingui/react/macro';import { isNonEmptyArray, isValidHostname } from 'twenty-shared/utils';-import { Button } from 'twenty-ui/input';+import { Button } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledContainer = styled.div`diff --git a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsBlocklistSection.tsx b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsBlocklistSection.tsxindex fdcd963b94f..bd5fb19c095 100644--- a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsBlocklistSection.tsx+++ b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsBlocklistSection.tsx@@ -10,8 +10,8 @@ import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateimport { useLingui } from '@lingui/react/macro';import { BlocklistScope, CoreObjectNameSingular } from 'twenty-shared/types';import { isDefined } from 'twenty-shared/utils';-import { H2Title } from 'twenty-ui/typography';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Section } from 'twenty-ui/primitives/layout';export const SettingsAccountsBlocklistSection = () => {const { t } = useLingui();diff --git a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsBlocklistTableRow.tsx b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsBlocklistTableRow.tsxindex e5daa5609cb..2af524df92b 100644--- a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsBlocklistTableRow.tsx+++ b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsBlocklistTableRow.tsx@@ -3,9 +3,9 @@ import { type BlocklistItem } from '@/accounts/types/BlocklistItem';import { TableCell } from '@/ui/layout/table/components/TableCell';import { TableRow } from '@/ui/layout/table/components/TableRow';import { formatToHumanReadableDate } from '~/utils/date-utils';-import { IconButton } from 'twenty-ui/input';+import { IconButton } from 'twenty-ui/primitives/input';import { IconX } from 'twenty-ui/icon';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';type SettingsAccountsBlocklistTableRowProps = {blocklistItem: BlocklistItem;diff --git a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsCalendarChannelDetails.tsx b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsCalendarChannelDetails.tsxindex 61fe7fe76f6..02f47a58824 100644--- a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsCalendarChannelDetails.tsx+++ b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsCalendarChannelDetails.tsx@@ -5,10 +5,10 @@ import { SettingsAccountsEventVisibilitySettingsCard } from '@/settings/accountsimport { SettingsOptionCardContentSwitch } from '@/settings/components/SettingsOptions/SettingsOptionCardContentSwitch';import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';-import { Section } from 'twenty-ui/layout';+import { Section } from 'twenty-ui/primitives/layout';import { IconUserPlus } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { Card } from 'twenty-ui/surfaces';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Card } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';import { type CalendarChannelVisibility } from '~/generated/graphql';diff --git a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsConnectedAccountsListCard.tsx b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsConnectedAccountsListCard.tsxindex 180212bf4bf..173b40976a8 100644--- a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsConnectedAccountsListCard.tsx+++ b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsConnectedAccountsListCard.tsx@@ -9,8 +9,8 @@ import { SettingsPath } from 'twenty-shared/types';import { useLingui } from '@lingui/react/macro';import { IconPlus } from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';+import { Button } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';import { useNavigateSettings } from '~/hooks/useNavigateSettings';diff --git a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsConnectedAccountsRowRightContainer.tsx b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsConnectedAccountsRowRightContainer.tsxindex 0476c73f1ad..504bb1aef4a 100644--- a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsConnectedAccountsRowRightContainer.tsx+++ b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsConnectedAccountsRowRightContainer.tsx@@ -5,7 +5,7 @@ import { computeSyncStatus } from '@/settings/accounts/utils/computeSyncStatus';import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';import { isDefined } from 'twenty-shared/utils';-import { Status } from 'twenty-ui/data-display';+import { Status } from 'twenty-ui/primitives/data-display';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledRowRightContainer = styled.div`diff --git a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsConnectionForm.tsx b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsConnectionForm.tsxindex 439f1866ab9..fb44c154e81 100644--- a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsConnectionForm.tsx+++ b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsConnectionForm.tsx@@ -9,8 +9,8 @@ import { SettingsTextInput } from '@/ui/input/components/SettingsTextInput';import { SettingsAccountsPasswordController } from '@/settings/accounts/components/SettingsAccountsPasswordController';import { type ConnectionFormData } from '@/settings/accounts/hooks/useImapSmtpCaldavConnectionForm';import { type AccountType } from 'twenty-shared/constants';-import { H2Title } from 'twenty-ui/typography';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Section } from 'twenty-ui/primitives/layout';import { MOBILE_VIEWPORT, themeCssVariables } from 'twenty-ui/theme-constants';const StyledFormContainer = styled.div`diff --git a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsEditImapSmtpCaldavConnection.tsx b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsEditImapSmtpCaldavConnection.tsxindex 2915570c6d6..706adafe7f2 100644--- a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsEditImapSmtpCaldavConnection.tsx+++ b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsEditImapSmtpCaldavConnection.tsx@@ -8,7 +8,7 @@ import { SettingsPageContainer } from '@/settings/components/SettingsPageContainimport { SettingsPageLayout } from '@/settings/components/layout/SettingsPageLayout';import { SettingsPath } from 'twenty-shared/types';-import { Loader } from 'twenty-ui/feedback';+import { Loader } from 'twenty-ui/primitives/feedback';import { getSettingsPath } from 'twenty-shared/utils';import { useNavigateSettings } from '~/hooks/useNavigateSettings';diff --git a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsListEmptyStateCard.tsx b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsListEmptyStateCard.tsxindex f3c30a830e8..3f02a66af6d 100644--- a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsListEmptyStateCard.tsx+++ b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsListEmptyStateCard.tsx@@ -12,7 +12,7 @@ import { useContext } from 'react';import { ConnectedAccountProvider, SettingsPath } from 'twenty-shared/types';import { getSettingsPath } from 'twenty-shared/utils';import { IconAt, IconGoogle, IconMicrosoft } from 'twenty-ui/icon';-import { UndecoratedLink } from 'twenty-ui/navigation';+import { UndecoratedLink } from 'twenty-ui/primitives/navigation';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';const StyledCardsContainer = styled.div`diff --git a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsMessageChannelDetails.tsx b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsMessageChannelDetails.tsxindex 4c60b0bb25e..17602b25e79 100644--- a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsMessageChannelDetails.tsx+++ b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsMessageChannelDetails.tsx@@ -8,9 +8,9 @@ import {type MessageFolderImportPolicy,} from 'twenty-shared/types';import { IconBriefcase, IconUsers } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { Section } from 'twenty-ui/layout';-import { Card } from 'twenty-ui/surfaces';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Section } from 'twenty-ui/primitives/layout';+import { Card } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';import { type MessageChannel } from '@/accounts/types/MessageChannel';diff --git a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsNewEmailGroupChannel.tsx b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsNewEmailGroupChannel.tsxindex 7793a855bba..0024e68750c 100644--- a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsNewEmailGroupChannel.tsx+++ b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsNewEmailGroupChannel.tsx@@ -4,8 +4,8 @@ import { z } from 'zod';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath } from 'twenty-shared/utils';-import { H2Title } from 'twenty-ui/typography';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Section } from 'twenty-ui/primitives/layout';import { useCreateEmailGroupChannel } from '@/settings/accounts/hooks/useCreateEmailGroupChannel';import { SaveAndCancelButtons } from '@/settings/components/SaveAndCancelButtons/SaveAndCancelButtons';diff --git a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsPasswordController.tsx b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsPasswordController.tsxindex a4c835771c5..cc954ce4a94 100644--- a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsPasswordController.tsx+++ b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsPasswordController.tsx@@ -6,7 +6,7 @@ import { type AccountType } from 'twenty-shared/constants';import { type ConnectionFormData } from '@/settings/accounts/hooks/useImapSmtpCaldavConnectionForm';import { SettingsTextInput } from '@/ui/input/components/SettingsTextInput';-import { ClickToActionLink } from 'twenty-ui/navigation';+import { ClickToActionLink } from 'twenty-ui/primitives/navigation';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledPasswordFieldContainer = styled.div`diff --git a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsRowDropdownMenu.tsx b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsRowDropdownMenu.tsxindex e4a3b296599..0ecd56ea697 100644--- a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsRowDropdownMenu.tsx+++ b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsRowDropdownMenu.tsx@@ -24,8 +24,8 @@ import {IconRefresh,IconTrash,} from 'twenty-ui/icon';-import { LightIconButton } from 'twenty-ui/input';-import { MenuItem } from 'twenty-ui/navigation';+import { LightIconButton } from 'twenty-ui/primitives/input';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { useNavigateSettings } from '~/hooks/useNavigateSettings';import { DELETE_CONNECTED_ACCOUNT } from '../graphql/mutations/deleteConnectedAccount';diff --git a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsSettingsSection.tsx b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsSettingsSection.tsxindex 3f0aff380b5..78852b82934 100644--- a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsSettingsSection.tsx+++ b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsSettingsSection.tsx@@ -6,9 +6,9 @@ import { useLingui } from '@lingui/react/macro';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath } from 'twenty-shared/utils';import { IconCalendarEvent, IconMailCog } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { Section } from 'twenty-ui/layout';-import { UndecoratedLink } from 'twenty-ui/navigation';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Section } from 'twenty-ui/primitives/layout';+import { UndecoratedLink } from 'twenty-ui/primitives/navigation';import {MOBILE_VIEWPORT,ThemeContext,diff --git a/packages/twenty-front/src/modules/settings/accounts/components/SettingsNewAccountSection.tsx b/packages/twenty-front/src/modules/settings/accounts/components/SettingsNewAccountSection.tsxindex 96928e18a30..d51a3328427 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,7 @@import { SettingsAccountsListEmptyStateCard } from '@/settings/accounts/components/SettingsAccountsListEmptyStateCard';import { t } from '@lingui/core/macro';-import { H2Title } from 'twenty-ui/typography';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Section } from 'twenty-ui/primitives/layout';export const SettingsNewAccountSection = () => {return (diff --git a/packages/twenty-front/src/modules/settings/accounts/components/message-folders/SettingsAccountsMessageFoldersCard.tsx b/packages/twenty-front/src/modules/settings/accounts/components/message-folders/SettingsAccountsMessageFoldersCard.tsxindex 8bc2ca6f6f1..de437b6cb44 100644--- a/packages/twenty-front/src/modules/settings/accounts/components/message-folders/SettingsAccountsMessageFoldersCard.tsx+++ b/packages/twenty-front/src/modules/settings/accounts/components/message-folders/SettingsAccountsMessageFoldersCard.tsx@@ -16,9 +16,9 @@ import { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';import { useMemo, useState } from 'react';-import { Label } from 'twenty-ui/typography';-import { Checkbox } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';+import { Label } from 'twenty-ui/primitives/typography';+import { Checkbox } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledTreeList = styled.ul`diff --git a/packages/twenty-front/src/modules/settings/accounts/components/message-folders/SettingsMessageFoldersEmptyStateCard.tsx b/packages/twenty-front/src/modules/settings/accounts/components/message-folders/SettingsMessageFoldersEmptyStateCard.tsxindex 0228f9715c2..894ece419fe 100644--- a/packages/twenty-front/src/modules/settings/accounts/components/message-folders/SettingsMessageFoldersEmptyStateCard.tsx+++ b/packages/twenty-front/src/modules/settings/accounts/components/message-folders/SettingsMessageFoldersEmptyStateCard.tsx@@ -1,7 +1,7 @@import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';import { IconFolder } from 'twenty-ui/icon';-import { Section } from 'twenty-ui/layout';+import { Section } from 'twenty-ui/primitives/layout';import { useContext } from 'react';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';diff --git a/packages/twenty-front/src/modules/settings/accounts/components/message-folders/SettingsMessageFoldersTreeItem.tsx b/packages/twenty-front/src/modules/settings/accounts/components/message-folders/SettingsMessageFoldersTreeItem.tsxindex 22e1b6b8295..e1412da4b0f 100644--- a/packages/twenty-front/src/modules/settings/accounts/components/message-folders/SettingsMessageFoldersTreeItem.tsx+++ b/packages/twenty-front/src/modules/settings/accounts/components/message-folders/SettingsMessageFoldersTreeItem.tsx@@ -9,9 +9,10 @@ import { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';import { useState } from 'react';import { MessageFolderPendingSyncAction } from 'twenty-shared/types';-import { Status } from 'twenty-ui/data-display';+import { Status } from 'twenty-ui/primitives/data-display';+import { Checkbox } from 'twenty-ui/primitives/input';import { IconChevronDown, IconChevronUp } from 'twenty-ui/icon';-import { Checkbox } from 'twenty-ui/input';+import { themeCssVariables } from 'twenty-ui/theme-constants';type SettingsMessageFoldersTreeItemProps = {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 2b277c2de7a..f22652d270d 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@@ -6,11 +6,11 @@ import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath, isDefined } from 'twenty-shared/utils';import { AI_MODEL_TIERS, type AiModelTier } from 'twenty-shared/ai';import { IconMessage } from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';-import { UndecoratedLink } from 'twenty-ui/navigation';-import { H2Title } from 'twenty-ui/typography';-import { Section } from 'twenty-ui/layout';-import { Card } from 'twenty-ui/surfaces';+import { Button } from 'twenty-ui/primitives/input';+import { UndecoratedLink } from 'twenty-ui/primitives/navigation';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Section } from 'twenty-ui/primitives/layout';+import { Card } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';import { currentWorkspaceState } from '@/auth/states/currentWorkspaceState';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 f92b298d0bd..a2c1d218257 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@@ -4,7 +4,7 @@ import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath } from 'twenty-shared/utils';-import { Status } from 'twenty-ui/data-display';+import { Status } from 'twenty-ui/primitives/data-display';import { IconPlug } from 'twenty-ui/icon';import { type AiProviderItem } from '@/settings/admin-panel/ai/types/AiProviderItem';diff --git a/packages/twenty-front/src/modules/settings/admin-panel/apps/components/SettingsAdminApps.tsx b/packages/twenty-front/src/modules/settings/admin-panel/apps/components/SettingsAdminApps.tsxindex c7196e47fbf..6e78d55e40c 100644--- a/packages/twenty-front/src/modules/settings/admin-panel/apps/components/SettingsAdminApps.tsx+++ b/packages/twenty-front/src/modules/settings/admin-panel/apps/components/SettingsAdminApps.tsx@@ -29,12 +29,12 @@ import {IconPinned,IconRefresh,} from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { Button, SearchInput } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';-import { MenuItemSwitch } from 'twenty-ui/navigation';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Button, SearchInput } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';+import { MenuItemSwitch } from 'twenty-ui/primitives/navigation';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';-import { Tag } from 'twenty-ui/data-display';+import { Tag } from 'twenty-ui/primitives/data-display';import {type ApplicationRegistrationFragmentFragment,ApplicationRegistrationSourceType,diff --git a/packages/twenty-front/src/modules/settings/admin-panel/chats/components/SettingsAdminChatsFilterDropdown.tsx b/packages/twenty-front/src/modules/settings/admin-panel/chats/components/SettingsAdminChatsFilterDropdown.tsxindex d0d630de4cc..15b41a7406e 100644--- a/packages/twenty-front/src/modules/settings/admin-panel/chats/components/SettingsAdminChatsFilterDropdown.tsx+++ b/packages/twenty-front/src/modules/settings/admin-panel/chats/components/SettingsAdminChatsFilterDropdown.tsx@@ -2,7 +2,7 @@ import { t } from '@lingui/core/macro';import { type ReactNode } from 'react';import { IconAlertTriangle, IconMessage, IconSparkles } from 'twenty-ui/icon';-import { MenuItemSwitch } from 'twenty-ui/navigation';+import { MenuItemSwitch } from 'twenty-ui/primitives/navigation';import { type AdminChatsFilterState } from '@/settings/admin-panel/chats/types/AdminChatsFilterState';import { Dropdown } from '@/ui/layout/dropdown/components/Dropdown';diff --git a/packages/twenty-front/src/modules/settings/admin-panel/chats/components/SettingsAdminChatsTableRow.tsx b/packages/twenty-front/src/modules/settings/admin-panel/chats/components/SettingsAdminChatsTableRow.tsxindex 927110615eb..a284a549a9d 100644--- a/packages/twenty-front/src/modules/settings/admin-panel/chats/components/SettingsAdminChatsTableRow.tsx+++ b/packages/twenty-front/src/modules/settings/admin-panel/chats/components/SettingsAdminChatsTableRow.tsx@@ -4,8 +4,8 @@ import { styled } from '@linaria/react';import { isNonEmptyString } from '@sniptt/guards';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath, isDefined } from 'twenty-shared/utils';-import { Tag } from 'twenty-ui/data-display';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';+import { Tag } from 'twenty-ui/primitives/data-display';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';import { SETTINGS_ADMIN_CHATS_TABLE_GRID } from '@/settings/admin-panel/chats/constants/SettingsAdminChatsTableGrid';diff --git a/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminChatAskQuestionsPart.tsx b/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminChatAskQuestionsPart.tsxindex 7348e1a1ae5..37a6948abf0 100644--- a/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminChatAskQuestionsPart.tsx+++ b/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminChatAskQuestionsPart.tsx@@ -1,7 +1,7 @@import { t } from '@lingui/core/macro';import { styled } from '@linaria/react';-import { Tag, type TagColor } from 'twenty-ui/data-display';+import { Tag, type TagColor } from 'twenty-ui/primitives/data-display';import { IconHelpCircle } from 'twenty-ui/icon';import { themeCssVariables } from 'twenty-ui/theme-constants';diff --git a/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminChatAskQuestionsQuestion.tsx b/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminChatAskQuestionsQuestion.tsxindex 9cca116e1f0..0aeb31141bf 100644--- a/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminChatAskQuestionsQuestion.tsx+++ b/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminChatAskQuestionsQuestion.tsx@@ -4,7 +4,7 @@ import { styled } from '@linaria/react';import { isNonEmptyString } from '@sniptt/guards';import { type AskQuestionAnswer, type AskQuestionItem } from 'twenty-shared/ai';import { isDefined } from 'twenty-shared/utils';-import { Tag } from 'twenty-ui/data-display';+import { Tag } from 'twenty-ui/primitives/data-display';import { IconCheck } from 'twenty-ui/icon';import { themeCssVariables } from 'twenty-ui/theme-constants';diff --git a/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminChatCollapsibleSection.tsx b/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminChatCollapsibleSection.tsxindex bb434fd4cd7..d1dd9506b26 100644--- a/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminChatCollapsibleSection.tsx+++ b/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminChatCollapsibleSection.tsx@@ -2,7 +2,7 @@ import { styled } from '@linaria/react';import { type ReactNode, useState } from 'react';import { IconChevronDown, IconChevronUp } from 'twenty-ui/icon';-import { AnimatedExpandableContainer } from 'twenty-ui/layout';+import { AnimatedExpandableContainer } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';type SettingsAdminChatCollapsibleSectionProps = {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 874b8f3c471..782959e0e44 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@@ -4,7 +4,7 @@ import { styled } from '@linaria/react';import { TableCell } from '@/ui/layout/table/components/TableCell';import { TableRow } from '@/ui/layout/table/components/TableRow';import { isNonEmptyArray } from 'twenty-shared/utils';-import { Card } from 'twenty-ui/surfaces';+import { Card } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';import { AgentMessageRole } from '~/generated-admin/graphql';diff --git a/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminChatToolCallPart.tsx b/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminChatToolCallPart.tsxindex 3a0d946d01a..208fad3f688 100644--- a/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminChatToolCallPart.tsx+++ b/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminChatToolCallPart.tsx@@ -4,10 +4,10 @@ import { useState } from 'react';import { isNonEmptyString } from '@sniptt/guards';import { isDefined } from 'twenty-shared/utils';-import { Tag } from 'twenty-ui/data-display';+import { Tag } from 'twenty-ui/primitives/data-display';import { IconChevronDown, IconChevronUp, IconTool } from 'twenty-ui/icon';-import { JsonTree } from 'twenty-ui/json-visualizer';-import { AnimatedExpandableContainer } from 'twenty-ui/layout';+import { JsonTree } from 'twenty-ui/primitives/json-visualizer';+import { AnimatedExpandableContainer } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';import { type AdminChatThreadMessagePart } from '@/settings/admin-panel/types/AdminChatThreadMessagePart';diff --git a/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminGeneral.tsx b/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminGeneral.tsxindex 017dc49ceaa..7ae485ddd52 100644--- a/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminGeneral.tsx+++ b/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminGeneral.tsx@@ -20,11 +20,11 @@ import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath } from 'twenty-shared/utils';import { currentUserState } from '@/auth/states/currentUserState';-import { Avatar } from 'twenty-ui/data-display';+import { Avatar } from 'twenty-ui/primitives/data-display';import { IconChevronRight } from 'twenty-ui/icon';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';-import { H2Title } from 'twenty-ui/typography';-import { Section } from 'twenty-ui/layout';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Section } from 'twenty-ui/primitives/layout';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';import {AdminPanelRecentUsersDocument,diff --git a/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminServerAdminAccess.tsx b/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminServerAdminAccess.tsxindex e214ff6dc35..fd74b6b3f57 100644--- a/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminServerAdminAccess.tsx+++ b/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminServerAdminAccess.tsx@@ -14,10 +14,10 @@ import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';import { OTPInput } from 'input-otp';import { useState } from 'react';-import { Status } from 'twenty-ui/data-display';+import { Status } from 'twenty-ui/primitives/data-display';import { IconDotsVertical } from 'twenty-ui/icon';-import { LightIconButton } from 'twenty-ui/input';-import { MenuItem } from 'twenty-ui/navigation';+import { LightIconButton } from 'twenty-ui/primitives/input';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { themeCssVariables } from 'twenty-ui/theme-constants';import {GetServerAdminsDocument,diff --git a/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminServerAdmins.tsx b/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminServerAdmins.tsxindex 419dce7a607..6e591ea35f4 100644--- a/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminServerAdmins.tsx+++ b/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminServerAdmins.tsx@@ -12,9 +12,9 @@ import { useContext } from 'react';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath } from 'twenty-shared/utils';import { IconChevronRight } from 'twenty-ui/icon';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';-import { H2Title } from 'twenty-ui/typography';-import { Section } from 'twenty-ui/layout';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Section } from 'twenty-ui/primitives/layout';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';import { GetServerAdminsDocument } from '~/generated-admin/graphql';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 db83f30e5fe..d291a5f0e59 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@@ -2,7 +2,7 @@ import { useQuery } from '@apollo/client/react';import { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';import { isDefined } from 'twenty-shared/utils';-import { Tag } from 'twenty-ui/data-display';+import { Tag } from 'twenty-ui/primitives/data-display';import {IconBox,IconCalendarEvent,@@ -17,8 +17,8 @@ import {IconTag,IconUsers,} from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Section } from 'twenty-ui/primitives/layout';import { type ThemeColor } from 'twenty-ui/theme';import { themeCssVariables } from 'twenty-ui/theme-constants';diff --git a/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminWorkspaceContent.tsx b/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminWorkspaceContent.tsxindex d836334ab5c..df09d5d28bc 100644--- a/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminWorkspaceContent.tsx+++ b/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminWorkspaceContent.tsx@@ -17,7 +17,11 @@ import {isDefined,} from 'twenty-shared/utils';import { type GetUpgradeStatusQuery } from '~/generated-admin/graphql';-import { AvatarOrIcon, LinkChip, Status } from 'twenty-ui/data-display';+import {+ AvatarOrIcon,+ LinkChip,+ Status,+} from 'twenty-ui/primitives/data-display';import {IconCalendar,IconHome,@@ -26,9 +30,9 @@ import {IconStatusChange,IconUser,} from 'twenty-ui/icon';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';-import { H2Title } from 'twenty-ui/typography';-import { Section } from 'twenty-ui/layout';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';import { dateLocaleState } from '~/localization/states/dateLocaleState';import { getAbsoluteImageUrl } from '~/utils/image/getAbsoluteImageUrl';diff --git a/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminWorkspaceCreditGrantModal.tsx b/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminWorkspaceCreditGrantModal.tsxindex aad12a470fd..451ce27cb16 100644--- a/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminWorkspaceCreditGrantModal.tsx+++ b/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminWorkspaceCreditGrantModal.tsx@@ -4,10 +4,14 @@ import { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';import { useState } from 'react';import { v4 } from 'uuid';-import { Button } from 'twenty-ui/input';-import { Section, SectionAlignment, SectionFontColor } from 'twenty-ui/layout';+import { Button } from 'twenty-ui/primitives/input';+import {+ Section,+ SectionAlignment,+ SectionFontColor,+} from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';-import { H1Title, H1TitleFontColor } from 'twenty-ui/typography';+import { H1Title, H1TitleFontColor } from 'twenty-ui/primitives/typography';import { useApolloAdminClient } from '@/settings/admin-panel/apollo/hooks/useApolloAdminClient';import { CREDIT_GRANT_EXPIRY_OPTIONS } from '@/settings/admin-panel/constants/CreditGrantExpiryOptions';diff --git a/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminWorkspaceCreditGrantRowDropdownMenu.tsx b/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminWorkspaceCreditGrantRowDropdownMenu.tsxindex 418f583957e..77fc625796e 100644--- a/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminWorkspaceCreditGrantRowDropdownMenu.tsx+++ b/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminWorkspaceCreditGrantRowDropdownMenu.tsx@@ -1,7 +1,7 @@import { t } from '@lingui/core/macro';import { IconDotsVertical, IconTrash } from 'twenty-ui/icon';-import { LightIconButton } from 'twenty-ui/input';-import { MenuItem } from 'twenty-ui/navigation';+import { LightIconButton } from 'twenty-ui/primitives/input';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { Dropdown } from '@/ui/layout/dropdown/components/Dropdown';import { DropdownContent } from '@/ui/layout/dropdown/components/DropdownContent';diff --git a/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminWorkspaceCreditGrantsTable.tsx b/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminWorkspaceCreditGrantsTable.tsxindex 0e0817d6837..de87323f98e 100644--- a/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminWorkspaceCreditGrantsTable.tsx+++ b/packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminWorkspaceCreditGrantsTable.tsx@@ -5,8 +5,8 @@ import { msg } from '@lingui/core/macro';import { useLingui } from '@lingui/react/macro';import { useState } from 'react';import { isDefined } from 'twenty-shared/utils';-import { Tag } from 'twenty-ui/data-display';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';+import { Tag } from 'twenty-ui/primitives/data-display';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';import { type ThemeColor } from 'twenty-ui/theme';import { useApolloAdminClient } from '@/settings/admin-panel/apollo/hooks/useApolloAdminClient';diff --git a/packages/twenty-front/src/modules/settings/admin-panel/config-variables/components/ConfigVariableDatabaseInput.tsx b/packages/twenty-front/src/modules/settings/admin-panel/config-variables/components/ConfigVariableDatabaseInput.tsxindex c4056a952d6..30dbaeece53 100644--- a/packages/twenty-front/src/modules/settings/admin-panel/config-variables/components/ConfigVariableDatabaseInput.tsx+++ b/packages/twenty-front/src/modules/settings/admin-panel/config-variables/components/ConfigVariableDatabaseInput.tsx@@ -9,8 +9,8 @@ import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';import { type ConfigVariableValue } from 'twenty-shared/types';import { CustomError } from 'twenty-shared/utils';-import { CodeEditor } from 'twenty-ui/input';-import { MenuItemMultiSelect } from 'twenty-ui/navigation';+import { CodeEditor } from 'twenty-ui/primitives/input';+import { MenuItemMultiSelect } from 'twenty-ui/primitives/navigation';import { themeCssVariables } from 'twenty-ui/theme-constants';import { ConfigVariableType } from '~/generated-admin/graphql';import { type ConfigVariableOptions } from '@/settings/admin-panel/config-variables/types/ConfigVariableOptions';diff --git a/packages/twenty-front/src/modules/settings/admin-panel/config-variables/components/ConfigVariableFilterDropdown.tsx b/packages/twenty-front/src/modules/settings/admin-panel/config-variables/components/ConfigVariableFilterDropdown.tsxindex 5f1fda2f051..5d4466f62e6 100644--- a/packages/twenty-front/src/modules/settings/admin-panel/config-variables/components/ConfigVariableFilterDropdown.tsx+++ b/packages/twenty-front/src/modules/settings/admin-panel/config-variables/components/ConfigVariableFilterDropdown.tsx@@ -5,7 +5,7 @@ import { Dropdown } from '@/ui/layout/dropdown/components/Dropdown';import { t } from '@lingui/core/macro';import { useState } from 'react';import { IconSettings } from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';+import { Button } from 'twenty-ui/primitives/input';import { ConfigVariableOptionsDropdownContent } from './ConfigVariableOptionsDropdownContent';type ConfigVariableFilterDropdownProps = {diff --git a/packages/twenty-front/src/modules/settings/admin-panel/config-variables/components/ConfigVariableOptionsDropdownContent.tsx b/packages/twenty-front/src/modules/settings/admin-panel/config-variables/components/ConfigVariableOptionsDropdownContent.tsxindex 345c18c3370..3ec23abefcb 100644--- a/packages/twenty-front/src/modules/settings/admin-panel/config-variables/components/ConfigVariableOptionsDropdownContent.tsx+++ b/packages/twenty-front/src/modules/settings/admin-panel/config-variables/components/ConfigVariableOptionsDropdownContent.tsx@@ -11,7 +11,7 @@ import { DropdownMenuSeparator } from '@/ui/layout/dropdown/components/DropdownMimport { t } from '@lingui/core/macro';import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';import { IconChevronLeft, IconEye, IconEyeOff } from 'twenty-ui/icon';-import { MenuItem, MenuItemSelectTag } from 'twenty-ui/navigation';+import { MenuItem, MenuItemSelectTag } from 'twenty-ui/primitives/navigation';import { useContext } from 'react';import { ThemeContext } from 'twenty-ui/theme-constants';type ConfigVariableOptionsDropdownContentProps = {diff --git a/packages/twenty-front/src/modules/settings/admin-panel/config-variables/components/ConfigVariableSearchInput.tsx b/packages/twenty-front/src/modules/settings/admin-panel/config-variables/components/ConfigVariableSearchInput.tsxindex d73e7bbc233..984f2341976 100644--- a/packages/twenty-front/src/modules/settings/admin-panel/config-variables/components/ConfigVariableSearchInput.tsx+++ b/packages/twenty-front/src/modules/settings/admin-panel/config-variables/components/ConfigVariableSearchInput.tsx@@ -1,5 +1,5 @@import { t } from '@lingui/core/macro';-import { SearchInput } from 'twenty-ui/input';+import { SearchInput } from 'twenty-ui/primitives/input';type ConfigVariableSearchInputProps = {value: string;diff --git a/packages/twenty-front/src/modules/settings/admin-panel/config-variables/components/SettingsAdminConfigVariables.tsx b/packages/twenty-front/src/modules/settings/admin-panel/config-variables/components/SettingsAdminConfigVariables.tsxindex b722f9530f8..c19da64d464 100644--- a/packages/twenty-front/src/modules/settings/admin-panel/config-variables/components/SettingsAdminConfigVariables.tsx+++ b/packages/twenty-front/src/modules/settings/admin-panel/config-variables/components/SettingsAdminConfigVariables.tsx@@ -10,8 +10,8 @@ import { showHiddenGroupVariablesState } from '@/settings/admin-panel/config-varimport { styled } from '@linaria/react';import { t } from '@lingui/core/macro';import { useMemo, useState } from 'react';-import { H2Title } from 'twenty-ui/typography';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Section } from 'twenty-ui/primitives/layout';import { useQuery } from '@apollo/client/react';import {ConfigSource,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 f6ef321f7a4..e27085f722f 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@@ -1,8 +1,8 @@import { SettingsTableCard } from '@/settings/components/SettingsTableCard';import { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';-import { H2Title } from 'twenty-ui/typography';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledSettingsTableCardContainer = styled.div`diff --git a/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminHealthStatus.tsx b/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminHealthStatus.tsxindex 352619e4767..9b365530008 100644--- a/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminHealthStatus.tsx+++ b/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminHealthStatus.tsx@@ -7,8 +7,8 @@ import { SettingsAdminSigningKeysTable } from '@/settings/admin-panel/signing-keimport { SettingsSectionSkeletonLoader } from '@/settings/components/SettingsSectionSkeletonLoader';import { useQuery } from '@apollo/client/react';import { t } from '@lingui/core/macro';-import { H2Title } from 'twenty-ui/typography';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Section } from 'twenty-ui/primitives/layout';import {GetInstanceAndAllWorkspacesUpgradeStatusDocument,GetSystemHealthStatusDocument,diff --git a/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminHealthStatusRightContainer.tsx b/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminHealthStatusRightContainer.tsxindex 1e10e75d69a..a6b325e451e 100644--- a/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminHealthStatusRightContainer.tsx+++ b/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminHealthStatusRightContainer.tsx@@ -1,5 +1,5 @@import { t } from '@lingui/core/macro';-import { Status } from 'twenty-ui/data-display';+import { Status } from 'twenty-ui/primitives/data-display';import { AdminPanelHealthServiceStatus } from '~/generated-admin/graphql';export const SettingsAdminHealthStatusRightContainer = ({diff --git a/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminJobDetailsExpandable.tsx b/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminJobDetailsExpandable.tsxindex c64a395d545..36b0627e562 100644--- a/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminJobDetailsExpandable.tsx+++ b/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminJobDetailsExpandable.tsx@@ -1,7 +1,7 @@import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';-import { JsonTree } from 'twenty-ui/json-visualizer';-import { AnimatedExpandableContainer } from 'twenty-ui/layout';+import { JsonTree } from 'twenty-ui/primitives/json-visualizer';+import { AnimatedExpandableContainer } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';import { type QueueJob } from '~/generated-admin/graphql';import { useCopyToClipboard } from '~/hooks/useCopyToClipboard';diff --git a/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminJobStateBadge.tsx b/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminJobStateBadge.tsxindex cd3f871602e..9bb80f6f491 100644--- a/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminJobStateBadge.tsx+++ b/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminJobStateBadge.tsx@@ -1,6 +1,6 @@import { styled } from '@linaria/react';import { plural } from '@lingui/core/macro';-import { Tag, type TagColor } from 'twenty-ui/data-display';+import { Tag, type TagColor } from 'twenty-ui/primitives/data-display';import { themeCssVariables } from 'twenty-ui/theme-constants';import { JobState } from '~/generated-admin/graphql';diff --git a/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminJsonDataIndicatorHealthStatus.tsx b/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminJsonDataIndicatorHealthStatus.tsxindex 6c2294e0e5a..4f3f0d48571 100644--- a/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminJsonDataIndicatorHealthStatus.tsx+++ b/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminJsonDataIndicatorHealthStatus.tsx@@ -2,8 +2,8 @@ import { SettingsAdminIndicatorHealthContext } from '@/settings/admin-panel/healimport { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';import { useContext } from 'react';-import { JsonTree } from 'twenty-ui/json-visualizer';-import { Section } from 'twenty-ui/layout';+import { JsonTree } from 'twenty-ui/primitives/json-visualizer';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';import { AdminPanelHealthServiceStatus } from '~/generated-admin/graphql';import { useCopyToClipboard } from '~/hooks/useCopyToClipboard';diff --git a/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminQueueJobRowDropdownMenu.tsx b/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminQueueJobRowDropdownMenu.tsxindex c94527b4f53..fcb7a6981d2 100644--- a/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminQueueJobRowDropdownMenu.tsx+++ b/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminQueueJobRowDropdownMenu.tsx@@ -4,8 +4,8 @@ import { DropdownMenuItemsContainer } from '@/ui/layout/dropdown/components/Dropimport { useCloseDropdown } from '@/ui/layout/dropdown/hooks/useCloseDropdown';import { t } from '@lingui/core/macro';import { IconDotsVertical, IconRefresh, IconTrash } from 'twenty-ui/icon';-import { LightIconButton } from 'twenty-ui/input';-import { MenuItem } from 'twenty-ui/navigation';+import { LightIconButton } from 'twenty-ui/primitives/input';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { JobState } from '~/generated-admin/graphql';type SettingsAdminQueueJobRowDropdownMenuProps = {diff --git a/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminQueueJobsTable.tsx b/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminQueueJobsTable.tsxindex 14641aa02e6..e84f8ea77d6 100644--- a/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminQueueJobsTable.tsx+++ b/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminQueueJobsTable.tsx@@ -18,7 +18,7 @@ import { styled } from '@linaria/react';import { plural, t } from '@lingui/core/macro';import { useState } from 'react';import { IconRefresh, IconTrash } from 'twenty-ui/icon';-import { Button, Checkbox } from 'twenty-ui/input';+import { Button, Checkbox } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';import { useQuery } from '@apollo/client/react';import {diff --git a/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminUpgradeStatusRightContainer.tsx b/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminUpgradeStatusRightContainer.tsxindex 3db3f6d7bed..c253294782d 100644--- a/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminUpgradeStatusRightContainer.tsx+++ b/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminUpgradeStatusRightContainer.tsx@@ -3,7 +3,7 @@ import { getUpgradeHealthStatusBadge } from '@/settings/admin-panel/utils/getUpgimport { getWorkspacesUpgradeHealth } from '@/settings/admin-panel/utils/getWorkspacesUpgradeHealth';import { getWorkspacesUpgradeHealthText } from '@/settings/admin-panel/utils/getWorkspacesUpgradeHealthText';import { t } from '@lingui/core/macro';-import { Status } from 'twenty-ui/data-display';+import { Status } from 'twenty-ui/primitives/data-display';export const SettingsAdminUpgradeStatusRightContainer = ({item,diff --git a/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminWorkerQueueMetricsSection.tsx b/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminWorkerQueueMetricsSection.tsxindex d721994c5b8..cc3a44cb3f7 100644--- a/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminWorkerQueueMetricsSection.tsx+++ b/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminWorkerQueueMetricsSection.tsx@@ -7,9 +7,9 @@ import { lazy, Suspense, useState } from 'react';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath } from 'twenty-shared/utils';import { IconList } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { Button } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Button } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';import {type AdminPanelWorkerQueueHealth,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 a93b24f608a..59c11a10564 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@@ -5,8 +5,8 @@ import { Link } from 'react-router-dom';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath } from 'twenty-shared/utils';import { IconChevronDown, IconChevronRight } from 'twenty-ui/icon';-import { AnimatedExpandableContainer } from 'twenty-ui/layout';-import { Card } from 'twenty-ui/surfaces';+import { AnimatedExpandableContainer } from 'twenty-ui/primitives/layout';+import { Card } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledAccordionHeaderButton = styled.button`diff --git a/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminWorkspacesStatusSummaryCard.tsx b/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminWorkspacesStatusSummaryCard.tsxindex 54be4e13010..b3f42232aca 100644--- a/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminWorkspacesStatusSummaryCard.tsx+++ b/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminWorkspacesStatusSummaryCard.tsx@@ -6,7 +6,7 @@ import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateimport { UserContext } from '@/users/contexts/UserContext';import { t } from '@lingui/core/macro';import { useContext } from 'react';-import { Status } from 'twenty-ui/data-display';+import { Status } from 'twenty-ui/primitives/data-display';import {IconAlertTriangle,IconClock,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 ceb9526ffd4..5b097826ac3 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@@ -4,11 +4,11 @@ import { t } from '@lingui/core/macro';import { isNonEmptyString } from '@sniptt/guards';import { useCallback } from 'react';import { isDefined } from 'twenty-shared/utils';-import { Status } from 'twenty-ui/data-display';+import { Status } from 'twenty-ui/primitives/data-display';import { IconLink, IconTool } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { Section } from 'twenty-ui/layout';-import { Card, CardContent } from 'twenty-ui/surfaces';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Section } from 'twenty-ui/primitives/layout';+import { Card, CardContent } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';import { maintenanceModeState } from '@/client-config/states/maintenanceModeState';@@ -19,7 +19,7 @@ import { adminPanelMaintenanceModeState } from '@/settings/admin-panel/health-stimport { SettingsDatePickerInput } from '@/settings/components/SettingsDatePickerInput';import { SettingsOptionCardContentSwitch } from '@/settings/components/SettingsOptions/SettingsOptionCardContentSwitch';import { useSnackBar } from '@/ui/feedback/snack-bar-manager/hooks/useSnackBar';-import { InputHint } from 'twenty-ui/input';+import { InputHint } from 'twenty-ui/primitives/input';import { TextInput } from '@/ui/input/components/TextInput';import { useUserTimezone } from '@/ui/input/components/internal/date/hooks/useUserTimezone';import { useAtomState } from '@/ui/utilities/state/jotai/hooks/useAtomState';diff --git a/packages/twenty-front/src/modules/settings/admin-panel/signing-keys/components/SettingsAdminSigningKeysTable.tsx b/packages/twenty-front/src/modules/settings/admin-panel/signing-keys/components/SettingsAdminSigningKeysTable.tsxindex 9edb9bd0ae8..b57ef335ebf 100644--- a/packages/twenty-front/src/modules/settings/admin-panel/signing-keys/components/SettingsAdminSigningKeysTable.tsx+++ b/packages/twenty-front/src/modules/settings/admin-panel/signing-keys/components/SettingsAdminSigningKeysTable.tsx@@ -12,10 +12,10 @@ import { useQuery } from '@apollo/client/react';import { t } from '@lingui/core/macro';import { useState } from 'react';import { isDefined } from 'twenty-shared/utils';-import { Tag, type TagColor } from 'twenty-ui/data-display';+import { Tag, type TagColor } from 'twenty-ui/primitives/data-display';import { IconCopy } from 'twenty-ui/icon';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';-import { Button } from 'twenty-ui/input';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';+import { Button } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';import {GetSigningKeysDocument,diff --git a/packages/twenty-front/src/modules/settings/ai/components/SettingsAiModelHoverCard.tsx b/packages/twenty-front/src/modules/settings/ai/components/SettingsAiModelHoverCard.tsxindex 3a94b8274f6..520cfd82939 100644--- a/packages/twenty-front/src/modules/settings/ai/components/SettingsAiModelHoverCard.tsx+++ b/packages/twenty-front/src/modules/settings/ai/components/SettingsAiModelHoverCard.tsx@@ -1,7 +1,7 @@import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';import { useContext } from 'react';-import { Chip } from 'twenty-ui/data-display';+import { Chip } from 'twenty-ui/primitives/data-display';import {IconBolt,IconBuildingSkyscraper,diff --git a/packages/twenty-front/src/modules/settings/ai/components/SettingsAiModelsTable.tsx b/packages/twenty-front/src/modules/settings/ai/components/SettingsAiModelsTable.tsxindex 1ae7057c213..e1c33aef92a 100644--- a/packages/twenty-front/src/modules/settings/ai/components/SettingsAiModelsTable.tsx+++ b/packages/twenty-front/src/modules/settings/ai/components/SettingsAiModelsTable.tsx@@ -5,8 +5,8 @@ import { styled } from '@linaria/react';import { Trans } from '@lingui/react/macro';import { isDefined } from 'twenty-shared/utils';import { IconTrash } from 'twenty-ui/icon';-import { AppTooltip, TooltipDelay } from 'twenty-ui/surfaces';-import { Checkbox, IconButton } from 'twenty-ui/input';+import { AppTooltip, TooltipDelay } from 'twenty-ui/primitives/surfaces';+import { Checkbox, IconButton } from 'twenty-ui/primitives/input';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';import { SettingsAiModelHoverCard } from '@/settings/ai/components/SettingsAiModelHoverCard';diff --git a/packages/twenty-front/src/modules/settings/applications/components/SettingsApplicationAboutSidebar.tsx b/packages/twenty-front/src/modules/settings/applications/components/SettingsApplicationAboutSidebar.tsxindex c8e6aecd7c1..361ce870c8e 100644--- a/packages/twenty-front/src/modules/settings/applications/components/SettingsApplicationAboutSidebar.tsx+++ b/packages/twenty-front/src/modules/settings/applications/components/SettingsApplicationAboutSidebar.tsx@@ -3,7 +3,7 @@ import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';import { type ReactNode } from 'react';import { isDefined } from 'twenty-shared/utils';-import { Tag } from 'twenty-ui/data-display';+import { Tag } from 'twenty-ui/primitives/data-display';import {IconAlertTriangle,IconBrandNpm,diff --git a/packages/twenty-front/src/modules/settings/billing/components/AddCreditCardModal.tsx b/packages/twenty-front/src/modules/settings/billing/components/AddCreditCardModal.tsxindex 1fda35ad1c6..d8a69d82339 100644--- a/packages/twenty-front/src/modules/settings/billing/components/AddCreditCardModal.tsx+++ b/packages/twenty-front/src/modules/settings/billing/components/AddCreditCardModal.tsx@@ -3,9 +3,13 @@ import { ModalStatefulWrapper } from '@/ui/layout/modal/components/ModalStatefulimport { useModal } from '@/ui/layout/modal/hooks/useModal';import { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';-import { Button } from 'twenty-ui/input';-import { Section, SectionAlignment, SectionFontColor } from 'twenty-ui/layout';-import { H1Title, H1TitleFontColor } from 'twenty-ui/typography';+import { Button } from 'twenty-ui/primitives/input';+import {+ Section,+ SectionAlignment,+ SectionFontColor,+} from 'twenty-ui/primitives/layout';+import { H1Title, H1TitleFontColor } from 'twenty-ui/primitives/typography';import { themeCssVariables } from 'twenty-ui/theme-constants';type AddCreditCardModalProps = {diff --git a/packages/twenty-front/src/modules/settings/billing/components/AddPaymentMethodForm.tsx b/packages/twenty-front/src/modules/settings/billing/components/AddPaymentMethodForm.tsxindex c57a6b9644e..b6c3608bb98 100644--- a/packages/twenty-front/src/modules/settings/billing/components/AddPaymentMethodForm.tsx+++ b/packages/twenty-front/src/modules/settings/billing/components/AddPaymentMethodForm.tsx@@ -17,8 +17,8 @@ import {import { useState } from 'react';import { useLocation } from 'react-router-dom';import { isDefined } from 'twenty-shared/utils';-import { Info } from 'twenty-ui/feedback';-import { Button } from 'twenty-ui/input';+import { Info } from 'twenty-ui/primitives/feedback';+import { Button } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';import { CreateBillingPaymentMethodSetupIntentDocument } from '~/generated-metadata/graphql';diff --git a/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingContent.tsx b/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingContent.tsxindex 15e27e99183..048536d4c16 100644--- a/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingContent.tsx+++ b/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingContent.tsx@@ -13,9 +13,9 @@ import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateimport { useSubscriptionStatus } from '@/workspace/hooks/useSubscriptionStatus';import { isDefined } from 'twenty-shared/utils';import { IconCircleX, IconCreditCard } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { Button } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Button } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';import { SubscriptionStatus } from '~/generated-metadata/graphql';const SETTINGS_BILLING_UPDATE_PAYMENT_MODAL_ID =diff --git a/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingCreditsSection.tsx b/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingCreditsSection.tsxindex 11d1287e2a9..6927eba2ce6 100644--- a/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingCreditsSection.tsx+++ b/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingCreditsSection.tsx@@ -27,11 +27,11 @@ import {IconExternalLink,IconInfoCircle,} from 'twenty-ui/icon';-import { ProgressBar } from 'twenty-ui/feedback';-import { Button } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';-import { UndecoratedLink } from 'twenty-ui/navigation';-import { H2Title } from 'twenty-ui/typography';+import { ProgressBar } from 'twenty-ui/primitives/feedback';+import { Button } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';+import { UndecoratedLink } from 'twenty-ui/primitives/navigation';+import { H2Title } from 'twenty-ui/primitives/typography';import { themeCssVariables, useTheme } from 'twenty-ui/theme-constants';import {PermissionFlagType,diff --git a/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingLimitEditForm.tsx b/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingLimitEditForm.tsxindex 63ce92ced73..2028087e40d 100644--- a/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingLimitEditForm.tsx+++ b/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingLimitEditForm.tsx@@ -4,9 +4,9 @@ import { useState } from 'react';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath, isDefined } from 'twenty-shared/utils';import { IconTrash } from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';-import { H2Title } from 'twenty-ui/typography';+import { Button } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';+import { H2Title } from 'twenty-ui/primitives/typography';import { SettingsBillingLimitForm } from '@/settings/billing/components/SettingsBillingLimitForm';import { useDeleteUsageLimit } from '@/settings/billing/hooks/useDeleteUsageLimit';diff --git a/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingLimitForm.tsx b/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingLimitForm.tsxindex 420e2f5942d..ee054d3027d 100644--- a/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingLimitForm.tsx+++ b/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingLimitForm.tsx@@ -2,10 +2,10 @@ import { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';import { INTERNAL_CREDITS_PER_DISPLAY_CREDIT } from 'twenty-shared/constants';import { isDefined } from 'twenty-shared/utils';-import { Section } from 'twenty-ui/layout';-import { AppTooltip, TooltipDelay } from 'twenty-ui/surfaces';+import { Section } from 'twenty-ui/primitives/layout';+import { AppTooltip, TooltipDelay } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';-import { H2Title } from 'twenty-ui/typography';+import { H2Title } from 'twenty-ui/primitives/typography';import { SettingsBillingLimitUsageSelect } from '@/settings/billing/components/SettingsBillingLimitUsageSelect';import { SettingsBillingLimitAmount } from '@/settings/billing/components/internal/SettingsBillingLimitAmount';diff --git a/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingLimitSpenderCell.tsx b/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingLimitSpenderCell.tsxindex 32295837cba..3e2fe39835b 100644--- a/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingLimitSpenderCell.tsx+++ b/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingLimitSpenderCell.tsx@@ -1,6 +1,6 @@import { styled } from '@linaria/react';import { useContext } from 'react';-import { Avatar } from 'twenty-ui/data-display';+import { Avatar } from 'twenty-ui/primitives/data-display';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';import { currentWorkspaceState } from '@/auth/states/currentWorkspaceState';diff --git a/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingLimitSpenderSelect.tsx b/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingLimitSpenderSelect.tsxindex 094421e65b4..ca8f97ae14a 100644--- a/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingLimitSpenderSelect.tsx+++ b/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingLimitSpenderSelect.tsx@@ -1,9 +1,12 @@import { useLingui } from '@lingui/react/macro';import { useState } from 'react';import { isDefined } from 'twenty-shared/utils';-import { Avatar } from 'twenty-ui/data-display';+import { Avatar } from 'twenty-ui/primitives/data-display';import { IconChevronLeft } from 'twenty-ui/icon';-import { MenuItemSelect, MenuItemSelectAvatar } from 'twenty-ui/navigation';+import {+ MenuItemSelect,+ MenuItemSelectAvatar,+} from 'twenty-ui/primitives/navigation';import { currentWorkspaceState } from '@/auth/states/currentWorkspaceState';import { SettingsBillingLimitNestedSelect } from '@/settings/billing/components/internal/SettingsBillingLimitNestedSelect';diff --git a/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingLimitUsageSelect.tsx b/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingLimitUsageSelect.tsxindex ce078a0b420..8f1b26f82e1 100644--- a/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingLimitUsageSelect.tsx+++ b/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingLimitUsageSelect.tsx@@ -2,7 +2,7 @@ import { useLingui } from '@lingui/react/macro';import { useState } from 'react';import { isDefined } from 'twenty-shared/utils';import { IconChevronLeft } from 'twenty-ui/icon';-import { MenuItemSelect } from 'twenty-ui/navigation';+import { MenuItemSelect } from 'twenty-ui/primitives/navigation';import { SettingsBillingLimitNestedSelect } from '@/settings/billing/components/internal/SettingsBillingLimitNestedSelect';import { USAGE_LIMIT_OPERATION_TYPE_ICONS } from '@/settings/billing/constants/UsageLimitOperationTypeIcons';diff --git a/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingLimitsContent.tsx b/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingLimitsContent.tsxindex 48ef42c472c..547091c5b68 100644--- a/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingLimitsContent.tsx+++ b/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingLimitsContent.tsx@@ -2,8 +2,8 @@ import { useLingui } from '@lingui/react/macro';import { Navigate } from 'react-router-dom';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath, isDefined } from 'twenty-shared/utils';-import { Section } from 'twenty-ui/layout';-import { H2Title } from 'twenty-ui/typography';+import { Section } from 'twenty-ui/primitives/layout';+import { H2Title } from 'twenty-ui/primitives/typography';import { SettingsBillingLimitsTable } from '@/settings/billing/components/SettingsBillingLimitsTable';import { useUsageQuotasWithConsumption } from '@/settings/billing/hooks/useUsageQuotasWithConsumption';diff --git a/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingLimitsFilterDropdown.tsx b/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingLimitsFilterDropdown.tsxindex f40fe565a09..eac2e81185b 100644--- a/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingLimitsFilterDropdown.tsx+++ b/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingLimitsFilterDropdown.tsx@@ -8,7 +8,7 @@ import {IconTrash,IconUsers,} from 'twenty-ui/icon';-import { MenuItem, MenuItemSelect } from 'twenty-ui/navigation';+import { MenuItem, MenuItemSelect } from 'twenty-ui/primitives/navigation';import { USAGE_LIMIT_RESOURCE_TYPE_ICONS } from '@/settings/billing/constants/UsageLimitResourceTypeIcons';import { USAGE_LIMIT_RESOURCE_TYPE_LABELS } from '@/settings/billing/constants/UsageLimitResourceTypeLabels';diff --git a/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingLimitsTable.tsx b/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingLimitsTable.tsxindex ced03919fab..a1525cac7ec 100644--- a/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingLimitsTable.tsx+++ b/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingLimitsTable.tsx@@ -3,8 +3,8 @@ import { useLingui } from '@lingui/react/macro';import { type ReactNode, useContext, useState } from 'react';import { SettingsPath } from 'twenty-shared/types';import { isDefined } from 'twenty-shared/utils';-import { SearchInput } from 'twenty-ui/input';-import { AppTooltip, TooltipDelay } from 'twenty-ui/surfaces';+import { SearchInput } from 'twenty-ui/primitives/input';+import { AppTooltip, TooltipDelay } from 'twenty-ui/primitives/surfaces';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';import { SettingsBillingLimitSpenderCell } from '@/settings/billing/components/SettingsBillingLimitSpenderCell';diff --git a/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingPlansErrorState.tsx b/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingPlansErrorState.tsxindex b86b87b9728..48f80024675 100644--- a/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingPlansErrorState.tsx+++ b/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingPlansErrorState.tsx@@ -5,9 +5,9 @@ import {AnimatedPlaceholderErrorSubTitle,AnimatedPlaceholderErrorTextContainer,AnimatedPlaceholderErrorTitle,-} from 'twenty-ui/feedback';+} from 'twenty-ui/primitives/feedback';import { IconRefresh } from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';+import { Button } from 'twenty-ui/primitives/input';type SettingsBillingPlansErrorStateProps = {onRetry: () => void;diff --git a/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingSubscriptionInfo.tsx b/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingSubscriptionInfo.tsxindex df644bbbf62..e76d4ec53b3 100644--- a/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingSubscriptionInfo.tsx+++ b/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingSubscriptionInfo.tsx@@ -30,8 +30,8 @@ import { useLingui } from '@lingui/react/macro';import { useState } from 'react';import { isDefined } from 'twenty-shared/utils';import { IconClockPlay, IconCoins, IconTag } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Section } from 'twenty-ui/primitives/layout';import {BillingPlanKey,CancelSwitchBillingIntervalDocument,diff --git a/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingTabBar.tsx b/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingTabBar.tsxindex e5cc5f5babc..4853d22d735 100644--- a/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingTabBar.tsx+++ b/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingTabBar.tsx@@ -6,7 +6,7 @@ import { styled } from '@linaria/react';import { matchPath, useLocation } from 'react-router-dom';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath } from 'twenty-shared/utils';-import { TabButton } from 'twenty-ui/input';+import { TabButton } from 'twenty-ui/primitives/input';import { IconColorSwatch, IconCreditCard, IconGauge } from 'twenty-ui/icon';const StyledTabBar = styled.div`diff --git a/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingTrialNoPaymentMethodBanner.tsx b/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingTrialNoPaymentMethodBanner.tsxindex 63a39afd9b0..cecb75f0fcb 100644--- a/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingTrialNoPaymentMethodBanner.tsx+++ b/packages/twenty-front/src/modules/settings/billing/components/SettingsBillingTrialNoPaymentMethodBanner.tsx@@ -6,7 +6,7 @@ import { useQuery } from '@apollo/client/react';import { t } from '@lingui/core/macro';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath, isDefined } from 'twenty-shared/utils';-import { InlineBanner } from 'twenty-ui/feedback';+import { InlineBanner } from 'twenty-ui/primitives/feedback';import {BillingPlanKey,BillingPortalSessionDocument,diff --git a/packages/twenty-front/src/modules/settings/billing/components/UpdatePaymentMethodModal.tsx b/packages/twenty-front/src/modules/settings/billing/components/UpdatePaymentMethodModal.tsxindex 778f2f4db21..513c0b68c64 100644--- a/packages/twenty-front/src/modules/settings/billing/components/UpdatePaymentMethodModal.tsx+++ b/packages/twenty-front/src/modules/settings/billing/components/UpdatePaymentMethodModal.tsx@@ -8,10 +8,14 @@ import { useModal } from '@/ui/layout/modal/hooks/useModal';import { useSubscriptionStatus } from '@/workspace/hooks/useSubscriptionStatus';import { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';-import { Button } from 'twenty-ui/input';-import { Section, SectionAlignment, SectionFontColor } from 'twenty-ui/layout';+import { Button } from 'twenty-ui/primitives/input';+import {+ Section,+ SectionAlignment,+ SectionFontColor,+} from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';-import { H1Title, H1TitleFontColor } from 'twenty-ui/typography';+import { H1Title, H1TitleFontColor } from 'twenty-ui/primitives/typography';type UpdatePaymentMethodModalProps = {modalInstanceId: string;diff --git a/packages/twenty-front/src/modules/settings/billing/components/internal/PlansTags.tsx b/packages/twenty-front/src/modules/settings/billing/components/internal/PlansTags.tsxindex fbdaee492d3..e8a96d42e2e 100644--- a/packages/twenty-front/src/modules/settings/billing/components/internal/PlansTags.tsx+++ b/packages/twenty-front/src/modules/settings/billing/components/internal/PlansTags.tsx@@ -1,5 +1,5 @@import React from 'react';-import { Tag } from 'twenty-ui/data-display';+import { Tag } from 'twenty-ui/primitives/data-display';import { t } from '@lingui/core/macro';import { BillingPlanKey } from '~/generated-metadata/graphql';import { styled } from '@linaria/react';diff --git a/packages/twenty-front/src/modules/settings/billing/components/internal/ResourceCreditPackagePickerModal.tsx b/packages/twenty-front/src/modules/settings/billing/components/internal/ResourceCreditPackagePickerModal.tsxindex d67bdfe2ca7..b369a8e1da6 100644--- a/packages/twenty-front/src/modules/settings/billing/components/internal/ResourceCreditPackagePickerModal.tsx+++ b/packages/twenty-front/src/modules/settings/billing/components/internal/ResourceCreditPackagePickerModal.tsx@@ -12,11 +12,15 @@ import {IconRefreshDot,IconSparkles,} from 'twenty-ui/icon';-import { Button, Slider } from 'twenty-ui/input';-import { Section, SectionAlignment, SectionFontColor } from 'twenty-ui/layout';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';+import { Button, Slider } from 'twenty-ui/primitives/input';+import {+ Section,+ SectionAlignment,+ SectionFontColor,+} from 'twenty-ui/primitives/layout';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';import { themeCssVariables, useTheme } from 'twenty-ui/theme-constants';-import { H1Title, H1TitleFontColor } from 'twenty-ui/typography';+import { H1Title, H1TitleFontColor } from 'twenty-ui/primitives/typography';const PACKAGE_SUMMARY_ROW_HEIGHT = 24;const PACKAGE_SUMMARY_ROW_GAP = 4;diff --git a/packages/twenty-front/src/modules/settings/billing/components/internal/ResourceCreditPriceSelector.tsx b/packages/twenty-front/src/modules/settings/billing/components/internal/ResourceCreditPriceSelector.tsxindex 44bd708e946..c77c365857c 100644--- a/packages/twenty-front/src/modules/settings/billing/components/internal/ResourceCreditPriceSelector.tsx+++ b/packages/twenty-front/src/modules/settings/billing/components/internal/ResourceCreditPriceSelector.tsx@@ -20,7 +20,7 @@ import {IconCircleX,IconCreditCard,} from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';+import { Button } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';import {SetResourceCreditSubscriptionPriceDocument,diff --git a/packages/twenty-front/src/modules/settings/billing/components/internal/SettingsBillingCardField.tsx b/packages/twenty-front/src/modules/settings/billing/components/internal/SettingsBillingCardField.tsxindex 2520aecfec7..07c516ae3d3 100644--- a/packages/twenty-front/src/modules/settings/billing/components/internal/SettingsBillingCardField.tsx+++ b/packages/twenty-front/src/modules/settings/billing/components/internal/SettingsBillingCardField.tsx@@ -1,7 +1,7 @@import { styled } from '@linaria/react';import { type ReactNode } from 'react';import { type TablerIconsProps } from 'twenty-ui/icon';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';import { themeCssVariables, useTheme } from 'twenty-ui/theme-constants';const StyledBillingFieldRow = styled.div`diff --git a/packages/twenty-front/src/modules/settings/billing/components/internal/SettingsBillingLabelValueItem.tsx b/packages/twenty-front/src/modules/settings/billing/components/internal/SettingsBillingLabelValueItem.tsxindex 801f0dc5e62..5d55c8440c9 100644--- a/packages/twenty-front/src/modules/settings/billing/components/internal/SettingsBillingLabelValueItem.tsx+++ b/packages/twenty-front/src/modules/settings/billing/components/internal/SettingsBillingLabelValueItem.tsx@@ -1,7 +1,7 @@import { styled } from '@linaria/react';import { type ReactNode } from 'react';import { IconInfoCircle } from 'twenty-ui/icon';-import { AppTooltip, TooltipDelay } from 'twenty-ui/surfaces';+import { AppTooltip, TooltipDelay } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';type SettingsBillingLabelValueItemProps = {diff --git a/packages/twenty-front/src/modules/settings/billing/components/internal/SettingsBillingPlanComparisonTable.tsx b/packages/twenty-front/src/modules/settings/billing/components/internal/SettingsBillingPlanComparisonTable.tsxindex f7d04ee8b25..974e4d499f1 100644--- a/packages/twenty-front/src/modules/settings/billing/components/internal/SettingsBillingPlanComparisonTable.tsx+++ b/packages/twenty-front/src/modules/settings/billing/components/internal/SettingsBillingPlanComparisonTable.tsx@@ -14,7 +14,7 @@ import {Button,SegmentedControl,type SegmentedControlOption,-} from 'twenty-ui/input';+} from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';import {BillingPlanKey,diff --git a/packages/twenty-front/src/modules/settings/billing/components/internal/SettingsBillingSubscriptionInfoCardHeaderActions.tsx b/packages/twenty-front/src/modules/settings/billing/components/internal/SettingsBillingSubscriptionInfoCardHeaderActions.tsxindex 15d589a5cf1..36f17a839f7 100644--- a/packages/twenty-front/src/modules/settings/billing/components/internal/SettingsBillingSubscriptionInfoCardHeaderActions.tsx+++ b/packages/twenty-front/src/modules/settings/billing/components/internal/SettingsBillingSubscriptionInfoCardHeaderActions.tsx@@ -7,7 +7,7 @@ import {IconColorSwatch,IconCreditCard,} from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';+import { Button } from 'twenty-ui/primitives/input';export type SettingsBillingSubscriptionInfoCardHeaderActionsProps = {canCancelIntervalSwitch: boolean;diff --git a/packages/twenty-front/src/modules/settings/billing/types/settingsBillingPlanAction.type.ts b/packages/twenty-front/src/modules/settings/billing/types/settingsBillingPlanAction.type.tsindex b176332fe7b..507aa7ebd43 100644--- a/packages/twenty-front/src/modules/settings/billing/types/settingsBillingPlanAction.type.ts+++ b/packages/twenty-front/src/modules/settings/billing/types/settingsBillingPlanAction.type.ts@@ -1,5 +1,8 @@import { type IconComponent } from 'twenty-ui/icon';-import { type ButtonAccent, type ButtonVariant } from 'twenty-ui/input';+import {+ type ButtonAccent,+ type ButtonVariant,+} from 'twenty-ui/primitives/input';export type SettingsBillingPlanAction = {accent?: ButtonAccent;diff --git a/packages/twenty-front/src/modules/settings/components/AdvancedSettingsWrapper.tsx b/packages/twenty-front/src/modules/settings/components/AdvancedSettingsWrapper.tsxindex 809c2182c83..8fcbf8932c6 100644--- a/packages/twenty-front/src/modules/settings/components/AdvancedSettingsWrapper.tsx+++ b/packages/twenty-front/src/modules/settings/components/AdvancedSettingsWrapper.tsx@@ -3,7 +3,7 @@ import { ADVANCED_SETTINGS_ANIMATION_DURATION } from '@/settings/constants/Advanimport { isAdvancedModeEnabledState } from '@/ui/navigation/navigation-drawer/states/isAdvancedModeEnabledState';import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';import { styled } from '@linaria/react';-import { AnimatedExpandableContainer } from 'twenty-ui/layout';+import { AnimatedExpandableContainer } from 'twenty-ui/primitives/layout';const StyledContent = styled.div`width: 100%;diff --git a/packages/twenty-front/src/modules/settings/components/SaveAndCancelButtons/CancelButton.tsx b/packages/twenty-front/src/modules/settings/components/SaveAndCancelButtons/CancelButton.tsxindex 80582641a06..bc2d1036c55 100644--- a/packages/twenty-front/src/modules/settings/components/SaveAndCancelButtons/CancelButton.tsx+++ b/packages/twenty-front/src/modules/settings/components/SaveAndCancelButtons/CancelButton.tsx@@ -1,5 +1,5 @@import { useLingui } from '@lingui/react/macro';-import { Button, LightButton } from 'twenty-ui/input';+import { Button, LightButton } from 'twenty-ui/primitives/input';type CancelButtonProps = {onCancel?: () => void;diff --git a/packages/twenty-front/src/modules/settings/components/SaveAndCancelButtons/SaveButton.tsx b/packages/twenty-front/src/modules/settings/components/SaveAndCancelButtons/SaveButton.tsxindex 0efca29624e..3b8b19f06fb 100644--- a/packages/twenty-front/src/modules/settings/components/SaveAndCancelButtons/SaveButton.tsx+++ b/packages/twenty-front/src/modules/settings/components/SaveAndCancelButtons/SaveButton.tsx@@ -1,6 +1,6 @@import { t } from '@lingui/core/macro';import { type IconComponent, IconDeviceFloppy } from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';+import { Button } from 'twenty-ui/primitives/input';type SaveButtonProps = {onSave?: () => void;diff --git a/packages/twenty-front/src/modules/settings/components/SettingsCard.tsx b/packages/twenty-front/src/modules/settings/components/SettingsCard.tsxindex 9847efcfe48..d530678126c 100644--- a/packages/twenty-front/src/modules/settings/components/SettingsCard.tsx+++ b/packages/twenty-front/src/modules/settings/components/SettingsCard.tsx@@ -2,9 +2,9 @@ import { styled } from '@linaria/react';import { type ReactNode, useContext } from 'react';import { t } from '@lingui/core/macro';-import { Card, CardContent } from 'twenty-ui/surfaces';+import { Card, CardContent } from 'twenty-ui/primitives/surfaces';import { IconChevronRight } from 'twenty-ui/icon';-import { Pill } from 'twenty-ui/data-display';+import { Pill } from 'twenty-ui/primitives/data-display';import { isDefined } from 'twenty-shared/utils';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';diff --git a/packages/twenty-front/src/modules/settings/components/SettingsCounter.tsx b/packages/twenty-front/src/modules/settings/components/SettingsCounter.tsxindex be2ba4d91f6..b31f4066624 100644--- a/packages/twenty-front/src/modules/settings/components/SettingsCounter.tsx+++ b/packages/twenty-front/src/modules/settings/components/SettingsCounter.tsx@@ -1,7 +1,7 @@import { SettingsTextInput } from '@/ui/input/components/SettingsTextInput';import { styled } from '@linaria/react';import { IconMinus, IconPlus } from 'twenty-ui/icon';-import { IconButton } from 'twenty-ui/input';+import { IconButton } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';import { castAsNumberOrNull } from '~/utils/cast-as-number-or-null';diff --git a/packages/twenty-front/src/modules/settings/components/SettingsCustomizeVideoModal.tsx b/packages/twenty-front/src/modules/settings/components/SettingsCustomizeVideoModal.tsxindex 1c8b819d98d..2e489b3d33e 100644--- a/packages/twenty-front/src/modules/settings/components/SettingsCustomizeVideoModal.tsx+++ b/packages/twenty-front/src/modules/settings/components/SettingsCustomizeVideoModal.tsx@@ -4,7 +4,7 @@ import { TabList } from '@/ui/layout/tab-list/components/TabList';import { styled } from '@linaria/react';import { useState } from 'react';import { type IconComponent, IconX } from 'twenty-ui/icon';-import { IconButton } from 'twenty-ui/input';+import { IconButton } from 'twenty-ui/primitives/input';import { themeCssVariables, useTheme } from 'twenty-ui/theme-constants';export type SettingsCustomizeVideoModalTab = {diff --git a/packages/twenty-front/src/modules/settings/components/SettingsDatabaseEventsForm.tsx b/packages/twenty-front/src/modules/settings/components/SettingsDatabaseEventsForm.tsxindex b9b7494398a..fcb0a648662 100644--- a/packages/twenty-front/src/modules/settings/components/SettingsDatabaseEventsForm.tsx+++ b/packages/twenty-front/src/modules/settings/components/SettingsDatabaseEventsForm.tsx@@ -5,7 +5,7 @@ import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';import { isDefined } from 'twenty-shared/utils';import { IconBox, IconNorthStar, IconPlus, IconTrash } from 'twenty-ui/icon';-import { IconButton, type SelectOption } from 'twenty-ui/input';+import { IconButton, type SelectOption } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';const OBJECT_DROPDOWN_WIDTH = 240;diff --git a/packages/twenty-front/src/modules/settings/components/SettingsDiscoveryHeroCard.tsx b/packages/twenty-front/src/modules/settings/components/SettingsDiscoveryHeroCard.tsxindex 0a0f8b00cae..9e27cf2e654 100644--- a/packages/twenty-front/src/modules/settings/components/SettingsDiscoveryHeroCard.tsx+++ b/packages/twenty-front/src/modules/settings/components/SettingsDiscoveryHeroCard.tsx@@ -7,7 +7,7 @@ import { useModal } from '@/ui/layout/modal/hooks/useModal';import { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';import { type ReactNode, useContext } from 'react';-import { Card } from 'twenty-ui/surfaces';+import { Card } from 'twenty-ui/primitives/surfaces';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';const DEFAULT_COVER_HEIGHT = 150;diff --git a/packages/twenty-front/src/modules/settings/components/SettingsDiscoveryHeroCardFooter.tsx b/packages/twenty-front/src/modules/settings/components/SettingsDiscoveryHeroCardFooter.tsxindex 6c648b9eae9..29a1f114d50 100644--- a/packages/twenty-front/src/modules/settings/components/SettingsDiscoveryHeroCardFooter.tsx+++ b/packages/twenty-front/src/modules/settings/components/SettingsDiscoveryHeroCardFooter.tsx@@ -2,7 +2,7 @@ import { styled } from '@linaria/react';import { type ReactNode, useContext } from 'react';import { isDefined } from 'twenty-shared/utils';import { type IconComponent } from 'twenty-ui/icon';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';const StyledContent = styled.div`diff --git a/packages/twenty-front/src/modules/settings/components/SettingsDnsRecordsTable.tsx b/packages/twenty-front/src/modules/settings/components/SettingsDnsRecordsTable.tsxindex 6cf3a8b2fce..968ef0e8cef 100644--- a/packages/twenty-front/src/modules/settings/components/SettingsDnsRecordsTable.tsx+++ b/packages/twenty-front/src/modules/settings/components/SettingsDnsRecordsTable.tsx@@ -6,7 +6,7 @@ import { TableRow } from '@/ui/layout/table/components/TableRow';import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';import { capitalize, isDefined } from 'twenty-shared/utils';-import { Status } from 'twenty-ui/data-display';+import { Status } from 'twenty-ui/primitives/data-display';import { type ThemeColor } from 'twenty-ui/theme';import { themeCssVariables } from 'twenty-ui/theme-constants';import { useCopyToClipboard } from '~/hooks/useCopyToClipboard';diff --git a/packages/twenty-front/src/modules/settings/components/SettingsEnterpriseFeatureGateCard.tsx b/packages/twenty-front/src/modules/settings/components/SettingsEnterpriseFeatureGateCard.tsxindex 5f7101bccc6..b6d23912a2e 100644--- a/packages/twenty-front/src/modules/settings/components/SettingsEnterpriseFeatureGateCard.tsx+++ b/packages/twenty-front/src/modules/settings/components/SettingsEnterpriseFeatureGateCard.tsx@@ -4,8 +4,8 @@ import { SettingsOptionCardContentButton } from '@/settings/components/SettingsOimport { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';import { SettingsPath } from 'twenty-shared/types';import { IconArrowUp, IconLock } from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';-import { Card } from 'twenty-ui/surfaces';+import { Button } from 'twenty-ui/primitives/input';+import { Card } from 'twenty-ui/primitives/surfaces';import { useNavigateSettings } from '~/hooks/useNavigateSettings';export const SettingsEnterpriseFeatureGateCard = ({diff --git a/packages/twenty-front/src/modules/settings/components/SettingsItemTypeTag.tsx b/packages/twenty-front/src/modules/settings/components/SettingsItemTypeTag.tsxindex 3b3e49db4af..71c3493b586 100644--- a/packages/twenty-front/src/modules/settings/components/SettingsItemTypeTag.tsx+++ b/packages/twenty-front/src/modules/settings/components/SettingsItemTypeTag.tsx@@ -1,7 +1,7 @@import { t } from '@lingui/core/macro';import { AppChip } from '@/applications/components/AppChip';-import { Avatar, Chip } from 'twenty-ui/data-display';+import { Avatar, Chip } from 'twenty-ui/primitives/data-display';import { isDefined } from 'twenty-shared/utils';type SettingsItemTypeTagProps = {diff --git a/packages/twenty-front/src/modules/settings/components/SettingsListCard.tsx b/packages/twenty-front/src/modules/settings/components/SettingsListCard.tsxindex 2e7f841ff93..2610d26c99f 100644--- a/packages/twenty-front/src/modules/settings/components/SettingsListCard.tsx+++ b/packages/twenty-front/src/modules/settings/components/SettingsListCard.tsx@@ -4,7 +4,7 @@ import { type ComponentType, useContext } from 'react';import { SettingsListSkeletonCard } from '@/settings/components/SettingsListSkeletonCard';import { type IconComponent, IconPlus } from 'twenty-ui/icon';-import { Card, CardFooter } from 'twenty-ui/surfaces';+import { Card, CardFooter } from 'twenty-ui/primitives/surfaces';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';import { SettingsListItemCardContent } from './SettingsListItemCardContent';diff --git a/packages/twenty-front/src/modules/settings/components/SettingsListItemCardContent.tsx b/packages/twenty-front/src/modules/settings/components/SettingsListItemCardContent.tsxindex adfc8073399..ed97a257ded 100644--- a/packages/twenty-front/src/modules/settings/components/SettingsListItemCardContent.tsx+++ b/packages/twenty-front/src/modules/settings/components/SettingsListItemCardContent.tsx@@ -3,7 +3,7 @@ import { type ReactNode, useContext } from 'react';import { Link } from 'react-router-dom';import { isDefined } from 'twenty-shared/utils';import { IconChevronRight, type IconComponent } from 'twenty-ui/icon';-import { CardContent } from 'twenty-ui/surfaces';+import { CardContent } from 'twenty-ui/primitives/surfaces';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';const StyledRowContainer = styled.div`diff --git a/packages/twenty-front/src/modules/settings/components/SettingsListSkeletonCard.tsx b/packages/twenty-front/src/modules/settings/components/SettingsListSkeletonCard.tsxindex 0d59a58e86d..7f478fd111c 100644--- a/packages/twenty-front/src/modules/settings/components/SettingsListSkeletonCard.tsx+++ b/packages/twenty-front/src/modules/settings/components/SettingsListSkeletonCard.tsx@@ -1,5 +1,5 @@import { styled } from '@linaria/react';-import { Card } from 'twenty-ui/surfaces';+import { Card } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledCardContainer = styled.div`diff --git a/packages/twenty-front/src/modules/settings/components/SettingsMorphRelationMultiSelect.tsx b/packages/twenty-front/src/modules/settings/components/SettingsMorphRelationMultiSelect.tsxindex de950575fea..a2104626be9 100644--- a/packages/twenty-front/src/modules/settings/components/SettingsMorphRelationMultiSelect.tsx+++ b/packages/twenty-front/src/modules/settings/components/SettingsMorphRelationMultiSelect.tsx@@ -25,7 +25,7 @@ import { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useimport { isNonEmptyString } from '@sniptt/guards';import { isDefined } from 'twenty-shared/utils';import { IconBox, type IconComponent } from 'twenty-ui/icon';-import { MenuItem, MenuItemMultiSelect } from 'twenty-ui/navigation';+import { MenuItem, MenuItemMultiSelect } from 'twenty-ui/primitives/navigation';import { themeCssVariables } from 'twenty-ui/theme-constants';export type SelectSizeVariant = 'small' | 'default';diff --git a/packages/twenty-front/src/modules/settings/components/SettingsOptions/SettingsOptionCardContentButton.tsx b/packages/twenty-front/src/modules/settings/components/SettingsOptions/SettingsOptionCardContentButton.tsxindex d4b72a288f0..71a8d0ea759 100644--- a/packages/twenty-front/src/modules/settings/components/SettingsOptions/SettingsOptionCardContentButton.tsx+++ b/packages/twenty-front/src/modules/settings/components/SettingsOptions/SettingsOptionCardContentButton.tsx@@ -8,7 +8,7 @@ import {import { SettingsOptionIconCustomizer } from '@/settings/components/SettingsOptions/SettingsOptionIconCustomizer';import { styled } from '@linaria/react';import { type IconComponent } from 'twenty-ui/icon';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';import { isDefined } from 'twenty-shared/utils';type SettingsOptionCardContentButtonProps = {diff --git a/packages/twenty-front/src/modules/settings/components/SettingsOptions/SettingsOptionCardContentCounter.tsx b/packages/twenty-front/src/modules/settings/components/SettingsOptions/SettingsOptionCardContentCounter.tsxindex e270617a3a6..1168be697bf 100644--- a/packages/twenty-front/src/modules/settings/components/SettingsOptions/SettingsOptionCardContentCounter.tsx+++ b/packages/twenty-front/src/modules/settings/components/SettingsOptions/SettingsOptionCardContentCounter.tsx@@ -8,7 +8,7 @@ import {} from '@/settings/components/SettingsOptions/SettingsCardContentBase';import { SettingsOptionIconCustomizer } from '@/settings/components/SettingsOptions/SettingsOptionIconCustomizer';import { type IconComponent } from 'twenty-ui/icon';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';type SettingsOptionCardContentCounterProps = {Icon?: IconComponent;diff --git a/packages/twenty-front/src/modules/settings/components/SettingsOptions/SettingsOptionCardContentSelect.tsx b/packages/twenty-front/src/modules/settings/components/SettingsOptions/SettingsOptionCardContentSelect.tsxindex a6d0f8ba8d5..1d9601697f6 100644--- a/packages/twenty-front/src/modules/settings/components/SettingsOptions/SettingsOptionCardContentSelect.tsx+++ b/packages/twenty-front/src/modules/settings/components/SettingsOptions/SettingsOptionCardContentSelect.tsx@@ -10,7 +10,7 @@ import { SettingsOptionIconCustomizer } from '@/settings/components/SettingsOptiimport { styled } from '@linaria/react';import { type IconComponent } from 'twenty-ui/icon';import { isDefined } from 'twenty-shared/utils';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';type SettingsOptionCardContentSelectProps = {diff --git a/packages/twenty-front/src/modules/settings/components/SettingsOptions/SettingsOptionCardContentSwitch.tsx b/packages/twenty-front/src/modules/settings/components/SettingsOptions/SettingsOptionCardContentSwitch.tsxindex f5d188593cc..12d1b4a227d 100644--- a/packages/twenty-front/src/modules/settings/components/SettingsOptions/SettingsOptionCardContentSwitch.tsx+++ b/packages/twenty-front/src/modules/settings/components/SettingsOptions/SettingsOptionCardContentSwitch.tsx@@ -9,8 +9,8 @@ import { SettingsOptionIconCustomizer } from '@/settings/components/SettingsOptiimport { styled } from '@linaria/react';import { useId } from 'react';import { type IconComponent } from 'twenty-ui/icon';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';-import { Switch } from 'twenty-ui/input';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';+import { Switch } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledSwitch = styled(Switch)`diff --git a/packages/twenty-front/src/modules/settings/components/SettingsPaginationControls.tsx b/packages/twenty-front/src/modules/settings/components/SettingsPaginationControls.tsxindex 04adb3f61cc..c5394cb6eb1 100644--- a/packages/twenty-front/src/modules/settings/components/SettingsPaginationControls.tsx+++ b/packages/twenty-front/src/modules/settings/components/SettingsPaginationControls.tsx@@ -1,7 +1,7 @@import { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';import { isDefined } from 'twenty-shared/utils';-import { Button } from 'twenty-ui/input';+import { Button } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';type SettingsPaginationControlsProps = {diff --git a/packages/twenty-front/src/modules/settings/components/SettingsRadioCard.tsx b/packages/twenty-front/src/modules/settings/components/SettingsRadioCard.tsxindex ce70ae39041..adbbf109a82 100644--- a/packages/twenty-front/src/modules/settings/components/SettingsRadioCard.tsx+++ b/packages/twenty-front/src/modules/settings/components/SettingsRadioCard.tsx@@ -1,9 +1,9 @@import { styled } from '@linaria/react';import { isNonEmptyString } from '@sniptt/guards';import { useContext, useId } from 'react';-import { CardContent } from 'twenty-ui/surfaces';+import { CardContent } from 'twenty-ui/primitives/surfaces';import { type IconComponent } from 'twenty-ui/icon';-import { Radio } from 'twenty-ui/input';+import { Radio } from 'twenty-ui/primitives/input';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';const StyledRadioCardContentContainer = styled.label`diff --git a/packages/twenty-front/src/modules/settings/components/SettingsRadioCardContainer.tsx b/packages/twenty-front/src/modules/settings/components/SettingsRadioCardContainer.tsxindex 5e8ae643974..fa692e45570 100644--- a/packages/twenty-front/src/modules/settings/components/SettingsRadioCardContainer.tsx+++ b/packages/twenty-front/src/modules/settings/components/SettingsRadioCardContainer.tsx@@ -1,5 +1,5 @@import { styled } from '@linaria/react';-import { RadioGroup } from 'twenty-ui/input';+import { RadioGroup } from 'twenty-ui/primitives/input';import { SettingsRadioCard } from '@/settings/components/SettingsRadioCard';import { type IconComponent } from 'twenty-ui/icon';import { themeCssVariables } from 'twenty-ui/theme-constants';diff --git a/packages/twenty-front/src/modules/settings/components/SettingsRadioSettingsCard.tsx b/packages/twenty-front/src/modules/settings/components/SettingsRadioSettingsCard.tsxindex 96a0c7131e0..5171a8017f0 100644--- a/packages/twenty-front/src/modules/settings/components/SettingsRadioSettingsCard.tsx+++ b/packages/twenty-front/src/modules/settings/components/SettingsRadioSettingsCard.tsx@@ -3,8 +3,8 @@ import { type MessageDescriptor } from '@lingui/core';import { useLingui } from '@lingui/react/macro';import { type ReactNode, useId } from 'react';import { isDefined } from 'twenty-shared/utils';-import { Radio, RadioGroup } from 'twenty-ui/input';-import { Card, CardContent } from 'twenty-ui/surfaces';+import { Radio, RadioGroup } from 'twenty-ui/primitives/input';+import { Card, CardContent } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';type SettingsRadioSettingsCardProps<Option extends { value: string }> = {diff --git a/packages/twenty-front/src/modules/settings/components/SettingsTableCard.tsx b/packages/twenty-front/src/modules/settings/components/SettingsTableCard.tsxindex 223c6133c37..4e9a416b4c3 100644--- a/packages/twenty-front/src/modules/settings/components/SettingsTableCard.tsx+++ b/packages/twenty-front/src/modules/settings/components/SettingsTableCard.tsx@@ -4,7 +4,10 @@ import { TableRow } from '@/ui/layout/table/components/TableRow';import { useContext } from 'react';import { isDefined } from 'twenty-shared/utils';import { type IconComponent } from 'twenty-ui/icon';-import { Card, OverflowingTextWithTooltip } from 'twenty-ui/surfaces';+import {+ Card,+ OverflowingTextWithTooltip,+} from 'twenty-ui/primitives/surfaces';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';export type TableItem = {diff --git a/packages/twenty-front/src/modules/settings/components/SettingsTableListSection.tsx b/packages/twenty-front/src/modules/settings/components/SettingsTableListSection.tsxindex d717340616b..3f557997ab4 100644--- a/packages/twenty-front/src/modules/settings/components/SettingsTableListSection.tsx+++ b/packages/twenty-front/src/modules/settings/components/SettingsTableListSection.tsx@@ -9,9 +9,9 @@ import { TableCell } from '@/ui/layout/table/components/TableCell';import { TableHeader } from '@/ui/layout/table/components/TableHeader';import { TableRow } from '@/ui/layout/table/components/TableRow';import { IconChevronRight, IconPlus } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { Button } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Button } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledTableRows = styled.div`diff --git a/packages/twenty-front/src/modules/settings/components/layout/SettingsWizardStepBar.tsx b/packages/twenty-front/src/modules/settings/components/layout/SettingsWizardStepBar.tsxindex 463f33a5b79..2cb741d0303 100644--- a/packages/twenty-front/src/modules/settings/components/layout/SettingsWizardStepBar.tsx+++ b/packages/twenty-front/src/modules/settings/components/layout/SettingsWizardStepBar.tsx@@ -1,7 +1,7 @@import { styled } from '@linaria/react';import { type ReactNode } from 'react';import { IconChevronLeft } from 'twenty-ui/icon';-import { LightIconButton } from 'twenty-ui/input';+import { LightIconButton } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';type SettingsWizardStepBarProps = {diff --git a/packages/twenty-front/src/modules/settings/config-variables/components/ConfigVariableEdit.tsx b/packages/twenty-front/src/modules/settings/config-variables/components/ConfigVariableEdit.tsxindex 8705923c9f0..6f1fddacecb 100644--- a/packages/twenty-front/src/modules/settings/config-variables/components/ConfigVariableEdit.tsx+++ b/packages/twenty-front/src/modules/settings/config-variables/components/ConfigVariableEdit.tsx@@ -1,11 +1,11 @@import { styled } from '@linaria/react';import { IconCheck, IconPencil, IconX } from 'twenty-ui/icon';-import { H3Title } from 'twenty-ui/typography';-import { Button } from 'twenty-ui/input';+import { H3Title } from 'twenty-ui/primitives/typography';+import { Button } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';import { ConfirmationModal } from '@/ui/layout/modal/components/ConfirmationModal';import { useLingui } from '@lingui/react/macro';-import { Section } from 'twenty-ui/layout';+import { Section } from 'twenty-ui/primitives/layout';import { SettingsPageContainer } from '@/settings/components/SettingsPageContainer';import { type Dispatch, type SetStateAction, useState } from 'react';import { useSnackBar } from '@/ui/feedback/snack-bar-manager/hooks/useSnackBar';diff --git a/packages/twenty-front/src/modules/settings/config-variables/components/ConfigVariableTable.tsx b/packages/twenty-front/src/modules/settings/config-variables/components/ConfigVariableTable.tsxindex a94405dd721..66c37e8fa3d 100644--- a/packages/twenty-front/src/modules/settings/config-variables/components/ConfigVariableTable.tsx+++ b/packages/twenty-front/src/modules/settings/config-variables/components/ConfigVariableTable.tsx@@ -7,7 +7,7 @@ import { TableHeader } from '@/ui/layout/table/components/TableHeader';import { t } from '@lingui/core/macro';import { TableCell } from '@/ui/layout/table/components/TableCell';import { IconChevronRight } from 'twenty-ui/icon';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';import { useContext } from 'react';const StyledTableBodyContainer = styled.div`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 4d6fd174e6c..25ad229b6d1 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@@ -3,7 +3,7 @@ import { type ReactNode } from 'react';import { StyledFormCardTitle } from '@/settings/data-model/fields/components/StyledFormCardTitle';import { Trans } from '@lingui/react/macro';-import { Card, CardContent } from 'twenty-ui/surfaces';+import { Card, CardContent } from 'twenty-ui/primitives/surfaces';import { isDefined } from 'twenty-shared/utils';import { themeCssVariables } from 'twenty-ui/theme-constants';diff --git a/packages/twenty-front/src/modules/settings/data-model/fields/forms/address/components/MultiSelectAddressFields.tsx b/packages/twenty-front/src/modules/settings/data-model/fields/forms/address/components/MultiSelectAddressFields.tsxindex a990f4a1d25..2f34e92f42e 100644--- a/packages/twenty-front/src/modules/settings/data-model/fields/forms/address/components/MultiSelectAddressFields.tsx+++ b/packages/twenty-front/src/modules/settings/data-model/fields/forms/address/components/MultiSelectAddressFields.tsx@@ -12,8 +12,11 @@ import { SelectableListItem } from '@/ui/layout/selectable-list/components/Selecimport { t } from '@lingui/core/macro';import { type MouseEvent, useMemo, useState } from 'react';import { type IconComponent } from 'twenty-ui/icon';-import { type SelectOption } from 'twenty-ui/input';-import { MenuItem, MenuItemMultiSelectTag } from 'twenty-ui/navigation';+import { type SelectOption } from 'twenty-ui/primitives/input';+import {+ MenuItem,+ MenuItemMultiSelectTag,+} from 'twenty-ui/primitives/navigation';type CallToActionButton = {text: string;diff --git a/packages/twenty-front/src/modules/settings/data-model/fields/forms/address/components/SettingsDataModelFieldAddressForm.tsx b/packages/twenty-front/src/modules/settings/data-model/fields/forms/address/components/SettingsDataModelFieldAddressForm.tsxindex b204d75230a..13e1fc4c6ec 100644--- a/packages/twenty-front/src/modules/settings/data-model/fields/forms/address/components/SettingsDataModelFieldAddressForm.tsx+++ b/packages/twenty-front/src/modules/settings/data-model/fields/forms/address/components/SettingsDataModelFieldAddressForm.tsx@@ -19,7 +19,7 @@ import {IconRefresh,type IconComponentProps,} from 'twenty-ui/icon';-import { type SelectOption } from 'twenty-ui/input';+import { type SelectOption } from 'twenty-ui/primitives/input';import { z } from 'zod';import { applySimpleQuotesToString } from '~/utils/string/applySimpleQuotesToString';import { stripSimpleQuotesFromString } from '~/utils/string/stripSimpleQuotesFromString';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 ce5198d6d41..9fc27c19e1e 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@@ -17,7 +17,7 @@ import { useLingui } from '@lingui/react/macro';import { FieldMetadataType } from 'twenty-shared/types';import { isDefined } from 'twenty-shared/utils';import { IconInfoCircle, IconRefresh } from 'twenty-ui/icon';-import { AppTooltip, Card, TooltipDelay } from 'twenty-ui/surfaces';+import { AppTooltip, Card, TooltipDelay } from 'twenty-ui/primitives/surfaces';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';import { computeMetadataNameFromLabel } from '~/pages/settings/data-model/utils/computeMetadataNameFromLabel';diff --git a/packages/twenty-front/src/modules/settings/data-model/fields/forms/components/SettingsDataModelFieldIsUniqueForm.tsx b/packages/twenty-front/src/modules/settings/data-model/fields/forms/components/SettingsDataModelFieldIsUniqueForm.tsxindex 7099ab5ac1c..5b83ce38f8a 100644--- a/packages/twenty-front/src/modules/settings/data-model/fields/forms/components/SettingsDataModelFieldIsUniqueForm.tsx+++ b/packages/twenty-front/src/modules/settings/data-model/fields/forms/components/SettingsDataModelFieldIsUniqueForm.tsx@@ -7,7 +7,7 @@ import { canBeUnique } from '@/settings/data-model/fields/forms/utils/canBeUniquimport { t } from '@lingui/core/macro';import { type FieldMetadataType } from 'twenty-shared/types';import { IconKey } from 'twenty-ui/icon';-import { Switch } from 'twenty-ui/input';+import { Switch } from 'twenty-ui/primitives/input';type SettingsDataModelFieldIsUniqueFormValues = {isUnique: boolean;diff --git a/packages/twenty-front/src/modules/settings/data-model/fields/forms/components/SettingsObjectNewFieldSelector.tsx b/packages/twenty-front/src/modules/settings/data-model/fields/forms/components/SettingsObjectNewFieldSelector.tsxindex 8cf1bdf56a4..63054266168 100644--- a/packages/twenty-front/src/modules/settings/data-model/fields/forms/components/SettingsObjectNewFieldSelector.tsx+++ b/packages/twenty-front/src/modules/settings/data-model/fields/forms/components/SettingsObjectNewFieldSelector.tsx@@ -12,14 +12,14 @@ import { type SettingsFieldType } from '@/settings/data-model/types/SettingsFielimport { SettingsTextInput } from '@/ui/input/components/SettingsTextInput';import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';-import { Section } from 'twenty-ui/layout';+import { Section } from 'twenty-ui/primitives/layout';import { useContext, useState } from 'react';import { Controller, useFormContext } from 'react-hook-form';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath } from 'twenty-shared/utils';import { IconSearch } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { UndecoratedLink } from 'twenty-ui/navigation';+import { H2Title } from 'twenty-ui/primitives/typography';+import { UndecoratedLink } from 'twenty-ui/primitives/navigation';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';import { FieldMetadataType } from '~/generated-metadata/graphql';import { type SettingsDataModelFieldTypeFormValues } from '~/pages/settings/data-model/new-field/SettingsObjectNewFieldSelect';diff --git a/packages/twenty-front/src/modules/settings/data-model/fields/forms/date/components/SettingsDataModelFieldDateForm.tsx b/packages/twenty-front/src/modules/settings/data-model/fields/forms/date/components/SettingsDataModelFieldDateForm.tsxindex 8cf6727b85a..3758d6c0ca5 100644--- a/packages/twenty-front/src/modules/settings/data-model/fields/forms/date/components/SettingsDataModelFieldDateForm.tsx+++ b/packages/twenty-front/src/modules/settings/data-model/fields/forms/date/components/SettingsDataModelFieldDateForm.tsx@@ -13,7 +13,7 @@ import { SettingsTextInput } from '@/ui/input/components/SettingsTextInput';import { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';import { IconSlash } from 'twenty-ui/icon';-import { AnimatedExpandableContainer } from 'twenty-ui/layout';+import { AnimatedExpandableContainer } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';const fieldDateSettings = z.discriminatedUnion('displayFormat', [diff --git a/packages/twenty-front/src/modules/settings/data-model/fields/forms/select/components/AddSelectOptionMenuItem.tsx b/packages/twenty-front/src/modules/settings/data-model/fields/forms/select/components/AddSelectOptionMenuItem.tsxindex 0505c0fafce..d3e4e66e45d 100644--- a/packages/twenty-front/src/modules/settings/data-model/fields/forms/select/components/AddSelectOptionMenuItem.tsx+++ b/packages/twenty-front/src/modules/settings/data-model/fields/forms/select/components/AddSelectOptionMenuItem.tsx@@ -2,7 +2,7 @@ import { t } from '@lingui/core/macro';import { isNonEmptyString } from '@sniptt/guards';import { isDefined } from 'twenty-shared/utils';import { IconPlus } from 'twenty-ui/icon';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';type AddSelectOptionMenuItemProps = {name: string;diff --git a/packages/twenty-front/src/modules/settings/data-model/fields/forms/select/components/SettingsDataModelFieldSelectForm.tsx b/packages/twenty-front/src/modules/settings/data-model/fields/forms/select/components/SettingsDataModelFieldSelectForm.tsxindex 2aa954ead24..06951a896a9 100644--- a/packages/twenty-front/src/modules/settings/data-model/fields/forms/select/components/SettingsDataModelFieldSelectForm.tsx+++ b/packages/twenty-front/src/modules/settings/data-model/fields/forms/select/components/SettingsDataModelFieldSelectForm.tsx@@ -40,9 +40,9 @@ import {IconPoint,IconTrash,} from 'twenty-ui/icon';-import { LightButton, LightIconButton } from 'twenty-ui/input';-import { CardContent, CardFooter } from 'twenty-ui/surfaces';-import { MenuItem } from 'twenty-ui/navigation';+import { LightButton, LightIconButton } from 'twenty-ui/primitives/input';+import { CardContent, CardFooter } from 'twenty-ui/primitives/surfaces';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';import { SettingsDataModelFieldSelectFormOptionRow } from './SettingsDataModelFieldSelectFormOptionRow';diff --git a/packages/twenty-front/src/modules/settings/data-model/fields/forms/select/components/SettingsDataModelFieldSelectFormOptionRow.tsx b/packages/twenty-front/src/modules/settings/data-model/fields/forms/select/components/SettingsDataModelFieldSelectFormOptionRow.tsxindex 95cf29d395d..c8fafd59f02 100644--- a/packages/twenty-front/src/modules/settings/data-model/fields/forms/select/components/SettingsDataModelFieldSelectFormOptionRow.tsx+++ b/packages/twenty-front/src/modules/settings/data-model/fields/forms/select/components/SettingsDataModelFieldSelectFormOptionRow.tsx@@ -9,7 +9,7 @@ import { useCloseDropdown } from '@/ui/layout/dropdown/hooks/useCloseDropdown';import { styled } from '@linaria/react';import { useContext } from 'react';import { t } from '@lingui/core/macro';-import { ColorSample } from 'twenty-ui/data-display';+import { ColorSample } from 'twenty-ui/primitives/data-display';import {IconCheck,IconDotsVertical,@@ -17,12 +17,12 @@ import {IconTrash,IconX,} from 'twenty-ui/icon';-import { LightIconButton } from 'twenty-ui/input';+import { LightIconButton } from 'twenty-ui/primitives/input';import {type ColorLabels,MenuItem,MenuItemSelectColor,-} from 'twenty-ui/navigation';+} from 'twenty-ui/primitives/navigation';import { computeOptionValueFromLabel } from '~/pages/settings/data-model/utils/computeOptionValueFromLabel';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';import { MAIN_COLOR_NAMES } from 'twenty-ui/theme';diff --git a/packages/twenty-front/src/modules/settings/data-model/fields/preview/components/SettingsDataModelFieldPreviewWidget.tsx b/packages/twenty-front/src/modules/settings/data-model/fields/preview/components/SettingsDataModelFieldPreviewWidget.tsxindex 89ab5f8c871..111b283a282 100644--- a/packages/twenty-front/src/modules/settings/data-model/fields/preview/components/SettingsDataModelFieldPreviewWidget.tsx+++ b/packages/twenty-front/src/modules/settings/data-model/fields/preview/components/SettingsDataModelFieldPreviewWidget.tsx@@ -4,7 +4,7 @@ import { useObjectMetadataItem } from '@/object-metadata/hooks/useObjectMetadataimport { type FieldMetadataItem } from '@/object-metadata/types/FieldMetadataItem';import { SettingsDataModelFieldPreview } from '@/settings/data-model/fields/preview/components/SettingsDataModelFieldPreview';import { SettingsDataModelObjectPreview } from '@/settings/data-model/objects/components/SettingsDataModelObjectSummary';-import { Card, CardContent } from 'twenty-ui/surfaces';+import { Card, CardContent } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';import { computeMetadataNameFromLabel } from '~/pages/settings/data-model/utils/computeMetadataNameFromLabel';diff --git a/packages/twenty-front/src/modules/settings/data-model/fields/preview/components/SettingsDataModelRelationFieldPreviewSubWidget.tsx b/packages/twenty-front/src/modules/settings/data-model/fields/preview/components/SettingsDataModelRelationFieldPreviewSubWidget.tsxindex a2ca71d721f..a5bbac40d92 100644--- a/packages/twenty-front/src/modules/settings/data-model/fields/preview/components/SettingsDataModelRelationFieldPreviewSubWidget.tsx+++ b/packages/twenty-front/src/modules/settings/data-model/fields/preview/components/SettingsDataModelRelationFieldPreviewSubWidget.tsx@@ -5,7 +5,7 @@ import { type FieldMetadataItem } from '@/object-metadata/types/FieldMetadataIteimport { SettingsDataModelRelationFieldPreview } from '@/settings/data-model/fields/preview/components/SettingsDataModelRelationFieldPreview';import { SettingsDataModelObjectPreview } from '@/settings/data-model/objects/components/SettingsDataModelObjectSummary';import { isDefined } from 'twenty-shared/utils';-import { Card, CardContent } from 'twenty-ui/surfaces';+import { Card, CardContent } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';export type SettingsDataModelRelationFieldPreviewSubWidgetProps = {diff --git a/packages/twenty-front/src/modules/settings/data-model/graph-overview/components/SettingsDataModelOverview.tsx b/packages/twenty-front/src/modules/settings/data-model/graph-overview/components/SettingsDataModelOverview.tsxindex adafc524843..3ed43375c88 100644--- a/packages/twenty-front/src/modules/settings/data-model/graph-overview/components/SettingsDataModelOverview.tsx+++ b/packages/twenty-front/src/modules/settings/data-model/graph-overview/components/SettingsDataModelOverview.tsx@@ -30,7 +30,7 @@ import {IconPlus,IconX,} from 'twenty-ui/icon';-import { Button, IconButtonGroup } from 'twenty-ui/input';+import { Button, IconButtonGroup } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';const nodeTypes: NodeTypes = {diff --git a/packages/twenty-front/src/modules/settings/data-model/indexes/forms/components/SettingsObjectIndexFieldsForm.tsx b/packages/twenty-front/src/modules/settings/data-model/indexes/forms/components/SettingsObjectIndexFieldsForm.tsxindex 048a9070c87..1cf1ac71647 100644--- a/packages/twenty-front/src/modules/settings/data-model/indexes/forms/components/SettingsObjectIndexFieldsForm.tsx+++ b/packages/twenty-front/src/modules/settings/data-model/indexes/forms/components/SettingsObjectIndexFieldsForm.tsx@@ -8,7 +8,7 @@ import { useLingui } from '@lingui/react/macro';import { useMemo } from 'react';import { Controller, useFormContext } from 'react-hook-form';import { IconTrash, useIcons } from 'twenty-ui/icon';-import { IconButton, type SelectOption } from 'twenty-ui/input';+import { IconButton, type SelectOption } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';import { type SettingsObjectNewIndexFormValues } from '~/pages/settings/data-model/new-index/SettingsObjectNewIndexFormValues';diff --git a/packages/twenty-front/src/modules/settings/data-model/indexes/utils/buildIndexableSelectOptions.ts b/packages/twenty-front/src/modules/settings/data-model/indexes/utils/buildIndexableSelectOptions.tsindex 3bad1c76929..15fd8c2b13a 100644--- a/packages/twenty-front/src/modules/settings/data-model/indexes/utils/buildIndexableSelectOptions.ts+++ b/packages/twenty-front/src/modules/settings/data-model/indexes/utils/buildIndexableSelectOptions.ts@@ -1,6 +1,6 @@import { type FieldMetadataItem } from '@/object-metadata/types/FieldMetadataItem';import { type IconComponent } from 'twenty-ui/icon';-import { type SelectOption } from 'twenty-ui/input';+import { type SelectOption } from 'twenty-ui/primitives/input';import { compositeTypeDefinitions } from 'twenty-shared/types';import { isDefined } from 'twenty-shared/utils';import { type FieldMetadataType } from '~/generated-metadata/graphql';diff --git a/packages/twenty-front/src/modules/settings/data-model/object-details/components/SettingsObjectFieldDisabledActionDropdown.tsx b/packages/twenty-front/src/modules/settings/data-model/object-details/components/SettingsObjectFieldDisabledActionDropdown.tsxindex 5c61e2d0e42..74d3344607a 100644--- a/packages/twenty-front/src/modules/settings/data-model/object-details/components/SettingsObjectFieldDisabledActionDropdown.tsx+++ b/packages/twenty-front/src/modules/settings/data-model/object-details/components/SettingsObjectFieldDisabledActionDropdown.tsx@@ -11,8 +11,8 @@ import {IconPencil,IconTrash,} from 'twenty-ui/icon';-import { LightIconButton } from 'twenty-ui/input';-import { MenuItem } from 'twenty-ui/navigation';+import { LightIconButton } from 'twenty-ui/primitives/input';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { type FieldMetadataType } from '~/generated-metadata/graphql';type SettingsObjectFieldInactiveActionDropdownProps = {diff --git a/packages/twenty-front/src/modules/settings/data-model/object-details/components/SettingsObjectFieldItemTableRow.tsx b/packages/twenty-front/src/modules/settings/data-model/object-details/components/SettingsObjectFieldItemTableRow.tsxindex b91adc2f9cf..6d1c3c1e60a 100644--- a/packages/twenty-front/src/modules/settings/data-model/object-details/components/SettingsObjectFieldItemTableRow.tsx+++ b/packages/twenty-front/src/modules/settings/data-model/object-details/components/SettingsObjectFieldItemTableRow.tsx@@ -26,9 +26,9 @@ import {IconPlus,useIcons,} from 'twenty-ui/icon';-import { LightIconButton } from 'twenty-ui/input';-import { UndecoratedLink } from 'twenty-ui/navigation';-import { AppTooltip, TooltipDelay } from 'twenty-ui/surfaces';+import { LightIconButton } from 'twenty-ui/primitives/input';+import { UndecoratedLink } from 'twenty-ui/primitives/navigation';+import { AppTooltip, TooltipDelay } from 'twenty-ui/primitives/surfaces';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';import { RelationType } from '~/generated-metadata/graphql';import { useNavigateSettings } from '~/hooks/useNavigateSettings';diff --git a/packages/twenty-front/src/modules/settings/data-model/object-details/components/SettingsObjectRelationItemTableRow.tsx b/packages/twenty-front/src/modules/settings/data-model/object-details/components/SettingsObjectRelationItemTableRow.tsxindex cf69165fa15..f684ec9e798 100644--- a/packages/twenty-front/src/modules/settings/data-model/object-details/components/SettingsObjectRelationItemTableRow.tsx+++ b/packages/twenty-front/src/modules/settings/data-model/object-details/components/SettingsObjectRelationItemTableRow.tsx@@ -24,7 +24,7 @@ import {IconRelationManyToMany,useIcons,} from 'twenty-ui/icon';-import { UndecoratedLink } from 'twenty-ui/navigation';+import { UndecoratedLink } from 'twenty-ui/primitives/navigation';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';import { useNavigateSettings } from '~/hooks/useNavigateSettings';diff --git a/packages/twenty-front/src/modules/settings/data-model/object-details/components/SettingsObjectRelationsTable.tsx b/packages/twenty-front/src/modules/settings/data-model/object-details/components/SettingsObjectRelationsTable.tsxindex 1257679eb6d..004b5f41cc0 100644--- a/packages/twenty-front/src/modules/settings/data-model/object-details/components/SettingsObjectRelationsTable.tsx+++ b/packages/twenty-front/src/modules/settings/data-model/object-details/components/SettingsObjectRelationsTable.tsx@@ -22,8 +22,8 @@ import { useLingui } from '@lingui/react/macro';import { useMemo, useState } from 'react';import { FieldMetadataType } from 'twenty-shared/types';import { IconArchive, IconFilter, IconSearch } from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';-import { MenuItemSwitch } from 'twenty-ui/navigation';+import { Button } from 'twenty-ui/primitives/input';+import { MenuItemSwitch } from 'twenty-ui/primitives/navigation';import { themeCssVariables } from 'twenty-ui/theme-constants';import { isDefined } from 'twenty-shared/utils';import { normalizeSearchText } from '~/utils/normalizeSearchText';diff --git a/packages/twenty-front/src/modules/settings/data-model/object-details/components/tabs/ObjectFields.tsx b/packages/twenty-front/src/modules/settings/data-model/object-details/components/tabs/ObjectFields.tsxindex b2d60a5e2fe..748bc40cbfd 100644--- a/packages/twenty-front/src/modules/settings/data-model/object-details/components/tabs/ObjectFields.tsx+++ b/packages/twenty-front/src/modules/settings/data-model/object-details/components/tabs/ObjectFields.tsx@@ -9,10 +9,10 @@ import { useLingui } from '@lingui/react/macro';import { FieldMetadataType, SettingsPath } from 'twenty-shared/types';import { getSettingsPath } from 'twenty-shared/utils';import { IconPlus } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { Button } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';-import { UndecoratedLink } from 'twenty-ui/navigation';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Button } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';+import { UndecoratedLink } from 'twenty-ui/primitives/navigation';import { themeCssVariables } from 'twenty-ui/theme-constants';import { SettingsObjectFieldTable } from '~/pages/settings/data-model/SettingsObjectFieldTable';diff --git a/packages/twenty-front/src/modules/settings/data-model/object-details/components/tabs/ObjectLayout.tsx b/packages/twenty-front/src/modules/settings/data-model/object-details/components/tabs/ObjectLayout.tsxindex f4e44f00d64..02c8e717c00 100644--- a/packages/twenty-front/src/modules/settings/data-model/object-details/components/tabs/ObjectLayout.tsx+++ b/packages/twenty-front/src/modules/settings/data-model/object-details/components/tabs/ObjectLayout.tsx@@ -3,10 +3,10 @@ import { useLingui } from '@lingui/react/macro';import { AppPath } from 'twenty-shared/types';import { isDefined } from 'twenty-shared/utils';import { IconAddressBook, IconPencil, IconReload } from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';+import { Button } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';-import { H2Title } from 'twenty-ui/typography';+import { H2Title } from 'twenty-ui/primitives/typography';import { useEnterLayoutCustomizationMode } from '@/layout-customization/hooks/useEnterLayoutCustomizationMode';import { type EnrichedObjectMetadataItem } from '@/object-metadata/types/EnrichedObjectMetadataItem';diff --git a/packages/twenty-front/src/modules/settings/data-model/object-details/components/tabs/ObjectSettings.tsx b/packages/twenty-front/src/modules/settings/data-model/object-details/components/tabs/ObjectSettings.tsxindex 3f80d19a4cc..dc4f135ed83 100644--- a/packages/twenty-front/src/modules/settings/data-model/object-details/components/tabs/ObjectSettings.tsx+++ b/packages/twenty-front/src/modules/settings/data-model/object-details/components/tabs/ObjectSettings.tsx@@ -19,9 +19,9 @@ import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateimport { useLingui } from '@lingui/react/macro';import { SettingsPath } from 'twenty-shared/types';import { IconArchive, IconTrash } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { Button } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Button } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';import { useNavigateSettings } from '~/hooks/useNavigateSettings';diff --git a/packages/twenty-front/src/modules/settings/data-model/object-details/components/tabs/SettingsObjectIndexesSection.tsx b/packages/twenty-front/src/modules/settings/data-model/object-details/components/tabs/SettingsObjectIndexesSection.tsxindex b1b5ec6a714..5e14793b2ad 100644--- a/packages/twenty-front/src/modules/settings/data-model/object-details/components/tabs/SettingsObjectIndexesSection.tsx+++ b/packages/twenty-front/src/modules/settings/data-model/object-details/components/tabs/SettingsObjectIndexesSection.tsx@@ -18,8 +18,11 @@ import { MAX_CUSTOM_INDEXES_PER_OBJECT } from 'twenty-shared/constants';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath, isDefined } from 'twenty-shared/utils';import { IconEyeOff, IconPlus } from 'twenty-ui/icon';-import { Button, SearchInput } from 'twenty-ui/input';-import { MenuItemSwitch, UndecoratedLink } from 'twenty-ui/navigation';+import { Button, SearchInput } from 'twenty-ui/primitives/input';+import {+ MenuItemSwitch,+ UndecoratedLink,+} from 'twenty-ui/primitives/navigation';import { themeCssVariables } from 'twenty-ui/theme-constants';import { SettingsObjectIndexTable } from '~/pages/settings/data-model/SettingsObjectIndexTable';import { type SettingsObjectIndexesTableItem } from '~/pages/settings/data-model/types/SettingsObjectIndexesTableItem';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 d90ad9ac21b..85d98b02d39 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@@ -29,9 +29,9 @@ import {IconTrash,useIcons,} from 'twenty-ui/icon';-import { Button, LightIconButton } from 'twenty-ui/input';-import { MenuItem } from 'twenty-ui/navigation';-import { Card } from 'twenty-ui/surfaces';+import { Button, LightIconButton } from 'twenty-ui/primitives/input';+import { MenuItem } from 'twenty-ui/primitives/navigation';+import { Card } from 'twenty-ui/primitives/surfaces';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';type SettingsObjectSearchSectionProps = {diff --git a/packages/twenty-front/src/modules/settings/data-model/object-details/components/tabs/__stories__/ObjectLayoutHeroCard.stories.tsx b/packages/twenty-front/src/modules/settings/data-model/object-details/components/tabs/__stories__/ObjectLayoutHeroCard.stories.tsxindex c0825b0d9a4..0d7b3c7c659 100644--- a/packages/twenty-front/src/modules/settings/data-model/object-details/components/tabs/__stories__/ObjectLayoutHeroCard.stories.tsx+++ b/packages/twenty-front/src/modules/settings/data-model/object-details/components/tabs/__stories__/ObjectLayoutHeroCard.stories.tsx@@ -6,7 +6,7 @@ import { styled } from '@linaria/react';import { type Meta, type StoryObj } from '@storybook/react-vite';import { expect, within } from 'storybook/test';import { IconAddressBook, IconPencil } from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';+import { Button } from 'twenty-ui/primitives/input';import { ThemeProvider, themeCssVariables } from 'twenty-ui/theme-constants';const StyledCanvas = styled.div`diff --git a/packages/twenty-front/src/modules/settings/data-model/objects/components/SettingsDataModelObjectSummary.tsx b/packages/twenty-front/src/modules/settings/data-model/objects/components/SettingsDataModelObjectSummary.tsxindex d164f6dac74..8cbc1c2bfc1 100644--- a/packages/twenty-front/src/modules/settings/data-model/objects/components/SettingsDataModelObjectSummary.tsx+++ b/packages/twenty-front/src/modules/settings/data-model/objects/components/SettingsDataModelObjectSummary.tsx@@ -6,7 +6,7 @@ import { ObjectMetadataIcon } from '@/object-metadata/components/ObjectMetadataIimport { type EnrichedObjectMetadataItem } from '@/object-metadata/types/EnrichedObjectMetadataItem';import { SettingsItemTypeTag } from '@/settings/components/SettingsItemTypeTag';import { IconBox } from 'twenty-ui/icon';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';export type SettingsDataModelObjectPreviewProps = {diff --git a/packages/twenty-front/src/modules/settings/data-model/objects/components/SettingsObjectInactiveMenuDropDown.tsx b/packages/twenty-front/src/modules/settings/data-model/objects/components/SettingsObjectInactiveMenuDropDown.tsxindex f759261bf25..5fa11a86619 100644--- a/packages/twenty-front/src/modules/settings/data-model/objects/components/SettingsObjectInactiveMenuDropDown.tsx+++ b/packages/twenty-front/src/modules/settings/data-model/objects/components/SettingsObjectInactiveMenuDropDown.tsx@@ -11,8 +11,8 @@ import {IconPencil,IconTrash,} from 'twenty-ui/icon';-import { LightIconButton } from 'twenty-ui/input';-import { MenuItem } from 'twenty-ui/navigation';+import { LightIconButton } from 'twenty-ui/primitives/input';+import { MenuItem } from 'twenty-ui/primitives/navigation';type SettingsObjectInactiveMenuDropDownProps = {isCustomObject: boolean;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 e7ac6d34d4f..16cadc1a8b9 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@@ -14,9 +14,9 @@ import { useContext } from 'react';import { Controller, useFormContext } from 'react-hook-form';import { SettingsPath } from 'twenty-shared/types';import { capitalize, isDefined } from 'twenty-shared/utils';-import { InlineBanner } from 'twenty-ui/feedback';+import { InlineBanner } from 'twenty-ui/primitives/feedback';import { IconInfoCircle, IconLink, IconRefresh } from 'twenty-ui/icon';-import { AppTooltip, Card, TooltipDelay } from 'twenty-ui/surfaces';+import { AppTooltip, Card, TooltipDelay } from 'twenty-ui/primitives/surfaces';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';import { parseThemeColor } from 'twenty-ui/utilities';import { type StringKeyOf } from 'type-fest';diff --git a/packages/twenty-front/src/modules/settings/data-model/objects/forms/components/SettingsDataModelObjectIdentifiersForm.tsx b/packages/twenty-front/src/modules/settings/data-model/objects/forms/components/SettingsDataModelObjectIdentifiersForm.tsxindex 01ed9ecd577..5660c5ce0e5 100644--- a/packages/twenty-front/src/modules/settings/data-model/objects/forms/components/SettingsDataModelObjectIdentifiersForm.tsx+++ b/packages/twenty-front/src/modules/settings/data-model/objects/forms/components/SettingsDataModelObjectIdentifiersForm.tsx@@ -19,7 +19,7 @@ import {isSearchableFieldType,} from 'twenty-shared/utils';import { IconCircleOff, IconPlus, useIcons } from 'twenty-ui/icon';-import { type SelectOption } from 'twenty-ui/input';+import { type SelectOption } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';import { type z } from 'zod';diff --git a/packages/twenty-front/src/modules/settings/data-model/objects/forms/components/SettingsDataModelObjectSettingsFormCard.tsx b/packages/twenty-front/src/modules/settings/data-model/objects/forms/components/SettingsDataModelObjectSettingsFormCard.tsxindex 18d8acaf56e..7d92bd577c2 100644--- a/packages/twenty-front/src/modules/settings/data-model/objects/forms/components/SettingsDataModelObjectSettingsFormCard.tsx+++ b/packages/twenty-front/src/modules/settings/data-model/objects/forms/components/SettingsDataModelObjectSettingsFormCard.tsx@@ -8,7 +8,7 @@ import { SettingsDataModelFieldPreviewWidget } from '@/settings/data-model/fieldimport { SettingsDataModelObjectPreview } from '@/settings/data-model/objects/components/SettingsDataModelObjectSummary';import { SettingsDataModelObjectIdentifiersForm } from '@/settings/data-model/objects/forms/components/SettingsDataModelObjectIdentifiersForm';import { Trans } from '@lingui/react/macro';-import { Card, CardContent } from 'twenty-ui/surfaces';+import { Card, CardContent } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';type SettingsDataModelObjectSettingsFormCardProps = {diff --git a/packages/twenty-front/src/modules/settings/developers/components/ApiKeyInput.tsx b/packages/twenty-front/src/modules/settings/developers/components/ApiKeyInput.tsxindex 8d91e3f8678..c30f6420b93 100644--- a/packages/twenty-front/src/modules/settings/developers/components/ApiKeyInput.tsx+++ b/packages/twenty-front/src/modules/settings/developers/components/ApiKeyInput.tsx@@ -2,7 +2,7 @@ import { SettingsTextInput } from '@/ui/input/components/SettingsTextInput';import { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';import { IconCopy } from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';+import { Button } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';import { useCopyToClipboard } from '~/hooks/useCopyToClipboard';diff --git a/packages/twenty-front/src/modules/settings/developers/components/SettingsDevelopersWebhookForm.tsx b/packages/twenty-front/src/modules/settings/developers/components/SettingsDevelopersWebhookForm.tsxindex 5c4daa46640..60a5e94501c 100644--- a/packages/twenty-front/src/modules/settings/developers/components/SettingsDevelopersWebhookForm.tsx+++ b/packages/twenty-front/src/modules/settings/developers/components/SettingsDevelopersWebhookForm.tsx@@ -19,9 +19,9 @@ import {isValidUrl,} from 'twenty-shared/utils';import { IconTrash } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { Button } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Button } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';import { useNavigateSettings } from '~/hooks/useNavigateSettings';import { SETTINGS_API_WEBHOOKS_TABS } from '~/pages/settings/api-webhooks/constants/SettingsApiWebhooksTabs';import { SettingsDatabaseEventsForm } from '@/settings/components/SettingsDatabaseEventsForm';diff --git a/packages/twenty-front/src/modules/settings/developers/components/SettingsDevelopersWebhookTableRow.tsx b/packages/twenty-front/src/modules/settings/developers/components/SettingsDevelopersWebhookTableRow.tsxindex 60ec6ac19d2..2e687721e83 100644--- a/packages/twenty-front/src/modules/settings/developers/components/SettingsDevelopersWebhookTableRow.tsx+++ b/packages/twenty-front/src/modules/settings/developers/components/SettingsDevelopersWebhookTableRow.tsx@@ -5,7 +5,7 @@ import { TableCell } from '@/ui/layout/table/components/TableCell';import { TableRow } from '@/ui/layout/table/components/TableRow';import { getUrlHostnameOrThrow, isValidUrl } from 'twenty-shared/utils';import { IconChevronRight } from 'twenty-ui/icon';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';import { useContext } from 'react';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';import { type Webhook } from '~/generated-metadata/graphql';diff --git a/packages/twenty-front/src/modules/settings/developers/components/WebhookEntitySelect.tsx b/packages/twenty-front/src/modules/settings/developers/components/WebhookEntitySelect.tsxindex ac96945a143..914a3f2529d 100644--- a/packages/twenty-front/src/modules/settings/developers/components/WebhookEntitySelect.tsx+++ b/packages/twenty-front/src/modules/settings/developers/components/WebhookEntitySelect.tsx@@ -24,8 +24,8 @@ import {IconTable,IconWebhook,} from 'twenty-ui/icon';-import { type SelectOption } from 'twenty-ui/input';-import { MenuItemSelect } from 'twenty-ui/navigation';+import { type SelectOption } from 'twenty-ui/primitives/input';+import { MenuItemSelect } from 'twenty-ui/primitives/navigation';const WEBHOOK_ENTITY_DROPDOWN_ID = 'webhook-entity-select';diff --git a/packages/twenty-front/src/modules/settings/domains/components/SettingPublicDomain.tsx b/packages/twenty-front/src/modules/settings/domains/components/SettingPublicDomain.tsxindex 0080ae87256..985a5127068 100644--- a/packages/twenty-front/src/modules/settings/domains/components/SettingPublicDomain.tsx+++ b/packages/twenty-front/src/modules/settings/domains/components/SettingPublicDomain.tsx@@ -1,6 +1,6 @@-import { Section } from 'twenty-ui/layout';+import { Section } from 'twenty-ui/primitives/layout';import { IconReload, IconTrash } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';+import { H2Title } from 'twenty-ui/primitives/typography';import { Trans, useLingui } from '@lingui/react/macro';import { getSettingsPath, isDefined } from 'twenty-shared/utils';import { SettingsPath } from 'twenty-shared/types';@@ -8,7 +8,7 @@ import { SettingsPageLayout } from '@/settings/components/layout/SettingsPageLayimport { SettingsPageContainer } from '@/settings/components/SettingsPageContainer';import { TextInput } from '@/ui/input/components/TextInput';import { useNavigateSettings } from '~/hooks/useNavigateSettings';-import { Button, ButtonGroup } from 'twenty-ui/input';+import { Button, ButtonGroup } from 'twenty-ui/primitives/input';import { styled } from '@linaria/react';import { SettingsDomainRecords } from '@/settings/domains/components/SettingsDomainRecords';import { useCheckPublicDomainValidRecords } from '@/settings/domains/hooks/useCheckPublicDomainValidRecords';diff --git a/packages/twenty-front/src/modules/settings/domains/components/SettingPublicDomainRowDropdownMenu.tsx b/packages/twenty-front/src/modules/settings/domains/components/SettingPublicDomainRowDropdownMenu.tsxindex 0d4aa90b007..5051c031ab7 100644--- a/packages/twenty-front/src/modules/settings/domains/components/SettingPublicDomainRowDropdownMenu.tsx+++ b/packages/twenty-front/src/modules/settings/domains/components/SettingPublicDomainRowDropdownMenu.tsx@@ -5,8 +5,8 @@ import { DropdownMenuItemsContainer } from '@/ui/layout/dropdown/components/Dropimport { useCloseDropdown } from '@/ui/layout/dropdown/hooks/useCloseDropdown';import { useLingui } from '@lingui/react/macro';import { IconDotsVertical, IconTrash } from 'twenty-ui/icon';-import { LightIconButton } from 'twenty-ui/input';-import { MenuItem } from 'twenty-ui/navigation';+import { LightIconButton } from 'twenty-ui/primitives/input';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { useMutation, useQuery } from '@apollo/client/react';import {type PublicDomain,diff --git a/packages/twenty-front/src/modules/settings/domains/components/SettingsCustomDomain.tsx b/packages/twenty-front/src/modules/settings/domains/components/SettingsCustomDomain.tsxindex 83edb0f91a5..32a33fbe91e 100644--- a/packages/twenty-front/src/modules/settings/domains/components/SettingsCustomDomain.tsx+++ b/packages/twenty-front/src/modules/settings/domains/components/SettingsCustomDomain.tsx@@ -14,9 +14,9 @@ import { styled } from '@linaria/react';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath } from 'twenty-shared/utils';import { IconReload, IconTrash } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { Button, ButtonGroup } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Button, ButtonGroup } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';import { useNavigateSettings } from '~/hooks/useNavigateSettings';import { useCheckCustomDomainValidRecords } from '@/settings/domains/hooks/useCheckCustomDomainValidRecords';diff --git a/packages/twenty-front/src/modules/settings/domains/components/SettingsDomainRecords.tsx b/packages/twenty-front/src/modules/settings/domains/components/SettingsDomainRecords.tsxindex bd591b24baf..41e8e1db500 100644--- a/packages/twenty-front/src/modules/settings/domains/components/SettingsDomainRecords.tsx+++ b/packages/twenty-front/src/modules/settings/domains/components/SettingsDomainRecords.tsx@@ -2,8 +2,8 @@ import { isDefined } from 'twenty-shared/utils';import { currentWorkspaceState } from '@/auth/states/currentWorkspaceState';import { SettingsDnsRecordsTable } from '@/settings/components/SettingsDnsRecordsTable';import { t } from '@lingui/core/macro';-import { H2Title } from 'twenty-ui/typography';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Section } from 'twenty-ui/primitives/layout';import { type ThemeColor } from 'twenty-ui/theme';import {type DomainRecord,diff --git a/packages/twenty-front/src/modules/settings/domains/components/SettingsPublicDomainsListCard.tsx b/packages/twenty-front/src/modules/settings/domains/components/SettingsPublicDomainsListCard.tsxindex 8302551686b..afcaad81bc8 100644--- a/packages/twenty-front/src/modules/settings/domains/components/SettingsPublicDomainsListCard.tsx+++ b/packages/twenty-front/src/modules/settings/domains/components/SettingsPublicDomainsListCard.tsx@@ -7,7 +7,7 @@ import { selectedPublicDomainState } from '@/settings/domains/states/selectedPubimport { useSetAtomState } from '@/ui/utilities/state/jotai/hooks/useSetAtomState';import { useLingui } from '@lingui/react/macro';import { SettingsPath } from 'twenty-shared/types';-import { Status } from 'twenty-ui/data-display';+import { Status } from 'twenty-ui/primitives/data-display';import { IconWorld } from 'twenty-ui/icon';import { useQuery } from '@apollo/client/react';import {diff --git a/packages/twenty-front/src/modules/settings/domains/components/SettingsSubdomain.tsx b/packages/twenty-front/src/modules/settings/domains/components/SettingsSubdomain.tsxindex c98d719aaf0..64b6ad8afe9 100644--- a/packages/twenty-front/src/modules/settings/domains/components/SettingsSubdomain.tsx+++ b/packages/twenty-front/src/modules/settings/domains/components/SettingsSubdomain.tsx@@ -14,8 +14,8 @@ import { Trans, useLingui } from '@lingui/react/macro';import { styled } from '@linaria/react';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath, isDefined } from 'twenty-shared/utils';-import { H2Title } from 'twenty-ui/typography';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Section } from 'twenty-ui/primitives/layout';import { useNavigateSettings } from '~/hooks/useNavigateSettings';const StyledDomainFormWrapper = styled.div`diff --git a/packages/twenty-front/src/modules/settings/domains/components/SettingsWorkspaceDomainCard.tsx b/packages/twenty-front/src/modules/settings/domains/components/SettingsWorkspaceDomainCard.tsxindex 5a2971f17c0..c505294a616 100644--- a/packages/twenty-front/src/modules/settings/domains/components/SettingsWorkspaceDomainCard.tsx+++ b/packages/twenty-front/src/modules/settings/domains/components/SettingsWorkspaceDomainCard.tsx@@ -7,9 +7,9 @@ import { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath } from 'twenty-shared/utils';-import { Status } from 'twenty-ui/data-display';+import { Status } from 'twenty-ui/primitives/data-display';import { IconWorld, IconWorldWww } from 'twenty-ui/icon';-import { UndecoratedLink } from 'twenty-ui/navigation';+import { UndecoratedLink } from 'twenty-ui/primitives/navigation';import { MOBILE_VIEWPORT, themeCssVariables } from 'twenty-ui/theme-constants';const StyledContainer = styled.div`diff --git a/packages/twenty-front/src/modules/settings/emailing-domains/components/SettingsEmailingDomainVerifyButton.tsx b/packages/twenty-front/src/modules/settings/emailing-domains/components/SettingsEmailingDomainVerifyButton.tsxindex 5934574ddd7..3408eb457bc 100644--- a/packages/twenty-front/src/modules/settings/emailing-domains/components/SettingsEmailingDomainVerifyButton.tsx+++ b/packages/twenty-front/src/modules/settings/emailing-domains/components/SettingsEmailingDomainVerifyButton.tsx@@ -5,7 +5,7 @@ import { useLingui } from '@lingui/react/macro';import { useSnackBar } from '@/ui/feedback/snack-bar-manager/hooks/useSnackBar';import { VerifyEmailingDomainDocument } from '~/generated-metadata/graphql';import { IconRefresh } from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';+import { Button } from 'twenty-ui/primitives/input';type SettingsEmailingDomainVerifyButtonProps = {emailingDomainId: string;diff --git a/packages/twenty-front/src/modules/settings/enterprise/components/EnterprisePlanModal.tsx b/packages/twenty-front/src/modules/settings/enterprise/components/EnterprisePlanModal.tsxindex 2ab89104402..f1ae099432e 100644--- a/packages/twenty-front/src/modules/settings/enterprise/components/EnterprisePlanModal.tsx+++ b/packages/twenty-front/src/modules/settings/enterprise/components/EnterprisePlanModal.tsx@@ -9,9 +9,9 @@ import { useApolloClient } from '@apollo/client/react';import { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';import { useState } from 'react';-import { Loader } from 'twenty-ui/feedback';-import { CardPicker, MainButton, RadioGroup } from 'twenty-ui/input';-import { ModalContent } from 'twenty-ui/surfaces';+import { Loader } from 'twenty-ui/primitives/feedback';+import { CardPicker, RadioGroup, MainButton } from 'twenty-ui/primitives/input';+import { ModalContent } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';export const ENTERPRISE_PLAN_MODAL_ID = 'enterprise-plan-modal';diff --git a/packages/twenty-front/src/modules/settings/event-logs/components/EventLogFilters.tsx b/packages/twenty-front/src/modules/settings/event-logs/components/EventLogFilters.tsxindex 79452bd598f..029ae4174ee 100644--- a/packages/twenty-front/src/modules/settings/event-logs/components/EventLogFilters.tsx+++ b/packages/twenty-front/src/modules/settings/event-logs/components/EventLogFilters.tsx@@ -1,7 +1,7 @@import { currentWorkspaceMembersState } from '@/auth/states/currentWorkspaceMembersState';import { useObjectMetadataItems } from '@/object-metadata/hooks/useObjectMetadataItems';import { type EventLogFiltersState } from '@/settings/event-logs/types/EventLogFiltersState';-import { InputLabel, type SelectOption } from 'twenty-ui/input';+import { InputLabel, type SelectOption } from 'twenty-ui/primitives/input';import { Select } from '@/ui/input/components/Select';import { TextInput } from '@/ui/input/components/TextInput';import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';diff --git a/packages/twenty-front/src/modules/settings/event-logs/components/EventLogJsonCell.tsx b/packages/twenty-front/src/modules/settings/event-logs/components/EventLogJsonCell.tsxindex 073d3fce576..e5592b2dbfc 100644--- a/packages/twenty-front/src/modules/settings/event-logs/components/EventLogJsonCell.tsx+++ b/packages/twenty-front/src/modules/settings/event-logs/components/EventLogJsonCell.tsx@@ -2,11 +2,14 @@ import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';import { useRef, useState } from 'react';-import { JsonDisplay } from 'twenty-ui/data-display';+import { JsonDisplay } from 'twenty-ui/primitives/data-display';import { ExpandedFieldDisplay } from '@/ui/layout/expandable-list/components/ExpandedFieldDisplay';import { type JsonValue } from 'type-fest';import { isDefined } from 'twenty-shared/utils';-import { isTwoFirstDepths, JsonTree } from 'twenty-ui/json-visualizer';+import {+ isTwoFirstDepths,+ JsonTree,+} from 'twenty-ui/primitives/json-visualizer';import { themeCssVariables } from 'twenty-ui/theme-constants';import { useCopyToClipboard } from '~/hooks/useCopyToClipboard';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 06662dd3cea..15f29bfe501 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@@ -23,8 +23,8 @@ import {IconPlayerPause,IconPlayerPlay,} from 'twenty-ui/icon';-import { Button, IconButton } from 'twenty-ui/input';-import { Card } from 'twenty-ui/surfaces';+import { Button, IconButton } from 'twenty-ui/primitives/input';+import { Card } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';import {diff --git a/packages/twenty-front/src/modules/settings/experience/components/DateTimeSettingsTimeZoneSelect.tsx b/packages/twenty-front/src/modules/settings/experience/components/DateTimeSettingsTimeZoneSelect.tsxindex 7089936c7bf..bc217b5a08f 100644--- a/packages/twenty-front/src/modules/settings/experience/components/DateTimeSettingsTimeZoneSelect.tsx+++ b/packages/twenty-front/src/modules/settings/experience/components/DateTimeSettingsTimeZoneSelect.tsx@@ -3,7 +3,7 @@ import { findAvailableTimeZoneOption } from '@/localization/utils/findAvailableTimport { AVAILABLE_TIMEZONE_OPTIONS } from '@/settings/experience/constants/AvailableTimezoneOptions';import { Select } from '@/ui/input/components/Select';import { t } from '@lingui/core/macro';-import { type SelectOption } from 'twenty-ui/input';+import { type SelectOption } from 'twenty-ui/primitives/input';type DateTimeSettingsTimeZoneSelectProps = {value?: string;diff --git a/packages/twenty-front/src/modules/settings/experience/constants/AvailableTimezoneOptionsByLabel.ts b/packages/twenty-front/src/modules/settings/experience/constants/AvailableTimezoneOptionsByLabel.tsindex 0c8beeb2a65..421f76f565e 100644--- a/packages/twenty-front/src/modules/settings/experience/constants/AvailableTimezoneOptionsByLabel.ts+++ b/packages/twenty-front/src/modules/settings/experience/constants/AvailableTimezoneOptionsByLabel.ts@@ -1,6 +1,6 @@import { IANA_TIME_ZONES } from 'twenty-shared/constants';import { formatTimeZoneLabel } from '@/localization/utils/formatTimeZoneLabel';-import { type SelectOption } from 'twenty-ui/input';+import { type SelectOption } from 'twenty-ui/primitives/input';const { AVAILABLE_TIME_ZONE_OPTIONS_BY_LABEL } = {AVAILABLE_TIME_ZONE_OPTIONS_BY_LABEL: IANA_TIME_ZONES.reduce<diff --git a/packages/twenty-front/src/modules/settings/lab/components/SettingsLabContent.tsx b/packages/twenty-front/src/modules/settings/lab/components/SettingsLabContent.tsxindex 8bb1518b4fb..b7b3108339a 100644--- a/packages/twenty-front/src/modules/settings/lab/components/SettingsLabContent.tsx+++ b/packages/twenty-front/src/modules/settings/lab/components/SettingsLabContent.tsx@@ -6,7 +6,7 @@ import { styled } from '@linaria/react';import { isNonEmptyString } from '@sniptt/guards';import { useState } from 'react';import { useIcons } from 'twenty-ui/icon';-import { Card } from 'twenty-ui/surfaces';+import { Card } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';import { type FeatureFlagKey } from '~/generated-metadata/graphql';diff --git a/packages/twenty-front/src/modules/settings/legal/components/DpaNotice.tsx b/packages/twenty-front/src/modules/settings/legal/components/DpaNotice.tsxindex d7a27ce8c97..e9e488148d4 100644--- a/packages/twenty-front/src/modules/settings/legal/components/DpaNotice.tsx+++ b/packages/twenty-front/src/modules/settings/legal/components/DpaNotice.tsx@@ -1,5 +1,5 @@import { styled } from '@linaria/react';-import { Info } from 'twenty-ui/feedback';+import { Info } from 'twenty-ui/primitives/feedback';const StyledFullWidthInfo = styled.div`& > * {diff --git a/packages/twenty-front/src/modules/settings/legal/components/SettingsDpaAgreementRow.tsx b/packages/twenty-front/src/modules/settings/legal/components/SettingsDpaAgreementRow.tsxindex 04d4d164621..e55011045fe 100644--- a/packages/twenty-front/src/modules/settings/legal/components/SettingsDpaAgreementRow.tsx+++ b/packages/twenty-front/src/modules/settings/legal/components/SettingsDpaAgreementRow.tsx@@ -1,7 +1,7 @@import { themeCssVariables } from 'twenty-ui/theme-constants';import { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';-import { Button } from 'twenty-ui/input';+import { Button } from 'twenty-ui/primitives/input';import { IconDownload } from 'twenty-ui/icon';import { type DpaAgreement } from '@/settings/legal/types/Dpa';diff --git a/packages/twenty-front/src/modules/settings/logic-functions/components/SettingsLogicFunctionCodeEditor.tsx b/packages/twenty-front/src/modules/settings/logic-functions/components/SettingsLogicFunctionCodeEditor.tsxindex 5ff5871db2f..909555444bf 100644--- a/packages/twenty-front/src/modules/settings/logic-functions/components/SettingsLogicFunctionCodeEditor.tsx+++ b/packages/twenty-front/src/modules/settings/logic-functions/components/SettingsLogicFunctionCodeEditor.tsx@@ -4,7 +4,7 @@ import { type editor } from 'monaco-editor';import { AutoTypings } from 'monaco-editor-auto-typings';import { useParams } from 'react-router-dom';import { isDefined } from 'twenty-shared/utils';-import { CodeEditor } from 'twenty-ui/input';+import { CodeEditor } from 'twenty-ui/primitives/input';export type File = {language: string;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 4149b07f21d..dbc15906d75 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@@ -5,9 +5,9 @@ import { TextArea } from '@/ui/input/components/TextArea';import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';import { IconClockHour8 } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { Section } from 'twenty-ui/layout';-import { Card } from 'twenty-ui/surfaces';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Section } from 'twenty-ui/primitives/layout';+import { Card } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledInputsContainer = styled.div`diff --git a/packages/twenty-front/src/modules/settings/logic-functions/components/tabs/SettingsLogicFunctionCodeEditorTab.tsx b/packages/twenty-front/src/modules/settings/logic-functions/components/tabs/SettingsLogicFunctionCodeEditorTab.tsxindex 171b76dbe5f..5c3d5c91b21 100644--- a/packages/twenty-front/src/modules/settings/logic-functions/components/tabs/SettingsLogicFunctionCodeEditorTab.tsx+++ b/packages/twenty-front/src/modules/settings/logic-functions/components/tabs/SettingsLogicFunctionCodeEditorTab.tsx@@ -9,9 +9,9 @@ import { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useimport { styled } from '@linaria/react';import { t } from '@lingui/core/macro';import { IconPlayerPlay } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { Button, CoreEditorHeader } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Button, CoreEditorHeader } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';const StyledTabListContainer = styled.div`> * {diff --git a/packages/twenty-front/src/modules/settings/logic-functions/components/tabs/SettingsLogicFunctionTestTab.tsx b/packages/twenty-front/src/modules/settings/logic-functions/components/tabs/SettingsLogicFunctionTestTab.tsxindex e336a93a3e6..2e5edd41ff7 100644--- a/packages/twenty-front/src/modules/settings/logic-functions/components/tabs/SettingsLogicFunctionTestTab.tsx+++ b/packages/twenty-front/src/modules/settings/logic-functions/components/tabs/SettingsLogicFunctionTestTab.tsx@@ -19,9 +19,13 @@ import {IconWebhook,type IconComponent,} from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { Button, CodeEditor, CoreEditorHeader } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import {+ Button,+ CodeEditor,+ CoreEditorHeader,+} from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';type TriggerButton = {diff --git a/packages/twenty-front/src/modules/settings/logic-functions/components/tabs/SettingsLogicFunctionTriggersTab.tsx b/packages/twenty-front/src/modules/settings/logic-functions/components/tabs/SettingsLogicFunctionTriggersTab.tsxindex 38038ec0ba8..a394d27f456 100644--- a/packages/twenty-front/src/modules/settings/logic-functions/components/tabs/SettingsLogicFunctionTriggersTab.tsx+++ b/packages/twenty-front/src/modules/settings/logic-functions/components/tabs/SettingsLogicFunctionTriggersTab.tsx@@ -7,7 +7,7 @@ import { SettingsLogicFunctionWorkflowActionTriggerSection } from '@/settings/loimport { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';import { isDefined } from 'twenty-shared/utils';-import { Callout } from 'twenty-ui/feedback';+import { Callout } from 'twenty-ui/primitives/feedback';import { IconInfoCircle } from 'twenty-ui/icon';import { themeCssVariables } from 'twenty-ui/theme-constants';diff --git a/packages/twenty-front/src/modules/settings/logic-functions/components/triggers/SettingsLogicFunctionHttpTriggerSection.tsx b/packages/twenty-front/src/modules/settings/logic-functions/components/triggers/SettingsLogicFunctionHttpTriggerSection.tsxindex f3944bbe8eb..7c5290c13ce 100644--- a/packages/twenty-front/src/modules/settings/logic-functions/components/triggers/SettingsLogicFunctionHttpTriggerSection.tsx+++ b/packages/twenty-front/src/modules/settings/logic-functions/components/triggers/SettingsLogicFunctionHttpTriggerSection.tsx@@ -18,7 +18,7 @@ import {IconHttpPut,type IconComponent,} from 'twenty-ui/icon';-import { Switch } from 'twenty-ui/input';+import { Switch } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';import { useGetLogicFunctionHttpUrl } from '@/settings/logic-functions/hooks/useGetLogicFunctionHttpUrl';import { useCopyToClipboard } from '~/hooks/useCopyToClipboard';diff --git a/packages/twenty-front/src/modules/settings/logic-functions/components/triggers/SettingsLogicFunctionTriggerPayloadFormat.tsx b/packages/twenty-front/src/modules/settings/logic-functions/components/triggers/SettingsLogicFunctionTriggerPayloadFormat.tsxindex e07b863aa88..91754e52943 100644--- a/packages/twenty-front/src/modules/settings/logic-functions/components/triggers/SettingsLogicFunctionTriggerPayloadFormat.tsx+++ b/packages/twenty-front/src/modules/settings/logic-functions/components/triggers/SettingsLogicFunctionTriggerPayloadFormat.tsx@@ -1,6 +1,6 @@import { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';-import { CodeEditor } from 'twenty-ui/input';+import { CodeEditor } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledContainer = styled.div`diff --git a/packages/twenty-front/src/modules/settings/logic-functions/components/triggers/SettingsLogicFunctionTriggerSection.tsx b/packages/twenty-front/src/modules/settings/logic-functions/components/triggers/SettingsLogicFunctionTriggerSection.tsxindex 5cea618b5ba..0ca40f15a9c 100644--- a/packages/twenty-front/src/modules/settings/logic-functions/components/triggers/SettingsLogicFunctionTriggerSection.tsx+++ b/packages/twenty-front/src/modules/settings/logic-functions/components/triggers/SettingsLogicFunctionTriggerSection.tsx@@ -1,8 +1,8 @@import { styled } from '@linaria/react';import { type ReactNode } from 'react';-import { H2Title } from 'twenty-ui/typography';-import { Switch } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Switch } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledHeader = styled.div`diff --git a/packages/twenty-front/src/modules/settings/mcp-and-apis/components/PlaygroundSetupForm.tsx b/packages/twenty-front/src/modules/settings/mcp-and-apis/components/PlaygroundSetupForm.tsxindex d2249e95e4e..d6485f438cf 100644--- a/packages/twenty-front/src/modules/settings/mcp-and-apis/components/PlaygroundSetupForm.tsx+++ b/packages/twenty-front/src/modules/settings/mcp-and-apis/components/PlaygroundSetupForm.tsx@@ -8,7 +8,7 @@ import { zodResolver } from '@hookform/resolvers/zod';import { useLingui } from '@lingui/react/macro';import { Controller, useForm } from 'react-hook-form';import { IconApi, IconBrandGraphql } from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';+import { Button } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';import { z } from 'zod';diff --git a/packages/twenty-front/src/modules/settings/mcp-and-apis/components/SettingsMcpSetup.tsx b/packages/twenty-front/src/modules/settings/mcp-and-apis/components/SettingsMcpSetup.tsxindex 7e6552d148b..794f1c3051c 100644--- a/packages/twenty-front/src/modules/settings/mcp-and-apis/components/SettingsMcpSetup.tsx+++ b/packages/twenty-front/src/modules/settings/mcp-and-apis/components/SettingsMcpSetup.tsx@@ -11,10 +11,10 @@ import {buildMcpServerUrl,isHttpsUrl,} from '@/settings/mcp-and-apis/utils/mcpSetup';-import { CodeEditor, CoreEditorHeader } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';+import { CodeEditor, CoreEditorHeader } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';import { MOBILE_VIEWPORT, themeCssVariables } from 'twenty-ui/theme-constants';-import { H2Title } from 'twenty-ui/typography';+import { H2Title } from 'twenty-ui/primitives/typography';import { REACT_APP_SERVER_BASE_URL } from '~/config';const StyledMcpEditorHeaderTitle = styled.div`diff --git a/packages/twenty-front/src/modules/settings/mcp-and-apis/components/SettingsMcpSetupCard.tsx b/packages/twenty-front/src/modules/settings/mcp-and-apis/components/SettingsMcpSetupCard.tsxindex 35d144f3523..ac7a58c3c18 100644--- a/packages/twenty-front/src/modules/settings/mcp-and-apis/components/SettingsMcpSetupCard.tsx+++ b/packages/twenty-front/src/modules/settings/mcp-and-apis/components/SettingsMcpSetupCard.tsx@@ -2,14 +2,14 @@ import { styled } from '@linaria/react';import { isDefined } from 'twenty-shared/utils';import { type McpSetupCard } from '@/settings/mcp-and-apis/types/McpSetup';-import { Pill } from 'twenty-ui/data-display';+import { Pill } from 'twenty-ui/primitives/data-display';import { IconExternalLink } from 'twenty-ui/icon';import {AppTooltip,Card,CardContent,TooltipDelay,-} from 'twenty-ui/surfaces';+} from 'twenty-ui/primitives/surfaces';import { themeCssVariables, useTheme } from 'twenty-ui/theme-constants';const StyledCardContent = styled(CardContent)`diff --git a/packages/twenty-front/src/modules/settings/members/components/MemberInfosTab.tsx b/packages/twenty-front/src/modules/settings/members/components/MemberInfosTab.tsxindex 729c38c5cc3..99203e61648 100644--- a/packages/twenty-front/src/modules/settings/members/components/MemberInfosTab.tsx+++ b/packages/twenty-front/src/modules/settings/members/components/MemberInfosTab.tsx@@ -6,9 +6,9 @@ import { MemberNameFields } from '@/settings/members/components/MemberNameFieldsimport { WorkspaceMemberPictureUploader } from '@/settings/workspace-member/components/WorkspaceMemberPictureUploader';import { type WorkspaceMember } from '@/workspace-member/types/WorkspaceMember';import { t } from '@lingui/core/macro';-import { H2Title } from 'twenty-ui/typography';-import { Button } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Button } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';type MemberInfosTabProps = {diff --git a/packages/twenty-front/src/modules/settings/members/components/MemberPermissionsTab.tsx b/packages/twenty-front/src/modules/settings/members/components/MemberPermissionsTab.tsxindex f8d46eca1c9..fb08d00d0f0 100644--- a/packages/twenty-front/src/modules/settings/members/components/MemberPermissionsTab.tsx+++ b/packages/twenty-front/src/modules/settings/members/components/MemberPermissionsTab.tsx@@ -11,9 +11,9 @@ import { useState } from 'react';import { SettingsPath } from 'twenty-shared/types';import { isDefined } from 'twenty-shared/utils';import { IconArrowUpRight, IconUser, useIcons } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { Button } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Button } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';import { useMutation } from '@apollo/client/react';import { UpdateWorkspaceMemberRoleDocument } from '~/generated-metadata/graphql';diff --git a/packages/twenty-front/src/modules/settings/profile/components/DeleteAccount.tsx b/packages/twenty-front/src/modules/settings/profile/components/DeleteAccount.tsxindex 6c7eaa8b9c9..3282f8d8878 100644--- a/packages/twenty-front/src/modules/settings/profile/components/DeleteAccount.tsx+++ b/packages/twenty-front/src/modules/settings/profile/components/DeleteAccount.tsx@@ -10,8 +10,8 @@ import { useModal } from '@/ui/layout/modal/hooks/useModal';import { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';import { isDefined } from 'twenty-shared/utils';-import { H2Title } from 'twenty-ui/typography';-import { Button } from 'twenty-ui/input';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Button } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';import { useMutation } from '@apollo/client/react';import {diff --git a/packages/twenty-front/src/modules/settings/profile/components/DeleteWorkspace.tsx b/packages/twenty-front/src/modules/settings/profile/components/DeleteWorkspace.tsxindex 6f7feef22ba..764f6cb1f77 100644--- a/packages/twenty-front/src/modules/settings/profile/components/DeleteWorkspace.tsx+++ b/packages/twenty-front/src/modules/settings/profile/components/DeleteWorkspace.tsx@@ -7,8 +7,8 @@ import { useRedirectToDefaultDomain } from '@/domain-manager/hooks/useRedirectToimport { ConfirmationModal } from '@/ui/layout/modal/components/ConfirmationModal';import { useModal } from '@/ui/layout/modal/hooks/useModal';import { IconTrash } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { Button } from 'twenty-ui/input';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Button } from 'twenty-ui/primitives/input';import { useMutation } from '@apollo/client/react';import { DeleteCurrentWorkspaceDocument } from '~/generated-metadata/graphql';diff --git a/packages/twenty-front/src/modules/settings/profile/components/EmailField.tsx b/packages/twenty-front/src/modules/settings/profile/components/EmailField.tsxindex 66992a6e176..60bf48b0ae7 100644--- a/packages/twenty-front/src/modules/settings/profile/components/EmailField.tsx+++ b/packages/twenty-front/src/modules/settings/profile/components/EmailField.tsx@@ -8,8 +8,8 @@ import { useUpdateEmail } from '@/settings/profile/hooks/useUpdateEmail';import { SettingsTextInput } from '@/ui/input/components/SettingsTextInput';import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';import { IconCheck, IconPencil, IconX } from 'twenty-ui/icon';-import { AppTooltip, TooltipDelay } from 'twenty-ui/surfaces';-import { Button } from 'twenty-ui/input';+import { AppTooltip, TooltipDelay } from 'twenty-ui/primitives/surfaces';+import { Button } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledContainer = styled.div`diff --git a/packages/twenty-front/src/modules/settings/profile/components/SetOrChangePassword.tsx b/packages/twenty-front/src/modules/settings/profile/components/SetOrChangePassword.tsxindex 1c589080301..d02d5b34a95 100644--- a/packages/twenty-front/src/modules/settings/profile/components/SetOrChangePassword.tsx+++ b/packages/twenty-front/src/modules/settings/profile/components/SetOrChangePassword.tsx@@ -1,8 +1,8 @@import { useHandleResetPassword } from '@/auth/sign-in-up/hooks/useHandleResetPassword';import { currentUserState } from '@/auth/states/currentUserState';import { useLingui } from '@lingui/react/macro';-import { H2Title } from 'twenty-ui/typography';-import { Button } from 'twenty-ui/input';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Button } from 'twenty-ui/primitives/input';import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';export const SetOrChangePassword = () => {diff --git a/packages/twenty-front/src/modules/settings/profile/devices/components/SettingsDeviceSessionRowDropdownMenu.tsx b/packages/twenty-front/src/modules/settings/profile/devices/components/SettingsDeviceSessionRowDropdownMenu.tsxindex ac761d6f595..f9f0a1342e3 100644--- a/packages/twenty-front/src/modules/settings/profile/devices/components/SettingsDeviceSessionRowDropdownMenu.tsx+++ b/packages/twenty-front/src/modules/settings/profile/devices/components/SettingsDeviceSessionRowDropdownMenu.tsx@@ -7,8 +7,8 @@ import { DropdownContent } from '@/ui/layout/dropdown/components/DropdownContentimport { DropdownMenuItemsContainer } from '@/ui/layout/dropdown/components/DropdownMenuItemsContainer';import { useCloseDropdown } from '@/ui/layout/dropdown/hooks/useCloseDropdown';import { IconDotsVertical, IconLogout } from 'twenty-ui/icon';-import { LightIconButton } from 'twenty-ui/input';-import { MenuItem } from 'twenty-ui/navigation';+import { LightIconButton } from 'twenty-ui/primitives/input';+import { MenuItem } from 'twenty-ui/primitives/navigation';import {CurrentUserSessionsDocument,RevokeUserSessionDocument,diff --git a/packages/twenty-front/src/modules/settings/profile/devices/components/SettingsDeviceSessionRowRightComponent.tsx b/packages/twenty-front/src/modules/settings/profile/devices/components/SettingsDeviceSessionRowRightComponent.tsxindex 5d3f649fe26..64bb3d01219 100644--- a/packages/twenty-front/src/modules/settings/profile/devices/components/SettingsDeviceSessionRowRightComponent.tsx+++ b/packages/twenty-front/src/modules/settings/profile/devices/components/SettingsDeviceSessionRowRightComponent.tsx@@ -1,7 +1,7 @@import { useLingui } from '@lingui/react/macro';import { SettingsDeviceSessionRowDropdownMenu } from '@/settings/profile/devices/components/SettingsDeviceSessionRowDropdownMenu';-import { Status } from 'twenty-ui/data-display';+import { Status } from 'twenty-ui/primitives/data-display';import { type CurrentUserSessionsQuery } from '~/generated-metadata/graphql';type UserSessionListItem =diff --git a/packages/twenty-front/src/modules/settings/profile/devices/components/SettingsProfileDevicesSection.tsx b/packages/twenty-front/src/modules/settings/profile/devices/components/SettingsProfileDevicesSection.tsxindex 239e0830fec..a5373c847ef 100644--- a/packages/twenty-front/src/modules/settings/profile/devices/components/SettingsProfileDevicesSection.tsx+++ b/packages/twenty-front/src/modules/settings/profile/devices/components/SettingsProfileDevicesSection.tsx@@ -10,10 +10,10 @@ import { parseUserAgentDescription } from '@/settings/profile/devices/utils/parsimport { useSnackBar } from '@/ui/feedback/snack-bar-manager/hooks/useSnackBar';import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';import { IconDeviceDesktop, IconLogout } from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';+import { Button } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';-import { H2Title } from 'twenty-ui/typography';+import { H2Title } from 'twenty-ui/primitives/typography';import {CurrentUserSessionsDocument,type CurrentUserSessionsQuery,diff --git a/packages/twenty-front/src/modules/settings/roles/components/SettingsRolesDefaultRole.tsx b/packages/twenty-front/src/modules/settings/roles/components/SettingsRolesDefaultRole.tsxindex 379a952fa6c..c116588dad8 100644--- a/packages/twenty-front/src/modules/settings/roles/components/SettingsRolesDefaultRole.tsx+++ b/packages/twenty-front/src/modules/settings/roles/components/SettingsRolesDefaultRole.tsx@@ -9,9 +9,9 @@ import { useAtomState } from '@/ui/utilities/state/jotai/hooks/useAtomState';import { t } from '@lingui/core/macro';import { isDefined } from 'twenty-shared/utils';import { IconUserPin, useIcons } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { Section } from 'twenty-ui/layout';-import { Card } from 'twenty-ui/surfaces';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Section } from 'twenty-ui/primitives/layout';+import { Card } from 'twenty-ui/primitives/surfaces';import { useMutation } from '@apollo/client/react';import {type UpdateWorkspaceMutation,diff --git a/packages/twenty-front/src/modules/settings/roles/components/SettingsRolesList.tsx b/packages/twenty-front/src/modules/settings/roles/components/SettingsRolesList.tsxindex aa770a5d72b..589c267fbc6 100644--- a/packages/twenty-front/src/modules/settings/roles/components/SettingsRolesList.tsx+++ b/packages/twenty-front/src/modules/settings/roles/components/SettingsRolesList.tsx@@ -19,10 +19,10 @@ import {IconPlus,IconSearch,} from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { Button } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';-import { MenuItemSwitch } from 'twenty-ui/navigation';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Button } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';+import { MenuItemSwitch } from 'twenty-ui/primitives/navigation';import { themeCssVariables } from 'twenty-ui/theme-constants';import { useNavigateSettings } from '~/hooks/useNavigateSettings';import { sortByAscString } from '~/utils/array/sortByAscString';diff --git a/packages/twenty-front/src/modules/settings/roles/role-assignment/components/RoleAssignmentSection.tsx b/packages/twenty-front/src/modules/settings/roles/role-assignment/components/RoleAssignmentSection.tsxindex 9ac357c8015..b2f8a8d78a5 100644--- a/packages/twenty-front/src/modules/settings/roles/role-assignment/components/RoleAssignmentSection.tsx+++ b/packages/twenty-front/src/modules/settings/roles/role-assignment/components/RoleAssignmentSection.tsx@@ -5,9 +5,9 @@ import { Dropdown } from '@/ui/layout/dropdown/components/Dropdown';import { useCloseDropdown } from '@/ui/layout/dropdown/hooks/useCloseDropdown';import { styled } from '@linaria/react';import { IconPlus } from 'twenty-ui/icon';-import { AppTooltip, TooltipDelay } from 'twenty-ui/surfaces';-import { Button } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';+import { AppTooltip, TooltipDelay } from 'twenty-ui/primitives/surfaces';+import { Button } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';import { type Agent, type ApiKeyForRole } from '~/generated-metadata/graphql';import {diff --git a/packages/twenty-front/src/modules/settings/roles/role-assignment/components/SettingsRoleAssignmentConfirmationModalSubtitle.tsx b/packages/twenty-front/src/modules/settings/roles/role-assignment/components/SettingsRoleAssignmentConfirmationModalSubtitle.tsxindex a884bf35d4b..f20050a8b6d 100644--- a/packages/twenty-front/src/modules/settings/roles/role-assignment/components/SettingsRoleAssignmentConfirmationModalSubtitle.tsx+++ b/packages/twenty-front/src/modules/settings/roles/role-assignment/components/SettingsRoleAssignmentConfirmationModalSubtitle.tsx@@ -4,7 +4,7 @@ import { type SettingsRoleAssignmentConfirmationModalSelectedRoleTarget } from 'import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';-import { Avatar } from 'twenty-ui/data-display';+import { Avatar } from 'twenty-ui/primitives/data-display';import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';import { themeCssVariables } from 'twenty-ui/theme-constants';import { getAbsoluteImageUrl } from '~/utils/image/getAbsoluteImageUrl';diff --git a/packages/twenty-front/src/modules/settings/roles/role-assignment/components/SettingsRoleAssignmentTable.tsx b/packages/twenty-front/src/modules/settings/roles/role-assignment/components/SettingsRoleAssignmentTable.tsxindex 19f795d3d86..3c2dce08252 100644--- a/packages/twenty-front/src/modules/settings/roles/role-assignment/components/SettingsRoleAssignmentTable.tsx+++ b/packages/twenty-front/src/modules/settings/roles/role-assignment/components/SettingsRoleAssignmentTable.tsx@@ -13,7 +13,7 @@ import { t } from '@lingui/core/macro';import { useMemo, useState } from 'react';import { IconSearch } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';+import { H2Title } from 'twenty-ui/primitives/typography';import { type Agent, type ApiKeyForRole } from '~/generated-metadata/graphql';import { normalizeSearchText } from '~/utils/normalizeSearchText';import { type PartialWorkspaceMember } from '@/settings/roles/types/RoleWithPartialMembers';diff --git a/packages/twenty-front/src/modules/settings/roles/role-assignment/components/SettingsRoleAssignmentTableRow.tsx b/packages/twenty-front/src/modules/settings/roles/role-assignment/components/SettingsRoleAssignmentTableRow.tsxindex fc3dab3f151..cb80bb756ef 100644--- a/packages/twenty-front/src/modules/settings/roles/role-assignment/components/SettingsRoleAssignmentTableRow.tsx+++ b/packages/twenty-front/src/modules/settings/roles/role-assignment/components/SettingsRoleAssignmentTableRow.tsx@@ -6,9 +6,9 @@ import { useContext } from 'react';import { t } from '@lingui/core/macro';import { styled } from '@linaria/react';import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';-import { Avatar } from 'twenty-ui/data-display';+import { Avatar } from 'twenty-ui/primitives/data-display';import { IconKey, useIcons } from 'twenty-ui/icon';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';import { type Agent, type ApiKeyForRole } from '~/generated-metadata/graphql';import { dateLocaleState } from '~/localization/states/dateLocaleState';diff --git a/packages/twenty-front/src/modules/settings/roles/role-assignment/components/SettingsRoleAssignmentWorkspaceMemberPickerDropdownContent.tsx b/packages/twenty-front/src/modules/settings/roles/role-assignment/components/SettingsRoleAssignmentWorkspaceMemberPickerDropdownContent.tsxindex f455fd0ec1d..40fd546b937 100644--- a/packages/twenty-front/src/modules/settings/roles/role-assignment/components/SettingsRoleAssignmentWorkspaceMemberPickerDropdownContent.tsx+++ b/packages/twenty-front/src/modules/settings/roles/role-assignment/components/SettingsRoleAssignmentWorkspaceMemberPickerDropdownContent.tsx@@ -1,7 +1,7 @@import { currentWorkspaceMembersState } from '@/auth/states/currentWorkspaceMembersState';import { t } from '@lingui/core/macro';import { isDefined } from 'twenty-shared/utils';-import { MenuItem, MenuItemAvatar } from 'twenty-ui/navigation';+import { MenuItem, MenuItemAvatar } from 'twenty-ui/primitives/navigation';import { type SearchRecord } from '~/generated/graphql';import { type PartialWorkspaceMember } from '@/settings/roles/types/RoleWithPartialMembers';import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';diff --git a/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/components/SettingsRolePermissionsObjectLevelObjectPicker.tsx b/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/components/SettingsRolePermissionsObjectLevelObjectPicker.tsxindex f948a831a20..6d7a25c448c 100644--- a/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/components/SettingsRolePermissionsObjectLevelObjectPicker.tsx+++ b/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/components/SettingsRolePermissionsObjectLevelObjectPicker.tsx@@ -11,8 +11,8 @@ import { useContext, useState } from 'react';import { useSearchParams } from 'react-router-dom';import { SettingsPath } from 'twenty-shared/types';import { IconSearch } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Section } from 'twenty-ui/primitives/layout';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';import { useNavigateSettings } from '~/hooks/useNavigateSettings';diff --git a/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/components/SettingsRolePermissionsObjectLevelOverrideCell.tsx b/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/components/SettingsRolePermissionsObjectLevelOverrideCell.tsxindex 5870b969ced..cd2bb924aac 100644--- a/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/components/SettingsRolePermissionsObjectLevelOverrideCell.tsx+++ b/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/components/SettingsRolePermissionsObjectLevelOverrideCell.tsx@@ -8,7 +8,7 @@ import { useAtomFamilyStateValue } from '@/ui/utilities/state/jotai/hooks/useAtoimport { styled } from '@linaria/react';import { t } from '@lingui/core/macro';import { isDefined } from 'twenty-shared/utils';-import { AppTooltip, TooltipDelay } from 'twenty-ui/surfaces';+import { AppTooltip, TooltipDelay } from 'twenty-ui/primitives/surfaces';const StyledContainer = styled.div`display: flex;diff --git a/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/components/SettingsRolePermissionsObjectLevelSection.tsx b/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/components/SettingsRolePermissionsObjectLevelSection.tsxindex b53a5001869..75b361ce80f 100644--- a/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/components/SettingsRolePermissionsObjectLevelSection.tsx+++ b/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/components/SettingsRolePermissionsObjectLevelSection.tsx@@ -13,8 +13,8 @@ import { useMemo } from 'react';import { SettingsPath } from 'twenty-shared/types';import { isDefined } from 'twenty-shared/utils';import { IconPlus } from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';+import { Button } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';import { useNavigateSettings } from '~/hooks/useNavigateSettings';diff --git a/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/components/SettingsRolePermissionsObjectLevelTableRow.tsx b/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/components/SettingsRolePermissionsObjectLevelTableRow.tsxindex 3982421cb36..909044c0e89 100644--- a/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/components/SettingsRolePermissionsObjectLevelTableRow.tsx+++ b/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/components/SettingsRolePermissionsObjectLevelTableRow.tsx@@ -11,7 +11,7 @@ import { styled } from '@linaria/react';import { useContext } from 'react';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath } from 'twenty-shared/utils';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';const StyledNameLabel = styled.div`diff --git a/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/components/SettingsRolePermissionsObjectLevelTableRowOptionsDropdown.tsx b/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/components/SettingsRolePermissionsObjectLevelTableRowOptionsDropdown.tsxindex 66358f522ba..1350052c4a3 100644--- a/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/components/SettingsRolePermissionsObjectLevelTableRowOptionsDropdown.tsx+++ b/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/components/SettingsRolePermissionsObjectLevelTableRowOptionsDropdown.tsx@@ -5,8 +5,8 @@ import { DropdownMenuItemsContainer } from '@/ui/layout/dropdown/components/Dropimport { useCloseDropdown } from '@/ui/layout/dropdown/hooks/useCloseDropdown';import { t } from '@lingui/core/macro';import { IconDotsVertical, IconPencil, IconTrash } from 'twenty-ui/icon';-import { IconButton } from 'twenty-ui/input';-import { MenuItem, UndecoratedLink } from 'twenty-ui/navigation';+import { IconButton } from 'twenty-ui/primitives/input';+import { MenuItem, UndecoratedLink } from 'twenty-ui/primitives/navigation';type SettingsRolePermissionsObjectLevelTableRowOptionsDropdownProps = {roleId: string;diff --git a/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/field-permissions/components/SettingsRolePermissionsObjectLevelObjectFieldPermissionTable.tsx b/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/field-permissions/components/SettingsRolePermissionsObjectLevelObjectFieldPermissionTable.tsxindex 0cd8a8f409d..a435a6f9662 100644--- a/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/field-permissions/components/SettingsRolePermissionsObjectLevelObjectFieldPermissionTable.tsx+++ b/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/field-permissions/components/SettingsRolePermissionsObjectLevelObjectFieldPermissionTable.tsx@@ -21,8 +21,8 @@ import { useLingui } from '@lingui/react/macro';import { useState } from 'react';import { isNonEmptyArray } from 'twenty-shared/utils';import { IconSearch } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';import { sortByProperty } from '~/utils/array/sortByProperty';diff --git a/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/field-permissions/components/SettingsRolePermissionsObjectLevelObjectFieldPermissionTableAllHeaderRow.tsx b/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/field-permissions/components/SettingsRolePermissionsObjectLevelObjectFieldPermissionTableAllHeaderRow.tsxindex ba29e6ea9f7..3194abf9f78 100644--- a/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/field-permissions/components/SettingsRolePermissionsObjectLevelObjectFieldPermissionTableAllHeaderRow.tsx+++ b/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/field-permissions/components/SettingsRolePermissionsObjectLevelObjectFieldPermissionTableAllHeaderRow.tsx@@ -10,7 +10,7 @@ import { settingsDraftRoleFamilyState } from '@/settings/roles/states/settingsDrimport { useAtomFamilyStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomFamilyStateValue';import { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';-import { Label } from 'twenty-ui/typography';+import { Label } from 'twenty-ui/primitives/typography';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledSectionHeader = styled.div`diff --git a/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/object-form/components/OverridableCheckbox.tsx b/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/object-form/components/OverridableCheckbox.tsxindex 242567171e3..f8ee385c38d 100644--- a/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/object-form/components/OverridableCheckbox.tsx+++ b/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/object-form/components/OverridableCheckbox.tsx@@ -1,9 +1,9 @@import { styled } from '@linaria/react';import { useContext } from 'react';import { IconReload, IconX } from 'twenty-ui/icon';-import { Checkbox } from 'twenty-ui/input';+import { Checkbox } from 'twenty-ui/primitives/input';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';-import { AnimatedRotate } from 'twenty-ui/layout';+import { AnimatedRotate } from 'twenty-ui/primitives/layout';export type OverridableCheckboxType = 'default' | 'override' | 'no_cta';diff --git a/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/object-form/components/SettingsRolePermissionsObjectLevelObjectForm.tsx b/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/object-form/components/SettingsRolePermissionsObjectLevelObjectForm.tsxindex d21494dd231..c8315d7baa1 100644--- a/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/object-form/components/SettingsRolePermissionsObjectLevelObjectForm.tsx+++ b/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/object-form/components/SettingsRolePermissionsObjectLevelObjectForm.tsx@@ -18,7 +18,7 @@ import {isDefined,isRecordFilterValueValid,} from 'twenty-shared/utils';-import { Button } from 'twenty-ui/input';+import { Button } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';import { useQuery } from '@apollo/client/react';import {diff --git a/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/object-form/components/SettingsRolePermissionsObjectLevelObjectFormObjectLevel.tsx b/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/object-form/components/SettingsRolePermissionsObjectLevelObjectFormObjectLevel.tsxindex 962979730c3..cfbc7c7df50 100644--- a/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/object-form/components/SettingsRolePermissionsObjectLevelObjectFormObjectLevel.tsx+++ b/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/object-form/components/SettingsRolePermissionsObjectLevelObjectFormObjectLevel.tsx@@ -6,8 +6,8 @@ import { settingsDraftRoleFamilyState } from '@/settings/roles/states/settingsDrimport { useAtomFamilyStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomFamilyStateValue';import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';-import { H2Title } from 'twenty-ui/typography';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledTable = styled.div`diff --git a/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/record-level-permissions/components/SettingsRolePermissionsObjectLevelRecordLevelPermissionFieldSelectSubFieldMenu.tsx b/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/record-level-permissions/components/SettingsRolePermissionsObjectLevelRecordLevelPermissionFieldSelectSubFieldMenu.tsxindex 7dd9123de13..9157333076a 100644--- a/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/record-level-permissions/components/SettingsRolePermissionsObjectLevelRecordLevelPermissionFieldSelectSubFieldMenu.tsx+++ b/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/record-level-permissions/components/SettingsRolePermissionsObjectLevelRecordLevelPermissionFieldSelectSubFieldMenu.tsx@@ -6,7 +6,7 @@ import {} from 'twenty-shared/types';import { isDefined } from 'twenty-shared/utils';import { IconChevronLeft, useIcons } from 'twenty-ui/icon';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { type FieldMetadataItem } from '@/object-metadata/types/FieldMetadataItem';import { useAdvancedFilterFieldSelectDropdown } from '@/object-record/advanced-filter/hooks/useAdvancedFilterFieldSelectDropdown';diff --git a/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/record-level-permissions/components/SettingsRolePermissionsObjectLevelRecordLevelPermissionFilterBuilderContent.tsx b/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/record-level-permissions/components/SettingsRolePermissionsObjectLevelRecordLevelPermissionFilterBuilderContent.tsxindex e0554790456..6bd67691370 100644--- a/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/record-level-permissions/components/SettingsRolePermissionsObjectLevelRecordLevelPermissionFilterBuilderContent.tsx+++ b/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/record-level-permissions/components/SettingsRolePermissionsObjectLevelRecordLevelPermissionFilterBuilderContent.tsx@@ -4,7 +4,7 @@ import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';import { isDefined } from 'twenty-shared/utils';import { IconFilter, IconPlus } from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';+import { Button } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';import { CommandMenuButton } from '@/command-menu/components/CommandMenuButton';diff --git a/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/record-level-permissions/components/SettingsRolePermissionsObjectLevelRecordLevelPermissionMeValueSelect.tsx b/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/record-level-permissions/components/SettingsRolePermissionsObjectLevelRecordLevelPermissionMeValueSelect.tsxindex 3a520282a49..e617e8128b8 100644--- a/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/record-level-permissions/components/SettingsRolePermissionsObjectLevelRecordLevelPermissionMeValueSelect.tsx+++ b/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/record-level-permissions/components/SettingsRolePermissionsObjectLevelRecordLevelPermissionMeValueSelect.tsx@@ -10,7 +10,7 @@ import {} from 'twenty-shared/types';import { isDefined } from 'twenty-shared/utils';import { IconUserCircle, IconX, useIcons } from 'twenty-ui/icon';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { themeCssVariables } from 'twenty-ui/theme-constants';import { useObjectMetadataItem } from '@/object-metadata/hooks/useObjectMetadataItem';diff --git a/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/record-level-permissions/components/SettingsRolePermissionsObjectLevelRecordLevelPermissionValueInput.tsx b/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/record-level-permissions/components/SettingsRolePermissionsObjectLevelRecordLevelPermissionValueInput.tsxindex 1dbdec7d2f9..a2189a5cb13 100644--- a/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/record-level-permissions/components/SettingsRolePermissionsObjectLevelRecordLevelPermissionValueInput.tsx+++ b/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/record-level-permissions/components/SettingsRolePermissionsObjectLevelRecordLevelPermissionValueInput.tsx@@ -6,7 +6,7 @@ import { useContext, useMemo } from 'react';import { FieldMetadataType, CoreObjectNameSingular } from 'twenty-shared/types';import { isDefined } from 'twenty-shared/utils';import { IconEraser } from 'twenty-ui/icon';-import { AppTooltip, TooltipDelay } from 'twenty-ui/surfaces';+import { AppTooltip, TooltipDelay } from 'twenty-ui/primitives/surfaces';import { type JsonValue } from 'type-fest';import { useFieldMetadataItemById } from '@/object-metadata/hooks/useFieldMetadataItemById';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 5a770f43580..260a16029ec 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@@ -3,9 +3,9 @@import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';import { IconArrowUp, IconLock } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { Section } from 'twenty-ui/layout';-import { Card } from 'twenty-ui/surfaces';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Section } from 'twenty-ui/primitives/layout';+import { Card } from 'twenty-ui/primitives/surfaces';import { billingState } from '@/client-config/states/billingState';import { type EnrichedObjectMetadataItem } from '@/object-metadata/types/EnrichedObjectMetadataItem';@@ -13,7 +13,7 @@ import { SettingsOptionCardContentButton } from '@/settings/components/SettingsOimport { SettingsRolePermissionsObjectLevelRecordLevelPermissionFilterBuilder } from '@/settings/roles/role-permissions/object-level-permissions/record-level-permissions/components/SettingsRolePermissionsObjectLevelRecordLevelPermissionFilterBuilder';import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';import { SettingsPath } from 'twenty-shared/types';-import { Button } from 'twenty-ui/input';+import { Button } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';import { useNavigateSettings } from '~/hooks/useNavigateSettings';import { OrganizationAdornment } from '~/pages/settings/enterprise/components/OrganizationAdornment';diff --git a/packages/twenty-front/src/modules/settings/roles/role-permissions/objects-permissions/components/SettingsRolePermissionsObjectsSection.tsx b/packages/twenty-front/src/modules/settings/roles/role-permissions/objects-permissions/components/SettingsRolePermissionsObjectsSection.tsxindex d6808e3eb83..1a00602aae2 100644--- a/packages/twenty-front/src/modules/settings/roles/role-permissions/objects-permissions/components/SettingsRolePermissionsObjectsSection.tsx+++ b/packages/twenty-front/src/modules/settings/roles/role-permissions/objects-permissions/components/SettingsRolePermissionsObjectsSection.tsx@@ -6,8 +6,8 @@ import { useAtomFamilyStateValue } from '@/ui/utilities/state/jotai/hooks/useAtoimport { useSetAtomFamilyState } from '@/ui/utilities/state/jotai/hooks/useSetAtomFamilyState';import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';-import { H2Title } from 'twenty-ui/typography';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledTable = styled.div`diff --git a/packages/twenty-front/src/modules/settings/roles/role-permissions/objects-permissions/components/SettingsRolePermissionsObjectsTableHeader.tsx b/packages/twenty-front/src/modules/settings/roles/role-permissions/objects-permissions/components/SettingsRolePermissionsObjectsTableHeader.tsxindex 182135c4dcc..e937730845b 100644--- a/packages/twenty-front/src/modules/settings/roles/role-permissions/objects-permissions/components/SettingsRolePermissionsObjectsTableHeader.tsx+++ b/packages/twenty-front/src/modules/settings/roles/role-permissions/objects-permissions/components/SettingsRolePermissionsObjectsTableHeader.tsx@@ -5,7 +5,7 @@ import { useAtomFamilyStateValue } from '@/ui/utilities/state/jotai/hooks/useAtoimport { useSetAtomFamilyState } from '@/ui/utilities/state/jotai/hooks/useSetAtomFamilyState';import { TableRow } from '@/ui/layout/table/components/TableRow';import { t } from '@lingui/core/macro';-import { Checkbox } from 'twenty-ui/input';+import { Checkbox } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';type SettingsRolePermissionsObjectsTableHeaderProps = {diff --git a/packages/twenty-front/src/modules/settings/roles/role-permissions/objects-permissions/components/SettingsRolePermissionsObjectsTableRow.tsx b/packages/twenty-front/src/modules/settings/roles/role-permissions/objects-permissions/components/SettingsRolePermissionsObjectsTableRow.tsxindex 8221a28fc89..834b8f07ee9 100644--- a/packages/twenty-front/src/modules/settings/roles/role-permissions/objects-permissions/components/SettingsRolePermissionsObjectsTableRow.tsx+++ b/packages/twenty-front/src/modules/settings/roles/role-permissions/objects-permissions/components/SettingsRolePermissionsObjectsTableRow.tsx@@ -5,7 +5,7 @@ import { TableCell } from '@/ui/layout/table/components/TableCell';import { TableRow } from '@/ui/layout/table/components/TableRow';import { styled } from '@linaria/react';import { plural } from '@lingui/core/macro';-import { Checkbox } from 'twenty-ui/input';+import { Checkbox } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledPermissionContent = styled.div`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 8ef81bec775..171bca440e6 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@@ -8,9 +8,12 @@ import { useSetAtomFamilyState } from '@/ui/utilities/state/jotai/hooks/useSetAtimport { styled } from '@linaria/react';import { t } from '@lingui/core/macro';import { IconSettings } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { AnimatedExpandableContainer, Section } from 'twenty-ui/layout';-import { Card } from 'twenty-ui/surfaces';+import { H2Title } from 'twenty-ui/primitives/typography';+import {+ AnimatedExpandableContainer,+ Section,+} from 'twenty-ui/primitives/layout';+import { Card } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledTable = styled.div`diff --git a/packages/twenty-front/src/modules/settings/roles/role-permissions/permission-flags/components/SettingsRolePermissionsSettingsTableHeader.tsx b/packages/twenty-front/src/modules/settings/roles/role-permissions/permission-flags/components/SettingsRolePermissionsSettingsTableHeader.tsxindex de90a79d833..85893fab7ed 100644--- a/packages/twenty-front/src/modules/settings/roles/role-permissions/permission-flags/components/SettingsRolePermissionsSettingsTableHeader.tsx+++ b/packages/twenty-front/src/modules/settings/roles/role-permissions/permission-flags/components/SettingsRolePermissionsSettingsTableHeader.tsx@@ -1,7 +1,7 @@import { TableHeader } from '@/ui/layout/table/components/TableHeader';import { TableRow } from '@/ui/layout/table/components/TableRow';import { t } from '@lingui/core/macro';-import { Checkbox } from 'twenty-ui/input';+import { Checkbox } from 'twenty-ui/primitives/input';import { type SettingsRolePermissionsSettingPermission } from '@/settings/roles/role-permissions/permission-flags/types/SettingsRolePermissionsSettingPermission';import { settingsDraftRoleFamilyState } from '@/settings/roles/states/settingsDraftRoleFamilyState';diff --git a/packages/twenty-front/src/modules/settings/roles/role-permissions/permission-flags/components/SettingsRolePermissionsSettingsTableRow.tsx b/packages/twenty-front/src/modules/settings/roles/role-permissions/permission-flags/components/SettingsRolePermissionsSettingsTableRow.tsxindex 874494e09d6..4d58a3cfcfa 100644--- a/packages/twenty-front/src/modules/settings/roles/role-permissions/permission-flags/components/SettingsRolePermissionsSettingsTableRow.tsx+++ b/packages/twenty-front/src/modules/settings/roles/role-permissions/permission-flags/components/SettingsRolePermissionsSettingsTableRow.tsx@@ -5,7 +5,7 @@ import { useAtomFamilyStateValue } from '@/ui/utilities/state/jotai/hooks/useAtoimport { useSetAtomFamilyState } from '@/ui/utilities/state/jotai/hooks/useSetAtomFamilyState';import { TableRow } from '@/ui/layout/table/components/TableRow';import { styled } from '@linaria/react';-import { Checkbox } from 'twenty-ui/input';+import { Checkbox } from 'twenty-ui/primitives/input';import { useContext } from 'react';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';import { v4 } from 'uuid';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 e3933555a5f..3abb38c647b 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@@ -9,9 +9,12 @@ import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';import { IconTool } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { AnimatedExpandableContainer, Section } from 'twenty-ui/layout';-import { Card } from 'twenty-ui/surfaces';+import { H2Title } from 'twenty-ui/primitives/typography';+import {+ AnimatedExpandableContainer,+ Section,+} from 'twenty-ui/primitives/layout';+import { Card } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledTable = styled.div`diff --git a/packages/twenty-front/src/modules/settings/roles/role-settings/components/SettingsRoleApplicability.tsx b/packages/twenty-front/src/modules/settings/roles/role-settings/components/SettingsRoleApplicability.tsxindex 334ad621bd6..a89afa3220e 100644--- a/packages/twenty-front/src/modules/settings/roles/role-settings/components/SettingsRoleApplicability.tsx+++ b/packages/twenty-front/src/modules/settings/roles/role-settings/components/SettingsRoleApplicability.tsx@@ -2,9 +2,9 @@ import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';import { IconKey, IconLego, IconUsers } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { Checkbox } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Checkbox } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';import { useContext } from 'react';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';diff --git a/packages/twenty-front/src/modules/settings/roles/role-settings/components/SettingsRoleSettings.tsx b/packages/twenty-front/src/modules/settings/roles/role-settings/components/SettingsRoleSettings.tsxindex 132ec633d84..19c8f895a13 100644--- a/packages/twenty-front/src/modules/settings/roles/role-settings/components/SettingsRoleSettings.tsx+++ b/packages/twenty-front/src/modules/settings/roles/role-settings/components/SettingsRoleSettings.tsx@@ -11,9 +11,9 @@ import { useSetAtomFamilyState } from '@/ui/utilities/state/jotai/hooks/useSetAtimport { SettingsTextInput } from '@/ui/input/components/SettingsTextInput';import { TextArea } from '@/ui/input/components/TextArea';import { useModal } from '@/ui/layout/modal/hooks/useModal';-import { H2Title } from 'twenty-ui/typography';-import { Button } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Button } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledInputsContainer = styled.div`diff --git a/packages/twenty-front/src/modules/settings/security/components/SettingsSecurityAuthBypassOptionsList.tsx b/packages/twenty-front/src/modules/settings/security/components/SettingsSecurityAuthBypassOptionsList.tsxindex fdd40295336..0a855f9dc1b 100644--- a/packages/twenty-front/src/modules/settings/security/components/SettingsSecurityAuthBypassOptionsList.tsx+++ b/packages/twenty-front/src/modules/settings/security/components/SettingsSecurityAuthBypassOptionsList.tsx@@ -7,7 +7,7 @@ import { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';import { capitalize } from 'twenty-shared/utils';import { IconGoogle, IconMicrosoft, IconPassword } from 'twenty-ui/icon';-import { Card } from 'twenty-ui/surfaces';+import { Card } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';import { useMutation } from '@apollo/client/react';import {diff --git a/packages/twenty-front/src/modules/settings/security/components/SettingsSecurityAuthProvidersOptionsList.tsx b/packages/twenty-front/src/modules/settings/security/components/SettingsSecurityAuthProvidersOptionsList.tsxindex bc54d818615..3db2753186d 100644--- a/packages/twenty-front/src/modules/settings/security/components/SettingsSecurityAuthProvidersOptionsList.tsx+++ b/packages/twenty-front/src/modules/settings/security/components/SettingsSecurityAuthProvidersOptionsList.tsx@@ -20,7 +20,7 @@ import {IconMicrosoft,IconPassword,} from 'twenty-ui/icon';-import { Card } from 'twenty-ui/surfaces';+import { Card } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';import { useMutation } from '@apollo/client/react';import {diff --git a/packages/twenty-front/src/modules/settings/security/components/SettingsSecurityEditableProfileFields.tsx b/packages/twenty-front/src/modules/settings/security/components/SettingsSecurityEditableProfileFields.tsxindex 5a8bd28e39d..dfb21bf16bf 100644--- a/packages/twenty-front/src/modules/settings/security/components/SettingsSecurityEditableProfileFields.tsx+++ b/packages/twenty-front/src/modules/settings/security/components/SettingsSecurityEditableProfileFields.tsx@@ -17,8 +17,8 @@ import {IconUserCircle,type IconComponent,} from 'twenty-ui/icon';-import { type SelectOption } from 'twenty-ui/input';-import { MenuItemMultiSelect } from 'twenty-ui/navigation';+import { type SelectOption } from 'twenty-ui/primitives/input';+import { MenuItemMultiSelect } from 'twenty-ui/primitives/navigation';import { themeCssVariables } from 'twenty-ui/theme-constants';import { useMutation } from '@apollo/client/react';import { UpdateWorkspaceDocument } from '~/generated-metadata/graphql';diff --git a/packages/twenty-front/src/modules/settings/security/components/SettingsSecuritySettings.tsx b/packages/twenty-front/src/modules/settings/security/components/SettingsSecuritySettings.tsxindex 1d51c0cddda..dcae97a4cdf 100644--- a/packages/twenty-front/src/modules/settings/security/components/SettingsSecuritySettings.tsx+++ b/packages/twenty-front/src/modules/settings/security/components/SettingsSecuritySettings.tsx@@ -24,9 +24,9 @@ import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateimport { CombinedGraphQLErrors } from '@apollo/client/errors';import { useMutation } from '@apollo/client/react';import { IconClockHour8, IconHistory, IconTrash } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { Section } from 'twenty-ui/layout';-import { Card } from 'twenty-ui/surfaces';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Section } from 'twenty-ui/primitives/layout';+import { Card } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';import { UpdateWorkspaceDocument } from '~/generated-metadata/graphql';import { OrganizationAdornment } from '~/pages/settings/enterprise/components/OrganizationAdornment';diff --git a/packages/twenty-front/src/modules/settings/security/components/approvedAccessDomains/SettingsApprovedAccessDomainsListCard.tsx b/packages/twenty-front/src/modules/settings/security/components/approvedAccessDomains/SettingsApprovedAccessDomainsListCard.tsxindex 2f65b40e906..a694d059b5a 100644--- a/packages/twenty-front/src/modules/settings/security/components/approvedAccessDomains/SettingsApprovedAccessDomainsListCard.tsx+++ b/packages/twenty-front/src/modules/settings/security/components/approvedAccessDomains/SettingsApprovedAccessDomainsListCard.tsx@@ -14,7 +14,7 @@ import { useEffect } from 'react';import { useLingui } from '@lingui/react/macro';import { useAtomState } from '@/ui/utilities/state/jotai/hooks/useAtomState';import { getSettingsPath } from 'twenty-shared/utils';-import { Status } from 'twenty-ui/data-display';+import { Status } from 'twenty-ui/primitives/data-display';import { IconAt, IconMailCog } from 'twenty-ui/icon';import { useQuery } from '@apollo/client/react';import { GetApprovedAccessDomainsDocument } from '~/generated-metadata/graphql';diff --git a/packages/twenty-front/src/modules/settings/security/components/approvedAccessDomains/SettingsSecurityApprovedAccessDomainRowDropdownMenu.tsx b/packages/twenty-front/src/modules/settings/security/components/approvedAccessDomains/SettingsSecurityApprovedAccessDomainRowDropdownMenu.tsxindex 3755344edc3..419eb9d7c9a 100644--- a/packages/twenty-front/src/modules/settings/security/components/approvedAccessDomains/SettingsSecurityApprovedAccessDomainRowDropdownMenu.tsx+++ b/packages/twenty-front/src/modules/settings/security/components/approvedAccessDomains/SettingsSecurityApprovedAccessDomainRowDropdownMenu.tsx@@ -8,8 +8,8 @@ import { useSetAtomState } from '@/ui/utilities/state/jotai/hooks/useSetAtomStatimport { t } from '@lingui/core/macro';import { isDefined } from 'twenty-shared/utils';import { IconDotsVertical, IconTrash } from 'twenty-ui/icon';-import { LightIconButton } from 'twenty-ui/input';-import { MenuItem } from 'twenty-ui/navigation';+import { LightIconButton } from 'twenty-ui/primitives/input';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { useMutation } from '@apollo/client/react';import {type ApprovedAccessDomain,diff --git a/packages/twenty-front/src/modules/settings/security/components/sso/SettingsSecuritySsoRowDropdownMenu.tsx b/packages/twenty-front/src/modules/settings/security/components/sso/SettingsSecuritySsoRowDropdownMenu.tsxindex b46f25b0d02..836747f7d9d 100644--- a/packages/twenty-front/src/modules/settings/security/components/sso/SettingsSecuritySsoRowDropdownMenu.tsx+++ b/packages/twenty-front/src/modules/settings/security/components/sso/SettingsSecuritySsoRowDropdownMenu.tsx@@ -9,8 +9,8 @@ import { useCloseDropdown } from '@/ui/layout/dropdown/hooks/useCloseDropdown';import { useLingui } from '@lingui/react/macro';import { isDefined } from 'twenty-shared/utils';import { IconArchive, IconDotsVertical, IconTrash } from 'twenty-ui/icon';-import { LightIconButton } from 'twenty-ui/input';-import { MenuItem } from 'twenty-ui/navigation';+import { LightIconButton } from 'twenty-ui/primitives/input';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { SsoIdentityProviderStatus } from '~/generated-metadata/graphql';type SettingsSecuritySsoRowDropdownMenuProps = {diff --git a/packages/twenty-front/src/modules/settings/security/components/sso/SettingsSsoIdentitiesProvidersForm.tsx b/packages/twenty-front/src/modules/settings/security/components/sso/SettingsSsoIdentitiesProvidersForm.tsxindex 23d1bda1475..7f6154fd7ce 100644--- a/packages/twenty-front/src/modules/settings/security/components/sso/SettingsSsoIdentitiesProvidersForm.tsx+++ b/packages/twenty-front/src/modules/settings/security/components/sso/SettingsSsoIdentitiesProvidersForm.tsx@@ -11,8 +11,8 @@ import { t } from '@lingui/core/macro';import { type ReactElement, useMemo } from 'react';import { Controller, useFormContext } from 'react-hook-form';import { type IconComponent, IconKey } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';import { IdentityProviderType } from '~/generated-metadata/graphql';diff --git a/packages/twenty-front/src/modules/settings/security/components/sso/SettingsSsoIdentityProviderRowRightContainer.tsx b/packages/twenty-front/src/modules/settings/security/components/sso/SettingsSsoIdentityProviderRowRightContainer.tsxindex 5046512754e..8c1a577a2c2 100644--- a/packages/twenty-front/src/modules/settings/security/components/sso/SettingsSsoIdentityProviderRowRightContainer.tsx+++ b/packages/twenty-front/src/modules/settings/security/components/sso/SettingsSsoIdentityProviderRowRightContainer.tsx@@ -4,7 +4,7 @@ import { SettingsSecuritySsoRowDropdownMenu } from '@/settings/security/componenimport { type SsoIdentityProvider } from '@/settings/security/types/SsoIdentityProvider';import { getColorBySsoIdentityProviderStatus } from '@/settings/security/utils/getColorBySsoIdentityProviderStatus';import { styled } from '@linaria/react';-import { Status } from 'twenty-ui/data-display';+import { Status } from 'twenty-ui/primitives/data-display';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledRowRightContainer = styled.div`diff --git a/packages/twenty-front/src/modules/settings/security/components/sso/SettingsSsoOidcForm.tsx b/packages/twenty-front/src/modules/settings/security/components/sso/SettingsSsoOidcForm.tsxindex eea2fb73d98..641293d0b90 100644--- a/packages/twenty-front/src/modules/settings/security/components/sso/SettingsSsoOidcForm.tsx+++ b/packages/twenty-front/src/modules/settings/security/components/sso/SettingsSsoOidcForm.tsx@@ -5,9 +5,9 @@ import { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';import { Controller, useFormContext } from 'react-hook-form';import { IconCopy } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { Button } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Button } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';import { REACT_APP_SERVER_BASE_URL } from '~/config';import { useCopyToClipboard } from '~/hooks/useCopyToClipboard';diff --git a/packages/twenty-front/src/modules/settings/security/components/sso/SettingsSsoSamlForm.tsx b/packages/twenty-front/src/modules/settings/security/components/sso/SettingsSsoSamlForm.tsxindex 9fbfbd7ccb9..51e369e5dac 100644--- a/packages/twenty-front/src/modules/settings/security/components/sso/SettingsSsoSamlForm.tsx+++ b/packages/twenty-front/src/modules/settings/security/components/sso/SettingsSsoSamlForm.tsx@@ -9,9 +9,9 @@ import { useLingui } from '@lingui/react/macro';import { useFormContext } from 'react-hook-form';import { isDefined } from 'twenty-shared/utils';import { IconCheck, IconCopy, IconDownload, IconUpload } from 'twenty-ui/icon';-import { HorizontalSeparator, Section } from 'twenty-ui/layout';-import { H2Title } from 'twenty-ui/typography';-import { Button } from 'twenty-ui/input';+import { HorizontalSeparator, Section } from 'twenty-ui/primitives/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Button } from 'twenty-ui/primitives/input';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';import { REACT_APP_SERVER_BASE_URL } from '~/config';import { useCopyToClipboard } from '~/hooks/useCopyToClipboard';diff --git a/packages/twenty-front/src/modules/settings/translations/components/SettingsTranslationsButton.tsx b/packages/twenty-front/src/modules/settings/translations/components/SettingsTranslationsButton.tsxindex 86a29f077e5..f7d0d6abaee 100644--- a/packages/twenty-front/src/modules/settings/translations/components/SettingsTranslationsButton.tsx+++ b/packages/twenty-front/src/modules/settings/translations/components/SettingsTranslationsButton.tsx@@ -7,7 +7,7 @@ import { useSetAtomState } from '@/ui/utilities/state/jotai/hooks/useSetAtomStatimport { useLingui } from '@lingui/react/macro';import { SidePanelPages } from 'twenty-shared/types';import { IconLanguage } from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';+import { Button } from 'twenty-ui/primitives/input';type SettingsTranslationsButtonProps = {target: SettingsTranslationsSidePanelTarget;diff --git a/packages/twenty-front/src/modules/settings/translations/components/SidePanelSettingsMetadataTranslationsPage.tsx b/packages/twenty-front/src/modules/settings/translations/components/SidePanelSettingsMetadataTranslationsPage.tsxindex 54b926c11a2..d1f7c31cfd0 100644--- a/packages/twenty-front/src/modules/settings/translations/components/SidePanelSettingsMetadataTranslationsPage.tsx+++ b/packages/twenty-front/src/modules/settings/translations/components/SidePanelSettingsMetadataTranslationsPage.tsx@@ -16,9 +16,9 @@ import { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';import { isDefined } from 'twenty-shared/utils';import { IconRestore } from 'twenty-ui/icon';-import { LightIconButton } from 'twenty-ui/input';+import { LightIconButton } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';-import { H2Title } from 'twenty-ui/typography';+import { H2Title } from 'twenty-ui/primitives/typography';import { MetadataTranslationProvenance } from '~/generated-metadata/graphql';const TRANSLATIONS_ROW_GRID_TEMPLATE_COLUMNS = '112px 1fr 24px';diff --git a/packages/twenty-front/src/modules/settings/two-factor-authentication/components/DeleteTwoFactorAuthenticationMethod.tsx b/packages/twenty-front/src/modules/settings/two-factor-authentication/components/DeleteTwoFactorAuthenticationMethod.tsxindex 64cc71a17eb..adec0ebd932 100644--- a/packages/twenty-front/src/modules/settings/two-factor-authentication/components/DeleteTwoFactorAuthenticationMethod.tsx+++ b/packages/twenty-front/src/modules/settings/two-factor-authentication/components/DeleteTwoFactorAuthenticationMethod.tsx@@ -9,8 +9,8 @@ import { Trans, useLingui } from '@lingui/react/macro';import { useParams } from 'react-router-dom';import { SettingsPath } from 'twenty-shared/types';import { isDefined } from 'twenty-shared/utils';-import { H2Title } from 'twenty-ui/typography';-import { Button } from 'twenty-ui/input';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Button } from 'twenty-ui/primitives/input';import { useMutation } from '@apollo/client/react';import { DeleteTwoFactorAuthenticationMethodDocument } from '~/generated-metadata/graphql';import { useNavigateSettings } from '~/hooks/useNavigateSettings';diff --git a/packages/twenty-front/src/modules/settings/unsubscribe-topics/components/SettingsWorkspaceUnsubscribeTopicSection.tsx b/packages/twenty-front/src/modules/settings/unsubscribe-topics/components/SettingsWorkspaceUnsubscribeTopicSection.tsxindex 830add06dff..85c02ecbb46 100644--- a/packages/twenty-front/src/modules/settings/unsubscribe-topics/components/SettingsWorkspaceUnsubscribeTopicSection.tsx+++ b/packages/twenty-front/src/modules/settings/unsubscribe-topics/components/SettingsWorkspaceUnsubscribeTopicSection.tsx@@ -9,7 +9,7 @@ import {type UnsubscribeTopicsQuery,UnsubscribeTopicVisibility,} from '~/generated-metadata/graphql';-import { Status } from 'twenty-ui/data-display';+import { Status } from 'twenty-ui/primitives/data-display';import { useNavigateSettings } from '~/hooks/useNavigateSettings';const StyledTopicName = styled.span`diff --git a/packages/twenty-front/src/modules/settings/unsubscribers/components/SettingsUnsubscribePreview.tsx b/packages/twenty-front/src/modules/settings/unsubscribers/components/SettingsUnsubscribePreview.tsxindex ace720ff178..3e2ccf7f43e 100644--- a/packages/twenty-front/src/modules/settings/unsubscribers/components/SettingsUnsubscribePreview.tsx+++ b/packages/twenty-front/src/modules/settings/unsubscribers/components/SettingsUnsubscribePreview.tsx@@ -2,10 +2,10 @@ import { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';import { useUnsubscribeTopics } from '@/activities/emails/hooks/useUnsubscribeTopics';-import { Button, Checkbox } from 'twenty-ui/input';-import { HorizontalSeparator, Section } from 'twenty-ui/layout';-import { Card } from 'twenty-ui/surfaces';-import { H2Title } from 'twenty-ui/typography';+import { Button, Checkbox } from 'twenty-ui/primitives/input';+import { HorizontalSeparator, Section } from 'twenty-ui/primitives/layout';+import { Card } from 'twenty-ui/primitives/surfaces';+import { H2Title } from 'twenty-ui/primitives/typography';import { themeCssVariables } from 'twenty-ui/theme-constants';import { UnsubscribeTopicVisibility } from '~/generated-metadata/graphql';diff --git a/packages/twenty-front/src/modules/settings/unsubscribers/components/SettingsUnsubscribersList.tsx b/packages/twenty-front/src/modules/settings/unsubscribers/components/SettingsUnsubscribersList.tsxindex 8d89748f7d1..4b960638bce 100644--- a/packages/twenty-front/src/modules/settings/unsubscribers/components/SettingsUnsubscribersList.tsx+++ b/packages/twenty-front/src/modules/settings/unsubscribers/components/SettingsUnsubscribersList.tsx@@ -14,8 +14,8 @@ import { SETTINGS_UNSUBSCRIBERS_ALL_FILTER } from '@/settings/unsubscribers/consimport { MESSAGE_SUPPRESSIONS_PAGE_SIZE } from '@/settings/unsubscribers/constants/MessageSuppressionsPageSize';import { useMessageSuppressions } from '@/settings/unsubscribers/hooks/useMessageSuppressions';import { getMessageSuppressionReasonBadge } from '@/settings/unsubscribers/utils/getMessageSuppressionReasonBadge';-import { Status } from 'twenty-ui/data-display';-import { SearchInput } from 'twenty-ui/input';+import { Status } from 'twenty-ui/primitives/data-display';+import { SearchInput } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';import {MessageSuppressionReason,diff --git a/packages/twenty-front/src/modules/settings/unsubscribers/components/filter-dropdown/SettingsUnsubscribersFilterDropdown.tsx b/packages/twenty-front/src/modules/settings/unsubscribers/components/filter-dropdown/SettingsUnsubscribersFilterDropdown.tsxindex c985bca6bce..abe5e852c9e 100644--- a/packages/twenty-front/src/modules/settings/unsubscribers/components/filter-dropdown/SettingsUnsubscribersFilterDropdown.tsx+++ b/packages/twenty-front/src/modules/settings/unsubscribers/components/filter-dropdown/SettingsUnsubscribersFilterDropdown.tsx@@ -1,7 +1,7 @@import { useLingui } from '@lingui/react/macro';import { useState } from 'react';import { IconFilter } from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';+import { Button } from 'twenty-ui/primitives/input';import { SettingsUnsubscribersFilterMenuContent } from '@/settings/unsubscribers/components/filter-dropdown/SettingsUnsubscribersFilterMenuContent';import { SettingsUnsubscribersFilterOptionsContent } from '@/settings/unsubscribers/components/filter-dropdown/SettingsUnsubscribersFilterOptionsContent';diff --git a/packages/twenty-front/src/modules/settings/unsubscribers/components/filter-dropdown/SettingsUnsubscribersFilterMenuContent.tsx b/packages/twenty-front/src/modules/settings/unsubscribers/components/filter-dropdown/SettingsUnsubscribersFilterMenuContent.tsxindex dbd4bcd93b6..d513d21920e 100644--- a/packages/twenty-front/src/modules/settings/unsubscribers/components/filter-dropdown/SettingsUnsubscribersFilterMenuContent.tsx+++ b/packages/twenty-front/src/modules/settings/unsubscribers/components/filter-dropdown/SettingsUnsubscribersFilterMenuContent.tsx@@ -1,6 +1,6 @@import { useLingui } from '@lingui/react/macro';import { IconMailCog, IconStatusChange, IconTrash } from 'twenty-ui/icon';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { type SettingsUnsubscribersFilterContentId } from '@/settings/unsubscribers/components/filter-dropdown/types/SettingsUnsubscribersFilterContentId';import { DropdownContent } from '@/ui/layout/dropdown/components/DropdownContent';diff --git a/packages/twenty-front/src/modules/settings/unsubscribers/components/filter-dropdown/SettingsUnsubscribersFilterOptionsContent.tsx b/packages/twenty-front/src/modules/settings/unsubscribers/components/filter-dropdown/SettingsUnsubscribersFilterOptionsContent.tsxindex 167be09c7b1..b4617136ff0 100644--- a/packages/twenty-front/src/modules/settings/unsubscribers/components/filter-dropdown/SettingsUnsubscribersFilterOptionsContent.tsx+++ b/packages/twenty-front/src/modules/settings/unsubscribers/components/filter-dropdown/SettingsUnsubscribersFilterOptionsContent.tsx@@ -1,5 +1,5 @@import { IconChevronLeft } from 'twenty-ui/icon';-import { MenuItemSelect } from 'twenty-ui/navigation';+import { MenuItemSelect } from 'twenty-ui/primitives/navigation';import { type SettingsUnsubscribersFilterOption } from '@/settings/unsubscribers/components/filter-dropdown/types/SettingsUnsubscribersFilterOption';import { DropdownContent } from '@/ui/layout/dropdown/components/DropdownContent';diff --git a/packages/twenty-front/src/modules/settings/usage/components/SettingsUsageAnalyticsSection.tsx b/packages/twenty-front/src/modules/settings/usage/components/SettingsUsageAnalyticsSection.tsxindex 34f9e41f997..f022639785a 100644--- a/packages/twenty-front/src/modules/settings/usage/components/SettingsUsageAnalyticsSection.tsx+++ b/packages/twenty-front/src/modules/settings/usage/components/SettingsUsageAnalyticsSection.tsx@@ -12,9 +12,9 @@ import { Link } from 'react-router-dom';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath } from 'twenty-shared/utils';import { IconSparkles } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { Button } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Button } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';import { SETTINGS_AI_TABS } from '~/pages/settings/ai/constants/SettingsAiTabs';export const SettingsUsageAnalyticsSection = () => {diff --git a/packages/twenty-front/src/modules/settings/usage/components/UsageBreakdownPieSection.tsx b/packages/twenty-front/src/modules/settings/usage/components/UsageBreakdownPieSection.tsxindex 5742372b319..9f490c92640 100644--- a/packages/twenty-front/src/modules/settings/usage/components/UsageBreakdownPieSection.tsx+++ b/packages/twenty-front/src/modules/settings/usage/components/UsageBreakdownPieSection.tsx@@ -10,8 +10,8 @@ import { Select } from '@/ui/input/components/Select';import { useLingui } from '@lingui/react/macro';import { useContext } from 'react';import { isDefined } from 'twenty-shared/utils';-import { H2Title } from 'twenty-ui/typography';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Section } from 'twenty-ui/primitives/layout';import { ThemeContext } from 'twenty-ui/theme-constants';import { type UsageOperationType } from '~/generated-metadata/graphql';diff --git a/packages/twenty-front/src/modules/settings/usage/components/UsageByUserTableSection.tsx b/packages/twenty-front/src/modules/settings/usage/components/UsageByUserTableSection.tsxindex 1d537ed0dbf..8164064060b 100644--- a/packages/twenty-front/src/modules/settings/usage/components/UsageByUserTableSection.tsx+++ b/packages/twenty-front/src/modules/settings/usage/components/UsageByUserTableSection.tsx@@ -9,11 +9,11 @@ import { TableRow } from '@/ui/layout/table/components/TableRow';import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';import { useContext, useState } from 'react';-import { Avatar } from 'twenty-ui/data-display';+import { Avatar } from 'twenty-ui/primitives/data-display';import { IconChevronRight } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { SearchInput } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { SearchInput } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';import { type UsageOperationType } from '~/generated-metadata/graphql';import { normalizeSearchText } from '~/utils/normalizeSearchText';diff --git a/packages/twenty-front/src/modules/settings/usage/components/UsageDailyChartSection.tsx b/packages/twenty-front/src/modules/settings/usage/components/UsageDailyChartSection.tsxindex d3a7834cc1c..e59eef61aff 100644--- a/packages/twenty-front/src/modules/settings/usage/components/UsageDailyChartSection.tsx+++ b/packages/twenty-front/src/modules/settings/usage/components/UsageDailyChartSection.tsx@@ -7,8 +7,8 @@ import { useUsageAnalyticsData } from '@/settings/usage/hooks/useUsageAnalyticsDimport { useUsageValueFormatter } from '@/settings/usage/hooks/useUsageValueFormatter';import { Select } from '@/ui/input/components/Select';import { styled } from '@linaria/react';-import { H2Title } from 'twenty-ui/typography';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Section } from 'twenty-ui/primitives/layout';import { type UsageOperationType } from '~/generated-metadata/graphql';import { formatDate } from '~/utils/date-utils';diff --git a/packages/twenty-front/src/modules/settings/usage/components/UsageSectionSkeleton.tsx b/packages/twenty-front/src/modules/settings/usage/components/UsageSectionSkeleton.tsxindex 81caf1ad3e5..8563e741053 100644--- a/packages/twenty-front/src/modules/settings/usage/components/UsageSectionSkeleton.tsx+++ b/packages/twenty-front/src/modules/settings/usage/components/UsageSectionSkeleton.tsx@@ -1,7 +1,7 @@import { useContext } from 'react';import Skeleton, { SkeletonTheme } from 'react-loading-skeleton';-import { Section } from 'twenty-ui/layout';+import { Section } from 'twenty-ui/primitives/layout';import { ThemeContext } from 'twenty-ui/theme-constants';export const UsageSectionSkeleton = () => {diff --git a/packages/twenty-front/src/modules/settings/workspace/components/ImpersonationSwitch.tsx b/packages/twenty-front/src/modules/settings/workspace/components/ImpersonationSwitch.tsxindex 4cc7d4e5cb1..79f16eb6da2 100644--- a/packages/twenty-front/src/modules/settings/workspace/components/ImpersonationSwitch.tsx+++ b/packages/twenty-front/src/modules/settings/workspace/components/ImpersonationSwitch.tsx@@ -5,7 +5,7 @@ import { useSnackBar } from '@/ui/feedback/snack-bar-manager/hooks/useSnackBar';import { CombinedGraphQLErrors } from '@apollo/client/errors';import { t } from '@lingui/core/macro';import { IconLifebuoy } from 'twenty-ui/icon';-import { Card } from 'twenty-ui/surfaces';+import { Card } from 'twenty-ui/primitives/surfaces';import { useMutation } from '@apollo/client/react';import { UpdateWorkspaceDocument } from '~/generated-metadata/graphql';diff --git a/packages/twenty-front/src/modules/settings/workspace/components/SettingsWorkspaceBlocklistSection.tsx b/packages/twenty-front/src/modules/settings/workspace/components/SettingsWorkspaceBlocklistSection.tsxindex a17209cf2d7..acf4f3fb7a2 100644--- a/packages/twenty-front/src/modules/settings/workspace/components/SettingsWorkspaceBlocklistSection.tsx+++ b/packages/twenty-front/src/modules/settings/workspace/components/SettingsWorkspaceBlocklistSection.tsx@@ -6,8 +6,8 @@ import { SettingsAccountsBlocklistInput } from '@/settings/accounts/components/Simport { SettingsAccountsBlocklistTable } from '@/settings/accounts/components/SettingsAccountsBlocklistTable';import { useLingui } from '@lingui/react/macro';import { BlocklistScope, CoreObjectNameSingular } from 'twenty-shared/types';-import { Section } from 'twenty-ui/layout';-import { H2Title } from 'twenty-ui/typography';+import { Section } from 'twenty-ui/primitives/layout';+import { H2Title } from 'twenty-ui/primitives/typography';export const SettingsWorkspaceBlocklistSection = () => {const { t } = useLingui();diff --git a/packages/twenty-front/src/modules/settings/workspace/components/SettingsWorkspaceEmailChannelDomainStatusCell.tsx b/packages/twenty-front/src/modules/settings/workspace/components/SettingsWorkspaceEmailChannelDomainStatusCell.tsxindex d1ebaf39392..81c74c7b10a 100644--- a/packages/twenty-front/src/modules/settings/workspace/components/SettingsWorkspaceEmailChannelDomainStatusCell.tsx+++ b/packages/twenty-front/src/modules/settings/workspace/components/SettingsWorkspaceEmailChannelDomainStatusCell.tsx@@ -6,7 +6,7 @@ import { GetEmailingDomainsDocument } from '~/generated-metadata/graphql';import { getColorByEmailingDomainStatus } from '~/pages/settings/emailing-domains/utils/getEmailingDomainStatusColor';import { getTextByEmailingDomainStatus } from '~/pages/settings/emailing-domains/utils/getEmailingDomainStatusText';import { isDefined } from 'twenty-shared/utils';-import { Status } from 'twenty-ui/data-display';+import { Status } from 'twenty-ui/primitives/data-display';type SettingsWorkspaceEmailChannelDomainStatusCellProps = {item: MessageChannel;diff --git a/packages/twenty-front/src/modules/settings/workspace/components/SettingsWorkspaceEmailGroupSourceCell.tsx b/packages/twenty-front/src/modules/settings/workspace/components/SettingsWorkspaceEmailGroupSourceCell.tsxindex c7bf0bcf10e..205a8e3391f 100644--- a/packages/twenty-front/src/modules/settings/workspace/components/SettingsWorkspaceEmailGroupSourceCell.tsx+++ b/packages/twenty-front/src/modules/settings/workspace/components/SettingsWorkspaceEmailGroupSourceCell.tsx@@ -1,7 +1,7 @@import { styled } from '@linaria/react';import { type MessageChannel } from '@/accounts/types/MessageChannel';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledNameCell = styled.div`diff --git a/packages/twenty-front/src/modules/settings/workspace/components/SettingsWorkspaceEmailSyncSection.tsx b/packages/twenty-front/src/modules/settings/workspace/components/SettingsWorkspaceEmailSyncSection.tsxindex 5866256cfca..b639cfbe6ad 100644--- a/packages/twenty-front/src/modules/settings/workspace/components/SettingsWorkspaceEmailSyncSection.tsx+++ b/packages/twenty-front/src/modules/settings/workspace/components/SettingsWorkspaceEmailSyncSection.tsx@@ -7,9 +7,9 @@ import { useMutation } from '@apollo/client/react';import { useLingui } from '@lingui/react/macro';import { isDefined } from 'twenty-shared/utils';import { IconMail } from 'twenty-ui/icon';-import { Section } from 'twenty-ui/layout';-import { Card } from 'twenty-ui/surfaces';-import { H2Title } from 'twenty-ui/typography';+import { Section } from 'twenty-ui/primitives/layout';+import { Card } from 'twenty-ui/primitives/surfaces';+import { H2Title } from 'twenty-ui/primitives/typography';import { UpdateWorkspaceDocument } from '~/generated-metadata/graphql';export const SettingsWorkspaceEmailSyncSection = () => {diff --git a/packages/twenty-front/src/modules/side-panel/components/SidePanelBackButton.tsx b/packages/twenty-front/src/modules/side-panel/components/SidePanelBackButton.tsxindex 51dcc85fa45..3ccec8869d4 100644--- a/packages/twenty-front/src/modules/side-panel/components/SidePanelBackButton.tsx+++ b/packages/twenty-front/src/modules/side-panel/components/SidePanelBackButton.tsx@@ -9,8 +9,8 @@ import { useOpenDropdown } from '@/ui/layout/dropdown/hooks/useOpenDropdown';import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';import { IconChevronLeft } from 'twenty-ui/icon';-import { IconButton } from 'twenty-ui/input';-import { MenuItem } from 'twenty-ui/navigation';+import { IconButton } from 'twenty-ui/primitives/input';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledNavigationIcon = styled.div`diff --git a/packages/twenty-front/src/modules/side-panel/components/SidePanelCloseButton.tsx b/packages/twenty-front/src/modules/side-panel/components/SidePanelCloseButton.tsxindex ec4916ea91a..de52d2a2572 100644--- a/packages/twenty-front/src/modules/side-panel/components/SidePanelCloseButton.tsx+++ b/packages/twenty-front/src/modules/side-panel/components/SidePanelCloseButton.tsx@@ -1,7 +1,7 @@import { useSidePanelMenu } from '@/side-panel/hooks/useSidePanelMenu';import { useLingui } from '@lingui/react/macro';import { IconX } from 'twenty-ui/icon';-import { IconButtonWithTooltip } from 'twenty-ui/input';+import { IconButtonWithTooltip } from 'twenty-ui/primitives/input';export const SidePanelCloseButton = () => {const { t } = useLingui();diff --git a/packages/twenty-front/src/modules/side-panel/components/SidePanelContextChip.tsx b/packages/twenty-front/src/modules/side-panel/components/SidePanelContextChip.tsxindex b86a6584a9f..841feb7af65 100644--- a/packages/twenty-front/src/modules/side-panel/components/SidePanelContextChip.tsx+++ b/packages/twenty-front/src/modules/side-panel/components/SidePanelContextChip.tsx@@ -3,7 +3,7 @@ import { t } from '@lingui/core/macro';import { isNonEmptyString } from '@sniptt/guards';import { Fragment } from 'react/jsx-runtime';import { isDefined } from 'twenty-shared/utils';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';import { type SidePanelNavigationStackItem } from '@/side-panel/states/sidePanelNavigationStackState';diff --git a/packages/twenty-front/src/modules/side-panel/components/SidePanelContextRecordChipAvatars.tsx b/packages/twenty-front/src/modules/side-panel/components/SidePanelContextRecordChipAvatars.tsxindex 923fd778600..427ec32da9b 100644--- a/packages/twenty-front/src/modules/side-panel/components/SidePanelContextRecordChipAvatars.tsx+++ b/packages/twenty-front/src/modules/side-panel/components/SidePanelContextRecordChipAvatars.tsx@@ -5,7 +5,7 @@ import { type ObjectRecord } from '@/object-record/types/ObjectRecord';import { getAbsoluteImageUrl } from '~/utils/image/getAbsoluteImageUrl';import { styled } from '@linaria/react';import { useContext } from 'react';-import { Avatar } from 'twenty-ui/data-display';+import { Avatar } from 'twenty-ui/primitives/data-display';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';const StyledIconWrapper = styled.div<{ withIconBackground?: boolean }>`align-items: center;diff --git a/packages/twenty-front/src/modules/side-panel/components/SidePanelExpandButton.tsx b/packages/twenty-front/src/modules/side-panel/components/SidePanelExpandButton.tsxindex 1f571967fd9..e6e5919ad0c 100644--- a/packages/twenty-front/src/modules/side-panel/components/SidePanelExpandButton.tsx+++ b/packages/twenty-front/src/modules/side-panel/components/SidePanelExpandButton.tsx@@ -1,7 +1,7 @@import { isNonEmptyString } from '@sniptt/guards';import { isDefined } from 'twenty-shared/utils';import { IconMaximize } from 'twenty-ui/icon';-import { IconButtonWithTooltip } from 'twenty-ui/input';+import { IconButtonWithTooltip } from 'twenty-ui/primitives/input';import {getOsControlSymbol,getOsShortcutSeparator,diff --git a/packages/twenty-front/src/modules/side-panel/components/SidePanelFolderInfo.tsx b/packages/twenty-front/src/modules/side-panel/components/SidePanelFolderInfo.tsxindex 2cc0596dc6b..09ccf750957 100644--- a/packages/twenty-front/src/modules/side-panel/components/SidePanelFolderInfo.tsx+++ b/packages/twenty-front/src/modules/side-panel/components/SidePanelFolderInfo.tsx@@ -2,7 +2,7 @@ import { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';import { NavigationMenuItemType } from 'twenty-shared/types';import { isDefined } from 'twenty-shared/utils';-import { TintedIconTile } from 'twenty-ui/data-display';+import { TintedIconTile } from 'twenty-ui/primitives/data-display';import { useIcons } from 'twenty-ui/icon';import { FOLDER_ICON_DEFAULT } from '@/navigation-menu-item/common/constants/FolderIconDefault';diff --git a/packages/twenty-front/src/modules/side-panel/components/SidePanelGroup.tsx b/packages/twenty-front/src/modules/side-panel/components/SidePanelGroup.tsxindex 01158d873fb..ce535ca22c6 100644--- a/packages/twenty-front/src/modules/side-panel/components/SidePanelGroup.tsx+++ b/packages/twenty-front/src/modules/side-panel/components/SidePanelGroup.tsx@@ -1,6 +1,6 @@import { styled } from '@linaria/react';import React from 'react';-import { Label } from 'twenty-ui/typography';+import { Label } from 'twenty-ui/primitives/typography';import { isDefined } from 'twenty-shared/utils';import { themeCssVariables } from 'twenty-ui/theme-constants';diff --git a/packages/twenty-front/src/modules/side-panel/components/SidePanelObjectFilterDropdown.tsx b/packages/twenty-front/src/modules/side-panel/components/SidePanelObjectFilterDropdown.tsxindex af4c8c9ab4d..544c076ee98 100644--- a/packages/twenty-front/src/modules/side-panel/components/SidePanelObjectFilterDropdown.tsx+++ b/packages/twenty-front/src/modules/side-panel/components/SidePanelObjectFilterDropdown.tsx@@ -1,7 +1,7 @@import { useLingui } from '@lingui/react/macro';import { isDefined } from 'twenty-shared/utils';import { IconFilter } from 'twenty-ui/icon';-import { IconButton } from 'twenty-ui/input';+import { IconButton } from 'twenty-ui/primitives/input';import { SidePanelObjectFilterDropdownContent } from '@/side-panel/components/SidePanelObjectFilterDropdownContent';import { Dropdown } from '@/ui/layout/dropdown/components/Dropdown';diff --git a/packages/twenty-front/src/modules/side-panel/components/SidePanelObjectFilterDropdownContent.tsx b/packages/twenty-front/src/modules/side-panel/components/SidePanelObjectFilterDropdownContent.tsxindex b3caf6e73f1..1dde6976e15 100644--- a/packages/twenty-front/src/modules/side-panel/components/SidePanelObjectFilterDropdownContent.tsx+++ b/packages/twenty-front/src/modules/side-panel/components/SidePanelObjectFilterDropdownContent.tsx@@ -1,9 +1,12 @@import { useLingui } from '@lingui/react/macro';import { useState } from 'react';import { OBJECTS_WITH_CHANNEL_VISIBILITY_CONSTRAINTS } from 'twenty-shared/constants';-import { TintedIconTile } from 'twenty-ui/data-display';+import { TintedIconTile } from 'twenty-ui/primitives/data-display';import { IconCube } from 'twenty-ui/icon';-import { MenuItemSelectAvatar, MenuItemSwitch } from 'twenty-ui/navigation';+import {+ MenuItemSelectAvatar,+ MenuItemSwitch,+} from 'twenty-ui/primitives/navigation';import { ObjectMetadataIcon } from '@/object-metadata/components/ObjectMetadataIcon';import { useReadableObjectMetadataItems } from '@/object-metadata/hooks/useReadableObjectMetadataItems';diff --git a/packages/twenty-front/src/modules/side-panel/components/SidePanelToggleButton.tsx b/packages/twenty-front/src/modules/side-panel/components/SidePanelToggleButton.tsxindex 43798845154..274ddd54062 100644--- a/packages/twenty-front/src/modules/side-panel/components/SidePanelToggleButton.tsx+++ b/packages/twenty-front/src/modules/side-panel/components/SidePanelToggleButton.tsx@@ -11,8 +11,12 @@ import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';import { SidePanelPages } from 'twenty-shared/types';import { IconDotsVertical } from 'twenty-ui/icon';-import { IconButton } from 'twenty-ui/input';-import { AppTooltip, TooltipDelay, TooltipPosition } from 'twenty-ui/surfaces';+import { IconButton } from 'twenty-ui/primitives/input';+import {+ AppTooltip,+ TooltipDelay,+ TooltipPosition,+} from 'twenty-ui/primitives/surfaces';import { getOsControlSymbol, useIsMobile } from 'twenty-ui/utilities';import { themeCssVariables } from 'twenty-ui/theme-constants';diff --git a/packages/twenty-front/src/modules/side-panel/components/SidePanelTopBarRightCornerIcon.tsx b/packages/twenty-front/src/modules/side-panel/components/SidePanelTopBarRightCornerIcon.tsxindex d2361c023fd..28716462a61 100644--- a/packages/twenty-front/src/modules/side-panel/components/SidePanelTopBarRightCornerIcon.tsx+++ b/packages/twenty-front/src/modules/side-panel/components/SidePanelTopBarRightCornerIcon.tsx@@ -8,7 +8,7 @@ import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';import { SidePanelPages } from 'twenty-shared/types';import { IconEdit } from 'twenty-ui/icon';-import { IconButton } from 'twenty-ui/input';+import { IconButton } from 'twenty-ui/primitives/input';import { useIsMobile } from 'twenty-ui/utilities';import { themeCssVariables } from 'twenty-ui/theme-constants';diff --git a/packages/twenty-front/src/modules/side-panel/components/__tests__/SidePanelToggleButton.test.tsx b/packages/twenty-front/src/modules/side-panel/components/__tests__/SidePanelToggleButton.test.tsxindex b8fe9a178f2..06d6b549b19 100644--- a/packages/twenty-front/src/modules/side-panel/components/__tests__/SidePanelToggleButton.test.tsx+++ b/packages/twenty-front/src/modules/side-panel/components/__tests__/SidePanelToggleButton.test.tsx@@ -25,8 +25,8 @@ jest.mock('twenty-ui/utilities', () => ({getOsControlSymbol: () => '⌘',}));-jest.mock('twenty-ui/surfaces', () => ({- ...jest.requireActual('twenty-ui/surfaces'),+jest.mock('twenty-ui/primitives/surfaces', () => ({+ ...jest.requireActual('twenty-ui/primitives/surfaces'),AppTooltip: (props: { title: string }) => {mockAppTooltip(props);diff --git a/packages/twenty-front/src/modules/side-panel/pages/common/components/SidePanelSubPageNavigationHeader.tsx b/packages/twenty-front/src/modules/side-panel/pages/common/components/SidePanelSubPageNavigationHeader.tsxindex 9335b63ec56..7682eeaf5ba 100644--- a/packages/twenty-front/src/modules/side-panel/pages/common/components/SidePanelSubPageNavigationHeader.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/common/components/SidePanelSubPageNavigationHeader.tsx@@ -1,6 +1,6 @@import { styled } from '@linaria/react';import { IconChevronLeft } from 'twenty-ui/icon';-import { IconButton } from 'twenty-ui/input';+import { IconButton } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledContainer = styled.div`diff --git a/packages/twenty-front/src/modules/side-panel/pages/compose-calendar-event/components/SidePanelComposeCalendarEventPage.tsx b/packages/twenty-front/src/modules/side-panel/pages/compose-calendar-event/components/SidePanelComposeCalendarEventPage.tsxindex 8f8dcd2e050..ea2833a8203 100644--- a/packages/twenty-front/src/modules/side-panel/pages/compose-calendar-event/components/SidePanelComposeCalendarEventPage.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/compose-calendar-event/components/SidePanelComposeCalendarEventPage.tsx@@ -14,7 +14,7 @@ import { t } from '@lingui/core/macro';import { ConnectedAccountProvider, SettingsPath } from 'twenty-shared/types';import { isDefined } from 'twenty-shared/utils';import { IconCalendarEvent, IconTrash } from 'twenty-ui/icon';-import { Button, IconButton } from 'twenty-ui/input';+import { Button, IconButton } from 'twenty-ui/primitives/input';import { getOsControlSymbol } from 'twenty-ui/utilities';import { useNavigateSettings } from '~/hooks/useNavigateSettings';diff --git a/packages/twenty-front/src/modules/side-panel/pages/compose-email/components/SidePanelComposeEmailPage.tsx b/packages/twenty-front/src/modules/side-panel/pages/compose-email/components/SidePanelComposeEmailPage.tsxindex 4affe842e22..baa20eb7082 100644--- a/packages/twenty-front/src/modules/side-panel/pages/compose-email/components/SidePanelComposeEmailPage.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/compose-email/components/SidePanelComposeEmailPage.tsx@@ -15,7 +15,7 @@ import { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useimport { styled } from '@linaria/react';import { t } from '@lingui/core/macro';import { IconPaperclip, IconSend, IconTrash } from 'twenty-ui/icon';-import { Button, IconButton } from 'twenty-ui/input';+import { Button, IconButton } from 'twenty-ui/primitives/input';import { getOsControlSymbol } from 'twenty-ui/utilities';import { useAttachEmailFiles } from '@/activities/emails/hooks/useAttachEmailFiles';diff --git a/packages/twenty-front/src/modules/side-panel/pages/email-block-settings/components/EmailBoxSidesInput.tsx b/packages/twenty-front/src/modules/side-panel/pages/email-block-settings/components/EmailBoxSidesInput.tsxindex 255bcb48411..e9277be564f 100644--- a/packages/twenty-front/src/modules/side-panel/pages/email-block-settings/components/EmailBoxSidesInput.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/email-block-settings/components/EmailBoxSidesInput.tsx@@ -2,7 +2,7 @@ import { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';import { useState } from 'react';import { IconFrame, IconSquare } from 'twenty-ui/icon';-import { LightIconButton } from 'twenty-ui/input';+import { LightIconButton } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';import { StyledEmailFieldLabel } from '@/side-panel/pages/email-block-settings/components/StyledEmailFieldLabel';diff --git a/packages/twenty-front/src/modules/side-panel/pages/email-block-settings/components/SidePanelEmailBlockSettingsPage.tsx b/packages/twenty-front/src/modules/side-panel/pages/email-block-settings/components/SidePanelEmailBlockSettingsPage.tsxindex e10e14aeae3..a033c70b087 100644--- a/packages/twenty-front/src/modules/side-panel/pages/email-block-settings/components/SidePanelEmailBlockSettingsPage.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/email-block-settings/components/SidePanelEmailBlockSettingsPage.tsx@@ -7,7 +7,7 @@ import {TIPTAP_NODE_TYPES,} from 'twenty-shared/utils';import { IconTrash } from 'twenty-ui/icon';-import { LightIconButton } from 'twenty-ui/input';+import { LightIconButton } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';import { activeEmailEditorState } from '@/activities/emails/states/activeEmailEditorState';diff --git a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/ChartFiltersDeletedFieldsWarning.tsx b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/ChartFiltersDeletedFieldsWarning.tsxindex ce38424cf21..eca4f453e64 100644--- a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/ChartFiltersDeletedFieldsWarning.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/ChartFiltersDeletedFieldsWarning.tsx@@ -1,7 +1,7 @@import { currentRecordFiltersComponentState } from '@/object-record/record-filter/states/currentRecordFiltersComponentState';import { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentStateValue';import { t } from '@lingui/core/macro';-import { SidePanelInformationBanner } from 'twenty-ui/feedback';+import { SidePanelInformationBanner } from 'twenty-ui/primitives/feedback';type ChartFiltersDeletedFieldsWarningProps = {validFieldMetadataIds: Set<string>;};diff --git a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/ChartFiltersSettings.tsx b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/ChartFiltersSettings.tsxindex 75c3af86928..0d839116d13 100644--- a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/ChartFiltersSettings.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/ChartFiltersSettings.tsx@@ -13,7 +13,7 @@ import { RecordFilterGroupsComponentInstanceContext } from '@/object-record/recoimport { currentRecordFilterGroupsComponentState } from '@/object-record/record-filter-group/states/currentRecordFilterGroupsComponentState';import { RecordFiltersComponentInstanceContext } from '@/object-record/record-filter/states/context/RecordFiltersComponentInstanceContext';import { currentRecordFiltersComponentState } from '@/object-record/record-filter/states/currentRecordFiltersComponentState';-import { InputLabel } from 'twenty-ui/input';+import { InputLabel } from 'twenty-ui/primitives/input';import { useAtomComponentStateCallbackState } from '@/ui/utilities/state/jotai/hooks/useAtomComponentStateCallbackState';import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';diff --git a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/ChartLimitInfoBanner.tsx b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/ChartLimitInfoBanner.tsxindex c2bb646b44e..b450600bd1a 100644--- a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/ChartLimitInfoBanner.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/ChartLimitInfoBanner.tsx@@ -1,6 +1,6 @@import { getChartLimitMessage } from '@/side-panel/pages/page-layout/utils/getChartLimitMessage';import { t } from '@lingui/core/macro';-import { SidePanelInformationBanner } from 'twenty-ui/feedback';+import { SidePanelInformationBanner } from 'twenty-ui/primitives/feedback';import { type WidgetConfigurationType } from '~/generated-metadata/graphql';type ChartLimitInfoBannerProps = {diff --git a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/ChartTypeSelectionSection.tsx b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/ChartTypeSelectionSection.tsxindex 6812a8fb985..388018298aa 100644--- a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/ChartTypeSelectionSection.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/ChartTypeSelectionSection.tsx@@ -3,7 +3,7 @@ import { styled } from '@linaria/react';import { GraphType } from '@/side-panel/pages/page-layout/types/GraphType';import { t } from '@lingui/core/macro';-import { MenuPicker } from 'twenty-ui/navigation';+import { MenuPicker } from 'twenty-ui/primitives/navigation';import { themeCssVariables } from 'twenty-ui/theme-constants';const graphTypeOptions = [diff --git a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/RegularTabSettingsContent.tsx b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/RegularTabSettingsContent.tsxindex 201bacdfd20..1de4d4980fd 100644--- a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/RegularTabSettingsContent.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/RegularTabSettingsContent.tsx@@ -9,7 +9,7 @@ import { useModal } from '@/ui/layout/modal/hooks/useModal';import { SelectableListItem } from '@/ui/layout/selectable-list/components/SelectableListItem';import { useLingui } from '@lingui/react/macro';import { IconCopyPlus, IconRefreshDot, IconTrash } from 'twenty-ui/icon';-import { AppTooltip } from 'twenty-ui/surfaces';+import { AppTooltip } from 'twenty-ui/primitives/surfaces';const RESET_TAB_TO_DEFAULT_MODAL_ID = 'reset-regular-tab-to-default-modal';const RESET_TAB_TO_DEFAULT_MENU_ITEM_ID =diff --git a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/SingleWidgetTabSettingsContent.tsx b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/SingleWidgetTabSettingsContent.tsxindex 5fe8806ad6c..a661bca0dd6 100644--- a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/SingleWidgetTabSettingsContent.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/SingleWidgetTabSettingsContent.tsx@@ -14,7 +14,7 @@ import { useModal } from '@/ui/layout/modal/hooks/useModal';import { SelectableListItem } from '@/ui/layout/selectable-list/components/SelectableListItem';import { useLingui } from '@lingui/react/macro';import { IconEyeX, IconRefreshDot, IconTrash } from 'twenty-ui/icon';-import { AppTooltip } from 'twenty-ui/surfaces';+import { AppTooltip } from 'twenty-ui/primitives/surfaces';const RESET_TAB_TO_DEFAULT_MODAL_ID ='reset-single-widget-tab-to-default-modal';diff --git a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/WidgetSettingsFooter.tsx b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/WidgetSettingsFooter.tsxindex 6ffd514c4ac..ccfd29c6ae6 100644--- a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/WidgetSettingsFooter.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/WidgetSettingsFooter.tsx@@ -11,7 +11,7 @@ import { useLingui } from '@lingui/react/macro';import { useId } from 'react';import { isDefined } from 'twenty-shared/utils';import { IconCopyPlus, IconTrash } from 'twenty-ui/icon';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';export const WidgetSettingsFooter = ({pageLayoutId,diff --git a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/WidgetSettingsManageSection.tsx b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/WidgetSettingsManageSection.tsxindex dcee30cf0e2..03b161400d8 100644--- a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/WidgetSettingsManageSection.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/WidgetSettingsManageSection.tsx@@ -25,7 +25,7 @@ import {IconSwitchHorizontal,IconTrash,} from 'twenty-ui/icon';-import { AppTooltip } from 'twenty-ui/surfaces';+import { AppTooltip } from 'twenty-ui/primitives/surfaces';const RESET_WIDGET_TO_DEFAULT_MODAL_ID = 'reset-widget-to-default-modal';const RESET_WIDGET_TO_DEFAULT_MENU_ITEM_ID =diff --git a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartAggregateOperationSelectableListItem.tsx b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartAggregateOperationSelectableListItem.tsxindex f1198ada5f4..b41b0003c4c 100644--- a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartAggregateOperationSelectableListItem.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartAggregateOperationSelectableListItem.tsx@@ -13,7 +13,7 @@ import { selectedItemIdComponentState } from '@/ui/layout/selectable-list/statesimport { useAvailableComponentInstanceIdOrThrow } from '@/ui/utilities/state/component-state/hooks/useAvailableComponentInstanceIdOrThrow';import { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentStateValue';import { isDefined } from 'twenty-shared/utils';-import { MenuItemSelect } from 'twenty-ui/navigation';+import { MenuItemSelect } from 'twenty-ui/primitives/navigation';const isExtendedAggregateOperation = (operation: AggregateChartOperation,diff --git a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartAxisNameSelectionDropdownContent.tsx b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartAxisNameSelectionDropdownContent.tsxindex f0090e1d02c..cd7a5033ae9 100644--- a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartAxisNameSelectionDropdownContent.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartAxisNameSelectionDropdownContent.tsx@@ -11,7 +11,7 @@ import { SelectableListItem } from '@/ui/layout/selectable-list/components/Selecimport { selectedItemIdComponentState } from '@/ui/layout/selectable-list/states/selectedItemIdComponentState';import { useAvailableComponentInstanceIdOrThrow } from '@/ui/utilities/state/component-state/hooks/useAvailableComponentInstanceIdOrThrow';import { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentStateValue';-import { MenuItemSelect } from 'twenty-ui/navigation';+import { MenuItemSelect } from 'twenty-ui/primitives/navigation';import { AxisNameDisplay } from '~/generated-metadata/graphql';export const ChartAxisNameSelectionDropdownContent = () => {diff --git a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartColorGradientOption.tsx b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartColorGradientOption.tsxindex 10e54ac5c9f..8b928801082 100644--- a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartColorGradientOption.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartColorGradientOption.tsx@@ -4,8 +4,8 @@ import { generateGroupColor } from '@/page-layout/widgets/graph/utils/generateGrimport { SelectableListItem } from '@/ui/layout/selectable-list/components/SelectableListItem';import { styled } from '@linaria/react';import { useContext } from 'react';-import { ColorSample } from 'twenty-ui/data-display';-import { MenuItemSelect } from 'twenty-ui/navigation';+import { ColorSample } from 'twenty-ui/primitives/data-display';+import { MenuItemSelect } from 'twenty-ui/primitives/navigation';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';import { type ThemeColor } from 'twenty-ui/theme';type ChartColorGradientOptionProps = {diff --git a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartColorPaletteOption.tsx b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartColorPaletteOption.tsxindex cbb511d58d5..2083f3c38fe 100644--- a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartColorPaletteOption.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartColorPaletteOption.tsx@@ -5,8 +5,8 @@ import { SelectableListItem } from '@/ui/layout/selectable-list/components/Selecimport { styled } from '@linaria/react';import { t } from '@lingui/core/macro';import { useContext } from 'react';-import { ColorSample } from 'twenty-ui/data-display';-import { MenuItemSelect } from 'twenty-ui/navigation';+import { ColorSample } from 'twenty-ui/primitives/data-display';+import { MenuItemSelect } from 'twenty-ui/primitives/navigation';import { getMainColorNameFromPaletteColorName } from 'twenty-ui/utilities';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';import { type ThemeColor } from 'twenty-ui/theme';diff --git a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartDataSourceDropdownContent.tsx b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartDataSourceDropdownContent.tsxindex 4b7766010b2..fd3f5058b9d 100644--- a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartDataSourceDropdownContent.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartDataSourceDropdownContent.tsx@@ -22,7 +22,7 @@ import { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useimport { t } from '@lingui/core/macro';import { useMemo, useState } from 'react';import { isDefined } from 'twenty-shared/utils';-import { MenuItemSelect } from 'twenty-ui/navigation';+import { MenuItemSelect } from 'twenty-ui/primitives/navigation';import { filterBySearchQuery } from '~/utils/filterBySearchQuery';export const ChartDataSourceDropdownContent = () => {diff --git a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartDateGranularitySelectionDropdownContent.tsx b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartDateGranularitySelectionDropdownContent.tsxindex add1daf1e9e..14fdfc2dcbb 100644--- a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartDateGranularitySelectionDropdownContent.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartDateGranularitySelectionDropdownContent.tsx@@ -15,7 +15,7 @@ import { useAvailableComponentInstanceIdOrThrow } from '@/ui/utilities/state/comimport { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentStateValue';import { ObjectRecordGroupByDateGranularity } from 'twenty-shared/types';import { isDefined } from 'twenty-shared/utils';-import { MenuItemSelect } from 'twenty-ui/navigation';+import { MenuItemSelect } from 'twenty-ui/primitives/navigation';import {type FieldsConfiguration,type WidgetConfiguration,diff --git a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartFieldSelectionForAggregateOperationDropdownContent.tsx b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartFieldSelectionForAggregateOperationDropdownContent.tsxindex b8160bacd5e..b47845b86fa 100644--- a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartFieldSelectionForAggregateOperationDropdownContent.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartFieldSelectionForAggregateOperationDropdownContent.tsx@@ -17,7 +17,7 @@ import { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useimport { t } from '@lingui/core/macro';import { useState } from 'react';import { useIcons } from 'twenty-ui/icon';-import { MenuItemSelect } from 'twenty-ui/navigation';+import { MenuItemSelect } from 'twenty-ui/primitives/navigation';import { filterBySearchQuery } from '~/utils/filterBySearchQuery';export const ChartFieldSelectionForAggregateOperationDropdownContent = () => {diff --git a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartGroupByFieldSelectionCompositeFieldView.tsx b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartGroupByFieldSelectionCompositeFieldView.tsxindex 6eab2da1d27..0d105d2cff4 100644--- a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartGroupByFieldSelectionCompositeFieldView.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartGroupByFieldSelectionCompositeFieldView.tsx@@ -13,7 +13,7 @@ import { selectedItemIdComponentState } from '@/ui/layout/selectable-list/statesimport { useAvailableComponentInstanceIdOrThrow } from '@/ui/utilities/state/component-state/hooks/useAvailableComponentInstanceIdOrThrow';import { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentStateValue';import { IconChevronLeft, useIcons } from 'twenty-ui/icon';-import { MenuItemSelect } from 'twenty-ui/navigation';+import { MenuItemSelect } from 'twenty-ui/primitives/navigation';type ChartGroupByFieldSelectionCompositeFieldViewProps = {compositeField: FieldMetadataItem;diff --git a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartGroupByFieldSelectionDropdownContentBase.tsx b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartGroupByFieldSelectionDropdownContentBase.tsxindex 546b6a423b0..ecb5f61ac77 100644--- a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartGroupByFieldSelectionDropdownContentBase.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartGroupByFieldSelectionDropdownContentBase.tsx@@ -29,7 +29,7 @@ import {isFieldMetadataSupportedInGroupBy,} from 'twenty-shared/utils';import { useIcons } from 'twenty-ui/icon';-import { MenuItemSelect } from 'twenty-ui/navigation';+import { MenuItemSelect } from 'twenty-ui/primitives/navigation';import { RelationType } from '~/generated-metadata/graphql';import { filterBySearchQuery } from '~/utils/filterBySearchQuery';diff --git a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartGroupByFieldSelectionMorphRelationFieldView.tsx b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartGroupByFieldSelectionMorphRelationFieldView.tsxindex fa8b9218043..dd782fcf89e 100644--- a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartGroupByFieldSelectionMorphRelationFieldView.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartGroupByFieldSelectionMorphRelationFieldView.tsx@@ -15,7 +15,7 @@ import { t } from '@lingui/core/macro';import { useMemo, useState } from 'react';import { isDefined } from 'twenty-shared/utils';import { IconChevronLeft, useIcons } from 'twenty-ui/icon';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { RelationType } from '~/generated-metadata/graphql';type MorphRelationTarget = {diff --git a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartGroupByFieldSelectionTargetObjectFieldsView.tsx b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartGroupByFieldSelectionTargetObjectFieldsView.tsxindex 8b53a3e28c2..2e4d4d90aa1 100644--- a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartGroupByFieldSelectionTargetObjectFieldsView.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartGroupByFieldSelectionTargetObjectFieldsView.tsx@@ -18,7 +18,7 @@ import { t } from '@lingui/core/macro';import { useMemo, useState } from 'react';import { isDefined } from 'twenty-shared/utils';import { IconChevronLeft, useIcons } from 'twenty-ui/icon';-import { MenuItem, MenuItemSelect } from 'twenty-ui/navigation';+import { MenuItem, MenuItemSelect } from 'twenty-ui/primitives/navigation';import { filterBySearchQuery } from '~/utils/filterBySearchQuery';import { normalizeSearchText } from '~/utils/normalizeSearchText';diff --git a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartManualSortSubMenuContent.tsx b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartManualSortSubMenuContent.tsxindex 134787761aa..7455cd39ccb 100644--- a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartManualSortSubMenuContent.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartManualSortSubMenuContent.tsx@@ -15,9 +15,9 @@ import { DropdownMenuHeaderLeftComponent } from '@/ui/layout/dropdown/componentsimport { DropdownMenuItemsContainer } from '@/ui/layout/dropdown/components/DropdownMenuItemsContainer';import { t } from '@lingui/core/macro';import { isDefined } from 'twenty-shared/utils';-import { Tag } from 'twenty-ui/data-display';+import { Tag } from 'twenty-ui/primitives/data-display';import { IconChevronLeft } from 'twenty-ui/icon';-import { MenuItemDraggable } from 'twenty-ui/navigation';+import { MenuItemDraggable } from 'twenty-ui/primitives/navigation';import { type WidgetConfiguration } from '~/generated-metadata/graphql';import { moveArrayItem } from '~/utils/array/moveArrayItem';diff --git a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartNumberFormatSelectionDropdownContent.tsx b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartNumberFormatSelectionDropdownContent.tsxindex 2d94e7f1dcb..83e2b544413 100644--- a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartNumberFormatSelectionDropdownContent.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartNumberFormatSelectionDropdownContent.tsx@@ -12,7 +12,7 @@ import { SelectableListItem } from '@/ui/layout/selectable-list/components/Selecimport { selectedItemIdComponentState } from '@/ui/layout/selectable-list/states/selectedItemIdComponentState';import { useAvailableComponentInstanceIdOrThrow } from '@/ui/utilities/state/component-state/hooks/useAvailableComponentInstanceIdOrThrow';import { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentStateValue';-import { MenuItemSelect } from 'twenty-ui/navigation';+import { MenuItemSelect } from 'twenty-ui/primitives/navigation';import { ChartNumberFormat } from '~/generated-metadata/graphql';export const ChartNumberFormatSelectionDropdownContent = () => {diff --git a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartRatioAggregateOperationSelectableListItem.tsx b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartRatioAggregateOperationSelectableListItem.tsxindex 7537dd31057..5724fa452ed 100644--- a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartRatioAggregateOperationSelectableListItem.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartRatioAggregateOperationSelectableListItem.tsx@@ -8,7 +8,7 @@ import { selectedItemIdComponentState } from '@/ui/layout/selectable-list/statesimport { useAvailableComponentInstanceIdOrThrow } from '@/ui/utilities/state/component-state/hooks/useAvailableComponentInstanceIdOrThrow';import { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentStateValue';import { isDefined } from 'twenty-shared/utils';-import { MenuItemSelect } from 'twenty-ui/navigation';+import { MenuItemSelect } from 'twenty-ui/primitives/navigation';export const ChartRatioAggregateOperationSelectableListItem = ({label,diff --git a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartRatioOptionBooleanSelectableListItem.tsx b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartRatioOptionBooleanSelectableListItem.tsxindex 78665d79718..48244fe74d9 100644--- a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartRatioOptionBooleanSelectableListItem.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartRatioOptionBooleanSelectableListItem.tsx@@ -9,7 +9,7 @@ import { selectedItemIdComponentState } from '@/ui/layout/selectable-list/statesimport { useAvailableComponentInstanceIdOrThrow } from '@/ui/utilities/state/component-state/hooks/useAvailableComponentInstanceIdOrThrow';import { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentStateValue';import { IconCheck, IconX } from 'twenty-ui/icon';-import { MenuItemSelect } from 'twenty-ui/navigation';+import { MenuItemSelect } from 'twenty-ui/primitives/navigation';import { AggregateOperations } from '~/generated-metadata/graphql';export const ChartRatioOptionBooleanSelectableListItem = ({diff --git a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartRatioOptionSelectSelectableListItem.tsx b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartRatioOptionSelectSelectableListItem.tsxindex 2e1ce0480a5..80e7e63dabc 100644--- a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartRatioOptionSelectSelectableListItem.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartRatioOptionSelectSelectableListItem.tsx@@ -8,7 +8,7 @@ import { SelectableListItem } from '@/ui/layout/selectable-list/components/Selecimport { selectedItemIdComponentState } from '@/ui/layout/selectable-list/states/selectedItemIdComponentState';import { useAvailableComponentInstanceIdOrThrow } from '@/ui/utilities/state/component-state/hooks/useAvailableComponentInstanceIdOrThrow';import { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentStateValue';-import { MenuItemSelectTag } from 'twenty-ui/navigation';+import { MenuItemSelectTag } from 'twenty-ui/primitives/navigation';import { type ThemeColor } from 'twenty-ui/theme';import { AggregateOperations } from '~/generated-metadata/graphql';diff --git a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartSortByGroupByFieldDropdownContent.tsx b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartSortByGroupByFieldDropdownContent.tsxindex aea2ad8f0a7..655aa9f780c 100644--- a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartSortByGroupByFieldDropdownContent.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartSortByGroupByFieldDropdownContent.tsx@@ -20,7 +20,7 @@ import { selectedItemIdComponentState } from '@/ui/layout/selectable-list/statesimport { useAvailableComponentInstanceIdOrThrow } from '@/ui/utilities/state/component-state/hooks/useAvailableComponentInstanceIdOrThrow';import { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentStateValue';import { isDefined } from 'twenty-shared/utils';-import { MenuItemSelect } from 'twenty-ui/navigation';+import { MenuItemSelect } from 'twenty-ui/primitives/navigation';import {GraphOrderBy,type GraphOrderBy as GraphOrderByType,diff --git a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartSortBySelectionDropdownContent.tsx b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartSortBySelectionDropdownContent.tsxindex 3a2bd740b11..4dbcf881176 100644--- a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartSortBySelectionDropdownContent.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/ChartSortBySelectionDropdownContent.tsx@@ -21,7 +21,7 @@ import { useAvailableComponentInstanceIdOrThrow } from '@/ui/utilities/state/comimport { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentStateValue';import { type CompositeFieldSubFieldName } from 'twenty-shared/types';import { isDefined } from 'twenty-shared/utils';-import { MenuItemSelect } from 'twenty-ui/navigation';+import { MenuItemSelect } from 'twenty-ui/primitives/navigation';import {type BarChartConfiguration,GraphOrderBy,diff --git a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/FieldWidgetFieldDropdownContent.tsx b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/FieldWidgetFieldDropdownContent.tsxindex 988d8e51f34..6592cf967c3 100644--- a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/FieldWidgetFieldDropdownContent.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/FieldWidgetFieldDropdownContent.tsx@@ -34,7 +34,7 @@ import { t } from '@lingui/core/macro';import { useMemo, useState } from 'react';import { isDefined } from 'twenty-shared/utils';import { useIcons } from 'twenty-ui/icon';-import { MenuItemSelect } from 'twenty-ui/navigation';+import { MenuItemSelect } from 'twenty-ui/primitives/navigation';import { FieldDisplayMode } from '~/generated-metadata/graphql';import { filterBySearchQuery } from '~/utils/filterBySearchQuery';diff --git a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/FieldWidgetLayoutDropdownContent.tsx b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/FieldWidgetLayoutDropdownContent.tsxindex 5af073541a2..24869c65273 100644--- a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/FieldWidgetLayoutDropdownContent.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/FieldWidgetLayoutDropdownContent.tsx@@ -39,7 +39,7 @@ import {IconListDetails,IconTable,} from 'twenty-ui/icon';-import { MenuItemSelect } from 'twenty-ui/navigation';+import { MenuItemSelect } from 'twenty-ui/primitives/navigation';import { FieldDisplayMode } from '~/generated-metadata/graphql';const DISPLAY_MODE_ICONS: Record<FieldDisplayMode, IconComponent> = {diff --git a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/FieldWidgetNestedFieldDropdownContent.tsx b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/FieldWidgetNestedFieldDropdownContent.tsxindex 739fd669876..62cf085e671 100644--- a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/FieldWidgetNestedFieldDropdownContent.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/FieldWidgetNestedFieldDropdownContent.tsx@@ -13,7 +13,7 @@ import { selectedItemIdComponentState } from '@/ui/layout/selectable-list/statesimport { useAvailableComponentInstanceIdOrThrow } from '@/ui/utilities/state/component-state/hooks/useAvailableComponentInstanceIdOrThrow';import { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentStateValue';import { IconChevronLeft, useIcons } from 'twenty-ui/icon';-import { MenuItemSelect } from 'twenty-ui/navigation';+import { MenuItemSelect } from 'twenty-ui/primitives/navigation';type FieldWidgetNestedFieldDropdownContentProps = {drillInFieldMetadataItem: FieldMetadataItem;diff --git a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/MoveToTabDropdownContent.tsx b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/MoveToTabDropdownContent.tsxindex 0d31884639e..b6222f1fdde 100644--- a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/MoveToTabDropdownContent.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/MoveToTabDropdownContent.tsx@@ -8,7 +8,7 @@ import { useCloseDropdown } from '@/ui/layout/dropdown/hooks/useCloseDropdown';import { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentStateValue';import { t } from '@lingui/core/macro';import { isDefined } from 'twenty-shared/utils';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { PageLayoutTabLayoutMode } from '~/generated-metadata/graphql';export const MoveToTabDropdownContent = () => {diff --git a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/WidgetVisibilityOptionsList.tsx b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/WidgetVisibilityOptionsList.tsxindex 2f1b9b9438f..7f7508ffa23 100644--- a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/WidgetVisibilityOptionsList.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/dropdown-content/WidgetVisibilityOptionsList.tsx@@ -7,7 +7,7 @@ import { SelectableListItem } from '@/ui/layout/selectable-list/components/Selecimport { selectedItemIdComponentState } from '@/ui/layout/selectable-list/states/selectedItemIdComponentState';import { useAvailableComponentInstanceIdOrThrow } from '@/ui/utilities/state/component-state/hooks/useAvailableComponentInstanceIdOrThrow';import { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentStateValue';-import { MenuItemSelect } from 'twenty-ui/navigation';+import { MenuItemSelect } from 'twenty-ui/primitives/navigation';type WidgetVisibilityOptionsListProps = {currentOptionId: string;diff --git a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/record-table-settings/RecordTableCalendarFieldDropdownContent.tsx b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/record-table-settings/RecordTableCalendarFieldDropdownContent.tsxindex 4045fed4c8b..f735edbed44 100644--- a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/record-table-settings/RecordTableCalendarFieldDropdownContent.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/record-table-settings/RecordTableCalendarFieldDropdownContent.tsx@@ -10,7 +10,7 @@ import { selectedItemIdComponentState } from '@/ui/layout/selectable-list/statesimport { useAvailableComponentInstanceIdOrThrow } from '@/ui/utilities/state/component-state/hooks/useAvailableComponentInstanceIdOrThrow';import { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentStateValue';import { useIcons } from 'twenty-ui/icon';-import { MenuItemSelect } from 'twenty-ui/navigation';+import { MenuItemSelect } from 'twenty-ui/primitives/navigation';type RecordTableCalendarFieldDropdownContentProps = {pageLayoutId: string;diff --git a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/record-table-settings/RecordTableCalendarLayoutDropdownContent.tsx b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/record-table-settings/RecordTableCalendarLayoutDropdownContent.tsxindex b0b23a02684..b524afc8348 100644--- a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/record-table-settings/RecordTableCalendarLayoutDropdownContent.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/record-table-settings/RecordTableCalendarLayoutDropdownContent.tsx@@ -13,7 +13,7 @@ import {IconCalendarMonth,IconCalendarWeek,} from 'twenty-ui/icon';-import { MenuItemSelect } from 'twenty-ui/navigation';+import { MenuItemSelect } from 'twenty-ui/primitives/navigation';import { ViewCalendarLayout } from '~/generated-metadata/graphql';type RecordTableCalendarLayoutDropdownContentProps = {diff --git a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/record-table-settings/RecordTableDataSourceDropdownContent.tsx b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/record-table-settings/RecordTableDataSourceDropdownContent.tsxindex 440700affc9..7d445b042c2 100644--- a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/record-table-settings/RecordTableDataSourceDropdownContent.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/record-table-settings/RecordTableDataSourceDropdownContent.tsx@@ -21,7 +21,7 @@ import { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useimport { t } from '@lingui/core/macro';import { useState } from 'react';import { isDefined } from 'twenty-shared/utils';-import { MenuItemSelect } from 'twenty-ui/navigation';+import { MenuItemSelect } from 'twenty-ui/primitives/navigation';import { filterBySearchQuery } from '~/utils/filterBySearchQuery';export const RecordTableDataSourceDropdownContent = () => {diff --git a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/record-table-settings/RecordTableFieldsDropdownHiddenFieldsContent.tsx b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/record-table-settings/RecordTableFieldsDropdownHiddenFieldsContent.tsxindex 46281d7baa0..37f6816b3b7 100644--- a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/record-table-settings/RecordTableFieldsDropdownHiddenFieldsContent.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/record-table-settings/RecordTableFieldsDropdownHiddenFieldsContent.tsx@@ -12,7 +12,7 @@ import { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useimport { t } from '@lingui/core/macro';import { isDefined } from 'twenty-shared/utils';import { IconChevronLeft, IconEye, useIcons } from 'twenty-ui/icon';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { v4 } from 'uuid';import { sortByProperty } from '~/utils/array/sortByProperty';diff --git a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/record-table-settings/RecordTableFieldsDropdownVisibleFieldsContent.tsx b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/record-table-settings/RecordTableFieldsDropdownVisibleFieldsContent.tsxindex 32c2d8a07ea..e98dc348553 100644--- a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/record-table-settings/RecordTableFieldsDropdownVisibleFieldsContent.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/record-table-settings/RecordTableFieldsDropdownVisibleFieldsContent.tsx@@ -14,7 +14,10 @@ import { type DraggableListDropResult } from '@/ui/layout/draggable-list/types/Dimport { t } from '@lingui/core/macro';import { isDefined } from 'twenty-shared/utils';import { IconEyeOff, useIcons } from 'twenty-ui/icon';-import { MenuItemDraggable, MenuItemNavigate } from 'twenty-ui/navigation';+import {+ MenuItemDraggable,+ MenuItemNavigate,+} from 'twenty-ui/primitives/navigation';import { sortByProperty } from '~/utils/array/sortByProperty';type RecordTableFieldsDropdownVisibleFieldsContentProps = {diff --git a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/record-table-settings/RecordTableGroupByDropdownContent.tsx b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/record-table-settings/RecordTableGroupByDropdownContent.tsxindex fa58f0ec284..9d336415651 100644--- a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/record-table-settings/RecordTableGroupByDropdownContent.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/record-table-settings/RecordTableGroupByDropdownContent.tsx@@ -15,7 +15,7 @@ import { t } from '@lingui/core/macro';import { useState } from 'react';import { isDefined } from 'twenty-shared/utils';import { useIcons } from 'twenty-ui/icon';-import { MenuItemSelect } from 'twenty-ui/navigation';+import { MenuItemSelect } from 'twenty-ui/primitives/navigation';import { filterBySearchQuery } from '~/utils/filterBySearchQuery';const NO_GROUP_BY_ITEM_ID = 'no-group-by';diff --git a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/record-table-settings/RecordTableSettingsFieldVisibility.tsx b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/record-table-settings/RecordTableSettingsFieldVisibility.tsxindex 5786e1a909f..410fcf21502 100644--- a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/record-table-settings/RecordTableSettingsFieldVisibility.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/record-table-settings/RecordTableSettingsFieldVisibility.tsx@@ -7,7 +7,7 @@ import { type DraggableListDropResult } from '@/ui/layout/draggable-list/types/Dimport { styled } from '@linaria/react';import { useMemo } from 'react';import { IconEye, IconEyeOff, useIcons } from 'twenty-ui/icon';-import { MenuItemDraggable } from 'twenty-ui/navigation';+import { MenuItemDraggable } from 'twenty-ui/primitives/navigation';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledFieldListContainer = styled.div`diff --git a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/record-table-settings/RecordTableSettingsFilters.tsx b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/record-table-settings/RecordTableSettingsFilters.tsxindex 094341032a1..16b202f778a 100644--- a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/record-table-settings/RecordTableSettingsFilters.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/record-table-settings/RecordTableSettingsFilters.tsx@@ -6,7 +6,7 @@ import { getRecordIndexIdFromObjectNamePluralAndViewId } from '@/object-record/uimport { useRecordTableWidgetFilterCallbacks } from '@/page-layout/widgets/record-table/hooks/useRecordTableWidgetFilterCallbacks';import { useRecordTableWidgetViewForDisplay } from '@/page-layout/widgets/record-table/hooks/useRecordTableWidgetViewForDisplay';import { RecordTableSettingsFiltersInitializeStateEffect } from '@/side-panel/pages/page-layout/components/record-table-settings/RecordTableSettingsFiltersInitializeStateEffect';-import { InputLabel } from 'twenty-ui/input';+import { InputLabel } from 'twenty-ui/primitives/input';import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';import { isDefined } from 'twenty-shared/utils';diff --git a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/record-table-settings/RecordTableSettingsSorts.tsx b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/record-table-settings/RecordTableSettingsSorts.tsxindex e680008fd46..ea91d849121 100644--- a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/record-table-settings/RecordTableSettingsSorts.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/record-table-settings/RecordTableSettingsSorts.tsx@@ -6,7 +6,7 @@ import { useRecordTableWidgetViewForDisplay } from '@/page-layout/widgets/recordimport { useRecordTableWidgetSortCallbacks } from '@/page-layout/widgets/record-table/hooks/useRecordTableWidgetSortCallbacks';import { RecordTableSettingsSortsContent } from '@/side-panel/pages/page-layout/components/record-table-settings/RecordTableSettingsSortsContent';import { RecordTableSettingsSortsInitializeStateEffect } from '@/side-panel/pages/page-layout/components/record-table-settings/RecordTableSettingsSortsInitializeStateEffect';-import { InputLabel, type SelectOption } from 'twenty-ui/input';+import { InputLabel, type SelectOption } from 'twenty-ui/primitives/input';import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';import { isDefined } from 'twenty-shared/utils';diff --git a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/record-table-settings/RecordTableSettingsSortsContent.tsx b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/record-table-settings/RecordTableSettingsSortsContent.tsxindex 77b34631575..e69f2d09835 100644--- a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/record-table-settings/RecordTableSettingsSortsContent.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/record-table-settings/RecordTableSettingsSortsContent.tsx@@ -5,7 +5,7 @@ import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';import { isDefined } from 'twenty-shared/utils';import { IconArrowsSort, IconTrash } from 'twenty-ui/icon';-import { Button, type SelectOption } from 'twenty-ui/input';+import { Button, type SelectOption } from 'twenty-ui/primitives/input';import { Select } from '@/ui/input/components/Select';import { themeCssVariables } from 'twenty-ui/theme-constants';import { v4 as uuidv4 } from 'uuid';diff --git a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/record-table-settings/RecordTableWidgetLayoutMenuItems.tsx b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/record-table-settings/RecordTableWidgetLayoutMenuItems.tsxindex 129fe9a64a8..73d362be640 100644--- a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/record-table-settings/RecordTableWidgetLayoutMenuItems.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/record-table-settings/RecordTableWidgetLayoutMenuItems.tsx@@ -3,7 +3,7 @@ import { type RecordTableWidgetLayoutPickerOption } from '@/page-layout/widgets/import { SelectableListItem } from '@/ui/layout/selectable-list/components/SelectableListItem';import { useLingui } from '@lingui/react/macro';import { isDefined } from 'twenty-shared/utils';-import { MenuItemSelect } from 'twenty-ui/navigation';+import { MenuItemSelect } from 'twenty-ui/primitives/navigation';type RecordTableWidgetLayoutMenuItemsProps = {layoutOptions: RecordTableWidgetLayoutPickerOption[];diff --git a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/record-table-settings/__tests__/RecordTableLayoutDropdownContent.test.tsx b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/record-table-settings/__tests__/RecordTableLayoutDropdownContent.test.tsxindex 71204986215..158962a7175 100644--- a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/record-table-settings/__tests__/RecordTableLayoutDropdownContent.test.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/record-table-settings/__tests__/RecordTableLayoutDropdownContent.test.tsx@@ -67,7 +67,7 @@ jest.mock(useAtomComponentStateValue: jest.fn(() => null),}),);-jest.mock('twenty-ui/navigation', () => ({+jest.mock('twenty-ui/primitives/navigation', () => ({MenuItemSelect: ({contextualText,disabled,diff --git a/packages/twenty-front/src/modules/side-panel/pages/record-creation-form/components/SidePanelRecordCreationFormPage.tsx b/packages/twenty-front/src/modules/side-panel/pages/record-creation-form/components/SidePanelRecordCreationFormPage.tsxindex d959f450699..e9c672e93cc 100644--- a/packages/twenty-front/src/modules/side-panel/pages/record-creation-form/components/SidePanelRecordCreationFormPage.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/record-creation-form/components/SidePanelRecordCreationFormPage.tsx@@ -17,7 +17,7 @@ import { t } from '@lingui/core/macro';import { type JsonValue } from 'type-fest';import { isDefined } from 'twenty-shared/utils';import { IconPlus } from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';+import { Button } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledContainer = styled.div`diff --git a/packages/twenty-front/src/modules/side-panel/pages/search/components/SidePanelSearchRecordsPage.tsx b/packages/twenty-front/src/modules/side-panel/pages/search/components/SidePanelSearchRecordsPage.tsxindex 92c770393e2..0796b5733f7 100644--- a/packages/twenty-front/src/modules/side-panel/pages/search/components/SidePanelSearchRecordsPage.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/search/components/SidePanelSearchRecordsPage.tsx@@ -16,8 +16,8 @@ import { useMemo } from 'react';import { useNavigate } from 'react-router-dom';import { AppPath, CoreObjectNameSingular } from 'twenty-shared/types';import { getAppPath, isDefined } from 'twenty-shared/utils';-import { Avatar } from 'twenty-ui/data-display';-import { AppTooltip, TooltipDelay } from 'twenty-ui/surfaces';+import { Avatar } from 'twenty-ui/primitives/data-display';+import { AppTooltip, TooltipDelay } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';import { getAbsoluteImageUrl } from '~/utils/image/getAbsoluteImageUrl';diff --git a/packages/twenty-front/src/modules/side-panel/pages/send-campaign-test/components/SidePanelSendCampaignTestPage.tsx b/packages/twenty-front/src/modules/side-panel/pages/send-campaign-test/components/SidePanelSendCampaignTestPage.tsxindex 43369afdeec..233d8559517 100644--- a/packages/twenty-front/src/modules/side-panel/pages/send-campaign-test/components/SidePanelSendCampaignTestPage.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/send-campaign-test/components/SidePanelSendCampaignTestPage.tsx@@ -5,7 +5,7 @@ import { CoreObjectNameSingular } from 'twenty-shared/types';import { isNonEmptyString } from '@sniptt/guards';import { isDefined } from 'twenty-shared/utils';import { IconSend } from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';+import { Button } from 'twenty-ui/primitives/input';import { useSendMessageCampaignTest } from '@/activities/emails/hooks/useSendMessageCampaignTest';import { isValidEmailRecipientAddress } from '@/activities/emails/recipients/utils/isValidEmailRecipientAddress';diff --git a/packages/twenty-front/src/modules/side-panel/pages/send-campaign/components/SendCampaignForm.tsx b/packages/twenty-front/src/modules/side-panel/pages/send-campaign/components/SendCampaignForm.tsxindex 063626b32cf..bce8f18b265 100644--- a/packages/twenty-front/src/modules/side-panel/pages/send-campaign/components/SendCampaignForm.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/send-campaign/components/SendCampaignForm.tsx@@ -8,9 +8,9 @@ import {} from 'twenty-shared/types';import { isDefined } from 'twenty-shared/utils';import { IconClock, IconSend } from 'twenty-ui/icon';-import { Button, type SelectOption } from 'twenty-ui/input';+import { Button, type SelectOption } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';-import { Label } from 'twenty-ui/typography';+import { Label } from 'twenty-ui/primitives/typography';import { useCampaignAudiencePreview } from '@/activities/emails/hooks/useCampaignAudiencePreview';import { useSendMessageCampaign } from '@/activities/emails/hooks/useSendMessageCampaign';diff --git a/packages/twenty-front/src/modules/side-panel/pages/workflow/action/components/WorkflowActionMenuItems.tsx b/packages/twenty-front/src/modules/side-panel/pages/workflow/action/components/WorkflowActionMenuItems.tsxindex bd2b7fa8629..2d51982eb26 100644--- a/packages/twenty-front/src/modules/side-panel/pages/workflow/action/components/WorkflowActionMenuItems.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/workflow/action/components/WorkflowActionMenuItems.tsx@@ -1,7 +1,7 @@import { type WorkflowActionType } from '@/workflow/types/Workflow';import { getActionIconColorOrThrow } from '@/workflow/workflow-steps/workflow-actions/utils/getActionIconColorOrThrow';import { useIcons } from 'twenty-ui/icon';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';type Action = {defaultLabel: string;diff --git a/packages/twenty-front/src/modules/side-panel/pages/workflow/step/settings/components/SidePanelWorkflowStepSettingsContent.tsx b/packages/twenty-front/src/modules/side-panel/pages/workflow/step/settings/components/SidePanelWorkflowStepSettingsContent.tsxindex 4004b34e86c..2c19da87553 100644--- a/packages/twenty-front/src/modules/side-panel/pages/workflow/step/settings/components/SidePanelWorkflowStepSettingsContent.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/workflow/step/settings/components/SidePanelWorkflowStepSettingsContent.tsx@@ -1,7 +1,7 @@import { useState } from 'react';import { isDefined } from 'twenty-shared/utils';import { STEP_RETRY_DELAYS_MS } from 'twenty-shared/workflow';-import { InputLabel } from 'twenty-ui/input';+import { InputLabel } from 'twenty-ui/primitives/input';import { FormBooleanFieldSwitchInput } from '@/object-record/record-field/ui/form-types/components/FormBooleanFieldSwitchInput';import { FormFieldInputContainer } from '@/ui/input/components/FormFieldInputContainer';diff --git a/packages/twenty-front/src/modules/side-panel/pages/workflow/trigger-type/components/SidePanelWorkflowSelectTriggerTypeContent.tsx b/packages/twenty-front/src/modules/side-panel/pages/workflow/trigger-type/components/SidePanelWorkflowSelectTriggerTypeContent.tsxindex e2c9293a648..5666c91c8ff 100644--- a/packages/twenty-front/src/modules/side-panel/pages/workflow/trigger-type/components/SidePanelWorkflowSelectTriggerTypeContent.tsx+++ b/packages/twenty-front/src/modules/side-panel/pages/workflow/trigger-type/components/SidePanelWorkflowSelectTriggerTypeContent.tsx@@ -19,7 +19,7 @@ import { isDefined } from 'twenty-shared/utils';import { TRIGGER_STEP_ID } from 'twenty-shared/workflow';import { useIcons } from 'twenty-ui/icon';import { useContext } from 'react';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { ThemeContext } from 'twenty-ui/theme-constants';export const SidePanelWorkflowSelectTriggerTypeContent = () => {diff --git a/packages/twenty-front/src/modules/sign-in-background-mock/components/BackgroundMockPage.tsx b/packages/twenty-front/src/modules/sign-in-background-mock/components/BackgroundMockPage.tsxindex 6bde4e23457..85c21350cda 100644--- a/packages/twenty-front/src/modules/sign-in-background-mock/components/BackgroundMockPage.tsx+++ b/packages/twenty-front/src/modules/sign-in-background-mock/components/BackgroundMockPage.tsx@@ -1,13 +1,13 @@import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';-import { TintedIconTile } from 'twenty-ui/data-display';+import { TintedIconTile } from 'twenty-ui/primitives/data-display';import {IconBuildingSkyscraper,IconDotsVertical,IconLayoutSidebarRight,IconPlus,} from 'twenty-ui/icon';-import { Button, LightIconButton } from 'twenty-ui/input';+import { Button, LightIconButton } from 'twenty-ui/primitives/input';import { BackgroundMockTable } from '@/sign-in-background-mock/components/BackgroundMockTable';import { BackgroundMockViewBar } from '@/sign-in-background-mock/components/BackgroundMockViewBar';diff --git a/packages/twenty-front/src/modules/sign-in-background-mock/components/BackgroundMockTable.tsx b/packages/twenty-front/src/modules/sign-in-background-mock/components/BackgroundMockTable.tsxindex f3f12ea4c81..c1e519ff4cf 100644--- a/packages/twenty-front/src/modules/sign-in-background-mock/components/BackgroundMockTable.tsx+++ b/packages/twenty-front/src/modules/sign-in-background-mock/components/BackgroundMockTable.tsx@@ -6,8 +6,8 @@ import { BACKGROUND_MOCK_COLUMNS } from '@/sign-in-background-mock/constants/Bacimport { BACKGROUND_MOCK_COMPANIES } from '@/sign-in-background-mock/constants/BackgroundMockCompanies';import { BACKGROUND_MOCK_TABLE_DIMENSIONS } from '@/sign-in-background-mock/constants/BackgroundMockTableDimensions';import { IconChevronDown, IconPlus, useIcons } from 'twenty-ui/icon';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';-import { Checkbox } from 'twenty-ui/input';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';+import { Checkbox } from 'twenty-ui/primitives/input';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';const StyledTableWrapper = styled.div`diff --git a/packages/twenty-front/src/modules/sign-in-background-mock/components/BackgroundMockTableRow.tsx b/packages/twenty-front/src/modules/sign-in-background-mock/components/BackgroundMockTableRow.tsxindex 6439cc2984f..792718701d9 100644--- a/packages/twenty-front/src/modules/sign-in-background-mock/components/BackgroundMockTableRow.tsx+++ b/packages/twenty-front/src/modules/sign-in-background-mock/components/BackgroundMockTableRow.tsx@@ -5,10 +5,11 @@ import { type BackgroundMockCompany } from '@/sign-in-background-mock/constants/import { BACKGROUND_MOCK_COLUMN_WIDTHS } from '@/sign-in-background-mock/constants/BackgroundMockColumnWidths';import { BACKGROUND_MOCK_TABLE_DIMENSIONS } from '@/sign-in-background-mock/constants/BackgroundMockTableDimensions';import { getAbsoluteImageUrl } from '~/utils/image/getAbsoluteImageUrl';-import { Avatar, Chip } from 'twenty-ui/data-display';+import { Avatar, Chip } from 'twenty-ui/primitives/data-display';+import { Checkbox } from 'twenty-ui/primitives/input';import { IconLink } from 'twenty-ui/icon';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';-import { Checkbox } from 'twenty-ui/input';+import { getLogoUrlFromDomainName } from 'twenty-shared/utils';const StyledRow = styled.div`diff --git a/packages/twenty-front/src/modules/sign-in-background-mock/components/BackgroundMockViewBar.tsx b/packages/twenty-front/src/modules/sign-in-background-mock/components/BackgroundMockViewBar.tsxindex 18efdbbaa89..35c19dc24f7 100644--- a/packages/twenty-front/src/modules/sign-in-background-mock/components/BackgroundMockViewBar.tsx+++ b/packages/twenty-front/src/modules/sign-in-background-mock/components/BackgroundMockViewBar.tsx@@ -2,7 +2,7 @@ import { styled } from '@linaria/react';import { useContext } from 'react';import { TopBar } from '@/ui/layout/top-bar/components/TopBar';-import { TintedIconTile } from 'twenty-ui/data-display';+import { TintedIconTile } from 'twenty-ui/primitives/data-display';import { IconBuildingSkyscraper, IconChevronDown } from 'twenty-ui/icon';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';diff --git a/packages/twenty-front/src/modules/skill-suggestion/components/SkillReferenceChip.tsx b/packages/twenty-front/src/modules/skill-suggestion/components/SkillReferenceChip.tsxindex c5bd79437ae..f1a9c8839cc 100644--- a/packages/twenty-front/src/modules/skill-suggestion/components/SkillReferenceChip.tsx+++ b/packages/twenty-front/src/modules/skill-suggestion/components/SkillReferenceChip.tsx@@ -1,6 +1,6 @@import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath } from 'twenty-shared/utils';-import { LinkChip } from 'twenty-ui/data-display';+import { LinkChip } from 'twenty-ui/primitives/data-display';import { useIcons } from 'twenty-ui/icon';import { useTheme } from 'twenty-ui/theme-constants';diff --git a/packages/twenty-front/src/modules/skill-suggestion/components/SkillSuggestionMenuItem.tsx b/packages/twenty-front/src/modules/skill-suggestion/components/SkillSuggestionMenuItem.tsxindex 6694dbe3621..718fac0b403 100644--- a/packages/twenty-front/src/modules/skill-suggestion/components/SkillSuggestionMenuItem.tsx+++ b/packages/twenty-front/src/modules/skill-suggestion/components/SkillSuggestionMenuItem.tsx@@ -1,5 +1,5 @@import { useIcons } from 'twenty-ui/icon';-import { MenuItemSuggestion } from 'twenty-ui/navigation';+import { MenuItemSuggestion } from 'twenty-ui/primitives/navigation';import { DEFAULT_SKILL_ICON } from '@/skill-suggestion/constants/DefaultSkillIcon';import type { SkillSuggestionItem } from '@/skill-suggestion/types/SkillSuggestionItem';diff --git a/packages/twenty-front/src/modules/spreadsheet-import/components/MatchColumnSelectFieldSelectDropdownContent.tsx b/packages/twenty-front/src/modules/spreadsheet-import/components/MatchColumnSelectFieldSelectDropdownContent.tsxindex 11d0447c86a..90239a11882 100644--- a/packages/twenty-front/src/modules/spreadsheet-import/components/MatchColumnSelectFieldSelectDropdownContent.tsx+++ b/packages/twenty-front/src/modules/spreadsheet-import/components/MatchColumnSelectFieldSelectDropdownContent.tsx@@ -18,8 +18,8 @@ import { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';import { isNonEmptyString } from '@sniptt/guards';import { IconForbid, IconX, useIcons } from 'twenty-ui/icon';-import { type SelectOption } from 'twenty-ui/input';-import { MenuItemSelect } from 'twenty-ui/navigation';+import { type SelectOption } from 'twenty-ui/primitives/input';+import { MenuItemSelect } from 'twenty-ui/primitives/navigation';import { type ReadonlyDeep } from 'type-fest';import { normalizeSearchText } from '~/utils/normalizeSearchText';diff --git a/packages/twenty-front/src/modules/spreadsheet-import/components/MatchColumnSelectSubFieldSelectDropdownContent.tsx b/packages/twenty-front/src/modules/spreadsheet-import/components/MatchColumnSelectSubFieldSelectDropdownContent.tsxindex d95cb2385c6..f8fbc05ad76 100644--- a/packages/twenty-front/src/modules/spreadsheet-import/components/MatchColumnSelectSubFieldSelectDropdownContent.tsx+++ b/packages/twenty-front/src/modules/spreadsheet-import/components/MatchColumnSelectSubFieldSelectDropdownContent.tsx@@ -11,8 +11,8 @@ import { DropdownMenuSeparator } from '@/ui/layout/dropdown/components/DropdownMimport { GenericDropdownContentWidth } from '@/ui/layout/dropdown/constants/GenericDropdownContentWidth';import { useState } from 'react';import { IconChevronLeft } from 'twenty-ui/icon';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';-import { MenuItem } from 'twenty-ui/navigation';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';+import { MenuItem } from 'twenty-ui/primitives/navigation';export const MatchColumnSelectSubFieldSelectDropdownContent = ({fieldMetadataItem,diff --git a/packages/twenty-front/src/modules/spreadsheet-import/components/MatchColumnToFieldSelect.tsx b/packages/twenty-front/src/modules/spreadsheet-import/components/MatchColumnToFieldSelect.tsxindex 033e5fa7615..97cce099acd 100644--- a/packages/twenty-front/src/modules/spreadsheet-import/components/MatchColumnToFieldSelect.tsx+++ b/packages/twenty-front/src/modules/spreadsheet-import/components/MatchColumnToFieldSelect.tsx@@ -14,8 +14,8 @@ import { styled } from '@linaria/react';import { themeCssVariables } from 'twenty-ui/theme-constants';import { isDefined } from 'twenty-shared/utils';import { IconChevronDown } from 'twenty-ui/icon';-import { type SelectOption } from 'twenty-ui/input';-import { MenuItem } from 'twenty-ui/navigation';+import { type SelectOption } from 'twenty-ui/primitives/input';+import { MenuItem } from 'twenty-ui/primitives/navigation';interface MatchColumnToFieldSelectProps {columnIndex: string;diff --git a/packages/twenty-front/src/modules/spreadsheet-import/components/SpreadSheetImportModalCloseButton.tsx b/packages/twenty-front/src/modules/spreadsheet-import/components/SpreadSheetImportModalCloseButton.tsxindex d7d0b3bd1f7..1b6f898226a 100644--- a/packages/twenty-front/src/modules/spreadsheet-import/components/SpreadSheetImportModalCloseButton.tsx+++ b/packages/twenty-front/src/modules/spreadsheet-import/components/SpreadSheetImportModalCloseButton.tsx@@ -1,7 +1,7 @@import { styled } from '@linaria/react';import { IconX } from 'twenty-ui/icon';-import { IconButton } from 'twenty-ui/input';+import { IconButton } from 'twenty-ui/primitives/input';const StyledCloseButtonContainer = styled.div`align-items: center;diff --git a/packages/twenty-front/src/modules/spreadsheet-import/components/SpreadsheetImportSingleSelectTable.tsx b/packages/twenty-front/src/modules/spreadsheet-import/components/SpreadsheetImportSingleSelectTable.tsxindex 9cde50e414e..447c8349cc2 100644--- a/packages/twenty-front/src/modules/spreadsheet-import/components/SpreadsheetImportSingleSelectTable.tsx+++ b/packages/twenty-front/src/modules/spreadsheet-import/components/SpreadsheetImportSingleSelectTable.tsx@@ -5,7 +5,7 @@ import { styled } from '@linaria/react';import { type Key, useMemo } from 'react';import { type DataGridProps } from 'react-data-grid';import { isDefined } from 'twenty-shared/utils';-import { RadioGroup, type RadioGroupProps } from 'twenty-ui/input';+import { RadioGroup, type RadioGroupProps } from 'twenty-ui/primitives/input';const StyledRadioGroupContainer = styled.div`flex: 1;diff --git a/packages/twenty-front/src/modules/spreadsheet-import/components/StepNavigationButton.tsx b/packages/twenty-front/src/modules/spreadsheet-import/components/StepNavigationButton.tsxindex 10bcdab2f8d..5d9397cdd6f 100644--- a/packages/twenty-front/src/modules/spreadsheet-import/components/StepNavigationButton.tsx+++ b/packages/twenty-front/src/modules/spreadsheet-import/components/StepNavigationButton.tsx@@ -2,9 +2,9 @@ import { styled } from '@linaria/react';import { themeCssVariables } from 'twenty-ui/theme-constants';import { t } from '@lingui/core/macro';-import { CircularProgressBar } from 'twenty-ui/feedback';-import { MainButton } from 'twenty-ui/input';-import { ModalFooter } from 'twenty-ui/surfaces';+import { CircularProgressBar } from 'twenty-ui/primitives/feedback';+import { MainButton } from 'twenty-ui/primitives/input';+import { ModalFooter } from 'twenty-ui/primitives/surfaces';import { isUndefinedOrNull } from '~/utils/isUndefinedOrNull';const StyledFooterContainer = styled.div`diff --git a/packages/twenty-front/src/modules/spreadsheet-import/components/internal/getSpreadsheetImportSingleSelectColumn.tsx b/packages/twenty-front/src/modules/spreadsheet-import/components/internal/getSpreadsheetImportSingleSelectColumn.tsxindex c054561a6a4..6cd210a6abf 100644--- a/packages/twenty-front/src/modules/spreadsheet-import/components/internal/getSpreadsheetImportSingleSelectColumn.tsx+++ b/packages/twenty-front/src/modules/spreadsheet-import/components/internal/getSpreadsheetImportSingleSelectColumn.tsx@@ -1,7 +1,7 @@import { t } from '@lingui/core/macro';import { type Key } from 'react';import { type Column } from 'react-data-grid';-import { Radio } from 'twenty-ui/input';+import { Radio } from 'twenty-ui/primitives/input';export const getSpreadsheetImportSingleSelectColumn = <TData,diff --git a/packages/twenty-front/src/modules/spreadsheet-import/steps/components/ImportDataStep.tsx b/packages/twenty-front/src/modules/spreadsheet-import/steps/components/ImportDataStep.tsxindex 1a069d5e7d3..a899fd5091a 100644--- a/packages/twenty-front/src/modules/spreadsheet-import/steps/components/ImportDataStep.tsx+++ b/packages/twenty-front/src/modules/spreadsheet-import/steps/components/ImportDataStep.tsx@@ -3,11 +3,11 @@ import { StepNavigationButton } from '@/spreadsheet-import/components/StepNavigaimport { useSpreadsheetImportInternal } from '@/spreadsheet-import/hooks/useSpreadsheetImportInternal';import { spreadsheetImportCreatedRecordsProgressState } from '@/spreadsheet-import/states/spreadsheetImportCreatedRecordsProgressState';import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';-import { ModalContent } from 'twenty-ui/surfaces';+import { ModalContent } from 'twenty-ui/primitives/surfaces';import { styled } from '@linaria/react';import { themeCssVariables } from 'twenty-ui/theme-constants';import { t } from '@lingui/core/macro';-import { Loader } from 'twenty-ui/feedback';+import { Loader } from 'twenty-ui/primitives/feedback';const StyledHeader = styled.span`color: ${themeCssVariables.font.color.primary};diff --git a/packages/twenty-front/src/modules/spreadsheet-import/steps/components/MatchColumnsStep/MatchColumnsStep.tsx b/packages/twenty-front/src/modules/spreadsheet-import/steps/components/MatchColumnsStep/MatchColumnsStep.tsxindex 68e849f5292..6ac5d6909d5 100644--- a/packages/twenty-front/src/modules/spreadsheet-import/steps/components/MatchColumnsStep/MatchColumnsStep.tsx+++ b/packages/twenty-front/src/modules/spreadsheet-import/steps/components/MatchColumnsStep/MatchColumnsStep.tsx@@ -14,7 +14,7 @@ import { setIgnoreColumn } from '@/spreadsheet-import/utils/setIgnoreColumn';import { setSubColumn } from '@/spreadsheet-import/utils/setSubColumn';import { useDialogManager } from '@/ui/feedback/dialog-manager/hooks/useDialogManager';-import { ModalContent } from 'twenty-ui/surfaces';+import { ModalContent } from 'twenty-ui/primitives/surfaces';import { DO_NOT_IMPORT_OPTION_KEY } from '@/spreadsheet-import/constants/DoNotImportOptionKey';import { ColumnGrid } from '@/spreadsheet-import/steps/components/MatchColumnsStep/components/ColumnGrid';diff --git a/packages/twenty-front/src/modules/spreadsheet-import/steps/components/MatchColumnsStep/components/SubMatchingSelectDropdownButton.tsx b/packages/twenty-front/src/modules/spreadsheet-import/steps/components/MatchColumnsStep/components/SubMatchingSelectDropdownButton.tsxindex 9628f3845cf..cebe90985ee 100644--- a/packages/twenty-front/src/modules/spreadsheet-import/steps/components/MatchColumnsStep/components/SubMatchingSelectDropdownButton.tsx+++ b/packages/twenty-front/src/modules/spreadsheet-import/steps/components/MatchColumnsStep/components/SubMatchingSelectDropdownButton.tsx@@ -10,9 +10,9 @@ import { getFieldOptions } from '@/spreadsheet-import/utils/getFieldOptions';import { styled } from '@linaria/react';import { useContext } from 'react';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';-import { Tag, type TagColor } from 'twenty-ui/data-display';+import { Tag, type TagColor } from 'twenty-ui/primitives/data-display';import { IconChevronDown } from 'twenty-ui/icon';-import { type SelectOption } from 'twenty-ui/input';+import { type SelectOption } from 'twenty-ui/primitives/input';const StyledIconChevronDownContainer = styled.div`color: ${themeCssVariables.font.color.tertiary};display: flex;diff --git a/packages/twenty-front/src/modules/spreadsheet-import/steps/components/MatchColumnsStep/components/SubMatchingSelectInput.tsx b/packages/twenty-front/src/modules/spreadsheet-import/steps/components/MatchColumnsStep/components/SubMatchingSelectInput.tsxindex dd7509c8641..a609ea6108e 100644--- a/packages/twenty-front/src/modules/spreadsheet-import/steps/components/MatchColumnsStep/components/SubMatchingSelectInput.tsx+++ b/packages/twenty-front/src/modules/spreadsheet-import/steps/components/MatchColumnsStep/components/SubMatchingSelectInput.tsx@@ -3,9 +3,9 @@ import { DropdownMenuItemsContainer } from '@/ui/layout/dropdown/components/Dropimport { DropdownMenuSearchInput } from '@/ui/layout/dropdown/components/DropdownMenuSearchInput';import { DropdownMenuSeparator } from '@/ui/layout/dropdown/components/DropdownMenuSeparator';import { useMemo, useRef, useState } from 'react';-import { type TagColor } from 'twenty-ui/data-display';-import { type SelectOption } from 'twenty-ui/input';-import { MenuItemSelectTag } from 'twenty-ui/navigation';+import { type TagColor } from 'twenty-ui/primitives/data-display';+import { type SelectOption } from 'twenty-ui/primitives/input';+import { MenuItemSelectTag } from 'twenty-ui/primitives/navigation';import { normalizeSearchText } from '~/utils/normalizeSearchText';interface SubMatchingSelectInputProps {diff --git a/packages/twenty-front/src/modules/spreadsheet-import/steps/components/MatchColumnsStep/components/SubMatchingSelectRowRightDropdown.tsx b/packages/twenty-front/src/modules/spreadsheet-import/steps/components/MatchColumnsStep/components/SubMatchingSelectRowRightDropdown.tsxindex 6718edb0f53..b612ef087ba 100644--- a/packages/twenty-front/src/modules/spreadsheet-import/steps/components/MatchColumnsStep/components/SubMatchingSelectRowRightDropdown.tsx+++ b/packages/twenty-front/src/modules/spreadsheet-import/steps/components/MatchColumnsStep/components/SubMatchingSelectRowRightDropdown.tsx@@ -12,7 +12,7 @@ import { type SpreadsheetMatchedOptions } from '@/spreadsheet-import/types/Spreaimport { Dropdown } from '@/ui/layout/dropdown/components/Dropdown';import { useCloseDropdown } from '@/ui/layout/dropdown/hooks/useCloseDropdown';import { styled } from '@linaria/react';-import { type SelectOption } from 'twenty-ui/input';+import { type SelectOption } from 'twenty-ui/primitives/input';const StyledDropdownContainer = styled.div`width: 100%;diff --git a/packages/twenty-front/src/modules/spreadsheet-import/steps/components/MatchColumnsStep/components/UnmatchColumn.tsx b/packages/twenty-front/src/modules/spreadsheet-import/steps/components/MatchColumnsStep/components/UnmatchColumn.tsxindex 9d141f64d3a..9670807eb29 100644--- a/packages/twenty-front/src/modules/spreadsheet-import/steps/components/MatchColumnsStep/components/UnmatchColumn.tsx+++ b/packages/twenty-front/src/modules/spreadsheet-import/steps/components/MatchColumnsStep/components/UnmatchColumn.tsx@@ -11,7 +11,7 @@ import { t } from '@lingui/core/macro';import { useLingui } from '@lingui/react/macro';import { useState } from 'react';import { isDefined } from 'twenty-shared/utils';-import { AnimatedExpandableContainer } from 'twenty-ui/layout';+import { AnimatedExpandableContainer } from 'twenty-ui/primitives/layout';const getExpandableContainerTitle = (fields: SpreadsheetImportFields,diff --git a/packages/twenty-front/src/modules/spreadsheet-import/steps/components/MatchColumnsStep/components/UnmatchColumnBanner.tsx b/packages/twenty-front/src/modules/spreadsheet-import/steps/components/MatchColumnsStep/components/UnmatchColumnBanner.tsxindex e40ff658cec..39423356139 100644--- a/packages/twenty-front/src/modules/spreadsheet-import/steps/components/MatchColumnsStep/components/UnmatchColumnBanner.tsx+++ b/packages/twenty-front/src/modules/spreadsheet-import/steps/components/MatchColumnsStep/components/UnmatchColumnBanner.tsx@@ -1,6 +1,6 @@import { styled } from '@linaria/react';import { isDefined } from 'twenty-shared/utils';-import { Banner } from 'twenty-ui/feedback';+import { Banner } from 'twenty-ui/primitives/feedback';import { IconChevronDown, IconInfoCircle } from 'twenty-ui/icon';import { useContext } from 'react';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';diff --git a/packages/twenty-front/src/modules/spreadsheet-import/steps/components/SelectHeaderStep/SelectHeaderStep.tsx b/packages/twenty-front/src/modules/spreadsheet-import/steps/components/SelectHeaderStep/SelectHeaderStep.tsxindex a97fd44010d..33453b6bf8d 100644--- a/packages/twenty-front/src/modules/spreadsheet-import/steps/components/SelectHeaderStep/SelectHeaderStep.tsx+++ b/packages/twenty-front/src/modules/spreadsheet-import/steps/components/SelectHeaderStep/SelectHeaderStep.tsx@@ -6,7 +6,7 @@ import { Heading } from '@/spreadsheet-import/components/Heading';import { StepNavigationButton } from '@/spreadsheet-import/components/StepNavigationButton';import { type ImportedRow } from '@/spreadsheet-import/types';-import { ModalContent } from 'twenty-ui/surfaces';+import { ModalContent } from 'twenty-ui/primitives/surfaces';import { useComputeColumnSuggestionsAndAutoMatch } from '@/spreadsheet-import/hooks/useComputeColumnSuggestionsAndAutoMatch';import { useSpreadsheetImportInternal } from '@/spreadsheet-import/hooks/useSpreadsheetImportInternal';diff --git a/packages/twenty-front/src/modules/spreadsheet-import/steps/components/SelectSheetStep/SelectSheetStep.tsx b/packages/twenty-front/src/modules/spreadsheet-import/steps/components/SelectSheetStep/SelectSheetStep.tsxindex d7b89501e88..4addb0fbc35 100644--- a/packages/twenty-front/src/modules/spreadsheet-import/steps/components/SelectSheetStep/SelectSheetStep.tsx+++ b/packages/twenty-front/src/modules/spreadsheet-import/steps/components/SelectSheetStep/SelectSheetStep.tsx@@ -9,9 +9,9 @@ import { SpreadsheetImportStepType } from '@/spreadsheet-import/steps/types/Spreimport { exceedsMaxRecords } from '@/spreadsheet-import/utils/exceedsMaxRecords';import { mapWorkbook } from '@/spreadsheet-import/utils/mapWorkbook';-import { ModalContent } from 'twenty-ui/surfaces';+import { ModalContent } from 'twenty-ui/primitives/surfaces';import { useLingui } from '@lingui/react/macro';-import { Radio, RadioGroup } from 'twenty-ui/input';+import { Radio, RadioGroup } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';import { type WorkBook } from 'xlsx-ugnis';diff --git a/packages/twenty-front/src/modules/spreadsheet-import/steps/components/SpreadsheetImportStepper.tsx b/packages/twenty-front/src/modules/spreadsheet-import/steps/components/SpreadsheetImportStepper.tsxindex 2ab946d85c2..3854b4d0544 100644--- a/packages/twenty-front/src/modules/spreadsheet-import/steps/components/SpreadsheetImportStepper.tsx+++ b/packages/twenty-front/src/modules/spreadsheet-import/steps/components/SpreadsheetImportStepper.tsx@@ -1,12 +1,12 @@import { useCallback, useContext, useState } from 'react';import { useSpreadsheetImportInternal } from '@/spreadsheet-import/hooks/useSpreadsheetImportInternal';import { useSnackBar } from '@/ui/feedback/snack-bar-manager/hooks/useSnackBar';-import { ModalContent } from 'twenty-ui/surfaces';+import { ModalContent } from 'twenty-ui/primitives/surfaces';import { ImportDataStep } from '@/spreadsheet-import/steps/components/ImportDataStep';import { type SpreadsheetImportStep } from '@/spreadsheet-import/steps/types/SpreadsheetImportStep';import { SpreadsheetImportStepType } from '@/spreadsheet-import/steps/types/SpreadsheetImportStepType';-import { CircularProgressBar } from 'twenty-ui/feedback';+import { CircularProgressBar } from 'twenty-ui/primitives/feedback';import { MatchColumnsStep } from './MatchColumnsStep/MatchColumnsStep';import { SelectHeaderStep } from './SelectHeaderStep/SelectHeaderStep';import { SelectSheetStep } from './SelectSheetStep/SelectSheetStep';diff --git a/packages/twenty-front/src/modules/spreadsheet-import/steps/components/SpreadsheetImportStepperContainer.tsx b/packages/twenty-front/src/modules/spreadsheet-import/steps/components/SpreadsheetImportStepperContainer.tsxindex 18e91c14bf9..37adeb8203a 100644--- a/packages/twenty-front/src/modules/spreadsheet-import/steps/components/SpreadsheetImportStepperContainer.tsx+++ b/packages/twenty-front/src/modules/spreadsheet-import/steps/components/SpreadsheetImportStepperContainer.tsx@@ -8,7 +8,7 @@ import { spreadsheetImportDialogState } from '@/spreadsheet-import/states/spreadimport { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';import { useLingui } from '@lingui/react/macro';import { themeCssVariables } from 'twenty-ui/theme-constants';-import { ModalHeader } from 'twenty-ui/surfaces';+import { ModalHeader } from 'twenty-ui/primitives/surfaces';import { SpreadsheetImportStepper } from './SpreadsheetImportStepper';export const SpreadsheetImportStepperContainer = () => {diff --git a/packages/twenty-front/src/modules/spreadsheet-import/steps/components/UploadStep/UploadStep.tsx b/packages/twenty-front/src/modules/spreadsheet-import/steps/components/UploadStep/UploadStep.tsxindex cdc90acd8eb..1ee5ac63de5 100644--- a/packages/twenty-front/src/modules/spreadsheet-import/steps/components/UploadStep/UploadStep.tsx+++ b/packages/twenty-front/src/modules/spreadsheet-import/steps/components/UploadStep/UploadStep.tsx@@ -2,7 +2,7 @@ import { t } from '@lingui/core/macro';import { useCallback, useState } from 'react';import { type WorkBook } from 'xlsx-ugnis';-import { ModalContent } from 'twenty-ui/surfaces';+import { ModalContent } from 'twenty-ui/primitives/surfaces';import { useComputeColumnSuggestionsAndAutoMatch } from '@/spreadsheet-import/hooks/useComputeColumnSuggestionsAndAutoMatch';import { useSpreadsheetImportInternal } from '@/spreadsheet-import/hooks/useSpreadsheetImportInternal';diff --git a/packages/twenty-front/src/modules/spreadsheet-import/steps/components/UploadStep/components/DropZone.tsx b/packages/twenty-front/src/modules/spreadsheet-import/steps/components/UploadStep/components/DropZone.tsxindex 62ee34a7ac4..7f544070f48 100644--- a/packages/twenty-front/src/modules/spreadsheet-import/steps/components/UploadStep/components/DropZone.tsx+++ b/packages/twenty-front/src/modules/spreadsheet-import/steps/components/UploadStep/components/DropZone.tsx@@ -11,7 +11,7 @@ import { useDownloadFakeRecords } from '@/spreadsheet-import/steps/components/Upimport { readFileAsync } from '@/spreadsheet-import/utils/readFilesAsync';import { useSnackBar } from '@/ui/feedback/snack-bar-manager/hooks/useSnackBar';import { Trans, useLingui } from '@lingui/react/macro';-import { MainButton } from 'twenty-ui/input';+import { MainButton } from 'twenty-ui/primitives/input';const StyledContainer = styled.div`align-items: center;diff --git a/packages/twenty-front/src/modules/spreadsheet-import/steps/components/ValidationStep/ValidationStep.tsx b/packages/twenty-front/src/modules/spreadsheet-import/steps/components/ValidationStep/ValidationStep.tsxindex 428142159b9..85aef900451 100644--- a/packages/twenty-front/src/modules/spreadsheet-import/steps/components/ValidationStep/ValidationStep.tsx+++ b/packages/twenty-front/src/modules/spreadsheet-import/steps/components/ValidationStep/ValidationStep.tsx@@ -21,12 +21,12 @@ import {useMemo,useState,} from 'react';-import { ModalContent } from 'twenty-ui/surfaces';+import { ModalContent } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';import { type RowsChangeData } from 'react-data-grid';import { isDefined } from 'twenty-shared/utils';import { IconTrash } from 'twenty-ui/icon';-import { Button, Switch } from 'twenty-ui/input';+import { Button, Switch } from 'twenty-ui/primitives/input';import { generateColumns } from './components/columns';import { type ImportedStructuredRowMetadata } from './types';diff --git a/packages/twenty-front/src/modules/spreadsheet-import/steps/components/ValidationStep/components/columns.tsx b/packages/twenty-front/src/modules/spreadsheet-import/steps/components/ValidationStep/components/columns.tsxindex dd0f693a646..b3a6d6ebcc9 100644--- a/packages/twenty-front/src/modules/spreadsheet-import/steps/components/ValidationStep/components/columns.tsx+++ b/packages/twenty-front/src/modules/spreadsheet-import/steps/components/ValidationStep/components/columns.tsx@@ -12,8 +12,8 @@ import { SettingsTextInput } from '@/ui/input/components/SettingsTextInput';import camelCase from 'lodash.camelcase';import { isDefined } from 'twenty-shared/utils';-import { AppTooltip, TooltipDelay } from 'twenty-ui/surfaces';-import { Checkbox, Switch } from 'twenty-ui/input';+import { AppTooltip, TooltipDelay } from 'twenty-ui/primitives/surfaces';+import { Checkbox, Switch } from 'twenty-ui/primitives/input';import { type ImportedStructuredRowMetadata } from '@/spreadsheet-import/steps/components/ValidationStep/types';const StyledHeaderContainer = styled.div`diff --git a/packages/twenty-front/src/modules/spreadsheet-import/types/SpreadsheetImportFieldType.ts b/packages/twenty-front/src/modules/spreadsheet-import/types/SpreadsheetImportFieldType.tsindex c65e9120eb1..2c90cc1b328 100644--- a/packages/twenty-front/src/modules/spreadsheet-import/types/SpreadsheetImportFieldType.ts+++ b/packages/twenty-front/src/modules/spreadsheet-import/types/SpreadsheetImportFieldType.ts@@ -1,4 +1,4 @@-import { type SelectOption } from 'twenty-ui/input';+import { type SelectOption } from 'twenty-ui/primitives/input';export type SpreadsheetImportCheckbox = {type: 'checkbox';// Alternate values to be treated as booleans, e.g. {yes: true, no: false}diff --git a/packages/twenty-front/src/modules/ui/feedback/dialog-manager/components/Dialog.tsx b/packages/twenty-front/src/modules/ui/feedback/dialog-manager/components/Dialog.tsxindex 0c35478639f..207d34c3676 100644--- a/packages/twenty-front/src/modules/ui/feedback/dialog-manager/components/Dialog.tsx+++ b/packages/twenty-front/src/modules/ui/feedback/dialog-manager/components/Dialog.tsx@@ -10,7 +10,7 @@ import { useHotkeysOnFocusedElement } from '@/ui/utilities/hotkey/hooks/useHotkeimport { useListenClickOutside } from '@/ui/utilities/pointer-event/hooks/useListenClickOutside';import { useRef } from 'react';import { isDefined } from 'twenty-shared/utils';-import { Button } from 'twenty-ui/input';+import { Button } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledDialogOverlayBase = styled.div`diff --git a/packages/twenty-front/src/modules/ui/feedback/snack-bar-manager/components/SnackBar.tsx b/packages/twenty-front/src/modules/ui/feedback/snack-bar-manager/components/SnackBar.tsxindex 43391b1753b..0a71c201558 100644--- a/packages/twenty-front/src/modules/ui/feedback/snack-bar-manager/components/SnackBar.tsx+++ b/packages/twenty-front/src/modules/ui/feedback/snack-bar-manager/components/SnackBar.tsx@@ -3,9 +3,9 @@ import { msg } from '@lingui/core/macro';import { useLingui } from '@lingui/react/macro';import { type ComponentPropsWithoutRef, type ReactNode } from 'react';import { isDefined } from 'twenty-shared/utils';-import { Toast } from 'twenty-ui/feedback';-import { LightButton } from 'twenty-ui/input';-import { UndecoratedLink } from 'twenty-ui/navigation';+import { Toast } from 'twenty-ui/primitives/feedback';+import { LightButton } from 'twenty-ui/primitives/input';+import { UndecoratedLink } from 'twenty-ui/primitives/navigation';export enum SnackBarVariant {Default = 'default',diff --git a/packages/twenty-front/src/modules/ui/field/display/components/ActorDisplay.tsx b/packages/twenty-front/src/modules/ui/field/display/components/ActorDisplay.tsxindex 543db59223a..e9ed999a216 100644--- a/packages/twenty-front/src/modules/ui/field/display/components/ActorDisplay.tsx+++ b/packages/twenty-front/src/modules/ui/field/display/components/ActorDisplay.tsx@@ -2,7 +2,7 @@ import { type FieldActorValue } from '@/object-record/record-field/ui/types/Fielimport { t } from '@lingui/core/macro';import { ConnectedAccountProvider } from 'twenty-shared/types';-import { AvatarOrIcon, Chip } from 'twenty-ui/data-display';+import { AvatarOrIcon, Chip } from 'twenty-ui/primitives/data-display';import {IconApi,IconCalendar,diff --git a/packages/twenty-front/src/modules/ui/field/display/components/ArrayDisplay.tsx b/packages/twenty-front/src/modules/ui/field/display/components/ArrayDisplay.tsxindex 7d159ceb6ab..5887e5f7c3a 100644--- a/packages/twenty-front/src/modules/ui/field/display/components/ArrayDisplay.tsx+++ b/packages/twenty-front/src/modules/ui/field/display/components/ArrayDisplay.tsx@@ -1,7 +1,7 @@import { type FieldArrayValue } from '@/object-record/record-field/ui/types/FieldMetadata';import { ExpandableList } from '@/ui/layout/expandable-list/components/ExpandableList';import { t } from '@lingui/core/macro';-import { Chip } from 'twenty-ui/data-display';+import { Chip } from 'twenty-ui/primitives/data-display';type ArrayDisplayProps = {value: FieldArrayValue;diff --git a/packages/twenty-front/src/modules/ui/field/display/components/CurrencyDisplay.tsx b/packages/twenty-front/src/modules/ui/field/display/components/CurrencyDisplay.tsxindex 2fdc3463619..86e51e64160 100644--- a/packages/twenty-front/src/modules/ui/field/display/components/CurrencyDisplay.tsx+++ b/packages/twenty-front/src/modules/ui/field/display/components/CurrencyDisplay.tsx@@ -1,7 +1,11 @@import { useContext, useId, useState } from 'react';import { createPortal } from 'react-dom';import { styled } from '@linaria/react';-import { AppTooltip, TooltipDelay, TooltipPosition } from 'twenty-ui/surfaces';+import {+ AppTooltip,+ TooltipDelay,+ TooltipPosition,+} from 'twenty-ui/primitives/surfaces';import { ThemeContext } from 'twenty-ui/theme-constants';import { isDefined, formatToShortNumber } from 'twenty-shared/utils';@@ -12,7 +16,7 @@ import {type FieldCurrencyValue,} from '@/object-record/record-field/ui/types/FieldMetadata';import { SETTINGS_FIELD_CURRENCY_CODES } from '@/settings/data-model/constants/SettingsFieldCurrencyCodes';-import { EllipsisDisplay } from 'twenty-ui/data-display';+import { EllipsisDisplay } from 'twenty-ui/primitives/data-display';import { DEFAULT_DECIMAL_VALUE } from '~/utils/format/formatNumber';import { isUndefinedOrNull } from '~/utils/isUndefinedOrNull';diff --git a/packages/twenty-front/src/modules/ui/field/display/components/DateDisplay.tsx b/packages/twenty-front/src/modules/ui/field/display/components/DateDisplay.tsxindex 479674977fc..28fcde66ea6 100644--- a/packages/twenty-front/src/modules/ui/field/display/components/DateDisplay.tsx+++ b/packages/twenty-front/src/modules/ui/field/display/components/DateDisplay.tsx@@ -4,7 +4,7 @@ import { UserContext } from '@/users/contexts/UserContext';import { useContext } from 'react';import { dateLocaleState } from '~/localization/states/dateLocaleState';import { formatDateString } from '~/utils/string/formatDateString';-import { EllipsisDisplay } from 'twenty-ui/data-display';+import { EllipsisDisplay } from 'twenty-ui/primitives/data-display';type DateDisplayProps = {value: string | null | undefined;diff --git a/packages/twenty-front/src/modules/ui/field/display/components/DateTimeDisplay.tsx b/packages/twenty-front/src/modules/ui/field/display/components/DateTimeDisplay.tsxindex 5a216bb9c21..a6821e80b94 100644--- a/packages/twenty-front/src/modules/ui/field/display/components/DateTimeDisplay.tsx+++ b/packages/twenty-front/src/modules/ui/field/display/components/DateTimeDisplay.tsx@@ -8,7 +8,7 @@ import { useContext } from 'react';import { Temporal } from 'temporal-polyfill';import { dateLocaleState } from '~/localization/states/dateLocaleState';import { formatDateTimeString } from '~/utils/string/formatDateTimeString';-import { EllipsisDisplay } from 'twenty-ui/data-display';+import { EllipsisDisplay } from 'twenty-ui/primitives/data-display';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledTimeZoneSpacer = styled.span`diff --git a/packages/twenty-front/src/modules/ui/field/display/components/EmailDisplay.tsx b/packages/twenty-front/src/modules/ui/field/display/components/EmailDisplay.tsxindex 97a09d7ecee..88609b7e815 100644--- a/packages/twenty-front/src/modules/ui/field/display/components/EmailDisplay.tsx+++ b/packages/twenty-front/src/modules/ui/field/display/components/EmailDisplay.tsx@@ -1,7 +1,7 @@import { type MouseEvent } from 'react';-import { EllipsisDisplay } from 'twenty-ui/data-display';+import { EllipsisDisplay } from 'twenty-ui/primitives/data-display';import { isDefined } from 'twenty-shared/utils';-import { ContactLink } from 'twenty-ui/navigation';+import { ContactLink } from 'twenty-ui/primitives/navigation';const validateEmail = (email: string) => {// Record this without using regexdiff --git a/packages/twenty-front/src/modules/ui/field/display/components/EmailsDisplay.tsx b/packages/twenty-front/src/modules/ui/field/display/components/EmailsDisplay.tsxindex 856d582721a..56268db5613 100644--- a/packages/twenty-front/src/modules/ui/field/display/components/EmailsDisplay.tsx+++ b/packages/twenty-front/src/modules/ui/field/display/components/EmailsDisplay.tsx@@ -4,7 +4,7 @@ import { type FieldEmailsValue } from '@/object-record/record-field/ui/types/Fieimport { ExpandableList } from '@/ui/layout/expandable-list/components/ExpandableList';import { styled } from '@linaria/react';import { isDefined } from 'twenty-shared/utils';-import { RoundedLink } from 'twenty-ui/navigation';+import { RoundedLink } from 'twenty-ui/primitives/navigation';type EmailsDisplayProps = {value?: FieldEmailsValue;diff --git a/packages/twenty-front/src/modules/ui/field/display/components/FileChip.tsx b/packages/twenty-front/src/modules/ui/field/display/components/FileChip.tsxindex 6089e6d6be8..9e1a1b85199 100644--- a/packages/twenty-front/src/modules/ui/field/display/components/FileChip.tsx+++ b/packages/twenty-front/src/modules/ui/field/display/components/FileChip.tsx@@ -5,7 +5,7 @@ import { isNonEmptyString } from '@sniptt/guards';import { FileIcon } from '@/file/components/FileIcon';import { type FieldFilesValue } from '@/object-record/record-field/ui/types/FieldMetadata';import { getFileCategoryFromExtension } from '@/object-record/record-field/ui/utils/getFileCategoryFromExtension';-import { Chip } from 'twenty-ui/data-display';+import { Chip } from 'twenty-ui/primitives/data-display';const MAX_WIDTH = 120;diff --git a/packages/twenty-front/src/modules/ui/field/display/components/GlobalFilePreviewModal.tsx b/packages/twenty-front/src/modules/ui/field/display/components/GlobalFilePreviewModal.tsxindex b61cecd9fce..49770a5fc2e 100644--- a/packages/twenty-front/src/modules/ui/field/display/components/GlobalFilePreviewModal.tsx+++ b/packages/twenty-front/src/modules/ui/field/display/components/GlobalFilePreviewModal.tsx@@ -10,7 +10,7 @@ import { type JSX, lazy, Suspense, useEffect } from 'react';import { createPortal } from 'react-dom';import { isDefined } from 'twenty-shared/utils';import { IconDownload, IconX } from 'twenty-ui/icon';-import { IconButton } from 'twenty-ui/input';+import { IconButton } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';const DocumentViewer = lazy(() =>diff --git a/packages/twenty-front/src/modules/ui/field/display/components/LinkDisplay.tsx b/packages/twenty-front/src/modules/ui/field/display/components/LinkDisplay.tsxindex 6abb642f182..08b666a83ab 100644--- a/packages/twenty-front/src/modules/ui/field/display/components/LinkDisplay.tsx+++ b/packages/twenty-front/src/modules/ui/field/display/components/LinkDisplay.tsx@@ -1,5 +1,5 @@import { isNonEmptyString } from '@sniptt/guards';-import { RoundedLink, SocialLink } from 'twenty-ui/navigation';+import { RoundedLink, SocialLink } from 'twenty-ui/primitives/navigation';import { checkUrlType } from '~/utils/checkUrlType';import { isSocialLinkType } from '~/utils/isSocialLinkType';import { getSafeUrl } from 'twenty-shared/utils';diff --git a/packages/twenty-front/src/modules/ui/field/display/components/LinksDisplay.tsx b/packages/twenty-front/src/modules/ui/field/display/components/LinksDisplay.tsxindex e94658526c7..ad473f88fbf 100644--- a/packages/twenty-front/src/modules/ui/field/display/components/LinksDisplay.tsx+++ b/packages/twenty-front/src/modules/ui/field/display/components/LinksDisplay.tsx@@ -8,7 +8,7 @@ import {getUrlHostnameOrThrow,isDefined,} from 'twenty-shared/utils';-import { RoundedLink, SocialLink } from 'twenty-ui/navigation';+import { RoundedLink, SocialLink } from 'twenty-ui/primitives/navigation';import { checkUrlType } from '~/utils/checkUrlType';import { isSocialLinkType } from '~/utils/isSocialLinkType';diff --git a/packages/twenty-front/src/modules/ui/field/display/components/MultiSelectDisplay.tsx b/packages/twenty-front/src/modules/ui/field/display/components/MultiSelectDisplay.tsxindex c2e55ee0dc1..9e627227d63 100644--- a/packages/twenty-front/src/modules/ui/field/display/components/MultiSelectDisplay.tsx+++ b/packages/twenty-front/src/modules/ui/field/display/components/MultiSelectDisplay.tsx@@ -1,8 +1,8 @@import { type FieldMultiSelectValue } from '@/object-record/record-field/ui/types/FieldMetadata';import { isDefined } from 'twenty-shared/utils';import { styled } from '@linaria/react';-import { Tag } from 'twenty-ui/data-display';-import { type SelectOption } from 'twenty-ui/input';+import { Tag } from 'twenty-ui/primitives/data-display';+import { type SelectOption } from 'twenty-ui/primitives/input';const StyledContainer = styled.div`align-items: center;diff --git a/packages/twenty-front/src/modules/ui/field/display/components/PhoneDisplay.tsx b/packages/twenty-front/src/modules/ui/field/display/components/PhoneDisplay.tsxindex ebc3a0754d2..5c57f34a806 100644--- a/packages/twenty-front/src/modules/ui/field/display/components/PhoneDisplay.tsx+++ b/packages/twenty-front/src/modules/ui/field/display/components/PhoneDisplay.tsx@@ -1,7 +1,7 @@import { parsePhoneNumber, type PhoneNumber } from 'libphonenumber-js';import { type MouseEvent } from 'react';import { isDefined } from 'twenty-shared/utils';-import { ContactLink } from 'twenty-ui/navigation';+import { ContactLink } from 'twenty-ui/primitives/navigation';interface PhoneDisplayProps {value: PhoneDisplayValueProps;diff --git a/packages/twenty-front/src/modules/ui/field/display/components/PhonesDisplay.tsx b/packages/twenty-front/src/modules/ui/field/display/components/PhonesDisplay.tsxindex 1082f455d6b..23a1deae8c6 100644--- a/packages/twenty-front/src/modules/ui/field/display/components/PhonesDisplay.tsx+++ b/packages/twenty-front/src/modules/ui/field/display/components/PhonesDisplay.tsx@@ -7,7 +7,7 @@ import { ExpandableList } from '@/ui/layout/expandable-list/components/Expandablimport { styled } from '@linaria/react';import { parsePhoneNumber } from 'libphonenumber-js';import { isDefined } from 'twenty-shared/utils';-import { RoundedLink } from 'twenty-ui/navigation';+import { RoundedLink } from 'twenty-ui/primitives/navigation';import { logError } from '~/utils/logError';type PhonesDisplayProps = {diff --git a/packages/twenty-front/src/modules/ui/field/display/components/UploadFileChip.tsx b/packages/twenty-front/src/modules/ui/field/display/components/UploadFileChip.tsxindex 6788320156d..8fcec9e37d5 100644--- a/packages/twenty-front/src/modules/ui/field/display/components/UploadFileChip.tsx+++ b/packages/twenty-front/src/modules/ui/field/display/components/UploadFileChip.tsx@@ -1,7 +1,7 @@import { styled } from '@linaria/react';import { useContext } from 'react';import { IconArrowUp } from 'twenty-ui/icon';-import { Loader } from 'twenty-ui/feedback';+import { Loader } from 'twenty-ui/primitives/feedback';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';const StyledContainer = styled.div`diff --git a/packages/twenty-front/src/modules/ui/field/display/components/__stories__/perf/EllipsisDisplay.perf.stories.tsx b/packages/twenty-front/src/modules/ui/field/display/components/__stories__/perf/EllipsisDisplay.perf.stories.tsxindex 873de03ede3..71967f79d39 100644--- a/packages/twenty-front/src/modules/ui/field/display/components/__stories__/perf/EllipsisDisplay.perf.stories.tsx+++ b/packages/twenty-front/src/modules/ui/field/display/components/__stories__/perf/EllipsisDisplay.perf.stories.tsx@@ -1,6 +1,6 @@import { type Meta, type StoryObj } from '@storybook/react-vite';-import { EllipsisDisplay } from 'twenty-ui/data-display';+import { EllipsisDisplay } from 'twenty-ui/primitives/data-display';import { ComponentDecorator } from 'twenty-ui/testing';import { getProfilingStory } from '~/testing/profiling/utils/getProfilingStory';diff --git a/packages/twenty-front/src/modules/ui/field/input/components/MultiSelectInput.tsx b/packages/twenty-front/src/modules/ui/field/input/components/MultiSelectInput.tsxindex d041bb2cbfd..f7070ae274f 100644--- a/packages/twenty-front/src/modules/ui/field/input/components/MultiSelectInput.tsx+++ b/packages/twenty-front/src/modules/ui/field/input/components/MultiSelectInput.tsx@@ -18,8 +18,11 @@ import { useListenClickOutside } from '@/ui/utilities/pointer-event/hooks/useLisimport { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentStateValue';import { t } from '@lingui/core/macro';import { isDefined } from 'twenty-shared/utils';-import { type SelectOption } from 'twenty-ui/input';-import { MenuItem, MenuItemMultiSelectTag } from 'twenty-ui/navigation';+import { type SelectOption } from 'twenty-ui/primitives/input';+import {+ MenuItem,+ MenuItemMultiSelectTag,+} from 'twenty-ui/primitives/navigation';import { normalizeSearchText } from '~/utils/normalizeSearchText';import { turnIntoEmptyStringIfWhitespacesOnly } from '~/utils/string/turnIntoEmptyStringIfWhitespacesOnly';diff --git a/packages/twenty-front/src/modules/ui/field/input/components/SelectInput.tsx b/packages/twenty-front/src/modules/ui/field/input/components/SelectInput.tsxindex 5942d7521ea..8fd9182e5cc 100644--- a/packages/twenty-front/src/modules/ui/field/input/components/SelectInput.tsx+++ b/packages/twenty-front/src/modules/ui/field/input/components/SelectInput.tsx@@ -1,6 +1,6 @@import { SelectInput as SelectBaseInput } from '@/ui/input/components/SelectInput';import { SelectableList } from '@/ui/layout/selectable-list/components/SelectableList';-import { type SelectOption } from 'twenty-ui/input';+import { type SelectOption } from 'twenty-ui/primitives/input';type SelectInputProps = {selectableListComponentInstanceId: string;diff --git a/packages/twenty-front/src/modules/ui/field/input/components/__stories__/MultiSelectInput.stories.tsx b/packages/twenty-front/src/modules/ui/field/input/components/__stories__/MultiSelectInput.stories.tsxindex 0b24a91e8cc..258ccfb292d 100644--- a/packages/twenty-front/src/modules/ui/field/input/components/__stories__/MultiSelectInput.stories.tsx+++ b/packages/twenty-front/src/modules/ui/field/input/components/__stories__/MultiSelectInput.stories.tsx@@ -16,7 +16,7 @@ import {IconTag,IconTarget,} from 'twenty-ui/icon';-import { type SelectOption } from 'twenty-ui/input';+import { type SelectOption } from 'twenty-ui/primitives/input';import { ComponentDecorator } from 'twenty-ui/testing';type RenderProps = {diff --git a/packages/twenty-front/src/modules/ui/input/components/AdvancedSettingsSwitch.tsx b/packages/twenty-front/src/modules/ui/input/components/AdvancedSettingsSwitch.tsxindex 7e39c519a6a..86631709ec0 100644--- a/packages/twenty-front/src/modules/ui/input/components/AdvancedSettingsSwitch.tsx+++ b/packages/twenty-front/src/modules/ui/input/components/AdvancedSettingsSwitch.tsx@@ -1,7 +1,7 @@import { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';import { useId } from 'react';-import { Switch } from 'twenty-ui/input';+import { Switch } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledContainer = styled.label`diff --git a/packages/twenty-front/src/modules/ui/input/components/FormFieldInputContainer.tsx b/packages/twenty-front/src/modules/ui/input/components/FormFieldInputContainer.tsxindex b113695ccfc..df47c7c3c73 100644--- a/packages/twenty-front/src/modules/ui/input/components/FormFieldInputContainer.tsx+++ b/packages/twenty-front/src/modules/ui/input/components/FormFieldInputContainer.tsx@@ -1,5 +1,5 @@import { styled } from '@linaria/react';-import { Field } from 'twenty-ui/input';+import { Field } from 'twenty-ui/primitives/input';const StyledFormFieldInputContainer = styled(Field.Root)`display: flex;diff --git a/packages/twenty-front/src/modules/ui/input/components/IconPicker.tsx b/packages/twenty-front/src/modules/ui/input/components/IconPicker.tsxindex 3f75d3fdbd8..ffc22a1b93a 100644--- a/packages/twenty-front/src/modules/ui/input/components/IconPicker.tsx+++ b/packages/twenty-front/src/modules/ui/input/components/IconPicker.tsx@@ -10,14 +10,14 @@ import React, {useState,} from 'react';import { isDefined } from 'twenty-shared/utils';-import { ColorSample } from 'twenty-ui/data-display';+import { ColorSample } from 'twenty-ui/primitives/data-display';import { IconApps, type IconComponent, useIcons } from 'twenty-ui/icon';import {IconButton,type IconButtonSize,type IconButtonVariant,LightIconButton,-} from 'twenty-ui/input';+} from 'twenty-ui/primitives/input';import { type ThemeColor } from 'twenty-ui/theme';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';diff --git a/packages/twenty-front/src/modules/ui/input/components/ImageInput.tsx b/packages/twenty-front/src/modules/ui/input/components/ImageInput.tsxindex bdcd2de99af..d63d495d9af 100644--- a/packages/twenty-front/src/modules/ui/input/components/ImageInput.tsx+++ b/packages/twenty-front/src/modules/ui/input/components/ImageInput.tsx@@ -5,7 +5,7 @@ import { isNonEmptyString } from '@sniptt/guards';import React, { useContext, useState } from 'react';import { getImageAbsoluteURI, isDefined } from 'twenty-shared/utils';import { IconPhotoUp, IconTrash, IconUpload, IconX } from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';+import { Button } from 'twenty-ui/primitives/input';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';import { REACT_APP_SERVER_BASE_URL } from '~/config';const StyledContainer = styled.div`diff --git a/packages/twenty-front/src/modules/ui/input/components/MultiSelectControl.tsx b/packages/twenty-front/src/modules/ui/input/components/MultiSelectControl.tsxindex 9bd276003ce..b8498245d6c 100644--- a/packages/twenty-front/src/modules/ui/input/components/MultiSelectControl.tsx+++ b/packages/twenty-front/src/modules/ui/input/components/MultiSelectControl.tsx@@ -5,9 +5,9 @@ import {import { styled } from '@linaria/react';import React, { useContext } from 'react';import { isDefined } from 'twenty-shared/utils';-import { TintedIconTile } from 'twenty-ui/data-display';+import { TintedIconTile } from 'twenty-ui/primitives/data-display';import { IconChevronDown, type IconComponent } from 'twenty-ui/icon';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';import { type ThemeColor } from 'twenty-ui/theme';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';diff --git a/packages/twenty-front/src/modules/ui/input/components/Select.tsx b/packages/twenty-front/src/modules/ui/input/components/Select.tsxindex 714a54a15ca..47020e70973 100644--- a/packages/twenty-front/src/modules/ui/input/components/Select.tsx+++ b/packages/twenty-front/src/modules/ui/input/components/Select.tsx@@ -21,8 +21,8 @@ import { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useimport { isNonEmptyArray, isNonEmptyString } from '@sniptt/guards';import { isDefined } from 'twenty-shared/utils';import { type IconComponent } from 'twenty-ui/icon';-import { type SelectOption } from 'twenty-ui/input';-import { MenuItem, MenuItemSelect } from 'twenty-ui/navigation';+import { type SelectOption } from 'twenty-ui/primitives/input';+import { MenuItem, MenuItemSelect } from 'twenty-ui/primitives/navigation';import { themeCssVariables } from 'twenty-ui/theme-constants';import { normalizeSearchText } from '~/utils/normalizeSearchText';diff --git a/packages/twenty-front/src/modules/ui/input/components/SelectControl.tsx b/packages/twenty-front/src/modules/ui/input/components/SelectControl.tsxindex 8aa6f7c2e4d..91340e1587e 100644--- a/packages/twenty-front/src/modules/ui/input/components/SelectControl.tsx+++ b/packages/twenty-front/src/modules/ui/input/components/SelectControl.tsx@@ -3,10 +3,10 @@ import { type FormFieldInputVariant } from '@/ui/input/types/FormFieldInputVariaimport { styled } from '@linaria/react';import { type ReactNode, useContext } from 'react';import { isDefined } from 'twenty-shared/utils';-import { TintedIconTile } from 'twenty-ui/data-display';+import { TintedIconTile } from 'twenty-ui/primitives/data-display';import { IconChevronDown } from 'twenty-ui/icon';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';-import { type SelectOption } from 'twenty-ui/input';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';+import { type SelectOption } from 'twenty-ui/primitives/input';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';export type SelectControlTextAccent = 'default' | 'placeholder';diff --git a/packages/twenty-front/src/modules/ui/input/components/SelectInput.tsx b/packages/twenty-front/src/modules/ui/input/components/SelectInput.tsxindex bff6eecfb1f..307f423fc32 100644--- a/packages/twenty-front/src/modules/ui/input/components/SelectInput.tsx+++ b/packages/twenty-front/src/modules/ui/input/components/SelectInput.tsx@@ -12,9 +12,9 @@ import { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useimport { useEffect, useMemo, useRef, useState } from 'react';import { t } from '@lingui/core/macro';import { isDefined } from 'twenty-shared/utils';-import { type TagColor } from 'twenty-ui/data-display';-import { type SelectOption } from 'twenty-ui/input';-import { MenuItemSelectTag } from 'twenty-ui/navigation';+import { type TagColor } from 'twenty-ui/primitives/data-display';+import { type SelectOption } from 'twenty-ui/primitives/input';+import { MenuItemSelectTag } from 'twenty-ui/primitives/navigation';import { normalizeSearchText } from '~/utils/normalizeSearchText';interface SelectInputProps {diff --git a/packages/twenty-front/src/modules/ui/input/components/TextInput.tsx b/packages/twenty-front/src/modules/ui/input/components/TextInput.tsxindex 95e0f938a88..0144ce19200 100644--- a/packages/twenty-front/src/modules/ui/input/components/TextInput.tsx+++ b/packages/twenty-front/src/modules/ui/input/components/TextInput.tsx@@ -1,4 +1,4 @@-import { Field } from 'twenty-ui/input';+import { Field } from 'twenty-ui/primitives/input';import { isNonEmptyString } from '@sniptt/guards';import { isDefined } from 'twenty-shared/utils';import { css } from '@linaria/core';@@ -14,7 +14,7 @@ import React, {useState,} from 'react';import { type IconComponent, IconEye, IconEyeOff } from 'twenty-ui/icon';-import { AutogrowWrapper } from 'twenty-ui/layout';+import { AutogrowWrapper } from 'twenty-ui/primitives/layout';import { useCombinedRefs } from '~/hooks/useCombinedRefs';import { turnIntoEmptyStringIfWhitespacesOnly } from '~/utils/string/turnIntoEmptyStringIfWhitespacesOnly';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';diff --git a/packages/twenty-front/src/modules/ui/input/components/ThemeColorPickerMenu.tsx b/packages/twenty-front/src/modules/ui/input/components/ThemeColorPickerMenu.tsxindex c8e9410bf99..af967d13856 100644--- a/packages/twenty-front/src/modules/ui/input/components/ThemeColorPickerMenu.tsx+++ b/packages/twenty-front/src/modules/ui/input/components/ThemeColorPickerMenu.tsx@@ -7,7 +7,7 @@ import { useState } from 'react';import {DEFAULT_COLOR_LABELS,MenuItemSelectColor,-} from 'twenty-ui/navigation';+} from 'twenty-ui/primitives/navigation';import { type ThemeColor, MAIN_COLOR_NAMES } from 'twenty-ui/theme';type ThemeColorPickerMenuProps = {diff --git a/packages/twenty-front/src/modules/ui/input/components/TitleInput.tsx b/packages/twenty-front/src/modules/ui/input/components/TitleInput.tsxindex 75f8cc14cd4..fad0549d229 100644--- a/packages/twenty-front/src/modules/ui/input/components/TitleInput.tsx+++ b/packages/twenty-front/src/modules/ui/input/components/TitleInput.tsx@@ -8,7 +8,7 @@ import { usePushFocusItemToFocusStack } from '@/ui/utilities/focus/hooks/usePushimport { useRemoveFocusItemFromFocusStackById } from '@/ui/utilities/focus/hooks/useRemoveFocusItemFromFocusStackById';import { FocusComponentType } from '@/ui/utilities/focus/types/FocusComponentType';import { styled } from '@linaria/react';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';type CommonInputProps = {diff --git a/packages/twenty-front/src/modules/ui/input/components/internal/country/components/CountrySelect.tsx b/packages/twenty-front/src/modules/ui/input/components/internal/country/components/CountrySelect.tsxindex fabb20f1b8f..756d41578cb 100644--- a/packages/twenty-front/src/modules/ui/input/components/internal/country/components/CountrySelect.tsx+++ b/packages/twenty-front/src/modules/ui/input/components/internal/country/components/CountrySelect.tsx@@ -5,7 +5,7 @@ import { SELECT_COUNTRY_DROPDOWN_ID } from '@/ui/input/components/internal/countimport { useCountries } from '@/ui/input/components/internal/hooks/useCountries';import { Select } from '@/ui/input/components/Select';import { IconCircleOff, type IconComponentProps } from 'twenty-ui/icon';-import { type SelectOption } from 'twenty-ui/input';+import { type SelectOption } from 'twenty-ui/primitives/input';export const CountrySelect = ({label,diff --git a/packages/twenty-front/src/modules/ui/input/components/internal/currency/components/CurrencyPickerDropdownSelect.tsx b/packages/twenty-front/src/modules/ui/input/components/internal/currency/components/CurrencyPickerDropdownSelect.tsxindex 50e4cabdf5a..a0c5a87a7f7 100644--- a/packages/twenty-front/src/modules/ui/input/components/internal/currency/components/CurrencyPickerDropdownSelect.tsx+++ b/packages/twenty-front/src/modules/ui/input/components/internal/currency/components/CurrencyPickerDropdownSelect.tsx@@ -8,7 +8,10 @@ import { DropdownMenuSeparator } from '@/ui/layout/dropdown/components/DropdownMimport { CURRENCIES } from '@/settings/data-model/constants/Currencies';import { type Currency } from '@/ui/input/components/internal/types/Currency';import { DropdownContent } from '@/ui/layout/dropdown/components/DropdownContent';-import { MenuItem, MenuItemSelectAvatar } from 'twenty-ui/navigation';+import {+ MenuItem,+ MenuItemSelectAvatar,+} from 'twenty-ui/primitives/navigation';export const CurrencyPickerDropdownSelect = ({selectedCurrency,diff --git a/packages/twenty-front/src/modules/ui/input/components/internal/date/components/DatePicker.tsx b/packages/twenty-front/src/modules/ui/input/components/internal/date/components/DatePicker.tsxindex 29fbae4d187..bc9427a6a5e 100644--- a/packages/twenty-front/src/modules/ui/input/components/internal/date/components/DatePicker.tsx+++ b/packages/twenty-front/src/modules/ui/input/components/internal/date/components/DatePicker.tsx@@ -29,7 +29,7 @@ import {type RelativeDateFilter,} from 'twenty-shared/utils';import { IconCalendarX } from 'twenty-ui/icon';-import { MenuItemLeftContent } from 'twenty-ui/navigation';+import { MenuItemLeftContent } from 'twenty-ui/primitives/navigation';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';export const MONTH_AND_YEAR_DROPDOWN_MONTH_SELECT_ID =diff --git a/packages/twenty-front/src/modules/ui/input/components/internal/date/components/DatePickerHeader.tsx b/packages/twenty-front/src/modules/ui/input/components/internal/date/components/DatePickerHeader.tsxindex 9d4ed49f7cf..59d188cfa87 100644--- a/packages/twenty-front/src/modules/ui/input/components/internal/date/components/DatePickerHeader.tsx+++ b/packages/twenty-front/src/modules/ui/input/components/internal/date/components/DatePickerHeader.tsx@@ -6,7 +6,7 @@ import { DatePickerInput } from '@/ui/input/components/internal/date/components/import { getMonthSelectOptions } from '@/ui/input/components/internal/date/utils/getMonthSelectOptions';import { ClickOutsideListenerContext } from '@/ui/utilities/pointer-event/contexts/ClickOutsideListenerContext';import { IconChevronLeft, IconChevronRight } from 'twenty-ui/icon';-import { LightIconButton } from 'twenty-ui/input';+import { LightIconButton } from 'twenty-ui/primitives/input';import { currentWorkspaceMemberState } from '@/auth/states/currentWorkspaceMemberState';import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';import { Temporal } from 'temporal-polyfill';diff --git a/packages/twenty-front/src/modules/ui/input/components/internal/date/components/DateTimePicker.tsx b/packages/twenty-front/src/modules/ui/input/components/internal/date/components/DateTimePicker.tsxindex b0e04ba672a..d58328d8a70 100644--- a/packages/twenty-front/src/modules/ui/input/components/internal/date/components/DateTimePicker.tsx+++ b/packages/twenty-front/src/modules/ui/input/components/internal/date/components/DateTimePicker.tsx@@ -24,7 +24,7 @@ import Skeleton, { SkeletonTheme } from 'react-loading-skeleton';import 'react-datepicker/dist/react-datepicker.css';import { IconCalendarX } from 'twenty-ui/icon';-import { MenuItemLeftContent } from 'twenty-ui/navigation';+import { MenuItemLeftContent } from 'twenty-ui/primitives/navigation';import { useGetShiftedDateToSystemTimeZone } from '@/ui/input/components/internal/date/hooks/useGetShiftedDateToSystemTimeZone';import { useUserFirstDayOfTheWeek } from '@/ui/input/components/internal/date/hooks/useUserFirstDayOfTheWeek';diff --git a/packages/twenty-front/src/modules/ui/input/components/internal/date/components/DateTimePickerHeader.tsx b/packages/twenty-front/src/modules/ui/input/components/internal/date/components/DateTimePickerHeader.tsxindex 699456207f7..2fd8cc26b8a 100644--- a/packages/twenty-front/src/modules/ui/input/components/internal/date/components/DateTimePickerHeader.tsx+++ b/packages/twenty-front/src/modules/ui/input/components/internal/date/components/DateTimePickerHeader.tsx@@ -24,7 +24,7 @@ import {IconChevronRight,IconClock,} from 'twenty-ui/icon';-import { LightIconButton } from 'twenty-ui/input';+import { LightIconButton } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';import {diff --git a/packages/twenty-front/src/modules/ui/input/components/internal/date/components/RelativeDatePickerCalendarNavigation.tsx b/packages/twenty-front/src/modules/ui/input/components/internal/date/components/RelativeDatePickerCalendarNavigation.tsxindex 4ae73429f57..9e5c672dbcc 100644--- a/packages/twenty-front/src/modules/ui/input/components/internal/date/components/RelativeDatePickerCalendarNavigation.tsx+++ b/packages/twenty-front/src/modules/ui/input/components/internal/date/components/RelativeDatePickerCalendarNavigation.tsx@@ -3,7 +3,7 @@ import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateimport { styled } from '@linaria/react';import { SOURCE_LOCALE } from 'twenty-shared/translations';import { IconChevronLeft, IconChevronRight } from 'twenty-ui/icon';-import { LightIconButton } from 'twenty-ui/input';+import { LightIconButton } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledContainer = styled.div`diff --git a/packages/twenty-front/src/modules/ui/input/components/internal/phone/components/PhoneCountryPickerDropdownSelect.tsx b/packages/twenty-front/src/modules/ui/input/components/internal/phone/components/PhoneCountryPickerDropdownSelect.tsxindex 937de4f4b7d..745614a346a 100644--- a/packages/twenty-front/src/modules/ui/input/components/internal/phone/components/PhoneCountryPickerDropdownSelect.tsx+++ b/packages/twenty-front/src/modules/ui/input/components/internal/phone/components/PhoneCountryPickerDropdownSelect.tsx@@ -9,7 +9,10 @@ import { DropdownMenuSeparator } from '@/ui/layout/dropdown/components/DropdownMimport { DropdownContent } from '@/ui/layout/dropdown/components/DropdownContent';import 'react-phone-number-input/style.css';-import { MenuItem, MenuItemSelectAvatar } from 'twenty-ui/navigation';+import {+ MenuItem,+ MenuItemSelectAvatar,+} from 'twenty-ui/primitives/navigation';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledIconContainer = styled.div`diff --git a/packages/twenty-front/src/modules/ui/input/relation-picker/components/CreateNewButton.tsx b/packages/twenty-front/src/modules/ui/input/relation-picker/components/CreateNewButton.tsxindex b53d0413fda..f349cec1e2a 100644--- a/packages/twenty-front/src/modules/ui/input/relation-picker/components/CreateNewButton.tsx+++ b/packages/twenty-front/src/modules/ui/input/relation-picker/components/CreateNewButton.tsx@@ -1,6 +1,6 @@import { css } from '@linaria/core';import React from 'react';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { themeCssVariables } from 'twenty-ui/theme-constants';const hoveredStyle = css`diff --git a/packages/twenty-front/src/modules/ui/layout/draggable-list/components/__stories__/DraggableItem.stories.tsx b/packages/twenty-front/src/modules/ui/layout/draggable-list/components/__stories__/DraggableItem.stories.tsxindex d2ca720fd28..233d41d15d8 100644--- a/packages/twenty-front/src/modules/ui/layout/draggable-list/components/__stories__/DraggableItem.stories.tsx+++ b/packages/twenty-front/src/modules/ui/layout/draggable-list/components/__stories__/DraggableItem.stories.tsx@@ -4,7 +4,7 @@ import { fn } from 'storybook/test';import { DraggableItem } from '@/ui/layout/draggable-list/components/DraggableItem';import { DraggableList } from '@/ui/layout/draggable-list/components/DraggableList';import { IconBell } from 'twenty-ui/icon';-import { MenuItemDraggable } from 'twenty-ui/navigation';+import { MenuItemDraggable } from 'twenty-ui/primitives/navigation';import { ComponentDecorator } from 'twenty-ui/testing';const meta: Meta<typeof DraggableItem> = {diff --git a/packages/twenty-front/src/modules/ui/layout/draggable-list/components/__stories__/DraggableList.stories.tsx b/packages/twenty-front/src/modules/ui/layout/draggable-list/components/__stories__/DraggableList.stories.tsxindex 3e3869f0ae0..d20498e86e8 100644--- a/packages/twenty-front/src/modules/ui/layout/draggable-list/components/__stories__/DraggableList.stories.tsx+++ b/packages/twenty-front/src/modules/ui/layout/draggable-list/components/__stories__/DraggableList.stories.tsx@@ -3,7 +3,7 @@ import { DraggableList } from '@/ui/layout/draggable-list/components/DraggableLiimport { type Meta, type StoryObj } from '@storybook/react-vite';import { action } from 'storybook/actions';import { IconBell } from 'twenty-ui/icon';-import { MenuItemDraggable } from 'twenty-ui/navigation';+import { MenuItemDraggable } from 'twenty-ui/primitives/navigation';import { ComponentDecorator } from 'twenty-ui/testing';const meta: Meta<typeof DraggableList> = {diff --git a/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownMenuHeader/internal/DropdownMenuHeaderLeftComponent.tsx b/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownMenuHeader/internal/DropdownMenuHeaderLeftComponent.tsxindex 776b6cfc4c8..325747a4bf1 100644--- a/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownMenuHeader/internal/DropdownMenuHeaderLeftComponent.tsx+++ b/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownMenuHeader/internal/DropdownMenuHeaderLeftComponent.tsx@@ -1,8 +1,11 @@import { type MouseEvent, type ReactElement, useContext } from 'react';import { styled } from '@linaria/react';-import { type Avatar, type AvatarProps } from 'twenty-ui/data-display';+import {+ type Avatar,+ type AvatarProps,+} from 'twenty-ui/primitives/data-display';import { type IconComponent } from 'twenty-ui/icon';-import { LightIconButton } from 'twenty-ui/input';+import { LightIconButton } from 'twenty-ui/primitives/input';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';const StyledNonClickableStartIcon = styled.div`diff --git a/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownMenuInnerSelect.tsx b/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownMenuInnerSelect.tsxindex 9fdb70dc0f7..db8570d33e2 100644--- a/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownMenuInnerSelect.tsx+++ b/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownMenuInnerSelect.tsx@@ -6,8 +6,8 @@ import { useCloseDropdown } from '@/ui/layout/dropdown/hooks/useCloseDropdown';import { styled } from '@linaria/react';import { useContext } from 'react';import { IconChevronDown } from 'twenty-ui/icon';-import { type SelectOption } from 'twenty-ui/input';-import { MenuItemSelect } from 'twenty-ui/navigation';+import { type SelectOption } from 'twenty-ui/primitives/input';+import { MenuItemSelect } from 'twenty-ui/primitives/navigation';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';const StyledDropdownMenuInnerSelectDropdownButton = styled.div`diff --git a/packages/twenty-front/src/modules/ui/layout/dropdown/components/OptionsDropdownMenu.tsx b/packages/twenty-front/src/modules/ui/layout/dropdown/components/OptionsDropdownMenu.tsxindex c1aafff43ab..1d67f1a6b43 100644--- a/packages/twenty-front/src/modules/ui/layout/dropdown/components/OptionsDropdownMenu.tsx+++ b/packages/twenty-front/src/modules/ui/layout/dropdown/components/OptionsDropdownMenu.tsx@@ -12,7 +12,7 @@ import { useHotkeysOnFocusedElement } from '@/ui/utilities/hotkey/hooks/useHotkeimport { useLingui } from '@lingui/react/macro';import { type ReactNode, useId } from 'react';import { IconDotsVertical } from 'twenty-ui/icon';-import { IconButton } from 'twenty-ui/input';+import { IconButton } from 'twenty-ui/primitives/input';type OptionsDropdownMenuProps = {dropdownId?: string;diff --git a/packages/twenty-front/src/modules/ui/layout/dropdown/components/StyledDropdownMenuSubheader.tsx b/packages/twenty-front/src/modules/ui/layout/dropdown/components/StyledDropdownMenuSubheader.tsxindex 1ddba56d23e..32e61908b20 100644--- a/packages/twenty-front/src/modules/ui/layout/dropdown/components/StyledDropdownMenuSubheader.tsx+++ b/packages/twenty-front/src/modules/ui/layout/dropdown/components/StyledDropdownMenuSubheader.tsx@@ -1,6 +1,6 @@import { styled } from '@linaria/react';import { type ReactNode } from 'react';-import { Label } from 'twenty-ui/typography';+import { Label } from 'twenty-ui/primitives/typography';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledDropdownMenuSubheaderContainer = styled.div`diff --git a/packages/twenty-front/src/modules/ui/layout/dropdown/components/__stories__/Dropdown.stories.tsx b/packages/twenty-front/src/modules/ui/layout/dropdown/components/__stories__/Dropdown.stories.tsxindex 03ab6a40869..59152b480c5 100644--- a/packages/twenty-front/src/modules/ui/layout/dropdown/components/__stories__/Dropdown.stories.tsx+++ b/packages/twenty-front/src/modules/ui/layout/dropdown/components/__stories__/Dropdown.stories.tsx@@ -21,8 +21,8 @@ import { DropdownMenuSearchInput } from '@/ui/layout/dropdown/components/Dropdowimport { DropdownMenuSeparator } from '@/ui/layout/dropdown/components/DropdownMenuSeparator';import { StyledDropdownMenuSubheader } from '@/ui/layout/dropdown/components/StyledDropdownMenuSubheader';import { IconChevronLeft } from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';-import { MenuItem } from 'twenty-ui/navigation';+import { Button } from 'twenty-ui/primitives/input';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { ComponentDecorator } from 'twenty-ui/testing';const meta: Meta<typeof Dropdown> = {diff --git a/packages/twenty-front/src/modules/ui/layout/dropdown/components/__stories__/DropdownMenuHeader.stories.tsx b/packages/twenty-front/src/modules/ui/layout/dropdown/components/__stories__/DropdownMenuHeader.stories.tsxindex c491d35978d..fc3284bf1ef 100644--- a/packages/twenty-front/src/modules/ui/layout/dropdown/components/__stories__/DropdownMenuHeader.stories.tsx+++ b/packages/twenty-front/src/modules/ui/layout/dropdown/components/__stories__/DropdownMenuHeader.stories.tsx@@ -5,9 +5,9 @@ import { DropdownContent } from '@/ui/layout/dropdown/components/DropdownContentimport { DropdownMenuHeader } from '@/ui/layout/dropdown/components/DropdownMenuHeader/DropdownMenuHeader';import { DropdownMenuHeaderLeftComponent } from '@/ui/layout/dropdown/components/DropdownMenuHeader/internal/DropdownMenuHeaderLeftComponent';import { DropdownMenuItemsContainer } from '@/ui/layout/dropdown/components/DropdownMenuItemsContainer';-import { Avatar } from 'twenty-ui/data-display';+import { Avatar } from 'twenty-ui/primitives/data-display';import { IconChevronLeft, IconChevronRight, IconPlus } from 'twenty-ui/icon';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { AVATAR_URL_MOCK, ComponentDecorator } from 'twenty-ui/testing';const meta: Meta<typeof DropdownMenuHeader> = {diff --git a/packages/twenty-front/src/modules/ui/layout/expandable-list/components/ExpandableList.tsx b/packages/twenty-front/src/modules/ui/layout/expandable-list/components/ExpandableList.tsxindex aabd7449c2c..b511fa4bd39 100644--- a/packages/twenty-front/src/modules/ui/layout/expandable-list/components/ExpandableList.tsx+++ b/packages/twenty-front/src/modules/ui/layout/expandable-list/components/ExpandableList.tsx@@ -11,8 +11,8 @@ import { ExpandableListResizeEffect } from '@/ui/layout/expandable-list/componenimport { ExpandedListDropdown } from '@/ui/layout/expandable-list/components/ExpandedListDropdown';import { isFirstOverflowingChildElement } from '@/ui/layout/expandable-list/utils/isFirstOverflowingChildElement';import { isDefined } from 'twenty-shared/utils';-import { AnimatedContainer } from 'twenty-ui/layout';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';+import { AnimatedContainer } from 'twenty-ui/primitives/layout';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledContainer = styled.div`diff --git a/packages/twenty-front/src/modules/ui/layout/expandable-list/components/__stories__/ExpandableList.stories.tsx b/packages/twenty-front/src/modules/ui/layout/expandable-list/components/__stories__/ExpandableList.stories.tsxindex 294c2b4279e..a2020be7f29 100644--- a/packages/twenty-front/src/modules/ui/layout/expandable-list/components/__stories__/ExpandableList.stories.tsx+++ b/packages/twenty-front/src/modules/ui/layout/expandable-list/components/__stories__/ExpandableList.stories.tsx@@ -3,7 +3,7 @@ import { expect, userEvent, waitFor, within } from 'storybook/test';import { ExpandableList } from '@/ui/layout/expandable-list/components/ExpandableList';import { isDefined } from 'twenty-shared/utils';-import { Tag } from 'twenty-ui/data-display';+import { Tag } from 'twenty-ui/primitives/data-display';import { ComponentDecorator } from 'twenty-ui/testing';import { MAIN_COLOR_NAMES } from 'twenty-ui/theme';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 a41c03867d1..65717158b97 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@@ -8,10 +8,14 @@ import { ModalStatefulWrapper } from '@/ui/layout/modal/components/ModalStatefulimport { useModal } from '@/ui/layout/modal/hooks/useModal';import { msg } from '@lingui/core/macro';import { useLingui } from '@lingui/react/macro';-import { H1Title, H1TitleFontColor } from 'twenty-ui/typography';-import { Button, type ButtonAccent } from 'twenty-ui/input';-import { Section, SectionAlignment, SectionFontColor } from 'twenty-ui/layout';-import { type ModalOverlay } from 'twenty-ui/surfaces';+import { H1Title, H1TitleFontColor } from 'twenty-ui/primitives/typography';+import { Button, type ButtonAccent } from 'twenty-ui/primitives/input';+import {+ Section,+ SectionAlignment,+ SectionFontColor,+} from 'twenty-ui/primitives/layout';+import { type ModalOverlay } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';export type ConfirmationModalProps = {diff --git a/packages/twenty-front/src/modules/ui/layout/modal/components/ModalStatefulWrapper.tsx b/packages/twenty-front/src/modules/ui/layout/modal/components/ModalStatefulWrapper.tsxindex 85243daa00b..fc4cd85ccab 100644--- a/packages/twenty-front/src/modules/ui/layout/modal/components/ModalStatefulWrapper.tsx+++ b/packages/twenty-front/src/modules/ui/layout/modal/components/ModalStatefulWrapper.tsx@@ -12,7 +12,7 @@ import { useIsMobile } from '@/ui/utilities/responsive/hooks/useIsMobile';import { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentStateValue';import { useRef } from 'react';import { isDefined } from 'twenty-shared/utils';-import { Modal } from 'twenty-ui/surfaces';+import { Modal } from 'twenty-ui/primitives/surfaces';export const ModalStatefulWrapper = ({modalInstanceId,diff --git a/packages/twenty-front/src/modules/ui/layout/modal/components/__stories__/Modal.stories.tsx b/packages/twenty-front/src/modules/ui/layout/modal/components/__stories__/Modal.stories.tsxindex b3cda5bfdfa..c4216345be6 100644--- a/packages/twenty-front/src/modules/ui/layout/modal/components/__stories__/Modal.stories.tsx+++ b/packages/twenty-front/src/modules/ui/layout/modal/components/__stories__/Modal.stories.tsx@@ -10,7 +10,11 @@ import { isModalOpenedComponentState } from '@/ui/layout/modal/states/isModalOpeimport { focusStackState } from '@/ui/utilities/focus/states/focusStackState';import { FocusComponentType } from '@/ui/utilities/focus/types/FocusComponentType';import { jotaiStore } from '@/ui/utilities/state/jotai/jotaiStore';-import { ModalContent, ModalFooter, ModalHeader } from 'twenty-ui/surfaces';+import {+ ModalContent,+ ModalFooter,+ ModalHeader,+} from 'twenty-ui/primitives/surfaces';import { ComponentDecorator } from 'twenty-ui/testing';import { RootDecorator } from '~/testing/decorators/RootDecorator';import { sleep } from '~/utils/sleep';diff --git a/packages/twenty-front/src/modules/ui/layout/modal/types/ModalStatefulWrapperProps.ts b/packages/twenty-front/src/modules/ui/layout/modal/types/ModalStatefulWrapperProps.tsindex a5d6662fdeb..2a6ce5f1e98 100644--- a/packages/twenty-front/src/modules/ui/layout/modal/types/ModalStatefulWrapperProps.ts+++ b/packages/twenty-front/src/modules/ui/layout/modal/types/ModalStatefulWrapperProps.ts@@ -1,5 +1,5 @@import type React from 'react';-import { type ModalProps } from 'twenty-ui/surfaces';+import { type ModalProps } from 'twenty-ui/primitives/surfaces';export type ModalStatefulWrapperProps = Pick<ModalProps,diff --git a/packages/twenty-front/src/modules/ui/layout/page/components/HeaderIdentifier.tsx b/packages/twenty-front/src/modules/ui/layout/page/components/HeaderIdentifier.tsxindex 5612f2e8715..2c4473693bc 100644--- a/packages/twenty-front/src/modules/ui/layout/page/components/HeaderIdentifier.tsx+++ b/packages/twenty-front/src/modules/ui/layout/page/components/HeaderIdentifier.tsx@@ -6,8 +6,8 @@ import {AVATAR_PROPERTIES_BY_SIZE,Avatar,type AvatarProps,-} from 'twenty-ui/data-display';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';+} from 'twenty-ui/primitives/data-display';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';const HEADER_IDENTIFIER_TILE_SIZE = AVATAR_PROPERTIES_BY_SIZE.lg.width;diff --git a/packages/twenty-front/src/modules/ui/layout/page/components/PageHeader.tsx b/packages/twenty-front/src/modules/ui/layout/page/components/PageHeader.tsxindex 20b07ac2cea..4440c5d40d5 100644--- a/packages/twenty-front/src/modules/ui/layout/page/components/PageHeader.tsx+++ b/packages/twenty-front/src/modules/ui/layout/page/components/PageHeader.tsx@@ -11,8 +11,8 @@ import { useIsMobile } from '@/ui/utilities/responsive/hooks/useIsMobile';import { AnimatePresence } from 'framer-motion';import { isDefined } from 'twenty-shared/utils';import { type IconComponent, IconX } from 'twenty-ui/icon';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';-import { LightIconButton } from 'twenty-ui/input';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';+import { LightIconButton } from 'twenty-ui/primitives/input';import {MOBILE_VIEWPORT,ThemeContext,diff --git a/packages/twenty-front/src/modules/ui/layout/selectable-list/components/__stories__/SelectableList.stories.tsx b/packages/twenty-front/src/modules/ui/layout/selectable-list/components/__stories__/SelectableList.stories.tsxindex 91fbde22a47..bbdc35edd13 100644--- a/packages/twenty-front/src/modules/ui/layout/selectable-list/components/__stories__/SelectableList.stories.tsx+++ b/packages/twenty-front/src/modules/ui/layout/selectable-list/components/__stories__/SelectableList.stories.tsx@@ -6,7 +6,7 @@ import { isNonEmptyString } from '@sniptt/guards';import { type Meta, type StoryObj } from '@storybook/react-vite';import { useEffect, useState } from 'react';import { expect, fn, userEvent, waitFor, within } from 'storybook/test';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { ComponentDecorator } from 'twenty-ui/testing';const ITEM_LABELS = [diff --git a/packages/twenty-front/src/modules/ui/layout/tab-list/components/TabAvatar.tsx b/packages/twenty-front/src/modules/ui/layout/tab-list/components/TabAvatar.tsxindex 660d5c364e8..e922a9a0487 100644--- a/packages/twenty-front/src/modules/ui/layout/tab-list/components/TabAvatar.tsx+++ b/packages/twenty-front/src/modules/ui/layout/tab-list/components/TabAvatar.tsx@@ -1,7 +1,7 @@import { type SingleTabProps } from '@/ui/layout/tab-list/types/SingleTabProps';import { useContext } from 'react';import { isDefined } from 'twenty-shared/utils';-import { Avatar } from 'twenty-ui/data-display';+import { Avatar } from 'twenty-ui/primitives/data-display';import { ThemeContext } from 'twenty-ui/theme-constants';import { getAbsoluteImageUrl } from '~/utils/image/getAbsoluteImageUrl';diff --git a/packages/twenty-front/src/modules/ui/layout/tab-list/components/TabList.tsx b/packages/twenty-front/src/modules/ui/layout/tab-list/components/TabList.tsxindex 87954ec844b..b9ab16e4685 100644--- a/packages/twenty-front/src/modules/ui/layout/tab-list/components/TabList.tsx+++ b/packages/twenty-front/src/modules/ui/layout/tab-list/components/TabList.tsx@@ -16,7 +16,7 @@ import { styled } from '@linaria/react';import { useCallback, useEffect, useMemo } from 'react';import { useLocation, useNavigate } from 'react-router-dom';import { isDefined } from 'twenty-shared/utils';-import { TabButton } from 'twenty-ui/input';+import { TabButton } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';import { TabListDropdown } from './TabListDropdown';import { TabListFromUrlOptionalEffect } from './TabListFromUrlOptionalEffect';diff --git a/packages/twenty-front/src/modules/ui/layout/tab-list/components/TabListDropdown.tsx b/packages/twenty-front/src/modules/ui/layout/tab-list/components/TabListDropdown.tsxindex 399faf68078..fe9f2fb34c8 100644--- a/packages/twenty-front/src/modules/ui/layout/tab-list/components/TabListDropdown.tsx+++ b/packages/twenty-front/src/modules/ui/layout/tab-list/components/TabListDropdown.tsx@@ -4,7 +4,7 @@ import { DropdownMenuItemsContainer } from '@/ui/layout/dropdown/components/Dropimport { TabAvatar } from '@/ui/layout/tab-list/components/TabAvatar';import { TabMoreButton } from '@/ui/layout/tab-list/components/TabMoreButton';import { type SingleTabProps } from '@/ui/layout/tab-list/types/SingleTabProps';-import { MenuItemSelectAvatar } from 'twenty-ui/navigation';+import { MenuItemSelectAvatar } from 'twenty-ui/primitives/navigation';type TabListDropdownProps = {dropdownId: string;diff --git a/packages/twenty-front/src/modules/ui/layout/tab-list/components/TabListHiddenMeasurements.tsx b/packages/twenty-front/src/modules/ui/layout/tab-list/components/TabListHiddenMeasurements.tsxindex ef18d00c2d3..542cd70db35 100644--- a/packages/twenty-front/src/modules/ui/layout/tab-list/components/TabListHiddenMeasurements.tsx+++ b/packages/twenty-front/src/modules/ui/layout/tab-list/components/TabListHiddenMeasurements.tsx@@ -5,7 +5,7 @@ import { type SingleTabProps } from '@/ui/layout/tab-list/types/SingleTabProps';import { NodeDimension } from '@/ui/utilities/dimensions/components/NodeDimension';import { styled } from '@linaria/react';import { IconPlus } from 'twenty-ui/icon';-import { TabButton } from 'twenty-ui/input';+import { TabButton } from 'twenty-ui/primitives/input';import { type TabListDimensions } from '@/ui/layout/tab-list/types/TabListDimension';import { TabMoreButton } from './TabMoreButton';diff --git a/packages/twenty-front/src/modules/ui/layout/tab-list/components/TabMoreButton.tsx b/packages/twenty-front/src/modules/ui/layout/tab-list/components/TabMoreButton.tsxindex 3fc4218e0a0..a9c4c89455e 100644--- a/packages/twenty-front/src/modules/ui/layout/tab-list/components/TabMoreButton.tsx+++ b/packages/twenty-front/src/modules/ui/layout/tab-list/components/TabMoreButton.tsx@@ -1,7 +1,7 @@import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';import { IconChevronDown } from 'twenty-ui/icon';-import { TabButton } from 'twenty-ui/input';+import { TabButton } from 'twenty-ui/primitives/input';import { TAB_LIST_HEIGHT } from '@/ui/layout/tab-list/constants/TabListHeight';import { TAB_LIST_ROW_HEIGHT_CSS_VARIABLE } from '@/ui/layout/tab-list/constants/TabListRowHeightCssVariable';diff --git a/packages/twenty-front/src/modules/ui/layout/table/components/TableSection.tsx b/packages/twenty-front/src/modules/ui/layout/table/components/TableSection.tsxindex c15a8a24878..6e3e555e4e3 100644--- a/packages/twenty-front/src/modules/ui/layout/table/components/TableSection.tsx+++ b/packages/twenty-front/src/modules/ui/layout/table/components/TableSection.tsx@@ -2,7 +2,7 @@ import { styled } from '@linaria/react';import { type ReactNode, useContext, useState } from 'react';import { TableBody } from './TableBody';import { IconChevronDown, IconChevronUp } from 'twenty-ui/icon';-import { Label } from 'twenty-ui/typography';+import { Label } from 'twenty-ui/primitives/typography';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';type TableSectionProps = {diff --git a/packages/twenty-front/src/modules/ui/navigation/menu-item/components/MenuItemWithOptionDropdown.tsx b/packages/twenty-front/src/modules/ui/navigation/menu-item/components/MenuItemWithOptionDropdown.tsxindex 4830f12307b..c1304760243 100644--- a/packages/twenty-front/src/modules/ui/navigation/menu-item/components/MenuItemWithOptionDropdown.tsx+++ b/packages/twenty-front/src/modules/ui/navigation/menu-item/components/MenuItemWithOptionDropdown.tsx@@ -12,13 +12,16 @@ import {type IconComponent,IconDotsVertical,} from 'twenty-ui/icon';-import { LightIconButton, type LightIconButtonProps } from 'twenty-ui/input';+import {+ LightIconButton,+ type LightIconButtonProps,+} from 'twenty-ui/primitives/input';import {type MenuItemAccent,MenuItemLeftContent,StyledHoverableMenuItemBase,StyledMenuItemLeftContent,-} from 'twenty-ui/navigation';+} from 'twenty-ui/primitives/navigation';import { ThemeContext } from 'twenty-ui/theme-constants';export type MenuItemIconButton = {diff --git a/packages/twenty-front/src/modules/ui/navigation/navigation-bar/components/__stories__/NavigationBar.stories.tsx b/packages/twenty-front/src/modules/ui/navigation/navigation-bar/components/__stories__/NavigationBar.stories.tsxindex c607438a3fc..179cf871caf 100644--- a/packages/twenty-front/src/modules/ui/navigation/navigation-bar/components/__stories__/NavigationBar.stories.tsx+++ b/packages/twenty-front/src/modules/ui/navigation/navigation-bar/components/__stories__/NavigationBar.stories.tsx@@ -6,7 +6,7 @@ import {IconSearch,IconSettings,} from 'twenty-ui/icon';-import { NavigationBar } from 'twenty-ui/navigation';+import { NavigationBar } from 'twenty-ui/primitives/navigation';import { ComponentDecorator } from 'twenty-ui/testing';import { ComponentWithRouterDecorator } from '~/testing/decorators/ComponentWithRouterDecorator';diff --git a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/CollapsibleNavigationDrawerSection.tsx b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/CollapsibleNavigationDrawerSection.tsxindex bc95399a2c6..16db5a3f6b1 100644--- a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/CollapsibleNavigationDrawerSection.tsx+++ b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/CollapsibleNavigationDrawerSection.tsx@@ -3,7 +3,7 @@ import { NavigationDrawerSectionTitle } from '@/ui/navigation/navigation-drawer/import { useNavigationSection } from '@/ui/navigation/navigation-drawer/hooks/useNavigationSection';import { styled } from '@linaria/react';import { type ReactNode } from 'react';-import { AnimatedExpandableContainer } from 'twenty-ui/layout';+import { AnimatedExpandableContainer } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledItems = styled.div`diff --git a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/MultiWorkspaceDropdown/internal/MultiWorkspaceDropdownClickableComponent.tsx b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/MultiWorkspaceDropdown/internal/MultiWorkspaceDropdownClickableComponent.tsxindex 8283c61d8e5..ce704e529bb 100644--- a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/MultiWorkspaceDropdown/internal/MultiWorkspaceDropdownClickableComponent.tsx+++ b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/MultiWorkspaceDropdown/internal/MultiWorkspaceDropdownClickableComponent.tsx@@ -11,7 +11,7 @@ import { useIsNavigationDrawerContentExpanded } from '@/navigation/hooks/useIsNaimport { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';import { getAbsoluteImageUrl } from '~/utils/image/getAbsoluteImageUrl';import { useContext } from 'react';-import { Avatar } from 'twenty-ui/data-display';+import { Avatar } from 'twenty-ui/primitives/data-display';import { ThemeContext } from 'twenty-ui/theme-constants';type MultiWorkspaceDropdownClickableComponentProps = {diff --git a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/MultiWorkspaceDropdown/internal/MultiWorkspaceDropdownDefaultComponents.tsx b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/MultiWorkspaceDropdown/internal/MultiWorkspaceDropdownDefaultComponents.tsxindex cd73357a71b..b8de0307102 100644--- a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/MultiWorkspaceDropdown/internal/MultiWorkspaceDropdownDefaultComponents.tsx+++ b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/MultiWorkspaceDropdown/internal/MultiWorkspaceDropdownDefaultComponents.tsx@@ -27,7 +27,7 @@ import { useLingui } from '@lingui/react/macro';import { isNonEmptyString } from '@sniptt/guards';import { AppPath, SettingsPath } from 'twenty-shared/types';import { getSettingsPath } from 'twenty-shared/utils';-import { Avatar } from 'twenty-ui/data-display';+import { Avatar } from 'twenty-ui/primitives/data-display';import {IconDotsVertical,IconLogout,@@ -37,12 +37,12 @@ import {IconSwitchHorizontal,IconUserPlus,} from 'twenty-ui/icon';-import { LightIconButton } from 'twenty-ui/input';+import { LightIconButton } from 'twenty-ui/primitives/input';import {MenuItem,MenuItemSelectAvatar,UndecoratedLink,-} from 'twenty-ui/navigation';+} from 'twenty-ui/primitives/navigation';import { useIsMobile } from 'twenty-ui/utilities';import { type AvailableWorkspace } from '~/generated-metadata/graphql';import { useNavigateSettings } from '~/hooks/useNavigateSettings';diff --git a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/MultiWorkspaceDropdown/internal/MultiWorkspaceDropdownOpenRecordInComponents.tsx b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/MultiWorkspaceDropdown/internal/MultiWorkspaceDropdownOpenRecordInComponents.tsxindex 0b165f54c53..bc1dff5bd04 100644--- a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/MultiWorkspaceDropdown/internal/MultiWorkspaceDropdownOpenRecordInComponents.tsx+++ b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/MultiWorkspaceDropdown/internal/MultiWorkspaceDropdownOpenRecordInComponents.tsx@@ -9,7 +9,7 @@ import { useSetAtomState } from '@/ui/utilities/state/jotai/hooks/useSetAtomStatimport { useLingui } from '@lingui/react/macro';import { OpenRecordIn } from 'twenty-shared/types';import { IconCheck, IconChevronLeft } from 'twenty-ui/icon';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';export const MultiWorkspaceDropdownOpenRecordInComponents = () => {const { t } = useLingui();diff --git a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/MultiWorkspaceDropdown/internal/MultiWorkspaceDropdownThemesComponents.tsx b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/MultiWorkspaceDropdown/internal/MultiWorkspaceDropdownThemesComponents.tsxindex 4ced5eb7665..e9f179bc6b2 100644--- a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/MultiWorkspaceDropdown/internal/MultiWorkspaceDropdownThemesComponents.tsx+++ b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/MultiWorkspaceDropdown/internal/MultiWorkspaceDropdownThemesComponents.tsx@@ -7,7 +7,7 @@ import { useColorScheme } from '@/ui/theme/hooks/useColorScheme';import { useSetAtomState } from '@/ui/utilities/state/jotai/hooks/useSetAtomState';import { useLingui } from '@lingui/react/macro';import { IconCheck, IconChevronLeft } from 'twenty-ui/icon';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';export const MultiWorkspaceDropdownThemesComponents = () => {const { t } = useLingui();diff --git a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/MultiWorkspaceDropdown/internal/components/AvailableWorkspaceItem.tsx b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/MultiWorkspaceDropdown/internal/components/AvailableWorkspaceItem.tsxindex a226d1b5260..536fb7844ec 100644--- a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/MultiWorkspaceDropdown/internal/components/AvailableWorkspaceItem.tsx+++ b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/MultiWorkspaceDropdown/internal/components/AvailableWorkspaceItem.tsx@@ -1,5 +1,8 @@-import { Avatar } from 'twenty-ui/data-display';-import { MenuItemSelectAvatar, UndecoratedLink } from 'twenty-ui/navigation';+import { Avatar } from 'twenty-ui/primitives/data-display';+import {+ MenuItemSelectAvatar,+ UndecoratedLink,+} from 'twenty-ui/primitives/navigation';import { DEFAULT_WORKSPACE_LOGO } from '@/ui/navigation/navigation-drawer/constants/DefaultWorkspaceLogo';import { type AvailableWorkspace } from '~/generated-metadata/graphql';import { useRedirectToWorkspaceDomain } from '@/domain-manager/hooks/useRedirectToWorkspaceDomain';diff --git a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerCollapseButton.tsx b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerCollapseButton.tsxindex 234d2777e63..44126e82028 100644--- a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerCollapseButton.tsx+++ b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerCollapseButton.tsx@@ -4,8 +4,12 @@ import { useToggleNavigationDrawer } from '@/navigation/hooks/useToggleNavigatioimport { useIsMobile } from '@/ui/utilities/responsive/hooks/useIsMobile';import { styled } from '@linaria/react';import { useId } from 'react';-import { LightIconButton } from 'twenty-ui/input';-import { AppTooltip, TooltipDelay, TooltipPosition } from 'twenty-ui/surfaces';+import { LightIconButton } from 'twenty-ui/primitives/input';+import {+ AppTooltip,+ TooltipDelay,+ TooltipPosition,+} from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledCollapseButton = styled.div`diff --git a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerHeader.tsx b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerHeader.tsxindex 37584027597..9ab70952db3 100644--- a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerHeader.tsx+++ b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerHeader.tsx@@ -1,7 +1,7 @@import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';import { IconSearch } from 'twenty-ui/icon';-import { LightIconButton } from 'twenty-ui/input';+import { LightIconButton } from 'twenty-ui/primitives/input';import { MOBILE_VIEWPORT, themeCssVariables } from 'twenty-ui/theme-constants';import { useOpenRecordsSearchPageInSidePanel } from '@/side-panel/hooks/useOpenRecordsSearchPageInSidePanel';diff --git a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerItem.tsx b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerItem.tsxindex 1f61eddedc8..57e008de9cf 100644--- a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerItem.tsx+++ b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerItem.tsx@@ -13,15 +13,15 @@ import { isNonEmptyString } from '@sniptt/guards';import { type JSX, type ReactNode, useContext } from 'react';import { Link } from 'react-router-dom';import { isDefined } from 'twenty-shared/utils';-import { Pill, TintedIconTile } from 'twenty-ui/data-display';+import { Pill, TintedIconTile } from 'twenty-ui/primitives/data-display';import { type IconComponent, type TablerIconsProps } from 'twenty-ui/icon';import {AppTooltip,OverflowingTextWithTooltip,TooltipDelay,TooltipPosition,-} from 'twenty-ui/surfaces';-import { Label } from 'twenty-ui/typography';+} from 'twenty-ui/primitives/surfaces';+import { Label } from 'twenty-ui/primitives/typography';import {MOBILE_VIEWPORT,ThemeContext,diff --git a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerSectionTitle.tsx b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerSectionTitle.tsxindex daba9b16ff9..a18b6cefd07 100644--- a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerSectionTitle.tsx+++ b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerSectionTitle.tsx@@ -6,7 +6,7 @@ import { motion } from 'framer-motion';import React, { useContext } from 'react';import { isDefined } from 'twenty-shared/utils';import { IconChevronRight } from 'twenty-ui/icon';-import { Label } from 'twenty-ui/typography';+import { Label } from 'twenty-ui/primitives/typography';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';const StyledTitle = styled.div`diff --git a/packages/twenty-front/src/modules/ui/navigation/step-bar/components/Step.tsx b/packages/twenty-front/src/modules/ui/navigation/step-bar/components/Step.tsxindex e5d82d1d6bb..af9fceb117d 100644--- a/packages/twenty-front/src/modules/ui/navigation/step-bar/components/Step.tsx+++ b/packages/twenty-front/src/modules/ui/navigation/step-bar/components/Step.tsx@@ -3,7 +3,7 @@ import { motion } from 'framer-motion';import { useContext } from 'react';import { useIsMobile } from '@/ui/utilities/responsive/hooks/useIsMobile';-import { AnimatedCheckmark } from 'twenty-ui/data-display';+import { AnimatedCheckmark } from 'twenty-ui/primitives/data-display';import {MOBILE_VIEWPORT,ThemeContext,diff --git a/packages/twenty-front/src/modules/ui/suggestion/components/SuggestionMenu.tsx b/packages/twenty-front/src/modules/ui/suggestion/components/SuggestionMenu.tsxindex c6660d426fa..e2866f6a81d 100644--- a/packages/twenty-front/src/modules/ui/suggestion/components/SuggestionMenu.tsx+++ b/packages/twenty-front/src/modules/ui/suggestion/components/SuggestionMenu.tsx@@ -23,7 +23,7 @@ import { OverlayContainer } from '@/ui/layout/overlay/components/OverlayContaineimport type { SuggestionMenuProps } from '@/ui/suggestion/types/SuggestionMenuProps';import { getSuggestionMenuItemAnchorId } from '@/ui/suggestion/utils/getSuggestionMenuItemAnchorId';import { useIsMobile } from '@/ui/utilities/responsive/hooks/useIsMobile';-import { AppTooltip, TooltipDelay } from 'twenty-ui/surfaces';+import { AppTooltip, TooltipDelay } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';// The preview card brings its own surface, so the tooltip only contributesdiff --git a/packages/twenty-front/src/modules/ui/theme/components/BaseThemeProvider.tsx b/packages/twenty-front/src/modules/ui/theme/components/BaseThemeProvider.tsxindex a7aa64d128d..6051292d4c9 100644--- a/packages/twenty-front/src/modules/ui/theme/components/BaseThemeProvider.tsx+++ b/packages/twenty-front/src/modules/ui/theme/components/BaseThemeProvider.tsx@@ -6,7 +6,7 @@ import { persistedColorSchemeState } from '@/ui/theme/states/persistedColorSchemimport { persistedUiScaleStepState } from '@/ui/theme/states/persistedUiScaleStepState';import { useAtomState } from '@/ui/utilities/state/jotai/hooks/useAtomState';import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';-import { type ColorScheme } from 'twenty-ui/input';+import { type ColorScheme } from 'twenty-ui/primitives/input';import { ThemeProvider } from 'twenty-ui/theme-constants';type BaseThemeProviderProps = {diff --git a/packages/twenty-front/src/modules/users/hooks/useLoadCurrentUser.ts b/packages/twenty-front/src/modules/users/hooks/useLoadCurrentUser.tsindex 8ef4f460bac..6494a99958d 100644--- a/packages/twenty-front/src/modules/users/hooks/useLoadCurrentUser.ts+++ b/packages/twenty-front/src/modules/users/hooks/useLoadCurrentUser.ts@@ -16,7 +16,7 @@ import { SOURCE_LOCALE, type APP_LOCALES } from 'twenty-shared/translations';import { type ObjectPermissions } from 'twenty-shared/types';import { isDefined } from 'twenty-shared/utils';import { toOpenRecordInPreference } from '@/workspace-member/utils/toOpenRecordInPreference';-import { type ColorScheme } from 'twenty-ui/input';+import { type ColorScheme } from 'twenty-ui/primitives/input';import { useApolloClient } from '@apollo/client/react';import { GetCurrentUserDocument } from '~/generated-metadata/graphql';import { getWorkspaceUrl } from '~/utils/getWorkspaceUrl';diff --git a/packages/twenty-front/src/modules/views/components/UpdateViewButtonGroup.tsx b/packages/twenty-front/src/modules/views/components/UpdateViewButtonGroup.tsxindex 89ff3219a4d..714fa149dab 100644--- a/packages/twenty-front/src/modules/views/components/UpdateViewButtonGroup.tsx+++ b/packages/twenty-front/src/modules/views/components/UpdateViewButtonGroup.tsx@@ -23,8 +23,8 @@ import { useViewPickerMode } from '@/views/view-picker/hooks/useViewPickerMode';import { viewPickerReferenceViewIdComponentState } from '@/views/view-picker/states/viewPickerReferenceViewIdComponentState';import { t } from '@lingui/core/macro';import { IconChevronDown, IconPlus } from 'twenty-ui/icon';-import { Button, ButtonGroup, IconButton } from 'twenty-ui/input';-import { MenuItem } from 'twenty-ui/navigation';+import { Button, ButtonGroup, IconButton } from 'twenty-ui/primitives/input';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledContainer = styled.div`diff --git a/packages/twenty-front/src/modules/views/components/ViewBarDetails.tsx b/packages/twenty-front/src/modules/views/components/ViewBarDetails.tsxindex d92c4a14216..5289572db90 100644--- a/packages/twenty-front/src/modules/views/components/ViewBarDetails.tsx+++ b/packages/twenty-front/src/modules/views/components/ViewBarDetails.tsx@@ -36,7 +36,7 @@ import { isViewBarExpandedComponentState } from '@/views/states/isViewBarExpandeimport { t } from '@lingui/core/macro';import { isNonEmptyArray, isNonEmptyString } from '@sniptt/guards';import { isDefined } from 'twenty-shared/utils';-import { LightButton } from 'twenty-ui/input';+import { LightButton } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';export type ViewBarDetailsProps = {diff --git a/packages/twenty-front/src/modules/views/components/ViewBarDetailsAddFilterButton.tsx b/packages/twenty-front/src/modules/views/components/ViewBarDetailsAddFilterButton.tsxindex 99ffef63cc9..9505c01b7d9 100644--- a/packages/twenty-front/src/modules/views/components/ViewBarDetailsAddFilterButton.tsx+++ b/packages/twenty-front/src/modules/views/components/ViewBarDetailsAddFilterButton.tsx@@ -5,7 +5,7 @@ import { useResetFilterDropdown } from '@/object-record/object-filter-dropdown/himport { useToggleDropdown } from '@/ui/layout/dropdown/hooks/useToggleDropdown';import { t } from '@lingui/core/macro';import { IconPlus } from 'twenty-ui/icon';-import { LightButton } from 'twenty-ui/input';+import { LightButton } from 'twenty-ui/primitives/input';export const ViewBarDetailsAddFilterButton = () => {const { toggleDropdown } = useToggleDropdown();diff --git a/packages/twenty-front/src/modules/views/components/ViewBarFilterDropdownAdvancedFilterButton.tsx b/packages/twenty-front/src/modules/views/components/ViewBarFilterDropdownAdvancedFilterButton.tsxindex d9bd2d7957e..6569d0bfafb 100644--- a/packages/twenty-front/src/modules/views/components/ViewBarFilterDropdownAdvancedFilterButton.tsx+++ b/packages/twenty-front/src/modules/views/components/ViewBarFilterDropdownAdvancedFilterButton.tsx@@ -24,9 +24,9 @@ import { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';import { RecordFilterGroupLogicalOperator } from 'twenty-shared/types';import { isDefined } from 'twenty-shared/utils';-import { Pill } from 'twenty-ui/data-display';+import { Pill } from 'twenty-ui/primitives/data-display';import { IconFilter } from 'twenty-ui/icon';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { themeCssVariables } from 'twenty-ui/theme-constants';import { v4 } from 'uuid';diff --git a/packages/twenty-front/src/modules/views/components/ViewBarFilterDropdownAnyFieldSearchButtonMenuItem.tsx b/packages/twenty-front/src/modules/views/components/ViewBarFilterDropdownAnyFieldSearchButtonMenuItem.tsxindex dda1ef15c12..853e5b8e0e9 100644--- a/packages/twenty-front/src/modules/views/components/ViewBarFilterDropdownAnyFieldSearchButtonMenuItem.tsx+++ b/packages/twenty-front/src/modules/views/components/ViewBarFilterDropdownAnyFieldSearchButtonMenuItem.tsx@@ -5,7 +5,7 @@ import { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useimport { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';import { IconSearch } from 'twenty-ui/icon';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { themeCssVariables } from 'twenty-ui/theme-constants';import { VIEW_BAR_FILTER_BOTTOM_MENU_ITEM_IDS } from '@/views/constants/ViewBarFilterBottomMenuItemIds';diff --git a/packages/twenty-front/src/modules/views/components/ViewBarFilterDropdownFieldSelectMenuItem.tsx b/packages/twenty-front/src/modules/views/components/ViewBarFilterDropdownFieldSelectMenuItem.tsxindex 8ba6b787dda..3704aa4df79 100644--- a/packages/twenty-front/src/modules/views/components/ViewBarFilterDropdownFieldSelectMenuItem.tsx+++ b/packages/twenty-front/src/modules/views/components/ViewBarFilterDropdownFieldSelectMenuItem.tsx@@ -5,7 +5,7 @@ import { isSelectedItemIdComponentFamilyState } from '@/ui/layout/selectable-lisimport { useAtomComponentFamilyStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentFamilyStateValue';import { useInitializeFilterOnFieldMetadataItemFromViewBarFilterDropdown } from '@/views/hooks/useInitializeFilterOnFieldMetadataItemFromViewBarFilterDropdown';import { useIcons } from 'twenty-ui/icon';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';export type ViewBarFilterDropdownFieldSelectMenuItemProps = {fieldMetadataItemToSelect: FieldMetadataItem;diff --git a/packages/twenty-front/src/modules/views/components/ViewFieldsHiddenDropdownSection.tsx b/packages/twenty-front/src/modules/views/components/ViewFieldsHiddenDropdownSection.tsxindex 95c22ce7f51..294907896f5 100644--- a/packages/twenty-front/src/modules/views/components/ViewFieldsHiddenDropdownSection.tsx+++ b/packages/twenty-front/src/modules/views/components/ViewFieldsHiddenDropdownSection.tsx@@ -8,7 +8,7 @@ import { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useimport { ViewType } from '@/views/types/ViewType';import { useContext } from 'react';import { IconEye, useIcons } from 'twenty-ui/icon';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';export const ViewFieldsHiddenDropdownSection = () => {const { viewType, objectMetadataItem, recordIndexId } = useContext(diff --git a/packages/twenty-front/src/modules/views/components/ViewFieldsSearchDropdownSection.tsx b/packages/twenty-front/src/modules/views/components/ViewFieldsSearchDropdownSection.tsxindex 7409b2221bb..b1fce37457c 100644--- a/packages/twenty-front/src/modules/views/components/ViewFieldsSearchDropdownSection.tsx+++ b/packages/twenty-front/src/modules/views/components/ViewFieldsSearchDropdownSection.tsx@@ -10,7 +10,7 @@ import { ViewType } from '@/views/types/ViewType';import { useLingui } from '@lingui/react/macro';import { useContext } from 'react';import { IconEye, IconEyeOff, useIcons } from 'twenty-ui/icon';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';type ViewFieldsSearchDropdownSectionProps = {searchInput: string;diff --git a/packages/twenty-front/src/modules/views/components/ViewFieldsVisibleDropdownSection.tsx b/packages/twenty-front/src/modules/views/components/ViewFieldsVisibleDropdownSection.tsxindex c2cd6bbd319..de6c17725ec 100644--- a/packages/twenty-front/src/modules/views/components/ViewFieldsVisibleDropdownSection.tsx+++ b/packages/twenty-front/src/modules/views/components/ViewFieldsVisibleDropdownSection.tsx@@ -15,7 +15,7 @@ import { ViewType } from '@/views/types/ViewType';import { useContext } from 'react';import { isDefined } from 'twenty-shared/utils';import { IconEyeOff, useIcons } from 'twenty-ui/icon';-import { MenuItemDraggable } from 'twenty-ui/navigation';+import { MenuItemDraggable } from 'twenty-ui/primitives/navigation';import { sortByProperty } from '~/utils/array/sortByProperty';export const ViewFieldsVisibleDropdownSection = () => {diff --git a/packages/twenty-front/src/modules/views/editable-chip/components/EditableSortChip.tsx b/packages/twenty-front/src/modules/views/editable-chip/components/EditableSortChip.tsxindex 9d9709c6d04..02bd3e29d3a 100644--- a/packages/twenty-front/src/modules/views/editable-chip/components/EditableSortChip.tsx+++ b/packages/twenty-front/src/modules/views/editable-chip/components/EditableSortChip.tsx@@ -12,7 +12,7 @@ import { SortOrFilterChip } from '@/views/components/SortOrFilterChip';import { useLingui } from '@lingui/react/macro';import { isDefined } from 'twenty-shared/utils';import { IconArrowDown, IconArrowUp } from 'twenty-ui/icon';-import { MenuItemSelect } from 'twenty-ui/navigation';+import { MenuItemSelect } from 'twenty-ui/primitives/navigation';import { ViewSortDirection } from '~/generated-metadata/graphql';type EditableSortChipProps = {diff --git a/packages/twenty-front/src/modules/views/view-picker/components/ViewPickerCreateButton.tsx b/packages/twenty-front/src/modules/views/view-picker/components/ViewPickerCreateButton.tsxindex dd5fd37c8ed..c1af1e8c389 100644--- a/packages/twenty-front/src/modules/views/view-picker/components/ViewPickerCreateButton.tsx+++ b/packages/twenty-front/src/modules/views/view-picker/components/ViewPickerCreateButton.tsx@@ -10,7 +10,7 @@ import { viewPickerIsPersistingComponentState } from '@/views/view-picker/statesimport { viewPickerMainGroupByFieldMetadataIdComponentState } from '@/views/view-picker/states/viewPickerMainGroupByFieldMetadataIdComponentState';import { viewPickerTypeComponentState } from '@/views/view-picker/states/viewPickerTypeComponentState';import { useLingui } from '@lingui/react/macro';-import { Button } from 'twenty-ui/input';+import { Button } from 'twenty-ui/primitives/input';export const ViewPickerCreateButton = () => {const { t } = useLingui();diff --git a/packages/twenty-front/src/modules/views/view-picker/components/ViewPickerDropdown.tsx b/packages/twenty-front/src/modules/views/view-picker/components/ViewPickerDropdown.tsxindex f9a76a8c9fd..6f7e5f12437 100644--- a/packages/twenty-front/src/modules/views/view-picker/components/ViewPickerDropdown.tsx+++ b/packages/twenty-front/src/modules/views/view-picker/components/ViewPickerDropdown.tsx@@ -17,7 +17,7 @@ import { useUpdateViewFromCurrentState } from '@/views/view-picker/hooks/useUpdaimport { useViewPickerMode } from '@/views/view-picker/hooks/useViewPickerMode';import { isDefined } from 'twenty-shared/utils';import { IconChevronDown, IconList, useIcons } from 'twenty-ui/icon';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';import { useContext } from 'react';import {MOBILE_VIEWPORT,diff --git a/packages/twenty-front/src/modules/views/view-picker/components/ViewPickerEditButton.tsx b/packages/twenty-front/src/modules/views/view-picker/components/ViewPickerEditButton.tsxindex e50f00ebd2e..a872f12bd2b 100644--- a/packages/twenty-front/src/modules/views/view-picker/components/ViewPickerEditButton.tsx+++ b/packages/twenty-front/src/modules/views/view-picker/components/ViewPickerEditButton.tsx@@ -11,7 +11,7 @@ import { viewPickerIsPersistingComponentState } from '@/views/view-picker/statesimport { viewPickerMainGroupByFieldMetadataIdComponentState } from '@/views/view-picker/states/viewPickerMainGroupByFieldMetadataIdComponentState';import { viewPickerTypeComponentState } from '@/views/view-picker/states/viewPickerTypeComponentState';import { t } from '@lingui/core/macro';-import { Button } from 'twenty-ui/input';+import { Button } from 'twenty-ui/primitives/input';export const ViewPickerEditButton = () => {const { availableFieldsForGrouping, navigateToSelectSettings } =diff --git a/packages/twenty-front/src/modules/views/view-picker/components/ViewPickerListContent.tsx b/packages/twenty-front/src/modules/views/view-picker/components/ViewPickerListContent.tsxindex c50d84a7e79..544a962b2eb 100644--- a/packages/twenty-front/src/modules/views/view-picker/components/ViewPickerListContent.tsx+++ b/packages/twenty-front/src/modules/views/view-picker/components/ViewPickerListContent.tsx@@ -22,7 +22,7 @@ import { useViewPickerMode } from '@/views/view-picker/hooks/useViewPickerMode';import { viewPickerReferenceViewIdComponentState } from '@/views/view-picker/states/viewPickerReferenceViewIdComponentState';import { useLingui } from '@lingui/react/macro';import { IconPlus } from 'twenty-ui/icon';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { themeCssVariables } from 'twenty-ui/theme-constants';import { ViewVisibility } from '~/generated-metadata/graphql';import { moveArrayItem } from '~/utils/array/moveArrayItem';diff --git a/packages/twenty-front/src/modules/views/view-picker/components/ViewPickerOptionDropdown.tsx b/packages/twenty-front/src/modules/views/view-picker/components/ViewPickerOptionDropdown.tsxindex 50f1ca2d749..ae112a80182 100644--- a/packages/twenty-front/src/modules/views/view-picker/components/ViewPickerOptionDropdown.tsx+++ b/packages/twenty-front/src/modules/views/view-picker/components/ViewPickerOptionDropdown.tsx@@ -22,7 +22,7 @@ import {IconTrash,useIcons,} from 'twenty-ui/icon';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';import {PermissionFlagType,ViewVisibility,diff --git a/packages/twenty-front/src/modules/workflow/components/WorkflowStepExecutionResult.tsx b/packages/twenty-front/src/modules/workflow/components/WorkflowStepExecutionResult.tsxindex 5b46d704346..8bf02e46073 100644--- a/packages/twenty-front/src/modules/workflow/components/WorkflowStepExecutionResult.tsx+++ b/packages/twenty-front/src/modules/workflow/components/WorkflowStepExecutionResult.tsx@@ -6,8 +6,8 @@ import {IconSquareRoundedCheck,IconSquareRoundedX,} from 'twenty-ui/icon';-import { CodeEditor, CoreEditorHeader } from 'twenty-ui/input';-import { AnimatedCircleLoading } from 'twenty-ui/layout';+import { CodeEditor, CoreEditorHeader } from 'twenty-ui/primitives/input';+import { AnimatedCircleLoading } from 'twenty-ui/primitives/layout';import { themeCssVariables, ThemeContext } from 'twenty-ui/theme-constants';import { useContext } from 'react';const StyledContainer = styled.div`diff --git a/packages/twenty-front/src/modules/workflow/workflow-diagram/components/WorkflowDiagramCanvasBase.tsx b/packages/twenty-front/src/modules/workflow/workflow-diagram/components/WorkflowDiagramCanvasBase.tsxindex e30a72de0c9..a1411ec9184 100644--- a/packages/twenty-front/src/modules/workflow/workflow-diagram/components/WorkflowDiagramCanvasBase.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-diagram/components/WorkflowDiagramCanvasBase.tsx@@ -69,7 +69,7 @@ import React, {} from 'react';import { isDefined } from 'twenty-shared/utils';import { WORKFLOW_DIAGRAM_DEFAULT_NODE_DIMENSIONS } from 'twenty-shared/workflow';-import { Tag, type TagColor } from 'twenty-ui/data-display';+import { Tag, type TagColor } from 'twenty-ui/primitives/data-display';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';const StyledResetReactflowStyles = styled.div`--xy-node-background-color: none;diff --git a/packages/twenty-front/src/modules/workflow/workflow-diagram/components/WorkflowDiagramCreateStepElement.tsx b/packages/twenty-front/src/modules/workflow/workflow-diagram/components/WorkflowDiagramCreateStepElement.tsxindex c158bbbde71..0bef2d0ecfa 100644--- a/packages/twenty-front/src/modules/workflow/workflow-diagram/components/WorkflowDiagramCreateStepElement.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-diagram/components/WorkflowDiagramCreateStepElement.tsx@@ -6,7 +6,7 @@ import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';import { isDefined } from 'twenty-shared/utils';import { IconPlus } from 'twenty-ui/icon';-import { IconButton } from 'twenty-ui/input';+import { IconButton } from 'twenty-ui/primitives/input';const StyledContainer = styled.div`align-items: center;diff --git a/packages/twenty-front/src/modules/workflow/workflow-diagram/components/WorkflowDiagramRightClickCommandMenu.tsx b/packages/twenty-front/src/modules/workflow/workflow-diagram/components/WorkflowDiagramRightClickCommandMenu.tsxindex 61370247263..48e39eb932f 100644--- a/packages/twenty-front/src/modules/workflow/workflow-diagram/components/WorkflowDiagramRightClickCommandMenu.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-diagram/components/WorkflowDiagramRightClickCommandMenu.tsx@@ -9,7 +9,7 @@ import { useLingui } from '@lingui/react/macro';import { useRef } from 'react';import { isDefined } from 'twenty-shared/utils';import { IconPlus, IconReorder } from 'twenty-ui/icon';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { WorkflowDiagramRightClickCommandMenuClickOutsideEffect } from './WorkflowDiagramRightClickCommandMenuClickOutsideEffect';import { themeCssVariables } from 'twenty-ui/theme-constants';diff --git a/packages/twenty-front/src/modules/workflow/workflow-diagram/utils/getWorkflowRunStatusTagProps.ts b/packages/twenty-front/src/modules/workflow/workflow-diagram/utils/getWorkflowRunStatusTagProps.tsindex db4db5adc55..9096d414f0d 100644--- a/packages/twenty-front/src/modules/workflow/workflow-diagram/utils/getWorkflowRunStatusTagProps.ts+++ b/packages/twenty-front/src/modules/workflow/workflow-diagram/utils/getWorkflowRunStatusTagProps.ts@@ -1,5 +1,5 @@import { type WorkflowRunStatus } from '@/workflow/types/Workflow';-import { type TagColor } from 'twenty-ui/data-display';+import { type TagColor } from 'twenty-ui/primitives/data-display';export const getWorkflowRunStatusTagProps = ({workflowRunStatus,diff --git a/packages/twenty-front/src/modules/workflow/workflow-diagram/utils/getWorkflowVersionStatusTagProps.ts b/packages/twenty-front/src/modules/workflow/workflow-diagram/utils/getWorkflowVersionStatusTagProps.tsindex fa18b8c2a8c..bd46b95eef5 100644--- a/packages/twenty-front/src/modules/workflow/workflow-diagram/utils/getWorkflowVersionStatusTagProps.ts+++ b/packages/twenty-front/src/modules/workflow/workflow-diagram/utils/getWorkflowVersionStatusTagProps.ts@@ -1,5 +1,5 @@import { type WorkflowVersionStatus } from '@/workflow/types/Workflow';-import { type TagColor } from 'twenty-ui/data-display';+import { type TagColor } from 'twenty-ui/primitives/data-display';export const getWorkflowVersionStatusTagProps = ({workflowVersionStatus,diff --git a/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-edges/components/WorkflowDiagramEdgeButtonGroup.tsx b/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-edges/components/WorkflowDiagramEdgeButtonGroup.tsxindex 8532f6dc013..3b1a4d76085 100644--- a/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-edges/components/WorkflowDiagramEdgeButtonGroup.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-edges/components/WorkflowDiagramEdgeButtonGroup.tsx@@ -1,5 +1,8 @@import { styled } from '@linaria/react';-import { IconButtonGroup, type IconButtonGroupProps } from 'twenty-ui/input';+import {+ IconButtonGroup,+ type IconButtonGroupProps,+} from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledIconButtonGroupContainer = styled.div`diff --git a/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-edges/components/WorkflowDiagramEdgeLabel.tsx b/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-edges/components/WorkflowDiagramEdgeLabel.tsxindex 6da0513f262..b2d5973acfd 100644--- a/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-edges/components/WorkflowDiagramEdgeLabel.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-edges/components/WorkflowDiagramEdgeLabel.tsx@@ -1,6 +1,6 @@import { styled } from '@linaria/react';import { isDefined } from 'twenty-shared/utils';-import { Label } from 'twenty-ui/typography';+import { Label } from 'twenty-ui/primitives/typography';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledContainer = styled.div`diff --git a/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-nodes/components/WorkflowDiagramStepNodeOptionsDropdown.tsx b/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-nodes/components/WorkflowDiagramStepNodeOptionsDropdown.tsxindex fd3f915182a..0dbe240a147 100644--- a/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-nodes/components/WorkflowDiagramStepNodeOptionsDropdown.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-nodes/components/WorkflowDiagramStepNodeOptionsDropdown.tsx@@ -11,7 +11,7 @@ import { useLingui } from '@lingui/react/macro';import { useId } from 'react';import { isDefined } from 'twenty-shared/utils';import { IconDotsVertical } from 'twenty-ui/icon';-import { FloatingIconButton } from 'twenty-ui/input';+import { FloatingIconButton } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledOptionsButtonContainer = styled.div`diff --git a/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-nodes/components/WorkflowNodeLabel.tsx b/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-nodes/components/WorkflowNodeLabel.tsxindex e699963443d..a1d7270b1d0 100644--- a/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-nodes/components/WorkflowNodeLabel.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-nodes/components/WorkflowNodeLabel.tsx@@ -1,7 +1,7 @@import type { WorkflowRunStepStatus } from '@/workflow/types/Workflow';import { getWorkflowDiagramColors } from '@/workflow/workflow-diagram/utils/getWorkflowDiagramColors';import { styled } from '@linaria/react';-import { Label } from 'twenty-ui/typography';+import { Label } from 'twenty-ui/primitives/typography';type WorkflowNodeLabelProps = {runStatus?: WorkflowRunStepStatus;diff --git a/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-nodes/components/WorkflowRunDiagramStepNode.tsx b/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-nodes/components/WorkflowRunDiagramStepNode.tsxindex e109565ffca..fe3242e079b 100644--- a/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-nodes/components/WorkflowRunDiagramStepNode.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-diagram/workflow-nodes/components/WorkflowRunDiagramStepNode.tsx@@ -30,7 +30,7 @@ import { useContext } from 'react';import { isDefined } from 'twenty-shared/utils';import { StepStatus } from 'twenty-shared/workflow';import { IconCheck, IconX, useIcons } from 'twenty-ui/icon';-import { Loader } from 'twenty-ui/feedback';+import { Loader } from 'twenty-ui/primitives/feedback';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledNodeLabelWithCounterPart = styled.div`diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/components/WorkflowDropdownStepOutputItems.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/components/WorkflowDropdownStepOutputItems.tsxindex 8a3f43e152e..574707ad3dc 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/components/WorkflowDropdownStepOutputItems.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/components/WorkflowDropdownStepOutputItems.tsx@@ -22,8 +22,8 @@ import { useLingui } from '@lingui/react/macro';import { type StepFilter } from 'twenty-shared/types';import { isDefined } from 'twenty-shared/utils';import { IconChevronLeft, useIcons } from 'twenty-ui/icon';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';-import { MenuItemSelect } from 'twenty-ui/navigation';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';+import { MenuItemSelect } from 'twenty-ui/primitives/navigation';type WorkflowDropdownStepOutputItemsProps = {stepFilter: StepFilter;diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/components/WorkflowRunStepInputDetail.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/components/WorkflowRunStepInputDetail.tsxindex d2d3acefae6..0e618015ed4 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/components/WorkflowRunStepInputDetail.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/components/WorkflowRunStepInputDetail.tsx@@ -15,7 +15,7 @@ import {JsonNestedNode,JsonTreeContextProvider,type ShouldExpandNodeInitiallyProps,-} from 'twenty-ui/json-visualizer';+} from 'twenty-ui/primitives/json-visualizer';import { type JsonValue } from 'type-fest';import { useCopyToClipboard } from '~/hooks/useCopyToClipboard';diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/components/WorkflowRunStepOutputDetail.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/components/WorkflowRunStepOutputDetail.tsxindex 83bbed9e68e..4583a2ab18d 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/components/WorkflowRunStepOutputDetail.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/components/WorkflowRunStepOutputDetail.tsx@@ -10,7 +10,7 @@ import {type GetJsonNodeHighlighting,isTwoFirstDepths,JsonTree,-} from 'twenty-ui/json-visualizer';+} from 'twenty-ui/primitives/json-visualizer';import { useCopyToClipboard } from '~/hooks/useCopyToClipboard';export const WorkflowRunStepOutputDetail = ({ stepId }: { stepId: string }) => {diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/components/WorkflowStepCmdEnterButton.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/components/WorkflowStepCmdEnterButton.tsxindex ec265f106a4..dcd73f0d29c 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/components/WorkflowStepCmdEnterButton.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/components/WorkflowStepCmdEnterButton.tsx@@ -1,7 +1,7 @@import { SIDE_PANEL_FOCUS_ID } from '@/side-panel/constants/SidePanelFocusId';import { useHotkeysOnFocusedElement } from '@/ui/utilities/hotkey/hooks/useHotkeysOnFocusedElement';import { Key } from 'ts-key-enum';-import { Button } from 'twenty-ui/input';+import { Button } from 'twenty-ui/primitives/input';import { getOsControlSymbol } from 'twenty-ui/utilities';export const WorkflowStepCmdEnterButton = ({diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/components/WorkflowStepFooter.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/components/WorkflowStepFooter.tsxindex 9354ac2be43..8f2082b4b88 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/components/WorkflowStepFooter.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/components/WorkflowStepFooter.tsx@@ -18,8 +18,8 @@ import { SettingsPath } from 'twenty-shared/types';import { isDefined } from 'twenty-shared/utils';import { TRIGGER_STEP_ID } from 'twenty-shared/workflow';import { IconLego, IconSettings, IconTrash, IconUsers } from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';-import { MenuItem } from 'twenty-ui/navigation';+import { Button } from 'twenty-ui/primitives/input';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { useNavigateSettings } from '~/hooks/useNavigateSettings';export const WorkflowStepFooter = ({diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/components/WorkflowStepOptionsMenuItems.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/components/WorkflowStepOptionsMenuItems.tsxindex 6444b091f29..bbe8dd700a5 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/components/WorkflowStepOptionsMenuItems.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/components/WorkflowStepOptionsMenuItems.tsx@@ -4,7 +4,7 @@ import { useLingui } from '@lingui/react/macro';import { type ReactNode } from 'react';import { isDefined } from 'twenty-shared/utils';import { IconCopyPlus, IconPencil, IconTrash } from 'twenty-ui/icon';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';type WorkflowStepOptionsMenuItemsProps = {selectedItemId: string | null;diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/filters/components/WorkflowStepFilterAddFilterRuleSelect.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/filters/components/WorkflowStepFilterAddFilterRuleSelect.tsxindex a26e3ef0939..88ef20fc5fc 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/filters/components/WorkflowStepFilterAddFilterRuleSelect.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/filters/components/WorkflowStepFilterAddFilterRuleSelect.tsx@@ -12,7 +12,7 @@ import { StepLogicalOperator, type StepFilterGroup } from 'twenty-shared/types';import { isDefined } from 'twenty-shared/utils';import { t } from '@lingui/core/macro';import { IconLibraryPlus, IconPlus } from 'twenty-ui/icon';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { v4 } from 'uuid';type WorkflowStepFilterAddFilterRuleSelectProps = {diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/filters/components/WorkflowStepFilterAddRootStepFilterButton.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/filters/components/WorkflowStepFilterAddRootStepFilterButton.tsxindex 795c1ed9632..7bfd8567e34 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/filters/components/WorkflowStepFilterAddRootStepFilterButton.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/filters/components/WorkflowStepFilterAddRootStepFilterButton.tsx@@ -4,7 +4,7 @@ import { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';import { useContext } from 'react';import { IconFilter } from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';+import { Button } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledButtonContainer = styled.div`diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/filters/components/WorkflowStepFilterBuilder.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/filters/components/WorkflowStepFilterBuilder.tsxindex e61a8eaefb0..7705e93be31 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/filters/components/WorkflowStepFilterBuilder.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/filters/components/WorkflowStepFilterBuilder.tsx@@ -1,4 +1,4 @@-import { InputLabel } from 'twenty-ui/input';+import { InputLabel } from 'twenty-ui/primitives/input';import { useAtomComponentSelectorValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentSelectorValue';import { WorkflowEditActionFilterBodyEffect } from '@/workflow/workflow-steps/filters/components/WorkflowEditActionFilterBodyEffect';import { WorkflowStepFilterAddFilterRuleSelect } from '@/workflow/workflow-steps/filters/components/WorkflowStepFilterAddFilterRuleSelect';diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/filters/components/WorkflowStepFilterFieldSelect.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/filters/components/WorkflowStepFilterFieldSelect.tsxindex 7a46a899c7e..82eca64914d 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/filters/components/WorkflowStepFilterFieldSelect.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/filters/components/WorkflowStepFilterFieldSelect.tsx@@ -26,7 +26,7 @@ import {TRIGGER_STEP_ID,} from 'twenty-shared/workflow';import { useIcons } from 'twenty-ui/icon';-import { InputHint } from 'twenty-ui/input';+import { InputHint } from 'twenty-ui/primitives/input';import { FieldMetadataType } from '~/generated-metadata/graphql';type WorkflowStepFilterFieldSelectProps = {diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/filters/components/WorkflowStepFilterGroupOptionsDropdown.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/filters/components/WorkflowStepFilterGroupOptionsDropdown.tsxindex ffc289589e2..74e909b904d 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/filters/components/WorkflowStepFilterGroupOptionsDropdown.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/filters/components/WorkflowStepFilterGroupOptionsDropdown.tsx@@ -7,8 +7,8 @@ import { WorkflowStepFilterContext } from '@/workflow/workflow-steps/filters/staimport { useContext } from 'react';import { t } from '@lingui/core/macro';import { IconDotsVertical, IconTrash } from 'twenty-ui/icon';-import { IconButton } from 'twenty-ui/input';-import { MenuItem } from 'twenty-ui/navigation';+import { IconButton } from 'twenty-ui/primitives/input';+import { MenuItem } from 'twenty-ui/primitives/navigation';type WorkflowStepFilterGroupOptionsDropdownProps = {stepFilterGroupId: string;diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/filters/components/WorkflowStepFilterOptionsDropdown.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/filters/components/WorkflowStepFilterOptionsDropdown.tsxindex 8ffc3e5014f..679aad5cbaf 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/filters/components/WorkflowStepFilterOptionsDropdown.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/filters/components/WorkflowStepFilterOptionsDropdown.tsx@@ -7,8 +7,8 @@ import { WorkflowStepFilterContext } from '@/workflow/workflow-steps/filters/staimport { useContext } from 'react';import { t } from '@lingui/core/macro';import { IconDotsVertical, IconTrash } from 'twenty-ui/icon';-import { IconButton } from 'twenty-ui/input';-import { MenuItem } from 'twenty-ui/navigation';+import { IconButton } from 'twenty-ui/primitives/input';+import { MenuItem } from 'twenty-ui/primitives/navigation';type WorkflowStepFilterOptionsDropdownProps = {stepFilterId: string;diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/filters/components/WorkflowStepFilterValueCompositeInput.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/filters/components/WorkflowStepFilterValueCompositeInput.tsxindex 4d2a1be62f0..866d2765324 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/filters/components/WorkflowStepFilterValueCompositeInput.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/filters/components/WorkflowStepFilterValueCompositeInput.tsx@@ -16,7 +16,7 @@ import {FieldActorSource,type StepFilter,} from 'twenty-shared/types';-import { type SelectOption } from 'twenty-ui/input';+import { type SelectOption } from 'twenty-ui/primitives/input';import { type JsonValue } from 'type-fest';const ACTOR_SOURCE_OPTIONS: SelectOption[] = Object.values(diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/ai-agent-action/components/WorkflowAiAgentPermissionsFlagRow.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/ai-agent-action/components/WorkflowAiAgentPermissionsFlagRow.tsxindex 662c5308ba2..8ccaff4edef 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/ai-agent-action/components/WorkflowAiAgentPermissionsFlagRow.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/ai-agent-action/components/WorkflowAiAgentPermissionsFlagRow.tsx@@ -1,6 +1,6 @@import { type SettingsRolePermissionsSettingPermission } from '@/settings/roles/role-permissions/permission-flags/types/SettingsRolePermissionsSettingPermission';import { IconTrash } from 'twenty-ui/icon';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';type WorkflowAiAgentPermissionsFlagRowProps = {permission: SettingsRolePermissionsSettingPermission;diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/ai-agent-action/components/WorkflowAiAgentPermissionsObjectRow.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/ai-agent-action/components/WorkflowAiAgentPermissionsObjectRow.tsxindex e9b79d8e51a..a4b2ca0b92c 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/ai-agent-action/components/WorkflowAiAgentPermissionsObjectRow.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/ai-agent-action/components/WorkflowAiAgentPermissionsObjectRow.tsx@@ -1,6 +1,6 @@import { ObjectMetadataIcon } from '@/object-metadata/components/ObjectMetadataIcon';import { type EnrichedObjectMetadataItem } from '@/object-metadata/types/EnrichedObjectMetadataItem';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';type WorkflowAiAgentPermissionsObjectRowProps = {objectMetadata: Pick<diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/ai-agent-action/components/WorkflowAiAgentPermissionsObjectsList.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/ai-agent-action/components/WorkflowAiAgentPermissionsObjectsList.tsxindex b4b1f3103cd..ccbab0ee355 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/ai-agent-action/components/WorkflowAiAgentPermissionsObjectsList.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/ai-agent-action/components/WorkflowAiAgentPermissionsObjectsList.tsx@@ -3,7 +3,7 @@ import { SidePanelGroup } from '@/side-panel/components/SidePanelGroup';import { t } from '@lingui/core/macro';import { isDefined } from 'twenty-shared/utils';import { IconSettings } from 'twenty-ui/icon';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { WorkflowAiAgentPermissionsObjectRow } from './WorkflowAiAgentPermissionsObjectRow';type WorkflowAiAgentPermissionsObjectsListProps = {diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/ai-agent-action/components/WorkflowAiAgentPermissionsPermissionRow.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/ai-agent-action/components/WorkflowAiAgentPermissionsPermissionRow.tsxindex b058df54e77..f37652e1a2d 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/ai-agent-action/components/WorkflowAiAgentPermissionsPermissionRow.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/ai-agent-action/components/WorkflowAiAgentPermissionsPermissionRow.tsx@@ -1,7 +1,7 @@import { PermissionIcon } from '@/settings/roles/role-permissions/objects-permissions/components/PermissionIcon';import { type SettingsRoleObjectPermissionKey } from '@/settings/roles/role-permissions/objects-permissions/constants/SettingsRoleObjectPermissionIconConfig';import { IconTrash } from 'twenty-ui/icon';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';type WorkflowAiAgentPermissionsPermissionRowProps = {permission: {diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/ai-agent-action/components/WorkflowOutputSchemaBuilder.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/ai-agent-action/components/WorkflowOutputSchemaBuilder.tsxindex 99a88be3339..a522ad20e68 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/ai-agent-action/components/WorkflowOutputSchemaBuilder.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/ai-agent-action/components/WorkflowOutputSchemaBuilder.tsx@@ -7,15 +7,15 @@ import {InputLabel,AnimatedLightIconButton,LightIconButton,-} from 'twenty-ui/input';+} from 'twenty-ui/primitives/input';import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';import { useContext, useState } from 'react';import { isNonEmptyString } from '@sniptt/guards';import { isValidAgentResponseSchemaPropertyKey } from 'twenty-shared/ai';import { IconChevronDown, IconPlus, IconVariable, IconX } from 'twenty-ui/icon';-import { AnimatedExpandableContainer } from 'twenty-ui/layout';-import { MenuItem } from 'twenty-ui/navigation';+import { AnimatedExpandableContainer } from 'twenty-ui/primitives/layout';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';import { WorkflowOutputFieldTypeSelector } from './WorkflowOutputFieldTypeSelector';type WorkflowOutputSchemaBuilderProps = {diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/ai-agent-action/components/WorkflowRunStepLogsToolCallRow.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/ai-agent-action/components/WorkflowRunStepLogsToolCallRow.tsxindex e07a78bb234..c1fb97d3118 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/ai-agent-action/components/WorkflowRunStepLogsToolCallRow.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/ai-agent-action/components/WorkflowRunStepLogsToolCallRow.tsx@@ -13,8 +13,8 @@ import {IconChevronUp,IconCircleX,} from 'twenty-ui/icon';-import { JsonTree } from 'twenty-ui/json-visualizer';-import { AnimatedExpandableContainer } from 'twenty-ui/layout';+import { JsonTree } from 'twenty-ui/primitives/json-visualizer';+import { AnimatedExpandableContainer } from 'twenty-ui/primitives/layout';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';import { isDefined } from 'twenty-shared/utils';import { useCopyToClipboard } from '~/hooks/useCopyToClipboard';diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/code-action/components/WorkflowCodeEditor.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/code-action/components/WorkflowCodeEditor.tsxindex 9aedaa1c24e..190941e8d2b 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/code-action/components/WorkflowCodeEditor.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/code-action/components/WorkflowCodeEditor.tsx@@ -4,7 +4,7 @@ import { useLingui } from '@lingui/react/macro';import { type Monaco } from '@monaco-editor/react';import { type editor } from 'monaco-editor';import { IconMaximize } from 'twenty-ui/icon';-import { CodeEditor, LightIconButton } from 'twenty-ui/input';+import { CodeEditor, LightIconButton } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';const CODE_EDITOR_MIN_HEIGHT = 343;diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/code-action/components/WorkflowEditActionCode.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/code-action/components/WorkflowEditActionCode.tsxindex 59e6d7e9bb1..aee52bd9b14 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/code-action/components/WorkflowEditActionCode.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/code-action/components/WorkflowEditActionCode.tsx@@ -10,7 +10,7 @@ import { setNestedValue } from '@/workflow/workflow-steps/workflow-actions/code-import { LogicFunctionExecutionResult } from '@/logic-functions/components/LogicFunctionExecutionResult';import { LogicFunctionLogs } from '@/logic-functions/components/LogicFunctionLogs';-import { InputLabel, CodeEditor } from 'twenty-ui/input';+import { InputLabel, CodeEditor } from 'twenty-ui/primitives/input';import { TabList } from '@/ui/layout/tab-list/components/TabList';import { activeTabIdComponentState } from '@/ui/layout/tab-list/states/activeTabIdComponentState';import { useHotkeysOnFocusedElement } from '@/ui/utilities/hotkey/hooks/useHotkeysOnFocusedElement';diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/code-action/components/WorkflowEditActionCodeFields.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/code-action/components/WorkflowEditActionCodeFields.tsxindex 9707dbcc67e..215914c32fb 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/code-action/components/WorkflowEditActionCodeFields.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/code-action/components/WorkflowEditActionCodeFields.tsx@@ -1,6 +1,6 @@import { FormNestedFieldInputContainer } from '@/object-record/record-field/ui/form-types/components/FormNestedFieldInputContainer';import { type VariablePickerComponent } from '@/object-record/record-field/ui/form-types/types/VariablePickerComponent';-import { InputLabel } from 'twenty-ui/input';+import { InputLabel } from 'twenty-ui/primitives/input';import { WorkflowEditActionCodeFieldLeaf } from '@/workflow/workflow-steps/workflow-actions/code-action/components/WorkflowEditActionCodeFieldLeaf';import { getInputSchemaPropertyAtPath } from '@/workflow/workflow-steps/workflow-actions/code-action/utils/getInputSchemaPropertyAtPath';import { getWorkflowCodeFieldsLeafKind } from '@/workflow/workflow-steps/workflow-actions/code-action/utils/getWorkflowCodeFieldsLeafKind';diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/code-action/components/WorkflowReadonlyActionCode.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/code-action/components/WorkflowReadonlyActionCode.tsxindex cf13f18afcd..5b2758d50b5 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/code-action/components/WorkflowReadonlyActionCode.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/code-action/components/WorkflowReadonlyActionCode.tsx@@ -10,7 +10,7 @@ import { styled } from '@linaria/react';import { type Monaco } from '@monaco-editor/react';import { type editor } from 'monaco-editor';import { AutoTypings } from 'monaco-editor-auto-typings';-import { CodeEditor } from 'twenty-ui/input';+import { CodeEditor } from 'twenty-ui/primitives/input';const StyledCodeEditorContainer = styled.div`display: flex;diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/code-action/utils/getWorkflowCodeFieldsEnumSelectOptions.ts b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/code-action/utils/getWorkflowCodeFieldsEnumSelectOptions.tsindex 6c2af84526e..b360ef11540 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/code-action/utils/getWorkflowCodeFieldsEnumSelectOptions.ts+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/code-action/utils/getWorkflowCodeFieldsEnumSelectOptions.ts@@ -1,7 +1,7 @@import { isNonEmptyArray } from '@sniptt/guards';import { isDefined } from 'twenty-shared/utils';import { type InputSchemaProperty } from 'twenty-shared/workflow';-import { type SelectOption } from 'twenty-ui/input';+import { type SelectOption } from 'twenty-ui/primitives/input';export const getWorkflowCodeFieldsEnumSelectOptions = (property: InputSchemaProperty | undefined,diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/components/WorkflowEditActionCreateCalendarEvent.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/components/WorkflowEditActionCreateCalendarEvent.tsxindex 790cb2a1fac..50d24280b05 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/components/WorkflowEditActionCreateCalendarEvent.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/components/WorkflowEditActionCreateCalendarEvent.tsx@@ -20,8 +20,8 @@ import { t } from '@lingui/core/macro';import { useEffect } from 'react';import { SettingsPath } from 'twenty-shared/types';import { isDefined } from 'twenty-shared/utils';-import { Callout } from 'twenty-ui/feedback';-import { type SelectOption } from 'twenty-ui/input';+import { Callout } from 'twenty-ui/primitives/feedback';+import { type SelectOption } from 'twenty-ui/primitives/input';import { IconPlus } from 'twenty-ui/icon';import { useNavigateSettings } from '~/hooks/useNavigateSettings';diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/components/WorkflowEditActionCreateRecord.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/components/WorkflowEditActionCreateRecord.tsxindex 817b64aa1cd..ae2ce5f19cf 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/components/WorkflowEditActionCreateRecord.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/components/WorkflowEditActionCreateRecord.tsx@@ -21,8 +21,8 @@ import { t } from '@lingui/core/macro';import { useEffect, useState } from 'react';import { isDefined } from 'twenty-shared/utils';import { canObjectBeManagedByAutomation } from 'twenty-shared/workflow';-import { HorizontalSeparator } from 'twenty-ui/layout';-import { type SelectOption } from 'twenty-ui/input';+import { HorizontalSeparator } from 'twenty-ui/primitives/layout';+import { type SelectOption } from 'twenty-ui/primitives/input';import { type JsonValue } from 'type-fest';import { useDebouncedCallback } from 'use-debounce';diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/components/WorkflowEditActionDeleteRecord.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/components/WorkflowEditActionDeleteRecord.tsxindex 39baa1205dd..353092f5a16 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/components/WorkflowEditActionDeleteRecord.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/components/WorkflowEditActionDeleteRecord.tsx@@ -12,8 +12,8 @@ import { WorkflowStepFooter } from '@/workflow/workflow-steps/components/Workfloimport { WorkflowVariablePicker } from '@/workflow/workflow-variables/components/WorkflowVariablePicker';import { isDefined } from 'twenty-shared/utils';import { canObjectBeManagedByAutomation } from 'twenty-shared/workflow';-import { HorizontalSeparator } from 'twenty-ui/layout';-import { type SelectOption } from 'twenty-ui/input';+import { HorizontalSeparator } from 'twenty-ui/primitives/layout';+import { type SelectOption } from 'twenty-ui/primitives/input';import { type JsonValue } from 'type-fest';import { useDebouncedCallback } from 'use-debounce';diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/components/WorkflowEditActionEmailBase.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/components/WorkflowEditActionEmailBase.tsxindex 85a8b97e59e..3741dd916fb 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/components/WorkflowEditActionEmailBase.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/components/WorkflowEditActionEmailBase.tsx@@ -39,11 +39,11 @@ import {getSendableEmailHandles,isDefined,} from 'twenty-shared/utils';-import { Callout } from 'twenty-ui/feedback';+import { Callout } from 'twenty-ui/primitives/feedback';import { IconPlus } from 'twenty-ui/icon';import { isNonEmptyString } from '@sniptt/guards';-import { Button } from 'twenty-ui/input';-import { MenuItem } from 'twenty-ui/navigation';+import { Button } from 'twenty-ui/primitives/input';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { useNavigateSettings } from '~/hooks/useNavigateSettings';type WorkflowEditActionEmailBaseProps = {diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/components/WorkflowEditActionUpdateRecord.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/components/WorkflowEditActionUpdateRecord.tsxindex e3e3a125c64..b0159ae1d0f 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/components/WorkflowEditActionUpdateRecord.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/components/WorkflowEditActionUpdateRecord.tsx@@ -17,8 +17,8 @@ import { t } from '@lingui/core/macro';import { useEffect, useState } from 'react';import { isDefined } from 'twenty-shared/utils';import { canObjectBeManagedByAutomation } from 'twenty-shared/workflow';-import { HorizontalSeparator } from 'twenty-ui/layout';-import { type SelectOption } from 'twenty-ui/input';+import { HorizontalSeparator } from 'twenty-ui/primitives/layout';+import { type SelectOption } from 'twenty-ui/primitives/input';import { type JsonValue } from 'type-fest';import { useDebouncedCallback } from 'use-debounce';import { RelationType } from '~/generated-metadata/graphql';diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/components/WorkflowEditActionUpsertRecord.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/components/WorkflowEditActionUpsertRecord.tsxindex edc9c685df0..a928b7f123c 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/components/WorkflowEditActionUpsertRecord.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/components/WorkflowEditActionUpsertRecord.tsx@@ -23,8 +23,8 @@ import { t } from '@lingui/core/macro';import { useEffect, useState } from 'react';import { isDefined } from 'twenty-shared/utils';import { canObjectBeManagedByAutomation } from 'twenty-shared/workflow';-import { HorizontalSeparator } from 'twenty-ui/layout';-import { type SelectOption } from 'twenty-ui/input';+import { HorizontalSeparator } from 'twenty-ui/primitives/layout';+import { type SelectOption } from 'twenty-ui/primitives/input';import { type JsonValue } from 'type-fest';import { useDebouncedCallback } from 'use-debounce';diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/components/WorkflowRunStepLogsDetail.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/components/WorkflowRunStepLogsDetail.tsxindex f995f8282f9..99b3b1a0a93 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/components/WorkflowRunStepLogsDetail.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/components/WorkflowRunStepLogsDetail.tsx@@ -3,7 +3,10 @@ import { useLingui } from '@lingui/react/macro';import { isDefined } from 'twenty-shared/utils';import { workflowRunStepLogSchema } from 'twenty-shared/workflow';import { IconInfoCircle } from 'twenty-ui/icon';-import { isTwoFirstDepths, JsonTree } from 'twenty-ui/json-visualizer';+import {+ isTwoFirstDepths,+ JsonTree,+} from 'twenty-ui/primitives/json-visualizer';import { themeCssVariables } from 'twenty-ui/theme-constants';import { type JsonValue } from 'type-fest';diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/components/WorkflowSendEmailAttachments.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/components/WorkflowSendEmailAttachments.tsxindex 06b55d2df8f..acd28634641 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/components/WorkflowSendEmailAttachments.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/components/WorkflowSendEmailAttachments.tsx@@ -3,7 +3,7 @@ import { AttachmentChip } from '@/file/components/AttachmentChip';import { useFileUpload } from '@/file-upload/hooks/useFileUpload';import { VariableChip } from '@/object-record/record-field/ui/form-types/components/VariableChip';import { type VariablePickerComponent } from '@/object-record/record-field/ui/form-types/types/VariablePickerComponent';-import { InputLabel } from 'twenty-ui/input';+import { InputLabel } from 'twenty-ui/primitives/input';import { isString } from '@sniptt/guards';import { styled } from '@linaria/react';diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/delay-actions/components/WorkflowEditActionDelay.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/delay-actions/components/WorkflowEditActionDelay.tsxindex 867204e9fdc..41c6bbc2403 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/delay-actions/components/WorkflowEditActionDelay.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/delay-actions/components/WorkflowEditActionDelay.tsx@@ -9,8 +9,8 @@ import { WorkflowVariablePicker } from '@/workflow/workflow-variables/componentsimport { t } from '@lingui/core/macro';import { useEffect, useState } from 'react';import { IconCalendar, IconHourglassHigh } from 'twenty-ui/icon';-import { HorizontalSeparator } from 'twenty-ui/layout';-import { type SelectOption } from 'twenty-ui/input';+import { HorizontalSeparator } from 'twenty-ui/primitives/layout';+import { type SelectOption } from 'twenty-ui/primitives/input';type WorkflowEditActionDelayProps = {action: WorkflowDelayAction;diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/find-records-action/components/WorkflowEditActionFindRecords.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/find-records-action/components/WorkflowEditActionFindRecords.tsxindex facb545f505..7a89744868f 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/find-records-action/components/WorkflowEditActionFindRecords.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/find-records-action/components/WorkflowEditActionFindRecords.tsx@@ -6,7 +6,7 @@ import { isNumber } from '@sniptt/guards';import { useEffect, useState } from 'react';import { QUERY_MAX_RECORDS } from 'twenty-shared/constants';import { isDefined } from 'twenty-shared/utils';-import { HorizontalSeparator } from 'twenty-ui/layout';+import { HorizontalSeparator } from 'twenty-ui/primitives/layout';import { type JsonValue } from 'type-fest';import { useDebouncedCallback } from 'use-debounce';@@ -22,7 +22,7 @@ import { type RecordFilter } from '@/object-record/record-filter/types/RecordFilimport { RecordIndexContextProvider } from '@/object-record/record-index/contexts/RecordIndexContext';import { useRecordIndexFieldMetadataDerivedStates } from '@/object-record/record-index/hooks/useRecordIndexFieldMetadataDerivedStates';import { type RecordSort } from '@/object-record/record-sort/types/RecordSort';-import { InputLabel } from 'twenty-ui/input';+import { InputLabel } from 'twenty-ui/primitives/input';import { SelectControl } from '@/ui/input/components/SelectControl';import { Dropdown } from '@/ui/layout/dropdown/components/Dropdown';import { useCloseDropdown } from '@/ui/layout/dropdown/hooks/useCloseDropdown';diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/find-records-action/components/WorkflowFindRecordsSorts.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/find-records-action/components/WorkflowFindRecordsSorts.tsxindex e895befbc73..c203d8c7e17 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/find-records-action/components/WorkflowFindRecordsSorts.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/find-records-action/components/WorkflowFindRecordsSorts.tsx@@ -5,7 +5,7 @@ import { Select } from '@/ui/input/components/Select';import { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';import { IconArrowsSort, IconTrash, useIcons } from 'twenty-ui/icon';-import { Button, type SelectOption } from 'twenty-ui/input';+import { Button, type SelectOption } from 'twenty-ui/primitives/input';import { v4 as uuidv4 } from 'uuid';import { ViewSortDirection } from '~/generated-metadata/graphql';import { themeCssVariables } from 'twenty-ui/theme-constants';diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/find-records-action/components/WorkflowObjectDropdownContent.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/find-records-action/components/WorkflowObjectDropdownContent.tsxindex 44b46e61675..c32ed53850e 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/find-records-action/components/WorkflowObjectDropdownContent.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/find-records-action/components/WorkflowObjectDropdownContent.tsx@@ -10,7 +10,7 @@ import { SelectableListItem } from '@/ui/layout/selectable-list/components/Selecimport { selectedItemIdComponentState } from '@/ui/layout/selectable-list/states/selectedItemIdComponentState';import { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentStateValue';import { useState } from 'react';-import { MenuItem } from 'twenty-ui/navigation';+import { MenuItem } from 'twenty-ui/primitives/navigation';type WorkflowObjectDropdownContentProps = {dropdownId: string;diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/form-action/components/WorkflowEditActionFormBuilder.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/form-action/components/WorkflowEditActionFormBuilder.tsxindex 1e3016ea37c..4cd141ee7d6 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/form-action/components/WorkflowEditActionFormBuilder.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/form-action/components/WorkflowEditActionFormBuilder.tsx@@ -2,7 +2,7 @@ import { FormFieldInputContainer } from '@/ui/input/components/FormFieldInputConimport { FormFieldInputInnerContainer } from '@/object-record/record-field/ui/form-types/components/FormFieldInputInnerContainer';import { FormFieldInputRowContainer } from '@/object-record/record-field/ui/form-types/components/FormFieldInputRowContainer';import { FormFieldPlaceholder } from '@/object-record/record-field/ui/form-types/components/FormFieldPlaceholder';-import { InputLabel, LightIconButton } from 'twenty-ui/input';+import { InputLabel, LightIconButton } from 'twenty-ui/primitives/input';import { DraggableItem } from '@/ui/layout/draggable-list/components/DraggableItem';import { DraggableList } from '@/ui/layout/draggable-list/components/DraggableList';import { DragDropItemSortableHandle } from '@/ui/utilities/drag-and-drop/components/DragDropItemSortableHandle';@@ -22,7 +22,7 @@ import { isNonEmptyString } from '@sniptt/guards';import { useContext, useEffect, useState } from 'react';import { FieldMetadataType } from 'twenty-shared/types';import { isDefined } from 'twenty-shared/utils';-import { Callout } from 'twenty-ui/feedback';+import { Callout } from 'twenty-ui/primitives/feedback';import {IconAlertTriangle,IconChevronDown,diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/form-action/components/WorkflowEditActionFormFieldSettings.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/form-action/components/WorkflowEditActionFormFieldSettings.tsxindex a06852056d9..2a971361ea1 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/form-action/components/WorkflowEditActionFormFieldSettings.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/form-action/components/WorkflowEditActionFormFieldSettings.tsx@@ -1,6 +1,6 @@import { FormFieldInputContainer } from '@/ui/input/components/FormFieldInputContainer';import { FormSelectFieldInput } from '@/object-record/record-field/ui/form-types/components/FormSelectFieldInput';-import { InputLabel, LightIconButton } from 'twenty-ui/input';+import { InputLabel, LightIconButton } from 'twenty-ui/primitives/input';import { WorkflowFormFieldSettingsByType } from '@/workflow/workflow-steps/workflow-actions/form-action/components/WorkflowFormFieldSettingsByType';import { FORM_SELECT_FIELD_TYPE_OPTIONS } from '@/workflow/workflow-steps/workflow-actions/form-action/constants/FormSelectFieldTypeOptions';import { type WorkflowFormActionField } from '@/workflow/workflow-steps/workflow-actions/form-action/types/WorkflowFormActionField';diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/form-action/components/WorkflowFormFieldSettingsDate.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/form-action/components/WorkflowFormFieldSettingsDate.tsxindex 10345276d58..57bae9743db 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/form-action/components/WorkflowFormFieldSettingsDate.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/form-action/components/WorkflowFormFieldSettingsDate.tsx@@ -1,6 +1,6 @@import { FormFieldInputContainer } from '@/ui/input/components/FormFieldInputContainer';import { FormTextFieldInput } from '@/object-record/record-field/ui/form-types/components/FormTextFieldInput';-import { InputLabel } from 'twenty-ui/input';+import { InputLabel } from 'twenty-ui/primitives/input';import { type WorkflowFormActionField } from '@/workflow/workflow-steps/workflow-actions/form-action/types/WorkflowFormActionField';import { getDefaultFormFieldSettings } from '@/workflow/workflow-steps/workflow-actions/form-action/utils/getDefaultFormFieldSettings';import { t } from '@lingui/core/macro';diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/form-action/components/WorkflowFormFieldSettingsNumber.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/form-action/components/WorkflowFormFieldSettingsNumber.tsxindex f3d1e147f3f..beaf41c5674 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/form-action/components/WorkflowFormFieldSettingsNumber.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/form-action/components/WorkflowFormFieldSettingsNumber.tsx@@ -1,6 +1,6 @@import { FormFieldInputContainer } from '@/ui/input/components/FormFieldInputContainer';import { FormTextFieldInput } from '@/object-record/record-field/ui/form-types/components/FormTextFieldInput';-import { InputLabel } from 'twenty-ui/input';+import { InputLabel } from 'twenty-ui/primitives/input';import { type WorkflowFormActionField } from '@/workflow/workflow-steps/workflow-actions/form-action/types/WorkflowFormActionField';import { getDefaultFormFieldSettings } from '@/workflow/workflow-steps/workflow-actions/form-action/utils/getDefaultFormFieldSettings';import { t } from '@lingui/core/macro';diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/form-action/components/WorkflowFormFieldSettingsRecordPicker.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/form-action/components/WorkflowFormFieldSettingsRecordPicker.tsxindex d3de842f8fd..cbf429fea20 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/form-action/components/WorkflowFormFieldSettingsRecordPicker.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/form-action/components/WorkflowFormFieldSettingsRecordPicker.tsx@@ -2,7 +2,7 @@ import { useFilteredObjectMetadataItems } from '@/object-metadata/hooks/useFilteimport { useObjectMetadataSelectHelpers } from '@/object-metadata/hooks/useObjectMetadataSelectHelpers';import { FormFieldInputContainer } from '@/ui/input/components/FormFieldInputContainer';import { FormTextFieldInput } from '@/object-record/record-field/ui/form-types/components/FormTextFieldInput';-import { InputLabel, type SelectOption } from 'twenty-ui/input';+import { InputLabel, type SelectOption } from 'twenty-ui/primitives/input';import { Select } from '@/ui/input/components/Select';import { GenericDropdownContentWidth } from '@/ui/layout/dropdown/constants/GenericDropdownContentWidth';import { type WorkflowFormActionField } from '@/workflow/workflow-steps/workflow-actions/form-action/types/WorkflowFormActionField';diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/form-action/components/WorkflowFormFieldSettingsSelect.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/form-action/components/WorkflowFormFieldSettingsSelect.tsxindex f8ffdf003fc..880c91fe9d5 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/form-action/components/WorkflowFormFieldSettingsSelect.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/form-action/components/WorkflowFormFieldSettingsSelect.tsx@@ -3,7 +3,7 @@ import { isHiddenSystemField } from '@/object-metadata/utils/isHiddenSystemFieldimport { FormFieldInputContainer } from '@/ui/input/components/FormFieldInputContainer';import { FormSelectFieldInput } from '@/object-record/record-field/ui/form-types/components/FormSelectFieldInput';import { FormTextFieldInput } from '@/object-record/record-field/ui/form-types/components/FormTextFieldInput';-import { InputLabel } from 'twenty-ui/input';+import { InputLabel } from 'twenty-ui/primitives/input';import { type WorkflowFormActionField } from '@/workflow/workflow-steps/workflow-actions/form-action/types/WorkflowFormActionField';import { getDefaultFormFieldSettings } from '@/workflow/workflow-steps/workflow-actions/form-action/utils/getDefaultFormFieldSettings';import { t } from '@lingui/core/macro';diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/form-action/components/WorkflowFormFieldSettingsText.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/form-action/components/WorkflowFormFieldSettingsText.tsxindex bbd0deff77f..a7ad05665ca 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/form-action/components/WorkflowFormFieldSettingsText.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/form-action/components/WorkflowFormFieldSettingsText.tsx@@ -1,6 +1,6 @@import { FormFieldInputContainer } from '@/ui/input/components/FormFieldInputContainer';import { FormTextFieldInput } from '@/object-record/record-field/ui/form-types/components/FormTextFieldInput';-import { InputLabel } from 'twenty-ui/input';+import { InputLabel } from 'twenty-ui/primitives/input';import { type WorkflowFormActionField } from '@/workflow/workflow-steps/workflow-actions/form-action/types/WorkflowFormActionField';import { getDefaultFormFieldSettings } from '@/workflow/workflow-steps/workflow-actions/form-action/utils/getDefaultFormFieldSettings';import { t } from '@lingui/core/macro';diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/form-action/constants/FormSelectFieldTypeOptions.ts b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/form-action/constants/FormSelectFieldTypeOptions.tsindex bf31f0d18ef..2dd2daec1bc 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/form-action/constants/FormSelectFieldTypeOptions.ts+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/form-action/constants/FormSelectFieldTypeOptions.ts@@ -9,7 +9,7 @@ import {IllustrationIconTags,IllustrationIconText,} from 'twenty-ui/icon';-import { type SelectOption } from 'twenty-ui/input';+import { type SelectOption } from 'twenty-ui/primitives/input';export const FORM_SELECT_FIELD_TYPE_OPTIONS: SelectOption<WorkflowFormFieldType>[] =[diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/http-request-action/components/BodyInput.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/http-request-action/components/BodyInput.tsxindex 92836a32def..4f972c3b77c 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/http-request-action/components/BodyInput.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/http-request-action/components/BodyInput.tsx@@ -2,7 +2,7 @@ import { t } from '@lingui/core/macro';import { FormFieldInputContainer } from '@/ui/input/components/FormFieldInputContainer';import { FormRawJsonFieldInput } from '@/object-record/record-field/ui/form-types/components/FormRawJsonFieldInput';import { FormTextFieldInput } from '@/object-record/record-field/ui/form-types/components/FormTextFieldInput';-import { InputLabel } from 'twenty-ui/input';+import { InputLabel } from 'twenty-ui/primitives/input';import { Select } from '@/ui/input/components/Select';import {BODY_TYPES,diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/http-request-action/components/KeyValuePairInput.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/http-request-action/components/KeyValuePairInput.tsxindex 1982bb4a8f5..ae659491e2e 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/http-request-action/components/KeyValuePairInput.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/http-request-action/components/KeyValuePairInput.tsx@@ -1,6 +1,6 @@import { FormFieldInputContainer } from '@/ui/input/components/FormFieldInputContainer';import { FormTextFieldInput } from '@/object-record/record-field/ui/form-types/components/FormTextFieldInput';-import { InputLabel, Button } from 'twenty-ui/input';+import { InputLabel, Button } from 'twenty-ui/primitives/input';import { AUTO_SET_HEADER_KEYS } from '@/workflow/workflow-steps/workflow-actions/http-request-action/constants/AutoSetHeaderKeys';import { isAutoSetHeaderKey } from '@/workflow/workflow-steps/workflow-actions/http-request-action/utils/isReadOnlyHeaderKey';import { WorkflowVariablePicker } from '@/workflow/workflow-variables/components/WorkflowVariablePicker';diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/if-else-action/components/WorkflowEditActionIfElseBody.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/if-else-action/components/WorkflowEditActionIfElseBody.tsxindex f4f1f906d00..5f749fe3f46 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/if-else-action/components/WorkflowEditActionIfElseBody.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/if-else-action/components/WorkflowEditActionIfElseBody.tsx@@ -1,4 +1,4 @@-import { InputLabel, Button } from 'twenty-ui/input';+import { InputLabel, Button } from 'twenty-ui/primitives/input';import { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentStateValue';import { useSetAtomComponentState } from '@/ui/utilities/state/jotai/hooks/useSetAtomComponentState';import { useGetUpdatableWorkflowVersionOrThrow } from '@/workflow/hooks/useGetUpdatableWorkflowVersionOrThrow';@@ -27,7 +27,7 @@ import { Fragment } from 'react';import { isDefined } from 'twenty-shared/utils';import { type StepIfElseBranch } from 'twenty-shared/workflow';import { IconPlus } from 'twenty-ui/icon';-import { HorizontalSeparator } from 'twenty-ui/layout';+import { HorizontalSeparator } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledContainer = styled.div`diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/iterator-action/components/WorkflowIteratorSubStepSwitcher.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/iterator-action/components/WorkflowIteratorSubStepSwitcher.tsxindex de1ad575684..c17ac775837 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/iterator-action/components/WorkflowIteratorSubStepSwitcher.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/iterator-action/components/WorkflowIteratorSubStepSwitcher.tsx@@ -10,7 +10,7 @@ import { styled } from '@linaria/react';import { plural } from '@lingui/core/macro';import { isDefined } from 'twenty-shared/utils';import { IconChevronLeft, IconChevronRight } from 'twenty-ui/icon';-import { IconButton } from 'twenty-ui/input';+import { IconButton } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledContainer = styled.div`diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/logic-function-action/components/WorkflowEditActionLogicFunction.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/logic-function-action/components/WorkflowEditActionLogicFunction.tsxindex f345aa6ebbe..05516b9b400 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/logic-function-action/components/WorkflowEditActionLogicFunction.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/logic-function-action/components/WorkflowEditActionLogicFunction.tsx@@ -4,7 +4,7 @@ import { LogicFunctionLogs } from '@/logic-functions/components/LogicFunctionLogimport { LogicFunctionTestInputInitEffect } from '@/logic-functions/components/LogicFunctionTestInputInitEffect';import { useExecuteLogicFunction } from '@/logic-functions/hooks/useExecuteLogicFunction';import { useGetOneLogicFunction } from '@/logic-functions/hooks/useGetOneLogicFunction';-import { InputLabel } from 'twenty-ui/input';+import { InputLabel } from 'twenty-ui/primitives/input';import { TabList } from '@/ui/layout/tab-list/components/TabList';import { activeTabIdComponentState } from '@/ui/layout/tab-list/states/activeTabIdComponentState';import { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentStateValue';@@ -25,7 +25,7 @@ import { useMemo } from 'react';import { getOutputSchemaFromValue } from 'twenty-shared/logic-function';import { isDefined } from 'twenty-shared/utils';import { getFunctionInputFromInputSchema } from 'twenty-shared/workflow';-import { Callout } from 'twenty-ui/feedback';+import { Callout } from 'twenty-ui/primitives/feedback';import { IconPlayerPlay, IconSettingsAutomation } from 'twenty-ui/icon';import { themeCssVariables } from 'twenty-ui/theme-constants';import { useDebouncedCallback } from 'use-debounce';diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/pick-record-action/components/WorkflowEditActionPickRecord.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/pick-record-action/components/WorkflowEditActionPickRecord.tsxindex 6e350b03fd5..525c8e7daba 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/pick-record-action/components/WorkflowEditActionPickRecord.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/pick-record-action/components/WorkflowEditActionPickRecord.tsx@@ -4,8 +4,8 @@ import { msg } from '@lingui/core/macro';import { useLingui } from '@lingui/react/macro';import { useEffect, useState } from 'react';import { isDefined } from 'twenty-shared/utils';-import { type SelectOption, InputHint } from 'twenty-ui/input';-import { HorizontalSeparator } from 'twenty-ui/layout';+import { type SelectOption, InputHint } from 'twenty-ui/primitives/input';+import { HorizontalSeparator } from 'twenty-ui/primitives/layout';import { useDebouncedCallback } from 'use-debounce';import { useFilteredObjectMetadataItems } from '@/object-metadata/hooks/useFilteredObjectMetadataItems';diff --git a/packages/twenty-front/src/modules/workflow/workflow-trigger/components/CronExpressionHelper.tsx b/packages/twenty-front/src/modules/workflow/workflow-trigger/components/CronExpressionHelper.tsxindex 7538549e86e..115011c9095 100644--- a/packages/twenty-front/src/modules/workflow/workflow-trigger/components/CronExpressionHelper.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-trigger/components/CronExpressionHelper.tsx@@ -1,5 +1,5 @@import { useDateTimeFormat } from '@/localization/hooks/useDateTimeFormat';-import { InputHint } from 'twenty-ui/input';+import { InputHint } from 'twenty-ui/primitives/input';import type { WorkflowCronTrigger } from '@/workflow/types/Workflow';import { calculateNextExecutionsForMinuteInterval } from '@/workflow/workflow-trigger/utils/cron-to-human/utils/calculateNextExecutionsForMinuteInterval';import { convertScheduleToCronExpression } from '@/workflow/workflow-trigger/utils/cron-to-human/utils/convertScheduleToCronExpression';diff --git a/packages/twenty-front/src/modules/workflow/workflow-trigger/components/WorkflowEditTriggerDatabaseEventForm.tsx b/packages/twenty-front/src/modules/workflow/workflow-trigger/components/WorkflowEditTriggerDatabaseEventForm.tsxindex 11029db6cb6..f3939e5e58a 100644--- a/packages/twenty-front/src/modules/workflow/workflow-trigger/components/WorkflowEditTriggerDatabaseEventForm.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-trigger/components/WorkflowEditTriggerDatabaseEventForm.tsx@@ -25,8 +25,8 @@ import { useLingui } from '@lingui/react/macro';import { useMemo, useState } from 'react';import { isDefined } from 'twenty-shared/utils';import { TRIGGER_STEP_ID } from 'twenty-shared/workflow';-import { type SelectOption } from 'twenty-ui/input';-import { MenuItem } from 'twenty-ui/navigation';+import { type SelectOption } from 'twenty-ui/primitives/input';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledLabel = styled.span`diff --git a/packages/twenty-front/src/modules/workflow/workflow-trigger/components/WorkflowEditTriggerManual.tsx b/packages/twenty-front/src/modules/workflow/workflow-trigger/components/WorkflowEditTriggerManual.tsxindex ff3a1003e55..aa395ad1683 100644--- a/packages/twenty-front/src/modules/workflow/workflow-trigger/components/WorkflowEditTriggerManual.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-trigger/components/WorkflowEditTriggerManual.tsx@@ -16,7 +16,7 @@ import { QUERY_MAX_RECORDS } from 'twenty-shared/constants';import { isDefined } from 'twenty-shared/utils';import { TRIGGER_STEP_ID } from 'twenty-shared/workflow';import { useIcons } from 'twenty-ui/icon';-import { type SelectOption } from 'twenty-ui/input';+import { type SelectOption } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';type WorkflowEditTriggerManualProps = {diff --git a/packages/twenty-front/src/modules/workflow/workflow-variables/components/WorkflowVariableSearchResultItems.tsx b/packages/twenty-front/src/modules/workflow/workflow-variables/components/WorkflowVariableSearchResultItems.tsxindex 48128a61881..5dce3bd58e5 100644--- a/packages/twenty-front/src/modules/workflow/workflow-variables/components/WorkflowVariableSearchResultItems.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-variables/components/WorkflowVariableSearchResultItems.tsx@@ -1,6 +1,6 @@import { type WorkflowVariableSearchResult } from '@/workflow/workflow-variables/types/WorkflowVariableSearchResult';import { useIcons } from 'twenty-ui/icon';-import { MenuItemSelect } from 'twenty-ui/navigation';+import { MenuItemSelect } from 'twenty-ui/primitives/navigation';type WorkflowVariableSearchResultItemsProps = {searchResults: WorkflowVariableSearchResult[];diff --git a/packages/twenty-front/src/modules/workflow/workflow-variables/components/WorkflowVariablesDropdown.tsx b/packages/twenty-front/src/modules/workflow/workflow-variables/components/WorkflowVariablesDropdown.tsxindex 8e2928e5a18..f1c3f20b2ac 100644--- a/packages/twenty-front/src/modules/workflow/workflow-variables/components/WorkflowVariablesDropdown.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-variables/components/WorkflowVariablesDropdown.tsx@@ -13,7 +13,11 @@ import { styled } from '@linaria/react';import { useContext, useState } from 'react';import { isDefined } from 'twenty-shared/utils';import { IconVariablePlus } from 'twenty-ui/icon';-import { AppTooltip, TooltipDelay, TooltipPosition } from 'twenty-ui/surfaces';+import {+ AppTooltip,+ TooltipDelay,+ TooltipPosition,+} from 'twenty-ui/primitives/surfaces';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';const StyledDropdownVariableButtonContainer = styled.div<{diff --git a/packages/twenty-front/src/modules/workflow/workflow-variables/components/WorkflowVariablesDropdownStepItems.tsx b/packages/twenty-front/src/modules/workflow/workflow-variables/components/WorkflowVariablesDropdownStepItems.tsxindex 951c372e351..c8fe4b85811 100644--- a/packages/twenty-front/src/modules/workflow/workflow-variables/components/WorkflowVariablesDropdownStepItems.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-variables/components/WorkflowVariablesDropdownStepItems.tsx@@ -23,8 +23,8 @@ import {import { useLingui } from '@lingui/react/macro';import { isDefined } from 'twenty-shared/utils';import { IconChevronLeft, useIcons } from 'twenty-ui/icon';-import { MenuItemSelect } from 'twenty-ui/navigation';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';+import { MenuItemSelect } from 'twenty-ui/primitives/navigation';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';type WorkflowVariablesDropdownStepItemsProps = {step: StepOutputSchemaV2;diff --git a/packages/twenty-front/src/modules/workflow/workflow-variables/components/WorkflowVariablesDropdownSteps.tsx b/packages/twenty-front/src/modules/workflow/workflow-variables/components/WorkflowVariablesDropdownSteps.tsxindex 1082bdc23ce..f4c88ac68c6 100644--- a/packages/twenty-front/src/modules/workflow/workflow-variables/components/WorkflowVariablesDropdownSteps.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-variables/components/WorkflowVariablesDropdownSteps.tsx@@ -19,8 +19,8 @@ import { searchWorkflowVariables } from '@/workflow/workflow-variables/utils/seaimport { t } from '@lingui/core/macro';import { useState } from 'react';import { IconX, useIcons } from 'twenty-ui/icon';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';-import { MenuItem, MenuItemSelect } from 'twenty-ui/navigation';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';+import { MenuItem, MenuItemSelect } from 'twenty-ui/primitives/navigation';type WorkflowVariablesDropdownStepsProps = {dropdownId: string;diff --git a/packages/twenty-front/src/modules/workspace-member/components/WorkspaceMemberAvatarStack.tsx b/packages/twenty-front/src/modules/workspace-member/components/WorkspaceMemberAvatarStack.tsxindex 9090c431822..b83d05a554c 100644--- a/packages/twenty-front/src/modules/workspace-member/components/WorkspaceMemberAvatarStack.tsx+++ b/packages/twenty-front/src/modules/workspace-member/components/WorkspaceMemberAvatarStack.tsx@@ -1,5 +1,5 @@import { styled } from '@linaria/react';-import { Avatar, AvatarGroup } from 'twenty-ui/data-display';+import { Avatar, AvatarGroup } from 'twenty-ui/primitives/data-display';import { themeCssVariables } from 'twenty-ui/theme-constants';import { getAbsoluteImageUrl } from '~/utils/image/getAbsoluteImageUrl';diff --git a/packages/twenty-front/src/modules/workspace/components/WorkspaceInviteLink.tsx b/packages/twenty-front/src/modules/workspace/components/WorkspaceInviteLink.tsxindex fc76b7183e4..0b2583e27b8 100644--- a/packages/twenty-front/src/modules/workspace/components/WorkspaceInviteLink.tsx+++ b/packages/twenty-front/src/modules/workspace/components/WorkspaceInviteLink.tsx@@ -3,7 +3,7 @@ import { styled } from '@linaria/react';import { SettingsTextInput } from '@/ui/input/components/SettingsTextInput';import { useLingui } from '@lingui/react/macro';import { IconLink } from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';+import { Button } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';import { useCopyToClipboard } from '~/hooks/useCopyToClipboard';diff --git a/packages/twenty-front/src/modules/workspace/components/WorkspaceInviteTeam.tsx b/packages/twenty-front/src/modules/workspace/components/WorkspaceInviteTeam.tsxindex 98cefda5001..584f555864c 100644--- a/packages/twenty-front/src/modules/workspace/components/WorkspaceInviteTeam.tsx+++ b/packages/twenty-front/src/modules/workspace/components/WorkspaceInviteTeam.tsx@@ -21,7 +21,7 @@ import {useIcons,type IconComponent,} from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';+import { Button } from 'twenty-ui/primitives/input';import { MOBILE_VIEWPORT, themeCssVariables } from 'twenty-ui/theme-constants';const StyledContainer = styled.div`diff --git a/packages/twenty-front/src/pages/auth/Authorize.tsx b/packages/twenty-front/src/pages/auth/Authorize.tsxindex ebc62a96f50..5816ef48f3d 100644--- a/packages/twenty-front/src/pages/auth/Authorize.tsx+++ b/packages/twenty-front/src/pages/auth/Authorize.tsx@@ -16,8 +16,8 @@ import {IconDatabase,IconUserCircle,} from 'twenty-ui/icon';-import { H1Title, H1TitleFontColor } from 'twenty-ui/typography';-import { ModalContent } from 'twenty-ui/surfaces';+import { H1Title, H1TitleFontColor } from 'twenty-ui/primitives/typography';+import { ModalContent } from 'twenty-ui/primitives/surfaces';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';import {AuthorizeAppDocument,diff --git a/packages/twenty-front/src/pages/auth/PasswordReset.tsx b/packages/twenty-front/src/pages/auth/PasswordReset.tsxindex d4ac85e9114..8182ca9d742 100644--- a/packages/twenty-front/src/pages/auth/PasswordReset.tsx+++ b/packages/twenty-front/src/pages/auth/PasswordReset.tsx@@ -13,7 +13,7 @@ import { useIsCurrentLocationOnAWorkspace } from '@/domain-manager/hooks/useIsCuimport { useRedirect } from '@/domain-manager/hooks/useRedirect';import { useSnackBar } from '@/ui/feedback/snack-bar-manager/hooks/useSnackBar';import { TextInput } from '@/ui/input/components/TextInput';-import { ModalContent } from 'twenty-ui/surfaces';+import { ModalContent } from 'twenty-ui/primitives/surfaces';import { CombinedGraphQLErrors } from '@apollo/client/errors';import { styled } from '@linaria/react';import { zodResolver } from '@hookform/resolvers/zod';@@ -29,9 +29,9 @@ import { useParams } from 'react-router-dom';import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';import { useSetAtomState } from '@/ui/utilities/state/jotai/hooks/useSetAtomState';import { AppPath } from 'twenty-shared/types';-import { MainButton } from 'twenty-ui/input';+import { MainButton } from 'twenty-ui/primitives/input';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';-import { AnimatedEaseIn } from 'twenty-ui/layout';+import { AnimatedEaseIn } from 'twenty-ui/primitives/layout';import { z } from 'zod';import { useMutation, useQuery } from '@apollo/client/react';import {diff --git a/packages/twenty-front/src/pages/auth/SignInUp.tsx b/packages/twenty-front/src/pages/auth/SignInUp.tsxindex 123ccc8192b..11a67daaf2b 100644--- a/packages/twenty-front/src/pages/auth/SignInUp.tsx+++ b/packages/twenty-front/src/pages/auth/SignInUp.tsx@@ -32,11 +32,11 @@ import { SignInUpTwoFactorAuthenticationProvision } from '@/auth/sign-in-up/compimport { SignInUpTOTPVerification } from '@/auth/sign-in-up/components/internal/SignInUpTwoFactorAuthenticationVerification';import { useWorkspaceFromInviteHash } from '@/auth/sign-in-up/hooks/useWorkspaceFromInviteHash';import { clientConfigApiStatusState } from '@/client-config/states/clientConfigApiStatusState';-import { ModalContent } from 'twenty-ui/surfaces';+import { ModalContent } from 'twenty-ui/primitives/surfaces';import { useLingui } from '@lingui/react/macro';import { useSearchParams } from 'react-router-dom';import { isDefined } from 'twenty-shared/utils';-import { Loader } from 'twenty-ui/feedback';+import { Loader } from 'twenty-ui/primitives/feedback';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledLoaderContainer = styled.div`diff --git a/packages/twenty-front/src/pages/not-found/NotFound.tsx b/packages/twenty-front/src/pages/not-found/NotFound.tsxindex 02f6cae2edf..18449219c50 100644--- a/packages/twenty-front/src/pages/not-found/NotFound.tsx+++ b/packages/twenty-front/src/pages/not-found/NotFound.tsx@@ -11,7 +11,7 @@ import { AppPath } from 'twenty-shared/types';import { RootStackingContextZIndices } from '@/ui/layout/constants/RootStackingContextZIndices';import { PageTitle } from '@/ui/utilities/page-title/components/PageTitle';import { styled } from '@linaria/react';-import { MainButton } from 'twenty-ui/input';+import { MainButton } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';import {AnimatedPlaceholder,@@ -19,8 +19,8 @@ import {AnimatedPlaceholderErrorContainer,AnimatedPlaceholderErrorSubTitle,AnimatedPlaceholderErrorTitle,-} from 'twenty-ui/feedback';-import { UndecoratedLink } from 'twenty-ui/navigation';+} from 'twenty-ui/primitives/feedback';+import { UndecoratedLink } from 'twenty-ui/primitives/navigation';const StyledBackDrop = styled.div`align-items: center;diff --git a/packages/twenty-front/src/pages/onboarding/BookCall.tsx b/packages/twenty-front/src/pages/onboarding/BookCall.tsxindex f3c61e10e6e..fd0c6d43592 100644--- a/packages/twenty-front/src/pages/onboarding/BookCall.tsx+++ b/packages/twenty-front/src/pages/onboarding/BookCall.tsx@@ -15,7 +15,7 @@ import { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';import { AppPath } from 'twenty-shared/types';import { IconChevronLeft } from 'twenty-ui/icon';-import { LightButton } from 'twenty-ui/input';+import { LightButton } from 'twenty-ui/primitives/input';import { MOBILE_VIEWPORT, themeCssVariables } from 'twenty-ui/theme-constants';import { OnboardingStatus } from '~/generated-metadata/graphql';diff --git a/packages/twenty-front/src/pages/onboarding/CreateProfile.tsx b/packages/twenty-front/src/pages/onboarding/CreateProfile.tsxindex 7dd4338a405..6b60e273917 100644--- a/packages/twenty-front/src/pages/onboarding/CreateProfile.tsx+++ b/packages/twenty-front/src/pages/onboarding/CreateProfile.tsx@@ -27,7 +27,7 @@ import { useCallback, useState } from 'react';import { Controller, type SubmitHandler, useForm } from 'react-hook-form';import { Key } from 'ts-key-enum';import { isDefined } from 'twenty-shared/utils';-import { MainButton } from 'twenty-ui/input';+import { MainButton } from 'twenty-ui/primitives/input';import { MOBILE_VIEWPORT, themeCssVariables } from 'twenty-ui/theme-constants';import { z } from 'zod';diff --git a/packages/twenty-front/src/pages/onboarding/ImportContacts.tsx b/packages/twenty-front/src/pages/onboarding/ImportContacts.tsxindex d78a931ef1a..ff966b873b3 100644--- a/packages/twenty-front/src/pages/onboarding/ImportContacts.tsx+++ b/packages/twenty-front/src/pages/onboarding/ImportContacts.tsx@@ -13,7 +13,7 @@ import { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';import { isDefined } from 'twenty-shared/utils';import { IconGoogle, IconMicrosoft } from 'twenty-ui/icon';-import { MainButton } from 'twenty-ui/input';+import { MainButton } from 'twenty-ui/primitives/input';import { themeCssVariables, useTheme } from 'twenty-ui/theme-constants';const StyledOnboardingStep = styled(StyledOnboardingStepPage)`diff --git a/packages/twenty-front/src/pages/onboarding/InstallAppsContent.tsx b/packages/twenty-front/src/pages/onboarding/InstallAppsContent.tsxindex 63a055fc244..14d126e0eeb 100644--- a/packages/twenty-front/src/pages/onboarding/InstallAppsContent.tsx+++ b/packages/twenty-front/src/pages/onboarding/InstallAppsContent.tsx@@ -11,10 +11,10 @@ import { type OnboardingInstallableApp } from '@/onboarding/types/OnboardingInstimport { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';import { isDefined, isNonEmptyArray } from 'twenty-shared/utils';-import { Avatar } from 'twenty-ui/data-display';+import { Avatar } from 'twenty-ui/primitives/data-display';import { IconCheck, IconPlus } from 'twenty-ui/icon';-import { IconButton, MainButton } from 'twenty-ui/input';-import { AnimatedIconCrossfade } from 'twenty-ui/layout';+import { IconButton, MainButton } from 'twenty-ui/primitives/input';+import { AnimatedIconCrossfade } from 'twenty-ui/primitives/layout';import { themeCssVariables, useTheme } from 'twenty-ui/theme-constants';import { getAbsoluteImageUrl } from '~/utils/image/getAbsoluteImageUrl';diff --git a/packages/twenty-front/src/pages/onboarding/InviteTeam.tsx b/packages/twenty-front/src/pages/onboarding/InviteTeam.tsxindex 023a20d4da1..b6e5c2ce7cb 100644--- a/packages/twenty-front/src/pages/onboarding/InviteTeam.tsx+++ b/packages/twenty-front/src/pages/onboarding/InviteTeam.tsx@@ -19,8 +19,8 @@ import { AnimatePresence, motion } from 'framer-motion';import { Controller } from 'react-hook-form';import { isDefined } from 'twenty-shared/utils';import { IconX } from 'twenty-ui/icon';-import { Loader } from 'twenty-ui/feedback';-import { MainButton } from 'twenty-ui/input';+import { Loader } from 'twenty-ui/primitives/feedback';+import { MainButton } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledForm = styled.div`diff --git a/packages/twenty-front/src/pages/onboarding/PaymentSuccess.tsx b/packages/twenty-front/src/pages/onboarding/PaymentSuccess.tsxindex d6ee76c6fc9..e7a7c12d259 100644--- a/packages/twenty-front/src/pages/onboarding/PaymentSuccess.tsx+++ b/packages/twenty-front/src/pages/onboarding/PaymentSuccess.tsx@@ -10,7 +10,7 @@ import { styled } from '@linaria/react';import { AnimatePresence, motion } from 'framer-motion';import { useEffect, useState } from 'react';import { isDefined } from 'twenty-shared/utils';-import { MainButton } from 'twenty-ui/input';+import { MainButton } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';const SUBSCRIPTION_CONFIRMATION_POLL_INTERVAL_MS = 2000;diff --git a/packages/twenty-front/src/pages/onboarding/UpgradeFreeTrial.tsx b/packages/twenty-front/src/pages/onboarding/UpgradeFreeTrial.tsxindex 6c53d3da716..c62601174e6 100644--- a/packages/twenty-front/src/pages/onboarding/UpgradeFreeTrial.tsx+++ b/packages/twenty-front/src/pages/onboarding/UpgradeFreeTrial.tsx@@ -27,9 +27,9 @@ import { Trans, useLingui } from '@lingui/react/macro';import { Elements, PaymentElement } from '@stripe/react-stripe-js';import { AppPath } from 'twenty-shared/types';import { isDefined } from 'twenty-shared/utils';-import { Info, Loader } from 'twenty-ui/feedback';-import { MainButton, RadioGroup } from 'twenty-ui/input';-import { CAL_LINK, ClickToActionLink } from 'twenty-ui/navigation';+import { Info, Loader } from 'twenty-ui/primitives/feedback';+import { MainButton, RadioGroup } from 'twenty-ui/primitives/input';+import { CAL_LINK, ClickToActionLink } from 'twenty-ui/primitives/navigation';import { MOBILE_VIEWPORT, themeCssVariables } from 'twenty-ui/theme-constants';import {type Billing,diff --git a/packages/twenty-front/src/pages/onboarding/WorkspaceActivation.tsx b/packages/twenty-front/src/pages/onboarding/WorkspaceActivation.tsxindex ac046fb8aba..eea7b7f6ff9 100644--- a/packages/twenty-front/src/pages/onboarding/WorkspaceActivation.tsx+++ b/packages/twenty-front/src/pages/onboarding/WorkspaceActivation.tsx@@ -20,7 +20,7 @@ import { useMutation } from '@apollo/client/react';import { Trans, useLingui } from '@lingui/react/macro';import { isNonEmptyString } from '@sniptt/guards';import { isDefined } from 'twenty-shared/utils';-import { MainButton } from 'twenty-ui/input';+import { MainButton } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';import { ActivateWorkspaceDocument } from '~/generated-metadata/graphql';diff --git a/packages/twenty-front/src/pages/settings/accounts/SettingsAccounts.tsx b/packages/twenty-front/src/pages/settings/accounts/SettingsAccounts.tsxindex ca5117ac191..6dccb4c9995 100644--- a/packages/twenty-front/src/pages/settings/accounts/SettingsAccounts.tsx+++ b/packages/twenty-front/src/pages/settings/accounts/SettingsAccounts.tsx@@ -8,8 +8,8 @@ import { SettingsPageLayout } from '@/settings/components/layout/SettingsPageLayimport { useLingui } from '@lingui/react/macro';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath } from 'twenty-shared/utils';-import { H2Title } from 'twenty-ui/typography';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Section } from 'twenty-ui/primitives/layout';export const SettingsAccounts = () => {const { t } = useLingui();diff --git a/packages/twenty-front/src/pages/settings/accounts/SettingsAccountsCalendars.tsx b/packages/twenty-front/src/pages/settings/accounts/SettingsAccountsCalendars.tsxindex 8bd254ec270..204294d7378 100644--- a/packages/twenty-front/src/pages/settings/accounts/SettingsAccountsCalendars.tsx+++ b/packages/twenty-front/src/pages/settings/accounts/SettingsAccountsCalendars.tsx@@ -10,7 +10,7 @@ import { useLingui } from '@lingui/react/macro';import { useMemo } from 'react';import { CalendarChannelSyncStage, SettingsPath } from 'twenty-shared/types';import { getSettingsPath } from 'twenty-shared/utils';-import { Section } from 'twenty-ui/layout';+import { Section } from 'twenty-ui/primitives/layout';export const SettingsAccountsCalendars = () => {const { t } = useLingui();diff --git a/packages/twenty-front/src/pages/settings/accounts/SettingsAccountsConfigurationStepCalendar.tsx b/packages/twenty-front/src/pages/settings/accounts/SettingsAccountsConfigurationStepCalendar.tsxindex e125ec9f128..2ea1c25a03f 100644--- a/packages/twenty-front/src/pages/settings/accounts/SettingsAccountsConfigurationStepCalendar.tsx+++ b/packages/twenty-front/src/pages/settings/accounts/SettingsAccountsConfigurationStepCalendar.tsx@@ -8,7 +8,7 @@ import { SettingsPageLayout } from '@/settings/components/layout/SettingsPageLayimport { SettingsPath } from 'twenty-shared/types';import { getSettingsPath, isDefined } from 'twenty-shared/utils';import { IconDeviceFloppy } from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';+import { Button } from 'twenty-ui/primitives/input';type SettingsAccountsConfigurationStepCalendarProps = {calendarChannel: CalendarChannel;diff --git a/packages/twenty-front/src/pages/settings/accounts/SettingsAccountsConfigurationStepEmail.tsx b/packages/twenty-front/src/pages/settings/accounts/SettingsAccountsConfigurationStepEmail.tsxindex a75a907c879..adc575d227d 100644--- a/packages/twenty-front/src/pages/settings/accounts/SettingsAccountsConfigurationStepEmail.tsx+++ b/packages/twenty-front/src/pages/settings/accounts/SettingsAccountsConfigurationStepEmail.tsx@@ -7,7 +7,7 @@ import { SettingsPageLayout } from '@/settings/components/layout/SettingsPageLayimport { SettingsPath } from 'twenty-shared/types';import { getSettingsPath } from 'twenty-shared/utils';import { IconChevronRight, IconPlus } from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';+import { Button } from 'twenty-ui/primitives/input';type SettingsAccountsConfigurationStepEmailProps = {messageChannel: MessageChannel;diff --git a/packages/twenty-front/src/pages/settings/accounts/SettingsAccountsEmails.tsx b/packages/twenty-front/src/pages/settings/accounts/SettingsAccountsEmails.tsxindex c626d13cfd0..018bcd3e2a0 100644--- a/packages/twenty-front/src/pages/settings/accounts/SettingsAccountsEmails.tsx+++ b/packages/twenty-front/src/pages/settings/accounts/SettingsAccountsEmails.tsx@@ -14,7 +14,7 @@ import {SettingsPath,} from 'twenty-shared/types';import { getSettingsPath } from 'twenty-shared/utils';-import { Section } from 'twenty-ui/layout';+import { Section } from 'twenty-ui/primitives/layout';export const SettingsAccountsEmails = () => {const { t } = useLingui();diff --git a/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminAiProviderDetail.tsx b/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminAiProviderDetail.tsxindex d4b28b1b480..e48b6190333 100644--- a/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminAiProviderDetail.tsx+++ b/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminAiProviderDetail.tsx@@ -19,10 +19,10 @@ import {IconTrash,IconWorld,} from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { Button, SearchInput } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';-import { RoundedLink, UndecoratedLink } from 'twenty-ui/navigation';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Button, SearchInput } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';+import { RoundedLink, UndecoratedLink } from 'twenty-ui/primitives/navigation';import { useClientConfig } from '@/client-config/hooks/useClientConfig';import { useApolloAdminClient } from '@/settings/admin-panel/apollo/hooks/useApolloAdminClient';diff --git a/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminApplicationRegistrationClaims.tsx b/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminApplicationRegistrationClaims.tsxindex 04f9d038e56..5fb63397297 100644--- a/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminApplicationRegistrationClaims.tsx+++ b/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminApplicationRegistrationClaims.tsx@@ -7,9 +7,9 @@ import { TableHeader } from '@/ui/layout/table/components/TableHeader';import { TableRow } from '@/ui/layout/table/components/TableRow';import { useQuery } from '@apollo/client/react';import { useLingui } from '@lingui/react/macro';-import { Tag } from 'twenty-ui/data-display';-import { Section } from 'twenty-ui/layout';-import { H2Title } from 'twenty-ui/typography';+import { Tag } from 'twenty-ui/primitives/data-display';+import { Section } from 'twenty-ui/primitives/layout';+import { H2Title } from 'twenty-ui/primitives/typography';import { FindAdminApplicationRegistrationClaimsDocument } from '~/generated-admin/graphql';const CLAIMS_TABLE_GRID = '1fr 140px';diff --git a/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminApplicationRegistrationDangerZone.tsx b/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminApplicationRegistrationDangerZone.tsxindex 2d6cce46960..9df3e119e41 100644--- a/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminApplicationRegistrationDangerZone.tsx+++ b/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminApplicationRegistrationDangerZone.tsx@@ -9,10 +9,18 @@ import { isNonEmptyString } from '@sniptt/guards';import { useState } from 'react';import { SettingsPath } from 'twenty-shared/types';import { IconShare, IconTrash, IconUserPlus } from 'twenty-ui/icon';-import { AppTooltip, TooltipDelay } from 'twenty-ui/surfaces';-import { H1Title, H1TitleFontColor, H2Title } from 'twenty-ui/typography';-import { Button } from 'twenty-ui/input';-import { Section, SectionAlignment, SectionFontColor } from 'twenty-ui/layout';+import { AppTooltip, TooltipDelay } from 'twenty-ui/primitives/surfaces';+import {+ H1Title,+ H1TitleFontColor,+ H2Title,+} from 'twenty-ui/primitives/typography';+import { Button } from 'twenty-ui/primitives/input';+import {+ Section,+ SectionAlignment,+ SectionFontColor,+} from 'twenty-ui/primitives/layout';import {type ApplicationRegistration,ClaimApplicationRegistrationOwnershipDocument,diff --git a/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminApplicationRegistrationDetail.tsx b/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminApplicationRegistrationDetail.tsxindex 789e3547638..7e60f1ebd80 100644--- a/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminApplicationRegistrationDetail.tsx+++ b/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminApplicationRegistrationDetail.tsx@@ -9,7 +9,7 @@ import { SettingsTabBar } from '@/settings/components/layout/SettingsTabBar';import { useApolloAdminClient } from '@/settings/admin-panel/apollo/hooks/useApolloAdminClient';import { APPLICATION_REGISTRATION_ADMIN_PATH } from '@/settings/admin-panel/apps/constants/ApplicationRegistrationAdminPath';import { SettingsPageContainer } from '@/settings/components/SettingsPageContainer';-import { Avatar } from 'twenty-ui/data-display';+import { Avatar } from 'twenty-ui/primitives/data-display';import {IconInfoCircle,IconKey,diff --git a/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminApplicationRegistrationGeneralSwitches.tsx b/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminApplicationRegistrationGeneralSwitches.tsxindex 5a45e9ea23d..76c4bcdc5e2 100644--- a/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminApplicationRegistrationGeneralSwitches.tsx+++ b/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminApplicationRegistrationGeneralSwitches.tsx@@ -1,8 +1,8 @@-import { Section } from 'twenty-ui/layout';-import { Card } from 'twenty-ui/surfaces';+import { Section } from 'twenty-ui/primitives/layout';+import { Card } from 'twenty-ui/primitives/surfaces';import { SettingsOptionCardContentSwitch } from '@/settings/components/SettingsOptions/SettingsOptionCardContentSwitch';import { IconArrowBarToDown, IconPinned, IconShield } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';+import { H2Title } from 'twenty-ui/primitives/typography';import { type ApplicationRegistration } from '~/generated-metadata/graphql';import { UpdateAdminApplicationRegistrationDocument } from '~/generated-admin/graphql';import { styled } from '@linaria/react';diff --git a/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminChats.tsx b/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminChats.tsxindex 79f6445be4d..6642dfa58d9 100644--- a/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminChats.tsx+++ b/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminChats.tsx@@ -5,10 +5,10 @@ import { type ReactNode } from 'react';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath, isDefined } from 'twenty-shared/utils';import { IconDotsVertical } from 'twenty-ui/icon';-import { Button, SearchInput } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';+import { Button, SearchInput } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';-import { H2Title } from 'twenty-ui/typography';+import { H2Title } from 'twenty-ui/primitives/typography';import { AI_ADMIN_PATH } from '@/settings/admin-panel/ai/constants/AiAdminPath';import { SettingsAdminChatsContent } from '@/settings/admin-panel/chats/components/SettingsAdminChatsContent';diff --git a/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminIndicatorHealthStatus.tsx b/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminIndicatorHealthStatus.tsxindex 289b56cce0a..23a18c1deff 100644--- a/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminIndicatorHealthStatus.tsx+++ b/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminIndicatorHealthStatus.tsx@@ -10,8 +10,8 @@ import { useLingui } from '@lingui/react/macro';import { useParams } from 'react-router-dom';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath } from 'twenty-shared/utils';-import { H2Title, H3Title } from 'twenty-ui/typography';-import { Section } from 'twenty-ui/layout';+import { H2Title, H3Title } from 'twenty-ui/primitives/typography';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';import { useQuery } from '@apollo/client/react';import {diff --git a/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminInferredVersion.tsx b/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminInferredVersion.tsxindex 8c43075216a..ac4dbe6c7c9 100644--- a/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminInferredVersion.tsx+++ b/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminInferredVersion.tsx@@ -9,9 +9,9 @@ import { t } from '@lingui/core/macro';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath } from 'twenty-shared/utils';import { IconId } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { Button } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Button } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';import {GetInstanceAndAllWorkspacesUpgradeStatusDocument,diff --git a/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminInstanceStatus.tsx b/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminInstanceStatus.tsxindex 8b0afcdeba7..f1ae68a4afc 100644--- a/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminInstanceStatus.tsx+++ b/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminInstanceStatus.tsx@@ -13,16 +13,16 @@ import { isNonEmptyString } from '@sniptt/guards';import { useContext } from 'react';import { SettingsPath } from 'twenty-shared/types';import { formatUpgradeCommandName, getSettingsPath } from 'twenty-shared/utils';-import { Status } from 'twenty-ui/data-display';+import { Status } from 'twenty-ui/primitives/data-display';import {IconAlertTriangle,IconCalendar,IconProgressCheck,IconStatusChange,} from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { Button } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Button } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';import {GetInstanceAndAllWorkspacesUpgradeStatusDocument,diff --git a/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminNewAiModel.tsx b/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminNewAiModel.tsxindex 932746f630e..5a59c668fa1 100644--- a/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminNewAiModel.tsx+++ b/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminNewAiModel.tsx@@ -9,9 +9,9 @@ import { useNavigate, useParams } from 'react-router-dom';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath, isDefined } from 'twenty-shared/utils';import { IconPlus } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { Info } from 'twenty-ui/feedback';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Info } from 'twenty-ui/primitives/feedback';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';import { useApolloAdminClient } from '@/settings/admin-panel/apollo/hooks/useApolloAdminClient';@@ -28,7 +28,7 @@ import { TextInput } from '@/ui/input/components/TextInput';import { SettingsPageLayout } from '@/settings/components/layout/SettingsPageLayout';import { useCustomAiProviderAccess } from '@/settings/admin-panel/ai/hooks/useCustomAiProviderAccess';import { OrganizationAdornment } from '~/pages/settings/enterprise/components/OrganizationAdornment';-import { Checkbox, Switch } from 'twenty-ui/input';+import { Checkbox, Switch } from 'twenty-ui/primitives/input';const StyledComboInputContainer = styled.div`display: flex;diff --git a/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminNewAiProvider.tsx b/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminNewAiProvider.tsxindex 294f5ba9a15..8ff8a925086 100644--- a/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminNewAiProvider.tsx+++ b/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminNewAiProvider.tsx@@ -9,10 +9,10 @@ import { useNavigate } from 'react-router-dom';import { type AiSdkPackage, isDataResidency } from 'twenty-shared/ai';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath } from 'twenty-shared/utils';-import { Info } from 'twenty-ui/feedback';+import { Info } from 'twenty-ui/primitives/feedback';import { IconPlus } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Section } from 'twenty-ui/primitives/layout';import { AI_ADMIN_PATH } from '@/settings/admin-panel/ai/constants/AiAdminPath';import { DATA_RESIDENCY_OPTIONS } from '@/settings/admin-panel/ai/constants/DataResidencyOptions';diff --git a/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminQueueDetail.tsx b/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminQueueDetail.tsxindex 65ed699ac43..3f38b9ef3e7 100644--- a/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminQueueDetail.tsx+++ b/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminQueueDetail.tsx@@ -6,8 +6,8 @@ import { useState } from 'react';import { useParams } from 'react-router-dom';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath } from 'twenty-shared/utils';-import { H2Title } from 'twenty-ui/typography';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Section } from 'twenty-ui/primitives/layout';export const SettingsAdminQueueDetail = () => {const { queueName } = useParams<{ queueName: string }>();diff --git a/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminUserDetail.tsx b/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminUserDetail.tsxindex 3a52aa56f01..179c2980cc3 100644--- a/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminUserDetail.tsx+++ b/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminUserDetail.tsx@@ -34,10 +34,10 @@ import {IconMail,IconUser,} from 'twenty-ui/icon';-import { Avatar } from 'twenty-ui/data-display';-import { H2Title } from 'twenty-ui/typography';-import { Button } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';+import { Avatar } from 'twenty-ui/primitives/data-display';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Button } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';import { REACT_APP_SERVER_BASE_URL } from '~/config';import {diff --git a/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminWorkspaceChatThread.tsx b/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminWorkspaceChatThread.tsxindex 69b106d976a..c68648a5c7e 100644--- a/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminWorkspaceChatThread.tsx+++ b/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminWorkspaceChatThread.tsx@@ -12,8 +12,8 @@ import { GET_ADMIN_CHAT_THREAD_MESSAGES } from '@/settings/admin-panel/graphql/qimport { SettingsPageContainer } from '@/settings/components/SettingsPageContainer';import { SettingsSkeletonLoader } from '@/settings/components/SettingsSkeletonLoader';import { SettingsPageLayout } from '@/settings/components/layout/SettingsPageLayout';-import { H2Title } from 'twenty-ui/typography';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Section } from 'twenty-ui/primitives/layout';import { type GetAdminChatThreadMessagesQuery } from '~/generated-admin/graphql';export const SettingsAdminWorkspaceChatThread = () => {diff --git a/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminWorkspaceDetail.tsx b/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminWorkspaceDetail.tsxindex 14b015a0d65..38ac40006dd 100644--- a/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminWorkspaceDetail.tsx+++ b/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminWorkspaceDetail.tsx@@ -40,7 +40,9 @@ import { TableRow } from '@/ui/layout/table/components/TableRow';import { DEFAULT_WORKSPACE_LOGO } from '@/ui/navigation/navigation-drawer/constants/DefaultWorkspaceLogo';import { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentStateValue';import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';-import { Avatar } from 'twenty-ui/data-display';+import { Avatar } from 'twenty-ui/primitives/data-display';+import { Switch, Button } from 'twenty-ui/primitives/input';+import { Text, H2Title } from 'twenty-ui/primitives/typography';import {IconCreditCard,IconEyeShare,@@ -53,10 +55,8 @@ import {Card,OverflowingTextWithTooltip,TooltipPosition,-} from 'twenty-ui/surfaces';-import { H2Title, Text } from 'twenty-ui/typography';-import { Button, Switch } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';+} from 'twenty-ui/primitives/surfaces';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';import { getAbsoluteImageUrl } from '~/utils/image/getAbsoluteImageUrl';import {diff --git a/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminWorkspacesStatus.tsx b/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminWorkspacesStatus.tsxindex 31ae845981e..95785426087 100644--- a/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminWorkspacesStatus.tsx+++ b/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminWorkspacesStatus.tsx@@ -9,9 +9,9 @@ import { styled } from '@linaria/react';import { plural, t } from '@lingui/core/macro';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath } from 'twenty-shared/utils';-import { H2Title } from 'twenty-ui/typography';-import { Button } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Button } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';import {GetInstanceAndAllWorkspacesUpgradeStatusDocument,diff --git a/packages/twenty-front/src/pages/settings/ai/SettingsAI.tsx b/packages/twenty-front/src/pages/settings/ai/SettingsAI.tsxindex 66b466be618..58a8fab9027 100644--- a/packages/twenty-front/src/pages/settings/ai/SettingsAI.tsx+++ b/packages/twenty-front/src/pages/settings/ai/SettingsAI.tsx@@ -16,9 +16,9 @@ import {IconSparkle2,IconTool,} from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';-import { UndecoratedLink } from 'twenty-ui/navigation';+import { Button } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';+import { UndecoratedLink } from 'twenty-ui/primitives/navigation';import { SettingsAgentSkillsTab } from '~/pages/settings/ai/components/SettingsAgentSkillsTab';import { SettingsAgentToolsTab } from '~/pages/settings/ai/components/SettingsAgentToolsTab';import { SettingsAiSystemPromptsSection } from '~/pages/settings/ai/components/SettingsAiSystemPromptsSection';diff --git a/packages/twenty-front/src/pages/settings/ai/SettingsAgentForm.tsx b/packages/twenty-front/src/pages/settings/ai/SettingsAgentForm.tsxindex 5e30e692d4a..9cede5b8376 100644--- a/packages/twenty-front/src/pages/settings/ai/SettingsAgentForm.tsx+++ b/packages/twenty-front/src/pages/settings/ai/SettingsAgentForm.tsx@@ -4,7 +4,7 @@ import { useContext } from 'react';import { useParams } from 'react-router-dom';import { isDefined } from 'twenty-shared/utils';import { useIcons } from 'twenty-ui/icon';-import { Section } from 'twenty-ui/layout';+import { Section } from 'twenty-ui/primitives/layout';import { ThemeContext } from 'twenty-ui/theme-constants';import { SettingsPageContainer } from '@/settings/components/SettingsPageContainer';diff --git a/packages/twenty-front/src/pages/settings/ai/SettingsAgentTurnDetail.tsx b/packages/twenty-front/src/pages/settings/ai/SettingsAgentTurnDetail.tsxindex bdfee266d9c..d190f9cccd9 100644--- a/packages/twenty-front/src/pages/settings/ai/SettingsAgentTurnDetail.tsx+++ b/packages/twenty-front/src/pages/settings/ai/SettingsAgentTurnDetail.tsx@@ -14,9 +14,9 @@ import { Suspense } from 'react';import { useParams } from 'react-router-dom';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath } from 'twenty-shared/utils';-import { Status } from 'twenty-ui/data-display';-import { H2Title } from 'twenty-ui/typography';-import { Section } from 'twenty-ui/layout';+import { Status } from 'twenty-ui/primitives/data-display';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';import {type AgentMessage,diff --git a/packages/twenty-front/src/pages/settings/ai/SettingsAiPrompts.tsx b/packages/twenty-front/src/pages/settings/ai/SettingsAiPrompts.tsxindex 3b14d745747..44c92284ab7 100644--- a/packages/twenty-front/src/pages/settings/ai/SettingsAiPrompts.tsx+++ b/packages/twenty-front/src/pages/settings/ai/SettingsAiPrompts.tsx@@ -14,8 +14,8 @@ import {getValidTimeZoneOrUndefined,isDefined,} from 'twenty-shared/utils';-import { H2Title, H3Title } from 'twenty-ui/typography';-import { Section } from 'twenty-ui/layout';+import { H2Title, H3Title } from 'twenty-ui/primitives/typography';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';import { GetAiSystemPromptPreviewDocument } from '~/generated-metadata/graphql';import { formatNumber } from '~/utils/format/formatNumber';diff --git a/packages/twenty-front/src/pages/settings/ai/SettingsAiUsageUserDetail.tsx b/packages/twenty-front/src/pages/settings/ai/SettingsAiUsageUserDetail.tsxindex 9c7e1aa734a..23e040d46ca 100644--- a/packages/twenty-front/src/pages/settings/ai/SettingsAiUsageUserDetail.tsx+++ b/packages/twenty-front/src/pages/settings/ai/SettingsAiUsageUserDetail.tsx@@ -12,7 +12,7 @@ import { Trans, useLingui } from '@lingui/react/macro';import { useParams } from 'react-router-dom';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath } from 'twenty-shared/utils';-import { Section } from 'twenty-ui/layout';+import { Section } from 'twenty-ui/primitives/layout';export const SettingsAiUsageUserDetail = () => {const { t: tLingui } = useLingui();diff --git a/packages/twenty-front/src/pages/settings/ai/SettingsSkillForm.tsx b/packages/twenty-front/src/pages/settings/ai/SettingsSkillForm.tsxindex 22c2781a6a4..1d8b4fcbbe0 100644--- a/packages/twenty-front/src/pages/settings/ai/SettingsSkillForm.tsx+++ b/packages/twenty-front/src/pages/settings/ai/SettingsSkillForm.tsx@@ -5,7 +5,7 @@ import Skeleton from 'react-loading-skeleton';import { useParams } from 'react-router-dom';import { isDefined } from 'twenty-shared/utils';import { useIcons } from 'twenty-ui/icon';-import { Section } from 'twenty-ui/layout';+import { Section } from 'twenty-ui/primitives/layout';import { ThemeContext } from 'twenty-ui/theme-constants';import { SettingsPageContainer } from '@/settings/components/SettingsPageContainer';diff --git a/packages/twenty-front/src/pages/settings/ai/SettingsToolDetail.tsx b/packages/twenty-front/src/pages/settings/ai/SettingsToolDetail.tsxindex da71eb3fec7..497662d46e8 100644--- a/packages/twenty-front/src/pages/settings/ai/SettingsToolDetail.tsx+++ b/packages/twenty-front/src/pages/settings/ai/SettingsToolDetail.tsx@@ -19,9 +19,9 @@ import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateimport { SettingsPath } from 'twenty-shared/types';import { getSettingsPath, isDefined, isValidUuid } from 'twenty-shared/utils';import { IconTrash } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { Button } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Button } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';import { ThemeContext } from 'twenty-ui/theme-constants';import { useDebouncedCallback } from 'use-debounce';diff --git a/packages/twenty-front/src/pages/settings/ai/components/SettingsAgentEvalsTab.tsx b/packages/twenty-front/src/pages/settings/ai/components/SettingsAgentEvalsTab.tsxindex 8b5df87f5ea..0b9f478099e 100644--- a/packages/twenty-front/src/pages/settings/ai/components/SettingsAgentEvalsTab.tsx+++ b/packages/twenty-front/src/pages/settings/ai/components/SettingsAgentEvalsTab.tsx@@ -24,9 +24,9 @@ import {IconPlus,IconTrash,} from 'twenty-ui/icon';-import { Button, LightIconButton } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';-import { MenuItem } from 'twenty-ui/navigation';+import { Button, LightIconButton } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { themeCssVariables } from 'twenty-ui/theme-constants';import { v4 as uuidv4 } from 'uuid';import { SETTINGS_AGENT_DETAIL_TABS } from '~/pages/settings/ai/constants/SettingsAgentDetailTabs';diff --git a/packages/twenty-front/src/pages/settings/ai/components/SettingsAgentFormContent.tsx b/packages/twenty-front/src/pages/settings/ai/components/SettingsAgentFormContent.tsxindex a43ee48c4b4..1e8fd443244 100644--- a/packages/twenty-front/src/pages/settings/ai/components/SettingsAgentFormContent.tsx+++ b/packages/twenty-front/src/pages/settings/ai/components/SettingsAgentFormContent.tsx@@ -10,7 +10,7 @@ import {IconTerminal,useIcons,} from 'twenty-ui/icon';-import { Section } from 'twenty-ui/layout';+import { Section } from 'twenty-ui/primitives/layout';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';import { SaveAndCancelButtons } from '@/settings/components/SaveAndCancelButtons/SaveAndCancelButtons';diff --git a/packages/twenty-front/src/pages/settings/ai/components/SettingsAgentLogsTab.tsx b/packages/twenty-front/src/pages/settings/ai/components/SettingsAgentLogsTab.tsxindex fa5771c3006..c2572238da5 100644--- a/packages/twenty-front/src/pages/settings/ai/components/SettingsAgentLogsTab.tsx+++ b/packages/twenty-front/src/pages/settings/ai/components/SettingsAgentLogsTab.tsx@@ -9,17 +9,17 @@ import { useEffect, useState } from 'react';import Skeleton from 'react-loading-skeleton';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath, isDefined } from 'twenty-shared/utils';-import { Status } from 'twenty-ui/data-display';+import { Status } from 'twenty-ui/primitives/data-display';import { IconChevronRight } from 'twenty-ui/icon';-import { Button, LightIconButton } from 'twenty-ui/input';+import { Button, LightIconButton } from 'twenty-ui/primitives/input';import {AnimatedPlaceholder,AnimatedPlaceholderEmptyContainer,AnimatedPlaceholderEmptySubTitle,AnimatedPlaceholderEmptyTextContainer,AnimatedPlaceholderEmptyTitle,-} from 'twenty-ui/feedback';-import { UndecoratedLink } from 'twenty-ui/navigation';+} from 'twenty-ui/primitives/feedback';+import { UndecoratedLink } from 'twenty-ui/primitives/navigation';import { themeCssVariables } from 'twenty-ui/theme-constants';import { useMutation, useQuery } from '@apollo/client/react';import {diff --git a/packages/twenty-front/src/pages/settings/ai/components/SettingsAgentRoleTab.tsx b/packages/twenty-front/src/pages/settings/ai/components/SettingsAgentRoleTab.tsxindex cf700859e93..12f34685405 100644--- a/packages/twenty-front/src/pages/settings/ai/components/SettingsAgentRoleTab.tsx+++ b/packages/twenty-front/src/pages/settings/ai/components/SettingsAgentRoleTab.tsx@@ -11,9 +11,9 @@ import { useSetAtomFamilyState } from '@/ui/utilities/state/jotai/hooks/useSetAtimport { isNonEmptyString } from '@sniptt/guards';import { isDefined } from 'twenty-shared/utils';import { IconPlus } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { Button } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Button } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';import { useMutation, useQuery } from '@apollo/client/react';import {diff --git a/packages/twenty-front/src/pages/settings/ai/components/SettingsAgentSettingsTab.tsx b/packages/twenty-front/src/pages/settings/ai/components/SettingsAgentSettingsTab.tsxindex 6e42f1fd1fe..e14e6a8a4f7 100644--- a/packages/twenty-front/src/pages/settings/ai/components/SettingsAgentSettingsTab.tsx+++ b/packages/twenty-front/src/pages/settings/ai/components/SettingsAgentSettingsTab.tsx@@ -10,9 +10,9 @@ import { TextArea } from '@/ui/input/components/TextArea';import { useModal } from '@/ui/layout/modal/hooks/useModal';import { isDefined } from 'twenty-shared/utils';import { IconTrash } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { Button } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Button } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';import { type Agent } from '~/generated-metadata/graphql';import { SettingsAgentDeleteConfirmationModal } from '~/pages/settings/ai/components/SettingsAgentDeleteConfirmationModal';diff --git a/packages/twenty-front/src/pages/settings/ai/components/SettingsAgentSkillsTab.tsx b/packages/twenty-front/src/pages/settings/ai/components/SettingsAgentSkillsTab.tsxindex 9795894e8f0..1dd72e41f5a 100644--- a/packages/twenty-front/src/pages/settings/ai/components/SettingsAgentSkillsTab.tsx+++ b/packages/twenty-front/src/pages/settings/ai/components/SettingsAgentSkillsTab.tsx@@ -11,14 +11,14 @@ import { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';import { useMemo, useState } from 'react';import { IconArchive, IconSettings } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { SearchInput } from 'twenty-ui/input';-import { MenuItemSwitch } from 'twenty-ui/navigation';+import { H2Title } from 'twenty-ui/primitives/typography';+import { SearchInput } from 'twenty-ui/primitives/input';+import { MenuItemSwitch } from 'twenty-ui/primitives/navigation';import { themeCssVariables } from 'twenty-ui/theme-constants';import { useMutation, useQuery } from '@apollo/client/react';import { isDefined } from 'twenty-shared/utils';-import { Section } from 'twenty-ui/layout';+import { Section } from 'twenty-ui/primitives/layout';import {ActivateSkillDocument,DeleteSkillDocument,diff --git a/packages/twenty-front/src/pages/settings/ai/components/SettingsAgentToolsTab.tsx b/packages/twenty-front/src/pages/settings/ai/components/SettingsAgentToolsTab.tsxindex 15d7bc4a6e8..b9faa3d8a69 100644--- a/packages/twenty-front/src/pages/settings/ai/components/SettingsAgentToolsTab.tsx+++ b/packages/twenty-front/src/pages/settings/ai/components/SettingsAgentToolsTab.tsx@@ -7,10 +7,10 @@ import { DropdownContent } from '@/ui/layout/dropdown/components/DropdownContentimport { DropdownMenuItemsContainer } from '@/ui/layout/dropdown/components/DropdownMenuItemsContainer';import { isDefined } from 'twenty-shared/utils';import { IconLock, IconPuzzle, IconTool } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { SearchInput } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';-import { MenuItemSwitch } from 'twenty-ui/navigation';+import { H2Title } from 'twenty-ui/primitives/typography';+import { SearchInput } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';+import { MenuItemSwitch } from 'twenty-ui/primitives/navigation';import { themeCssVariables } from 'twenty-ui/theme-constants';import { SettingsAgentToolsTable } from '~/pages/settings/ai/components/SettingsAgentToolsTable';import { useSettingsAgentToolsTable } from '~/pages/settings/ai/hooks/useSettingsAgentToolsTable';diff --git a/packages/twenty-front/src/pages/settings/ai/components/SettingsAiModelTiersPreview.tsx b/packages/twenty-front/src/pages/settings/ai/components/SettingsAiModelTiersPreview.tsxindex accd255e47c..4b08bda487e 100644--- a/packages/twenty-front/src/pages/settings/ai/components/SettingsAiModelTiersPreview.tsx+++ b/packages/twenty-front/src/pages/settings/ai/components/SettingsAiModelTiersPreview.tsx@@ -1,9 +1,9 @@import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';import { isDefined } from 'twenty-shared/utils';-import { H2Title } from 'twenty-ui/typography';-import { Section } from 'twenty-ui/layout';-import { AppTooltip, TooltipDelay } from 'twenty-ui/surfaces';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Section } from 'twenty-ui/primitives/layout';+import { AppTooltip, TooltipDelay } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';import { AiModelTierIndicator } from '@/ai/components/AiModelTierIndicator';diff --git a/packages/twenty-front/src/pages/settings/ai/components/SettingsAiModelsTab.tsx b/packages/twenty-front/src/pages/settings/ai/components/SettingsAiModelsTab.tsxindex 3281bce07c4..24e96025abb 100644--- a/packages/twenty-front/src/pages/settings/ai/components/SettingsAiModelsTab.tsx+++ b/packages/twenty-front/src/pages/settings/ai/components/SettingsAiModelsTab.tsx@@ -1,9 +1,9 @@import { t } from '@lingui/core/macro';import { AI_MODEL_TIERS, type AiModelTier } from 'twenty-shared/ai';import { IconMessage, IconRobot, IconWand } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { Section } from 'twenty-ui/layout';-import { Card } from 'twenty-ui/surfaces';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Section } from 'twenty-ui/primitives/layout';+import { Card } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';import { AiModelTierIndicator } from '@/ai/components/AiModelTierIndicator';diff --git a/packages/twenty-front/src/pages/settings/ai/components/SettingsAiOverviewTab.tsx b/packages/twenty-front/src/pages/settings/ai/components/SettingsAiOverviewTab.tsxindex 94808f09e1a..6c3bd1d69c5 100644--- a/packages/twenty-front/src/pages/settings/ai/components/SettingsAiOverviewTab.tsx+++ b/packages/twenty-front/src/pages/settings/ai/components/SettingsAiOverviewTab.tsx@@ -11,9 +11,9 @@ import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';import { Fragment, useContext, useState } from 'react';import { IconBook, IconMessage, IconSparkles, IconTool } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { Section } from 'twenty-ui/layout';-import { UndecoratedLink } from 'twenty-ui/navigation';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Section } from 'twenty-ui/primitives/layout';+import { UndecoratedLink } from 'twenty-ui/primitives/navigation';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath } from 'twenty-shared/utils';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';diff --git a/packages/twenty-front/src/pages/settings/ai/components/SettingsAiSystemPromptsSection.tsx b/packages/twenty-front/src/pages/settings/ai/components/SettingsAiSystemPromptsSection.tsxindex ddd17dc0edd..9c50919a15f 100644--- a/packages/twenty-front/src/pages/settings/ai/components/SettingsAiSystemPromptsSection.tsx+++ b/packages/twenty-front/src/pages/settings/ai/components/SettingsAiSystemPromptsSection.tsx@@ -4,9 +4,9 @@ import { useContext } from 'react';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath, isDefined } from 'twenty-shared/utils';import { IconPrompt } from 'twenty-ui/icon';-import { Section } from 'twenty-ui/layout';-import { UndecoratedLink } from 'twenty-ui/navigation';-import { H2Title } from 'twenty-ui/typography';+import { Section } from 'twenty-ui/primitives/layout';+import { UndecoratedLink } from 'twenty-ui/primitives/navigation';+import { H2Title } from 'twenty-ui/primitives/typography';import { ThemeContext } from 'twenty-ui/theme-constants';import { SettingsCard } from '@/settings/components/SettingsCard';import { GetAiSystemPromptPreviewDocument } from '~/generated-metadata/graphql';diff --git a/packages/twenty-front/src/pages/settings/ai/components/SettingsAiUsageTab.tsx b/packages/twenty-front/src/pages/settings/ai/components/SettingsAiUsageTab.tsxindex 2ed317e255c..dff09b2d113 100644--- a/packages/twenty-front/src/pages/settings/ai/components/SettingsAiUsageTab.tsx+++ b/packages/twenty-front/src/pages/settings/ai/components/SettingsAiUsageTab.tsx@@ -14,8 +14,8 @@ import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateimport { t } from '@lingui/core/macro';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath } from 'twenty-shared/utils';-import { H2Title } from 'twenty-ui/typography';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Section } from 'twenty-ui/primitives/layout';import { OrganizationAdornment } from '~/pages/settings/enterprise/components/OrganizationAdornment';export const SettingsAiUsageTab = () => {diff --git a/packages/twenty-front/src/pages/settings/ai/components/SettingsSkillDangerZone.tsx b/packages/twenty-front/src/pages/settings/ai/components/SettingsSkillDangerZone.tsxindex bfd19c20791..622cb56f2f6 100644--- a/packages/twenty-front/src/pages/settings/ai/components/SettingsSkillDangerZone.tsx+++ b/packages/twenty-front/src/pages/settings/ai/components/SettingsSkillDangerZone.tsx@@ -5,10 +5,10 @@ import { t } from '@lingui/core/macro';import { useState } from 'react';import { SettingsPath } from 'twenty-shared/types';import { IconArchive, IconArchiveOff, IconTrash } from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';+import { Button } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';-import { H2Title } from 'twenty-ui/typography';+import { H2Title } from 'twenty-ui/primitives/typography';import { useSnackBar } from '@/ui/feedback/snack-bar-manager/hooks/useSnackBar';import { ConfirmationModal } from '@/ui/layout/modal/components/ConfirmationModal';diff --git a/packages/twenty-front/src/pages/settings/ai/components/SettingsSkillFormContent.tsx b/packages/twenty-front/src/pages/settings/ai/components/SettingsSkillFormContent.tsxindex 313e77a34db..045f021beee 100644--- a/packages/twenty-front/src/pages/settings/ai/components/SettingsSkillFormContent.tsx+++ b/packages/twenty-front/src/pages/settings/ai/components/SettingsSkillFormContent.tsx@@ -4,10 +4,10 @@ import { useContext, useState } from 'react';import { SettingsPath } from 'twenty-shared/types';import { isDefined } from 'twenty-shared/utils';import { IconInfoCircle, IconRefresh, useIcons } from 'twenty-ui/icon';-import { Section } from 'twenty-ui/layout';-import { AppTooltip, Card, TooltipDelay } from 'twenty-ui/surfaces';+import { Section } from 'twenty-ui/primitives/layout';+import { AppTooltip, Card, TooltipDelay } from 'twenty-ui/primitives/surfaces';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';-import { H2Title } from 'twenty-ui/typography';+import { H2Title } from 'twenty-ui/primitives/typography';import { FormAdvancedTextFieldInput } from '@/advanced-text-editor/components/FormAdvancedTextFieldInput';import { AI_INSTRUCTIONS_EDITOR_PROFILE } from '@/ai/constants/AiInstructionsEditorProfile';diff --git a/packages/twenty-front/src/pages/settings/ai/components/SettingsSkillInactiveMenuDropDown.tsx b/packages/twenty-front/src/pages/settings/ai/components/SettingsSkillInactiveMenuDropDown.tsxindex a8b8a2b600e..f4bb6e93219 100644--- a/packages/twenty-front/src/pages/settings/ai/components/SettingsSkillInactiveMenuDropDown.tsx+++ b/packages/twenty-front/src/pages/settings/ai/components/SettingsSkillInactiveMenuDropDown.tsx@@ -5,8 +5,8 @@ import { GenericDropdownContentWidth } from '@/ui/layout/dropdown/constants/Geneimport { useCloseDropdown } from '@/ui/layout/dropdown/hooks/useCloseDropdown';import { t } from '@lingui/core/macro';import { IconArchiveOff, IconDotsVertical, IconTrash } from 'twenty-ui/icon';-import { LightIconButton } from 'twenty-ui/input';-import { MenuItem } from 'twenty-ui/navigation';+import { LightIconButton } from 'twenty-ui/primitives/input';+import { MenuItem } from 'twenty-ui/primitives/navigation';type SettingsSkillInactiveMenuDropDownProps = {isCustomSkill: boolean;diff --git a/packages/twenty-front/src/pages/settings/ai/components/SettingsSkillTableRow.tsx b/packages/twenty-front/src/pages/settings/ai/components/SettingsSkillTableRow.tsxindex 6c8d5f015eb..0e525b253ac 100644--- a/packages/twenty-front/src/pages/settings/ai/components/SettingsSkillTableRow.tsx+++ b/packages/twenty-front/src/pages/settings/ai/components/SettingsSkillTableRow.tsx@@ -5,7 +5,7 @@ import { SettingsItemTypeTag } from '@/settings/components/SettingsItemTypeTag';import { TableCell } from '@/ui/layout/table/components/TableCell';import { TableRow } from '@/ui/layout/table/components/TableRow';import { useIcons } from 'twenty-ui/icon';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';import { type Skill } from '~/generated-metadata/graphql';diff --git a/packages/twenty-front/src/pages/settings/ai/components/SettingsToolIcon.tsx b/packages/twenty-front/src/pages/settings/ai/components/SettingsToolIcon.tsxindex 5155bd5f9ae..9229c4925aa 100644--- a/packages/twenty-front/src/pages/settings/ai/components/SettingsToolIcon.tsx+++ b/packages/twenty-front/src/pages/settings/ai/components/SettingsToolIcon.tsx@@ -5,7 +5,10 @@ import { useObjectMetadataItems } from '@/object-metadata/hooks/useObjectMetadatimport { getObjectColorWithFallback } from '@/object-metadata/utils/getObjectColorWithFallback';import { getAbsoluteImageUrl } from '~/utils/image/getAbsoluteImageUrl';import { isDefined } from 'twenty-shared/utils';-import { Avatar, getIconTileColorShades } from 'twenty-ui/data-display';+import {+ Avatar,+ getIconTileColorShades,+} from 'twenty-ui/primitives/data-display';import {IconEdit,IconPlus,diff --git a/packages/twenty-front/src/pages/settings/ai/components/SettingsToolParameterTable.tsx b/packages/twenty-front/src/pages/settings/ai/components/SettingsToolParameterTable.tsxindex abc7f14b70b..ebacdaef525 100644--- a/packages/twenty-front/src/pages/settings/ai/components/SettingsToolParameterTable.tsx+++ b/packages/twenty-front/src/pages/settings/ai/components/SettingsToolParameterTable.tsx@@ -23,9 +23,9 @@ import {AppTooltip,OverflowingTextWithTooltip,TooltipDelay,-} from 'twenty-ui/surfaces';-import { Button } from 'twenty-ui/input';-import { UndecoratedLink } from 'twenty-ui/navigation';+} from 'twenty-ui/primitives/surfaces';+import { Button } from 'twenty-ui/primitives/input';+import { UndecoratedLink } from 'twenty-ui/primitives/navigation';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';type SchemaProperty = {diff --git a/packages/twenty-front/src/pages/settings/ai/components/SettingsToolTableRow.tsx b/packages/twenty-front/src/pages/settings/ai/components/SettingsToolTableRow.tsxindex 3a71be8ee74..09ab0d35bbc 100644--- a/packages/twenty-front/src/pages/settings/ai/components/SettingsToolTableRow.tsx+++ b/packages/twenty-front/src/pages/settings/ai/components/SettingsToolTableRow.tsx@@ -3,7 +3,7 @@ import { type ReactNode } from 'react';import { TableCell } from '@/ui/layout/table/components/TableCell';import { TableRow } from '@/ui/layout/table/components/TableRow';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';import { StyledNameTableCell } from '@/settings/data-model/object-details/components/SettingsObjectItemTableRowStyledComponents';import { AppChip } from '@/applications/components/AppChip';diff --git a/packages/twenty-front/src/pages/settings/api-webhooks/SettingsApiWebhooks.tsx b/packages/twenty-front/src/pages/settings/api-webhooks/SettingsApiWebhooks.tsxindex 47078ba2302..b17a049a6f7 100644--- a/packages/twenty-front/src/pages/settings/api-webhooks/SettingsApiWebhooks.tsx+++ b/packages/twenty-front/src/pages/settings/api-webhooks/SettingsApiWebhooks.tsx@@ -23,10 +23,10 @@ import {IconSparkles,IconWebhook,} from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';+import { Button } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';import { MOBILE_VIEWPORT, themeCssVariables } from 'twenty-ui/theme-constants';-import { H2Title } from 'twenty-ui/typography';+import { H2Title } from 'twenty-ui/primitives/typography';import { SETTINGS_API_WEBHOOKS_TABS } from '~/pages/settings/api-webhooks/constants/SettingsApiWebhooksTabs';type TabKey =diff --git a/packages/twenty-front/src/pages/settings/applications/SettingsApplicationConnectionDetail.tsx b/packages/twenty-front/src/pages/settings/applications/SettingsApplicationConnectionDetail.tsxindex c1f0d2cb367..42842aa0803 100644--- a/packages/twenty-front/src/pages/settings/applications/SettingsApplicationConnectionDetail.tsx+++ b/packages/twenty-front/src/pages/settings/applications/SettingsApplicationConnectionDetail.tsx@@ -6,11 +6,11 @@ import { type ReactNode } from 'react';import { useParams } from 'react-router-dom';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath } from 'twenty-shared/utils';-import { Status, Tag } from 'twenty-ui/data-display';+import { Status, Tag } from 'twenty-ui/primitives/data-display';import { IconRefresh, IconTrash, IconUsers } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { Button } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Button } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';import { GET_MY_CONNECTED_ACCOUNTS } from '@/settings/accounts/graphql/queries/getMyConnectedAccounts';diff --git a/packages/twenty-front/src/pages/settings/applications/SettingsApplicationDetails.tsx b/packages/twenty-front/src/pages/settings/applications/SettingsApplicationDetails.tsxindex 188101b6972..6e00da5c73b 100644--- a/packages/twenty-front/src/pages/settings/applications/SettingsApplicationDetails.tsx+++ b/packages/twenty-front/src/pages/settings/applications/SettingsApplicationDetails.tsx@@ -24,7 +24,7 @@ import { useParams } from 'react-router-dom';import { type Manifest } from 'twenty-shared/application';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath, isDefined } from 'twenty-shared/utils';-import { InlineBanner } from 'twenty-ui/feedback';+import { InlineBanner } from 'twenty-ui/primitives/feedback';import {IconAlertTriangle,IconBox,diff --git a/packages/twenty-front/src/pages/settings/applications/SettingsApplicationRegistrationDetails.tsx b/packages/twenty-front/src/pages/settings/applications/SettingsApplicationRegistrationDetails.tsxindex dc891293a32..0588dff625e 100644--- a/packages/twenty-front/src/pages/settings/applications/SettingsApplicationRegistrationDetails.tsx+++ b/packages/twenty-front/src/pages/settings/applications/SettingsApplicationRegistrationDetails.tsx@@ -7,7 +7,7 @@ import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath, isDefined } from 'twenty-shared/utils';import { FindOneApplicationRegistrationDocument } from '~/generated-metadata/graphql';import { useLingui } from '@lingui/react/macro';-import { Avatar, Tag } from 'twenty-ui/data-display';+import { Avatar, Tag } from 'twenty-ui/primitives/data-display';import { SettingsPageContainer } from '@/settings/components/SettingsPageContainer';import {IconInfoCircle,diff --git a/packages/twenty-front/src/pages/settings/applications/SettingsApplications.tsx b/packages/twenty-front/src/pages/settings/applications/SettingsApplications.tsxindex e8ccf96f867..6ccfcbd2d0d 100644--- a/packages/twenty-front/src/pages/settings/applications/SettingsApplications.tsx+++ b/packages/twenty-front/src/pages/settings/applications/SettingsApplications.tsx@@ -13,7 +13,7 @@ import {IconShoppingBag,IconSparkle2,} from 'twenty-ui/icon';-import { Section } from 'twenty-ui/layout';+import { Section } from 'twenty-ui/primitives/layout';import { PermissionFlagType } from '~/generated-metadata/graphql';import coverDark from '~/pages/settings/applications/assets/cover-dark.png';import coverLight from '~/pages/settings/applications/assets/cover-light.png';diff --git a/packages/twenty-front/src/pages/settings/applications/SettingsAvailableApplicationDetails.tsx b/packages/twenty-front/src/pages/settings/applications/SettingsAvailableApplicationDetails.tsxindex 187714298b6..42f9acd61e3 100644--- a/packages/twenty-front/src/pages/settings/applications/SettingsAvailableApplicationDetails.tsx+++ b/packages/twenty-front/src/pages/settings/applications/SettingsAvailableApplicationDetails.tsx@@ -18,7 +18,7 @@ import { useNavigateSettings } from '~/hooks/useNavigateSettings';import { type Manifest } from 'twenty-shared/application';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath, isDefined } from 'twenty-shared/utils';-import { InlineBanner } from 'twenty-ui/feedback';+import { InlineBanner } from 'twenty-ui/primitives/feedback';import {IconBook,IconBox,diff --git a/packages/twenty-front/src/pages/settings/applications/components/SettingsAppModalLayout.tsx b/packages/twenty-front/src/pages/settings/applications/components/SettingsAppModalLayout.tsxindex dbac7795729..282a916a53b 100644--- a/packages/twenty-front/src/pages/settings/applications/components/SettingsAppModalLayout.tsx+++ b/packages/twenty-front/src/pages/settings/applications/components/SettingsAppModalLayout.tsx@@ -2,13 +2,13 @@ import { styled } from '@linaria/react';import React from 'react';import { ModalStatefulWrapper } from '@/ui/layout/modal/components/ModalStatefulWrapper';-import { Button } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';+import { Button } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';import {type ModalOverlay,type ModalPadding,type ModalSize,-} from 'twenty-ui/surfaces';+} from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';type StyledAppModalBaseProps = React.PropsWithChildren<{diff --git a/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationContentSubtable.tsx b/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationContentSubtable.tsxindex d65da86072b..151bfdf44cc 100644--- a/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationContentSubtable.tsx+++ b/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationContentSubtable.tsx@@ -8,7 +8,7 @@ import { TableSection } from '@/ui/layout/table/components/TableSection';import { useContext } from 'react';import { isDefined } from 'twenty-shared/utils';import { IconChevronRight, useIcons } from 'twenty-ui/icon';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';import { AppChip } from '@/applications/components/AppChip';diff --git a/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationRegistrationGeneralInfo.tsx b/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationRegistrationGeneralInfo.tsxindex efdffa76de3..3d15c80cc07 100644--- a/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationRegistrationGeneralInfo.tsx+++ b/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationRegistrationGeneralInfo.tsx@@ -5,7 +5,7 @@ import {IconVersions,IconWorld,} from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';+import { H2Title } from 'twenty-ui/primitives/typography';import { Trans, useLingui } from '@lingui/react/macro';import { useRefetchOnApplicationOperation } from '@/applications/hooks/useRefetchOnApplicationOperation';import {@@ -23,9 +23,9 @@ import { isNonEmptyString } from '@sniptt/guards';import { styled } from '@linaria/react';import { themeCssVariables } from 'twenty-ui/theme-constants';import { useQuery } from '@apollo/client/react';-import { AvatarOrIcon, Chip, Tag } from 'twenty-ui/data-display';+import { AvatarOrIcon, Chip, Tag } from 'twenty-ui/primitives/data-display';import { getSettingsPath, isDefined } from 'twenty-shared/utils';-import { Section } from 'twenty-ui/layout';+import { Section } from 'twenty-ui/primitives/layout';import { SettingsPath } from 'twenty-shared/types';import { SettingsApplicationRegistrationShareLinkButtons } from '~/pages/settings/applications/components/SettingsApplicationRegistrationShareLinkButtons';import { getAbsoluteImageUrl } from '~/utils/image/getAbsoluteImageUrl';diff --git a/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationRegistrationGeneralStats.tsx b/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationRegistrationGeneralStats.tsxindex 3788daae83d..8230decd561 100644--- a/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationRegistrationGeneralStats.tsx+++ b/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationRegistrationGeneralStats.tsx@@ -1,6 +1,6 @@import { useLingui } from '@lingui/react/macro';-import { Section } from 'twenty-ui/layout';-import { H2Title } from 'twenty-ui/typography';+import { Section } from 'twenty-ui/primitives/layout';+import { H2Title } from 'twenty-ui/primitives/typography';import { type ApplicationRegistration } from '~/generated-metadata/graphql';import { SettingsApplicationRegistrationInstalledWorkspaces } from '~/pages/settings/applications/components/SettingsApplicationRegistrationInstalledWorkspaces';import { SettingsApplicationRegistrationInstallStats } from '~/pages/settings/applications/components/SettingsApplicationRegistrationInstallStats';diff --git a/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationRegistrationInstalledWorkspaces.tsx b/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationRegistrationInstalledWorkspaces.tsxindex 5cf85b87f18..46d71c85fe8 100644--- a/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationRegistrationInstalledWorkspaces.tsx+++ b/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationRegistrationInstalledWorkspaces.tsx@@ -4,11 +4,11 @@ import { useLingui } from '@lingui/react/macro';import { useState } from 'react';import { useDebounce } from 'use-debounce';import { getSettingsPath, isDefined } from 'twenty-shared/utils';-import { Avatar } from 'twenty-ui/data-display';+import { Avatar } from 'twenty-ui/primitives/data-display';import { IconChevronDown, IconDotsVertical } from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';+import { Button } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';import { SettingsEmptyPlaceholder } from '@/settings/components/SettingsEmptyPlaceholder';diff --git a/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationRegistrationRedirectURIsInput.tsx b/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationRegistrationRedirectURIsInput.tsxindex 46e56595b99..c8d12723182 100644--- a/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationRegistrationRedirectURIsInput.tsx+++ b/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationRegistrationRedirectURIsInput.tsx@@ -6,7 +6,7 @@ import { z } from 'zod';import { SettingsTextInput } from '@/ui/input/components/SettingsTextInput';import { useLingui } from '@lingui/react/macro';-import { Button } from 'twenty-ui/input';+import { Button } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledContainer = styled.div`diff --git a/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationRegistrationRedirectURIsTable.tsx b/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationRegistrationRedirectURIsTable.tsxindex d22eb7f477c..cc27c048d20 100644--- a/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationRegistrationRedirectURIsTable.tsx+++ b/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationRegistrationRedirectURIsTable.tsx@@ -7,8 +7,8 @@ import { t } from '@lingui/core/macro';import { themeCssVariables } from 'twenty-ui/theme-constants';import { TableCell } from '@/ui/layout/table/components/TableCell';import { IconX } from 'twenty-ui/icon';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';-import { IconButton } from 'twenty-ui/input';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';+import { IconButton } from 'twenty-ui/primitives/input';type SettingsApplicationRegistrationRedirectURIsTableProps = {redirectUris: string[];diff --git a/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationRegistrationShareLinkButtons.tsx b/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationRegistrationShareLinkButtons.tsxindex b3eefc6b20b..6232c2acf06 100644--- a/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationRegistrationShareLinkButtons.tsx+++ b/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationRegistrationShareLinkButtons.tsx@@ -11,7 +11,7 @@ import {IconDownload,IconInfoCircle,} from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';+import { Button } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';import { FindMarketplaceAppDetailDocument } from '~/generated-metadata/graphql';import { useCopyToClipboard } from '~/hooks/useCopyToClipboard';diff --git a/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationTableRow.tsx b/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationTableRow.tsxindex 4653ae48079..45985f18e5c 100644--- a/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationTableRow.tsx+++ b/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationTableRow.tsx@@ -5,8 +5,8 @@ import { useResolvedApplicationDescription } from '@/applications/hooks/useResolimport { TableCell } from '@/ui/layout/table/components/TableCell';import { TableRow } from '@/ui/layout/table/components/TableRow';import { t } from '@lingui/core/macro';-import { Tag } from 'twenty-ui/data-display';-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';+import { Tag } from 'twenty-ui/primitives/data-display';+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';import { getApplicationDescriptionSummary } from '~/pages/settings/applications/utils/getApplicationDescriptionSummary';import { type ApplicationDisplayData } from '@/applications/types/applicationDisplayData.type';diff --git a/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationVariableInput.tsx b/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationVariableInput.tsxindex 7987c330e80..3c7cb70be53 100644--- a/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationVariableInput.tsx+++ b/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationVariableInput.tsx@@ -16,7 +16,7 @@ import {} from 'twenty-shared/application';import { FieldMetadataType } from 'twenty-shared/types';import { isDefined } from 'twenty-shared/utils';-import { type SelectOption } from 'twenty-ui/input';+import { type SelectOption } from 'twenty-ui/primitives/input';type SettingsApplicationVariableInputProps = {type?: string | null;diff --git a/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationVariableLabelRow.tsx b/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationVariableLabelRow.tsxindex e93667a1f62..37a5015a952 100644--- a/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationVariableLabelRow.tsx+++ b/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationVariableLabelRow.tsx@@ -2,9 +2,9 @@ import { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';import { isNonEmptyString } from '@sniptt/guards';import { useContext } from 'react';-import { Pill } from 'twenty-ui/data-display';+import { Pill } from 'twenty-ui/primitives/data-display';import { IconInfoCircle } from 'twenty-ui/icon';-import { AppTooltip, TooltipDelay } from 'twenty-ui/surfaces';+import { AppTooltip, TooltipDelay } from 'twenty-ui/primitives/surfaces';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';const StyledLabelRow = styled.div`diff --git a/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationsTable.tsx b/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationsTable.tsxindex 8d332830542..4e0be290db9 100644--- a/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationsTable.tsx+++ b/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationsTable.tsx@@ -1,5 +1,5 @@import { IconChevronRight } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';+import { H2Title } from 'twenty-ui/primitives/typography';import { TableHeader } from '@/ui/layout/table/components/TableHeader';import { TableRow } from '@/ui/layout/table/components/TableRow';import { getSettingsPath, isDefined } from 'twenty-shared/utils';@@ -14,8 +14,8 @@ import {import { useContext, useState } from 'react';import { type ApplicationWithoutRelation } from '~/pages/settings/applications/types/applicationWithoutRelation';import { isNewerSemver } from '~/pages/settings/applications/utils/isNewerSemver';-import { Section } from 'twenty-ui/layout';-import { SearchInput } from 'twenty-ui/input';+import { Section } from 'twenty-ui/primitives/layout';+import { SearchInput } from 'twenty-ui/primitives/input';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';import { ApplicationRegistrationSourceType } from '~/generated-metadata/graphql';diff --git a/packages/twenty-front/src/pages/settings/applications/components/SettingsAvailableApplicationCard.tsx b/packages/twenty-front/src/pages/settings/applications/components/SettingsAvailableApplicationCard.tsxindex ba780dd3057..4ab696c81a9 100644--- a/packages/twenty-front/src/pages/settings/applications/components/SettingsAvailableApplicationCard.tsx+++ b/packages/twenty-front/src/pages/settings/applications/components/SettingsAvailableApplicationCard.tsx@@ -8,8 +8,8 @@ import { t } from '@lingui/core/macro';import { Link } from 'react-router-dom';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath } from 'twenty-shared/utils';-import { Avatar } from 'twenty-ui/data-display';-import { Card } from 'twenty-ui/surfaces';+import { Avatar } from 'twenty-ui/primitives/data-display';+import { Card } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';import { type MarketplaceApp } from '~/generated-metadata/graphql';import { getApplicationDescriptionSummary } from '~/pages/settings/applications/utils/getApplicationDescriptionSummary';diff --git a/packages/twenty-front/src/pages/settings/applications/components/SettingsClaimApplicationSection.tsx b/packages/twenty-front/src/pages/settings/applications/components/SettingsClaimApplicationSection.tsxindex 7b639ba4e34..2fe5b4e7f33 100644--- a/packages/twenty-front/src/pages/settings/applications/components/SettingsClaimApplicationSection.tsx+++ b/packages/twenty-front/src/pages/settings/applications/components/SettingsClaimApplicationSection.tsx@@ -17,12 +17,12 @@ import {} from 'react-router-dom';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath, isDefined } from 'twenty-shared/utils';-import { Callout } from 'twenty-ui/feedback';+import { Callout } from 'twenty-ui/primitives/feedback';import { IconBrandGithub, IconRefresh, IconSearch } from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';+import { Button } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';-import { H2Title } from 'twenty-ui/typography';+import { H2Title } from 'twenty-ui/primitives/typography';import {FindClaimableApplicationRegistrationDocument,GithubClaimAuthorizationUrlDocument,diff --git a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationCommandMenuItemSettingsTab.tsx b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationCommandMenuItemSettingsTab.tsxindex 7269f3e9fe7..988e80b6341 100644--- a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationCommandMenuItemSettingsTab.tsx+++ b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationCommandMenuItemSettingsTab.tsx@@ -6,8 +6,8 @@ import { TableSection } from '@/ui/layout/table/components/TableSection';import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';import { type ReactNode } from 'react';-import { H2Title } from 'twenty-ui/typography';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';type SettingsApplicationCommandMenuItemSettingsTabProps = {diff --git a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationConnectionsSection.tsx b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationConnectionsSection.tsxindex 3fd2c47c17f..a35b505adb2 100644--- a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationConnectionsSection.tsx+++ b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationConnectionsSection.tsx@@ -9,12 +9,12 @@ import { Table } from '@/ui/layout/table/components/Table';import { TableCell } from '@/ui/layout/table/components/TableCell';import { TableHeader } from '@/ui/layout/table/components/TableHeader';import { TableRow } from '@/ui/layout/table/components/TableRow';-import { Avatar, Status } from 'twenty-ui/data-display';-import { Info } from 'twenty-ui/feedback';+import { Avatar, Status } from 'twenty-ui/primitives/data-display';+import { Info } from 'twenty-ui/primitives/feedback';import { IconChevronRight, IconPlus } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { Button } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Button } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';import { useFindApplicationConnectionProviders } from '~/pages/settings/applications/hooks/useFindApplicationConnectionProviders';import { useApplicationConnectedAccounts } from '~/pages/settings/applications/hooks/useApplicationConnectedAccounts';diff --git a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationCustomSettingsSection.tsx b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationCustomSettingsSection.tsxindex f8c76fa3090..16a14fe73b8 100644--- a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationCustomSettingsSection.tsx+++ b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationCustomSettingsSection.tsx@@ -1,6 +1,6 @@import { styled } from '@linaria/react';import { Suspense, lazy } from 'react';-import { Section } from 'twenty-ui/layout';+import { Section } from 'twenty-ui/primitives/layout';import { FrontComponentSkeletonLoader } from '@/front-components/components/FrontComponentSkeletonLoader';diff --git a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationDetailAboutTab.tsx b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationDetailAboutTab.tsxindex a70fb7b007b..c4af026eefe 100644--- a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationDetailAboutTab.tsx+++ b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationDetailAboutTab.tsx@@ -6,8 +6,8 @@ import { t } from '@lingui/core/macro';import { Trans } from '@lingui/react/macro';import { isDefined } from 'twenty-shared/utils';import { IconCheck, IconDownload, IconTrash, IconUpload } from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';+import { Button } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';import {type ContentEntry,diff --git a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationDetailContentTab.tsx b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationDetailContentTab.tsxindex 3d11417fa5a..330060787a4 100644--- a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationDetailContentTab.tsx+++ b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationDetailContentTab.tsx@@ -7,9 +7,9 @@ import { useState } from 'react';import { type Manifest } from 'twenty-shared/application';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath, isDefined } from 'twenty-shared/utils';-import { H2Title } from 'twenty-ui/typography';-import { SearchInput } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { SearchInput } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';import { type ApplicationDisplayData } from '@/applications/types/applicationDisplayData.type';import { type Application } from '~/generated-metadata/graphql';import {diff --git a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationDetailEnvironmentVariablesTable.tsx b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationDetailEnvironmentVariablesTable.tsxindex ad35a2f7a4a..50094b4d25e 100644--- a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationDetailEnvironmentVariablesTable.tsx+++ b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationDetailEnvironmentVariablesTable.tsx@@ -2,8 +2,8 @@ import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';import { useState } from 'react';import { type ApplicationVariableOption } from 'twenty-shared/application';-import { H2Title } from 'twenty-ui/typography';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';import { useDebouncedCallback } from 'use-debounce';import { type ApplicationVariable } from '~/generated-metadata/graphql';diff --git a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationFrontComponentPreviewTab.tsx b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationFrontComponentPreviewTab.tsxindex 95897b18597..a24d2aabab7 100644--- a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationFrontComponentPreviewTab.tsx+++ b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationFrontComponentPreviewTab.tsx@@ -1,7 +1,7 @@import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';import { Suspense, lazy } from 'react';-import { Section } from 'twenty-ui/layout';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';import { FrontComponentSkeletonLoader } from '@/front-components/components/FrontComponentSkeletonLoader';diff --git a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationFrontComponentSettingsTab.tsx b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationFrontComponentSettingsTab.tsxindex c2179ae6f5b..ea5197f0168 100644--- a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationFrontComponentSettingsTab.tsx+++ b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationFrontComponentSettingsTab.tsx@@ -6,8 +6,8 @@ import { TableSection } from '@/ui/layout/table/components/TableSection';import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';import { type ReactNode } from 'react';-import { H2Title } from 'twenty-ui/typography';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';type SettingsApplicationFrontComponentSettingsTabProps = {diff --git a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationFunctionDomainSection.tsx b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationFunctionDomainSection.tsxindex e42d0a011f6..b8b08446c5d 100644--- a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationFunctionDomainSection.tsx+++ b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationFunctionDomainSection.tsx@@ -5,9 +5,9 @@ import { SettingsPublicDomainsListCard } from '@/settings/domains/components/Setimport { useGetLogicFunctionHttpUrl } from '@/settings/logic-functions/hooks/useGetLogicFunctionHttpUrl';import { SettingsTextInput } from '@/ui/input/components/SettingsTextInput';import { IconCopy } from 'twenty-ui/icon';-import { Section } from 'twenty-ui/layout';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';-import { H2Title } from 'twenty-ui/typography';+import { H2Title } from 'twenty-ui/primitives/typography';import { useCopyToClipboard } from '~/hooks/useCopyToClipboard';const StyledContent = styled.div`diff --git a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationGeneralSection.tsx b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationGeneralSection.tsxindex 47bc483ad07..c355b256be1 100644--- a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationGeneralSection.tsx+++ b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationGeneralSection.tsx@@ -3,9 +3,9 @@ import { useSnackBar } from '@/ui/feedback/snack-bar-manager/hooks/useSnackBar';import { useMutation } from '@apollo/client/react';import { t } from '@lingui/core/macro';import { IconRefresh } from 'twenty-ui/icon';-import { Section } from 'twenty-ui/layout';-import { Card } from 'twenty-ui/surfaces';-import { H2Title } from 'twenty-ui/typography';+import { Section } from 'twenty-ui/primitives/layout';+import { Card } from 'twenty-ui/primitives/surfaces';+import { H2Title } from 'twenty-ui/primitives/typography';import { UpdateApplicationDocument } from '~/generated-metadata/graphql';export const SettingsApplicationGeneralSection = ({diff --git a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationRegistrationConfigTab.tsx b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationRegistrationConfigTab.tsxindex ecf6417ae52..8f1f33df6ca 100644--- a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationRegistrationConfigTab.tsx+++ b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationRegistrationConfigTab.tsx@@ -9,8 +9,8 @@ import {UpdateAdminApplicationRegistrationVariableDocument,} from '~/generated-admin/graphql';import { styled } from '@linaria/react';-import { Section } from 'twenty-ui/layout';-import { H2Title } from 'twenty-ui/typography';+import { Section } from 'twenty-ui/primitives/layout';+import { H2Title } from 'twenty-ui/primitives/typography';import { themeCssVariables } from 'twenty-ui/theme-constants';import { useLingui } from '@lingui/react/macro';import { useState } from 'react';diff --git a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationRegistrationDistributionTab.tsx b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationRegistrationDistributionTab.tsxindex b7c70ed65e0..cb707afdb13 100644--- a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationRegistrationDistributionTab.tsx+++ b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationRegistrationDistributionTab.tsx@@ -1,9 +1,9 @@import { useLingui } from '@lingui/react/macro';-import { CommandBlock, Tag } from 'twenty-ui/data-display';+import { CommandBlock, Tag } from 'twenty-ui/primitives/data-display';import { IconCopy } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { Button } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Button } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath } from 'twenty-shared/utils';import { ApplicationRegistrationSourceType } from '~/generated-metadata/graphql';diff --git a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationRegistrationGeneralTab.tsx b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationRegistrationGeneralTab.tsxindex 420fa6d072a..4ff028d2d35 100644--- a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationRegistrationGeneralTab.tsx+++ b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationRegistrationGeneralTab.tsx@@ -2,7 +2,7 @@ import { type ApplicationRegistration } from '~/generated-metadata/graphql';import { useLingui } from '@lingui/react/macro';import { useLocation, useNavigate } from 'react-router-dom';-import { InlineBanner } from 'twenty-ui/feedback';+import { InlineBanner } from 'twenty-ui/primitives/feedback';import { SettingsApplicationRegistrationGeneralInfo } from '~/pages/settings/applications/components/SettingsApplicationRegistrationGeneralInfo';import { SettingsAdminApplicationRegistrationClaims } from '~/pages/settings/admin-panel/SettingsAdminApplicationRegistrationClaims';diff --git a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationRegistrationOAuthTab.tsx b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationRegistrationOAuthTab.tsxindex 35bdf8549a6..ddade688689 100644--- a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationRegistrationOAuthTab.tsx+++ b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationRegistrationOAuthTab.tsx@@ -10,9 +10,9 @@ import { Trans, useLingui } from '@lingui/react/macro';import { isNonEmptyString } from '@sniptt/guards';import { useState } from 'react';import { IconKey, IconRefresh, IconShield } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { Button } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Button } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';import {RotateApplicationRegistrationClientSecretDocument,diff --git a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationTimelineActivityTypeSettingsTab.tsx b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationTimelineActivityTypeSettingsTab.tsxindex b1ce546d73a..fa87a285048 100644--- a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationTimelineActivityTypeSettingsTab.tsx+++ b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationTimelineActivityTypeSettingsTab.tsx@@ -7,12 +7,12 @@ import { TableSection } from '@/ui/layout/table/components/TableSection';import { styled } from '@linaria/react';import { t } from '@lingui/core/macro';import { type ReactNode } from 'react';-import { Button } from 'twenty-ui/input';+import { Button } from 'twenty-ui/primitives/input';import { IconRestore, IconTimelineEvent } from 'twenty-ui/icon';-import { Section } from 'twenty-ui/layout';-import { Card } from 'twenty-ui/surfaces';+import { Section } from 'twenty-ui/primitives/layout';+import { Card } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';-import { H2Title } from 'twenty-ui/typography';+import { H2Title } from 'twenty-ui/primitives/typography';import { type SettingsApplicationTimelineActivityType } from '~/pages/settings/applications/types/settingsApplicationTimelineActivityType';type SettingsApplicationTimelineActivityTypeSettingsTabProps = {diff --git a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationsAvailableTab.tsx b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationsAvailableTab.tsxindex 34990bc6a4e..6a447ed93af 100644--- a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationsAvailableTab.tsx+++ b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationsAvailableTab.tsx@@ -5,11 +5,11 @@ import { DropdownMenuItemsContainer } from '@/ui/layout/dropdown/components/Dropimport { styled } from '@linaria/react';import { useLingui } from '@lingui/react/macro';import { type ReactNode, useState } from 'react';-import { InlineBanner } from 'twenty-ui/feedback';+import { InlineBanner } from 'twenty-ui/primitives/feedback';import { IconSparkles } from 'twenty-ui/icon';-import { SearchInput } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';-import { MenuItemSwitch } from 'twenty-ui/navigation';+import { SearchInput } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';+import { MenuItemSwitch } from 'twenty-ui/primitives/navigation';import { themeCssVariables } from 'twenty-ui/theme-constants';import { useMarketplaceApps } from '~/modules/marketplace/hooks/useMarketplaceApps';import { SettingsAvailableApplicationCard } from '~/pages/settings/applications/components/SettingsAvailableApplicationCard';diff --git a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationsDeveloperTab.tsx b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationsDeveloperTab.tsxindex 2d29fc2eef0..bfc0ac6cf83 100644--- a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationsDeveloperTab.tsx+++ b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationsDeveloperTab.tsx@@ -12,11 +12,11 @@ import { useContext, useState } from 'react';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath } from 'twenty-shared/utils';-import { CommandBlock } from 'twenty-ui/data-display';+import { CommandBlock } from 'twenty-ui/primitives/data-display';import { IconArrowUpRight, IconChevronRight, IconCopy } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { Button, SearchInput } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Button, SearchInput } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';import {type ApplicationRegistrationListItemFragment,FeatureFlagKey,diff --git a/packages/twenty-front/src/pages/settings/billing/SettingsBillingLimits.tsx b/packages/twenty-front/src/pages/settings/billing/SettingsBillingLimits.tsxindex d7e3c344ff2..050ea7e47a7 100644--- a/packages/twenty-front/src/pages/settings/billing/SettingsBillingLimits.tsx+++ b/packages/twenty-front/src/pages/settings/billing/SettingsBillingLimits.tsx@@ -2,8 +2,8 @@ import { useLingui } from '@lingui/react/macro';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath } from 'twenty-shared/utils';import { IconPlus } from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';-import { UndecoratedLink } from 'twenty-ui/navigation';+import { Button } from 'twenty-ui/primitives/input';+import { UndecoratedLink } from 'twenty-ui/primitives/navigation';import { SettingsBillingLimitsContent } from '@/settings/billing/components/SettingsBillingLimitsContent';import { SettingsBillingPageLayout } from '@/settings/billing/components/SettingsBillingPageLayout';diff --git a/packages/twenty-front/src/pages/settings/billing/SettingsUsageUserDetail.tsx b/packages/twenty-front/src/pages/settings/billing/SettingsUsageUserDetail.tsxindex 988b5210826..81da810e214 100644--- a/packages/twenty-front/src/pages/settings/billing/SettingsUsageUserDetail.tsx+++ b/packages/twenty-front/src/pages/settings/billing/SettingsUsageUserDetail.tsx@@ -15,8 +15,8 @@ import Skeleton, { SkeletonTheme } from 'react-loading-skeleton';import { useParams } from 'react-router-dom';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath } from 'twenty-shared/utils';-import { Avatar } from 'twenty-ui/data-display';-import { Section } from 'twenty-ui/layout';+import { Avatar } from 'twenty-ui/primitives/data-display';+import { Section } from 'twenty-ui/primitives/layout';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';const StyledUserHeader = styled.div`diff --git a/packages/twenty-front/src/pages/settings/communications/SettingsWorkspaceCommunicationGroupChannelDetail.tsx b/packages/twenty-front/src/pages/settings/communications/SettingsWorkspaceCommunicationGroupChannelDetail.tsxindex 13b816b87ab..25203b2d417 100644--- a/packages/twenty-front/src/pages/settings/communications/SettingsWorkspaceCommunicationGroupChannelDetail.tsx+++ b/packages/twenty-front/src/pages/settings/communications/SettingsWorkspaceCommunicationGroupChannelDetail.tsx@@ -27,11 +27,11 @@ import {EmailingDomainStatus,GetEmailingDomainsDocument,} from '~/generated-metadata/graphql';-import { Status } from 'twenty-ui/data-display';+import { Status } from 'twenty-ui/primitives/data-display';import { IconCopy, IconTrash } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { Button } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Button } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';import { type ThemeColor } from 'twenty-ui/theme';import { themeCssVariables } from 'twenty-ui/theme-constants';import { NotFound } from '~/pages/not-found/NotFound';diff --git a/packages/twenty-front/src/pages/settings/communications/SettingsWorkspaceCommunications.tsx b/packages/twenty-front/src/pages/settings/communications/SettingsWorkspaceCommunications.tsxindex f5205c4fef8..0ab75395890 100644--- a/packages/twenty-front/src/pages/settings/communications/SettingsWorkspaceCommunications.tsx+++ b/packages/twenty-front/src/pages/settings/communications/SettingsWorkspaceCommunications.tsx@@ -17,8 +17,8 @@ import {IconMailX,IconPhone,} from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Section } from 'twenty-ui/primitives/layout';import coverDark from '~/pages/settings/communications/assets/cover-dark.png';import coverLight from '~/pages/settings/communications/assets/cover-light.png';import { SettingsCard } from '@/settings/components/SettingsCard';diff --git a/packages/twenty-front/src/pages/settings/communications/SettingsWorkspaceNewUnsubscribeTopic.tsx b/packages/twenty-front/src/pages/settings/communications/SettingsWorkspaceNewUnsubscribeTopic.tsxindex eeacdbd9542..c5e8a9c17d7 100644--- a/packages/twenty-front/src/pages/settings/communications/SettingsWorkspaceNewUnsubscribeTopic.tsx+++ b/packages/twenty-front/src/pages/settings/communications/SettingsWorkspaceNewUnsubscribeTopic.tsx@@ -14,9 +14,9 @@ import { FeatureFlagKey, SettingsPath } from 'twenty-shared/types';import { getSettingsPath } from 'twenty-shared/utils';import { UnsubscribeTopicVisibility } from '~/generated-metadata/graphql';import { IconEye } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { Section } from 'twenty-ui/layout';-import { Card } from 'twenty-ui/surfaces';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Section } from 'twenty-ui/primitives/layout';+import { Card } from 'twenty-ui/primitives/surfaces';import { NotFound } from '~/pages/not-found/NotFound';import { useNavigateSettings } from '~/hooks/useNavigateSettings';diff --git a/packages/twenty-front/src/pages/settings/communications/SettingsWorkspaceUnsubscribeTopicDetail.tsx b/packages/twenty-front/src/pages/settings/communications/SettingsWorkspaceUnsubscribeTopicDetail.tsxindex eb8408554d9..192bfbb3085 100644--- a/packages/twenty-front/src/pages/settings/communications/SettingsWorkspaceUnsubscribeTopicDetail.tsx+++ b/packages/twenty-front/src/pages/settings/communications/SettingsWorkspaceUnsubscribeTopicDetail.tsx@@ -19,10 +19,10 @@ import { FeatureFlagKey, SettingsPath } from 'twenty-shared/types';import { getSettingsPath, isDefined } from 'twenty-shared/utils';import { UnsubscribeTopicVisibility } from '~/generated-metadata/graphql';import { IconEye, IconTrash } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { Button } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';-import { Card } from 'twenty-ui/surfaces';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Button } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';+import { Card } from 'twenty-ui/primitives/surfaces';import { NotFound } from '~/pages/not-found/NotFound';import { useNavigateSettings } from '~/hooks/useNavigateSettings';diff --git a/packages/twenty-front/src/pages/settings/community/SettingsCommunity.tsx b/packages/twenty-front/src/pages/settings/community/SettingsCommunity.tsxindex e8985ea16ba..c913a3b8eb5 100644--- a/packages/twenty-front/src/pages/settings/community/SettingsCommunity.tsx+++ b/packages/twenty-front/src/pages/settings/community/SettingsCommunity.tsx@@ -13,8 +13,8 @@ import {type IconComponent,useIcons,} from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Section } from 'twenty-ui/primitives/layout';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath } from 'twenty-shared/utils';import {diff --git a/packages/twenty-front/src/pages/settings/data-model/SettingsNewObject.tsx b/packages/twenty-front/src/pages/settings/data-model/SettingsNewObject.tsxindex 45add8498fc..097207bb5e2 100644--- a/packages/twenty-front/src/pages/settings/data-model/SettingsNewObject.tsx+++ b/packages/twenty-front/src/pages/settings/data-model/SettingsNewObject.tsx@@ -18,8 +18,8 @@ import { useState } from 'react';import { FormProvider, useForm } from 'react-hook-form';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath, isDefined } from 'twenty-shared/utils';-import { H2Title } from 'twenty-ui/typography';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Section } from 'twenty-ui/primitives/layout';import { useNavigateSettings } from '~/hooks/useNavigateSettings';export const SettingsNewObject = () => {diff --git a/packages/twenty-front/src/pages/settings/data-model/SettingsObjectDetailPage.tsx b/packages/twenty-front/src/pages/settings/data-model/SettingsObjectDetailPage.tsxindex 000a0b54e4c..fddb34309fe 100644--- a/packages/twenty-front/src/pages/settings/data-model/SettingsObjectDetailPage.tsx+++ b/packages/twenty-front/src/pages/settings/data-model/SettingsObjectDetailPage.tsx@@ -34,8 +34,8 @@ import {IconPlus,IconSettings,} from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';-import { UndecoratedLink } from 'twenty-ui/navigation';+import { Button } from 'twenty-ui/primitives/input';+import { UndecoratedLink } from 'twenty-ui/primitives/navigation';import { useNavigateApp } from '~/hooks/useNavigateApp';import { SETTINGS_OBJECT_DETAIL_TABS } from '~/pages/settings/data-model/constants/SettingsObjectDetailTabs';import { updatedObjectNamePluralState } from '~/pages/settings/data-model/states/updatedObjectNamePluralState';diff --git a/packages/twenty-front/src/pages/settings/data-model/SettingsObjectFieldEdit.tsx b/packages/twenty-front/src/pages/settings/data-model/SettingsObjectFieldEdit.tsxindex e7e742dbfd6..3f81816e391 100644--- a/packages/twenty-front/src/pages/settings/data-model/SettingsObjectFieldEdit.tsx+++ b/packages/twenty-front/src/pages/settings/data-model/SettingsObjectFieldEdit.tsx@@ -36,9 +36,9 @@ import { useLingui } from '@lingui/react/macro';import { AppPath, SettingsPath } from 'twenty-shared/types';import { getSettingsPath, isDefined } from 'twenty-shared/utils';import { IconArchive, IconArchiveOff, IconTrash } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { Button } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Button } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';import { FieldMetadataType } from '~/generated-metadata/graphql';import { useNavigateApp } from '~/hooks/useNavigateApp';diff --git a/packages/twenty-front/src/pages/settings/data-model/SettingsObjectFieldTable.tsx b/packages/twenty-front/src/pages/settings/data-model/SettingsObjectFieldTable.tsxindex ecc9b403a32..b45dc0e4f4e 100644--- a/packages/twenty-front/src/pages/settings/data-model/SettingsObjectFieldTable.tsx+++ b/packages/twenty-front/src/pages/settings/data-model/SettingsObjectFieldTable.tsx@@ -26,8 +26,8 @@ import { useSetAtomFamilyState } from '@/ui/utilities/state/jotai/hooks/useSetAtimport { useEffect, useMemo, useState } from 'react';import { FieldMetadataType } from 'twenty-shared/types';import { IconArchive, IconCircleDashed, IconSettings } from 'twenty-ui/icon';-import { SearchInput } from 'twenty-ui/input';-import { MenuItemSwitch } from 'twenty-ui/navigation';+import { SearchInput } from 'twenty-ui/primitives/input';+import { MenuItemSwitch } from 'twenty-ui/primitives/navigation';import { themeCssVariables } from 'twenty-ui/theme-constants';import { useMostlyEmptyFieldMetadataIds } from '@/settings/data-model/object-details/hooks/useMostlyEmptyFieldMetadataIds';import { useMapFieldMetadataItemToSettingsObjectDetailTableItem } from '~/pages/settings/data-model/hooks/useMapFieldMetadataItemToSettingsObjectDetailTableItem';diff --git a/packages/twenty-front/src/pages/settings/data-model/SettingsObjectIndexTable.tsx b/packages/twenty-front/src/pages/settings/data-model/SettingsObjectIndexTable.tsxindex ba61f4eac89..4f41c23299e 100644--- a/packages/twenty-front/src/pages/settings/data-model/SettingsObjectIndexTable.tsx+++ b/packages/twenty-front/src/pages/settings/data-model/SettingsObjectIndexTable.tsx@@ -10,7 +10,7 @@ import { styled } from '@linaria/react';import { msg } from '@lingui/core/macro';import { useLingui } from '@lingui/react/macro';import { IconSquareKey, IconTrash } from 'twenty-ui/icon';-import { LightIconButton } from 'twenty-ui/input';+import { LightIconButton } from 'twenty-ui/primitives/input';import { themeCssVariables } from 'twenty-ui/theme-constants';import { type SettingsObjectIndexesTableItem } from '~/pages/settings/data-model/types/SettingsObjectIndexesTableItem';diff --git a/packages/twenty-front/src/pages/settings/data-model/SettingsObjectTable.tsx b/packages/twenty-front/src/pages/settings/data-model/SettingsObjectTable.tsxindex 2f0dcaa909a..81390f29e38 100644--- a/packages/twenty-front/src/pages/settings/data-model/SettingsObjectTable.tsx+++ b/packages/twenty-front/src/pages/settings/data-model/SettingsObjectTable.tsx@@ -31,8 +31,8 @@ import { type ReactNode, useContext, useMemo, useState } from 'react';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath } from 'twenty-shared/utils';import { IconArchive, IconChevronRight, IconSettings } from 'twenty-ui/icon';-import { SearchInput } from 'twenty-ui/input';-import { MenuItemSwitch } from 'twenty-ui/navigation';+import { SearchInput } from 'twenty-ui/primitives/input';+import { MenuItemSwitch } from 'twenty-ui/primitives/navigation';import {MOBILE_VIEWPORT,ThemeContext,diff --git a/packages/twenty-front/src/pages/settings/data-model/SettingsObjects.tsx b/packages/twenty-front/src/pages/settings/data-model/SettingsObjects.tsxindex 2ef395bf5d3..4984edf9a1c 100644--- a/packages/twenty-front/src/pages/settings/data-model/SettingsObjects.tsx+++ b/packages/twenty-front/src/pages/settings/data-model/SettingsObjects.tsx@@ -10,10 +10,10 @@ import { useLingui } from '@lingui/react/macro';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath } from 'twenty-shared/utils';import { IconEye, IconPlus, IconSparkle2 } from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';-import { UndecoratedLink } from 'twenty-ui/navigation';-import { H2Title } from 'twenty-ui/typography';+import { Button } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';+import { UndecoratedLink } from 'twenty-ui/primitives/navigation';+import { H2Title } from 'twenty-ui/primitives/typography';import { SettingsObjectTable } from '~/pages/settings/data-model/SettingsObjectTable';const SETTINGS_DATA_MODEL_HERO_INSTANCE_ID_PREFIX = 'settings-data-model-hero';diff --git a/packages/twenty-front/src/pages/settings/data-model/new-field/SettingsObjectNewFieldConfigure.tsx b/packages/twenty-front/src/pages/settings/data-model/new-field/SettingsObjectNewFieldConfigure.tsxindex cee944726b0..beebe5f6de9 100644--- a/packages/twenty-front/src/pages/settings/data-model/new-field/SettingsObjectNewFieldConfigure.tsx+++ b/packages/twenty-front/src/pages/settings/data-model/new-field/SettingsObjectNewFieldConfigure.tsx@@ -24,9 +24,9 @@ import {SettingsPath,} from 'twenty-shared/types';import { getSettingsPath, isDefined } from 'twenty-shared/utils';-import { H2Title } from 'twenty-ui/typography';-import { Button } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Button } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';import { type z } from 'zod';import { FieldMetadataType } from '~/generated-metadata/graphql';diff --git a/packages/twenty-front/src/pages/settings/data-model/new-index/SettingsObjectNewIndex.tsx b/packages/twenty-front/src/pages/settings/data-model/new-index/SettingsObjectNewIndex.tsxindex a175f5714a3..04ca71b48e9 100644--- a/packages/twenty-front/src/pages/settings/data-model/new-index/SettingsObjectNewIndex.tsx+++ b/packages/twenty-front/src/pages/settings/data-model/new-index/SettingsObjectNewIndex.tsx@@ -19,10 +19,10 @@ import { FormProvider, useForm } from 'react-hook-form';import { useParams } from 'react-router-dom';import { AppPath, RelationType, SettingsPath } from 'twenty-shared/types';import { getSettingsPath, isDefined } from 'twenty-shared/utils';-import { Callout } from 'twenty-ui/feedback';+import { Callout } from 'twenty-ui/primitives/feedback';import { IconAlertTriangle } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Section } from 'twenty-ui/primitives/layout';import { IndexType } from '~/generated-metadata/graphql';import { useNavigateApp } from '~/hooks/useNavigateApp';import { useNavigateSettings } from '~/hooks/useNavigateSettings';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 1e1d006ef6e..7315025f6c9 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@@ -22,9 +22,9 @@ import { Trans, useLingui } from '@lingui/react/macro';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath, isDefined } from 'twenty-shared/utils';import { IconRepeat, IconTrash } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { Button } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Button } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';import { useMutation, useQuery } from '@apollo/client/react';import {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 86e7c37c6a8..2dd6ec27b6a 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@@ -16,8 +16,8 @@ import { useStore } from 'jotai';import { Key } from 'ts-key-enum';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath, isDefined } from 'twenty-shared/utils';-import { H2Title } from 'twenty-ui/typography';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Section } from 'twenty-ui/primitives/layout';import {CreateApiKeyDocument,GenerateApiKeyTokenDocument,diff --git a/packages/twenty-front/src/pages/settings/enterprise/SettingsEnterprise.tsx b/packages/twenty-front/src/pages/settings/enterprise/SettingsEnterprise.tsxindex af9e03c6483..e239df049a5 100644--- a/packages/twenty-front/src/pages/settings/enterprise/SettingsEnterprise.tsx+++ b/packages/twenty-front/src/pages/settings/enterprise/SettingsEnterprise.tsx@@ -40,10 +40,10 @@ import {IconKey,IconUser,} from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';+import { Button } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';-import { H2Title } from 'twenty-ui/typography';+import { H2Title } from 'twenty-ui/primitives/typography';import { isGraphqlErrorOfType } from '~/utils/is-graphql-error-of-type.util';const RELEASE_ENTERPRISE_BINDING_CONFIRMATION_MODAL_ID =diff --git a/packages/twenty-front/src/pages/settings/enterprise/components/OrganizationAdornment.tsx b/packages/twenty-front/src/pages/settings/enterprise/components/OrganizationAdornment.tsxindex 1d15b0a1e00..018e8b9ee80 100644--- a/packages/twenty-front/src/pages/settings/enterprise/components/OrganizationAdornment.tsx+++ b/packages/twenty-front/src/pages/settings/enterprise/components/OrganizationAdornment.tsx@@ -6,7 +6,7 @@ import { Link } from 'react-router-dom';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath } from 'twenty-shared/utils';import { IconLock } from 'twenty-ui/icon';-import { AppTooltip, TooltipDelay } from 'twenty-ui/surfaces';+import { AppTooltip, TooltipDelay } from 'twenty-ui/primitives/surfaces';import { themeCssVariables } from 'twenty-ui/theme-constants';import { billingState } from '@/client-config/states/billingState';diff --git a/packages/twenty-front/src/pages/settings/general/SettingsGeneral.tsx b/packages/twenty-front/src/pages/settings/general/SettingsGeneral.tsxindex d64f5ba364d..c599d63131c 100644--- a/packages/twenty-front/src/pages/settings/general/SettingsGeneral.tsx+++ b/packages/twenty-front/src/pages/settings/general/SettingsGeneral.tsx@@ -14,8 +14,8 @@ import { NameField } from '@/settings/workspace/components/NameField';import { WorkspaceLogoUploader } from '@/settings/workspace/components/WorkspaceLogoUploader';import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';import { IconHistory, IconKey, IconSettings } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Section } from 'twenty-ui/primitives/layout';import { PermissionFlagType } from '~/generated-metadata/graphql';const SETTINGS_GENERAL_TABS_INSTANCE_ID = 'settings-general-tabs';diff --git a/packages/twenty-front/src/pages/settings/layout/SettingsLayout.tsx b/packages/twenty-front/src/pages/settings/layout/SettingsLayout.tsxindex 1314bc4be8c..2094b1fe4c1 100644--- a/packages/twenty-front/src/pages/settings/layout/SettingsLayout.tsx+++ b/packages/twenty-front/src/pages/settings/layout/SettingsLayout.tsx@@ -9,9 +9,9 @@ import { useNavigate } from 'react-router-dom';import { AppPath, SettingsPath } from 'twenty-shared/types';import { getSettingsPath } from 'twenty-shared/utils';import { IconLayoutDashboard, IconPencil, IconSparkle2 } from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';-import { H2Title } from 'twenty-ui/typography';+import { Button } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';+import { H2Title } from 'twenty-ui/primitives/typography';import coverDark from '~/pages/settings/layout/assets/cover-dark.png';import coverLight from '~/pages/settings/layout/assets/cover-light.png';diff --git a/packages/twenty-front/src/pages/settings/layout/components/SettingsLayoutDetailScaffold.tsx b/packages/twenty-front/src/pages/settings/layout/components/SettingsLayoutDetailScaffold.tsxindex d0c547a3c6c..0c5fd5c0191 100644--- a/packages/twenty-front/src/pages/settings/layout/components/SettingsLayoutDetailScaffold.tsx+++ b/packages/twenty-front/src/pages/settings/layout/components/SettingsLayoutDetailScaffold.tsx@@ -11,8 +11,8 @@ import { t } from '@lingui/core/macro';import { type ReactNode } from 'react';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath, isDefined } from 'twenty-shared/utils';-import { H2Title } from 'twenty-ui/typography';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';export type DetailRow = { key: string; label: string; value: ReactNode };diff --git a/packages/twenty-front/src/pages/settings/layout/components/SettingsLayoutItemTable.tsx b/packages/twenty-front/src/pages/settings/layout/components/SettingsLayoutItemTable.tsxindex 0015d761279..f4814c3ae4f 100644--- a/packages/twenty-front/src/pages/settings/layout/components/SettingsLayoutItemTable.tsx+++ b/packages/twenty-front/src/pages/settings/layout/components/SettingsLayoutItemTable.tsx@@ -4,8 +4,8 @@ import { TableCell } from '@/ui/layout/table/components/TableCell';import { TableHeader } from '@/ui/layout/table/components/TableHeader';import { TableRow } from '@/ui/layout/table/components/TableRow';import { type ReactNode } from 'react';-import { H2Title } from 'twenty-ui/typography';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';type Column = {diff --git a/packages/twenty-front/src/pages/settings/legal/SettingsLegalDpa.tsx b/packages/twenty-front/src/pages/settings/legal/SettingsLegalDpa.tsxindex 2944de029c8..f44d6aeec80 100644--- a/packages/twenty-front/src/pages/settings/legal/SettingsLegalDpa.tsx+++ b/packages/twenty-front/src/pages/settings/legal/SettingsLegalDpa.tsx@@ -3,10 +3,10 @@ import { useLingui } from '@lingui/react/macro';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath, isDefined } from 'twenty-shared/utils';import { IconPlus } from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';-import { UndecoratedLink } from 'twenty-ui/navigation';-import { H2Title } from 'twenty-ui/typography';+import { Button } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';+import { UndecoratedLink } from 'twenty-ui/primitives/navigation';+import { H2Title } from 'twenty-ui/primitives/typography';import { useApolloCoreClient } from '@/object-metadata/hooks/useApolloCoreClient';import { DpaDocumentPreview } from '@/settings/legal/components/DpaDocumentPreview';diff --git a/packages/twenty-front/src/pages/settings/legal/SettingsLegalDpaNew.tsx b/packages/twenty-front/src/pages/settings/legal/SettingsLegalDpaNew.tsxindex 2e60a572c58..f4d0ff2cf58 100644--- a/packages/twenty-front/src/pages/settings/legal/SettingsLegalDpaNew.tsx+++ b/packages/twenty-front/src/pages/settings/legal/SettingsLegalDpaNew.tsx@@ -3,8 +3,8 @@ import { useLingui } from '@lingui/react/macro';import { useState } from 'react';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath } from 'twenty-shared/utils';-import { Section } from 'twenty-ui/layout';-import { H2Title } from 'twenty-ui/typography';+import { Section } from 'twenty-ui/primitives/layout';+import { H2Title } from 'twenty-ui/primitives/typography';import { useApolloCoreClient } from '@/object-metadata/hooks/useApolloCoreClient';import { DpaDocumentPreview } from '@/settings/legal/components/DpaDocumentPreview';diff --git a/packages/twenty-front/src/pages/settings/members/SettingsWorkspaceMembers.tsx b/packages/twenty-front/src/pages/settings/members/SettingsWorkspaceMembers.tsxindex a2819f7879f..7c9145d151d 100644--- a/packages/twenty-front/src/pages/settings/members/SettingsWorkspaceMembers.tsx+++ b/packages/twenty-front/src/pages/settings/members/SettingsWorkspaceMembers.tsx@@ -14,7 +14,7 @@ import { SettingsPageLayout } from '@/settings/components/layout/SettingsPageLayimport { SettingsTabBar } from '@/settings/components/layout/SettingsTabBar';import { useSettingsActiveTabId } from '@/settings/components/layout/useSettingsActiveTabId';import { useHasPermissionFlag } from '@/settings/roles/hooks/useHasPermissionFlag';-import { Section } from 'twenty-ui/layout';+import { Section } from 'twenty-ui/primitives/layout';import { PermissionFlagType } from '~/generated-metadata/graphql';import coverDark from '~/pages/settings/members/assets/cover-dark.png';import coverLight from '~/pages/settings/members/assets/cover-light.png';diff --git a/packages/twenty-front/src/pages/settings/members/tabs/SettingsWorkspaceMembersInviteTab.tsx b/packages/twenty-front/src/pages/settings/members/tabs/SettingsWorkspaceMembersInviteTab.tsxindex 4f44d07bb4d..3cc17bb25f8 100644--- a/packages/twenty-front/src/pages/settings/members/tabs/SettingsWorkspaceMembersInviteTab.tsx+++ b/packages/twenty-front/src/pages/settings/members/tabs/SettingsWorkspaceMembersInviteTab.tsx@@ -22,12 +22,12 @@ import { useResendWorkspaceInvitation } from '@/workspace-invitation/hooks/useReimport { WorkspaceInviteLink } from '@/workspace/components/WorkspaceInviteLink';import { WorkspaceInviteTeam } from '@/workspace/components/WorkspaceInviteTeam';import { isDefined } from 'twenty-shared/utils';-import { Status } from 'twenty-ui/data-display';+import { Status } from 'twenty-ui/primitives/data-display';import { IconMail, IconReload, IconTrash } from 'twenty-ui/icon';-import { AppTooltip, TooltipDelay } from 'twenty-ui/surfaces';-import { H2Title } from 'twenty-ui/typography';-import { IconButton } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';+import { AppTooltip, TooltipDelay } from 'twenty-ui/primitives/surfaces';+import { H2Title } from 'twenty-ui/primitives/typography';+import { IconButton } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';import { GetWorkspaceInvitationsDocument } from '~/generated-metadata/graphql';import { dateLocaleState } from '~/localization/states/dateLocaleState';diff --git a/packages/twenty-front/src/pages/settings/members/tabs/SettingsWorkspaceMembersTeamTab.tsx b/packages/twenty-front/src/pages/settings/members/tabs/SettingsWorkspaceMembersTeamTab.tsxindex 2ec25b5eb7c..e28bffaf4dc 100644--- a/packages/twenty-front/src/pages/settings/members/tabs/SettingsWorkspaceMembersTeamTab.tsx+++ b/packages/twenty-front/src/pages/settings/members/tabs/SettingsWorkspaceMembersTeamTab.tsx@@ -20,18 +20,18 @@ import {SettingsPath,} from 'twenty-shared/types';import { generateILikeFiltersForCompositeFields } from 'twenty-shared/utils';-import { Avatar } from 'twenty-ui/data-display';+import { Avatar } from 'twenty-ui/primitives/data-display';import {IconArrowUpRight,IconChevronRight,IconHierarchy,IconListDetails,} from 'twenty-ui/icon';-import { AppTooltip, TooltipDelay } from 'twenty-ui/surfaces';-import { H2Title } from 'twenty-ui/typography';-import { Button, SearchInput } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';-import { MenuItem } from 'twenty-ui/navigation';+import { AppTooltip, TooltipDelay } from 'twenty-ui/primitives/surfaces';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Button, SearchInput } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';+import { MenuItem } from 'twenty-ui/primitives/navigation';import { TableCell } from '@/ui/layout/table/components/TableCell';import { TableRow } from '@/ui/layout/table/components/TableRow';diff --git a/packages/twenty-front/src/pages/settings/profile/SettingsProfile.tsx b/packages/twenty-front/src/pages/settings/profile/SettingsProfile.tsxindex 73a608206df..ec34ff8a0be 100644--- a/packages/twenty-front/src/pages/settings/profile/SettingsProfile.tsx+++ b/packages/twenty-front/src/pages/settings/profile/SettingsProfile.tsx@@ -14,11 +14,11 @@ import { Trans, useLingui } from '@lingui/react/macro';import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath } from 'twenty-shared/utils';-import { Status } from 'twenty-ui/data-display';+import { Status } from 'twenty-ui/primitives/data-display';import { IconShield } from 'twenty-ui/icon';-import { H2Title } from 'twenty-ui/typography';-import { Section } from 'twenty-ui/layout';-import { UndecoratedLink } from 'twenty-ui/navigation';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Section } from 'twenty-ui/primitives/layout';+import { UndecoratedLink } from 'twenty-ui/primitives/navigation';export const SettingsProfile = () => {const { t } = useLingui();diff --git a/packages/twenty-front/src/pages/settings/profile/SettingsTwoFactorAuthenticationMethod.tsx b/packages/twenty-front/src/pages/settings/profile/SettingsTwoFactorAuthenticationMethod.tsxindex 924bc15bd57..b1fdbe2ecad 100644--- a/packages/twenty-front/src/pages/settings/profile/SettingsTwoFactorAuthenticationMethod.tsx+++ b/packages/twenty-front/src/pages/settings/profile/SettingsTwoFactorAuthenticationMethod.tsx@@ -15,9 +15,9 @@ import { extractSecretFromOtpUri } from '@/settings/two-factor-authentication/utimport { SettingsPageLayout } from '@/settings/components/layout/SettingsPageLayout';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath } from 'twenty-shared/utils';-import { H2Title } from 'twenty-ui/typography';-import { Loader } from 'twenty-ui/feedback';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Loader } from 'twenty-ui/primitives/feedback';+import { Section } from 'twenty-ui/primitives/layout';import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';import { themeCssVariables } from 'twenty-ui/theme-constants';import { resolveCjsModuleDefaultExport } from '~/utils/resolveCjsModuleDefaultExport';diff --git a/packages/twenty-front/src/pages/settings/profile/appearance/components/DateTimeSettingsCalendarStartDaySelect.tsx b/packages/twenty-front/src/pages/settings/profile/appearance/components/DateTimeSettingsCalendarStartDaySelect.tsxindex af874e42f82..f4c0b0d7803 100644--- a/packages/twenty-front/src/pages/settings/profile/appearance/components/DateTimeSettingsCalendarStartDaySelect.tsx+++ b/packages/twenty-front/src/pages/settings/profile/appearance/components/DateTimeSettingsCalendarStartDaySelect.tsx@@ -4,7 +4,7 @@ import { detectCalendarStartDay } from '@/localization/utils/detection/detectCalimport { Select } from '@/ui/input/components/Select';import { t } from '@lingui/core/macro';import { CalendarStartDay } from 'twenty-shared/constants';-import { type SelectOption } from 'twenty-ui/input';+import { type SelectOption } from 'twenty-ui/primitives/input';type DateTimeSettingsCalendarStartDaySelectProps = {value: CalendarStartDay;diff --git a/packages/twenty-front/src/pages/settings/profile/appearance/components/SettingsExperience.tsx b/packages/twenty-front/src/pages/settings/profile/appearance/components/SettingsExperience.tsxindex fae6558fc10..fabcf59a6a6 100644--- a/packages/twenty-front/src/pages/settings/profile/appearance/components/SettingsExperience.tsx+++ b/packages/twenty-front/src/pages/settings/profile/appearance/components/SettingsExperience.tsx@@ -9,9 +9,9 @@ import { useColorScheme } from '@/ui/theme/hooks/useColorScheme';import { Trans, useLingui } from '@lingui/react/macro';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath } from 'twenty-shared/utils';-import { H2Title } from 'twenty-ui/typography';-import { ColorSchemePicker } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { ColorSchemePicker } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/primitives/layout';import { themeCssVariables } from 'twenty-ui/theme-constants';import { LocalePicker } from '~/pages/settings/profile/appearance/components/LocalePicker';diff --git a/packages/twenty-front/src/pages/settings/security/SettingsSecurityApprovedAccessDomain.tsx b/packages/twenty-front/src/pages/settings/security/SettingsSecurityApprovedAccessDomain.tsxindex 24cbff519c6..9ef0d408a19 100644--- a/packages/twenty-front/src/pages/settings/security/SettingsSecurityApprovedAccessDomain.tsx+++ b/packages/twenty-front/src/pages/settings/security/SettingsSecurityApprovedAccessDomain.tsx@@ -9,8 +9,8 @@ import { Trans, useLingui } from '@lingui/react/macro';import { Controller, useForm } from 'react-hook-form';import { SettingsPath } from 'twenty-shared/types';import { getSettingsPath } from 'twenty-shared/utils';-import { H2Title } from 'twenty-ui/typography';-import { Section } from 'twenty-ui/layout';+import { H2Title } from 'twenty-ui/primitives/typography';+import { Section } from 'twenty-ui/primitives/layout';import { z } from 'zod';import { useMutation } from '@apollo/client/react';import { CreateApprovedAccessDomainDocument } from '~/generated-metadata/graphql';diff --git a/packages/twenty-front/src/utils/__tests__/checkUrlType.test.ts b/packages/twenty-front/src/utils/__tests__/checkUrlType.test.tsindex 74f8436d70c..84b18fcf8a6 100644--- a/packages/twenty-front/src/utils/__tests__/checkUrlType.test.ts+++ b/packages/twenty-front/src/utils/__tests__/checkUrlType.test.ts@@ -1,5 +1,5 @@import { checkUrlType } from '~/utils/checkUrlType';-import { LinkType } from 'twenty-ui/navigation';+import { LinkType } from 'twenty-ui/primitives/navigation';describe('checkUrlType', () => {it('should detect LinkedIn urls', () => {diff --git a/packages/twenty-front/src/utils/__tests__/isSocialLinkType.test.ts b/packages/twenty-front/src/utils/__tests__/isSocialLinkType.test.tsindex 1ba11b4e19a..36a1f6fdc82 100644--- a/packages/twenty-front/src/utils/__tests__/isSocialLinkType.test.ts+++ b/packages/twenty-front/src/utils/__tests__/isSocialLinkType.test.ts@@ -1,5 +1,5 @@import { isSocialLinkType } from '~/utils/isSocialLinkType';-import { LinkType } from 'twenty-ui/navigation';+import { LinkType } from 'twenty-ui/primitives/navigation';describe('isSocialLinkType', () => {it('should return true for social link types', () => {diff --git a/packages/twenty-front/src/utils/checkUrlType.ts b/packages/twenty-front/src/utils/checkUrlType.tsindex 6cf22dce104..40af10d7b09 100644--- a/packages/twenty-front/src/utils/checkUrlType.ts+++ b/packages/twenty-front/src/utils/checkUrlType.ts@@ -1,4 +1,7 @@-import { LinkType, SOCIAL_LINK_PROVIDERS } from 'twenty-ui/navigation';+import {+ LinkType,+ SOCIAL_LINK_PROVIDERS,+} from 'twenty-ui/primitives/navigation';export const checkUrlType = (url: string) => {const provider = SOCIAL_LINK_PROVIDERS.find((socialLinkProvider) =>diff --git a/packages/twenty-front/src/utils/isSocialLinkType.ts b/packages/twenty-front/src/utils/isSocialLinkType.tsindex f12179aa4e8..d1e3f6743ce 100644--- a/packages/twenty-front/src/utils/isSocialLinkType.ts+++ b/packages/twenty-front/src/utils/isSocialLinkType.ts@@ -1,4 +1,7 @@-import { type LinkType, SOCIAL_LINK_PROVIDERS } from 'twenty-ui/navigation';+import {+ type LinkType,+ SOCIAL_LINK_PROVIDERS,+} from 'twenty-ui/primitives/navigation';export const isSocialLinkType = (type: LinkType): boolean =>SOCIAL_LINK_PROVIDERS.some(diff --git a/packages/twenty-ui/.size-limit.json b/packages/twenty-ui/.size-limit.jsonindex 40c37d2625e..3a0570e34e1 100644--- a/packages/twenty-ui/.size-limit.json+++ b/packages/twenty-ui/.size-limit.json@@ -5,65 +5,75 @@"limit": "130 kB","import": "{ Button }"},- {- "name": "accessibility",- "path": "dist/accessibility.mjs",- "limit": "10 kB"- },{"name": "assets","path": "dist/assets.mjs","limit": "10 kB"},{- "name": "testing",- "path": "dist/testing.mjs",- "limit": "50 kB"- },- {- "name": "data-display",- "path": "dist/data-display.mjs",- "limit": "170 kB"+ "name": "components",+ "path": "dist/components.mjs",+ "limit": "1 kB"},{- "name": "typography",- "path": "dist/typography.mjs",- "limit": "50 kB"+ "name": "primitives",+ "path": "dist/primitives.mjs",+ "limit": "210 kB"},{- "name": "icon",- "path": "dist/icon.mjs",- "limit": "290 kB"+ "name": "primitives/accessibility",+ "path": "dist/primitives/accessibility.mjs",+ "limit": "10 kB"},{- "name": "surfaces",- "path": "dist/surfaces.mjs",- "limit": "70 kB"+ "name": "primitives/data-display",+ "path": "dist/primitives/data-display.mjs",+ "limit": "170 kB"},{- "name": "feedback",- "path": "dist/feedback.mjs",+ "name": "primitives/feedback",+ "path": "dist/primitives/feedback.mjs","limit": "210 kB"},{- "name": "input",- "path": "dist/input.mjs",+ "name": "primitives/input",+ "path": "dist/primitives/input.mjs","limit": "230 kB"},{- "name": "layout",- "path": "dist/layout.mjs",+ "name": "primitives/json-visualizer",+ "path": "dist/primitives/json-visualizer.mjs",+ "limit": "30 kB"+ },+ {+ "name": "primitives/layout",+ "path": "dist/primitives/layout.mjs","limit": "25 kB"},{- "name": "navigation",- "path": "dist/navigation.mjs",+ "name": "primitives/navigation",+ "path": "dist/primitives/navigation.mjs","limit": "180 kB"},{- "name": "json-visualizer",- "path": "dist/json-visualizer.mjs",- "limit": "30 kB"+ "name": "primitives/surfaces",+ "path": "dist/primitives/surfaces.mjs",+ "limit": "70 kB"+ },+ {+ "name": "primitives/typography",+ "path": "dist/primitives/typography.mjs",+ "limit": "50 kB"+ },+ {+ "name": "testing",+ "path": "dist/testing.mjs",+ "limit": "50 kB"+ },+ {+ "name": "icon",+ "path": "dist/icon.mjs",+ "limit": "290 kB"},{"name": "theme",diff --git a/packages/twenty-ui/README.md b/packages/twenty-ui/README.mdindex 7f260213ef7..aef6c1c2f6f 100644--- a/packages/twenty-ui/README.md+++ b/packages/twenty-ui/README.md@@ -14,7 +14,7 @@ Twenty's open-source React UI component library: components, icons, and design tnpm install twenty-ui```-`react`, `react-dom`, and `monaco-editor` are peer dependencies (install them in your app). `monaco-editor` is only required if you use the code editor components.+`react`, `react-dom`, and `monaco-editor` are peer dependencies (install them in your app). The `twenty-ui/primitives/input`, `twenty-ui/primitives/feedback`, and `twenty-ui/primitives/navigation` entry points reference `monaco-editor`.# Usage@@ -22,7 +22,7 @@ Import the base styles once, pick a theme stylesheet, and wrap your app in `Them```tsximport { ThemeProvider } from 'twenty-ui/theme-constants';-import { Button } from 'twenty-ui/input';+import { Button } from 'twenty-ui/primitives/input';import 'twenty-ui/style.css';import 'twenty-ui/theme-light.css';@@ -38,7 +38,7 @@ Components are available from the root entry point or from a specific subpath fo```tsximport { Button } from 'twenty-ui';-import { Button } from 'twenty-ui/input';+import { Button } from 'twenty-ui/primitives/input';```# Entry points@@ -46,20 +46,22 @@ import { Button } from 'twenty-ui/input';| Subpath | Contents || --- | --- || `twenty-ui` | All components, icons, theme tokens, and utilities |-| `twenty-ui/accessibility` | Accessibility helpers || `twenty-ui/assets` | Logos and static assets |-| `twenty-ui/data-display` | Avatars, chips, tags, and other display components |-| `twenty-ui/feedback` | Progress bars, loaders, and status feedback |+| `twenty-ui/components` | Reserved for reusable app building blocks || `twenty-ui/icon` | Icon components and the icon provider |-| `twenty-ui/input` | Buttons, switches, and form inputs |-| `twenty-ui/json-visualizer` | JSON tree viewer |-| `twenty-ui/layout` | Layout primitives |-| `twenty-ui/navigation` | Menus, links, and navigation components |-| `twenty-ui/surfaces` | Cards, tooltips, and surface components |+| `twenty-ui/primitives` | All existing UI component families |+| `twenty-ui/primitives/accessibility` | Hidden elements and keyboard interaction helpers |+| `twenty-ui/primitives/data-display` | Avatars, chips, tags, status indicators, and display helpers |+| `twenty-ui/primitives/feedback` | Toasts, banners, progress bars, and loaders |+| `twenty-ui/primitives/input` | Buttons, form controls, pickers, and code editors |+| `twenty-ui/primitives/json-visualizer` | JSON tree viewer |+| `twenty-ui/primitives/layout` | Layout, animation, resizing, and section components |+| `twenty-ui/primitives/navigation` | Links, list items, menus, and tabs |+| `twenty-ui/primitives/surfaces` | Cards, dialogs, menus, popovers, and tooltips |+| `twenty-ui/primitives/typography` | Text, headings, labels, and typography helpers || `twenty-ui/testing` | Storybook and test decorators || `twenty-ui/theme` | Theme types and helpers || `twenty-ui/theme-constants` | Design tokens, `ThemeProvider`, and `useTheme` |-| `twenty-ui/typography` | Text and typography components || `twenty-ui/utilities` | Hooks and shared utilities |# Themingdiff --git a/packages/twenty-ui/docs/components.ts b/packages/twenty-ui/docs/components.tsindex 042b24a79f4..91fc95bc391 100644--- a/packages/twenty-ui/docs/components.ts+++ b/packages/twenty-ui/docs/components.ts@@ -1,104 +1,104 @@export const DOCUMENTED_COMPONENTS = [{name: 'Field',- source: 'input/Field/Field.tsx',- entryPoint: 'twenty-ui/input',+ source: 'primitives/input/Field/Field.tsx',+ entryPoint: 'twenty-ui/primitives/input',slug: 'input/field',},{name: 'Input',- source: 'input/Input/Input.tsx',- entryPoint: 'twenty-ui/input',+ source: 'primitives/input/Input/Input.tsx',+ entryPoint: 'twenty-ui/primitives/input',slug: 'input/input',},{name: 'InputGroup',- source: 'input/InputGroup/InputGroup.tsx',- entryPoint: 'twenty-ui/input',+ source: 'primitives/input/InputGroup/InputGroup.tsx',+ entryPoint: 'twenty-ui/primitives/input',slug: 'input/input-group',},{name: 'Textarea',- source: 'input/Textarea/Textarea.tsx',- entryPoint: 'twenty-ui/input',+ source: 'primitives/input/Textarea/Textarea.tsx',+ entryPoint: 'twenty-ui/primitives/input',slug: 'input/textarea',},{name: 'Checkbox',- source: 'input/Checkbox/Checkbox.tsx',- entryPoint: 'twenty-ui/input',+ source: 'primitives/input/Checkbox/Checkbox.tsx',+ entryPoint: 'twenty-ui/primitives/input',slug: 'input/checkbox',},{name: 'Radio',- source: 'input/Radio/Radio.tsx',- entryPoint: 'twenty-ui/input',+ source: 'primitives/input/Radio/Radio.tsx',+ entryPoint: 'twenty-ui/primitives/input',slug: 'input/radio',},{name: 'RadioGroup',- source: 'input/RadioGroup/RadioGroup.tsx',- entryPoint: 'twenty-ui/input',+ source: 'primitives/input/RadioGroup/RadioGroup.tsx',+ entryPoint: 'twenty-ui/primitives/input',slug: 'input/radio-group',},{name: 'Select',- source: 'input/Select/Select.tsx',- entryPoint: 'twenty-ui/input',+ source: 'primitives/input/Select/Select.tsx',+ entryPoint: 'twenty-ui/primitives/input',slug: 'input/select',},{name: 'Slider',- source: 'input/Slider/Slider.tsx',- entryPoint: 'twenty-ui/input',+ source: 'primitives/input/Slider/Slider.tsx',+ entryPoint: 'twenty-ui/primitives/input',slug: 'input/slider',},{name: 'Switch',- source: 'input/Switch/Switch.tsx',- entryPoint: 'twenty-ui/input',+ source: 'primitives/input/Switch/Switch.tsx',+ entryPoint: 'twenty-ui/primitives/input',slug: 'input/switch',},{name: 'ListItem',- source: 'navigation/ListItem/ListItem.tsx',- entryPoint: 'twenty-ui/navigation',+ source: 'primitives/navigation/ListItem/ListItem.tsx',+ entryPoint: 'twenty-ui/primitives/navigation',slug: 'navigation/list-item',},{name: 'Tabs',- source: 'navigation/Tabs/Tabs.tsx',- entryPoint: 'twenty-ui/navigation',+ source: 'primitives/navigation/Tabs/Tabs.tsx',+ entryPoint: 'twenty-ui/primitives/navigation',slug: 'navigation/tabs',},{name: 'AlertDialog',- source: 'surfaces/AlertDialog/AlertDialog.tsx',- entryPoint: 'twenty-ui/surfaces',+ source: 'primitives/surfaces/AlertDialog/AlertDialog.tsx',+ entryPoint: 'twenty-ui/primitives/surfaces',slug: 'surfaces/alert-dialog',},{name: 'Menu',- source: 'surfaces/Menu/Menu.tsx',- entryPoint: 'twenty-ui/surfaces',+ source: 'primitives/surfaces/Menu/Menu.tsx',+ entryPoint: 'twenty-ui/primitives/surfaces',slug: 'surfaces/menu',},{name: 'Popover',- source: 'surfaces/Popover/Popover.tsx',- entryPoint: 'twenty-ui/surfaces',+ source: 'primitives/surfaces/Popover/Popover.tsx',+ entryPoint: 'twenty-ui/primitives/surfaces',slug: 'surfaces/popover',},{name: 'Toast',- source: 'feedback/Toast/Toast.tsx',- entryPoint: 'twenty-ui/feedback',+ source: 'primitives/feedback/Toast/Toast.tsx',+ entryPoint: 'twenty-ui/primitives/feedback',slug: 'feedback/toast',},{name: 'Text',- source: 'typography/Text/Text.tsx',- entryPoint: 'twenty-ui/typography',+ source: 'primitives/typography/Text/Text.tsx',+ entryPoint: 'twenty-ui/primitives/typography',slug: 'typography/text',},] as const;diff --git a/packages/twenty-ui/generated/components.docs.json b/packages/twenty-ui/generated/components.docs.jsonindex fcd484f4edb..f8d8d2aa341 100644--- a/packages/twenty-ui/generated/components.docs.json+++ b/packages/twenty-ui/generated/components.docs.json@@ -1,7 +1,7 @@[{"name": "Field",- "entryPoint": "twenty-ui/input",+ "entryPoint": "twenty-ui/primitives/input","slug": "input/field","props": [],"parts": [@@ -242,7 +242,7 @@},{"name": "Input",- "entryPoint": "twenty-ui/input",+ "entryPoint": "twenty-ui/primitives/input","slug": "input/input","props": [{@@ -298,7 +298,7 @@},{"name": "InputGroup",- "entryPoint": "twenty-ui/input",+ "entryPoint": "twenty-ui/primitives/input","slug": "input/input-group","props": [{@@ -333,7 +333,7 @@},{"name": "Textarea",- "entryPoint": "twenty-ui/input",+ "entryPoint": "twenty-ui/primitives/input","slug": "input/textarea","props": [{@@ -382,7 +382,7 @@},{"name": "Checkbox",- "entryPoint": "twenty-ui/input",+ "entryPoint": "twenty-ui/primitives/input","slug": "input/checkbox","props": [{@@ -550,7 +550,7 @@},{"name": "Radio",- "entryPoint": "twenty-ui/input",+ "entryPoint": "twenty-ui/primitives/input","slug": "input/radio","props": [{@@ -627,7 +627,7 @@},{"name": "RadioGroup",- "entryPoint": "twenty-ui/input",+ "entryPoint": "twenty-ui/primitives/input","slug": "input/radio-group","props": [{@@ -718,7 +718,7 @@},{"name": "Select",- "entryPoint": "twenty-ui/input",+ "entryPoint": "twenty-ui/primitives/input","slug": "input/select","props": [],"parts": [@@ -1228,7 +1228,7 @@},{"name": "Slider",- "entryPoint": "twenty-ui/input",+ "entryPoint": "twenty-ui/primitives/input","slug": "input/slider","props": [],"parts": [@@ -1614,7 +1614,7 @@},{"name": "Switch",- "entryPoint": "twenty-ui/input",+ "entryPoint": "twenty-ui/primitives/input","slug": "input/switch","props": [{@@ -1740,7 +1740,7 @@},{"name": "ListItem",- "entryPoint": "twenty-ui/navigation",+ "entryPoint": "twenty-ui/primitives/navigation","slug": "navigation/list-item","props": [{@@ -1838,7 +1838,7 @@},{"name": "Tabs",- "entryPoint": "twenty-ui/navigation",+ "entryPoint": "twenty-ui/primitives/navigation","slug": "navigation/tabs","props": [],"parts": [@@ -2048,7 +2048,7 @@},{"name": "AlertDialog",- "entryPoint": "twenty-ui/surfaces",+ "entryPoint": "twenty-ui/primitives/surfaces","slug": "surfaces/alert-dialog","props": [],"parts": [@@ -2360,7 +2360,7 @@},{"name": "Menu",- "entryPoint": "twenty-ui/surfaces",+ "entryPoint": "twenty-ui/primitives/surfaces","slug": "surfaces/menu","props": [],"parts": [@@ -3324,7 +3324,7 @@},{"name": "Popover",- "entryPoint": "twenty-ui/surfaces",+ "entryPoint": "twenty-ui/primitives/surfaces","slug": "surfaces/popover","props": [],"parts": [@@ -3663,7 +3663,7 @@},{"name": "Toast",- "entryPoint": "twenty-ui/feedback",+ "entryPoint": "twenty-ui/primitives/feedback","slug": "feedback/toast","props": [{@@ -3754,7 +3754,7 @@},{"name": "Text",- "entryPoint": "twenty-ui/typography",+ "entryPoint": "twenty-ui/primitives/typography","slug": "typography/text","props": [{diff --git a/packages/twenty-ui/package.json b/packages/twenty-ui/package.jsonindex b922fd3d369..b80c70076c4 100644--- a/packages/twenty-ui/package.json+++ b/packages/twenty-ui/package.json@@ -103,61 +103,76 @@"./style.css": "./dist/style.css","./theme-light.css": "./dist/theme-light.css","./theme-dark.css": "./dist/theme-dark.css",- "./accessibility": {- "types": "./dist/accessibility/index.d.ts",- "import": "./dist/accessibility.mjs",- "require": "./dist/accessibility.cjs"- },"./assets": {"types": "./dist/assets/index.d.ts","import": "./dist/assets.mjs","require": "./dist/assets.cjs"},- "./data-display": {- "types": "./dist/data-display/index.d.ts",- "import": "./dist/data-display.mjs",- "require": "./dist/data-display.cjs"- },- "./feedback": {- "types": "./dist/feedback/index.d.ts",- "import": "./dist/feedback.mjs",- "require": "./dist/feedback.cjs"+ "./components": {+ "types": "./dist/components/index.d.ts",+ "import": "./dist/components.mjs",+ "require": "./dist/components.cjs"},"./icon": {"types": "./dist/icon/index.d.ts","import": "./dist/icon.mjs","require": "./dist/icon.cjs"},- "./input": {- "types": "./dist/input/index.d.ts",- "import": "./dist/input.mjs",- "require": "./dist/input.cjs"- },- "./json-visualizer": {- "types": "./dist/json-visualizer/index.d.ts",- "import": "./dist/json-visualizer.mjs",- "require": "./dist/json-visualizer.cjs"- },- "./layout": {- "types": "./dist/layout/index.d.ts",- "import": "./dist/layout.mjs",- "require": "./dist/layout.cjs"- },- "./navigation": {- "types": "./dist/navigation/index.d.ts",- "import": "./dist/navigation.mjs",- "require": "./dist/navigation.cjs"+ "./primitives": {+ "types": "./dist/primitives/index.d.ts",+ "import": "./dist/primitives.mjs",+ "require": "./dist/primitives.cjs"+ },+ "./primitives/accessibility": {+ "types": "./dist/primitives/accessibility/index.d.ts",+ "import": "./dist/primitives/accessibility.mjs",+ "require": "./dist/primitives/accessibility.cjs"+ },+ "./primitives/data-display": {+ "types": "./dist/primitives/data-display/index.d.ts",+ "import": "./dist/primitives/data-display.mjs",+ "require": "./dist/primitives/data-display.cjs"+ },+ "./primitives/feedback": {+ "types": "./dist/primitives/feedback/index.d.ts",+ "import": "./dist/primitives/feedback.mjs",+ "require": "./dist/primitives/feedback.cjs"+ },+ "./primitives/input": {+ "types": "./dist/primitives/input/index.d.ts",+ "import": "./dist/primitives/input.mjs",+ "require": "./dist/primitives/input.cjs"+ },+ "./primitives/json-visualizer": {+ "types": "./dist/primitives/json-visualizer/index.d.ts",+ "import": "./dist/primitives/json-visualizer.mjs",+ "require": "./dist/primitives/json-visualizer.cjs"+ },+ "./primitives/layout": {+ "types": "./dist/primitives/layout/index.d.ts",+ "import": "./dist/primitives/layout.mjs",+ "require": "./dist/primitives/layout.cjs"+ },+ "./primitives/navigation": {+ "types": "./dist/primitives/navigation/index.d.ts",+ "import": "./dist/primitives/navigation.mjs",+ "require": "./dist/primitives/navigation.cjs"+ },+ "./primitives/surfaces": {+ "types": "./dist/primitives/surfaces/index.d.ts",+ "import": "./dist/primitives/surfaces.mjs",+ "require": "./dist/primitives/surfaces.cjs"+ },+ "./primitives/typography": {+ "types": "./dist/primitives/typography/index.d.ts",+ "import": "./dist/primitives/typography.mjs",+ "require": "./dist/primitives/typography.cjs"},"./styles": {"types": "./dist/styles/index.d.ts","import": "./dist/styles.mjs","require": "./dist/styles.cjs"},- "./surfaces": {- "types": "./dist/surfaces/index.d.ts",- "import": "./dist/surfaces.mjs",- "require": "./dist/surfaces.cjs"- },"./testing": {"types": "./dist/testing/index.d.ts","import": "./dist/testing.mjs",@@ -173,11 +188,6 @@"import": "./dist/theme-constants.mjs","require": "./dist/theme-constants.cjs"},- "./typography": {- "types": "./dist/typography/index.d.ts",- "import": "./dist/typography.mjs",- "require": "./dist/typography.cjs"- },"./utilities": {"types": "./dist/utilities/index.d.ts","import": "./dist/utilities.mjs",@@ -186,39 +196,48 @@},"typesVersions": {"*": {- "accessibility": [- "dist/accessibility/index.d.ts"- ],"assets": ["dist/assets/index.d.ts"],- "data-display": [- "dist/data-display/index.d.ts"- ],- "feedback": [- "dist/feedback/index.d.ts"+ "components": [+ "dist/components/index.d.ts"],"icon": ["dist/icon/index.d.ts"],- "input": [- "dist/input/index.d.ts"+ "primitives": [+ "dist/primitives/index.d.ts"],- "json-visualizer": [- "dist/json-visualizer/index.d.ts"+ "primitives/accessibility": [+ "dist/primitives/accessibility/index.d.ts"],- "layout": [- "dist/layout/index.d.ts"+ "primitives/data-display": [+ "dist/primitives/data-display/index.d.ts"],- "navigation": [- "dist/navigation/index.d.ts"+ "primitives/feedback": [+ "dist/primitives/feedback/index.d.ts"+ ],+ "primitives/input": [+ "dist/primitives/input/index.d.ts"+ ],+ "primitives/json-visualizer": [+ "dist/primitives/json-visualizer/index.d.ts"+ ],+ "primitives/layout": [+ "dist/primitives/layout/index.d.ts"+ ],+ "primitives/navigation": [+ "dist/primitives/navigation/index.d.ts"+ ],+ "primitives/surfaces": [+ "dist/primitives/surfaces/index.d.ts"+ ],+ "primitives/typography": [+ "dist/primitives/typography/index.d.ts"],"styles": ["dist/styles/index.d.ts"],- "surfaces": [- "dist/surfaces/index.d.ts"- ],"testing": ["dist/testing/index.d.ts"],@@ -228,9 +247,6 @@"theme-constants": ["dist/theme-constants/index.d.ts"],- "typography": [- "dist/typography/index.d.ts"- ],"utilities": ["dist/utilities/index.d.ts"]diff --git a/packages/twenty-ui/scripts/generateBarrels.ts b/packages/twenty-ui/scripts/generateBarrels.tsindex 53f5c375943..9ac11d07c8a 100644--- a/packages/twenty-ui/scripts/generateBarrels.ts+++ b/packages/twenty-ui/scripts/generateBarrels.ts@@ -60,16 +60,18 @@ const createTypeScriptFile = ({);};-const getLastPathFolder = (pathStr: string) => path.basename(pathStr);+const getModuleName = (moduleDirectory: string) =>+ slash(path.relative(SRC_PATH, moduleDirectory));const getSubDirectoryPaths = (directoryPath: string): string[] => {- const pattern = slash(path.join(directoryPath, '*/'));- return globSync(pattern, {+ return globSync('*/', {ignore: [...EXCLUDED_DIRECTORIES],- cwd: SRC_PATH,+ cwd: directoryPath,nodir: false,maxDepth: 1,- }).sort((a, b) => a.localeCompare(b));+ })+ .map((directory) => path.resolve(directoryPath, directory))+ .sort((a, b) => a.localeCompare(b));};const partitionFileExportsByType = (declarations: DeclarationOccurrence[]) => {@@ -103,7 +105,16 @@ const partitionFileExportsByType = (declarations: DeclarationOccurrence[]) => {const generateModuleIndexFiles = (exportByBarrel: ExportByBarrel[]) => {return exportByBarrel.map<createTypeScriptFileArgs>(({ barrel: { moduleDirectory }, allFileExports }) => {- const content = allFileExports+ const childModuleDirectories = exportByBarrel+ .map(({ barrel }) => barrel.moduleDirectory)+ .filter((directory) => path.dirname(directory) === moduleDirectory);+ const fileExports = allFileExports+ .filter(+ ({ file }) =>+ !childModuleDirectories.some((directory) =>+ file.startsWith(`${directory}${path.sep}`),+ ),+ ).sort((a, b) => a.file.localeCompare(b.file)).map(({ exports, file }) => {const { otherDeclarations, typeAndInterfaceDeclarations } =@@ -134,6 +145,12 @@ const generateModuleIndexFiles = (exportByBarrel: ExportByBarrel[]) => {.join('\n');}).join('\n');+ const childModuleExports = childModuleDirectories.map(+ (directory) => `export * from './${path.basename(directory)}';`,+ );+ const content = [fileExports, ...childModuleExports]+ .filter((entry) => entry !== '')+ .join('\n');return {// A placeholder barrel for an empty module must still be a valid module@@ -202,7 +219,7 @@ type ExportsConfig = Record<string, ExportOccurrence | string>;const generateModulePackageExports = (moduleDirectories: string[]) => {return moduleDirectories.reduce<ExportsConfig>((acc, moduleDirectory) => {- const moduleName = getLastPathFolder(moduleDirectory);+ const moduleName = getModuleName(moduleDirectory);if (moduleName === undefined) {throw new Error(`Should never occur, moduleName is undefined ${moduleDirectory}`,@@ -229,7 +246,7 @@ const generateModulePackageExports = (moduleDirectories: string[]) => {const computePackageJsonFilesAndExportsConfig = (moduleDirectories: string[],) => {- const entrypoints = moduleDirectories.map(getLastPathFolder);+ const entrypoints = moduleDirectories.map(getModuleName);const exports = {'.': {types: './dist/index.d.ts',@@ -252,6 +269,7 @@ const computePackageJsonFilesAndExportsConfig = (typesVersions: { '*': typesVersionsEntries },files: ['dist',+ 'LICENSE','!dist/individual','!dist/individual/**','!dist/**/*.map',@@ -472,7 +490,7 @@ type ExportByBarrel = {const retrieveExportsByBarrel = (barrelDirectories: string[]) => {return barrelDirectories.map<ExportByBarrel>((moduleDirectory) => {const moduleExportsPerFile = findAllExports(moduleDirectory);- const moduleName = getLastPathFolder(moduleDirectory);+ const moduleName = getModuleName(moduleDirectory);if (!moduleName) {throw new Error(`Should never occur moduleName not found ${moduleDirectory}`,@@ -494,7 +512,7 @@ const INDIVIDUAL_ENTRY_FILENAME = 'individual-entry';const getRootBarrelModuleNames = (moduleDirectories: string[]) =>moduleDirectories- .map(getLastPathFolder)+ .map(getModuleName).filter((moduleName) => !ROOT_BARREL_EXCLUDED_MODULES.includes(moduleName));const generateRootBarrel = (@@ -523,10 +541,14 @@ const generateIndividualEntry = (const main = () => {const moduleDirectories = getSubDirectoryPaths(SRC_PATH);- const exportsByBarrel = retrieveExportsByBarrel(moduleDirectories);+ const barrelDirectories = [+ ...moduleDirectories,+ ...getSubDirectoryPaths(path.join(SRC_PATH, 'primitives')),+ ].sort((first, second) => first.localeCompare(second));+ const exportsByBarrel = retrieveExportsByBarrel(barrelDirectories);const moduleIndexFiles = generateModuleIndexFiles(exportsByBarrel);const packageJsonConfig =- computePackageJsonFilesAndExportsConfig(moduleDirectories);+ computePackageJsonFilesAndExportsConfig(barrelDirectories);const nxBuildOutputsPath = computeProjectNxBuildOutputsPath();updateNxProjectConfigurationBuildOutputs(nxBuildOutputsPath);diff --git a/packages/twenty-ui/src/components/index.ts b/packages/twenty-ui/src/components/index.tsnew file mode 100644index 00000000000..a3046804c03--- /dev/null+++ b/packages/twenty-ui/src/components/index.ts@@ -0,0 +1,10 @@+/*+ * _____ _+ *|_ _|_ _____ _ __ | |_ _ _+ * | | \ \ /\ / / _ \ '_ \| __| | | | Auto-generated file+ * | | \ V V / __/ | | | |_| |_| | Any edits to this will be overridden+ * |_| \_/\_/ \___|_| |_|\__|\__, |+ * |___/+ */++export {};diff --git a/packages/twenty-ui/src/index.ts b/packages/twenty-ui/src/index.tsindex 4bfda57bb1e..2f2a17ab45e 100644--- a/packages/twenty-ui/src/index.ts+++ b/packages/twenty-ui/src/index.ts@@ -9,16 +9,9 @@import './styles/base/reset.scss';-export * from './accessibility';-export * from './data-display';-export * from './feedback';+export * from './components';export * from './icon';-export * from './input';-export * from './json-visualizer';-export * from './layout';-export * from './navigation';-export * from './surfaces';+export * from './primitives';export * from './theme';export * from './theme-constants';-export * from './typography';export * from './utilities';diff --git a/packages/twenty-ui/src/individual-entry.ts b/packages/twenty-ui/src/individual-entry.tsindex cf516527194..8c4e563bb9f 100644--- a/packages/twenty-ui/src/individual-entry.ts+++ b/packages/twenty-ui/src/individual-entry.ts@@ -7,16 +7,9 @@* |___/*/-export * from './accessibility';-export * from './data-display';-export * from './feedback';+export * from './components';export * from './icon';-export * from './input';-export * from './json-visualizer';-export * from './layout';-export * from './navigation';-export * from './surfaces';+export * from './primitives';export * from './theme';export * from './theme-constants';-export * from './typography';export * from './utilities';diff --git a/packages/twenty-ui/src/input/CardPicker/types/CardPickerProps.ts b/packages/twenty-ui/src/input/CardPicker/types/CardPickerProps.tsdeleted file mode 100644index 4b8cb4e30d5..00000000000--- a/packages/twenty-ui/src/input/CardPicker/types/CardPickerProps.ts+++ /dev/null@@ -1,3 +0,0 @@-import { type RadioProps } from '@ui/input/Radio/types/RadioProps';--export type CardPickerProps<TValue = string> = RadioProps<TValue>;diff --git a/packages/twenty-ui/src/json-visualizer/types/GetJsonNodeHighlighting.ts b/packages/twenty-ui/src/json-visualizer/types/GetJsonNodeHighlighting.tsdeleted file mode 100644index 412a0800a64..00000000000--- a/packages/twenty-ui/src/json-visualizer/types/GetJsonNodeHighlighting.ts+++ /dev/null@@ -1,5 +0,0 @@-import { type JsonNodeHighlighting } from '@ui/json-visualizer/types/JsonNodeHighlighting';--export type GetJsonNodeHighlighting = (- keyPath: string,-) => JsonNodeHighlighting | undefined;diff --git a/packages/twenty-ui/src/json-visualizer/utils/isTwoFirstDepths.ts b/packages/twenty-ui/src/json-visualizer/utils/isTwoFirstDepths.tsdeleted file mode 100644index 37ecc11a87c..00000000000--- a/packages/twenty-ui/src/json-visualizer/utils/isTwoFirstDepths.ts+++ /dev/null@@ -1,4 +0,0 @@-import { type ShouldExpandNodeInitiallyProps } from '@ui/json-visualizer/contexts/JsonTreeContext';--export const isTwoFirstDepths = ({ depth }: ShouldExpandNodeInitiallyProps) =>- depth <= 1;diff --git a/packages/twenty-ui/src/layout/AnimatedExpandableContainer/types/AnimationDurations.ts b/packages/twenty-ui/src/layout/AnimatedExpandableContainer/types/AnimationDurations.tsdeleted file mode 100644index fe5e8e8405e..00000000000--- a/packages/twenty-ui/src/layout/AnimatedExpandableContainer/types/AnimationDurations.ts+++ /dev/null@@ -1,3 +0,0 @@-import { type AnimationDurationObject } from '@ui/layout/AnimatedExpandableContainer/types/AnimationDurationObject';--export type AnimationDurations = AnimationDurationObject | 'default';diff --git a/packages/twenty-ui/src/accessibility/components/VisibilityHidden.module.scss b/packages/twenty-ui/src/primitives/accessibility/components/VisibilityHidden.module.scsssimilarity index 100%rename from packages/twenty-ui/src/accessibility/components/VisibilityHidden.module.scssrename to packages/twenty-ui/src/primitives/accessibility/components/VisibilityHidden.module.scssdiff --git a/packages/twenty-ui/src/accessibility/components/VisibilityHidden.module.scss.d.ts b/packages/twenty-ui/src/primitives/accessibility/components/VisibilityHidden.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/accessibility/components/VisibilityHidden.module.scss.d.tsrename to packages/twenty-ui/src/primitives/accessibility/components/VisibilityHidden.module.scss.d.tsdiff --git a/packages/twenty-ui/src/accessibility/components/VisibilityHidden.tsx b/packages/twenty-ui/src/primitives/accessibility/components/VisibilityHidden.tsxsimilarity index 100%rename from packages/twenty-ui/src/accessibility/components/VisibilityHidden.tsxrename to packages/twenty-ui/src/primitives/accessibility/components/VisibilityHidden.tsxdiff --git a/packages/twenty-ui/src/accessibility/components/VisibilityHiddenInput.module.scss b/packages/twenty-ui/src/primitives/accessibility/components/VisibilityHiddenInput.module.scsssimilarity index 100%rename from packages/twenty-ui/src/accessibility/components/VisibilityHiddenInput.module.scssrename to packages/twenty-ui/src/primitives/accessibility/components/VisibilityHiddenInput.module.scssdiff --git a/packages/twenty-ui/src/accessibility/components/VisibilityHiddenInput.module.scss.d.ts b/packages/twenty-ui/src/primitives/accessibility/components/VisibilityHiddenInput.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/accessibility/components/VisibilityHiddenInput.module.scss.d.tsrename to packages/twenty-ui/src/primitives/accessibility/components/VisibilityHiddenInput.module.scss.d.tsdiff --git a/packages/twenty-ui/src/accessibility/components/VisibilityHiddenInput.tsx b/packages/twenty-ui/src/primitives/accessibility/components/VisibilityHiddenInput.tsxsimilarity index 100%rename from packages/twenty-ui/src/accessibility/components/VisibilityHiddenInput.tsxrename to packages/twenty-ui/src/primitives/accessibility/components/VisibilityHiddenInput.tsxdiff --git a/packages/twenty-ui/src/accessibility/index.ts b/packages/twenty-ui/src/primitives/accessibility/index.tssimilarity index 100%rename from packages/twenty-ui/src/accessibility/index.tsrename to packages/twenty-ui/src/primitives/accessibility/index.tsdiff --git a/packages/twenty-ui/src/accessibility/utils/handleClickableElementKeyDown.ts b/packages/twenty-ui/src/primitives/accessibility/utils/handleClickableElementKeyDown.tssimilarity index 100%rename from packages/twenty-ui/src/accessibility/utils/handleClickableElementKeyDown.tsrename to packages/twenty-ui/src/primitives/accessibility/utils/handleClickableElementKeyDown.tsdiff --git a/packages/twenty-ui/src/data-display/AnimatedCheckmark/AnimatedCheckmark.module.scss b/packages/twenty-ui/src/primitives/data-display/AnimatedCheckmark/AnimatedCheckmark.module.scsssimilarity index 100%rename from packages/twenty-ui/src/data-display/AnimatedCheckmark/AnimatedCheckmark.module.scssrename to packages/twenty-ui/src/primitives/data-display/AnimatedCheckmark/AnimatedCheckmark.module.scssdiff --git a/packages/twenty-ui/src/data-display/AnimatedCheckmark/AnimatedCheckmark.module.scss.d.ts b/packages/twenty-ui/src/primitives/data-display/AnimatedCheckmark/AnimatedCheckmark.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/data-display/AnimatedCheckmark/AnimatedCheckmark.module.scss.d.tsrename to packages/twenty-ui/src/primitives/data-display/AnimatedCheckmark/AnimatedCheckmark.module.scss.d.tsdiff --git a/packages/twenty-ui/src/data-display/AnimatedCheckmark/AnimatedCheckmark.tsx b/packages/twenty-ui/src/primitives/data-display/AnimatedCheckmark/AnimatedCheckmark.tsxsimilarity index 100%rename from packages/twenty-ui/src/data-display/AnimatedCheckmark/AnimatedCheckmark.tsxrename to packages/twenty-ui/src/primitives/data-display/AnimatedCheckmark/AnimatedCheckmark.tsxdiff --git a/packages/twenty-ui/src/data-display/Avatar/Avatar.module.scss b/packages/twenty-ui/src/primitives/data-display/Avatar/Avatar.module.scsssimilarity index 100%rename from packages/twenty-ui/src/data-display/Avatar/Avatar.module.scssrename to packages/twenty-ui/src/primitives/data-display/Avatar/Avatar.module.scssdiff --git a/packages/twenty-ui/src/data-display/Avatar/Avatar.module.scss.d.ts b/packages/twenty-ui/src/primitives/data-display/Avatar/Avatar.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/data-display/Avatar/Avatar.module.scss.d.tsrename to packages/twenty-ui/src/primitives/data-display/Avatar/Avatar.module.scss.d.tsdiff --git a/packages/twenty-ui/src/data-display/Avatar/Avatar.tsx b/packages/twenty-ui/src/primitives/data-display/Avatar/Avatar.tsxsimilarity index 100%rename from packages/twenty-ui/src/data-display/Avatar/Avatar.tsxrename to packages/twenty-ui/src/primitives/data-display/Avatar/Avatar.tsxdiff --git a/packages/twenty-ui/src/data-display/Avatar/__stories__/Avatar.stories.tsx b/packages/twenty-ui/src/primitives/data-display/Avatar/__stories__/Avatar.stories.tsxsimilarity index 97%rename from packages/twenty-ui/src/data-display/Avatar/__stories__/Avatar.stories.tsxrename to packages/twenty-ui/src/primitives/data-display/Avatar/__stories__/Avatar.stories.tsxindex 86797670bb4..44d4fee17b9 100644--- a/packages/twenty-ui/src/data-display/Avatar/__stories__/Avatar.stories.tsx+++ b/packages/twenty-ui/src/primitives/data-display/Avatar/__stories__/Avatar.stories.tsx@@ -10,8 +10,8 @@ import {A11Y_DEFER_COLOR_CONTRAST,} from '@ui/testing';-import { Avatar } from '@ui/data-display/Avatar/Avatar';-import { type AvatarShape } from '@ui/data-display/Avatar/types/AvatarShape';+import { Avatar } from '@ui/primitives/data-display/Avatar/Avatar';+import { type AvatarShape } from '@ui/primitives/data-display/Avatar/types/AvatarShape';import { IconUser } from '@ui/icon';const meta: Meta<typeof Avatar> = {diff --git a/packages/twenty-ui/src/data-display/Avatar/__tests__/Avatar.test.tsx b/packages/twenty-ui/src/primitives/data-display/Avatar/__tests__/Avatar.test.tsxsimilarity index 100%rename from packages/twenty-ui/src/data-display/Avatar/__tests__/Avatar.test.tsxrename to packages/twenty-ui/src/primitives/data-display/Avatar/__tests__/Avatar.test.tsxdiff --git a/packages/twenty-ui/src/data-display/Avatar/constants/AvatarPropertiesBySize.ts b/packages/twenty-ui/src/primitives/data-display/Avatar/constants/AvatarPropertiesBySize.tssimilarity index 100%rename from packages/twenty-ui/src/data-display/Avatar/constants/AvatarPropertiesBySize.tsrename to packages/twenty-ui/src/primitives/data-display/Avatar/constants/AvatarPropertiesBySize.tsdiff --git a/packages/twenty-ui/src/data-display/Avatar/types/AvatarProps.ts b/packages/twenty-ui/src/primitives/data-display/Avatar/types/AvatarProps.tssimilarity index 100%rename from packages/twenty-ui/src/data-display/Avatar/types/AvatarProps.tsrename to packages/twenty-ui/src/primitives/data-display/Avatar/types/AvatarProps.tsdiff --git a/packages/twenty-ui/src/data-display/Avatar/types/AvatarShape.ts b/packages/twenty-ui/src/primitives/data-display/Avatar/types/AvatarShape.tssimilarity index 100%rename from packages/twenty-ui/src/data-display/Avatar/types/AvatarShape.tsrename to packages/twenty-ui/src/primitives/data-display/Avatar/types/AvatarShape.tsdiff --git a/packages/twenty-ui/src/data-display/Avatar/types/AvatarSize.ts b/packages/twenty-ui/src/primitives/data-display/Avatar/types/AvatarSize.tssimilarity index 100%rename from packages/twenty-ui/src/data-display/Avatar/types/AvatarSize.tsrename to packages/twenty-ui/src/primitives/data-display/Avatar/types/AvatarSize.tsdiff --git a/packages/twenty-ui/src/data-display/AvatarGroup/AvatarGroup.module.scss b/packages/twenty-ui/src/primitives/data-display/AvatarGroup/AvatarGroup.module.scsssimilarity index 100%rename from packages/twenty-ui/src/data-display/AvatarGroup/AvatarGroup.module.scssrename to packages/twenty-ui/src/primitives/data-display/AvatarGroup/AvatarGroup.module.scssdiff --git a/packages/twenty-ui/src/data-display/AvatarGroup/AvatarGroup.module.scss.d.ts b/packages/twenty-ui/src/primitives/data-display/AvatarGroup/AvatarGroup.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/data-display/AvatarGroup/AvatarGroup.module.scss.d.tsrename to packages/twenty-ui/src/primitives/data-display/AvatarGroup/AvatarGroup.module.scss.d.tsdiff --git a/packages/twenty-ui/src/data-display/AvatarGroup/AvatarGroup.tsx b/packages/twenty-ui/src/primitives/data-display/AvatarGroup/AvatarGroup.tsxsimilarity index 100%rename from packages/twenty-ui/src/data-display/AvatarGroup/AvatarGroup.tsxrename to packages/twenty-ui/src/primitives/data-display/AvatarGroup/AvatarGroup.tsxdiff --git a/packages/twenty-ui/src/data-display/AvatarGroup/__stories__/AvatarGroup.stories.tsx b/packages/twenty-ui/src/primitives/data-display/AvatarGroup/__stories__/AvatarGroup.stories.tsxsimilarity index 81%rename from packages/twenty-ui/src/data-display/AvatarGroup/__stories__/AvatarGroup.stories.tsxrename to packages/twenty-ui/src/primitives/data-display/AvatarGroup/__stories__/AvatarGroup.stories.tsxindex 72b713460b3..f054c08e052 100644--- a/packages/twenty-ui/src/data-display/AvatarGroup/__stories__/AvatarGroup.stories.tsx+++ b/packages/twenty-ui/src/primitives/data-display/AvatarGroup/__stories__/AvatarGroup.stories.tsx@@ -1,9 +1,9 @@import { type Meta, type StoryObj } from '@storybook/react-vite';-import { Avatar } from '@ui/data-display/Avatar/Avatar';-import { type AvatarProps } from '@ui/data-display/Avatar/types/AvatarProps';-import { type AvatarSize } from '@ui/data-display/Avatar/types/AvatarSize';-import { type AvatarShape } from '@ui/data-display/Avatar/types/AvatarShape';+import { Avatar } from '@ui/primitives/data-display/Avatar/Avatar';+import { type AvatarProps } from '@ui/primitives/data-display/Avatar/types/AvatarProps';+import { type AvatarSize } from '@ui/primitives/data-display/Avatar/types/AvatarSize';+import { type AvatarShape } from '@ui/primitives/data-display/Avatar/types/AvatarShape';import {A11Y_DEFER_COLOR_CONTRAST,AVATAR_URL_MOCK,@@ -14,7 +14,7 @@ import {import {AvatarGroup,type AvatarGroupProps,-} from '@ui/data-display/AvatarGroup/AvatarGroup';+} from '@ui/primitives/data-display/AvatarGroup/AvatarGroup';const makeAvatar = (userName: string, props: Partial<AvatarProps> = {}) => (<Avatar name={userName} colorSeed={userName} {...props} />diff --git a/packages/twenty-ui/src/data-display/AvatarOrIcon/AvatarOrIcon.module.scss b/packages/twenty-ui/src/primitives/data-display/AvatarOrIcon/AvatarOrIcon.module.scsssimilarity index 100%rename from packages/twenty-ui/src/data-display/AvatarOrIcon/AvatarOrIcon.module.scssrename to packages/twenty-ui/src/primitives/data-display/AvatarOrIcon/AvatarOrIcon.module.scssdiff --git a/packages/twenty-ui/src/data-display/AvatarOrIcon/AvatarOrIcon.module.scss.d.ts b/packages/twenty-ui/src/primitives/data-display/AvatarOrIcon/AvatarOrIcon.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/data-display/AvatarOrIcon/AvatarOrIcon.module.scss.d.tsrename to packages/twenty-ui/src/primitives/data-display/AvatarOrIcon/AvatarOrIcon.module.scss.d.tsdiff --git a/packages/twenty-ui/src/data-display/AvatarOrIcon/AvatarOrIcon.tsx b/packages/twenty-ui/src/primitives/data-display/AvatarOrIcon/AvatarOrIcon.tsxsimilarity index 91%rename from packages/twenty-ui/src/data-display/AvatarOrIcon/AvatarOrIcon.tsxrename to packages/twenty-ui/src/primitives/data-display/AvatarOrIcon/AvatarOrIcon.tsxindex d9192d86361..8c304e16544 100644--- a/packages/twenty-ui/src/data-display/AvatarOrIcon/AvatarOrIcon.tsx+++ b/packages/twenty-ui/src/primitives/data-display/AvatarOrIcon/AvatarOrIcon.tsx@@ -1,7 +1,7 @@import { isNonEmptyString } from '@sniptt/guards';-import { handleClickableElementKeyDown } from '@ui/accessibility/utils/handleClickableElementKeyDown';-import { Avatar } from '@ui/data-display/Avatar/Avatar';+import { handleClickableElementKeyDown } from '@ui/primitives/accessibility/utils/handleClickableElementKeyDown';+import { Avatar } from '@ui/primitives/data-display/Avatar/Avatar';import { useTheme } from '@ui/theme-constants';import { isDefined } from '@ui/utilities/utils/isDefined';diff --git a/packages/twenty-ui/src/data-display/AvatarOrIcon/__stories__/AvatarOrIcon.stories.tsx b/packages/twenty-ui/src/primitives/data-display/AvatarOrIcon/__stories__/AvatarOrIcon.stories.tsxsimilarity index 93%rename from packages/twenty-ui/src/data-display/AvatarOrIcon/__stories__/AvatarOrIcon.stories.tsxrename to packages/twenty-ui/src/primitives/data-display/AvatarOrIcon/__stories__/AvatarOrIcon.stories.tsxindex 4f43ded0ed0..ec72b6873a8 100644--- a/packages/twenty-ui/src/data-display/AvatarOrIcon/__stories__/AvatarOrIcon.stories.tsx+++ b/packages/twenty-ui/src/primitives/data-display/AvatarOrIcon/__stories__/AvatarOrIcon.stories.tsx@@ -1,7 +1,7 @@import { type Meta, type StoryObj } from '@storybook/react-vite';import { IconBuildingSkyscraper, IconUser } from '@ui/icon';import { AVATAR_URL_MOCK, ComponentDecorator } from '@ui/testing';-import { AvatarOrIcon } from '@ui/data-display/AvatarOrIcon/AvatarOrIcon';+import { AvatarOrIcon } from '@ui/primitives/data-display/AvatarOrIcon/AvatarOrIcon';const meta: Meta<typeof AvatarOrIcon> = {title: 'UI/Data Display/AvatarOrIcon',diff --git a/packages/twenty-ui/src/data-display/AvatarOrIcon/types/AvatarOrIconProps.ts b/packages/twenty-ui/src/primitives/data-display/AvatarOrIcon/types/AvatarOrIconProps.tssimilarity index 67%rename from packages/twenty-ui/src/data-display/AvatarOrIcon/types/AvatarOrIconProps.tsrename to packages/twenty-ui/src/primitives/data-display/AvatarOrIcon/types/AvatarOrIconProps.tsindex e4209653583..36f76009af4 100644--- a/packages/twenty-ui/src/data-display/AvatarOrIcon/types/AvatarOrIconProps.ts+++ b/packages/twenty-ui/src/primitives/data-display/AvatarOrIcon/types/AvatarOrIconProps.ts@@ -1,5 +1,5 @@-import { type AvatarProps } from '@ui/data-display/Avatar/types/AvatarProps';-import { type AvatarShape } from '@ui/data-display/Avatar/types/AvatarShape';+import { type AvatarProps } from '@ui/primitives/data-display/Avatar/types/AvatarProps';+import { type AvatarShape } from '@ui/primitives/data-display/Avatar/types/AvatarShape';import { type IconComponent } from '@ui/icon/types/IconComponent';import { type Nullable } from '@ui/utilities';diff --git a/packages/twenty-ui/src/data-display/Checkmark/Checkmark.module.scss b/packages/twenty-ui/src/primitives/data-display/Checkmark/Checkmark.module.scsssimilarity index 100%rename from packages/twenty-ui/src/data-display/Checkmark/Checkmark.module.scssrename to packages/twenty-ui/src/primitives/data-display/Checkmark/Checkmark.module.scssdiff --git a/packages/twenty-ui/src/data-display/Checkmark/Checkmark.module.scss.d.ts b/packages/twenty-ui/src/primitives/data-display/Checkmark/Checkmark.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/data-display/Checkmark/Checkmark.module.scss.d.tsrename to packages/twenty-ui/src/primitives/data-display/Checkmark/Checkmark.module.scss.d.tsdiff --git a/packages/twenty-ui/src/data-display/Checkmark/Checkmark.tsx b/packages/twenty-ui/src/primitives/data-display/Checkmark/Checkmark.tsxsimilarity index 100%rename from packages/twenty-ui/src/data-display/Checkmark/Checkmark.tsxrename to packages/twenty-ui/src/primitives/data-display/Checkmark/Checkmark.tsxdiff --git a/packages/twenty-ui/src/data-display/Checkmark/__stories__/Checkmark.stories.tsx b/packages/twenty-ui/src/primitives/data-display/Checkmark/__stories__/Checkmark.stories.tsxsimilarity index 86%rename from packages/twenty-ui/src/data-display/Checkmark/__stories__/Checkmark.stories.tsxrename to packages/twenty-ui/src/primitives/data-display/Checkmark/__stories__/Checkmark.stories.tsxindex 712c294d3c7..95ae681b052 100644--- a/packages/twenty-ui/src/data-display/Checkmark/__stories__/Checkmark.stories.tsx+++ b/packages/twenty-ui/src/primitives/data-display/Checkmark/__stories__/Checkmark.stories.tsx@@ -2,7 +2,7 @@ import { type Meta, type StoryObj } from '@storybook/react-vite';import { ComponentDecorator } from '@ui/testing/decorators/ComponentDecorator';-import { Checkmark } from '@ui/data-display/Checkmark/Checkmark';+import { Checkmark } from '@ui/primitives/data-display/Checkmark/Checkmark';const meta: Meta<typeof Checkmark> = {title: 'UI/Data Display/Checkmark',diff --git a/packages/twenty-ui/src/data-display/Chip/Chip.module.scss b/packages/twenty-ui/src/primitives/data-display/Chip/Chip.module.scsssimilarity index 100%rename from packages/twenty-ui/src/data-display/Chip/Chip.module.scssrename to packages/twenty-ui/src/primitives/data-display/Chip/Chip.module.scssdiff --git a/packages/twenty-ui/src/data-display/Chip/Chip.module.scss.d.ts b/packages/twenty-ui/src/primitives/data-display/Chip/Chip.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/data-display/Chip/Chip.module.scss.d.tsrename to packages/twenty-ui/src/primitives/data-display/Chip/Chip.module.scss.d.tsdiff --git a/packages/twenty-ui/src/data-display/Chip/Chip.tsx b/packages/twenty-ui/src/primitives/data-display/Chip/Chip.tsxsimilarity index 95%rename from packages/twenty-ui/src/data-display/Chip/Chip.tsxrename to packages/twenty-ui/src/primitives/data-display/Chip/Chip.tsxindex 45a70265272..3c44d6ac6d4 100644--- a/packages/twenty-ui/src/data-display/Chip/Chip.tsx+++ b/packages/twenty-ui/src/primitives/data-display/Chip/Chip.tsx@@ -3,7 +3,7 @@ import { useRender } from '@base-ui/react/use-render';import { clsx } from 'clsx';import { type CSSProperties } from 'react';-import { OverflowingTextWithTooltip } from '@ui/surfaces/OverflowingTextWithTooltip/OverflowingTextWithTooltip';+import { OverflowingTextWithTooltip } from '@ui/primitives/surfaces/OverflowingTextWithTooltip/OverflowingTextWithTooltip';import { isDefined } from '@ui/utilities/utils/isDefined';import styles from './Chip.module.scss';diff --git a/packages/twenty-ui/src/data-display/Chip/__stories__/Chip.stories.tsx b/packages/twenty-ui/src/primitives/data-display/Chip/__stories__/Chip.stories.tsxsimilarity index 95%rename from packages/twenty-ui/src/data-display/Chip/__stories__/Chip.stories.tsxrename to packages/twenty-ui/src/primitives/data-display/Chip/__stories__/Chip.stories.tsxindex 474cb80b6d5..396c8b593b5 100644--- a/packages/twenty-ui/src/data-display/Chip/__stories__/Chip.stories.tsx+++ b/packages/twenty-ui/src/primitives/data-display/Chip/__stories__/Chip.stories.tsx@@ -1,7 +1,7 @@import { expect, fn, userEvent, within } from 'storybook/test';import { type Meta, type StoryObj } from '@storybook/react-vite';import { IconUser, IconX } from '@ui/icon';-import { Avatar } from '@ui/data-display/Avatar/Avatar';+import { Avatar } from '@ui/primitives/data-display/Avatar/Avatar';import {A11Y_DEFER_COLOR_CONTRAST,@@ -10,9 +10,9 @@ import {ComponentDecorator,} from '@ui/testing';-import { Chip } from '@ui/data-display/Chip/Chip';-import { type ChipSize } from '@ui/data-display/Chip/types/ChipSize';-import { type ChipVariant } from '@ui/data-display/Chip/types/ChipVariant';+import { Chip } from '@ui/primitives/data-display/Chip/Chip';+import { type ChipSize } from '@ui/primitives/data-display/Chip/types/ChipSize';+import { type ChipVariant } from '@ui/primitives/data-display/Chip/types/ChipVariant';const meta: Meta<typeof Chip> = {title: 'UI/Data Display/Chip',diff --git a/packages/twenty-ui/src/data-display/Chip/__tests__/Chip.test.tsx b/packages/twenty-ui/src/primitives/data-display/Chip/__tests__/Chip.test.tsxsimilarity index 100%rename from packages/twenty-ui/src/data-display/Chip/__tests__/Chip.test.tsxrename to packages/twenty-ui/src/primitives/data-display/Chip/__tests__/Chip.test.tsxdiff --git a/packages/twenty-ui/src/data-display/Chip/constants/LinkChipClickOutsideId.ts b/packages/twenty-ui/src/primitives/data-display/Chip/constants/LinkChipClickOutsideId.tssimilarity index 100%rename from packages/twenty-ui/src/data-display/Chip/constants/LinkChipClickOutsideId.tsrename to packages/twenty-ui/src/primitives/data-display/Chip/constants/LinkChipClickOutsideId.tsdiff --git a/packages/twenty-ui/src/data-display/Chip/types/ChipProps.ts b/packages/twenty-ui/src/primitives/data-display/Chip/types/ChipProps.tssimilarity index 89%rename from packages/twenty-ui/src/data-display/Chip/types/ChipProps.tsrename to packages/twenty-ui/src/primitives/data-display/Chip/types/ChipProps.tsindex ca71bfd8b39..d308a07c8be 100644--- a/packages/twenty-ui/src/data-display/Chip/types/ChipProps.ts+++ b/packages/twenty-ui/src/primitives/data-display/Chip/types/ChipProps.ts@@ -1,7 +1,7 @@import { type useRender } from '@base-ui/react/use-render';import { type ReactNode } from 'react';-import { type TooltipPosition } from '@ui/surfaces/AppTooltip/AppTooltip';+import { type TooltipPosition } from '@ui/primitives/surfaces/AppTooltip/AppTooltip';import { type ChipSize } from './ChipSize';import { type ChipVariant } from './ChipVariant';diff --git a/packages/twenty-ui/src/data-display/Chip/types/ChipSize.ts b/packages/twenty-ui/src/primitives/data-display/Chip/types/ChipSize.tssimilarity index 100%rename from packages/twenty-ui/src/data-display/Chip/types/ChipSize.tsrename to packages/twenty-ui/src/primitives/data-display/Chip/types/ChipSize.tsdiff --git a/packages/twenty-ui/src/data-display/Chip/types/ChipVariant.ts b/packages/twenty-ui/src/primitives/data-display/Chip/types/ChipVariant.tssimilarity index 100%rename from packages/twenty-ui/src/data-display/Chip/types/ChipVariant.tsrename to packages/twenty-ui/src/primitives/data-display/Chip/types/ChipVariant.tsdiff --git a/packages/twenty-ui/src/data-display/ColorSample/ColorSample.module.scss b/packages/twenty-ui/src/primitives/data-display/ColorSample/ColorSample.module.scsssimilarity index 100%rename from packages/twenty-ui/src/data-display/ColorSample/ColorSample.module.scssrename to packages/twenty-ui/src/primitives/data-display/ColorSample/ColorSample.module.scssdiff --git a/packages/twenty-ui/src/data-display/ColorSample/ColorSample.module.scss.d.ts b/packages/twenty-ui/src/primitives/data-display/ColorSample/ColorSample.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/data-display/ColorSample/ColorSample.module.scss.d.tsrename to packages/twenty-ui/src/primitives/data-display/ColorSample/ColorSample.module.scss.d.tsdiff --git a/packages/twenty-ui/src/data-display/ColorSample/ColorSample.tsx b/packages/twenty-ui/src/primitives/data-display/ColorSample/ColorSample.tsxsimilarity index 100%rename from packages/twenty-ui/src/data-display/ColorSample/ColorSample.tsxrename to packages/twenty-ui/src/primitives/data-display/ColorSample/ColorSample.tsxdiff --git a/packages/twenty-ui/src/data-display/ColorSample/__stories__/ColorSample.stories.tsx b/packages/twenty-ui/src/primitives/data-display/ColorSample/__stories__/ColorSample.stories.tsxsimilarity index 86%rename from packages/twenty-ui/src/data-display/ColorSample/__stories__/ColorSample.stories.tsxrename to packages/twenty-ui/src/primitives/data-display/ColorSample/__stories__/ColorSample.stories.tsxindex 8b0df8a1eee..bebda76d8a7 100644--- a/packages/twenty-ui/src/data-display/ColorSample/__stories__/ColorSample.stories.tsx+++ b/packages/twenty-ui/src/primitives/data-display/ColorSample/__stories__/ColorSample.stories.tsx@@ -2,7 +2,7 @@ import { type Meta, type StoryObj } from '@storybook/react-vite';import { ComponentDecorator } from '@ui/testing';-import { ColorSample } from '@ui/data-display/ColorSample/ColorSample';+import { ColorSample } from '@ui/primitives/data-display/ColorSample/ColorSample';const meta: Meta<typeof ColorSample> = {title: 'UI/Data Display/ColorSample',diff --git a/packages/twenty-ui/src/data-display/CommandBlock/CommandBlock.module.scss b/packages/twenty-ui/src/primitives/data-display/CommandBlock/CommandBlock.module.scsssimilarity index 100%rename from packages/twenty-ui/src/data-display/CommandBlock/CommandBlock.module.scssrename to packages/twenty-ui/src/primitives/data-display/CommandBlock/CommandBlock.module.scssdiff --git a/packages/twenty-ui/src/data-display/CommandBlock/CommandBlock.module.scss.d.ts b/packages/twenty-ui/src/primitives/data-display/CommandBlock/CommandBlock.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/data-display/CommandBlock/CommandBlock.module.scss.d.tsrename to packages/twenty-ui/src/primitives/data-display/CommandBlock/CommandBlock.module.scss.d.tsdiff --git a/packages/twenty-ui/src/data-display/CommandBlock/CommandBlock.tsx b/packages/twenty-ui/src/primitives/data-display/CommandBlock/CommandBlock.tsxsimilarity index 100%rename from packages/twenty-ui/src/data-display/CommandBlock/CommandBlock.tsxrename to packages/twenty-ui/src/primitives/data-display/CommandBlock/CommandBlock.tsxdiff --git a/packages/twenty-ui/src/data-display/EllipsisDisplay/EllipsisDisplay.module.scss b/packages/twenty-ui/src/primitives/data-display/EllipsisDisplay/EllipsisDisplay.module.scsssimilarity index 100%rename from packages/twenty-ui/src/data-display/EllipsisDisplay/EllipsisDisplay.module.scssrename to packages/twenty-ui/src/primitives/data-display/EllipsisDisplay/EllipsisDisplay.module.scssdiff --git a/packages/twenty-ui/src/data-display/EllipsisDisplay/EllipsisDisplay.module.scss.d.ts b/packages/twenty-ui/src/primitives/data-display/EllipsisDisplay/EllipsisDisplay.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/data-display/EllipsisDisplay/EllipsisDisplay.module.scss.d.tsrename to packages/twenty-ui/src/primitives/data-display/EllipsisDisplay/EllipsisDisplay.module.scss.d.tsdiff --git a/packages/twenty-ui/src/data-display/EllipsisDisplay/EllipsisDisplay.tsx b/packages/twenty-ui/src/primitives/data-display/EllipsisDisplay/EllipsisDisplay.tsxsimilarity index 89%rename from packages/twenty-ui/src/data-display/EllipsisDisplay/EllipsisDisplay.tsxrename to packages/twenty-ui/src/primitives/data-display/EllipsisDisplay/EllipsisDisplay.tsxindex a40216511e9..06f8390241e 100644--- a/packages/twenty-ui/src/data-display/EllipsisDisplay/EllipsisDisplay.tsx+++ b/packages/twenty-ui/src/primitives/data-display/EllipsisDisplay/EllipsisDisplay.tsx@@ -1,6 +1,6 @@import { clsx } from 'clsx';-import { Text } from '@ui/typography/Text/Text';+import { Text } from '@ui/primitives/typography/Text/Text';import { isDefined } from '@ui/utilities/utils/isDefined';import styles from './EllipsisDisplay.module.scss';diff --git a/packages/twenty-ui/src/data-display/EllipsisDisplay/__stories__/EllipsisDisplay.stories.tsx b/packages/twenty-ui/src/primitives/data-display/EllipsisDisplay/__stories__/EllipsisDisplay.stories.tsxsimilarity index 83%rename from packages/twenty-ui/src/data-display/EllipsisDisplay/__stories__/EllipsisDisplay.stories.tsxrename to packages/twenty-ui/src/primitives/data-display/EllipsisDisplay/__stories__/EllipsisDisplay.stories.tsxindex 8eb05c40d20..02b10ca57ef 100644--- a/packages/twenty-ui/src/data-display/EllipsisDisplay/__stories__/EllipsisDisplay.stories.tsx+++ b/packages/twenty-ui/src/primitives/data-display/EllipsisDisplay/__stories__/EllipsisDisplay.stories.tsx@@ -2,7 +2,7 @@ import { type Meta, type StoryObj } from '@storybook/react-vite';import { ComponentDecorator } from '@ui/testing';-import { EllipsisDisplay } from '@ui/data-display/EllipsisDisplay/EllipsisDisplay';+import { EllipsisDisplay } from '@ui/primitives/data-display/EllipsisDisplay/EllipsisDisplay';const meta: Meta<typeof EllipsisDisplay> = {title: 'UI/Data Display/EllipsisDisplay',diff --git a/packages/twenty-ui/src/data-display/JsonDisplay/JsonDisplay.tsx b/packages/twenty-ui/src/primitives/data-display/JsonDisplay/JsonDisplay.tsxsimilarity index 68%rename from packages/twenty-ui/src/data-display/JsonDisplay/JsonDisplay.tsxrename to packages/twenty-ui/src/primitives/data-display/JsonDisplay/JsonDisplay.tsxindex cd4cba1f1e5..e88cf23e1ff 100644--- a/packages/twenty-ui/src/data-display/JsonDisplay/JsonDisplay.tsx+++ b/packages/twenty-ui/src/primitives/data-display/JsonDisplay/JsonDisplay.tsx@@ -1,4 +1,4 @@-import { EllipsisDisplay } from '@ui/data-display/EllipsisDisplay/EllipsisDisplay';+import { EllipsisDisplay } from '@ui/primitives/data-display/EllipsisDisplay/EllipsisDisplay';type JsonDisplayProps = {text: string;diff --git a/packages/twenty-ui/src/data-display/JsonDisplay/__stories__/JsonDisplay.stories.tsx b/packages/twenty-ui/src/primitives/data-display/JsonDisplay/__stories__/JsonDisplay.stories.tsxsimilarity index 84%rename from packages/twenty-ui/src/data-display/JsonDisplay/__stories__/JsonDisplay.stories.tsxrename to packages/twenty-ui/src/primitives/data-display/JsonDisplay/__stories__/JsonDisplay.stories.tsxindex fe72a58d144..07a51bd638f 100644--- a/packages/twenty-ui/src/data-display/JsonDisplay/__stories__/JsonDisplay.stories.tsx+++ b/packages/twenty-ui/src/primitives/data-display/JsonDisplay/__stories__/JsonDisplay.stories.tsx@@ -2,7 +2,7 @@ import { type Meta, type StoryObj } from '@storybook/react-vite';import { ComponentDecorator } from '@ui/testing';-import { JsonDisplay } from '@ui/data-display/JsonDisplay/JsonDisplay';+import { JsonDisplay } from '@ui/primitives/data-display/JsonDisplay/JsonDisplay';const meta: Meta<typeof JsonDisplay> = {title: 'UI/Data Display/JsonDisplay',diff --git a/packages/twenty-ui/src/data-display/LinkChip/LinkChip.module.scss b/packages/twenty-ui/src/primitives/data-display/LinkChip/LinkChip.module.scsssimilarity index 100%rename from packages/twenty-ui/src/data-display/LinkChip/LinkChip.module.scssrename to packages/twenty-ui/src/primitives/data-display/LinkChip/LinkChip.module.scssdiff --git a/packages/twenty-ui/src/data-display/LinkChip/LinkChip.module.scss.d.ts b/packages/twenty-ui/src/primitives/data-display/LinkChip/LinkChip.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/data-display/LinkChip/LinkChip.module.scss.d.tsrename to packages/twenty-ui/src/primitives/data-display/LinkChip/LinkChip.module.scss.d.tsdiff --git a/packages/twenty-ui/src/data-display/LinkChip/LinkChip.tsx b/packages/twenty-ui/src/primitives/data-display/LinkChip/LinkChip.tsxsimilarity index 85%rename from packages/twenty-ui/src/data-display/LinkChip/LinkChip.tsxrename to packages/twenty-ui/src/primitives/data-display/LinkChip/LinkChip.tsxindex 6c6d8ea009a..08b870d09e7 100644--- a/packages/twenty-ui/src/data-display/LinkChip/LinkChip.tsx+++ b/packages/twenty-ui/src/primitives/data-display/LinkChip/LinkChip.tsx@@ -1,9 +1,9 @@import { type ComponentPropsWithRef, type MouseEvent } from 'react';import { Link } from 'react-router-dom';-import { Chip } from '@ui/data-display/Chip/Chip';-import { type ChipProps } from '@ui/data-display/Chip/types/ChipProps';-import { LINK_CHIP_CLICK_OUTSIDE_ID } from '@ui/data-display/Chip/constants/LinkChipClickOutsideId';+import { Chip } from '@ui/primitives/data-display/Chip/Chip';+import { type ChipProps } from '@ui/primitives/data-display/Chip/types/ChipProps';+import { LINK_CHIP_CLICK_OUTSIDE_ID } from '@ui/primitives/data-display/Chip/constants/LinkChipClickOutsideId';import { type TriggerEventType, useMouseDownNavigation } from '@ui/utilities';import styles from './LinkChip.module.scss';diff --git a/packages/twenty-ui/src/data-display/LinkChip/__stories__/LinkChip.stories.tsx b/packages/twenty-ui/src/primitives/data-display/LinkChip/__stories__/LinkChip.stories.tsxsimilarity index 92%rename from packages/twenty-ui/src/data-display/LinkChip/__stories__/LinkChip.stories.tsxrename to packages/twenty-ui/src/primitives/data-display/LinkChip/__stories__/LinkChip.stories.tsxindex 748f746f961..246c8d950c8 100644--- a/packages/twenty-ui/src/data-display/LinkChip/__stories__/LinkChip.stories.tsx+++ b/packages/twenty-ui/src/primitives/data-display/LinkChip/__stories__/LinkChip.stories.tsx@@ -1,6 +1,6 @@import { type Meta, type StoryObj } from '@storybook/react-vite';import { IconUser, IconX } from '@ui/icon';-import { Avatar } from '@ui/data-display/Avatar/Avatar';+import { Avatar } from '@ui/primitives/data-display/Avatar/Avatar';import {A11Y_DEFER_COLOR_CONTRAST,CatalogDecorator,@@ -9,9 +9,9 @@ import {} from '@ui/testing';import { MemoryRouter } from 'react-router-dom';-import { type ChipSize } from '@ui/data-display/Chip/types/ChipSize';-import { type ChipVariant } from '@ui/data-display/Chip/types/ChipVariant';-import { LinkChip } from '@ui/data-display/LinkChip/LinkChip';+import { type ChipSize } from '@ui/primitives/data-display/Chip/types/ChipSize';+import { type ChipVariant } from '@ui/primitives/data-display/Chip/types/ChipVariant';+import { LinkChip } from '@ui/primitives/data-display/LinkChip/LinkChip';const meta: Meta<typeof LinkChip> = {title: 'UI/Data Display/LinkChip',diff --git a/packages/twenty-ui/src/data-display/NotificationCounter/NotificationCounter.module.scss b/packages/twenty-ui/src/primitives/data-display/NotificationCounter/NotificationCounter.module.scsssimilarity index 100%rename from packages/twenty-ui/src/data-display/NotificationCounter/NotificationCounter.module.scssrename to packages/twenty-ui/src/primitives/data-display/NotificationCounter/NotificationCounter.module.scssdiff --git a/packages/twenty-ui/src/data-display/NotificationCounter/NotificationCounter.module.scss.d.ts b/packages/twenty-ui/src/primitives/data-display/NotificationCounter/NotificationCounter.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/data-display/NotificationCounter/NotificationCounter.module.scss.d.tsrename to packages/twenty-ui/src/primitives/data-display/NotificationCounter/NotificationCounter.module.scss.d.tsdiff --git a/packages/twenty-ui/src/data-display/NotificationCounter/NotificationCounter.tsx b/packages/twenty-ui/src/primitives/data-display/NotificationCounter/NotificationCounter.tsxsimilarity index 100%rename from packages/twenty-ui/src/data-display/NotificationCounter/NotificationCounter.tsxrename to packages/twenty-ui/src/primitives/data-display/NotificationCounter/NotificationCounter.tsxdiff --git a/packages/twenty-ui/src/data-display/NumberDisplay/NumberDisplay.tsx b/packages/twenty-ui/src/primitives/data-display/NumberDisplay/NumberDisplay.tsxsimilarity index 69%rename from packages/twenty-ui/src/data-display/NumberDisplay/NumberDisplay.tsxrename to packages/twenty-ui/src/primitives/data-display/NumberDisplay/NumberDisplay.tsxindex 9c1fe7cfc48..e9cbbc1fc39 100644--- a/packages/twenty-ui/src/data-display/NumberDisplay/NumberDisplay.tsx+++ b/packages/twenty-ui/src/primitives/data-display/NumberDisplay/NumberDisplay.tsx@@ -1,4 +1,4 @@-import { EllipsisDisplay } from '@ui/data-display/EllipsisDisplay/EllipsisDisplay';+import { EllipsisDisplay } from '@ui/primitives/data-display/EllipsisDisplay/EllipsisDisplay';type NumberDisplayProps = {value: string | number | null | undefined;diff --git a/packages/twenty-ui/src/data-display/NumberDisplay/__stories__/NumberDisplay.stories.tsx b/packages/twenty-ui/src/primitives/data-display/NumberDisplay/__stories__/NumberDisplay.stories.tsxsimilarity index 81%rename from packages/twenty-ui/src/data-display/NumberDisplay/__stories__/NumberDisplay.stories.tsxrename to packages/twenty-ui/src/primitives/data-display/NumberDisplay/__stories__/NumberDisplay.stories.tsxindex e625d4f4a25..b607b756e29 100644--- a/packages/twenty-ui/src/data-display/NumberDisplay/__stories__/NumberDisplay.stories.tsx+++ b/packages/twenty-ui/src/primitives/data-display/NumberDisplay/__stories__/NumberDisplay.stories.tsx@@ -2,7 +2,7 @@ import { type Meta, type StoryObj } from '@storybook/react-vite';import { ComponentDecorator } from '@ui/testing';-import { NumberDisplay } from '@ui/data-display/NumberDisplay/NumberDisplay';+import { NumberDisplay } from '@ui/primitives/data-display/NumberDisplay/NumberDisplay';const meta: Meta<typeof NumberDisplay> = {title: 'UI/Data Display/NumberDisplay',diff --git a/packages/twenty-ui/src/data-display/Pill/Pill.module.scss b/packages/twenty-ui/src/primitives/data-display/Pill/Pill.module.scsssimilarity index 100%rename from packages/twenty-ui/src/data-display/Pill/Pill.module.scssrename to packages/twenty-ui/src/primitives/data-display/Pill/Pill.module.scssdiff --git a/packages/twenty-ui/src/data-display/Pill/Pill.module.scss.d.ts b/packages/twenty-ui/src/primitives/data-display/Pill/Pill.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/data-display/Pill/Pill.module.scss.d.tsrename to packages/twenty-ui/src/primitives/data-display/Pill/Pill.module.scss.d.tsdiff --git a/packages/twenty-ui/src/data-display/Pill/Pill.tsx b/packages/twenty-ui/src/primitives/data-display/Pill/Pill.tsxsimilarity index 100%rename from packages/twenty-ui/src/data-display/Pill/Pill.tsxrename to packages/twenty-ui/src/primitives/data-display/Pill/Pill.tsxdiff --git a/packages/twenty-ui/src/data-display/Pill/__stories__/Pill.stories.ts b/packages/twenty-ui/src/primitives/data-display/Pill/__stories__/Pill.stories.tssimilarity index 74%rename from packages/twenty-ui/src/data-display/Pill/__stories__/Pill.stories.tsrename to packages/twenty-ui/src/primitives/data-display/Pill/__stories__/Pill.stories.tsindex cac5bd9e0ed..83cb48d2c11 100644--- a/packages/twenty-ui/src/data-display/Pill/__stories__/Pill.stories.ts+++ b/packages/twenty-ui/src/primitives/data-display/Pill/__stories__/Pill.stories.ts@@ -1,8 +1,8 @@import { type Meta, type StoryObj } from '@storybook/react-vite';-import { Pill } from '@ui/data-display/Pill/Pill';+import { Pill } from '@ui/primitives/data-display/Pill/Pill';import { A11Y_DEFER_COLOR_CONTRAST } from '@ui/testing';-import { ComponentDecorator } from '../../../testing/decorators/ComponentDecorator';+import { ComponentDecorator } from '../../../../testing/decorators/ComponentDecorator';const meta: Meta<typeof Pill> = {title: 'UI/Data Display/Pill',diff --git a/packages/twenty-ui/src/data-display/SelectDisplay/SelectDisplay.tsx b/packages/twenty-ui/src/primitives/data-display/SelectDisplay/SelectDisplay.tsxsimilarity index 90%rename from packages/twenty-ui/src/data-display/SelectDisplay/SelectDisplay.tsxrename to packages/twenty-ui/src/primitives/data-display/SelectDisplay/SelectDisplay.tsxindex dff6156bb91..7f7663b02f5 100644--- a/packages/twenty-ui/src/data-display/SelectDisplay/SelectDisplay.tsx+++ b/packages/twenty-ui/src/primitives/data-display/SelectDisplay/SelectDisplay.tsx@@ -1,5 +1,5 @@import { type IconComponent } from '@ui/icon/types/IconComponent';-import { Tag } from '@ui/data-display/Tag/Tag';+import { Tag } from '@ui/primitives/data-display/Tag/Tag';import { type ThemeColor } from '@ui/theme';import { isDefined } from '@ui/utilities/utils/isDefined';diff --git a/packages/twenty-ui/src/data-display/SelectDisplay/__stories__/SelectDisplay.stories.tsx b/packages/twenty-ui/src/primitives/data-display/SelectDisplay/__stories__/SelectDisplay.stories.tsxsimilarity index 93%rename from packages/twenty-ui/src/data-display/SelectDisplay/__stories__/SelectDisplay.stories.tsxrename to packages/twenty-ui/src/primitives/data-display/SelectDisplay/__stories__/SelectDisplay.stories.tsxindex a002c11210e..c2424bd1c4a 100644--- a/packages/twenty-ui/src/data-display/SelectDisplay/__stories__/SelectDisplay.stories.tsx+++ b/packages/twenty-ui/src/primitives/data-display/SelectDisplay/__stories__/SelectDisplay.stories.tsx@@ -9,7 +9,7 @@ import {} from '@ui/testing';import { type ThemeColor, MAIN_COLOR_NAMES } from '@ui/theme';-import { SelectDisplay } from '@ui/data-display/SelectDisplay/SelectDisplay';+import { SelectDisplay } from '@ui/primitives/data-display/SelectDisplay/SelectDisplay';const meta: Meta<typeof SelectDisplay> = {title: 'UI/Data Display/SelectDisplay',diff --git a/packages/twenty-ui/src/data-display/Status/Status.module.scss b/packages/twenty-ui/src/primitives/data-display/Status/Status.module.scsssimilarity index 100%rename from packages/twenty-ui/src/data-display/Status/Status.module.scssrename to packages/twenty-ui/src/primitives/data-display/Status/Status.module.scssdiff --git a/packages/twenty-ui/src/data-display/Status/Status.module.scss.d.ts b/packages/twenty-ui/src/primitives/data-display/Status/Status.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/data-display/Status/Status.module.scss.d.tsrename to packages/twenty-ui/src/primitives/data-display/Status/Status.module.scss.d.tsdiff --git a/packages/twenty-ui/src/data-display/Status/Status.tsx b/packages/twenty-ui/src/primitives/data-display/Status/Status.tsxsimilarity index 95%rename from packages/twenty-ui/src/data-display/Status/Status.tsxrename to packages/twenty-ui/src/primitives/data-display/Status/Status.tsxindex 147624f5870..bcbc97abd03 100644--- a/packages/twenty-ui/src/data-display/Status/Status.tsx+++ b/packages/twenty-ui/src/primitives/data-display/Status/Status.tsx@@ -3,7 +3,7 @@ import { useRender } from '@base-ui/react/use-render';import { clsx } from 'clsx';import { type CSSProperties } from 'react';-import { Loader } from '@ui/feedback/Loader/Loader';+import { Loader } from '@ui/primitives/feedback/Loader/Loader';import { themeCssVariables } from '@ui/theme-constants';import { parseThemeColor } from '@ui/utilities';import { isDefined } from '@ui/utilities/utils/isDefined';diff --git a/packages/twenty-ui/src/data-display/Status/__stories__/Status.stories.tsx b/packages/twenty-ui/src/primitives/data-display/Status/__stories__/Status.stories.tsxsimilarity index 97%rename from packages/twenty-ui/src/data-display/Status/__stories__/Status.stories.tsxrename to packages/twenty-ui/src/primitives/data-display/Status/__stories__/Status.stories.tsxindex 9133174457b..e43356ff1fd 100644--- a/packages/twenty-ui/src/data-display/Status/__stories__/Status.stories.tsx+++ b/packages/twenty-ui/src/primitives/data-display/Status/__stories__/Status.stories.tsx@@ -8,7 +8,7 @@ import {import { type ThemeColor, MAIN_COLOR_NAMES } from '@ui/theme';import { expect, fn, userEvent, within } from 'storybook/test';-import { Status } from '@ui/data-display/Status/Status';+import { Status } from '@ui/primitives/data-display/Status/Status';const meta: Meta<typeof Status> = {title: 'UI/Data Display/Status',diff --git a/packages/twenty-ui/src/data-display/Status/__tests__/Status.test.tsx b/packages/twenty-ui/src/primitives/data-display/Status/__tests__/Status.test.tsxsimilarity index 100%rename from packages/twenty-ui/src/data-display/Status/__tests__/Status.test.tsxrename to packages/twenty-ui/src/primitives/data-display/Status/__tests__/Status.test.tsxdiff --git a/packages/twenty-ui/src/data-display/Status/types/StatusProps.ts b/packages/twenty-ui/src/primitives/data-display/Status/types/StatusProps.tssimilarity index 100%rename from packages/twenty-ui/src/data-display/Status/types/StatusProps.tsrename to packages/twenty-ui/src/primitives/data-display/Status/types/StatusProps.tsdiff --git a/packages/twenty-ui/src/data-display/StyledTintedIconTileContainer/StyledTintedIconTileContainer.module.scss b/packages/twenty-ui/src/primitives/data-display/StyledTintedIconTileContainer/StyledTintedIconTileContainer.module.scsssimilarity index 100%rename from packages/twenty-ui/src/data-display/StyledTintedIconTileContainer/StyledTintedIconTileContainer.module.scssrename to packages/twenty-ui/src/primitives/data-display/StyledTintedIconTileContainer/StyledTintedIconTileContainer.module.scssdiff --git a/packages/twenty-ui/src/data-display/StyledTintedIconTileContainer/StyledTintedIconTileContainer.module.scss.d.ts b/packages/twenty-ui/src/primitives/data-display/StyledTintedIconTileContainer/StyledTintedIconTileContainer.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/data-display/StyledTintedIconTileContainer/StyledTintedIconTileContainer.module.scss.d.tsrename to packages/twenty-ui/src/primitives/data-display/StyledTintedIconTileContainer/StyledTintedIconTileContainer.module.scss.d.tsdiff --git a/packages/twenty-ui/src/data-display/StyledTintedIconTileContainer/StyledTintedIconTileContainer.tsx b/packages/twenty-ui/src/primitives/data-display/StyledTintedIconTileContainer/StyledTintedIconTileContainer.tsxsimilarity index 100%rename from packages/twenty-ui/src/data-display/StyledTintedIconTileContainer/StyledTintedIconTileContainer.tsxrename to packages/twenty-ui/src/primitives/data-display/StyledTintedIconTileContainer/StyledTintedIconTileContainer.tsxdiff --git a/packages/twenty-ui/src/data-display/Tag/Tag.module.scss b/packages/twenty-ui/src/primitives/data-display/Tag/Tag.module.scsssimilarity index 100%rename from packages/twenty-ui/src/data-display/Tag/Tag.module.scssrename to packages/twenty-ui/src/primitives/data-display/Tag/Tag.module.scssdiff --git a/packages/twenty-ui/src/data-display/Tag/Tag.module.scss.d.ts b/packages/twenty-ui/src/primitives/data-display/Tag/Tag.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/data-display/Tag/Tag.module.scss.d.tsrename to packages/twenty-ui/src/primitives/data-display/Tag/Tag.module.scss.d.tsdiff --git a/packages/twenty-ui/src/data-display/Tag/Tag.tsx b/packages/twenty-ui/src/primitives/data-display/Tag/Tag.tsxsimilarity index 95%rename from packages/twenty-ui/src/data-display/Tag/Tag.tsxrename to packages/twenty-ui/src/primitives/data-display/Tag/Tag.tsxindex 56866955e83..d71cf3d802d 100644--- a/packages/twenty-ui/src/data-display/Tag/Tag.tsx+++ b/packages/twenty-ui/src/primitives/data-display/Tag/Tag.tsx@@ -7,7 +7,7 @@ import {type SyntheticEvent,} from 'react';-import { OverflowingTextWithTooltip } from '@ui/surfaces/OverflowingTextWithTooltip/OverflowingTextWithTooltip';+import { OverflowingTextWithTooltip } from '@ui/primitives/surfaces/OverflowingTextWithTooltip/OverflowingTextWithTooltip';import { themeCssVariables } from '@ui/theme-constants';import { isDefined } from '@ui/utilities/utils/isDefined';diff --git a/packages/twenty-ui/src/data-display/Tag/__stories__/Tag.stories.tsx b/packages/twenty-ui/src/primitives/data-display/Tag/__stories__/Tag.stories.tsxsimilarity index 98%rename from packages/twenty-ui/src/data-display/Tag/__stories__/Tag.stories.tsxrename to packages/twenty-ui/src/primitives/data-display/Tag/__stories__/Tag.stories.tsxindex e707bf53c8f..9edf96027a8 100644--- a/packages/twenty-ui/src/data-display/Tag/__stories__/Tag.stories.tsx+++ b/packages/twenty-ui/src/primitives/data-display/Tag/__stories__/Tag.stories.tsx@@ -10,7 +10,7 @@ import {} from '@ui/testing';import { type ThemeColor, MAIN_COLOR_NAMES } from '@ui/theme';-import { Tag } from '@ui/data-display/Tag/Tag';+import { Tag } from '@ui/primitives/data-display/Tag/Tag';const meta: Meta<typeof Tag> = {title: 'UI/Data Display/Tag',diff --git a/packages/twenty-ui/src/data-display/Tag/__tests__/Tag.test.tsx b/packages/twenty-ui/src/primitives/data-display/Tag/__tests__/Tag.test.tsxsimilarity index 100%rename from packages/twenty-ui/src/data-display/Tag/__tests__/Tag.test.tsxrename to packages/twenty-ui/src/primitives/data-display/Tag/__tests__/Tag.test.tsxdiff --git a/packages/twenty-ui/src/data-display/Tag/types/TagColor.ts b/packages/twenty-ui/src/primitives/data-display/Tag/types/TagColor.tssimilarity index 100%rename from packages/twenty-ui/src/data-display/Tag/types/TagColor.tsrename to packages/twenty-ui/src/primitives/data-display/Tag/types/TagColor.tsdiff --git a/packages/twenty-ui/src/data-display/Tag/types/TagProps.ts b/packages/twenty-ui/src/primitives/data-display/Tag/types/TagProps.tssimilarity index 100%rename from packages/twenty-ui/src/data-display/Tag/types/TagProps.tsrename to packages/twenty-ui/src/primitives/data-display/Tag/types/TagProps.tsdiff --git a/packages/twenty-ui/src/data-display/TextDisplay/TextDisplay.module.scss b/packages/twenty-ui/src/primitives/data-display/TextDisplay/TextDisplay.module.scsssimilarity index 100%rename from packages/twenty-ui/src/data-display/TextDisplay/TextDisplay.module.scssrename to packages/twenty-ui/src/primitives/data-display/TextDisplay/TextDisplay.module.scssdiff --git a/packages/twenty-ui/src/data-display/TextDisplay/TextDisplay.module.scss.d.ts b/packages/twenty-ui/src/primitives/data-display/TextDisplay/TextDisplay.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/data-display/TextDisplay/TextDisplay.module.scss.d.tsrename to packages/twenty-ui/src/primitives/data-display/TextDisplay/TextDisplay.module.scss.d.tsdiff --git a/packages/twenty-ui/src/data-display/TextDisplay/TextDisplay.tsx b/packages/twenty-ui/src/primitives/data-display/TextDisplay/TextDisplay.tsxsimilarity index 82%rename from packages/twenty-ui/src/data-display/TextDisplay/TextDisplay.tsxrename to packages/twenty-ui/src/primitives/data-display/TextDisplay/TextDisplay.tsxindex b1a83714423..42e21ddc8e5 100644--- a/packages/twenty-ui/src/data-display/TextDisplay/TextDisplay.tsx+++ b/packages/twenty-ui/src/primitives/data-display/TextDisplay/TextDisplay.tsx@@ -1,7 +1,7 @@import { isUndefined } from '@sniptt/guards';import { clsx } from 'clsx';-import { OverflowingTextWithTooltip } from '@ui/surfaces/OverflowingTextWithTooltip/OverflowingTextWithTooltip';+import { OverflowingTextWithTooltip } from '@ui/primitives/surfaces/OverflowingTextWithTooltip/OverflowingTextWithTooltip';import styles from './TextDisplay.module.scss';diff --git a/packages/twenty-ui/src/data-display/TextDisplay/__stories__/TextDisplay.stories.tsx b/packages/twenty-ui/src/primitives/data-display/TextDisplay/__stories__/TextDisplay.stories.tsxsimilarity index 88%rename from packages/twenty-ui/src/data-display/TextDisplay/__stories__/TextDisplay.stories.tsxrename to packages/twenty-ui/src/primitives/data-display/TextDisplay/__stories__/TextDisplay.stories.tsxindex be4c11d8a16..029b12dfb8b 100644--- a/packages/twenty-ui/src/data-display/TextDisplay/__stories__/TextDisplay.stories.tsx+++ b/packages/twenty-ui/src/primitives/data-display/TextDisplay/__stories__/TextDisplay.stories.tsx@@ -2,7 +2,7 @@ import { type Meta, type StoryObj } from '@storybook/react-vite';import { ComponentDecorator } from '@ui/testing';-import { TextDisplay } from '@ui/data-display/TextDisplay/TextDisplay';+import { TextDisplay } from '@ui/primitives/data-display/TextDisplay/TextDisplay';const meta: Meta<typeof TextDisplay> = {title: 'UI/Data Display/TextDisplay',diff --git a/packages/twenty-ui/src/data-display/TintedIconTile/TintedIconTile.tsx b/packages/twenty-ui/src/primitives/data-display/TintedIconTile/TintedIconTile.tsxsimilarity index 81%rename from packages/twenty-ui/src/data-display/TintedIconTile/TintedIconTile.tsxrename to packages/twenty-ui/src/primitives/data-display/TintedIconTile/TintedIconTile.tsxindex 23ce0e67471..90486a817fa 100644--- a/packages/twenty-ui/src/data-display/TintedIconTile/TintedIconTile.tsx+++ b/packages/twenty-ui/src/primitives/data-display/TintedIconTile/TintedIconTile.tsx@@ -1,6 +1,6 @@import { type IconComponent } from '@ui/icon/types/IconComponent';-import { StyledTintedIconTileContainer } from '@ui/data-display/StyledTintedIconTileContainer/StyledTintedIconTileContainer';-import { getIconTileColorShades } from '@ui/data-display/TintedIconTile/utils/getIconTileColorShades';+import { StyledTintedIconTileContainer } from '@ui/primitives/data-display/StyledTintedIconTileContainer/StyledTintedIconTileContainer';+import { getIconTileColorShades } from '@ui/primitives/data-display/TintedIconTile/utils/getIconTileColorShades';import { DEFAULT_THEME_COLOR_FALLBACK } from '@ui/theme';import { useTheme } from '@ui/theme-constants';import { isDefined } from '@ui/utilities/utils/isDefined';diff --git a/packages/twenty-ui/src/data-display/TintedIconTile/internal/constants/tintedIconTileColorShades.constant.ts b/packages/twenty-ui/src/primitives/data-display/TintedIconTile/internal/constants/tintedIconTileColorShades.constant.tssimilarity index 100%rename from packages/twenty-ui/src/data-display/TintedIconTile/internal/constants/tintedIconTileColorShades.constant.tsrename to packages/twenty-ui/src/primitives/data-display/TintedIconTile/internal/constants/tintedIconTileColorShades.constant.tsdiff --git a/packages/twenty-ui/src/data-display/TintedIconTile/internal/utils/getColorFromTheme.ts b/packages/twenty-ui/src/primitives/data-display/TintedIconTile/internal/utils/getColorFromTheme.tssimilarity index 100%rename from packages/twenty-ui/src/data-display/TintedIconTile/internal/utils/getColorFromTheme.tsrename to packages/twenty-ui/src/primitives/data-display/TintedIconTile/internal/utils/getColorFromTheme.tsdiff --git a/packages/twenty-ui/src/data-display/TintedIconTile/utils/getIconTileColorShades.ts b/packages/twenty-ui/src/primitives/data-display/TintedIconTile/utils/getIconTileColorShades.tssimilarity index 71%rename from packages/twenty-ui/src/data-display/TintedIconTile/utils/getIconTileColorShades.tsrename to packages/twenty-ui/src/primitives/data-display/TintedIconTile/utils/getIconTileColorShades.tsindex a3ceb149cea..f2344fe928f 100644--- a/packages/twenty-ui/src/data-display/TintedIconTile/utils/getIconTileColorShades.ts+++ b/packages/twenty-ui/src/primitives/data-display/TintedIconTile/utils/getIconTileColorShades.ts@@ -1,5 +1,5 @@-import { TINTED_ICON_TILE_COLOR_SHADES } from '@ui/data-display/TintedIconTile/internal/constants/tintedIconTileColorShades.constant';-import { getColorFromTheme } from '@ui/data-display/TintedIconTile/internal/utils/getColorFromTheme';+import { TINTED_ICON_TILE_COLOR_SHADES } from '@ui/primitives/data-display/TintedIconTile/internal/constants/tintedIconTileColorShades.constant';+import { getColorFromTheme } from '@ui/primitives/data-display/TintedIconTile/internal/utils/getColorFromTheme';import { parseThemeColor } from '@ui/utilities';export type IconTileColorShades = {diff --git a/packages/twenty-ui/src/data-display/index.ts b/packages/twenty-ui/src/primitives/data-display/index.tssimilarity index 100%rename from packages/twenty-ui/src/data-display/index.tsrename to packages/twenty-ui/src/primitives/data-display/index.tsindex 28eb091bc0a..7876ee3ad89 100644--- a/packages/twenty-ui/src/data-display/index.ts+++ b/packages/twenty-ui/src/primitives/data-display/index.ts@@ -16,8 +16,8 @@ export type { AvatarShape } from './Avatar/types/AvatarShape';export type { AvatarSize } from './Avatar/types/AvatarSize';export type { AvatarGroupProps } from './AvatarGroup/AvatarGroup';export { AvatarGroup } from './AvatarGroup/AvatarGroup';-export type { AvatarOrIconProps } from './AvatarOrIcon/types/AvatarOrIconProps';export { AvatarOrIcon } from './AvatarOrIcon/AvatarOrIcon';+export type { AvatarOrIconProps } from './AvatarOrIcon/types/AvatarOrIconProps';export type { CheckmarkProps } from './Checkmark/Checkmark';export { Checkmark } from './Checkmark/Checkmark';export { Chip } from './Chip/Chip';diff --git a/packages/twenty-ui/src/feedback/AnimatedPlaceholder/AnimatedPlaceholder.module.scss b/packages/twenty-ui/src/primitives/feedback/AnimatedPlaceholder/AnimatedPlaceholder.module.scsssimilarity index 100%rename from packages/twenty-ui/src/feedback/AnimatedPlaceholder/AnimatedPlaceholder.module.scssrename to packages/twenty-ui/src/primitives/feedback/AnimatedPlaceholder/AnimatedPlaceholder.module.scssdiff --git a/packages/twenty-ui/src/feedback/AnimatedPlaceholder/AnimatedPlaceholder.module.scss.d.ts b/packages/twenty-ui/src/primitives/feedback/AnimatedPlaceholder/AnimatedPlaceholder.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/feedback/AnimatedPlaceholder/AnimatedPlaceholder.module.scss.d.tsrename to packages/twenty-ui/src/primitives/feedback/AnimatedPlaceholder/AnimatedPlaceholder.module.scss.d.tsdiff --git a/packages/twenty-ui/src/feedback/AnimatedPlaceholder/AnimatedPlaceholder.tsx b/packages/twenty-ui/src/primitives/feedback/AnimatedPlaceholder/AnimatedPlaceholder.tsxsimilarity index 86%rename from packages/twenty-ui/src/feedback/AnimatedPlaceholder/AnimatedPlaceholder.tsxrename to packages/twenty-ui/src/primitives/feedback/AnimatedPlaceholder/AnimatedPlaceholder.tsxindex 38233b49405..594e778c3a2 100644--- a/packages/twenty-ui/src/feedback/AnimatedPlaceholder/AnimatedPlaceholder.tsx+++ b/packages/twenty-ui/src/primitives/feedback/AnimatedPlaceholder/AnimatedPlaceholder.tsx@@ -1,10 +1,10 @@import { clsx } from 'clsx';import { useEffect, useRef } from 'react';-import { BACKGROUND } from '@ui/feedback/AnimatedPlaceholder/constants/Background';-import { DARK_BACKGROUND } from '@ui/feedback/AnimatedPlaceholder/constants/DarkBackground';-import { DARK_MOVING_IMAGE } from '@ui/feedback/AnimatedPlaceholder/constants/DarkMovingImage';-import { MOVING_IMAGE } from '@ui/feedback/AnimatedPlaceholder/constants/MovingImage';+import { BACKGROUND } from '@ui/primitives/feedback/AnimatedPlaceholder/constants/Background';+import { DARK_BACKGROUND } from '@ui/primitives/feedback/AnimatedPlaceholder/constants/DarkBackground';+import { DARK_MOVING_IMAGE } from '@ui/primitives/feedback/AnimatedPlaceholder/constants/DarkMovingImage';+import { MOVING_IMAGE } from '@ui/primitives/feedback/AnimatedPlaceholder/constants/MovingImage';import { useThemeColorScheme } from '@ui/theme-constants';import styles from './AnimatedPlaceholder.module.scss';diff --git a/packages/twenty-ui/src/feedback/AnimatedPlaceholder/constants/Background.ts b/packages/twenty-ui/src/primitives/feedback/AnimatedPlaceholder/constants/Background.tssimilarity index 100%rename from packages/twenty-ui/src/feedback/AnimatedPlaceholder/constants/Background.tsrename to packages/twenty-ui/src/primitives/feedback/AnimatedPlaceholder/constants/Background.tsdiff --git a/packages/twenty-ui/src/feedback/AnimatedPlaceholder/constants/DarkBackground.ts b/packages/twenty-ui/src/primitives/feedback/AnimatedPlaceholder/constants/DarkBackground.tssimilarity index 100%rename from packages/twenty-ui/src/feedback/AnimatedPlaceholder/constants/DarkBackground.tsrename to packages/twenty-ui/src/primitives/feedback/AnimatedPlaceholder/constants/DarkBackground.tsdiff --git a/packages/twenty-ui/src/feedback/AnimatedPlaceholder/constants/DarkMovingImage.ts b/packages/twenty-ui/src/primitives/feedback/AnimatedPlaceholder/constants/DarkMovingImage.tssimilarity index 100%rename from packages/twenty-ui/src/feedback/AnimatedPlaceholder/constants/DarkMovingImage.tsrename to packages/twenty-ui/src/primitives/feedback/AnimatedPlaceholder/constants/DarkMovingImage.tsdiff --git a/packages/twenty-ui/src/feedback/AnimatedPlaceholder/constants/MovingImage.ts b/packages/twenty-ui/src/primitives/feedback/AnimatedPlaceholder/constants/MovingImage.tssimilarity index 100%rename from packages/twenty-ui/src/feedback/AnimatedPlaceholder/constants/MovingImage.tsrename to packages/twenty-ui/src/primitives/feedback/AnimatedPlaceholder/constants/MovingImage.tsdiff --git a/packages/twenty-ui/src/feedback/Banner/Banner.module.scss b/packages/twenty-ui/src/primitives/feedback/Banner/Banner.module.scsssimilarity index 100%rename from packages/twenty-ui/src/feedback/Banner/Banner.module.scssrename to packages/twenty-ui/src/primitives/feedback/Banner/Banner.module.scssdiff --git a/packages/twenty-ui/src/feedback/Banner/Banner.module.scss.d.ts b/packages/twenty-ui/src/primitives/feedback/Banner/Banner.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/feedback/Banner/Banner.module.scss.d.tsrename to packages/twenty-ui/src/primitives/feedback/Banner/Banner.module.scss.d.tsdiff --git a/packages/twenty-ui/src/feedback/Banner/Banner.tsx b/packages/twenty-ui/src/primitives/feedback/Banner/Banner.tsxsimilarity index 100%rename from packages/twenty-ui/src/feedback/Banner/Banner.tsxrename to packages/twenty-ui/src/primitives/feedback/Banner/Banner.tsxdiff --git a/packages/twenty-ui/src/feedback/Banner/__stories__/Banner.stories.module.scss b/packages/twenty-ui/src/primitives/feedback/Banner/__stories__/Banner.stories.module.scsssimilarity index 100%rename from packages/twenty-ui/src/feedback/Banner/__stories__/Banner.stories.module.scssrename to packages/twenty-ui/src/primitives/feedback/Banner/__stories__/Banner.stories.module.scssdiff --git a/packages/twenty-ui/src/feedback/Banner/__stories__/Banner.stories.module.scss.d.ts b/packages/twenty-ui/src/primitives/feedback/Banner/__stories__/Banner.stories.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/feedback/Banner/__stories__/Banner.stories.module.scss.d.tsrename to packages/twenty-ui/src/primitives/feedback/Banner/__stories__/Banner.stories.module.scss.d.tsdiff --git a/packages/twenty-ui/src/feedback/Banner/__stories__/Banner.stories.tsx b/packages/twenty-ui/src/primitives/feedback/Banner/__stories__/Banner.stories.tsxsimilarity index 94%rename from packages/twenty-ui/src/feedback/Banner/__stories__/Banner.stories.tsxrename to packages/twenty-ui/src/primitives/feedback/Banner/__stories__/Banner.stories.tsxindex a8b4e24bc32..6eafb5680e7 100644--- a/packages/twenty-ui/src/feedback/Banner/__stories__/Banner.stories.tsx+++ b/packages/twenty-ui/src/primitives/feedback/Banner/__stories__/Banner.stories.tsx@@ -7,13 +7,13 @@ import {type CatalogStory,ComponentDecorator,} from '@ui/testing';-import { Button } from '@ui/input/Button/Button';-import { IconButton } from '@ui/input/IconButton/IconButton';+import { Button } from '@ui/primitives/input/Button/Button';+import { IconButton } from '@ui/primitives/input/IconButton/IconButton';import {Banner,type BannerColor,type BannerVariant,-} from '@ui/feedback/Banner/Banner';+} from '@ui/primitives/feedback/Banner/Banner';import styles from './Banner.stories.module.scss';diff --git a/packages/twenty-ui/src/feedback/Callout/Callout.module.scss b/packages/twenty-ui/src/primitives/feedback/Callout/Callout.module.scsssimilarity index 100%rename from packages/twenty-ui/src/feedback/Callout/Callout.module.scssrename to packages/twenty-ui/src/primitives/feedback/Callout/Callout.module.scssdiff --git a/packages/twenty-ui/src/feedback/Callout/Callout.module.scss.d.ts b/packages/twenty-ui/src/primitives/feedback/Callout/Callout.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/feedback/Callout/Callout.module.scss.d.tsrename to packages/twenty-ui/src/primitives/feedback/Callout/Callout.module.scss.d.tsdiff --git a/packages/twenty-ui/src/feedback/Callout/Callout.tsx b/packages/twenty-ui/src/primitives/feedback/Callout/Callout.tsxsimilarity index 97%rename from packages/twenty-ui/src/feedback/Callout/Callout.tsxrename to packages/twenty-ui/src/primitives/feedback/Callout/Callout.tsxindex dd66c39d296..728516eb645 100644--- a/packages/twenty-ui/src/feedback/Callout/Callout.tsx+++ b/packages/twenty-ui/src/primitives/feedback/Callout/Callout.tsx@@ -4,7 +4,7 @@ import { isDefined } from '@ui/utilities/utils/isDefined';import { IconHelp, IconX } from '@ui/icon/components/TablerIcons';import { type IconComponent } from '@ui/icon/types/IconComponent';-import { LightButton, LightIconButton } from '@ui/input';+import { LightButton, LightIconButton } from '@ui/primitives/input';import styles from './Callout.module.scss';diff --git a/packages/twenty-ui/src/feedback/Callout/__stories__/Callout.stories.tsx b/packages/twenty-ui/src/primitives/feedback/Callout/__stories__/Callout.stories.tsxsimilarity index 93%rename from packages/twenty-ui/src/feedback/Callout/__stories__/Callout.stories.tsxrename to packages/twenty-ui/src/primitives/feedback/Callout/__stories__/Callout.stories.tsxindex 0dba30466ca..f314b61685a 100644--- a/packages/twenty-ui/src/feedback/Callout/__stories__/Callout.stories.tsx+++ b/packages/twenty-ui/src/primitives/feedback/Callout/__stories__/Callout.stories.tsx@@ -6,8 +6,8 @@ import {ComponentDecorator,} from '@ui/testing';-import { Callout } from '@ui/feedback';-import { type CalloutVariant } from '@ui/feedback/Callout/Callout';+import { Callout } from '@ui/primitives/feedback';+import { type CalloutVariant } from '@ui/primitives/feedback/Callout/Callout';const meta: Meta<typeof Callout> = {title: 'UI/Feedback/Callout',diff --git a/packages/twenty-ui/src/feedback/CircularProgressBar/CircularProgressBar.module.scss b/packages/twenty-ui/src/primitives/feedback/CircularProgressBar/CircularProgressBar.module.scsssimilarity index 100%rename from packages/twenty-ui/src/feedback/CircularProgressBar/CircularProgressBar.module.scssrename to packages/twenty-ui/src/primitives/feedback/CircularProgressBar/CircularProgressBar.module.scssdiff --git a/packages/twenty-ui/src/feedback/CircularProgressBar/CircularProgressBar.module.scss.d.ts b/packages/twenty-ui/src/primitives/feedback/CircularProgressBar/CircularProgressBar.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/feedback/CircularProgressBar/CircularProgressBar.module.scss.d.tsrename to packages/twenty-ui/src/primitives/feedback/CircularProgressBar/CircularProgressBar.module.scss.d.tsdiff --git a/packages/twenty-ui/src/feedback/CircularProgressBar/CircularProgressBar.tsx b/packages/twenty-ui/src/primitives/feedback/CircularProgressBar/CircularProgressBar.tsxsimilarity index 100%rename from packages/twenty-ui/src/feedback/CircularProgressBar/CircularProgressBar.tsxrename to packages/twenty-ui/src/primitives/feedback/CircularProgressBar/CircularProgressBar.tsxdiff --git a/packages/twenty-ui/src/feedback/CircularProgressBar/__stories__/CircularProgressBar.stories.tsx b/packages/twenty-ui/src/primitives/feedback/CircularProgressBar/__stories__/CircularProgressBar.stories.tsxsimilarity index 93%rename from packages/twenty-ui/src/feedback/CircularProgressBar/__stories__/CircularProgressBar.stories.tsxrename to packages/twenty-ui/src/primitives/feedback/CircularProgressBar/__stories__/CircularProgressBar.stories.tsxindex 99e95b44f95..f60058028a5 100644--- a/packages/twenty-ui/src/feedback/CircularProgressBar/__stories__/CircularProgressBar.stories.tsx+++ b/packages/twenty-ui/src/primitives/feedback/CircularProgressBar/__stories__/CircularProgressBar.stories.tsx@@ -6,7 +6,7 @@ import {} from '@ui/testing';import { ComponentDecorator } from '@ui/testing/decorators/ComponentDecorator';-import { CircularProgressBar } from '@ui/feedback/CircularProgressBar/CircularProgressBar';+import { CircularProgressBar } from '@ui/primitives/feedback/CircularProgressBar/CircularProgressBar';const meta: Meta<typeof CircularProgressBar> = {title: 'UI/Feedback/CircularProgressBar/CircularProgressBar',diff --git a/packages/twenty-ui/src/feedback/EmptyPlaceholderStyled/EmptyPlaceholderStyled.module.scss b/packages/twenty-ui/src/primitives/feedback/EmptyPlaceholderStyled/EmptyPlaceholderStyled.module.scsssimilarity index 100%rename from packages/twenty-ui/src/feedback/EmptyPlaceholderStyled/EmptyPlaceholderStyled.module.scssrename to packages/twenty-ui/src/primitives/feedback/EmptyPlaceholderStyled/EmptyPlaceholderStyled.module.scssdiff --git a/packages/twenty-ui/src/feedback/EmptyPlaceholderStyled/EmptyPlaceholderStyled.module.scss.d.ts b/packages/twenty-ui/src/primitives/feedback/EmptyPlaceholderStyled/EmptyPlaceholderStyled.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/feedback/EmptyPlaceholderStyled/EmptyPlaceholderStyled.module.scss.d.tsrename to packages/twenty-ui/src/primitives/feedback/EmptyPlaceholderStyled/EmptyPlaceholderStyled.module.scss.d.tsdiff --git a/packages/twenty-ui/src/feedback/EmptyPlaceholderStyled/EmptyPlaceholderStyled.tsx b/packages/twenty-ui/src/primitives/feedback/EmptyPlaceholderStyled/EmptyPlaceholderStyled.tsxsimilarity index 100%rename from packages/twenty-ui/src/feedback/EmptyPlaceholderStyled/EmptyPlaceholderStyled.tsxrename to packages/twenty-ui/src/primitives/feedback/EmptyPlaceholderStyled/EmptyPlaceholderStyled.tsxdiff --git a/packages/twenty-ui/src/feedback/ErrorPlaceholderStyled/ErrorPlaceholderStyled.module.scss b/packages/twenty-ui/src/primitives/feedback/ErrorPlaceholderStyled/ErrorPlaceholderStyled.module.scsssimilarity index 100%rename from packages/twenty-ui/src/feedback/ErrorPlaceholderStyled/ErrorPlaceholderStyled.module.scssrename to packages/twenty-ui/src/primitives/feedback/ErrorPlaceholderStyled/ErrorPlaceholderStyled.module.scssdiff --git a/packages/twenty-ui/src/feedback/ErrorPlaceholderStyled/ErrorPlaceholderStyled.module.scss.d.ts b/packages/twenty-ui/src/primitives/feedback/ErrorPlaceholderStyled/ErrorPlaceholderStyled.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/feedback/ErrorPlaceholderStyled/ErrorPlaceholderStyled.module.scss.d.tsrename to packages/twenty-ui/src/primitives/feedback/ErrorPlaceholderStyled/ErrorPlaceholderStyled.module.scss.d.tsdiff --git a/packages/twenty-ui/src/feedback/ErrorPlaceholderStyled/ErrorPlaceholderStyled.tsx b/packages/twenty-ui/src/primitives/feedback/ErrorPlaceholderStyled/ErrorPlaceholderStyled.tsxsimilarity index 100%rename from packages/twenty-ui/src/feedback/ErrorPlaceholderStyled/ErrorPlaceholderStyled.tsxrename to packages/twenty-ui/src/primitives/feedback/ErrorPlaceholderStyled/ErrorPlaceholderStyled.tsxdiff --git a/packages/twenty-ui/src/feedback/Info/Info.module.scss b/packages/twenty-ui/src/primitives/feedback/Info/Info.module.scsssimilarity index 100%rename from packages/twenty-ui/src/feedback/Info/Info.module.scssrename to packages/twenty-ui/src/primitives/feedback/Info/Info.module.scssdiff --git a/packages/twenty-ui/src/feedback/Info/Info.module.scss.d.ts b/packages/twenty-ui/src/primitives/feedback/Info/Info.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/feedback/Info/Info.module.scss.d.tsrename to packages/twenty-ui/src/primitives/feedback/Info/Info.module.scss.d.tsdiff --git a/packages/twenty-ui/src/feedback/Info/Info.tsx b/packages/twenty-ui/src/primitives/feedback/Info/Info.tsxsimilarity index 96%rename from packages/twenty-ui/src/feedback/Info/Info.tsxrename to packages/twenty-ui/src/primitives/feedback/Info/Info.tsxindex 8616dbc3427..66e8a5094ac 100644--- a/packages/twenty-ui/src/feedback/Info/Info.tsx+++ b/packages/twenty-ui/src/primitives/feedback/Info/Info.tsx@@ -2,7 +2,7 @@ import { clsx } from 'clsx';import { IconInfoCircle } from '@ui/icon/components/TablerIcons';import { useTheme } from '@ui/theme-constants';-import { Button } from '@ui/input/Button/Button';+import { Button } from '@ui/primitives/input/Button/Button';import React from 'react';import { Link } from 'react-router-dom';diff --git a/packages/twenty-ui/src/feedback/Info/__stories__/Info.stories.tsx b/packages/twenty-ui/src/primitives/feedback/Info/__stories__/Info.stories.tsxsimilarity index 93%rename from packages/twenty-ui/src/feedback/Info/__stories__/Info.stories.tsxrename to packages/twenty-ui/src/primitives/feedback/Info/__stories__/Info.stories.tsxindex 3867bb446c6..faee711ef1f 100644--- a/packages/twenty-ui/src/feedback/Info/__stories__/Info.stories.tsx+++ b/packages/twenty-ui/src/primitives/feedback/Info/__stories__/Info.stories.tsx@@ -6,7 +6,7 @@ import {ComponentDecorator,} from '@ui/testing';-import { Info, type InfoAccent } from '@ui/feedback/Info/Info';+import { Info, type InfoAccent } from '@ui/primitives/feedback/Info/Info';const meta: Meta<typeof Info> = {title: 'UI/Feedback/Info',diff --git a/packages/twenty-ui/src/feedback/InlineBanner/InlineBanner.module.scss b/packages/twenty-ui/src/primitives/feedback/InlineBanner/InlineBanner.module.scsssimilarity index 100%rename from packages/twenty-ui/src/feedback/InlineBanner/InlineBanner.module.scssrename to packages/twenty-ui/src/primitives/feedback/InlineBanner/InlineBanner.module.scssdiff --git a/packages/twenty-ui/src/feedback/InlineBanner/InlineBanner.module.scss.d.ts b/packages/twenty-ui/src/primitives/feedback/InlineBanner/InlineBanner.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/feedback/InlineBanner/InlineBanner.module.scss.d.tsrename to packages/twenty-ui/src/primitives/feedback/InlineBanner/InlineBanner.module.scss.d.tsdiff --git a/packages/twenty-ui/src/feedback/InlineBanner/InlineBanner.tsx b/packages/twenty-ui/src/primitives/feedback/InlineBanner/InlineBanner.tsxsimilarity index 84%rename from packages/twenty-ui/src/feedback/InlineBanner/InlineBanner.tsxrename to packages/twenty-ui/src/primitives/feedback/InlineBanner/InlineBanner.tsxindex 22164cfa41d..27a205cfbe5 100644--- a/packages/twenty-ui/src/feedback/InlineBanner/InlineBanner.tsx+++ b/packages/twenty-ui/src/primitives/feedback/InlineBanner/InlineBanner.tsx@@ -1,10 +1,13 @@import { clsx } from 'clsx';-import { OverflowingTextWithTooltip } from '@ui/surfaces/OverflowingTextWithTooltip/OverflowingTextWithTooltip';+import { OverflowingTextWithTooltip } from '@ui/primitives/surfaces/OverflowingTextWithTooltip/OverflowingTextWithTooltip';import { useTheme } from '@ui/theme-constants';-import { Button } from '@ui/input/Button/Button';+import { Button } from '@ui/primitives/input/Button/Button';import { type IconComponent } from '@ui/icon/types/IconComponent';import { IconInfoCircle } from '@ui/icon/components/TablerIcons';-import { Banner, type BannerColor } from '@ui/feedback/Banner/Banner';+import {+ Banner,+ type BannerColor,+} from '@ui/primitives/feedback/Banner/Banner';import styles from './InlineBanner.module.scss';diff --git a/packages/twenty-ui/src/feedback/InlineBanner/__stories__/InlineBanner.stories.tsx b/packages/twenty-ui/src/primitives/feedback/InlineBanner/__stories__/InlineBanner.stories.tsxsimilarity index 98%rename from packages/twenty-ui/src/feedback/InlineBanner/__stories__/InlineBanner.stories.tsxrename to packages/twenty-ui/src/primitives/feedback/InlineBanner/__stories__/InlineBanner.stories.tsxindex 2ef15501dd3..0956186b55f 100644--- a/packages/twenty-ui/src/feedback/InlineBanner/__stories__/InlineBanner.stories.tsx+++ b/packages/twenty-ui/src/primitives/feedback/InlineBanner/__stories__/InlineBanner.stories.tsx@@ -1,7 +1,7 @@import { type Meta, type StoryObj } from '@storybook/react-vite';import { expect, fn, userEvent, within } from 'storybook/test';-import { InlineBanner } from '@ui/feedback/InlineBanner/InlineBanner';+import { InlineBanner } from '@ui/primitives/feedback/InlineBanner/InlineBanner';import { IconExternalLink } from '@ui/icon';import { A11Y_DEFER_COLOR_CONTRAST, ComponentDecorator } from '@ui/testing';diff --git a/packages/twenty-ui/src/feedback/Loader/Loader.module.scss b/packages/twenty-ui/src/primitives/feedback/Loader/Loader.module.scsssimilarity index 100%rename from packages/twenty-ui/src/feedback/Loader/Loader.module.scssrename to packages/twenty-ui/src/primitives/feedback/Loader/Loader.module.scssdiff --git a/packages/twenty-ui/src/feedback/Loader/Loader.module.scss.d.ts b/packages/twenty-ui/src/primitives/feedback/Loader/Loader.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/feedback/Loader/Loader.module.scss.d.tsrename to packages/twenty-ui/src/primitives/feedback/Loader/Loader.module.scss.d.tsdiff --git a/packages/twenty-ui/src/feedback/Loader/Loader.tsx b/packages/twenty-ui/src/primitives/feedback/Loader/Loader.tsxsimilarity index 100%rename from packages/twenty-ui/src/feedback/Loader/Loader.tsxrename to packages/twenty-ui/src/primitives/feedback/Loader/Loader.tsxdiff --git a/packages/twenty-ui/src/feedback/Loader/__stories__/Loader.stories.tsx b/packages/twenty-ui/src/primitives/feedback/Loader/__stories__/Loader.stories.tsxsimilarity index 97%rename from packages/twenty-ui/src/feedback/Loader/__stories__/Loader.stories.tsxrename to packages/twenty-ui/src/primitives/feedback/Loader/__stories__/Loader.stories.tsxindex 9275ea165ea..09d0a19649e 100644--- a/packages/twenty-ui/src/feedback/Loader/__stories__/Loader.stories.tsx+++ b/packages/twenty-ui/src/primitives/feedback/Loader/__stories__/Loader.stories.tsx@@ -3,7 +3,7 @@ import { expect, waitFor } from 'storybook/test';import { ComponentDecorator } from '@ui/testing';-import { Loader } from '@ui/feedback/Loader/Loader';+import { Loader } from '@ui/primitives/feedback/Loader/Loader';const meta: Meta<typeof Loader> = {title: 'UI/Feedback/Loader',diff --git a/packages/twenty-ui/src/feedback/ProgressBar/ProgressBar.module.scss b/packages/twenty-ui/src/primitives/feedback/ProgressBar/ProgressBar.module.scsssimilarity index 100%rename from packages/twenty-ui/src/feedback/ProgressBar/ProgressBar.module.scssrename to packages/twenty-ui/src/primitives/feedback/ProgressBar/ProgressBar.module.scssdiff --git a/packages/twenty-ui/src/feedback/ProgressBar/ProgressBar.module.scss.d.ts b/packages/twenty-ui/src/primitives/feedback/ProgressBar/ProgressBar.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/feedback/ProgressBar/ProgressBar.module.scss.d.tsrename to packages/twenty-ui/src/primitives/feedback/ProgressBar/ProgressBar.module.scss.d.tsdiff --git a/packages/twenty-ui/src/feedback/ProgressBar/ProgressBar.tsx b/packages/twenty-ui/src/primitives/feedback/ProgressBar/ProgressBar.tsxsimilarity index 100%rename from packages/twenty-ui/src/feedback/ProgressBar/ProgressBar.tsxrename to packages/twenty-ui/src/primitives/feedback/ProgressBar/ProgressBar.tsxdiff --git a/packages/twenty-ui/src/feedback/ProgressBar/__stories__/ProgressBar.stories.tsx b/packages/twenty-ui/src/primitives/feedback/ProgressBar/__stories__/ProgressBar.stories.tsxsimilarity index 91%rename from packages/twenty-ui/src/feedback/ProgressBar/__stories__/ProgressBar.stories.tsxrename to packages/twenty-ui/src/primitives/feedback/ProgressBar/__stories__/ProgressBar.stories.tsxindex e79632861f4..5aeba6462ec 100644--- a/packages/twenty-ui/src/feedback/ProgressBar/__stories__/ProgressBar.stories.tsx+++ b/packages/twenty-ui/src/primitives/feedback/ProgressBar/__stories__/ProgressBar.stories.tsx@@ -1,6 +1,6 @@import { type Meta, type StoryObj } from '@storybook/react-vite';import { ComponentDecorator } from '@ui/testing/decorators/ComponentDecorator';-import { ProgressBar } from '@ui/feedback/ProgressBar/ProgressBar';+import { ProgressBar } from '@ui/primitives/feedback/ProgressBar/ProgressBar';const meta: Meta<typeof ProgressBar> = {title: 'UI/Feedback/ProgressBar/ProgressBar',diff --git a/packages/twenty-ui/src/feedback/SidePanelInformationBanner/SidePanelInformationBanner.module.scss b/packages/twenty-ui/src/primitives/feedback/SidePanelInformationBanner/SidePanelInformationBanner.module.scsssimilarity index 100%rename from packages/twenty-ui/src/feedback/SidePanelInformationBanner/SidePanelInformationBanner.module.scssrename to packages/twenty-ui/src/primitives/feedback/SidePanelInformationBanner/SidePanelInformationBanner.module.scssdiff --git a/packages/twenty-ui/src/feedback/SidePanelInformationBanner/SidePanelInformationBanner.module.scss.d.ts b/packages/twenty-ui/src/primitives/feedback/SidePanelInformationBanner/SidePanelInformationBanner.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/feedback/SidePanelInformationBanner/SidePanelInformationBanner.module.scss.d.tsrename to packages/twenty-ui/src/primitives/feedback/SidePanelInformationBanner/SidePanelInformationBanner.module.scss.d.tsdiff --git a/packages/twenty-ui/src/feedback/SidePanelInformationBanner/SidePanelInformationBanner.tsx b/packages/twenty-ui/src/primitives/feedback/SidePanelInformationBanner/SidePanelInformationBanner.tsxsimilarity index 95%rename from packages/twenty-ui/src/feedback/SidePanelInformationBanner/SidePanelInformationBanner.tsxrename to packages/twenty-ui/src/primitives/feedback/SidePanelInformationBanner/SidePanelInformationBanner.tsxindex 656ee8ed973..791e18c4652 100644--- a/packages/twenty-ui/src/feedback/SidePanelInformationBanner/SidePanelInformationBanner.tsx+++ b/packages/twenty-ui/src/primitives/feedback/SidePanelInformationBanner/SidePanelInformationBanner.tsx@@ -3,7 +3,7 @@ import { useId } from 'react';import { isDefined } from '@ui/utilities/utils/isDefined';import { IconAlertTriangle, IconInfoCircle } from '@ui/icon';-import { AppTooltip } from '@ui/surfaces';+import { AppTooltip } from '@ui/primitives/surfaces';import styles from './SidePanelInformationBanner.module.scss';diff --git a/packages/twenty-ui/src/feedback/SidePanelInformationBanner/__stories__/SidePanelInformationBanner.stories.tsx b/packages/twenty-ui/src/primitives/feedback/SidePanelInformationBanner/__stories__/SidePanelInformationBanner.stories.tsxsimilarity index 88%rename from packages/twenty-ui/src/feedback/SidePanelInformationBanner/__stories__/SidePanelInformationBanner.stories.tsxrename to packages/twenty-ui/src/primitives/feedback/SidePanelInformationBanner/__stories__/SidePanelInformationBanner.stories.tsxindex bdc6639c5b7..d318279f060 100644--- a/packages/twenty-ui/src/feedback/SidePanelInformationBanner/__stories__/SidePanelInformationBanner.stories.tsx+++ b/packages/twenty-ui/src/primitives/feedback/SidePanelInformationBanner/__stories__/SidePanelInformationBanner.stories.tsx@@ -1,6 +1,6 @@import { type Meta, type StoryObj } from '@storybook/react-vite';import { A11Y_DEFER_COLOR_CONTRAST, ComponentDecorator } from '@ui/testing';-import { SidePanelInformationBanner } from '@ui/feedback/SidePanelInformationBanner/SidePanelInformationBanner';+import { SidePanelInformationBanner } from '@ui/primitives/feedback/SidePanelInformationBanner/SidePanelInformationBanner';const meta: Meta<typeof SidePanelInformationBanner> = {title: 'UI/Feedback/SidePanelInformationBanner',diff --git a/packages/twenty-ui/src/feedback/Toast/Toast.module.scss b/packages/twenty-ui/src/primitives/feedback/Toast/Toast.module.scsssimilarity index 100%rename from packages/twenty-ui/src/feedback/Toast/Toast.module.scssrename to packages/twenty-ui/src/primitives/feedback/Toast/Toast.module.scssdiff --git a/packages/twenty-ui/src/feedback/Toast/Toast.module.scss.d.ts b/packages/twenty-ui/src/primitives/feedback/Toast/Toast.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/feedback/Toast/Toast.module.scss.d.tsrename to packages/twenty-ui/src/primitives/feedback/Toast/Toast.module.scss.d.tsdiff --git a/packages/twenty-ui/src/feedback/Toast/Toast.tsx b/packages/twenty-ui/src/primitives/feedback/Toast/Toast.tsxsimilarity index 90%rename from packages/twenty-ui/src/feedback/Toast/Toast.tsxrename to packages/twenty-ui/src/primitives/feedback/Toast/Toast.tsxindex 97489113ee9..0a5fa977770 100644--- a/packages/twenty-ui/src/feedback/Toast/Toast.tsx+++ b/packages/twenty-ui/src/primitives/feedback/Toast/Toast.tsx@@ -2,16 +2,16 @@ import { useRender } from '@base-ui/react/use-render';import { clsx } from 'clsx';import { type MouseEvent, useState } from 'react';-import { ProgressBar } from '@ui/feedback/ProgressBar/ProgressBar';+import { ProgressBar } from '@ui/primitives/feedback/ProgressBar/ProgressBar';import {IconAlertTriangle,IconInfoCircle,IconSquareRoundedCheck,IconX,} from '@ui/icon';-import { LightButton } from '@ui/input/LightButton/LightButton';-import { LightIconButton } from '@ui/input/LightIconButton/LightIconButton';-import { HorizontalSeparator } from '@ui/layout/HorizontalSeparator/HorizontalSeparator';+import { LightButton } from '@ui/primitives/input/LightButton/LightButton';+import { LightIconButton } from '@ui/primitives/input/LightIconButton/LightIconButton';+import { HorizontalSeparator } from '@ui/primitives/layout/HorizontalSeparator/HorizontalSeparator';import { useTheme } from '@ui/theme-constants';import { isDefined } from '@ui/utilities/utils/isDefined';diff --git a/packages/twenty-ui/src/feedback/Toast/__stories__/Toast.stories.tsx b/packages/twenty-ui/src/primitives/feedback/Toast/__stories__/Toast.stories.tsxsimilarity index 98%rename from packages/twenty-ui/src/feedback/Toast/__stories__/Toast.stories.tsxrename to packages/twenty-ui/src/primitives/feedback/Toast/__stories__/Toast.stories.tsxindex 7eaeb41473a..88c205a6c08 100644--- a/packages/twenty-ui/src/feedback/Toast/__stories__/Toast.stories.tsx+++ b/packages/twenty-ui/src/primitives/feedback/Toast/__stories__/Toast.stories.tsx@@ -3,7 +3,7 @@ import { useState } from 'react';import { expect, fn, userEvent, waitFor, within } from 'storybook/test';import { IconBell } from '@ui/icon';-import { LightButton } from '@ui/input/LightButton/LightButton';+import { LightButton } from '@ui/primitives/input/LightButton/LightButton';import {A11Y_DEFER_COLOR_CONTRAST,CatalogDecorator,diff --git a/packages/twenty-ui/src/feedback/Toast/__tests__/Toast.test.tsx b/packages/twenty-ui/src/primitives/feedback/Toast/__tests__/Toast.test.tsxsimilarity index 100%rename from packages/twenty-ui/src/feedback/Toast/__tests__/Toast.test.tsxrename to packages/twenty-ui/src/primitives/feedback/Toast/__tests__/Toast.test.tsxdiff --git a/packages/twenty-ui/src/feedback/Toast/types/ToastProps.ts b/packages/twenty-ui/src/primitives/feedback/Toast/types/ToastProps.tssimilarity index 100%rename from packages/twenty-ui/src/feedback/Toast/types/ToastProps.tsrename to packages/twenty-ui/src/primitives/feedback/Toast/types/ToastProps.tsdiff --git a/packages/twenty-ui/src/feedback/Toast/types/ToastVariant.ts b/packages/twenty-ui/src/primitives/feedback/Toast/types/ToastVariant.tssimilarity index 100%rename from packages/twenty-ui/src/feedback/Toast/types/ToastVariant.tsrename to packages/twenty-ui/src/primitives/feedback/Toast/types/ToastVariant.tsdiff --git a/packages/twenty-ui/src/feedback/index.ts b/packages/twenty-ui/src/primitives/feedback/index.tssimilarity index 100%rename from packages/twenty-ui/src/feedback/index.tsrename to packages/twenty-ui/src/primitives/feedback/index.tsdiff --git a/packages/twenty-ui/src/primitives/index.ts b/packages/twenty-ui/src/primitives/index.tsnew file mode 100644index 00000000000..07c480db053--- /dev/null+++ b/packages/twenty-ui/src/primitives/index.ts@@ -0,0 +1,18 @@+/*+ * _____ _+ *|_ _|_ _____ _ __ | |_ _ _+ * | | \ \ /\ / / _ \ '_ \| __| | | | Auto-generated file+ * | | \ V V / __/ | | | |_| |_| | Any edits to this will be overridden+ * |_| \_/\_/ \___|_| |_|\__|\__, |+ * |___/+ */++export * from './accessibility';+export * from './data-display';+export * from './feedback';+export * from './input';+export * from './json-visualizer';+export * from './layout';+export * from './navigation';+export * from './surfaces';+export * from './typography';diff --git a/packages/twenty-ui/src/input/AnimatedButton/AnimatedButton.module.scss b/packages/twenty-ui/src/primitives/input/AnimatedButton/AnimatedButton.module.scsssimilarity index 100%rename from packages/twenty-ui/src/input/AnimatedButton/AnimatedButton.module.scssrename to packages/twenty-ui/src/primitives/input/AnimatedButton/AnimatedButton.module.scssdiff --git a/packages/twenty-ui/src/input/AnimatedButton/AnimatedButton.module.scss.d.ts b/packages/twenty-ui/src/primitives/input/AnimatedButton/AnimatedButton.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/input/AnimatedButton/AnimatedButton.module.scss.d.tsrename to packages/twenty-ui/src/primitives/input/AnimatedButton/AnimatedButton.module.scss.d.tsdiff --git a/packages/twenty-ui/src/input/AnimatedButton/AnimatedButton.tsx b/packages/twenty-ui/src/primitives/input/AnimatedButton/AnimatedButton.tsxsimilarity index 99%rename from packages/twenty-ui/src/input/AnimatedButton/AnimatedButton.tsxrename to packages/twenty-ui/src/primitives/input/AnimatedButton/AnimatedButton.tsxindex b21bb29c5f6..85c4bb3235f 100644--- a/packages/twenty-ui/src/input/AnimatedButton/AnimatedButton.tsx+++ b/packages/twenty-ui/src/primitives/input/AnimatedButton/AnimatedButton.tsx@@ -2,7 +2,7 @@ import { clsx } from 'clsx';import React, { useMemo } from 'react';import { Link } from 'react-router-dom';-import { Pill } from '@ui/data-display/Pill/Pill';+import { Pill } from '@ui/primitives/data-display/Pill/Pill';import { themeCssVariables, useTheme } from '@ui/theme-constants';import { GRAY_SCALE_LIGHT } from '@ui/theme/constants/GrayScaleLight';import { useIsMobile } from '@ui/utilities';@@ -12,7 +12,7 @@ import {type ButtonPosition,type ButtonProps,type ButtonVariant,-} from '@ui/input/Button/Button';+} from '@ui/primitives/input/Button/Button';import styles from './AnimatedButton.module.scss';diff --git a/packages/twenty-ui/src/input/AnimatedLightIconButton/AnimatedLightIconButton.module.scss b/packages/twenty-ui/src/primitives/input/AnimatedLightIconButton/AnimatedLightIconButton.module.scsssimilarity index 100%rename from packages/twenty-ui/src/input/AnimatedLightIconButton/AnimatedLightIconButton.module.scssrename to packages/twenty-ui/src/primitives/input/AnimatedLightIconButton/AnimatedLightIconButton.module.scssdiff --git a/packages/twenty-ui/src/input/AnimatedLightIconButton/AnimatedLightIconButton.module.scss.d.ts b/packages/twenty-ui/src/primitives/input/AnimatedLightIconButton/AnimatedLightIconButton.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/input/AnimatedLightIconButton/AnimatedLightIconButton.module.scss.d.tsrename to packages/twenty-ui/src/primitives/input/AnimatedLightIconButton/AnimatedLightIconButton.module.scss.d.tsdiff --git a/packages/twenty-ui/src/input/AnimatedLightIconButton/AnimatedLightIconButton.tsx b/packages/twenty-ui/src/primitives/input/AnimatedLightIconButton/AnimatedLightIconButton.tsxsimilarity index 96%rename from packages/twenty-ui/src/input/AnimatedLightIconButton/AnimatedLightIconButton.tsxrename to packages/twenty-ui/src/primitives/input/AnimatedLightIconButton/AnimatedLightIconButton.tsxindex d7defd62b9f..ac025138a6f 100644--- a/packages/twenty-ui/src/input/AnimatedLightIconButton/AnimatedLightIconButton.tsx+++ b/packages/twenty-ui/src/primitives/input/AnimatedLightIconButton/AnimatedLightIconButton.tsx@@ -5,7 +5,7 @@ import { type IconComponent } from '@ui/icon';import {type LightIconButtonAccent,type LightIconButtonSize,-} from '@ui/input/LightIconButton/LightIconButton';+} from '@ui/primitives/input/LightIconButton/LightIconButton';import { useTheme } from '@ui/theme-constants';import styles from './AnimatedLightIconButton.module.scss';diff --git a/packages/twenty-ui/src/input/AnimatedLightIconButton/__stories__/AnimatedLightIconButton.stories.tsx b/packages/twenty-ui/src/primitives/input/AnimatedLightIconButton/__stories__/AnimatedLightIconButton.stories.tsxsimilarity index 93%rename from packages/twenty-ui/src/input/AnimatedLightIconButton/__stories__/AnimatedLightIconButton.stories.tsxrename to packages/twenty-ui/src/primitives/input/AnimatedLightIconButton/__stories__/AnimatedLightIconButton.stories.tsxindex 20890f0aaa5..57136092a37 100644--- a/packages/twenty-ui/src/input/AnimatedLightIconButton/__stories__/AnimatedLightIconButton.stories.tsx+++ b/packages/twenty-ui/src/primitives/input/AnimatedLightIconButton/__stories__/AnimatedLightIconButton.stories.tsx@@ -3,14 +3,14 @@ import { IconSearch } from '@ui/icon';import {type LightIconButtonAccent,type LightIconButtonSize,-} from '@ui/input/LightIconButton/LightIconButton';+} from '@ui/primitives/input/LightIconButton/LightIconButton';import {A11Y_DEFER_COLOR_CONTRAST,CatalogDecorator,type CatalogStory,ComponentDecorator,} from '@ui/testing';-import { AnimatedLightIconButton } from '@ui/input/AnimatedLightIconButton/AnimatedLightIconButton';+import { AnimatedLightIconButton } from '@ui/primitives/input/AnimatedLightIconButton/AnimatedLightIconButton';const meta: Meta<typeof AnimatedLightIconButton> = {title: 'UI/Input/Button/AnimatedLightIconButton',diff --git a/packages/twenty-ui/src/input/Button/Button.module.scss b/packages/twenty-ui/src/primitives/input/Button/Button.module.scsssimilarity index 100%rename from packages/twenty-ui/src/input/Button/Button.module.scssrename to packages/twenty-ui/src/primitives/input/Button/Button.module.scssdiff --git a/packages/twenty-ui/src/input/Button/Button.module.scss.d.ts b/packages/twenty-ui/src/primitives/input/Button/Button.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/input/Button/Button.module.scss.d.tsrename to packages/twenty-ui/src/primitives/input/Button/Button.module.scss.d.tsdiff --git a/packages/twenty-ui/src/input/Button/Button.tsx b/packages/twenty-ui/src/primitives/input/Button/Button.tsxsimilarity index 92%rename from packages/twenty-ui/src/input/Button/Button.tsxrename to packages/twenty-ui/src/primitives/input/Button/Button.tsxindex 0bcef9cde95..463490b6113 100644--- a/packages/twenty-ui/src/input/Button/Button.tsx+++ b/packages/twenty-ui/src/primitives/input/Button/Button.tsx@@ -4,12 +4,12 @@ import { Link } from 'react-router-dom';import { isDefined } from '@ui/utilities/utils/isDefined';import { type IconComponent } from '@ui/icon/types/IconComponent';-import { ButtonHotkeys } from '@ui/input/Button/internal/ButtonHotKeys';-import { ButtonIcon } from '@ui/input/Button/internal/ButtonIcon';-import { ButtonSoon } from '@ui/input/Button/internal/ButtonSoon';+import { ButtonHotkeys } from '@ui/primitives/input/Button/internal/ButtonHotKeys';+import { ButtonIcon } from '@ui/primitives/input/Button/internal/ButtonIcon';+import { ButtonSoon } from '@ui/primitives/input/Button/internal/ButtonSoon';import { useIsMobile } from '@ui/utilities';import { type ClickOutsideAttributes } from '@ui/utilities/types/ClickOutsideAttributes';-import { ButtonText } from '@ui/input/Button/internal/ButtonText';+import { ButtonText } from '@ui/primitives/input/Button/internal/ButtonText';import styles from './Button.module.scss';diff --git a/packages/twenty-ui/src/input/Button/__stories__/Button.stories.tsx b/packages/twenty-ui/src/primitives/input/Button/__stories__/Button.stories.tsxsimilarity index 99%rename from packages/twenty-ui/src/input/Button/__stories__/Button.stories.tsxrename to packages/twenty-ui/src/primitives/input/Button/__stories__/Button.stories.tsxindex 950eb091a6b..960ac83d071 100644--- a/packages/twenty-ui/src/input/Button/__stories__/Button.stories.tsx+++ b/packages/twenty-ui/src/primitives/input/Button/__stories__/Button.stories.tsx@@ -12,7 +12,7 @@ import {type ButtonPosition,type ButtonSize,type ButtonVariant,-} from '@ui/input/Button/Button';+} from '@ui/primitives/input/Button/Button';const meta: Meta<typeof Button> = {title: 'UI/Input/Button/Button',diff --git a/packages/twenty-ui/src/input/Button/constant.ts b/packages/twenty-ui/src/primitives/input/Button/constant.tssimilarity index 100%rename from packages/twenty-ui/src/input/Button/constant.tsrename to packages/twenty-ui/src/primitives/input/Button/constant.tsdiff --git a/packages/twenty-ui/src/input/Button/internal/ButtonHotKeys.module.scss b/packages/twenty-ui/src/primitives/input/Button/internal/ButtonHotKeys.module.scsssimilarity index 100%rename from packages/twenty-ui/src/input/Button/internal/ButtonHotKeys.module.scssrename to packages/twenty-ui/src/primitives/input/Button/internal/ButtonHotKeys.module.scssdiff --git a/packages/twenty-ui/src/input/Button/internal/ButtonHotKeys.module.scss.d.ts b/packages/twenty-ui/src/primitives/input/Button/internal/ButtonHotKeys.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/input/Button/internal/ButtonHotKeys.module.scss.d.tsrename to packages/twenty-ui/src/primitives/input/Button/internal/ButtonHotKeys.module.scss.d.tsdiff --git a/packages/twenty-ui/src/input/Button/internal/ButtonHotKeys.tsx b/packages/twenty-ui/src/primitives/input/Button/internal/ButtonHotKeys.tsxsimilarity index 93%rename from packages/twenty-ui/src/input/Button/internal/ButtonHotKeys.tsxrename to packages/twenty-ui/src/primitives/input/Button/internal/ButtonHotKeys.tsxindex 0e0178eb7e8..9d5e7be53bf 100644--- a/packages/twenty-ui/src/input/Button/internal/ButtonHotKeys.tsx+++ b/packages/twenty-ui/src/primitives/input/Button/internal/ButtonHotKeys.tsx@@ -2,7 +2,7 @@ import {type ButtonAccent,type ButtonSize,type ButtonVariant,-} from '@ui/input/Button/Button';+} from '@ui/primitives/input/Button/Button';import { getOsShortcutSeparator } from '@ui/utilities';import styles from './ButtonHotKeys.module.scss';diff --git a/packages/twenty-ui/src/input/Button/internal/ButtonIcon.module.scss b/packages/twenty-ui/src/primitives/input/Button/internal/ButtonIcon.module.scsssimilarity index 100%rename from packages/twenty-ui/src/input/Button/internal/ButtonIcon.module.scssrename to packages/twenty-ui/src/primitives/input/Button/internal/ButtonIcon.module.scssdiff --git a/packages/twenty-ui/src/input/Button/internal/ButtonIcon.module.scss.d.ts b/packages/twenty-ui/src/primitives/input/Button/internal/ButtonIcon.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/input/Button/internal/ButtonIcon.module.scss.d.tsrename to packages/twenty-ui/src/primitives/input/Button/internal/ButtonIcon.module.scss.d.tsdiff --git a/packages/twenty-ui/src/input/Button/internal/ButtonIcon.tsx b/packages/twenty-ui/src/primitives/input/Button/internal/ButtonIcon.tsxsimilarity index 90%rename from packages/twenty-ui/src/input/Button/internal/ButtonIcon.tsxrename to packages/twenty-ui/src/primitives/input/Button/internal/ButtonIcon.tsxindex 829866eb6b1..2fbf2825447 100644--- a/packages/twenty-ui/src/input/Button/internal/ButtonIcon.tsx+++ b/packages/twenty-ui/src/primitives/input/Button/internal/ButtonIcon.tsx@@ -1,5 +1,5 @@import { type IconComponent } from '@ui/icon';-import { Loader } from '@ui/feedback/Loader/Loader';+import { Loader } from '@ui/primitives/feedback/Loader/Loader';import { useTheme } from '@ui/theme-constants';import styles from './ButtonIcon.module.scss';diff --git a/packages/twenty-ui/src/input/Button/internal/ButtonSoon.module.scss b/packages/twenty-ui/src/primitives/input/Button/internal/ButtonSoon.module.scsssimilarity index 100%rename from packages/twenty-ui/src/input/Button/internal/ButtonSoon.module.scssrename to packages/twenty-ui/src/primitives/input/Button/internal/ButtonSoon.module.scssdiff --git a/packages/twenty-ui/src/input/Button/internal/ButtonSoon.module.scss.d.ts b/packages/twenty-ui/src/primitives/input/Button/internal/ButtonSoon.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/input/Button/internal/ButtonSoon.module.scss.d.tsrename to packages/twenty-ui/src/primitives/input/Button/internal/ButtonSoon.module.scss.d.tsdiff --git a/packages/twenty-ui/src/input/Button/internal/ButtonSoon.tsx b/packages/twenty-ui/src/primitives/input/Button/internal/ButtonSoon.tsxsimilarity index 80%rename from packages/twenty-ui/src/input/Button/internal/ButtonSoon.tsxrename to packages/twenty-ui/src/primitives/input/Button/internal/ButtonSoon.tsxindex d91750bdc67..40a2cfe7b84 100644--- a/packages/twenty-ui/src/input/Button/internal/ButtonSoon.tsx+++ b/packages/twenty-ui/src/primitives/input/Button/internal/ButtonSoon.tsx@@ -1,4 +1,4 @@-import { Pill } from '@ui/data-display/Pill/Pill';+import { Pill } from '@ui/primitives/data-display/Pill/Pill';import styles from './ButtonSoon.module.scss';diff --git a/packages/twenty-ui/src/input/Button/internal/ButtonText.module.scss b/packages/twenty-ui/src/primitives/input/Button/internal/ButtonText.module.scsssimilarity index 100%rename from packages/twenty-ui/src/input/Button/internal/ButtonText.module.scssrename to packages/twenty-ui/src/primitives/input/Button/internal/ButtonText.module.scssdiff --git a/packages/twenty-ui/src/input/Button/internal/ButtonText.module.scss.d.ts b/packages/twenty-ui/src/primitives/input/Button/internal/ButtonText.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/input/Button/internal/ButtonText.module.scss.d.tsrename to packages/twenty-ui/src/primitives/input/Button/internal/ButtonText.module.scss.d.tsdiff --git a/packages/twenty-ui/src/input/Button/internal/ButtonText.tsx b/packages/twenty-ui/src/primitives/input/Button/internal/ButtonText.tsxsimilarity index 100%rename from packages/twenty-ui/src/input/Button/internal/ButtonText.tsxrename to packages/twenty-ui/src/primitives/input/Button/internal/ButtonText.tsxdiff --git a/packages/twenty-ui/src/input/ButtonGroup/ButtonGroup.module.scss b/packages/twenty-ui/src/primitives/input/ButtonGroup/ButtonGroup.module.scsssimilarity index 100%rename from packages/twenty-ui/src/input/ButtonGroup/ButtonGroup.module.scssrename to packages/twenty-ui/src/primitives/input/ButtonGroup/ButtonGroup.module.scssdiff --git a/packages/twenty-ui/src/input/ButtonGroup/ButtonGroup.module.scss.d.ts b/packages/twenty-ui/src/primitives/input/ButtonGroup/ButtonGroup.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/input/ButtonGroup/ButtonGroup.module.scss.d.tsrename to packages/twenty-ui/src/primitives/input/ButtonGroup/ButtonGroup.module.scss.d.tsdiff --git a/packages/twenty-ui/src/input/ButtonGroup/ButtonGroup.tsx b/packages/twenty-ui/src/primitives/input/ButtonGroup/ButtonGroup.tsxsimilarity index 93%rename from packages/twenty-ui/src/input/ButtonGroup/ButtonGroup.tsxrename to packages/twenty-ui/src/primitives/input/ButtonGroup/ButtonGroup.tsxindex 991c9b9b48e..1d1fc88e7d2 100644--- a/packages/twenty-ui/src/input/ButtonGroup/ButtonGroup.tsx+++ b/packages/twenty-ui/src/primitives/input/ButtonGroup/ButtonGroup.tsx@@ -2,7 +2,10 @@ import { clsx } from 'clsx';import React, { type ReactNode } from 'react';import { isDefined } from '@ui/utilities/utils/isDefined';-import { type ButtonPosition, type ButtonProps } from '@ui/input/Button/Button';+import {+ type ButtonPosition,+ type ButtonProps,+} from '@ui/primitives/input/Button/Button';import styles from './ButtonGroup.module.scss';diff --git a/packages/twenty-ui/src/input/ButtonGroup/__stories__/ButtonGroup.stories.tsx b/packages/twenty-ui/src/primitives/input/ButtonGroup/__stories__/ButtonGroup.stories.tsxsimilarity index 94%rename from packages/twenty-ui/src/input/ButtonGroup/__stories__/ButtonGroup.stories.tsxrename to packages/twenty-ui/src/primitives/input/ButtonGroup/__stories__/ButtonGroup.stories.tsxindex 4935105071b..1b1f21a0246 100644--- a/packages/twenty-ui/src/input/ButtonGroup/__stories__/ButtonGroup.stories.tsx+++ b/packages/twenty-ui/src/primitives/input/ButtonGroup/__stories__/ButtonGroup.stories.tsx@@ -11,8 +11,8 @@ import {type ButtonAccent,type ButtonSize,type ButtonVariant,-} from '@ui/input/Button/Button';-import { ButtonGroup } from '@ui/input/ButtonGroup/ButtonGroup';+} from '@ui/primitives/input/Button/Button';+import { ButtonGroup } from '@ui/primitives/input/ButtonGroup/ButtonGroup';const meta: Meta<typeof ButtonGroup> = {title: 'UI/Input/Button/ButtonGroup',diff --git a/packages/twenty-ui/src/input/CardPicker/CardPicker.module.scss b/packages/twenty-ui/src/primitives/input/CardPicker/CardPicker.module.scsssimilarity index 100%rename from packages/twenty-ui/src/input/CardPicker/CardPicker.module.scssrename to packages/twenty-ui/src/primitives/input/CardPicker/CardPicker.module.scssdiff --git a/packages/twenty-ui/src/input/CardPicker/CardPicker.module.scss.d.ts b/packages/twenty-ui/src/primitives/input/CardPicker/CardPicker.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/input/CardPicker/CardPicker.module.scss.d.tsrename to packages/twenty-ui/src/primitives/input/CardPicker/CardPicker.module.scss.d.tsdiff --git a/packages/twenty-ui/src/input/CardPicker/CardPicker.tsx b/packages/twenty-ui/src/primitives/input/CardPicker/CardPicker.tsxsimilarity index 89%rename from packages/twenty-ui/src/input/CardPicker/CardPicker.tsxrename to packages/twenty-ui/src/primitives/input/CardPicker/CardPicker.tsxindex c860934c849..5f65642bea0 100644--- a/packages/twenty-ui/src/input/CardPicker/CardPicker.tsx+++ b/packages/twenty-ui/src/primitives/input/CardPicker/CardPicker.tsx@@ -1,4 +1,4 @@-import { Radio } from '@ui/input/Radio/Radio';+import { Radio } from '@ui/primitives/input/Radio/Radio';import { mergeClassNames } from '@ui/utilities/internal/mergeClassNames';import styles from './CardPicker.module.scss';diff --git a/packages/twenty-ui/src/primitives/input/CardPicker/types/CardPickerProps.ts b/packages/twenty-ui/src/primitives/input/CardPicker/types/CardPickerProps.tsnew file mode 100644index 00000000000..b90b47cefe3--- /dev/null+++ b/packages/twenty-ui/src/primitives/input/CardPicker/types/CardPickerProps.ts@@ -0,0 +1,3 @@+import { type RadioProps } from '@ui/primitives/input/Radio/types/RadioProps';++export type CardPickerProps<TValue = string> = RadioProps<TValue>;diff --git a/packages/twenty-ui/src/input/Checkbox/Checkbox.module.scss b/packages/twenty-ui/src/primitives/input/Checkbox/Checkbox.module.scsssimilarity index 100%rename from packages/twenty-ui/src/input/Checkbox/Checkbox.module.scssrename to packages/twenty-ui/src/primitives/input/Checkbox/Checkbox.module.scssdiff --git a/packages/twenty-ui/src/input/Checkbox/Checkbox.module.scss.d.ts b/packages/twenty-ui/src/primitives/input/Checkbox/Checkbox.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/input/Checkbox/Checkbox.module.scss.d.tsrename to packages/twenty-ui/src/primitives/input/Checkbox/Checkbox.module.scss.d.tsdiff --git a/packages/twenty-ui/src/input/Checkbox/Checkbox.tsx b/packages/twenty-ui/src/primitives/input/Checkbox/Checkbox.tsxsimilarity index 100%rename from packages/twenty-ui/src/input/Checkbox/Checkbox.tsxrename to packages/twenty-ui/src/primitives/input/Checkbox/Checkbox.tsxdiff --git a/packages/twenty-ui/src/input/Checkbox/__stories__/Checkbox.forms.stories.tsx b/packages/twenty-ui/src/primitives/input/Checkbox/__stories__/Checkbox.forms.stories.tsxsimilarity index 98%rename from packages/twenty-ui/src/input/Checkbox/__stories__/Checkbox.forms.stories.tsxrename to packages/twenty-ui/src/primitives/input/Checkbox/__stories__/Checkbox.forms.stories.tsxindex c9976da060f..f4ce1b96e36 100644--- a/packages/twenty-ui/src/input/Checkbox/__stories__/Checkbox.forms.stories.tsx+++ b/packages/twenty-ui/src/primitives/input/Checkbox/__stories__/Checkbox.forms.stories.tsx@@ -2,8 +2,8 @@ import { type Meta, type StoryObj } from '@storybook/react-vite';import { useState } from 'react';import { expect, fn, userEvent, within } from 'storybook/test';-import { Checkbox } from '@ui/input/Checkbox/Checkbox';-import { Field } from '@ui/input/Field/Field';+import { Checkbox } from '@ui/primitives/input/Checkbox/Checkbox';+import { Field } from '@ui/primitives/input/Field/Field';import { A11Y_DEFER_COLOR_CONTRAST, ComponentDecorator } from '@ui/testing';const meta: Meta<typeof Checkbox> = {diff --git a/packages/twenty-ui/src/input/Checkbox/__stories__/Checkbox.interactions.stories.tsx b/packages/twenty-ui/src/primitives/input/Checkbox/__stories__/Checkbox.interactions.stories.tsxsimilarity index 97%rename from packages/twenty-ui/src/input/Checkbox/__stories__/Checkbox.interactions.stories.tsxrename to packages/twenty-ui/src/primitives/input/Checkbox/__stories__/Checkbox.interactions.stories.tsxindex 4a82d422d66..3ca9359029a 100644--- a/packages/twenty-ui/src/input/Checkbox/__stories__/Checkbox.interactions.stories.tsx+++ b/packages/twenty-ui/src/primitives/input/Checkbox/__stories__/Checkbox.interactions.stories.tsx@@ -4,8 +4,8 @@ import { type Meta, type StoryObj } from '@storybook/react-vite';import { useState } from 'react';import { expect, fn, userEvent, within } from 'storybook/test';-import { Checkbox } from '@ui/input/Checkbox/Checkbox';-import { type CheckboxProps } from '@ui/input/Checkbox/types/CheckboxProps';+import { Checkbox } from '@ui/primitives/input/Checkbox/Checkbox';+import { type CheckboxProps } from '@ui/primitives/input/Checkbox/types/CheckboxProps';import { ComponentDecorator } from '@ui/testing';const meta: Meta<typeof Checkbox> = {diff --git a/packages/twenty-ui/src/input/Checkbox/__stories__/Checkbox.stories.tsx b/packages/twenty-ui/src/primitives/input/Checkbox/__stories__/Checkbox.stories.tsxsimilarity index 91%rename from packages/twenty-ui/src/input/Checkbox/__stories__/Checkbox.stories.tsxrename to packages/twenty-ui/src/primitives/input/Checkbox/__stories__/Checkbox.stories.tsxindex 21c252a3f5a..0dc27429ca1 100644--- a/packages/twenty-ui/src/input/Checkbox/__stories__/Checkbox.stories.tsx+++ b/packages/twenty-ui/src/primitives/input/Checkbox/__stories__/Checkbox.stories.tsx@@ -2,10 +2,10 @@ import { type Meta, type StoryObj } from '@storybook/react-vite';import { useState } from 'react';import { expect, fn, userEvent, within } from 'storybook/test';-import { Checkbox } from '@ui/input/Checkbox/Checkbox';-import { type CheckboxColor } from '@ui/input/Checkbox/types/CheckboxColor';-import { type CheckboxProps } from '@ui/input/Checkbox/types/CheckboxProps';-import { type CheckboxSize } from '@ui/input/Checkbox/types/CheckboxSize';+import { Checkbox } from '@ui/primitives/input/Checkbox/Checkbox';+import { type CheckboxColor } from '@ui/primitives/input/Checkbox/types/CheckboxColor';+import { type CheckboxProps } from '@ui/primitives/input/Checkbox/types/CheckboxProps';+import { type CheckboxSize } from '@ui/primitives/input/Checkbox/types/CheckboxSize';import {A11Y_DEFER_COLOR_CONTRAST,CatalogDecorator,diff --git a/packages/twenty-ui/src/input/Checkbox/__tests__/Checkbox.test.tsx b/packages/twenty-ui/src/primitives/input/Checkbox/__tests__/Checkbox.test.tsxsimilarity index 100%rename from packages/twenty-ui/src/input/Checkbox/__tests__/Checkbox.test.tsxrename to packages/twenty-ui/src/primitives/input/Checkbox/__tests__/Checkbox.test.tsxdiff --git a/packages/twenty-ui/src/input/Checkbox/types/CheckboxColor.ts b/packages/twenty-ui/src/primitives/input/Checkbox/types/CheckboxColor.tssimilarity index 100%rename from packages/twenty-ui/src/input/Checkbox/types/CheckboxColor.tsrename to packages/twenty-ui/src/primitives/input/Checkbox/types/CheckboxColor.tsdiff --git a/packages/twenty-ui/src/input/Checkbox/types/CheckboxProps.ts b/packages/twenty-ui/src/primitives/input/Checkbox/types/CheckboxProps.tssimilarity index 100%rename from packages/twenty-ui/src/input/Checkbox/types/CheckboxProps.tsrename to packages/twenty-ui/src/primitives/input/Checkbox/types/CheckboxProps.tsdiff --git a/packages/twenty-ui/src/input/Checkbox/types/CheckboxShape.ts b/packages/twenty-ui/src/primitives/input/Checkbox/types/CheckboxShape.tssimilarity index 100%rename from packages/twenty-ui/src/input/Checkbox/types/CheckboxShape.tsrename to packages/twenty-ui/src/primitives/input/Checkbox/types/CheckboxShape.tsdiff --git a/packages/twenty-ui/src/input/Checkbox/types/CheckboxSize.ts b/packages/twenty-ui/src/primitives/input/Checkbox/types/CheckboxSize.tssimilarity index 100%rename from packages/twenty-ui/src/input/Checkbox/types/CheckboxSize.tsrename to packages/twenty-ui/src/primitives/input/Checkbox/types/CheckboxSize.tsdiff --git a/packages/twenty-ui/src/input/Checkbox/types/CheckboxVariant.ts b/packages/twenty-ui/src/primitives/input/Checkbox/types/CheckboxVariant.tssimilarity index 100%rename from packages/twenty-ui/src/input/Checkbox/types/CheckboxVariant.tsrename to packages/twenty-ui/src/primitives/input/Checkbox/types/CheckboxVariant.tsdiff --git a/packages/twenty-ui/src/input/CodeEditor/CodeEditor.module.scss b/packages/twenty-ui/src/primitives/input/CodeEditor/CodeEditor.module.scsssimilarity index 100%rename from packages/twenty-ui/src/input/CodeEditor/CodeEditor.module.scssrename to packages/twenty-ui/src/primitives/input/CodeEditor/CodeEditor.module.scssdiff --git a/packages/twenty-ui/src/input/CodeEditor/CodeEditor.module.scss.d.ts b/packages/twenty-ui/src/primitives/input/CodeEditor/CodeEditor.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/input/CodeEditor/CodeEditor.module.scss.d.tsrename to packages/twenty-ui/src/primitives/input/CodeEditor/CodeEditor.module.scss.d.tsdiff --git a/packages/twenty-ui/src/input/CodeEditor/CodeEditor.tsx b/packages/twenty-ui/src/primitives/input/CodeEditor/CodeEditor.tsxsimilarity index 94%rename from packages/twenty-ui/src/input/CodeEditor/CodeEditor.tsxrename to packages/twenty-ui/src/primitives/input/CodeEditor/CodeEditor.tsxindex ec1c8f71cfc..a149aac4ce3 100644--- a/packages/twenty-ui/src/input/CodeEditor/CodeEditor.tsx+++ b/packages/twenty-ui/src/primitives/input/CodeEditor/CodeEditor.tsx@@ -3,11 +3,11 @@ import Editor, {type EditorProps,type Monaco,} from '@monaco-editor/react';-import { Loader } from '@ui/feedback/Loader/Loader';-import { BASE_CODE_EDITOR_THEME_ID } from '@ui/input/CodeEditor/constants/BaseCodeEditorThemeId';-import { getBaseCodeEditorTheme } from '@ui/input/CodeEditor/utils/getBaseCodeEditorTheme';-import { ResizeHandle } from '@ui/layout/ResizeHandle/ResizeHandle';-import { useResizeHandle } from '@ui/layout/ResizeHandle/hooks/useResizeHandle';+import { Loader } from '@ui/primitives/feedback/Loader/Loader';+import { BASE_CODE_EDITOR_THEME_ID } from '@ui/primitives/input/CodeEditor/constants/BaseCodeEditorThemeId';+import { getBaseCodeEditorTheme } from '@ui/primitives/input/CodeEditor/utils/getBaseCodeEditorTheme';+import { ResizeHandle } from '@ui/primitives/layout/ResizeHandle/ResizeHandle';+import { useResizeHandle } from '@ui/primitives/layout/ResizeHandle/hooks/useResizeHandle';import {useTheme,useThemeColorScheme,diff --git a/packages/twenty-ui/src/input/CodeEditor/constants/BaseCodeEditorThemeId.ts b/packages/twenty-ui/src/primitives/input/CodeEditor/constants/BaseCodeEditorThemeId.tssimilarity index 100%rename from packages/twenty-ui/src/input/CodeEditor/constants/BaseCodeEditorThemeId.tsrename to packages/twenty-ui/src/primitives/input/CodeEditor/constants/BaseCodeEditorThemeId.tsdiff --git a/packages/twenty-ui/src/input/CodeEditor/utils/getBaseCodeEditorTheme.ts b/packages/twenty-ui/src/primitives/input/CodeEditor/utils/getBaseCodeEditorTheme.tssimilarity index 100%rename from packages/twenty-ui/src/input/CodeEditor/utils/getBaseCodeEditorTheme.tsrename to packages/twenty-ui/src/primitives/input/CodeEditor/utils/getBaseCodeEditorTheme.tsdiff --git a/packages/twenty-ui/src/input/CodeEditorHeader/CodeEditorHeader.module.scss b/packages/twenty-ui/src/primitives/input/CodeEditorHeader/CodeEditorHeader.module.scsssimilarity index 100%rename from packages/twenty-ui/src/input/CodeEditorHeader/CodeEditorHeader.module.scssrename to packages/twenty-ui/src/primitives/input/CodeEditorHeader/CodeEditorHeader.module.scssdiff --git a/packages/twenty-ui/src/input/CodeEditorHeader/CodeEditorHeader.module.scss.d.ts b/packages/twenty-ui/src/primitives/input/CodeEditorHeader/CodeEditorHeader.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/input/CodeEditorHeader/CodeEditorHeader.module.scss.d.tsrename to packages/twenty-ui/src/primitives/input/CodeEditorHeader/CodeEditorHeader.module.scss.d.tsdiff --git a/packages/twenty-ui/src/input/CodeEditorHeader/CodeEditorHeader.tsx b/packages/twenty-ui/src/primitives/input/CodeEditorHeader/CodeEditorHeader.tsxsimilarity index 100%rename from packages/twenty-ui/src/input/CodeEditorHeader/CodeEditorHeader.tsxrename to packages/twenty-ui/src/primitives/input/CodeEditorHeader/CodeEditorHeader.tsxdiff --git a/packages/twenty-ui/src/input/ColorPickerButton/ColorPickerButton.module.scss b/packages/twenty-ui/src/primitives/input/ColorPickerButton/ColorPickerButton.module.scsssimilarity index 100%rename from packages/twenty-ui/src/input/ColorPickerButton/ColorPickerButton.module.scssrename to packages/twenty-ui/src/primitives/input/ColorPickerButton/ColorPickerButton.module.scssdiff --git a/packages/twenty-ui/src/input/ColorPickerButton/ColorPickerButton.module.scss.d.ts b/packages/twenty-ui/src/primitives/input/ColorPickerButton/ColorPickerButton.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/input/ColorPickerButton/ColorPickerButton.module.scss.d.tsrename to packages/twenty-ui/src/primitives/input/ColorPickerButton/ColorPickerButton.module.scss.d.tsdiff --git a/packages/twenty-ui/src/input/ColorPickerButton/ColorPickerButton.tsx b/packages/twenty-ui/src/primitives/input/ColorPickerButton/ColorPickerButton.tsxsimilarity index 81%rename from packages/twenty-ui/src/input/ColorPickerButton/ColorPickerButton.tsxrename to packages/twenty-ui/src/primitives/input/ColorPickerButton/ColorPickerButton.tsxindex af8ccc1948c..03257710bfb 100644--- a/packages/twenty-ui/src/input/ColorPickerButton/ColorPickerButton.tsx+++ b/packages/twenty-ui/src/primitives/input/ColorPickerButton/ColorPickerButton.tsx@@ -1,8 +1,11 @@-import { ColorSample, type ColorSampleProps } from '@ui/data-display';+import {+ ColorSample,+ type ColorSampleProps,+} from '@ui/primitives/data-display';import {LightIconButton,type LightIconButtonProps,-} from '@ui/input/LightIconButton/LightIconButton';+} from '@ui/primitives/input/LightIconButton/LightIconButton';import styles from './ColorPickerButton.module.scss';diff --git a/packages/twenty-ui/src/input/ColorPickerButton/__stories__/ColorPickerButton.stories.tsx b/packages/twenty-ui/src/primitives/input/ColorPickerButton/__stories__/ColorPickerButton.stories.tsxsimilarity index 83%rename from packages/twenty-ui/src/input/ColorPickerButton/__stories__/ColorPickerButton.stories.tsxrename to packages/twenty-ui/src/primitives/input/ColorPickerButton/__stories__/ColorPickerButton.stories.tsxindex d8935908d7e..7e5f6c41a13 100644--- a/packages/twenty-ui/src/input/ColorPickerButton/__stories__/ColorPickerButton.stories.tsx+++ b/packages/twenty-ui/src/primitives/input/ColorPickerButton/__stories__/ColorPickerButton.stories.tsx@@ -1,6 +1,6 @@import { type Meta, type StoryObj } from '@storybook/react-vite';import { ComponentDecorator } from '@ui/testing';-import { ColorPickerButton } from '@ui/input/ColorPickerButton/ColorPickerButton';+import { ColorPickerButton } from '@ui/primitives/input/ColorPickerButton/ColorPickerButton';const meta: Meta<typeof ColorPickerButton> = {title: 'UI/Input/Button/ColorPickerButton',diff --git a/packages/twenty-ui/src/input/ColorSchemeCard/ColorSchemeCard.module.scss b/packages/twenty-ui/src/primitives/input/ColorSchemeCard/ColorSchemeCard.module.scsssimilarity index 100%rename from packages/twenty-ui/src/input/ColorSchemeCard/ColorSchemeCard.module.scssrename to packages/twenty-ui/src/primitives/input/ColorSchemeCard/ColorSchemeCard.module.scssdiff --git a/packages/twenty-ui/src/input/ColorSchemeCard/ColorSchemeCard.module.scss.d.ts b/packages/twenty-ui/src/primitives/input/ColorSchemeCard/ColorSchemeCard.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/input/ColorSchemeCard/ColorSchemeCard.module.scss.d.tsrename to packages/twenty-ui/src/primitives/input/ColorSchemeCard/ColorSchemeCard.module.scss.d.tsdiff --git a/packages/twenty-ui/src/input/ColorSchemeCard/ColorSchemeCard.tsx b/packages/twenty-ui/src/primitives/input/ColorSchemeCard/ColorSchemeCard.tsxsimilarity index 92%rename from packages/twenty-ui/src/input/ColorSchemeCard/ColorSchemeCard.tsxrename to packages/twenty-ui/src/primitives/input/ColorSchemeCard/ColorSchemeCard.tsxindex ed7d9683fa8..231a3f07381 100644--- a/packages/twenty-ui/src/input/ColorSchemeCard/ColorSchemeCard.tsx+++ b/packages/twenty-ui/src/primitives/input/ColorSchemeCard/ColorSchemeCard.tsx@@ -2,9 +2,9 @@ import React from 'react';import { clsx } from 'clsx';-import { handleClickableElementKeyDown } from '@ui/accessibility/utils/handleClickableElementKeyDown';-import { Checkmark } from '@ui/data-display/Checkmark/Checkmark';-import { type ColorScheme } from '@ui/input/types/ColorScheme';+import { handleClickableElementKeyDown } from '@ui/primitives/accessibility/utils/handleClickableElementKeyDown';+import { Checkmark } from '@ui/primitives/data-display/Checkmark/Checkmark';+import { type ColorScheme } from '@ui/primitives/input/types/ColorScheme';import { GRAY_SCALE_DARK } from '@ui/theme/constants/GrayScaleDark';import { GRAY_SCALE_LIGHT } from '@ui/theme/constants/GrayScaleLight';import { isDefined } from '@ui/utilities/utils/isDefined';diff --git a/packages/twenty-ui/src/input/ColorSchemeCard/__stories__/ColorSchemeCard.stories.module.scss b/packages/twenty-ui/src/primitives/input/ColorSchemeCard/__stories__/ColorSchemeCard.stories.module.scsssimilarity index 100%rename from packages/twenty-ui/src/input/ColorSchemeCard/__stories__/ColorSchemeCard.stories.module.scssrename to packages/twenty-ui/src/primitives/input/ColorSchemeCard/__stories__/ColorSchemeCard.stories.module.scssdiff --git a/packages/twenty-ui/src/input/ColorSchemeCard/__stories__/ColorSchemeCard.stories.module.scss.d.ts b/packages/twenty-ui/src/primitives/input/ColorSchemeCard/__stories__/ColorSchemeCard.stories.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/input/ColorSchemeCard/__stories__/ColorSchemeCard.stories.module.scss.d.tsrename to packages/twenty-ui/src/primitives/input/ColorSchemeCard/__stories__/ColorSchemeCard.stories.module.scss.d.tsdiff --git a/packages/twenty-ui/src/input/ColorSchemeCard/__stories__/ColorSchemeCard.stories.tsx b/packages/twenty-ui/src/primitives/input/ColorSchemeCard/__stories__/ColorSchemeCard.stories.tsxsimilarity index 91%rename from packages/twenty-ui/src/input/ColorSchemeCard/__stories__/ColorSchemeCard.stories.tsxrename to packages/twenty-ui/src/primitives/input/ColorSchemeCard/__stories__/ColorSchemeCard.stories.tsxindex 6b2a95758bc..b1b8b891afc 100644--- a/packages/twenty-ui/src/input/ColorSchemeCard/__stories__/ColorSchemeCard.stories.tsx+++ b/packages/twenty-ui/src/primitives/input/ColorSchemeCard/__stories__/ColorSchemeCard.stories.tsx@@ -1,7 +1,7 @@import { type Meta, type StoryObj } from '@storybook/react-vite';import { ComponentDecorator } from '@ui/testing';-import { ColorSchemeCard } from '@ui/input/ColorSchemeCard/ColorSchemeCard';+import { ColorSchemeCard } from '@ui/primitives/input/ColorSchemeCard/ColorSchemeCard';import styles from './ColorSchemeCard.stories.module.scss';diff --git a/packages/twenty-ui/src/input/ColorSchemePicker/ColorSchemePicker.module.scss b/packages/twenty-ui/src/primitives/input/ColorSchemePicker/ColorSchemePicker.module.scsssimilarity index 100%rename from packages/twenty-ui/src/input/ColorSchemePicker/ColorSchemePicker.module.scssrename to packages/twenty-ui/src/primitives/input/ColorSchemePicker/ColorSchemePicker.module.scssdiff --git a/packages/twenty-ui/src/input/ColorSchemePicker/ColorSchemePicker.module.scss.d.ts b/packages/twenty-ui/src/primitives/input/ColorSchemePicker/ColorSchemePicker.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/input/ColorSchemePicker/ColorSchemePicker.module.scss.d.tsrename to packages/twenty-ui/src/primitives/input/ColorSchemePicker/ColorSchemePicker.module.scss.d.tsdiff --git a/packages/twenty-ui/src/input/ColorSchemePicker/ColorSchemePicker.tsx b/packages/twenty-ui/src/primitives/input/ColorSchemePicker/ColorSchemePicker.tsxsimilarity index 89%rename from packages/twenty-ui/src/input/ColorSchemePicker/ColorSchemePicker.tsxrename to packages/twenty-ui/src/primitives/input/ColorSchemePicker/ColorSchemePicker.tsxindex 42fd48ffb98..ad627217b4b 100644--- a/packages/twenty-ui/src/input/ColorSchemePicker/ColorSchemePicker.tsx+++ b/packages/twenty-ui/src/primitives/input/ColorSchemePicker/ColorSchemePicker.tsx@@ -1,8 +1,8 @@import { clsx } from 'clsx';-import { type ColorScheme } from '@ui/input/types/ColorScheme';+import { type ColorScheme } from '@ui/primitives/input/types/ColorScheme';-import { ColorSchemeCard } from '@ui/input/ColorSchemeCard/ColorSchemeCard';+import { ColorSchemeCard } from '@ui/primitives/input/ColorSchemeCard/ColorSchemeCard';import styles from './ColorSchemePicker.module.scss';export type ColorSchemePickerProps = {diff --git a/packages/twenty-ui/src/input/Field/Field.tsx b/packages/twenty-ui/src/primitives/input/Field/Field.tsxsimilarity index 100%rename from packages/twenty-ui/src/input/Field/Field.tsxrename to packages/twenty-ui/src/primitives/input/Field/Field.tsxdiff --git a/packages/twenty-ui/src/input/Field/__stories__/Field.stories.tsx b/packages/twenty-ui/src/primitives/input/Field/__stories__/Field.stories.tsxsimilarity index 97%rename from packages/twenty-ui/src/input/Field/__stories__/Field.stories.tsxrename to packages/twenty-ui/src/primitives/input/Field/__stories__/Field.stories.tsxindex d01ed3438bd..b5dd3d1cea4 100644--- a/packages/twenty-ui/src/input/Field/__stories__/Field.stories.tsx+++ b/packages/twenty-ui/src/primitives/input/Field/__stories__/Field.stories.tsx@@ -7,7 +7,7 @@ import {ComponentDecorator,} from '@ui/testing';-import { Field } from '@ui/input/Field/Field';+import { Field } from '@ui/primitives/input/Field/Field';const meta: Meta<typeof Field.Root> = {title: 'UI/Input/Field',diff --git a/packages/twenty-ui/src/input/Field/__tests__/Field.test.tsx b/packages/twenty-ui/src/primitives/input/Field/__tests__/Field.test.tsxsimilarity index 100%rename from packages/twenty-ui/src/input/Field/__tests__/Field.test.tsxrename to packages/twenty-ui/src/primitives/input/Field/__tests__/Field.test.tsxdiff --git a/packages/twenty-ui/src/input/Field/internal/FieldDescription.module.scss b/packages/twenty-ui/src/primitives/input/Field/internal/FieldDescription.module.scsssimilarity index 100%rename from packages/twenty-ui/src/input/Field/internal/FieldDescription.module.scssrename to packages/twenty-ui/src/primitives/input/Field/internal/FieldDescription.module.scssdiff --git a/packages/twenty-ui/src/input/Field/internal/FieldDescription.module.scss.d.ts b/packages/twenty-ui/src/primitives/input/Field/internal/FieldDescription.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/input/Field/internal/FieldDescription.module.scss.d.tsrename to packages/twenty-ui/src/primitives/input/Field/internal/FieldDescription.module.scss.d.tsdiff --git a/packages/twenty-ui/src/input/Field/internal/FieldDescription.tsx b/packages/twenty-ui/src/primitives/input/Field/internal/FieldDescription.tsxsimilarity index 100%rename from packages/twenty-ui/src/input/Field/internal/FieldDescription.tsxrename to packages/twenty-ui/src/primitives/input/Field/internal/FieldDescription.tsxdiff --git a/packages/twenty-ui/src/input/Field/internal/FieldError.module.scss b/packages/twenty-ui/src/primitives/input/Field/internal/FieldError.module.scsssimilarity index 100%rename from packages/twenty-ui/src/input/Field/internal/FieldError.module.scssrename to packages/twenty-ui/src/primitives/input/Field/internal/FieldError.module.scssdiff --git a/packages/twenty-ui/src/input/Field/internal/FieldError.module.scss.d.ts b/packages/twenty-ui/src/primitives/input/Field/internal/FieldError.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/input/Field/internal/FieldError.module.scss.d.tsrename to packages/twenty-ui/src/primitives/input/Field/internal/FieldError.module.scss.d.tsdiff --git a/packages/twenty-ui/src/input/Field/internal/FieldError.tsx b/packages/twenty-ui/src/primitives/input/Field/internal/FieldError.tsxsimilarity index 100%rename from packages/twenty-ui/src/input/Field/internal/FieldError.tsxrename to packages/twenty-ui/src/primitives/input/Field/internal/FieldError.tsxdiff --git a/packages/twenty-ui/src/input/Field/internal/FieldLabel.module.scss b/packages/twenty-ui/src/primitives/input/Field/internal/FieldLabel.module.scsssimilarity index 100%rename from packages/twenty-ui/src/input/Field/internal/FieldLabel.module.scssrename to packages/twenty-ui/src/primitives/input/Field/internal/FieldLabel.module.scssdiff --git a/packages/twenty-ui/src/input/Field/internal/FieldLabel.module.scss.d.ts b/packages/twenty-ui/src/primitives/input/Field/internal/FieldLabel.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/input/Field/internal/FieldLabel.module.scss.d.tsrename to packages/twenty-ui/src/primitives/input/Field/internal/FieldLabel.module.scss.d.tsdiff --git a/packages/twenty-ui/src/input/Field/internal/FieldLabel.tsx b/packages/twenty-ui/src/primitives/input/Field/internal/FieldLabel.tsxsimilarity index 100%rename from packages/twenty-ui/src/input/Field/internal/FieldLabel.tsxrename to packages/twenty-ui/src/primitives/input/Field/internal/FieldLabel.tsxdiff --git a/packages/twenty-ui/src/input/FloatingButton/FloatingButton.module.scss b/packages/twenty-ui/src/primitives/input/FloatingButton/FloatingButton.module.scsssimilarity index 100%rename from packages/twenty-ui/src/input/FloatingButton/FloatingButton.module.scssrename to packages/twenty-ui/src/primitives/input/FloatingButton/FloatingButton.module.scssdiff --git a/packages/twenty-ui/src/input/FloatingButton/FloatingButton.module.scss.d.ts b/packages/twenty-ui/src/primitives/input/FloatingButton/FloatingButton.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/input/FloatingButton/FloatingButton.module.scss.d.tsrename to packages/twenty-ui/src/primitives/input/FloatingButton/FloatingButton.module.scss.d.tsdiff --git a/packages/twenty-ui/src/input/FloatingButton/FloatingButton.tsx b/packages/twenty-ui/src/primitives/input/FloatingButton/FloatingButton.tsxsimilarity index 100%rename from packages/twenty-ui/src/input/FloatingButton/FloatingButton.tsxrename to packages/twenty-ui/src/primitives/input/FloatingButton/FloatingButton.tsxdiff --git a/packages/twenty-ui/src/input/FloatingButton/__stories__/FloatingButton.stories.tsx b/packages/twenty-ui/src/primitives/input/FloatingButton/__stories__/FloatingButton.stories.tsxsimilarity index 97%rename from packages/twenty-ui/src/input/FloatingButton/__stories__/FloatingButton.stories.tsxrename to packages/twenty-ui/src/primitives/input/FloatingButton/__stories__/FloatingButton.stories.tsxindex 297b29a26fd..bd6d8048366 100644--- a/packages/twenty-ui/src/input/FloatingButton/__stories__/FloatingButton.stories.tsx+++ b/packages/twenty-ui/src/primitives/input/FloatingButton/__stories__/FloatingButton.stories.tsx@@ -9,7 +9,7 @@ import {import {FloatingButton,type FloatingButtonSize,-} from '@ui/input/FloatingButton/FloatingButton';+} from '@ui/primitives/input/FloatingButton/FloatingButton';const meta: Meta<typeof FloatingButton> = {title: 'UI/Input/Button/FloatingButton',diff --git a/packages/twenty-ui/src/input/FloatingButtonGroup/FloatingButtonGroup.module.scss b/packages/twenty-ui/src/primitives/input/FloatingButtonGroup/FloatingButtonGroup.module.scsssimilarity index 100%rename from packages/twenty-ui/src/input/FloatingButtonGroup/FloatingButtonGroup.module.scssrename to packages/twenty-ui/src/primitives/input/FloatingButtonGroup/FloatingButtonGroup.module.scssdiff --git a/packages/twenty-ui/src/input/FloatingButtonGroup/FloatingButtonGroup.module.scss.d.ts b/packages/twenty-ui/src/primitives/input/FloatingButtonGroup/FloatingButtonGroup.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/input/FloatingButtonGroup/FloatingButtonGroup.module.scss.d.tsrename to packages/twenty-ui/src/primitives/input/FloatingButtonGroup/FloatingButtonGroup.module.scss.d.tsdiff --git a/packages/twenty-ui/src/input/FloatingButtonGroup/FloatingButtonGroup.tsx b/packages/twenty-ui/src/primitives/input/FloatingButtonGroup/FloatingButtonGroup.tsxsimilarity index 95%rename from packages/twenty-ui/src/input/FloatingButtonGroup/FloatingButtonGroup.tsxrename to packages/twenty-ui/src/primitives/input/FloatingButtonGroup/FloatingButtonGroup.tsxindex 41085b64566..3a8616954d1 100644--- a/packages/twenty-ui/src/input/FloatingButtonGroup/FloatingButtonGroup.tsx+++ b/packages/twenty-ui/src/primitives/input/FloatingButtonGroup/FloatingButtonGroup.tsx@@ -5,7 +5,7 @@ import { isDefined } from '@ui/utilities/utils/isDefined';import {type FloatingButtonPosition,type FloatingButtonProps,-} from '@ui/input/FloatingButton/FloatingButton';+} from '@ui/primitives/input/FloatingButton/FloatingButton';import styles from './FloatingButtonGroup.module.scss';diff --git a/packages/twenty-ui/src/input/FloatingButtonGroup/__stories__/FloatingButtonGroup.stories.tsx b/packages/twenty-ui/src/primitives/input/FloatingButtonGroup/__stories__/FloatingButtonGroup.stories.tsxsimilarity index 91%rename from packages/twenty-ui/src/input/FloatingButtonGroup/__stories__/FloatingButtonGroup.stories.tsxrename to packages/twenty-ui/src/primitives/input/FloatingButtonGroup/__stories__/FloatingButtonGroup.stories.tsxindex 93433c7b79d..808a333b7d6 100644--- a/packages/twenty-ui/src/input/FloatingButtonGroup/__stories__/FloatingButtonGroup.stories.tsx+++ b/packages/twenty-ui/src/primitives/input/FloatingButtonGroup/__stories__/FloatingButtonGroup.stories.tsx@@ -9,8 +9,8 @@ import {import {FloatingButton,type FloatingButtonSize,-} from '@ui/input/FloatingButton/FloatingButton';-import { FloatingButtonGroup } from '@ui/input/FloatingButtonGroup/FloatingButtonGroup';+} from '@ui/primitives/input/FloatingButton/FloatingButton';+import { FloatingButtonGroup } from '@ui/primitives/input/FloatingButtonGroup/FloatingButtonGroup';const meta: Meta<typeof FloatingButtonGroup> = {title: 'UI/Input/Button/FloatingButtonGroup',diff --git a/packages/twenty-ui/src/input/FloatingIconButton/FloatingIconButton.module.scss b/packages/twenty-ui/src/primitives/input/FloatingIconButton/FloatingIconButton.module.scsssimilarity index 100%rename from packages/twenty-ui/src/input/FloatingIconButton/FloatingIconButton.module.scssrename to packages/twenty-ui/src/primitives/input/FloatingIconButton/FloatingIconButton.module.scssdiff --git a/packages/twenty-ui/src/input/FloatingIconButton/FloatingIconButton.module.scss.d.ts b/packages/twenty-ui/src/primitives/input/FloatingIconButton/FloatingIconButton.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/input/FloatingIconButton/FloatingIconButton.module.scss.d.tsrename to packages/twenty-ui/src/primitives/input/FloatingIconButton/FloatingIconButton.module.scss.d.tsdiff --git a/packages/twenty-ui/src/input/FloatingIconButton/FloatingIconButton.tsx b/packages/twenty-ui/src/primitives/input/FloatingIconButton/FloatingIconButton.tsxsimilarity index 100%rename from packages/twenty-ui/src/input/FloatingIconButton/FloatingIconButton.tsxrename to packages/twenty-ui/src/primitives/input/FloatingIconButton/FloatingIconButton.tsxdiff --git a/packages/twenty-ui/src/input/FloatingIconButton/__stories__/FloatingIconButton.stories.tsx b/packages/twenty-ui/src/primitives/input/FloatingIconButton/__stories__/FloatingIconButton.stories.tsxsimilarity index 96%rename from packages/twenty-ui/src/input/FloatingIconButton/__stories__/FloatingIconButton.stories.tsxrename to packages/twenty-ui/src/primitives/input/FloatingIconButton/__stories__/FloatingIconButton.stories.tsxindex 483990de4dd..973f2296eff 100644--- a/packages/twenty-ui/src/input/FloatingIconButton/__stories__/FloatingIconButton.stories.tsx+++ b/packages/twenty-ui/src/primitives/input/FloatingIconButton/__stories__/FloatingIconButton.stories.tsx@@ -9,7 +9,7 @@ import {import {FloatingIconButton,type FloatingIconButtonSize,-} from '@ui/input/FloatingIconButton/FloatingIconButton';+} from '@ui/primitives/input/FloatingIconButton/FloatingIconButton';const meta: Meta<typeof FloatingIconButton> = {title: 'UI/Input/Button/FloatingIconButton',diff --git a/packages/twenty-ui/src/input/FloatingIconButtonGroup/FloatingIconButtonGroup.module.scss b/packages/twenty-ui/src/primitives/input/FloatingIconButtonGroup/FloatingIconButtonGroup.module.scsssimilarity index 100%rename from packages/twenty-ui/src/input/FloatingIconButtonGroup/FloatingIconButtonGroup.module.scssrename to packages/twenty-ui/src/primitives/input/FloatingIconButtonGroup/FloatingIconButtonGroup.module.scssdiff --git a/packages/twenty-ui/src/input/FloatingIconButtonGroup/FloatingIconButtonGroup.module.scss.d.ts b/packages/twenty-ui/src/primitives/input/FloatingIconButtonGroup/FloatingIconButtonGroup.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/input/FloatingIconButtonGroup/FloatingIconButtonGroup.module.scss.d.tsrename to packages/twenty-ui/src/primitives/input/FloatingIconButtonGroup/FloatingIconButtonGroup.module.scss.d.tsdiff --git a/packages/twenty-ui/src/input/FloatingIconButtonGroup/FloatingIconButtonGroup.tsx b/packages/twenty-ui/src/primitives/input/FloatingIconButtonGroup/FloatingIconButtonGroup.tsxsimilarity index 95%rename from packages/twenty-ui/src/input/FloatingIconButtonGroup/FloatingIconButtonGroup.tsxrename to packages/twenty-ui/src/primitives/input/FloatingIconButtonGroup/FloatingIconButtonGroup.tsxindex c8667d106c9..a3ca2907b9e 100644--- a/packages/twenty-ui/src/input/FloatingIconButtonGroup/FloatingIconButtonGroup.tsx+++ b/packages/twenty-ui/src/primitives/input/FloatingIconButtonGroup/FloatingIconButtonGroup.tsx@@ -7,7 +7,7 @@ import {FloatingIconButton,type FloatingIconButtonPosition,type FloatingIconButtonProps,-} from '@ui/input/FloatingIconButton/FloatingIconButton';+} from '@ui/primitives/input/FloatingIconButton/FloatingIconButton';import styles from './FloatingIconButtonGroup.module.scss';diff --git a/packages/twenty-ui/src/input/FloatingIconButtonGroup/__stories__/FloatingIconButtonGroup.stories.tsx b/packages/twenty-ui/src/primitives/input/FloatingIconButtonGroup/__stories__/FloatingIconButtonGroup.stories.tsxsimilarity index 86%rename from packages/twenty-ui/src/input/FloatingIconButtonGroup/__stories__/FloatingIconButtonGroup.stories.tsxrename to packages/twenty-ui/src/primitives/input/FloatingIconButtonGroup/__stories__/FloatingIconButtonGroup.stories.tsxindex df66da93039..ed30e227cce 100644--- a/packages/twenty-ui/src/input/FloatingIconButtonGroup/__stories__/FloatingIconButtonGroup.stories.tsx+++ b/packages/twenty-ui/src/primitives/input/FloatingIconButtonGroup/__stories__/FloatingIconButtonGroup.stories.tsx@@ -6,8 +6,8 @@ import {type CatalogStory,ComponentDecorator,} from '@ui/testing';-import { type FloatingIconButtonSize } from '@ui/input/FloatingIconButton/FloatingIconButton';-import { FloatingIconButtonGroup } from '@ui/input/FloatingIconButtonGroup/FloatingIconButtonGroup';+import { type FloatingIconButtonSize } from '@ui/primitives/input/FloatingIconButton/FloatingIconButton';+import { FloatingIconButtonGroup } from '@ui/primitives/input/FloatingIconButtonGroup/FloatingIconButtonGroup';const meta: Meta<typeof FloatingIconButtonGroup> = {title: 'UI/Input/Button/FloatingIconButtonGroup',diff --git a/packages/twenty-ui/src/input/IconButton/IconButton.module.scss b/packages/twenty-ui/src/primitives/input/IconButton/IconButton.module.scsssimilarity index 100%rename from packages/twenty-ui/src/input/IconButton/IconButton.module.scssrename to packages/twenty-ui/src/primitives/input/IconButton/IconButton.module.scssdiff --git a/packages/twenty-ui/src/input/IconButton/IconButton.module.scss.d.ts b/packages/twenty-ui/src/primitives/input/IconButton/IconButton.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/input/IconButton/IconButton.module.scss.d.tsrename to packages/twenty-ui/src/primitives/input/IconButton/IconButton.module.scss.d.tsdiff --git a/packages/twenty-ui/src/input/IconButton/IconButton.tsx b/packages/twenty-ui/src/primitives/input/IconButton/IconButton.tsxsimilarity index 100%rename from packages/twenty-ui/src/input/IconButton/IconButton.tsxrename to packages/twenty-ui/src/primitives/input/IconButton/IconButton.tsxdiff --git a/packages/twenty-ui/src/input/IconButton/__stories__/IconButton.stories.tsx b/packages/twenty-ui/src/primitives/input/IconButton/__stories__/IconButton.stories.tsxsimilarity index 99%rename from packages/twenty-ui/src/input/IconButton/__stories__/IconButton.stories.tsxrename to packages/twenty-ui/src/primitives/input/IconButton/__stories__/IconButton.stories.tsxindex 03cdc2d430c..23522476a9d 100644--- a/packages/twenty-ui/src/input/IconButton/__stories__/IconButton.stories.tsx+++ b/packages/twenty-ui/src/primitives/input/IconButton/__stories__/IconButton.stories.tsx@@ -13,7 +13,7 @@ import {type IconButtonPosition,type IconButtonSize,type IconButtonVariant,-} from '@ui/input/IconButton/IconButton';+} from '@ui/primitives/input/IconButton/IconButton';const meta: Meta<typeof IconButton> = {title: 'UI/Input/Button/IconButton',diff --git a/packages/twenty-ui/src/input/IconButtonGroup/IconButtonGroup.module.scss b/packages/twenty-ui/src/primitives/input/IconButtonGroup/IconButtonGroup.module.scsssimilarity index 100%rename from packages/twenty-ui/src/input/IconButtonGroup/IconButtonGroup.module.scssrename to packages/twenty-ui/src/primitives/input/IconButtonGroup/IconButtonGroup.module.scssdiff --git a/packages/twenty-ui/src/input/IconButtonGroup/IconButtonGroup.module.scss.d.ts b/packages/twenty-ui/src/primitives/input/IconButtonGroup/IconButtonGroup.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/input/IconButtonGroup/IconButtonGroup.module.scss.d.tsrename to packages/twenty-ui/src/primitives/input/IconButtonGroup/IconButtonGroup.module.scss.d.tsdiff --git a/packages/twenty-ui/src/input/IconButtonGroup/IconButtonGroup.tsx b/packages/twenty-ui/src/primitives/input/IconButtonGroup/IconButtonGroup.tsxsimilarity index 92%rename from packages/twenty-ui/src/input/IconButtonGroup/IconButtonGroup.tsxrename to packages/twenty-ui/src/primitives/input/IconButtonGroup/IconButtonGroup.tsxindex 3c1ddf9e538..3c99b787a44 100644--- a/packages/twenty-ui/src/input/IconButtonGroup/IconButtonGroup.tsx+++ b/packages/twenty-ui/src/primitives/input/IconButtonGroup/IconButtonGroup.tsx@@ -2,7 +2,7 @@ import { clsx } from 'clsx';import { type MouseEvent } from 'react';import { type IconComponent } from '@ui/icon';-import { InsideButton } from '@ui/input/InsideButton/InsideButton';+import { InsideButton } from '@ui/primitives/input/InsideButton/InsideButton';import styles from './IconButtonGroup.module.scss';diff --git a/packages/twenty-ui/src/input/IconButtonGroup/__stories__/IconButtonGroup.stories.tsx b/packages/twenty-ui/src/primitives/input/IconButtonGroup/__stories__/IconButtonGroup.stories.tsxsimilarity index 92%rename from packages/twenty-ui/src/input/IconButtonGroup/__stories__/IconButtonGroup.stories.tsxrename to packages/twenty-ui/src/primitives/input/IconButtonGroup/__stories__/IconButtonGroup.stories.tsxindex bd3de6d1e74..229bd3394fe 100644--- a/packages/twenty-ui/src/input/IconButtonGroup/__stories__/IconButtonGroup.stories.tsx+++ b/packages/twenty-ui/src/primitives/input/IconButtonGroup/__stories__/IconButtonGroup.stories.tsx@@ -6,7 +6,7 @@ import {ComponentDecorator,} from '@ui/testing';-import { IconButtonGroup } from '@ui/input/IconButtonGroup/IconButtonGroup';+import { IconButtonGroup } from '@ui/primitives/input/IconButtonGroup/IconButtonGroup';const meta: Meta<typeof IconButtonGroup> = {title: 'UI/Input/Button/IconButtonGroup',diff --git a/packages/twenty-ui/src/input/IconButtonWithTooltip/IconButtonWithTooltip.tsx b/packages/twenty-ui/src/primitives/input/IconButtonWithTooltip/IconButtonWithTooltip.tsxsimilarity index 89%rename from packages/twenty-ui/src/input/IconButtonWithTooltip/IconButtonWithTooltip.tsxrename to packages/twenty-ui/src/primitives/input/IconButtonWithTooltip/IconButtonWithTooltip.tsxindex e98711fe6c3..c0f79556768 100644--- a/packages/twenty-ui/src/input/IconButtonWithTooltip/IconButtonWithTooltip.tsx+++ b/packages/twenty-ui/src/primitives/input/IconButtonWithTooltip/IconButtonWithTooltip.tsx@@ -1,8 +1,12 @@import {IconButton,type IconButtonProps,-} from '@ui/input/IconButton/IconButton';-import { AppTooltip, TooltipDelay, TooltipPosition } from '@ui/surfaces';+} from '@ui/primitives/input/IconButton/IconButton';+import {+ AppTooltip,+ TooltipDelay,+ TooltipPosition,+} from '@ui/primitives/surfaces';import { useId } from 'react';export type IconButtonWithTooltipProps = Pick<diff --git a/packages/twenty-ui/src/input/IconButtonWithTooltip/__stories__/IconButtonWithTooltip.stories.tsx b/packages/twenty-ui/src/primitives/input/IconButtonWithTooltip/__stories__/IconButtonWithTooltip.stories.tsxsimilarity index 86%rename from packages/twenty-ui/src/input/IconButtonWithTooltip/__stories__/IconButtonWithTooltip.stories.tsxrename to packages/twenty-ui/src/primitives/input/IconButtonWithTooltip/__stories__/IconButtonWithTooltip.stories.tsxindex 1acb7cfff3e..6112f04ace1 100644--- a/packages/twenty-ui/src/input/IconButtonWithTooltip/__stories__/IconButtonWithTooltip.stories.tsx+++ b/packages/twenty-ui/src/primitives/input/IconButtonWithTooltip/__stories__/IconButtonWithTooltip.stories.tsx@@ -1,7 +1,7 @@import { type Meta, type StoryObj } from '@storybook/react-vite';import { IconSearch } from '@ui/icon';-import { IconButtonWithTooltip } from '@ui/input/IconButtonWithTooltip/IconButtonWithTooltip';-import { TooltipDelay } from '@ui/surfaces';+import { IconButtonWithTooltip } from '@ui/primitives/input/IconButtonWithTooltip/IconButtonWithTooltip';+import { TooltipDelay } from '@ui/primitives/surfaces';import { ComponentDecorator } from '@ui/testing';import { expect, userEvent, within } from 'storybook/test';diff --git a/packages/twenty-ui/src/input/IconListViewGrip/IconListViewGrip.tsx b/packages/twenty-ui/src/primitives/input/IconListViewGrip/IconListViewGrip.tsxsimilarity index 100%rename from packages/twenty-ui/src/input/IconListViewGrip/IconListViewGrip.tsxrename to packages/twenty-ui/src/primitives/input/IconListViewGrip/IconListViewGrip.tsxdiff --git a/packages/twenty-ui/src/input/Input/Input.module.scss b/packages/twenty-ui/src/primitives/input/Input/Input.module.scsssimilarity index 100%rename from packages/twenty-ui/src/input/Input/Input.module.scssrename to packages/twenty-ui/src/primitives/input/Input/Input.module.scssdiff --git a/packages/twenty-ui/src/input/Input/Input.module.scss.d.ts b/packages/twenty-ui/src/primitives/input/Input/Input.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/input/Input/Input.module.scss.d.tsrename to packages/twenty-ui/src/primitives/input/Input/Input.module.scss.d.tsdiff --git a/packages/twenty-ui/src/input/Input/Input.tsx b/packages/twenty-ui/src/primitives/input/Input/Input.tsxsimilarity index 88%rename from packages/twenty-ui/src/input/Input/Input.tsxrename to packages/twenty-ui/src/primitives/input/Input/Input.tsxindex 7c2922e9e5b..abcc7fbd1d6 100644--- a/packages/twenty-ui/src/input/Input/Input.tsx+++ b/packages/twenty-ui/src/primitives/input/Input/Input.tsx@@ -2,7 +2,7 @@ import { Input as InputPrimitive } from '@base-ui/react/input';import { clsx } from 'clsx';import { useContext } from 'react';-import { InputGroupContext } from '@ui/input/InputGroup/internal/InputGroupContext';+import { InputGroupContext } from '@ui/primitives/input/InputGroup/internal/InputGroupContext';import { mergeClassNames } from '@ui/utilities/internal/mergeClassNames';import { isDefined } from '@ui/utilities/utils/isDefined';diff --git a/packages/twenty-ui/src/input/Input/__stories__/Input.stories.tsx b/packages/twenty-ui/src/primitives/input/Input/__stories__/Input.stories.tsxsimilarity index 92%rename from packages/twenty-ui/src/input/Input/__stories__/Input.stories.tsxrename to packages/twenty-ui/src/primitives/input/Input/__stories__/Input.stories.tsxindex b2815fd37c8..99b697cdf20 100644--- a/packages/twenty-ui/src/input/Input/__stories__/Input.stories.tsx+++ b/packages/twenty-ui/src/primitives/input/Input/__stories__/Input.stories.tsx@@ -8,9 +8,9 @@ import {ComponentDecorator,} from '@ui/testing';-import { Field } from '@ui/input/Field/Field';-import { Input } from '@ui/input/Input/Input';-import { type InputSize } from '@ui/input/types/InputSize';+import { Field } from '@ui/primitives/input/Field/Field';+import { Input } from '@ui/primitives/input/Input/Input';+import { type InputSize } from '@ui/primitives/input/types/InputSize';const meta: Meta<typeof Input> = {title: 'UI/Input/Input',diff --git a/packages/twenty-ui/src/input/Input/__stories__/InputInteractions.stories.tsx b/packages/twenty-ui/src/primitives/input/Input/__stories__/InputInteractions.stories.tsxsimilarity index 98%rename from packages/twenty-ui/src/input/Input/__stories__/InputInteractions.stories.tsxrename to packages/twenty-ui/src/primitives/input/Input/__stories__/InputInteractions.stories.tsxindex 854fe74e179..f263a9696f3 100644--- a/packages/twenty-ui/src/input/Input/__stories__/InputInteractions.stories.tsx+++ b/packages/twenty-ui/src/primitives/input/Input/__stories__/InputInteractions.stories.tsx@@ -2,7 +2,7 @@ import { type Meta, type StoryObj } from '@storybook/react-vite';import { useState } from 'react';import { expect, fn, userEvent, within } from 'storybook/test';-import { Field } from '@ui/input/Field/Field';+import { Field } from '@ui/primitives/input/Field/Field';import { ComponentDecorator } from '@ui/testing';import { Input } from '../Input';diff --git a/packages/twenty-ui/src/input/Input/__tests__/Input.test.tsx b/packages/twenty-ui/src/primitives/input/Input/__tests__/Input.test.tsxsimilarity index 100%rename from packages/twenty-ui/src/input/Input/__tests__/Input.test.tsxrename to packages/twenty-ui/src/primitives/input/Input/__tests__/Input.test.tsxdiff --git a/packages/twenty-ui/src/input/Input/types/InputProps.ts b/packages/twenty-ui/src/primitives/input/Input/types/InputProps.tssimilarity index 77%rename from packages/twenty-ui/src/input/Input/types/InputProps.tsrename to packages/twenty-ui/src/primitives/input/Input/types/InputProps.tsindex deee076676b..76c6efb968a 100644--- a/packages/twenty-ui/src/input/Input/types/InputProps.ts+++ b/packages/twenty-ui/src/primitives/input/Input/types/InputProps.ts@@ -1,6 +1,6 @@import { type Input as InputPrimitive } from '@base-ui/react/input';-import { type InputSize } from '@ui/input/types/InputSize';+import { type InputSize } from '@ui/primitives/input/types/InputSize';export type InputProps = Omit<InputPrimitive.Props, 'size'> & {/** Visual size of the input. Inside an `InputGroup`, the group's size applies. */diff --git a/packages/twenty-ui/src/input/InputGroup/InputGroup.module.scss b/packages/twenty-ui/src/primitives/input/InputGroup/InputGroup.module.scsssimilarity index 100%rename from packages/twenty-ui/src/input/InputGroup/InputGroup.module.scssrename to packages/twenty-ui/src/primitives/input/InputGroup/InputGroup.module.scssdiff --git a/packages/twenty-ui/src/input/InputGroup/InputGroup.module.scss.d.ts b/packages/twenty-ui/src/primitives/input/InputGroup/InputGroup.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/input/InputGroup/InputGroup.module.scss.d.tsrename to packages/twenty-ui/src/primitives/input/InputGroup/InputGroup.module.scss.d.tsdiff --git a/packages/twenty-ui/src/input/InputGroup/InputGroup.tsx b/packages/twenty-ui/src/primitives/input/InputGroup/InputGroup.tsxsimilarity index 100%rename from packages/twenty-ui/src/input/InputGroup/InputGroup.tsxrename to packages/twenty-ui/src/primitives/input/InputGroup/InputGroup.tsxdiff --git a/packages/twenty-ui/src/input/InputGroup/__stories__/InputGroup.stories.tsx b/packages/twenty-ui/src/primitives/input/InputGroup/__stories__/InputGroup.stories.tsxsimilarity index 93%rename from packages/twenty-ui/src/input/InputGroup/__stories__/InputGroup.stories.tsxrename to packages/twenty-ui/src/primitives/input/InputGroup/__stories__/InputGroup.stories.tsxindex 4e357342502..f0925b02077 100644--- a/packages/twenty-ui/src/input/InputGroup/__stories__/InputGroup.stories.tsx+++ b/packages/twenty-ui/src/primitives/input/InputGroup/__stories__/InputGroup.stories.tsx@@ -9,10 +9,10 @@ import {} from '@ui/testing';import { IconSearch } from '@ui/icon';-import { Input } from '@ui/input/Input/Input';-import inputStyles from '@ui/input/Input/Input.module.scss';-import { InputGroup } from '@ui/input/InputGroup/InputGroup';-import { type InputSize } from '@ui/input/types/InputSize';+import { Input } from '@ui/primitives/input/Input/Input';+import inputStyles from '@ui/primitives/input/Input/Input.module.scss';+import { InputGroup } from '@ui/primitives/input/InputGroup/InputGroup';+import { type InputSize } from '@ui/primitives/input/types/InputSize';const meta: Meta<typeof InputGroup> = {title: 'UI/Input/InputGroup',diff --git a/packages/twenty-ui/src/input/InputGroup/__tests__/InputGroup.test.tsx b/packages/twenty-ui/src/primitives/input/InputGroup/__tests__/InputGroup.test.tsxsimilarity index 87%rename from packages/twenty-ui/src/input/InputGroup/__tests__/InputGroup.test.tsxrename to packages/twenty-ui/src/primitives/input/InputGroup/__tests__/InputGroup.test.tsxindex 714657ad47d..cf4cf860582 100644--- a/packages/twenty-ui/src/input/InputGroup/__tests__/InputGroup.test.tsx+++ b/packages/twenty-ui/src/primitives/input/InputGroup/__tests__/InputGroup.test.tsx@@ -1,6 +1,6 @@import { runComponentConformance } from '@test-utilities/conformance/runComponentConformance';-import { Input } from '@ui/input/Input/Input';+import { Input } from '@ui/primitives/input/Input/Input';import { InputGroup } from '../InputGroup';import styles from '../InputGroup.module.scss';diff --git a/packages/twenty-ui/src/input/InputGroup/internal/InputGroupContext.ts b/packages/twenty-ui/src/primitives/input/InputGroup/internal/InputGroupContext.tssimilarity index 64%rename from packages/twenty-ui/src/input/InputGroup/internal/InputGroupContext.tsrename to packages/twenty-ui/src/primitives/input/InputGroup/internal/InputGroupContext.tsindex 5c13d7f8b28..930fddda411 100644--- a/packages/twenty-ui/src/input/InputGroup/internal/InputGroupContext.ts+++ b/packages/twenty-ui/src/primitives/input/InputGroup/internal/InputGroupContext.ts@@ -1,6 +1,6 @@import { createContext } from 'react';-import { type InputSize } from '@ui/input/types/InputSize';+import { type InputSize } from '@ui/primitives/input/types/InputSize';export const InputGroupContext = createContext<{ size: InputSize } | null>(null,diff --git a/packages/twenty-ui/src/input/InputGroup/internal/isRenderableAdornment.ts b/packages/twenty-ui/src/primitives/input/InputGroup/internal/isRenderableAdornment.tssimilarity index 100%rename from packages/twenty-ui/src/input/InputGroup/internal/isRenderableAdornment.tsrename to packages/twenty-ui/src/primitives/input/InputGroup/internal/isRenderableAdornment.tsdiff --git a/packages/twenty-ui/src/input/InputGroup/types/InputGroupProps.ts b/packages/twenty-ui/src/primitives/input/InputGroup/types/InputGroupProps.tssimilarity index 86%rename from packages/twenty-ui/src/input/InputGroup/types/InputGroupProps.tsrename to packages/twenty-ui/src/primitives/input/InputGroup/types/InputGroupProps.tsindex 03c9f5e1212..9d1b58ba369 100644--- a/packages/twenty-ui/src/input/InputGroup/types/InputGroupProps.ts+++ b/packages/twenty-ui/src/primitives/input/InputGroup/types/InputGroupProps.ts@@ -1,7 +1,7 @@import { type useRender } from '@base-ui/react/use-render';import { type ReactNode } from 'react';-import { type InputSize } from '@ui/input/types/InputSize';+import { type InputSize } from '@ui/primitives/input/types/InputSize';export type InputGroupProps = useRender.ComponentProps<'div'> & {/** Visual size of the group and its input. */diff --git a/packages/twenty-ui/src/input/InputHint/InputHint.module.scss b/packages/twenty-ui/src/primitives/input/InputHint/InputHint.module.scsssimilarity index 100%rename from packages/twenty-ui/src/input/InputHint/InputHint.module.scssrename to packages/twenty-ui/src/primitives/input/InputHint/InputHint.module.scssdiff --git a/packages/twenty-ui/src/input/InputHint/InputHint.module.scss.d.ts b/packages/twenty-ui/src/primitives/input/InputHint/InputHint.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/input/InputHint/InputHint.module.scss.d.tsrename to packages/twenty-ui/src/primitives/input/InputHint/InputHint.module.scss.d.tsdiff --git a/packages/twenty-ui/src/input/InputHint/InputHint.tsx b/packages/twenty-ui/src/primitives/input/InputHint/InputHint.tsxsimilarity index 70%rename from packages/twenty-ui/src/input/InputHint/InputHint.tsxrename to packages/twenty-ui/src/primitives/input/InputHint/InputHint.tsxindex 182b0c39b4f..96bd5b240d7 100644--- a/packages/twenty-ui/src/input/InputHint/InputHint.tsx+++ b/packages/twenty-ui/src/primitives/input/InputHint/InputHint.tsx@@ -9,7 +9,7 @@ type InputHintProps = {};/**- * @deprecated Inside `Field.Root` (from `twenty-ui/input`), use `Field.Description` for hints or `Field.Error` for errors (replaces `danger`).+ * @deprecated Inside `Field.Root` (from `twenty-ui/primitives/input`), use `Field.Description` for hints or `Field.Error` for errors (replaces `danger`).*/export const InputHint = ({ children, className, danger }: InputHintProps) => (<div className={clsx(styles.hint, danger && styles.danger, className)}>diff --git a/packages/twenty-ui/src/input/InputHint/__stories__/InputHint.stories.tsx b/packages/twenty-ui/src/primitives/input/InputHint/__stories__/InputHint.stories.tsxsimilarity index 93%rename from packages/twenty-ui/src/input/InputHint/__stories__/InputHint.stories.tsxrename to packages/twenty-ui/src/primitives/input/InputHint/__stories__/InputHint.stories.tsxindex 9548e7b916f..802a7766a3f 100644--- a/packages/twenty-ui/src/input/InputHint/__stories__/InputHint.stories.tsx+++ b/packages/twenty-ui/src/primitives/input/InputHint/__stories__/InputHint.stories.tsx@@ -7,7 +7,7 @@ import {ComponentDecorator,} from '@ui/testing';-import { InputHint } from '@ui/input/InputHint/InputHint';+import { InputHint } from '@ui/primitives/input/InputHint/InputHint';const meta: Meta<typeof InputHint> = {title: 'UI/Input/InputHint',diff --git a/packages/twenty-ui/src/input/InputLabel/InputLabel.module.scss b/packages/twenty-ui/src/primitives/input/InputLabel/InputLabel.module.scsssimilarity index 100%rename from packages/twenty-ui/src/input/InputLabel/InputLabel.module.scssrename to packages/twenty-ui/src/primitives/input/InputLabel/InputLabel.module.scssdiff --git a/packages/twenty-ui/src/input/InputLabel/InputLabel.module.scss.d.ts b/packages/twenty-ui/src/primitives/input/InputLabel/InputLabel.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/input/InputLabel/InputLabel.module.scss.d.tsrename to packages/twenty-ui/src/primitives/input/InputLabel/InputLabel.module.scss.d.tsdiff --git a/packages/twenty-ui/src/input/InputLabel/InputLabel.tsx b/packages/twenty-ui/src/primitives/input/InputLabel/InputLabel.tsxsimilarity index 92%rename from packages/twenty-ui/src/input/InputLabel/InputLabel.tsxrename to packages/twenty-ui/src/primitives/input/InputLabel/InputLabel.tsxindex 450721237e7..4b13d51de4d 100644--- a/packages/twenty-ui/src/input/InputLabel/InputLabel.tsx+++ b/packages/twenty-ui/src/primitives/input/InputLabel/InputLabel.tsx@@ -9,7 +9,7 @@ type InputLabelProps = {};/**- * @deprecated Compose `Field.Label` inside `Field.Root` (from `twenty-ui/input`) instead.+ * @deprecated Compose `Field.Label` inside `Field.Root` (from `twenty-ui/primitives/input`) instead.*/export const InputLabel = ({children,diff --git a/packages/twenty-ui/src/input/InputLabel/__stories__/InputLabel.stories.tsx b/packages/twenty-ui/src/primitives/input/InputLabel/__stories__/InputLabel.stories.tsxsimilarity index 86%rename from packages/twenty-ui/src/input/InputLabel/__stories__/InputLabel.stories.tsxrename to packages/twenty-ui/src/primitives/input/InputLabel/__stories__/InputLabel.stories.tsxindex 4e1b94bc793..82773c8afdc 100644--- a/packages/twenty-ui/src/input/InputLabel/__stories__/InputLabel.stories.tsx+++ b/packages/twenty-ui/src/primitives/input/InputLabel/__stories__/InputLabel.stories.tsx@@ -2,7 +2,7 @@ import { type Meta, type StoryObj } from '@storybook/react-vite';import { A11Y_DEFER_COLOR_CONTRAST, ComponentDecorator } from '@ui/testing';-import { InputLabel } from '@ui/input/InputLabel/InputLabel';+import { InputLabel } from '@ui/primitives/input/InputLabel/InputLabel';const meta: Meta<typeof InputLabel> = {title: 'UI/Input/InputLabel',diff --git a/packages/twenty-ui/src/input/InsideButton/InsideButton.module.scss b/packages/twenty-ui/src/primitives/input/InsideButton/InsideButton.module.scsssimilarity index 100%rename from packages/twenty-ui/src/input/InsideButton/InsideButton.module.scssrename to packages/twenty-ui/src/primitives/input/InsideButton/InsideButton.module.scssdiff --git a/packages/twenty-ui/src/input/InsideButton/InsideButton.module.scss.d.ts b/packages/twenty-ui/src/primitives/input/InsideButton/InsideButton.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/input/InsideButton/InsideButton.module.scss.d.tsrename to packages/twenty-ui/src/primitives/input/InsideButton/InsideButton.module.scss.d.tsdiff --git a/packages/twenty-ui/src/input/InsideButton/InsideButton.tsx b/packages/twenty-ui/src/primitives/input/InsideButton/InsideButton.tsxsimilarity index 100%rename from packages/twenty-ui/src/input/InsideButton/InsideButton.tsxrename to packages/twenty-ui/src/primitives/input/InsideButton/InsideButton.tsxdiff --git a/packages/twenty-ui/src/input/LightButton/LightButton.module.scss b/packages/twenty-ui/src/primitives/input/LightButton/LightButton.module.scsssimilarity index 100%rename from packages/twenty-ui/src/input/LightButton/LightButton.module.scssrename to packages/twenty-ui/src/primitives/input/LightButton/LightButton.module.scssdiff --git a/packages/twenty-ui/src/input/LightButton/LightButton.module.scss.d.ts b/packages/twenty-ui/src/primitives/input/LightButton/LightButton.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/input/LightButton/LightButton.module.scss.d.tsrename to packages/twenty-ui/src/primitives/input/LightButton/LightButton.module.scss.d.tsdiff --git a/packages/twenty-ui/src/input/LightButton/LightButton.tsx b/packages/twenty-ui/src/primitives/input/LightButton/LightButton.tsxsimilarity index 100%rename from packages/twenty-ui/src/input/LightButton/LightButton.tsxrename to packages/twenty-ui/src/primitives/input/LightButton/LightButton.tsxdiff --git a/packages/twenty-ui/src/input/LightButton/__stories__/LightButton.stories.tsx b/packages/twenty-ui/src/primitives/input/LightButton/__stories__/LightButton.stories.tsxsimilarity index 97%rename from packages/twenty-ui/src/input/LightButton/__stories__/LightButton.stories.tsxrename to packages/twenty-ui/src/primitives/input/LightButton/__stories__/LightButton.stories.tsxindex 90bc2804e2d..d5ec5115a90 100644--- a/packages/twenty-ui/src/input/LightButton/__stories__/LightButton.stories.tsx+++ b/packages/twenty-ui/src/primitives/input/LightButton/__stories__/LightButton.stories.tsx@@ -9,7 +9,7 @@ import {import {LightButton,type LightButtonAccent,-} from '@ui/input/LightButton/LightButton';+} from '@ui/primitives/input/LightButton/LightButton';const meta: Meta<typeof LightButton> = {title: 'UI/Input/Button/LightButton',diff --git a/packages/twenty-ui/src/input/LightIconButton/LightIconButton.module.scss b/packages/twenty-ui/src/primitives/input/LightIconButton/LightIconButton.module.scsssimilarity index 100%rename from packages/twenty-ui/src/input/LightIconButton/LightIconButton.module.scssrename to packages/twenty-ui/src/primitives/input/LightIconButton/LightIconButton.module.scssdiff --git a/packages/twenty-ui/src/input/LightIconButton/LightIconButton.module.scss.d.ts b/packages/twenty-ui/src/primitives/input/LightIconButton/LightIconButton.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/input/LightIconButton/LightIconButton.module.scss.d.tsrename to packages/twenty-ui/src/primitives/input/LightIconButton/LightIconButton.module.scss.d.tsdiff --git a/packages/twenty-ui/src/input/LightIconButton/LightIconButton.tsx b/packages/twenty-ui/src/primitives/input/LightIconButton/LightIconButton.tsxsimilarity index 100%rename from packages/twenty-ui/src/input/LightIconButton/LightIconButton.tsxrename to packages/twenty-ui/src/primitives/input/LightIconButton/LightIconButton.tsxdiff --git a/packages/twenty-ui/src/input/LightIconButton/__stories__/LightIconButton.stories.tsx b/packages/twenty-ui/src/primitives/input/LightIconButton/__stories__/LightIconButton.stories.tsxsimilarity index 97%rename from packages/twenty-ui/src/input/LightIconButton/__stories__/LightIconButton.stories.tsxrename to packages/twenty-ui/src/primitives/input/LightIconButton/__stories__/LightIconButton.stories.tsxindex c6897ac3393..514530c30ae 100644--- a/packages/twenty-ui/src/input/LightIconButton/__stories__/LightIconButton.stories.tsx+++ b/packages/twenty-ui/src/primitives/input/LightIconButton/__stories__/LightIconButton.stories.tsx@@ -10,7 +10,7 @@ import {LightIconButton,type LightIconButtonAccent,type LightIconButtonSize,-} from '@ui/input/LightIconButton/LightIconButton';+} from '@ui/primitives/input/LightIconButton/LightIconButton';const meta: Meta<typeof LightIconButton> = {title: 'UI/Input/Button/LightIconButton',diff --git a/packages/twenty-ui/src/input/LightIconButtonGroup/LightIconButtonGroup.module.scss b/packages/twenty-ui/src/primitives/input/LightIconButtonGroup/LightIconButtonGroup.module.scsssimilarity index 100%rename from packages/twenty-ui/src/input/LightIconButtonGroup/LightIconButtonGroup.module.scssrename to packages/twenty-ui/src/primitives/input/LightIconButtonGroup/LightIconButtonGroup.module.scssdiff --git a/packages/twenty-ui/src/input/LightIconButtonGroup/LightIconButtonGroup.module.scss.d.ts b/packages/twenty-ui/src/primitives/input/LightIconButtonGroup/LightIconButtonGroup.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/input/LightIconButtonGroup/LightIconButtonGroup.module.scss.d.tsrename to packages/twenty-ui/src/primitives/input/LightIconButtonGroup/LightIconButtonGroup.module.scss.d.tsdiff --git a/packages/twenty-ui/src/input/LightIconButtonGroup/LightIconButtonGroup.tsx b/packages/twenty-ui/src/primitives/input/LightIconButtonGroup/LightIconButtonGroup.tsxsimilarity index 96%rename from packages/twenty-ui/src/input/LightIconButtonGroup/LightIconButtonGroup.tsxrename to packages/twenty-ui/src/primitives/input/LightIconButtonGroup/LightIconButtonGroup.tsxindex 8b605dc4397..6bd0172b0ce 100644--- a/packages/twenty-ui/src/input/LightIconButtonGroup/LightIconButtonGroup.tsx+++ b/packages/twenty-ui/src/primitives/input/LightIconButtonGroup/LightIconButtonGroup.tsx@@ -10,7 +10,7 @@ import { clsx } from 'clsx';import {LightIconButton,type LightIconButtonProps,-} from '@ui/input/LightIconButton/LightIconButton';+} from '@ui/primitives/input/LightIconButton/LightIconButton';import styles from './LightIconButtonGroup.module.scss';diff --git a/packages/twenty-ui/src/input/MainButton/MainButton.module.scss b/packages/twenty-ui/src/primitives/input/MainButton/MainButton.module.scsssimilarity index 100%rename from packages/twenty-ui/src/input/MainButton/MainButton.module.scssrename to packages/twenty-ui/src/primitives/input/MainButton/MainButton.module.scssdiff --git a/packages/twenty-ui/src/input/MainButton/MainButton.module.scss.d.ts b/packages/twenty-ui/src/primitives/input/MainButton/MainButton.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/input/MainButton/MainButton.module.scss.d.tsrename to packages/twenty-ui/src/primitives/input/MainButton/MainButton.module.scss.d.tsdiff --git a/packages/twenty-ui/src/input/MainButton/MainButton.tsx b/packages/twenty-ui/src/primitives/input/MainButton/MainButton.tsxsimilarity index 100%rename from packages/twenty-ui/src/input/MainButton/MainButton.tsxrename to packages/twenty-ui/src/primitives/input/MainButton/MainButton.tsxdiff --git a/packages/twenty-ui/src/input/MainButton/__stories__/MainButton.stories.tsx b/packages/twenty-ui/src/primitives/input/MainButton/__stories__/MainButton.stories.tsxsimilarity index 95%rename from packages/twenty-ui/src/input/MainButton/__stories__/MainButton.stories.tsxrename to packages/twenty-ui/src/primitives/input/MainButton/__stories__/MainButton.stories.tsxindex ff86cf79834..43694eaaa15 100644--- a/packages/twenty-ui/src/input/MainButton/__stories__/MainButton.stories.tsx+++ b/packages/twenty-ui/src/primitives/input/MainButton/__stories__/MainButton.stories.tsx@@ -2,7 +2,7 @@ import { type Meta, type StoryObj } from '@storybook/react-vite';import { IconBrandGoogle } from '@ui/icon';import { ComponentDecorator } from '@ui/testing';import { expect, fn, userEvent, within } from 'storybook/test';-import { MainButton } from '@ui/input/MainButton/MainButton';+import { MainButton } from '@ui/primitives/input/MainButton/MainButton';const clickJestFn = fn();diff --git a/packages/twenty-ui/src/input/Radio/Radio.module.scss b/packages/twenty-ui/src/primitives/input/Radio/Radio.module.scsssimilarity index 100%rename from packages/twenty-ui/src/input/Radio/Radio.module.scssrename to packages/twenty-ui/src/primitives/input/Radio/Radio.module.scssdiff --git a/packages/twenty-ui/src/input/Radio/Radio.module.scss.d.ts b/packages/twenty-ui/src/primitives/input/Radio/Radio.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/input/Radio/Radio.module.scss.d.tsrename to packages/twenty-ui/src/primitives/input/Radio/Radio.module.scss.d.tsdiff --git a/packages/twenty-ui/src/input/Radio/Radio.tsx b/packages/twenty-ui/src/primitives/input/Radio/Radio.tsxsimilarity index 100%rename from packages/twenty-ui/src/input/Radio/Radio.tsxrename to packages/twenty-ui/src/primitives/input/Radio/Radio.tsxdiff --git a/packages/twenty-ui/src/input/Radio/__stories__/Radio.interactions.stories.tsx b/packages/twenty-ui/src/primitives/input/Radio/__stories__/Radio.interactions.stories.tsxsimilarity index 97%rename from packages/twenty-ui/src/input/Radio/__stories__/Radio.interactions.stories.tsxrename to packages/twenty-ui/src/primitives/input/Radio/__stories__/Radio.interactions.stories.tsxindex 47555da8bfe..f53b906b055 100644--- a/packages/twenty-ui/src/input/Radio/__stories__/Radio.interactions.stories.tsx+++ b/packages/twenty-ui/src/primitives/input/Radio/__stories__/Radio.interactions.stories.tsx@@ -4,10 +4,10 @@ import { type Meta, type StoryObj } from '@storybook/react-vite';import { useRef, useState } from 'react';import { expect, fn, userEvent, waitFor, within } from 'storybook/test';-import { CardPicker } from '@ui/input/CardPicker/CardPicker';-import { Field } from '@ui/input/Field/Field';-import { RadioGroup } from '@ui/input/RadioGroup/RadioGroup';-import { type RadioGroupProps } from '@ui/input/RadioGroup/types/RadioGroupProps';+import { CardPicker } from '@ui/primitives/input/CardPicker/CardPicker';+import { Field } from '@ui/primitives/input/Field/Field';+import { RadioGroup } from '@ui/primitives/input/RadioGroup/RadioGroup';+import { type RadioGroupProps } from '@ui/primitives/input/RadioGroup/types/RadioGroupProps';import { A11Y_DEFER_COLOR_CONTRAST, ComponentDecorator } from '@ui/testing';import { Radio } from '../Radio';diff --git a/packages/twenty-ui/src/input/Radio/__stories__/Radio.stories.tsx b/packages/twenty-ui/src/primitives/input/Radio/__stories__/Radio.stories.tsxsimilarity index 96%rename from packages/twenty-ui/src/input/Radio/__stories__/Radio.stories.tsxrename to packages/twenty-ui/src/primitives/input/Radio/__stories__/Radio.stories.tsxindex ba7b5009aab..5bfd413a2ed 100644--- a/packages/twenty-ui/src/input/Radio/__stories__/Radio.stories.tsx+++ b/packages/twenty-ui/src/primitives/input/Radio/__stories__/Radio.stories.tsx@@ -1,7 +1,7 @@import { type Meta, type StoryObj } from '@storybook/react-vite';import { expect, userEvent, within } from 'storybook/test';-import { RadioGroup } from '@ui/input/RadioGroup/RadioGroup';+import { RadioGroup } from '@ui/primitives/input/RadioGroup/RadioGroup';import {A11Y_DEFER_COLOR_CONTRAST,CatalogDecorator,diff --git a/packages/twenty-ui/src/input/Radio/__tests__/Radio.test.tsx b/packages/twenty-ui/src/primitives/input/Radio/__tests__/Radio.test.tsxsimilarity index 74%rename from packages/twenty-ui/src/input/Radio/__tests__/Radio.test.tsxrename to packages/twenty-ui/src/primitives/input/Radio/__tests__/Radio.test.tsxindex 9422ab604d2..bb3f4cbbb88 100644--- a/packages/twenty-ui/src/input/Radio/__tests__/Radio.test.tsx+++ b/packages/twenty-ui/src/primitives/input/Radio/__tests__/Radio.test.tsx@@ -1,10 +1,10 @@import { type ReactNode } from 'react';import { runComponentConformance } from '@test-utilities/conformance/runComponentConformance';-import { CardPicker } from '@ui/input/CardPicker/CardPicker';-import cardPickerStyles from '@ui/input/CardPicker/CardPicker.module.scss';-import { RadioGroup } from '@ui/input/RadioGroup/RadioGroup';-import groupStyles from '@ui/input/RadioGroup/RadioGroup.module.scss';+import { CardPicker } from '@ui/primitives/input/CardPicker/CardPicker';+import cardPickerStyles from '@ui/primitives/input/CardPicker/CardPicker.module.scss';+import { RadioGroup } from '@ui/primitives/input/RadioGroup/RadioGroup';+import groupStyles from '@ui/primitives/input/RadioGroup/RadioGroup.module.scss';import { Radio } from '../Radio';import styles from '../Radio.module.scss';diff --git a/packages/twenty-ui/src/input/Radio/types/RadioProps.ts b/packages/twenty-ui/src/primitives/input/Radio/types/RadioProps.tssimilarity index 100%rename from packages/twenty-ui/src/input/Radio/types/RadioProps.tsrename to packages/twenty-ui/src/primitives/input/Radio/types/RadioProps.tsdiff --git a/packages/twenty-ui/src/input/RadioGroup/RadioGroup.module.scss b/packages/twenty-ui/src/primitives/input/RadioGroup/RadioGroup.module.scsssimilarity index 100%rename from packages/twenty-ui/src/input/RadioGroup/RadioGroup.module.scssrename to packages/twenty-ui/src/primitives/input/RadioGroup/RadioGroup.module.scssdiff --git a/packages/twenty-ui/src/input/RadioGroup/RadioGroup.module.scss.d.ts b/packages/twenty-ui/src/primitives/input/RadioGroup/RadioGroup.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/input/RadioGroup/RadioGroup.module.scss.d.tsrename to packages/twenty-ui/src/primitives/input/RadioGroup/RadioGroup.module.scss.d.tsdiff --git a/packages/twenty-ui/src/input/RadioGroup/RadioGroup.tsx b/packages/twenty-ui/src/primitives/input/RadioGroup/RadioGroup.tsxsimilarity index 100%rename from packages/twenty-ui/src/input/RadioGroup/RadioGroup.tsxrename to packages/twenty-ui/src/primitives/input/RadioGroup/RadioGroup.tsxdiff --git a/packages/twenty-ui/src/input/RadioGroup/__stories__/RadioGroup.stories.tsx b/packages/twenty-ui/src/primitives/input/RadioGroup/__stories__/RadioGroup.stories.tsxsimilarity index 91%rename from packages/twenty-ui/src/input/RadioGroup/__stories__/RadioGroup.stories.tsxrename to packages/twenty-ui/src/primitives/input/RadioGroup/__stories__/RadioGroup.stories.tsxindex f97677f1694..b728278f359 100644--- a/packages/twenty-ui/src/input/RadioGroup/__stories__/RadioGroup.stories.tsx+++ b/packages/twenty-ui/src/primitives/input/RadioGroup/__stories__/RadioGroup.stories.tsx@@ -1,6 +1,6 @@import { type Meta, type StoryObj } from '@storybook/react-vite';-import { Radio } from '@ui/input/Radio/Radio';+import { Radio } from '@ui/primitives/input/Radio/Radio';import { ComponentDecorator } from '@ui/testing';import { RadioGroup } from '../RadioGroup';diff --git a/packages/twenty-ui/src/input/RadioGroup/types/RadioGroupProps.ts b/packages/twenty-ui/src/primitives/input/RadioGroup/types/RadioGroupProps.tssimilarity index 100%rename from packages/twenty-ui/src/input/RadioGroup/types/RadioGroupProps.tsrename to packages/twenty-ui/src/primitives/input/RadioGroup/types/RadioGroupProps.tsdiff --git a/packages/twenty-ui/src/input/RoundedIconButton/RoundedIconButton.module.scss b/packages/twenty-ui/src/primitives/input/RoundedIconButton/RoundedIconButton.module.scsssimilarity index 100%rename from packages/twenty-ui/src/input/RoundedIconButton/RoundedIconButton.module.scssrename to packages/twenty-ui/src/primitives/input/RoundedIconButton/RoundedIconButton.module.scssdiff --git a/packages/twenty-ui/src/input/RoundedIconButton/RoundedIconButton.module.scss.d.ts b/packages/twenty-ui/src/primitives/input/RoundedIconButton/RoundedIconButton.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/input/RoundedIconButton/RoundedIconButton.module.scss.d.tsrename to packages/twenty-ui/src/primitives/input/RoundedIconButton/RoundedIconButton.module.scss.d.tsdiff --git a/packages/twenty-ui/src/input/RoundedIconButton/RoundedIconButton.tsx b/packages/twenty-ui/src/primitives/input/RoundedIconButton/RoundedIconButton.tsxsimilarity index 100%rename from packages/twenty-ui/src/input/RoundedIconButton/RoundedIconButton.tsxrename to packages/twenty-ui/src/primitives/input/RoundedIconButton/RoundedIconButton.tsxdiff --git a/packages/twenty-ui/src/input/RoundedIconButton/__stories__/RoundedIconButton.stories.tsx b/packages/twenty-ui/src/primitives/input/RoundedIconButton/__stories__/RoundedIconButton.stories.tsxsimilarity index 90%rename from packages/twenty-ui/src/input/RoundedIconButton/__stories__/RoundedIconButton.stories.tsxrename to packages/twenty-ui/src/primitives/input/RoundedIconButton/__stories__/RoundedIconButton.stories.tsxindex aee7d96fbd5..53c60221638 100644--- a/packages/twenty-ui/src/input/RoundedIconButton/__stories__/RoundedIconButton.stories.tsx+++ b/packages/twenty-ui/src/primitives/input/RoundedIconButton/__stories__/RoundedIconButton.stories.tsx@@ -2,7 +2,7 @@ import { type Meta, type StoryObj } from '@storybook/react-vite';import { IconArrowRight } from '@ui/icon';import { ComponentDecorator } from '@ui/testing';import { expect, fn, userEvent, within } from 'storybook/test';-import { RoundedIconButton } from '@ui/input/RoundedIconButton/RoundedIconButton';+import { RoundedIconButton } from '@ui/primitives/input/RoundedIconButton/RoundedIconButton';const clickJestFn = fn();diff --git a/packages/twenty-ui/src/input/SearchInput/SearchInput.module.scss b/packages/twenty-ui/src/primitives/input/SearchInput/SearchInput.module.scsssimilarity index 100%rename from packages/twenty-ui/src/input/SearchInput/SearchInput.module.scssrename to packages/twenty-ui/src/primitives/input/SearchInput/SearchInput.module.scssdiff --git a/packages/twenty-ui/src/input/SearchInput/SearchInput.module.scss.d.ts b/packages/twenty-ui/src/primitives/input/SearchInput/SearchInput.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/input/SearchInput/SearchInput.module.scss.d.tsrename to packages/twenty-ui/src/primitives/input/SearchInput/SearchInput.module.scss.d.tsdiff --git a/packages/twenty-ui/src/input/SearchInput/SearchInput.tsx b/packages/twenty-ui/src/primitives/input/SearchInput/SearchInput.tsxsimilarity index 96%rename from packages/twenty-ui/src/input/SearchInput/SearchInput.tsxrename to packages/twenty-ui/src/primitives/input/SearchInput/SearchInput.tsxindex e19cd416938..e5ed11ca086 100644--- a/packages/twenty-ui/src/input/SearchInput/SearchInput.tsx+++ b/packages/twenty-ui/src/primitives/input/SearchInput/SearchInput.tsx@@ -3,7 +3,7 @@ import { clsx } from 'clsx';import { type ReactNode, useId, useState } from 'react';import { IconFilter, IconSearch } from '@ui/icon';-import { IconButton } from '@ui/input/IconButton/IconButton';+import { IconButton } from '@ui/primitives/input/IconButton/IconButton';import { useTheme } from '@ui/theme-constants';import styles from './SearchInput.module.scss';diff --git a/packages/twenty-ui/src/input/SearchInput/__stories__/SearchInput.stories.tsx b/packages/twenty-ui/src/primitives/input/SearchInput/__stories__/SearchInput.stories.tsxsimilarity index 93%rename from packages/twenty-ui/src/input/SearchInput/__stories__/SearchInput.stories.tsxrename to packages/twenty-ui/src/primitives/input/SearchInput/__stories__/SearchInput.stories.tsxindex b6593b3a8c4..bc49f3a4ded 100644--- a/packages/twenty-ui/src/input/SearchInput/__stories__/SearchInput.stories.tsx+++ b/packages/twenty-ui/src/primitives/input/SearchInput/__stories__/SearchInput.stories.tsx@@ -2,7 +2,7 @@ import { type Meta, type StoryObj } from '@storybook/react-vite';import { ComponentDecorator } from '@ui/testing';import { useState } from 'react';-import { SearchInput } from '@ui/input/SearchInput/SearchInput';+import { SearchInput } from '@ui/primitives/input/SearchInput/SearchInput';type InteractiveSearchInputProps = {placeholder?: string;diff --git a/packages/twenty-ui/src/input/SegmentedControl/SegmentedControl.module.scss b/packages/twenty-ui/src/primitives/input/SegmentedControl/SegmentedControl.module.scsssimilarity index 100%rename from packages/twenty-ui/src/input/SegmentedControl/SegmentedControl.module.scssrename to packages/twenty-ui/src/primitives/input/SegmentedControl/SegmentedControl.module.scssdiff --git a/packages/twenty-ui/src/input/SegmentedControl/SegmentedControl.module.scss.d.ts b/packages/twenty-ui/src/primitives/input/SegmentedControl/SegmentedControl.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/input/SegmentedControl/SegmentedControl.module.scss.d.tsrename to packages/twenty-ui/src/primitives/input/SegmentedControl/SegmentedControl.module.scss.d.tsdiff --git a/packages/twenty-ui/src/input/SegmentedControl/SegmentedControl.tsx b/packages/twenty-ui/src/primitives/input/SegmentedControl/SegmentedControl.tsxsimilarity index 100%rename from packages/twenty-ui/src/input/SegmentedControl/SegmentedControl.tsxrename to packages/twenty-ui/src/primitives/input/SegmentedControl/SegmentedControl.tsxdiff --git a/packages/twenty-ui/src/input/SegmentedControl/__stories__/SegmentedControl.stories.tsx b/packages/twenty-ui/src/primitives/input/SegmentedControl/__stories__/SegmentedControl.stories.tsxsimilarity index 96%rename from packages/twenty-ui/src/input/SegmentedControl/__stories__/SegmentedControl.stories.tsxrename to packages/twenty-ui/src/primitives/input/SegmentedControl/__stories__/SegmentedControl.stories.tsxindex 6e9bb2606dc..8356d0a7b43 100644--- a/packages/twenty-ui/src/input/SegmentedControl/__stories__/SegmentedControl.stories.tsx+++ b/packages/twenty-ui/src/primitives/input/SegmentedControl/__stories__/SegmentedControl.stories.tsx@@ -6,7 +6,7 @@ import { useState } from 'react';import {SegmentedControl,type SegmentedControlOption,-} from '@ui/input/SegmentedControl/SegmentedControl';+} from '@ui/primitives/input/SegmentedControl/SegmentedControl';type InteractiveSegmentedControlProps = {initialValue: string;diff --git a/packages/twenty-ui/src/input/Select/Select.module.scss b/packages/twenty-ui/src/primitives/input/Select/Select.module.scsssimilarity index 100%rename from packages/twenty-ui/src/input/Select/Select.module.scssrename to packages/twenty-ui/src/primitives/input/Select/Select.module.scssdiff --git a/packages/twenty-ui/src/input/Select/Select.module.scss.d.ts b/packages/twenty-ui/src/primitives/input/Select/Select.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/input/Select/Select.module.scss.d.tsrename to packages/twenty-ui/src/primitives/input/Select/Select.module.scss.d.tsdiff --git a/packages/twenty-ui/src/input/Select/Select.tsx b/packages/twenty-ui/src/primitives/input/Select/Select.tsxsimilarity index 100%rename from packages/twenty-ui/src/input/Select/Select.tsxrename to packages/twenty-ui/src/primitives/input/Select/Select.tsxdiff --git a/packages/twenty-ui/src/input/Select/__stories__/Select.interactions.stories.tsx b/packages/twenty-ui/src/primitives/input/Select/__stories__/Select.interactions.stories.tsxsimilarity index 99%rename from packages/twenty-ui/src/input/Select/__stories__/Select.interactions.stories.tsxrename to packages/twenty-ui/src/primitives/input/Select/__stories__/Select.interactions.stories.tsxindex 93c0c49aa65..e2096110d1a 100644--- a/packages/twenty-ui/src/input/Select/__stories__/Select.interactions.stories.tsx+++ b/packages/twenty-ui/src/primitives/input/Select/__stories__/Select.interactions.stories.tsx@@ -3,7 +3,7 @@ import { useState } from 'react';import { expect, fn, userEvent, waitFor, within } from 'storybook/test';import { IconCheck } from '@ui/icon';-import { Field } from '@ui/input/Field/Field';+import { Field } from '@ui/primitives/input/Field/Field';import { A11Y_DEFER_COLOR_CONTRAST, ComponentDecorator } from '@ui/testing';import { Select } from '../Select';diff --git a/packages/twenty-ui/src/input/Select/__stories__/Select.portals.stories.tsx b/packages/twenty-ui/src/primitives/input/Select/__stories__/Select.portals.stories.tsxsimilarity index 100%rename from packages/twenty-ui/src/input/Select/__stories__/Select.portals.stories.tsxrename to packages/twenty-ui/src/primitives/input/Select/__stories__/Select.portals.stories.tsxdiff --git a/packages/twenty-ui/src/input/Select/__stories__/Select.stories.tsx b/packages/twenty-ui/src/primitives/input/Select/__stories__/Select.stories.tsxsimilarity index 100%rename from packages/twenty-ui/src/input/Select/__stories__/Select.stories.tsxrename to packages/twenty-ui/src/primitives/input/Select/__stories__/Select.stories.tsxdiff --git a/packages/twenty-ui/src/input/Select/__stories__/SelectExample.tsx b/packages/twenty-ui/src/primitives/input/Select/__stories__/SelectExample.tsxsimilarity index 100%rename from packages/twenty-ui/src/input/Select/__stories__/SelectExample.tsxrename to packages/twenty-ui/src/primitives/input/Select/__stories__/SelectExample.tsxdiff --git a/packages/twenty-ui/src/input/Select/__stories__/waitForSelectPopup.ts b/packages/twenty-ui/src/primitives/input/Select/__stories__/waitForSelectPopup.tssimilarity index 100%rename from packages/twenty-ui/src/input/Select/__stories__/waitForSelectPopup.tsrename to packages/twenty-ui/src/primitives/input/Select/__stories__/waitForSelectPopup.tsdiff --git a/packages/twenty-ui/src/input/Select/__tests__/Select.test.tsx b/packages/twenty-ui/src/primitives/input/Select/__tests__/Select.test.tsxsimilarity index 100%rename from packages/twenty-ui/src/input/Select/__tests__/Select.test.tsxrename to packages/twenty-ui/src/primitives/input/Select/__tests__/Select.test.tsxdiff --git a/packages/twenty-ui/src/input/Select/internal/SelectGroupLabel.tsx b/packages/twenty-ui/src/primitives/input/Select/internal/SelectGroupLabel.tsxsimilarity index 100%rename from packages/twenty-ui/src/input/Select/internal/SelectGroupLabel.tsxrename to packages/twenty-ui/src/primitives/input/Select/internal/SelectGroupLabel.tsxdiff --git a/packages/twenty-ui/src/input/Select/internal/SelectItem.tsx b/packages/twenty-ui/src/primitives/input/Select/internal/SelectItem.tsxsimilarity index 90%rename from packages/twenty-ui/src/input/Select/internal/SelectItem.tsxrename to packages/twenty-ui/src/primitives/input/Select/internal/SelectItem.tsxindex f1fbee9d350..64f6d4b0529 100644--- a/packages/twenty-ui/src/input/Select/internal/SelectItem.tsx+++ b/packages/twenty-ui/src/primitives/input/Select/internal/SelectItem.tsx@@ -2,8 +2,8 @@ import { Select as SelectPrimitive } from '@base-ui/react/select';import { clsx } from 'clsx';import { IconCheck } from '@ui/icon';-import { isRenderableSlot } from '@ui/navigation/ListItem/internal/isRenderableSlot';-import listItemStyles from '@ui/navigation/ListItem/ListItem.module.scss';+import { isRenderableSlot } from '@ui/primitives/navigation/ListItem/internal/isRenderableSlot';+import listItemStyles from '@ui/primitives/navigation/ListItem/ListItem.module.scss';import { mergeClassNames } from '@ui/utilities/internal/mergeClassNames';import styles from '../Select.module.scss';diff --git a/packages/twenty-ui/src/input/Select/internal/SelectPopup.tsx b/packages/twenty-ui/src/primitives/input/Select/internal/SelectPopup.tsxsimilarity index 100%rename from packages/twenty-ui/src/input/Select/internal/SelectPopup.tsxrename to packages/twenty-ui/src/primitives/input/Select/internal/SelectPopup.tsxdiff --git a/packages/twenty-ui/src/input/Select/internal/SelectSeparator.tsx b/packages/twenty-ui/src/primitives/input/Select/internal/SelectSeparator.tsxsimilarity index 100%rename from packages/twenty-ui/src/input/Select/internal/SelectSeparator.tsxrename to packages/twenty-ui/src/primitives/input/Select/internal/SelectSeparator.tsxdiff --git a/packages/twenty-ui/src/input/Select/internal/SelectTrigger.tsx b/packages/twenty-ui/src/primitives/input/Select/internal/SelectTrigger.tsxsimilarity index 91%rename from packages/twenty-ui/src/input/Select/internal/SelectTrigger.tsxrename to packages/twenty-ui/src/primitives/input/Select/internal/SelectTrigger.tsxindex 825d61e8bd9..66d1877a5a7 100644--- a/packages/twenty-ui/src/input/Select/internal/SelectTrigger.tsx+++ b/packages/twenty-ui/src/primitives/input/Select/internal/SelectTrigger.tsx@@ -2,7 +2,7 @@ import { Select as SelectPrimitive } from '@base-ui/react/select';import { clsx } from 'clsx';import { IconChevronDown } from '@ui/icon';-import inputStyles from '@ui/input/Input/Input.module.scss';+import inputStyles from '@ui/primitives/input/Input/Input.module.scss';import { mergeClassNames } from '@ui/utilities/internal/mergeClassNames';import styles from '../Select.module.scss';diff --git a/packages/twenty-ui/src/input/Select/internal/SelectValue.tsx b/packages/twenty-ui/src/primitives/input/Select/internal/SelectValue.tsxsimilarity index 100%rename from packages/twenty-ui/src/input/Select/internal/SelectValue.tsxrename to packages/twenty-ui/src/primitives/input/Select/internal/SelectValue.tsxdiff --git a/packages/twenty-ui/src/input/Select/types/SelectGroupLabelProps.ts b/packages/twenty-ui/src/primitives/input/Select/types/SelectGroupLabelProps.tssimilarity index 100%rename from packages/twenty-ui/src/input/Select/types/SelectGroupLabelProps.tsrename to packages/twenty-ui/src/primitives/input/Select/types/SelectGroupLabelProps.tsdiff --git a/packages/twenty-ui/src/input/Select/types/SelectGroupProps.ts b/packages/twenty-ui/src/primitives/input/Select/types/SelectGroupProps.tssimilarity index 100%rename from packages/twenty-ui/src/input/Select/types/SelectGroupProps.tsrename to packages/twenty-ui/src/primitives/input/Select/types/SelectGroupProps.tsdiff --git a/packages/twenty-ui/src/input/Select/types/SelectItemProps.ts b/packages/twenty-ui/src/primitives/input/Select/types/SelectItemProps.tssimilarity index 71%rename from packages/twenty-ui/src/input/Select/types/SelectItemProps.tsrename to packages/twenty-ui/src/primitives/input/Select/types/SelectItemProps.tsindex 1eaf7243e47..b15889e846b 100644--- a/packages/twenty-ui/src/input/Select/types/SelectItemProps.ts+++ b/packages/twenty-ui/src/primitives/input/Select/types/SelectItemProps.ts@@ -1,6 +1,6 @@import { type Select as SelectPrimitive } from '@base-ui/react/select';-import { type ListItemProps } from '@ui/navigation/ListItem/types/ListItemProps';+import { type ListItemProps } from '@ui/primitives/navigation/ListItem/types/ListItemProps';export type SelectItemProps = SelectPrimitive.Item.Props &Pick<diff --git a/packages/twenty-ui/src/input/Select/types/SelectPopupProps.ts b/packages/twenty-ui/src/primitives/input/Select/types/SelectPopupProps.tssimilarity index 100%rename from packages/twenty-ui/src/input/Select/types/SelectPopupProps.tsrename to packages/twenty-ui/src/primitives/input/Select/types/SelectPopupProps.tsdiff --git a/packages/twenty-ui/src/input/Select/types/SelectRootProps.ts b/packages/twenty-ui/src/primitives/input/Select/types/SelectRootProps.tssimilarity index 100%rename from packages/twenty-ui/src/input/Select/types/SelectRootProps.tsrename to packages/twenty-ui/src/primitives/input/Select/types/SelectRootProps.tsdiff --git a/packages/twenty-ui/src/input/Select/types/SelectSeparatorProps.ts b/packages/twenty-ui/src/primitives/input/Select/types/SelectSeparatorProps.tssimilarity index 100%rename from packages/twenty-ui/src/input/Select/types/SelectSeparatorProps.tsrename to packages/twenty-ui/src/primitives/input/Select/types/SelectSeparatorProps.tsdiff --git a/packages/twenty-ui/src/input/Select/types/SelectTriggerProps.ts b/packages/twenty-ui/src/primitives/input/Select/types/SelectTriggerProps.tssimilarity index 73%rename from packages/twenty-ui/src/input/Select/types/SelectTriggerProps.tsrename to packages/twenty-ui/src/primitives/input/Select/types/SelectTriggerProps.tsindex 5c69e3434ff..5c28afebd5b 100644--- a/packages/twenty-ui/src/input/Select/types/SelectTriggerProps.ts+++ b/packages/twenty-ui/src/primitives/input/Select/types/SelectTriggerProps.ts@@ -1,6 +1,6 @@import { type Select as SelectPrimitive } from '@base-ui/react/select';-import { type InputSize } from '@ui/input/types/InputSize';+import { type InputSize } from '@ui/primitives/input/types/InputSize';export type SelectTriggerProps = SelectPrimitive.Trigger.Props & {/** Visual size of the trigger. */diff --git a/packages/twenty-ui/src/input/Select/types/SelectValueProps.ts b/packages/twenty-ui/src/primitives/input/Select/types/SelectValueProps.tssimilarity index 100%rename from packages/twenty-ui/src/input/Select/types/SelectValueProps.tsrename to packages/twenty-ui/src/primitives/input/Select/types/SelectValueProps.tsdiff --git a/packages/twenty-ui/src/input/Slider/Slider.module.scss b/packages/twenty-ui/src/primitives/input/Slider/Slider.module.scsssimilarity index 100%rename from packages/twenty-ui/src/input/Slider/Slider.module.scssrename to packages/twenty-ui/src/primitives/input/Slider/Slider.module.scssdiff --git a/packages/twenty-ui/src/input/Slider/Slider.module.scss.d.ts b/packages/twenty-ui/src/primitives/input/Slider/Slider.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/input/Slider/Slider.module.scss.d.tsrename to packages/twenty-ui/src/primitives/input/Slider/Slider.module.scss.d.tsdiff --git a/packages/twenty-ui/src/input/Slider/Slider.tsx b/packages/twenty-ui/src/primitives/input/Slider/Slider.tsxsimilarity index 100%rename from packages/twenty-ui/src/input/Slider/Slider.tsxrename to packages/twenty-ui/src/primitives/input/Slider/Slider.tsxdiff --git a/packages/twenty-ui/src/input/Slider/__stories__/Slider.stories.tsx b/packages/twenty-ui/src/primitives/input/Slider/__stories__/Slider.stories.tsxsimilarity index 100%rename from packages/twenty-ui/src/input/Slider/__stories__/Slider.stories.tsxrename to packages/twenty-ui/src/primitives/input/Slider/__stories__/Slider.stories.tsxdiff --git a/packages/twenty-ui/src/input/Slider/__stories__/SliderInteractions.stories.tsx b/packages/twenty-ui/src/primitives/input/Slider/__stories__/SliderInteractions.stories.tsxsimilarity index 99%rename from packages/twenty-ui/src/input/Slider/__stories__/SliderInteractions.stories.tsxrename to packages/twenty-ui/src/primitives/input/Slider/__stories__/SliderInteractions.stories.tsxindex bacbc5a0b31..f8da08ea647 100644--- a/packages/twenty-ui/src/input/Slider/__stories__/SliderInteractions.stories.tsx+++ b/packages/twenty-ui/src/primitives/input/Slider/__stories__/SliderInteractions.stories.tsx@@ -2,7 +2,7 @@ import { type Meta, type StoryObj } from '@storybook/react-vite';import { useState } from 'react';import { expect, fn, userEvent, within } from 'storybook/test';-import { Field } from '@ui/input/Field/Field';+import { Field } from '@ui/primitives/input/Field/Field';import { ComponentDecorator } from '@ui/testing';import { Slider } from '../Slider';diff --git a/packages/twenty-ui/src/input/Slider/__tests__/Slider.test.tsx b/packages/twenty-ui/src/primitives/input/Slider/__tests__/Slider.test.tsxsimilarity index 100%rename from packages/twenty-ui/src/input/Slider/__tests__/Slider.test.tsxrename to packages/twenty-ui/src/primitives/input/Slider/__tests__/Slider.test.tsxdiff --git a/packages/twenty-ui/src/input/Slider/internal/SliderControl.tsx b/packages/twenty-ui/src/primitives/input/Slider/internal/SliderControl.tsxsimilarity index 100%rename from packages/twenty-ui/src/input/Slider/internal/SliderControl.tsxrename to packages/twenty-ui/src/primitives/input/Slider/internal/SliderControl.tsxdiff --git a/packages/twenty-ui/src/input/Slider/internal/SliderIndicator.tsx b/packages/twenty-ui/src/primitives/input/Slider/internal/SliderIndicator.tsxsimilarity index 100%rename from packages/twenty-ui/src/input/Slider/internal/SliderIndicator.tsxrename to packages/twenty-ui/src/primitives/input/Slider/internal/SliderIndicator.tsxdiff --git a/packages/twenty-ui/src/input/Slider/internal/SliderLabel.tsx b/packages/twenty-ui/src/primitives/input/Slider/internal/SliderLabel.tsxsimilarity index 100%rename from packages/twenty-ui/src/input/Slider/internal/SliderLabel.tsxrename to packages/twenty-ui/src/primitives/input/Slider/internal/SliderLabel.tsxdiff --git a/packages/twenty-ui/src/input/Slider/internal/SliderRoot.tsx b/packages/twenty-ui/src/primitives/input/Slider/internal/SliderRoot.tsxsimilarity index 100%rename from packages/twenty-ui/src/input/Slider/internal/SliderRoot.tsxrename to packages/twenty-ui/src/primitives/input/Slider/internal/SliderRoot.tsxdiff --git a/packages/twenty-ui/src/input/Slider/internal/SliderThumb.tsx b/packages/twenty-ui/src/primitives/input/Slider/internal/SliderThumb.tsxsimilarity index 100%rename from packages/twenty-ui/src/input/Slider/internal/SliderThumb.tsxrename to packages/twenty-ui/src/primitives/input/Slider/internal/SliderThumb.tsxdiff --git a/packages/twenty-ui/src/input/Slider/internal/SliderTrack.tsx b/packages/twenty-ui/src/primitives/input/Slider/internal/SliderTrack.tsxsimilarity index 100%rename from packages/twenty-ui/src/input/Slider/internal/SliderTrack.tsxrename to packages/twenty-ui/src/primitives/input/Slider/internal/SliderTrack.tsxdiff --git a/packages/twenty-ui/src/input/Slider/internal/SliderValue.tsx b/packages/twenty-ui/src/primitives/input/Slider/internal/SliderValue.tsxsimilarity index 100%rename from packages/twenty-ui/src/input/Slider/internal/SliderValue.tsxrename to packages/twenty-ui/src/primitives/input/Slider/internal/SliderValue.tsxdiff --git a/packages/twenty-ui/src/input/Slider/types/SliderControlProps.ts b/packages/twenty-ui/src/primitives/input/Slider/types/SliderControlProps.tssimilarity index 100%rename from packages/twenty-ui/src/input/Slider/types/SliderControlProps.tsrename to packages/twenty-ui/src/primitives/input/Slider/types/SliderControlProps.tsdiff --git a/packages/twenty-ui/src/input/Slider/types/SliderIndicatorProps.ts b/packages/twenty-ui/src/primitives/input/Slider/types/SliderIndicatorProps.tssimilarity index 100%rename from packages/twenty-ui/src/input/Slider/types/SliderIndicatorProps.tsrename to packages/twenty-ui/src/primitives/input/Slider/types/SliderIndicatorProps.tsdiff --git a/packages/twenty-ui/src/input/Slider/types/SliderLabelProps.ts b/packages/twenty-ui/src/primitives/input/Slider/types/SliderLabelProps.tssimilarity index 100%rename from packages/twenty-ui/src/input/Slider/types/SliderLabelProps.tsrename to packages/twenty-ui/src/primitives/input/Slider/types/SliderLabelProps.tsdiff --git a/packages/twenty-ui/src/input/Slider/types/SliderRootProps.ts b/packages/twenty-ui/src/primitives/input/Slider/types/SliderRootProps.tssimilarity index 100%rename from packages/twenty-ui/src/input/Slider/types/SliderRootProps.tsrename to packages/twenty-ui/src/primitives/input/Slider/types/SliderRootProps.tsdiff --git a/packages/twenty-ui/src/input/Slider/types/SliderThumbProps.ts b/packages/twenty-ui/src/primitives/input/Slider/types/SliderThumbProps.tssimilarity index 100%rename from packages/twenty-ui/src/input/Slider/types/SliderThumbProps.tsrename to packages/twenty-ui/src/primitives/input/Slider/types/SliderThumbProps.tsdiff --git a/packages/twenty-ui/src/input/Slider/types/SliderTrackProps.ts b/packages/twenty-ui/src/primitives/input/Slider/types/SliderTrackProps.tssimilarity index 100%rename from packages/twenty-ui/src/input/Slider/types/SliderTrackProps.tsrename to packages/twenty-ui/src/primitives/input/Slider/types/SliderTrackProps.tsdiff --git a/packages/twenty-ui/src/input/Slider/types/SliderValueProps.ts b/packages/twenty-ui/src/primitives/input/Slider/types/SliderValueProps.tssimilarity index 100%rename from packages/twenty-ui/src/input/Slider/types/SliderValueProps.tsrename to packages/twenty-ui/src/primitives/input/Slider/types/SliderValueProps.tsdiff --git a/packages/twenty-ui/src/input/Switch/Switch.module.scss b/packages/twenty-ui/src/primitives/input/Switch/Switch.module.scsssimilarity index 100%rename from packages/twenty-ui/src/input/Switch/Switch.module.scssrename to packages/twenty-ui/src/primitives/input/Switch/Switch.module.scssdiff --git a/packages/twenty-ui/src/input/Switch/Switch.module.scss.d.ts b/packages/twenty-ui/src/primitives/input/Switch/Switch.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/input/Switch/Switch.module.scss.d.tsrename to packages/twenty-ui/src/primitives/input/Switch/Switch.module.scss.d.tsdiff --git a/packages/twenty-ui/src/input/Switch/Switch.tsx b/packages/twenty-ui/src/primitives/input/Switch/Switch.tsxsimilarity index 100%rename from packages/twenty-ui/src/input/Switch/Switch.tsxrename to packages/twenty-ui/src/primitives/input/Switch/Switch.tsxdiff --git a/packages/twenty-ui/src/input/Switch/__stories__/Switch.integrations.stories.tsx b/packages/twenty-ui/src/primitives/input/Switch/__stories__/Switch.integrations.stories.tsxsimilarity index 94%rename from packages/twenty-ui/src/input/Switch/__stories__/Switch.integrations.stories.tsxrename to packages/twenty-ui/src/primitives/input/Switch/__stories__/Switch.integrations.stories.tsxindex c7f016d6053..4a5edb58fc6 100644--- a/packages/twenty-ui/src/input/Switch/__stories__/Switch.integrations.stories.tsx+++ b/packages/twenty-ui/src/primitives/input/Switch/__stories__/Switch.integrations.stories.tsx@@ -2,7 +2,7 @@ import { type Meta, type StoryObj } from '@storybook/react-vite';import { useState } from 'react';import { expect, fn, userEvent, within } from 'storybook/test';-import { MenuItemSwitch } from '@ui/navigation/MenuItemSwitch/MenuItemSwitch';+import { MenuItemSwitch } from '@ui/primitives/navigation/MenuItemSwitch/MenuItemSwitch';import { A11Y_DEFER_COLOR_CONTRAST, ComponentDecorator } from '@ui/testing';const meta: Meta<typeof MenuItemSwitch> = {diff --git a/packages/twenty-ui/src/input/Switch/__stories__/Switch.interactions.stories.tsx b/packages/twenty-ui/src/primitives/input/Switch/__stories__/Switch.interactions.stories.tsxsimilarity index 99%rename from packages/twenty-ui/src/input/Switch/__stories__/Switch.interactions.stories.tsxrename to packages/twenty-ui/src/primitives/input/Switch/__stories__/Switch.interactions.stories.tsxindex 3e5873a5b17..7fb08bae1ec 100644--- a/packages/twenty-ui/src/input/Switch/__stories__/Switch.interactions.stories.tsx+++ b/packages/twenty-ui/src/primitives/input/Switch/__stories__/Switch.interactions.stories.tsx@@ -2,7 +2,7 @@ import { type Meta, type StoryObj } from '@storybook/react-vite';import { useState } from 'react';import { expect, fn, userEvent, waitFor, within } from 'storybook/test';-import { Field } from '@ui/input/Field/Field';+import { Field } from '@ui/primitives/input/Field/Field';import { A11Y_DEFER_COLOR_CONTRAST, ComponentDecorator } from '@ui/testing';import { Switch } from '../Switch';diff --git a/packages/twenty-ui/src/input/Switch/__stories__/Switch.stories.tsx b/packages/twenty-ui/src/primitives/input/Switch/__stories__/Switch.stories.tsxsimilarity index 100%rename from packages/twenty-ui/src/input/Switch/__stories__/Switch.stories.tsxrename to packages/twenty-ui/src/primitives/input/Switch/__stories__/Switch.stories.tsxdiff --git a/packages/twenty-ui/src/input/Switch/__tests__/Switch.test.tsx b/packages/twenty-ui/src/primitives/input/Switch/__tests__/Switch.test.tsxsimilarity index 100%rename from packages/twenty-ui/src/input/Switch/__tests__/Switch.test.tsxrename to packages/twenty-ui/src/primitives/input/Switch/__tests__/Switch.test.tsxdiff --git a/packages/twenty-ui/src/input/Switch/types/SwitchProps.ts b/packages/twenty-ui/src/primitives/input/Switch/types/SwitchProps.tssimilarity index 100%rename from packages/twenty-ui/src/input/Switch/types/SwitchProps.tsrename to packages/twenty-ui/src/primitives/input/Switch/types/SwitchProps.tsdiff --git a/packages/twenty-ui/src/input/Switch/types/SwitchSize.ts b/packages/twenty-ui/src/primitives/input/Switch/types/SwitchSize.tssimilarity index 100%rename from packages/twenty-ui/src/input/Switch/types/SwitchSize.tsrename to packages/twenty-ui/src/primitives/input/Switch/types/SwitchSize.tsdiff --git a/packages/twenty-ui/src/input/TabButton/TabButton.module.scss b/packages/twenty-ui/src/primitives/input/TabButton/TabButton.module.scsssimilarity index 100%rename from packages/twenty-ui/src/input/TabButton/TabButton.module.scssrename to packages/twenty-ui/src/primitives/input/TabButton/TabButton.module.scssdiff --git a/packages/twenty-ui/src/input/TabButton/TabButton.module.scss.d.ts b/packages/twenty-ui/src/primitives/input/TabButton/TabButton.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/input/TabButton/TabButton.module.scss.d.tsrename to packages/twenty-ui/src/primitives/input/TabButton/TabButton.module.scss.d.tsdiff --git a/packages/twenty-ui/src/input/TabButton/TabButton.tsx b/packages/twenty-ui/src/primitives/input/TabButton/TabButton.tsxsimilarity index 91%rename from packages/twenty-ui/src/input/TabButton/TabButton.tsxrename to packages/twenty-ui/src/primitives/input/TabButton/TabButton.tsxindex 484a8a1cd97..f8655ab3246 100644--- a/packages/twenty-ui/src/input/TabButton/TabButton.tsx+++ b/packages/twenty-ui/src/primitives/input/TabButton/TabButton.tsx@@ -1,13 +1,13 @@import { type IconComponent } from '@ui/icon';-import { AppTooltip, TooltipDelay } from '@ui/surfaces';+import { AppTooltip, TooltipDelay } from '@ui/primitives/surfaces';import {StyledTabButton,StyledTabContainer,-} from '@ui/input/TabButton/parts/StyledTabBase';+} from '@ui/primitives/input/TabButton/parts/StyledTabBase';import {TabContent,type TabContentProps,-} from '@ui/input/TabButton/parts/TabContent';+} from '@ui/primitives/input/TabButton/parts/TabContent';import { type ReactElement } from 'react';import { type To } from 'react-router-dom';diff --git a/packages/twenty-ui/src/input/TabButton/__stories__/TabButton.stories.module.scss b/packages/twenty-ui/src/primitives/input/TabButton/__stories__/TabButton.stories.module.scsssimilarity index 100%rename from packages/twenty-ui/src/input/TabButton/__stories__/TabButton.stories.module.scssrename to packages/twenty-ui/src/primitives/input/TabButton/__stories__/TabButton.stories.module.scssdiff --git a/packages/twenty-ui/src/input/TabButton/__stories__/TabButton.stories.module.scss.d.ts b/packages/twenty-ui/src/primitives/input/TabButton/__stories__/TabButton.stories.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/input/TabButton/__stories__/TabButton.stories.module.scss.d.tsrename to packages/twenty-ui/src/primitives/input/TabButton/__stories__/TabButton.stories.module.scss.d.tsdiff --git a/packages/twenty-ui/src/input/TabButton/__stories__/TabButton.stories.tsx b/packages/twenty-ui/src/primitives/input/TabButton/__stories__/TabButton.stories.tsxsimilarity index 98%rename from packages/twenty-ui/src/input/TabButton/__stories__/TabButton.stories.tsxrename to packages/twenty-ui/src/primitives/input/TabButton/__stories__/TabButton.stories.tsxindex ab302331b4d..1db62ed4b49 100644--- a/packages/twenty-ui/src/input/TabButton/__stories__/TabButton.stories.tsx+++ b/packages/twenty-ui/src/primitives/input/TabButton/__stories__/TabButton.stories.tsx@@ -7,7 +7,7 @@ import {IconSettings,IconUser,} from '@ui/icon';-import { TabButton } from '@ui/input/TabButton/TabButton';+import { TabButton } from '@ui/primitives/input/TabButton/TabButton';import {A11Y_DEFER_COLOR_CONTRAST,AVATAR_URL_MOCK,diff --git a/packages/twenty-ui/src/input/TabButton/parts/StyledTabBase.module.scss b/packages/twenty-ui/src/primitives/input/TabButton/parts/StyledTabBase.module.scsssimilarity index 100%rename from packages/twenty-ui/src/input/TabButton/parts/StyledTabBase.module.scssrename to packages/twenty-ui/src/primitives/input/TabButton/parts/StyledTabBase.module.scssdiff --git a/packages/twenty-ui/src/input/TabButton/parts/StyledTabBase.module.scss.d.ts b/packages/twenty-ui/src/primitives/input/TabButton/parts/StyledTabBase.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/input/TabButton/parts/StyledTabBase.module.scss.d.tsrename to packages/twenty-ui/src/primitives/input/TabButton/parts/StyledTabBase.module.scss.d.tsdiff --git a/packages/twenty-ui/src/input/TabButton/parts/StyledTabBase.tsx b/packages/twenty-ui/src/primitives/input/TabButton/parts/StyledTabBase.tsxsimilarity index 100%rename from packages/twenty-ui/src/input/TabButton/parts/StyledTabBase.tsxrename to packages/twenty-ui/src/primitives/input/TabButton/parts/StyledTabBase.tsxdiff --git a/packages/twenty-ui/src/input/TabButton/parts/TabContent.tsx b/packages/twenty-ui/src/primitives/input/TabButton/parts/TabContent.tsxsimilarity index 85%rename from packages/twenty-ui/src/input/TabButton/parts/TabContent.tsxrename to packages/twenty-ui/src/primitives/input/TabButton/parts/TabContent.tsxindex 96e80480703..10774c8e701 100644--- a/packages/twenty-ui/src/input/TabButton/parts/TabContent.tsx+++ b/packages/twenty-ui/src/primitives/input/TabButton/parts/TabContent.tsx@@ -1,9 +1,9 @@-import { Pill } from '@ui/data-display/Pill/Pill';-import { Avatar } from '@ui/data-display';+import { Pill } from '@ui/primitives/data-display/Pill/Pill';+import { Avatar } from '@ui/primitives/data-display/Avatar/Avatar';import { type IconComponent } from '@ui/icon';import { useTheme } from '@ui/theme-constants';import { type ReactElement } from 'react';-import { StyledTabHover } from '@ui/input/TabButton/parts/StyledTabBase';+import { StyledTabHover } from '@ui/primitives/input/TabButton/parts/StyledTabBase';export type TabContentProps = {id: string;diff --git a/packages/twenty-ui/src/input/Textarea/Textarea.module.scss b/packages/twenty-ui/src/primitives/input/Textarea/Textarea.module.scsssimilarity index 100%rename from packages/twenty-ui/src/input/Textarea/Textarea.module.scssrename to packages/twenty-ui/src/primitives/input/Textarea/Textarea.module.scssdiff --git a/packages/twenty-ui/src/input/Textarea/Textarea.module.scss.d.ts b/packages/twenty-ui/src/primitives/input/Textarea/Textarea.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/input/Textarea/Textarea.module.scss.d.tsrename to packages/twenty-ui/src/primitives/input/Textarea/Textarea.module.scss.d.tsdiff --git a/packages/twenty-ui/src/input/Textarea/Textarea.tsx b/packages/twenty-ui/src/primitives/input/Textarea/Textarea.tsxsimilarity index 100%rename from packages/twenty-ui/src/input/Textarea/Textarea.tsxrename to packages/twenty-ui/src/primitives/input/Textarea/Textarea.tsxdiff --git a/packages/twenty-ui/src/input/Textarea/__stories__/Textarea.stories.tsx b/packages/twenty-ui/src/primitives/input/Textarea/__stories__/Textarea.stories.tsxsimilarity index 95%rename from packages/twenty-ui/src/input/Textarea/__stories__/Textarea.stories.tsxrename to packages/twenty-ui/src/primitives/input/Textarea/__stories__/Textarea.stories.tsxindex ecc14e34f21..94e423d55fe 100644--- a/packages/twenty-ui/src/input/Textarea/__stories__/Textarea.stories.tsx+++ b/packages/twenty-ui/src/primitives/input/Textarea/__stories__/Textarea.stories.tsx@@ -8,8 +8,8 @@ import {ComponentDecorator,} from '@ui/testing';-import { Textarea } from '@ui/input/Textarea/Textarea';-import { type InputSize } from '@ui/input/types/InputSize';+import { Textarea } from '@ui/primitives/input/Textarea/Textarea';+import { type InputSize } from '@ui/primitives/input/types/InputSize';const meta: Meta<typeof Textarea> = {title: 'UI/Input/Textarea',diff --git a/packages/twenty-ui/src/input/Textarea/__stories__/TextareaAutoResize.stories.tsx b/packages/twenty-ui/src/primitives/input/Textarea/__stories__/TextareaAutoResize.stories.tsxsimilarity index 100%rename from packages/twenty-ui/src/input/Textarea/__stories__/TextareaAutoResize.stories.tsxrename to packages/twenty-ui/src/primitives/input/Textarea/__stories__/TextareaAutoResize.stories.tsxdiff --git a/packages/twenty-ui/src/input/Textarea/__stories__/TextareaInteractions.stories.tsx b/packages/twenty-ui/src/primitives/input/Textarea/__stories__/TextareaInteractions.stories.tsxsimilarity index 98%rename from packages/twenty-ui/src/input/Textarea/__stories__/TextareaInteractions.stories.tsxrename to packages/twenty-ui/src/primitives/input/Textarea/__stories__/TextareaInteractions.stories.tsxindex f91506916e4..3ae1fb0ab7d 100644--- a/packages/twenty-ui/src/input/Textarea/__stories__/TextareaInteractions.stories.tsx+++ b/packages/twenty-ui/src/primitives/input/Textarea/__stories__/TextareaInteractions.stories.tsx@@ -2,7 +2,7 @@ import { type Meta, type StoryObj } from '@storybook/react-vite';import { useState } from 'react';import { expect, fn, userEvent, within } from 'storybook/test';-import { Field } from '@ui/input/Field/Field';+import { Field } from '@ui/primitives/input/Field/Field';import { A11Y_DEFER_COLOR_CONTRAST, ComponentDecorator } from '@ui/testing';import { Textarea } from '../Textarea';diff --git a/packages/twenty-ui/src/input/Textarea/__tests__/Textarea.test.tsx b/packages/twenty-ui/src/primitives/input/Textarea/__tests__/Textarea.test.tsxsimilarity index 100%rename from packages/twenty-ui/src/input/Textarea/__tests__/Textarea.test.tsxrename to packages/twenty-ui/src/primitives/input/Textarea/__tests__/Textarea.test.tsxdiff --git a/packages/twenty-ui/src/input/Textarea/__tests__/mergeRefs.test.ts b/packages/twenty-ui/src/primitives/input/Textarea/__tests__/mergeRefs.test.tssimilarity index 100%rename from packages/twenty-ui/src/input/Textarea/__tests__/mergeRefs.test.tsrename to packages/twenty-ui/src/primitives/input/Textarea/__tests__/mergeRefs.test.tsdiff --git a/packages/twenty-ui/src/input/Textarea/internal/formatInlineBlockSize.ts b/packages/twenty-ui/src/primitives/input/Textarea/internal/formatInlineBlockSize.tssimilarity index 100%rename from packages/twenty-ui/src/input/Textarea/internal/formatInlineBlockSize.tsrename to packages/twenty-ui/src/primitives/input/Textarea/internal/formatInlineBlockSize.tsdiff --git a/packages/twenty-ui/src/input/Textarea/internal/mergeRefs.ts b/packages/twenty-ui/src/primitives/input/Textarea/internal/mergeRefs.tssimilarity index 100%rename from packages/twenty-ui/src/input/Textarea/internal/mergeRefs.tsrename to packages/twenty-ui/src/primitives/input/Textarea/internal/mergeRefs.tsdiff --git a/packages/twenty-ui/src/input/Textarea/internal/resizeTextareaToContent.ts b/packages/twenty-ui/src/primitives/input/Textarea/internal/resizeTextareaToContent.tssimilarity index 100%rename from packages/twenty-ui/src/input/Textarea/internal/resizeTextareaToContent.tsrename to packages/twenty-ui/src/primitives/input/Textarea/internal/resizeTextareaToContent.tsdiff --git a/packages/twenty-ui/src/input/Textarea/types/TextareaProps.ts b/packages/twenty-ui/src/primitives/input/Textarea/types/TextareaProps.tssimilarity index 92%rename from packages/twenty-ui/src/input/Textarea/types/TextareaProps.tsrename to packages/twenty-ui/src/primitives/input/Textarea/types/TextareaProps.tsindex 3b3d1d404dc..f7f4789af04 100644--- a/packages/twenty-ui/src/input/Textarea/types/TextareaProps.ts+++ b/packages/twenty-ui/src/primitives/input/Textarea/types/TextareaProps.ts@@ -1,7 +1,7 @@import { type Input as InputPrimitive } from '@base-ui/react/input';import { type useRender } from '@base-ui/react/use-render';-import { type InputSize } from '@ui/input/types/InputSize';+import { type InputSize } from '@ui/primitives/input/types/InputSize';export type TextareaProps = Omit<useRender.ComponentProps<'textarea'>,diff --git a/packages/twenty-ui/src/input/index.ts b/packages/twenty-ui/src/primitives/input/index.tssimilarity index 100%rename from packages/twenty-ui/src/input/index.tsrename to packages/twenty-ui/src/primitives/input/index.tsdiff --git a/packages/twenty-ui/src/input/types/ColorScheme.ts b/packages/twenty-ui/src/primitives/input/types/ColorScheme.tssimilarity index 100%rename from packages/twenty-ui/src/input/types/ColorScheme.tsrename to packages/twenty-ui/src/primitives/input/types/ColorScheme.tsdiff --git a/packages/twenty-ui/src/input/types/InputSize.ts b/packages/twenty-ui/src/primitives/input/types/InputSize.tssimilarity index 100%rename from packages/twenty-ui/src/input/types/InputSize.tsrename to packages/twenty-ui/src/primitives/input/types/InputSize.tsdiff --git a/packages/twenty-ui/src/input/types/SelectOption.ts b/packages/twenty-ui/src/primitives/input/types/SelectOption.tssimilarity index 100%rename from packages/twenty-ui/src/input/types/SelectOption.tsrename to packages/twenty-ui/src/primitives/input/types/SelectOption.tsdiff --git a/packages/twenty-ui/src/json-visualizer/__stories__/JsonTree.stories.tsx b/packages/twenty-ui/src/primitives/json-visualizer/__stories__/JsonTree.stories.tsxsimilarity index 98%rename from packages/twenty-ui/src/json-visualizer/__stories__/JsonTree.stories.tsxrename to packages/twenty-ui/src/primitives/json-visualizer/__stories__/JsonTree.stories.tsxindex 915b4109687..0c06cc4ef49 100644--- a/packages/twenty-ui/src/json-visualizer/__stories__/JsonTree.stories.tsx+++ b/packages/twenty-ui/src/primitives/json-visualizer/__stories__/JsonTree.stories.tsx@@ -1,6 +1,6 @@import { type Meta, type StoryObj } from '@storybook/react-vite';-import { JsonTree } from '@ui/json-visualizer/components/JsonTree';-import { isTwoFirstDepths } from '@ui/json-visualizer/utils/isTwoFirstDepths';+import { JsonTree } from '@ui/primitives/json-visualizer/components/JsonTree';+import { isTwoFirstDepths } from '@ui/primitives/json-visualizer/utils/isTwoFirstDepths';import { A11Y_DEFER_COLOR_CONTRAST } from '@ui/testing';import {expect,diff --git a/packages/twenty-ui/src/json-visualizer/components/JsonArrayNode.tsx b/packages/twenty-ui/src/primitives/json-visualizer/components/JsonArrayNode.tsxsimilarity index 71%rename from packages/twenty-ui/src/json-visualizer/components/JsonArrayNode.tsxrename to packages/twenty-ui/src/primitives/json-visualizer/components/JsonArrayNode.tsxindex 49f06e8e6df..afa29962347 100644--- a/packages/twenty-ui/src/json-visualizer/components/JsonArrayNode.tsx+++ b/packages/twenty-ui/src/primitives/json-visualizer/components/JsonArrayNode.tsx@@ -1,7 +1,7 @@import { IconBrackets } from '@ui/icon';-import { JsonNestedNode } from '@ui/json-visualizer/components/JsonNestedNode';-import { useJsonTreeContextOrThrow } from '@ui/json-visualizer/hooks/useJsonTreeContextOrThrow';-import { type JsonNodeHighlighting } from '@ui/json-visualizer/types/JsonNodeHighlighting';+import { JsonNestedNode } from '@ui/primitives/json-visualizer/components/JsonNestedNode';+import { useJsonTreeContextOrThrow } from '@ui/primitives/json-visualizer/hooks/useJsonTreeContextOrThrow';+import { type JsonNodeHighlighting } from '@ui/primitives/json-visualizer/types/JsonNodeHighlighting';import { type JsonArray } from 'type-fest';export const JsonArrayNode = ({diff --git a/packages/twenty-ui/src/json-visualizer/components/JsonNestedNode.module.scss b/packages/twenty-ui/src/primitives/json-visualizer/components/JsonNestedNode.module.scsssimilarity index 100%rename from packages/twenty-ui/src/json-visualizer/components/JsonNestedNode.module.scssrename to packages/twenty-ui/src/primitives/json-visualizer/components/JsonNestedNode.module.scssdiff --git a/packages/twenty-ui/src/json-visualizer/components/JsonNestedNode.module.scss.d.ts b/packages/twenty-ui/src/primitives/json-visualizer/components/JsonNestedNode.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/json-visualizer/components/JsonNestedNode.module.scss.d.tsrename to packages/twenty-ui/src/primitives/json-visualizer/components/JsonNestedNode.module.scss.d.tsdiff --git a/packages/twenty-ui/src/json-visualizer/components/JsonNestedNode.tsx b/packages/twenty-ui/src/primitives/json-visualizer/components/JsonNestedNode.tsxsimilarity index 83%rename from packages/twenty-ui/src/json-visualizer/components/JsonNestedNode.tsxrename to packages/twenty-ui/src/primitives/json-visualizer/components/JsonNestedNode.tsxindex a948f203906..6fc58b9710b 100644--- a/packages/twenty-ui/src/json-visualizer/components/JsonNestedNode.tsx+++ b/packages/twenty-ui/src/primitives/json-visualizer/components/JsonNestedNode.tsx@@ -6,12 +6,12 @@ import { isDefined } from '@ui/utilities/utils/isDefined';import { type JsonValue } from 'type-fest';import { type IconComponent } from '@ui/icon';-import { JsonArrow } from '@ui/json-visualizer/components/internal/JsonArrow';-import { JsonNodeLabel } from '@ui/json-visualizer/components/internal/JsonNodeLabel';-import { JsonNode } from '@ui/json-visualizer/components/JsonNode';-import { JsonValueNode } from '@ui/json-visualizer/components/JsonValueNode';-import { useJsonTreeContextOrThrow } from '@ui/json-visualizer/hooks/useJsonTreeContextOrThrow';-import { type JsonNodeHighlighting } from '@ui/json-visualizer/types/JsonNodeHighlighting';+import { JsonArrow } from '@ui/primitives/json-visualizer/components/internal/JsonArrow';+import { JsonNodeLabel } from '@ui/primitives/json-visualizer/components/internal/JsonNodeLabel';+import { JsonNode } from '@ui/primitives/json-visualizer/components/JsonNode';+import { JsonValueNode } from '@ui/primitives/json-visualizer/components/JsonValueNode';+import { useJsonTreeContextOrThrow } from '@ui/primitives/json-visualizer/hooks/useJsonTreeContextOrThrow';+import { type JsonNodeHighlighting } from '@ui/primitives/json-visualizer/types/JsonNodeHighlighting';import styles from './JsonNestedNode.module.scss';diff --git a/packages/twenty-ui/src/json-visualizer/components/JsonNode.tsx b/packages/twenty-ui/src/primitives/json-visualizer/components/JsonNode.tsxsimilarity index 80%rename from packages/twenty-ui/src/json-visualizer/components/JsonNode.tsxrename to packages/twenty-ui/src/primitives/json-visualizer/components/JsonNode.tsxindex 153b5a36016..6e36b923e73 100644--- a/packages/twenty-ui/src/json-visualizer/components/JsonNode.tsx+++ b/packages/twenty-ui/src/primitives/json-visualizer/components/JsonNode.tsx@@ -10,11 +10,11 @@ import {IconNumber9,IconTypography,} from '@ui/icon';-import { JsonArrayNode } from '@ui/json-visualizer/components/JsonArrayNode';-import { JsonObjectNode } from '@ui/json-visualizer/components/JsonObjectNode';-import { JsonValueNode } from '@ui/json-visualizer/components/JsonValueNode';-import { useJsonTreeContextOrThrow } from '@ui/json-visualizer/hooks/useJsonTreeContextOrThrow';-import { isArray } from '@ui/json-visualizer/utils/isArray';+import { JsonArrayNode } from '@ui/primitives/json-visualizer/components/JsonArrayNode';+import { JsonObjectNode } from '@ui/primitives/json-visualizer/components/JsonObjectNode';+import { JsonValueNode } from '@ui/primitives/json-visualizer/components/JsonValueNode';+import { useJsonTreeContextOrThrow } from '@ui/primitives/json-visualizer/hooks/useJsonTreeContextOrThrow';+import { isArray } from '@ui/primitives/json-visualizer/utils/isArray';import { isDefined } from '@ui/utilities/utils/isDefined';import { type JsonValue } from 'type-fest';diff --git a/packages/twenty-ui/src/json-visualizer/components/JsonObjectNode.tsx b/packages/twenty-ui/src/primitives/json-visualizer/components/JsonObjectNode.tsxsimilarity index 71%rename from packages/twenty-ui/src/json-visualizer/components/JsonObjectNode.tsxrename to packages/twenty-ui/src/primitives/json-visualizer/components/JsonObjectNode.tsxindex fe7da9efe6b..748f39de5a6 100644--- a/packages/twenty-ui/src/json-visualizer/components/JsonObjectNode.tsx+++ b/packages/twenty-ui/src/primitives/json-visualizer/components/JsonObjectNode.tsx@@ -1,7 +1,7 @@import { IconCube } from '@ui/icon';-import { JsonNestedNode } from '@ui/json-visualizer/components/JsonNestedNode';-import { useJsonTreeContextOrThrow } from '@ui/json-visualizer/hooks/useJsonTreeContextOrThrow';-import { type JsonNodeHighlighting } from '@ui/json-visualizer/types/JsonNodeHighlighting';+import { JsonNestedNode } from '@ui/primitives/json-visualizer/components/JsonNestedNode';+import { useJsonTreeContextOrThrow } from '@ui/primitives/json-visualizer/hooks/useJsonTreeContextOrThrow';+import { type JsonNodeHighlighting } from '@ui/primitives/json-visualizer/types/JsonNodeHighlighting';import { type JsonObject } from 'type-fest';export const JsonObjectNode = ({diff --git a/packages/twenty-ui/src/json-visualizer/components/JsonTree.tsx b/packages/twenty-ui/src/primitives/json-visualizer/components/JsonTree.tsxsimilarity index 68%rename from packages/twenty-ui/src/json-visualizer/components/JsonTree.tsxrename to packages/twenty-ui/src/primitives/json-visualizer/components/JsonTree.tsxindex c0eb9b0b2b6..6b4c5e8ddf5 100644--- a/packages/twenty-ui/src/json-visualizer/components/JsonTree.tsx+++ b/packages/twenty-ui/src/primitives/json-visualizer/components/JsonTree.tsx@@ -1,8 +1,8 @@-import { JsonList } from '@ui/json-visualizer/components/internal/JsonList';-import { JsonNode } from '@ui/json-visualizer/components/JsonNode';-import { JsonTreeContextProvider } from '@ui/json-visualizer/components/JsonTreeContextProvider';-import { type ShouldExpandNodeInitiallyProps } from '@ui/json-visualizer/contexts/JsonTreeContext';-import { type GetJsonNodeHighlighting } from '@ui/json-visualizer/types/GetJsonNodeHighlighting';+import { JsonList } from '@ui/primitives/json-visualizer/components/internal/JsonList';+import { JsonNode } from '@ui/primitives/json-visualizer/components/JsonNode';+import { JsonTreeContextProvider } from '@ui/primitives/json-visualizer/components/JsonTreeContextProvider';+import { type ShouldExpandNodeInitiallyProps } from '@ui/primitives/json-visualizer/contexts/JsonTreeContext';+import { type GetJsonNodeHighlighting } from '@ui/primitives/json-visualizer/types/GetJsonNodeHighlighting';import { type JsonValue } from 'type-fest';export const JsonTree = ({diff --git a/packages/twenty-ui/src/json-visualizer/components/JsonTreeContextProvider.tsx b/packages/twenty-ui/src/primitives/json-visualizer/components/JsonTreeContextProvider.tsxsimilarity index 82%rename from packages/twenty-ui/src/json-visualizer/components/JsonTreeContextProvider.tsxrename to packages/twenty-ui/src/primitives/json-visualizer/components/JsonTreeContextProvider.tsxindex 61cb229a5d3..21fb9f25c38 100644--- a/packages/twenty-ui/src/json-visualizer/components/JsonTreeContextProvider.tsx+++ b/packages/twenty-ui/src/primitives/json-visualizer/components/JsonTreeContextProvider.tsx@@ -1,7 +1,7 @@import {JsonTreeContext,type JsonTreeContextType,-} from '@ui/json-visualizer/contexts/JsonTreeContext';+} from '@ui/primitives/json-visualizer/contexts/JsonTreeContext';export const JsonTreeContextProvider = ({value,diff --git a/packages/twenty-ui/src/json-visualizer/components/JsonValueNode.module.scss b/packages/twenty-ui/src/primitives/json-visualizer/components/JsonValueNode.module.scsssimilarity index 100%rename from packages/twenty-ui/src/json-visualizer/components/JsonValueNode.module.scssrename to packages/twenty-ui/src/primitives/json-visualizer/components/JsonValueNode.module.scssdiff --git a/packages/twenty-ui/src/json-visualizer/components/JsonValueNode.module.scss.d.ts b/packages/twenty-ui/src/primitives/json-visualizer/components/JsonValueNode.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/json-visualizer/components/JsonValueNode.module.scss.d.tsrename to packages/twenty-ui/src/primitives/json-visualizer/components/JsonValueNode.module.scss.d.tsdiff --git a/packages/twenty-ui/src/json-visualizer/components/JsonValueNode.tsx b/packages/twenty-ui/src/primitives/json-visualizer/components/JsonValueNode.tsxsimilarity index 71%rename from packages/twenty-ui/src/json-visualizer/components/JsonValueNode.tsxrename to packages/twenty-ui/src/primitives/json-visualizer/components/JsonValueNode.tsxindex c416b549bae..067a1d467f7 100644--- a/packages/twenty-ui/src/json-visualizer/components/JsonValueNode.tsx+++ b/packages/twenty-ui/src/primitives/json-visualizer/components/JsonValueNode.tsx@@ -1,7 +1,7 @@import { type IconComponent } from '@ui/icon';-import { JsonNodeLabel } from '@ui/json-visualizer/components/internal/JsonNodeLabel';-import { JsonNodeValue } from '@ui/json-visualizer/components/internal/JsonNodeValue';-import { type JsonNodeHighlighting } from '@ui/json-visualizer/types/JsonNodeHighlighting';+import { JsonNodeLabel } from '@ui/primitives/json-visualizer/components/internal/JsonNodeLabel';+import { JsonNodeValue } from '@ui/primitives/json-visualizer/components/internal/JsonNodeValue';+import { type JsonNodeHighlighting } from '@ui/primitives/json-visualizer/types/JsonNodeHighlighting';import styles from './JsonValueNode.module.scss';diff --git a/packages/twenty-ui/src/json-visualizer/components/internal/JsonArrow.module.scss b/packages/twenty-ui/src/primitives/json-visualizer/components/internal/JsonArrow.module.scsssimilarity index 100%rename from packages/twenty-ui/src/json-visualizer/components/internal/JsonArrow.module.scssrename to packages/twenty-ui/src/primitives/json-visualizer/components/internal/JsonArrow.module.scssdiff --git a/packages/twenty-ui/src/json-visualizer/components/internal/JsonArrow.module.scss.d.ts b/packages/twenty-ui/src/primitives/json-visualizer/components/internal/JsonArrow.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/json-visualizer/components/internal/JsonArrow.module.scss.d.tsrename to packages/twenty-ui/src/primitives/json-visualizer/components/internal/JsonArrow.module.scss.d.tsdiff --git a/packages/twenty-ui/src/json-visualizer/components/internal/JsonArrow.tsx b/packages/twenty-ui/src/primitives/json-visualizer/components/internal/JsonArrow.tsxsimilarity index 86%rename from packages/twenty-ui/src/json-visualizer/components/internal/JsonArrow.tsxrename to packages/twenty-ui/src/primitives/json-visualizer/components/internal/JsonArrow.tsxindex 4d586b784d2..45656acf65a 100644--- a/packages/twenty-ui/src/json-visualizer/components/internal/JsonArrow.tsx+++ b/packages/twenty-ui/src/primitives/json-visualizer/components/internal/JsonArrow.tsx@@ -1,6 +1,6 @@-import { VisibilityHidden } from '@ui/accessibility';+import { VisibilityHidden } from '@ui/primitives/accessibility';import { IconChevronDown } from '@ui/icon';-import { useJsonTreeContextOrThrow } from '@ui/json-visualizer/hooks/useJsonTreeContextOrThrow';+import { useJsonTreeContextOrThrow } from '@ui/primitives/json-visualizer/hooks/useJsonTreeContextOrThrow';import { themeCssVariables, useTheme } from '@ui/theme-constants';import { clsx } from 'clsx';diff --git a/packages/twenty-ui/src/json-visualizer/components/internal/JsonList.module.scss b/packages/twenty-ui/src/primitives/json-visualizer/components/internal/JsonList.module.scsssimilarity index 100%rename from packages/twenty-ui/src/json-visualizer/components/internal/JsonList.module.scssrename to packages/twenty-ui/src/primitives/json-visualizer/components/internal/JsonList.module.scssdiff --git a/packages/twenty-ui/src/json-visualizer/components/internal/JsonList.module.scss.d.ts b/packages/twenty-ui/src/primitives/json-visualizer/components/internal/JsonList.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/json-visualizer/components/internal/JsonList.module.scss.d.tsrename to packages/twenty-ui/src/primitives/json-visualizer/components/internal/JsonList.module.scss.d.tsdiff --git a/packages/twenty-ui/src/json-visualizer/components/internal/JsonList.tsx b/packages/twenty-ui/src/primitives/json-visualizer/components/internal/JsonList.tsxsimilarity index 100%rename from packages/twenty-ui/src/json-visualizer/components/internal/JsonList.tsxrename to packages/twenty-ui/src/primitives/json-visualizer/components/internal/JsonList.tsxdiff --git a/packages/twenty-ui/src/json-visualizer/components/internal/JsonListItem.module.scss b/packages/twenty-ui/src/primitives/json-visualizer/components/internal/JsonListItem.module.scsssimilarity index 100%rename from packages/twenty-ui/src/json-visualizer/components/internal/JsonListItem.module.scssrename to packages/twenty-ui/src/primitives/json-visualizer/components/internal/JsonListItem.module.scssdiff --git a/packages/twenty-ui/src/json-visualizer/components/internal/JsonListItem.module.scss.d.ts b/packages/twenty-ui/src/primitives/json-visualizer/components/internal/JsonListItem.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/json-visualizer/components/internal/JsonListItem.module.scss.d.tsrename to packages/twenty-ui/src/primitives/json-visualizer/components/internal/JsonListItem.module.scss.d.tsdiff --git a/packages/twenty-ui/src/json-visualizer/components/internal/JsonListItem.tsx b/packages/twenty-ui/src/primitives/json-visualizer/components/internal/JsonListItem.tsxsimilarity index 100%rename from packages/twenty-ui/src/json-visualizer/components/internal/JsonListItem.tsxrename to packages/twenty-ui/src/primitives/json-visualizer/components/internal/JsonListItem.tsxdiff --git a/packages/twenty-ui/src/json-visualizer/components/internal/JsonNodeLabel.module.scss b/packages/twenty-ui/src/primitives/json-visualizer/components/internal/JsonNodeLabel.module.scsssimilarity index 100%rename from packages/twenty-ui/src/json-visualizer/components/internal/JsonNodeLabel.module.scssrename to packages/twenty-ui/src/primitives/json-visualizer/components/internal/JsonNodeLabel.module.scssdiff --git a/packages/twenty-ui/src/json-visualizer/components/internal/JsonNodeLabel.module.scss.d.ts b/packages/twenty-ui/src/primitives/json-visualizer/components/internal/JsonNodeLabel.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/json-visualizer/components/internal/JsonNodeLabel.module.scss.d.tsrename to packages/twenty-ui/src/primitives/json-visualizer/components/internal/JsonNodeLabel.module.scss.d.tsdiff --git a/packages/twenty-ui/src/json-visualizer/components/internal/JsonNodeLabel.tsx b/packages/twenty-ui/src/primitives/json-visualizer/components/internal/JsonNodeLabel.tsxsimilarity index 89%rename from packages/twenty-ui/src/json-visualizer/components/internal/JsonNodeLabel.tsxrename to packages/twenty-ui/src/primitives/json-visualizer/components/internal/JsonNodeLabel.tsxindex d5e1bf056c1..d071dbe74d6 100644--- a/packages/twenty-ui/src/json-visualizer/components/internal/JsonNodeLabel.tsx+++ b/packages/twenty-ui/src/primitives/json-visualizer/components/internal/JsonNodeLabel.tsx@@ -1,5 +1,5 @@import { type IconComponent } from '@ui/icon';-import { type JsonNodeHighlighting } from '@ui/json-visualizer/types/JsonNodeHighlighting';+import { type JsonNodeHighlighting } from '@ui/primitives/json-visualizer/types/JsonNodeHighlighting';import { useTheme } from '@ui/theme-constants';import { clsx } from 'clsx';diff --git a/packages/twenty-ui/src/json-visualizer/components/internal/JsonNodeValue.module.scss b/packages/twenty-ui/src/primitives/json-visualizer/components/internal/JsonNodeValue.module.scsssimilarity index 100%rename from packages/twenty-ui/src/json-visualizer/components/internal/JsonNodeValue.module.scssrename to packages/twenty-ui/src/primitives/json-visualizer/components/internal/JsonNodeValue.module.scssdiff --git a/packages/twenty-ui/src/json-visualizer/components/internal/JsonNodeValue.module.scss.d.ts b/packages/twenty-ui/src/primitives/json-visualizer/components/internal/JsonNodeValue.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/json-visualizer/components/internal/JsonNodeValue.module.scss.d.tsrename to packages/twenty-ui/src/primitives/json-visualizer/components/internal/JsonNodeValue.module.scss.d.tsdiff --git a/packages/twenty-ui/src/json-visualizer/components/internal/JsonNodeValue.tsx b/packages/twenty-ui/src/primitives/json-visualizer/components/internal/JsonNodeValue.tsxsimilarity index 74%rename from packages/twenty-ui/src/json-visualizer/components/internal/JsonNodeValue.tsxrename to packages/twenty-ui/src/primitives/json-visualizer/components/internal/JsonNodeValue.tsxindex 6da8577611c..fa6ce73c2e4 100644--- a/packages/twenty-ui/src/json-visualizer/components/internal/JsonNodeValue.tsx+++ b/packages/twenty-ui/src/primitives/json-visualizer/components/internal/JsonNodeValue.tsx@@ -1,6 +1,6 @@-import { handleClickableElementKeyDown } from '@ui/accessibility/utils/handleClickableElementKeyDown';-import { useJsonTreeContextOrThrow } from '@ui/json-visualizer/hooks/useJsonTreeContextOrThrow';-import { type JsonNodeHighlighting } from '@ui/json-visualizer/types/JsonNodeHighlighting';+import { handleClickableElementKeyDown } from '@ui/primitives/accessibility/utils/handleClickableElementKeyDown';+import { useJsonTreeContextOrThrow } from '@ui/primitives/json-visualizer/hooks/useJsonTreeContextOrThrow';+import { type JsonNodeHighlighting } from '@ui/primitives/json-visualizer/types/JsonNodeHighlighting';import { clsx } from 'clsx';import { isDefined } from '@ui/utilities/utils/isDefined';diff --git a/packages/twenty-ui/src/json-visualizer/contexts/JsonTreeContext.tsx b/packages/twenty-ui/src/primitives/json-visualizer/contexts/JsonTreeContext.tsxsimilarity index 84%rename from packages/twenty-ui/src/json-visualizer/contexts/JsonTreeContext.tsxrename to packages/twenty-ui/src/primitives/json-visualizer/contexts/JsonTreeContext.tsxindex 5048c0d3206..577fb1fed01 100644--- a/packages/twenty-ui/src/json-visualizer/contexts/JsonTreeContext.tsx+++ b/packages/twenty-ui/src/primitives/json-visualizer/contexts/JsonTreeContext.tsx@@ -1,4 +1,4 @@-import { type GetJsonNodeHighlighting } from '@ui/json-visualizer/types/GetJsonNodeHighlighting';+import { type GetJsonNodeHighlighting } from '@ui/primitives/json-visualizer/types/GetJsonNodeHighlighting';import { createContext } from 'react';export type ShouldExpandNodeInitiallyProps = { keyPath: string; depth: number };diff --git a/packages/twenty-ui/src/json-visualizer/hooks/useJsonTreeContextOrThrow.tsx b/packages/twenty-ui/src/primitives/json-visualizer/hooks/useJsonTreeContextOrThrow.tsxsimilarity index 79%rename from packages/twenty-ui/src/json-visualizer/hooks/useJsonTreeContextOrThrow.tsxrename to packages/twenty-ui/src/primitives/json-visualizer/hooks/useJsonTreeContextOrThrow.tsxindex 568fb3c07f9..16ce99a5fa6 100644--- a/packages/twenty-ui/src/json-visualizer/hooks/useJsonTreeContextOrThrow.tsx+++ b/packages/twenty-ui/src/primitives/json-visualizer/hooks/useJsonTreeContextOrThrow.tsx@@ -1,4 +1,4 @@-import { JsonTreeContext } from '@ui/json-visualizer/contexts/JsonTreeContext';+import { JsonTreeContext } from '@ui/primitives/json-visualizer/contexts/JsonTreeContext';import { useContext } from 'react';import { isDefined } from '@ui/utilities/utils/isDefined';diff --git a/packages/twenty-ui/src/json-visualizer/index.ts b/packages/twenty-ui/src/primitives/json-visualizer/index.tssimilarity index 100%rename from packages/twenty-ui/src/json-visualizer/index.tsrename to packages/twenty-ui/src/primitives/json-visualizer/index.tsdiff --git a/packages/twenty-ui/src/primitives/json-visualizer/types/GetJsonNodeHighlighting.ts b/packages/twenty-ui/src/primitives/json-visualizer/types/GetJsonNodeHighlighting.tsnew file mode 100644index 00000000000..48b418b7fde--- /dev/null+++ b/packages/twenty-ui/src/primitives/json-visualizer/types/GetJsonNodeHighlighting.ts@@ -0,0 +1,5 @@+import { type JsonNodeHighlighting } from '@ui/primitives/json-visualizer/types/JsonNodeHighlighting';++export type GetJsonNodeHighlighting = (+ keyPath: string,+) => JsonNodeHighlighting | undefined;diff --git a/packages/twenty-ui/src/json-visualizer/types/JsonNodeHighlighting.ts b/packages/twenty-ui/src/primitives/json-visualizer/types/JsonNodeHighlighting.tssimilarity index 100%rename from packages/twenty-ui/src/json-visualizer/types/JsonNodeHighlighting.tsrename to packages/twenty-ui/src/primitives/json-visualizer/types/JsonNodeHighlighting.tsdiff --git a/packages/twenty-ui/src/json-visualizer/utils/isArray.ts b/packages/twenty-ui/src/primitives/json-visualizer/utils/isArray.tssimilarity index 100%rename from packages/twenty-ui/src/json-visualizer/utils/isArray.tsrename to packages/twenty-ui/src/primitives/json-visualizer/utils/isArray.tsdiff --git a/packages/twenty-ui/src/primitives/json-visualizer/utils/isTwoFirstDepths.ts b/packages/twenty-ui/src/primitives/json-visualizer/utils/isTwoFirstDepths.tsnew file mode 100644index 00000000000..3ab4de00fae--- /dev/null+++ b/packages/twenty-ui/src/primitives/json-visualizer/utils/isTwoFirstDepths.ts@@ -0,0 +1,4 @@+import { type ShouldExpandNodeInitiallyProps } from '@ui/primitives/json-visualizer/contexts/JsonTreeContext';++export const isTwoFirstDepths = ({ depth }: ShouldExpandNodeInitiallyProps) =>+ depth <= 1;diff --git a/packages/twenty-ui/src/layout/AnimatedCircleLoading/AnimatedCircleLoading.module.scss b/packages/twenty-ui/src/primitives/layout/AnimatedCircleLoading/AnimatedCircleLoading.module.scsssimilarity index 100%rename from packages/twenty-ui/src/layout/AnimatedCircleLoading/AnimatedCircleLoading.module.scssrename to packages/twenty-ui/src/primitives/layout/AnimatedCircleLoading/AnimatedCircleLoading.module.scssdiff --git a/packages/twenty-ui/src/layout/AnimatedCircleLoading/AnimatedCircleLoading.module.scss.d.ts b/packages/twenty-ui/src/primitives/layout/AnimatedCircleLoading/AnimatedCircleLoading.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/layout/AnimatedCircleLoading/AnimatedCircleLoading.module.scss.d.tsrename to packages/twenty-ui/src/primitives/layout/AnimatedCircleLoading/AnimatedCircleLoading.module.scss.d.tsdiff --git a/packages/twenty-ui/src/layout/AnimatedCircleLoading/AnimatedCircleLoading.tsx b/packages/twenty-ui/src/primitives/layout/AnimatedCircleLoading/AnimatedCircleLoading.tsxsimilarity index 100%rename from packages/twenty-ui/src/layout/AnimatedCircleLoading/AnimatedCircleLoading.tsxrename to packages/twenty-ui/src/primitives/layout/AnimatedCircleLoading/AnimatedCircleLoading.tsxdiff --git a/packages/twenty-ui/src/layout/AnimatedContainer/AnimatedContainer.module.scss b/packages/twenty-ui/src/primitives/layout/AnimatedContainer/AnimatedContainer.module.scsssimilarity index 100%rename from packages/twenty-ui/src/layout/AnimatedContainer/AnimatedContainer.module.scssrename to packages/twenty-ui/src/primitives/layout/AnimatedContainer/AnimatedContainer.module.scssdiff --git a/packages/twenty-ui/src/layout/AnimatedContainer/AnimatedContainer.module.scss.d.ts b/packages/twenty-ui/src/primitives/layout/AnimatedContainer/AnimatedContainer.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/layout/AnimatedContainer/AnimatedContainer.module.scss.d.tsrename to packages/twenty-ui/src/primitives/layout/AnimatedContainer/AnimatedContainer.module.scss.d.tsdiff --git a/packages/twenty-ui/src/layout/AnimatedContainer/AnimatedContainer.tsx b/packages/twenty-ui/src/primitives/layout/AnimatedContainer/AnimatedContainer.tsxsimilarity index 100%rename from packages/twenty-ui/src/layout/AnimatedContainer/AnimatedContainer.tsxrename to packages/twenty-ui/src/primitives/layout/AnimatedContainer/AnimatedContainer.tsxdiff --git a/packages/twenty-ui/src/layout/AnimatedEaseIn/AnimatedEaseIn.module.scss b/packages/twenty-ui/src/primitives/layout/AnimatedEaseIn/AnimatedEaseIn.module.scsssimilarity index 100%rename from packages/twenty-ui/src/layout/AnimatedEaseIn/AnimatedEaseIn.module.scssrename to packages/twenty-ui/src/primitives/layout/AnimatedEaseIn/AnimatedEaseIn.module.scssdiff --git a/packages/twenty-ui/src/layout/AnimatedEaseIn/AnimatedEaseIn.module.scss.d.ts b/packages/twenty-ui/src/primitives/layout/AnimatedEaseIn/AnimatedEaseIn.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/layout/AnimatedEaseIn/AnimatedEaseIn.module.scss.d.tsrename to packages/twenty-ui/src/primitives/layout/AnimatedEaseIn/AnimatedEaseIn.module.scss.d.tsdiff --git a/packages/twenty-ui/src/layout/AnimatedEaseIn/AnimatedEaseIn.tsx b/packages/twenty-ui/src/primitives/layout/AnimatedEaseIn/AnimatedEaseIn.tsxsimilarity index 100%rename from packages/twenty-ui/src/layout/AnimatedEaseIn/AnimatedEaseIn.tsxrename to packages/twenty-ui/src/primitives/layout/AnimatedEaseIn/AnimatedEaseIn.tsxdiff --git a/packages/twenty-ui/src/layout/AnimatedEaseInOut/AnimatedEaseInOut.module.scss b/packages/twenty-ui/src/primitives/layout/AnimatedEaseInOut/AnimatedEaseInOut.module.scsssimilarity index 100%rename from packages/twenty-ui/src/layout/AnimatedEaseInOut/AnimatedEaseInOut.module.scssrename to packages/twenty-ui/src/primitives/layout/AnimatedEaseInOut/AnimatedEaseInOut.module.scssdiff --git a/packages/twenty-ui/src/layout/AnimatedEaseInOut/AnimatedEaseInOut.module.scss.d.ts b/packages/twenty-ui/src/primitives/layout/AnimatedEaseInOut/AnimatedEaseInOut.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/layout/AnimatedEaseInOut/AnimatedEaseInOut.module.scss.d.tsrename to packages/twenty-ui/src/primitives/layout/AnimatedEaseInOut/AnimatedEaseInOut.module.scss.d.tsdiff --git a/packages/twenty-ui/src/layout/AnimatedEaseInOut/AnimatedEaseInOut.tsx b/packages/twenty-ui/src/primitives/layout/AnimatedEaseInOut/AnimatedEaseInOut.tsxsimilarity index 100%rename from packages/twenty-ui/src/layout/AnimatedEaseInOut/AnimatedEaseInOut.tsxrename to packages/twenty-ui/src/primitives/layout/AnimatedEaseInOut/AnimatedEaseInOut.tsxdiff --git a/packages/twenty-ui/src/layout/AnimatedExpandableContainer/AnimatedExpandableContainer.module.scss b/packages/twenty-ui/src/primitives/layout/AnimatedExpandableContainer/AnimatedExpandableContainer.module.scsssimilarity index 100%rename from packages/twenty-ui/src/layout/AnimatedExpandableContainer/AnimatedExpandableContainer.module.scssrename to packages/twenty-ui/src/primitives/layout/AnimatedExpandableContainer/AnimatedExpandableContainer.module.scssdiff --git a/packages/twenty-ui/src/layout/AnimatedExpandableContainer/AnimatedExpandableContainer.module.scss.d.ts b/packages/twenty-ui/src/primitives/layout/AnimatedExpandableContainer/AnimatedExpandableContainer.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/layout/AnimatedExpandableContainer/AnimatedExpandableContainer.module.scss.d.tsrename to packages/twenty-ui/src/primitives/layout/AnimatedExpandableContainer/AnimatedExpandableContainer.module.scss.d.tsdiff --git a/packages/twenty-ui/src/layout/AnimatedExpandableContainer/AnimatedExpandableContainer.tsx b/packages/twenty-ui/src/primitives/layout/AnimatedExpandableContainer/AnimatedExpandableContainer.tsxsimilarity index 77%rename from packages/twenty-ui/src/layout/AnimatedExpandableContainer/AnimatedExpandableContainer.tsxrename to packages/twenty-ui/src/primitives/layout/AnimatedExpandableContainer/AnimatedExpandableContainer.tsxindex 43f7b8580b6..6178bcb6747 100644--- a/packages/twenty-ui/src/layout/AnimatedExpandableContainer/AnimatedExpandableContainer.tsx+++ b/packages/twenty-ui/src/primitives/layout/AnimatedExpandableContainer/AnimatedExpandableContainer.tsx@@ -1,9 +1,9 @@import { Collapsible } from '@base-ui/react/collapsible';import { clsx } from 'clsx';-import { type AnimationDimension } from '@ui/layout/AnimatedExpandableContainer/types/AnimationDimension';-import { type AnimationDurations } from '@ui/layout/AnimatedExpandableContainer/types/AnimationDurations';-import { type AnimationMode } from '@ui/layout/AnimatedExpandableContainer/types/AnimationMode';+import { type AnimationDimension } from '@ui/primitives/layout/AnimatedExpandableContainer/types/AnimationDimension';+import { type AnimationDurations } from '@ui/primitives/layout/AnimatedExpandableContainer/types/AnimationDurations';+import { type AnimationMode } from '@ui/primitives/layout/AnimatedExpandableContainer/types/AnimationMode';import styles from './AnimatedExpandableContainer.module.scss';diff --git a/packages/twenty-ui/src/layout/AnimatedExpandableContainer/__stories__/AnimatedExpandableContainer.stories.module.scss b/packages/twenty-ui/src/primitives/layout/AnimatedExpandableContainer/__stories__/AnimatedExpandableContainer.stories.module.scsssimilarity index 100%rename from packages/twenty-ui/src/layout/AnimatedExpandableContainer/__stories__/AnimatedExpandableContainer.stories.module.scssrename to packages/twenty-ui/src/primitives/layout/AnimatedExpandableContainer/__stories__/AnimatedExpandableContainer.stories.module.scssdiff --git a/packages/twenty-ui/src/layout/AnimatedExpandableContainer/__stories__/AnimatedExpandableContainer.stories.module.scss.d.ts b/packages/twenty-ui/src/primitives/layout/AnimatedExpandableContainer/__stories__/AnimatedExpandableContainer.stories.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/layout/AnimatedExpandableContainer/__stories__/AnimatedExpandableContainer.stories.module.scss.d.tsrename to packages/twenty-ui/src/primitives/layout/AnimatedExpandableContainer/__stories__/AnimatedExpandableContainer.stories.module.scss.d.tsdiff --git a/packages/twenty-ui/src/layout/AnimatedExpandableContainer/__stories__/AnimatedExpandableContainer.stories.tsx b/packages/twenty-ui/src/primitives/layout/AnimatedExpandableContainer/__stories__/AnimatedExpandableContainer.stories.tsxsimilarity index 97%rename from packages/twenty-ui/src/layout/AnimatedExpandableContainer/__stories__/AnimatedExpandableContainer.stories.tsxrename to packages/twenty-ui/src/primitives/layout/AnimatedExpandableContainer/__stories__/AnimatedExpandableContainer.stories.tsxindex 7337800cfd4..df65350fc1f 100644--- a/packages/twenty-ui/src/layout/AnimatedExpandableContainer/__stories__/AnimatedExpandableContainer.stories.tsx+++ b/packages/twenty-ui/src/primitives/layout/AnimatedExpandableContainer/__stories__/AnimatedExpandableContainer.stories.tsx@@ -2,7 +2,7 @@ import { type Meta, type StoryObj } from '@storybook/react-vite';import { A11Y_DEFER_COLOR_CONTRAST, ComponentDecorator } from '@ui/testing';import { clsx } from 'clsx';import { useState } from 'react';-import { AnimatedExpandableContainer } from '@ui/layout/AnimatedExpandableContainer/AnimatedExpandableContainer';+import { AnimatedExpandableContainer } from '@ui/primitives/layout/AnimatedExpandableContainer/AnimatedExpandableContainer';import styles from './AnimatedExpandableContainer.stories.module.scss';diff --git a/packages/twenty-ui/src/layout/AnimatedExpandableContainer/types/AnimationDimension.ts b/packages/twenty-ui/src/primitives/layout/AnimatedExpandableContainer/types/AnimationDimension.tssimilarity index 100%rename from packages/twenty-ui/src/layout/AnimatedExpandableContainer/types/AnimationDimension.tsrename to packages/twenty-ui/src/primitives/layout/AnimatedExpandableContainer/types/AnimationDimension.tsdiff --git a/packages/twenty-ui/src/layout/AnimatedExpandableContainer/types/AnimationDurationObject.ts b/packages/twenty-ui/src/primitives/layout/AnimatedExpandableContainer/types/AnimationDurationObject.tssimilarity index 100%rename from packages/twenty-ui/src/layout/AnimatedExpandableContainer/types/AnimationDurationObject.tsrename to packages/twenty-ui/src/primitives/layout/AnimatedExpandableContainer/types/AnimationDurationObject.tsdiff --git a/packages/twenty-ui/src/primitives/layout/AnimatedExpandableContainer/types/AnimationDurations.ts b/packages/twenty-ui/src/primitives/layout/AnimatedExpandableContainer/types/AnimationDurations.tsnew file mode 100644index 00000000000..5d09b1f014a--- /dev/null+++ b/packages/twenty-ui/src/primitives/layout/AnimatedExpandableContainer/types/AnimationDurations.ts@@ -0,0 +1,3 @@+import { type AnimationDurationObject } from '@ui/primitives/layout/AnimatedExpandableContainer/types/AnimationDurationObject';++export type AnimationDurations = AnimationDurationObject | 'default';diff --git a/packages/twenty-ui/src/layout/AnimatedExpandableContainer/types/AnimationMode.ts b/packages/twenty-ui/src/primitives/layout/AnimatedExpandableContainer/types/AnimationMode.tssimilarity index 100%rename from packages/twenty-ui/src/layout/AnimatedExpandableContainer/types/AnimationMode.tsrename to packages/twenty-ui/src/primitives/layout/AnimatedExpandableContainer/types/AnimationMode.tsdiff --git a/packages/twenty-ui/src/layout/AnimatedExpandableContainer/types/AnimationSize.ts b/packages/twenty-ui/src/primitives/layout/AnimatedExpandableContainer/types/AnimationSize.tssimilarity index 100%rename from packages/twenty-ui/src/layout/AnimatedExpandableContainer/types/AnimationSize.tsrename to packages/twenty-ui/src/primitives/layout/AnimatedExpandableContainer/types/AnimationSize.tsdiff --git a/packages/twenty-ui/src/layout/AnimatedIconCrossfade/AnimatedIconCrossfade.module.scss b/packages/twenty-ui/src/primitives/layout/AnimatedIconCrossfade/AnimatedIconCrossfade.module.scsssimilarity index 100%rename from packages/twenty-ui/src/layout/AnimatedIconCrossfade/AnimatedIconCrossfade.module.scssrename to packages/twenty-ui/src/primitives/layout/AnimatedIconCrossfade/AnimatedIconCrossfade.module.scssdiff --git a/packages/twenty-ui/src/layout/AnimatedIconCrossfade/AnimatedIconCrossfade.module.scss.d.ts b/packages/twenty-ui/src/primitives/layout/AnimatedIconCrossfade/AnimatedIconCrossfade.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/layout/AnimatedIconCrossfade/AnimatedIconCrossfade.module.scss.d.tsrename to packages/twenty-ui/src/primitives/layout/AnimatedIconCrossfade/AnimatedIconCrossfade.module.scss.d.tsdiff --git a/packages/twenty-ui/src/layout/AnimatedIconCrossfade/AnimatedIconCrossfade.tsx b/packages/twenty-ui/src/primitives/layout/AnimatedIconCrossfade/AnimatedIconCrossfade.tsxsimilarity index 100%rename from packages/twenty-ui/src/layout/AnimatedIconCrossfade/AnimatedIconCrossfade.tsxrename to packages/twenty-ui/src/primitives/layout/AnimatedIconCrossfade/AnimatedIconCrossfade.tsxdiff --git a/packages/twenty-ui/src/layout/AnimatedRotate/AnimatedRotate.module.scss b/packages/twenty-ui/src/primitives/layout/AnimatedRotate/AnimatedRotate.module.scsssimilarity index 100%rename from packages/twenty-ui/src/layout/AnimatedRotate/AnimatedRotate.module.scssrename to packages/twenty-ui/src/primitives/layout/AnimatedRotate/AnimatedRotate.module.scssdiff --git a/packages/twenty-ui/src/layout/AnimatedRotate/AnimatedRotate.module.scss.d.ts b/packages/twenty-ui/src/primitives/layout/AnimatedRotate/AnimatedRotate.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/layout/AnimatedRotate/AnimatedRotate.module.scss.d.tsrename to packages/twenty-ui/src/primitives/layout/AnimatedRotate/AnimatedRotate.module.scss.d.tsdiff --git a/packages/twenty-ui/src/layout/AnimatedRotate/AnimatedRotate.tsx b/packages/twenty-ui/src/primitives/layout/AnimatedRotate/AnimatedRotate.tsxsimilarity index 100%rename from packages/twenty-ui/src/layout/AnimatedRotate/AnimatedRotate.tsxrename to packages/twenty-ui/src/primitives/layout/AnimatedRotate/AnimatedRotate.tsxdiff --git a/packages/twenty-ui/src/layout/AutogrowWrapper/AutogrowWrapper.module.scss b/packages/twenty-ui/src/primitives/layout/AutogrowWrapper/AutogrowWrapper.module.scsssimilarity index 100%rename from packages/twenty-ui/src/layout/AutogrowWrapper/AutogrowWrapper.module.scssrename to packages/twenty-ui/src/primitives/layout/AutogrowWrapper/AutogrowWrapper.module.scssdiff --git a/packages/twenty-ui/src/layout/AutogrowWrapper/AutogrowWrapper.module.scss.d.ts b/packages/twenty-ui/src/primitives/layout/AutogrowWrapper/AutogrowWrapper.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/layout/AutogrowWrapper/AutogrowWrapper.module.scss.d.tsrename to packages/twenty-ui/src/primitives/layout/AutogrowWrapper/AutogrowWrapper.module.scss.d.tsdiff --git a/packages/twenty-ui/src/layout/AutogrowWrapper/AutogrowWrapper.tsx b/packages/twenty-ui/src/primitives/layout/AutogrowWrapper/AutogrowWrapper.tsxsimilarity index 100%rename from packages/twenty-ui/src/layout/AutogrowWrapper/AutogrowWrapper.tsxrename to packages/twenty-ui/src/primitives/layout/AutogrowWrapper/AutogrowWrapper.tsxdiff --git a/packages/twenty-ui/src/layout/HorizontalSeparator/HorizontalSeparator.module.scss b/packages/twenty-ui/src/primitives/layout/HorizontalSeparator/HorizontalSeparator.module.scsssimilarity index 100%rename from packages/twenty-ui/src/layout/HorizontalSeparator/HorizontalSeparator.module.scssrename to packages/twenty-ui/src/primitives/layout/HorizontalSeparator/HorizontalSeparator.module.scssdiff --git a/packages/twenty-ui/src/layout/HorizontalSeparator/HorizontalSeparator.module.scss.d.ts b/packages/twenty-ui/src/primitives/layout/HorizontalSeparator/HorizontalSeparator.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/layout/HorizontalSeparator/HorizontalSeparator.module.scss.d.tsrename to packages/twenty-ui/src/primitives/layout/HorizontalSeparator/HorizontalSeparator.module.scss.d.tsdiff --git a/packages/twenty-ui/src/layout/HorizontalSeparator/HorizontalSeparator.tsx b/packages/twenty-ui/src/primitives/layout/HorizontalSeparator/HorizontalSeparator.tsxsimilarity index 95%rename from packages/twenty-ui/src/layout/HorizontalSeparator/HorizontalSeparator.tsxrename to packages/twenty-ui/src/primitives/layout/HorizontalSeparator/HorizontalSeparator.tsxindex 2bafb35e1fa..9c389bc1be8 100644--- a/packages/twenty-ui/src/layout/HorizontalSeparator/HorizontalSeparator.tsx+++ b/packages/twenty-ui/src/primitives/layout/HorizontalSeparator/HorizontalSeparator.tsx@@ -1,6 +1,6 @@import { type JSX } from 'react';-import { Label } from '@ui/typography';+import { Label } from '@ui/primitives/typography';import styles from './HorizontalSeparator.module.scss';diff --git a/packages/twenty-ui/src/layout/HorizontalSeparator/__stories__/HorizontalSeparator.stories.tsx b/packages/twenty-ui/src/primitives/layout/HorizontalSeparator/__stories__/HorizontalSeparator.stories.tsxsimilarity index 79%rename from packages/twenty-ui/src/layout/HorizontalSeparator/__stories__/HorizontalSeparator.stories.tsxrename to packages/twenty-ui/src/primitives/layout/HorizontalSeparator/__stories__/HorizontalSeparator.stories.tsxindex c59658aa450..3ea89ed320b 100644--- a/packages/twenty-ui/src/layout/HorizontalSeparator/__stories__/HorizontalSeparator.stories.tsx+++ b/packages/twenty-ui/src/primitives/layout/HorizontalSeparator/__stories__/HorizontalSeparator.stories.tsx@@ -1,7 +1,7 @@import { type Meta, type StoryObj } from '@storybook/react-vite';import { ComponentDecorator } from '@ui/testing';-import { HorizontalSeparator } from '@ui/layout/HorizontalSeparator/HorizontalSeparator';+import { HorizontalSeparator } from '@ui/primitives/layout/HorizontalSeparator/HorizontalSeparator';const meta: Meta<typeof HorizontalSeparator> = {title: 'UI/Layout/HorizontalSeparator',diff --git a/packages/twenty-ui/src/layout/ResizeHandle/ResizeHandle.module.scss b/packages/twenty-ui/src/primitives/layout/ResizeHandle/ResizeHandle.module.scsssimilarity index 100%rename from packages/twenty-ui/src/layout/ResizeHandle/ResizeHandle.module.scssrename to packages/twenty-ui/src/primitives/layout/ResizeHandle/ResizeHandle.module.scssdiff --git a/packages/twenty-ui/src/layout/ResizeHandle/ResizeHandle.module.scss.d.ts b/packages/twenty-ui/src/primitives/layout/ResizeHandle/ResizeHandle.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/layout/ResizeHandle/ResizeHandle.module.scss.d.tsrename to packages/twenty-ui/src/primitives/layout/ResizeHandle/ResizeHandle.module.scss.d.tsdiff --git a/packages/twenty-ui/src/layout/ResizeHandle/ResizeHandle.tsx b/packages/twenty-ui/src/primitives/layout/ResizeHandle/ResizeHandle.tsxsimilarity index 100%rename from packages/twenty-ui/src/layout/ResizeHandle/ResizeHandle.tsxrename to packages/twenty-ui/src/primitives/layout/ResizeHandle/ResizeHandle.tsxdiff --git a/packages/twenty-ui/src/layout/ResizeHandle/__stories__/ResizeHandle.stories.tsx b/packages/twenty-ui/src/primitives/layout/ResizeHandle/__stories__/ResizeHandle.stories.tsxsimilarity index 91%rename from packages/twenty-ui/src/layout/ResizeHandle/__stories__/ResizeHandle.stories.tsxrename to packages/twenty-ui/src/primitives/layout/ResizeHandle/__stories__/ResizeHandle.stories.tsxindex 72bf06f6b08..cc34d5991d3 100644--- a/packages/twenty-ui/src/layout/ResizeHandle/__stories__/ResizeHandle.stories.tsx+++ b/packages/twenty-ui/src/primitives/layout/ResizeHandle/__stories__/ResizeHandle.stories.tsx@@ -1,10 +1,10 @@import { type Meta, type StoryObj } from '@storybook/react-vite';-import { useResizeHandle } from '@ui/layout/ResizeHandle/hooks/useResizeHandle';+import { useResizeHandle } from '@ui/primitives/layout/ResizeHandle/hooks/useResizeHandle';import { ComponentDecorator } from '@ui/testing';import { themeCssVariables } from '@ui/theme-constants';import { expect, userEvent, within } from 'storybook/test';-import { ResizeHandle } from '@ui/layout/ResizeHandle/ResizeHandle';+import { ResizeHandle } from '@ui/primitives/layout/ResizeHandle/ResizeHandle';const INITIAL_HEIGHT = 150;diff --git a/packages/twenty-ui/src/layout/ResizeHandle/hooks/useResizeHandle.ts b/packages/twenty-ui/src/primitives/layout/ResizeHandle/hooks/useResizeHandle.tssimilarity index 100%rename from packages/twenty-ui/src/layout/ResizeHandle/hooks/useResizeHandle.tsrename to packages/twenty-ui/src/primitives/layout/ResizeHandle/hooks/useResizeHandle.tsdiff --git a/packages/twenty-ui/src/layout/Section/Section.module.scss b/packages/twenty-ui/src/primitives/layout/Section/Section.module.scsssimilarity index 100%rename from packages/twenty-ui/src/layout/Section/Section.module.scssrename to packages/twenty-ui/src/primitives/layout/Section/Section.module.scssdiff --git a/packages/twenty-ui/src/layout/Section/Section.module.scss.d.ts b/packages/twenty-ui/src/primitives/layout/Section/Section.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/layout/Section/Section.module.scss.d.tsrename to packages/twenty-ui/src/primitives/layout/Section/Section.module.scss.d.tsdiff --git a/packages/twenty-ui/src/layout/Section/Section.tsx b/packages/twenty-ui/src/primitives/layout/Section/Section.tsxsimilarity index 100%rename from packages/twenty-ui/src/layout/Section/Section.tsxrename to packages/twenty-ui/src/primitives/layout/Section/Section.tsxdiff --git a/packages/twenty-ui/src/layout/Section/__stories__/Section.stories.tsx b/packages/twenty-ui/src/primitives/layout/Section/__stories__/Section.stories.tsxsimilarity index 93%rename from packages/twenty-ui/src/layout/Section/__stories__/Section.stories.tsxrename to packages/twenty-ui/src/primitives/layout/Section/__stories__/Section.stories.tsxindex 23ebee521d7..314f4399382 100644--- a/packages/twenty-ui/src/layout/Section/__stories__/Section.stories.tsx+++ b/packages/twenty-ui/src/primitives/layout/Section/__stories__/Section.stories.tsx@@ -5,7 +5,7 @@ import {Section,SectionAlignment,SectionFontColor,-} from '@ui/layout/Section/Section';+} from '@ui/primitives/layout/Section/Section';const meta: Meta<typeof Section> = {title: 'UI/Layout/Section',diff --git a/packages/twenty-ui/src/layout/TextDirectionProvider/TextDirectionProvider.tsx b/packages/twenty-ui/src/primitives/layout/TextDirectionProvider/TextDirectionProvider.tsxsimilarity index 100%rename from packages/twenty-ui/src/layout/TextDirectionProvider/TextDirectionProvider.tsxrename to packages/twenty-ui/src/primitives/layout/TextDirectionProvider/TextDirectionProvider.tsxdiff --git a/packages/twenty-ui/src/layout/index.ts b/packages/twenty-ui/src/primitives/layout/index.tssimilarity index 100%rename from packages/twenty-ui/src/layout/index.tsrename to packages/twenty-ui/src/primitives/layout/index.tsdiff --git a/packages/twenty-ui/src/navigation/ClickToActionLink/ClickToActionLink.module.scss b/packages/twenty-ui/src/primitives/navigation/ClickToActionLink/ClickToActionLink.module.scsssimilarity index 100%rename from packages/twenty-ui/src/navigation/ClickToActionLink/ClickToActionLink.module.scssrename to packages/twenty-ui/src/primitives/navigation/ClickToActionLink/ClickToActionLink.module.scssdiff --git a/packages/twenty-ui/src/navigation/ClickToActionLink/ClickToActionLink.module.scss.d.ts b/packages/twenty-ui/src/primitives/navigation/ClickToActionLink/ClickToActionLink.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/navigation/ClickToActionLink/ClickToActionLink.module.scss.d.tsrename to packages/twenty-ui/src/primitives/navigation/ClickToActionLink/ClickToActionLink.module.scss.d.tsdiff --git a/packages/twenty-ui/src/navigation/ClickToActionLink/ClickToActionLink.tsx b/packages/twenty-ui/src/primitives/navigation/ClickToActionLink/ClickToActionLink.tsxsimilarity index 100%rename from packages/twenty-ui/src/navigation/ClickToActionLink/ClickToActionLink.tsxrename to packages/twenty-ui/src/primitives/navigation/ClickToActionLink/ClickToActionLink.tsxdiff --git a/packages/twenty-ui/src/navigation/ClickToActionLink/__stories__/ClickToActionLink.stories.tsx b/packages/twenty-ui/src/primitives/navigation/ClickToActionLink/__stories__/ClickToActionLink.stories.tsxsimilarity index 88%rename from packages/twenty-ui/src/navigation/ClickToActionLink/__stories__/ClickToActionLink.stories.tsxrename to packages/twenty-ui/src/primitives/navigation/ClickToActionLink/__stories__/ClickToActionLink.stories.tsxindex 2ad476dabf2..f8a8bb2568e 100644--- a/packages/twenty-ui/src/navigation/ClickToActionLink/__stories__/ClickToActionLink.stories.tsx+++ b/packages/twenty-ui/src/primitives/navigation/ClickToActionLink/__stories__/ClickToActionLink.stories.tsx@@ -1,5 +1,5 @@import { type Meta, type StoryObj } from '@storybook/react-vite';-import { ClickToActionLink } from '@ui/navigation/ClickToActionLink/ClickToActionLink';+import { ClickToActionLink } from '@ui/primitives/navigation/ClickToActionLink/ClickToActionLink';import { A11Y_DEFER_COLOR_CONTRAST, ComponentDecorator } from '@ui/testing';const meta: Meta<typeof ClickToActionLink> = {diff --git a/packages/twenty-ui/src/navigation/ContactLink/ContactLink.module.scss b/packages/twenty-ui/src/primitives/navigation/ContactLink/ContactLink.module.scsssimilarity index 100%rename from packages/twenty-ui/src/navigation/ContactLink/ContactLink.module.scssrename to packages/twenty-ui/src/primitives/navigation/ContactLink/ContactLink.module.scssdiff --git a/packages/twenty-ui/src/navigation/ContactLink/ContactLink.module.scss.d.ts b/packages/twenty-ui/src/primitives/navigation/ContactLink/ContactLink.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/navigation/ContactLink/ContactLink.module.scss.d.tsrename to packages/twenty-ui/src/primitives/navigation/ContactLink/ContactLink.module.scss.d.tsdiff --git a/packages/twenty-ui/src/navigation/ContactLink/ContactLink.tsx b/packages/twenty-ui/src/primitives/navigation/ContactLink/ContactLink.tsxsimilarity index 100%rename from packages/twenty-ui/src/navigation/ContactLink/ContactLink.tsxrename to packages/twenty-ui/src/primitives/navigation/ContactLink/ContactLink.tsxdiff --git a/packages/twenty-ui/src/navigation/ContactLink/__stories__/ContactLink.stories.tsx b/packages/twenty-ui/src/primitives/navigation/ContactLink/__stories__/ContactLink.stories.tsxsimilarity index 90%rename from packages/twenty-ui/src/navigation/ContactLink/__stories__/ContactLink.stories.tsxrename to packages/twenty-ui/src/primitives/navigation/ContactLink/__stories__/ContactLink.stories.tsxindex 12af5f9d286..383e635f5c6 100644--- a/packages/twenty-ui/src/navigation/ContactLink/__stories__/ContactLink.stories.tsx+++ b/packages/twenty-ui/src/primitives/navigation/ContactLink/__stories__/ContactLink.stories.tsx@@ -2,7 +2,7 @@ import { type Meta, type StoryObj } from '@storybook/react-vite';import { fn } from 'storybook/test';import { ComponentWithRouterDecorator } from '@ui/testing';-import { ContactLink } from '@ui/navigation/ContactLink/ContactLink';+import { ContactLink } from '@ui/primitives/navigation/ContactLink/ContactLink';const meta: Meta<typeof ContactLink> = {title: 'UI/Navigation/Link/ContactLink',diff --git a/packages/twenty-ui/src/navigation/GithubVersionLink/GithubVersionLink.tsx b/packages/twenty-ui/src/primitives/navigation/GithubVersionLink/GithubVersionLink.tsxsimilarity index 70%rename from packages/twenty-ui/src/navigation/GithubVersionLink/GithubVersionLink.tsxrename to packages/twenty-ui/src/primitives/navigation/GithubVersionLink/GithubVersionLink.tsxindex f9133bb1e8f..04d626c399b 100644--- a/packages/twenty-ui/src/navigation/GithubVersionLink/GithubVersionLink.tsx+++ b/packages/twenty-ui/src/primitives/navigation/GithubVersionLink/GithubVersionLink.tsx@@ -1,6 +1,6 @@import { IconBrandGithub } from '@ui/icon';-import { ClickToActionLink } from '@ui/navigation/ClickToActionLink/ClickToActionLink';-import { GITHUB_LINK } from '@ui/navigation/Link/constants/GithubLink';+import { ClickToActionLink } from '@ui/primitives/navigation/ClickToActionLink/ClickToActionLink';+import { GITHUB_LINK } from '@ui/primitives/navigation/Link/constants/GithubLink';import { useTheme } from '@ui/theme-constants';interface GithubVersionLinkProps {diff --git a/packages/twenty-ui/src/navigation/GithubVersionLink/__stories__/GithubVersionLink.stories.tsx b/packages/twenty-ui/src/primitives/navigation/GithubVersionLink/__stories__/GithubVersionLink.stories.tsxsimilarity index 84%rename from packages/twenty-ui/src/navigation/GithubVersionLink/__stories__/GithubVersionLink.stories.tsxrename to packages/twenty-ui/src/primitives/navigation/GithubVersionLink/__stories__/GithubVersionLink.stories.tsxindex d894f806a04..6fd5a382a60 100644--- a/packages/twenty-ui/src/navigation/GithubVersionLink/__stories__/GithubVersionLink.stories.tsx+++ b/packages/twenty-ui/src/primitives/navigation/GithubVersionLink/__stories__/GithubVersionLink.stories.tsx@@ -4,7 +4,7 @@ import {A11Y_DEFER_COLOR_CONTRAST,ComponentWithRouterDecorator,} from '@ui/testing';-import { GithubVersionLink } from '@ui/navigation/GithubVersionLink/GithubVersionLink';+import { GithubVersionLink } from '@ui/primitives/navigation/GithubVersionLink/GithubVersionLink';const meta: Meta<typeof GithubVersionLink> = {title: 'UI/Navigation/Link/GithubVersionLink',diff --git a/packages/twenty-ui/src/navigation/Link/constants/Cal.ts b/packages/twenty-ui/src/primitives/navigation/Link/constants/Cal.tssimilarity index 100%rename from packages/twenty-ui/src/navigation/Link/constants/Cal.tsrename to packages/twenty-ui/src/primitives/navigation/Link/constants/Cal.tsdiff --git a/packages/twenty-ui/src/navigation/Link/constants/GithubLink.ts b/packages/twenty-ui/src/primitives/navigation/Link/constants/GithubLink.tssimilarity index 100%rename from packages/twenty-ui/src/navigation/Link/constants/GithubLink.tsrename to packages/twenty-ui/src/primitives/navigation/Link/constants/GithubLink.tsdiff --git a/packages/twenty-ui/src/navigation/Link/constants/TwentyPricingLink.ts b/packages/twenty-ui/src/primitives/navigation/Link/constants/TwentyPricingLink.tssimilarity index 100%rename from packages/twenty-ui/src/navigation/Link/constants/TwentyPricingLink.tsrename to packages/twenty-ui/src/primitives/navigation/Link/constants/TwentyPricingLink.tsdiff --git a/packages/twenty-ui/src/navigation/ListItem/ListItem.module.scss b/packages/twenty-ui/src/primitives/navigation/ListItem/ListItem.module.scsssimilarity index 100%rename from packages/twenty-ui/src/navigation/ListItem/ListItem.module.scssrename to packages/twenty-ui/src/primitives/navigation/ListItem/ListItem.module.scssdiff --git a/packages/twenty-ui/src/navigation/ListItem/ListItem.module.scss.d.ts b/packages/twenty-ui/src/primitives/navigation/ListItem/ListItem.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/navigation/ListItem/ListItem.module.scss.d.tsrename to packages/twenty-ui/src/primitives/navigation/ListItem/ListItem.module.scss.d.tsdiff --git a/packages/twenty-ui/src/navigation/ListItem/ListItem.tsx b/packages/twenty-ui/src/primitives/navigation/ListItem/ListItem.tsxsimilarity index 96%rename from packages/twenty-ui/src/navigation/ListItem/ListItem.tsxrename to packages/twenty-ui/src/primitives/navigation/ListItem/ListItem.tsxindex ab08a91f327..199b5a4bae8 100644--- a/packages/twenty-ui/src/navigation/ListItem/ListItem.tsx+++ b/packages/twenty-ui/src/primitives/navigation/ListItem/ListItem.tsx@@ -4,7 +4,7 @@ import { clsx } from 'clsx';import { type MouseEvent } from 'react';import { IconCheck, IconChevronRight } from '@ui/icon';-import { MenuItemHotKeys } from '@ui/navigation/MenuItemHotKeys/MenuItemHotKeys';+import { MenuItemHotKeys } from '@ui/primitives/navigation/MenuItemHotKeys/MenuItemHotKeys';import { isRenderableSlot } from './internal/isRenderableSlot';import { ListItemCheckboxIndicator } from './internal/ListItemCheckboxIndicator';diff --git a/packages/twenty-ui/src/navigation/ListItem/__stories__/ListItem.stories.tsx b/packages/twenty-ui/src/primitives/navigation/ListItem/__stories__/ListItem.stories.tsxsimilarity index 91%rename from packages/twenty-ui/src/navigation/ListItem/__stories__/ListItem.stories.tsxrename to packages/twenty-ui/src/primitives/navigation/ListItem/__stories__/ListItem.stories.tsxindex 0c04f974033..59ad6402386 100644--- a/packages/twenty-ui/src/navigation/ListItem/__stories__/ListItem.stories.tsx+++ b/packages/twenty-ui/src/primitives/navigation/ListItem/__stories__/ListItem.stories.tsx@@ -9,11 +9,11 @@ import {} from '@ui/testing';import { IconBell, IconEdit, IconSettings, IconTrash } from '@ui/icon';-import { LightIconButton } from '@ui/input/LightIconButton/LightIconButton';-import { ListItem } from '@ui/navigation/ListItem/ListItem';-import { type ListItemColor } from '@ui/navigation/ListItem/types/ListItemColor';-import { type ListItemIndicator } from '@ui/navigation/ListItem/types/ListItemIndicator';-import { type ListItemProps } from '@ui/navigation/ListItem/types/ListItemProps';+import { LightIconButton } from '@ui/primitives/input/LightIconButton/LightIconButton';+import { ListItem } from '@ui/primitives/navigation/ListItem/ListItem';+import { type ListItemColor } from '@ui/primitives/navigation/ListItem/types/ListItemColor';+import { type ListItemIndicator } from '@ui/primitives/navigation/ListItem/types/ListItemIndicator';+import { type ListItemProps } from '@ui/primitives/navigation/ListItem/types/ListItemProps';const meta: Meta<typeof ListItem> = {title: 'UI/Navigation/ListItem',diff --git a/packages/twenty-ui/src/navigation/ListItem/__stories__/ListItemInteractions.stories.tsx b/packages/twenty-ui/src/primitives/navigation/ListItem/__stories__/ListItemInteractions.stories.tsxsimilarity index 100%rename from packages/twenty-ui/src/navigation/ListItem/__stories__/ListItemInteractions.stories.tsxrename to packages/twenty-ui/src/primitives/navigation/ListItem/__stories__/ListItemInteractions.stories.tsxdiff --git a/packages/twenty-ui/src/navigation/ListItem/__tests__/ListItem.test.tsx b/packages/twenty-ui/src/primitives/navigation/ListItem/__tests__/ListItem.test.tsxsimilarity index 100%rename from packages/twenty-ui/src/navigation/ListItem/__tests__/ListItem.test.tsxrename to packages/twenty-ui/src/primitives/navigation/ListItem/__tests__/ListItem.test.tsxdiff --git a/packages/twenty-ui/src/navigation/ListItem/internal/ListItemCheckboxIndicator.tsx b/packages/twenty-ui/src/primitives/navigation/ListItem/internal/ListItemCheckboxIndicator.tsxsimilarity index 90%rename from packages/twenty-ui/src/navigation/ListItem/internal/ListItemCheckboxIndicator.tsxrename to packages/twenty-ui/src/primitives/navigation/ListItem/internal/ListItemCheckboxIndicator.tsxindex fbd02c1bbe1..705826b209c 100644--- a/packages/twenty-ui/src/navigation/ListItem/internal/ListItemCheckboxIndicator.tsx+++ b/packages/twenty-ui/src/primitives/navigation/ListItem/internal/ListItemCheckboxIndicator.tsx@@ -1,7 +1,7 @@import { clsx } from 'clsx';import { IconCheck } from '@ui/icon';-import checkboxStyles from '@ui/input/Checkbox/Checkbox.module.scss';+import checkboxStyles from '@ui/primitives/input/Checkbox/Checkbox.module.scss';type ListItemCheckboxIndicatorProps = {checked: boolean;diff --git a/packages/twenty-ui/src/navigation/ListItem/internal/isRenderableSlot.ts b/packages/twenty-ui/src/primitives/navigation/ListItem/internal/isRenderableSlot.tssimilarity index 100%rename from packages/twenty-ui/src/navigation/ListItem/internal/isRenderableSlot.tsrename to packages/twenty-ui/src/primitives/navigation/ListItem/internal/isRenderableSlot.tsdiff --git a/packages/twenty-ui/src/navigation/ListItem/types/ListItemColor.ts b/packages/twenty-ui/src/primitives/navigation/ListItem/types/ListItemColor.tssimilarity index 100%rename from packages/twenty-ui/src/navigation/ListItem/types/ListItemColor.tsrename to packages/twenty-ui/src/primitives/navigation/ListItem/types/ListItemColor.tsdiff --git a/packages/twenty-ui/src/navigation/ListItem/types/ListItemDescriptionPlacement.ts b/packages/twenty-ui/src/primitives/navigation/ListItem/types/ListItemDescriptionPlacement.tssimilarity index 100%rename from packages/twenty-ui/src/navigation/ListItem/types/ListItemDescriptionPlacement.tsrename to packages/twenty-ui/src/primitives/navigation/ListItem/types/ListItemDescriptionPlacement.tsdiff --git a/packages/twenty-ui/src/navigation/ListItem/types/ListItemIndicator.ts b/packages/twenty-ui/src/primitives/navigation/ListItem/types/ListItemIndicator.tssimilarity index 100%rename from packages/twenty-ui/src/navigation/ListItem/types/ListItemIndicator.tsrename to packages/twenty-ui/src/primitives/navigation/ListItem/types/ListItemIndicator.tsdiff --git a/packages/twenty-ui/src/navigation/ListItem/types/ListItemProps.ts b/packages/twenty-ui/src/primitives/navigation/ListItem/types/ListItemProps.tssimilarity index 100%rename from packages/twenty-ui/src/navigation/ListItem/types/ListItemProps.tsrename to packages/twenty-ui/src/primitives/navigation/ListItem/types/ListItemProps.tsdiff --git a/packages/twenty-ui/src/navigation/ListItem/types/ListItemState.ts b/packages/twenty-ui/src/primitives/navigation/ListItem/types/ListItemState.tssimilarity index 100%rename from packages/twenty-ui/src/navigation/ListItem/types/ListItemState.tsrename to packages/twenty-ui/src/primitives/navigation/ListItem/types/ListItemState.tsdiff --git a/packages/twenty-ui/src/navigation/MenuItem/MenuItem.module.scss b/packages/twenty-ui/src/primitives/navigation/MenuItem/MenuItem.module.scsssimilarity index 100%rename from packages/twenty-ui/src/navigation/MenuItem/MenuItem.module.scssrename to packages/twenty-ui/src/primitives/navigation/MenuItem/MenuItem.module.scssdiff --git a/packages/twenty-ui/src/navigation/MenuItem/MenuItem.module.scss.d.ts b/packages/twenty-ui/src/primitives/navigation/MenuItem/MenuItem.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/navigation/MenuItem/MenuItem.module.scss.d.tsrename to packages/twenty-ui/src/primitives/navigation/MenuItem/MenuItem.module.scss.d.tsdiff --git a/packages/twenty-ui/src/navigation/MenuItem/MenuItem.tsx b/packages/twenty-ui/src/primitives/navigation/MenuItem/MenuItem.tsxsimilarity index 88%rename from packages/twenty-ui/src/navigation/MenuItem/MenuItem.tsxrename to packages/twenty-ui/src/primitives/navigation/MenuItem/MenuItem.tsxindex 130316b123a..8b8b7d07804 100644--- a/packages/twenty-ui/src/navigation/MenuItem/MenuItem.tsx+++ b/packages/twenty-ui/src/primitives/navigation/MenuItem/MenuItem.tsx@@ -1,6 +1,6 @@import { IconChevronRight, type IconComponent } from '@ui/icon';-import { type LightIconButtonProps } from '@ui/input/LightIconButton/LightIconButton';-import { LightIconButtonGroup } from '@ui/input/LightIconButtonGroup/LightIconButtonGroup';+import { type LightIconButtonProps } from '@ui/primitives/input/LightIconButton/LightIconButton';+import { LightIconButtonGroup } from '@ui/primitives/input/LightIconButtonGroup/LightIconButtonGroup';import {type FunctionComponent,type MouseEvent,@@ -8,20 +8,20 @@ import {type ReactNode,} from 'react';-import { MenuItemHotKeys } from '@ui/navigation/MenuItemHotKeys/MenuItemHotKeys';+import { MenuItemHotKeys } from '@ui/primitives/navigation/MenuItemHotKeys/MenuItemHotKeys';import { type ThemeColor } from '@ui/theme';import { useTheme } from '@ui/theme-constants';import { clsx } from 'clsx';import { type Nullable } from '@ui/utilities/types/Nullable';-import { MenuItemLeftContent } from '@ui/navigation/MenuItem/parts/MenuItemLeftContent';+import { MenuItemLeftContent } from '@ui/primitives/navigation/MenuItem/parts/MenuItemLeftContent';import {StyledHoverableMenuItemBase,StyledMenuItemIconCheck,StyledMenuItemLabel,StyledMenuItemLeftContent,StyledMenuItemRightContent,-} from '@ui/navigation/MenuItem/parts/StyledMenuItemBase';-import { type MenuItemAccent } from '@ui/navigation/MenuItem/types/MenuItemAccent';+} from '@ui/primitives/navigation/MenuItem/parts/StyledMenuItemBase';+import { type MenuItemAccent } from '@ui/primitives/navigation/MenuItem/types/MenuItemAccent';import styles from './MenuItem.module.scss';diff --git a/packages/twenty-ui/src/navigation/MenuItem/__stories__/MenuItem.stories.tsx b/packages/twenty-ui/src/primitives/navigation/MenuItem/__stories__/MenuItem.stories.tsxsimilarity index 98%rename from packages/twenty-ui/src/navigation/MenuItem/__stories__/MenuItem.stories.tsxrename to packages/twenty-ui/src/primitives/navigation/MenuItem/__stories__/MenuItem.stories.tsxindex 79db82a03e4..2f891ecd65a 100644--- a/packages/twenty-ui/src/navigation/MenuItem/__stories__/MenuItem.stories.tsx+++ b/packages/twenty-ui/src/primitives/navigation/MenuItem/__stories__/MenuItem.stories.tsx@@ -8,8 +8,8 @@ import {type CatalogStory,ComponentDecorator,} from '@ui/testing';-import { type MenuItemAccent } from '@ui/navigation/MenuItem/types/MenuItemAccent';-import { MenuItem } from '@ui/navigation/MenuItem/MenuItem';+import { type MenuItemAccent } from '@ui/primitives/navigation/MenuItem/types/MenuItemAccent';+import { MenuItem } from '@ui/primitives/navigation/MenuItem/MenuItem';const meta: Meta<typeof MenuItem> = {title: 'UI/Navigation/Menu/MenuItem/MenuItem',diff --git a/packages/twenty-ui/src/navigation/MenuItem/constants/DefaultColorLabels.ts b/packages/twenty-ui/src/primitives/navigation/MenuItem/constants/DefaultColorLabels.tssimilarity index 100%rename from packages/twenty-ui/src/navigation/MenuItem/constants/DefaultColorLabels.tsrename to packages/twenty-ui/src/primitives/navigation/MenuItem/constants/DefaultColorLabels.tsdiff --git a/packages/twenty-ui/src/navigation/MenuItem/parts/MenuItemIcon.tsx b/packages/twenty-ui/src/primitives/navigation/MenuItem/parts/MenuItemIcon.tsxsimilarity index 86%rename from packages/twenty-ui/src/navigation/MenuItem/parts/MenuItemIcon.tsxrename to packages/twenty-ui/src/primitives/navigation/MenuItem/parts/MenuItemIcon.tsxindex 8bd453b67bd..23722eb32e6 100644--- a/packages/twenty-ui/src/navigation/MenuItem/parts/MenuItemIcon.tsx+++ b/packages/twenty-ui/src/primitives/navigation/MenuItem/parts/MenuItemIcon.tsx@@ -1,9 +1,9 @@-import { TintedIconTile } from '@ui/data-display';+import { TintedIconTile } from '@ui/primitives/data-display';import { type IconComponent } from '@ui/icon';import { type ThemeColor } from '@ui/theme';import { useTheme } from '@ui/theme-constants';import { isDefined } from '@ui/utilities/utils/isDefined';-import { MenuItemIconBoxContainer } from '@ui/navigation/MenuItem/parts/MenuItemIconBoxContainer';+import { MenuItemIconBoxContainer } from '@ui/primitives/navigation/MenuItem/parts/MenuItemIconBoxContainer';export type MenuItemIconProps = {Icon: IconComponent | null | undefined;diff --git a/packages/twenty-ui/src/navigation/MenuItem/parts/MenuItemIconBoxContainer.module.scss b/packages/twenty-ui/src/primitives/navigation/MenuItem/parts/MenuItemIconBoxContainer.module.scsssimilarity index 100%rename from packages/twenty-ui/src/navigation/MenuItem/parts/MenuItemIconBoxContainer.module.scssrename to packages/twenty-ui/src/primitives/navigation/MenuItem/parts/MenuItemIconBoxContainer.module.scssdiff --git a/packages/twenty-ui/src/navigation/MenuItem/parts/MenuItemIconBoxContainer.module.scss.d.ts b/packages/twenty-ui/src/primitives/navigation/MenuItem/parts/MenuItemIconBoxContainer.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/navigation/MenuItem/parts/MenuItemIconBoxContainer.module.scss.d.tsrename to packages/twenty-ui/src/primitives/navigation/MenuItem/parts/MenuItemIconBoxContainer.module.scss.d.tsdiff --git a/packages/twenty-ui/src/navigation/MenuItem/parts/MenuItemIconBoxContainer.tsx b/packages/twenty-ui/src/primitives/navigation/MenuItem/parts/MenuItemIconBoxContainer.tsxsimilarity index 100%rename from packages/twenty-ui/src/navigation/MenuItem/parts/MenuItemIconBoxContainer.tsxrename to packages/twenty-ui/src/primitives/navigation/MenuItem/parts/MenuItemIconBoxContainer.tsxdiff --git a/packages/twenty-ui/src/navigation/MenuItem/parts/MenuItemIconWithGripSwap.module.scss b/packages/twenty-ui/src/primitives/navigation/MenuItem/parts/MenuItemIconWithGripSwap.module.scsssimilarity index 100%rename from packages/twenty-ui/src/navigation/MenuItem/parts/MenuItemIconWithGripSwap.module.scssrename to packages/twenty-ui/src/primitives/navigation/MenuItem/parts/MenuItemIconWithGripSwap.module.scssdiff --git a/packages/twenty-ui/src/navigation/MenuItem/parts/MenuItemIconWithGripSwap.module.scss.d.ts b/packages/twenty-ui/src/primitives/navigation/MenuItem/parts/MenuItemIconWithGripSwap.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/navigation/MenuItem/parts/MenuItemIconWithGripSwap.module.scss.d.tsrename to packages/twenty-ui/src/primitives/navigation/MenuItem/parts/MenuItemIconWithGripSwap.module.scss.d.tsdiff --git a/packages/twenty-ui/src/navigation/MenuItem/parts/MenuItemIconWithGripSwap.tsx b/packages/twenty-ui/src/primitives/navigation/MenuItem/parts/MenuItemIconWithGripSwap.tsxsimilarity index 90%rename from packages/twenty-ui/src/navigation/MenuItem/parts/MenuItemIconWithGripSwap.tsxrename to packages/twenty-ui/src/primitives/navigation/MenuItem/parts/MenuItemIconWithGripSwap.tsxindex 86258e80dae..bcee36a8ce6 100644--- a/packages/twenty-ui/src/navigation/MenuItem/parts/MenuItemIconWithGripSwap.tsx+++ b/packages/twenty-ui/src/primitives/navigation/MenuItem/parts/MenuItemIconWithGripSwap.tsx@@ -1,10 +1,10 @@-import { TintedIconTile } from '@ui/data-display';+import { TintedIconTile } from '@ui/primitives/data-display';import { type IconComponent, IconGripVertical } from '@ui/icon';import { type ThemeColor } from '@ui/theme';import { useTheme } from '@ui/theme-constants';import { clsx } from 'clsx';import { isDefined } from '@ui/utilities/utils/isDefined';-import { MenuItemIconBoxContainer } from '@ui/navigation/MenuItem/parts/MenuItemIconBoxContainer';+import { MenuItemIconBoxContainer } from '@ui/primitives/navigation/MenuItem/parts/MenuItemIconBoxContainer';import styles from './MenuItemIconWithGripSwap.module.scss';diff --git a/packages/twenty-ui/src/navigation/MenuItem/parts/MenuItemLeftContent.module.scss b/packages/twenty-ui/src/primitives/navigation/MenuItem/parts/MenuItemLeftContent.module.scsssimilarity index 100%rename from packages/twenty-ui/src/navigation/MenuItem/parts/MenuItemLeftContent.module.scssrename to packages/twenty-ui/src/primitives/navigation/MenuItem/parts/MenuItemLeftContent.module.scssdiff --git a/packages/twenty-ui/src/navigation/MenuItem/parts/MenuItemLeftContent.module.scss.d.ts b/packages/twenty-ui/src/primitives/navigation/MenuItem/parts/MenuItemLeftContent.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/navigation/MenuItem/parts/MenuItemLeftContent.module.scss.d.tsrename to packages/twenty-ui/src/primitives/navigation/MenuItem/parts/MenuItemLeftContent.module.scss.d.tsdiff --git a/packages/twenty-ui/src/navigation/MenuItem/parts/MenuItemLeftContent.tsx b/packages/twenty-ui/src/primitives/navigation/MenuItem/parts/MenuItemLeftContent.tsxsimilarity index 87%rename from packages/twenty-ui/src/navigation/MenuItem/parts/MenuItemLeftContent.tsxrename to packages/twenty-ui/src/primitives/navigation/MenuItem/parts/MenuItemLeftContent.tsxindex 12cb51cc6a7..2f476606969 100644--- a/packages/twenty-ui/src/navigation/MenuItem/parts/MenuItemLeftContent.tsx+++ b/packages/twenty-ui/src/primitives/navigation/MenuItem/parts/MenuItemLeftContent.tsx@@ -2,20 +2,20 @@ import { isNonEmptyString, isString } from '@sniptt/guards';import { type ReactNode } from 'react';import { type IconComponent, IconGripVertical } from '@ui/icon';-import { OverflowingTextWithTooltip } from '@ui/surfaces';+import { OverflowingTextWithTooltip } from '@ui/primitives/surfaces';import { type ThemeColor } from '@ui/theme';import { themeCssVariables, useTheme } from '@ui/theme-constants';-import { type MenuItemDraggableGripMode } from '@ui/navigation/MenuItem/types/MenuItemDraggableGripMode';-import { MenuItemIcon } from '@ui/navigation/MenuItem/parts/MenuItemIcon';-import { MenuItemIconBoxContainer } from '@ui/navigation/MenuItem/parts/MenuItemIconBoxContainer';-import { MenuItemIconWithGripSwap } from '@ui/navigation/MenuItem/parts/MenuItemIconWithGripSwap';+import { type MenuItemDraggableGripMode } from '@ui/primitives/navigation/MenuItem/types/MenuItemDraggableGripMode';+import { MenuItemIcon } from '@ui/primitives/navigation/MenuItem/parts/MenuItemIcon';+import { MenuItemIconBoxContainer } from '@ui/primitives/navigation/MenuItem/parts/MenuItemIconBoxContainer';+import { MenuItemIconWithGripSwap } from '@ui/primitives/navigation/MenuItem/parts/MenuItemIconWithGripSwap';import {StyledDraggableItem,StyledMenuItemContextualText,StyledMenuItemLabel,StyledMenuItemLeftContent,StyledRightMenuItemContextualText,-} from '@ui/navigation/MenuItem/parts/StyledMenuItemBase';+} from '@ui/primitives/navigation/MenuItem/parts/StyledMenuItemBase';import styles from './MenuItemLeftContent.module.scss';diff --git a/packages/twenty-ui/src/navigation/MenuItem/parts/MenuItemMultiSelectCheckbox.module.scss b/packages/twenty-ui/src/primitives/navigation/MenuItem/parts/MenuItemMultiSelectCheckbox.module.scsssimilarity index 100%rename from packages/twenty-ui/src/navigation/MenuItem/parts/MenuItemMultiSelectCheckbox.module.scssrename to packages/twenty-ui/src/primitives/navigation/MenuItem/parts/MenuItemMultiSelectCheckbox.module.scssdiff --git a/packages/twenty-ui/src/navigation/MenuItem/parts/MenuItemMultiSelectCheckbox.module.scss.d.ts b/packages/twenty-ui/src/primitives/navigation/MenuItem/parts/MenuItemMultiSelectCheckbox.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/navigation/MenuItem/parts/MenuItemMultiSelectCheckbox.module.scss.d.tsrename to packages/twenty-ui/src/primitives/navigation/MenuItem/parts/MenuItemMultiSelectCheckbox.module.scss.d.tsdiff --git a/packages/twenty-ui/src/navigation/MenuItem/parts/MenuItemMultiSelectCheckbox.tsx b/packages/twenty-ui/src/primitives/navigation/MenuItem/parts/MenuItemMultiSelectCheckbox.tsxsimilarity index 92%rename from packages/twenty-ui/src/navigation/MenuItem/parts/MenuItemMultiSelectCheckbox.tsxrename to packages/twenty-ui/src/primitives/navigation/MenuItem/parts/MenuItemMultiSelectCheckbox.tsxindex 472dd6ef17b..86432c55009 100644--- a/packages/twenty-ui/src/navigation/MenuItem/parts/MenuItemMultiSelectCheckbox.tsx+++ b/packages/twenty-ui/src/primitives/navigation/MenuItem/parts/MenuItemMultiSelectCheckbox.tsx@@ -1,4 +1,4 @@-import { Checkbox } from '@ui/input/Checkbox/Checkbox';+import { Checkbox } from '@ui/primitives/input/Checkbox/Checkbox';import styles from './MenuItemMultiSelectCheckbox.module.scss';diff --git a/packages/twenty-ui/src/navigation/MenuItem/parts/StyledMenuItemBase.module.scss b/packages/twenty-ui/src/primitives/navigation/MenuItem/parts/StyledMenuItemBase.module.scsssimilarity index 100%rename from packages/twenty-ui/src/navigation/MenuItem/parts/StyledMenuItemBase.module.scssrename to packages/twenty-ui/src/primitives/navigation/MenuItem/parts/StyledMenuItemBase.module.scssdiff --git a/packages/twenty-ui/src/navigation/MenuItem/parts/StyledMenuItemBase.module.scss.d.ts b/packages/twenty-ui/src/primitives/navigation/MenuItem/parts/StyledMenuItemBase.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/navigation/MenuItem/parts/StyledMenuItemBase.module.scss.d.tsrename to packages/twenty-ui/src/primitives/navigation/MenuItem/parts/StyledMenuItemBase.module.scss.d.tsdiff --git a/packages/twenty-ui/src/navigation/MenuItem/parts/StyledMenuItemBase.tsx b/packages/twenty-ui/src/primitives/navigation/MenuItem/parts/StyledMenuItemBase.tsxsimilarity index 97%rename from packages/twenty-ui/src/navigation/MenuItem/parts/StyledMenuItemBase.tsxrename to packages/twenty-ui/src/primitives/navigation/MenuItem/parts/StyledMenuItemBase.tsxindex eee179ff1ae..8e270bc184d 100644--- a/packages/twenty-ui/src/navigation/MenuItem/parts/StyledMenuItemBase.tsx+++ b/packages/twenty-ui/src/primitives/navigation/MenuItem/parts/StyledMenuItemBase.tsx@@ -2,7 +2,7 @@ import { clsx } from 'clsx';import { type ComponentPropsWithoutRef, forwardRef } from 'react';import { IconCheck } from '@ui/icon';-import { type MenuItemAccent } from '@ui/navigation/MenuItem/types/MenuItemAccent';+import { type MenuItemAccent } from '@ui/primitives/navigation/MenuItem/types/MenuItemAccent';import styles from './StyledMenuItemBase.module.scss';diff --git a/packages/twenty-ui/src/navigation/MenuItem/types/MenuItemAccent.ts b/packages/twenty-ui/src/primitives/navigation/MenuItem/types/MenuItemAccent.tssimilarity index 100%rename from packages/twenty-ui/src/navigation/MenuItem/types/MenuItemAccent.tsrename to packages/twenty-ui/src/primitives/navigation/MenuItem/types/MenuItemAccent.tsdiff --git a/packages/twenty-ui/src/navigation/MenuItem/types/MenuItemDraggableGripMode.ts b/packages/twenty-ui/src/primitives/navigation/MenuItem/types/MenuItemDraggableGripMode.tssimilarity index 100%rename from packages/twenty-ui/src/navigation/MenuItem/types/MenuItemDraggableGripMode.tsrename to packages/twenty-ui/src/primitives/navigation/MenuItem/types/MenuItemDraggableGripMode.tsdiff --git a/packages/twenty-ui/src/navigation/MenuItemAvatar/MenuItemAvatar.tsx b/packages/twenty-ui/src/primitives/navigation/MenuItemAvatar/MenuItemAvatar.tsxsimilarity index 84%rename from packages/twenty-ui/src/navigation/MenuItemAvatar/MenuItemAvatar.tsxrename to packages/twenty-ui/src/primitives/navigation/MenuItemAvatar/MenuItemAvatar.tsxindex e1b87c35c6b..84e5b4589c0 100644--- a/packages/twenty-ui/src/navigation/MenuItemAvatar/MenuItemAvatar.tsx+++ b/packages/twenty-ui/src/primitives/navigation/MenuItemAvatar/MenuItemAvatar.tsx@@ -1,11 +1,12 @@-import { Avatar, type AvatarProps } from '@ui/data-display';+import { Avatar } from '@ui/primitives/data-display/Avatar/Avatar';+import { type AvatarProps } from '@ui/primitives/data-display/Avatar/types/AvatarProps';import {type MenuItemIconButton,MenuItem,-} from '@ui/navigation/MenuItem/MenuItem';+} from '@ui/primitives/navigation/MenuItem/MenuItem';import { type MouseEvent, type ReactNode } from 'react';import { isDefined } from '@ui/utilities/utils/isDefined';-import { type MenuItemAccent } from '@ui/navigation/MenuItem/types/MenuItemAccent';+import { type MenuItemAccent } from '@ui/primitives/navigation/MenuItem/types/MenuItemAccent';export type MenuItemAvatarProps = {accent?: MenuItemAccent;diff --git a/packages/twenty-ui/src/navigation/MenuItemDraggable/MenuItemDraggable.tsx b/packages/twenty-ui/src/primitives/navigation/MenuItemDraggable/MenuItemDraggable.tsxsimilarity index 74%rename from packages/twenty-ui/src/navigation/MenuItemDraggable/MenuItemDraggable.tsxrename to packages/twenty-ui/src/primitives/navigation/MenuItemDraggable/MenuItemDraggable.tsxindex 236ee8f2870..ce61e855bf2 100644--- a/packages/twenty-ui/src/navigation/MenuItemDraggable/MenuItemDraggable.tsx+++ b/packages/twenty-ui/src/primitives/navigation/MenuItemDraggable/MenuItemDraggable.tsx@@ -1,12 +1,12 @@-import { MenuItemLeftContent } from '@ui/navigation/MenuItem/parts/MenuItemLeftContent';-import { StyledHoverableMenuItemBase } from '@ui/navigation/MenuItem/parts/StyledMenuItemBase';-import { type MenuItemAccent } from '@ui/navigation/MenuItem/types/MenuItemAccent';+import { MenuItemLeftContent } from '@ui/primitives/navigation/MenuItem/parts/MenuItemLeftContent';+import { StyledHoverableMenuItemBase } from '@ui/primitives/navigation/MenuItem/parts/StyledMenuItemBase';+import { type MenuItemAccent } from '@ui/primitives/navigation/MenuItem/types/MenuItemAccent';import { type IconComponent } from '@ui/icon';-import { LightIconButtonGroup } from '@ui/input';+import { LightIconButtonGroup } from '@ui/primitives/input';import { type ReactNode } from 'react';-import { type MenuItemDraggableGripMode } from '@ui/navigation/MenuItem/types/MenuItemDraggableGripMode';-import { type MenuItemIconButton } from '@ui/navigation/MenuItem/MenuItem';+import { type MenuItemDraggableGripMode } from '@ui/primitives/navigation/MenuItem/types/MenuItemDraggableGripMode';+import { type MenuItemIconButton } from '@ui/primitives/navigation/MenuItem/MenuItem';export type MenuItemDraggableProps = {LeftIcon?: IconComponent | undefined;diff --git a/packages/twenty-ui/src/navigation/MenuItemDraggable/__stories__/MenuItemDraggable.stories.tsx b/packages/twenty-ui/src/primitives/navigation/MenuItemDraggable/__stories__/MenuItemDraggable.stories.tsxsimilarity index 95%rename from packages/twenty-ui/src/navigation/MenuItemDraggable/__stories__/MenuItemDraggable.stories.tsxrename to packages/twenty-ui/src/primitives/navigation/MenuItemDraggable/__stories__/MenuItemDraggable.stories.tsxindex 14fbd80234f..32893d2b9dc 100644--- a/packages/twenty-ui/src/navigation/MenuItemDraggable/__stories__/MenuItemDraggable.stories.tsx+++ b/packages/twenty-ui/src/primitives/navigation/MenuItemDraggable/__stories__/MenuItemDraggable.stories.tsx@@ -9,8 +9,8 @@ import {type CatalogOptions,ComponentDecorator,} from '@ui/testing';-import { type MenuItemAccent } from '@ui/navigation/MenuItem/types/MenuItemAccent';-import { MenuItemDraggable } from '@ui/navigation/MenuItemDraggable/MenuItemDraggable';+import { type MenuItemAccent } from '@ui/primitives/navigation/MenuItem/types/MenuItemAccent';+import { MenuItemDraggable } from '@ui/primitives/navigation/MenuItemDraggable/MenuItemDraggable';const meta: Meta<typeof MenuItemDraggable> = {title: 'UI/Navigation/Menu/MenuItem/MenuItemDraggable',diff --git a/packages/twenty-ui/src/navigation/MenuItemHotKeys/MenuItemHotKeys.module.scss b/packages/twenty-ui/src/primitives/navigation/MenuItemHotKeys/MenuItemHotKeys.module.scsssimilarity index 100%rename from packages/twenty-ui/src/navigation/MenuItemHotKeys/MenuItemHotKeys.module.scssrename to packages/twenty-ui/src/primitives/navigation/MenuItemHotKeys/MenuItemHotKeys.module.scssdiff --git a/packages/twenty-ui/src/navigation/MenuItemHotKeys/MenuItemHotKeys.module.scss.d.ts b/packages/twenty-ui/src/primitives/navigation/MenuItemHotKeys/MenuItemHotKeys.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/navigation/MenuItemHotKeys/MenuItemHotKeys.module.scss.d.tsrename to packages/twenty-ui/src/primitives/navigation/MenuItemHotKeys/MenuItemHotKeys.module.scss.d.tsdiff --git a/packages/twenty-ui/src/navigation/MenuItemHotKeys/MenuItemHotKeys.tsx b/packages/twenty-ui/src/primitives/navigation/MenuItemHotKeys/MenuItemHotKeys.tsxsimilarity index 100%rename from packages/twenty-ui/src/navigation/MenuItemHotKeys/MenuItemHotKeys.tsxrename to packages/twenty-ui/src/primitives/navigation/MenuItemHotKeys/MenuItemHotKeys.tsxdiff --git a/packages/twenty-ui/src/navigation/MenuItemMultiSelect/MenuItemMultiSelect.module.scss b/packages/twenty-ui/src/primitives/navigation/MenuItemMultiSelect/MenuItemMultiSelect.module.scsssimilarity index 100%rename from packages/twenty-ui/src/navigation/MenuItemMultiSelect/MenuItemMultiSelect.module.scssrename to packages/twenty-ui/src/primitives/navigation/MenuItemMultiSelect/MenuItemMultiSelect.module.scssdiff --git a/packages/twenty-ui/src/navigation/MenuItemMultiSelect/MenuItemMultiSelect.module.scss.d.ts b/packages/twenty-ui/src/primitives/navigation/MenuItemMultiSelect/MenuItemMultiSelect.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/navigation/MenuItemMultiSelect/MenuItemMultiSelect.module.scss.d.tsrename to packages/twenty-ui/src/primitives/navigation/MenuItemMultiSelect/MenuItemMultiSelect.module.scss.d.tsdiff --git a/packages/twenty-ui/src/navigation/MenuItemMultiSelect/MenuItemMultiSelect.tsx b/packages/twenty-ui/src/primitives/navigation/MenuItemMultiSelect/MenuItemMultiSelect.tsxsimilarity index 80%rename from packages/twenty-ui/src/navigation/MenuItemMultiSelect/MenuItemMultiSelect.tsxrename to packages/twenty-ui/src/primitives/navigation/MenuItemMultiSelect/MenuItemMultiSelect.tsxindex 52697247593..50cff70da5a 100644--- a/packages/twenty-ui/src/navigation/MenuItemMultiSelect/MenuItemMultiSelect.tsx+++ b/packages/twenty-ui/src/primitives/navigation/MenuItemMultiSelect/MenuItemMultiSelect.tsx@@ -1,9 +1,9 @@-import { Tag } from '@ui/data-display';+import { Tag } from '@ui/primitives/data-display/Tag/Tag';import { type IconComponent } from '@ui/icon';-import { MenuItemLeftContent } from '@ui/navigation/MenuItem/parts/MenuItemLeftContent';-import { MenuItemMultiSelectCheckbox } from '@ui/navigation/MenuItem/parts/MenuItemMultiSelectCheckbox';+import { MenuItemLeftContent } from '@ui/primitives/navigation/MenuItem/parts/MenuItemLeftContent';+import { MenuItemMultiSelectCheckbox } from '@ui/primitives/navigation/MenuItem/parts/MenuItemMultiSelectCheckbox';import { type ThemeColor } from '@ui/theme';-import { StyledMenuItemBase } from '@ui/navigation/MenuItem/parts/StyledMenuItemBase';+import { StyledMenuItemBase } from '@ui/primitives/navigation/MenuItem/parts/StyledMenuItemBase';import { isDefined } from '@ui/utilities/utils/isDefined';import styles from './MenuItemMultiSelect.module.scss';diff --git a/packages/twenty-ui/src/navigation/MenuItemMultiSelect/__stories__/MenuItemMultiSelect.stories.tsx b/packages/twenty-ui/src/primitives/navigation/MenuItemMultiSelect/__stories__/MenuItemMultiSelect.stories.tsxsimilarity index 95%rename from packages/twenty-ui/src/navigation/MenuItemMultiSelect/__stories__/MenuItemMultiSelect.stories.tsxrename to packages/twenty-ui/src/primitives/navigation/MenuItemMultiSelect/__stories__/MenuItemMultiSelect.stories.tsxindex 68077d8e2e3..1731386ca8a 100644--- a/packages/twenty-ui/src/navigation/MenuItemMultiSelect/__stories__/MenuItemMultiSelect.stories.tsx+++ b/packages/twenty-ui/src/primitives/navigation/MenuItemMultiSelect/__stories__/MenuItemMultiSelect.stories.tsx@@ -9,7 +9,7 @@ import {type CatalogStory,ComponentDecorator,} from '@ui/testing';-import { MenuItemMultiSelect } from '@ui/navigation/MenuItemMultiSelect/MenuItemMultiSelect';+import { MenuItemMultiSelect } from '@ui/primitives/navigation/MenuItemMultiSelect/MenuItemMultiSelect';const meta: Meta<typeof MenuItemMultiSelect> = {title: 'UI/Navigation/Menu/MenuItem/MenuItemMultiSelect',diff --git a/packages/twenty-ui/src/navigation/MenuItemMultiSelectAvatar/MenuItemMultiSelectAvatar.module.scss b/packages/twenty-ui/src/primitives/navigation/MenuItemMultiSelectAvatar/MenuItemMultiSelectAvatar.module.scsssimilarity index 100%rename from packages/twenty-ui/src/navigation/MenuItemMultiSelectAvatar/MenuItemMultiSelectAvatar.module.scssrename to packages/twenty-ui/src/primitives/navigation/MenuItemMultiSelectAvatar/MenuItemMultiSelectAvatar.module.scssdiff --git a/packages/twenty-ui/src/navigation/MenuItemMultiSelectAvatar/MenuItemMultiSelectAvatar.module.scss.d.ts b/packages/twenty-ui/src/primitives/navigation/MenuItemMultiSelectAvatar/MenuItemMultiSelectAvatar.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/navigation/MenuItemMultiSelectAvatar/MenuItemMultiSelectAvatar.module.scss.d.tsrename to packages/twenty-ui/src/primitives/navigation/MenuItemMultiSelectAvatar/MenuItemMultiSelectAvatar.module.scss.d.tsdiff --git a/packages/twenty-ui/src/navigation/MenuItemMultiSelectAvatar/MenuItemMultiSelectAvatar.tsx b/packages/twenty-ui/src/primitives/navigation/MenuItemMultiSelectAvatar/MenuItemMultiSelectAvatar.tsxsimilarity index 87%rename from packages/twenty-ui/src/navigation/MenuItemMultiSelectAvatar/MenuItemMultiSelectAvatar.tsxrename to packages/twenty-ui/src/primitives/navigation/MenuItemMultiSelectAvatar/MenuItemMultiSelectAvatar.tsxindex c0963e05c3d..bd8f494ea8b 100644--- a/packages/twenty-ui/src/navigation/MenuItemMultiSelectAvatar/MenuItemMultiSelectAvatar.tsx+++ b/packages/twenty-ui/src/primitives/navigation/MenuItemMultiSelectAvatar/MenuItemMultiSelectAvatar.tsx@@ -1,13 +1,13 @@import { type ReactNode } from 'react';-import { OverflowingTextWithTooltip } from '@ui/surfaces';-import { MenuItemMultiSelectCheckbox } from '@ui/navigation/MenuItem/parts/MenuItemMultiSelectCheckbox';+import { OverflowingTextWithTooltip } from '@ui/primitives/surfaces';+import { MenuItemMultiSelectCheckbox } from '@ui/primitives/navigation/MenuItem/parts/MenuItemMultiSelectCheckbox';import {StyledMenuItemBase,StyledMenuItemLabel,StyledMenuItemLabelLight,StyledMenuItemLeftContent,-} from '@ui/navigation/MenuItem/parts/StyledMenuItemBase';+} from '@ui/primitives/navigation/MenuItem/parts/StyledMenuItemBase';import styles from './MenuItemMultiSelectAvatar.module.scss';diff --git a/packages/twenty-ui/src/navigation/MenuItemMultiSelectAvatar/__stories__/MenuItemMultiSelectAvatar.stories.tsx b/packages/twenty-ui/src/primitives/navigation/MenuItemMultiSelectAvatar/__stories__/MenuItemMultiSelectAvatar.stories.tsxsimilarity index 93%rename from packages/twenty-ui/src/navigation/MenuItemMultiSelectAvatar/__stories__/MenuItemMultiSelectAvatar.stories.tsxrename to packages/twenty-ui/src/primitives/navigation/MenuItemMultiSelectAvatar/__stories__/MenuItemMultiSelectAvatar.stories.tsxindex 411507daae1..66594c42d12 100644--- a/packages/twenty-ui/src/navigation/MenuItemMultiSelectAvatar/__stories__/MenuItemMultiSelectAvatar.stories.tsx+++ b/packages/twenty-ui/src/primitives/navigation/MenuItemMultiSelectAvatar/__stories__/MenuItemMultiSelectAvatar.stories.tsx@@ -1,7 +1,7 @@import { type Meta, type StoryObj } from '@storybook/react-vite';import { expect, fn, userEvent, within } from 'storybook/test';-import { Avatar } from '@ui/data-display';+import { Avatar } from '@ui/primitives/data-display/Avatar/Avatar';import {A11Y_DEFER_COLOR_CONTRAST,AVATAR_URL_MOCK,@@ -11,7 +11,7 @@ import {type CatalogStory,ComponentDecorator,} from '@ui/testing';-import { MenuItemMultiSelectAvatar } from '@ui/navigation/MenuItemMultiSelectAvatar/MenuItemMultiSelectAvatar';+import { MenuItemMultiSelectAvatar } from '@ui/primitives/navigation/MenuItemMultiSelectAvatar/MenuItemMultiSelectAvatar';const meta: Meta<typeof MenuItemMultiSelectAvatar> = {title: 'UI/Navigation/Menu/MenuItem/MenuItemMultiSelectAvatar',diff --git a/packages/twenty-ui/src/navigation/MenuItemMultiSelectTag/MenuItemMultiSelectTag.tsx b/packages/twenty-ui/src/primitives/navigation/MenuItemMultiSelectTag/MenuItemMultiSelectTag.tsxsimilarity index 81%rename from packages/twenty-ui/src/navigation/MenuItemMultiSelectTag/MenuItemMultiSelectTag.tsxrename to packages/twenty-ui/src/primitives/navigation/MenuItemMultiSelectTag/MenuItemMultiSelectTag.tsxindex 9e1c519a2bb..35c90fea7e8 100644--- a/packages/twenty-ui/src/navigation/MenuItemMultiSelectTag/MenuItemMultiSelectTag.tsx+++ b/packages/twenty-ui/src/primitives/navigation/MenuItemMultiSelectTag/MenuItemMultiSelectTag.tsx@@ -1,11 +1,11 @@-import { Tag } from '@ui/data-display';+import { Tag } from '@ui/primitives/data-display/Tag/Tag';import { type IconComponent } from '@ui/icon';import { type ThemeColor } from '@ui/theme';-import { MenuItemMultiSelectCheckbox } from '@ui/navigation/MenuItem/parts/MenuItemMultiSelectCheckbox';+import { MenuItemMultiSelectCheckbox } from '@ui/primitives/navigation/MenuItem/parts/MenuItemMultiSelectCheckbox';import {StyledMenuItemBase,StyledMenuItemLeftContent,-} from '@ui/navigation/MenuItem/parts/StyledMenuItemBase';+} from '@ui/primitives/navigation/MenuItem/parts/StyledMenuItemBase';import { isDefined } from '@ui/utilities/utils/isDefined';type MenuItemMultiSelectTagProps = {diff --git a/packages/twenty-ui/src/navigation/MenuItemNavigate/MenuItemNavigate.tsx b/packages/twenty-ui/src/primitives/navigation/MenuItemNavigate/MenuItemNavigate.tsxsimilarity index 84%rename from packages/twenty-ui/src/navigation/MenuItemNavigate/MenuItemNavigate.tsxrename to packages/twenty-ui/src/primitives/navigation/MenuItemNavigate/MenuItemNavigate.tsxindex 87e77aa0dbb..9d5cc8bb4fa 100644--- a/packages/twenty-ui/src/navigation/MenuItemNavigate/MenuItemNavigate.tsx+++ b/packages/twenty-ui/src/primitives/navigation/MenuItemNavigate/MenuItemNavigate.tsx@@ -1,10 +1,10 @@import { IconChevronRight, type IconComponent } from '@ui/icon';import { useTheme } from '@ui/theme-constants';-import { MenuItemLeftContent } from '@ui/navigation/MenuItem/parts/MenuItemLeftContent';+import { MenuItemLeftContent } from '@ui/primitives/navigation/MenuItem/parts/MenuItemLeftContent';import {StyledMenuItemBase,StyledMenuItemLeftContent,-} from '@ui/navigation/MenuItem/parts/StyledMenuItemBase';+} from '@ui/primitives/navigation/MenuItem/parts/StyledMenuItemBase';export type MenuItemNavigateProps = {LeftIcon?: IconComponent;diff --git a/packages/twenty-ui/src/navigation/MenuItemNavigate/__stories__/MenuItemNavigate.stories.tsx b/packages/twenty-ui/src/primitives/navigation/MenuItemNavigate/__stories__/MenuItemNavigate.stories.tsxsimilarity index 95%rename from packages/twenty-ui/src/navigation/MenuItemNavigate/__stories__/MenuItemNavigate.stories.tsxrename to packages/twenty-ui/src/primitives/navigation/MenuItemNavigate/__stories__/MenuItemNavigate.stories.tsxindex 40abe1a481d..d453d66a776 100644--- a/packages/twenty-ui/src/navigation/MenuItemNavigate/__stories__/MenuItemNavigate.stories.tsx+++ b/packages/twenty-ui/src/primitives/navigation/MenuItemNavigate/__stories__/MenuItemNavigate.stories.tsx@@ -1,7 +1,7 @@import { type Meta, type StoryObj } from '@storybook/react-vite';import { IconBell } from '@ui/icon';-import { MenuItemNavigate } from '@ui/navigation/MenuItemNavigate/MenuItemNavigate';+import { MenuItemNavigate } from '@ui/primitives/navigation/MenuItemNavigate/MenuItemNavigate';import {A11Y_DEFER_COLOR_CONTRAST,diff --git a/packages/twenty-ui/src/navigation/MenuItemSelect/MenuItemSelect.module.scss b/packages/twenty-ui/src/primitives/navigation/MenuItemSelect/MenuItemSelect.module.scsssimilarity index 100%rename from packages/twenty-ui/src/navigation/MenuItemSelect/MenuItemSelect.module.scssrename to packages/twenty-ui/src/primitives/navigation/MenuItemSelect/MenuItemSelect.module.scssdiff --git a/packages/twenty-ui/src/navigation/MenuItemSelect/MenuItemSelect.module.scss.d.ts b/packages/twenty-ui/src/primitives/navigation/MenuItemSelect/MenuItemSelect.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/navigation/MenuItemSelect/MenuItemSelect.module.scss.d.tsrename to packages/twenty-ui/src/primitives/navigation/MenuItemSelect/MenuItemSelect.module.scss.d.tsdiff --git a/packages/twenty-ui/src/navigation/MenuItemSelect/MenuItemSelect.tsx b/packages/twenty-ui/src/primitives/navigation/MenuItemSelect/MenuItemSelect.tsxsimilarity index 93%rename from packages/twenty-ui/src/navigation/MenuItemSelect/MenuItemSelect.tsxrename to packages/twenty-ui/src/primitives/navigation/MenuItemSelect/MenuItemSelect.tsxindex 174ca14e302..24f8585cc90 100644--- a/packages/twenty-ui/src/navigation/MenuItemSelect/MenuItemSelect.tsx+++ b/packages/twenty-ui/src/primitives/navigation/MenuItemSelect/MenuItemSelect.tsx@@ -1,6 +1,6 @@import { isString } from '@sniptt/guards';import { IconCheck, IconChevronRight, type IconComponent } from '@ui/icon';-import { OverflowingTextWithTooltip } from '@ui/surfaces';+import { OverflowingTextWithTooltip } from '@ui/primitives/surfaces';import { type ThemeColor } from '@ui/theme';import { useTheme } from '@ui/theme-constants';import { clsx } from 'clsx';@@ -9,12 +9,12 @@ import {forwardRef,type ReactNode,} from 'react';-import { MenuItemLeftContent } from '@ui/navigation/MenuItem/parts/MenuItemLeftContent';+import { MenuItemLeftContent } from '@ui/primitives/navigation/MenuItem/parts/MenuItemLeftContent';import {StyledMenuItemLabel,StyledMenuItemRightContent,StyledRightMenuItemContextualText,-} from '@ui/navigation/MenuItem/parts/StyledMenuItemBase';+} from '@ui/primitives/navigation/MenuItem/parts/StyledMenuItemBase';import styles from './MenuItemSelect.module.scss';diff --git a/packages/twenty-ui/src/navigation/MenuItemSelect/__stories__/MenuItemSelect.stories.tsx b/packages/twenty-ui/src/primitives/navigation/MenuItemSelect/__stories__/MenuItemSelect.stories.tsxsimilarity index 96%rename from packages/twenty-ui/src/navigation/MenuItemSelect/__stories__/MenuItemSelect.stories.tsxrename to packages/twenty-ui/src/primitives/navigation/MenuItemSelect/__stories__/MenuItemSelect.stories.tsxindex 456254bc362..e191da6929f 100644--- a/packages/twenty-ui/src/navigation/MenuItemSelect/__stories__/MenuItemSelect.stories.tsx+++ b/packages/twenty-ui/src/primitives/navigation/MenuItemSelect/__stories__/MenuItemSelect.stories.tsx@@ -8,7 +8,7 @@ import {type CatalogStory,ComponentDecorator,} from '@ui/testing';-import { MenuItemSelect } from '@ui/navigation/MenuItemSelect/MenuItemSelect';+import { MenuItemSelect } from '@ui/primitives/navigation/MenuItemSelect/MenuItemSelect';import { IconBell } from '@ui/icon';const meta: Meta<typeof MenuItemSelect> = {diff --git a/packages/twenty-ui/src/navigation/MenuItemSelect/__tests__/MenuItemSelect.test.tsx b/packages/twenty-ui/src/primitives/navigation/MenuItemSelect/__tests__/MenuItemSelect.test.tsxsimilarity index 92%rename from packages/twenty-ui/src/navigation/MenuItemSelect/__tests__/MenuItemSelect.test.tsxrename to packages/twenty-ui/src/primitives/navigation/MenuItemSelect/__tests__/MenuItemSelect.test.tsxindex e68c06f9ec7..d726ee050fb 100644--- a/packages/twenty-ui/src/navigation/MenuItemSelect/__tests__/MenuItemSelect.test.tsx+++ b/packages/twenty-ui/src/primitives/navigation/MenuItemSelect/__tests__/MenuItemSelect.test.tsx@@ -2,7 +2,7 @@ import { render, screen } from '@testing-library/react';import userEvent from '@testing-library/user-event';import { describe, expect, it, vi } from 'vitest';-import { MenuItemSelect } from '@ui/navigation/MenuItemSelect/MenuItemSelect';+import { MenuItemSelect } from '@ui/primitives/navigation/MenuItemSelect/MenuItemSelect';describe('MenuItemSelect', () => {it('renders custom leading content and keeps the option selectable', async () => {diff --git a/packages/twenty-ui/src/navigation/MenuItemSelectAvatar/MenuItemSelectAvatar.module.scss b/packages/twenty-ui/src/primitives/navigation/MenuItemSelectAvatar/MenuItemSelectAvatar.module.scsssimilarity index 100%rename from packages/twenty-ui/src/navigation/MenuItemSelectAvatar/MenuItemSelectAvatar.module.scssrename to packages/twenty-ui/src/primitives/navigation/MenuItemSelectAvatar/MenuItemSelectAvatar.module.scssdiff --git a/packages/twenty-ui/src/navigation/MenuItemSelectAvatar/MenuItemSelectAvatar.module.scss.d.ts b/packages/twenty-ui/src/primitives/navigation/MenuItemSelectAvatar/MenuItemSelectAvatar.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/navigation/MenuItemSelectAvatar/MenuItemSelectAvatar.module.scss.d.tsrename to packages/twenty-ui/src/primitives/navigation/MenuItemSelectAvatar/MenuItemSelectAvatar.module.scss.d.tsdiff --git a/packages/twenty-ui/src/navigation/MenuItemSelectAvatar/MenuItemSelectAvatar.tsx b/packages/twenty-ui/src/primitives/navigation/MenuItemSelectAvatar/MenuItemSelectAvatar.tsxsimilarity index 87%rename from packages/twenty-ui/src/navigation/MenuItemSelectAvatar/MenuItemSelectAvatar.tsxrename to packages/twenty-ui/src/primitives/navigation/MenuItemSelectAvatar/MenuItemSelectAvatar.tsxindex 43fd7b6fd18..476dbc16010 100644--- a/packages/twenty-ui/src/navigation/MenuItemSelectAvatar/MenuItemSelectAvatar.tsx+++ b/packages/twenty-ui/src/primitives/navigation/MenuItemSelectAvatar/MenuItemSelectAvatar.tsx@@ -5,11 +5,11 @@ import {StyledMenuItemLabel,StyledMenuItemLabelLight,StyledMenuItemLeftContent,-} from '@ui/navigation/MenuItem/parts/StyledMenuItemBase';+} from '@ui/primitives/navigation/MenuItem/parts/StyledMenuItemBase';-import { OverflowingTextWithTooltip } from '@ui/surfaces';+import { OverflowingTextWithTooltip } from '@ui/primitives/surfaces';import { useTheme } from '@ui/theme-constants';-import { StyledMenuItemSelect } from '@ui/navigation/MenuItemSelect/MenuItemSelect';+import { StyledMenuItemSelect } from '@ui/primitives/navigation/MenuItemSelect/MenuItemSelect';import styles from './MenuItemSelectAvatar.module.scss';diff --git a/packages/twenty-ui/src/navigation/MenuItemSelectAvatar/__stories__/MenuItemSelectAvatar.stories.tsx b/packages/twenty-ui/src/primitives/navigation/MenuItemSelectAvatar/__stories__/MenuItemSelectAvatar.stories.tsxsimilarity index 93%rename from packages/twenty-ui/src/navigation/MenuItemSelectAvatar/__stories__/MenuItemSelectAvatar.stories.tsxrename to packages/twenty-ui/src/primitives/navigation/MenuItemSelectAvatar/__stories__/MenuItemSelectAvatar.stories.tsxindex a16ab500c82..738031c8c1e 100644--- a/packages/twenty-ui/src/navigation/MenuItemSelectAvatar/__stories__/MenuItemSelectAvatar.stories.tsx+++ b/packages/twenty-ui/src/primitives/navigation/MenuItemSelectAvatar/__stories__/MenuItemSelectAvatar.stories.tsx@@ -1,6 +1,6 @@import { type Meta, type StoryObj } from '@storybook/react-vite';-import { Avatar } from '@ui/data-display';+import { Avatar } from '@ui/primitives/data-display/Avatar/Avatar';import {A11Y_DEFER_COLOR_CONTRAST,AVATAR_URL_MOCK,@@ -10,7 +10,7 @@ import {type CatalogStory,ComponentDecorator,} from '@ui/testing';-import { MenuItemSelectAvatar } from '@ui/navigation/MenuItemSelectAvatar/MenuItemSelectAvatar';+import { MenuItemSelectAvatar } from '@ui/primitives/navigation/MenuItemSelectAvatar/MenuItemSelectAvatar';const meta: Meta<typeof MenuItemSelectAvatar> = {title: 'UI/Navigation/Menu/MenuItem/MenuItemSelectAvatar',diff --git a/packages/twenty-ui/src/navigation/MenuItemSelectColor/MenuItemSelectColor.tsx b/packages/twenty-ui/src/primitives/navigation/MenuItemSelectColor/MenuItemSelectColor.tsxsimilarity index 77%rename from packages/twenty-ui/src/navigation/MenuItemSelectColor/MenuItemSelectColor.tsxrename to packages/twenty-ui/src/primitives/navigation/MenuItemSelectColor/MenuItemSelectColor.tsxindex b93eb8dd1ed..6d136e1c50d 100644--- a/packages/twenty-ui/src/navigation/MenuItemSelectColor/MenuItemSelectColor.tsx+++ b/packages/twenty-ui/src/primitives/navigation/MenuItemSelectColor/MenuItemSelectColor.tsx@@ -2,16 +2,19 @@ import {StyledMenuItemIconCheck,StyledMenuItemLabel,StyledMenuItemLeftContent,-} from '@ui/navigation/MenuItem/parts/StyledMenuItemBase';+} from '@ui/primitives/navigation/MenuItem/parts/StyledMenuItemBase';-import { ColorSample, type ColorSampleVariant } from '@ui/data-display';+import {+ ColorSample,+ type ColorSampleVariant,+} from '@ui/primitives/data-display';import { type ThemeColor } from '@ui/theme';import { useTheme } from '@ui/theme-constants';import {DEFAULT_COLOR_LABELS,type ColorLabels,-} from '@ui/navigation/MenuItem/constants/DefaultColorLabels';-import { StyledMenuItemSelect } from '@ui/navigation/MenuItemSelect/MenuItemSelect';+} from '@ui/primitives/navigation/MenuItem/constants/DefaultColorLabels';+import { StyledMenuItemSelect } from '@ui/primitives/navigation/MenuItemSelect/MenuItemSelect';type MenuItemSelectColorProps = {selected: boolean;diff --git a/packages/twenty-ui/src/navigation/MenuItemSelectColor/__stories__/MenuItemSelectColor.stories.tsx b/packages/twenty-ui/src/primitives/navigation/MenuItemSelectColor/__stories__/MenuItemSelectColor.stories.tsxsimilarity index 92%rename from packages/twenty-ui/src/navigation/MenuItemSelectColor/__stories__/MenuItemSelectColor.stories.tsxrename to packages/twenty-ui/src/primitives/navigation/MenuItemSelectColor/__stories__/MenuItemSelectColor.stories.tsxindex c8c97ba24ed..6a7c87e2cce 100644--- a/packages/twenty-ui/src/navigation/MenuItemSelectColor/__stories__/MenuItemSelectColor.stories.tsx+++ b/packages/twenty-ui/src/primitives/navigation/MenuItemSelectColor/__stories__/MenuItemSelectColor.stories.tsx@@ -1,6 +1,6 @@import { type Meta, type StoryObj } from '@storybook/react-vite';-import { type ColorSampleVariant } from '@ui/data-display';+import { type ColorSampleVariant } from '@ui/primitives/data-display';import {A11Y_DEFER_COLOR_CONTRAST,CatalogDecorator,@@ -10,7 +10,7 @@ import {ComponentDecorator,} from '@ui/testing';import { type ThemeColor, MAIN_COLOR_NAMES } from '@ui/theme';-import { MenuItemSelectColor } from '@ui/navigation/MenuItemSelectColor/MenuItemSelectColor';+import { MenuItemSelectColor } from '@ui/primitives/navigation/MenuItemSelectColor/MenuItemSelectColor';const meta: Meta<typeof MenuItemSelectColor> = {title: 'UI/Navigation/Menu/MenuItem/MenuItemSelectColor',diff --git a/packages/twenty-ui/src/navigation/MenuItemSelectTag/MenuItemSelectTag.tsx b/packages/twenty-ui/src/primitives/navigation/MenuItemSelectTag/MenuItemSelectTag.tsxsimilarity index 85%rename from packages/twenty-ui/src/navigation/MenuItemSelectTag/MenuItemSelectTag.tsxrename to packages/twenty-ui/src/primitives/navigation/MenuItemSelectTag/MenuItemSelectTag.tsxindex 17adf6eb1db..1f3bd1a23d0 100644--- a/packages/twenty-ui/src/navigation/MenuItemSelectTag/MenuItemSelectTag.tsx+++ b/packages/twenty-ui/src/primitives/navigation/MenuItemSelectTag/MenuItemSelectTag.tsx@@ -1,13 +1,13 @@import {StyledMenuItemIconCheck,StyledMenuItemLeftContent,-} from '@ui/navigation/MenuItem/parts/StyledMenuItemBase';+} from '@ui/primitives/navigation/MenuItem/parts/StyledMenuItemBase';-import { Tag } from '@ui/data-display';+import { Tag } from '@ui/primitives/data-display/Tag/Tag';import { type IconComponent } from '@ui/icon';import { type ThemeColor } from '@ui/theme';import { useTheme } from '@ui/theme-constants';-import { StyledMenuItemSelect } from '@ui/navigation/MenuItemSelect/MenuItemSelect';+import { StyledMenuItemSelect } from '@ui/primitives/navigation/MenuItemSelect/MenuItemSelect';import { isDefined } from '@ui/utilities/utils/isDefined';type MenuItemSelectTagProps = {diff --git a/packages/twenty-ui/src/navigation/MenuItemSelectTag/__stories__/MenuItemSelectTag.stories.tsx b/packages/twenty-ui/src/primitives/navigation/MenuItemSelectTag/__stories__/MenuItemSelectTag.stories.tsxsimilarity index 95%rename from packages/twenty-ui/src/navigation/MenuItemSelectTag/__stories__/MenuItemSelectTag.stories.tsxrename to packages/twenty-ui/src/primitives/navigation/MenuItemSelectTag/__stories__/MenuItemSelectTag.stories.tsxindex f5d334794a4..ed586ac591d 100644--- a/packages/twenty-ui/src/navigation/MenuItemSelectTag/__stories__/MenuItemSelectTag.stories.tsx+++ b/packages/twenty-ui/src/primitives/navigation/MenuItemSelectTag/__stories__/MenuItemSelectTag.stories.tsx@@ -9,7 +9,7 @@ import {ComponentDecorator,} from '@ui/testing';import { type ThemeColor } from '@ui/theme';-import { MenuItemSelectTag } from '@ui/navigation/MenuItemSelectTag/MenuItemSelectTag';+import { MenuItemSelectTag } from '@ui/primitives/navigation/MenuItemSelectTag/MenuItemSelectTag';const meta: Meta<typeof MenuItemSelectTag> = {title: 'UI/Navigation/Menu/MenuItem/MenuItemSelectTag',diff --git a/packages/twenty-ui/src/navigation/MenuItemSuggestion/MenuItemSuggestion.module.scss b/packages/twenty-ui/src/primitives/navigation/MenuItemSuggestion/MenuItemSuggestion.module.scsssimilarity index 100%rename from packages/twenty-ui/src/navigation/MenuItemSuggestion/MenuItemSuggestion.module.scssrename to packages/twenty-ui/src/primitives/navigation/MenuItemSuggestion/MenuItemSuggestion.module.scssdiff --git a/packages/twenty-ui/src/navigation/MenuItemSuggestion/MenuItemSuggestion.module.scss.d.ts b/packages/twenty-ui/src/primitives/navigation/MenuItemSuggestion/MenuItemSuggestion.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/navigation/MenuItemSuggestion/MenuItemSuggestion.module.scss.d.tsrename to packages/twenty-ui/src/primitives/navigation/MenuItemSuggestion/MenuItemSuggestion.module.scss.d.tsdiff --git a/packages/twenty-ui/src/navigation/MenuItemSuggestion/MenuItemSuggestion.tsx b/packages/twenty-ui/src/primitives/navigation/MenuItemSuggestion/MenuItemSuggestion.tsxsimilarity index 83%rename from packages/twenty-ui/src/navigation/MenuItemSuggestion/MenuItemSuggestion.tsxrename to packages/twenty-ui/src/primitives/navigation/MenuItemSuggestion/MenuItemSuggestion.tsxindex b700350acdb..11438fea636 100644--- a/packages/twenty-ui/src/navigation/MenuItemSuggestion/MenuItemSuggestion.tsx+++ b/packages/twenty-ui/src/primitives/navigation/MenuItemSuggestion/MenuItemSuggestion.tsx@@ -1,10 +1,10 @@import { clsx } from 'clsx';import { type MouseEvent } from 'react';-import { handleClickableElementKeyDown } from '@ui/accessibility/utils/handleClickableElementKeyDown';+import { handleClickableElementKeyDown } from '@ui/primitives/accessibility/utils/handleClickableElementKeyDown';import { type IconComponent } from '@ui/icon';-import { MenuItemLeftContent } from '@ui/navigation/MenuItem/parts/MenuItemLeftContent';-import { StyledMenuItemLeftContent } from '@ui/navigation/MenuItem/parts/StyledMenuItemBase';+import { MenuItemLeftContent } from '@ui/primitives/navigation/MenuItem/parts/MenuItemLeftContent';+import { StyledMenuItemLeftContent } from '@ui/primitives/navigation/MenuItem/parts/StyledMenuItemBase';import { isDefined } from '@ui/utilities/utils/isDefined';import styles from './MenuItemSuggestion.module.scss';diff --git a/packages/twenty-ui/src/navigation/MenuItemSwitch/MenuItemSwitch.module.scss b/packages/twenty-ui/src/primitives/navigation/MenuItemSwitch/MenuItemSwitch.module.scsssimilarity index 100%rename from packages/twenty-ui/src/navigation/MenuItemSwitch/MenuItemSwitch.module.scssrename to packages/twenty-ui/src/primitives/navigation/MenuItemSwitch/MenuItemSwitch.module.scssdiff --git a/packages/twenty-ui/src/navigation/MenuItemSwitch/MenuItemSwitch.module.scss.d.ts b/packages/twenty-ui/src/primitives/navigation/MenuItemSwitch/MenuItemSwitch.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/navigation/MenuItemSwitch/MenuItemSwitch.module.scss.d.tsrename to packages/twenty-ui/src/primitives/navigation/MenuItemSwitch/MenuItemSwitch.module.scss.d.tsdiff --git a/packages/twenty-ui/src/navigation/MenuItemSwitch/MenuItemSwitch.tsx b/packages/twenty-ui/src/primitives/navigation/MenuItemSwitch/MenuItemSwitch.tsxsimilarity index 82%rename from packages/twenty-ui/src/navigation/MenuItemSwitch/MenuItemSwitch.tsxrename to packages/twenty-ui/src/primitives/navigation/MenuItemSwitch/MenuItemSwitch.tsxindex d0178e45515..c4668991044 100644--- a/packages/twenty-ui/src/navigation/MenuItemSwitch/MenuItemSwitch.tsx+++ b/packages/twenty-ui/src/primitives/navigation/MenuItemSwitch/MenuItemSwitch.tsx@@ -1,10 +1,11 @@import { type IconComponent } from '@ui/icon';-import { Switch, type SwitchSize } from '@ui/input';-import { MenuItemLeftContent } from '@ui/navigation/MenuItem/parts/MenuItemLeftContent';+import { Switch } from '@ui/primitives/input/Switch/Switch';+import { type SwitchSize } from '@ui/primitives/input/Switch/types/SwitchSize';+import { MenuItemLeftContent } from '@ui/primitives/navigation/MenuItem/parts/MenuItemLeftContent';import {StyledMenuItemBase,StyledMenuItemRightContent,-} from '@ui/navigation/MenuItem/parts/StyledMenuItemBase';+} from '@ui/primitives/navigation/MenuItem/parts/StyledMenuItemBase';import styles from './MenuItemSwitch.module.scss';diff --git a/packages/twenty-ui/src/navigation/MenuItemSwitch/__stories__/MenuItemSwitch.stories.tsx b/packages/twenty-ui/src/primitives/navigation/MenuItemSwitch/__stories__/MenuItemSwitch.stories.tsxsimilarity index 96%rename from packages/twenty-ui/src/navigation/MenuItemSwitch/__stories__/MenuItemSwitch.stories.tsxrename to packages/twenty-ui/src/primitives/navigation/MenuItemSwitch/__stories__/MenuItemSwitch.stories.tsxindex 65d2f340c25..c3eb1b04c72 100644--- a/packages/twenty-ui/src/navigation/MenuItemSwitch/__stories__/MenuItemSwitch.stories.tsx+++ b/packages/twenty-ui/src/primitives/navigation/MenuItemSwitch/__stories__/MenuItemSwitch.stories.tsx@@ -9,7 +9,7 @@ import {type CatalogStory,ComponentDecorator,} from '@ui/testing';-import { MenuItemSwitch } from '@ui/navigation/MenuItemSwitch/MenuItemSwitch';+import { MenuItemSwitch } from '@ui/primitives/navigation/MenuItemSwitch/MenuItemSwitch';const meta: Meta<typeof MenuItemSwitch> = {title: 'UI/Navigation/Menu/MenuItem/MenuItemSwitch',diff --git a/packages/twenty-ui/src/navigation/MenuPicker/MenuPicker.module.scss b/packages/twenty-ui/src/primitives/navigation/MenuPicker/MenuPicker.module.scsssimilarity index 100%rename from packages/twenty-ui/src/navigation/MenuPicker/MenuPicker.module.scssrename to packages/twenty-ui/src/primitives/navigation/MenuPicker/MenuPicker.module.scssdiff --git a/packages/twenty-ui/src/navigation/MenuPicker/MenuPicker.module.scss.d.ts b/packages/twenty-ui/src/primitives/navigation/MenuPicker/MenuPicker.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/navigation/MenuPicker/MenuPicker.module.scss.d.tsrename to packages/twenty-ui/src/primitives/navigation/MenuPicker/MenuPicker.module.scss.d.tsdiff --git a/packages/twenty-ui/src/navigation/MenuPicker/MenuPicker.tsx b/packages/twenty-ui/src/primitives/navigation/MenuPicker/MenuPicker.tsxsimilarity index 95%rename from packages/twenty-ui/src/navigation/MenuPicker/MenuPicker.tsxrename to packages/twenty-ui/src/primitives/navigation/MenuPicker/MenuPicker.tsxindex 2a169de2aac..8b3f4951bc4 100644--- a/packages/twenty-ui/src/navigation/MenuPicker/MenuPicker.tsx+++ b/packages/twenty-ui/src/primitives/navigation/MenuPicker/MenuPicker.tsx@@ -3,7 +3,11 @@ import { clsx } from 'clsx';import { isDefined } from '@ui/utilities/utils/isDefined';import { type IconComponent } from '@ui/icon';-import { AppTooltip, TooltipDelay, TooltipPosition } from '@ui/surfaces';+import {+ AppTooltip,+ TooltipDelay,+ TooltipPosition,+} from '@ui/primitives/surfaces';import { useTheme } from '@ui/theme-constants';import styles from './MenuPicker.module.scss';diff --git a/packages/twenty-ui/src/navigation/MenuPicker/__stories__/MenuPicker.stories.module.scss b/packages/twenty-ui/src/primitives/navigation/MenuPicker/__stories__/MenuPicker.stories.module.scsssimilarity index 100%rename from packages/twenty-ui/src/navigation/MenuPicker/__stories__/MenuPicker.stories.module.scssrename to packages/twenty-ui/src/primitives/navigation/MenuPicker/__stories__/MenuPicker.stories.module.scssdiff --git a/packages/twenty-ui/src/navigation/MenuPicker/__stories__/MenuPicker.stories.module.scss.d.ts b/packages/twenty-ui/src/primitives/navigation/MenuPicker/__stories__/MenuPicker.stories.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/navigation/MenuPicker/__stories__/MenuPicker.stories.module.scss.d.tsrename to packages/twenty-ui/src/primitives/navigation/MenuPicker/__stories__/MenuPicker.stories.module.scss.d.tsdiff --git a/packages/twenty-ui/src/navigation/MenuPicker/__stories__/MenuPicker.stories.tsx b/packages/twenty-ui/src/primitives/navigation/MenuPicker/__stories__/MenuPicker.stories.tsxsimilarity index 94%rename from packages/twenty-ui/src/navigation/MenuPicker/__stories__/MenuPicker.stories.tsxrename to packages/twenty-ui/src/primitives/navigation/MenuPicker/__stories__/MenuPicker.stories.tsxindex 08c0010e393..26f351198aa 100644--- a/packages/twenty-ui/src/navigation/MenuPicker/__stories__/MenuPicker.stories.tsx+++ b/packages/twenty-ui/src/primitives/navigation/MenuPicker/__stories__/MenuPicker.stories.tsx@@ -1,7 +1,7 @@import { type Meta, type StoryObj } from '@storybook/react-vite';import { IconChartPie } from '@ui/icon';-import { TooltipDelay } from '@ui/surfaces';-import { MenuPicker } from '@ui/navigation/MenuPicker/MenuPicker';+import { TooltipDelay } from '@ui/primitives/surfaces';+import { MenuPicker } from '@ui/primitives/navigation/MenuPicker/MenuPicker';import { A11Y_DEFER_COLOR_CONTRAST, ComponentDecorator } from '@ui/testing';import { type ReactNode } from 'react';diff --git a/packages/twenty-ui/src/navigation/NavigationBar/NavigationBar.module.scss b/packages/twenty-ui/src/primitives/navigation/NavigationBar/NavigationBar.module.scsssimilarity index 100%rename from packages/twenty-ui/src/navigation/NavigationBar/NavigationBar.module.scssrename to packages/twenty-ui/src/primitives/navigation/NavigationBar/NavigationBar.module.scssdiff --git a/packages/twenty-ui/src/navigation/NavigationBar/NavigationBar.module.scss.d.ts b/packages/twenty-ui/src/primitives/navigation/NavigationBar/NavigationBar.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/navigation/NavigationBar/NavigationBar.module.scss.d.tsrename to packages/twenty-ui/src/primitives/navigation/NavigationBar/NavigationBar.module.scss.d.tsdiff --git a/packages/twenty-ui/src/navigation/NavigationBar/NavigationBar.tsx b/packages/twenty-ui/src/primitives/navigation/NavigationBar/NavigationBar.tsxsimilarity index 89%rename from packages/twenty-ui/src/navigation/NavigationBar/NavigationBar.tsxrename to packages/twenty-ui/src/primitives/navigation/NavigationBar/NavigationBar.tsxindex 717b63b249a..33dffdd3497 100644--- a/packages/twenty-ui/src/navigation/NavigationBar/NavigationBar.tsx+++ b/packages/twenty-ui/src/primitives/navigation/NavigationBar/NavigationBar.tsx@@ -1,6 +1,6 @@import { type IconComponent } from '@ui/icon/types/IconComponent';-import { NavigationBarItem } from '@ui/navigation/NavigationBarItem/NavigationBarItem';+import { NavigationBarItem } from '@ui/primitives/navigation/NavigationBarItem/NavigationBarItem';import styles from './NavigationBar.module.scss';diff --git a/packages/twenty-ui/src/navigation/NavigationBar/__stories__/NavigationBar.stories.tsx b/packages/twenty-ui/src/primitives/navigation/NavigationBar/__stories__/NavigationBar.stories.tsxsimilarity index 95%rename from packages/twenty-ui/src/navigation/NavigationBar/__stories__/NavigationBar.stories.tsxrename to packages/twenty-ui/src/primitives/navigation/NavigationBar/__stories__/NavigationBar.stories.tsxindex 28e06a3425e..9c14385a194 100644--- a/packages/twenty-ui/src/navigation/NavigationBar/__stories__/NavigationBar.stories.tsx+++ b/packages/twenty-ui/src/primitives/navigation/NavigationBar/__stories__/NavigationBar.stories.tsx@@ -3,7 +3,7 @@ import { IconHome, IconSearch, IconSettings } from '@ui/icon';import { ComponentDecorator } from '@ui/testing';import { expect, fn, userEvent, within } from 'storybook/test';-import { NavigationBar } from '@ui/navigation/NavigationBar/NavigationBar';+import { NavigationBar } from '@ui/primitives/navigation/NavigationBar/NavigationBar';const meta: Meta<typeof NavigationBar> = {title: 'UI/Navigation/NavigationBar/NavigationBar',diff --git a/packages/twenty-ui/src/navigation/NavigationBarItem/NavigationBarItem.module.scss b/packages/twenty-ui/src/primitives/navigation/NavigationBarItem/NavigationBarItem.module.scsssimilarity index 100%rename from packages/twenty-ui/src/navigation/NavigationBarItem/NavigationBarItem.module.scssrename to packages/twenty-ui/src/primitives/navigation/NavigationBarItem/NavigationBarItem.module.scssdiff --git a/packages/twenty-ui/src/navigation/NavigationBarItem/NavigationBarItem.module.scss.d.ts b/packages/twenty-ui/src/primitives/navigation/NavigationBarItem/NavigationBarItem.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/navigation/NavigationBarItem/NavigationBarItem.module.scss.d.tsrename to packages/twenty-ui/src/primitives/navigation/NavigationBarItem/NavigationBarItem.module.scss.d.tsdiff --git a/packages/twenty-ui/src/navigation/NavigationBarItem/NavigationBarItem.tsx b/packages/twenty-ui/src/primitives/navigation/NavigationBarItem/NavigationBarItem.tsxsimilarity index 100%rename from packages/twenty-ui/src/navigation/NavigationBarItem/NavigationBarItem.tsxrename to packages/twenty-ui/src/primitives/navigation/NavigationBarItem/NavigationBarItem.tsxdiff --git a/packages/twenty-ui/src/navigation/RawLink/RawLink.module.scss b/packages/twenty-ui/src/primitives/navigation/RawLink/RawLink.module.scsssimilarity index 100%rename from packages/twenty-ui/src/navigation/RawLink/RawLink.module.scssrename to packages/twenty-ui/src/primitives/navigation/RawLink/RawLink.module.scssdiff --git a/packages/twenty-ui/src/navigation/RawLink/RawLink.module.scss.d.ts b/packages/twenty-ui/src/primitives/navigation/RawLink/RawLink.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/navigation/RawLink/RawLink.module.scss.d.tsrename to packages/twenty-ui/src/primitives/navigation/RawLink/RawLink.module.scss.d.tsdiff --git a/packages/twenty-ui/src/navigation/RawLink/RawLink.tsx b/packages/twenty-ui/src/primitives/navigation/RawLink/RawLink.tsxsimilarity index 100%rename from packages/twenty-ui/src/navigation/RawLink/RawLink.tsxrename to packages/twenty-ui/src/primitives/navigation/RawLink/RawLink.tsxdiff --git a/packages/twenty-ui/src/navigation/RawLink/__stories__/RawLink.stories.tsx b/packages/twenty-ui/src/primitives/navigation/RawLink/__stories__/RawLink.stories.tsxsimilarity index 92%rename from packages/twenty-ui/src/navigation/RawLink/__stories__/RawLink.stories.tsxrename to packages/twenty-ui/src/primitives/navigation/RawLink/__stories__/RawLink.stories.tsxindex 49c573eaa53..ed7c7a8f72f 100644--- a/packages/twenty-ui/src/navigation/RawLink/__stories__/RawLink.stories.tsx+++ b/packages/twenty-ui/src/primitives/navigation/RawLink/__stories__/RawLink.stories.tsx@@ -2,7 +2,7 @@ import { type Meta, type StoryObj } from '@storybook/react-vite';import { expect, fn, userEvent, within } from 'storybook/test';import { ComponentWithRouterDecorator } from '@ui/testing';-import { RawLink } from '@ui/navigation/RawLink/RawLink';+import { RawLink } from '@ui/primitives/navigation/RawLink/RawLink';const meta: Meta<typeof RawLink> = {title: 'UI/Navigation/Link/RawLink',diff --git a/packages/twenty-ui/src/navigation/RoundedLink/RoundedLink.module.scss b/packages/twenty-ui/src/primitives/navigation/RoundedLink/RoundedLink.module.scsssimilarity index 100%rename from packages/twenty-ui/src/navigation/RoundedLink/RoundedLink.module.scssrename to packages/twenty-ui/src/primitives/navigation/RoundedLink/RoundedLink.module.scssdiff --git a/packages/twenty-ui/src/navigation/RoundedLink/RoundedLink.module.scss.d.ts b/packages/twenty-ui/src/primitives/navigation/RoundedLink/RoundedLink.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/navigation/RoundedLink/RoundedLink.module.scss.d.tsrename to packages/twenty-ui/src/primitives/navigation/RoundedLink/RoundedLink.module.scss.d.tsdiff --git a/packages/twenty-ui/src/navigation/RoundedLink/RoundedLink.tsx b/packages/twenty-ui/src/primitives/navigation/RoundedLink/RoundedLink.tsxsimilarity index 100%rename from packages/twenty-ui/src/navigation/RoundedLink/RoundedLink.tsxrename to packages/twenty-ui/src/primitives/navigation/RoundedLink/RoundedLink.tsxdiff --git a/packages/twenty-ui/src/navigation/RoundedLink/__stories__/RoundedLink.stories.tsx b/packages/twenty-ui/src/primitives/navigation/RoundedLink/__stories__/RoundedLink.stories.tsxsimilarity index 91%rename from packages/twenty-ui/src/navigation/RoundedLink/__stories__/RoundedLink.stories.tsxrename to packages/twenty-ui/src/primitives/navigation/RoundedLink/__stories__/RoundedLink.stories.tsxindex 8cda5d8259c..6a9735791a7 100644--- a/packages/twenty-ui/src/navigation/RoundedLink/__stories__/RoundedLink.stories.tsx+++ b/packages/twenty-ui/src/primitives/navigation/RoundedLink/__stories__/RoundedLink.stories.tsx@@ -2,7 +2,7 @@ import { type Meta, type StoryObj } from '@storybook/react-vite';import { expect, fn, userEvent, within } from 'storybook/test';import { ComponentWithRouterDecorator } from '@ui/testing';-import { RoundedLink } from '@ui/navigation/RoundedLink/RoundedLink';+import { RoundedLink } from '@ui/primitives/navigation/RoundedLink/RoundedLink';const meta: Meta<typeof RoundedLink> = {title: 'UI/Navigation/Link/RoundedLink',diff --git a/packages/twenty-ui/src/navigation/SocialLink/LinkType.ts b/packages/twenty-ui/src/primitives/navigation/SocialLink/LinkType.tssimilarity index 100%rename from packages/twenty-ui/src/navigation/SocialLink/LinkType.tsrename to packages/twenty-ui/src/primitives/navigation/SocialLink/LinkType.tsdiff --git a/packages/twenty-ui/src/navigation/SocialLink/SocialLink.tsx b/packages/twenty-ui/src/primitives/navigation/SocialLink/SocialLink.tsxsimilarity index 78%rename from packages/twenty-ui/src/navigation/SocialLink/SocialLink.tsxrename to packages/twenty-ui/src/primitives/navigation/SocialLink/SocialLink.tsxindex d1135c4c72c..6d1a9b61ebc 100644--- a/packages/twenty-ui/src/navigation/SocialLink/SocialLink.tsx+++ b/packages/twenty-ui/src/primitives/navigation/SocialLink/SocialLink.tsx@@ -2,8 +2,8 @@ import * as React from 'react';import { isNonEmptyString } from '@sniptt/guards';-import { type LinkType } from '@ui/navigation/SocialLink/LinkType';-import { RoundedLink } from '@ui/navigation/RoundedLink/RoundedLink';+import { type LinkType } from '@ui/primitives/navigation/SocialLink/LinkType';+import { RoundedLink } from '@ui/primitives/navigation/RoundedLink/RoundedLink';import { getDisplayValueByUrlType } from '@ui/utilities';type SocialLinkProps = {diff --git a/packages/twenty-ui/src/navigation/SocialLink/__stories__/SocialLink.stories.tsx b/packages/twenty-ui/src/primitives/navigation/SocialLink/__stories__/SocialLink.stories.tsxsimilarity index 93%rename from packages/twenty-ui/src/navigation/SocialLink/__stories__/SocialLink.stories.tsxrename to packages/twenty-ui/src/primitives/navigation/SocialLink/__stories__/SocialLink.stories.tsxindex dce54772e53..45c70aa929b 100644--- a/packages/twenty-ui/src/navigation/SocialLink/__stories__/SocialLink.stories.tsx+++ b/packages/twenty-ui/src/primitives/navigation/SocialLink/__stories__/SocialLink.stories.tsx@@ -2,8 +2,8 @@ import { type Meta, type StoryObj } from '@storybook/react-vite';import { expect, fn, userEvent, within } from 'storybook/test';import { ComponentWithRouterDecorator } from '@ui/testing';-import { LinkType } from '@ui/navigation/SocialLink/LinkType';-import { SocialLink } from '@ui/navigation/SocialLink/SocialLink';+import { LinkType } from '@ui/primitives/navigation/SocialLink/LinkType';+import { SocialLink } from '@ui/primitives/navigation/SocialLink/SocialLink';const meta: Meta<typeof SocialLink> = {title: 'UI/Navigation/Link/SocialLink',diff --git a/packages/twenty-ui/src/navigation/SocialLink/socialLinkProviders.ts b/packages/twenty-ui/src/primitives/navigation/SocialLink/socialLinkProviders.tssimilarity index 96%rename from packages/twenty-ui/src/navigation/SocialLink/socialLinkProviders.tsrename to packages/twenty-ui/src/primitives/navigation/SocialLink/socialLinkProviders.tsindex e9c0b711afa..01a10623ad9 100644--- a/packages/twenty-ui/src/navigation/SocialLink/socialLinkProviders.ts+++ b/packages/twenty-ui/src/primitives/navigation/SocialLink/socialLinkProviders.ts@@ -1,4 +1,4 @@-import { LinkType } from '@ui/navigation/SocialLink/LinkType';+import { LinkType } from '@ui/primitives/navigation/SocialLink/LinkType';export type SocialLinkProvider = {type: LinkType;diff --git a/packages/twenty-ui/src/navigation/Tabs/Tabs.module.scss b/packages/twenty-ui/src/primitives/navigation/Tabs/Tabs.module.scsssimilarity index 98%rename from packages/twenty-ui/src/navigation/Tabs/Tabs.module.scssrename to packages/twenty-ui/src/primitives/navigation/Tabs/Tabs.module.scssindex c14ac55161b..86ff8abc737 100644--- a/packages/twenty-ui/src/navigation/Tabs/Tabs.module.scss+++ b/packages/twenty-ui/src/primitives/navigation/Tabs/Tabs.module.scss@@ -1,4 +1,4 @@-@use '../../styles/abstracts/mixins' as *;+@use '../../../styles/abstracts/mixins' as *;.root {display: flex;diff --git a/packages/twenty-ui/src/navigation/Tabs/Tabs.module.scss.d.ts b/packages/twenty-ui/src/primitives/navigation/Tabs/Tabs.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/navigation/Tabs/Tabs.module.scss.d.tsrename to packages/twenty-ui/src/primitives/navigation/Tabs/Tabs.module.scss.d.tsdiff --git a/packages/twenty-ui/src/navigation/Tabs/Tabs.tsx b/packages/twenty-ui/src/primitives/navigation/Tabs/Tabs.tsxsimilarity index 100%rename from packages/twenty-ui/src/navigation/Tabs/Tabs.tsxrename to packages/twenty-ui/src/primitives/navigation/Tabs/Tabs.tsxdiff --git a/packages/twenty-ui/src/navigation/Tabs/__stories__/Tabs.stories.module.scss b/packages/twenty-ui/src/primitives/navigation/Tabs/__stories__/Tabs.stories.module.scsssimilarity index 100%rename from packages/twenty-ui/src/navigation/Tabs/__stories__/Tabs.stories.module.scssrename to packages/twenty-ui/src/primitives/navigation/Tabs/__stories__/Tabs.stories.module.scssdiff --git a/packages/twenty-ui/src/navigation/Tabs/__stories__/Tabs.stories.module.scss.d.ts b/packages/twenty-ui/src/primitives/navigation/Tabs/__stories__/Tabs.stories.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/navigation/Tabs/__stories__/Tabs.stories.module.scss.d.tsrename to packages/twenty-ui/src/primitives/navigation/Tabs/__stories__/Tabs.stories.module.scss.d.tsdiff --git a/packages/twenty-ui/src/navigation/Tabs/__stories__/Tabs.stories.tsx b/packages/twenty-ui/src/primitives/navigation/Tabs/__stories__/Tabs.stories.tsxsimilarity index 100%rename from packages/twenty-ui/src/navigation/Tabs/__stories__/Tabs.stories.tsxrename to packages/twenty-ui/src/primitives/navigation/Tabs/__stories__/Tabs.stories.tsxdiff --git a/packages/twenty-ui/src/navigation/Tabs/__stories__/TabsInteractions.stories.tsx b/packages/twenty-ui/src/primitives/navigation/Tabs/__stories__/TabsInteractions.stories.tsxsimilarity index 100%rename from packages/twenty-ui/src/navigation/Tabs/__stories__/TabsInteractions.stories.tsxrename to packages/twenty-ui/src/primitives/navigation/Tabs/__stories__/TabsInteractions.stories.tsxdiff --git a/packages/twenty-ui/src/navigation/Tabs/__stories__/TabsKeyboard.stories.tsx b/packages/twenty-ui/src/primitives/navigation/Tabs/__stories__/TabsKeyboard.stories.tsxsimilarity index 100%rename from packages/twenty-ui/src/navigation/Tabs/__stories__/TabsKeyboard.stories.tsxrename to packages/twenty-ui/src/primitives/navigation/Tabs/__stories__/TabsKeyboard.stories.tsxdiff --git a/packages/twenty-ui/src/navigation/Tabs/__tests__/Tabs.test.tsx b/packages/twenty-ui/src/primitives/navigation/Tabs/__tests__/Tabs.test.tsxsimilarity index 100%rename from packages/twenty-ui/src/navigation/Tabs/__tests__/Tabs.test.tsxrename to packages/twenty-ui/src/primitives/navigation/Tabs/__tests__/Tabs.test.tsxdiff --git a/packages/twenty-ui/src/navigation/Tabs/internal/TabsList.tsx b/packages/twenty-ui/src/primitives/navigation/Tabs/internal/TabsList.tsxsimilarity index 100%rename from packages/twenty-ui/src/navigation/Tabs/internal/TabsList.tsxrename to packages/twenty-ui/src/primitives/navigation/Tabs/internal/TabsList.tsxdiff --git a/packages/twenty-ui/src/navigation/Tabs/internal/TabsPanel.tsx b/packages/twenty-ui/src/primitives/navigation/Tabs/internal/TabsPanel.tsxsimilarity index 100%rename from packages/twenty-ui/src/navigation/Tabs/internal/TabsPanel.tsxrename to packages/twenty-ui/src/primitives/navigation/Tabs/internal/TabsPanel.tsxdiff --git a/packages/twenty-ui/src/navigation/Tabs/internal/TabsRoot.tsx b/packages/twenty-ui/src/primitives/navigation/Tabs/internal/TabsRoot.tsxsimilarity index 100%rename from packages/twenty-ui/src/navigation/Tabs/internal/TabsRoot.tsxrename to packages/twenty-ui/src/primitives/navigation/Tabs/internal/TabsRoot.tsxdiff --git a/packages/twenty-ui/src/navigation/Tabs/internal/TabsTab.tsx b/packages/twenty-ui/src/primitives/navigation/Tabs/internal/TabsTab.tsxsimilarity index 100%rename from packages/twenty-ui/src/navigation/Tabs/internal/TabsTab.tsxrename to packages/twenty-ui/src/primitives/navigation/Tabs/internal/TabsTab.tsxdiff --git a/packages/twenty-ui/src/navigation/Tabs/internal/focusNextEnabledTab.ts b/packages/twenty-ui/src/primitives/navigation/Tabs/internal/focusNextEnabledTab.tssimilarity index 100%rename from packages/twenty-ui/src/navigation/Tabs/internal/focusNextEnabledTab.tsrename to packages/twenty-ui/src/primitives/navigation/Tabs/internal/focusNextEnabledTab.tsdiff --git a/packages/twenty-ui/src/navigation/Tabs/internal/isRenderableSlot.ts b/packages/twenty-ui/src/primitives/navigation/Tabs/internal/isRenderableSlot.tssimilarity index 100%rename from packages/twenty-ui/src/navigation/Tabs/internal/isRenderableSlot.tsrename to packages/twenty-ui/src/primitives/navigation/Tabs/internal/isRenderableSlot.tsdiff --git a/packages/twenty-ui/src/navigation/Tabs/types/TabsListProps.ts b/packages/twenty-ui/src/primitives/navigation/Tabs/types/TabsListProps.tssimilarity index 100%rename from packages/twenty-ui/src/navigation/Tabs/types/TabsListProps.tsrename to packages/twenty-ui/src/primitives/navigation/Tabs/types/TabsListProps.tsdiff --git a/packages/twenty-ui/src/navigation/Tabs/types/TabsPanelProps.ts b/packages/twenty-ui/src/primitives/navigation/Tabs/types/TabsPanelProps.tssimilarity index 100%rename from packages/twenty-ui/src/navigation/Tabs/types/TabsPanelProps.tsrename to packages/twenty-ui/src/primitives/navigation/Tabs/types/TabsPanelProps.tsdiff --git a/packages/twenty-ui/src/navigation/Tabs/types/TabsRootProps.ts b/packages/twenty-ui/src/primitives/navigation/Tabs/types/TabsRootProps.tssimilarity index 100%rename from packages/twenty-ui/src/navigation/Tabs/types/TabsRootProps.tsrename to packages/twenty-ui/src/primitives/navigation/Tabs/types/TabsRootProps.tsdiff --git a/packages/twenty-ui/src/navigation/Tabs/types/TabsSize.ts b/packages/twenty-ui/src/primitives/navigation/Tabs/types/TabsSize.tssimilarity index 100%rename from packages/twenty-ui/src/navigation/Tabs/types/TabsSize.tsrename to packages/twenty-ui/src/primitives/navigation/Tabs/types/TabsSize.tsdiff --git a/packages/twenty-ui/src/navigation/Tabs/types/TabsTabProps.ts b/packages/twenty-ui/src/primitives/navigation/Tabs/types/TabsTabProps.tssimilarity index 100%rename from packages/twenty-ui/src/navigation/Tabs/types/TabsTabProps.tsrename to packages/twenty-ui/src/primitives/navigation/Tabs/types/TabsTabProps.tsdiff --git a/packages/twenty-ui/src/navigation/UndecoratedLink/UndecoratedLink.module.scss b/packages/twenty-ui/src/primitives/navigation/UndecoratedLink/UndecoratedLink.module.scsssimilarity index 100%rename from packages/twenty-ui/src/navigation/UndecoratedLink/UndecoratedLink.module.scssrename to packages/twenty-ui/src/primitives/navigation/UndecoratedLink/UndecoratedLink.module.scssdiff --git a/packages/twenty-ui/src/navigation/UndecoratedLink/UndecoratedLink.module.scss.d.ts b/packages/twenty-ui/src/primitives/navigation/UndecoratedLink/UndecoratedLink.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/navigation/UndecoratedLink/UndecoratedLink.module.scss.d.tsrename to packages/twenty-ui/src/primitives/navigation/UndecoratedLink/UndecoratedLink.module.scss.d.tsdiff --git a/packages/twenty-ui/src/navigation/UndecoratedLink/UndecoratedLink.tsx b/packages/twenty-ui/src/primitives/navigation/UndecoratedLink/UndecoratedLink.tsxsimilarity index 100%rename from packages/twenty-ui/src/navigation/UndecoratedLink/UndecoratedLink.tsxrename to packages/twenty-ui/src/primitives/navigation/UndecoratedLink/UndecoratedLink.tsxdiff --git a/packages/twenty-ui/src/navigation/UndecoratedLink/__stories__/UndecoratedLink.stories.tsx b/packages/twenty-ui/src/primitives/navigation/UndecoratedLink/__stories__/UndecoratedLink.stories.tsxsimilarity index 89%rename from packages/twenty-ui/src/navigation/UndecoratedLink/__stories__/UndecoratedLink.stories.tsxrename to packages/twenty-ui/src/primitives/navigation/UndecoratedLink/__stories__/UndecoratedLink.stories.tsxindex 2e1ce32e9aa..660d1ac62fa 100644--- a/packages/twenty-ui/src/navigation/UndecoratedLink/__stories__/UndecoratedLink.stories.tsx+++ b/packages/twenty-ui/src/primitives/navigation/UndecoratedLink/__stories__/UndecoratedLink.stories.tsx@@ -1,5 +1,5 @@import { type Meta, type StoryObj } from '@storybook/react-vite';-import { UndecoratedLink } from '@ui/navigation/UndecoratedLink/UndecoratedLink';+import { UndecoratedLink } from '@ui/primitives/navigation/UndecoratedLink/UndecoratedLink';import { ComponentWithRouterDecorator } from '@ui/testing';import { expect, userEvent, within } from 'storybook/test';diff --git a/packages/twenty-ui/src/navigation/index.ts b/packages/twenty-ui/src/primitives/navigation/index.tssimilarity index 100%rename from packages/twenty-ui/src/navigation/index.tsrename to packages/twenty-ui/src/primitives/navigation/index.tsdiff --git a/packages/twenty-ui/src/surfaces/AlertDialog/AlertDialog.tsx b/packages/twenty-ui/src/primitives/surfaces/AlertDialog/AlertDialog.tsxsimilarity index 100%rename from packages/twenty-ui/src/surfaces/AlertDialog/AlertDialog.tsxrename to packages/twenty-ui/src/primitives/surfaces/AlertDialog/AlertDialog.tsxdiff --git a/packages/twenty-ui/src/surfaces/AlertDialog/__stories__/AlertDialog.interactions.stories.tsx b/packages/twenty-ui/src/primitives/surfaces/AlertDialog/__stories__/AlertDialog.interactions.stories.tsxsimilarity index 99%rename from packages/twenty-ui/src/surfaces/AlertDialog/__stories__/AlertDialog.interactions.stories.tsxrename to packages/twenty-ui/src/primitives/surfaces/AlertDialog/__stories__/AlertDialog.interactions.stories.tsxindex ece6a529dfb..b1e90ec884e 100644--- a/packages/twenty-ui/src/surfaces/AlertDialog/__stories__/AlertDialog.interactions.stories.tsx+++ b/packages/twenty-ui/src/primitives/surfaces/AlertDialog/__stories__/AlertDialog.interactions.stories.tsx@@ -2,7 +2,7 @@ import { type Meta, type StoryObj } from '@storybook/react-vite';import { useRef, useState } from 'react';import { expect, fn, userEvent, waitFor, within } from 'storybook/test';-import { Input } from '@ui/input/Input/Input';+import { Input } from '@ui/primitives/input/Input/Input';import { ComponentDecorator } from '@ui/testing';import { AlertDialog } from '../AlertDialog';diff --git a/packages/twenty-ui/src/surfaces/AlertDialog/__stories__/AlertDialog.portals.stories.tsx b/packages/twenty-ui/src/primitives/surfaces/AlertDialog/__stories__/AlertDialog.portals.stories.tsxsimilarity index 100%rename from packages/twenty-ui/src/surfaces/AlertDialog/__stories__/AlertDialog.portals.stories.tsxrename to packages/twenty-ui/src/primitives/surfaces/AlertDialog/__stories__/AlertDialog.portals.stories.tsxdiff --git a/packages/twenty-ui/src/surfaces/AlertDialog/__stories__/AlertDialog.stories.module.scss b/packages/twenty-ui/src/primitives/surfaces/AlertDialog/__stories__/AlertDialog.stories.module.scsssimilarity index 100%rename from packages/twenty-ui/src/surfaces/AlertDialog/__stories__/AlertDialog.stories.module.scssrename to packages/twenty-ui/src/primitives/surfaces/AlertDialog/__stories__/AlertDialog.stories.module.scssdiff --git a/packages/twenty-ui/src/surfaces/AlertDialog/__stories__/AlertDialog.stories.module.scss.d.ts b/packages/twenty-ui/src/primitives/surfaces/AlertDialog/__stories__/AlertDialog.stories.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/AlertDialog/__stories__/AlertDialog.stories.module.scss.d.tsrename to packages/twenty-ui/src/primitives/surfaces/AlertDialog/__stories__/AlertDialog.stories.module.scss.d.tsdiff --git a/packages/twenty-ui/src/surfaces/AlertDialog/__stories__/AlertDialog.stories.tsx b/packages/twenty-ui/src/primitives/surfaces/AlertDialog/__stories__/AlertDialog.stories.tsxsimilarity index 100%rename from packages/twenty-ui/src/surfaces/AlertDialog/__stories__/AlertDialog.stories.tsxrename to packages/twenty-ui/src/primitives/surfaces/AlertDialog/__stories__/AlertDialog.stories.tsxdiff --git a/packages/twenty-ui/src/surfaces/AlertDialog/__stories__/AlertDialogExample.tsx b/packages/twenty-ui/src/primitives/surfaces/AlertDialog/__stories__/AlertDialogExample.tsxsimilarity index 100%rename from packages/twenty-ui/src/surfaces/AlertDialog/__stories__/AlertDialogExample.tsxrename to packages/twenty-ui/src/primitives/surfaces/AlertDialog/__stories__/AlertDialogExample.tsxdiff --git a/packages/twenty-ui/src/surfaces/AlertDialog/__stories__/waitForAlertDialog.ts b/packages/twenty-ui/src/primitives/surfaces/AlertDialog/__stories__/waitForAlertDialog.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/AlertDialog/__stories__/waitForAlertDialog.tsrename to packages/twenty-ui/src/primitives/surfaces/AlertDialog/__stories__/waitForAlertDialog.tsdiff --git a/packages/twenty-ui/src/surfaces/AlertDialog/__tests__/AlertDialog.test.tsx b/packages/twenty-ui/src/primitives/surfaces/AlertDialog/__tests__/AlertDialog.test.tsxsimilarity index 96%rename from packages/twenty-ui/src/surfaces/AlertDialog/__tests__/AlertDialog.test.tsxrename to packages/twenty-ui/src/primitives/surfaces/AlertDialog/__tests__/AlertDialog.test.tsxindex 8b979ff5773..10dd8b74f6c 100644--- a/packages/twenty-ui/src/surfaces/AlertDialog/__tests__/AlertDialog.test.tsx+++ b/packages/twenty-ui/src/primitives/surfaces/AlertDialog/__tests__/AlertDialog.test.tsx@@ -2,7 +2,7 @@ import { type ReactNode } from 'react';import { runComponentConformance } from '@test-utilities/conformance/runComponentConformance';-import styles from '../../internal/Dialog.module.scss';+import styles from '@ui/primitives/surfaces/internal/Dialog.module.scss';import { AlertDialog } from '../AlertDialog';const AlertDialogRootWrapper = ({ children }: { children: ReactNode }) => (diff --git a/packages/twenty-ui/src/surfaces/AlertDialog/internal/AlertDialogBody.tsx b/packages/twenty-ui/src/primitives/surfaces/AlertDialog/internal/AlertDialogBody.tsxsimilarity index 83%rename from packages/twenty-ui/src/surfaces/AlertDialog/internal/AlertDialogBody.tsxrename to packages/twenty-ui/src/primitives/surfaces/AlertDialog/internal/AlertDialogBody.tsxindex e75143eaad2..a04c972d0df 100644--- a/packages/twenty-ui/src/surfaces/AlertDialog/internal/AlertDialogBody.tsx+++ b/packages/twenty-ui/src/primitives/surfaces/AlertDialog/internal/AlertDialogBody.tsx@@ -1,7 +1,7 @@import { useRender } from '@base-ui/react/use-render';import { clsx } from 'clsx';-import styles from '../../internal/Dialog.module.scss';+import styles from '@ui/primitives/surfaces/internal/Dialog.module.scss';import { type AlertDialogBodyProps } from '../types/AlertDialogBodyProps';export const AlertDialogBody = ({diff --git a/packages/twenty-ui/src/surfaces/AlertDialog/internal/AlertDialogDescription.tsx b/packages/twenty-ui/src/primitives/surfaces/AlertDialog/internal/AlertDialogDescription.tsxsimilarity index 86%rename from packages/twenty-ui/src/surfaces/AlertDialog/internal/AlertDialogDescription.tsxrename to packages/twenty-ui/src/primitives/surfaces/AlertDialog/internal/AlertDialogDescription.tsxindex d6bc78290e1..d7ad2136a98 100644--- a/packages/twenty-ui/src/surfaces/AlertDialog/internal/AlertDialogDescription.tsx+++ b/packages/twenty-ui/src/primitives/surfaces/AlertDialog/internal/AlertDialogDescription.tsx@@ -2,7 +2,7 @@ import { AlertDialog as AlertDialogPrimitive } from '@base-ui/react/alert-dialogimport { mergeClassNames } from '@ui/utilities/internal/mergeClassNames';-import styles from '../../internal/Dialog.module.scss';+import styles from '@ui/primitives/surfaces/internal/Dialog.module.scss';import { type AlertDialogDescriptionProps } from '../types/AlertDialogDescriptionProps';export const AlertDialogDescription = ({diff --git a/packages/twenty-ui/src/surfaces/AlertDialog/internal/AlertDialogFooter.tsx b/packages/twenty-ui/src/primitives/surfaces/AlertDialog/internal/AlertDialogFooter.tsxsimilarity index 83%rename from packages/twenty-ui/src/surfaces/AlertDialog/internal/AlertDialogFooter.tsxrename to packages/twenty-ui/src/primitives/surfaces/AlertDialog/internal/AlertDialogFooter.tsxindex 087385c3ff5..32653702016 100644--- a/packages/twenty-ui/src/surfaces/AlertDialog/internal/AlertDialogFooter.tsx+++ b/packages/twenty-ui/src/primitives/surfaces/AlertDialog/internal/AlertDialogFooter.tsx@@ -1,7 +1,7 @@import { useRender } from '@base-ui/react/use-render';import { clsx } from 'clsx';-import styles from '../../internal/Dialog.module.scss';+import styles from '@ui/primitives/surfaces/internal/Dialog.module.scss';import { type AlertDialogFooterProps } from '../types/AlertDialogFooterProps';export const AlertDialogFooter = ({diff --git a/packages/twenty-ui/src/surfaces/AlertDialog/internal/AlertDialogHeader.tsx b/packages/twenty-ui/src/primitives/surfaces/AlertDialog/internal/AlertDialogHeader.tsxsimilarity index 83%rename from packages/twenty-ui/src/surfaces/AlertDialog/internal/AlertDialogHeader.tsxrename to packages/twenty-ui/src/primitives/surfaces/AlertDialog/internal/AlertDialogHeader.tsxindex 3ba8d0ee6e7..78669be4602 100644--- a/packages/twenty-ui/src/surfaces/AlertDialog/internal/AlertDialogHeader.tsx+++ b/packages/twenty-ui/src/primitives/surfaces/AlertDialog/internal/AlertDialogHeader.tsx@@ -1,7 +1,7 @@import { useRender } from '@base-ui/react/use-render';import { clsx } from 'clsx';-import styles from '../../internal/Dialog.module.scss';+import styles from '@ui/primitives/surfaces/internal/Dialog.module.scss';import { type AlertDialogHeaderProps } from '../types/AlertDialogHeaderProps';export const AlertDialogHeader = ({diff --git a/packages/twenty-ui/src/surfaces/AlertDialog/internal/AlertDialogPopup.tsx b/packages/twenty-ui/src/primitives/surfaces/AlertDialog/internal/AlertDialogPopup.tsxsimilarity index 94%rename from packages/twenty-ui/src/surfaces/AlertDialog/internal/AlertDialogPopup.tsxrename to packages/twenty-ui/src/primitives/surfaces/AlertDialog/internal/AlertDialogPopup.tsxindex 79d7a1e39b4..d5b0cef6714 100644--- a/packages/twenty-ui/src/surfaces/AlertDialog/internal/AlertDialogPopup.tsx+++ b/packages/twenty-ui/src/primitives/surfaces/AlertDialog/internal/AlertDialogPopup.tsx@@ -4,7 +4,7 @@ import { useDirection } from '@base-ui/react/direction-provider';import { useThemeContainer } from '@ui/theme-constants';import { mergeClassNames } from '@ui/utilities/internal/mergeClassNames';-import styles from '../../internal/Dialog.module.scss';+import styles from '@ui/primitives/surfaces/internal/Dialog.module.scss';import { type AlertDialogPopupProps } from '../types/AlertDialogPopupProps';export const AlertDialogPopup = ({diff --git a/packages/twenty-ui/src/surfaces/AlertDialog/internal/AlertDialogTitle.tsx b/packages/twenty-ui/src/primitives/surfaces/AlertDialog/internal/AlertDialogTitle.tsxsimilarity index 85%rename from packages/twenty-ui/src/surfaces/AlertDialog/internal/AlertDialogTitle.tsxrename to packages/twenty-ui/src/primitives/surfaces/AlertDialog/internal/AlertDialogTitle.tsxindex 840156c4664..c8e60a290c3 100644--- a/packages/twenty-ui/src/surfaces/AlertDialog/internal/AlertDialogTitle.tsx+++ b/packages/twenty-ui/src/primitives/surfaces/AlertDialog/internal/AlertDialogTitle.tsx@@ -2,7 +2,7 @@ import { AlertDialog as AlertDialogPrimitive } from '@base-ui/react/alert-dialogimport { mergeClassNames } from '@ui/utilities/internal/mergeClassNames';-import styles from '../../internal/Dialog.module.scss';+import styles from '@ui/primitives/surfaces/internal/Dialog.module.scss';import { type AlertDialogTitleProps } from '../types/AlertDialogTitleProps';export const AlertDialogTitle = ({diff --git a/packages/twenty-ui/src/surfaces/AlertDialog/types/AlertDialogBodyProps.ts b/packages/twenty-ui/src/primitives/surfaces/AlertDialog/types/AlertDialogBodyProps.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/AlertDialog/types/AlertDialogBodyProps.tsrename to packages/twenty-ui/src/primitives/surfaces/AlertDialog/types/AlertDialogBodyProps.tsdiff --git a/packages/twenty-ui/src/surfaces/AlertDialog/types/AlertDialogCloseProps.ts b/packages/twenty-ui/src/primitives/surfaces/AlertDialog/types/AlertDialogCloseProps.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/AlertDialog/types/AlertDialogCloseProps.tsrename to packages/twenty-ui/src/primitives/surfaces/AlertDialog/types/AlertDialogCloseProps.tsdiff --git a/packages/twenty-ui/src/surfaces/AlertDialog/types/AlertDialogDescriptionProps.ts b/packages/twenty-ui/src/primitives/surfaces/AlertDialog/types/AlertDialogDescriptionProps.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/AlertDialog/types/AlertDialogDescriptionProps.tsrename to packages/twenty-ui/src/primitives/surfaces/AlertDialog/types/AlertDialogDescriptionProps.tsdiff --git a/packages/twenty-ui/src/surfaces/AlertDialog/types/AlertDialogFooterProps.ts b/packages/twenty-ui/src/primitives/surfaces/AlertDialog/types/AlertDialogFooterProps.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/AlertDialog/types/AlertDialogFooterProps.tsrename to packages/twenty-ui/src/primitives/surfaces/AlertDialog/types/AlertDialogFooterProps.tsdiff --git a/packages/twenty-ui/src/surfaces/AlertDialog/types/AlertDialogHeaderProps.ts b/packages/twenty-ui/src/primitives/surfaces/AlertDialog/types/AlertDialogHeaderProps.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/AlertDialog/types/AlertDialogHeaderProps.tsrename to packages/twenty-ui/src/primitives/surfaces/AlertDialog/types/AlertDialogHeaderProps.tsdiff --git a/packages/twenty-ui/src/surfaces/AlertDialog/types/AlertDialogPopupProps.ts b/packages/twenty-ui/src/primitives/surfaces/AlertDialog/types/AlertDialogPopupProps.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/AlertDialog/types/AlertDialogPopupProps.tsrename to packages/twenty-ui/src/primitives/surfaces/AlertDialog/types/AlertDialogPopupProps.tsdiff --git a/packages/twenty-ui/src/surfaces/AlertDialog/types/AlertDialogRootProps.ts b/packages/twenty-ui/src/primitives/surfaces/AlertDialog/types/AlertDialogRootProps.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/AlertDialog/types/AlertDialogRootProps.tsrename to packages/twenty-ui/src/primitives/surfaces/AlertDialog/types/AlertDialogRootProps.tsdiff --git a/packages/twenty-ui/src/surfaces/AlertDialog/types/AlertDialogSize.ts b/packages/twenty-ui/src/primitives/surfaces/AlertDialog/types/AlertDialogSize.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/AlertDialog/types/AlertDialogSize.tsrename to packages/twenty-ui/src/primitives/surfaces/AlertDialog/types/AlertDialogSize.tsdiff --git a/packages/twenty-ui/src/surfaces/AlertDialog/types/AlertDialogTitleProps.ts b/packages/twenty-ui/src/primitives/surfaces/AlertDialog/types/AlertDialogTitleProps.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/AlertDialog/types/AlertDialogTitleProps.tsrename to packages/twenty-ui/src/primitives/surfaces/AlertDialog/types/AlertDialogTitleProps.tsdiff --git a/packages/twenty-ui/src/surfaces/AlertDialog/types/AlertDialogTriggerProps.ts b/packages/twenty-ui/src/primitives/surfaces/AlertDialog/types/AlertDialogTriggerProps.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/AlertDialog/types/AlertDialogTriggerProps.tsrename to packages/twenty-ui/src/primitives/surfaces/AlertDialog/types/AlertDialogTriggerProps.tsdiff --git a/packages/twenty-ui/src/surfaces/AppTooltip/AppTooltip.module.scss b/packages/twenty-ui/src/primitives/surfaces/AppTooltip/AppTooltip.module.scsssimilarity index 100%rename from packages/twenty-ui/src/surfaces/AppTooltip/AppTooltip.module.scssrename to packages/twenty-ui/src/primitives/surfaces/AppTooltip/AppTooltip.module.scssdiff --git a/packages/twenty-ui/src/surfaces/AppTooltip/AppTooltip.module.scss.d.ts b/packages/twenty-ui/src/primitives/surfaces/AppTooltip/AppTooltip.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/AppTooltip/AppTooltip.module.scss.d.tsrename to packages/twenty-ui/src/primitives/surfaces/AppTooltip/AppTooltip.module.scss.d.tsdiff --git a/packages/twenty-ui/src/surfaces/AppTooltip/AppTooltip.tsx b/packages/twenty-ui/src/primitives/surfaces/AppTooltip/AppTooltip.tsxsimilarity index 100%rename from packages/twenty-ui/src/surfaces/AppTooltip/AppTooltip.tsxrename to packages/twenty-ui/src/primitives/surfaces/AppTooltip/AppTooltip.tsxdiff --git a/packages/twenty-ui/src/surfaces/AppTooltip/__stories__/Tooltip.stories.tsx b/packages/twenty-ui/src/primitives/surfaces/AppTooltip/__stories__/Tooltip.stories.tsxsimilarity index 100%rename from packages/twenty-ui/src/surfaces/AppTooltip/__stories__/Tooltip.stories.tsxrename to packages/twenty-ui/src/primitives/surfaces/AppTooltip/__stories__/Tooltip.stories.tsxdiff --git a/packages/twenty-ui/src/surfaces/AppTooltip/__tests__/AppTooltip.types.test.ts b/packages/twenty-ui/src/primitives/surfaces/AppTooltip/__tests__/AppTooltip.types.test.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/AppTooltip/__tests__/AppTooltip.types.test.tsrename to packages/twenty-ui/src/primitives/surfaces/AppTooltip/__tests__/AppTooltip.types.test.tsdiff --git a/packages/twenty-ui/src/surfaces/Card/Card.module.scss b/packages/twenty-ui/src/primitives/surfaces/Card/Card.module.scsssimilarity index 100%rename from packages/twenty-ui/src/surfaces/Card/Card.module.scssrename to packages/twenty-ui/src/primitives/surfaces/Card/Card.module.scssdiff --git a/packages/twenty-ui/src/surfaces/Card/Card.module.scss.d.ts b/packages/twenty-ui/src/primitives/surfaces/Card/Card.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/Card/Card.module.scss.d.tsrename to packages/twenty-ui/src/primitives/surfaces/Card/Card.module.scss.d.tsdiff --git a/packages/twenty-ui/src/surfaces/Card/Card.tsx b/packages/twenty-ui/src/primitives/surfaces/Card/Card.tsxsimilarity index 100%rename from packages/twenty-ui/src/surfaces/Card/Card.tsxrename to packages/twenty-ui/src/primitives/surfaces/Card/Card.tsxdiff --git a/packages/twenty-ui/src/surfaces/Card/__stories__/Card.stories.tsx b/packages/twenty-ui/src/primitives/surfaces/Card/__stories__/Card.stories.tsxsimilarity index 71%rename from packages/twenty-ui/src/surfaces/Card/__stories__/Card.stories.tsxrename to packages/twenty-ui/src/primitives/surfaces/Card/__stories__/Card.stories.tsxindex 026f137ebe6..a3de3a75989 100644--- a/packages/twenty-ui/src/surfaces/Card/__stories__/Card.stories.tsx+++ b/packages/twenty-ui/src/primitives/surfaces/Card/__stories__/Card.stories.tsx@@ -1,10 +1,10 @@import { type Meta, type StoryObj } from '@storybook/react-vite';import { ComponentDecorator } from '@ui/testing';-import { Card } from '@ui/surfaces/Card/Card';-import { CardContent } from '@ui/surfaces/CardContent/CardContent';-import { CardFooter } from '@ui/surfaces/CardFooter/CardFooter';-import { CardHeader } from '@ui/surfaces/CardHeader/CardHeader';+import { Card } from '@ui/primitives/surfaces/Card/Card';+import { CardContent } from '@ui/primitives/surfaces/CardContent/CardContent';+import { CardFooter } from '@ui/primitives/surfaces/CardFooter/CardFooter';+import { CardHeader } from '@ui/primitives/surfaces/CardHeader/CardHeader';const meta: Meta<typeof Card> = {title: 'UI/Surfaces/Card',diff --git a/packages/twenty-ui/src/surfaces/CardContent/CardContent.module.scss b/packages/twenty-ui/src/primitives/surfaces/CardContent/CardContent.module.scsssimilarity index 100%rename from packages/twenty-ui/src/surfaces/CardContent/CardContent.module.scssrename to packages/twenty-ui/src/primitives/surfaces/CardContent/CardContent.module.scssdiff --git a/packages/twenty-ui/src/surfaces/CardContent/CardContent.module.scss.d.ts b/packages/twenty-ui/src/primitives/surfaces/CardContent/CardContent.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/CardContent/CardContent.module.scss.d.tsrename to packages/twenty-ui/src/primitives/surfaces/CardContent/CardContent.module.scss.d.tsdiff --git a/packages/twenty-ui/src/surfaces/CardContent/CardContent.tsx b/packages/twenty-ui/src/primitives/surfaces/CardContent/CardContent.tsxsimilarity index 100%rename from packages/twenty-ui/src/surfaces/CardContent/CardContent.tsxrename to packages/twenty-ui/src/primitives/surfaces/CardContent/CardContent.tsxdiff --git a/packages/twenty-ui/src/surfaces/CardFooter/CardFooter.module.scss b/packages/twenty-ui/src/primitives/surfaces/CardFooter/CardFooter.module.scsssimilarity index 100%rename from packages/twenty-ui/src/surfaces/CardFooter/CardFooter.module.scssrename to packages/twenty-ui/src/primitives/surfaces/CardFooter/CardFooter.module.scssdiff --git a/packages/twenty-ui/src/surfaces/CardFooter/CardFooter.module.scss.d.ts b/packages/twenty-ui/src/primitives/surfaces/CardFooter/CardFooter.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/CardFooter/CardFooter.module.scss.d.tsrename to packages/twenty-ui/src/primitives/surfaces/CardFooter/CardFooter.module.scss.d.tsdiff --git a/packages/twenty-ui/src/surfaces/CardFooter/CardFooter.tsx b/packages/twenty-ui/src/primitives/surfaces/CardFooter/CardFooter.tsxsimilarity index 100%rename from packages/twenty-ui/src/surfaces/CardFooter/CardFooter.tsxrename to packages/twenty-ui/src/primitives/surfaces/CardFooter/CardFooter.tsxdiff --git a/packages/twenty-ui/src/surfaces/CardHeader/CardHeader.module.scss b/packages/twenty-ui/src/primitives/surfaces/CardHeader/CardHeader.module.scsssimilarity index 100%rename from packages/twenty-ui/src/surfaces/CardHeader/CardHeader.module.scssrename to packages/twenty-ui/src/primitives/surfaces/CardHeader/CardHeader.module.scssdiff --git a/packages/twenty-ui/src/surfaces/CardHeader/CardHeader.module.scss.d.ts b/packages/twenty-ui/src/primitives/surfaces/CardHeader/CardHeader.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/CardHeader/CardHeader.module.scss.d.tsrename to packages/twenty-ui/src/primitives/surfaces/CardHeader/CardHeader.module.scss.d.tsdiff --git a/packages/twenty-ui/src/surfaces/CardHeader/CardHeader.tsx b/packages/twenty-ui/src/primitives/surfaces/CardHeader/CardHeader.tsxsimilarity index 100%rename from packages/twenty-ui/src/surfaces/CardHeader/CardHeader.tsxrename to packages/twenty-ui/src/primitives/surfaces/CardHeader/CardHeader.tsxdiff --git a/packages/twenty-ui/src/surfaces/Menu/Menu.module.scss b/packages/twenty-ui/src/primitives/surfaces/Menu/Menu.module.scsssimilarity index 100%rename from packages/twenty-ui/src/surfaces/Menu/Menu.module.scssrename to packages/twenty-ui/src/primitives/surfaces/Menu/Menu.module.scssdiff --git a/packages/twenty-ui/src/surfaces/Menu/Menu.module.scss.d.ts b/packages/twenty-ui/src/primitives/surfaces/Menu/Menu.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/Menu/Menu.module.scss.d.tsrename to packages/twenty-ui/src/primitives/surfaces/Menu/Menu.module.scss.d.tsdiff --git a/packages/twenty-ui/src/surfaces/Menu/Menu.tsx b/packages/twenty-ui/src/primitives/surfaces/Menu/Menu.tsxsimilarity index 100%rename from packages/twenty-ui/src/surfaces/Menu/Menu.tsxrename to packages/twenty-ui/src/primitives/surfaces/Menu/Menu.tsxdiff --git a/packages/twenty-ui/src/surfaces/Menu/__stories__/Menu.interactions.stories.tsx b/packages/twenty-ui/src/primitives/surfaces/Menu/__stories__/Menu.interactions.stories.tsxsimilarity index 100%rename from packages/twenty-ui/src/surfaces/Menu/__stories__/Menu.interactions.stories.tsxrename to packages/twenty-ui/src/primitives/surfaces/Menu/__stories__/Menu.interactions.stories.tsxdiff --git a/packages/twenty-ui/src/surfaces/Menu/__stories__/Menu.portals.stories.tsx b/packages/twenty-ui/src/primitives/surfaces/Menu/__stories__/Menu.portals.stories.tsxsimilarity index 100%rename from packages/twenty-ui/src/surfaces/Menu/__stories__/Menu.portals.stories.tsxrename to packages/twenty-ui/src/primitives/surfaces/Menu/__stories__/Menu.portals.stories.tsxdiff --git a/packages/twenty-ui/src/surfaces/Menu/__stories__/Menu.stories.tsx b/packages/twenty-ui/src/primitives/surfaces/Menu/__stories__/Menu.stories.tsxsimilarity index 100%rename from packages/twenty-ui/src/surfaces/Menu/__stories__/Menu.stories.tsxrename to packages/twenty-ui/src/primitives/surfaces/Menu/__stories__/Menu.stories.tsxdiff --git a/packages/twenty-ui/src/surfaces/Menu/__tests__/Menu.test.tsx b/packages/twenty-ui/src/primitives/surfaces/Menu/__tests__/Menu.test.tsxsimilarity index 97%rename from packages/twenty-ui/src/surfaces/Menu/__tests__/Menu.test.tsxrename to packages/twenty-ui/src/primitives/surfaces/Menu/__tests__/Menu.test.tsxindex 0823f7dfe7e..06e16f94fce 100644--- a/packages/twenty-ui/src/surfaces/Menu/__tests__/Menu.test.tsx+++ b/packages/twenty-ui/src/primitives/surfaces/Menu/__tests__/Menu.test.tsx@@ -1,7 +1,7 @@import { type ReactNode } from 'react';import { runComponentConformance } from '@test-utilities/conformance/runComponentConformance';-import listItemStyles from '@ui/navigation/ListItem/ListItem.module.scss';+import listItemStyles from '@ui/primitives/navigation/ListItem/ListItem.module.scss';import { Menu } from '../Menu';import styles from '../Menu.module.scss';diff --git a/packages/twenty-ui/src/surfaces/Menu/internal/MenuCheckboxItem.tsx b/packages/twenty-ui/src/primitives/surfaces/Menu/internal/MenuCheckboxItem.tsxsimilarity index 100%rename from packages/twenty-ui/src/surfaces/Menu/internal/MenuCheckboxItem.tsxrename to packages/twenty-ui/src/primitives/surfaces/Menu/internal/MenuCheckboxItem.tsxdiff --git a/packages/twenty-ui/src/surfaces/Menu/internal/MenuGroup.tsx b/packages/twenty-ui/src/primitives/surfaces/Menu/internal/MenuGroup.tsxsimilarity index 100%rename from packages/twenty-ui/src/surfaces/Menu/internal/MenuGroup.tsxrename to packages/twenty-ui/src/primitives/surfaces/Menu/internal/MenuGroup.tsxdiff --git a/packages/twenty-ui/src/surfaces/Menu/internal/MenuGroupLabel.tsx b/packages/twenty-ui/src/primitives/surfaces/Menu/internal/MenuGroupLabel.tsxsimilarity index 100%rename from packages/twenty-ui/src/surfaces/Menu/internal/MenuGroupLabel.tsxrename to packages/twenty-ui/src/primitives/surfaces/Menu/internal/MenuGroupLabel.tsxdiff --git a/packages/twenty-ui/src/surfaces/Menu/internal/MenuItem.tsx b/packages/twenty-ui/src/primitives/surfaces/Menu/internal/MenuItem.tsxsimilarity index 100%rename from packages/twenty-ui/src/surfaces/Menu/internal/MenuItem.tsxrename to packages/twenty-ui/src/primitives/surfaces/Menu/internal/MenuItem.tsxdiff --git a/packages/twenty-ui/src/surfaces/Menu/internal/MenuNestingContext.ts b/packages/twenty-ui/src/primitives/surfaces/Menu/internal/MenuNestingContext.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/Menu/internal/MenuNestingContext.tsrename to packages/twenty-ui/src/primitives/surfaces/Menu/internal/MenuNestingContext.tsdiff --git a/packages/twenty-ui/src/surfaces/Menu/internal/MenuPopup.tsx b/packages/twenty-ui/src/primitives/surfaces/Menu/internal/MenuPopup.tsxsimilarity index 100%rename from packages/twenty-ui/src/surfaces/Menu/internal/MenuPopup.tsxrename to packages/twenty-ui/src/primitives/surfaces/Menu/internal/MenuPopup.tsxdiff --git a/packages/twenty-ui/src/surfaces/Menu/internal/MenuPopupPositionDefaults.ts b/packages/twenty-ui/src/primitives/surfaces/Menu/internal/MenuPopupPositionDefaults.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/Menu/internal/MenuPopupPositionDefaults.tsrename to packages/twenty-ui/src/primitives/surfaces/Menu/internal/MenuPopupPositionDefaults.tsdiff --git a/packages/twenty-ui/src/surfaces/Menu/internal/MenuRadioGroup.tsx b/packages/twenty-ui/src/primitives/surfaces/Menu/internal/MenuRadioGroup.tsxsimilarity index 100%rename from packages/twenty-ui/src/surfaces/Menu/internal/MenuRadioGroup.tsxrename to packages/twenty-ui/src/primitives/surfaces/Menu/internal/MenuRadioGroup.tsxdiff --git a/packages/twenty-ui/src/surfaces/Menu/internal/MenuRadioItem.tsx b/packages/twenty-ui/src/primitives/surfaces/Menu/internal/MenuRadioItem.tsxsimilarity index 100%rename from packages/twenty-ui/src/surfaces/Menu/internal/MenuRadioItem.tsxrename to packages/twenty-ui/src/primitives/surfaces/Menu/internal/MenuRadioItem.tsxdiff --git a/packages/twenty-ui/src/surfaces/Menu/internal/MenuSeparator.tsx b/packages/twenty-ui/src/primitives/surfaces/Menu/internal/MenuSeparator.tsxsimilarity index 100%rename from packages/twenty-ui/src/surfaces/Menu/internal/MenuSeparator.tsxrename to packages/twenty-ui/src/primitives/surfaces/Menu/internal/MenuSeparator.tsxdiff --git a/packages/twenty-ui/src/surfaces/Menu/internal/MenuSubmenuRoot.tsx b/packages/twenty-ui/src/primitives/surfaces/Menu/internal/MenuSubmenuRoot.tsxsimilarity index 100%rename from packages/twenty-ui/src/surfaces/Menu/internal/MenuSubmenuRoot.tsxrename to packages/twenty-ui/src/primitives/surfaces/Menu/internal/MenuSubmenuRoot.tsxdiff --git a/packages/twenty-ui/src/surfaces/Menu/internal/MenuSubmenuTrigger.tsx b/packages/twenty-ui/src/primitives/surfaces/Menu/internal/MenuSubmenuTrigger.tsxsimilarity index 100%rename from packages/twenty-ui/src/surfaces/Menu/internal/MenuSubmenuTrigger.tsxrename to packages/twenty-ui/src/primitives/surfaces/Menu/internal/MenuSubmenuTrigger.tsxdiff --git a/packages/twenty-ui/src/surfaces/Menu/internal/getMenuListItemProps.tsx b/packages/twenty-ui/src/primitives/surfaces/Menu/internal/getMenuListItemProps.tsxsimilarity index 89%rename from packages/twenty-ui/src/surfaces/Menu/internal/getMenuListItemProps.tsxrename to packages/twenty-ui/src/primitives/surfaces/Menu/internal/getMenuListItemProps.tsxindex fb20cc838bc..9bd0612c303 100644--- a/packages/twenty-ui/src/surfaces/Menu/internal/getMenuListItemProps.tsx+++ b/packages/twenty-ui/src/primitives/surfaces/Menu/internal/getMenuListItemProps.tsx@@ -2,8 +2,8 @@ import { type ComponentRenderFn, type HTMLProps } from '@base-ui/react/types';import { isFunction } from '@sniptt/guards';import { type ReactElement, type ReactNode } from 'react';-import { ListItem } from '@ui/navigation/ListItem/ListItem';-import { type ListItemProps } from '@ui/navigation/ListItem/types/ListItemProps';+import { ListItem } from '@ui/primitives/navigation/ListItem/ListItem';+import { type ListItemProps } from '@ui/primitives/navigation/ListItem/types/ListItemProps';import { type MenuItemSlotProps } from '../types/MenuItemSlotProps';diff --git a/packages/twenty-ui/src/surfaces/Menu/types/MenuActionItemProps.ts b/packages/twenty-ui/src/primitives/surfaces/Menu/types/MenuActionItemProps.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/Menu/types/MenuActionItemProps.tsrename to packages/twenty-ui/src/primitives/surfaces/Menu/types/MenuActionItemProps.tsdiff --git a/packages/twenty-ui/src/surfaces/Menu/types/MenuAlign.ts b/packages/twenty-ui/src/primitives/surfaces/Menu/types/MenuAlign.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/Menu/types/MenuAlign.tsrename to packages/twenty-ui/src/primitives/surfaces/Menu/types/MenuAlign.tsdiff --git a/packages/twenty-ui/src/surfaces/Menu/types/MenuCheckboxItemProps.ts b/packages/twenty-ui/src/primitives/surfaces/Menu/types/MenuCheckboxItemProps.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/Menu/types/MenuCheckboxItemProps.tsrename to packages/twenty-ui/src/primitives/surfaces/Menu/types/MenuCheckboxItemProps.tsdiff --git a/packages/twenty-ui/src/surfaces/Menu/types/MenuGroupLabelProps.ts b/packages/twenty-ui/src/primitives/surfaces/Menu/types/MenuGroupLabelProps.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/Menu/types/MenuGroupLabelProps.tsrename to packages/twenty-ui/src/primitives/surfaces/Menu/types/MenuGroupLabelProps.tsdiff --git a/packages/twenty-ui/src/surfaces/Menu/types/MenuGroupProps.ts b/packages/twenty-ui/src/primitives/surfaces/Menu/types/MenuGroupProps.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/Menu/types/MenuGroupProps.tsrename to packages/twenty-ui/src/primitives/surfaces/Menu/types/MenuGroupProps.tsdiff --git a/packages/twenty-ui/src/surfaces/Menu/types/MenuItemSlotProps.ts b/packages/twenty-ui/src/primitives/surfaces/Menu/types/MenuItemSlotProps.tssimilarity index 63%rename from packages/twenty-ui/src/surfaces/Menu/types/MenuItemSlotProps.tsrename to packages/twenty-ui/src/primitives/surfaces/Menu/types/MenuItemSlotProps.tsindex d6532e20af2..7714986a523 100644--- a/packages/twenty-ui/src/surfaces/Menu/types/MenuItemSlotProps.ts+++ b/packages/twenty-ui/src/primitives/surfaces/Menu/types/MenuItemSlotProps.ts@@ -1,4 +1,4 @@-import { type ListItemProps } from '@ui/navigation/ListItem/types/ListItemProps';+import { type ListItemProps } from '@ui/primitives/navigation/ListItem/types/ListItemProps';export type MenuItemSlotProps = Pick<ListItemProps,diff --git a/packages/twenty-ui/src/surfaces/Menu/types/MenuPopupProps.ts b/packages/twenty-ui/src/primitives/surfaces/Menu/types/MenuPopupProps.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/Menu/types/MenuPopupProps.tsrename to packages/twenty-ui/src/primitives/surfaces/Menu/types/MenuPopupProps.tsdiff --git a/packages/twenty-ui/src/surfaces/Menu/types/MenuRadioGroupProps.ts b/packages/twenty-ui/src/primitives/surfaces/Menu/types/MenuRadioGroupProps.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/Menu/types/MenuRadioGroupProps.tsrename to packages/twenty-ui/src/primitives/surfaces/Menu/types/MenuRadioGroupProps.tsdiff --git a/packages/twenty-ui/src/surfaces/Menu/types/MenuRadioItemProps.ts b/packages/twenty-ui/src/primitives/surfaces/Menu/types/MenuRadioItemProps.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/Menu/types/MenuRadioItemProps.tsrename to packages/twenty-ui/src/primitives/surfaces/Menu/types/MenuRadioItemProps.tsdiff --git a/packages/twenty-ui/src/surfaces/Menu/types/MenuRootProps.ts b/packages/twenty-ui/src/primitives/surfaces/Menu/types/MenuRootProps.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/Menu/types/MenuRootProps.tsrename to packages/twenty-ui/src/primitives/surfaces/Menu/types/MenuRootProps.tsdiff --git a/packages/twenty-ui/src/surfaces/Menu/types/MenuSeparatorProps.ts b/packages/twenty-ui/src/primitives/surfaces/Menu/types/MenuSeparatorProps.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/Menu/types/MenuSeparatorProps.tsrename to packages/twenty-ui/src/primitives/surfaces/Menu/types/MenuSeparatorProps.tsdiff --git a/packages/twenty-ui/src/surfaces/Menu/types/MenuSide.ts b/packages/twenty-ui/src/primitives/surfaces/Menu/types/MenuSide.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/Menu/types/MenuSide.tsrename to packages/twenty-ui/src/primitives/surfaces/Menu/types/MenuSide.tsdiff --git a/packages/twenty-ui/src/surfaces/Menu/types/MenuSubmenuRootProps.ts b/packages/twenty-ui/src/primitives/surfaces/Menu/types/MenuSubmenuRootProps.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/Menu/types/MenuSubmenuRootProps.tsrename to packages/twenty-ui/src/primitives/surfaces/Menu/types/MenuSubmenuRootProps.tsdiff --git a/packages/twenty-ui/src/surfaces/Menu/types/MenuSubmenuTriggerProps.ts b/packages/twenty-ui/src/primitives/surfaces/Menu/types/MenuSubmenuTriggerProps.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/Menu/types/MenuSubmenuTriggerProps.tsrename to packages/twenty-ui/src/primitives/surfaces/Menu/types/MenuSubmenuTriggerProps.tsdiff --git a/packages/twenty-ui/src/surfaces/Menu/types/MenuTriggerProps.ts b/packages/twenty-ui/src/primitives/surfaces/Menu/types/MenuTriggerProps.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/Menu/types/MenuTriggerProps.tsrename to packages/twenty-ui/src/primitives/surfaces/Menu/types/MenuTriggerProps.tsdiff --git a/packages/twenty-ui/src/surfaces/Modal/Modal.module.scss b/packages/twenty-ui/src/primitives/surfaces/Modal/Modal.module.scsssimilarity index 100%rename from packages/twenty-ui/src/surfaces/Modal/Modal.module.scssrename to packages/twenty-ui/src/primitives/surfaces/Modal/Modal.module.scssdiff --git a/packages/twenty-ui/src/surfaces/Modal/Modal.module.scss.d.ts b/packages/twenty-ui/src/primitives/surfaces/Modal/Modal.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/Modal/Modal.module.scss.d.tsrename to packages/twenty-ui/src/primitives/surfaces/Modal/Modal.module.scss.d.tsdiff --git a/packages/twenty-ui/src/surfaces/Modal/Modal.tsx b/packages/twenty-ui/src/primitives/surfaces/Modal/Modal.tsxsimilarity index 91%rename from packages/twenty-ui/src/surfaces/Modal/Modal.tsxrename to packages/twenty-ui/src/primitives/surfaces/Modal/Modal.tsxindex 0022038146a..f05788cebb7 100644--- a/packages/twenty-ui/src/surfaces/Modal/Modal.tsx+++ b/packages/twenty-ui/src/primitives/surfaces/Modal/Modal.tsx@@ -4,12 +4,12 @@ import { useRef } from 'react';import { useThemeContainer } from '@ui/theme-constants';import { isDefined } from '@ui/utilities/utils/isDefined';-import { type ModalOverlay } from '@ui/surfaces/Modal/types/ModalOverlay';-import { type ModalPadding } from '@ui/surfaces/Modal/types/ModalPadding';-import { type ModalProps } from '@ui/surfaces/Modal/types/ModalProps';+import { type ModalOverlay } from '@ui/primitives/surfaces/Modal/types/ModalOverlay';+import { type ModalPadding } from '@ui/primitives/surfaces/Modal/types/ModalPadding';+import { type ModalProps } from '@ui/primitives/surfaces/Modal/types/ModalProps';import styles from './Modal.module.scss';-import { ModalBackdrop } from '@ui/surfaces/ModalBackdrop/ModalBackdrop';+import { ModalBackdrop } from '@ui/primitives/surfaces/ModalBackdrop/ModalBackdrop';const DEFAULT_MODAL_Z_INDEX = 40;const DEFAULT_BACKDROP_Z_INDEX = 39;diff --git a/packages/twenty-ui/src/surfaces/Modal/__stories__/Modal.stories.module.scss b/packages/twenty-ui/src/primitives/surfaces/Modal/__stories__/Modal.stories.module.scsssimilarity index 100%rename from packages/twenty-ui/src/surfaces/Modal/__stories__/Modal.stories.module.scssrename to packages/twenty-ui/src/primitives/surfaces/Modal/__stories__/Modal.stories.module.scssdiff --git a/packages/twenty-ui/src/surfaces/Modal/__stories__/Modal.stories.module.scss.d.ts b/packages/twenty-ui/src/primitives/surfaces/Modal/__stories__/Modal.stories.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/Modal/__stories__/Modal.stories.module.scss.d.tsrename to packages/twenty-ui/src/primitives/surfaces/Modal/__stories__/Modal.stories.module.scss.d.tsdiff --git a/packages/twenty-ui/src/surfaces/Modal/__stories__/Modal.stories.tsx b/packages/twenty-ui/src/primitives/surfaces/Modal/__stories__/Modal.stories.tsxsimilarity index 92%rename from packages/twenty-ui/src/surfaces/Modal/__stories__/Modal.stories.tsxrename to packages/twenty-ui/src/primitives/surfaces/Modal/__stories__/Modal.stories.tsxindex 662d7d95636..d585e002857 100644--- a/packages/twenty-ui/src/surfaces/Modal/__stories__/Modal.stories.tsx+++ b/packages/twenty-ui/src/primitives/surfaces/Modal/__stories__/Modal.stories.tsx@@ -1,15 +1,19 @@import { type Meta, type StoryObj } from '@storybook/react-vite';import { useState } from 'react';import { IconX } from '@ui/icon';-import { H1Title, H1TitleFontColor, H2Title } from '@ui/typography';-import { Button, IconButton } from '@ui/input';-import { Section, SectionAlignment, SectionFontColor } from '@ui/layout';+import { H1Title, H1TitleFontColor, H2Title } from '@ui/primitives/typography';+import { Button, IconButton } from '@ui/primitives/input';+import {+ Section,+ SectionAlignment,+ SectionFontColor,+} from '@ui/primitives/layout';import { A11Y_DEFER_COLOR_CONTRAST, ComponentDecorator } from '@ui/testing';-import { Modal } from '@ui/surfaces/Modal/Modal';-import { ModalContent } from '@ui/surfaces/ModalContent/ModalContent';-import { ModalFooter } from '@ui/surfaces/ModalFooter/ModalFooter';-import { ModalHeader } from '@ui/surfaces/ModalHeader/ModalHeader';+import { Modal } from '@ui/primitives/surfaces/Modal/Modal';+import { ModalContent } from '@ui/primitives/surfaces/ModalContent/ModalContent';+import { ModalFooter } from '@ui/primitives/surfaces/ModalFooter/ModalFooter';+import { ModalHeader } from '@ui/primitives/surfaces/ModalHeader/ModalHeader';import styles from './Modal.stories.module.scss';diff --git a/packages/twenty-ui/src/surfaces/Modal/types/ModalOverlay.ts b/packages/twenty-ui/src/primitives/surfaces/Modal/types/ModalOverlay.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/Modal/types/ModalOverlay.tsrename to packages/twenty-ui/src/primitives/surfaces/Modal/types/ModalOverlay.tsdiff --git a/packages/twenty-ui/src/surfaces/Modal/types/ModalPadding.ts b/packages/twenty-ui/src/primitives/surfaces/Modal/types/ModalPadding.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/Modal/types/ModalPadding.tsrename to packages/twenty-ui/src/primitives/surfaces/Modal/types/ModalPadding.tsdiff --git a/packages/twenty-ui/src/surfaces/Modal/types/ModalProps.ts b/packages/twenty-ui/src/primitives/surfaces/Modal/types/ModalProps.tssimilarity index 72%rename from packages/twenty-ui/src/surfaces/Modal/types/ModalProps.tsrename to packages/twenty-ui/src/primitives/surfaces/Modal/types/ModalProps.tsindex 0b603334437..5d90f85c06a 100644--- a/packages/twenty-ui/src/surfaces/Modal/types/ModalProps.ts+++ b/packages/twenty-ui/src/primitives/surfaces/Modal/types/ModalProps.ts@@ -1,8 +1,8 @@import type React from 'react';-import { type ModalOverlay } from '@ui/surfaces/Modal/types/ModalOverlay';-import { type ModalPadding } from '@ui/surfaces/Modal/types/ModalPadding';-import { type ModalSize } from '@ui/surfaces/Modal/types/ModalSize';+import { type ModalOverlay } from '@ui/primitives/surfaces/Modal/types/ModalOverlay';+import { type ModalPadding } from '@ui/primitives/surfaces/Modal/types/ModalPadding';+import { type ModalSize } from '@ui/primitives/surfaces/Modal/types/ModalSize';export type ModalProps = React.PropsWithChildren & {isOpen: boolean;diff --git a/packages/twenty-ui/src/surfaces/Modal/types/ModalSize.ts b/packages/twenty-ui/src/primitives/surfaces/Modal/types/ModalSize.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/Modal/types/ModalSize.tsrename to packages/twenty-ui/src/primitives/surfaces/Modal/types/ModalSize.tsdiff --git a/packages/twenty-ui/src/surfaces/ModalBackdrop/ModalBackdrop.module.scss b/packages/twenty-ui/src/primitives/surfaces/ModalBackdrop/ModalBackdrop.module.scsssimilarity index 100%rename from packages/twenty-ui/src/surfaces/ModalBackdrop/ModalBackdrop.module.scssrename to packages/twenty-ui/src/primitives/surfaces/ModalBackdrop/ModalBackdrop.module.scssdiff --git a/packages/twenty-ui/src/surfaces/ModalBackdrop/ModalBackdrop.module.scss.d.ts b/packages/twenty-ui/src/primitives/surfaces/ModalBackdrop/ModalBackdrop.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/ModalBackdrop/ModalBackdrop.module.scss.d.tsrename to packages/twenty-ui/src/primitives/surfaces/ModalBackdrop/ModalBackdrop.module.scss.d.tsdiff --git a/packages/twenty-ui/src/surfaces/ModalBackdrop/ModalBackdrop.tsx b/packages/twenty-ui/src/primitives/surfaces/ModalBackdrop/ModalBackdrop.tsxsimilarity index 92%rename from packages/twenty-ui/src/surfaces/ModalBackdrop/ModalBackdrop.tsxrename to packages/twenty-ui/src/primitives/surfaces/ModalBackdrop/ModalBackdrop.tsxindex c9b65c6bbf5..32b99ca4b7e 100644--- a/packages/twenty-ui/src/surfaces/ModalBackdrop/ModalBackdrop.tsx+++ b/packages/twenty-ui/src/primitives/surfaces/ModalBackdrop/ModalBackdrop.tsx@@ -1,7 +1,7 @@import { clsx } from 'clsx';import { forwardRef } from 'react';-import { type ModalOverlay } from '@ui/surfaces/Modal/types/ModalOverlay';+import { type ModalOverlay } from '@ui/primitives/surfaces/Modal/types/ModalOverlay';import styles from './ModalBackdrop.module.scss';diff --git a/packages/twenty-ui/src/surfaces/ModalContent/ModalContent.module.scss b/packages/twenty-ui/src/primitives/surfaces/ModalContent/ModalContent.module.scsssimilarity index 100%rename from packages/twenty-ui/src/surfaces/ModalContent/ModalContent.module.scssrename to packages/twenty-ui/src/primitives/surfaces/ModalContent/ModalContent.module.scssdiff --git a/packages/twenty-ui/src/surfaces/ModalContent/ModalContent.module.scss.d.ts b/packages/twenty-ui/src/primitives/surfaces/ModalContent/ModalContent.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/ModalContent/ModalContent.module.scss.d.tsrename to packages/twenty-ui/src/primitives/surfaces/ModalContent/ModalContent.module.scss.d.tsdiff --git a/packages/twenty-ui/src/surfaces/ModalContent/ModalContent.tsx b/packages/twenty-ui/src/primitives/surfaces/ModalContent/ModalContent.tsxsimilarity index 100%rename from packages/twenty-ui/src/surfaces/ModalContent/ModalContent.tsxrename to packages/twenty-ui/src/primitives/surfaces/ModalContent/ModalContent.tsxdiff --git a/packages/twenty-ui/src/surfaces/ModalFooter/ModalFooter.module.scss b/packages/twenty-ui/src/primitives/surfaces/ModalFooter/ModalFooter.module.scsssimilarity index 100%rename from packages/twenty-ui/src/surfaces/ModalFooter/ModalFooter.module.scssrename to packages/twenty-ui/src/primitives/surfaces/ModalFooter/ModalFooter.module.scssdiff --git a/packages/twenty-ui/src/surfaces/ModalFooter/ModalFooter.module.scss.d.ts b/packages/twenty-ui/src/primitives/surfaces/ModalFooter/ModalFooter.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/ModalFooter/ModalFooter.module.scss.d.tsrename to packages/twenty-ui/src/primitives/surfaces/ModalFooter/ModalFooter.module.scss.d.tsdiff --git a/packages/twenty-ui/src/surfaces/ModalFooter/ModalFooter.tsx b/packages/twenty-ui/src/primitives/surfaces/ModalFooter/ModalFooter.tsxsimilarity index 100%rename from packages/twenty-ui/src/surfaces/ModalFooter/ModalFooter.tsxrename to packages/twenty-ui/src/primitives/surfaces/ModalFooter/ModalFooter.tsxdiff --git a/packages/twenty-ui/src/surfaces/ModalHeader/ModalHeader.module.scss b/packages/twenty-ui/src/primitives/surfaces/ModalHeader/ModalHeader.module.scsssimilarity index 100%rename from packages/twenty-ui/src/surfaces/ModalHeader/ModalHeader.module.scssrename to packages/twenty-ui/src/primitives/surfaces/ModalHeader/ModalHeader.module.scssdiff --git a/packages/twenty-ui/src/surfaces/ModalHeader/ModalHeader.module.scss.d.ts b/packages/twenty-ui/src/primitives/surfaces/ModalHeader/ModalHeader.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/ModalHeader/ModalHeader.module.scss.d.tsrename to packages/twenty-ui/src/primitives/surfaces/ModalHeader/ModalHeader.module.scss.d.tsdiff --git a/packages/twenty-ui/src/surfaces/ModalHeader/ModalHeader.tsx b/packages/twenty-ui/src/primitives/surfaces/ModalHeader/ModalHeader.tsxsimilarity index 100%rename from packages/twenty-ui/src/surfaces/ModalHeader/ModalHeader.tsxrename to packages/twenty-ui/src/primitives/surfaces/ModalHeader/ModalHeader.tsxdiff --git a/packages/twenty-ui/src/surfaces/OverflowingTextWithTooltip/OverflowingTextWithTooltip.module.scss b/packages/twenty-ui/src/primitives/surfaces/OverflowingTextWithTooltip/OverflowingTextWithTooltip.module.scsssimilarity index 100%rename from packages/twenty-ui/src/surfaces/OverflowingTextWithTooltip/OverflowingTextWithTooltip.module.scssrename to packages/twenty-ui/src/primitives/surfaces/OverflowingTextWithTooltip/OverflowingTextWithTooltip.module.scssdiff --git a/packages/twenty-ui/src/surfaces/OverflowingTextWithTooltip/OverflowingTextWithTooltip.module.scss.d.ts b/packages/twenty-ui/src/primitives/surfaces/OverflowingTextWithTooltip/OverflowingTextWithTooltip.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/OverflowingTextWithTooltip/OverflowingTextWithTooltip.module.scss.d.tsrename to packages/twenty-ui/src/primitives/surfaces/OverflowingTextWithTooltip/OverflowingTextWithTooltip.module.scss.d.tsdiff --git a/packages/twenty-ui/src/surfaces/OverflowingTextWithTooltip/OverflowingTextWithTooltip.tsx b/packages/twenty-ui/src/primitives/surfaces/OverflowingTextWithTooltip/OverflowingTextWithTooltip.tsxsimilarity index 96%rename from packages/twenty-ui/src/surfaces/OverflowingTextWithTooltip/OverflowingTextWithTooltip.tsxrename to packages/twenty-ui/src/primitives/surfaces/OverflowingTextWithTooltip/OverflowingTextWithTooltip.tsxindex 8b8a88cd16f..d7e3738423a 100644--- a/packages/twenty-ui/src/surfaces/OverflowingTextWithTooltip/OverflowingTextWithTooltip.tsx+++ b/packages/twenty-ui/src/primitives/surfaces/OverflowingTextWithTooltip/OverflowingTextWithTooltip.tsx@@ -9,14 +9,14 @@ import { createPortal } from 'react-dom';import { isNonEmptyString } from '@sniptt/guards';import { clsx } from 'clsx';-import { LinkifiedText } from '@ui/typography/LinkifiedText/LinkifiedText';-import { Text } from '@ui/typography/Text/Text';+import { LinkifiedText } from '@ui/primitives/typography/LinkifiedText/LinkifiedText';+import { Text } from '@ui/primitives/typography/Text/Text';import { isDefined } from '@ui/utilities/utils/isDefined';import {AppTooltip,TooltipDelay,TooltipPosition,-} from '@ui/surfaces/AppTooltip/AppTooltip';+} from '@ui/primitives/surfaces/AppTooltip/AppTooltip';import styles from './OverflowingTextWithTooltip.module.scss';diff --git a/packages/twenty-ui/src/surfaces/OverflowingTextWithTooltip/__stories__/OverflowTextWithTooltip.stories.tsx b/packages/twenty-ui/src/primitives/surfaces/OverflowingTextWithTooltip/__stories__/OverflowTextWithTooltip.stories.tsxsimilarity index 100%rename from packages/twenty-ui/src/surfaces/OverflowingTextWithTooltip/__stories__/OverflowTextWithTooltip.stories.tsxrename to packages/twenty-ui/src/primitives/surfaces/OverflowingTextWithTooltip/__stories__/OverflowTextWithTooltip.stories.tsxdiff --git a/packages/twenty-ui/src/surfaces/Popover/Popover.module.scss b/packages/twenty-ui/src/primitives/surfaces/Popover/Popover.module.scsssimilarity index 100%rename from packages/twenty-ui/src/surfaces/Popover/Popover.module.scssrename to packages/twenty-ui/src/primitives/surfaces/Popover/Popover.module.scssdiff --git a/packages/twenty-ui/src/surfaces/Popover/Popover.module.scss.d.ts b/packages/twenty-ui/src/primitives/surfaces/Popover/Popover.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/Popover/Popover.module.scss.d.tsrename to packages/twenty-ui/src/primitives/surfaces/Popover/Popover.module.scss.d.tsdiff --git a/packages/twenty-ui/src/surfaces/Popover/Popover.tsx b/packages/twenty-ui/src/primitives/surfaces/Popover/Popover.tsxsimilarity index 100%rename from packages/twenty-ui/src/surfaces/Popover/Popover.tsxrename to packages/twenty-ui/src/primitives/surfaces/Popover/Popover.tsxdiff --git a/packages/twenty-ui/src/surfaces/Popover/__stories__/Popover.stories.tsx b/packages/twenty-ui/src/primitives/surfaces/Popover/__stories__/Popover.stories.tsxsimilarity index 100%rename from packages/twenty-ui/src/surfaces/Popover/__stories__/Popover.stories.tsxrename to packages/twenty-ui/src/primitives/surfaces/Popover/__stories__/Popover.stories.tsxdiff --git a/packages/twenty-ui/src/surfaces/Popover/__tests__/Popover.test.tsx b/packages/twenty-ui/src/primitives/surfaces/Popover/__tests__/Popover.test.tsxsimilarity index 100%rename from packages/twenty-ui/src/surfaces/Popover/__tests__/Popover.test.tsxrename to packages/twenty-ui/src/primitives/surfaces/Popover/__tests__/Popover.test.tsxdiff --git a/packages/twenty-ui/src/surfaces/Popover/internal/PopoverDescription.tsx b/packages/twenty-ui/src/primitives/surfaces/Popover/internal/PopoverDescription.tsxsimilarity index 100%rename from packages/twenty-ui/src/surfaces/Popover/internal/PopoverDescription.tsxrename to packages/twenty-ui/src/primitives/surfaces/Popover/internal/PopoverDescription.tsxdiff --git a/packages/twenty-ui/src/surfaces/Popover/internal/PopoverPopup.tsx b/packages/twenty-ui/src/primitives/surfaces/Popover/internal/PopoverPopup.tsxsimilarity index 100%rename from packages/twenty-ui/src/surfaces/Popover/internal/PopoverPopup.tsxrename to packages/twenty-ui/src/primitives/surfaces/Popover/internal/PopoverPopup.tsxdiff --git a/packages/twenty-ui/src/surfaces/Popover/internal/PopoverTitle.tsx b/packages/twenty-ui/src/primitives/surfaces/Popover/internal/PopoverTitle.tsxsimilarity index 100%rename from packages/twenty-ui/src/surfaces/Popover/internal/PopoverTitle.tsxrename to packages/twenty-ui/src/primitives/surfaces/Popover/internal/PopoverTitle.tsxdiff --git a/packages/twenty-ui/src/surfaces/Popover/types/PopoverAlign.ts b/packages/twenty-ui/src/primitives/surfaces/Popover/types/PopoverAlign.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/Popover/types/PopoverAlign.tsrename to packages/twenty-ui/src/primitives/surfaces/Popover/types/PopoverAlign.tsdiff --git a/packages/twenty-ui/src/surfaces/Popover/types/PopoverCloseProps.ts b/packages/twenty-ui/src/primitives/surfaces/Popover/types/PopoverCloseProps.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/Popover/types/PopoverCloseProps.tsrename to packages/twenty-ui/src/primitives/surfaces/Popover/types/PopoverCloseProps.tsdiff --git a/packages/twenty-ui/src/surfaces/Popover/types/PopoverDescriptionProps.ts b/packages/twenty-ui/src/primitives/surfaces/Popover/types/PopoverDescriptionProps.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/Popover/types/PopoverDescriptionProps.tsrename to packages/twenty-ui/src/primitives/surfaces/Popover/types/PopoverDescriptionProps.tsdiff --git a/packages/twenty-ui/src/surfaces/Popover/types/PopoverPopupProps.ts b/packages/twenty-ui/src/primitives/surfaces/Popover/types/PopoverPopupProps.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/Popover/types/PopoverPopupProps.tsrename to packages/twenty-ui/src/primitives/surfaces/Popover/types/PopoverPopupProps.tsdiff --git a/packages/twenty-ui/src/surfaces/Popover/types/PopoverRootProps.ts b/packages/twenty-ui/src/primitives/surfaces/Popover/types/PopoverRootProps.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/Popover/types/PopoverRootProps.tsrename to packages/twenty-ui/src/primitives/surfaces/Popover/types/PopoverRootProps.tsdiff --git a/packages/twenty-ui/src/surfaces/Popover/types/PopoverSide.ts b/packages/twenty-ui/src/primitives/surfaces/Popover/types/PopoverSide.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/Popover/types/PopoverSide.tsrename to packages/twenty-ui/src/primitives/surfaces/Popover/types/PopoverSide.tsdiff --git a/packages/twenty-ui/src/surfaces/Popover/types/PopoverTitleProps.ts b/packages/twenty-ui/src/primitives/surfaces/Popover/types/PopoverTitleProps.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/Popover/types/PopoverTitleProps.tsrename to packages/twenty-ui/src/primitives/surfaces/Popover/types/PopoverTitleProps.tsdiff --git a/packages/twenty-ui/src/surfaces/Popover/types/PopoverTriggerProps.ts b/packages/twenty-ui/src/primitives/surfaces/Popover/types/PopoverTriggerProps.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/Popover/types/PopoverTriggerProps.tsrename to packages/twenty-ui/src/primitives/surfaces/Popover/types/PopoverTriggerProps.tsdiff --git a/packages/twenty-ui/src/surfaces/index.ts b/packages/twenty-ui/src/primitives/surfaces/index.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/index.tsrename to packages/twenty-ui/src/primitives/surfaces/index.tsdiff --git a/packages/twenty-ui/src/surfaces/internal/Dialog.module.scss b/packages/twenty-ui/src/primitives/surfaces/internal/Dialog.module.scsssimilarity index 100%rename from packages/twenty-ui/src/surfaces/internal/Dialog.module.scssrename to packages/twenty-ui/src/primitives/surfaces/internal/Dialog.module.scssdiff --git a/packages/twenty-ui/src/surfaces/internal/Dialog.module.scss.d.ts b/packages/twenty-ui/src/primitives/surfaces/internal/Dialog.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/surfaces/internal/Dialog.module.scss.d.tsrename to packages/twenty-ui/src/primitives/surfaces/internal/Dialog.module.scss.d.tsdiff --git a/packages/twenty-ui/src/typography/H1Title/H1Title.module.scss b/packages/twenty-ui/src/primitives/typography/H1Title/H1Title.module.scsssimilarity index 100%rename from packages/twenty-ui/src/typography/H1Title/H1Title.module.scssrename to packages/twenty-ui/src/primitives/typography/H1Title/H1Title.module.scssdiff --git a/packages/twenty-ui/src/typography/H1Title/H1Title.module.scss.d.ts b/packages/twenty-ui/src/primitives/typography/H1Title/H1Title.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/typography/H1Title/H1Title.module.scss.d.tsrename to packages/twenty-ui/src/primitives/typography/H1Title/H1Title.module.scss.d.tsdiff --git a/packages/twenty-ui/src/typography/H1Title/H1Title.tsx b/packages/twenty-ui/src/primitives/typography/H1Title/H1Title.tsxsimilarity index 100%rename from packages/twenty-ui/src/typography/H1Title/H1Title.tsxrename to packages/twenty-ui/src/primitives/typography/H1Title/H1Title.tsxdiff --git a/packages/twenty-ui/src/typography/H1Title/__stories__/H1Title.stories.tsx b/packages/twenty-ui/src/primitives/typography/H1Title/__stories__/H1Title.stories.tsxsimilarity index 92%rename from packages/twenty-ui/src/typography/H1Title/__stories__/H1Title.stories.tsxrename to packages/twenty-ui/src/primitives/typography/H1Title/__stories__/H1Title.stories.tsxindex 11caeb36b4e..e84d65912e5 100644--- a/packages/twenty-ui/src/typography/H1Title/__stories__/H1Title.stories.tsx+++ b/packages/twenty-ui/src/primitives/typography/H1Title/__stories__/H1Title.stories.tsx@@ -5,7 +5,10 @@ import { CatalogDecorator } from '@ui/testing/decorators/CatalogDecorator';import { ComponentDecorator } from '@ui/testing/decorators/ComponentDecorator';import { type CatalogStory } from '@ui/testing/types/CatalogStory';-import { H1Title, H1TitleFontColor } from '@ui/typography/H1Title/H1Title';+import {+ H1Title,+ H1TitleFontColor,+} from '@ui/primitives/typography/H1Title/H1Title';const meta: Meta<typeof H1Title> = {title: 'UI/Typography/H1Title',diff --git a/packages/twenty-ui/src/typography/H2Title/H2Title.module.scss b/packages/twenty-ui/src/primitives/typography/H2Title/H2Title.module.scsssimilarity index 100%rename from packages/twenty-ui/src/typography/H2Title/H2Title.module.scssrename to packages/twenty-ui/src/primitives/typography/H2Title/H2Title.module.scssdiff --git a/packages/twenty-ui/src/typography/H2Title/H2Title.module.scss.d.ts b/packages/twenty-ui/src/primitives/typography/H2Title/H2Title.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/typography/H2Title/H2Title.module.scss.d.tsrename to packages/twenty-ui/src/primitives/typography/H2Title/H2Title.module.scss.d.tsdiff --git a/packages/twenty-ui/src/typography/H2Title/H2Title.tsx b/packages/twenty-ui/src/primitives/typography/H2Title/H2Title.tsxsimilarity index 85%rename from packages/twenty-ui/src/typography/H2Title/H2Title.tsxrename to packages/twenty-ui/src/primitives/typography/H2Title/H2Title.tsxindex 46648c1f8c7..eadb5cf5c82 100644--- a/packages/twenty-ui/src/typography/H2Title/H2Title.tsx+++ b/packages/twenty-ui/src/primitives/typography/H2Title/H2Title.tsx@@ -1,6 +1,6 @@import { clsx } from 'clsx';-import { OverflowingTextWithTooltip } from '@ui/surfaces/OverflowingTextWithTooltip/OverflowingTextWithTooltip';+import { OverflowingTextWithTooltip } from '@ui/primitives/surfaces/OverflowingTextWithTooltip/OverflowingTextWithTooltip';import styles from './H2Title.module.scss';diff --git a/packages/twenty-ui/src/typography/H2Title/__stories__/H2Title.stories.tsx b/packages/twenty-ui/src/primitives/typography/H2Title/__stories__/H2Title.stories.tsxsimilarity index 91%rename from packages/twenty-ui/src/typography/H2Title/__stories__/H2Title.stories.tsxrename to packages/twenty-ui/src/primitives/typography/H2Title/__stories__/H2Title.stories.tsxindex d3ac88614cf..ec24d1302af 100644--- a/packages/twenty-ui/src/typography/H2Title/__stories__/H2Title.stories.tsx+++ b/packages/twenty-ui/src/primitives/typography/H2Title/__stories__/H2Title.stories.tsx@@ -3,7 +3,7 @@ import { type Meta, type StoryObj } from '@storybook/react-vite';import { A11Y_DEFER_COLOR_CONTRAST } from '@ui/testing/a11yParameters';import { ComponentDecorator } from '@ui/testing/decorators/ComponentDecorator';-import { H2Title } from '@ui/typography/H2Title/H2Title';+import { H2Title } from '@ui/primitives/typography/H2Title/H2Title';const args = {title: 'Sub title',diff --git a/packages/twenty-ui/src/typography/H3Title/H3Title.module.scss b/packages/twenty-ui/src/primitives/typography/H3Title/H3Title.module.scsssimilarity index 100%rename from packages/twenty-ui/src/typography/H3Title/H3Title.module.scssrename to packages/twenty-ui/src/primitives/typography/H3Title/H3Title.module.scssdiff --git a/packages/twenty-ui/src/typography/H3Title/H3Title.module.scss.d.ts b/packages/twenty-ui/src/primitives/typography/H3Title/H3Title.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/typography/H3Title/H3Title.module.scss.d.tsrename to packages/twenty-ui/src/primitives/typography/H3Title/H3Title.module.scss.d.tsdiff --git a/packages/twenty-ui/src/typography/H3Title/H3Title.tsx b/packages/twenty-ui/src/primitives/typography/H3Title/H3Title.tsxsimilarity index 86%rename from packages/twenty-ui/src/typography/H3Title/H3Title.tsxrename to packages/twenty-ui/src/primitives/typography/H3Title/H3Title.tsxindex ab1ba3fddff..a88dde8417c 100644--- a/packages/twenty-ui/src/typography/H3Title/H3Title.tsx+++ b/packages/twenty-ui/src/primitives/typography/H3Title/H3Title.tsx@@ -1,7 +1,7 @@import { type ReactNode } from 'react';import { clsx } from 'clsx';-import { OverflowingTextWithTooltip } from '@ui/surfaces/OverflowingTextWithTooltip/OverflowingTextWithTooltip';+import { OverflowingTextWithTooltip } from '@ui/primitives/surfaces/OverflowingTextWithTooltip/OverflowingTextWithTooltip';import styles from './H3Title.module.scss';diff --git a/packages/twenty-ui/src/typography/H3Title/__stories__/H3Title.stories.tsx b/packages/twenty-ui/src/primitives/typography/H3Title/__stories__/H3Title.stories.tsxsimilarity index 86%rename from packages/twenty-ui/src/typography/H3Title/__stories__/H3Title.stories.tsxrename to packages/twenty-ui/src/primitives/typography/H3Title/__stories__/H3Title.stories.tsxindex 6054f1a6d09..0dfc6388d70 100644--- a/packages/twenty-ui/src/typography/H3Title/__stories__/H3Title.stories.tsx+++ b/packages/twenty-ui/src/primitives/typography/H3Title/__stories__/H3Title.stories.tsx@@ -2,7 +2,7 @@ import { type Meta, type StoryObj } from '@storybook/react-vite';import { ComponentDecorator } from '@ui/testing/decorators/ComponentDecorator';-import { H3Title } from '@ui/typography/H3Title/H3Title';+import { H3Title } from '@ui/primitives/typography/H3Title/H3Title';const meta: Meta<typeof H3Title> = {title: 'UI/Typography/H3Title',diff --git a/packages/twenty-ui/src/typography/Label/Label.module.scss b/packages/twenty-ui/src/primitives/typography/Label/Label.module.scsssimilarity index 100%rename from packages/twenty-ui/src/typography/Label/Label.module.scssrename to packages/twenty-ui/src/primitives/typography/Label/Label.module.scssdiff --git a/packages/twenty-ui/src/typography/Label/Label.module.scss.d.ts b/packages/twenty-ui/src/primitives/typography/Label/Label.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/typography/Label/Label.module.scss.d.tsrename to packages/twenty-ui/src/primitives/typography/Label/Label.module.scss.d.tsdiff --git a/packages/twenty-ui/src/typography/Label/Label.tsx b/packages/twenty-ui/src/primitives/typography/Label/Label.tsxsimilarity index 100%rename from packages/twenty-ui/src/typography/Label/Label.tsxrename to packages/twenty-ui/src/primitives/typography/Label/Label.tsxdiff --git a/packages/twenty-ui/src/typography/Label/__stories__/Label.stories.tsx b/packages/twenty-ui/src/primitives/typography/Label/__stories__/Label.stories.tsxsimilarity index 92%rename from packages/twenty-ui/src/typography/Label/__stories__/Label.stories.tsxrename to packages/twenty-ui/src/primitives/typography/Label/__stories__/Label.stories.tsxindex fdeb607afbc..95d02ea1206 100644--- a/packages/twenty-ui/src/typography/Label/__stories__/Label.stories.tsx+++ b/packages/twenty-ui/src/primitives/typography/Label/__stories__/Label.stories.tsx@@ -5,7 +5,10 @@ import { ComponentDecorator } from '@ui/testing/decorators/ComponentDecorator';import { A11Y_DEFER_COLOR_CONTRAST } from '@ui/testing/a11yParameters';import { type CatalogStory } from '@ui/testing/types/CatalogStory';-import { Label, type LabelVariant } from '@ui/typography/Label/Label';+import {+ Label,+ type LabelVariant,+} from '@ui/primitives/typography/Label/Label';const meta: Meta<typeof Label> = {title: 'UI/Typography/Label',diff --git a/packages/twenty-ui/src/typography/LinkifiedText/LinkifiedText.module.scss b/packages/twenty-ui/src/primitives/typography/LinkifiedText/LinkifiedText.module.scsssimilarity index 100%rename from packages/twenty-ui/src/typography/LinkifiedText/LinkifiedText.module.scssrename to packages/twenty-ui/src/primitives/typography/LinkifiedText/LinkifiedText.module.scssdiff --git a/packages/twenty-ui/src/typography/LinkifiedText/LinkifiedText.module.scss.d.ts b/packages/twenty-ui/src/primitives/typography/LinkifiedText/LinkifiedText.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/typography/LinkifiedText/LinkifiedText.module.scss.d.tsrename to packages/twenty-ui/src/primitives/typography/LinkifiedText/LinkifiedText.module.scss.d.tsdiff --git a/packages/twenty-ui/src/typography/LinkifiedText/LinkifiedText.tsx b/packages/twenty-ui/src/primitives/typography/LinkifiedText/LinkifiedText.tsxsimilarity index 100%rename from packages/twenty-ui/src/typography/LinkifiedText/LinkifiedText.tsxrename to packages/twenty-ui/src/primitives/typography/LinkifiedText/LinkifiedText.tsxdiff --git a/packages/twenty-ui/src/typography/SeparatorLineText/SeparatorLineText.module.scss b/packages/twenty-ui/src/primitives/typography/SeparatorLineText/SeparatorLineText.module.scsssimilarity index 100%rename from packages/twenty-ui/src/typography/SeparatorLineText/SeparatorLineText.module.scssrename to packages/twenty-ui/src/primitives/typography/SeparatorLineText/SeparatorLineText.module.scssdiff --git a/packages/twenty-ui/src/typography/SeparatorLineText/SeparatorLineText.module.scss.d.ts b/packages/twenty-ui/src/primitives/typography/SeparatorLineText/SeparatorLineText.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/typography/SeparatorLineText/SeparatorLineText.module.scss.d.tsrename to packages/twenty-ui/src/primitives/typography/SeparatorLineText/SeparatorLineText.module.scss.d.tsdiff --git a/packages/twenty-ui/src/typography/SeparatorLineText/SeparatorLineText.tsx b/packages/twenty-ui/src/primitives/typography/SeparatorLineText/SeparatorLineText.tsxsimilarity index 100%rename from packages/twenty-ui/src/typography/SeparatorLineText/SeparatorLineText.tsxrename to packages/twenty-ui/src/primitives/typography/SeparatorLineText/SeparatorLineText.tsxdiff --git a/packages/twenty-ui/src/typography/SeparatorLineText/__stories__/SeparatorLineText.stories.tsx b/packages/twenty-ui/src/primitives/typography/SeparatorLineText/__stories__/SeparatorLineText.stories.tsxsimilarity index 83%rename from packages/twenty-ui/src/typography/SeparatorLineText/__stories__/SeparatorLineText.stories.tsxrename to packages/twenty-ui/src/primitives/typography/SeparatorLineText/__stories__/SeparatorLineText.stories.tsxindex b2e89cb5b11..61040abe532 100644--- a/packages/twenty-ui/src/typography/SeparatorLineText/__stories__/SeparatorLineText.stories.tsx+++ b/packages/twenty-ui/src/primitives/typography/SeparatorLineText/__stories__/SeparatorLineText.stories.tsx@@ -1,7 +1,7 @@import { type Meta, type StoryObj } from '@storybook/react-vite';import { A11Y_DEFER_COLOR_CONTRAST, ComponentDecorator } from '@ui/testing';-import { SeparatorLineText } from '@ui/typography/SeparatorLineText/SeparatorLineText';+import { SeparatorLineText } from '@ui/primitives/typography/SeparatorLineText/SeparatorLineText';const meta: Meta<typeof SeparatorLineText> = {title: 'UI/Typography/SeparatorLineText',diff --git a/packages/twenty-ui/src/typography/StyledText/StyledText.module.scss b/packages/twenty-ui/src/primitives/typography/StyledText/StyledText.module.scsssimilarity index 100%rename from packages/twenty-ui/src/typography/StyledText/StyledText.module.scssrename to packages/twenty-ui/src/primitives/typography/StyledText/StyledText.module.scssdiff --git a/packages/twenty-ui/src/typography/StyledText/StyledText.module.scss.d.ts b/packages/twenty-ui/src/primitives/typography/StyledText/StyledText.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/typography/StyledText/StyledText.module.scss.d.tsrename to packages/twenty-ui/src/primitives/typography/StyledText/StyledText.module.scss.d.tsdiff --git a/packages/twenty-ui/src/typography/StyledText/StyledText.tsx b/packages/twenty-ui/src/primitives/typography/StyledText/StyledText.tsxsimilarity index 100%rename from packages/twenty-ui/src/typography/StyledText/StyledText.tsxrename to packages/twenty-ui/src/primitives/typography/StyledText/StyledText.tsxdiff --git a/packages/twenty-ui/src/typography/Text/Text.module.scss b/packages/twenty-ui/src/primitives/typography/Text/Text.module.scsssimilarity index 100%rename from packages/twenty-ui/src/typography/Text/Text.module.scssrename to packages/twenty-ui/src/primitives/typography/Text/Text.module.scssdiff --git a/packages/twenty-ui/src/typography/Text/Text.module.scss.d.ts b/packages/twenty-ui/src/primitives/typography/Text/Text.module.scss.d.tssimilarity index 100%rename from packages/twenty-ui/src/typography/Text/Text.module.scss.d.tsrename to packages/twenty-ui/src/primitives/typography/Text/Text.module.scss.d.tsdiff --git a/packages/twenty-ui/src/typography/Text/Text.tsx b/packages/twenty-ui/src/primitives/typography/Text/Text.tsxsimilarity index 100%rename from packages/twenty-ui/src/typography/Text/Text.tsxrename to packages/twenty-ui/src/primitives/typography/Text/Text.tsxdiff --git a/packages/twenty-ui/src/typography/Text/__stories__/Text.stories.tsx b/packages/twenty-ui/src/primitives/typography/Text/__stories__/Text.stories.tsxsimilarity index 97%rename from packages/twenty-ui/src/typography/Text/__stories__/Text.stories.tsxrename to packages/twenty-ui/src/primitives/typography/Text/__stories__/Text.stories.tsxindex da05299adf5..f8e692eb50f 100644--- a/packages/twenty-ui/src/typography/Text/__stories__/Text.stories.tsx+++ b/packages/twenty-ui/src/primitives/typography/Text/__stories__/Text.stories.tsx@@ -8,7 +8,7 @@ import {ComponentDecorator,} from '@ui/testing';-import { Text } from '@ui/typography/Text/Text';+import { Text } from '@ui/primitives/typography/Text/Text';const meta: Meta<typeof Text> = {title: 'UI/Typography/Text',diff --git a/packages/twenty-ui/src/typography/Text/__tests__/Text.test.tsx b/packages/twenty-ui/src/primitives/typography/Text/__tests__/Text.test.tsxsimilarity index 100%rename from packages/twenty-ui/src/typography/Text/__tests__/Text.test.tsxrename to packages/twenty-ui/src/primitives/typography/Text/__tests__/Text.test.tsxdiff --git a/packages/twenty-ui/src/typography/index.ts b/packages/twenty-ui/src/primitives/typography/index.tssimilarity index 100%rename from packages/twenty-ui/src/typography/index.tsrename to packages/twenty-ui/src/primitives/typography/index.tsdiff --git a/packages/twenty-ui/src/utilities/utils/__tests__/getDisplayValueByUrlType.test.ts b/packages/twenty-ui/src/utilities/utils/__tests__/getDisplayValueByUrlType.test.tsindex 11f460995b8..a292150b987 100644--- a/packages/twenty-ui/src/utilities/utils/__tests__/getDisplayValueByUrlType.test.ts+++ b/packages/twenty-ui/src/utilities/utils/__tests__/getDisplayValueByUrlType.test.ts@@ -1,4 +1,4 @@-import { LinkType } from '@ui/navigation/SocialLink/LinkType';+import { LinkType } from '@ui/primitives/navigation/SocialLink/LinkType';import { getDisplayValueByUrlType } from '../getDisplayValueByUrlType';diff --git a/packages/twenty-ui/src/utilities/utils/getDisplayValueByUrlType.ts b/packages/twenty-ui/src/utilities/utils/getDisplayValueByUrlType.tsindex bbfd75ec254..8a6dfd777b9 100644--- a/packages/twenty-ui/src/utilities/utils/getDisplayValueByUrlType.ts+++ b/packages/twenty-ui/src/utilities/utils/getDisplayValueByUrlType.ts@@ -1,5 +1,5 @@-import { type LinkType } from '@ui/navigation/SocialLink/LinkType';-import { SOCIAL_LINK_PROVIDERS } from '@ui/navigation/SocialLink/socialLinkProviders';+import { type LinkType } from '@ui/primitives/navigation/SocialLink/LinkType';+import { SOCIAL_LINK_PROVIDERS } from '@ui/primitives/navigation/SocialLink/socialLinkProviders';import { isDefined } from '@ui/utilities/utils/isDefined';type GetDisplayValueByUrlTypeProps = {diff --git a/packages/twenty-ui/vite.config.ts b/packages/twenty-ui/vite.config.tsindex 8cdd2070b75..c273b73b08c 100644--- a/packages/twenty-ui/vite.config.ts+++ b/packages/twenty-ui/vite.config.ts@@ -15,30 +15,14 @@ import { isDefined } from './src/utilities/utils/isDefined';const isVitest = isDefined(process.env.VITEST);-const entries = Object.keys(packageJson.exports)- .filter((el) => !el.endsWith('.css'))- .map((module) => `src/${module}/index.ts`);--const entryFileNames = (chunk: any, extension: 'cjs' | 'mjs') => {- if (!chunk.isEntry) {- throw new Error(- `Should never occurs, encountered a non entry chunk ${chunk.facadeModuleId}`,- );- }-- const splitFaceModuleId = chunk.facadeModuleId?.split('/');- if (splitFaceModuleId === undefined) {- throw new Error(- `Should never occurs splitFaceModuleId is undefined ${chunk.facadeModuleId}`,- );- }-- const moduleDirectory = splitFaceModuleId[splitFaceModuleId?.length - 2];- if (moduleDirectory === 'src') {- return `${chunk.name}.${extension}`;- }- return `${moduleDirectory}.${extension}`;-};+const entries = Object.fromEntries(+ Object.keys(packageJson.exports)+ .filter((subpath) => !subpath.endsWith('.css'))+ .map((subpath) => [+ subpath === '.' ? 'index' : subpath.slice(2),+ `src/${subpath}/index.ts`,+ ]),+);export default defineConfig(({ command }) => {const isBuildCommand = command === 'build';@@ -143,7 +127,7 @@ export default defineConfig(({ command }) => {requireReturnsDefault: 'auto',},lib: {- entry: ['src/index.ts', ...entries],+ entry: entries,name: 'twenty-ui',},rollupOptions: {@@ -157,7 +141,7 @@ export default defineConfig(({ command }) => {'react-dom': 'ReactDOM',},format: 'es',- entryFileNames: (chunk) => entryFileNames(chunk, 'mjs'),+ entryFileNames: '[name].mjs',},{assetFileNames: 'style.css',@@ -168,7 +152,7 @@ export default defineConfig(({ command }) => {},esModule: true,exports: 'named',- entryFileNames: (chunk) => entryFileNames(chunk, 'cjs'),+ entryFileNames: '[name].cjs',},],},