@akinon/pz-akifast 2.0.0-beta.12 → 2.0.0-beta.13
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 +68 -27
- package/package.json +9 -9
- package/src/views/QuickLoginButton.tsx +23 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,63 +1,104 @@
|
|
|
1
1
|
# @akinon/pz-akifast
|
|
2
2
|
|
|
3
|
-
## 2.0.0-beta.
|
|
3
|
+
## 2.0.0-beta.13
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## 1.118.0
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
## 1.117.0
|
|
8
8
|
|
|
9
|
-
##
|
|
9
|
+
## 1.116.0
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
## 1.115.0
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
## 1.114.0
|
|
14
14
|
|
|
15
|
-
##
|
|
15
|
+
## 1.113.0
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
## 1.112.0
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
## 1.111.0
|
|
20
20
|
|
|
21
|
-
##
|
|
21
|
+
## 1.110.0
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
## 1.109.0
|
|
24
|
+
|
|
25
|
+
## 1.108.0
|
|
26
|
+
|
|
27
|
+
## 1.107.0
|
|
28
|
+
|
|
29
|
+
## 1.106.0
|
|
24
30
|
|
|
25
|
-
|
|
31
|
+
## 1.105.0
|
|
26
32
|
|
|
27
|
-
##
|
|
33
|
+
## 1.104.0
|
|
28
34
|
|
|
29
|
-
##
|
|
35
|
+
## 1.103.0
|
|
30
36
|
|
|
31
|
-
##
|
|
37
|
+
## 1.102.0
|
|
38
|
+
|
|
39
|
+
## 1.101.0
|
|
40
|
+
|
|
41
|
+
## 1.100.0
|
|
42
|
+
|
|
43
|
+
## 1.99.0
|
|
32
44
|
|
|
33
45
|
### Minor Changes
|
|
34
46
|
|
|
35
|
-
-
|
|
47
|
+
- d58538b: ZERO-3638: Enhance RC pipeline: add fetch, merge, and pre-release setup with conditional commit
|
|
48
|
+
|
|
49
|
+
## 1.98.0
|
|
50
|
+
|
|
51
|
+
## 1.97.0
|
|
52
|
+
|
|
53
|
+
## 1.96.0
|
|
36
54
|
|
|
37
|
-
##
|
|
55
|
+
## 1.95.0
|
|
38
56
|
|
|
39
|
-
##
|
|
57
|
+
## 1.94.0
|
|
40
58
|
|
|
41
|
-
##
|
|
59
|
+
## 1.93.0
|
|
42
60
|
|
|
43
|
-
##
|
|
61
|
+
## 1.92.0
|
|
62
|
+
|
|
63
|
+
## 1.91.0
|
|
64
|
+
|
|
65
|
+
## 1.90.0
|
|
44
66
|
|
|
45
67
|
### Minor Changes
|
|
46
68
|
|
|
47
|
-
-
|
|
48
|
-
|
|
69
|
+
- 2657d0c: ZERO-3376: Add customization options for QuickLoginButton and CheckoutButton components
|
|
70
|
+
|
|
71
|
+
## 1.89.0
|
|
72
|
+
|
|
73
|
+
## 1.88.0
|
|
74
|
+
|
|
75
|
+
## 1.87.0
|
|
76
|
+
|
|
77
|
+
## 1.86.0
|
|
49
78
|
|
|
50
|
-
##
|
|
79
|
+
## 1.85.0
|
|
80
|
+
|
|
81
|
+
## 1.84.0
|
|
51
82
|
|
|
52
83
|
### Minor Changes
|
|
53
84
|
|
|
54
|
-
- ZERO-
|
|
85
|
+
- 624a4eb: ZERO-3276: Update installation instructions across multiple README files to standardize format and improve clarity
|
|
86
|
+
|
|
87
|
+
## 1.83.0
|
|
88
|
+
|
|
89
|
+
## 1.82.0
|
|
90
|
+
|
|
91
|
+
## 1.81.0
|
|
92
|
+
|
|
93
|
+
## 1.80.0
|
|
94
|
+
|
|
95
|
+
## 1.79.0
|
|
55
96
|
|
|
56
|
-
##
|
|
97
|
+
## 1.78.0
|
|
57
98
|
|
|
58
|
-
|
|
99
|
+
## 1.77.0
|
|
59
100
|
|
|
60
|
-
|
|
101
|
+
## 1.76.0
|
|
61
102
|
|
|
62
103
|
## 1.75.0
|
|
63
104
|
|
package/package.json
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@akinon/pz-akifast",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.13",
|
|
4
4
|
"main": "./src/index.ts",
|
|
5
5
|
"module": "./src/index.ts",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"peerDependencies": {
|
|
8
|
-
"react": "^19.0.0",
|
|
9
|
-
"react-dom": "^19.0.0",
|
|
8
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
9
|
+
"react-dom": "^18.0.0 || ^19.0.0",
|
|
10
10
|
"@reduxjs/toolkit": "^1.8.3",
|
|
11
11
|
"pz-one-click-checkout": "^1.40.0"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
|
-
"@types/node": "^
|
|
15
|
-
"@types/react": "^
|
|
16
|
-
"@types/react-dom": "^
|
|
17
|
-
"react": "^19.
|
|
18
|
-
"react-dom": "^19.
|
|
19
|
-
"typescript": "^5.
|
|
14
|
+
"@types/node": "^18.7.8",
|
|
15
|
+
"@types/react": "^18.0.17",
|
|
16
|
+
"@types/react-dom": "^18.0.6",
|
|
17
|
+
"react": "^19.2.4",
|
|
18
|
+
"react-dom": "^19.2.4",
|
|
19
|
+
"typescript": "^5.2.2",
|
|
20
20
|
"@reduxjs/toolkit": "^1.8.3"
|
|
21
21
|
}
|
|
22
22
|
}
|
|
@@ -2,6 +2,29 @@ import React from 'react';
|
|
|
2
2
|
import { Button } from '@akinon/next/components';
|
|
3
3
|
import { QuickLoginButtonProps } from '../types';
|
|
4
4
|
|
|
5
|
+
const DefaultButton = ({
|
|
6
|
+
buttonText,
|
|
7
|
+
disabled,
|
|
8
|
+
onClick,
|
|
9
|
+
rest
|
|
10
|
+
}: {
|
|
11
|
+
buttonText: string;
|
|
12
|
+
disabled: boolean;
|
|
13
|
+
onClick: () => void;
|
|
14
|
+
rest: React.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
15
|
+
}) => (
|
|
16
|
+
<Button
|
|
17
|
+
className="w-full h-14 uppercase text-xs font-semibold flex items-center justify-center gap-2 hover:bg-transparent hover:border hover:border-primary-800 hover:text-primary"
|
|
18
|
+
type="submit"
|
|
19
|
+
appearance="outlined"
|
|
20
|
+
disabled={disabled}
|
|
21
|
+
onClick={onClick}
|
|
22
|
+
{...rest}
|
|
23
|
+
>
|
|
24
|
+
{buttonText}
|
|
25
|
+
</Button>
|
|
26
|
+
);
|
|
27
|
+
|
|
5
28
|
export const QuickLoginButton = ({
|
|
6
29
|
buttonText = 'Quick Login',
|
|
7
30
|
isCaptchaVisible,
|
|
@@ -20,19 +43,6 @@ export const QuickLoginButton = ({
|
|
|
20
43
|
|
|
21
44
|
const isDisabled = isCaptchaVisible && !captchaValidated;
|
|
22
45
|
|
|
23
|
-
const DefaultButton = ({ buttonText, disabled, onClick, rest }) => (
|
|
24
|
-
<Button
|
|
25
|
-
className="w-full h-14 uppercase text-xs font-semibold flex items-center justify-center gap-2 hover:bg-transparent hover:border hover:border-primary-800 hover:text-primary"
|
|
26
|
-
type="submit"
|
|
27
|
-
appearance="outlined"
|
|
28
|
-
disabled={disabled}
|
|
29
|
-
onClick={onClick}
|
|
30
|
-
{...rest}
|
|
31
|
-
>
|
|
32
|
-
{buttonText}
|
|
33
|
-
</Button>
|
|
34
|
-
);
|
|
35
|
-
|
|
36
46
|
const RenderButton = renderer?.renderButton || DefaultButton;
|
|
37
47
|
|
|
38
48
|
return (
|