@vertigis/react-ui 11.32.0 → 11.32.2
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/InlineHelp/InlineHelp.js +1 -1
- package/package.json +1 -1
- package/styles/createTheme.js +14 -3
package/InlineHelp/InlineHelp.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useFormControl } from "@mui/material/FormControl";
|
|
2
3
|
import clsx from "clsx";
|
|
3
4
|
import { forwardRef, useState } from "react";
|
|
4
5
|
import Box from "../Box/index.js";
|
|
5
|
-
import { useFormControl } from "../FormControl/index.js";
|
|
6
6
|
import IconButton from "../IconButton/index.js";
|
|
7
7
|
import Link from "../Link/index.js";
|
|
8
8
|
import Popover from "../Popover/index.js";
|
package/package.json
CHANGED
package/styles/createTheme.js
CHANGED
|
@@ -483,10 +483,12 @@ function getOverrides(theme) {
|
|
|
483
483
|
borderColor: blue.A100,
|
|
484
484
|
boxShadow: "none",
|
|
485
485
|
},
|
|
486
|
-
"&.Mui-error": {
|
|
486
|
+
"&.Mui-error, &.Mui-error.Mui-focused": {
|
|
487
487
|
backgroundColor: "transparent",
|
|
488
|
-
|
|
489
|
-
|
|
488
|
+
borderWidth: "2px",
|
|
489
|
+
borderColor: palette.error.main,
|
|
490
|
+
boxSizing: "border-box",
|
|
491
|
+
boxShadow: `0 0 0 1px ${isDarkMode ? palette.common.white : "transparent"} inset, 0 0 0 1px ${isDarkMode ? palette.common.white : "transparent"}`,
|
|
490
492
|
},
|
|
491
493
|
"&.Mui-disabled": {
|
|
492
494
|
borderColor: palette.grey[300],
|
|
@@ -655,6 +657,15 @@ function getOverrides(theme) {
|
|
|
655
657
|
},
|
|
656
658
|
},
|
|
657
659
|
},
|
|
660
|
+
MuiSlider: {
|
|
661
|
+
styleOverrides: {
|
|
662
|
+
valueLabel: {
|
|
663
|
+
// Set the minimum height to avoid it jumping around
|
|
664
|
+
// when the label does not have a value.
|
|
665
|
+
minHeight: typography.pxToRem(28),
|
|
666
|
+
},
|
|
667
|
+
},
|
|
668
|
+
},
|
|
658
669
|
MuiSwitch: {
|
|
659
670
|
defaultProps: {
|
|
660
671
|
color: "secondary",
|