diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 261b11dae4c414..404b9c1e312a91 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -126,6 +126,7 @@ packages/react-tabs/ @microsoft/cxe-red @behowell packages/react-toggle/ @microsoft/cxe-red @behowell packages/react-tooltip/ @microsoft/cxe-red @behowell packages/react-label/ @microsoft/cxe-red @sopranopillow +packages/react-popover/ @teams-prg ## Components packages/react @microsoft/cxe-red diff --git a/.storybook/preview.js b/.storybook/preview.js index d6d2c1d896dbb8..4305b6bebe2695 100644 --- a/.storybook/preview.js +++ b/.storybook/preview.js @@ -1,4 +1,13 @@ import { withFluentProvider, withStrictMode } from '@fluentui/react-storybook'; import 'cypress-storybook/react'; +/** @type {NonNullable} */ export const decorators = [withFluentProvider, withStrictMode]; + +/** @type {import('@storybook/react').Parameters} */ +export const parameters = { + controls: { + disable: true, + expanded: true, + }, +}; diff --git a/apps/a11y-tests/CHANGELOG.json b/apps/a11y-tests/CHANGELOG.json index 46f85dc02ebc37..a79389c26939c5 100644 --- a/apps/a11y-tests/CHANGELOG.json +++ b/apps/a11y-tests/CHANGELOG.json @@ -1,6 +1,111 @@ { "name": "a11y-tests", "entries": [ + { + "date": "Wed, 14 Jul 2021 07:28:19 GMT", + "tag": "a11y-tests_v1.0.0", + "version": "1.0.0", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/react to v8.23.2", + "author": "makopch@microsoft.com", + "commit": "54d610936b6670ecfe3c1577ed779af25c27ef3e", + "package": "a11y-tests" + } + ] + } + }, + { + "date": "Tue, 13 Jul 2021 22:32:58 GMT", + "tag": "a11y-tests_v1.0.0", + "version": "1.0.0", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/react to v8.23.1", + "author": "behowell@microsoft.com", + "commit": "035ba0498cee783b11b31dffa0cbf595b73d6ec8", + "package": "a11y-tests" + } + ] + } + }, + { + "date": "Tue, 13 Jul 2021 07:35:36 GMT", + "tag": "a11y-tests_v1.0.0", + "version": "1.0.0", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/react to v8.23.0", + "author": "tmichon@microsoft.com", + "commit": "c9c64e89dc89e1f2abd145d132bb0624c40bd4ed", + "package": "a11y-tests" + } + ] + } + }, + { + "date": "Mon, 12 Jul 2021 07:33:23 GMT", + "tag": "a11y-tests_v1.0.0", + "version": "1.0.0", + "comments": { + "none": [ + { + "comment": "Bump @fluentui/react to v8.22.3", + "author": "Humberto.Morimoto@microsoft.com", + "commit": "394b16b92fae7773125c32edc1df56c7758cba4e", + "package": "a11y-tests" + } + ] + } + }, + { + "date": "Fri, 09 Jul 2021 07:39:31 GMT", + "tag": "a11y-tests_v1.0.0", + "version": "1.0.0", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/eslint-plugin to v1.3.2", + "author": "martinhochel@microsoft.com", + "commit": "18902eb64710aa6253a79781357b8390bb13665c", + "package": "a11y-tests" + } + ] + } + }, + { + "date": "Thu, 08 Jul 2021 07:32:49 GMT", + "tag": "a11y-tests_v1.0.0", + "version": "1.0.0", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/react to v8.22.2", + "author": "sarah.higley@microsoft.com", + "commit": "6b7dca368ae9ce805f8c9663ebbb6018024f8b8b", + "package": "a11y-tests" + } + ] + } + }, + { + "date": "Wed, 07 Jul 2021 07:32:54 GMT", + "tag": "a11y-tests_v1.0.0", + "version": "1.0.0", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/react to v8.22.1", + "author": "sarah.higley@microsoft.com", + "commit": "9babbdb459a85f5ec7640b35e921d17a675f7856", + "package": "a11y-tests" + } + ] + } + }, { "date": "Thu, 01 Jul 2021 07:35:05 GMT", "tag": "a11y-tests_v1.0.0", diff --git a/apps/a11y-tests/CHANGELOG.md b/apps/a11y-tests/CHANGELOG.md index a31d12ac51fe26..63f24bf374c3c5 100644 --- a/apps/a11y-tests/CHANGELOG.md +++ b/apps/a11y-tests/CHANGELOG.md @@ -1,11 +1,65 @@ # Change Log - a11y-tests -This log was last generated on Thu, 01 Jul 2021 07:35:05 GMT and should not be manually modified. +This log was last generated on Wed, 14 Jul 2021 07:28:19 GMT and should not be manually modified. ## [1.0.0](https://github.com/microsoft/fluentui/tree/a11y-tests_v1.0.0) +Wed, 14 Jul 2021 07:28:19 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/a11y-tests_v1.0.0..a11y-tests_v1.0.0) + +### Patches + +- Bump @fluentui/react to v8.23.2 ([PR #18853](https://github.com/microsoft/fluentui/pull/18853) by makopch@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/a11y-tests_v1.0.0) + +Tue, 13 Jul 2021 22:32:58 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/a11y-tests_v1.0.0..a11y-tests_v1.0.0) + +### Patches + +- Bump @fluentui/react to v8.23.1 ([PR #18890](https://github.com/microsoft/fluentui/pull/18890) by behowell@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/a11y-tests_v1.0.0) + +Tue, 13 Jul 2021 07:35:36 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/a11y-tests_v1.0.0..a11y-tests_v1.0.0) + +### Patches + +- Bump @fluentui/react to v8.23.0 ([PR #18802](https://github.com/microsoft/fluentui/pull/18802) by tmichon@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/a11y-tests_v1.0.0) + +Fri, 09 Jul 2021 07:39:31 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/a11y-tests_v1.0.0..a11y-tests_v1.0.0) + +### Patches + +- Bump @fluentui/eslint-plugin to v1.3.2 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/a11y-tests_v1.0.0) + +Thu, 08 Jul 2021 07:32:49 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/a11y-tests_v1.0.0..a11y-tests_v1.0.0) + +### Patches + +- Bump @fluentui/react to v8.22.2 ([PR #18771](https://github.com/microsoft/fluentui/pull/18771) by sarah.higley@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/a11y-tests_v1.0.0) + +Wed, 07 Jul 2021 07:32:54 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/a11y-tests_v1.0.0..a11y-tests_v1.0.0) + +### Patches + +- Bump @fluentui/react to v8.22.1 ([PR #18825](https://github.com/microsoft/fluentui/pull/18825) by sarah.higley@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/a11y-tests_v1.0.0) + Thu, 01 Jul 2021 07:35:05 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/a11y-tests_v1.0.0..a11y-tests_v1.0.0) diff --git a/apps/a11y-tests/package.json b/apps/a11y-tests/package.json index 9a7e5dc6e572a7..be652746c43932 100644 --- a/apps/a11y-tests/package.json +++ b/apps/a11y-tests/package.json @@ -12,7 +12,7 @@ "update-snapshots": "just-scripts jest -u" }, "dependencies": { - "@fluentui/react": "^8.22.0", + "@fluentui/react": "^8.23.2", "axe-core": "3.5.0", "axe-puppeteer": "^1.0.0", "axe-sarif-converter": "^2.0.1", @@ -23,12 +23,12 @@ "react-dom": "16.8.6" }, "devDependencies": { - "@fluentui/eslint-plugin": "^1.3.1", + "@fluentui/eslint-plugin": "^1.3.2", "@types/puppeteer": "1.12.3", "@types/react": "16.9.42", "@types/react-dom": "16.9.10", "@types/sarif": "^2.1.1", - "@fluentui/font-icons-mdl2": "^8.1.4", + "@fluentui/font-icons-mdl2": "^8.1.6", "@fluentui/scripts": "^1.0.0" } } diff --git a/apps/codesandbox-react-northstar-template/CHANGELOG.json b/apps/codesandbox-react-northstar-template/CHANGELOG.json index 6dab05573734bd..734a2f8a2f4f53 100644 --- a/apps/codesandbox-react-northstar-template/CHANGELOG.json +++ b/apps/codesandbox-react-northstar-template/CHANGELOG.json @@ -1,6 +1,21 @@ { "name": "codesandbox-react-northstar-template", "entries": [ + { + "date": "Fri, 09 Jul 2021 07:39:31 GMT", + "tag": "codesandbox-react-northstar-template_v1.0.0", + "version": "1.0.0", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/eslint-plugin to v1.3.2", + "author": "martinhochel@microsoft.com", + "commit": "18902eb64710aa6253a79781357b8390bb13665c", + "package": "codesandbox-react-northstar-template" + } + ] + } + }, { "date": "Mon, 07 Jun 2021 07:38:15 GMT", "tag": "codesandbox-react-northstar-template_v1.0.0", diff --git a/apps/codesandbox-react-northstar-template/CHANGELOG.md b/apps/codesandbox-react-northstar-template/CHANGELOG.md index 0531d8a700d616..703b234e6ced2f 100644 --- a/apps/codesandbox-react-northstar-template/CHANGELOG.md +++ b/apps/codesandbox-react-northstar-template/CHANGELOG.md @@ -1,11 +1,20 @@ # Change Log - codesandbox-react-northstar-template -This log was last generated on Mon, 07 Jun 2021 07:38:15 GMT and should not be manually modified. +This log was last generated on Fri, 09 Jul 2021 07:39:31 GMT and should not be manually modified. ## [1.0.0](https://github.com/microsoft/fluentui/tree/codesandbox-react-northstar-template_v1.0.0) +Fri, 09 Jul 2021 07:39:31 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/codesandbox-react-northstar-template_v1.0.0..codesandbox-react-northstar-template_v1.0.0) + +### Patches + +- Bump @fluentui/eslint-plugin to v1.3.2 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/codesandbox-react-northstar-template_v1.0.0) + Mon, 07 Jun 2021 07:38:15 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/codesandbox-react-northstar-template_v1.0.0..codesandbox-react-northstar-template_v1.0.0) diff --git a/apps/codesandbox-react-northstar-template/package.json b/apps/codesandbox-react-northstar-template/package.json index e0d54e125588c2..99392faed2857c 100644 --- a/apps/codesandbox-react-northstar-template/package.json +++ b/apps/codesandbox-react-northstar-template/package.json @@ -11,7 +11,7 @@ "code-style": "just-scripts code-style" }, "devDependencies": { - "@fluentui/eslint-plugin": "^1.3.1", + "@fluentui/eslint-plugin": "^1.3.2", "@types/react": "16.9.42", "@types/react-dom": "16.9.10", "@fluentui/scripts": "^1.0.0" diff --git a/apps/codesandbox-react-template/CHANGELOG.json b/apps/codesandbox-react-template/CHANGELOG.json index ea5576dc7e1340..b2874aa838e555 100644 --- a/apps/codesandbox-react-template/CHANGELOG.json +++ b/apps/codesandbox-react-template/CHANGELOG.json @@ -1,6 +1,111 @@ { "name": "codesandbox-react-template", "entries": [ + { + "date": "Wed, 14 Jul 2021 07:28:19 GMT", + "tag": "codesandbox-react-template_v1.0.0", + "version": "1.0.0", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/react to v8.23.2", + "author": "makopch@microsoft.com", + "commit": "54d610936b6670ecfe3c1577ed779af25c27ef3e", + "package": "codesandbox-react-template" + } + ] + } + }, + { + "date": "Tue, 13 Jul 2021 22:32:58 GMT", + "tag": "codesandbox-react-template_v1.0.0", + "version": "1.0.0", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/react to v8.23.1", + "author": "behowell@microsoft.com", + "commit": "035ba0498cee783b11b31dffa0cbf595b73d6ec8", + "package": "codesandbox-react-template" + } + ] + } + }, + { + "date": "Tue, 13 Jul 2021 07:35:36 GMT", + "tag": "codesandbox-react-template_v1.0.0", + "version": "1.0.0", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/react to v8.23.0", + "author": "tmichon@microsoft.com", + "commit": "c9c64e89dc89e1f2abd145d132bb0624c40bd4ed", + "package": "codesandbox-react-template" + } + ] + } + }, + { + "date": "Mon, 12 Jul 2021 07:33:23 GMT", + "tag": "codesandbox-react-template_v1.0.0", + "version": "1.0.0", + "comments": { + "none": [ + { + "comment": "Bump @fluentui/react to v8.22.3", + "author": "Humberto.Morimoto@microsoft.com", + "commit": "394b16b92fae7773125c32edc1df56c7758cba4e", + "package": "codesandbox-react-template" + } + ] + } + }, + { + "date": "Fri, 09 Jul 2021 07:39:31 GMT", + "tag": "codesandbox-react-template_v1.0.0", + "version": "1.0.0", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/eslint-plugin to v1.3.2", + "author": "martinhochel@microsoft.com", + "commit": "18902eb64710aa6253a79781357b8390bb13665c", + "package": "codesandbox-react-template" + } + ] + } + }, + { + "date": "Thu, 08 Jul 2021 07:32:49 GMT", + "tag": "codesandbox-react-template_v1.0.0", + "version": "1.0.0", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/react to v8.22.2", + "author": "sarah.higley@microsoft.com", + "commit": "6b7dca368ae9ce805f8c9663ebbb6018024f8b8b", + "package": "codesandbox-react-template" + } + ] + } + }, + { + "date": "Wed, 07 Jul 2021 07:32:54 GMT", + "tag": "codesandbox-react-template_v1.0.0", + "version": "1.0.0", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/react to v8.22.1", + "author": "sarah.higley@microsoft.com", + "commit": "9babbdb459a85f5ec7640b35e921d17a675f7856", + "package": "codesandbox-react-template" + } + ] + } + }, { "date": "Thu, 01 Jul 2021 07:35:05 GMT", "tag": "codesandbox-react-template_v1.0.0", diff --git a/apps/codesandbox-react-template/CHANGELOG.md b/apps/codesandbox-react-template/CHANGELOG.md index 6c34ba87c97506..77625ef2096a10 100644 --- a/apps/codesandbox-react-template/CHANGELOG.md +++ b/apps/codesandbox-react-template/CHANGELOG.md @@ -1,11 +1,65 @@ # Change Log - codesandbox-react-template -This log was last generated on Thu, 01 Jul 2021 07:35:05 GMT and should not be manually modified. +This log was last generated on Wed, 14 Jul 2021 07:28:19 GMT and should not be manually modified. ## [1.0.0](https://github.com/microsoft/fluentui/tree/codesandbox-react-template_v1.0.0) +Wed, 14 Jul 2021 07:28:19 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/codesandbox-react-template_v1.0.0..codesandbox-react-template_v1.0.0) + +### Patches + +- Bump @fluentui/react to v8.23.2 ([PR #18853](https://github.com/microsoft/fluentui/pull/18853) by makopch@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/codesandbox-react-template_v1.0.0) + +Tue, 13 Jul 2021 22:32:58 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/codesandbox-react-template_v1.0.0..codesandbox-react-template_v1.0.0) + +### Patches + +- Bump @fluentui/react to v8.23.1 ([PR #18890](https://github.com/microsoft/fluentui/pull/18890) by behowell@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/codesandbox-react-template_v1.0.0) + +Tue, 13 Jul 2021 07:35:36 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/codesandbox-react-template_v1.0.0..codesandbox-react-template_v1.0.0) + +### Patches + +- Bump @fluentui/react to v8.23.0 ([PR #18802](https://github.com/microsoft/fluentui/pull/18802) by tmichon@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/codesandbox-react-template_v1.0.0) + +Fri, 09 Jul 2021 07:39:31 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/codesandbox-react-template_v1.0.0..codesandbox-react-template_v1.0.0) + +### Patches + +- Bump @fluentui/eslint-plugin to v1.3.2 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/codesandbox-react-template_v1.0.0) + +Thu, 08 Jul 2021 07:32:49 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/codesandbox-react-template_v1.0.0..codesandbox-react-template_v1.0.0) + +### Patches + +- Bump @fluentui/react to v8.22.2 ([PR #18771](https://github.com/microsoft/fluentui/pull/18771) by sarah.higley@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/codesandbox-react-template_v1.0.0) + +Wed, 07 Jul 2021 07:32:54 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/codesandbox-react-template_v1.0.0..codesandbox-react-template_v1.0.0) + +### Patches + +- Bump @fluentui/react to v8.22.1 ([PR #18825](https://github.com/microsoft/fluentui/pull/18825) by sarah.higley@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/codesandbox-react-template_v1.0.0) + Thu, 01 Jul 2021 07:35:05 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/codesandbox-react-template_v1.0.0..codesandbox-react-template_v1.0.0) diff --git a/apps/codesandbox-react-template/package.json b/apps/codesandbox-react-template/package.json index 11e42efd86f735..585911aeae7c9f 100644 --- a/apps/codesandbox-react-template/package.json +++ b/apps/codesandbox-react-template/package.json @@ -11,14 +11,14 @@ "code-style": "just-scripts code-style" }, "devDependencies": { - "@fluentui/eslint-plugin": "^1.3.1", + "@fluentui/eslint-plugin": "^1.3.2", "@types/react": "16.9.42", "@types/react-dom": "16.9.10", "@fluentui/scripts": "^1.0.0" }, "dependencies": { "@microsoft/load-themed-styles": "^1.10.26", - "@fluentui/react": "^8.22.0", + "@fluentui/react": "^8.23.2", "react": "16.8.6", "react-dom": "16.8.6", "tslib": "^2.1.0" diff --git a/apps/perf-test/CHANGELOG.json b/apps/perf-test/CHANGELOG.json index f9d5f81ca12bdc..1252d128b33053 100644 --- a/apps/perf-test/CHANGELOG.json +++ b/apps/perf-test/CHANGELOG.json @@ -1,6 +1,266 @@ { "name": "perf-test", "entries": [ + { + "date": "Wed, 14 Jul 2021 07:28:19 GMT", + "tag": "perf-test_v1.0.0", + "version": "1.0.0", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/react to v8.23.2", + "author": "makopch@microsoft.com", + "commit": "54d610936b6670ecfe3c1577ed779af25c27ef3e", + "package": "perf-test" + } + ], + "prerelease": [ + { + "comment": "Bump @fluentui/react-tabs to v1.0.0-beta.125", + "author": "makopch@microsoft.com", + "commit": "54d610936b6670ecfe3c1577ed779af25c27ef3e", + "package": "perf-test" + } + ] + } + }, + { + "date": "Tue, 13 Jul 2021 22:32:58 GMT", + "tag": "perf-test_v1.0.0", + "version": "1.0.0", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/react to v8.23.1", + "author": "behowell@microsoft.com", + "commit": "035ba0498cee783b11b31dffa0cbf595b73d6ec8", + "package": "perf-test" + } + ], + "prerelease": [ + { + "comment": "Bump @fluentui/react-tabs to v1.0.0-beta.124", + "author": "elcraig@microsoft.com", + "commit": "12b74625dec55bd1919f6370513043d87705e5ea", + "package": "perf-test" + }, + { + "comment": "Bump @fluentui/react-avatar to v9.0.0-alpha.55", + "author": "elcraig@microsoft.com", + "commit": "12b74625dec55bd1919f6370513043d87705e5ea", + "package": "perf-test" + }, + { + "comment": "Bump @fluentui/react-button to v9.0.0-alpha.59", + "author": "elcraig@microsoft.com", + "commit": "12b74625dec55bd1919f6370513043d87705e5ea", + "package": "perf-test" + }, + { + "comment": "Bump @fluentui/react-provider to v9.0.0-alpha.55", + "author": "elcraig@microsoft.com", + "commit": "12b74625dec55bd1919f6370513043d87705e5ea", + "package": "perf-test" + } + ] + } + }, + { + "date": "Tue, 13 Jul 2021 07:35:36 GMT", + "tag": "perf-test_v1.0.0", + "version": "1.0.0", + "comments": { + "prerelease": [ + { + "comment": "Bump @fluentui/make-styles to v9.0.0-alpha.28", + "author": "behowell@microsoft.com", + "commit": "8e5969e291bcafac21df12c9fb591bdd5654c613", + "package": "perf-test" + }, + { + "comment": "Bump @fluentui/react-avatar to v9.0.0-alpha.54", + "author": "behowell@microsoft.com", + "commit": "8e5969e291bcafac21df12c9fb591bdd5654c613", + "package": "perf-test" + }, + { + "comment": "Bump @fluentui/react-button to v9.0.0-alpha.58", + "author": "behowell@microsoft.com", + "commit": "8e5969e291bcafac21df12c9fb591bdd5654c613", + "package": "perf-test" + }, + { + "comment": "Bump @fluentui/react-provider to v9.0.0-alpha.54", + "author": "behowell@microsoft.com", + "commit": "8e5969e291bcafac21df12c9fb591bdd5654c613", + "package": "perf-test" + }, + { + "comment": "Bump @fluentui/react-tabs to v1.0.0-beta.123", + "author": "tmichon@microsoft.com", + "commit": "c9c64e89dc89e1f2abd145d132bb0624c40bd4ed", + "package": "perf-test" + } + ], + "patch": [ + { + "comment": "Bump @fluentui/react to v8.23.0", + "author": "tmichon@microsoft.com", + "commit": "c9c64e89dc89e1f2abd145d132bb0624c40bd4ed", + "package": "perf-test" + } + ] + } + }, + { + "date": "Mon, 12 Jul 2021 07:33:23 GMT", + "tag": "perf-test_v1.0.0", + "version": "1.0.0", + "comments": { + "none": [ + { + "comment": "Bump @fluentui/react to v8.22.3", + "author": "Humberto.Morimoto@microsoft.com", + "commit": "394b16b92fae7773125c32edc1df56c7758cba4e", + "package": "perf-test" + } + ], + "prerelease": [ + { + "comment": "Bump @fluentui/react-button to v9.0.0-alpha.57", + "author": "Humberto.Morimoto@microsoft.com", + "commit": "394b16b92fae7773125c32edc1df56c7758cba4e", + "package": "perf-test" + } + ] + } + }, + { + "date": "Fri, 09 Jul 2021 07:39:31 GMT", + "tag": "perf-test_v1.0.0", + "version": "1.0.0", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/eslint-plugin to v1.3.2", + "author": "martinhochel@microsoft.com", + "commit": "18902eb64710aa6253a79781357b8390bb13665c", + "package": "perf-test" + } + ], + "prerelease": [ + { + "comment": "Bump @fluentui/react-button to v9.0.0-alpha.56", + "author": "martinhochel@microsoft.com", + "commit": "18902eb64710aa6253a79781357b8390bb13665c", + "package": "perf-test" + }, + { + "comment": "Bump @fluentui/react-avatar to v9.0.0-alpha.53", + "author": "martinhochel@microsoft.com", + "commit": "18902eb64710aa6253a79781357b8390bb13665c", + "package": "perf-test" + }, + { + "comment": "Bump @fluentui/react-tabs to v1.0.0-beta.122", + "author": "martinhochel@microsoft.com", + "commit": "18902eb64710aa6253a79781357b8390bb13665c", + "package": "perf-test" + }, + { + "comment": "Bump @fluentui/react-provider to v9.0.0-alpha.53", + "author": "martinhochel@microsoft.com", + "commit": "18902eb64710aa6253a79781357b8390bb13665c", + "package": "perf-test" + }, + { + "comment": "Bump @fluentui/make-styles to v9.0.0-alpha.27", + "author": "martinhochel@microsoft.com", + "commit": "18902eb64710aa6253a79781357b8390bb13665c", + "package": "perf-test" + }, + { + "comment": "Bump @fluentui/react-theme to v9.0.0-alpha.17", + "author": "martinhochel@microsoft.com", + "commit": "18902eb64710aa6253a79781357b8390bb13665c", + "package": "perf-test" + } + ] + } + }, + { + "date": "Thu, 08 Jul 2021 07:32:49 GMT", + "tag": "perf-test_v1.0.0", + "version": "1.0.0", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/react to v8.22.2", + "author": "sarah.higley@microsoft.com", + "commit": "6b7dca368ae9ce805f8c9663ebbb6018024f8b8b", + "package": "perf-test" + } + ], + "prerelease": [ + { + "comment": "Bump @fluentui/react-tabs to v1.0.0-beta.121", + "author": "sarah.higley@microsoft.com", + "commit": "6b7dca368ae9ce805f8c9663ebbb6018024f8b8b", + "package": "perf-test" + } + ] + } + }, + { + "date": "Wed, 07 Jul 2021 07:32:54 GMT", + "tag": "perf-test_v1.0.0", + "version": "1.0.0", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/react to v8.22.1", + "author": "sarah.higley@microsoft.com", + "commit": "9babbdb459a85f5ec7640b35e921d17a675f7856", + "package": "perf-test" + } + ], + "prerelease": [ + { + "comment": "Bump @fluentui/react-tabs to v1.0.0-beta.120", + "author": "sarah.higley@microsoft.com", + "commit": "9babbdb459a85f5ec7640b35e921d17a675f7856", + "package": "perf-test" + } + ] + } + }, + { + "date": "Fri, 02 Jul 2021 23:15:55 GMT", + "tag": "perf-test_v1.0.0", + "version": "1.0.0", + "comments": { + "prerelease": [ + { + "comment": "Bump @fluentui/react-avatar to v9.0.0-alpha.52", + "author": "olfedias@microsoft.com", + "commit": "936b45148b58d15c9c843f0503f7bdf12b9da4e9", + "package": "perf-test" + }, + { + "comment": "Bump @fluentui/react-button to v9.0.0-alpha.55", + "author": "olfedias@microsoft.com", + "commit": "936b45148b58d15c9c843f0503f7bdf12b9da4e9", + "package": "perf-test" + }, + { + "comment": "Bump @fluentui/react-provider to v9.0.0-alpha.52", + "author": "bsunderhus@microsoft.com", + "commit": "6c37a1cb5c312d4be8b239bfd9f6c9f28e9f0d24", + "package": "perf-test" + } + ] + } + }, { "date": "Fri, 02 Jul 2021 07:37:06 GMT", "tag": "perf-test_v1.0.0", diff --git a/apps/perf-test/CHANGELOG.md b/apps/perf-test/CHANGELOG.md index a31277760a2fb8..59811b53e4e5be 100644 --- a/apps/perf-test/CHANGELOG.md +++ b/apps/perf-test/CHANGELOG.md @@ -1,11 +1,121 @@ # Change Log - perf-test -This log was last generated on Fri, 02 Jul 2021 07:37:06 GMT and should not be manually modified. +This log was last generated on Wed, 14 Jul 2021 07:28:19 GMT and should not be manually modified. ## [1.0.0](https://github.com/microsoft/fluentui/tree/perf-test_v1.0.0) +Wed, 14 Jul 2021 07:28:19 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/perf-test_v1.0.0..perf-test_v1.0.0) + +### Patches + +- Bump @fluentui/react to v8.23.2 ([PR #18853](https://github.com/microsoft/fluentui/pull/18853) by makopch@microsoft.com) + +### Changes + +- Bump @fluentui/react-tabs to v1.0.0-beta.125 ([PR #18853](https://github.com/microsoft/fluentui/pull/18853) by makopch@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/perf-test_v1.0.0) + +Tue, 13 Jul 2021 22:32:58 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/perf-test_v1.0.0..perf-test_v1.0.0) + +### Patches + +- Bump @fluentui/react to v8.23.1 ([PR #18890](https://github.com/microsoft/fluentui/pull/18890) by behowell@microsoft.com) + +### Changes + +- Bump @fluentui/react-tabs to v1.0.0-beta.124 ([PR #18925](https://github.com/microsoft/fluentui/pull/18925) by elcraig@microsoft.com) +- Bump @fluentui/react-avatar to v9.0.0-alpha.55 ([PR #18925](https://github.com/microsoft/fluentui/pull/18925) by elcraig@microsoft.com) +- Bump @fluentui/react-button to v9.0.0-alpha.59 ([PR #18925](https://github.com/microsoft/fluentui/pull/18925) by elcraig@microsoft.com) +- Bump @fluentui/react-provider to v9.0.0-alpha.55 ([PR #18925](https://github.com/microsoft/fluentui/pull/18925) by elcraig@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/perf-test_v1.0.0) + +Tue, 13 Jul 2021 07:35:36 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/perf-test_v1.0.0..perf-test_v1.0.0) + +### Patches + +- Bump @fluentui/react to v8.23.0 ([PR #18802](https://github.com/microsoft/fluentui/pull/18802) by tmichon@microsoft.com) + +### Changes + +- Bump @fluentui/make-styles to v9.0.0-alpha.28 ([PR #18560](https://github.com/microsoft/fluentui/pull/18560) by behowell@microsoft.com) +- Bump @fluentui/react-avatar to v9.0.0-alpha.54 ([PR #18560](https://github.com/microsoft/fluentui/pull/18560) by behowell@microsoft.com) +- Bump @fluentui/react-button to v9.0.0-alpha.58 ([PR #18560](https://github.com/microsoft/fluentui/pull/18560) by behowell@microsoft.com) +- Bump @fluentui/react-provider to v9.0.0-alpha.54 ([PR #18560](https://github.com/microsoft/fluentui/pull/18560) by behowell@microsoft.com) +- Bump @fluentui/react-tabs to v1.0.0-beta.123 ([PR #18802](https://github.com/microsoft/fluentui/pull/18802) by tmichon@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/perf-test_v1.0.0) + +Mon, 12 Jul 2021 07:33:23 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/perf-test_v1.0.0..perf-test_v1.0.0) + +### Changes + +- Bump @fluentui/react-button to v9.0.0-alpha.57 ([PR #18563](https://github.com/microsoft/fluentui/pull/18563) by Humberto.Morimoto@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/perf-test_v1.0.0) + +Fri, 09 Jul 2021 07:39:31 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/perf-test_v1.0.0..perf-test_v1.0.0) + +### Patches + +- Bump @fluentui/eslint-plugin to v1.3.2 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com) + +### Changes + +- Bump @fluentui/react-button to v9.0.0-alpha.56 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com) +- Bump @fluentui/react-avatar to v9.0.0-alpha.53 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com) +- Bump @fluentui/react-tabs to v1.0.0-beta.122 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com) +- Bump @fluentui/react-provider to v9.0.0-alpha.53 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com) +- Bump @fluentui/make-styles to v9.0.0-alpha.27 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com) +- Bump @fluentui/react-theme to v9.0.0-alpha.17 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/perf-test_v1.0.0) + +Thu, 08 Jul 2021 07:32:49 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/perf-test_v1.0.0..perf-test_v1.0.0) + +### Patches + +- Bump @fluentui/react to v8.22.2 ([PR #18771](https://github.com/microsoft/fluentui/pull/18771) by sarah.higley@microsoft.com) + +### Changes + +- Bump @fluentui/react-tabs to v1.0.0-beta.121 ([PR #18771](https://github.com/microsoft/fluentui/pull/18771) by sarah.higley@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/perf-test_v1.0.0) + +Wed, 07 Jul 2021 07:32:54 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/perf-test_v1.0.0..perf-test_v1.0.0) + +### Patches + +- Bump @fluentui/react to v8.22.1 ([PR #18825](https://github.com/microsoft/fluentui/pull/18825) by sarah.higley@microsoft.com) + +### Changes + +- Bump @fluentui/react-tabs to v1.0.0-beta.120 ([PR #18825](https://github.com/microsoft/fluentui/pull/18825) by sarah.higley@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/perf-test_v1.0.0) + +Fri, 02 Jul 2021 23:15:55 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/perf-test_v1.0.0..perf-test_v1.0.0) + +### Changes + +- Bump @fluentui/react-avatar to v9.0.0-alpha.52 ([PR #18816](https://github.com/microsoft/fluentui/pull/18816) by olfedias@microsoft.com) +- Bump @fluentui/react-button to v9.0.0-alpha.55 ([PR #18816](https://github.com/microsoft/fluentui/pull/18816) by olfedias@microsoft.com) +- Bump @fluentui/react-provider to v9.0.0-alpha.52 ([PR #18721](https://github.com/microsoft/fluentui/pull/18721) by bsunderhus@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/perf-test_v1.0.0) + Fri, 02 Jul 2021 07:37:06 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/perf-test_v1.0.0..perf-test_v1.0.0) diff --git a/apps/perf-test/package.json b/apps/perf-test/package.json index 7ecdb76d922add..dc25fdc1d9fd0b 100644 --- a/apps/perf-test/package.json +++ b/apps/perf-test/package.json @@ -12,14 +12,14 @@ "code-style": "just-scripts code-style" }, "dependencies": { - "@fluentui/eslint-plugin": "^1.3.1", - "@fluentui/make-styles": "^9.0.0-alpha.26", - "@fluentui/react": "^8.22.0", - "@fluentui/react-avatar": "^9.0.0-alpha.51", - "@fluentui/react-button": "^9.0.0-alpha.54", - "@fluentui/react-provider": "^9.0.0-alpha.51", - "@fluentui/react-tabs": "^1.0.0-beta.119", - "@fluentui/react-theme": "^9.0.0-alpha.16", + "@fluentui/eslint-plugin": "^1.3.2", + "@fluentui/make-styles": "^9.0.0-alpha.28", + "@fluentui/react": "^8.23.2", + "@fluentui/react-avatar": "^9.0.0-alpha.55", + "@fluentui/react-button": "^9.0.0-alpha.59", + "@fluentui/react-provider": "^9.0.0-alpha.55", + "@fluentui/react-tabs": "^1.0.0-beta.125", + "@fluentui/react-theme": "^9.0.0-alpha.17", "@fluentui/scripts": "^1.0.0", "@microsoft/load-themed-styles": "^1.10.26", "@types/react-dom": "16.9.10", diff --git a/apps/pr-deploy-site/CHANGELOG.json b/apps/pr-deploy-site/CHANGELOG.json index 9edc94d3d1d818..d4b2477a409f08 100644 --- a/apps/pr-deploy-site/CHANGELOG.json +++ b/apps/pr-deploy-site/CHANGELOG.json @@ -1,6 +1,21 @@ { "name": "@fluentui/pr-deploy-site", "entries": [ + { + "date": "Fri, 09 Jul 2021 07:39:31 GMT", + "tag": "@fluentui/pr-deploy-site_v1.0.0", + "version": "1.0.0", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/eslint-plugin to v1.3.2", + "author": "martinhochel@microsoft.com", + "commit": "18902eb64710aa6253a79781357b8390bb13665c", + "package": "@fluentui/pr-deploy-site" + } + ] + } + }, { "date": "Mon, 07 Jun 2021 07:38:15 GMT", "tag": "@fluentui/pr-deploy-site_v1.0.0", diff --git a/apps/pr-deploy-site/CHANGELOG.md b/apps/pr-deploy-site/CHANGELOG.md index 6dafd11c959493..a2311146ede474 100644 --- a/apps/pr-deploy-site/CHANGELOG.md +++ b/apps/pr-deploy-site/CHANGELOG.md @@ -1,11 +1,20 @@ # Change Log - @fluentui/pr-deploy-site -This log was last generated on Mon, 07 Jun 2021 07:38:15 GMT and should not be manually modified. +This log was last generated on Fri, 09 Jul 2021 07:39:31 GMT and should not be manually modified. ## [1.0.0](https://github.com/microsoft/fluentui/tree/@fluentui/pr-deploy-site_v1.0.0) +Fri, 09 Jul 2021 07:39:31 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/pr-deploy-site_v1.0.0..@fluentui/pr-deploy-site_v1.0.0) + +### Patches + +- Bump @fluentui/eslint-plugin to v1.3.2 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/@fluentui/pr-deploy-site_v1.0.0) + Mon, 07 Jun 2021 07:38:15 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/pr-deploy-site_v1.0.0..@fluentui/pr-deploy-site_v1.0.0) diff --git a/apps/pr-deploy-site/package.json b/apps/pr-deploy-site/package.json index b6e0924d7b200c..f4715c92dd5fe8 100644 --- a/apps/pr-deploy-site/package.json +++ b/apps/pr-deploy-site/package.json @@ -11,7 +11,7 @@ }, "license": "MIT", "devDependencies": { - "@fluentui/eslint-plugin": "^1.3.1", + "@fluentui/eslint-plugin": "^1.3.2", "@fluentui/scripts": "^1.0.0" } } diff --git a/apps/public-docsite-resources/CHANGELOG.json b/apps/public-docsite-resources/CHANGELOG.json index 7f89217f7e6328..9e1284767010cc 100644 --- a/apps/public-docsite-resources/CHANGELOG.json +++ b/apps/public-docsite-resources/CHANGELOG.json @@ -1,6 +1,180 @@ { "name": "@fluentui/public-docsite-resources", "entries": [ + { + "date": "Wed, 14 Jul 2021 07:28:19 GMT", + "tag": "@fluentui/public-docsite-resources_v8.1.41", + "version": "8.1.41", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/react to v8.23.2", + "author": "makopch@microsoft.com", + "commit": "54d610936b6670ecfe3c1577ed779af25c27ef3e", + "package": "@fluentui/public-docsite-resources" + } + ], + "none": [ + { + "comment": "Bump @fluentui/react-examples to v8.34.4", + "author": "makopch@microsoft.com", + "commit": "54d610936b6670ecfe3c1577ed779af25c27ef3e", + "package": "@fluentui/public-docsite-resources" + } + ] + } + }, + { + "date": "Tue, 13 Jul 2021 22:32:58 GMT", + "tag": "@fluentui/public-docsite-resources_v8.1.41", + "version": "8.1.41", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/react to v8.23.1", + "author": "behowell@microsoft.com", + "commit": "035ba0498cee783b11b31dffa0cbf595b73d6ec8", + "package": "@fluentui/public-docsite-resources" + } + ], + "none": [ + { + "comment": "Bump @fluentui/react-examples to v8.34.4", + "author": "andredias@microsoft.com", + "commit": "a84e6352e7a0a8ed79a75e9688b87d8890d5a241", + "package": "@fluentui/public-docsite-resources" + } + ] + } + }, + { + "date": "Tue, 13 Jul 2021 07:35:36 GMT", + "tag": "@fluentui/public-docsite-resources_v8.1.41", + "version": "8.1.41", + "comments": { + "none": [ + { + "comment": "Bump @fluentui/react-examples to v8.34.4", + "author": "tmichon@microsoft.com", + "commit": "c9c64e89dc89e1f2abd145d132bb0624c40bd4ed", + "package": "@fluentui/public-docsite-resources" + } + ], + "patch": [ + { + "comment": "Bump @fluentui/react to v8.23.0", + "author": "tmichon@microsoft.com", + "commit": "c9c64e89dc89e1f2abd145d132bb0624c40bd4ed", + "package": "@fluentui/public-docsite-resources" + } + ] + } + }, + { + "date": "Mon, 12 Jul 2021 07:33:23 GMT", + "tag": "@fluentui/public-docsite-resources_v8.1.40", + "version": "8.1.40", + "comments": { + "none": [ + { + "comment": "Bump @fluentui/react-examples to v8.34.3", + "author": "bsunderhus@microsoft.com", + "commit": "b77307bb8ec2b07db583fda8367b73911598b4f6", + "package": "@fluentui/public-docsite-resources" + } + ] + } + }, + { + "date": "Fri, 09 Jul 2021 07:39:31 GMT", + "tag": "@fluentui/public-docsite-resources_v8.1.40", + "version": "8.1.40", + "comments": { + "none": [ + { + "comment": "Bump @fluentui/api-docs to v8.1.34", + "author": "martinhochel@microsoft.com", + "commit": "18902eb64710aa6253a79781357b8390bb13665c", + "package": "@fluentui/public-docsite-resources" + }, + { + "comment": "Bump @fluentui/react-examples to v8.34.2", + "author": "martinhochel@microsoft.com", + "commit": "18902eb64710aa6253a79781357b8390bb13665c", + "package": "@fluentui/public-docsite-resources" + } + ], + "patch": [ + { + "comment": "Bump @fluentui/eslint-plugin to v1.3.2", + "author": "martinhochel@microsoft.com", + "commit": "18902eb64710aa6253a79781357b8390bb13665c", + "package": "@fluentui/public-docsite-resources" + } + ] + } + }, + { + "date": "Thu, 08 Jul 2021 07:32:49 GMT", + "tag": "@fluentui/public-docsite-resources_v8.1.39", + "version": "8.1.39", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/react to v8.22.2", + "author": "sarah.higley@microsoft.com", + "commit": "6b7dca368ae9ce805f8c9663ebbb6018024f8b8b", + "package": "@fluentui/public-docsite-resources" + } + ], + "none": [ + { + "comment": "Bump @fluentui/react-examples to v8.34.1", + "author": "lingfan.gao@microsoft.com", + "commit": "f945172f2b3904cf993a6a7f65a13bbe44f31fbe", + "package": "@fluentui/public-docsite-resources" + } + ] + } + }, + { + "date": "Wed, 07 Jul 2021 07:32:54 GMT", + "tag": "@fluentui/public-docsite-resources_v8.1.38", + "version": "8.1.38", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/react to v8.22.1", + "author": "sarah.higley@microsoft.com", + "commit": "9babbdb459a85f5ec7640b35e921d17a675f7856", + "package": "@fluentui/public-docsite-resources" + } + ], + "none": [ + { + "comment": "Bump @fluentui/react-examples to v8.34.0", + "author": "sarah.higley@microsoft.com", + "commit": "9babbdb459a85f5ec7640b35e921d17a675f7856", + "package": "@fluentui/public-docsite-resources" + } + ] + } + }, + { + "date": "Fri, 02 Jul 2021 23:15:55 GMT", + "tag": "@fluentui/public-docsite-resources_v8.1.37", + "version": "8.1.37", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/react-examples to v8.33.4", + "author": "bsunderhus@microsoft.com", + "commit": "6c37a1cb5c312d4be8b239bfd9f6c9f28e9f0d24", + "package": "@fluentui/public-docsite-resources" + } + ] + } + }, { "date": "Fri, 02 Jul 2021 07:37:06 GMT", "tag": "@fluentui/public-docsite-resources_v8.1.36", diff --git a/apps/public-docsite-resources/CHANGELOG.md b/apps/public-docsite-resources/CHANGELOG.md index b5ab70933e444c..968118ebdf06b3 100644 --- a/apps/public-docsite-resources/CHANGELOG.md +++ b/apps/public-docsite-resources/CHANGELOG.md @@ -1,9 +1,72 @@ # Change Log - @fluentui/public-docsite-resources -This log was last generated on Thu, 01 Jul 2021 07:35:05 GMT and should not be manually modified. +This log was last generated on Wed, 14 Jul 2021 07:28:19 GMT and should not be manually modified. +## [8.1.41](https://github.com/microsoft/fluentui/tree/@fluentui/public-docsite-resources_v8.1.41) + +Wed, 14 Jul 2021 07:28:19 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/public-docsite-resources_v8.1.41..@fluentui/public-docsite-resources_v8.1.41) + +### Patches + +- Bump @fluentui/react to v8.23.2 ([PR #18853](https://github.com/microsoft/fluentui/pull/18853) by makopch@microsoft.com) + +## [8.1.41](https://github.com/microsoft/fluentui/tree/@fluentui/public-docsite-resources_v8.1.41) + +Tue, 13 Jul 2021 22:32:58 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/public-docsite-resources_v8.1.41..@fluentui/public-docsite-resources_v8.1.41) + +### Patches + +- Bump @fluentui/react to v8.23.1 ([PR #18890](https://github.com/microsoft/fluentui/pull/18890) by behowell@microsoft.com) + +## [8.1.41](https://github.com/microsoft/fluentui/tree/@fluentui/public-docsite-resources_v8.1.41) + +Tue, 13 Jul 2021 07:35:36 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/public-docsite-resources_v8.1.40..@fluentui/public-docsite-resources_v8.1.41) + +### Patches + +- Bump @fluentui/react to v8.23.0 ([PR #18802](https://github.com/microsoft/fluentui/pull/18802) by tmichon@microsoft.com) + +## [8.1.40](https://github.com/microsoft/fluentui/tree/@fluentui/public-docsite-resources_v8.1.40) + +Fri, 09 Jul 2021 07:39:31 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/public-docsite-resources_v8.1.39..@fluentui/public-docsite-resources_v8.1.40) + +### Patches + +- Bump @fluentui/eslint-plugin to v1.3.2 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com) + +## [8.1.39](https://github.com/microsoft/fluentui/tree/@fluentui/public-docsite-resources_v8.1.39) + +Thu, 08 Jul 2021 07:32:49 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/public-docsite-resources_v8.1.38..@fluentui/public-docsite-resources_v8.1.39) + +### Patches + +- Bump @fluentui/react to v8.22.2 ([PR #18771](https://github.com/microsoft/fluentui/pull/18771) by sarah.higley@microsoft.com) + +## [8.1.38](https://github.com/microsoft/fluentui/tree/@fluentui/public-docsite-resources_v8.1.38) + +Wed, 07 Jul 2021 07:32:54 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/public-docsite-resources_v8.1.37..@fluentui/public-docsite-resources_v8.1.38) + +### Patches + +- Bump @fluentui/react to v8.22.1 ([PR #18825](https://github.com/microsoft/fluentui/pull/18825) by sarah.higley@microsoft.com) + +## [8.1.37](https://github.com/microsoft/fluentui/tree/@fluentui/public-docsite-resources_v8.1.37) + +Fri, 02 Jul 2021 23:15:55 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/public-docsite-resources_v8.1.36..@fluentui/public-docsite-resources_v8.1.37) + +### Patches + +- Bump @fluentui/react-examples to v8.33.4 ([PR #18721](https://github.com/microsoft/fluentui/pull/18721) by bsunderhus@microsoft.com) + ## [8.1.36](https://github.com/microsoft/fluentui/tree/@fluentui/public-docsite-resources_v8.1.36) Thu, 01 Jul 2021 07:35:05 GMT diff --git a/apps/public-docsite-resources/package.json b/apps/public-docsite-resources/package.json index eba8b390f97be5..c246cf6c2fdfcc 100644 --- a/apps/public-docsite-resources/package.json +++ b/apps/public-docsite-resources/package.json @@ -1,6 +1,7 @@ { "name": "@fluentui/public-docsite-resources", - "version": "8.1.36", + "version": "8.1.41", + "private": true, "description": "Fluent UI React local demo app", "main": "lib-commonjs/index.js", "module": "lib/index.js", @@ -26,21 +27,21 @@ "update-snapshots": "just-scripts jest -u" }, "devDependencies": { - "@fluentui/eslint-plugin": "^1.3.1", + "@fluentui/eslint-plugin": "^1.3.2", "@fluentui/scripts": "^1.0.0", "react-dom": "16.8.6" }, "dependencies": { - "@fluentui/react": "^8.22.0", - "@fluentui/react-examples": "^8.33.3", + "@fluentui/react": "^8.23.2", + "@fluentui/react-examples": "^8.34.4", "@microsoft/load-themed-styles": "^1.10.26", - "@fluentui/api-docs": "^8.1.31", - "@fluentui/azure-themes": "^8.1.31", - "@fluentui/react-docsite-components": "^8.2.31", - "@fluentui/font-icons-mdl2": "^8.1.4", - "@fluentui/set-version": "^8.1.2", - "@fluentui/theme-samples": "^8.1.31", - "@fluentui/react-monaco-editor": "^1.1.31", + "@fluentui/api-docs": "^8.1.35", + "@fluentui/azure-themes": "^8.1.37", + "@fluentui/react-docsite-components": "^8.2.37", + "@fluentui/font-icons-mdl2": "^8.1.6", + "@fluentui/set-version": "^8.1.3", + "@fluentui/theme-samples": "^8.1.37", + "@fluentui/react-monaco-editor": "^1.1.37", "@types/react": "16.9.42", "office-ui-fabric-core": "^11.0.0", "react": "16.8.6", diff --git a/apps/public-docsite/CHANGELOG.json b/apps/public-docsite/CHANGELOG.json index 43f3e9d9121958..e09478b7bce0f2 100644 --- a/apps/public-docsite/CHANGELOG.json +++ b/apps/public-docsite/CHANGELOG.json @@ -1,6 +1,188 @@ { "name": "@fluentui/public-docsite", "entries": [ + { + "date": "Wed, 14 Jul 2021 07:28:19 GMT", + "tag": "@fluentui/public-docsite_v8.2.41", + "version": "8.2.41", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/react to v8.23.2", + "author": "makopch@microsoft.com", + "commit": "54d610936b6670ecfe3c1577ed779af25c27ef3e", + "package": "@fluentui/public-docsite" + } + ], + "none": [ + { + "comment": "Bump @fluentui/react-examples to v8.34.4", + "author": "makopch@microsoft.com", + "commit": "54d610936b6670ecfe3c1577ed779af25c27ef3e", + "package": "@fluentui/public-docsite" + } + ] + } + }, + { + "date": "Tue, 13 Jul 2021 22:32:58 GMT", + "tag": "@fluentui/public-docsite_v8.2.41", + "version": "8.2.41", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/react to v8.23.1", + "author": "behowell@microsoft.com", + "commit": "035ba0498cee783b11b31dffa0cbf595b73d6ec8", + "package": "@fluentui/public-docsite" + } + ], + "none": [ + { + "comment": "Bump @fluentui/react-examples to v8.34.4", + "author": "andredias@microsoft.com", + "commit": "a84e6352e7a0a8ed79a75e9688b87d8890d5a241", + "package": "@fluentui/public-docsite" + } + ] + } + }, + { + "date": "Tue, 13 Jul 2021 07:35:36 GMT", + "tag": "@fluentui/public-docsite_v8.2.41", + "version": "8.2.41", + "comments": { + "none": [ + { + "comment": "Bump @fluentui/react-examples to v8.34.4", + "author": "tmichon@microsoft.com", + "commit": "c9c64e89dc89e1f2abd145d132bb0624c40bd4ed", + "package": "@fluentui/public-docsite" + } + ], + "patch": [ + { + "comment": "Bump @fluentui/react to v8.23.0", + "author": "tmichon@microsoft.com", + "commit": "c9c64e89dc89e1f2abd145d132bb0624c40bd4ed", + "package": "@fluentui/public-docsite" + } + ] + } + }, + { + "date": "Mon, 12 Jul 2021 07:33:23 GMT", + "tag": "@fluentui/public-docsite_v8.2.40", + "version": "8.2.40", + "comments": { + "none": [ + { + "comment": "Bump @fluentui/react-examples to v8.34.3", + "author": "bsunderhus@microsoft.com", + "commit": "b77307bb8ec2b07db583fda8367b73911598b4f6", + "package": "@fluentui/public-docsite" + } + ] + } + }, + { + "date": "Fri, 09 Jul 2021 07:39:31 GMT", + "tag": "@fluentui/public-docsite_v8.2.40", + "version": "8.2.40", + "comments": { + "none": [ + { + "comment": "Bump @fluentui/api-docs to v8.1.34", + "author": "martinhochel@microsoft.com", + "commit": "18902eb64710aa6253a79781357b8390bb13665c", + "package": "@fluentui/public-docsite" + }, + { + "comment": "Bump @fluentui/react-examples to v8.34.2", + "author": "martinhochel@microsoft.com", + "commit": "18902eb64710aa6253a79781357b8390bb13665c", + "package": "@fluentui/public-docsite" + } + ], + "patch": [ + { + "comment": "Bump @fluentui/eslint-plugin to v1.3.2", + "author": "martinhochel@microsoft.com", + "commit": "18902eb64710aa6253a79781357b8390bb13665c", + "package": "@fluentui/public-docsite" + } + ] + } + }, + { + "date": "Thu, 08 Jul 2021 07:32:49 GMT", + "tag": "@fluentui/public-docsite_v8.2.39", + "version": "8.2.39", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/react to v8.22.2", + "author": "sarah.higley@microsoft.com", + "commit": "6b7dca368ae9ce805f8c9663ebbb6018024f8b8b", + "package": "@fluentui/public-docsite" + } + ], + "none": [ + { + "comment": "Bump @fluentui/react-examples to v8.34.1", + "author": "lingfan.gao@microsoft.com", + "commit": "f945172f2b3904cf993a6a7f65a13bbe44f31fbe", + "package": "@fluentui/public-docsite" + } + ] + } + }, + { + "date": "Wed, 07 Jul 2021 07:32:54 GMT", + "tag": "@fluentui/public-docsite_v8.2.38", + "version": "8.2.38", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/react to v8.22.1", + "author": "sarah.higley@microsoft.com", + "commit": "9babbdb459a85f5ec7640b35e921d17a675f7856", + "package": "@fluentui/public-docsite" + } + ], + "none": [ + { + "comment": "Bump @fluentui/react-examples to v8.34.0", + "author": "sarah.higley@microsoft.com", + "commit": "9babbdb459a85f5ec7640b35e921d17a675f7856", + "package": "@fluentui/public-docsite" + } + ] + } + }, + { + "date": "Fri, 02 Jul 2021 23:15:55 GMT", + "tag": "@fluentui/public-docsite_v8.2.37", + "version": "8.2.37", + "comments": { + "none": [ + { + "comment": "Bump @fluentui/react-examples to v8.33.4", + "author": "bsunderhus@microsoft.com", + "commit": "6c37a1cb5c312d4be8b239bfd9f6c9f28e9f0d24", + "package": "@fluentui/public-docsite" + } + ], + "patch": [ + { + "comment": "Bump @fluentui/react-experiments to v8.1.34", + "author": "jaredi@microsoft.com", + "commit": "dc5027fffb57cdbb6cf4bf12da4a1fd98c7a3e15", + "package": "@fluentui/public-docsite" + } + ] + } + }, { "date": "Fri, 02 Jul 2021 07:37:06 GMT", "tag": "@fluentui/public-docsite_v8.2.36", diff --git a/apps/public-docsite/CHANGELOG.md b/apps/public-docsite/CHANGELOG.md index 234a53cafef277..4a89299f778a3e 100644 --- a/apps/public-docsite/CHANGELOG.md +++ b/apps/public-docsite/CHANGELOG.md @@ -1,9 +1,72 @@ # Change Log - @fluentui/public-docsite -This log was last generated on Thu, 01 Jul 2021 07:35:05 GMT and should not be manually modified. +This log was last generated on Wed, 14 Jul 2021 07:28:19 GMT and should not be manually modified. +## [8.2.41](https://github.com/microsoft/fluentui/tree/@fluentui/public-docsite_v8.2.41) + +Wed, 14 Jul 2021 07:28:19 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/public-docsite_v8.2.41..@fluentui/public-docsite_v8.2.41) + +### Patches + +- Bump @fluentui/react to v8.23.2 ([PR #18853](https://github.com/microsoft/fluentui/pull/18853) by makopch@microsoft.com) + +## [8.2.41](https://github.com/microsoft/fluentui/tree/@fluentui/public-docsite_v8.2.41) + +Tue, 13 Jul 2021 22:32:58 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/public-docsite_v8.2.41..@fluentui/public-docsite_v8.2.41) + +### Patches + +- Bump @fluentui/react to v8.23.1 ([PR #18890](https://github.com/microsoft/fluentui/pull/18890) by behowell@microsoft.com) + +## [8.2.41](https://github.com/microsoft/fluentui/tree/@fluentui/public-docsite_v8.2.41) + +Tue, 13 Jul 2021 07:35:36 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/public-docsite_v8.2.40..@fluentui/public-docsite_v8.2.41) + +### Patches + +- Bump @fluentui/react to v8.23.0 ([PR #18802](https://github.com/microsoft/fluentui/pull/18802) by tmichon@microsoft.com) + +## [8.2.40](https://github.com/microsoft/fluentui/tree/@fluentui/public-docsite_v8.2.40) + +Fri, 09 Jul 2021 07:39:31 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/public-docsite_v8.2.39..@fluentui/public-docsite_v8.2.40) + +### Patches + +- Bump @fluentui/eslint-plugin to v1.3.2 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com) + +## [8.2.39](https://github.com/microsoft/fluentui/tree/@fluentui/public-docsite_v8.2.39) + +Thu, 08 Jul 2021 07:32:49 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/public-docsite_v8.2.38..@fluentui/public-docsite_v8.2.39) + +### Patches + +- Bump @fluentui/react to v8.22.2 ([PR #18771](https://github.com/microsoft/fluentui/pull/18771) by sarah.higley@microsoft.com) + +## [8.2.38](https://github.com/microsoft/fluentui/tree/@fluentui/public-docsite_v8.2.38) + +Wed, 07 Jul 2021 07:32:54 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/public-docsite_v8.2.37..@fluentui/public-docsite_v8.2.38) + +### Patches + +- Bump @fluentui/react to v8.22.1 ([PR #18825](https://github.com/microsoft/fluentui/pull/18825) by sarah.higley@microsoft.com) + +## [8.2.37](https://github.com/microsoft/fluentui/tree/@fluentui/public-docsite_v8.2.37) + +Fri, 02 Jul 2021 23:15:55 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/public-docsite_v8.2.36..@fluentui/public-docsite_v8.2.37) + +### Patches + +- Bump @fluentui/react-experiments to v8.1.34 ([PR #18766](https://github.com/microsoft/fluentui/pull/18766) by jaredi@microsoft.com) + ## [8.2.36](https://github.com/microsoft/fluentui/tree/@fluentui/public-docsite_v8.2.36) Thu, 01 Jul 2021 07:35:05 GMT diff --git a/apps/public-docsite/package.json b/apps/public-docsite/package.json index 009f3dfafc3608..4c92955eaf4057 100644 --- a/apps/public-docsite/package.json +++ b/apps/public-docsite/package.json @@ -1,6 +1,7 @@ { "name": "@fluentui/public-docsite", - "version": "8.2.36", + "version": "8.2.41", + "private": true, "description": "The official website for the Fluent UI project.", "sideEffects": true, "main": "lib-commonjs/root.js", @@ -22,25 +23,25 @@ }, "license": "MIT", "devDependencies": { - "@fluentui/common-styles": "^1.0.10", - "@fluentui/eslint-plugin": "^1.3.1", - "@fluentui/react-monaco-editor": "^1.1.31", + "@fluentui/common-styles": "^1.0.12", + "@fluentui/eslint-plugin": "^1.3.2", + "@fluentui/react-monaco-editor": "^1.1.37", "@fluentui/scripts": "^1.0.0", "write-file-webpack-plugin": "^4.1.0" }, "dependencies": { - "@fluentui/api-docs": "^8.1.31", - "@fluentui/font-icons-mdl2": "^8.1.4", - "@fluentui/public-docsite-setup": "^0.3.5", - "@fluentui/react": "^8.22.0", - "@fluentui/react-docsite-components": "^8.2.31", - "@fluentui/react-examples": "^8.33.3", - "@fluentui/react-experiments": "^8.1.33", - "@fluentui/react-file-type-icons": "^8.1.4", - "@fluentui/set-version": "^8.1.2", - "@fluentui/theme": "^2.1.3", - "@fluentui/theme-samples": "^8.1.31", - "@fluentui/utilities": "^8.2.0", + "@fluentui/api-docs": "^8.1.35", + "@fluentui/font-icons-mdl2": "^8.1.6", + "@fluentui/public-docsite-setup": "^0.3.6", + "@fluentui/react": "^8.23.2", + "@fluentui/react-docsite-components": "^8.2.37", + "@fluentui/react-examples": "^8.34.4", + "@fluentui/react-experiments": "^8.1.40", + "@fluentui/react-file-type-icons": "^8.2.0", + "@fluentui/set-version": "^8.1.3", + "@fluentui/theme": "^2.1.4", + "@fluentui/theme-samples": "^8.1.37", + "@fluentui/utilities": "^8.2.1", "@microsoft/load-themed-styles": "^1.10.26", "@types/react": "16.9.42", "@types/react-dom": "16.9.10", diff --git a/apps/server-rendered-app/CHANGELOG.json b/apps/server-rendered-app/CHANGELOG.json index 9bf874094a23b6..ab990b23678276 100644 --- a/apps/server-rendered-app/CHANGELOG.json +++ b/apps/server-rendered-app/CHANGELOG.json @@ -1,6 +1,111 @@ { "name": "server-rendered-app", "entries": [ + { + "date": "Wed, 14 Jul 2021 07:28:19 GMT", + "tag": "server-rendered-app_v1.0.0", + "version": "1.0.0", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/react to v8.23.2", + "author": "makopch@microsoft.com", + "commit": "54d610936b6670ecfe3c1577ed779af25c27ef3e", + "package": "server-rendered-app" + } + ] + } + }, + { + "date": "Tue, 13 Jul 2021 22:32:58 GMT", + "tag": "server-rendered-app_v1.0.0", + "version": "1.0.0", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/react to v8.23.1", + "author": "behowell@microsoft.com", + "commit": "035ba0498cee783b11b31dffa0cbf595b73d6ec8", + "package": "server-rendered-app" + } + ] + } + }, + { + "date": "Tue, 13 Jul 2021 07:35:36 GMT", + "tag": "server-rendered-app_v1.0.0", + "version": "1.0.0", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/react to v8.23.0", + "author": "tmichon@microsoft.com", + "commit": "c9c64e89dc89e1f2abd145d132bb0624c40bd4ed", + "package": "server-rendered-app" + } + ] + } + }, + { + "date": "Mon, 12 Jul 2021 07:33:23 GMT", + "tag": "server-rendered-app_v1.0.0", + "version": "1.0.0", + "comments": { + "none": [ + { + "comment": "Bump @fluentui/react to v8.22.3", + "author": "Humberto.Morimoto@microsoft.com", + "commit": "394b16b92fae7773125c32edc1df56c7758cba4e", + "package": "server-rendered-app" + } + ] + } + }, + { + "date": "Fri, 09 Jul 2021 07:39:31 GMT", + "tag": "server-rendered-app_v1.0.0", + "version": "1.0.0", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/eslint-plugin to v1.3.2", + "author": "martinhochel@microsoft.com", + "commit": "18902eb64710aa6253a79781357b8390bb13665c", + "package": "server-rendered-app" + } + ] + } + }, + { + "date": "Thu, 08 Jul 2021 07:32:49 GMT", + "tag": "server-rendered-app_v1.0.0", + "version": "1.0.0", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/react to v8.22.2", + "author": "sarah.higley@microsoft.com", + "commit": "6b7dca368ae9ce805f8c9663ebbb6018024f8b8b", + "package": "server-rendered-app" + } + ] + } + }, + { + "date": "Wed, 07 Jul 2021 07:32:54 GMT", + "tag": "server-rendered-app_v1.0.0", + "version": "1.0.0", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/react to v8.22.1", + "author": "sarah.higley@microsoft.com", + "commit": "9babbdb459a85f5ec7640b35e921d17a675f7856", + "package": "server-rendered-app" + } + ] + } + }, { "date": "Thu, 01 Jul 2021 07:35:05 GMT", "tag": "server-rendered-app_v1.0.0", diff --git a/apps/server-rendered-app/CHANGELOG.md b/apps/server-rendered-app/CHANGELOG.md index f78e503376e46e..2a08fa36850f30 100644 --- a/apps/server-rendered-app/CHANGELOG.md +++ b/apps/server-rendered-app/CHANGELOG.md @@ -1,11 +1,65 @@ # Change Log - server-rendered-app -This log was last generated on Thu, 01 Jul 2021 07:35:05 GMT and should not be manually modified. +This log was last generated on Wed, 14 Jul 2021 07:28:19 GMT and should not be manually modified. ## [1.0.0](https://github.com/microsoft/fluentui/tree/server-rendered-app_v1.0.0) +Wed, 14 Jul 2021 07:28:19 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/server-rendered-app_v1.0.0..server-rendered-app_v1.0.0) + +### Patches + +- Bump @fluentui/react to v8.23.2 ([PR #18853](https://github.com/microsoft/fluentui/pull/18853) by makopch@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/server-rendered-app_v1.0.0) + +Tue, 13 Jul 2021 22:32:58 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/server-rendered-app_v1.0.0..server-rendered-app_v1.0.0) + +### Patches + +- Bump @fluentui/react to v8.23.1 ([PR #18890](https://github.com/microsoft/fluentui/pull/18890) by behowell@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/server-rendered-app_v1.0.0) + +Tue, 13 Jul 2021 07:35:36 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/server-rendered-app_v1.0.0..server-rendered-app_v1.0.0) + +### Patches + +- Bump @fluentui/react to v8.23.0 ([PR #18802](https://github.com/microsoft/fluentui/pull/18802) by tmichon@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/server-rendered-app_v1.0.0) + +Fri, 09 Jul 2021 07:39:31 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/server-rendered-app_v1.0.0..server-rendered-app_v1.0.0) + +### Patches + +- Bump @fluentui/eslint-plugin to v1.3.2 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/server-rendered-app_v1.0.0) + +Thu, 08 Jul 2021 07:32:49 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/server-rendered-app_v1.0.0..server-rendered-app_v1.0.0) + +### Patches + +- Bump @fluentui/react to v8.22.2 ([PR #18771](https://github.com/microsoft/fluentui/pull/18771) by sarah.higley@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/server-rendered-app_v1.0.0) + +Wed, 07 Jul 2021 07:32:54 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/server-rendered-app_v1.0.0..server-rendered-app_v1.0.0) + +### Patches + +- Bump @fluentui/react to v8.22.1 ([PR #18825](https://github.com/microsoft/fluentui/pull/18825) by sarah.higley@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/server-rendered-app_v1.0.0) + Thu, 01 Jul 2021 07:35:05 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/server-rendered-app_v1.0.0..server-rendered-app_v1.0.0) diff --git a/apps/server-rendered-app/package.json b/apps/server-rendered-app/package.json index be26fa1456b22a..466ad9e7d51a85 100644 --- a/apps/server-rendered-app/package.json +++ b/apps/server-rendered-app/package.json @@ -14,17 +14,16 @@ "start": "node ./server/index.js" }, "devDependencies": { - "@fluentui/eslint-plugin": "^1.3.1", + "@fluentui/eslint-plugin": "^1.3.2", "@fluentui/scripts": "^1.0.0", "@types/react": "16.9.42", "@types/react-dom": "16.9.10", - "compression": "^1.7.2", - "express": "^4.15.4" + "compression": "^1.7.2" }, "dependencies": { - "@fluentui/font-icons-mdl2": "^8.1.4", - "@fluentui/merge-styles": "^8.1.2", - "@fluentui/react": "^8.22.0", + "@fluentui/font-icons-mdl2": "^8.1.6", + "@fluentui/merge-styles": "^8.1.3", + "@fluentui/react": "^8.23.2", "@microsoft/load-themed-styles": "^1.10.26", "react": "16.8.6", "react-dom": "16.8.6", diff --git a/apps/ssr-tests/CHANGELOG.json b/apps/ssr-tests/CHANGELOG.json index 5718308a745f43..2a1532ab6a2274 100644 --- a/apps/ssr-tests/CHANGELOG.json +++ b/apps/ssr-tests/CHANGELOG.json @@ -1,6 +1,126 @@ { "name": "ssr-tests", "entries": [ + { + "date": "Wed, 14 Jul 2021 07:28:19 GMT", + "tag": "ssr-tests_v1.0.0", + "version": "1.0.0", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/public-docsite-resources to v8.1.41", + "author": "makopch@microsoft.com", + "commit": "54d610936b6670ecfe3c1577ed779af25c27ef3e", + "package": "ssr-tests" + } + ] + } + }, + { + "date": "Tue, 13 Jul 2021 22:32:58 GMT", + "tag": "ssr-tests_v1.0.0", + "version": "1.0.0", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/public-docsite-resources to v8.1.41", + "author": "andredias@microsoft.com", + "commit": "a84e6352e7a0a8ed79a75e9688b87d8890d5a241", + "package": "ssr-tests" + } + ] + } + }, + { + "date": "Tue, 13 Jul 2021 07:35:36 GMT", + "tag": "ssr-tests_v1.0.0", + "version": "1.0.0", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/public-docsite-resources to v8.1.41", + "author": "tmichon@microsoft.com", + "commit": "c9c64e89dc89e1f2abd145d132bb0624c40bd4ed", + "package": "ssr-tests" + } + ] + } + }, + { + "date": "Mon, 12 Jul 2021 07:33:23 GMT", + "tag": "ssr-tests_v1.0.0", + "version": "1.0.0", + "comments": { + "none": [ + { + "comment": "Bump @fluentui/public-docsite-resources to v8.1.40", + "author": "bsunderhus@microsoft.com", + "commit": "b77307bb8ec2b07db583fda8367b73911598b4f6", + "package": "ssr-tests" + } + ] + } + }, + { + "date": "Fri, 09 Jul 2021 07:39:31 GMT", + "tag": "ssr-tests_v1.0.0", + "version": "1.0.0", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/public-docsite-resources to v8.1.40", + "author": "martinhochel@microsoft.com", + "commit": "18902eb64710aa6253a79781357b8390bb13665c", + "package": "ssr-tests" + } + ] + } + }, + { + "date": "Thu, 08 Jul 2021 07:32:49 GMT", + "tag": "ssr-tests_v1.0.0", + "version": "1.0.0", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/public-docsite-resources to v8.1.39", + "author": "lingfan.gao@microsoft.com", + "commit": "f945172f2b3904cf993a6a7f65a13bbe44f31fbe", + "package": "ssr-tests" + } + ] + } + }, + { + "date": "Wed, 07 Jul 2021 07:32:54 GMT", + "tag": "ssr-tests_v1.0.0", + "version": "1.0.0", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/public-docsite-resources to v8.1.38", + "author": "sarah.higley@microsoft.com", + "commit": "9babbdb459a85f5ec7640b35e921d17a675f7856", + "package": "ssr-tests" + } + ] + } + }, + { + "date": "Fri, 02 Jul 2021 23:15:55 GMT", + "tag": "ssr-tests_v1.0.0", + "version": "1.0.0", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/public-docsite-resources to v8.1.37", + "author": "bsunderhus@microsoft.com", + "commit": "6c37a1cb5c312d4be8b239bfd9f6c9f28e9f0d24", + "package": "ssr-tests" + } + ] + } + }, { "date": "Fri, 02 Jul 2021 07:37:06 GMT", "tag": "ssr-tests_v1.0.0", diff --git a/apps/ssr-tests/CHANGELOG.md b/apps/ssr-tests/CHANGELOG.md index ca6b7f738d1fde..fd027a3d7259dc 100644 --- a/apps/ssr-tests/CHANGELOG.md +++ b/apps/ssr-tests/CHANGELOG.md @@ -1,11 +1,74 @@ # Change Log - ssr-tests -This log was last generated on Thu, 01 Jul 2021 07:35:05 GMT and should not be manually modified. +This log was last generated on Wed, 14 Jul 2021 07:28:19 GMT and should not be manually modified. ## [1.0.0](https://github.com/microsoft/fluentui/tree/ssr-tests_v1.0.0) +Wed, 14 Jul 2021 07:28:19 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/ssr-tests_v1.0.0..ssr-tests_v1.0.0) + +### Patches + +- Bump @fluentui/public-docsite-resources to v8.1.41 ([PR #18853](https://github.com/microsoft/fluentui/pull/18853) by makopch@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/ssr-tests_v1.0.0) + +Tue, 13 Jul 2021 22:32:58 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/ssr-tests_v1.0.0..ssr-tests_v1.0.0) + +### Patches + +- Bump @fluentui/public-docsite-resources to v8.1.41 ([PR #18920](https://github.com/microsoft/fluentui/pull/18920) by andredias@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/ssr-tests_v1.0.0) + +Tue, 13 Jul 2021 07:35:36 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/ssr-tests_v1.0.0..ssr-tests_v1.0.0) + +### Patches + +- Bump @fluentui/public-docsite-resources to v8.1.41 ([PR #18802](https://github.com/microsoft/fluentui/pull/18802) by tmichon@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/ssr-tests_v1.0.0) + +Fri, 09 Jul 2021 07:39:31 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/ssr-tests_v1.0.0..ssr-tests_v1.0.0) + +### Patches + +- Bump @fluentui/public-docsite-resources to v8.1.40 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/ssr-tests_v1.0.0) + +Thu, 08 Jul 2021 07:32:49 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/ssr-tests_v1.0.0..ssr-tests_v1.0.0) + +### Patches + +- Bump @fluentui/public-docsite-resources to v8.1.39 ([PR #18845](https://github.com/microsoft/fluentui/pull/18845) by lingfan.gao@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/ssr-tests_v1.0.0) + +Wed, 07 Jul 2021 07:32:54 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/ssr-tests_v1.0.0..ssr-tests_v1.0.0) + +### Patches + +- Bump @fluentui/public-docsite-resources to v8.1.38 ([PR #18825](https://github.com/microsoft/fluentui/pull/18825) by sarah.higley@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/ssr-tests_v1.0.0) + +Fri, 02 Jul 2021 23:15:55 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/ssr-tests_v1.0.0..ssr-tests_v1.0.0) + +### Patches + +- Bump @fluentui/public-docsite-resources to v8.1.37 ([PR #18721](https://github.com/microsoft/fluentui/pull/18721) by bsunderhus@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/ssr-tests_v1.0.0) + Thu, 01 Jul 2021 07:35:05 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/ssr-tests_v1.0.0..ssr-tests_v1.0.0) diff --git a/apps/ssr-tests/package.json b/apps/ssr-tests/package.json index acb4863ea0a508..26a6197a870274 100644 --- a/apps/ssr-tests/package.json +++ b/apps/ssr-tests/package.json @@ -13,11 +13,11 @@ }, "license": "MIT", "devDependencies": { - "@fluentui/react": "^8.22.0", + "@fluentui/react": "^8.23.2", "@microsoft/load-themed-styles": "^1.10.26", "@types/mocha": "^7.0.2", "@fluentui/scripts": "^1.0.0", - "@fluentui/public-docsite-resources": "^8.1.36", + "@fluentui/public-docsite-resources": "^8.1.41", "just-scripts-utils": "^1.1.1", "mocha": "^7.1.2", "react": "16.8.6", diff --git a/apps/test-bundles/CHANGELOG.json b/apps/test-bundles/CHANGELOG.json index 0ecbaaeeb7db2e..6656e81af68a94 100644 --- a/apps/test-bundles/CHANGELOG.json +++ b/apps/test-bundles/CHANGELOG.json @@ -1,6 +1,21 @@ { "name": "test-bundles", "entries": [ + { + "date": "Fri, 09 Jul 2021 07:39:31 GMT", + "tag": "test-bundles_v1.0.0", + "version": "1.0.0", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/eslint-plugin to v1.3.2", + "author": "martinhochel@microsoft.com", + "commit": "18902eb64710aa6253a79781357b8390bb13665c", + "package": "test-bundles" + } + ] + } + }, { "date": "Mon, 07 Jun 2021 07:38:15 GMT", "tag": "test-bundles_v1.0.0", diff --git a/apps/test-bundles/CHANGELOG.md b/apps/test-bundles/CHANGELOG.md index 66a4838e9a01a2..7bd5f69a830cec 100644 --- a/apps/test-bundles/CHANGELOG.md +++ b/apps/test-bundles/CHANGELOG.md @@ -1,11 +1,20 @@ # Change Log - test-bundles -This log was last generated on Mon, 07 Jun 2021 07:38:15 GMT and should not be manually modified. +This log was last generated on Fri, 09 Jul 2021 07:39:31 GMT and should not be manually modified. ## [1.0.0](https://github.com/microsoft/fluentui/tree/test-bundles_v1.0.0) +Fri, 09 Jul 2021 07:39:31 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/test-bundles_v1.0.0..test-bundles_v1.0.0) + +### Patches + +- Bump @fluentui/eslint-plugin to v1.3.2 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/test-bundles_v1.0.0) + Mon, 07 Jun 2021 07:38:15 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/test-bundles_v1.0.0..test-bundles_v1.0.0) diff --git a/apps/test-bundles/package.json b/apps/test-bundles/package.json index 98a81e5dc797c4..3e423d325aaba0 100644 --- a/apps/test-bundles/package.json +++ b/apps/test-bundles/package.json @@ -10,12 +10,9 @@ "code-style": "just-scripts code-style", "just": "just-scripts" }, - "dependencies": { - "@fluentui/eslint-plugin": "^1.3.1", + "devDependencies": { + "@fluentui/eslint-plugin": "^1.3.2", "@fluentui/scripts": "^1.0.0", - "fs-extra": "^8.1.0", - "parallel-webpack": "^2.6.0", - "webpack-bundle-analyzer": "^4.4.0", - "terser-webpack-plugin": "^5.1.1" + "parallel-webpack": "^2.6.0" } } diff --git a/apps/theming-designer/CHANGELOG.json b/apps/theming-designer/CHANGELOG.json index e168f9906c11e1..2aae0884e51688 100644 --- a/apps/theming-designer/CHANGELOG.json +++ b/apps/theming-designer/CHANGELOG.json @@ -1,6 +1,111 @@ { "name": "theming-designer", "entries": [ + { + "date": "Wed, 14 Jul 2021 07:28:19 GMT", + "tag": "theming-designer_v1.0.0", + "version": "1.0.0", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/react to v8.23.2", + "author": "makopch@microsoft.com", + "commit": "54d610936b6670ecfe3c1577ed779af25c27ef3e", + "package": "theming-designer" + } + ] + } + }, + { + "date": "Tue, 13 Jul 2021 22:32:58 GMT", + "tag": "theming-designer_v1.0.0", + "version": "1.0.0", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/react to v8.23.1", + "author": "behowell@microsoft.com", + "commit": "035ba0498cee783b11b31dffa0cbf595b73d6ec8", + "package": "theming-designer" + } + ] + } + }, + { + "date": "Tue, 13 Jul 2021 07:35:36 GMT", + "tag": "theming-designer_v1.0.0", + "version": "1.0.0", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/react to v8.23.0", + "author": "tmichon@microsoft.com", + "commit": "c9c64e89dc89e1f2abd145d132bb0624c40bd4ed", + "package": "theming-designer" + } + ] + } + }, + { + "date": "Mon, 12 Jul 2021 07:33:23 GMT", + "tag": "theming-designer_v1.0.0", + "version": "1.0.0", + "comments": { + "none": [ + { + "comment": "Bump @fluentui/react to v8.22.3", + "author": "Humberto.Morimoto@microsoft.com", + "commit": "394b16b92fae7773125c32edc1df56c7758cba4e", + "package": "theming-designer" + } + ] + } + }, + { + "date": "Fri, 09 Jul 2021 07:39:31 GMT", + "tag": "theming-designer_v1.0.0", + "version": "1.0.0", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/eslint-plugin to v1.3.2", + "author": "martinhochel@microsoft.com", + "commit": "18902eb64710aa6253a79781357b8390bb13665c", + "package": "theming-designer" + } + ] + } + }, + { + "date": "Thu, 08 Jul 2021 07:32:49 GMT", + "tag": "theming-designer_v1.0.0", + "version": "1.0.0", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/react to v8.22.2", + "author": "sarah.higley@microsoft.com", + "commit": "6b7dca368ae9ce805f8c9663ebbb6018024f8b8b", + "package": "theming-designer" + } + ] + } + }, + { + "date": "Wed, 07 Jul 2021 07:32:54 GMT", + "tag": "theming-designer_v1.0.0", + "version": "1.0.0", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/react to v8.22.1", + "author": "sarah.higley@microsoft.com", + "commit": "9babbdb459a85f5ec7640b35e921d17a675f7856", + "package": "theming-designer" + } + ] + } + }, { "date": "Thu, 01 Jul 2021 07:35:05 GMT", "tag": "theming-designer_v1.0.0", diff --git a/apps/theming-designer/CHANGELOG.md b/apps/theming-designer/CHANGELOG.md index 070535e41d41e7..ba214d565aae5f 100644 --- a/apps/theming-designer/CHANGELOG.md +++ b/apps/theming-designer/CHANGELOG.md @@ -1,11 +1,65 @@ # Change Log - theming-designer -This log was last generated on Thu, 01 Jul 2021 07:35:05 GMT and should not be manually modified. +This log was last generated on Wed, 14 Jul 2021 07:28:19 GMT and should not be manually modified. ## [1.0.0](https://github.com/microsoft/fluentui/tree/theming-designer_v1.0.0) +Wed, 14 Jul 2021 07:28:19 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/theming-designer_v1.0.0..theming-designer_v1.0.0) + +### Patches + +- Bump @fluentui/react to v8.23.2 ([PR #18853](https://github.com/microsoft/fluentui/pull/18853) by makopch@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/theming-designer_v1.0.0) + +Tue, 13 Jul 2021 22:32:58 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/theming-designer_v1.0.0..theming-designer_v1.0.0) + +### Patches + +- Bump @fluentui/react to v8.23.1 ([PR #18890](https://github.com/microsoft/fluentui/pull/18890) by behowell@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/theming-designer_v1.0.0) + +Tue, 13 Jul 2021 07:35:36 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/theming-designer_v1.0.0..theming-designer_v1.0.0) + +### Patches + +- Bump @fluentui/react to v8.23.0 ([PR #18802](https://github.com/microsoft/fluentui/pull/18802) by tmichon@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/theming-designer_v1.0.0) + +Fri, 09 Jul 2021 07:39:31 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/theming-designer_v1.0.0..theming-designer_v1.0.0) + +### Patches + +- Bump @fluentui/eslint-plugin to v1.3.2 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/theming-designer_v1.0.0) + +Thu, 08 Jul 2021 07:32:49 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/theming-designer_v1.0.0..theming-designer_v1.0.0) + +### Patches + +- Bump @fluentui/react to v8.22.2 ([PR #18771](https://github.com/microsoft/fluentui/pull/18771) by sarah.higley@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/theming-designer_v1.0.0) + +Wed, 07 Jul 2021 07:32:54 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/theming-designer_v1.0.0..theming-designer_v1.0.0) + +### Patches + +- Bump @fluentui/react to v8.22.1 ([PR #18825](https://github.com/microsoft/fluentui/pull/18825) by sarah.higley@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/theming-designer_v1.0.0) + Thu, 01 Jul 2021 07:35:05 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/theming-designer_v1.0.0..theming-designer_v1.0.0) diff --git a/apps/theming-designer/package.json b/apps/theming-designer/package.json index 9ec274e79ad00c..afaeaf657418be 100644 --- a/apps/theming-designer/package.json +++ b/apps/theming-designer/package.json @@ -14,19 +14,19 @@ "start": "just-scripts dev" }, "devDependencies": { - "@fluentui/eslint-plugin": "^1.3.1", + "@fluentui/eslint-plugin": "^1.3.2", "@types/react": "16.9.42", "@types/react-dom": "16.9.10", "@fluentui/scripts": "^1.0.0" }, "dependencies": { - "@fluentui/react": "^8.22.0", - "@fluentui/merge-styles": "^8.1.2", - "@fluentui/react-docsite-components": "^8.2.31", - "@fluentui/foundation-legacy": "^8.1.4", - "@fluentui/scheme-utilities": "^8.1.3", - "@fluentui/set-version": "^8.1.2", - "@fluentui/font-icons-mdl2": "^8.1.4", + "@fluentui/react": "^8.23.2", + "@fluentui/merge-styles": "^8.1.3", + "@fluentui/react-docsite-components": "^8.2.37", + "@fluentui/foundation-legacy": "^8.1.6", + "@fluentui/scheme-utilities": "^8.1.4", + "@fluentui/set-version": "^8.1.3", + "@fluentui/font-icons-mdl2": "^8.1.6", "@microsoft/load-themed-styles": "^1.10.26", "react": "16.8.6", "react-dom": "16.8.6", diff --git a/apps/todo-app/CHANGELOG.json b/apps/todo-app/CHANGELOG.json index 27414be4104717..e5cf6adc7e6acf 100644 --- a/apps/todo-app/CHANGELOG.json +++ b/apps/todo-app/CHANGELOG.json @@ -1,6 +1,111 @@ { "name": "todo-app", "entries": [ + { + "date": "Wed, 14 Jul 2021 07:28:19 GMT", + "tag": "todo-app_v1.0.0", + "version": "1.0.0", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/react to v8.23.2", + "author": "makopch@microsoft.com", + "commit": "54d610936b6670ecfe3c1577ed779af25c27ef3e", + "package": "todo-app" + } + ] + } + }, + { + "date": "Tue, 13 Jul 2021 22:32:58 GMT", + "tag": "todo-app_v1.0.0", + "version": "1.0.0", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/react to v8.23.1", + "author": "behowell@microsoft.com", + "commit": "035ba0498cee783b11b31dffa0cbf595b73d6ec8", + "package": "todo-app" + } + ] + } + }, + { + "date": "Tue, 13 Jul 2021 07:35:36 GMT", + "tag": "todo-app_v1.0.0", + "version": "1.0.0", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/react to v8.23.0", + "author": "tmichon@microsoft.com", + "commit": "c9c64e89dc89e1f2abd145d132bb0624c40bd4ed", + "package": "todo-app" + } + ] + } + }, + { + "date": "Mon, 12 Jul 2021 07:33:23 GMT", + "tag": "todo-app_v1.0.0", + "version": "1.0.0", + "comments": { + "none": [ + { + "comment": "Bump @fluentui/react to v8.22.3", + "author": "Humberto.Morimoto@microsoft.com", + "commit": "394b16b92fae7773125c32edc1df56c7758cba4e", + "package": "todo-app" + } + ] + } + }, + { + "date": "Fri, 09 Jul 2021 07:39:31 GMT", + "tag": "todo-app_v1.0.0", + "version": "1.0.0", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/eslint-plugin to v1.3.2", + "author": "martinhochel@microsoft.com", + "commit": "18902eb64710aa6253a79781357b8390bb13665c", + "package": "todo-app" + } + ] + } + }, + { + "date": "Thu, 08 Jul 2021 07:32:49 GMT", + "tag": "todo-app_v1.0.0", + "version": "1.0.0", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/react to v8.22.2", + "author": "sarah.higley@microsoft.com", + "commit": "6b7dca368ae9ce805f8c9663ebbb6018024f8b8b", + "package": "todo-app" + } + ] + } + }, + { + "date": "Wed, 07 Jul 2021 07:32:54 GMT", + "tag": "todo-app_v1.0.0", + "version": "1.0.0", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/react to v8.22.1", + "author": "sarah.higley@microsoft.com", + "commit": "9babbdb459a85f5ec7640b35e921d17a675f7856", + "package": "todo-app" + } + ] + } + }, { "date": "Thu, 01 Jul 2021 07:35:05 GMT", "tag": "todo-app_v1.0.0", diff --git a/apps/todo-app/CHANGELOG.md b/apps/todo-app/CHANGELOG.md index d354e3f8e0b22f..a3e1c1635ca10d 100644 --- a/apps/todo-app/CHANGELOG.md +++ b/apps/todo-app/CHANGELOG.md @@ -1,11 +1,65 @@ # Change Log - todo-app -This log was last generated on Thu, 01 Jul 2021 07:35:05 GMT and should not be manually modified. +This log was last generated on Wed, 14 Jul 2021 07:28:19 GMT and should not be manually modified. ## [1.0.0](https://github.com/microsoft/fluentui/tree/todo-app_v1.0.0) +Wed, 14 Jul 2021 07:28:19 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/todo-app_v1.0.0..todo-app_v1.0.0) + +### Patches + +- Bump @fluentui/react to v8.23.2 ([PR #18853](https://github.com/microsoft/fluentui/pull/18853) by makopch@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/todo-app_v1.0.0) + +Tue, 13 Jul 2021 22:32:58 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/todo-app_v1.0.0..todo-app_v1.0.0) + +### Patches + +- Bump @fluentui/react to v8.23.1 ([PR #18890](https://github.com/microsoft/fluentui/pull/18890) by behowell@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/todo-app_v1.0.0) + +Tue, 13 Jul 2021 07:35:36 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/todo-app_v1.0.0..todo-app_v1.0.0) + +### Patches + +- Bump @fluentui/react to v8.23.0 ([PR #18802](https://github.com/microsoft/fluentui/pull/18802) by tmichon@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/todo-app_v1.0.0) + +Fri, 09 Jul 2021 07:39:31 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/todo-app_v1.0.0..todo-app_v1.0.0) + +### Patches + +- Bump @fluentui/eslint-plugin to v1.3.2 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/todo-app_v1.0.0) + +Thu, 08 Jul 2021 07:32:49 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/todo-app_v1.0.0..todo-app_v1.0.0) + +### Patches + +- Bump @fluentui/react to v8.22.2 ([PR #18771](https://github.com/microsoft/fluentui/pull/18771) by sarah.higley@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/todo-app_v1.0.0) + +Wed, 07 Jul 2021 07:32:54 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/todo-app_v1.0.0..todo-app_v1.0.0) + +### Patches + +- Bump @fluentui/react to v8.22.1 ([PR #18825](https://github.com/microsoft/fluentui/pull/18825) by sarah.higley@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/todo-app_v1.0.0) + Thu, 01 Jul 2021 07:35:05 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/todo-app_v1.0.0..todo-app_v1.0.0) diff --git a/apps/todo-app/package.json b/apps/todo-app/package.json index c1373613c04174..c51ea9f0c3e85d 100644 --- a/apps/todo-app/package.json +++ b/apps/todo-app/package.json @@ -12,14 +12,14 @@ "start": "just-scripts dev" }, "devDependencies": { - "@fluentui/eslint-plugin": "^1.3.1", + "@fluentui/eslint-plugin": "^1.3.2", "@types/es6-promise": "0.0.32", "@types/react": "16.9.42", "@types/react-dom": "16.9.10", "@fluentui/scripts": "^1.0.0" }, "dependencies": { - "@fluentui/react": "^8.22.0", + "@fluentui/react": "^8.23.2", "@microsoft/load-themed-styles": "^1.10.26", "es6-promise": "^4.1.0", "immutability-helper": "~2.8.1", diff --git a/apps/vr-tests/CHANGELOG.json b/apps/vr-tests/CHANGELOG.json index f29b064fe08865..6bf1cbf0fc9e92 100644 --- a/apps/vr-tests/CHANGELOG.json +++ b/apps/vr-tests/CHANGELOG.json @@ -1,6 +1,440 @@ { "name": "vr-tests", "entries": [ + { + "date": "Wed, 14 Jul 2021 07:28:19 GMT", + "tag": "vr-tests_v1.0.0", + "version": "1.0.0", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/react to v8.23.2", + "author": "makopch@microsoft.com", + "commit": "54d610936b6670ecfe3c1577ed779af25c27ef3e", + "package": "vr-tests" + } + ], + "prerelease": [ + { + "comment": "Bump @fluentui/react-tabs to v1.0.0-beta.125", + "author": "makopch@microsoft.com", + "commit": "54d610936b6670ecfe3c1577ed779af25c27ef3e", + "package": "vr-tests" + } + ] + } + }, + { + "date": "Tue, 13 Jul 2021 22:32:58 GMT", + "tag": "vr-tests_v1.0.0", + "version": "1.0.0", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/react to v8.23.1", + "author": "behowell@microsoft.com", + "commit": "035ba0498cee783b11b31dffa0cbf595b73d6ec8", + "package": "vr-tests" + } + ], + "prerelease": [ + { + "comment": "Bump @fluentui/react-tabs to v1.0.0-beta.124", + "author": "elcraig@microsoft.com", + "commit": "12b74625dec55bd1919f6370513043d87705e5ea", + "package": "vr-tests" + }, + { + "comment": "Bump @fluentui/react-accordion to v9.0.0-alpha.51", + "author": "elcraig@microsoft.com", + "commit": "12b74625dec55bd1919f6370513043d87705e5ea", + "package": "vr-tests" + }, + { + "comment": "Bump @fluentui/react-avatar to v9.0.0-alpha.55", + "author": "elcraig@microsoft.com", + "commit": "12b74625dec55bd1919f6370513043d87705e5ea", + "package": "vr-tests" + }, + { + "comment": "Bump @fluentui/react-button to v9.0.0-alpha.59", + "author": "elcraig@microsoft.com", + "commit": "12b74625dec55bd1919f6370513043d87705e5ea", + "package": "vr-tests" + }, + { + "comment": "Bump @fluentui/react-divider to v9.0.0-alpha.44", + "author": "elcraig@microsoft.com", + "commit": "12b74625dec55bd1919f6370513043d87705e5ea", + "package": "vr-tests" + }, + { + "comment": "Bump @fluentui/react-label to v9.0.0-alpha.17", + "author": "esteban.230@hotmail.com", + "commit": "581fa8873bf58aea67d21498172f9adc04672499", + "package": "vr-tests" + }, + { + "comment": "Bump @fluentui/react-link to v9.0.0-alpha.57", + "author": "elcraig@microsoft.com", + "commit": "12b74625dec55bd1919f6370513043d87705e5ea", + "package": "vr-tests" + }, + { + "comment": "Bump @fluentui/react-provider to v9.0.0-alpha.55", + "author": "elcraig@microsoft.com", + "commit": "12b74625dec55bd1919f6370513043d87705e5ea", + "package": "vr-tests" + } + ], + "none": [ + { + "comment": "Bump @fluentui/storybook to v1.0.0", + "author": "elcraig@microsoft.com", + "commit": "12b74625dec55bd1919f6370513043d87705e5ea", + "package": "vr-tests" + } + ] + } + }, + { + "date": "Tue, 13 Jul 2021 07:35:36 GMT", + "tag": "vr-tests_v1.0.0", + "version": "1.0.0", + "comments": { + "prerelease": [ + { + "comment": "Bump @fluentui/babel-make-styles to v9.0.0-alpha.24", + "author": "behowell@microsoft.com", + "commit": "8e5969e291bcafac21df12c9fb591bdd5654c613", + "package": "vr-tests" + }, + { + "comment": "Bump @fluentui/react-accordion to v9.0.0-alpha.50", + "author": "behowell@microsoft.com", + "commit": "8e5969e291bcafac21df12c9fb591bdd5654c613", + "package": "vr-tests" + }, + { + "comment": "Bump @fluentui/react-avatar to v9.0.0-alpha.54", + "author": "behowell@microsoft.com", + "commit": "8e5969e291bcafac21df12c9fb591bdd5654c613", + "package": "vr-tests" + }, + { + "comment": "Bump @fluentui/react-button to v9.0.0-alpha.58", + "author": "behowell@microsoft.com", + "commit": "8e5969e291bcafac21df12c9fb591bdd5654c613", + "package": "vr-tests" + }, + { + "comment": "Bump @fluentui/react-divider to v9.0.0-alpha.43", + "author": "behowell@microsoft.com", + "commit": "8e5969e291bcafac21df12c9fb591bdd5654c613", + "package": "vr-tests" + }, + { + "comment": "Bump @fluentui/react-link to v9.0.0-alpha.56", + "author": "behowell@microsoft.com", + "commit": "8e5969e291bcafac21df12c9fb591bdd5654c613", + "package": "vr-tests" + }, + { + "comment": "Bump @fluentui/react-label to v9.0.0-alpha.16", + "author": "behowell@microsoft.com", + "commit": "8e5969e291bcafac21df12c9fb591bdd5654c613", + "package": "vr-tests" + }, + { + "comment": "Bump @fluentui/react-provider to v9.0.0-alpha.54", + "author": "behowell@microsoft.com", + "commit": "8e5969e291bcafac21df12c9fb591bdd5654c613", + "package": "vr-tests" + }, + { + "comment": "Bump @fluentui/react-tabs to v1.0.0-beta.123", + "author": "tmichon@microsoft.com", + "commit": "c9c64e89dc89e1f2abd145d132bb0624c40bd4ed", + "package": "vr-tests" + }, + { + "comment": "Bump @fluentui/react-make-styles to v9.0.0-alpha.48", + "author": "behowell@microsoft.com", + "commit": "8e5969e291bcafac21df12c9fb591bdd5654c613", + "package": "vr-tests" + }, + { + "comment": "Bump @fluentui/react-card to v9.0.0-alpha.0", + "author": "behowell@microsoft.com", + "commit": "8e5969e291bcafac21df12c9fb591bdd5654c613", + "package": "vr-tests" + } + ], + "patch": [ + { + "comment": "Bump @fluentui/react to v8.23.0", + "author": "tmichon@microsoft.com", + "commit": "c9c64e89dc89e1f2abd145d132bb0624c40bd4ed", + "package": "vr-tests" + } + ] + } + }, + { + "date": "Mon, 12 Jul 2021 07:33:23 GMT", + "tag": "vr-tests_v1.0.0", + "version": "1.0.0", + "comments": { + "prerelease": [ + { + "comment": "Bump @fluentui/react-accordion to v9.0.0-alpha.49", + "author": "bsunderhus@microsoft.com", + "commit": "b77307bb8ec2b07db583fda8367b73911598b4f6", + "package": "vr-tests" + }, + { + "comment": "Bump @fluentui/react-button to v9.0.0-alpha.57", + "author": "Humberto.Morimoto@microsoft.com", + "commit": "394b16b92fae7773125c32edc1df56c7758cba4e", + "package": "vr-tests" + }, + { + "comment": "Bump @fluentui/react-link to v9.0.0-alpha.55", + "author": "Humberto.Morimoto@microsoft.com", + "commit": "394b16b92fae7773125c32edc1df56c7758cba4e", + "package": "vr-tests" + } + ] + } + }, + { + "date": "Fri, 09 Jul 2021 07:39:31 GMT", + "tag": "vr-tests_v1.0.0", + "version": "1.0.0", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/eslint-plugin to v1.3.2", + "author": "martinhochel@microsoft.com", + "commit": "18902eb64710aa6253a79781357b8390bb13665c", + "package": "vr-tests" + } + ], + "prerelease": [ + { + "comment": "Bump @fluentui/react-button to v9.0.0-alpha.56", + "author": "martinhochel@microsoft.com", + "commit": "18902eb64710aa6253a79781357b8390bb13665c", + "package": "vr-tests" + }, + { + "comment": "Bump @fluentui/react-link to v9.0.0-alpha.54", + "author": "martinhochel@microsoft.com", + "commit": "18902eb64710aa6253a79781357b8390bb13665c", + "package": "vr-tests" + }, + { + "comment": "Bump @fluentui/babel-make-styles to v9.0.0-alpha.23", + "author": "martinhochel@microsoft.com", + "commit": "18902eb64710aa6253a79781357b8390bb13665c", + "package": "vr-tests" + }, + { + "comment": "Bump @fluentui/react-accordion to v9.0.0-alpha.48", + "author": "martinhochel@microsoft.com", + "commit": "18902eb64710aa6253a79781357b8390bb13665c", + "package": "vr-tests" + }, + { + "comment": "Bump @fluentui/react-avatar to v9.0.0-alpha.53", + "author": "martinhochel@microsoft.com", + "commit": "18902eb64710aa6253a79781357b8390bb13665c", + "package": "vr-tests" + }, + { + "comment": "Bump @fluentui/react-divider to v9.0.0-alpha.42", + "author": "martinhochel@microsoft.com", + "commit": "18902eb64710aa6253a79781357b8390bb13665c", + "package": "vr-tests" + }, + { + "comment": "Bump @fluentui/react-tabs to v1.0.0-beta.122", + "author": "martinhochel@microsoft.com", + "commit": "18902eb64710aa6253a79781357b8390bb13665c", + "package": "vr-tests" + }, + { + "comment": "Bump @fluentui/react-card to v9.0.0-alpha.0", + "author": "martinhochel@microsoft.com", + "commit": "18902eb64710aa6253a79781357b8390bb13665c", + "package": "vr-tests" + }, + { + "comment": "Bump @fluentui/react-label to v9.0.0-alpha.15", + "author": "martinhochel@microsoft.com", + "commit": "18902eb64710aa6253a79781357b8390bb13665c", + "package": "vr-tests" + }, + { + "comment": "Bump @fluentui/react-provider to v9.0.0-alpha.53", + "author": "martinhochel@microsoft.com", + "commit": "18902eb64710aa6253a79781357b8390bb13665c", + "package": "vr-tests" + }, + { + "comment": "Bump @fluentui/react-make-styles to v9.0.0-alpha.47", + "author": "martinhochel@microsoft.com", + "commit": "18902eb64710aa6253a79781357b8390bb13665c", + "package": "vr-tests" + }, + { + "comment": "Bump @fluentui/react-theme to v9.0.0-alpha.17", + "author": "martinhochel@microsoft.com", + "commit": "18902eb64710aa6253a79781357b8390bb13665c", + "package": "vr-tests" + } + ], + "none": [ + { + "comment": "Bump @fluentui/storybook to v1.0.0", + "author": "martinhochel@microsoft.com", + "commit": "18902eb64710aa6253a79781357b8390bb13665c", + "package": "vr-tests" + } + ] + } + }, + { + "date": "Thu, 08 Jul 2021 07:32:49 GMT", + "tag": "vr-tests_v1.0.0", + "version": "1.0.0", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/react to v8.22.2", + "author": "sarah.higley@microsoft.com", + "commit": "6b7dca368ae9ce805f8c9663ebbb6018024f8b8b", + "package": "vr-tests" + } + ], + "prerelease": [ + { + "comment": "Bump @fluentui/react-tabs to v1.0.0-beta.121", + "author": "sarah.higley@microsoft.com", + "commit": "6b7dca368ae9ce805f8c9663ebbb6018024f8b8b", + "package": "vr-tests" + } + ] + } + }, + { + "date": "Wed, 07 Jul 2021 07:32:54 GMT", + "tag": "vr-tests_v1.0.0", + "version": "1.0.0", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/react to v8.22.1", + "author": "sarah.higley@microsoft.com", + "commit": "9babbdb459a85f5ec7640b35e921d17a675f7856", + "package": "vr-tests" + } + ], + "prerelease": [ + { + "comment": "Bump @fluentui/react-tabs to v1.0.0-beta.120", + "author": "sarah.higley@microsoft.com", + "commit": "9babbdb459a85f5ec7640b35e921d17a675f7856", + "package": "vr-tests" + } + ] + } + }, + { + "date": "Fri, 02 Jul 2021 23:15:55 GMT", + "tag": "vr-tests_v1.0.0", + "version": "1.0.0", + "comments": { + "prerelease": [ + { + "comment": "Bump @fluentui/babel-make-styles to v9.0.0-alpha.22", + "author": "olfedias@microsoft.com", + "commit": "936b45148b58d15c9c843f0503f7bdf12b9da4e9", + "package": "vr-tests" + }, + { + "comment": "Bump @fluentui/react-accordion to v9.0.0-alpha.47", + "author": "olfedias@microsoft.com", + "commit": "936b45148b58d15c9c843f0503f7bdf12b9da4e9", + "package": "vr-tests" + }, + { + "comment": "Bump @fluentui/react-avatar to v9.0.0-alpha.52", + "author": "olfedias@microsoft.com", + "commit": "936b45148b58d15c9c843f0503f7bdf12b9da4e9", + "package": "vr-tests" + }, + { + "comment": "Bump @fluentui/react-button to v9.0.0-alpha.55", + "author": "olfedias@microsoft.com", + "commit": "936b45148b58d15c9c843f0503f7bdf12b9da4e9", + "package": "vr-tests" + }, + { + "comment": "Bump @fluentui/react-divider to v9.0.0-alpha.41", + "author": "olfedias@microsoft.com", + "commit": "936b45148b58d15c9c843f0503f7bdf12b9da4e9", + "package": "vr-tests" + }, + { + "comment": "Bump @fluentui/react-link to v9.0.0-alpha.53", + "author": "olfedias@microsoft.com", + "commit": "936b45148b58d15c9c843f0503f7bdf12b9da4e9", + "package": "vr-tests" + }, + { + "comment": "Bump @fluentui/react-card to v9.0.0-alpha.0", + "author": "bsunderhus@microsoft.com", + "commit": "6c37a1cb5c312d4be8b239bfd9f6c9f28e9f0d24", + "package": "vr-tests" + }, + { + "comment": "Bump @fluentui/react-label to v9.0.0-alpha.14", + "author": "bsunderhus@microsoft.com", + "commit": "6c37a1cb5c312d4be8b239bfd9f6c9f28e9f0d24", + "package": "vr-tests" + }, + { + "comment": "Bump @fluentui/react-make-styles to v9.0.0-alpha.46", + "author": "bsunderhus@microsoft.com", + "commit": "6c37a1cb5c312d4be8b239bfd9f6c9f28e9f0d24", + "package": "vr-tests" + }, + { + "comment": "Bump @fluentui/react-provider to v9.0.0-alpha.52", + "author": "bsunderhus@microsoft.com", + "commit": "6c37a1cb5c312d4be8b239bfd9f6c9f28e9f0d24", + "package": "vr-tests" + } + ], + "patch": [ + { + "comment": "Bump @fluentui/react-experiments to v8.1.34", + "author": "jaredi@microsoft.com", + "commit": "dc5027fffb57cdbb6cf4bf12da4a1fd98c7a3e15", + "package": "vr-tests" + } + ], + "none": [ + { + "comment": "Bump @fluentui/storybook to v1.0.0", + "author": "bsunderhus@microsoft.com", + "commit": "6c37a1cb5c312d4be8b239bfd9f6c9f28e9f0d24", + "package": "vr-tests" + } + ] + } + }, { "date": "Fri, 02 Jul 2021 07:37:06 GMT", "tag": "vr-tests_v1.0.0", diff --git a/apps/vr-tests/CHANGELOG.md b/apps/vr-tests/CHANGELOG.md index 842792188a70c3..08431a39b18e09 100644 --- a/apps/vr-tests/CHANGELOG.md +++ b/apps/vr-tests/CHANGELOG.md @@ -1,11 +1,150 @@ # Change Log - vr-tests -This log was last generated on Fri, 02 Jul 2021 07:37:06 GMT and should not be manually modified. +This log was last generated on Wed, 14 Jul 2021 07:28:19 GMT and should not be manually modified. ## [1.0.0](https://github.com/microsoft/fluentui/tree/vr-tests_v1.0.0) +Wed, 14 Jul 2021 07:28:19 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/vr-tests_v1.0.0..vr-tests_v1.0.0) + +### Patches + +- Bump @fluentui/react to v8.23.2 ([PR #18853](https://github.com/microsoft/fluentui/pull/18853) by makopch@microsoft.com) + +### Changes + +- Bump @fluentui/react-tabs to v1.0.0-beta.125 ([PR #18853](https://github.com/microsoft/fluentui/pull/18853) by makopch@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/vr-tests_v1.0.0) + +Tue, 13 Jul 2021 22:32:58 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/vr-tests_v1.0.0..vr-tests_v1.0.0) + +### Patches + +- Bump @fluentui/react to v8.23.1 ([PR #18890](https://github.com/microsoft/fluentui/pull/18890) by behowell@microsoft.com) + +### Changes + +- Bump @fluentui/react-tabs to v1.0.0-beta.124 ([PR #18925](https://github.com/microsoft/fluentui/pull/18925) by elcraig@microsoft.com) +- Bump @fluentui/react-accordion to v9.0.0-alpha.51 ([PR #18925](https://github.com/microsoft/fluentui/pull/18925) by elcraig@microsoft.com) +- Bump @fluentui/react-avatar to v9.0.0-alpha.55 ([PR #18925](https://github.com/microsoft/fluentui/pull/18925) by elcraig@microsoft.com) +- Bump @fluentui/react-button to v9.0.0-alpha.59 ([PR #18925](https://github.com/microsoft/fluentui/pull/18925) by elcraig@microsoft.com) +- Bump @fluentui/react-divider to v9.0.0-alpha.44 ([PR #18925](https://github.com/microsoft/fluentui/pull/18925) by elcraig@microsoft.com) +- Bump @fluentui/react-label to v9.0.0-alpha.17 ([PR #18889](https://github.com/microsoft/fluentui/pull/18889) by esteban.230@hotmail.com) +- Bump @fluentui/react-link to v9.0.0-alpha.57 ([PR #18925](https://github.com/microsoft/fluentui/pull/18925) by elcraig@microsoft.com) +- Bump @fluentui/react-provider to v9.0.0-alpha.55 ([PR #18925](https://github.com/microsoft/fluentui/pull/18925) by elcraig@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/vr-tests_v1.0.0) + +Tue, 13 Jul 2021 07:35:36 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/vr-tests_v1.0.0..vr-tests_v1.0.0) + +### Patches + +- Bump @fluentui/react to v8.23.0 ([PR #18802](https://github.com/microsoft/fluentui/pull/18802) by tmichon@microsoft.com) + +### Changes + +- Bump @fluentui/babel-make-styles to v9.0.0-alpha.24 ([PR #18560](https://github.com/microsoft/fluentui/pull/18560) by behowell@microsoft.com) +- Bump @fluentui/react-accordion to v9.0.0-alpha.50 ([PR #18560](https://github.com/microsoft/fluentui/pull/18560) by behowell@microsoft.com) +- Bump @fluentui/react-avatar to v9.0.0-alpha.54 ([PR #18560](https://github.com/microsoft/fluentui/pull/18560) by behowell@microsoft.com) +- Bump @fluentui/react-button to v9.0.0-alpha.58 ([PR #18560](https://github.com/microsoft/fluentui/pull/18560) by behowell@microsoft.com) +- Bump @fluentui/react-divider to v9.0.0-alpha.43 ([PR #18560](https://github.com/microsoft/fluentui/pull/18560) by behowell@microsoft.com) +- Bump @fluentui/react-link to v9.0.0-alpha.56 ([PR #18560](https://github.com/microsoft/fluentui/pull/18560) by behowell@microsoft.com) +- Bump @fluentui/react-label to v9.0.0-alpha.16 ([PR #18560](https://github.com/microsoft/fluentui/pull/18560) by behowell@microsoft.com) +- Bump @fluentui/react-provider to v9.0.0-alpha.54 ([PR #18560](https://github.com/microsoft/fluentui/pull/18560) by behowell@microsoft.com) +- Bump @fluentui/react-tabs to v1.0.0-beta.123 ([PR #18802](https://github.com/microsoft/fluentui/pull/18802) by tmichon@microsoft.com) +- Bump @fluentui/react-make-styles to v9.0.0-alpha.48 ([PR #18560](https://github.com/microsoft/fluentui/pull/18560) by behowell@microsoft.com) +- Bump @fluentui/react-card to v9.0.0-alpha.0 ([PR #18560](https://github.com/microsoft/fluentui/pull/18560) by behowell@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/vr-tests_v1.0.0) + +Mon, 12 Jul 2021 07:33:23 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/vr-tests_v1.0.0..vr-tests_v1.0.0) + +### Changes + +- Bump @fluentui/react-accordion to v9.0.0-alpha.49 ([PR #18879](https://github.com/microsoft/fluentui/pull/18879) by bsunderhus@microsoft.com) +- Bump @fluentui/react-button to v9.0.0-alpha.57 ([PR #18563](https://github.com/microsoft/fluentui/pull/18563) by Humberto.Morimoto@microsoft.com) +- Bump @fluentui/react-link to v9.0.0-alpha.55 ([PR #18563](https://github.com/microsoft/fluentui/pull/18563) by Humberto.Morimoto@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/vr-tests_v1.0.0) + +Fri, 09 Jul 2021 07:39:31 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/vr-tests_v1.0.0..vr-tests_v1.0.0) + +### Patches + +- Bump @fluentui/eslint-plugin to v1.3.2 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com) + +### Changes + +- Bump @fluentui/react-button to v9.0.0-alpha.56 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com) +- Bump @fluentui/react-link to v9.0.0-alpha.54 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com) +- Bump @fluentui/babel-make-styles to v9.0.0-alpha.23 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com) +- Bump @fluentui/react-accordion to v9.0.0-alpha.48 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com) +- Bump @fluentui/react-avatar to v9.0.0-alpha.53 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com) +- Bump @fluentui/react-divider to v9.0.0-alpha.42 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com) +- Bump @fluentui/react-tabs to v1.0.0-beta.122 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com) +- Bump @fluentui/react-card to v9.0.0-alpha.0 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com) +- Bump @fluentui/react-label to v9.0.0-alpha.15 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com) +- Bump @fluentui/react-provider to v9.0.0-alpha.53 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com) +- Bump @fluentui/react-make-styles to v9.0.0-alpha.47 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com) +- Bump @fluentui/react-theme to v9.0.0-alpha.17 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/vr-tests_v1.0.0) + +Thu, 08 Jul 2021 07:32:49 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/vr-tests_v1.0.0..vr-tests_v1.0.0) + +### Patches + +- Bump @fluentui/react to v8.22.2 ([PR #18771](https://github.com/microsoft/fluentui/pull/18771) by sarah.higley@microsoft.com) + +### Changes + +- Bump @fluentui/react-tabs to v1.0.0-beta.121 ([PR #18771](https://github.com/microsoft/fluentui/pull/18771) by sarah.higley@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/vr-tests_v1.0.0) + +Wed, 07 Jul 2021 07:32:54 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/vr-tests_v1.0.0..vr-tests_v1.0.0) + +### Patches + +- Bump @fluentui/react to v8.22.1 ([PR #18825](https://github.com/microsoft/fluentui/pull/18825) by sarah.higley@microsoft.com) + +### Changes + +- Bump @fluentui/react-tabs to v1.0.0-beta.120 ([PR #18825](https://github.com/microsoft/fluentui/pull/18825) by sarah.higley@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/vr-tests_v1.0.0) + +Fri, 02 Jul 2021 23:15:55 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/vr-tests_v1.0.0..vr-tests_v1.0.0) + +### Patches + +- Bump @fluentui/react-experiments to v8.1.34 ([PR #18766](https://github.com/microsoft/fluentui/pull/18766) by jaredi@microsoft.com) + +### Changes + +- Bump @fluentui/babel-make-styles to v9.0.0-alpha.22 ([PR #18816](https://github.com/microsoft/fluentui/pull/18816) by olfedias@microsoft.com) +- Bump @fluentui/react-accordion to v9.0.0-alpha.47 ([PR #18816](https://github.com/microsoft/fluentui/pull/18816) by olfedias@microsoft.com) +- Bump @fluentui/react-avatar to v9.0.0-alpha.52 ([PR #18816](https://github.com/microsoft/fluentui/pull/18816) by olfedias@microsoft.com) +- Bump @fluentui/react-button to v9.0.0-alpha.55 ([PR #18816](https://github.com/microsoft/fluentui/pull/18816) by olfedias@microsoft.com) +- Bump @fluentui/react-divider to v9.0.0-alpha.41 ([PR #18816](https://github.com/microsoft/fluentui/pull/18816) by olfedias@microsoft.com) +- Bump @fluentui/react-link to v9.0.0-alpha.53 ([PR #18816](https://github.com/microsoft/fluentui/pull/18816) by olfedias@microsoft.com) +- Bump @fluentui/react-card to v9.0.0-alpha.0 ([PR #18721](https://github.com/microsoft/fluentui/pull/18721) by bsunderhus@microsoft.com) +- Bump @fluentui/react-label to v9.0.0-alpha.14 ([PR #18721](https://github.com/microsoft/fluentui/pull/18721) by bsunderhus@microsoft.com) +- Bump @fluentui/react-make-styles to v9.0.0-alpha.46 ([PR #18721](https://github.com/microsoft/fluentui/pull/18721) by bsunderhus@microsoft.com) +- Bump @fluentui/react-provider to v9.0.0-alpha.52 ([PR #18721](https://github.com/microsoft/fluentui/pull/18721) by bsunderhus@microsoft.com) + +## [1.0.0](https://github.com/microsoft/fluentui/tree/vr-tests_v1.0.0) + Fri, 02 Jul 2021 07:37:06 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/vr-tests_v1.0.0..vr-tests_v1.0.0) diff --git a/apps/vr-tests/package.json b/apps/vr-tests/package.json index ba7e6008adc416..7db2e7950c7578 100644 --- a/apps/vr-tests/package.json +++ b/apps/vr-tests/package.json @@ -15,25 +15,25 @@ "start": "start-storybook --port 5555" }, "dependencies": { - "@fluentui/babel-make-styles": "^9.0.0-alpha.21", - "@fluentui/eslint-plugin": "^1.3.1", - "@fluentui/example-data": "^8.2.3", - "@fluentui/font-icons-mdl2": "^8.1.4", - "@fluentui/react": "^8.22.0", - "@fluentui/react-accordion": "^9.0.0-alpha.46", - "@fluentui/react-avatar": "^9.0.0-alpha.51", - "@fluentui/react-button": "^9.0.0-alpha.54", + "@fluentui/babel-make-styles": "^9.0.0-alpha.24", + "@fluentui/eslint-plugin": "^1.3.2", + "@fluentui/example-data": "^8.2.4", + "@fluentui/font-icons-mdl2": "^8.1.6", + "@fluentui/react": "^8.23.2", + "@fluentui/react-accordion": "^9.0.0-alpha.51", + "@fluentui/react-avatar": "^9.0.0-alpha.55", + "@fluentui/react-button": "^9.0.0-alpha.59", "@fluentui/react-card": "^9.0.0-alpha.0", - "@fluentui/react-experiments": "^8.1.33", - "@fluentui/react-divider": "^9.0.0-alpha.40", - "@fluentui/react-hooks": "^8.2.3", - "@fluentui/react-icons-mdl2": "^1.1.4", - "@fluentui/react-label": "^9.0.0-alpha.13", - "@fluentui/react-link": "^9.0.0-alpha.52", - "@fluentui/react-make-styles": "^9.0.0-alpha.45", - "@fluentui/react-provider": "^9.0.0-alpha.51", - "@fluentui/react-tabs": "^1.0.0-beta.119", - "@fluentui/react-theme": "^9.0.0-alpha.16", + "@fluentui/react-experiments": "^8.1.40", + "@fluentui/react-divider": "^9.0.0-alpha.44", + "@fluentui/react-hooks": "^8.2.4", + "@fluentui/react-icons-mdl2": "^1.1.6", + "@fluentui/react-label": "^9.0.0-alpha.17", + "@fluentui/react-link": "^9.0.0-alpha.57", + "@fluentui/react-make-styles": "^9.0.0-alpha.48", + "@fluentui/react-provider": "^9.0.0-alpha.55", + "@fluentui/react-tabs": "^1.0.0-beta.125", + "@fluentui/react-theme": "^9.0.0-alpha.17", "@fluentui/scripts": "^1.0.0", "@fluentui/storybook": "^1.0.0", "@storybook/addons": "6.0.28", @@ -41,16 +41,10 @@ "@storybook/react": "6.0.28", "@types/react": "16.9.42", "@types/react-dom": "16.9.10", - "babel-loader": "8.2.2", - "css-loader": "5.0.1", "csstype": "^2.6.7", - "file-loader": "6.2.0", - "postcss-loader": "4.1.0", - "raw-loader": "4.0.2", "react": "16.8.6", "react-dom": "16.8.6", "screener-storybook": "0.21.2", - "style-loader": "2.0.0", "tslib": "^2.1.0" } } diff --git a/apps/vr-tests/src/stories/Accordion.stories.tsx b/apps/vr-tests/src/stories/Accordion.stories.tsx index dad1a33cf600ed..b854136b54a3af 100644 --- a/apps/vr-tests/src/stories/Accordion.stories.tsx +++ b/apps/vr-tests/src/stories/Accordion.stories.tsx @@ -71,13 +71,13 @@ storiesOf('Accordion', module) )) .addStory('expandIconPosition="end"', () => ( - + - Opened + Opened Visible Panel - Closed + Closed Hidden Panel diff --git a/apps/vr-tests/src/stories/ReactButton.stories.tsx b/apps/vr-tests/src/stories/ReactButton.stories.tsx index 109d5f694b9004..d77b34321f81df 100644 --- a/apps/vr-tests/src/stories/ReactButton.stories.tsx +++ b/apps/vr-tests/src/stories/ReactButton.stories.tsx @@ -1,105 +1,134 @@ import { storiesOf } from '@storybook/react'; import * as React from 'react'; import Screener from 'screener-storybook/src/screener'; -import { - Button, - ButtonProps, - CompoundButton, - ToggleButton, - MenuButton, -} from '@fluentui/react-button'; +import { Button, CompoundButton, ToggleButton, MenuButton } from '@fluentui/react-button'; -import { FluentProviderDecorator, FabricDecorator } from '../utilities/index'; +import { + FabricDecorator, + FabricDecoratorFullWidth, + FluentProviderDecorator, +} from '../utilities/index'; -// TODO: this is here while waiting for react-icons to merge -const SVGIcon = () => ( - - ( + - - - -); -const SizeExample = ({ size }: ButtonProps) => ( - <> -

{size || '(default)'}

- - ) + .addStory('Circular', () => ) + .addStory('Outline', () => ) + .addStory('Primary', () => ) + .addStory('Subtle', () => ) + .addStory('Transparent', () => ) + .addStory('Disabled', () => ) + .addStory('Outline Disabled', () => ( + + )) + .addStory('Primary Disabled', () => ( + + )) + .addStory('Subtle Disabled', () => ( + + )) + .addStory('Transparent Disabled', () => ( + + )) + .addStory('Size small', () => ( + - - - ) + .addStory('With icon after content', () => ( + - -); + )) + .addStory('Icon only', () => ) - .addStory('Text only long', () => ( - + .addStory('Default', () => ) + .addStory('Circular', () => ( + )) - .addStory('Icon with text', () => ( - <> - - - + .addStory('Outline', () => ( + )) - - .addStory('Icon only', () => + )) + .addStory('Subtle', () => ( + + )) + .addStory('Transparent', () => ( + )) - - .addStory('Primary', () => ) - .addStory('Subtle', () => ) - .addStory('Transparent', () => ) .addStory('Disabled', () => ( - <> - - - + + )) + .addStory('Size small', () => ( + + )) + .addStory('Size large', () => ( + )); storiesOf('react-button CompoundButton', module) @@ -122,6 +151,16 @@ storiesOf('react-button CompoundButton', module) .addStory('Default', () => ( Hello, world )) + .addStory('Circular', () => ( + + Hello, world + + )) + .addStory('Outline', () => ( + + Hello, world + + )) .addStory('Primary', () => ( Hello, world @@ -142,6 +181,11 @@ storiesOf('react-button CompoundButton', module) Hello, world )) + .addStory('Outline Disabled', () => ( + + Hello, world + + )) .addStory('Primary Disabled', () => ( Hello, world @@ -157,6 +201,16 @@ storiesOf('react-button CompoundButton', module) Hello, world )) + .addStory('Size small', () => ( + + Hello, world + + )) + .addStory('Size large', () => ( + + Hello, world + + )) .addStory('With icon before content', () => ( Hello, world @@ -167,17 +221,71 @@ storiesOf('react-button CompoundButton', module) Hello, world )) + .addStory('Icon only', () => ) + .addStory('Circular and icon only', () => ); + +storiesOf('react-button CompoundButton - Block', module) + .addDecorator(FabricDecoratorFullWidth) + .addDecorator(FluentProviderDecorator) + .addDecorator(story => ( + + {story()} + + )) + .addStory('Default', () => ( + + Hello, world + + )) + .addStory('Circular', () => ( + + Hello, world + + )) + .addStory('Outline', () => ( + + Hello, world + + )) + .addStory('Primary', () => ( + + Hello, world + + )) + .addStory('Subtle', () => ( + + Hello, world + + )) + .addStory('Transparent', () => ( + + Hello, world + + )) + .addStory('Disabled', () => ( + + Hello, world + + )) .addStory('Size small', () => ( - + Hello, world )) .addStory('Size large', () => ( - + Hello, world - )) - .addStory('Icon only', () => ); + )); storiesOf('react-button ToggleButton', module) .addDecorator(FabricDecorator) @@ -197,6 +305,8 @@ storiesOf('react-button ToggleButton', module) )) .addStory('Default', () => Hello, world) + .addStory('Circular', () => Hello, world) + .addStory('Outline', () => Hello, world) .addStory('Primary', () => Hello, world) .addStory('Subtle', () => Hello, world) .addStory('Transparent', () => Hello, world) @@ -216,40 +326,116 @@ storiesOf('react-button ToggleButton', module) Hello, world )) + .addStory('Size small', () => ( + + Hello, world + + )) + .addStory('Size large', () => ( + + Hello, world + + )) .addStory('With icon before content', () => Hello, world) .addStory('With icon after content', () => ( Hello, world )) + .addStory('Icon only', () => ) + .addStory('Circular and icon only', () => ) + .addStory('Checked', () => Hello, world) + .addStory('Primary Checked', () => ( + + Hello, world + + )) + .addStory('Subtle Checked', () => ( + + Hello, world + + )) + .addStory('Transparent Checked', () => ( + + Hello, world + + )); + +storiesOf('react-button ToggleButton - Block', module) + .addDecorator(FabricDecoratorFullWidth) + .addDecorator(FluentProviderDecorator) + .addDecorator(story => ( + + {story()} + + )) + .addStory('Default', () => Hello, world) + .addStory('Circular', () => ( + + Hello, world + + )) + .addStory('Outline', () => ( + + Hello, world + + )) + .addStory('Primary', () => ( + + Hello, world + + )) + .addStory('Subtle', () => ( + + Hello, world + + )) + .addStory('Transparent', () => ( + + Hello, world + + )) + .addStory('Disabled', () => ( + + Hello, world + + )) .addStory('Size small', () => ( - + Hello, world )) .addStory('Size large', () => ( - + Hello, world )) - .addStory('Icon only', () => ) .addStory('Checked', () => ( - + Hello, world )) .addStory('Primary Checked', () => ( - + Hello, world )) .addStory('Subtle Checked', () => ( - + Hello, world )) .addStory('Transparent Checked', () => ( - + Hello, world )); @@ -272,10 +458,17 @@ storiesOf('react-button MenuButton', module) )) .addStory('Default', () => Hello, world) + .addStory('Circular', () => Hello, world) + .addStory('Outline', () => Hello, world) .addStory('Primary', () => Hello, world) .addStory('Subtle', () => Hello, world) .addStory('Transparent', () => Hello, world) .addStory('Disabled', () => Hello, world) + .addStory('Outline Disabled', () => ( + + Hello, world + + )) .addStory('Primary Disabled', () => ( Hello, world @@ -291,7 +484,6 @@ storiesOf('react-button MenuButton', module) Hello, world )) - .addStory('With icon', () => Hello, world) .addStory('Size small', () => ( Hello, world @@ -302,4 +494,65 @@ storiesOf('react-button MenuButton', module) Hello, world )) - .addStory('Icon only', () => ); + .addStory('With icon', () => Hello, world) + .addStory('Icon only', () => ) + .addStory('Circular and icon only', () => ); + +storiesOf('react-button MenuButton - Block', module) + .addDecorator(FabricDecoratorFullWidth) + .addDecorator(FluentProviderDecorator) + .addDecorator(story => ( + + {story()} + + )) + .addStory('Default', () => Hello, world) + .addStory('Circular', () => ( + + Hello, world + + )) + .addStory('Outline', () => ( + + Hello, world + + )) + .addStory('Primary', () => ( + + Hello, world + + )) + .addStory('Subtle', () => ( + + Hello, world + + )) + .addStory('Transparent', () => ( + + Hello, world + + )) + .addStory('Disabled', () => ( + + Hello, world + + )) + .addStory('Size small', () => ( + + Hello, world + + )) + .addStory('Size large', () => ( + + Hello, world + + )); diff --git a/azure-pipelines.bundlesize.yml b/azure-pipelines.bundlesize.yml index e9d302fdb83f59..51081e0f86fb2a 100644 --- a/azure-pipelines.bundlesize.yml +++ b/azure-pipelines.bundlesize.yml @@ -5,9 +5,54 @@ trigger: - master variables: + - ${{ if not(startsWith(variables['Build.SourceBranch'], 'refs/heads/')) }}: + - name: sinceArg + value: --since $(targetBranch) + - template: .devops/templates/variables.yml jobs: + - job: bundlesize + workspace: + clean: all + pool: 'Self Host Ubuntu' + steps: + - template: .devops/templates/tools.yml + + - task: Bash@3 + inputs: + filePath: yarn-ci.sh + displayName: yarn + + - script: | + yarn lage bundle-size --no-cache --verbose $(sinceArg) + displayName: build packages & create reports + + - script: | + yarn bundle-size compare-reports --branch=$(System.PullRequest.TargetBranch) --output=markdown --verbose + displayName: compare bundle size with base (PR only) + condition: eq(variables.isPR, true) + + - task: GithubPRComment@0 + displayName: Post results to PR (PR only) + condition: eq(variables.isPR, true) + inputs: + githubOwner: microsoft + githubRepo: 'fluentui' + blobFilePath: 'packages/bundle-size/dist/bundle-size.md' + status: 'success' + uniqueId: 'bundleSizeComment9423' + + - script: | + yarn bundle-size upload-report --branch=$(Build.SourceBranchName) --commit-sha $(Build.SourceVersion) + displayName: upload a report (base only) + condition: eq(variables.isPR, false) + env: + # https://docs.microsoft.com/en-us/azure/devops/pipelines/process/variables?view=azure-devops&tabs=yaml%2Cbatch#secret-variables + BUNDLESIZE_ACCOUNT_KEY: $(bundlesize-account-key) + + - template: .devops/templates/cleanup.yml + - job: build_react workspace: clean: all diff --git a/azure-pipelines.perf-test.yml b/azure-pipelines.perf-test.yml index 2e3832c575c2a7..b1dca9572653d1 100644 --- a/azure-pipelines.perf-test.yml +++ b/azure-pipelines.perf-test.yml @@ -30,14 +30,14 @@ steps: # @fluentui/perf-test Baseline - script: | yarn perf:test:base - condition: not(variables.isPR) + condition: eq(variables.isPR, false) workingDirectory: packages/fluentui/perf-test displayName: Perf Test Base (Fluent) # @fluentui/perf-test PR - script: | yarn perf:test - condition: variables.isPR + condition: eq(variables.isPR, true) workingDirectory: packages/fluentui/perf-test displayName: Perf Test (Fluent) @@ -76,18 +76,18 @@ steps: - script: | yarn stats:build - condition: not(variables.isPR) + condition: eq(variables.isPR, false) displayName: Bundle Statistics (master only) - script: | yarn perf - condition: not(variables.isPR) + condition: eq(variables.isPR, false) displayName: Performance Tests (master only) # HEADS UP: also see tag-version-prefix in fluentui-publish.js - script: | yarn stats:save --tag=`git tag --points-at HEAD | grep ^@fluentui/react-northstar_v | grep -o 'northstar_v.*'` - condition: not(variables.isPR) + condition: eq(variables.isPR, false) displayName: Save Statistics to DB (master only) env: STATS_URI: $(STATS_URI) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 9013a8348b04e8..c58b3a3a16a0cd 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -49,7 +49,7 @@ jobs: - script: | yarn danger ci displayName: danger - condition: variables.isPR + condition: eq(variables.isPR, true) env: DANGER_GITHUB_API_TOKEN: $(DANGER_GITHUB_API_TOKEN) @@ -90,11 +90,6 @@ jobs: SourcePath: 'apps/pr-deploy-site/dist' storage: $(azureStorage) - # only run e2e tests when converged storybook is published by scoping to the converged suite package - - script: | - yarn e2e $(sinceArg) --scope @fluentui/react-components - displayName: Cypress E2E tests - - task: GithubPRStatus@0 displayName: 'Update PR deploy site github status' inputs: @@ -105,6 +100,11 @@ jobs: # This MUST have a trailing slash, or the links to PR deploy site assets won't work githubTargetLink: $(deployUrl)/ + # only run e2e tests when converged storybook is published by scoping to the converged suite package + - script: | + yarn e2e $(sinceArg) --scope @fluentui/react-components + displayName: Cypress E2E tests + - template: .devops/templates/cleanup.yml - job: ScreenerNorthstar diff --git a/change/@fluentui-babel-make-styles-7135d933-ff17-4a52-82b3-c445affe6aff.json b/change/@fluentui-babel-make-styles-7135d933-ff17-4a52-82b3-c445affe6aff.json deleted file mode 100644 index 5520c134643c30..00000000000000 --- a/change/@fluentui-babel-make-styles-7135d933-ff17-4a52-82b3-c445affe6aff.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "type": "prerelease", - "comment": "fix: update regex for rules", - "packageName": "@fluentui/babel-make-styles", - "email": "olfedias@microsoft.com", - "dependentChangeType": "patch" -} diff --git a/change/@fluentui-react-accordion-0b135005-6cc1-41a0-a5de-6215eb218e8a.json b/change/@fluentui-react-accordion-0b135005-6cc1-41a0-a5de-6215eb218e8a.json new file mode 100644 index 00000000000000..d868d961c61682 --- /dev/null +++ b/change/@fluentui-react-accordion-0b135005-6cc1-41a0-a5de-6215eb218e8a.json @@ -0,0 +1,7 @@ +{ + "type": "prerelease", + "comment": "Fix react-accordion due to changes on slots typings", + "packageName": "@fluentui/react-accordion", + "email": "bsunderhus@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@fluentui-react-aria-1f16cbec-6a5c-441c-b31e-aba2558004cf.json b/change/@fluentui-react-aria-1f16cbec-6a5c-441c-b31e-aba2558004cf.json new file mode 100644 index 00000000000000..026a277a10c5f1 --- /dev/null +++ b/change/@fluentui-react-aria-1f16cbec-6a5c-441c-b31e-aba2558004cf.json @@ -0,0 +1,7 @@ +{ + "type": "prerelease", + "comment": "Fix react-aria due to changes on slots typings", + "packageName": "@fluentui/react-aria", + "email": "bsunderhus@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@fluentui-react-context-selector-2cb4962b-d3d6-4f87-b2a9-4e25b1b03d8c.json b/change/@fluentui-react-context-selector-2cb4962b-d3d6-4f87-b2a9-4e25b1b03d8c.json new file mode 100644 index 00000000000000..70a538001735a5 --- /dev/null +++ b/change/@fluentui-react-context-selector-2cb4962b-d3d6-4f87-b2a9-4e25b1b03d8c.json @@ -0,0 +1,7 @@ +{ + "type": "prerelease", + "comment": "feat(useHasParentContext): new hook to determine if a context provider exists as parent", + "packageName": "@fluentui/react-context-selector", + "email": "lingfan.gao@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@fluentui-react-experiments-f402a4b0-8f89-4d61-9387-3a2ecca05c8c.json b/change/@fluentui-react-experiments-f402a4b0-8f89-4d61-9387-3a2ecca05c8c.json deleted file mode 100644 index 5912a3093a3a06..00000000000000 --- a/change/@fluentui-react-experiments-f402a4b0-8f89-4d61-9387-3a2ecca05c8c.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "type": "patch", - "comment": "don't exit if the user clicked on any part of the picker", - "packageName": "@fluentui/react-experiments", - "email": "jaredi@microsoft.com", - "dependentChangeType": "patch" -} diff --git a/change/@fluentui-react-menu-efe68e60-8877-4b34-8414-8686209e89b1.json b/change/@fluentui-react-menu-efe68e60-8877-4b34-8414-8686209e89b1.json new file mode 100644 index 00000000000000..0430e19faef315 --- /dev/null +++ b/change/@fluentui-react-menu-efe68e60-8877-4b34-8414-8686209e89b1.json @@ -0,0 +1,7 @@ +{ + "type": "prerelease", + "comment": "feat(Menu): remove parent context flags with new hook", + "packageName": "@fluentui/react-menu", + "email": "lingfan.gao@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@fluentui-react-popover-1ab7c5b3-ccb4-4378-936d-078d8f794f0d.json b/change/@fluentui-react-popover-1ab7c5b3-ccb4-4378-936d-078d8f794f0d.json deleted file mode 100644 index 854c66dda9e6a9..00000000000000 --- a/change/@fluentui-react-popover-1ab7c5b3-ccb4-4378-936d-078d8f794f0d.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "type": "none", - "comment": "Add E2E test for updating content in Popover", - "packageName": "@fluentui/react-popover", - "email": "lingfan.gao@microsoft.com", - "dependentChangeType": "none" -} diff --git a/change/@fluentui-react-popover-bc78ecd6-737f-4918-a194-1e54e3645c5a.json b/change/@fluentui-react-popover-bc78ecd6-737f-4918-a194-1e54e3645c5a.json new file mode 100644 index 00000000000000..42f440c87c3504 --- /dev/null +++ b/change/@fluentui-react-popover-bc78ecd6-737f-4918-a194-1e54e3645c5a.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "chore(react-popover): apply controls setup based on SB authoring RFC", + "packageName": "@fluentui/react-popover", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-text-159922e7-615e-44ef-87d2-395a206ce8ef.json b/change/@fluentui-react-text-159922e7-615e-44ef-87d2-395a206ce8ef.json deleted file mode 100644 index 9dd4fdae0864f6..00000000000000 --- a/change/@fluentui-react-text-159922e7-615e-44ef-87d2-395a206ce8ef.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "type": "none", - "comment": "react-text scaffolding", - "packageName": "@fluentui/react-text", - "email": "andredias@microsoft.com", - "dependentChangeType": "none" -} diff --git a/change/@fluentui-react-text-7d0596ae-35b5-4421-ad38-da76aa46d9ab.json b/change/@fluentui-react-text-7d0596ae-35b5-4421-ad38-da76aa46d9ab.json deleted file mode 100644 index 58975b642bb16f..00000000000000 --- a/change/@fluentui-react-text-7d0596ae-35b5-4421-ad38-da76aa46d9ab.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "type": "none", - "comment": "Add converged Text spec", - "packageName": "@fluentui/react-text", - "email": "andredias@microsoft.com", - "dependentChangeType": "none" -} diff --git a/change/@fluentui-react-utilities-9ad70a44-bc51-4fc6-9145-2a5dd01c742c.json b/change/@fluentui-react-utilities-6021096a-5846-499b-a218-b2aeab1e7738.json similarity index 72% rename from change/@fluentui-react-utilities-9ad70a44-bc51-4fc6-9145-2a5dd01c742c.json rename to change/@fluentui-react-utilities-6021096a-5846-499b-a218-b2aeab1e7738.json index 0f609c892e5e9a..958fbc984b8360 100644 --- a/change/@fluentui-react-utilities-9ad70a44-bc51-4fc6-9145-2a5dd01c742c.json +++ b/change/@fluentui-react-utilities-6021096a-5846-499b-a218-b2aeab1e7738.json @@ -1,6 +1,6 @@ { "type": "prerelease", - "comment": "Add new prop mergin mechanism", + "comment": "Fix bugs on getSlots to follow with RFC", "packageName": "@fluentui/react-utilities", "email": "bsunderhus@microsoft.com", "dependentChangeType": "patch" diff --git a/change/@fluentui-react-utilities-a1c6f7ff-afdf-4517-876b-8a60bed328a9.json b/change/@fluentui-react-utilities-a1c6f7ff-afdf-4517-876b-8a60bed328a9.json deleted file mode 100644 index c54f219366f71c..00000000000000 --- a/change/@fluentui-react-utilities-a1c6f7ff-afdf-4517-876b-8a60bed328a9.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "type": "prerelease", - "comment": "chore(Menu): use capture event to handle outside click", - "packageName": "@fluentui/react-utilities", - "email": "lingfan.gao@microsoft.com", - "dependentChangeType": "patch" -} diff --git a/jest.config.js b/jest.config.js index de98bad7a90f46..8ca66de67dcc50 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,6 +1,7 @@ module.exports = { projects: [ '/tools', + '/packages/bundle-size', '/packages/react-menu', '/packages/react-storybook', '/packages/react-accordion', @@ -25,5 +26,8 @@ module.exports = { '/packages/react-theme', '/packages/react-badge', '/packages/react-button', + '/packages/keyboard-keys', + '/packages/react-slider', + '/packages/make-styles-webpack-loader', ], }; diff --git a/lage.config.js b/lage.config.js index a725b7441263fe..0d34698a4fb999 100644 --- a/lage.config.js +++ b/lage.config.js @@ -4,6 +4,7 @@ module.exports = { build: ['^build'], 'build:info': [], bundle: ['build'], + 'bundle-size': ['build'], 'bundle:storybook': ['build'], 'screener:build': [], screener: ['screener:build'], diff --git a/lint-staged.config.js b/lint-staged.config.js index 2d2e236d4a447b..50482cb3a985d8 100644 --- a/lint-staged.config.js +++ b/lint-staged.config.js @@ -7,7 +7,5 @@ module.exports = { // - respect ignore files (which eslint doesn't do by default when passed a specific file path) // - match the set of files that are linted by the package's normal `lint` command // - Prettier must be run in sequence after eslint since both of them can modify files - // TODO: Once web-components prettier is updated, revert the config to this single line: - // '*': ['node ./scripts/lint-staged/eslint', 'prettier --write'], - '{apps,scripts,tools,packages/!(web-components)}/**/*': ['node ./scripts/lint-staged/eslint', 'prettier --write'], + '*': ['node ./scripts/lint-staged/eslint', 'prettier --write'], }; diff --git a/nx.json b/nx.json index acf8ebd4070228..e94911fea2cbd9 100644 --- a/nx.json +++ b/nx.json @@ -30,7 +30,7 @@ "@fluentui/api-docs": { "implicitDependencies": [] }, "@fluentui/azure-themes": { "implicitDependencies": [] }, "@fluentui/babel-make-styles": { "tags": ["vNext", "platform:node"], "implicitDependencies": [] }, - "@fluentui/bundle-size": { "implicitDependencies": [] }, + "@fluentui/bundle-size": { "tags": ["platform:node"], "implicitDependencies": [] }, "@fluentui/codemods": { "implicitDependencies": [] }, "@fluentui/common-styles": { "implicitDependencies": [] }, "@fluentui/cra-template": { "implicitDependencies": [] }, @@ -108,7 +108,6 @@ "@fluentui/react-positioning": { "tags": ["vNext"], "implicitDependencies": [] }, "@fluentui/react-provider": { "tags": ["vNext", "platform:web"], "implicitDependencies": [] }, "@fluentui/react-shared-contexts": { "implicitDependencies": [] }, - "@fluentui/react-slider": { "implicitDependencies": [] }, "@fluentui/react-storybook": { "implicitDependencies": [] }, "@fluentui/react-tabs": { "implicitDependencies": [] }, "@fluentui/react-tabster": { "tags": ["vNext", "platform:web"], "implicitDependencies": [] }, @@ -132,6 +131,9 @@ "@fluentui/react-label": { "tags": ["vNext", "platform:web"], "implicitDependencies": [] }, "@fluentui/react-popover": { "tags": ["vNext", "platform:web"], "implicitDependencies": [] }, "nx-workspace-tools": { "tags": [] }, - "@fluentui/react-aria": { "tags": ["vNext"], "implicitDependencies": [] } + "@fluentui/react-aria": { "tags": ["vNext"], "implicitDependencies": [] }, + "@fluentui/keyboard-keys": { "tags": ["vNext", "platform:web"], "implicitDependencies": [] }, + "@fluentui/react-slider": { "tags": ["vNext", "platform:web"], "implicitDependencies": [] }, + "@fluentui/make-styles-webpack-loader": { "tags": ["vNext", "platform:node"], "implicitDependencies": [] } } } diff --git a/package.json b/package.json index 1814ac1350c4c6..26ea299820728a 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "copy-notices": "node scripts/copy-notices.js", "create-component": "plop --plopfile ./scripts/create-component/create-component.ts --dest . --require ./scripts/ts-node-register", "create-package": "plop --plopfile ./scripts/create-package/plopfile.ts --dest . --require ./scripts/ts-node-register", - "e2e": "lage e2e --verbose --mode run", + "e2e": "lage e2e --verbose --concurrency=1 --mode run", "format": "node scripts/format.js", "generate-version-files": "yarn workspace @fluentui/scripts just generate-version-files", "graph": "node ./scripts/dependency-graph-generator/index.js", @@ -73,9 +73,10 @@ }, "devDependencies": { "@angular-devkit/schematics": "12.0.2", + "@azure/data-tables": "12.0.0-beta.3", "@babel/core": "7.12.16", "@ctrl/tinycolor": "3.3.4", - "@microsoft/api-extractor": "7.13.0", + "@microsoft/api-extractor": "7.18.1", "@nrwl/cli": "12.1.0", "@nrwl/devkit": "12.1.0", "@nrwl/jest": "12.1.0", @@ -96,10 +97,15 @@ "@testing-library/react": "10.4.9", "@testing-library/react-hooks": "5.0.3", "@types/copy-webpack-plugin": "6.4.0", + "@types/express": "4.17.2", + "@types/eslint": "7.2.13", + "@types/fs-extra": "8.0.1", "@types/glob": "7.1.1", "@types/jest": "24.9.1", "@types/jest-axe": "3.2.2", + "@types/jju": "1.4.1", "@types/node": "10.17.55", + "@types/node-fetch": "2.5.7", "@types/prettier": "2.2.3", "@types/react": "16.9.42", "@types/react-dom": "16.9.10", @@ -108,10 +114,17 @@ "@types/webpack-dev-middleware": "4.1.0", "@types/webpack-env": "1.16.0", "@types/yargs": "13.0.11", + "@typescript-eslint/eslint-plugin": "4.22.0", + "@typescript-eslint/experimental-utils": "4.22.0", + "@typescript-eslint/parser": "4.22.0", "ajv": "8.4.0", + "autoprefixer": "10.2.1", "babel-plugin-annotate-pure-calls": "0.4.0", + "babel-jest": "24.9.0", + "babel-loader": "8.2.2", "beachball": "1.53.1", "chalk": "4.1.0", + "ci-info": "3.2.0", "cli-table3": "0.6.0", "copy-webpack-plugin": "8.1.0", "cross-env": "^5.1.4", @@ -123,11 +136,24 @@ "del": "6.0.0", "eslint": "7.25.0", "eslint-plugin-es": "4.1.0", + "eslint-plugin-import": "2.22.1", + "eslint-config-airbnb": "18.2.1", + "eslint-config-prettier": "8.3.0", + "eslint-import-resolver-typescript": "2.4.0", + "eslint-plugin-deprecation": "1.2.1", + "eslint-plugin-jest": "23.13.2", + "eslint-plugin-jsx-a11y": "6.4.1", + "eslint-plugin-react": "7.24.0", + "eslint-plugin-react-hooks": "4.2.0", + "express": "4.17.1", "file-loader": "6.2.0", + "fork-ts-checker-webpack-plugin": "6.1.0", + "fs-extra": "8.1.0", "glob": "7.1.6", "gulp": "^4.0.2", "gzip-size": "6.0.0", "html-webpack-plugin": "5.1.0", + "clean-webpack-plugin": "3.0.0", "imports-loader": "1.2.0", "jest": "24.9.0", "jest-axe": "3.3.0", @@ -135,12 +161,14 @@ "jest-environment-jsdom": "24.9.0", "jest-watch-typeahead": "0.4.2", "just-scripts": "1.3.1", + "jju": "1.4.0", "lage": "0.27.0", "lerna": "^3.21.0", "lint-staged": "^10.2.9", - "postcss": "8.2.4", + "node-fetch": "2.6.1", + "postcss": "8.2.10", "postcss-loader": "4.1.0", - "postcss-modules": "2.0.0", + "postcss-modules": "4.1.3", "prettier": "2.2.1", "pretty-bytes": "5.6.0", "raw-loader": "4.0.2", @@ -149,21 +177,25 @@ "satisfied": "^1.1.1", "semver": "^6.2.0", "storybook-addon-performance": "0.14.0", + "strip-ansi": "6.0.0", "style-loader": "2.0.0", - "syncpack": "^5.6.10", - "terser": "5.5.1", + "syncpack": "5.6.10", + "tsconfig-paths": "3.9.0", + "terser": "5.7.1", + "terser-webpack-plugin": "5.1.4", "tmp": "0.2.1", "ts-jest": "24.3.0", "ts-loader": "8.0.14", "tsconfig-paths-webpack-plugin": "3.5.1", "tslib": "2.2.0", "typescript": "4.1.5", - "webpack": "5.21.2", + "webpack": "5.44.0", "webpack-bundle-analyzer": "4.4.2", "webpack-cli": "4.3.1", "webpack-dev-middleware": "4.2.0", "webpack-dev-server": "4.0.0-beta.0", "webpack-hot-middleware": "2.25.0", + "workspace-tools": "0.12.3", "yargs": "13.3.2" }, "license": "MIT", @@ -193,11 +225,12 @@ ] }, "resolutions": { - "@types/react": "16.9.42", - "@types/react-dom": "16.9.10", + "@microsoft/api-extractor/typescript": "4.1.5", "@typescript-eslint/eslint-plugin": "4.22.0", "@typescript-eslint/experimental-utils": "4.22.0", "@typescript-eslint/parser": "4.22.0", + "@types/react": "16.9.42", + "@types/react-dom": "16.9.10", "eslint": "^7.1.0", "//": "pretty-format contains typing only supported by TS 3.8+ remove when support in this repo is available", "@testing-library/dom": "7.22.3", @@ -221,9 +254,24 @@ ], "dependencies": [ "@babel/core", + "@typescript-eslint/eslint-plugin", + "@typescript-eslint/experimental-utils", + "@typescript-eslint/parser", "chalk", + "eslint-config-airbnb", + "eslint-config-prettier", + "eslint-import-resolver-typescript", + "eslint-plugin-deprecation", + "eslint-plugin-import", + "eslint-plugin-jest", + "eslint-plugin-jsx-a11y", + "eslint-plugin-react", + "eslint-plugin-react-hooks", + "fs-extra", "glob", + "jju", "tslib", + "terser-webpack-plugin", "webpack-bundle-analyzer" ] }, @@ -233,11 +281,9 @@ ], "dependencies": [ "mocha", - "prettier", "ts-loader", "ts-node", "tslib", - "typescript", "webpack" ] }, diff --git a/packages/a11y-testing/CHANGELOG.json b/packages/a11y-testing/CHANGELOG.json index 52e9532795e72e..41413943274203 100644 --- a/packages/a11y-testing/CHANGELOG.json +++ b/packages/a11y-testing/CHANGELOG.json @@ -1,6 +1,21 @@ { "name": "@fluentui/a11y-testing", "entries": [ + { + "date": "Fri, 09 Jul 2021 07:39:31 GMT", + "tag": "@fluentui/a11y-testing_v0.1.0", + "version": "0.1.0", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/eslint-plugin to v1.3.2", + "author": "martinhochel@microsoft.com", + "commit": "18902eb64710aa6253a79781357b8390bb13665c", + "package": "@fluentui/a11y-testing" + } + ] + } + }, { "date": "Mon, 07 Jun 2021 07:38:15 GMT", "tag": "@fluentui/a11y-testing_v0.1.0", diff --git a/packages/a11y-testing/CHANGELOG.md b/packages/a11y-testing/CHANGELOG.md index d86ca73b5e4446..1ac44b43f164e6 100644 --- a/packages/a11y-testing/CHANGELOG.md +++ b/packages/a11y-testing/CHANGELOG.md @@ -1,11 +1,20 @@ # Change Log - @fluentui/a11y-testing -This log was last generated on Mon, 07 Jun 2021 07:38:15 GMT and should not be manually modified. +This log was last generated on Fri, 09 Jul 2021 07:39:31 GMT and should not be manually modified. ## [0.1.0](https://github.com/microsoft/fluentui/tree/@fluentui/a11y-testing_v0.1.0) +Fri, 09 Jul 2021 07:39:31 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/a11y-testing_v0.1.0..@fluentui/a11y-testing_v0.1.0) + +### Patches + +- Bump @fluentui/eslint-plugin to v1.3.2 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com) + +## [0.1.0](https://github.com/microsoft/fluentui/tree/@fluentui/a11y-testing_v0.1.0) + Mon, 07 Jun 2021 07:38:15 GMT [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/a11y-testing_v0.1.0..@fluentui/a11y-testing_v0.1.0) diff --git a/packages/a11y-testing/package.json b/packages/a11y-testing/package.json index 4299b29b52a5de..a15ce92ee4318d 100644 --- a/packages/a11y-testing/package.json +++ b/packages/a11y-testing/package.json @@ -18,7 +18,7 @@ "lint": "just-scripts lint" }, "devDependencies": { - "@fluentui/eslint-plugin": "^1.3.1", + "@fluentui/eslint-plugin": "^1.3.2", "@types/enzyme": "3.10.3", "@types/react": "16.9.42", "@fluentui/scripts": "^1.0.0", diff --git a/packages/api-docs/CHANGELOG.json b/packages/api-docs/CHANGELOG.json index 7690af76f738b0..1484f416df2be5 100644 --- a/packages/api-docs/CHANGELOG.json +++ b/packages/api-docs/CHANGELOG.json @@ -1,6 +1,119 @@ { "name": "@fluentui/api-docs", "entries": [ + { + "date": "Wed, 14 Jul 2021 07:28:19 GMT", + "tag": "@fluentui/api-docs_v8.1.35", + "version": "8.1.35", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/react to v8.23.2", + "author": "makopch@microsoft.com", + "commit": "54d610936b6670ecfe3c1577ed779af25c27ef3e", + "package": "@fluentui/api-docs" + } + ] + } + }, + { + "date": "Tue, 13 Jul 2021 22:32:58 GMT", + "tag": "@fluentui/api-docs_v8.1.35", + "version": "8.1.35", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/react to v8.23.1", + "author": "behowell@microsoft.com", + "commit": "035ba0498cee783b11b31dffa0cbf595b73d6ec8", + "package": "@fluentui/api-docs" + } + ] + } + }, + { + "date": "Tue, 13 Jul 2021 07:35:36 GMT", + "tag": "@fluentui/api-docs_v8.1.35", + "version": "8.1.35", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/react to v8.23.0", + "author": "tmichon@microsoft.com", + "commit": "c9c64e89dc89e1f2abd145d132bb0624c40bd4ed", + "package": "@fluentui/api-docs" + } + ] + } + }, + { + "date": "Mon, 12 Jul 2021 07:33:23 GMT", + "tag": "@fluentui/api-docs_v8.1.34", + "version": "8.1.34", + "comments": { + "none": [ + { + "comment": "Bump @fluentui/react to v8.22.3", + "author": "Humberto.Morimoto@microsoft.com", + "commit": "394b16b92fae7773125c32edc1df56c7758cba4e", + "package": "@fluentui/api-docs" + } + ] + } + }, + { + "date": "Fri, 09 Jul 2021 07:39:31 GMT", + "tag": "@fluentui/api-docs_v8.1.34", + "version": "8.1.34", + "comments": { + "none": [ + { + "comment": "chore: migrate packages(express,fsextra) to single version policy", + "author": "martinhochel@microsoft.com", + "commit": "18902eb64710aa6253a79781357b8390bb13665c", + "package": "@fluentui/api-docs" + } + ], + "patch": [ + { + "comment": "Bump @fluentui/eslint-plugin to v1.3.2", + "author": "martinhochel@microsoft.com", + "commit": "18902eb64710aa6253a79781357b8390bb13665c", + "package": "@fluentui/api-docs" + } + ] + } + }, + { + "date": "Thu, 08 Jul 2021 07:32:49 GMT", + "tag": "@fluentui/api-docs_v8.1.33", + "version": "8.1.33", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/react to v8.22.2", + "author": "sarah.higley@microsoft.com", + "commit": "6b7dca368ae9ce805f8c9663ebbb6018024f8b8b", + "package": "@fluentui/api-docs" + } + ] + } + }, + { + "date": "Wed, 07 Jul 2021 07:32:54 GMT", + "tag": "@fluentui/api-docs_v8.1.32", + "version": "8.1.32", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/react to v8.22.1", + "author": "sarah.higley@microsoft.com", + "commit": "9babbdb459a85f5ec7640b35e921d17a675f7856", + "package": "@fluentui/api-docs" + } + ] + } + }, { "date": "Thu, 01 Jul 2021 07:35:05 GMT", "tag": "@fluentui/api-docs_v8.1.31", diff --git a/packages/api-docs/CHANGELOG.md b/packages/api-docs/CHANGELOG.md index f581ad4fdf9a34..2a6f827f31b706 100644 --- a/packages/api-docs/CHANGELOG.md +++ b/packages/api-docs/CHANGELOG.md @@ -1,9 +1,63 @@ # Change Log - @fluentui/api-docs -This log was last generated on Thu, 01 Jul 2021 07:35:05 GMT and should not be manually modified. +This log was last generated on Wed, 14 Jul 2021 07:28:19 GMT and should not be manually modified. +## [8.1.35](https://github.com/microsoft/fluentui/tree/@fluentui/api-docs_v8.1.35) + +Wed, 14 Jul 2021 07:28:19 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/api-docs_v8.1.35..@fluentui/api-docs_v8.1.35) + +### Patches + +- Bump @fluentui/react to v8.23.2 ([PR #18853](https://github.com/microsoft/fluentui/pull/18853) by makopch@microsoft.com) + +## [8.1.35](https://github.com/microsoft/fluentui/tree/@fluentui/api-docs_v8.1.35) + +Tue, 13 Jul 2021 22:32:58 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/api-docs_v8.1.35..@fluentui/api-docs_v8.1.35) + +### Patches + +- Bump @fluentui/react to v8.23.1 ([PR #18890](https://github.com/microsoft/fluentui/pull/18890) by behowell@microsoft.com) + +## [8.1.35](https://github.com/microsoft/fluentui/tree/@fluentui/api-docs_v8.1.35) + +Tue, 13 Jul 2021 07:35:36 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/api-docs_v8.1.34..@fluentui/api-docs_v8.1.35) + +### Patches + +- Bump @fluentui/react to v8.23.0 ([PR #18802](https://github.com/microsoft/fluentui/pull/18802) by tmichon@microsoft.com) + +## [8.1.34](https://github.com/microsoft/fluentui/tree/@fluentui/api-docs_v8.1.34) + +Fri, 09 Jul 2021 07:39:31 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/api-docs_v8.1.33..@fluentui/api-docs_v8.1.34) + +### Patches + +- Bump @fluentui/eslint-plugin to v1.3.2 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com) + +## [8.1.33](https://github.com/microsoft/fluentui/tree/@fluentui/api-docs_v8.1.33) + +Thu, 08 Jul 2021 07:32:49 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/api-docs_v8.1.32..@fluentui/api-docs_v8.1.33) + +### Patches + +- Bump @fluentui/react to v8.22.2 ([PR #18771](https://github.com/microsoft/fluentui/pull/18771) by sarah.higley@microsoft.com) + +## [8.1.32](https://github.com/microsoft/fluentui/tree/@fluentui/api-docs_v8.1.32) + +Wed, 07 Jul 2021 07:32:54 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/api-docs_v8.1.31..@fluentui/api-docs_v8.1.32) + +### Patches + +- Bump @fluentui/react to v8.22.1 ([PR #18825](https://github.com/microsoft/fluentui/pull/18825) by sarah.higley@microsoft.com) + ## [8.1.31](https://github.com/microsoft/fluentui/tree/@fluentui/api-docs_v8.1.31) Thu, 01 Jul 2021 07:35:05 GMT diff --git a/packages/api-docs/package.json b/packages/api-docs/package.json index 153c7f42a82603..b0a45412eedbda 100644 --- a/packages/api-docs/package.json +++ b/packages/api-docs/package.json @@ -1,6 +1,7 @@ { "name": "@fluentui/api-docs", - "version": "8.1.31", + "version": "8.1.35", + "private": true, "description": "A package that transforms api-extractor .api.json files into page.json files", "repository": { "type": "git", @@ -17,20 +18,19 @@ "test": "just-scripts test" }, "devDependencies": { - "@fluentui/eslint-plugin": "^1.3.1", - "@types/fs-extra": "^8.0.1", + "@fluentui/eslint-plugin": "^1.3.2", "@fluentui/scripts": "^1.0.0" }, "dependencies": { - "@fluentui/date-time-utilities": "^8.2.0", - "@fluentui/merge-styles": "^8.1.2", - "@fluentui/react": "^8.22.0", - "@fluentui/react-focus": "^8.1.5", - "@fluentui/style-utilities": "^8.1.4", - "@fluentui/theme": "^2.1.3", - "@fluentui/utilities": "^8.2.0", - "@microsoft/api-extractor-model": "7.12.1", - "@microsoft/tsdoc": "0.12.24", + "@fluentui/date-time-utilities": "^8.2.1", + "@fluentui/merge-styles": "^8.1.3", + "@fluentui/react": "^8.23.2", + "@fluentui/react-focus": "^8.1.8", + "@fluentui/style-utilities": "^8.2.0", + "@fluentui/theme": "^2.1.4", + "@fluentui/utilities": "^8.2.1", + "@microsoft/api-extractor-model": "7.13.3", + "@microsoft/tsdoc": "0.13.2", "fs-extra": "^8.1.0" } } diff --git a/packages/azure-themes/CHANGELOG.json b/packages/azure-themes/CHANGELOG.json index a5e4cfcb600e0b..7aa2ae0a9c88f4 100644 --- a/packages/azure-themes/CHANGELOG.json +++ b/packages/azure-themes/CHANGELOG.json @@ -1,6 +1,111 @@ { "name": "@fluentui/azure-themes", "entries": [ + { + "date": "Wed, 14 Jul 2021 07:28:19 GMT", + "tag": "@fluentui/azure-themes_v8.1.37", + "version": "8.1.37", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/react to v8.23.2", + "author": "makopch@microsoft.com", + "commit": "54d610936b6670ecfe3c1577ed779af25c27ef3e", + "package": "@fluentui/azure-themes" + } + ] + } + }, + { + "date": "Tue, 13 Jul 2021 22:32:58 GMT", + "tag": "@fluentui/azure-themes_v8.1.36", + "version": "8.1.36", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/react to v8.23.1", + "author": "behowell@microsoft.com", + "commit": "035ba0498cee783b11b31dffa0cbf595b73d6ec8", + "package": "@fluentui/azure-themes" + } + ] + } + }, + { + "date": "Tue, 13 Jul 2021 07:35:36 GMT", + "tag": "@fluentui/azure-themes_v8.1.35", + "version": "8.1.35", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/react to v8.23.0", + "author": "tmichon@microsoft.com", + "commit": "c9c64e89dc89e1f2abd145d132bb0624c40bd4ed", + "package": "@fluentui/azure-themes" + } + ] + } + }, + { + "date": "Mon, 12 Jul 2021 07:33:23 GMT", + "tag": "@fluentui/azure-themes_v8.1.34", + "version": "8.1.34", + "comments": { + "none": [ + { + "comment": "Bump @fluentui/react to v8.22.3", + "author": "Humberto.Morimoto@microsoft.com", + "commit": "394b16b92fae7773125c32edc1df56c7758cba4e", + "package": "@fluentui/azure-themes" + } + ] + } + }, + { + "date": "Fri, 09 Jul 2021 07:39:31 GMT", + "tag": "@fluentui/azure-themes_v8.1.34", + "version": "8.1.34", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/eslint-plugin to v1.3.2", + "author": "martinhochel@microsoft.com", + "commit": "18902eb64710aa6253a79781357b8390bb13665c", + "package": "@fluentui/azure-themes" + } + ] + } + }, + { + "date": "Thu, 08 Jul 2021 07:32:49 GMT", + "tag": "@fluentui/azure-themes_v8.1.33", + "version": "8.1.33", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/react to v8.22.2", + "author": "sarah.higley@microsoft.com", + "commit": "6b7dca368ae9ce805f8c9663ebbb6018024f8b8b", + "package": "@fluentui/azure-themes" + } + ] + } + }, + { + "date": "Wed, 07 Jul 2021 07:32:54 GMT", + "tag": "@fluentui/azure-themes_v8.1.32", + "version": "8.1.32", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/react to v8.22.1", + "author": "sarah.higley@microsoft.com", + "commit": "9babbdb459a85f5ec7640b35e921d17a675f7856", + "package": "@fluentui/azure-themes" + } + ] + } + }, { "date": "Thu, 01 Jul 2021 07:35:05 GMT", "tag": "@fluentui/azure-themes_v8.1.31", diff --git a/packages/azure-themes/CHANGELOG.md b/packages/azure-themes/CHANGELOG.md index e19e4ce2b76cd8..0755640b7204f1 100644 --- a/packages/azure-themes/CHANGELOG.md +++ b/packages/azure-themes/CHANGELOG.md @@ -1,9 +1,63 @@ # Change Log - @fluentui/azure-themes -This log was last generated on Thu, 01 Jul 2021 07:35:05 GMT and should not be manually modified. +This log was last generated on Wed, 14 Jul 2021 07:28:19 GMT and should not be manually modified. +## [8.1.37](https://github.com/microsoft/fluentui/tree/@fluentui/azure-themes_v8.1.37) + +Wed, 14 Jul 2021 07:28:19 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/azure-themes_v8.1.36..@fluentui/azure-themes_v8.1.37) + +### Patches + +- Bump @fluentui/react to v8.23.2 ([PR #18853](https://github.com/microsoft/fluentui/pull/18853) by makopch@microsoft.com) + +## [8.1.36](https://github.com/microsoft/fluentui/tree/@fluentui/azure-themes_v8.1.36) + +Tue, 13 Jul 2021 22:32:58 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/azure-themes_v8.1.35..@fluentui/azure-themes_v8.1.36) + +### Patches + +- Bump @fluentui/react to v8.23.1 ([PR #18890](https://github.com/microsoft/fluentui/pull/18890) by behowell@microsoft.com) + +## [8.1.35](https://github.com/microsoft/fluentui/tree/@fluentui/azure-themes_v8.1.35) + +Tue, 13 Jul 2021 07:35:36 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/azure-themes_v8.1.34..@fluentui/azure-themes_v8.1.35) + +### Patches + +- Bump @fluentui/react to v8.23.0 ([PR #18802](https://github.com/microsoft/fluentui/pull/18802) by tmichon@microsoft.com) + +## [8.1.34](https://github.com/microsoft/fluentui/tree/@fluentui/azure-themes_v8.1.34) + +Fri, 09 Jul 2021 07:39:31 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/azure-themes_v8.1.33..@fluentui/azure-themes_v8.1.34) + +### Patches + +- Bump @fluentui/eslint-plugin to v1.3.2 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com) + +## [8.1.33](https://github.com/microsoft/fluentui/tree/@fluentui/azure-themes_v8.1.33) + +Thu, 08 Jul 2021 07:32:49 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/azure-themes_v8.1.32..@fluentui/azure-themes_v8.1.33) + +### Patches + +- Bump @fluentui/react to v8.22.2 ([PR #18771](https://github.com/microsoft/fluentui/pull/18771) by sarah.higley@microsoft.com) + +## [8.1.32](https://github.com/microsoft/fluentui/tree/@fluentui/azure-themes_v8.1.32) + +Wed, 07 Jul 2021 07:32:54 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/azure-themes_v8.1.31..@fluentui/azure-themes_v8.1.32) + +### Patches + +- Bump @fluentui/react to v8.22.1 ([PR #18825](https://github.com/microsoft/fluentui/pull/18825) by sarah.higley@microsoft.com) + ## [8.1.31](https://github.com/microsoft/fluentui/tree/@fluentui/azure-themes_v8.1.31) Thu, 01 Jul 2021 07:35:05 GMT diff --git a/packages/azure-themes/package.json b/packages/azure-themes/package.json index a25f408234170c..ac4fa81a1dd1f0 100644 --- a/packages/azure-themes/package.json +++ b/packages/azure-themes/package.json @@ -1,6 +1,6 @@ { "name": "@fluentui/azure-themes", - "version": "8.1.31", + "version": "8.1.37", "description": "Azure themes for Fluent UI React", "main": "lib-commonjs/index.js", "module": "lib/index.js", @@ -23,13 +23,13 @@ "start": "just-scripts dev:storybook" }, "devDependencies": { - "@fluentui/eslint-plugin": "^1.3.1", + "@fluentui/eslint-plugin": "^1.3.2", "@fluentui/scripts": "^1.0.0", "react": "16.8.6" }, "dependencies": { - "@fluentui/react": "^8.22.0", - "@fluentui/set-version": "^8.1.2", + "@fluentui/react": "^8.23.2", + "@fluentui/set-version": "^8.1.3", "tslib": "^2.1.0" } } diff --git a/packages/babel-make-styles/CHANGELOG.json b/packages/babel-make-styles/CHANGELOG.json index fd2084c5f09ac6..d06fccefea6579 100644 --- a/packages/babel-make-styles/CHANGELOG.json +++ b/packages/babel-make-styles/CHANGELOG.json @@ -1,6 +1,57 @@ { "name": "@fluentui/babel-make-styles", "entries": [ + { + "date": "Tue, 13 Jul 2021 07:35:36 GMT", + "tag": "@fluentui/babel-make-styles_v9.0.0-alpha.24", + "version": "9.0.0-alpha.24", + "comments": { + "prerelease": [ + { + "comment": "Bump @fluentui/make-styles to v9.0.0-alpha.28", + "author": "behowell@microsoft.com", + "commit": "8e5969e291bcafac21df12c9fb591bdd5654c613", + "package": "@fluentui/babel-make-styles" + } + ] + } + }, + { + "date": "Fri, 09 Jul 2021 07:39:31 GMT", + "tag": "@fluentui/babel-make-styles_v9.0.0-alpha.23", + "version": "9.0.0-alpha.23", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/eslint-plugin to v1.3.2", + "author": "martinhochel@microsoft.com", + "commit": "18902eb64710aa6253a79781357b8390bb13665c", + "package": "@fluentui/babel-make-styles" + }, + { + "comment": "Bump @fluentui/scripts to v1.0.0", + "author": "martinhochel@microsoft.com", + "commit": "18902eb64710aa6253a79781357b8390bb13665c", + "package": "@fluentui/babel-make-styles" + } + ] + } + }, + { + "date": "Fri, 02 Jul 2021 23:15:55 GMT", + "tag": "@fluentui/babel-make-styles_v9.0.0-alpha.22", + "version": "9.0.0-alpha.22", + "comments": { + "prerelease": [ + { + "comment": "fix: update regex for rules", + "author": "olfedias@microsoft.com", + "commit": "936b45148b58d15c9c843f0503f7bdf12b9da4e9", + "package": "@fluentui/babel-make-styles" + } + ] + } + }, { "date": "Fri, 02 Jul 2021 07:37:06 GMT", "tag": "@fluentui/babel-make-styles_v9.0.0-alpha.21", diff --git a/packages/babel-make-styles/CHANGELOG.md b/packages/babel-make-styles/CHANGELOG.md index fb9b302af13180..0ab2da19abd245 100644 --- a/packages/babel-make-styles/CHANGELOG.md +++ b/packages/babel-make-styles/CHANGELOG.md @@ -1,9 +1,37 @@ # Change Log - @fluentui/babel-make-styles -This log was last generated on Fri, 02 Jul 2021 07:37:06 GMT and should not be manually modified. +This log was last generated on Tue, 13 Jul 2021 07:35:36 GMT and should not be manually modified. +## [9.0.0-alpha.24](https://github.com/microsoft/fluentui/tree/@fluentui/babel-make-styles_v9.0.0-alpha.24) + +Tue, 13 Jul 2021 07:35:36 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/babel-make-styles_v9.0.0-alpha.23..@fluentui/babel-make-styles_v9.0.0-alpha.24) + +### Changes + +- Bump @fluentui/make-styles to v9.0.0-alpha.28 ([PR #18560](https://github.com/microsoft/fluentui/pull/18560) by behowell@microsoft.com) + +## [9.0.0-alpha.23](https://github.com/microsoft/fluentui/tree/@fluentui/babel-make-styles_v9.0.0-alpha.23) + +Fri, 09 Jul 2021 07:39:31 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/babel-make-styles_v9.0.0-alpha.22..@fluentui/babel-make-styles_v9.0.0-alpha.23) + +### Patches + +- Bump @fluentui/eslint-plugin to v1.3.2 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com) +- Bump @fluentui/scripts to v1.0.0 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com) + +## [9.0.0-alpha.22](https://github.com/microsoft/fluentui/tree/@fluentui/babel-make-styles_v9.0.0-alpha.22) + +Fri, 02 Jul 2021 23:15:55 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/babel-make-styles_v9.0.0-alpha.21..@fluentui/babel-make-styles_v9.0.0-alpha.22) + +### Changes + +- fix: update regex for rules ([PR #18816](https://github.com/microsoft/fluentui/pull/18816) by olfedias@microsoft.com) + ## [9.0.0-alpha.21](https://github.com/microsoft/fluentui/tree/@fluentui/babel-make-styles_v9.0.0-alpha.21) Fri, 02 Jul 2021 07:37:06 GMT diff --git a/packages/babel-make-styles/package.json b/packages/babel-make-styles/package.json index ab61cf443a525c..82a85b989327bf 100644 --- a/packages/babel-make-styles/package.json +++ b/packages/babel-make-styles/package.json @@ -1,6 +1,6 @@ { "name": "@fluentui/babel-make-styles", - "version": "9.0.0-alpha.21", + "version": "9.0.0-alpha.24", "description": "A Babel plugin that performs build time transforms for @fluentui/make-styles", "main": "lib/src/index.js", "typings": "lib/src/index.d.ts", @@ -19,9 +19,9 @@ "build:local": "tsc -p . --module esnext --emitDeclarationOnly && node ../../scripts/typescript/normalize-import --output dist/babel-make-styles/src && yarn docs" }, "devDependencies": { - "@fluentui/eslint-plugin": "^1.3.1", - "@fluentui/react-make-styles": "^9.0.0-alpha.45", - "@fluentui/react-theme": "^9.0.0-alpha.16", + "@fluentui/eslint-plugin": "^1.3.2", + "@fluentui/react-make-styles": "^9.0.0-alpha.48", + "@fluentui/react-theme": "^9.0.0-alpha.17", "@fluentui/scripts": "^1.0.0", "babel-plugin-tester": "^10.0.0" }, @@ -32,7 +32,7 @@ "@babel/preset-typescript": "^7.10.4", "@babel/template": "^7.12.13", "@babel/traverse": "^7.12.13", - "@fluentui/make-styles": "^9.0.0-alpha.26", + "@fluentui/make-styles": "^9.0.0-alpha.28", "@linaria/babel": "^3.0.0-beta.0", "@linaria/shaker": "^3.0.0-beta.5", "tslib": "^2.1.0" diff --git a/packages/bundle-size/.eslintrc.json b/packages/bundle-size/.eslintrc.json index 6244065ada2ef6..f502b07b22439c 100644 --- a/packages/bundle-size/.eslintrc.json +++ b/packages/bundle-size/.eslintrc.json @@ -2,6 +2,6 @@ "extends": ["plugin:@fluentui/eslint-plugin/node"], "root": true, "rules": { - "import/no-extraneous-dependencies": "off" + "import/no-extraneous-dependencies": ["error", { "packageDir": ["../../", "./"] }] } } diff --git a/packages/bundle-size/README.md b/packages/bundle-size/README.md index 7e01a368717cfe..19a53fed5e91a7 100644 --- a/packages/bundle-size/README.md +++ b/packages/bundle-size/README.md @@ -2,7 +2,7 @@ A CLI tool to measure bundle size locally and on CI. -> NOTE: `bundle-size` requires to build packages first before doing any kind of measurements. Make sure to accommodate this in your pipeline\*\* +> NOTE: `bundle-size` requires to build packages first before doing any kind of measurements. Make sure to accommodate this in your pipeline ### Usage @@ -26,18 +26,34 @@ export default { ### Commands -#### `measure` +#### `compare-reports` + +Compares local (requires call of `bundle-size measure` first) and remote results, provides output to CLI or to a Markdown file. ```sh -yarn bundle-size measure [--verbose] +yarn bundle-size compare-reports --branch=main --output=["cli"|"markdown"] [--quiet] ``` -Builds fixtures and produces artifacts. +#### `measure` + +```sh +yarn bundle-size measure [--quiet] +``` -For each fixture: +Builds fixtures and produces artifacts. For each fixture: - `[fixture].fixture.js` - a modified fixture without a default export, used by a bundler - `[fixture].output.js` - a partially minified file, useful for debugging - `[fixture].min.js` - a fully minified file, used for measurements A report file `bundle-size.json` that is used by other steps. + +#### `upload-report` + +```sh +yarn bundle-size upload-report --branch=main --commit-sha=HASH [--quiet] +``` + +Aggregates local results to a single report and uploads data to Azure Table Storage. + +> NOTE: should be called only during CI builds. diff --git a/packages/bundle-size/__fixture__/sampleComparedReport.js b/packages/bundle-size/__fixture__/sampleComparedReport.js new file mode 100644 index 00000000000000..3a7978dac98ef6 --- /dev/null +++ b/packages/bundle-size/__fixture__/sampleComparedReport.js @@ -0,0 +1,41 @@ +const { emptyDiff } = require('../src/utils/compareResultsInReports'); + +/** @type {import('../src/utils/compareResultsInReports').ComparedReport} */ +const sampleComparedReport = [ + { + packageName: 'foo-package', + name: 'New entry', + path: 'foo.fixture.js', + minifiedSize: 1000, + gzippedSize: 100, + diff: emptyDiff, + }, + { + packageName: 'bar-package', + name: 'An entry without diff', + path: 'bar.fixture.js', + minifiedSize: 1000, + gzippedSize: 100, + diff: { + empty: false, + + minified: { delta: 0, percent: '0%' }, + gzip: { delta: 0, percent: '0%' }, + }, + }, + { + packageName: 'baz-package', + name: 'An entry with diff', + path: 'baz.fixture.js', + minifiedSize: 1000, + gzippedSize: 100, + diff: { + empty: false, + + minified: { delta: 1000, percent: '100%' }, + gzip: { delta: 100, percent: '100%' }, + }, + }, +]; + +module.exports = sampleComparedReport; diff --git a/packages/bundle-size/__fixture__/sampleReport.js b/packages/bundle-size/__fixture__/sampleReport.js new file mode 100644 index 00000000000000..e5a83d071cef63 --- /dev/null +++ b/packages/bundle-size/__fixture__/sampleReport.js @@ -0,0 +1,26 @@ +/** @type {import('../src/utils/collectLocalReport').BundleSizeReport} */ +const sampleReport = [ + { + packageName: 'foo-package', + name: 'New entry', + path: 'foo.fixture.js', + minifiedSize: 1000, + gzippedSize: 100, + }, + { + packageName: 'bar-package', + name: 'An entry without diff', + path: 'bar.fixture.js', + minifiedSize: 1000, + gzippedSize: 100, + }, + { + packageName: 'baz-package', + name: 'An entry with diff', + path: 'baz.fixture.js', + minifiedSize: 1000, + gzippedSize: 100, + }, +]; + +module.exports = sampleReport; diff --git a/packages/bundle-size/config/tests.js b/packages/bundle-size/config/tests.js new file mode 100644 index 00000000000000..9f9b1e52befc8c --- /dev/null +++ b/packages/bundle-size/config/tests.js @@ -0,0 +1,5 @@ +const tmp = require('tmp'); + +// Clean up created files/folders on exit, even after exceptions +// (will not catch SIGINT on windows) +tmp.setGracefulCleanup(); diff --git a/packages/bundle-size/jest.config.js b/packages/bundle-size/jest.config.js new file mode 100644 index 00000000000000..81278eb34d8184 --- /dev/null +++ b/packages/bundle-size/jest.config.js @@ -0,0 +1,12 @@ +// @ts-check + +/** + * @type {jest.InitialOptions} + */ +module.exports = { + displayName: 'bundle-size', + preset: '../../jest.preset.js', + coverageDirectory: './coverage', + testEnvironment: 'node', + setupFilesAfterEnv: ['./config/tests.js'], +}; diff --git a/packages/bundle-size/package.json b/packages/bundle-size/package.json index 27396b0b56de92..4d7c1508d25eb9 100644 --- a/packages/bundle-size/package.json +++ b/packages/bundle-size/package.json @@ -6,7 +6,8 @@ "bundle-size": "./bin/bundle-size.js" }, "scripts": { - "lint": "just-scripts lint", + "lint": "eslint . --ext .js", + "test": "jest", "type-check": "tsc" } } diff --git a/packages/bundle-size/src/commands/compareReports.js b/packages/bundle-size/src/commands/compareReports.js new file mode 100644 index 00000000000000..c281014091c2fa --- /dev/null +++ b/packages/bundle-size/src/commands/compareReports.js @@ -0,0 +1,82 @@ +const chalk = require('chalk'); + +const cliReporter = require('../reporters/cliReporter'); +const markdownReporter = require('../reporters/markdownReporter'); +const collectLocalReport = require('../utils/collectLocalReport'); +const { compareResultsInReports } = require('../utils/compareResultsInReports'); +const getRemoteReport = require('../utils/getRemoteReport'); +const { hrToSeconds } = require('../utils/helpers'); + +/** + * @param {typeof import('../index') & { branch: string, output: 'cli' | 'markdown' }} options + */ +async function compareReports(options) { + const { branch, output, quiet } = options; + const startTime = process.hrtime(); + + const localReportStartTime = process.hrtime(); + const localReport = await collectLocalReport(); + + if (!quiet) { + console.log( + [chalk.blue('[i]'), `Local report prepared in ${hrToSeconds(process.hrtime(localReportStartTime))}`].join(' '), + ); + } + + const remoteReportStartTime = process.hrtime(); + const { commitSHA, remoteReport } = await getRemoteReport(branch); + + if (!quiet) { + if (commitSHA === '') { + console.log([chalk.blue('[i]'), `Remote report for "${branch}" branch was not found`].join(' ')); + } else { + console.log( + [ + chalk.blue('[i]'), + `Remote report for "${commitSHA}" commit fetched in ${hrToSeconds(process.hrtime(remoteReportStartTime))}`, + ].join(' '), + ); + } + } + + const result = compareResultsInReports(localReport, remoteReport); + + switch (output) { + case 'cli': + await cliReporter(result); + break; + case 'markdown': + await markdownReporter(result, commitSHA, quiet); + break; + } + + if (!quiet) { + console.log(`Completed in ${hrToSeconds(process.hrtime(startTime))}`); + } +} + +// --- + +/** @type {import('yargs').CommandModule} */ +const api = { + command: 'compare-reports', + describe: 'compares local and remote results', + builder: { + branch: { + alias: 'b', + type: 'string', + description: 'A branch to compare against', + default: 'main', + }, + output: { + alias: 'o', + type: 'string', + choices: ['cli', 'markdown'], + description: 'Defines a reporter to produce output', + default: 'cli', + }, + }, + handler: compareReports, +}; + +module.exports = api; diff --git a/packages/bundle-size/src/commands/compareReports.test.js b/packages/bundle-size/src/commands/compareReports.test.js new file mode 100644 index 00000000000000..3549bbc2d6efb9 --- /dev/null +++ b/packages/bundle-size/src/commands/compareReports.test.js @@ -0,0 +1,29 @@ +const getRemoteReport = jest.fn(); +const collectLocalReport = jest.fn(); +const compareResultsInReports = jest.fn(); +const cliReporter = jest.fn(); + +jest.mock('../reporters/cliReporter', () => cliReporter); +jest.mock('../utils/collectLocalReport', () => collectLocalReport); +jest.mock('../utils/compareResultsInReports', () => ({ compareResultsInReports })); +jest.mock('../utils/getRemoteReport', () => getRemoteReport); + +const sampleReport = require('../../__fixture__/sampleReport'); +const sampleComparedReport = require('../../__fixture__/sampleComparedReport'); +const { handler } = require('./compareReports'); + +describe('compareReports', () => { + it('fetches remote report and compares it with a local data', async () => { + const branchName = 'master'; + + getRemoteReport.mockImplementation(() => ({ commitSHA: 'test', remoteReport: sampleReport })); + collectLocalReport.mockImplementation(() => sampleReport); + compareResultsInReports.mockImplementation(() => sampleComparedReport); + + await handler({ quiet: true, branch: branchName, output: 'cli' }); + + expect(getRemoteReport).toHaveBeenCalledWith(branchName); + expect(compareResultsInReports).toHaveBeenCalledWith(sampleReport, sampleReport); + expect(cliReporter).toHaveBeenCalledWith(sampleComparedReport); + }); +}); diff --git a/packages/bundle-size/src/commands/measure.js b/packages/bundle-size/src/commands/measure.js index 212bb063918b8b..32633220ebc0f7 100644 --- a/packages/bundle-size/src/commands/measure.js +++ b/packages/bundle-size/src/commands/measure.js @@ -4,10 +4,9 @@ const fs = require('fs').promises; const del = require('del'); const glob = require('glob'); const path = require('path'); -const prettyBytes = require('pretty-bytes'); const buildFixture = require('../utils/buildFixture'); -const { hrToSeconds } = require('../utils/helpers'); +const { formatBytes, hrToSeconds } = require('../utils/helpers'); const prepareFixture = require('../utils/prepareFixture'); /** @@ -49,7 +48,7 @@ async function measure(options) { const sortedMeasurements = [...measurements].sort((a, b) => a.path.localeCompare(b.path)); sortedMeasurements.forEach(r => { - table.push([r.name, prettyBytes(r.minifiedSize), prettyBytes(r.gzippedSize)]); + table.push([r.name, formatBytes(r.minifiedSize), formatBytes(r.gzippedSize)]); }); console.log(table.toString()); diff --git a/packages/bundle-size/src/commands/uploadReport.js b/packages/bundle-size/src/commands/uploadReport.js new file mode 100644 index 00000000000000..1ba0db8420bef9 --- /dev/null +++ b/packages/bundle-size/src/commands/uploadReport.js @@ -0,0 +1,137 @@ +const { odata, TableClient, TablesSharedKeyCredential, TableTransaction } = require('@azure/data-tables'); +const chalk = require('chalk'); +const { isCI } = require('ci-info'); + +const collectLocalReport = require('../utils/collectLocalReport'); +const { hrToSeconds } = require('../utils/helpers'); + +const AZURE_STORAGE_ACCOUNT = 'fluentbundlesize'; +const AZURE_STORAGE_TABLE_NAME = 'latest'; +const AZURE_ACCOUNT_KEY = process.env.BUNDLESIZE_ACCOUNT_KEY; + +/** + * @param {import('../utils/collectLocalReport').BundleSizeReportEntry} entry + * @return {string} + */ +function createRowKey(entry) { + // Azure does not support slashes in "rowKey" + // https://docs.microsoft.com/archive/blogs/jmstall/azure-storage-naming-rules + return `${entry.packageName}${entry.path.replace(/\.fixture\.js$/, '').replace(/\//g, '')}`; +} + +/** + * @param {typeof import('../index') & { branch: string, 'commit-sha': string }} options + */ +async function uploadReport(options) { + if (!isCI) { + console.log(`${chalk.red('[e]')} This is command can be executed only in CI`); + process.exit(1); + } + + const { branch, 'commit-sha': commitSHA, quiet } = options; + const startTime = process.hrtime(); + + const localReportStartTime = process.hrtime(); + const localReport = await collectLocalReport(); + + if (!quiet) { + console.log( + [chalk.blue('[i]'), `Local report prepared in ${hrToSeconds(process.hrtime(localReportStartTime))}`].join(' '), + ); + } + + if (typeof AZURE_ACCOUNT_KEY === 'undefined') { + console.log( + [ + chalk.red('[e]'), + 'process.env.BUNDLESIZE_ACCOUNT_KEY is not defined, please verify Azure Pipelines settings', + ].join(' '), + ); + process.exit(1); + } + + const credentials = new TablesSharedKeyCredential(AZURE_STORAGE_ACCOUNT, AZURE_ACCOUNT_KEY); + const client = new TableClient( + `https://${AZURE_STORAGE_ACCOUNT}.table.core.windows.net`, + AZURE_STORAGE_TABLE_NAME, + credentials, + ); + + const transaction = new TableTransaction(); + const transactionStartTime = process.hrtime(); + + const entitiesIterator = await client.listEntities({ + queryOptions: { + filter: odata`PartitionKey eq ${branch}`, + }, + }); + + for await (const entity of entitiesIterator) { + // We can't delete and create entries with the same "rowKey" in the same transaction + // => we delete only entries not present in existing report + const isEntryPresentInExistingReport = Boolean(localReport.find(entry => createRowKey(entry) === entity.rowKey)); + const shouldEntryBeDeleted = isEntryPresentInExistingReport === false; + + if (shouldEntryBeDeleted) { + transaction.deleteEntity(/** @type {string} */ (entity.partitionKey), /** @type {string} */ (entity.rowKey)); + } + } + + localReport.forEach(entry => { + transaction.upsertEntity( + { + partitionKey: branch, + rowKey: createRowKey(entry), + + name: entry.name, + packageName: entry.packageName, + path: entry.path, + + minifiedSize: entry.minifiedSize, + gzippedSize: entry.gzippedSize, + + commitSHA, + }, + 'Replace', + ); + }); + + if (!quiet) { + console.log( + [chalk.blue('[i]'), `A transaction prepared in ${hrToSeconds(process.hrtime(transactionStartTime))}`].join(' '), + ); + } + + const submissionStartTime = process.hrtime(); + await client.submitTransaction(transaction.actions); + + if (!quiet) { + console.log( + [chalk.blue('[i]'), `A transaction submitted in ${hrToSeconds(process.hrtime(submissionStartTime))}`].join(' '), + ); + console.log(`Completed in ${hrToSeconds(process.hrtime(startTime))}`); + } +} + +// --- + +/** @type {import('yargs').CommandModule} */ +const api = { + command: 'upload-report', + describe: 'uploads local results to Azure Table Storage', + builder: { + branch: { + type: 'string', + description: 'A branch to associate a report', + required: true, + }, + 'commit-sha': { + type: 'string', + description: 'Defines a commit sha for a report', + required: true, + }, + }, + handler: uploadReport, +}; + +module.exports = api; diff --git a/packages/bundle-size/src/index.js b/packages/bundle-size/src/index.js index 71bdce9abcdd44..75fcc7ec583e51 100644 --- a/packages/bundle-size/src/index.js +++ b/packages/bundle-size/src/index.js @@ -1,13 +1,14 @@ const yargs = require('yargs'); const cliSetup = yargs - .commandDir('commands') + .commandDir('commands', { exclude: /.test\.js$/ }) .option('quiet', { - alias: 'v', + alias: 'q', type: 'boolean', description: 'Suppress verbose build output', default: false, }) + .scriptName('bundle-size') .version(false).argv; module.exports = cliSetup; diff --git a/packages/bundle-size/src/reporters/__snapshots__/markdownReporter.test.js.snap b/packages/bundle-size/src/reporters/__snapshots__/markdownReporter.test.js.snap new file mode 100644 index 00000000000000..1f34cd47daa030 --- /dev/null +++ b/packages/bundle-size/src/reporters/__snapshots__/markdownReporter.test.js.snap @@ -0,0 +1,21 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`markdownReporter renders a report to a file 1`] = ` +"## 📊 Bundle size report + +| Package & Exports | Baseline (minified/GZIP) | PR | Change | +| :------------------------------------------------------------------------------------- | -----------------------: | ------------------: | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | +| baz-package
An entry with diff | \`2 kB\`
\`200 B\` | \`1 kB\`
\`100 B\` | \`1 kB\`
\`100 B\` | +| foo-package
New entry | \`0 B\`
\`0 B\` | \`1 kB\`
\`100 B\` | 🆕 New entry | + +
+Unchanged fixtures + +| Package & Exports | Size (minified/GZIP) | +| ----------------------------------------------------------------------------------------- | -------------------: | +| bar-package
An entry without diff | \`1 kB\`
\`100 B\` | + +
+🤖 This report was generated against commit-hash +" +`; diff --git a/packages/bundle-size/src/reporters/cliReporter.js b/packages/bundle-size/src/reporters/cliReporter.js new file mode 100644 index 00000000000000..c5c14742c894ac --- /dev/null +++ b/packages/bundle-size/src/reporters/cliReporter.js @@ -0,0 +1,72 @@ +const chalk = require('chalk'); +const Table = require('cli-table3'); + +const getChangedEntriesInReport = require('../utils/getChangedEntriesInReport'); +const { formatBytes } = require('../utils/helpers'); + +/** + * @param {number} value + * + * @return {string} + */ +function getDirectionSymbol(value) { + if (value < 0) { + return '↓'; + } + + if (value > 0) { + return '↑'; + } + + return ''; +} + +/** + * @param {import('../utils/calculateDiffByMetric').DiffByMetric} diff + * + * @return {string} + */ +function formatDelta({ delta, percent }) { + if (delta === 0) { + return ''; + } + + const colorFn = delta > 0 ? chalk.red : chalk.green; + + return colorFn(percent + getDirectionSymbol(delta)); +} + +/** + * @param {import('../utils/compareResultsInReports').ComparedReport} report + */ +module.exports = async function cliReporter(report) { + const result = new Table({ + colAligns: ['left', 'right', 'right'], + head: ['Fixture', 'Before', 'After (minified/GZIP)'], + }); + const { changedEntries } = getChangedEntriesInReport(report); + + changedEntries.forEach(entry => { + const { diff, gzippedSize, minifiedSize, name, packageName } = entry; + const fixtureColumn = chalk.bold(packageName) + '\n' + name + (diff.empty ? chalk.cyan(' (new)') : ''); + + const minifiedBefore = diff.empty ? 'N/A' : formatBytes(minifiedSize + diff.minified.delta); + const gzippedBefore = diff.empty ? 'N/A' : formatBytes(gzippedSize + diff.gzip.delta); + + const minifiedAfter = formatBytes(minifiedSize); + const gzippedAfter = formatBytes(gzippedSize); + + const beforeColumn = minifiedBefore + '\n' + gzippedBefore; + const afterColumn = + formatDelta(diff.minified) + ' ' + minifiedAfter + '\n' + formatDelta(diff.gzip) + ' ' + gzippedAfter; + + result.push([fixtureColumn, beforeColumn, afterColumn]); + }); + + if (result.length > 0) { + console.log(result.toString()); + return; + } + + console.log(`${chalk.green('[✔]')} No changes found`); +}; diff --git a/packages/bundle-size/src/reporters/cliReporter.test.js b/packages/bundle-size/src/reporters/cliReporter.test.js new file mode 100644 index 00000000000000..ceb6141570d6be --- /dev/null +++ b/packages/bundle-size/src/reporters/cliReporter.test.js @@ -0,0 +1,40 @@ +const stripAnsi = require('strip-ansi'); + +const cliReporter = require('./cliReporter'); +const sampleComparedReport = require('../../__fixture__/sampleComparedReport'); + +function noop() { + /* does nothing */ +} + +// We are using "chalk" and "cli-table3" in this reporter, they are adding colors to the output via escape codes that +// makes snapshots look ugly. +// +// It could be disabled for "chalk" but "colors" that is used "cli-table3" is not our dependency. +expect.addSnapshotSerializer({ + test(val) { + return typeof val === 'string'; + }, + print(val) { + return stripAnsi(val); + }, +}); + +describe('cliReporter', () => { + it('renders a report to CLI output', async () => { + const log = jest.spyOn(console, 'log').mockImplementation(noop); + await cliReporter(sampleComparedReport); + + expect(log.mock.calls[0][0]).toMatchInlineSnapshot(` + ┌────────────────────┬────────┬───────────────────────┐ + │ Fixture │ Before │ After (minified/GZIP) │ + ├────────────────────┼────────┼───────────────────────┤ + │ baz-package │ 2 kB │ 100%↑ 1 kB │ + │ An entry with diff │ 200 B │ 100%↑ 100 B │ + ├────────────────────┼────────┼───────────────────────┤ + │ foo-package │ N/A │ 100%↑ 1 kB │ + │ New entry (new) │ N/A │ 100%↑ 100 B │ + └────────────────────┴────────┴───────────────────────┘ + `); + }); +}); diff --git a/packages/bundle-size/src/reporters/markdownReporter.js b/packages/bundle-size/src/reporters/markdownReporter.js new file mode 100644 index 00000000000000..603b0dc084c492 --- /dev/null +++ b/packages/bundle-size/src/reporters/markdownReporter.js @@ -0,0 +1,134 @@ +const chalk = require('chalk'); +const fs = require('fs').promises; +const path = require('path'); +const prettier = require('prettier'); +const { findPackageRoot } = require('workspace-tools'); + +const getChangedEntriesInReport = require('../utils/getChangedEntriesInReport'); +const { formatBytes } = require('../utils/helpers'); + +const icons = { + increase: 'IncreaseYellow.svg', + decrease: 'Decrease.svg', +}; + +/** + * @param {number} value + * + * @return {string} + */ +function getDirectionSymbol(value) { + /** + * @param {string} iconName + */ + const img = iconName => + ``; + + if (value < 0) { + return img(icons.decrease); + } + + if (value > 0) { + return img(icons.increase); + } + + return ''; +} + +/** + * @param {import('../utils/calculateDiffByMetric').DiffByMetric} diff + * + * @return {string} + */ +function formatDelta({ delta }) { + if (delta === 0) { + return ''; + } + + return `\`${formatBytes(delta)}\` ${getDirectionSymbol(delta)}`; +} + +/** + * @param {import('../utils/compareResultsInReports').ComparedReport} result + * @param {string} commitSHA + * @param {boolean} quiet + */ +module.exports = async function markdownReporter(result, commitSHA, quiet) { + const packageRoot = findPackageRoot(__dirname); + + if (!packageRoot) { + throw new Error( + [ + 'Failed to find a package root (directory that contains "package.json" file)', + `Lookup start in: ${__dirname}`, + ].join('\n'), + ); + } + + const artifactsDir = path.resolve(packageRoot, 'dist'); + const artifactsFilename = path.join(artifactsDir, 'bundle-size.md'); + + const report = []; + + report.push('## 📊 Bundle size report'); + report.push(''); + + const { changedEntries, unchangedEntries } = getChangedEntriesInReport(result); + + if (changedEntries.length > 0) { + report.push('| Package & Exports | Baseline (minified/GZIP) | PR | Change |'); + report.push('| :---------------- | -----------------------: | ----: | ---------: |'); + + changedEntries.forEach(entry => { + const title = `${entry.packageName}
${entry.name}`; + const before = entry.diff.empty + ? [`\`${formatBytes(0)}\``, '
', `\`${formatBytes(0)}\``].join('') + : [ + `\`${formatBytes(entry.minifiedSize + entry.diff.minified.delta)}\``, + '
', + `\`${formatBytes(entry.gzippedSize + entry.diff.gzip.delta)}\``, + ].join(''); + const after = [`\`${formatBytes(entry.minifiedSize)}\``, '
', `\`${formatBytes(entry.gzippedSize)}\``].join( + '', + ); + const difference = entry.diff.empty + ? '🆕 New entry' + : [`${formatDelta(entry.diff.minified)}`, '
', `${formatDelta(entry.diff.gzip)}`].join(''); + + report.push(`| ${title} | ${before} | ${after} | ${difference}|`); + }); + + report.push(''); + } + + if (unchangedEntries.length > 0) { + report.push('
'); + report.push('Unchanged fixtures'); + report.push(''); + + report.push('| Package & Exports | Size (minified/GZIP) |'); + report.push('| ----------------- | -------------------: |'); + + unchangedEntries.forEach(entry => { + const title = `${entry.packageName}
${entry.name}`; + const size = [`\`${formatBytes(entry.minifiedSize)}\``, '
', `\`${formatBytes(entry.gzippedSize)}\``].join( + '', + ); + + report.push(`| ${title} | ${size} |`); + }); + + report.push('
'); + } + + report.push( + `🤖 This report was generated against ${commitSHA}`, + ); + + await fs.mkdir(artifactsDir, { recursive: true }); + await fs.writeFile(artifactsFilename, prettier.format(report.join('\n'), { parser: 'markdown' })); + + if (!quiet) { + console.log([chalk.blue('[i]'), `A report file was written to ${artifactsFilename}`].join(' ')); + } +}; diff --git a/packages/bundle-size/src/reporters/markdownReporter.test.js b/packages/bundle-size/src/reporters/markdownReporter.test.js new file mode 100644 index 00000000000000..b83a1530119632 --- /dev/null +++ b/packages/bundle-size/src/reporters/markdownReporter.test.js @@ -0,0 +1,13 @@ +const markdownReporter = require('./markdownReporter'); +const sampleComparedReport = require('../../__fixture__/sampleComparedReport'); + +describe('markdownReporter', () => { + it('renders a report to a file', async () => { + const writeFile = jest.spyOn(require('fs').promises, 'writeFile').mockImplementation(() => { + return new Promise(resolve => resolve()); + }); + + await markdownReporter(sampleComparedReport, 'commit-hash', true); + expect(writeFile.mock.calls[0][1]).toMatchSnapshot(); + }); +}); diff --git a/packages/bundle-size/src/utils/buildFixture.js b/packages/bundle-size/src/utils/buildFixture.js index 3d31882e6ce34a..aa1ebaa34a43c3 100644 --- a/packages/bundle-size/src/utils/buildFixture.js +++ b/packages/bundle-size/src/utils/buildFixture.js @@ -7,11 +7,13 @@ const webpack = require('webpack'); const { hrToSeconds } = require('./helpers'); +/** @typedef {import("webpack").Configuration} WebpackConfiguration */ + /** * @param {string} fixturePath * @param {string} outputPath * - * @return {import("webpack").Configuration} + * @return {WebpackConfiguration} */ function createWebpackConfig(fixturePath, outputPath) { return { @@ -47,7 +49,7 @@ function createWebpackConfig(fixturePath, outputPath) { } /** - * @param {import("webpack").Configuration} webpackConfig + * @param {WebpackConfiguration} webpackConfig * @return {Promise} */ function webpackAsync(webpackConfig) { @@ -100,7 +102,7 @@ module.exports = async function buildFixture(preparedFixture, quiet) { const terserStartTime = process.hrtime(); const terserOutputPath = preparedFixture.absolutePath.replace(/.fixture.js$/, '.min.js'); - const webpackOutput = (await fs.readFile(webpackOutputPath)).toString(); + const webpackOutput = await fs.readFile(webpackOutputPath, 'utf8'); const [terserOutput, terserOutputMinified] = await Promise.all([ // Performs only dead-code elimination diff --git a/packages/bundle-size/src/utils/buildFixture.test.js b/packages/bundle-size/src/utils/buildFixture.test.js new file mode 100644 index 00000000000000..99c7802c522de0 --- /dev/null +++ b/packages/bundle-size/src/utils/buildFixture.test.js @@ -0,0 +1,46 @@ +const fs = require('fs').promises; +const path = require('path'); +const process = require('process'); +const tmp = require('tmp'); + +const buildFixture = require('./buildFixture'); + +/** + * @param {string} fixtureContent + * @return {Promise} + */ +async function setup(fixtureContent) { + const packageDir = tmp.dirSync({ prefix: 'buildFixture', unsafeCleanup: true }); + + const spy = jest.spyOn(process, 'cwd'); + spy.mockReturnValue(packageDir.name); + + const fixtureDir = tmp.dirSync({ dir: packageDir.name, name: 'bundle-size', unsafeCleanup: true }); + const fixture = tmp.fileSync({ dir: fixtureDir.name, name: 'test-fixture.js' }); + + await fs.writeFile(fixture.name, fixtureContent); + + return { + absolutePath: fixture.name, + relativePath: path.relative(packageDir.name, fixture.name), + + name: 'Test fixture', + }; +} + +describe('buildFixture', () => { + beforeEach(() => { + jest.resetAllMocks(); + }); + + it('builds fixtures and returns minified & GZIP sizes', async () => { + const fixturePath = await setup(`console.log('Hello world')`); + const buildResult = await buildFixture(fixturePath, true); + + expect(buildResult.name).toBe('Test fixture'); + expect(buildResult.path).toMatch(/bundle-size[\\|/]test-fixture.js/); + + expect(buildResult.minifiedSize).toBeGreaterThan(1); + expect(buildResult.gzippedSize).toBeGreaterThan(1); + }); +}); diff --git a/packages/bundle-size/src/utils/calculateDiffByMetric.js b/packages/bundle-size/src/utils/calculateDiffByMetric.js new file mode 100644 index 00000000000000..7607d91128bb20 --- /dev/null +++ b/packages/bundle-size/src/utils/calculateDiffByMetric.js @@ -0,0 +1,44 @@ +const formatter = new Intl.NumberFormat([], { style: 'percent', maximumSignificantDigits: 3 }); + +/** + * @param {number} value + * @param {number} fractionDigits + * + * @return {number} + */ +function roundNumber(value, fractionDigits) { + return Number(value.toFixed(fractionDigits)); +} + +/** + * @param {number} fraction + * + * @return {string} + */ +function formatPercent(fraction) { + if (fraction < 0.001) { + return formatter.format(roundNumber(fraction, 4)); + } + + if (fraction < 0.01) { + return formatter.format(roundNumber(fraction, 3)); + } + + return formatter.format(roundNumber(fraction, 2)); +} + +/** @typedef {{ delta: number, percent: string }} DiffByMetric */ + +/** + * @param {import("../utils/collectLocalReport").BundleSizeReportEntry} local + * @param {import("../utils/collectLocalReport").BundleSizeReportEntry} remote + * @param {'minifiedSize' | 'gzippedSize'} property + * + * @return {DiffByMetric} + */ +module.exports = function calculateDiffByMetric(local, remote, property) { + const delta = local[property] - remote[property]; + const percent = remote[property] === 0 ? 0 : delta / remote[property]; + + return { delta, percent: formatPercent(percent) }; +}; diff --git a/packages/bundle-size/src/utils/calculateDiffByMetric.test.js b/packages/bundle-size/src/utils/calculateDiffByMetric.test.js new file mode 100644 index 00000000000000..858914f492ae5a --- /dev/null +++ b/packages/bundle-size/src/utils/calculateDiffByMetric.test.js @@ -0,0 +1,59 @@ +const calculateDiffByMetric = require('./calculateDiffByMetric'); + +describe('calculateDiffByMetric', () => { + it('calculates difference deltas and percents', () => { + /** @type {import("../utils/collectLocalReport").BundleSizeReportEntry} */ + const remoteEntry = { + packageName: 'test-package', + name: 'Test', + path: 'test.fixture.js', + minifiedSize: 1000, + gzippedSize: 100, + }; + /** @type {import("../utils/collectLocalReport").BundleSizeReportEntry} */ + const localEntry = { + packageName: 'test-package', + name: 'Test', + path: 'test.fixture.js', + minifiedSize: 1500, + gzippedSize: 150, + }; + + expect(calculateDiffByMetric(localEntry, remoteEntry, 'minifiedSize')).toEqual({ + delta: 500, + percent: '50%', + }); + expect(calculateDiffByMetric(localEntry, remoteEntry, 'gzippedSize')).toEqual({ + delta: 50, + percent: '50%', + }); + }); + + it('handles zero values', () => { + /** @type {import("../utils/collectLocalReport").BundleSizeReportEntry} */ + const remoteEntry = { + packageName: 'test-package', + name: 'Test', + path: 'test.fixture.js', + minifiedSize: 0, + gzippedSize: 0, + }; + /** @type {import("../utils/collectLocalReport").BundleSizeReportEntry} */ + const localEntry = { + packageName: 'test-package', + name: 'Test', + path: 'test.fixture.js', + minifiedSize: 0, + gzippedSize: 0, + }; + + expect(calculateDiffByMetric(localEntry, remoteEntry, 'minifiedSize')).toEqual({ + delta: 0, + percent: '0%', + }); + expect(calculateDiffByMetric(localEntry, remoteEntry, 'gzippedSize')).toEqual({ + delta: 0, + percent: '0%', + }); + }); +}); diff --git a/packages/bundle-size/src/utils/collectLocalReport.js b/packages/bundle-size/src/utils/collectLocalReport.js new file mode 100644 index 00000000000000..9d41f6ce52b105 --- /dev/null +++ b/packages/bundle-size/src/utils/collectLocalReport.js @@ -0,0 +1,62 @@ +const fs = require('fs').promises; +const glob = require('glob'); +const path = require('path'); +const { findGitRoot, findPackageRoot } = require('workspace-tools'); + +/** @typedef {import('../utils/buildFixture').BuildResult} BuildResult */ + +/** @typedef {BuildResult & { packageName: string }} BundleSizeReportEntry */ +/** @typedef {BundleSizeReportEntry[]} BundleSizeReport */ + +/** + * @param {string} reportFile + * + * @return {Promise<{ packageName: string, packageReport: BuildResult[] }>} + */ +async function readReportForPackage(reportFile) { + const reportFilePath = path.resolve(process.cwd(), reportFile); + const packageRoot = findPackageRoot(reportFilePath); + + if (!packageRoot) { + throw new Error( + [ + 'Failed to find a package root (directory that contains "package.json" file)', + `Report file location: ${reportFile}`, + ].join('\n'), + ); + } + + const packageName = path.basename(packageRoot); + const packageReportJSON = await fs.readFile(reportFilePath, 'utf8'); + + try { + /** @type {BuildResult[]} */ + const packageReport = JSON.parse(packageReportJSON); + + return { packageName, packageReport }; + } catch (e) { + throw new Error([`Failed to read JSON from "${reportFilePath}":`, e.toString()].join('\n')); + } +} + +/** + * Collects all reports for packages to a single one. + * + * @return {Promise} + */ +async function collectLocalReport() { + /** @type {string[]} */ + const reportFiles = glob.sync('packages/*/dist/bundle-size/bundle-size.json', { + cwd: /** @type {string} */ (findGitRoot(process.cwd())), + }); + + const reports = await Promise.all(reportFiles.map(readReportForPackage)); + + return reports.reduce((acc, { packageName, packageReport }) => { + const processedReport = packageReport.map(reportEntry => ({ packageName, ...reportEntry })); + + return [...acc, ...processedReport]; + }, /** @type {BundleSizeReport} */ ([])); +} + +module.exports = collectLocalReport; diff --git a/packages/bundle-size/src/utils/collectLocalReport.test.js b/packages/bundle-size/src/utils/collectLocalReport.test.js new file mode 100644 index 00000000000000..bae8e74bb33532 --- /dev/null +++ b/packages/bundle-size/src/utils/collectLocalReport.test.js @@ -0,0 +1,109 @@ +const fs = require('fs').promises; +const process = require('process'); +const tmp = require('tmp'); + +// This mock should be not required 😮 +// glob.sync() call in collectLocalReport.js always returns an empty array on Linux/Windows in tests for an unknown +// reason while files are present in filesystem +jest.mock('glob', () => ({ + sync: () => [ + 'packages/package-a/dist/bundle-size/bundle-size.json', + 'packages/package-b/dist/bundle-size/bundle-size.json', + ], +})); + +const collectLocalReport = require('./collectLocalReport'); + +/** + * @return {string} + */ +function mkPackagesDir() { + const projectDir = tmp.dirSync({ prefix: 'collectLocalReport', unsafeCleanup: true }); + const packagesDir = tmp.dirSync({ dir: projectDir.name, name: 'packages', unsafeCleanup: true }); + + const spy = jest.spyOn(process, 'cwd'); + spy.mockReturnValue(projectDir.name); + + // is required as root directory is determined based on Git project + tmp.dirSync({ dir: projectDir.name, name: '.git', unsafeCleanup: true }); + + return packagesDir.name; +} + +/** + * @param {string} packagesDir + * @return {string} + */ +function mkReportDir(packagesDir) { + const distDir = tmp.dirSync({ dir: packagesDir, name: 'dist', unsafeCleanup: true }); + const bundleSizeDir = tmp.dirSync({ dir: distDir.name, name: 'bundle-size', unsafeCleanup: true }); + + tmp.fileSync({ dir: packagesDir, name: 'package.json' }); + + return tmp.fileSync({ dir: bundleSizeDir.name, name: 'bundle-size.json' }).name; +} + +describe('collectLocalReport', () => { + beforeEach(() => { + jest.resetAllMocks(); + }); + + it('aggregates all local reports to a single one', async () => { + const packagesDir = mkPackagesDir(); + + const reportAPath = mkReportDir(tmp.dirSync({ dir: packagesDir, name: 'package-a', unsafeCleanup: true }).name); + const reportBPath = mkReportDir(tmp.dirSync({ dir: packagesDir, name: 'package-b', unsafeCleanup: true }).name); + + /** @type {import('../utils/buildFixture').BuildResult[]} */ + const reportA = [ + { name: 'fixtureA1', path: 'path/fixtureA1.js', minifiedSize: 100, gzippedSize: 50 }, + { name: 'fixtureA2', path: 'path/fixtureA2.js', minifiedSize: 200, gzippedSize: 100 }, + ]; + /** @type {import('../utils/buildFixture').BuildResult[]} */ + const reportB = [{ name: 'fixtureB', path: 'path/fixtureB.js', minifiedSize: 10, gzippedSize: 5 }]; + + await fs.writeFile(reportAPath, JSON.stringify(reportA)); + await fs.writeFile(reportBPath, JSON.stringify(reportB)); + + expect(await collectLocalReport()).toMatchInlineSnapshot(` + Array [ + Object { + "gzippedSize": 50, + "minifiedSize": 100, + "name": "fixtureA1", + "packageName": "package-a", + "path": "path/fixtureA1.js", + }, + Object { + "gzippedSize": 100, + "minifiedSize": 200, + "name": "fixtureA2", + "packageName": "package-a", + "path": "path/fixtureA2.js", + }, + Object { + "gzippedSize": 5, + "minifiedSize": 10, + "name": "fixtureB", + "packageName": "package-b", + "path": "path/fixtureB.js", + }, + ] + `); + }); + + it('throws an error if a report file contains invalid JSON', async () => { + const packagesDir = mkPackagesDir(); + + const reportAPath = mkReportDir(tmp.dirSync({ dir: packagesDir, name: 'package-a', unsafeCleanup: true }).name); + const reportBPath = mkReportDir(tmp.dirSync({ dir: packagesDir, name: 'package-b', unsafeCleanup: true }).name); + + /** @type {import('../utils/buildFixture').BuildResult[]} */ + const reportB = [{ name: 'fixtureB', path: 'path/fixtureB.js', minifiedSize: 10, gzippedSize: 5 }]; + + await fs.writeFile(reportAPath, '{ name: "fixture", }'); + await fs.writeFile(reportBPath, JSON.stringify(reportB)); + + await expect(collectLocalReport()).rejects.toThrow(/Failed to read JSON/); + }); +}); diff --git a/packages/bundle-size/src/utils/compareResultsInReports.js b/packages/bundle-size/src/utils/compareResultsInReports.js new file mode 100644 index 00000000000000..0eb1f6e2c3b94a --- /dev/null +++ b/packages/bundle-size/src/utils/compareResultsInReports.js @@ -0,0 +1,46 @@ +const calculateDiffByMetric = require('./calculateDiffByMetric'); + +/** @typedef {import('./calculateDiffByMetric').DiffByMetric} DiffByMetric */ +/** @typedef {{ empty: boolean, minified: DiffByMetric, gzip: DiffByMetric }} DiffForEntry */ + +/** @typedef {import("./collectLocalReport").BundleSizeReportEntry & { diff: DiffForEntry }} ComparedReportEntry */ +/** @typedef {ComparedReportEntry[]} ComparedReport */ + +/** @type {DiffForEntry} */ +const emptyDiff = Object.freeze({ + empty: true, + + minified: { delta: 1, percent: '100%' }, + gzip: { delta: 1, percent: '100%' }, +}); + +/** + * @param {import("./collectLocalReport").BundleSizeReport} localReport + * @param {import("./collectLocalReport").BundleSizeReport} remoteReport + * + * @return {ComparedReport} + */ +function compareResultsInReports(localReport, remoteReport) { + return localReport.map(localEntry => { + const remoteEntry = remoteReport.find( + entry => localEntry.packageName === entry.packageName && localEntry.path === entry.path, + ); + const diff = remoteEntry + ? { + empty: false, + minified: calculateDiffByMetric(localEntry, remoteEntry, 'minifiedSize'), + gzip: calculateDiffByMetric(localEntry, remoteEntry, 'gzippedSize'), + } + : emptyDiff; + + return { + ...localEntry, + diff, + }; + }); +} + +module.exports = { + emptyDiff, + compareResultsInReports, +}; diff --git a/packages/bundle-size/src/utils/compareResultsInReports.test.js b/packages/bundle-size/src/utils/compareResultsInReports.test.js new file mode 100644 index 00000000000000..7436f75ce5f8e2 --- /dev/null +++ b/packages/bundle-size/src/utils/compareResultsInReports.test.js @@ -0,0 +1,85 @@ +const { compareResultsInReports } = require('./compareResultsInReports'); + +describe('compareResultsInReports', () => { + it('compares local and remote reports', () => { + /** @type {import("./collectLocalReport").BundleSizeReport} */ + const localReport = [ + { packageName: 'abc', name: 'abc-a', path: 'abc-b.js', minifiedSize: 10, gzippedSize: 5 }, + { packageName: 'abc', name: 'abc-b', path: 'abc-a.js', minifiedSize: 10, gzippedSize: 5 }, + { packageName: 'xyz', name: 'xyz', path: 'xyz.js', minifiedSize: 10, gzippedSize: 5 }, + ]; + /** @type {import("./collectLocalReport").BundleSizeReport} */ + const remoteReport = [ + { packageName: 'abc', name: 'abc-a', path: 'abc-b.js', minifiedSize: 12, gzippedSize: 7 }, + { packageName: 'xyz', name: 'xyz', path: 'xyz.js', minifiedSize: 10, gzippedSize: 5 }, + ]; + + const actual = compareResultsInReports(localReport, remoteReport); + const packageAbcReport = { + fileAbcA: actual[0], + fileAbcB: actual[1], + }; + const packageXyzReport = actual[2]; + + expect(packageAbcReport.fileAbcA).toMatchInlineSnapshot(` + Object { + "diff": Object { + "empty": false, + "gzip": Object { + "delta": -2, + "percent": "-28.6%", + }, + "minified": Object { + "delta": -2, + "percent": "-16.7%", + }, + }, + "gzippedSize": 5, + "minifiedSize": 10, + "name": "abc-a", + "packageName": "abc", + "path": "abc-b.js", + } + `); + expect(packageAbcReport.fileAbcB).toMatchInlineSnapshot(` + Object { + "diff": Object { + "empty": true, + "gzip": Object { + "delta": 1, + "percent": "100%", + }, + "minified": Object { + "delta": 1, + "percent": "100%", + }, + }, + "gzippedSize": 5, + "minifiedSize": 10, + "name": "abc-b", + "packageName": "abc", + "path": "abc-a.js", + } + `); + expect(packageXyzReport).toMatchInlineSnapshot(` + Object { + "diff": Object { + "empty": false, + "gzip": Object { + "delta": 0, + "percent": "0%", + }, + "minified": Object { + "delta": 0, + "percent": "0%", + }, + }, + "gzippedSize": 5, + "minifiedSize": 10, + "name": "xyz", + "packageName": "xyz", + "path": "xyz.js", + } + `); + }); +}); diff --git a/packages/bundle-size/src/utils/getChangedEntriesInReport.js b/packages/bundle-size/src/utils/getChangedEntriesInReport.js new file mode 100644 index 00000000000000..7db7cd419a4566 --- /dev/null +++ b/packages/bundle-size/src/utils/getChangedEntriesInReport.js @@ -0,0 +1,28 @@ +/** @typedef {import('../utils/compareResultsInReports').ComparedReport} ComparedReport */ + +const sortComparedReport = require('./sortComparedReport'); + +/** + * @param {ComparedReport} report + * + * @return {{ changedEntries: ComparedReport, unchangedEntries: ComparedReport }} + */ +module.exports = function getChangedEntriesInReport(report) { + const { changedEntries, unchangedEntries } = report.reduce( + (acc, reportEntry) => { + if (reportEntry.diff.gzip.delta === 0 && reportEntry.diff.minified.delta === 0) { + acc.unchangedEntries.push(reportEntry); + return acc; + } + + acc.changedEntries.push(reportEntry); + return acc; + }, + { changedEntries: /** @type {ComparedReport} */ ([]), unchangedEntries: /** @type {ComparedReport} */ ([]) }, + ); + + return { + changedEntries: sortComparedReport(changedEntries), + unchangedEntries: sortComparedReport(unchangedEntries), + }; +}; diff --git a/packages/bundle-size/src/utils/getChangedEntriesInReport.test.js b/packages/bundle-size/src/utils/getChangedEntriesInReport.test.js new file mode 100644 index 00000000000000..2cf9deba14219b --- /dev/null +++ b/packages/bundle-size/src/utils/getChangedEntriesInReport.test.js @@ -0,0 +1,33 @@ +const { emptyDiff } = require('./compareResultsInReports'); +const getChangedEntriesInReport = require('./getChangedEntriesInReport'); + +describe('getChangedEntriesInReport', () => { + it('splits entries to changed an unchanged', () => { + /** @type {import('../utils/compareResultsInReports').ComparedReport} */ + const report = [ + { packageName: 'abc', name: 'abc-a', path: 'abc-a.js', minifiedSize: 0, gzippedSize: 0, diff: emptyDiff }, + { + packageName: 'abc', + name: 'abc-b', + path: 'abc-b.js', + minifiedSize: 0, + gzippedSize: 0, + diff: { + empty: false, + + minified: { delta: 0, percent: '0%' }, + gzip: { delta: 0, percent: '0%' }, + }, + }, + { packageName: 'xyz', name: 'xyz', path: 'xyz.js', minifiedSize: 0, gzippedSize: 0, diff: emptyDiff }, + ]; + const actual = getChangedEntriesInReport(report); + + expect(actual.changedEntries).toHaveLength(2); + expect(actual.changedEntries[0]).toEqual(report[0]); + expect(actual.changedEntries[1]).toEqual(report[2]); + + expect(actual.unchangedEntries).toHaveLength(1); + expect(actual.unchangedEntries[0]).toEqual(report[1]); + }); +}); diff --git a/packages/bundle-size/src/utils/getRemoteReport.js b/packages/bundle-size/src/utils/getRemoteReport.js new file mode 100644 index 00000000000000..8ac3602ae4f7b2 --- /dev/null +++ b/packages/bundle-size/src/utils/getRemoteReport.js @@ -0,0 +1,44 @@ +const chalk = require('chalk'); +const { default: fetch } = require('node-fetch'); + +const MAX_HTTP_ATTEMPT_COUNT = 5; +const REPORT_API_ENDPOINT = `https://fluentbundlesize.azurewebsites.net/api/latest`; + +/** + * Grabs data for a branch from Azure Table Storage. + * + * @param {string} branch + * @param {number} attempt + * + * @return {Promise<{ commitSHA: string, remoteReport: import("../utils/collectLocalReport").BundleSizeReport}>} + */ +module.exports = async function getRemoteReport(branch, attempt = 1) { + try { + const response = await fetch(`${REPORT_API_ENDPOINT}?branch=${branch}`); + /** @type {(import("../utils/collectLocalReport").BundleSizeReportEntry & {commitSHA: string})[]} */ + const result = await response.json(); + + /** @type {import("../utils/collectLocalReport").BundleSizeReport} */ + const remoteReport = result.map(entity => { + const { commitSHA: _, ...rest } = entity; + return rest; + }); + const { commitSHA } = result[result.length - 1]; + + return { commitSHA, remoteReport }; + } catch (e) { + console.log([chalk.yellow('[w]'), e.toString()].join(' ')); + console.log([chalk.yellow('[w]'), 'Failed to fetch report from the remote. Retrying...'].join(' ')); + + if (attempt >= MAX_HTTP_ATTEMPT_COUNT) { + console.error( + [chalk.red('[e]'), 'Exceeded 5 attempts to fetch reports, please check previously reported warnings...'].join( + ' ', + ), + ); + process.exit(1); + } + + return getRemoteReport(branch, attempt + 1); + } +}; diff --git a/packages/bundle-size/src/utils/getRemoteReport.test.js b/packages/bundle-size/src/utils/getRemoteReport.test.js new file mode 100644 index 00000000000000..6a955874dc1da9 --- /dev/null +++ b/packages/bundle-size/src/utils/getRemoteReport.test.js @@ -0,0 +1,52 @@ +const fetch = jest.fn(); +jest.mock('node-fetch', () => ({ + default: fetch, +})); + +const sampleReport = require('../../__fixture__/sampleReport'); +const getRemoteReport = require('./getRemoteReport'); + +function noop() { + /* does nothing */ +} + +describe('getRemoteReport', () => { + beforeEach(() => { + jest.resetAllMocks(); + }); + + it('fetches a remote report', async () => { + /** @type {Partial} */ + const value = { + json: () => { + return Promise.resolve(sampleReport); + }, + }; + fetch.mockImplementation(() => Promise.resolve(value)); + + const { remoteReport } = await getRemoteReport('main'); + + expect(fetch).toHaveBeenCalledTimes(1); + expect(remoteReport).toEqual(sampleReport); + }); + + it('retries to fetch a report', async () => { + /** @type {Partial} */ + const value = { + json: () => { + return Promise.resolve(sampleReport); + }, + }; + fetch + .mockImplementationOnce(() => Promise.reject(new Error('A fetch error'))) + .mockImplementationOnce(() => Promise.reject(new Error('A fetch error'))) + .mockImplementation(() => Promise.resolve(value)); + + jest.spyOn(console, 'log').mockImplementation(noop); + + const { remoteReport } = await getRemoteReport('main'); + + expect(fetch).toHaveBeenCalledTimes(3); + expect(remoteReport).toEqual(sampleReport); + }); +}); diff --git a/packages/bundle-size/src/utils/helpers.js b/packages/bundle-size/src/utils/helpers.js index 533521abe534a1..0eb86e6184004f 100644 --- a/packages/bundle-size/src/utils/helpers.js +++ b/packages/bundle-size/src/utils/helpers.js @@ -1,3 +1,14 @@ +const prettyBytes = require('pretty-bytes'); + +/** + * @param {number} value + * + * @return {string} + */ +function formatBytes(value) { + return prettyBytes(value, { maximumFractionDigits: 3 }); +} + /** * @param {[number, number]} hrtime * @return {string} @@ -9,5 +20,6 @@ function hrToSeconds(hrtime) { } module.exports = { + formatBytes, hrToSeconds, }; diff --git a/packages/bundle-size/src/utils/prepareFixture.js b/packages/bundle-size/src/utils/prepareFixture.js index 2162982181a268..692df0def4c9cb 100644 --- a/packages/bundle-size/src/utils/prepareFixture.js +++ b/packages/bundle-size/src/utils/prepareFixture.js @@ -1,6 +1,6 @@ const { default: Ajv } = require('ajv'); const Babel = require('@babel/core'); -const fs = require('fs-extra'); +const fs = require('fs').promises; const path = require('path'); const fixtureSchema = require('../schema.json'); @@ -18,9 +18,9 @@ const ajv = new Ajv(); */ module.exports = async function prepareFixture(fixture) { const sourceFixturePath = path.resolve(process.cwd(), fixture); - const sourceFixtureCode = (await fs.promises.readFile(sourceFixturePath)).toString(); + const sourceFixtureCode = await fs.readFile(sourceFixturePath, 'utf8'); - const result = await Babel.transformAsync(sourceFixtureCode.toString(), { + const result = await Babel.transformAsync(sourceFixtureCode, { ast: false, code: true, @@ -54,21 +54,32 @@ module.exports = async function prepareFixture(fixture) { ], }); - if (!result || !result.metadata) { - // TODO: proper error reporting - throw new Error(); + /** + * @param {typeof result} value + * @return {value is Required> & {metadata: FixtureMetadata}} + */ + function isTransformedFixtureResultHasMetadata(value) { + return Boolean(value && value.metadata && Object.keys(value.metadata).length); + } + + if (!isTransformedFixtureResultHasMetadata(result)) { + throw new Error( + [ + 'A fixture file should contain a default export with metadata.', + "For example: export default { name: 'Test fixture' }", + ].join('\n'), + ); } const outputFixturePath = path.resolve(process.cwd(), 'dist', fixture); - await fs.outputFile(outputFixturePath, result.code); - const metadata = /** @type {unknown} */ (result.metadata); - const { name } = /** @type {FixtureMetadata} */ (metadata); + await fs.mkdir(path.dirname(outputFixturePath), { recursive: true }); + await fs.writeFile(outputFixturePath, result.code); return { absolutePath: outputFixturePath, relativePath: fixture, - name, + name: result.metadata.name, }; }; diff --git a/packages/bundle-size/src/utils/prepareFixture.test.js b/packages/bundle-size/src/utils/prepareFixture.test.js new file mode 100644 index 00000000000000..e91bb1501a7c01 --- /dev/null +++ b/packages/bundle-size/src/utils/prepareFixture.test.js @@ -0,0 +1,63 @@ +const fs = require('fs').promises; +const path = require('path'); +const process = require('process'); +const tmp = require('tmp'); + +const prepareFixture = require('./prepareFixture'); + +/** + * @param {string} fixtureContent + * @return {Promise} Returns a relative path to a temporary fixture + */ +async function setup(fixtureContent) { + const packageDir = tmp.dirSync({ prefix: 'prepareFixture', unsafeCleanup: true }); + + const spy = jest.spyOn(process, 'cwd'); + spy.mockReturnValue(packageDir.name); + + const fixtureDir = tmp.dirSync({ dir: packageDir.name, name: 'bundle-size', unsafeCleanup: true }); + const fixture = tmp.fileSync({ dir: fixtureDir.name, name: 'test-fixture.js' }); + + await fs.writeFile(fixture.name, fixtureContent); + + return path.relative(packageDir.name, fixture.name); +} + +describe('prepareFixture', () => { + beforeEach(() => { + jest.resetAllMocks(); + }); + + it('reads & removes metadata from a fixture file, writes it to "/dist"', async () => { + const fixturePath = await setup(`import Component from '@fluentui/react-component'; +export default { name: 'Test fixture' } +`); + const fixtureData = await prepareFixture(fixturePath); + + expect(fixtureData.relativePath).toMatch(/bundle-size[\\|/]test-fixture.js/); + expect(fixtureData.name).toBe('Test fixture'); + + expect(await fs.readFile(fixtureData.absolutePath, 'utf8')).toMatchInlineSnapshot( + `"import Component from '@fluentui/react-component';"`, + ); + }); + + it('throws when metadata is not valid', async () => { + const fixturePath = await setup(`import Component from '@fluentui/react-component'; +export default { foo: 'bar' } +`); + + await expect(prepareFixture(fixturePath)).rejects.toMatchInlineSnapshot( + `[Error: unknown: Validation failed for a schema in a component: data must have required property 'name']`, + ); + }); + + it('throws when metadata is missing', async () => { + const fixturePath = await setup(`import Component from '@fluentui/react-component';`); + + await expect(prepareFixture(fixturePath)).rejects.toMatchInlineSnapshot(` + [Error: A fixture file should contain a default export with metadata. + For example: export default { name: 'Test fixture' }] + `); + }); +}); diff --git a/packages/bundle-size/src/utils/sortComparedReport.js b/packages/bundle-size/src/utils/sortComparedReport.js new file mode 100644 index 00000000000000..0c9648f92a03d5 --- /dev/null +++ b/packages/bundle-size/src/utils/sortComparedReport.js @@ -0,0 +1,16 @@ +/** + * @param {import('../utils/compareResultsInReports').ComparedReportEntry} a + * @param {import('../utils/compareResultsInReports').ComparedReportEntry} b + */ +function compareReports(a, b) { + return a.packageName.localeCompare(b.packageName) || a.path.localeCompare(b.path); +} + +/** + * Sorts entries in a report by "packageName" & "path". + * + * @param {import('../utils/compareResultsInReports').ComparedReport} report + */ +module.exports = function sortComparedReport(report) { + return report.slice().sort(compareReports); +}; diff --git a/packages/bundle-size/src/utils/sortComparedReport.test.js b/packages/bundle-size/src/utils/sortComparedReport.test.js new file mode 100644 index 00000000000000..d080f398a631bc --- /dev/null +++ b/packages/bundle-size/src/utils/sortComparedReport.test.js @@ -0,0 +1,18 @@ +const { emptyDiff } = require('./compareResultsInReports'); +const sortComparedReport = require('./sortComparedReport'); + +describe('sortComparedReport', () => { + it('sorts a report by "packageName" & "path', () => { + /** @type {import('../utils/compareResultsInReports').ComparedReport} */ + const report = [ + { packageName: 'bcd', name: 'BCD-B', path: 'bcd-b.js', minifiedSize: 0, gzippedSize: 0, diff: emptyDiff }, + { packageName: 'bcd', name: 'BCD-A', path: 'bcd-a.js', minifiedSize: 0, gzippedSize: 0, diff: emptyDiff }, + { packageName: 'abc', name: 'ABC', path: 'abc.js', minifiedSize: 0, gzippedSize: 0, diff: emptyDiff }, + ]; + const actual = sortComparedReport(report); + + expect(actual[0]).toEqual(report[2]); + expect(actual[1]).toEqual(report[1]); + expect(actual[2]).toEqual(report[0]); + }); +}); diff --git a/packages/bundle-size/tsconfig.json b/packages/bundle-size/tsconfig.json index 9d3f18db20337d..89ace2d81a507c 100644 --- a/packages/bundle-size/tsconfig.json +++ b/packages/bundle-size/tsconfig.json @@ -5,7 +5,7 @@ "checkJs": true, "noEmit": true, "resolveJsonModule": true, - "types": ["node"] + "types": ["jest", "node"] }, - "include": ["src/**/*.js"] + "include": ["src/**/*.js", "__fixture__/*.js"] } diff --git a/packages/codemods/CHANGELOG.json b/packages/codemods/CHANGELOG.json index a076e1442f36c0..ce6232870a1682 100644 --- a/packages/codemods/CHANGELOG.json +++ b/packages/codemods/CHANGELOG.json @@ -1,6 +1,29 @@ { "name": "@fluentui/codemods", "entries": [ + { + "date": "Fri, 09 Jul 2021 07:39:31 GMT", + "tag": "@fluentui/codemods_v8.1.4", + "version": "8.1.4", + "comments": { + "none": [ + { + "comment": "chore: migrate packages(express,fsextra) to single version policy", + "author": "martinhochel@microsoft.com", + "commit": "18902eb64710aa6253a79781357b8390bb13665c", + "package": "@fluentui/codemods" + } + ], + "patch": [ + { + "comment": "Bump @fluentui/eslint-plugin to v1.3.2", + "author": "martinhochel@microsoft.com", + "commit": "18902eb64710aa6253a79781357b8390bb13665c", + "package": "@fluentui/codemods" + } + ] + } + }, { "date": "Wed, 30 Jun 2021 07:38:35 GMT", "tag": "@fluentui/codemods_v8.1.3", diff --git a/packages/codemods/CHANGELOG.md b/packages/codemods/CHANGELOG.md index 6dac7b60cb6aa8..f7dfbe1bef9b6c 100644 --- a/packages/codemods/CHANGELOG.md +++ b/packages/codemods/CHANGELOG.md @@ -1,9 +1,18 @@ # Change Log - @fluentui/codemods -This log was last generated on Wed, 30 Jun 2021 07:38:35 GMT and should not be manually modified. +This log was last generated on Fri, 09 Jul 2021 07:39:31 GMT and should not be manually modified. +## [8.1.4](https://github.com/microsoft/fluentui/tree/@fluentui/codemods_v8.1.4) + +Fri, 09 Jul 2021 07:39:31 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/codemods_v8.1.3..@fluentui/codemods_v8.1.4) + +### Patches + +- Bump @fluentui/eslint-plugin to v1.3.2 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com) + ## [8.1.3](https://github.com/microsoft/fluentui/tree/@fluentui/codemods_v8.1.3) Wed, 30 Jun 2021 07:38:35 GMT diff --git a/packages/codemods/package.json b/packages/codemods/package.json index 84faa39af8a608..ed62cdbf9e6fc9 100644 --- a/packages/codemods/package.json +++ b/packages/codemods/package.json @@ -1,6 +1,6 @@ { "name": "@fluentui/codemods", - "version": "8.1.3", + "version": "8.1.4", "description": "Tool enabling easy upgrades to new Fluent UI versions", "main": "lib/index.js", "typings": "lib/index.d.ts", @@ -23,11 +23,9 @@ "update-snapshots": "just-scripts jest -u" }, "devDependencies": { - "@fluentui/eslint-plugin": "^1.3.1", + "@fluentui/eslint-plugin": "^1.3.2", "@fluentui/scripts": "^1.0.0", - "@types/react": "16.9.42", - "fs-extra": "^8.1.0", - "@types/fs-extra": "^8.0.1" + "@types/react": "16.9.42" }, "dependencies": { "tslib": "^2.1.0", diff --git a/packages/common-styles/CHANGELOG.json b/packages/common-styles/CHANGELOG.json index 6ba2365d3ae525..ebcc69ce29fcb1 100644 --- a/packages/common-styles/CHANGELOG.json +++ b/packages/common-styles/CHANGELOG.json @@ -1,6 +1,36 @@ { "name": "@fluentui/common-styles", "entries": [ + { + "date": "Tue, 13 Jul 2021 07:35:36 GMT", + "tag": "@fluentui/common-styles_v1.0.12", + "version": "1.0.12", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/style-utilities to v8.2.0", + "author": "tmichon@microsoft.com", + "commit": "c9c64e89dc89e1f2abd145d132bb0624c40bd4ed", + "package": "@fluentui/common-styles" + } + ] + } + }, + { + "date": "Fri, 09 Jul 2021 07:39:31 GMT", + "tag": "@fluentui/common-styles_v1.0.11", + "version": "1.0.11", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/style-utilities to v8.1.5", + "author": "martinhochel@microsoft.com", + "commit": "18902eb64710aa6253a79781357b8390bb13665c", + "package": "@fluentui/common-styles" + } + ] + } + }, { "date": "Mon, 28 Jun 2021 07:35:16 GMT", "tag": "@fluentui/common-styles_v1.0.10", diff --git a/packages/common-styles/CHANGELOG.md b/packages/common-styles/CHANGELOG.md index 5c51c83b8f9aa4..ea1dde87ca1fa2 100644 --- a/packages/common-styles/CHANGELOG.md +++ b/packages/common-styles/CHANGELOG.md @@ -1,9 +1,27 @@ # Change Log - @fluentui/common-styles -This log was last generated on Mon, 28 Jun 2021 07:35:16 GMT and should not be manually modified. +This log was last generated on Tue, 13 Jul 2021 07:35:36 GMT and should not be manually modified. +## [1.0.12](https://github.com/microsoft/fluentui/tree/@fluentui/common-styles_v1.0.12) + +Tue, 13 Jul 2021 07:35:36 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/common-styles_v1.0.11..@fluentui/common-styles_v1.0.12) + +### Patches + +- Bump @fluentui/style-utilities to v8.2.0 ([PR #18802](https://github.com/microsoft/fluentui/pull/18802) by tmichon@microsoft.com) + +## [1.0.11](https://github.com/microsoft/fluentui/tree/@fluentui/common-styles_v1.0.11) + +Fri, 09 Jul 2021 07:39:31 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/common-styles_v1.0.10..@fluentui/common-styles_v1.0.11) + +### Patches + +- Bump @fluentui/style-utilities to v8.1.5 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com) + ## [1.0.10](https://github.com/microsoft/fluentui/tree/@fluentui/common-styles_v1.0.10) Mon, 28 Jun 2021 07:35:16 GMT diff --git a/packages/common-styles/package.json b/packages/common-styles/package.json index 6acb016379d1ef..1aa3a1b5c180ca 100644 --- a/packages/common-styles/package.json +++ b/packages/common-styles/package.json @@ -1,6 +1,6 @@ { "name": "@fluentui/common-styles", - "version": "1.0.10", + "version": "1.0.12", "description": "Common style definitions for Fluent UI React components", "repository": { "type": "git", @@ -19,6 +19,6 @@ }, "devDependencies": { "@fluentui/scripts": "^1.0.0", - "@fluentui/style-utilities": "^8.1.4" + "@fluentui/style-utilities": "^8.2.0" } } diff --git a/packages/date-time-utilities/CHANGELOG.json b/packages/date-time-utilities/CHANGELOG.json index 2030fe75d3a66e..4f23482509246d 100644 --- a/packages/date-time-utilities/CHANGELOG.json +++ b/packages/date-time-utilities/CHANGELOG.json @@ -1,6 +1,21 @@ { "name": "@fluentui/date-time-utilities", "entries": [ + { + "date": "Fri, 09 Jul 2021 07:39:31 GMT", + "tag": "@fluentui/date-time-utilities_v8.2.1", + "version": "8.2.1", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/eslint-plugin to v1.3.2", + "author": "martinhochel@microsoft.com", + "commit": "18902eb64710aa6253a79781357b8390bb13665c", + "package": "@fluentui/date-time-utilities" + } + ] + } + }, { "date": "Mon, 28 Jun 2021 07:35:16 GMT", "tag": "@fluentui/date-time-utilities_v8.2.0", diff --git a/packages/date-time-utilities/CHANGELOG.md b/packages/date-time-utilities/CHANGELOG.md index bee220588e1111..0671206030e798 100644 --- a/packages/date-time-utilities/CHANGELOG.md +++ b/packages/date-time-utilities/CHANGELOG.md @@ -1,9 +1,18 @@ # Change Log - @fluentui/date-time-utilities -This log was last generated on Mon, 28 Jun 2021 07:35:16 GMT and should not be manually modified. +This log was last generated on Fri, 09 Jul 2021 07:39:31 GMT and should not be manually modified. +## [8.2.1](https://github.com/microsoft/fluentui/tree/@fluentui/date-time-utilities_v8.2.1) + +Fri, 09 Jul 2021 07:39:31 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/date-time-utilities_v8.2.0..@fluentui/date-time-utilities_v8.2.1) + +### Patches + +- Bump @fluentui/eslint-plugin to v1.3.2 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com) + ## [8.2.0](https://github.com/microsoft/fluentui/tree/@fluentui/date-time-utilities_v8.2.0) Mon, 28 Jun 2021 07:35:16 GMT diff --git a/packages/date-time-utilities/package.json b/packages/date-time-utilities/package.json index b12e1749fbf383..872871158f21b8 100644 --- a/packages/date-time-utilities/package.json +++ b/packages/date-time-utilities/package.json @@ -1,6 +1,6 @@ { "name": "@fluentui/date-time-utilities", - "version": "8.2.0", + "version": "8.2.1", "description": "Date-time utilities", "main": "lib-commonjs/index.js", "module": "lib/index.js", @@ -23,11 +23,11 @@ "lint": "just-scripts lint" }, "devDependencies": { - "@fluentui/eslint-plugin": "^1.3.1", + "@fluentui/eslint-plugin": "^1.3.2", "@fluentui/scripts": "^1.0.0" }, "dependencies": { - "@fluentui/set-version": "^8.1.2", + "@fluentui/set-version": "^8.1.3", "tslib": "^2.1.0" } } diff --git a/packages/dom-utilities/CHANGELOG.json b/packages/dom-utilities/CHANGELOG.json index 719781737ffe65..bed1701b5a12dd 100644 --- a/packages/dom-utilities/CHANGELOG.json +++ b/packages/dom-utilities/CHANGELOG.json @@ -1,6 +1,21 @@ { "name": "@fluentui/dom-utilities", "entries": [ + { + "date": "Fri, 09 Jul 2021 07:39:31 GMT", + "tag": "@fluentui/dom-utilities_v2.1.3", + "version": "2.1.3", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/eslint-plugin to v1.3.2", + "author": "martinhochel@microsoft.com", + "commit": "18902eb64710aa6253a79781357b8390bb13665c", + "package": "@fluentui/dom-utilities" + } + ] + } + }, { "date": "Mon, 07 Jun 2021 07:38:15 GMT", "tag": "@fluentui/dom-utilities_v2.1.2", diff --git a/packages/dom-utilities/CHANGELOG.md b/packages/dom-utilities/CHANGELOG.md index a1de1a411edba6..eb73603ae6d707 100644 --- a/packages/dom-utilities/CHANGELOG.md +++ b/packages/dom-utilities/CHANGELOG.md @@ -1,9 +1,18 @@ # Change Log - @fluentui/dom-utilities -This log was last generated on Mon, 07 Jun 2021 07:38:15 GMT and should not be manually modified. +This log was last generated on Fri, 09 Jul 2021 07:39:31 GMT and should not be manually modified. +## [2.1.3](https://github.com/microsoft/fluentui/tree/@fluentui/dom-utilities_v2.1.3) + +Fri, 09 Jul 2021 07:39:31 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/dom-utilities_v2.1.2..@fluentui/dom-utilities_v2.1.3) + +### Patches + +- Bump @fluentui/eslint-plugin to v1.3.2 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com) + ## [2.1.2](https://github.com/microsoft/fluentui/tree/@fluentui/dom-utilities_v2.1.2) Mon, 07 Jun 2021 07:38:15 GMT diff --git a/packages/dom-utilities/package.json b/packages/dom-utilities/package.json index e0d8e82473b62e..072e297efa87c9 100644 --- a/packages/dom-utilities/package.json +++ b/packages/dom-utilities/package.json @@ -1,6 +1,6 @@ { "name": "@fluentui/dom-utilities", - "version": "2.1.2", + "version": "2.1.3", "description": "DOM utilities for use within Fluent web components", "main": "lib-commonjs/index.js", "module": "lib/index.js", @@ -23,11 +23,11 @@ "test": "just-scripts test" }, "devDependencies": { - "@fluentui/eslint-plugin": "^1.3.1", + "@fluentui/eslint-plugin": "^1.3.2", "@fluentui/scripts": "^1.0.0" }, "dependencies": { - "@fluentui/set-version": "^8.1.2", + "@fluentui/set-version": "^8.1.3", "tslib": "^2.1.0" } } diff --git a/packages/eslint-plugin/CHANGELOG.json b/packages/eslint-plugin/CHANGELOG.json index 75a67d0425fa97..be891c6f354321 100644 --- a/packages/eslint-plugin/CHANGELOG.json +++ b/packages/eslint-plugin/CHANGELOG.json @@ -1,6 +1,21 @@ { "name": "@fluentui/eslint-plugin", "entries": [ + { + "date": "Fri, 09 Jul 2021 07:39:31 GMT", + "tag": "@fluentui/eslint-plugin_v1.3.2", + "version": "1.3.2", + "comments": { + "patch": [ + { + "comment": "chore: migrate packages(mostly eslint related) to single version policy", + "author": "martinhochel@microsoft.com", + "commit": "18902eb64710aa6253a79781357b8390bb13665c", + "package": "@fluentui/eslint-plugin" + } + ] + } + }, { "date": "Mon, 07 Jun 2021 07:38:15 GMT", "tag": "@fluentui/eslint-plugin_v1.3.1", diff --git a/packages/eslint-plugin/CHANGELOG.md b/packages/eslint-plugin/CHANGELOG.md index af7f2345c0043b..a47f33140143e9 100644 --- a/packages/eslint-plugin/CHANGELOG.md +++ b/packages/eslint-plugin/CHANGELOG.md @@ -1,9 +1,18 @@ # Change Log - @fluentui/eslint-plugin -This log was last generated on Mon, 07 Jun 2021 07:38:15 GMT and should not be manually modified. +This log was last generated on Fri, 09 Jul 2021 07:39:31 GMT and should not be manually modified. +## [1.3.2](https://github.com/microsoft/fluentui/tree/@fluentui/eslint-plugin_v1.3.2) + +Fri, 09 Jul 2021 07:39:31 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/eslint-plugin_v1.3.1..@fluentui/eslint-plugin_v1.3.2) + +### Patches + +- chore: migrate packages(mostly eslint related) to single version policy ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com) + ## [1.3.1](https://github.com/microsoft/fluentui/tree/@fluentui/eslint-plugin_v1.3.1) Mon, 07 Jun 2021 07:38:15 GMT diff --git a/packages/eslint-plugin/package.json b/packages/eslint-plugin/package.json index 165085904cae2d..ad75e7a7f0ee79 100644 --- a/packages/eslint-plugin/package.json +++ b/packages/eslint-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@fluentui/eslint-plugin", - "version": "1.3.1", + "version": "1.3.2", "description": "ESLint configuration and custom rules for Fluent UI", "main": "src/index.js", "repository": { @@ -15,20 +15,17 @@ "@typescript-eslint/eslint-plugin": "^4.22.0", "@typescript-eslint/experimental-utils": "^4.22.0", "@typescript-eslint/parser": "^4.22.0", - "eslint-config-airbnb": "^18.1.0", + "eslint-config-airbnb": "^18.2.1", "eslint-config-prettier": "^8.3.0", "eslint-import-resolver-typescript": "^2.4.0", "eslint-plugin-deprecation": "^1.2.1", "eslint-plugin-import": "^2.22.1", "eslint-plugin-jest": "^23.13.2", - "eslint-plugin-jsx-a11y": "^6.2.3", - "eslint-plugin-react": "^7.20.0", + "eslint-plugin-jsx-a11y": "^6.4.1", + "eslint-plugin-react": "^7.24.0", "eslint-plugin-react-hooks": "^4.2.0", "jju": "^1.4.0" }, - "devDependencies": { - "@types/eslint": "7.2.10" - }, "peerDependencies": { "eslint": "^7.0.0", "typescript": "^4.1.0" diff --git a/packages/eslint-plugin/src/configs/react.js b/packages/eslint-plugin/src/configs/react.js index 0ec89f3e2662a6..3110c027aed2e1 100644 --- a/packages/eslint-plugin/src/configs/react.js +++ b/packages/eslint-plugin/src/configs/react.js @@ -220,6 +220,7 @@ const config = { 'react/sort-comp': 'off', 'react/state-in-constructor': 'off', 'react/static-property-placement': 'off', + 'react/require-default-props': 'off', 'spaced-comment': 'off', // airbnb options ban for-of which is unnecessary for TS and modern node (https://github.com/airbnb/javascript/blob/master/packages/eslint-config-airbnb-base/rules/style.js#L334) diff --git a/packages/example-data/CHANGELOG.json b/packages/example-data/CHANGELOG.json index 40d4f2114241f1..41031234851cb3 100644 --- a/packages/example-data/CHANGELOG.json +++ b/packages/example-data/CHANGELOG.json @@ -1,6 +1,21 @@ { "name": "@fluentui/example-data", "entries": [ + { + "date": "Fri, 09 Jul 2021 07:39:31 GMT", + "tag": "@fluentui/example-data_v8.2.4", + "version": "8.2.4", + "comments": { + "patch": [ + { + "comment": "Bump @fluentui/eslint-plugin to v1.3.2", + "author": "martinhochel@microsoft.com", + "commit": "18902eb64710aa6253a79781357b8390bb13665c", + "package": "@fluentui/example-data" + } + ] + } + }, { "date": "Mon, 07 Jun 2021 07:38:15 GMT", "tag": "@fluentui/example-data_v8.2.3", diff --git a/packages/example-data/CHANGELOG.md b/packages/example-data/CHANGELOG.md index 9d88af8d2cb038..f87924e3448c21 100644 --- a/packages/example-data/CHANGELOG.md +++ b/packages/example-data/CHANGELOG.md @@ -1,9 +1,18 @@ # Change Log - @fluentui/example-data -This log was last generated on Mon, 07 Jun 2021 07:38:15 GMT and should not be manually modified. +This log was last generated on Fri, 09 Jul 2021 07:39:31 GMT and should not be manually modified. +## [8.2.4](https://github.com/microsoft/fluentui/tree/@fluentui/example-data_v8.2.4) + +Fri, 09 Jul 2021 07:39:31 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/example-data_v8.2.3..@fluentui/example-data_v8.2.4) + +### Patches + +- Bump @fluentui/eslint-plugin to v1.3.2 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com) + ## [8.2.3](https://github.com/microsoft/fluentui/tree/@fluentui/example-data_v8.2.3) Mon, 07 Jun 2021 07:38:15 GMT diff --git a/packages/example-data/package.json b/packages/example-data/package.json index ae3e9bbba928a8..b54e2e144c8d09 100644 --- a/packages/example-data/package.json +++ b/packages/example-data/package.json @@ -1,6 +1,6 @@ { "name": "@fluentui/example-data", - "version": "8.2.3", + "version": "8.2.4", "description": "Data generators for Fluent UI React examples.", "main": "lib-commonjs/index.js", "module": "lib/index.js", @@ -20,7 +20,7 @@ "just": "just-scripts" }, "devDependencies": { - "@fluentui/eslint-plugin": "^1.3.1", + "@fluentui/eslint-plugin": "^1.3.2", "@fluentui/scripts": "^1.0.0" }, "dependencies": { diff --git a/packages/fluentui/CHANGELOG.md b/packages/fluentui/CHANGELOG.md index 35a168208b417a..d08bdd79ee1082 100644 --- a/packages/fluentui/CHANGELOG.md +++ b/packages/fluentui/CHANGELOG.md @@ -20,6 +20,17 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm ### Fixes - Fix `Carousel` animation in controlled mode @assuncaocharles ([#18798](https://github.com/microsoft/fluentui/pull/18798)) +- Wrap ChatMessage header elements correctly @Hirse ([#18837](https://github.com/microsoft/fluentui/pull/18837)) +- Align ChatMessageDetails color with ChatMessage header @Hirse ([#18840](https://github.com/microsoft/fluentui/pull/18840)) +- Fix Timestamp colors for dark and both v2 themes @Hirse ([#18841](https://github.com/microsoft/fluentui/pull/18841)) +- Fix compact hover background in dark themes @Hirse ([#18842](https://github.com/microsoft/fluentui/pull/18842)) +- Fix children conflict with compactBody in `ChatMessage` @chassunc ([#18874](https://github.com/microsoft/fluentui/pull/18874)) +- Fix `Tooltip` trigger order of props being spread @chassunc ([#18875](https://github.com/microsoft/fluentui/pull/18875)) +- Ensure wide content fits in compact ChatMessage @Hirse ([#18871](https://github.com/microsoft/fluentui/pull/18871)) +- Adding back data-is-focusable attribute for `menuitem` @kolaps33 ([#18934](https://github.com/microsoft/fluentui/pull/18934)) + +### Features +- Add Onyx 600, Silver 100 to color palette and some color tokens @codepretty ([#18827](https://github.com/microsoft/fluentui/pull/18827)) diff --git a/packages/fluentui/accessibility/src/behaviors/Menu/menuItemBehavior.ts b/packages/fluentui/accessibility/src/behaviors/Menu/menuItemBehavior.ts index d651ca222ab39c..cd8952c5e551fb 100644 --- a/packages/fluentui/accessibility/src/behaviors/Menu/menuItemBehavior.ts +++ b/packages/fluentui/accessibility/src/behaviors/Menu/menuItemBehavior.ts @@ -1,5 +1,6 @@ import { keyboardKey, SpacebarKey } from '../../keyboard-key'; +import { IS_FOCUSABLE_ATTRIBUTE } from '../../attributes'; import { Accessibility, AccessibilityAttributes } from '../../types'; /** @@ -16,6 +17,7 @@ import { Accessibility, AccessibilityAttributes } from '../../types'; * Adds attribute 'aria-expanded=true' based on the property 'menuOpen' if the component has 'hasMenu' property to 'root' slot. * Adds attribute 'aria-haspopup=true' to 'root' slot if 'hasMenu' property is set. * Adds attribute 'aria-disabled=true' based on the property 'disabled'. This can be overriden by providing 'aria-disabled' property directly to the component. + * Adds attribute 'data-is-focusable=true' to 'root' slot. * Triggers 'performClick' action with 'Enter' or 'Spacebar' on 'root'. * Triggers 'closeMenuAndFocusTrigger' action with 'Escape' on 'wrapper'. * Triggers 'closeAllMenusAndFocusNextParentItem' action with 'ArrowRight' on 'wrapper'. @@ -37,6 +39,7 @@ export const menuItemBehavior: Accessibility = props => ( 'aria-labelledby': props['aria-labelledby'], 'aria-describedby': props['aria-describedby'], 'aria-disabled': props.disabled, + [IS_FOCUSABLE_ATTRIBUTE]: true, }, }, diff --git a/packages/fluentui/accessibility/src/behaviors/Tab/tabBehavior.ts b/packages/fluentui/accessibility/src/behaviors/Tab/tabBehavior.ts index c80757eb80e5c9..b854e34af2075f 100644 --- a/packages/fluentui/accessibility/src/behaviors/Tab/tabBehavior.ts +++ b/packages/fluentui/accessibility/src/behaviors/Tab/tabBehavior.ts @@ -1,5 +1,6 @@ import { keyboardKey, SpacebarKey } from '../../keyboard-key'; +import { IS_FOCUSABLE_ATTRIBUTE } from '../../attributes'; import { Accessibility, AccessibilityAttributes } from '../../types'; /** @@ -14,6 +15,7 @@ import { Accessibility, AccessibilityAttributes } from '../../types'; * Adds attribute 'aria-controls' based on the property 'aria-controls' to 'root' slot. * Adds attribute 'aria-disabled=true' based on the property 'disabled'. This can be overriden by providing 'aria-disabled' property directly to the component. * Triggers 'performClick' action with 'Enter' or 'Spacebar' on 'root'. + * Adds attribute 'data-is-focusable=true' to 'root' slot. */ export const tabBehavior: Accessibility = props => ({ attributes: { @@ -29,6 +31,7 @@ export const tabBehavior: Accessibility = props => ({ 'aria-describedby': props['aria-describedby'], 'aria-controls': props['aria-controls'], 'aria-disabled': props['disabled'], + [IS_FOCUSABLE_ATTRIBUTE]: true, }, }, diff --git a/packages/fluentui/accessibility/src/behaviors/Toolbar/menuItemAsToolbarButtonBehavior.ts b/packages/fluentui/accessibility/src/behaviors/Toolbar/menuItemAsToolbarButtonBehavior.ts index c5e0d9ec4145fd..de37a63a761cea 100644 --- a/packages/fluentui/accessibility/src/behaviors/Toolbar/menuItemAsToolbarButtonBehavior.ts +++ b/packages/fluentui/accessibility/src/behaviors/Toolbar/menuItemAsToolbarButtonBehavior.ts @@ -1,5 +1,6 @@ import { keyboardKey, SpacebarKey } from '../../keyboard-key'; +import { IS_FOCUSABLE_ATTRIBUTE } from '../../attributes'; import { Accessibility } from '../../types'; import { MenuItemBehaviorProps } from '../Menu/menuItemBehavior'; @@ -20,6 +21,7 @@ import { MenuItemBehaviorProps } from '../Menu/menuItemBehavior'; * Triggers 'closeMenuAndFocusTrigger' action with 'Escape' on 'wrapper'. * Triggers 'openMenu' action with 'ArrowDown' on 'wrapper', when orientation is horizontal. * Triggers 'doNotNavigateNextParentItem' action with 'ArrowLeft' or 'ArrowRight' on 'wrapper', when toolbar button has submenu and it is opened. + * Adds attribute 'data-is-focusable=true' to 'root' slot. */ export const menuItemAsToolbarButtonBehavior: Accessibility = props => ({ attributes: { @@ -34,6 +36,7 @@ export const menuItemAsToolbarButtonBehavior: Accessibility ( + <> + } + content={ + <> +
Hello from inner popup!
+ + } + /> +