@geops/rvf-mobility-web-component 0.1.83 → 0.1.85
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/CHANGELOG.md +40 -0
- package/index.js +206 -187
- package/package.json +2 -2
- package/src/Departure/Departure.tsx +6 -3
- package/src/FeatureDetails/FeatureDetails.tsx +4 -4
- package/src/FeaturesInfosListener/FeaturesInfosListener.tsx +22 -0
- package/src/LayerTreeMenu/LayerTreeMenu.tsx +12 -4
- package/src/LayoutState/LayoutState.tsx +144 -63
- package/src/LinesNetworkPlanDetails/LinesNetworkPlanDetails.tsx +2 -2
- package/src/LinesNetworkPlanLayerHighlight/LinesNetworkPlanLayerHighlight.tsx +2 -40
- package/src/MapLayout/MapLayout.tsx +2 -7
- package/src/MobilityMap/MobilityMap.tsx +1 -6
- package/src/MobilityMap/MobilityMapAttributes.ts +28 -7
- package/src/NotificationDetails/NotificationDetails.tsx +21 -22
- package/src/NotificationsLayer/NotificationsLayer.tsx +47 -3
- package/src/OverlayDetails/OverlayDetails.tsx +5 -0
- package/src/RealtimeLayer/RealtimeLayer.tsx +44 -50
- package/src/RouteIcon/RouteIcon.tsx +25 -14
- package/src/RouteSchedule/RouteSchedule.tsx +14 -11
- package/src/RouteScheduleFooter/RouteScheduleFooter.tsx +6 -3
- package/src/RouteScheduleHeader/RouteScheduleHeader.tsx +8 -2
- package/src/RouteStop/RouteStop.tsx +14 -29
- package/src/RouteStopPlatform/RouteStopPlatform.tsx +1 -3
- package/src/RouteStopProgress/RouteStopProgress.tsx +11 -18
- package/src/RouteStopStation/RouteStopStation.tsx +3 -3
- package/src/RvfRealtimeLayer/RvfRealtimeLayer.tsx +16 -3
- package/src/RvfSearch/RvfSearch.tsx +5 -4
- package/src/Search/Search.tsx +41 -20
- package/src/Search/SearchBase.tsx +169 -0
- package/src/Search/SearchHeadless.tsx +79 -0
- package/src/Search/index.tsx +2 -0
- package/src/SearchLinesResult/SearchLinesResult.tsx +43 -0
- package/src/SearchLinesResult/index.tsx +1 -0
- package/src/SearchLinesResults/SearchLinesResults.tsx +106 -0
- package/src/SearchLinesResults/index.tsx +1 -0
- package/src/SearchLnpStopsResult/SearchLnpStopsResult.tsx +42 -0
- package/src/SearchLnpStopsResult/index.tsx +1 -0
- package/src/SearchLnpStopsResults/SearchLnpStopsResults.tsx +106 -0
- package/src/SearchLnpStopsResults/index.tsx +1 -0
- package/src/SearchResult/SearchResult.tsx +25 -0
- package/src/SearchResult/index.tsx +1 -0
- package/src/SearchResults/SearchResults.tsx +81 -0
- package/src/SearchResults/index.tsx +1 -0
- package/src/SearchResultsHeader/SearchResultsHeader.tsx +36 -0
- package/src/SearchResultsHeader/index.tsx +1 -0
- package/src/SearchStopsResult/SearchStopsResult.tsx +43 -0
- package/src/SearchStopsResult/index.tsx +1 -0
- package/src/SearchStopsResults/SearchStopsResults.tsx +101 -0
- package/src/SearchStopsResults/index.tsx +1 -0
- package/src/SearchTrainsResult/SearchTrainsResult.tsx +42 -0
- package/src/SearchTrainsResult/index.tsx +1 -0
- package/src/SearchTrainsResults/SearchTrainsResults.tsx +109 -0
- package/src/SearchTrainsResults/index.tsx +1 -0
- package/src/SingleClickListener/SingleClickListener.tsx +38 -2
- package/src/Station/Station.tsx +23 -48
- package/src/StationHeader/StationHeader.tsx +3 -3
- package/src/StationsLayer/StationsLayer.tsx +9 -1
- package/src/StopsSearch/StopsSearch.tsx +2 -2
- package/src/ui/InputSearch/InputSearch.tsx +105 -0
- package/src/ui/InputSearch/index.tsx +1 -0
- package/src/utils/centerOnVehicle.ts +9 -2
- package/src/utils/constants.ts +8 -1
- package/src/utils/fullTrajectoryStyle.ts +4 -7
- package/src/utils/getBgColor.ts +4 -2
- package/src/utils/getDelayColorForVehicle.test.ts +21 -11
- package/src/utils/getDelayColorForVehicle.ts +7 -5
- package/src/utils/getDelayTextForVehicle.test.ts +12 -12
- package/src/utils/getDelayTextForVehicle.ts +4 -0
- package/src/utils/getMainColorForVehicle.ts +11 -4
- package/src/utils/getRadius.ts +9 -3
- package/src/utils/getTextColor.ts +1 -1
- package/src/utils/getTextColorForVehicle.ts +31 -0
- package/src/utils/getTextFontForVehicle.test.ts +1 -1
- package/src/utils/getTextFontForVehicle.tsx +11 -3
- package/src/utils/getTextForVehicle.ts +7 -1
- package/src/utils/hooks/useFit.tsx +69 -0
- package/src/utils/hooks/useFitOnFeatures.tsx +77 -0
- package/src/utils/hooks/useLayersConfig.tsx +3 -0
- package/src/utils/hooks/useLnp.tsx +39 -5
- package/src/utils/hooks/useMapContext.tsx +2 -5
- package/src/utils/hooks/useRealtimeDepartures.tsx +45 -0
- package/src/utils/hooks/useRealtimeRenderedTrajectory.tsx +42 -0
- package/src/utils/hooks/useRealtimeStation.tsx +39 -0
- package/src/utils/hooks/useRealtimeStopSequences.tsx +43 -0
- package/src/utils/hooks/useRealtimeTrainsByRouteIdentifier.tsx +71 -0
- package/src/utils/hooks/useRouteStop.tsx +7 -1
- package/src/utils/hooks/useSearchLines.tsx +34 -0
- package/src/utils/hooks/useSearchLnpStops.tsx +38 -0
- package/src/utils/hooks/useSearchStops.tsx +85 -0
- package/src/utils/hooks/useSearchTrains.tsx +83 -0
- package/src/utils/realtimeRVFStyle.ts +38 -30
- package/src/utils/translations.ts +17 -0
- package/tash +58 -0
- package/src/utils/centerOnStation.ts +0 -18
- package/src/utils/getDelayFontForVehicle.test.ts +0 -7
- package/src/utils/getDelayFontForVehicle.tsx +0 -8
- package/src/utils/hooks/useStation.tsx +0 -22
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,46 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [0.1.85](https://github.com/geops/rvf-mobility-web-component/compare/v0.1.84...v0.1.85) (2025-11-13)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* fix text color ([071acef](https://github.com/geops/rvf-mobility-web-component/commit/071acef529fee2158511fb9f35e4ec2c2a6e2cf8))
|
|
11
|
+
|
|
12
|
+
### [0.1.84](https://github.com/geops/rvf-mobility-web-component/compare/v0.1.83...v0.1.84) (2025-11-13)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* add lineid, notificationid, trainid and stationid attributes and reactor search to allow multiple search types ([#30](https://github.com/geops/rvf-mobility-web-component/issues/30)) ([8c2c864](https://github.com/geops/rvf-mobility-web-component/commit/8c2c864026923b30c0febaabcfc0493e06e86425))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* add lnp stop search and zoom on station ([1866ba7](https://github.com/geops/rvf-mobility-web-component/commit/1866ba7f98374e455831df9c1334d23ea0f3886d))
|
|
23
|
+
* add trains search ([0830923](https://github.com/geops/rvf-mobility-web-component/commit/0830923a4429aafe62509566fdcafe293faf5620))
|
|
24
|
+
* allow to follow the vehicle when it is not renderer at the beginning ([a7b067c](https://github.com/geops/rvf-mobility-web-component/commit/a7b067c630eb43cce602da1acf6d60e3754b69f4))
|
|
25
|
+
* btter fle css ([f08f34b](https://github.com/geops/rvf-mobility-web-component/commit/f08f34bdb9a6d0bca4df8b1aec0620cad722bd54))
|
|
26
|
+
* fix display of selected query ([cfcca47](https://github.com/geops/rvf-mobility-web-component/commit/cfcca4706e206df6a426ca73b01bd55ae55a11ce))
|
|
27
|
+
* fix folowing a vehicle ([ff535c3](https://github.com/geops/rvf-mobility-web-component/commit/ff535c31b5d8b951bb77536f241d7f32c627cfb2))
|
|
28
|
+
* fix search of stops via custom code ([a40f144](https://github.com/geops/rvf-mobility-web-component/commit/a40f1442b26607086ab5ec2cde88b734c6e400ad))
|
|
29
|
+
* fix zoom on stop ([af6ea23](https://github.com/geops/rvf-mobility-web-component/commit/af6ea23004c1bbb3d237d1c59040a885a3b41dc4))
|
|
30
|
+
* improve search css ([79f5216](https://github.com/geops/rvf-mobility-web-component/commit/79f5216d9bd9b012df2b03b22e88b740c664425e))
|
|
31
|
+
* improve search css ([35dd6f4](https://github.com/geops/rvf-mobility-web-component/commit/35dd6f402780417ad3837ce26863b238b018fd53))
|
|
32
|
+
* improve search css ([d77c887](https://github.com/geops/rvf-mobility-web-component/commit/d77c88784bdc30cb65acea77782533a868f1e3b2))
|
|
33
|
+
* load train from url ([1256c6a](https://github.com/geops/rvf-mobility-web-component/commit/1256c6a0e7f4e71fa7a6abbe67833e701bbd4805))
|
|
34
|
+
* load train from url ([e29c440](https://github.com/geops/rvf-mobility-web-component/commit/e29c440183b1878b65461f3d18fdbf77c1fb9bdd))
|
|
35
|
+
* make sure coordi is not replaced ([a02abe0](https://github.com/geops/rvf-mobility-web-component/commit/a02abe0750f4ff6bbd7fb4a4521dc9430c0842b9))
|
|
36
|
+
* merge upstream ([#36](https://github.com/geops/rvf-mobility-web-component/issues/36)) ([557c907](https://github.com/geops/rvf-mobility-web-component/commit/557c9078131c9f4fa8a88e913b0dcba0ce8f7d51)), closes [#30](https://github.com/geops/rvf-mobility-web-component/issues/30)
|
|
37
|
+
* rename search classes and separate logic von classNames ([2e1c667](https://github.com/geops/rvf-mobility-web-component/commit/2e1c667b6831cb0bf40555114f9894637672fc82))
|
|
38
|
+
* rename search classes and separate logic von classNames ([584aeb8](https://github.com/geops/rvf-mobility-web-component/commit/584aeb8e74d978f952edc894f6e94e7c9b05fe19))
|
|
39
|
+
* set some attributes to private ([d134737](https://github.com/geops/rvf-mobility-web-component/commit/d134737bcb40169136e4b57aa43102bc234ff722))
|
|
40
|
+
* use tenant by default ([332edfa](https://github.com/geops/rvf-mobility-web-component/commit/332edfa91a5ca919ef491707a4f3bfcaa55ab114))
|
|
41
|
+
* use tenant by default ([2fa3860](https://github.com/geops/rvf-mobility-web-component/commit/2fa3860241974a0bd0d9065e7ef1cf6969475a17))
|
|
42
|
+
* zoom on line and stations ([1f05d67](https://github.com/geops/rvf-mobility-web-component/commit/1f05d675f94fd43d8fe9eec6f999d98273b336ea))
|
|
43
|
+
* zoom on line and stations ([2630f64](https://github.com/geops/rvf-mobility-web-component/commit/2630f64fe9825f8cf7d7e23f7aa1e3324fdc31a2))
|
|
44
|
+
|
|
5
45
|
### [0.1.83](https://github.com/geops/rvf-mobility-web-component/compare/v0.1.82...v0.1.83) (2025-11-06)
|
|
6
46
|
|
|
7
47
|
|