@aws-amplify/ui-angular 3.2.19 → 4.0.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 (107) hide show
  1. package/{esm2015/lib/components/authenticator/authenticator.module.js → esm2020/lib/components/authenticator/authenticator.module.mjs} +5 -5
  2. package/esm2020/lib/components/authenticator/components/authenticator/authenticator.component.mjs +176 -0
  3. package/esm2020/lib/components/authenticator/components/base-form-fields/base-form-fields.component.mjs +32 -0
  4. package/esm2020/lib/components/authenticator/components/confirm-reset-password/amplify-confirm-reset-password.component.mjs +45 -0
  5. package/esm2020/lib/components/authenticator/components/confirm-sign-in/confirm-sign-in.component.mjs +49 -0
  6. package/esm2020/lib/components/authenticator/components/confirm-sign-up/confirm-sign-up.component.mjs +49 -0
  7. package/esm2020/lib/components/authenticator/components/confirm-verify-user/amplify-confirm-verify-user.component.mjs +44 -0
  8. package/esm2020/lib/components/authenticator/components/federated-sign-in/federated-sign-in.component.mjs +47 -0
  9. package/esm2020/lib/components/authenticator/components/federated-sign-in-button/federated-sign-in-button.component.mjs +26 -0
  10. package/esm2020/lib/components/authenticator/components/force-new-password/force-new-password-form-fields/force-new-password-form-fields.component.mjs +12 -0
  11. package/esm2020/lib/components/authenticator/components/force-new-password/force-new-password.component.mjs +44 -0
  12. package/esm2020/lib/components/authenticator/components/form-field/form-field.component.mjs +50 -0
  13. package/esm2020/lib/components/authenticator/components/reset-password/reset-password.component.mjs +44 -0
  14. package/esm2020/lib/components/authenticator/components/setup-totp/setup-totp.component.mjs +69 -0
  15. package/esm2020/lib/components/authenticator/components/sign-in/sign-in.component.mjs +41 -0
  16. package/esm2020/lib/components/authenticator/components/sign-up/sign-up-form-fields/sign-up-form-fields.component.mjs +12 -0
  17. package/esm2020/lib/components/authenticator/components/sign-up/sign-up.component.mjs +44 -0
  18. package/esm2020/lib/components/authenticator/components/verify-user/verify-user.component.mjs +56 -0
  19. package/{esm2015/lib/primitives/button/button.component.js → esm2020/lib/primitives/button/button.component.mjs} +5 -8
  20. package/esm2020/lib/primitives/checkbox/checkbox.component.mjs +37 -0
  21. package/esm2020/lib/primitives/error/error.component.mjs +21 -0
  22. package/esm2020/lib/primitives/password-field/password-field.component.mjs +64 -0
  23. package/esm2020/lib/primitives/phone-number-field/phone-number-field.component.mjs +62 -0
  24. package/esm2020/lib/primitives/select/select.component.mjs +22 -0
  25. package/esm2020/lib/primitives/tab-item/tab-item.component.mjs +29 -0
  26. package/{esm2015/lib/primitives/tabs/tabs.component.js → esm2020/lib/primitives/tabs/tabs.component.mjs} +5 -8
  27. package/esm2020/lib/primitives/text-field/text-field.component.mjs +50 -0
  28. package/esm2020/lib/services/authenticator.service.mjs +177 -0
  29. package/esm2020/lib/services/custom-components.service.mjs +25 -0
  30. package/esm2020/lib/utilities/amplify-slot/amplify-slot.component.mjs +33 -0
  31. package/{esm2015/lib/utilities/amplify-slot/amplify-slot.directive.js → esm2020/lib/utilities/amplify-slot/amplify-slot.directive.mjs} +4 -4
  32. package/{esm2015/version.js → esm2020/version.mjs} +2 -2
  33. package/fesm2015/aws-amplify-ui-angular.mjs +1432 -0
  34. package/fesm2015/aws-amplify-ui-angular.mjs.map +1 -0
  35. package/fesm2020/aws-amplify-ui-angular.mjs +1416 -0
  36. package/fesm2020/aws-amplify-ui-angular.mjs.map +1 -0
  37. package/lib/components/authenticator/components/authenticator/authenticator.component.d.ts +1 -1
  38. package/lib/components/authenticator/components/base-form-fields/base-form-fields.component.d.ts +1 -1
  39. package/lib/components/authenticator/components/confirm-reset-password/amplify-confirm-reset-password.component.d.ts +1 -1
  40. package/lib/components/authenticator/components/confirm-sign-in/confirm-sign-in.component.d.ts +1 -1
  41. package/lib/components/authenticator/components/confirm-sign-up/confirm-sign-up.component.d.ts +1 -1
  42. package/lib/components/authenticator/components/confirm-verify-user/amplify-confirm-verify-user.component.d.ts +1 -1
  43. package/lib/components/authenticator/components/federated-sign-in/federated-sign-in.component.d.ts +1 -1
  44. package/lib/components/authenticator/components/federated-sign-in-button/federated-sign-in-button.component.d.ts +1 -1
  45. package/lib/components/authenticator/components/force-new-password/force-new-password-form-fields/force-new-password-form-fields.component.d.ts +1 -1
  46. package/lib/components/authenticator/components/force-new-password/force-new-password.component.d.ts +1 -1
  47. package/lib/components/authenticator/components/form-field/form-field.component.d.ts +1 -1
  48. package/lib/components/authenticator/components/reset-password/reset-password.component.d.ts +1 -1
  49. package/lib/components/authenticator/components/setup-totp/setup-totp.component.d.ts +1 -1
  50. package/lib/components/authenticator/components/sign-in/sign-in.component.d.ts +1 -1
  51. package/lib/components/authenticator/components/sign-up/sign-up-form-fields/sign-up-form-fields.component.d.ts +1 -1
  52. package/lib/components/authenticator/components/sign-up/sign-up.component.d.ts +1 -1
  53. package/lib/components/authenticator/components/verify-user/verify-user.component.d.ts +1 -1
  54. package/lib/primitives/button/button.component.d.ts +1 -1
  55. package/lib/primitives/checkbox/checkbox.component.d.ts +1 -1
  56. package/lib/primitives/error/error.component.d.ts +1 -1
  57. package/lib/primitives/password-field/password-field.component.d.ts +1 -1
  58. package/lib/primitives/phone-number-field/phone-number-field.component.d.ts +1 -1
  59. package/lib/primitives/select/select.component.d.ts +1 -1
  60. package/lib/primitives/tab-item/tab-item.component.d.ts +1 -1
  61. package/lib/primitives/tabs/tabs.component.d.ts +1 -1
  62. package/lib/primitives/text-field/text-field.component.d.ts +1 -1
  63. package/lib/utilities/amplify-slot/amplify-slot.component.d.ts +1 -1
  64. package/lib/utilities/amplify-slot/amplify-slot.directive.d.ts +1 -1
  65. package/package.json +22 -8
  66. package/version.d.ts +1 -1
  67. package/aws-amplify-ui-angular.d.ts +0 -5
  68. package/bundles/aws-amplify-ui-angular.umd.js +0 -2217
  69. package/bundles/aws-amplify-ui-angular.umd.js.map +0 -1
  70. package/esm2015/lib/components/authenticator/components/authenticator/authenticator.component.js +0 -181
  71. package/esm2015/lib/components/authenticator/components/base-form-fields/base-form-fields.component.js +0 -35
  72. package/esm2015/lib/components/authenticator/components/confirm-reset-password/amplify-confirm-reset-password.component.js +0 -48
  73. package/esm2015/lib/components/authenticator/components/confirm-sign-in/confirm-sign-in.component.js +0 -52
  74. package/esm2015/lib/components/authenticator/components/confirm-sign-up/confirm-sign-up.component.js +0 -52
  75. package/esm2015/lib/components/authenticator/components/confirm-verify-user/amplify-confirm-verify-user.component.js +0 -47
  76. package/esm2015/lib/components/authenticator/components/federated-sign-in/federated-sign-in.component.js +0 -51
  77. package/esm2015/lib/components/authenticator/components/federated-sign-in-button/federated-sign-in-button.component.js +0 -29
  78. package/esm2015/lib/components/authenticator/components/force-new-password/force-new-password-form-fields/force-new-password-form-fields.component.js +0 -15
  79. package/esm2015/lib/components/authenticator/components/force-new-password/force-new-password.component.js +0 -47
  80. package/esm2015/lib/components/authenticator/components/form-field/form-field.component.js +0 -54
  81. package/esm2015/lib/components/authenticator/components/reset-password/reset-password.component.js +0 -47
  82. package/esm2015/lib/components/authenticator/components/setup-totp/setup-totp.component.js +0 -78
  83. package/esm2015/lib/components/authenticator/components/sign-in/sign-in.component.js +0 -45
  84. package/esm2015/lib/components/authenticator/components/sign-up/sign-up-form-fields/sign-up-form-fields.component.js +0 -15
  85. package/esm2015/lib/components/authenticator/components/sign-up/sign-up.component.js +0 -47
  86. package/esm2015/lib/components/authenticator/components/verify-user/verify-user.component.js +0 -60
  87. package/esm2015/lib/primitives/checkbox/checkbox.component.js +0 -40
  88. package/esm2015/lib/primitives/error/error.component.js +0 -24
  89. package/esm2015/lib/primitives/password-field/password-field.component.js +0 -67
  90. package/esm2015/lib/primitives/phone-number-field/phone-number-field.component.js +0 -66
  91. package/esm2015/lib/primitives/select/select.component.js +0 -25
  92. package/esm2015/lib/primitives/tab-item/tab-item.component.js +0 -32
  93. package/esm2015/lib/primitives/text-field/text-field.component.js +0 -53
  94. package/esm2015/lib/services/authenticator.service.js +0 -185
  95. package/esm2015/lib/services/custom-components.service.js +0 -25
  96. package/esm2015/lib/utilities/amplify-slot/amplify-slot.component.js +0 -36
  97. package/fesm2015/aws-amplify-ui-angular.js +0 -1517
  98. package/fesm2015/aws-amplify-ui-angular.js.map +0 -1
  99. /package/{esm2015/aws-amplify-ui-angular.js → esm2020/aws-amplify-ui-angular.mjs} +0 -0
  100. /package/{esm2015/index.js → esm2020/index.mjs} +0 -0
  101. /package/{esm2015/lib/common/helpers.js → esm2020/lib/common/helpers.mjs} +0 -0
  102. /package/{esm2015/lib/common/index.js → esm2020/lib/common/index.mjs} +0 -0
  103. /package/{esm2015/lib/common/types/auth-types.js → esm2020/lib/common/types/auth-types.mjs} +0 -0
  104. /package/{esm2015/lib/common/types/component-types.js → esm2020/lib/common/types/component-types.mjs} +0 -0
  105. /package/{esm2015/lib/common/types/index.js → esm2020/lib/common/types/index.mjs} +0 -0
  106. /package/{esm2015/lib/components/authenticator/components/index.js → esm2020/lib/components/authenticator/components/index.mjs} +0 -0
  107. /package/{esm2015/lib/primitives/index.js → esm2020/lib/primitives/index.mjs} +0 -0
@@ -7,5 +7,5 @@ export declare class TabItemComponent {
7
7
  tabIndex: number;
8
8
  display: string;
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<TabItemComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<TabItemComponent, "amplify-tab-item", never, { "title": "title"; "active": "active"; "id": "id"; "labelledById": "labelledById"; "tabIndex": "tabIndex"; }, {}, never, ["*"]>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<TabItemComponent, "amplify-tab-item", never, { "title": "title"; "active": "active"; "id": "id"; "labelledById": "labelledById"; "tabIndex": "tabIndex"; }, {}, never, ["*"], false>;
11
11
  }
@@ -8,5 +8,5 @@ export declare class TabsComponent implements AfterContentInit {
8
8
  selectTab(tab: TabItemComponent): void;
9
9
  handleTabClick(tab: TabItemComponent): void;
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<TabsComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<TabsComponent, "amplify-tabs", never, {}, { "tabChange": "tabChange"; }, ["tabs"], ["*"]>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<TabsComponent, "amplify-tabs", never, {}, { "tabChange": "tabChange"; }, ["tabs"], ["*"], false>;
12
12
  }
@@ -14,5 +14,5 @@ export declare class TextFieldComponent {
14
14
  describedBy: string;
15
15
  display: string;
16
16
  static ɵfac: i0.ɵɵFactoryDeclaration<TextFieldComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<TextFieldComponent, "amplify-text-field", never, { "autocomplete": "autocomplete"; "disabled": "disabled"; "fieldId": "fieldId"; "initialValue": "initialValue"; "label": "label"; "name": "name"; "placeholder": "placeholder"; "required": "required"; "type": "type"; "labelHidden": "labelHidden"; "hasError": "hasError"; "describedBy": "describedBy"; }, {}, never, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<TextFieldComponent, "amplify-text-field", never, { "autocomplete": "autocomplete"; "disabled": "disabled"; "fieldId": "fieldId"; "initialValue": "initialValue"; "label": "label"; "name": "name"; "placeholder": "placeholder"; "required": "required"; "type": "type"; "labelHidden": "labelHidden"; "hasError": "hasError"; "describedBy": "describedBy"; }, {}, never, never, false>;
18
18
  }
@@ -11,5 +11,5 @@ export declare class AmplifySlotComponent implements AfterContentInit {
11
11
  constructor(propService: CustomComponentsService);
12
12
  ngAfterContentInit(): void;
13
13
  static ɵfac: i0.ɵɵFactoryDeclaration<AmplifySlotComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<AmplifySlotComponent, "amplify-slot", never, { "name": "name"; "context": "context"; }, {}, never, ["*"]>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<AmplifySlotComponent, "amplify-slot", never, { "name": "name"; "context": "context"; }, {}, never, ["*"], false>;
15
15
  }
@@ -6,5 +6,5 @@ export declare class AmplifySlotDirective {
6
6
  constructor(template: TemplateRef<unknown>);
7
7
  set amplifySlot(component: string);
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<AmplifySlotDirective, never>;
9
- static ɵdir: i0.ɵɵDirectiveDeclaration<AmplifySlotDirective, "[amplifySlot]", never, { "amplifySlot": "amplifySlot"; }, {}, never>;
9
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AmplifySlotDirective, "[amplifySlot]", never, { "amplifySlot": "amplifySlot"; }, {}, never, never, false>;
10
10
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/ui-angular",
3
- "version": "3.2.19",
3
+ "version": "4.0.1",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -8,10 +8,11 @@
8
8
  "directory": "packages/angular/projects/ui-angular"
9
9
  },
10
10
  "peerDependencies": {
11
+ "@angular/core": ">= 14.0.0",
11
12
  "aws-amplify": ">= 5.0.1"
12
13
  },
13
14
  "dependencies": {
14
- "@aws-amplify/ui": "5.6.5",
15
+ "@aws-amplify/ui": "5.6.6",
15
16
  "classnames": "2.3.1",
16
17
  "nanoid": "3.1.31",
17
18
  "qrcode": "1.5.0",
@@ -21,11 +22,24 @@
21
22
  "publishConfig": {
22
23
  "directory": "../../dist/ui-angular"
23
24
  },
24
- "main": "bundles/aws-amplify-ui-angular.umd.js",
25
- "module": "fesm2015/aws-amplify-ui-angular.js",
26
- "es2015": "fesm2015/aws-amplify-ui-angular.js",
27
- "esm2015": "esm2015/aws-amplify-ui-angular.js",
28
- "fesm2015": "fesm2015/aws-amplify-ui-angular.js",
29
- "typings": "aws-amplify-ui-angular.d.ts",
25
+ "module": "fesm2015/aws-amplify-ui-angular.mjs",
26
+ "es2020": "fesm2020/aws-amplify-ui-angular.mjs",
27
+ "esm2020": "esm2020/aws-amplify-ui-angular.mjs",
28
+ "fesm2020": "fesm2020/aws-amplify-ui-angular.mjs",
29
+ "fesm2015": "fesm2015/aws-amplify-ui-angular.mjs",
30
+ "typings": "index.d.ts",
31
+ "exports": {
32
+ "./package.json": {
33
+ "default": "./package.json"
34
+ },
35
+ ".": {
36
+ "types": "./index.d.ts",
37
+ "esm2020": "./esm2020/aws-amplify-ui-angular.mjs",
38
+ "es2020": "./fesm2020/aws-amplify-ui-angular.mjs",
39
+ "es2015": "./fesm2015/aws-amplify-ui-angular.mjs",
40
+ "node": "./fesm2015/aws-amplify-ui-angular.mjs",
41
+ "default": "./fesm2020/aws-amplify-ui-angular.mjs"
42
+ }
43
+ },
30
44
  "sideEffects": false
31
45
  }
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const VERSION = "3.2.19";
1
+ export declare const VERSION = "4.0.1";
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@aws-amplify/ui-angular" />
5
- export * from './index';