@landtrustinc/design-system 1.2.49 → 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 +25 -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 {
|
|
@@ -6120,6 +6120,10 @@ var contentStyles = import_react28.css`
|
|
|
6120
6120
|
flex: 1 1 auto;
|
|
6121
6121
|
min-width: 1px;
|
|
6122
6122
|
min-height: 1px;
|
|
6123
|
+
text-wrap: wrap;
|
|
6124
|
+
word-break: break-word;
|
|
6125
|
+
white-space: pre-wrap;
|
|
6126
|
+
overflow-wrap: break-word;
|
|
6123
6127
|
`;
|
|
6124
6128
|
|
|
6125
6129
|
// src/MessageBubble/MessageBubble.tsx
|
|
@@ -6383,6 +6387,15 @@ var WidgetRoot = ({
|
|
|
6383
6387
|
document.addEventListener("keydown", onKey);
|
|
6384
6388
|
return () => document.removeEventListener("keydown", onKey);
|
|
6385
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]);
|
|
6386
6399
|
const value = (0, import_react31.useMemo)(
|
|
6387
6400
|
() => ({
|
|
6388
6401
|
expanded: isExpanded,
|
|
@@ -8961,8 +8974,7 @@ var containerStyles4 = import_react58.css`
|
|
|
8961
8974
|
`;
|
|
8962
8975
|
var headerStyles = import_react58.css`
|
|
8963
8976
|
display: flex;
|
|
8964
|
-
|
|
8965
|
-
justify-content: space-between;
|
|
8977
|
+
flex-direction: column;
|
|
8966
8978
|
gap: var(--spacing-2);
|
|
8967
8979
|
`;
|
|
8968
8980
|
var chipsContainerStyles = import_react58.css`
|
|
@@ -9015,14 +9027,14 @@ var ListingChat = ({
|
|
|
9015
9027
|
);
|
|
9016
9028
|
return /* @__PURE__ */ (0, import_jsx_runtime251.jsxs)(Box_default, { css: containerStyles4, className, ...rest, children: [
|
|
9017
9029
|
/* @__PURE__ */ (0, import_jsx_runtime251.jsxs)(Box_default, { css: headerStyles, children: [
|
|
9018
|
-
/* @__PURE__ */ (0, import_jsx_runtime251.jsxs)(Box_default, { children: [
|
|
9019
|
-
/* @__PURE__ */ (0, import_jsx_runtime251.jsx)(
|
|
9020
|
-
/* @__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
|
+
] })
|
|
9021
9036
|
] }),
|
|
9022
|
-
/* @__PURE__ */ (0, import_jsx_runtime251.
|
|
9023
|
-
/* @__PURE__ */ (0, import_jsx_runtime251.jsx)(Icon_default, { variant: "AiMagic", size: "medium" }),
|
|
9024
|
-
/* @__PURE__ */ (0, import_jsx_runtime251.jsx)(Text_default, { size: "sm", children: "Beta" })
|
|
9025
|
-
] })
|
|
9037
|
+
/* @__PURE__ */ (0, import_jsx_runtime251.jsx)(Text_default, { size: "md", textWrap: "wrap", children: "Get instant answers with Buck, our AI powered assistant." })
|
|
9026
9038
|
] }),
|
|
9027
9039
|
/* @__PURE__ */ (0, import_jsx_runtime251.jsx)(Box_default, { css: inputWrapperStyles2, children: /* @__PURE__ */ (0, import_jsx_runtime251.jsx)(
|
|
9028
9040
|
TextArea,
|