@akinon/pz-akifast 1.74.0 → 1.75.0

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,5 +1,11 @@
1
1
  # @akinon/pz-akifast
2
2
 
3
+ ## 1.75.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 0ab91e5: ZERO-2996: add rest props to QuickLoginButton component
8
+
3
9
  ## 1.74.0
4
10
 
5
11
  ## 1.73.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akinon/pz-akifast",
3
- "version": "1.74.0",
3
+ "version": "1.75.0",
4
4
  "main": "./src/index.ts",
5
5
  "module": "./src/index.ts",
6
6
  "license": "MIT",
@@ -12,8 +12,9 @@ export const QuickLoginButton = ({
12
12
  buttonText = 'Quick Login',
13
13
  isCaptchaVisible,
14
14
  captchaValidated,
15
- settings
16
- }: QuickLoginButtonProps) => {
15
+ settings,
16
+ ...rest
17
+ }: QuickLoginButtonProps & React.ButtonHTMLAttributes<HTMLButtonElement>) => {
17
18
  if (settings?.quickLogin === false) {
18
19
  return;
19
20
  }
@@ -27,6 +28,7 @@ export const QuickLoginButton = ({
27
28
  onClick={() => {
28
29
  location.href = `/akifast/login/`;
29
30
  }}
31
+ {...rest}
30
32
  >
31
33
  {buttonText}
32
34
  </Button>