@graphcommerce/magento-cart-items 9.0.4-canary.10 → 9.0.4-canary.11

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,13 @@
1
1
  # Change Log
2
2
 
3
+ ## 9.0.4-canary.11
4
+
5
+ ### Patch Changes
6
+
7
+ - [#2485](https://github.com/graphcommerce-org/graphcommerce/pull/2485) [`875fbca`](https://github.com/graphcommerce-org/graphcommerce/commit/875fbcab9a26db8a33eca7cc9a41847c24cd8381) - Solve issue where the CartItem href wouldn't be correct ([@paales](https://github.com/paales))
8
+
9
+ - [#2485](https://github.com/graphcommerce-org/graphcommerce/pull/2485) [`dfd6359`](https://github.com/graphcommerce-org/graphcommerce/commit/dfd63593f31bd69d255a69dd7e9cb5471428c685) - Exported cartItemToCartItemInput so it can be extended with plugins ([@paales](https://github.com/paales))
10
+
3
11
  ## 9.0.4-canary.10
4
12
 
5
13
  ## 9.0.4-canary.9
@@ -1,6 +1,6 @@
1
1
  import { Image } from '@graphcommerce/image'
2
2
  import { useDisplayInclTax } from '@graphcommerce/magento-cart/hooks'
3
- import type { ProductLinkProps } from '@graphcommerce/magento-product'
3
+ import { productLink, productPath, type ProductLinkProps } from '@graphcommerce/magento-product'
4
4
  import { Money } from '@graphcommerce/magento-store'
5
5
  import type { ActionCardProps } from '@graphcommerce/next-ui'
6
6
  import { ActionCard, actionCardImageSizes, filterNonNullableKeys } from '@graphcommerce/next-ui'
@@ -107,7 +107,7 @@ export function CartItemActionCard(props: CartItemActionCardProps) {
107
107
  title={
108
108
  url_key ? (
109
109
  <Link
110
- href={url_key}
110
+ href={productPath(url_key)}
111
111
  underline='hover'
112
112
  sx={{
113
113
  color: 'inherit',
package/index.ts CHANGED
@@ -11,3 +11,4 @@ export * from './components/SelectedCustomizableOptions/SelectedCustomizableOpti
11
11
  export * from './components/UpdateItemQuantity/UpdateItemQuantity'
12
12
  export * from './components/EditCartItem'
13
13
  export * from './hooks/useRemoveItemFromCart'
14
+ export * from './utils/cartItemToCartItemInput'
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": "9.0.4-canary.10",
5
+ "version": "9.0.4-canary.11",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -12,19 +12,19 @@
12
12
  }
13
13
  },
14
14
  "peerDependencies": {
15
- "@graphcommerce/ecommerce-ui": "^9.0.4-canary.10",
16
- "@graphcommerce/eslint-config-pwa": "^9.0.4-canary.10",
17
- "@graphcommerce/framer-next-pages": "^9.0.4-canary.10",
18
- "@graphcommerce/graphql": "^9.0.4-canary.10",
19
- "@graphcommerce/image": "^9.0.4-canary.10",
20
- "@graphcommerce/magento-cart": "^9.0.4-canary.10",
21
- "@graphcommerce/magento-customer": "^9.0.4-canary.10",
22
- "@graphcommerce/magento-product": "^9.0.4-canary.10",
23
- "@graphcommerce/magento-store": "^9.0.4-canary.10",
24
- "@graphcommerce/next-ui": "^9.0.4-canary.10",
25
- "@graphcommerce/prettier-config-pwa": "^9.0.4-canary.10",
26
- "@graphcommerce/react-hook-form": "^9.0.4-canary.10",
27
- "@graphcommerce/typescript-config-pwa": "^9.0.4-canary.10",
15
+ "@graphcommerce/ecommerce-ui": "^9.0.4-canary.11",
16
+ "@graphcommerce/eslint-config-pwa": "^9.0.4-canary.11",
17
+ "@graphcommerce/framer-next-pages": "^9.0.4-canary.11",
18
+ "@graphcommerce/graphql": "^9.0.4-canary.11",
19
+ "@graphcommerce/image": "^9.0.4-canary.11",
20
+ "@graphcommerce/magento-cart": "^9.0.4-canary.11",
21
+ "@graphcommerce/magento-customer": "^9.0.4-canary.11",
22
+ "@graphcommerce/magento-product": "^9.0.4-canary.11",
23
+ "@graphcommerce/magento-store": "^9.0.4-canary.11",
24
+ "@graphcommerce/next-ui": "^9.0.4-canary.11",
25
+ "@graphcommerce/prettier-config-pwa": "^9.0.4-canary.11",
26
+ "@graphcommerce/react-hook-form": "^9.0.4-canary.11",
27
+ "@graphcommerce/typescript-config-pwa": "^9.0.4-canary.11",
28
28
  "@lingui/core": "^4.2.1",
29
29
  "@lingui/macro": "^4.2.1",
30
30
  "@lingui/react": "^4.2.1",