@kando-env/kando-ui 1.2.28-alpha.8 → 1.2.28

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 +31 -31
  2. package/lib/Widgets/EventsRow/EventsRow.js +9 -9
  3. package/lib/Widgets/MostPolluting/components/ChangePercent.js +4 -8
  4. package/lib/i18n/en.json +6 -12
  5. package/lib/i18n/he.json +6 -12
  6. package/lib/macros/getVersion.js +2 -2
  7. package/lib/pages/EventsPage/events/EventsStyle.scss +281 -0
  8. package/lib/pages/EventsPage/events/events_list/EventsList.js +2 -3
  9. package/lib/pages/EventsPage/events/events_list/Filter/FilterContainer.js +16 -29
  10. package/lib/pages/EventsPage/events/events_list/Filter/FilterItem.js +1 -13
  11. package/lib/pages/SamplingsPage/NewSamplingAction.js +2 -2
  12. package/lib/pages/SamplingsPage/SamplingActionDropdown.js +19 -28
  13. package/lib/pages/SamplingsPage/SamplingProperties/SamplingMobileProperties.js +17 -31
  14. package/lib/pages/SamplingsPage/SamplingProperties/SamplingPropertiesForm.js +30 -87
  15. package/lib/pages/SamplingsPage/SamplingProperties/samplingPropertiesUtils.js +5 -15
  16. package/lib/pages/SamplingsPage/SamplingsPage.js +5 -20
  17. package/lib/pages/SamplingsPage/SamplingsPageContainer.js +5 -23
  18. package/lib/pages/SamplingsPage/samplingsPageUtils.js +5 -5
  19. package/lib/pages/SamplingsPage/style.module.scss +8 -17
  20. package/lib/ui-kit/ImageUploadButton/ImageUploadButton.js +2 -2
  21. package/lib/ui-kit/MobileInput/MobileInput.js +1 -1
  22. package/lib/utilities/kql.js +2 -2
  23. package/lib/utilities/urls.js +3 -3
  24. package/package.json +1 -1
  25. package/lib/pages/EventsPage/events/events_list/Filter/FilterStyle.scss +0 -280
  26. package/lib/pages/SamplingsPage/FilterStyle.scss +0 -20
  27. package/lib/pages/SamplingsPage/SamplingProperties/bootstrap.overrides.scss +0 -7
@@ -1,280 +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
-
218
- .fixed-action {
219
- padding: 12px;
220
- .plus-icon {
221
- margin: 0 5px;
222
- vertical-align: baseline;
223
- }
224
- }
225
-
226
- .filter_item {
227
- padding: 6px 12px;
228
- background: rgba(0, 0, 0, 0.1);
229
- border-radius: 12px;
230
- margin: 6px 12px;
231
- display: flex;
232
- justify-content: space-between;
233
- align-items: center;
234
- position: relative;
235
- min-height: 33px;
236
- cursor: pointer;
237
- margin-left: 0;
238
-
239
- &__content {
240
- display: flex;
241
- align-items: center;
242
-
243
- &__selections {
244
- display: flex;
245
- flex-wrap: wrap;
246
-
247
- &__selection {
248
- margin: 0 5px;
249
- font-weight: bold;
250
- }
251
- }
252
- }
253
-
254
- a {
255
- cursor: pointer;
256
- .rtl & {
257
- margin-right: 15px;
258
- }
259
-
260
- .ltr & {
261
- margin-left: 15px;
262
- }
263
- }
264
-
265
- .filter-items-options-popup-container {
266
- position: absolute;
267
- bottom: 0;
268
- transform: translateY(100%);
269
- left: 0;
270
- z-index: 9;
271
-
272
- .filter-items-options-popup {
273
- width: 200px;
274
- }
275
- }
276
- }
277
- }
278
- }
279
- }
280
- }
@@ -1,20 +0,0 @@
1
- // overrides only!
2
-
3
- .samplingsLayout {
4
- .filter-container {
5
- z-index: 9;
6
- position: unset !important;
7
- top: unset !important;
8
- left: unset !important;
9
- box-shadow: unset !important;
10
- width: 30em !important;
11
-
12
- [dir='rtl'] & {
13
- padding-inline-start: 1em !important;
14
- }
15
-
16
- @media (max-width: 450px) {
17
- width: 23em !important;
18
- }
19
- }
20
- }
@@ -1,7 +0,0 @@
1
- /* Fix rtl check-inputs */
2
- .rtls {
3
- .form-check-input[type='radio'] + label {
4
- padding-right: 20px;
5
- padding-left: 0;
6
- }
7
- }