@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,33 +1,33 @@
1
1
  .varClass {
2
2
  /* dropdownheading default variables */
3
- --dropdownheading_text_color: var(--zdt_dropdown_default_text);
3
+ --dropdownheading_text_color: var(--zdt_base_color);
4
4
  --dropdownheading_text_transform: uppercase;
5
- --dropdownheading_padding: var(--zd_size10) var(--zd_size20);
5
+ --dropdownheading_padding: 10px 20px;
6
6
  --dropdownheading_bg_color: none;
7
7
 
8
8
  /* dropdownheading underline default variables */
9
- --dropdownheading_underline_width: var(--zd_size20);
10
- --dropdownheading_underline_height: var(--zd_size1);
9
+ --dropdownheading_underline_width: 20px;
10
+ --dropdownheading_underline_height: 1px;
11
11
  --dropdownheading_underline_bg_color: var(--zdt_dropdown_default_bg);
12
- --dropdownheading_underline_left: var(--zd_size20);
12
+ --dropdownheading_underline_left: 20px;
13
13
  }
14
+
14
15
  .default {
15
16
  composes: dotted semibold from '../common/common.module.css';
16
17
  composes: varClass;
17
18
  position: relative;
18
- font-size: var(--zd_font_size11) ;
19
+ font-size: 11px;
19
20
  letter-spacing: 0.6px;
20
21
  text-transform: var(--dropdownheading_text_transform);
21
- /* css:theme-validation:ignore */
22
22
  color: var(--dropdownheading_text_color);
23
- /* css:theme-validation:ignore */
24
23
  padding: var(--dropdownheading_padding);
25
24
  background-color: var(--dropdownheading_bg_color);
26
25
  }
26
+
27
27
  .default::after {
28
28
  position: absolute;
29
29
  content: '';
30
- bottom: var(--zd_size2) ;
30
+ bottom: 2px;
31
31
  width: var(--dropdownheading_underline_width);
32
32
  height: var(--dropdownheading_underline_height);
33
33
  }
@@ -35,18 +35,11 @@
35
35
  .light {
36
36
  composes: default;
37
37
  }
38
+
38
39
  .light::after,
39
40
  .dark::after {
40
- /* css:theme-validation:ignore */
41
- }
42
- .light::after, .dark::after {
43
- background-color: var(--dropdownheading_underline_bg_color);
44
- }
45
- [dir=ltr] .light::after, [dir=ltr] .dark::after {
46
41
  left: var(--dropdownheading_underline_left);
47
- }
48
- [dir=rtl] .light::after, [dir=rtl] .dark::after {
49
- right: var(--dropdownheading_underline_left);
42
+ background-color: var(--dropdownheading_underline_bg_color);
50
43
  }
51
44
 
52
45
  .dark {
@@ -54,6 +47,7 @@
54
47
  --dropdownheading_text_color: var(--zdt_dropdown_darkheading_text);
55
48
  --dropdownheading_bg_color: var(--zdt_dropdown_darkheading_bg);
56
49
  }
50
+
57
51
  .dark::after {
58
52
  --dropdownheading_underline_bg_color: var(--zdt_dropdown_darkheading_underline_bg);
59
- }
53
+ }
@@ -1,67 +1,54 @@
1
1
  .varClass {
2
2
  /* dropdownitem default variables */
3
- --dropdownitem-padding: var(--zd_size9) var(--zd_size19);
3
+ --dropdownitem-padding: 9px 19px;
4
4
  --dropdownitem-border-color: var(--zdt_dropdown_default_border);
5
5
  --dropdownitem-bg-color: var(--zdt_dropdown_mirror_bg);
6
6
 
7
7
  /* dropdownitem user default variables */
8
- --dropdownitem-user-width: var(--zd_size42);
8
+ --dropdownitem-user-width: 42px;
9
+ --dropdownitem-user-border-width: 0 0 0 1px
10
+ /*rtl: 0 1px 0 0*/
11
+ ;
9
12
  --dropdownitem-user-border-style: solid;
10
13
  --dropdownitem-user-border-color: var(--zdt_dropdown_user_default_border);
11
14
  --dropdownitem-user-cursor: pointer;
12
- }[dir=ltr] .varClass {
13
- --dropdownitem-user-border-width: 0 0 0 1px/*rtl: 0 1px 0 0*/;
14
- }[dir=rtl] .varClass {
15
- --dropdownitem-user-border-width: 0 1px 0 0;
16
15
  }
16
+
17
17
  .list {
18
18
  composes: varClass;
19
19
  composes: dflex alignVertical from '../common/common.module.css';
20
20
  position: relative;
21
- color: var(--zdt_dropdown_default_text);
22
- font-size: var(--zd_font_size13) ;
23
- /* css:theme-validation:ignore */
24
- /* css:theme-validation:ignore */
25
21
  padding: var(--dropdownitem-padding);
22
+ color: var(--zdt_base_color);
23
+ font-size: 13px;
24
+ border-width: 0 0 0 1px
25
+ /*rtl: 0 1px 0 0*/
26
+ ;
26
27
  border-style: solid;
27
28
  border-color: var(--dropdownitem-border-color);
28
29
  cursor: pointer;
29
30
  background-color: var(--dropdownitem-bg-color);
30
31
  }
31
- [dir=ltr] .list {
32
- border-width: 0 0 0 1px/*rtl: 0 1px 0 0*/;
33
- }
34
- [dir=rtl] .list {
35
- border-width: 0 1px 0 0;
36
- }
37
32
 
38
33
  .listActive {
39
34
  --dropdownitem-border-color: var(--zdt_dropdown_listactive_border);
40
35
  --dropdownitem-bg-color: var(--zdt_dropdown_listactive_bg);
41
36
  }
37
+
42
38
  .listHover {
43
39
  --dropdownitem-bg-color: var(--zdt_dropdown_listhover_bg);
44
40
  }
45
41
 
46
- [dir=ltr] .padding {
47
- --dropdownitem-padding: 0 var(--zd_size50) 0 0;
48
- }
49
-
50
- [dir=rtl] .padding {
51
- --dropdownitem-padding: 0 0 0 var(--zd_size50);
42
+ .padding {
43
+ --dropdownitem-padding: 0 50px 0 0
44
+ /*rtl: 0 0 0 50px*/
45
+ ;
52
46
  }
53
47
 
54
48
  .children {
49
+ margin-right: 10px;
55
50
  display: inline-block;
56
- font-size: 0 ;
57
- }
58
-
59
- [dir=ltr] .children {
60
- margin-right: var(--zd_size10) ;
61
- }
62
-
63
- [dir=rtl] .children {
64
- margin-left: var(--zd_size10) ;
51
+ font-size: 0;
65
52
  }
66
53
 
67
54
  .value {
@@ -71,27 +58,19 @@
71
58
  .user {
72
59
  composes: dflex alignVertical alignHorizontal from '../common/common.module.css';
73
60
  position: absolute;
74
- top: 0 ;
75
- bottom: 0 ;
61
+ top: 0;
62
+ right: 0;
63
+ bottom: 0;
76
64
  opacity: 0;
77
65
  visibility: hidden;
78
66
  width: var(--dropdownitem-user-width);
79
- /* css:theme-validation:ignore */
80
67
  border-width: var(--dropdownitem-user-border-width);
81
68
  border-style: var(--dropdownitem-user-border-style);
82
69
  border-color: var(--dropdownitem-user-border-color);
83
70
  cursor: var(--dropdownitem-user-cursor);
84
71
  }
85
72
 
86
- [dir=ltr] .user {
87
- right: 0 ;
88
- }
89
-
90
- [dir=rtl] .user {
91
- left: 0 ;
92
- }
93
-
94
73
  .list:hover .user {
95
74
  opacity: 1;
96
75
  visibility: visible;
97
- }
76
+ }
@@ -1,14 +1,14 @@
1
1
  .varClass {
2
2
  /* dropdownsearch default variables */
3
- --dropdownsearch-padding: 0 var(--zd_size15) 0;
3
+ --dropdownsearch-padding: 0 15px 0;
4
4
  }
5
5
  .search {
6
6
  composes: varClass;
7
7
  padding: var(--dropdownsearch-padding);
8
8
  }
9
9
  .smallSearch {
10
- --dropdownsearch-padding: 0 var(--zd_size5) 0;
10
+ --dropdownsearch-padding: 0 5px 0;
11
11
  }
12
12
  .mediumSearch {
13
- --dropdownsearch-padding: 0 var(--zd_size15) 0;
13
+ --dropdownsearch-padding: 0 15px 0;
14
14
  }
@@ -1,7 +1,7 @@
1
1
  .separator {
2
- height: var(--zd_size1) ;
2
+ height: 1px;
3
3
  border-width: 0 0 1px 0;
4
4
  border-style: solid;
5
5
  border-color: var(--zdt_dropdown_user_default_border);
6
- margin: var(--zd_size5) 0 ;
6
+ margin: 5px 0;
7
7
  }
@@ -1,5 +1,5 @@
1
1
  .reset {
2
- font-size: inherit ;
2
+ font-size: inherit;
3
3
  font-weight: initial;
4
- margin: initial ;
4
+ margin: initial;
5
5
  }
@@ -1,58 +1,69 @@
1
1
  .varClass {
2
2
  /* label default variables */
3
- --label_font_size: var(--zd_font_size14);
4
- --label_text_color: var(--zdt_label_default_text);
3
+ --label_font_size: 14px;
4
+ --label_text_color: var(--zdt_base_color);
5
5
  --label_font_family: var(--zd_regular);
6
6
  --label_cursor: default;
7
7
  --label_line_height: 1.286;
8
8
  }
9
+
9
10
  /* css:lineheight-validation:ignore */
10
11
  .label {
11
12
  composes: varClass;
12
13
  vertical-align: middle;
13
14
  line-height: var(--label_line_height);
14
15
  font-size: var(--label_font_size);
15
- /* css:theme-validation:ignore */
16
16
  color: var(--label_text_color);
17
17
  font-family: var(--label_font_family);
18
18
  cursor: var(--label_cursor);
19
19
  }
20
+
20
21
  .xsmall {
21
- --label_font_size: var(--zd_font_size12);
22
- --label_line_height:1.5;
22
+ --label_font_size: 12px;
23
+ --label_line_height: 1.5;
23
24
  }
25
+
24
26
  .small {
25
- --label_font_size: var(--zd_font_size13);
26
- --label_line_height:1.385;
27
+ --label_font_size: 13px;
28
+ --label_line_height: 1.385;
27
29
  }
30
+
28
31
  .medium {
29
- --label_font_size: var(--zd_font_size14);
30
- --label_line_height:1.286;
32
+ --label_font_size: 14px;
33
+ --label_line_height: 1.286;
31
34
  }
35
+
32
36
  .large {
33
- --label_font_size: var(--zd_font_size26);
34
- --label_line_height:0.6923;
37
+ --label_font_size: 26px;
38
+ --label_line_height: 0.6923;
35
39
  composes: semibold from '../common/common.module.css';
36
40
  }
41
+
37
42
  .pointer {
38
43
  --label_cursor: pointer;
39
44
  }
45
+
40
46
  .cursor {
41
47
  --label_cursor: default;
42
48
  }
49
+
43
50
  .title {
44
51
  display: block;
45
52
  }
53
+
46
54
  .subtitle {
47
55
  display: inline-block;
48
56
  }
57
+
49
58
  .font_default {
50
59
  --label_font_family: var(--zd_regular);
51
60
  }
61
+
52
62
  .font_primary {
53
63
  --label_font_family: var(--zd_semibold);
54
64
  composes: ftsmooth from '../common/common.module.css';
55
65
  }
66
+
56
67
  .dotted {
57
68
  composes: dotted from '../common/common.module.css';
58
- }
69
+ }
@@ -1,21 +1,27 @@
1
1
  .default {
2
- --label_text_color: var(--zdt_label_default_text);
2
+ --label_text_color: var(--zdt_base_color);
3
3
  }
4
+
4
5
  .primary {
5
6
  --label_text_color: var(--zdt_label_primary_text);
6
7
  }
8
+
7
9
  .secondary {
8
10
  --label_text_color: var(--zdt_label_secondary_text);
9
11
  }
12
+
10
13
  .danger {
11
14
  --label_text_color: var(--zdt_label_danger_text);
12
15
  }
16
+
13
17
  .mandatory {
14
18
  --label_text_color: var(--zdt_label_mandatory_text);
15
19
  }
20
+
16
21
  .disable {
17
22
  --label_text_color: var(--zdt_label_disable_text);
18
23
  }
24
+
19
25
  .dark {
20
26
  --label_text_color: var(--zdt_label_dark_text);
21
27
  }
@@ -11,8 +11,8 @@
11
11
  }
12
12
 
13
13
  .cover {
14
- width: 100% ;
15
- height: 100% ;
14
+ width: 100%;
15
+ height: 100%;
16
16
  }
17
17
 
18
18
  /* .flex {
@@ -67,8 +67,8 @@
67
67
  -webkit-box-flex: 1;
68
68
  -ms-flex-positive: 1;
69
69
  flex-grow: 1;
70
- min-height: 0 ;
71
- min-width: 0 ;
70
+ min-height: 0;
71
+ min-width: 0;
72
72
  }
73
73
 
74
74
  .shrinkOff {
@@ -83,18 +83,18 @@
83
83
  -moz-flex-shrink: 1;
84
84
  -webkit-flex-shrink: 1;
85
85
  -ms-flex-shrink: 1;
86
- min-width: 0 ;
86
+ min-width: 0;
87
87
  }
88
88
 
89
89
  .basis {
90
- flex-basis: 0% ;
90
+ flex-basis: 0%;
91
91
  -webkit-flex-basis: 0%;
92
92
  -moz-flex-basis: 0%;
93
93
  -ms-flex-basis: 0%;
94
94
  }
95
95
 
96
96
  .basisAuto {
97
- flex-basis: auto ;
97
+ flex-basis: auto;
98
98
  -webkit-flex-basis: auto;
99
99
  -moz-flex-basis: auto;
100
100
  -ms-flex-basis: auto;
@@ -146,8 +146,8 @@
146
146
 
147
147
  .col-3 {
148
148
  -ms-flex-preferred-size: 25%;
149
- flex-basis: 25% ;
150
- max-width: 25% ;
149
+ flex-basis: 25%;
150
+ max-width: 25%;
151
151
  }
152
152
 
153
153
  .col-4 {
@@ -164,8 +164,8 @@
164
164
 
165
165
  .col-6 {
166
166
  -ms-flex-preferred-size: 50%;
167
- flex-basis: 50% ;
168
- max-width: 50% ;
167
+ flex-basis: 50%;
168
+ max-width: 50%;
169
169
  }
170
170
 
171
171
  .col-7 {
@@ -182,8 +182,8 @@
182
182
 
183
183
  .col-9 {
184
184
  -ms-flex-preferred-size: 75%;
185
- flex-basis: 75% ;
186
- max-width: 75% ;
185
+ flex-basis: 75%;
186
+ max-width: 75%;
187
187
  }
188
188
 
189
189
  .col-10 {
@@ -200,8 +200,8 @@
200
200
 
201
201
  .col-12 {
202
202
  -ms-flex-preferred-size: 100%;
203
- flex-basis: 100% ;
204
- max-width: 100% ;
203
+ flex-basis: 100%;
204
+ max-width: 100%;
205
205
  }
206
206
 
207
207
  .hCenter {
@@ -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, { useCallback } from 'react';
5
3
  import { Container } from '../Layout';
@@ -73,7 +71,7 @@ const ListContainer = props => {
73
71
  options.tabindex = '0';
74
72
  }
75
73
 
76
- return /*#__PURE__*/React.createElement(Container, _extends({
74
+ return /*#__PURE__*/React.createElement(Container, {
77
75
  role: role,
78
76
  "data-a11y-inset-focus": insetFocus,
79
77
  "aria-selected": ariaSelected,
@@ -89,8 +87,11 @@ const ListContainer = props => {
89
87
  onMouseOver: onMouseOver,
90
88
  eleRef: eleRef,
91
89
  tagName: isLink ? 'a' : 'li',
92
- "data-title": isDisabled ? disableTitle : title
93
- }, options, customProps, a11yAttributes), children);
90
+ "data-title": isDisabled ? disableTitle : title,
91
+ ...options,
92
+ ...customProps,
93
+ ...a11yAttributes
94
+ }, children);
94
95
  };
95
96
 
96
97
  ListContainer.defaultProps = ListContainerDefaultProps;
@@ -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';
@@ -92,7 +90,7 @@ export default class ListItem extends React.Component {
92
90
  } = listA11y;
93
91
  let tickIconPalette = style[`${palette}Tick`] ? style[`${palette}Tick`] : '';
94
92
  let dataIdString = dataId ? dataId : value ? String(value).replace("'", '_') : 'listItem';
95
- return /*#__PURE__*/React.createElement(ListContainer, _extends({
93
+ return /*#__PURE__*/React.createElement(ListContainer, {
96
94
  a11y: listA11y,
97
95
  size: size,
98
96
  palette: palette,
@@ -113,8 +111,9 @@ export default class ListItem extends React.Component {
113
111
  onClick: this.handleClick,
114
112
  onMouseEnter: this.handleMouseEnter,
115
113
  eleRef: this.getRef,
116
- customProps: ListItemProps
117
- }, ContainerProps), value ? /*#__PURE__*/React.createElement(Box, {
114
+ customProps: ListItemProps,
115
+ ...ContainerProps
116
+ }, value ? /*#__PURE__*/React.createElement(Box, {
118
117
  shrink: true,
119
118
  adjust: true,
120
119
  className: needMultiLineText ? style.multiLineValue : style.value