@akinon/pz-akifast 2.0.0-beta.12 → 2.0.0-beta.14

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 CHANGED
@@ -1,63 +1,106 @@
1
1
  # @akinon/pz-akifast
2
2
 
3
- ## 2.0.0-beta.12
3
+ ## 2.0.0-beta.14
4
4
 
5
- ### Minor Changes
5
+ ## 2.0.0-beta.13
6
6
 
7
- - 1d79e32: ZERO-3540: Next.js Upgrade to 15.4.5
7
+ ## 1.118.0
8
8
 
9
- ## 2.0.0-beta.11
9
+ ## 1.117.0
10
10
 
11
- ### Minor Changes
11
+ ## 1.116.0
12
12
 
13
- - ac783d6: ZERO-3482: Update tailwindcss to version 4.1.11 and enhance button cursor styles
13
+ ## 1.115.0
14
14
 
15
- ## 2.0.0-beta.10
15
+ ## 1.114.0
16
16
 
17
- ### Minor Changes
17
+ ## 1.113.0
18
18
 
19
- - 2806320: ZERO-3390: Update version tailwindcss, autoprefixer, tailwind-merge, postcss
19
+ ## 1.112.0
20
20
 
21
- ## 2.0.0-beta.9
21
+ ## 1.111.0
22
22
 
23
- ### Minor Changes
23
+ ## 1.110.0
24
+
25
+ ## 1.109.0
26
+
27
+ ## 1.108.0
28
+
29
+ ## 1.107.0
24
30
 
25
- - 0fe7711: ZERO-3387: Upgrade nextjs, eslint-config-next
31
+ ## 1.106.0
26
32
 
27
- ## 2.0.0-beta.8
33
+ ## 1.105.0
28
34
 
29
- ## 2.0.0-beta.7
35
+ ## 1.104.0
30
36
 
31
- ## 2.0.0-beta.6
37
+ ## 1.103.0
38
+
39
+ ## 1.102.0
40
+
41
+ ## 1.101.0
42
+
43
+ ## 1.100.0
44
+
45
+ ## 1.99.0
32
46
 
33
47
  ### Minor Changes
34
48
 
35
- - 8f05f9b: ZERO-3250: Beta branch synchronized with Main branch
49
+ - d58538b: ZERO-3638: Enhance RC pipeline: add fetch, merge, and pre-release setup with conditional commit
50
+
51
+ ## 1.98.0
52
+
53
+ ## 1.97.0
36
54
 
37
- ## 2.0.0-beta.5
55
+ ## 1.96.0
38
56
 
39
- ## 2.0.0-beta.4
57
+ ## 1.95.0
40
58
 
41
- ## 2.0.0-beta.3
59
+ ## 1.94.0
42
60
 
43
- ## 2.0.0-beta.2
61
+ ## 1.93.0
62
+
63
+ ## 1.92.0
64
+
65
+ ## 1.91.0
66
+
67
+ ## 1.90.0
44
68
 
45
69
  ### Minor Changes
46
70
 
47
- - a006015: ZERO-3116: Add not-found page and update default middleware.
48
- - 1eeb3d8: ZERO-3116: Add not found page
71
+ - 2657d0c: ZERO-3376: Add customization options for QuickLoginButton and CheckoutButton components
72
+
73
+ ## 1.89.0
74
+
75
+ ## 1.88.0
76
+
77
+ ## 1.87.0
78
+
79
+ ## 1.86.0
49
80
 
50
- ## 2.0.0-beta.1
81
+ ## 1.85.0
82
+
83
+ ## 1.84.0
51
84
 
52
85
  ### Minor Changes
53
86
 
54
- - ZERO-3091: Upgrade Next.js to v15 and React to v19
87
+ - 624a4eb: ZERO-3276: Update installation instructions across multiple README files to standardize format and improve clarity
88
+
89
+ ## 1.83.0
90
+
91
+ ## 1.82.0
92
+
93
+ ## 1.81.0
94
+
95
+ ## 1.80.0
96
+
97
+ ## 1.79.0
55
98
 
56
- ## 2.0.0-beta.0
99
+ ## 1.78.0
57
100
 
58
- ### Major Changes
101
+ ## 1.77.0
59
102
 
60
- - be6c09d: ZERO-3114: Create beta version.
103
+ ## 1.76.0
61
104
 
62
105
  ## 1.75.0
63
106
 
package/package.json CHANGED
@@ -1,22 +1,22 @@
1
1
  {
2
2
  "name": "@akinon/pz-akifast",
3
- "version": "2.0.0-beta.12",
3
+ "version": "2.0.0-beta.14",
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": "^22.10.2",
15
- "@types/react": "^19.0.2",
16
- "@types/react-dom": "^19.0.2",
17
- "react": "^19.0.0",
18
- "react-dom": "^19.0.0",
19
- "typescript": "^5.7.2",
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 (