@landtrustinc/design-system 1.2.59 → 1.2.60

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
@@ -1075,7 +1075,7 @@ type AIResponseProps = {
1075
1075
  /**
1076
1076
  * Visual variant of the response
1077
1077
  */
1078
- variant?: 'default' | 'error';
1078
+ variant?: 'default' | 'error' | 'success';
1079
1079
  /**
1080
1080
  * Callback for retry button in error state
1081
1081
  */
package/dist/index.js CHANGED
@@ -5324,8 +5324,8 @@ var MarkdownContent_default = MarkdownContent;
5324
5324
  // src/AIResponse/AIResponse.styles.ts
5325
5325
  var import_react17 = require("@emotion/react");
5326
5326
  var getBannerStyles = (variant) => import_react17.css`
5327
- background-color: ${variant === "error" ? "var(--surface-error)" : "var(--surface-neutral)"};
5328
- border: ${variant === "error" ? "1px solid var(--border-error)" : "none"};
5327
+ background-color: ${variant === "error" ? "var(--surface-error)" : variant === "success" ? "var(--surface-success)" : "var(--surface-neutral)"};
5328
+ border: ${variant === "error" ? "1px solid var(--border-error)" : variant === "success" ? "1px solid var(--border-success)" : "none"};
5329
5329
  border-radius: var(--radius-lg);
5330
5330
  padding: var(--spacing-4);
5331
5331
  display: flex;