@papillonbits/components 0.97.0 → 0.99.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.
@@ -7,21 +7,20 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.ErrorBoundary = void 0;
8
8
  var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
9
9
  var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
10
- var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
11
10
  var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));
12
11
  var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
12
+ var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
13
13
  var _react = require("react");
14
14
  var _ErrorBoundary = require("./ErrorBoundary.prop");
15
15
  var _jsxRuntime = require("react/jsx-runtime");
16
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; }
17
- 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; } } /* eslint-disable no-unused-vars, no-console */
16
+ function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2["default"])(o), (0, _possibleConstructorReturn2["default"])(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2["default"])(t).constructor) : o.apply(t, e)); }
17
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /* eslint-disable no-unused-vars, no-console */
18
18
  var ErrorBoundary = exports.ErrorBoundary = /*#__PURE__*/function (_Component) {
19
19
  (0, _inherits2["default"])(ErrorBoundary, _Component);
20
- var _super = _createSuper(ErrorBoundary);
21
20
  function ErrorBoundary(props) {
22
21
  var _this;
23
22
  (0, _classCallCheck2["default"])(this, ErrorBoundary);
24
- _this = _super.call(this, props);
23
+ _this = _callSuper(this, ErrorBoundary, [props]);
25
24
  _this.state = {
26
25
  hasError: false
27
26
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@papillonbits/components",
3
- "version": "0.97.0",
3
+ "version": "0.99.0",
4
4
  "description": "Papillon Bits Components",
5
5
  "homepage": "https://github.com/papillonbits/papillonbits/tree/master/packages/components",
6
6
  "repository": {
@@ -29,8 +29,8 @@
29
29
  "build-release": "npm run build"
30
30
  },
31
31
  "dependencies": {
32
- "@papillonbits/css": "^0.97.0",
33
- "@papillonbits/library": "^0.97.0"
32
+ "@papillonbits/css": "^0.99.0",
33
+ "@papillonbits/library": "^0.99.0"
34
34
  },
35
- "gitHead": "d58641a3e8c7f8c9750e07f621f08a6474f188c8"
35
+ "gitHead": "abb194bef37668293c17fc25cf67df5c4c8580a9"
36
36
  }