@foodpilot/foods 2.2.1 → 2.2.2

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.
@@ -3,4 +3,5 @@ export declare const FoodsTooltip: import('@emotion/styled').StyledComponent<Too
3
3
  align?: string;
4
4
  width?: string;
5
5
  padding?: string;
6
+ popperZIndex?: number;
6
7
  } & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
package/dist/main.js CHANGED
@@ -34278,10 +34278,20 @@ const OS = 100, Zre = "202px", Cs = B(
34278
34278
  className: e,
34279
34279
  title: t,
34280
34280
  arrow: n = !0,
34281
- ...r
34281
+ popperZIndex: r,
34282
+ ...o
34282
34283
  }) => {
34283
- const o = typeof t == "string" && t.length > OS ? `${t.slice(0, OS)}...` : t;
34284
- return /* @__PURE__ */ p.jsx(bn, { ...r, title: o, arrow: n, classes: { popper: e } });
34284
+ const i = typeof t == "string" && t.length > OS ? `${t.slice(0, OS)}...` : t;
34285
+ return /* @__PURE__ */ p.jsx(
34286
+ bn,
34287
+ {
34288
+ ...o,
34289
+ title: i,
34290
+ arrow: n,
34291
+ classes: { popper: e },
34292
+ slotProps: { popper: { sx: { zIndex: r } } }
34293
+ }
34294
+ );
34285
34295
  }
34286
34296
  )(({ theme: e, align: t = "center", width: n = Zre, padding: r = "12px 16px 12px 16px" }) => {
34287
34297
  const o = {
@@ -63240,6 +63250,7 @@ const U5 = (e) => {
63240
63250
  {
63241
63251
  width: "unset",
63242
63252
  padding: u.spacing(0.5, 1),
63253
+ popperZIndex: c,
63243
63254
  title: /* @__PURE__ */ p.jsxs(ue, { direction: "row", alignItems: "center", spacing: 1, children: [
63244
63255
  /* @__PURE__ */ p.jsxs(oe, { variant: "h6", sx: { fontWeight: 700, color: u.custom.grey[2800] }, children: [
63245
63256
  i(r),
@@ -63437,7 +63448,8 @@ const U5 = (e) => {
63437
63448
  isPositive: O.isPositive,
63438
63449
  precision: a,
63439
63450
  language: c
63440
- }
63451
+ },
63452
+ zIndex: 1001
63441
63453
  }
63442
63454
  ),
63443
63455
  O.currentIndex > 0 && k.prevXPos != null && k.prevYPos != null && /* @__PURE__ */ p.jsx(
@@ -63447,7 +63459,8 @@ const U5 = (e) => {
63447
63459
  y: k.prevYPos,
63448
63460
  value: O.previousValue,
63449
63461
  unit: i,
63450
- formatValue: M
63462
+ formatValue: M,
63463
+ zIndex: 1e3
63451
63464
  }
63452
63465
  )
63453
63466
  ] });