@jamsrui/textarea 0.0.21 → 0.0.22
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:cursor-not-allowed disabled:opacity-
|
|
1
|
+
import{radiusBaseVariant as r,tv as e}from"@jamsrui/utils";const t=e({base:["textarea focus:outline-none disabled:cursor-not-allowed disabled:opacity-disabled placeholder:text-foreground-secondary bg-transparent font-normal"],variants:{variant:{bordered:"border border-divider enabled:hover:border-divider-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-divider 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.22",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"react": ">=19"
|
|
6
6
|
},
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@jamsrui/
|
|
9
|
-
"@jamsrui/
|
|
10
|
-
"@jamsrui/
|
|
11
|
-
"@jamsrui/
|
|
12
|
-
"@jamsrui/
|
|
13
|
-
"@jamsrui/utils": "^0.0.
|
|
8
|
+
"@jamsrui/core": "^0.0.15",
|
|
9
|
+
"@jamsrui/context": "^0.0.8",
|
|
10
|
+
"@jamsrui/hooks": "^0.0.19",
|
|
11
|
+
"@jamsrui/textfield": "^0.0.8",
|
|
12
|
+
"@jamsrui/input-group": "^0.0.9",
|
|
13
|
+
"@jamsrui/utils": "^0.0.19"
|
|
14
14
|
},
|
|
15
15
|
"exports": {
|
|
16
16
|
".": {
|