@akinon/pz-click-collect 1.46.0 → 1.47.0-rc.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +10 -0
- package/README.md +4 -22
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
# @akinon/pz-click-collect
|
2
2
|
|
3
|
+
## 1.47.0-rc.1
|
4
|
+
|
5
|
+
## 1.47.0-rc.0
|
6
|
+
|
7
|
+
### Minor Changes
|
8
|
+
|
9
|
+
- 50b9069: ZERO-2767: update plugin readme files
|
10
|
+
- 714e0b4: ZERO-2759: update pz-click-collect peer dependencies
|
11
|
+
- 64699d3: ZERO-2761: Fix invalid import for plugin module
|
12
|
+
|
3
13
|
## 1.46.0
|
4
14
|
|
5
15
|
## 1.45.0
|
package/README.md
CHANGED
@@ -1,31 +1,13 @@
|
|
1
|
-
# pz-click-collect
|
1
|
+
# @akinon/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 @akinon/pz-click-collect
|
8
8
|
|
9
|
-
#
|
10
|
-
|
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}/>
|
9
|
+
# Preferred installation method
|
10
|
+
npx @akinon/projectzero@latest --plugins
|
29
11
|
```
|
30
12
|
|
31
13
|
### Props
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@akinon/pz-click-collect",
|
3
|
-
"version": "1.
|
3
|
+
"version": "1.47.0-rc.1",
|
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": "^18.0.0",
|
16
|
+
"react-dom": "^18.0.0"
|
17
17
|
}
|
18
18
|
}
|