@youngonesworks/ui 0.1.51 → 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/components/passwordInput/index.d.ts +1 -1
- package/dist/components/textInput/TextInput.stories.d.ts +4 -0
- package/dist/components/textInput/index.d.ts +2 -2
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
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
|
|
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: [
|