@superlogica/cardmenu-native
Advanced tools
Comparing version 0.0.12 to 0.0.13
@@ -1,1 +0,1 @@ | ||
var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");var _interopRequireWildcard=require("@babel/runtime/helpers/interopRequireWildcard");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _extends2=_interopRequireDefault(require("@babel/runtime/helpers/extends"));var _objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));var _react=_interopRequireDefault(require("react"));var Styled=_interopRequireWildcard(require("./Styled"));var _propTypes=require("prop-types");var _jsxFileName="/Users/wilson.prado/Projetos/designsystem-mobile/src/components/CardMenu/src/CardMenu.js";var CardMenu=function CardMenu(_ref){var children=_ref.children,icon=_ref.icon,counter=_ref.counter,_onPress=_ref.onPress,textProps=_ref.textProps,rest=(0,_objectWithoutProperties2.default)(_ref,["children","icon","counter","onPress","textProps"]);return _react.default.createElement(Styled.Container,(0,_extends2.default)({},rest,{onPress:function onPress(e){_onPress(e);},__source:{fileName:_jsxFileName,lineNumber:6,columnNumber:3}}),_react.default.createElement(Styled.ContainerRow,{__source:{fileName:_jsxFileName,lineNumber:11,columnNumber:5}},_react.default.createElement(Styled.IconBox,{__source:{fileName:_jsxFileName,lineNumber:12,columnNumber:7}},counter&&_react.default.createElement(Styled.IconCounter,{__source:{fileName:_jsxFileName,lineNumber:14,columnNumber:11}},_react.default.createElement(Styled.TextCounter,{__source:{fileName:_jsxFileName,lineNumber:15,columnNumber:13}},counter)),icon)),_react.default.createElement(Styled.ContainerText,{__source:{fileName:_jsxFileName,lineNumber:21,columnNumber:5}},_react.default.createElement(Styled.ActionText,(0,_extends2.default)({},textProps,{__source:{fileName:_jsxFileName,lineNumber:22,columnNumber:7}}),children)));};CardMenu.propTypes={children:_propTypes.node,counter:_propTypes.number,icon:_propTypes.element,onPress:_propTypes.func,textProps:_propTypes.object};CardMenu.defaultProps={onPress:function onPress(){},textProps:{}};var _default=CardMenu;exports.default=_default; | ||
var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");var _interopRequireWildcard=require("@babel/runtime/helpers/interopRequireWildcard");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _extends2=_interopRequireDefault(require("@babel/runtime/helpers/extends"));var _objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));var _react=_interopRequireDefault(require("react"));var Styled=_interopRequireWildcard(require("./Styled"));var _propTypes=require("prop-types");var _jsxFileName="/Users/gustavo.zanardi/Documents/Projetos/designsystem-mobile/src/components/CardMenu/src/CardMenu.js";var CardMenu=function CardMenu(_ref){var children=_ref.children,icon=_ref.icon,counter=_ref.counter,_onPress=_ref.onPress,textProps=_ref.textProps,rest=(0,_objectWithoutProperties2.default)(_ref,["children","icon","counter","onPress","textProps"]);return _react.default.createElement(Styled.Container,(0,_extends2.default)({},rest,{onPress:function onPress(e){_onPress(e);},__source:{fileName:_jsxFileName,lineNumber:6,columnNumber:3}}),_react.default.createElement(Styled.ContainerRow,{__source:{fileName:_jsxFileName,lineNumber:11,columnNumber:5}},_react.default.createElement(Styled.IconBox,{__source:{fileName:_jsxFileName,lineNumber:12,columnNumber:7}},counter&&_react.default.createElement(Styled.IconCounter,{__source:{fileName:_jsxFileName,lineNumber:14,columnNumber:11}},_react.default.createElement(Styled.TextCounter,{__source:{fileName:_jsxFileName,lineNumber:15,columnNumber:13}},counter)),icon)),_react.default.createElement(Styled.ContainerText,{__source:{fileName:_jsxFileName,lineNumber:21,columnNumber:5}},_react.default.createElement(Styled.ActionText,(0,_extends2.default)({},textProps,{__source:{fileName:_jsxFileName,lineNumber:22,columnNumber:7}}),children)));};CardMenu.propTypes={children:_propTypes.node,counter:_propTypes.number,icon:_propTypes.element,onPress:_propTypes.func,textProps:_propTypes.object};CardMenu.defaultProps={onPress:function onPress(){},textProps:{}};var _default=CardMenu;exports.default=_default; |
{ | ||
"name": "@superlogica/cardmenu-native", | ||
"version": "0.0.12", | ||
"version": "0.0.13", | ||
"description": "", | ||
@@ -14,3 +14,3 @@ "main": "CardMenu.js", | ||
"license": "ISC", | ||
"gitHead": "d2582422fa8e41ab81ca7126d8c299f9cde8761e" | ||
"gitHead": "dd6f711685fc13c53f236f721b2b3e8a83e38bb2" | ||
} |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
8280
1