@youngonesworks/ui 0.1.52 → 0.1.53

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 CHANGED
@@ -103152,11 +103152,11 @@ const TextInput = React.forwardRef(({ rightSection, leftSection, className, erro
103152
103152
  "data-testid": "TextInput",
103153
103153
  className: clsx_default("relative", wrapperClassName),
103154
103154
  children: [
103155
- label && /* @__PURE__ */ jsx("label", {
103155
+ typeof label === "string" ? /* @__PURE__ */ jsx("label", {
103156
103156
  htmlFor: props.id,
103157
103157
  className: "mb-2 flex items-center gap-1 text-xs font-medium text-black",
103158
103158
  children: label
103159
- }),
103159
+ }) : label,
103160
103160
  /* @__PURE__ */ jsxs("div", {
103161
103161
  className: "relative",
103162
103162
  children: [