@aleodoni-common/tailwind-components
Advanced tools
Comparing version 1.0.41 to 1.0.42
@@ -8,3 +8,3 @@ import React, { ButtonHTMLAttributes } from 'react'; | ||
aleodoni_buttonicon?: IconName; | ||
aleodoni_outlineicon?: boolean; | ||
aleodoni_outlineicon?: 'true' | 'false'; | ||
aleodoni_bgcolor?: string; | ||
@@ -11,0 +11,0 @@ aleodoni_textcolor?: string; |
@@ -66,5 +66,6 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } | ||
var TheIcon; | ||
var isOutline = !(aleodoni_outlineicon === 'false'); | ||
if (aleodoni_buttonicon) { | ||
TheIcon = aleodoni_outlineicon ? OutlineIcons[aleodoni_buttonicon] : SolidIcons[aleodoni_buttonicon]; | ||
TheIcon = isOutline ? OutlineIcons[aleodoni_buttonicon] : SolidIcons[aleodoni_buttonicon]; | ||
} | ||
@@ -71,0 +72,0 @@ |
@@ -64,5 +64,6 @@ import React from 'react'; | ||
var TheIcon; | ||
var isOutline = !(aleodoni_outlineicon === 'false'); | ||
if (aleodoni_buttonicon) { | ||
TheIcon = aleodoni_outlineicon ? OutlineIcons[aleodoni_buttonicon] : SolidIcons[aleodoni_buttonicon]; | ||
TheIcon = isOutline ? OutlineIcons[aleodoni_buttonicon] : SolidIcons[aleodoni_buttonicon]; | ||
} | ||
@@ -69,0 +70,0 @@ |
{ | ||
"name": "@aleodoni-common/tailwind-components", | ||
"version": "1.0.41", | ||
"version": "1.0.42", | ||
"main": "./build/index.js", | ||
@@ -5,0 +5,0 @@ "module": "build/index.modern.js", |
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
40030
870