@hexure/ui 1.8.6 → 1.8.7

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
@@ -3811,7 +3811,7 @@ const Actions = styled.div `
3811
3811
  gap: 8px;
3812
3812
  `;
3813
3813
  const PageHeader = ({ title = '', breadcrumbs, actions, buttonMenu }) => {
3814
- const { menuItems = [], label = '', } = buttonMenu || {};
3814
+ const { format = 'primary', menuItems = [], label = '', } = buttonMenu || {};
3815
3815
  return (React.createElement(Wrapper$5, null,
3816
3816
  React.createElement(Info, null,
3817
3817
  React.createElement(Heading, { type: 'secondary' }, title),
@@ -3825,7 +3825,7 @@ const PageHeader = ({ title = '', breadcrumbs, actions, buttonMenu }) => {
3825
3825
  const { label } = action, buttonProps = __rest(action, ["label"]);
3826
3826
  return (React.createElement(Button, Object.assign({}, buttonProps, { key: i, small: true }), label));
3827
3827
  }),
3828
- menuItems.length ? (React.createElement(ButtonMenu, { label: label, menuItems: menuItems, small: true })) : null)) : null));
3828
+ menuItems.length ? (React.createElement(ButtonMenu, { format: format, label: label, menuItems: menuItems, small: true })) : null)) : null));
3829
3829
  };
3830
3830
 
3831
3831
  const Wrapper$4 = styled.nav `