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

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 (182) 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.js +8 -2
  18. package/es/DateTime/DateTime.module.css +85 -57
  19. package/es/DateTime/DateWidget.js +14 -3
  20. package/es/DateTime/DateWidget.module.css +11 -7
  21. package/es/DateTime/Time.js +30 -13
  22. package/es/DateTime/YearView.module.css +34 -21
  23. package/es/DateTime/props/defaultProps.js +4 -2
  24. package/es/DateTime/props/propTypes.js +6 -3
  25. package/es/DropBox/DropBox.js +11 -10
  26. package/es/DropBox/DropBoxElement/css/DropBoxElement.module.css +100 -81
  27. package/es/DropBox/css/DropBox.module.css +23 -6
  28. package/es/DropDown/DropDown.js +1 -2
  29. package/es/DropDown/DropDown.module.css +2 -2
  30. package/es/DropDown/DropDownHeading.module.css +15 -15
  31. package/es/DropDown/DropDownItem.module.css +40 -22
  32. package/es/DropDown/DropDownSearch.module.css +3 -3
  33. package/es/DropDown/DropDownSeparator.module.css +2 -2
  34. package/es/Heading/Heading.module.css +2 -2
  35. package/es/Label/Label.module.css +11 -23
  36. package/es/Label/LabelColors.module.css +1 -7
  37. package/es/Layout/Layout.module.css +15 -15
  38. package/es/ListItem/ListContainer.js +5 -6
  39. package/es/ListItem/ListItem.js +5 -4
  40. package/es/ListItem/ListItem.module.css +80 -98
  41. package/es/ListItem/ListItemWithAvatar.js +5 -4
  42. package/es/ListItem/ListItemWithCheckBox.js +5 -4
  43. package/es/ListItem/ListItemWithIcon.js +5 -4
  44. package/es/ListItem/ListItemWithRadio.js +5 -4
  45. package/es/Modal/Modal.js +5 -4
  46. package/es/MultiSelect/AdvancedMultiSelect.js +9 -8
  47. package/es/MultiSelect/MobileHeader/MobileHeader.module.css +16 -19
  48. package/es/MultiSelect/MultiSelect.module.css +55 -69
  49. package/es/MultiSelect/MultiSelectWithAvatar.js +5 -4
  50. package/es/MultiSelect/SelectedOptions.js +8 -6
  51. package/es/MultiSelect/SelectedOptions.module.css +11 -5
  52. package/es/MultiSelect/Suggestions.js +8 -6
  53. package/es/MultiSelect/props/defaultProps.js +4 -2
  54. package/es/PopOver/PopOver.module.css +2 -2
  55. package/es/Popup/Popup.js +4 -3
  56. package/es/Radio/Radio.js +8 -8
  57. package/es/Radio/Radio.module.css +22 -37
  58. package/es/ResponsiveDropBox/ResponsiveDropBox.js +4 -2
  59. package/es/ResponsiveDropBox/ResponsiveDropBox.module.css +2 -2
  60. package/es/Ribbon/Ribbon.module.css +143 -64
  61. package/es/RippleEffect/RippleEffect.module.css +9 -27
  62. package/es/Select/Select.js +5 -4
  63. package/es/Select/Select.module.css +33 -22
  64. package/es/Stencils/Stencils.module.css +32 -14
  65. package/es/Switch/Switch.js +8 -8
  66. package/es/Switch/Switch.module.css +30 -35
  67. package/es/Tab/Tab.js +5 -4
  68. package/es/Tab/Tab.module.css +28 -39
  69. package/es/Tab/TabContentWrapper.js +5 -4
  70. package/es/Tab/TabWrapper.js +4 -2
  71. package/es/Tab/Tabs.js +16 -16
  72. package/es/Tab/Tabs.module.css +51 -29
  73. package/es/Tag/Tag.module.css +60 -91
  74. package/es/TextBox/TextBox.js +5 -5
  75. package/es/TextBox/TextBox.module.css +19 -23
  76. package/es/TextBoxIcon/TextBoxIcon.js +4 -2
  77. package/es/TextBoxIcon/TextBoxIcon.module.css +15 -8
  78. package/es/Textarea/Textarea.js +6 -4
  79. package/es/Textarea/Textarea.module.css +30 -60
  80. package/es/Tooltip/Tooltip.module.css +12 -13
  81. package/es/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +5 -4
  82. package/es/common/animation.module.css +227 -29
  83. package/es/common/avatarsizes.module.css +16 -16
  84. package/es/common/basicReset.module.css +5 -15
  85. package/es/common/common.module.css +82 -36
  86. package/es/common/customscroll.module.css +33 -12
  87. package/es/common/transition.module.css +50 -10
  88. package/es/deprecated/PortalLayer/PortalLayer.js +6 -8
  89. package/es/semantic/Button/semanticButton.module.css +3 -3
  90. package/es/v1/AppContainer/AppContainer.js +9 -10
  91. package/es/v1/Avatar/Avatar.js +5 -4
  92. package/es/v1/AvatarTeam/AvatarTeam.js +7 -7
  93. package/es/v1/Button/Button.js +6 -5
  94. package/es/v1/CheckBox/CheckBox.js +8 -8
  95. package/es/v1/DropBox/DropBox.js +11 -10
  96. package/es/v1/DropDown/DropDown.js +1 -2
  97. package/es/v1/ListItem/ListContainer.js +5 -6
  98. package/es/v1/ListItem/ListItem.js +5 -4
  99. package/es/v1/ListItem/ListItemWithAvatar.js +5 -4
  100. package/es/v1/ListItem/ListItemWithCheckBox.js +5 -4
  101. package/es/v1/ListItem/ListItemWithIcon.js +5 -4
  102. package/es/v1/ListItem/ListItemWithRadio.js +5 -4
  103. package/es/v1/Modal/Modal.js +5 -4
  104. package/es/v1/MultiSelect/AdvancedMultiSelect.js +9 -8
  105. package/es/v1/MultiSelect/MultiSelectWithAvatar.js +5 -4
  106. package/es/v1/MultiSelect/SelectedOptions.js +8 -6
  107. package/es/v1/MultiSelect/Suggestions.js +8 -6
  108. package/es/v1/MultiSelect/props/defaultProps.js +4 -2
  109. package/es/v1/Popup/Popup.js +4 -3
  110. package/es/v1/Radio/Radio.js +8 -8
  111. package/es/v1/ResponsiveDropBox/ResponsiveDropBox.js +4 -2
  112. package/es/v1/Select/Select.js +5 -4
  113. package/es/v1/Switch/Switch.js +8 -8
  114. package/es/v1/Tab/Tab.js +5 -4
  115. package/es/v1/Tab/TabContentWrapper.js +5 -4
  116. package/es/v1/Tab/TabWrapper.js +4 -2
  117. package/es/v1/Tab/Tabs.js +16 -16
  118. package/es/v1/Tab/v1Tab.module.css +28 -39
  119. package/es/v1/Tab/v1Tabs.module.css +51 -29
  120. package/es/v1/TextBox/TextBox.js +5 -5
  121. package/es/v1/TextBoxIcon/TextBoxIcon.js +4 -2
  122. package/es/v1/Textarea/Textarea.js +6 -4
  123. package/es/v1/Typography/css/Typography.module.css +39 -33
  124. package/es/v1/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +5 -4
  125. package/lib/AppContainer/AppContainer.module.css +2 -2
  126. package/lib/Avatar/Avatar.module.css +44 -26
  127. package/lib/AvatarTeam/AvatarTeam.module.css +62 -74
  128. package/lib/Button/css/Button.module.css +156 -100
  129. package/lib/Buttongroup/Buttongroup.module.css +50 -17
  130. package/lib/CheckBox/CheckBox.module.css +35 -60
  131. package/lib/DateTime/DateTime.js +13 -2
  132. package/lib/DateTime/DateTime.module.css +85 -57
  133. package/lib/DateTime/DateWidget.js +19 -3
  134. package/lib/DateTime/DateWidget.module.css +11 -7
  135. package/lib/DateTime/Time.js +35 -13
  136. package/lib/DateTime/YearView.module.css +34 -21
  137. package/lib/DateTime/props/defaultProps.js +4 -2
  138. package/lib/DateTime/props/propTypes.js +6 -3
  139. package/lib/DropBox/DropBoxElement/css/DropBoxElement.module.css +100 -81
  140. package/lib/DropBox/css/DropBox.module.css +23 -6
  141. package/lib/DropDown/DropDown.module.css +2 -2
  142. package/lib/DropDown/DropDownHeading.module.css +15 -15
  143. package/lib/DropDown/DropDownItem.module.css +40 -22
  144. package/lib/DropDown/DropDownSearch.module.css +3 -3
  145. package/lib/DropDown/DropDownSeparator.module.css +2 -2
  146. package/lib/Heading/Heading.module.css +2 -2
  147. package/lib/Label/Label.module.css +11 -23
  148. package/lib/Label/LabelColors.module.css +1 -7
  149. package/lib/Layout/Layout.module.css +15 -15
  150. package/lib/ListItem/ListItem.module.css +80 -98
  151. package/lib/MultiSelect/MobileHeader/MobileHeader.module.css +16 -19
  152. package/lib/MultiSelect/MultiSelect.module.css +55 -69
  153. package/lib/MultiSelect/SelectedOptions.module.css +11 -5
  154. package/lib/MultiSelect/props/defaultProps.js +4 -2
  155. package/lib/PopOver/PopOver.module.css +2 -2
  156. package/lib/Radio/Radio.module.css +22 -37
  157. package/lib/ResponsiveDropBox/ResponsiveDropBox.module.css +2 -2
  158. package/lib/Ribbon/Ribbon.module.css +143 -64
  159. package/lib/RippleEffect/RippleEffect.module.css +9 -27
  160. package/lib/Select/Select.module.css +33 -22
  161. package/lib/Stencils/Stencils.module.css +32 -14
  162. package/lib/Switch/Switch.module.css +30 -35
  163. package/lib/Tab/Tab.module.css +28 -39
  164. package/lib/Tab/Tabs.module.css +51 -29
  165. package/lib/Tag/Tag.module.css +60 -91
  166. package/lib/TextBox/TextBox.module.css +19 -23
  167. package/lib/TextBoxIcon/TextBoxIcon.module.css +15 -8
  168. package/lib/Textarea/Textarea.module.css +30 -60
  169. package/lib/Tooltip/Tooltip.module.css +12 -13
  170. package/lib/common/animation.module.css +227 -29
  171. package/lib/common/avatarsizes.module.css +16 -16
  172. package/lib/common/basicReset.module.css +5 -15
  173. package/lib/common/common.module.css +82 -36
  174. package/lib/common/customscroll.module.css +33 -12
  175. package/lib/common/transition.module.css +50 -10
  176. package/lib/semantic/Button/semanticButton.module.css +3 -3
  177. package/lib/v1/MultiSelect/props/defaultProps.js +4 -2
  178. package/lib/v1/Tab/v1Tab.module.css +28 -39
  179. package/lib/v1/Tab/v1Tabs.module.css +51 -29
  180. package/lib/v1/Typography/css/Typography.module.css +39 -33
  181. package/package.json +3 -3
  182. package/result.json +1 -0
@@ -1,12 +1,9 @@
1
1
  .varClass {
2
2
  /* listitem default variables */
3
- --listitem_text_color: var(--zdt_base_color);
4
- --listitem_padding: 9px 20px;
3
+ --listitem_text_color: var(--zdt_listitem_default_text);
4
+ --listitem_padding: var(--zd_size9) var(--zd_size20);
5
5
  --listitem_border_width: 0;
6
6
  --listitem_border_color: var(--zdt_listitem_default_border);
7
- --listitem_avatar_margin: 0 15px 0 0
8
- /*rtl: 0 0 0 15px*/
9
- ;
10
7
  --listitem_bg_color: var(--zdt_listitem_default_bg);
11
8
  --listitem_active_bg_color: var(--zdt_listitem_primary_bg);
12
9
  --listitem_height: auto;
@@ -17,162 +14,144 @@
17
14
 
18
15
  /* listitem tick icon default variables */
19
16
  --listitem_tickicon_color: var(--zdt_listitem_default_tickicon);
17
+ }[dir=ltr] .varClass {
18
+ --listitem_avatar_margin: 0 var(--zd_size15) 0 0;
19
+ }[dir=rtl] .varClass {
20
+ --listitem_avatar_margin: 0 0 0 var(--zd_size15);
20
21
  }
21
-
22
22
  .list {
23
23
  composes: varClass;
24
24
  position: relative;
25
25
  list-style: none;
26
26
  color: var(--listitem_text_color);
27
- font-size: 13px;
27
+ font-size: var(--zd_font_size13) ;
28
+ height: var(--listitem_height);
29
+ min-height: var(--listitem_min_height);
30
+ text-decoration: none;
28
31
  padding: var(--listitem_padding);
29
32
  border-width: var(--listitem_border_width);
30
33
  border-style: solid;
31
34
  border-color: var(--listitem_border_color);
32
- height: var(--listitem_height);
33
- min-height: var(--listitem_min_height);
34
35
  cursor: pointer;
35
- text-decoration: none;
36
36
  }
37
-
38
- .list,
39
- .default,
40
- .secondary {
37
+ .list, .default, .secondary {
41
38
  background-color: var(--listitem_bg_color);
42
39
  }
43
-
44
- .withBorder {
45
- --listitem_border_width: 0 0 0 1px
46
- /*rtl: 0 1px 0 0*/
47
- ;
40
+ [dir=ltr] .withBorder {
41
+ --listitem_border_width: 0 0 0 1px /*rtl: 0 1px 0 0*/;
42
+ }
43
+ [dir=rtl] .withBorder {
44
+ --listitem_border_width: 0 1px 0 0;
48
45
  }
49
-
50
46
  .active {
51
47
  --listitem_border_color: var(--zdt_listitem_active_border);
52
48
  }
53
-
54
- .small {
55
- --listitem_padding: 7px 3px 7px 5px
56
- /*rtl: 7px 5px 7px 3px*/
57
- ;
49
+ [dir=ltr] .small {
50
+ --listitem_padding: var(--zd_size7) var(--zd_size3) var(--zd_size7) var(--zd_size5);
51
+ }
52
+ [dir=rtl] .small {
53
+ --listitem_padding: var(--zd_size7) var(--zd_size5) var(--zd_size7) var(--zd_size3);
58
54
  }
59
-
60
55
  .medium {
61
- --listitem_padding: 7px 20px;
62
- --listitem_min_height: 35px;
56
+ --listitem_padding: var(--zd_size7) var(--zd_size20);
57
+ --listitem_min_height: var(--zd_size35);
63
58
  }
64
-
65
59
  .large {
66
- --listitem_padding: 10px 3px 10px 25px
67
- /*rtl: 10px 25px 10px 3px*/
68
- ;
69
- --listitem_height: 48px;
60
+ --listitem_height: var(--zd_size48);
61
+ }
62
+ [dir=ltr] .large {
63
+ --listitem_padding: var(--zd_size10) var(--zd_size3) var(--zd_size10) var(--zd_size25);
64
+ }
65
+ [dir=rtl] .large {
66
+ --listitem_padding: var(--zd_size10) var(--zd_size25) var(--zd_size10) var(--zd_size3);
70
67
  }
71
-
72
68
  .value,
73
69
  .children {
74
70
  composes: dotted from '../common/common.module.css';
75
71
  }
76
-
77
- .value,
78
- .multiLineValue {
72
+ .value, .multiLineValue {
79
73
  line-height: 1.5385;
80
74
  }
81
-
82
- .multiLineValue {
75
+ .multiLineValue{
83
76
  word-break: break-word;
84
77
  composes: clamp from '../common/common.module.css'
85
78
  }
86
-
87
79
  .iconBox {
88
- width: 20px;
89
- margin-right: 10px;
80
+ width: var(--zd_size20) ;
90
81
  text-align: center;
91
82
  }
92
-
83
+ [dir=ltr] .iconBox {
84
+ margin-right: var(--zd_size10) ;
85
+ }
86
+ [dir=rtl] .iconBox {
87
+ margin-left: var(--zd_size10) ;
88
+ }
93
89
  .iconBox,
94
90
  .leftAvatar {
95
- font-size: 0;
91
+ font-size: 0 ;
96
92
  }
97
-
98
93
  .leftAvatar {
99
94
  margin: var(--listitem_avatar_margin);
100
95
  }
101
96
 
102
- .defaultHover,
103
- .primaryHover,
104
- .secondaryHover,
105
- .darkHover {
97
+ .defaultHover, .primaryHover, .secondaryHover, .darkHover {
106
98
  background-color: var(--listitem_highlight_bg_color);
107
99
  }
108
-
109
100
  .activewithBorder {
110
- --listitem_border_width: 0 0 0 1px
111
- /*rtl: 0 1px 0 0*/
112
- ;
113
101
  --listitem_border_color: var(--zdt_listitem_active_border);
114
102
  }
103
+ [dir=ltr] .activewithBorder {
104
+ --listitem_border_width: 0 0 0 1px /*rtl: 0 1px 0 0*/;
105
+ }
106
+ [dir=rtl] .activewithBorder {
107
+ --listitem_border_width: 0 1px 0 0;
108
+ }
115
109
 
116
110
  .defaultHover,
117
111
  .defaultEffect:hover
118
-
119
112
  /* .defaultEffect:focus */
120
- {
113
+ {
121
114
  --listitem_bg_color: var(--zdt_listitem_highlight_bg);
122
115
  }
123
-
124
116
  .primaryHover,
125
117
  .primaryEffect:hover
126
-
127
118
  /* .primaryEffect:focus */
128
- {
119
+ {
129
120
  --listitem_bg_color: var(--zdt_listitem_primary_bg);
130
121
  --listitem_highlight_bg_color: var(--zdt_listitem_primary_bg);
131
122
  }
132
-
133
123
  .secondaryHover,
134
124
  .secondaryEffect:hover
135
-
136
125
  /* .secondaryEffect:focus */
137
- {
126
+ {
138
127
  --listitem_bg_color: var(--zdt_listitem_secondary_bg);
139
128
  --listitem_highlight_bg_color: var(--zdt_listitem_secondary_bg);
140
129
  --listitem_text_color: var(--zdt_listitem_secondary_text);
141
130
  }
142
-
143
131
  .darkHover,
144
132
  .darkEffect:hover
145
-
146
133
  /* .darkEffect:focus */
147
- {
134
+ {
148
135
  --listitem_bg_color: var(--zdt_listitem_dark_effect_bg);
149
136
  --listitem_highlight_bg_color: var(--zdt_listitem_dark_effect_bg);
150
137
  }
151
-
152
- .activedefault,
153
- .activeprimary,
154
- .activesecondary,
155
- .activedark {
138
+ .activedefault, .activeprimary, .activesecondary, .activedark {
156
139
  background-color: var(--listitem_active_bg_color);
157
140
  }
158
-
159
141
  .activedefault,
160
142
  .activedefault:hover,
161
143
  .activeprimary,
162
144
  .activeprimary:hover {
163
145
  --listitem_active_bg_color: var(--zdt_listitem_primary_bg);
164
146
  }
165
-
166
147
  .activesecondary {
167
148
  --listitem_active_bg_color: var(--zdt_listitem_secondary_bg);
168
149
  --listitem_text_color: var(--zdt_listitem_secondary_text);
169
150
  }
170
-
171
151
  .dark {
172
152
  --listitem_bg_color: var(--zdt_listitem_dark_bg);
173
153
  --listitem_text_color: var(--zdt_listitem_dark_text);
174
154
  }
175
-
176
155
  .activedark {
177
156
  --listitem_active_bg_color: var(--zdt_listitem_dark_active_bg);
178
157
  }
@@ -182,42 +161,45 @@
182
161
  .darkTick {
183
162
  position: absolute;
184
163
  color: var(--listitem_tickicon_color);
185
- right: 20px;
186
164
  }
187
165
 
166
+ [dir=ltr] .tickIcon, [dir=ltr] .defaultTick, [dir=ltr] .darkTick {
167
+ right: var(--zd_size20) ;
168
+ }
169
+
170
+ [dir=rtl] .tickIcon, [dir=rtl] .defaultTick, [dir=rtl] .darkTick {
171
+ left: var(--zd_size20) ;
172
+ }
188
173
  .defaultTick {
189
174
  --listitem_tickicon_color: var(--zdt_listitem_default_tickicon);
190
175
  }
191
-
192
176
  .darkTick {
193
177
  --listitem_tickicon_color: var(--zdt_listitem_dark_tickicon);
194
178
  }
195
-
196
- .defaultTick>i {
179
+ .defaultTick > i {
197
180
  display: block;
198
181
  }
199
-
200
- .smallwithTick {
201
- --listitem_padding: 7px 39px 7px 5px
202
- /*rtl: 7px 5px 7px 39px*/
203
- ;
182
+ [dir=ltr] .smallwithTick {
183
+ --listitem_padding: var(--zd_size7) var(--zd_size39) var(--zd_size7) var(--zd_size5);
204
184
  }
205
-
206
- .mediumwithTick {
207
- --listitem_padding: 7px 39px 7px 20px
208
- /*rtl: 7px 20px 7px 39px*/
209
- ;
185
+ [dir=rtl] .smallwithTick {
186
+ --listitem_padding: var(--zd_size7) var(--zd_size5) var(--zd_size7) var(--zd_size39);
210
187
  }
211
-
212
- .largewithTick {
213
- --listitem_padding: 10px 39px 10px 25px
214
- /*rtl: 10px 25px 10px 39px*/
215
- ;
188
+ [dir=ltr] .mediumwithTick {
189
+ --listitem_padding: var(--zd_size7) var(--zd_size39) var(--zd_size7) var(--zd_size20);
190
+ }
191
+ [dir=rtl] .mediumwithTick {
192
+ --listitem_padding: var(--zd_size7) var(--zd_size20) var(--zd_size7) var(--zd_size39);
193
+ }
194
+ [dir=ltr] .largewithTick {
195
+ --listitem_padding: var(--zd_size10) var(--zd_size39) var(--zd_size10) var(--zd_size25);
196
+ }
197
+ [dir=rtl] .largewithTick {
198
+ --listitem_padding: var(--zd_size10) var(--zd_size25) var(--zd_size10) var(--zd_size39);
216
199
  }
217
-
218
200
  .responsiveHeight {
219
- --listitem_min_height: 45px;
220
- padding-top: 10px;
221
- padding-bottom: 10px;
222
- font-size: 15px;
223
- }
201
+ --listitem_min_height: var(--zd_size45);
202
+ font-size: var(--zd_font_size15) ;
203
+ padding-top: var(--zd_size10) ;
204
+ padding-bottom: var(--zd_size10) ;
205
+ }
@@ -1,3 +1,5 @@
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
+
1
3
  /**** Libraries ****/
2
4
  import React from 'react';
3
5
  import { Box } from '../Layout';
@@ -95,7 +97,7 @@ export default class ListItemWithAvatar extends React.PureComponent {
95
97
  } = listA11y;
96
98
  let isDarkPalette = palette === 'dark';
97
99
  let dataIdString = value ? value : dataId;
98
- return /*#__PURE__*/React.createElement(ListContainer, {
100
+ return /*#__PURE__*/React.createElement(ListContainer, _extends({
99
101
  a11y: listA11y,
100
102
  size: size,
101
103
  palette: palette,
@@ -113,9 +115,8 @@ export default class ListItemWithAvatar extends React.PureComponent {
113
115
  eleRef: this.getRef,
114
116
  disableTitle: disableTitle,
115
117
  title: null,
116
- customProps: ListItemProps,
117
- ...ContainerProps
118
- }, name || imgSrc ? /*#__PURE__*/React.createElement(Box, {
118
+ customProps: ListItemProps
119
+ }, ContainerProps), name || imgSrc ? /*#__PURE__*/React.createElement(Box, {
119
120
  className: style.leftAvatar
120
121
  }, isTeam ? /*#__PURE__*/React.createElement(AvatarTeam, {
121
122
  name: name,
@@ -1,3 +1,5 @@
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
+
1
3
  import React from 'react';
2
4
  import ListContainer from './ListContainer';
3
5
  import { ListItemWithCheckBoxDefaultProps } from './props/defaultProps';
@@ -74,7 +76,7 @@ export default class ListItemWithCheckBox extends React.Component {
74
76
  customCheckBox = '',
75
77
  customLabel = ''
76
78
  } = customClass;
77
- return /*#__PURE__*/React.createElement(ListContainer, {
79
+ return /*#__PURE__*/React.createElement(ListContainer, _extends({
78
80
  a11y: listA11y,
79
81
  size: size,
80
82
  palette: palette,
@@ -90,9 +92,8 @@ export default class ListItemWithCheckBox extends React.Component {
90
92
  eleRef: this.getRef,
91
93
  disableTitle: disableTitle,
92
94
  title: null,
93
- customProps: ListItemProps,
94
- ...ContainerProps
95
- }, /*#__PURE__*/React.createElement(Box, {
95
+ customProps: ListItemProps
96
+ }, ContainerProps), /*#__PURE__*/React.createElement(Box, {
96
97
  className: style.iconBox
97
98
  }, /*#__PURE__*/React.createElement(CheckBox, {
98
99
  checked: checked,
@@ -1,3 +1,5 @@
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
+
1
3
  /**** Libraries ****/
2
4
  import React from 'react';
3
5
  import { Box } from '../Layout';
@@ -85,7 +87,7 @@ export default class ListItemWithIcon extends React.Component {
85
87
  ariaHidden
86
88
  } = listA11y;
87
89
  let dataIdString = dataId ? `${dataId.replace("'", '_')}` : value.toLowerCase().replace("'", '_');
88
- return /*#__PURE__*/React.createElement(ListContainer, {
90
+ return /*#__PURE__*/React.createElement(ListContainer, _extends({
89
91
  a11y: listA11y,
90
92
  size: size,
91
93
  palette: palette,
@@ -106,9 +108,8 @@ export default class ListItemWithIcon extends React.Component {
106
108
  eleRef: this.getRef,
107
109
  disableTitle: disableTitle,
108
110
  title: null,
109
- customProps: ListItemProps,
110
- ...ContainerProps
111
- }, iconName && /*#__PURE__*/React.createElement(Box, {
111
+ customProps: ListItemProps
112
+ }, ContainerProps), iconName && /*#__PURE__*/React.createElement(Box, {
112
113
  "aria-hidden": true,
113
114
  className: style.iconBox,
114
115
  dataId: dataId ? `${dataId}_Icon` : `${value.toLowerCase().replace("'", '_')}_Icon`
@@ -1,3 +1,5 @@
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
+
1
3
  import React from 'react';
2
4
  import Radio from '../Radio/Radio';
3
5
  import { Box } from '../Layout';
@@ -75,7 +77,7 @@ export default class ListItemWithRadio extends React.Component {
75
77
  customRadio = '',
76
78
  customRadioWrap = ''
77
79
  } = customClass;
78
- return /*#__PURE__*/React.createElement(ListContainer, {
80
+ return /*#__PURE__*/React.createElement(ListContainer, _extends({
79
81
  a11y: listA11y,
80
82
  size: size,
81
83
  palette: palette,
@@ -91,9 +93,8 @@ export default class ListItemWithRadio extends React.Component {
91
93
  eleRef: this.getRef,
92
94
  disableTitle: disableTitle,
93
95
  title: null,
94
- customProps: ListItemProps,
95
- ...ContainerProps
96
- }, /*#__PURE__*/React.createElement(Box, {
96
+ customProps: ListItemProps
97
+ }, ContainerProps), /*#__PURE__*/React.createElement(Box, {
97
98
  className: style.iconBox
98
99
  }, /*#__PURE__*/React.createElement(Radio, {
99
100
  checked: checked,
package/es/Modal/Modal.js CHANGED
@@ -1,3 +1,5 @@
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
+
1
3
  /**** Libraries ****/
2
4
  import React from 'react';
3
5
  import ReactDOM from 'react-dom';
@@ -129,10 +131,9 @@ export default class Modal extends React.Component {
129
131
 
130
132
  if (isMounted) {
131
133
  if (Element) {
132
- return /*#__PURE__*/ReactDOM.createPortal( /*#__PURE__*/React.createElement(Element, {
133
- ref: this.setRef,
134
- ...elementProps
135
- }), this.portalDiv);
134
+ return /*#__PURE__*/ReactDOM.createPortal( /*#__PURE__*/React.createElement(Element, _extends({
135
+ ref: this.setRef
136
+ }, elementProps)), this.portalDiv);
136
137
  }
137
138
 
138
139
  return null;
@@ -1,3 +1,5 @@
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
+
1
3
  /**** Libraries ****/
2
4
  import React from 'react';
3
5
  import { AdvancedMultiSelect_propTypes } from './props/propTypes';
@@ -486,7 +488,7 @@ export class AdvancedMultiSelectComponent extends MultiSelectComponent {
486
488
  let {
487
489
  tabletMode
488
490
  } = _ref2;
489
- return /*#__PURE__*/React.createElement(ResponsiveDropBox, {
491
+ return /*#__PURE__*/React.createElement(ResponsiveDropBox, _extends({
490
492
  animationStyle: animationStyle,
491
493
  boxPosition: position || `${defaultDropBoxPosition}Center`,
492
494
  getRef: getContainerRef,
@@ -500,11 +502,11 @@ export class AdvancedMultiSelectComponent extends MultiSelectComponent {
500
502
  a11y: {
501
503
  role: 'listbox',
502
504
  ariaMultiselectable: true
503
- },
504
- ...DropBoxProps,
505
+ }
506
+ }, DropBoxProps, {
505
507
  alignBox: "row",
506
508
  isResponsivePadding: getFooter ? false : true
507
- }, isLoading ? /*#__PURE__*/React.createElement(Container, {
509
+ }), isLoading ? /*#__PURE__*/React.createElement(Container, {
508
510
  align: "both",
509
511
  className: style.loader
510
512
  }, /*#__PURE__*/React.createElement(Loader, null)) : /*#__PURE__*/React.createElement(Box, {
@@ -521,7 +523,7 @@ export class AdvancedMultiSelectComponent extends MultiSelectComponent {
521
523
  shrink: true,
522
524
  customClass: !tabletMode && dropBoxSize ? style[dropBoxSize] : '',
523
525
  eleRef: this.suggestionContainerRef
524
- }, suggestions.length ? /*#__PURE__*/React.createElement(Suggestions, {
526
+ }, suggestions.length ? /*#__PURE__*/React.createElement(Suggestions, _extends({
525
527
  suggestions: suggestions,
526
528
  selectedOptions: allselectedOptionIds,
527
529
  getRef: this.suggestionItemRef,
@@ -532,9 +534,8 @@ export class AdvancedMultiSelectComponent extends MultiSelectComponent {
532
534
  listItemSize: listItemSize,
533
535
  a11y: {
534
536
  role: 'option'
535
- },
536
- ...SuggestionsProps
537
- }) : /*#__PURE__*/React.createElement(EmptyState, {
537
+ }
538
+ }, SuggestionsProps)) : /*#__PURE__*/React.createElement(EmptyState, {
538
539
  isLoading: isFetchingOptions,
539
540
  options: options,
540
541
  searchString: searchStr,
@@ -1,19 +1,16 @@
1
- .container {
2
- padding: 0 20px 12px 20px;
3
- }
4
-
5
- .header {
6
- padding-bottom: 4px;
7
- }
8
-
9
- .cardHeading {
10
- font-size: 16px;
11
- color: var(--zdt_multiselect_res_title_text);
12
- composes: bold dotted from '../../common/common.module.css'
13
- }
14
-
15
- .buttonText {
16
- font-size: 15px;
17
- padding: 0;
18
- composes: dotted from '../../common/common.module.css'
19
- }
1
+ .container{
2
+ padding: 0 var(--zd_size20) var(--zd_size12) var(--zd_size20) ;
3
+ }
4
+ .header{
5
+ padding-bottom: var(--zd_size4) ;
6
+ }
7
+ .cardHeading{
8
+ font-size: var(--zd_font_size16) ;
9
+ color: var(--zdt_multiselect_res_title_text);
10
+ composes: bold dotted from '../../common/common.module.css'
11
+ }
12
+ .buttonText{
13
+ font-size: var(--zd_font_size15) ;
14
+ composes: dotted from '../../common/common.module.css';
15
+ padding: 0
16
+ }