@foodpilot/foods 0.3.40 → 0.3.41
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 +50 -48
- package/dist/main.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -64627,55 +64627,57 @@ const nie = (e) => /* @__PURE__ */ p.jsx(be, { sx: { minWidth: 205 }, children:
|
|
|
64627
64627
|
id: `tab-${e}`,
|
|
64628
64628
|
"aria-controls": `tabpanel-${e}`
|
|
64629
64629
|
}), jne = W(be)(({ theme: e }) => () => ({
|
|
64630
|
-
|
|
64631
|
-
|
|
64632
|
-
|
|
64633
|
-
|
|
64634
|
-
|
|
64635
|
-
|
|
64636
|
-
|
|
64637
|
-
|
|
64638
|
-
|
|
64639
|
-
|
|
64640
|
-
|
|
64641
|
-
|
|
64642
|
-
|
|
64643
|
-
|
|
64630
|
+
"&.secondary-tabs-wrapper": {
|
|
64631
|
+
"& > .secondary-tabs": {
|
|
64632
|
+
background: Me[200],
|
|
64633
|
+
"& .MuiTabs-indicator": {
|
|
64634
|
+
backgroundColor: e.palette.background.paper
|
|
64635
|
+
},
|
|
64636
|
+
"& .MuiButtonBase-root": {
|
|
64637
|
+
fontWeight: e.typography.fontWeightBold,
|
|
64638
|
+
borderRadius: 0,
|
|
64639
|
+
background: Me[200],
|
|
64640
|
+
textTransform: "unset",
|
|
64641
|
+
borderRight: `1px solid ${Me[500]}`,
|
|
64642
|
+
display: "flex",
|
|
64643
|
+
flexDirection: "row",
|
|
64644
|
+
"& > svg": {
|
|
64645
|
+
marginRight: "0.5rem"
|
|
64646
|
+
}
|
|
64647
|
+
},
|
|
64648
|
+
"& .MuiButtonBase-root::after": {
|
|
64649
|
+
content: '" "',
|
|
64650
|
+
background: Me[500],
|
|
64651
|
+
bottom: 0,
|
|
64652
|
+
left: 0,
|
|
64653
|
+
right: 0,
|
|
64654
|
+
width: "100%",
|
|
64655
|
+
height: "1px",
|
|
64656
|
+
position: "absolute",
|
|
64657
|
+
zIndex: 10
|
|
64658
|
+
},
|
|
64659
|
+
"& .MuiButtonBase-root.Mui-selected": {
|
|
64660
|
+
color: e.palette.primary[600],
|
|
64661
|
+
background: e.palette.background.paper
|
|
64662
|
+
},
|
|
64663
|
+
"& .MuiButtonBase-root.Mui-selected::after": {
|
|
64664
|
+
background: e.palette.background.paper
|
|
64665
|
+
},
|
|
64666
|
+
"& .MuiTabs-flexContainer::after": {
|
|
64667
|
+
content: '" "',
|
|
64668
|
+
background: Me[500],
|
|
64669
|
+
bottom: 0,
|
|
64670
|
+
left: 0,
|
|
64671
|
+
right: 0,
|
|
64672
|
+
width: "100%",
|
|
64673
|
+
height: "1px",
|
|
64674
|
+
position: "absolute"
|
|
64675
|
+
}
|
|
64676
|
+
},
|
|
64677
|
+
"& .secondary-tabs-content": {
|
|
64678
|
+
padding: "1.5rem",
|
|
64679
|
+
backgroundColor: e.palette.background.paper
|
|
64644
64680
|
}
|
|
64645
|
-
},
|
|
64646
|
-
"& .MuiButtonBase-root::after": {
|
|
64647
|
-
content: '" "',
|
|
64648
|
-
background: Me[500],
|
|
64649
|
-
bottom: 0,
|
|
64650
|
-
left: 0,
|
|
64651
|
-
right: 0,
|
|
64652
|
-
width: "100%",
|
|
64653
|
-
height: "1px",
|
|
64654
|
-
position: "absolute",
|
|
64655
|
-
zIndex: 10
|
|
64656
|
-
},
|
|
64657
|
-
"& .MuiButtonBase-root.Mui-selected": {
|
|
64658
|
-
color: e.palette.primary[600],
|
|
64659
|
-
background: e.palette.background.paper
|
|
64660
|
-
},
|
|
64661
|
-
"& .MuiButtonBase-root.Mui-selected::after": {
|
|
64662
|
-
background: e.palette.background.paper
|
|
64663
|
-
},
|
|
64664
|
-
"& .MuiTabs-flexContainer::after": {
|
|
64665
|
-
content: '" "',
|
|
64666
|
-
background: Me[500],
|
|
64667
|
-
bottom: 0,
|
|
64668
|
-
left: 0,
|
|
64669
|
-
right: 0,
|
|
64670
|
-
width: "100%",
|
|
64671
|
-
height: "1px",
|
|
64672
|
-
position: "absolute"
|
|
64673
|
-
},
|
|
64674
|
-
"& .secondary-tabs": {
|
|
64675
|
-
background: Me[200]
|
|
64676
|
-
},
|
|
64677
|
-
"& .secondary-tabs-content": {
|
|
64678
|
-
padding: "1.5rem"
|
|
64679
64681
|
}
|
|
64680
64682
|
})), Dne = ({ children: e, value: t, index: n }) => /* @__PURE__ */ p.jsx(be, { role: "tabpanel", hidden: t !== n, className: "secondary-tabs-tabpanel", children: t === n && /* @__PURE__ */ p.jsx(be, { children: e }) }), iie = ({ tabs: e, selectedTab: t, boxProps: n }) => {
|
|
64681
64683
|
const o = () => e.findIndex((r) => t(r));
|