@graphcommerce/magento-cart-pickup 9.0.0-canary.59 → 9.0.0-canary.60
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 +6 -0
- package/package.json +13 -13
- package/plugins/AddPickupInStore.tsx +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 9.0.0-canary.60
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#2331](https://github.com/graphcommerce-org/graphcommerce/pull/2331) [`702bfc9`](https://github.com/graphcommerce-org/graphcommerce/commit/702bfc93566c9745546988e57988431d5d4d8cb0) - Moved plugins to new format ([@paales](https://github.com/paales))
|
|
8
|
+
|
|
3
9
|
## 9.0.0-canary.59
|
|
4
10
|
|
|
5
11
|
## 9.0.0-canary.58
|
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.
|
|
5
|
+
"version": "9.0.0-canary.60",
|
|
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.
|
|
16
|
-
"@graphcommerce/eslint-config-pwa": "^9.0.0-canary.
|
|
17
|
-
"@graphcommerce/graphql": "^9.0.0-canary.
|
|
18
|
-
"@graphcommerce/graphql-mesh": "^9.0.0-canary.
|
|
19
|
-
"@graphcommerce/image": "^9.0.0-canary.
|
|
20
|
-
"@graphcommerce/magento-cart": "^9.0.0-canary.
|
|
21
|
-
"@graphcommerce/magento-cart-shipping-method": "^9.0.0-canary.
|
|
22
|
-
"@graphcommerce/magento-store": "^9.0.0-canary.
|
|
23
|
-
"@graphcommerce/next-ui": "^9.0.0-canary.
|
|
24
|
-
"@graphcommerce/prettier-config-pwa": "^9.0.0-canary.
|
|
25
|
-
"@graphcommerce/react-hook-form": "^9.0.0-canary.
|
|
26
|
-
"@graphcommerce/typescript-config-pwa": "^9.0.0-canary.
|
|
15
|
+
"@graphcommerce/ecommerce-ui": "^9.0.0-canary.60",
|
|
16
|
+
"@graphcommerce/eslint-config-pwa": "^9.0.0-canary.60",
|
|
17
|
+
"@graphcommerce/graphql": "^9.0.0-canary.60",
|
|
18
|
+
"@graphcommerce/graphql-mesh": "^9.0.0-canary.60",
|
|
19
|
+
"@graphcommerce/image": "^9.0.0-canary.60",
|
|
20
|
+
"@graphcommerce/magento-cart": "^9.0.0-canary.60",
|
|
21
|
+
"@graphcommerce/magento-cart-shipping-method": "^9.0.0-canary.60",
|
|
22
|
+
"@graphcommerce/magento-store": "^9.0.0-canary.60",
|
|
23
|
+
"@graphcommerce/next-ui": "^9.0.0-canary.60",
|
|
24
|
+
"@graphcommerce/prettier-config-pwa": "^9.0.0-canary.60",
|
|
25
|
+
"@graphcommerce/react-hook-form": "^9.0.0-canary.60",
|
|
26
|
+
"@graphcommerce/typescript-config-pwa": "^9.0.0-canary.60",
|
|
27
27
|
"@lingui/core": "^4.2.1",
|
|
28
28
|
"@lingui/macro": "^4.2.1",
|
|
29
29
|
"@lingui/react": "^4.2.1",
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { ShippingMethodFormProps } from '@graphcommerce/magento-cart-shipping-method'
|
|
2
|
-
import type { PluginProps } from '@graphcommerce/next-config'
|
|
2
|
+
import type { PluginConfig, PluginProps } from '@graphcommerce/next-config'
|
|
3
3
|
import { PickupLocationSelector } from '../components/PickupLocationSelector'
|
|
4
4
|
|
|
5
|
-
export const
|
|
6
|
-
|
|
5
|
+
export const config: PluginConfig = {
|
|
6
|
+
type: 'component',
|
|
7
|
+
module: '@graphcommerce/magento-cart-shipping-method',
|
|
8
|
+
}
|
|
7
9
|
|
|
8
|
-
function
|
|
10
|
+
export function ShippingMethodForm(props: PluginProps<ShippingMethodFormProps>) {
|
|
9
11
|
const { Prev, children, step, ...rest } = props
|
|
10
12
|
return (
|
|
11
13
|
<Prev {...rest} step={step}>
|
|
@@ -14,5 +16,3 @@ function AddPickupInStore(props: PluginProps<ShippingMethodFormProps>) {
|
|
|
14
16
|
</Prev>
|
|
15
17
|
)
|
|
16
18
|
}
|
|
17
|
-
|
|
18
|
-
export const Plugin = AddPickupInStore
|