@team-monolith/cds 1.91.1 → 1.91.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/components/Tag.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
export type TagColor = "default" | "red" | "teal" | "orange" | "blue" | "green" | "yellow" | "black";
|
|
2
|
+
export type TagColor = "default" | "red" | "teal" | "orange" | "blue" | "green" | "yellow" | "black" | "ai";
|
|
3
3
|
export interface TagProps {
|
|
4
4
|
className?: string;
|
|
5
5
|
component?: React.ElementType;
|
package/dist/components/Tag.js
CHANGED
|
@@ -63,6 +63,10 @@ const COLOR_TO_STYLE = (theme, color) => ({
|
|
|
63
63
|
background: ${theme.color.container.obsidianContainer};
|
|
64
64
|
color: ${theme.color.container.obsidianOnContainer};
|
|
65
65
|
`,
|
|
66
|
+
ai: css `
|
|
67
|
+
background: linear-gradient(94deg, #5898ff 5.24%, #c673e4 96.99%);
|
|
68
|
+
color: ${theme.color.container.obsidianOnContainer};
|
|
69
|
+
`,
|
|
66
70
|
})[color];
|
|
67
71
|
/**
|
|
68
72
|
* [피그마](https://www.figma.com/file/yhrRFizzmhPoHdw9FbYow2/Codle-PD-Kit---Components?type=design&node-id=42-869&t=HZXCHP0r0tbvMA6v-0)
|