@graphcommerce/magento-cart-items 8.1.0-canary.43 → 8.1.0-canary.45

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,14 @@
1
1
  # Change Log
2
2
 
3
+ ## 8.1.0-canary.45
4
+
5
+ ### Patch Changes
6
+
7
+ - [#2216](https://github.com/graphcommerce-org/graphcommerce/pull/2216) [`c30ac07`](https://github.com/graphcommerce-org/graphcommerce/commit/c30ac07d1e9aee5fb3df483404d8a8ca853c93ce) - Make sure the edit cart item isn't shown for an order
8
+ ([@paales](https://github.com/paales))
9
+
10
+ ## 8.1.0-canary.44
11
+
3
12
  ## 8.1.0-canary.43
4
13
 
5
14
  ## 8.1.0-canary.42
@@ -5,7 +5,7 @@ import {
5
5
  ProductScroller,
6
6
  ProductScrollerProps,
7
7
  } from '@graphcommerce/magento-product'
8
- import { Trans } from '@lingui/react'
8
+ import { Trans } from '@lingui/macro'
9
9
 
10
10
  export type CartItemCrosssellsProps = {
11
11
  renderer: ProductListItemRenderer
@@ -24,7 +24,7 @@ export function CartCrosssellsScroller(props: CartItemCrosssellsProps) {
24
24
  productListRenderer={renderer}
25
25
  items={crossSellItems}
26
26
  sx={sx}
27
- title={title ?? <Trans id='Complete your purchase' />}
27
+ title={title ?? <Trans>Complete your purchase</Trans>}
28
28
  titleProps={{ variant: 'h6', ...titleProps }}
29
29
  />
30
30
  </AddProductsToCartForm>
@@ -138,7 +138,7 @@ export function CartItemActionCard(props: CartItemActionCardProps) {
138
138
 
139
139
  <Money value={price} currency={prices?.price.currency} />
140
140
  </Box>
141
- {hasOptions && (
141
+ {hasOptions && !readOnly && (
142
142
  <Button
143
143
  variant='inline'
144
144
  color='secondary'
@@ -38,7 +38,7 @@ export function UpdateItemQuantity(props: UpdateItemQuantityProps) {
38
38
 
39
39
  return (
40
40
  <form noValidate onSubmit={submit}>
41
- <FormAutoSubmit control={control} submit={submit} initialWait={0} />
41
+ <FormAutoSubmit control={control} submit={submit} leading />
42
42
  <NumberFieldElement
43
43
  control={control}
44
44
  name='quantity'
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/magento-cart-items",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "8.1.0-canary.43",
5
+ "version": "8.1.0-canary.45",
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/eslint-config-pwa": "^8.1.0-canary.43",
16
- "@graphcommerce/framer-next-pages": "^8.1.0-canary.43",
17
- "@graphcommerce/graphql": "^8.1.0-canary.43",
18
- "@graphcommerce/image": "^8.1.0-canary.43",
19
- "@graphcommerce/magento-cart": "^8.1.0-canary.43",
20
- "@graphcommerce/magento-customer": "^8.1.0-canary.43",
21
- "@graphcommerce/magento-product": "^8.1.0-canary.43",
22
- "@graphcommerce/magento-store": "^8.1.0-canary.43",
23
- "@graphcommerce/next-ui": "^8.1.0-canary.43",
24
- "@graphcommerce/prettier-config-pwa": "^8.1.0-canary.43",
25
- "@graphcommerce/react-hook-form": "^8.1.0-canary.43",
26
- "@graphcommerce/typescript-config-pwa": "^8.1.0-canary.43",
15
+ "@graphcommerce/eslint-config-pwa": "^8.1.0-canary.45",
16
+ "@graphcommerce/framer-next-pages": "^8.1.0-canary.45",
17
+ "@graphcommerce/graphql": "^8.1.0-canary.45",
18
+ "@graphcommerce/image": "^8.1.0-canary.45",
19
+ "@graphcommerce/magento-cart": "^8.1.0-canary.45",
20
+ "@graphcommerce/magento-customer": "^8.1.0-canary.45",
21
+ "@graphcommerce/magento-product": "^8.1.0-canary.45",
22
+ "@graphcommerce/magento-store": "^8.1.0-canary.45",
23
+ "@graphcommerce/next-ui": "^8.1.0-canary.45",
24
+ "@graphcommerce/prettier-config-pwa": "^8.1.0-canary.45",
25
+ "@graphcommerce/react-hook-form": "^8.1.0-canary.45",
26
+ "@graphcommerce/typescript-config-pwa": "^8.1.0-canary.45",
27
27
  "@lingui/core": "^4.2.1",
28
28
  "@lingui/macro": "^4.2.1",
29
29
  "@lingui/react": "^4.2.1",