@chekinapp/ui 0.2.10 → 0.2.11

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.cjs CHANGED
@@ -606,10 +606,14 @@ var AlertSize = /* @__PURE__ */ ((AlertSize2) => {
606
606
  AlertSize2["L"] = "L";
607
607
  return AlertSize2;
608
608
  })(AlertSize || {});
609
+ var iconCircleStroke = {
610
+ ["INFO" /* INFO */]: "[&_circle]:stroke-[var(--alert-box-info-icon-fill)]",
611
+ ["ERROR" /* ERROR */]: "[&_circle]:stroke-[var(--alert-box-error-icon-fill)]"
612
+ };
609
613
  var getIcon = (type) => {
610
614
  const key = type.toLowerCase();
611
615
  const iconProps = {
612
- className: "relative",
616
+ className: cn("relative", iconCircleStroke[type]),
613
617
  fill: `var(--alert-box-${key}-icon-fill)`,
614
618
  stroke: `var(--alert-box-${key}-icon-stroke)`
615
619
  };
@@ -617,7 +621,7 @@ var getIcon = (type) => {
617
621
  ["INFO" /* INFO */]: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_lucide_react2.AlertCircle, { ...iconProps }),
618
622
  ["WARNING" /* WARNING */]: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_lucide_react2.TriangleAlert, { ...iconProps }),
619
623
  ["ERROR" /* ERROR */]: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_lucide_react2.XCircle, { ...iconProps }),
620
- ["LIGHT" /* LIGHT */]: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_lucide_react2.AlertCircle, { ...iconProps }),
624
+ ["LIGHT" /* LIGHT */]: null,
621
625
  ["SUCCESS" /* SUCCESS */]: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_lucide_react2.Check, { ...iconProps })
622
626
  }[type];
623
627
  };