@zohodesk/components 1.0.0-alpha-221 → 1.0.0-alpha-225

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 (287) hide show
  1. package/README.md +16 -0
  2. package/assets/Appearance/dark/mode/darkMode.module.css +356 -0
  3. package/assets/Appearance/dark/themes/blue/blueDarkCTATheme.module.css +34 -0
  4. package/assets/Appearance/dark/themes/blue/blueDarkComponentTheme.module.css +42 -0
  5. package/assets/Appearance/dark/themes/green/greenDarkCTATheme.module.css +34 -0
  6. package/assets/Appearance/dark/themes/green/greenDarkComponentTheme.module.css +42 -0
  7. package/assets/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css +34 -0
  8. package/assets/Appearance/dark/themes/orange/orangeDarkComponentTheme.module.css +42 -0
  9. package/assets/Appearance/dark/themes/red/redDarkCTATheme.module.css +34 -0
  10. package/assets/Appearance/dark/themes/red/redDarkComponentTheme.module.css +42 -0
  11. package/assets/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css +34 -0
  12. package/assets/Appearance/dark/themes/yellow/yellowDarkComponentTheme.module.css +42 -0
  13. package/assets/Appearance/default/mode/defaultMode.module.css +356 -0
  14. package/assets/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +34 -0
  15. package/assets/Appearance/default/themes/blue/blueDefaultComponentTheme.module.css +42 -0
  16. package/assets/Appearance/default/themes/green/greenDefaultCTATheme.module.css +34 -0
  17. package/assets/Appearance/default/themes/green/greenDefaultComponentTheme.module.css +42 -0
  18. package/assets/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +34 -0
  19. package/assets/Appearance/default/themes/orange/orangeDefaultComponentTheme.module.css +42 -0
  20. package/assets/Appearance/default/themes/red/redDefaultCTATheme.module.css +34 -0
  21. package/assets/Appearance/default/themes/red/redDefaultComponentTheme.module.css +42 -0
  22. package/assets/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +34 -0
  23. package/assets/Appearance/default/themes/yellow/yellowDefaultComponentTheme.module.css +42 -0
  24. package/es/Animation/docs/Animation__default.docs.js +2 -2
  25. package/es/Animation/docs/Animation__fadeIn.docs.js +2 -2
  26. package/es/Animation/docs/Animation__scaleIn.docs.js +2 -2
  27. package/es/Animation/docs/Animation__skewIn.docs.js +2 -2
  28. package/es/Animation/docs/Animation__slideDown.docs.js +2 -2
  29. package/es/Animation/docs/Animation__slideLeft.docs.js +2 -2
  30. package/es/Animation/docs/Animation__zoomIn.docs.js +2 -2
  31. package/es/AppContainer/AppContainer.js +6 -6
  32. package/es/AvatarTeam/docs/AvatarTeam__palette.docs.js +1 -1
  33. package/es/Card/Card.module.css +3 -3
  34. package/es/Card/docs/Card__Default.docs.js +4 -4
  35. package/es/Card/docs/Card__Scroll.docs.js +4 -4
  36. package/es/Layout/docs/Layout__Hidden.docs.js +1 -1
  37. package/es/Layout/docs/Layout__four_Column.docs.js +1 -1
  38. package/es/Layout/docs/Layout__three_Column.docs.js +1 -1
  39. package/es/MultiSelect/MultiSelect.js +8 -1
  40. package/es/PopOver/PopOver.module.css +1 -1
  41. package/es/Provider.js +22 -22
  42. package/es/RippleEffect/docs/RippleEffect__default.docs.js +8 -8
  43. package/es/Select/Select.js +14 -0
  44. package/es/Stencils/Stencils.module.css +4 -14
  45. package/es/Tab/Tabs.js +14 -2
  46. package/es/VelocityAnimation/VelocityAnimation/docs/VelocityAnimation__demo.docs.js +2 -2
  47. package/es/VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs.js +2 -2
  48. package/es/common/docStyle.module.css +9 -9
  49. package/lib/Accordion/Accordion.js +3 -3
  50. package/lib/Accordion/AccordionItem.js +3 -3
  51. package/lib/Accordion/docs/Accordion__Demo.docs.js +3 -3
  52. package/lib/Animation/Animation.js +3 -3
  53. package/lib/Animation/docs/Animation__default.docs.js +5 -5
  54. package/lib/Animation/docs/Animation__fadeIn.docs.js +5 -5
  55. package/lib/Animation/docs/Animation__scaleIn.docs.js +5 -5
  56. package/lib/Animation/docs/Animation__skewIn.docs.js +5 -5
  57. package/lib/Animation/docs/Animation__slideDown.docs.js +5 -5
  58. package/lib/Animation/docs/Animation__slideLeft.docs.js +5 -5
  59. package/lib/Animation/docs/Animation__zoomIn.docs.js +5 -5
  60. package/lib/AppContainer/AppContainer.js +9 -9
  61. package/lib/AppContainer/docs/AppContainer__default.docs.js +3 -3
  62. package/lib/Avatar/Avatar.js +3 -3
  63. package/lib/Avatar/docs/Avatar__custom.docs.js +3 -3
  64. package/lib/Avatar/docs/Avatar__default.docs.js +3 -3
  65. package/lib/Avatar/docs/Avatar__palette.docs.js +3 -3
  66. package/lib/Avatar/docs/Avatar__text.docs.js +3 -3
  67. package/lib/AvatarTeam/AvatarTeam.js +3 -3
  68. package/lib/AvatarTeam/docs/AvatarTeam__custom.docs.js +3 -3
  69. package/lib/AvatarTeam/docs/AvatarTeam__default.docs.js +3 -3
  70. package/lib/AvatarTeam/docs/AvatarTeam__palette.docs.js +4 -4
  71. package/lib/AvatarTeam/docs/AvatarTeam__size.docs.js +3 -3
  72. package/lib/Button/Button.js +3 -3
  73. package/lib/Button/docs/Button__custom.docs.js +3 -3
  74. package/lib/Button/docs/Button__default.docs.js +3 -3
  75. package/lib/Buttongroup/Buttongroup.js +3 -3
  76. package/lib/Buttongroup/docs/Buttongroup__custom.docs.js +3 -3
  77. package/lib/Buttongroup/docs/Buttongroup__footer.docs.js +3 -3
  78. package/lib/Buttongroup/docs/Buttongroup__header.docs.js +3 -3
  79. package/lib/Card/Card.js +3 -3
  80. package/lib/Card/Card.module.css +3 -3
  81. package/lib/Card/__tests__/Card.spec.js +1 -1
  82. package/lib/Card/docs/Card__Custom.docs.js +3 -3
  83. package/lib/Card/docs/Card__Default.docs.js +7 -7
  84. package/lib/Card/docs/Card__Scroll.docs.js +7 -7
  85. package/lib/Card/index.js +1 -1
  86. package/lib/CheckBox/CheckBox.js +3 -3
  87. package/lib/CheckBox/docs/CheckBox__custom.docs.js +3 -3
  88. package/lib/CheckBox/docs/CheckBox__default.docs.js +3 -3
  89. package/lib/DateTime/CalendarView.js +3 -3
  90. package/lib/DateTime/DateTime.js +3 -3
  91. package/lib/DateTime/DateTimePopupFooter.js +3 -3
  92. package/lib/DateTime/DateTimePopupHeader.js +3 -3
  93. package/lib/DateTime/DateWidget.js +3 -3
  94. package/lib/DateTime/DaysRow.js +3 -3
  95. package/lib/DateTime/Time.js +3 -3
  96. package/lib/DateTime/YearView.js +3 -3
  97. package/lib/DateTime/__tests__/CalendarView.spec.js +1 -1
  98. package/lib/DateTime/__tests__/DateTime.spec.js +1 -1
  99. package/lib/DateTime/docs/DateTime__default.docs.js +3 -3
  100. package/lib/DateTime/docs/DateWidget__default.docs.js +3 -3
  101. package/lib/DateTime/objectUtils.js +1 -1
  102. package/lib/DropBox/DropBox.js +3 -3
  103. package/lib/DropBox/docs/DropBox__custom.docs.js +3 -3
  104. package/lib/DropBox/docs/DropBox__customOrder.docs.js +3 -3
  105. package/lib/DropBox/docs/DropBox__fixedPosition.docs.js +3 -3
  106. package/lib/DropBox/docs/DropBox__position.docs.js +3 -3
  107. package/lib/DropBox/docs/DropBox__size.docs.js +3 -3
  108. package/lib/DropDown/DropDown.js +3 -3
  109. package/lib/DropDown/DropDownHeading.js +3 -3
  110. package/lib/DropDown/DropDownItem.js +3 -3
  111. package/lib/DropDown/DropDownSearch.js +3 -3
  112. package/lib/DropDown/DropDownSeparator.js +3 -3
  113. package/lib/DropDown/docs/DropDownHeading__custom.docs.js +3 -3
  114. package/lib/DropDown/docs/DropDownHeading__default.docs.js +3 -3
  115. package/lib/Label/Label.js +3 -3
  116. package/lib/Label/docs/Label__clipped.docs.js +3 -3
  117. package/lib/Label/docs/Label__custom.docs.js +3 -3
  118. package/lib/Label/docs/Label__palette.docs.js +3 -3
  119. package/lib/Label/docs/Label__size.docs.js +3 -3
  120. package/lib/Label/docs/Label__type.docs.js +3 -3
  121. package/lib/Layout/docs/Layout__Hidden.docs.js +4 -4
  122. package/lib/Layout/docs/Layout__default.docs.js +3 -3
  123. package/lib/Layout/docs/Layout__four_Column.docs.js +4 -4
  124. package/lib/Layout/docs/Layout__three_Column.docs.js +4 -4
  125. package/lib/Layout/docs/Layout__two_Column.docs.js +3 -3
  126. package/lib/LightNightMode/docs/AlternativeColors.docs.js +3 -3
  127. package/lib/ListItem/ListItem.js +3 -3
  128. package/lib/ListItem/ListItemWithAvatar.js +3 -3
  129. package/lib/ListItem/ListItemWithCheckBox.js +3 -3
  130. package/lib/ListItem/ListItemWithIcon.js +3 -3
  131. package/lib/ListItem/ListItemWithRadio.js +3 -3
  132. package/lib/ListItem/docs/ListItemWithAvatar__custom.docs.js +3 -3
  133. package/lib/ListItem/docs/ListItemWithAvatar__default.docs.js +3 -3
  134. package/lib/ListItem/docs/ListItemWithCheckBox__custom.docs.js +3 -3
  135. package/lib/ListItem/docs/ListItemWithCheckBox__default.docs.js +3 -3
  136. package/lib/ListItem/docs/ListItemWithIcon__custom.docs.js +3 -3
  137. package/lib/ListItem/docs/ListItemWithIcon__default.docs.js +3 -3
  138. package/lib/ListItem/docs/ListItemWithRadio__custom.docs.js +3 -3
  139. package/lib/ListItem/docs/ListItemWithRadio__default.docs.js +3 -3
  140. package/lib/ListItem/docs/ListItem__custom.docs.js +3 -3
  141. package/lib/ListItem/docs/ListItem__default.docs.js +3 -3
  142. package/lib/Modal/Modal.js +3 -3
  143. package/lib/Modal/__docs__/Modal__default.docs.js +3 -3
  144. package/lib/MultiSelect/AdvancedGroupMultiSelect.js +3 -3
  145. package/lib/MultiSelect/AdvancedMultiSelect.js +3 -3
  146. package/lib/MultiSelect/EmptyState.js +3 -3
  147. package/lib/MultiSelect/MultiSelect.js +10 -4
  148. package/lib/MultiSelect/MultiSelectHeader.js +3 -3
  149. package/lib/MultiSelect/MultiSelectWithAvatar.js +3 -3
  150. package/lib/MultiSelect/SelectedOptions.js +3 -3
  151. package/lib/MultiSelect/Suggestions.js +5 -5
  152. package/lib/MultiSelect/docs/AdvancedGroupMultiSelect__default.docs.js +3 -3
  153. package/lib/MultiSelect/docs/AdvancedMultiSelect__default.docs.js +3 -3
  154. package/lib/MultiSelect/docs/MultiSelectWithAvatar__default.docs.js +3 -3
  155. package/lib/MultiSelect/docs/MultiSelect__default.docs.js +3 -3
  156. package/lib/PopOver/PopOver.js +3 -3
  157. package/lib/PopOver/PopOver.module.css +1 -1
  158. package/lib/PopOver/docs/PopOver__default.docs.js +3 -3
  159. package/lib/Popup/Popup.js +3 -3
  160. package/lib/Popup/__tests__/Popup.spec.js +3 -3
  161. package/lib/Provider/LibraryContext.js +3 -3
  162. package/lib/Provider/NumberGenerator/NumberGenerator.js +1 -1
  163. package/lib/Provider/docs/Provider_Id__Class.docs.js +3 -3
  164. package/lib/Provider/docs/Provider_Zindex__Class.docs.js +3 -3
  165. package/lib/Provider.js +25 -25
  166. package/lib/Radio/Radio.js +3 -3
  167. package/lib/Radio/docs/Radio__custom.docs.js +3 -3
  168. package/lib/Radio/docs/Radio__default.docs.js +3 -3
  169. package/lib/Responsive/CustomResponsive.js +3 -3
  170. package/lib/Responsive/RefWrapper.js +1 -1
  171. package/lib/Responsive/ResizeComponent.js +3 -3
  172. package/lib/Responsive/ResizeObserver.js +1 -1
  173. package/lib/Responsive/Responsive.js +3 -3
  174. package/lib/Responsive/docs/Responsive__Custom.docs.js +3 -3
  175. package/lib/Responsive/docs/Responsive__default.docs.js +3 -3
  176. package/lib/Responsive/sizeObservers.js +3 -3
  177. package/lib/Responsive/utils/shallowCompare.js +1 -1
  178. package/lib/Ribbon/Ribbon.js +3 -3
  179. package/lib/Ribbon/docs/Ribbon__custom.docs.js +3 -3
  180. package/lib/Ribbon/docs/Ribbon__default.docs.js +3 -3
  181. package/lib/RippleEffect/docs/RippleEffect__default.docs.js +11 -11
  182. package/lib/Select/GroupSelect.js +3 -3
  183. package/lib/Select/Select.js +19 -5
  184. package/lib/Select/SelectWithAvatar.js +3 -3
  185. package/lib/Select/SelectWithIcon.js +3 -3
  186. package/lib/Select/docs/GroupSelect__default.docs.js +3 -3
  187. package/lib/Select/docs/SelectWithAvatar__default.docs.js +3 -3
  188. package/lib/Select/docs/SelectWithIcon__default.docs.js +3 -3
  189. package/lib/Select/docs/Select__default.docs.js +3 -3
  190. package/lib/Stencils/Stencils.js +3 -3
  191. package/lib/Stencils/Stencils.module.css +4 -14
  192. package/lib/Stencils/docs/Stencils__custom.docs.js +3 -3
  193. package/lib/Stencils/docs/Stencils__default.docs.js +3 -3
  194. package/lib/Switch/Switch.js +3 -3
  195. package/lib/Switch/docs/Switch__custom.docs.js +3 -3
  196. package/lib/Switch/docs/Switch__default.docs.js +3 -3
  197. package/lib/Tab/Tab.js +1 -1
  198. package/lib/Tab/TabWrapper.js +1 -1
  199. package/lib/Tab/Tabs.js +16 -5
  200. package/lib/Tab/docs/Tab__default.docs.js +3 -3
  201. package/lib/Tag/Tag.js +3 -3
  202. package/lib/Tag/docs/Tag__custom.docs.js +3 -3
  203. package/lib/Tag/docs/Tag__default.docs.js +3 -3
  204. package/lib/TextBox/TextBox.js +3 -3
  205. package/lib/TextBox/docs/TextBox__custom.docs.js +3 -3
  206. package/lib/TextBox/docs/TextBox__default.docs.js +3 -3
  207. package/lib/TextBox/docs/TextBox__size.docs.js +3 -3
  208. package/lib/TextBox/docs/TextBox__variant.docs.js +3 -3
  209. package/lib/TextBoxIcon/TextBoxIcon.js +3 -3
  210. package/lib/TextBoxIcon/docs/TextBoxIcon__custom.docs.js +3 -3
  211. package/lib/TextBoxIcon/docs/TextBoxIcon__default.docs.js +3 -3
  212. package/lib/Textarea/Textarea.js +3 -3
  213. package/lib/Textarea/docs/Textarea__animated.docs.js +3 -3
  214. package/lib/Textarea/docs/Textarea__custom.docs.js +3 -3
  215. package/lib/Textarea/docs/Textarea__default.docs.js +3 -3
  216. package/lib/Textarea/docs/Textarea__disabled.docs.js +3 -3
  217. package/lib/Tooltip/Tooltip.js +3 -3
  218. package/lib/Tooltip/__tests__/Tooltip.spec.js +3 -3
  219. package/lib/Tooltip/docs/Tooltip__default.docs.js +3 -3
  220. package/lib/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +3 -3
  221. package/lib/VelocityAnimation/VelocityAnimation/docs/VelocityAnimation__demo.docs.js +5 -5
  222. package/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +3 -3
  223. package/lib/VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs.js +5 -5
  224. package/lib/a11y/FocusScope/FocusScope.js +1 -1
  225. package/lib/a11y/FocusScope/docs/FocusScope__default.docs.js +3 -3
  226. package/lib/beta/FocusRing/FocusRing.js +3 -3
  227. package/lib/beta/FocusRing/docs/FocusRing__default.docs.js +3 -3
  228. package/lib/common/docStyle.module.css +9 -9
  229. package/lib/deprecated/PortalLayer/PortalLayer.js +3 -3
  230. package/lib/deprecated/PortalLayer/docs/PortalLayer__default.docs.js +3 -3
  231. package/lib/semantic/Button/Button.js +3 -3
  232. package/lib/semantic/Button/docs/Button__default.docs.js +3 -3
  233. package/lib/utils/datetime/common.js +1 -1
  234. package/lib/utils/dropDownUtils.js +1 -1
  235. package/lib/utils/shallowEqual.js +1 -1
  236. package/package.json +13 -9
  237. package/preprocess/componentAppearanceColors.js +67 -0
  238. package/preprocess/componentThemeColors.js +123 -0
  239. package/preprocess/ctaThemeColors.js +101 -0
  240. package/preprocess/index.js +3 -0
  241. package/preprocess/json/componentAppearanceVariableJson.js +1346 -0
  242. package/preprocess/json/componentThemeVariableJson.js +242 -0
  243. package/preprocess/json/ctaThemeVariableJson.js +203 -0
  244. package/es/Appearance/dark/mode/darkMode.module.css +0 -393
  245. package/es/Appearance/dark/themes/blue/blueDarkCTATheme.module.css +0 -34
  246. package/es/Appearance/dark/themes/blue/blueDarkComponentTheme.module.css +0 -48
  247. package/es/Appearance/dark/themes/green/greenDarkCTATheme.module.css +0 -34
  248. package/es/Appearance/dark/themes/green/greenDarkComponentTheme.module.css +0 -48
  249. package/es/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css +0 -34
  250. package/es/Appearance/dark/themes/orange/orangeDarkComponentTheme.module.css +0 -48
  251. package/es/Appearance/dark/themes/red/redDarkCTATheme.module.css +0 -34
  252. package/es/Appearance/dark/themes/red/redDarkComponentTheme.module.css +0 -48
  253. package/es/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css +0 -34
  254. package/es/Appearance/dark/themes/yellow/yellowDarkComponentTheme.module.css +0 -48
  255. package/es/Appearance/default/mode/defaultMode.module.css +0 -395
  256. package/es/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +0 -34
  257. package/es/Appearance/default/themes/blue/blueDefaultComponentTheme.module.css +0 -48
  258. package/es/Appearance/default/themes/green/greenDefaultCTATheme.module.css +0 -34
  259. package/es/Appearance/default/themes/green/greenDefaultComponentTheme.module.css +0 -48
  260. package/es/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +0 -34
  261. package/es/Appearance/default/themes/orange/orangeDefaultComponentTheme.module.css +0 -48
  262. package/es/Appearance/default/themes/red/redDefaultCTATheme.module.css +0 -34
  263. package/es/Appearance/default/themes/red/redDefaultComponentTheme.module.css +0 -48
  264. package/es/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +0 -34
  265. package/es/Appearance/default/themes/yellow/yellowDefaultComponentTheme.module.css +0 -48
  266. package/lib/Appearance/dark/mode/darkMode.module.css +0 -393
  267. package/lib/Appearance/dark/themes/blue/blueDarkCTATheme.module.css +0 -34
  268. package/lib/Appearance/dark/themes/blue/blueDarkComponentTheme.module.css +0 -48
  269. package/lib/Appearance/dark/themes/green/greenDarkCTATheme.module.css +0 -34
  270. package/lib/Appearance/dark/themes/green/greenDarkComponentTheme.module.css +0 -48
  271. package/lib/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css +0 -34
  272. package/lib/Appearance/dark/themes/orange/orangeDarkComponentTheme.module.css +0 -48
  273. package/lib/Appearance/dark/themes/red/redDarkCTATheme.module.css +0 -34
  274. package/lib/Appearance/dark/themes/red/redDarkComponentTheme.module.css +0 -48
  275. package/lib/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css +0 -34
  276. package/lib/Appearance/dark/themes/yellow/yellowDarkComponentTheme.module.css +0 -48
  277. package/lib/Appearance/default/mode/defaultMode.module.css +0 -395
  278. package/lib/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +0 -34
  279. package/lib/Appearance/default/themes/blue/blueDefaultComponentTheme.module.css +0 -48
  280. package/lib/Appearance/default/themes/green/greenDefaultCTATheme.module.css +0 -34
  281. package/lib/Appearance/default/themes/green/greenDefaultComponentTheme.module.css +0 -48
  282. package/lib/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +0 -34
  283. package/lib/Appearance/default/themes/orange/orangeDefaultComponentTheme.module.css +0 -48
  284. package/lib/Appearance/default/themes/red/redDefaultCTATheme.module.css +0 -34
  285. package/lib/Appearance/default/themes/red/redDefaultComponentTheme.module.css +0 -48
  286. package/lib/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +0 -34
  287. package/lib/Appearance/default/themes/yellow/yellowDefaultComponentTheme.module.css +0 -48
@@ -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
 
@@ -131,7 +131,7 @@ var RippleEffect__default = /*#__PURE__*/function (_React$Component) {
131
131
  fontSize: '13px',
132
132
  padding: '4px 9px 7px',
133
133
  cursor: 'pointer',
134
- color: 'var(--dot_text_strongGreen)'
134
+ color: 'var(--dot_strongGreen)'
135
135
  }
136
136
  }, "Green"))), /*#__PURE__*/_react["default"].createElement("div", {
137
137
  style: {
@@ -145,7 +145,7 @@ var RippleEffect__default = /*#__PURE__*/function (_React$Component) {
145
145
  fontSize: '13px',
146
146
  padding: '4px 9px 7px',
147
147
  cursor: 'pointer',
148
- color: 'var(--dot_text_brightRed)'
148
+ color: 'var(--dot_brightRed)'
149
149
  }
150
150
  }, "Danger")))), /*#__PURE__*/_react["default"].createElement("div", {
151
151
  style: boxStyle
@@ -207,7 +207,7 @@ var RippleEffect__default = /*#__PURE__*/function (_React$Component) {
207
207
  fontSize: '13px',
208
208
  padding: '4px 9px 7px',
209
209
  cursor: 'pointer',
210
- color: 'var(--dot_text_strongGreen)'
210
+ color: 'var(--dot_strongGreen)'
211
211
  }
212
212
  }, "Green"))), /*#__PURE__*/_react["default"].createElement("div", {
213
213
  style: {
@@ -222,7 +222,7 @@ var RippleEffect__default = /*#__PURE__*/function (_React$Component) {
222
222
  fontSize: '13px',
223
223
  padding: '4px 9px 7px',
224
224
  cursor: 'pointer',
225
- color: 'var(--dot_text_brightRed)'
225
+ color: 'var(--dot_brightRed)'
226
226
  }
227
227
  }, "Danger")))), /*#__PURE__*/_react["default"].createElement("div", {
228
228
  style: boxStyle
@@ -268,7 +268,7 @@ var RippleEffect__default = /*#__PURE__*/function (_React$Component) {
268
268
  fontSize: '13px',
269
269
  padding: '4px 9px 7px',
270
270
  cursor: 'pointer',
271
- color: 'var(--dot_text_strongGreen)'
271
+ color: 'var(--dot_strongGreen)'
272
272
  }
273
273
  }, "Green"))), /*#__PURE__*/_react["default"].createElement("div", {
274
274
  style: {
@@ -283,7 +283,7 @@ var RippleEffect__default = /*#__PURE__*/function (_React$Component) {
283
283
  fontSize: '13px',
284
284
  padding: '4px 9px 7px',
285
285
  cursor: 'pointer',
286
- color: 'var(--dot_text_brightRed)'
286
+ color: 'var(--dot_brightRed)'
287
287
  }
288
288
  }, "Danger"))), /*#__PURE__*/_react["default"].createElement("div", {
289
289
  style: {
@@ -373,7 +373,7 @@ var RippleEffect__default = /*#__PURE__*/function (_React$Component) {
373
373
  style: {
374
374
  fontSize: '13px',
375
375
  padding: '4px 9px 7px',
376
- color: 'var(--dot_text_strongGreen)'
376
+ color: 'var(--dot_strongGreen)'
377
377
  }
378
378
  }, "Green")))), /*#__PURE__*/_react["default"].createElement("div", {
379
379
  style: boxStyle
@@ -450,7 +450,7 @@ var RippleEffect__default = /*#__PURE__*/function (_React$Component) {
450
450
  fontSize: '13px',
451
451
  padding: '4px 9px 7px',
452
452
  cursor: 'pointer',
453
- color: 'var(--dot_text_strongGreen)'
453
+ color: 'var(--dot_strongGreen)'
454
454
  }
455
455
  }, "Green"))), /*#__PURE__*/_react["default"].createElement("div", {
456
456
  style: {
@@ -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
@@ -61,9 +61,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
61
61
 
62
62
  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); } }
63
63
 
64
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
64
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
65
65
 
66
- 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); }
66
+ 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); }
67
67
 
68
68
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
69
69
 
@@ -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
@@ -49,9 +49,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
49
49
 
50
50
  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); } }
51
51
 
52
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
52
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
53
53
 
54
- 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); }
54
+ 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); }
55
55
 
56
56
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
57
57
 
@@ -386,6 +386,20 @@ var SelectComponent = /*#__PURE__*/function (_Component) {
386
386
  this.valueInput && this.valueInput.focus({
387
387
  preventScroll: true
388
388
  }); //this.handlePopupClose(e);
389
+ } else if (keyCode === 9) {
390
+ var _option = options[hoverIndex];
391
+
392
+ var _ref2 = _option || {},
393
+ _id = _ref2.id;
394
+
395
+ if (isPopupOpen && !(0, _Common.getIsEmptyValue)(_id)) {
396
+ onChange && onChange(_id, optionsNormalize[_id]);
397
+ needCloseOnSelect && this.handlePopupClose(e);
398
+ }
399
+
400
+ if (!isPopupOpen && isPopupOpenOnEnter) {
401
+ this.togglePopup(e);
402
+ }
389
403
  }
390
404
  }
391
405
  }, {
@@ -611,8 +625,8 @@ var SelectComponent = /*#__PURE__*/function (_Component) {
611
625
  var changeValue = function changeValue() {
612
626
  var optionDetails = _this6.autoSelectSuggestions[_this6.autoSelectIndex];
613
627
 
614
- var _ref2 = optionDetails || {},
615
- id = _ref2.id;
628
+ var _ref3 = optionDetails || {},
629
+ id = _ref3.id;
616
630
 
617
631
  if (!(0, _Common.getIsEmptyValue)(id)) {
618
632
  _this6.handleChange(id);
@@ -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
@@ -49,9 +49,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
49
49
 
50
50
  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); } }
51
51
 
52
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
52
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
53
53
 
54
- 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); }
54
+ 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); }
55
55
 
56
56
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
57
57
 
@@ -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
@@ -47,9 +47,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
47
47
 
48
48
  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); } }
49
49
 
50
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
50
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
51
51
 
52
- 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); }
52
+ 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); }
53
53
 
54
54
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
55
55
 
@@ -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
@@ -23,9 +23,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
23
23
 
24
24
  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); } }
25
25
 
26
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
26
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
27
27
 
28
- 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); }
28
+ 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); }
29
29
 
30
30
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
31
31
 
@@ -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
@@ -23,9 +23,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
23
23
 
24
24
  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); } }
25
25
 
26
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
26
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
27
27
 
28
- 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); }
28
+ 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); }
29
29
 
30
30
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
31
31
 
@@ -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
 
@@ -14,28 +14,18 @@
14
14
  background-size: 800px 1px;
15
15
  }
16
16
  [dir=ltr] .stencil {
17
- animation-duration: var(--zd_transition10);
17
+ animation-name: placeHolderShimmer-ltr ;
18
18
  animation-fill-mode: forwards;
19
19
  animation-iteration-count: infinite;
20
- animation-name: placeHolderShimmer-ltr ;
20
+ animation-duration: var(--zd_transition10);
21
21
  animation-timing-function: linear;
22
- -webkit-animation-duration: var(--zd_transition10);
23
- -webkit-animation-fill-mode: forwards;
24
- -webkit-animation-iteration-count: infinite;
25
- -webkit-animation-name: placeHolderShimmer-ltr ;
26
- -webkit-animation-timing-function: linear;
27
22
  }
28
23
  [dir=rtl] .stencil {
29
- animation-duration: var(--zd_transition10);
24
+ animation-name: placeHolderShimmer-rtl ;
30
25
  animation-fill-mode: forwards;
31
26
  animation-iteration-count: infinite;
32
- animation-name: placeHolderShimmer-rtl ;
27
+ animation-duration: var(--zd_transition10);
33
28
  animation-timing-function: linear;
34
- -webkit-animation-duration: var(--zd_transition10);
35
- -webkit-animation-fill-mode: forwards;
36
- -webkit-animation-iteration-count: infinite;
37
- -webkit-animation-name: placeHolderShimmer-rtl ;
38
- -webkit-animation-timing-function: linear;
39
29
  }
40
30
  @keyframes placeHolderShimmer-ltr {
41
31
  0% {
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -21,9 +21,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
21
21
 
22
22
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
23
23
 
24
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
24
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
25
25
 
26
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
26
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
27
27
 
28
28
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
29
29
 
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -21,9 +21,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
21
21
 
22
22
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
23
23
 
24
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
24
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
25
25
 
26
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
26
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
27
27
 
28
28
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
29
29
 
@@ -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
@@ -25,9 +25,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
25
25
 
26
26
  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); } }
27
27
 
28
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
28
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
29
29
 
30
- 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); }
30
+ 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); }
31
31
 
32
32
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
33
33
 
@@ -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
@@ -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
 
package/lib/Tab/Tab.js CHANGED
@@ -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
@@ -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
package/lib/Tab/Tabs.js CHANGED
@@ -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
@@ -39,9 +39,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
39
39
 
40
40
  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); } }
41
41
 
42
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
42
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
43
43
 
44
- 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); }
44
+ 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); }
45
45
 
46
46
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
47
47
 
@@ -326,12 +326,13 @@ var Tabs = /*#__PURE__*/function (_React$Component) {
326
326
  var _this$props5 = this.props,
327
327
  children = _this$props5.children,
328
328
  maxTabsCount = _this$props5.maxTabsCount,
329
- minTabsCount = _this$props5.minTabsCount;
329
+ minTabsCount = _this$props5.minTabsCount,
330
+ isResponsive = _this$props5.isResponsive;
330
331
  var mainTabs = [],
331
332
  moreTabs = [],
332
333
  otherTabs = [];
333
334
 
334
- if (totalDimension) {
335
+ if (totalDimension && isResponsive) {
335
336
  var _this$props6 = this.props,
336
337
  childType = _this$props6.childType,
337
338
  selectedTab = _this$props6.selectedTab;
@@ -377,6 +378,16 @@ var Tabs = /*#__PURE__*/function (_React$Component) {
377
378
  mainTabs = newTabs; */
378
379
  this.setMaxDim(totalDimension);
379
380
  }
381
+ } else if (!isResponsive) {
382
+ var _childType = this.props.childType;
383
+
384
+ _react["default"].Children.forEach(children, function (child) {
385
+ if (child && child.type === _childType && child.props.id) {
386
+ mainTabs.push(child);
387
+ } else {
388
+ otherTabs.push(child);
389
+ }
390
+ });
380
391
  } else {
381
392
  moreTabs = children;
382
393
  }
@@ -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