@etsoo/materialui 1.3.17 → 1.3.18
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 +2 -2
- package/src/OptionGroup.tsx +5 -1
package/lib/OptionGroup.js
CHANGED
|
@@ -112,5 +112,5 @@ export function OptionGroup(props) {
|
|
|
112
112
|
}
|
|
113
113
|
} })),
|
|
114
114
|
React.createElement(Box, { paddingLeft: 2, paddingY: "7px", position: outlined ? "absolute" : undefined }, group)),
|
|
115
|
-
helperText && React.createElement(FormHelperText,
|
|
115
|
+
helperText && (React.createElement(FormHelperText, { sx: { marginLeft: 2, marginRight: 2 } }, helperText))));
|
|
116
116
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@etsoo/materialui",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.18",
|
|
4
4
|
"description": "TypeScript Material-UI Implementation",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"@babel/runtime-corejs3": "^7.22.15",
|
|
85
85
|
"@testing-library/jest-dom": "^6.1.3",
|
|
86
86
|
"@testing-library/react": "^14.0.0",
|
|
87
|
-
"@types/jest": "^29.5.
|
|
87
|
+
"@types/jest": "^29.5.5",
|
|
88
88
|
"@typescript-eslint/eslint-plugin": "^6.7.0",
|
|
89
89
|
"@typescript-eslint/parser": "^6.7.0",
|
|
90
90
|
"jest": "^29.7.0",
|
package/src/OptionGroup.tsx
CHANGED
|
@@ -320,7 +320,11 @@ export function OptionGroup<
|
|
|
320
320
|
{group}
|
|
321
321
|
</Box>
|
|
322
322
|
</FormControl>
|
|
323
|
-
{helperText &&
|
|
323
|
+
{helperText && (
|
|
324
|
+
<FormHelperText sx={{ marginLeft: 2, marginRight: 2 }}>
|
|
325
|
+
{helperText}
|
|
326
|
+
</FormHelperText>
|
|
327
|
+
)}
|
|
324
328
|
</React.Fragment>
|
|
325
329
|
);
|
|
326
330
|
}
|