@zohodesk/components 1.0.0-alpha-218 → 1.0.0-alpha-222

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 (262) hide show
  1. package/README.md +37 -20
  2. package/es/AppContainer/AppContainer.js +46 -5
  3. package/es/Appearance/dark/mode/darkMode.module.css +355 -392
  4. package/es/Appearance/dark/themes/blue/blueDarkCTATheme.module.css +33 -33
  5. package/es/Appearance/dark/themes/blue/blueDarkComponentTheme.module.css +41 -47
  6. package/es/Appearance/dark/themes/green/greenDarkCTATheme.module.css +32 -32
  7. package/es/Appearance/dark/themes/green/greenDarkComponentTheme.module.css +40 -46
  8. package/es/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css +32 -32
  9. package/es/Appearance/dark/themes/orange/orangeDarkComponentTheme.module.css +40 -46
  10. package/es/Appearance/dark/themes/red/redDarkCTATheme.module.css +32 -32
  11. package/es/Appearance/dark/themes/red/redDarkComponentTheme.module.css +40 -46
  12. package/es/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css +32 -32
  13. package/es/Appearance/dark/themes/yellow/yellowDarkComponentTheme.module.css +40 -46
  14. package/es/Appearance/default/mode/defaultMode.module.css +356 -395
  15. package/es/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +33 -33
  16. package/es/Appearance/default/themes/blue/blueDefaultComponentTheme.module.css +41 -47
  17. package/es/Appearance/default/themes/green/greenDefaultCTATheme.module.css +32 -32
  18. package/es/Appearance/default/themes/green/greenDefaultComponentTheme.module.css +40 -46
  19. package/es/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +32 -32
  20. package/es/Appearance/default/themes/orange/orangeDefaultComponentTheme.module.css +40 -46
  21. package/es/Appearance/default/themes/red/redDefaultCTATheme.module.css +32 -32
  22. package/es/Appearance/default/themes/red/redDefaultComponentTheme.module.css +40 -46
  23. package/es/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +32 -32
  24. package/es/Appearance/default/themes/yellow/yellowDefaultComponentTheme.module.css +40 -46
  25. package/es/MultiSelect/MultiSelect.js +8 -1
  26. package/es/Provider/Config.js +2 -1
  27. package/es/Responsive/ResizeComponent.js +1 -1
  28. package/es/Select/Select.js +14 -0
  29. package/es/Tab/Tabs.js +14 -2
  30. package/es/common/animation.module.css +12 -0
  31. package/es/utils/ContextOptimizer.js +1 -1
  32. package/es/utils/shallowEqual.js +32 -0
  33. package/lib/Accordion/Accordion.js +3 -3
  34. package/lib/Accordion/AccordionItem.js +3 -3
  35. package/lib/Accordion/docs/Accordion__Demo.docs.js +3 -3
  36. package/lib/Animation/Animation.js +3 -3
  37. package/lib/Animation/docs/Animation__default.docs.js +3 -3
  38. package/lib/Animation/docs/Animation__fadeIn.docs.js +3 -3
  39. package/lib/Animation/docs/Animation__scaleIn.docs.js +3 -3
  40. package/lib/Animation/docs/Animation__skewIn.docs.js +3 -3
  41. package/lib/Animation/docs/Animation__slideDown.docs.js +3 -3
  42. package/lib/Animation/docs/Animation__slideLeft.docs.js +3 -3
  43. package/lib/Animation/docs/Animation__zoomIn.docs.js +3 -3
  44. package/lib/AppContainer/AppContainer.js +58 -9
  45. package/lib/AppContainer/docs/AppContainer__default.docs.js +3 -3
  46. package/lib/Appearance/dark/mode/darkMode.module.css +355 -392
  47. package/lib/Appearance/dark/themes/blue/blueDarkCTATheme.module.css +33 -33
  48. package/lib/Appearance/dark/themes/blue/blueDarkComponentTheme.module.css +41 -47
  49. package/lib/Appearance/dark/themes/green/greenDarkCTATheme.module.css +32 -32
  50. package/lib/Appearance/dark/themes/green/greenDarkComponentTheme.module.css +40 -46
  51. package/lib/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css +32 -32
  52. package/lib/Appearance/dark/themes/orange/orangeDarkComponentTheme.module.css +40 -46
  53. package/lib/Appearance/dark/themes/red/redDarkCTATheme.module.css +32 -32
  54. package/lib/Appearance/dark/themes/red/redDarkComponentTheme.module.css +40 -46
  55. package/lib/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css +32 -32
  56. package/lib/Appearance/dark/themes/yellow/yellowDarkComponentTheme.module.css +40 -46
  57. package/lib/Appearance/default/mode/defaultMode.module.css +356 -395
  58. package/lib/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +33 -33
  59. package/lib/Appearance/default/themes/blue/blueDefaultComponentTheme.module.css +41 -47
  60. package/lib/Appearance/default/themes/green/greenDefaultCTATheme.module.css +32 -32
  61. package/lib/Appearance/default/themes/green/greenDefaultComponentTheme.module.css +40 -46
  62. package/lib/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +32 -32
  63. package/lib/Appearance/default/themes/orange/orangeDefaultComponentTheme.module.css +40 -46
  64. package/lib/Appearance/default/themes/red/redDefaultCTATheme.module.css +32 -32
  65. package/lib/Appearance/default/themes/red/redDefaultComponentTheme.module.css +40 -46
  66. package/lib/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +32 -32
  67. package/lib/Appearance/default/themes/yellow/yellowDefaultComponentTheme.module.css +40 -46
  68. package/lib/Avatar/Avatar.js +3 -3
  69. package/lib/Avatar/docs/Avatar__custom.docs.js +3 -3
  70. package/lib/Avatar/docs/Avatar__default.docs.js +3 -3
  71. package/lib/Avatar/docs/Avatar__palette.docs.js +3 -3
  72. package/lib/Avatar/docs/Avatar__text.docs.js +3 -3
  73. package/lib/AvatarTeam/AvatarTeam.js +3 -3
  74. package/lib/AvatarTeam/docs/AvatarTeam__custom.docs.js +3 -3
  75. package/lib/AvatarTeam/docs/AvatarTeam__default.docs.js +3 -3
  76. package/lib/AvatarTeam/docs/AvatarTeam__palette.docs.js +3 -3
  77. package/lib/AvatarTeam/docs/AvatarTeam__size.docs.js +3 -3
  78. package/lib/Button/Button.js +3 -3
  79. package/lib/Button/docs/Button__custom.docs.js +3 -3
  80. package/lib/Button/docs/Button__default.docs.js +3 -3
  81. package/lib/Buttongroup/Buttongroup.js +3 -3
  82. package/lib/Buttongroup/docs/Buttongroup__custom.docs.js +3 -3
  83. package/lib/Buttongroup/docs/Buttongroup__footer.docs.js +3 -3
  84. package/lib/Buttongroup/docs/Buttongroup__header.docs.js +3 -3
  85. package/lib/Card/Card.js +3 -3
  86. package/lib/Card/__tests__/Card.spec.js +1 -1
  87. package/lib/Card/docs/Card__Custom.docs.js +3 -3
  88. package/lib/Card/docs/Card__Default.docs.js +3 -3
  89. package/lib/Card/docs/Card__Scroll.docs.js +3 -3
  90. package/lib/Card/index.js +1 -1
  91. package/lib/CheckBox/CheckBox.js +3 -3
  92. package/lib/CheckBox/docs/CheckBox__custom.docs.js +3 -3
  93. package/lib/CheckBox/docs/CheckBox__default.docs.js +3 -3
  94. package/lib/DateTime/CalendarView.js +3 -3
  95. package/lib/DateTime/DateTime.js +3 -3
  96. package/lib/DateTime/DateTimePopupFooter.js +3 -3
  97. package/lib/DateTime/DateTimePopupHeader.js +3 -3
  98. package/lib/DateTime/DateWidget.js +3 -3
  99. package/lib/DateTime/DaysRow.js +3 -3
  100. package/lib/DateTime/Time.js +3 -3
  101. package/lib/DateTime/YearView.js +3 -3
  102. package/lib/DateTime/__tests__/CalendarView.spec.js +1 -1
  103. package/lib/DateTime/__tests__/DateTime.spec.js +1 -1
  104. package/lib/DateTime/docs/DateTime__default.docs.js +3 -3
  105. package/lib/DateTime/docs/DateWidget__default.docs.js +3 -3
  106. package/lib/DateTime/objectUtils.js +1 -1
  107. package/lib/DropBox/DropBox.js +3 -3
  108. package/lib/DropBox/docs/DropBox__custom.docs.js +3 -3
  109. package/lib/DropBox/docs/DropBox__customOrder.docs.js +3 -3
  110. package/lib/DropBox/docs/DropBox__fixedPosition.docs.js +3 -3
  111. package/lib/DropBox/docs/DropBox__position.docs.js +3 -3
  112. package/lib/DropBox/docs/DropBox__size.docs.js +3 -3
  113. package/lib/DropDown/DropDown.js +3 -3
  114. package/lib/DropDown/DropDownHeading.js +3 -3
  115. package/lib/DropDown/DropDownItem.js +3 -3
  116. package/lib/DropDown/DropDownSearch.js +3 -3
  117. package/lib/DropDown/DropDownSeparator.js +3 -3
  118. package/lib/DropDown/docs/DropDownHeading__custom.docs.js +3 -3
  119. package/lib/DropDown/docs/DropDownHeading__default.docs.js +3 -3
  120. package/lib/Label/Label.js +3 -3
  121. package/lib/Label/docs/Label__clipped.docs.js +3 -3
  122. package/lib/Label/docs/Label__custom.docs.js +3 -3
  123. package/lib/Label/docs/Label__palette.docs.js +3 -3
  124. package/lib/Label/docs/Label__size.docs.js +3 -3
  125. package/lib/Label/docs/Label__type.docs.js +3 -3
  126. package/lib/Layout/docs/Layout__Hidden.docs.js +3 -3
  127. package/lib/Layout/docs/Layout__default.docs.js +3 -3
  128. package/lib/Layout/docs/Layout__four_Column.docs.js +3 -3
  129. package/lib/Layout/docs/Layout__three_Column.docs.js +3 -3
  130. package/lib/Layout/docs/Layout__two_Column.docs.js +3 -3
  131. package/lib/LightNightMode/docs/AlternativeColors.docs.js +3 -3
  132. package/lib/ListItem/ListItem.js +3 -3
  133. package/lib/ListItem/ListItemWithAvatar.js +3 -3
  134. package/lib/ListItem/ListItemWithCheckBox.js +3 -3
  135. package/lib/ListItem/ListItemWithIcon.js +3 -3
  136. package/lib/ListItem/ListItemWithRadio.js +3 -3
  137. package/lib/ListItem/docs/ListItemWithAvatar__custom.docs.js +3 -3
  138. package/lib/ListItem/docs/ListItemWithAvatar__default.docs.js +3 -3
  139. package/lib/ListItem/docs/ListItemWithCheckBox__custom.docs.js +3 -3
  140. package/lib/ListItem/docs/ListItemWithCheckBox__default.docs.js +3 -3
  141. package/lib/ListItem/docs/ListItemWithIcon__custom.docs.js +3 -3
  142. package/lib/ListItem/docs/ListItemWithIcon__default.docs.js +3 -3
  143. package/lib/ListItem/docs/ListItemWithRadio__custom.docs.js +3 -3
  144. package/lib/ListItem/docs/ListItemWithRadio__default.docs.js +3 -3
  145. package/lib/ListItem/docs/ListItem__custom.docs.js +3 -3
  146. package/lib/ListItem/docs/ListItem__default.docs.js +3 -3
  147. package/lib/Modal/Modal.js +3 -3
  148. package/lib/Modal/__docs__/Modal__default.docs.js +3 -3
  149. package/lib/MultiSelect/AdvancedGroupMultiSelect.js +3 -3
  150. package/lib/MultiSelect/AdvancedMultiSelect.js +3 -3
  151. package/lib/MultiSelect/EmptyState.js +3 -3
  152. package/lib/MultiSelect/MultiSelect.js +10 -4
  153. package/lib/MultiSelect/MultiSelectHeader.js +3 -3
  154. package/lib/MultiSelect/MultiSelectWithAvatar.js +3 -3
  155. package/lib/MultiSelect/SelectedOptions.js +3 -3
  156. package/lib/MultiSelect/Suggestions.js +5 -5
  157. package/lib/MultiSelect/docs/AdvancedGroupMultiSelect__default.docs.js +3 -3
  158. package/lib/MultiSelect/docs/AdvancedMultiSelect__default.docs.js +3 -3
  159. package/lib/MultiSelect/docs/MultiSelectWithAvatar__default.docs.js +3 -3
  160. package/lib/MultiSelect/docs/MultiSelect__default.docs.js +3 -3
  161. package/lib/PopOver/PopOver.js +3 -3
  162. package/lib/PopOver/docs/PopOver__default.docs.js +3 -3
  163. package/lib/Popup/Popup.js +3 -3
  164. package/lib/Popup/__tests__/Popup.spec.js +3 -3
  165. package/lib/Provider/Config.js +2 -1
  166. package/lib/Provider/LibraryContext.js +3 -3
  167. package/lib/Provider/NumberGenerator/NumberGenerator.js +1 -1
  168. package/lib/Provider/docs/Provider_Id__Class.docs.js +3 -3
  169. package/lib/Provider/docs/Provider_Zindex__Class.docs.js +3 -3
  170. package/lib/Provider.js +3 -3
  171. package/lib/Radio/Radio.js +3 -3
  172. package/lib/Radio/docs/Radio__custom.docs.js +3 -3
  173. package/lib/Radio/docs/Radio__default.docs.js +3 -3
  174. package/lib/Responsive/CustomResponsive.js +3 -3
  175. package/lib/Responsive/RefWrapper.js +1 -1
  176. package/lib/Responsive/ResizeComponent.js +4 -4
  177. package/lib/Responsive/ResizeObserver.js +1 -1
  178. package/lib/Responsive/Responsive.js +3 -3
  179. package/lib/Responsive/docs/Responsive__Custom.docs.js +3 -3
  180. package/lib/Responsive/docs/Responsive__default.docs.js +3 -3
  181. package/lib/Responsive/sizeObservers.js +3 -3
  182. package/lib/Responsive/utils/shallowCompare.js +1 -1
  183. package/lib/Ribbon/Ribbon.js +3 -3
  184. package/lib/Ribbon/docs/Ribbon__custom.docs.js +3 -3
  185. package/lib/Ribbon/docs/Ribbon__default.docs.js +3 -3
  186. package/lib/RippleEffect/docs/RippleEffect__default.docs.js +3 -3
  187. package/lib/Select/GroupSelect.js +3 -3
  188. package/lib/Select/Select.js +19 -5
  189. package/lib/Select/SelectWithAvatar.js +3 -3
  190. package/lib/Select/SelectWithIcon.js +3 -3
  191. package/lib/Select/docs/GroupSelect__default.docs.js +3 -3
  192. package/lib/Select/docs/SelectWithAvatar__default.docs.js +3 -3
  193. package/lib/Select/docs/SelectWithIcon__default.docs.js +3 -3
  194. package/lib/Select/docs/Select__default.docs.js +3 -3
  195. package/lib/Stencils/Stencils.js +3 -3
  196. package/lib/Stencils/docs/Stencils__custom.docs.js +3 -3
  197. package/lib/Stencils/docs/Stencils__default.docs.js +3 -3
  198. package/lib/Switch/Switch.js +3 -3
  199. package/lib/Switch/docs/Switch__custom.docs.js +3 -3
  200. package/lib/Switch/docs/Switch__default.docs.js +3 -3
  201. package/lib/Tab/Tab.js +1 -1
  202. package/lib/Tab/TabWrapper.js +1 -1
  203. package/lib/Tab/Tabs.js +16 -5
  204. package/lib/Tab/docs/Tab__default.docs.js +3 -3
  205. package/lib/Tag/Tag.js +3 -3
  206. package/lib/Tag/docs/Tag__custom.docs.js +3 -3
  207. package/lib/Tag/docs/Tag__default.docs.js +3 -3
  208. package/lib/TextBox/TextBox.js +3 -3
  209. package/lib/TextBox/docs/TextBox__custom.docs.js +3 -3
  210. package/lib/TextBox/docs/TextBox__default.docs.js +3 -3
  211. package/lib/TextBox/docs/TextBox__size.docs.js +3 -3
  212. package/lib/TextBox/docs/TextBox__variant.docs.js +3 -3
  213. package/lib/TextBoxIcon/TextBoxIcon.js +3 -3
  214. package/lib/TextBoxIcon/docs/TextBoxIcon__custom.docs.js +3 -3
  215. package/lib/TextBoxIcon/docs/TextBoxIcon__default.docs.js +3 -3
  216. package/lib/Textarea/Textarea.js +3 -3
  217. package/lib/Textarea/docs/Textarea__animated.docs.js +3 -3
  218. package/lib/Textarea/docs/Textarea__custom.docs.js +3 -3
  219. package/lib/Textarea/docs/Textarea__default.docs.js +3 -3
  220. package/lib/Textarea/docs/Textarea__disabled.docs.js +3 -3
  221. package/lib/Tooltip/Tooltip.js +3 -3
  222. package/lib/Tooltip/__tests__/Tooltip.spec.js +3 -3
  223. package/lib/Tooltip/docs/Tooltip__default.docs.js +3 -3
  224. package/lib/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +3 -3
  225. package/lib/VelocityAnimation/VelocityAnimation/docs/VelocityAnimation__demo.docs.js +3 -3
  226. package/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +3 -3
  227. package/lib/VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs.js +3 -3
  228. package/lib/a11y/FocusScope/FocusScope.js +1 -1
  229. package/lib/a11y/FocusScope/docs/FocusScope__default.docs.js +3 -3
  230. package/lib/beta/FocusRing/FocusRing.js +3 -3
  231. package/lib/beta/FocusRing/docs/FocusRing__default.docs.js +3 -3
  232. package/lib/common/animation.module.css +12 -0
  233. package/lib/deprecated/PortalLayer/PortalLayer.js +3 -3
  234. package/lib/deprecated/PortalLayer/docs/PortalLayer__default.docs.js +3 -3
  235. package/lib/semantic/Button/Button.js +3 -3
  236. package/lib/semantic/Button/docs/Button__default.docs.js +3 -3
  237. package/lib/utils/ContextOptimizer.js +2 -2
  238. package/lib/utils/datetime/common.js +1 -1
  239. package/lib/utils/dropDownUtils.js +1 -1
  240. package/lib/utils/shallowEqual.js +41 -0
  241. package/package.json +6 -2
  242. package/preprocess/componentAppearanceColors.js +65 -0
  243. package/preprocess/componentThemeColors.js +119 -0
  244. package/preprocess/ctaThemeColors.js +95 -0
  245. package/preprocess/index.js +3 -0
  246. package/preprocess/json/componentAppearanceVariableJson.js +1515 -0
  247. package/preprocess/json/componentThemeVariableJson.js +259 -0
  248. package/preprocess/json/ctaThemeVariableJson.js +337 -0
  249. package/es/deprecated/Theme/darkTheme.module.css +0 -393
  250. package/es/deprecated/Theme/defaultTheme.module.css +0 -393
  251. package/es/deprecated/Theme/palette/darkCTAPalette.module.css +0 -116
  252. package/es/deprecated/Theme/palette/darkPalette.module.css +0 -155
  253. package/es/deprecated/Theme/palette/defaultCTAPalette.module.css +0 -116
  254. package/es/deprecated/Theme/palette/defaultPalette.module.css +0 -155
  255. package/es/deprecated/customscroll_Old.module.css +0 -46
  256. package/lib/deprecated/Theme/darkTheme.module.css +0 -393
  257. package/lib/deprecated/Theme/defaultTheme.module.css +0 -393
  258. package/lib/deprecated/Theme/palette/darkCTAPalette.module.css +0 -116
  259. package/lib/deprecated/Theme/palette/darkPalette.module.css +0 -155
  260. package/lib/deprecated/Theme/palette/defaultCTAPalette.module.css +0 -116
  261. package/lib/deprecated/Theme/palette/defaultPalette.module.css +0 -155
  262. package/lib/deprecated/customscroll_Old.module.css +0 -46
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # DOT Style Guide
2
2
 
3
- In this Package we Provide Some Basic Components to Build Web App
3
+ In this Package, we Provide Some Basic Components to Build Web App
4
4
 
5
5
  - Avatar
6
6
  - AvatarTeam
@@ -32,6 +32,23 @@ In this Package we Provide Some Basic Components to Build Web App
32
32
  - TextBoxIcon
33
33
  - Tooltip
34
34
 
35
+ # 1.0.0-alpha-222
36
+
37
+ - Tabs=> isResponsive condition handled properly
38
+ - Select, MultiSelect => on press tab, choose selected value then move focus to next focuable element flow implemented
39
+
40
+ # 1.0.0-alpha-221
41
+
42
+ - blueDefaultTheme & blueDarkTheme class name added in Blue CTATheme & ComponentTheme files
43
+
44
+ # 1.0.0-alpha-220
45
+
46
+ - Tooltip Delay Controlled to Improve Perf
47
+
48
+ # 1.0.0-alpha-219
49
+
50
+ - ContextOptimizer => ShallowEqal function issue solved
51
+
35
52
  # 1.0.0-alpha-218
36
53
 
37
54
  - Select => Custom props undefined issue solved
@@ -65,7 +82,7 @@ In this Package we Provide Some Basic Components to Build Web App
65
82
 
66
83
  # 1.0.0-alpha-211
67
84
 
68
- - Lato font reference changed from local to Zoho URL(webfonts)
85
+ - Lato font reference changed from local to Zoho URL(web fonts)
69
86
 
70
87
  # 1.0.0-alpha-210
71
88
 
@@ -109,7 +126,7 @@ In this Package we Provide Some Basic Components to Build Web App
109
126
 
110
127
  # 1.0.0-alpha-202
111
128
 
112
- - MultiSelect - scrolltop issue fix
129
+ - MultiSelect - scroll top issue fix
113
130
 
114
131
  # 1.0.0-alpha-201
115
132
 
@@ -170,7 +187,7 @@ In this Package we Provide Some Basic Components to Build Web App
170
187
 
171
188
  # 1.0.0-alpha-188
172
189
 
173
- - Popup => popup with in popup open body click issue fixed
190
+ - Popup => popup within popup open body click issue fixed
174
191
 
175
192
  # 1.0.0-alpha-187
176
193
 
@@ -186,7 +203,7 @@ In this Package we Provide Some Basic Components to Build Web App
186
203
 
187
204
  # 1.0.0-alpha-184
188
205
 
189
- - Palette Based Folder Structure Changed.
206
+ - Palette-Based Folder Structure Changed.
190
207
  - data-theme changed to data-mode
191
208
  - data-palette changed to data-theme
192
209
 
@@ -240,7 +257,7 @@ In this Package we Provide Some Basic Components to Build Web App
240
257
 
241
258
  # 1.0.0-alpha-173
242
259
 
243
- - code based issue fixed ( const to let)
260
+ - code-based issue fixed ( const to let)
244
261
 
245
262
  # 1.0.0-alpha-172
246
263
 
@@ -392,7 +409,7 @@ In this Package we Provide Some Basic Components to Build Web App
392
409
  # 1.0.0-alpha-144
393
410
 
394
411
  - PortalLayer Moved to deprecated folder
395
- - A11y Id Added For Select,MultiSelect Based Components
412
+ - A11y Id Added For Select, MultiSelect Based Components
396
413
  - Semantic Button Default Font and Padding Resetted.
397
414
  - LisItem - dataId setted default
398
415
 
@@ -455,7 +472,7 @@ In this Package we Provide Some Basic Components to Build Web App
455
472
  # 1.0.0-alpha-137
456
473
 
457
474
  - ally Fixes
458
- - htmlId prop added in select component
475
+ - htmlId prop added in the select component
459
476
  - AdvancedGroupMultiSelect => scroll fetch issue fix
460
477
 
461
478
  # 1.0.0-alpha-136
@@ -473,7 +490,7 @@ In this Package we Provide Some Basic Components to Build Web App
473
490
 
474
491
  # 1.0.0-alpha-134
475
492
 
476
- - Reset Code Spliting
493
+ - Reset Code Splitting
477
494
 
478
495
  # 1.0.0-alpha-133
479
496
 
@@ -508,7 +525,7 @@ In this Package we Provide Some Basic Components to Build Web App
508
525
 
509
526
  # 1.0.0-alpha-126
510
527
 
511
- - AllY implementation for button, textbox
528
+ - AllY implementation for the button, textbox
512
529
  - Semantic button added
513
530
 
514
531
  # 1.0.0-alpha-125
@@ -675,7 +692,7 @@ In this Package we Provide Some Basic Components to Build Web App
675
692
 
676
693
  # 1.0.0-alpha-94
677
694
 
678
- - Tab Maping Fix
695
+ - Tab Mapping Fix
679
696
 
680
697
  # 1.0.0-alpha-93
681
698
 
@@ -684,7 +701,7 @@ In this Package we Provide Some Basic Components to Build Web App
684
701
  # 1.0.0-alpha-92
685
702
 
686
703
  - Tab Custom Element Fix
687
- - Avatar xlarge sze changes
704
+ - Avatar xlarge size changes
688
705
 
689
706
  # 1.0.0-alpha-91
690
707
 
@@ -710,7 +727,7 @@ In this Package we Provide Some Basic Components to Build Web App
710
727
  # 1.0.0-alpha-87
711
728
 
712
729
  - Date Component TimeZone Fix
713
- - Unwanted Funtctions Removed from utils/Common
730
+ - Unwanted Functions Removed from utils/Common
714
731
 
715
732
  # 1.0.0-alpha-86
716
733
 
@@ -740,7 +757,7 @@ In this Package we Provide Some Basic Components to Build Web App
740
757
 
741
758
  # 1.0.0-alpha-81
742
759
 
743
- - variant - secondary type removed in Label component
760
+ - variant - secondary type removed in a Label component
744
761
  - customClass Added For Label component
745
762
  - Radio, CheckBox SVG Updated, and Palette Danger Added, isFilled Added For Transparent BG
746
763
  - MultiSelect Avatar DataId Changes
@@ -751,7 +768,7 @@ In this Package we Provide Some Basic Components to Build Web App
751
768
 
752
769
  # 1.0.0-alpha-79
753
770
 
754
- - Tag danger,default color changed to dot_bg_hawkesBlue
771
+ - Tag danger, default color changed to dot_bg_hawkesBlue
755
772
  - MultiSelectWithAvatar size prop passed for tags Parent
756
773
 
757
774
  # 1.0.0-alpha-78
@@ -816,7 +833,7 @@ In this Package we Provide Some Basic Components to Build Web App
816
833
  # 1.0.0-alpha-67
817
834
 
818
835
  - Adding TourId and isAbsolutePositioningNeeded key in DropBox
819
- - Adding TourId in Box, Container and Tab components
836
+ - Adding TourId in Box, Container, and Tab components
820
837
 
821
838
  # 1.0.0-alpha-66
822
839
 
@@ -832,7 +849,7 @@ In this Package we Provide Some Basic Components to Build Web App
832
849
 
833
850
  - isDisabled Option added for List Item Based Atoms
834
851
  - needBorder and disableAction Option added for MultiSelect
835
- - Select BoxSize Added for Drop Box
852
+ - Select BoxSize Added for DropBox
836
853
 
837
854
  # 1.0.0-alpha-62
838
855
 
@@ -860,7 +877,7 @@ In this Package we Provide Some Basic Components to Build Web App
860
877
  # 1.0.0-alpha-57
861
878
 
862
879
  - Base Font Version 3 Updated
863
- - Advanced Group Multi Select Added
880
+ - Advanced Group Multi-Select Added
864
881
 
865
882
  # 1.0.0-alpha-56
866
883
 
@@ -879,14 +896,14 @@ In this Package we Provide Some Basic Components to Build Web App
879
896
 
880
897
  # 1.0.0-alpha-53
881
898
 
882
- - CustomScroll Maked Optional
899
+ - CustomScroll Make Optional
883
900
  - Reset Code Implemented in Portal
884
901
  - Icon Line-Height Remove
885
902
  - New Reports Icons Added
886
903
 
887
904
  # 1.0.0-alpha-52
888
905
 
889
- - Advance Multi Select Added
906
+ - Advance Multi-Select Added
890
907
 
891
908
  # 1.0.0-alpha-51
892
909
 
@@ -13,30 +13,71 @@ import '@zohodesk/variables/lib/fontFamilyVariables.module.css';
13
13
  import '@zohodesk/variables/lib/transitionVariables.module.css';
14
14
  import '@zohodesk/variables/lib/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, {