@aleodoni-common/tailwind-components
Advanced tools
Comparing version 1.0.49 to 1.0.50
@@ -6,2 +6,3 @@ import React, { ButtonHTMLAttributes } from 'react'; | ||
interface IButton extends ButtonHTMLAttributes<HTMLButtonElement> { | ||
aleodoni_text: string; | ||
aleodoni_ringcolor?: string; | ||
@@ -8,0 +9,0 @@ aleodoni_buttonicon?: IconName; |
@@ -55,3 +55,4 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } | ||
var Button = function Button(props) { | ||
var aleodoni_buttonicon = props.aleodoni_buttonicon, | ||
var aleodoni_text = props.aleodoni_text, | ||
aleodoni_buttonicon = props.aleodoni_buttonicon, | ||
_props$aleodoni_ringc = props.aleodoni_ringcolor, | ||
@@ -73,4 +74,4 @@ aleodoni_ringcolor = _props$aleodoni_ringc === void 0 ? 'blue-500' : _props$aleodoni_ringc, | ||
var className = "\n flex\n items-center\n w-full\n " + pH + "\n py-2\n border\n rounded-md\n border-gray-300\n focus:outline-none\n focus:ring-4\n focus:ring-" + aleodoni_ringcolor + "\n bg-" + aleodoni_bgcolor + "\n text-" + aleodoni_textcolor + "\n opacity-50\n transition-opacity\n duration-200\n hover:opacity-100\n "; | ||
var classNameIcon = "\n pointer-events-none\n w-5\n h-5\n absolute\n mx-2\n\n "; | ||
var className = "\n inline-flex\n items-center\n w-full\n " + pH + "\n py-2\n border\n rounded-md\n border-gray-300\n focus:outline-none\n focus:ring-4\n focus:ring-" + aleodoni_ringcolor + "\n bg-" + aleodoni_bgcolor + "\n text-" + aleodoni_textcolor + "\n opacity-50\n transition-opacity\n duration-200\n hover:opacity-100\n "; | ||
var classNameIcon = "\n pointer-events-none\n w-5\n h-5\n absolute\n mx-2\n "; | ||
return React.createElement("button", Object.assign({ | ||
@@ -81,3 +82,3 @@ type: "button", | ||
className: classNameIcon | ||
})); | ||
}), React.createElement("span", null, aleodoni_text)); | ||
}; | ||
@@ -84,0 +85,0 @@ |
@@ -53,3 +53,4 @@ import React from 'react'; | ||
var Button = function Button(props) { | ||
var aleodoni_buttonicon = props.aleodoni_buttonicon, | ||
var aleodoni_text = props.aleodoni_text, | ||
aleodoni_buttonicon = props.aleodoni_buttonicon, | ||
_props$aleodoni_ringc = props.aleodoni_ringcolor, | ||
@@ -71,4 +72,4 @@ aleodoni_ringcolor = _props$aleodoni_ringc === void 0 ? 'blue-500' : _props$aleodoni_ringc, | ||
var className = "\n flex\n items-center\n w-full\n " + pH + "\n py-2\n border\n rounded-md\n border-gray-300\n focus:outline-none\n focus:ring-4\n focus:ring-" + aleodoni_ringcolor + "\n bg-" + aleodoni_bgcolor + "\n text-" + aleodoni_textcolor + "\n opacity-50\n transition-opacity\n duration-200\n hover:opacity-100\n "; | ||
var classNameIcon = "\n pointer-events-none\n w-5\n h-5\n absolute\n mx-2\n\n "; | ||
var className = "\n inline-flex\n items-center\n w-full\n " + pH + "\n py-2\n border\n rounded-md\n border-gray-300\n focus:outline-none\n focus:ring-4\n focus:ring-" + aleodoni_ringcolor + "\n bg-" + aleodoni_bgcolor + "\n text-" + aleodoni_textcolor + "\n opacity-50\n transition-opacity\n duration-200\n hover:opacity-100\n "; | ||
var classNameIcon = "\n pointer-events-none\n w-5\n h-5\n absolute\n mx-2\n "; | ||
return React.createElement("button", Object.assign({ | ||
@@ -79,3 +80,3 @@ type: "button", | ||
className: classNameIcon | ||
})); | ||
}), React.createElement("span", null, aleodoni_text)); | ||
}; | ||
@@ -82,0 +83,0 @@ |
{ | ||
"name": "@aleodoni-common/tailwind-components", | ||
"version": "1.0.49", | ||
"version": "1.0.50", | ||
"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
Sorry, the diff of this file is not supported yet
41362
884