diff options
-rw-r--r-- | components/Tweaks/BehaviorPanel.tsx (renamed from components/BehaviorPanel.tsx) | 2 | ||||
-rw-r--r-- | components/Tweaks/CitationsPanel.tsx (renamed from components/CitationsPanel.tsx) | 2 | ||||
-rw-r--r-- | components/Tweaks/ColorMenu.tsx (renamed from components/ColorMenu.tsx) | 0 | ||||
-rw-r--r-- | components/Tweaks/ColorsPanel.tsx (renamed from components/ColorsPanel.tsx) | 2 | ||||
-rw-r--r-- | components/Tweaks/DropDownMenu.tsx (renamed from components/DropDownMenu.tsx) | 0 | ||||
-rw-r--r-- | components/Tweaks/EnableSection.tsx (renamed from components/EnableSection.tsx) | 0 | ||||
-rw-r--r-- | components/Tweaks/FilterPanel.tsx (renamed from components/FilterPanel.tsx) | 2 | ||||
-rw-r--r-- | components/Tweaks/HighlightingPanel.tsx (renamed from components/HighlightingPanel.tsx) | 2 | ||||
-rw-r--r-- | components/Tweaks/InfoTooltip.tsx (renamed from components/InfoTooltip.tsx) | 0 | ||||
-rw-r--r-- | components/Tweaks/LabelsPanel.tsx (renamed from components/LabelsPanel.tsx) | 2 | ||||
-rw-r--r-- | components/Tweaks/NodesNLinksPanel.tsx (renamed from components/NodesNLinksPanel.tsx) | 2 | ||||
-rw-r--r-- | components/Tweaks/PhysicsPanel.tsx (renamed from components/PhysicsPanel.tsx) | 2 | ||||
-rw-r--r-- | components/Tweaks/SliderWithInfo.tsx (renamed from components/SliderWithInfo.tsx) | 2 | ||||
-rw-r--r-- | components/Tweaks/TagColorPanel.tsx (renamed from components/TagColorPanel.tsx) | 2 | ||||
-rw-r--r-- | components/Tweaks/TagPanel.tsx (renamed from components/TagPanel.tsx) | 0 | ||||
-rw-r--r-- | components/Tweaks/VisualsPanel.tsx (renamed from components/VisualsPanel.tsx) | 19 | ||||
-rw-r--r-- | components/Tweaks/index.tsx (renamed from components/tweaks.tsx) | 6 | ||||
-rw-r--r-- | pages/index.tsx | 2 |
18 files changed, 15 insertions, 32 deletions
diff --git a/components/BehaviorPanel.tsx b/components/Tweaks/BehaviorPanel.tsx index 09558af..8edb986 100644 --- a/components/BehaviorPanel.tsx +++ b/components/Tweaks/BehaviorPanel.tsx @@ -12,7 +12,7 @@ import { Text, } from '@chakra-ui/react' import React from 'react' -import { initialBehavior, initialMouse } from './config' +import { initialBehavior, initialMouse } from '../config' import { InfoTooltip } from './InfoTooltip' import { SliderWithInfo } from './SliderWithInfo' diff --git a/components/CitationsPanel.tsx b/components/Tweaks/CitationsPanel.tsx index c34b0df..93e923c 100644 --- a/components/CitationsPanel.tsx +++ b/components/Tweaks/CitationsPanel.tsx @@ -1,7 +1,7 @@ import { Box, StackDivider, VStack } from '@chakra-ui/react' import React from 'react' import { ColorMenu } from './ColorMenu' -import { colorList, initialVisuals } from './config' +import { colorList, initialVisuals } from '../config' import { EnableSection } from './EnableSection' import { SliderWithInfo } from './SliderWithInfo' diff --git a/components/ColorMenu.tsx b/components/Tweaks/ColorMenu.tsx index 1bbf087..1bbf087 100644 --- a/components/ColorMenu.tsx +++ b/components/Tweaks/ColorMenu.tsx diff --git a/components/ColorsPanel.tsx b/components/Tweaks/ColorsPanel.tsx index 6846a93..de0a2b8 100644 --- a/components/ColorsPanel.tsx +++ b/components/Tweaks/ColorsPanel.tsx @@ -18,7 +18,7 @@ import { } from '@chakra-ui/react' import React from 'react' import { ColorMenu } from './ColorMenu' -import { colorList, initialVisuals } from './config' +import { colorList, initialVisuals } from '../config' export interface ColorsPanelProps { visuals: typeof initialVisuals diff --git a/components/DropDownMenu.tsx b/components/Tweaks/DropDownMenu.tsx index fbd854b..fbd854b 100644 --- a/components/DropDownMenu.tsx +++ b/components/Tweaks/DropDownMenu.tsx diff --git a/components/EnableSection.tsx b/components/Tweaks/EnableSection.tsx index b7981b3..b7981b3 100644 --- a/components/EnableSection.tsx +++ b/components/Tweaks/EnableSection.tsx diff --git a/components/FilterPanel.tsx b/components/Tweaks/FilterPanel.tsx index 871c3d6..df1dd81 100644 --- a/components/FilterPanel.tsx +++ b/components/Tweaks/FilterPanel.tsx @@ -20,7 +20,7 @@ import { } from '@chakra-ui/react' import React from 'react' import { TagPanel } from './TagPanel' -import { initialFilter, TagColors } from './config' +import { initialFilter, TagColors } from '../config' import { TagColorPanel } from './TagColorPanel' export interface FilterPanelProps { diff --git a/components/HighlightingPanel.tsx b/components/Tweaks/HighlightingPanel.tsx index b3900e2..6f71268 100644 --- a/components/HighlightingPanel.tsx +++ b/components/Tweaks/HighlightingPanel.tsx @@ -1,6 +1,6 @@ import { Box, Select, StackDivider, VStack } from '@chakra-ui/react' import React from 'react' -import { initialVisuals } from './config' +import { initialVisuals } from '../config' import { EnableSection } from './EnableSection' import { SliderWithInfo } from './SliderWithInfo' diff --git a/components/InfoTooltip.tsx b/components/Tweaks/InfoTooltip.tsx index 02c2fad..02c2fad 100644 --- a/components/InfoTooltip.tsx +++ b/components/Tweaks/InfoTooltip.tsx diff --git a/components/LabelsPanel.tsx b/components/Tweaks/LabelsPanel.tsx index eb7dc34..013409e 100644 --- a/components/LabelsPanel.tsx +++ b/components/Tweaks/LabelsPanel.tsx @@ -15,7 +15,7 @@ import { } from '@chakra-ui/react' import React from 'react' import { ColorMenu } from './ColorMenu' -import { colorList, initialVisuals } from './config' +import { colorList, initialVisuals } from '../config' import { SliderWithInfo } from './SliderWithInfo' export interface LabelsPanelProps { diff --git a/components/NodesNLinksPanel.tsx b/components/Tweaks/NodesNLinksPanel.tsx index f19a3e2..dba927c 100644 --- a/components/NodesNLinksPanel.tsx +++ b/components/Tweaks/NodesNLinksPanel.tsx @@ -1,7 +1,7 @@ import { Box, StackDivider, VStack } from '@chakra-ui/react' import React from 'react' import { ColorMenu } from './ColorMenu' -import { colorList, initialVisuals } from './config' +import { colorList, initialVisuals } from '../config' import { EnableSection } from './EnableSection' import { SliderWithInfo } from './SliderWithInfo' diff --git a/components/PhysicsPanel.tsx b/components/Tweaks/PhysicsPanel.tsx index 1bdfaa0..05fdba8 100644 --- a/components/PhysicsPanel.tsx +++ b/components/Tweaks/PhysicsPanel.tsx @@ -12,7 +12,7 @@ import { VStack, } from '@chakra-ui/react' import React, { useCallback } from 'react' -import { initialPhysics } from './config' +import { initialPhysics } from '../config' import { EnableSection } from './EnableSection' import { SliderWithInfo } from './SliderWithInfo' diff --git a/components/SliderWithInfo.tsx b/components/Tweaks/SliderWithInfo.tsx index d4f0372..f70faae 100644 --- a/components/SliderWithInfo.tsx +++ b/components/Tweaks/SliderWithInfo.tsx @@ -8,7 +8,7 @@ import { Tooltip, } from '@chakra-ui/react' import React, { useContext } from 'react' -import { ThemeContext } from '../util/themecontext' +import { ThemeContext } from '../../util/themecontext' import { InfoTooltip } from './InfoTooltip' export interface SliderWithInfoProps { diff --git a/components/TagColorPanel.tsx b/components/Tweaks/TagColorPanel.tsx index f9a9815..0a595e8 100644 --- a/components/TagColorPanel.tsx +++ b/components/Tweaks/TagColorPanel.tsx @@ -15,7 +15,7 @@ import { } from '@chakra-ui/react' import { CUIAutoComplete } from 'chakra-ui-autocomplete' import React, { useState } from 'react' -import { TagColors } from './config' +import { TagColors } from '../config' export interface TagColorPanelProps { tags: string[] diff --git a/components/TagPanel.tsx b/components/Tweaks/TagPanel.tsx index 545102b..545102b 100644 --- a/components/TagPanel.tsx +++ b/components/Tweaks/TagPanel.tsx diff --git a/components/VisualsPanel.tsx b/components/Tweaks/VisualsPanel.tsx index 1b6fceb..559975d 100644 --- a/components/VisualsPanel.tsx +++ b/components/Tweaks/VisualsPanel.tsx @@ -1,34 +1,17 @@ -import { ArrowRightIcon, ChevronDownIcon } from '@chakra-ui/icons' import { Text, Accordion, AccordionButton, AccordionItem, - Box, Flex, - IconButton, - Menu, - MenuButton, - MenuItemOption, - MenuList, - MenuOptionGroup, - Portal, - Tooltip, VStack, AccordionIcon, AccordionPanel, - MenuItem, - Collapse, - StackDivider, - Button, } from '@chakra-ui/react' import React, { useCallback } from 'react' -import { ColorMenu } from './ColorMenu' -import { EnableSection } from './EnableSection' -import { SliderWithInfo } from './SliderWithInfo' import { HighlightingPanel } from './HighlightingPanel' import { ColorsPanel } from './ColorsPanel' -import { colorList, initialVisuals } from './config' +import { initialVisuals } from '../config' import { NodesNLinksPanel } from './NodesNLinksPanel' import { LabelsPanel } from './LabelsPanel' import { CitationsPanel } from './CitationsPanel' diff --git a/components/tweaks.tsx b/components/Tweaks/index.tsx index a78c7f4..c60e670 100644 --- a/components/tweaks.tsx +++ b/components/Tweaks/index.tsx @@ -22,12 +22,12 @@ import { initialBehavior, TagColors, colorList, -} from './config' +} from '../config' import FilterPanel from './FilterPanel' -import { ThemeContext } from '../util/themecontext' -import { usePersistantState } from '../util/persistant-state' +import { ThemeContext } from '../../util/themecontext' +import { usePersistantState } from '../../util/persistant-state' import { PhysicsPanel } from './PhysicsPanel' import { VisualsPanel } from './VisualsPanel' import { BehaviorPanel } from './BehaviorPanel' diff --git a/pages/index.tsx b/pages/index.tsx index c7f3c42..c7713ed 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -33,7 +33,7 @@ import { TagColors, colorList, } from '../components/config' -import { Tweaks } from '../components/tweaks' +import { Tweaks } from '../components/Tweaks' import { ContextMenu } from '../components/contextmenu' import { ThemeContext, ThemeContextProps } from '../util/themecontext' |