@eturnity/eturnity_reusable_components 9.19.6 → 9.19.8
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
|
@@ -49,46 +49,46 @@
|
|
|
49
49
|
@on-dropdown-close="onResponsibleSelectDropdownClose"
|
|
50
50
|
@on-dropdown-open="onResponsibleSelectDropdownOpen"
|
|
51
51
|
>
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
<
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
52
|
+
<template #selector>
|
|
53
|
+
<ResponsibleSelectorRow>
|
|
54
|
+
<ResponsibleAvatar>{{
|
|
55
|
+
responsibleInitials
|
|
56
|
+
}}</ResponsibleAvatar>
|
|
57
|
+
<ResponsibleTextStack>
|
|
58
|
+
<ResponsibleRoleLabel>{{
|
|
59
|
+
$gettext('responsible')
|
|
60
|
+
}}</ResponsibleRoleLabel>
|
|
61
|
+
<ResponsibleNameLine
|
|
62
|
+
:title="responsibleDisplayName"
|
|
63
|
+
>{{ responsibleDisplayName }}</ResponsibleNameLine
|
|
64
|
+
>
|
|
65
|
+
</ResponsibleTextStack>
|
|
66
|
+
</ResponsibleSelectorRow>
|
|
67
|
+
</template>
|
|
68
|
+
<template #dropdown>
|
|
69
|
+
<SelectOption
|
|
70
|
+
v-for="(item, optionIdx) in projectManagerOptions"
|
|
71
|
+
:key="
|
|
72
|
+
item.id === null || item.id === undefined
|
|
73
|
+
? `pm_opt_none_${optionIdx}`
|
|
74
|
+
: `pm_opt_${item.id}`
|
|
75
|
+
"
|
|
76
|
+
:data-id="`sidebar_responsible_option_${optionIdx + 1}`"
|
|
77
|
+
:data-qa-id="`sidebar_responsible_option_${
|
|
78
|
+
optionIdx + 1
|
|
79
|
+
}`"
|
|
80
|
+
:value="item.id"
|
|
81
|
+
>
|
|
82
|
+
<ResponsibleOptionRow>
|
|
83
|
+
<ResponsibleOptionAvatar>{{
|
|
84
|
+
initialsFromFullName(item.full_name)
|
|
85
|
+
}}</ResponsibleOptionAvatar>
|
|
86
|
+
<SelectOptionText :title="item.full_name">{{
|
|
87
|
+
item.full_name
|
|
88
|
+
}}</SelectOptionText>
|
|
89
|
+
</ResponsibleOptionRow>
|
|
90
|
+
</SelectOption>
|
|
91
|
+
</template>
|
|
92
92
|
</SelectComponent>
|
|
93
93
|
</ResponsibleSelectSurface>
|
|
94
94
|
</ResponsibleCard>
|
|
@@ -596,7 +596,7 @@
|
|
|
596
596
|
align-items: center;
|
|
597
597
|
justify-content: center;
|
|
598
598
|
flex-shrink: 0;
|
|
599
|
-
margin-left: ${(p) => (p.isCollapsed ? '0' : '
|
|
599
|
+
margin-left: ${(p) => (p.isCollapsed ? '0' : 'auto')};
|
|
600
600
|
`
|
|
601
601
|
|
|
602
602
|
const ResponsibleBlock = styled.div`
|
|
@@ -688,8 +688,8 @@
|
|
|
688
688
|
flex-direction: row;
|
|
689
689
|
align-items: center;
|
|
690
690
|
gap: 10px;
|
|
691
|
-
width:
|
|
692
|
-
min-width:
|
|
691
|
+
width: 100%;
|
|
692
|
+
min-width: 0;
|
|
693
693
|
box-sizing: border-box;
|
|
694
694
|
`
|
|
695
695
|
|
|
@@ -712,9 +712,11 @@
|
|
|
712
712
|
font-size: 14px;
|
|
713
713
|
font-weight: 400;
|
|
714
714
|
color: ${(p) => p.theme.semanticColors.grey[800]};
|
|
715
|
-
flex:
|
|
715
|
+
flex: 1 1 auto;
|
|
716
|
+
min-width: 0;
|
|
716
717
|
white-space: nowrap;
|
|
717
|
-
overflow:
|
|
718
|
+
overflow: hidden;
|
|
719
|
+
text-overflow: ellipsis;
|
|
718
720
|
`
|
|
719
721
|
|
|
720
722
|
export default {
|