@welcome-ui/box
Advanced tools
Comparing version 4.0.0-alpha.13 to 4.0.0-rc.0
@@ -5,3 +5,2 @@ 'use strict'; | ||
var _extends = require('@babel/runtime/helpers/extends'); | ||
var React = require('react'); | ||
@@ -13,7 +12,24 @@ var styledComponents = require('@xstyled/styled-components'); | ||
var _extends__default = /*#__PURE__*/_interopDefaultLegacy(_extends); | ||
var React__default = /*#__PURE__*/_interopDefaultLegacy(React); | ||
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); | ||
} | ||
var Box = /*#__PURE__*/system.forwardRef(function (props, ref) { | ||
return /*#__PURE__*/React__default['default'].createElement(styledComponents.x.div, _extends__default['default']({ | ||
return /*#__PURE__*/React__default['default'].createElement(styledComponents.x.div, _extends({ | ||
ref: ref | ||
@@ -20,0 +36,0 @@ }, props)); |
@@ -1,2 +0,1 @@ | ||
import _extends from '@babel/runtime/helpers/esm/extends'; | ||
import React from 'react'; | ||
@@ -6,2 +5,20 @@ import { x } from '@xstyled/styled-components'; | ||
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); | ||
} | ||
var Box = /*#__PURE__*/forwardRef(function (props, ref) { | ||
@@ -8,0 +25,0 @@ return /*#__PURE__*/React.createElement(x.div, _extends({ |
{ | ||
"name": "@welcome-ui/box", | ||
"version": "4.0.0-alpha.13", | ||
"version": "4.0.0-rc.0", | ||
"description": "Customizable design system with react • styled-components • styled-system and reakit.", | ||
@@ -41,11 +41,11 @@ "main": "dist/box.cjs.js", | ||
"dependencies": { | ||
"@welcome-ui/system": "^4.0.0-alpha.13" | ||
"@welcome-ui/system": "^4.0.0-rc.0" | ||
}, | ||
"peerDependencies": { | ||
"@xstyled/styled-components": "^3.0.1", | ||
"@xstyled/styled-components": "^3.5.1", | ||
"react": "^16.10.2 || ^17.0.1", | ||
"react-dom": "^16.10.2 || ^17.0.1", | ||
"styled-components": "^5.3.0" | ||
"styled-components": "^5.3.3" | ||
}, | ||
"gitHead": "b9e39fb49e08b3845ebd0829dafc15ccd40dc76c", | ||
"gitHead": "0d1d1b5b376338a3c83cd54ae316b4adf7d67ab9", | ||
"sideEffects": false, | ||
@@ -52,0 +52,0 @@ "component": "Box", |
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
7356
57