@jobber/components 6.27.0 → 6.28.0

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.
@@ -38,7 +38,6 @@ interface PageFoundationProps {
38
38
  readonly primaryAction?: ButtonActionProps;
39
39
  /**
40
40
  * Page title secondary action button settings.
41
- * Only shown if there is a primaryAction.
42
41
  */
43
42
  readonly secondaryAction?: ButtonActionProps;
44
43
  /**
package/dist/Page-cjs.js CHANGED
@@ -22,7 +22,7 @@ function Page({ title, titleMetaData, intro, externalIntroLinks, subtitle, child
22
22
  [styles.large]: titleBarWidth > useResizeObserver.useResizeObserver.Breakpoints.base,
23
23
  });
24
24
  const showMenu = moreActionsMenu.length > 0;
25
- const showActionGroup = showMenu || primaryAction;
25
+ const showActionGroup = showMenu || primaryAction || secondaryAction;
26
26
  if (primaryAction != undefined) {
27
27
  primaryAction = Object.assign({ fullWidth: true }, primaryAction);
28
28
  }
package/dist/Page-es.js CHANGED
@@ -20,7 +20,7 @@ function Page({ title, titleMetaData, intro, externalIntroLinks, subtitle, child
20
20
  [styles.large]: titleBarWidth > useResizeObserver.Breakpoints.base,
21
21
  });
22
22
  const showMenu = moreActionsMenu.length > 0;
23
- const showActionGroup = showMenu || primaryAction;
23
+ const showActionGroup = showMenu || primaryAction || secondaryAction;
24
24
  if (primaryAction != undefined) {
25
25
  primaryAction = Object.assign({ fullWidth: true }, primaryAction);
26
26
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jobber/components",
3
- "version": "6.27.0",
3
+ "version": "6.28.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -490,5 +490,5 @@
490
490
  "> 1%",
491
491
  "IE 10"
492
492
  ],
493
- "gitHead": "6599f7dd9b1ee4507e27c053f0ad5764b94ea6cc"
493
+ "gitHead": "27d46e235ce983b4cbbf07db3b588188949e1515"
494
494
  }