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

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