@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.mjs CHANGED
@@ -1227,6 +1227,7 @@ var Textarea = React3.forwardRef(
1227
1227
  internalRef.current = node;
1228
1228
  },
1229
1229
  id: textareaId,
1230
+ name,
1230
1231
  value: textareaValue,
1231
1232
  onChange: handleChange,
1232
1233
  onBlur: handleBlur,
@@ -1237,7 +1238,7 @@ var Textarea = React3.forwardRef(
1237
1238
  "aria-describedby": textareaError ? `${textareaId}-error` : helperText ? `${textareaId}-helper` : void 0,
1238
1239
  className: cn(
1239
1240
  "w-full px-3 py-2 border rounded-md transition-colors",
1240
- "text-(--color-muted-foreground) placeholder-gray-400",
1241
+ "text-(--color-foreground) placeholder-gray-400",
1241
1242
  "focus:outline-none",
1242
1243
  "disabled:bg-(--color-muted) disabled:cursor-not-allowed disabled:text-(--color-muted-foreground)",
1243
1244
  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)",