@landtrustinc/design-system 1.2.27-beta.1 → 1.2.27-beta.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.
package/dist/index.d.ts CHANGED
@@ -532,6 +532,11 @@ type AIResponseProps = {
532
532
  * Optional title for the AI response
533
533
  */
534
534
  title?: string;
535
+ /**
536
+ * Whether to show the title heading
537
+ * @default true
538
+ */
539
+ showTitle?: boolean;
535
540
  /**
536
541
  * Whether to show disclaimer text
537
542
  */
@@ -580,7 +585,7 @@ type AIResponseProps = {
580
585
  */
581
586
  enableCodeCopy?: boolean;
582
587
  };
583
- declare const AIResponse: ({ title, showDisclaimer, showHelpfulQuestion, className, children, onHelpfulYes, onHelpfulNo, variant, onErrorRetry, helpfulDebounceMs, markdown, enableCodeCopy, }: AIResponseProps) => _emotion_react_jsx_runtime.JSX.Element;
588
+ declare const AIResponse: ({ title, showTitle, showDisclaimer, showHelpfulQuestion, className, children, onHelpfulYes, onHelpfulNo, variant, onErrorRetry, helpfulDebounceMs, markdown, enableCodeCopy, }: AIResponseProps) => _emotion_react_jsx_runtime.JSX.Element;
584
589
 
585
590
  type ContactLandownerButtonProps = {
586
591
  /**
package/dist/index.js CHANGED
@@ -4864,6 +4864,7 @@ var TopMatchingReview = ({
4864
4864
  var import_jsx_runtime217 = require("@emotion/react/jsx-runtime");
4865
4865
  var AIResponse = ({
4866
4866
  title = `Here's what I found`,
4867
+ showTitle = true,
4867
4868
  showDisclaimer = true,
4868
4869
  showHelpfulQuestion = true,
4869
4870
  className,
@@ -4921,7 +4922,7 @@ var AIResponse = ({
4921
4922
  flexDirection: "column",
4922
4923
  gap: "var(--spacing-4)",
4923
4924
  children: [
4924
- variant !== "error" && /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(Heading_default, { size: "2xs", fontWeight: "bold", color: "var(--text-primary)", children: title }),
4925
+ variant !== "error" && showTitle && /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(Heading_default, { size: "2xs", fontWeight: "bold", color: "var(--text-primary)", children: title }),
4925
4926
  /* @__PURE__ */ (0, import_jsx_runtime217.jsxs)("div", { css: getBannerStyles(variant), children: [
4926
4927
  variant === "error" ? /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(Text_default, { size: "md", color: "var(--text-primary)", children: children || "An error occurred while generating your summary. Please try again." }) : markdown && typeof children === "string" ? /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(
4927
4928
  MarkdownContent_default,