react-bootstrap
Advanced tools
Comparing version 1.0.0-beta.15 to 1.0.0-beta.16
@@ -10,3 +10,3 @@ "use strict"; | ||
var _css = _interopRequireDefault(require("dom-helpers/css")); | ||
var _css3 = _interopRequireDefault(require("dom-helpers/css")); | ||
@@ -40,5 +40,7 @@ var _querySelectorAll = _interopRequireDefault(require("dom-helpers/querySelectorAll")); | ||
_this.adjustAndStore = function (prop, element, adjust) { | ||
var _css; | ||
var actual = element.style[prop]; | ||
element.dataset[prop] = actual; | ||
(0, _css.default)(element, prop, parseFloat((0, _css.default)(element, prop)) + adjust + "px"); | ||
(0, _css3.default)(element, (_css = {}, _css[prop] = parseFloat((0, _css3.default)(element, prop)) + adjust + "px", _css)); | ||
}; | ||
@@ -50,4 +52,6 @@ | ||
if (value !== undefined) { | ||
var _css2; | ||
delete element.dataset[prop]; | ||
(0, _css.default)(element, prop, value); | ||
(0, _css3.default)(element, (_css2 = {}, _css2[prop] = value, _css2)); | ||
} | ||
@@ -54,0 +58,0 @@ }; |
@@ -27,5 +27,7 @@ import _inheritsLoose from "@babel/runtime/helpers/esm/inheritsLoose"; | ||
_this.adjustAndStore = function (prop, element, adjust) { | ||
var _css; | ||
var actual = element.style[prop]; | ||
element.dataset[prop] = actual; | ||
css(element, prop, parseFloat(css(element, prop)) + adjust + "px"); | ||
css(element, (_css = {}, _css[prop] = parseFloat(css(element, prop)) + adjust + "px", _css)); | ||
}; | ||
@@ -37,4 +39,6 @@ | ||
if (value !== undefined) { | ||
var _css2; | ||
delete element.dataset[prop]; | ||
css(element, prop, value); | ||
css(element, (_css2 = {}, _css2[prop] = value, _css2)); | ||
} | ||
@@ -41,0 +45,0 @@ }; |
@@ -86,2 +86,3 @@ // These type definitions were originally from DefinitelyTyped | ||
export { default as NavItem, NavItemProps } from './NavItem'; | ||
export { default as NavLink, NavLinkProps } from './NavLink'; | ||
export { default as Overlay, OverlayProps } from './Overlay'; | ||
@@ -88,0 +89,0 @@ export { |
@@ -86,2 +86,3 @@ // These type definitions were originally from DefinitelyTyped | ||
export { default as NavItem, NavItemProps } from './NavItem'; | ||
export { default as NavLink, NavLinkProps } from './NavLink'; | ||
export { default as Overlay, OverlayProps } from './Overlay'; | ||
@@ -88,0 +89,0 @@ export { |
{ | ||
"name": "react-bootstrap", | ||
"version": "1.0.0-beta.15", | ||
"version": "1.0.0-beta.16", | ||
"description": "Bootstrap 4 components built with React", | ||
@@ -71,3 +71,3 @@ "repository": { | ||
"readme": "ERROR: No README data found!", | ||
"_id": "react-bootstrap@1.0.0-beta.14" | ||
"_id": "react-bootstrap@1.0.0-beta.15" | ||
} |
Sorry, the diff of this file is too big to display
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
1130906
24930