diff --git a/CHANGELOG.md b/CHANGELOG.md index 0a9e73c0c..073ea60b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,22 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# 1.2.0 (2022-03-03) + + +### Bug Fixes + +* attach ResourceExplorer react component onSelectionChange prop ([#81](https://github.com/awslabs/iot-app-kit/issues/81)) + + +### Features + +* export table react component ([#81](https://github.com/awslabs/iot-app-kit/issues/81)) + + + + + # 1.1.0 (2022-03-01) diff --git a/lerna.json b/lerna.json index 53a74008b..fd5446acd 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "1.1.0", + "version": "1.2.0", "packages": [ "packages/*" ], diff --git a/packages/components/CHANGELOG.md b/packages/components/CHANGELOG.md index ec30b627f..4c11ce0ba 100644 --- a/packages/components/CHANGELOG.md +++ b/packages/components/CHANGELOG.md @@ -3,6 +3,22 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# 1.2.0 (2022-03-03) + + +### Bug Fixes + +* attach ResourceExplorer react component onSelectionChange prop ([#81](https://github.com/awslabs/iot-app-kit/issues/81)) + + +### Features + +* export table react component ([#81](https://github.com/awslabs/iot-app-kit/issues/81)) + + + + + # 1.1.0 (2022-03-01) diff --git a/packages/components/package.json b/packages/components/package.json index 902fb4a24..a42c1b5d5 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -3,7 +3,7 @@ "publishConfig": { "access": "public" }, - "version": "1.1.0", + "version": "1.2.0", "description": "IoT App Kit Components", "main": "dist/index.cjs.js", "module": "dist/custom-elements/index.js", @@ -41,9 +41,9 @@ "@awsui/collection-hooks": "^1.0.0", "@awsui/components-react": "^3.0.0", "@awsui/design-tokens": "^3.0.0", - "@iot-app-kit/core": "^1.1.0", - "@iot-app-kit/related-table": "^1.1.0", - "@iot-app-kit/source-iotsitewise": "^1.1.0", + "@iot-app-kit/core": "^1.2.0", + "@iot-app-kit/related-table": "^1.2.0", + "@iot-app-kit/source-iotsitewise": "^1.2.0", "@stencil/core": "^2.7.0", "@synchro-charts/core": "^2.0.0", "styled-components": "^5.3.0" diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 293d147a0..c20623417 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -3,6 +3,22 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# 1.2.0 (2022-03-03) + + +### Bug Fixes + +* attach ResourceExplorer react component onSelectionChange prop ([#81](https://github.com/awslabs/iot-app-kit/issues/81)) + + +### Features + +* export table react component ([#81](https://github.com/awslabs/iot-app-kit/issues/81)) + + + + + # 1.1.0 (2022-03-01) diff --git a/packages/core/package.json b/packages/core/package.json index 96841396f..ae0b8da25 100755 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -4,7 +4,7 @@ "publishConfig": { "access": "public" }, - "version": "1.1.0", + "version": "1.2.0", "description": "IoT Application Kit core", "main": "./dist/index.cj.js", "module": "./dist/index.js", diff --git a/packages/react-components/CHANGELOG.md b/packages/react-components/CHANGELOG.md index e33c49922..9383c104c 100644 --- a/packages/react-components/CHANGELOG.md +++ b/packages/react-components/CHANGELOG.md @@ -3,6 +3,22 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# 1.2.0 (2022-03-03) + + +### Bug Fixes + +* attach ResourceExplorer react component onSelectionChange prop ([#81](https://github.com/awslabs/iot-app-kit/issues/81)) + + +### Features + +* export table react component ([#81](https://github.com/awslabs/iot-app-kit/issues/81)) + + + + + # 1.1.0 (2022-03-01) diff --git a/packages/react-components/package.json b/packages/react-components/package.json index d18652634..d063d1d0e 100644 --- a/packages/react-components/package.json +++ b/packages/react-components/package.json @@ -5,7 +5,7 @@ "access": "public" }, "sideEffects": false, - "version": "1.1.0", + "version": "1.2.0", "description": "React specific wrapper for IoT Application Kit", "author": { "name": "Amazon Web Services", @@ -41,7 +41,7 @@ "typescript": "^3.3.4000" }, "dependencies": { - "@iot-app-kit/components": "^1.1.0" + "@iot-app-kit/components": "^1.2.0" }, "peerDependencies": { "react": "^17.0.2", diff --git a/packages/react-components/src/components.ts b/packages/react-components/src/components.ts index 5798abff9..8da810a1f 100644 --- a/packages/react-components/src/components.ts +++ b/packages/react-components/src/components.ts @@ -15,4 +15,5 @@ export const ResourceExplorer = /*@__PURE__*/createReactComponent('iot-scatter-chart'); export const StatusGrid = /*@__PURE__*/createReactComponent('iot-status-grid'); export const StatusTimeline = /*@__PURE__*/createReactComponent('iot-status-timeline'); +export const Table = /*@__PURE__*/createReactComponent('iot-table'); export const WebglContext = /*@__PURE__*/createReactComponent('iot-webgl-context'); diff --git a/packages/react-components/src/stencil-generated/utils/attachProps.ts b/packages/react-components/src/stencil-generated/utils/attachProps.ts index de2cc499b..da9d0201b 100644 --- a/packages/react-components/src/stencil-generated/utils/attachProps.ts +++ b/packages/react-components/src/stencil-generated/utils/attachProps.ts @@ -24,6 +24,7 @@ export const attachProps = (node: HTMLElement, newProps: any, oldProps: any = {} const eventName = name.substring(2); const eventNameLc = eventName[0].toLowerCase() + eventName.substring(1); + (node as any)[name] = newProps[name]; if (!isCoveredByReact(eventNameLc)) { syncEvent(node, eventNameLc, newProps[name]); } diff --git a/packages/related-table/CHANGELOG.md b/packages/related-table/CHANGELOG.md index b717feac9..bed4481fa 100644 --- a/packages/related-table/CHANGELOG.md +++ b/packages/related-table/CHANGELOG.md @@ -3,6 +3,22 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# 1.2.0 (2022-03-03) + + +### Bug Fixes + +* attach ResourceExplorer react component onSelectionChange prop ([#81](https://github.com/awslabs/iot-app-kit/issues/81)) + + +### Features + +* export table react component ([#81](https://github.com/awslabs/iot-app-kit/issues/81)) + + + + + # 1.1.0 (2022-03-01) diff --git a/packages/related-table/package.json b/packages/related-table/package.json index c067e686e..a44d31479 100644 --- a/packages/related-table/package.json +++ b/packages/related-table/package.json @@ -3,7 +3,7 @@ "publishConfig": { "access": "public" }, - "version": "1.1.0", + "version": "1.2.0", "description": "IoT Application Kit - Related Table component", "license": "Apache-2.0", "main": "dist/index.js", diff --git a/packages/source-iotsitewise/CHANGELOG.md b/packages/source-iotsitewise/CHANGELOG.md index 7e92b8240..e1211e31d 100644 --- a/packages/source-iotsitewise/CHANGELOG.md +++ b/packages/source-iotsitewise/CHANGELOG.md @@ -3,6 +3,22 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# 1.2.0 (2022-03-03) + + +### Bug Fixes + +* attach ResourceExplorer react component onSelectionChange prop ([#81](https://github.com/awslabs/iot-app-kit/issues/81)) + + +### Features + +* export table react component ([#81](https://github.com/awslabs/iot-app-kit/issues/81)) + + + + + # 1.1.0 (2022-03-01) diff --git a/packages/source-iotsitewise/package.json b/packages/source-iotsitewise/package.json index 006efbf55..c4876076f 100644 --- a/packages/source-iotsitewise/package.json +++ b/packages/source-iotsitewise/package.json @@ -3,7 +3,7 @@ "publishConfig": { "access": "public" }, - "version": "1.1.0", + "version": "1.2.0", "description": "AWS IoT SiteWise source for IoT Application Kit", "homepage": "https://github.com/awslabs/iot-app-kit#readme", "license": "Apache-2.0", @@ -38,7 +38,7 @@ }, "dependencies": { "@aws-sdk/client-iotsitewise": "^3.39.0", - "@iot-app-kit/core": "^1.1.0", + "@iot-app-kit/core": "^1.2.0", "@rollup/plugin-typescript": "^8.3.0", "@synchro-charts/core": "^1.1.1", "flush-promises": "^1.0.2",