@moderneinc/react-charts 1.1.0-next.3836ed → 1.1.0-next.6c206b

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import { FunctionComponent } from 'react';
2
- import { ParliamentChartProps } from './parliament-chart.types';
2
+ import { ParliamentChartProps } from './ParliamentChart.types';
3
3
  /**
4
4
  * Renders an interactive parliament-style chart visualization for repository statistics.
5
5
  * Displays repository counts as seats in a semi-circular or arc layout, with scaling
@@ -1,4 +1,4 @@
1
- import { ParliamentChartTheme } from '../../theme/default-colors';
1
+ import { ParliamentChartTheme } from '../../theme/defaultColors';
2
2
  type ParliamentDataSeries = {
3
3
  value: number;
4
4
  label: string;
@@ -1,5 +1,5 @@
1
1
  import { RefObject } from 'react';
2
- import { ChartConfig, HoveredData, ProcessedDataItem } from '../parliament-chart.types';
2
+ import { ChartConfig, HoveredData, ProcessedDataItem } from '../ParliamentChart.types';
3
3
  type UseParliamentChartProps = {
4
4
  containerRef: RefObject<HTMLDivElement>;
5
5
  processedData: ProcessedDataItem[];
package/dist/index.d.ts CHANGED
@@ -2,10 +2,10 @@
2
2
  * @moderneinc/react-charts
3
3
  * Parliament chart visualization library for React
4
4
  */
5
- export { ParliamentChart } from './components/parliament-chart/parliament-chart';
6
- export type { ParliamentChartProps, ProcessedDataItem, HoveredData, ChartConfig } from './components/parliament-chart/parliament-chart.types';
7
- export type { ParliamentChartTheme, ParliamentChartColors } from './theme/default-colors';
8
- export { DEFAULT_CHART_CONFIG, MODERNE_VULNERABILITY_COLORS, CAMPAIGN_NOT_APPLICABLE, CAMPAIGN_NO_LST, CAMPAIGN_DATA_MISSING } from './components/parliament-chart/parliament-chart.constants';
9
- export { calculateOptimalArcAngle, calculateOptimalSeatSize } from './components/parliament-chart/utils/parliament-arc-calculator';
10
- export { calculateDataSeries } from './components/parliament-chart/utils/parliament-chart-data.utils';
11
- export { DEFAULT_CHART_COLORS } from './theme/default-colors';
5
+ export { ParliamentChart } from './components/parliament-chart/ParliamentChart';
6
+ export type { ParliamentChartProps, ProcessedDataItem, HoveredData, ChartConfig } from './components/parliament-chart/ParliamentChart.types';
7
+ export type { ParliamentChartTheme, ParliamentChartColors } from './theme/defaultColors';
8
+ export { DEFAULT_CHART_CONFIG, MODERNE_VULNERABILITY_COLORS, CAMPAIGN_NOT_APPLICABLE, CAMPAIGN_NO_LST, CAMPAIGN_DATA_MISSING } from './components/parliament-chart/ParliamentChart.constants';
9
+ export { calculateOptimalArcAngle, calculateOptimalSeatSize } from './components/parliament-chart/utils/parliamentArcCalculator';
10
+ export { calculateDataSeries } from './components/parliament-chart/utils/parliamentChartData.utils';
11
+ export { DEFAULT_CHART_COLORS } from './theme/defaultColors';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moderneinc/react-charts",
3
- "version": "1.1.0-next.3836ed",
3
+ "version": "1.1.0-next.6c206b",
4
4
  "description": "Parliament chart visualization library for React",
5
5
  "type": "module",
6
6
  "devEngines": {