styled-velocity
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -6,10 +6,16 @@ export { Element } from './components/Element'; | ||
export { appearanceProps } from './shared-props/appearanceProps'; | ||
export { appearancePropsAvailable } from './shared-props/appearancePropsAvailable'; | ||
export { cssProps } from './shared-props/cssProps'; | ||
export { dimensionProps } from './shared-props/dimensionProps'; | ||
export { dimensionPropsAvailable } from './shared-props/dimensionPropsAvailable'; | ||
export { displayMode } from './shared-props/displayMode'; | ||
export { flexProps } from './shared-props/flexProps'; | ||
export { flexPropsAvailable } from './shared-props/flexPropsAvailable'; | ||
export { gridLines } from './shared-props/gridLines'; | ||
export { growShrinkProps } from './shared-props/growShrinkProps'; | ||
export { growShrinkPropsAvailable } from './shared-props/growShrinkPropsAvailable'; | ||
export { positionProps } from './shared-props/positionProps'; | ||
export { positionPropsAvailable } from './shared-props/positionPropsAvailable'; | ||
export { textProps } from './shared-props/textProps'; | ||
export { textPropsAvailable } from './shared-props/textPropsAvailable'; | ||
export { ChildrenPropTypes } from './prop-types/ChildrenPropTypes'; | ||
@@ -19,2 +25,3 @@ export { ClassNamePropTypes } from './prop-types/ClassNamePropTypes'; | ||
export { IdPropTypes } from './prop-types/IdPropTypes'; | ||
export { PropsAvailablePropTypes } from './prop-types/PropsAvailablePropTypes'; | ||
export { RolePropTypes } from './prop-types/RolePropTypes'; | ||
@@ -21,0 +28,0 @@ export { SharedPropsPropTypes } from './prop-types/SharedPropsPropTypes'; |
@@ -36,2 +36,8 @@ "use strict"; | ||
}); | ||
Object.defineProperty(exports, "appearancePropsAvailable", { | ||
enumerable: true, | ||
get: function get() { | ||
return _appearancePropsAvailable.appearancePropsAvailable; | ||
} | ||
}); | ||
Object.defineProperty(exports, "cssProps", { | ||
@@ -49,2 +55,8 @@ enumerable: true, | ||
}); | ||
Object.defineProperty(exports, "dimensionPropsAvailable", { | ||
enumerable: true, | ||
get: function get() { | ||
return _dimensionPropsAvailable.dimensionPropsAvailable; | ||
} | ||
}); | ||
Object.defineProperty(exports, "displayMode", { | ||
@@ -62,2 +74,8 @@ enumerable: true, | ||
}); | ||
Object.defineProperty(exports, "flexPropsAvailable", { | ||
enumerable: true, | ||
get: function get() { | ||
return _flexPropsAvailable.flexPropsAvailable; | ||
} | ||
}); | ||
Object.defineProperty(exports, "gridLines", { | ||
@@ -75,2 +93,8 @@ enumerable: true, | ||
}); | ||
Object.defineProperty(exports, "growShrinkPropsAvailable", { | ||
enumerable: true, | ||
get: function get() { | ||
return _growShrinkPropsAvailable.growShrinkPropsAvailable; | ||
} | ||
}); | ||
Object.defineProperty(exports, "positionProps", { | ||
@@ -82,2 +106,8 @@ enumerable: true, | ||
}); | ||
Object.defineProperty(exports, "positionPropsAvailable", { | ||
enumerable: true, | ||
get: function get() { | ||
return _positionPropsAvailable.positionPropsAvailable; | ||
} | ||
}); | ||
Object.defineProperty(exports, "textProps", { | ||
@@ -89,2 +119,8 @@ enumerable: true, | ||
}); | ||
Object.defineProperty(exports, "textPropsAvailable", { | ||
enumerable: true, | ||
get: function get() { | ||
return _textPropsAvailable.textPropsAvailable; | ||
} | ||
}); | ||
Object.defineProperty(exports, "ChildrenPropTypes", { | ||
@@ -114,2 +150,8 @@ enumerable: true, | ||
}); | ||
Object.defineProperty(exports, "PropsAvailablePropTypes", { | ||
enumerable: true, | ||
get: function get() { | ||
return _PropsAvailablePropTypes.PropsAvailablePropTypes; | ||
} | ||
}); | ||
Object.defineProperty(exports, "RolePropTypes", { | ||
@@ -318,2 +360,4 @@ enumerable: true, | ||
var _appearancePropsAvailable = require("./shared-props/appearancePropsAvailable"); | ||
var _cssProps = require("./shared-props/cssProps"); | ||
@@ -323,2 +367,4 @@ | ||
var _dimensionPropsAvailable = require("./shared-props/dimensionPropsAvailable"); | ||
var _displayMode = require("./shared-props/displayMode"); | ||
@@ -328,2 +374,4 @@ | ||
var _flexPropsAvailable = require("./shared-props/flexPropsAvailable"); | ||
var _gridLines = require("./shared-props/gridLines"); | ||
@@ -333,6 +381,12 @@ | ||
var _growShrinkPropsAvailable = require("./shared-props/growShrinkPropsAvailable"); | ||
var _positionProps = require("./shared-props/positionProps"); | ||
var _positionPropsAvailable = require("./shared-props/positionPropsAvailable"); | ||
var _textProps = require("./shared-props/textProps"); | ||
var _textPropsAvailable = require("./shared-props/textPropsAvailable"); | ||
var _ChildrenPropTypes = require("./prop-types/ChildrenPropTypes"); | ||
@@ -346,2 +400,4 @@ | ||
var _PropsAvailablePropTypes = require("./prop-types/PropsAvailablePropTypes"); | ||
var _RolePropTypes = require("./prop-types/RolePropTypes"); | ||
@@ -410,2 +466,2 @@ | ||
var _scalePxValues = require("./utilities/style/createStyle/scalePxValues"); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFLQTs7QUFDQTs7QUFDQTs7QUFDQTs7QUFHQTs7QUFDQTs7QUFDQTs7QUFDQTs7QUFDQTs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Types } from './PropsAvailablePropTypes'; | ||
export { RolePropTypes } from './RolePropTypes'; | ||
export { SharedPropsPropTypes } from './SharedPropsPropTypes'; |
@@ -30,2 +30,8 @@ "use strict"; | ||
}); | ||
Object.defineProperty(exports, "PropsAvailablePropTypes", { | ||
enumerable: true, | ||
get: function get() { | ||
return _PropsAvailablePropTypes.PropsAvailablePropTypes; | ||
} | ||
}); | ||
Object.defineProperty(exports, "RolePropTypes", { | ||
@@ -52,5 +58,7 @@ enumerable: true, | ||
var _PropsAvailablePropTypes = require("./PropsAvailablePropTypes"); | ||
var _RolePropTypes = require("./RolePropTypes"); | ||
var _SharedPropsPropTypes = require("./SharedPropsPropTypes"); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9wcm9wLXR5cGVzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUdBOztBQUNBOztBQUNBOztBQUNBOztBQUNBOztBQUNBIiwic291cmNlc0NvbnRlbnQiOlsiLyogVGhpcyBmaWxlIGlzIGF1dG9tYXRlZCB2aWEgXCIuL3NjcmlwdHMvZXhwb3J0SW5kZXhlcy5qc1wiLiBEbyBub3QgbWFudWFsbHkgZWRpdC4gKi9cblxuLyogQHByb3BUeXBlcyAqL1xuZXhwb3J0IHsgQ2hpbGRyZW5Qcm9wVHlwZXMgfSBmcm9tICcuL0NoaWxkcmVuUHJvcFR5cGVzJ1xuZXhwb3J0IHsgQ2xhc3NOYW1lUHJvcFR5cGVzIH0gZnJvbSAnLi9DbGFzc05hbWVQcm9wVHlwZXMnXG5leHBvcnQgeyBFbGVtZW50UHJvcFR5cGVzIH0gZnJvbSAnLi9FbGVtZW50UHJvcFR5cGVzJ1xuZXhwb3J0IHsgSWRQcm9wVHlwZXMgfSBmcm9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9sZVByb3BUeXBlcydcbmV4cG9ydCB7IFNoYXJlZFByb3BzUHJvcFR5cGVzIH0gZnJvbSAnLi9TaGFyZWRQcm9wc1Byb3BUeXBlcydcbiJdfQ== |
@@ -8,10 +8,12 @@ "use strict"; | ||
}); | ||
exports.appearanceProps = exports.appearancePropsAvailable = void 0; | ||
exports.appearanceProps = void 0; | ||
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral")); | ||
var _styledComponents = require("styled-components"); | ||
var _ = require("./"); | ||
var _utilities = require("../utilities"); | ||
var _styledComponents = require("styled-components"); | ||
function _templateObject() { | ||
@@ -27,21 +29,4 @@ var data = (0, _taggedTemplateLiteral2["default"])(["\n ", ";\n"]); | ||
var appearancePropsAvailable = [{ | ||
prop: 'bg', | ||
property: 'background' | ||
}, { | ||
prop: 'bgImage', | ||
property: 'background-image' | ||
}, { | ||
prop: 'bgSize', | ||
property: 'background-size' | ||
}, { | ||
prop: 'borderRadius', | ||
property: 'border-radius' | ||
}, { | ||
prop: 'boxShadow', | ||
property: 'box-shadow' | ||
}]; | ||
exports.appearancePropsAvailable = appearancePropsAvailable; | ||
var appearanceProps = (0, _styledComponents.css)(_templateObject(), function (props) { | ||
return appearancePropsAvailable.map(function (_ref) { | ||
return _.appearancePropsAvailable.map(function (_ref) { | ||
var prop = _ref.prop, | ||
@@ -56,2 +41,2 @@ property = _ref.property; | ||
exports.appearanceProps = appearanceProps; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9zaGFyZWQtcHJvcHMvYXBwZWFyYW5jZVByb3BzLmpzIl0sIm5hbWVzIjpbImFwcGVhcmFuY2VQcm9wc0F2YWlsYWJsZSIsInByb3AiLCJwcm9wZXJ0eSIsImFwcGVhcmFuY2VQcm9wcyIsImNzcyIsInByb3BzIiwibWFwIiwidmFsdWUiXSwibWFwcGluZ3MiOiI7Ozs7Oz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c3MgJiYgcHJvcHMuY3NzfTtcbmBcbiJdfQ== |
@@ -8,10 +8,12 @@ "use strict"; | ||
}); | ||
exports.dimensionProps = exports.dimensionsPropsAvailable = void 0; | ||
exports.dimensionProps = void 0; | ||
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral")); | ||
var _styledComponents = require("styled-components"); | ||
var _ = require("./"); | ||
var _utilities = require("../utilities"); | ||
var _styledComponents = require("styled-components"); | ||
function _templateObject() { | ||
@@ -27,172 +29,2 @@ var data = (0, _taggedTemplateLiteral2["default"])(["\n ", ";\n ", ";\n ", ";\n\n ", ";\n"]); | ||
var marginPropsAvailable = [{ | ||
prop: 'm', | ||
property: 'margin', | ||
conversionType: 'percentageOrPixel' | ||
}, { | ||
prop: 'mt', | ||
property: 'margin-top', | ||
conversionType: 'percentageOrPixel' | ||
}, { | ||
prop: 'mb', | ||
property: 'margin-bottom', | ||
conversionType: 'percentageOrPixel' | ||
}, { | ||
prop: 'ml', | ||
property: 'margin-left', | ||
conversionType: 'percentageOrPixel' | ||
}, { | ||
prop: 'mr', | ||
property: 'margin-right', | ||
conversionType: 'percentageOrPixel' | ||
}, { | ||
prop: 'mx', | ||
property: 'margin-left', | ||
propertyTwo: 'margin-right', | ||
conversionType: 'percentageOrPixel' | ||
}, { | ||
prop: 'my', | ||
property: 'margin-top', | ||
propertyTwo: 'margin-bottom', | ||
conversionType: 'percentageOrPixel' | ||
}]; | ||
var paddingPropsAvailable = [{ | ||
prop: 'p', | ||
property: 'padding', | ||
conversionType: 'percentageOrPixel' | ||
}, { | ||
prop: 'pt', | ||
property: 'padding-top', | ||
conversionType: 'percentageOrPixel' | ||
}, { | ||
prop: 'pb', | ||
property: 'padding-bottom', | ||
conversionType: 'percentageOrPixel' | ||
}, { | ||
prop: 'pl', | ||
property: 'padding-left', | ||
conversionType: 'percentageOrPixel' | ||
}, { | ||
prop: 'pr', | ||
property: 'padding-right', | ||
conversionType: 'percentageOrPixel' | ||
}, { | ||
prop: 'px', | ||
property: 'padding-left', | ||
propertyTwo: 'padding-right', | ||
conversionType: 'percentageOrPixel' | ||
}, { | ||
prop: 'py', | ||
property: 'padding-top', | ||
propertyTwo: 'padding-bottom', | ||
conversionType: 'percentageOrPixel' | ||
}]; | ||
var cellPropsAvailable = [{ | ||
prop: 'c', | ||
property: 'width', | ||
propertyTwo: 'height', | ||
propertyThree: 'flex-basis', | ||
conversionType: 'getCells' | ||
}, { | ||
prop: 'cw', | ||
property: 'flex-basis', | ||
propertyTwo: 'width', | ||
conversionType: 'getCells' | ||
}, { | ||
prop: 'ch', | ||
property: 'height', | ||
conversionType: 'getCells' | ||
}, { | ||
prop: 'cm', | ||
property: 'margin', | ||
conversionType: 'getCells' | ||
}, { | ||
prop: 'cml', | ||
property: 'margin-left', | ||
conversionType: 'getCells' | ||
}, { | ||
prop: 'cmr', | ||
property: 'margin-right', | ||
conversionType: 'getCells' | ||
}, { | ||
prop: 'cmx', | ||
property: 'margin-left', | ||
propertyTwo: 'margin-right', | ||
conversionType: 'getCells' | ||
}, { | ||
prop: 'cmt', | ||
property: 'margin-top', | ||
conversionType: 'getCells' | ||
}, { | ||
prop: 'cmb', | ||
property: 'margin-bottom', | ||
conversionType: 'getCells' | ||
}, { | ||
prop: 'cmy', | ||
property: 'margin-top', | ||
propertyTwo: 'margin-bottom', | ||
conversionType: 'getCells' | ||
}, { | ||
prop: 'cp', | ||
property: 'padding', | ||
conversionType: 'getCells' | ||
}, { | ||
prop: 'cpl', | ||
property: 'padding-left', | ||
conversionType: 'getCells' | ||
}, { | ||
prop: 'cpr', | ||
property: 'padding-right', | ||
conversionType: 'getCells' | ||
}, { | ||
prop: 'cpx', | ||
property: 'padding-left', | ||
propertyTwo: 'padding-right', | ||
conversionType: 'getCells' | ||
}, { | ||
prop: 'cpt', | ||
property: 'padding-top', | ||
conversionType: 'getCells' | ||
}, { | ||
prop: 'cpb', | ||
property: 'padding-bottom', | ||
conversionType: 'getCells' | ||
}, { | ||
prop: 'cpy', | ||
property: 'padding-top', | ||
propertyTwo: 'padding-bottom', | ||
conversionType: 'getCells' | ||
}, { | ||
prop: 'ctransform', | ||
property: 'transform', | ||
conversionType: 'getCellTranslate' | ||
}]; | ||
var boundingBoxPropsAvailable = [{ | ||
prop: 'h', | ||
property: 'height', | ||
conversionType: 'percentageOrPixel' | ||
}, { | ||
prop: 'w', | ||
property: 'width', | ||
propertyTwo: 'flex-basis', | ||
conversionType: 'percentageOrPixel' | ||
}, { | ||
prop: 'minh', | ||
property: 'min-height', | ||
conversionType: 'percentageOrPixel' | ||
}, { | ||
prop: 'minw', | ||
property: 'min-width', | ||
conversionType: 'percentageOrPixel' | ||
}, { | ||
prop: 'maxh', | ||
property: 'max-height', | ||
conversionType: 'percentageOrPixel' | ||
}, { | ||
prop: 'maxw', | ||
property: 'max-width', | ||
conversionType: 'percentageOrPixel' | ||
}]; | ||
var dimensionsPropsAvailable = [].concat(boundingBoxPropsAvailable, marginPropsAvailable, paddingPropsAvailable, cellPropsAvailable); | ||
exports.dimensionsPropsAvailable = dimensionsPropsAvailable; | ||
var dimensionProps = (0, _styledComponents.css)(_templateObject(), function (props) { | ||
@@ -205,3 +37,3 @@ return props.centered && 'margin: auto;'; | ||
}, function (props) { | ||
return dimensionsPropsAvailable.map(function (_ref) { | ||
return _.dimensionPropsAvailable.map(function (_ref) { | ||
var prop = _ref.prop, | ||
@@ -212,3 +44,7 @@ property = _ref.property, | ||
conversionType = _ref.conversionType; | ||
if ((0, _utilities.isNullOrUndefined)(props[prop])) return; | ||
if ((0, _utilities.isNullOrUndefined)(props[prop])) { | ||
return; | ||
} | ||
var value = conversionType ? (0, _utilities.convertValue)(props[prop], conversionType) : props[prop]; | ||
@@ -219,10 +55,17 @@ var style = (0, _utilities.createStyle)({ | ||
}); | ||
if (propertyTwo) style += (0, _utilities.createStyle)({ | ||
property: propertyTwo, | ||
value: value | ||
}); | ||
if (propertyThree) style += (0, _utilities.createStyle)({ | ||
property: propertyThree, | ||
value: value | ||
}); | ||
if (propertyTwo) { | ||
style += (0, _utilities.createStyle)({ | ||
property: propertyTwo, | ||
value: value | ||
}); | ||
} | ||
if (propertyThree) { | ||
style += (0, _utilities.createStyle)({ | ||
property: propertyThree, | ||
value: value | ||
}); | ||
} | ||
return style; | ||
@@ -232,2 +75,2 @@ }); | ||
exports.dimensionProps = dimensionProps; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9zaGFyZWQtcHJvcHMvZGltZW5zaW9uUHJvcHMuanMiXSwibmFtZXMiOlsibWFyZ2luUHJvcHNBdmFpbGFibGUiLCJwcm9wIiwicHJvcGVydHkiLCJjb252ZXJzaW9uVHlwZSIsInByb3BlcnR5VHdvIiwicGFkZGluZ1Byb3BzQXZhaWxhYmxlIiwiY2VsbFByb3BzQXZhaWxhYmxlIiwicHJvcGVydHlUaHJlZSIsImJvdW5kaW5nQm94UHJvcHNBdmFpbGFibGUiLCJkaW1lbnNpb25zUHJvcHNBdmFpbGFibGUiLCJkaW1lbnNpb25Qcm9wcyIsImNzcyIsInByb3BzIiwiY2VudGVyZWQiLCJmdWxsc2NyZWVuIiwibm9NYXJnaW4iLCJtYXAiLCJ2YWx1ZSIsInN0eWxlIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztBQUFBOztBQUNBOzs7Ozs7Ozs7Ozs7QUFTQSxJQUFNQSxvQkFBb0IsR0FBRyxDQUMzQjtBQUNFQyxFQUFBQSxJQUFJLEVBQUUsR0FEUjtBQUVFQyxFQUFBQSxRQUFRLEVBQUUsUUFGWjtBQUdFQyxFQUFBQSxjQUFjLEVBQUU7QUFIbEIsQ0FEMkIsRUFNM0I7QUFDRUYsRUFBQUEsSUFBSSxFQUFFLElBRFI7QUFFRUMsRUFBQUEsUUFBUSxFQUFFLFlBRlo7QUFHRUMsRUFBQUEsY0FBYyxFQUFFO0FBSGxCLENBTjJCLEVBVzN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XJ0eVRocmVlLCBjb252ZXJzaW9uVHlwZSB9OiBQcm9wc0F2YWlsYWJsZVByb3BUeXBlcykgPT4ge1xuICAgICAgICBpZiAoaXNOdWxsT3JVbmRlZmluZWQocHJvcHNbcHJvcF0pKSB7XG4gICAgICAgICAgcmV0dXJuXG4gICAgICAgIH1cbiAgICAgICAgY29uc3QgdmFsdWUgPSBjb252ZXJzaW9uVHlwZSA/IGNvbnZlcnRWYWx1ZShwcm9wc1twcm9wXSwgY29udmVyc2lvblR5cGUpIDogcHJvcHNbcHJvcF1cblxuICAgICAgICBsZXQgc3R5bGUgPSBjcmVhdGVTdHlsZSh7IHByb3BlcnR5LCB2YWx1ZSB9KVxuXG4gICAgICAgIC8qXG4gICAgICAgICAqIFNlZSBpZiB0aGVyZSdzIGEgc2Vjb25kIG9yIHRoaXJkIHByb3AsIEVHOiBteDogbWFyZ2luLWxlZnQgYW5kIG1hcmdpbi1yaWdodFxuICAgICAgICAgKi9cbiAgICAgICAgaWYgKHByb3BlcnR5VHdvKSB7XG4gICAgICAgICAgc3R5bGUgKz0gY3JlYXRlU3R5bGUoeyBwcm9wZXJ0eTogcHJvcGVydHlUd28sIHZhbHVlIH0pXG4gICAgICAgIH1cbiAgICAgICAgaWYgKHByb3BlcnR5VGhyZWUpIHtcbiAgICAgICAgICBzdHlsZSArPSBjcmVhdGVTdHlsZSh7IHByb3BlcnR5OiBwcm9wZXJ0eVRocmVlLCB2YWx1ZSB9KVxuICAgICAgICB9XG4gICAgICAgIHJldHVybiBzdHlsZVxuICAgICAgfSxcbiAgICApfTtcbmBcbiJdfQ== |
@@ -28,2 +28,2 @@ "use strict"; | ||
exports.displayMode = displayMode; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9zaGFyZWQtcHJvcHMvZGlzcGxheU1vZGUuanMiXSwibmFtZXMiOlsiZGlzcGxheU1vZGUiLCJjc3MiLCJwcm9wc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MuZGlzcGxheU1vZGUgJiZcbiAgICBgXG4gICAgYm94LXNoYWRvdzogaW5zZXQgMCAwIDVweCAxcHggcmdiYSgyNTUsMCwwLDAuMjUpOyBcbiAgICA+ICogeyBib3gtc2hhZG93OiBpbnNldCAwIDAgNXB4IDFweCByZ2JhKDAsMCwyNTUsMC4yNSk7IH1cbiAgYH07XG5gXG4iXX0= |
@@ -8,10 +8,12 @@ "use strict"; | ||
}); | ||
exports.flexProps = exports.flexPropsAvailable = void 0; | ||
exports.flexProps = void 0; | ||
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral")); | ||
var _styledComponents = require("styled-components"); | ||
var _ = require("./"); | ||
var _utilities = require("../utilities"); | ||
var _styledComponents = require("styled-components"); | ||
function _templateObject() { | ||
@@ -27,26 +29,4 @@ var data = (0, _taggedTemplateLiteral2["default"])(["\n ", ";\n"]); | ||
var flexPropsAvailable = [{ | ||
prop: 'direction', | ||
property: 'flex-direction', | ||
conversionType: 'getFlexProperty' | ||
}, { | ||
prop: 'wrap', | ||
property: 'flex-wrap', | ||
conversionType: 'getFlexProperty' | ||
}, { | ||
prop: 'align', | ||
property: 'justify-content', | ||
conversionType: 'getFlexProperty' | ||
}, { | ||
prop: 'valign', | ||
property: 'align-items', | ||
conversionType: 'getFlexProperty' | ||
}, { | ||
prop: 'valignContent', | ||
property: 'align-content', | ||
conversionType: 'getFlexProperty' | ||
}]; | ||
exports.flexPropsAvailable = flexPropsAvailable; | ||
var flexProps = (0, _styledComponents.css)(_templateObject(), function (props) { | ||
return flexPropsAvailable.map(function (_ref) { | ||
return _.flexPropsAvailable.map(function (_ref) { | ||
var prop = _ref.prop, | ||
@@ -62,2 +42,2 @@ property = _ref.property, | ||
exports.flexProps = flexProps; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9zaGFyZWQtcHJvcHMvZmxleFByb3BzLm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nNpb25UeXBlKSA6IHByb3BzW3Byb3BdLFxuICAgICAgICB9KSxcbiAgICApfTtcbmBcbiJdfQ== |
@@ -28,2 +28,2 @@ "use strict"; | ||
exports.gridLines = gridLines; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9zaGFyZWQtcHJvcHMvZ3JpZExpbmVzLmpzIl0sIm5hbWVzIjpbImdyaWRMaW5lcyIsImNzcyIsInByb3BzIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztBQUFBOzs7Ozs7Ozs7Ozs7QUFFTyxJQUFNQSxTQUFTLE9BQUdDLHFCQUFILHFCQUNsQixVQUFBQyxLQUFLO0FBQUEsU0FDTEEsS0FBSyxDQUFDRixTQUFOLDRvQkFESztBQUFBLENBRGEsQ0FBZiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ3N0eWxlZC1jb21wb25lbnRzJ1xuXG5leHBvcnQgY29uc3QgZ3JpZExpbmVzID0gY3NzYFxuICAke3Byb3BzID0+XG4gICAgcHJvcHMuZ3JpZExpbmVzICYmXG4gICAgYFxuICAgICY6YmVmb3JlLCAmOmFmdGVyIHtcbiAgICAgIGNvbnRlbnQ6ICcnO1xuICAgICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgICAgdG9wOiAwO1xuICAgICAgbGVmdDogMDtcbiAgICAgIGJvdHRvbTogMDtcbiAgICAgIHJpZ2h0OiAwO1xuICAgICAgb3BhY2l0eTogMC4xNzU7XG4gICAgICBwb2ludGVyLWV2ZW50czogbm9uZTtcbiAgICB9XG4gICAgLyogYmFzZSB0aGlzIG9uIGNlbGxzIHByb3AgKi9cbiAgICAmOmJlZm9yZSB7IFxuICAgICAgYmFja2dyb3VuZDogcmVwZWF0aW5nLWxpbmVhci1ncmFkaWVudCh0byByaWdodCwgZ3JlZW4sIHdoaXRlIDIuNXZ3KTtcbiAgICAgIEBtZWRpYShtaW4td2lkdGg6IDIwMDBweCl7IGJhY2tncm91bmQ6IHJlcGVhdGluZy1saW5lYXItZ3JhZGllbnQodG8gYm90dG9tLCBncmVlbiwgd2hpdGUgNTBweCk7IH1cbiAgICB9XG4gICAgJjphZnRlciB7IFxuICAgICAgYmFja2dyb3VuZDogcmVwZWF0aW5nLWxpbmVhci1ncmFkaWVudCh0byBib3R0b20sIHJlZCwgd2hpdGUgMi41dncpO1xuICAgICAgQG1lZGlhKG1pbi13aWR0aDogMjAwMHB4KXsgYmFja2dyb3VuZDogcmVwZWF0aW5nLWxpbmVhci1ncmFkaWVudCh0byBib3R0b20sIHJlZCwgd2hpdGUgNTBweCk7IH1cbiAgICB9XG5cbiAgICBgfTtcbmBcbiJdfQ== | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9zaGFyZWQtcHJvcHMvZ3JpZExpbmVzLnRzIl0sIm5hbWVzIjpbImdyaWRMaW5lcyIsImNzcyIsInByb3BzIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztBQUFBOzs7Ozs7Ozs7Ozs7QUFFTyxJQUFNQSxTQUFTLE9BQUdDLHFCQUFILHFCQUNsQixVQUFBQyxLQUFLO0FBQUEsU0FDTEEsS0FBSyxDQUFDRixTQUFOLDRvQkFESztBQUFBLENBRGEsQ0FBZiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ3N0eWxlZC1jb21wb25lbnRzJ1xuXG5leHBvcnQgY29uc3QgZ3JpZExpbmVzID0gY3NzYFxuICAke3Byb3BzID0+XG4gICAgcHJvcHMuZ3JpZExpbmVzICYmXG4gICAgYFxuICAgICY6YmVmb3JlLCAmOmFmdGVyIHtcbiAgICAgIGNvbnRlbnQ6ICcnO1xuICAgICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgICAgdG9wOiAwO1xuICAgICAgbGVmdDogMDtcbiAgICAgIGJvdHRvbTogMDtcbiAgICAgIHJpZ2h0OiAwO1xuICAgICAgb3BhY2l0eTogMC4xNzU7XG4gICAgICBwb2ludGVyLWV2ZW50czogbm9uZTtcbiAgICB9XG4gICAgLyogYmFzZSB0aGlzIG9uIGNlbGxzIHByb3AgKi9cbiAgICAmOmJlZm9yZSB7IFxuICAgICAgYmFja2dyb3VuZDogcmVwZWF0aW5nLWxpbmVhci1ncmFkaWVudCh0byByaWdodCwgZ3JlZW4sIHdoaXRlIDIuNXZ3KTtcbiAgICAgIEBtZWRpYShtaW4td2lkdGg6IDIwMDBweCl7IGJhY2tncm91bmQ6IHJlcGVhdGluZy1saW5lYXItZ3JhZGllbnQodG8gYm90dG9tLCBncmVlbiwgd2hpdGUgNTBweCk7IH1cbiAgICB9XG4gICAgJjphZnRlciB7IFxuICAgICAgYmFja2dyb3VuZDogcmVwZWF0aW5nLWxpbmVhci1ncmFkaWVudCh0byBib3R0b20sIHJlZCwgd2hpdGUgMi41dncpO1xuICAgICAgQG1lZGlhKG1pbi13aWR0aDogMjAwMHB4KXsgYmFja2dyb3VuZDogcmVwZWF0aW5nLWxpbmVhci1ncmFkaWVudCh0byBib3R0b20sIHJlZCwgd2hpdGUgNTBweCk7IH1cbiAgICB9XG5cbiAgICBgfTtcbmBcbiJdfQ== |
@@ -8,10 +8,12 @@ "use strict"; | ||
}); | ||
exports.growShrinkProps = exports.growShrinkPropsAvailable = void 0; | ||
exports.growShrinkProps = void 0; | ||
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral")); | ||
var _styledComponents = require("styled-components"); | ||
var _ = require("./"); | ||
var _utilities = require("../utilities"); | ||
var _styledComponents = require("styled-components"); | ||
function _templateObject() { | ||
@@ -27,14 +29,4 @@ var data = (0, _taggedTemplateLiteral2["default"])(["\n ", ";\n"]); | ||
var growShrinkPropsAvailable = [{ | ||
prop: 'grow', | ||
property: 'flex-grow', | ||
conversionType: 'booleanToIntString' | ||
}, { | ||
prop: 'shrink', | ||
property: 'flex-shrink', | ||
conversionType: 'booleanToIntString' | ||
}]; | ||
exports.growShrinkPropsAvailable = growShrinkPropsAvailable; | ||
var growShrinkProps = (0, _styledComponents.css)(_templateObject(), function (props) { | ||
return growShrinkPropsAvailable.map(function (_ref) { | ||
return _.growShrinkPropsAvailable.map(function (_ref) { | ||
var prop = _ref.prop, | ||
@@ -50,2 +42,2 @@ property = _ref.property, | ||
exports.growShrinkProps = growShrinkProps; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9zaGFyZWQtcHJvcHMvZ3Jvd1Nocmlua1Byb3BzLmpzIl0sIm5hbWVzIjpbImdyb3dTaHJpbmtQcm9wc0F2YWlsYWJsZSIsInByb3AiLCJwcm9wZXJ0eSIsImNvbnZlcnNpb25UeXBlIiwiZ3Jvd1Nocmlua1Byb3BzIiwiY3NzIiwicHJvcHMiLCJtYXAiLCJ2YWx1ZSJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7QUFBQTs7QUFFQTs7Ozs7Ozs7Ozs7O0FBRU8sSUFBTUEsd0JBQXdCLEdBQUcsQ0FDdEM7QUFDRUMsRUFBQUEsSUFBSSxFQUFFLE1BRFI7QUFFRUMsRUFBQUEsUUFBUSxFQUFFLFdBRlo7QUFHRUMsRUFBQUEsY0FBYyxFQUFFO0FBSGxCLENBRHNDLEVBTXRDO0FBQ0VGLEVBQUFBLElBQUksRUFBRSxRQURSO0FBRUVDLEVBQUFBLFFBQVEsRUFBRSxhQUZaO0FBR0VDLEVBQUFBLGNBQWMsRUFBRTtBQUhsQixDQU5zQyxDQUFqQzs7QUFhQSxJQUFNQyxlQUFlLE9BQUdDLHFCQUFILHFCQUN4QixVQUFBQyxLQUFLO0FBQUEsU0FDTE4sd0JBQXdCLENBQUNPLEdBQXpCLENBQ0U7QUFBQSxRQUFHTixJQUFILFFBQUdBLEl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GL0QsS0FBWixDQUZGO0FBQUEsR0FERixDQURLO0FBQUEsQ0FEbUIsQ0FBckIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBQcm9wc0F2YWlsYWJsZVByb3BUeXBlcyB9IGZyb20gJ0Bwcm9wVHlwZXMnXG5pbXBvcnQgeyBncm93U2hyaW5rUHJvcHNBdmFpbGFibGUgfSBmcm9tICdAc2hhcmVkUHJvcHMnXG5pbXBvcnQgeyBjb252ZXJ0VmFsdWUsIGNyZWF0ZVN0eWxlIH0gZnJvbSAnQHV0aWxzJ1xuaW1wb3J0IHsgY3NzIH0gZnJvbSAnc3R5bGVkLWNvbXBvbmVudHMnXG5cbmV4cG9ydCBjb25zdCBncm93U2hyaW5rUHJvcHMgPSBjc3NgXG4gICR7cHJvcHMgPT5cbiAgICBncm93U2hyaW5rUHJvcHNBdmFpbGFibGUubWFwKFxuICAgICAgKHsgcHJvcCwgcHJvcGVydHksIGNvbnZlcnNpb25UeXBlIH06IFByb3BzQXZhaWxhYmxlUHJvcFR5cGVzKSA9PlxuICAgICAgICBwcm9wc1twcm9wXSAmJlxuICAgICAgICBjcmVhdGVTdHlsZSh7XG4gICAgICAgICAgcHJvcGVydHksXG4gICAgICAgICAgdmFsdWU6IGNvbnZlcnNpb25UeXBlID8gY29udmVydFZhbHVlKHByb3BzW3Byb3BdLCBjb252ZXJzaW9uVHlwZSkgOiBwcm9wc1twcm9wXSxcbiAgICAgICAgfSksXG4gICAgKX07XG5gXG4iXX0= |
export { appearanceProps } from './appearanceProps'; | ||
export { appearancePropsAvailable } from './appearancePropsAvailable'; | ||
export { cssProps } from './cssProps'; | ||
export { dimensionProps } from './dimensionProps'; | ||
export { dimensionPropsAvailable } from './dimensionPropsAvailable'; | ||
export { displayMode } from './displayMode'; | ||
export { flexProps } from './flexProps'; | ||
export { flexPropsAvailable } from './flexPropsAvailable'; | ||
export { gridLines } from './gridLines'; | ||
export { growShrinkProps } from './growShrinkProps'; | ||
export { growShrinkPropsAvailable } from './growShrinkPropsAvailable'; | ||
export { positionProps } from './positionProps'; | ||
export { positionPropsAvailable } from './positionPropsAvailable'; | ||
export { textProps } from './textProps'; | ||
export { textPropsAvailable } from './textPropsAvailable'; |
@@ -12,2 +12,8 @@ "use strict"; | ||
}); | ||
Object.defineProperty(exports, "appearancePropsAvailable", { | ||
enumerable: true, | ||
get: function get() { | ||
return _appearancePropsAvailable.appearancePropsAvailable; | ||
} | ||
}); | ||
Object.defineProperty(exports, "cssProps", { | ||
@@ -25,2 +31,8 @@ enumerable: true, | ||
}); | ||
Object.defineProperty(exports, "dimensionPropsAvailable", { | ||
enumerable: true, | ||
get: function get() { | ||
return _dimensionPropsAvailable.dimensionPropsAvailable; | ||
} | ||
}); | ||
Object.defineProperty(exports, "displayMode", { | ||
@@ -38,2 +50,8 @@ enumerable: true, | ||
}); | ||
Object.defineProperty(exports, "flexPropsAvailable", { | ||
enumerable: true, | ||
get: function get() { | ||
return _flexPropsAvailable.flexPropsAvailable; | ||
} | ||
}); | ||
Object.defineProperty(exports, "gridLines", { | ||
@@ -51,2 +69,8 @@ enumerable: true, | ||
}); | ||
Object.defineProperty(exports, "growShrinkPropsAvailable", { | ||
enumerable: true, | ||
get: function get() { | ||
return _growShrinkPropsAvailable.growShrinkPropsAvailable; | ||
} | ||
}); | ||
Object.defineProperty(exports, "positionProps", { | ||
@@ -58,2 +82,8 @@ enumerable: true, | ||
}); | ||
Object.defineProperty(exports, "positionPropsAvailable", { | ||
enumerable: true, | ||
get: function get() { | ||
return _positionPropsAvailable.positionPropsAvailable; | ||
} | ||
}); | ||
Object.defineProperty(exports, "textProps", { | ||
@@ -65,5 +95,13 @@ enumerable: true, | ||
}); | ||
Object.defineProperty(exports, "textPropsAvailable", { | ||
enumerable: true, | ||
get: function get() { | ||
return _textPropsAvailable.textPropsAvailable; | ||
} | ||
}); | ||
var _appearanceProps = require("./appearanceProps"); | ||
var _appearancePropsAvailable = require("./appearancePropsAvailable"); | ||
var _cssProps = require("./cssProps"); | ||
@@ -73,2 +111,4 @@ | ||
var _dimensionPropsAvailable = require("./dimensionPropsAvailable"); | ||
var _displayMode = require("./displayMode"); | ||
@@ -78,2 +118,4 @@ | ||
var _flexPropsAvailable = require("./flexPropsAvailable"); | ||
var _gridLines = require("./gridLines"); | ||
@@ -83,5 +125,11 @@ | ||
var _growShrinkPropsAvailable = require("./growShrinkPropsAvailable"); | ||
var _positionProps = require("./positionProps"); | ||
var _positionPropsAvailable = require("./positionPropsAvailable"); | ||
var _textProps = require("./textProps"); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9zaGFyZWQtcHJvcHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBR0E7O0FBQ0E7O0FBQ0E7O0FBQ0E7O0FBQ0E7O0FBQ0E7O0FBQ0E7O0FBQ0E7O0FBQ0EiLCJzb3VyY2VzQ29udGVudCI6WyIvKiBUaGlzIGZpbGUgaXMgYXV0b21hdGVkIHZpYSBcIi4vc2NyaXB0cy9leHBvcnRJbmRleGVzLmpzXCIuIERvIG5vdCBtYW51YWxseSBlZGl0LiAqL1xuXG4vKiBAc2hhcmVkUHJvcHMgKi9cbmV4cG9ydCB7IGFwcGVhcmFuY2VQcm9wcyB9IGZyb20gJy4vYXBwZWFyYW5jZVByb3BzJ1xuZXhwb3J0IHsgY3NzUHJvcHMgfSBmcm9tICcuL2Nzc1Byb3BzJ1xuZXhwb3J0IHsgZGltZW5zaW9uUHJvcHMgfSBmcm9tICcuL2RpbWVuc2lvblByb3BzJ1xuZXhwb3J0IHsgZGlzcGxheU1vZGUgfSBmcm9tICcuL2Rpc3BsYXlNb2RlJ1xuZXhwb3J0IHsgZmxleFByb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nLi9hcHBlYXJhbmNlUHJvcHNBdmFpbGFibGUnXG5leHBvcnQgeyBjc3NQcm9wcyB9IGZyb20gJy4vY3NzUHJvcHMnXG5leHBvcnQgeyBkaW1lbnNpb25Qcm9wcyB9IGZyb20gJy4vZGltZW5zaW9uUHJvcHMnXG5leHBvcnQgeyBkaW1lbnNpb25Qcm9wc0F2YWlsYWJsZSB9IGZyb20gJy4vZGltZW5zaW9uUHJvcHNBdmFpbGFibGUnXG5leHBvcnQgeyBkaXNwbGF5TW9kZSB9IGZyb20gJy4vZGlzcGxheU1vZGUnXG5leHBvcnQgeyBmbGV4UHJvcHMgfSBmcm9tICcuL2ZsZXhQcm9wcydcbmV4cG9ydCB7IGZsZXhQcm9wc0F2YWlsYWJsZSB9IGZyb20gJy4vZmxleFByb3BzQXZhaWxhYmxlJ1xuZXhwb3J0IHsgZ3JpZExpbmVzIH0gZnJvbSAnLi9ncmlkTGluZXMnXG5leHBvcnQgeyBncm93U2hyaW5rUHJvcHMgfSBmcm9tICcuL2dyb3dTaHJpbmtQcm9wcydcbmV4cG9ydCB7IGdyb3dTaHJpbmtQcm9wc0F2YWlsYWJsZSB9IGZyb20gJy4vZ3Jvd1Nocmlua1Byb3BzQXZhaWxhYmxlJ1xuZXhwb3J0IHsgcG9zaXRpb25Qcm9wcyB9IGZyb20gJy4vcG9zaXRpb25Qcm9wcydcbmV4cG9ydCB7IHBvc2l0aW9uUHJvcHNBdmFpbGFibGUgfSBmcm9tICcuL3Bvc2l0aW9uUHJvcHNBdmFpbGFibGUnXG5leHBvcnQgeyB0ZXh0UHJvcHMgfSBmcm9tICcuL3RleHRQcm9wcydcbmV4cG9ydCB7IHRleHRQcm9wc0F2YWlsYWJsZSB9IGZyb20gJy4vdGV4dFByb3BzQXZhaWxhYmxlJ1xuIl19 |
@@ -8,10 +8,12 @@ "use strict"; | ||
}); | ||
exports.positionProps = exports.positionPropsAvailable = void 0; | ||
exports.positionProps = void 0; | ||
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral")); | ||
var _styledComponents = require("styled-components"); | ||
var _ = require("./"); | ||
var _utilities = require("../utilities"); | ||
var _styledComponents = require("styled-components"); | ||
function _templateObject() { | ||
@@ -27,67 +29,4 @@ var data = (0, _taggedTemplateLiteral2["default"])(["\n ", ";\n"]); | ||
var directionPropsAvailable = [{ | ||
prop: 't', | ||
property: 'top', | ||
conversionType: 'percentageOrPixel' | ||
}, { | ||
prop: 'b', | ||
property: 'bottom', | ||
conversionType: 'percentageOrPixel' | ||
}, { | ||
prop: 'l', | ||
property: 'left', | ||
conversionType: 'percentageOrPixel' | ||
}, { | ||
prop: 'r', | ||
property: 'right', | ||
conversionType: 'percentageOrPixel' | ||
}, { | ||
prop: 'x', | ||
property: 'left', | ||
propertyTwo: 'right', | ||
conversionType: 'percentageOrPixel' | ||
}, { | ||
prop: 'y', | ||
property: 'top', | ||
propertyTwo: 'bottom', | ||
conversionType: 'percentageOrPixel' | ||
}]; | ||
var cellDirectionPropsAvailable = [{ | ||
prop: 'ct', | ||
property: 'top', | ||
conversionType: 'getCells' | ||
}, { | ||
prop: 'cb', | ||
property: 'bottom', | ||
conversionType: 'getCells' | ||
}, { | ||
prop: 'cl', | ||
property: 'left', | ||
conversionType: 'getCells' | ||
}, { | ||
prop: 'cr', | ||
property: 'right', | ||
conversionType: 'getCells' | ||
}, { | ||
prop: 'cx', | ||
property: 'left', | ||
propertyTwo: 'right', | ||
conversionType: 'getCells' | ||
}, { | ||
prop: 'cy', | ||
property: 'top', | ||
propertyTwo: 'bottom', | ||
conversionType: 'getCells' | ||
}]; | ||
var layerPropsAvailable = [{ | ||
prop: 'position', | ||
property: 'position' | ||
}, { | ||
prop: 'z', | ||
property: 'z-index' | ||
}]; | ||
var positionPropsAvailable = [].concat(directionPropsAvailable, cellDirectionPropsAvailable, layerPropsAvailable); | ||
exports.positionPropsAvailable = positionPropsAvailable; | ||
var positionProps = (0, _styledComponents.css)(_templateObject(), function (props) { | ||
return positionPropsAvailable.map(function (_ref) { | ||
return _.positionPropsAvailable.map(function (_ref) { | ||
var prop = _ref.prop, | ||
@@ -98,3 +37,7 @@ property = _ref.property, | ||
conversionType = _ref.conversionType; | ||
if ((0, _utilities.isNullOrUndefined)(props[prop])) return; | ||
if ((0, _utilities.isNullOrUndefined)(props[prop])) { | ||
return; | ||
} | ||
var value = conversionType ? (0, _utilities.convertValue)(props[prop], conversionType) : props[prop]; | ||
@@ -105,10 +48,17 @@ var style = (0, _utilities.createStyle)({ | ||
}); | ||
if (propertyTwo) style += (0, _utilities.createStyle)({ | ||
property: propertyTwo, | ||
value: value | ||
}); | ||
if (propertyThree) style += (0, _utilities.createStyle)({ | ||
property: propertyThree, | ||
value: value | ||
}); | ||
if (propertyTwo) { | ||
style += (0, _utilities.createStyle)({ | ||
property: propertyTwo, | ||
value: value | ||
}); | ||
} | ||
if (propertyThree) { | ||
style += (0, _utilities.createStyle)({ | ||
property: propertyThree, | ||
value: value | ||
}); | ||
} | ||
return style; | ||
@@ -118,2 +68,2 @@ }); | ||
exports.positionProps = positionProps; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9zaGFyZWQtcHJvcHMvcG9zaXRpb25Qcm9wcy5qcyJdLCJuYW1lcyI6WyJkaXJlY3Rpb25Qcm9wc0F2YWlsYWJsZSIsInByb3AiLCJwcm9wZXJ0eSIsImNvbnZlcnNpb25UeXBlIiwicHJvcGVydHlUd28iLCJjZWxsRGlyZWN0aW9uUHJvcHNBdmFpbGFibGUiLCJsYXllclByb3BzQXZhaWxhYmxlIiwicG9zaXRpb25Qcm9wc0F2YWlsYWJsZSIsInBvc2l0aW9uUHJvcHMiLCJjc3MiLCJwcm9wcyIsIm1hcCIsInByb3BlcnR5VGhyZWUiLCJ2YWx1ZSIsInN0eWxlIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztBQUFBOztBQUNBOz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XJ0eVRocmVlLCBjb252ZXJzaW9uVHlwZSB9OiBQcm9wc0F2YWlsYWJsZVByb3BUeXBlcykgPT4ge1xuICAgICAgICBpZiAoaXNOdWxsT3JVbmRlZmluZWQocHJvcHNbcHJvcF0pKSB7XG4gICAgICAgICAgcmV0dXJuXG4gICAgICAgIH1cbiAgICAgICAgY29uc3QgdmFsdWUgPSBjb252ZXJzaW9uVHlwZSA/IGNvbnZlcnRWYWx1ZShwcm9wc1twcm9wXSwgY29udmVyc2lvblR5cGUpIDogcHJvcHNbcHJvcF1cblxuICAgICAgICBsZXQgc3R5bGUgPSBjcmVhdGVTdHlsZSh7IHByb3BlcnR5LCB2YWx1ZSB9KVxuXG4gICAgICAgIC8qXG4gICAgICAgICAqIFNlZSBpZiB0aGVyZSdzIGEgc2Vjb25kIG9yIHRoaXJkIHByb3AsIEVHOiBteDogbWFyZ2luLWxlZnQgYW5kIG1hcmdpbi1yaWdodFxuICAgICAgICAgKi9cbiAgICAgICAgaWYgKHByb3BlcnR5VHdvKSB7XG4gICAgICAgICAgc3R5bGUgKz0gY3JlYXRlU3R5bGUoeyBwcm9wZXJ0eTogcHJvcGVydHlUd28sIHZhbHVlIH0pXG4gICAgICAgIH1cbiAgICAgICAgaWYgKHByb3BlcnR5VGhyZWUpIHtcbiAgICAgICAgICBzdHlsZSArPSBjcmVhdGVTdHlsZSh7IHByb3BlcnR5OiBwcm9wZXJ0eVRocmVlLCB2YWx1ZSB9KVxuICAgICAgICB9XG4gICAgICAgIHJldHVybiBzdHlsZVxuICAgICAgfSxcbiAgICApfTtcbmBcbiJdfQ== |
@@ -8,10 +8,12 @@ "use strict"; | ||
}); | ||
exports.textProps = exports.textPropsAvailable = void 0; | ||
exports.textProps = void 0; | ||
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral")); | ||
var _styledComponents = require("styled-components"); | ||
var _ = require("./"); | ||
var _utilities = require("../utilities"); | ||
var _styledComponents = require("styled-components"); | ||
function _templateObject() { | ||
@@ -27,34 +29,14 @@ var data = (0, _taggedTemplateLiteral2["default"])(["\n ", ";\n ", ";\n"]); | ||
var textPropsAvailable = [{ | ||
prop: 'color', | ||
property: 'color' | ||
}, { | ||
prop: 'textAlign', | ||
property: 'text-align' | ||
}, { | ||
prop: 'textTransform', | ||
property: 'text-transform' | ||
}, { | ||
prop: 'fontFamily', | ||
property: 'font-family' | ||
}, { | ||
prop: 'fontSize', | ||
property: 'font-size', | ||
conversionType: 'percentageOrPixel' | ||
}, { | ||
prop: 'fontWeight', | ||
property: 'font-weight' | ||
}, { | ||
prop: 'lineHeight', | ||
property: 'line-height' | ||
}]; | ||
exports.textPropsAvailable = textPropsAvailable; | ||
var textProps = (0, _styledComponents.css)(_templateObject(), function (props) { | ||
return props.uppercase && 'text-transform: uppercase;'; | ||
}, function (props) { | ||
return textPropsAvailable.map(function (_ref) { | ||
return _.textPropsAvailable.map(function (_ref) { | ||
var prop = _ref.prop, | ||
property = _ref.property, | ||
conversionType = _ref.conversionType; | ||
if ((0, _utilities.isNullOrUndefined)(props[prop])) return; | ||
if ((0, _utilities.isNullOrUndefined)(props[prop])) { | ||
return; | ||
} | ||
var value = conversionType ? (0, _utilities.convertValue)(props[prop], conversionType) : props[prop]; | ||
@@ -69,2 +51,2 @@ var style = (0, _utilities.createStyle)({ | ||
exports.textProps = textProps; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9zaGFyZWQtcHJvcHMvdGV4dFByb3BzLmpzIl0sIm5hbWVzIjpbInRleHRQcm9wc0F2YWlsYWJsZSIsInByb3AiLCJwcm9wZXJ0eSIsImNvbnZlcnNpb25UeXBlIiwidGV4dFByb3BzIiwiY3NzIiwicHJvcHMiLCJ1cHBlcmNhc2UiLCJtYXAiLCJ2YWx1ZSIsInN0eWxlIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztBQUFBOztBQUNBO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mRlZmluZWQgfSBmcm9tICdAdXRpbHMnXG5pbXBvcnQgeyBjc3MgfSBmcm9tICdzdHlsZWQtY29tcG9uZW50cydcbmV4cG9ydCBjb25zdCB0ZXh0UHJvcHMgPSBjc3NgXG4gICR7cHJvcHMgPT4gcHJvcHMudXBwZXJjYXNlICYmICd0ZXh0LXRyYW5zZm9ybTogdXBwZXJjYXNlOyd9O1xuICAke3Byb3BzID0+XG4gICAgdGV4dFByb3BzQXZhaWxhYmxlLm1hcCgoeyBwcm9wLCBwcm9wZXJ0eSwgY29udmVyc2lvblR5cGUgfTogUHJvcHNBdmFpbGFibGVQcm9wVHlwZXMpID0+IHtcbiAgICAgIGlmIChpc051bGxPclVuZGVmaW5lZChwcm9wc1twcm9wXSkpIHtcbiAgICAgICAgcmV0dXJuXG4gICAgICB9XG4gICAgICBjb25zdCB2YWx1ZSA9IGNvbnZlcnNpb25UeXBlID8gY29udmVydFZhbHVlKHByb3BzW3Byb3BdLCBjb252ZXJzaW9uVHlwZSkgOiBwcm9wc1twcm9wXVxuXG4gICAgICBjb25zdCBzdHlsZSA9IGNyZWF0ZVN0eWxlKHsgcHJvcGVydHksIHZhbHVlIH0pXG5cbiAgICAgIHJldHVybiBzdHlsZVxuICAgIH0pfTtcbmBcbiJdfQ== |
{ | ||
"name": "styled-velocity", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "Styled-Velocity, a React-based styled prop and UI library to increase your velocity and help build your Design System.", | ||
@@ -5,0 +5,0 @@ "author": "Jon K. Wheeler", |
@@ -13,10 +13,16 @@ /* This file is automated via "./scripts/exportSrcIndex.js". Do not manually edit. */ | ||
export { appearanceProps } from './shared-props/appearanceProps' | ||
export { appearancePropsAvailable } from './shared-props/appearancePropsAvailable' | ||
export { cssProps } from './shared-props/cssProps' | ||
export { dimensionProps } from './shared-props/dimensionProps' | ||
export { dimensionPropsAvailable } from './shared-props/dimensionPropsAvailable' | ||
export { displayMode } from './shared-props/displayMode' | ||
export { flexProps } from './shared-props/flexProps' | ||
export { flexPropsAvailable } from './shared-props/flexPropsAvailable' | ||
export { gridLines } from './shared-props/gridLines' | ||
export { growShrinkProps } from './shared-props/growShrinkProps' | ||
export { growShrinkPropsAvailable } from './shared-props/growShrinkPropsAvailable' | ||
export { positionProps } from './shared-props/positionProps' | ||
export { positionPropsAvailable } from './shared-props/positionPropsAvailable' | ||
export { textProps } from './shared-props/textProps' | ||
export { textPropsAvailable } from './shared-props/textPropsAvailable' | ||
@@ -28,2 +34,3 @@ /* Shared propTypes */ | ||
export { IdPropTypes } from './prop-types/IdPropTypes' | ||
export { PropsAvailablePropTypes } from './prop-types/PropsAvailablePropTypes' | ||
export { RolePropTypes } from './prop-types/RolePropTypes' | ||
@@ -30,0 +37,0 @@ export { SharedPropsPropTypes } from './prop-types/SharedPropsPropTypes' |
@@ -8,3 +8,4 @@ /* This file is automated via "./scripts/exportIndexes.js". Do not manually edit. */ | ||
export { IdPropTypes } from './IdPropTypes' | ||
export { PropsAvailablePropTypes } from './PropsAvailablePropTypes' | ||
export { RolePropTypes } from './RolePropTypes' | ||
export { SharedPropsPropTypes } from './SharedPropsPropTypes' |
@@ -5,9 +5,15 @@ /* This file is automated via "./scripts/exportIndexes.js". Do not manually edit. */ | ||
export { appearanceProps } from './appearanceProps' | ||
export { appearancePropsAvailable } from './appearancePropsAvailable' | ||
export { cssProps } from './cssProps' | ||
export { dimensionProps } from './dimensionProps' | ||
export { dimensionPropsAvailable } from './dimensionPropsAvailable' | ||
export { displayMode } from './displayMode' | ||
export { flexProps } from './flexProps' | ||
export { flexPropsAvailable } from './flexPropsAvailable' | ||
export { gridLines } from './gridLines' | ||
export { growShrinkProps } from './growShrinkProps' | ||
export { growShrinkPropsAvailable } from './growShrinkPropsAvailable' | ||
export { positionProps } from './positionProps' | ||
export { positionPropsAvailable } from './positionPropsAvailable' | ||
export { textProps } from './textProps' | ||
export { textPropsAvailable } from './textPropsAvailable' |
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
518041
249
4465