@graphcommerce/magento-product 9.0.0-canary.78 → 9.0.0-canary.80
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 +8 -0
- package/components/AddProductsToCart/AddProductsToCartForm.tsx +0 -1
- package/components/ProductCustomizable/CustomizableCheckboxOption.tsx +3 -4
- package/components/ProductCustomizable/CustomizableMultipleOption.tsx +2 -2
- package/components/ProductCustomizable/CustomizableRadioOption.tsx +2 -2
- package/components/ProductFiltersPro/ProductFilterEqualChip.tsx +3 -4
- package/components/ProductFiltersPro/ProductFilterEqualSection.tsx +4 -5
- package/components/ProductFiltersPro/ProductFiltersProLimitChip.tsx +2 -8
- package/components/ProductFiltersPro/ProductFiltersProLimitSection.tsx +3 -9
- package/components/ProductFiltersPro/ProductFiltersProSortChip.tsx +2 -6
- package/components/ProductFiltersPro/ProductFiltersProSortSection.tsx +2 -1
- package/package.json +13 -13
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 9.0.0-canary.80
|
4
|
+
|
5
|
+
### Minor Changes
|
6
|
+
|
7
|
+
- [#2341](https://github.com/graphcommerce-org/graphcommerce/pull/2341) [`1d6512d`](https://github.com/graphcommerce-org/graphcommerce/commit/1d6512d4118cfb46602aa1f2432c3566fdb3261d) - Rename experimental_useV2 prop to deprecated_useV1 in useFromGql and enable it by default ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
|
8
|
+
|
9
|
+
## 9.0.0-canary.79
|
10
|
+
|
3
11
|
## 9.0.0-canary.78
|
4
12
|
|
5
13
|
## 9.0.0-canary.77
|
@@ -77,7 +77,6 @@ export function AddProductsToCartForm(props: AddProductsToCartFormProps) {
|
|
77
77
|
AddProductsToCartDocument,
|
78
78
|
{
|
79
79
|
...formProps,
|
80
|
-
experimental_useV2: true,
|
81
80
|
// We're stripping out incomplete entered options.
|
82
81
|
onBeforeSubmit: async (variables) => {
|
83
82
|
const variables2 = (await formProps.onBeforeSubmit?.(variables)) ?? variables
|
@@ -1,14 +1,13 @@
|
|
1
|
+
import { ActionCardListForm } from '@graphcommerce/ecommerce-ui'
|
1
2
|
import { Money } from '@graphcommerce/magento-store'
|
2
3
|
import {
|
3
|
-
ActionCardListForm,
|
4
4
|
ActionCard,
|
5
|
-
filterNonNullableKeys,
|
6
5
|
ActionCardProps,
|
6
|
+
filterNonNullableKeys,
|
7
7
|
SectionHeader,
|
8
8
|
} from '@graphcommerce/next-ui'
|
9
9
|
import { i18n } from '@lingui/core'
|
10
|
-
|
11
|
-
import { Checkbox, Box } from '@mui/material'
|
10
|
+
import { Box, Checkbox } from '@mui/material'
|
12
11
|
import { useFormAddProductsToCart } from '../AddProductsToCart'
|
13
12
|
import { OptionTypeRenderer } from './CustomizableAreaOption'
|
14
13
|
|
@@ -1,9 +1,9 @@
|
|
1
|
+
import { ActionCardListForm } from '@graphcommerce/ecommerce-ui'
|
1
2
|
import { Money } from '@graphcommerce/magento-store'
|
2
3
|
import {
|
3
|
-
ActionCardListForm,
|
4
4
|
ActionCard,
|
5
|
-
filterNonNullableKeys,
|
6
5
|
ActionCardProps,
|
6
|
+
filterNonNullableKeys,
|
7
7
|
SectionHeader,
|
8
8
|
} from '@graphcommerce/next-ui'
|
9
9
|
import { i18n } from '@lingui/core'
|
@@ -1,9 +1,9 @@
|
|
1
|
+
import { ActionCardListForm } from '@graphcommerce/ecommerce-ui'
|
1
2
|
import { Money } from '@graphcommerce/magento-store'
|
2
3
|
import {
|
3
|
-
ActionCardListForm,
|
4
4
|
ActionCard,
|
5
|
-
filterNonNullableKeys,
|
6
5
|
ActionCardProps,
|
6
|
+
filterNonNullableKeys,
|
7
7
|
SectionHeader,
|
8
8
|
} from '@graphcommerce/next-ui'
|
9
9
|
import { i18n } from '@lingui/core'
|
@@ -1,12 +1,11 @@
|
|
1
|
-
import { useWatch } from '@graphcommerce/ecommerce-ui'
|
1
|
+
import { ActionCardListForm, useWatch } from '@graphcommerce/ecommerce-ui'
|
2
2
|
import type { ProductAttributeFilterInput } from '@graphcommerce/graphql-mesh'
|
3
3
|
import {
|
4
|
-
ChipOverlayOrPopper,
|
5
|
-
ActionCardListForm,
|
6
4
|
ActionCard,
|
5
|
+
ChipOverlayOrPopper,
|
7
6
|
filterNonNullableKeys,
|
8
|
-
IconSvg,
|
9
7
|
iconCirle,
|
8
|
+
IconSvg,
|
10
9
|
} from '@graphcommerce/next-ui'
|
11
10
|
import { Box } from '@mui/material'
|
12
11
|
import { useMemo } from 'react'
|
@@ -1,13 +1,12 @@
|
|
1
|
-
import { useWatch } from '@graphcommerce/ecommerce-ui'
|
1
|
+
import { ActionCardListForm, useWatch } from '@graphcommerce/ecommerce-ui'
|
2
2
|
import type { ProductAttributeFilterInput } from '@graphcommerce/graphql-mesh'
|
3
3
|
import {
|
4
|
-
ActionCardListForm,
|
5
4
|
ActionCard,
|
6
|
-
filterNonNullableKeys,
|
7
|
-
IconSvg,
|
8
|
-
iconCirle,
|
9
5
|
ActionCardAccordion,
|
10
6
|
Button,
|
7
|
+
filterNonNullableKeys,
|
8
|
+
iconCirle,
|
9
|
+
IconSvg,
|
11
10
|
} from '@graphcommerce/next-ui'
|
12
11
|
import { Trans } from '@lingui/react'
|
13
12
|
import { Box } from '@mui/material'
|
@@ -1,13 +1,7 @@
|
|
1
|
-
import { useWatch } from '@graphcommerce/ecommerce-ui'
|
1
|
+
import { ActionCardItemBase, ActionCardListForm, useWatch } from '@graphcommerce/ecommerce-ui'
|
2
2
|
import { useQuery } from '@graphcommerce/graphql'
|
3
3
|
import { StoreConfigDocument } from '@graphcommerce/magento-store'
|
4
|
-
import {
|
5
|
-
ActionCard,
|
6
|
-
ActionCardItemBase,
|
7
|
-
ActionCardListForm,
|
8
|
-
ChipOverlayOrPopper,
|
9
|
-
ChipOverlayOrPopperProps,
|
10
|
-
} from '@graphcommerce/next-ui'
|
4
|
+
import { ActionCard, ChipOverlayOrPopper, ChipOverlayOrPopperProps } from '@graphcommerce/next-ui'
|
11
5
|
import { Trans } from '@lingui/react'
|
12
6
|
import { useMemo } from 'react'
|
13
7
|
import { useProductFiltersPro } from './ProductFiltersPro'
|
@@ -1,17 +1,11 @@
|
|
1
|
-
import { useWatch } from '@graphcommerce/ecommerce-ui'
|
1
|
+
import { ActionCardItemBase, ActionCardListForm, useWatch } from '@graphcommerce/ecommerce-ui'
|
2
2
|
import { useQuery } from '@graphcommerce/graphql'
|
3
3
|
import { StoreConfigDocument } from '@graphcommerce/magento-store'
|
4
|
-
import {
|
5
|
-
ActionCard,
|
6
|
-
ActionCardAccordion,
|
7
|
-
ActionCardItemBase,
|
8
|
-
ActionCardListForm,
|
9
|
-
Button,
|
10
|
-
} from '@graphcommerce/next-ui'
|
4
|
+
import { ActionCard, ActionCardAccordion, Button } from '@graphcommerce/next-ui'
|
11
5
|
import { Trans } from '@lingui/react'
|
6
|
+
import { SxProps, Theme } from '@mui/material'
|
12
7
|
import { useMemo } from 'react'
|
13
8
|
import { useProductFiltersPro } from './ProductFiltersPro'
|
14
|
-
import { SxProps, Theme } from '@mui/material'
|
15
9
|
|
16
10
|
export type ProductFiltersProLimitSectionProps = { sx?: SxProps<Theme> }
|
17
11
|
|
@@ -1,9 +1,5 @@
|
|
1
|
-
import {
|
2
|
-
|
3
|
-
ActionCardListForm,
|
4
|
-
ChipOverlayOrPopper,
|
5
|
-
ChipOverlayOrPopperProps,
|
6
|
-
} from '@graphcommerce/next-ui'
|
1
|
+
import { ActionCardListForm } from '@graphcommerce/ecommerce-ui'
|
2
|
+
import { ActionCard, ChipOverlayOrPopper, ChipOverlayOrPopperProps } from '@graphcommerce/next-ui'
|
7
3
|
import { Trans } from '@lingui/react'
|
8
4
|
import { useProductFiltersPro } from './ProductFiltersPro'
|
9
5
|
import { UseProductFiltersProSortProps, useProductFiltersProSort } from './useProductFiltersProSort'
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { ActionCardListForm } from '@graphcommerce/ecommerce-ui'
|
2
|
+
import { ActionCard, ActionCardAccordion, Button } from '@graphcommerce/next-ui'
|
2
3
|
import { Trans } from '@lingui/react'
|
3
4
|
import { SxProps, Theme } from '@mui/material'
|
4
5
|
import { useProductFiltersPro } from './ProductFiltersPro'
|
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.80",
|
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.80",
|
22
|
+
"@graphcommerce/eslint-config-pwa": "^9.0.0-canary.80",
|
23
|
+
"@graphcommerce/framer-next-pages": "^9.0.0-canary.80",
|
24
|
+
"@graphcommerce/framer-scroller": "^9.0.0-canary.80",
|
25
|
+
"@graphcommerce/graphql": "^9.0.0-canary.80",
|
26
|
+
"@graphcommerce/graphql-mesh": "^9.0.0-canary.80",
|
27
|
+
"@graphcommerce/image": "^9.0.0-canary.80",
|
28
|
+
"@graphcommerce/magento-cart": "^9.0.0-canary.80",
|
29
|
+
"@graphcommerce/magento-store": "^9.0.0-canary.80",
|
30
|
+
"@graphcommerce/next-ui": "^9.0.0-canary.80",
|
31
|
+
"@graphcommerce/prettier-config-pwa": "^9.0.0-canary.80",
|
32
|
+
"@graphcommerce/typescript-config-pwa": "^9.0.0-canary.80",
|
33
33
|
"@lingui/core": "^4.2.1",
|
34
34
|
"@lingui/macro": "^4.2.1",
|
35
35
|
"@lingui/react": "^4.2.1",
|