@graphcommerce/magento-category 4.7.1 → 4.8.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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 4.8.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#1678](https://github.com/graphcommerce-org/graphcommerce/pull/1678) [`78d7d51cb`](https://github.com/graphcommerce-org/graphcommerce/commit/78d7d51cb1551601d3a4756cd1f2157a49ff93b9) Thanks [@Jessevdpoel](https://github.com/Jessevdpoel)! - Changed styling and forwarded breadcrumbprops
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [[`2b5451395`](https://github.com/graphcommerce-org/graphcommerce/commit/2b5451395dc1173de55d18d08968866e561f90ab), [`e76df6dc3`](https://github.com/graphcommerce-org/graphcommerce/commit/e76df6dc37c11c793a5d008ba36932d17dc23855), [`c4ed376e2`](https://github.com/graphcommerce-org/graphcommerce/commit/c4ed376e2c72b16b34704d7d1ca69c074de172ba), [`78d7d51cb`](https://github.com/graphcommerce-org/graphcommerce/commit/78d7d51cb1551601d3a4756cd1f2157a49ff93b9), [`0bd9ea582`](https://github.com/graphcommerce-org/graphcommerce/commit/0bd9ea58230dde79c5fe2cdb07e9860151460270)]:
|
|
12
|
+
- @graphcommerce/magento-product@4.8.0
|
|
13
|
+
- @graphcommerce/next-ui@4.29.0
|
|
14
|
+
- @graphcommerce/framer-scroller@2.1.42
|
|
15
|
+
- @graphcommerce/magento-store@4.3.3
|
|
16
|
+
|
|
17
|
+
## 4.7.2
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- Updated dependencies [[`9e630670f`](https://github.com/graphcommerce-org/graphcommerce/commit/9e630670ff6c952ab7b938d890b5509804985cf3), [`cf3518499`](https://github.com/graphcommerce-org/graphcommerce/commit/cf351849999ad6fe73ce2bb258098a7dd301d517), [`81f31d1e5`](https://github.com/graphcommerce-org/graphcommerce/commit/81f31d1e54397368088a4289aaddd29facfceeef), [`2e9fa5984`](https://github.com/graphcommerce-org/graphcommerce/commit/2e9fa5984a07ff14fc1b3a4f62189a26e8e3ecdd), [`adf13069a`](https://github.com/graphcommerce-org/graphcommerce/commit/adf13069af6460c960276b402237371c12fc6dec), [`a8905d263`](https://github.com/graphcommerce-org/graphcommerce/commit/a8905d263273cb9322583d5759a5fdc66eceb8e4), [`1b1504c9b`](https://github.com/graphcommerce-org/graphcommerce/commit/1b1504c9b0e51f2787bce91e1ff1940f540411d6), [`8a34f8081`](https://github.com/graphcommerce-org/graphcommerce/commit/8a34f808186274a6fe1d4f309472f1a9c6d00efd)]:
|
|
22
|
+
- @graphcommerce/next-ui@4.28.1
|
|
23
|
+
- @graphcommerce/graphql@3.5.0
|
|
24
|
+
- @graphcommerce/framer-scroller@2.1.41
|
|
25
|
+
- @graphcommerce/magento-product@4.7.3
|
|
26
|
+
- @graphcommerce/magento-store@4.3.2
|
|
27
|
+
- @graphcommerce/image@3.1.10
|
|
28
|
+
|
|
3
29
|
## 4.7.1
|
|
4
30
|
|
|
5
31
|
### Patch Changes
|
|
@@ -3,30 +3,28 @@ import { Breadcrumbs, BreadcrumbsProps, Container, Link, Typography } from '@mui
|
|
|
3
3
|
import PageLink from 'next/link'
|
|
4
4
|
import { CategoryBreadcrumbFragment } from './CategoryBreadcrumb.gql'
|
|
5
5
|
|
|
6
|
-
type CategoryPageBreadcrumbsProps = CategoryBreadcrumbFragment & BreadcrumbsProps
|
|
6
|
+
type CategoryPageBreadcrumbsProps = CategoryBreadcrumbFragment & Omit<BreadcrumbsProps, 'children'>
|
|
7
7
|
|
|
8
8
|
export function CategoryBreadcrumb(props: CategoryPageBreadcrumbsProps) {
|
|
9
|
-
const { breadcrumbs, name } = props
|
|
9
|
+
const { breadcrumbs, name, ...breadcrumbsProps } = props
|
|
10
10
|
return (
|
|
11
|
-
<
|
|
12
|
-
<
|
|
13
|
-
<
|
|
14
|
-
<
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
</Breadcrumbs>
|
|
30
|
-
</Container>
|
|
11
|
+
<Breadcrumbs {...breadcrumbsProps}>
|
|
12
|
+
<PageLink href='/' passHref>
|
|
13
|
+
<Link underline='hover' color='inherit'>
|
|
14
|
+
<Trans id='Home' />
|
|
15
|
+
</Link>
|
|
16
|
+
</PageLink>
|
|
17
|
+
{breadcrumbs?.map((mapped_category, i) => (
|
|
18
|
+
<Link
|
|
19
|
+
underline='hover'
|
|
20
|
+
key={mapped_category?.category_uid}
|
|
21
|
+
color='inherit'
|
|
22
|
+
href={`/${mapped_category?.category_url_path}`}
|
|
23
|
+
>
|
|
24
|
+
{mapped_category?.category_name}
|
|
25
|
+
</Link>
|
|
26
|
+
))}
|
|
27
|
+
<Typography color='text.primary'>{name}</Typography>
|
|
28
|
+
</Breadcrumbs>
|
|
31
29
|
)
|
|
32
30
|
}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/magento-category",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "4.
|
|
5
|
+
"version": "4.8.0",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
8
8
|
"eslintConfig": {
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
"type-fest": "^2.12.2"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@graphcommerce/framer-scroller": "2.1.
|
|
23
|
-
"@graphcommerce/graphql": "3.
|
|
24
|
-
"@graphcommerce/image": "3.1.
|
|
25
|
-
"@graphcommerce/magento-product": "4.
|
|
26
|
-
"@graphcommerce/magento-store": "4.3.
|
|
27
|
-
"@graphcommerce/next-ui": "4.
|
|
22
|
+
"@graphcommerce/framer-scroller": "2.1.42",
|
|
23
|
+
"@graphcommerce/graphql": "3.5.0",
|
|
24
|
+
"@graphcommerce/image": "3.1.10",
|
|
25
|
+
"@graphcommerce/magento-product": "4.8.0",
|
|
26
|
+
"@graphcommerce/magento-store": "4.3.3",
|
|
27
|
+
"@graphcommerce/next-ui": "4.29.0"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"@lingui/react": "^3.13.2",
|