@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 +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
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;
|