@abgov/react-components 6.10.0-dev.4 → 6.10.0-dev.5

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/index.mjs CHANGED
@@ -255,6 +255,9 @@ function GoabBlock(props) {
255
255
  gap: props.gap,
256
256
  direction: props.direction,
257
257
  alignment: props.alignment,
258
+ width: props.width,
259
+ "min-width": props.minWidth,
260
+ "max-width": props.maxWidth,
258
261
  mt: props.mt,
259
262
  mr: props.mr,
260
263
  mb: props.mb,
@@ -3373,6 +3376,8 @@ function GoALinkButton({ type = "primary", ...props }) {
3373
3376
  function GoabMenuButton({
3374
3377
  text,
3375
3378
  type = "primary",
3379
+ leadingIcon,
3380
+ maxWidth,
3376
3381
  testId,
3377
3382
  onAction,
3378
3383
  children
@@ -3395,7 +3400,7 @@ function GoabMenuButton({
3395
3400
  current.removeEventListener("_action", listener);
3396
3401
  };
3397
3402
  }, [el, onAction]);
3398
- return /* @__PURE__ */ jsx("goa-menu-button", { ref: el, text, type, testid: testId, children });
3403
+ return /* @__PURE__ */ jsx("goa-menu-button", { ref: el, text, type, testid: testId, "leading-icon": leadingIcon, "max-width": maxWidth, children });
3399
3404
  }
3400
3405
  function GoabMenuAction({ text, icon, action, testId }) {
3401
3406
  return /* @__PURE__ */ jsx("goa-menu-action", { text, action, icon, testid: testId });