@aleodoni-common/tailwind-components
Advanced tools
Comparing version 1.0.184 to 1.0.185
@@ -70,3 +70,3 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } | ||
var getInputClassName = function getInputClassName(paddingHorizontal, ringColor, hasError) { | ||
return "\n w-full\n " + paddingHorizontal + "\n py-2\n border\n rounded-md\n bg-white\n " + (hasError ? 'border-red-600' : 'border-gray-300') + "\n placeholder-gray-300\n text-aleodoni-text\n focus:outline-none\n focus:ring-2\n " + ringColor + "\n "; | ||
return "\n shadow\n w-full\n " + paddingHorizontal + "\n py-2\n border\n rounded-md\n bg-white\n " + (hasError ? 'border-red-600' : 'border-gray-300') + "\n placeholder-gray-300\n text-aleodoni-text\n focus:outline-none\n focus:ring-2\n " + ringColor + "\n "; | ||
}; | ||
@@ -77,3 +77,3 @@ var getIconClassName = function getIconClassName() { | ||
var getDivInputClassName = function getDivInputClassName() { | ||
return "\n shadow\n flex\n flex-col\n justify-center\n text-aleodoni-text\n opacity-50\n focus-within:opacity-100\n "; | ||
return "\n flex\n flex-col\n justify-center\n text-aleodoni-text\n opacity-50\n focus-within:opacity-100\n "; | ||
}; | ||
@@ -80,0 +80,0 @@ var getErrorTextClassName = function getErrorTextClassName() { |
@@ -68,3 +68,3 @@ import React, { useState, Fragment } from 'react'; | ||
var getInputClassName = function getInputClassName(paddingHorizontal, ringColor, hasError) { | ||
return "\n w-full\n " + paddingHorizontal + "\n py-2\n border\n rounded-md\n bg-white\n " + (hasError ? 'border-red-600' : 'border-gray-300') + "\n placeholder-gray-300\n text-aleodoni-text\n focus:outline-none\n focus:ring-2\n " + ringColor + "\n "; | ||
return "\n shadow\n w-full\n " + paddingHorizontal + "\n py-2\n border\n rounded-md\n bg-white\n " + (hasError ? 'border-red-600' : 'border-gray-300') + "\n placeholder-gray-300\n text-aleodoni-text\n focus:outline-none\n focus:ring-2\n " + ringColor + "\n "; | ||
}; | ||
@@ -75,3 +75,3 @@ var getIconClassName = function getIconClassName() { | ||
var getDivInputClassName = function getDivInputClassName() { | ||
return "\n shadow\n flex\n flex-col\n justify-center\n text-aleodoni-text\n opacity-50\n focus-within:opacity-100\n "; | ||
return "\n flex\n flex-col\n justify-center\n text-aleodoni-text\n opacity-50\n focus-within:opacity-100\n "; | ||
}; | ||
@@ -78,0 +78,0 @@ var getErrorTextClassName = function getErrorTextClassName() { |
{ | ||
"name": "@aleodoni-common/tailwind-components", | ||
"version": "1.0.184", | ||
"version": "1.0.185", | ||
"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