@aws-amplify/ui-angular 2.0.3 → 2.0.7
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/aws-amplify-ui-angular.metadata.json +1 -1
- package/bundles/aws-amplify-ui-angular.umd.js +65 -17
- package/bundles/aws-amplify-ui-angular.umd.js.map +1 -1
- package/bundles/aws-amplify-ui-angular.umd.min.js +1 -1
- package/bundles/aws-amplify-ui-angular.umd.min.js.map +1 -1
- package/esm2015/lib/components/authenticator/components/authenticator/authenticator.component.js +6 -2
- package/esm2015/lib/components/authenticator/components/confirm-sign-up/confirm-sign-up.component.js +18 -2
- package/esm2015/lib/components/authenticator/components/form-field/form-field.component.js +2 -2
- package/esm2015/lib/components/authenticator/components/setup-totp/setup-totp.component.js +10 -4
- package/esm2015/lib/components/authenticator/components/sign-in/sign-in.component.js +7 -4
- package/esm2015/lib/primitives/tab-item/tab-item.component.js +5 -3
- package/esm2015/lib/services/authenticator.service.js +7 -2
- package/fesm2015/aws-amplify-ui-angular.js +45 -10
- package/fesm2015/aws-amplify-ui-angular.js.map +1 -1
- package/lib/components/authenticator/components/authenticator/authenticator.component.d.ts +4 -0
- package/lib/components/authenticator/components/confirm-reset-password/amplify-confirm-reset-password.component.d.ts +3 -0
- package/lib/components/authenticator/components/confirm-sign-in/confirm-sign-in.component.d.ts +3 -0
- package/lib/components/authenticator/components/confirm-sign-up/confirm-sign-up.component.d.ts +5 -0
- package/lib/components/authenticator/components/confirm-verify-user/amplify-confirm-verify-user.component.d.ts +3 -0
- package/lib/components/authenticator/components/force-new-password/force-new-password.component.d.ts +3 -0
- package/lib/components/authenticator/components/reset-password/reset-password.component.d.ts +3 -0
- package/lib/components/authenticator/components/setup-totp/setup-totp.component.d.ts +6 -0
- package/lib/components/authenticator/components/sign-in/sign-in.component.d.ts +3 -0
- package/lib/components/authenticator/components/sign-up/sign-up.component.d.ts +3 -0
- package/lib/components/authenticator/components/verify-user/verify-user.component.d.ts +3 -0
- package/lib/primitives/tab-item/tab-item.component.d.ts +1 -0
- package/lib/services/authenticator.service.d.ts +4 -0
- package/package.json +3 -3
- package/theme.css +12 -0
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="amazon-cognito-identity-js" />
|
|
1
2
|
import { OnInit } from '@angular/core';
|
|
2
3
|
import { AuthenticatorService } from '../../../../services/authenticator.service';
|
|
3
4
|
export declare class VerifyUserComponent implements OnInit {
|
|
@@ -30,6 +31,7 @@ export declare class VerifyUserComponent implements OnInit {
|
|
|
30
31
|
validationErrors: {
|
|
31
32
|
[x: string]: string;
|
|
32
33
|
};
|
|
34
|
+
codeDeliveryDetails: import("amazon-cognito-identity-js").CodeDeliveryDetails;
|
|
33
35
|
};
|
|
34
36
|
resendCode: (data?: Record<string | number | symbol, any>) => void;
|
|
35
37
|
signOut: (data?: Record<string | number | symbol, any>) => void;
|
|
@@ -49,6 +51,7 @@ export declare class VerifyUserComponent implements OnInit {
|
|
|
49
51
|
validationErrors: {
|
|
50
52
|
[x: string]: string;
|
|
51
53
|
};
|
|
54
|
+
codeDeliveryDetails: import("amazon-cognito-identity-js").CodeDeliveryDetails;
|
|
52
55
|
};
|
|
53
56
|
getLabelForAttr(authAttr: string): string;
|
|
54
57
|
onInput(event: Event): void;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="amazon-cognito-identity-js" />
|
|
1
2
|
import { OnDestroy } from '@angular/core';
|
|
2
3
|
import { AuthContext, AuthenticatorMachineOptions, AuthEvent, AuthInterpreter, AuthMachineState } from '@aws-amplify/ui';
|
|
3
4
|
import { Event, Subscription } from 'xstate';
|
|
@@ -24,6 +25,7 @@ export declare class AuthenticatorService implements OnDestroy {
|
|
|
24
25
|
get validationErrors(): {
|
|
25
26
|
[x: string]: string;
|
|
26
27
|
};
|
|
28
|
+
get codeDeliveryDetails(): import("amazon-cognito-identity-js").CodeDeliveryDetails;
|
|
27
29
|
/**
|
|
28
30
|
* Service facades
|
|
29
31
|
*/
|
|
@@ -70,6 +72,7 @@ export declare class AuthenticatorService implements OnDestroy {
|
|
|
70
72
|
validationErrors: {
|
|
71
73
|
[x: string]: string;
|
|
72
74
|
};
|
|
75
|
+
codeDeliveryDetails: import("amazon-cognito-identity-js").CodeDeliveryDetails;
|
|
73
76
|
};
|
|
74
77
|
resendCode: (data?: Record<string | number | symbol, any>) => void;
|
|
75
78
|
signOut: (data?: Record<string | number | symbol, any>) => void;
|
|
@@ -89,6 +92,7 @@ export declare class AuthenticatorService implements OnDestroy {
|
|
|
89
92
|
validationErrors: {
|
|
90
93
|
[x: string]: string;
|
|
91
94
|
};
|
|
95
|
+
codeDeliveryDetails: import("amazon-cognito-identity-js").CodeDeliveryDetails;
|
|
92
96
|
};
|
|
93
97
|
/** @deprecated For internal use only */
|
|
94
98
|
subscribe(callback: AuthSubscriptionCallback): Subscription;
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-amplify/ui-angular",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.7",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"aws-amplify": "3.x.x || 4.x.x"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"@aws-amplify/ui-components": "^1.7.0",
|
|
10
|
-
"@aws-amplify/ui": "3.0.
|
|
11
|
-
"@stencil/core": "
|
|
10
|
+
"@aws-amplify/ui": "3.0.7",
|
|
11
|
+
"@stencil/core": "2.8.0",
|
|
12
12
|
"nanoid": "^3.1.25",
|
|
13
13
|
"qrcode": "^1.4.4",
|
|
14
14
|
"tslib": "^2.0.0",
|
package/theme.css
CHANGED
|
@@ -1 +1,13 @@
|
|
|
1
1
|
@import '@aws-amplify/ui/dist/styles.css';
|
|
2
|
+
|
|
3
|
+
/** These fonts are added in only temporarily until Angular has it's own theming system */
|
|
4
|
+
|
|
5
|
+
html {
|
|
6
|
+
font-family: var(--amplify-fonts-default-static);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@supports (font-variation-settings: normal) {
|
|
10
|
+
html {
|
|
11
|
+
font-family: var(--amplify-fonts-default-variable);
|
|
12
|
+
}
|
|
13
|
+
}
|