From 96024bdc2a15c1bce9ed7701f6b93087c6cbd6df Mon Sep 17 00:00:00 2001 From: Jane Chu <7559015+janechu@users.noreply.github.com> Date: Fri, 17 May 2024 12:15:47 -0700 Subject: [PATCH 1/8] Remove the react-wrapper package --- .../fast-react-wrapper/.eslintignore | 8 - .../fast-react-wrapper/.eslintrc.json | 3 - .../utilities/fast-react-wrapper/.gitignore | 4 - .../fast-react-wrapper/.mocharc.json | 9 - .../utilities/fast-react-wrapper/.npmignore | 25 - packages/utilities/fast-react-wrapper/.npmrc | 1 - .../fast-react-wrapper/.prettierignore | 3 - .../fast-react-wrapper/ACKNOWLEDGEMENTS.md | 36 - .../fast-react-wrapper/CHANGELOG.json | 1819 ----------------- .../utilities/fast-react-wrapper/CHANGELOG.md | 753 ------- .../utilities/fast-react-wrapper/README.md | 33 - .../fast-react-wrapper/api-extractor.json | 12 - .../fast-react-wrapper/docs/api-report.md | 47 - .../fast-react-wrapper/karma.conf.cjs | 141 -- .../utilities/fast-react-wrapper/package.json | 92 - .../src/__test__/setup-browser.cts | 6 - .../src/__test__/setup-node.ts | 18 - .../fast-react-wrapper/src/index.spec.tsx | 429 ---- .../utilities/fast-react-wrapper/src/index.ts | 340 --- .../fast-react-wrapper/src/types.d.ts | 5 - .../fast-react-wrapper/tsconfig.json | 22 - .../utilities/fast-react-wrapper/tsdoc.json | 9 - yarn.lock | 46 +- 23 files changed, 3 insertions(+), 3858 deletions(-) delete mode 100644 packages/utilities/fast-react-wrapper/.eslintignore delete mode 100644 packages/utilities/fast-react-wrapper/.eslintrc.json delete mode 100644 packages/utilities/fast-react-wrapper/.gitignore delete mode 100644 packages/utilities/fast-react-wrapper/.mocharc.json delete mode 100644 packages/utilities/fast-react-wrapper/.npmignore delete mode 100644 packages/utilities/fast-react-wrapper/.npmrc delete mode 100644 packages/utilities/fast-react-wrapper/.prettierignore delete mode 100644 packages/utilities/fast-react-wrapper/ACKNOWLEDGEMENTS.md delete mode 100644 packages/utilities/fast-react-wrapper/CHANGELOG.json delete mode 100644 packages/utilities/fast-react-wrapper/CHANGELOG.md delete mode 100644 packages/utilities/fast-react-wrapper/README.md delete mode 100644 packages/utilities/fast-react-wrapper/api-extractor.json delete mode 100644 packages/utilities/fast-react-wrapper/docs/api-report.md delete mode 100644 packages/utilities/fast-react-wrapper/karma.conf.cjs delete mode 100644 packages/utilities/fast-react-wrapper/package.json delete mode 100644 packages/utilities/fast-react-wrapper/src/__test__/setup-browser.cts delete mode 100644 packages/utilities/fast-react-wrapper/src/__test__/setup-node.ts delete mode 100644 packages/utilities/fast-react-wrapper/src/index.spec.tsx delete mode 100644 packages/utilities/fast-react-wrapper/src/index.ts delete mode 100644 packages/utilities/fast-react-wrapper/src/types.d.ts delete mode 100644 packages/utilities/fast-react-wrapper/tsconfig.json delete mode 100644 packages/utilities/fast-react-wrapper/tsdoc.json diff --git a/packages/utilities/fast-react-wrapper/.eslintignore b/packages/utilities/fast-react-wrapper/.eslintignore deleted file mode 100644 index b51f71fb965..00000000000 --- a/packages/utilities/fast-react-wrapper/.eslintignore +++ /dev/null @@ -1,8 +0,0 @@ -# don't ever lint node_modules -node_modules -# don't lint build output (make sure it's set to your correct build folder name) -dist -# don't lint coverage output -coverage -# don't lint tests -*.spec.* \ No newline at end of file diff --git a/packages/utilities/fast-react-wrapper/.eslintrc.json b/packages/utilities/fast-react-wrapper/.eslintrc.json deleted file mode 100644 index 9a8f33d2046..00000000000 --- a/packages/utilities/fast-react-wrapper/.eslintrc.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": ["@microsoft/eslint-config-fast-dna", "prettier"] -} diff --git a/packages/utilities/fast-react-wrapper/.gitignore b/packages/utilities/fast-react-wrapper/.gitignore deleted file mode 100644 index 1360a95303d..00000000000 --- a/packages/utilities/fast-react-wrapper/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -.rollupcache -coverage -tsdoc-metadata.json -temp \ No newline at end of file diff --git a/packages/utilities/fast-react-wrapper/.mocharc.json b/packages/utilities/fast-react-wrapper/.mocharc.json deleted file mode 100644 index 7240038154e..00000000000 --- a/packages/utilities/fast-react-wrapper/.mocharc.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "colors": true, - "recursive": true, - "timeout": 5000, - "require": [ - "esm", - "jsdom-global/register" - ] -} \ No newline at end of file diff --git a/packages/utilities/fast-react-wrapper/.npmignore b/packages/utilities/fast-react-wrapper/.npmignore deleted file mode 100644 index 9284e0b71bc..00000000000 --- a/packages/utilities/fast-react-wrapper/.npmignore +++ /dev/null @@ -1,25 +0,0 @@ -# Tests -dist/dts/__test__/ -dist/esm/__test__/ -*.spec.* -coverage/ - -# Source files -src/ - -# images -images/ - -# config files -.eslintignore -.eslintrc.js -.mocharc.json -.prettierignore -api-extractor.json -karma.conf.js -rollup.config.js -tsconfig.json - -# cache -.rollupcache -temp \ No newline at end of file diff --git a/packages/utilities/fast-react-wrapper/.npmrc b/packages/utilities/fast-react-wrapper/.npmrc deleted file mode 100644 index 43c97e719a5..00000000000 --- a/packages/utilities/fast-react-wrapper/.npmrc +++ /dev/null @@ -1 +0,0 @@ -package-lock=false diff --git a/packages/utilities/fast-react-wrapper/.prettierignore b/packages/utilities/fast-react-wrapper/.prettierignore deleted file mode 100644 index 8c383faa550..00000000000 --- a/packages/utilities/fast-react-wrapper/.prettierignore +++ /dev/null @@ -1,3 +0,0 @@ -coverage/* -dist/* -*.spec.ts \ No newline at end of file diff --git a/packages/utilities/fast-react-wrapper/ACKNOWLEDGEMENTS.md b/packages/utilities/fast-react-wrapper/ACKNOWLEDGEMENTS.md deleted file mode 100644 index 17fb8cd2759..00000000000 --- a/packages/utilities/fast-react-wrapper/ACKNOWLEDGEMENTS.md +++ /dev/null @@ -1,36 +0,0 @@ -# Acknowledgements - -We'd like to extend a massive thank you to [the Lit team](https://github.com/lit/lit) for their work on [the Lit Labs React Wrapper](https://github.com/lit/lit/tree/main/packages/labs/react). This awesome group of people worked out many of the details of how best to wrap a Web Component for a great experience in React. The FAST React Wrapper was able to leverage a substantial bit of that code for its own wrapper. The FAST React Wrapper re-shapes the API and layers on some additional features that enable the wrapper to leverage FAST's metadata, making the wrapping of any FAST Web Component more streamlined. The FAST wrapper also enables a less verbose registration process when integrating with a Design System. - -We've provided the Lit Labs React Wrapper license below. - ---- - -BSD 3-Clause License - -Copyright (c) 2017 Google LLC. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -1. Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -3. Neither the name of the copyright holder nor the names of its - contributors may be used to endorse or promote products derived from - this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/packages/utilities/fast-react-wrapper/CHANGELOG.json b/packages/utilities/fast-react-wrapper/CHANGELOG.json deleted file mode 100644 index 79a7b953741..00000000000 --- a/packages/utilities/fast-react-wrapper/CHANGELOG.json +++ /dev/null @@ -1,1819 +0,0 @@ -{ - "name": "@microsoft/fast-react-wrapper", - "entries": [ - { - "date": "Fri, 18 Aug 2023 00:04:39 GMT", - "tag": "@microsoft/fast-react-wrapper_v1.0.0-alpha.27", - "version": "1.0.0-alpha.27", - "comments": { - "none": [ - { - "author": "chhol@microsoft.com", - "package": "@microsoft/fast-react-wrapper", - "commit": "2dab94c0eda05bee7c4b497e68951d79d6fcbe46", - "comment": "fix test to use fast-element package export with extension" - } - ], - "prerelease": [ - { - "author": "beachball", - "package": "@microsoft/fast-react-wrapper", - "comment": "Bump @microsoft/fast-element to v2.0.0-beta.26", - "commit": "2dab94c0eda05bee7c4b497e68951d79d6fcbe46" - } - ] - } - }, - { - "date": "Sat, 12 Aug 2023 00:26:35 GMT", - "tag": "@microsoft/fast-react-wrapper_v1.0.0-alpha.26", - "version": "1.0.0-alpha.26", - "comments": { - "none": [ - { - "author": "chhol@microsoft.com", - "package": "@microsoft/fast-react-wrapper", - "commit": "fc98190c6bfb9fabe0988e89daca1c0f64f6e7c8", - "comment": "adds missing types as a dev dependency" - } - ], - "prerelease": [ - { - "author": "chhol@microsoft.com", - "package": "@microsoft/fast-react-wrapper", - "commit": "0f8fc2505445be626e55e1e1b28956c2ff3a722e", - "comment": "add displayName to react wrapper" - }, - { - "author": "beachball", - "package": "@microsoft/fast-react-wrapper", - "comment": "Bump @microsoft/fast-element to v2.0.0-beta.25", - "commit": "2297004e14386b5a689ba96361f8d8eebee69cd8" - } - ] - } - }, - { - "date": "Fri, 16 Jun 2023 18:17:13 GMT", - "tag": "@microsoft/fast-react-wrapper_v1.0.0-alpha.25", - "version": "1.0.0-alpha.25", - "comments": { - "none": [ - { - "author": "chhol@microsoft.com", - "package": "@microsoft/fast-react-wrapper", - "commit": "ca0e62ee8d05f72d1d8c1ad66bd6eea8e3f0a4eb", - "comment": "update prettier and eslint-config-prettier versions" - } - ], - "prerelease": [ - { - "author": "beachball", - "package": "@microsoft/fast-react-wrapper", - "comment": "Bump @microsoft/fast-element to v2.0.0-beta.24", - "commit": "8250aa8352940584ff443b550ee756d49f01c478" - } - ] - } - }, - { - "date": "Tue, 28 Mar 2023 22:14:10 GMT", - "tag": "@microsoft/fast-react-wrapper_v1.0.0-alpha.24", - "version": "1.0.0-alpha.24", - "comments": { - "prerelease": [ - { - "author": "beachball", - "package": "@microsoft/fast-react-wrapper", - "comment": "Bump @microsoft/fast-element to v2.0.0-beta.23", - "commit": "032285c2bf0311f9f44cbc875b40696fc8f62857" - } - ] - } - }, - { - "date": "Sat, 11 Mar 2023 00:09:49 GMT", - "tag": "@microsoft/fast-react-wrapper_v1.0.0-alpha.23", - "version": "1.0.0-alpha.23", - "comments": { - "prerelease": [ - { - "author": "beachball", - "package": "@microsoft/fast-react-wrapper", - "comment": "Bump @microsoft/fast-element to v2.0.0-beta.22", - "commit": "dcf64d0383f613fd0c79b6f4f5ef010fccdbc11f" - } - ] - } - }, - { - "date": "Tue, 14 Feb 2023 04:02:36 GMT", - "tag": "@microsoft/fast-react-wrapper_v1.0.0-alpha.22", - "version": "1.0.0-alpha.22", - "comments": { - "prerelease": [ - { - "author": "beachball", - "package": "@microsoft/fast-react-wrapper", - "comment": "Bump @microsoft/fast-element to v2.0.0-beta.21", - "commit": "e504d092f81623e6332fa8cdf72ce9114e6c842e" - } - ] - } - }, - { - "date": "Wed, 11 Jan 2023 22:07:48 GMT", - "tag": "@microsoft/fast-react-wrapper_v1.0.0-alpha.21", - "version": "1.0.0-alpha.21", - "comments": { - "prerelease": [ - { - "author": "beachball", - "package": "@microsoft/fast-react-wrapper", - "comment": "Bump @microsoft/fast-element to v2.0.0-beta.20", - "commit": "2bb85c931a84d4de3a8b61d6f26f89f2d9a525f6" - } - ] - } - }, - { - "date": "Fri, 02 Dec 2022 01:18:22 GMT", - "tag": "@microsoft/fast-react-wrapper_v1.0.0-alpha.20", - "version": "1.0.0-alpha.20", - "comments": { - "prerelease": [ - { - "author": "beachball", - "package": "@microsoft/fast-react-wrapper", - "comment": "Bump @microsoft/fast-element to v2.0.0-beta.19", - "commit": "040867e9a2a9e0ae25b78dfb3265fbe8f60fe023" - } - ] - } - }, - { - "date": "Tue, 15 Nov 2022 02:40:35 GMT", - "tag": "@microsoft/fast-react-wrapper_v1.0.0-alpha.19", - "version": "1.0.0-alpha.19", - "comments": { - "prerelease": [ - { - "author": "beachball", - "package": "@microsoft/fast-react-wrapper", - "comment": "Bump @microsoft/fast-element to v2.0.0-beta.18", - "commit": "416dc9167e9d41e6ffe11d87ed79b2f455357923" - } - ] - } - }, - { - "date": "Tue, 01 Nov 2022 23:26:26 GMT", - "tag": "@microsoft/fast-react-wrapper_v1.0.0-alpha.18", - "version": "1.0.0-alpha.18", - "comments": { - "prerelease": [ - { - "author": "beachball", - "package": "@microsoft/fast-react-wrapper", - "comment": "Bump @microsoft/fast-element to v2.0.0-beta.17", - "commit": "32d18d0900047899d1dadfe94f7923b6164b0cf3" - } - ] - } - }, - { - "date": "Fri, 28 Oct 2022 20:44:44 GMT", - "tag": "@microsoft/fast-react-wrapper_v1.0.0-alpha.17", - "version": "1.0.0-alpha.17", - "comments": { - "prerelease": [ - { - "author": "beachball", - "package": "@microsoft/fast-react-wrapper", - "comment": "Bump @microsoft/fast-element to v2.0.0-beta.16", - "commit": "5b745b1fb3bf249a7a2d172b7fb69cb08694aadd" - } - ] - } - }, - { - "date": "Tue, 25 Oct 2022 20:24:32 GMT", - "tag": "@microsoft/fast-react-wrapper_v1.0.0-alpha.16", - "version": "1.0.0-alpha.16", - "comments": { - "prerelease": [ - { - "author": "beachball", - "package": "@microsoft/fast-react-wrapper", - "comment": "Bump @microsoft/fast-element to v2.0.0-beta.15", - "commit": "220cc7e0e0de490e51cc8b6f42ff46b03228beaa" - } - ] - } - }, - { - "date": "Fri, 14 Oct 2022 18:26:11 GMT", - "tag": "@microsoft/fast-react-wrapper_v1.0.0-alpha.15", - "version": "1.0.0-alpha.15", - "comments": { - "prerelease": [ - { - "author": "beachball", - "package": "@microsoft/fast-react-wrapper", - "comment": "Bump @microsoft/fast-element to v2.0.0-beta.14", - "commit": "bcfbcb5be4433fb1fb0fab1697f13d345980db87" - } - ] - } - }, - { - "date": "Mon, 10 Oct 2022 20:28:02 GMT", - "tag": "@microsoft/fast-react-wrapper_v1.0.0-alpha.14", - "version": "1.0.0-alpha.14", - "comments": { - "prerelease": [ - { - "author": "beachball", - "package": "@microsoft/fast-react-wrapper", - "comment": "Bump @microsoft/fast-element to v2.0.0-beta.13", - "commit": "ed2977ef6556964e68ea3ab0e4951320a1527baf" - } - ] - } - }, - { - "date": "Thu, 06 Oct 2022 23:21:20 GMT", - "tag": "@microsoft/fast-react-wrapper_v1.0.0-alpha.13", - "version": "1.0.0-alpha.13", - "comments": { - "none": [ - { - "author": "863023+radium-v@users.noreply.github.com", - "package": "@microsoft/fast-react-wrapper", - "commit": "c06e32d72d518bf5c3152efe4e666f233190b445", - "comment": "upgrade karma to ^6.4.1" - } - ], - "prerelease": [ - { - "author": "beachball", - "package": "@microsoft/fast-react-wrapper", - "comment": "Bump @microsoft/fast-element to v2.0.0-beta.12", - "commit": "a69c2e3c0700918fef5ba934909781cc8ab71384" - } - ] - } - }, - { - "date": "Wed, 05 Oct 2022 23:26:01 GMT", - "tag": "@microsoft/fast-react-wrapper_v1.0.0-alpha.12", - "version": "1.0.0-alpha.12", - "comments": { - "prerelease": [ - { - "author": "beachball", - "package": "@microsoft/fast-react-wrapper", - "comment": "Bump @microsoft/fast-element to v2.0.0-beta.11", - "commit": "21d1de94be2b9399ddc43a2b93c6483fa7304591" - } - ] - } - }, - { - "date": "Mon, 03 Oct 2022 23:44:38 GMT", - "tag": "@microsoft/fast-react-wrapper_v1.0.0-alpha.11", - "version": "1.0.0-alpha.11", - "comments": { - "prerelease": [ - { - "author": "beachball", - "package": "@microsoft/fast-react-wrapper", - "comment": "Bump @microsoft/fast-element to v2.0.0-beta.10", - "commit": "e23f4375f183f0672f9aeafd0e58411adb66ae90" - } - ] - } - }, - { - "date": "Wed, 28 Sep 2022 20:45:51 GMT", - "tag": "@microsoft/fast-react-wrapper_v1.0.0-alpha.10", - "version": "1.0.0-alpha.10", - "comments": { - "prerelease": [ - { - "author": "beachball", - "package": "@microsoft/fast-react-wrapper", - "comment": "Bump @microsoft/fast-element to v2.0.0-beta.9", - "commit": "08fab33015853b7f820fdfdac2aecddfeb31843f" - } - ] - } - }, - { - "date": "Tue, 27 Sep 2022 22:31:52 GMT", - "tag": "@microsoft/fast-react-wrapper_v1.0.0-alpha.9", - "version": "1.0.0-alpha.9", - "comments": { - "prerelease": [ - { - "author": "beachball", - "package": "@microsoft/fast-react-wrapper", - "comment": "Bump @microsoft/fast-element to v2.0.0-beta.8", - "commit": "8834c6732c727d39f92f72b197388453a9c17f9b" - } - ] - } - }, - { - "date": "Fri, 23 Sep 2022 22:53:27 GMT", - "tag": "@microsoft/fast-react-wrapper_v1.0.0-alpha.8", - "version": "1.0.0-alpha.8", - "comments": { - "prerelease": [ - { - "author": "beachball", - "package": "@microsoft/fast-react-wrapper", - "comment": "Bump @microsoft/fast-element to v2.0.0-beta.7", - "commit": "1646b26450a08a77c8bd6302560fe12cc6989ae1" - } - ] - } - }, - { - "date": "Thu, 01 Sep 2022 21:53:34 GMT", - "tag": "@microsoft/fast-react-wrapper_v1.0.0-alpha.7", - "version": "1.0.0-alpha.7", - "comments": { - "prerelease": [ - { - "author": "beachball", - "package": "@microsoft/fast-react-wrapper", - "comment": "Bump @microsoft/fast-element to v2.0.0-beta.6", - "commit": "6b0f08574475d8b28cc2df67bf72b9041c2ad285" - } - ] - } - }, - { - "date": "Thu, 18 Aug 2022 20:46:10 GMT", - "tag": "@microsoft/fast-react-wrapper_v1.0.0-alpha.6", - "version": "1.0.0-alpha.6", - "comments": { - "prerelease": [ - { - "author": "beachball", - "package": "@microsoft/fast-react-wrapper", - "comment": "Bump @microsoft/fast-element to v2.0.0-beta.5", - "commit": "0b57f1bc812e8e6371b7d27bb625f99a25bfaa66" - } - ] - } - }, - { - "date": "Mon, 18 Jul 2022 21:10:01 GMT", - "tag": "@microsoft/fast-react-wrapper_v1.0.0-alpha.5", - "version": "1.0.0-alpha.5", - "comments": { - "prerelease": [ - { - "author": "roeisenb@microsoft.com", - "package": "@microsoft/fast-react-wrapper", - "commit": "b32eb1004960da95b74dba7f111ee859b6655896", - "comment": "fix: update react wrapper to remove foundation dependency" - }, - { - "author": "roeisenb@microsoft.com", - "package": "@microsoft/fast-react-wrapper", - "commit": "aacfde6d1f52a20af5511c5e792f730bd091d452", - "comment": "chore: update tests to use testing helpers from fast-element" - }, - { - "author": "beachball", - "package": "@microsoft/fast-react-wrapper", - "comment": "Bump @microsoft/fast-element to v2.0.0-beta.4", - "commit": "2ff46a32cdd9af12b236d0e2f3436a4de782e8ee" - } - ] - } - }, - { - "date": "Wed, 22 Jun 2022 20:17:50 GMT", - "tag": "@microsoft/fast-react-wrapper_v1.0.0-alpha.4", - "version": "1.0.0-alpha.4", - "comments": { - "prerelease": [ - { - "comment": "Bump @microsoft/fast-element to v2.0.0-beta.3", - "author": "nicholasrice@users.noreply.github.com", - "commit": "f28cdb9fdba9cb27904acfad7444de82d447f39e", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Wed, 15 Jun 2022 17:41:10 GMT", - "tag": "@microsoft/fast-react-wrapper_v1.0.0-alpha.3", - "version": "1.0.0-alpha.3", - "comments": { - "prerelease": [ - { - "comment": "Bump @microsoft/fast-element to v2.0.0-beta.2", - "author": "roeisenb@microsoft.com", - "commit": "359467f9ae67c46a33dfc28ce86dfd908072695d", - "package": "@microsoft/fast-react-wrapper" - } - ], - "none": [ - { - "comment": "Bump @microsoft/fast-foundation to v3.0.0-alpha.3", - "author": "7559015+janechu@users.noreply.github.com", - "commit": "a6b2a570c1cb592bc92b4c9d8366d197658819ae", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Wed, 01 Jun 2022 22:21:24 GMT", - "tag": "@microsoft/fast-react-wrapper_v1.0.0-alpha.2", - "version": "1.0.0-alpha.2", - "comments": { - "prerelease": [ - { - "comment": "Bump @microsoft/fast-foundation to v3.0.0-alpha.2", - "author": "nicholasrice@users.noreply.github.com", - "commit": "e4740b8f077b77954ae82ff698f144181e1504a7", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Wed, 01 Jun 2022 17:53:14 GMT", - "tag": "@microsoft/fast-react-wrapper_v1.0.0-alpha.1", - "version": "1.0.0-alpha.1", - "comments": { - "prerelease": [ - { - "comment": "fix: update React wrapper lib to use latest APIs", - "author": "roeisenb@microsoft.com", - "commit": "4699e77715068f8610aae908ede6356a249574b6", - "package": "@microsoft/fast-react-wrapper" - }, - { - "comment": "chore: remove rollup of react-wrapper", - "author": "roeisenb@microsoft.com", - "commit": "4699e77715068f8610aae908ede6356a249574b6", - "package": "@microsoft/fast-react-wrapper" - }, - { - "comment": "chore: update fast-react-wrapper to latest core APIs", - "author": "roeisenb@microsoft.com", - "commit": "4699e77715068f8610aae908ede6356a249574b6", - "package": "@microsoft/fast-react-wrapper" - }, - { - "comment": "Set prerelease version", - "author": "nicholasrice@users.noreply.github.com", - "commit": "5b313a3262b977acbee3c2efac87d0d14a82f792", - "package": "@microsoft/fast-react-wrapper" - }, - { - "comment": "fix: update fast-react-wrapper to not use deprecated APIs", - "author": "roeisenb@microsoft.com", - "commit": "4699e77715068f8610aae908ede6356a249574b6", - "package": "@microsoft/fast-react-wrapper" - } - ], - "none": [ - { - "comment": "test: updating to latest foundation helpers", - "author": "roeisenb@microsoft.com", - "commit": "4699e77715068f8610aae908ede6356a249574b6", - "package": "@microsoft/fast-react-wrapper" - }, - { - "comment": "chore: various fixes for Node16 and package exports", - "author": "roeisenb@microsoft.com", - "commit": "4699e77715068f8610aae908ede6356a249574b6", - "package": "@microsoft/fast-react-wrapper" - }, - { - "comment": "update api extractor and typescript to use the latest versions", - "author": "chhol@microsoft.com", - "commit": "4699e77715068f8610aae908ede6356a249574b6", - "package": "@microsoft/fast-react-wrapper" - }, - { - "comment": "Bump @microsoft/fast-element to v2.0.0-beta.1", - "author": "roeisenb@microsoft.com", - "commit": "4699e77715068f8610aae908ede6356a249574b6", - "package": "@microsoft/fast-react-wrapper" - }, - { - "comment": "Bump @microsoft/fast-foundation to v3.0.0-alpha.1", - "author": "roeisenb@microsoft.com", - "commit": "4699e77715068f8610aae908ede6356a249574b6", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Sun, 29 May 2022 07:08:52 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.3.9", - "version": "0.3.9", - "comments": { - "none": [ - { - "comment": "Bump @microsoft/fast-element to v1.10.2", - "author": "steph@huynhicode.dev", - "commit": "283b4838d46ed83c70ff4ad91f7f72a4936d59bf", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Thu, 26 May 2022 07:11:44 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.3.9", - "version": "0.3.9", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-foundation to v2.46.8", - "author": "burtonsmith@microsoft.com", - "commit": "cbee01dd556ff6f32e1d35aef07eaad41e4eb44e", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Wed, 25 May 2022 07:09:21 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.3.8", - "version": "0.3.8", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-foundation to v2.46.7", - "author": "chhol@microsoft.com", - "commit": "352e888d8e30f4c1174264d15139f2cffc06c81a", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Tue, 24 May 2022 07:10:02 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.3.7", - "version": "0.3.7", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-element to v1.10.2", - "author": "roeisenb@microsoft.com", - "commit": "476be7672653b2e63b9ab771949718aa8f43df0d", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Sun, 22 May 2022 07:09:02 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.3.6", - "version": "0.3.6", - "comments": { - "none": [ - { - "comment": "Bump @microsoft/fast-foundation to v2.46.5", - "author": "burtonsmith@microsoft.com", - "commit": "3e3309619b1292242881016ba46a4ef720a41f80", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Thu, 19 May 2022 07:09:40 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.3.6", - "version": "0.3.6", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-foundation to v2.46.4", - "author": "20542556+mollykreis@users.noreply.github.com", - "commit": "c429fa743a3f03fc4e90b31ae112c7a53d8426fe", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Sun, 15 May 2022 07:08:25 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.3.5", - "version": "0.3.5", - "comments": { - "none": [ - { - "comment": "Bump @microsoft/fast-foundation to v2.46.3", - "author": "16669785+awentzel@users.noreply.github.com", - "commit": "529b74d8b42e66266769c5d58f3a24fc93c3d3ba", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Tue, 10 May 2022 07:11:04 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.3.5", - "version": "0.3.5", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-foundation to v2.46.3", - "author": "scomea@microsoft.com", - "commit": "4a3175e8585af03e97b388849f697f8ee5dbe424", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Sun, 08 May 2022 07:08:18 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.3.4", - "version": "0.3.4", - "comments": { - "none": [ - { - "comment": "Bump @microsoft/fast-element to v1.10.1", - "author": "chhol@microsoft.com", - "commit": "890ff058b8771c84a9e669b4e9202c43f4d3e7fc", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Fri, 06 May 2022 20:58:02 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.3.4", - "version": "0.3.4", - "comments": { - "none": [ - { - "comment": "update api extractor to 7.23.1 to ensure we can support TS 4.7 internal API changes", - "author": "chhol@microsoft.com", - "commit": "fbc6a7fb670453322c93f8f12a223febad86f735", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Thu, 05 May 2022 07:11:41 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.3.4", - "version": "0.3.4", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-foundation to v2.46.2", - "author": "abris96@gmail.com", - "commit": "10169e77fc1ee328c0e94e082e120e8d1c4171b5", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Wed, 04 May 2022 07:14:00 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.3.3", - "version": "0.3.3", - "comments": { - "none": [ - { - "comment": "Bump @microsoft/fast-element to v1.10.1", - "author": "steph@huynhicode.dev", - "commit": "c49a98f7f1bd8e167b0b7a96a181990f9a675f34", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Tue, 03 May 2022 07:15:44 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.3.3", - "version": "0.3.3", - "comments": { - "patch": [ - { - "comment": "Upgraded api-extractor", - "author": "44823142+williamw2@users.noreply.github.com", - "commit": "2341496a6fafe3051dc50333c21ca652026f725b", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Sun, 01 May 2022 07:12:05 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.3.2", - "version": "0.3.2", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-foundation to v2.45.0", - "author": "chhol@microsoft.com", - "commit": "575c89b2e98afbf91b08c1e18f2a080a0b779052", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Thu, 28 Apr 2022 07:12:47 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.3.1", - "version": "0.3.1", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-foundation to v2.44.0", - "author": "john.kreitlow@microsoft.com", - "commit": "26474a333da31741df31e5acd86139ba0e9244ad", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Wed, 27 Apr 2022 07:21:09 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.3.0", - "version": "0.3.0", - "comments": { - "minor": [ - { - "comment": "update to typescript 4.6.2 and update ARIAMixin typings", - "author": "chhol@microsoft.com", - "commit": "35bdab45550b5d8b8762041110eccb06de78add5", - "package": "@microsoft/fast-react-wrapper" - } - ], - "patch": [ - { - "comment": "Bump @microsoft/fast-foundation to v2.43.0", - "author": "chhol@microsoft.com", - "commit": "35bdab45550b5d8b8762041110eccb06de78add5", - "package": "@microsoft/fast-react-wrapper" - }, - { - "comment": "Bump @microsoft/fast-element to v1.10.0", - "author": "chhol@microsoft.com", - "commit": "35bdab45550b5d8b8762041110eccb06de78add5", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Sun, 24 Apr 2022 07:13:26 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.2.2", - "version": "0.2.2", - "comments": { - "none": [ - { - "comment": "Bump @microsoft/fast-element to v1.9.0", - "author": "16669785+awentzel@users.noreply.github.com", - "commit": "ed08697132b639f3104562b16a0dcf5c5653a878", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Thu, 21 Apr 2022 07:13:54 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.2.2", - "version": "0.2.2", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-foundation to v2.42.2", - "author": "47367562+bheston@users.noreply.github.com", - "commit": "20836e97d291137c5600fb4ee6d643c2b55b11ee", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Wed, 20 Apr 2022 07:13:17 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.2.1", - "version": "0.2.1", - "comments": { - "none": [ - { - "comment": "Pull up api-extractor.json to root and then extend it for each project", - "author": "stephanosp@microsoft.com", - "commit": "e3076337cbc2d260a497116061ee3bba3866a97d", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Sun, 17 Apr 2022 07:11:18 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.2.1", - "version": "0.2.1", - "comments": { - "none": [ - { - "comment": "Merge branch 'master' into wanFixString", - "author": "74849806+wannieman98@users.noreply.github.com", - "commit": "14bc5d5f2ae608328eb16ad7e619bab00415f60a", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Thu, 14 Apr 2022 07:12:36 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.2.1", - "version": "0.2.1", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-foundation to v2.42.0", - "author": "web@bennypowers.com", - "commit": "9f670f6b0b5df7b2c07199883226e07779d77dc5", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Tue, 12 Apr 2022 07:13:35 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.2.0", - "version": "0.2.0", - "comments": { - "minor": [ - { - "comment": "Converted package to be of type:module", - "author": "nicholasrice@users.noreply.github.com", - "commit": "606ad41e2af9f547d2c18342389b2d9b50902b0f", - "package": "@microsoft/fast-react-wrapper" - } - ], - "none": [ - { - "comment": "Bump @microsoft/fast-element to v1.9.0", - "author": "yinon@hotmail.com", - "commit": "3e4d72447520f40d234b1df2cc70446dcef8bb47", - "package": "@microsoft/fast-react-wrapper" - }, - { - "comment": "Bump @microsoft/fast-foundation to v2.41.1", - "author": "yinon@hotmail.com", - "commit": "3e4d72447520f40d234b1df2cc70446dcef8bb47", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Thu, 07 Apr 2022 07:12:06 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.48", - "version": "0.1.48", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-foundation to v2.41.1", - "author": "44823142+williamw2@users.noreply.github.com", - "commit": "35cc415fde15cf07627ca3007024833689284f86", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Wed, 06 Apr 2022 07:12:42 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.47", - "version": "0.1.47", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-element to v1.9.0", - "author": "nicholasrice@users.noreply.github.com", - "commit": "ead7f7340654236f2503359e2fc6f0b41639b507", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Sun, 03 Apr 2022 07:12:01 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.46", - "version": "0.1.46", - "comments": { - "none": [ - { - "comment": "Bump @microsoft/fast-element to v1.8.0", - "author": "47367562+bheston@users.noreply.github.com", - "commit": "35913ce3a2dcba83bebb63cce2b8edf4e9da7df9", - "package": "@microsoft/fast-react-wrapper" - } - ], - "patch": [ - { - "comment": "Bump @microsoft/fast-foundation to v2.40.0", - "author": "nicholasrice@users.noreply.github.com", - "commit": "f6107c448ab6446667f4d9e86d9f9c11fff075aa", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Thu, 31 Mar 2022 07:13:31 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.45", - "version": "0.1.45", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-foundation to v2.39.0", - "author": "chhol@microsoft.com", - "commit": "33a990cffd8c8044e886c9d777e212fa67f60acf", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Sun, 27 Mar 2022 07:11:50 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.44", - "version": "0.1.44", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-foundation to v2.38.0", - "author": "44823142+williamw2@users.noreply.github.com", - "commit": "8c41d877143f04377fc599b533317c4d950ebb0b", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Thu, 24 Mar 2022 07:12:08 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.43", - "version": "0.1.43", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-foundation to v2.37.2", - "author": "20542556+mollykreis@users.noreply.github.com", - "commit": "03a237b0007f6e446242043ae17b142e5cbb5359", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Sun, 20 Mar 2022 07:15:44 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.42", - "version": "0.1.42", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-foundation to v2.37.1", - "author": "26874831+atmgrifter00@users.noreply.github.com", - "commit": "1898cd9a73f2cf9496a2a78d18e13bd87aa012df", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Thu, 17 Mar 2022 07:11:51 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.41", - "version": "0.1.41", - "comments": { - "patch": [ - { - "comment": "fix: cache wrapper does not differentiate component of same type using react wrapper", - "author": "fcollonval@gmail.com", - "commit": "acec687292c19fdd56f851a6275447c2d2dbd889", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Wed, 16 Mar 2022 07:12:41 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.40", - "version": "0.1.40", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-foundation to v2.37.0", - "author": "scomea@microsoft.com", - "commit": "09b97ab3e9d7c1d71a048667d0aa0368569ab64a", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Tue, 15 Mar 2022 07:12:38 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.39", - "version": "0.1.39", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-foundation to v2.36.1", - "author": "scomea@microsoft.com", - "commit": "b996b057e3adbd8642ca07fc1dc6245aea2d3e50", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Fri, 11 Mar 2022 23:46:34 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.38", - "version": "0.1.38", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-foundation to v2.36.0", - "author": "jes@microsoft.com", - "commit": "9b838f36e388958f927c1f6d80d6fa736186897c", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Wed, 09 Mar 2022 07:12:32 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.37", - "version": "0.1.37", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-foundation to v2.35.2", - "author": "20542556+mollykreis@users.noreply.github.com", - "commit": "b4549c8a383d6ac43d2967491e5596bbffb87d80", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Tue, 08 Mar 2022 07:12:45 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.36", - "version": "0.1.36", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-element to v1.8.0", - "author": "roeisenb@microsoft.com", - "commit": "0e506c6c67a8a7d75e4ef9cfbd000f9da810dc14", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Sun, 06 Mar 2022 07:13:48 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.35", - "version": "0.1.35", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-foundation to v2.35.0", - "author": "sethdonohue@Admins-MBP.guest.corp.microsoft.com", - "commit": "bdeeb23bbaa56433d650660387e852c5eef87fee", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Thu, 03 Mar 2022 07:12:03 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.34", - "version": "0.1.34", - "comments": { - "none": [ - { - "comment": "Bump @microsoft/fast-foundation to v2.34.0", - "author": "email not defined", - "commit": "26ce299730c2a97d931a4a87fc64ef6f92b5580c", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Wed, 02 Mar 2022 07:12:58 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.34", - "version": "0.1.34", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-foundation to v2.34.0", - "author": "steph@huynhicode.dev", - "commit": "638bd1e86cd3ecf4223371b48a4290cc7c75d765", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Fri, 25 Feb 2022 17:09:32 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.33", - "version": "0.1.33", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-element to v1.7.2", - "author": "roeisenb@microsoft.com", - "commit": "76a9c866277cd13a92a9ca6b3518eae2fb625d79", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Thu, 24 Feb 2022 22:21:55 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.32", - "version": "0.1.32", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-element to v1.7.1", - "author": "roeisenb@microsoft.com", - "commit": "9dfb9bb20afa48320eef2c6157e26ec2b10cfd3e", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Sun, 20 Feb 2022 07:16:20 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.31", - "version": "0.1.31", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-foundation to v2.33.4", - "author": "scomea@microsoft.com", - "commit": "6cadbdf6f4001a087dddba6c863604055a1da4d2", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Tue, 15 Feb 2022 07:11:28 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.30", - "version": "0.1.30", - "comments": { - "patch": [ - { - "comment": "add a caching system for react wrappers", - "author": "mathieulavoie94@gmail.com", - "commit": "bce03c56195d9ba967729b41f85c438f310f8433", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Thu, 10 Feb 2022 07:12:01 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.29", - "version": "0.1.29", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-foundation to v2.33.2", - "author": "5454342+brianehenry@users.noreply.github.com", - "commit": "b8e71f23c976545c16cd3ca05ee6dfc6dc47788f", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Wed, 09 Feb 2022 07:14:00 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.28", - "version": "0.1.28", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-foundation to v2.33.1", - "author": "john.kreitlow@microsoft.com", - "commit": "273749d704826d646141a45c8f0f82763376b3f9", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Sun, 06 Feb 2022 07:15:20 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.27", - "version": "0.1.27", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-foundation to v2.33.0", - "author": "scomea@microsoft.com", - "commit": "41f6eb951d79573f3a79547c6100485e0935dad3", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Wed, 02 Feb 2022 07:13:39 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.26", - "version": "0.1.26", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-foundation to v2.32.3", - "author": "robarb@microsoft.com", - "commit": "72efc898ed23b08c9e7668844bc3a97f81b2bde9", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Sun, 30 Jan 2022 07:12:35 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.25", - "version": "0.1.25", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-foundation to v2.32.2", - "author": "mathieulavoie94@gmail.com", - "commit": "690b6218efc355985e3d97283ad043e7d085ef3c", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Tue, 25 Jan 2022 07:11:53 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.24", - "version": "0.1.24", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-foundation to v2.32.1", - "author": "john.kreitlow@microsoft.com", - "commit": "97f653f8ee62c74d47df9b60024ff8eef05c79d1", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Sun, 23 Jan 2022 07:13:56 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.23", - "version": "0.1.23", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-element to v1.7.0", - "author": "scomea@microsoft.com", - "commit": "897c39862b58a63ad9900426ae6ae2f95d222e1e", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Thu, 20 Jan 2022 07:12:04 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.22", - "version": "0.1.22", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-foundation to v2.31.0", - "author": "john.kreitlow@microsoft.com", - "commit": "89cb932580c74aa070e05a9cc04a3fbe1495c1f3", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Sun, 16 Jan 2022 07:11:36 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.21", - "version": "0.1.21", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-foundation to v2.30.0", - "author": "5454342+brianehenry@users.noreply.github.com", - "commit": "53475edb39a2f87f603858718fb2abd8095ab5f9", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Wed, 12 Jan 2022 07:11:42 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.20", - "version": "0.1.20", - "comments": { - "none": [ - { - "comment": "Bump @microsoft/fast-element to v1.6.2", - "author": "steph@huynhicode.dev", - "commit": "962ca2a330f8c277ac489613f0ff55cac08896e8", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Tue, 11 Jan 2022 07:09:27 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.20", - "version": "0.1.20", - "comments": { - "none": [ - { - "comment": "update rollup-plugin-filesize from 8.0.2 to 9.1.2", - "author": "john.kreitlow@microsoft.com", - "commit": "af847f2749ff605cced426e55a1580ea85c89cb0", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Sun, 09 Jan 2022 07:11:51 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.20", - "version": "0.1.20", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-foundation to v2.29.0", - "author": "john.kreitlow@microsoft.com", - "commit": "256fe07122c2838e6bf0edd639a539b9ceeaa1bf", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Thu, 06 Jan 2022 07:11:52 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.19", - "version": "0.1.19", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-foundation to v2.28.0", - "author": "email not defined", - "commit": "fb22059b2594cc8a7ca32a1f14570b6393ecb68f", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Sun, 19 Dec 2021 07:12:39 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.18", - "version": "0.1.18", - "comments": { - "none": [ - { - "comment": "Bump @microsoft/fast-element to v1.6.2", - "author": "steph@huynhicode.dev", - "commit": "5056e83234e1c758375fa4882943d104fb476ca2", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Wed, 15 Dec 2021 07:14:44 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.18", - "version": "0.1.18", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-foundation to v2.27.2", - "author": "john.kreitlow@microsoft.com", - "commit": "2c538ea8bcf3fd63d07521d9c8a9b889653cd889", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Tue, 14 Dec 2021 07:12:12 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.17", - "version": "0.1.17", - "comments": { - "none": [ - { - "comment": "Bump @microsoft/fast-element to v1.6.2", - "author": "roeisenb@microsoft.com", - "commit": "babdb99e832319eaee76465765f9e6b72911d473", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Wed, 08 Dec 2021 07:10:04 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.17", - "version": "0.1.17", - "comments": { - "none": [ - { - "comment": "Bump @microsoft/fast-element to v1.6.2", - "author": "roeisenb@microsoft.com", - "commit": "bd7d84152a823cc21aab0dfa196da9d663ad0778", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Thu, 02 Dec 2021 07:11:13 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.17", - "version": "0.1.17", - "comments": { - "none": [ - { - "comment": "Bump @microsoft/fast-element to v1.6.2", - "author": "roeisenb@microsoft.com", - "commit": "2ec536794820959f771ebbfe25efd5a4489e7a76", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Tue, 23 Nov 2021 07:12:23 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.17", - "version": "0.1.17", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-foundation to v2.27.0", - "author": "john.kreitlow@microsoft.com", - "commit": "caa956557ea1d8b7722665d228898df629d46cc2", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Wed, 17 Nov 2021 07:12:14 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.16", - "version": "0.1.16", - "comments": { - "patch": [ - { - "comment": "fix(react-wrapper): change peer dependency for `react`", - "author": "vaibhavkshinde20@gmail.com", - "commit": "ac96e70317ce56e38bc1e8bad5deb5018f20ab81", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Thu, 11 Nov 2021 07:15:33 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.15", - "version": "0.1.15", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-foundation to v2.26.2", - "author": "nicholasrice@users.noreply.github.com", - "commit": "116f30b236deffd48ede5488d167934cf848c492", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Wed, 10 Nov 2021 07:12:54 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.14", - "version": "0.1.14", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-foundation to v2.26.1", - "author": "robarb@microsoft.com", - "commit": "14151d5ffa234babf237c5ea32282c5514e94b96", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Tue, 09 Nov 2021 07:14:09 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.13", - "version": "0.1.13", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-foundation to v2.26.0", - "author": "jes@microsoft.com", - "commit": "1a510ffa425375688d06fd7d696666745d1b367e", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Thu, 04 Nov 2021 07:11:59 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.12", - "version": "0.1.12", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-foundation to v2.25.1", - "author": "jes@microsoft.com", - "commit": "58db7046b41b9318e02a8c49a70392c7504c8c28", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Wed, 03 Nov 2021 07:12:39 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.11", - "version": "0.1.11", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-foundation to v2.25.0", - "author": "scomea@microsoft.com", - "commit": "449315688a794e702936ba73ce5d2b23aa660720", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Sun, 31 Oct 2021 07:17:45 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.10", - "version": "0.1.10", - "comments": { - "patch": [ - { - "comment": "update fast eslint package version", - "author": "chhol@microsoft.com", - "commit": "a150068ee196e73fe7a4f7b538a38752e0e506ba", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Thu, 28 Oct 2021 07:15:32 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.9", - "version": "0.1.9", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-foundation to v2.23.2", - "author": "nicholasrice@users.noreply.github.com", - "commit": "124f3283c8c3b317c42519576cba054821891ab5", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Wed, 27 Oct 2021 07:11:58 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.8", - "version": "0.1.8", - "comments": { - "none": [ - { - "comment": "Bump @microsoft/fast-foundation to v2.23.1", - "author": "chhol@microsoft.com", - "commit": "b3943f922f1b6b78695b63ab957c45cc67a3173c", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Fri, 22 Oct 2021 17:40:52 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.8", - "version": "0.1.8", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-foundation to v2.23.0", - "author": "chhol@microsoft.com", - "commit": "35c227a146ba73ce81a820c187c2834fa0c95a00", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Thu, 21 Oct 2021 07:11:42 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.7", - "version": "0.1.7", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-foundation to v2.22.1", - "author": "scomea@microsoft.com", - "commit": "87f26acd2aedde19c15a434932ec5de23f5bc021", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Wed, 20 Oct 2021 07:13:46 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.6", - "version": "0.1.6", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-foundation to v2.22.0", - "author": "scomea@microsoft.com", - "commit": "a495df7f2f95ccbd2c6b98c66465d3646ab4d015", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Fri, 15 Oct 2021 23:24:14 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.5", - "version": "0.1.5", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-foundation to v2.21.0", - "author": "nicholasrice@users.noreply.github.com", - "commit": "5cc73663ee585062b130da6d57400fa15bcd3707", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Wed, 13 Oct 2021 22:45:16 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.4", - "version": "0.1.4", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-element to v1.6.1", - "author": "markwhitfeld@users.noreply.github.com", - "commit": "49d27d20bf430ea4639978ba363e017fc5aa88e4", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Wed, 13 Oct 2021 01:53:37 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.3", - "version": "0.1.3", - "comments": { - "patch": [ - { - "comment": "refactor: remove lodash-es as a dependency", - "author": "connor@peet.io", - "commit": "4ef4b325f8259dd0f648b5fe1b393ef8839e643e", - "package": "@microsoft/fast-react-wrapper" - } - ], - "none": [ - { - "comment": "Bump @microsoft/fast-element to v1.6.0", - "author": "skawian@gmail.com", - "commit": "1dd6243d7564f00d8af77d1335ab96b0e8153c2e", - "package": "@microsoft/fast-react-wrapper" - }, - { - "comment": "Bump @microsoft/fast-foundation to v2.19.0", - "author": "scomea@microsoft.com", - "commit": "8f9b5ab92aec9f6f3214976e0284554158be6a70", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Tue, 12 Oct 2021 07:15:14 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.2", - "version": "0.1.2", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-foundation to v2.18.0", - "author": "roeisenb@microsoft.com", - "commit": "f9eeb257368aee0535ccfd4efd5a1dc25ab1a2fe", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Sun, 10 Oct 2021 07:12:26 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.1", - "version": "0.1.1", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-foundation to v2.17.3", - "author": "john.kreitlow@microsoft.com", - "commit": "d3a5955c4feba0b355189a4b28dbe8befcfb89df", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Fri, 08 Oct 2021 20:52:58 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.1.0", - "version": "0.1.0", - "comments": { - "minor": [ - { - "comment": "Adding new fast-react-wrapper package", - "author": "rob.eisenberg@microsoft.com", - "commit": "51a7cee314a27e8a17426462218d247024232e14", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Fri, 08 Oct 2021 19:53:11 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.0.1", - "version": "0.0.1", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-element to v1.6.0", - "author": "roeisenb@microsoft.com", - "commit": "d49d1ecc65ee74b7efb33b5a67fcad5fcead7342", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Wed, 06 Oct 2021 07:11:47 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.0.1", - "version": "0.0.1", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-foundation to v2.17.1", - "author": "scomea@microsoft.com", - "commit": "0d509e1bbd4f7e55b167986ea95497ef64bfd7ef", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Tue, 05 Oct 2021 00:45:07 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.0.1", - "version": "0.0.1", - "comments": { - "patch": [ - { - "comment": "Bump @microsoft/fast-foundation to v2.17.0", - "author": "robarb@microsoft.com", - "commit": "5f6c838b1511ebf26a34b3c4d26f82467de8a603", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - }, - { - "date": "Sun, 03 Oct 2021 07:12:33 GMT", - "tag": "@microsoft/fast-react-wrapper_v0.0.1", - "version": "0.0.1", - "comments": { - "none": [ - { - "comment": "Bump @microsoft/fast-foundation to v2.16.5", - "author": "meyunus@microsoft.com", - "commit": "83d2ace2b485b730cf8ea11512d5782cab381a1b", - "package": "@microsoft/fast-react-wrapper" - } - ] - } - } - ] -} diff --git a/packages/utilities/fast-react-wrapper/CHANGELOG.md b/packages/utilities/fast-react-wrapper/CHANGELOG.md deleted file mode 100644 index 577bf517668..00000000000 --- a/packages/utilities/fast-react-wrapper/CHANGELOG.md +++ /dev/null @@ -1,753 +0,0 @@ -# Change Log - @microsoft/fast-react-wrapper - -This log was last generated on Fri, 18 Aug 2023 00:04:39 GMT and should not be manually modified. - - - -## 1.0.0-alpha.27 - -Fri, 18 Aug 2023 00:04:39 GMT - -### Changes - -- Bump @microsoft/fast-element to v2.0.0-beta.26 - -## 1.0.0-alpha.26 - -Sat, 12 Aug 2023 00:26:35 GMT - -### Changes - -- add displayName to react wrapper (chhol@microsoft.com) -- Bump @microsoft/fast-element to v2.0.0-beta.25 - -## 1.0.0-alpha.25 - -Fri, 16 Jun 2023 18:17:13 GMT - -### Changes - -- Bump @microsoft/fast-element to v2.0.0-beta.24 - -## 1.0.0-alpha.24 - -Tue, 28 Mar 2023 22:14:10 GMT - -### Changes - -- Bump @microsoft/fast-element to v2.0.0-beta.23 - -## 1.0.0-alpha.23 - -Sat, 11 Mar 2023 00:09:49 GMT - -### Changes - -- Bump @microsoft/fast-element to v2.0.0-beta.22 - -## 1.0.0-alpha.22 - -Tue, 14 Feb 2023 04:02:36 GMT - -### Changes - -- Bump @microsoft/fast-element to v2.0.0-beta.21 - -## 1.0.0-alpha.21 - -Wed, 11 Jan 2023 22:07:48 GMT - -### Changes - -- Bump @microsoft/fast-element to v2.0.0-beta.20 - -## 1.0.0-alpha.20 - -Fri, 02 Dec 2022 01:18:22 GMT - -### Changes - -- Bump @microsoft/fast-element to v2.0.0-beta.19 - -## 1.0.0-alpha.19 - -Tue, 15 Nov 2022 02:40:35 GMT - -### Changes - -- Bump @microsoft/fast-element to v2.0.0-beta.18 - -## 1.0.0-alpha.18 - -Tue, 01 Nov 2022 23:26:26 GMT - -### Changes - -- Bump @microsoft/fast-element to v2.0.0-beta.17 - -## 1.0.0-alpha.17 - -Fri, 28 Oct 2022 20:44:44 GMT - -### Changes - -- Bump @microsoft/fast-element to v2.0.0-beta.16 - -## 1.0.0-alpha.16 - -Tue, 25 Oct 2022 20:24:32 GMT - -### Changes - -- Bump @microsoft/fast-element to v2.0.0-beta.15 - -## 1.0.0-alpha.15 - -Fri, 14 Oct 2022 18:26:11 GMT - -### Changes - -- Bump @microsoft/fast-element to v2.0.0-beta.14 - -## 1.0.0-alpha.14 - -Mon, 10 Oct 2022 20:28:02 GMT - -### Changes - -- Bump @microsoft/fast-element to v2.0.0-beta.13 - -## 1.0.0-alpha.13 - -Thu, 06 Oct 2022 23:21:20 GMT - -### Changes - -- Bump @microsoft/fast-element to v2.0.0-beta.12 - -## 1.0.0-alpha.12 - -Wed, 05 Oct 2022 23:26:01 GMT - -### Changes - -- Bump @microsoft/fast-element to v2.0.0-beta.11 - -## 1.0.0-alpha.11 - -Mon, 03 Oct 2022 23:44:38 GMT - -### Changes - -- Bump @microsoft/fast-element to v2.0.0-beta.10 - -## 1.0.0-alpha.10 - -Wed, 28 Sep 2022 20:45:51 GMT - -### Changes - -- Bump @microsoft/fast-element to v2.0.0-beta.9 - -## 1.0.0-alpha.9 - -Tue, 27 Sep 2022 22:31:52 GMT - -### Changes - -- Bump @microsoft/fast-element to v2.0.0-beta.8 - -## 1.0.0-alpha.8 - -Fri, 23 Sep 2022 22:53:27 GMT - -### Changes - -- Bump @microsoft/fast-element to v2.0.0-beta.7 - -## 1.0.0-alpha.7 - -Thu, 01 Sep 2022 21:53:34 GMT - -### Changes - -- Bump @microsoft/fast-element to v2.0.0-beta.6 - -## 1.0.0-alpha.6 - -Thu, 18 Aug 2022 20:46:10 GMT - -### Changes - -- Bump @microsoft/fast-element to v2.0.0-beta.5 - -## 1.0.0-alpha.5 - -Mon, 18 Jul 2022 21:10:01 GMT - -### Changes - -- fix: update react wrapper to remove foundation dependency (roeisenb@microsoft.com) -- chore: update tests to use testing helpers from fast-element (roeisenb@microsoft.com) -- Bump @microsoft/fast-element to v2.0.0-beta.4 - -## 1.0.0-alpha.4 - -Wed, 22 Jun 2022 20:17:50 GMT - -### Changes - -- Bump @microsoft/fast-element to v2.0.0-beta.3 (nicholasrice@users.noreply.github.com) - -## 1.0.0-alpha.3 - -Wed, 15 Jun 2022 17:41:10 GMT - -### Changes - -- Bump @microsoft/fast-element to v2.0.0-beta.2 (roeisenb@microsoft.com) - -## 1.0.0-alpha.2 - -Wed, 01 Jun 2022 22:21:24 GMT - -### Changes - -- Bump @microsoft/fast-foundation to v3.0.0-alpha.2 (nicholasrice@users.noreply.github.com) - -## 1.0.0-alpha.1 - -Wed, 01 Jun 2022 17:53:14 GMT - -### Changes - -- fix: update React wrapper lib to use latest APIs (roeisenb@microsoft.com) -- chore: remove rollup of react-wrapper (roeisenb@microsoft.com) -- chore: update fast-react-wrapper to latest core APIs (roeisenb@microsoft.com) -- Set prerelease version (nicholasrice@users.noreply.github.com) -- fix: update fast-react-wrapper to not use deprecated APIs (roeisenb@microsoft.com) - -## 0.3.9 - -Thu, 26 May 2022 07:11:44 GMT - -### Patches - -- Bump @microsoft/fast-foundation to v2.46.8 (burtonsmith@microsoft.com) - -## 0.3.8 - -Wed, 25 May 2022 07:09:21 GMT - -### Patches - -- Bump @microsoft/fast-foundation to v2.46.7 (chhol@microsoft.com) - -## 0.3.7 - -Tue, 24 May 2022 07:10:02 GMT - -### Patches - -- Bump @microsoft/fast-element to v1.10.2 (roeisenb@microsoft.com) - -## 0.3.6 - -Thu, 19 May 2022 07:09:40 GMT - -### Patches - -- Bump @microsoft/fast-foundation to v2.46.4 (20542556+mollykreis@users.noreply.github.com) - -## 0.3.5 - -Tue, 10 May 2022 07:11:04 GMT - -### Patches - -- Bump @microsoft/fast-foundation to v2.46.3 (scomea@microsoft.com) - -## 0.3.4 - -Thu, 05 May 2022 07:11:41 GMT - -### Patches - -- Bump @microsoft/fast-foundation to v2.46.2 (abris96@gmail.com) - -## 0.3.3 - -Tue, 03 May 2022 07:15:44 GMT - -### Patches - -- Upgraded api-extractor (44823142+williamw2@users.noreply.github.com) - -## 0.3.2 - -Sun, 01 May 2022 07:12:05 GMT - -### Patches - -- Bump @microsoft/fast-foundation to v2.45.0 (chhol@microsoft.com) - -## 0.3.1 - -Thu, 28 Apr 2022 07:12:47 GMT - -### Patches - -- Bump @microsoft/fast-foundation to v2.44.0 (john.kreitlow@microsoft.com) - -## 0.3.0 - -Wed, 27 Apr 2022 07:21:09 GMT - -### Minor changes - -- update to typescript 4.6.2 and update ARIAMixin typings (chhol@microsoft.com) - -### Patches - -- Bump @microsoft/fast-foundation to v2.43.0 (chhol@microsoft.com) -- Bump @microsoft/fast-element to v1.10.0 (chhol@microsoft.com) - -## 0.2.2 - -Thu, 21 Apr 2022 07:13:54 GMT - -### Patches - -- Bump @microsoft/fast-foundation to v2.42.2 (47367562+bheston@users.noreply.github.com) - -## 0.2.1 - -Thu, 14 Apr 2022 07:12:36 GMT - -### Patches - -- Bump @microsoft/fast-foundation to v2.42.0 (web@bennypowers.com) - -## 0.2.0 - -Tue, 12 Apr 2022 07:13:35 GMT - -### Minor changes - -- Converted package to be of type:module (nicholasrice@users.noreply.github.com) - -## 0.1.48 - -Thu, 07 Apr 2022 07:12:06 GMT - -### Patches - -- Bump @microsoft/fast-foundation to v2.41.1 (44823142+williamw2@users.noreply.github.com) - -## 0.1.47 - -Wed, 06 Apr 2022 07:12:42 GMT - -### Patches - -- Bump @microsoft/fast-element to v1.9.0 (nicholasrice@users.noreply.github.com) - -## 0.1.46 - -Sun, 03 Apr 2022 07:12:01 GMT - -### Patches - -- Bump @microsoft/fast-foundation to v2.40.0 (nicholasrice@users.noreply.github.com) - -## 0.1.45 - -Thu, 31 Mar 2022 07:13:31 GMT - -### Patches - -- Bump @microsoft/fast-foundation to v2.39.0 (chhol@microsoft.com) - -## 0.1.44 - -Sun, 27 Mar 2022 07:11:50 GMT - -### Patches - -- Bump @microsoft/fast-foundation to v2.38.0 (44823142+williamw2@users.noreply.github.com) - -## 0.1.43 - -Thu, 24 Mar 2022 07:12:08 GMT - -### Patches - -- Bump @microsoft/fast-foundation to v2.37.2 (20542556+mollykreis@users.noreply.github.com) - -## 0.1.42 - -Sun, 20 Mar 2022 07:15:44 GMT - -### Patches - -- Bump @microsoft/fast-foundation to v2.37.1 (26874831+atmgrifter00@users.noreply.github.com) - -## 0.1.41 - -Thu, 17 Mar 2022 07:11:51 GMT - -### Patches - -- fix: cache wrapper does not differentiate component of same type using react wrapper (fcollonval@gmail.com) - -## 0.1.40 - -Wed, 16 Mar 2022 07:12:41 GMT - -### Patches - -- Bump @microsoft/fast-foundation to v2.37.0 (scomea@microsoft.com) - -## 0.1.39 - -Tue, 15 Mar 2022 07:12:38 GMT - -### Patches - -- Bump @microsoft/fast-foundation to v2.36.1 (scomea@microsoft.com) - -## 0.1.38 - -Fri, 11 Mar 2022 23:46:34 GMT - -### Patches - -- Bump @microsoft/fast-foundation to v2.36.0 (jes@microsoft.com) - -## 0.1.37 - -Wed, 09 Mar 2022 07:12:32 GMT - -### Patches - -- Bump @microsoft/fast-foundation to v2.35.2 (20542556+mollykreis@users.noreply.github.com) - -## 0.1.36 - -Tue, 08 Mar 2022 07:12:45 GMT - -### Patches - -- Bump @microsoft/fast-element to v1.8.0 (roeisenb@microsoft.com) - -## 0.1.35 - -Sun, 06 Mar 2022 07:13:48 GMT - -### Patches - -- Bump @microsoft/fast-foundation to v2.35.0 (sethdonohue@Admins-MBP.guest.corp.microsoft.com) - -## 0.1.34 - -Wed, 02 Mar 2022 07:12:58 GMT - -### Patches - -- Bump @microsoft/fast-foundation to v2.34.0 (steph@huynhicode.dev) - -## 0.1.33 - -Fri, 25 Feb 2022 17:09:32 GMT - -### Patches - -- Bump @microsoft/fast-element to v1.7.2 (roeisenb@microsoft.com) - -## 0.1.32 - -Thu, 24 Feb 2022 22:21:55 GMT - -### Patches - -- Bump @microsoft/fast-element to v1.7.1 (roeisenb@microsoft.com) - -## 0.1.31 - -Sun, 20 Feb 2022 07:16:20 GMT - -### Patches - -- Bump @microsoft/fast-foundation to v2.33.4 (scomea@microsoft.com) - -## 0.1.30 - -Tue, 15 Feb 2022 07:11:28 GMT - -### Patches - -- add a caching system for react wrappers (mathieulavoie94@gmail.com) - -## 0.1.29 - -Thu, 10 Feb 2022 07:12:01 GMT - -### Patches - -- Bump @microsoft/fast-foundation to v2.33.2 (5454342+brianehenry@users.noreply.github.com) - -## 0.1.28 - -Wed, 09 Feb 2022 07:14:00 GMT - -### Patches - -- Bump @microsoft/fast-foundation to v2.33.1 (john.kreitlow@microsoft.com) - -## 0.1.27 - -Sun, 06 Feb 2022 07:15:20 GMT - -### Patches - -- Bump @microsoft/fast-foundation to v2.33.0 (scomea@microsoft.com) - -## 0.1.26 - -Wed, 02 Feb 2022 07:13:39 GMT - -### Patches - -- Bump @microsoft/fast-foundation to v2.32.3 (robarb@microsoft.com) - -## 0.1.25 - -Sun, 30 Jan 2022 07:12:35 GMT - -### Patches - -- Bump @microsoft/fast-foundation to v2.32.2 (mathieulavoie94@gmail.com) - -## 0.1.24 - -Tue, 25 Jan 2022 07:11:53 GMT - -### Patches - -- Bump @microsoft/fast-foundation to v2.32.1 (john.kreitlow@microsoft.com) - -## 0.1.23 - -Sun, 23 Jan 2022 07:13:56 GMT - -### Patches - -- Bump @microsoft/fast-element to v1.7.0 (scomea@microsoft.com) - -## 0.1.22 - -Thu, 20 Jan 2022 07:12:04 GMT - -### Patches - -- Bump @microsoft/fast-foundation to v2.31.0 (john.kreitlow@microsoft.com) - -## 0.1.21 - -Sun, 16 Jan 2022 07:11:36 GMT - -### Patches - -- Bump @microsoft/fast-foundation to v2.30.0 (5454342+brianehenry@users.noreply.github.com) - -## 0.1.20 - -Sun, 09 Jan 2022 07:11:51 GMT - -### Patches - -- Bump @microsoft/fast-foundation to v2.29.0 (john.kreitlow@microsoft.com) - -## 0.1.19 - -Thu, 06 Jan 2022 07:11:52 GMT - -### Patches - -- Bump @microsoft/fast-foundation to v2.28.0 (email not defined) - -## 0.1.18 - -Wed, 15 Dec 2021 07:14:44 GMT - -### Patches - -- Bump @microsoft/fast-foundation to v2.27.2 (john.kreitlow@microsoft.com) - -## 0.1.17 - -Tue, 23 Nov 2021 07:12:23 GMT - -### Patches - -- Bump @microsoft/fast-foundation to v2.27.0 (john.kreitlow@microsoft.com) - -## 0.1.16 - -Wed, 17 Nov 2021 07:12:14 GMT - -### Patches - -- fix(react-wrapper): change peer dependency for `react` (vaibhavkshinde20@gmail.com) - -## 0.1.15 - -Thu, 11 Nov 2021 07:15:33 GMT - -### Patches - -- Bump @microsoft/fast-foundation to v2.26.2 (nicholasrice@users.noreply.github.com) - -## 0.1.14 - -Wed, 10 Nov 2021 07:12:54 GMT - -### Patches - -- Bump @microsoft/fast-foundation to v2.26.1 (robarb@microsoft.com) - -## 0.1.13 - -Tue, 09 Nov 2021 07:14:09 GMT - -### Patches - -- Bump @microsoft/fast-foundation to v2.26.0 (jes@microsoft.com) - -## 0.1.12 - -Thu, 04 Nov 2021 07:11:59 GMT - -### Patches - -- Bump @microsoft/fast-foundation to v2.25.1 (jes@microsoft.com) - -## 0.1.11 - -Wed, 03 Nov 2021 07:12:39 GMT - -### Patches - -- Bump @microsoft/fast-foundation to v2.25.0 (scomea@microsoft.com) - -## 0.1.10 - -Sun, 31 Oct 2021 07:17:45 GMT - -### Patches - -- update fast eslint package version (chhol@microsoft.com) - -## 0.1.9 - -Thu, 28 Oct 2021 07:15:32 GMT - -### Patches - -- Bump @microsoft/fast-foundation to v2.23.2 (nicholasrice@users.noreply.github.com) - -## 0.1.8 - -Fri, 22 Oct 2021 17:40:52 GMT - -### Patches - -- Bump @microsoft/fast-foundation to v2.23.0 (chhol@microsoft.com) - -## 0.1.7 - -Thu, 21 Oct 2021 07:11:42 GMT - -### Patches - -- Bump @microsoft/fast-foundation to v2.22.1 (scomea@microsoft.com) - -## 0.1.6 - -Wed, 20 Oct 2021 07:13:46 GMT - -### Patches - -- Bump @microsoft/fast-foundation to v2.22.0 (scomea@microsoft.com) - -## 0.1.5 - -Fri, 15 Oct 2021 23:24:14 GMT - -### Patches - -- Bump @microsoft/fast-foundation to v2.21.0 (nicholasrice@users.noreply.github.com) - -## 0.1.4 - -Wed, 13 Oct 2021 22:45:16 GMT - -### Patches - -- Bump @microsoft/fast-element to v1.6.1 (markwhitfeld@users.noreply.github.com) - -## 0.1.3 - -Wed, 13 Oct 2021 01:53:37 GMT - -### Patches - -- refactor: remove lodash-es as a dependency (connor@peet.io) - -## 0.1.2 - -Tue, 12 Oct 2021 07:15:14 GMT - -### Patches - -- Bump @microsoft/fast-foundation to v2.18.0 (roeisenb@microsoft.com) - -## 0.1.1 - -Sun, 10 Oct 2021 07:12:26 GMT - -### Patches - -- Bump @microsoft/fast-foundation to v2.17.3 (john.kreitlow@microsoft.com) - -## 0.1.0 - -Fri, 08 Oct 2021 20:52:58 GMT - -### Minor changes - -- Adding new fast-react-wrapper package (rob.eisenberg@microsoft.com) - -## 0.0.1 - -Fri, 08 Oct 2021 19:53:11 GMT - -### Patches - -- Bump @microsoft/fast-element to v1.6.0 (roeisenb@microsoft.com) - -## 0.0.1 - -Wed, 06 Oct 2021 07:11:47 GMT - -### Patches - -- Bump @microsoft/fast-foundation to v2.17.1 (scomea@microsoft.com) - -## 0.0.1 - -Tue, 05 Oct 2021 00:45:07 GMT - -### Patches - -- Bump @microsoft/fast-foundation to v2.17.0 (robarb@microsoft.com) diff --git a/packages/utilities/fast-react-wrapper/README.md b/packages/utilities/fast-react-wrapper/README.md deleted file mode 100644 index 68cd96c45fb..00000000000 --- a/packages/utilities/fast-react-wrapper/README.md +++ /dev/null @@ -1,33 +0,0 @@ -# FAST React Wrapper - -[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) -[![npm version](https://badge.fury.io/js/%40microsoft%2Ffast-react-wrapper.svg)](https://badge.fury.io/js/%40microsoft%2Ffast-react-wrapper) - -The `fast-react-wrapper` package contains a utility that enables automatically wrapping Web Components in a React component for ease of integration into React projects. - -## Installation - -### From NPM - -To install the `fast-react-wrapper` library, use either `npm` or `yarn` as follows: - -```shell -npm install --save @microsoft/fast-react-wrapper -``` - -```shell -yarn add @microsoft/fast-react-wrapper -``` - -Within your JavaScript or TypeScript code, you can then and use the wrapper like this: - -```ts -import React from 'react'; -import { provideReactWrapper } from '@microsoft/fast-react-wrapper'; - -const { wrap } = provideReactWrapper(React); - -const MyComponent = wrap(MyComponent); -``` - -For additional wrapper settings and more information on integrating with Design Systems, see [our integration docs](https://fast.design/docs/integrations/react). \ No newline at end of file diff --git a/packages/utilities/fast-react-wrapper/api-extractor.json b/packages/utilities/fast-react-wrapper/api-extractor.json deleted file mode 100644 index b4d0421594e..00000000000 --- a/packages/utilities/fast-react-wrapper/api-extractor.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "../../../api-extractor.json", - "messages": { - "extractorMessageReporting": { - "ae-different-release-tags": { - "logLevel": "none", - "addToApiReportFile": true - } - } - } -} \ No newline at end of file diff --git a/packages/utilities/fast-react-wrapper/docs/api-report.md b/packages/utilities/fast-react-wrapper/docs/api-report.md deleted file mode 100644 index 63d3cf2dba6..00000000000 --- a/packages/utilities/fast-react-wrapper/docs/api-report.md +++ /dev/null @@ -1,47 +0,0 @@ -## API Report File for "@microsoft/fast-react-wrapper" - -> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). - -```ts - -import { Constructable } from '@microsoft/fast-element'; -import { FASTElementDefinition } from '@microsoft/fast-element'; -import type ReactModule from 'react'; - -// @public -export type ReactEventMap = { - [P in keyof T]: string; -}; - -// @public -export type ReactEvents = { - [P in keyof T]?: (e: Event) => unknown; -}; - -// @public -export interface ReactWrapper extends Constructable>> { - // (undocumented) - displayName: string; -} - -// @public (undocumented) -export function reactWrapper(React: any, registry?: CustomElementRegistry): { - (def: FASTElementDefinition>, config?: ReactWrapperConfig | undefined): ReactWrapper; - (type: Constructable, config?: ReactWrapperConfig | undefined): ReactWrapper; -}; - -// @public -export type ReactWrapperConfig = { - name?: string; - events?: ReactEventMap; - properties?: string[]; -}; - -// @public -export type ReactWrapperProps = ReactModule.PropsWithChildren> & ReactEvents & ReactModule.HTMLAttributes> & { - style?: ReactModule.CSSProperties; -}>; - -// (No @packageDocumentation comment for this package) - -``` diff --git a/packages/utilities/fast-react-wrapper/karma.conf.cjs b/packages/utilities/fast-react-wrapper/karma.conf.cjs deleted file mode 100644 index 4e96dbab80e..00000000000 --- a/packages/utilities/fast-react-wrapper/karma.conf.cjs +++ /dev/null @@ -1,141 +0,0 @@ -const path = require("path"); -const basePath = path.resolve(__dirname); - -const commonChromeFlags = [ - "--no-default-browser-check", - "--no-first-run", - "--no-sandbox", - "--no-managed-user-acknowledgment-check", - "--disable-background-timer-throttling", - "--disable-backing-store-limit", - "--disable-boot-animation", - "--disable-cloud-import", - "--disable-contextual-search", - "--disable-default-apps", - "--disable-extensions", - "--disable-infobars", - "--disable-translate", -]; - -module.exports = function (config) { - let browsers; - if (process.env.BROWSERS) { - browsers = [process.env.BROWSERS]; - } else if (config.browsers) { - browsers = config.browsers; - } else { - browsers = ["Chrome"]; - } - - const setup = "setup-browser" + (config.package ? "-" + config.package : ""); - const options = { - basePath, - browserDisconnectTimeout: 10000, - processKillTimeout: 10000, - frameworks: ["source-map-support", "mocha"], - plugins: [ - require("karma-mocha"), - require("karma-mocha-reporter"), - require("karma-webpack"), - require("karma-source-map-support"), - require("karma-sourcemap-loader"), - require("karma-coverage-istanbul-reporter"), - require("karma-chrome-launcher"), - require("karma-firefox-launcher"), - ], - files: [`dist/esm/__test__/${setup}.cjs`], - preprocessors: { - [`dist/esm/__test__/${setup}.cjs`]: ["webpack", "sourcemap"], - }, - webpackMiddleware: { - // webpack-dev-middleware configuration - // i. e. - stats: "errors-only", - }, - webpack: { - mode: "development", - resolve: { - extensions: [".js"], - modules: ["dist", "node_modules"], - mainFields: ["module", "main"], - }, - devtool: "inline-source-map", - performance: { - hints: false, - }, - optimization: { - usedExports: true, - flagIncludedChunks: false, - sideEffects: true, - concatenateModules: true, - splitChunks: { - name: false, - }, - runtimeChunk: false, - noEmitOnErrors: false, - checkWasmTypes: false, - minimize: false, - }, - module: { - rules: [ - { - test: /\.js\.map$/, - use: ["ignore-loader"], - }, - { - test: /\.js$/, - use: ["source-map-loader"], - enforce: "pre", - }, - ], - }, - }, - mime: { - "text/x-typescript": ["ts"], - }, - reporters: [config.reporter || (process.env.CI ? "min" : "progress")], - browsers: browsers, - customLaunchers: { - ChromeDebugging: { - base: "Chrome", - flags: [...commonChromeFlags, "--remote-debugging-port=9333"], - debug: true, - }, - ChromeHeadlessOpt: { - base: "ChromeHeadless", - flags: [...commonChromeFlags], - }, - }, - client: { - captureConsole: true, - mocha: { - bail: config["bail"], - ui: "bdd", - timeout: 5000, - }, - }, - logLevel: config.LOG_ERROR, // to disable the WARN 404 for image requests, - }; - - if (config.coverage) { - options.webpack.module.rules.push({ - enforce: "post", - exclude: /(__tests__|testing|node_modules|\.spec\.[tj]s$)/, - loader: "istanbul-instrumenter-loader", - options: { esModules: true }, - test: /\.[tj]s$/, - }); - options.reporters = ["coverage-istanbul", ...options.reporters]; - options.coverageIstanbulReporter = { - reports: ["html", "text-summary", "json", "lcovonly", "cobertura"], - dir: "coverage", - }; - options.junitReporter = { - outputDir: "coverage", - outputFile: "test-results.xml", - useBrowserName: false, - }; - } - - config.set(options); -}; diff --git a/packages/utilities/fast-react-wrapper/package.json b/packages/utilities/fast-react-wrapper/package.json deleted file mode 100644 index f82c057b058..00000000000 --- a/packages/utilities/fast-react-wrapper/package.json +++ /dev/null @@ -1,92 +0,0 @@ -{ - "name": "@microsoft/fast-react-wrapper", - "description": "A utility for wrapping web components for use in React.", - "sideEffects": false, - "version": "1.0.0-alpha.27", - "author": { - "name": "Microsoft", - "url": "https://discord.gg/FcSNfg4" - }, - "homepage": "https://www.fast.design/", - "license": "MIT", - "repository": { - "type": "git", - "url": "git+https://github.com/Microsoft/fast.git", - "directory": "packages/utilities/fast-react-wrapper" - }, - "bugs": { - "url": "https://github.com/Microsoft/fast/issues/new/choose" - }, - "main": "dist/esm/index.js", - "type": "module", - "types": "dist/fast-react-wrapper.d.ts", - "unpkg": "dist/fast-react-wrapper.min.js", - "scripts": { - "clean:dist": "node ../../../build/clean.js dist", - "doc": "api-extractor run --local", - "doc:ci": "api-extractor run", - "build": "tsc -p ./tsconfig.json && yarn doc", - "dev": "tsc -p ./tsconfig.json -w", - "tdd": "yarn dev & yarn test-chrome:watch", - "prepare": "yarn clean:dist && yarn build", - "prettier": "prettier --config ../../../.prettierrc --write \"**/*.ts\"", - "prettier:diff": "prettier --config ../../../.prettierrc \"**/*.ts\" --list-different", - "eslint": "eslint . --ext .ts", - "eslint:fix": "eslint . --ext .ts --fix", - "test": "yarn eslint && yarn build && yarn test-chrome:verbose && yarn doc:ci", - "test-node": "mocha --reporter min --exit dist/esm/__test__/setup-node.js './dist/esm/**/*.spec.js'", - "test-node:verbose": "mocha --reporter spec --exit dist/esm/__test__/setup-node.js './dist/esm/**/*.spec.js'", - "test-chrome": "karma start karma.conf.cjs --browsers=ChromeHeadlessOpt --single-run --coverage", - "test-chrome:verbose": "karma start karma.conf.cjs --browsers=ChromeHeadlessOpt --single-run --coverage --reporter=mocha", - "test-chrome:watch": "karma start karma.conf.cjs --browsers=ChromeHeadlessOpt --coverage --watch-extensions js", - "test-chrome:debugger": "karma start karma.conf.cjs --browsers=ChromeDebugging", - "test-chrome:verbose:watch": "karma start karma.conf.cjs --browsers=ChromeHeadlessOpt --coverage --watch-extensions js --reporter=mocha", - "test-chrome:verbose:debugger": "karma start karma.conf.cjs --browsers=ChromeDebugging --reporter=mocha", - "test-firefox": "karma start karma.conf.cjs --browsers=FirefoxHeadless --single-run --coverage", - "test-firefox:verbose": "karma start karma.conf.cjs --browsers=FirefoxHeadless --single-run --coverage --reporter=mocha" - }, - "devDependencies": { - "@microsoft/api-extractor": "7.24.2", - "@types/chai": "^4.2.11", - "@types/karma": "^6.3.3", - "@types/mocha": "^7.0.2", - "@types/react-dom": "16.9.0", - "@types/webpack-env": "^1.15.2", - "chai": "^4.2.0", - "esm": "^3.2.25", - "ignore-loader": "^0.1.2", - "istanbul": "^0.4.5", - "istanbul-instrumenter-loader": "^3.0.1", - "jsdom": "^16.2.2", - "jsdom-global": "3.0.2", - "karma": "^6.4.1", - "karma-chrome-launcher": "^3.1.0", - "karma-coverage": "^2.0.2", - "karma-coverage-istanbul-reporter": "^3.0.0", - "karma-firefox-launcher": "^2.1.0", - "karma-mocha": "^2.0.1", - "karma-mocha-reporter": "^2.2.5", - "karma-source-map-support": "^1.4.0", - "karma-sourcemap-loader": "^0.3.7", - "karma-webpack": "^5.0.0", - "mocha": "^7.1.2", - "prettier": "2.8.8", - "react": "^16.9.0", - "react-dom": "^16.9.0", - "source-map": "^0.7.3", - "source-map-loader": "^3.0.1", - "ts-loader": "^9.3.0", - "ts-node": "^8.9.1", - "tsconfig-paths": "^3.9.0", - "tslib": "^2.4.0", - "typescript": "^4.7.0", - "webpack": "^5.72.0", - "webpack-cli": "^4.9.2" - }, - "dependencies": { - "@microsoft/fast-element": "^2.0.0-beta.26" - }, - "peerDependencies": { - "react": ">=16.9.0" - } -} diff --git a/packages/utilities/fast-react-wrapper/src/__test__/setup-browser.cts b/packages/utilities/fast-react-wrapper/src/__test__/setup-browser.cts deleted file mode 100644 index 55b02eb60f5..00000000000 --- a/packages/utilities/fast-react-wrapper/src/__test__/setup-browser.cts +++ /dev/null @@ -1,6 +0,0 @@ -function importAll(r: __WebpackModuleApi.RequireContext): void { - r.keys().forEach(r); -} - -// Explicitly add to browser test -importAll(require.context("../", true, /\.spec\.js$/)); diff --git a/packages/utilities/fast-react-wrapper/src/__test__/setup-node.ts b/packages/utilities/fast-react-wrapper/src/__test__/setup-node.ts deleted file mode 100644 index dc65609652a..00000000000 --- a/packages/utilities/fast-react-wrapper/src/__test__/setup-node.ts +++ /dev/null @@ -1,18 +0,0 @@ -/* eslint-disable */ -if (window.document && !window.document.createRange) { - window.document.createRange = () => ({ - setStart: () => {}, - setEnd: () => {}, - // @ts-ignore - commonAncestorContainer: { - nodeName: "BODY", - ownerDocument: document, - }, - }); -} - -if (!window.requestAnimationFrame) { - window.requestAnimationFrame = function (callback: FrameRequestCallback) { - return setTimeout(callback, 4); - }; -} diff --git a/packages/utilities/fast-react-wrapper/src/index.spec.tsx b/packages/utilities/fast-react-wrapper/src/index.spec.tsx deleted file mode 100644 index 6621299e3bb..00000000000 --- a/packages/utilities/fast-react-wrapper/src/index.spec.tsx +++ /dev/null @@ -1,429 +0,0 @@ -import { attr, customElement, DOM, FASTElement, html, nullableNumberConverter, observable, Updates } from '@microsoft/fast-element'; -import React from "react"; -import ReactDOM from "react-dom"; -import { uniqueElementName } from '@microsoft/fast-element/testing.js'; -import { expect } from "chai"; -import { reactWrapper } from './index.js'; - -/* eslint-disable @typescript-eslint/no-non-null-assertion */ -type CustomElementProperties = { - bool: boolean; - str: string; - num: number; - obj: {[index: string]: unknown} | null | undefined; - arr: unknown[] | null | undefined; - rbool: boolean; - rstr: string; - rnum: number; -}; - -type CustomElement = HTMLElement & CustomElementProperties; - -const restTestEvents = { - onFoo: 'foo', - onBar: 'bar', -}; - -function emitEvent(element: HTMLElement, type: string) { - const e = new CustomEvent(type); - element.dispatchEvent(e); -} - -const vanillaElementName = uniqueElementName(); -class VanillaElement extends HTMLElement { - public bool = false; - public str = ''; - public num = -1; - public obj = null; - public arr = null; - - private _rstr = ''; - get rstr() { - return this._rstr; - } - set rstr(value: string) { - this._rstr = value; - this.setAttribute('rstr', value.toString()); - } - - private _rbool = false; - get rbool() { - return this._rbool; - } - set rbool(value: boolean) { - this._rbool = value; - DOM.setBooleanAttribute(this, 'rbool', value); - } - - private _rnum = -1; - get rnum() { - return this._rnum; - } - set rnum(value: number) { - this._rnum = value; - this.setAttribute('rnum', value.toString()); - } - - attributeChangedCallback(name: string, oldValue: any, newValue: any) { - switch(name) { - case 'rstr': - this._rstr = newValue; - break; - case 'rbool': - if (newValue === '') { - this._rbool = true; - } else { - this._rbool = false; - } - break; - case 'rnum': - this._rnum = nullableNumberConverter.fromView(newValue); - break; - } - } -} - -customElements.define(vanillaElementName, VanillaElement); - -const decoratedElementName = uniqueElementName(); -@customElement({ - name: decoratedElementName, - template: html`` -}) -class DecoratedTestElement extends FASTElement { - @observable bool = false; - @observable str = ''; - @observable num = -1; - @observable obj: {[index: string]: unknown} | null | undefined = null; - @observable arr: unknown[] | null | undefined = null; - @attr({ mode: "boolean" }) rbool = false; - @attr rstr = ''; - @attr({ converter: nullableNumberConverter }) rnum = -1; -} - -class DefinitionTestElement extends FASTElement { - @observable bool = false; - @observable str = ''; - @observable num = -1; - @observable obj: {[index: string]: unknown} | null | undefined = null; - @observable arr: unknown[] | null | undefined = null; - @attr({ mode: "boolean" }) rbool = false; - @attr rstr = ''; - @attr({ converter: nullableNumberConverter }) rnum = -1; -} - -const def = DefinitionTestElement.compose({ - name: uniqueElementName(), - template: html`` -}); - -const scenarios = [ - { - description: 'Wrapping a decorated FASTElement', - elementName: decoratedElementName, - wrap: (x: any) => x(DecoratedTestElement, { - events: restTestEvents - }) - }, - { - description: 'Wrapping a FASTElementDefinition', - elementName: def.name, - wrap: (x: any) => x(def, { - events: restTestEvents - }) - }, - { - description: 'Wrapping a vanilla Web Component', - elementName: vanillaElementName, - wrap: (x: any) => x(VanillaElement, { - name: vanillaElementName, - events: restTestEvents, - properties: [ - 'bool', - 'str', - 'num', - 'obj', - 'arr', - 'rbool', - 'rstr', - 'rnum' - ] - }) - } -]; - -for (const scenario of scenarios) { - describe(scenario.description, () => { - let container: HTMLElement; - - beforeEach(() => { - container = document.createElement('div'); - document.body.appendChild(container); - }); - - afterEach(() => { - if (container && container.parentNode) { - container.parentNode.removeChild(container); - } - }); - - const wrap = reactWrapper(React); - const WrappedComponent = scenario.wrap(wrap); - - let el: CustomElement; - - const renderReactComponent = ( - /* eslint-disable-next-line @typescript-eslint/ban-types */ - props?: {} - ) => { - ReactDOM.render( - , - container - ); - - el = container.querySelector(scenario.elementName)! as CustomElement; - }; - - it('works with text children', async () => { - const name = 'World'; - ReactDOM.render( - Hello {name}, - container - ); - el = container.querySelector(scenario.elementName)! as CustomElement; - expect(el.textContent).to.equal('Hello World'); - }); - - it('does not recreate the same component twice', async () => { - const SameWrappedComponent = scenario.wrap(wrap); - expect(WrappedComponent).to.eq(SameWrappedComponent); - }); - - it('wrapper renders custom element that updates', async () => { - renderReactComponent(); - expect(el).ok; - expect(el.isConnected).ok; - }); - - it('can get ref to element', async () => { - const elementRef1 = React.createRef(); - renderReactComponent({ref: elementRef1}); - expect(elementRef1.current).equal(el); - const elementRef2 = React.createRef(); - renderReactComponent({ref: elementRef2}); - expect(elementRef1.current).equal(null); - expect(elementRef2.current).equal(el); - renderReactComponent({ref: elementRef1}); - expect(elementRef1.current).equal(el); - expect(elementRef2.current).equal(null); - }); - - it('can get ref to element via callbacks', async () => { - const ref1Calls: Array = []; - const refCb1 = (e: Element | null) => ref1Calls.push(e?.localName); - const ref2Calls: Array = []; - const refCb2 = (e: Element | null) => ref2Calls.push(e?.localName); - renderReactComponent({ref: refCb1}); - expect(ref1Calls).eql([scenario.elementName]); - renderReactComponent({ref: refCb2}); - expect(ref1Calls).eql([scenario.elementName, undefined]); - expect(ref2Calls).eql([scenario.elementName]); - renderReactComponent({ref: refCb1}); - expect(ref1Calls).eql([scenario.elementName, undefined, scenario.elementName]); - expect(ref2Calls).eql([scenario.elementName, undefined]); - }); - - it('can set attributes', async () => { - await renderReactComponent({id: 'id'}); - expect(el.getAttribute('id')).equal('id'); - await renderReactComponent({id: undefined}); - expect(el.getAttribute('id')).equal(null); - await renderReactComponent({id: 'id2'}); - expect(el.getAttribute('id')).equal('id2'); - }); - - it('can set properties', async () => { - let o = {foo: true}; - let a = [1, 2, 3]; - await renderReactComponent({ - bool: true, - str: 'str', - num: 5, - obj: o, - arr: a, - }); - expect(el.bool).equal(true); - expect(el.str).equal('str'); - expect(el.num).equal(5); - expect(el.obj).eql(o); - expect(el.arr).eql(a); - const firstEl = el; - // update - o = {foo: false}; - a = [1, 2, 3, 4]; - await renderReactComponent({ - bool: false, - str: 'str2', - num: 10, - obj: o, - arr: a, - }); - expect(firstEl).equal(el); - expect(el.bool).equal(false); - expect(el.str).equal('str2'); - expect(el.num).equal(10); - expect(el.obj).eql(o); - expect(el.arr).eql(a); - }); - - it('can set properties that reflect', async () => { - renderReactComponent({ - rbool: true, - rstr: 'str', - rnum: 5, - }); - - await Updates.next(); - - const firstEl = el; - expect(el.rbool).equal(true); - expect(el.rstr).equal('str'); - expect(el.rnum).equal(5); - expect(el.getAttribute('rbool')).equal(''); - expect(el.getAttribute('rstr')).equal('str'); - expect(el.getAttribute('rnum')).equal('5'); - // update - - renderReactComponent({ - rbool: false, - rstr: 'str2', - rnum: 10, - }); - - await Updates.next(); - - expect(firstEl).equal(el); - expect(el.rbool).equal(false); - expect(el.rstr).equal('str2'); - expect(el.rnum).equal(10); - expect(el.getAttribute('rbool')).equal(null); - expect(el.getAttribute('rstr')).equal('str2'); - expect(el.getAttribute('rnum')).equal('10'); - }); - - it('can listen to events', async () => { - let fooEvent: Event | undefined, - fooEvent2: Event | undefined, - barEvent: Event | undefined; - const onFoo = (e: Event) => { - fooEvent = e; - }; - const onFoo2 = (e: Event) => { - fooEvent2 = e; - }; - const onBar = (e: Event) => { - barEvent = e; - }; - await renderReactComponent({ - onFoo, - onBar, - }); - emitEvent(el, 'foo'); - expect(fooEvent!.type).equal('foo'); - emitEvent(el, 'bar'); - expect(barEvent!.type).equal('bar'); - fooEvent = undefined; - barEvent = undefined; - await renderReactComponent({ - onFoo: undefined, - }); - emitEvent(el, 'foo'); - expect(fooEvent).equal(undefined); - emitEvent(el, 'bar'); - expect(barEvent!.type).equal('bar'); - fooEvent = undefined; - barEvent = undefined; - await renderReactComponent({ - onFoo, - }); - emitEvent(el, 'foo'); - expect(fooEvent!.type).equal('foo'); - emitEvent(el, 'bar'); - expect(barEvent!.type).equal('bar'); - await renderReactComponent({ - onFoo: onFoo2, - }); - fooEvent = undefined; - fooEvent2 = undefined; - emitEvent(el, 'foo'); - expect(fooEvent).equal(undefined); - expect(fooEvent2!.type).equal('foo'); - await renderReactComponent({ - onFoo, - }); - fooEvent = undefined; - fooEvent2 = undefined; - emitEvent(el, 'foo'); - expect(fooEvent!.type).equal('foo'); - expect(fooEvent2).equal(undefined); - }); - - it('can listen to native events', async () => { - let clickEvent!: React.MouseEvent; - await renderReactComponent({ - onClick(e: React.MouseEvent) { - e.persist(); - clickEvent = e; - }, - }); - el.click(); - expect(clickEvent?.type).equal('click'); - }); - - it('can set children', async () => { - const children = (React.createElement( - 'div' - // Note, constructing children like this is rare and the React type expects - // this to be an HTMLCollection even though that's not the output of - // `createElement`. - ) as unknown) as HTMLCollection; - await renderReactComponent({children}); - expect(el.childNodes.length).equal(1); - expect(el.firstElementChild!.localName).equal('div'); - }); - - it('can set reserved React properties', async () => { - await renderReactComponent({ - style: {display: 'block'}, - className: 'foo bar', - } as any); - expect(el.style.display).equal('block'); - expect(el.getAttribute('class')).equal('foo bar'); - }); - - it('warns if element contains reserved props', async () => { - const warn = console.warn; - let warning: string; - console.warn = (m: string) => { - warning = m; - }; - - @customElement(uniqueElementName()) - class Warn extends FASTElement { - @attr ref = 'hi'; - } - - const wrap = reactWrapper(React); - const WarningComponent = wrap(Warn); - - ReactDOM.render( - , - container - ); - - expect(warning!).include('ref') - console.warn = warn; - }); - }); -} -/* eslint-enable @typescript-eslint/no-non-null-assertion */ diff --git a/packages/utilities/fast-react-wrapper/src/index.ts b/packages/utilities/fast-react-wrapper/src/index.ts deleted file mode 100644 index ece3c0737a4..00000000000 --- a/packages/utilities/fast-react-wrapper/src/index.ts +++ /dev/null @@ -1,340 +0,0 @@ -import type ReactModule from "react"; -import { - Constructable, - FASTElementDefinition, - Observable, -} from "@microsoft/fast-element"; - -const reservedReactProperties = new Set([ - "children", - "localName", - "ref", - "style", - "className", -]); - -const emptyProps = Object.freeze(Object.create(null)); -const DEFAULT_CACHE_NAME = "_default"; -// This will be a two levels cache Map> -// to distinguish components of same type but different tag name. -// Default name: '_default' -const wrappersCache = new Map>(); - -/** - * Event signatures for a React wrapper. - * @public - */ -export type ReactEvents = { - [P in keyof T]?: (e: Event) => unknown; -}; - -/** - * Maps React event names to DOM event types for special handling. - * @public - */ -export type ReactEventMap = { - [P in keyof T]: string; -}; - -/** - * Optional configuration for the React wrapper. - * @public - */ -export type ReactWrapperConfig = { - /** - * The tag that the React component will generate. - */ - name?: string; - /** - * A mapping of React event name to DOM event type to be handled - * by attaching event listeners to the underlying web component. - * @remarks - * Typically only needed for non-FAST web components. - */ - events?: ReactEventMap; - /** - * A list of properties to be handled directly by the wrapper. - * @remarks - * Typically only needed for vanilla web components. - */ - properties?: string[]; -}; - -/** - * The props used by a ReactWrapper. - * @public - */ -export type ReactWrapperProps< - TElement extends HTMLElement, - TEvents -> = ReactModule.PropsWithChildren< - ReactModule.PropsWithRef< - Partial> & - ReactEvents & - ReactModule.HTMLAttributes - > & { style?: ReactModule.CSSProperties } ->; - -/** - * A React component that wraps a Web Component. - * @public - */ -export interface ReactWrapper - extends Constructable>> { - displayName: string; -} - -// There are 2 kinds of refs and there's no built in React API to set one. -function setRef(ref: React.Ref, value: Element | null) { - if (typeof ref === "function") { - (ref as (e: Element | null) => void)(value); - } else { - (ref as { current: Element | null }).current = value; - } -} - -function getTagName( - type: Constructable, - config: ReactWrapperConfig -) { - if (!config.name) { - /* eslint-disable-next-line @typescript-eslint/no-non-null-assertion */ - const definition = FASTElementDefinition.getByType(type)!; - - if (definition) { - return definition.name; - } else { - throw new Error( - "React wrappers must wrap a FASTElement or be configured with a name." - ); - } - } - - return config.name; -} - -function getElementEvents(config: ReactWrapperConfig) { - return config.events || (config.events = {} as ReactEventMap); -} - -function keyIsValid( - type: Constructable, - config: ReactWrapperConfig, - name: string -): boolean { - if (reservedReactProperties.has(name)) { - console.warn( - `${getTagName(type, config)} contains property ${name} which is a React ` + - `reserved property. It will be used by React and not set on ` + - `the element.` - ); - - return false; - } - - return true; -} - -function getElementKeys( - type: Constructable, - config: ReactWrapperConfig -) { - if (!(config as any).keys) { - if (config.properties) { - (config as any).keys = new Set( - config.properties.concat(Object.keys(getElementEvents(config))) - ); - } else { - const keys = new Set(Object.keys(getElementEvents(config))); - const accessors = Observable.getAccessors(type.prototype); - - if (accessors.length > 0) { - for (const a of accessors) { - if (keyIsValid(type, config, a.name)) { - keys.add(a.name); - } - } - } else { - for (const p in type.prototype) { - if (!(p in HTMLElement.prototype) && keyIsValid(type, config, p)) { - keys.add(p); - } - } - } - - (config as any).keys = keys; - } - } - - return (config as any).keys; -} - -/** - * @param React - The React module, typically imported from the `react` npm - * package - * @param registry - The custom elements registry to register components in if wrapped by definition. - * @public - */ -export function reactWrapper( - React: any, - registry: CustomElementRegistry = customElements -) { - /** - * Creates a React component for a custom element. Properties are distinguished - * from attributes automatically, and events can be configured so they are - * added to the custom element as event listeners. - * - * @param type - The custom element class to wrap or a FASTElementDefinition object. - * @param config - Special configuration for the wrapper. - */ - function wrap( - def: FASTElementDefinition>, - config?: ReactWrapperConfig - ): ReactWrapper; - function wrap( - type: Constructable, - config?: ReactWrapperConfig - ): ReactWrapper; - function wrap( - type: any, - config: ReactWrapperConfig = {} - ): ReactWrapper { - // Props used by this component wrapper. This is the ComponentProps and the - // special `__forwardedRef` property. Note, this ref is special because - // it's both needed in this component to get access to the rendered element - // and must fulfill any ref passed by the user. - type InternalProps = ReactWrapperProps & { - __forwardedRef?: ReactModule.Ref; - }; - - if (type instanceof FASTElementDefinition) { - type.define(registry); - type = type.type; - } - - const name = getTagName(type, config); - - const cachedCandidates = wrappersCache.get(type); - if (cachedCandidates) { - const cachedWrapper = cachedCandidates.get(name ?? DEFAULT_CACHE_NAME); - if (cachedWrapper) { - return cachedWrapper; - } - } - - class ReactComponent extends React.Component { - private _element: TElement | null = null; - private _elementProps!: { [index: string]: unknown }; - private _userRef?: ReactModule.Ref; - private _ref?: (element: TElement | null) => void; - - private _updateElement(oldProps?: InternalProps) { - const element = this._element; - - if (element === null) { - return; - } - - const currentProps = this.props; - const previousProps = oldProps || emptyProps; - const events = getElementEvents(config); - - for (const key in this._elementProps) { - const newValue = currentProps[key]; - const event = events[key as keyof TEvents]; - - if (event === undefined) { - element[key as keyof TElement] = - newValue as TElement[keyof TElement]; - } else { - const oldValue = previousProps[key]; - - if (newValue === oldValue) { - continue; - } - - if (oldValue !== undefined) { - element.removeEventListener(event, oldValue); - } - - if (newValue !== undefined) { - element.addEventListener(event, newValue); - } - } - } - } - - componentDidMount() { - this._updateElement(); - } - - componentDidUpdate(old: InternalProps) { - this._updateElement(old); - } - - render() { - // Since refs only get fulfilled once, pass a new one if the user's - // ref changed. This allows refs to be fulfilled as expected, going from - // having a value to null. - const userRef = this.props.__forwardedRef as ReactModule.Ref; - if (this._ref === undefined || this._userRef !== userRef) { - this._ref = (value: TElement | null) => { - if (this._element === null) { - this._element = value; - } - if (userRef !== null) { - setRef(userRef, value); - } - this._userRef = userRef; - }; - } - - // Filter class properties and pass the remaining attributes to React. - // This allows attributes to use framework rules - // for setting attributes and render correctly under SSR. - const newReactProps: any = { ref: this._ref }; - const newElementProps = (this._elementProps = {} as any); - const elementKeys = getElementKeys(type, config); - const currentProps = this.props; - - for (const k in currentProps) { - const v = currentProps[k]; - - if (elementKeys.has(k)) { - newElementProps[k] = v; - } else { - // React does *not* handle `className` for custom elements so - // coerce it to `class` so it's handled correctly. - newReactProps[k === "className" ? "class" : k] = v; - } - } - - return React.createElement(name, newReactProps); - } - } - - const reactComponent = React.forwardRef( - ( - props?: ReactWrapperProps, - ref?: ReactModule.Ref - ) => - React.createElement( - ReactComponent, - { ...props, __forwardedRef: ref } as InternalProps, - props?.children - ) - ) as ReactWrapper; - - reactComponent.displayName = name; - - if (!wrappersCache.has(type)) { - wrappersCache.set(type, new Map()); - } - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - wrappersCache.get(type)!.set(name ?? DEFAULT_CACHE_NAME, reactComponent); - - return reactComponent; - } - - return wrap; -} diff --git a/packages/utilities/fast-react-wrapper/src/types.d.ts b/packages/utilities/fast-react-wrapper/src/types.d.ts deleted file mode 100644 index 5ae5c74ef18..00000000000 --- a/packages/utilities/fast-react-wrapper/src/types.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -// TODO: Remove this when we can export test utilities with types -// The import in the index.spec.tsx file throws due to the path and not being able to resolve types -declare module "@microsoft/fast-foundation/dist/esm/test-utilities/fixture" { - export function uniqueElementName(): string; -} diff --git a/packages/utilities/fast-react-wrapper/tsconfig.json b/packages/utilities/fast-react-wrapper/tsconfig.json deleted file mode 100644 index 35e6044646f..00000000000 --- a/packages/utilities/fast-react-wrapper/tsconfig.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "../../../tsconfig.json", - "compilerOptions": { - "declarationDir": "dist/dts", - "outDir": "dist/esm", - "experimentalDecorators": true, - "target": "es2015", - "module": "NodeNext", - "moduleResolution": "NodeNext", - "importHelpers": true, - "jsx": "react", - "types": [ - "mocha", - "webpack-env" - ], - "lib": [ - "DOM", - "ES2015" - ] - }, - "include": ["src"] -} diff --git a/packages/utilities/fast-react-wrapper/tsdoc.json b/packages/utilities/fast-react-wrapper/tsdoc.json deleted file mode 100644 index 65a325a612b..00000000000 --- a/packages/utilities/fast-react-wrapper/tsdoc.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json", - "tagDefinitions": [ - { - "tagName": "@test", - "syntaxKind": "block" - } - ] - } \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index 07379cd419c..e1cfb66f07d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5307,13 +5307,6 @@ resolved "https://registry.yarnpkg.com/@types/range-parser/-/range-parser-1.2.7.tgz#50ae4353eaaddc04044279812f52c8c65857dbcb" integrity sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ== -"@types/react-dom@16.9.0": - version "16.9.0" - resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-16.9.0.tgz#ba6ddb00bf5de700b0eb91daa452081ffccbfdea" - integrity sha512-OL2lk7LYGjxn4b0efW3Pvf2KBVP0y1v3wip1Bp7nA79NkOpElH98q3WdCEdDj93b2b0zaeBG9DvriuKjIK5xDA== - dependencies: - "@types/react" "*" - "@types/react-router-config@*", "@types/react-router-config@^5.0.7": version "5.0.11" resolved "https://registry.yarnpkg.com/@types/react-router-config/-/react-router-config-5.0.11.tgz#2761a23acc7905a66a94419ee40294a65aaa483a" @@ -11312,7 +11305,7 @@ iconv-lite@0.4.24, iconv-lite@^0.4.24: dependencies: safer-buffer ">= 2.1.2 < 3" -iconv-lite@^0.6.2, iconv-lite@^0.6.3: +iconv-lite@^0.6.2: version "0.6.3" resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.6.3.tgz#a52f80bf38da1952eb5c681790719871a1a72501" integrity sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw== @@ -17045,15 +17038,7 @@ react-dev-utils@^12.0.1: strip-ansi "^6.0.1" text-table "^0.2.0" -"react-dom@^16.8.0 || ^17.0.0 || ^18.0.0", react-dom@^18.3.1: - version "18.3.1" - resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-18.3.1.tgz#c2265d79511b57d479b3dd3fdfa51536494c5cb4" - integrity sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw== - dependencies: - loose-envify "^1.1.0" - scheduler "^0.23.2" - -react-dom@^16.9.0: +react-dom@16.14.0, react-dom@^16.0.0: version "16.14.0" resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.14.0.tgz#7ad838ec29a777fb3c75c3a190f661cf92ab8b89" integrity sha512-1gCeQXDLoIqMgqD3IO2Ah9bnf0w9kzhwN5q4FGnHZ67hBm9yePzB5JJAIQCc8x3pFnNlwFq4RidZggNAAkzWWw== @@ -17185,23 +17170,7 @@ react-router@5.3.4, react-router@^5.3.4: tiny-invariant "^1.0.2" tiny-warning "^1.0.0" -react-style-singleton@^2.2.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/react-style-singleton/-/react-style-singleton-2.2.1.tgz#f99e420492b2d8f34d38308ff660b60d0b1205b4" - integrity sha512-ZWj0fHEMyWkHzKYUr2Bs/4zU6XLmq9HsgBURm7g5pAVfyn49DgUiNgY2d4lXRlYSiCif9YBGpQleewkcqddc7g== - dependencies: - get-nonce "^1.0.0" - invariant "^2.2.4" - tslib "^2.0.0" - -"react@^16.8.0 || ^17.0.0 || ^18.0.0", react@^18.3.1: - version "18.3.1" - resolved "https://registry.yarnpkg.com/react/-/react-18.3.1.tgz#49ab892009c53933625bd16b2533fc754cab2891" - integrity sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ== - dependencies: - loose-envify "^1.1.0" - -react@^16.9.0: +react@16.14.0, react@^16.0.0: version "16.14.0" resolved "https://registry.yarnpkg.com/react/-/react-16.14.0.tgz#94d776ddd0aaa37da3eda8fc5b6b18a4c9a3114d" integrity sha512-0X2CImDkJGApiAlcf0ODKIneSwBPhqJawOa5wCtKbu7ZECrmS26NvtSILynQ66cgkT/RJ4LidJOc3bUESwmU8g== @@ -18614,15 +18583,6 @@ source-map-loader@^0.2.4: async "^2.5.0" loader-utils "^1.1.0" -source-map-loader@^3.0.1: - version "3.0.2" - resolved "https://registry.yarnpkg.com/source-map-loader/-/source-map-loader-3.0.2.tgz#af23192f9b344daa729f6772933194cc5fa54fee" - integrity sha512-BokxPoLjyl3iOrgkWaakaxqnelAJSS+0V+De0kKIq6lyWrXuiPgYTGp6z3iHmqljKAaLXwZa+ctD8GccRJeVvg== - dependencies: - abab "^2.0.5" - iconv-lite "^0.6.3" - source-map-js "^1.0.1" - source-map-resolve@^0.5.0: version "0.5.3" resolved "https://registry.yarnpkg.com/source-map-resolve/-/source-map-resolve-0.5.3.tgz#190866bece7553e1f8f267a2ee82c606b5509a1a" From 4b3d67dad391da53d7affdbbbd06ab7b2823826e Mon Sep 17 00:00:00 2001 From: Jane Chu <7559015+janechu@users.noreply.github.com> Date: Fri, 17 May 2024 13:00:55 -0700 Subject: [PATCH 2/8] Update source-map-loader as it was out of sync --- packages/web-components/fast-element/package.json | 2 +- yarn.lock | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/packages/web-components/fast-element/package.json b/packages/web-components/fast-element/package.json index 3b42ff64345..2e59c0766c6 100644 --- a/packages/web-components/fast-element/package.json +++ b/packages/web-components/fast-element/package.json @@ -148,7 +148,7 @@ "rollup-plugin-terser": "^7.0.2", "@rollup/plugin-typescript": "^8.3.2", "source-map": "^0.7.3", - "source-map-loader": "^0.2.4", + "source-map-loader": "^3.0.1", "ts-loader": "^7.0.2", "ts-node": "^8.9.1", "tsconfig-paths": "^3.9.0", diff --git a/yarn.lock b/yarn.lock index e1cfb66f07d..a278d83f6e4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11305,7 +11305,7 @@ iconv-lite@0.4.24, iconv-lite@^0.4.24: dependencies: safer-buffer ">= 2.1.2 < 3" -iconv-lite@^0.6.2: +iconv-lite@^0.6.2, iconv-lite@^0.6.3: version "0.6.3" resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.6.3.tgz#a52f80bf38da1952eb5c681790719871a1a72501" integrity sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw== @@ -18583,6 +18583,15 @@ source-map-loader@^0.2.4: async "^2.5.0" loader-utils "^1.1.0" +source-map-loader@^3.0.1: + version "3.0.2" + resolved "https://registry.yarnpkg.com/source-map-loader/-/source-map-loader-3.0.2.tgz#af23192f9b344daa729f6772933194cc5fa54fee" + integrity sha512-BokxPoLjyl3iOrgkWaakaxqnelAJSS+0V+De0kKIq6lyWrXuiPgYTGp6z3iHmqljKAaLXwZa+ctD8GccRJeVvg== + dependencies: + abab "^2.0.5" + iconv-lite "^0.6.3" + source-map-js "^1.0.1" + source-map-resolve@^0.5.0: version "0.5.3" resolved "https://registry.yarnpkg.com/source-map-resolve/-/source-map-resolve-0.5.3.tgz#190866bece7553e1f8f267a2ee82c606b5509a1a" From 766aae9cf0af53a2a3da9f09de9a30e83218932c Mon Sep 17 00:00:00 2001 From: Jane Chu <7559015+janechu@users.noreply.github.com> Date: Fri, 17 May 2024 13:01:07 -0700 Subject: [PATCH 3/8] Change files --- ...-fast-element-b8f2b73f-b6b9-44d3-baed-b4e8ce0f8bdf.json | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 change/@microsoft-fast-element-b8f2b73f-b6b9-44d3-baed-b4e8ce0f8bdf.json diff --git a/change/@microsoft-fast-element-b8f2b73f-b6b9-44d3-baed-b4e8ce0f8bdf.json b/change/@microsoft-fast-element-b8f2b73f-b6b9-44d3-baed-b4e8ce0f8bdf.json new file mode 100644 index 00000000000..1d54cf4e417 --- /dev/null +++ b/change/@microsoft-fast-element-b8f2b73f-b6b9-44d3-baed-b4e8ce0f8bdf.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "Update source-map-loader as it was out of sync", + "packageName": "@microsoft/fast-element", + "email": "7559015+janechu@users.noreply.github.com", + "dependentChangeType": "none" +} From a47f5158c912fd402cea872e6b868bb21f3dce43 Mon Sep 17 00:00:00 2001 From: Jane Chu <7559015+janechu@users.noreply.github.com> Date: Fri, 17 May 2024 13:43:21 -0700 Subject: [PATCH 4/8] Remove path for react-wrapper in the staging pipeline --- .github/workflows/cd-deploy-www-staging.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/cd-deploy-www-staging.yml b/.github/workflows/cd-deploy-www-staging.yml index 919d57d7271..fc8de5c5a3e 100644 --- a/.github/workflows/cd-deploy-www-staging.yml +++ b/.github/workflows/cd-deploy-www-staging.yml @@ -7,7 +7,6 @@ on: - '.github/workflows/cd-deploy-www-staging.yml' - 'packages/utilities/fast-animation/docs/api-report.md' - 'packages/utilities/fast-color/docs/api-report.md' - - 'packages/utilities/fast-react-wrapper/docs/api-report.md' - 'packages/web-components/**/docs/api-report.md' - 'sites/fast-website/**' - 'sites/website/**' @@ -19,7 +18,6 @@ on: - '.github/workflows/cd-deploy-www-staging.yml' - 'packages/utilities/fast-animation/docs/api-report.md' - 'packages/utilities/fast-color/docs/api-report.md' - - 'packages/utilities/fast-react-wrapper/docs/api-report.md' - 'packages/web-components/**/docs/api-report.md' - 'sites/fast-website/**' - 'sites/website/**' From 6975d26c4133834e691689f14fd4dba19249cc7d Mon Sep 17 00:00:00 2001 From: Jane Chu <7559015+janechu@users.noreply.github.com> Date: Mon, 20 May 2024 14:00:30 -0700 Subject: [PATCH 5/8] Resolve merge conflicts --- package.json | 4 +- .../web-components/fast-element/package.json | 4 +- yarn.lock | 40 +++++++++---------- 3 files changed, 23 insertions(+), 25 deletions(-) diff --git a/package.json b/package.json index 5820e53f7c8..42eb62be616 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,9 @@ "**/react-dom", "**/react-syntax-highlighter", "**/typescript", - "**/webpack" + "**/webpack", + "**/@storybook/builder-webpack5", + "**/@storybook/builder-webpack5/**" ] }, "engines": { diff --git a/packages/web-components/fast-element/package.json b/packages/web-components/fast-element/package.json index 2e59c0766c6..c2f602e5357 100644 --- a/packages/web-components/fast-element/package.json +++ b/packages/web-components/fast-element/package.json @@ -153,8 +153,6 @@ "ts-node": "^8.9.1", "tsconfig-paths": "^3.9.0", "tslib": "^2.4.0", - "typescript": "~4.7.0", - "webpack": "^5.72.0", - "webpack-cli": "^4.9.2" + "typescript": "~4.7.0" } } diff --git a/yarn.lock b/yarn.lock index a278d83f6e4..23d5ff975d1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -16697,6 +16697,7 @@ prelude-ls@~1.1.2: integrity sha512-ESF23V4SKG6lVSGZgYNpbsiaAkdab6ZgOxe52p7+Kid3W3u3bxR4Vfd/o21dmN7jSt0IwgZ4v5MUd26FEtXE9w== "prettier-fallback@npm:prettier@^3", prettier@^3.1.1: + name prettier-fallback version "3.2.5" resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.2.5.tgz#e52bc3090586e824964a8813b09aba6233b28368" integrity sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A== @@ -17038,15 +17039,13 @@ react-dev-utils@^12.0.1: strip-ansi "^6.0.1" text-table "^0.2.0" -react-dom@16.14.0, react-dom@^16.0.0: - version "16.14.0" - resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.14.0.tgz#7ad838ec29a777fb3c75c3a190f661cf92ab8b89" - integrity sha512-1gCeQXDLoIqMgqD3IO2Ah9bnf0w9kzhwN5q4FGnHZ67hBm9yePzB5JJAIQCc8x3pFnNlwFq4RidZggNAAkzWWw== +"react-dom@^16.8.0 || ^17.0.0 || ^18.0.0", react-dom@^18.3.1: + version "18.3.1" + resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-18.3.1.tgz#c2265d79511b57d479b3dd3fdfa51536494c5cb4" + integrity sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw== dependencies: loose-envify "^1.1.0" - object-assign "^4.1.1" - prop-types "^15.6.2" - scheduler "^0.19.1" + scheduler "^0.23.2" react-error-overlay@^6.0.11: version "6.0.11" @@ -17170,14 +17169,21 @@ react-router@5.3.4, react-router@^5.3.4: tiny-invariant "^1.0.2" tiny-warning "^1.0.0" -react@16.14.0, react@^16.0.0: - version "16.14.0" - resolved "https://registry.yarnpkg.com/react/-/react-16.14.0.tgz#94d776ddd0aaa37da3eda8fc5b6b18a4c9a3114d" - integrity sha512-0X2CImDkJGApiAlcf0ODKIneSwBPhqJawOa5wCtKbu7ZECrmS26NvtSILynQ66cgkT/RJ4LidJOc3bUESwmU8g== +react-style-singleton@^2.2.1: + version "2.2.1" + resolved "https://registry.yarnpkg.com/react-style-singleton/-/react-style-singleton-2.2.1.tgz#f99e420492b2d8f34d38308ff660b60d0b1205b4" + integrity sha512-ZWj0fHEMyWkHzKYUr2Bs/4zU6XLmq9HsgBURm7g5pAVfyn49DgUiNgY2d4lXRlYSiCif9YBGpQleewkcqddc7g== + dependencies: + get-nonce "^1.0.0" + invariant "^2.2.4" + tslib "^2.0.0" + +"react@^16.8.0 || ^17.0.0 || ^18.0.0", react@^18.3.1: + version "18.3.1" + resolved "https://registry.yarnpkg.com/react/-/react-18.3.1.tgz#49ab892009c53933625bd16b2533fc754cab2891" + integrity sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ== dependencies: loose-envify "^1.1.0" - object-assign "^4.1.1" - prop-types "^15.6.2" read-cmd-shim@^3.0.0: version "3.0.1" @@ -18004,14 +18010,6 @@ saxes@^5.0.1: dependencies: xmlchars "^2.2.0" -scheduler@^0.19.1: - version "0.19.1" - resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.19.1.tgz#4f3e2ed2c1a7d65681f4c854fa8c5a1ccb40f196" - integrity sha512-n/zwRWRYSUj0/3g/otKDRPMh6qv2SYMWNq85IEa8iZyAv8od9zDYpGSnpBEjNgcMNq6Scbu5KfIPxNF72R/2EA== - dependencies: - loose-envify "^1.1.0" - object-assign "^4.1.1" - scheduler@^0.23.2: version "0.23.2" resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.23.2.tgz#414ba64a3b282892e944cf2108ecc078d115cdc3" From 7220351473a3c25cd68ffadf4d7939328d81a824 Mon Sep 17 00:00:00 2001 From: Jane Chu <7559015+janechu@users.noreply.github.com> Date: Mon, 20 May 2024 15:09:25 -0700 Subject: [PATCH 6/8] Undo removed lines from merge --- packages/web-components/fast-element/package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/web-components/fast-element/package.json b/packages/web-components/fast-element/package.json index c2f602e5357..2e59c0766c6 100644 --- a/packages/web-components/fast-element/package.json +++ b/packages/web-components/fast-element/package.json @@ -153,6 +153,8 @@ "ts-node": "^8.9.1", "tsconfig-paths": "^3.9.0", "tslib": "^2.4.0", - "typescript": "~4.7.0" + "typescript": "~4.7.0", + "webpack": "^5.72.0", + "webpack-cli": "^4.9.2" } } From 4d0865d1f528aa16549679cfa22fe37b75f28836 Mon Sep 17 00:00:00 2001 From: Jane Chu <7559015+janechu@users.noreply.github.com> Date: Mon, 20 May 2024 15:49:41 -0700 Subject: [PATCH 7/8] re-remove webpack from nohoist --- package.json | 1 - packages/web-components/fast-element/package.json | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/package.json b/package.json index 42eb62be616..c9c46e04604 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,6 @@ "**/react-dom", "**/react-syntax-highlighter", "**/typescript", - "**/webpack", "**/@storybook/builder-webpack5", "**/@storybook/builder-webpack5/**" ] diff --git a/packages/web-components/fast-element/package.json b/packages/web-components/fast-element/package.json index 2e59c0766c6..c2f602e5357 100644 --- a/packages/web-components/fast-element/package.json +++ b/packages/web-components/fast-element/package.json @@ -153,8 +153,6 @@ "ts-node": "^8.9.1", "tsconfig-paths": "^3.9.0", "tslib": "^2.4.0", - "typescript": "~4.7.0", - "webpack": "^5.72.0", - "webpack-cli": "^4.9.2" + "typescript": "~4.7.0" } } From 517ffdf6ce6903fd90e05335e7f8eb8f21366e4b Mon Sep 17 00:00:00 2001 From: Jane Chu <7559015+janechu@users.noreply.github.com> Date: Tue, 21 May 2024 07:27:28 -0700 Subject: [PATCH 8/8] Remove possibly unneccessary nohoisted storybook dependencies --- package.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/package.json b/package.json index c9c46e04604..54d29f80976 100644 --- a/package.json +++ b/package.json @@ -31,9 +31,7 @@ "**/react/**", "**/react-dom", "**/react-syntax-highlighter", - "**/typescript", - "**/@storybook/builder-webpack5", - "**/@storybook/builder-webpack5/**" + "**/typescript" ] }, "engines": {