@scaleflex/ui
Advanced tools
Comparing version 1.0.0-beta.23 to 1.0.0-beta.24
@@ -35,3 +35,3 @@ "use strict"; | ||
exports.colorButtonMixin = colorButtonMixin; | ||
var sizeButtonMixin = (_sizeButtonMixin = {}, (0, _defineProperty2["default"])(_sizeButtonMixin, _types.Size.Xs, (0, _styledComponents.css)(["padding:6px 8px;"])), (0, _defineProperty2["default"])(_sizeButtonMixin, _types.Size.Sm, (0, _styledComponents.css)(["padding:8px 10px;"])), (0, _defineProperty2["default"])(_sizeButtonMixin, _types.Size.Md, (0, _styledComponents.css)(["padding:9px 12px;"])), (0, _defineProperty2["default"])(_sizeButtonMixin, _types.Size.Lg, (0, _styledComponents.css)(["padding:11px 14px;"])), (0, _defineProperty2["default"])(_sizeButtonMixin, _types.Size.Xl, (0, _styledComponents.css)(["padding:12px 16px;"])), _sizeButtonMixin); | ||
var sizeButtonMixin = (_sizeButtonMixin = {}, (0, _defineProperty2["default"])(_sizeButtonMixin, _types.Size.Xs, (0, _styledComponents.css)(["padding:4px 8px;"])), (0, _defineProperty2["default"])(_sizeButtonMixin, _types.Size.Sm, (0, _styledComponents.css)(["padding:6px 10px;"])), (0, _defineProperty2["default"])(_sizeButtonMixin, _types.Size.Md, (0, _styledComponents.css)(["padding:8px 12px;"])), (0, _defineProperty2["default"])(_sizeButtonMixin, _types.Size.Lg, (0, _styledComponents.css)(["padding:10px 14px;"])), (0, _defineProperty2["default"])(_sizeButtonMixin, _types.Size.Xl, (0, _styledComponents.css)(["padding:12px 16px;"])), _sizeButtonMixin); | ||
exports.sizeButtonMixin = sizeButtonMixin; | ||
@@ -38,0 +38,0 @@ var sizeButtonLabelMixin = (_sizeButtonLabelMixin = {}, (0, _defineProperty2["default"])(_sizeButtonLabelMixin, _types.Size.Xs, function (_ref4) { |
@@ -99,6 +99,6 @@ "use strict"; | ||
if (open) { | ||
document.body.className = 'Menu-open'; | ||
document.body.classList.add('Menu-open'); | ||
updateRect(); | ||
} else { | ||
document.body.className = ''; | ||
document.body.classList.remove('Menu-open'); | ||
} | ||
@@ -119,3 +119,4 @@ }, [open, updateRect]); | ||
overlay: Boolean(enableOverlay), | ||
onClick: handleClose | ||
onClick: handleClose, | ||
popperOptions: popperOptions | ||
}, /*#__PURE__*/_react["default"].createElement(_menu["default"].Menu, (0, _extends2["default"])({}, containerProps, { | ||
@@ -122,0 +123,0 @@ alignCenter: Boolean(alignCenter), |
@@ -52,10 +52,6 @@ "use strict"; | ||
if (open) { | ||
document.body.style.overflow = 'hidden'; | ||
document.body.classList.add('Modal-open'); | ||
} else { | ||
document.body.style.overflow = ''; | ||
document.body.classList.remove('Modal-open'); | ||
} | ||
return function () { | ||
document.body.style.overflow = ''; | ||
}; | ||
}, [open]); | ||
@@ -62,0 +58,0 @@ |
{ | ||
"name": "@scaleflex/ui", | ||
"version": "1.0.0-beta.23", | ||
"version": "1.0.0-beta.24", | ||
"author": "scaleflex", | ||
@@ -5,0 +5,0 @@ "repository": "github:scaleflex/ui", |
@@ -15,3 +15,3 @@ "use strict"; | ||
function _templateObject() { | ||
var data = (0, _taggedTemplateLiteral2["default"])(["\n @keyframes spinner {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n .Menu-open {\n overflow:hidden;\n }\n"]); | ||
var data = (0, _taggedTemplateLiteral2["default"])(["\n @keyframes spinner {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n .Menu-open {\n overflow:hidden;\n }\n .Modal-open {\n overflow:hidden;\n }\n"]); | ||
@@ -18,0 +18,0 @@ _templateObject = function _templateObject() { |
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
481111
10689