@graphcommerce/magento-product-configurable 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 +4 -0
- package/components/ConfigurableOptionValue/ConfigurableOptionValue.tsx +2 -1
- package/components/ConfigurableOptionValueColor/ConfigurableOptionValueColor.tsx +2 -1
- package/components/ConfigurableOptionValueImage/ConfigurableOptionValueImage.tsx +4 -3
- package/components/ConfigurableOptionValueText/ConfigurableOptionValueText.tsx +2 -1
- package/components/ConfigurableProductOptions/ConfigurableProductOption.tsx +4 -9
- package/package.json +18 -18
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { ActionCardItemRenderProps
|
|
1
|
+
import { ActionCardItemRenderProps } from '@graphcommerce/ecommerce-ui'
|
|
2
|
+
import { RenderType } from '@graphcommerce/next-ui'
|
|
2
3
|
import { ConfigurableOptionValueColor } from '../ConfigurableOptionValueColor'
|
|
3
4
|
import { ConfigurableOptionValueImage } from '../ConfigurableOptionValueImage/ConfigurableOptionValueImage'
|
|
4
5
|
import { ConfigurableOptionValueText } from '../ConfigurableOptionValueText/ConfigurableOptionValueText'
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ActionCardItemRenderProps } from '@graphcommerce/ecommerce-ui'
|
|
2
|
+
import { ActionCard } from '@graphcommerce/next-ui'
|
|
2
3
|
import { Box } from '@mui/material'
|
|
3
4
|
import { swatchSizes } from '../ConfigurableOptionValueImage'
|
|
4
5
|
import { ConfigurableOptionValueColorFragment } from './ConfigurableOptionValueColor.gql'
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { ActionCardItemRenderProps } from '@graphcommerce/ecommerce-ui'
|
|
1
2
|
import { Image } from '@graphcommerce/image'
|
|
2
|
-
import {
|
|
3
|
-
import { ConfigurableOptionValueImageFragment } from './ConfigurableOptionValueImage.gql'
|
|
4
|
-
import { Box, Button } from '@mui/material'
|
|
3
|
+
import { ActionCard, responsiveVal } from '@graphcommerce/next-ui'
|
|
5
4
|
import { Trans } from '@lingui/react'
|
|
5
|
+
import { Button } from '@mui/material'
|
|
6
|
+
import { ConfigurableOptionValueImageFragment } from './ConfigurableOptionValueImage.gql'
|
|
6
7
|
|
|
7
8
|
export type ConfigurableOptionValueImageProps =
|
|
8
9
|
ActionCardItemRenderProps<ConfigurableOptionValueImageFragment>
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ActionCardItemRenderProps } from '@graphcommerce/ecommerce-ui'
|
|
2
|
+
import { ActionCard } from '@graphcommerce/next-ui'
|
|
2
3
|
import { ConfigurableOptionValueTextFragment } from './ConfigurableOptionValueText.gql'
|
|
3
4
|
|
|
4
5
|
export type ConfigurableOptionValueTextProps =
|
|
@@ -1,19 +1,14 @@
|
|
|
1
|
+
import { ActionCardItemBase, ActionCardListForm } from '@graphcommerce/ecommerce-ui'
|
|
1
2
|
import {
|
|
2
|
-
useFormAddProductsToCart,
|
|
3
3
|
AddProductsToCartFields,
|
|
4
|
+
useFormAddProductsToCart,
|
|
4
5
|
} from '@graphcommerce/magento-product/components'
|
|
5
|
-
import {
|
|
6
|
-
nonNullable,
|
|
7
|
-
filterNonNullableKeys,
|
|
8
|
-
SectionHeader,
|
|
9
|
-
ActionCardListForm,
|
|
10
|
-
ActionCardItemBase,
|
|
11
|
-
} from '@graphcommerce/next-ui'
|
|
6
|
+
import { filterNonNullableKeys, nonNullable, SectionHeader } from '@graphcommerce/next-ui'
|
|
12
7
|
import { useWatch } from '@graphcommerce/react-hook-form'
|
|
13
8
|
import { i18n } from '@lingui/core'
|
|
14
9
|
import { Box, SxProps, Theme } from '@mui/material'
|
|
15
10
|
import { ConfigurableOptionsFragment } from '../../graphql/ConfigurableOptions.gql'
|
|
16
|
-
import {
|
|
11
|
+
import { useConfigurableOptionsForSelection, UseConfigurableOptionsSelection } from '../../hooks'
|
|
17
12
|
import {
|
|
18
13
|
ConfigurableOptionValue,
|
|
19
14
|
ConfigurableOptionValueFragment,
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/magento-product-configurable",
|
|
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": {
|
|
@@ -12,23 +12,23 @@
|
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"@graphcommerce/ecommerce-ui": "^9.0.0-canary.
|
|
16
|
-
"@graphcommerce/eslint-config-pwa": "^9.0.0-canary.
|
|
17
|
-
"@graphcommerce/graphql": "^9.0.0-canary.
|
|
18
|
-
"@graphcommerce/graphql-mesh": "^9.0.0-canary.
|
|
19
|
-
"@graphcommerce/image": "^9.0.0-canary.
|
|
20
|
-
"@graphcommerce/lingui-next": "9.0.0-canary.
|
|
21
|
-
"@graphcommerce/magento-cart": "^9.0.0-canary.
|
|
22
|
-
"@graphcommerce/magento-cart-items": "^9.0.0-canary.
|
|
23
|
-
"@graphcommerce/magento-category": "^9.0.0-canary.
|
|
24
|
-
"@graphcommerce/magento-customer": "^9.0.0-canary.
|
|
25
|
-
"@graphcommerce/magento-product": "^9.0.0-canary.
|
|
26
|
-
"@graphcommerce/magento-product-simple": "^9.0.0-canary.
|
|
27
|
-
"@graphcommerce/magento-store": "^9.0.0-canary.
|
|
28
|
-
"@graphcommerce/next-ui": "^9.0.0-canary.
|
|
29
|
-
"@graphcommerce/prettier-config-pwa": "^9.0.0-canary.
|
|
30
|
-
"@graphcommerce/react-hook-form": "^9.0.0-canary.
|
|
31
|
-
"@graphcommerce/typescript-config-pwa": "^9.0.0-canary.
|
|
15
|
+
"@graphcommerce/ecommerce-ui": "^9.0.0-canary.80",
|
|
16
|
+
"@graphcommerce/eslint-config-pwa": "^9.0.0-canary.80",
|
|
17
|
+
"@graphcommerce/graphql": "^9.0.0-canary.80",
|
|
18
|
+
"@graphcommerce/graphql-mesh": "^9.0.0-canary.80",
|
|
19
|
+
"@graphcommerce/image": "^9.0.0-canary.80",
|
|
20
|
+
"@graphcommerce/lingui-next": "9.0.0-canary.80",
|
|
21
|
+
"@graphcommerce/magento-cart": "^9.0.0-canary.80",
|
|
22
|
+
"@graphcommerce/magento-cart-items": "^9.0.0-canary.80",
|
|
23
|
+
"@graphcommerce/magento-category": "^9.0.0-canary.80",
|
|
24
|
+
"@graphcommerce/magento-customer": "^9.0.0-canary.80",
|
|
25
|
+
"@graphcommerce/magento-product": "^9.0.0-canary.80",
|
|
26
|
+
"@graphcommerce/magento-product-simple": "^9.0.0-canary.80",
|
|
27
|
+
"@graphcommerce/magento-store": "^9.0.0-canary.80",
|
|
28
|
+
"@graphcommerce/next-ui": "^9.0.0-canary.80",
|
|
29
|
+
"@graphcommerce/prettier-config-pwa": "^9.0.0-canary.80",
|
|
30
|
+
"@graphcommerce/react-hook-form": "^9.0.0-canary.80",
|
|
31
|
+
"@graphcommerce/typescript-config-pwa": "^9.0.0-canary.80",
|
|
32
32
|
"@lingui/core": "^4.2.1",
|
|
33
33
|
"@lingui/macro": "^4.2.1",
|
|
34
34
|
"@lingui/react": "^4.2.1",
|