@axinom/mosaic-id-link 0.10.0 → 0.10.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/dist/components/AccountInactiveError/AccountInactiveError.d.ts +1 -1
- package/dist/components/AccountInactiveError/AccountInactiveError.d.ts.map +1 -1
- package/dist/components/CompletePasswordReset/CompletePasswordReset.d.ts +1 -1
- package/dist/components/CompletePasswordReset/CompletePasswordReset.d.ts.map +1 -1
- package/dist/components/CompleteUserSignUp/ConfirmSignUp.d.ts +1 -1
- package/dist/components/CompleteUserSignUp/ConfirmSignUp.d.ts.map +1 -1
- package/dist/components/EnsureAuthentication/EnsureAuthentication.d.ts +1 -1
- package/dist/components/EnsureAuthentication/EnsureAuthentication.d.ts.map +1 -1
- package/dist/components/ForgotPassword/ForgotPassword.d.ts +2 -1
- package/dist/components/ForgotPassword/ForgotPassword.d.ts.map +1 -1
- package/dist/components/Login/Login.d.ts +1 -25
- package/dist/components/Login/Login.d.ts.map +1 -1
- package/dist/components/common/BrandingOptions.d.ts +26 -0
- package/dist/components/common/BrandingOptions.d.ts.map +1 -0
- package/dist/index.es.js +713 -107
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +713 -107
- package/dist/index.js.map +1 -1
- package/package.json +4 -3
- package/src/components/AccountInactiveError/AccountInactiveError.tsx +1 -1
- package/src/components/CompletePasswordReset/CompletePasswordReset.module.scss +62 -57
- package/src/components/CompletePasswordReset/CompletePasswordReset.tsx +11 -9
- package/src/components/CompleteUserSignUp/ConfirmSignUp.module.scss +35 -36
- package/src/components/CompleteUserSignUp/ConfirmSignUp.tsx +1 -1
- package/src/components/EnsureAuthentication/EnsureAuthentication.tsx +2 -6
- package/src/components/ForgotPassword/ForgotPassword.module.scss +76 -78
- package/src/components/ForgotPassword/ForgotPassword.tsx +9 -5
- package/src/components/Login/Login.module.scss +179 -165
- package/src/components/Login/Login.tsx +300 -248
- package/src/components/common/BrandingOptions.ts +26 -0
- package/src/types/password-sheriff-types.d.ts +19 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccountInactiveError.d.ts","sourceRoot":"","sources":["../../../src/components/AccountInactiveError/AccountInactiveError.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"AccountInactiveError.d.ts","sourceRoot":"","sources":["../../../src/components/AccountInactiveError/AccountInactiveError.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAK5D,UAAU,yBAAyB;IACjC,eAAe,CAAC,EAAE,eAAe,CAAC;CACnC;AAED,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CAsCpE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CompletePasswordReset.d.ts","sourceRoot":"","sources":["../../../src/components/CompletePasswordReset/CompletePasswordReset.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAInD,OAAO,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"CompletePasswordReset.d.ts","sourceRoot":"","sources":["../../../src/components/CompletePasswordReset/CompletePasswordReset.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAInD,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAK5D,MAAM,WAAW,mBAAmB;IAClC,eAAe,CAAC,EAAE,eAAe,CAAC;CACnC;AACD;;GAEG;AACH,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAiI/D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfirmSignUp.d.ts","sourceRoot":"","sources":["../../../src/components/CompleteUserSignUp/ConfirmSignUp.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAInD,OAAO,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ConfirmSignUp.d.ts","sourceRoot":"","sources":["../../../src/components/CompleteUserSignUp/ConfirmSignUp.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAInD,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAK5D,MAAM,WAAW,mBAAmB;IAClC,eAAe,CAAC,EAAE,eAAe,CAAC;CACnC;AACD;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAkEvD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EnsureAuthentication.d.ts","sourceRoot":"","sources":["../../../src/components/EnsureAuthentication/EnsureAuthentication.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA4C,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"EnsureAuthentication.d.ts","sourceRoot":"","sources":["../../../src/components/EnsureAuthentication/EnsureAuthentication.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA4C,MAAM,OAAO,CAAC;AAUjE,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAI5D,MAAM,WAAW,yBAAyB;IACxC,eAAe,CAAC,EAAE,eAAe,CAAC;CACnC;AAkGD;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CAqFpE,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { BrandingOptions } from '../
|
|
2
|
+
import { BrandingOptions } from '../common/BrandingOptions';
|
|
3
3
|
export interface ForgotPasswordProps {
|
|
4
|
+
setIsForgotPassword: React.Dispatch<React.SetStateAction<boolean>>;
|
|
4
5
|
brandingOptions?: BrandingOptions;
|
|
5
6
|
}
|
|
6
7
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ForgotPassword.d.ts","sourceRoot":"","sources":["../../../src/components/ForgotPassword/ForgotPassword.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAInD,OAAO,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ForgotPassword.d.ts","sourceRoot":"","sources":["../../../src/components/ForgotPassword/ForgotPassword.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAInD,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAK5D,MAAM,WAAW,mBAAmB;IAClC,mBAAmB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IACnE,eAAe,CAAC,EAAE,eAAe,CAAC;CACnC;AACD;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAwIxD,CAAC"}
|
|
@@ -1,30 +1,6 @@
|
|
|
1
1
|
import { IdentityProviderInfo } from '@axinom/mosaic-id-utils';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Sets the company logo used in the Login dialog. The value must be a valid url or image resource variable.
|
|
6
|
-
*
|
|
7
|
-
* @example
|
|
8
|
-
* companyLogo: 'http://company.com/logo.svg'
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* companyLogo: imageResourceVariable
|
|
12
|
-
*/
|
|
13
|
-
companyLogo?: string;
|
|
14
|
-
/**
|
|
15
|
-
* Sets the background style for the Login dialog container. The value can either be a valid url, local image resource or a colour code.
|
|
16
|
-
*
|
|
17
|
-
* @example <caption>Background url (will cover entire area)</caption>
|
|
18
|
-
* background: 'http://company.com/background-pattern.svg'
|
|
19
|
-
*
|
|
20
|
-
* @example <caption>Background image variable (will cover entire area)</caption>
|
|
21
|
-
* background: imageResourceVariable
|
|
22
|
-
*
|
|
23
|
-
* @example <caption>Background colour</caption>
|
|
24
|
-
* background: '#01477d'
|
|
25
|
-
*/
|
|
26
|
-
background?: string;
|
|
27
|
-
}
|
|
3
|
+
import { BrandingOptions } from '../common/BrandingOptions';
|
|
28
4
|
export interface LoginProps {
|
|
29
5
|
providers: IdentityProviderInfo[];
|
|
30
6
|
brandingOptions?: BrandingOptions;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Login.d.ts","sourceRoot":"","sources":["../../../src/components/Login/Login.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,oBAAoB,EACrB,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"Login.d.ts","sourceRoot":"","sources":["../../../src/components/Login/Login.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,oBAAoB,EACrB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,KAAoB,MAAM,OAAO,CAAC;AASzC,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAY5D,MAAM,WAAW,UAAU;IACzB,SAAS,EAAE,oBAAoB,EAAE,CAAC;IAClC,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC;AAuBD;;GAEG;AACH,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAmdtC,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export interface BrandingOptions {
|
|
2
|
+
/**
|
|
3
|
+
* Sets the company logo used in the Login dialog. The value must be a valid url or image resource variable.
|
|
4
|
+
*
|
|
5
|
+
* @example
|
|
6
|
+
* companyLogo: 'http://company.com/logo.svg'
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* companyLogo: imageResourceVariable
|
|
10
|
+
*/
|
|
11
|
+
companyLogo?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Sets the background style for the Login dialog container. The value can either be a valid url, local image resource or a colour code.
|
|
14
|
+
*
|
|
15
|
+
* @example <caption>Background url (will cover entire area)</caption>
|
|
16
|
+
* background: 'http://company.com/background-pattern.svg'
|
|
17
|
+
*
|
|
18
|
+
* @example <caption>Background image variable (will cover entire area)</caption>
|
|
19
|
+
* background: imageResourceVariable
|
|
20
|
+
*
|
|
21
|
+
* @example <caption>Background colour</caption>
|
|
22
|
+
* background: '#01477d'
|
|
23
|
+
*/
|
|
24
|
+
background?: string;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=BrandingOptions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BrandingOptions.d.ts","sourceRoot":"","sources":["../../../src/components/common/BrandingOptions.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC9B;;;;;;;;OAQG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;;;;;;;;OAWG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB"}
|