@zohodesk/components 1.0.0-alpha-219 → 1.0.0-alpha-223

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 (265) hide show
  1. package/README.md +37 -20
  2. package/es/Animation/docs/Animation__default.docs.js +2 -2
  3. package/es/Animation/docs/Animation__fadeIn.docs.js +2 -2
  4. package/es/Animation/docs/Animation__scaleIn.docs.js +2 -2
  5. package/es/Animation/docs/Animation__skewIn.docs.js +2 -2
  6. package/es/Animation/docs/Animation__slideDown.docs.js +2 -2
  7. package/es/Animation/docs/Animation__slideLeft.docs.js +2 -2
  8. package/es/Animation/docs/Animation__zoomIn.docs.js +2 -2
  9. package/es/AppContainer/AppContainer.js +46 -5
  10. package/es/Appearance/dark/mode/darkMode.module.css +355 -392
  11. package/es/Appearance/dark/themes/blue/blueDarkCTATheme.module.css +33 -33
  12. package/es/Appearance/dark/themes/blue/blueDarkComponentTheme.module.css +41 -47
  13. package/es/Appearance/dark/themes/green/greenDarkCTATheme.module.css +32 -32
  14. package/es/Appearance/dark/themes/green/greenDarkComponentTheme.module.css +40 -46
  15. package/es/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css +32 -32
  16. package/es/Appearance/dark/themes/orange/orangeDarkComponentTheme.module.css +40 -46
  17. package/es/Appearance/dark/themes/red/redDarkCTATheme.module.css +32 -32
  18. package/es/Appearance/dark/themes/red/redDarkComponentTheme.module.css +40 -46
  19. package/es/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css +32 -32
  20. package/es/Appearance/dark/themes/yellow/yellowDarkComponentTheme.module.css +40 -46
  21. package/es/Appearance/default/mode/defaultMode.module.css +356 -395
  22. package/es/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +33 -33
  23. package/es/Appearance/default/themes/blue/blueDefaultComponentTheme.module.css +41 -47
  24. package/es/Appearance/default/themes/green/greenDefaultCTATheme.module.css +32 -32
  25. package/es/Appearance/default/themes/green/greenDefaultComponentTheme.module.css +40 -46
  26. package/es/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +32 -32
  27. package/es/Appearance/default/themes/orange/orangeDefaultComponentTheme.module.css +40 -46
  28. package/es/Appearance/default/themes/red/redDefaultCTATheme.module.css +32 -32
  29. package/es/Appearance/default/themes/red/redDefaultComponentTheme.module.css +40 -46
  30. package/es/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +32 -32
  31. package/es/Appearance/default/themes/yellow/yellowDefaultComponentTheme.module.css +40 -46
  32. package/es/AvatarTeam/docs/AvatarTeam__palette.docs.js +1 -1
  33. package/es/Card/Card.module.css +3 -3
  34. package/es/Card/docs/Card__Default.docs.js +4 -4
  35. package/es/Card/docs/Card__Scroll.docs.js +4 -4
  36. package/es/Layout/docs/Layout__Hidden.docs.js +1 -1
  37. package/es/Layout/docs/Layout__four_Column.docs.js +1 -1
  38. package/es/Layout/docs/Layout__three_Column.docs.js +1 -1
  39. package/es/MultiSelect/MultiSelect.js +8 -1
  40. package/es/PopOver/PopOver.module.css +1 -1
  41. package/es/Provider/Config.js +2 -1
  42. package/es/Responsive/ResizeComponent.js +1 -1
  43. package/es/RippleEffect/docs/RippleEffect__default.docs.js +8 -8
  44. package/es/Select/Select.js +14 -0
  45. package/es/Tab/Tabs.js +14 -2
  46. package/es/VelocityAnimation/VelocityAnimation/docs/VelocityAnimation__demo.docs.js +2 -2
  47. package/es/VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs.js +2 -2
  48. package/es/common/docStyle.module.css +9 -9
  49. package/lib/Accordion/Accordion.js +3 -3
  50. package/lib/Accordion/AccordionItem.js +3 -3
  51. package/lib/Accordion/docs/Accordion__Demo.docs.js +3 -3
  52. package/lib/Animation/Animation.js +3 -3
  53. package/lib/Animation/docs/Animation__default.docs.js +5 -5
  54. package/lib/Animation/docs/Animation__fadeIn.docs.js +5 -5
  55. package/lib/Animation/docs/Animation__scaleIn.docs.js +5 -5
  56. package/lib/Animation/docs/Animation__skewIn.docs.js +5 -5
  57. package/lib/Animation/docs/Animation__slideDown.docs.js +5 -5
  58. package/lib/Animation/docs/Animation__slideLeft.docs.js +5 -5
  59. package/lib/Animation/docs/Animation__zoomIn.docs.js +5 -5
  60. package/lib/AppContainer/AppContainer.js +58 -9
  61. package/lib/AppContainer/docs/AppContainer__default.docs.js +3 -3
  62. package/lib/Appearance/dark/mode/darkMode.module.css +355 -392
  63. package/lib/Appearance/dark/themes/blue/blueDarkCTATheme.module.css +33 -33
  64. package/lib/Appearance/dark/themes/blue/blueDarkComponentTheme.module.css +41 -47
  65. package/lib/Appearance/dark/themes/green/greenDarkCTATheme.module.css +32 -32
  66. package/lib/Appearance/dark/themes/green/greenDarkComponentTheme.module.css +40 -46
  67. package/lib/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css +32 -32
  68. package/lib/Appearance/dark/themes/orange/orangeDarkComponentTheme.module.css +40 -46
  69. package/lib/Appearance/dark/themes/red/redDarkCTATheme.module.css +32 -32
  70. package/lib/Appearance/dark/themes/red/redDarkComponentTheme.module.css +40 -46
  71. package/lib/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css +32 -32
  72. package/lib/Appearance/dark/themes/yellow/yellowDarkComponentTheme.module.css +40 -46
  73. package/lib/Appearance/default/mode/defaultMode.module.css +356 -395
  74. package/lib/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +33 -33
  75. package/lib/Appearance/default/themes/blue/blueDefaultComponentTheme.module.css +41 -47
  76. package/lib/Appearance/default/themes/green/greenDefaultCTATheme.module.css +32 -32
  77. package/lib/Appearance/default/themes/green/greenDefaultComponentTheme.module.css +40 -46
  78. package/lib/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +32 -32
  79. package/lib/Appearance/default/themes/orange/orangeDefaultComponentTheme.module.css +40 -46
  80. package/lib/Appearance/default/themes/red/redDefaultCTATheme.module.css +32 -32
  81. package/lib/Appearance/default/themes/red/redDefaultComponentTheme.module.css +40 -46
  82. package/lib/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +32 -32
  83. package/lib/Appearance/default/themes/yellow/yellowDefaultComponentTheme.module.css +40 -46
  84. package/lib/Avatar/Avatar.js +3 -3
  85. package/lib/Avatar/docs/Avatar__custom.docs.js +3 -3
  86. package/lib/Avatar/docs/Avatar__default.docs.js +3 -3
  87. package/lib/Avatar/docs/Avatar__palette.docs.js +3 -3
  88. package/lib/Avatar/docs/Avatar__text.docs.js +3 -3
  89. package/lib/AvatarTeam/AvatarTeam.js +3 -3
  90. package/lib/AvatarTeam/docs/AvatarTeam__custom.docs.js +3 -3
  91. package/lib/AvatarTeam/docs/AvatarTeam__default.docs.js +3 -3
  92. package/lib/AvatarTeam/docs/AvatarTeam__palette.docs.js +4 -4
  93. package/lib/AvatarTeam/docs/AvatarTeam__size.docs.js +3 -3
  94. package/lib/Button/Button.js +3 -3
  95. package/lib/Button/docs/Button__custom.docs.js +3 -3
  96. package/lib/Button/docs/Button__default.docs.js +3 -3
  97. package/lib/Buttongroup/Buttongroup.js +3 -3
  98. package/lib/Buttongroup/docs/Buttongroup__custom.docs.js +3 -3
  99. package/lib/Buttongroup/docs/Buttongroup__footer.docs.js +3 -3
  100. package/lib/Buttongroup/docs/Buttongroup__header.docs.js +3 -3
  101. package/lib/Card/Card.js +3 -3
  102. package/lib/Card/Card.module.css +3 -3
  103. package/lib/Card/__tests__/Card.spec.js +1 -1
  104. package/lib/Card/docs/Card__Custom.docs.js +3 -3
  105. package/lib/Card/docs/Card__Default.docs.js +7 -7
  106. package/lib/Card/docs/Card__Scroll.docs.js +7 -7
  107. package/lib/Card/index.js +1 -1
  108. package/lib/CheckBox/CheckBox.js +3 -3
  109. package/lib/CheckBox/docs/CheckBox__custom.docs.js +3 -3
  110. package/lib/CheckBox/docs/CheckBox__default.docs.js +3 -3
  111. package/lib/DateTime/CalendarView.js +3 -3
  112. package/lib/DateTime/DateTime.js +3 -3
  113. package/lib/DateTime/DateTimePopupFooter.js +3 -3
  114. package/lib/DateTime/DateTimePopupHeader.js +3 -3
  115. package/lib/DateTime/DateWidget.js +3 -3
  116. package/lib/DateTime/DaysRow.js +3 -3
  117. package/lib/DateTime/Time.js +3 -3
  118. package/lib/DateTime/YearView.js +3 -3
  119. package/lib/DateTime/__tests__/CalendarView.spec.js +1 -1
  120. package/lib/DateTime/__tests__/DateTime.spec.js +1 -1
  121. package/lib/DateTime/docs/DateTime__default.docs.js +3 -3
  122. package/lib/DateTime/docs/DateWidget__default.docs.js +3 -3
  123. package/lib/DateTime/objectUtils.js +1 -1
  124. package/lib/DropBox/DropBox.js +3 -3
  125. package/lib/DropBox/docs/DropBox__custom.docs.js +3 -3
  126. package/lib/DropBox/docs/DropBox__customOrder.docs.js +3 -3
  127. package/lib/DropBox/docs/DropBox__fixedPosition.docs.js +3 -3
  128. package/lib/DropBox/docs/DropBox__position.docs.js +3 -3
  129. package/lib/DropBox/docs/DropBox__size.docs.js +3 -3
  130. package/lib/DropDown/DropDown.js +3 -3
  131. package/lib/DropDown/DropDownHeading.js +3 -3
  132. package/lib/DropDown/DropDownItem.js +3 -3
  133. package/lib/DropDown/DropDownSearch.js +3 -3
  134. package/lib/DropDown/DropDownSeparator.js +3 -3
  135. package/lib/DropDown/docs/DropDownHeading__custom.docs.js +3 -3
  136. package/lib/DropDown/docs/DropDownHeading__default.docs.js +3 -3
  137. package/lib/Label/Label.js +3 -3
  138. package/lib/Label/docs/Label__clipped.docs.js +3 -3
  139. package/lib/Label/docs/Label__custom.docs.js +3 -3
  140. package/lib/Label/docs/Label__palette.docs.js +3 -3
  141. package/lib/Label/docs/Label__size.docs.js +3 -3
  142. package/lib/Label/docs/Label__type.docs.js +3 -3
  143. package/lib/Layout/docs/Layout__Hidden.docs.js +4 -4
  144. package/lib/Layout/docs/Layout__default.docs.js +3 -3
  145. package/lib/Layout/docs/Layout__four_Column.docs.js +4 -4
  146. package/lib/Layout/docs/Layout__three_Column.docs.js +4 -4
  147. package/lib/Layout/docs/Layout__two_Column.docs.js +3 -3
  148. package/lib/LightNightMode/docs/AlternativeColors.docs.js +3 -3
  149. package/lib/ListItem/ListItem.js +3 -3
  150. package/lib/ListItem/ListItemWithAvatar.js +3 -3
  151. package/lib/ListItem/ListItemWithCheckBox.js +3 -3
  152. package/lib/ListItem/ListItemWithIcon.js +3 -3
  153. package/lib/ListItem/ListItemWithRadio.js +3 -3
  154. package/lib/ListItem/docs/ListItemWithAvatar__custom.docs.js +3 -3
  155. package/lib/ListItem/docs/ListItemWithAvatar__default.docs.js +3 -3
  156. package/lib/ListItem/docs/ListItemWithCheckBox__custom.docs.js +3 -3
  157. package/lib/ListItem/docs/ListItemWithCheckBox__default.docs.js +3 -3
  158. package/lib/ListItem/docs/ListItemWithIcon__custom.docs.js +3 -3
  159. package/lib/ListItem/docs/ListItemWithIcon__default.docs.js +3 -3
  160. package/lib/ListItem/docs/ListItemWithRadio__custom.docs.js +3 -3
  161. package/lib/ListItem/docs/ListItemWithRadio__default.docs.js +3 -3
  162. package/lib/ListItem/docs/ListItem__custom.docs.js +3 -3
  163. package/lib/ListItem/docs/ListItem__default.docs.js +3 -3
  164. package/lib/Modal/Modal.js +3 -3
  165. package/lib/Modal/__docs__/Modal__default.docs.js +3 -3
  166. package/lib/MultiSelect/AdvancedGroupMultiSelect.js +3 -3
  167. package/lib/MultiSelect/AdvancedMultiSelect.js +3 -3
  168. package/lib/MultiSelect/EmptyState.js +3 -3
  169. package/lib/MultiSelect/MultiSelect.js +10 -4
  170. package/lib/MultiSelect/MultiSelectHeader.js +3 -3
  171. package/lib/MultiSelect/MultiSelectWithAvatar.js +3 -3
  172. package/lib/MultiSelect/SelectedOptions.js +3 -3
  173. package/lib/MultiSelect/Suggestions.js +5 -5
  174. package/lib/MultiSelect/docs/AdvancedGroupMultiSelect__default.docs.js +3 -3
  175. package/lib/MultiSelect/docs/AdvancedMultiSelect__default.docs.js +3 -3
  176. package/lib/MultiSelect/docs/MultiSelectWithAvatar__default.docs.js +3 -3
  177. package/lib/MultiSelect/docs/MultiSelect__default.docs.js +3 -3
  178. package/lib/PopOver/PopOver.js +3 -3
  179. package/lib/PopOver/PopOver.module.css +1 -1
  180. package/lib/PopOver/docs/PopOver__default.docs.js +3 -3
  181. package/lib/Popup/Popup.js +3 -3
  182. package/lib/Popup/__tests__/Popup.spec.js +3 -3
  183. package/lib/Provider/Config.js +2 -1
  184. package/lib/Provider/LibraryContext.js +3 -3
  185. package/lib/Provider/NumberGenerator/NumberGenerator.js +1 -1
  186. package/lib/Provider/docs/Provider_Id__Class.docs.js +3 -3
  187. package/lib/Provider/docs/Provider_Zindex__Class.docs.js +3 -3
  188. package/lib/Provider.js +3 -3
  189. package/lib/Radio/Radio.js +3 -3
  190. package/lib/Radio/docs/Radio__custom.docs.js +3 -3
  191. package/lib/Radio/docs/Radio__default.docs.js +3 -3
  192. package/lib/Responsive/CustomResponsive.js +3 -3
  193. package/lib/Responsive/RefWrapper.js +1 -1
  194. package/lib/Responsive/ResizeComponent.js +4 -4
  195. package/lib/Responsive/ResizeObserver.js +1 -1
  196. package/lib/Responsive/Responsive.js +3 -3
  197. package/lib/Responsive/docs/Responsive__Custom.docs.js +3 -3
  198. package/lib/Responsive/docs/Responsive__default.docs.js +3 -3
  199. package/lib/Responsive/sizeObservers.js +3 -3
  200. package/lib/Responsive/utils/shallowCompare.js +1 -1
  201. package/lib/Ribbon/Ribbon.js +3 -3
  202. package/lib/Ribbon/docs/Ribbon__custom.docs.js +3 -3
  203. package/lib/Ribbon/docs/Ribbon__default.docs.js +3 -3
  204. package/lib/RippleEffect/docs/RippleEffect__default.docs.js +11 -11
  205. package/lib/Select/GroupSelect.js +3 -3
  206. package/lib/Select/Select.js +19 -5
  207. package/lib/Select/SelectWithAvatar.js +3 -3
  208. package/lib/Select/SelectWithIcon.js +3 -3
  209. package/lib/Select/docs/GroupSelect__default.docs.js +3 -3
  210. package/lib/Select/docs/SelectWithAvatar__default.docs.js +3 -3
  211. package/lib/Select/docs/SelectWithIcon__default.docs.js +3 -3
  212. package/lib/Select/docs/Select__default.docs.js +3 -3
  213. package/lib/Stencils/Stencils.js +3 -3
  214. package/lib/Stencils/docs/Stencils__custom.docs.js +3 -3
  215. package/lib/Stencils/docs/Stencils__default.docs.js +3 -3
  216. package/lib/Switch/Switch.js +3 -3
  217. package/lib/Switch/docs/Switch__custom.docs.js +3 -3
  218. package/lib/Switch/docs/Switch__default.docs.js +3 -3
  219. package/lib/Tab/Tab.js +1 -1
  220. package/lib/Tab/TabWrapper.js +1 -1
  221. package/lib/Tab/Tabs.js +16 -5
  222. package/lib/Tab/docs/Tab__default.docs.js +3 -3
  223. package/lib/Tag/Tag.js +3 -3
  224. package/lib/Tag/docs/Tag__custom.docs.js +3 -3
  225. package/lib/Tag/docs/Tag__default.docs.js +3 -3
  226. package/lib/TextBox/TextBox.js +3 -3
  227. package/lib/TextBox/docs/TextBox__custom.docs.js +3 -3
  228. package/lib/TextBox/docs/TextBox__default.docs.js +3 -3
  229. package/lib/TextBox/docs/TextBox__size.docs.js +3 -3
  230. package/lib/TextBox/docs/TextBox__variant.docs.js +3 -3
  231. package/lib/TextBoxIcon/TextBoxIcon.js +3 -3
  232. package/lib/TextBoxIcon/docs/TextBoxIcon__custom.docs.js +3 -3
  233. package/lib/TextBoxIcon/docs/TextBoxIcon__default.docs.js +3 -3
  234. package/lib/Textarea/Textarea.js +3 -3
  235. package/lib/Textarea/docs/Textarea__animated.docs.js +3 -3
  236. package/lib/Textarea/docs/Textarea__custom.docs.js +3 -3
  237. package/lib/Textarea/docs/Textarea__default.docs.js +3 -3
  238. package/lib/Textarea/docs/Textarea__disabled.docs.js +3 -3
  239. package/lib/Tooltip/Tooltip.js +3 -3
  240. package/lib/Tooltip/__tests__/Tooltip.spec.js +3 -3
  241. package/lib/Tooltip/docs/Tooltip__default.docs.js +3 -3
  242. package/lib/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +3 -3
  243. package/lib/VelocityAnimation/VelocityAnimation/docs/VelocityAnimation__demo.docs.js +5 -5
  244. package/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +3 -3
  245. package/lib/VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs.js +5 -5
  246. package/lib/a11y/FocusScope/FocusScope.js +1 -1
  247. package/lib/a11y/FocusScope/docs/FocusScope__default.docs.js +3 -3
  248. package/lib/beta/FocusRing/FocusRing.js +3 -3
  249. package/lib/beta/FocusRing/docs/FocusRing__default.docs.js +3 -3
  250. package/lib/common/docStyle.module.css +9 -9
  251. package/lib/deprecated/PortalLayer/PortalLayer.js +3 -3
  252. package/lib/deprecated/PortalLayer/docs/PortalLayer__default.docs.js +3 -3
  253. package/lib/semantic/Button/Button.js +3 -3
  254. package/lib/semantic/Button/docs/Button__default.docs.js +3 -3
  255. package/lib/utils/datetime/common.js +1 -1
  256. package/lib/utils/dropDownUtils.js +1 -1
  257. package/lib/utils/shallowEqual.js +1 -1
  258. package/package.json +8 -4
  259. package/preprocess/componentAppearanceColors.js +65 -0
  260. package/preprocess/componentThemeColors.js +119 -0
  261. package/preprocess/ctaThemeColors.js +95 -0
  262. package/preprocess/index.js +3 -0
  263. package/preprocess/json/componentAppearanceVariableJson.js +1515 -0
  264. package/preprocess/json/componentThemeVariableJson.js +259 -0
  265. package/preprocess/json/ctaThemeVariableJson.js +337 -0
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -21,9 +21,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
21
21
 
22
22
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
23
23
 
24
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
24
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
25
25
 
26
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
26
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
27
27
 
28
28
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
29
29
 
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -21,9 +21,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
21
21
 
22
22
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
23
23
 
24
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
24
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
25
25
 
26
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
26
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
27
27
 
28
28
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
29
29
 
@@ -54,9 +54,9 @@ var Animation__default = /*#__PURE__*/function (_React$Component) {
54
54
  var styles = {
55
55
  width: '200px',
56
56
  height: '100px',
57
- background: 'var(--dot_bg_black)',
57
+ background: 'var(--dot_black)',
58
58
  textAlign: 'center',
59
- color: 'var(--dot_text_white)',
59
+ color: 'var(--dot_white)',
60
60
  lineHeight: '100px'
61
61
  };
62
62
  return /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -21,9 +21,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
21
21
 
22
22
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
23
23
 
24
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
24
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
25
25
 
26
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
26
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
27
27
 
28
28
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
29
29
 
@@ -54,9 +54,9 @@ var Animation__fadeIn = /*#__PURE__*/function (_React$Component) {
54
54
  var style = {
55
55
  width: '200px',
56
56
  height: '100px',
57
- background: 'var(--dot_bg_black)',
57
+ background: 'var(--dot_black)',
58
58
  textAlign: 'center',
59
- color: 'var(--dot_text_white)',
59
+ color: 'var(--dot_white)',
60
60
  lineHeight: '100px'
61
61
  };
62
62
  return /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -21,9 +21,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
21
21
 
22
22
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
23
23
 
24
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
24
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
25
25
 
26
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
26
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
27
27
 
28
28
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
29
29
 
@@ -54,9 +54,9 @@ var Animation__scaleIn = /*#__PURE__*/function (_React$Component) {
54
54
  var style = {
55
55
  width: '200px',
56
56
  height: '100px',
57
- background: 'var(--dot_bg_black)',
57
+ background: 'var(--dot_black)',
58
58
  textAlign: 'center',
59
- color: 'var(--dot_text_white)',
59
+ color: 'var(--dot_white)',
60
60
  lineHeight: '100px'
61
61
  };
62
62
  return /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -21,9 +21,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
21
21
 
22
22
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
23
23
 
24
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
24
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
25
25
 
26
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
26
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
27
27
 
28
28
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
29
29
 
@@ -54,9 +54,9 @@ var Animation__skewIn = /*#__PURE__*/function (_React$Component) {
54
54
  var style = {
55
55
  width: '200px',
56
56
  height: '100px',
57
- background: 'var(--dot_bg_black)',
57
+ background: 'var(--dot_black)',
58
58
  textAlign: 'center',
59
- color: 'var(--dot_text_white)',
59
+ color: 'var(--dot_white)',
60
60
  lineHeight: '100px'
61
61
  };
62
62
  return /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -21,9 +21,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
21
21
 
22
22
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
23
23
 
24
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
24
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
25
25
 
26
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
26
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
27
27
 
28
28
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
29
29
 
@@ -54,9 +54,9 @@ var Animation__slideDown = /*#__PURE__*/function (_React$Component) {
54
54
  var style = {
55
55
  width: '200px',
56
56
  height: '100px',
57
- background: 'var(--dot_bg_black)',
57
+ background: 'var(--dot_black)',
58
58
  textAlign: 'center',
59
- color: 'var(--dot_text_white)',
59
+ color: 'var(--dot_white)',
60
60
  lineHeight: '100px'
61
61
  };
62
62
  return /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -21,9 +21,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
21
21
 
22
22
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
23
23
 
24
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
24
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
25
25
 
26
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
26
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
27
27
 
28
28
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
29
29
 
@@ -54,9 +54,9 @@ var Animation__slideLeft = /*#__PURE__*/function (_React$Component) {
54
54
  var style = {
55
55
  width: '200px',
56
56
  height: '100px',
57
- background: 'var(--dot_bg_black)',
57
+ background: 'var(--dot_black)',
58
58
  textAlign: 'center',
59
- color: 'var(--dot_text_white)',
59
+ color: 'var(--dot_white)',
60
60
  lineHeight: '100px'
61
61
  };
62
62
  return /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -21,9 +21,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
21
21
 
22
22
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
23
23
 
24
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
24
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
25
25
 
26
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
26
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
27
27
 
28
28
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
29
29
 
@@ -54,9 +54,9 @@ var Animation__zoomIn = /*#__PURE__*/function (_React$Component) {
54
54
  var style = {
55
55
  width: '200px',
56
56
  height: '100px',
57
- background: 'var(--dot_bg_black)',
57
+ background: 'var(--dot_black)',
58
58
  textAlign: 'center',
59
- color: 'var(--dot_text_white)',
59
+ color: 'var(--dot_white)',
60
60
  lineHeight: '100px'
61
61
  };
62
62
  return /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -33,6 +33,8 @@ require("@zohodesk/variables/lib/no_transitionVariables.module.css");
33
33
 
34
34
  var _AppContainerModule = _interopRequireDefault(require("./AppContainer.module.css"));
35
35
 
36
+ var _Config = require("../Provider/Config");
37
+
36
38
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
37
39
 
38
40
  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); }
@@ -41,9 +43,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
41
43
 
42
44
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
43
45
 
44
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
46
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
45
47
 
46
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
48
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
47
49
 
48
50
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
49
51
 
@@ -70,21 +72,69 @@ var AppContainer = /*#__PURE__*/function (_React$Component) {
70
72
  _this = _super.call(this, props);
71
73
  _this.setTooltipRef = _this.setTooltipRef.bind(_assertThisInitialized(_this));
72
74
  _this.handleOver = _this.handleOver.bind(_assertThisInitialized(_this));
75
+ _this.mouseOverDispatch = _this.mouseOverDispatch.bind(_assertThisInitialized(_this));
76
+ _this.removeTimeout = _this.removeTimeout.bind(_assertThisInitialized(_this));
77
+ _this.getContainerRef = _this.getContainerRef.bind(_assertThisInitialized(_this));
78
+ _this.timer = null;
79
+ _this.tooltipDebounce = (0, _Config.getLibraryConfig)('tooltipDebounce');
73
80
  return _this;
74
81
  }
75
82
 
76
83
  _createClass(AppContainer, [{
77
- key: "handleOver",
78
- value: function handleOver(e) {
84
+ key: "mouseOverDispatch",
85
+ value: function mouseOverDispatch(e) {
79
86
  if (this.tooltipRef) {
80
87
  this.tooltipRef.handleOver(e);
81
88
  }
82
89
  }
90
+ }, {
91
+ key: "removeTimeout",
92
+ value: function removeTimeout() {
93
+ if (this.timer) {
94
+ this.timer = clearTimeout(this.timer);
95
+ }
96
+ }
97
+ }, {
98
+ key: "handleOver",
99
+ value: function handleOver(e) {
100
+ var _this2 = this;
101
+
102
+ if (this.timer) {
103
+ this.timer = clearTimeout(this.timer);
104
+ }
105
+
106
+ this.timer = setTimeout(function () {
107
+ return _this2.mouseOverDispatch(e);
108
+ }, this.tooltipDebounce);
109
+ }
110
+ }, {
111
+ key: "getContainerRef",
112
+ value: function getContainerRef(ref) {
113
+ var eleRef = this.props.eleRef;
114
+ this.containerElement = ref;
115
+ eleRef && eleRef(ref);
116
+ }
83
117
  }, {
84
118
  key: "setTooltipRef",
85
119
  value: function setTooltipRef(ref) {
86
120
  this.tooltipRef = ref;
87
121
  }
122
+ }, {
123
+ key: "componentDidMount",
124
+ value: function componentDidMount() {
125
+ if (this.containerElement) {
126
+ this.containerElement.addEventListener('mouseover', this.handleOver, false);
127
+ this.containerElement.addEventListener('mouseout', this.removeTimeout, false);
128
+ }
129
+ }
130
+ }, {
131
+ key: "componentWillUnmount",
132
+ value: function componentWillUnmount() {
133
+ if (this.containerElement) {
134
+ this.containerElement.removeEventListener('mouseover', this.handleOver, false);
135
+ this.containerElement.addEventListener('mouseout', this.removeTimeout, false);
136
+ }
137
+ }
88
138
  }, {
89
139
  key: "render",
90
140
  value: function render() {
@@ -93,7 +143,6 @@ var AppContainer = /*#__PURE__*/function (_React$Component) {
93
143
  children = _this$props.children,
94
144
  tagName = _this$props.tagName,
95
145
  dataId = _this$props.dataId,
96
- eleRef = _this$props.eleRef,
97
146
  tooltipClass = _this$props.tooltipClass,
98
147
  tooltipParentClass = _this$props.tooltipParentClass,
99
148
  customProps = _this$props.customProps;
@@ -104,11 +153,11 @@ var AppContainer = /*#__PURE__*/function (_React$Component) {
104
153
  _customProps$ExtraPro = customProps.ExtraProps,
105
154
  ExtraProps = _customProps$ExtraPro === void 0 ? {} : _customProps$ExtraPro;
106
155
  return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_Layout.Container, _extends({
107
- className: "".concat(_AppContainerModule["default"].container, " ").concat(className),
108
- onMouseOver: this.handleOver,
156
+ className: "".concat(_AppContainerModule["default"].container, " ").concat(className) //onMouseOver={this.handleOver}
157
+ ,
109
158
  dataId: dataId,
110
159
  tagName: tagName,
111
- eleRef: eleRef
160
+ eleRef: this.getContainerRef
112
161
  }, ContainerProps, ExtraProps), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
113
162
  flexible: true
114
163
  }, children)), /*#__PURE__*/_react["default"].createElement("div", _extends({}, ExtraProps, {
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -19,9 +19,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
19
19
 
20
20
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
21
21
 
22
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
22
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
23
23
 
24
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
24
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
25
25
 
26
26
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
27
27