@bitrise/bitkit 13.155.0 → 13.157.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.155.0",
4
+ "version": "13.157.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+ssh://git@github.com/bitrise-io/bitkit.git"
@@ -1,13 +1,13 @@
1
1
  import { Fragment } from 'react';
2
2
  import { Portal } from '@chakra-ui/react';
3
- import IconButton, { IconButtonProps } from '../IconButton/IconButton';
3
+ import ControlButton, { ControlButtonProps } from '../ControlButton/ControlButton';
4
4
  import Menu, { MenuProps } from '../Menu/Menu';
5
5
  import MenuButton from '../Menu/MenuButton';
6
6
  import MenuList, { MenuListProps } from '../Menu/MenuList';
7
7
 
8
8
  export interface OverflowMenuProps extends MenuProps {
9
9
  children: MenuListProps['children'];
10
- buttonSize?: IconButtonProps['size'];
10
+ buttonSize?: ControlButtonProps['size'];
11
11
  triggerLabel?: string;
12
12
  withPortal?: boolean;
13
13
  }
@@ -18,11 +18,10 @@ const OverflowMenu = ({ buttonSize = 'sm', children, triggerLabel = 'Open menu',
18
18
  <Menu isLazy>
19
19
  <MenuButton
20
20
  aria-label={triggerLabel}
21
- as={IconButton}
21
+ as={ControlButton}
22
22
  iconName="MoreVertical"
23
23
  isTooltipDisabled
24
24
  size={buttonSize}
25
- variant="tertiary"
26
25
  />
27
26
  <Wrapper>
28
27
  <MenuList>{children}</MenuList>
@@ -29,7 +29,7 @@ const baseStyle = definePartsStyle({
29
29
  footer: {
30
30
  gridArea: 'footer',
31
31
  borderTop: '1px solid',
32
- borderColor: 'border/regular',
32
+ borderColor: 'border/minimal',
33
33
  paddingX: '24',
34
34
  paddingBottom: '8',
35
35
  paddingTop: '6',