diff --git a/src/vis/bar/BarDirectionButtons.tsx b/src/vis/bar/BarDirectionButtons.tsx index e2a1fa950..371597b19 100644 --- a/src/vis/bar/BarDirectionButtons.tsx +++ b/src/vis/bar/BarDirectionButtons.tsx @@ -1,4 +1,4 @@ -import { Container, SegmentedControl, Stack, Text } from '@mantine/core'; +import { Input, SegmentedControl } from '@mantine/core'; import * as React from 'react'; import { EBarDirection } from './interfaces'; @@ -9,20 +9,17 @@ interface BarDirectionProps { export function BarDirectionButtons({ callback, currentSelected }: BarDirectionProps) { return ( - - - - Direction - - - - + + + ); } diff --git a/src/vis/correlation/CorrelationVisSidebar.tsx b/src/vis/correlation/CorrelationVisSidebar.tsx index 7151248d2..06f477ab4 100644 --- a/src/vis/correlation/CorrelationVisSidebar.tsx +++ b/src/vis/correlation/CorrelationVisSidebar.tsx @@ -1,6 +1,6 @@ import { faQuestionCircle } from '@fortawesome/free-solid-svg-icons'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; -import { ActionIcon, Group, NumberInput, SegmentedControl, Text, Tooltip } from '@mantine/core'; +import { ActionIcon, Group, Input, NumberInput, SegmentedControl, Text, Tooltip } from '@mantine/core'; import * as d3 from 'd3v7'; import * as React from 'react'; import { ColumnInfo, EScaleType, ICommonVisSideBarProps, VisColumn } from '../interfaces'; @@ -25,24 +25,26 @@ export function CorrelationVisSidebar({ columns={columns} currentSelected={config.numColumnsSelected || []} /> - - Correlation type - - setConfig({ ...config, correlationType: v as ECorrelationType })} - /> - - P-value scale type - - setConfig({ ...config, pScaleType: v as EScaleType })} - /> + + + setConfig({ ...config, correlationType: v as ECorrelationType })} + /> + + + + setConfig({ ...config, pScaleType: v as EScaleType })} + /> + - {divergentColors.map((d) => { - return ; - })} - - ), - value: ENumericalColorScaleType.DIVERGENT, - }, - { - label: ( - - {sequentialColors.map((d) => { - return ; - })} - - ), - value: ENumericalColorScaleType.SEQUENTIAL, - }, - ]} - /> + + + {divergentColors.map((d) => { + return ; + })} + + ), + value: ENumericalColorScaleType.DIVERGENT, + }, + { + label: ( + + {sequentialColors.map((d) => { + return ; + })} + + ), + value: ENumericalColorScaleType.SEQUENTIAL, + }, + ]} + /> + ); } diff --git a/src/vis/violin/ViolinOverlayButtons.tsx b/src/vis/violin/ViolinOverlayButtons.tsx index 0016988fc..adda8b7bd 100644 --- a/src/vis/violin/ViolinOverlayButtons.tsx +++ b/src/vis/violin/ViolinOverlayButtons.tsx @@ -1,4 +1,4 @@ -import { Container, SegmentedControl, Stack, Text } from '@mantine/core'; +import { Input, SegmentedControl } from '@mantine/core'; import * as React from 'react'; import { EViolinOverlay } from './interfaces'; @@ -9,20 +9,17 @@ interface ViolinOverlayProps { export function ViolinOverlayButtons({ callback, currentSelected }: ViolinOverlayProps) { return ( - - - - Overlay - - - - + + + ); }