@superlogica/chip-native
Advanced tools
Comparing version 0.0.16 to 0.0.17
{ | ||
"name": "@superlogica/chip-native", | ||
"version": "0.0.16", | ||
"version": "0.0.17", | ||
"description": "", | ||
@@ -14,3 +14,3 @@ "main": "Chip.js", | ||
"license": "ISC", | ||
"gitHead": "b08ff13a426fb84aaa954ced74913519677b1705" | ||
"gitHead": "2aafb08bf628fe748814c11b7866ea12430191e9" | ||
} |
export var __esModule: boolean; | ||
export var ButtonDialog: any; | ||
export var LinkDialog: any; | ||
export var ContainerButton: any; | ||
export var ModalContainer: any; | ||
export var Overlay: any; | ||
export var Paragraph: any; | ||
export var Title: any; | ||
export var Container: any; | ||
export var ChipText: any; | ||
export var ChipContainer: any; | ||
//# sourceMappingURL=Styled.d.ts.map |
@@ -1,1 +0,1 @@ | ||
var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.ButtonDialog=exports.LinkDialog=exports.ContainerButton=exports.ModalContainer=exports.Overlay=exports.Paragraph=exports.Title=exports.Container=void 0;var _taggedTemplateLiteralLoose2=_interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteralLoose"));var _native=_interopRequireDefault(require("styled-components/native"));var _reactNative=require("react-native");var _Button=require("../../Button/lib/Button");function _templateObject8(){var data=(0,_taggedTemplateLiteralLoose2.default)(["\n display: flex;\n min-width: 144px;\n width: 144px;\n"]);_templateObject8=function _templateObject8(){return data;};return data;}function _templateObject7(){var data=(0,_taggedTemplateLiteralLoose2.default)(["\n display: flex;\n min-width: 144px;\n width: 144px;\n margin-left: 8px;\n"]);_templateObject7=function _templateObject7(){return data;};return data;}function _templateObject6(){var data=(0,_taggedTemplateLiteralLoose2.default)(["\n background-color: rgba(52, 52, 52, 0.8);\n flex: 1;\n opacity: 0.7;\n width: 100%;\n height: 100%;\n position: absolute;\n z-index: 1;\n"]);_templateObject6=function _templateObject6(){return data;};return data;}function _templateObject5(){var data=(0,_taggedTemplateLiteralLoose2.default)(["\n ","\n width: 100%;\n display: flex;\n align-items: center;\n \n"]);_templateObject5=function _templateObject5(){return data;};return data;}function _templateObject4(){var data=(0,_taggedTemplateLiteralLoose2.default)(["\n ","\n"]);_templateObject4=function _templateObject4(){return data;};return data;}function _templateObject3(){var data=(0,_taggedTemplateLiteralLoose2.default)(["\n ","\n"]);_templateObject3=function _templateObject3(){return data;};return data;}function _templateObject2(){var data=(0,_taggedTemplateLiteralLoose2.default)(["\n ","\n"]);_templateObject2=function _templateObject2(){return data;};return data;}function _templateObject(){var data=(0,_taggedTemplateLiteralLoose2.default)(["\n z-index: 2;\n width: 100%;\n left: 0;\n position: absolute;\n"]);_templateObject=function _templateObject(){return data;};return data;}var Container=(0,_native.default)(_reactNative.Animated.View)(_templateObject());exports.Container=Container;var ModalContainer=(0,_native.default)(_reactNative.Animated.View)(_templateObject2(),function(_ref){var color=_ref.theme.color;return"\n z-index: 3;\n padding-top: 16px;\n padding-right: 16px;\n padding-bottom: 16px;\n padding-left: 16px;\n margin-top: 50%;\n backgroundColor: "+color.white+";\n borderRadius: 4px;\n width: 90%;\n margin-left: 5%;\n ";});exports.ModalContainer=ModalContainer;var Title=_native.default.Text(_templateObject3(),function(_ref2){var _ref2$theme$typograph=_ref2.theme.typography,fontFamily=_ref2$theme$typograph.fontFamily,bold=_ref2$theme$typograph.body.bold;return"\n height: "+bold.lineHeight+"px;\n line-height: "+bold.lineHeight+"px;\n font-family: "+fontFamily+bold.fontFamily+";\n font-size: "+bold.fontSize+"px;\n width: 100%;\n text-align: center;\n margin-bottom: 8px;\n ";});exports.Title=Title;var Paragraph=_native.default.Text(_templateObject4(),function(_ref3){var _ref3$theme$typograph=_ref3.theme.typography,fontFamily=_ref3$theme$typograph.fontFamily,md=_ref3$theme$typograph.body.md;return"\n line-height: "+md.lineHeight+"px;\n font-family: "+fontFamily+md.fontFamily+";\n font-size: "+md.fontSize+"px;\n width: 100%;\n text-align: center;\n margin-bottom: 16px;\n ";});exports.Paragraph=Paragraph;var ContainerButton=_native.default.View(_templateObject5(),function(_ref4){var vertical=_ref4.vertical;return"\n "+(!vertical?"\n flex-direction: row;\n justify-content: center;":"")+"\n ";});exports.ContainerButton=ContainerButton;var Overlay=_native.default.TouchableOpacity(_templateObject6());exports.Overlay=Overlay;var LinkDialog=(0,_native.default)(_Button.ButtonLink)(_templateObject7());exports.LinkDialog=LinkDialog;var ButtonDialog=(0,_native.default)(_Button.Button)(_templateObject8());exports.ButtonDialog=ButtonDialog; | ||
var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.TextBox=exports.IconBox=exports.ChipText=exports.ChipContainer=void 0;var _taggedTemplateLiteralLoose2=_interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteralLoose"));var _native=_interopRequireDefault(require("styled-components/native"));function _templateObject4(){var data=(0,_taggedTemplateLiteralLoose2.default)(["\n ","\n position: absolute;\n right: 0;\n align-items: center;\n"]);_templateObject4=function _templateObject4(){return data;};return data;}function _templateObject3(){var data=(0,_taggedTemplateLiteralLoose2.default)(["\n ","\n"]);_templateObject3=function _templateObject3(){return data;};return data;}function _templateObject2(){var data=(0,_taggedTemplateLiteralLoose2.default)(["\n ","\n width: 100%;\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 border-radius: 85px;\n ";});exports.ChipContainer=ChipContainer;var TextBox=_native.default.View(_templateObject2(),function(_ref2){var icon=_ref2.icon;return"\n margin-right: "+(icon?20:0)+"px;\n ";});exports.TextBox=TextBox;var ChipText=_native.default.Text(_templateObject3(),function(_ref3){var _ref3$theme=_ref3.theme,typography=_ref3$theme.typography,color=_ref3$theme.color,txtColor=_ref3.txtColor;return"\n font-family: "+typography.fontFamily+typography.label.caption.fontFamily+";\n font-size: "+typography.label.caption.fontSize+"px;\n line-height: "+typography.label.caption.lineHeight+"px;\n color: "+(color[txtColor]||color.neutral600)+";\n ";});exports.ChipText=ChipText;var IconBox=_native.default.TouchableOpacity(_templateObject4(),function(_ref4){var _ref4$theme=_ref4.theme,icon=_ref4$theme.chip.icon,color=_ref4$theme.color,iconColor=_ref4.iconColor;return"\n width: "+icon.width+"px;\n height: "+icon.height+"px;\n margin-right: "+icon.marginRight+"px;\n margin-top: "+icon.marginTop+"px;\n color: "+(color[iconColor]||color.neutral600)+";\n ";});exports.IconBox=IconBox; |
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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
30
6290