@bitrise/bitkit 10.1.0-alpha-breadcrumb.2 → 10.2.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
|
@@ -27,7 +27,7 @@ const Breadcrumb = forwardRef<BreadcrumbProps, 'nav'>((props, ref) => {
|
|
|
27
27
|
const items = Children.map(children, (child, index) => {
|
|
28
28
|
return (
|
|
29
29
|
<BreadcrumbItem>
|
|
30
|
-
{hasSeparatorBeforeFirst && index === 0 && <BreadcrumbSeparator />}
|
|
30
|
+
{hasSeparatorBeforeFirst && index === 0 && <BreadcrumbSeparator marginLeft="0" />}
|
|
31
31
|
{child}
|
|
32
32
|
{hasSeparatorAfterLast && index === childrenCount - 1 && <BreadcrumbSeparator />}
|
|
33
33
|
</BreadcrumbItem>
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { TypeIconName } from '../Icon/tsx';
|
|
3
3
|
import Flex, { Props as FlexProps } from '../Flex/Flex';
|
|
4
|
-
import Hamburger from '../Hamburger/Hamburger';
|
|
5
4
|
import Icon from '../Icon/Icon';
|
|
6
5
|
import Link from '../Link/Link';
|
|
7
6
|
import Image from '../Image/Image';
|
|
@@ -59,7 +58,7 @@ const AddonBeam: React.FunctionComponent<Props> = (props: Props) => {
|
|
|
59
58
|
<Flex>
|
|
60
59
|
{/* eslint-disable-next-line jsx-a11y/anchor-is-valid */}
|
|
61
60
|
<Link color="neutral.100" onClick={onHamburgerIconClick}>
|
|
62
|
-
<
|
|
61
|
+
<Icon name={isHamburgerIconActive ? 'CloseSmall' : 'MenuHamburger'} />
|
|
63
62
|
</Link>
|
|
64
63
|
</Flex>
|
|
65
64
|
)}
|
package/src/old.ts
CHANGED
|
@@ -72,9 +72,6 @@ export { default as Flex } from './Old/Flex/Flex';
|
|
|
72
72
|
export type { Props as GridProps } from './Old/Grid/Grid';
|
|
73
73
|
export { default as Grid } from './Old/Grid/Grid';
|
|
74
74
|
|
|
75
|
-
export type { Props as HamburgerProps } from './Old/Hamburger/Hamburger';
|
|
76
|
-
export { default as Hamburger } from './Old/Hamburger/Hamburger';
|
|
77
|
-
|
|
78
75
|
export type { Props as InputProps } from './Old/Input/Input';
|
|
79
76
|
export { default as Input } from './Old/Input/Input';
|
|
80
77
|
|