@rio-cloud/rio-uikit 0.16.2-beta.9 → 0.16.3-beta.1

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 (283) hide show
  1. package/.DS_Store +0 -0
  2. package/AspectRatioPlaceholder.d.ts +5 -0
  3. package/AspectRatioPlaceholder.js +2 -0
  4. package/AspectRatioPlaceholder.ts +5 -0
  5. package/ConfirmationDialog.d.ts +2 -0
  6. package/Dialog.d.ts +2 -0
  7. package/Map.d.ts +2 -1
  8. package/README.md +11 -1
  9. package/ResponsiveColumnStripe.d.ts +5 -0
  10. package/ResponsiveColumnStripe.js +2 -0
  11. package/RuleConnector.d.ts +2 -1
  12. package/RuleContainer.d.ts +3 -2
  13. package/RulesWrapper.d.ts +2 -1
  14. package/SaveDialog.d.ts +2 -0
  15. package/SimpleDialog.d.ts +2 -0
  16. package/SplitDialog.d.ts +2 -0
  17. package/components/activity/Activity.js +6 -4
  18. package/components/animatedNumber/AnimatedNumber.js +6 -4
  19. package/components/applicationHeader/AppMenu.js +6 -3
  20. package/components/applicationHeader/AppMenuDropdown.js +6 -2
  21. package/components/applicationHeader/ApplicationHeader.js +16 -8
  22. package/components/applicationHeader/MobileAppMenu.js +8 -4
  23. package/components/applicationLayout/ApplicationLayout.js +8 -8
  24. package/components/applicationLayout/ApplicationLayoutBody.js +6 -3
  25. package/components/applicationLayout/ApplicationLayoutBodyBanner.js +4 -3
  26. package/components/applicationLayout/ApplicationLayoutBodyBottomBar.js +6 -4
  27. package/components/applicationLayout/ApplicationLayoutBodyNavigation.js +6 -4
  28. package/components/applicationLayout/ApplicationLayoutHeader.js +9 -7
  29. package/components/aspectRatioPlaceholder/AspectRatioPlaceholder.js +25 -0
  30. package/components/assetTree/AssetTree.js +6 -3
  31. package/components/assetTree/TypeCounter.js +6 -4
  32. package/components/dialog/Dialog.js +3 -1
  33. package/components/dialog/MediaDialog.js +5 -1
  34. package/components/dialog/SaveDialog.js +5 -2
  35. package/components/fade/Fade.js +5 -0
  36. package/components/filepicker/FilePicker.js +1 -1
  37. package/components/map/assets/icon_map_settings_bounding_box_active.svg +1 -1
  38. package/components/map/assets/icon_map_settings_bounding_box_inactive.svg +1 -1
  39. package/components/map/assets/icon_map_settings_construction_active.svg +1 -1
  40. package/components/map/assets/icon_map_settings_construction_inactive.svg +1 -1
  41. package/components/map/assets/icon_map_settings_layer_active.svg +1 -1
  42. package/components/map/assets/icon_map_settings_layer_inactive.svg +1 -1
  43. package/components/map/assets/icon_map_settings_maptype_flat_active.svg +1 -1
  44. package/components/map/assets/icon_map_settings_maptype_flat_inactive.svg +1 -1
  45. package/components/map/assets/icon_map_settings_maptype_flat_truck_active.svg +1 -1
  46. package/components/map/assets/icon_map_settings_maptype_flat_truck_inactive.svg +1 -1
  47. package/components/map/assets/icon_map_settings_maptype_night_active.svg +1 -12
  48. package/components/map/assets/icon_map_settings_maptype_night_inactive.svg +1 -12
  49. package/components/map/assets/icon_map_settings_maptype_satelite_active.svg +1 -1
  50. package/components/map/assets/icon_map_settings_maptype_satelite_inactive.svg +1 -1
  51. package/components/map/assets/icon_map_settings_maptype_terrain_active.svg +1 -1
  52. package/components/map/assets/icon_map_settings_maptype_terrain_inactive.svg +1 -1
  53. package/components/map/assets/icon_map_settings_road_restrictions_active.svg +1 -1
  54. package/components/map/assets/icon_map_settings_road_restrictions_inactive.svg +1 -1
  55. package/components/map/assets/icon_map_settings_system_pois_active.svg +1 -1
  56. package/components/map/assets/icon_map_settings_system_pois_inactive.svg +1 -1
  57. package/components/map/assets/icon_map_settings_workshop_pois_active.svg +1 -1
  58. package/components/map/assets/icon_map_settings_workshop_pois_inactive.svg +1 -1
  59. package/components/map/components/Map.js +47 -36
  60. package/components/map/components/features/ContextMenu.js +1 -1
  61. package/components/map/components/features/Route.js +1 -9
  62. package/components/map/components/features/basics/Circle.js +11 -6
  63. package/components/map/components/features/basics/MapLayerGroup.js +8 -5
  64. package/components/map/components/features/basics/Polygon.js +6 -5
  65. package/components/map/components/features/basics/Polyline.js +39 -42
  66. package/components/map/components/features/basics/marker/DomMarker.js +9 -3
  67. package/components/map/components/features/basics/marker/Marker.js +101 -121
  68. package/components/map/components/features/basics/marker/TextMarker.js +15 -43
  69. package/components/map/components/features/layers/Layer.js +1 -1
  70. package/components/map/components/features/layers/MarkerLayer.js +7 -4
  71. package/components/map/components/features/layers/RoadRestrictionLayer.js +1 -2
  72. package/components/map/components/features/layers/TrafficLayer.js +2 -2
  73. package/components/map/components/features/layers/baselayers/DefaultRasterLayer.js +2 -1
  74. package/components/map/components/features/layers/baselayers/useBaseLayer.js +4 -1
  75. package/components/map/components/features/layers/clustering/ClusterLayer.js +25 -9
  76. package/components/map/components/features/settings/builtinSettings/MapTypeSettings.js +18 -3
  77. package/components/map/icons/MapIcon.js +46 -66
  78. package/components/map/utils/hooks.js +3 -3
  79. package/components/mapMarker/ClusterMapMarker.js +16 -20
  80. package/components/mapMarker/SingleMapMarker.js +16 -30
  81. package/components/numberControl/NumberControl.js +13 -7
  82. package/components/numberInput/NumberInput.js +30 -12
  83. package/components/responsiveColumnStripe/ResponsiveColumnStripe.js +255 -0
  84. package/components/rules/RuleContainer.js +4 -0
  85. package/components/rules/RulesWrapper.js +3 -3
  86. package/hooks/useDarkMode.js +3 -2
  87. package/hooks/useMutationObserver.js +13 -4
  88. package/hooks/useScrollPosition.js +6 -7
  89. package/index.d.ts +31 -29
  90. package/index.js +4 -0
  91. package/lib/es/AspectRatioPlaceholder.d.ts +5 -0
  92. package/lib/es/AspectRatioPlaceholder.js +13 -0
  93. package/lib/es/AspectRatioPlaceholder.ts +5 -0
  94. package/lib/es/ConfirmationDialog.d.ts +2 -0
  95. package/lib/es/Dialog.d.ts +2 -0
  96. package/lib/es/Map.d.ts +2 -1
  97. package/lib/es/ResponsiveColumnStripe.d.ts +5 -0
  98. package/lib/es/ResponsiveColumnStripe.js +13 -0
  99. package/lib/es/RuleConnector.d.ts +2 -1
  100. package/lib/es/RuleContainer.d.ts +3 -2
  101. package/lib/es/RulesWrapper.d.ts +2 -1
  102. package/lib/es/SaveDialog.d.ts +2 -0
  103. package/lib/es/SimpleDialog.d.ts +2 -0
  104. package/lib/es/SplitDialog.d.ts +2 -0
  105. package/lib/es/components/activity/Activity.js +9 -4
  106. package/lib/es/components/animatedNumber/AnimatedNumber.js +5 -3
  107. package/lib/es/components/applicationHeader/AppMenu.js +6 -3
  108. package/lib/es/components/applicationHeader/AppMenuDropdown.js +6 -2
  109. package/lib/es/components/applicationHeader/ApplicationHeader.js +15 -7
  110. package/lib/es/components/applicationHeader/MobileAppMenu.js +8 -4
  111. package/lib/es/components/applicationLayout/ApplicationLayout.js +11 -8
  112. package/lib/es/components/applicationLayout/ApplicationLayoutBody.js +5 -2
  113. package/lib/es/components/applicationLayout/ApplicationLayoutBodyBanner.js +7 -3
  114. package/lib/es/components/applicationLayout/ApplicationLayoutBodyBottomBar.js +9 -4
  115. package/lib/es/components/applicationLayout/ApplicationLayoutBodyNavigation.js +9 -4
  116. package/lib/es/components/applicationLayout/ApplicationLayoutHeader.js +12 -7
  117. package/lib/es/components/aspectRatioPlaceholder/AspectRatioPlaceholder.js +33 -0
  118. package/lib/es/components/assetTree/AssetTree.js +5 -2
  119. package/lib/es/components/assetTree/TypeCounter.js +9 -4
  120. package/lib/es/components/dialog/Dialog.js +3 -1
  121. package/lib/es/components/dialog/MediaDialog.js +5 -1
  122. package/lib/es/components/dialog/SaveDialog.js +5 -2
  123. package/lib/es/components/fade/Fade.js +5 -0
  124. package/lib/es/components/filepicker/FilePicker.js +1 -1
  125. package/lib/es/components/map/assets/icon_map_settings_bounding_box_active.svg +1 -1
  126. package/lib/es/components/map/assets/icon_map_settings_bounding_box_inactive.svg +1 -1
  127. package/lib/es/components/map/assets/icon_map_settings_construction_active.svg +1 -1
  128. package/lib/es/components/map/assets/icon_map_settings_construction_inactive.svg +1 -1
  129. package/lib/es/components/map/assets/icon_map_settings_layer_active.svg +1 -1
  130. package/lib/es/components/map/assets/icon_map_settings_layer_inactive.svg +1 -1
  131. package/lib/es/components/map/assets/icon_map_settings_maptype_flat_active.svg +1 -1
  132. package/lib/es/components/map/assets/icon_map_settings_maptype_flat_inactive.svg +1 -1
  133. package/lib/es/components/map/assets/icon_map_settings_maptype_flat_truck_active.svg +1 -1
  134. package/lib/es/components/map/assets/icon_map_settings_maptype_flat_truck_inactive.svg +1 -1
  135. package/lib/es/components/map/assets/icon_map_settings_maptype_night_active.svg +1 -12
  136. package/lib/es/components/map/assets/icon_map_settings_maptype_night_inactive.svg +1 -12
  137. package/lib/es/components/map/assets/icon_map_settings_maptype_satelite_active.svg +1 -1
  138. package/lib/es/components/map/assets/icon_map_settings_maptype_satelite_inactive.svg +1 -1
  139. package/lib/es/components/map/assets/icon_map_settings_maptype_terrain_active.svg +1 -1
  140. package/lib/es/components/map/assets/icon_map_settings_maptype_terrain_inactive.svg +1 -1
  141. package/lib/es/components/map/assets/icon_map_settings_road_restrictions_active.svg +1 -1
  142. package/lib/es/components/map/assets/icon_map_settings_road_restrictions_inactive.svg +1 -1
  143. package/lib/es/components/map/assets/icon_map_settings_system_pois_active.svg +1 -1
  144. package/lib/es/components/map/assets/icon_map_settings_system_pois_inactive.svg +1 -1
  145. package/lib/es/components/map/assets/icon_map_settings_workshop_pois_active.svg +1 -1
  146. package/lib/es/components/map/assets/icon_map_settings_workshop_pois_inactive.svg +1 -1
  147. package/lib/es/components/map/components/Map.js +47 -36
  148. package/lib/es/components/map/components/features/ContextMenu.js +1 -1
  149. package/lib/es/components/map/components/features/Route.js +1 -9
  150. package/lib/es/components/map/components/features/basics/Circle.js +10 -5
  151. package/lib/es/components/map/components/features/basics/MapLayerGroup.js +8 -5
  152. package/lib/es/components/map/components/features/basics/Polygon.js +6 -5
  153. package/lib/es/components/map/components/features/basics/Polyline.js +39 -42
  154. package/lib/es/components/map/components/features/basics/marker/DomMarker.js +8 -3
  155. package/lib/es/components/map/components/features/basics/marker/Marker.js +105 -120
  156. package/lib/es/components/map/components/features/basics/marker/TextMarker.js +15 -42
  157. package/lib/es/components/map/components/features/layers/Layer.js +1 -1
  158. package/lib/es/components/map/components/features/layers/MarkerLayer.js +7 -4
  159. package/lib/es/components/map/components/features/layers/RoadRestrictionLayer.js +1 -2
  160. package/lib/es/components/map/components/features/layers/TrafficLayer.js +2 -2
  161. package/lib/es/components/map/components/features/layers/baselayers/DefaultRasterLayer.js +2 -1
  162. package/lib/es/components/map/components/features/layers/baselayers/useBaseLayer.js +4 -1
  163. package/lib/es/components/map/components/features/layers/clustering/ClusterLayer.js +25 -9
  164. package/lib/es/components/map/components/features/settings/builtinSettings/MapTypeSettings.js +18 -3
  165. package/lib/es/components/map/icons/MapIcon.js +46 -66
  166. package/lib/es/components/map/utils/hooks.js +3 -3
  167. package/lib/es/components/mapMarker/ClusterMapMarker.js +16 -20
  168. package/lib/es/components/mapMarker/SingleMapMarker.js +16 -30
  169. package/lib/es/components/numberControl/NumberControl.js +13 -7
  170. package/lib/es/components/numberInput/NumberInput.js +31 -12
  171. package/lib/es/components/responsiveColumnStripe/ResponsiveColumnStripe.js +266 -0
  172. package/lib/es/components/rules/RuleContainer.js +4 -0
  173. package/lib/es/components/rules/RulesWrapper.js +3 -3
  174. package/lib/es/hooks/useDarkMode.js +4 -3
  175. package/lib/es/hooks/useMutationObserver.js +15 -4
  176. package/lib/es/hooks/useScrollPosition.js +6 -7
  177. package/lib/es/index.d.ts +31 -29
  178. package/lib/es/index.js +24 -0
  179. package/lib/es/styles/components/ApplicationHeader.less +2 -0
  180. package/lib/es/styles/components/Dialog.less +41 -23
  181. package/lib/es/styles/components/MapMarker.less +224 -14
  182. package/lib/es/styles/components/MapSettings.less +45 -29
  183. package/lib/es/styles/components/Notification.less +1 -1
  184. package/lib/es/styles/design/alerts.less +7 -9
  185. package/lib/es/styles/design/aspect-ratio.less +1 -0
  186. package/lib/es/styles/design/blur.less +7 -0
  187. package/lib/es/styles/design/border.less +51 -14
  188. package/lib/es/styles/design/callouts.less +12 -11
  189. package/lib/es/styles/design/colors.less +15 -6
  190. package/lib/es/styles/design/cols.less +19 -18
  191. package/lib/es/styles/design/divide.less +165 -0
  192. package/lib/es/styles/design/divider.less +90 -0
  193. package/lib/es/styles/design/responsive/_imports.less +1 -0
  194. package/lib/es/styles/design/responsive/gap.less +0 -8
  195. package/lib/es/styles/design/responsive/spacing.less +25 -0
  196. package/lib/es/styles/design/text.less +16 -2
  197. package/lib/es/styles/mapping/color-map.less +10 -0
  198. package/lib/es/styles/mapping/spacings-map.less +5 -0
  199. package/lib/es/styles/rio-uikit-core.less +2 -0
  200. package/lib/es/styles/variables/colors.json +6 -0
  201. package/lib/es/styles/variables/concated_css_variables.less +6 -0
  202. package/lib/es/styles/variables/dark_colors.less +7 -0
  203. package/lib/es/styles/variables/dark_css_variables_map.less +7 -0
  204. package/lib/es/styles/variables/light_colors.less +7 -0
  205. package/lib/es/styles/variables/light_css_variables_map.less +7 -0
  206. package/lib/es/themes/Volkswagen/components/applicationHeader/VolkswagenApplicationHeader.js +14 -5
  207. package/lib/es/types.ts +71 -25
  208. package/lib/es/useDarkMode.d.ts +4 -0
  209. package/lib/es/useDarkMode.js +13 -0
  210. package/lib/es/useMutationObserver.d.ts +4 -0
  211. package/lib/es/useMutationObserver.js +13 -0
  212. package/lib/es/version.json +1 -1
  213. package/package.json +1 -1
  214. package/styles/components/ApplicationHeader.less +2 -0
  215. package/styles/components/Dialog.less +41 -23
  216. package/styles/components/MapMarker.less +224 -14
  217. package/styles/components/MapSettings.less +45 -29
  218. package/styles/components/Notification.less +1 -1
  219. package/styles/design/alerts.less +7 -9
  220. package/styles/design/aspect-ratio.less +1 -0
  221. package/styles/design/blur.less +7 -0
  222. package/styles/design/border.less +51 -14
  223. package/styles/design/callouts.less +12 -11
  224. package/styles/design/colors.less +15 -6
  225. package/styles/design/cols.less +19 -18
  226. package/styles/design/divide.less +165 -0
  227. package/styles/design/divider.less +90 -0
  228. package/styles/design/responsive/_imports.less +1 -0
  229. package/styles/design/responsive/gap.less +0 -8
  230. package/styles/design/responsive/spacing.less +25 -0
  231. package/styles/design/text.less +16 -2
  232. package/styles/mapping/color-map.less +10 -0
  233. package/styles/mapping/spacings-map.less +5 -0
  234. package/styles/rio-uikit-core.less +2 -0
  235. package/styles/variables/colors.json +6 -0
  236. package/styles/variables/concated_css_variables.less +6 -0
  237. package/styles/variables/dark_colors.less +7 -0
  238. package/styles/variables/dark_css_variables_map.less +7 -0
  239. package/styles/variables/light_colors.less +7 -0
  240. package/styles/variables/light_css_variables_map.less +7 -0
  241. package/themes/Volkswagen/components/applicationHeader/VolkswagenApplicationHeader.js +15 -6
  242. package/types.ts +71 -25
  243. package/useDarkMode.d.ts +4 -0
  244. package/useDarkMode.js +2 -0
  245. package/useMutationObserver.d.ts +4 -0
  246. package/useMutationObserver.js +2 -0
  247. package/version.json +1 -1
  248. package/components/.DS_Store +0 -0
  249. package/components/map/.DS_Store +0 -0
  250. package/components/map/components/.DS_Store +0 -0
  251. package/components/map/components/features/layers/TruckLayer.js +0 -20
  252. package/components/map/components/features/layers/baselayers/BaseLayer.js +0 -33
  253. package/components/map/components/features/layers/baselayers/DefaultLayer.js +0 -23
  254. package/hooks/useHereMap.ts +0 -23
  255. package/hooks/useScripts.ts +0 -52
  256. package/lib/.DS_Store +0 -0
  257. package/lib/es/.DS_Store +0 -0
  258. package/lib/es/components/.DS_Store +0 -0
  259. package/lib/es/components/map/components/features/layers/TruckLayer.js +0 -28
  260. package/lib/es/components/map/components/features/layers/baselayers/BaseLayer.js +0 -41
  261. package/lib/es/components/map/components/features/layers/baselayers/DefaultLayer.js +0 -30
  262. package/lib/es/hooks/useHereMap.ts +0 -23
  263. package/lib/es/hooks/useScripts.ts +0 -52
  264. package/lib/es/styles/.DS_Store +0 -0
  265. package/lib/es/styles/mixins/_mixins.less +0 -13
  266. package/lib/es/styles/mixins/alerts.less +0 -13
  267. package/lib/es/styles/shared/colors.json +0 -56
  268. package/lib/es/styles/shared/colors.less +0 -73
  269. package/lib/es/styles/shared/screens.less +0 -7
  270. package/lib/es/styles/shared/text.less +0 -23
  271. package/lib/es/styles/variables.less +0 -186
  272. package/lib/es/themes/.DS_Store +0 -0
  273. package/styles/.DS_Store +0 -0
  274. package/styles/mixins/_mixins.less +0 -13
  275. package/styles/mixins/alerts.less +0 -13
  276. package/styles/shared/colors.json +0 -56
  277. package/styles/shared/colors.less +0 -73
  278. package/styles/shared/screens.less +0 -7
  279. package/styles/shared/text.less +0 -23
  280. package/styles/variables.less +0 -186
  281. package/themes/.DS_Store +0 -0
  282. package/themes/Volkswagen/.DS_Store +0 -0
  283. package/themes/Website/.DS_Store +0 -0
package/lib/es/index.js CHANGED
@@ -72,6 +72,7 @@ var _exportNames = {
72
72
  NotBookedState: true,
73
73
  CustomState: true,
74
74
  TimePicker: true,
75
+ ResponsiveColumnStripe: true,
75
76
  SortArrowUp: true,
76
77
  SortArrowDown: true,
77
78
  SortArrows: true,
@@ -95,6 +96,8 @@ var _exportNames = {
95
96
  useClipboard: true,
96
97
  useElementSize: true,
97
98
  useScrollPosition: true,
99
+ useDarkMode: true,
100
+ useMutationObserver: true,
98
101
  hasTouch: true,
99
102
  inIframe: true,
100
103
  isDesktop: true,
@@ -543,6 +546,12 @@ Object.defineProperty(exports, "Resizer", {
543
546
  return _Resizer2["default"];
544
547
  }
545
548
  });
549
+ Object.defineProperty(exports, "ResponsiveColumnStripe", {
550
+ enumerable: true,
551
+ get: function get() {
552
+ return _ResponsiveColumnStripe2["default"];
553
+ }
554
+ });
546
555
  Object.defineProperty(exports, "ResponsiveVideo", {
547
556
  enumerable: true,
548
557
  get: function get() {
@@ -928,6 +937,12 @@ Object.defineProperty(exports, "useClipboard", {
928
937
  return _useClipboard["default"];
929
938
  }
930
939
  });
940
+ Object.defineProperty(exports, "useDarkMode", {
941
+ enumerable: true,
942
+ get: function get() {
943
+ return _useDarkMode["default"];
944
+ }
945
+ });
931
946
  Object.defineProperty(exports, "useEffectOnce", {
932
947
  enumerable: true,
933
948
  get: function get() {
@@ -964,6 +979,12 @@ Object.defineProperty(exports, "useKey", {
964
979
  return _useKey["default"];
965
980
  }
966
981
  });
982
+ Object.defineProperty(exports, "useMutationObserver", {
983
+ enumerable: true,
984
+ get: function get() {
985
+ return _useMutationObserver["default"];
986
+ }
987
+ });
967
988
  Object.defineProperty(exports, "useOnMount", {
968
989
  enumerable: true,
969
990
  get: function get() {
@@ -1067,6 +1088,7 @@ var _ForbiddenState2 = _interopRequireDefault(require("./components/states/Forbi
1067
1088
  var _NotBookedState2 = _interopRequireDefault(require("./components/states/NotBookedState"));
1068
1089
  var _CustomState2 = _interopRequireDefault(require("./components/states/CustomState"));
1069
1090
  var _TimePicker2 = _interopRequireDefault(require("./components/timepicker/TimePicker"));
1091
+ var _ResponsiveColumnStripe2 = _interopRequireDefault(require("./components/responsiveColumnStripe/ResponsiveColumnStripe"));
1070
1092
  var _SortArrows2 = require("./components/table/SortArrows");
1071
1093
  var _SortUtils = require("./utils/SortUtils");
1072
1094
  var _routeUtils = require("./utils/routeUtils");
@@ -1083,6 +1105,8 @@ var _useClickOutside = _interopRequireDefault(require("./hooks/useClickOutside")
1083
1105
  var _useClipboard = _interopRequireDefault(require("./hooks/useClipboard"));
1084
1106
  var _useElementSize = _interopRequireDefault(require("./hooks/useElementSize"));
1085
1107
  var _useScrollPosition = _interopRequireDefault(require("./hooks/useScrollPosition"));
1108
+ var _useDarkMode = _interopRequireDefault(require("./hooks/useDarkMode"));
1109
+ var _useMutationObserver = _interopRequireDefault(require("./hooks/useMutationObserver"));
1086
1110
  var _deviceUtils = require("./utils/deviceUtils");
1087
1111
  var _colorScheme = require("./utils/colorScheme");
1088
1112
  var _GroupSelectionUtil = require("./utils/GroupSelectionUtil");
@@ -456,6 +456,8 @@
456
456
  }
457
457
 
458
458
  .CollapsedDropdown {
459
+ display: block;
460
+
459
461
  > .dropdown-menu {
460
462
  left: auto;
461
463
  right: 0;
@@ -1,6 +1,7 @@
1
1
  @modal-outer-margin: 30px;
2
2
  @modal-inner-padding: 20px;
3
- @modal-title-padding: 15px;
3
+ @modal-title-y-padding: 15px;
4
+ @modal-title-x-padding: 20px;
4
5
  @modal-content-bg: var(--color-white);
5
6
  @modal-content-border-color: var(--gray-light);
6
7
  @modal-backdrop-bg: var(--always-color-black);
@@ -40,6 +41,7 @@ body {
40
41
  top: 0;
41
42
  width: 100% !important;
42
43
  z-index: @zindex-modal;
44
+ backdrop-filter: blur(1px);
43
45
 
44
46
  // When fading in the modal, animate it to slide down
45
47
  &.fade .modal-dialog {
@@ -91,11 +93,6 @@ body {
91
93
  }
92
94
  }
93
95
  }
94
-
95
- // because of overflow :after styling
96
- &:after {
97
- display: none !important;
98
- }
99
96
  }
100
97
 
101
98
  .modal-footer:before {
@@ -138,7 +135,6 @@ body {
138
135
  border-bottom: 1px solid @modal-header-border-color;
139
136
  display: flex;
140
137
  justify-content: space-between;
141
- padding: @modal-title-padding;
142
138
  padding: 0;
143
139
  position: relative;
144
140
  z-index: 1;
@@ -150,15 +146,16 @@ body {
150
146
  float: left;
151
147
  font-weight: @font-light;
152
148
  justify-content: center;
153
- padding: 15px;
149
+ padding: @modal-title-y-padding @modal-title-x-padding;
154
150
  width: calc(~'100% - 60px');
155
151
  word-break: break-word;
156
152
 
157
153
  .modal-header-title {
158
154
  display: flex;
159
- order: 1;
155
+ flex-wrap: wrap;
160
156
  font-size: @font-size-xl - 2;
161
157
  line-height: @font-size-xl - 2;
158
+ order: 1;
162
159
  }
163
160
 
164
161
  .modal-header-subtitle {
@@ -254,16 +251,12 @@ body {
254
251
  width: @modal-xl;
255
252
  }
256
253
 
257
- &.modal-full {
258
- width: calc(~'100vw - @{modal-outer-margin} * 2');
259
- }
260
-
261
- &.modal-fullscreen {
254
+ &.modal-fullscreen, &.modal-full, &.modal-full-width {
262
255
  width: calc(~'100vw - @{modal-outer-margin} * 2');
263
256
  }
264
257
  }
265
258
 
266
- &.modal-fullscreen {
259
+ &.modal-fullscreen, &.modal-full-height {
267
260
  .modal-content {
268
261
  height: calc(~'100vh - (@{modal-outer-margin} * 2)'); // --vh fallback
269
262
  height: calc(~'var(--vh, 1vh) * 100 - (@{modal-outer-margin} * 2)');
@@ -278,6 +271,7 @@ body {
278
271
  .modal-body {
279
272
  flex: 1 1 0; // instead "auto" we 0 for safari
280
273
  position: relative;
274
+ overflow-y: auto;
281
275
 
282
276
  .iframe-wrapper {
283
277
  overflow: hidden;
@@ -306,10 +300,10 @@ body {
306
300
  .modal-body {
307
301
  overflow-y: auto;
308
302
 
309
- &:after {
310
- content: '';
311
- display: block;
312
- height: 30px;
303
+ &.no-overflow-gradient {
304
+ + .modal-footer:before {
305
+ display: none;
306
+ }
313
307
  }
314
308
  }
315
309
 
@@ -420,7 +414,8 @@ body {
420
414
 
421
415
  .modal-lg &,
422
416
  .modal-xl &,
423
- .modal-full & {
417
+ .modal-full &,
418
+ .modal-full-width & {
424
419
  @media (min-width: @splitWrapperBreakpoint) {
425
420
  width: 20%;
426
421
  }
@@ -453,7 +448,8 @@ body {
453
448
 
454
449
  .modal-lg &,
455
450
  .modal-xl &,
456
- .modal-full & {
451
+ .modal-full &,
452
+ .modal-full-width & {
457
453
  @media (min-width: @splitWrapperBreakpoint) {
458
454
  max-width: 80%;
459
455
  }
@@ -461,7 +457,7 @@ body {
461
457
  }
462
458
  }
463
459
 
464
- /* Animation classes for dialogs triggered by "react-transition-group" component */
460
+ // Animation classes for dialogs triggered by "react-transition-group" component
465
461
  .modal-enter {
466
462
  .modal-content {
467
463
  display: block;
@@ -498,4 +494,26 @@ body {
498
494
  .modal-backdrop {
499
495
  opacity: 0;
500
496
  }
501
- }
497
+ }
498
+
499
+ // modal-body atomic vh classes for iframes with unknown height
500
+ // .modal-body {
501
+ // &.height-100vh {
502
+ // height: calc(~"var(--vh, 1vh) * 100 - 190px") !important;
503
+
504
+ // @media (max-width: @modal-sm) {
505
+ // height: calc(~"var(--vh, 1vh) * 100 - 170px") !important;
506
+ // }
507
+ // }
508
+
509
+ // // no modal-footer version
510
+ // &:last-child {
511
+ // &.height-100vh {
512
+ // height: calc(~"var(--vh, 1vh) * 100 - 120px") !important;
513
+
514
+ // @media (max-width: @modal-sm) {
515
+ // height: calc(~"var(--vh, 1vh) * 100 - 90px") !important;
516
+ // }
517
+ // }
518
+ // }
519
+ // }
@@ -160,7 +160,7 @@
160
160
  }
161
161
 
162
162
  .rio-map-icon {
163
- margin-right: @bubbleSize * 0.4;
163
+ margin: 0 @bubbleSize * 0.3;
164
164
 
165
165
  &.rioglyph {
166
166
  top: 0; // unnecessary rioglyph hack
@@ -174,6 +174,14 @@
174
174
  width: 100%;
175
175
  }
176
176
  }
177
+
178
+ + .rio-map-icon {
179
+ margin: 0 @bubbleSize * 0.3 0 -(@bubbleSize) * 0.3;
180
+ }
181
+
182
+ + .rio-map-name {
183
+ padding: 0 @bubbleSize * 0.4 0 0;
184
+ }
177
185
  }
178
186
 
179
187
  &.moving {
@@ -192,18 +200,6 @@
192
200
  transition: height @animationDuration ~',' bottom @animationDuration;
193
201
  }
194
202
 
195
- .rio-map-icon {
196
- margin: 0 @bubbleSize * 0.3;
197
-
198
- + .rio-map-icon {
199
- margin: 0 @bubbleSize * 0.3 0 -(@bubbleSize) * 0.3;
200
- }
201
-
202
- + .rio-map-name {
203
- padding: 0 @bubbleSize * 0.4 0 0;
204
- }
205
- }
206
-
207
203
  .rio-map-direction {
208
204
  border-radius: @border-radius-round;
209
205
  background-color: .hslb(@color-map-marker-asset-hsl, '+', '5%')[@result];
@@ -223,10 +219,10 @@
223
219
  margin-right: @bubbleSize * 0.2;
224
220
  }
225
221
  }
222
+
226
223
  }
227
224
 
228
225
  .rio-map-position-arrow {
229
- background-color: var(--color-map-marker-text);
230
226
  bottom: (@iconSize * 0.5) - (@positionTriangleSize * 0.45);
231
227
  color: transparent;
232
228
  height: @positionTriangleSize;
@@ -296,6 +292,220 @@
296
292
  display: none !important;
297
293
  }
298
294
  }
295
+
296
+ // coloring
297
+ [class*="map-marker-type"] {
298
+ color: var(--color-map-marker-text);
299
+
300
+ .rio-map-icon {
301
+ &:before {
302
+ color: var(--color-map-marker-text);
303
+ }
304
+ }
305
+
306
+ &[class*="asset"] {
307
+ background-color: var(--color-map-marker-asset);
308
+ border: 1px solid var(--color-map-marker-asset);
309
+
310
+ &.active {
311
+ color: var(--color-map-marker-asset);
312
+ background-color: var(--color-map-marker-active);
313
+
314
+ .rio-map-icon {
315
+ &:before {
316
+ color: var(--color-map-marker-asset);
317
+ }
318
+ }
319
+ }
320
+
321
+ ~ .rio-map-position-arrow {
322
+ background-color: var(--color-map-marker-asset);
323
+ }
324
+
325
+ ~ .rio-map-position {
326
+ color: var(--color-map-marker-asset);
327
+ }
328
+ }
329
+
330
+ &[class*="poi"] {
331
+ background-color: var(--color-map-marker-poi);
332
+ border: 1px solid var(--color-map-marker-poi);
333
+
334
+ &.active {
335
+ color: var(--color-map-marker-poi);
336
+ background-color: var(--color-map-marker-active);
337
+
338
+ .rio-map-icon {
339
+ &:before {
340
+ color: var(--color-map-marker-poi);
341
+ }
342
+ }
343
+ }
344
+
345
+ ~ .rio-map-position-arrow {
346
+ background-color: var(--color-map-marker-poi);
347
+ }
348
+
349
+ ~ .rio-map-position {
350
+ color: var(--color-map-marker-poi);
351
+ }
352
+ }
353
+
354
+ &[class*="geofence"] {
355
+ background-color: var(--color-map-marker-geofence);
356
+ border: 1px solid var(--color-map-marker-geofence);
357
+
358
+ &.active {
359
+ color: var(--color-map-marker-geofence);
360
+ background-color: var(--color-map-marker-active);
361
+
362
+ .rio-map-icon {
363
+ &:before {
364
+ color: var(--color-map-marker-geofence);
365
+ }
366
+ }
367
+ }
368
+
369
+ ~ .rio-map-position-arrow {
370
+ background-color: var(--color-map-marker-geofence);
371
+ }
372
+
373
+ ~ .rio-map-position {
374
+ color: var(--color-map-marker-geofence);
375
+ }
376
+ }
377
+
378
+ &[class*="route"] {
379
+ background-color: var(--color-map-marker-route);
380
+ border: 1px solid var(--color-map-marker-route);
381
+
382
+ &.active {
383
+ color: var(--color-map-marker-route);
384
+ background-color: var(--color-map-marker-active);
385
+
386
+ .rio-map-icon {
387
+ &:before {
388
+ color: var(--color-map-marker-route);
389
+ }
390
+ }
391
+ }
392
+
393
+ ~ .rio-map-position-arrow {
394
+ background-color: var(--color-map-marker-route);
395
+ }
396
+
397
+ ~ .rio-map-position {
398
+ color: var(--color-map-marker-route);
399
+ }
400
+ }
401
+
402
+ // night colors
403
+ .map-type-night & {
404
+ color: var(--color-map-marker-text-night);
405
+
406
+ .rio-map-icon {
407
+ &:before {
408
+ color: var(--color-map-marker-text-night);
409
+ }
410
+ }
411
+
412
+ &[class*="asset"] {
413
+ background-color: var(--color-map-marker-asset-night);
414
+ border: 1px solid var(--color-map-marker-asset-night);
415
+
416
+ &.active {
417
+ color: var(--color-map-marker-asset-night);
418
+ background-color: var(--color-map-marker-active-night);
419
+
420
+ .rio-map-icon {
421
+ &:before {
422
+ color: var(--color-map-marker-asset-night);
423
+ }
424
+ }
425
+ }
426
+
427
+ ~ .rio-map-position-arrow {
428
+ background-color: var(--color-map-marker-asset-night);
429
+ }
430
+
431
+ ~ .rio-map-position {
432
+ color: var(--color-map-marker-asset-night);
433
+ }
434
+ }
435
+
436
+ &[class*="poi"] {
437
+ background-color: var(--color-map-marker-poi-night);
438
+ border: 1px solid var(--color-map-marker-poi-night);
439
+
440
+ &.active {
441
+ color: var(--color-map-marker-poi-night);
442
+ background-color: var(--color-map-marker-active-night);
443
+
444
+ .rio-map-icon {
445
+ &:before {
446
+ color: var(--color-map-marker-poi-night);
447
+ }
448
+ }
449
+ }
450
+
451
+ ~ .rio-map-position-arrow {
452
+ background-color: var(--color-map-marker-poi-night);
453
+ }
454
+
455
+ ~ .rio-map-position {
456
+ color: var(--color-map-marker-poi-night);
457
+ }
458
+ }
459
+
460
+ &[class*="geofence"] {
461
+ background-color: var(--color-map-marker-geofence-night);
462
+ border: 1px solid var(--color-map-marker-geofence-night);
463
+
464
+ &.active {
465
+ color: var(--color-map-marker-geofence-night);
466
+ background-color: var(--color-map-marker-active-night);
467
+
468
+ .rio-map-icon {
469
+ &:before {
470
+ color: var(--color-map-marker-geofence-night);
471
+ }
472
+ }
473
+ }
474
+
475
+ ~ .rio-map-position-arrow {
476
+ background-color: var(--color-map-marker-geofence-night);
477
+ }
478
+
479
+ ~ .rio-map-position {
480
+ color: var(--color-map-marker-geofence-night);
481
+ }
482
+ }
483
+
484
+ &[class*="route"] {
485
+ background-color: var(--color-map-marker-route-night);
486
+ border: 1px solid var(--color-map-marker-route-night);
487
+
488
+ &.active {
489
+ color: var(--color-map-marker-route-night);
490
+ background-color: var(--color-map-marker-active-night);
491
+
492
+ .rio-map-icon {
493
+ &:before {
494
+ color: var(--color-map-marker-route-night);
495
+ }
496
+ }
497
+ }
498
+
499
+ ~ .rio-map-position-arrow {
500
+ background-color: var(--color-map-marker-route-night);
501
+ }
502
+
503
+ ~ .rio-map-position {
504
+ color: var(--color-map-marker-route-night);
505
+ }
506
+ }
507
+ }
508
+ }
299
509
  }
300
510
 
301
511
  #rio-map-context-menu {
@@ -10,6 +10,10 @@
10
10
  background: var(--color-white);
11
11
  cursor: pointer;
12
12
  padding: 3px;
13
+
14
+ .map-type-night & {
15
+ background: #444a4c;
16
+ }
13
17
  }
14
18
 
15
19
  .MapSettingsTileSpacer {
@@ -28,7 +32,7 @@
28
32
 
29
33
  // moved MapSettingsWrapper left on large noTouch devices
30
34
  @media (min-width: @screen-ls) {
31
- +.MapSettingsWrapper {
35
+ + .MapSettingsWrapper {
32
36
  right: 47px;
33
37
  }
34
38
  }
@@ -60,6 +64,10 @@
60
64
  background: var(--color-white);
61
65
  cursor: pointer;
62
66
  padding: 5px;
67
+
68
+ .map-type-night & {
69
+ background: #444a4c;
70
+ }
63
71
  }
64
72
 
65
73
  .MapSettingsPanel {
@@ -70,9 +78,17 @@
70
78
  margin-bottom: 10px;
71
79
  padding: 5px;
72
80
 
81
+ .map-type-night & {
82
+ background: #444a4c;
83
+ }
84
+
73
85
  .MapSettingsItem {
74
86
  background: var(--color-white);
75
87
  cursor: pointer;
88
+
89
+ .map-type-night & {
90
+ background: #444a4c;
91
+ }
76
92
  }
77
93
  }
78
94
  }
@@ -110,31 +126,31 @@
110
126
  }
111
127
  }
112
128
 
113
- // OLD
114
- .MapSettings {
115
- align-items: flex-end;
116
- bottom: 15px;
117
- display: flex;
118
- flex-flow: column-reverse;
119
- padding: 0;
120
- position: absolute;
121
- right: 47px;
122
- z-index: 1;
123
-
124
- @media (max-width: @screen-ls) {
125
- right: 15px;
126
- }
127
-
128
- .MapSettingsPanel {
129
- &:extend(.shadow-smooth);
130
- background: var(--color-white);
131
- display: flex;
132
- margin-bottom: 10px;
133
-
134
- .MapSettingsTile,
135
- .MapSettingsButton {
136
- cursor: pointer;
137
- padding: 5px;
138
- }
139
- }
140
- }
129
+ // // OLD
130
+ // .MapSettings {
131
+ // align-items: flex-end;
132
+ // bottom: 15px;
133
+ // display: flex;
134
+ // flex-flow: column-reverse;
135
+ // padding: 0;
136
+ // position: absolute;
137
+ // right: 47px;
138
+ // z-index: 1;
139
+
140
+ // @media (max-width: @screen-ls) {
141
+ // right: 15px;
142
+ // }
143
+
144
+ // .MapSettingsPanel {
145
+ // &:extend(.shadow-smooth);
146
+ // background: var(--color-white);
147
+ // display: flex;
148
+ // margin-bottom: 10px;
149
+
150
+ // .MapSettingsTile,
151
+ // .MapSettingsButton {
152
+ // cursor: pointer;
153
+ // padding: 5px;
154
+ // }
155
+ // }
156
+ // }
@@ -49,7 +49,7 @@
49
49
 
50
50
  &:before {
51
51
  position: absolute;
52
- top: 50%;
52
+ top: 24px;
53
53
  left: 15px;
54
54
  margin-top: -14px;
55
55
  display: block;
@@ -2,8 +2,8 @@
2
2
  border-color: transparent;
3
3
  border-radius: @border-radius-default;
4
4
  border-style: solid;
5
- border-width: 2px;
6
- padding: 12px;
5
+ border-width: 1px;
6
+ padding: 15px;
7
7
  position: relative;
8
8
 
9
9
  .alert-link {
@@ -18,7 +18,11 @@
18
18
  position: absolute;
19
19
  right: 3px;
20
20
  top: 6px;
21
- transform: scale(0.75);
21
+ color: var(--gray-darker) !important;
22
+
23
+ * {
24
+ transform: scale(0.6);
25
+ }
22
26
  }
23
27
 
24
28
  > p,
@@ -37,18 +41,12 @@
37
41
 
38
42
  &.alert- {
39
43
  &@{key} {
40
-
41
44
  background-color: @background;
42
45
  border-color: @value;
43
- color: @value;
44
46
 
45
47
  .alert-link {
46
48
  color: @value;
47
49
  }
48
-
49
- > .close .rioglyph {
50
- color: @value;
51
- }
52
50
  }
53
51
  }
54
52
  })
@@ -1,6 +1,7 @@
1
1
  .aspect-ratio-resizer {
2
2
  display: grid;
3
3
  position: relative;
4
+ width: 100%;
4
5
 
5
6
  > * {
6
7
  grid-area: ~"1 / 1 / 2 / 2";
@@ -0,0 +1,7 @@
1
+ .backdrop {
2
+ &-blur-1 { backdrop-filter: blur(1px) !important; }
3
+ &-blur-2 { backdrop-filter: blur(2px) !important; }
4
+ &-blur-3 { backdrop-filter: blur(3px) !important; }
5
+ &-blur-4 { backdrop-filter: blur(4px) !important; }
6
+ &-blur-5 { backdrop-filter: blur(5px) !important; }
7
+ }