@kando-env/kando-ui 1.2.28-alpha.13 → 1.2.28-alpha.2

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 (27) hide show
  1. package/lib/Router.js +7 -1
  2. package/lib/Widgets/Map/Map.js +3 -6
  3. package/lib/Widgets/Map/points/PointMarker.js +1 -2
  4. package/lib/Widgets/Map/points/PointMarkers.js +3 -5
  5. package/lib/i18n/en.json +5 -18
  6. package/lib/i18n/he.json +3 -8
  7. package/lib/macros/getVersion.js +2 -2
  8. package/lib/pages/EventsPage/events/EventsStyle.scss +281 -0
  9. package/lib/pages/EventsPage/events/events_list/EventsList.js +2 -3
  10. package/lib/pages/EventsPage/events/events_list/Filter/FilterContainer.js +16 -29
  11. package/lib/pages/EventsPage/events/events_list/Filter/FilterItem.js +1 -13
  12. package/lib/pages/SamplingsPage/NewSamplingAction.js +2 -2
  13. package/lib/pages/SamplingsPage/SamplingProperties/SamplingMobileProperties.js +2 -3
  14. package/lib/pages/SamplingsPage/SamplingProperties/SamplingPropertiesForm.js +34 -41
  15. package/lib/pages/SamplingsPage/SamplingProperties/samplingPropertiesUtils.js +8 -8
  16. package/lib/pages/SamplingsPage/SamplingsMobileList.js +5 -12
  17. package/lib/pages/SamplingsPage/SamplingsPage.js +14 -18
  18. package/lib/pages/SamplingsPage/SamplingsPageContainer.js +5 -23
  19. package/lib/pages/SamplingsPage/style.module.scss +11 -5
  20. package/lib/pages/UtilityDashboardPage/UtilityDashboardMapContainer/UtilityDashboardMapContainer.js +2 -3
  21. package/lib/ui-kit/KandoTable/KandoTable.js +2 -2
  22. package/lib/ui-kit/MobileInput/MobileInput.js +1 -1
  23. package/lib/utilities/kql.js +2 -2
  24. package/lib/utilities/urls.js +2 -2
  25. package/package.json +1 -1
  26. package/lib/pages/EventsPage/events/events_list/Filter/FilterStyle.scss +0 -281
  27. package/lib/pages/SamplingsPage/FilterStyle.scss +0 -29
@@ -1,281 +0,0 @@
1
- .filter-container {
2
- z-index: 9;
3
- position: absolute;
4
- top: 0;
5
- left: 100%;
6
- min-height: 7em;
7
- width: calc(100vw - 480px);
8
- background: white;
9
- box-shadow: 0px 2px 27px rgba(0, 0, 0, 0.2);
10
- padding: 1em;
11
-
12
- &--hidden {
13
- display: none;
14
- }
15
-
16
- [dir='rtl'] & {
17
- right: 100%;
18
- left: unset;
19
- padding: 2em;
20
- }
21
-
22
- .preset-icon,
23
- .save-icon {
24
- margin: 0 5px;
25
- vertical-align: baseline;
26
- }
27
-
28
- &::before {
29
- content: '◀';
30
- display: none;
31
- position: absolute;
32
- top: 18px;
33
- color: white;
34
-
35
- .rtl & {
36
- right: -10px;
37
- transform: rotate(180deg);
38
- }
39
-
40
- .ltr & {
41
- left: -10px;
42
- }
43
- }
44
-
45
- .apply-button-container {
46
- cursor: pointer;
47
-
48
- .apply-button {
49
- background-color: #f6004f;
50
- border: 1px solid #f6004f;
51
- padding: 6px 29px;
52
- font-size: 14px;
53
-
54
- border-radius: 12px;
55
- color: white;
56
- text-decoration: none;
57
- }
58
- }
59
-
60
- #dropdown-basic {
61
- background: white;
62
- color: black;
63
- font-size: 1em;
64
- border: none;
65
- padding: 0;
66
-
67
- &:focus {
68
- box-shadow: none !important;
69
- border: none !important;
70
- }
71
- }
72
-
73
- .dropdown-menu.show {
74
- width: max-content;
75
-
76
- .filter-dropdown-item {
77
- display: flex;
78
- justify-content: space-between;
79
- padding: 0 20px;
80
-
81
- &:hover {
82
- .filter-actions {
83
- opacity: 1;
84
- transition: ease-in 0.1s;
85
- }
86
- }
87
-
88
- .filter-actions {
89
- font-size: 0.7em;
90
- display: flex;
91
- align-items: center;
92
- opacity: 0;
93
- }
94
- }
95
- }
96
-
97
- &__content {
98
- &__header {
99
- display: flex;
100
- justify-content: space-between;
101
-
102
- .title {
103
- h4 {
104
- margin: 0;
105
- font-size: 18px;
106
- font-weight: 700;
107
- }
108
- }
109
-
110
- .actions {
111
- display: flex;
112
-
113
- .action {
114
- padding: 0 5px;
115
- cursor: pointer;
116
- color: black;
117
- margin: 0 3px;
118
- text-decoration: none;
119
-
120
- .dropdown-item {
121
- color: black;
122
- a {
123
- color: black;
124
- }
125
- }
126
-
127
- .dropdown-item.disabled {
128
- color: #6c757d !important;
129
- }
130
-
131
- &--save {
132
- margin: 0;
133
- padding: 0.25rem 1.5rem;
134
-
135
- &:hover {
136
- text-decoration: none;
137
- background-color: #f8f9fa;
138
- }
139
- }
140
-
141
- span {
142
- padding: 0 6px;
143
- min-width: 6em;
144
- }
145
-
146
- .new-filter-popup {
147
- text-align: center;
148
- padding: 15px;
149
- cursor: text;
150
-
151
- button {
152
- width: 100%;
153
- }
154
- }
155
- }
156
- }
157
- }
158
-
159
- &__body {
160
- display: flex;
161
- align-items: center;
162
-
163
- .input-group {
164
- width: 15em;
165
- position: absolute;
166
- z-index: 9;
167
- top: 0.5em;
168
- background: white;
169
-
170
- .rtl & {
171
- left: 5em;
172
- }
173
-
174
- .ltr & {
175
- right: 6em;
176
- }
177
- }
178
-
179
- .filter {
180
- display: flex;
181
- align-items: center;
182
-
183
- .custom-dropdown {
184
- display: flex;
185
- flex-direction: column;
186
- position: relative;
187
- background: #ffffff;
188
- border: 1px solid #dddddd;
189
- color: #666666;
190
- width: 13.2em;
191
- &.custom-container {
192
- width: 29rem;
193
- padding: 23px;
194
- }
195
- overflow: hidden;
196
- padding: 10px;
197
-
198
- .option {
199
- margin: 5px 0;
200
-
201
- input {
202
- margin: 0 3px;
203
- cursor: pointer !important;
204
- }
205
-
206
- label {
207
- cursor: pointer !important;
208
- }
209
- }
210
- }
211
- }
212
-
213
- .filter_items {
214
- display: flex;
215
- flex-wrap: wrap;
216
- margin: 12px 0;
217
- list-style-type: none;
218
-
219
- .fixed-action {
220
- padding: 12px;
221
- .plus-icon {
222
- margin: 0 5px;
223
- vertical-align: baseline;
224
- }
225
- }
226
-
227
- .filter_item {
228
- padding: 6px 12px;
229
- background: rgba(0, 0, 0, 0.1);
230
- border-radius: 12px;
231
- margin: 6px 12px;
232
- display: flex;
233
- justify-content: space-between;
234
- align-items: center;
235
- position: relative;
236
- min-height: 33px;
237
- cursor: pointer;
238
- margin-left: 0;
239
-
240
- &__content {
241
- display: flex;
242
- align-items: center;
243
-
244
- &__selections {
245
- display: flex;
246
- flex-wrap: wrap;
247
-
248
- &__selection {
249
- margin: 0 5px;
250
- font-weight: bold;
251
- }
252
- }
253
- }
254
-
255
- a {
256
- cursor: pointer;
257
- .rtl & {
258
- margin-right: 15px;
259
- }
260
-
261
- .ltr & {
262
- margin-left: 15px;
263
- }
264
- }
265
-
266
- .filter-items-options-popup-container {
267
- position: absolute;
268
- bottom: 0;
269
- transform: translateY(100%);
270
- left: 0;
271
- z-index: 9;
272
-
273
- .filter-items-options-popup {
274
- width: 200px;
275
- }
276
- }
277
- }
278
- }
279
- }
280
- }
281
- }
@@ -1,29 +0,0 @@
1
- // overrides only!
2
-
3
- .samplingsLayout {
4
- .filter-container__content__header {
5
- justify-content: start !important;
6
- align-items: center !important;
7
- }
8
-
9
- .filter-container__content__body .filter_items .fixed-action {
10
- padding-inline-start: 0 !important;
11
- }
12
-
13
- .filter-container {
14
- z-index: 9;
15
- position: unset !important;
16
- top: unset !important;
17
- left: unset !important;
18
- box-shadow: unset !important;
19
- width: 40em !important;
20
-
21
- [dir='rtl'] & {
22
- padding-inline-start: 1em !important;
23
- }
24
-
25
- @media (max-width: 450px) {
26
- width: 23em !important;
27
- }
28
- }
29
- }