Update hivegrid-cloud reference to latest main
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e98d38e716
commit
7b21524c86
3781 files changed
+373484
-225607
No files matched your search
+16
-1
@@ -66,7 +66,7 @@ const Input = React.forwardRef<HTMLInputElement, InputProps>(function Input(
|
||||
return (
|
||||
<input
|
||||
className={SubframeUtils.twClassNames(
|
||||
"group/b0d608f7 h-full w-full border-none bg-transparent px-0 py-0 text-body-default-regular-0 font-body-default-regular-0 text-text-neutral-secondary outline-none placeholder:text-text-neutral-subtle",
|
||||
"group/b0d608f7 subframe-text-input-control h-full w-full border-none bg-transparent px-0 py-0 text-body-default-regular-0 font-body-default-regular-0 text-text-neutral-secondary outline-none placeholder:text-text-neutral-subtle",
|
||||
{
|
||||
"text-body-extra-small-regular-0 font-body-extra-small-regular-0":
|
||||
variant === "extra-small",
|
||||
@@ -128,6 +128,7 @@ export interface TextInputRootProps
|
||||
showLabel?: boolean;
|
||||
label?: React.ReactNode;
|
||||
helpText?: React.ReactNode;
|
||||
message?: React.ReactNode;
|
||||
icon?: React.ReactNode;
|
||||
iconRight?: React.ReactNode;
|
||||
type?: "text" | "password" | "email" | "number" | "tel" | "url" | "search";
|
||||
@@ -148,6 +149,7 @@ const TextInputRoot = React.forwardRef<HTMLLabelElement, TextInputRootProps>(
|
||||
showLabel = false,
|
||||
label,
|
||||
helpText,
|
||||
message,
|
||||
icon = null,
|
||||
iconRight = null,
|
||||
type = "text",
|
||||
@@ -279,6 +281,19 @@ const TextInputRoot = React.forwardRef<HTMLLabelElement, TextInputRootProps>(
|
||||
})}
|
||||
/>
|
||||
</div>
|
||||
{message ? (
|
||||
<span
|
||||
className={SubframeUtils.twClassNames(
|
||||
"text-body-small-regular-0 font-body-small-regular-0 text-text-neutral-tertiary",
|
||||
{
|
||||
"text-text-feedback-negative": error,
|
||||
"text-text-neutral-disabled": disabled,
|
||||
}
|
||||
)}
|
||||
>
|
||||
{message}
|
||||
</span>
|
||||
) : null}
|
||||
</label>
|
||||
</TextInputContext.Provider>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user