@zohodesk/components 1.0.0-temp-191 → 1.0.0-temp-192

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 (193) hide show
  1. package/.cli/propValidation_report.html +1 -1
  2. package/README.md +4 -0
  3. package/assets/Appearance/dark/mode/Component_DarkMode.module.css +29 -2
  4. package/assets/Appearance/light/mode/Component_LightMode.module.css +29 -2
  5. package/assets/Appearance/pureDark/mode/Component_PureDarkMode.module.css +29 -2
  6. package/es/AppContainer/AppContainer.js +9 -10
  7. package/es/AppContainer/AppContainer.module.css +2 -2
  8. package/es/Avatar/Avatar.js +5 -4
  9. package/es/Avatar/Avatar.module.css +44 -26
  10. package/es/AvatarTeam/AvatarTeam.js +7 -7
  11. package/es/AvatarTeam/AvatarTeam.module.css +62 -74
  12. package/es/Button/Button.js +6 -5
  13. package/es/Button/css/Button.module.css +156 -100
  14. package/es/Buttongroup/Buttongroup.module.css +50 -17
  15. package/es/CheckBox/CheckBox.js +8 -8
  16. package/es/CheckBox/CheckBox.module.css +35 -60
  17. package/es/DateTime/DateTime.module.css +85 -57
  18. package/es/DateTime/DateWidget.module.css +11 -7
  19. package/es/DateTime/YearView.module.css +34 -21
  20. package/es/DropBox/DropBox.js +11 -10
  21. package/es/DropBox/DropBoxElement/css/DropBoxElement.module.css +100 -81
  22. package/es/DropBox/css/DropBox.module.css +23 -6
  23. package/es/DropDown/DropDown.js +1 -2
  24. package/es/DropDown/DropDown.module.css +2 -2
  25. package/es/DropDown/DropDownHeading.module.css +15 -15
  26. package/es/DropDown/DropDownItem.module.css +40 -22
  27. package/es/DropDown/DropDownSearch.module.css +3 -3
  28. package/es/DropDown/DropDownSeparator.module.css +2 -2
  29. package/es/Heading/Heading.module.css +2 -2
  30. package/es/Label/Label.module.css +11 -23
  31. package/es/Label/LabelColors.module.css +1 -7
  32. package/es/Layout/Layout.module.css +15 -15
  33. package/es/ListItem/ListContainer.js +5 -6
  34. package/es/ListItem/ListItem.js +7 -6
  35. package/es/ListItem/ListItem.module.css +104 -55
  36. package/es/ListItem/ListItemWithAvatar.js +8 -7
  37. package/es/ListItem/ListItemWithCheckBox.js +5 -4
  38. package/es/ListItem/ListItemWithIcon.js +7 -6
  39. package/es/ListItem/ListItemWithRadio.js +5 -4
  40. package/es/Modal/Modal.js +5 -4
  41. package/es/MultiSelect/AdvancedGroupMultiSelect.js +9 -3
  42. package/es/MultiSelect/AdvancedMultiSelect.js +9 -8
  43. package/es/MultiSelect/MobileHeader/MobileHeader.module.css +16 -19
  44. package/es/MultiSelect/MultiSelect.js +9 -3
  45. package/es/MultiSelect/MultiSelect.module.css +55 -69
  46. package/es/MultiSelect/MultiSelectWithAvatar.js +6 -3
  47. package/es/MultiSelect/SelectedOptions.js +8 -6
  48. package/es/MultiSelect/SelectedOptions.module.css +11 -5
  49. package/es/MultiSelect/Suggestions.js +16 -10
  50. package/es/MultiSelect/props/defaultProps.js +9 -3
  51. package/es/MultiSelect/props/propTypes.js +7 -3
  52. package/es/PopOver/PopOver.module.css +2 -2
  53. package/es/Popup/Popup.js +4 -3
  54. package/es/Radio/Radio.js +8 -8
  55. package/es/Radio/Radio.module.css +22 -37
  56. package/es/ResponsiveDropBox/ResponsiveDropBox.js +4 -2
  57. package/es/ResponsiveDropBox/ResponsiveDropBox.module.css +2 -2
  58. package/es/Ribbon/Ribbon.module.css +143 -64
  59. package/es/RippleEffect/RippleEffect.module.css +9 -27
  60. package/es/Select/GroupSelect.js +9 -3
  61. package/es/Select/Select.js +5 -4
  62. package/es/Select/Select.module.css +33 -22
  63. package/es/Select/SelectWithAvatar.js +9 -3
  64. package/es/Select/SelectWithIcon.js +9 -3
  65. package/es/Select/props/defaultProps.js +6 -3
  66. package/es/Select/props/propTypes.js +6 -3
  67. package/es/Stencils/Stencils.module.css +32 -14
  68. package/es/Switch/Switch.js +8 -8
  69. package/es/Switch/Switch.module.css +30 -35
  70. package/es/Tab/Tab.js +5 -4
  71. package/es/Tab/Tab.module.css +28 -39
  72. package/es/Tab/TabContentWrapper.js +5 -4
  73. package/es/Tab/TabWrapper.js +4 -2
  74. package/es/Tab/Tabs.js +16 -16
  75. package/es/Tab/Tabs.module.css +51 -29
  76. package/es/Tag/Tag.module.css +60 -91
  77. package/es/TextBox/TextBox.js +5 -5
  78. package/es/TextBox/TextBox.module.css +19 -23
  79. package/es/TextBoxIcon/TextBoxIcon.js +4 -2
  80. package/es/TextBoxIcon/TextBoxIcon.module.css +15 -8
  81. package/es/Textarea/Textarea.js +6 -4
  82. package/es/Textarea/Textarea.module.css +30 -60
  83. package/es/Tooltip/Tooltip.module.css +12 -13
  84. package/es/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +5 -4
  85. package/es/common/animation.module.css +227 -29
  86. package/es/common/avatarsizes.module.css +16 -16
  87. package/es/common/basicReset.module.css +5 -15
  88. package/es/common/common.module.css +82 -36
  89. package/es/common/customscroll.module.css +33 -12
  90. package/es/common/transition.module.css +50 -10
  91. package/es/deprecated/PortalLayer/PortalLayer.js +6 -8
  92. package/es/semantic/Button/semanticButton.module.css +3 -3
  93. package/es/v1/AppContainer/AppContainer.js +9 -10
  94. package/es/v1/Avatar/Avatar.js +5 -4
  95. package/es/v1/AvatarTeam/AvatarTeam.js +7 -7
  96. package/es/v1/Button/Button.js +6 -5
  97. package/es/v1/CheckBox/CheckBox.js +8 -8
  98. package/es/v1/DropBox/DropBox.js +11 -10
  99. package/es/v1/DropDown/DropDown.js +1 -2
  100. package/es/v1/ListItem/ListContainer.js +5 -6
  101. package/es/v1/ListItem/ListItem.js +5 -4
  102. package/es/v1/ListItem/ListItemWithAvatar.js +5 -4
  103. package/es/v1/ListItem/ListItemWithCheckBox.js +5 -4
  104. package/es/v1/ListItem/ListItemWithIcon.js +5 -4
  105. package/es/v1/ListItem/ListItemWithRadio.js +5 -4
  106. package/es/v1/Modal/Modal.js +5 -4
  107. package/es/v1/MultiSelect/AdvancedMultiSelect.js +9 -8
  108. package/es/v1/MultiSelect/MultiSelectWithAvatar.js +5 -4
  109. package/es/v1/MultiSelect/SelectedOptions.js +8 -6
  110. package/es/v1/MultiSelect/Suggestions.js +8 -6
  111. package/es/v1/MultiSelect/props/defaultProps.js +4 -2
  112. package/es/v1/Popup/Popup.js +4 -3
  113. package/es/v1/Radio/Radio.js +8 -8
  114. package/es/v1/ResponsiveDropBox/ResponsiveDropBox.js +4 -2
  115. package/es/v1/Select/Select.js +5 -4
  116. package/es/v1/Switch/Switch.js +8 -8
  117. package/es/v1/Tab/Tab.js +5 -4
  118. package/es/v1/Tab/TabContentWrapper.js +5 -4
  119. package/es/v1/Tab/TabWrapper.js +4 -2
  120. package/es/v1/Tab/Tabs.js +16 -16
  121. package/es/v1/Tab/v1Tab.module.css +28 -39
  122. package/es/v1/Tab/v1Tabs.module.css +51 -29
  123. package/es/v1/TextBox/TextBox.js +5 -5
  124. package/es/v1/TextBoxIcon/TextBoxIcon.js +4 -2
  125. package/es/v1/Textarea/Textarea.js +6 -4
  126. package/es/v1/Typography/css/Typography.module.css +39 -33
  127. package/es/v1/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +5 -4
  128. package/lib/AppContainer/AppContainer.module.css +2 -2
  129. package/lib/Avatar/Avatar.module.css +44 -26
  130. package/lib/AvatarTeam/AvatarTeam.module.css +62 -74
  131. package/lib/Button/css/Button.module.css +156 -100
  132. package/lib/Buttongroup/Buttongroup.module.css +50 -17
  133. package/lib/CheckBox/CheckBox.module.css +35 -60
  134. package/lib/DateTime/DateTime.module.css +85 -57
  135. package/lib/DateTime/DateWidget.module.css +11 -7
  136. package/lib/DateTime/YearView.module.css +34 -21
  137. package/lib/DropBox/DropBoxElement/css/DropBoxElement.module.css +100 -81
  138. package/lib/DropBox/css/DropBox.module.css +23 -6
  139. package/lib/DropDown/DropDown.module.css +2 -2
  140. package/lib/DropDown/DropDownHeading.module.css +15 -15
  141. package/lib/DropDown/DropDownItem.module.css +40 -22
  142. package/lib/DropDown/DropDownSearch.module.css +3 -3
  143. package/lib/DropDown/DropDownSeparator.module.css +2 -2
  144. package/lib/Heading/Heading.module.css +2 -2
  145. package/lib/Label/Label.module.css +11 -23
  146. package/lib/Label/LabelColors.module.css +1 -7
  147. package/lib/Layout/Layout.module.css +15 -15
  148. package/lib/ListItem/ListItem.js +2 -2
  149. package/lib/ListItem/ListItem.module.css +104 -55
  150. package/lib/ListItem/ListItemWithAvatar.js +3 -3
  151. package/lib/ListItem/ListItemWithIcon.js +2 -2
  152. package/lib/MultiSelect/AdvancedGroupMultiSelect.js +7 -3
  153. package/lib/MultiSelect/MobileHeader/MobileHeader.module.css +16 -19
  154. package/lib/MultiSelect/MultiSelect.js +8 -3
  155. package/lib/MultiSelect/MultiSelect.module.css +55 -69
  156. package/lib/MultiSelect/MultiSelectWithAvatar.js +3 -1
  157. package/lib/MultiSelect/SelectedOptions.module.css +11 -5
  158. package/lib/MultiSelect/Suggestions.js +8 -4
  159. package/lib/MultiSelect/props/defaultProps.js +9 -3
  160. package/lib/MultiSelect/props/propTypes.js +9 -6
  161. package/lib/PopOver/PopOver.module.css +2 -2
  162. package/lib/Radio/Radio.module.css +22 -37
  163. package/lib/ResponsiveDropBox/ResponsiveDropBox.module.css +2 -2
  164. package/lib/Ribbon/Ribbon.module.css +143 -64
  165. package/lib/RippleEffect/RippleEffect.module.css +9 -27
  166. package/lib/Select/GroupSelect.js +8 -3
  167. package/lib/Select/Select.module.css +33 -22
  168. package/lib/Select/SelectWithAvatar.js +8 -3
  169. package/lib/Select/SelectWithIcon.js +8 -3
  170. package/lib/Select/props/defaultProps.js +5 -3
  171. package/lib/Select/props/propTypes.js +6 -3
  172. package/lib/Stencils/Stencils.module.css +32 -14
  173. package/lib/Switch/Switch.module.css +30 -35
  174. package/lib/Tab/Tab.module.css +28 -39
  175. package/lib/Tab/Tabs.module.css +51 -29
  176. package/lib/Tag/Tag.module.css +60 -91
  177. package/lib/TextBox/TextBox.module.css +19 -23
  178. package/lib/TextBoxIcon/TextBoxIcon.module.css +15 -8
  179. package/lib/Textarea/Textarea.module.css +30 -60
  180. package/lib/Tooltip/Tooltip.module.css +12 -13
  181. package/lib/common/animation.module.css +227 -29
  182. package/lib/common/avatarsizes.module.css +16 -16
  183. package/lib/common/basicReset.module.css +5 -15
  184. package/lib/common/common.module.css +82 -36
  185. package/lib/common/customscroll.module.css +33 -12
  186. package/lib/common/transition.module.css +50 -10
  187. package/lib/semantic/Button/semanticButton.module.css +3 -3
  188. package/lib/v1/MultiSelect/props/defaultProps.js +4 -2
  189. package/lib/v1/Tab/v1Tab.module.css +28 -39
  190. package/lib/v1/Tab/v1Tabs.module.css +51 -29
  191. package/lib/v1/Typography/css/Typography.module.css +39 -33
  192. package/package.json +3 -3
  193. package/result.json +1 -0
@@ -1,122 +1,110 @@
1
1
  .wrapper {
2
2
  position: relative;
3
3
  }
4
-
5
- .disabled,
6
- .readOnly {
4
+ .disabled, .readOnly {
7
5
  cursor: not-allowed;
8
6
  }
9
-
10
7
  .container {
11
- max-height: 120px;
8
+ max-height: var(--zd_size120) ;
12
9
  composes: oflowy from '../common/common.module.css';
13
10
  }
14
-
15
11
  .hasBorder {
12
+ transition: border var(--zd_transition2) linear 0s;
16
13
  border-bottom-style: solid;
17
14
  border-bottom-width: 1px;
18
- transition: border var(--zd_transition2) linear 0s;
19
15
  }
20
-
21
16
  .borderColor_transparent {
22
17
  border-bottom-color: var(--zdt_multiselect_transparent_border);
23
18
  }
24
-
25
19
  .effect .borderColor_transparent:hover {
26
20
  border-bottom-color: var(--zdt_multiselect_transparent_hover_border);
27
21
  }
28
-
29
22
  .effect .borderColor_transparent.active {
30
23
  border-bottom-color: var(--zdt_multiselect_transparent_active_border);
31
24
  }
32
-
33
25
  .borderColor_default {
34
26
  border-bottom-color: var(--zdt_multiselect_default_border);
35
27
  }
36
-
37
28
  .effect .borderColor_default:hover {
38
29
  border-bottom-color: var(--zdt_multiselect_default_hover_border);
39
30
  }
40
-
41
31
  .effect .borderColor_default.active {
42
32
  border-bottom-color: var(--zdt_multiselect_default_active_border);
43
33
  }
44
-
45
34
  .borderColor_dark {
46
35
  border-bottom-color: var(--zdt_multiselect_dark_border);
47
36
  }
48
-
49
37
  .effect .borderColor_dark:hover {
50
38
  border-bottom-color: var(--zdt_multiselect_dark_hover_border);
51
39
  }
52
-
53
40
  .effect .borderColor_dark.active {
54
41
  border-bottom-color: var(--zdt_multiselect_dark_active_border);
55
42
  }
56
43
 
57
44
  .container.medium {
58
- padding-bottom: 8px;
45
+ padding-bottom: var(--zd_size8) ;
59
46
  }
60
47
 
61
48
  .container.xmedium {
62
- padding-bottom: 3px;
63
- min-height: 30px;
49
+ min-height: var(--zd_size30) ;
50
+ padding-bottom: var(--zd_size3) ;
64
51
  }
65
52
 
66
53
  .delete {
67
- padding: 2px 6px;
54
+ font: inherit;
55
+ padding: var(--zd_size2) var(--zd_size6) ;
68
56
  cursor: pointer;
69
57
  border: 0;
70
58
  background-color: var(--zdt_multiselect_delete_bg);
71
- font: inherit;
72
59
  }
73
-
74
60
  .delete,
75
61
  .defaultDelete {
76
62
  color: var(--zdt_multiselect_delete_text);
77
63
  }
78
-
79
64
  .darkDelete {
80
65
  color: var(--zdt_multiselect_darkdelete_text);
81
66
  }
82
67
 
83
68
  .delete:hover,
84
69
  .defaultDelete:hover {
85
- color: var(--zdt_base_color);
70
+ color: var(--zdt_multiselect_delete_hover_text);
86
71
  }
87
-
88
72
  .darkDelete:hover {
89
73
  color: var(--zdt_multiselect_darkdelete_hover_text);
90
74
  }
91
-
92
75
  .transparentContainer .delete {
93
76
  opacity: 0;
94
77
  visibility: hidden;
95
78
  }
96
-
97
79
  .transparentContainer:hover .delete {
98
80
  opacity: 1;
99
81
  visibility: visible;
100
82
  }
101
83
 
102
84
  .tag {
103
- max-width: 100%;
85
+ max-width: 100% ;
104
86
  }
105
87
 
106
- .container.xmedium .tag {
107
- margin: 2px 10px 0 0;
88
+ [dir=ltr] .container.xmedium .tag {
89
+ margin: var(--zd_size2) var(--zd_size10) 0 0 ;
108
90
  }
109
91
 
110
- .container.medium .tag {
111
- margin: 5px 10px 0 0;
92
+ [dir=rtl] .container.xmedium .tag {
93
+ margin: var(--zd_size2) 0 0 var(--zd_size10) ;
112
94
  }
113
95
 
114
- .responsiveParent {
115
- width: 100%;
96
+ [dir=ltr] .container.medium .tag {
97
+ margin: var(--zd_size5) var(--zd_size10) 0 0 ;
116
98
  }
117
99
 
100
+ [dir=rtl] .container.medium .tag {
101
+ margin: var(--zd_size5) 0 0 var(--zd_size10) ;
102
+ }
103
+ .responsiveParent{
104
+ width: 100% ;
105
+ }
118
106
  .box {
119
- background: var(--zdt_base_bg);
107
+ background: var(--zdt_multiselect_box_bg);
120
108
  }
121
109
 
122
110
  .selectAll:hover {
@@ -124,43 +112,41 @@
124
112
  }
125
113
 
126
114
  .small {
127
- max-height: 200px;
115
+ max-height: var(--zd_size200) ;
128
116
  }
129
117
 
130
118
  .medium {
131
- max-height: 350px;
119
+ max-height: var(--zd_size350) ;
132
120
  }
133
121
 
134
122
  .large {
135
- max-height: 400px;
123
+ max-height: var(--zd_size400) ;
136
124
  }
137
125
 
138
126
  .commonMessage {
139
- font-size: 14px;
127
+ font-size: var(--zd_font_size14) ;
140
128
  composes: semibold from '../common/common.module.css';
141
- padding: 12px 15px;
129
+ padding: var(--zd_size12) var(--zd_size15) ;
142
130
  }
143
-
144
131
  .default,
145
132
  .dark {
146
133
  composes: commonMessage;
147
134
  }
148
-
149
135
  .default,
150
136
  .defaultBox {
151
137
  color: var(--zdt_multiselect_message_text);
152
138
  }
153
-
154
139
  .dark,
155
140
  .darkBox {
156
- background: var(--zdt_multiselect_darkmsg_bg);
157
141
  color: var(--zdt_multiselect_darkmsg_text);
158
142
  }
143
+ .dark, .darkBox {
144
+ background: var(--zdt_multiselect_darkmsg_bg);
145
+ }
159
146
 
160
147
  .hide {
161
148
  composes: vishidden from '../common/common.module.css';
162
149
  }
163
-
164
150
  .custmSpan {
165
151
  display: inline-block;
166
152
  vertical-align: middle;
@@ -168,51 +154,51 @@
168
154
  overflow: hidden;
169
155
  text-overflow: ellipsis;
170
156
  white-space: nowrap;
171
- max-width: 100%;
157
+ max-width: 100% ;
172
158
  visibility: hidden;
173
159
  }
174
-
175
160
  .custmSpanMedium {
176
- height: 35px;
161
+ height: var(--zd_size35) ;
177
162
  }
178
-
179
163
  .custmSpanXmedium {
180
- height: 28px;
164
+ height: var(--zd_size28) ;
181
165
  }
182
-
183
166
  .custmInputWrapper {
184
167
  position: absolute;
185
- top: 0;
186
- left: 0;
187
- width: 100%;
168
+ top: 0 ;
169
+ width: 100% ;
170
+ }
171
+ [dir=ltr] .custmInputWrapper {
172
+ left: 0 ;
173
+ }
174
+ [dir=rtl] .custmInputWrapper {
175
+ right: 0 ;
188
176
  }
189
-
190
177
  .title {
191
- margin-bottom: 6px;
178
+ margin-bottom: var(--zd_size6) ;
192
179
  }
193
-
194
180
  .groupTitle {
195
- margin: 6px 0;
181
+ margin: var(--zd_size6) 0 ;
196
182
  }
197
-
198
183
  .loader {
199
- padding: 10px;
184
+ padding: var(--zd_size10) ;
200
185
  }
201
-
202
186
  .iconContainer {
203
- padding-top: 3px
187
+ padding-top: var(--zd_size3)
204
188
  }
205
-
206
- .clearIconSpace {
207
- padding-right: 37px
189
+ [dir=ltr] .clearIconSpace {
190
+ padding-right: var(--zd_size37)
191
+ }
192
+ [dir=rtl] .clearIconSpace {
193
+ padding-left: var(--zd_size37)
208
194
  }
209
195
 
210
196
  .more {
211
- font-size: 14px;
197
+ font-size: var(--zd_font_size14) ;
212
198
  color: var(--zdt_multiselect_more_text);
213
- cursor: pointer;
214
- margin-top: 5px;
215
199
  font-family: inherit;
200
+ cursor: pointer;
201
+ margin-top: var(--zd_size5) ;
216
202
  background-color: var(--zdt_multiselect_delete_bg);
217
203
  border: 0;
218
- }
204
+ }
@@ -141,6 +141,7 @@ var MultiSelectWithAvatarComponent = /*#__PURE__*/function (_MultiSelectComponen
141
141
  needEffect = _this$props.needEffect,
142
142
  isLoading = _this$props.isLoading,
143
143
  keepSelectedOptions = _this$props.keepSelectedOptions,
144
+ needMultiLineText = _this$props.needMultiLineText,
144
145
  customProps = _this$props.customProps;
145
146
  var _customProps$Suggesti = customProps.SuggestionsProps,
146
147
  SuggestionsProps = _customProps$Suggesti === void 0 ? {} : _customProps$Suggesti;
@@ -223,7 +224,8 @@ var MultiSelectWithAvatarComponent = /*#__PURE__*/function (_MultiSelectComponen
223
224
  selectedOptions: selectedOptionIds,
224
225
  a11y: {
225
226
  role: 'option'
226
- }
227
+ },
228
+ needMultiLineText: needMultiLineText
227
229
  }, SuggestionsProps)) : /*#__PURE__*/_react["default"].createElement(_EmptyState["default"], {
228
230
  isLoading: isFetchingOptions,
229
231
  options: options,
@@ -1,9 +1,15 @@
1
1
  .tag {
2
- max-width: 100%;
2
+ max-width: 100% ;
3
3
  }
4
- .xmedium {
5
- margin: 0 10px 2px 0;
4
+ [dir=ltr] .xmedium {
5
+ margin: 0 var(--zd_size10) var(--zd_size2) 0 ;
6
6
  }
7
- .medium {
8
- margin: 5px 10px 0 0;
7
+ [dir=rtl] .xmedium {
8
+ margin: 0 0 var(--zd_size2) var(--zd_size10) ;
9
+ }
10
+ [dir=ltr] .medium {
11
+ margin: var(--zd_size5) var(--zd_size10) 0 0 ;
12
+ }
13
+ [dir=rtl] .medium {
14
+ margin: var(--zd_size5) 0 0 var(--zd_size10) ;
9
15
  }
@@ -83,7 +83,8 @@ var Suggestions = /*#__PURE__*/function (_React$PureComponent) {
83
83
  avatarPalette = _this$props.avatarPalette,
84
84
  palette = _this$props.palette,
85
85
  htmlId = _this$props.htmlId,
86
- a11y = _this$props.a11y;
86
+ a11y = _this$props.a11y,
87
+ needMultiLineText = _this$props.needMultiLineText;
87
88
  var ariaParentRole = a11y.ariaParentRole,
88
89
  ariaMultiselectable = a11y.ariaMultiselectable;
89
90
  return /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
@@ -143,7 +144,8 @@ var Suggestions = /*#__PURE__*/function (_React$PureComponent) {
143
144
  size: listItemSize,
144
145
  avatarPalette: avatarPalette,
145
146
  palette: palette,
146
- a11y: list_a11y
147
+ a11y: list_a11y,
148
+ needMultiLineText: needMultiLineText
147
149
  }));
148
150
  } else if (optionType === 'icon') {
149
151
  return /*#__PURE__*/_react["default"].createElement(_ListItemWithIcon["default"], _extends({}, commonProps, {
@@ -163,7 +165,8 @@ var Suggestions = /*#__PURE__*/function (_React$PureComponent) {
163
165
  iconSize: iconSize,
164
166
  size: listItemSize,
165
167
  palette: palette,
166
- a11y: list_a11y
168
+ a11y: list_a11y,
169
+ needMultiLineText: needMultiLineText
167
170
  }));
168
171
  }
169
172
 
@@ -182,7 +185,8 @@ var Suggestions = /*#__PURE__*/function (_React$PureComponent) {
182
185
  active: isActive,
183
186
  size: listItemSize,
184
187
  palette: palette,
185
- a11y: list_a11y
188
+ a11y: list_a11y,
189
+ needMultiLineText: needMultiLineText
186
190
  }));
187
191
  })));
188
192
  }
@@ -43,7 +43,8 @@ var AdvancedGroupMultiSelect_defaultProps = {
43
43
  needEffect: true,
44
44
  palette: 'default',
45
45
  isLoading: false,
46
- dataSelectorId: 'advancedGroupMultiSelect'
46
+ dataSelectorId: 'advancedGroupMultiSelect',
47
+ customProps: {}
47
48
  };
48
49
  exports.AdvancedGroupMultiSelect_defaultProps = AdvancedGroupMultiSelect_defaultProps;
49
50
  var AdvancedMultiSelect_defaultProps = {
@@ -120,7 +121,9 @@ var MultiSelect_defaultProps = {
120
121
  dataSelectorId: 'multiSelect',
121
122
  keepSelectedOptions: false,
122
123
  selectedOptionsCount: 0,
123
- cardHeaderName: ''
124
+ cardHeaderName: '',
125
+ needResponsive: true,
126
+ customProps: {}
124
127
  };
125
128
  exports.MultiSelect_defaultProps = MultiSelect_defaultProps;
126
129
  var MultiSelectHeader_defaultProps = {
@@ -156,6 +159,8 @@ var MultiSelectWithAvatar_defaultProps = {
156
159
  isLoading: false,
157
160
  dataSelectorId: 'multiSelectWithAvatar',
158
161
  keepSelectedOptions: false,
162
+ needResponsive: true,
163
+ needMultiLineText: false,
159
164
  customProps: {}
160
165
  };
161
166
  exports.MultiSelectWithAvatar_defaultProps = MultiSelectWithAvatar_defaultProps;
@@ -164,6 +169,7 @@ var SelectedOptions_defaultProps = {
164
169
  };
165
170
  exports.SelectedOptions_defaultProps = SelectedOptions_defaultProps;
166
171
  var Suggestions_defaultProps = {
167
- a11y: {}
172
+ a11y: {},
173
+ needMultiLineText: false
168
174
  };
169
175
  exports.Suggestions_defaultProps = Suggestions_defaultProps;
@@ -7,6 +7,8 @@ exports.Suggestions_propTypes = exports.SelectedOptions_propTypes = exports.Mult
7
7
 
8
8
  var _propTypes = _interopRequireDefault(require("prop-types"));
9
9
 
10
+ var _AdvancedGroupMultiSe;
11
+
10
12
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
13
 
12
14
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
@@ -121,7 +123,8 @@ var MultiSelect_propTypes = {
121
123
  needSelectAll: _propTypes["default"].bool,
122
124
  selectAllText: _propTypes["default"].string,
123
125
  setAriaId: _propTypes["default"].string,
124
- ariaErrorId: _propTypes["default"].string
126
+ ariaErrorId: _propTypes["default"].string,
127
+ customProps: _propTypes["default"].string
125
128
  };
126
129
  exports.MultiSelect_propTypes = MultiSelect_propTypes;
127
130
  var MultiSelectHeader_propTypes = {
@@ -139,6 +142,7 @@ var MultiSelectWithAvatar_propTypes = _objectSpread({
139
142
  photoURL: _propTypes["default"].string
140
143
  }))]).isRequired,
141
144
  imageField: _propTypes["default"].string,
145
+ needMultiLineText: _propTypes["default"].string,
142
146
  customProps: _propTypes["default"].shape({
143
147
  SuggestionsProps: _propTypes["default"].object,
144
148
  DropBoxProps: _propTypes["default"].object
@@ -190,11 +194,11 @@ var Suggestions_propTypes = {
190
194
  logo: _propTypes["default"].string,
191
195
  optionType: _propTypes["default"].string,
192
196
  listItemProps: _propTypes["default"].object
193
- }))
197
+ })),
198
+ needMultiLineText: _propTypes["default"].bool
194
199
  };
195
200
  exports.Suggestions_propTypes = Suggestions_propTypes;
196
-
197
- var AdvancedGroupMultiSelect_propTypes = _defineProperty({
201
+ var AdvancedGroupMultiSelect_propTypes = (_AdvancedGroupMultiSe = {
198
202
  animationStyle: _propTypes["default"].string,
199
203
  autoComplete: _propTypes["default"].bool,
200
204
  borderColor: _propTypes["default"].oneOf(['transparent', 'default']),
@@ -258,8 +262,7 @@ var AdvancedGroupMultiSelect_propTypes = _defineProperty({
258
262
  needToCloseOnSelect: _propTypes["default"].func,
259
263
  searchStr: _propTypes["default"].string,
260
264
  children: _propTypes["default"].node
261
- }, "dataSelectorId", _propTypes["default"].string);
262
-
265
+ }, _defineProperty(_AdvancedGroupMultiSe, "dataSelectorId", _propTypes["default"].string), _defineProperty(_AdvancedGroupMultiSe, "customProps", _propTypes["default"].string), _AdvancedGroupMultiSe);
263
266
  exports.AdvancedGroupMultiSelect_propTypes = AdvancedGroupMultiSelect_propTypes;
264
267
 
265
268
  var AdvancedMultiSelect_propTypes = _objectSpread(_objectSpread({}, MultiSelect_propTypes), {}, {
@@ -1,9 +1,9 @@
1
1
  .popup {
2
2
  position: relative;
3
- background-color: var(--zdt_base_bg);
3
+ background-color: var(--zdt_popover_default_bg);
4
4
  }
5
5
 
6
6
  .target {
7
- cursor: pointer;
8
7
  composes: offSelection from '../common/common.module.css';
8
+ cursor: pointer;
9
9
  }
@@ -1,104 +1,91 @@
1
1
  .varClass {
2
2
  /* radio default variables */
3
- --radio_width: 16px;
4
- --radio_height: 16px;
3
+ --radio_width: var(--zd_size16);
4
+ --radio_height: var(--zd_size16);
5
5
  --radio_bg_color: none;
6
6
  --radio_stroke_width: 2px;
7
7
  --radio_stroke_color: var(--zdt_radio_default_stroke);
8
8
  --radio_fill: none;
9
9
  --radio_inner_stroke_width: 0;
10
- --radio_label_margin: 0 0 0 6px
11
- /*rtl: 0 6px 0 0*/
12
- ;
10
+ }[dir=ltr] .varClass {
11
+ --radio_label_margin: 0 0 0 var(--zd_size6);
12
+ }[dir=rtl] .varClass {
13
+ --radio_label_margin: 0 var(--zd_size6) 0 0;
13
14
  }
14
-
15
15
  .container {
16
16
  composes: varClass;
17
17
  }
18
-
19
18
  .pointer {
20
19
  cursor: pointer;
21
20
  }
22
-
23
- .readonly,
24
- .disabled {
21
+ .readonly, .disabled {
25
22
  cursor: not-allowed;
26
23
  }
27
-
28
24
  .disabled {
29
25
  opacity: 0.7
30
26
  }
31
-
32
27
  .radio {
33
28
  composes: offSelection from '../common/common.module.css';
34
29
  width: var(--radio_width);
35
30
  height: var(--radio_height);
31
+ stroke: var(--radio_stroke_color);
36
32
  background: var(--radio_bg_color);
37
33
  border-radius: 50%;
38
- stroke: var(--radio_stroke_color);
39
34
  }
40
-
41
35
  .radio,
42
36
  .centerPath {
43
37
  fill: var(--radio_fill);
44
38
  }
45
-
46
39
  .filled {
47
- --radio_bg_color: var(--zdt_base_bg);
40
+ --radio_bg_color: var(--zdt_radio_default_bg);
48
41
  }
49
42
 
50
43
  .medium {
51
- --radio_width: 16px;
52
- --radio_height: 16px;
44
+ --radio_width: var(--zd_size16);
45
+ --radio_height: var(--zd_size16);
53
46
  }
54
-
55
47
  .small {
56
- --radio_width: 13px;
57
- --radio_height: 13px;
48
+ --radio_width: var(--zd_size13);
49
+ --radio_height: var(--zd_size13);
58
50
  }
59
-
60
51
  .radioLabel {
61
- font-size: 0;
52
+ font-size: 0 ;
62
53
  display: block;
63
54
  }
64
-
65
55
  .rdBox {
66
56
  fill: none;
67
57
  stroke-width: var(--radio_stroke_width);
68
58
  stroke-linecap: round;
69
59
  stroke: inherit;
70
60
  }
71
-
72
61
  .centerPath {
73
62
  --radio_fill: inherit;
74
- transform-origin: center;
75
63
  stroke-width: var(--radio_inner_stroke_width);
64
+ transform-origin: center;
76
65
  }
77
-
78
- .checked .centerPath {
66
+ [dir=ltr] .checked .centerPath {
67
+ animation: circleAnimate var(--zd_transition3) ease forwards;
68
+ }
69
+ [dir=rtl] .checked .centerPath {
79
70
  animation: circleAnimate var(--zd_transition3) ease forwards;
80
71
  }
81
-
82
72
  .rdBoxprimary,
83
73
  .hoverEfffect:hover .hoverprimary
84
-
85
74
  /* .hoverEfffect:focus .hoverprimary */
86
- {
75
+ {
87
76
  --radio_stroke_color: var(--zdt_radio_primary_stroke);
88
77
  }
89
78
 
90
79
  .rdBoxdanger,
91
80
  .hoverEfffect:hover .hoverdanger
92
-
93
81
  /* .hoverEfffect:focus .hoverdanger */
94
- {
82
+ {
95
83
  --radio_stroke_color: var(--zdt_radio_danger_stroke);
96
84
  }
97
85
 
98
86
  .centerPathprimary {
99
87
  --radio_fill: var(--zdt_radio_primary_fill);
100
88
  }
101
-
102
89
  .centerPathdanger {
103
90
  --radio_fill: var(--zdt_radio_danger_fill);
104
91
  }
@@ -118,13 +105,11 @@
118
105
  .text {
119
106
  margin: var(--radio_label_margin);
120
107
  }
121
-
122
108
  @keyframes circleAnimate {
123
109
  0% {
124
110
  transform: scale(0);
125
111
  }
126
-
127
112
  100% {
128
113
  transform: scale(1);
129
114
  }
130
- }
115
+ }
@@ -1,6 +1,6 @@
1
1
  .dropBoxContainer {
2
- max-height: 70vh;
2
+ max-height: 70vh ;
3
3
  }
4
4
  .boxPadding{
5
- padding-bottom: 10px;
5
+ padding-bottom: var(--zd_size10) ;
6
6
  }