@landtrustinc/design-system 1.2.14 → 1.2.15
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 +4 -0
- package/dist/index.js +10 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1883,6 +1883,10 @@ type LandownerProfileProps = {
|
|
|
1883
1883
|
* Message button click handler
|
|
1884
1884
|
*/
|
|
1885
1885
|
onMessageClick?: () => void;
|
|
1886
|
+
/**
|
|
1887
|
+
* Whether the message button is disabled
|
|
1888
|
+
*/
|
|
1889
|
+
isMessageDisabled?: boolean;
|
|
1886
1890
|
/**
|
|
1887
1891
|
* Additional CSS class names
|
|
1888
1892
|
*/
|
package/dist/index.js
CHANGED
|
@@ -6944,6 +6944,7 @@ var LandownerProfile = ({
|
|
|
6944
6944
|
responseTime,
|
|
6945
6945
|
messageButtonText = "Message",
|
|
6946
6946
|
onMessageClick,
|
|
6947
|
+
isMessageDisabled = false,
|
|
6947
6948
|
className
|
|
6948
6949
|
}) => {
|
|
6949
6950
|
const responseRateFeature = responseRate ? {
|
|
@@ -7008,7 +7009,15 @@ var LandownerProfile = ({
|
|
|
7008
7009
|
!!responseTimeFeature && /* @__PURE__ */ (0, import_jsx_runtime233.jsx)(FeatureListItem_default, { ...responseTimeFeature })
|
|
7009
7010
|
] })
|
|
7010
7011
|
] }),
|
|
7011
|
-
/* @__PURE__ */ (0, import_jsx_runtime233.jsx)(Box_default, { alignSelf: "flex-start", children: /* @__PURE__ */ (0, import_jsx_runtime233.jsx)(
|
|
7012
|
+
/* @__PURE__ */ (0, import_jsx_runtime233.jsx)(Box_default, { alignSelf: "flex-start", children: /* @__PURE__ */ (0, import_jsx_runtime233.jsx)(
|
|
7013
|
+
Button_default,
|
|
7014
|
+
{
|
|
7015
|
+
variant: "secondary",
|
|
7016
|
+
onClick: onMessageClick,
|
|
7017
|
+
disabled: isMessageDisabled,
|
|
7018
|
+
children: messageButtonText
|
|
7019
|
+
}
|
|
7020
|
+
) })
|
|
7012
7021
|
]
|
|
7013
7022
|
}
|
|
7014
7023
|
)
|