styled-system
Advanced tools
Comparing version 1.0.0-12 to 1.0.0-13
@@ -5,3 +5,3 @@ "use strict"; | ||
var scale = [0, 8, 16, 32, 64]; | ||
var space = [0, 8, 16, 32, 64]; | ||
@@ -12,4 +12,4 @@ var fontSizes = [12, 14, 16, 20, 24, 32, 48, 64, 72]; | ||
breakpoints: breakpoints, | ||
scale: scale, | ||
space: space, | ||
fontSizes: fontSizes | ||
}; |
@@ -19,3 +19,3 @@ 'use strict'; | ||
var _require2 = require('./constants'), | ||
scale = _require2.scale; | ||
space = _require2.space; | ||
@@ -29,3 +29,3 @@ var REG = /^[mp][trblxy]?$/; | ||
var bp = breaks(props); | ||
var sc = idx(['theme', 'space'], props) || scale; | ||
var sc = idx(['theme', 'space'], props) || space; | ||
@@ -32,0 +32,0 @@ return keys.map(function (key) { |
{ | ||
"name": "styled-system", | ||
"version": "1.0.0-12", | ||
"version": "1.0.0-13", | ||
"description": "Design system utilities for styled-components, glamorous, and other css-in-js libraries", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -7,3 +7,3 @@ const breakpoints = [ | ||
const scale = [ | ||
const space = [ | ||
0, | ||
@@ -30,4 +30,4 @@ 8, | ||
breakpoints, | ||
scale, | ||
space, | ||
fontSizes, | ||
} |
@@ -12,3 +12,3 @@ const { | ||
} = require('./util') | ||
const { scale } = require('./constants') | ||
const { space } = require('./constants') | ||
@@ -22,3 +22,3 @@ const REG = /^[mp][trblxy]?$/ | ||
const bp = breaks(props) | ||
const sc = idx([ 'theme', 'space' ], props) || scale | ||
const sc = idx([ 'theme', 'space' ], props) || space | ||
@@ -25,0 +25,0 @@ return keys.map(key => { |
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