@producteca/producteca-ui-kit 1.77.0 → 1.77.2
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.
|
@@ -2,12 +2,13 @@ import { default as React } from 'react';
|
|
|
2
2
|
|
|
3
3
|
export interface CardProps {
|
|
4
4
|
icon?: React.ReactNode;
|
|
5
|
-
title?:
|
|
5
|
+
title?: React.ReactNode;
|
|
6
6
|
isActive?: boolean;
|
|
7
|
-
description?:
|
|
7
|
+
description?: React.ReactNode;
|
|
8
8
|
disabled?: boolean;
|
|
9
9
|
onClick?: () => void;
|
|
10
10
|
sx?: React.CSSProperties;
|
|
11
|
+
children?: React.ReactNode;
|
|
11
12
|
}
|
|
12
13
|
export declare const Card: React.FC<CardProps>;
|
|
13
14
|
export default Card;
|
|
@@ -67634,6 +67634,7 @@ const CardBase = ({
|
|
|
67634
67634
|
icon: icon2,
|
|
67635
67635
|
title: title2,
|
|
67636
67636
|
onClick,
|
|
67637
|
+
children,
|
|
67637
67638
|
description: description2,
|
|
67638
67639
|
isActive = false,
|
|
67639
67640
|
disabled: disabled2 = false
|
|
@@ -67648,16 +67649,10 @@ const CardBase = ({
|
|
|
67648
67649
|
!!icon2 && icon2,
|
|
67649
67650
|
!!title2 && /* @__PURE__ */ jsx$1("div", { className: styles$c.title, children: title2 })
|
|
67650
67651
|
] }),
|
|
67651
|
-
!!description2 && /* @__PURE__ */ jsx$1(
|
|
67652
|
-
|
|
67653
|
-
{
|
|
67654
|
-
className: styles$c.description,
|
|
67655
|
-
dangerouslySetInnerHTML: { __html: description2 }
|
|
67656
|
-
}
|
|
67657
|
-
)
|
|
67652
|
+
!!description2 && /* @__PURE__ */ jsx$1("span", { className: styles$c.description, children: description2 }),
|
|
67653
|
+
children
|
|
67658
67654
|
]
|
|
67659
|
-
}
|
|
67660
|
-
title2
|
|
67655
|
+
}
|
|
67661
67656
|
);
|
|
67662
67657
|
const Card = withDebugHandlers(CardBase, "Card");
|
|
67663
67658
|
const InsertPhotoRoundedIcon = createSvgIcon(/* @__PURE__ */ jsx$1("path", {
|