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