@chakra-ui/popper
Advanced tools
Comparing version 1.0.0-rc.3 to 1.0.0-rc.4
@@ -6,2 +6,10 @@ # Change Log | ||
# 1.0.0-rc.4 (2020-09-25) | ||
**Note:** Version bump only for package @chakra-ui/popper | ||
# 1.0.0-rc.3 (2020-08-30) | ||
@@ -8,0 +16,0 @@ |
@@ -22,21 +22,26 @@ "use strict"; | ||
function usePopper(props) { | ||
var _props$placement = props.placement, | ||
if (props === void 0) { | ||
props = {}; | ||
} | ||
var _props = props, | ||
_props$placement = _props.placement, | ||
initialPlacement = _props$placement === void 0 ? "bottom" : _props$placement, | ||
offsetProp = props.offset, | ||
_props$preventOverflo = props.preventOverflow, | ||
offsetProp = _props.offset, | ||
_props$preventOverflo = _props.preventOverflow, | ||
preventOverflow = _props$preventOverflo === void 0 ? true : _props$preventOverflo, | ||
_props$fixed = props.fixed, | ||
_props$fixed = _props.fixed, | ||
fixed = _props$fixed === void 0 ? false : _props$fixed, | ||
_props$forceUpdate = props.forceUpdate, | ||
_props$forceUpdate = _props.forceUpdate, | ||
forceUpdate = _props$forceUpdate === void 0 ? true : _props$forceUpdate, | ||
_props$flip = props.flip, | ||
_props$flip = _props.flip, | ||
flip = _props$flip === void 0 ? true : _props$flip, | ||
_props$arrowSize = props.arrowSize, | ||
_props$arrowSize = _props.arrowSize, | ||
arrowSize = _props$arrowSize === void 0 ? 10 : _props$arrowSize, | ||
arrowShadowColor = props.arrowShadowColor, | ||
_props$gutter = props.gutter, | ||
arrowShadowColor = _props.arrowShadowColor, | ||
_props$gutter = _props.gutter, | ||
gutter = _props$gutter === void 0 ? arrowSize : _props$gutter, | ||
_props$eventsEnabled = props.eventsEnabled, | ||
_props$eventsEnabled = _props.eventsEnabled, | ||
eventsEnabled = _props$eventsEnabled === void 0 ? true : _props$eventsEnabled, | ||
modifiers = props.modifiers; | ||
modifiers = _props.modifiers; | ||
var popper = React.useRef(null); | ||
@@ -43,0 +48,0 @@ var referenceRef = React.useRef(null); |
@@ -9,2 +9,6 @@ function _extends() { _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; }; return _extends.apply(this, arguments); } | ||
export function usePopper(props) { | ||
if (props === void 0) { | ||
props = {}; | ||
} | ||
var { | ||
@@ -11,0 +15,0 @@ placement: initialPlacement = "bottom", |
{ | ||
"name": "@chakra-ui/popper", | ||
"version": "1.0.0-rc.3", | ||
"version": "1.0.0-rc.4", | ||
"description": "A React component and hooks wrapper for popper.js", | ||
@@ -58,3 +58,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "a0b689f3a2b1589d58e4d9b0c8a9bbd02ed90f6e" | ||
"gitHead": "830b8587c572a4c20d6b56b256accd6686255819" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
292133
1734