@hexure/ui 1.13.78 → 1.13.80

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 `
@@ -5327,9 +5327,6 @@ const Input$1 = (_a) => {
5327
5327
  if (format === 'ssn') {
5328
5328
  e.target.value = newValue.replace(/[^0-9]/g, '').substring(0, 9);
5329
5329
  }
5330
- if (type === 'email') {
5331
- e.target.value = newValue.toLowerCase();
5332
- }
5333
5330
  if (type === 'number' && max && parseInt(newValue, 10) > parseInt(max, 10)) {
5334
5331
  e.target.value = `${max}`;
5335
5332
  }
@@ -5891,7 +5888,7 @@ const PageHeader = ({ title = '', breadcrumbs, actions, buttonMenu, tag, dataIte
5891
5888
  const actionId = `${baseId}-action-${i}`;
5892
5889
  return (React.createElement(Button, Object.assign({}, buttonProps, { "data-itemid": `${actionId}-button`, key: i, small: true }), label));
5893
5890
  }),
5894
- 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));
5891
+ 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));
5895
5892
  };
5896
5893
 
5897
5894
  const Wrapper$3 = styled.nav `