Skip to content

Commit 46cb0fb

Browse files
committed
Move components out of shared and into their own dirs
1 parent 3924629 commit 46cb0fb

File tree

22 files changed

+39
-24
lines changed

22 files changed

+39
-24
lines changed

projects/js-packages/charts/src/components/bar-chart/bar-chart.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ import { GlobalChartsContext } from '../../providers/chart-context/global-charts
2020
import { attachSubComponents } from '../../utils';
2121
import { Legend } from '../legend';
2222
import { useChartLegendItems } from '../legend/use-chart-legend-items';
23-
import { SingleChartContext } from '../shared/single-chart-context';
24-
import { withResponsive } from '../shared/with-responsive';
23+
import { SingleChartContext } from '../single-chart-context';
2524
import { AccessibleTooltip, useKeyboardNavigation } from '../tooltip/accessible-tooltip';
25+
import { withResponsive } from '../with-responsive';
2626
import styles from './bar-chart.module.scss';
2727
import { useBarChartOptions } from './use-bar-chart-options';
2828
import type { BaseChartProps, DataPointDate, SeriesData, Optional } from '../../types';
29-
import type { ResponsiveConfig } from '../shared/with-responsive';
29+
import type { ResponsiveConfig } from '../with-responsive';
3030
import type { RenderTooltipParams } from '@visx/xychart/lib/components/Tooltip';
3131
import type { FC, ReactNode, ComponentType } from 'react';
3232

projects/js-packages/charts/src/components/bar-list-chart/bar-list-chart.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { Text, type TextProps } from '@visx/text';
55
import { useContext, useMemo } from 'react';
66
import { GlobalChartsContext, GlobalChartsProvider } from '../../providers/chart-context';
77
import { BarChart } from '../bar-chart';
8-
import { withResponsive } from '../shared/with-responsive';
8+
import { withResponsive } from '../with-responsive';
99
import type { SeriesData } from '../..';
1010
import type { ScaleOptions } from '../../types';
1111
import type { BarChartProps } from '../bar-chart/bar-chart';
File renamed without changes.
File renamed without changes.
File renamed without changes.

projects/js-packages/charts/src/components/shared/chart-composition/types.ts renamed to projects/js-packages/charts/src/components/chart-composition/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Legend } from '../../legend';
1+
import type { Legend } from '../legend';
22
import type { ComponentType, FC, PropsWithChildren } from 'react';
33

44
/**
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { DefaultGlyph } from './default-glyph';

0 commit comments

Comments
 (0)