@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eturnity/eturnity_reusable_components",
3
- "version": "9.19.6",
3
+ "version": "9.19.8",
4
4
  "files": [
5
5
  "dist",
6
6
  "src"
@@ -520,10 +520,10 @@
520
520
  : props.fontColor};
521
521
  max-height: 300px;
522
522
  overflow-y: auto;
523
+ overflow-x: hidden;
523
524
  ${(props) =>
524
525
  props.dropdownMatchMaxContent
525
526
  ? `
526
- overflow-x: visible;
527
527
  align-items: stretch;
528
528
  `
529
529
  : ''}
@@ -49,46 +49,46 @@
49
49
  @on-dropdown-close="onResponsibleSelectDropdownClose"
50
50
  @on-dropdown-open="onResponsibleSelectDropdownOpen"
51
51
  >
52
- <template #selector>
53
- <ResponsibleSelectorRow>
54
- <ResponsibleAvatar>{{
55
- responsibleInitials
56
- }}</ResponsibleAvatar>
57
- <ResponsibleTextStack>
58
- <ResponsibleRoleLabel>{{
59
- $gettext('responsible')
60
- }}</ResponsibleRoleLabel>
61
- <ResponsibleNameLine :title="responsibleDisplayName">{{
62
- responsibleDisplayName
63
- }}</ResponsibleNameLine>
64
- </ResponsibleTextStack>
65
- </ResponsibleSelectorRow>
66
- </template>
67
- <template #dropdown>
68
- <SelectOption
69
- v-for="(item, optionIdx) in projectManagerOptions"
70
- :key="
71
- item.id === null || item.id === undefined
72
- ? `pm_opt_none_${optionIdx}`
73
- : `pm_opt_${item.id}`
74
- "
75
- :data-id="`sidebar_responsible_option_${optionIdx + 1}`"
76
- :data-qa-id="`sidebar_responsible_option_${
77
- optionIdx + 1
78
- }`"
79
- min-width="min-content"
80
- :value="item.id"
81
- >
82
- <ResponsibleOptionRow>
83
- <ResponsibleOptionAvatar>{{
84
- initialsFromFullName(item.full_name)
85
- }}</ResponsibleOptionAvatar>
86
- <SelectOptionText>{{
87
- item.full_name
88
- }}</SelectOptionText>
89
- </ResponsibleOptionRow>
90
- </SelectOption>
91
- </template>
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' : '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: max-content;
692
- min-width: 100%;
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: 0 1 auto;
715
+ flex: 1 1 auto;
716
+ min-width: 0;
716
717
  white-space: nowrap;
717
- overflow: visible;
718
+ overflow: hidden;
719
+ text-overflow: ellipsis;
718
720
  `
719
721
 
720
722
  export default {