-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ui-charts: reorganize manchette folder
Signed-off-by: Clara Ni <[email protected]>
- Loading branch information
Showing
25 changed files
with
75 additions
and
100 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 3 additions & 6 deletions
9
...omponents/ManchetteWithSpaceTimeChart.tsx → ...omponents/ManchetteWithSpaceTimeChart.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions
2
.../useManchetteWithSpaceTimeChart/consts.ts → ui-charts/src/manchette/consts.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...hetteWithSpaceTimeChart/hooks/usePaths.ts → ui-charts/src/manchette/hooks/usePaths.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,19 @@ | ||
export { | ||
default as Manchette, | ||
type WaypointMenuData, | ||
type Waypoint, | ||
type ProjectPathTrainResult, | ||
type InteractiveWaypoint, | ||
} from './Manchette'; | ||
|
||
export * from './useManchetteWithSpaceTimeChart'; | ||
import '@osrd-project/ui-core/dist/theme.css'; | ||
import './styles/main.css'; | ||
import './consts'; | ||
|
||
export { default as Manchette, type ManchetteProps } from './components/Manchette'; | ||
export { default as ManchetteWithSpaceTimeChart } from './components/ManchetteWithSpaceTimeChart'; | ||
|
||
export { DEFAULT_ZOOM_MS_PER_PX } from './consts'; | ||
|
||
export { default as useManchetteWithSpaceTimeChart } from './hooks/useManchetteWithSpaceTimeChart'; | ||
|
||
export type { | ||
WaypointMenuData, | ||
Waypoint, | ||
ProjectPathTrainResult, | ||
InteractiveWaypoint, | ||
} from './types'; | ||
|
||
export { timeScaleToZoomValue } from './utils/helpers'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ | |
@import 'manchette.css'; | ||
@import 'waypoint.css'; | ||
@import 'waypoint-list.css'; | ||
@import 'menu.css'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 0 additions & 6 deletions
6
ui-charts/src/manchette/useManchetteWithSpaceTimeChart/index.ts
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
ui-charts/src/manchette/useManchetteWithSpaceTimeChart/styles/main.css
This file was deleted.
Oops, something went wrong.
25 changes: 0 additions & 25 deletions
25
ui-charts/src/manchette/useManchetteWithSpaceTimeChart/styles/manchette.css
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
ui-charts/src/manchette/useManchetteWithSpaceTimeChart/utils/point.ts
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...hSpaceTimeChart/__tests__/helpers.spec.ts → ...manchette/utils/__tests__/helpers.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...useManchetteWithSpaceTimeChart/helpers.ts → ui-charts/src/manchette/utils/helpers.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters