@primer/components 0.0.0-202182817223 → 0.0.0-2021828175320

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.
@@ -1,8 +1,12 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
+ import { SystemCommonProps } from './constants';
2
3
  import { SxProp } from './sx';
4
+ import { ComponentProps } from './utils/types';
5
+ declare const AvatarStackWrapper: import("styled-components").StyledComponent<"span", any, {
6
+ count?: number | undefined;
7
+ } & SystemCommonProps & SxProp, never>;
3
8
  export declare type AvatarStackProps = {
4
9
  alignRight?: boolean;
5
- children: React.ReactNode;
6
- } & SxProp;
7
- declare const AvatarStack: ({ children, alignRight, sx: sxProp }: AvatarStackProps) => JSX.Element;
10
+ } & ComponentProps<typeof AvatarStackWrapper>;
11
+ declare const AvatarStack: ({ children, alignRight, ...rest }: AvatarStackProps) => JSX.Element;
8
12
  export default AvatarStack;
@@ -19,10 +19,12 @@ var _sx = _interopRequireDefault(require("./sx"));
19
19
 
20
20
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
21
21
 
22
+ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
23
+
22
24
  const AvatarStackWrapper = _styledComponents.default.span.withConfig({
23
25
  displayName: "AvatarStack__AvatarStackWrapper",
24
26
  componentId: "sc-1qgzd2v-0"
25
- })(["display:flex;position:relative;height:20px;min-width:", ";.pc-AvatarItem{flex-shrink:0;height:20px;width:20px;box-shadow:0 0 0 1px ", ";margin-left:-11px;position:relative;overflow:hidden;transition:margin 0.2s ease-in-out,opacity 0.2s ease-in-out,visibility 0.2s ease-in-out,box-shadow 0.1s ease-in-out;&:first-child{margin-left:0;}&:nth-child(n + 4){display:none;}}&.pc-AvatarStack--two{min-width:30px;.pc-AvatarItem{&:nth-child(n + 3){display:none;}}}&.pc-AvatarStack--three-plus{min-width:38px;.pc-AvatarItem{&:nth-child(3){opacity:", "%;margin-left:-17px;}&:nth-child(4){opacity:", "%;margin-left:-17px;}&:nth-child(5){opacity:", "%;margin-left:-17px;}&:nth-child(n + 4){display:block;}&:nth-child(n + 6){opacity:0;visibility:hidden;}}}&.pc-AvatarStack--right{justify-content:flex-end;.pc-AvatarItem{margin-left:0 !important;margin-right:-11px;&:first-child{margin-right:0;}}.pc-AvatarStackBody{flex-direction:row-reverse;&:hover{.pc-AvatarItem{margin-right:", "!important;margin-left:0 !important;&:first-child{margin-right:0 !important;}}}}}&.pc-AvatarStack--three-plus.pc-AvatarStack--right{.pc-AvatarItem{&:nth-child(3){margin-right:-17px;}&:nth-child(4){margin-right:-17px;}&:nth-child(5){margin-right:-17px;}}}.pc-AvatarStackBody:hover{width:auto;.pc-AvatarItem{margin-left:", ";opacity:100%;visibility:visible;box-shadow:0 0 0 4px ", ";&:first-child{margin-left:0;}}}", ";"], props => props.count === 1 ? '20px' : props.count === 2 ? '30px' : '38px', (0, _constants.get)('colors.canvas.default'), 100 - 3 * 15, 100 - 4 * 15, 100 - 5 * 15, (0, _constants.get)('space.1'), (0, _constants.get)('space.1'), (0, _constants.get)('colors.canvas.default'), _sx.default);
27
+ })(["display:flex;position:relative;height:20px;min-width:", ";.pc-AvatarItem{flex-shrink:0;height:20px;width:20px;box-shadow:0 0 0 1px ", ";margin-left:-11px;position:relative;overflow:hidden;transition:margin 0.2s ease-in-out,opacity 0.2s ease-in-out,visibility 0.2s ease-in-out,box-shadow 0.1s ease-in-out;&:first-child{margin-left:0;}&:nth-child(n + 4){display:none;}}&.pc-AvatarStack--two{min-width:30px;.pc-AvatarItem{&:nth-child(n + 3){display:none;}}}&.pc-AvatarStack--three-plus{min-width:38px;.pc-AvatarItem{&:nth-child(3){opacity:", "%;margin-left:-17px;}&:nth-child(4){opacity:", "%;margin-left:-17px;}&:nth-child(5){opacity:", "%;margin-left:-17px;}&:nth-child(n + 4){display:block;}&:nth-child(n + 6){opacity:0;visibility:hidden;}}}&.pc-AvatarStack--right{justify-content:flex-end;.pc-AvatarItem{margin-left:0 !important;margin-right:-11px;&:first-child{margin-right:0;}}.pc-AvatarStackBody{flex-direction:row-reverse;&:hover{.pc-AvatarItem{margin-right:", "!important;margin-left:0 !important;&:first-child{margin-right:0 !important;}}}}}&.pc-AvatarStack--three-plus.pc-AvatarStack--right{.pc-AvatarItem{&:nth-child(3){margin-right:-17px;}&:nth-child(4){margin-right:-17px;}&:nth-child(5){margin-right:-17px;}}}.pc-AvatarStackBody:hover{width:auto;.pc-AvatarItem{margin-left:", ";opacity:100%;visibility:visible;box-shadow:0 0 0 4px ", ";&:first-child{margin-left:0;}}}", " ", ";"], props => props.count === 1 ? '20px' : props.count === 2 ? '30px' : '38px', (0, _constants.get)('colors.canvas.default'), 100 - 3 * 15, 100 - 4 * 15, 100 - 5 * 15, (0, _constants.get)('space.1'), (0, _constants.get)('space.1'), (0, _constants.get)('colors.canvas.default'), _constants.COMMON, _sx.default);
26
28
 
27
29
  const transformChildren = children => {
28
30
  return _react.default.Children.map(children, (child, index) => {
@@ -40,7 +42,7 @@ const transformChildren = children => {
40
42
  const AvatarStack = ({
41
43
  children,
42
44
  alignRight,
43
- sx: sxProp
45
+ ...rest
44
46
  }) => {
45
47
  const count = _react.default.Children.count(children);
46
48
 
@@ -49,11 +51,10 @@ const AvatarStack = ({
49
51
  'pc-AvatarStack--three-plus': count > 2,
50
52
  'pc-AvatarStack--right': alignRight
51
53
  });
52
- return /*#__PURE__*/_react.default.createElement(AvatarStackWrapper, {
54
+ return /*#__PURE__*/_react.default.createElement(AvatarStackWrapper, _extends({
53
55
  count: count,
54
- className: wrapperClassNames,
55
- sx: sxProp
56
- }, /*#__PURE__*/_react.default.createElement(_.Box, {
56
+ className: wrapperClassNames
57
+ }, rest), /*#__PURE__*/_react.default.createElement(_.Box, {
57
58
  position: "absolute",
58
59
  display: "flex",
59
60
  width: "38px",
@@ -1,24 +1,25 @@
1
1
  import * as History from 'history';
2
2
  import React from 'react';
3
- import { SystemCommonProps, SystemFlexProps } from './constants';
4
3
  import { SxProp } from './sx';
5
4
  import { ComponentProps } from './utils/types';
6
- declare const BreadcrumbsBase: import("styled-components").StyledComponent<"nav", any, SystemFlexProps & SystemCommonProps & SxProp, never>;
7
- export declare type BreadcrumbsProps = ComponentProps<typeof BreadcrumbsBase>;
8
- declare function Breadcrumbs({ className, children, theme, ...rest }: React.PropsWithChildren<BreadcrumbsProps>): JSX.Element;
5
+ declare const BreadcrumbsBase: import("styled-components").StyledComponent<"nav", any, SxProp, never>;
6
+ export declare type BreadcrumbsProps = React.PropsWithChildren<{
7
+ className?: string;
8
+ } & SxProp>;
9
+ declare function Breadcrumbs({ className, children, sx: sxProp }: React.PropsWithChildren<BreadcrumbsProps>): JSX.Element;
9
10
  declare namespace Breadcrumbs {
10
11
  var displayName: string;
11
12
  }
12
13
  declare const BreadcrumbsItem: import("styled-components").StyledComponent<"a", any, {
13
14
  to?: History.LocationDescriptor<unknown> | undefined;
14
15
  selected?: boolean | undefined;
15
- } & SystemCommonProps & SxProp, never>;
16
+ } & SxProp, never>;
16
17
  export declare type BreadcrumbsItemProps = ComponentProps<typeof BreadcrumbsItem>;
17
18
  declare const _default: typeof Breadcrumbs & {
18
19
  Item: import("styled-components").StyledComponent<"a", any, {
19
20
  to?: History.LocationDescriptor<unknown> | undefined;
20
21
  selected?: boolean | undefined;
21
- } & SystemCommonProps & SxProp, never>;
22
+ } & SxProp, never>;
22
23
  };
23
24
  export default _default;
24
25
  /**
@@ -28,7 +29,7 @@ export declare const Breadcrumb: typeof Breadcrumbs & {
28
29
  Item: import("styled-components").StyledComponent<"a", any, {
29
30
  to?: History.LocationDescriptor<unknown> | undefined;
30
31
  selected?: boolean | undefined;
31
- } & SystemCommonProps & SxProp, never>;
32
+ } & SxProp, never>;
32
33
  };
33
34
  /**
34
35
  * @deprecated Use the `BreadcrumbsProps` type instead
@@ -19,8 +19,6 @@ var _sx = _interopRequireDefault(require("./sx"));
19
19
 
20
20
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
21
21
 
22
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
23
-
24
22
  const SELECTED_CLASS = 'selected';
25
23
 
26
24
  const Wrapper = _styledComponents.default.li.withConfig({
@@ -31,23 +29,20 @@ const Wrapper = _styledComponents.default.li.withConfig({
31
29
  const BreadcrumbsBase = _styledComponents.default.nav.withConfig({
32
30
  displayName: "Breadcrumbs__BreadcrumbsBase",
33
31
  componentId: "hwwoo0-1"
34
- })(["display:flex;justify-content:space-between;", ";", ";", ";"], _constants.COMMON, _constants.FLEX, _sx.default);
32
+ })(["display:flex;justify-content:space-between;", ";"], _sx.default);
35
33
 
36
34
  function Breadcrumbs({
37
35
  className,
38
36
  children,
39
- theme,
40
- ...rest
37
+ sx: sxProp
41
38
  }) {
42
- const wrappedChildren = _react.default.Children.map(children, child => /*#__PURE__*/_react.default.createElement(Wrapper, {
43
- theme: theme
44
- }, child));
39
+ const wrappedChildren = _react.default.Children.map(children, child => /*#__PURE__*/_react.default.createElement(Wrapper, null, child));
45
40
 
46
- return /*#__PURE__*/_react.default.createElement(BreadcrumbsBase, _extends({
41
+ return /*#__PURE__*/_react.default.createElement(BreadcrumbsBase, {
47
42
  className: className,
48
43
  "aria-label": "Breadcrumbs",
49
- theme: theme
50
- }, rest), /*#__PURE__*/_react.default.createElement(_Box.default, {
44
+ sx: sxProp
45
+ }, /*#__PURE__*/_react.default.createElement(_Box.default, {
51
46
  as: "ol",
52
47
  my: 0,
53
48
  pl: 0
@@ -63,7 +58,7 @@ const BreadcrumbsItem = _styledComponents.default.a.attrs(props => ({
63
58
  })).withConfig({
64
59
  displayName: "Breadcrumbs__BreadcrumbsItem",
65
60
  componentId: "hwwoo0-2"
66
- })(["color:", ";display:inline-block;font-size:", ";text-decoration:none;&:hover{text-decoration:underline;}&.selected{color:", ";pointer-events:none;}", " ", ";"], (0, _constants.get)('colors.accent.fg'), (0, _constants.get)('fontSizes.1'), (0, _constants.get)('colors.fg.default'), _constants.COMMON, _sx.default);
61
+ })(["color:", ";display:inline-block;font-size:", ";text-decoration:none;&:hover{text-decoration:underline;}&.selected{color:", ";pointer-events:none;}", ";"], (0, _constants.get)('colors.accent.fg'), (0, _constants.get)('fontSizes.1'), (0, _constants.get)('colors.fg.default'), _sx.default);
67
62
 
68
63
  Breadcrumbs.displayName = 'Breadcrumbs';
69
64
  BreadcrumbsItem.displayName = 'Breadcrumbs.Item';
@@ -1,8 +1,12 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
+ import { SystemCommonProps } from './constants';
2
3
  import { SxProp } from './sx';
4
+ import { ComponentProps } from './utils/types';
5
+ declare const AvatarStackWrapper: import("styled-components").StyledComponent<"span", any, {
6
+ count?: number | undefined;
7
+ } & SystemCommonProps & SxProp, never>;
3
8
  export declare type AvatarStackProps = {
4
9
  alignRight?: boolean;
5
- children: React.ReactNode;
6
- } & SxProp;
7
- declare const AvatarStack: ({ children, alignRight, sx: sxProp }: AvatarStackProps) => JSX.Element;
10
+ } & ComponentProps<typeof AvatarStackWrapper>;
11
+ declare const AvatarStack: ({ children, alignRight, ...rest }: AvatarStackProps) => JSX.Element;
8
12
  export default AvatarStack;
@@ -1,13 +1,15 @@
1
+ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
+
1
3
  import classnames from 'classnames';
2
4
  import React from 'react';
3
5
  import styled from 'styled-components';
4
- import { get } from './constants';
6
+ import { COMMON, get } from './constants';
5
7
  import { Box } from '.';
6
8
  import sx from './sx';
7
9
  const AvatarStackWrapper = styled.span.withConfig({
8
10
  displayName: "AvatarStack__AvatarStackWrapper",
9
11
  componentId: "sc-1qgzd2v-0"
10
- })(["display:flex;position:relative;height:20px;min-width:", ";.pc-AvatarItem{flex-shrink:0;height:20px;width:20px;box-shadow:0 0 0 1px ", ";margin-left:-11px;position:relative;overflow:hidden;transition:margin 0.2s ease-in-out,opacity 0.2s ease-in-out,visibility 0.2s ease-in-out,box-shadow 0.1s ease-in-out;&:first-child{margin-left:0;}&:nth-child(n + 4){display:none;}}&.pc-AvatarStack--two{min-width:30px;.pc-AvatarItem{&:nth-child(n + 3){display:none;}}}&.pc-AvatarStack--three-plus{min-width:38px;.pc-AvatarItem{&:nth-child(3){opacity:", "%;margin-left:-17px;}&:nth-child(4){opacity:", "%;margin-left:-17px;}&:nth-child(5){opacity:", "%;margin-left:-17px;}&:nth-child(n + 4){display:block;}&:nth-child(n + 6){opacity:0;visibility:hidden;}}}&.pc-AvatarStack--right{justify-content:flex-end;.pc-AvatarItem{margin-left:0 !important;margin-right:-11px;&:first-child{margin-right:0;}}.pc-AvatarStackBody{flex-direction:row-reverse;&:hover{.pc-AvatarItem{margin-right:", "!important;margin-left:0 !important;&:first-child{margin-right:0 !important;}}}}}&.pc-AvatarStack--three-plus.pc-AvatarStack--right{.pc-AvatarItem{&:nth-child(3){margin-right:-17px;}&:nth-child(4){margin-right:-17px;}&:nth-child(5){margin-right:-17px;}}}.pc-AvatarStackBody:hover{width:auto;.pc-AvatarItem{margin-left:", ";opacity:100%;visibility:visible;box-shadow:0 0 0 4px ", ";&:first-child{margin-left:0;}}}", ";"], props => props.count === 1 ? '20px' : props.count === 2 ? '30px' : '38px', get('colors.canvas.default'), 100 - 3 * 15, 100 - 4 * 15, 100 - 5 * 15, get('space.1'), get('space.1'), get('colors.canvas.default'), sx);
12
+ })(["display:flex;position:relative;height:20px;min-width:", ";.pc-AvatarItem{flex-shrink:0;height:20px;width:20px;box-shadow:0 0 0 1px ", ";margin-left:-11px;position:relative;overflow:hidden;transition:margin 0.2s ease-in-out,opacity 0.2s ease-in-out,visibility 0.2s ease-in-out,box-shadow 0.1s ease-in-out;&:first-child{margin-left:0;}&:nth-child(n + 4){display:none;}}&.pc-AvatarStack--two{min-width:30px;.pc-AvatarItem{&:nth-child(n + 3){display:none;}}}&.pc-AvatarStack--three-plus{min-width:38px;.pc-AvatarItem{&:nth-child(3){opacity:", "%;margin-left:-17px;}&:nth-child(4){opacity:", "%;margin-left:-17px;}&:nth-child(5){opacity:", "%;margin-left:-17px;}&:nth-child(n + 4){display:block;}&:nth-child(n + 6){opacity:0;visibility:hidden;}}}&.pc-AvatarStack--right{justify-content:flex-end;.pc-AvatarItem{margin-left:0 !important;margin-right:-11px;&:first-child{margin-right:0;}}.pc-AvatarStackBody{flex-direction:row-reverse;&:hover{.pc-AvatarItem{margin-right:", "!important;margin-left:0 !important;&:first-child{margin-right:0 !important;}}}}}&.pc-AvatarStack--three-plus.pc-AvatarStack--right{.pc-AvatarItem{&:nth-child(3){margin-right:-17px;}&:nth-child(4){margin-right:-17px;}&:nth-child(5){margin-right:-17px;}}}.pc-AvatarStackBody:hover{width:auto;.pc-AvatarItem{margin-left:", ";opacity:100%;visibility:visible;box-shadow:0 0 0 4px ", ";&:first-child{margin-left:0;}}}", " ", ";"], props => props.count === 1 ? '20px' : props.count === 2 ? '30px' : '38px', get('colors.canvas.default'), 100 - 3 * 15, 100 - 4 * 15, 100 - 5 * 15, get('space.1'), get('space.1'), get('colors.canvas.default'), COMMON, sx);
11
13
 
12
14
  const transformChildren = children => {
13
15
  return React.Children.map(children, (child, index) => {
@@ -25,7 +27,7 @@ const transformChildren = children => {
25
27
  const AvatarStack = ({
26
28
  children,
27
29
  alignRight,
28
- sx: sxProp
30
+ ...rest
29
31
  }) => {
30
32
  const count = React.Children.count(children);
31
33
  const wrapperClassNames = classnames({
@@ -33,11 +35,10 @@ const AvatarStack = ({
33
35
  'pc-AvatarStack--three-plus': count > 2,
34
36
  'pc-AvatarStack--right': alignRight
35
37
  });
36
- return /*#__PURE__*/React.createElement(AvatarStackWrapper, {
38
+ return /*#__PURE__*/React.createElement(AvatarStackWrapper, _extends({
37
39
  count: count,
38
- className: wrapperClassNames,
39
- sx: sxProp
40
- }, /*#__PURE__*/React.createElement(Box, {
40
+ className: wrapperClassNames
41
+ }, rest), /*#__PURE__*/React.createElement(Box, {
41
42
  position: "absolute",
42
43
  display: "flex",
43
44
  width: "38px",
@@ -1,24 +1,25 @@
1
1
  import * as History from 'history';
2
2
  import React from 'react';
3
- import { SystemCommonProps, SystemFlexProps } from './constants';
4
3
  import { SxProp } from './sx';
5
4
  import { ComponentProps } from './utils/types';
6
- declare const BreadcrumbsBase: import("styled-components").StyledComponent<"nav", any, SystemFlexProps & SystemCommonProps & SxProp, never>;
7
- export declare type BreadcrumbsProps = ComponentProps<typeof BreadcrumbsBase>;
8
- declare function Breadcrumbs({ className, children, theme, ...rest }: React.PropsWithChildren<BreadcrumbsProps>): JSX.Element;
5
+ declare const BreadcrumbsBase: import("styled-components").StyledComponent<"nav", any, SxProp, never>;
6
+ export declare type BreadcrumbsProps = React.PropsWithChildren<{
7
+ className?: string;
8
+ } & SxProp>;
9
+ declare function Breadcrumbs({ className, children, sx: sxProp }: React.PropsWithChildren<BreadcrumbsProps>): JSX.Element;
9
10
  declare namespace Breadcrumbs {
10
11
  var displayName: string;
11
12
  }
12
13
  declare const BreadcrumbsItem: import("styled-components").StyledComponent<"a", any, {
13
14
  to?: History.LocationDescriptor<unknown> | undefined;
14
15
  selected?: boolean | undefined;
15
- } & SystemCommonProps & SxProp, never>;
16
+ } & SxProp, never>;
16
17
  export declare type BreadcrumbsItemProps = ComponentProps<typeof BreadcrumbsItem>;
17
18
  declare const _default: typeof Breadcrumbs & {
18
19
  Item: import("styled-components").StyledComponent<"a", any, {
19
20
  to?: History.LocationDescriptor<unknown> | undefined;
20
21
  selected?: boolean | undefined;
21
- } & SystemCommonProps & SxProp, never>;
22
+ } & SxProp, never>;
22
23
  };
23
24
  export default _default;
24
25
  /**
@@ -28,7 +29,7 @@ export declare const Breadcrumb: typeof Breadcrumbs & {
28
29
  Item: import("styled-components").StyledComponent<"a", any, {
29
30
  to?: History.LocationDescriptor<unknown> | undefined;
30
31
  selected?: boolean | undefined;
31
- } & SystemCommonProps & SxProp, never>;
32
+ } & SxProp, never>;
32
33
  };
33
34
  /**
34
35
  * @deprecated Use the `BreadcrumbsProps` type instead
@@ -1,11 +1,9 @@
1
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
-
3
1
  import classnames from 'classnames'; // eslint-disable-next-line import/no-namespace
4
2
 
5
3
  import React from 'react';
6
4
  import styled from 'styled-components';
7
5
  import Box from './Box';
8
- import { COMMON, FLEX, get } from './constants';
6
+ import { get } from './constants';
9
7
  import sx from './sx';
10
8
  const SELECTED_CLASS = 'selected';
11
9
  const Wrapper = styled.li.withConfig({
@@ -15,22 +13,19 @@ const Wrapper = styled.li.withConfig({
15
13
  const BreadcrumbsBase = styled.nav.withConfig({
16
14
  displayName: "Breadcrumbs__BreadcrumbsBase",
17
15
  componentId: "hwwoo0-1"
18
- })(["display:flex;justify-content:space-between;", ";", ";", ";"], COMMON, FLEX, sx);
16
+ })(["display:flex;justify-content:space-between;", ";"], sx);
19
17
 
20
18
  function Breadcrumbs({
21
19
  className,
22
20
  children,
23
- theme,
24
- ...rest
21
+ sx: sxProp
25
22
  }) {
26
- const wrappedChildren = React.Children.map(children, child => /*#__PURE__*/React.createElement(Wrapper, {
27
- theme: theme
28
- }, child));
29
- return /*#__PURE__*/React.createElement(BreadcrumbsBase, _extends({
23
+ const wrappedChildren = React.Children.map(children, child => /*#__PURE__*/React.createElement(Wrapper, null, child));
24
+ return /*#__PURE__*/React.createElement(BreadcrumbsBase, {
30
25
  className: className,
31
26
  "aria-label": "Breadcrumbs",
32
- theme: theme
33
- }, rest), /*#__PURE__*/React.createElement(Box, {
27
+ sx: sxProp
28
+ }, /*#__PURE__*/React.createElement(Box, {
34
29
  as: "ol",
35
30
  my: 0,
36
31
  pl: 0
@@ -45,7 +40,7 @@ const BreadcrumbsItem = styled.a.attrs(props => ({
45
40
  })).withConfig({
46
41
  displayName: "Breadcrumbs__BreadcrumbsItem",
47
42
  componentId: "hwwoo0-2"
48
- })(["color:", ";display:inline-block;font-size:", ";text-decoration:none;&:hover{text-decoration:underline;}&.selected{color:", ";pointer-events:none;}", " ", ";"], get('colors.accent.fg'), get('fontSizes.1'), get('colors.fg.default'), COMMON, sx);
43
+ })(["color:", ";display:inline-block;font-size:", ";text-decoration:none;&:hover{text-decoration:underline;}&.selected{color:", ";pointer-events:none;}", ";"], get('colors.accent.fg'), get('fontSizes.1'), get('colors.fg.default'), sx);
49
44
  Breadcrumbs.displayName = 'Breadcrumbs';
50
45
  BreadcrumbsItem.displayName = 'Breadcrumbs.Item';
51
46
  export default Object.assign(Breadcrumbs, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/components",
3
- "version": "0.0.0-202182817223",
3
+ "version": "0.0.0-2021828175320",
4
4
  "description": "Primer react components",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib-esm/index.js",