@occmundial/occ-atomic 1.15.8 → 1.18.0

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 (163) hide show
  1. package/.prettierrc +6 -6
  2. package/.whitesource +11 -11
  3. package/CHANGELOG.md +929 -903
  4. package/CONTRIBUTING.md +24 -0
  5. package/README.md +21 -21
  6. package/build/Autocomplete/Autocomplete.js +20 -16
  7. package/build/Autocomplete/Autocomplete.test.js +11 -11
  8. package/build/Avatar/Avatar.js +20 -16
  9. package/build/Avatar/Avatar.test.js +2 -2
  10. package/build/Avatar/AvatarContent/AvatarContent.js +5 -5
  11. package/build/Avatar/AvatarContent/AvatarContent.test.js +6 -6
  12. package/build/Avatar/index.js +4 -2
  13. package/build/Banner/Banner.js +6 -6
  14. package/build/Banner/Banner.test.js +2 -2
  15. package/build/Button/Button.js +26 -22
  16. package/build/Button/Button.test.js +13 -13
  17. package/build/Button/index.js +4 -2
  18. package/build/ButtonAlign/ButtonAlign.js +20 -16
  19. package/build/ButtonAlign/ButtonAlign.test.js +3 -3
  20. package/build/Card/Card.js +1 -1
  21. package/build/Card/Card.test.js +4 -4
  22. package/build/Card/index.js +4 -2
  23. package/build/Check/Check.js +18 -14
  24. package/build/Check/Check.test.js +7 -7
  25. package/build/Checkbox/Checkbox.js +18 -14
  26. package/build/Checkbox/Checkbox.test.js +8 -8
  27. package/build/Checkbox/index.js +4 -2
  28. package/build/Column/Column.js +1 -1
  29. package/build/Column/Column.test.js +3 -3
  30. package/build/Container/Container.js +1 -1
  31. package/build/Container/Container.test.js +4 -4
  32. package/build/Droplist/Droplist.js +44 -39
  33. package/build/Droplist/Droplist.test.js +11 -11
  34. package/build/Droplist/index.js +4 -2
  35. package/build/Droplist/styles.js +6 -2
  36. package/build/Flexbox/Flexbox.js +16 -12
  37. package/build/Flexbox/Flexbox.test.js +3 -3
  38. package/build/Flexbox/index.js +4 -2
  39. package/build/Footer/Footer.js +16 -16
  40. package/build/Footer/Footer.test.js +2 -2
  41. package/build/Footer/List/List.js +25 -21
  42. package/build/Grid/Col/Col.js +1 -1
  43. package/build/Grid/Col/Col.test.js +3 -3
  44. package/build/Grid/Col/index.js +4 -2
  45. package/build/Grid/Grid.js +18 -12
  46. package/build/Grid/Row/Row.js +1 -1
  47. package/build/Grid/Row/Row.test.js +2 -2
  48. package/build/Grid/Row/index.js +4 -2
  49. package/build/Grid/index.js +4 -2
  50. package/build/Header/Header.js +35 -31
  51. package/build/Header/Header.test.js +8 -8
  52. package/build/Header/Menu/Menu.js +23 -19
  53. package/build/Header/Menu/Menu.test.js +7 -7
  54. package/build/Header/Nav/Nav.js +19 -15
  55. package/build/Header/Nav/Nav.test.js +5 -5
  56. package/build/Hidden/Hidden.js +17 -13
  57. package/build/Hidden/Hidden.test.js +6 -6
  58. package/build/Hidden/index.js +4 -2
  59. package/build/Icon/Icon.js +16 -12
  60. package/build/Icon/Icon.test.js +3 -3
  61. package/build/Icon/index.js +4 -2
  62. package/build/Input/Input.js +29 -25
  63. package/build/Input/Input.test.js +21 -21
  64. package/build/Input/index.js +17 -13
  65. package/build/Label/Label.js +17 -13
  66. package/build/Label/Label.test.js +6 -6
  67. package/build/LayerApp/LayerApp.js +22 -18
  68. package/build/LayerApp/LayerApp.test.js +4 -4
  69. package/build/Modal/Modal.js +38 -33
  70. package/build/Modal/Modal.test.js +10 -10
  71. package/build/Modal/index.js +19 -13
  72. package/build/Modal/styles.js +11 -8
  73. package/build/NavAside/NavAside.js +22 -18
  74. package/build/NavAside/NavAside.test.js +12 -12
  75. package/build/NavAside/index.js +16 -12
  76. package/build/NavIcon/NavIcon.js +20 -16
  77. package/build/NavItem/NavItem.js +18 -14
  78. package/build/NavTab/NavTab.js +32 -28
  79. package/build/NavTop/NavTop.js +20 -16
  80. package/build/OrderBy/OrderBy.js +23 -19
  81. package/build/OrderBy/OrderBy.test.js +6 -6
  82. package/build/Pager/Break/Break.js +1 -1
  83. package/build/Pager/Break/Break.test.js +4 -4
  84. package/build/Pager/Page/Page.js +1 -1
  85. package/build/Pager/Page/Page.test.js +5 -5
  86. package/build/Pager/Pager.js +21 -17
  87. package/build/Pager/Pager.test.js +10 -10
  88. package/build/Pill/Choice/Choice.js +18 -14
  89. package/build/Pill/Group/Group.js +2 -2
  90. package/build/Pill/Pill.js +28 -22
  91. package/build/Pill/Pill.test.js +12 -12
  92. package/build/Pill/Stack/Stack.js +4 -4
  93. package/build/Placeholder/Placeholder.js +2 -2
  94. package/build/Placeholder/Placeholder.test.js +3 -3
  95. package/build/Radio/Radio.js +19 -15
  96. package/build/Radio/Radio.test.js +6 -6
  97. package/build/RangeCounter/RangeCounter.js +17 -13
  98. package/build/RangeCounter/RangeCounter.test.js +3 -3
  99. package/build/Row/Row.js +1 -1
  100. package/build/Row/Row.test.js +2 -2
  101. package/build/SightLogo/SightLogo.js +2 -2
  102. package/build/SightLogo/SightLogo.test.js +2 -2
  103. package/build/SlideDown/SlideDown.js +28 -22
  104. package/build/SlideDown/SlideDown.test.js +9 -9
  105. package/build/SlideToggle/SlideToggle.js +19 -15
  106. package/build/SlideToggle/SlideToggle.test.js +7 -7
  107. package/build/SubHeader/SubHeader.js +20 -16
  108. package/build/SubHeader/SubHeader.test.js +7 -7
  109. package/build/SwitchGroup/SwitchGroup.js +17 -13
  110. package/build/SwitchGroup/SwitchGroup.test.js +6 -6
  111. package/build/Tag/Tag.js +4 -4
  112. package/build/Tag/Tag.test.js +6 -6
  113. package/build/Text/Text.js +18 -12
  114. package/build/Text/Text.test.js +8 -8
  115. package/build/TextField/TextField.js +42 -38
  116. package/build/TextField/TextField.test.js +19 -19
  117. package/build/Tip/Tip.js +16 -12
  118. package/build/Tip/Tip.test.js +5 -5
  119. package/build/Title/Title.js +16 -12
  120. package/build/Title/Title.test.js +3 -3
  121. package/build/Toaster/Toast/Toast.js +11 -11
  122. package/build/Toaster/Toaster.js +27 -23
  123. package/build/Toaster/Toaster.test.js +6 -6
  124. package/build/TourTip/TourTip.js +15 -11
  125. package/build/TourTip/TourTip.test.js +2 -2
  126. package/build/Visible/Visible.js +16 -12
  127. package/build/Visible/Visible.test.js +4 -4
  128. package/build/WindowSize/WindowSize.js +17 -11
  129. package/build/WindowSize/WindowSize.test.js +4 -4
  130. package/build/subatomic/icons/attachment.js +23 -0
  131. package/build/subatomic/icons/attachmentSolid.js +23 -0
  132. package/build/subatomic/icons/dislike.js +1 -1
  133. package/build/subatomic/icons/dislikeSolid.js +23 -0
  134. package/build/subatomic/icons/eye.js +1 -1
  135. package/build/subatomic/icons/{emoji.js → eyeSolid.js} +1 -1
  136. package/build/subatomic/icons/like.js +1 -1
  137. package/build/subatomic/icons/likeSolid.js +23 -0
  138. package/build/subatomic/icons/moreOptionsHorizontal.js +23 -0
  139. package/build/subatomic/icons/occDart.js +7 -5
  140. package/build/subatomic/icons/occHorizontal.js +7 -5
  141. package/build/subatomic/icons/occVertical.js +7 -5
  142. package/build/subatomic/icons/profile.js +23 -0
  143. package/build/subatomic/icons/profileSolid.js +23 -0
  144. package/build/subatomic/icons/suitcase.js +23 -0
  145. package/build/subatomic/icons/suitcaseSolid.js +23 -0
  146. package/build/subatomic/icons/tag.js +1 -1
  147. package/build/subatomic/icons/tagSolid.js +23 -0
  148. package/build/subatomic/icons/warning.js +23 -0
  149. package/build/subatomic/icons/warningSolid.js +23 -0
  150. package/build/subatomic/icons/webSite.js +23 -0
  151. package/build/subatomic/icons/webSiteSolid.js +23 -0
  152. package/build/subatomic/icons.js +45 -9
  153. package/commitlint.config.js +6 -0
  154. package/package.json +121 -114
  155. package/playroom/FrameComponent.js +31 -22
  156. package/playroom/styles.js +14 -14
  157. package/playroom.config.js +7 -7
  158. package/.vscode/settings.json +0 -22
  159. package/build/Grid/Grid.test.js +0 -22
  160. package/build/Grid/Row/Rowdsd.js +0 -39
  161. package/build/hooks/useEventListener.js +0 -23
  162. package/build/hooks/usePrevious.js +0 -19
  163. package/yarn-error.log +0 -11800
@@ -1,5 +1,7 @@
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); }
4
+
3
5
  Object.defineProperty(exports, "__esModule", {
4
6
  value: true
5
7
  });
@@ -15,36 +17,38 @@ var _jquery = _interopRequireDefault(require("jquery"));
15
17
 
16
18
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
17
19
 
18
- function _typeof(obj) { 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); }
19
-
20
20
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
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
24
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
25
25
 
26
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
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); }
27
+
28
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
27
29
 
28
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
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
+
32
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
29
33
 
30
34
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
31
35
 
32
- 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); }
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; } }
33
37
 
34
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
38
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
35
39
 
36
40
  /** This component displays a tooltip in a defined direction and alignment relative to a specified element. To make it work both, the target and the TourTip component, must be wrapped inside a 'relative' container. */
37
- var TourTip =
38
- /*#__PURE__*/
39
- function (_React$Component) {
41
+ var TourTip = /*#__PURE__*/function (_React$Component) {
40
42
  _inherits(TourTip, _React$Component);
41
43
 
44
+ var _super = _createSuper(TourTip);
45
+
42
46
  function TourTip(props) {
43
47
  var _this;
44
48
 
45
49
  _classCallCheck(this, TourTip);
46
50
 
47
- _this = _possibleConstructorReturn(this, _getPrototypeOf(TourTip).call(this, props));
51
+ _this = _super.call(this, props);
48
52
  _this.state = {
49
53
  position: {}
50
54
  };
@@ -111,7 +115,7 @@ function (_React$Component) {
111
115
  direction = _this$props2.direction,
112
116
  id = _this$props2.id,
113
117
  className = _this$props2.className;
114
- return _react["default"].createElement("div", {
118
+ return /*#__PURE__*/_react["default"].createElement("div", {
115
119
  ref: function ref(_ref) {
116
120
  _this3.self = _ref;
117
121
  },
@@ -21,7 +21,7 @@ var reduceClasses = function reduceClasses(prev, curr) {
21
21
  var classes = Object.keys(_styles["default"]).reduce(reduceClasses, {});
22
22
  describe("TourTip", function () {
23
23
  it('matches the snapshot', function () {
24
- var wrapper = (0, _enzyme.shallow)(_react["default"].createElement(_TourTip["default"], {
24
+ var wrapper = (0, _enzyme.shallow)( /*#__PURE__*/_react["default"].createElement(_TourTip["default"], {
25
25
  classes: classes,
26
26
  direction: "down",
27
27
  target: "target"
@@ -31,7 +31,7 @@ describe("TourTip", function () {
31
31
  });
32
32
  describe("TourTipJSS", function () {
33
33
  it('matches the snapshot', function () {
34
- var wrapper = (0, _enzyme.shallow)(_react["default"].createElement(_index["default"], {
34
+ var wrapper = (0, _enzyme.shallow)( /*#__PURE__*/_react["default"].createElement(_index["default"], {
35
35
  direction: "down",
36
36
  target: "target"
37
37
  }));
@@ -1,5 +1,7 @@
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); }
4
+
3
5
  Object.defineProperty(exports, "__esModule", {
4
6
  value: true
5
7
  });
@@ -13,36 +15,38 @@ var _grid = _interopRequireDefault(require("../subatomic/grid"));
13
15
 
14
16
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
15
17
 
16
- function _typeof(obj) { 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); }
17
-
18
18
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
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
22
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
23
23
 
24
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
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); }
25
+
26
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
25
27
 
26
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
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
+
30
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
27
31
 
28
32
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
29
33
 
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); }
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; } }
31
35
 
32
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
36
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
33
37
 
34
38
  /** Shows the content on the specified window size. */
35
- var Visible =
36
- /*#__PURE__*/
37
- function (_React$Component) {
39
+ var Visible = /*#__PURE__*/function (_React$Component) {
38
40
  _inherits(Visible, _React$Component);
39
41
 
42
+ var _super = _createSuper(Visible);
43
+
40
44
  function Visible(props) {
41
45
  var _this;
42
46
 
43
47
  _classCallCheck(this, Visible);
44
48
 
45
- _this = _possibleConstructorReturn(this, _getPrototypeOf(Visible).call(this, props));
49
+ _this = _super.call(this, props);
46
50
  _this.state = {
47
51
  width: 0
48
52
  };
@@ -86,9 +90,9 @@ function (_React$Component) {
86
90
  lg = _this$props.lg;
87
91
 
88
92
  if (width >= _grid["default"].xxs && width < _grid["default"].sm && xs || width >= _grid["default"].sm && width < _grid["default"].md && sm || width >= _grid["default"].md && width < _grid["default"].lg && md || width >= _grid["default"].lg && lg) {
89
- return _react["default"].createElement("span", null, children);
93
+ return /*#__PURE__*/_react["default"].createElement("span", null, children);
90
94
  } else {
91
- return _react["default"].createElement("span", null);
95
+ return /*#__PURE__*/_react["default"].createElement("span", null);
92
96
  }
93
97
  }
94
98
  }]);
@@ -10,15 +10,15 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d
10
10
 
11
11
  describe("Visible", function () {
12
12
  it('matches the snapshot', function () {
13
- var wrapper = (0, _enzyme.shallow)(_react["default"].createElement(_Visible["default"], {
13
+ var wrapper = (0, _enzyme.shallow)( /*#__PURE__*/_react["default"].createElement(_Visible["default"], {
14
14
  xs: true
15
- }, _react["default"].createElement("div", null, "Text")));
15
+ }, /*#__PURE__*/_react["default"].createElement("div", null, "Text")));
16
16
  expect(wrapper).toMatchSnapshot();
17
17
  });
18
18
  it('shows content in xs', function () {
19
- var wrapper = (0, _enzyme.shallow)(_react["default"].createElement(_Visible["default"], {
19
+ var wrapper = (0, _enzyme.shallow)( /*#__PURE__*/_react["default"].createElement(_Visible["default"], {
20
20
  xs: true
21
- }, _react["default"].createElement("div", null, "Text")));
21
+ }, /*#__PURE__*/_react["default"].createElement("div", null, "Text")));
22
22
  wrapper.setState({
23
23
  width: 1200
24
24
  });
@@ -1,5 +1,7 @@
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); }
4
+
3
5
  Object.defineProperty(exports, "__esModule", {
4
6
  value: true
5
7
  });
@@ -11,9 +13,9 @@ var _grid = _interopRequireDefault(require("../subatomic/grid"));
11
13
 
12
14
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
15
 
14
- function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {}; if (desc.get || desc.set) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } } newObj["default"] = obj; return newObj; } }
16
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
15
17
 
16
- function _typeof(obj) { 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); }
18
+ 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; }
17
19
 
18
20
  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); }
19
21
 
@@ -23,28 +25,32 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
23
25
 
24
26
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
25
27
 
26
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
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); }
27
29
 
28
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
30
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
31
+
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
+
34
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
29
35
 
30
36
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
31
37
 
32
- 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); }
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; } }
33
39
 
34
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
40
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
35
41
 
36
42
  function _default(ComposedComponent) {
37
- var WindowSize =
38
- /*#__PURE__*/
39
- function (_Component) {
43
+ var WindowSize = /*#__PURE__*/function (_Component) {
40
44
  _inherits(WindowSize, _Component);
41
45
 
46
+ var _super = _createSuper(WindowSize);
47
+
42
48
  function WindowSize(props) {
43
49
  var _this;
44
50
 
45
51
  _classCallCheck(this, WindowSize);
46
52
 
47
- _this = _possibleConstructorReturn(this, _getPrototypeOf(WindowSize).call(this, props));
53
+ _this = _super.call(this, props);
48
54
  _this.state = {
49
55
  size: 'sm',
50
56
  winWidth: 0
@@ -79,7 +85,7 @@ function _default(ComposedComponent) {
79
85
  var _this$state = this.state,
80
86
  size = _this$state.size,
81
87
  winWidth = _this$state.winWidth;
82
- return _react["default"].createElement(ComposedComponent, _extends({}, this.props, {
88
+ return /*#__PURE__*/_react["default"].createElement(ComposedComponent, _extends({}, this.props, {
83
89
  size: size,
84
90
  winWidth: winWidth
85
91
  }));
@@ -12,13 +12,13 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d
12
12
 
13
13
  describe("WindowSize", function () {
14
14
  it('matches the snapshot', function () {
15
- var Component = (0, _WindowSize["default"])(_react["default"].createElement(_Button["default"], null, "Button"));
16
- var wrapper = (0, _enzyme.shallow)(_react["default"].createElement(Component, null));
15
+ var Component = (0, _WindowSize["default"])( /*#__PURE__*/_react["default"].createElement(_Button["default"], null, "Button"));
16
+ var wrapper = (0, _enzyme.shallow)( /*#__PURE__*/_react["default"].createElement(Component, null));
17
17
  expect(wrapper).toMatchSnapshot();
18
18
  });
19
19
  it('sets the size as medium', function () {
20
- var Component = (0, _WindowSize["default"])(_react["default"].createElement(_Button["default"], null, "Button"));
21
- var wrapper = (0, _enzyme.shallow)(_react["default"].createElement(Component, null));
20
+ var Component = (0, _WindowSize["default"])( /*#__PURE__*/_react["default"].createElement(_Button["default"], null, "Button"));
21
+ var wrapper = (0, _enzyme.shallow)( /*#__PURE__*/_react["default"].createElement(Component, null));
22
22
  expect(wrapper.prop('size')).toEqual('md');
23
23
  });
24
24
  });
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+
8
+ var _colors = _interopRequireDefault(require("../colors"));
9
+
10
+ var _spacing = _interopRequireDefault(require("../spacing"));
11
+
12
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
+
14
+ var _default = {
15
+ width: _spacing["default"].base,
16
+ height: _spacing["default"].base,
17
+ display: 'inline-block',
18
+ icon: function icon() {
19
+ var color = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [_colors["default"].grey900];
20
+ return "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\" viewBox=\"0 0 24 24\" style=\"enable-background:new 0 0 24 24;\" xml:space=\"preserve\">\n <path fill=\"".concat(color[0], "\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M6 6.39701C6 3.98553 7.92499 2 10.3362 2C12.7486 2 14.6724 3.98574 14.6724 6.39701V15.8084C14.6724 17.2771 13.4981 18.5 12.0117 18.5C10.5247 18.5 9.35005 17.2775 9.35005 15.8084V6.5571H11.3501V15.8084C11.3501 16.207 11.6631 16.5 12.0117 16.5C12.3589 16.5 12.6724 16.2075 12.6724 15.8084V6.39701C12.6724 5.05588 11.61 4 10.3362 4C9.06327 4 8 5.05609 8 6.39701V15.7673C8 18.0805 9.8421 20 12 20C14.1579 20 16 18.0805 16 15.7673V8.26467H18V15.7673C18 19.0785 15.3661 22 12 22C8.63389 22 6 19.0785 6 15.7673V6.39701Z\"/>\n </svg>");
21
+ }
22
+ };
23
+ exports["default"] = _default;
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+
8
+ var _colors = _interopRequireDefault(require("../colors"));
9
+
10
+ var _spacing = _interopRequireDefault(require("../spacing"));
11
+
12
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
+
14
+ var _default = {
15
+ width: _spacing["default"].base,
16
+ height: _spacing["default"].base,
17
+ display: 'inline-block',
18
+ icon: function icon() {
19
+ var color = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [_colors["default"].grey900];
20
+ return "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\" viewBox=\"0 0 24 24\" style=\"enable-background:new 0 0 24 24;\" xml:space=\"preserve\">\n <path fill=\"".concat(color[0], "\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5.75 6.39701C5.75 3.85171 7.78271 1.75 10.3362 1.75C12.891 1.75 14.9224 3.85197 14.9224 6.39701V15.8084C14.9224 17.4108 13.6405 18.75 12.0117 18.75C10.3824 18.75 9.10005 17.4113 9.10005 15.8084V6.5571H11.6001V15.8084C11.6001 16.0732 11.8054 16.25 12.0117 16.25C12.2165 16.25 12.4224 16.0738 12.4224 15.8084V6.39701C12.4224 5.18965 11.4676 4.25 10.3362 4.25C9.20555 4.25 8.25 5.18991 8.25 6.39701V15.7673C8.25 17.9558 9.99312 19.75 12 19.75C14.0069 19.75 15.75 17.9558 15.75 15.7673V8.26467H18.25V15.7673C18.25 19.2033 15.5171 22.25 12 22.25C8.48287 22.25 5.75 19.2033 5.75 15.7673V6.39701Z\"/>\n </svg>");
21
+ }
22
+ };
23
+ exports["default"] = _default;
@@ -17,7 +17,7 @@ var _default = {
17
17
  display: 'inline-block',
18
18
  icon: function icon() {
19
19
  var color = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [_colors["default"].grey900];
20
- return "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n \t viewBox=\"0 0 24 24\" style=\"enable-background:new 0 0 24 24;\" xml:space=\"preserve\">\n <path fill=\"".concat(color[0], "\" d=\"M18.3,4.3v8.3c0,0.7,0.5,1.2,1.3,1.2h1.1c0.7,0.1,1.2-0.6,1.2-1.2V4.3C22,3.6,21.4,3,20.7,3h-1.1\n \tC18.9,3,18.3,3.6,18.3,4.3\"/>\n <path fill=\"").concat(color[0], "\" d=\"M14,3H6.6C5.8,3,5.1,3.5,4.9,4.2l-2.8,6.3C2,10.7,2,10.9,2,11.2v1.8l0,0V13c0,1,0.8,1.8,1.8,1.8h4.9\n \tc0.4,0,0.8,0.4,0.7,0.9l-0.7,3.2v0.3c0,0.3,0.1,0.7,0.4,1l0.4,0.4c0.3,0.3,0.8,0.3,1,0l5.4-5.6c0.3-0.3,0.5-0.8,0.5-1.2V5.6\n \tC16.5,4.2,15.4,3,14,3\"/>\n </svg>");
20
+ return "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\" viewBox=\"0 0 24 24\" style=\"enable-background:new 0 0 24 24;\" xml:space=\"preserve\">\n <path fill=\"".concat(color[0], "\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M13.553 15.65v-2h5.516l.036-.052c.243-.341.663-.956.892-1.336a1.743 1.743 0 0 0-.052-.301l-.008-.027-.007-.026c-.413-1.567-1.328-4.995-1.728-6.345-.095-.322-.235-.48-.32-.556L17.874 5H9.115L9 5.083v9.277c.063.032.127.066.191.104.32.19.759.52 1.063 1.075.364.664.556 1.458.68 1.972l.019.076c.155.634.256 1.026.395 1.321.108.23.202.416.283.56.075.133.117.19.124.2v.002c.114.137.2.206.25.24a.408.408 0 0 0 .111.055c.073.023.107.024.33.031l.108.004c.343-.007.542-.132.702-.3a1.58 1.58 0 0 0 .297-.465V15.65zM8.751 3.032A2 2 0 0 0 7 2H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h3.753c.302.107.607.244.747.5.235.428.374 1 .518 1.595.14.571.283 1.163.521 1.667.238.504.467.93.675 1.182.843 1.02 1.695 1.04 2.208 1.053l.104.003c1.97 0 2.84-1.645 3.027-2.467V15.65h3.694c.78 0 1.317-.595 1.488-.892.274-.385.883-1.27 1.129-1.732.246-.462.103-1.277 0-1.627-.41-1.557-1.334-5.018-1.744-6.404C19.71 3.61 18.717 3.087 18.272 3H9.116a2 2 0 0 0-.364.033zm9.02 1.897.005.002-.004-.002zM4 14h3V4H4v10z\"/>\n </svg>");
21
21
  }
22
22
  };
23
23
  exports["default"] = _default;
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+
8
+ var _colors = _interopRequireDefault(require("../colors"));
9
+
10
+ var _spacing = _interopRequireDefault(require("../spacing"));
11
+
12
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
+
14
+ var _default = {
15
+ width: _spacing["default"].base,
16
+ height: _spacing["default"].base,
17
+ display: 'inline-block',
18
+ icon: function icon() {
19
+ var color = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [_colors["default"].grey900];
20
+ return "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\" viewBox=\"0 0 24 24\" style=\"enable-background:new 0 0 24 24;\" xml:space=\"preserve\">\n <path fill=\"".concat(color[0], "\" d=\"M5.61 4.475v8.3c0 .7-.5 1.2-1.3 1.2h-1.1c-.7.1-1.2-.6-1.2-1.2v-8.3c-.1-.7.5-1.3 1.2-1.3h1.1c.7 0 1.3.6 1.3 1.3zM9.911 3.175h7.4c.8 0 1.5.5 1.7 1.2l2.8 6.3c.1.2.1.4.1.7v1.8c0 1-.8 1.8-1.8 1.8h-4.9c-.4 0-.8.4-.7.9l.7 3.2v.3c0 .3-.1.7-.4 1l-.4.4c-.3.3-.8.3-1 0l-5.4-5.6c-.3-.3-.5-.8-.5-1.2v-8.2c-.1-1.4 1-2.6 2.4-2.6z\"/>\n </svg>");
21
+ }
22
+ };
23
+ exports["default"] = _default;
@@ -17,7 +17,7 @@ var _default = {
17
17
  display: 'inline-block',
18
18
  icon: function icon() {
19
19
  var color = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [_colors["default"].grey900];
20
- return "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n\t\t\t viewBox=\"0 0 24 24\" style=\"enable-background:new 0 0 24 24;\" xml:space=\"preserve\">\n\t\t<path fill=\"".concat(color[0], "\" d=\"M12,5c5,0,9.3,3.1,11,7.5c-1.7,4.4-6,7.5-11,7.5s-9.3-3.1-11-7.5C2.7,8.1,7,5,12,5z M12,16.5c2.2,0,4-1.8,4-4\n\t\t\ts-1.8-4-4-4s-4,1.8-4,4S9.8,16.5,12,16.5z\"/>\n\t\t</svg>");
20
+ return "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\" viewBox=\"0 0 24 24\" style=\"enable-background:new 0 0 24 24;\" xml:space=\"preserve\">\n <path fill=\"".concat(color[0], "\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M12 18C8.69048 18 5.60737 15.6947 4.12986 12C5.60737 8.30533 8.69048 6 12 6C15.3095 6 18.3926 8.30534 19.8701 12C18.3926 15.6947 15.3095 18 12 18ZM12 20C16.5455 20 20.4273 16.6827 22 12C20.4273 7.31733 16.5455 4 12 4C7.45455 4 3.57273 7.31733 2 12C3.57273 16.6827 7.45455 20 12 20ZM14 12C14 10.8963 13.1037 10 12 10C10.8963 10 10 10.8963 10 12C10 13.1037 10.8963 14 12 14C13.1037 14 14 13.1037 14 12ZM12 8C14.2083 8 16 9.79172 16 12C16 14.2083 14.2083 16 12 16C9.79172 16 8 14.2083 8 12C8 9.79172 9.79172 8 12 8Z\"/>\n </svg>");
21
21
  }
22
22
  };
23
23
  exports["default"] = _default;
@@ -17,7 +17,7 @@ var _default = {
17
17
  display: 'inline-block',
18
18
  icon: function icon() {
19
19
  var color = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [_colors["default"].grey900];
20
- return "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n\t\t\t viewBox=\"0 0 24 24\" style=\"enable-background:new 0 0 24 24;\" xml:space=\"preserve\">\n\t\t<path fill=\"".concat(color[0], "\" d=\"M12,22C6.5,22,2,17.5,2,12C2,6.5,6.5,2,12,2c5.5,0,10,4.5,10,10C22,17.5,17.5,22,12,22z M12,4c-4.4,0-8,3.6-8,8\n\t\t\ts3.6,8,8,8s8-3.6,8-8S16.4,4,12,4z\"/>\n\t\t<path fill=\"").concat(color[0], "\" d=\"M12,16c-2.3,0-4.4-1.6-4.9-3.8l1.9-0.5C9.4,13.1,10.6,14,12,14c1.4,0,2.5-0.9,2.9-2.3l1.9,0.6\n\t\t\tC16.2,14.5,14.3,16,12,16z\"/>\n\t\t<circle fill=\"").concat(color[0], "\" cx=\"8.5\" cy=\"8.5\" r=\"1.5\"/>\n\t\t<circle fill=\"").concat(color[0], "\" cx=\"15.5\" cy=\"8.5\" r=\"1.5\"/>\n\t\t</svg>");
20
+ return "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n\t\t\t viewBox=\"0 0 24 24\" style=\"enable-background:new 0 0 24 24;\" xml:space=\"preserve\">\n\t\t<path fill=\"".concat(color[0], "\" d=\"M12,5c5,0,9.3,3.1,11,7.5c-1.7,4.4-6,7.5-11,7.5s-9.3-3.1-11-7.5C2.7,8.1,7,5,12,5z M12,16.5c2.2,0,4-1.8,4-4\n\t\t\ts-1.8-4-4-4s-4,1.8-4,4S9.8,16.5,12,16.5z\"/>\n\t\t</svg>");
21
21
  }
22
22
  };
23
23
  exports["default"] = _default;
@@ -17,7 +17,7 @@ var _default = {
17
17
  display: 'inline-block',
18
18
  icon: function icon() {
19
19
  var color = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [_colors["default"].grey900];
20
- return "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n \t viewBox=\"0 0 24 24\" style=\"enable-background:new 0 0 24 24;\" xml:space=\"preserve\">\n <path fill=\"".concat(color[0], "\" d=\"M5.7,19.7v-8.3c0-0.7-0.6-1.2-1.3-1.2H3.2C2.6,10.1,2,10.7,2,11.4v8.3c0,0.7,0.5,1.2,1.3,1.2h1.1\n \tC5.1,21,5.7,20.4,5.7,19.7\"/>\n <path fill=\"").concat(color[0], "\" d=\"M10,21h7.4c0.8,0,1.4-0.4,1.7-1.1l2.8-6.3c0.1-0.2,0.1-0.4,0.1-0.7v-1.8l0,0V11c0-1-0.8-1.8-1.8-1.8h-4.9\n \tc-0.4,0-0.8-0.4-0.7-0.9l0.7-3.2V4.7c0-0.3-0.1-0.7-0.4-1l-0.4-0.4c-0.3-0.3-0.8-0.3-1,0L8,8.9c-0.3,0.3-0.6,0.8-0.6,1.2v8.3\n \tC7.4,19.8,8.6,21,10,21\"/>\n </svg>");
20
+ return "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\" viewBox=\"0 0 24 24\" style=\"enable-background:new 0 0 24 24;\" xml:space=\"preserve\">\n <path fill=\"".concat(color[0], "\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M13.553 8.35v2h5.516l.036.052c.243.341.663.956.892 1.336a1.743 1.743 0 0 1-.052.301l-.008.027-.007.026c-.413 1.567-1.328 4.995-1.728 6.345-.095.322-.235.48-.32.556l-.008.007H9.115L9 18.917V9.64a3.54 3.54 0 0 0 .191-.104 2.84 2.84 0 0 0 1.063-1.075c.364-.664.556-1.458.68-1.972l.019-.076c.155-.635.256-1.026.395-1.321a9.1 9.1 0 0 1 .283-.56c.075-.133.117-.19.124-.2V4.33c.114-.137.2-.206.25-.24a.408.408 0 0 1 .111-.055c.073-.023.107-.024.33-.031L12.554 4c.343.007.542.132.702.3.143.152.242.331.297.465V8.35zM8.751 20.968A2 2 0 0 1 7 22H4a2 2 0 0 1-2-2V10a2 2 0 0 1 2-2h3.753c.302-.107.607-.244.747-.5.235-.428.374-1 .518-1.595.14-.571.283-1.163.521-1.667.238-.504.467-.93.675-1.182.843-1.02 1.695-1.04 2.208-1.053L12.526 2c1.97 0 2.84 1.645 3.027 2.467V8.35h3.694c.78 0 1.317.595 1.488.892.274.385.883 1.27 1.129 1.732.246.462.103 1.277 0 1.627-.41 1.557-1.334 5.018-1.744 6.404-.41 1.385-1.403 1.907-1.848 1.994H9.116c-.122 0-.244-.011-.364-.033zm9.02-1.897.005-.002-.004.002zM4 10h3v10H4V10z\"/>\n </svg>");
21
21
  }
22
22
  };
23
23
  exports["default"] = _default;
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+
8
+ var _colors = _interopRequireDefault(require("../colors"));
9
+
10
+ var _spacing = _interopRequireDefault(require("../spacing"));
11
+
12
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
+
14
+ var _default = {
15
+ width: _spacing["default"].base,
16
+ height: _spacing["default"].base,
17
+ display: 'inline-block',
18
+ icon: function icon() {
19
+ var color = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [_colors["default"].grey900];
20
+ return "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n \t viewBox=\"0 0 24 24\" style=\"enable-background:new 0 0 24 24;\" xml:space=\"preserve\">\n <path fill=\"".concat(color[0], "\" d=\"M5.7,19.7v-8.3c0-0.7-0.6-1.2-1.3-1.2H3.2C2.6,10.1,2,10.7,2,11.4v8.3c0,0.7,0.5,1.2,1.3,1.2h1.1\n \tC5.1,21,5.7,20.4,5.7,19.7\"/>\n <path fill=\"").concat(color[0], "\" d=\"M10,21h7.4c0.8,0,1.4-0.4,1.7-1.1l2.8-6.3c0.1-0.2,0.1-0.4,0.1-0.7v-1.8l0,0V11c0-1-0.8-1.8-1.8-1.8h-4.9\n \tc-0.4,0-0.8-0.4-0.7-0.9l0.7-3.2V4.7c0-0.3-0.1-0.7-0.4-1l-0.4-0.4c-0.3-0.3-0.8-0.3-1,0L8,8.9c-0.3,0.3-0.6,0.8-0.6,1.2v8.3\n \tC7.4,19.8,8.6,21,10,21\"/>\n </svg>");
21
+ }
22
+ };
23
+ exports["default"] = _default;
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+
8
+ var _colors = _interopRequireDefault(require("../colors"));
9
+
10
+ var _spacing = _interopRequireDefault(require("../spacing"));
11
+
12
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
+
14
+ var _default = {
15
+ width: _spacing["default"].base,
16
+ height: _spacing["default"].base,
17
+ display: 'inline-block',
18
+ icon: function icon() {
19
+ var color = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [_colors["default"].grey900];
20
+ return "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\" viewBox=\"0 0 24 24\" style=\"enable-background:new 0 0 24 24;\" xml:space=\"preserve\">\n <path fill=\"".concat(color[0], "\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 12a2 2 0 1 1 4 0 2 2 0 0 1-4 0zm9-2a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm7 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4z\"/>\n </svg>");
21
+ }
22
+ };
23
+ exports["default"] = _default;
@@ -11,7 +11,9 @@ var _iconSizes = _interopRequireDefault(require("../iconSizes"));
11
11
 
12
12
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
13
 
14
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
14
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
15
+
16
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
15
17
 
16
18
  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; }
17
19
 
@@ -30,7 +32,7 @@ var sharedProperties = {
30
32
  display: 'inline-block'
31
33
  };
32
34
 
33
- var occDartBlack = _objectSpread({}, sharedProperties, {
35
+ var occDartBlack = _objectSpread(_objectSpread({}, sharedProperties), {}, {
34
36
  icon: function icon() {
35
37
  return _icon(ink);
36
38
  }
@@ -38,7 +40,7 @@ var occDartBlack = _objectSpread({}, sharedProperties, {
38
40
 
39
41
  exports.occDartBlack = occDartBlack;
40
42
 
41
- var occDartGrey = _objectSpread({}, sharedProperties, {
43
+ var occDartGrey = _objectSpread(_objectSpread({}, sharedProperties), {}, {
42
44
  icon: function icon() {
43
45
  return _icon(inkLight);
44
46
  }
@@ -46,7 +48,7 @@ var occDartGrey = _objectSpread({}, sharedProperties, {
46
48
 
47
49
  exports.occDartGrey = occDartGrey;
48
50
 
49
- var occDartWhite = _objectSpread({}, sharedProperties, {
51
+ var occDartWhite = _objectSpread(_objectSpread({}, sharedProperties), {}, {
50
52
  icon: function icon() {
51
53
  return _icon(white);
52
54
  }
@@ -54,7 +56,7 @@ var occDartWhite = _objectSpread({}, sharedProperties, {
54
56
 
55
57
  exports.occDartWhite = occDartWhite;
56
58
 
57
- var occDartBlue = _objectSpread({}, sharedProperties, {
59
+ var occDartBlue = _objectSpread(_objectSpread({}, sharedProperties), {}, {
58
60
  icon: function icon() {
59
61
  return _icon(brand);
60
62
  }
@@ -9,7 +9,9 @@ var _colors = _interopRequireDefault(require("../colors"));
9
9
 
10
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
11
 
12
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
12
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
13
+
14
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
13
15
 
14
16
  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; }
15
17
 
@@ -28,7 +30,7 @@ var sharedProperties = {
28
30
  display: 'inline-block'
29
31
  };
30
32
 
31
- var occHorizontalBlack = _objectSpread({}, sharedProperties, {
33
+ var occHorizontalBlack = _objectSpread(_objectSpread({}, sharedProperties), {}, {
32
34
  icon: function icon() {
33
35
  return _icon(ink);
34
36
  }
@@ -36,7 +38,7 @@ var occHorizontalBlack = _objectSpread({}, sharedProperties, {
36
38
 
37
39
  exports.occHorizontalBlack = occHorizontalBlack;
38
40
 
39
- var occHorizontalGrey = _objectSpread({}, sharedProperties, {
41
+ var occHorizontalGrey = _objectSpread(_objectSpread({}, sharedProperties), {}, {
40
42
  icon: function icon() {
41
43
  return _icon(inkLight);
42
44
  }
@@ -44,7 +46,7 @@ var occHorizontalGrey = _objectSpread({}, sharedProperties, {
44
46
 
45
47
  exports.occHorizontalGrey = occHorizontalGrey;
46
48
 
47
- var occHorizontalWhite = _objectSpread({}, sharedProperties, {
49
+ var occHorizontalWhite = _objectSpread(_objectSpread({}, sharedProperties), {}, {
48
50
  icon: function icon() {
49
51
  return _icon(white);
50
52
  }
@@ -52,7 +54,7 @@ var occHorizontalWhite = _objectSpread({}, sharedProperties, {
52
54
 
53
55
  exports.occHorizontalWhite = occHorizontalWhite;
54
56
 
55
- var occHorizontalBlue = _objectSpread({}, sharedProperties, {
57
+ var occHorizontalBlue = _objectSpread(_objectSpread({}, sharedProperties), {}, {
56
58
  icon: function icon() {
57
59
  return _icon(brand);
58
60
  }