@newageerp/v3.buttons.main-button
Advanced tools
Comparing version 0.0.46 to 0.0.47
@@ -12,3 +12,3 @@ "use strict"; | ||
const v3_widgets_alert_widget_1 = require("@newageerp/v3.widgets.alert-widget"); | ||
// import { isTemplatesArray, Template, TemplatesParser } from '@newageerp/v3.templates.templates-core'; | ||
const v3_templates_templates_core_1 = require("@newageerp/v3.templates.templates-core"); | ||
var MainButtonColors; | ||
@@ -77,3 +77,9 @@ (function (MainButtonColors) { | ||
], { 'tw3-animate-spin': loading }) })), | ||
children && (react_1.default.createElement("span", { className: (0, classnames_1.default)('tw3-leading-5', { 'tw3-font-medium': color !== 'white' }, { 'tw3-ml-1': !!iconName }) }, children))), | ||
children && (react_1.default.createElement("span", { className: (0, classnames_1.default)('tw3-leading-5', { 'tw3-font-medium': color !== 'white' }, { 'tw3-ml-1': !!iconName }) }, (0, v3_templates_templates_core_1.isTemplatesArray)(children) ? | ||
react_1.default.createElement(v3_templates_templates_core_1.TemplatesParser | ||
//@ts-ignore | ||
, { | ||
//@ts-ignore | ||
templates: children }) | ||
: children))), | ||
disabled && !!disabledContent && (react_1.default.createElement(v3_widgets_alert_widget_1.AlertWidget, Object.assign({ className: 'tw3-rounded-t-none', style: { marginTop: -3 }, isCompact: true }, disabledContent))), | ||
@@ -80,0 +86,0 @@ confirmation && (react_1.default.createElement(v3_popups_confirmation_popup_1.ConfirmationPopup, Object.assign({}, confirmationProps, { onClick: () => setIsPopup(!isPopup), isPopup: isPopup, onYes: onClick ? onClick : () => { } }))))); |
{ | ||
"name": "@newageerp/v3.buttons.main-button", | ||
"version": "0.0.46", | ||
"version": "0.0.47", | ||
"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.46" | ||
"version": "0.0.47" | ||
}, | ||
@@ -16,2 +16,3 @@ "dependencies": { | ||
"@newageerp/v3.popups.confirmation-popup": "0.0.42", | ||
"@newageerp/v3.templates.templates-core": "0.0.2", | ||
"@newageerp/v3.widgets.alert-widget": "0.0.22" | ||
@@ -18,0 +19,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
45415
259
7
+ Added@newageerp/v3.templates.templates-core@0.0.2(transitive)
+ Added@newageerp/v3.templates.widgets.free-bg-badge-widget@0.0.21(transitive)
+ Added@newageerp/v3.widgets.status-widget@0.0.23(transitive)
+ Addedasynckit@0.4.0(transitive)
+ Addedaxios@1.1.2(transitive)
+ Addedcombined-stream@1.0.8(transitive)
+ Addeddelayed-stream@1.0.0(transitive)
+ Addedfollow-redirects@1.15.9(transitive)
+ Addedform-data@4.0.1(transitive)
+ Addedmime-db@1.52.0(transitive)
+ Addedmime-types@2.1.35(transitive)
+ Addedproxy-from-env@1.1.0(transitive)