@graphcommerce/magento-product 9.0.0-canary.84 → 9.0.0-canary.86
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,17 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 9.0.0-canary.86
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- [#2379](https://github.com/graphcommerce-org/graphcommerce/pull/2379) [`959e0dd`](https://github.com/graphcommerce-org/graphcommerce/commit/959e0dd81a7943648250be6a2bf8f1bc27be8a3b) - Render multiple items in the RowSpecs table as a list ([@paales](https://github.com/paales))
|
8
|
+
|
9
|
+
## 9.0.0-canary.85
|
10
|
+
|
11
|
+
### Patch Changes
|
12
|
+
|
13
|
+
- [#2378](https://github.com/graphcommerce-org/graphcommerce/pull/2378) [`c8237dc`](https://github.com/graphcommerce-org/graphcommerce/commit/c8237dc8f496a0ffddcf8fd4fc697941e257ed00) - Fixed the products sitemap not containing more than 100 products when limit SSG is enabled ([@rustmaestro](https://github.com/rustmaestro))
|
14
|
+
|
3
15
|
## 9.0.0-canary.84
|
4
16
|
|
5
17
|
## 9.0.0-canary.83
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { useQuery } from '@graphcommerce/graphql'
|
2
|
-
import { extendableComponent } from '@graphcommerce/next-ui'
|
2
|
+
import { extendableComponent, ListFormat } from '@graphcommerce/next-ui'
|
3
3
|
import { Box } from '@mui/material'
|
4
4
|
import { ProductSpecsFragment } from './ProductSpecs.gql'
|
5
5
|
import { ProductSpecsTypesDocument } from './ProductSpecsTypes.gql'
|
@@ -24,19 +24,17 @@ export function ProductSpecsCustomAttributes(props: ProductSpecsCustomAttributes
|
|
24
24
|
{specs?.map((item) => (
|
25
25
|
<li key={item?.code}>
|
26
26
|
<div>
|
27
|
-
{
|
28
|
-
|
29
|
-
|
30
|
-
)?.label
|
31
|
-
}
|
27
|
+
{productSpecsTypes?.data?.attributesList?.items?.find(
|
28
|
+
(type) => type?.code === item?.code,
|
29
|
+
)?.label ?? item?.code}
|
32
30
|
</div>
|
33
|
-
<Box className={classes.options}
|
31
|
+
<Box className={classes.options}>
|
34
32
|
{item?.__typename === 'AttributeSelectedOptions' && (
|
35
|
-
|
33
|
+
<ListFormat listStyle='long' type='unit'>
|
36
34
|
{item?.selected_options?.map((option) => (
|
37
35
|
<span key={option?.value}>{option?.label === '1' ? 'Yes' : option?.label}</span>
|
38
36
|
))}
|
39
|
-
|
37
|
+
</ListFormat>
|
40
38
|
)}
|
41
39
|
{item?.__typename === 'AttributeValue' && <span key={item?.value}>{item.value}</span>}
|
42
40
|
</Box>
|
@@ -22,7 +22,7 @@ export async function getProductStaticPaths(
|
|
22
22
|
const { data } = await query
|
23
23
|
const totalPages = data.products?.page_info?.total_pages ?? 1
|
24
24
|
|
25
|
-
if (totalPages > 1 &&
|
25
|
+
if (totalPages > 1 && options.limit !== true) {
|
26
26
|
for (let i = 2; i <= totalPages; i++) {
|
27
27
|
pages.push(
|
28
28
|
client.query({
|
package/package.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"name": "@graphcommerce/magento-product",
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
5
|
-
"version": "9.0.0-canary.
|
5
|
+
"version": "9.0.0-canary.86",
|
6
6
|
"sideEffects": false,
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
8
8
|
"eslintConfig": {
|
@@ -18,18 +18,18 @@
|
|
18
18
|
"typescript": "5.5.3"
|
19
19
|
},
|
20
20
|
"peerDependencies": {
|
21
|
-
"@graphcommerce/ecommerce-ui": "^9.0.0-canary.
|
22
|
-
"@graphcommerce/eslint-config-pwa": "^9.0.0-canary.
|
23
|
-
"@graphcommerce/framer-next-pages": "^9.0.0-canary.
|
24
|
-
"@graphcommerce/framer-scroller": "^9.0.0-canary.
|
25
|
-
"@graphcommerce/graphql": "^9.0.0-canary.
|
26
|
-
"@graphcommerce/graphql-mesh": "^9.0.0-canary.
|
27
|
-
"@graphcommerce/image": "^9.0.0-canary.
|
28
|
-
"@graphcommerce/magento-cart": "^9.0.0-canary.
|
29
|
-
"@graphcommerce/magento-store": "^9.0.0-canary.
|
30
|
-
"@graphcommerce/next-ui": "^9.0.0-canary.
|
31
|
-
"@graphcommerce/prettier-config-pwa": "^9.0.0-canary.
|
32
|
-
"@graphcommerce/typescript-config-pwa": "^9.0.0-canary.
|
21
|
+
"@graphcommerce/ecommerce-ui": "^9.0.0-canary.86",
|
22
|
+
"@graphcommerce/eslint-config-pwa": "^9.0.0-canary.86",
|
23
|
+
"@graphcommerce/framer-next-pages": "^9.0.0-canary.86",
|
24
|
+
"@graphcommerce/framer-scroller": "^9.0.0-canary.86",
|
25
|
+
"@graphcommerce/graphql": "^9.0.0-canary.86",
|
26
|
+
"@graphcommerce/graphql-mesh": "^9.0.0-canary.86",
|
27
|
+
"@graphcommerce/image": "^9.0.0-canary.86",
|
28
|
+
"@graphcommerce/magento-cart": "^9.0.0-canary.86",
|
29
|
+
"@graphcommerce/magento-store": "^9.0.0-canary.86",
|
30
|
+
"@graphcommerce/next-ui": "^9.0.0-canary.86",
|
31
|
+
"@graphcommerce/prettier-config-pwa": "^9.0.0-canary.86",
|
32
|
+
"@graphcommerce/typescript-config-pwa": "^9.0.0-canary.86",
|
33
33
|
"@lingui/core": "^4.2.1",
|
34
34
|
"@lingui/macro": "^4.2.1",
|
35
35
|
"@lingui/react": "^4.2.1",
|