Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-menu-list

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-menu-list - npm Package Compare versions

Comparing version 3.2.3 to 3.3.0

9

js/MenuButton.js

@@ -84,3 +84,3 @@ 'use strict';

key: 'open',
value: function open() {
value: function open(callback) {
var _this2 = this;

@@ -90,3 +90,6 @@

if (this.props.onWillOpen) this.props.onWillOpen();
this.setState({ opened: true }, this.props.onDidOpen);
this.setState({ opened: true }, function () {
if (_this2.props.onDidOpen) _this2.props.onDidOpen();
if (callback) callback();
});

@@ -254,2 +257,2 @@ // Clicking outside of the dropdown or pressing escape should close the

module.exports = exports['default'];
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9NZW51QnV0dG9uLmpzIl0sIm5hbWVzIjpbIk1lbnVCdXR0b24iLCJzdGF0ZSIsIm9wZW5lZCIsIl9vbkNsb3NlIiwicHJvcHMiLCJvbldpbGxPcGVuIiwic2V0U3RhdGUiLCJvbkRpZE9wZW4iLCJtZXJnZSIsIndpbmRvdyIsImZpbHRlciIsImVsIiwicGFyZW50Tm9kZXMiLCJlIiwidGFyZ2V0Iiwibm9kZSIsImZyb21FdmVudHMiLCJrZXkiLCJ3aGljaCIsIm1hcCIsInByZXZlbnREZWZhdWx0Iiwic3RvcFByb3BhZ2F0aW9uIiwidGFrZVVudGlsQnkiLCJvblZhbHVlIiwiY2xvc2UiLCJvbldpbGxDbG9zZSIsImVtaXQiLCJvcGVuIiwicmVmcyIsImZsb2F0QW5jaG9yIiwicmVwb3NpdGlvbiIsImNoaWxkcmVuIiwibWVudSIsInBvc2l0aW9uT3B0aW9ucyIsIm1lbnVaSW5kZXgiLCJkaXNhYmxlZCIsInRpdGxlIiwiQnV0dG9uQ29tcG9uZW50Iiwic3R5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pcy5wcm9wcy5zdHlsZTtcbiAgICBsZXQgY2xhc3NOYW1lID0gdGhpcy5wcm9wcy5jbGFzc05hbWU7XG4gICAgaWYgKG9wZW5lZCkge1xuICAgICAgaWYgKHRoaXMucHJvcHMub3BlbmVkU3R5bGUpIHtcbiAgICAgICAgc3R5bGUgPSB7Li4uc3R5bGUsIC4uLnRoaXMucHJvcHMub3BlbmVkU3R5bGV9O1xuICAgICAgfVxuICAgICAgaWYgKHRoaXMucHJvcHMub3BlbmVkQ2xhc3NOYW1lKSB7XG4gICAgICAgIGNsYXNzTmFtZSA9IGAke2NsYXNzTmFtZXx8Jyd9ICR7dGhpcy5wcm9wcy5vcGVuZWRDbGFzc05hbWV9YDtcbiAgICAgIH1cbiAgICB9XG5cbiAgICByZXR1cm4gKFxuICAgICAgPEZsb2F0QW5jaG9yXG4gICAgICAgIHJlZj1cImZsb2F0QW5jaG9yXCJcbiAgICAgICAgb3B0aW9ucz17cG9zaXRpb25PcHRpb25zfVxuICAgICAgICB6SW5kZXg9e21lbnVaSW5kZXh9XG4gICAgICAgIGFuY2hvcj17XG4gICAgICAgICAgPEJ1dHRvbkNvbXBvbmVudFxuICAgICAgICAgICAgdHlwZT1cImJ1dHRvblwiXG4gICAgICAgICAgICBjbGFzc05hbWU9e2NsYXNzTmFtZX1cbiAgICAgICAgICAgIHN0eWxlPXtzdHlsZX1cbiAgICAgICAgICAgIG9uTW91c2VEb3duPXtlID0+IHtcbiAgICAgICAgICAgICAgaWYgKGUuYnV0dG9uICE9PSAwKSByZXR1cm47XG4gICAgICAgICAgICAgIHRoaXMudG9nZ2xlKCk7XG4gICAgICAgICAgICB9fVxuICAgICAgICAgICAgb25LZXlQcmVzcz17ZT0+e1xuICAgICAgICAgICAgICBpZiAoZS5rZXkgPT09ICdFbnRlcicgfHwgZS5rZXkgPT09ICcgJykge1xuICAgICAgICAgICAgICAgIHRoaXMudG9nZ2xlKCk7XG4gICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH19XG4gICAgICAgICAgICBhcmlhLWhhc3BvcHVwPXt0cnVlfVxuICAgICAgICAgICAgYXJpYS1leHBhbmRlZD17b3BlbmVkfVxuICAgICAgICAgICAgZGlzYWJsZWQ9e2Rpc2FibGVkfVxuICAgICAgICAgICAgdGl0bGU9e3RpdGxlfVxuICAgICAgICAgID5cbiAgICAgICAgICAgIHtjaGlsZHJlbn1cbiAgICAgICAgICA8L0J1dHRvbkNvbXBvbmVudD5cbiAgICAgICAgfVxuICAgICAgICBmbG9hdD17XG4gICAgICAgICAgIW9wZW5lZCA/IG51bGwgOlxuICAgICAgICAgICAgPE1lbnVMaXN0SW5zcGVjdG9yIG9uSXRlbUNob3Nlbj17KCkgPT4gdGhpcy5faXRlbUNob3NlbigpfT5cbiAgICAgICAgICAgICAge21lbnV9XG4gICAgICAgICAgICA8L01lbnVMaXN0SW5zcGVjdG9yPlxuICAgICAgICB9XG4gICAgICAvPlxuICAgICk7XG4gIH1cbn1cbiJdfQ==
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9NZW51QnV0dG9uLmpzIl0sIm5hbWVzIjpbIk1lbnVCdXR0b24iLCJzdGF0ZSIsIm9wZW5lZCIsIl9vbkNsb3NlIiwiY2FsbGJhY2siLCJwcm9wcyIsIm9uV2lsbE9wZW4iLCJzZXRTdGF0ZSIsIm9uRGlkT3BlbiIsIm1lcmdlIiwid2luZG93IiwiZmlsdGVyIiwiZWwiLCJwYXJlbnROb2RlcyIsImUiLCJ0YXJnZXQiLCJub2RlIiwiZnJvbUV2ZW50cyIsImtleSIsIndoaWNoIiwibWFwIiwicHJldmVudERlZmF1bHQiLCJzdG9wUHJvcGFnYXRpb24iLCJ0YWtlVW50aWxCeSIsIm9uVmFsdWUiLCJjbG9zZSIsIm9uV2lsbENsb3NlIiwiZW1pdCIsIm9wZW4iLCJyZWZzIiwiZmxvYXRBbmNob3IiLCJyZXBvc2l0aW9uIiwiY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T17c3R5bGV9XG4gICAgICAgICAgICBvbk1vdXNlRG93bj17ZSA9PiB7XG4gICAgICAgICAgICAgIGlmIChlLmJ1dHRvbiAhPT0gMCkgcmV0dXJuO1xuICAgICAgICAgICAgICB0aGlzLnRvZ2dsZSgpO1xuICAgICAgICAgICAgfX1cbiAgICAgICAgICAgIG9uS2V5UHJlc3M9e2U9PntcbiAgICAgICAgICAgICAgaWYgKGUua2V5ID09PSAnRW50ZXInIHx8IGUua2V5ID09PSAnICcpIHtcbiAgICAgICAgICAgICAgICB0aGlzLnRvZ2dsZSgpO1xuICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9fVxuICAgICAgICAgICAgYXJpYS1oYXNwb3B1cD17dHJ1ZX1cbiAgICAgICAgICAgIGFyaWEtZXhwYW5kZWQ9e29wZW5lZH1cbiAgICAgICAgICAgIGRpc2FibGVkPXtkaXNhYmxlZH1cbiAgICAgICAgICAgIHRpdGxlPXt0aXRsZX1cbiAgICAgICAgICA+XG4gICAgICAgICAgICB7Y2hpbGRyZW59XG4gICAgICAgICAgPC9CdXR0b25Db21wb25lbnQ+XG4gICAgICAgIH1cbiAgICAgICAgZmxvYXQ9e1xuICAgICAgICAgICFvcGVuZWQgPyBudWxsIDpcbiAgICAgICAgICAgIDxNZW51TGlzdEluc3BlY3RvciBvbkl0ZW1DaG9zZW49eygpID0+IHRoaXMuX2l0ZW1DaG9zZW4oKX0+XG4gICAgICAgICAgICAgIHttZW51fVxuICAgICAgICAgICAgPC9NZW51TGlzdEluc3BlY3Rvcj5cbiAgICAgICAgfVxuICAgICAgLz5cbiAgICApO1xuICB9XG59XG4iXX0=

@@ -91,7 +91,12 @@ 'use strict';

key: 'open',
value: function open() {
value: function open(callback) {
var _this2 = this;
this.refs.menuItem.lockHighlight();
if (this.state.opened) return;
if (this.props.onWillOpen) this.props.onWillOpen();
this.setState({ opened: true }, this.props.onDidOpen);
this.setState({ opened: true }, function () {
if (_this2.props.onDidOpen) _this2.props.onDidOpen();
if (callback) callback();
});
this.refs.menuItem.takeKeyboard();

@@ -147,3 +152,3 @@ }

value: function _onHighlightChange(highlighted, event) {
var _this2 = this;
var _this3 = this;

@@ -156,3 +161,3 @@ this._resetMouseLeaveWatcher.emit(null);

_kefir2.default.later(OPEN_DELAY).takeUntilBy(this._resetMouseLeaveWatcher).takeUntilBy(this._stopper).onValue(function () {
_this2.open();
_this3.open();
});

@@ -166,3 +171,3 @@ } else if (!highlighted) {

value: function _onMouseLeaveItem(event) {
var _this3 = this;
var _this4 = this;

@@ -217,4 +222,4 @@ if (!this.state.opened) {

}).merge(_kefir2.default.later(MAX_TIME * 1000)).take(1).takeUntilBy(this._resetMouseLeaveWatcher).takeUntilBy(this._stopper).onValue(function () {
_this3.close();
_this3.refs.menuItem.unhighlight();
_this4.close();
_this4.refs.menuItem.unhighlight();
});

@@ -231,3 +236,3 @@ }

value: function render() {
var _this4 = this;
var _this5 = this;

@@ -266,13 +271,13 @@ var _props = this.props,

onHighlightChange: function onHighlightChange(h, e) {
return _this4._onHighlightChange(h, e);
return _this5._onHighlightChange(h, e);
},
onMouseLeave: function onMouseLeave(e) {
return _this4._onMouseLeaveItem(e);
return _this5._onMouseLeaveItem(e);
},
onRightPushed: function onRightPushed(e) {
if (!_this4.state.opened) {
if (!_this5.state.opened) {
e.stopPropagation();
e.preventDefault();
_this4.open();
_this4.refs.menuInspector.moveCursor('down');
_this5.open();
_this5.refs.menuInspector.moveCursor('down');
}

@@ -283,5 +288,5 @@ },

e.preventDefault();
_this4.open();
_this5.open();
if (e.byKeyboard) {
_this4.refs.menuInspector.moveCursor('down');
_this5.refs.menuInspector.moveCursor('down');
}

@@ -308,3 +313,3 @@ },

e.preventDefault();
_this4.close();
_this5.close();
}

@@ -317,3 +322,3 @@ },

onMouseEnter: function onMouseEnter() {
return _this4._mouseEnterMenu();
return _this5._mouseEnterMenu();
}

@@ -359,2 +364,2 @@ },

module.exports = exports['default'];
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZX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VaSW5kZXh9XG4gICAgICAgICAgYW5jaG9yPXtcbiAgICAgICAgICAgIDxkaXY+XG4gICAgICAgICAgICAgIHtjaGlsZHJlbn1cbiAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgIH1cbiAgICAgICAgICBmbG9hdD17XG4gICAgICAgICAgICAhb3BlbmVkID8gbnVsbCA6XG4gICAgICAgICAgICAgIDxNZW51TGlzdEluc3BlY3RvclxuICAgICAgICAgICAgICAgIHJlZj1cIm1lbnVJbnNwZWN0b3JcIlxuICAgICAgICAgICAgICAgIG9uTGVmdFB1c2hlZD17ZSA9PiB7XG4gICAgICAgICAgICAgICAgICBlLnN0b3BQcm9wYWdhdGlvbigpO1xuICAgICAgICAgICAgICAgICAgZS5wcmV2ZW50RGVmYXVsdCgpO1xuICAgICAgICAgICAgICAgICAgdGhpcy5jbG9zZSgpO1xuICAgICAgICAgICAgICAgIH19XG4gICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICA8ZGl2XG4gICAgICAgICAgICAgICAgICByZWY9XCJtZW51Q29udGFpbmVyXCJcbiAgICAgICAgICAgICAgICAgIG9uTW91c2VFbnRlcj17KCk9PnRoaXMuX21vdXNlRW50ZXJNZW51KCl9XG4gICAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICB7bWVudX1cbiAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgICAgPC9NZW51TGlzdEluc3BlY3Rvcj5cbiAgICAgICAgICB9XG4gICAgICAgICAgLz5cbiAgICAgIDwvTWVudUl0ZW0+XG4gICAgKTtcbiAgfVxufVxuIl19
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9TdWJNZW51SXRlbS5qcyJdLCJuYW1lcyI6WyJTdWJNZW51SXRlbSIsInN0YXRlIiwib3BlbmVkIiwiX3Jlc2V0TW91c2VMZWF2ZVdhdGNoZXIiLCJfc3RvcHBlciIsImRlc3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G4gICAgICAgICAgb3B0aW9ucz17cG9zaXRpb25PcHRpb25zfVxuICAgICAgICAgIHpJbmRleD17bWVudVpJbmRleH1cbiAgICAgICAgICBhbmNob3I9e1xuICAgICAgICAgICAgPGRpdj5cbiAgICAgICAgICAgICAge2NoaWxkcmVufVxuICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgfVxuICAgICAgICAgIGZsb2F0PXtcbiAgICAgICAgICAgICFvcGVuZWQgPyBudWxsIDpcbiAgICAgICAgICAgICAgPE1lbnVMaXN0SW5zcGVjdG9yXG4gICAgICAgICAgICAgICAgcmVmPVwibWVudUluc3BlY3RvclwiXG4gICAgICAgICAgICAgICAgb25MZWZ0UHVzaGVkPXtlID0+IHtcbiAgICAgICAgICAgICAgICAgIGUuc3RvcFByb3BhZ2F0aW9uKCk7XG4gICAgICAgICAgICAgICAgICBlLnByZXZlbnREZWZhdWx0KCk7XG4gICAgICAgICAgICAgICAgICB0aGlzLmNsb3NlKCk7XG4gICAgICAgICAgICAgICAgfX1cbiAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgIDxkaXZcbiAgICAgICAgICAgICAgICAgIHJlZj1cIm1lbnVDb250YWluZXJcIlxuICAgICAgICAgICAgICAgICAgb25Nb3VzZUVudGVyPXsoKT0+dGhpcy5fbW91c2VFbnRlck1lbnUoKX1cbiAgICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgIHttZW51fVxuICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICA8L01lbnVMaXN0SW5zcGVjdG9yPlxuICAgICAgICAgIH1cbiAgICAgICAgICAvPlxuICAgICAgPC9NZW51SXRlbT5cbiAgICApO1xuICB9XG59XG4iXX0=
{
"name": "react-menu-list",
"version": "3.2.3",
"version": "3.3.0",
"description": "React component for menu lists and submenus",

@@ -5,0 +5,0 @@ "main": "js/index.js",

@@ -163,3 +163,3 @@ # react-menu-list

* `open()`
* `open(callback?: Function)`
* `close()`

@@ -217,3 +217,3 @@ * `toggle()`

* `open()`
* `open(callback?: Function)`
* `close()`

@@ -220,0 +220,0 @@ * `toggle()`

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc