@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.js CHANGED
@@ -182,10 +182,14 @@ var AlertSize = /* @__PURE__ */ ((AlertSize2) => {
182
182
  AlertSize2["L"] = "L";
183
183
  return AlertSize2;
184
184
  })(AlertSize || {});
185
+ var iconCircleStroke = {
186
+ ["INFO" /* INFO */]: "[&_circle]:stroke-[var(--alert-box-info-icon-fill)]",
187
+ ["ERROR" /* ERROR */]: "[&_circle]:stroke-[var(--alert-box-error-icon-fill)]"
188
+ };
185
189
  var getIcon = (type) => {
186
190
  const key = type.toLowerCase();
187
191
  const iconProps = {
188
- className: "relative",
192
+ className: cn("relative", iconCircleStroke[type]),
189
193
  fill: `var(--alert-box-${key}-icon-fill)`,
190
194
  stroke: `var(--alert-box-${key}-icon-stroke)`
191
195
  };
@@ -193,7 +197,7 @@ var getIcon = (type) => {
193
197
  ["INFO" /* INFO */]: /* @__PURE__ */ jsx3(AlertCircle, { ...iconProps }),
194
198
  ["WARNING" /* WARNING */]: /* @__PURE__ */ jsx3(TriangleAlert, { ...iconProps }),
195
199
  ["ERROR" /* ERROR */]: /* @__PURE__ */ jsx3(XCircle, { ...iconProps }),
196
- ["LIGHT" /* LIGHT */]: /* @__PURE__ */ jsx3(AlertCircle, { ...iconProps }),
200
+ ["LIGHT" /* LIGHT */]: null,
197
201
  ["SUCCESS" /* SUCCESS */]: /* @__PURE__ */ jsx3(Check, { ...iconProps })
198
202
  }[type];
199
203
  };