Socket
Socket
Sign inDemoInstall

@wfp/ui

Package Overview
Dependencies
Maintainers
7
Versions
349
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wfp/ui - npm Package Compare versions

Comparing version 0.17.62 to 0.17.63

6

es/components/Module/Module.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc