@rehagro/ui 1.0.45 → 1.0.46

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
@@ -1099,6 +1099,7 @@ var getSubtitleClassName = (subtitle) => subtitle.trim() === "*" ? "rh-text-dang
1099
1099
  var TextInput = forwardRef(function TextInput2({
1100
1100
  label,
1101
1101
  labelWeight = "medium",
1102
+ labelColor = "#080B12",
1102
1103
  subtitle,
1103
1104
  status = "default",
1104
1105
  size = "md",
@@ -1125,7 +1126,14 @@ var TextInput = forwardRef(function TextInput2({
1125
1126
  className: ["rh-flex rh-flex-col rh-gap-[0.5rem] rh-font-body", wrapperClassName].filter(Boolean).join(" "),
1126
1127
  children: [
1127
1128
  label && /* @__PURE__ */ jsxs("label", { htmlFor: inputId, className: "rh-flex rh-items-baseline rh-gap-1", children: [
1128
- /* @__PURE__ */ jsx("span", { className: `rh-text-sm ${labelWeightClasses[labelWeight]} rh-text-text`, children: label }),
1129
+ /* @__PURE__ */ jsx(
1130
+ "span",
1131
+ {
1132
+ className: `rh-text-sm ${labelWeightClasses[labelWeight]}`,
1133
+ style: { color: labelColor },
1134
+ children: label
1135
+ }
1136
+ ),
1129
1137
  subtitle && /* @__PURE__ */ jsx("span", { className: `rh-text-sm ${getSubtitleClassName(subtitle)}`, children: subtitle })
1130
1138
  ] }),
1131
1139
  /* @__PURE__ */ jsxs(
@@ -1180,8 +1188,9 @@ var TextInput = forwardRef(function TextInput2({
1180
1188
  "span",
1181
1189
  {
1182
1190
  className: [
1183
- "rh-inline-flex rh-shrink-0 rh-text-text-muted",
1184
- iconSizeClasses[size]
1191
+ "rh-inline-flex rh-shrink-0 rh-items-center rh-justify-center rh-whitespace-nowrap rh-text-text-muted",
1192
+ iconSizeClasses[size],
1193
+ "rh-w-auto rh-min-w-fit"
1185
1194
  ].join(" "),
1186
1195
  "aria-hidden": "true",
1187
1196
  children: rightIcon