Update message blocks

This commit is contained in:
2026-02-12 21:29:48 -05:00
parent 0bf4a6a08c
commit 45ff84b106
10 changed files with 10 additions and 10 deletions

View File

@@ -11,12 +11,12 @@ const DangerMessageBlock = forwardRef<HTMLDivElement, MessageBlockProps>(({
return ( return (
<MessageBlock <MessageBlock
data-testid="mattrixwv-danger-message-block" data-testid="mattrixwv-danger-message-block"
{...messageProps}
className={clsx( className={clsx(
className, className,
"bg-danger-xlight text-danger-dark" "bg-danger-xlight text-danger-dark"
)} )}
ref={ref} ref={ref}
{...messageProps}
/> />
); );
}); });

View File

@@ -11,12 +11,12 @@ const DarkMessageBlock = forwardRef<HTMLDivElement, MessageBlockProps>(({
return ( return (
<MessageBlock <MessageBlock
data-testid="mattrixwv-dark-message-block" data-testid="mattrixwv-dark-message-block"
{...messageProps}
className={clsx( className={clsx(
className, className,
"bg-dark text-dark-xlight" "bg-dark text-dark-xlight"
)} )}
ref={ref} ref={ref}
{...messageProps}
/> />
); );
}); });

View File

@@ -11,12 +11,12 @@ const InfoMessageBlock = forwardRef<HTMLDivElement, MessageBlockProps>(({
return ( return (
<MessageBlock <MessageBlock
data-testid="mattrixwv-info-message-block" data-testid="mattrixwv-info-message-block"
{...messageProps}
className={clsx( className={clsx(
className, className,
"bg-info-xlight text-info-xdark" "bg-info-xlight text-info-xdark"
)} )}
ref={ref} ref={ref}
{...messageProps}
/> />
); );
}); });

View File

@@ -11,12 +11,12 @@ const LightMessageBlock = forwardRef<HTMLDivElement, MessageBlockProps>(({
return ( return (
<MessageBlock <MessageBlock
data-testid="mattrixwv-light-message-block" data-testid="mattrixwv-light-message-block"
{...messageProps}
className={clsx( className={clsx(
className, className,
"bg-white text-black" "bg-white text-black"
)} )}
ref={ref} ref={ref}
{...messageProps}
/> />
); );
}); });

View File

@@ -12,7 +12,6 @@ const MessageBlock = forwardRef<HTMLDivElement, MessageBlockProps>(({
return ( return (
<div <div
data-testid="mattrixwv-message-block" data-testid="mattrixwv-message-block"
{...messageProps}
className={clsx( className={clsx(
className, className,
"px-4 py-2", "px-4 py-2",
@@ -32,6 +31,7 @@ const MessageBlock = forwardRef<HTMLDivElement, MessageBlockProps>(({
} }
)} )}
ref={ref} ref={ref}
{...messageProps}
/> />
); );
}); });

View File

@@ -11,12 +11,12 @@ const MoltenMessageBlock = forwardRef<HTMLDivElement, MessageBlockProps>(({
return ( return (
<MessageBlock <MessageBlock
data-testid="mattrixwv-molten-message-block" data-testid="mattrixwv-molten-message-block"
{...messageProps}
className={clsx( className={clsx(
className, className,
"bg-molten-xlight text-molten-mid" "bg-molten-xlight text-molten-mid"
)} )}
ref={ref} ref={ref}
{...messageProps}
/> />
); );
}); });

View File

@@ -11,12 +11,12 @@ const PrimaryMessageBlock = forwardRef<HTMLDivElement, MessageBlockProps>(({
return ( return (
<MessageBlock <MessageBlock
data-testid="mattrixwv-primary-message-block" data-testid="mattrixwv-primary-message-block"
{...messageProps}
className={clsx( className={clsx(
className, className,
"bg-primary-xlight text-primary-dark" "bg-primary-xlight text-primary-dark"
)} )}
ref={ref} ref={ref}
{...messageProps}
/> />
); );
}); });

View File

@@ -11,12 +11,12 @@ const SecondaryMessageBlock = forwardRef<HTMLDivElement, MessageBlockProps>(({
return ( return (
<MessageBlock <MessageBlock
data-testid="mattrixwv-secondary-message-block" data-testid="mattrixwv-secondary-message-block"
{...messageProps}
className={clsx( className={clsx(
className, className,
"bg-secondary-xlight text-secondary-mid" "bg-secondary-xlight text-secondary-mid"
)} )}
ref={ref} ref={ref}
{...messageProps}
/> />
); );
}); });

View File

@@ -11,12 +11,12 @@ const SuccessMessageBlock = forwardRef<HTMLDivElement, MessageBlockProps>(({
return ( return (
<MessageBlock <MessageBlock
data-testid="mattrixwv-success-message-block" data-testid="mattrixwv-success-message-block"
{...messageProps}
className={clsx( className={clsx(
className, className,
"bg-success-xlight text-success-mid" "bg-success-xlight text-success-mid"
)} )}
ref={ref} ref={ref}
{...messageProps}
/> />
); );
}); });

View File

@@ -11,12 +11,12 @@ const WarningMessageBlock = forwardRef<HTMLDivElement, MessageBlockProps>(({
return ( return (
<MessageBlock <MessageBlock
data-testid="mattrixwv-warning-message-block" data-testid="mattrixwv-warning-message-block"
{...messageProps}
className={clsx( className={clsx(
className, className,
"bg-warning-xlight text-warning-dark" "bg-warning-xlight text-warning-dark"
)} )}
ref={ref} ref={ref}
{...messageProps}
/> />
); );
}); });