@eturnity/eturnity_reusable_components 7.35.1-EPDM-10620.6 → 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
@@ -15,27 +15,31 @@
|
|
15
15
|
>
|
16
16
|
{{ item.name }}
|
17
17
|
</ListItem>
|
18
|
-
<
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
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
|
-
<
|
32
|
-
<
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
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>
|
@@ -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:
|
215
|
+
padding: 0px 10px 0px 20px;
|
208
216
|
font-size: 13px;
|
209
|
-
height:
|
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
|
-
|
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.
|
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:
|
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(
|
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: {
|