@foodpilot/foods 0.1.58 → 0.1.59
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 +1 -1
- package/dist/main.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -57257,7 +57257,7 @@ const Dee = (e) => /* @__PURE__ */ h.jsx(ut, { sx: { minWidth: 205 }, children:
|
|
|
57257
57257
|
}, Aee = (e) => {
|
|
57258
57258
|
const { value: t, maxLength: n, ...o } = e, i = t.join(", ");
|
|
57259
57259
|
let s = i.substring(0, n), a = 0;
|
|
57260
|
-
return s.length < i.length && (a = i.split(" ").length - s.split(" ").length, s +=
|
|
57260
|
+
return s.length < i.length && (a = i.split(" ").length - s.split(" ").length, s += "...", a > 0 && (s += ` +${a}`)), /* @__PURE__ */ h.jsx(ot, { ...o, children: s });
|
|
57261
57261
|
}, Fee = (e) => {
|
|
57262
57262
|
const { label: t, unity: n, size: o = 14, direction: i = "row" } = e;
|
|
57263
57263
|
return /* @__PURE__ */ h.jsxs(bt, { direction: i, spacing: 1, alignItems: "baseline", children: [
|