+6
-1
@@ -1,7 +1,12 @@
|
||||
import { Dropdown } from '@/ui/layout/dropdown/components/Dropdown';
|
||||
import { useTheme } from '@emotion/react';
|
||||
import { type Placement } from '@floating-ui/react';
|
||||
import { type FunctionComponent, type MouseEvent, type ReactElement, type ReactNode } from 'react';
|
||||
import {
|
||||
type FunctionComponent,
|
||||
type MouseEvent,
|
||||
type ReactElement,
|
||||
type ReactNode,
|
||||
} from 'react';
|
||||
import {
|
||||
IconChevronRight,
|
||||
type IconComponent,
|
||||
|
||||
-1
@@ -35,7 +35,6 @@ export const MultiWorkspaceDropdownThemesComponents = () => {
|
||||
<MenuItem
|
||||
key={theme.id}
|
||||
LeftIcon={theme.icon}
|
||||
|
||||
text={t`${theme.id}`}
|
||||
onClick={() => setColorScheme(theme.id)}
|
||||
RightIcon={theme.id === colorScheme ? IconCheck : undefined}
|
||||
|
||||
+5
-1
@@ -2,7 +2,11 @@ import { useIsSettingsPage } from '@/navigation/hooks/useIsSettingsPage';
|
||||
import { isNavigationDrawerExpandedState } from '@/ui/navigation/states/isNavigationDrawerExpanded';
|
||||
import { useTheme } from '@emotion/react';
|
||||
import styled from '@emotion/styled';
|
||||
import { type AnimationControls, motion, type TargetAndTransition } from 'framer-motion';
|
||||
import {
|
||||
type AnimationControls,
|
||||
motion,
|
||||
type TargetAndTransition,
|
||||
} from 'framer-motion';
|
||||
import { useRecoilValue } from 'recoil';
|
||||
|
||||
const StyledAnimatedContainer = styled(motion.span)`
|
||||
|
||||
+4
-1
@@ -22,7 +22,10 @@ import {
|
||||
TooltipPosition,
|
||||
} from 'twenty-ui/display';
|
||||
import { MOBILE_VIEWPORT } from 'twenty-ui/theme';
|
||||
import { type TriggerEventType, useMouseDownNavigation } from 'twenty-ui/utilities';
|
||||
import {
|
||||
type TriggerEventType,
|
||||
useMouseDownNavigation,
|
||||
} from 'twenty-ui/utilities';
|
||||
|
||||
const DEFAULT_INDENTATION_LEVEL = 1;
|
||||
|
||||
|
||||
+5
-1
@@ -2,7 +2,11 @@ import { useIsSettingsPage } from '@/navigation/hooks/useIsSettingsPage';
|
||||
import { isNavigationDrawerExpandedState } from '@/ui/navigation/states/isNavigationDrawerExpanded';
|
||||
import { useTheme } from '@emotion/react';
|
||||
import styled from '@emotion/styled';
|
||||
import { type AnimationControls, motion, type TargetAndTransition } from 'framer-motion';
|
||||
import {
|
||||
type AnimationControls,
|
||||
motion,
|
||||
type TargetAndTransition,
|
||||
} from 'framer-motion';
|
||||
import { type ReactNode } from 'react';
|
||||
import { useRecoilValue } from 'recoil';
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { expect , within } from '@storybook/test';
|
||||
import { expect, within } from '@storybook/test';
|
||||
import { type Meta, type StoryObj } from '@storybook/react';
|
||||
import { useEffect } from 'react';
|
||||
import { useSetRecoilState } from 'recoil';
|
||||
|
||||
Reference in New Issue
Block a user