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