The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Move granola to twenty-ui 2.x (#29110)
Charles Bochet8576a9fbdab4
diff --git a/packages/twenty-apps/public/granola/package.json b/packages/twenty-apps/public/granola/package.jsonindex c49c91a8b52..f0ff925d66b 100644--- a/packages/twenty-apps/public/granola/package.json+++ b/packages/twenty-apps/public/granola/package.json@@ -37,7 +37,7 @@"react-dom": "^19.2.0","twenty-client-sdk": "2.38.0","twenty-sdk": "2.38.0",- "twenty-ui": "^1.0.0-alpha.1",+ "twenty-ui": "^2.51.3","typescript": "^5.9.3","vite-tsconfig-paths": "^4.2.1","vitest": "^4.1.12"diff --git a/packages/twenty-apps/public/granola/src/front-components/components/Checkbox.tsx b/packages/twenty-apps/public/granola/src/front-components/components/Checkbox.tsxindex 636aa24afa2..4cda87c7b44 100644--- a/packages/twenty-apps/public/granola/src/front-components/components/Checkbox.tsx+++ b/packages/twenty-apps/public/granola/src/front-components/components/Checkbox.tsx@@ -1,6 +1,6 @@import styled from '@emotion/styled';import { IconCheck, IconMinus } from 'twenty-ui/icon';-import { themeCssVariables } from 'twenty-ui/theme-constants';+import { themeCssVariables } from 'twenty-ui/theme';// twenty-ui's Checkbox dispatches a PointerEvent the front-component sandbox does not provide.const CHECKBOX_BOX_SIZE_PIXELS = 14;diff --git a/packages/twenty-apps/public/granola/src/front-components/components/GranolaApiKeyForm.tsx b/packages/twenty-apps/public/granola/src/front-components/components/GranolaApiKeyForm.tsxindex 5d2039f3874..3a0bd8bae40 100644--- a/packages/twenty-apps/public/granola/src/front-components/components/GranolaApiKeyForm.tsx+++ b/packages/twenty-apps/public/granola/src/front-components/components/GranolaApiKeyForm.tsx@@ -2,8 +2,8 @@ import styled from '@emotion/styled';import { isNonEmptyString } from '@sniptt/guards';import { useId, useState } from 'react';import { t } from 'twenty-sdk/front-component';-import { Button } from 'twenty-ui/input';-import { themeCssVariables } from 'twenty-ui/theme-constants';+import { Button } from 'twenty-ui/primitives/input';+import { themeCssVariables } from 'twenty-ui/theme';import { LabelledSettingsField } from 'src/front-components/components/LabelledSettingsField';import { StyledSettingsTextInput } from 'src/front-components/components/StyledSettingsTextInput';@@ -58,12 +58,14 @@ export const GranolaApiKeyForm = ({/><Buttontype="submit"- title={t('Connect')}- accent="blue"+ variant="solid"+ color="accent"disabled={isConnectDisabled || !isNonEmptyString(trimmedApiKeyDraft)}- />+ >+ {t('Connect')}+ </Button></StyledKeyRow></LabelledSettingsField></form>diff --git a/packages/twenty-apps/public/granola/src/front-components/components/GranolaConnectionCard.tsx b/packages/twenty-apps/public/granola/src/front-components/components/GranolaConnectionCard.tsxindex 0ac2f4c98b3..a6477edc7aa 100644--- a/packages/twenty-apps/public/granola/src/front-components/components/GranolaConnectionCard.tsx+++ b/packages/twenty-apps/public/granola/src/front-components/components/GranolaConnectionCard.tsx@@ -1,6 +1,6 @@import { t } from 'twenty-sdk/front-component';-import { Status } from 'twenty-ui/data-display';-import { Info } from 'twenty-ui/feedback';+import { Status } from 'twenty-ui/primitives/data-display';+import { InlineBanner } from 'twenty-ui/components/feedback';import { IconKey } from 'twenty-ui/icon';import { type ThemeColor } from 'twenty-ui/theme';@@ -82,46 +82,65 @@ export const GranolaConnectionCard = ({) : (<Statuscolor={STATUS_COLOR_BY_CONNECTION_STATE[connectionState]}- text={getStatusText(connectionState)}- isLoaderVisible={connectionState === 'CONNECTING'}+ loading={connectionState === 'CONNECTING'}weight="medium"- />+ >+ {getStatusText(connectionState)}+ </Status>)}</SettingsOptionCardContent></StyledSettingsCard>{connectionState === 'INVALID_KEY' && (- <Info- accent="danger"- text={t('Granola rejected this API key.')}- buttonTitle={t('Use another key')}- onClick={onReplaceKey}- />+ <InlineBanner+ layout="compact"+ status="error"+ action={+ <InlineBanner.Action onClick={onReplaceKey}>+ {t('Use another key')}+ </InlineBanner.Action>+ }+ >+ {t('Granola rejected this API key.')}+ </InlineBanner>)}{connectionState === 'UNREACHABLE' && (- <Info- accent="danger"- text={t('Could not reach Granola. Try again in a moment.')}- buttonTitle={t('Retry')}- onClick={onRetry}- />+ <InlineBanner+ layout="compact"+ status="error"+ action={+ <InlineBanner.Action onClick={onRetry}>+ {t('Retry')}+ </InlineBanner.Action>+ }+ >+ {t('Could not reach Granola. Try again in a moment.')}+ </InlineBanner>)}{connectionState === 'SETUP_INCOMPLETE' && (- <Info- accent="danger"- text={t('Could not set up live sync with Granola.')}- buttonTitle={t('Retry')}- onClick={onRetry}- />+ <InlineBanner+ layout="compact"+ status="error"+ action={+ <InlineBanner.Action onClick={onRetry}>+ {t('Retry')}+ </InlineBanner.Action>+ }+ >+ {t('Could not set up live sync with Granola.')}+ </InlineBanner>)}{connectionState === 'PAUSED' && (- <Info- accent="blue"- text={t(- 'Live sync is paused in Granola, so new notes are not arriving.',- )}- buttonTitle={t('Resume')}- onClick={onRetry}- />+ <InlineBanner+ layout="compact"+ status="info"+ action={+ <InlineBanner.Action onClick={onRetry}>+ {t('Resume')}+ </InlineBanner.Action>+ }+ >+ {t('Live sync is paused in Granola, so new notes are not arriving.')}+ </InlineBanner>)}</>);diff --git a/packages/twenty-apps/public/granola/src/front-components/components/GranolaConnectionSection.tsx b/packages/twenty-apps/public/granola/src/front-components/components/GranolaConnectionSection.tsxindex 1eba51bb942..fffc9103cfc 100644--- a/packages/twenty-apps/public/granola/src/front-components/components/GranolaConnectionSection.tsx+++ b/packages/twenty-apps/public/granola/src/front-components/components/GranolaConnectionSection.tsx@@ -1,7 +1,6 @@import { type ReactNode } from 'react';import { t } from 'twenty-sdk/front-component';-import { Section } from 'twenty-ui/layout';-import { H2Title } from 'twenty-ui/typography';+import { Section } from 'twenty-ui/components/layout';import { StyledSettingsSectionStack } from 'src/front-components/components/StyledSettingsSectionStack';@@ -12,13 +11,13 @@ type GranolaConnectionSectionProps = {export const GranolaConnectionSection = ({children,}: GranolaConnectionSectionProps) => (- <Section>- <H2Title+ <Section.Root>+ <Section.Headertitle={t('Granola account')}description={t('Requires Granola Business or Enterprise. Create a key in Granola under Settings → Connectors → API keys.',)}/><StyledSettingsSectionStack>{children}</StyledSettingsSectionStack>- </Section>+ </Section.Root>);diff --git a/packages/twenty-apps/public/granola/src/front-components/components/GranolaDangerZoneSection.tsx b/packages/twenty-apps/public/granola/src/front-components/components/GranolaDangerZoneSection.tsxindex 4a31bc14a0b..f703ab4ff0c 100644--- a/packages/twenty-apps/public/granola/src/front-components/components/GranolaDangerZoneSection.tsx+++ b/packages/twenty-apps/public/granola/src/front-components/components/GranolaDangerZoneSection.tsx@@ -1,8 +1,7 @@import { openCommandConfirmationModal, t } from 'twenty-sdk/front-component';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/components/layout';type GranolaDangerZoneSectionProps = {isDisabled: boolean;@@ -31,19 +30,20 @@ export const GranolaDangerZoneSection = ({};return (- <Section>- <H2Title+ <Section.Root>+ <Section.Headertitle={t('Danger zone')}description={t('Remove the API key and stop syncing notes')}/><Button- Icon={IconTrash}- title={t('Disconnect')}- variant="secondary"- accent="danger"+ startIcon={<IconTrash />}+ variant="outline"+ color="danger"disabled={isDisabled}onClick={handleDisconnectClick}- />- </Section>+ >+ {t('Disconnect')}+ </Button>+ </Section.Root>);};diff --git a/packages/twenty-apps/public/granola/src/front-components/components/GranolaFolderEmptyState.tsx b/packages/twenty-apps/public/granola/src/front-components/components/GranolaFolderEmptyState.tsxindex 56fd24ff066..5776edbfc1f 100644--- a/packages/twenty-apps/public/granola/src/front-components/components/GranolaFolderEmptyState.tsx+++ b/packages/twenty-apps/public/granola/src/front-components/components/GranolaFolderEmptyState.tsx@@ -1,8 +1,7 @@import styled from '@emotion/styled';import { t } from 'twenty-sdk/front-component';import { IconFolder } 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 StyledEmptyState = styled.div`align-items: center;@@ -17,7 +16,7 @@ const StyledEmptyState = styled.div`export const GranolaFolderEmptyState = () => (<StyledEmptyState>- <IconFolder size={ICON.size.md} />+ <IconFolder size={THEME_COMMON.icon.size.md} /><div>{t('No folders found for this key')}</div></StyledEmptyState>);diff --git a/packages/twenty-apps/public/granola/src/front-components/components/GranolaFolderPicker.tsx b/packages/twenty-apps/public/granola/src/front-components/components/GranolaFolderPicker.tsxindex 7087da4d8bc..46c3122227e 100644--- a/packages/twenty-apps/public/granola/src/front-components/components/GranolaFolderPicker.tsx+++ b/packages/twenty-apps/public/granola/src/front-components/components/GranolaFolderPicker.tsx@@ -1,7 +1,7 @@import { useState } from 'react';import { enqueueSnackbar, t } from 'twenty-sdk/front-component';import { isDefined } from 'twenty-sdk/utils';-import { Info } from 'twenty-ui/feedback';+import { InlineBanner } from 'twenty-ui/components/feedback';import { GRANOLA_FOLDER_SELECTION_LIMIT } from 'src/constants/granola-api.constant';import { GranolaFolderEmptyState } from 'src/front-components/components/GranolaFolderEmptyState';@@ -190,32 +190,45 @@ export const GranolaFolderPicker = ({onChange={handlePolicyChange}/>{showsFolderListError && (- <Info- accent="danger"- text={t('Could not load your Granola folders.')}- buttonTitle={t('Retry')}- onClick={() => loadFolderList({ isSelectionStale: isLocked })}- />+ <InlineBanner+ layout="compact"+ status="error"+ action={+ <InlineBanner.Action+ onClick={() => loadFolderList({ isSelectionStale: isLocked })}+ >+ {t('Retry')}+ </InlineBanner.Action>+ }+ >+ {t('Could not load your Granola folders.')}+ </InlineBanner>)}{!isLocked && selection.hasInaccessibleSelection && (- <Info- accent="danger"- text={t(+ <InlineBanner layout="compact" status="error">+ {t('The folders you picked are no longer available. Pick folders again, or switch to Everything.',)}- />+ </InlineBanner>)}{!isLocked &&selection.isSelectionPending &&!selection.hasInaccessibleSelection && (- <Info- accent="blue"- text={t(+ <InlineBanner+ layout="compact"+ status="info"+ action={+ <InlineBanner.Action+ onClick={() => save(selection.selectedFolderIds)}+ >+ {t('Retry now')}+ </InlineBanner.Action>+ }+ >+ {t('This selection is not applied in Granola yet. It is retried at the next daily catch-up.',)}- buttonTitle={t('Retry now')}- onClick={() => save(selection.selectedFolderIds)}- />+ </InlineBanner>)}</>);diff --git a/packages/twenty-apps/public/granola/src/front-components/components/GranolaFolderPolicyIcon.tsx b/packages/twenty-apps/public/granola/src/front-components/components/GranolaFolderPolicyIcon.tsxindex 0b3873f5e1f..b85aa85b554 100644--- a/packages/twenty-apps/public/granola/src/front-components/components/GranolaFolderPolicyIcon.tsx+++ b/packages/twenty-apps/public/granola/src/front-components/components/GranolaFolderPolicyIcon.tsx@@ -1,5 +1,5 @@import styled from '@emotion/styled';-import { themeCssVariables } from 'twenty-ui/theme-constants';+import { themeCssVariables } from 'twenty-ui/theme';import { type GranolaFolderPolicy } from 'src/front-components/types/granola-folder-policy.type';diff --git a/packages/twenty-apps/public/granola/src/front-components/components/GranolaFolderSection.tsx b/packages/twenty-apps/public/granola/src/front-components/components/GranolaFolderSection.tsxindex cdaa8a4a6cd..a60ff1fd756 100644--- a/packages/twenty-apps/public/granola/src/front-components/components/GranolaFolderSection.tsx+++ b/packages/twenty-apps/public/granola/src/front-components/components/GranolaFolderSection.tsx@@ -1,9 +1,8 @@import { useState } from 'react';import { t } from 'twenty-sdk/front-component';import { isDefined } from 'twenty-sdk/utils';-import { Info } from 'twenty-ui/feedback';-import { Section } from 'twenty-ui/layout';-import { H2Title } from 'twenty-ui/typography';+import { InlineBanner } from 'twenty-ui/components/feedback';+import { Section } from 'twenty-ui/components/layout';import { GranolaFolderPicker } from 'src/front-components/components/GranolaFolderPicker';import { GranolaFolderPolicyRadioCard } from 'src/front-components/components/GranolaFolderPolicyRadioCard';@@ -36,9 +35,9 @@ export const GranolaFolderSection = () => {};return (- <Section>+ <Section.Root><OnMountEffect onMount={loadStoredSelection} />- <H2Title+ <Section.Headertitle={t('Folders')}description={t('Choose which Granola folders feed live sync and history imports.',@@ -52,14 +51,19 @@ export const GranolaFolderSection = () => {<GranolaFolderPicker {...storedSelectionState.storedSelection} />)}{storedSelectionState.step === 'FAILED' && (- <Info- accent="danger"- text={t('Could not load your Granola folders.')}- buttonTitle={t('Retry')}- onClick={loadStoredSelection}- />+ <InlineBanner+ layout="compact"+ status="error"+ action={+ <InlineBanner.Action onClick={loadStoredSelection}>+ {t('Retry')}+ </InlineBanner.Action>+ }+ >+ {t('Could not load your Granola folders.')}+ </InlineBanner>)}</StyledSettingsSectionStack>- </Section>+ </Section.Root>);};diff --git a/packages/twenty-apps/public/granola/src/front-components/components/GranolaFolderTree.tsx b/packages/twenty-apps/public/granola/src/front-components/components/GranolaFolderTree.tsxindex ea7f63c076d..839c8689eb7 100644--- a/packages/twenty-apps/public/granola/src/front-components/components/GranolaFolderTree.tsx+++ b/packages/twenty-apps/public/granola/src/front-components/components/GranolaFolderTree.tsx@@ -2,8 +2,8 @@ import styled from '@emotion/styled';import { useState } from 'react';import { t } from 'twenty-sdk/front-component';import { isDefined } from 'twenty-sdk/utils';-import { themeCssVariables } from 'twenty-ui/theme-constants';-import { Label } from 'twenty-ui/typography';+import { themeCssVariables } from 'twenty-ui/theme';+import { Text } from 'twenty-ui/primitives/typography';import { Checkbox } from 'src/front-components/components/Checkbox';import { GranolaFolderTreeItem } from 'src/front-components/components/GranolaFolderTreeItem';@@ -110,13 +110,17 @@ export const GranolaFolderTree = ({/></StyledSearchInputContainer><StyledLabelContainer>- <Label>{t('Folders')}</Label>- <Label>+ <Text size="xs" weight="semibold" color="light">+ {t('Folders')}+ </Text>+ <Text size="xs" weight="semibold" color="light">{selectedFolderIds.length}/{selectionLimit}- </Label>+ </Text></StyledLabelContainer><StyledSectionHeader>- <Label>{t('Toggle all folders')}</Label>+ <Text size="xs" weight="semibold" color="light">+ {t('Toggle all folders')}+ </Text><Checkboxchecked={isEveryFolderSelected}indeterminate={!isEveryFolderSelected && selectedFolderIds.length > 0}diff --git a/packages/twenty-apps/public/granola/src/front-components/components/GranolaFolderTreeBreadcrumb.tsx b/packages/twenty-apps/public/granola/src/front-components/components/GranolaFolderTreeBreadcrumb.tsxindex c6f5340575f..58f3f3a32fc 100644--- a/packages/twenty-apps/public/granola/src/front-components/components/GranolaFolderTreeBreadcrumb.tsx+++ b/packages/twenty-apps/public/granola/src/front-components/components/GranolaFolderTreeBreadcrumb.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 GRANOLA_FOLDER_TREE_INDENT_PIXELS = 24;const ROW_HEIGHT_PIXELS = 28;diff --git a/packages/twenty-apps/public/granola/src/front-components/components/GranolaFolderTreeItem.tsx b/packages/twenty-apps/public/granola/src/front-components/components/GranolaFolderTreeItem.tsxindex ed2df3b17bd..7c2c9b840b0 100644--- a/packages/twenty-apps/public/granola/src/front-components/components/GranolaFolderTreeItem.tsx+++ b/packages/twenty-apps/public/granola/src/front-components/components/GranolaFolderTreeItem.tsx@@ -7,8 +7,7 @@ import {IconFolder,IconFolderRoot,} 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';import { Checkbox } from 'src/front-components/components/Checkbox';import {@@ -158,7 +157,10 @@ export const GranolaFolderTreeItem = ({/>)}<StyledFolderContent>- <FolderIcon size={ICON.size.md} stroke={ICON.stroke.sm} />+ <FolderIcon+ size={THEME_COMMON.icon.size.md}+ stroke={THEME_COMMON.icon.stroke.sm}+ /><StyledFolderName $disabled={isUnavailable} title={folder.name}>{folder.name}</StyledFolderName>@@ -179,9 +181,9 @@ export const GranolaFolderTreeItem = ({}}>{isExpanded ? (- <IconChevronUp size={ICON.size.md} />+ <IconChevronUp size={THEME_COMMON.icon.size.md} />) : (- <IconChevronDown size={ICON.size.md} />+ <IconChevronDown size={THEME_COMMON.icon.size.md} />)}</StyledExpandButton></>diff --git a/packages/twenty-apps/public/granola/src/front-components/components/GranolaFolderTreeSkeleton.tsx b/packages/twenty-apps/public/granola/src/front-components/components/GranolaFolderTreeSkeleton.tsxindex 0e005b6b35a..babe12bd6d5 100644--- a/packages/twenty-apps/public/granola/src/front-components/components/GranolaFolderTreeSkeleton.tsx+++ b/packages/twenty-apps/public/granola/src/front-components/components/GranolaFolderTreeSkeleton.tsx@@ -1,6 +1,6 @@import styled from '@emotion/styled';import { t } from 'twenty-sdk/front-component';-import { themeCssVariables } from 'twenty-ui/theme-constants';+import { themeCssVariables } from 'twenty-ui/theme';import { StyledSkeletonBlock } from 'src/front-components/components/StyledSkeletonBlock';diff --git a/packages/twenty-apps/public/granola/src/front-components/components/GranolaImportHistorySection.tsx b/packages/twenty-apps/public/granola/src/front-components/components/GranolaImportHistorySection.tsxindex 92b972b6a53..1c02fb87c4f 100644--- a/packages/twenty-apps/public/granola/src/front-components/components/GranolaImportHistorySection.tsx+++ b/packages/twenty-apps/public/granola/src/front-components/components/GranolaImportHistorySection.tsx@@ -3,10 +3,9 @@ import { useId, useState } from 'react';import { enqueueSnackbar, t } from 'twenty-sdk/front-component';import { isDefined } from 'twenty-sdk/utils';import { IconFileImport } from 'twenty-ui/icon';-import { Button } from 'twenty-ui/input';-import { Section } from 'twenty-ui/layout';-import { themeCssVariables } from 'twenty-ui/theme-constants';-import { H2Title } from 'twenty-ui/typography';+import { Button } from 'twenty-ui/primitives/input';+import { Section } from 'twenty-ui/components/layout';+import { themeCssVariables } from 'twenty-ui/theme';import { GRANOLA_BACKFILL_ROUTE_PATH } from 'src/constants/granola-backfill-route-path';import {@@ -74,8 +73,8 @@ export const GranolaImportHistorySection = () => {};return (- <Section>- <H2Title+ <Section.Root>+ <Section.Headertitle={t('Import history')}description={t('Bring older notes from the synced folders into Call Recordings. Recordings you deleted in Twenty stay deleted.',@@ -107,10 +106,11 @@ export const GranolaImportHistorySection = () => {<StyledDaysLabel htmlFor={inputId}>{t('days')}</StyledDaysLabel><Buttontype="submit"- title={t('Import')}- isLoading={isImporting}+ loading={isImporting}disabled={isImporting || !isDefined(days)}- />+ >+ {t('Import')}+ </Button></SettingsOptionCardContent></StyledSettingsCard></form>@@ -122,6 +122,6 @@ export const GranolaImportHistorySection = () => {</StyledSettingsError>)}</StyledSettingsSectionStack>- </Section>+ </Section.Root>);};diff --git a/packages/twenty-apps/public/granola/src/front-components/components/GranolaSettings.tsx b/packages/twenty-apps/public/granola/src/front-components/components/GranolaSettings.tsxindex f5ada619145..ca693bdc050 100644--- a/packages/twenty-apps/public/granola/src/front-components/components/GranolaSettings.tsx+++ b/packages/twenty-apps/public/granola/src/front-components/components/GranolaSettings.tsx@@ -4,13 +4,13 @@ import styled from '@emotion/styled';import { useState } from 'react';import { enqueueSnackbar, t, useColorScheme } from 'twenty-sdk/front-component';import { isDefined } from 'twenty-sdk/utils';-import { Info } from 'twenty-ui/feedback';-import { THEME_DARK, THEME_LIGHT } from 'twenty-ui/theme';+import { InlineBanner } from 'twenty-ui/components/feedback';import {- ThemeContext,+ THEME_DARK,+ THEME_LIGHT,+ ThemeProvider,themeCssVariables,- type ThemeType,-} from 'twenty-ui/theme-constants';+} from 'twenty-ui/theme';import { GRANOLA_WEBHOOK_REGISTRATION_ROUTE_PATH } from 'src/constants/granola-webhook-registration-route-path';import { GRANOLA_WEBHOOK_REMOVAL_ROUTE_PATH } from 'src/constants/granola-webhook-removal-route-path';@@ -197,27 +197,27 @@ export const GranolaSettings = () => {isConnectionExpected ||(isDefined(status) && status.isApiKeySet && !isSettingUpConnection);- // twenty-ui components read icon sizes off ThemeContext, and the context- // default resolves them to var() strings an SVG size attribute cannot use.+ // 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}><StyledContainer><OnMountEffect onMount={loadConnectionStatus} /><GranolaConnectionSection>{state.step === 'unavailable' && (- <Info- accent="danger"- text={t('Could not load Granola settings.')}- buttonTitle={t('Retry')}- onClick={loadConnectionStatus}- />+ <InlineBanner+ layout="compact"+ status="error"+ action={+ <InlineBanner.Action onClick={loadConnectionStatus}>+ {t('Retry')}+ </InlineBanner.Action>+ }+ >+ {t('Could not load Granola settings.')}+ </InlineBanner>)}{state.step !== 'unavailable' && !showsConnectionCard && (<GranolaApiKeyForm@@ -252,6 +252,6 @@ export const GranolaSettings = () => {/>)}</StyledContainer>- </ThemeContext.Provider>+ </ThemeProvider>);};diff --git a/packages/twenty-apps/public/granola/src/front-components/components/LabelledSettingsField.tsx b/packages/twenty-apps/public/granola/src/front-components/components/LabelledSettingsField.tsxindex 474305a0421..6accac38cae 100644--- a/packages/twenty-apps/public/granola/src/front-components/components/LabelledSettingsField.tsx+++ b/packages/twenty-apps/public/granola/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/granola/src/front-components/components/Radio.tsx b/packages/twenty-apps/public/granola/src/front-components/components/Radio.tsxindex 63f807d7134..737fa2a4370 100644--- a/packages/twenty-apps/public/granola/src/front-components/components/Radio.tsx+++ b/packages/twenty-apps/public/granola/src/front-components/components/Radio.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 Radio is a base-ui control whose click handler constructs a// PointerEvent, which the front component sandbox does not provide.diff --git a/packages/twenty-apps/public/granola/src/front-components/components/Separator.tsx b/packages/twenty-apps/public/granola/src/front-components/components/Separator.tsxindex 7f83a37289c..6d404bb3f4c 100644--- a/packages/twenty-apps/public/granola/src/front-components/components/Separator.tsx+++ b/packages/twenty-apps/public/granola/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/granola/src/front-components/components/SettingsCardContentBase.tsx b/packages/twenty-apps/public/granola/src/front-components/components/SettingsCardContentBase.tsxindex 7557b298f14..06480b40ff6 100644--- a/packages/twenty-apps/public/granola/src/front-components/components/SettingsCardContentBase.tsx+++ b/packages/twenty-apps/public/granola/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`align-items: center;diff --git a/packages/twenty-apps/public/granola/src/front-components/components/SettingsControlLoader.tsx b/packages/twenty-apps/public/granola/src/front-components/components/SettingsControlLoader.tsxindex b1b1bcf91c2..22020b0d8d4 100644--- a/packages/twenty-apps/public/granola/src/front-components/components/SettingsControlLoader.tsx+++ b/packages/twenty-apps/public/granola/src/front-components/components/SettingsControlLoader.tsx@@ -1,14 +1,3 @@-import { CircularProgressBar } from 'twenty-ui/feedback';-import { themeCssVariables } from 'twenty-ui/theme-constants';+import { Loader } from 'twenty-ui/primitives/feedback';-const CONTROL_LOADER_SIZE_PIXELS = 16;-const CONTROL_LOADER_BAR_WIDTH_PIXELS = 2;--// TODO @bosiraphael: Replace CircularProgressBar with Loader when upgrading twenty-ui.-export const SettingsControlLoader = () => (- <CircularProgressBar- size={CONTROL_LOADER_SIZE_PIXELS}- barWidth={CONTROL_LOADER_BAR_WIDTH_PIXELS}- barColor={themeCssVariables.font.color.tertiary}- />-);+export const SettingsControlLoader = () => <Loader />;diff --git a/packages/twenty-apps/public/granola/src/front-components/components/SettingsOptionCardContent.tsx b/packages/twenty-apps/public/granola/src/front-components/components/SettingsOptionCardContent.tsxindex 1cd45d9de72..9d535ca858c 100644--- a/packages/twenty-apps/public/granola/src/front-components/components/SettingsOptionCardContent.tsx+++ b/packages/twenty-apps/public/granola/src/front-components/components/SettingsOptionCardContent.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 {StyledSettingsCardContent,diff --git a/packages/twenty-apps/public/granola/src/front-components/components/SettingsOptionIconCustomizer.tsx b/packages/twenty-apps/public/granola/src/front-components/components/SettingsOptionIconCustomizer.tsxindex a1ba17b9101..ec6321f8dc5 100644--- a/packages/twenty-apps/public/granola/src/front-components/components/SettingsOptionIconCustomizer.tsx+++ b/packages/twenty-apps/public/granola/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,9 @@ 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/granola/src/front-components/components/SettingsRadioCard.tsx b/packages/twenty-apps/public/granola/src/front-components/components/SettingsRadioCard.tsxindex 12e2008f93e..9db47d437b3 100644--- a/packages/twenty-apps/public/granola/src/front-components/components/SettingsRadioCard.tsx+++ b/packages/twenty-apps/public/granola/src/front-components/components/SettingsRadioCard.tsx@@ -3,7 +3,7 @@ import styled from '@emotion/styled';import { Fragment, useId } from 'react';import { t } from 'twenty-sdk/front-component';import { isDefined } from 'twenty-sdk/utils';-import { themeCssVariables } from 'twenty-ui/theme-constants';+import { themeCssVariables } from 'twenty-ui/theme';import { Radio } from 'src/front-components/components/Radio';import { Separator } from 'src/front-components/components/Separator';diff --git a/packages/twenty-apps/public/granola/src/front-components/components/StyledSettingsCard.tsx b/packages/twenty-apps/public/granola/src/front-components/components/StyledSettingsCard.tsxindex 99a22a68a13..ed3965bf61b 100644--- a/packages/twenty-apps/public/granola/src/front-components/components/StyledSettingsCard.tsx+++ b/packages/twenty-apps/public/granola/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 owndiff --git a/packages/twenty-apps/public/granola/src/front-components/components/StyledSettingsError.tsx b/packages/twenty-apps/public/granola/src/front-components/components/StyledSettingsError.tsxindex ce57512f6c0..b2ffdf16a79 100644--- a/packages/twenty-apps/public/granola/src/front-components/components/StyledSettingsError.tsx+++ b/packages/twenty-apps/public/granola/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/granola/src/front-components/components/StyledSettingsHint.tsx b/packages/twenty-apps/public/granola/src/front-components/components/StyledSettingsHint.tsxindex 0d767f4c3e1..e8035441416 100644--- a/packages/twenty-apps/public/granola/src/front-components/components/StyledSettingsHint.tsx+++ b/packages/twenty-apps/public/granola/src/front-components/components/StyledSettingsHint.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 StyledSettingsHint = styled.div`color: ${() => themeCssVariables.font.color.tertiary};diff --git a/packages/twenty-apps/public/granola/src/front-components/components/StyledSettingsSectionStack.tsx b/packages/twenty-apps/public/granola/src/front-components/components/StyledSettingsSectionStack.tsxindex 1106c206fd5..31b3f5b717c 100644--- a/packages/twenty-apps/public/granola/src/front-components/components/StyledSettingsSectionStack.tsx+++ b/packages/twenty-apps/public/granola/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/granola/src/front-components/components/StyledSkeletonBlock.tsx b/packages/twenty-apps/public/granola/src/front-components/components/StyledSkeletonBlock.tsxindex 3f43929cdf5..d06742f040e 100644--- a/packages/twenty-apps/public/granola/src/front-components/components/StyledSkeletonBlock.tsx+++ b/packages/twenty-apps/public/granola/src/front-components/components/StyledSkeletonBlock.tsx@@ -1,7 +1,7 @@import { keyframes } from '@emotion/react';import styled from '@emotion/styled';import { isDefined } from 'twenty-sdk/utils';-import { themeCssVariables } from 'twenty-ui/theme-constants';+import { themeCssVariables } from 'twenty-ui/theme';const shimmer = keyframes`100% {diff --git a/packages/twenty-apps/public/granola/src/front-components/utils/get-settings-control-styles.util.ts b/packages/twenty-apps/public/granola/src/front-components/utils/get-settings-control-styles.util.tsindex 7efdcb89ee6..42b78a27b54 100644--- a/packages/twenty-apps/public/granola/src/front-components/utils/get-settings-control-styles.util.ts+++ b/packages/twenty-apps/public/granola/src/front-components/utils/get-settings-control-styles.util.ts@@ -1,8 +1,6 @@-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-// input, and front components cannot reach into twenty-front internals.+// TODO @charlesBochet: Replace with twenty-ui Input and Select once verified in the front component sandbox.export const getSettingsControlStyles = () => `background-color: ${themeCssVariables.background.transparent.light};border: 1px solid ${themeCssVariables.border.color.medium};diff --git a/packages/twenty-apps/public/granola/yarn.lock b/packages/twenty-apps/public/granola/yarn.lockindex ea0e0c51f31..fca95eb002a 100644--- a/packages/twenty-apps/public/granola/yarn.lock+++ b/packages/twenty-apps/public/granola/yarn.lock@@ -81,13 +81,20 @@ __metadata:languageName: nodelinkType: 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.7resolution: "@babel/runtime@npm:7.29.7"checksum: 10c0/ca11572f7146b21e0bde6a9ed4bb6a89eafbee5f0944c7eb54d0d8a2dac962c33638a1d611e14faa71dfbb92b4b5f9236232208568a6b7d5c6f3f39ddb91771elanguageName: nodelinkType: 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.7resolution: "@babel/template@npm:7.29.7"@@ -124,15 +131,15 @@ __metadata:languageName: nodelinkType: 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: truedate-fns:optional: true- checksum: 10c0/05bc69f68431ff30a5fac98d8e75c77af7c27749d10aeac10ab7f26843a0a8b49ca5cff32654aad1a107cb7f44aeb1705c15138c9c7f7ddc19d6321fbb263e4d+ checksum: 10c0/0495ec9026ad2f5f04580865a1b40c2899b2475d77472d3dcb8b688b1a2a949e14493cc50adb4dd7d33970caef7845ef4a0b93184a8299ed78bda7ff7c288847languageName: nodelinkType: 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 || ^19react: ^17 || ^18 || ^19@@ -165,7 +172,7 @@ __metadata:peerDependenciesMeta:"@types/react":optional: true- checksum: 10c0/b523339f350679915550605e59754b5db9806a41a3b390d6f6adad29fedc0caf084c8ad1bad6bb62a463360593382defb7d3ea941a94404ed9db0142fdae5800+ checksum: 10c0/864b572ea60ea557bfdc63ff056026ed585cce4f35e4996c63e86503944befa3d9bc41e8f1da847e1273d8ac0b2f55210eecff936c3cfb1e0ea7ba9bfc5c5b5blanguageName: nodelinkType: hard@@ -537,6 +544,20 @@ __metadata:languageName: nodelinkType: 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.12resolution: "@floating-ui/utils@npm:0.2.12"@@ -1093,28 +1114,6 @@ __metadata:languageName: nodelinkType: 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.0resolution: "@oxc-project/types@npm:0.155.0"@@ -1178,20 +1177,6 @@ __metadata:languageName: nodelinkType: 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.15resolution: "@rolldown/binding-android-arm-eabi@npm:1.2.15"@@ -1351,7 +1336,7 @@ __metadata:react-dom: "npm:^19.2.0"twenty-client-sdk: "npm:2.38.0"twenty-sdk: "npm:2.38.0"- twenty-ui: "npm:^1.0.0-alpha.1"+ twenty-ui: "npm:^2.51.3"typescript: "npm:^5.9.3"vite-tsconfig-paths: "npm:^4.2.1"vitest: "npm:^4.1.12"@@ -1860,13 +1845,6 @@ __metadata:languageName: nodelinkType: 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.3resolution: "csstype@npm:3.2.3"@@ -1874,6 +1852,13 @@ __metadata:languageName: nodelinkType: 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.3resolution: "debug@npm:4.4.3"@@ -2356,13 +2341,6 @@ __metadata:languageName: nodelinkType: 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.3resolution: "iconv-lite@npm:0.7.3"@@ -2508,7 +2486,7 @@ __metadata:languageName: nodelinkType: 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.0resolution: "js-tokens@npm:4.0.0"checksum: 10c0/e248708d377aa058eacf2037b07ded847790e6de892bbad3dac0abba2e759cb9f121b00099a65195616badcb6eca8d14d975cb3e89eb1cfda644756402c8aeed@@ -2672,17 +2650,6 @@ __metadata:languageName: nodelinkType: 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.21resolution: "magic-string@npm:0.30.21"@@ -2692,15 +2659,6 @@ __metadata:languageName: nodelinkType: 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.0resolution: "math-intrinsics@npm:1.1.0"@@ -2815,13 +2773,6 @@ __metadata:languageName: nodelinkType: 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.4resolution: "obug@npm:2.1.4"@@ -2976,17 +2927,6 @@ __metadata:languageName: nodelinkType: 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.0resolution: "proxy-from-env@npm:2.1.0"@@ -2994,6 +2934,24 @@ __metadata:languageName: nodelinkType: 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.2.0":version: 19.2.8resolution: "react-dom@npm:19.2.8"@@ -3005,7 +2963,7 @@ __metadata:languageName: nodelinkType: hard-"react-is@npm:^16.13.1, react-is@npm:^16.7.0":+"react-is@npm:^16.7.0":version: 16.13.1resolution: "react-is@npm:16.13.1"checksum: 10c0/33977da7a5f1a287936a0c85639fec6ca74f4f15ef1e59a6bc20338fc73dc69555381e211f7a3529b8150a1f71e4225525b41b60b52965bda53ce7d47377ada1@@ -3023,44 +2981,6 @@ __metadata:languageName: nodelinkType: 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.2.0":version: 19.2.8resolution: "react@npm:19.2.8"@@ -3075,7 +2995,7 @@ __metadata:languageName: nodelinkType: hard-"reselect@npm:^5.2.0":+"reselect@npm:^5.3.0":version: 5.3.0resolution: "reselect@npm:5.3.0"checksum: 10c0/c79728e4f315152bfb2d82456d35075b705392d9e72c485d7d9b1061bd80af628416216d80f02a42f24dbb24d738aec7fec45806930aaa1d17c32e9875fa1bd6@@ -3224,13 +3144,6 @@ __metadata:languageName: nodelinkType: 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.3":version: 0.35.5resolution: "sharp@npm:0.35.5"@@ -3382,13 +3295,6 @@ __metadata:languageName: nodelinkType: 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.2.0resolution: "std-env@npm:4.2.0"@@ -3462,6 +3368,13 @@ __metadata:languageName: nodelinkType: 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.0resolution: "tagged-tag@npm:1.0.0"@@ -3598,25 +3511,29 @@ __metadata:languageName: nodelinkType: 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.0monaco-editor: ">= 0.25.0 < 1"react: ^19.0.0react-dom: ^19.0.0- checksum: 10c0/213582e582949d6ffe90a7a8ab89a1d4e9dc724d34ed1b80bd7d50e834a8cb8539723556d41b39dc658f76f176bd8490ae0da8a3d6a713e79e6573b732084179+ peerDependenciesMeta:+ "@monaco-editor/react":+ optional: true+ monaco-editor:+ optional: true+ checksum: 10c0/a4c97bb5e29b27b99569d39928f6d671a8e8525d35a66c2a3646c493528d7116b5f7c70db0041807a9a960e9adf1cfdfd4bc93813d0fa33bfd421d4a680192a0languageName: nodelinkType: hard@@ -3684,12 +3601,12 @@ __metadata:languageName: nodelinkType: 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/6bae7cb778ce611131ec830c4e469fbc2872acefc25d2e4cf1c28b8628690689770742a9f2f0642c95134f9c77041fee60f0352f81ca43f96643b0ed01774726languageName: nodelinkType: hard