@hexure/ui 1.13.78 → 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 +3 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
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, {
|
|
3543
|
-
showMenu && (React.createElement(StyledMoreMenu, { "$left": menuPosition.left, "$menuWidth": menuWidth, "$top": menuPosition.top,
|
|
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 `
|
|
@@ -5891,7 +5891,7 @@ const PageHeader = ({ title = '', breadcrumbs, actions, buttonMenu, tag, dataIte
|
|
|
5891
5891
|
const actionId = `${baseId}-action-${i}`;
|
|
5892
5892
|
return (React.createElement(Button, Object.assign({}, buttonProps, { "data-itemid": `${actionId}-button`, key: i, small: true }), label));
|
|
5893
5893
|
}),
|
|
5894
|
-
menuItems.length ? (React.createElement(ButtonMenu, {
|
|
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));
|
|
5895
5895
|
};
|
|
5896
5896
|
|
|
5897
5897
|
const Wrapper$3 = styled.nav `
|