@nextui-org/theme
Advanced tools
Comparing version 0.0.0-dev-v2-20230405030905 to 0.0.0-dev-v2-20230405200614
@@ -10,3 +10,3 @@ import * as tailwind_variants from 'tailwind-variants'; | ||
* ```js | ||
* const {base, label, inputWrapper, input, clearButton, description, helperText} = input({...}) | ||
* const {base, label, inputWrapper, input, clearButton, description, errorMessage} = input({...}) | ||
* | ||
@@ -20,3 +20,3 @@ * <div className={base())}> | ||
* <span className={description()}>Description</span> | ||
* <span className={helperText()}>Helper text</span> | ||
* <span className={errorMessage()}>Invalid input</span> | ||
* </div> | ||
@@ -164,2 +164,8 @@ * ``` | ||
}; | ||
isMultiline: { | ||
true: { | ||
inputWrapper: string; | ||
input: string; | ||
}; | ||
}; | ||
disableAnimation: { | ||
@@ -324,2 +330,8 @@ true: { | ||
}; | ||
isMultiline: { | ||
true: { | ||
inputWrapper: string; | ||
input: string; | ||
}; | ||
}; | ||
disableAnimation: { | ||
@@ -326,0 +338,0 @@ true: { |
@@ -224,3 +224,3 @@ "use strict"; | ||
true: { | ||
label: "text-danger", | ||
label: "!text-danger", | ||
input: "placeholder:text-danger text-danger" | ||
@@ -234,2 +234,8 @@ } | ||
}, | ||
isMultiline: { | ||
true: { | ||
inputWrapper: "!h-auto", | ||
input: "resize-none" | ||
} | ||
}, | ||
disableAnimation: { | ||
@@ -236,0 +242,0 @@ true: { |
{ | ||
"name": "@nextui-org/theme", | ||
"version": "0.0.0-dev-v2-20230405030905", | ||
"version": "0.0.0-dev-v2-20230405200614", | ||
"description": "The default theme for NextUI components", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is too big to display
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 too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
661757
27736