@foodpilot/foods 0.1.82 → 0.1.83

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
@@ -30667,7 +30667,6 @@ const Jz = {
30667
30667
  }
30668
30668
  },
30669
30669
  {
30670
- // props: { variant: "navbar-current" },
30671
30670
  props: { variant: "selected-menu" },
30672
30671
  style: {
30673
30672
  color: "white",
@@ -30684,7 +30683,6 @@ const Jz = {
30684
30683
  }
30685
30684
  },
30686
30685
  {
30687
- // props: { variant: "navbar" },
30688
30686
  props: { variant: "default-menu" },
30689
30687
  style: {
30690
30688
  color: "white",
@@ -62268,8 +62266,9 @@ ek = hb.default = (0, rre.default)(/* @__PURE__ */ (0, ire.jsx)("path", {
62268
62266
  const sre = "data:image/svg+xml,%3csvg%20width='12'%20height='12'%20viewBox='0%200%2012%2012'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.36793%203.67567V8.45768L8.76534%206.06668L6.36793%203.67567ZM1.60513%2011.7333C1.27265%2011.7333%200.988677%2011.6156%200.75321%2011.3801C0.517733%2011.1446%200.399994%2010.8607%200.399994%2010.5282V1.60516C0.399994%201.27268%200.517733%200.988708%200.75321%200.753241C0.988677%200.517763%201.27265%200.400024%201.60513%200.400024H10.5282C10.8606%200.400024%2011.1446%200.517763%2011.3801%200.753241C11.6156%200.988708%2011.7333%201.27268%2011.7333%201.60516V10.5282C11.7333%2010.8607%2011.6156%2011.1446%2011.3801%2011.3801C11.1446%2011.6156%2010.8606%2011.7333%2010.5282%2011.7333H1.60513ZM3.39998%2010.7333V1.40001H1.60513C1.55384%201.40001%201.50682%201.42138%201.46408%201.46411C1.42134%201.50685%201.39998%201.55387%201.39998%201.60516V10.5282C1.39998%2010.5795%201.42134%2010.6265%201.46408%2010.6692C1.50682%2010.712%201.55384%2010.7333%201.60513%2010.7333H3.39998ZM4.39996%2010.7333H10.5282C10.5794%2010.7333%2010.6265%2010.712%2010.6692%2010.6692C10.7119%2010.6265%2010.7333%2010.5795%2010.7333%2010.5282V1.60516C10.7333%201.55387%2010.7119%201.50685%2010.6692%201.46411C10.6265%201.42138%2010.5794%201.40001%2010.5282%201.40001H4.39996V10.7333Z'%20fill='white'/%3e%3c/svg%3e", are = "data:image/svg+xml,%3csvg%20width='12'%20height='12'%20viewBox='0%200%2012%2012'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.76534%208.45768V3.67567L6.36793%206.06668L8.76534%208.45768ZM1.60513%2011.7333C1.27265%2011.7333%200.988677%2011.6156%200.75321%2011.3801C0.517733%2011.1446%200.399994%2010.8607%200.399994%2010.5282V1.60516C0.399994%201.27268%200.517733%200.988708%200.75321%200.753241C0.988677%200.517763%201.27265%200.400024%201.60513%200.400024H10.5282C10.8606%200.400024%2011.1446%200.517763%2011.3801%200.753241C11.6156%200.988708%2011.7333%201.27268%2011.7333%201.60516V10.5282C11.7333%2010.8607%2011.6156%2011.1446%2011.3801%2011.3801C11.1446%2011.6156%2010.8606%2011.7333%2010.5282%2011.7333H1.60513ZM3.39998%2010.7333V1.40001H1.60513C1.55384%201.40001%201.50682%201.42138%201.46408%201.46411C1.42134%201.50685%201.39998%201.55387%201.39998%201.60516V10.5282C1.39998%2010.5795%201.42134%2010.6265%201.46408%2010.6692C1.50682%2010.712%201.55384%2010.7333%201.60513%2010.7333H3.39998ZM4.39996%2010.7333H10.5282C10.5794%2010.7333%2010.6265%2010.712%2010.6692%2010.6692C10.7119%2010.6265%2010.7333%2010.5795%2010.7333%2010.5282V1.60516C10.7333%201.55387%2010.7119%201.50685%2010.6692%201.46411C10.6265%201.42138%2010.5794%201.40001%2010.5282%201.40001H4.39996V10.7333Z'%20fill='white'/%3e%3c/svg%3e", xie = (e) => {
62269
62267
  const [t, n] = wt(!1), [o, r] = wt(() => {
62270
62268
  const c = /* @__PURE__ */ new Map();
62271
- return e.links.filter((u) => !!u.sublinks).forEach((u, d) => {
62272
- c.set(d, !1);
62269
+ return e.links.forEach((u, d) => {
62270
+ const f = e.isCurrent(u.link);
62271
+ c.set(d, f);
62273
62272
  }), c;
62274
62273
  }), s = (c) => {
62275
62274
  r((u) => {