@etsoo/materialui 1.1.12 → 1.1.13
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 +10 -10
- package/src/OptionGroup.tsx +1 -1
package/lib/OptionGroup.js
CHANGED
|
@@ -93,7 +93,7 @@ export function OptionGroup(props) {
|
|
|
93
93
|
// Layout
|
|
94
94
|
return (React.createElement(React.Fragment, null,
|
|
95
95
|
React.createElement(FormControl, { component: "fieldset", fullWidth: fullWidth, ...rest },
|
|
96
|
-
label && (React.createElement(InputLabel, { required: required, variant: variant, shrink: true }, label)),
|
|
96
|
+
label && variant !== "outlined" && (React.createElement(InputLabel, { required: required, variant: variant, shrink: true }, label)),
|
|
97
97
|
React.createElement(Box, { paddingLeft: 2, paddingY: "7px" }, group),
|
|
98
98
|
variant === "outlined" && (React.createElement(NotchedOutline, { label: label && required ? label + " *" : label, notched: true, style: {
|
|
99
99
|
position: "absolute",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@etsoo/materialui",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.13",
|
|
4
4
|
"description": "TypeScript Material-UI Implementation",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -55,10 +55,10 @@
|
|
|
55
55
|
"@etsoo/react": "^1.6.42",
|
|
56
56
|
"@etsoo/shared": "^1.1.88",
|
|
57
57
|
"@mui/icons-material": "^5.11.0",
|
|
58
|
-
"@mui/material": "^5.11.
|
|
58
|
+
"@mui/material": "^5.11.6",
|
|
59
59
|
"@types/pica": "^9.0.1",
|
|
60
60
|
"@types/pulltorefreshjs": "^0.1.5",
|
|
61
|
-
"@types/react": "^18.0.
|
|
61
|
+
"@types/react": "^18.0.27",
|
|
62
62
|
"@types/react-avatar-editor": "^13.0.0",
|
|
63
63
|
"@types/react-dom": "^18.0.10",
|
|
64
64
|
"@types/react-input-mask": "^3.0.2",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"react-dom": "^18.2.0",
|
|
71
71
|
"react-draggable": "^4.4.5",
|
|
72
72
|
"react-imask": "^6.4.3",
|
|
73
|
-
"react-router-dom": "^6.
|
|
73
|
+
"react-router-dom": "^6.7.0",
|
|
74
74
|
"react-window": "^1.8.8"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
@@ -80,14 +80,14 @@
|
|
|
80
80
|
"@babel/preset-env": "^7.20.2",
|
|
81
81
|
"@babel/preset-react": "^7.18.6",
|
|
82
82
|
"@babel/preset-typescript": "^7.18.6",
|
|
83
|
-
"@babel/runtime-corejs3": "^7.20.
|
|
83
|
+
"@babel/runtime-corejs3": "^7.20.13",
|
|
84
84
|
"@testing-library/jest-dom": "^5.16.5",
|
|
85
85
|
"@testing-library/react": "^13.4.0",
|
|
86
|
-
"@types/jest": "^29.
|
|
87
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
88
|
-
"@typescript-eslint/parser": "^5.
|
|
89
|
-
"jest": "^29.
|
|
90
|
-
"jest-environment-jsdom": "^29.
|
|
86
|
+
"@types/jest": "^29.4.0",
|
|
87
|
+
"@typescript-eslint/eslint-plugin": "^5.49.0",
|
|
88
|
+
"@typescript-eslint/parser": "^5.49.0",
|
|
89
|
+
"jest": "^29.4.0",
|
|
90
|
+
"jest-environment-jsdom": "^29.4.0",
|
|
91
91
|
"typescript": "^4.9.4"
|
|
92
92
|
}
|
|
93
93
|
}
|
package/src/OptionGroup.tsx
CHANGED
|
@@ -277,7 +277,7 @@ export function OptionGroup<
|
|
|
277
277
|
return (
|
|
278
278
|
<React.Fragment>
|
|
279
279
|
<FormControl component="fieldset" fullWidth={fullWidth} {...rest}>
|
|
280
|
-
{label && (
|
|
280
|
+
{label && variant !== "outlined" && (
|
|
281
281
|
<InputLabel required={required} variant={variant} shrink>
|
|
282
282
|
{label}
|
|
283
283
|
</InputLabel>
|