@shopito/design-system-fe 0.1.34 → 0.1.36

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
@@ -206,11 +206,11 @@ var A = ({ as: e, level: t = 1, color: n = "default", className: r = "", childre
206
206
  });
207
207
  //#endregion
208
208
  //#region src/components/common/Badge/Badge.tsx
209
- function M({ variant: e = "default", size: t = "md", position: n, dot: r = !1, className: i, children: a, ...o }) {
209
+ function M({ variant: e = "default", size: t = "md", position: n, circle: r = !1, dot: i = !1, className: a, children: o, ...s }) {
210
210
  return /* @__PURE__ */ d("span", {
211
- className: (0, w.default)("badge", `badge-${e}`, `badge-${t}`, n && `badge-${n}`, i),
212
- ...o,
213
- children: [r && /* @__PURE__ */ u("span", { className: (0, w.default)("badge-dot", `badge-dot-${e}`) }), a]
211
+ className: (0, w.default)("badge", `badge-${e}`, r ? `badge-circle-${t}` : `badge-${t}`, n && `badge-${n}`, a),
212
+ ...s,
213
+ children: [i && /* @__PURE__ */ u("span", { className: (0, w.default)("badge-dot", `badge-dot-${e}`) }), o]
214
214
  });
215
215
  }
216
216
  //#endregion