Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,23 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
# [0.5.0](https://github.com/Microsoft/angular-react/compare/v0.4.10...v0.5.0) (2018-12-04)

### Breaking changes

- **all:** Upgrade Angular version to 7.0.3 ([#45](https://github.com/Microsoft/angular-react/pull/45)) ([bc39370](https://github.com/Microsoft/angular-react/commit/bc393707bdfb9f163b2e718702e35f0fb4ff25c3))

### General

- **all:** Upgrade React version to ^16.6.3 ([#45](https://github.com/Microsoft/angular-react/pull/45)) ([bc39370](https://github.com/Microsoft/angular-react/commit/bc393707bdfb9f163b2e718702e35f0fb4ff25c3)) ([#46](https://github.com/Microsoft/angular-react/pull/46)) ([87e70de](https://github.com/Microsoft/angular-react/commit/87e70de0cee459c69c914e2f723b4e647e3f466f))
- **all:** Remove all index barrel files ([#44](https://github.com/Microsoft/angular-react/pull/44)) ([7f36a6b](https://github.com/Microsoft/angular-react/commit/7f36a6b47e77c70d53cc4290e53a1a8329d44467))
- **core:** Upgrade css-to-style to ^1.2.1 ([5408b23](https://github.com/Microsoft/angular-react/commit/5408b238c2e3903a7417b6a2fd2e8c82bd94b0f1))
- **fabric:** Upgrade `office-ui-fabric-react` to 6.110.0 ([#45](https://github.com/Microsoft/angular-react/pull/45)) ([bc39370](https://github.com/Microsoft/angular-react/commit/bc393707bdfb9f163b2e718702e35f0fb4ff25c3)) ([#46](https://github.com/Microsoft/angular-react/pull/46))
- **fabric:** Upgrade `office-ui-fabric-react` to 6.110.0 ([#45](https://github.com/Microsoft/angular-react/pull/45)) ([bc39370](https://github.com/Microsoft/angular-react/commit/bc393707bdfb9f163b2e718702e35f0fb4ff25c3)) ([#46](https://github.com/Microsoft/angular-react/pull/46))

### Bug fixes

- **fabric:** Fix `<command-bar-item>` not recognizing some inputs ([#42](https://github.com/Microsoft/angular-react/pull/42)) ([411ef87](https://github.com/Microsoft/angular-react/commit/411ef8730e7e2d984e1a86f03f8603dfb335f499))
- **fabric:** Fix bad imports in DetailsList module ([#43](https://github.com/Microsoft/angular-react/pull/43)) ([80a50e6](https://github.com/Microsoft/angular-react/commit/80a50e69942c6e679ecdb3c4f0fa2621932231c4))

### Features

- **fabric:** Add `<fab-plain-card>` and `<fab-expanding-card>` components ([#45](https://github.com/Microsoft/angular-react/pull/45)) ([bc39370](https://github.com/Microsoft/angular-react/commit/bc393707bdfb9f163b2e718702e35f0fb4ff25c3)) ([#46](https://github.com/Microsoft/angular-react/pull/46))

<!-- ### Features
Expand Down
Binary file not shown.
5 changes: 2 additions & 3 deletions libs/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,11 @@
"css-to-style": "^1.2.1",
"classnames": "^2.2.6",
"stylenames": "^1.1.6",
"geteventlisteners": "^1.0.6"
"geteventlisteners": "file:external/geteventlisteners/geteventlisteners-1.0.6.tgz"
},
"bundledDependencies": [
"css-to-style",
"classnames",
"stylenames",
"geteventlisteners"
"stylenames"
]
}
2 changes: 1 addition & 1 deletion libs/core/src/lib/renderer/react-node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export class ReactNode {
return this._isDestroyPending;
}

constructor(private type?: React.ReactType) {
constructor(private type?: React.ReactType | string) {
this.setRenderPending();
this._tryResolveTypeIsReactElementClass();
}
Expand Down
2 changes: 1 addition & 1 deletion libs/core/src/lib/renderer/registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export function isKnownComponent(elementName: string): boolean {
return elementMap.has(elementName) || elementMap.has(elementName.toLowerCase());
}

export function getComponentClass(elementName: string): React.ReactType {
export function getComponentClass(elementName: string): React.ReactType | string {
const entry = elementMap.get(elementName) || elementMap.get(elementName.toLowerCase());
if (!entry) {
// throw new TypeError(`No known component for element ${elementName}.`);
Expand Down
Loading