Socket
Socket
Sign inDemoInstall

material-ui-popup-state

Package Overview
Dependencies
6
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

54

es/index.js
import * as React from 'react';
import PropTypes from 'prop-types';
var bpfrpt_proptype_Variant = PropTypes.oneOf(['popover', 'popper']);
var bpfrpt_proptype_Variant = PropTypes.oneOf(['popover', 'popper']);
var bpfrpt_proptype_InjectedProps = {
open: PropTypes.func.isRequired,
close: PropTypes.func.isRequired,
toggle: PropTypes.func.isRequired,
setOpen: PropTypes.func.isRequired,
isOpen: PropTypes.bool.isRequired,
anchorEl: function () {
return (typeof HTMLElement === 'function' ? PropTypes.instanceOf(HTMLElement) : PropTypes.any).apply(this, arguments);
},
popupId: PropTypes.string,
variant: PropTypes.oneOf(['popover', 'popper']).isRequired
};
var bpfrpt_proptype_InjectedProps = {
open: PropTypes.func.isRequired,
close: PropTypes.func.isRequired,
toggle: PropTypes.func.isRequired,
setOpen: PropTypes.func.isRequired,
isOpen: PropTypes.bool.isRequired,
anchorEl: function () {
return (typeof HTMLElement === 'function' ? PropTypes.instanceOf(HTMLElement) : PropTypes.any).apply(this, arguments);
},
popupId: PropTypes.string,
variant: PropTypes.oneOf(['popover', 'popper']).isRequired
};
/**

@@ -112,14 +84,2 @@ * Creates props for a component that opens the popup when clicked.

var bpfrpt_proptype_Props = {
popupId: PropTypes.string,
children: PropTypes.func.isRequired,
variant: PropTypes.oneOf(['popover', 'popper']).isRequired
};
var bpfrpt_proptype_Props = {
popupId: PropTypes.string,
children: PropTypes.func.isRequired,
variant: PropTypes.oneOf(['popover', 'popper']).isRequired
};
let eventOrAnchorElWarned = false;

@@ -165,7 +125,2 @@

PopupState.propTypes = {
popupId: PropTypes.string,
children: PropTypes.func.isRequired,
variant: PropTypes.oneOf(['popover', 'popper']).isRequired
};
PopupState.propTypes = {
/**

@@ -205,9 +160,2 @@ * The render function.

variant: PropTypes.oneOf(['popover', 'popper']).isRequired
};
import PropTypes from 'prop-types';
export { bpfrpt_proptype_Variant };
export { bpfrpt_proptype_Variant };
export { bpfrpt_proptype_InjectedProps };
export { bpfrpt_proptype_InjectedProps };
export { bpfrpt_proptype_Props };
export { bpfrpt_proptype_Props };
};

3

package.json
{
"name": "material-ui-popup-state",
"version": "1.0.0",
"version": "1.0.1",
"description": "easiest way to create menus, popovers, and poppers with material-ui",

@@ -76,3 +76,2 @@ "main": "index.js",

"babel-eslint": "^7.1.1",
"babel-plugin-flow-react-proptypes": "^17.0.0",
"babel-plugin-istanbul": "^4.0.0",

@@ -79,0 +78,0 @@ "babel-plugin-syntax-dynamic-import": "^6.18.0",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc