@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
@@ -13,26 +13,27 @@
13
13
  padding-right: floor((@grid-gutter-width / 2));
14
14
  //
15
15
  float: left;
16
+ width: 100%;
16
17
  }
17
- }
18
18
 
19
- // Columns
20
- .make-grid-columns();
21
-
22
- // col-
23
- .make-grid(~'-');
24
- .make-grid(~'-xs-'); // BS remains
25
-
26
- // col-sm
27
- // col-ls
28
- // col-md
29
- // col-lg
30
- // col-xl
31
- each(@breakpoint-ls-to-xl, {
32
- @media (min-width: @value) {
33
- .make-grid(~'-@{key}-');
34
- }
35
- })
19
+ // Columns
20
+ .make-grid-columns();
21
+
22
+ // col-
23
+ .make-grid(~'-');
24
+ .make-grid(~'-xs-'); // BS remains
25
+
26
+ // col-ls
27
+ // col-sm
28
+ // col-md
29
+ // col-lg
30
+ // col-xl
31
+ each(@breakpoint-ls-to-xl, {
32
+ @media (min-width: @value) {
33
+ .make-grid(~'-@{key}-');
34
+ }
35
+ })
36
+ }
36
37
 
37
38
  .no-gutter {
38
39
  margin-right: 0;
@@ -0,0 +1,165 @@
1
+ [class*="divider-y"] > :not([hidden]) ~ :not([hidden]) {
2
+ border-bottom-width: 0;
3
+ border-top-style: solid;
4
+ }
5
+
6
+ [class*="divider-x"] > :not([hidden]) ~ :not([hidden]) {
7
+ border-right-width: 0;
8
+ border-left-style: solid;
9
+ }
10
+
11
+ .divider-y-1 {
12
+ &> :not([hidden]) ~ :not([hidden]) {
13
+ border-top-width: 1px;
14
+ }
15
+ }
16
+
17
+ .divider-y-2 > :not([hidden]) ~ :not([hidden]) {
18
+ border-top-width: 2px;
19
+ }
20
+
21
+ .divider-y-3 > :not([hidden]) ~ :not([hidden]) {
22
+ border-top-width: 3px;
23
+ }
24
+
25
+ .divider-x-1 {
26
+ &> :not([hidden]) ~ :not([hidden]) {
27
+ border-left-width: 1px;
28
+ }
29
+ }
30
+
31
+ .divider-x-2 > :not([hidden]) ~ :not([hidden]) {
32
+ border-left-width: 2px;
33
+ }
34
+
35
+ .divider-x-3 > :not([hidden]) ~ :not([hidden]) {
36
+ border-left-width: 3px;
37
+ }
38
+
39
+ // coloring
40
+
41
+ .divider-color {
42
+ // white
43
+ // black
44
+ each(@colors-text-map, {
45
+ &-@{key} > :not([hidden]) ~ :not([hidden]) {
46
+ border-color: @value !important;
47
+ }
48
+ })
49
+
50
+ // primary
51
+ // secondary
52
+ each(@colors-brand-map, {
53
+ &-@{key} > :not([hidden]) ~ :not([hidden]) {
54
+ border-color: @value !important;
55
+ }
56
+ })
57
+
58
+ // info
59
+ // success
60
+ // warning
61
+ // danger
62
+ each(@colors-status-map, {
63
+ &-@{key} > :not([hidden]) ~ :not([hidden]) {
64
+ border-color: @value !important;
65
+ }
66
+ })
67
+
68
+ // darkest
69
+ // darker
70
+ // dark
71
+ // gray
72
+ // light
73
+ // lighter
74
+ // lightest
75
+ each(@colors-gray-map, {
76
+ &-@{key} > :not([hidden]) ~ :not([hidden]) {
77
+ border-color: @value !important;
78
+ }
79
+ })
80
+
81
+ // map-marker-asset
82
+ // map-marker-poi
83
+ // map-marker-geofence
84
+ // map-marker-route
85
+ each(@colors-map-marker-map, {
86
+ &-@{key} > :not([hidden]) ~ :not([hidden]) {
87
+ border-color: @value !important;
88
+ }
89
+ })
90
+
91
+ each(@colors-map-marker-night-map, {
92
+ &-@{key} > :not([hidden]) ~ :not([hidden]) {
93
+ border-color: @value !important;
94
+ }
95
+ })
96
+
97
+ // rating-1
98
+ // rating-2
99
+ // rating-3
100
+ // rating-4
101
+ // rating-5
102
+ each(@colors-rating-map, {
103
+ &-@{key} > :not([hidden]) ~ :not([hidden]) {
104
+ border-color: @value !important;
105
+ }
106
+ })
107
+
108
+ // status-available
109
+ // status-driving
110
+ // status-resting
111
+ // status-working
112
+ each(@colors-driving-status-map, {
113
+ &-@{key} > :not([hidden]) ~ :not([hidden]) {
114
+ border-color: @value !important;
115
+ }
116
+ })
117
+
118
+ // highlight-darkest
119
+ // highlight-darker
120
+ // highlight-dark
121
+ // highlight
122
+ // highlight-light
123
+ // highlight-lighter
124
+ // highlight-lightest
125
+ // highlight-decent
126
+ each(@colors-highlight-map, {
127
+ &-@{key} > :not([hidden]) ~ :not([hidden]) {
128
+ border-color: @value !important;
129
+ }
130
+ })
131
+
132
+ // coldplay-wine
133
+ // coldplay-aubergine
134
+ // coldplay-kashmir
135
+ // coldplay-fountain
136
+ // coldplay-turquoise
137
+ // coldplay-bermuda
138
+ // coldplay-moos
139
+ // coldplay-primrose
140
+ // coldplay-khaki
141
+ // & when (@buildColdplayColors = true) {
142
+ // each(@colors-coldplay-map, {
143
+ // &-@{key} > :not([hidden]) ~ :not([hidden]) {
144
+ // border-color: @value !important;
145
+ // }
146
+ // })
147
+ // }
148
+
149
+ // warmup-crimson
150
+ // warmup-victoria
151
+ // warmup-cadillac
152
+ // warmup-raspberry
153
+ // warmup-cerise
154
+ // warmup-charm
155
+ // warmup-salmon
156
+ // warmup-cherokee
157
+ // warmup-corn
158
+ // & when (@buildWarmupColors = true) {
159
+ // each(@colors-warmup-map, {
160
+ // &-@{key} > :not([hidden]) ~ :not([hidden]) {
161
+ // border-color: @value !important;
162
+ // }
163
+ // })
164
+ // }
165
+ }
@@ -0,0 +1,90 @@
1
+ .divider-y {
2
+ > * ~ * {
3
+ border-bottom-width: 0;
4
+ border-color: var(--gray-light);
5
+ border-top-style: solid;
6
+ border-top-width: 1px;
7
+ }
8
+ }
9
+
10
+ .divider-x {
11
+ > * ~ * {
12
+ border-color: var(--gray-light);
13
+ border-left-style: solid;
14
+ border-left-width: 1px;
15
+ border-right-width: 0;
16
+ }
17
+ }
18
+
19
+ [class*="divider-y"] {
20
+ &> * ~ * {
21
+ border-bottom-width: 0 !important;
22
+ }
23
+
24
+ &.divider-style-solid > * ~ * { border-top-style: solid !important}
25
+ &.divider-style-dotted > * ~ * { border-top-style: dotted !important}
26
+ &.divider-style-dashed > * ~ * { border-top-style: dashed !important}
27
+ }
28
+
29
+ [class*="divider-x"] {
30
+ &> * ~ * {
31
+ border-right-width: 0;
32
+ }
33
+
34
+ &.divider-style-solid > * ~ * { border-left-style: solid !important}
35
+ &.divider-style-dotted > * ~ * { border-left-style: dotted !important}
36
+ &.divider-style-dashed > * ~ * { border-left-style: dashed !important}
37
+ }
38
+
39
+ .divider-y-1 {
40
+ &> * ~ * {
41
+ border-top-width: 1px !important;
42
+ }
43
+ }
44
+
45
+ .divider-y-2 > * ~ * {
46
+ border-top-width: 2px !important;
47
+ }
48
+
49
+ .divider-y-3 > * ~ * {
50
+ border-top-width: 3px !important;
51
+ }
52
+
53
+ .divider-x-1 {
54
+ &> * ~ * {
55
+ border-left-width: 1px !important;
56
+ }
57
+ }
58
+
59
+ .divider-x-2 > * ~ * {
60
+ border-left-width: 2px !important;
61
+ }
62
+
63
+ .divider-x-3 > * ~ * {
64
+ border-left-width: 3px !important;
65
+ }
66
+
67
+ // coloring
68
+
69
+ .divider-color {
70
+ // white
71
+ // black
72
+ each(@colors-text-map, {
73
+ &-@{key} > * ~ * {
74
+ border-color: @value !important;
75
+ }
76
+ })
77
+
78
+ // darkest
79
+ // darker
80
+ // dark
81
+ // gray
82
+ // light
83
+ // lighter
84
+ // lightest
85
+ each(@colors-gray-map, {
86
+ &-@{key} > * ~ * {
87
+ border-color: @value !important;
88
+ }
89
+ })
90
+ }
@@ -11,6 +11,7 @@
11
11
  @import (multiple) "padding.less";
12
12
  @import (multiple) "position.less";
13
13
  @import (multiple) "sizing.less";
14
+ @import (multiple) "spacing.less";
14
15
  @import (multiple) "text.less";
15
16
  }
16
17
 
@@ -26,16 +26,8 @@ each(@spacings-px, {
26
26
 
27
27
  // gap pct
28
28
  each(@spacings-pct, {
29
- // x & y
30
- // .gap-@{key}@{suffix} {
31
- // gap: @value !important;
32
- // }
33
29
  // x
34
30
  .column-gap-@{key}@{suffix} {
35
31
  column-gap: @value !important;
36
32
  }
37
- // y
38
- // .row-gap-@{key}@{suffix} {
39
- // row-gap: @value !important;
40
- // }
41
33
  })
@@ -0,0 +1,25 @@
1
+ // spacing px
2
+ each(@spacings-px, {
3
+ .space-x-@{key}@{suffix} > * ~ * {
4
+ margin-left: @value !important;
5
+ margin-right: 0 !important;
6
+ }
7
+
8
+ .space-y-@{key}@{suffix} > * ~ * {
9
+ margin-top: @value !important;
10
+ margin-bottom: 0 !important;
11
+ }
12
+ })
13
+
14
+ // nagative 1-3 px
15
+ each(@spacings--px, {
16
+ .space-x-@{key}@{suffix} > * ~ * {
17
+ margin-left: @value !important;
18
+ margin-right: 0 !important;
19
+ }
20
+
21
+ .space-y-@{key}@{suffix} > * ~ * {
22
+ margin-top: @value !important;
23
+ margin-bottom: 0 !important;
24
+ }
25
+ })
@@ -55,7 +55,6 @@ each(@colors-gray-map, {
55
55
  // map-marker-poi
56
56
  // map-marker-geofence
57
57
  // map-marker-route
58
- .color-map-marker-text { color: var(--color-map-marker-text) !important }
59
58
  each(@colors-map-marker-map, {
60
59
  .text-color-@{key},
61
60
  .hover-text-color-@{key}:hover {
@@ -63,6 +62,16 @@ each(@colors-map-marker-map, {
63
62
  }
64
63
  })
65
64
 
65
+ each(@colors-map-marker-night-map, {
66
+ .text-color-@{key},
67
+ .hover-text-color-@{key}:hover {
68
+ color: @value !important;
69
+ }
70
+ })
71
+
72
+ // .text-color-map-marker-text { color: var(--color-map-marker-text) !important }
73
+ // .text-color-map-marker-text-night { color: var(--color-map-marker-text-night) !important }
74
+
66
75
  // rating-1
67
76
  // rating-2
68
77
  // rating-3
@@ -173,9 +182,14 @@ h2, h3, h4, h5, h6, [class*='text-size-h'] {
173
182
 
174
183
  /* Text - Decoration */
175
184
  .text-decoration-none { text-decoration: none !important }
176
- .text-decoration-underline { text-decoration: underline !important }
177
185
  .text-decoration-line-through { text-decoration: line-through !important }
178
186
 
187
+ .text-decoration-underline { text-decoration: underline !important }
188
+ .text-decoration-underline-offset-2 { text-decoration: underline !important; text-underline-offset: 2px !important }
189
+ .text-decoration-underline-offset-3 { text-decoration: underline !important; text-underline-offset: 3px !important }
190
+ .text-decoration-underline-offset-4 { text-decoration: underline !important; text-underline-offset: 4px !important }
191
+ .text-decoration-underline-offset-5 { text-decoration: underline !important; text-underline-offset: 5px !important }
192
+
179
193
  .hover-text-decoration-underline:hover { text-decoration: underline !important }
180
194
  .hover-text-decoration-none:hover { text-decoration: none !important }
181
195
 
@@ -115,6 +115,7 @@
115
115
  // map-marker-geofence
116
116
  // map-marker-route
117
117
  @colors-map-marker-map: {
118
+ map-marker-text: var(--color-map-marker-text);
118
119
  map-marker-active: var(--color-map-marker-active);
119
120
  map-marker-asset: var(--color-map-marker-asset);
120
121
  map-marker-poi: var(--color-map-marker-poi);
@@ -122,6 +123,15 @@
122
123
  map-marker-route: var(--color-map-marker-route);
123
124
  }
124
125
 
126
+ @colors-map-marker-night-map: {
127
+ map-marker-text-night: var(--color-map-marker-text-night);
128
+ map-marker-active-night: var(--color-map-marker-active-night);
129
+ map-marker-asset-night: var(--color-map-marker-asset-night);
130
+ map-marker-poi-night: var(--color-map-marker-poi-night);
131
+ map-marker-geofence-night: var(--color-map-marker-geofence-night);
132
+ map-marker-route-night: var(--color-map-marker-route-night);
133
+ }
134
+
125
135
  // Color Map - Rating
126
136
  // rating-1
127
137
  // rating-2
@@ -1,5 +1,10 @@
1
1
  // These values must always be kept in sync with those of the demo page
2
2
  // uikit-demo/src/utils/spacings.js
3
+ @spacings--px: {
4
+ -1: -1px;
5
+ -2: -2px;
6
+ -3: -3px;
7
+ }
3
8
 
4
9
  @spacings-px: {
5
10
  1: 1px;
@@ -42,6 +42,8 @@
42
42
  @import (less) './design/aspect-ratio.less';
43
43
  @import (less) './design/colors.less';
44
44
  @import (less) './design/border.less';
45
+ @import (less) './design/blur.less';
46
+ @import (less) './design/divider.less';
45
47
  @import (less) './design/cursors.less';
46
48
  @import (less) './design/custom.less';
47
49
  @import (less) './design/ellipsis.less';
@@ -33,6 +33,12 @@
33
33
  "color-map-marker-geofence": "#5a4876",
34
34
  "color-map-marker-route": "#3690ae",
35
35
  "color-map-marker-text": "#ffffff",
36
+ "color-map-marker-active-night": "#ededed",
37
+ "color-map-marker-asset-night": "#6e757a",
38
+ "color-map-marker-poi-night": "#b23672",
39
+ "color-map-marker-geofence-night": "#79619f",
40
+ "color-map-marker-route-night": "#3b9fc1",
41
+ "color-map-marker-text-night": "#ededed",
36
42
  "color-rating-1": "#d90000",
37
43
  "color-rating-2": "#ff8e3c",
38
44
  "color-rating-3": "#f8c575",
@@ -33,6 +33,12 @@
33
33
  @color-map-marker-geofence-hsl: var(--color-map-marker-geofence-h), var(--color-map-marker-geofence-s), var(--color-map-marker-geofence-l);
34
34
  @color-map-marker-route-hsl: var(--color-map-marker-route-h), var(--color-map-marker-route-s), var(--color-map-marker-route-l);
35
35
  @color-map-marker-text-hsl: var(--color-map-marker-text-h), var(--color-map-marker-text-s), var(--color-map-marker-text-l);
36
+ @color-map-marker-active-night-hsl: var(--color-map-marker-active-night-h), var(--color-map-marker-active-night-s), var(--color-map-marker-active-night-l);
37
+ @color-map-marker-asset-night-hsl: var(--color-map-marker-asset-night-h), var(--color-map-marker-asset-night-s), var(--color-map-marker-asset-night-l);
38
+ @color-map-marker-poi-night-hsl: var(--color-map-marker-poi-night-h), var(--color-map-marker-poi-night-s), var(--color-map-marker-poi-night-l);
39
+ @color-map-marker-geofence-night-hsl: var(--color-map-marker-geofence-night-h), var(--color-map-marker-geofence-night-s), var(--color-map-marker-geofence-night-l);
40
+ @color-map-marker-route-night-hsl: var(--color-map-marker-route-night-h), var(--color-map-marker-route-night-s), var(--color-map-marker-route-night-l);
41
+ @color-map-marker-text-night-hsl: var(--color-map-marker-text-night-h), var(--color-map-marker-text-night-s), var(--color-map-marker-text-night-l);
36
42
  @color-highlight-darkest-hsl: var(--color-highlight-darkest-h), var(--color-highlight-darkest-s), var(--color-highlight-darkest-l);
37
43
  @color-highlight-darker-hsl: var(--color-highlight-darker-h), var(--color-highlight-darker-s), var(--color-highlight-darker-l);
38
44
  @color-highlight-dark-hsl: var(--color-highlight-dark-h), var(--color-highlight-dark-s), var(--color-highlight-dark-l);
@@ -48,6 +48,13 @@
48
48
  @dark-color-map-marker-route: @color-map-marker-route;
49
49
  @dark-color-map-marker-text: @color-map-marker-text;
50
50
 
51
+ @dark-color-map-marker-active-night: @color-map-marker-active-night;
52
+ @dark-color-map-marker-asset-night: @color-map-marker-asset-night;
53
+ @dark-color-map-marker-poi-night: @color-map-marker-poi-night;
54
+ @dark-color-map-marker-geofence-night: @color-map-marker-geofence-night;
55
+ @dark-color-map-marker-route-night: @color-map-marker-route-night;
56
+ @dark-color-map-marker-text-night: @color-map-marker-text-night;
57
+
51
58
  // Color - Rating // CURRENTLY NO DIFFERENCES TO THE LIGHT THEME
52
59
  @dark-color-rating-1: @color-rating-1;
53
60
  @dark-color-rating-2: @color-rating-2;
@@ -49,6 +49,13 @@
49
49
  // color-map-marker-route: @dark-color-map-marker-route;
50
50
  // color-map-marker-text: @dark-color-map-marker-text;
51
51
 
52
+ // color-map-marker-active-night: @dark-color-map-marker-active-night;
53
+ // color-map-marker-asset-night: @dark-color-map-marker-asset-night;
54
+ // color-map-marker-poi-night: @dark-color-map-marker-poi-night;
55
+ // color-map-marker-geofence-night: @dark-color-map-marker-geofence-night;
56
+ // color-map-marker-route-night: @dark-color-map-marker-route-night;
57
+ // color-map-marker-text-night: @dark-color-map-marker-text-night;
58
+
52
59
  // Color - Highlight
53
60
  color-highlight-darkest: @dark-color-highlight-darkest;
54
61
  color-highlight-darker: @dark-color-highlight-darker;
@@ -52,6 +52,13 @@
52
52
  @color-map-marker-route: #3690ae;
53
53
  @color-map-marker-text: #ffffff;
54
54
 
55
+ @color-map-marker-active-night: #ededed;
56
+ @color-map-marker-asset-night: #6e757a;
57
+ @color-map-marker-poi-night: #b23672;
58
+ @color-map-marker-geofence-night: #79619f;
59
+ @color-map-marker-route-night: #3b9fc1;
60
+ @color-map-marker-text-night: #ededed;
61
+
55
62
  // Color - Rating
56
63
  @color-rating-1: #d90000;
57
64
  @color-rating-2: #ff8e3c;
@@ -53,6 +53,13 @@
53
53
  color-map-marker-route: @color-map-marker-route;
54
54
  color-map-marker-text: @color-map-marker-text;
55
55
 
56
+ color-map-marker-active-night: @color-map-marker-active-night;
57
+ color-map-marker-asset-night: @color-map-marker-asset-night;
58
+ color-map-marker-poi-night: @color-map-marker-poi-night;
59
+ color-map-marker-geofence-night: @color-map-marker-geofence-night;
60
+ color-map-marker-route-night: @color-map-marker-route-night;
61
+ color-map-marker-text-night: @color-map-marker-text-night;
62
+
56
63
  // Color - Highlight
57
64
  color-highlight-darkest: @color-highlight-darkest;
58
65
  color-highlight-darker: @color-highlight-darker;
@@ -1,24 +1,31 @@
1
+ import _extends from "@babel/runtime/helpers/extends";
1
2
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
2
- import React, { useState, useRef, useEffect, useCallback } from 'react';
3
+ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
+ var _excluded = ["homeRoute", "className", "appNavigator", "appNavigatorClassName", "appMenuItems", "navItems", "actionBarItems"];
5
+ import React, { useState, useRef, forwardRef, useCallback, useImperativeHandle } from 'react';
3
6
  import PropTypes from 'prop-types';
4
7
  import isEmpty from 'lodash/fp/isEmpty';
5
8
  import classname from 'classnames';
6
9
  import { ApplicationActionBar } from '../../../../components/applicationHeader/ApplicationActionBar';
7
10
  import useResizeObserver from '../../../../hooks/useResizeObserver';
8
11
  import modulePropTypes from './modulePropTypes';
9
- export var VolkswagenApplicationHeader = function VolkswagenApplicationHeader(props) {
12
+ export var VolkswagenApplicationHeader = /*#__PURE__*/forwardRef(function (props, ref) {
10
13
  var homeRoute = props.homeRoute,
11
14
  className = props.className,
12
15
  appNavigator = props.appNavigator,
13
16
  appNavigatorClassName = props.appNavigatorClassName,
14
17
  appMenuItems = props.appMenuItems,
15
18
  navItems = props.navItems,
16
- actionBarItems = props.actionBarItems;
19
+ actionBarItems = props.actionBarItems,
20
+ remainingProps = _objectWithoutProperties(props, _excluded);
17
21
  var actionBarRef = useRef();
18
22
  var _useResizeObserver = useResizeObserver(),
19
23
  _useResizeObserver2 = _slicedToArray(_useResizeObserver, 2),
20
24
  navRef = _useResizeObserver2[0],
21
25
  contentRect = _useResizeObserver2[1].contentRect;
26
+ useImperativeHandle(ref, function () {
27
+ return navRef;
28
+ }, []);
22
29
 
23
30
  // const getContentRect = useCallback(key => contentRect && Math.round(contentRect[key]), [contentRect]);
24
31
  // const containerWidth = getContentRect('width') || 0;
@@ -27,9 +34,11 @@ export var VolkswagenApplicationHeader = function VolkswagenApplicationHeader(pr
27
34
  // const hasActionBarItems = !isEmpty(actionBarItems);
28
35
 
29
36
  var classNames = classname('ApplicationHeader VolkswagenApplicationHeader', 'user-select-none', className && className);
30
- return /*#__PURE__*/React.createElement("nav", {
37
+ return /*#__PURE__*/React.createElement("nav", _extends({}, remainingProps, {
31
38
  className: classNames,
32
39
  ref: navRef
40
+ }), /*#__PURE__*/React.createElement("div", {
41
+ className: "width-100pct"
33
42
  }, /*#__PURE__*/React.createElement("div", {
34
43
  className: "brand"
35
44
  }, /*#__PURE__*/React.createElement("div", {
@@ -47,8 +56,8 @@ export var VolkswagenApplicationHeader = function VolkswagenApplicationHeader(pr
47
56
  })), /*#__PURE__*/React.createElement(ApplicationActionBar, {
48
57
  nodeRef: actionBarRef,
49
58
  items: actionBarItems
50
- }));
51
- };
59
+ })));
60
+ });
52
61
  export default VolkswagenApplicationHeader;
53
62
  VolkswagenApplicationHeader.defaultProps = {
54
63
  homeRoute: '',