UI: fixup Select component design & api

This commit is contained in:
Johannes Kirschbauer
2024-12-20 18:13:06 +01:00
parent de5479169c
commit abaee70d35
2 changed files with 138 additions and 110 deletions

View File

@@ -55,7 +55,7 @@ export const InputBase = (props: InputBaseProps) => {
// Cursor
"aria-readonly:cursor-no-drop",
props.class
props.class,
)}
classList={{
[cx("!border !border-semantic-1 !outline-semantic-1")]: !!props.error,
@@ -160,7 +160,7 @@ interface InputErrorProps {
export const InputError = (props: InputErrorProps) => {
const [typoClasses, rest] = splitProps(
props.typographyProps || { class: "" },
["class"]
["class"],
);
return (
<Typography