Comparing version 0.17.62 to 0.17.63
@@ -33,6 +33,8 @@ 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); } | ||
className = _ref.className, | ||
other = _objectWithoutProperties(_ref, ["dark", "children", "className"]); | ||
noMargin = _ref.noMargin, | ||
other = _objectWithoutProperties(_ref, ["dark", "children", "className", "noMargin"]); | ||
var wrapperClasses = classNames({ | ||
'wfp--module--dark': dark | ||
'wfp--module--dark': dark, | ||
'wfp--module--no-margin': noMargin | ||
}, className, 'wfp--module'); | ||
@@ -39,0 +41,0 @@ return React.createElement("div", _extends({ |
@@ -45,6 +45,8 @@ "use strict"; | ||
className = _ref.className, | ||
other = _objectWithoutProperties(_ref, ["dark", "children", "className"]); | ||
noMargin = _ref.noMargin, | ||
other = _objectWithoutProperties(_ref, ["dark", "children", "className", "noMargin"]); | ||
var wrapperClasses = (0, _classnames.default)({ | ||
'wfp--module--dark': dark | ||
'wfp--module--dark': dark, | ||
'wfp--module--no-margin': noMargin | ||
}, className, 'wfp--module'); | ||
@@ -51,0 +53,0 @@ return _react.default.createElement("div", _extends({ |
{ | ||
"name": "@wfp/ui", | ||
"version": "0.17.62", | ||
"version": "0.17.63", | ||
"description": "WFP UI-Kit Next", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2", |
@@ -30,5 +30,6 @@ import PropTypes from 'prop-types'; | ||
const Module = ({ dark, children, className, ...other }) => { | ||
const Module = ({ dark, children, className, noMargin, ...other }) => { | ||
const wrapperClasses = classNames({ | ||
'wfp--module--dark' : dark | ||
'wfp--module--dark' : dark, | ||
'wfp--module--no-margin' : noMargin | ||
}, | ||
@@ -35,0 +36,0 @@ className, |
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 not supported yet
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
10016226
31470