@zohodesk/components 1.0.0-temp-199.9 → 1.0.0-temp-216.1

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 (98) hide show
  1. package/.cli/propValidation_report.html +1 -1
  2. package/README.md +0 -9
  3. package/assets/Appearance/dark/mode/Component_DarkMode.module.css +9 -5
  4. package/assets/Appearance/dark/themes/blue/blue_ComponentTheme_DarkTheme.module.css +5 -0
  5. package/assets/Appearance/dark/themes/green/green_ComponentTheme_DarkTheme.module.css +5 -0
  6. package/assets/Appearance/dark/themes/orange/orange_ComponentTheme_DarkTheme.module.css +5 -0
  7. package/assets/Appearance/dark/themes/red/red_ComponentTheme_DarkTheme.module.css +5 -0
  8. package/assets/Appearance/dark/themes/yellow/yellow_ComponentTheme_DarkTheme.module.css +5 -0
  9. package/assets/Appearance/light/mode/Component_LightMode.module.css +9 -5
  10. package/assets/Appearance/light/themes/blue/blue_ComponentTheme_LightTheme.module.css +5 -0
  11. package/assets/Appearance/light/themes/green/green_ComponentTheme_LightTheme.module.css +5 -0
  12. package/assets/Appearance/light/themes/orange/orange_ComponentTheme_LightTheme.module.css +5 -0
  13. package/assets/Appearance/light/themes/red/red_ComponentTheme_LightTheme.module.css +5 -0
  14. package/assets/Appearance/light/themes/yellow/yellow_ComponentTheme_LightTheme.module.css +5 -0
  15. package/assets/Appearance/pureDark/mode/Component_PureDarkMode.module.css +9 -5
  16. package/assets/Appearance/pureDark/themes/blue/blue_ComponentTheme_PureDarkTheme.module.css +5 -0
  17. package/assets/Appearance/pureDark/themes/green/green_ComponentTheme_PureDarkTheme.module.css +5 -0
  18. package/assets/Appearance/pureDark/themes/orange/orange_ComponentTheme_PureDarkTheme.module.css +5 -0
  19. package/assets/Appearance/pureDark/themes/red/red_ComponentTheme_PureDarkTheme.module.css +5 -0
  20. package/assets/Appearance/pureDark/themes/yellow/yellow_ComponentTheme_PureDarkTheme.module.css +5 -0
  21. package/es/Button/Button.js +0 -2
  22. package/es/Button/css/Button.module.css +37 -1
  23. package/es/Button/css/cssJSLogic.js +10 -1
  24. package/es/DropBox/DropBoxElement/DropBoxElement.js +1 -3
  25. package/es/DropBox/DropBoxElement/__tests__/__snapshots__/DropBoxElement.spec.js.snap +2 -4
  26. package/es/DropBox/DropBoxElement/css/DropBoxElement.module.css +53 -56
  27. package/es/DropBox/DropBoxElement/css/cssJSLogic.js +4 -4
  28. package/es/DropBox/__tests__/__snapshots__/DropBox.spec.js.snap +2 -4
  29. package/es/DropDown/__tests__/__snapshots__/DropDown.spec.js.snap +1 -3
  30. package/es/ListItem/ListItem.js +2 -2
  31. package/es/ListItem/ListItem.module.css +2 -15
  32. package/es/ListItem/ListItemWithAvatar.js +3 -3
  33. package/es/ListItem/ListItemWithIcon.js +2 -2
  34. package/es/MultiSelect/AdvancedGroupMultiSelect.js +2 -7
  35. package/es/MultiSelect/MultiSelect.js +2 -7
  36. package/es/MultiSelect/Suggestions.js +5 -14
  37. package/es/MultiSelect/props/defaultProps.js +4 -9
  38. package/es/MultiSelect/props/propTypes.js +3 -9
  39. package/es/Popup/Popup.js +83 -232
  40. package/es/Provider/LibraryContext.js +3 -1
  41. package/es/ResponsiveDropBox/__tests__/__snapshots__/ResponsiveDropBox.spec.js.snap +2 -4
  42. package/es/Select/GroupSelect.js +1 -5
  43. package/es/Select/SelectWithAvatar.js +2 -7
  44. package/es/Select/SelectWithIcon.js +2 -4
  45. package/es/Select/props/defaultProps.js +1 -2
  46. package/es/Select/props/propTypes.js +2 -4
  47. package/es/common/common.module.css +0 -5
  48. package/es/utils/Common.js +1 -2
  49. package/es/v1/ListItem/ListItem.js +1 -1
  50. package/es/v1/MultiSelect/AdvancedMultiSelect.js +1 -2
  51. package/es/v1/MultiSelect/MultiSelect.js +2 -7
  52. package/es/v1/MultiSelect/Suggestions.js +4 -8
  53. package/es/v1/MultiSelect/props/defaultProps.js +2 -4
  54. package/es/v1/MultiSelect/props/propTypes.js +2 -6
  55. package/es/v1/Select/GroupSelect.js +2 -7
  56. package/es/v1/Select/SelectWithAvatar.js +2 -7
  57. package/es/v1/Select/props/defaultProps.js +2 -4
  58. package/es/v1/Select/props/propTypes.js +2 -6
  59. package/lib/Button/Button.js +0 -2
  60. package/lib/Button/css/Button.module.css +37 -1
  61. package/lib/Button/css/cssJSLogic.js +15 -2
  62. package/lib/DropBox/DropBoxElement/DropBoxElement.js +1 -3
  63. package/lib/DropBox/DropBoxElement/__tests__/__snapshots__/DropBoxElement.spec.js.snap +2 -4
  64. package/lib/DropBox/DropBoxElement/css/DropBoxElement.module.css +53 -56
  65. package/lib/DropBox/DropBoxElement/css/cssJSLogic.js +2 -2
  66. package/lib/DropBox/__tests__/__snapshots__/DropBox.spec.js.snap +2 -4
  67. package/lib/DropDown/__tests__/__snapshots__/DropDown.spec.js.snap +1 -3
  68. package/lib/ListItem/ListItem.js +2 -2
  69. package/lib/ListItem/ListItem.module.css +2 -15
  70. package/lib/ListItem/ListItemWithAvatar.js +3 -3
  71. package/lib/ListItem/ListItemWithIcon.js +2 -2
  72. package/lib/MultiSelect/AdvancedGroupMultiSelect.js +3 -7
  73. package/lib/MultiSelect/MultiSelect.js +3 -6
  74. package/lib/MultiSelect/Suggestions.js +5 -12
  75. package/lib/MultiSelect/props/defaultProps.js +4 -9
  76. package/lib/MultiSelect/props/propTypes.js +3 -8
  77. package/lib/Popup/Popup.js +114 -282
  78. package/lib/Provider/LibraryContext.js +3 -1
  79. package/lib/ResponsiveDropBox/__tests__/__snapshots__/ResponsiveDropBox.spec.js.snap +2 -4
  80. package/lib/Select/GroupSelect.js +2 -4
  81. package/lib/Select/SelectWithAvatar.js +3 -8
  82. package/lib/Select/SelectWithIcon.js +3 -5
  83. package/lib/Select/props/defaultProps.js +1 -2
  84. package/lib/Select/props/propTypes.js +2 -4
  85. package/lib/common/common.module.css +0 -5
  86. package/lib/utils/Common.js +1 -5
  87. package/lib/v1/ListItem/ListItem.js +1 -1
  88. package/lib/v1/MultiSelect/AdvancedMultiSelect.js +1 -3
  89. package/lib/v1/MultiSelect/MultiSelect.js +3 -8
  90. package/lib/v1/MultiSelect/Suggestions.js +4 -8
  91. package/lib/v1/MultiSelect/props/defaultProps.js +2 -4
  92. package/lib/v1/MultiSelect/props/propTypes.js +2 -6
  93. package/lib/v1/Select/GroupSelect.js +3 -8
  94. package/lib/v1/Select/SelectWithAvatar.js +3 -8
  95. package/lib/v1/Select/props/defaultProps.js +2 -4
  96. package/lib/v1/Select/props/propTypes.js +2 -6
  97. package/package.json +2 -2
  98. package/result.json +1 -1
@@ -73,19 +73,19 @@
73
73
  }
74
74
 
75
75
  /* shadow */
76
- [data-box-direction="top"]>.shadow {
76
+ .top_shadow {
77
77
  --dropbox_box_shadow: var(--zd_bs_dropbox_top);
78
78
  }
79
79
 
80
- [data-box-direction="left"]>.shadow {
80
+ .left_shadow {
81
81
  --dropbox_box_shadow: var(--zd_bs_dropbox_left);
82
82
  }
83
83
 
84
- [data-box-direction="right"]>.shadow {
84
+ .right_shadow {
85
85
  --dropbox_box_shadow: var(--zd_bs_dropbox_right);
86
86
  }
87
87
 
88
- [data-box-direction="bottom"]>.shadow {
88
+ .bottom_shadow {
89
89
  --dropbox_box_shadow: var(--zd_bs_dropbox_bottom);
90
90
  }
91
91
 
@@ -158,41 +158,41 @@
158
158
  transform: translateY(-50%);
159
159
  }
160
160
 
161
- /* space for arrow using data-box-direction attribute*/
162
- .arrow[data-box-direction="top"] {
161
+ /* space for arrow */
162
+ .arrowtop {
163
163
  padding-bottom: var(--zd_size10) ;
164
164
  }
165
165
 
166
- .arrow[data-box-direction="right"] {
166
+ .arrowright {
167
167
  padding-left: var(--zd_size10) ;
168
168
  }
169
169
 
170
- .arrow[data-box-direction="left"] {
170
+ .arrowleft {
171
171
  padding-right: var(--zd_size10) ;
172
172
  }
173
173
 
174
- .arrow[data-box-direction="bottom"] {
174
+ .arrowbottom {
175
175
  padding-top: var(--zd_size10) ;
176
176
  }
177
177
 
178
- /* space from target using data-box-direction attribute*/
179
- .paddingSpace[data-box-direction="top"] {
178
+ /* space from target */
179
+ .paddingSpace_top {
180
180
  padding-bottom: var(--zd_size5) ;
181
181
  }
182
182
 
183
- .paddingSpace[data-box-direction="right"] {
183
+ .paddingSpace_right {
184
184
  padding-left: var(--zd_size5) ;
185
185
  }
186
186
 
187
- .paddingSpace[data-box-direction="left"] {
187
+ .paddingSpace_left {
188
188
  padding-right: var(--zd_size5) ;
189
189
  }
190
190
 
191
- .paddingSpace[data-box-direction="bottom"] {
191
+ .paddingSpace_bottom {
192
192
  padding-top: var(--zd_size5) ;
193
193
  }
194
194
 
195
- .arrowBase {
195
+ .arrow {
196
196
  position: absolute;
197
197
  height: var(--zd_size34) ;
198
198
  width: var(--zd_size34) ;
@@ -213,106 +213,107 @@
213
213
  }
214
214
 
215
215
  /* arrow placement styles */
216
- .arrowPosition {
217
- composes: arrowBase;
216
+ .start,
217
+ .end,
218
+ .mid {
219
+ composes: arrow;
218
220
  }
219
221
 
220
- .boxDirection[data-box-direction="top"][data-arrow-position="start"] .arrowPosition,
221
- .boxDirection[data-box-direction="top"][data-arrow-position="end"] .arrowPosition,
222
- .boxDirection[data-box-direction="top"][data-arrow-position="mid"] .arrowPosition {
222
+ .top .start,
223
+ .top .end,
224
+ .top .mid {
223
225
  bottom: calc( var(--zd_size17) * -1 ) ;
224
226
  }
225
227
 
226
- .boxDirection[data-box-direction="top"][data-arrow-position="start"] .arrowPosition {
228
+ .top .start {
227
229
  left: var(--zd_size28) ;
228
230
  }
229
231
 
230
- .boxDirection[data-box-direction="top"][data-arrow-position="end"] .arrowPosition {
232
+ .top .end {
231
233
  right: var(--zd_size28) ;
232
234
  transform: rotate(180deg) translateX(-50%);
233
235
  }
234
236
 
235
- .boxDirection[data-box-direction="top"][data-arrow-position="mid"] .arrowPosition {
237
+ .top .mid {
236
238
  left: 50% ;
237
239
  }
238
240
 
239
- .boxDirection[data-box-direction="top"][data-arrow-position="start"] .arrowPosition,
240
- .boxDirection[data-box-direction="top"][data-arrow-position="mid"] .arrowPosition {
241
+ .top .start,
242
+ .top .mid {
241
243
  transform: rotate(180deg) translateX(50%);
242
244
  }
243
245
 
244
- .boxDirection[data-box-direction="bottom"][data-arrow-position="start"] .arrowPosition,
245
- .boxDirection[data-box-direction="bottom"][data-arrow-position="end"] .arrowPosition,
246
- .boxDirection[data-box-direction="bottom"][data-arrow-position="mid"] .arrowPosition {
246
+ .bottom .start,
247
+ .bottom .end,
248
+ .bottom .mid {
247
249
  top: calc( var(--zd_size17) * -1 ) ;
248
250
  }
249
251
 
250
- .boxDirection[data-box-direction="bottom"][data-arrow-position="start"] .arrowPosition {
252
+ .bottom .start {
251
253
  left: var(--zd_size28) ;
252
254
  }
253
255
 
254
- .boxDirection[data-box-direction="bottom"][data-arrow-position="mid"] .arrowPosition {
256
+ .bottom .mid {
255
257
  left: 50% ;
256
258
  }
257
259
 
258
- .boxDirection[data-box-direction="bottom"][data-arrow-position="end"] .arrowPosition {
260
+ .bottom .end {
259
261
  right: var(--zd_size28) ;
260
262
  transform: translateX(50%);
261
263
  }
262
264
 
263
- .boxDirection[data-box-direction="bottom"][data-arrow-position="mid"] .arrowPosition,
264
- .boxDirection[data-box-direction="bottom"][data-arrow-position="start"] .arrowPosition {
265
+ .bottom .mid,
266
+ .bottom .start {
265
267
  transform: translateX(-50%);
266
268
  }
267
269
 
268
- .boxDirection[data-box-direction="left"][data-arrow-position="start"] .arrowPosition,
269
- .boxDirection[data-box-direction="left"][data-arrow-position="mid"] .arrowPosition,
270
- .boxDirection[data-box-direction="left"][data-arrow-position="end"] .arrowPosition {
270
+ .left .start,
271
+ .left .mid,
272
+ .left .end {
271
273
  right: calc( var(--zd_size17) * -1 ) ;
272
274
  }
273
275
 
274
- .boxDirection[data-box-direction="left"][data-arrow-position="start"] .arrowPosition {
276
+ .left .start {
275
277
  top: var(--zd_size28) ;
276
278
  }
277
279
 
278
- .boxDirection[data-box-direction="left"][data-arrow-position="end"] .arrowPosition {
280
+ .left .end {
279
281
  transform: rotate(90deg) translateX(50%);
280
282
  bottom: var(--zd_size28) ;
281
283
  }
282
284
 
283
- .boxDirection[data-box-direction="left"][data-arrow-position="mid"] .arrowPosition {
285
+ .left .mid {
284
286
  top: 50% ;
285
287
  }
286
288
 
287
- .boxDirection[data-box-direction="left"][data-arrow-position="start"] .arrowPosition,
288
- .boxDirection[data-box-direction="left"][data-arrow-position="mid"] .arrowPosition {
289
+ .left .start,
290
+ .left .mid {
289
291
  transform: rotate(90deg) translateX(-50%);
290
292
  }
291
293
 
292
- .boxDirection[data-box-direction="right"][data-arrow-position="start"] .arrowPosition,
293
- .boxDirection[data-box-direction="right"][data-arrow-position="mid"] .arrowPosition,
294
- .boxDirection[data-box-direction="right"][data-arrow-position="end"] .arrowPosition {
294
+ .right .start,
295
+ .right .mid,
296
+ .right .end {
295
297
  left: calc( var(--zd_size17) * -1 ) ;
296
298
  }
297
299
 
298
- .boxDirection[data-box-direction="right"][data-arrow-position="start"] .arrowPosition {
300
+ .right .start {
299
301
  top: var(--zd_size28) ;
300
302
  }
301
303
 
302
- .boxDirection[data-box-direction="right"][data-arrow-position="mid"] .arrowPosition {
304
+ .right .mid {
303
305
  top: 50% ;
304
306
  }
305
307
 
306
- .boxDirection[data-box-direction="right"][data-arrow-position="start"] .arrowPosition,
307
- .boxDirection[data-box-direction="right"][data-arrow-position="mid"] .arrowPosition {
308
+ .right .start,
309
+ .right .mid {
308
310
  transform: rotate(-90deg) translateX(50%);
309
311
  }
310
312
 
311
- .boxDirection[data-box-direction="right"][data-arrow-position="end"] .arrowPosition {
313
+ .right .end {
312
314
  bottom: var(--zd_size28) ;
313
315
  transform: rotate(-90deg) translateX(-50%);
314
316
  }
315
- [data-visible="hidden"],
316
317
  .hidden {
317
318
  visibility: hidden;
318
319
  opacity: 0;
@@ -320,7 +321,7 @@
320
321
  pointer-events: none;
321
322
  }
322
323
 
323
- [data-visible="hidden"] .subContainer, .hidden .subContainer {
324
+ .hidden .subContainer {
324
325
  box-shadow: none;
325
326
  }
326
327
 
@@ -341,21 +342,17 @@
341
342
  composes: animationBasic;
342
343
  composes: fadeIn modeForward from '../../../common/animation.module.css';
343
344
  }
344
-
345
345
  .scaleIn {
346
346
  composes: animationBasic;
347
347
  composes: scaleIn from '../../../common/animation.module.css';
348
348
  }
349
-
350
349
  .bounce {
351
350
  composes: animationBasic;
352
351
  }
353
-
354
352
  [dir=ltr] .bounce {
355
353
  animation-name: animation;
356
354
  animation-timing-function: cubic-bezier(0.4, 1, 0.65, 1.1);
357
355
  }
358
-
359
356
  [dir=rtl] .bounce {
360
357
  animation-name: animation;
361
358
  animation-timing-function: cubic-bezier(0.4, 1, 0.65, 1.1);
@@ -417,7 +414,7 @@
417
414
  }
418
415
 
419
416
  .closeBar {
420
- /* Variable:Ignore */
417
+ /* Variable:Ignore */
421
418
  height: 6px;
422
419
  width: 20% ;
423
420
  border-radius: 5px;
@@ -52,9 +52,9 @@ export default function cssJSLogic(_ref) {
52
52
  [style[boxPosition]]: isAbsolute && !isModel,
53
53
  [style.fixedContainer]: !isAbsolute && !isModel,
54
54
  [style[size]]: size && !isModel,
55
- [style.boxDirection]: !isModel && isActive && isArrow,
56
- [style.arrow]: !isModel && isActive && isArrow && isAbsolute,
57
- [style.paddingSpace]: !isModel && isActive && !isArrow && isPadding
55
+ [style[boxDirection]]: !isModel && isActive && isArrow,
56
+ [style[`arrow${boxDirection}`]]: !isModel && isActive && isArrow && isAbsolute,
57
+ [style[`paddingSpace_${boxDirection}`]]: !isModel && isActive && !isArrow && isPadding
58
58
  });
59
59
  let subContainerClass = compileClassNames({
60
60
  [style.subContainer]: true,
@@ -62,7 +62,7 @@ export default function cssJSLogic(_ref) {
62
62
  [style.mobRadius]: !!isModel,
63
63
  [style.slideUp]: !!isModel && isActive,
64
64
  [customDropBox]: !isModel,
65
- [style.shadow]: !isModel,
65
+ [style[`${boxDirection}_shadow`]]: !isModel,
66
66
  [style.boxPadding]: !isModel && isBoxPaddingNeed,
67
67
  [style.radius]: !isModel && isRadius,
68
68
  [style[animationValue]]: !isModel && isAnimate && !isReducedMotion && isActive && !!animationStyle
@@ -5,8 +5,6 @@ exports[`DropBox rendering the defult props 1`] = `
5
5
  <div
6
6
  class="main hidden container bottomStart default"
7
7
  data-a11y-focus-main-area="true"
8
- data-arrow-position="end"
9
- data-box-direction="bottom"
10
8
  data-id="dropBox"
11
9
  data-position="bottomStart"
12
10
  data-selector-id="dropBox"
@@ -14,14 +12,14 @@ exports[`DropBox rendering the defult props 1`] = `
14
12
  dot-ui-element="dropbox"
15
13
  >
16
14
  <div
17
- class="subContainer shadow radius defaultPalette"
15
+ class="subContainer bottom_shadow radius defaultPalette"
18
16
  data-id="dropBox_subcontainer"
19
17
  data-selector-id="dropBox_subcontainer"
20
18
  data-test-id="dropBox_subcontainer"
21
19
  tabindex="-1"
22
20
  >
23
21
  <div
24
- class="arrowPosition"
22
+ class="end"
25
23
  data-id="dropBox_arrow"
26
24
  data-selector-id="dropBox_arrow"
27
25
  data-test-id="dropBox_arrow"
@@ -15,8 +15,6 @@ exports[`DropDown rendering the defult props 1`] = `
15
15
  <div
16
16
  class="main hidden container bottomMid default"
17
17
  data-a11y-focus-main-area="true"
18
- data-arrow-position="mid"
19
- data-box-direction="bottom"
20
18
  data-id="dropBox"
21
19
  data-position="bottomMid"
22
20
  data-selector-id="dropBox"
@@ -24,7 +22,7 @@ exports[`DropDown rendering the defult props 1`] = `
24
22
  dot-ui-element="dropbox"
25
23
  >
26
24
  <div
27
- class="subContainer shadow radius defaultPalette"
25
+ class="subContainer bottom_shadow radius defaultPalette"
28
26
  data-id="dropBox_subcontainer"
29
27
  data-selector-id="dropBox_subcontainer"
30
28
  data-test-id="dropBox_subcontainer"
@@ -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: `${needMultiLineText ? style.txtAlignBaseLine + ' ' + style.autoHeight : ''} ${customListItem}`,
103
+ customClass: 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} ${needMultiLineText ? style.tickIconCenter : ''}`,
125
+ className: `${style.tickIcon} ${tickIconPalette} ${customTickIcon}`,
126
126
  "aria-hidden": ariaHidden,
127
127
  dataId: `${dataIdString}_tickIcon`,
128
128
  dataSelectorId: `${dataSelectorId}_tickIcon`
@@ -73,8 +73,8 @@
73
73
  line-height: 1.5385;
74
74
  }
75
75
  .multiLineValue{
76
- composes: listItemClamp from '~@zohodesk/components/es/common/common.module.css';
77
- --line-clamp-count: var(--list-line-clamp-count, 3);
76
+ word-break: break-word;
77
+ composes: clamp from '../common/common.module.css'
78
78
  }
79
79
  .iconBox {
80
80
  width: var(--zd_size20) ;
@@ -203,16 +203,3 @@
203
203
  padding-top: var(--zd_size10) ;
204
204
  padding-bottom: var(--zd_size10) ;
205
205
  }
206
- .autoHeight {
207
- height: auto ;
208
- }
209
- .tickIconCenter {
210
- top: 50% ;
211
- transform: translateY(-50%);
212
- }
213
- .txtAlignBaseLine {
214
- align-items: baseline;
215
- }
216
- .alignSelfTop {
217
- align-self: start;
218
- }
@@ -107,7 +107,7 @@ export default class ListItemWithAvatar extends React.PureComponent {
107
107
  autoHover: autoHover,
108
108
  needTick: needTick,
109
109
  needBorder: needBorder,
110
- customClass: `${needMultiLineText ? style.autoHeight : ''} ${customListItem}`,
110
+ customClass: customListItem,
111
111
  dataId: `${dataIdString}_ListItemWithAvatar`,
112
112
  dataSelectorId: `${dataSelectorId}`,
113
113
  onClick: this.handleClick,
@@ -118,7 +118,7 @@ export default class ListItemWithAvatar extends React.PureComponent {
118
118
  customProps: ListItemProps,
119
119
  ...ContainerProps
120
120
  }, name || imgSrc ? /*#__PURE__*/React.createElement(Box, {
121
- className: `${needMultiLineText ? style.alignSelfTop : ''} ${style.leftAvatar}`
121
+ className: style.leftAvatar
122
122
  }, isTeam ? /*#__PURE__*/React.createElement(AvatarTeam, {
123
123
  name: name,
124
124
  size: "small",
@@ -147,7 +147,7 @@ export default class ListItemWithAvatar extends React.PureComponent {
147
147
  "data-title": isDisabled ? null : title,
148
148
  className: needMultiLineText ? style.multiLineValue : style.value
149
149
  }, value) : null, needTick && active ? /*#__PURE__*/React.createElement(Box, {
150
- className: `${style.tickIcon} ${needMultiLineText ? style.tickIconCenter : ''}`,
150
+ className: style.tickIcon,
151
151
  "aria-hidden": ariaHidden,
152
152
  dataId: `${dataIdString}_tickIcon`,
153
153
  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: `${needMultiLineText ? style.autoHeight : ''} ${needMultiLineText && iconClass && !iconName ? style.txtAlignBaseLine : ''} ${customClass}`,
98
+ customClass: 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} ${needMultiLineText ? style.tickIconCenter : ''}`,
128
+ className: style.tickIcon,
129
129
  "aria-hidden": ariaHidden,
130
130
  dataId: `${dataIdString}_tickIcon`,
131
131
  dataSelectorId: `${dataSelectorId}_tickIcon`
@@ -876,12 +876,8 @@ class AdvancedGroupMultiSelect extends React.Component {
876
876
  needEffect,
877
877
  autoComplete,
878
878
  getTargetRef,
879
- isFocus,
880
- customProps
879
+ isFocus
881
880
  } = this.props;
882
- const {
883
- suggestionsProps
884
- } = customProps;
885
881
  let {
886
882
  clearText = 'Clear all'
887
883
  } = i18nKeys;
@@ -1061,8 +1057,7 @@ class AdvancedGroupMultiSelect extends React.Component {
1061
1057
  a11y: {
1062
1058
  role: 'option'
1063
1059
  },
1064
- dataId: `${dataId}_Options`,
1065
- ...suggestionsProps
1060
+ dataId: `${dataId}_Options`
1066
1061
  }));
1067
1062
  }) : /*#__PURE__*/React.createElement(EmptyState, {
1068
1063
  options: revampedGroups,
@@ -1011,12 +1011,8 @@ export class MultiSelectComponent extends React.Component {
1011
1011
  boxSize,
1012
1012
  isLoading,
1013
1013
  selectAllText,
1014
- needSelectAll,
1015
- customProps
1014
+ needSelectAll
1016
1015
  } = this.props;
1017
- const {
1018
- suggestionsProps = {}
1019
- } = customProps;
1020
1016
  const {
1021
1017
  selectedOptions,
1022
1018
  searchStr,
@@ -1106,8 +1102,7 @@ export class MultiSelectComponent extends React.Component {
1106
1102
  selectedOptions: selectedOptionIds,
1107
1103
  a11y: {
1108
1104
  role: 'option'
1109
- },
1110
- ...suggestionsProps
1105
+ }
1111
1106
  }) : /*#__PURE__*/React.createElement(EmptyState, {
1112
1107
  isLoading: isFetchingOptions,
1113
1108
  options: options,
@@ -27,24 +27,18 @@ export default class Suggestions extends React.PureComponent {
27
27
  avatarPalette,
28
28
  palette,
29
29
  htmlId,
30
- a11y,
31
- customClass,
32
- needMultiLineText
30
+ a11y
33
31
  } = this.props;
34
32
  const {
35
33
  ariaParentRole,
36
34
  ariaMultiselectable
37
35
  } = a11y;
38
- const {
39
- containerClass
40
- } = customClass;
41
36
  return /*#__PURE__*/React.createElement(Container, {
42
37
  isCover: false,
43
38
  role: ariaParentRole,
44
39
  id: htmlId,
45
40
  tabindex: "0",
46
- "aria-multiselectable": ariaMultiselectable,
47
- className: containerClass
41
+ "aria-multiselectable": ariaMultiselectable
48
42
  }, /*#__PURE__*/React.createElement(Box, {
49
43
  dataId: `${dataId}`,
50
44
  className: className ? className : ''
@@ -98,8 +92,7 @@ export default class Suggestions extends React.PureComponent {
98
92
  size: listItemSize,
99
93
  avatarPalette: avatarPalette,
100
94
  palette: palette,
101
- a11y: list_a11y,
102
- needMultiLineText: needMultiLineText
95
+ a11y: list_a11y
103
96
  });
104
97
  } else if (optionType === 'icon') {
105
98
  return /*#__PURE__*/React.createElement(ListItemWithIcon, { ...commonProps,
@@ -119,8 +112,7 @@ export default class Suggestions extends React.PureComponent {
119
112
  iconSize: iconSize,
120
113
  size: listItemSize,
121
114
  palette: palette,
122
- a11y: list_a11y,
123
- needMultiLineText: needMultiLineText
115
+ a11y: list_a11y
124
116
  });
125
117
  }
126
118
 
@@ -139,8 +131,7 @@ export default class Suggestions extends React.PureComponent {
139
131
  active: isActive,
140
132
  size: listItemSize,
141
133
  palette: palette,
142
- a11y: list_a11y,
143
- needMultiLineText: needMultiLineText
134
+ a11y: list_a11y
144
135
  });
145
136
  })));
146
137
  }
@@ -37,8 +37,7 @@ export const AdvancedGroupMultiSelect_defaultProps = {
37
37
  needEffect: true,
38
38
  palette: 'default',
39
39
  isLoading: false,
40
- dataSelectorId: 'advancedGroupMultiSelect',
41
- customProps: {}
40
+ dataSelectorId: 'advancedGroupMultiSelect'
42
41
  };
43
42
  export const AdvancedMultiSelect_defaultProps = {
44
43
  animationStyle: 'bounce',
@@ -155,17 +154,13 @@ export const MultiSelectWithAvatar_defaultProps = {
155
154
  isLoading: false,
156
155
  dataSelectorId: 'multiSelectWithAvatar',
157
156
  keepSelectedOptions: false,
158
- needResponsive: true,
159
- customProps: {}
157
+ customProps: {},
158
+ needResponsive: true
160
159
  };
161
160
  export const SelectedOptions_defaultProps = {
162
161
  size: 'medium',
163
162
  dataId: 'selectedOptions'
164
163
  };
165
164
  export const Suggestions_defaultProps = {
166
- a11y: {},
167
- customClass: {
168
- containerClass: ''
169
- },
170
- needMultiLineText: false
165
+ a11y: {}
171
166
  };
@@ -110,8 +110,7 @@ export const MultiSelect_propTypes = {
110
110
  setAriaId: PropTypes.string,
111
111
  ariaErrorId: PropTypes.string,
112
112
  customProps: PropTypes.shape({
113
- TextBoxIconProps: PropTypes.object,
114
- suggestionsProps: PropTypes.object
113
+ TextBoxIconProps: PropTypes.object
115
114
  }),
116
115
  isFocus: PropTypes.bool
117
116
  };
@@ -178,11 +177,7 @@ export const Suggestions_propTypes = {
178
177
  logo: PropTypes.string,
179
178
  optionType: PropTypes.string,
180
179
  listItemProps: PropTypes.object
181
- })),
182
- customClass: PropTypes.shape({
183
- containerClass: PropTypes.string
184
- }),
185
- needMultiLineText: PropTypes.bool
180
+ }))
186
181
  };
187
182
  export const AdvancedGroupMultiSelect_propTypes = {
188
183
  animationStyle: PropTypes.string,
@@ -253,8 +248,7 @@ export const AdvancedGroupMultiSelect_propTypes = {
253
248
  searchStr: PropTypes.string,
254
249
  children: PropTypes.node,
255
250
  dataSelectorId: PropTypes.string,
256
- isFocus: PropTypes.bool,
257
- customProps: PropTypes.object
251
+ isFocus: PropTypes.bool
258
252
  };
259
253
  export const AdvancedMultiSelect_propTypes = { ...MultiSelect_propTypes,
260
254
  selectedOptionDetails: PropTypes.string,