@hig/flyout
Advanced tools
Comparing version 1.0.6 to 1.0.7
@@ -6,2 +6,3 @@ import Transition, { ENTERED, ENTERING, EXITED, EXITING } from 'react-transition-group/Transition'; | ||
import { ThemeContext } from '@hig/theme-context'; | ||
import { combineEventHandlers } from '@hig/utils'; | ||
@@ -1487,3 +1488,3 @@ var anchorPoints = Object.freeze({ | ||
return React.cloneElement(children, { | ||
onClick: handleChildClick, | ||
onClick: combineEventHandlers(handleChildClick, children.props.onClick), | ||
onMouseEnter: onMouseEnter, | ||
@@ -1490,0 +1491,0 @@ onMouseLeave: onMouseLeave |
@@ -14,2 +14,3 @@ 'use strict'; | ||
var themeContext = require('@hig/theme-context'); | ||
var utils = require('@hig/utils'); | ||
@@ -1495,3 +1496,3 @@ var anchorPoints = Object.freeze({ | ||
return React__default.cloneElement(children, { | ||
onClick: handleChildClick, | ||
onClick: utils.combineEventHandlers(handleChildClick, children.props.onClick), | ||
onMouseEnter: onMouseEnter, | ||
@@ -1498,0 +1499,0 @@ onMouseLeave: onMouseLeave |
@@ -0,1 +1,8 @@ | ||
# [@hig/flyout-v1.0.7](https://github.com/Autodesk/hig/compare/@hig/flyout@1.0.6...@hig/flyout@1.0.7) (2019-07-09) | ||
### Bug Fixes | ||
* children's onClick prop is discarded in Flyout ([b538364](https://github.com/Autodesk/hig/commit/b538364)) | ||
# [@hig/flyout-v1.0.6](https://github.com/Autodesk/hig/compare/@hig/flyout@1.0.5...@hig/flyout@1.0.6) (2019-07-08) | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "@hig/flyout", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "HIG Flyout", | ||
@@ -22,3 +22,4 @@ "author": "Autodesk Inc.", | ||
"prop-types": "^15.7.1", | ||
"react-transition-group": "^2.3.1" | ||
"react-transition-group": "^2.3.1", | ||
"@hig/utils": "^0.3.0" | ||
}, | ||
@@ -25,0 +26,0 @@ "peerDependencies": { |
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
119495
3322
7
+ Added@hig/utils@^0.3.0
+ Added@hig/utils@0.3.0(transitive)
+ Addedlodash.memoize@4.1.2(transitive)