@jamsrui/textarea 0.0.21 → 0.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/styles.mjs +1 -1
- package/package.json +7 -7
package/dist/styles.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{radiusBaseVariant as r,tv as e}from"@jamsrui/utils";const t=e({base:["textarea focus:outline-none disabled:
|
|
1
|
+
import{radiusBaseVariant as r,tv as e}from"@jamsrui/utils";const t=e({base:["textarea focus:outline-none disabled:status-disabled placeholder:text-foreground-secondary bg-transparent font-normal"],variants:{variant:{bordered:"border border-border enabled:hover:border-border-light enabled:focus:border-focus",solid:"bg-surface hover:bg-surface/90"},size:{sm:"textarea--sm px-3 py-1.5 text-sm placeholder:text-sm",md:"textarea--md px-3 py-2 text-sm placeholder:text-sm",lg:"textarea--lg px-3 py-2 text-base placeholder:text-base"},radius:r,isInvalid:{true:"border-danger!"}},defaultVariants:{radius:"md",size:"md",variant:"bordered"}}),o=e({base:"textarea-group__textarea w-full px-3 py-2 text-sm placeholder:text-sm focus:outline-none",variants:{variant:{bordered:"border border-border focus:border-focus",solid:"bg-surface hover:bg-surface/90"}}});export{o as textareaGroupVariants,t as textareaVariants};
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jamsrui/textarea",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.23",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"react": ">=19"
|
|
6
6
|
},
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@jamsrui/
|
|
9
|
-
"@jamsrui/hooks": "^0.0.
|
|
10
|
-
"@jamsrui/
|
|
11
|
-
"@jamsrui/
|
|
12
|
-
"@jamsrui/
|
|
13
|
-
"@jamsrui/
|
|
8
|
+
"@jamsrui/core": "^0.0.16",
|
|
9
|
+
"@jamsrui/hooks": "^0.0.20",
|
|
10
|
+
"@jamsrui/context": "^0.0.9",
|
|
11
|
+
"@jamsrui/utils": "^0.0.20",
|
|
12
|
+
"@jamsrui/input-group": "^0.0.10",
|
|
13
|
+
"@jamsrui/textfield": "^0.0.9"
|
|
14
14
|
},
|
|
15
15
|
"exports": {
|
|
16
16
|
".": {
|