@landtrustinc/design-system 1.2.50 → 1.2.51-beta.0
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 -4
- package/dist/index.js +21 -13
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1156,13 +1156,13 @@ type TopMatchingFieldNoteProps = {
|
|
|
1156
1156
|
*/
|
|
1157
1157
|
children?: React__default.ReactNode;
|
|
1158
1158
|
/**
|
|
1159
|
-
* Image width for optimization
|
|
1160
|
-
* @default
|
|
1159
|
+
* Image width for optimization (2x for retina)
|
|
1160
|
+
* @default 752
|
|
1161
1161
|
*/
|
|
1162
1162
|
width?: number;
|
|
1163
1163
|
/**
|
|
1164
|
-
* Image height for optimization
|
|
1165
|
-
* @default
|
|
1164
|
+
* Image height for optimization (2x for retina)
|
|
1165
|
+
* @default 550
|
|
1166
1166
|
*/
|
|
1167
1167
|
height?: number;
|
|
1168
1168
|
};
|
package/dist/index.js
CHANGED
|
@@ -5385,8 +5385,8 @@ var imageStyles = import_react19.css`
|
|
|
5385
5385
|
width: 100%;
|
|
5386
5386
|
height: 275px;
|
|
5387
5387
|
border-radius: var(--radius-lg);
|
|
5388
|
-
|
|
5389
|
-
|
|
5388
|
+
object-fit: cover;
|
|
5389
|
+
object-position: center;
|
|
5390
5390
|
`;
|
|
5391
5391
|
|
|
5392
5392
|
// src/AIResponse/components/TopMatchingFieldNote/TopMatchingFieldNote.tsx
|
|
@@ -5399,8 +5399,8 @@ var TopMatchingFieldNote = ({
|
|
|
5399
5399
|
title = "Top matching field note",
|
|
5400
5400
|
className,
|
|
5401
5401
|
children,
|
|
5402
|
-
width: width2 =
|
|
5403
|
-
height =
|
|
5402
|
+
width: width2 = 752,
|
|
5403
|
+
height = 550
|
|
5404
5404
|
}) => {
|
|
5405
5405
|
let parsedImages = [];
|
|
5406
5406
|
try {
|
|
@@ -6387,6 +6387,15 @@ var WidgetRoot = ({
|
|
|
6387
6387
|
document.addEventListener("keydown", onKey);
|
|
6388
6388
|
return () => document.removeEventListener("keydown", onKey);
|
|
6389
6389
|
}, [isExpanded, setExpanded]);
|
|
6390
|
+
(0, import_react31.useEffect)(() => {
|
|
6391
|
+
if (!isExpanded)
|
|
6392
|
+
return;
|
|
6393
|
+
const originalOverflow = document.body.style.overflow;
|
|
6394
|
+
document.body.style.overflow = "hidden";
|
|
6395
|
+
return () => {
|
|
6396
|
+
document.body.style.overflow = originalOverflow;
|
|
6397
|
+
};
|
|
6398
|
+
}, [isExpanded]);
|
|
6390
6399
|
const value = (0, import_react31.useMemo)(
|
|
6391
6400
|
() => ({
|
|
6392
6401
|
expanded: isExpanded,
|
|
@@ -8965,8 +8974,7 @@ var containerStyles4 = import_react58.css`
|
|
|
8965
8974
|
`;
|
|
8966
8975
|
var headerStyles = import_react58.css`
|
|
8967
8976
|
display: flex;
|
|
8968
|
-
|
|
8969
|
-
justify-content: space-between;
|
|
8977
|
+
flex-direction: column;
|
|
8970
8978
|
gap: var(--spacing-2);
|
|
8971
8979
|
`;
|
|
8972
8980
|
var chipsContainerStyles = import_react58.css`
|
|
@@ -9019,14 +9027,14 @@ var ListingChat = ({
|
|
|
9019
9027
|
);
|
|
9020
9028
|
return /* @__PURE__ */ (0, import_jsx_runtime251.jsxs)(Box_default, { css: containerStyles4, className, ...rest, children: [
|
|
9021
9029
|
/* @__PURE__ */ (0, import_jsx_runtime251.jsxs)(Box_default, { css: headerStyles, children: [
|
|
9022
|
-
/* @__PURE__ */ (0, import_jsx_runtime251.jsxs)(Box_default, { children: [
|
|
9023
|
-
/* @__PURE__ */ (0, import_jsx_runtime251.jsx)(
|
|
9024
|
-
/* @__PURE__ */ (0, import_jsx_runtime251.
|
|
9030
|
+
/* @__PURE__ */ (0, import_jsx_runtime251.jsxs)(Box_default, { display: "flex", alignItems: "center", justifyContent: "space-between", children: [
|
|
9031
|
+
/* @__PURE__ */ (0, import_jsx_runtime251.jsx)(Heading_default, { size: "2xs", fontWeight: "bold", children: title }),
|
|
9032
|
+
/* @__PURE__ */ (0, import_jsx_runtime251.jsxs)(Box_default, { display: "flex", alignItems: "center", gap: "var(--spacing-1)", children: [
|
|
9033
|
+
/* @__PURE__ */ (0, import_jsx_runtime251.jsx)(Icon_default, { variant: "AiMagic", size: "medium" }),
|
|
9034
|
+
/* @__PURE__ */ (0, import_jsx_runtime251.jsx)(Text_default, { size: "sm", children: "Beta" })
|
|
9035
|
+
] })
|
|
9025
9036
|
] }),
|
|
9026
|
-
/* @__PURE__ */ (0, import_jsx_runtime251.
|
|
9027
|
-
/* @__PURE__ */ (0, import_jsx_runtime251.jsx)(Icon_default, { variant: "AiMagic", size: "medium" }),
|
|
9028
|
-
/* @__PURE__ */ (0, import_jsx_runtime251.jsx)(Text_default, { size: "sm", children: "Beta" })
|
|
9029
|
-
] })
|
|
9037
|
+
/* @__PURE__ */ (0, import_jsx_runtime251.jsx)(Text_default, { size: "md", textWrap: "wrap", children: "Get instant answers with Buck, our AI powered assistant." })
|
|
9030
9038
|
] }),
|
|
9031
9039
|
/* @__PURE__ */ (0, import_jsx_runtime251.jsx)(Box_default, { css: inputWrapperStyles2, children: /* @__PURE__ */ (0, import_jsx_runtime251.jsx)(
|
|
9032
9040
|
TextArea,
|