@akinon/pz-pay-on-delivery 2.0.0-beta.0 → 2.0.0-beta.1
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 +9 -9
- package/src/index.tsx +1 -0
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@akinon/pz-pay-on-delivery",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "src/index.tsx",
|
|
6
6
|
"peerDependencies": {
|
|
7
|
-
"react": "^
|
|
8
|
-
"react-dom": "^
|
|
7
|
+
"react": "^19.0.0",
|
|
8
|
+
"react-dom": "^19.0.0"
|
|
9
9
|
},
|
|
10
10
|
"devDependencies": {
|
|
11
|
-
"@types/node": "^
|
|
12
|
-
"@types/react": "^
|
|
13
|
-
"@types/react-dom": "^
|
|
14
|
-
"react": "^
|
|
15
|
-
"react-dom": "^
|
|
16
|
-
"typescript": "^
|
|
11
|
+
"@types/node": "^22.10.2",
|
|
12
|
+
"@types/react": "^19.0.2",
|
|
13
|
+
"@types/react-dom": "^19.0.2",
|
|
14
|
+
"react": "^19.0.0",
|
|
15
|
+
"react-dom": "^19.0.0",
|
|
16
|
+
"typescript": "^5.7.2",
|
|
17
17
|
"react-hook-form": "7.31.3",
|
|
18
18
|
"@hookform/resolvers": "2.9.0"
|
|
19
19
|
}
|
package/src/index.tsx
CHANGED
|
@@ -164,6 +164,7 @@ export const PayOnDelivery = ({
|
|
|
164
164
|
<div className="flex items-start flex-col border-solid border-gray-400 py-4 space-y-4">
|
|
165
165
|
{agreementCheckbox &&
|
|
166
166
|
React.cloneElement(agreementCheckbox, {
|
|
167
|
+
// @ts-ignore
|
|
167
168
|
control,
|
|
168
169
|
error: errors.agreement,
|
|
169
170
|
fieldId: 'agreement'
|