styled-system
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -5,11 +5,10 @@ 'use strict'; | ||
var _require = require('dot-prop'), | ||
get = _require.get; | ||
var get = require('lodash.get'); | ||
var _require2 = require('./util'), | ||
breaks = _require2.breaks, | ||
merge = _require2.merge, | ||
arr = _require2.arr, | ||
dec = _require2.dec, | ||
media = _require2.media; | ||
var _require = require('./util'), | ||
breaks = _require.breaks, | ||
merge = _require.merge, | ||
arr = _require.arr, | ||
dec = _require.dec, | ||
media = _require.media; | ||
@@ -16,0 +15,0 @@ var REG = /^color|bg$/; |
'use strict'; | ||
var _require = require('dot-prop'), | ||
get = _require.get; | ||
var get = require('lodash.get'); | ||
var _require2 = require('./util'), | ||
is = _require2.is, | ||
arr = _require2.arr, | ||
num = _require2.num, | ||
px = _require2.px, | ||
breaks = _require2.breaks, | ||
dec = _require2.dec, | ||
media = _require2.media, | ||
merge = _require2.merge; | ||
var _require = require('./util'), | ||
is = _require.is, | ||
arr = _require.arr, | ||
num = _require.num, | ||
px = _require.px, | ||
breaks = _require.breaks, | ||
dec = _require.dec, | ||
media = _require.media, | ||
merge = _require.merge; | ||
var _require3 = require('./constants'), | ||
fontSizes = _require3.fontSizes; | ||
var _require2 = require('./constants'), | ||
fontSizes = _require2.fontSizes; | ||
@@ -19,0 +18,0 @@ module.exports = function (props) { |
@@ -5,4 +5,3 @@ 'use strict'; | ||
var _require = require('dot-prop'), | ||
get = _require.get; | ||
var get = require('lodash.get'); | ||
@@ -9,0 +8,0 @@ module.exports = function (pseudoclass, prop) { |
@@ -5,14 +5,13 @@ 'use strict'; | ||
var _require = require('dot-prop'), | ||
get = _require.get; | ||
var get = require('lodash.get'); | ||
var _require2 = require('./util'), | ||
is = _require2.is, | ||
arr = _require2.arr, | ||
num = _require2.num, | ||
px = _require2.px, | ||
breaks = _require2.breaks, | ||
dec = _require2.dec, | ||
media = _require2.media, | ||
merge = _require2.merge; | ||
var _require = require('./util'), | ||
is = _require.is, | ||
arr = _require.arr, | ||
num = _require.num, | ||
px = _require.px, | ||
breaks = _require.breaks, | ||
dec = _require.dec, | ||
media = _require.media, | ||
merge = _require.merge; | ||
@@ -19,0 +18,0 @@ module.exports = function () { |
@@ -7,17 +7,16 @@ 'use strict'; | ||
var _require = require('dot-prop'), | ||
get = _require.get; | ||
var get = require('lodash.get'); | ||
var _require2 = require('./util'), | ||
arr = _require2.arr, | ||
px = _require2.px, | ||
neg = _require2.neg, | ||
num = _require2.num, | ||
breaks = _require2.breaks, | ||
dec = _require2.dec, | ||
media = _require2.media, | ||
merge = _require2.merge; | ||
var _require = require('./util'), | ||
arr = _require.arr, | ||
px = _require.px, | ||
neg = _require.neg, | ||
num = _require.num, | ||
breaks = _require.breaks, | ||
dec = _require.dec, | ||
media = _require.media, | ||
merge = _require.merge; | ||
var _require3 = require('./constants'), | ||
space = _require3.space; | ||
var _require2 = require('./constants'), | ||
space = _require2.space; | ||
@@ -24,0 +23,0 @@ var REG = /^[mp][trblxy]?$/; |
@@ -5,7 +5,6 @@ 'use strict'; | ||
var _require = require('dot-prop'), | ||
get = _require.get; | ||
var get = require('lodash.get'); | ||
var _require2 = require('./util'), | ||
is = _require2.is; | ||
var _require = require('./util'), | ||
is = _require.is; | ||
@@ -12,0 +11,0 @@ module.exports = function (_ref) { |
'use strict'; | ||
// theme getter | ||
var _require = require('dot-prop'), | ||
get = _require.get; | ||
var get = require('lodash.get'); | ||
module.exports = function (keys, fallback) { | ||
@@ -8,0 +6,0 @@ return function (props) { |
@@ -9,7 +9,6 @@ 'use strict'; | ||
var _require = require('dot-prop'), | ||
get = _require.get; | ||
var get = require('lodash.get'); | ||
var _require2 = require('./constants'), | ||
breakpoints = _require2.breakpoints; | ||
var _require = require('./constants'), | ||
breakpoints = _require.breakpoints; | ||
@@ -16,0 +15,0 @@ var is = function is(n) { |
{ | ||
"name": "styled-system", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Design system utilities for styled-components, glamorous, and other css-in-js libraries", | ||
@@ -65,4 +65,4 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"dot-prop": "^4.2.0" | ||
"lodash.get": "^4.4.2" | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
const { get } = require('dot-prop') | ||
const get = require('lodash.get') | ||
const { breaks, merge, arr, dec, media } = require('./util') | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
const { get } = require('dot-prop') | ||
const get = require('lodash.get') | ||
const { is, arr, num, px, breaks, dec, media, merge } = require('./util') | ||
@@ -3,0 +3,0 @@ const { fontSizes } = require('./constants') |
@@ -1,2 +0,2 @@ | ||
const { get } = require('dot-prop') | ||
const get = require('lodash.get') | ||
@@ -3,0 +3,0 @@ module.exports = (pseudoclass, prop) => (keys = {}) => props => { |
@@ -1,2 +0,2 @@ | ||
const { get } = require('dot-prop') | ||
const get = require('lodash.get') | ||
const { is, arr, num, px, breaks, dec, media, merge } = require('./util') | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
const { get } = require('dot-prop') | ||
const get = require('lodash.get') | ||
const { | ||
@@ -3,0 +3,0 @@ arr, |
@@ -1,2 +0,2 @@ | ||
const { get } = require('dot-prop') | ||
const get = require('lodash.get') | ||
const { is } = require('./util') | ||
@@ -3,0 +3,0 @@ |
// theme getter | ||
const { get } = require('dot-prop') | ||
const get = require('lodash.get') | ||
module.exports = (keys, fallback) => props => get(props.theme, keys, fallback) |
@@ -1,2 +0,2 @@ | ||
const { get } = require('dot-prop') | ||
const get = require('lodash.get') | ||
const { breakpoints } = require('./constants') | ||
@@ -3,0 +3,0 @@ |
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
65852
1857
+ Addedlodash.get@^4.4.2
+ Addedlodash.get@4.4.2(transitive)
- Removeddot-prop@^4.2.0
- Removeddot-prop@4.2.1(transitive)
- Removedis-obj@1.0.1(transitive)