@bwp-web/components 1.6.0 → 1.6.1
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/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2778,7 +2778,7 @@ function SegmentedButton({
|
|
|
2778
2778
|
}) {
|
|
2779
2779
|
const theme = useTheme();
|
|
2780
2780
|
const isDarkMode = theme.palette.mode === "dark";
|
|
2781
|
-
const backgroundColor = active ? isDarkMode ? theme.palette.grey[
|
|
2781
|
+
const backgroundColor = active ? isDarkMode ? theme.palette.grey[800] : theme.palette.common.white : "transparent";
|
|
2782
2782
|
const textColor = active ? theme.palette.text.primary : theme.palette.text.secondary;
|
|
2783
2783
|
const border = active ? "solid" : void 0;
|
|
2784
2784
|
return /* @__PURE__ */ jsx23(
|
|
@@ -2818,7 +2818,7 @@ function SegmentedButtonGroup({ children, sx, ...props }) {
|
|
|
2818
2818
|
borderRadius: "6px",
|
|
2819
2819
|
gap: 1,
|
|
2820
2820
|
sx: {
|
|
2821
|
-
backgroundColor: isDarkMode ? theme.palette.grey[
|
|
2821
|
+
backgroundColor: isDarkMode ? theme.palette.grey[900] : theme.palette.grey[100],
|
|
2822
2822
|
...sx
|
|
2823
2823
|
},
|
|
2824
2824
|
...props,
|