@geops/rvf-mobility-web-component 0.1.28 → 0.1.30

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 (30) hide show
  1. package/.vscode/settings.json +2 -0
  2. package/CHANGELOG.md +15 -0
  3. package/docutils.js +1 -1
  4. package/index.html +1 -1
  5. package/index.js +119 -107
  6. package/package.json +1 -1
  7. package/src/NotificationLayer/NotificationLayer.tsx +2 -2
  8. package/src/RouteIcon/RouteIcon.tsx +21 -12
  9. package/src/RvfExportMenu/RvfExportMenu.tsx +2 -0
  10. package/src/RvfFeatureDetails/RVFSellingPointDetails/RVFSellingPointDetails.tsx +47 -0
  11. package/src/RvfFeatureDetails/RVFSellingPointDetails/index.js +1 -0
  12. package/src/RvfFeatureDetails/RvfFeatureDetails.tsx +4 -1
  13. package/src/RvfLineNetworkPlanLayer/RvfLineNetworkPlanLayer.tsx +4 -1
  14. package/src/RvfMobilityMap/RvfMobilityMap.tsx +54 -11
  15. package/src/RvfSelectedFeatureHighlightLayer/RvfSelectedFeatureHighlightLayer.tsx +58 -32
  16. package/src/RvfSharedMobilityLayerGroup/RvfSharedMobilityLayerGroup.tsx +364 -123
  17. package/src/StationsLayer/StationsLayer.tsx +1 -1
  18. package/src/icons/NoRealtime/NoRealtime.tsx +44 -0
  19. package/src/icons/NoRealtime/index.tsx +1 -0
  20. package/src/icons/NoRealtime/norealtime.svg +6 -0
  21. package/src/utils/constants.ts +22 -1
  22. package/src/utils/exportPdf.ts +3 -3
  23. package/src/utils/fullTrajectoryStyle.ts +0 -1
  24. package/src/utils/getMainColorForVehicle.test.ts +21 -23
  25. package/src/utils/getRadius.ts +25 -24
  26. package/src/utils/hooks/useUpdatePermalink.tsx +5 -0
  27. package/src/utils/realtimeRVFStyle.ts +70 -8
  28. package/src/utils/sharingWFSUtils.ts +46 -16
  29. package/src/RvfSharedMobilityLayerGroup2/RvfSharedMobilityLayerGroup2.tsx +0 -740
  30. package/src/RvfSharedMobilityLayerGroup2/index.tsx +0 -1
@@ -0,0 +1,2 @@
1
+ {
2
+ }
package/CHANGELOG.md CHANGED
@@ -2,6 +2,21 @@
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.30](https://github.com/geops/rvf-mobility-web-component/compare/v0.1.29...v0.1.30) (2025-02-18)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * us eprod ([eb15a7a](https://github.com/geops/rvf-mobility-web-component/commit/eb15a7a32672d4f97199d200c74af357c20a3ab2))
11
+
12
+ ### [0.1.29](https://github.com/geops/rvf-mobility-web-component/compare/v0.1.28...v0.1.29) (2025-02-18)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * fix fullscreen mode ([e6ab0f6](https://github.com/geops/rvf-mobility-web-component/commit/e6ab0f6102f3e24587b81dea957ac3d4f9ad0552))
18
+ * more mobility layers and highlight ([#24](https://github.com/geops/rvf-mobility-web-component/issues/24)) ([fbe8cf1](https://github.com/geops/rvf-mobility-web-component/commit/fbe8cf18323b87bf978a50b801727fa23e39ce1d))
19
+
5
20
  ### [0.1.28](https://github.com/geops/rvf-mobility-web-component/compare/v0.1.27...v0.1.28) (2025-02-11)
6
21
 
7
22
 
package/docutils.js CHANGED
@@ -7,8 +7,8 @@ function applyPermalinkParameters(wc) {
7
7
  if (params.get("fullscreen") === "true") {
8
8
  wc.parentElement.removeChild(wc);
9
9
  wc.className = "absolute w-full h-full inset-0";
10
+ document.body.className = "absolute w-full h-full inset-0 p-0";
10
11
  document.body.appendChild(wc);
11
- document.body.style = "padding:0;";
12
12
  } else {
13
13
  const doc = document.querySelectorAll("#doc");
14
14
  doc.forEach((d) => {
package/index.html CHANGED
@@ -32,7 +32,7 @@
32
32
  </head>
33
33
  <body class="p-8">
34
34
  <!-- tailwind hack to add class used in docutils -->
35
- <div class="border px-4 py-2 table-auto w-full flex gap-4 p-2 bg-black text-white hover:bg-gray-700 pt-2" style="display:none;"></div>
35
+ <div class="border px-4 py-2 table-auto w-full flex gap-4 p-2 bg-black text-white hover:bg-gray-700 pt-2 absolute w-full h-full inset-0 p-0" style="display:none;"></div>
36
36
  <div class="pt-2" style="display:none;"></div>
37
37
  <div id="doc" style="display: none" class="mx-auto max-w-3xl space-y-4">
38
38
  <h1 class="flex gap-4"><img src="./Logo.svg">Mobility Web Component</h1>