@foodpilot/foods 2.11.7 → 2.11.8

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.
@@ -10,6 +10,7 @@ export type FoodsToggleButtonType = {
10
10
  startIcon?: keyof IconMapping;
11
11
  onClick?: () => void;
12
12
  disabled?: boolean;
13
+ color?: string;
13
14
  nav?: {
14
15
  url: string;
15
16
  isExternal?: boolean;
@@ -97,7 +97,10 @@ const _ToggleButton = (props) => {
97
97
  setSelectedId(button.id);
98
98
  },
99
99
  selected: isSelected,
100
- disabled: button.disabled
100
+ disabled: button.disabled,
101
+ sx: {
102
+ color: button.color
103
+ }
101
104
  },
102
105
  /* @__PURE__ */ jsxs(
103
106
  Stack,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@foodpilot/foods",
3
3
  "private": false,
4
- "version": "2.11.7",
4
+ "version": "2.11.8",
5
5
  "type": "module",
6
6
  "main": "./dist/main.js",
7
7
  "module": "./dist/main.js",