@cakemail-org/ui-components-v2 2.1.60 → 2.1.61
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/cjs/index.js +1 -1
- package/dist/esm/index.js +1 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -16775,7 +16775,7 @@ function Toggle(_a) {
|
|
|
16775
16775
|
});
|
|
16776
16776
|
return React.createElement(Box, { className: classes, onClick: handleOnChange, sx: function (theme) {
|
|
16777
16777
|
return {
|
|
16778
|
-
background: theme.palette[color || "secondary"].main
|
|
16778
|
+
background: cValue === false ? theme.palette.shade100.main : theme.palette[color || "secondary"].main
|
|
16779
16779
|
};
|
|
16780
16780
|
} },
|
|
16781
16781
|
React.createElement(Box, { className: "pill" }),
|
package/dist/esm/index.js
CHANGED
|
@@ -16755,7 +16755,7 @@ function Toggle(_a) {
|
|
|
16755
16755
|
});
|
|
16756
16756
|
return React__default.createElement(Box$1, { className: classes, onClick: handleOnChange, sx: function (theme) {
|
|
16757
16757
|
return {
|
|
16758
|
-
background: theme.palette[color || "secondary"].main
|
|
16758
|
+
background: cValue === false ? theme.palette.shade100.main : theme.palette[color || "secondary"].main
|
|
16759
16759
|
};
|
|
16760
16760
|
} },
|
|
16761
16761
|
React__default.createElement(Box$1, { className: "pill" }),
|