@zydon/common 2.3.45 → 2.3.46

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.
@@ -4,8 +4,9 @@ import { IconButtonProps } from '@mui/material/IconButton';
4
4
 
5
5
  interface MoreMenuProps extends IconButtonProps {
6
6
  actions: ReactNode;
7
+ disablePortal?: boolean;
7
8
  }
8
9
 
9
- declare const MoreMenu: ({ actions, ...other }: MoreMenuProps) => react_jsx_runtime.JSX.Element;
10
+ declare const MoreMenu: ({ actions, disablePortal, ...other }: MoreMenuProps) => react_jsx_runtime.JSX.Element;
10
11
 
11
12
  export { MoreMenu as default };
@@ -2,10 +2,10 @@ import { a as a$2 } from '../../chunk-HOMGLSVS.js';
2
2
  import { a as a$1 } from '../../chunk-CCKFJ4VI.js';
3
3
  import '../../chunk-AXMFYXPA.js';
4
4
  import { a } from '../../chunk-ORYAES3Q.js';
5
- import c from '@mui/material/IconButton';
5
+ import l from '@mui/material/IconButton';
6
6
  import M from '@mui/material/Stack';
7
7
  import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
8
8
 
9
- var f=({actions:p,...m})=>{let{open:r,onClose:i,onOpen:u}=a();return jsxs(Fragment,{children:[jsx(c,{...m,color:r?"inherit":"default",onClick:u,children:jsx(a$1,{icon:"MORE_BOLD"})}),jsx(a$2,{open:r,onClose:i,arrow:"right-top",children:jsx(M,{component:"ul",gap:.5,minWidth:160,children:p})})]})},v=f;
9
+ var f=({actions:p,disablePortal:i,...m})=>{let{open:r,onClose:u,onOpen:c}=a();return jsxs(Fragment,{children:[jsx(l,{...m,color:r?"inherit":"default",onClick:c,children:jsx(a$1,{icon:"MORE_BOLD"})}),jsx(a$2,{open:r,onClose:u,arrow:"right-top",disablePortal:i,children:jsx(M,{component:"ul",gap:.5,minWidth:160,children:p})})]})},B=f;
10
10
 
11
- export { v as default };
11
+ export { B as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zydon/common",
3
- "version": "2.3.45",
3
+ "version": "2.3.46",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "module": "./dist/index.js",