@styled-system/css
Advanced tools
+7
-11
@@ -0,1 +1,3 @@ | ||
| var _scales; | ||
| 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); } | ||
@@ -43,3 +45,3 @@ | ||
| }; | ||
| var scales = { | ||
| var scales = (_scales = { | ||
| color: 'colors', | ||
@@ -89,12 +91,6 @@ backgroundColor: 'colors', | ||
| borderBottomLeftRadius: 'radii', | ||
| boxShadow: 'shadows', | ||
| textShadow: 'shadows', | ||
| zIndex: 'zIndices', | ||
| width: 'sizes', | ||
| minWidth: 'sizes', | ||
| maxWidth: 'sizes', | ||
| height: 'sizes', | ||
| minHeight: 'sizes', | ||
| maxHeight: 'sizes' | ||
| }; | ||
| borderTopWidth: 'borderWidths', | ||
| borderTopColor: 'colors', | ||
| borderTopStyle: 'borderStyles' | ||
| }, _scales["borderTopLeftRadius"] = 'radii', _scales["borderTopRightRadius"] = 'radii', _scales.borderBottomWidth = 'borderWidths', _scales.borderBottomColor = 'colors', _scales.borderBottomStyle = 'borderStyles', _scales["borderBottomLeftRadius"] = 'radii', _scales["borderBottomRightRadius"] = 'radii', _scales.borderLeftWidth = 'borderWidths', _scales.borderLeftColor = 'colors', _scales.borderLeftStyle = 'borderStyles', _scales.borderRightWidth = 'borderWidths', _scales.borderRightColor = 'colors', _scales.borderRightStyle = 'borderStyles', _scales.boxShadow = 'shadows', _scales.textShadow = 'shadows', _scales.zIndex = 'zIndices', _scales.width = 'sizes', _scales.minWidth = 'sizes', _scales.maxWidth = 'sizes', _scales.height = 'sizes', _scales.minHeight = 'sizes', _scales.maxHeight = 'sizes', _scales); | ||
@@ -101,0 +97,0 @@ var positiveOrNegative = function positiveOrNegative(scale, value) { |
+7
-11
@@ -6,2 +6,4 @@ "use strict"; | ||
| var _scales; | ||
| 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); } | ||
@@ -51,3 +53,3 @@ | ||
| }; | ||
| var scales = { | ||
| var scales = (_scales = { | ||
| color: 'colors', | ||
@@ -97,12 +99,6 @@ backgroundColor: 'colors', | ||
| borderBottomLeftRadius: 'radii', | ||
| boxShadow: 'shadows', | ||
| textShadow: 'shadows', | ||
| zIndex: 'zIndices', | ||
| width: 'sizes', | ||
| minWidth: 'sizes', | ||
| maxWidth: 'sizes', | ||
| height: 'sizes', | ||
| minHeight: 'sizes', | ||
| maxHeight: 'sizes' | ||
| }; | ||
| borderTopWidth: 'borderWidths', | ||
| borderTopColor: 'colors', | ||
| borderTopStyle: 'borderStyles' | ||
| }, _scales["borderTopLeftRadius"] = 'radii', _scales["borderTopRightRadius"] = 'radii', _scales.borderBottomWidth = 'borderWidths', _scales.borderBottomColor = 'colors', _scales.borderBottomStyle = 'borderStyles', _scales["borderBottomLeftRadius"] = 'radii', _scales["borderBottomRightRadius"] = 'radii', _scales.borderLeftWidth = 'borderWidths', _scales.borderLeftColor = 'colors', _scales.borderLeftStyle = 'borderStyles', _scales.borderRightWidth = 'borderWidths', _scales.borderRightColor = 'colors', _scales.borderRightStyle = 'borderStyles', _scales.boxShadow = 'shadows', _scales.textShadow = 'shadows', _scales.zIndex = 'zIndices', _scales.width = 'sizes', _scales.minWidth = 'sizes', _scales.maxWidth = 'sizes', _scales.height = 'sizes', _scales.minHeight = 'sizes', _scales.maxHeight = 'sizes', _scales); | ||
@@ -109,0 +105,0 @@ var positiveOrNegative = function positiveOrNegative(scale, value) { |
+2
-2
| { | ||
| "name": "@styled-system/css", | ||
| "version": "5.0.20", | ||
| "version": "5.0.21", | ||
| "description": "Styled System for the `css` prop", | ||
@@ -18,3 +18,3 @@ "main": "dist/index.js", | ||
| "license": "MIT", | ||
| "gitHead": "7d6fc41cbcd3c0f9a076c3d172f71017638bc6f2", | ||
| "gitHead": "f97ef2c9369a4ce7e45409d78415e7e07829c214", | ||
| "publishConfig": { | ||
@@ -21,0 +21,0 @@ "access": "public" |
16257
10%350
-1.69%