react-menu-list
Advanced tools
Comparing version 7.0.1 to 7.0.2
@@ -0,1 +1,9 @@ | ||
## 7.0.2 (2021-03-27) | ||
- Batch React updates during all event handling. | ||
## 6.1.1 (2021-03-27) | ||
- Batch React updates during all event handling. | ||
## 7.0.1 (2020-09-11) | ||
@@ -2,0 +10,0 @@ |
"use strict"; | ||
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); | ||
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); | ||
@@ -22,3 +24,3 @@ | ||
var _react = _interopRequireDefault(require("react")); | ||
var React = _interopRequireWildcard(require("react")); | ||
@@ -29,3 +31,3 @@ var _propTypes = _interopRequireDefault(require("prop-types")); | ||
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } } | ||
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; } } | ||
@@ -45,3 +47,3 @@ var Dropdown = /*#__PURE__*/function (_React$Component) { | ||
value: function render() { | ||
return /*#__PURE__*/_react["default"].createElement("div", { | ||
return /*#__PURE__*/React.createElement("div", { | ||
style: { | ||
@@ -57,3 +59,3 @@ background: 'white', | ||
return Dropdown; | ||
}(_react["default"].Component); | ||
}(React.Component); | ||
@@ -64,2 +66,2 @@ exports["default"] = Dropdown; | ||
}); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9Ecm9wZG93bi5qcyJdLCJuYW1lcyI6WyJEcm9wZG93biIsImJhY2tncm91bmQiLCJib3JkZXIiLCJib3hTaGFkb3ciLCJwYWRkaW5nIiwicHJvcHMiLCJja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L1xuXG5pbXBvcnQgKiBhcyBSZWFjdCBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdHlwZSB7Tm9kZSBhcyBSZWFjdE5vZGV9IGZyb20gJ3JlYWN0JztcbmltcG9ydCBQcm9wVHlwZXMgZnJvbSAncHJvcC10eXBlcyc7XG5cbnR5cGUgUHJvcHMgPSB7XG4gIGNoaWxkcmVuPzogUmVhY3ROb2RlLFxufTtcblxuZXhwb3J0IGRlZmF1bHQgY2xhc3MgRHJvcGRvd24gZXh0ZW5kcyBSZWFjdC5Db21wb25lbnQ8UHJvcHM+IHtcbiAgc3RhdGljIHByb3BUeXBlcyA9IHtcbiAgICBjaGlsZHJlbjogUHJvcFR5cGVzLm5vZGUsXG4gIH07XG5cbiAgcmVuZGVyKCkge1xuICAgIHJldHVybiAoXG4gICAgICA8ZGl2XG4gICAgICAgIHN0eWxlPXt7XG4gICAgICAgICAgYmFja2dyb3VuZDogJ3doaXRlJyxcbiAgICAgICAgICBib3JkZXI6ICcxcHggc29saWQgcmdiYSgwLDAsMCwuMiknLFxuICAgICAgICAgIGJveFNoYWRvdzogJzAgMnB4IDRweCByZ2JhKDAsMCwwLDAuMiknLFxuICAgICAgICAgIHBhZGRpbmc6ICc2cHggMCcsXG4gICAgICAgIH19XG4gICAgICA+XG4gICAgICAgIHt0aGlzLnByb3BzLmNoaWxkcmVufVxuICAgICAgPC9kaXY+XG4gICAgKTtcbiAgfVxufVxuIl19 |
@@ -26,3 +26,3 @@ "use strict"; | ||
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } } | ||
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; } } | ||
@@ -29,0 +29,0 @@ var ChosenEvent = /*#__PURE__*/function (_MenuEvent) { |
@@ -40,2 +40,2 @@ "use strict"; | ||
exports["default"] = MenuEvent; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9ldmVudHMvTWVudUV2ZW50LmpzIl0sIm5hbWVzIjpbIk1lbnVFdmVudCIsInR5cGUiLCJjYW5jZWxCdWJibGUiLCJkZWZhdWx0UHJldmVudGVkIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7SUFFcUJBLFM7QUFLbkIscUJBQVlDLElBQVosRUFBMEI7QUFBQTtBQUFBO0FBQUEsMkRBSEYsS0FHRTtBQUFBLCtEQUZFLEtBRUY7QUFDeEIsU0FBS0EsSUFBTCxHQUFZQSxJQUFaO0FBQ0Q7Ozs7c0NBRWlCO0FBQ2hCLFdBQUtDLFlBQUwsR0FBb0IsSUFBcEI7QUFDRDs7O3FDQUVnQjtBQUNmLFdBQUtDLGdCQUFMLEdBQXdCLElBQXhCO0FBQ0QiLCJzb3VyY2VzQ29udGVudCI6WyIvKiBAZmxvdyAqL1xuXG5leHBvcnQgZGVmYXVsdCBjbGFzcyBNZW51RXZlbnQge1xuICB0eXBlOiBzdHJpbmc7XG4gIGNhbmNlbEJ1YmJsZTogYm9vbGVhbiA9IGZhbHNlO1xuICBkZWZhdWx0UHJldmVudGVkOiBib29sZWFuID0gZmFsc2U7XG5cbiAgY29uc3RydWN0b3IodHlwZTogc3RyaW5nKSB7XG4gICAgdGhpcy50eXBlID0gdHlwZTtcbiAgfVxuXG4gIHN0b3BQcm9wYWdhdGlvbigpIHtcbiAgICB0aGlzLmNhbmNlbEJ1YmJsZSA9IHRydWU7XG4gIH1cblxuICBwcmV2ZW50RGVmYXVsdCgpIHtcbiAgICB0aGlzLmRlZmF1bHRQcmV2ZW50ZWQgPSB0cnVlO1xuICB9XG59XG4iXX0= | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9ldmVudHMvTWVudUV2ZW50LmpzIl0sIm5hbWVzIjpbIk1lbnVFdmVudCIsInR5cGUiLCJjYW5jZWxCdWJibGUiLCJkZWZhdWx0UHJldmVudGVkIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7SUFFcUJBLFM7QUFLbkIscUJBQVlDLElBQVosRUFBMEI7QUFBQTtBQUFBO0FBQUEsMkRBSEYsS0FHRTtBQUFBLCtEQUZFLEtBRUY7QUFDeEIsU0FBS0EsSUFBTCxHQUFZQSxJQUFaO0FBQ0Q7Ozs7V0FFRCwyQkFBa0I7QUFDaEIsV0FBS0MsWUFBTCxHQUFvQixJQUFwQjtBQUNEOzs7V0FFRCwwQkFBaUI7QUFDZixXQUFLQyxnQkFBTCxHQUF3QixJQUF4QjtBQUNEIiwic291cmNlc0NvbnRlbnQiOlsiLyogQGZsb3cgKi9cblxuZXhwb3J0IGRlZmF1bHQgY2xhc3MgTWVudUV2ZW50IHtcbiAgdHlwZTogc3RyaW5nO1xuICBjYW5jZWxCdWJibGU6IGJvb2xlYW4gPSBmYWxzZTtcbiAgZGVmYXVsdFByZXZlbnRlZDogYm9vbGVhbiA9IGZhbHNlO1xuXG4gIGNvbnN0cnVjdG9yKHR5cGU6IHN0cmluZykge1xuICAgIHRoaXMudHlwZSA9IHR5cGU7XG4gIH1cblxuICBzdG9wUHJvcGFnYXRpb24oKSB7XG4gICAgdGhpcy5jYW5jZWxCdWJibGUgPSB0cnVlO1xuICB9XG5cbiAgcHJldmVudERlZmF1bHQoKSB7XG4gICAgdGhpcy5kZWZhdWx0UHJldmVudGVkID0gdHJ1ZTtcbiAgfVxufVxuIl19 |
@@ -28,2 +28,4 @@ "use strict"; | ||
var ReactDOM = _interopRequireWildcard(require("react-dom")); | ||
var _propTypes = _interopRequireDefault(require("prop-types")); | ||
@@ -55,3 +57,3 @@ | ||
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } } | ||
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; } } | ||
@@ -157,3 +159,5 @@ var MenuButton = /*#__PURE__*/function (_React$Component) { | ||
})]).takeUntilBy(this._onClose).onValue(function () { | ||
_this2.close(); | ||
ReactDOM.unstable_batchedUpdates(function () { | ||
_this2.close(); | ||
}); | ||
}); | ||
@@ -268,2 +272,2 @@ | ||
}); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9NZW51QnV0dG9uLmpzIl0sIm5hbWVzIjpbIk1lbnVCdXR0b24iLCJvcGVuZWQiLCJSZWFjdCIsImNyZWF0ZVJlZiIsImUiLCJidXR0b24iLCJ0b2dnbGUiLCJrZXkiLCJkb21SZWYiLCJvbktleVByZXNzIiwib25Nb3VzZURvd24iLCJwcm9wcyIsIm9wZW5lZFN0eWxlIiwib3BlbmVkQ2xhc3NOYW1lIiwic3R5bGUiLCJjbGFzc05hbWUiLCJkaXNhYmxlZCIsInRpdGxlIiwiY2hpbGRyZW4iLCJzdGF0ZSIsIlByb21pc2UiLCJyZXNvbHZlIiwib25XaWxsT3BlbiIsIktlZmlyIiwibWVyZ2UiLCJ3aW5kb3ciLCJmaWx0ZXIiLCJlbCIsIl9hbmNob3JSZWYiLCJGbG9hdEFuY2hvciIsInBhcmVudE5vZGVzIiwidGFyZ2V0Iiwibm9kZSIsImZyb21FdmVudHMiLCJ3aGljaCIsIm1hcCIsInByZXZlbnREZWZhdWx0Iiwic3Rvc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1cbiAgICAgICAgdGl0bGU9e3RoaXMucHJvcHMudGl0bGV9XG4gICAgICA+XG4gICAgICAgIHt0aGlzLnByb3BzLmNoaWxkcmVufVxuICAgICAgPC9idXR0b24+XG4gICAgKTtcbiAgfTtcblxuICBjb21wb25lbnRXaWxsVW5tb3VudCgpIHtcbiAgICB0aGlzLl9vbkNsb3NlLmVtaXQoKTtcbiAgfVxuXG4gIHJlbmRlcigpIHtcbiAgICBjb25zdCB7bWVudSwgcG9zaXRpb25PcHRpb25zLCBtZW51WkluZGV4fSA9IHRoaXMucHJvcHM7XG4gICAgY29uc3Qge29wZW5lZH0gPSB0aGlzLnN0YXRlO1xuXG4gICAgY29uc3QgcmVuZGVyQnV0dG9uID0gdGhpcy5wcm9wcy5yZW5kZXJCdXR0b24gfHwgdGhpcy5fZGVmYXVsdFJlbmRlckJ1dHRvbjtcblxuICAgIHJldHVybiAoXG4gICAgICA8RmxvYXRBbmNob3JcbiAgICAgICAgcGFyZW50RWxlbWVudD17dGhpcy5wcm9wcy5tZW51UGFyZW50RWxlbWVudH1cbiAgICAgICAgcmVmPXt0aGlzLl9mbG9hdEFuY2hvclJlZn1cbiAgICAgICAgb3B0aW9ucz17cG9zaXRpb25PcHRpb25zfVxuICAgICAgICB6SW5kZXg9e21lbnVaSW5kZXh9XG4gICAgICAgIGFuY2hvcj17YW5jaG9yUmVmID0+XG4gICAgICAgICAgcmVuZGVyQnV0dG9uKFxuICAgICAgICAgICAgZWwgPT4gdGhpcy5fc2V0UmVmKGVsLCBhbmNob3JSZWYpLFxuICAgICAgICAgICAgb3BlbmVkLFxuICAgICAgICAgICAgdGhpcy5fb25LZXlQcmVzcyxcbiAgICAgICAgICAgIHRoaXMuX29uTW91c2VEb3duXG4gICAgICAgICAgKVxuICAgICAgICB9XG4gICAgICAgIGZsb2F0PXtcbiAgICAgICAgICAhb3BlbmVkID8gbnVsbCA6IChcbiAgICAgICAgICAgIDxNZW51TGlzdEluc3BlY3RvciBvbkl0ZW1DaG9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B0aGVcbiAgICAvLyBkcm9wZG93bi5cbiAgICBLZWZpci5tZXJnZShbXG4gICAgICBLZWZpci5tZXJnZShbXG4gICAgICAgIGZyb21FdmVudHNDYXB0dXJlKHdpbmRvdywgJ21vdXNlZG93bicpLFxuICAgICAgICBmcm9tRXZlbnRzQ2FwdHVyZSh3aW5kb3csICdmb2N1cycpLFxuICAgICAgXSkuZmlsdGVyKGUgPT4ge1xuICAgICAgICBjb25zdCBlbCA9IHRoaXMuX2FuY2hvclJlZjtcbiAgICAgICAgZm9yIChsZXQgbm9kZSBvZiBGbG9hdEFuY2hvci5wYXJlbnROb2RlcyhlLnRhcmdldCkpIHtcbiAgICAgICAgICBpZiAobm9kZSA9PT0gZWwpIHJldHVybiBmYWxzZTtcbiAgICAgICAgfVxuICAgICAgICByZXR1cm4gdHJ1ZTtcbiAgICAgIH0pLFxuICAgICAgS2VmaXIuZnJvbUV2ZW50cyh3aW5kb3csICdrZXlkb3duJylcbiAgICAgICAgLmZpbHRlcihlID0+IChlLmtleSA/IGUua2V5ID09PSAnRXNjYXBlJyA6IGUud2hpY2ggPT09IDI3KSlcbiAgICAgICAgLm1hcChlID0+IHtcbiAgICAgICAgICBlLnByZXZlbnREZWZhdWx0KCk7XG4gICAgICAgICAgZS5zdG9wUHJvcGFnYXRpb24oKTtcbiAgICAgICAgfSksXG4gICAgXSlcbiAgICAgIC50YWtlVW50aWxCeSh0aGlzLl9vbkNsb3NlKVxuICAgICAgLm9uVmFsdWUoKCkgPT4ge1xuICAgICAgICBSZWFjdERPTS51bnN0YWJsZV9iYXRjaGVkVXBkYXRlcygoKSA9PiB7XG4gICAgICAgICAgdGhpcy5jbG9zZSgpO1xuICAgICAgICB9KTtcbiAgICAgIH0pO1xuXG4gICAgcmV0dXJuIG5ldyBQcm9taXNlKHJlc29sdmUgPT4ge1xuICAgICAgdGhpcy5zZXRTdGF0ZSh7b3BlbmVkOiB0cnVlfSwgKCkgPT4ge1xuICAgICAgICBpZiAodGhpcy5wcm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gIW9wZW5lZCA/IG51bGwgOiAoXG4gICAgICAgICAgICA8TWVudUxpc3RJbnNwZWN0b3Igb25JdGVtQ2hvc2VuPXsoKSA9PiB0aGlzLl9pdGVtQ2hvc2VuKCl9PlxuICAgICAgICAgICAgICB7bWVudX1cbiAgICAgICAgICAgIDwvTWVudUxpc3RJbnNwZWN0b3I+XG4gICAgICAgICAgKVxuICAgICAgICB9XG4gICAgICAvPlxuICAgICk7XG4gIH1cbn1cbiJdfQ== |
"use strict"; | ||
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); | ||
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); | ||
@@ -24,3 +26,3 @@ | ||
var _react = _interopRequireDefault(require("react")); | ||
var React = _interopRequireWildcard(require("react")); | ||
@@ -41,3 +43,3 @@ var _propTypes = _interopRequireDefault(require("prop-types")); | ||
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } } | ||
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; } } | ||
@@ -202,3 +204,3 @@ var MenuItem = /*#__PURE__*/function (_React$Component) { | ||
return /*#__PURE__*/_react["default"].createElement("div", { | ||
return /*#__PURE__*/React.createElement("div", { | ||
ref: this._elSetter, | ||
@@ -223,3 +225,3 @@ style: style, | ||
return MenuItem; | ||
}(_react["default"].Component); | ||
}(React.Component); | ||
@@ -244,2 +246,2 @@ exports["default"] = MenuItem; | ||
(0, _defineProperty2["default"])(MenuItem, "contextType", _MenuList.MenuListContext); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL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AgICAgICAgICBjb25zdCBlbCA9IHRoaXMuX2VsO1xuICAgICAgICAgICAgICAvKjo6IGlmICghZWwpIHRocm93IG5ldyBFcnJvcigpOyAqL1xuICAgICAgICAgICAgICBpZiAodHlwZW9mIChlbDogYW55KS5zY3JvbGxJbnRvVmlld0lmTmVlZGVkID09PSAnZnVuY3Rpb24nKSB7XG4gICAgICAgICAgICAgICAgKGVsOiBhbnkpLnNjcm9sbEludG9WaWV3SWZOZWVkZWQoKTtcbiAgICAgICAgICAgICAgfSBlbHNlIGlmIChlbC5zY3JvbGxJbnRvVmlldykge1xuICAgICAgICAgICAgICAgIGVsLnNjcm9sbEludG9WaWV3KCk7XG4gICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9KTtcbiAgICAgICAgICBpZiAodGhpcy5wcm9wcy5vbkhpZ2hsaWdodENoYW5nZSkge1xuICAgICAgICAgICAgdGhpcy5wcm9wcy5vbkhpZ2hsaWdodENoYW5nZShoaWdobGlnaHRlZCwge1xuICAgICAgICAgICAgICBieUtleWJvYXJkOiBieUtleWJvYXJkID09IG51bGwgPyB1bmRlZmluZWQgOiBieUtleWJvYXJkLFxuICAgICAgICAgICAgICBwcmV2Q3Vyc29yTG9jYXRpb246XG4gICAgICAgICAgICAgICAgcHJldkN1cnNvckxvY2F0aW9uID09IG51bGwgPyB1bmRlZmluZWQgOiBwcmV2Q3Vyc29yTG9jYXRpb24sXG4gICAgICAgICAgICAgIGRpcmVjdGlvbjogZGlyZWN0aW9uID09IG51bGwgPyB1bmRlZmluZWQgOiBkaXJlY3Rpb24sXG4gICAgICAgICAgICB9KTtcbiAgICAgICAgICB9XG4gICAgICAgIH0sXG4gICAgICAgIG5vdGlmeUV2ZW50OiAoZXZlbnQ6IE1lbnVFdmVudCkgPT4ge1xuICAgICAgICAgIHN3aXRjaCAoZXZlbnQudHlwZSkge1xuICAgICAgICAgICAgY2FzZSAnY2hvc2VuJzpcbiAgICAgICAgICAgICAgLyo6OiB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HRoaXMucHJvcHMuaGlnaGxpZ2h0ZWRTdHlsZSkge1xuICAgICAgICBzdHlsZSA9IHsuLi5zdHlsZSwgLi4udGhpcy5wcm9wcy5oaWdobGlnaHRlZFN0eWxlfTtcbiAgICAgIH1cbiAgICAgIGlmICh0aGlzLnByb3BzLmhpZ2hsaWdodGVkQ2xhc3NOYW1lKSB7XG4gICAgICAgIGNsYXNzTmFtZSA9IGAke2NsYXNzTmFtZSB8fCAnJ30gJHt0aGlzLnByb3BzLmhpZ2hsaWdodGVkQ2xhc3NOYW1lfWA7XG4gICAgICB9XG4gICAgfVxuXG4gICAgcmV0dXJuIChcbiAgICAgIDxkaXZcbiAgICAgICAgcmVmPXt0aGlzLl9lbFNldHRlcn1cbiAgICAgICAgc3R5bGU9e3N0eWxlfVxuICAgICAgICBjbGFzc05hbWU9e2NsYXNzTmFtZX1cbiAgICAgICAgb25DbGljaz17KCkgPT4gdGhpcy5fbWVudUxpc3RIYW5kbGUuaXRlbUNob3NlbigpfVxuICAgICAgICBvbk1vdXNlRW50ZXI9eygpID0+IHRoaXMuaGlnaGxpZ2h0KGZhbHNlKX1cbiAgICAgICAgb25Nb3VzZUxlYXZlPXtvbk1vdXNlTGVhdmUgfHwgKCgpID0+IHRoaXMudW5oaWdobGlnaHQoKSl9XG4gICAgICAgIHJvbGU9XCJtZW51aXRlbVwiXG4gICAgICAgIGFyaWEtaGFzcG9wdXA9e3RoaXMucHJvcHNbJ2FyaWEtaGFzcG9wdXAnXX1cbiAgICAgICAgYXJpYS1leHBhbmRlZD17dGhpcy5wcm9wc1snYXJpYS1leHBhbmRlZCddfVxuICAgICAgPlxuICAgICAgICB7Y2hpbGRyZW59XG4gICAgICA8L2Rpdj5cbiAgICApO1xuICB9XG59XG4iXX0= | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9NZW51SXRlbS5qcyJdLCJuYW1lcyI6WyJNZW51SXRlbSI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Ym9hcmQpIHtcbiAgICAgICAgICAgICAgY29uc3QgZWwgPSB0aGlzLl9lbDtcbiAgICAgICAgICAgICAgLyo6OiBpZiAoIWVsKSB0aHJvdyBuZXcgRXJyb3IoKTsgKi9cbiAgICAgICAgICAgICAgaWYgKHR5cGVvZiAoZWw6IGFueSkuc2Nyb2xsSW50b1ZpZXdJZk5lZWRlZCA9PT0gJ2Z1bmN0aW9uJykge1xuICAgICAgICAgICAgICAgIChlbDogYW55KS5zY3JvbGxJbnRvVmlld0lmTmVlZGVkKCk7XG4gICAgICAgICAgICAgIH0gZWxzZSBpZiAoZWwuc2Nyb2xsSW50b1ZpZXcpIHtcbiAgICAgICAgICAgICAgICBlbC5zY3JvbGxJbnRvVmlldygpO1xuICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgICAgfSk7XG4gICAgICAgICAgaWYgKHRoaXMucHJvcHMub25IaWdobGlnaHRDaGFuZ2UpIHtcbiAgICAgICAgICAgIHRoaXMucHJvcHMub25IaWdobGlnaHRDaGFuZ2UoaGlnaGxpZ2h0ZWQsIHtcbiAgICAgICAgICAgICAgYnlLZXlib2FyZDogYnlLZXlib2FyZCA9PSBudWxsID8gdW5kZWZpbmVkIDogYnlLZXlib2FyZCxcbiAgICAgICAgICAgICAgcHJldkN1cnNvckxvY2F0aW9uOlxuICAgICAgICAgICAgICAgIHByZXZDdXJzb3JMb2NhdGlvbiA9PSBudWxsID8gdW5kZWZpbmVkIDogcHJldkN1cnNvckxvY2F0aW9uLFxuICAgICAgICAgICAgICBkaXJlY3Rpb246IGRpcmVjdGlvbiA9PSBudWxsID8gdW5kZWZpbmVkIDogZGlyZWN0aW9uLFxuICAgICAgICAgICAgfSk7XG4gICAgICAgICAgfVxuICAgICAgICB9LFxuICAgICAgICBub3RpZnlFdmVudDogKGV2ZW50OiBNZW51RXZlbnQpID0+IHtcbiAgICAgICAgICBzd2l0Y2ggKGV2ZW50LnR5cGUpIHtcbiAgICAgICAgICAgIGNhc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ZTtcbiAgICBpZiAoaGlnaGxpZ2h0ZWQpIHtcbiAgICAgIGlmICh0aGlzLnByb3BzLmhpZ2hsaWdodGVkU3R5bGUpIHtcbiAgICAgICAgc3R5bGUgPSB7Li4uc3R5bGUsIC4uLnRoaXMucHJvcHMuaGlnaGxpZ2h0ZWRTdHlsZX07XG4gICAgICB9XG4gICAgICBpZiAodGhpcy5wcm9wcy5oaWdobGlnaHRlZENsYXNzTmFtZSkge1xuICAgICAgICBjbGFzc05hbWUgPSBgJHtjbGFzc05hbWUgfHwgJyd9ICR7dGhpcy5wcm9wcy5oaWdobGlnaHRlZENsYXNzTmFtZX1gO1xuICAgICAgfVxuICAgIH1cblxuICAgIHJldHVybiAoXG4gICAgICA8ZGl2XG4gICAgICAgIHJlZj17dGhpcy5fZWxTZXR0ZXJ9XG4gICAgICAgIHN0eWxlPXtzdHlsZX1cbiAgICAgICAgY2xhc3NOYW1lPXtjbGFzc05hbWV9XG4gICAgICAgIG9uQ2xpY2s9eygpID0+IHRoaXMuX21lbnVMaXN0SGFuZGxlLml0ZW1DaG9zZW4oKX1cbiAgICAgICAgb25Nb3VzZUVudGVyPXsoKSA9PiB0aGlzLmhpZ2hsaWdodChmYWxzZSl9XG4gICAgICAgIG9uTW91c2VMZWF2ZT17b25Nb3VzZUxlYXZlIHx8ICgoKSA9PiB0aGlzLnVuaGlnaGxpZ2h0KCkpfVxuICAgICAgICByb2xlPVwibWVudWl0ZW1cIlxuICAgICAgICBhcmlhLWhhc3BvcHVwPXt0aGlzLnByb3BzWydhcmlhLWhhc3BvcHVwJ119XG4gICAgICAgIGFyaWEtZXhwYW5kZWQ9e3RoaXMucHJvcHNbJ2FyaWEtZXhwYW5kZWQnXX1cbiAgICAgID5cbiAgICAgICAge2NoaWxkcmVufVxuICAgICAgPC9kaXY+XG4gICAgKTtcbiAgfVxufVxuIl19 |
"use strict"; | ||
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); | ||
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); | ||
@@ -24,4 +26,6 @@ | ||
var _react = _interopRequireDefault(require("react")); | ||
var React = _interopRequireWildcard(require("react")); | ||
var ReactDOM = _interopRequireWildcard(require("react-dom")); | ||
var _propTypes = _interopRequireDefault(require("prop-types")); | ||
@@ -45,6 +49,5 @@ | ||
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } } | ||
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; } } | ||
var MenuListContext = /*#__PURE__*/_react["default"].createContext(null); | ||
var MenuListContext = /*#__PURE__*/React.createContext(null); | ||
exports.MenuListContext = MenuListContext; | ||
@@ -72,3 +75,3 @@ | ||
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "_keyboardTakenByIndex", void 0); | ||
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "_elRef", /*#__PURE__*/_react["default"].createRef()); | ||
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "_elRef", /*#__PURE__*/React.createRef()); | ||
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "_menuListContext", { | ||
@@ -255,3 +258,5 @@ registerItem: function registerItem(props, control, el) { | ||
})]).takeUntilBy(this._stopper).onValue(function (event) { | ||
return _this2._key(event); | ||
ReactDOM.unstable_batchedUpdates(function () { | ||
_this2._key(event); | ||
}); | ||
}); | ||
@@ -457,6 +462,6 @@ | ||
value: function render() { | ||
return /*#__PURE__*/_react["default"].createElement("div", { | ||
return /*#__PURE__*/React.createElement("div", { | ||
role: "menu", | ||
ref: this._elRef | ||
}, /*#__PURE__*/_react["default"].createElement(MenuListContext.Provider, { | ||
}, /*#__PURE__*/React.createElement(MenuListContext.Provider, { | ||
value: this._menuListContext | ||
@@ -467,3 +472,3 @@ }, this.props.children)); | ||
return MenuList; | ||
}(_react["default"].Component); | ||
}(React.Component); | ||
@@ -478,2 +483,2 @@ exports["default"] = MenuList; | ||
(0, _defineProperty2["default"])(MenuList, "contextType", _MenuListInspector.MenuListInspectorContext); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9NZW51TGlzdC5qcyJdLCJuYW1lcyI6WyJNZW51TGlzdENvbnRleHQiLCJSZWFjdCIsImNyZWF0ZUNvbnRleHQiLCJNZW51TGlzdCIsImNyZWF0ZVJlZiIsInJlZ2lzdGVySXRlbSIsInByb3BzIiwiY29udHJvbCIsImVsIiwiaXRlbSIsInJlZ2lzdGVyIiwiaSIsImluZGV4IiwiX2xpc3RJdGVtcyIsIl9pdGVtIiwiY29tcGFyZURvY3VtZW50UG9zaXRpb24iLCJOb2RlIiwiRE9DVU1FTlRfUE9TSVRJT05fUFJFQ0VESU5HIiwicHVzaCIsInNwbGljZSIsIl9uYXR1cmFsSGlnaGxpZ2h0ZWRJbmRleCIsIl9sb2NrZWRIaWdobGlnaHRlZEluZGV4IiwiX2tleWJvYXJkVGFrZW5CeUluZGV4IiwibWVudUxpc3RIYW5kbGUiLCJoaWdobGlnaHQiLCJieUtleWJvYXJkIiwiaW5kZXhPZiIsIkVycm9yIiwiX25hdHVyYWxIaWdobGlnaHQiLCJ1bmhpZ2hsaWdodCIsIml0ZW1DaG9zZW4iLCJfZGlzcGF0Y2hFdmVudCIsIkNob3NlbkV2ZW50IiwidGFrZUtleWJvYXJkIiwicmVsZWFzZUtleWJvYXJkIiwibG9ja0hpZ2hsaWdodCIsIl9sb2NrSGlnaGxpZ2h0IiwidW5sb2NrSGlnaGxpZ2h0IiwibW92ZUN1cnNvciIsImRpcmVjdGlvbiIsInByZXZDdXJzb3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E1lbnVJdGVtUHJvcHMpID0+IHtcbiAgICAgICAgICBpZiAoaXRlbS5wcm9wcy5pbmRleCAhPT0gbmV3UHJvcHMuaW5kZXgpIHtcbiAgICAgICAgICAgIGNvbnN0IG9sZEluZGV4ID0gdGhpcy5fbGlzdEl0ZW1zLmluZGV4T2YoaXRlbSk7XG4gICAgICAgICAgICBjb25zdCBpc05hdHVyYWxIaWdobGlnaHRJbmRleCA9XG4gICAgICAgICAgICAgIHRoaXMuX25hdHVyYWxIaWdobGlnaHRlZEluZGV4ID09PSBvbGRJbmRleDtcbiAgICAgICAgICAgIGNvbnN0IGlzTG9ja2VkSGlnaGxpZ2h0SW5kZXggPVxuICAgICAgICAgICAgICB0aGlzLl9sb2NrZWRIaWdobGlnaHRlZEluZGV4ID09PSBvbGRJbmRleDtcbiAgICAgICAgICAgIGNvbnN0IGlzS2V5Ym9hcmRUYWtlbkJ5SW5kZXggPVxuICAgICAgICAgICAgICB0aGlzLl9rZXlib2FyZFRha2VuQnlJbmRleCA9PT0gb2xkSW5kZXg7XG5cbiAgICAgICAgICAgIG1lbnVMaXN0SGFuZGxlLnVucmVnaXN0ZXIoKTtcbiAgICAgICAgICAgIHByb3BzID0gbmV3UHJvcHM7XG4gICAgICAgICAgICBpdGVtLnByb3BzID0gbmV3UHJvcHM7XG4gICAgICAgICAgICByZWdpc3RlcigpO1xuXG4gICAgICAgICAgICBpZiAoXG4gICAgICAgICAgICAgIGlzTmF0dXJhbEhpZ2hsaWdodEluZGV4IHx8XG4gICAgICAgICAgICAgIGlzTG9ja2VkSGlnaGxpZ2h0SW5kZXggfHxcbiAgICAgICAgICAgICAgaXNLZXlib2FyZFRha2VuQnlJbmRleFxuICAgICAgICAgICAgKSB7XG4gICAgICAgICAgICAgIGNvbnN0IG5ld0luZGV4ID0gdGhpcy5fbGlzdEl0ZW1zLmluZGV4T2YoaXRlbSk7XG4gICAgICAgICAgICAgIGlmIChpc05hdHVyYWxIaWdobGlnaHRJbmRleClcbiAgICAg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GluIHBsYWNlLCBzbyB0aGF0IHRoZXkgYWN0IGZyb20gdGhlIGxhc3RcbiAgICAvLyBuYXR1cmFsbHktc2VsZWN0ZWQgaXRlbS5cblxuICAgIGxldCBtRXZlbnQgPSBudWxsO1xuXG4gICAgc3dpdGNoIChldmVudC53aGljaCkge1xuICAgICAgY2FzZSAxMzogLy9lbnRlclxuICAgICAgICBpZiAodmlzaWJsZUhpZ2hsaWdodGVkSW5kZXggIT0gbnVsbCkge1xuICAgICAgICAgIG1FdmVudCA9IG5ldyBDaG9zZW5FdmVudCgnY2hvc2VuJywgdHJ1ZSk7XG4gICAgICAgICAgZXZlbnQucHJldmVudERlZmF1bHQoKTtcbiAgICAgICAgICBldmVudC5zdG9wUHJvcGFnYXRpb24oKTtcbiAgICAgICAgfVxuICAgICAgICBicmVhaztcbiAgICAgIGNhc2UgMzc6IC8vbGVmdFxuICAgICAgICBpZiAodmlzaWJsZUhpZ2hsaWdodGVkSW5kZXggIT0gbnVsbCkge1xuICAgICAgICAgIG1FdmVudCA9IG5ldyBNZW51RXZlbnQoJ2xlZnQnKTtcbiAgICAgICAgfVxuICAgICAgICBicmVhaztcbiAgICAgIGNhc2UgMzk6IC8vcmlnaHRcbiAgICAgICAgaWYgKHZpc2libGVIaWdobGlnaHRlZEluZGV4ICE9IG51bGwpIHtcbiAgICAgICAgICBtRXZlbnQgPSBuZXcgTWVudUV2ZW50KCdyaWdodCcpO1xuICAgICAgICB9XG4gICAgICAgIGJyZWFrO1xuICAgICAgY2FzZSAzODogLy91cFxuICAgICAgICBldmVudC5wcmV2ZW50RGVmYXVsdCgpO1xuICAgICAgICBldmVudC5zdG9wUHJvcGFnYXRpb24oKTtcbiAgICAgICAgdGhpcy5tb3ZlQ3Vyc29yKCd1cCcpO1xuICAgICAgICBicmVhaztcbiAgICAgIGNhc2UgNDA6IC8vZG93blxuICAgICAgICBldmVudC5wcmV2ZW50RGVmYXVsdCgpO1xuICAgICAgICBldmVudC5zdG9wUHJvcGFnYXR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W0uZWwpICZcbiAgICAgICAgICAgICAgICBOb2RlLkRPQ1VNRU5UX1BPU0lUSU9OX1BSRUNFRElORykgPT09XG4gICAgICAgICAgICAgIDBcbiAgICAgICAgICApO1xuICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgIGkgPSBmaW5kSW5kZXgoXG4gICAgICAgICAgICB0aGlzLl9saXN0SXRlbXMsXG4gICAgICAgICAgICBfaXRlbSA9PlxuICAgICAgICAgICAgICBfaXRlbS5wcm9wcy5pbmRleCAhPSBudWxsICYmIGl0ZW0ucHJvcHMuaW5kZXggPCBfaXRlbS5wcm9wcy5pbmRleFxuICAgICAgICAgICk7XG4gICAgICAgIH1cbiAgICAgICAgaWYgKGkgPCAwKSB7XG4gICAgICAgICAgdGhpcy5fbGlzdEl0ZW1zLnB1c2goaXRlbSk7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgdGhpcy5fbGlzdEl0ZW1zLnNwbGljZShpLCAwLCBpdGVtKTtcbiAgICAgICAgICBpZiAoXG4gICAgICAgICAgICB0aGlzLl9uYXR1cmFsSGlnaGxpZ2h0ZWRJbmRleCAhPSBudWxsICYmXG4gICAgICAgICAgICBpIDw9IHRoaXMuX25hdHVyYWxIaWdobGlnaHRlZEluZGV4XG4gICAgICAgICAgKSB7XG4gICAgICAgICAgICB0aGlzLl9uYXR1cmFsSGlnaGxpZ2h0ZWRJbmRleCsrO1xuICAgICAgICAgIH1cbiAgICAgICAgICBpZiAoXG4gICAgICAgICAgICB0aGlzLl9sb2NrZWRIaWdobGlnaHRlZEluZGV4ICE9IG51bGwgJiZcbiAgICAgICAgICAgIGkgPD0gdGhpcy5fbG9ja2VkSGlnaGxpZ2h0ZWRJbmRleFxuICAgICAgICAgICkge1xuICAgICAgICAgICAgdGhpcy5fbG9ja2VkSGlnaGxpZ2h0ZWRJbmRleCsrO1xuICAgICAgICAgIH1cbiAgICAgICAgICBpZiAoXG4gICAgICAgICAgICB0aGlzLl9rZXlib2FyZFRha2VuQnl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ZXdQcm9wcztcbiAgICAgICAgICAgIGl0ZW0ucHJvcHMgPSBuZXdQcm9wcztcbiAgICAgICAgICAgIHJlZ2lzdGVyKCk7XG5cbiAgICAgICAgICAgIGlmIChcbiAgICAgICAgICAgICAgaXNOYXR1cmFsSGlnaGxpZ2h0SW5kZXggfHxcbiAgICAgICAgICAgICAgaXNMb2NrZWRIaWdobGlnaHRJbmRleCB8fFxuICAgICAgICAgICAgICBpc0tleWJvYXJkVGFrZW5CeUluZGV4XG4gICAgICAgICAgICApIHtcbiAgICAgICAgICAgICAgY29uc3QgbmV3SW5kZXggPSB0aGlzLl9saXN0SXRlbXMuaW5kZXhPZihpdGVtKTtcbiAgICAgICAgICAgICAgaWYgKGlzTmF0dXJhbEhpZ2hsaWdodEluZGV4KVxuICAgICAgICAgICAgICAgIHRoaXMuX25hdHVyYWxIaWdobGlnaHRlZEluZGV4ID0gbmV3SW5kZXg7XG4gICAgICAgICAgICAgIGlmIChpc0xvY2tlZEhpZ2hsaWdodEluZGV4KVxuICAgICAgICAgICAgICAgIHRoaXMuX2xvY2tlZEhpZ2hsaWdodGVkSW5kZXggPSBuZXdJbmRleDtcbiAgICAgICAgICAgICAgaWYgKGlzS2V5Ym9hcmRUYWtlbkJ5SW5kZXgpIHRoaXMuX2tleWJvYXJkVGFrZW5CeUluZGV4ID0gbmV3SW5kZXg7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgIHByb3BzID0gbmV3UHJvcHM7XG4gICAgICAgICAgICBpdGVtLnByb3BzID0gbmV3UHJvcHM7XG4gICAgICAgICAgfVxuICAgICAgICB9LFxuICAgICAgICB1bnJlZ2lzdGVyOiAoKSA9PiB7XG4gICAgICAgICAgY29uc3QgaSA9IHRoaXMuX2xpc3RJdGVtcy5pbmRleE9mKGl0ZW0pO1xuICAgICAgICAgIGlmIChpIDwgMCkgdGhyb3cgbmV3IEVycm9yKCdBbHJlYWR5IHVucmVnaXN0ZXJlZCBNZ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gKHZpc2libGVIaWdobGlnaHRlZEluZGV4ICE9IG51bGwpIHtcbiAgICAgICAgICBtRXZlbnQgPSBuZXcgTWVudUV2ZW50KCdsZWZ0Jyk7XG4gICAgICAgIH1cbiAgICAgICAgYnJlYWs7XG4gICAgICBjYXNlIDM5OiAvL3JpZ2h0XG4gICAgICAgIGlmICh2aXNpYmxlSGlnaGxpZ2h0ZWRJbmRleCAhPSBudWxsKSB7XG4gICAgICAgICAgbUV2ZW50ID0gbmV3IE1lbnVFdmVudCgncmlnaHQnKTtcbiAgICAgICAgfVxuICAgICAgICBicmVhaztcbiAgICAgIGNhc2UgMzg6IC8vdXBcbiAgICAgICAgZXZlbnQucHJldmVudERlZmF1bHQoKTtcbiAgICAgICAgZXZlbnQuc3RvcFByb3BhZ2F0aW9uKCk7XG4gICAgICAgIHRoaXMubW92ZUN1cnNvcigndXAnKTtcbiAgICAgICAgYnJlYWs7XG4gICAgICBjYXNlIDQwOiAvL2Rvd25cbiAgICAgICAgZXZlbnQucHJldmVudERlZmF1bHQoKTtcbiAgICAgICAgZXZlbnQuc3RvcFByb3BhZ2F0aW9uKCk7XG4gICAgICAgIHRoaXMubW92ZUN1cnNvcignZG93bicpO1xuICAgICAgICBicmVhaztcbiAgICB9XG5cbiAgICBpZiAobUV2ZW50KSB7XG4gICAgICBjb25zdCBjb250cm9sID1cbiAgICAgICAgdmlzaWJsZUhpZ2hsaWdodGVkSW5kZXggPT0gbnVsbFxuICAgICAgICAgID8gbnVsbFxuICAgICAgICAgIDogdGhpcy5fbGlzdEl0ZW1zW3Zpc2libGVIaWdobGlnaHRlZEluZGV4XS5jb250cm9sO1xuICAgICAgdGhpcy5fZGlzcGF0Y2hFdmVudChjb250cm9sLCBtRXZlbnQpO1xuICAgICAgaWYgKG1FdmVudC5kZWZhdWx0UHJldmVudGVkKSBldmVudC5wcmV2ZW50RGVmYXVsdCgpO1xuICAgICAgaWYgKG1FdmVudC5kZWZhdWx0UHJldmVudGVkIHx8IG1FdmVudC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WdodGVkSW5kZXggPT0gdGhpcy5fbGlzdEl0ZW1zLmxlbmd0aCAtIDFcbiAgICAgICAgKSB7XG4gICAgICAgICAgdGhpcy5fbmF0dXJhbEhpZ2hsaWdodCgwLCB0cnVlLCBkaXJlY3Rpb24sIHByZXZDdXJzb3JMb2NhdGlvbik7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgdGhpcy5fbmF0dXJhbEhpZ2hsaWdodChcbiAgICAgICAgICAgIHRoaXMuX25hdHVyYWxIaWdobGlnaHRlZEluZGV4ICsgMSxcbiAgICAgICAgICAgIHRydWUsXG4gICAgICAgICAgICBkaXJlY3Rpb24sXG4gICAgICAgICAgICBwcmV2Q3Vyc29yTG9jYXRpb25cbiAgICAgICAgICApO1xuICAgICAgICB9XG4gICAgICAgIGJyZWFrO1xuICAgIH1cbiAgfVxuXG4gIGhhc0hpZ2hsaWdodCgpOiBib29sZWFuIHtcbiAgICByZXR1cm4gdGhpcy5fZ2V0VmlzaWJsZUhpZ2hsaWdodGVkSW5kZXgoKSAhPSBudWxsO1xuICB9XG5cbiAgcmVuZGVyKCkge1xuICAgIHJldHVybiAoXG4gICAgICA8ZGl2IHJvbGU9XCJtZW51XCIgcmVmPXt0aGlzLl9lbFJlZn0+XG4gICAgICAgIDxNZW51TGlzdENvbnRleHQuUHJvdmlkZXIgdmFsdWU9e3RoaXMuX21lbnVMaXN0Q29udGV4dH0+XG4gICAgICAgICAge3RoaXMucHJvcHMuY2hpbGRyZW59XG4gICAgICAgIDwvTWVudUxpc3RDb250ZXh0LlByb3ZpZGVyPlxuICAgICAgPC9kaXY+XG4gICAgKTtcbiAgfVxufVxuIl19 |
"use strict"; | ||
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); | ||
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); | ||
@@ -24,3 +26,3 @@ | ||
var _react = _interopRequireDefault(require("react")); | ||
var React = _interopRequireWildcard(require("react")); | ||
@@ -33,6 +35,5 @@ var _propTypes = _interopRequireDefault(require("prop-types")); | ||
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } } | ||
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; } } | ||
var MenuListInspectorContext = /*#__PURE__*/_react["default"].createContext(null); | ||
var MenuListInspectorContext = /*#__PURE__*/React.createContext(null); | ||
exports.MenuListInspectorContext = MenuListInspectorContext; | ||
@@ -126,3 +127,3 @@ | ||
value: function render() { | ||
return /*#__PURE__*/_react["default"].createElement(MenuListInspectorContext.Provider, { | ||
return /*#__PURE__*/React.createElement(MenuListInspectorContext.Provider, { | ||
value: this._menuListInspectorContext | ||
@@ -133,3 +134,3 @@ }, this.props.children); | ||
return MenuListInspector; | ||
}(_react["default"].Component); | ||
}(React.Component); | ||
@@ -144,2 +145,2 @@ exports["default"] = MenuListInspector; | ||
(0, _defineProperty2["default"])(MenuListInspector, "contextType", MenuListInspectorContext); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9NZW51TGlzdEluc3BlY3Rvci5qcyJdLCJuYW1lcyI6WyJNZW51TGlzdEluc3BlY3RvckNvbnRleHQiLCJSZWFjdCIsImNyZWF0ZUNvbnRleHQiLCJNZW51TGlzdEluc3BlY3RvciIsInJlZ2lzdGVyTWVudUxpc3QiLCJtZW51TGlzdCIsIl9kZXNjZW5kYW50TWVudUxpc3RzIiwicHVzaCIsInVucmVnaXN0ZXJNZW51TGlzdCIsImkiLCJpbmRleE9mIiwiRXJyb3IiLCJzcGxpY2UiLCJkaXNwYXRjaEV2ZW50IiwiZ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ybiAoXG4gICAgICA8TWVudUxpc3RJbnNwZWN0b3JDb250ZXh0LlByb3ZpZGVyIHZhbHVlPXt0aGlzLl9tZW51TGlzdEluc3BlY3RvckNvbnRleHR9PlxuICAgICAgICB7dGhpcy5wcm9wcy5jaGlsZHJlbn1cbiAgICAgIDwvTWVudUxpc3RJbnNwZWN0b3JDb250ZXh0LlByb3ZpZGVyPlxuICAgICk7XG4gIH1cbn1cbiJdfQ== |
"use strict"; | ||
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); | ||
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); | ||
@@ -30,4 +32,6 @@ | ||
var _react = _interopRequireDefault(require("react")); | ||
var React = _interopRequireWildcard(require("react")); | ||
var ReactDOM = _interopRequireWildcard(require("react-dom")); | ||
var _propTypes = _interopRequireDefault(require("prop-types")); | ||
@@ -49,3 +53,3 @@ | ||
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } } | ||
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; } } | ||
@@ -70,6 +74,6 @@ var SubMenuItem = /*#__PURE__*/function (_React$Component) { | ||
}); | ||
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "_menuItemRef", /*#__PURE__*/_react["default"].createRef()); | ||
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "_floatAnchorRef", /*#__PURE__*/_react["default"].createRef()); | ||
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "_menuInspectorRef", /*#__PURE__*/_react["default"].createRef()); | ||
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "_menuContainerRef", /*#__PURE__*/_react["default"].createRef()); | ||
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "_menuItemRef", /*#__PURE__*/React.createRef()); | ||
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "_floatAnchorRef", /*#__PURE__*/React.createRef()); | ||
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "_menuInspectorRef", /*#__PURE__*/React.createRef()); | ||
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "_menuContainerRef", /*#__PURE__*/React.createRef()); | ||
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "_resetMouseLeaveWatcher", (0, _kefirBus["default"])()); | ||
@@ -174,3 +178,5 @@ (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "_stopper", (0, _kefirStopper["default"])()); | ||
_kefir["default"].later(OPEN_DELAY).takeUntilBy(this._resetMouseLeaveWatcher).takeUntilBy(this._stopper).onValue(function () { | ||
_this3.open(); | ||
ReactDOM.unstable_batchedUpdates(function () { | ||
_this3.open(); | ||
}); | ||
}); | ||
@@ -239,5 +245,7 @@ } else if (!highlighted) { | ||
}).merge(_kefir["default"].later(MAX_TIME * 1000)).take(1).takeUntilBy(this._resetMouseLeaveWatcher).takeUntilBy(this._stopper).onValue(function () { | ||
_this4.close(); | ||
ReactDOM.unstable_batchedUpdates(function () { | ||
_this4.close(); | ||
menuItem.unhighlight(); | ||
menuItem.unhighlight(); | ||
}); | ||
}); | ||
@@ -282,3 +290,3 @@ } | ||
return /*#__PURE__*/_react["default"].createElement(_reactFloatAnchor["default"], { | ||
return /*#__PURE__*/React.createElement(_reactFloatAnchor["default"], { | ||
parentElement: this.props.menuParentElement, | ||
@@ -289,3 +297,3 @@ ref: this._floatAnchorRef, | ||
anchor: function anchor(anchorRef) { | ||
return /*#__PURE__*/_react["default"].createElement(_MenuItem["default"], { | ||
return /*#__PURE__*/React.createElement(_MenuItem["default"], { | ||
ref: _this5._menuItemRef, | ||
@@ -332,3 +340,3 @@ domRef: anchorRef, | ||
}, | ||
"float": !opened ? null : /*#__PURE__*/_react["default"].createElement(_MenuListInspector["default"], { | ||
"float": !opened ? null : /*#__PURE__*/React.createElement(_MenuListInspector["default"], { | ||
ref: this._menuInspectorRef, | ||
@@ -341,3 +349,3 @@ onLeftPushed: function onLeftPushed(e) { | ||
} | ||
}, /*#__PURE__*/_react["default"].createElement("div", { | ||
}, /*#__PURE__*/React.createElement("div", { | ||
ref: this._menuContainerRef, | ||
@@ -352,3 +360,3 @@ onMouseEnter: function onMouseEnter() { | ||
return SubMenuItem; | ||
}(_react["default"].Component); | ||
}(React.Component); | ||
@@ -381,2 +389,2 @@ exports["default"] = SubMenuItem; | ||
}); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9TdWJNZW51SXRlbS5qcyJdLCJuYW1lcyI6WyJTdWJNZW51SXRlbSIsIm9wZW5lZCIsIlJlYWN0IiwiY3JlYXRlUmVmIiwiX3N0b3BwZXIiLCJkZXN0cm95IiwibWVudUl0ZW0iLCJfbWVudUl0ZW1SZWYiLCJjdXJyZW50IiwiRXJyb3IiLCJsb2NrSGlnaGxpZ2h0Iiwic3RhdGUiLCJQcm9taXNlIiwicmVzb2x2ZSIsInByb3BzIiwib25XaWxsT3BlbiIsInRha2VLZXlib2FyZCIsInNldFN0YXRlIiwib25EaWRPcGVuIiwib25XaWxsQ2xvc2UiLCJyZWxlYXNlS2V5Ym9hcmQiLCJ1bmxvY2tIaWdobGlnaHQiLCJjbG9zZSIsIm9wZW4iLCJmbG9hdEFuY2hvciIsIl9mbG9hdEFuY2hvclJlZiIsInJlcG9zaXRpb24iLCJoYXNIaWdobGlnaHQiLCJieUtleWJvYXJkIiwiaGlnaGxpZ2h0IiwidW5oaWdobGlnaHQiLCJkaXJlY3Rpb24iLCJwcmV2Q3Vyc29yTG9jYXRpb24iLCJtb3Z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cy5fZmxvYXRBbmNob3JSZWZ9XG4gICAgICAgIG9wdGlvbnM9e3Bvc2l0aW9uT3B0aW9uc31cbiAgICAgICAgekluZGV4PXttZW51WkluZGV4fVxuICAgICAgICBhbmNob3I9e2FuY2hvclJlZiA9PiAoXG4gICAgICAgICAgPE1lbnVJdGVtXG4gICAgICAgICAgICByZWY9e3RoaXMuX21lbnVJdGVtUmVmfVxuICAgICAgICAgICAgZG9tUmVmPXthbmNob3JSZWZ9XG4gICAgICAgICAgICBpbmRleD17aW5kZXh9XG4gICAgICAgICAgICBzdHlsZT17c3R5bGV9XG4gICAgICAgICAgICBjbGFzc05hbWU9e2NsYXNzTmFtZX1cbiAgICAgICAgICAgIGhpZ2hsaWdodGVkU3R5bGU9e2hpZ2hsaWdodGVkU3R5bGV9XG4gICAgICAgICAgICBoaWdobGlnaHRlZENsYXNzTmFtZT17aGlnaGxpZ2h0ZWRDbGFzc05hbWV9XG4gICAgICAgICAgICBvbkhpZ2hsaWdodENoYW5nZT17KGgsIGUpID0+IHRoaXMuX29uSGlnaGxpZ2h0Q2hhbmdlKGgsIGUpfVxuICAgICAgICAgICAgb25Nb3VzZUxlYXZlPXtlID0+IHRoaXMuX29uTW91c2VMZWF2ZUl0ZW0oZSl9XG4gICAgICAgICAgICBvblJpZ2h0UHVzaGVkPXsoZTogTWVudUV2ZW50KSA9PiB7XG4gICAgICAgICAgICAgIGlmICghdGhpcy5zdGF0ZS5vcGVuZWQpIHtcbiAgICAgICAgICAgICAgICBlLnN0b3BQcm9wYWdhdGlvbigpO1xuICAgICAgICAgICAgICAgIGUucHJldmVudERlZmF1bHQoKTtcbiAgICAgICAgICAgICAgICB0aGlzLm9wZW4oKTtcbiAgICAgICAgICAgICAgICBjb25zdCBtZW51SW5zcGVjdG9yID0gdGhpcy5fbWVudUluc3BlY3RvclJlZi5jdXJyZW50O1xuICAgICAgICAgICAgICAgIGlmICghbWVudUluc3BlY3RvcikgdGhyb3cgbmV3IEVycm9yKCk7XG4gICAgICAgICAgICAgICAgbWVudUluc3BlY3Rvci5tb3ZlQ3Vyc29yKCdkb3duJyk7XG4gICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH19XG4gICAgICAgICAgICBvbkl0ZW1DaG9zZW49eyhlOiBDaG9zZW5FdmVudCkgPT4ge1xuICAgICAgICAgICAgICBlLnN0b3BQcm9wYWdhdGlvbigpO1xuICAgICAgICAgICAgICBlLnByZXZlbnREZWZhdWx0KCk7XG4gICAgICAgICAgICAgIHRoaXMub3BlbigpO1xuICAgICAgICAgICAgICBpZiAoZS5ieUtleWJvYXJkKSB7XG4gICAgICAgICAgICAgICAgY29uc3QgbWVudUluc3BlY3RvciA9IHRoaXMuX21lbnVJbnNwZWN0b3JSZWYuY3VycmVudDtcbiAgICAgICAgICAgICAgICBpZiAoIW1lbnVJbnNwZWN0b3IpIHRocm93IG5ldyBFcnJvcigpO1xuICAgICAgICAgICAgICAgIG1lbnVJbnNwZWN0b3IubW92ZUN1cnNvcignZG93bicpO1xuICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9fVxuICAgICAgICAgICAgYXJpYS1oYXNwb3B1cD17dHJ1ZX1cbiAgICAgICAgICAgIGFyaWEtZXhwYW5kZWQ9e29wZW5lZH1cbiAgICAgICAgICA+XG4gICAgICAgICAgICB7Y2hpbGRyZW59XG4gICAgICAgICAgPC9NZW51SXRlbT5cbiAgICAgICAgKX1cbiAgICAgICAgZmxvYXQ9e1xuICAgICAgICAgICFvcGVuZWQgPyBudWxsIDogKFxuICAgICAgICAgICAgPE1lbnVMaXN0SW5zcGVjdG9yXG4gICAgICAgICAgICAgIHJlZj17dGhpcy5fbWVudUluc3BlY3RvclJlZn1cbiAgICAgICAgICAgICAgb25MZWZ0UHVzaGVkPXtlID0+IHtcbiAgICAgICAgICAgICAgICBlLnN0b3BQcm9wYWdhdGlvbigpO1xuICAgICAgICAgICAgICAgIGUucHJldmVudERlZmF1bHQoKTtcbiAgICAgICAgICAgICAgICB0aGlzLmNsb3NlKCk7XG4gICAgICAgICAgICAgIH19XG4gICAgICAgICAgICA+XG4gICAgICAgICAgICAgIDxkaXZcbiAgICAgICAgICAgICAgICByZWY9e3RoaXMuX21lbnVDb250YWluZXJSZWZ9XG4gICAgICAgICAgICAgICAgb25Nb3VzZUVudGVyPXsoKSA9PiB0aGlzLl9tb3VzZUVudGVyTWVudSgpfVxuICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAge21lbnV9XG4gICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgPC9NZW51TGlzdEluc3BlY3Rvcj5cbiAgICAgICAgICApXG4gICAgICAgIH1cbiAgICAgIC8+XG4gICAgKTtcbiAgfVxufVxuIl19 | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9TdWJNZW51SXRlbS5qcyJdLCJuYW1lcyI6WyJTdWJNZW51SXRlbSIsIm9wZW5lZCIsIlJlYWN0IiwiY3JlYXRlUmVmIiwiX3N0b3BwZXIiLCJkZXN0cm95IiwibWVudUl0ZW0iLCJfbWVudUl0ZW1SZWYiLCJjdXJyZW50IiwiRXJyb3IiLCJsb2NrSGlnaGxpZ2h0Iiwic3RhdGUiLCJQcm9taXNlIiwicmVzb2x2ZSIsInByb3BzIiwib25XaWxsT3BlbiIsInRha2VLZXlib2FyZCIsInNldFN0YXRlIiwib25EaWRPcGVuIiwib25XaWxsQ2xvc2UiLCJyZWxlYXNlS2V5Ym9hcmQiLCJ1bmxvY2tIaWdobGlnaHQiLCJjbG9zZSIsIm9wZW4iLCJmbG9hdEFuY2hvciIsIl9mbG9hdEFuY2hvclJlZiIsInJlcG9zaXRpb24iLCJoYXNIaWdobGlnaHQiLCJieUtleWJvYXJkIiwiaGlnaGxpZ2h0IiwidW5oaWdobGlnaHQiLCJkaXJlY3Rpb24iLCJwcmV2Q3Vyc29yTG9jYXRpb24iLCJtb3ZlQ3Vyc29yIiwiaGlnaGxpZ2h0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NOYW1lfVxuICAgICAgICAgICAgb25IaWdobGlnaHRDaGFuZ2U9eyhoLCBlKSA9PiB0aGlzLl9vbkhpZ2hsaWdodENoYW5nZShoLCBlKX1cbiAgICAgICAgICAgIG9uTW91c2VMZWF2ZT17ZSA9PiB0aGlzLl9vbk1vdXNlTGVhdmVJdGVtKGUpfVxuICAgICAgICAgICAgb25SaWdodFB1c2hlZD17KGU6IE1lbnVFdmVudCkgPT4ge1xuICAgICAgICAgICAgICBpZiAoIXRoaXMuc3RhdGUub3BlbmVkKSB7XG4gICAgICAgICAgICAgICAgZS5zdG9wUHJvcGFnYXRpb24oKTtcbiAgICAgICAgICAgICAgICBlLnByZXZlbnREZWZhdWx0KCk7XG4gICAgICAgICAgICAgICAgdGhpcy5vcGVuKCk7XG4gICAgICAgICAgICAgICAgY29uc3QgbWVudUluc3BlY3RvciA9IHRoaXMuX21lbnVJbnNwZWN0b3JSZWYuY3VycmVudDtcbiAgICAgICAgICAgICAgICBpZiAoIW1lbnVJbnNwZWN0b3IpIHRocm93IG5ldyBFcnJvcigpO1xuICAgICAgICAgICAgICAgIG1lbnVJbnNwZWN0b3IubW92ZUN1cnNvcignZG93bicpO1xuICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9fVxuICAgICAgICAgICAgb25JdGVtQ2hvc2VuPXsoZTogQ2hvc2VuRXZlbnQpID0+IHtcbiAgICAgICAgICAgICAgZS5zdG9wUHJvcGFnYXRpb24oKTtcbiAgICAgICAgICAgICAgZS5wcmV2ZW50RGVmYXVsdCgpO1xuICAgICAgICAgICAgICB0aGlzLm9wZW4oKTtcbiAgICAgICAgICAgICAgaWYgKGUuYnlLZXlib2FyZCkge1xuICAgICAgICAgICAgICAgIGNvbnN0IG1lbnVJbnNwZWN0b3IgPSB0aGlzLl9tZW51SW5zcGVjdG9yUmVmLmN1cnJlbnQ7XG4gICAgICAgICAgICAgICAgaWYgKCFtZW51SW5zcGVjdG9yKSB0aHJvdyBuZXcgRXJyb3IoKTtcbiAgICAgICAgICAgICAgICBtZW51SW5zcGVjdG9yLm1vdmVDdXJzb3IoJ2Rvd24nKTtcbiAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfX1cbiAgICAgICAgICAgIGFyaWEtaGFzcG9wdXA9e3RydWV9XG4gICAgICAgICAgICBhcmlhLWV4cGFuZGVkPXtvcGVuZWR9XG4gICAgICAgICAgPlxuICAgICAgICAgICAge2NoaWxkcmVufVxuICAgICAgICAgIDwvTWVudUl0ZW0+XG4gICAgICAgICl9XG4gICAgICAgIGZsb2F0PXtcbiAgICAgICAgICAhb3BlbmVkID8gbnVsbCA6IChcbiAgICAgICAgICAgIDxNZW51TGlzdEluc3BlY3RvclxuICAgICAgICAgICAgICByZWY9e3RoaXMuX21lbnVJbnNwZWN0b3JSZWZ9XG4gICAgICAgICAgICAgIG9uTGVmdFB1c2hlZD17ZSA9PiB7XG4gICAgICAgICAgICAgICAgZS5zdG9wUHJvcGFnYXRpb24oKTtcbiAgICAgICAgICAgICAgICBlLnByZXZlbnREZWZhdWx0KCk7XG4gICAgICAgICAgICAgICAgdGhpcy5jbG9zZSgpO1xuICAgICAgICAgICAgICB9fVxuICAgICAgICAgICAgPlxuICAgICAgICAgICAgICA8ZGl2XG4gICAgICAgICAgICAgICAgcmVmPXt0aGlzLl9tZW51Q29udGFpbmVyUmVmfVxuICAgICAgICAgICAgICAgIG9uTW91c2VFbnRlcj17KCkgPT4gdGhpcy5fbW91c2VFbnRlck1lbnUoKX1cbiAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgIHttZW51fVxuICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgIDwvTWVudUxpc3RJbnNwZWN0b3I+XG4gICAgICAgICAgKVxuICAgICAgICB9XG4gICAgICAvPlxuICAgICk7XG4gIH1cbn1cbiJdfQ== |
{ | ||
"name": "react-menu-list", | ||
"version": "7.0.1", | ||
"version": "7.0.2", | ||
"description": "React component for menu lists and submenus", | ||
@@ -51,3 +51,3 @@ "main": "js/index.js", | ||
"babelify": "^10.0.0", | ||
"browserify": "^16.2.2", | ||
"browserify": "^17.0.0", | ||
"cross-env": "^7.0.2", | ||
@@ -59,5 +59,5 @@ "eslint": "^7.8.1", | ||
"flow-copy-source": "^2.0.2", | ||
"husky": ">=4", | ||
"husky": "^4.3.0", | ||
"jest": "^26.4.2", | ||
"lint-staged": ">=10", | ||
"lint-staged": "^10.5.4", | ||
"prettier": "^2.1.1", | ||
@@ -69,3 +69,3 @@ "react": "^16.6.0", | ||
"typescript": "^4.0.2", | ||
"watchify": "^3.7.0" | ||
"watchify": "^4.0.0" | ||
}, | ||
@@ -82,3 +82,4 @@ "dependencies": { | ||
"peerDependencies": { | ||
"react": "^16.6.0" | ||
"react": "^16.6.0 || ^17.0.0", | ||
"react-dom": "^16.6.0 || ^17.0.0" | ||
}, | ||
@@ -85,0 +86,0 @@ "husky": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
245164
1593
9