@moderneinc/react-charts 1.2.0-next.73a364 → 1.2.0-next.932db3

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.
Files changed (40) hide show
  1. package/dist/components/chrono-chart/chrono-chart.component.d.ts +10 -0
  2. package/dist/components/chrono-chart/chrono-chart.types.d.ts +114 -0
  3. package/dist/components/chrono-chart/components/category-table.component.d.ts +13 -0
  4. package/dist/components/chrono-chart/components/category-table.types.d.ts +42 -0
  5. package/dist/components/chrono-chart/utils/data-transformer.d.ts +41 -0
  6. package/dist/components/d3-stacked-area-chart/d3-stacked-area-chart.component.d.ts +7 -0
  7. package/dist/components/d3-stacked-area-chart/d3-stacked-area-chart.types.d.ts +89 -0
  8. package/dist/components/d3-stacked-area-chart/hooks/use-d3-stacked-area.hook.d.ts +34 -0
  9. package/dist/components/morph-chart/hooks/shared/computations.d.ts +29 -0
  10. package/dist/components/morph-chart/hooks/shared/types.d.ts +24 -0
  11. package/dist/components/morph-chart/hooks/use-morph-chart.hook.d.ts +85 -0
  12. package/dist/components/morph-chart/index.d.ts +2 -0
  13. package/dist/components/morph-chart/morph-chart.component.d.ts +14 -0
  14. package/dist/components/morph-chart/morph-chart.types.d.ts +154 -0
  15. package/dist/components/morph-chart/utils/accordion-generator.d.ts +102 -0
  16. package/dist/components/morph-chart/utils/animation-constants.d.ts +23 -0
  17. package/dist/components/morph-chart/utils/animation-utils.d.ts +44 -0
  18. package/dist/components/morph-chart/utils/arc-path-calculator.d.ts +53 -0
  19. package/dist/components/morph-chart/utils/area-renderer.d.ts +24 -0
  20. package/dist/components/morph-chart/utils/bar-renderer.d.ts +19 -0
  21. package/dist/components/morph-chart/utils/gsap-orchestrator.d.ts +291 -0
  22. package/dist/components/morph-chart/utils/morph-interpolator.d.ts +96 -0
  23. package/dist/components/morph-chart/utils/parliament-renderer.d.ts +23 -0
  24. package/dist/components/morph-chart/utils/parliament-seat-extractor.d.ts +33 -0
  25. package/dist/components/morph-chart/utils/position-mapper.d.ts +48 -0
  26. package/dist/components/morph-chart/utils/segment-transformer.d.ts +70 -0
  27. package/dist/components/morph-chart/utils/slinky-3d-generator.d.ts +35 -0
  28. package/dist/components/morph-chart/utils/svg-patterns.d.ts +19 -0
  29. package/dist/components/morph-chart/utils/svg-slinky-generator.d.ts +25 -0
  30. package/dist/components/parliament-chart/hooks/use-parliament-chart.hook.d.ts +5 -1
  31. package/dist/components/parliament-chart/parliament-chart.types.d.ts +5 -0
  32. package/dist/components/parliament-chart/utils/parliament-animation.d.ts +13 -0
  33. package/dist/components/stacked-area-chart/utils/color.utils.d.ts +0 -5
  34. package/dist/components/timeline-chart/timeline-chart.types.d.ts +29 -0
  35. package/dist/index.cjs +109 -71
  36. package/dist/index.d.ts +7 -0
  37. package/dist/index.js +24066 -16304
  38. package/dist/theme/default-colors.d.ts +0 -4
  39. package/dist/theme/timeline-defaults.d.ts +33 -1
  40. package/package.json +29 -9
package/dist/index.d.ts CHANGED
@@ -2,6 +2,13 @@
2
2
  * @moderneinc/react-charts
3
3
  * Chart visualization library for React
4
4
  */
5
+ export { ChronoChart, ChronoChart as ChronoPerspectiveChart } from './components/chrono-chart/chrono-chart.component';
6
+ export type { ChronoCategory, ChronoCategory as ChronoPerspectiveCategory, ChronoChartProps, ChronoChartProps as ChronoPerspectiveChartProps, ChronoData, ChronoData as ChronoPerspectiveData } from './components/chrono-chart/chrono-chart.types';
7
+ export type { CategoryTableItem } from './components/chrono-chart/components/category-table.types';
8
+ export { D3StackedAreaChart } from './components/d3-stacked-area-chart/d3-stacked-area-chart.component';
9
+ export type { D3StackedAreaCategory, D3StackedAreaChartProps, D3StackedAreaDataPoint } from './components/d3-stacked-area-chart/d3-stacked-area-chart.types';
10
+ export { MorphChart } from './components/morph-chart/morph-chart.component';
11
+ export type { AreaLayout, AreaPoint, MorphChartCategory, MorphChartDataPoint, MorphChartProps, MorphMode, ParliamentLayout, SeatPosition } from './components/morph-chart/morph-chart.types';
5
12
  export { ParliamentChart } from './components/parliament-chart/parliament-chart.component';
6
13
  export { CAMPAIGN_DATA_MISSING, CAMPAIGN_NO_LST, CAMPAIGN_NOT_APPLICABLE, DEFAULT_CHART_CONFIG, MODERNE_VULNERABILITY_COLORS } from './components/parliament-chart/parliament-chart.constants';
7
14
  export type { ChartConfig, HoveredData, ParliamentChartProps, ProcessedDataItem } from './components/parliament-chart/parliament-chart.types';