@panneau/form-auth 4.0.50 → 4.0.56

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +10 -10
  2. package/package.json +8 -5
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { Field, Label } from '@panneau/core';
3
3
 
4
4
  interface ChangePasswordProps {
@@ -10,7 +10,7 @@ interface ChangePasswordProps {
10
10
  passwordConfirmationLabel?: Label | null;
11
11
  submitButtonLabel?: Label | null;
12
12
  }
13
- declare function ChangePassword({ action, fields, size, currentPasswordLabel, passwordLabel, passwordConfirmationLabel, submitButtonLabel, ...props }: ChangePasswordProps): react_jsx_runtime.JSX.Element;
13
+ declare function ChangePassword({ action, fields, size, currentPasswordLabel, passwordLabel, passwordConfirmationLabel, submitButtonLabel, ...props }: ChangePasswordProps): react.JSX.Element;
14
14
 
15
15
  interface ConfirmPasswordProps {
16
16
  action?: string;
@@ -19,7 +19,7 @@ interface ConfirmPasswordProps {
19
19
  passwordLabel?: Label | null;
20
20
  submitButtonLabel?: Label | null;
21
21
  }
22
- declare function ConfirmPassword({ action, fields, size, passwordLabel, submitButtonLabel, ...props }: ConfirmPasswordProps): react_jsx_runtime.JSX.Element;
22
+ declare function ConfirmPassword({ action, fields, size, passwordLabel, submitButtonLabel, ...props }: ConfirmPasswordProps): react.JSX.Element;
23
23
 
24
24
  interface ForgotPasswordProps {
25
25
  action?: string;
@@ -31,7 +31,7 @@ interface ForgotPasswordProps {
31
31
  loginLink?: string;
32
32
  loginLabel?: Label | null;
33
33
  }
34
- declare function ForgotPassword({ action, fields, emailLabel, submitButtonLabel, size, withLoginLink, loginLink, loginLabel, ...props }: ForgotPasswordProps): react_jsx_runtime.JSX.Element;
34
+ declare function ForgotPassword({ action, fields, emailLabel, submitButtonLabel, size, withLoginLink, loginLink, loginLabel, ...props }: ForgotPasswordProps): react.JSX.Element;
35
35
 
36
36
  interface LoginProps {
37
37
  action?: string;
@@ -45,7 +45,7 @@ interface LoginProps {
45
45
  forgotPasswordLink?: string;
46
46
  forgotPasswordLabel?: Label | null;
47
47
  }
48
- declare function Login({ action, postForm, fields, size, emailLabel, passwordLabel, submitButtonLabel, withForgotPassword, forgotPasswordLink, forgotPasswordLabel, ...props }: LoginProps): react_jsx_runtime.JSX.Element;
48
+ declare function Login({ action, postForm, fields, size, emailLabel, passwordLabel, submitButtonLabel, withForgotPassword, forgotPasswordLink, forgotPasswordLabel, ...props }: LoginProps): react.JSX.Element;
49
49
 
50
50
  interface RegisterProps {
51
51
  action?: string;
@@ -60,7 +60,7 @@ interface RegisterProps {
60
60
  loginLink?: string;
61
61
  loginLabel?: Label | null;
62
62
  }
63
- declare function Register({ action, fields, size, nameLabel, emailLabel, passwordLabel, passwordConfirmationLabel, submitButtonLabel, withLoginLink, loginLink, loginLabel, ...props }: RegisterProps): react_jsx_runtime.JSX.Element;
63
+ declare function Register({ action, fields, size, nameLabel, emailLabel, passwordLabel, passwordConfirmationLabel, submitButtonLabel, withLoginLink, loginLink, loginLabel, ...props }: RegisterProps): react.JSX.Element;
64
64
 
65
65
  interface ResetPasswordProps {
66
66
  action?: string;
@@ -71,7 +71,7 @@ interface ResetPasswordProps {
71
71
  passwordConfirmationLabel?: Label | null;
72
72
  submitButtonLabel?: Label | null;
73
73
  }
74
- declare function ResetPassword({ action, fields, size, emailLabel, passwordLabel, passwordConfirmationLabel, submitButtonLabel, ...props }: ResetPasswordProps): react_jsx_runtime.JSX.Element;
74
+ declare function ResetPassword({ action, fields, size, emailLabel, passwordLabel, passwordConfirmationLabel, submitButtonLabel, ...props }: ResetPasswordProps): react.JSX.Element;
75
75
 
76
76
  interface TwoFactorChallengeProps {
77
77
  action?: string;
@@ -80,7 +80,7 @@ interface TwoFactorChallengeProps {
80
80
  codeLabel?: Label | null;
81
81
  submitButtonLabel?: Label | null;
82
82
  }
83
- declare function TwoFactorChallenge({ action, fields, size, codeLabel, submitButtonLabel, ...props }: TwoFactorChallengeProps): react_jsx_runtime.JSX.Element;
83
+ declare function TwoFactorChallenge({ action, fields, size, codeLabel, submitButtonLabel, ...props }: TwoFactorChallengeProps): react.JSX.Element;
84
84
 
85
85
  interface TwoFactorDisableProps {
86
86
  action?: string;
@@ -92,7 +92,7 @@ interface TwoFactorDisableProps {
92
92
  cancelLink?: string;
93
93
  cancelLabel?: Label | null;
94
94
  }
95
- declare function TwoFactorDisable({ action, fields, explainationLabel, submitButtonLabel, size, withCancelLink, cancelLink, cancelLabel, ...props }: TwoFactorDisableProps): react_jsx_runtime.JSX.Element;
95
+ declare function TwoFactorDisable({ action, fields, explainationLabel, submitButtonLabel, size, withCancelLink, cancelLink, cancelLabel, ...props }: TwoFactorDisableProps): react.JSX.Element;
96
96
 
97
97
  interface TwoFactorEnableProps {
98
98
  action?: string;
@@ -104,6 +104,6 @@ interface TwoFactorEnableProps {
104
104
  skipLink?: string;
105
105
  skipLabel?: Label | null;
106
106
  }
107
- declare function TwoFactorEnable({ action, fields, explainationLabel, submitButtonLabel, size, withSkipLink, skipLink, skipLabel, ...props }: TwoFactorEnableProps): react_jsx_runtime.JSX.Element;
107
+ declare function TwoFactorEnable({ action, fields, explainationLabel, submitButtonLabel, size, withSkipLink, skipLink, skipLabel, ...props }: TwoFactorEnableProps): react.JSX.Element;
108
108
 
109
109
  export { ChangePassword, ConfirmPassword, ForgotPassword, Login, Register, ResetPassword, TwoFactorChallenge, TwoFactorDisable, TwoFactorEnable };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@panneau/form-auth",
3
- "version": "4.0.50",
3
+ "version": "4.0.56",
4
4
  "description": "Basic forgot password form",
5
5
  "keywords": [
6
6
  "javascript"
@@ -28,6 +28,9 @@
28
28
  "type": "module",
29
29
  "module": "dist/index.js",
30
30
  "types": "dist/index.d.ts",
31
+ "sideEffects": [
32
+ "**/*.css"
33
+ ],
31
34
  "exports": {
32
35
  ".": {
33
36
  "types": "./dist/index.d.ts",
@@ -53,9 +56,9 @@
53
56
  "dependencies": {
54
57
  "@babel/runtime": "^7.28.6",
55
58
  "@folklore/fetch": "^0.1.21",
56
- "@panneau/core": "^4.0.50",
57
- "@panneau/element-link": "^4.0.50",
58
- "@panneau/form": "^4.0.50",
59
+ "@panneau/core": "^4.0.56",
60
+ "@panneau/element-link": "^4.0.56",
61
+ "@panneau/form": "^4.0.56",
59
62
  "classnames": "^2.5.1",
60
63
  "lodash": "^4.17.21",
61
64
  "react-intl": "^6.0.0 || ^7.0.0 || ^8.0.0 || ^10.0.0"
@@ -63,5 +66,5 @@
63
66
  "publishConfig": {
64
67
  "access": "public"
65
68
  },
66
- "gitHead": "c5d4004686dae5529035f8eac83571739e24340d"
69
+ "gitHead": "9c3ba1bdd04699e0150f84a35f2bdbdec073bd59"
67
70
  }