@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.
Files changed (31) hide show
  1. package/dist/components/AccountInactiveError/AccountInactiveError.d.ts +1 -1
  2. package/dist/components/AccountInactiveError/AccountInactiveError.d.ts.map +1 -1
  3. package/dist/components/CompletePasswordReset/CompletePasswordReset.d.ts +1 -1
  4. package/dist/components/CompletePasswordReset/CompletePasswordReset.d.ts.map +1 -1
  5. package/dist/components/CompleteUserSignUp/ConfirmSignUp.d.ts +1 -1
  6. package/dist/components/CompleteUserSignUp/ConfirmSignUp.d.ts.map +1 -1
  7. package/dist/components/EnsureAuthentication/EnsureAuthentication.d.ts +1 -1
  8. package/dist/components/EnsureAuthentication/EnsureAuthentication.d.ts.map +1 -1
  9. package/dist/components/ForgotPassword/ForgotPassword.d.ts +2 -1
  10. package/dist/components/ForgotPassword/ForgotPassword.d.ts.map +1 -1
  11. package/dist/components/Login/Login.d.ts +1 -25
  12. package/dist/components/Login/Login.d.ts.map +1 -1
  13. package/dist/components/common/BrandingOptions.d.ts +26 -0
  14. package/dist/components/common/BrandingOptions.d.ts.map +1 -0
  15. package/dist/index.es.js +713 -107
  16. package/dist/index.es.js.map +1 -1
  17. package/dist/index.js +713 -107
  18. package/dist/index.js.map +1 -1
  19. package/package.json +4 -3
  20. package/src/components/AccountInactiveError/AccountInactiveError.tsx +1 -1
  21. package/src/components/CompletePasswordReset/CompletePasswordReset.module.scss +62 -57
  22. package/src/components/CompletePasswordReset/CompletePasswordReset.tsx +11 -9
  23. package/src/components/CompleteUserSignUp/ConfirmSignUp.module.scss +35 -36
  24. package/src/components/CompleteUserSignUp/ConfirmSignUp.tsx +1 -1
  25. package/src/components/EnsureAuthentication/EnsureAuthentication.tsx +2 -6
  26. package/src/components/ForgotPassword/ForgotPassword.module.scss +76 -78
  27. package/src/components/ForgotPassword/ForgotPassword.tsx +9 -5
  28. package/src/components/Login/Login.module.scss +179 -165
  29. package/src/components/Login/Login.tsx +300 -248
  30. package/src/components/common/BrandingOptions.ts +26 -0
  31. package/src/types/password-sheriff-types.d.ts +19 -0
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { BrandingOptions } from '../Login/Login';
2
+ import { BrandingOptions } from '../common/BrandingOptions';
3
3
  interface AccountInactiveErrorProps {
4
4
  brandingOptions?: BrandingOptions;
5
5
  }
@@ -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,gBAAgB,CAAC;AAKjD,UAAU,yBAAyB;IACjC,eAAe,CAAC,EAAE,eAAe,CAAC;CACnC;AAED,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CAsCpE,CAAC"}
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,5 +1,5 @@
1
1
  import React from 'react';
2
- import { BrandingOptions } from '../Login/Login';
2
+ import { BrandingOptions } from '../common/BrandingOptions';
3
3
  export interface ForgotPasswordProps {
4
4
  brandingOptions?: BrandingOptions;
5
5
  }
@@ -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,gBAAgB,CAAC;AAKjD,MAAM,WAAW,mBAAmB;IAClC,eAAe,CAAC,EAAE,eAAe,CAAC;CACnC;AACD;;GAEG;AACH,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA+H/D,CAAC"}
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,5 +1,5 @@
1
1
  import React from 'react';
2
- import { BrandingOptions } from '../Login/Login';
2
+ import { BrandingOptions } from '../common/BrandingOptions';
3
3
  export interface ForgotPasswordProps {
4
4
  brandingOptions?: BrandingOptions;
5
5
  }
@@ -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,gBAAgB,CAAC;AAKjD,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
+ {"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,5 +1,5 @@
1
1
  import React from 'react';
2
- import { BrandingOptions } from '../Login/Login';
2
+ import { BrandingOptions } from '../common/BrandingOptions';
3
3
  export interface EnsureAuthenticationProps {
4
4
  brandingOptions?: BrandingOptions;
5
5
  }
@@ -1 +1 @@
1
- {"version":3,"file":"EnsureAuthentication.d.ts","sourceRoot":"","sources":["../../../src/components/EnsureAuthentication/EnsureAuthentication.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA4C,MAAM,OAAO,CAAC;AASjE,OAAO,EAAE,eAAe,EAAS,MAAM,gBAAgB,CAAC;AAKxD,MAAM,WAAW,yBAAyB;IACxC,eAAe,CAAC,EAAE,eAAe,CAAC;CACnC;AAkGD;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CAyFpE,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 '../Login/Login';
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,gBAAgB,CAAC;AAKjD,MAAM,WAAW,mBAAmB;IAClC,eAAe,CAAC,EAAE,eAAe,CAAC;CACnC;AACD;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAqIxD,CAAC"}
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
- export interface BrandingOptions {
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;AACjC,OAAO,KAAoB,MAAM,OAAO,CAAC;AAmBzC,MAAM,WAAW,eAAe;IAC9B;;;;;;;;OAQG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;;;;;;;;OAWG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,UAAU;IACzB,SAAS,EAAE,oBAAoB,EAAE,CAAC;IAClC,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC;AAED;;GAEG;AACH,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CA4ZtC,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"}