Socket
Socket
Sign inDemoInstall

rc-menu

Package Overview
Dependencies
Maintainers
2
Versions
279
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.2.3 to 3.3.0

lib/Divider.js

4

HISTORY.md
# History
----
## 3.3.0 / 2015-06-08
`new` add Menu.Divider Component
## 3.1.0 / 2015-03-26

@@ -5,0 +9,0 @@

@@ -6,2 +6,3 @@ 'use strict';

Menu.Item = require('./MenuItem');
Menu.Divider = require('./Divider');
module.exports = Menu;
'use strict';
var _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; };
var _createClass = (function () { 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); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();

@@ -290,3 +292,5 @@

'ul',
domProps,
_extends({
style: this.props.style
}, domProps),
this.newChildren

@@ -304,2 +308,3 @@ );

onSelect: React.PropTypes.func,
style: React.PropTypes.object,
onDeselect: React.PropTypes.func,

@@ -314,2 +319,3 @@ activeFirst: React.PropTypes.bool,

focusable: true,
style: {},
onSelect: noop,

@@ -316,0 +322,0 @@ onClick: noop,

3

package.json
{
"name": "rc-menu",
"version": "3.2.3",
"version": "3.3.0",
"description": "menu ui component for react",

@@ -55,2 +55,3 @@ "keywords": [

"dom-scroll-into-view": "^1.0.1",
"object-assign": "~3.0.0",
"rc-util": "2.x"

@@ -57,0 +58,0 @@ },

@@ -51,3 +51,3 @@ # rc-menu

### menu props
### Menu props

@@ -115,3 +115,3 @@ <table class="table table-bordered table-striped">

### menu item props
### Menu.Item props

@@ -150,3 +150,3 @@ <table class="table table-bordered table-striped">

### sub menu props
### Menu.SubMenu props

@@ -196,2 +196,6 @@ <table class="table table-bordered table-striped">

### Menu.Divider props
none
## Development

@@ -198,0 +202,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc