@graphcommerce/magento-product-configurable 9.0.0-canary.103 → 9.0.0-canary.105

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,9 @@
1
1
  # Change Log
2
2
 
3
+ ## 9.0.0-canary.105
4
+
5
+ ## 9.0.0-canary.104
6
+
3
7
  ## 9.0.0-canary.103
4
8
 
5
9
  ## 9.0.0-canary.90
@@ -924,7 +928,7 @@
924
928
  All occurences of `<Trans>` and `t` need to be replaced:
925
929
 
926
930
  ```tsx
927
- import { Trans, t } from '@lingui/macro'
931
+ import { t, Trans } from '@lingui/macro'
928
932
 
929
933
  function MyComponent() {
930
934
  const foo = 'bar'
@@ -939,8 +943,8 @@
939
943
  Needs to be replaced with:
940
944
 
941
945
  ```tsx
942
- import { Trans } from '@lingui/react'
943
946
  import { i18n } from '@lingui/core'
947
+ import { Trans } from '@lingui/react'
944
948
 
945
949
  function MyComponent() {
946
950
  const foo = 'bar'
@@ -1,5 +1,5 @@
1
1
  import type { Context, Dispatch, SetStateAction } from 'react'
2
- import { useContext, createContext, useState, useMemo, useCallback } from 'react'
2
+ import { createContext, useCallback, useContext, useMemo, useState } from 'react'
3
3
  import type { ConfigurableProductFormFragment } from './ConfigurableProductForm.gql'
4
4
  import cheapestVariant from './cheapestVariant'
5
5
 
@@ -15,7 +15,7 @@ import { useConfigurableContext } from '../ConfigurableContext/ConfigurableConte
15
15
  import { ColorSwatchData } from '../Swatches/ColorSwatchData'
16
16
  import { ImageSwatchData } from '../Swatches/ImageSwatchData'
17
17
  import { TextSwatchData } from '../Swatches/TextSwatchData'
18
- import type { SwatchTypeRenderer, SwatchSize } from '../Swatches/types'
18
+ import type { SwatchSize, SwatchTypeRenderer } from '../Swatches/types'
19
19
 
20
20
  export type ConfigurableOptionsInputProps = {
21
21
  sku: string
@@ -3,14 +3,14 @@ import { ApolloCartErrorAlert, useFormGqlMutationCart } from '@graphcommerce/mag
3
3
  import { Money } from '@graphcommerce/magento-store'
4
4
  import {
5
5
  Button,
6
+ IconSvg,
7
+ MessageSnackbar,
6
8
  extendableComponent,
7
9
  iconChevronRight,
8
- MessageSnackbar,
9
- IconSvg,
10
10
  } from '@graphcommerce/next-ui'
11
11
  import { Trans } from '@lingui/macro'
12
12
  import type { SxProps, Theme } from '@mui/material'
13
- import { Divider, Typography, Alert, Box } from '@mui/material'
13
+ import { Alert, Box, Divider, Typography } from '@mui/material'
14
14
  import React from 'react'
15
15
  import { useConfigurableContext } from '../ConfigurableContext/ConfigurableContext'
16
16
  import cheapestVariant from '../ConfigurableContext/cheapestVariant'
@@ -1,4 +1,4 @@
1
- import { responsiveVal, extendableComponent } from '@graphcommerce/next-ui'
1
+ import { extendableComponent, responsiveVal } from '@graphcommerce/next-ui'
2
2
  import type { SxProps, Theme } from '@mui/material'
3
3
  import { Box } from '@mui/material'
4
4
  import type { ColorSwatchDataFragment } from './ColorSwatchData.gql'
@@ -1,5 +1,5 @@
1
1
  import { Image } from '@graphcommerce/image'
2
- import { responsiveVal, extendableComponent } from '@graphcommerce/next-ui'
2
+ import { extendableComponent, responsiveVal } from '@graphcommerce/next-ui'
3
3
  import type { SxProps, Theme } from '@mui/material'
4
4
  import { Box } from '@mui/material'
5
5
  import type { ImageSwatchDataFragment } from './ImageSwatchData.gql'
@@ -2,7 +2,7 @@ import type { ActionCardItemBase } from '@graphcommerce/ecommerce-ui'
2
2
  import { ActionCardListForm } from '@graphcommerce/ecommerce-ui'
3
3
  import type { AddProductsToCartFields } from '@graphcommerce/magento-product/components'
4
4
  import { useFormAddProductsToCart } from '@graphcommerce/magento-product/components'
5
- import { filterNonNullableKeys, nonNullable, SectionHeader } from '@graphcommerce/next-ui'
5
+ import { SectionHeader, filterNonNullableKeys, nonNullable } from '@graphcommerce/next-ui'
6
6
  import { useWatch } from '@graphcommerce/react-hook-form'
7
7
  import { i18n } from '@lingui/core'
8
8
  import type { SxProps, Theme } from '@mui/material'
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.103",
5
+ "version": "9.0.0-canary.105",
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.103",
16
- "@graphcommerce/eslint-config-pwa": "^9.0.0-canary.103",
17
- "@graphcommerce/graphql": "^9.0.0-canary.103",
18
- "@graphcommerce/graphql-mesh": "^9.0.0-canary.103",
19
- "@graphcommerce/image": "^9.0.0-canary.103",
20
- "@graphcommerce/lingui-next": "9.0.0-canary.103",
21
- "@graphcommerce/magento-cart": "^9.0.0-canary.103",
22
- "@graphcommerce/magento-cart-items": "^9.0.0-canary.103",
23
- "@graphcommerce/magento-category": "^9.0.0-canary.103",
24
- "@graphcommerce/magento-customer": "^9.0.0-canary.103",
25
- "@graphcommerce/magento-product": "^9.0.0-canary.103",
26
- "@graphcommerce/magento-product-simple": "^9.0.0-canary.103",
27
- "@graphcommerce/magento-store": "^9.0.0-canary.103",
28
- "@graphcommerce/next-ui": "^9.0.0-canary.103",
29
- "@graphcommerce/prettier-config-pwa": "^9.0.0-canary.103",
30
- "@graphcommerce/react-hook-form": "^9.0.0-canary.103",
31
- "@graphcommerce/typescript-config-pwa": "^9.0.0-canary.103",
15
+ "@graphcommerce/ecommerce-ui": "^9.0.0-canary.105",
16
+ "@graphcommerce/eslint-config-pwa": "^9.0.0-canary.105",
17
+ "@graphcommerce/graphql": "^9.0.0-canary.105",
18
+ "@graphcommerce/graphql-mesh": "^9.0.0-canary.105",
19
+ "@graphcommerce/image": "^9.0.0-canary.105",
20
+ "@graphcommerce/lingui-next": "9.0.0-canary.105",
21
+ "@graphcommerce/magento-cart": "^9.0.0-canary.105",
22
+ "@graphcommerce/magento-cart-items": "^9.0.0-canary.105",
23
+ "@graphcommerce/magento-category": "^9.0.0-canary.105",
24
+ "@graphcommerce/magento-customer": "^9.0.0-canary.105",
25
+ "@graphcommerce/magento-product": "^9.0.0-canary.105",
26
+ "@graphcommerce/magento-product-simple": "^9.0.0-canary.105",
27
+ "@graphcommerce/magento-store": "^9.0.0-canary.105",
28
+ "@graphcommerce/next-ui": "^9.0.0-canary.105",
29
+ "@graphcommerce/prettier-config-pwa": "^9.0.0-canary.105",
30
+ "@graphcommerce/react-hook-form": "^9.0.0-canary.105",
31
+ "@graphcommerce/typescript-config-pwa": "^9.0.0-canary.105",
32
32
  "@lingui/core": "^4.2.1",
33
33
  "@lingui/macro": "^4.2.1",
34
34
  "@lingui/react": "^4.2.1",
@@ -1,6 +1,6 @@
1
1
  import { mergeDeep } from '@graphcommerce/graphql'
2
2
  import type { ProductPageMetaProps } from '@graphcommerce/magento-product'
3
- import { productLink, type AddToCartItemSelector } from '@graphcommerce/magento-product'
3
+ import { type AddToCartItemSelector, productLink } from '@graphcommerce/magento-product'
4
4
  import type { PluginConfig, PluginProps } from '@graphcommerce/next-config'
5
5
  import { useRouter } from 'next/router'
6
6
  import { useEffect } from 'react'