@graphcommerce/magento-product 4.1.0 → 4.1.3
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 +35 -0
- package/components/ProductCustomizable/ProductCustomizable.graphql +2 -1
- package/components/ProductListFiltersContainer/ProductListFiltersContainer.tsx +0 -1
- package/components/ProductPageDescription/ProductPageDescription.tsx +1 -1
- package/components/ProductSpecs/ProductSpecs.tsx +1 -1
- package/package.json +12 -12
- package/{_playwright → test}/productURL.fixture.ts +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,40 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 4.1.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1369](https://github.com/graphcommerce-org/graphcommerce/pull/1369) [`ae6449502`](https://github.com/graphcommerce-org/graphcommerce/commit/ae64495024a455bbe5188588604368c1542840c9) Thanks [@paales](https://github.com/paales)! - Upgraded dependencies
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`892018809`](https://github.com/graphcommerce-org/graphcommerce/commit/8920188093d0422ec50580e408dc28ac5f93e46a), [`892018809`](https://github.com/graphcommerce-org/graphcommerce/commit/8920188093d0422ec50580e408dc28ac5f93e46a), [`ae6449502`](https://github.com/graphcommerce-org/graphcommerce/commit/ae64495024a455bbe5188588604368c1542840c9), [`892018809`](https://github.com/graphcommerce-org/graphcommerce/commit/8920188093d0422ec50580e408dc28ac5f93e46a), [`892018809`](https://github.com/graphcommerce-org/graphcommerce/commit/8920188093d0422ec50580e408dc28ac5f93e46a)]:
|
|
10
|
+
- @graphcommerce/graphql@3.0.6
|
|
11
|
+
- @graphcommerce/next-ui@4.5.0
|
|
12
|
+
- @graphcommerce/framer-scroller@2.1.3
|
|
13
|
+
- @graphcommerce/image@3.1.2
|
|
14
|
+
- @graphcommerce/magento-cart@4.2.2
|
|
15
|
+
- @graphcommerce/magento-store@4.1.4
|
|
16
|
+
|
|
17
|
+
## 4.1.2
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- [#1353](https://github.com/graphcommerce-org/graphcommerce/pull/1353) [`0e5ee7ba8`](https://github.com/graphcommerce-org/graphcommerce/commit/0e5ee7ba89698e5e711001e846ed182528060cba) Thanks [@paales](https://github.com/paales)! - Eslint: enable rules that were previously disabled and make fixes
|
|
22
|
+
|
|
23
|
+
* [#1353](https://github.com/graphcommerce-org/graphcommerce/pull/1353) [`59c71d6bf`](https://github.com/graphcommerce-org/graphcommerce/commit/59c71d6bf094ea27074b5d91efa79e1c9392445b) Thanks [@paales](https://github.com/paales)! - Product specs misspelling in typography
|
|
24
|
+
|
|
25
|
+
* Updated dependencies [[`829b8690b`](https://github.com/graphcommerce-org/graphcommerce/commit/829b8690bc5d0a46e596299e4120e9837a9f179c), [`49a2d6617`](https://github.com/graphcommerce-org/graphcommerce/commit/49a2d661712e1787fba46c6195f7b559189e23d9), [`f67da3cfb`](https://github.com/graphcommerce-org/graphcommerce/commit/f67da3cfbe2dcf5ea23519d088c5aa0074029182), [`218766869`](https://github.com/graphcommerce-org/graphcommerce/commit/218766869f7468c067a590857c942f3819f8add4), [`0e5ee7ba8`](https://github.com/graphcommerce-org/graphcommerce/commit/0e5ee7ba89698e5e711001e846ed182528060cba), [`829b8690b`](https://github.com/graphcommerce-org/graphcommerce/commit/829b8690bc5d0a46e596299e4120e9837a9f179c), [`829b8690b`](https://github.com/graphcommerce-org/graphcommerce/commit/829b8690bc5d0a46e596299e4120e9837a9f179c)]:
|
|
26
|
+
- @graphcommerce/framer-scroller@2.1.2
|
|
27
|
+
- @graphcommerce/next-ui@4.4.0
|
|
28
|
+
- @graphcommerce/magento-cart@4.2.1
|
|
29
|
+
|
|
30
|
+
## 4.1.1
|
|
31
|
+
|
|
32
|
+
### Patch Changes
|
|
33
|
+
|
|
34
|
+
- [#1337](https://github.com/graphcommerce-org/graphcommerce/pull/1337) [`bc5966129`](https://github.com/graphcommerce-org/graphcommerce/commit/bc5966129351a641db4deb3b4f04fe942c06f16b) Thanks [@paales](https://github.com/paales)! - Make sure any new types added to CustomizableProductInterface can be added and don’t immediately crash any query
|
|
35
|
+
|
|
36
|
+
* [#1337](https://github.com/graphcommerce-org/graphcommerce/pull/1337) [`645986e30`](https://github.com/graphcommerce-org/graphcommerce/commit/645986e306a38d3bb5a284ba04a9004060c592e6) Thanks [@paales](https://github.com/paales)! - make sure the fontSize isn’t required for ProductPageDescription
|
|
37
|
+
|
|
3
38
|
## 4.1.0
|
|
4
39
|
|
|
5
40
|
### Minor Changes
|
|
@@ -11,7 +11,7 @@ import { ProductPageDescriptionFragment } from './ProductPageDescription.gql'
|
|
|
11
11
|
export type ProductPageDescriptionProps = ProductPageDescriptionFragment &
|
|
12
12
|
Omit<ColumnTwoWithTopProps, 'top' | 'left'> & {
|
|
13
13
|
sx?: SxProps<Theme>
|
|
14
|
-
fontSize
|
|
14
|
+
fontSize?: 'responsive' | Variant
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
const componentName = 'ProductPageDescription'
|
|
@@ -20,7 +20,7 @@ export function ProductSpecs(props: ProductSpecsProps) {
|
|
|
20
20
|
return (
|
|
21
21
|
<Row
|
|
22
22
|
className={classes.root}
|
|
23
|
-
sx={[{
|
|
23
|
+
sx={[{ typography: 'subtitle1' }, ...(Array.isArray(sx) ? sx : [sx])]}
|
|
24
24
|
>
|
|
25
25
|
<SectionContainer
|
|
26
26
|
labelLeft={title}
|
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": "4.1.
|
|
5
|
+
"version": "4.1.3",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
8
8
|
"eslintConfig": {
|
|
@@ -12,20 +12,20 @@
|
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"@graphcommerce/eslint-config-pwa": "^4.
|
|
16
|
-
"@graphcommerce/prettier-config-pwa": "^4.0.
|
|
15
|
+
"@graphcommerce/eslint-config-pwa": "^4.1.3",
|
|
16
|
+
"@graphcommerce/prettier-config-pwa": "^4.0.5",
|
|
17
17
|
"@graphcommerce/typescript-config-pwa": "^4.0.2",
|
|
18
|
-
"@playwright/test": "^1.
|
|
18
|
+
"@playwright/test": "^1.20.1",
|
|
19
|
+
"type-fest": "2.12.1"
|
|
19
20
|
},
|
|
20
21
|
"dependencies": {
|
|
21
|
-
"@graphcommerce/framer-scroller": "^2.1.
|
|
22
|
-
"@graphcommerce/graphql": "^3.0.
|
|
23
|
-
"@graphcommerce/image": "^3.1.
|
|
24
|
-
"@graphcommerce/magento-cart": "^4.2.
|
|
25
|
-
"@graphcommerce/magento-store": "^4.1.
|
|
26
|
-
"@graphcommerce/next-ui": "^4.
|
|
27
|
-
"schema-dts": "^1.1.0"
|
|
28
|
-
"type-fest": "^2.12.0"
|
|
22
|
+
"@graphcommerce/framer-scroller": "^2.1.3",
|
|
23
|
+
"@graphcommerce/graphql": "^3.0.6",
|
|
24
|
+
"@graphcommerce/image": "^3.1.2",
|
|
25
|
+
"@graphcommerce/magento-cart": "^4.2.2",
|
|
26
|
+
"@graphcommerce/magento-store": "^4.1.4",
|
|
27
|
+
"@graphcommerce/next-ui": "^4.5.0",
|
|
28
|
+
"schema-dts": "^1.1.0"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"@lingui/macro": "^3.13.2",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/no-non-null-assertion */
|
|
2
|
-
import { test as base } from '@graphcommerce/graphql/
|
|
2
|
+
import { test as base } from '@graphcommerce/graphql/test/apolloClient.fixture'
|
|
3
3
|
import { ProductStaticPathsDocument } from '../components/ProductStaticPaths/ProductStaticPaths.gql'
|
|
4
4
|
import { ProductTypenames } from '../components/ProductStaticPaths/getProductStaticPaths'
|
|
5
5
|
import { productLink } from '../hooks/useProductLink'
|
|
@@ -12,7 +12,7 @@ const test = base.extend<{ productURL: ProductUrls }>({
|
|
|
12
12
|
productURL: async ({ apolloClient, baseURL }, use) => {
|
|
13
13
|
const query = await apolloClient.query({
|
|
14
14
|
query: ProductStaticPathsDocument,
|
|
15
|
-
variables: { currentPage: 1, pageSize:
|
|
15
|
+
variables: { currentPage: 1, pageSize: 300 },
|
|
16
16
|
})
|
|
17
17
|
|
|
18
18
|
const productUrls: Partial<Omit<ProductUrls, 'all'>> = {}
|