feat: adjust navigation drawer design (#4242)
Closes #3969, Closes #4240
This commit is contained in:
@ -9,11 +9,11 @@ import {
|
|||||||
IconApps,
|
IconApps,
|
||||||
IconAt,
|
IconAt,
|
||||||
IconCalendarEvent,
|
IconCalendarEvent,
|
||||||
|
IconCode,
|
||||||
IconColorSwatch,
|
IconColorSwatch,
|
||||||
IconDoorEnter,
|
IconDoorEnter,
|
||||||
IconHierarchy2,
|
IconHierarchy2,
|
||||||
IconMail,
|
IconMail,
|
||||||
IconRobot,
|
|
||||||
IconSettings,
|
IconSettings,
|
||||||
IconUserCircle,
|
IconUserCircle,
|
||||||
IconUsers,
|
IconUsers,
|
||||||
@ -98,7 +98,7 @@ export const SettingsNavigationDrawerItems = () => {
|
|||||||
<SettingsNavigationDrawerItem
|
<SettingsNavigationDrawerItem
|
||||||
label="Developers"
|
label="Developers"
|
||||||
path={SettingsPath.Developers}
|
path={SettingsPath.Developers}
|
||||||
Icon={IconRobot}
|
Icon={IconCode}
|
||||||
/>
|
/>
|
||||||
<SettingsNavigationDrawerItem
|
<SettingsNavigationDrawerItem
|
||||||
label="Integrations"
|
label="Integrations"
|
||||||
|
|||||||
@ -36,6 +36,7 @@ export {
|
|||||||
IconChevronUp,
|
IconChevronUp,
|
||||||
IconCircleDot,
|
IconCircleDot,
|
||||||
IconClick,
|
IconClick,
|
||||||
|
IconCode,
|
||||||
IconCoins,
|
IconCoins,
|
||||||
IconColorSwatch,
|
IconColorSwatch,
|
||||||
IconMessageCircle as IconComment,
|
IconMessageCircle as IconComment,
|
||||||
@ -80,7 +81,6 @@ export {
|
|||||||
IconList,
|
IconList,
|
||||||
IconListNumbers,
|
IconListNumbers,
|
||||||
IconLock,
|
IconLock,
|
||||||
IconLogout,
|
|
||||||
IconMail,
|
IconMail,
|
||||||
IconMailCog,
|
IconMailCog,
|
||||||
IconMap,
|
IconMap,
|
||||||
@ -103,7 +103,6 @@ export {
|
|||||||
IconRelationOneToMany,
|
IconRelationOneToMany,
|
||||||
IconRelationOneToOne,
|
IconRelationOneToOne,
|
||||||
IconRepeat,
|
IconRepeat,
|
||||||
IconRobot,
|
|
||||||
IconSearch,
|
IconSearch,
|
||||||
IconSend,
|
IconSend,
|
||||||
IconSettings,
|
IconSettings,
|
||||||
|
|||||||
@ -77,7 +77,7 @@ const StyledItem = styled.div<StyledItemProps>`
|
|||||||
`;
|
`;
|
||||||
|
|
||||||
const StyledItemLabel = styled.div`
|
const StyledItemLabel = styled.div`
|
||||||
font-size: ${({ theme }) => theme.font.size.md};
|
font-weight: ${({ theme }) => theme.font.weight.medium};
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
|||||||
@ -10,7 +10,7 @@ import {
|
|||||||
IconCalendarEvent,
|
IconCalendarEvent,
|
||||||
IconCheckbox,
|
IconCheckbox,
|
||||||
IconColorSwatch,
|
IconColorSwatch,
|
||||||
IconLogout,
|
IconDoorEnter,
|
||||||
IconMail,
|
IconMail,
|
||||||
IconSearch,
|
IconSearch,
|
||||||
IconSettings,
|
IconSettings,
|
||||||
@ -139,7 +139,7 @@ export const Submenu: Story = {
|
|||||||
|
|
||||||
<NavigationDrawerSection>
|
<NavigationDrawerSection>
|
||||||
<NavigationDrawerSectionTitle label="Other" />
|
<NavigationDrawerSectionTitle label="Other" />
|
||||||
<NavigationDrawerItem label="Logout" Icon={IconLogout} />
|
<NavigationDrawerItem label="Logout" Icon={IconDoorEnter} />
|
||||||
</NavigationDrawerSection>
|
</NavigationDrawerSection>
|
||||||
</>
|
</>
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user