@eturnity/eturnity_reusable_components 7.35.1-EPDM-10620.5 → 7.35.1-EPDM-10620.7

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eturnity/eturnity_reusable_components",
3
- "version": "7.35.1-EPDM-10620.5",
3
+ "version": "7.35.1-EPDM-10620.7",
4
4
  "files": [
5
5
  "dist",
6
6
  "src"
@@ -15,27 +15,31 @@
15
15
  >
16
16
  {{ item.name }}
17
17
  </ListItem>
18
- <ButtonContainer
19
- v-if="optionsList.length > optionLimit || hasComponent"
20
- name="more_options,_tool_tips"
21
- @click="expandOptions"
22
- >
23
- <DotItem />
24
- <DotItem />
25
- <DotItem />
26
- </ButtonContainer>
18
+ <IconContainer>
19
+ <ButtonContainer
20
+ v-if="optionsList.length > optionLimit || hasComponent"
21
+ name="more_options,_tool_tips"
22
+ @click="expandOptions"
23
+ >
24
+ <DotItem />
25
+ <DotItem />
26
+ <DotItem />
27
+ </ButtonContainer>
28
+ </IconContainer>
27
29
  </ListContainer>
28
30
  <EmptyText v-if="!optionsList.length">
29
31
  {{ $gettext('no_batch_actions_available') }}
30
32
  </EmptyText>
31
- <IconContainer @click="$emit('on-close')">
32
- <Icon
33
- color="white"
34
- cursor="pointer"
35
- name="close_for_modals,_tool_tips"
36
- size="14px"
37
- />
38
- </IconContainer>
33
+ <CloseContainer>
34
+ <IconContainer @click="$emit('on-close')">
35
+ <Icon
36
+ color="white"
37
+ cursor="pointer"
38
+ name="close_for_modals,_tool_tips"
39
+ size="14px"
40
+ />
41
+ </IconContainer>
42
+ </CloseContainer>
39
43
  </BoxContainer>
40
44
  </PageContainer>
41
45
  <CenterPageContainer v-else>
@@ -169,10 +173,10 @@
169
173
 
170
174
  const OptionsContainer = styled.div`
171
175
  position: fixed;
172
- right: -300px;
176
+ right: -252px;
173
177
  background-color: ${(props) => props.theme.colors.black};
174
178
  border-radius: 4px;
175
- padding: 20px;
179
+ padding: 15px;
176
180
  `
177
181
 
178
182
  const SelectedContainer = styled.div`
@@ -195,6 +199,10 @@
195
199
  const BoxTitle = styled.div`
196
200
  font-size: 13px;
197
201
  color: ${(props) => props.theme.colors.white};
202
+ transform: translateZ(0);
203
+ backface-visibility: hidden;
204
+ -webkit-font-smoothing: antialiased;
205
+ -moz-osx-font-smoothing: grayscale;
198
206
  `
199
207
 
200
208
  const BoxContainer = styled.div`
@@ -204,9 +212,9 @@
204
212
  opacity: 90%;
205
213
  color: ${(props) => props.theme.colors.white};
206
214
  border-radius: 4px;
207
- padding: 8px 10px 8px 20px;
215
+ padding: 0px 10px 0px 20px;
208
216
  font-size: 13px;
209
- height: 40px;
217
+ height: 45px;
210
218
  `
211
219
 
212
220
  const CenterBox = styled(BoxContainer)`
@@ -232,6 +240,11 @@
232
240
  background: ${(props) => props.theme.colors.white};
233
241
  }
234
242
  `
243
+
244
+ const CloseContainer = styled.div`
245
+ margin-left: 20px;
246
+ `
247
+
235
248
  const DotItem = styled.div`
236
249
  width: 4px;
237
250
  height: 4px;
@@ -240,10 +253,9 @@
240
253
  `
241
254
 
242
255
  const ListContainer = styled.div`
243
- padding: 0 20px;
256
+ height: 100%;
244
257
  display: flex;
245
258
  align-items: center;
246
- gap: 20px;
247
259
  color: ${(props) => props.theme.colors.white};
248
260
  `
249
261
 
@@ -254,16 +266,21 @@
254
266
 
255
267
  const ListItem = styled('div', ListAttrs)`
256
268
  width: max-content;
269
+ height: 100%;
270
+ display: flex;
271
+ align-items: center;
272
+ padding: 0 10px;
257
273
  cursor: ${(props) => (props.disabled ? 'not-allowed' : 'pointer')};
258
274
  color: ${(props) => props.disabled && props.theme.colors.grey3};
259
275
 
260
276
  &:hover {
277
+ background: rgba(255, 255, 255, 0.1);
261
278
  color: ${(props) =>
262
279
  props.disabled
263
280
  ? props.theme.colors.grey3
264
281
  : props.hoverColor
265
282
  ? props.theme.colors[props.hoverColor]
266
- : props.theme.colors.green};
283
+ : props.theme.colors.white};
267
284
  }
268
285
  `
269
286
 
@@ -274,7 +291,7 @@
274
291
  height: 30px;
275
292
  width: 30px;
276
293
  cursor: pointer;
277
- margin-left: 15px;
294
+ margin-left: 8px;
278
295
 
279
296
  &:hover {
280
297
  background: rgba(255, 255, 255, 0.1);
@@ -288,12 +305,14 @@
288
305
  flex-direction: column;
289
306
  `
290
307
 
291
- const ExpandedListItem = styled(ListItem)`
292
- display: flex;
308
+ const ExpandedListItem = styled('div', ListAttrs)`
293
309
  width: 100%;
310
+ display: flex;
294
311
  justify-content: space-between;
295
312
  align-items: center;
296
313
  padding: 13px 15px;
314
+ cursor: ${(props) => (props.disabled ? 'not-allowed' : 'pointer')};
315
+ color: ${(props) => props.disabled && props.theme.colors.grey3};
297
316
 
298
317
  &:hover {
299
318
  background: rgba(255, 255, 255, 0.1);
@@ -347,6 +366,7 @@
347
366
  Divider,
348
367
  DividerContainer,
349
368
  ExpandedList,
369
+ CloseContainer,
350
370
  },
351
371
  props: {
352
372
  optionsList: {