@cyber-harbour/ui 1.0.33 → 1.0.34

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/dist/index.mjs CHANGED
@@ -541,7 +541,7 @@ import N1,{createGlobalStyle,css,styled,StyleSheetManager,ThemeProvider,useTheme
541
541
  cursor: not-allowed;
542
542
  }
543
543
  `}}
544
- `;var S7=t(({size:o="small",disabled:e,className:i,positions:s=["bottom"],align:a="end",items:l})=>{let b=useRef(null),{isOpen:g,closeMenu:m,toggleMenu:d}=de(),C=useTheme();return jsx(Popover,{padding:C.contextMenu.padding,isOpen:g,positions:s,align:a,onClickOutside:m,content:jsx(wr,{children:l.map(({label:I,onClick:y,color:w},F)=>jsx(Go,{variant:"empty",color:w,fullWidth:true,size:o,onClick:()=>{y(),m();},children:I},`row-action-${F}`))}),containerStyle:{backgroundColor:C.colors.background,border:`1px solid ${C.colors.stroke.light}`,boxShadow:"0px 0px 10px 0px rgba(0, 0, 0, 0.25)",borderRadius:"5px",zIndex:"9999"},children:jsx(vr,{ref:b,onClick:d,$disabled:e,$size:o,className:i,type:"button",disabled:e,children:jsx(eo,{width:C.rowActionsMenu.icon.size,height:C.rowActionsMenu.icon.size})})})},"RowActionsMenu"),vr=styled.button`
544
+ `;var S7=t(({size:o="small",disabled:e,className:i,positions:s=["bottom"],align:a="end",items:l})=>{let b=useRef(null),{isOpen:g,closeMenu:m,toggleMenu:d}=de(),C=useTheme();return jsx(Popover,{padding:C.contextMenu.padding,isOpen:g,positions:s,align:a,onClickOutside:m,content:jsx(wr,{children:l.map(({label:I,onClick:y,color:w},F)=>jsx(Go,{variant:"empty",color:w,fullWidth:true,size:o,py:10,px:5,onClick:()=>{y(),m();},children:I},`row-action-${F}`))}),containerStyle:{backgroundColor:C.colors.background,border:`1px solid ${C.colors.stroke.light}`,boxShadow:"0px 0px 10px 0px rgba(0, 0, 0, 0.25)",borderRadius:"5px",zIndex:"9999"},children:jsx(vr,{ref:b,onClick:d,$disabled:e,$size:o,className:i,type:"button",disabled:e,children:jsx(eo,{width:C.rowActionsMenu.icon.size,height:C.rowActionsMenu.icon.size})})})},"RowActionsMenu"),vr=styled.button`
545
545
  ${({$size:o,$disabled:e,theme:i})=>{let s=O(i,o);return `
546
546
  background: ${i.rowActionsMenu.button.default.background};
547
547
  color: ${i.rowActionsMenu.button.default.text};