@foodpilot/foods 0.3.88 → 0.3.90
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
|
@@ -44577,7 +44577,7 @@ const d8e = (e) => {
|
|
|
44577
44577
|
background: r.palette.background.paper
|
|
44578
44578
|
},
|
|
44579
44579
|
children: [
|
|
44580
|
-
/* @__PURE__ */ f.jsxs(Ce, { flexDirection: "row", children: [
|
|
44580
|
+
/* @__PURE__ */ f.jsxs(Ce, { flexDirection: "row", alignContent: "center", justifyContent: "space-between", children: [
|
|
44581
44581
|
/* @__PURE__ */ f.jsx(pe, { variant: "h3", component: "h3", mb: "1.5rem", children: t }),
|
|
44582
44582
|
n && /* @__PURE__ */ f.jsx(qee, { text: n })
|
|
44583
44583
|
] }),
|
|
@@ -84519,9 +84519,10 @@ const Mge = z(Q)(({ theme: e }) => ({
|
|
|
84519
84519
|
onChange: e,
|
|
84520
84520
|
displayOutput: t = !1,
|
|
84521
84521
|
placeholder: n = "",
|
|
84522
|
-
initialContent: o = ""
|
|
84522
|
+
initialContent: o = "",
|
|
84523
|
+
value: r = ""
|
|
84523
84524
|
}) => {
|
|
84524
|
-
const
|
|
84525
|
+
const i = dhe({
|
|
84525
84526
|
extensions: [
|
|
84526
84527
|
f6e,
|
|
84527
84528
|
// Basic editor features
|
|
@@ -84550,14 +84551,14 @@ const Mge = z(Q)(({ theme: e }) => ({
|
|
|
84550
84551
|
],
|
|
84551
84552
|
content: o,
|
|
84552
84553
|
// Set initial content
|
|
84553
|
-
onUpdate: ({ editor:
|
|
84554
|
-
e == null || e(
|
|
84554
|
+
onUpdate: ({ editor: s }) => {
|
|
84555
|
+
e == null || e(s.getHTML());
|
|
84555
84556
|
}
|
|
84556
84557
|
});
|
|
84557
|
-
return
|
|
84558
|
-
/* @__PURE__ */ f.jsx(Sge, { editor:
|
|
84559
|
-
/* @__PURE__ */ f.jsx(Tge, { editor: r }),
|
|
84560
|
-
/* @__PURE__ */ f.jsx(Oge, { editor:
|
|
84558
|
+
return i ? /* @__PURE__ */ f.jsxs(Mge, { children: [
|
|
84559
|
+
/* @__PURE__ */ f.jsx(Sge, { editor: i }),
|
|
84560
|
+
/* @__PURE__ */ f.jsx(Tge, { editor: i, value: r }),
|
|
84561
|
+
/* @__PURE__ */ f.jsx(Oge, { editor: i, displayOutput: t })
|
|
84561
84562
|
] }) : null;
|
|
84562
84563
|
}, i3 = {
|
|
84563
84564
|
MuiAvatar: {
|