Skip to content

The open alternative to Salesforce, designed for AI.

Move call-recorder to twenty-ui 2.x (#29100)

Charles Bochetda202509d2db
diff --git a/packages/twenty-apps/public/call-recorder/package.json b/packages/twenty-apps/public/call-recorder/package.json
index a68f82d897f..c4fa01555d7 100644
--- a/packages/twenty-apps/public/call-recorder/package.json
+++ b/packages/twenty-apps/public/call-recorder/package.json
@@ -37,7 +37,7 @@
"react-dom": "^19.0.0",
"twenty-client-sdk": "2.49.0",
"twenty-sdk": "2.49.0",
- "twenty-ui": "^1.0.0-alpha.1",
+ "twenty-ui": "^2.51.3",
"typescript": "^5.9.3",
"use-debounce": "^10.0.0",
"vite-tsconfig-paths": "^4.2.1",
diff --git a/packages/twenty-apps/public/call-recorder/src/front-components/components/AdornedHexInput.tsx b/packages/twenty-apps/public/call-recorder/src/front-components/components/AdornedHexInput.tsx
index 64c5f9af799..9a0945bed3c 100644
--- a/packages/twenty-apps/public/call-recorder/src/front-components/components/AdornedHexInput.tsx
+++ b/packages/twenty-apps/public/call-recorder/src/front-components/components/AdornedHexInput.tsx
@@ -1,5 +1,5 @@
import styled from '@emotion/styled';
-import { themeCssVariables } from 'twenty-ui/theme-constants';
+import { themeCssVariables } from 'twenty-ui/theme';
import { SettingsColorSample } from 'src/front-components/components/SettingsColorSample';
import { StyledSettingsTextInput } from 'src/front-components/components/StyledSettingsTextInput';
diff --git a/packages/twenty-apps/public/call-recorder/src/front-components/components/CallParticipantChip.tsx b/packages/twenty-apps/public/call-recorder/src/front-components/components/CallParticipantChip.tsx
index 7bc5bc077d7..dc298981b14 100644
--- a/packages/twenty-apps/public/call-recorder/src/front-components/components/CallParticipantChip.tsx
+++ b/packages/twenty-apps/public/call-recorder/src/front-components/components/CallParticipantChip.tsx
@@ -1,4 +1,4 @@
-import { Avatar, Chip, ChipVariant } from 'twenty-ui/data-display';
+import { Avatar, Chip } from 'twenty-ui/primitives/data-display';
import { StyledChipButton } from 'src/front-components/components/StyledChipButton';
import { type CallParticipantDisplayItem } from 'src/front-components/types/call-participant-display-item.type';
@@ -23,46 +23,46 @@ export const CallParticipantChip = ({
return (
<StyledChipButton type="button" onClick={handleClick}>
<Chip
- label={participant.label}
clickable
- variant={ChipVariant.Highlighted}
- leftComponent={
+ variant="soft"
+ startElement={
<Avatar
- avatarUrl={participant.avatarUrl}
- placeholder={participant.label}
- placeholderColorSeed={participant.personId}
- type="rounded"
+ src={participant.avatarUrl}
+ name={participant.label}
+ colorSeed={participant.personId}
+ shape="circle"
size="sm"
/>
}
- />
+ >
+ {participant.label}
+ </Chip>
</StyledChipButton>
);
}
case 'workspaceMember':
return (
<Chip
- label={participant.label}
clickable={false}
- variant={ChipVariant.Transparent}
- leftComponent={
+ variant="plain"
+ startElement={
<Avatar
- avatarUrl={participant.avatarUrl}
- placeholder={participant.label}
- placeholderColorSeed={participant.workspaceMemberId}
- type="rounded"
+ src={participant.avatarUrl}
+ name={participant.label}
+ colorSeed={participant.workspaceMemberId}
+ shape="circle"
size="sm"
/>
}
- />
+ >
+ {participant.label}
+ </Chip>
);
case 'unmatched':
return (
- <Chip
- label={participant.label}
- clickable={false}
- variant={ChipVariant.Transparent}
- />
+ <Chip clickable={false} variant="plain">
+ {participant.label}
+ </Chip>
);
}
};
diff --git a/packages/twenty-apps/public/call-recorder/src/front-components/components/CallParticipantsWidget.tsx b/packages/twenty-apps/public/call-recorder/src/front-components/components/CallParticipantsWidget.tsx
index 37f8b76ae67..f9d3cb54411 100644
--- a/packages/twenty-apps/public/call-recorder/src/front-components/components/CallParticipantsWidget.tsx
+++ b/packages/twenty-apps/public/call-recorder/src/front-components/components/CallParticipantsWidget.tsx
@@ -7,7 +7,7 @@ import {
useSelectedRecordIds,
useTranslate,
} from 'twenty-sdk/front-component';
-import { themeCssVariables } from 'twenty-ui/theme-constants';
+import { themeCssVariables } from 'twenty-ui/theme';
import { CallParticipantChip } from 'src/front-components/components/CallParticipantChip';
import { FrontComponentThemeProvider } from 'src/front-components/components/FrontComponentThemeProvider';
diff --git a/packages/twenty-apps/public/call-recorder/src/front-components/components/CallRecorderSettings.tsx b/packages/twenty-apps/public/call-recorder/src/front-components/components/CallRecorderSettings.tsx
index dc110ff2142..be4dbdb42e7 100644
--- a/packages/twenty-apps/public/call-recorder/src/front-components/components/CallRecorderSettings.tsx
+++ b/packages/twenty-apps/public/call-recorder/src/front-components/components/CallRecorderSettings.tsx
@@ -2,7 +2,7 @@ import 'twenty-ui/style.css';
import styled from '@emotion/styled';
import { useState } from 'react';
-import { themeCssVariables } from 'twenty-ui/theme-constants';
+import { themeCssVariables } from 'twenty-ui/theme';
import { FrontComponentThemeProvider } from 'src/front-components/components/FrontComponentThemeProvider';
import { InCallSection } from 'src/front-components/components/InCallSection';
diff --git a/packages/twenty-apps/public/call-recorder/src/front-components/components/CallRecordingRow.tsx b/packages/twenty-apps/public/call-recorder/src/front-components/components/CallRecordingRow.tsx
index 165982b8e88..648339f1488 100644
--- a/packages/twenty-apps/public/call-recorder/src/front-components/components/CallRecordingRow.tsx
+++ b/packages/twenty-apps/public/call-recorder/src/front-components/components/CallRecordingRow.tsx
@@ -1,9 +1,9 @@
import styled from '@emotion/styled';
import { isNonEmptyString, isUndefined } from '@sniptt/guards';
import { getPublicAssetUrl } from 'twenty-sdk/utils';
-import { Avatar, Chip, ChipVariant } from 'twenty-ui/data-display';
+import { Avatar, Chip } from 'twenty-ui/primitives/data-display';
import { IconCalendar } from 'twenty-ui/icon';
-import { themeCssVariables } from 'twenty-ui/theme-constants';
+import { themeCssVariables } from 'twenty-ui/theme';
import { CallRecordingRowMetadata } from 'src/front-components/components/CallRecordingRowMetadata';
import { CallRecordingRowStatus } from 'src/front-components/components/CallRecordingRowStatus';
@@ -54,19 +54,20 @@ export const CallRecordingRow = ({
const chip = (
<Chip
- label={title}
clickable={isClickable}
- variant={isClickable ? ChipVariant.Highlighted : ChipVariant.Transparent}
- leftComponent={
+ variant={isClickable ? 'soft' : 'plain'}
+ startElement={
<Avatar
- avatarUrl={getPublicAssetUrl('logo.svg')}
- placeholder={title}
- placeholderColorSeed={callRecordingId}
- type="rounded"
+ src={getPublicAssetUrl('logo.svg')}
+ name={title}
+ colorSeed={callRecordingId}
+ shape="circle"
size="sm"
/>
}
- />
+ >
+ {title}
+ </Chip>
);
return (
diff --git a/packages/twenty-apps/public/call-recorder/src/front-components/components/CallRecordingRowMetadata.tsx b/packages/twenty-apps/public/call-recorder/src/front-components/components/CallRecordingRowMetadata.tsx
index 100ae0a41fc..f30e12a551d 100644
--- a/packages/twenty-apps/public/call-recorder/src/front-components/components/CallRecordingRowMetadata.tsx
+++ b/packages/twenty-apps/public/call-recorder/src/front-components/components/CallRecordingRowMetadata.tsx
@@ -1,7 +1,6 @@
import styled from '@emotion/styled';
import { type IconComponent } from 'twenty-ui/icon';
-import { ICON } from 'twenty-ui/theme';
-import { themeCssVariables } from 'twenty-ui/theme-constants';
+import { THEME_COMMON, themeCssVariables } from 'twenty-ui/theme';
const StyledMetadata = styled.span`
align-items: center;
@@ -26,7 +25,7 @@ export const CallRecordingRowMetadata = ({
}: CallRecordingRowMetadataProps) => (
<StyledMetadata>
<StyledMetadataIconContainer>
- <Icon size={ICON.size.md} />
+ <Icon size={THEME_COMMON.icon.size.md} />
</StyledMetadataIconContainer>
{text}
</StyledMetadata>
diff --git a/packages/twenty-apps/public/call-recorder/src/front-components/components/CallRecordingRowSkeleton.tsx b/packages/twenty-apps/public/call-recorder/src/front-components/components/CallRecordingRowSkeleton.tsx
index 119752cf0c3..614e5f25934 100644
--- a/packages/twenty-apps/public/call-recorder/src/front-components/components/CallRecordingRowSkeleton.tsx
+++ b/packages/twenty-apps/public/call-recorder/src/front-components/components/CallRecordingRowSkeleton.tsx
@@ -1,6 +1,6 @@
import styled from '@emotion/styled';
import { useTranslate } from 'twenty-sdk/front-component';
-import { themeCssVariables } from 'twenty-ui/theme-constants';
+import { themeCssVariables } from 'twenty-ui/theme';
import { StyledCallRecordingRowLayout } from 'src/front-components/components/StyledCallRecordingRowLayout';
import { StyledChipSkeleton } from 'src/front-components/components/StyledChipSkeleton';
diff --git a/packages/twenty-apps/public/call-recorder/src/front-components/components/CallRecordingRowStatus.tsx b/packages/twenty-apps/public/call-recorder/src/front-components/components/CallRecordingRowStatus.tsx
index 64ced4366a3..87acda1e85b 100644
--- a/packages/twenty-apps/public/call-recorder/src/front-components/components/CallRecordingRowStatus.tsx
+++ b/packages/twenty-apps/public/call-recorder/src/front-components/components/CallRecordingRowStatus.tsx
@@ -1,5 +1,5 @@
import { isUndefined } from '@sniptt/guards';
-import { Tag } from 'twenty-ui/data-display';
+import { Tag } from 'twenty-ui/primitives/data-display';
import { IconClock } from 'twenty-ui/icon';
import { CallRecordingRowMetadata } from 'src/front-components/components/CallRecordingRowMetadata';
@@ -15,7 +15,7 @@ export const CallRecordingRowStatus = ({
formattedDuration,
}: CallRecordingRowStatusProps) => {
if (!isUndefined(statusTag)) {
- return <Tag color={statusTag.color} text={statusTag.text} />;
+ return <Tag color={statusTag.color}>{statusTag.text}</Tag>;
}
if (isUndefined(formattedDuration)) {
diff --git a/packages/twenty-apps/public/call-recorder/src/front-components/components/DropdownMenuItemsContainer.tsx b/packages/twenty-apps/public/call-recorder/src/front-components/components/DropdownMenuItemsContainer.tsx
index 21b12dfa2d8..3377e41e01a 100644
--- a/packages/twenty-apps/public/call-recorder/src/front-components/components/DropdownMenuItemsContainer.tsx
+++ b/packages/twenty-apps/public/call-recorder/src/front-components/components/DropdownMenuItemsContainer.tsx
@@ -1,6 +1,6 @@
import styled from '@emotion/styled';
import { type ReactNode } from 'react';
-import { themeCssVariables } from 'twenty-ui/theme-constants';
+import { themeCssVariables } from 'twenty-ui/theme';
const StyledExternalContainer = styled.div`
align-items: flex-start;
diff --git a/packages/twenty-apps/public/call-recorder/src/front-components/components/DropdownMenuOption.tsx b/packages/twenty-apps/public/call-recorder/src/front-components/components/DropdownMenuOption.tsx
index 836443bf870..ad2028a28fb 100644
--- a/packages/twenty-apps/public/call-recorder/src/front-components/components/DropdownMenuOption.tsx
+++ b/packages/twenty-apps/public/call-recorder/src/front-components/components/DropdownMenuOption.tsx
@@ -1,11 +1,6 @@
import styled from '@emotion/styled';
import { type ReactNode } from 'react';
-import {
- MenuItemLeftContent,
- StyledMenuItemIconCheck,
- StyledMenuItemSelect,
-} from 'twenty-ui/navigation';
-import { useTheme } from 'twenty-ui/theme-constants';
+import { ListItem } from 'twenty-ui/primitives/navigation';
const StyledOptionContainer = styled.div`
cursor: pointer;
@@ -28,25 +23,21 @@ export const DropdownMenuOption = ({
isActive,
LeftComponent,
onSelect,
-}: DropdownMenuOptionProps) => {
- const theme = useTheme();
-
- return (
- <StyledOptionContainer
- id={id}
- role="option"
- tabIndex={-1}
- aria-selected={selected}
- onClick={onSelect}
+}: DropdownMenuOptionProps) => (
+ <StyledOptionContainer
+ id={id}
+ role="option"
+ tabIndex={-1}
+ aria-selected={selected}
+ onClick={onSelect}
+ >
+ <ListItem
+ focused={isActive}
+ selected={selected}
+ indicator="check"
+ startIcon={LeftComponent}
>
- <StyledMenuItemSelect focused={isActive}>
- <MenuItemLeftContent
- LeftComponent={LeftComponent}
- LeftIcon={null}
- text={text}
- />
- {selected && <StyledMenuItemIconCheck size={theme.icon.size.md} />}
- </StyledMenuItemSelect>
- </StyledOptionContainer>
- );
-};
+ {text}
+ </ListItem>
+ </StyledOptionContainer>
+);
diff --git a/packages/twenty-apps/public/call-recorder/src/front-components/components/DropdownMenuSeparator.tsx b/packages/twenty-apps/public/call-recorder/src/front-components/components/DropdownMenuSeparator.tsx
index f0935f6c188..2161848b15b 100644
--- a/packages/twenty-apps/public/call-recorder/src/front-components/components/DropdownMenuSeparator.tsx
+++ b/packages/twenty-apps/public/call-recorder/src/front-components/components/DropdownMenuSeparator.tsx
@@ -1,5 +1,5 @@
import styled from '@emotion/styled';
-import { themeCssVariables } from 'twenty-ui/theme-constants';
+import { themeCssVariables } from 'twenty-ui/theme';
const StyledDropdownMenuSeparator = styled.div`
background-color: ${() => themeCssVariables.border.color.light};
diff --git a/packages/twenty-apps/public/call-recorder/src/front-components/components/FrontComponentThemeProvider.tsx b/packages/twenty-apps/public/call-recorder/src/front-components/components/FrontComponentThemeProvider.tsx
index c25c08c4af1..18923be0a6f 100644
--- a/packages/twenty-apps/public/call-recorder/src/front-components/components/FrontComponentThemeProvider.tsx
+++ b/packages/twenty-apps/public/call-recorder/src/front-components/components/FrontComponentThemeProvider.tsx
@@ -1,7 +1,6 @@
import { type ReactNode } from 'react';
import { useColorScheme } from 'twenty-sdk/front-component';
-import { THEME_DARK, THEME_LIGHT } from 'twenty-ui/theme';
-import { ThemeContext, type ThemeType } from 'twenty-ui/theme-constants';
+import { THEME_DARK, THEME_LIGHT, ThemeProvider } from 'twenty-ui/theme';
type FrontComponentThemeProviderProps = {
children: ReactNode;
@@ -12,19 +11,13 @@ export const FrontComponentThemeProvider = ({
}: FrontComponentThemeProviderProps) => {
const colorScheme = useColorScheme();
- // twenty-ui components read icon sizes off ThemeContext, and the context
- // default resolves them to var() strings an SVG size attribute cannot use —
- // icons render at their intrinsic size without a real theme here.
+ // Without an explicit theme, icon sizes resolve to var() strings SVG attributes cannot use.
return (
- <ThemeContext.Provider
- value={{
- theme: (colorScheme === 'dark'
- ? THEME_DARK
- : THEME_LIGHT) as unknown as ThemeType,
- colorScheme,
- }}
+ <ThemeProvider
+ colorScheme={colorScheme}
+ theme={colorScheme === 'dark' ? THEME_DARK : THEME_LIGHT}
>
{children}
- </ThemeContext.Provider>
+ </ThemeProvider>
);
};
diff --git a/packages/twenty-apps/public/call-recorder/src/front-components/components/InCallSection.tsx b/packages/twenty-apps/public/call-recorder/src/front-components/components/InCallSection.tsx
index b0feebcef22..883e876113d 100644
--- a/packages/twenty-apps/public/call-recorder/src/front-components/components/InCallSection.tsx
+++ b/packages/twenty-apps/public/call-recorder/src/front-components/components/InCallSection.tsx
@@ -1,6 +1,5 @@
import { useId, useState } from 'react';
-import { Section } from 'twenty-ui/layout';
-import { H2Title } from 'twenty-ui/typography';
+import { Section } from 'twenty-ui/components/layout';
import { LabelledSettingsField } from 'src/front-components/components/LabelledSettingsField';
import { SettingsOptionCardContentToggle } from 'src/front-components/components/SettingsOptionCardContentToggle';
@@ -56,8 +55,8 @@ export const InCallSection = () => {
};
return (
- <Section>
- <H2Title
+ <Section.Root>
+ <Section.Header
title="In the call"
description="What the recorder does while it is in your meetings."
/>
@@ -101,6 +100,6 @@ export const InCallSection = () => {
</LabelledSettingsField>
</StyledDimmable>
</StyledSettingsSectionStack>
- </Section>
+ </Section.Root>
);
};
diff --git a/packages/twenty-apps/public/call-recorder/src/front-components/components/LabelledSettingsField.tsx b/packages/twenty-apps/public/call-recorder/src/front-components/components/LabelledSettingsField.tsx
index 474305a0421..6accac38cae 100644
--- a/packages/twenty-apps/public/call-recorder/src/front-components/components/LabelledSettingsField.tsx
+++ b/packages/twenty-apps/public/call-recorder/src/front-components/components/LabelledSettingsField.tsx
@@ -1,7 +1,7 @@
import styled from '@emotion/styled';
import { isNonEmptyString } from '@sniptt/guards';
import { type ReactNode } from 'react';
-import { themeCssVariables } from 'twenty-ui/theme-constants';
+import { themeCssVariables } from 'twenty-ui/theme';
import { StyledSettingsError } from 'src/front-components/components/StyledSettingsError';
diff --git a/packages/twenty-apps/public/call-recorder/src/front-components/components/RecorderSection.tsx b/packages/twenty-apps/public/call-recorder/src/front-components/components/RecorderSection.tsx
index 36c47264855..7703a6a0a2c 100644
--- a/packages/twenty-apps/public/call-recorder/src/front-components/components/RecorderSection.tsx
+++ b/packages/twenty-apps/public/call-recorder/src/front-components/components/RecorderSection.tsx
@@ -1,8 +1,7 @@
import { isUndefined } from '@sniptt/guards';
import { useId, useState } from 'react';
-import { Section } from 'twenty-ui/layout';
+import { Section } from 'twenty-ui/components/layout';
import { type ThemeColor } from 'twenty-ui/theme';
-import { H2Title } from 'twenty-ui/typography';
import { AdornedHexInput } from 'src/front-components/components/AdornedHexInput';
import { LabelledSettingsField } from 'src/front-components/components/LabelledSettingsField';
@@ -100,8 +99,8 @@ export const RecorderSection = () => {
};
return (
- <Section>
- <H2Title
+ <Section.Root>
+ <Section.Header
title="Recorder"
description="How the recorder appears when it joins your meetings."
/>
@@ -171,6 +170,6 @@ export const RecorderSection = () => {
</StyledDimmable>
)}
</StyledSettingsSectionStack>
- </Section>
+ </Section.Root>
);
};
diff --git a/packages/twenty-apps/public/call-recorder/src/front-components/components/SchedulingSection.tsx b/packages/twenty-apps/public/call-recorder/src/front-components/components/SchedulingSection.tsx
index 16ea3b3f685..f3250e6b2c9 100644
--- a/packages/twenty-apps/public/call-recorder/src/front-components/components/SchedulingSection.tsx
+++ b/packages/twenty-apps/public/call-recorder/src/front-components/components/SchedulingSection.tsx
@@ -1,4 +1,4 @@
-import { Section } from 'twenty-ui/layout';
+import { Section } from 'twenty-ui/components/layout';
import { SettingsOptionCardContentToggle } from 'src/front-components/components/SettingsOptionCardContentToggle';
import { StyledSettingsCard } from 'src/front-components/components/StyledSettingsCard';
@@ -27,7 +27,7 @@ export const SchedulingSection = ({
};
return (
- <Section>
+ <Section.Root>
<StyledSettingsCard>
<SettingsOptionCardContentToggle
Icon={CALL_RECORDER_CALENDAR_BOT_SCHEDULING_ROW.Icon}
@@ -37,6 +37,6 @@ export const SchedulingSection = ({
onChange={handleChange}
/>
</StyledSettingsCard>
- </Section>
+ </Section.Root>
);
};
diff --git a/packages/twenty-apps/public/call-recorder/src/front-components/components/Separator.tsx b/packages/twenty-apps/public/call-recorder/src/front-components/components/Separator.tsx
index 7f83a37289c..6d404bb3f4c 100644
--- a/packages/twenty-apps/public/call-recorder/src/front-components/components/Separator.tsx
+++ b/packages/twenty-apps/public/call-recorder/src/front-components/components/Separator.tsx
@@ -1,5 +1,5 @@
import styled from '@emotion/styled';
-import { themeCssVariables } from 'twenty-ui/theme-constants';
+import { themeCssVariables } from 'twenty-ui/theme';
const StyledHr = styled.hr`
border: none;
diff --git a/packages/twenty-apps/public/call-recorder/src/front-components/components/SettingsCardContentBase.tsx b/packages/twenty-apps/public/call-recorder/src/front-components/components/SettingsCardContentBase.tsx
index 14a0429f37e..cc9cb752d74 100644
--- a/packages/twenty-apps/public/call-recorder/src/front-components/components/SettingsCardContentBase.tsx
+++ b/packages/twenty-apps/public/call-recorder/src/front-components/components/SettingsCardContentBase.tsx
@@ -1,5 +1,5 @@
import styled from '@emotion/styled';
-import { themeCssVariables } from 'twenty-ui/theme-constants';
+import { themeCssVariables } from 'twenty-ui/theme';
export const StyledSettingsCardContent = styled.div<{ $isDimmed?: boolean }>`
align-items: center;
diff --git a/packages/twenty-apps/public/call-recorder/src/front-components/components/SettingsColorSample.tsx b/packages/twenty-apps/public/call-recorder/src/front-components/components/SettingsColorSample.tsx
index 9c90eddf7d6..ca2567fb575 100644
--- a/packages/twenty-apps/public/call-recorder/src/front-components/components/SettingsColorSample.tsx
+++ b/packages/twenty-apps/public/call-recorder/src/front-components/components/SettingsColorSample.tsx
@@ -1,6 +1,6 @@
import styled from '@emotion/styled';
-import { ColorSample, type ColorSampleProps } from 'twenty-ui/data-display';
-import { themeCssVariables } from 'twenty-ui/theme-constants';
+import { ColorSample, type ColorSampleProps } from 'twenty-ui/primitives/data-display';
+import { themeCssVariables } from 'twenty-ui/theme';
type SettingsColorSampleProps = Omit<ColorSampleProps, 'variant'>;
diff --git a/packages/twenty-apps/public/call-recorder/src/front-components/components/SettingsCounter.tsx b/packages/twenty-apps/public/call-recorder/src/front-components/components/SettingsCounter.tsx
index 0229fd717dd..bb71aa5d813 100644
--- a/packages/twenty-apps/public/call-recorder/src/front-components/components/SettingsCounter.tsx
+++ b/packages/twenty-apps/public/call-recorder/src/front-components/components/SettingsCounter.tsx
@@ -1,8 +1,8 @@
import styled from '@emotion/styled';
import { isUndefined } from '@sniptt/guards';
import { IconMinus, IconPlus } from 'twenty-ui/icon';
-import { IconButton } from 'twenty-ui/input';
-import { themeCssVariables } from 'twenty-ui/theme-constants';
+import { IconButton } from 'twenty-ui/components/input';
+import { themeCssVariables } from 'twenty-ui/theme';
import { StyledSettingsTextInput } from 'src/front-components/components/StyledSettingsTextInput';
@@ -110,13 +110,14 @@ export const SettingsCounter = ({
<StyledCounterContainer $showButtons={showButtons}>
{showButtons && (
<IconButton
- size="small"
- Icon={IconMinus}
- variant="secondary"
+ size="sm"
+ variant="outline"
onClick={handleDecrementCounter}
disabled={disabled}
- ariaLabel="Decrease"
- />
+ aria-label="Decrease"
+ >
+ <IconMinus />
+ </IconButton>
)}
<StyledTextInputContainer>
<StyledSettingsTextInput
@@ -134,13 +135,14 @@ export const SettingsCounter = ({
</StyledTextInputContainer>
{showButtons && (
<IconButton
- size="small"
- Icon={IconPlus}
- variant="secondary"
+ size="sm"
+ variant="outline"
onClick={handleIncrementCounter}
disabled={disabled}
- ariaLabel="Increase"
- />
+ aria-label="Increase"
+ >
+ <IconPlus />
+ </IconButton>
)}
</StyledCounterContainer>
);
diff --git a/packages/twenty-apps/public/call-recorder/src/front-components/components/SettingsOptionCardContentCounter.tsx b/packages/twenty-apps/public/call-recorder/src/front-components/components/SettingsOptionCardContentCounter.tsx
index 213982959a1..8ee8ed5a26a 100644
--- a/packages/twenty-apps/public/call-recorder/src/front-components/components/SettingsOptionCardContentCounter.tsx
+++ b/packages/twenty-apps/public/call-recorder/src/front-components/components/SettingsOptionCardContentCounter.tsx
@@ -1,6 +1,6 @@
import { isNonEmptyString } from '@sniptt/guards';
import { type IconComponent } from 'twenty-ui/icon';
-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';
+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/typography';
import { Separator } from 'src/front-components/components/Separator';
import {
diff --git a/packages/twenty-apps/public/call-recorder/src/front-components/components/SettingsOptionCardContentSelect.tsx b/packages/twenty-apps/public/call-recorder/src/front-components/components/SettingsOptionCardContentSelect.tsx
index 8f12da0a1d3..8ce24bd3b73 100644
--- a/packages/twenty-apps/public/call-recorder/src/front-components/components/SettingsOptionCardContentSelect.tsx
+++ b/packages/twenty-apps/public/call-recorder/src/front-components/components/SettingsOptionCardContentSelect.tsx
@@ -1,7 +1,7 @@
import styled from '@emotion/styled';
import { type IconComponent } from 'twenty-ui/icon';
-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';
-import { themeCssVariables } from 'twenty-ui/theme-constants';
+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/typography';
+import { themeCssVariables } from 'twenty-ui/theme';
import { Separator } from 'src/front-components/components/Separator';
import {
diff --git a/packages/twenty-apps/public/call-recorder/src/front-components/components/SettingsOptionCardContentToggle.tsx b/packages/twenty-apps/public/call-recorder/src/front-components/components/SettingsOptionCardContentToggle.tsx
index d4cae9a1c39..3316c83b2c0 100644
--- a/packages/twenty-apps/public/call-recorder/src/front-components/components/SettingsOptionCardContentToggle.tsx
+++ b/packages/twenty-apps/public/call-recorder/src/front-components/components/SettingsOptionCardContentToggle.tsx
@@ -1,8 +1,8 @@
import styled from '@emotion/styled';
import { useId } from 'react';
import { type IconComponent } from 'twenty-ui/icon';
-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';
-import { themeCssVariables } from 'twenty-ui/theme-constants';
+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/typography';
+import { themeCssVariables } from 'twenty-ui/theme';
import { Separator } from 'src/front-components/components/Separator';
import {
diff --git a/packages/twenty-apps/public/call-recorder/src/front-components/components/SettingsOptionIconCustomizer.tsx b/packages/twenty-apps/public/call-recorder/src/front-components/components/SettingsOptionIconCustomizer.tsx
index a1ba17b9101..eb805e8c400 100644
--- a/packages/twenty-apps/public/call-recorder/src/front-components/components/SettingsOptionIconCustomizer.tsx
+++ b/packages/twenty-apps/public/call-recorder/src/front-components/components/SettingsOptionIconCustomizer.tsx
@@ -1,12 +1,8 @@
import styled from '@emotion/styled';
import { type IconComponent } from 'twenty-ui/icon';
-import { ICON } from 'twenty-ui/theme';
-import { themeCssVariables } from 'twenty-ui/theme-constants';
+import { THEME_COMMON, themeCssVariables } from 'twenty-ui/theme';
-// twenty-front reads these off ThemeContext, but a front component has no
-// ThemeProvider: the context default resolves every value to a var() string,
-// which an SVG size attribute cannot use. Sizes come from the numeric ICON
-// constants and the colour is inherited through currentColor instead.
+// SVG size attributes need numbers, not the var() strings theme tokens resolve to here.
const StyledIconCustomizer = styled.div<{ $zoom: number; $rotate: number }>`
align-items: center;
color: ${() => themeCssVariables.IllustrationIcon.color.gray};
@@ -28,6 +24,6 @@ export const SettingsOptionIconCustomizer = ({
rotate = -4,
}: SettingsOptionIconCustomizerProps) => (
<StyledIconCustomizer $zoom={zoom} $rotate={rotate}>
- <Icon size={ICON.size.lg} stroke={ICON.stroke.md} />
+ <Icon size={THEME_COMMON.icon.size.lg} stroke={THEME_COMMON.icon.stroke.md} />
</StyledIconCustomizer>
);
diff --git a/packages/twenty-apps/public/call-recorder/src/front-components/components/SettingsSelectControl.tsx b/packages/twenty-apps/public/call-recorder/src/front-components/components/SettingsSelectControl.tsx
index 2fc01777cc3..18bc01b89cb 100644
--- a/packages/twenty-apps/public/call-recorder/src/front-components/components/SettingsSelectControl.tsx
+++ b/packages/twenty-apps/public/call-recorder/src/front-components/components/SettingsSelectControl.tsx
@@ -2,9 +2,8 @@ import styled from '@emotion/styled';
import { isUndefined } from '@sniptt/guards';
import { type KeyboardEvent, type ReactNode, useRef } from 'react';
import { IconChevronDown } from 'twenty-ui/icon';
-import { ICON } from 'twenty-ui/theme';
-import { OverflowingTextWithTooltip } from 'twenty-ui/surfaces';
-import { themeCssVariables } from 'twenty-ui/theme-constants';
+import { THEME_COMMON, themeCssVariables } from 'twenty-ui/theme';
+import { OverflowingTextWithTooltip } from 'twenty-ui/primitives/typography';
import { type SettingsSelectNavigationKey } from 'src/front-components/utils/get-next-active-option-index.util';
@@ -137,7 +136,7 @@ export const SettingsSelectControl = ({
{adornment}
<OverflowingTextWithTooltip text={label} />
<StyledChevronWrapper>
- <IconChevronDown size={ICON.size.md} stroke={ICON.stroke.sm} />
+ <IconChevronDown size={THEME_COMMON.icon.size.md} stroke={THEME_COMMON.icon.stroke.sm} />
</StyledChevronWrapper>
</StyledControlContainer>
);
diff --git a/packages/twenty-apps/public/call-recorder/src/front-components/components/SettingsSelectMenu.tsx b/packages/twenty-apps/public/call-recorder/src/front-components/components/SettingsSelectMenu.tsx
index 3029ec281a5..439f28636a9 100644
--- a/packages/twenty-apps/public/call-recorder/src/front-components/components/SettingsSelectMenu.tsx
+++ b/packages/twenty-apps/public/call-recorder/src/front-components/components/SettingsSelectMenu.tsx
@@ -1,6 +1,6 @@
import styled from '@emotion/styled';
import { type ReactNode } from 'react';
-import { themeCssVariables } from 'twenty-ui/theme-constants';
+import { themeCssVariables } from 'twenty-ui/theme';
import {
SETTINGS_SELECT_MENU_BACKDROP_Z_INDEX,
diff --git a/packages/twenty-apps/public/call-recorder/src/front-components/components/StyledCallRecordingRowLayout.tsx b/packages/twenty-apps/public/call-recorder/src/front-components/components/StyledCallRecordingRowLayout.tsx
index bf2b1944b51..ef63b310f60 100644
--- a/packages/twenty-apps/public/call-recorder/src/front-components/components/StyledCallRecordingRowLayout.tsx
+++ b/packages/twenty-apps/public/call-recorder/src/front-components/components/StyledCallRecordingRowLayout.tsx
@@ -1,5 +1,5 @@
import styled from '@emotion/styled';
-import { themeCssVariables } from 'twenty-ui/theme-constants';
+import { themeCssVariables } from 'twenty-ui/theme';
export const StyledCallRecordingRowLayout = styled.div`
align-items: center;
diff --git a/packages/twenty-apps/public/call-recorder/src/front-components/components/StyledChipButton.tsx b/packages/twenty-apps/public/call-recorder/src/front-components/components/StyledChipButton.tsx
index 902fb45c2e5..f59c413e4fa 100644
--- a/packages/twenty-apps/public/call-recorder/src/front-components/components/StyledChipButton.tsx
+++ b/packages/twenty-apps/public/call-recorder/src/front-components/components/StyledChipButton.tsx
@@ -1,5 +1,5 @@
import styled from '@emotion/styled';
-import { themeCssVariables } from 'twenty-ui/theme-constants';
+import { themeCssVariables } from 'twenty-ui/theme';
export const StyledChipButton = styled.button`
background: none;
diff --git a/packages/twenty-apps/public/call-recorder/src/front-components/components/StyledChipSkeleton.tsx b/packages/twenty-apps/public/call-recorder/src/front-components/components/StyledChipSkeleton.tsx
index 719bc7bdaae..843b3ff36bc 100644
--- a/packages/twenty-apps/public/call-recorder/src/front-components/components/StyledChipSkeleton.tsx
+++ b/packages/twenty-apps/public/call-recorder/src/front-components/components/StyledChipSkeleton.tsx
@@ -1,6 +1,6 @@
import { keyframes } from '@emotion/react';
import styled from '@emotion/styled';
-import { themeCssVariables } from 'twenty-ui/theme-constants';
+import { themeCssVariables } from 'twenty-ui/theme';
const shimmer = keyframes`
from { transform: translateX(-100%); }
diff --git a/packages/twenty-apps/public/call-recorder/src/front-components/components/StyledSettingsCard.tsx b/packages/twenty-apps/public/call-recorder/src/front-components/components/StyledSettingsCard.tsx
index 99a22a68a13..ed3965bf61b 100644
--- a/packages/twenty-apps/public/call-recorder/src/front-components/components/StyledSettingsCard.tsx
+++ b/packages/twenty-apps/public/call-recorder/src/front-components/components/StyledSettingsCard.tsx
@@ -1,5 +1,5 @@
import styled from '@emotion/styled';
-import { themeCssVariables } from 'twenty-ui/theme-constants';
+import { themeCssVariables } from 'twenty-ui/theme';
// Mirrors twenty-ui's Card without its overflow: hidden, which would clip the
// select menus that open inline below their rows. The rows paint their own
diff --git a/packages/twenty-apps/public/call-recorder/src/front-components/components/StyledSettingsError.tsx b/packages/twenty-apps/public/call-recorder/src/front-components/components/StyledSettingsError.tsx
index ce57512f6c0..b2ffdf16a79 100644
--- a/packages/twenty-apps/public/call-recorder/src/front-components/components/StyledSettingsError.tsx
+++ b/packages/twenty-apps/public/call-recorder/src/front-components/components/StyledSettingsError.tsx
@@ -1,5 +1,5 @@
import styled from '@emotion/styled';
-import { themeCssVariables } from 'twenty-ui/theme-constants';
+import { themeCssVariables } from 'twenty-ui/theme';
export const StyledSettingsError = styled.div`
color: ${() => themeCssVariables.font.color.danger};
diff --git a/packages/twenty-apps/public/call-recorder/src/front-components/components/StyledSettingsSectionStack.tsx b/packages/twenty-apps/public/call-recorder/src/front-components/components/StyledSettingsSectionStack.tsx
index 1106c206fd5..31b3f5b717c 100644
--- a/packages/twenty-apps/public/call-recorder/src/front-components/components/StyledSettingsSectionStack.tsx
+++ b/packages/twenty-apps/public/call-recorder/src/front-components/components/StyledSettingsSectionStack.tsx
@@ -1,5 +1,5 @@
import styled from '@emotion/styled';
-import { themeCssVariables } from 'twenty-ui/theme-constants';
+import { themeCssVariables } from 'twenty-ui/theme';
export const StyledSettingsSectionStack = styled.div`
display: flex;
diff --git a/packages/twenty-apps/public/call-recorder/src/front-components/components/StyledWidgetContainer.tsx b/packages/twenty-apps/public/call-recorder/src/front-components/components/StyledWidgetContainer.tsx
index 7f8c5e91c3f..6db9b8d41e2 100644
--- a/packages/twenty-apps/public/call-recorder/src/front-components/components/StyledWidgetContainer.tsx
+++ b/packages/twenty-apps/public/call-recorder/src/front-components/components/StyledWidgetContainer.tsx
@@ -1,5 +1,5 @@
import styled from '@emotion/styled';
-import { themeCssVariables } from 'twenty-ui/theme-constants';
+import { themeCssVariables } from 'twenty-ui/theme';
export const StyledWidgetContainer = styled.div`
box-sizing: border-box;
diff --git a/packages/twenty-apps/public/call-recorder/src/front-components/components/ThemeColorPickerMenu.tsx b/packages/twenty-apps/public/call-recorder/src/front-components/components/ThemeColorPickerMenu.tsx
index 112a0e87a74..57dac979b7e 100644
--- a/packages/twenty-apps/public/call-recorder/src/front-components/components/ThemeColorPickerMenu.tsx
+++ b/packages/twenty-apps/public/call-recorder/src/front-components/components/ThemeColorPickerMenu.tsx
@@ -1,5 +1,5 @@
import styled from '@emotion/styled';
-import { DEFAULT_COLOR_LABELS } from 'twenty-ui/navigation';
+import { DEFAULT_COLOR_LABELS } from 'twenty-ui/components/navigation';
import { MAIN_COLOR_NAMES, type ThemeColor } from 'twenty-ui/theme';
import { DropdownMenuItemsContainer } from 'src/front-components/components/DropdownMenuItemsContainer';
diff --git a/packages/twenty-apps/public/call-recorder/src/front-components/components/TileBackgroundControl.tsx b/packages/twenty-apps/public/call-recorder/src/front-components/components/TileBackgroundControl.tsx
index 939554c23b6..cfb7589141e 100644
--- a/packages/twenty-apps/public/call-recorder/src/front-components/components/TileBackgroundControl.tsx
+++ b/packages/twenty-apps/public/call-recorder/src/front-components/components/TileBackgroundControl.tsx
@@ -1,6 +1,6 @@
import { isUndefined } from '@sniptt/guards';
import { useState } from 'react';
-import { DEFAULT_COLOR_LABELS } from 'twenty-ui/navigation';
+import { DEFAULT_COLOR_LABELS } from 'twenty-ui/components/navigation';
import { MAIN_COLOR_NAMES, type ThemeColor } from 'twenty-ui/theme';
import { isDefined } from 'twenty-ui/utilities';
diff --git a/packages/twenty-apps/public/call-recorder/src/front-components/components/Toggle.tsx b/packages/twenty-apps/public/call-recorder/src/front-components/components/Toggle.tsx
index c42097fbba3..c3e151a2402 100644
--- a/packages/twenty-apps/public/call-recorder/src/front-components/components/Toggle.tsx
+++ b/packages/twenty-apps/public/call-recorder/src/front-components/components/Toggle.tsx
@@ -1,5 +1,5 @@
import styled from '@emotion/styled';
-import { themeCssVariables } from 'twenty-ui/theme-constants';
+import { themeCssVariables } from 'twenty-ui/theme';
// twenty-ui's Toggle is a base-ui Switch whose click handler constructs a
// PointerEvent, which the front component sandbox does not provide. This is
diff --git a/packages/twenty-apps/public/call-recorder/src/front-components/components/TranscriptionSection.tsx b/packages/twenty-apps/public/call-recorder/src/front-components/components/TranscriptionSection.tsx
index be81528dc1a..4de6c6f3089 100644
--- a/packages/twenty-apps/public/call-recorder/src/front-components/components/TranscriptionSection.tsx
+++ b/packages/twenty-apps/public/call-recorder/src/front-components/components/TranscriptionSection.tsx
@@ -1,6 +1,5 @@
import { useId, useState } from 'react';
-import { Section } from 'twenty-ui/layout';
-import { H2Title } from 'twenty-ui/typography';
+import { Section } from 'twenty-ui/components/layout';
import { CALL_RECORDER_TRANSCRIPT_PROVIDER_OPTIONS } from 'src/constants/call-recorder-transcript-provider-options';
import { LabelledSettingsField } from 'src/front-components/components/LabelledSettingsField';
@@ -75,8 +74,8 @@ export const TranscriptionSection = () => {
};
return (
- <Section>
- <H2Title
+ <Section.Root>
+ <Section.Header
title="Transcription"
description="What happens to a recording once the call ends."
/>
@@ -119,6 +118,6 @@ export const TranscriptionSection = () => {
</LabelledSettingsField>
</StyledDimmable>
</StyledSettingsSectionStack>
- </Section>
+ </Section.Root>
);
};
diff --git a/packages/twenty-apps/public/call-recorder/src/front-components/utils/get-settings-control-styles.util.ts b/packages/twenty-apps/public/call-recorder/src/front-components/utils/get-settings-control-styles.util.ts
index 7efdcb89ee6..9ba4f7655fa 100644
--- a/packages/twenty-apps/public/call-recorder/src/front-components/utils/get-settings-control-styles.util.ts
+++ b/packages/twenty-apps/public/call-recorder/src/front-components/utils/get-settings-control-styles.util.ts
@@ -1,4 +1,4 @@
-import { themeCssVariables } from 'twenty-ui/theme-constants';
+import { themeCssVariables } from 'twenty-ui/theme';
// Mirrors the settings inputs twenty-front renders for application variables,
// which cannot be imported here: twenty-ui ships no text, select or textarea
diff --git a/packages/twenty-apps/public/call-recorder/yarn.lock b/packages/twenty-apps/public/call-recorder/yarn.lock
index 75b46a0aa52..b095c93c8d0 100644
--- a/packages/twenty-apps/public/call-recorder/yarn.lock
+++ b/packages/twenty-apps/public/call-recorder/yarn.lock
@@ -81,13 +81,20 @@ __metadata:
languageName: node
linkType: hard
-"@babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.18.3, @babel/runtime@npm:^7.29.2":
+"@babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.18.3":
version: 7.29.7
resolution: "@babel/runtime@npm:7.29.7"
checksum: 10c0/ca11572f7146b21e0bde6a9ed4bb6a89eafbee5f0944c7eb54d0d8a2dac962c33638a1d611e14faa71dfbb92b4b5f9236232208568a6b7d5c6f3f39ddb91771e
languageName: node
linkType: hard
+"@babel/runtime@npm:^7.29.7 || ^8.0.0":
+ version: 8.0.8
+ resolution: "@babel/runtime@npm:8.0.8"
+ checksum: 10c0/059934f37971e24c5cd4505a2e0f63a039051935c0a9fcebd31fb7d0a0c05acd7915ba2f06db5197c97a31755862330232253b9a2cefa5bf37fdc9e521b4d6dc
+ languageName: node
+ linkType: hard
+
"@babel/template@npm:^7.29.7":
version: 7.29.7
resolution: "@babel/template@npm:7.29.7"
@@ -124,15 +131,15 @@ __metadata:
languageName: node
linkType: hard
-"@base-ui/react@npm:^1.5.0":
- version: 1.7.0
- resolution: "@base-ui/react@npm:1.7.0"
+"@base-ui/react@npm:^1.9.0":
+ version: 1.9.0
+ resolution: "@base-ui/react@npm:1.9.0"
dependencies:
- "@babel/runtime": "npm:^7.29.2"
- "@base-ui/utils": "npm:0.3.2"
+ "@babel/runtime": "npm:^7.29.7 || ^8.0.0"
+ "@base-ui/utils": "npm:0.5.0"
"@floating-ui/react-dom": "npm:^2.1.9"
"@floating-ui/utils": "npm:^0.2.12"
- use-sync-external-store: "npm:^1.6.0"
+ use-sync-external-store: "npm:^1.7.0"
peerDependencies:
"@date-fns/tz": ^1.2.0
"@types/react": ^17 || ^18 || ^19
@@ -146,18 +153,18 @@ __metadata:
optional: true
date-fns:
optional: true
- checksum: 10c0/05bc69f68431ff30a5fac98d8e75c77af7c27749d10aeac10ab7f26843a0a8b49ca5cff32654aad1a107cb7f44aeb1705c15138c9c7f7ddc19d6321fbb263e4d
+ checksum: 10c0/0495ec9026ad2f5f04580865a1b40c2899b2475d77472d3dcb8b688b1a2a949e14493cc50adb4dd7d33970caef7845ef4a0b93184a8299ed78bda7ff7c288847
languageName: node
linkType: hard
-"@base-ui/utils@npm:0.3.2":
- version: 0.3.2
- resolution: "@base-ui/utils@npm:0.3.2"
+"@base-ui/utils@npm:0.5.0":
+ version: 0.5.0
+ resolution: "@base-ui/utils@npm:0.5.0"
dependencies:
- "@babel/runtime": "npm:^7.29.2"
+ "@babel/runtime": "npm:^7.29.7 || ^8.0.0"
"@floating-ui/utils": "npm:^0.2.12"
- reselect: "npm:^5.2.0"
- use-sync-external-store: "npm:^1.6.0"
+ reselect: "npm:^5.3.0"
+ use-sync-external-store: "npm:^1.7.0"
peerDependencies:
"@types/react": ^17 || ^18 || ^19
react: ^17 || ^18 || ^19
@@ -165,7 +172,7 @@ __metadata:
peerDependenciesMeta:
"@types/react":
optional: true
- checksum: 10c0/b523339f350679915550605e59754b5db9806a41a3b390d6f6adad29fedc0caf084c8ad1bad6bb62a463360593382defb7d3ea941a94404ed9db0142fdae5800
+ checksum: 10c0/864b572ea60ea557bfdc63ff056026ed585cce4f35e4996c63e86503944befa3d9bc41e8f1da847e1273d8ac0b2f55210eecff936c3cfb1e0ea7ba9bfc5c5b5b
languageName: node
linkType: hard
@@ -537,6 +544,20 @@ __metadata:
languageName: node
linkType: hard
+"@floating-ui/react@npm:^0.27.15":
+ version: 0.27.20
+ resolution: "@floating-ui/react@npm:0.27.20"
+ dependencies:
+ "@floating-ui/react-dom": "npm:^2.1.9"
+ "@floating-ui/utils": "npm:^0.2.12"
+ tabbable: "npm:^6.0.0"
+ peerDependencies:
+ react: ">=17.0.0"
+ react-dom: ">=17.0.0"
+ checksum: 10c0/5ebeb4c877128e9a274692849ceb2103b370441626e97ade38c25db5d94371dd7274292eda05208cc5d1c92c594a59595a1909799c2ac8ff44f9e651a4fe55b3
+ languageName: node
+ linkType: hard
+
"@floating-ui/utils@npm:^0.2.12":
version: 0.2.12
resolution: "@floating-ui/utils@npm:0.2.12"
@@ -1100,28 +1121,6 @@ __metadata:
languageName: node
linkType: hard
-"@monaco-editor/loader@npm:^1.5.0":
- version: 1.7.0
- resolution: "@monaco-editor/loader@npm:1.7.0"
- dependencies:
- state-local: "npm:^1.0.6"
- checksum: 10c0/1fd3579cb09b669493cf553dfc0723a93483140a44353ce9a739827edfa7b2c6541b254024d15c48176ece749ef666b6d16cce6cf0e4396c7fa1c5a48012d08a
- languageName: node
- linkType: hard
-
-"@monaco-editor/react@npm:^4.7.0":
- version: 4.7.0
- resolution: "@monaco-editor/react@npm:4.7.0"
- dependencies:
- "@monaco-editor/loader": "npm:^1.5.0"
- peerDependencies:
- monaco-editor: ">= 0.25.0 < 1"
- react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
- react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
- checksum: 10c0/a4e91c6eda1a71f5fd23871bd801de435490ccbc43934d23cba65cefe2be7e9d02c9a57c4ef80fc9fe99e4d4deea51e5db19cb4e0ecf3f51818dda0eb9cdbf12
- languageName: node
- linkType: hard
-
"@oxc-project/types@npm:=0.155.0":
version: 0.155.0
resolution: "@oxc-project/types@npm:0.155.0"
@@ -1185,20 +1184,6 @@ __metadata:
languageName: node
linkType: hard
-"@radix-ui/colors@npm:^3.0.0":
- version: 3.0.0
- resolution: "@radix-ui/colors@npm:3.0.0"
- checksum: 10c0/612c6bb4efe987f2d49aaca2f785687d08150da59a248328bc2b4e187ece4ef731c1dc5c6a9430fffcac4af9e65cf2f89ceb9806f8809940c9eb238b79d2cf2f
- languageName: node
- linkType: hard
-
-"@remix-run/router@npm:1.23.4":
- version: 1.23.4
- resolution: "@remix-run/router@npm:1.23.4"
- checksum: 10c0/ef17eb2a606c125f09c55683585099725421af1c11f1c1d1c3841fe4eea3f99eb56b26ecbb17429a173c704ecae336c37e0d74855faa9330667433ef4f419436
- languageName: node
- linkType: hard
-
"@rolldown/binding-android-arm-eabi@npm:1.2.15":
version: 1.2.15
resolution: "@rolldown/binding-android-arm-eabi@npm:1.2.15"
@@ -1359,7 +1344,7 @@ __metadata:
sharp: "npm:^0.35.5"
twenty-client-sdk: "npm:2.49.0"
twenty-sdk: "npm:2.49.0"
- twenty-ui: "npm:^1.0.0-alpha.1"
+ twenty-ui: "npm:^2.51.3"
typescript: "npm:^5.9.3"
use-debounce: "npm:^10.0.0"
vite-tsconfig-paths: "npm:^4.2.1"
@@ -1869,13 +1854,6 @@ __metadata:
languageName: node
linkType: hard
-"css-mediaquery@npm:^0.1.2":
- version: 0.1.2
- resolution: "css-mediaquery@npm:0.1.2"
- checksum: 10c0/b7825a78f52ce8a8198e004fcad0d7be1d3c9a0463ecd05ba31a0f2c94fb81468ad6f4d7bf715a6ca775696e7a17500c2a339b5216a6d0f789cbf78f9454d048
- languageName: node
- linkType: hard
-
"csstype@npm:^3.0.2, csstype@npm:^3.2.2":
version: 3.2.3
resolution: "csstype@npm:3.2.3"
@@ -1883,6 +1861,13 @@ __metadata:
languageName: node
linkType: hard
+"date-fns@npm:^4.1.0":
+ version: 4.4.0
+ resolution: "date-fns@npm:4.4.0"
+ checksum: 10c0/988f0a13db183f5dfc85c36bbb6847a9c135a9225888bbea4005876ec15539a8613c21a07370a4e7ea543918d5a1cafb423c528b42cdbbde5fdfddb178126b21
+ languageName: node
+ linkType: hard
+
"debug@npm:4, debug@npm:^4.1.1, debug@npm:^4.3.1":
version: 4.4.3
resolution: "debug@npm:4.4.3"
@@ -2365,13 +2350,6 @@ __metadata:
languageName: node
linkType: hard
-"hyphenate-style-name@npm:^1.0.0":
- version: 1.1.0
- resolution: "hyphenate-style-name@npm:1.1.0"
- checksum: 10c0/bfe88deac2414a41a0d08811e277c8c098f23993d6a1eb17f14a0f11b54c4d42865a63d3cfe1914668eefb9a188e2de58f38b55a179a238fd1fef606893e194f
- languageName: node
- linkType: hard
-
"iconv-lite@npm:^0.7.2":
version: 0.7.2
resolution: "iconv-lite@npm:0.7.2"
@@ -2517,7 +2495,7 @@ __metadata:
languageName: node
linkType: hard
-"js-tokens@npm:^3.0.0 || ^4.0.0, js-tokens@npm:^4.0.0":
+"js-tokens@npm:^4.0.0":
version: 4.0.0
resolution: "js-tokens@npm:4.0.0"
checksum: 10c0/e248708d377aa058eacf2037b07ded847790e6de892bbad3dac0abba2e759cb9f121b00099a65195616badcb6eca8d14d975cb3e89eb1cfda644756402c8aeed
@@ -2681,17 +2659,6 @@ __metadata:
languageName: node
linkType: hard
-"loose-envify@npm:^1.4.0":
- version: 1.4.0
- resolution: "loose-envify@npm:1.4.0"
- dependencies:
- js-tokens: "npm:^3.0.0 || ^4.0.0"
- bin:
- loose-envify: cli.js
- checksum: 10c0/655d110220983c1a4b9c0c679a2e8016d4b67f6e9c7b5435ff5979ecdb20d0813f4dec0a08674fcbdd4846a3f07edbb50a36811fd37930b94aaa0d9daceb017e
- languageName: node
- linkType: hard
-
"magic-string@npm:^0.30.21":
version: 0.30.21
resolution: "magic-string@npm:0.30.21"
@@ -2701,15 +2668,6 @@ __metadata:
languageName: node
linkType: hard
-"matchmediaquery@npm:^0.3.0":
- version: 0.3.1
- resolution: "matchmediaquery@npm:0.3.1"
- dependencies:
- css-mediaquery: "npm:^0.1.2"
- checksum: 10c0/19a254e0a1eb639fcc6aa7428a6e2d36cb5646a165579897e771580653e470b43d7f4a224c522700dbf1d8f19fb7c63a9719e0a6017727ade967155a2ae89fea
- languageName: node
- linkType: hard
-
"math-intrinsics@npm:^1.1.0":
version: 1.1.0
resolution: "math-intrinsics@npm:1.1.0"
@@ -2824,13 +2782,6 @@ __metadata:
languageName: node
linkType: hard
-"object-assign@npm:^4.1.1":
- version: 4.1.1
- resolution: "object-assign@npm:4.1.1"
- checksum: 10c0/1f4df9945120325d041ccf7b86f31e8bcc14e73d29171e37a7903050e96b81323784ec59f93f102ec635bcf6fa8034ba3ea0a8c7e69fa202b87ae3b6cec5a414
- languageName: node
- linkType: hard
-
"obug@npm:^2.1.1":
version: 2.1.3
resolution: "obug@npm:2.1.3"
@@ -2992,17 +2943,6 @@ __metadata:
languageName: node
linkType: hard
-"prop-types@npm:^15.6.1":
- version: 15.8.1
- resolution: "prop-types@npm:15.8.1"
- dependencies:
- loose-envify: "npm:^1.4.0"
- object-assign: "npm:^4.1.1"
- react-is: "npm:^16.13.1"
- checksum: 10c0/59ece7ca2fb9838031d73a48d4becb9a7cc1ed10e610517c7d8f19a1e02fa47f7c27d557d8a5702bec3cfeccddc853579832b43f449e54635803f277b1c78077
- languageName: node
- linkType: hard
-
"proxy-from-env@npm:^2.1.0":
version: 2.1.0
resolution: "proxy-from-env@npm:2.1.0"
@@ -3010,6 +2950,24 @@ __metadata:
languageName: node
linkType: hard
+"react-datepicker@npm:^9.1.0":
+ version: 9.1.0
+ resolution: "react-datepicker@npm:9.1.0"
+ dependencies:
+ "@floating-ui/react": "npm:^0.27.15"
+ clsx: "npm:^2.1.1"
+ date-fns: "npm:^4.1.0"
+ peerDependencies:
+ date-fns-tz: ^3.0.0
+ react: ^16.9.0 || ^17 || ^18 || ^19 || ^19.0.0-rc
+ react-dom: ^16.9.0 || ^17 || ^18 || ^19 || ^19.0.0-rc
+ peerDependenciesMeta:
+ date-fns-tz:
+ optional: true
+ checksum: 10c0/43b58b08f9e4f289a31f2a2dbd0e246e396ad44ebfea4ed8d1393de2a6bded2dad9c2002cfcf70dfbe51aabf5f886b12b1aae8463c5bc35d67b1b22733a8a0f9
+ languageName: node
+ linkType: hard
+
"react-dom@npm:^19.0.0, react-dom@npm:^19.2.0":
version: 19.2.7
resolution: "react-dom@npm:19.2.7"
@@ -3021,7 +2979,7 @@ __metadata:
languageName: node
linkType: hard
-"react-is@npm:^16.13.1, react-is@npm:^16.7.0":
+"react-is@npm:^16.7.0":
version: 16.13.1
resolution: "react-is@npm:16.13.1"
checksum: 10c0/33977da7a5f1a287936a0c85639fec6ca74f4f15ef1e59a6bc20338fc73dc69555381e211f7a3529b8150a1f71e4225525b41b60b52965bda53ce7d47377ada1
@@ -3039,44 +2997,6 @@ __metadata:
languageName: node
linkType: hard
-"react-responsive@npm:^9.0.2":
- version: 9.0.2
- resolution: "react-responsive@npm:9.0.2"
- dependencies:
- hyphenate-style-name: "npm:^1.0.0"
- matchmediaquery: "npm:^0.3.0"
- prop-types: "npm:^15.6.1"
- shallow-equal: "npm:^1.2.1"
- peerDependencies:
- react: ">=16.8.0"
- checksum: 10c0/c58b30d8b8ff993edbc73f7de59a2d86d8abd6380b06a9b41667c3bdd5401e5e710fa1d0fdac21368759ab9b958e8b479a111329a06e9b0241ee08f500b37a20
- languageName: node
- linkType: hard
-
-"react-router-dom@npm:^6.4.4":
- version: 6.30.6
- resolution: "react-router-dom@npm:6.30.6"
- dependencies:
- "@remix-run/router": "npm:1.23.4"
- react-router: "npm:6.30.6"
- peerDependencies:
- react: ">=16.8"
- react-dom: ">=16.8"
- checksum: 10c0/57dbb2ae4ac787f78c4d10b764c1c5223635378033e33dda4e0a4417144ae847fb43dc98008075951826258287c27c67729ca713c90957cf2ecf9055561bdc2e
- languageName: node
- linkType: hard
-
-"react-router@npm:6.30.6":
- version: 6.30.6
- resolution: "react-router@npm:6.30.6"
- dependencies:
- "@remix-run/router": "npm:1.23.4"
- peerDependencies:
- react: ">=16.8"
- checksum: 10c0/d101388d92a44e159ef30dd2402a7f7b6aace8f837bb42aed1f8a6b3a4eff769d1822bf69382f0acb85a790628dac081c22bedb2bca12707e0e5e91427010fc3
- languageName: node
- linkType: hard
-
"react@npm:^19.0.0, react@npm:^19.2.0":
version: 19.2.7
resolution: "react@npm:19.2.7"
@@ -3091,7 +3011,7 @@ __metadata:
languageName: node
linkType: hard
-"reselect@npm:^5.2.0":
+"reselect@npm:^5.3.0":
version: 5.3.0
resolution: "reselect@npm:5.3.0"
checksum: 10c0/c79728e4f315152bfb2d82456d35075b705392d9e72c485d7d9b1061bd80af628416216d80f02a42f24dbb24d738aec7fec45806930aaa1d17c32e9875fa1bd6
@@ -3249,13 +3169,6 @@ __metadata:
languageName: node
linkType: hard
-"shallow-equal@npm:^1.2.1":
- version: 1.2.1
- resolution: "shallow-equal@npm:1.2.1"
- checksum: 10c0/51e03abadd97c9ebe590547d92db9148446962a3f23a3a0fb1ba2fccab80af881eef0ff1f8ccefd3f066c0bc5a4c8ca53706194813b95c8835fa66448a843a26
- languageName: node
- linkType: hard
-
"sharp@npm:^0.35.5":
version: 0.35.5
resolution: "sharp@npm:0.35.5"
@@ -3407,13 +3320,6 @@ __metadata:
languageName: node
linkType: hard
-"state-local@npm:^1.0.6":
- version: 1.0.7
- resolution: "state-local@npm:1.0.7"
- checksum: 10c0/8dc7daeac71844452fafb514a6d6b6f40d7e2b33df398309ea1c7b3948d6110c57f112b7196500a10c54fdde40291488c52c875575670fb5c819602deca48bd9
- languageName: node
- linkType: hard
-
"std-env@npm:^4.0.0-rc.1":
version: 4.1.0
resolution: "std-env@npm:4.1.0"
@@ -3487,6 +3393,13 @@ __metadata:
languageName: node
linkType: hard
+"tabbable@npm:^6.0.0":
+ version: 6.5.1
+ resolution: "tabbable@npm:6.5.1"
+ checksum: 10c0/702c0ae8ca5b611d0312e3d860abcb6b1e35bd52fd3717a0a6ecb436fb680df39bf73a71009afb139a2316e6e27e300753366a05466b4ff76102d60ce13b0826
+ languageName: node
+ linkType: hard
+
"tagged-tag@npm:^1.0.0":
version: 1.0.0
resolution: "tagged-tag@npm:1.0.0"
@@ -3623,25 +3536,29 @@ __metadata:
languageName: node
linkType: hard
-"twenty-ui@npm:^1.0.0-alpha.1":
- version: 1.0.0-alpha.1
- resolution: "twenty-ui@npm:1.0.0-alpha.1"
+"twenty-ui@npm:^2.51.3":
+ version: 2.51.3
+ resolution: "twenty-ui@npm:2.51.3"
dependencies:
- "@base-ui/react": "npm:^1.5.0"
- "@monaco-editor/react": "npm:^4.7.0"
- "@radix-ui/colors": "npm:^3.0.0"
+ "@base-ui/react": "npm:^1.9.0"
+ "@base-ui/utils": "npm:0.5.0"
"@sniptt/guards": "npm:^0.2.0"
"@tabler/icons-react": "npm:^3.31.0"
clsx: "npm:^2.1.1"
- react-responsive: "npm:^9.0.2"
- react-router-dom: "npm:^6.4.4"
+ react-datepicker: "npm:^9.1.0"
type-fest: "npm:^4.10.1"
zod: "npm:^4.1.11"
peerDependencies:
+ "@monaco-editor/react": ^4.7.0
monaco-editor: ">= 0.25.0 < 1"
react: ^19.0.0
react-dom: ^19.0.0
- checksum: 10c0/213582e582949d6ffe90a7a8ab89a1d4e9dc724d34ed1b80bd7d50e834a8cb8539723556d41b39dc658f76f176bd8490ae0da8a3d6a713e79e6573b732084179
+ peerDependenciesMeta:
+ "@monaco-editor/react":
+ optional: true
+ monaco-editor:
+ optional: true
+ checksum: 10c0/a4c97bb5e29b27b99569d39928f6d671a8e8525d35a66c2a3646c493528d7116b5f7c70db0041807a9a960e9adf1cfdfd4bc93813d0fa33bfd421d4a680192a0
languageName: node
linkType: hard
@@ -3718,12 +3635,12 @@ __metadata:
languageName: node
linkType: hard
-"use-sync-external-store@npm:^1.6.0":
- version: 1.6.0
- resolution: "use-sync-external-store@npm:1.6.0"
+"use-sync-external-store@npm:^1.7.0":
+ version: 1.7.0
+ resolution: "use-sync-external-store@npm:1.7.0"
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
- checksum: 10c0/35e1179f872a53227bdf8a827f7911da4c37c0f4091c29b76b1e32473d1670ebe7bcd880b808b7549ba9a5605c233350f800ffab963ee4a4ee346ee983b6019b
+ checksum: 10c0/6bae7cb778ce611131ec830c4e469fbc2872acefc25d2e4cf1c28b8628690689770742a9f2f0642c95134f9c77041fee60f0352f81ca43f96643b0ed01774726
languageName: node
linkType: hard