@hexure/ui 1.13.77 → 1.13.79

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/cjs/index.js CHANGED
@@ -3541,8 +3541,8 @@ const ButtonMenu = ({ disabled, label, maxHeight, menuItems, small, position = '
3541
3541
  }
3542
3542
  }, [showMenu, position, menuWidth]);
3543
3543
  return (React.createElement(MenuWrapper, { "data-itemid": `${baseId}-menu-wrapper`, onClick: handleClick, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ref: menuWrapperRef },
3544
- React.createElement(Button, { "data-itemid": `${baseId}-button`, disabled: disabled, format: format, icon: js.mdiDotsHorizontal, small: small }, label),
3545
- showMenu && (React.createElement(StyledMoreMenu, { "$left": menuPosition.left, "$menuWidth": menuWidth, "$top": menuPosition.top, "data-itemid": `${baseId}-more-menu`, maxHeight: maxHeight, menuItems: menuItems }))));
3544
+ React.createElement(Button, { dataItemid: `${baseId}-button`, disabled: disabled, format: format, icon: js.mdiDotsHorizontal, small: small }, label),
3545
+ showMenu && (React.createElement(StyledMoreMenu, { "$left": menuPosition.left, "$menuWidth": menuWidth, "$top": menuPosition.top, dataItemid: `${baseId}-more-menu`, maxHeight: maxHeight, menuItems: menuItems }))));
3546
3546
  };
3547
3547
 
3548
3548
  const Wrapper$b = styled.label `
@@ -4319,7 +4319,8 @@ const FileUpload = ({ accept, onChange, disabled = false, onError, maxFiles = 10
4319
4319
  const fileId = `${baseId}-file-${index}`;
4320
4320
  return (React.createElement(File, { "data-itemid": `${fileId}-file`, key: file.name },
4321
4321
  React.createElement(Copy, { "data-itemid": `${fileId}-file-name`, type: 'bold' }, file.name),
4322
- React.createElement(Remove, { "data-itemid": `${fileId}-remove`, onClick: handleRemove.bind(null, file), path: js.mdiMinusCircle, title: 'Remove' })));
4322
+ React.createElement("div", { title: 'Remove' },
4323
+ React.createElement(Remove, { "data-itemid": `${fileId}-remove`, onClick: handleRemove.bind(null, file), path: js.mdiMinusCircle }))));
4323
4324
  }))) : null,
4324
4325
  allowMoreFiles ? (React.createElement(ClickZone, { "data-itemid": `${baseId}-click-zone`, onClick: triggerFileExplorer },
4325
4326
  files.length ? null : (React.createElement(IconWrapper$1, { "$dragging": dragging, "data-itemid": `${baseId}-icon-wrapper` },
@@ -5892,7 +5893,7 @@ const PageHeader = ({ title = '', breadcrumbs, actions, buttonMenu, tag, dataIte
5892
5893
  const actionId = `${baseId}-action-${i}`;
5893
5894
  return (React.createElement(Button, Object.assign({}, buttonProps, { "data-itemid": `${actionId}-button`, key: i, small: true }), label));
5894
5895
  }),
5895
- menuItems.length ? (React.createElement(ButtonMenu, { "data-itemid": `${baseId}-button-menu`, enableClick: enableClick, enableHover: enableHover, format: format, label: label, maxHeight: maxHeight, menuItems: menuItems, show: show, small: true })) : null)) : null));
5896
+ menuItems.length ? (React.createElement(ButtonMenu, { dataItemid: `${baseId}-button-menu`, enableClick: enableClick, enableHover: enableHover, format: format, label: label, maxHeight: maxHeight, menuItems: menuItems, show: show, small: true })) : null)) : null));
5896
5897
  };
5897
5898
 
5898
5899
  const Wrapper$3 = styled.nav `