@bitrise/bitkit 9.8.1-alpha-chakra.2 → 9.8.2

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": "9.8.1-alpha-chakra.2",
4
+ "version": "9.8.2",
5
5
  "repository": "git@github.com:bitrise-io/bitkit.git",
6
6
  "main": "src/index.ts",
7
7
  "license": "UNLICENSED",
@@ -3,12 +3,12 @@ import { MenuButton, MenuList, MenuListProps } from '@chakra-ui/react';
3
3
  import IconButton from '../IconButton/IconButton';
4
4
  import Menu from '../Menu/Menu';
5
5
 
6
- export interface Props {
6
+ export interface OverflowMenuProps {
7
7
  children: MenuListProps['children'];
8
8
  triggerLabel?: string;
9
9
  }
10
10
 
11
- const OverflowMenu = ({ children, triggerLabel }: Props) => {
11
+ const OverflowMenu = ({ children, triggerLabel }: OverflowMenuProps) => {
12
12
  return (
13
13
  <Menu isLazy>
14
14
  <MenuButton aria-label={triggerLabel} as={IconButton} iconName="MoreVertical" size="small" variant="tertiary" />
@@ -1,11 +1,11 @@
1
1
  import React from 'react';
2
2
  import MenuItem, { Props as MenuItemProps } from '../Menu/MenuItem';
3
3
 
4
- export interface Props extends MenuItemProps {
4
+ export interface OverflowMenuItemProps extends MenuItemProps {
5
5
  children: MenuItemProps['children'];
6
6
  }
7
7
 
8
- const OverflowMenuItem = (props: Props) => {
8
+ const OverflowMenuItem = (props: OverflowMenuItemProps) => {
9
9
  return <MenuItem {...props} />;
10
10
  };
11
11
 
package/src/index.ts CHANGED
@@ -79,9 +79,6 @@ export { default as DatePicker } from './Old/DatePicker/DatePicker';
79
79
  export type { Props as DotProps } from './Old/Dot/Dot';
80
80
  export { default as Dot } from './Old/Dot/Dot';
81
81
 
82
- export type { Props as DividerProps } from './Old/Divider/Divider';
83
- export { default as Divider } from './Old/Divider/Divider';
84
-
85
82
  export type { Props as DropdownProps } from './Old/Dropdown/Dropdown';
86
83
  export { default as Dropdown } from './Old/Dropdown/Dropdown';
87
84
 
@@ -289,8 +286,11 @@ export { default as VisibilityContainer } from './Old/Visibility/VisibilityConta
289
286
  export { default as Provider } from './Components/Provider/Provider';
290
287
  export { default as theme } from './theme';
291
288
 
292
- export type { Props as OverflowMenuProps } from './Components/OverflowMenu/OverflowMenu';
289
+ export type { OverflowMenuProps } from './Components/OverflowMenu/OverflowMenu';
293
290
  export { default as OverflowMenu } from './Components/OverflowMenu/OverflowMenu';
294
291
 
295
- export type { Props as OverflowMenuItemProps } from './Components/OverflowMenu/OverflowMenuItem';
292
+ export type { OverflowMenuItemProps } from './Components/OverflowMenu/OverflowMenuItem';
296
293
  export { default as OverflowMenuItem } from './Components/OverflowMenu/OverflowMenuItem';
294
+
295
+ export type { DividerProps } from './Components/Divider/Divider';
296
+ export { default as Divider } from './Components/Divider/Divider';