@graphcommerce/magento-product-configurable 9.0.0-canary.88 → 9.0.0-canary.92

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,17 @@
1
1
  # Change Log
2
2
 
3
+ ## 9.0.0-canary.92
4
+
5
+ ## 9.0.0-canary.91
6
+
7
+ ## 9.0.0-canary.90
8
+
9
+ ### Patch Changes
10
+
11
+ - [#2397](https://github.com/graphcommerce-org/graphcommerce/pull/2397) [`d4d5a98`](https://github.com/graphcommerce-org/graphcommerce/commit/d4d5a983dea6d034dcbdeed9cf30fb33133dde39) - Add requireOptionSelection boolean to prevent users from deselecting configurable options ([@carlocarels90](https://github.com/carlocarels90))
12
+
13
+ ## 9.0.0-canary.89
14
+
3
15
  ## 9.0.0-canary.88
4
16
 
5
17
  ## 9.0.0-canary.87
@@ -1,3 +1,4 @@
1
+ import { ActionCardRequireOptionSelection } from '@graphcommerce/ecommerce-ui'
1
2
  import { AddToCartItemSelector, useFormAddProductsToCart } from '@graphcommerce/magento-product'
2
3
  import { filterNonNullableKeys, ActionCardListProps, useLocale } from '@graphcommerce/next-ui'
3
4
  import { i18n } from '@lingui/core'
@@ -13,7 +14,8 @@ export type ConfigurableProductOptionsProps = AddToCartItemSelector & {
13
14
  sx?: SxProps<Theme>
14
15
  render?: typeof ConfigurableOptionValue
15
16
  product: ConfigurableOptionsFragment
16
- } & Pick<ActionCardListProps, 'color' | 'variant' | 'size' | 'layout' | 'collapse'>
17
+ } & Pick<ActionCardListProps, 'color' | 'variant' | 'size' | 'layout' | 'collapse'> &
18
+ ActionCardRequireOptionSelection
17
19
 
18
20
  export function ConfigurableProductOptions(props: ConfigurableProductOptionsProps) {
19
21
  const {
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.88",
5
+ "version": "9.0.0-canary.92",
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.88",
16
- "@graphcommerce/eslint-config-pwa": "^9.0.0-canary.88",
17
- "@graphcommerce/graphql": "^9.0.0-canary.88",
18
- "@graphcommerce/graphql-mesh": "^9.0.0-canary.88",
19
- "@graphcommerce/image": "^9.0.0-canary.88",
20
- "@graphcommerce/lingui-next": "9.0.0-canary.88",
21
- "@graphcommerce/magento-cart": "^9.0.0-canary.88",
22
- "@graphcommerce/magento-cart-items": "^9.0.0-canary.88",
23
- "@graphcommerce/magento-category": "^9.0.0-canary.88",
24
- "@graphcommerce/magento-customer": "^9.0.0-canary.88",
25
- "@graphcommerce/magento-product": "^9.0.0-canary.88",
26
- "@graphcommerce/magento-product-simple": "^9.0.0-canary.88",
27
- "@graphcommerce/magento-store": "^9.0.0-canary.88",
28
- "@graphcommerce/next-ui": "^9.0.0-canary.88",
29
- "@graphcommerce/prettier-config-pwa": "^9.0.0-canary.88",
30
- "@graphcommerce/react-hook-form": "^9.0.0-canary.88",
31
- "@graphcommerce/typescript-config-pwa": "^9.0.0-canary.88",
15
+ "@graphcommerce/ecommerce-ui": "^9.0.0-canary.92",
16
+ "@graphcommerce/eslint-config-pwa": "^9.0.0-canary.92",
17
+ "@graphcommerce/graphql": "^9.0.0-canary.92",
18
+ "@graphcommerce/graphql-mesh": "^9.0.0-canary.92",
19
+ "@graphcommerce/image": "^9.0.0-canary.92",
20
+ "@graphcommerce/lingui-next": "9.0.0-canary.92",
21
+ "@graphcommerce/magento-cart": "^9.0.0-canary.92",
22
+ "@graphcommerce/magento-cart-items": "^9.0.0-canary.92",
23
+ "@graphcommerce/magento-category": "^9.0.0-canary.92",
24
+ "@graphcommerce/magento-customer": "^9.0.0-canary.92",
25
+ "@graphcommerce/magento-product": "^9.0.0-canary.92",
26
+ "@graphcommerce/magento-product-simple": "^9.0.0-canary.92",
27
+ "@graphcommerce/magento-store": "^9.0.0-canary.92",
28
+ "@graphcommerce/next-ui": "^9.0.0-canary.92",
29
+ "@graphcommerce/prettier-config-pwa": "^9.0.0-canary.92",
30
+ "@graphcommerce/react-hook-form": "^9.0.0-canary.92",
31
+ "@graphcommerce/typescript-config-pwa": "^9.0.0-canary.92",
32
32
  "@lingui/core": "^4.2.1",
33
33
  "@lingui/macro": "^4.2.1",
34
34
  "@lingui/react": "^4.2.1",