@superlogica/chip-native
Advanced tools
Comparing version 0.0.8 to 0.0.9
{ | ||
"name": "@superlogica/chip-native", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"description": "", | ||
@@ -14,3 +14,3 @@ "main": "Chip.js", | ||
"license": "ISC", | ||
"gitHead": "328d4b2f00d013c32eb0e028114074d2455ce6bf" | ||
"gitHead": "0e1dd4772d7663d33f3996220a5713aa16a384ed" | ||
} |
@@ -1,1 +0,1 @@ | ||
var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.ChipText=exports.ChipContainer=void 0;var _taggedTemplateLiteralLoose2=_interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteralLoose"));var _native=_interopRequireDefault(require("styled-components/native"));function _templateObject2(){var data=(0,_taggedTemplateLiteralLoose2.default)(["\n ","\n"]);_templateObject2=function _templateObject2(){return data;};return data;}function _templateObject(){var data=(0,_taggedTemplateLiteralLoose2.default)(["\n ","\n"]);_templateObject=function _templateObject(){return data;};return data;}var ChipContainer=_native.default.View(_templateObject(),function(_ref){var _ref$theme=_ref.theme,padding=_ref$theme.chip.padding,color=_ref$theme.color,bgColor=_ref.bgColor;return"\n padding-top: "+padding.top+"px;\n padding-right: "+padding.right+"px;\n padding-bottom: "+padding.bottom+"px;\n padding-left: "+padding.left+"px;\n background: "+(color[bgColor]||color.neutral100)+";\n ";});exports.ChipContainer=ChipContainer;var ChipText=_native.default.Text(_templateObject2(),function(_ref2){var _ref2$theme=_ref2.theme,typography=_ref2$theme.chip.typography,color=_ref2$theme.color,txtColor=_ref2.txtColor;return"\n font-family: "+typography.fontFamily+";\n font-size: "+typography.fontSize+"px;\n line-height: "+typography.lineHeight+"px;\n color: "+(color[txtColor]||color.neutral600)+";\n ";});exports.ChipText=ChipText; | ||
var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.ChipText=exports.ChipContainer=void 0;var _taggedTemplateLiteralLoose2=_interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteralLoose"));var _native=_interopRequireDefault(require("styled-components/native"));function _templateObject2(){var data=(0,_taggedTemplateLiteralLoose2.default)(["\n ","\n"]);_templateObject2=function _templateObject2(){return data;};return data;}function _templateObject(){var data=(0,_taggedTemplateLiteralLoose2.default)(["\n ","\n"]);_templateObject=function _templateObject(){return data;};return data;}var ChipContainer=_native.default.View(_templateObject(),function(_ref){var _ref$theme=_ref.theme,padding=_ref$theme.chip.padding,color=_ref$theme.color,bgColor=_ref.bgColor;return"\n padding-top: "+padding.top+"px;\n padding-right: "+padding.right+"px;\n padding-bottom: "+padding.bottom+"px;\n padding-left: "+padding.left+"px;\n background: "+(color[bgColor]||color.neutral100)+";\n ";});exports.ChipContainer=ChipContainer;var ChipText=_native.default.Text(_templateObject2(),function(_ref2){var theme=_ref2.theme,_ref2$theme=_ref2.theme,typography=_ref2$theme.chip.typography,color=_ref2$theme.color,txtColor=_ref2.txtColor;return"\n font-family: "+theme.typography.fontFamily+typography.fontFamily+";\n font-size: "+typography.fontSize+"px;\n line-height: "+typography.lineHeight+"px;\n color: "+(color[txtColor]||color.neutral600)+";\n ";});exports.ChipText=ChipText; |
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
4378