@geops/rvf-mobility-web-component 0.1.12 → 0.1.14

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 (100) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/index.html +1 -1
  3. package/index.js +340 -219
  4. package/input.css +2 -8
  5. package/package.json +18 -16
  6. package/scripts/build.mjs +0 -1
  7. package/scripts/dev.mjs +2 -1
  8. package/src/RouteSchedule/RouteSchedule.tsx +3 -1
  9. package/src/RouteStop/RouteStop.tsx +1 -1
  10. package/src/RvfButton/RvfButton.tsx +6 -3
  11. package/src/RvfCheckbox/RvfCheckbox.tsx +10 -3
  12. package/src/RvfExportMenu/RvfExportMenu.tsx +62 -68
  13. package/src/RvfFloatingMenu/RvfFloatingMenu.tsx +3 -3
  14. package/src/RvfIconButton/RvfIconButton.tsx +5 -2
  15. package/src/RvfInputCopy/RvfInputCopy.tsx +57 -0
  16. package/src/RvfInputCopy/index.tsx +1 -0
  17. package/src/RvfLayerTree/RvfLayerTree.tsx +5 -9
  18. package/src/RvfLayerTree/TreeItem/TreeItem.tsx +39 -9
  19. package/src/RvfLayerTree/layersTreeReducer.ts +1 -0
  20. package/src/RvfLayerTreeButton/RvfLayerTreeButton.tsx +27 -0
  21. package/src/RvfLayerTreeButton/index.tsx +1 -0
  22. package/src/RvfLineNetworkPlanLayer/RvfLineNetworkPlanLayer.tsx +9 -5
  23. package/src/RvfMobilityMap/RvfMobilityMap.tsx +253 -35
  24. package/src/RvfOverlayHeader/RvfOverlayHeader.tsx +40 -0
  25. package/src/RvfOverlayHeader/index.tsx +1 -0
  26. package/src/RvfPermalink/RvfPermalink.tsx +18 -0
  27. package/src/RvfPermalink/index.tsx +1 -0
  28. package/src/RvfPoisLayer/RvfPoisLayer.tsx +6 -0
  29. package/src/RvfRadioButton/RvfRadioButton.tsx +1 -1
  30. package/src/RvfSelect/RvfSelect.tsx +2 -2
  31. package/src/RvfSellingPointsLayer/RvfSellingPointsLayer.tsx +25 -6
  32. package/src/RvfShare/RvfPermalinkButton/RvfPermalinkButton.tsx +61 -0
  33. package/src/RvfShare/RvfPermalinkButton/index.tsx +1 -0
  34. package/src/RvfShare/RvfShare.tsx +40 -0
  35. package/src/RvfShare/index.tsx +1 -0
  36. package/src/RvfShareMenuButton/RvfShareMenuButton.tsx +27 -0
  37. package/src/RvfShareMenuButton/index.tsx +1 -0
  38. package/src/RvfSharedMobilityLayerGroup/RvfSharedMobilityLayerGroup.tsx +137 -51
  39. package/src/RvfSingleClickListener/RvfSingleClickListener.tsx +10 -2
  40. package/src/RvfTarifZonenLayer/RvfTarifZonenLayer.tsx +9 -5
  41. package/src/RvfTopics/RvfTopics.tsx +21 -24
  42. package/src/icons/Automat/Automat.tsx +8 -0
  43. package/src/icons/Automat/index.tsx +1 -0
  44. package/src/icons/Automat/rvf_automat.svg +15 -0
  45. package/src/icons/Bike/Bike.tsx +8 -0
  46. package/src/icons/Bike/index.tsx +1 -0
  47. package/src/icons/Bike/rvf_shared_bike.svg +15 -0
  48. package/src/icons/Car/Car.tsx +8 -0
  49. package/src/icons/Car/index.tsx +1 -0
  50. package/src/icons/Car/rvf_shared_car.svg +16 -0
  51. package/src/icons/CargoBike/CargoBike.tsx +8 -0
  52. package/src/icons/CargoBike/index.tsx +1 -0
  53. package/src/icons/CargoBike/rvf_shared_cargo_bike.svg +16 -0
  54. package/src/icons/Copy/Copy.tsx +25 -0
  55. package/src/icons/Copy/index.tsx +1 -0
  56. package/src/icons/Doc/Doc.tsx +19 -0
  57. package/src/icons/Doc/doc.svg +7 -0
  58. package/src/icons/Doc/index.tsx +1 -0
  59. package/src/icons/Ebike/Ebike.tsx +8 -0
  60. package/src/icons/Ebike/index.tsx +1 -0
  61. package/src/icons/Ebike/rvf_shared_e-bike.svg +15 -0
  62. package/src/icons/Email/Email.tsx +19 -0
  63. package/src/icons/Email/email.svg +7 -0
  64. package/src/icons/Email/index.tsx +1 -0
  65. package/src/icons/FilePdf/FilePdf.tsx +19 -0
  66. package/src/icons/FilePdf/file-pdf.svg +7 -0
  67. package/src/icons/FilePdf/index.tsx +1 -0
  68. package/src/icons/Image/Image.tsx +24 -0
  69. package/src/icons/Image/index.tsx +1 -0
  70. package/src/icons/InPerson/InPerson.tsx +8 -0
  71. package/src/icons/InPerson/index.tsx +1 -0
  72. package/src/icons/InPerson/rvf_persoenlich.svg +17 -0
  73. package/src/icons/Minus/minus-grey.svg +7 -0
  74. package/src/icons/Ride/Ride.tsx +8 -0
  75. package/src/icons/Ride/index.tsx +1 -0
  76. package/src/icons/Ride/rvf_shared_ride.svg +15 -0
  77. package/src/icons/Scooter/Scooter.tsx +8 -0
  78. package/src/icons/Scooter/index.tsx +1 -0
  79. package/src/icons/Scooter/rvf_shared_scooter.svg +15 -0
  80. package/src/icons/Share/Share.tsx +24 -0
  81. package/src/icons/Share/index.tsx +1 -0
  82. package/src/icons/Stack/Stack.tsx +24 -0
  83. package/src/icons/Stack/index.tsx +1 -0
  84. package/src/icons/Video/Video.tsx +8 -0
  85. package/src/icons/Video/index.tsx +1 -0
  86. package/src/icons/Video/rvf_video.svg +19 -0
  87. package/src/icons/rvf_shared_ride_2.svg +12 -0
  88. package/src/utils/constants.ts +2 -0
  89. package/src/utils/createMobiDataBwWfsLayer.ts +28 -20
  90. package/src/utils/createSharedMobilityLayer.ts +44 -33
  91. package/src/utils/exportPdf.ts +11 -0
  92. package/src/utils/getAllLayers.ts +25 -0
  93. package/src/utils/hooks/useRvfContext.tsx +45 -0
  94. package/tailwind.config.mjs +32 -29
  95. package/src/FloatingMenu/FloatingMenu.tsx +0 -42
  96. package/src/FloatingMenu/index.tsx +0 -1
  97. package/src/icons/Bicycle/verkehrstraeger-rad-2px-white.svg +0 -19
  98. package/src/icons/Car/verkehrstraeger-auto-2px-white.svg +0 -14
  99. package/src/icons/CargoBicycle/verkehrstraeger-lastenrad-2px-white.svg +0 -27
  100. package/src/icons/Scooter/scooter.svg +0 -10
package/CHANGELOG.md CHANGED
@@ -2,6 +2,53 @@
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.14](https://github.com/geops/rvf-mobility-web-component/compare/v0.1.13...v0.1.14) (2025-01-10)
6
+
7
+
8
+ ### Features
9
+
10
+ * add hitchhiking point layer ([1959eef](https://github.com/geops/rvf-mobility-web-component/commit/1959eef30c6732408018cdc998b18071452f7111))
11
+ * add legend ([8378f77](https://github.com/geops/rvf-mobility-web-component/commit/8378f7734c3032cceac8b38c609f1bb96abd4cab))
12
+ * add stations layer ([4c9319a](https://github.com/geops/rvf-mobility-web-component/commit/4c9319a5e98c0a861cf65c8751a34b4af1baa619))
13
+ * add toolbar ([#16](https://github.com/geops/rvf-mobility-web-component/issues/16)) ([5b80270](https://github.com/geops/rvf-mobility-web-component/commit/5b80270ca7d427a4f20318fb3aee697021a7fc3c))
14
+ * added middle state for layers group ([#17](https://github.com/geops/rvf-mobility-web-component/issues/17)) ([b50f1b0](https://github.com/geops/rvf-mobility-web-component/commit/b50f1b0a5ccdc62655a779bc727b065c20542702))
15
+ * move share in toolbar ([f5e735a](https://github.com/geops/rvf-mobility-web-component/commit/f5e735a461d5cf05b6a65ca736da12ba706d015a))
16
+ * share component ([#15](https://github.com/geops/rvf-mobility-web-component/issues/15)) ([d26a0a2](https://github.com/geops/rvf-mobility-web-component/commit/d26a0a2f2a278c957ed3d3d08077c9a98653ce3a))
17
+
18
+
19
+ ### Bug Fixes
20
+
21
+ * add stack image ([2365852](https://github.com/geops/rvf-mobility-web-component/commit/2365852241c9f2fa980b45e43fde4852843c4e2c))
22
+ * add video legend ([2e6a33d](https://github.com/geops/rvf-mobility-web-component/commit/2e6a33d79ebba547a187488035eda14eb4601dc7))
23
+ * add video legend ([c7ca2ea](https://github.com/geops/rvf-mobility-web-component/commit/c7ca2ea04ab7209062273c4f144615b0a1998bd7))
24
+ * change layer tree icon ([26bc264](https://github.com/geops/rvf-mobility-web-component/commit/26bc2642cd71b32a8358d44089a43aef58ec3a19))
25
+ * fix filter for lnp layer ([dd1d9d8](https://github.com/geops/rvf-mobility-web-component/commit/dd1d9d89be08b0d54bda880c77d728e9c3a8f2a4))
26
+ * fix free float icons ([97195b2](https://github.com/geops/rvf-mobility-web-component/commit/97195b2d5df35c5eb86b96757929f7d9107a0489))
27
+ * fix infinite render ([1f9f7d5](https://github.com/geops/rvf-mobility-web-component/commit/1f9f7d53cb91a8a454bacd15eb28175bf40c2986))
28
+ * fix infinite render ([36a2929](https://github.com/geops/rvf-mobility-web-component/commit/36a2929f4803ff3bfa139d7a989b9f78b9677af9))
29
+ * fix inifinite rerender ([5fbc464](https://github.com/geops/rvf-mobility-web-component/commit/5fbc4640cb1ee60a448d50d2f468ae907e1573a9))
30
+ * fix zoom range display of pois ([cc44566](https://github.com/geops/rvf-mobility-web-component/commit/cc44566f04b6287df5213a73f3dd274223ef0d73))
31
+ * hardcode some css ([f819e86](https://github.com/geops/rvf-mobility-web-component/commit/f819e86863a81a6f6e392e309cc91536fe62c244))
32
+ * hardcode some css ([0408e29](https://github.com/geops/rvf-mobility-web-component/commit/0408e2903985ea0e6286dfcaf1c1ae7788ead331))
33
+ * make tarifzone queryable ([bb0d23a](https://github.com/geops/rvf-mobility-web-component/commit/bb0d23a583b7e8d6855411497650bacafef852f7))
34
+
35
+ ### [0.1.13](https://github.com/geops/rvf-mobility-web-component/compare/v0.1.12...v0.1.13) (2025-01-03)
36
+
37
+
38
+ ### Bug Fixes
39
+
40
+ * add all layers in rvf context ([278299d](https://github.com/geops/rvf-mobility-web-component/commit/278299ddd9da17c4debaf93a05b4e2eb9b58ed6a))
41
+ * add border to floating menu ([de2ced1](https://github.com/geops/rvf-mobility-web-component/commit/de2ced11e6a5855d3e149eefb1e8321be0e6e99c))
42
+ * avoid unnecessary rendering ([eda531e](https://github.com/geops/rvf-mobility-web-component/commit/eda531e49cce9967ccf01d5f1bfb1091c9d13645))
43
+ * better group for shred mobility layers ([#13](https://github.com/geops/rvf-mobility-web-component/issues/13)) ([6555df1](https://github.com/geops/rvf-mobility-web-component/commit/6555df1af49acf3176807a6139e4a2a15fa2a775))
44
+ * fix css ([591fc7e](https://github.com/geops/rvf-mobility-web-component/commit/591fc7e4d947ece25c45f5f5e2ca873a0415241b))
45
+ * fix some css ([c6c0189](https://github.com/geops/rvf-mobility-web-component/commit/c6c0189758986c59b5dbb53f39e56009a91c2b8c))
46
+ * hide dynamic data during export ([fa50b3b](https://github.com/geops/rvf-mobility-web-component/commit/fa50b3b423b6a7f1db8b951b52bf149077281377))
47
+ * hide dynamic data during export ([1569d89](https://github.com/geops/rvf-mobility-web-component/commit/1569d89cffd5b6d98ca84684802268c64e8165fb))
48
+ * remove sbb and rvf from copyright ([d84b503](https://github.com/geops/rvf-mobility-web-component/commit/d84b5031953dc37196d63d7f90833f963a4b348a))
49
+ * remove unecessary class ([0eebf5e](https://github.com/geops/rvf-mobility-web-component/commit/0eebf5e4e0ae0c39c0b63a7128648b8400c9f221))
50
+ * use px size everywhere because rem doe sa bad job ([dbcf999](https://github.com/geops/rvf-mobility-web-component/commit/dbcf99949280ce1bd26dd59ff826a580a8671895))
51
+
5
52
  ### [0.1.12](https://github.com/geops/rvf-mobility-web-component/compare/v0.1.11...v0.1.12) (2025-01-03)
6
53
 
7
54
 
package/index.html CHANGED
@@ -79,7 +79,7 @@
79
79
  "search",
80
80
  // "tenant",
81
81
  // "zoom",
82
- // "permalink",
82
+ "permalink",
83
83
  ];
84
84
 
85
85
  const booleanAttrs = [