@wandelbots/wandelbots-js-react-components 2.54.2 → 2.54.3-pr.fix-dom-leak.403.4c7bc8d

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
@@ -34299,30 +34299,38 @@ const I$ = Ge(
34299
34299
  transform: "none"
34300
34300
  }
34301
34301
  }
34302
- }
34302
+ },
34303
+ h.id
34303
34304
  );
34304
34305
  return S ? /* @__PURE__ */ g.jsx(
34305
- t0,
34306
+ re,
34306
34307
  {
34307
- badgeContent: y,
34308
- color: ((C = h.badge) == null ? void 0 : C.color) || "error",
34309
- max: (P = h.badge) == null ? void 0 : P.max,
34310
- showZero: (O = h.badge) == null ? void 0 : O.showZero,
34311
- anchorOrigin: {
34312
- vertical: "top",
34313
- horizontal: "right"
34314
- },
34315
- overlap: "rectangular",
34316
- sx: {
34317
- "& .MuiBadge-badge": {
34318
- // Ensure badge doesn't inherit tab opacity
34319
- opacity: "1 !important"
34308
+ component: "span",
34309
+ sx: { display: "inline-flex" },
34310
+ children: /* @__PURE__ */ g.jsx(
34311
+ t0,
34312
+ {
34313
+ badgeContent: y,
34314
+ color: ((C = h.badge) == null ? void 0 : C.color) || "error",
34315
+ max: (P = h.badge) == null ? void 0 : P.max,
34316
+ showZero: (O = h.badge) == null ? void 0 : O.showZero,
34317
+ anchorOrigin: {
34318
+ vertical: "top",
34319
+ horizontal: "right"
34320
+ },
34321
+ overlap: "rectangular",
34322
+ sx: {
34323
+ "& .MuiBadge-badge": {
34324
+ // Ensure badge doesn't inherit tab opacity
34325
+ opacity: "1 !important"
34326
+ }
34327
+ },
34328
+ children: w
34320
34329
  }
34321
- },
34322
- children: w
34330
+ )
34323
34331
  },
34324
34332
  h.id
34325
- ) : /* @__PURE__ */ g.jsx(re, { sx: { display: "inline-flex" }, children: w }, h.id);
34333
+ ) : w;
34326
34334
  })
34327
34335
  }
34328
34336
  )