@landtrustinc/design-system 1.2.8 → 1.2.10
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.
- package/dist/index.d.ts +2 -2
- package/dist/index.js +11 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2026,7 +2026,7 @@ type PackageHeaderProps = {
|
|
|
2026
2026
|
declare const PackageHeader: FC<PackageHeaderProps>;
|
|
2027
2027
|
|
|
2028
2028
|
type ReviewReplyProps = {
|
|
2029
|
-
avatarSrc
|
|
2029
|
+
avatarSrc?: string;
|
|
2030
2030
|
name: string;
|
|
2031
2031
|
date: string;
|
|
2032
2032
|
content: string;
|
|
@@ -2131,7 +2131,7 @@ type TagChipProps = HTMLAttributes<HTMLSpanElement> & {
|
|
|
2131
2131
|
declare const TagChip: FC<PropsWithChildren<TagChipProps>>;
|
|
2132
2132
|
|
|
2133
2133
|
type UserCardProps = {
|
|
2134
|
-
avatarSrc
|
|
2134
|
+
avatarSrc?: string;
|
|
2135
2135
|
title: string;
|
|
2136
2136
|
subtitle?: string;
|
|
2137
2137
|
rating?: number;
|
package/dist/index.js
CHANGED
|
@@ -7570,7 +7570,15 @@ var UserCard = ({
|
|
|
7570
7570
|
gap: "var(--spacing-4)",
|
|
7571
7571
|
className,
|
|
7572
7572
|
children: [
|
|
7573
|
-
/* @__PURE__ */ (0, import_jsx_runtime239.jsx)(
|
|
7573
|
+
/* @__PURE__ */ (0, import_jsx_runtime239.jsx)(
|
|
7574
|
+
Avatar_default,
|
|
7575
|
+
{
|
|
7576
|
+
type: avatarSrc ? "image" : "text",
|
|
7577
|
+
src: avatarSrc,
|
|
7578
|
+
text: title,
|
|
7579
|
+
alt: `${title}'s avatar`
|
|
7580
|
+
}
|
|
7581
|
+
),
|
|
7574
7582
|
/* @__PURE__ */ (0, import_jsx_runtime239.jsxs)(Box_default, { display: "flex", flexDirection: "column", gap: "2px", children: [
|
|
7575
7583
|
/* @__PURE__ */ (0, import_jsx_runtime239.jsx)(Text_default, { size: "md", fontWeight: "bold", children: title }),
|
|
7576
7584
|
subtitle && /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(Text_default, { size: "sm", color: "text-secondary", children: subtitle }),
|
|
@@ -7587,6 +7595,7 @@ var import_react48 = require("@emotion/react");
|
|
|
7587
7595
|
var imageStyles3 = import_react48.css`
|
|
7588
7596
|
flex: 1;
|
|
7589
7597
|
min-width: 0;
|
|
7598
|
+
max-width: 100%;
|
|
7590
7599
|
aspect-ratio: 1;
|
|
7591
7600
|
border-radius: var(--spacing-2);
|
|
7592
7601
|
object-fit: cover;
|
|
@@ -7677,7 +7686,7 @@ var ReviewCard = ({
|
|
|
7677
7686
|
Box_default,
|
|
7678
7687
|
{
|
|
7679
7688
|
backgroundColor: "white",
|
|
7680
|
-
borderRadius: "var(--spacing-4)",
|
|
7689
|
+
borderRadius: "var(--spacing-4) 0",
|
|
7681
7690
|
p: "var(--spacing-4)",
|
|
7682
7691
|
display: "flex",
|
|
7683
7692
|
flexDirection: "column",
|