@zohodesk/components 1.0.0-alpha-240 → 1.0.0-alpha-243

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 (211) hide show
  1. package/README.md +20 -6
  2. package/assets/Appearance/dark/mode/darkMode.module.css +4 -1
  3. package/assets/Appearance/default/mode/defaultMode.module.css +3 -0
  4. package/assets/Appearance/pureDark/mode/pureDarkMode.module.css +4 -1
  5. package/es/AppContainer/AppContainer.js +1 -1
  6. package/es/Avatar/Avatar.js +1 -1
  7. package/es/AvatarTeam/AvatarTeam.js +1 -1
  8. package/es/CheckBox/CheckBox.js +1 -1
  9. package/es/DateTime/DateTime.js +4 -2
  10. package/es/DateTime/DateTime.module.css +1 -1
  11. package/es/DateTime/DateWidget.js +4 -2
  12. package/es/DateTime/YearView.module.css +1 -0
  13. package/es/DropBox/DropBox.js +1 -1
  14. package/es/ListItem/ListContainer.js +1 -1
  15. package/es/ListItem/ListItem.js +1 -1
  16. package/es/ListItem/ListItemWithAvatar.js +1 -1
  17. package/es/ListItem/ListItemWithCheckBox.js +1 -1
  18. package/es/ListItem/ListItemWithIcon.js +1 -1
  19. package/es/ListItem/ListItemWithRadio.js +1 -1
  20. package/es/Modal/Modal.js +1 -1
  21. package/es/MultiSelect/AdvancedMultiSelect.js +1 -1
  22. package/es/MultiSelect/SelectedOptions.js +1 -1
  23. package/es/MultiSelect/Suggestions.js +1 -1
  24. package/es/Popup/Popup.js +1 -1
  25. package/es/Provider.js +5 -105
  26. package/es/ResponsiveDropBox/ResponsiveDropBox.js +1 -1
  27. package/es/Select/Select.js +1 -1
  28. package/es/Switch/Switch.js +1 -1
  29. package/es/Tab/Tab.js +1 -1
  30. package/es/Tab/TabWrapper.js +1 -1
  31. package/es/Tab/Tabs.js +1 -1
  32. package/es/Tag/Tag.js +1 -1
  33. package/es/Tag/Tag.module.css +6 -2
  34. package/es/TextBox/TextBox.js +1 -1
  35. package/es/TextBoxIcon/TextBoxIcon.js +1 -1
  36. package/es/Textarea/Textarea.js +1 -1
  37. package/es/Tooltip/Tooltip.js +1 -1
  38. package/es/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +1 -1
  39. package/lib/Accordion/Accordion.js +2 -2
  40. package/lib/Accordion/AccordionItem.js +2 -2
  41. package/lib/Accordion/docs/Accordion__Demo.docs.js +2 -2
  42. package/lib/Animation/Animation.js +2 -2
  43. package/lib/Animation/docs/Animation__default.docs.js +2 -2
  44. package/lib/Animation/docs/Animation__fadeIn.docs.js +2 -2
  45. package/lib/Animation/docs/Animation__scaleIn.docs.js +2 -2
  46. package/lib/Animation/docs/Animation__skewIn.docs.js +2 -2
  47. package/lib/Animation/docs/Animation__slideDown.docs.js +2 -2
  48. package/lib/Animation/docs/Animation__slideLeft.docs.js +2 -2
  49. package/lib/Animation/docs/Animation__zoomIn.docs.js +2 -2
  50. package/lib/AppContainer/AppContainer.js +3 -3
  51. package/lib/AppContainer/docs/AppContainer__default.docs.js +2 -2
  52. package/lib/Avatar/Avatar.js +3 -3
  53. package/lib/Avatar/docs/Avatar__custom.docs.js +2 -2
  54. package/lib/Avatar/docs/Avatar__default.docs.js +2 -2
  55. package/lib/Avatar/docs/Avatar__palette.docs.js +2 -2
  56. package/lib/Avatar/docs/Avatar__text.docs.js +2 -2
  57. package/lib/AvatarTeam/AvatarTeam.js +3 -3
  58. package/lib/AvatarTeam/docs/AvatarTeam__custom.docs.js +2 -2
  59. package/lib/AvatarTeam/docs/AvatarTeam__default.docs.js +2 -2
  60. package/lib/AvatarTeam/docs/AvatarTeam__palette.docs.js +2 -2
  61. package/lib/AvatarTeam/docs/AvatarTeam__size.docs.js +2 -2
  62. package/lib/Button/Button.js +2 -2
  63. package/lib/Button/docs/Button__custom.docs.js +2 -2
  64. package/lib/Button/docs/Button__default.docs.js +2 -2
  65. package/lib/Buttongroup/Buttongroup.js +2 -2
  66. package/lib/Buttongroup/docs/Buttongroup__custom.docs.js +2 -2
  67. package/lib/Buttongroup/docs/Buttongroup__footer.docs.js +2 -2
  68. package/lib/Buttongroup/docs/Buttongroup__header.docs.js +2 -2
  69. package/lib/Card/Card.js +2 -2
  70. package/lib/Card/docs/Card__Custom.docs.js +2 -2
  71. package/lib/Card/docs/Card__Default.docs.js +2 -2
  72. package/lib/Card/docs/Card__Scroll.docs.js +2 -2
  73. package/lib/CheckBox/CheckBox.js +3 -3
  74. package/lib/CheckBox/docs/CheckBox__custom.docs.js +2 -2
  75. package/lib/CheckBox/docs/CheckBox__default.docs.js +2 -2
  76. package/lib/DateTime/CalendarView.js +2 -2
  77. package/lib/DateTime/DateTime.js +6 -4
  78. package/lib/DateTime/DateTime.module.css +1 -1
  79. package/lib/DateTime/DateTimePopupFooter.js +2 -2
  80. package/lib/DateTime/DateTimePopupHeader.js +2 -2
  81. package/lib/DateTime/DateWidget.js +6 -4
  82. package/lib/DateTime/DaysRow.js +2 -2
  83. package/lib/DateTime/Time.js +2 -2
  84. package/lib/DateTime/YearView.js +2 -2
  85. package/lib/DateTime/YearView.module.css +1 -0
  86. package/lib/DateTime/docs/DateTime__default.docs.js +2 -2
  87. package/lib/DateTime/docs/DateWidget__default.docs.js +2 -2
  88. package/lib/DropBox/DropBox.js +3 -3
  89. package/lib/DropBox/docs/DropBox__custom.docs.js +2 -2
  90. package/lib/DropBox/docs/DropBox__customOrder.docs.js +2 -2
  91. package/lib/DropBox/docs/DropBox__fixedPosition.docs.js +2 -2
  92. package/lib/DropBox/docs/DropBox__position.docs.js +2 -2
  93. package/lib/DropBox/docs/DropBox__size.docs.js +2 -2
  94. package/lib/DropDown/DropDown.js +2 -2
  95. package/lib/DropDown/DropDownHeading.js +2 -2
  96. package/lib/DropDown/DropDownItem.js +2 -2
  97. package/lib/DropDown/DropDownSearch.js +2 -2
  98. package/lib/DropDown/DropDownSeparator.js +2 -2
  99. package/lib/DropDown/docs/DropDownHeading__custom.docs.js +2 -2
  100. package/lib/DropDown/docs/DropDownHeading__default.docs.js +2 -2
  101. package/lib/Label/Label.js +2 -2
  102. package/lib/Label/docs/Label__clipped.docs.js +2 -2
  103. package/lib/Label/docs/Label__custom.docs.js +2 -2
  104. package/lib/Label/docs/Label__palette.docs.js +2 -2
  105. package/lib/Label/docs/Label__size.docs.js +2 -2
  106. package/lib/Label/docs/Label__type.docs.js +2 -2
  107. package/lib/Layout/docs/Layout__Hidden.docs.js +2 -2
  108. package/lib/Layout/docs/Layout__default.docs.js +2 -2
  109. package/lib/Layout/docs/Layout__four_Column.docs.js +2 -2
  110. package/lib/Layout/docs/Layout__three_Column.docs.js +2 -2
  111. package/lib/Layout/docs/Layout__two_Column.docs.js +2 -2
  112. package/lib/LightNightMode/docs/AlternativeColors.docs.js +2 -2
  113. package/lib/ListItem/ListContainer.js +1 -1
  114. package/lib/ListItem/ListItem.js +3 -3
  115. package/lib/ListItem/ListItemWithAvatar.js +3 -3
  116. package/lib/ListItem/ListItemWithCheckBox.js +3 -3
  117. package/lib/ListItem/ListItemWithIcon.js +3 -3
  118. package/lib/ListItem/ListItemWithRadio.js +3 -3
  119. package/lib/ListItem/docs/ListItemWithAvatar__custom.docs.js +2 -2
  120. package/lib/ListItem/docs/ListItemWithAvatar__default.docs.js +2 -2
  121. package/lib/ListItem/docs/ListItemWithCheckBox__custom.docs.js +2 -2
  122. package/lib/ListItem/docs/ListItemWithCheckBox__default.docs.js +2 -2
  123. package/lib/ListItem/docs/ListItemWithIcon__custom.docs.js +2 -2
  124. package/lib/ListItem/docs/ListItemWithIcon__default.docs.js +2 -2
  125. package/lib/ListItem/docs/ListItemWithRadio__custom.docs.js +2 -2
  126. package/lib/ListItem/docs/ListItemWithRadio__default.docs.js +2 -2
  127. package/lib/ListItem/docs/ListItem__custom.docs.js +2 -2
  128. package/lib/ListItem/docs/ListItem__default.docs.js +2 -2
  129. package/lib/Modal/Modal.js +3 -3
  130. package/lib/Modal/__docs__/Modal__default.docs.js +2 -2
  131. package/lib/MultiSelect/AdvancedGroupMultiSelect.js +2 -2
  132. package/lib/MultiSelect/AdvancedMultiSelect.js +3 -3
  133. package/lib/MultiSelect/EmptyState.js +2 -2
  134. package/lib/MultiSelect/MultiSelect.js +2 -2
  135. package/lib/MultiSelect/MultiSelectHeader.js +2 -2
  136. package/lib/MultiSelect/MultiSelectWithAvatar.js +2 -2
  137. package/lib/MultiSelect/SelectedOptions.js +3 -3
  138. package/lib/MultiSelect/Suggestions.js +3 -3
  139. package/lib/MultiSelect/docs/AdvancedGroupMultiSelect__default.docs.js +2 -2
  140. package/lib/MultiSelect/docs/AdvancedMultiSelect__default.docs.js +2 -2
  141. package/lib/MultiSelect/docs/MultiSelectWithAvatar__default.docs.js +2 -2
  142. package/lib/MultiSelect/docs/MultiSelect__default.docs.js +2 -2
  143. package/lib/PopOver/PopOver.js +2 -2
  144. package/lib/PopOver/docs/PopOver__default.docs.js +2 -2
  145. package/lib/Popup/Popup.js +3 -3
  146. package/lib/Popup/__tests__/Popup.spec.js +2 -2
  147. package/lib/Provider/docs/Provider_Id__Class.docs.js +2 -2
  148. package/lib/Provider/docs/Provider_Zindex__Class.docs.js +2 -2
  149. package/lib/Provider.js +8 -125
  150. package/lib/Radio/Radio.js +2 -2
  151. package/lib/Radio/docs/Radio__custom.docs.js +2 -2
  152. package/lib/Radio/docs/Radio__default.docs.js +2 -2
  153. package/lib/Responsive/ResizeComponent.js +2 -2
  154. package/lib/Responsive/Responsive.js +2 -2
  155. package/lib/Responsive/docs/Responsive__Custom.docs.js +2 -2
  156. package/lib/Responsive/docs/Responsive__default.docs.js +2 -2
  157. package/lib/Responsive/sizeObservers.js +3 -3
  158. package/lib/ResponsiveDropBox/ResponsiveDropBox.js +3 -3
  159. package/lib/Ribbon/Ribbon.js +2 -2
  160. package/lib/Ribbon/docs/Ribbon__custom.docs.js +2 -2
  161. package/lib/Ribbon/docs/Ribbon__default.docs.js +2 -2
  162. package/lib/RippleEffect/docs/RippleEffect__default.docs.js +2 -2
  163. package/lib/Select/GroupSelect.js +2 -2
  164. package/lib/Select/Select.js +3 -3
  165. package/lib/Select/SelectWithAvatar.js +2 -2
  166. package/lib/Select/SelectWithIcon.js +2 -2
  167. package/lib/Select/docs/GroupSelect__default.docs.js +2 -2
  168. package/lib/Select/docs/SelectWithAvatar__default.docs.js +2 -2
  169. package/lib/Select/docs/SelectWithIcon__default.docs.js +2 -2
  170. package/lib/Select/docs/Select__default.docs.js +2 -2
  171. package/lib/Stencils/Stencils.js +2 -2
  172. package/lib/Stencils/docs/Stencils__custom.docs.js +2 -2
  173. package/lib/Stencils/docs/Stencils__default.docs.js +2 -2
  174. package/lib/Switch/Switch.js +3 -3
  175. package/lib/Switch/docs/Switch__custom.docs.js +2 -2
  176. package/lib/Switch/docs/Switch__default.docs.js +2 -2
  177. package/lib/Tab/Tab.js +1 -1
  178. package/lib/Tab/TabWrapper.js +1 -1
  179. package/lib/Tab/Tabs.js +3 -3
  180. package/lib/Tab/docs/Tab__default.docs.js +2 -2
  181. package/lib/Tag/Tag.js +3 -3
  182. package/lib/Tag/Tag.module.css +6 -2
  183. package/lib/Tag/docs/Tag__custom.docs.js +2 -2
  184. package/lib/Tag/docs/Tag__default.docs.js +2 -2
  185. package/lib/TextBox/TextBox.js +3 -3
  186. package/lib/TextBox/docs/TextBox__custom.docs.js +2 -2
  187. package/lib/TextBox/docs/TextBox__default.docs.js +2 -2
  188. package/lib/TextBox/docs/TextBox__size.docs.js +2 -2
  189. package/lib/TextBox/docs/TextBox__variant.docs.js +2 -2
  190. package/lib/TextBoxIcon/TextBoxIcon.js +3 -3
  191. package/lib/TextBoxIcon/docs/TextBoxIcon__custom.docs.js +2 -2
  192. package/lib/TextBoxIcon/docs/TextBoxIcon__default.docs.js +2 -2
  193. package/lib/Textarea/Textarea.js +3 -3
  194. package/lib/Textarea/docs/Textarea__animated.docs.js +2 -2
  195. package/lib/Textarea/docs/Textarea__custom.docs.js +2 -2
  196. package/lib/Textarea/docs/Textarea__default.docs.js +2 -2
  197. package/lib/Textarea/docs/Textarea__disabled.docs.js +2 -2
  198. package/lib/Tooltip/Tooltip.js +3 -3
  199. package/lib/Tooltip/__tests__/Tooltip.spec.js +2 -2
  200. package/lib/Tooltip/docs/Tooltip__default.docs.js +2 -2
  201. package/lib/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +2 -2
  202. package/lib/VelocityAnimation/VelocityAnimation/docs/VelocityAnimation__demo.docs.js +2 -2
  203. package/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +3 -3
  204. package/lib/VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs.js +2 -2
  205. package/lib/a11y/FocusScope/docs/FocusScope__default.docs.js +2 -2
  206. package/lib/beta/FocusRing/docs/FocusRing__default.docs.js +2 -2
  207. package/lib/deprecated/PortalLayer/PortalLayer.js +2 -2
  208. package/lib/deprecated/PortalLayer/docs/PortalLayer__default.docs.js +2 -2
  209. package/lib/semantic/Button/Button.js +2 -2
  210. package/lib/semantic/Button/docs/Button__default.docs.js +2 -2
  211. package/package.json +1 -1
package/README.md CHANGED
@@ -32,6 +32,19 @@ 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-243
36
+
37
+ - DateTime, DateWidget => Portal Id support for fixed position.
38
+ - YearView => Theme Variable support for month text.
39
+
40
+ # 1.0.0-alpha-242
41
+
42
+ - Tag -> defaultLink palette added
43
+
44
+ # 1.0.0-alpha-241
45
+
46
+ - Added unobserve element condition for Tooltip.
47
+
35
48
  # 1.0.0-alpha-240
36
49
 
37
50
  - DateWidget input selection color variable removed
@@ -59,9 +72,9 @@ In this Package, we Provide Some Basic Components to Build Web App
59
72
 
60
73
  # 1.0.0-alpha-235
61
74
 
62
- -Tooltip
63
- => data-title-wrap prop added
64
- => tooltip calculation based on root or window case added
75
+ -Tooltip
76
+ => data-title-wrap prop added
77
+ => tooltip calculation based on root or window case added
65
78
 
66
79
  # 1.0.0-alpha-234
67
80
 
@@ -74,6 +87,7 @@ In this Package, we Provide Some Basic Components to Build Web App
74
87
  # 1.0.0-alpha-232
75
88
 
76
89
  - ListContainer => Mobile Responsive Implemented
90
+
77
91
  # 1.0.0-alpha-231
78
92
 
79
93
  - DropBox - Position Undefined Issue Solved
@@ -81,7 +95,7 @@ In this Package, we Provide Some Basic Components to Build Web App
81
95
  # 1.0.0-alpha-230
82
96
 
83
97
  - Avatar, AdvancedGroupMultiSelect, AdvancedMultiSelect, MultiSelect, MultiSelectWithAvatar, GroupSelect, Select, SelectWithAvatar, SelectWithIcon, TextBoxIcon => Tooltip undefined case solved
84
- - Select , MultiSelect => boxSize prop added
98
+ - Select , MultiSelect => boxSize prop added
85
99
 
86
100
  # 1.0.0-alpha-229
87
101
 
@@ -89,7 +103,7 @@ In this Package, we Provide Some Basic Components to Build Web App
89
103
 
90
104
  # 1.0.0-alpha-228
91
105
 
92
- - Button => danger, primary loader color issue solved
106
+ - Button => danger, primary loader color issue solved
93
107
 
94
108
  # 1.0.0-alpha-227
95
109
 
@@ -124,7 +138,7 @@ In this Package, we Provide Some Basic Components to Build Web App
124
138
  # 1.0.0-alpha-222
125
139
 
126
140
  - Tabs=> isResponsive condition handled properly
127
- - Select, MultiSelect => on press tab, choose selected value then move focus to next focuable element flow implemented
141
+ - Select, MultiSelect => on press tab, choose selected value then move focus to next focuable element flow implemented
128
142
 
129
143
  # 1.0.0-alpha-221
130
144
 
@@ -121,6 +121,8 @@
121
121
  --zdt_tag_pure_hover_bg: var(--zd_smoke6);
122
122
  --zdt_tag_pure_hover_border: var(--zd_dark6);
123
123
  --zdt_tag_dark_close_hover_bg: var(--dot_brightRed);
124
+ --zdt_tag_defaultLink_hover_bg: var(--zdt_cta_alpha_bg);
125
+ --zdt_tag_defaultLink_hover_text: var(--zdt_cta_primary_text);
124
126
 
125
127
  /* textbox */
126
128
  --zdt_textbox_default_text: var(--dot_platinum);
@@ -305,7 +307,7 @@
305
307
  --zdt_datetime_datestr_hover_bg: var(--dot_tuna);
306
308
  --zdt_datetime_separator_border: var(--dot_tuna);
307
309
  --zdt_datetime_daystr_text: var(--dot_oslogrey);
308
- --zdt_datetime_invalid_text: var(--dot_paleNavy);
310
+ --zdt_datetime_invalid_text: var(--dot_riverbed);
309
311
  --zdt_datetime_invalid_hover_text: var(--dot_bittersweet);
310
312
  --zdt_datetime_invaliddate_text: rgba(222, 53, 53, 0.3);
311
313
  --zdt_datetime_today_bg: var(--zdt_cta_primary_bg);
@@ -321,6 +323,7 @@
321
323
  --zdt_yearview_yearbox_border: #384157;
322
324
  --zdt_yearview_year_hover_text: var(--dot_platinum);
323
325
  --zdt_yearview_yeartext_text: var(--dot_oslogrey);
326
+ --zdt_yearview_month_text: var(--dot_platinum);
324
327
 
325
328
  /* date widget */
326
329
  --zdt_datewidget_input_border: var(--dot_inputLine);
@@ -121,6 +121,8 @@
121
121
  --zdt_tag_pure_hover_bg: var(--zd_smoke6);
122
122
  --zdt_tag_pure_hover_border: var(--zd_dark6);
123
123
  --zdt_tag_dark_close_hover_bg: var(--dot_brightRed);
124
+ --zdt_tag_defaultLink_hover_bg: var(--zdt_cta_alpha_bg);
125
+ --zdt_tag_defaultLink_hover_text: var(--zdt_cta_primary_text);
124
126
 
125
127
  /* textbox */
126
128
  --zdt_textbox_default_text: var(--dot_black);
@@ -321,6 +323,7 @@
321
323
  --zdt_yearview_yearbox_border: var(--dot_paleBlue);
322
324
  --zdt_yearview_year_hover_text: var(--dot_black);
323
325
  --zdt_yearview_yeartext_text: var(--dot_slateGrey);
326
+ --zdt_yearview_month_text: var(--dot_black);
324
327
 
325
328
  /* date widget */
326
329
  --zdt_datewidget_input_border: var(--dot_inputLine);
@@ -121,6 +121,8 @@
121
121
  --zdt_tag_pure_hover_bg: var(--zd_smoke6);
122
122
  --zdt_tag_pure_hover_border: var(--zd_dark6);
123
123
  --zdt_tag_dark_close_hover_bg: var(--dot_brightRed);
124
+ --zdt_tag_defaultLink_hover_bg: var(--zdt_cta_alpha_bg);
125
+ --zdt_tag_defaultLink_hover_text: var(--zdt_cta_primary_text);
124
126
 
125
127
  /* textbox */
126
128
  --zdt_textbox_default_text: var(--dot_platinum);
@@ -305,7 +307,7 @@
305
307
  --zdt_datetime_datestr_hover_bg: #161515;
306
308
  --zdt_datetime_separator_border: #161515;
307
309
  --zdt_datetime_daystr_text: #828994;
308
- --zdt_datetime_invalid_text: var(--dot_paleNavy);
310
+ --zdt_datetime_invalid_text: var(--dot_riverbed);
309
311
  --zdt_datetime_invalid_hover_text: var(--dot_bittersweet);
310
312
  --zdt_datetime_invaliddate_text: rgba(222, 53, 53, 0.3);
311
313
  --zdt_datetime_today_bg: var(--zdt_cta_primary_bg);
@@ -321,6 +323,7 @@
321
323
  --zdt_yearview_yearbox_border: #161515;
322
324
  --zdt_yearview_year_hover_text: var(--dot_platinum);
323
325
  --zdt_yearview_yeartext_text: #828994;
326
+ --zdt_yearview_month_text: var(--dot_platinum);
324
327
 
325
328
  /* date widget */
326
329
  --zdt_datewidget_input_border: var(--dot_inputLine);
@@ -1,4 +1,4 @@
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); }
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
2
 
3
3
  import React from 'react';
4
4
  import PropTypes from 'prop-types';
@@ -1,4 +1,4 @@
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); }
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
2
 
3
3
  import React from 'react';
4
4
  import PropTypes from 'prop-types';
@@ -1,4 +1,4 @@
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); }
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
2
 
3
3
  import React from 'react';
4
4
  import PropTypes from 'prop-types';
@@ -1,4 +1,4 @@
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); }
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
2
 
3
3
  import React from 'react';
4
4
  import PropTypes from 'prop-types';
@@ -664,7 +664,8 @@ export default class DateTime extends React.PureComponent {
664
664
  isDefaultPosition,
665
665
  positionsOffset,
666
666
  targetOffset,
667
- isRestrictScroll
667
+ isRestrictScroll,
668
+ dropBoxPortalId
668
669
  } = this.props;
669
670
  const {
670
671
  timeText = 'Time',
@@ -763,7 +764,8 @@ export default class DateTime extends React.PureComponent {
763
764
  isPadding: isPadding,
764
765
  positionsOffset: positionsOffset,
765
766
  targetOffset: targetOffset,
766
- isRestrictScroll: isRestrictScroll
767
+ isRestrictScroll: isRestrictScroll,
768
+ portalId: dropBoxPortalId
767
769
  }, /*#__PURE__*/React.createElement(Box, null, childEle));
768
770
  }) : null;
769
771
  }
@@ -25,7 +25,6 @@
25
25
  }
26
26
 
27
27
  .datesStr {
28
- color: var(--zdt_datetime_datestr_text);
29
28
  font-family: var(--zd_regular);
30
29
  }
31
30
  .grid {
@@ -39,6 +38,7 @@
39
38
  .thArrow,
40
39
  .datesStr {
41
40
  font-size: var(--zd_font_size13);
41
+ color: var(--zdt_datetime_datestr_text);
42
42
  }
43
43
  .thArrow, .datesStr {
44
44
  cursor: pointer;
@@ -982,7 +982,8 @@ class DateWidgetComponent extends React.Component {
982
982
  isAbsolutePositioningNeeded,
983
983
  positionsOffset,
984
984
  targetOffset,
985
- isRestrictScroll
985
+ isRestrictScroll,
986
+ dropBoxPortalId
986
987
  } = this.props;
987
988
  const {
988
989
  selected: value = '',
@@ -1066,7 +1067,8 @@ class DateWidgetComponent extends React.Component {
1066
1067
  isAbsolute: isAbsolutePositioningNeeded,
1067
1068
  positionsOffset: positionsOffset,
1068
1069
  targetOffset: targetOffset,
1069
- isRestrictScroll: isRestrictScroll
1070
+ isRestrictScroll: isRestrictScroll,
1071
+ dropBoxPortalId: dropBoxPortalId
1070
1072
  }));
1071
1073
  }
1072
1074
 
@@ -10,6 +10,7 @@
10
10
  font-size: var(--zd_font_size12);
11
11
  line-height: var(--zd_size26);
12
12
  height: var(--zd_size26);
13
+ color: var(--zdt_yearview_month_text);
13
14
  text-align: center;
14
15
  margin: 0 0 var(--zd_size1);
15
16
  cursor: pointer;
@@ -1,4 +1,4 @@
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); }
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
2
 
3
3
  import React, { Fragment } from 'react';
4
4
  import PropTypes from 'prop-types';
@@ -1,4 +1,4 @@
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); }
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
2
 
3
3
  /**** Libraries ****/
4
4
  import React, { useCallback } from 'react';
@@ -1,4 +1,4 @@
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); }
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
2
 
3
3
  /**** Libraries ****/
4
4
  import React from 'react';
@@ -1,4 +1,4 @@
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); }
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
2
 
3
3
  /**** Libraries ****/
4
4
  import React from 'react';
@@ -1,4 +1,4 @@
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); }
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
2
 
3
3
  import React from 'react';
4
4
  import PropTypes from 'prop-types';
@@ -1,4 +1,4 @@
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); }
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
2
 
3
3
  /**** Libraries ****/
4
4
  import React from 'react';
@@ -1,4 +1,4 @@
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); }
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
2
 
3
3
  import React from 'react';
4
4
  import PropTypes from 'prop-types';
package/es/Modal/Modal.js CHANGED
@@ -1,4 +1,4 @@
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); }
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
2
 
3
3
  /**** Libraries ****/
4
4
  import React from 'react';
@@ -1,4 +1,4 @@
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); }
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
2
 
3
3
  /**** Libraries ****/
4
4
  import React from 'react';
@@ -1,4 +1,4 @@
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); }
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
2
 
3
3
  /**** Libraries ****/
4
4
  import React from 'react';
@@ -1,4 +1,4 @@
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); }
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
2
 
3
3
  /**** Libraries ****/
4
4
  import React from 'react';
package/es/Popup/Popup.js CHANGED
@@ -1,4 +1,4 @@
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); }
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
2
 
3
3
  /**** Libraries ****/
4
4
  import React from 'react';
package/es/Provider.js CHANGED
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  import AppContainer from './AppContainer/AppContainer';
3
3
  import { Container } from './Layout';
4
+ import ThemeTool from '../../common/lib/ThemeTool/ThemeTool';
4
5
  /* default mode & theme css */
5
6
 
6
7
  import '../assets/Appearance/default/themes/blue/blueDefaultCTATheme.module.css';
@@ -51,6 +52,7 @@ export default class Provider extends React.Component {
51
52
  themeName: 'blue'
52
53
  };
53
54
  this.setTheme = this.setTheme.bind(this);
55
+ this.setAppearance = this.setAppearance.bind(this);
54
56
  }
55
57
 
56
58
  setAppearance(mode) {
@@ -70,51 +72,6 @@ export default class Provider extends React.Component {
70
72
  appearanceName,
71
73
  themeName
72
74
  } = this.state;
73
- let themeClass = {
74
- width: '20px',
75
- height: '20px',
76
- borderRadius: '3px',
77
- display: 'flex',
78
- border: '1px solid #ccc',
79
- margin: '0 5px',
80
- cursor: 'pointer',
81
- backgroundColor: '#0a73eb'
82
- };
83
- let green = {
84
- backgroundColor: '#26a942'
85
- };
86
- let red = {
87
- backgroundColor: '#de3535'
88
- };
89
- let orange = {
90
- backgroundColor: '#e57717'
91
- };
92
- let yellow = {
93
- backgroundColor: '#e8b923'
94
- };
95
- let light = {
96
- backgroundColor: '#fff'
97
- };
98
- let night = {
99
- backgroundColor: '#232b38'
100
- };
101
- let dark = {
102
- backgroundColor: '#212121'
103
- };
104
- let fixedPosition = {
105
- position: 'fixed',
106
- bottom: '0',
107
- backgroundColor: '#272727',
108
- padding: '10px',
109
- borderRadius: '15px 15px 0 0',
110
- minWidth: '100px',
111
- textAlign: 'center',
112
- boxShadow: '0 0 3px #000',
113
- fontSize: '12px',
114
- zIndex: '3',
115
- display: 'flex',
116
- alignItems: 'center'
117
- };
118
75
  return /*#__PURE__*/React.createElement(LibraryContext.Provider, {
119
76
  value: {
120
77
  isReducedMotion: false,
@@ -129,66 +86,9 @@ export default class Provider extends React.Component {
129
86
  }
130
87
  }, /*#__PURE__*/React.createElement(Container, {
131
88
  scroll: "vertical"
132
- }, this.props.children), /*#__PURE__*/React.createElement("div", {
133
- style: Object.assign({}, fixedPosition, {
134
- left: '20%',
135
- transform: 'translate(-20%)'
136
- })
137
- }, /*#__PURE__*/React.createElement("div", {
138
- style: {
139
- color: '#fff'
140
- }
141
- }, "Appearance:"), /*#__PURE__*/React.createElement("div", {
142
- style: {
143
- display: 'flex'
144
- }
145
- }, /*#__PURE__*/React.createElement("span", {
146
- title: "Light Mode",
147
- style: Object.assign({}, themeClass, light),
148
- onClick: () => this.setAppearance('default')
149
- }), /*#__PURE__*/React.createElement("span", {
150
- title: "Night Mode",
151
- style: Object.assign({}, themeClass, night),
152
- onClick: () => this.setAppearance('dark')
153
- }), /*#__PURE__*/React.createElement("span", {
154
- title: "Dark Mode",
155
- style: Object.assign({}, themeClass, dark),
156
- onClick: () => this.setAppearance('pureDark')
157
- }))), /*#__PURE__*/React.createElement("div", {
158
- style: Object.assign({}, fixedPosition, {
159
- left: '80%',
160
- transform: 'translate(-80%)'
161
- })
162
- }, /*#__PURE__*/React.createElement("div", {
163
- style: {
164
- color: '#fff'
165
- }
166
- }, "Themes:"), /*#__PURE__*/React.createElement("div", {
167
- style: {
168
- display: 'flex'
169
- }
170
- }, /*#__PURE__*/React.createElement("span", {
171
- title: "Blue Theme",
172
- style: themeClass,
173
- onClick: () => this.setTheme('blue')
174
- }), /*#__PURE__*/React.createElement("span", {
175
- title: "Green Theme",
176
- style: Object.assign({}, themeClass, green),
177
- onClick: () => this.setTheme('green')
178
- }), /*#__PURE__*/React.createElement("span", {
179
- title: "Red Theme",
180
- style: Object.assign({}, themeClass, red),
181
- onClick: () => this.setTheme('red')
182
- }), /*#__PURE__*/React.createElement("span", {
183
- title: "Orange Theme",
184
- style: Object.assign({}, themeClass, orange),
185
- onClick: () => this.setTheme('orange')
186
- }), /*#__PURE__*/React.createElement("span", {
187
- title: "Yellow Theme",
188
- style: Object.assign({}, themeClass, yellow),
189
- onClick: () => this.setTheme('yellow')
190
- }))), /*#__PURE__*/React.createElement("div", {
191
- "data-portal": "portal1"
89
+ }, this.props.children), /*#__PURE__*/React.createElement(ThemeTool, {
90
+ onThemeChange: this.setTheme,
91
+ onAppearanceChange: this.setAppearance
192
92
  })));
193
93
  }
194
94
 
@@ -1,4 +1,4 @@
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); }
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
2
 
3
3
  import React, { Component } from 'react';
4
4
  import PropTypes from 'prop-types';
@@ -1,4 +1,4 @@
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); }
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
2
 
3
3
  /**** Libraries ****/
4
4
  import React, { Component } from 'react';
@@ -1,4 +1,4 @@
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); }
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
2
 
3
3
  import React from 'react';
4
4
  import { PropTypes } from 'prop-types';
package/es/Tab/Tab.js CHANGED
@@ -1,4 +1,4 @@
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); }
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
2
 
3
3
  /* eslint-disable react/forbid-component-props */
4
4
 
@@ -1,4 +1,4 @@
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); }
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
2
 
3
3
  import React, { useState, useCallback } from 'react';
4
4
  import PropTypes from 'prop-types';
package/es/Tab/Tabs.js CHANGED
@@ -1,4 +1,4 @@
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); }
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
2
 
3
3
  /* eslint-disable react/forbid-component-props */
4
4
 
package/es/Tag/Tag.js CHANGED
@@ -170,7 +170,7 @@ Tag.propTypes = {
170
170
  initial: PropTypes.string,
171
171
  onRemove: PropTypes.func,
172
172
  onSelectTag: PropTypes.func,
173
- palette: PropTypes.oneOf(['default', 'danger', 'secondary', 'pureDotted', 'primaryDotted', 'dark', 'pureDarkDotted', 'darkPrimaryDotted']),
173
+ palette: PropTypes.oneOf(['default', 'danger', 'secondary', 'pureDotted', 'primaryDotted', 'dark', 'pureDarkDotted', 'darkPrimaryDotted', 'defaultLink']),
174
174
  rounded: PropTypes.bool,
175
175
  size: PropTypes.oneOf(['small', 'medium']),
176
176
  text: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
@@ -158,7 +158,7 @@
158
158
  --tag_closeicon_bg_color: var(--zdt_tag_closeprimary_bg);
159
159
  }
160
160
  .default,
161
- .danger {
161
+ .danger,.defaultLink {
162
162
  --tag_bg_color: var(--zdt_tag_default_danger_bg);
163
163
  }
164
164
  .effect.default:hover {
@@ -184,7 +184,6 @@
184
184
  .activedangerClose:hover {
185
185
  --tag_closeicon_bg_color: var(--zdt_tag_danger_bg);
186
186
  }
187
-
188
187
  .secondary {
189
188
  --tag_bg_color: var(--zdt_tag_secondary_bg);
190
189
  --tag_text_color: var(--zdt_tag_secondary_text);
@@ -193,6 +192,11 @@
193
192
  .effect.secondary:hover {
194
193
  --tag_bg_color: var(--zdt_tag_secondary_hover_bg);
195
194
  }
195
+ .activedefaultLink,
196
+ .effect.defaultLink:hover{
197
+ --tag_bg_color: var(--zdt_tag_defaultLink_hover_bg);
198
+ --tag_text_color: var(--zdt_tag_defaultLink_hover_text);
199
+ };
196
200
 
197
201
  .pureDotted {
198
202
  --tag_bg_color: var(--zdt_tag_pure_bg);
@@ -1,4 +1,4 @@
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); }
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
2
 
3
3
  import React from 'react';
4
4
  import PropTypes from 'prop-types';
@@ -1,4 +1,4 @@
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); }
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
2
 
3
3
  import React from 'react';
4
4
  import PropTypes from 'prop-types';
@@ -1,4 +1,4 @@
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); }
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
2
 
3
3
  import React from 'react';
4
4
  import PropTypes from 'prop-types';
@@ -36,7 +36,7 @@ export default class Tooltip extends React.Component {
36
36
  }
37
37
 
38
38
  unObserveElement() {
39
- this.observer.unobserve(this.tooltipContainerEl);
39
+ this.observer.disconnect();
40
40
  }
41
41
 
42
42
  getClientRectOfContEl(el) {
@@ -1,4 +1,4 @@
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); }
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
2
 
3
3
  import React from 'react';
4
4
  import PropTypes from 'prop-types';
@@ -21,7 +21,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
21
21
 
22
22
  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 } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
23
23
 
24
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
24
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
25
25
 
26
26
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
27
27
 
@@ -31,7 +31,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
31
31
 
32
32
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
33
33
 
34
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
34
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
35
35
 
36
36
  var Accordion = /*#__PURE__*/function (_React$Component) {
37
37
  _inherits(Accordion, _React$Component);