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