@zohodesk/components 1.0.0-temp-210.1 → 1.0.0-temp-199.2

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 (41) hide show
  1. package/README.md +4 -4
  2. package/es/DateTime/CalendarView.js +9 -7
  3. package/es/ListItem/ListItem.js +2 -2
  4. package/es/ListItem/ListItem.module.css +85 -18
  5. package/es/ListItem/ListItemWithAvatar.js +3 -3
  6. package/es/ListItem/ListItemWithIcon.js +2 -2
  7. package/es/MultiSelect/AdvancedGroupMultiSelect.js +7 -2
  8. package/es/MultiSelect/AdvancedMultiSelect.js +2 -1
  9. package/es/MultiSelect/MultiSelect.js +7 -2
  10. package/es/MultiSelect/Suggestions.js +8 -4
  11. package/es/MultiSelect/props/defaultProps.js +6 -4
  12. package/es/MultiSelect/props/propTypes.js +4 -2
  13. package/es/Popup/Popup.js +8 -97
  14. package/es/Select/GroupSelect.js +7 -2
  15. package/es/Select/SelectWithAvatar.js +7 -2
  16. package/es/Select/SelectWithIcon.js +4 -2
  17. package/es/Select/props/defaultProps.js +4 -2
  18. package/es/Select/props/propTypes.js +4 -2
  19. package/es/v1/Popup/Popup.js +8 -96
  20. package/lib/DateTime/CalendarView.js +9 -7
  21. package/lib/ListItem/ListItem.js +2 -2
  22. package/lib/ListItem/ListItem.module.css +85 -18
  23. package/lib/ListItem/ListItemWithAvatar.js +3 -3
  24. package/lib/ListItem/ListItemWithIcon.js +2 -2
  25. package/lib/MultiSelect/AdvancedGroupMultiSelect.js +7 -3
  26. package/lib/MultiSelect/AdvancedMultiSelect.js +3 -1
  27. package/lib/MultiSelect/MultiSelect.js +6 -3
  28. package/lib/MultiSelect/Suggestions.js +8 -4
  29. package/lib/MultiSelect/props/defaultProps.js +6 -4
  30. package/lib/MultiSelect/props/propTypes.js +6 -5
  31. package/lib/Popup/Popup.js +9 -106
  32. package/lib/Select/GroupSelect.js +8 -3
  33. package/lib/Select/SelectWithAvatar.js +8 -3
  34. package/lib/Select/SelectWithIcon.js +5 -3
  35. package/lib/Select/props/defaultProps.js +4 -2
  36. package/lib/Select/props/propTypes.js +4 -2
  37. package/lib/v1/Popup/Popup.js +9 -105
  38. package/package.json +4 -4
  39. package/result.json +1 -1
  40. package/es/Popup/props/propTypes.js +0 -31
  41. package/lib/Popup/props/propTypes.js +0 -44
package/README.md CHANGED
@@ -34,9 +34,9 @@ In this Package, we Provide Some Basic Components to Build Web App
34
34
 
35
35
  # 1.2.47
36
36
 
37
- - **Popup**
38
- - `isBlockedOutsideScroll` prop supported - Scroll blocking behviours supported
39
- - Fixed popup re-positioning on window resize not working properly - Issue fixed
37
+ - **DateTime**
38
+
39
+ - The issue of the dateTime_dateSelected string being duplicated in the data_id attribute when selecting the last day of the month has been resolved.
40
40
 
41
41
  # 1.2.46
42
42
 
@@ -97,7 +97,7 @@ In this Package, we Provide Some Basic Components to Build Web App
97
97
 
98
98
  - **LibraryContext** - coloredTagVariant, hasTagColorInheritedToText properties added
99
99
  - **Tag** - customAttributes prop supported
100
- - **TextBoxIcon** - needInputFocusOnWrapperClick prop supported
100
+ - **TextBoxIcon** - needInputFocusOnParentClick prop supported
101
101
 
102
102
  # 1.2.38
103
103
 
@@ -62,6 +62,7 @@ export default class CalendarView extends React.PureComponent {
62
62
  let output = null;
63
63
 
64
64
  for (let i = 1; i < 8; i++) {
65
+ isSelectedDay = false;
65
66
  let tdclass = `${style.datesStr} ${style.grid}`;
66
67
 
67
68
  if (i === 1) {
@@ -102,8 +103,8 @@ export default class CalendarView extends React.PureComponent {
102
103
 
103
104
  const prevMonthEnd = getMonthEnd(prevMonth, prevYear);
104
105
  const prevDate = prevMonthEnd - (userSeeDay - 1) + incremleti; // isSelectedDay =
105
-
106
- prevDate === parseInt(date) && parseInt(month) === prevMonth && parseInt(year) === prevYear ? true : false; // isToday = prevDate === incremday && todayMonth === userSeeMonth && todayYear === userSeeYear ? true : false;
106
+ // prevDate === parseInt(date) && parseInt(month) === prevMonth && parseInt(year) === prevYear ? true : false;
107
+ // isToday = prevDate === incremday && todayMonth === userSeeMonth && todayYear === userSeeYear ? true : false;
107
108
 
108
109
  output = /*#__PURE__*/React.createElement(Span, {
109
110
  i: i //isActive={isSelectedDay}
@@ -113,7 +114,7 @@ export default class CalendarView extends React.PureComponent {
113
114
  incremday: prevDate,
114
115
  userSeeMonth: prevMonth,
115
116
  userSeeYear: prevYear,
116
- dataId: isSelectedDay ? `${dataId}_dateSelected` : `${dataId}_invalidDate` // isToday={isToday}
117
+ dataId: `${dataId}_invalidDate` // isToday={isToday}
117
118
 
118
119
  });
119
120
  } else if (incremleti > monthEnd) {
@@ -125,9 +126,10 @@ export default class CalendarView extends React.PureComponent {
125
126
  nextYear = userSeeYear + 1;
126
127
  }
127
128
 
128
- const nextDate = incremleti - (userSeeDay - 1) - monthEnd; // isSelectedDay =
129
-
130
- nextDate === parseInt(date) && parseInt(month) === nextMonth && parseInt(year) === nextYear ? true : false; // isToday = nextDate === incremday && todayMonth === userSeeMonth && todayYear === userSeeYear ? true : false;
129
+ const nextDate = incremleti - (userSeeDay - 1) - monthEnd; // console.log('last dates',incremleti, monthEnd,'nextDate',nextDate,'monthEnd',monthEnd,'userSeeDay',userSeeDay)
130
+ // isSelectedDay =
131
+ // nextDate === parseInt(date) && parseInt(month) === nextMonth && parseInt(year) === nextYear ? true : false;
132
+ // isToday = nextDate === incremday && todayMonth === userSeeMonth && todayYear === userSeeYear ? true : false;
131
133
 
132
134
  output = /*#__PURE__*/React.createElement(Span, {
133
135
  i: i // isActive={isSelectedDay}
@@ -137,7 +139,7 @@ export default class CalendarView extends React.PureComponent {
137
139
  incremday: nextDate,
138
140
  userSeeMonth: nextMonth,
139
141
  userSeeYear: nextYear,
140
- dataId: isSelectedDay ? `${dataId}_dateSelected` : `${dataId}_invalidDate` //isToday={isToday}
142
+ dataId: `${dataId}_invalidDate` //isToday={isToday}
141
143
 
142
144
  });
143
145
  } else {
@@ -100,7 +100,7 @@ export default class ListItem extends React.Component {
100
100
  autoHover: autoHover,
101
101
  needTick: needTick,
102
102
  needBorder: needBorder,
103
- customClass: customListItem,
103
+ customClass: `${needMultiLineText ? style.txtAlignBaseLine + ' ' + style.autoHeight : ''} ${customListItem}`,
104
104
  dataId: dataIdString,
105
105
  dataSelectorId: `${dataSelectorId}`,
106
106
  isLink: isLink,
@@ -122,7 +122,7 @@ export default class ListItem extends React.Component {
122
122
  adjust: true,
123
123
  className: style.children
124
124
  }, children) : null, needTick && active ? /*#__PURE__*/React.createElement(Box, {
125
- className: `${style.tickIcon} ${tickIconPalette} ${customTickIcon}`,
125
+ className: `${style.tickIcon} ${tickIconPalette} ${customTickIcon} ${needMultiLineText ? style.tickIconCenter : ''}`,
126
126
  "aria-hidden": ariaHidden,
127
127
  dataId: `${dataIdString}_tickIcon`,
128
128
  dataSelectorId: `${dataSelectorId}_tickIcon`
@@ -17,8 +17,9 @@
17
17
  }[dir=ltr] .varClass {
18
18
  --listitem_avatar_margin: 0 var(--zd_size15) 0 0;
19
19
  }[dir=rtl] .varClass {
20
- --listitem_avatar_margin: 0 0 0 var(--zd_size15);
20
+ --listitem_avatar_margin: 0 var(--zd_size15) 0 0;
21
21
  }
22
+
22
23
  .list {
23
24
  composes: varClass;
24
25
  position: relative;
@@ -34,62 +35,84 @@
34
35
  border-color: var(--listitem_border_color);
35
36
  cursor: pointer;
36
37
  }
38
+
37
39
  .list, .default, .secondary {
38
40
  background-color: var(--listitem_bg_color);
39
41
  }
42
+
40
43
  [dir=ltr] .withBorder {
41
- --listitem_border_width: 0 0 0 1px /*rtl: 0 1px 0 0*/;
44
+ --listitem_border_width: 0 0 0 1px
45
+ /*rtl: 0 1px 0 0*/
46
+ ;
42
47
  }
48
+
43
49
  [dir=rtl] .withBorder {
44
- --listitem_border_width: 0 1px 0 0;
50
+ --listitem_border_width: 0 0 0 1px ;
45
51
  }
52
+
46
53
  .active {
47
54
  --listitem_border_color: var(--zdt_listitem_active_border);
48
55
  }
56
+
49
57
  [dir=ltr] .small {
50
58
  --listitem_padding: var(--zd_size7) var(--zd_size3) var(--zd_size7) var(--zd_size5);
51
59
  }
60
+
52
61
  [dir=rtl] .small {
53
- --listitem_padding: var(--zd_size7) var(--zd_size5) var(--zd_size7) var(--zd_size3);
62
+ --listitem_padding: var(--zd_size7) var(--zd_size3) var(--zd_size7) var(--zd_size5);
54
63
  }
64
+
55
65
  .medium {
56
66
  --listitem_padding: var(--zd_size7) var(--zd_size20);
57
67
  --listitem_min_height: var(--zd_size35);
58
68
  }
69
+
59
70
  .large {
60
71
  --listitem_height: var(--zd_size48);
61
72
  }
73
+
62
74
  [dir=ltr] .large {
63
75
  --listitem_padding: var(--zd_size10) var(--zd_size3) var(--zd_size10) var(--zd_size25);
64
76
  }
77
+
65
78
  [dir=rtl] .large {
66
- --listitem_padding: var(--zd_size10) var(--zd_size25) var(--zd_size10) var(--zd_size3);
79
+ --listitem_padding: var(--zd_size10) var(--zd_size3) var(--zd_size10) var(--zd_size25);
67
80
  }
81
+
68
82
  .value,
69
83
  .children {
70
84
  composes: dotted from '../common/common.module.css';
71
85
  }
72
- .value, .multiLineValue {
86
+
87
+ .value {
73
88
  line-height: 1.5385;
74
89
  }
75
- .multiLineValue{
90
+
91
+ .multiLineValue {
92
+ line-height: 1.5385;
76
93
  word-break: break-word;
77
- composes: clamp from '../common/common.module.css'
94
+ -webkit-line-clamp: 3;
95
+ composes: clamp from '../common/common.module.css';
78
96
  }
97
+
79
98
  .iconBox {
80
99
  width: var(--zd_size20) ;
81
100
  text-align: center;
82
101
  }
102
+
83
103
  [dir=ltr] .iconBox {
84
104
  margin-right: var(--zd_size10) ;
85
105
  }
106
+
86
107
  [dir=rtl] .iconBox {
87
108
  margin-left: var(--zd_size10) ;
88
109
  }
110
+
89
111
  .iconBox,
90
112
  .leftAvatar {
91
113
  font-size: 0 ;
92
114
  }
115
+
93
116
  .leftAvatar {
94
117
  margin: var(--listitem_avatar_margin);
95
118
  }
@@ -97,61 +120,78 @@
97
120
  .defaultHover, .primaryHover, .secondaryHover, .darkHover {
98
121
  background-color: var(--listitem_highlight_bg_color);
99
122
  }
123
+
100
124
  .activewithBorder {
101
125
  --listitem_border_color: var(--zdt_listitem_active_border);
102
126
  }
127
+
103
128
  [dir=ltr] .activewithBorder {
104
- --listitem_border_width: 0 0 0 1px /*rtl: 0 1px 0 0*/;
129
+ --listitem_border_width: 0 0 0 1px
130
+ /*rtl: 0 1px 0 0*/
131
+ ;
105
132
  }
133
+
106
134
  [dir=rtl] .activewithBorder {
107
- --listitem_border_width: 0 1px 0 0;
135
+ --listitem_border_width: 0 0 0 1px ;
108
136
  }
109
137
 
110
138
  .defaultHover,
111
139
  .defaultEffect:hover
140
+
112
141
  /* .defaultEffect:focus */
113
- {
142
+ {
114
143
  --listitem_bg_color: var(--zdt_listitem_highlight_bg);
115
144
  }
145
+
116
146
  .primaryHover,
117
147
  .primaryEffect:hover
148
+
118
149
  /* .primaryEffect:focus */
119
- {
150
+ {
120
151
  --listitem_bg_color: var(--zdt_listitem_primary_bg);
121
152
  --listitem_highlight_bg_color: var(--zdt_listitem_primary_bg);
122
153
  }
154
+
123
155
  .secondaryHover,
124
156
  .secondaryEffect:hover
157
+
125
158
  /* .secondaryEffect:focus */
126
- {
159
+ {
127
160
  --listitem_bg_color: var(--zdt_listitem_secondary_bg);
128
161
  --listitem_highlight_bg_color: var(--zdt_listitem_secondary_bg);
129
162
  --listitem_text_color: var(--zdt_listitem_secondary_text);
130
163
  }
164
+
131
165
  .darkHover,
132
166
  .darkEffect:hover
167
+
133
168
  /* .darkEffect:focus */
134
- {
169
+ {
135
170
  --listitem_bg_color: var(--zdt_listitem_dark_effect_bg);
136
171
  --listitem_highlight_bg_color: var(--zdt_listitem_dark_effect_bg);
137
172
  }
173
+
138
174
  .activedefault, .activeprimary, .activesecondary, .activedark {
139
175
  background-color: var(--listitem_active_bg_color);
140
176
  }
177
+
141
178
  .activedefault,
142
179
  .activedefault:hover,
143
180
  .activeprimary,
144
181
  .activeprimary:hover {
145
182
  --listitem_active_bg_color: var(--zdt_listitem_primary_bg);
146
183
  }
184
+
147
185
  .activesecondary {
148
186
  --listitem_active_bg_color: var(--zdt_listitem_secondary_bg);
149
187
  --listitem_text_color: var(--zdt_listitem_secondary_text);
150
188
  }
189
+
151
190
  .dark {
152
191
  --listitem_bg_color: var(--zdt_listitem_dark_bg);
153
192
  --listitem_text_color: var(--zdt_listitem_dark_text);
154
193
  }
194
+
155
195
  .activedark {
156
196
  --listitem_active_bg_color: var(--zdt_listitem_dark_active_bg);
157
197
  }
@@ -170,36 +210,63 @@
170
210
  [dir=rtl] .tickIcon, [dir=rtl] .defaultTick, [dir=rtl] .darkTick {
171
211
  left: var(--zd_size20) ;
172
212
  }
213
+
173
214
  .defaultTick {
174
215
  --listitem_tickicon_color: var(--zdt_listitem_default_tickicon);
175
216
  }
217
+
176
218
  .darkTick {
177
219
  --listitem_tickicon_color: var(--zdt_listitem_dark_tickicon);
178
220
  }
179
- .defaultTick > i {
221
+
222
+ .defaultTick>i {
180
223
  display: block;
181
224
  }
225
+
182
226
  [dir=ltr] .smallwithTick {
183
227
  --listitem_padding: var(--zd_size7) var(--zd_size39) var(--zd_size7) var(--zd_size5);
184
228
  }
229
+
185
230
  [dir=rtl] .smallwithTick {
186
- --listitem_padding: var(--zd_size7) var(--zd_size5) var(--zd_size7) var(--zd_size39);
231
+ --listitem_padding: var(--zd_size7) var(--zd_size39) var(--zd_size7) var(--zd_size5);
187
232
  }
233
+
188
234
  [dir=ltr] .mediumwithTick {
189
235
  --listitem_padding: var(--zd_size7) var(--zd_size39) var(--zd_size7) var(--zd_size20);
190
236
  }
237
+
191
238
  [dir=rtl] .mediumwithTick {
192
- --listitem_padding: var(--zd_size7) var(--zd_size20) var(--zd_size7) var(--zd_size39);
239
+ --listitem_padding: var(--zd_size7) var(--zd_size39) var(--zd_size7) var(--zd_size20);
193
240
  }
241
+
194
242
  [dir=ltr] .largewithTick {
195
243
  --listitem_padding: var(--zd_size10) var(--zd_size39) var(--zd_size10) var(--zd_size25);
196
244
  }
245
+
197
246
  [dir=rtl] .largewithTick {
198
- --listitem_padding: var(--zd_size10) var(--zd_size25) var(--zd_size10) var(--zd_size39);
247
+ --listitem_padding: var(--zd_size10) var(--zd_size39) var(--zd_size10) var(--zd_size25);
199
248
  }
249
+
200
250
  .responsiveHeight {
201
251
  --listitem_min_height: var(--zd_size45);
202
252
  font-size: var(--zd_font_size15) ;
203
253
  padding-top: var(--zd_size10) ;
204
254
  padding-bottom: var(--zd_size10) ;
205
255
  }
256
+
257
+ .autoHeight {
258
+ height: auto ;
259
+ }
260
+
261
+ .tickIconCenter {
262
+ top: 50% ;
263
+ transform: translateY(-50%);
264
+ }
265
+
266
+ .txtAlignBaseLine {
267
+ align-items: baseline;
268
+ }
269
+
270
+ .alignSelfTop {
271
+ align-self: start;
272
+ }
@@ -105,7 +105,7 @@ export default class ListItemWithAvatar extends React.PureComponent {
105
105
  autoHover: autoHover,
106
106
  needTick: needTick,
107
107
  needBorder: needBorder,
108
- customClass: customListItem,
108
+ customClass: `${needMultiLineText ? style.autoHeight : ''} ${customListItem}`,
109
109
  dataId: `${dataIdString}_ListItemWithAvatar`,
110
110
  dataSelectorId: `${dataSelectorId}`,
111
111
  onClick: this.handleClick,
@@ -116,7 +116,7 @@ export default class ListItemWithAvatar extends React.PureComponent {
116
116
  customProps: ListItemProps,
117
117
  ...ContainerProps
118
118
  }, name || imgSrc ? /*#__PURE__*/React.createElement(Box, {
119
- className: style.leftAvatar
119
+ className: `${needMultiLineText ? style.alignSelfTop : ''} ${style.leftAvatar}`
120
120
  }, isTeam ? /*#__PURE__*/React.createElement(AvatarTeam, {
121
121
  name: name,
122
122
  size: "small",
@@ -143,7 +143,7 @@ export default class ListItemWithAvatar extends React.PureComponent {
143
143
  "data-title": isDisabled ? null : title,
144
144
  className: needMultiLineText ? style.multiLineValue : style.value
145
145
  }, value) : null, needTick && active ? /*#__PURE__*/React.createElement(Box, {
146
- className: style.tickIcon,
146
+ className: `${style.tickIcon} ${needMultiLineText ? style.tickIconCenter : ''}`,
147
147
  "aria-hidden": ariaHidden,
148
148
  dataId: `${dataIdString}_tickIcon`,
149
149
  dataSelectorId: `${dataSelectorId}_tickIcon`
@@ -95,7 +95,7 @@ export default class ListItemWithIcon extends React.Component {
95
95
  autoHover: autoHover,
96
96
  needTick: needTick,
97
97
  needBorder: needBorder,
98
- customClass: customClass,
98
+ customClass: `${needMultiLineText ? style.autoHeight : ''} ${needMultiLineText && iconClass && !iconName ? style.txtAlignBaseLine : ''} ${customClass}`,
99
99
  dataId: dataIdString,
100
100
  dataSelectorId: dataSelectorId,
101
101
  isLink: isLink,
@@ -125,7 +125,7 @@ export default class ListItemWithIcon extends React.Component {
125
125
  "data-title": isDisabled ? null : title,
126
126
  dataId: `${dataIdString}_Text`
127
127
  }, value), needTick && active ? /*#__PURE__*/React.createElement(Box, {
128
- className: style.tickIcon,
128
+ className: `${style.tickIcon} ${needMultiLineText ? style.tickIconCenter : ''}`,
129
129
  "aria-hidden": ariaHidden,
130
130
  dataId: `${dataIdString}_tickIcon`,
131
131
  dataSelectorId: `${dataSelectorId}_tickIcon`
@@ -875,8 +875,12 @@ class AdvancedGroupMultiSelect extends React.Component {
875
875
  palette,
876
876
  needEffect,
877
877
  autoComplete,
878
- getTargetRef
878
+ getTargetRef,
879
+ customProps
879
880
  } = this.props;
881
+ const {
882
+ suggestionsProps
883
+ } = customProps;
880
884
  let {
881
885
  clearText = 'Clear all'
882
886
  } = i18nKeys;
@@ -1055,7 +1059,8 @@ class AdvancedGroupMultiSelect extends React.Component {
1055
1059
  a11y: {
1056
1060
  role: 'option'
1057
1061
  },
1058
- dataId: `${dataId}_Options`
1062
+ dataId: `${dataId}_Options`,
1063
+ ...suggestionsProps
1059
1064
  }));
1060
1065
  }) : /*#__PURE__*/React.createElement(EmptyState, {
1061
1066
  options: revampedGroups,
@@ -549,7 +549,8 @@ export class AdvancedMultiSelectComponent extends MultiSelectComponent {
549
549
  role: 'option'
550
550
  },
551
551
  dataId: `${dataIdMultiSelectComp}_Options`,
552
- ...SuggestionsProps
552
+ ...SuggestionsProps,
553
+ needMultiLineText: true
553
554
  }) : /*#__PURE__*/React.createElement(EmptyState, {
554
555
  isLoading: isFetchingOptions,
555
556
  options: options,
@@ -1015,8 +1015,12 @@ export class MultiSelectComponent extends React.Component {
1015
1015
  boxSize,
1016
1016
  isLoading,
1017
1017
  selectAllText,
1018
- needSelectAll
1018
+ needSelectAll,
1019
+ customProps
1019
1020
  } = this.props;
1021
+ const {
1022
+ suggestionsProps = {}
1023
+ } = customProps;
1020
1024
  const {
1021
1025
  selectedOptions,
1022
1026
  searchStr,
@@ -1106,7 +1110,8 @@ export class MultiSelectComponent extends React.Component {
1106
1110
  selectedOptions: selectedOptionIds,
1107
1111
  a11y: {
1108
1112
  role: 'option'
1109
- }
1113
+ },
1114
+ ...suggestionsProps
1110
1115
  }) : /*#__PURE__*/React.createElement(EmptyState, {
1111
1116
  isLoading: isFetchingOptions,
1112
1117
  options: options,
@@ -27,7 +27,8 @@ export default class Suggestions extends React.PureComponent {
27
27
  avatarPalette,
28
28
  palette,
29
29
  htmlId,
30
- a11y
30
+ a11y,
31
+ needMultiLineText
31
32
  } = this.props;
32
33
  const {
33
34
  ariaParentRole,
@@ -92,7 +93,8 @@ export default class Suggestions extends React.PureComponent {
92
93
  size: listItemSize,
93
94
  avatarPalette: avatarPalette,
94
95
  palette: palette,
95
- a11y: list_a11y
96
+ a11y: list_a11y,
97
+ needMultiLineText: needMultiLineText
96
98
  });
97
99
  } else if (optionType === 'icon') {
98
100
  return /*#__PURE__*/React.createElement(ListItemWithIcon, { ...commonProps,
@@ -112,7 +114,8 @@ export default class Suggestions extends React.PureComponent {
112
114
  iconSize: iconSize,
113
115
  size: listItemSize,
114
116
  palette: palette,
115
- a11y: list_a11y
117
+ a11y: list_a11y,
118
+ needMultiLineText: needMultiLineText
116
119
  });
117
120
  }
118
121
 
@@ -131,7 +134,8 @@ export default class Suggestions extends React.PureComponent {
131
134
  active: isActive,
132
135
  size: listItemSize,
133
136
  palette: palette,
134
- a11y: list_a11y
137
+ a11y: list_a11y,
138
+ needMultiLineText: needMultiLineText
135
139
  });
136
140
  })));
137
141
  }
@@ -37,7 +37,8 @@ export const AdvancedGroupMultiSelect_defaultProps = {
37
37
  needEffect: true,
38
38
  palette: 'default',
39
39
  isLoading: false,
40
- dataSelectorId: 'advancedGroupMultiSelect'
40
+ dataSelectorId: 'advancedGroupMultiSelect',
41
+ customProps: {}
41
42
  };
42
43
  export const AdvancedMultiSelect_defaultProps = {
43
44
  animationStyle: 'bounce',
@@ -154,13 +155,14 @@ export const MultiSelectWithAvatar_defaultProps = {
154
155
  isLoading: false,
155
156
  dataSelectorId: 'multiSelectWithAvatar',
156
157
  keepSelectedOptions: false,
157
- customProps: {},
158
- needResponsive: true
158
+ needResponsive: true,
159
+ customProps: {}
159
160
  };
160
161
  export const SelectedOptions_defaultProps = {
161
162
  size: 'medium',
162
163
  dataId: 'selectedOptions'
163
164
  };
164
165
  export const Suggestions_defaultProps = {
165
- a11y: {}
166
+ a11y: {},
167
+ needMultiLineText: false
166
168
  };
@@ -176,7 +176,8 @@ export const Suggestions_propTypes = {
176
176
  logo: PropTypes.string,
177
177
  optionType: PropTypes.string,
178
178
  listItemProps: PropTypes.object
179
- }))
179
+ })),
180
+ needMultiLineText: PropTypes.bool
180
181
  };
181
182
  export const AdvancedGroupMultiSelect_propTypes = {
182
183
  animationStyle: PropTypes.string,
@@ -246,7 +247,8 @@ export const AdvancedGroupMultiSelect_propTypes = {
246
247
  needToCloseOnSelect: PropTypes.func,
247
248
  searchStr: PropTypes.string,
248
249
  children: PropTypes.node,
249
- dataSelectorId: PropTypes.string
250
+ dataSelectorId: PropTypes.string,
251
+ customProps: PropTypes.string
250
252
  };
251
253
  export const AdvancedMultiSelect_propTypes = { ...MultiSelect_propTypes,
252
254
  selectedOptionDetails: PropTypes.string,