@osrd-project/ui-charts 0.0.82 → 0.0.83

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,8 +1,8 @@
1
1
  import React from 'react';
2
- import { type ManchetteProps } from './Manchette';
3
2
  import { type SpaceTimeChartProps } from '../../spaceTimeChart';
4
3
  import { type SplitPoint } from '../hooks/useManchetteWithSpaceTimeChart';
5
4
  import type { ChartPath, Waypoint } from '../types';
5
+ import { type ManchetteProps } from './Manchette';
6
6
  export type ManchetteWithSpaceTimeChartProps = {
7
7
  waypoints: Waypoint[];
8
8
  paths: ChartPath[];
@@ -1,5 +1,5 @@
1
- import type { MouseContextType, SpaceTimeChartContextType } from './types';
2
1
  import type { CanvasContextType } from '../../common/types';
2
+ import type { MouseContextType, SpaceTimeChartContextType } from './types';
3
3
  /**
4
4
  * This context exports everything necessary to draw the chart.
5
5
  * It is updated anytime the scales are updated.
@@ -1,5 +1,5 @@
1
- import { MARGINS, type LAYERS_SELECTION } from './const';
2
1
  import type { EtcsLayersDisplay, LayerData, OperationalPoints, Store } from '../types';
2
+ import { MARGINS, type LAYERS_SELECTION } from './const';
3
3
  type SlopesValues = {
4
4
  minGradient: number;
5
5
  maxGradient: number;