@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
@@ -1,34 +1,34 @@
1
1
  [data-mode='default'][data-theme='yellow'] {
2
- --zdt_cta_primary_text: #b68c07;
3
- --zdt_cta_primary_hover_text: #826800;
4
- --zdt_cta_primary_bg: #e8b923;
5
- --zdt_cta_primary_hover_bg: #b59100;
6
- --zdt_cta_primary_border: #e8b923;
7
- --zdt_cta_primary_hover_border: #b59100;
8
- --zdt_cta_primary_box_shadow: rgb(232, 185, 35, 0.2);
9
- --zdt_cta_primary_hover_box_shadow: rgb(181, 145, 0, 0.25);
10
- --zdt_cta_primary_light_bg: #fdf8e9;
11
- --zdt_cta_primary_light_hover_bg: #f8eabd;
12
- --zdt_cta_primary_light_border: #f8eabd;
13
- --zdt_cta_secondary_bg: #e8b923;
14
- --zdt_cta_secondary_text: var(--dot_text_black);
15
- --zdt_cta_secondary_border: rgba(255, 255, 255, 0.2);
16
- --zdt_cta_secondary_light_border: #f6e3a7;
17
- --zdt_cta_alpha_text: #b68c07;
18
- --zdt_cta_alpha_hover_text: #826800;
19
- --zdt_cta_alpha_border: #b68c07;
20
- --zdt_cta_alpha_hover_border: #826800;
21
- --zdt_cta_alpha_bg: #F8EABD;
22
- --zdt_cta_beta_border: #b68c07;
23
- --zdt_cta_grey_10_bg: #f8f8f6;
24
- --zdt_cta_grey_10_border: #f8f8f6;
25
- --zdt_cta_grey_15_bg: #edede3;
26
- --zdt_cta_grey_15_border: #edede3;
27
- --zdt_cta_grey_20_bg: #efefec;
28
- --zdt_cta_grey_35_bg: #e0dbcc;
29
- --zdt_cta_grey_35_text: #e0dbcc;
30
- --zdt_cta_grey_35_border: #e0dbcc;
31
- --zdt_cta_grey_40_bg: #ccc2a4;
32
- --zdt_cta_grey_40_text: #ccc2a4;
33
- --zdt_cta_grey_40_border: #ccc2a4;
2
+ --zdt_cta_primary_text: #b68c07;
3
+ --zdt_cta_primary_hover_text: #826800;
4
+ --zdt_cta_primary_bg: #e8b923;
5
+ --zdt_cta_primary_hover_bg: #b59100;
6
+ --zdt_cta_primary_border: #e8b923;
7
+ --zdt_cta_primary_hover_border: #b59100;
8
+ --zdt_cta_primary_box_shadow: rgba(232, 185, 35, 0.2);
9
+ --zdt_cta_primary_hover_box_shadow: rgba(181, 145, 0, 0.25);
10
+ --zdt_cta_primary_light_bg: #fdf8e9;
11
+ --zdt_cta_primary_light_hover_bg: #f8eabd;
12
+ --zdt_cta_primary_light_border: #f8eabd;
13
+ --zdt_cta_secondary_bg: #e8b923;
14
+ --zdt_cta_secondary_text: var(--dot_text_black);
15
+ --zdt_cta_secondary_border: rgba(255, 255, 255, 0.2);
16
+ --zdt_cta_secondary_light_border: #f6e3a7;
17
+ --zdt_cta_alpha_text: #b68c07;
18
+ --zdt_cta_alpha_hover_text: #826800;
19
+ --zdt_cta_alpha_border: #b68c07;
20
+ --zdt_cta_alpha_hover_border: #826800;
21
+ --zdt_cta_alpha_bg: #f8eabd;
22
+ --zdt_cta_beta_border: #b68c07;
23
+ --zdt_cta_grey_10_bg: #f8f8f6;
24
+ --zdt_cta_grey_10_border: #f8f8f6;
25
+ --zdt_cta_grey_15_bg: #edede3;
26
+ --zdt_cta_grey_15_border: #edede3;
27
+ --zdt_cta_grey_20_bg: #efefec;
28
+ --zdt_cta_grey_35_bg: #e0dbcc;
29
+ --zdt_cta_grey_35_text: #e0dbcc;
30
+ --zdt_cta_grey_35_border: #e0dbcc;
31
+ --zdt_cta_grey_40_bg: #ccc2a4;
32
+ --zdt_cta_grey_40_text: #ccc2a4;
33
+ --zdt_cta_grey_40_border: #ccc2a4
34
34
  }
@@ -1,48 +1,42 @@
1
1
  [data-mode='default'][data-theme='yellow'] {
2
- /* stencil */
3
- --zdt_stencil_dark_bg: rgba(255, 255, 255, 0.07);
4
- --zdt_stencil_dark_gradient_bg: linear-gradient(
5
- left,
6
- rgba(255, 255, 255, 0.07) 0,
7
- rgba(255, 255, 255, 0.03) 33.33%,
8
- rgba(255, 255, 255, 0.03) 66.66%,
9
- rgba(255, 255, 255, 0.07) 100%
10
- );
11
-
12
- /* dropbox */
13
- --zdt_dropbox_dark_bg: #313323;
14
-
15
- /* listitem */
16
- --zdt_listitem_dark_bg: #313323;
17
- --zdt_listitem_dark_text: #d0d0d4;
18
- --zdt_listitem_dark_effect_bg: rgba(255, 255, 255, 0.12);
19
- --zdt_listitem_dark_active_bg: #494c34;
20
- --zdt_listitem_dark_tickicon: #e8b923;
21
-
22
- /* tag */
23
- --zdt_tag_dark_text: #d0d0d4;
24
- --zdt_tag_dark_bg: rgba(255, 255, 255, 0.07);
25
- --zdt_tag_dark_hover_text: #d0d0d4;
26
- --zdt_tag_dark_hover_bg: #503348;
27
- --zdt_tag_dark_close_bg: #864654;
28
- --zdt_tag_dark_close_text: #de3535;
29
-
30
- /* multiselect */
31
- --zdt_multiselect_dark_border: rgba(255, 255, 255, 0.2);
32
- --zdt_multiselect_darkmsg_bg: rgba(255, 255, 255, 0.02);
33
- --zdt_multiselect_darkmsg_text: #d0d0d4;
34
- --zdt_multiselect_darkdelete_hover_text: var(--dot_text_white);
35
-
36
- /* avatar */
37
- --zdt_avatar_white_border: rgba(255, 255, 255, 0.2);
38
- --zdt_avatar_white_text: var(--dot_text_white);
39
-
40
- /* label */
41
- --zdt_label_dark_text: #d0d0d4;
42
-
43
- /* textbox */
44
- --zdt_textbox_light_text: var(--dot_text_white);
45
-
46
- /* dropdown */
47
- --zdt_dropdown_darkheading_text: var(--dot_text_white);
2
+ /* stencil */
3
+ --zdt_stencil_dark_bg: rgba(255, 255, 255, 0.07);
4
+ --zdt_stencil_dark_gradient_bg: linear-gradient(left, rgba(255, 255, 255, 0.07) 0, rgba(255, 255, 255, 0.03) 33.33%, rgba(255, 255, 255, 0.03) 66.66%, rgba(255, 255, 255, 0.07) 100%);
5
+
6
+ /* dropbox */
7
+ --zdt_dropbox_dark_bg: #313323;
8
+
9
+ /* listitem */
10
+ --zdt_listitem_dark_bg: #313323;
11
+ --zdt_listitem_dark_text: #d0d0d4;
12
+ --zdt_listitem_dark_effect_bg: rgba(255, 255, 255, 0.12);
13
+ --zdt_listitem_dark_active_bg: #494c34;
14
+ --zdt_listitem_dark_tickicon: #e8b923;
15
+
16
+ /* tag */
17
+ --zdt_tag_dark_text: #d0d0d4;
18
+ --zdt_tag_dark_bg: rgba(255, 255, 255, 0.07);
19
+ --zdt_tag_dark_hover_text: #d0d0d4;
20
+ --zdt_tag_dark_hover_bg: #503348;
21
+ --zdt_tag_dark_close_bg: #864654;
22
+ --zdt_tag_dark_close_text: #de3535;
23
+
24
+ /* multiselect */
25
+ --zdt_multiselect_dark_border: rgba(255, 255, 255, 0.2);
26
+ --zdt_multiselect_darkmsg_bg: rgba(255, 255, 255, 0.02);
27
+ --zdt_multiselect_darkmsg_text: #d0d0d4;
28
+ --zdt_multiselect_darkdelete_hover_text: var(--dot_text_white);
29
+
30
+ /* avatar */
31
+ --zdt_avatar_white_border: rgba(255, 255, 255, 0.2);
32
+ --zdt_avatar_white_text: var(--dot_text_white);
33
+
34
+ /* label */
35
+ --zdt_label_dark_text: #d0d0d4;
36
+
37
+ /* textbox */
38
+ --zdt_textbox_light_text: var(--dot_text_white);
39
+
40
+ /* dropdown */
41
+ --zdt_dropdown_darkheading_text: var(--dot_text_white);
48
42
  }
@@ -292,7 +292,7 @@ export class MultiSelectComponent extends React.Component {
292
292
  } = this.props;
293
293
  const highLightedSelectOptionsLen = highLightedSelectOptions.length;
294
294
 
295
- if (isPopupOpen && (keyCode === 38 || keyCode === 40 || keyCode === 13 || keyCode === 27)) {
295
+ if (isPopupOpen && (keyCode === 38 || keyCode === 40 || keyCode === 13 || keyCode === 27 || keyCode === 9)) {
296
296
  suggestions = this.handleFilterSuggestions();
297
297
  }
298
298
 
@@ -420,6 +420,13 @@ export class MultiSelectComponent extends React.Component {
420
420
  });
421
421
  }
422
422
  } else if (keyCode === 27) {// this.handlePopupClose(e);
423
+ } else if (keyCode === 9) {
424
+ const selectedOption = suggestions[hoverOption] || {};
425
+ const {
426
+ id
427
+ } = selectedOption;
428
+ isPopupOpen && !getIsEmptyValue(id) && this.handleSelectOption(id, e);
429
+ this.handlePopupClose(e);
423
430
  }
424
431
  }
425
432
 
@@ -5,7 +5,8 @@ let id = {
5
5
  idPrefix: 'ZD',
6
6
  scrollFetchLimit: 80,
7
7
  isReducedMotion: false,
8
- direction: 'ltr'
8
+ direction: 'ltr',
9
+ tooltipDebounce: 175
9
10
  };
10
11
  export function getLibraryConfig(key) {
11
12
  return id[key];
@@ -42,7 +42,7 @@ export default class ResizeComponent extends React.Component {
42
42
  let newAdded = false;
43
43
  mutation.addedNodes.forEach(mut => {
44
44
  // Here we can listen for icon nodes. Confirm with bk
45
- if (mut.attributes['data-responsive'] && (childrenList.length !== this.querySelector().length || this.childrenCurrentList.length !== this.querySelector().length)) {
45
+ if (mut.attributes && mut.attributes['data-responsive'] && (childrenList.length !== this.querySelector().length || this.childrenCurrentList.length !== this.querySelector().length)) {
46
46
  newAdded = true;
47
47
  }
48
48
  });
@@ -346,6 +346,20 @@ export class SelectComponent extends Component {
346
346
  this.valueInput && this.valueInput.focus({
347
347
  preventScroll: true
348
348
  }); //this.handlePopupClose(e);
349
+ } else if (keyCode === 9) {
350
+ let option = options[hoverIndex];
351
+ let {
352
+ id
353
+ } = option || {};
354
+
355
+ if (isPopupOpen && !getIsEmptyValue(id)) {
356
+ onChange && onChange(id, optionsNormalize[id]);
357
+ needCloseOnSelect && this.handlePopupClose(e);
358
+ }
359
+
360
+ if (!isPopupOpen && isPopupOpenOnEnter) {
361
+ this.togglePopup(e);
362
+ }
349
363
  }
350
364
  }
351
365
 
package/es/Tab/Tabs.js CHANGED
@@ -266,13 +266,14 @@ class Tabs extends React.Component {
266
266
  let {
267
267
  children,
268
268
  maxTabsCount,
269
- minTabsCount
269
+ minTabsCount,
270
+ isResponsive
270
271
  } = this.props;
271
272
  let mainTabs = [],
272
273
  moreTabs = [],
273
274
  otherTabs = [];
274
275
 
275
- if (totalDimension) {
276
+ if (totalDimension && isResponsive) {
276
277
  let {
277
278
  childType,
278
279
  selectedTab
@@ -318,6 +319,17 @@ class Tabs extends React.Component {
318
319
  mainTabs = newTabs; */
319
320
  this.setMaxDim(totalDimension);
320
321
  }
322
+ } else if (!isResponsive) {
323
+ let {
324
+ childType
325
+ } = this.props;
326
+ React.Children.forEach(children, child => {
327
+ if (child && child.type === childType && child.props.id) {
328
+ mainTabs.push(child);
329
+ } else {
330
+ otherTabs.push(child);
331
+ }
332
+ });
321
333
  } else {
322
334
  moreTabs = children;
323
335
  }
@@ -21,6 +21,18 @@
21
21
  -webkit-animation-iteration-count: infinite;
22
22
  -ms-animation-iteration-count: infinite;
23
23
  }
24
+ [dir=ltr] .both {
25
+ animation-fill-mode: both;
26
+ -webkit-animation-fill-mode: both;
27
+ -ms-animation-fill-mode: both;
28
+ -moz-animation-fill-mode: both;
29
+ }
30
+ [dir=rtl] .both {
31
+ animation-fill-mode: both;
32
+ -webkit-animation-fill-mode: both;
33
+ -ms-animation-fill-mode: both;
34
+ -moz-animation-fill-mode: both;
35
+ }
24
36
  .fadeIn {
25
37
  opacity: 0;
26
38
  }
@@ -1,7 +1,7 @@
1
1
  /** ** Libraries *** */
2
2
  import { useContext, useRef } from 'react';
3
3
  import PropTypes from 'prop-types';
4
- import { shallowEqual } from 'react-redux'; // Please use this component with children as inline function for force this components rerender when parent rerender regardless of reason
4
+ import shallowEqual from './shallowEqual'; // Please use this component with children as inline function for force this components rerender when parent rerender regardless of reason
5
5
  // Because below componends only rerender when children or calculation are changed, unless no changes will update below
6
6
  // this component logic based on return same children reference to stop rerender.
7
7
  // Think before change logic
@@ -0,0 +1,32 @@
1
+ function is(x, y) {
2
+ if (x === y) {
3
+ return x !== 0 || y !== 0 || 1 / x === 1 / y;
4
+ } else {
5
+ return x !== x && y !== y;
6
+ }
7
+ }
8
+
9
+ export default function shallowEqual(objA, objB) {
10
+ if (is(objA, objB)) {
11
+ return true;
12
+ }
13
+
14
+ if (typeof objA !== 'object' || objA === null || typeof objB !== 'object' || objB === null) {
15
+ return false;
16
+ }
17
+
18
+ const keysA = Object.keys(objA);
19
+ const keysB = Object.keys(objB);
20
+
21
+ if (keysA.length !== keysB.length) {
22
+ return false;
23
+ }
24
+
25
+ for (let i = 0; i < keysA.length; i++) {
26
+ if (!Object.prototype.hasOwnProperty.call(objB, keysA[i]) || !is(objA[keysA[i]], objB[keysA[i]])) {
27
+ return false;
28
+ }
29
+ }
30
+
31
+ return true;
32
+ }
@@ -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
@@ -17,9 +17,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
17
17
 
18
18
  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); } }
19
19
 
20
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
20
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
21
21
 
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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
22
+ 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); }
23
23
 
24
24
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
25
25
 
@@ -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
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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