diff --git a/src/Components/Bar/Bar.tsx b/src/Components/Bar/Bar.tsx
index c4be70c..04a0b16 100644
--- a/src/Components/Bar/Bar.tsx
+++ b/src/Components/Bar/Bar.tsx
@@ -1,18 +1,31 @@
import * as React from 'react';
-import { ClockIcon, CubeIcon, LinkIcon, EnvelopeIcon } from '@heroicons/react/24/outline';
-import { ClockIcon as ClockIconS, CubeIcon as CubeIconS, LinkIcon as LinkIconS, EnvelopeIcon as EnvolopeIconS } from '@heroicons/react/24/solid';
+import {
+ ClockIcon,
+ CubeIcon,
+ LinkIcon,
+ EnvelopeIcon,
+ Cog8ToothIcon
+} from '@heroicons/react/24/outline';
+import {
+ ClockIcon as ClockIconS,
+ CubeIcon as CubeIconS,
+ LinkIcon as LinkIconS,
+ EnvelopeIcon as EnvolopeIconS,
+ Cog8ToothIcon as Cog8ToothIconS
+} from '@heroicons/react/24/solid';
import { BarIcon } from './BarIcon';
interface IBarProps {
- isSidebarOpen: boolean
+ isComponentsOpen: boolean
isSymbolsOpen: boolean
- isElementsSidebarOpen: boolean
isHistoryOpen: boolean
isMessagesOpen: boolean
- toggleSidebar: () => void
+ isSettingsOpen: boolean
+ toggleComponents: () => void
toggleSymbols: () => void
toggleTimeline: () => void
toggleMessages: () => void
+ toggleSettings: () => void
}
export const BAR_WIDTH = 64; // 4rem
@@ -21,11 +34,11 @@ export function Bar(props: IBarProps): JSX.Element {
return (
props.toggleSidebar()}>
+ onClick={() => props.toggleComponents()}>
{
- props.isSidebarOpen
+ props.isComponentsOpen
?
:
}
@@ -40,6 +53,17 @@ export function Bar(props: IBarProps): JSX.Element {
:
}
+
props.toggleMessages()}>
+ {
+ props.isMessagesOpen
+ ?
+ :
+ }
+
+
props.toggleMessages()}>
+ isActive={props.isSettingsOpen}
+ title='Settings'
+ onClick={() => props.toggleSettings()}>
{
props.isMessagesOpen
- ?
- :
+ ?
+ :
}
diff --git a/src/Components/CheckboxGroupButtons/CheckboxGroupButtons.tsx b/src/Components/CheckboxGroupButtons/CheckboxGroupButtons.tsx
index 40ebffc..2b512d1 100644
--- a/src/Components/CheckboxGroupButtons/CheckboxGroupButtons.tsx
+++ b/src/Components/CheckboxGroupButtons/CheckboxGroupButtons.tsx
@@ -50,7 +50,7 @@ export function CheckboxGroupButtons(props: ICheckboxGroupButtonsProps): JSX.Ele
const newSelectedValues = SetChecked(Number(event.target.value), event.target.checked);
props.onChange(newSelectedValues);
}} />
-