@etsoo/materialui 1.1.16 → 1.1.17

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.
@@ -99,6 +99,6 @@ export function OptionGroup(props) {
99
99
  borderRadius: theme.shape.borderRadius,
100
100
  width: fullWidth ? "100%" : "auto"
101
101
  } })),
102
- React.createElement(Box, { paddingLeft: 2, paddingY: "7px" }, group)),
102
+ React.createElement(Box, { paddingLeft: 2, paddingY: "7px", position: "absolute" }, group)),
103
103
  helperText && React.createElement(FormHelperText, null, helperText)));
104
104
  }
@@ -21,6 +21,12 @@ export interface UserMenuProps {
21
21
  */
22
22
  children(handleMenuClose: () => void): React.ReactNode;
23
23
  }
24
+ export interface UserMenuLocalProps extends Omit<UserMenuProps, "children"> {
25
+ /**
26
+ * Current screen size is down sm
27
+ */
28
+ smDown: boolean;
29
+ }
24
30
  /**
25
31
  * User menu
26
32
  * @param props Props
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/materialui",
3
- "version": "1.1.16",
3
+ "version": "1.1.17",
4
4
  "description": "TypeScript Material-UI Implementation",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -293,7 +293,7 @@ export function OptionGroup<
293
293
  }}
294
294
  />
295
295
  )}
296
- <Box paddingLeft={2} paddingY="7px">
296
+ <Box paddingLeft={2} paddingY="7px" position="absolute">
297
297
  {group}
298
298
  </Box>
299
299
  </FormControl>
@@ -28,6 +28,13 @@ export interface UserMenuProps {
28
28
  children(handleMenuClose: () => void): React.ReactNode;
29
29
  }
30
30
 
31
+ export interface UserMenuLocalProps extends Omit<UserMenuProps, "children"> {
32
+ /**
33
+ * Current screen size is down sm
34
+ */
35
+ smDown: boolean;
36
+ }
37
+
31
38
  /**
32
39
  * User menu
33
40
  * @param props Props