@foodpilot/foods 0.3.134 → 0.3.136

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/main.js CHANGED
@@ -32309,7 +32309,7 @@ const _9 = 100, hl = B(({ className: e, title: t, arrow: n = !0, ...o }) => {
32309
32309
  const s = j3(r ?? n, o);
32310
32310
  if (s === null) return null;
32311
32311
  const a = oG({ partial: s, total: i });
32312
- return Math.round(Math.abs(a));
32312
+ return Math.round(a);
32313
32313
  }, oG = (e) => {
32314
32314
  const { partial: t, total: n } = e;
32315
32315
  return n === 0 ? 0 : t / n * 100;
@@ -67311,7 +67311,7 @@ const _T = (e) => {
67311
67311
  ) }, `select-${h}`);
67312
67312
  })
67313
67313
  ] });
67314
- }, ode = (e, t, n, o, r) => e.length === 0 ? t : n === null ? r : o(n), rde = (e) => {
67314
+ }, ode = (e, t, n, o, r) => e.length === 0 ? n !== null ? o(n) : t : n === null ? r : o(n), rde = (e) => {
67315
67315
  const { textOptions: t, disabled: n, closeOnSelect: o, setSearch: r, disableOnEmpty: i } = h0(), s = Ce(), [a, c] = Ne(null), d = () => c(null), u = a !== null, { selectedOption: p } = e, h = u ? /* @__PURE__ */ f.jsx(E7, {}) : /* @__PURE__ */ f.jsx(T7, {}), g = u ? { border: `2px solid ${s.custom.grey[2800]}` } : {}, m = ode(
67316
67316
  e.options,
67317
67317
  t.emptyOptionsText,