@zohodesk/components 1.0.0-temp-48 → 1.0.0-temp-49

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 (375) hide show
  1. package/README.md +48 -0
  2. package/assets/Appearance/dark/mode/darkMode.module.css +358 -0
  3. package/assets/Appearance/dark/themes/blue/blueDarkCTATheme.module.css +34 -0
  4. package/assets/Appearance/dark/themes/blue/blueDarkComponentTheme.module.css +42 -0
  5. package/assets/Appearance/dark/themes/green/greenDarkCTATheme.module.css +34 -0
  6. package/assets/Appearance/dark/themes/green/greenDarkComponentTheme.module.css +42 -0
  7. package/assets/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css +34 -0
  8. package/assets/Appearance/dark/themes/orange/orangeDarkComponentTheme.module.css +42 -0
  9. package/assets/Appearance/dark/themes/red/redDarkCTATheme.module.css +34 -0
  10. package/assets/Appearance/dark/themes/red/redDarkComponentTheme.module.css +42 -0
  11. package/assets/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css +34 -0
  12. package/assets/Appearance/dark/themes/yellow/yellowDarkComponentTheme.module.css +42 -0
  13. package/assets/Appearance/default/mode/defaultMode.module.css +358 -0
  14. package/assets/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +34 -0
  15. package/assets/Appearance/default/themes/blue/blueDefaultComponentTheme.module.css +42 -0
  16. package/assets/Appearance/default/themes/green/greenDefaultCTATheme.module.css +34 -0
  17. package/assets/Appearance/default/themes/green/greenDefaultComponentTheme.module.css +42 -0
  18. package/assets/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +34 -0
  19. package/assets/Appearance/default/themes/orange/orangeDefaultComponentTheme.module.css +42 -0
  20. package/assets/Appearance/default/themes/red/redDefaultCTATheme.module.css +34 -0
  21. package/assets/Appearance/default/themes/red/redDefaultComponentTheme.module.css +42 -0
  22. package/assets/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +34 -0
  23. package/assets/Appearance/default/themes/yellow/yellowDefaultComponentTheme.module.css +42 -0
  24. package/es/Animation/Animation.js +7 -8
  25. package/es/AppContainer/AppContainer.js +52 -11
  26. package/es/Avatar/Avatar.js +10 -10
  27. package/es/Button/Button.js +17 -17
  28. package/es/Button/Button.module.css +6 -2
  29. package/es/Card/Card.js +4 -5
  30. package/es/Card/Card.module.css +3 -3
  31. package/es/DateTime/DateWidget.module.css +0 -4
  32. package/es/DropBox/DropBox.js +2 -2
  33. package/es/ListItem/ListContainer.js +118 -0
  34. package/es/ListItem/ListItem.js +23 -31
  35. package/es/ListItem/ListItemWithAvatar.js +21 -27
  36. package/es/ListItem/ListItemWithCheckBox.js +23 -29
  37. package/es/ListItem/ListItemWithIcon.js +26 -26
  38. package/es/ListItem/ListItemWithRadio.js +24 -31
  39. package/es/MultiSelect/AdvancedGroupMultiSelect.js +7 -4
  40. package/es/MultiSelect/AdvancedMultiSelect.js +21 -7
  41. package/es/MultiSelect/AdvancedMultiSelect.module.css +8 -8
  42. package/es/MultiSelect/MultiSelect.js +26 -8
  43. package/es/MultiSelect/MultiSelect.module.css +8 -13
  44. package/es/MultiSelect/MultiSelectWithAvatar.js +6 -3
  45. package/es/MultiSelect/SelectedOptions.js +3 -2
  46. package/es/PopOver/PopOver.js +19 -20
  47. package/es/PopOver/PopOver.module.css +1 -1
  48. package/es/Popup/Popup.js +1 -1
  49. package/es/Provider/Config.js +2 -1
  50. package/es/Provider.js +22 -22
  51. package/es/Radio/Radio.js +1 -2
  52. package/es/Radio/Radio.module.css +2 -2
  53. package/es/Responsive/ResizeComponent.js +1 -1
  54. package/es/Ribbon/Ribbon.js +8 -8
  55. package/es/RippleEffect/RippleEffect.js +7 -4
  56. package/es/RippleEffect/RippleEffect.module.css +3 -0
  57. package/es/Select/Select.js +14 -0
  58. package/es/Select/Select.module.css +1 -1
  59. package/es/Select/SelectWithAvatar.js +7 -4
  60. package/es/Stencils/Stencils.js +5 -6
  61. package/es/Stencils/Stencils.module.css +4 -14
  62. package/es/Tab/Tabs.js +14 -2
  63. package/es/Tag/Tag.js +10 -4
  64. package/es/Tag/Tag.module.css +14 -11
  65. package/es/TextBoxIcon/TextBoxIcon.js +1 -1
  66. package/es/TextBoxIcon/TextBoxIcon.module.css +5 -2
  67. package/es/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +1 -1
  68. package/es/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +1 -1
  69. package/es/common/docStyle.module.css +9 -9
  70. package/es/utils/dropDownUtils.js +39 -1
  71. package/lib/Animation/Animation.js +7 -8
  72. package/lib/AppContainer/AppContainer.js +61 -12
  73. package/lib/Avatar/Avatar.js +10 -10
  74. package/lib/Button/Button.js +17 -17
  75. package/lib/Button/Button.module.css +6 -2
  76. package/lib/Card/Card.js +4 -5
  77. package/lib/Card/Card.module.css +3 -3
  78. package/lib/DateTime/DateWidget.module.css +0 -4
  79. package/lib/DropBox/DropBox.js +6 -2
  80. package/lib/ListItem/ListContainer.js +127 -0
  81. package/lib/ListItem/ListItem.js +25 -32
  82. package/lib/ListItem/ListItemWithAvatar.js +23 -28
  83. package/lib/ListItem/ListItemWithCheckBox.js +24 -27
  84. package/lib/ListItem/ListItemWithIcon.js +27 -26
  85. package/lib/ListItem/ListItemWithRadio.js +26 -27
  86. package/lib/MultiSelect/AdvancedGroupMultiSelect.js +7 -4
  87. package/lib/MultiSelect/AdvancedMultiSelect.js +21 -6
  88. package/lib/MultiSelect/AdvancedMultiSelect.module.css +8 -8
  89. package/lib/MultiSelect/MultiSelect.js +25 -7
  90. package/lib/MultiSelect/MultiSelect.module.css +8 -13
  91. package/lib/MultiSelect/MultiSelectWithAvatar.js +6 -3
  92. package/lib/MultiSelect/SelectedOptions.js +3 -2
  93. package/lib/PopOver/PopOver.js +19 -20
  94. package/lib/PopOver/PopOver.module.css +1 -1
  95. package/lib/Popup/Popup.js +32 -29
  96. package/lib/Provider/Config.js +2 -1
  97. package/lib/Provider.js +22 -22
  98. package/lib/Radio/Radio.js +1 -3
  99. package/lib/Radio/Radio.module.css +2 -2
  100. package/lib/Responsive/ResizeComponent.js +1 -1
  101. package/lib/Ribbon/Ribbon.js +8 -8
  102. package/lib/RippleEffect/RippleEffect.js +7 -4
  103. package/lib/RippleEffect/RippleEffect.module.css +3 -0
  104. package/lib/Select/Select.js +16 -2
  105. package/lib/Select/Select.module.css +1 -1
  106. package/lib/Select/SelectWithAvatar.js +7 -4
  107. package/lib/Stencils/Stencils.js +5 -6
  108. package/lib/Stencils/Stencils.module.css +4 -14
  109. package/lib/Tab/Tabs.js +13 -2
  110. package/lib/Tag/Tag.js +10 -4
  111. package/lib/Tag/Tag.module.css +14 -11
  112. package/lib/TextBoxIcon/TextBoxIcon.js +1 -1
  113. package/lib/TextBoxIcon/TextBoxIcon.module.css +5 -2
  114. package/lib/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +5 -3
  115. package/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +5 -3
  116. package/lib/common/docStyle.module.css +9 -9
  117. package/lib/utils/dropDownUtils.js +45 -2
  118. package/package.json +13 -9
  119. package/README_Beta.md +0 -2
  120. package/__testUtils__/globals.js +0 -46
  121. package/__testUtils__/moduleMapKey.json +0 -138
  122. package/dubFinder.js +0 -96
  123. package/es/Accordion/docs/Accordion__Demo.docs.js +0 -80
  124. package/es/Animation/docs/Animation__default.docs.js +0 -34
  125. package/es/Animation/docs/Animation__fadeIn.docs.js +0 -34
  126. package/es/Animation/docs/Animation__scaleIn.docs.js +0 -34
  127. package/es/Animation/docs/Animation__skewIn.docs.js +0 -34
  128. package/es/Animation/docs/Animation__slideDown.docs.js +0 -34
  129. package/es/Animation/docs/Animation__slideLeft.docs.js +0 -34
  130. package/es/Animation/docs/Animation__zoomIn.docs.js +0 -34
  131. package/es/AppContainer/docs/AppContainer__default.docs.js +0 -20
  132. package/es/Appearance/dark/mode/darkMode.module.css +0 -393
  133. package/es/Appearance/dark/themes/blue/blueDarkCTATheme.module.css +0 -34
  134. package/es/Appearance/dark/themes/blue/blueDarkComponentTheme.module.css +0 -48
  135. package/es/Appearance/dark/themes/green/greenDarkCTATheme.module.css +0 -34
  136. package/es/Appearance/dark/themes/green/greenDarkComponentTheme.module.css +0 -48
  137. package/es/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css +0 -34
  138. package/es/Appearance/dark/themes/orange/orangeDarkComponentTheme.module.css +0 -48
  139. package/es/Appearance/dark/themes/red/redDarkCTATheme.module.css +0 -34
  140. package/es/Appearance/dark/themes/red/redDarkComponentTheme.module.css +0 -48
  141. package/es/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css +0 -34
  142. package/es/Appearance/dark/themes/yellow/yellowDarkComponentTheme.module.css +0 -48
  143. package/es/Appearance/default/mode/defaultMode.module.css +0 -395
  144. package/es/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +0 -34
  145. package/es/Appearance/default/themes/blue/blueDefaultComponentTheme.module.css +0 -48
  146. package/es/Appearance/default/themes/green/greenDefaultCTATheme.module.css +0 -34
  147. package/es/Appearance/default/themes/green/greenDefaultComponentTheme.module.css +0 -48
  148. package/es/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +0 -34
  149. package/es/Appearance/default/themes/orange/orangeDefaultComponentTheme.module.css +0 -48
  150. package/es/Appearance/default/themes/red/redDefaultCTATheme.module.css +0 -34
  151. package/es/Appearance/default/themes/red/redDefaultComponentTheme.module.css +0 -48
  152. package/es/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +0 -34
  153. package/es/Appearance/default/themes/yellow/yellowDefaultComponentTheme.module.css +0 -48
  154. package/es/Avatar/docs/Avatar__custom.docs.js +0 -29
  155. package/es/Avatar/docs/Avatar__default.docs.js +0 -29
  156. package/es/Avatar/docs/Avatar__palette.docs.js +0 -49
  157. package/es/Avatar/docs/Avatar__text.docs.js +0 -28
  158. package/es/AvatarTeam/docs/AvatarTeam__custom.docs.js +0 -73
  159. package/es/AvatarTeam/docs/AvatarTeam__default.docs.js +0 -31
  160. package/es/AvatarTeam/docs/AvatarTeam__palette.docs.js +0 -50
  161. package/es/AvatarTeam/docs/AvatarTeam__size.docs.js +0 -49
  162. package/es/Button/docs/Button__custom.docs.js +0 -771
  163. package/es/Button/docs/Button__default.docs.js +0 -536
  164. package/es/Buttongroup/docs/Buttongroup__custom.docs.js +0 -37
  165. package/es/Buttongroup/docs/Buttongroup__footer.docs.js +0 -33
  166. package/es/Buttongroup/docs/Buttongroup__header.docs.js +0 -42
  167. package/es/Card/docs/Card__Custom.docs.js +0 -34
  168. package/es/Card/docs/Card__Default.docs.js +0 -37
  169. package/es/Card/docs/Card__Scroll.docs.js +0 -59
  170. package/es/CheckBox/docs/CheckBox__custom.docs.js +0 -293
  171. package/es/CheckBox/docs/CheckBox__default.docs.js +0 -219
  172. package/es/DateTime/docs/DateTime__default.docs.js +0 -91
  173. package/es/DateTime/docs/DateWidget__default.docs.js +0 -183
  174. package/es/DateTime/docs/timezonedata.json +0 -1
  175. package/es/DropBox/docs/DropBox__custom.docs.js +0 -66
  176. package/es/DropBox/docs/DropBox__customOrder.docs.js +0 -92
  177. package/es/DropBox/docs/DropBox__fixedPosition.docs.js +0 -91
  178. package/es/DropBox/docs/DropBox__position.docs.js +0 -87
  179. package/es/DropBox/docs/DropBox__size.docs.js +0 -61
  180. package/es/DropDown/docs/DropDownHeading__custom.docs.js +0 -23
  181. package/es/DropDown/docs/DropDownHeading__default.docs.js +0 -21
  182. package/es/Label/docs/Label__clipped.docs.js +0 -27
  183. package/es/Label/docs/Label__custom.docs.js +0 -30
  184. package/es/Label/docs/Label__palette.docs.js +0 -42
  185. package/es/Label/docs/Label__size.docs.js +0 -29
  186. package/es/Label/docs/Label__type.docs.js +0 -37
  187. package/es/Layout/docs/Layout__Hidden.docs.js +0 -77
  188. package/es/Layout/docs/Layout__default.docs.js +0 -49
  189. package/es/Layout/docs/Layout__four_Column.docs.js +0 -85
  190. package/es/Layout/docs/Layout__three_Column.docs.js +0 -76
  191. package/es/Layout/docs/Layout__two_Column.docs.js +0 -69
  192. package/es/LightNightMode/docs/AlternativeColors.docs.js +0 -74
  193. package/es/ListItem/docs/ListItemWithAvatar__custom.docs.js +0 -155
  194. package/es/ListItem/docs/ListItemWithAvatar__default.docs.js +0 -112
  195. package/es/ListItem/docs/ListItemWithCheckBox__custom.docs.js +0 -91
  196. package/es/ListItem/docs/ListItemWithCheckBox__default.docs.js +0 -65
  197. package/es/ListItem/docs/ListItemWithIcon__custom.docs.js +0 -68
  198. package/es/ListItem/docs/ListItemWithIcon__default.docs.js +0 -62
  199. package/es/ListItem/docs/ListItemWithRadio__custom.docs.js +0 -91
  200. package/es/ListItem/docs/ListItemWithRadio__default.docs.js +0 -65
  201. package/es/ListItem/docs/ListItem__custom.docs.js +0 -114
  202. package/es/ListItem/docs/ListItem__default.docs.js +0 -82
  203. package/es/MultiSelect/docs/AdvancedGroupMultiSelect__default.docs.js +0 -125
  204. package/es/MultiSelect/docs/AdvancedMultiSelect__default.docs.js +0 -114
  205. package/es/MultiSelect/docs/MultiSelectWithAvatar__default.docs.js +0 -141
  206. package/es/MultiSelect/docs/MultiSelect__default.docs.js +0 -161
  207. package/es/PopOver/docs/PopOver__default.docs.js +0 -32
  208. package/es/Provider/docs/Provider_Id__Class.docs.js +0 -29
  209. package/es/Provider/docs/Provider_Id__Function.docs.js +0 -18
  210. package/es/Provider/docs/Provider_Zindex__Class.docs.js +0 -32
  211. package/es/Provider/docs/Provider_Zindex__Function.docs.js +0 -23
  212. package/es/Radio/docs/Radio__custom.docs.js +0 -245
  213. package/es/Radio/docs/Radio__default.docs.js +0 -169
  214. package/es/Responsive/docs/Responsive__Custom.docs.js +0 -206
  215. package/es/Responsive/docs/Responsive__default.docs.js +0 -97
  216. package/es/Responsive/docs/style.module.css +0 -56
  217. package/es/Ribbon/docs/Ribbon__custom.docs.js +0 -386
  218. package/es/Ribbon/docs/Ribbon__default.docs.js +0 -342
  219. package/es/RippleEffect/docs/RippleEffect__default.docs.js +0 -435
  220. package/es/Select/docs/GroupSelect__default.docs.js +0 -149
  221. package/es/Select/docs/SelectWithAvatar__default.docs.js +0 -97
  222. package/es/Select/docs/SelectWithIcon__default.docs.js +0 -138
  223. package/es/Select/docs/Select__default.docs.js +0 -288
  224. package/es/Stencils/docs/Stencils__custom.docs.js +0 -45
  225. package/es/Stencils/docs/Stencils__default.docs.js +0 -50
  226. package/es/Switch/docs/Switch__custom.docs.js +0 -153
  227. package/es/Switch/docs/Switch__default.docs.js +0 -107
  228. package/es/Tab/docs/Tab__default.docs.js +0 -258
  229. package/es/Tab/docs/tabdocs.module.css +0 -29
  230. package/es/Tag/docs/Tag__custom.docs.js +0 -368
  231. package/es/Tag/docs/Tag__default.docs.js +0 -253
  232. package/es/TextBox/docs/TextBox__custom.docs.js +0 -43
  233. package/es/TextBox/docs/TextBox__default.docs.js +0 -40
  234. package/es/TextBox/docs/TextBox__size.docs.js +0 -38
  235. package/es/TextBox/docs/TextBox__variant.docs.js +0 -38
  236. package/es/TextBoxIcon/docs/TextBoxIcon__custom.docs.js +0 -89
  237. package/es/TextBoxIcon/docs/TextBoxIcon__default.docs.js +0 -61
  238. package/es/Textarea/docs/Textarea__animated.docs.js +0 -41
  239. package/es/Textarea/docs/Textarea__custom.docs.js +0 -82
  240. package/es/Textarea/docs/Textarea__default.docs.js +0 -76
  241. package/es/Textarea/docs/Textarea__disabled.docs.js +0 -29
  242. package/es/Tooltip/docs/Tooltip__default.docs.js +0 -332
  243. package/es/VelocityAnimation/VelocityAnimation/docs/VelocityAnimation__demo.docs.js +0 -97
  244. package/es/VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs.js +0 -150
  245. package/es/a11y/FocusScope/docs/FocusScope__default.docs.js +0 -139
  246. package/es/beta/FocusRing/docs/FocusRing__default.docs.js +0 -48
  247. package/es/deprecated/PortalLayer/docs/PortalLayer__default.docs.js +0 -72
  248. package/es/semantic/Button/docs/Button__default.docs.js +0 -20
  249. package/externalDocsBuild.js +0 -21
  250. package/lib/Accordion/docs/Accordion__Demo.docs.js +0 -126
  251. package/lib/Animation/docs/Animation__default.docs.js +0 -85
  252. package/lib/Animation/docs/Animation__fadeIn.docs.js +0 -85
  253. package/lib/Animation/docs/Animation__scaleIn.docs.js +0 -85
  254. package/lib/Animation/docs/Animation__skewIn.docs.js +0 -85
  255. package/lib/Animation/docs/Animation__slideDown.docs.js +0 -85
  256. package/lib/Animation/docs/Animation__slideLeft.docs.js +0 -85
  257. package/lib/Animation/docs/Animation__zoomIn.docs.js +0 -85
  258. package/lib/AppContainer/docs/AppContainer__default.docs.js +0 -70
  259. package/lib/Appearance/dark/mode/darkMode.module.css +0 -393
  260. package/lib/Appearance/dark/themes/blue/blueDarkCTATheme.module.css +0 -34
  261. package/lib/Appearance/dark/themes/blue/blueDarkComponentTheme.module.css +0 -48
  262. package/lib/Appearance/dark/themes/green/greenDarkCTATheme.module.css +0 -34
  263. package/lib/Appearance/dark/themes/green/greenDarkComponentTheme.module.css +0 -48
  264. package/lib/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css +0 -34
  265. package/lib/Appearance/dark/themes/orange/orangeDarkComponentTheme.module.css +0 -48
  266. package/lib/Appearance/dark/themes/red/redDarkCTATheme.module.css +0 -34
  267. package/lib/Appearance/dark/themes/red/redDarkComponentTheme.module.css +0 -48
  268. package/lib/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css +0 -34
  269. package/lib/Appearance/dark/themes/yellow/yellowDarkComponentTheme.module.css +0 -48
  270. package/lib/Appearance/default/mode/defaultMode.module.css +0 -395
  271. package/lib/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +0 -34
  272. package/lib/Appearance/default/themes/blue/blueDefaultComponentTheme.module.css +0 -48
  273. package/lib/Appearance/default/themes/green/greenDefaultCTATheme.module.css +0 -34
  274. package/lib/Appearance/default/themes/green/greenDefaultComponentTheme.module.css +0 -48
  275. package/lib/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +0 -34
  276. package/lib/Appearance/default/themes/orange/orangeDefaultComponentTheme.module.css +0 -48
  277. package/lib/Appearance/default/themes/red/redDefaultCTATheme.module.css +0 -34
  278. package/lib/Appearance/default/themes/red/redDefaultComponentTheme.module.css +0 -48
  279. package/lib/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +0 -34
  280. package/lib/Appearance/default/themes/yellow/yellowDefaultComponentTheme.module.css +0 -48
  281. package/lib/Avatar/docs/Avatar__custom.docs.js +0 -87
  282. package/lib/Avatar/docs/Avatar__default.docs.js +0 -83
  283. package/lib/Avatar/docs/Avatar__palette.docs.js +0 -107
  284. package/lib/Avatar/docs/Avatar__text.docs.js +0 -86
  285. package/lib/AvatarTeam/docs/AvatarTeam__custom.docs.js +0 -124
  286. package/lib/AvatarTeam/docs/AvatarTeam__default.docs.js +0 -82
  287. package/lib/AvatarTeam/docs/AvatarTeam__palette.docs.js +0 -101
  288. package/lib/AvatarTeam/docs/AvatarTeam__size.docs.js +0 -100
  289. package/lib/Button/docs/Button__custom.docs.js +0 -826
  290. package/lib/Button/docs/Button__default.docs.js +0 -590
  291. package/lib/Buttongroup/docs/Buttongroup__custom.docs.js +0 -89
  292. package/lib/Buttongroup/docs/Buttongroup__footer.docs.js +0 -85
  293. package/lib/Buttongroup/docs/Buttongroup__header.docs.js +0 -98
  294. package/lib/Card/docs/Card__Custom.docs.js +0 -90
  295. package/lib/Card/docs/Card__Default.docs.js +0 -92
  296. package/lib/Card/docs/Card__Scroll.docs.js +0 -114
  297. package/lib/CheckBox/docs/CheckBox__custom.docs.js +0 -348
  298. package/lib/CheckBox/docs/CheckBox__default.docs.js +0 -273
  299. package/lib/DateTime/docs/DateTime__default.docs.js +0 -142
  300. package/lib/DateTime/docs/DateWidget__default.docs.js +0 -240
  301. package/lib/DateTime/docs/timezonedata.json +0 -1
  302. package/lib/DropBox/docs/DropBox__custom.docs.js +0 -122
  303. package/lib/DropBox/docs/DropBox__customOrder.docs.js +0 -141
  304. package/lib/DropBox/docs/DropBox__fixedPosition.docs.js +0 -140
  305. package/lib/DropBox/docs/DropBox__position.docs.js +0 -142
  306. package/lib/DropBox/docs/DropBox__size.docs.js +0 -116
  307. package/lib/DropDown/docs/DropDownHeading__custom.docs.js +0 -73
  308. package/lib/DropDown/docs/DropDownHeading__default.docs.js +0 -70
  309. package/lib/Label/docs/Label__clipped.docs.js +0 -81
  310. package/lib/Label/docs/Label__custom.docs.js +0 -85
  311. package/lib/Label/docs/Label__palette.docs.js +0 -96
  312. package/lib/Label/docs/Label__size.docs.js +0 -83
  313. package/lib/Label/docs/Label__type.docs.js +0 -91
  314. package/lib/Layout/docs/Layout__Hidden.docs.js +0 -127
  315. package/lib/Layout/docs/Layout__default.docs.js +0 -98
  316. package/lib/Layout/docs/Layout__four_Column.docs.js +0 -135
  317. package/lib/Layout/docs/Layout__three_Column.docs.js +0 -126
  318. package/lib/Layout/docs/Layout__two_Column.docs.js +0 -119
  319. package/lib/LightNightMode/docs/AlternativeColors.docs.js +0 -131
  320. package/lib/ListItem/docs/ListItemWithAvatar__custom.docs.js +0 -206
  321. package/lib/ListItem/docs/ListItemWithAvatar__default.docs.js +0 -162
  322. package/lib/ListItem/docs/ListItemWithCheckBox__custom.docs.js +0 -142
  323. package/lib/ListItem/docs/ListItemWithCheckBox__default.docs.js +0 -115
  324. package/lib/ListItem/docs/ListItemWithIcon__custom.docs.js +0 -119
  325. package/lib/ListItem/docs/ListItemWithIcon__default.docs.js +0 -112
  326. package/lib/ListItem/docs/ListItemWithRadio__custom.docs.js +0 -142
  327. package/lib/ListItem/docs/ListItemWithRadio__default.docs.js +0 -115
  328. package/lib/ListItem/docs/ListItem__custom.docs.js +0 -164
  329. package/lib/ListItem/docs/ListItem__default.docs.js +0 -131
  330. package/lib/MultiSelect/docs/AdvancedGroupMultiSelect__default.docs.js +0 -177
  331. package/lib/MultiSelect/docs/AdvancedMultiSelect__default.docs.js +0 -165
  332. package/lib/MultiSelect/docs/MultiSelectWithAvatar__default.docs.js +0 -191
  333. package/lib/MultiSelect/docs/MultiSelect__default.docs.js +0 -214
  334. package/lib/PopOver/docs/PopOver__default.docs.js +0 -86
  335. package/lib/Provider/docs/Provider_Id__Class.docs.js +0 -77
  336. package/lib/Provider/docs/Provider_Id__Function.docs.js +0 -29
  337. package/lib/Provider/docs/Provider_Zindex__Class.docs.js +0 -80
  338. package/lib/Provider/docs/Provider_Zindex__Function.docs.js +0 -34
  339. package/lib/Radio/docs/Radio__custom.docs.js +0 -299
  340. package/lib/Radio/docs/Radio__default.docs.js +0 -222
  341. package/lib/Responsive/docs/Responsive__Custom.docs.js +0 -272
  342. package/lib/Responsive/docs/Responsive__default.docs.js +0 -142
  343. package/lib/Responsive/docs/style.module.css +0 -56
  344. package/lib/Ribbon/docs/Ribbon__custom.docs.js +0 -437
  345. package/lib/Ribbon/docs/Ribbon__default.docs.js +0 -392
  346. package/lib/RippleEffect/docs/RippleEffect__default.docs.js +0 -484
  347. package/lib/Select/docs/GroupSelect__default.docs.js +0 -199
  348. package/lib/Select/docs/SelectWithAvatar__default.docs.js +0 -152
  349. package/lib/Select/docs/SelectWithIcon__default.docs.js +0 -190
  350. package/lib/Select/docs/Select__default.docs.js +0 -340
  351. package/lib/Stencils/docs/Stencils__custom.docs.js +0 -96
  352. package/lib/Stencils/docs/Stencils__default.docs.js +0 -101
  353. package/lib/Switch/docs/Switch__custom.docs.js +0 -203
  354. package/lib/Switch/docs/Switch__default.docs.js +0 -156
  355. package/lib/Tab/docs/Tab__default.docs.js +0 -308
  356. package/lib/Tab/docs/tabdocs.module.css +0 -29
  357. package/lib/Tag/docs/Tag__custom.docs.js +0 -423
  358. package/lib/Tag/docs/Tag__default.docs.js +0 -307
  359. package/lib/TextBox/docs/TextBox__custom.docs.js +0 -98
  360. package/lib/TextBox/docs/TextBox__default.docs.js +0 -95
  361. package/lib/TextBox/docs/TextBox__size.docs.js +0 -93
  362. package/lib/TextBox/docs/TextBox__variant.docs.js +0 -93
  363. package/lib/TextBoxIcon/docs/TextBoxIcon__custom.docs.js +0 -145
  364. package/lib/TextBoxIcon/docs/TextBoxIcon__default.docs.js +0 -117
  365. package/lib/Textarea/docs/Textarea__animated.docs.js +0 -95
  366. package/lib/Textarea/docs/Textarea__custom.docs.js +0 -137
  367. package/lib/Textarea/docs/Textarea__default.docs.js +0 -130
  368. package/lib/Textarea/docs/Textarea__disabled.docs.js +0 -83
  369. package/lib/Tooltip/docs/Tooltip__default.docs.js +0 -391
  370. package/lib/VelocityAnimation/VelocityAnimation/docs/VelocityAnimation__demo.docs.js +0 -150
  371. package/lib/VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs.js +0 -206
  372. package/lib/a11y/FocusScope/docs/FocusScope__default.docs.js +0 -191
  373. package/lib/beta/FocusRing/docs/FocusRing__default.docs.js +0 -101
  374. package/lib/deprecated/PortalLayer/docs/PortalLayer__default.docs.js +0 -145
  375. package/lib/semantic/Button/docs/Button__default.docs.js +0 -66
@@ -0,0 +1,42 @@
1
+ [data-mode='default'][data-theme='orange'] {
2
+ /* stencil */
3
+ --zdt_stencil_dark_bg: rgba(255, 255, 255, 0.07);
4
+ --zdt_stencil_dark_gradient_bg: linear-gradient(to left, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.03) 33.33%, rgba(255, 255, 255, 0.03) 66.66%, rgba(255, 255, 255, 0.07) 100%);
5
+
6
+ /* dropbox */
7
+ --zdt_dropbox_dark_bg: #332e24;
8
+
9
+ /* listitem */
10
+ --zdt_listitem_dark_bg: #332e24;
11
+ --zdt_listitem_dark_text: #d0d0d4;
12
+ --zdt_listitem_dark_effect_bg: rgba(255, 255, 255, 0.12);
13
+ --zdt_listitem_dark_active_bg: #4b4335;
14
+ --zdt_listitem_dark_tickicon: #ff6363;
15
+
16
+ /* tag */
17
+ --zdt_tag_dark_text: #d0d0d4;
18
+ --zdt_tag_dark_bg: rgba(255, 255, 255, 0.07);
19
+ --zdt_tag_dark_hover_text: #d0d0d4;
20
+ --zdt_tag_dark_hover_bg: var(--dot_matterhorn);
21
+ --zdt_tag_dark_close_bg: #864654;
22
+ --zdt_tag_dark_close_text: var(--dot_brightRed);
23
+
24
+ /* multiselect */
25
+ --zdt_multiselect_dark_border: rgba(255, 255, 255, 0.2);
26
+ --zdt_multiselect_darkmsg_bg: rgba(255, 255, 255, 0.02);
27
+ --zdt_multiselect_darkmsg_text: #d0d0d4;
28
+ --zdt_multiselect_darkdelete_hover_text: var(--dot_white);
29
+
30
+ /* avatar */
31
+ --zdt_avatar_white_border: rgba(255, 255, 255, 0.2);
32
+ --zdt_avatar_white_text: var(--dot_white);
33
+
34
+ /* label */
35
+ --zdt_label_dark_text: #d0d0d4;
36
+
37
+ /* textbox */
38
+ --zdt_textbox_light_text: var(--dot_white);
39
+
40
+ /* dropdown */
41
+ --zdt_dropdown_darkheading_text: var(--dot_white);
42
+ }
@@ -0,0 +1,34 @@
1
+ [data-mode='default'][data-theme='red'] {
2
+ --zdt_cta_primary_text: var(--dot_brightRed);
3
+ --zdt_cta_primary_hover_text: #ab1a18;
4
+ --zdt_cta_primary_bg: var(--dot_brightRed);
5
+ --zdt_cta_primary_hover_bg: #ab1a18;
6
+ --zdt_cta_primary_border: var(--dot_brightRed);
7
+ --zdt_cta_primary_hover_border: #ab1a18;
8
+ --zdt_cta_primary_box_shadow: rgba(222, 53, 53, 0.2);
9
+ --zdt_cta_primary_hover_box_shadow: rgba(171, 26, 24, 0.25);
10
+ --zdt_cta_primary_light_bg: #fdf3f3;
11
+ --zdt_cta_primary_light_hover_bg: #f8d7d7;
12
+ --zdt_cta_primary_light_border: #f8d7d7;
13
+ --zdt_cta_secondary_bg: var(--dot_brightRed);
14
+ --zdt_cta_secondary_text: var(--dot_white);
15
+ --zdt_cta_secondary_border: #e55d5d;
16
+ --zdt_cta_secondary_light_border: #f8d7d7;
17
+ --zdt_cta_alpha_text: var(--dot_brightRed);
18
+ --zdt_cta_alpha_hover_text: #ab1a18;
19
+ --zdt_cta_alpha_border: var(--dot_brightRed);
20
+ --zdt_cta_alpha_hover_border: #ab1a18;
21
+ --zdt_cta_alpha_bg: #f8d7d7;
22
+ --zdt_cta_beta_border: var(--dot_brightRed);
23
+ --zdt_cta_grey_10_bg: #f9f6f7;
24
+ --zdt_cta_grey_10_border: #f9f6f7;
25
+ --zdt_cta_grey_15_bg: #ede8e8;
26
+ --zdt_cta_grey_15_border: #ede8e8;
27
+ --zdt_cta_grey_20_bg: #eeeced;
28
+ --zdt_cta_grey_35_bg: #ded3d6;
29
+ --zdt_cta_grey_35_text: #ded3d6;
30
+ --zdt_cta_grey_35_border: #ded3d6;
31
+ --zdt_cta_grey_40_bg: #b9b2b4;
32
+ --zdt_cta_grey_40_text: #b9b2b4;
33
+ --zdt_cta_grey_40_border: #b9b2b4
34
+ }
@@ -0,0 +1,42 @@
1
+ [data-mode='default'][data-theme='red'] {
2
+ /* stencil */
3
+ --zdt_stencil_dark_bg: rgba(255, 255, 255, 0.07);
4
+ --zdt_stencil_dark_gradient_bg: linear-gradient(to left, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.03) 33.33%, rgba(255, 255, 255, 0.03) 66.66%, rgba(255, 255, 255, 0.07) 100%);
5
+
6
+ /* dropbox */
7
+ --zdt_dropbox_dark_bg: #34222d;
8
+
9
+ /* listitem */
10
+ --zdt_listitem_dark_bg: #34222d;
11
+ --zdt_listitem_dark_text: #d0d0d4;
12
+ --zdt_listitem_dark_effect_bg: rgba(255, 255, 255, 0.12);
13
+ --zdt_listitem_dark_active_bg: #4d3243;
14
+ --zdt_listitem_dark_tickicon: #e57717;
15
+
16
+ /* tag */
17
+ --zdt_tag_dark_text: #d0d0d4;
18
+ --zdt_tag_dark_bg: rgba(255, 255, 255, 0.07);
19
+ --zdt_tag_dark_hover_text: #d0d0d4;
20
+ --zdt_tag_dark_hover_bg: var(--dot_matterhorn);
21
+ --zdt_tag_dark_close_bg: #864654;
22
+ --zdt_tag_dark_close_text: var(--dot_brightRed);
23
+
24
+ /* multiselect */
25
+ --zdt_multiselect_dark_border: rgba(255, 255, 255, 0.2);
26
+ --zdt_multiselect_darkmsg_bg: rgba(255, 255, 255, 0.02);
27
+ --zdt_multiselect_darkmsg_text: #d0d0d4;
28
+ --zdt_multiselect_darkdelete_hover_text: var(--dot_white);
29
+
30
+ /* avatar */
31
+ --zdt_avatar_white_border: rgba(255, 255, 255, 0.2);
32
+ --zdt_avatar_white_text: var(--dot_white);
33
+
34
+ /* label */
35
+ --zdt_label_dark_text: #d0d0d4;
36
+
37
+ /* textbox */
38
+ --zdt_textbox_light_text: var(--dot_white);
39
+
40
+ /* dropdown */
41
+ --zdt_dropdown_darkheading_text: var(--dot_white);
42
+ }
@@ -0,0 +1,34 @@
1
+ [data-mode='default'][data-theme='yellow'] {
2
+ --zdt_cta_primary_text: #b68c07;
3
+ --zdt_cta_primary_hover_text: #826800;
4
+ --zdt_cta_primary_bg: #e8b923;
5
+ --zdt_cta_primary_hover_bg: #b59100;
6
+ --zdt_cta_primary_border: #e8b923;
7
+ --zdt_cta_primary_hover_border: #b59100;
8
+ --zdt_cta_primary_box_shadow: rgba(232, 185, 35, 0.2);
9
+ --zdt_cta_primary_hover_box_shadow: rgba(181, 145, 0, 0.25);
10
+ --zdt_cta_primary_light_bg: #fdf8e9;
11
+ --zdt_cta_primary_light_hover_bg: #f8eabd;
12
+ --zdt_cta_primary_light_border: #f8eabd;
13
+ --zdt_cta_secondary_bg: #e8b923;
14
+ --zdt_cta_secondary_text: var(--dot_black);
15
+ --zdt_cta_secondary_border: rgba(255, 255, 255, 0.2);
16
+ --zdt_cta_secondary_light_border: #f6e3a7;
17
+ --zdt_cta_alpha_text: #b68c07;
18
+ --zdt_cta_alpha_hover_text: #826800;
19
+ --zdt_cta_alpha_border: #b68c07;
20
+ --zdt_cta_alpha_hover_border: #826800;
21
+ --zdt_cta_alpha_bg: #f8eabd;
22
+ --zdt_cta_beta_border: #b68c07;
23
+ --zdt_cta_grey_10_bg: #f8f8f6;
24
+ --zdt_cta_grey_10_border: #f8f8f6;
25
+ --zdt_cta_grey_15_bg: #edede3;
26
+ --zdt_cta_grey_15_border: #edede3;
27
+ --zdt_cta_grey_20_bg: #efefec;
28
+ --zdt_cta_grey_35_bg: #e0dbcc;
29
+ --zdt_cta_grey_35_text: #e0dbcc;
30
+ --zdt_cta_grey_35_border: #e0dbcc;
31
+ --zdt_cta_grey_40_bg: #ccc2a4;
32
+ --zdt_cta_grey_40_text: #ccc2a4;
33
+ --zdt_cta_grey_40_border: #ccc2a4
34
+ }
@@ -0,0 +1,42 @@
1
+ [data-mode='default'][data-theme='yellow'] {
2
+ /* stencil */
3
+ --zdt_stencil_dark_bg: rgba(255, 255, 255, 0.07);
4
+ --zdt_stencil_dark_gradient_bg: linear-gradient(to left, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.03) 33.33%, rgba(255, 255, 255, 0.03) 66.66%, rgba(255, 255, 255, 0.07) 100%);
5
+
6
+ /* dropbox */
7
+ --zdt_dropbox_dark_bg: #313323;
8
+
9
+ /* listitem */
10
+ --zdt_listitem_dark_bg: #313323;
11
+ --zdt_listitem_dark_text: #d0d0d4;
12
+ --zdt_listitem_dark_effect_bg: rgba(255, 255, 255, 0.12);
13
+ --zdt_listitem_dark_active_bg: #494c34;
14
+ --zdt_listitem_dark_tickicon: #e8b923;
15
+
16
+ /* tag */
17
+ --zdt_tag_dark_text: #d0d0d4;
18
+ --zdt_tag_dark_bg: rgba(255, 255, 255, 0.07);
19
+ --zdt_tag_dark_hover_text: #d0d0d4;
20
+ --zdt_tag_dark_hover_bg: var(--dot_matterhorn);
21
+ --zdt_tag_dark_close_bg: #864654;
22
+ --zdt_tag_dark_close_text: var(--dot_brightRed);
23
+
24
+ /* multiselect */
25
+ --zdt_multiselect_dark_border: rgba(255, 255, 255, 0.2);
26
+ --zdt_multiselect_darkmsg_bg: rgba(255, 255, 255, 0.02);
27
+ --zdt_multiselect_darkmsg_text: #d0d0d4;
28
+ --zdt_multiselect_darkdelete_hover_text: var(--dot_white);
29
+
30
+ /* avatar */
31
+ --zdt_avatar_white_border: rgba(255, 255, 255, 0.2);
32
+ --zdt_avatar_white_text: var(--dot_white);
33
+
34
+ /* label */
35
+ --zdt_label_dark_text: #d0d0d4;
36
+
37
+ /* textbox */
38
+ --zdt_textbox_light_text: var(--dot_white);
39
+
40
+ /* dropdown */
41
+ --zdt_dropdown_darkheading_text: var(--dot_white);
42
+ }
@@ -139,14 +139,13 @@ Animation.defaultProps = {
139
139
  isActive: false,
140
140
  name: 'fadeIn',
141
141
  unmountOnExit: true
142
- };
143
- Animation.propTypesDescription = {
144
- name: ' ',
145
- children: ' ',
146
- enterDuration: ' ',
147
- exitDuration: ' ',
148
- isActive: ' '
149
- };
142
+ }; // Animation.propTypesDescription = {
143
+ // name: ' ',
144
+ // children: ' ',
145
+ // enterDuration: ' ',
146
+ // exitDuration: ' ',
147
+ // isActive: ' '
148
+ // };
150
149
 
151
150
  if (false) {
152
151
  Animation.docs = {
@@ -5,38 +5,79 @@ import PropTypes from 'prop-types';
5
5
  import { Container, Box } from '../Layout';
6
6
  import Tooltip from '../Tooltip/Tooltip';
7
7
  import '../common/basic.module.css';
8
- import '@zohodesk/variables/lib/colorVariables.module.css';
9
- import '@zohodesk/variables/lib/dotVariables.module.css';
10
- import '@zohodesk/variables/lib/sizeVariables.module.css';
11
- import '@zohodesk/variables/lib/fontsizeVariables.module.css';
8
+ import '@zohodesk/variables/assets/colorVariables.module.css';
9
+ import '@zohodesk/variables/assets/dotVariables.module.css';
10
+ import '@zohodesk/variables/assets/sizeVariables.module.css';
11
+ import '@zohodesk/variables/assets/fontsizeVariables.module.css';
12
12
  import '@zohodesk/variables/lib/fontFamilyVariables.module.css';
13
- import '@zohodesk/variables/lib/transitionVariables.module.css';
14
- import '@zohodesk/variables/lib/no_transitionVariables.module.css';
13
+ import '@zohodesk/variables/assets/transitionVariables.module.css';
14
+ import '@zohodesk/variables/assets/no_transitionVariables.module.css';
15
15
  import style from './AppContainer.module.css';
16
+ import { getLibraryConfig } from '../Provider/Config';
16
17
  export default class AppContainer extends React.Component {
17
18
  constructor(props) {
18
19
  super(props);
19
20
  this.setTooltipRef = this.setTooltipRef.bind(this);
20
21
  this.handleOver = this.handleOver.bind(this);
22
+ this.mouseOverDispatch = this.mouseOverDispatch.bind(this);
23
+ this.removeTimeout = this.removeTimeout.bind(this);
24
+ this.getContainerRef = this.getContainerRef.bind(this);
25
+ this.timer = null;
26
+ this.tooltipDebounce = getLibraryConfig('tooltipDebounce');
21
27
  }
22
28
 
23
- handleOver(e) {
29
+ mouseOverDispatch(e) {
24
30
  if (this.tooltipRef) {
25
31
  this.tooltipRef.handleOver(e);
26
32
  }
27
33
  }
28
34
 
35
+ removeTimeout() {
36
+ if (this.timer) {
37
+ this.timer = clearTimeout(this.timer);
38
+ }
39
+ }
40
+
41
+ handleOver(e) {
42
+ if (this.timer) {
43
+ this.timer = clearTimeout(this.timer);
44
+ }
45
+
46
+ this.timer = setTimeout(() => this.mouseOverDispatch(e), this.tooltipDebounce);
47
+ }
48
+
49
+ getContainerRef(ref) {
50
+ let {
51
+ eleRef
52
+ } = this.props;
53
+ this.containerElement = ref;
54
+ eleRef && eleRef(ref);
55
+ }
56
+
29
57
  setTooltipRef(ref) {
30
58
  this.tooltipRef = ref;
31
59
  }
32
60
 
61
+ componentDidMount() {
62
+ if (this.containerElement) {
63
+ this.containerElement.addEventListener('mouseover', this.handleOver, false);
64
+ this.containerElement.addEventListener('mouseout', this.removeTimeout, false);
65
+ }
66
+ }
67
+
68
+ componentWillUnmount() {
69
+ if (this.containerElement) {
70
+ this.containerElement.removeEventListener('mouseover', this.handleOver, false);
71
+ this.containerElement.addEventListener('mouseout', this.removeTimeout, false);
72
+ }
73
+ }
74
+
33
75
  render() {
34
76
  let {
35
77
  className,
36
78
  children,
37
79
  tagName,
38
80
  dataId,
39
- eleRef,
40
81
  tooltipClass,
41
82
  tooltipParentClass,
42
83
  customProps
@@ -47,11 +88,11 @@ export default class AppContainer extends React.Component {
47
88
  ExtraProps = {}
48
89
  } = customProps;
49
90
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Container, _extends({
50
- className: `${style.container} ${className}`,
51
- onMouseOver: this.handleOver,
91
+ className: `${style.container} ${className}` //onMouseOver={this.handleOver}
92
+ ,
52
93
  dataId: dataId,
53
94
  tagName: tagName,
54
- eleRef: eleRef
95
+ eleRef: this.getContainerRef
55
96
  }, ContainerProps, ExtraProps), /*#__PURE__*/React.createElement(Box, {
56
97
  flexible: true
57
98
  }, children)), /*#__PURE__*/React.createElement("div", _extends({}, ExtraProps, {
@@ -197,16 +197,16 @@ Avatar.propTypes = {
197
197
  customProps: PropTypes.shape({
198
198
  AvatarProps: PropTypes.object
199
199
  })
200
- };
201
- Avatar.propTypesDescription = {
202
- name: ' ',
203
- size: ' ',
204
- src: ' ',
205
- palette: ' ',
206
- onClick: ' ',
207
- shape: ' ',
208
- title: ' '
209
- };
200
+ }; // Avatar.propTypesDescription = {
201
+ // name: ' ',
202
+ // size: ' ',
203
+ // src: ' ',
204
+ // palette: ' ',
205
+ // onClick: ' ',
206
+ // shape: ' ',
207
+ // title: ' '
208
+ // };
209
+
210
210
  Avatar.invalidImageURLs = [];
211
211
  Avatar.validImageURLs = [];
212
212
 
@@ -39,7 +39,7 @@ export default class Button extends React.Component {
39
39
  let paletteLower = palette.toLowerCase();
40
40
  let statusLower = status.toLowerCase();
41
41
  let classList = needAppearance ? `${style[paletteLower]} ${rounded ? style.rounded : ''} ${!children ? style[size.toLowerCase()] : `${style[`${size}Btn`]}
42
- ${rounded ? style[`${size}Btn${paletteLower}`] : ''}`}` : `${style.default}`;
42
+ ${rounded ? style[`${size}Btn${paletteLower}`] : ''}`} ${statusLower !== 'none' ? style.loader : ''}` : `${style.default}`;
43
43
  return /*#__PURE__*/React.createElement("button", _extends({
44
44
  className: `${customButton} ${classList} ${isBold ? style.bold : ''} `,
45
45
  "data-id": disabled ? `${dataId}_disabled` : dataId,
@@ -48,12 +48,12 @@ export default class Button extends React.Component {
48
48
  "data-title": title,
49
49
  type: "button",
50
50
  ref: getRef
51
- }, customProps), children ? children : text, status !== 'none' && needAppearance && /*#__PURE__*/React.createElement("div", {
51
+ }, customProps), children ? children : text, statusLower !== 'none' && needAppearance && /*#__PURE__*/React.createElement("div", {
52
52
  className: style.overlay
53
53
  }, /*#__PURE__*/React.createElement("div", {
54
- className: `${customStatusSize} ${statusLower === 'loading' ? `${style.loading} ${style[`${size}loading`]}` : style.success}`
54
+ className: `${customStatusSize} ${statusLower === 'loading' ? `${style.loading} ${style[`${size}loading`] ? style[`${size}loading`] : ''}` : style.success}`
55
55
  }, /*#__PURE__*/React.createElement("div", {
56
- className: `${customStatus} ${statusLower === 'loading' ? `${style.loadingelement} ${style[`${paletteLower}element`]}` : `${style.successelement} ${style[`${paletteLower}success`]}`}`
56
+ className: `${customStatus} ${statusLower === 'loading' ? `${style.loadingelement} ${style[`${paletteLower}element`] ? style[`${paletteLower}element`] : ''}` : `${style.successelement} ${style[`${paletteLower}success`] ? style[`${paletteLower}success`] : ''}`}`
57
57
  }))));
58
58
  }
59
59
 
@@ -92,19 +92,19 @@ Button.propTypes = {
92
92
  customButton: PropTypes.string,
93
93
  customStatus: PropTypes.string,
94
94
  customStatusSize: PropTypes.string
95
- })
96
- };
97
- Button.propTypesDescription = {
98
- onClick: ' ',
99
- text: ' ',
100
- palette: ' ',
101
- disabled: ' ',
102
- size: ' ',
103
- rounded: ' ',
104
- status: ' ',
105
- isBold: ' ',
106
- children: ' '
107
- };
95
+ }),
96
+ customProps: PropTypes.object
97
+ }; // Button.propTypesDescription = {
98
+ // onClick: ' ',
99
+ // text: ' ',
100
+ // palette: ' ',
101
+ // disabled: ' ',
102
+ // size: ' ',
103
+ // rounded: ' ',
104
+ // status: ' ',
105
+ // isBold: ' ',
106
+ // children: ' '
107
+ // };
108
108
 
109
109
  if (false) {
110
110
  Button.docs = {
@@ -362,17 +362,20 @@
362
362
 
363
363
  .primaryelement:before {
364
364
  --button_loading_bg_color: var(--zdt_button_primaryfill_bg);
365
+ --zdt_button_loading_linear_gradient:var(--zdt_button_loading_primary_linear_gradient);
365
366
  transform: rotateX(180deg);
366
367
  }
367
368
 
368
369
  .dangerelement:before {
369
370
  --button_loading_bg_color: var(--zdt_button_dangerfill_bg);
371
+ --zdt_button_loading_linear_gradient:var(--zdt_button_loading_danger_linear_gradient);
370
372
  transform: rotateX(180deg);
371
373
  }
372
374
 
373
375
  .primarysuccess {
374
376
  --button_success_border_color: var(--zdt_button_default_border);
375
377
  }
378
+
376
379
  .primaryfilled .successelement {
377
380
  --button_success_border_color: var(--zdt_button_tick_primary_border);
378
381
  }
@@ -456,7 +459,6 @@
456
459
  top: calc(var(--zd_size2) * -1);
457
460
  width: var(--zd_size6);
458
461
  transform: scaleX(-1) rotate(135deg);
459
- -ms-transform: scaleX(-1) rotate(135deg);
460
462
  -moz-transform: scaleX(-1) rotate(135deg);
461
463
  -webkit-transform: scaleX(-1) rotate(135deg);
462
464
  transform-origin: center;
@@ -515,4 +517,6 @@
515
517
  height: var(--zd_size15);
516
518
  width: var(--zd_size6);
517
519
  }
518
- }
520
+ }
521
+
522
+ .loader{color:var(--dot_mirror)}
package/es/Card/Card.js CHANGED
@@ -278,11 +278,10 @@ Card.defaultProps = {
278
278
  scrollAt: '10',
279
279
  a11y: {},
280
280
  isPercentageScroll: false
281
- };
282
- Card.propTypesDescription = {
283
- children: ' ',
284
- isScrollAttribute: ' '
285
- };
281
+ }; // Card.propTypesDescription = {
282
+ // children: ' ',
283
+ // isScrollAttribute: ' '
284
+ // };
286
285
 
287
286
  if (false) {
288
287
  Card.docs = {
@@ -2,12 +2,12 @@
2
2
  position: relative;
3
3
  }
4
4
  .scroll {
5
- /* background: var(--dot_bg_white);
5
+ /* background: var(--dot_white);
6
6
  position: relative; */
7
7
  }
8
- /*
8
+ /*
9
9
  .scroll::after {
10
- box-shadow: 0 0 6px var(--zd_shadow_dark10);
10
+ box-shadow: 0 0 6px var(--zd_dark10);
11
11
  border-radius: 100px / 10px;
12
12
  content: '';
13
13
  left: var(--zd_size50);
@@ -6,10 +6,6 @@
6
6
  .readOnly, .readOnly > input, .disabled {
7
7
  cursor: not-allowed;
8
8
  }
9
- .readOnly,
10
- .disabled {
11
- composes: readonly from '../common/common.module.css';
12
- }
13
9
  .enabled {
14
10
  cursor: pointer;
15
11
  }
@@ -66,7 +66,7 @@ export class DropBoxElement extends React.Component {
66
66
  } = this.props;
67
67
  let {
68
68
  isReducedMotion
69
- } = this.context;
69
+ } = this.context || {};
70
70
 
71
71
  if (!isAbsolutePositioningNeeded && size === 'default' && !isActive) {
72
72
  isAbsolutePositioningNeeded = true;
@@ -212,7 +212,7 @@ export default class DropBox extends React.Component {
212
212
  } : {};
213
213
  const {
214
214
  direction
215
- } = this.context;
215
+ } = this.context || {};
216
216
  const dropBoxEle = /*#__PURE__*/React.createElement(DropBoxElement, _extends({
217
217
  isModel: isModel,
218
218
  direction: direction
@@ -0,0 +1,118 @@
1
+ function _extends() { _extends = Object.assign || 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
+ /**** Libraries ****/
4
+ import React from 'react';
5
+ import PropTypes from 'prop-types';
6
+ import { Container } from '../Layout';
7
+ import CssProvider from '../Provider/CssProvider';
8
+ import style from './ListItem.module.css';
9
+
10
+ const ListContainer = props => {
11
+ const {
12
+ size,
13
+ active,
14
+ highlight,
15
+ autoHover,
16
+ palette,
17
+ title,
18
+ disableTitle,
19
+ needTick,
20
+ isLink,
21
+ href,
22
+ target,
23
+ needBorder,
24
+ isDisabled,
25
+ children,
26
+ dataId,
27
+ a11y,
28
+ customClass,
29
+ customProps,
30
+ onClick,
31
+ onMouseEnter,
32
+ onMouseOver,
33
+ eleRef
34
+ } = props;
35
+ const {
36
+ role,
37
+ ariaSelected
38
+ } = a11y;
39
+ const options = {};
40
+
41
+ if (isLink) {
42
+ options.href = href;
43
+ options.target = `_${target}`;
44
+ }
45
+
46
+ if (active) {
47
+ options['data-selected'] = active;
48
+ }
49
+
50
+ if (!isDisabled && !isLink && active) {
51
+ options.tabindex = '0';
52
+ }
53
+
54
+ return /*#__PURE__*/React.createElement(Container, _extends({
55
+ role: role,
56
+ "aria-selected": ariaSelected,
57
+ isCover: false,
58
+ align: "vertical",
59
+ alignBox: "row",
60
+ className: `${style.list} ${style[size]} ${style[palette]} ${active ? style[`active${palette}`] : highlight && !isDisabled ? style[`${palette}Hover`] : ''} ${autoHover && !isDisabled ? style[`${palette}Effect`] : ''} ${needTick ? style[`${size}withTick`] : ''} ${isDisabled ? CssProvider('isDisable') : ''} ${needBorder ? active ? style.activewithBorder : style.withBorder : ''} ${customClass}`,
61
+ dataId: dataId,
62
+ onClick: !isDisabled && onClick,
63
+ onMouseEnter: onMouseEnter,
64
+ onMouseOver: onMouseOver,
65
+ eleRef: eleRef,
66
+ tagName: isLink ? 'a' : 'li',
67
+ "data-title": isDisabled ? disableTitle : title
68
+ }, options, customProps), children);
69
+ };
70
+
71
+ ListContainer.defaultProps = {
72
+ active: false,
73
+ autoHover: false,
74
+ highlight: false,
75
+ needTick: false,
76
+ palette: 'default',
77
+ size: 'medium',
78
+ isLink: false,
79
+ target: 'blank',
80
+ needBorder: true,
81
+ a11y: {},
82
+ customClass: '',
83
+ customProps: {}
84
+ };
85
+ export default ListContainer;
86
+ ListContainer.propTypes = {
87
+ active: PropTypes.bool,
88
+ autoHover: PropTypes.bool,
89
+ children: PropTypes.node,
90
+ dataId: PropTypes.string,
91
+ disableTitle: PropTypes.string,
92
+ highlight: PropTypes.bool,
93
+ href: PropTypes.string,
94
+ isDisabled: PropTypes.bool,
95
+ isLink: PropTypes.bool,
96
+ needBorder: PropTypes.bool,
97
+ needTick: PropTypes.bool,
98
+ onClick: PropTypes.func,
99
+ onMouseEnter: PropTypes.func,
100
+ onMouseOver: PropTypes.func,
101
+ palette: PropTypes.oneOf(['default', 'primary', 'secondary', 'dark']),
102
+ size: PropTypes.oneOf(['small', 'medium', 'large']),
103
+ target: PropTypes.oneOf(['blank', 'self']),
104
+ title: PropTypes.string,
105
+ a11y: PropTypes.shape({
106
+ role: PropTypes.string,
107
+ ariaSelected: PropTypes.bool
108
+ }),
109
+ customClass: PropTypes.string,
110
+ customProps: PropTypes.object
111
+ };
112
+
113
+ if (false) {
114
+ ListContainer.docs = {
115
+ componentGroup: 'Molecule',
116
+ folderName: 'Style Guide'
117
+ };
118
+ }