@etsoo/materialui 1.1.22 → 1.1.24
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/lib/OptionGroup.js +1 -1
- package/package.json +3 -3
- package/src/OptionGroup.tsx +6 -1
package/lib/OptionGroup.js
CHANGED
|
@@ -92,7 +92,7 @@ export function OptionGroup(props) {
|
|
|
92
92
|
} }, list));
|
|
93
93
|
// Layout
|
|
94
94
|
return (React.createElement(React.Fragment, null,
|
|
95
|
-
React.createElement(FormControl, { component: "fieldset", fullWidth: fullWidth, ...rest },
|
|
95
|
+
React.createElement(FormControl, { component: "fieldset", fullWidth: fullWidth, sx: { height: "56px" }, ...rest },
|
|
96
96
|
label && (React.createElement(InputLabel, { required: required, variant: variant, shrink: true }, label)),
|
|
97
97
|
variant === "outlined" && (React.createElement(NotchedOutline, { label: label && required ? label + " *" : label, notched: true, sx: {
|
|
98
98
|
cursor: "default",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@etsoo/materialui",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.24",
|
|
4
4
|
"description": "TypeScript Material-UI Implementation",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -50,9 +50,9 @@
|
|
|
50
50
|
"@emotion/css": "^11.10.5",
|
|
51
51
|
"@emotion/react": "^11.10.5",
|
|
52
52
|
"@emotion/styled": "^11.10.5",
|
|
53
|
-
"@etsoo/appscript": "^1.3.
|
|
53
|
+
"@etsoo/appscript": "^1.3.60",
|
|
54
54
|
"@etsoo/notificationbase": "^1.1.23",
|
|
55
|
-
"@etsoo/react": "^1.6.
|
|
55
|
+
"@etsoo/react": "^1.6.44",
|
|
56
56
|
"@etsoo/shared": "^1.1.88",
|
|
57
57
|
"@mui/icons-material": "^5.11.0",
|
|
58
58
|
"@mui/material": "^5.11.6",
|
package/src/OptionGroup.tsx
CHANGED
|
@@ -276,7 +276,12 @@ export function OptionGroup<
|
|
|
276
276
|
// Layout
|
|
277
277
|
return (
|
|
278
278
|
<React.Fragment>
|
|
279
|
-
<FormControl
|
|
279
|
+
<FormControl
|
|
280
|
+
component="fieldset"
|
|
281
|
+
fullWidth={fullWidth}
|
|
282
|
+
sx={{ height: "56px" }} // absolute layout inside relative layout needed
|
|
283
|
+
{...rest}
|
|
284
|
+
>
|
|
280
285
|
{label && (
|
|
281
286
|
<InputLabel required={required} variant={variant} shrink>
|
|
282
287
|
{label}
|