@graphcommerce/magento-cart-pickup 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 CHANGED
@@ -1,5 +1,9 @@
1
1
  # Change Log
2
2
 
3
+ ## 9.0.0-canary.80
4
+
5
+ ## 9.0.0-canary.79
6
+
3
7
  ## 9.0.0-canary.78
4
8
 
5
9
  ## 9.0.0-canary.77
@@ -1,4 +1,5 @@
1
- import { ActionCard, ActionCardItemRenderProps } from '@graphcommerce/next-ui'
1
+ import { ActionCardItemRenderProps } from '@graphcommerce/ecommerce-ui'
2
+ import { ActionCard } from '@graphcommerce/next-ui'
2
3
  import { Trans } from '@lingui/react'
3
4
  import { Box, Button } from '@mui/material'
4
5
  import { GetPickupLocationsForProductsQuery } from '../graphql/GetPickupLocationsForProducts.gql'
@@ -1,4 +1,6 @@
1
1
  import {
2
+ ActionCardItemBase,
3
+ ActionCardListForm,
2
4
  ApolloErrorAlert,
3
5
  TextFieldElement,
4
6
  useFormCompose,
@@ -9,16 +11,16 @@ import { ProductInfoInput } from '@graphcommerce/graphql-mesh'
9
11
  import { useCartQuery, useFormGqlMutationCart } from '@graphcommerce/magento-cart'
10
12
  import { useShippingMethod } from '@graphcommerce/magento-cart-shipping-method'
11
13
  import { GetShippingMethodsDocument } from '@graphcommerce/magento-cart-shipping-method/components/ShippingMethodForm/GetShippingMethods.gql'
12
- import { ActionCardItemBase, ActionCardListForm, FormRow } from '@graphcommerce/next-ui'
14
+ import { FormRow } from '@graphcommerce/next-ui'
13
15
  import { Trans } from '@lingui/react'
14
- import { useMemo, useDeferredValue } from 'react'
16
+ import { useDeferredValue, useMemo } from 'react'
15
17
  import { GetPickupLocationsForProductsDocument } from '../graphql/GetPickupLocationsForProducts.gql'
16
18
  import {
17
19
  SetPickupLocationOnCartDocument,
18
20
  SetPickupLocationOnCartMutation,
19
21
  SetPickupLocationOnCartMutationVariables,
20
22
  } from '../graphql/SetPickupLocationOnCart.gql'
21
- import { PickupLocationActionCard, Location } from './PickupLocationActionCard'
23
+ import { Location, PickupLocationActionCard } from './PickupLocationActionCard'
22
24
 
23
25
  export type PickupLocationFormProps = Pick<UseFormComposeOptions, 'step'>
24
26
 
@@ -42,7 +44,7 @@ export function PickupLocationForm(props: PickupLocationFormProps) {
42
44
 
43
45
  const defaultSearchTerm = shippingAddress?.pickup_location_code
44
46
  ? undefined
45
- : shippingAddress?.postcode ?? undefined
47
+ : (shippingAddress?.postcode ?? undefined)
46
48
 
47
49
  const form = useFormGqlMutationCart<
48
50
  SetPickupLocationOnCartMutation,
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/magento-cart-pickup",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "9.0.0-canary.78",
5
+ "version": "9.0.0-canary.80",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -12,18 +12,18 @@
12
12
  }
13
13
  },
14
14
  "peerDependencies": {
15
- "@graphcommerce/ecommerce-ui": "^9.0.0-canary.78",
16
- "@graphcommerce/eslint-config-pwa": "^9.0.0-canary.78",
17
- "@graphcommerce/graphql": "^9.0.0-canary.78",
18
- "@graphcommerce/graphql-mesh": "^9.0.0-canary.78",
19
- "@graphcommerce/image": "^9.0.0-canary.78",
20
- "@graphcommerce/magento-cart": "^9.0.0-canary.78",
21
- "@graphcommerce/magento-cart-shipping-method": "^9.0.0-canary.78",
22
- "@graphcommerce/magento-store": "^9.0.0-canary.78",
23
- "@graphcommerce/next-ui": "^9.0.0-canary.78",
24
- "@graphcommerce/prettier-config-pwa": "^9.0.0-canary.78",
25
- "@graphcommerce/react-hook-form": "^9.0.0-canary.78",
26
- "@graphcommerce/typescript-config-pwa": "^9.0.0-canary.78",
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/magento-cart": "^9.0.0-canary.80",
21
+ "@graphcommerce/magento-cart-shipping-method": "^9.0.0-canary.80",
22
+ "@graphcommerce/magento-store": "^9.0.0-canary.80",
23
+ "@graphcommerce/next-ui": "^9.0.0-canary.80",
24
+ "@graphcommerce/prettier-config-pwa": "^9.0.0-canary.80",
25
+ "@graphcommerce/react-hook-form": "^9.0.0-canary.80",
26
+ "@graphcommerce/typescript-config-pwa": "^9.0.0-canary.80",
27
27
  "@lingui/core": "^4.2.1",
28
28
  "@lingui/macro": "^4.2.1",
29
29
  "@lingui/react": "^4.2.1",