@akinon/pz-click-collect 1.50.0-rc.1 → 1.51.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +2 -8
- package/README.md +22 -4
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
@@ -1,14 +1,8 @@
|
|
1
1
|
# @akinon/pz-click-collect
|
2
2
|
|
3
|
-
## 1.
|
3
|
+
## 1.51.0
|
4
4
|
|
5
|
-
## 1.50.0
|
6
|
-
|
7
|
-
### Minor Changes
|
8
|
-
|
9
|
-
- 50b90692: ZERO-2767: update plugin readme files
|
10
|
-
- 714e0b46: ZERO-2759: update pz-click-collect peer dependencies
|
11
|
-
- 64699d3: ZERO-2761: Fix invalid import for plugin module
|
5
|
+
## 1.50.0
|
12
6
|
|
13
7
|
## 1.49.0
|
14
8
|
|
package/README.md
CHANGED
@@ -1,13 +1,31 @@
|
|
1
|
-
#
|
1
|
+
# pz-click-collect
|
2
2
|
|
3
3
|
### Install the npm package
|
4
4
|
|
5
5
|
```bash
|
6
6
|
# For latest version
|
7
|
-
yarn add @
|
7
|
+
yarn add git+ssh://git@bitbucket.org:akinonteam/pz-click-collect.git
|
8
8
|
|
9
|
-
#
|
10
|
-
|
9
|
+
# For specific version
|
10
|
+
yarn add git+ssh://git@bitbucket.org:akinonteam/pz-click-collect.git#COMMIT_HASH
|
11
|
+
```
|
12
|
+
|
13
|
+
### Next Config Configuration
|
14
|
+
|
15
|
+
##### next.config.js**
|
16
|
+
|
17
|
+
```javascript
|
18
|
+
const withTM = require("next-transpile-modules")(["pz-click-collect"]);
|
19
|
+
```
|
20
|
+
|
21
|
+
### Example Usage
|
22
|
+
##### File Path: src/views/checkout/steps/shipping/addresses.tsx
|
23
|
+
|
24
|
+
|
25
|
+
```javascript
|
26
|
+
import ClickCollect from 'pz-click-collect';
|
27
|
+
|
28
|
+
<ClickCollect addressTypeParam={addressType.requestParam}/>
|
11
29
|
```
|
12
30
|
|
13
31
|
### Props
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@akinon/pz-click-collect",
|
3
|
-
"version": "1.
|
3
|
+
"version": "1.51.0",
|
4
4
|
"main": "./src/index.tsx",
|
5
5
|
"module": "./src/index.tsx",
|
6
6
|
"license": "MIT",
|
@@ -12,7 +12,7 @@
|
|
12
12
|
"typescript": "^4.7.4"
|
13
13
|
},
|
14
14
|
"peerDependencies": {
|
15
|
-
"react": "^
|
16
|
-
"react-dom": "^
|
15
|
+
"react": "^16.8.0",
|
16
|
+
"react-dom": "^16.8.0"
|
17
17
|
}
|
18
18
|
}
|