@foodpilot/foods 0.1.53 → 0.1.55
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BoxProps } from "@mui/material";
|
|
2
2
|
export type OptionsPopoverOption = {
|
|
3
|
-
id: number;
|
|
3
|
+
id: string | number;
|
|
4
4
|
label: string;
|
|
5
5
|
active?: boolean;
|
|
6
6
|
};
|
|
@@ -11,6 +11,6 @@ export type OptionsPopoverSection = {
|
|
|
11
11
|
export type OptionsPopoverProps = Omit<BoxProps, "content" | "onChange"> & {
|
|
12
12
|
content: OptionsPopoverSection[];
|
|
13
13
|
onChange?: (option: OptionsPopoverOption, section: OptionsPopoverSection) => void;
|
|
14
|
-
defaultIndex?: number;
|
|
14
|
+
defaultIndex?: string | number;
|
|
15
15
|
};
|
|
16
16
|
export declare function OptionsPopover(props: OptionsPopoverProps): import("react/jsx-runtime").JSX.Element;
|
package/dist/main.js
CHANGED
|
@@ -56860,7 +56860,10 @@ function Oee(e) {
|
|
|
56860
56860
|
alignItems: "center",
|
|
56861
56861
|
gap: "6px",
|
|
56862
56862
|
sx: {
|
|
56863
|
-
cursor: "pointer"
|
|
56863
|
+
cursor: "pointer",
|
|
56864
|
+
"&:hover > span": {
|
|
56865
|
+
color: f ? t.custom.color[700] : t.custom.grey[1500]
|
|
56866
|
+
}
|
|
56864
56867
|
},
|
|
56865
56868
|
onClick: () => {
|
|
56866
56869
|
l(d.id), o == null || o(d, c);
|