@syscore/ui-library 1.15.2 → 1.15.3

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.es.js CHANGED
@@ -6819,9 +6819,16 @@ const UtilityTrash = ({ className }) => {
6819
6819
  }
6820
6820
  );
6821
6821
  };
6822
+ const VARIANT_COLORS = {
6823
+ low: { fill: "#50E7CA", stroke: "#1BC5A3" },
6824
+ medium: { fill: "#DCADD2", stroke: "#AA6A9B" },
6825
+ high: { fill: "#F0AA99", stroke: "#E67357" }
6826
+ };
6822
6827
  const UtilityTriangleInfo = ({
6823
- className
6828
+ className,
6829
+ variant: variant2 = "low"
6824
6830
  }) => {
6831
+ const { fill, stroke } = VARIANT_COLORS[variant2];
6825
6832
  return /* @__PURE__ */ jsx(
6826
6833
  "svg",
6827
6834
  {
@@ -6835,8 +6842,8 @@ const UtilityTriangleInfo = ({
6835
6842
  "path",
6836
6843
  {
6837
6844
  d: "M7.78821 1.348C7.6827 1.16611 7.53127 1.01514 7.34906 0.910189C7.16685 0.80524 6.96027 0.75 6.75 0.75C6.53973 0.75 6.33315 0.80524 6.15094 0.910189C5.96873 1.01514 5.8173 1.16611 5.71179 1.348L0.910803 9.74972C0.805511 9.93209 0.750054 10.139 0.75 10.3495C0.749946 10.5601 0.805297 10.767 0.910495 10.9494C1.01569 11.1319 1.16703 11.2834 1.34932 11.3888C1.53161 11.4943 1.73843 11.5499 1.94902 11.5501H11.551C11.7616 11.5499 11.9684 11.4943 12.1507 11.3888C12.333 11.2834 12.4843 11.1319 12.5895 10.9494C12.6947 10.767 12.7501 10.5601 12.75 10.3495C12.7499 10.139 12.6945 9.93209 12.5892 9.74972L7.78821 1.348Z",
6838
- fill: "#50E7CA",
6839
- stroke: "#1BC5A3",
6845
+ fill,
6846
+ stroke,
6840
6847
  strokeWidth: "1.5",
6841
6848
  strokeLinecap: "round",
6842
6849
  strokeLinejoin: "round"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@syscore/ui-library",
3
- "version": "1.15.2",
3
+ "version": "1.15.3",
4
4
  "description": "A comprehensive React component library built with Radix UI, Tailwind CSS, and TypeScript",
5
5
  "private": false,
6
6
  "type": "module",