@zohodesk/components 1.0.0-temp-444 → 1.0.0-temp-667

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 (270) hide show
  1. package/README.md +16 -0
  2. package/assets/Appearance/dark/mode/darkMode.module.css +3 -18
  3. package/assets/Appearance/default/mode/defaultMode.module.css +2 -17
  4. package/assets/Appearance/pureDark/mode/pureDarkMode.module.css +5 -20
  5. package/es/AppContainer/AppContainer.js +1 -1
  6. package/es/Avatar/Avatar.js +1 -1
  7. package/es/Avatar/Avatar.module.css +11 -9
  8. package/es/AvatarTeam/AvatarTeam.js +1 -1
  9. package/es/AvatarTeam/AvatarTeam.module.css +21 -7
  10. package/es/Button/Button.module.css +97 -24
  11. package/es/Buttongroup/Buttongroup.module.css +37 -8
  12. package/es/CheckBox/CheckBox.js +1 -1
  13. package/es/CheckBox/CheckBox.module.css +29 -19
  14. package/es/DateTime/DateTime.js +4 -2
  15. package/es/DateTime/DateTime.module.css +40 -13
  16. package/es/DateTime/DateWidget.js +4 -2
  17. package/es/DateTime/DateWidget.module.css +9 -5
  18. package/es/DateTime/YearView.module.css +17 -6
  19. package/es/DropBox/DropBox.js +1 -1
  20. package/es/DropBox/DropBox.module.css +47 -11
  21. package/es/DropDown/DropDownHeading.module.css +7 -3
  22. package/es/DropDown/DropDownItem.module.css +32 -6
  23. package/es/LightNightMode/Colors.json +496 -397
  24. package/es/LightNightMode/docs/AlternativeColors.docs.js +21 -1
  25. package/es/ListItem/ListContainer.js +1 -1
  26. package/es/ListItem/ListItem.js +1 -1
  27. package/es/ListItem/ListItem.module.css +69 -33
  28. package/es/ListItem/ListItemWithAvatar.js +1 -1
  29. package/es/ListItem/ListItemWithCheckBox.js +1 -1
  30. package/es/ListItem/ListItemWithIcon.js +1 -1
  31. package/es/ListItem/ListItemWithRadio.js +1 -1
  32. package/es/Modal/Modal.js +1 -1
  33. package/es/MultiSelect/AdvancedGroupMultiSelect.js +14 -7
  34. package/es/MultiSelect/AdvancedMultiSelect.js +20 -8
  35. package/es/MultiSelect/MultiSelect.module.css +36 -11
  36. package/es/MultiSelect/SelectedOptions.js +1 -1
  37. package/es/MultiSelect/SelectedOptions.module.css +8 -2
  38. package/es/MultiSelect/Suggestions.js +1 -1
  39. package/es/PopOver/PopOver.module.css +1 -1
  40. package/es/Popup/Popup.js +1 -1
  41. package/es/Radio/Radio.module.css +18 -10
  42. package/es/Responsive/ResizeComponent.js +15 -73
  43. package/es/Responsive/ResizeObserver.js +2 -6
  44. package/es/Responsive/docs/style.module.css +17 -8
  45. package/es/ResponsiveDropBox/ResponsiveDropBox.js +1 -1
  46. package/es/Ribbon/Ribbon.module.css +93 -28
  47. package/es/RippleEffect/RippleEffect.module.css +37 -44
  48. package/es/Select/Select.js +30 -8
  49. package/es/Select/Select.module.css +12 -2
  50. package/es/Select/docs/Select__default.docs.js +1 -1
  51. package/es/Stencils/Stencils.module.css +21 -3
  52. package/es/Switch/Switch.js +1 -1
  53. package/es/Switch/Switch.module.css +9 -9
  54. package/es/Tab/Tab.js +1 -1
  55. package/es/Tab/Tab.module.css +16 -7
  56. package/es/Tab/TabWrapper.js +1 -1
  57. package/es/Tab/Tabs.js +1 -1
  58. package/es/Tab/Tabs.module.css +42 -8
  59. package/es/Tab/docs/tabdocs.module.css +1 -1
  60. package/es/Tag/Tag.module.css +36 -14
  61. package/es/TextBox/TextBox.js +1 -1
  62. package/es/TextBox/TextBox.module.css +7 -11
  63. package/es/TextBoxIcon/TextBoxIcon.js +1 -1
  64. package/es/TextBoxIcon/TextBoxIcon.module.css +12 -5
  65. package/es/Textarea/Textarea.js +1 -1
  66. package/es/Textarea/Textarea.module.css +6 -7
  67. package/es/Tooltip/Tooltip.module.css +9 -8
  68. package/es/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +1 -1
  69. package/es/beta/FocusRing/FocusRing.module.css +51 -26
  70. package/es/common/animation.module.css +219 -21
  71. package/es/common/basicReset.module.css +2 -12
  72. package/es/common/common.module.css +62 -18
  73. package/es/common/customscroll.module.css +17 -21
  74. package/es/common/docStyle.module.css +79 -32
  75. package/es/common/transition.module.css +50 -10
  76. package/es/css.js +0 -1
  77. package/{lib/MultiSelect → es/deprecated}/AdvancedMultiSelect.module.css +1 -1
  78. package/es/deprecated/advancedMultiSelectVariableJson.js +80 -0
  79. package/es/semantic/Button/semanticButton.module.css +3 -3
  80. package/lib/Accordion/Accordion.js +2 -2
  81. package/lib/Accordion/AccordionItem.js +2 -2
  82. package/lib/Accordion/docs/Accordion__Demo.docs.js +2 -2
  83. package/lib/Animation/Animation.js +2 -2
  84. package/lib/Animation/docs/Animation__default.docs.js +2 -2
  85. package/lib/Animation/docs/Animation__fadeIn.docs.js +2 -2
  86. package/lib/Animation/docs/Animation__scaleIn.docs.js +2 -2
  87. package/lib/Animation/docs/Animation__skewIn.docs.js +2 -2
  88. package/lib/Animation/docs/Animation__slideDown.docs.js +2 -2
  89. package/lib/Animation/docs/Animation__slideLeft.docs.js +2 -2
  90. package/lib/Animation/docs/Animation__zoomIn.docs.js +2 -2
  91. package/lib/AppContainer/AppContainer.js +11 -4
  92. package/lib/AppContainer/docs/AppContainer__default.docs.js +2 -2
  93. package/lib/Avatar/Avatar.js +3 -3
  94. package/lib/Avatar/docs/Avatar__custom.docs.js +2 -2
  95. package/lib/Avatar/docs/Avatar__default.docs.js +2 -2
  96. package/lib/Avatar/docs/Avatar__palette.docs.js +2 -2
  97. package/lib/Avatar/docs/Avatar__text.docs.js +2 -2
  98. package/lib/AvatarTeam/AvatarTeam.js +3 -3
  99. package/lib/AvatarTeam/docs/AvatarTeam__custom.docs.js +2 -2
  100. package/lib/AvatarTeam/docs/AvatarTeam__default.docs.js +2 -2
  101. package/lib/AvatarTeam/docs/AvatarTeam__palette.docs.js +2 -2
  102. package/lib/AvatarTeam/docs/AvatarTeam__size.docs.js +2 -2
  103. package/lib/Button/Button.js +2 -2
  104. package/lib/Button/docs/Button__custom.docs.js +2 -2
  105. package/lib/Button/docs/Button__default.docs.js +2 -2
  106. package/lib/Buttongroup/Buttongroup.js +2 -2
  107. package/lib/Buttongroup/docs/Buttongroup__custom.docs.js +2 -2
  108. package/lib/Buttongroup/docs/Buttongroup__footer.docs.js +2 -2
  109. package/lib/Buttongroup/docs/Buttongroup__header.docs.js +2 -2
  110. package/lib/Card/Card.js +2 -2
  111. package/lib/Card/docs/Card__Custom.docs.js +2 -2
  112. package/lib/Card/docs/Card__Default.docs.js +2 -2
  113. package/lib/Card/docs/Card__Scroll.docs.js +2 -2
  114. package/lib/CheckBox/CheckBox.js +5 -4
  115. package/lib/CheckBox/CheckBox.module.css +12 -8
  116. package/lib/CheckBox/docs/CheckBox__custom.docs.js +2 -2
  117. package/lib/CheckBox/docs/CheckBox__default.docs.js +2 -2
  118. package/lib/DateTime/CalendarView.js +2 -2
  119. package/lib/DateTime/DateTime.js +50 -22
  120. package/lib/DateTime/DateTime.module.css +1 -1
  121. package/lib/DateTime/DateTimePopupFooter.js +2 -2
  122. package/lib/DateTime/DateTimePopupHeader.js +2 -2
  123. package/lib/DateTime/DateWidget.js +14 -4
  124. package/lib/DateTime/DateWidget.module.css +0 -4
  125. package/lib/DateTime/DaysRow.js +2 -2
  126. package/lib/DateTime/Time.js +2 -2
  127. package/lib/DateTime/YearView.js +2 -2
  128. package/lib/DateTime/YearView.module.css +1 -0
  129. package/lib/DateTime/docs/DateTime__default.docs.js +2 -2
  130. package/lib/DateTime/docs/DateWidget__default.docs.js +2 -2
  131. package/lib/DropBox/DropBox.js +4 -4
  132. package/lib/DropBox/docs/DropBox__custom.docs.js +2 -2
  133. package/lib/DropBox/docs/DropBox__customOrder.docs.js +2 -2
  134. package/lib/DropBox/docs/DropBox__fixedPosition.docs.js +2 -2
  135. package/lib/DropBox/docs/DropBox__position.docs.js +2 -2
  136. package/lib/DropBox/docs/DropBox__size.docs.js +2 -2
  137. package/lib/DropDown/DropDown.js +2 -2
  138. package/lib/DropDown/DropDownHeading.js +2 -2
  139. package/lib/DropDown/DropDownItem.js +2 -2
  140. package/lib/DropDown/DropDownSearch.js +2 -2
  141. package/lib/DropDown/DropDownSeparator.js +2 -2
  142. package/lib/DropDown/docs/DropDownHeading__custom.docs.js +2 -2
  143. package/lib/DropDown/docs/DropDownHeading__default.docs.js +2 -2
  144. package/lib/Label/Label.js +2 -2
  145. package/lib/Label/docs/Label__clipped.docs.js +2 -2
  146. package/lib/Label/docs/Label__custom.docs.js +2 -2
  147. package/lib/Label/docs/Label__palette.docs.js +2 -2
  148. package/lib/Label/docs/Label__size.docs.js +2 -2
  149. package/lib/Label/docs/Label__type.docs.js +2 -2
  150. package/lib/Layout/docs/Layout__Hidden.docs.js +2 -2
  151. package/lib/Layout/docs/Layout__default.docs.js +2 -2
  152. package/lib/Layout/docs/Layout__four_Column.docs.js +2 -2
  153. package/lib/Layout/docs/Layout__three_Column.docs.js +2 -2
  154. package/lib/Layout/docs/Layout__two_Column.docs.js +2 -2
  155. package/lib/LightNightMode/Colors.json +496 -397
  156. package/lib/LightNightMode/docs/AlternativeColors.docs.js +25 -3
  157. package/lib/ListItem/ListContainer.js +8 -5
  158. package/lib/ListItem/ListItem.js +4 -4
  159. package/lib/ListItem/ListItem.module.css +18 -19
  160. package/lib/ListItem/ListItemWithAvatar.js +4 -4
  161. package/lib/ListItem/ListItemWithCheckBox.js +4 -4
  162. package/lib/ListItem/ListItemWithIcon.js +4 -4
  163. package/lib/ListItem/ListItemWithRadio.js +4 -4
  164. package/lib/ListItem/docs/ListItemWithAvatar__custom.docs.js +2 -2
  165. package/lib/ListItem/docs/ListItemWithAvatar__default.docs.js +2 -2
  166. package/lib/ListItem/docs/ListItemWithCheckBox__custom.docs.js +2 -2
  167. package/lib/ListItem/docs/ListItemWithCheckBox__default.docs.js +2 -2
  168. package/lib/ListItem/docs/ListItemWithIcon__custom.docs.js +2 -2
  169. package/lib/ListItem/docs/ListItemWithIcon__default.docs.js +2 -2
  170. package/lib/ListItem/docs/ListItemWithRadio__custom.docs.js +2 -2
  171. package/lib/ListItem/docs/ListItemWithRadio__default.docs.js +2 -2
  172. package/lib/ListItem/docs/ListItem__custom.docs.js +2 -2
  173. package/lib/ListItem/docs/ListItem__default.docs.js +2 -2
  174. package/lib/Modal/Modal.js +3 -3
  175. package/lib/Modal/__docs__/Modal__default.docs.js +2 -2
  176. package/lib/MultiSelect/AdvancedGroupMultiSelect.js +120 -88
  177. package/lib/MultiSelect/AdvancedMultiSelect.js +99 -62
  178. package/lib/MultiSelect/EmptyState.js +2 -2
  179. package/lib/MultiSelect/MultiSelect.js +90 -64
  180. package/lib/MultiSelect/MultiSelect.module.css +15 -2
  181. package/lib/MultiSelect/MultiSelectHeader.js +2 -2
  182. package/lib/MultiSelect/MultiSelectWithAvatar.js +80 -55
  183. package/lib/MultiSelect/SelectedOptions.js +3 -3
  184. package/lib/MultiSelect/Suggestions.js +3 -3
  185. package/lib/MultiSelect/docs/AdvancedGroupMultiSelect__default.docs.js +2 -2
  186. package/lib/MultiSelect/docs/AdvancedMultiSelect__default.docs.js +2 -2
  187. package/lib/MultiSelect/docs/MultiSelectWithAvatar__default.docs.js +2 -2
  188. package/lib/MultiSelect/docs/MultiSelect__default.docs.js +2 -2
  189. package/lib/PopOver/PopOver.js +13 -6
  190. package/lib/PopOver/docs/PopOver__default.docs.js +2 -2
  191. package/lib/Popup/Popup.js +3 -3
  192. package/lib/Popup/__tests__/Popup.spec.js +2 -2
  193. package/lib/Provider/Config.js +3 -1
  194. package/lib/Provider/docs/Provider_Id__Class.docs.js +2 -2
  195. package/lib/Provider/docs/Provider_Zindex__Class.docs.js +2 -2
  196. package/lib/Provider.js +34 -100
  197. package/lib/Radio/Radio.js +2 -2
  198. package/lib/Radio/Radio.module.css +8 -6
  199. package/lib/Radio/docs/Radio__custom.docs.js +2 -2
  200. package/lib/Radio/docs/Radio__default.docs.js +2 -2
  201. package/lib/Responsive/ResizeComponent.js +2 -2
  202. package/lib/Responsive/Responsive.js +2 -2
  203. package/lib/Responsive/docs/Responsive__Custom.docs.js +2 -2
  204. package/lib/Responsive/docs/Responsive__default.docs.js +2 -2
  205. package/lib/Responsive/sizeObservers.js +3 -3
  206. package/lib/ResponsiveDropBox/ResponsiveDropBox.js +130 -0
  207. package/lib/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -0
  208. package/lib/Ribbon/Ribbon.js +2 -2
  209. package/lib/Ribbon/docs/Ribbon__custom.docs.js +2 -2
  210. package/lib/Ribbon/docs/Ribbon__default.docs.js +2 -2
  211. package/lib/RippleEffect/RippleEffect.module.css +37 -15
  212. package/lib/RippleEffect/docs/RippleEffect__default.docs.js +2 -2
  213. package/lib/Select/GroupSelect.js +102 -79
  214. package/lib/Select/Select.js +142 -87
  215. package/lib/Select/Select.module.css +6 -0
  216. package/lib/Select/SelectWithAvatar.js +98 -73
  217. package/lib/Select/SelectWithIcon.js +99 -76
  218. package/lib/Select/docs/GroupSelect__default.docs.js +2 -2
  219. package/lib/Select/docs/SelectWithAvatar__default.docs.js +2 -2
  220. package/lib/Select/docs/SelectWithIcon__default.docs.js +2 -2
  221. package/lib/Select/docs/Select__default.docs.js +3 -3
  222. package/lib/Stencils/Stencils.js +2 -2
  223. package/lib/Stencils/docs/Stencils__custom.docs.js +2 -2
  224. package/lib/Stencils/docs/Stencils__default.docs.js +2 -2
  225. package/lib/Switch/Switch.js +3 -3
  226. package/lib/Switch/Switch.module.css +3 -2
  227. package/lib/Switch/docs/Switch__custom.docs.js +2 -2
  228. package/lib/Switch/docs/Switch__default.docs.js +2 -2
  229. package/lib/Tab/Tab.js +1 -1
  230. package/lib/Tab/TabWrapper.js +1 -1
  231. package/lib/Tab/Tabs.js +70 -47
  232. package/lib/Tab/Tabs.module.css +2 -1
  233. package/lib/Tab/docs/Tab__default.docs.js +2 -2
  234. package/lib/Tag/Tag.js +3 -3
  235. package/lib/Tag/Tag.module.css +6 -2
  236. package/lib/Tag/docs/Tag__custom.docs.js +2 -2
  237. package/lib/Tag/docs/Tag__default.docs.js +2 -2
  238. package/lib/TextBox/TextBox.js +3 -3
  239. package/lib/TextBox/docs/TextBox__custom.docs.js +2 -2
  240. package/lib/TextBox/docs/TextBox__default.docs.js +2 -2
  241. package/lib/TextBox/docs/TextBox__size.docs.js +2 -2
  242. package/lib/TextBox/docs/TextBox__variant.docs.js +2 -2
  243. package/lib/TextBoxIcon/TextBoxIcon.js +3 -3
  244. package/lib/TextBoxIcon/docs/TextBoxIcon__custom.docs.js +2 -2
  245. package/lib/TextBoxIcon/docs/TextBoxIcon__default.docs.js +2 -2
  246. package/lib/Textarea/Textarea.js +3 -3
  247. package/lib/Textarea/docs/Textarea__animated.docs.js +2 -2
  248. package/lib/Textarea/docs/Textarea__custom.docs.js +2 -2
  249. package/lib/Textarea/docs/Textarea__default.docs.js +2 -2
  250. package/lib/Textarea/docs/Textarea__disabled.docs.js +2 -2
  251. package/lib/Tooltip/Tooltip.js +62 -10
  252. package/lib/Tooltip/Tooltip.module.css +6 -1
  253. package/lib/Tooltip/__tests__/Tooltip.spec.js +2 -2
  254. package/lib/Tooltip/docs/Tooltip__default.docs.js +52 -13
  255. package/lib/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +2 -2
  256. package/lib/VelocityAnimation/VelocityAnimation/docs/VelocityAnimation__demo.docs.js +2 -2
  257. package/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +3 -3
  258. package/lib/VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs.js +2 -2
  259. package/lib/a11y/FocusScope/docs/FocusScope__default.docs.js +2 -2
  260. package/lib/beta/FocusRing/docs/FocusRing__default.docs.js +2 -2
  261. package/lib/common/docStyle.module.css +6 -2
  262. package/lib/css.js +0 -2
  263. package/{es/MultiSelect → lib/deprecated}/AdvancedMultiSelect.module.css +23 -9
  264. package/lib/deprecated/PortalLayer/PortalLayer.js +2 -2
  265. package/lib/deprecated/PortalLayer/docs/PortalLayer__default.docs.js +2 -2
  266. package/lib/deprecated/advancedMultiSelectVariableJson.js +82 -0
  267. package/lib/index.js +10 -1
  268. package/lib/semantic/Button/Button.js +2 -2
  269. package/lib/semantic/Button/docs/Button__default.docs.js +2 -2
  270. package/package.json +4 -4
@@ -17,8 +17,6 @@ var _TextBoxIcon = _interopRequireDefault(require("../TextBoxIcon/TextBoxIcon"))
17
17
 
18
18
  var _Icon = _interopRequireDefault(require("@zohodesk/icons/lib/Icon"));
19
19
 
20
- var _DropBox = _interopRequireDefault(require("../DropBox/DropBox"));
21
-
22
20
  var _ListItemWithIcon = _interopRequireDefault(require("../ListItem/ListItemWithIcon"));
23
21
 
24
22
  var _Card = _interopRequireWildcard(require("../Card/Card"));
@@ -29,6 +27,10 @@ var _Layout = require("../Layout");
29
27
 
30
28
  var _IdProvider = require("../Provider/IdProvider");
31
29
 
30
+ var _ResponsiveDropBox = _interopRequireDefault(require("../ResponsiveDropBox/ResponsiveDropBox"));
31
+
32
+ var _CustomResponsive = require("../Responsive/CustomResponsive");
33
+
32
34
  var _Common = require("../utils/Common.js");
33
35
 
34
36
  var _SelectModule = _interopRequireDefault(require("./Select.module.css"));
@@ -51,7 +53,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
51
53
 
52
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 } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
53
55
 
54
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
56
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
55
57
 
56
58
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
57
59
 
@@ -61,7 +63,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
61
63
 
62
64
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
63
65
 
64
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
66
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
65
67
 
66
68
  var SelectWithIcon = /*#__PURE__*/function (_Component) {
67
69
  _inherits(SelectWithIcon, _Component);
@@ -294,6 +296,16 @@ var SelectWithIcon = /*#__PURE__*/function (_Component) {
294
296
  isNextOptions && getNextOptions && getNextOptions(e);
295
297
  }
296
298
  }
299
+ }, {
300
+ key: "responsiveFunc",
301
+ value: function responsiveFunc(_ref) {
302
+ var mediaQueryOR = _ref.mediaQueryOR;
303
+ return {
304
+ tabletMode: mediaQueryOR([{
305
+ maxWidth: 700
306
+ }])
307
+ };
308
+ }
297
309
  }, {
298
310
  key: "render",
299
311
  value: function render() {
@@ -408,80 +420,91 @@ var SelectWithIcon = /*#__PURE__*/function (_Component) {
408
420
  }, /*#__PURE__*/_react["default"].createElement(_Icon["default"], {
409
421
  name: "ZD-down",
410
422
  size: "7"
411
- })))))), !isReadOnly && !isDisabled && isPopupOpen ? /*#__PURE__*/_react["default"].createElement(_DropBox["default"], {
412
- animationStyle: animationStyle,
413
- boxPosition: position,
414
- isActive: isPopupReady,
415
- isAnimate: true,
416
- isArrow: false,
417
- onClick: removeClose,
418
- getRef: getContainerRef,
419
- needResponsive: needResponsive,
420
- dataId: "".concat(dataId, "_suggestions"),
421
- size: boxSize,
422
- isPadding: false
423
- }, /*#__PURE__*/_react["default"].createElement(_Card["default"], {
424
- onScroll: this.handleScroll,
425
- htmlId: setAriaId,
426
- a11y: {
427
- role: 'listbox'
428
- }
429
- }, needSearch ? /*#__PURE__*/_react["default"].createElement(_Card.CardHeader, null, /*#__PURE__*/_react["default"].createElement("div", {
430
- className: "".concat(_SelectModule["default"].search, " ").concat(_SelectModule["default"][size])
431
- }, /*#__PURE__*/_react["default"].createElement(_TextBoxIcon["default"], {
432
- onClear: this.onSearchClear,
433
- onChange: this.onSearch,
434
- placeHolder: searchBoxPlaceHolder,
435
- value: searchValue,
436
- maxLength: maxLength,
437
- onKeyDown: this.handleKeyDown,
438
- inputRef: this.searchInputRef,
439
- size: searchBoxSize,
440
- dataId: "".concat(dataId, "_search"),
441
- a11y: {
442
- ariaDescribedby: ariaErrorId
443
- },
444
- autoComplete: false
445
- }))) : null, /*#__PURE__*/_react["default"].createElement(_Card.CardContent, {
446
- customClass: "".concat(_SelectModule["default"].dropBoxList, " ").concat(dropBoxSize ? _SelectModule["default"][dropBoxSize] : ''),
447
- eleRef: this.scrollContentRef
448
- }, options.length ? /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, options.map(function (options, i) {
449
- var iconName = options.iconName,
450
- iconSize = options.iconSize,
451
- iconColor = options.iconColor;
452
- return /*#__PURE__*/_react["default"].createElement(_ListItemWithIcon["default"], {
453
- key: options[idKey],
454
- value: options[valueKey],
455
- size: "medium",
456
- onClick: _this4.handleChange,
457
- id: options[idKey],
458
- index: i,
459
- title: options[valueKey],
460
- palette: "default",
461
- dataId: options[idKey],
462
- iconName: iconName,
463
- iconSize: iconSize,
464
- iconClass: iconColor,
465
- active: selectedId === options[idKey],
466
- needBorder: needListBorder,
467
- needTick: needTick,
468
- onMouseEnter: _this4.handleMouseEnter,
469
- highlight: selectedIndex === i,
470
- getRef: _this4.itemRef,
423
+ })))))), !isReadOnly && !isDisabled && isPopupOpen ? /*#__PURE__*/_react["default"].createElement(_CustomResponsive.ResponsiveReceiver, {
424
+ query: this.responsiveFunc,
425
+ responsiveId: "Helmet"
426
+ }, function (_ref2) {
427
+ var tabletMode = _ref2.tabletMode;
428
+ return /*#__PURE__*/_react["default"].createElement(_ResponsiveDropBox["default"], {
429
+ animationStyle: animationStyle,
430
+ boxPosition: position,
431
+ isActive: isPopupReady,
432
+ isAnimate: true,
433
+ isArrow: false,
434
+ onClick: removeClose,
435
+ getRef: getContainerRef,
436
+ needResponsive: needResponsive,
437
+ dataId: "".concat(dataId, "_suggestions"),
438
+ size: boxSize,
439
+ isPadding: false,
440
+ isResponsivePadding: true,
441
+ alignBox: "row"
442
+ }, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
443
+ flexible: true
444
+ }, /*#__PURE__*/_react["default"].createElement(_Card["default"], {
445
+ onScroll: _this4.handleScroll,
446
+ htmlId: setAriaId,
471
447
  a11y: {
472
- role: 'option',
473
- ariaSelected: selectedId === options[idKey]
448
+ role: 'listbox'
474
449
  }
475
- });
476
- })) : /*#__PURE__*/_react["default"].createElement(_EmptyState["default"], {
477
- isLoading: isFetchingOptions,
478
- options: options,
479
- searchString: searchValue,
480
- suggestions: options,
481
- dataId: dataId,
482
- i18nKeys: i18nKeys,
483
- htmlId: ariaErrorId
484
- })))) : null);
450
+ }, needSearch ? /*#__PURE__*/_react["default"].createElement(_Card.CardHeader, null, /*#__PURE__*/_react["default"].createElement("div", {
451
+ className: "".concat(_SelectModule["default"].search, " ").concat(_SelectModule["default"][size])
452
+ }, /*#__PURE__*/_react["default"].createElement(_TextBoxIcon["default"], {
453
+ onClear: _this4.onSearchClear,
454
+ onChange: _this4.onSearch,
455
+ placeHolder: searchBoxPlaceHolder,
456
+ value: searchValue,
457
+ maxLength: maxLength,
458
+ onKeyDown: _this4.handleKeyDown,
459
+ inputRef: _this4.searchInputRef,
460
+ size: searchBoxSize,
461
+ dataId: "".concat(dataId, "_search"),
462
+ a11y: {
463
+ ariaDescribedby: ariaErrorId
464
+ },
465
+ autoComplete: false
466
+ }))) : null, /*#__PURE__*/_react["default"].createElement(_Card.CardContent, {
467
+ customClass: "".concat(tabletMode ? _SelectModule["default"].responsivedropBoxList : _SelectModule["default"].dropBoxList, " ").concat(!tabletMode && dropBoxSize ? _SelectModule["default"][dropBoxSize] : ''),
468
+ shrink: true,
469
+ eleRef: _this4.scrollContentRef
470
+ }, options.length ? /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, options.map(function (options, i) {
471
+ var iconName = options.iconName,
472
+ iconSize = options.iconSize,
473
+ iconColor = options.iconColor;
474
+ return /*#__PURE__*/_react["default"].createElement(_ListItemWithIcon["default"], {
475
+ key: options[idKey],
476
+ value: options[valueKey],
477
+ size: "medium",
478
+ onClick: _this4.handleChange,
479
+ id: options[idKey],
480
+ index: i,
481
+ title: options[valueKey],
482
+ palette: "default",
483
+ dataId: options[idKey],
484
+ iconName: iconName,
485
+ iconSize: iconSize,
486
+ iconClass: iconColor,
487
+ active: selectedId === options[idKey],
488
+ needBorder: needListBorder,
489
+ needTick: needTick,
490
+ onMouseEnter: _this4.handleMouseEnter,
491
+ highlight: selectedIndex === i,
492
+ getRef: _this4.itemRef,
493
+ a11y: {
494
+ role: 'option',
495
+ ariaSelected: selectedId === options[idKey]
496
+ }
497
+ });
498
+ })) : /*#__PURE__*/_react["default"].createElement(_EmptyState["default"], {
499
+ isLoading: isFetchingOptions,
500
+ options: options,
501
+ searchString: searchValue,
502
+ suggestions: options,
503
+ dataId: dataId,
504
+ i18nKeys: i18nKeys,
505
+ htmlId: ariaErrorId
506
+ })))));
507
+ }) : null);
485
508
  }
486
509
  }]);
487
510
 
@@ -25,7 +25,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
25
25
 
26
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 } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
27
27
 
28
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
28
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
29
29
 
30
30
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
31
31
 
@@ -35,7 +35,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
35
35
 
36
36
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
37
37
 
38
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
38
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
39
39
 
40
40
  var groupedOptions = [{
41
41
  id: 'tickets',
@@ -27,7 +27,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
27
27
 
28
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 } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
29
29
 
30
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
30
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
31
31
 
32
32
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
33
33
 
@@ -37,7 +37,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
37
37
 
38
38
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
39
39
 
40
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
40
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
41
41
 
42
42
  var option = [{
43
43
  text: 'Option 1',
@@ -25,7 +25,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
25
25
 
26
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 } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
27
27
 
28
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
28
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
29
29
 
30
30
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
31
31
 
@@ -35,7 +35,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
35
35
 
36
36
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
37
37
 
38
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
38
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
39
39
 
40
40
  var SelectWithIcon__default = /*#__PURE__*/function (_Component) {
41
41
  _inherits(SelectWithIcon__default, _Component);
@@ -27,7 +27,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
27
27
 
28
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 } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
29
29
 
30
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
30
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
31
31
 
32
32
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
33
33
 
@@ -37,7 +37,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
37
37
 
38
38
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
39
39
 
40
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
40
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
41
41
 
42
42
  var option = [{
43
43
  text: 'Apple',
@@ -154,7 +154,7 @@ var Select__default = /*#__PURE__*/function (_React$Component) {
154
154
  selectedValue: value,
155
155
  needSearch: true,
156
156
  emptyMessage: "No matches found",
157
- placeHolder: "PlaceHolder",
157
+ placeHolder: "",
158
158
  searchBoxPlaceHolder: "Search",
159
159
  isDefaultSelectValue: false,
160
160
  i18nKeys: {
@@ -23,7 +23,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
23
23
 
24
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 } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
25
25
 
26
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
26
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
27
27
 
28
28
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
29
29
 
@@ -33,7 +33,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
33
33
 
34
34
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
35
35
 
36
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
36
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
37
37
 
38
38
  var Stencils = /*#__PURE__*/function (_React$PureComponent) {
39
39
  _inherits(Stencils, _React$PureComponent);
@@ -25,7 +25,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
25
25
 
26
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 } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
27
27
 
28
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
28
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
29
29
 
30
30
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
31
31
 
@@ -35,7 +35,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
35
35
 
36
36
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
37
37
 
38
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
38
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
39
39
 
40
40
  var Stencils__custom = /*#__PURE__*/function (_React$Component) {
41
41
  _inherits(Stencils__custom, _React$Component);
@@ -25,7 +25,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
25
25
 
26
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 } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
27
27
 
28
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
28
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
29
29
 
30
30
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
31
31
 
@@ -35,7 +35,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
35
35
 
36
36
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
37
37
 
38
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
38
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
39
39
 
40
40
  var Stencils__default = /*#__PURE__*/function (_React$Component) {
41
41
  _inherits(Stencils__default, _React$Component);
@@ -19,7 +19,7 @@ var _SwitchModule = _interopRequireDefault(require("./Switch.module.css"));
19
19
 
20
20
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
21
21
 
22
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
22
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
23
23
 
24
24
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
25
25
 
@@ -29,7 +29,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
29
29
 
30
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 } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
31
31
 
32
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
32
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
33
33
 
34
34
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
35
35
 
@@ -39,7 +39,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
39
39
 
40
40
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
41
41
 
42
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
42
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
43
43
 
44
44
  var Switch = /*#__PURE__*/function (_React$Component) {
45
45
  _inherits(Switch, _React$Component);
@@ -26,8 +26,9 @@
26
26
  border-radius: 20px;
27
27
  cursor: pointer;
28
28
  }
29
- .effect:hover .label,
30
- .effect:focus .label {
29
+ .effect:hover .label
30
+ /* .effect:focus .label */
31
+ {
31
32
  --switch_off_bg_color: var(--zdt_switch_effect_off_bg);
32
33
  }
33
34
  .label:after {
@@ -23,7 +23,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
23
23
 
24
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 } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
25
25
 
26
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
26
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
27
27
 
28
28
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
29
29
 
@@ -33,7 +33,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
33
33
 
34
34
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
35
35
 
36
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
36
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
37
37
 
38
38
  var Switch__custom = /*#__PURE__*/function (_React$Component) {
39
39
  _inherits(Switch__custom, _React$Component);
@@ -21,7 +21,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
21
21
 
22
22
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
23
23
 
24
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
24
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
25
25
 
26
26
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
27
27
 
@@ -31,7 +31,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
31
31
 
32
32
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
33
33
 
34
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
34
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
35
35
 
36
36
  var Switch__default = /*#__PURE__*/function (_React$Component) {
37
37
  _inherits(Switch__default, _React$Component);
package/lib/Tab/Tab.js CHANGED
@@ -23,7 +23,7 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
23
23
 
24
24
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
25
25
 
26
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
26
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
27
27
 
28
28
  var tabTypes = {
29
29
  alpha: {
@@ -19,7 +19,7 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
19
19
 
20
20
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
21
21
 
22
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
22
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
23
23
 
24
24
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
25
25