Refresh HiveGrid Cloud reference snapshot
This commit is contained in:
1 parent
5e99e14772
commit
7f88026f79
5955 files changed
+1177325
-188362
No files matched your search
@@ -17,6 +17,7 @@ export interface CardRootProps extends React.HTMLAttributes<HTMLDivElement> {
|
||||
| "positive"
|
||||
| "warning"
|
||||
| "negative";
|
||||
contentOverflow?: "default" | "wrap";
|
||||
className?: string;
|
||||
}
|
||||
|
||||
@@ -26,6 +27,7 @@ const CardRoot = React.forwardRef<HTMLDivElement, CardRootProps>(
|
||||
children,
|
||||
size = "medium",
|
||||
variant = "default",
|
||||
contentOverflow = "default",
|
||||
className,
|
||||
...otherProps
|
||||
}: CardRootProps,
|
||||
@@ -36,6 +38,7 @@ const CardRoot = React.forwardRef<HTMLDivElement, CardRootProps>(
|
||||
className={SubframeUtils.twClassNames(
|
||||
"group/56067c50 flex w-full flex-col items-start gap-4 rounded-md border border-solid border-border-default bg-surface-neutral-secondary px-4 py-4 shadow-sm",
|
||||
{
|
||||
"min-w-0 [overflow-wrap:anywhere]": contentOverflow === "wrap",
|
||||
"border border-solid border-border-negative-subtle bg-surface-feedback-subtle-negative":
|
||||
variant === "negative",
|
||||
"border border-solid border-border-warning-subtle bg-surface-feedback-subtle-warning":
|
||||
|
||||
Reference in new issue
Block a user