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

@newageerp/v3.buttons.main-button

Package Overview
Dependencies
Maintainers
1
Versions
170
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@newageerp/v3.buttons.main-button - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

12

dist/main-button.js

@@ -41,13 +41,5 @@ "use strict";

return (react_1.default.createElement(react_1.default.Fragment, null,
react_1.default.createElement("button", { title: title, onClick: currentFunc, className: (0, classnames_1.default)([
'tw3-flex tw3-py-[9px] tw3-px-[9px] tw3-rounded-md tw3-items-center',
color ? MainButtonColors[color] : 'tw3-bg-teal-600 tw3-text-white',
disabled
? 'tw3-text-slate-300 tw3-cursor-not-allowed'
: 'tw3-duration-150 hover:tw3-text-sky-200',
className,
!iconName && 'tw3-min-w-[80px] tw3-justify-center',
]) },
react_1.default.createElement("button", { title: title, onClick: currentFunc, className: (0, classnames_1.default)({ 'tw3-bg-teal-600 tw3-text-white': !color }, { [MainButtonColors[color]]: !!color }, { 'tw3-text-slate-300 tw3-cursor-not-allowed': disabled }, { 'tw3-duration-150': !disabled }, { 'hover:tw3-text-sky-200': !disabled && color !== 'white' }, { 'hover:tw3-text-sky-900': !disabled && color === 'white' }, 'tw3-flex tw3-py-[9px] tw3-px-[9px] tw3-rounded-md tw3-items-center', className, { 'tw3-min-w-[80px] tw3-justify-center': !iconName }) },
iconName && (react_1.default.createElement("span", { className: (0, classnames_1.default)('tw3-leading-5', [`fa-fw fa-light fa-${iconName}`]) })),
children && (react_1.default.createElement("span", { className: (0, classnames_1.default)('tw3-leading-5', ['tw3-font-medium', iconName && 'tw3-ml-1']) }, children))),
children && (react_1.default.createElement("span", { className: (0, classnames_1.default)('tw3-leading-5', { 'tw3-font-medium': color !== "white" }, { 'tw3-ml-1': !!iconName }) }, children))),
confirmation && (react_1.default.createElement(react_1.default.Fragment, null,

@@ -54,0 +46,0 @@ react_1.default.createElement(v3_popups_confirmation_popup_1.ConfirmationPopup, { onClick: () => setIsPopup(!isPopup), isPopup: isPopup, title: confirmation.title, onYes: confirmation.onYes }, confirmation.children)))));

8

package.json
{
"name": "@newageerp/v3.buttons.main-button",
"version": "0.0.7",
"version": "0.0.8",
"homepage": "https://bit.dev/newageerp/v3/buttons/main-button",

@@ -9,3 +9,3 @@ "main": "dist/index.js",

"name": "v3/buttons/main-button",
"version": "0.0.7"
"version": "0.0.8"
},

@@ -15,3 +15,3 @@ "dependencies": {

"core-js": "^3.0.0",
"@newageerp/v3.popups.confirmation-popup": "0.0.3"
"@newageerp/v3.popups.confirmation-popup": "0.0.4"
},

@@ -25,3 +25,3 @@ "devDependencies": {

"@types/node": "12.20.4",
"@newageerp/extensions.sfs-react-env": "0.0.5"
"@newageerp/extensions.sfs-react-env": "0.0.6"
},

@@ -28,0 +28,0 @@ "peerDependencies": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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