@osrd-project/ui-charts 0.0.68 → 0.0.70
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.
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/manchette/consts.d.ts +1 -0
- package/dist/manchette/hooks/useManchetteWithSpaceTimeChart.d.ts +31 -13
- package/dist/manchette/utils/helpers.d.ts +24 -9
- package/dist/spaceTimeChart/components/Quadrilateral.d.ts +19 -0
- package/dist/spaceTimeChart/components/Tooltip.d.ts +7 -0
- package/dist/spaceTimeChart/components/WorkScheduleLayer.d.ts +6 -1
- package/dist/spaceTimeChart/index.d.ts +10 -1
- package/dist/spaceTimeChart/lib/consts.d.ts +0 -17
- package/dist/spaceTimeChart/lib/types.d.ts +1 -1
- package/dist/spaceTimeChart/utils/canvas.d.ts +11 -3
- package/dist/speedSpaceChart/components/SpeedSpaceChart.d.ts +1 -1
- package/dist/speedSpaceChart/components/common/DetailsBox.d.ts +1 -1
- package/dist/speedSpaceChart/components/common/InteractionButtons.d.ts +1 -1
- package/dist/speedSpaceChart/components/common/SettingsPanel.d.ts +1 -1
- package/dist/speedSpaceChart/components/const.d.ts +1 -1
- package/dist/speedSpaceChart/components/helpers/drawElements/axisY.d.ts +1 -1
- package/dist/speedSpaceChart/components/helpers/drawElements/curve.d.ts +1 -1
- package/dist/speedSpaceChart/components/helpers/drawElements/declivity.d.ts +1 -1
- package/dist/speedSpaceChart/components/helpers/drawElements/electricalProfile.d.ts +1 -1
- package/dist/speedSpaceChart/components/helpers/drawElements/powerRestrictions.d.ts +1 -1
- package/dist/speedSpaceChart/components/helpers/drawElements/reticle.d.ts +1 -1
- package/dist/speedSpaceChart/components/helpers/drawElements/speedLimitTags.d.ts +1 -1
- package/dist/speedSpaceChart/components/helpers/drawElements/speedLimits.d.ts +1 -1
- package/dist/speedSpaceChart/components/helpers/drawElements/steps.d.ts +1 -1
- package/dist/speedSpaceChart/components/helpers/drawElements/tickX.d.ts +1 -1
- package/dist/speedSpaceChart/components/helpers/drawElements/tickYRight.d.ts +1 -1
- package/dist/speedSpaceChart/components/helpers/frontFrame.d.ts +1 -1
- package/dist/speedSpaceChart/components/helpers/layersManager.d.ts +1 -1
- package/dist/speedSpaceChart/components/hooks.d.ts +1 -1
- package/dist/speedSpaceChart/components/layers/CurveLayer.d.ts +1 -1
- package/dist/speedSpaceChart/components/layers/DeclivityLayer.d.ts +1 -1
- package/dist/speedSpaceChart/components/layers/ElectricalProfileLayer.d.ts +1 -1
- package/dist/speedSpaceChart/components/layers/FrontInteractivityLayer.d.ts +1 -1
- package/dist/speedSpaceChart/components/layers/PowerRestrictionsLayer.d.ts +1 -1
- package/dist/speedSpaceChart/components/layers/ReticleLayer.d.ts +1 -1
- package/dist/speedSpaceChart/components/layers/SpeedLimitTagsLayer.d.ts +1 -1
- package/dist/speedSpaceChart/components/layers/SpeedLimitsLayer.d.ts +1 -1
- package/dist/speedSpaceChart/components/layers/StepsLayer.d.ts +1 -1
- package/dist/speedSpaceChart/components/layers/TickLayerX.d.ts +1 -1
- package/dist/speedSpaceChart/components/layers/TickLayerY.d.ts +1 -1
- package/dist/speedSpaceChart/components/layers/TickLayerYRight.d.ts +1 -1
- package/dist/speedSpaceChart/components/utils.d.ts +8 -2
- package/dist/speedSpaceChart/index.d.ts +2 -1
- package/dist/speedSpaceChart/{types/chartTypes.d.ts → types.d.ts} +5 -4
- package/dist/theme.css +0 -108
- package/dist/theme.css.map +1 -1
- package/package.json +4 -4
- package/dist/spaceTimeChart/stories/additional-data.stories.d.ts +0 -20
- package/dist/spaceTimeChart/stories/base-rendering.stories.d.ts +0 -28
- package/dist/spaceTimeChart/stories/custom-styles.stories.d.ts +0 -24
- package/dist/spaceTimeChart/stories/horizontal-zoom.stories.d.ts +0 -31
- package/dist/spaceTimeChart/stories/layers.stories.d.ts +0 -9
- package/dist/spaceTimeChart/stories/lib/components.d.ts +0 -15
- package/dist/spaceTimeChart/stories/lib/paths.d.ts +0 -16
- package/dist/spaceTimeChart/stories/lib/utils.d.ts +0 -22
- package/dist/spaceTimeChart/stories/measuring.stories.d.ts +0 -20
- package/dist/spaceTimeChart/stories/options.stories.d.ts +0 -27
- package/dist/spaceTimeChart/stories/paths-interactions.stories.d.ts +0 -24
- package/dist/spaceTimeChart/stories/performances.stories.d.ts +0 -25
- package/dist/spaceTimeChart/stories/rectangle-zoom.stories.d.ts +0 -40
- package/dist/spaceTimeChart/stories/scroll-navigation.stories.d.ts +0 -19
- package/dist/spaceTimeChart/stories/split.stories.d.ts +0 -21
- package/dist/spaceTimeChart/stories/stage-interactions.stories.d.ts +0 -25
- package/dist/spaceTimeChart/stories/work-schedules.stories.d.ts +0 -31
- package/dist/spaceTimeChart/types.d.ts +0 -6
- package/dist/speedSpaceChart/stories/SpeedSpaceChart.stories.d.ts +0 -8
- package/dist/speedSpaceChart/stories/assets/const.d.ts +0 -70
- package/dist/speedSpaceChart/stories/assets/path_properties_PMP_LM.d.ts +0 -2
- package/dist/speedSpaceChart/stories/assets/power_restrictions_PMP_LM.d.ts +0 -7
- package/dist/speedSpaceChart/stories/assets/simulation_PMP_LM.d.ts +0 -2
- package/dist/speedSpaceChart/stories/assets/speed_limit_tags_PMP_LM.d.ts +0 -9
- package/dist/speedSpaceChart/stories/utils.d.ts +0 -5
- package/dist/speedSpaceChart/types/simulationTypes.d.ts +0 -47
package/dist/theme.css
CHANGED
|
@@ -3838,12 +3838,6 @@ video {
|
|
|
3838
3838
|
.z-10 {
|
|
3839
3839
|
z-index: 10;
|
|
3840
3840
|
}
|
|
3841
|
-
.m-0 {
|
|
3842
|
-
margin: 0px;
|
|
3843
|
-
}
|
|
3844
|
-
.m-4 {
|
|
3845
|
-
margin: 1rem;
|
|
3846
|
-
}
|
|
3847
3841
|
.mx-2 {
|
|
3848
3842
|
margin-left: 0.5rem;
|
|
3849
3843
|
margin-right: 0.5rem;
|
|
@@ -3878,15 +3872,6 @@ video {
|
|
|
3878
3872
|
.transform {
|
|
3879
3873
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
3880
3874
|
}
|
|
3881
|
-
.cursor-grabbing {
|
|
3882
|
-
cursor: grabbing;
|
|
3883
|
-
}
|
|
3884
|
-
.cursor-pointer {
|
|
3885
|
-
cursor: pointer;
|
|
3886
|
-
}
|
|
3887
|
-
.flex-row {
|
|
3888
|
-
flex-direction: row;
|
|
3889
|
-
}
|
|
3890
3875
|
.flex-col {
|
|
3891
3876
|
flex-direction: column;
|
|
3892
3877
|
}
|
|
@@ -3905,21 +3890,12 @@ video {
|
|
|
3905
3890
|
.justify-end {
|
|
3906
3891
|
justify-content: flex-end;
|
|
3907
3892
|
}
|
|
3908
|
-
.gap-1 {
|
|
3909
|
-
gap: 0.25rem;
|
|
3910
|
-
}
|
|
3911
|
-
.gap-5 {
|
|
3912
|
-
gap: 1.25rem;
|
|
3913
|
-
}
|
|
3914
3893
|
.justify-self-start {
|
|
3915
3894
|
justify-self: start;
|
|
3916
3895
|
}
|
|
3917
3896
|
.justify-self-end {
|
|
3918
3897
|
justify-self: end;
|
|
3919
3898
|
}
|
|
3920
|
-
.overflow-hidden {
|
|
3921
|
-
overflow: hidden;
|
|
3922
|
-
}
|
|
3923
3899
|
.rounded-t-xl {
|
|
3924
3900
|
border-top-left-radius: 0.75rem;
|
|
3925
3901
|
border-top-right-radius: 0.75rem;
|
|
@@ -3956,9 +3932,6 @@ video {
|
|
|
3956
3932
|
background-color: rgba(255, 255, 255, 1);
|
|
3957
3933
|
background-color: rgba(255, 255, 255, var(--tw-bg-opacity, 1));
|
|
3958
3934
|
}
|
|
3959
|
-
.p-0 {
|
|
3960
|
-
padding: 0px;
|
|
3961
|
-
}
|
|
3962
3935
|
.pr-2 {
|
|
3963
3936
|
padding-right: 0.5rem;
|
|
3964
3937
|
}
|
|
@@ -4545,12 +4518,6 @@ video {
|
|
|
4545
4518
|
.z-10 {
|
|
4546
4519
|
z-index: 10;
|
|
4547
4520
|
}
|
|
4548
|
-
.m-0 {
|
|
4549
|
-
margin: 0px;
|
|
4550
|
-
}
|
|
4551
|
-
.m-4 {
|
|
4552
|
-
margin: 1rem;
|
|
4553
|
-
}
|
|
4554
4521
|
.mx-2 {
|
|
4555
4522
|
margin-left: 0.5rem;
|
|
4556
4523
|
margin-right: 0.5rem;
|
|
@@ -4585,15 +4552,6 @@ video {
|
|
|
4585
4552
|
.transform {
|
|
4586
4553
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
4587
4554
|
}
|
|
4588
|
-
.cursor-grabbing {
|
|
4589
|
-
cursor: grabbing;
|
|
4590
|
-
}
|
|
4591
|
-
.cursor-pointer {
|
|
4592
|
-
cursor: pointer;
|
|
4593
|
-
}
|
|
4594
|
-
.flex-row {
|
|
4595
|
-
flex-direction: row;
|
|
4596
|
-
}
|
|
4597
4555
|
.flex-col {
|
|
4598
4556
|
flex-direction: column;
|
|
4599
4557
|
}
|
|
@@ -4612,21 +4570,12 @@ video {
|
|
|
4612
4570
|
.justify-end {
|
|
4613
4571
|
justify-content: flex-end;
|
|
4614
4572
|
}
|
|
4615
|
-
.gap-1 {
|
|
4616
|
-
gap: 0.25rem;
|
|
4617
|
-
}
|
|
4618
|
-
.gap-5 {
|
|
4619
|
-
gap: 1.25rem;
|
|
4620
|
-
}
|
|
4621
4573
|
.justify-self-start {
|
|
4622
4574
|
justify-self: start;
|
|
4623
4575
|
}
|
|
4624
4576
|
.justify-self-end {
|
|
4625
4577
|
justify-self: end;
|
|
4626
4578
|
}
|
|
4627
|
-
.overflow-hidden {
|
|
4628
|
-
overflow: hidden;
|
|
4629
|
-
}
|
|
4630
4579
|
.rounded-t-xl {
|
|
4631
4580
|
border-top-left-radius: 0.75rem;
|
|
4632
4581
|
border-top-right-radius: 0.75rem;
|
|
@@ -4663,9 +4612,6 @@ video {
|
|
|
4663
4612
|
background-color: rgba(255, 255, 255, 1);
|
|
4664
4613
|
background-color: rgba(255, 255, 255, var(--tw-bg-opacity, 1));
|
|
4665
4614
|
}
|
|
4666
|
-
.p-0 {
|
|
4667
|
-
padding: 0px;
|
|
4668
|
-
}
|
|
4669
4615
|
.pr-2 {
|
|
4670
4616
|
padding-right: 0.5rem;
|
|
4671
4617
|
}
|
|
@@ -5441,12 +5387,6 @@ video {
|
|
|
5441
5387
|
.z-10 {
|
|
5442
5388
|
z-index: 10;
|
|
5443
5389
|
}
|
|
5444
|
-
.m-0 {
|
|
5445
|
-
margin: 0px;
|
|
5446
|
-
}
|
|
5447
|
-
.m-4 {
|
|
5448
|
-
margin: 1rem;
|
|
5449
|
-
}
|
|
5450
5390
|
.mx-2 {
|
|
5451
5391
|
margin-left: 0.5rem;
|
|
5452
5392
|
margin-right: 0.5rem;
|
|
@@ -5481,15 +5421,6 @@ video {
|
|
|
5481
5421
|
.transform {
|
|
5482
5422
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
5483
5423
|
}
|
|
5484
|
-
.cursor-grabbing {
|
|
5485
|
-
cursor: grabbing;
|
|
5486
|
-
}
|
|
5487
|
-
.cursor-pointer {
|
|
5488
|
-
cursor: pointer;
|
|
5489
|
-
}
|
|
5490
|
-
.flex-row {
|
|
5491
|
-
flex-direction: row;
|
|
5492
|
-
}
|
|
5493
5424
|
.flex-col {
|
|
5494
5425
|
flex-direction: column;
|
|
5495
5426
|
}
|
|
@@ -5508,21 +5439,12 @@ video {
|
|
|
5508
5439
|
.justify-end {
|
|
5509
5440
|
justify-content: flex-end;
|
|
5510
5441
|
}
|
|
5511
|
-
.gap-1 {
|
|
5512
|
-
gap: 0.25rem;
|
|
5513
|
-
}
|
|
5514
|
-
.gap-5 {
|
|
5515
|
-
gap: 1.25rem;
|
|
5516
|
-
}
|
|
5517
5442
|
.justify-self-start {
|
|
5518
5443
|
justify-self: start;
|
|
5519
5444
|
}
|
|
5520
5445
|
.justify-self-end {
|
|
5521
5446
|
justify-self: end;
|
|
5522
5447
|
}
|
|
5523
|
-
.overflow-hidden {
|
|
5524
|
-
overflow: hidden;
|
|
5525
|
-
}
|
|
5526
5448
|
.rounded-t-xl {
|
|
5527
5449
|
border-top-left-radius: 0.75rem;
|
|
5528
5450
|
border-top-right-radius: 0.75rem;
|
|
@@ -5559,9 +5481,6 @@ video {
|
|
|
5559
5481
|
background-color: rgba(255, 255, 255, 1);
|
|
5560
5482
|
background-color: rgba(255, 255, 255, var(--tw-bg-opacity, 1));
|
|
5561
5483
|
}
|
|
5562
|
-
.p-0 {
|
|
5563
|
-
padding: 0px;
|
|
5564
|
-
}
|
|
5565
5484
|
.pr-2 {
|
|
5566
5485
|
padding-right: 0.5rem;
|
|
5567
5486
|
}
|
|
@@ -6271,12 +6190,6 @@ video {
|
|
|
6271
6190
|
.z-10 {
|
|
6272
6191
|
z-index: 10;
|
|
6273
6192
|
}
|
|
6274
|
-
.m-0 {
|
|
6275
|
-
margin: 0px;
|
|
6276
|
-
}
|
|
6277
|
-
.m-4 {
|
|
6278
|
-
margin: 1rem;
|
|
6279
|
-
}
|
|
6280
6193
|
.mx-2 {
|
|
6281
6194
|
margin-left: 0.5rem;
|
|
6282
6195
|
margin-right: 0.5rem;
|
|
@@ -6311,15 +6224,6 @@ video {
|
|
|
6311
6224
|
.transform {
|
|
6312
6225
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
6313
6226
|
}
|
|
6314
|
-
.cursor-grabbing {
|
|
6315
|
-
cursor: grabbing;
|
|
6316
|
-
}
|
|
6317
|
-
.cursor-pointer {
|
|
6318
|
-
cursor: pointer;
|
|
6319
|
-
}
|
|
6320
|
-
.flex-row {
|
|
6321
|
-
flex-direction: row;
|
|
6322
|
-
}
|
|
6323
6227
|
.flex-col {
|
|
6324
6228
|
flex-direction: column;
|
|
6325
6229
|
}
|
|
@@ -6338,21 +6242,12 @@ video {
|
|
|
6338
6242
|
.justify-end {
|
|
6339
6243
|
justify-content: flex-end;
|
|
6340
6244
|
}
|
|
6341
|
-
.gap-1 {
|
|
6342
|
-
gap: 0.25rem;
|
|
6343
|
-
}
|
|
6344
|
-
.gap-5 {
|
|
6345
|
-
gap: 1.25rem;
|
|
6346
|
-
}
|
|
6347
6245
|
.justify-self-start {
|
|
6348
6246
|
justify-self: start;
|
|
6349
6247
|
}
|
|
6350
6248
|
.justify-self-end {
|
|
6351
6249
|
justify-self: end;
|
|
6352
6250
|
}
|
|
6353
|
-
.overflow-hidden {
|
|
6354
|
-
overflow: hidden;
|
|
6355
|
-
}
|
|
6356
6251
|
.rounded-t-xl {
|
|
6357
6252
|
border-top-left-radius: 0.75rem;
|
|
6358
6253
|
border-top-right-radius: 0.75rem;
|
|
@@ -6389,9 +6284,6 @@ video {
|
|
|
6389
6284
|
background-color: rgba(255, 255, 255, 1);
|
|
6390
6285
|
background-color: rgba(255, 255, 255, var(--tw-bg-opacity, 1));
|
|
6391
6286
|
}
|
|
6392
|
-
.p-0 {
|
|
6393
|
-
padding: 0px;
|
|
6394
|
-
}
|
|
6395
6287
|
.pr-2 {
|
|
6396
6288
|
padding-right: 0.5rem;
|
|
6397
6289
|
}
|