@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.cjs
CHANGED
|
@@ -2774,7 +2774,7 @@ function SegmentedButton({
|
|
|
2774
2774
|
}) {
|
|
2775
2775
|
const theme = (0, import_material21.useTheme)();
|
|
2776
2776
|
const isDarkMode = theme.palette.mode === "dark";
|
|
2777
|
-
const backgroundColor = active ? isDarkMode ? theme.palette.grey[
|
|
2777
|
+
const backgroundColor = active ? isDarkMode ? theme.palette.grey[800] : theme.palette.common.white : "transparent";
|
|
2778
2778
|
const textColor = active ? theme.palette.text.primary : theme.palette.text.secondary;
|
|
2779
2779
|
const border = active ? "solid" : void 0;
|
|
2780
2780
|
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
@@ -2814,7 +2814,7 @@ function SegmentedButtonGroup({ children, sx, ...props }) {
|
|
|
2814
2814
|
borderRadius: "6px",
|
|
2815
2815
|
gap: 1,
|
|
2816
2816
|
sx: {
|
|
2817
|
-
backgroundColor: isDarkMode ? theme.palette.grey[
|
|
2817
|
+
backgroundColor: isDarkMode ? theme.palette.grey[900] : theme.palette.grey[100],
|
|
2818
2818
|
...sx
|
|
2819
2819
|
},
|
|
2820
2820
|
...props,
|