@chakra-ui/popper
Advanced tools
Comparing version 1.0.0-next.6 to 1.0.0-next.7
@@ -6,2 +6,11 @@ # Change Log | ||
# [1.0.0-next.7](https://github.com/chakra-ui/chakra-ui/compare/@chakra-ui/popper@1.0.0-next.6...@chakra-ui/popper@1.0.0-next.7) (2020-07-26) | ||
**Note:** Version bump only for package @chakra-ui/popper | ||
# Change Log | ||
All notable changes to this project will be documented in this file. See | ||
[Conventional Commits](https://conventionalcommits.org) for commit guidelines. | ||
# [1.0.0-next.6](https://github.com/chakra-ui/chakra-ui/compare/@chakra-ui/popper@1.0.0-next.5...@chakra-ui/popper@1.0.0-next.6) (2020-07-15) | ||
@@ -8,0 +17,0 @@ |
@@ -161,3 +161,5 @@ "use strict"; | ||
ref: popoverRef, | ||
style: popoverStyles | ||
style: _extends({}, popoverStyles, { | ||
transformOrigin: (0, _popper.toTransformOrigin)(placement) | ||
}) | ||
}, | ||
@@ -164,0 +166,0 @@ arrow: { |
@@ -5,3 +5,3 @@ 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); } | ||
import { createPopper } from "@popperjs/core"; | ||
import { getArrowStyles } from "./popper.utils"; | ||
import { getArrowStyles, toTransformOrigin } from "./popper.utils"; | ||
var isBrowser = typeof window !== "undefined"; | ||
@@ -132,3 +132,5 @@ var useSafeLayoutEffect = isBrowser ? React.useLayoutEffect : React.useEffect; | ||
ref: popoverRef, | ||
style: popoverStyles | ||
style: _extends({}, popoverStyles, { | ||
transformOrigin: toTransformOrigin(placement) | ||
}) | ||
}, | ||
@@ -135,0 +137,0 @@ arrow: { |
{ | ||
"name": "@chakra-ui/popper", | ||
"version": "1.0.0-next.6", | ||
"version": "1.0.0-next.7", | ||
"description": "A React component and hooks wrapper for popper.js", | ||
@@ -53,3 +53,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@popperjs/core": "2.4.3" | ||
"@popperjs/core": "2.4.4" | ||
}, | ||
@@ -59,3 +59,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "72eeca4ba3fc6e7d8845b0d283a03cb6ec384a50" | ||
"gitHead": "3dcabd8c7e21b32ae1b61485588f70370c4e626f" | ||
} |
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
121202
1296
+ Added@popperjs/core@2.4.4(transitive)
- Removed@popperjs/core@2.4.3(transitive)
Updated@popperjs/core@2.4.4