@portnet/ui 0.0.93 → 0.0.94
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.
|
@@ -34,11 +34,14 @@ const StyledDateMuiTextField = (0, _styles.styled)( /*#__PURE__*/React.forwardRe
|
|
|
34
34
|
return {
|
|
35
35
|
"&.MuiFormControl-root": {
|
|
36
36
|
display: "block",
|
|
37
|
+
"& .MuiFormLabel-root": {
|
|
38
|
+
marginBottom: "0.65px"
|
|
39
|
+
},
|
|
37
40
|
"& .MuiInputAdornment-root .MuiButtonBase-root": {
|
|
38
41
|
"&:hover": {
|
|
39
42
|
backgroundColor: "transparent"
|
|
40
43
|
},
|
|
41
|
-
padding: "6px",
|
|
44
|
+
padding: "0 6px",
|
|
42
45
|
marginRight: "-8px",
|
|
43
46
|
"& .MuiSvgIcon-root": {
|
|
44
47
|
width: "16px",
|
|
@@ -55,6 +55,7 @@ const StyledMuiFormControl = (0, _styles.styled)( /*#__PURE__*/React.forwardRef(
|
|
|
55
55
|
marginBottom: "4px",
|
|
56
56
|
color: _apperance.palette.gray.darker,
|
|
57
57
|
"&.Mui-focused ": {
|
|
58
|
+
lineHeight: "1.4375em",
|
|
58
59
|
color: _apperance.palette.primary
|
|
59
60
|
},
|
|
60
61
|
"&.Mui-disabled": {
|
|
@@ -81,6 +82,9 @@ const StyledMuiFormControl = (0, _styles.styled)( /*#__PURE__*/React.forwardRef(
|
|
|
81
82
|
"& .MuiInputBase-input": {
|
|
82
83
|
padding: "1px 6px",
|
|
83
84
|
fontSize: "0.7rem"
|
|
85
|
+
},
|
|
86
|
+
"& .MuiSvgIcon-root": {
|
|
87
|
+
marginRight: "2px"
|
|
84
88
|
}
|
|
85
89
|
},
|
|
86
90
|
"& .MuiFormHelperText-root": {
|
|
@@ -179,7 +183,7 @@ const PuiStandardSelect = _ref => {
|
|
|
179
183
|
value: getOptionValue(option),
|
|
180
184
|
children: getOptionLabel(option)
|
|
181
185
|
}, getOptionKey(option)))
|
|
182
|
-
})), /*#__PURE__*/(0, _jsxRuntime.jsx)(_material.FormHelperText, {
|
|
186
|
+
})), Boolean(helperText) && /*#__PURE__*/(0, _jsxRuntime.jsx)(_material.FormHelperText, {
|
|
183
187
|
component: "div",
|
|
184
188
|
children: error && Boolean(helperText) ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiIndication.default, {
|
|
185
189
|
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiIcon.default, {
|