Skip to content

Commit c14b51e

Browse files
Version Packages (#3015)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent afe273e commit c14b51e

22 files changed

+101
-65
lines changed

.changeset/good-donuts-obey.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/grumpy-apricots-sparkle.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/happy-cats-agree.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

.changeset/smooth-moons-occur.md

Lines changed: 0 additions & 25 deletions
This file was deleted.

.changeset/tame-drinks-check.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"test": "jest"
2020
},
2121
"dependencies": {
22-
"@aws-amplify/ui-react": "4.0.1",
22+
"@aws-amplify/ui-react": "4.0.2",
2323
"@cucumber/gherkin": "^19.0.3",
2424
"@cucumber/messages": "^16.0.1",
2525
"@docsearch/react": "3",

examples/angular/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"@angular/platform-browser": "~12.2.16",
2222
"@angular/platform-browser-dynamic": "~12.2.16",
2323
"@angular/router": "~12.2.16",
24-
"@aws-amplify/ui-angular": "^3.0.0",
24+
"@aws-amplify/ui-angular": "^3.1.0",
2525
"rxjs": "~6.6.0",
2626
"tslib": "^2.0.0",
2727
"zone.js": "~0.11.4"

examples/next/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"lint": "next lint"
1111
},
1212
"dependencies": {
13-
"@aws-amplify/ui-react": "^4.0.1",
13+
"@aws-amplify/ui-react": "^4.0.2",
1414
"aws-amplify": "latest",
1515
"next": "^11.1.3",
1616
"next-global-css": "^1.1.1",

examples/vue/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"start": "vite preview --port 3000"
1111
},
1212
"dependencies": {
13-
"@aws-amplify/ui-vue": "^3.0.0",
13+
"@aws-amplify/ui-vue": "^3.0.1",
1414
"aws-amplify": "latest",
1515
"vue": "^3.0.5",
1616
"vue-router": "4"

packages/angular/projects/ui-angular/CHANGELOG.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,36 @@
11
# @aws-amplify/ui-angular
22

3+
## 3.1.0
4+
5+
### Minor Changes
6+
7+
- [#2817](https://github.com/aws-amplify/amplify-ui/pull/2817) [`01cf6d2f8`](https://github.com/aws-amplify/amplify-ui/commit/01cf6d2f8273d8aeea5efa60d2905bf00d2119a8) Thanks [@wlee221](https://github.com/wlee221)! - Expose `subscribe` from `AuthenticatorService`.
8+
9+
```ts
10+
@Component()
11+
class MyComponent implements OnInit, OnDelete {
12+
private unsubscribe: () => void;
13+
constructor(private authenticator: Authenticator, private route: Router) {}
14+
15+
ngOnInit() {
16+
this.unsubscribe = authenticator.subscribe(({ authStatus }) => {
17+
if (authStatus === 'authenticated') {
18+
this.router.navigate(['/admin']);
19+
}
20+
}).unsubscribe;
21+
}
22+
23+
ngOnDelete() {
24+
this.unsubscribe();
25+
}
26+
}
27+
```
28+
29+
### Patch Changes
30+
31+
- Updated dependencies [[`ce3378ee9`](https://github.com/aws-amplify/amplify-ui/commit/ce3378ee90c1545bb41551817bee8662629920c1), [`0234889ea`](https://github.com/aws-amplify/amplify-ui/commit/0234889eaf6dd8337e1140ee993be0380e80a5bf)]:
32+
- @aws-amplify/ui@5.1.0
33+
334
## 3.0.0
435

536
### Major Changes

0 commit comments

Comments
 (0)