@yomologic/react-ui 0.5.7 → 0.5.9
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/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1296,6 +1296,7 @@ var Textarea = import_react6.default.forwardRef(
|
|
|
1296
1296
|
internalRef.current = node;
|
|
1297
1297
|
},
|
|
1298
1298
|
id: textareaId,
|
|
1299
|
+
name,
|
|
1299
1300
|
value: textareaValue,
|
|
1300
1301
|
onChange: handleChange,
|
|
1301
1302
|
onBlur: handleBlur,
|
|
@@ -1306,7 +1307,7 @@ var Textarea = import_react6.default.forwardRef(
|
|
|
1306
1307
|
"aria-describedby": textareaError ? `${textareaId}-error` : helperText ? `${textareaId}-helper` : void 0,
|
|
1307
1308
|
className: cn(
|
|
1308
1309
|
"w-full px-3 py-2 border rounded-md transition-colors",
|
|
1309
|
-
"text-(--color-
|
|
1310
|
+
"text-(--color-foreground) placeholder-gray-400",
|
|
1310
1311
|
"focus:outline-none",
|
|
1311
1312
|
"disabled:bg-(--color-muted) disabled:cursor-not-allowed disabled:text-(--color-muted-foreground)",
|
|
1312
1313
|
textareaError ? "border-error focus:ring-2 focus:ring-error focus:border-error active:border-error" : "border-(--color-border) focus:ring-2 focus:ring-(--color-primary)/30 focus:border-(--color-primary) active:border-(--color-primary)",
|