pentonville 1.0.517 → 1.0.519
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.
- package/lib/index.js +16 -16
- package/package.json +9 -9
package/lib/index.js
CHANGED
@@ -34,30 +34,30 @@ var _react = _interopRequireWildcard(require("react"));
|
|
34
34
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
35
35
|
var _array = require("./array");
|
36
36
|
var _constants = require("./constants");
|
37
|
-
function _interopRequireDefault(
|
37
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
38
38
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
39
39
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
40
|
-
function _classCallCheck(
|
41
|
-
function _defineProperties(
|
42
|
-
function _createClass(
|
40
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
41
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
42
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
43
43
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
44
|
-
function _possibleConstructorReturn(
|
45
|
-
function _assertThisInitialized(
|
44
|
+
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
45
|
+
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
46
46
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
47
|
-
function _getPrototypeOf(
|
48
|
-
function _inherits(
|
49
|
-
function _setPrototypeOf(
|
50
|
-
function _defineProperty(
|
47
|
+
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
48
|
+
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
49
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
50
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
51
51
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
52
52
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
53
|
-
function _toArray(
|
54
|
-
function _iterableToArray(
|
55
|
-
function _slicedToArray(
|
53
|
+
function _toArray(r) { return _arrayWithHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableRest(); }
|
54
|
+
function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
|
55
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
56
56
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
57
|
-
function _unsupportedIterableToArray(
|
58
|
-
function _arrayLikeToArray(
|
57
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
58
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
59
59
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
60
|
-
function _arrayWithHoles(
|
60
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
61
61
|
var isKeyTab = function isKeyTab(_ref) {
|
62
62
|
var key = _ref.key;
|
63
63
|
return key === 'Tab';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "pentonville",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.519",
|
4
4
|
"description": "Pentonville",
|
5
5
|
"keywords": [
|
6
6
|
"Pentonville",
|
@@ -35,15 +35,15 @@
|
|
35
35
|
"prepare": "husky"
|
36
36
|
},
|
37
37
|
"devDependencies": {
|
38
|
-
"@babel/cli": "^7.24.
|
39
|
-
"@babel/core": "^7.24.
|
40
|
-
"@babel/eslint-parser": "^7.24.
|
41
|
-
"@babel/preset-env": "^7.24.
|
42
|
-
"@babel/preset-react": "^7.24.
|
43
|
-
"@babel/register": "^7.
|
44
|
-
"@sequencemedia/hooks": "^1.0.
|
38
|
+
"@babel/cli": "^7.24.6",
|
39
|
+
"@babel/core": "^7.24.6",
|
40
|
+
"@babel/eslint-parser": "^7.24.6",
|
41
|
+
"@babel/preset-env": "^7.24.6",
|
42
|
+
"@babel/preset-react": "^7.24.6",
|
43
|
+
"@babel/register": "^7.24.6",
|
44
|
+
"@sequencemedia/hooks": "^1.0.492",
|
45
45
|
"babel-plugin-module-resolver": "^5.0.2",
|
46
|
-
"core-js": "^3.37.
|
46
|
+
"core-js": "^3.37.1",
|
47
47
|
"eslint": "8.57.0",
|
48
48
|
"eslint-config-standard": "^17.1.0",
|
49
49
|
"eslint-import-resolver-babel-module": "^5.3.2",
|