Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@superlogica/cardmenu-native

Package Overview
Dependencies
Maintainers
6
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@superlogica/cardmenu-native - npm Package Compare versions

Comparing version 0.0.12 to 0.0.13

2

CardMenu.js

@@ -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"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc