@bitrise/bitkit 13.199.0 → 13.200.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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bitrise/bitkit",
3
3
  "description": "Bitrise React component library",
4
- "version": "13.199.0",
4
+ "version": "13.200.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+ssh://git@github.com/bitrise-io/bitkit.git"
@@ -7,12 +7,14 @@ import MenuList, { MenuListProps } from '../Menu/MenuList';
7
7
 
8
8
  export interface OverflowMenuProps extends MenuProps {
9
9
  children: MenuListProps['children'];
10
+ buttonProps?: ControlButtonProps;
10
11
  buttonSize?: ControlButtonProps['size'];
11
12
  triggerLabel?: string;
12
13
  withPortal?: boolean;
13
14
  }
14
15
 
15
16
  const OverflowMenu = ({
17
+ buttonProps,
16
18
  buttonSize = 'sm',
17
19
  children,
18
20
  triggerLabel = 'Open menu',
@@ -29,6 +31,7 @@ const OverflowMenu = ({
29
31
  iconName="MoreVertical"
30
32
  isTooltipDisabled
31
33
  size={buttonSize}
34
+ {...buttonProps}
32
35
  />
33
36
  <Wrapper>
34
37
  <MenuList>{children}</MenuList>