@graphcommerce/magento-cart-pickup 3.1.19 → 3.2.0

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,20 @@
1
1
  # Change Log
2
2
 
3
+ ## 3.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#1642](https://github.com/graphcommerce-org/graphcommerce/pull/1642) [`ad63ebf4e`](https://github.com/graphcommerce-org/graphcommerce/commit/ad63ebf4e33bfb0e5c9e5e68ab69b14775f3f8a8) Thanks [@paales](https://github.com/paales)! - Introduced `<AddProductsToCartForm/>`, which is allows for adding all product types to the cart with a single react-hook-form form.
8
+
9
+ Which allows you to fully compose the form on the product page without having to modify the page.
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies [[`ad63ebf4e`](https://github.com/graphcommerce-org/graphcommerce/commit/ad63ebf4e33bfb0e5c9e5e68ab69b14775f3f8a8)]:
14
+ - @graphcommerce/magento-cart-shipping-method@3.7.0
15
+ - @graphcommerce/magento-store@4.3.0
16
+ - @graphcommerce/next-ui@4.27.0
17
+
3
18
  ## 3.1.19
4
19
 
5
20
  ### Patch Changes
@@ -52,12 +52,12 @@ export function PickupLocationActionCard(props: ActionCardItemRenderProps<Locati
52
52
  </>
53
53
  }
54
54
  action={
55
- <Button disableRipple variant='inline' color='secondary'>
55
+ <Button disableTouchRipple variant='inline' color='secondary'>
56
56
  <Trans id='Select' />
57
57
  </Button>
58
58
  }
59
59
  reset={
60
- <Button disableRipple variant='inline' color='secondary' onClick={onReset}>
60
+ <Button disableTouchRipple variant='inline' color='secondary' onClick={onReset}>
61
61
  <Trans id='Change' />
62
62
  </Button>
63
63
  }
@@ -108,6 +108,9 @@ export function PickupLocationForm(props: PickupLocationFormProps) {
108
108
  control={control}
109
109
  name='pickupLocationCode'
110
110
  errorMessage='Please select a pickup location'
111
+ collapse
112
+ size='large'
113
+ color='secondary'
111
114
  items={locations.map((location) => ({
112
115
  ...location,
113
116
  value: String(location?.pickup_location_code),
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": "3.1.19",
5
+ "version": "3.2.0",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -20,9 +20,9 @@
20
20
  "dependencies": {
21
21
  "@graphcommerce/graphql": "3.4.8",
22
22
  "@graphcommerce/image": "3.1.9",
23
- "@graphcommerce/magento-cart-shipping-method": "3.6.9",
24
- "@graphcommerce/magento-store": "4.2.35",
25
- "@graphcommerce/next-ui": "4.26.0",
23
+ "@graphcommerce/magento-cart-shipping-method": "3.7.0",
24
+ "@graphcommerce/magento-store": "4.3.0",
25
+ "@graphcommerce/next-ui": "4.27.0",
26
26
  "@graphcommerce/react-hook-form": "3.3.3"
27
27
  },
28
28
  "peerDependencies": {