@rio-cloud/rio-uikit 0.16.0-beta-1 → 0.16.0-beta-4

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 (42) hide show
  1. package/lib/components/browserWarning/BrowserIcons.js +76 -0
  2. package/lib/components/browserWarning/BrowserWarning.js +4 -4
  3. package/lib/components/browserWarning/BrowserWarningMessageDE.js +20 -22
  4. package/lib/components/browserWarning/BrowserWarningMessageEN.js +20 -22
  5. package/lib/components/dialog/ConfirmationDialog.js +8 -6
  6. package/lib/components/dialog/SaveDialog.js +3 -1
  7. package/lib/components/filepicker/FilePicker.js +65 -96
  8. package/lib/components/map/components/features/old/MapSettings.js +5 -5
  9. package/lib/components/map/components/features/old/settings/MapClusterSettings.js +13 -13
  10. package/lib/components/map/components/features/old/settings/MapLayerSettings.js +15 -15
  11. package/lib/components/map/components/features/old/settings/MapTypeSettings.js +20 -20
  12. package/lib/components/map/components/features/settings/ZoomButtons.js +10 -10
  13. package/lib/components/map/components/features/settings/builtinSettings/MapClusterSettings.js +20 -18
  14. package/lib/components/map/components/features/settings/builtinSettings/MapLayerSettings.js +8 -8
  15. package/lib/components/map/components/features/settings/builtinSettings/MapTypeSettings.js +42 -32
  16. package/lib/components/map/components/features/settings/buttons/MapBoundingBoxButton.js +8 -8
  17. package/lib/components/map/components/features/settings/buttons/MapCenterMarkerButton.js +8 -8
  18. package/lib/components/map/components/features/settings/buttons/MapLockMarkerButton.js +8 -8
  19. package/lib/components/map/components/features/settings/items/MapCustomerPoiSettingsItem.js +8 -8
  20. package/lib/components/map/components/features/settings/items/MapLayerIncidentsItem.js +8 -6
  21. package/lib/components/map/components/features/settings/items/MapLayerRoadRestrictionsItem.js +8 -6
  22. package/lib/components/map/components/features/settings/items/MapLayerTrafficItem.js +8 -6
  23. package/lib/components/map/components/features/settings/items/MapWorkshopPoiSettingsItem.js +8 -8
  24. package/lib/components/map/icons/MapIcon.js +500 -0
  25. package/lib/components/table/TableViewToggles.js +98 -104
  26. package/lib/components/tooltip/Tooltip.js +1 -1
  27. package/lib/es/useFullscreen.d.ts +4 -0
  28. package/lib/es/useFullscreen.js +15 -0
  29. package/lib/hooks/useFullscreen.js +242 -0
  30. package/lib/style/css/_exports/rio-uikit-core.less +1 -0
  31. package/lib/style/css/_exports/rio-website.less +6 -2
  32. package/lib/style/css/components/Select.less +14 -2
  33. package/lib/style/css/components/TableToolbar.less +121 -0
  34. package/lib/style/css/components/Tooltip.less +41 -10
  35. package/lib/style/css/design/tables.less +0 -122
  36. package/lib/style/fonts/rioglyph/rioglyph.less +6 -1
  37. package/lib/style/fonts/rioglyph/rioglyph.svg +102 -96
  38. package/lib/style/fonts/rioglyph/rioglyph.ttf +0 -0
  39. package/lib/style/fonts/rioglyph/rioglyph.woff +0 -0
  40. package/lib/types.ts +42 -8
  41. package/lib/version.json +1 -1
  42. package/package.json +6 -6
@@ -0,0 +1,121 @@
1
+ .table-toolbar {
2
+ margin-bottom: 10px;
3
+
4
+ .table-toolbar-container {
5
+ align-items: flex-end;
6
+ display: flex;
7
+ flex-wrap: wrap;
8
+ justify-content: flex-end;
9
+
10
+ [class*='table-toolbar-group'] {
11
+ align-self: flex-end;
12
+ display: flex;
13
+ flex-wrap: wrap;
14
+ max-width: 100%;
15
+
16
+ @media (max-width: @screen-ls) {
17
+ width: 100%;
18
+ margin-left: 0 !important;
19
+ margin-right: 0 !important;
20
+
21
+ .table-toolbar-column {
22
+ width: 100%;
23
+ margin: 0 !important;
24
+
25
+ // horizontal space between elements
26
+ .btn,
27
+ .dropdown:not(.btn-group),
28
+ .form-control,
29
+ .DatePicker {
30
+ margin: 0 0 10px 0;
31
+ }
32
+
33
+ // all elemnts with 100% width
34
+ div:not([class]),
35
+ .table-toolbar-search,
36
+ .input-group,
37
+ .btn,
38
+ .dropdown,
39
+ .form-control,
40
+ .btn-group {
41
+ width: 100%;
42
+ }
43
+
44
+ // remove double bottom space
45
+ .DatePicker .form-control {
46
+ margin-bottom: 0;
47
+ }
48
+ }
49
+ }
50
+
51
+ .form-group {
52
+ margin-bottom: 0;
53
+ }
54
+
55
+ .table-toolbar-column,
56
+ .form-group:not(.DatePicker) {
57
+ .form-group;
58
+ display: flex;
59
+ flex-direction: column;
60
+ justify-content: flex-end;
61
+ margin-bottom: 15px;
62
+ max-width: 100%;
63
+ position: relative;
64
+
65
+ @media (min-width: @screen-ls-max) {
66
+ &.table-toolbar-column-spacer {
67
+ padding-right: 18px;
68
+
69
+ &:after {
70
+ background: @gray-light;
71
+ bottom: 5px;
72
+ content: '';
73
+ height: @input-height-base - 10px;
74
+ position: absolute;
75
+ right: 0;
76
+ width: 2px;
77
+ }
78
+ }
79
+ }
80
+
81
+ + .table-toolbar-column {
82
+ margin-left: 15px;
83
+ }
84
+ }
85
+
86
+ .table-btn-toolbar {
87
+ display: flex;
88
+ flex-wrap: wrap;
89
+ }
90
+
91
+ > .table-toolbar-label {
92
+ width: 100%;
93
+ }
94
+
95
+ &[class*='-left'] {
96
+ flex: 1 1 auto;
97
+ }
98
+
99
+ &[class*='-right'] {
100
+ justify-content: flex-end;
101
+ margin-left: 15px;
102
+ }
103
+ }
104
+ }
105
+
106
+ .table-toolbar-search {
107
+ max-width: 100%;
108
+ width: 300px;
109
+ }
110
+ }
111
+
112
+ .table-toolbar-cards-sorting {
113
+ &:not(.multiselect-table) {
114
+ margin-bottom: 10px;
115
+ }
116
+
117
+ &.multiselect-table {
118
+ float: left;
119
+ margin: 0 0 -(@btn-size-default) 47px !important;
120
+ }
121
+ }
@@ -18,9 +18,9 @@
18
18
  &.tooltip-onboarding {
19
19
  max-width: calc(~'100vw - 30px');
20
20
 
21
- &:not([class*='margin-']) {
22
- margin: 0 !important;
23
- }
21
+ // &:not([class*='margin-']) {
22
+ // margin: 0 !important;
23
+ // }
24
24
 
25
25
  &[class*='max-width'] {
26
26
  .tooltip-inner {
@@ -150,10 +150,8 @@
150
150
  padding: @arrow-size;
151
151
 
152
152
  .tooltip-arrow {
153
- bottom: 0;
154
153
  border-top-color: @color;
155
154
  border-width: @arrow-size @arrow-size 0 @arrow-size;
156
- transform: translate(-50%, 100%);
157
155
  }
158
156
  }
159
157
 
@@ -161,10 +159,8 @@
161
159
  padding: 0 @arrow-size;
162
160
 
163
161
  .tooltip-arrow {
164
- left: 0;
165
162
  border-right-color: @color;
166
163
  border-width: @arrow-size @arrow-size @arrow-size 0;
167
- transform: translate(-100%, -50%);
168
164
  }
169
165
  }
170
166
 
@@ -172,10 +168,8 @@
172
168
  padding: @arrow-size 0;
173
169
 
174
170
  .tooltip-arrow {
175
- top: 0;
176
171
  border-bottom-color: @color;
177
172
  border-width: 0 @arrow-size @arrow-size @arrow-size;
178
- transform: translate(-50%, -100%);
179
173
  }
180
174
  }
181
175
 
@@ -183,13 +177,50 @@
183
177
  padding: 0 @arrow-size;
184
178
 
185
179
  .tooltip-arrow {
186
- right: 0;
187
180
  border-left-color: @color;
188
181
  border-width: @arrow-size 0 @arrow-size @arrow-size;
189
182
  }
190
183
  }
191
184
  }
192
185
 
186
+ .tooltip {
187
+ &[x-placement^="top"] {
188
+ .tooltip-arrow {
189
+ bottom: 0;
190
+ }
191
+ }
192
+
193
+ &[x-placement^="right"] {
194
+ .tooltip-arrow {
195
+ left: 0;
196
+ }
197
+ }
198
+
199
+ &[x-placement^="bottom"] {
200
+ .tooltip-arrow {
201
+ top: 0;
202
+ }
203
+ }
204
+
205
+ &[x-placement^="left"] {
206
+ .tooltip-arrow {
207
+ right: 0;
208
+ }
209
+ }
210
+
211
+ &[x-placement^="top-start"], &[x-placement^="bottom-start"] {
212
+ .tooltip-inner {
213
+ margin-left: 10px;
214
+ }
215
+ }
216
+
217
+ &[x-placement^="top-end"], &[x-placement^="bottom-end"] {
218
+ .tooltip-inner {
219
+ margin-right: 10px;
220
+ }
221
+ }
222
+ }
223
+
193
224
  // Tippy
194
225
  .tippy-touch {
195
226
  cursor: pointer !important
@@ -845,128 +845,6 @@
845
845
  }
846
846
  }
847
847
 
848
- .table-toolbar {
849
- margin-bottom: 10px;
850
-
851
- .table-toolbar-container {
852
- align-items: flex-end;
853
- display: flex;
854
- flex-wrap: wrap;
855
- justify-content: flex-end;
856
-
857
- [class*='table-toolbar-group'] {
858
- align-self: flex-end;
859
- display: flex;
860
- flex-wrap: wrap;
861
- max-width: 100%;
862
-
863
- @media (max-width: @screen-ls) {
864
- width: 100%;
865
- margin-left: 0 !important;
866
- margin-right: 0 !important;
867
-
868
- .table-toolbar-column {
869
- width: 100%;
870
- margin: 0 !important;
871
-
872
- // horizontal space between elements
873
- .btn,
874
- .dropdown:not(.btn-group),
875
- .form-control,
876
- .DatePicker {
877
- margin: 0 0 10px 0;
878
- }
879
-
880
- // all elemnts with 100% width
881
- div:not([class]),
882
- .table-toolbar-search,
883
- .input-group,
884
- .btn,
885
- .dropdown,
886
- .form-control,
887
- .btn-group {
888
- width: 100%;
889
- }
890
-
891
- // remove double bottom space
892
- .DatePicker .form-control {
893
- margin-bottom: 0;
894
- }
895
- }
896
- }
897
-
898
- .form-group {
899
- margin-bottom: 0;
900
- }
901
-
902
- .table-toolbar-column,
903
- .form-group {
904
- .form-group;
905
- display: flex;
906
- flex-direction: column;
907
- justify-content: flex-end;
908
- margin-bottom: 15px;
909
- max-width: 100%;
910
- position: relative;
911
-
912
- @media (min-width: @screen-ls-max) {
913
- &.table-toolbar-column-spacer {
914
- padding-right: 18px;
915
-
916
- &:after {
917
- background: @gray-light;
918
- bottom: 5px;
919
- content: '';
920
- height: @input-height-base - 10px;
921
- position: absolute;
922
- right: 0;
923
- width: 2px;
924
- }
925
- }
926
- }
927
-
928
- + .table-toolbar-column {
929
- margin-left: 15px;
930
- }
931
- }
932
-
933
- .table-btn-toolbar {
934
- display: flex;
935
- flex-wrap: wrap;
936
- }
937
-
938
- > .table-toolbar-label {
939
- width: 100%;
940
- }
941
-
942
- &[class*='-left'] {
943
- flex: 1 1 auto;
944
- }
945
-
946
- &[class*='-right'] {
947
- justify-content: flex-end;
948
- margin-left: 15px;
949
- }
950
- }
951
- }
952
-
953
- .table-toolbar-search {
954
- max-width: 100%;
955
- width: 300px;
956
- }
957
- }
958
-
959
- .table-toolbar-cards-sorting {
960
- &:not(.multiselect-table) {
961
- margin-bottom: 10px;
962
- }
963
-
964
- &.multiselect-table {
965
- float: left;
966
- margin: 0 0 -(@btn-size-default) 47px !important;
967
- }
968
- }
969
-
970
848
  // Bootstrap Cols
971
849
  table td[class*="col-"],
972
850
  table th[class*="col-"] {
@@ -2,7 +2,7 @@
2
2
 
3
3
  @font-face {
4
4
  font-family: "rioglyph";
5
- src: url("rioglyph.woff?4f89ef51d7bec2188389c1c1ee44ac59") format("woff");
5
+ src: url("rioglyph.woff?14b6680c6235c42a26bca0913e1eea27") format("woff");
6
6
  font-weight: normal;
7
7
  font-style: normal;
8
8
  }
@@ -1094,6 +1094,11 @@
1094
1094
  .hover-rioglyph-share-alt:hover:before {
1095
1095
  content: "\e982";
1096
1096
  }
1097
+ @rioglyph-ship: "\f18d";
1098
+ .rioglyph-ship:before,
1099
+ .hover-rioglyph-ship:hover:before {
1100
+ content: "\f18d";
1101
+ }
1097
1102
  @rioglyph-shopping-cart: "\e98b";
1098
1103
  .rioglyph-shopping-cart:before,
1099
1104
  .hover-rioglyph-shopping-cart:hover:before {