material-ui-popup-state
Advanced tools
Comparing version 1.5.1 to 1.5.2
@@ -181,3 +181,3 @@ "use strict"; | ||
variant = _ref3.variant; | ||
return _ref4 = {}, (0, _defineProperty2["default"])(_ref4, variant === 'popover' ? 'aria-owns' : 'aria-describedby', isOpen ? popupId : null), (0, _defineProperty2["default"])(_ref4, 'aria-haspopup', variant === 'popover' ? true : undefined), (0, _defineProperty2["default"])(_ref4, "onClick", open), _ref4; | ||
return _ref4 = {}, (0, _defineProperty2["default"])(_ref4, variant === 'popover' ? 'aria-controls' : 'aria-describedby', isOpen ? popupId : null), (0, _defineProperty2["default"])(_ref4, 'aria-haspopup', variant === 'popover' ? true : undefined), (0, _defineProperty2["default"])(_ref4, "onClick", open), _ref4; | ||
} | ||
@@ -199,3 +199,3 @@ /** | ||
variant = _ref5.variant; | ||
return _ref6 = {}, (0, _defineProperty2["default"])(_ref6, variant === 'popover' ? 'aria-owns' : 'aria-describedby', isOpen ? popupId : null), (0, _defineProperty2["default"])(_ref6, 'aria-haspopup', variant === 'popover' ? true : undefined), (0, _defineProperty2["default"])(_ref6, "onClick", toggle), _ref6; | ||
return _ref6 = {}, (0, _defineProperty2["default"])(_ref6, variant === 'popover' ? 'aria-controls' : 'aria-describedby', isOpen ? popupId : null), (0, _defineProperty2["default"])(_ref6, 'aria-haspopup', variant === 'popover' ? true : undefined), (0, _defineProperty2["default"])(_ref6, "onClick", toggle), _ref6; | ||
} | ||
@@ -218,3 +218,3 @@ /** | ||
variant = _ref7.variant; | ||
return _ref8 = {}, (0, _defineProperty2["default"])(_ref8, variant === 'popover' ? 'aria-owns' : 'aria-describedby', isOpen ? popupId : null), (0, _defineProperty2["default"])(_ref8, 'aria-haspopup', variant === 'popover' ? true : undefined), (0, _defineProperty2["default"])(_ref8, "onMouseEnter", open), (0, _defineProperty2["default"])(_ref8, "onMouseLeave", onMouseLeave), _ref8; | ||
return _ref8 = {}, (0, _defineProperty2["default"])(_ref8, variant === 'popover' ? 'aria-controls' : 'aria-describedby', isOpen ? popupId : null), (0, _defineProperty2["default"])(_ref8, 'aria-haspopup', variant === 'popover' ? true : undefined), (0, _defineProperty2["default"])(_ref8, "onMouseEnter", open), (0, _defineProperty2["default"])(_ref8, "onMouseLeave", onMouseLeave), _ref8; | ||
} | ||
@@ -221,0 +221,0 @@ /** |
@@ -182,3 +182,3 @@ "use strict"; | ||
// $FlowFixMe | ||
[variant === 'popover' ? 'aria-owns' : 'aria-describedby']: isOpen ? popupId : null, | ||
[variant === 'popover' ? 'aria-controls' : 'aria-describedby']: isOpen ? popupId : null, | ||
'aria-haspopup': variant === 'popover' ? true : undefined, | ||
@@ -204,3 +204,3 @@ onClick: open | ||
// $FlowFixMe | ||
[variant === 'popover' ? 'aria-owns' : 'aria-describedby']: isOpen ? popupId : null, | ||
[variant === 'popover' ? 'aria-controls' : 'aria-describedby']: isOpen ? popupId : null, | ||
'aria-haspopup': variant === 'popover' ? true : undefined, | ||
@@ -227,3 +227,3 @@ onClick: toggle | ||
// $FlowFixMe | ||
[variant === 'popover' ? 'aria-owns' : 'aria-describedby']: isOpen ? popupId : null, | ||
[variant === 'popover' ? 'aria-controls' : 'aria-describedby']: isOpen ? popupId : null, | ||
'aria-haspopup': variant === 'popover' ? true : undefined, | ||
@@ -230,0 +230,0 @@ onMouseEnter: open, |
{ | ||
"name": "material-ui-popup-state", | ||
"version": "1.5.1", | ||
"version": "1.5.2", | ||
"description": "easiest way to create menus, popovers, and poppers with material-ui", | ||
@@ -25,3 +25,3 @@ "main": "index.js", | ||
"semantic-release": "semantic-release", | ||
"demo:dev": "webpack-dev-server", | ||
"start": "webpack-dev-server", | ||
"build:demo": "cross-env NODE_ENV=production BABEL_ENV=es5 webpack", | ||
@@ -28,0 +28,0 @@ "predeploy": "yarn build:demo", |
# material-ui-popup-state | ||
[![CircleCI](https://circleci.com/gh/jcoreio/material-ui-popup-state.svg?style=svg)](https://circleci.com/gh/jcoreiomaterial-ui-popup-state) | ||
[![CircleCI](https://circleci.com/gh/jcoreio/material-ui-popup-state.svg?style=svg)](https://circleci.com/gh/jcoreio/material-ui-popup-state) | ||
[![Coverage Status](https://codecov.io/gh/jcoreio/material-ui-popup-state/branch/master/graph/badge.svg)](https://codecov.io/gh/jcoreio/material-ui-popup-state) | ||
@@ -5,0 +5,0 @@ [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
598413