@team-griffin/css-sides
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -35,3 +35,3 @@ 'use strict'; | ||
var cssSides = function cssSides(prop, sides, value) { | ||
return (0, _cssLonghand2.default)(prop, (0, _lodash2.default)(sidesMap, function (result, idx) { | ||
return (0, _cssLonghand2.default)(prop, (0, _lodash2.default)(sidesMap[sides], function (result, idx) { | ||
return _extends({}, result, _defineProperty({}, actualSides[idx], value)); | ||
@@ -38,0 +38,0 @@ }, {})); |
{ | ||
"name": "@team-griffin/css-sides", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"main": "lib/index.js", | ||
@@ -5,0 +5,0 @@ "jsnext:main": "lib/index.js", |
@@ -24,3 +24,3 @@ import cssLonghand from '@team-griffin/css-longhand'; | ||
const cssSides = (prop, sides, value) => { | ||
return cssLonghand(prop, reduce(sidesMap, (result, idx) => { | ||
return cssLonghand(prop, reduce(sidesMap[sides], (result, idx) => { | ||
return { | ||
@@ -27,0 +27,0 @@ ...result, |
118445