@zohodesk/components 1.0.0-temp-47 → 1.0.0-temp-50

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 (173) hide show
  1. package/README.md +24 -0
  2. package/assets/Appearance/dark/mode/darkMode.module.css +2 -0
  3. package/assets/Appearance/default/mode/defaultMode.module.css +2 -0
  4. package/es/Animation/Animation.js +7 -8
  5. package/es/Avatar/Avatar.js +13 -12
  6. package/es/Avatar/__tests__/Avatar.spec.js +0 -1
  7. package/es/AvatarTeam/__tests__/AvatarTeam.spec.js +0 -1
  8. package/es/Button/Button.js +15 -16
  9. package/es/Button/Button.module.css +6 -2
  10. package/es/Button/__tests__/Button.spec.js +0 -1
  11. package/es/Buttongroup/__test__/Buttongroup.spec.js +0 -1
  12. package/es/Card/Card.js +4 -5
  13. package/es/DateTime/DateTime.js +6 -3
  14. package/es/DateTime/DateWidget.js +5 -2
  15. package/es/DateTime/YearView.js +6 -5
  16. package/es/DateTime/common.js +9 -2
  17. package/es/DateTime/dateFormatUtils/dateFormat.js +76 -57
  18. package/es/DateTime/dateFormatUtils/index.js +12 -7
  19. package/es/DateTime/dateFormatUtils/timeChange.js +4 -3
  20. package/es/DateTime/dateFormatUtils/yearChange.js +4 -3
  21. package/es/DateTime/validator.js +0 -1
  22. package/es/DropBox/DropBox.js +2 -2
  23. package/es/Label/__tests__/Label.spec.js +0 -2
  24. package/es/Layout/utils.js +2 -1
  25. package/es/ListItem/ListContainer.js +3 -8
  26. package/es/ListItem/ListItem.js +58 -39
  27. package/es/ListItem/ListItem.module.css +11 -0
  28. package/es/ListItem/ListItemWithAvatar.js +74 -53
  29. package/es/ListItem/ListItemWithCheckBox.js +54 -33
  30. package/es/ListItem/ListItemWithIcon.js +66 -47
  31. package/es/ListItem/ListItemWithRadio.js +55 -34
  32. package/es/MultiSelect/AdvancedGroupMultiSelect.js +12 -4
  33. package/es/MultiSelect/AdvancedMultiSelect.js +20 -7
  34. package/es/MultiSelect/MultiSelect.js +24 -8
  35. package/es/MultiSelect/MultiSelectWithAvatar.js +1 -1
  36. package/es/PopOver/PopOver.js +19 -20
  37. package/es/Popup/Popup.js +15 -9
  38. package/es/Popup/viewPort.js +14 -9
  39. package/es/Provider/IdProvider.js +5 -4
  40. package/es/Provider/LibraryContext.js +6 -5
  41. package/es/Provider/NumberGenerator/NumberGenerator.js +17 -15
  42. package/es/Provider/ZindexProvider.js +5 -4
  43. package/es/Responsive/CustomResponsive.js +11 -8
  44. package/es/Responsive/ResizeComponent.js +3 -1
  45. package/es/Responsive/Responsive.js +12 -9
  46. package/es/Responsive/sizeObservers.js +13 -2
  47. package/es/Ribbon/Ribbon.js +8 -8
  48. package/es/Ribbon/__tests__/Ribbon.spec.js +0 -1
  49. package/es/Select/GroupSelect.js +3 -2
  50. package/es/Select/Select.js +3 -2
  51. package/es/Select/SelectWithAvatar.js +1 -1
  52. package/es/Select/SelectWithIcon.js +1 -1
  53. package/es/Stencils/Stencils.js +5 -6
  54. package/es/Stencils/__tests__/Stencils.spec.js +0 -1
  55. package/es/Tab/Tab.js +27 -26
  56. package/es/Tab/TabContent.js +17 -14
  57. package/es/Tab/TabContentWrapper.js +17 -14
  58. package/es/Tab/TabWrapper.js +15 -14
  59. package/es/Tab/Tabs.js +2 -1
  60. package/es/TextBox/__tests__/TextBox.spec.js +0 -1
  61. package/es/TextBoxIcon/TextBoxIcon.js +1 -1
  62. package/es/TextBoxIcon/__tests__/TextBoxIcon.spec.js +0 -1
  63. package/es/Textarea/__tests__/Textarea.spec.js +0 -1
  64. package/es/Tooltip/Tooltip.js +0 -1
  65. package/es/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +1 -1
  66. package/es/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +1 -1
  67. package/es/a11y/FocusScope/FocusScope.js +10 -4
  68. package/es/beta/FocusRing/FocusRing.js +4 -1
  69. package/es/utils/Common.js +31 -11
  70. package/es/utils/datetime/common.js +6 -3
  71. package/es/utils/dropDownUtils.js +45 -6
  72. package/es/utils/getInitial.js +3 -1
  73. package/lib/Accordion/Accordion.js +3 -3
  74. package/lib/Accordion/AccordionItem.js +3 -3
  75. package/lib/Animation/Animation.js +10 -11
  76. package/lib/AppContainer/AppContainer.js +3 -3
  77. package/lib/Avatar/Avatar.js +14 -14
  78. package/lib/AvatarTeam/AvatarTeam.js +3 -3
  79. package/lib/Button/Button.js +18 -19
  80. package/lib/Button/Button.module.css +6 -2
  81. package/lib/Buttongroup/Buttongroup.js +3 -3
  82. package/lib/Card/Card.js +8 -9
  83. package/lib/Card/__tests__/Card.spec.js +1 -1
  84. package/lib/Card/index.js +7 -7
  85. package/lib/CheckBox/CheckBox.js +3 -3
  86. package/lib/DateTime/CalendarView.js +4 -4
  87. package/lib/DateTime/DateTime.js +3 -3
  88. package/lib/DateTime/DateTimePopupFooter.js +3 -3
  89. package/lib/DateTime/DateTimePopupHeader.js +3 -3
  90. package/lib/DateTime/DateWidget.js +3 -3
  91. package/lib/DateTime/DaysRow.js +3 -3
  92. package/lib/DateTime/Time.js +3 -3
  93. package/lib/DateTime/YearView.js +3 -3
  94. package/lib/DateTime/__tests__/CalendarView.spec.js +1 -1
  95. package/lib/DateTime/__tests__/DateTime.spec.js +1 -1
  96. package/lib/DateTime/constants.js +1 -1
  97. package/lib/DateTime/dateFormatUtils/dateFormat.js +2 -2
  98. package/lib/DateTime/dateFormatUtils/index.js +13 -13
  99. package/lib/DateTime/objectUtils.js +2 -2
  100. package/lib/DropBox/DropBox.js +9 -5
  101. package/lib/DropDown/DropDown.js +4 -4
  102. package/lib/DropDown/DropDownHeading.js +3 -3
  103. package/lib/DropDown/DropDownItem.js +3 -3
  104. package/lib/DropDown/DropDownSearch.js +3 -3
  105. package/lib/DropDown/DropDownSeparator.js +3 -3
  106. package/lib/Label/Label.js +3 -3
  107. package/lib/Layout/Box.js +1 -1
  108. package/lib/Layout/Container.js +1 -1
  109. package/lib/Layout/index.js +4 -4
  110. package/lib/Layout/utils.js +2 -2
  111. package/lib/ListItem/ListContainer.js +3 -8
  112. package/lib/ListItem/ListItem.js +61 -40
  113. package/lib/ListItem/ListItem.module.css +11 -0
  114. package/lib/ListItem/ListItemWithAvatar.js +77 -56
  115. package/lib/ListItem/ListItemWithCheckBox.js +57 -36
  116. package/lib/ListItem/ListItemWithIcon.js +69 -48
  117. package/lib/ListItem/ListItemWithRadio.js +58 -37
  118. package/lib/Modal/Modal.js +3 -3
  119. package/lib/Modal/__docs__/Modal__default.docs.js +3 -3
  120. package/lib/MultiSelect/AdvancedGroupMultiSelect.js +4 -4
  121. package/lib/MultiSelect/AdvancedMultiSelect.js +20 -8
  122. package/lib/MultiSelect/EmptyState.js +3 -3
  123. package/lib/MultiSelect/MultiSelect.js +16 -7
  124. package/lib/MultiSelect/MultiSelectHeader.js +3 -3
  125. package/lib/MultiSelect/MultiSelectWithAvatar.js +4 -4
  126. package/lib/MultiSelect/SelectedOptions.js +3 -3
  127. package/lib/MultiSelect/Suggestions.js +5 -5
  128. package/lib/PopOver/PopOver.js +23 -24
  129. package/lib/Popup/Popup.js +35 -32
  130. package/lib/Popup/__tests__/Popup.spec.js +3 -3
  131. package/lib/Provider/IdProvider.js +3 -3
  132. package/lib/Provider/LibraryContext.js +3 -3
  133. package/lib/Provider/NumberGenerator/NumberGenerator.js +2 -2
  134. package/lib/Provider/ZindexProvider.js +1 -1
  135. package/lib/Provider.js +3 -3
  136. package/lib/Radio/Radio.js +3 -3
  137. package/lib/Responsive/CustomResponsive.js +4 -4
  138. package/lib/Responsive/RefWrapper.js +1 -1
  139. package/lib/Responsive/ResizeComponent.js +3 -3
  140. package/lib/Responsive/ResizeObserver.js +1 -1
  141. package/lib/Responsive/Responsive.js +6 -5
  142. package/lib/Responsive/sizeObservers.js +14 -6
  143. package/lib/Responsive/utils/index.js +3 -2
  144. package/lib/Responsive/utils/shallowCompare.js +1 -1
  145. package/lib/Ribbon/Ribbon.js +11 -11
  146. package/lib/Select/GroupSelect.js +4 -4
  147. package/lib/Select/Select.js +4 -4
  148. package/lib/Select/SelectWithAvatar.js +4 -4
  149. package/lib/Select/SelectWithIcon.js +4 -4
  150. package/lib/Stencils/Stencils.js +8 -9
  151. package/lib/Switch/Switch.js +3 -3
  152. package/lib/Tab/Tab.js +1 -1
  153. package/lib/Tab/TabWrapper.js +1 -1
  154. package/lib/Tab/Tabs.js +3 -3
  155. package/lib/Tab/index.js +10 -10
  156. package/lib/Tag/Tag.js +3 -3
  157. package/lib/TextBox/TextBox.js +3 -3
  158. package/lib/TextBoxIcon/TextBoxIcon.js +4 -4
  159. package/lib/Textarea/Textarea.js +3 -3
  160. package/lib/Tooltip/Tooltip.js +3 -3
  161. package/lib/Tooltip/__tests__/Tooltip.spec.js +3 -3
  162. package/lib/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +8 -6
  163. package/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +8 -6
  164. package/lib/a11y/FocusScope/FocusScope.js +2 -2
  165. package/lib/beta/FocusRing/FocusRing.js +3 -3
  166. package/lib/deprecated/PortalLayer/PortalLayer.js +3 -3
  167. package/lib/index.js +310 -310
  168. package/lib/semantic/Button/Button.js +3 -3
  169. package/lib/utils/Common.js +20 -16
  170. package/lib/utils/datetime/common.js +10 -10
  171. package/lib/utils/dropDownUtils.js +46 -3
  172. package/lib/utils/shallowEqual.js +1 -1
  173. package/package.json +4 -4
@@ -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"); } 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
26
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
27
27
 
@@ -3,29 +3,33 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.encodeForHtml = encodeForHtml;
7
- exports.getListOfDetails = getListOfDetails;
8
- exports.capitalize = capitalize;
9
6
  exports.bind = bind;
10
- exports.getFullName = getFullName;
11
- exports.getStringifiedOutputForJson = getStringifiedOutputForJson;
12
- exports.mapValues = mapValues;
13
- exports.filterValue = filterValue;
14
- exports.merge = merge;
15
- exports.formatValue = formatValue;
16
7
  exports.bytesToSize = bytesToSize;
17
- exports.getMemSize = getMemSize;
8
+ exports.capitalize = capitalize;
18
9
  exports.checkIsImageFile = checkIsImageFile;
19
- exports.getPortalName = getPortalName;
20
- exports.getFullDateString = getFullDateString;
10
+ exports.debounce = exports.cs = void 0;
11
+ exports.doAfterScrollEnd = doAfterScrollEnd;
12
+ exports.encodeForHtml = encodeForHtml;
13
+ exports.filterValue = filterValue;
21
14
  exports.format12Hour = format12Hour;
15
+ exports.formatValue = formatValue;
22
16
  exports.getDateOnly = getDateOnly;
23
- exports.doAfterScrollEnd = doAfterScrollEnd;
24
- exports.remConvert = remConvert;
25
- exports.isDescendant = isDescendant;
26
17
  exports.getElementSpace = getElementSpace;
18
+ exports.getFullDateString = getFullDateString;
19
+ exports.getFullName = getFullName;
20
+ exports.getIsEmptyValue = void 0;
21
+ exports.getListOfDetails = getListOfDetails;
22
+ exports.getMemSize = getMemSize;
23
+ exports.getPortalName = getPortalName;
27
24
  exports.getSearchString = getSearchString;
28
- exports.getIsEmptyValue = exports.scrollTo = exports.throttle = exports.debounce = exports.stopAllEventPropagation = exports.getTotalDimension = exports.parseDecimal = exports.cs = void 0;
25
+ exports.getStringifiedOutputForJson = getStringifiedOutputForJson;
26
+ exports.getTotalDimension = void 0;
27
+ exports.isDescendant = isDescendant;
28
+ exports.mapValues = mapValues;
29
+ exports.merge = merge;
30
+ exports.parseDecimal = void 0;
31
+ exports.remConvert = remConvert;
32
+ exports.throttle = exports.stopAllEventPropagation = exports.scrollTo = void 0;
29
33
 
30
34
  var _viewPort = _interopRequireDefault(require("../Popup/viewPort"));
31
35
 
@@ -3,22 +3,22 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.pad = pad;
7
6
  exports.formatDate = formatDate;
8
- exports.replaceI18NValuesWithRegex = replaceI18NValuesWithRegex;
9
- exports.unescapeUnicode = unescapeUnicode;
10
- exports.getValues = getValues;
11
- exports.getI18NValue = getI18NValue;
7
+ exports.getDiffObj = getDiffObj;
12
8
  exports.getI18NInfo = getI18NInfo;
9
+ exports.getI18NValue = getI18NValue;
10
+ exports.getMonthEnd = getMonthEnd;
11
+ exports.getValues = getValues;
13
12
  exports.isToday = isToday;
14
- exports.isYesterday = isYesterday;
15
13
  exports.isTomorrow = isTomorrow;
16
- exports.isWithinAWeek = isWithinAWeek;
17
14
  exports.isTwoWeeksOrMore = isTwoWeeksOrMore;
18
- exports.getDiffObj = getDiffObj;
19
- exports.getMonthEnd = getMonthEnd;
15
+ exports.isWithinAWeek = isWithinAWeek;
16
+ exports.isYesterday = isYesterday;
17
+ exports.pad = pad;
18
+ exports.replaceI18NValuesWithRegex = replaceI18NValuesWithRegex;
19
+ exports.unescapeUnicode = unescapeUnicode;
20
20
 
21
- 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); }
21
+ 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); }
22
22
 
23
23
  var dateFormat = {
24
24
  dayNames: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.filterSelectedOptions = exports.makeGetOptionIdChange = exports.makeGetGroupSelectFilterSuggestions = exports.makeGetGroupSelectOptions = exports.makeObjectConcat = exports.makeGetSelectedValueText = exports.makeGetMultiSelectSelectedOptions = exports.makeFormatOptions = exports.extractOptionId = exports.optionIdGrouping = exports.makeGetMultiSelectFilterSuggestions = exports.getPrefixText = exports.getOptionType = exports.getIconSize = exports.getIconName = exports.getImageField = exports.getTextField = exports.getValueField = exports.getOptions = exports.dummyObj = exports.dummyArray = void 0;
6
+ exports.optionIdGrouping = exports.makeObjectConcat = exports.makeGetSelectedValueText = exports.makeGetOptionIdChange = exports.makeGetMultiSelectSelectedOptions = exports.makeGetMultiSelectFilterSuggestions = exports.makeGetIsShowClearIcon = exports.makeGetGroupSelectOptions = exports.makeGetGroupSelectFilterSuggestions = exports.makeFormatOptions = exports.getValueField = exports.getTextField = exports.getPrefixText = exports.getOptions = exports.getOptionType = exports.getImageField = exports.getIconSize = exports.getIconName = exports.filterSelectedOptions = exports.extractOptionId = exports.dummyObj = exports.dummyArray = void 0;
7
7
 
8
8
  var _reselect = require("reselect");
9
9
 
@@ -19,7 +19,7 @@ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToAr
19
19
 
20
20
  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
21
21
 
22
- 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); }
22
+ 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); }
23
23
 
24
24
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
25
25
 
@@ -562,4 +562,47 @@ var filterSelectedOptions = function filterSelectedOptions() {
562
562
  };
563
563
  };
564
564
 
565
- exports.filterSelectedOptions = filterSelectedOptions;
565
+ exports.filterSelectedOptions = filterSelectedOptions;
566
+
567
+ var makeGetIsShowClearIcon = function makeGetIsShowClearIcon() {
568
+ return (0, _reselect.createSelector)([getSelectedOptionsSel, getDisabledOptions], function (selectedOptions, disabledOptions) {
569
+ var countForShowClear = 2;
570
+ var enabledOptionsLength = 0;
571
+ var isShowClearIcon = selectedOptions.length >= countForShowClear;
572
+
573
+ if (disabledOptions.length) {
574
+ var isHaveEnabledOptions = false;
575
+ var isAllDisabled = disabledOptions.length === selectedOptions.length;
576
+
577
+ if (!isAllDisabled) {
578
+ isHaveEnabledOptions = selectedOptions.some(function (option) {
579
+ var _ref5 = option || {},
580
+ _ref5$isDisabled = _ref5.isDisabled,
581
+ isDisabled = _ref5$isDisabled === void 0 ? false : _ref5$isDisabled;
582
+
583
+ if (!isDisabled) {
584
+ enabledOptionsLength += 1;
585
+
586
+ if (enabledOptionsLength === countForShowClear) {
587
+ return true;
588
+ }
589
+
590
+ return false;
591
+ }
592
+
593
+ return false;
594
+ });
595
+ }
596
+
597
+ return {
598
+ isShowClearIcon: isAllDisabled ? !isAllDisabled : isHaveEnabledOptions
599
+ };
600
+ }
601
+
602
+ return {
603
+ isShowClearIcon: isShowClearIcon
604
+ };
605
+ });
606
+ };
607
+
608
+ exports.makeGetIsShowClearIcon = makeGetIsShowClearIcon;
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = shallowEqual;
7
7
 
8
- 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); }
8
+ 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); }
9
9
 
10
10
  function is(x, y) {
11
11
  if (x === y) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/components",
3
- "version": "1.0.0-temp-47",
3
+ "version": "1.0.0-temp-50",
4
4
  "main": "lib/index.js",
5
5
  "module": "es/index.js",
6
6
  "jsnext:main": "es/index.js",
@@ -48,9 +48,9 @@
48
48
  "selectn": "1.1.2"
49
49
  },
50
50
  "peerDependencies": {
51
- "@zohodesk/icons": "1.0.0-beta.92",
52
- "@zohodesk/variables": "1.0.0-beta.29",
53
- "@zohodesk/svg": "1.0.0-beta.41",
51
+ "@zohodesk/icons": "^1.0.0-beta.92",
52
+ "@zohodesk/variables": "^1.0.0-beta.29",
53
+ "@zohodesk/svg": "^1.0.0-beta.41",
54
54
  "@zohodesk/virtualizer": "^1.0.3",
55
55
  "velocity-react": "^1.4.1",
56
56
  "react-sortable-hoc": "^0.8.3"