From a7d086657d521ac4acf15a40fa7c281605e78182 Mon Sep 17 00:00:00 2001 From: Fluent UI Build Date: Wed, 18 Dec 2024 07:20:48 +0000 Subject: [PATCH 1/8] release: applying package updates - react v8 --- ...-4c197bf1-3dca-480d-aa17-d97a170246ff.json | 7 ------- ...-6dbae5bf-a46a-4276-a3bf-3629fd5542ec.json | 7 ------- packages/charts/react-charting/CHANGELOG.json | 21 +++++++++++++++++++ packages/charts/react-charting/CHANGELOG.md | 12 ++++++++++- packages/charts/react-charting/package.json | 2 +- .../react-docsite-components/CHANGELOG.json | 15 +++++++++++++ .../react-docsite-components/CHANGELOG.md | 11 +++++++++- .../react-docsite-components/package.json | 4 ++-- packages/react-examples/package.json | 4 ++-- packages/react-monaco-editor/CHANGELOG.json | 15 +++++++++++++ packages/react-monaco-editor/CHANGELOG.md | 11 +++++++++- packages/react-monaco-editor/package.json | 4 ++-- 12 files changed, 89 insertions(+), 24 deletions(-) delete mode 100644 change/@fluentui-react-charting-4c197bf1-3dca-480d-aa17-d97a170246ff.json delete mode 100644 change/@fluentui-react-charting-6dbae5bf-a46a-4276-a3bf-3629fd5542ec.json diff --git a/change/@fluentui-react-charting-4c197bf1-3dca-480d-aa17-d97a170246ff.json b/change/@fluentui-react-charting-4c197bf1-3dca-480d-aa17-d97a170246ff.json deleted file mode 100644 index 34b3c04ac4b88..0000000000000 --- a/change/@fluentui-react-charting-4c197bf1-3dca-480d-aa17-d97a170246ff.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "type": "patch", - "comment": "Enabled Multi Select behaviour of Controlled legends", - "packageName": "@fluentui/react-charting", - "email": "74965306+Anush2303@users.noreply.github.com", - "dependentChangeType": "patch" -} diff --git a/change/@fluentui-react-charting-6dbae5bf-a46a-4276-a3bf-3629fd5542ec.json b/change/@fluentui-react-charting-6dbae5bf-a46a-4276-a3bf-3629fd5542ec.json deleted file mode 100644 index a0777944ad418..0000000000000 --- a/change/@fluentui-react-charting-6dbae5bf-a46a-4276-a3bf-3629fd5542ec.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "type": "patch", - "comment": "Mode check for declarative area chart ", - "packageName": "@fluentui/react-charting", - "email": "120183316+srmukher@users.noreply.github.com", - "dependentChangeType": "patch" -} diff --git a/packages/charts/react-charting/CHANGELOG.json b/packages/charts/react-charting/CHANGELOG.json index 11453229424e1..acee1140b5f49 100644 --- a/packages/charts/react-charting/CHANGELOG.json +++ b/packages/charts/react-charting/CHANGELOG.json @@ -1,6 +1,27 @@ { "name": "@fluentui/react-charting", "entries": [ + { + "date": "Wed, 18 Dec 2024 07:20:30 GMT", + "tag": "@fluentui/react-charting_v5.23.27", + "version": "5.23.27", + "comments": { + "patch": [ + { + "author": "74965306+Anush2303@users.noreply.github.com", + "package": "@fluentui/react-charting", + "commit": "870fdfd57db59eb0c549c6c12645fc50130970a4", + "comment": "Enabled Multi Select behaviour of Controlled legends" + }, + { + "author": "120183316+srmukher@users.noreply.github.com", + "package": "@fluentui/react-charting", + "commit": "835c01b1fd7bcdf86d28f95963950e0e5285319c", + "comment": "Mode check for declarative area chart " + } + ] + } + }, { "date": "Tue, 17 Dec 2024 07:21:19 GMT", "tag": "@fluentui/react-charting_v5.23.26", diff --git a/packages/charts/react-charting/CHANGELOG.md b/packages/charts/react-charting/CHANGELOG.md index 7388bff98d2af..72c5d609b0da2 100644 --- a/packages/charts/react-charting/CHANGELOG.md +++ b/packages/charts/react-charting/CHANGELOG.md @@ -1,9 +1,19 @@ # Change Log - @fluentui/react-charting -This log was last generated on Tue, 17 Dec 2024 07:21:19 GMT and should not be manually modified. +This log was last generated on Wed, 18 Dec 2024 07:20:30 GMT and should not be manually modified. +## [5.23.27](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.23.27) + +Wed, 18 Dec 2024 07:20:30 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.23.26..@fluentui/react-charting_v5.23.27) + +### Patches + +- Enabled Multi Select behaviour of Controlled legends ([PR #33479](https://github.com/microsoft/fluentui/pull/33479) by 74965306+Anush2303@users.noreply.github.com) +- Mode check for declarative area chart ([PR #33467](https://github.com/microsoft/fluentui/pull/33467) by 120183316+srmukher@users.noreply.github.com) + ## [5.23.26](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.23.26) Tue, 17 Dec 2024 07:21:19 GMT diff --git a/packages/charts/react-charting/package.json b/packages/charts/react-charting/package.json index e8a8153a40fbe..e78fef53be50f 100644 --- a/packages/charts/react-charting/package.json +++ b/packages/charts/react-charting/package.json @@ -1,6 +1,6 @@ { "name": "@fluentui/react-charting", - "version": "5.23.26", + "version": "5.23.27", "description": "React web charting controls for Microsoft fluentui system.", "main": "lib-commonjs/index.js", "module": "lib/index.js", diff --git a/packages/react-docsite-components/CHANGELOG.json b/packages/react-docsite-components/CHANGELOG.json index 09691d11612a6..8b4cca059f34c 100644 --- a/packages/react-docsite-components/CHANGELOG.json +++ b/packages/react-docsite-components/CHANGELOG.json @@ -1,6 +1,21 @@ { "name": "@fluentui/react-docsite-components", "entries": [ + { + "date": "Wed, 18 Dec 2024 07:20:30 GMT", + "tag": "@fluentui/react-docsite-components_v8.13.147", + "version": "8.13.147", + "comments": { + "patch": [ + { + "author": "beachball", + "package": "@fluentui/react-docsite-components", + "comment": "Bump @fluentui/react-monaco-editor to v1.7.265", + "commit": "6bcbe87a1b1d876c1437a6ae13818f265e5bb5c6" + } + ] + } + }, { "date": "Tue, 17 Dec 2024 07:21:19 GMT", "tag": "@fluentui/react-docsite-components_v8.13.146", diff --git a/packages/react-docsite-components/CHANGELOG.md b/packages/react-docsite-components/CHANGELOG.md index 76711da2c3c31..0863e3108f4ec 100644 --- a/packages/react-docsite-components/CHANGELOG.md +++ b/packages/react-docsite-components/CHANGELOG.md @@ -1,9 +1,18 @@ # Change Log - @fluentui/react-docsite-components -This log was last generated on Tue, 17 Dec 2024 07:21:19 GMT and should not be manually modified. +This log was last generated on Wed, 18 Dec 2024 07:20:30 GMT and should not be manually modified. +## [8.13.147](https://github.com/microsoft/fluentui/tree/@fluentui/react-docsite-components_v8.13.147) + +Wed, 18 Dec 2024 07:20:30 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-docsite-components_v8.13.146..@fluentui/react-docsite-components_v8.13.147) + +### Patches + +- Bump @fluentui/react-monaco-editor to v1.7.265 ([PR #33440](https://github.com/microsoft/fluentui/pull/33440) by beachball) + ## [8.13.146](https://github.com/microsoft/fluentui/tree/@fluentui/react-docsite-components_v8.13.146) Tue, 17 Dec 2024 07:21:19 GMT diff --git a/packages/react-docsite-components/package.json b/packages/react-docsite-components/package.json index ce73985e3ec1f..332e0c7d90785 100644 --- a/packages/react-docsite-components/package.json +++ b/packages/react-docsite-components/package.json @@ -1,6 +1,6 @@ { "name": "@fluentui/react-docsite-components", - "version": "8.13.146", + "version": "8.13.147", "description": "Fluent UI React components for building documentation sites.", "main": "lib-commonjs/index.js", "module": "lib/index.js", @@ -42,7 +42,7 @@ "@fluentui/public-docsite-setup": "^0.3.34", "@fluentui/react-hooks": "^8.8.16", "@fluentui/set-version": "^8.2.23", - "@fluentui/react-monaco-editor": "^1.7.264", + "@fluentui/react-monaco-editor": "^1.7.265", "color-check": "0.0.2", "markdown-to-jsx": "^7.0.0", "office-ui-fabric-core": "^11.0.0", diff --git a/packages/react-examples/package.json b/packages/react-examples/package.json index 00b9a3e26fb13..4d66a4561fb57 100644 --- a/packages/react-examples/package.json +++ b/packages/react-examples/package.json @@ -36,8 +36,8 @@ "@fluentui/merge-styles": "^8.6.13", "@fluentui/react": "^8.122.1", "@fluentui/react-cards": "^0.205.190", - "@fluentui/react-charting": "^5.23.26", - "@fluentui/react-docsite-components": "^8.13.146", + "@fluentui/react-charting": "^5.23.27", + "@fluentui/react-docsite-components": "^8.13.147", "@fluentui/react-experiments": "^8.14.187", "@fluentui/react-file-type-icons": "^8.12.6", "@fluentui/react-focus": "^8.9.19", diff --git a/packages/react-monaco-editor/CHANGELOG.json b/packages/react-monaco-editor/CHANGELOG.json index e5394f6bb139b..472fd9eb9e149 100644 --- a/packages/react-monaco-editor/CHANGELOG.json +++ b/packages/react-monaco-editor/CHANGELOG.json @@ -1,6 +1,21 @@ { "name": "@fluentui/react-monaco-editor", "entries": [ + { + "date": "Wed, 18 Dec 2024 07:20:30 GMT", + "tag": "@fluentui/react-monaco-editor_v1.7.265", + "version": "1.7.265", + "comments": { + "patch": [ + { + "author": "beachball", + "package": "@fluentui/react-monaco-editor", + "comment": "Bump @fluentui/react-charting to v5.23.27", + "commit": "6bcbe87a1b1d876c1437a6ae13818f265e5bb5c6" + } + ] + } + }, { "date": "Tue, 17 Dec 2024 07:21:19 GMT", "tag": "@fluentui/react-monaco-editor_v1.7.264", diff --git a/packages/react-monaco-editor/CHANGELOG.md b/packages/react-monaco-editor/CHANGELOG.md index f69526a416a45..a460be88d91fe 100644 --- a/packages/react-monaco-editor/CHANGELOG.md +++ b/packages/react-monaco-editor/CHANGELOG.md @@ -1,9 +1,18 @@ # Change Log - @fluentui/react-monaco-editor -This log was last generated on Tue, 17 Dec 2024 07:21:19 GMT and should not be manually modified. +This log was last generated on Wed, 18 Dec 2024 07:20:30 GMT and should not be manually modified. +## [1.7.265](https://github.com/microsoft/fluentui/tree/@fluentui/react-monaco-editor_v1.7.265) + +Wed, 18 Dec 2024 07:20:30 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-monaco-editor_v1.7.264..@fluentui/react-monaco-editor_v1.7.265) + +### Patches + +- Bump @fluentui/react-charting to v5.23.27 ([PR #33440](https://github.com/microsoft/fluentui/pull/33440) by beachball) + ## [1.7.264](https://github.com/microsoft/fluentui/tree/@fluentui/react-monaco-editor_v1.7.264) Tue, 17 Dec 2024 07:21:19 GMT diff --git a/packages/react-monaco-editor/package.json b/packages/react-monaco-editor/package.json index 568bc8a25022f..667690e29d7d0 100644 --- a/packages/react-monaco-editor/package.json +++ b/packages/react-monaco-editor/package.json @@ -1,6 +1,6 @@ { "name": "@fluentui/react-monaco-editor", - "version": "1.7.264", + "version": "1.7.265", "description": "Live React example editing using monaco", "main": "lib-commonjs/index.js", "module": "lib/index.js", @@ -34,7 +34,7 @@ "@fluentui/example-data": "^8.4.25", "@fluentui/monaco-editor": "^1.3.24", "@fluentui/react-hooks": "^8.8.16", - "@fluentui/react-charting": "^5.23.26", + "@fluentui/react-charting": "^5.23.27", "raw-loader": "4.0.2", "react-syntax-highlighter": "^10.1.3", "tslib": "^2.1.0" From 54afa8c6ce8f7d200d5241584801899b27baaf1b Mon Sep 17 00:00:00 2001 From: Valentyna Date: Wed, 18 Dec 2024 02:27:45 -0800 Subject: [PATCH 2/8] fix(react-color-picker): added bundle size configuration (#33483) --- .../library/bundle-size/ColorArea.fixture.js | 7 +++++++ .../library/bundle-size/ColorPicker.fixture.js | 7 +++++++ .../library/bundle-size/ColorSlider.fixture.js | 7 +++++++ 3 files changed, 21 insertions(+) create mode 100644 packages/react-components/react-color-picker-preview/library/bundle-size/ColorArea.fixture.js create mode 100644 packages/react-components/react-color-picker-preview/library/bundle-size/ColorPicker.fixture.js create mode 100644 packages/react-components/react-color-picker-preview/library/bundle-size/ColorSlider.fixture.js diff --git a/packages/react-components/react-color-picker-preview/library/bundle-size/ColorArea.fixture.js b/packages/react-components/react-color-picker-preview/library/bundle-size/ColorArea.fixture.js new file mode 100644 index 0000000000000..8a829cb2bf038 --- /dev/null +++ b/packages/react-components/react-color-picker-preview/library/bundle-size/ColorArea.fixture.js @@ -0,0 +1,7 @@ +import { ColorArea } from '@fluentui/react-color-picker-preview'; + +console.log(ColorArea); + +export default { + name: 'ColorArea', +}; diff --git a/packages/react-components/react-color-picker-preview/library/bundle-size/ColorPicker.fixture.js b/packages/react-components/react-color-picker-preview/library/bundle-size/ColorPicker.fixture.js new file mode 100644 index 0000000000000..7a0b7f9a01cf7 --- /dev/null +++ b/packages/react-components/react-color-picker-preview/library/bundle-size/ColorPicker.fixture.js @@ -0,0 +1,7 @@ +import { ColorPicker } from '@fluentui/react-color-picker-preview'; + +console.log(ColorPicker); + +export default { + name: 'ColorPicker', +}; diff --git a/packages/react-components/react-color-picker-preview/library/bundle-size/ColorSlider.fixture.js b/packages/react-components/react-color-picker-preview/library/bundle-size/ColorSlider.fixture.js new file mode 100644 index 0000000000000..ce8fbc6a05569 --- /dev/null +++ b/packages/react-components/react-color-picker-preview/library/bundle-size/ColorSlider.fixture.js @@ -0,0 +1,7 @@ +import { ColorSlider } from '@fluentui/react-color-picker-preview'; + +console.log(ColorSlider); + +export default { + name: 'ColorSlider', +}; From b59061d2bf717f833fa28c4968b9238f6fdde962 Mon Sep 17 00:00:00 2001 From: Fluent UI Build Date: Wed, 18 Dec 2024 10:59:55 +0000 Subject: [PATCH 3/8] release: applying package updates - react-components --- ...-ce4d9fc2-0bea-4c0a-9683-8e86082cd6ad.json | 7 ---- ...-0feb2146-938a-4fbf-bb2b-2d0d6b7e40b8.json | 7 ---- ...-01148df2-489e-4ed3-8b39-6a65518b17c3.json | 7 ---- ...-94e96782-4be8-468e-b1a3-0b2ac9a76c62.json | 7 ---- .../library/CHANGELOG.json | 21 ++++++++++++ .../react-charts-preview/library/CHANGELOG.md | 12 ++++++- .../react-charts-preview/library/package.json | 6 ++-- .../react-avatar/library/CHANGELOG.json | 15 +++++++++ .../react-avatar/library/CHANGELOG.md | 11 ++++++- .../react-avatar/library/package.json | 4 +-- .../react-breadcrumb/library/package.json | 2 +- .../react-components/CHANGELOG.json | 33 +++++++++++++++++++ .../react-components/CHANGELOG.md | 18 +++++++++- .../react-components/package.json | 32 +++++++++--------- .../library/CHANGELOG.json | 15 +++++++++ .../library/CHANGELOG.md | 11 ++++++- .../library/package.json | 4 +-- .../react-dialog/library/CHANGELOG.json | 15 +++++++++ .../react-dialog/library/CHANGELOG.md | 11 ++++++- .../react-dialog/library/package.json | 2 +- .../react-drawer/library/CHANGELOG.json | 15 +++++++++ .../react-drawer/library/CHANGELOG.md | 11 ++++++- .../react-drawer/library/package.json | 4 +-- .../react-infolabel/library/CHANGELOG.json | 15 +++++++++ .../react-infolabel/library/CHANGELOG.md | 11 ++++++- .../react-infolabel/library/package.json | 4 +-- .../react-menu/library/CHANGELOG.json | 15 +++++++++ .../react-menu/library/CHANGELOG.md | 11 ++++++- .../react-menu/library/package.json | 2 +- .../library/CHANGELOG.json | 15 +++++++++ .../library/CHANGELOG.md | 11 ++++++- .../library/package.json | 4 +-- .../library/CHANGELOG.json | 15 +++++++++ .../library/CHANGELOG.md | 11 ++++++- .../library/package.json | 4 +-- .../react-nav-preview/library/CHANGELOG.json | 15 +++++++++ .../react-nav-preview/library/CHANGELOG.md | 11 ++++++- .../react-nav-preview/library/package.json | 4 +-- .../react-overflow/library/package.json | 2 +- .../react-persona/library/CHANGELOG.json | 15 +++++++++ .../react-persona/library/CHANGELOG.md | 11 ++++++- .../react-persona/library/package.json | 4 +-- .../react-popover/library/CHANGELOG.json | 15 +++++++++ .../react-popover/library/CHANGELOG.md | 11 ++++++- .../react-popover/library/package.json | 2 +- .../react-portal-compat/CHANGELOG.json | 15 +++++++++ .../react-portal-compat/CHANGELOG.md | 11 ++++++- .../react-portal-compat/package.json | 4 +-- .../react-rating/library/CHANGELOG.json | 15 +++++++++ .../react-rating/library/CHANGELOG.md | 11 ++++++- .../react-rating/library/package.json | 2 +- .../react-table/library/CHANGELOG.json | 15 +++++++++ .../react-table/library/CHANGELOG.md | 11 ++++++- .../react-table/library/package.json | 4 +-- .../react-tag-picker/library/CHANGELOG.json | 15 +++++++++ .../react-tag-picker/library/CHANGELOG.md | 11 ++++++- .../react-tag-picker/library/package.json | 4 +-- .../react-tags/library/CHANGELOG.json | 15 +++++++++ .../react-tags/library/CHANGELOG.md | 11 ++++++- .../react-tags/library/package.json | 4 +-- .../library/CHANGELOG.json | 15 +++++++++ .../library/CHANGELOG.md | 11 ++++++- .../library/package.json | 4 +-- .../library/package.json | 2 +- .../react-tree/library/CHANGELOG.json | 15 +++++++++ .../react-tree/library/CHANGELOG.md | 11 ++++++- .../react-tree/library/package.json | 4 +-- .../theme-designer/package.json | 2 +- 68 files changed, 587 insertions(+), 103 deletions(-) delete mode 100644 change/@fluentui-react-dialog-ce4d9fc2-0bea-4c0a-9683-8e86082cd6ad.json delete mode 100644 change/@fluentui-react-menu-0feb2146-938a-4fbf-bb2b-2d0d6b7e40b8.json delete mode 100644 change/@fluentui-react-popover-01148df2-489e-4ed3-8b39-6a65518b17c3.json delete mode 100644 change/@fluentui-react-rating-94e96782-4be8-468e-b1a3-0b2ac9a76c62.json diff --git a/change/@fluentui-react-dialog-ce4d9fc2-0bea-4c0a-9683-8e86082cd6ad.json b/change/@fluentui-react-dialog-ce4d9fc2-0bea-4c0a-9683-8e86082cd6ad.json deleted file mode 100644 index e866173062b6b..0000000000000 --- a/change/@fluentui-react-dialog-ce4d9fc2-0bea-4c0a-9683-8e86082cd6ad.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "type": "patch", - "comment": "docs(react-dialog): Fix doc-comment links that don't translate to storybook", - "packageName": "@fluentui/react-dialog", - "email": "jiangemma@microsoft.com", - "dependentChangeType": "patch" -} diff --git a/change/@fluentui-react-menu-0feb2146-938a-4fbf-bb2b-2d0d6b7e40b8.json b/change/@fluentui-react-menu-0feb2146-938a-4fbf-bb2b-2d0d6b7e40b8.json deleted file mode 100644 index 894d69d9c5c25..0000000000000 --- a/change/@fluentui-react-menu-0feb2146-938a-4fbf-bb2b-2d0d6b7e40b8.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "type": "patch", - "comment": "docs(react-menu): Fix doc-comment links that don't translate to storybook", - "packageName": "@fluentui/react-menu", - "email": "jiangemma@microsoft.com", - "dependentChangeType": "patch" -} diff --git a/change/@fluentui-react-popover-01148df2-489e-4ed3-8b39-6a65518b17c3.json b/change/@fluentui-react-popover-01148df2-489e-4ed3-8b39-6a65518b17c3.json deleted file mode 100644 index 5d2a8de8d910a..0000000000000 --- a/change/@fluentui-react-popover-01148df2-489e-4ed3-8b39-6a65518b17c3.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "type": "patch", - "comment": "docs(react-popover): Fix doc-comment links that don't translate to storybook", - "packageName": "@fluentui/react-popover", - "email": "jiangemma@microsoft.com", - "dependentChangeType": "patch" -} diff --git a/change/@fluentui-react-rating-94e96782-4be8-468e-b1a3-0b2ac9a76c62.json b/change/@fluentui-react-rating-94e96782-4be8-468e-b1a3-0b2ac9a76c62.json deleted file mode 100644 index c8443663d4c0e..0000000000000 --- a/change/@fluentui-react-rating-94e96782-4be8-468e-b1a3-0b2ac9a76c62.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "type": "patch", - "comment": "fix: Pass missing Rating's itemLabel prop to its state so RatingItem consumes it from context.", - "packageName": "@fluentui/react-rating", - "email": "derdem@microsoft.com", - "dependentChangeType": "patch" -} diff --git a/packages/charts/react-charts-preview/library/CHANGELOG.json b/packages/charts/react-charts-preview/library/CHANGELOG.json index f78398337a67a..5a9a3eb9685df 100644 --- a/packages/charts/react-charts-preview/library/CHANGELOG.json +++ b/packages/charts/react-charts-preview/library/CHANGELOG.json @@ -1,6 +1,27 @@ { "name": "@fluentui/react-charts-preview", "entries": [ + { + "date": "Wed, 18 Dec 2024 10:59:37 GMT", + "tag": "@fluentui/react-charts-preview_v0.1.5", + "version": "0.1.5", + "comments": { + "patch": [ + { + "author": "beachball", + "package": "@fluentui/react-charts-preview", + "comment": "Bump @fluentui/react-overflow to v9.2.5", + "commit": "54afa8c6ce8f7d200d5241584801899b27baaf1b" + }, + { + "author": "beachball", + "package": "@fluentui/react-charts-preview", + "comment": "Bump @fluentui/react-popover to v9.9.29", + "commit": "54afa8c6ce8f7d200d5241584801899b27baaf1b" + } + ] + } + }, { "date": "Mon, 16 Dec 2024 16:26:49 GMT", "tag": "@fluentui/react-charts-preview_v0.1.4", diff --git a/packages/charts/react-charts-preview/library/CHANGELOG.md b/packages/charts/react-charts-preview/library/CHANGELOG.md index c0c1b0d5be098..ae5c058ec77e9 100644 --- a/packages/charts/react-charts-preview/library/CHANGELOG.md +++ b/packages/charts/react-charts-preview/library/CHANGELOG.md @@ -1,9 +1,19 @@ # Change Log - @fluentui/react-charts-preview -This log was last generated on Mon, 16 Dec 2024 16:26:49 GMT and should not be manually modified. +This log was last generated on Wed, 18 Dec 2024 10:59:37 GMT and should not be manually modified. +## [0.1.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-charts-preview_v0.1.5) + +Wed, 18 Dec 2024 10:59:37 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charts-preview_v0.1.4..@fluentui/react-charts-preview_v0.1.5) + +### Patches + +- Bump @fluentui/react-overflow to v9.2.5 ([PR #33483](https://github.com/microsoft/fluentui/pull/33483) by beachball) +- Bump @fluentui/react-popover to v9.9.29 ([PR #33483](https://github.com/microsoft/fluentui/pull/33483) by beachball) + ## [0.1.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-charts-preview_v0.1.4) Mon, 16 Dec 2024 16:26:49 GMT diff --git a/packages/charts/react-charts-preview/library/package.json b/packages/charts/react-charts-preview/library/package.json index 250d9e484aad1..32be5463b027c 100644 --- a/packages/charts/react-charts-preview/library/package.json +++ b/packages/charts/react-charts-preview/library/package.json @@ -1,6 +1,6 @@ { "name": "@fluentui/react-charts-preview", - "version": "0.1.4", + "version": "0.1.5", "description": "React web chart controls for Microsoft fluentui v9 system.", "main": "lib-commonjs/index.js", "module": "lib/index.js", @@ -39,8 +39,8 @@ "dependencies": { "@fluentui/react-button": "^9.3.98", "@fluentui/react-jsx-runtime": "^9.0.48", - "@fluentui/react-overflow": "^9.2.4", - "@fluentui/react-popover": "^9.9.28", + "@fluentui/react-overflow": "^9.2.5", + "@fluentui/react-popover": "^9.9.29", "@fluentui/react-shared-contexts": "^9.21.2", "@fluentui/react-tabster": "^9.23.2", "@fluentui/react-theme": "^9.1.24", diff --git a/packages/react-components/react-avatar/library/CHANGELOG.json b/packages/react-components/react-avatar/library/CHANGELOG.json index dc4cf46cfc47d..2566640b7b57e 100644 --- a/packages/react-components/react-avatar/library/CHANGELOG.json +++ b/packages/react-components/react-avatar/library/CHANGELOG.json @@ -1,6 +1,21 @@ { "name": "@fluentui/react-avatar", "entries": [ + { + "date": "Wed, 18 Dec 2024 10:59:37 GMT", + "tag": "@fluentui/react-avatar_v9.6.47", + "version": "9.6.47", + "comments": { + "patch": [ + { + "author": "beachball", + "package": "@fluentui/react-avatar", + "comment": "Bump @fluentui/react-popover to v9.9.29", + "commit": "54afa8c6ce8f7d200d5241584801899b27baaf1b" + } + ] + } + }, { "date": "Mon, 16 Dec 2024 16:26:49 GMT", "tag": "@fluentui/react-avatar_v9.6.46", diff --git a/packages/react-components/react-avatar/library/CHANGELOG.md b/packages/react-components/react-avatar/library/CHANGELOG.md index 4aa96a7591dc7..ffe7d5ebb1e27 100644 --- a/packages/react-components/react-avatar/library/CHANGELOG.md +++ b/packages/react-components/react-avatar/library/CHANGELOG.md @@ -1,9 +1,18 @@ # Change Log - @fluentui/react-avatar -This log was last generated on Mon, 16 Dec 2024 16:26:49 GMT and should not be manually modified. +This log was last generated on Wed, 18 Dec 2024 10:59:37 GMT and should not be manually modified. +## [9.6.47](https://github.com/microsoft/fluentui/tree/@fluentui/react-avatar_v9.6.47) + +Wed, 18 Dec 2024 10:59:37 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-avatar_v9.6.46..@fluentui/react-avatar_v9.6.47) + +### Patches + +- Bump @fluentui/react-popover to v9.9.29 ([PR #33483](https://github.com/microsoft/fluentui/pull/33483) by beachball) + ## [9.6.46](https://github.com/microsoft/fluentui/tree/@fluentui/react-avatar_v9.6.46) Mon, 16 Dec 2024 16:26:49 GMT diff --git a/packages/react-components/react-avatar/library/package.json b/packages/react-components/react-avatar/library/package.json index c796fa0331c63..cd07c63f6f099 100644 --- a/packages/react-components/react-avatar/library/package.json +++ b/packages/react-components/react-avatar/library/package.json @@ -1,6 +1,6 @@ { "name": "@fluentui/react-avatar", - "version": "9.6.46", + "version": "9.6.47", "description": "React components for building Microsoft web experiences.", "main": "lib-commonjs/index.js", "module": "lib/index.js", @@ -24,7 +24,7 @@ "@fluentui/react-badge": "^9.2.48", "@fluentui/react-context-selector": "^9.1.71", "@fluentui/react-icons": "^2.0.245", - "@fluentui/react-popover": "^9.9.28", + "@fluentui/react-popover": "^9.9.29", "@fluentui/react-shared-contexts": "^9.21.2", "@fluentui/react-tabster": "^9.23.2", "@fluentui/react-theme": "^9.1.24", diff --git a/packages/react-components/react-breadcrumb/library/package.json b/packages/react-components/react-breadcrumb/library/package.json index 63b788f1c82e9..acfb5dbf3fe05 100644 --- a/packages/react-components/react-breadcrumb/library/package.json +++ b/packages/react-components/react-breadcrumb/library/package.json @@ -1,6 +1,6 @@ { "name": "@fluentui/react-breadcrumb", - "version": "9.0.46", + "version": "9.0.47", "description": "Breadcrumb component for Fluent UI React.", "main": "lib-commonjs/index.js", "module": "lib/index.js", diff --git a/packages/react-components/react-components/CHANGELOG.json b/packages/react-components/react-components/CHANGELOG.json index cfc76e1249d07..62cabe937aa29 100644 --- a/packages/react-components/react-components/CHANGELOG.json +++ b/packages/react-components/react-components/CHANGELOG.json @@ -1,6 +1,39 @@ { "name": "@fluentui/react-components", "entries": [ + { + "date": "Wed, 18 Dec 2024 10:59:36 GMT", + "tag": "@fluentui/react-components_v9.56.7", + "version": "9.56.7", + "comments": { + "patch": [ + { + "author": "jiangemma@microsoft.com", + "package": "@fluentui/react-dialog", + "commit": "0eca6fb68963b15b664b8560984f0f742bae280b", + "comment": "docs(react-dialog): Fix doc-comment links that don't translate to storybook" + }, + { + "author": "jiangemma@microsoft.com", + "package": "@fluentui/react-menu", + "commit": "0eca6fb68963b15b664b8560984f0f742bae280b", + "comment": "docs(react-menu): Fix doc-comment links that don't translate to storybook" + }, + { + "author": "jiangemma@microsoft.com", + "package": "@fluentui/react-popover", + "commit": "0eca6fb68963b15b664b8560984f0f742bae280b", + "comment": "docs(react-popover): Fix doc-comment links that don't translate to storybook" + }, + { + "author": "derdem@microsoft.com", + "package": "@fluentui/react-rating", + "commit": "084c76645ce97417b2bdc50203f4c66f5fd27309", + "comment": "fix: Pass missing Rating's itemLabel prop to its state so RatingItem consumes it from context." + } + ] + } + }, { "date": "Mon, 16 Dec 2024 16:26:45 GMT", "tag": "@fluentui/react-components_v9.56.6", diff --git a/packages/react-components/react-components/CHANGELOG.md b/packages/react-components/react-components/CHANGELOG.md index ca9deac15b362..c54b6eb9a2144 100644 --- a/packages/react-components/react-components/CHANGELOG.md +++ b/packages/react-components/react-components/CHANGELOG.md @@ -1,9 +1,25 @@ # Change Log - @fluentui/react-components -This log was last generated on Mon, 16 Dec 2024 16:26:45 GMT and should not be manually modified. +This log was last generated on Wed, 18 Dec 2024 10:59:36 GMT and should not be manually modified. +## [9.56.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-components_v9.56.7) + +Wed, 18 Dec 2024 10:59:36 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-components_v9.56.6..@fluentui/react-components_v9.56.7) + +### Patches + +- `@fluentui/react-dialog` + - docs(react-dialog): Fix doc-comment links that don't translate to storybook ([PR #33471](https://github.com/microsoft/fluentui/pull/33471) by jiangemma@microsoft.com) +- `@fluentui/react-menu` + - docs(react-menu): Fix doc-comment links that don't translate to storybook ([PR #33471](https://github.com/microsoft/fluentui/pull/33471) by jiangemma@microsoft.com) +- `@fluentui/react-popover` + - docs(react-popover): Fix doc-comment links that don't translate to storybook ([PR #33471](https://github.com/microsoft/fluentui/pull/33471) by jiangemma@microsoft.com) +- `@fluentui/react-rating` + - fix: Pass missing Rating's itemLabel prop to its state so RatingItem consumes it from context. ([PR #33361](https://github.com/microsoft/fluentui/pull/33361) by derdem@microsoft.com) + ## [9.56.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-components_v9.56.6) Mon, 16 Dec 2024 16:26:45 GMT diff --git a/packages/react-components/react-components/package.json b/packages/react-components/react-components/package.json index ae1254d837235..1a57651aa4516 100644 --- a/packages/react-components/react-components/package.json +++ b/packages/react-components/react-components/package.json @@ -1,6 +1,6 @@ { "name": "@fluentui/react-components", - "version": "9.56.6", + "version": "9.56.7", "description": "Suite package for converged React components", "main": "lib-commonjs/index.js", "module": "lib/index.js", @@ -18,27 +18,27 @@ "dependencies": { "@fluentui/react-accordion": "^9.5.12", "@fluentui/react-alert": "9.0.0-beta.124", - "@fluentui/react-avatar": "^9.6.46", + "@fluentui/react-avatar": "^9.6.47", "@fluentui/react-badge": "^9.2.48", "@fluentui/react-button": "^9.3.98", "@fluentui/react-card": "^9.0.100", "@fluentui/react-checkbox": "^9.2.44", "@fluentui/react-combobox": "^9.13.15", - "@fluentui/react-dialog": "^9.11.25", + "@fluentui/react-dialog": "^9.11.26", "@fluentui/react-divider": "^9.2.80", - "@fluentui/react-drawer": "^9.6.5", + "@fluentui/react-drawer": "^9.6.6", "@fluentui/react-field": "^9.1.83", "@fluentui/react-image": "^9.1.78", "@fluentui/react-infobutton": "9.0.0-beta.102", - "@fluentui/react-infolabel": "^9.0.53", + "@fluentui/react-infolabel": "^9.0.54", "@fluentui/react-input": "^9.4.96", "@fluentui/react-label": "^9.1.81", "@fluentui/react-link": "^9.3.5", - "@fluentui/react-menu": "^9.14.23", - "@fluentui/react-overflow": "^9.2.4", - "@fluentui/react-persona": "^9.2.105", + "@fluentui/react-menu": "^9.14.24", + "@fluentui/react-overflow": "^9.2.5", + "@fluentui/react-persona": "^9.2.106", "@fluentui/react-portal": "^9.4.40", - "@fluentui/react-popover": "^9.9.28", + "@fluentui/react-popover": "^9.9.29", "@fluentui/react-positioning": "^9.16.0", "@fluentui/react-progress": "^9.1.94", "@fluentui/react-provider": "^9.18.2", @@ -51,10 +51,10 @@ "@fluentui/react-spinner": "^9.5.5", "@fluentui/react-swatch-picker": "^9.1.17", "@fluentui/react-switch": "^9.1.101", - "@fluentui/react-table": "^9.15.25", + "@fluentui/react-table": "^9.15.26", "@fluentui/react-tabs": "^9.6.5", "@fluentui/react-tabster": "^9.23.2", - "@fluentui/react-tags": "^9.3.26", + "@fluentui/react-tags": "^9.3.27", "@fluentui/react-textarea": "^9.3.95", "@fluentui/react-theme": "^9.1.24", "@fluentui/react-toast": "^9.3.63", @@ -63,16 +63,16 @@ "@fluentui/react-utilities": "^9.18.19", "@fluentui/react-text": "^9.4.30", "@fluentui/react-virtualizer": "9.0.0-alpha.89", - "@fluentui/react-tree": "^9.8.10", + "@fluentui/react-tree": "^9.8.11", "@griffel/react": "^1.5.22", "@swc/helpers": "^0.5.1", "@fluentui/react-message-bar": "^9.2.18", - "@fluentui/react-breadcrumb": "^9.0.46", + "@fluentui/react-breadcrumb": "^9.0.47", "@fluentui/react-aria": "^9.13.12", - "@fluentui/react-rating": "^9.0.25", + "@fluentui/react-rating": "^9.0.26", "@fluentui/react-search": "^9.0.26", - "@fluentui/react-teaching-popover": "^9.1.25", - "@fluentui/react-tag-picker": "^9.3.12", + "@fluentui/react-teaching-popover": "^9.1.26", + "@fluentui/react-tag-picker": "^9.3.13", "@fluentui/react-motion": "^9.6.5", "@fluentui/react-carousel": "^9.4.3" }, diff --git a/packages/react-components/react-datepicker-compat/library/CHANGELOG.json b/packages/react-components/react-datepicker-compat/library/CHANGELOG.json index b08354be38bd7..eee18adda14d6 100644 --- a/packages/react-components/react-datepicker-compat/library/CHANGELOG.json +++ b/packages/react-components/react-datepicker-compat/library/CHANGELOG.json @@ -1,6 +1,21 @@ { "name": "@fluentui/react-datepicker-compat", "entries": [ + { + "date": "Wed, 18 Dec 2024 10:59:37 GMT", + "tag": "@fluentui/react-datepicker-compat_v0.4.59", + "version": "0.4.59", + "comments": { + "patch": [ + { + "author": "beachball", + "package": "@fluentui/react-datepicker-compat", + "comment": "Bump @fluentui/react-popover to v9.9.29", + "commit": "54afa8c6ce8f7d200d5241584801899b27baaf1b" + } + ] + } + }, { "date": "Mon, 16 Dec 2024 16:26:49 GMT", "tag": "@fluentui/react-datepicker-compat_v0.4.58", diff --git a/packages/react-components/react-datepicker-compat/library/CHANGELOG.md b/packages/react-components/react-datepicker-compat/library/CHANGELOG.md index a54366b0cfd1b..f430f52192888 100644 --- a/packages/react-components/react-datepicker-compat/library/CHANGELOG.md +++ b/packages/react-components/react-datepicker-compat/library/CHANGELOG.md @@ -1,9 +1,18 @@ # Change Log - @fluentui/react-datepicker-compat -This log was last generated on Mon, 16 Dec 2024 16:26:49 GMT and should not be manually modified. +This log was last generated on Wed, 18 Dec 2024 10:59:37 GMT and should not be manually modified. +## [0.4.59](https://github.com/microsoft/fluentui/tree/@fluentui/react-datepicker-compat_v0.4.59) + +Wed, 18 Dec 2024 10:59:37 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-datepicker-compat_v0.4.58..@fluentui/react-datepicker-compat_v0.4.59) + +### Patches + +- Bump @fluentui/react-popover to v9.9.29 ([PR #33483](https://github.com/microsoft/fluentui/pull/33483) by beachball) + ## [0.4.58](https://github.com/microsoft/fluentui/tree/@fluentui/react-datepicker-compat_v0.4.58) Mon, 16 Dec 2024 16:26:49 GMT diff --git a/packages/react-components/react-datepicker-compat/library/package.json b/packages/react-components/react-datepicker-compat/library/package.json index 2ab4772dba7ad..8a749c1b98a0f 100644 --- a/packages/react-components/react-datepicker-compat/library/package.json +++ b/packages/react-components/react-datepicker-compat/library/package.json @@ -1,6 +1,6 @@ { "name": "@fluentui/react-datepicker-compat", - "version": "0.4.58", + "version": "0.4.59", "description": "React components for building web experiences", "main": "lib-commonjs/index.js", "module": "lib/index.js", @@ -26,7 +26,7 @@ "@fluentui/react-icons": "^2.0.245", "@fluentui/react-input": "^9.4.96", "@fluentui/react-jsx-runtime": "^9.0.48", - "@fluentui/react-popover": "^9.9.28", + "@fluentui/react-popover": "^9.9.29", "@fluentui/react-portal": "^9.4.40", "@fluentui/react-positioning": "^9.16.0", "@fluentui/react-shared-contexts": "^9.21.2", diff --git a/packages/react-components/react-dialog/library/CHANGELOG.json b/packages/react-components/react-dialog/library/CHANGELOG.json index 4462eeed5e7b9..9db09ede38669 100644 --- a/packages/react-components/react-dialog/library/CHANGELOG.json +++ b/packages/react-components/react-dialog/library/CHANGELOG.json @@ -1,6 +1,21 @@ { "name": "@fluentui/react-dialog", "entries": [ + { + "date": "Wed, 18 Dec 2024 10:59:36 GMT", + "tag": "@fluentui/react-dialog_v9.11.26", + "version": "9.11.26", + "comments": { + "patch": [ + { + "author": "jiangemma@microsoft.com", + "package": "@fluentui/react-dialog", + "commit": "0eca6fb68963b15b664b8560984f0f742bae280b", + "comment": "docs(react-dialog): Fix doc-comment links that don't translate to storybook" + } + ] + } + }, { "date": "Mon, 16 Dec 2024 16:26:49 GMT", "tag": "@fluentui/react-dialog_v9.11.25", diff --git a/packages/react-components/react-dialog/library/CHANGELOG.md b/packages/react-components/react-dialog/library/CHANGELOG.md index 5d24473a3f100..7981ed712d123 100644 --- a/packages/react-components/react-dialog/library/CHANGELOG.md +++ b/packages/react-components/react-dialog/library/CHANGELOG.md @@ -1,9 +1,18 @@ # Change Log - @fluentui/react-dialog -This log was last generated on Mon, 16 Dec 2024 16:26:49 GMT and should not be manually modified. +This log was last generated on Wed, 18 Dec 2024 10:59:36 GMT and should not be manually modified. +## [9.11.26](https://github.com/microsoft/fluentui/tree/@fluentui/react-dialog_v9.11.26) + +Wed, 18 Dec 2024 10:59:36 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-dialog_v9.11.25..@fluentui/react-dialog_v9.11.26) + +### Patches + +- docs(react-dialog): Fix doc-comment links that don't translate to storybook ([PR #33471](https://github.com/microsoft/fluentui/pull/33471) by jiangemma@microsoft.com) + ## [9.11.25](https://github.com/microsoft/fluentui/tree/@fluentui/react-dialog_v9.11.25) Mon, 16 Dec 2024 16:26:49 GMT diff --git a/packages/react-components/react-dialog/library/package.json b/packages/react-components/react-dialog/library/package.json index dbc3d2c9a27a9..d9690afee5ece 100644 --- a/packages/react-components/react-dialog/library/package.json +++ b/packages/react-components/react-dialog/library/package.json @@ -1,6 +1,6 @@ { "name": "@fluentui/react-dialog", - "version": "9.11.25", + "version": "9.11.26", "description": "Dialog component for Fluent UI React", "main": "lib-commonjs/index.js", "module": "lib/index.js", diff --git a/packages/react-components/react-drawer/library/CHANGELOG.json b/packages/react-components/react-drawer/library/CHANGELOG.json index 53491f6d9803b..37f190c2cbecd 100644 --- a/packages/react-components/react-drawer/library/CHANGELOG.json +++ b/packages/react-components/react-drawer/library/CHANGELOG.json @@ -1,6 +1,21 @@ { "name": "@fluentui/react-drawer", "entries": [ + { + "date": "Wed, 18 Dec 2024 10:59:37 GMT", + "tag": "@fluentui/react-drawer_v9.6.6", + "version": "9.6.6", + "comments": { + "patch": [ + { + "author": "beachball", + "package": "@fluentui/react-drawer", + "comment": "Bump @fluentui/react-dialog to v9.11.26", + "commit": "54afa8c6ce8f7d200d5241584801899b27baaf1b" + } + ] + } + }, { "date": "Mon, 16 Dec 2024 16:26:49 GMT", "tag": "@fluentui/react-drawer_v9.6.5", diff --git a/packages/react-components/react-drawer/library/CHANGELOG.md b/packages/react-components/react-drawer/library/CHANGELOG.md index 77d5b188afaae..209a903a7db91 100644 --- a/packages/react-components/react-drawer/library/CHANGELOG.md +++ b/packages/react-components/react-drawer/library/CHANGELOG.md @@ -1,9 +1,18 @@ # Change Log - @fluentui/react-drawer -This log was last generated on Mon, 16 Dec 2024 16:26:49 GMT and should not be manually modified. +This log was last generated on Wed, 18 Dec 2024 10:59:37 GMT and should not be manually modified. +## [9.6.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-drawer_v9.6.6) + +Wed, 18 Dec 2024 10:59:37 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-drawer_v9.6.5..@fluentui/react-drawer_v9.6.6) + +### Patches + +- Bump @fluentui/react-dialog to v9.11.26 ([PR #33483](https://github.com/microsoft/fluentui/pull/33483) by beachball) + ## [9.6.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-drawer_v9.6.5) Mon, 16 Dec 2024 16:26:49 GMT diff --git a/packages/react-components/react-drawer/library/package.json b/packages/react-components/react-drawer/library/package.json index 04baf54e1ea73..d475b3e597c2d 100644 --- a/packages/react-components/react-drawer/library/package.json +++ b/packages/react-components/react-drawer/library/package.json @@ -1,6 +1,6 @@ { "name": "@fluentui/react-drawer", - "version": "9.6.5", + "version": "9.6.6", "description": "Drawer components for Fluent UI React", "main": "lib-commonjs/index.js", "module": "lib/index.js", @@ -20,7 +20,7 @@ "@fluentui/scripts-cypress": "*" }, "dependencies": { - "@fluentui/react-dialog": "^9.11.25", + "@fluentui/react-dialog": "^9.11.26", "@fluentui/react-jsx-runtime": "^9.0.48", "@fluentui/react-motion": "^9.6.5", "@fluentui/react-portal": "^9.4.40", diff --git a/packages/react-components/react-infolabel/library/CHANGELOG.json b/packages/react-components/react-infolabel/library/CHANGELOG.json index 426ca705ea516..60a99447d46d2 100644 --- a/packages/react-components/react-infolabel/library/CHANGELOG.json +++ b/packages/react-components/react-infolabel/library/CHANGELOG.json @@ -1,6 +1,21 @@ { "name": "@fluentui/react-infolabel", "entries": [ + { + "date": "Wed, 18 Dec 2024 10:59:37 GMT", + "tag": "@fluentui/react-infolabel_v9.0.54", + "version": "9.0.54", + "comments": { + "patch": [ + { + "author": "beachball", + "package": "@fluentui/react-infolabel", + "comment": "Bump @fluentui/react-popover to v9.9.29", + "commit": "54afa8c6ce8f7d200d5241584801899b27baaf1b" + } + ] + } + }, { "date": "Mon, 16 Dec 2024 16:26:49 GMT", "tag": "@fluentui/react-infolabel_v9.0.53", diff --git a/packages/react-components/react-infolabel/library/CHANGELOG.md b/packages/react-components/react-infolabel/library/CHANGELOG.md index 2777833b67e8f..29f67f2804eea 100644 --- a/packages/react-components/react-infolabel/library/CHANGELOG.md +++ b/packages/react-components/react-infolabel/library/CHANGELOG.md @@ -1,9 +1,18 @@ # Change Log - @fluentui/react-infolabel -This log was last generated on Mon, 16 Dec 2024 16:26:49 GMT and should not be manually modified. +This log was last generated on Wed, 18 Dec 2024 10:59:37 GMT and should not be manually modified. +## [9.0.54](https://github.com/microsoft/fluentui/tree/@fluentui/react-infolabel_v9.0.54) + +Wed, 18 Dec 2024 10:59:37 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-infolabel_v9.0.53..@fluentui/react-infolabel_v9.0.54) + +### Patches + +- Bump @fluentui/react-popover to v9.9.29 ([PR #33483](https://github.com/microsoft/fluentui/pull/33483) by beachball) + ## [9.0.53](https://github.com/microsoft/fluentui/tree/@fluentui/react-infolabel_v9.0.53) Mon, 16 Dec 2024 16:26:49 GMT diff --git a/packages/react-components/react-infolabel/library/package.json b/packages/react-components/react-infolabel/library/package.json index e7a1f66093543..8401759d0ec35 100644 --- a/packages/react-components/react-infolabel/library/package.json +++ b/packages/react-components/react-infolabel/library/package.json @@ -1,6 +1,6 @@ { "name": "@fluentui/react-infolabel", - "version": "9.0.53", + "version": "9.0.54", "description": "InfoLabel component for Fluent UI v9", "main": "lib-commonjs/index.js", "module": "lib/index.js", @@ -22,7 +22,7 @@ "dependencies": { "@fluentui/react-icons": "^2.0.245", "@fluentui/react-label": "^9.1.81", - "@fluentui/react-popover": "^9.9.28", + "@fluentui/react-popover": "^9.9.29", "@fluentui/react-tabster": "^9.23.2", "@fluentui/react-jsx-runtime": "^9.0.48", "@fluentui/react-theme": "^9.1.24", diff --git a/packages/react-components/react-menu/library/CHANGELOG.json b/packages/react-components/react-menu/library/CHANGELOG.json index b90c3b1e553d3..1fdd22876e8b5 100644 --- a/packages/react-components/react-menu/library/CHANGELOG.json +++ b/packages/react-components/react-menu/library/CHANGELOG.json @@ -1,6 +1,21 @@ { "name": "@fluentui/react-menu", "entries": [ + { + "date": "Wed, 18 Dec 2024 10:59:36 GMT", + "tag": "@fluentui/react-menu_v9.14.24", + "version": "9.14.24", + "comments": { + "patch": [ + { + "author": "jiangemma@microsoft.com", + "package": "@fluentui/react-menu", + "commit": "0eca6fb68963b15b664b8560984f0f742bae280b", + "comment": "docs(react-menu): Fix doc-comment links that don't translate to storybook" + } + ] + } + }, { "date": "Mon, 16 Dec 2024 16:26:49 GMT", "tag": "@fluentui/react-menu_v9.14.23", diff --git a/packages/react-components/react-menu/library/CHANGELOG.md b/packages/react-components/react-menu/library/CHANGELOG.md index 284f045d6fb6d..21ffdb0f06672 100644 --- a/packages/react-components/react-menu/library/CHANGELOG.md +++ b/packages/react-components/react-menu/library/CHANGELOG.md @@ -1,9 +1,18 @@ # Change Log - @fluentui/react-menu -This log was last generated on Mon, 16 Dec 2024 16:26:49 GMT and should not be manually modified. +This log was last generated on Wed, 18 Dec 2024 10:59:36 GMT and should not be manually modified. +## [9.14.24](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v9.14.24) + +Wed, 18 Dec 2024 10:59:36 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu_v9.14.23..@fluentui/react-menu_v9.14.24) + +### Patches + +- docs(react-menu): Fix doc-comment links that don't translate to storybook ([PR #33471](https://github.com/microsoft/fluentui/pull/33471) by jiangemma@microsoft.com) + ## [9.14.23](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v9.14.23) Mon, 16 Dec 2024 16:26:49 GMT diff --git a/packages/react-components/react-menu/library/package.json b/packages/react-components/react-menu/library/package.json index db635bb4a3166..dd6fdf9899d94 100644 --- a/packages/react-components/react-menu/library/package.json +++ b/packages/react-components/react-menu/library/package.json @@ -1,6 +1,6 @@ { "name": "@fluentui/react-menu", - "version": "9.14.23", + "version": "9.14.24", "description": "Fluent UI menu component", "main": "lib-commonjs/index.js", "module": "lib/index.js", diff --git a/packages/react-components/react-migration-v0-v9/library/CHANGELOG.json b/packages/react-components/react-migration-v0-v9/library/CHANGELOG.json index 2d78c91eb2e49..a2dc43d9f290b 100644 --- a/packages/react-components/react-migration-v0-v9/library/CHANGELOG.json +++ b/packages/react-components/react-migration-v0-v9/library/CHANGELOG.json @@ -1,6 +1,21 @@ { "name": "@fluentui/react-migration-v0-v9", "entries": [ + { + "date": "Wed, 18 Dec 2024 10:59:37 GMT", + "tag": "@fluentui/react-migration-v0-v9_v9.2.24", + "version": "9.2.24", + "comments": { + "patch": [ + { + "author": "beachball", + "package": "@fluentui/react-migration-v0-v9", + "comment": "Bump @fluentui/react-components to v9.56.7", + "commit": "54afa8c6ce8f7d200d5241584801899b27baaf1b" + } + ] + } + }, { "date": "Mon, 16 Dec 2024 16:26:48 GMT", "tag": "@fluentui/react-migration-v0-v9_v9.2.23", diff --git a/packages/react-components/react-migration-v0-v9/library/CHANGELOG.md b/packages/react-components/react-migration-v0-v9/library/CHANGELOG.md index 55911d7d38d7e..07aeab2fbd235 100644 --- a/packages/react-components/react-migration-v0-v9/library/CHANGELOG.md +++ b/packages/react-components/react-migration-v0-v9/library/CHANGELOG.md @@ -1,9 +1,18 @@ # Change Log - @fluentui/react-migration-v0-v9 -This log was last generated on Mon, 16 Dec 2024 16:26:48 GMT and should not be manually modified. +This log was last generated on Wed, 18 Dec 2024 10:59:37 GMT and should not be manually modified. +## [9.2.24](https://github.com/microsoft/fluentui/tree/@fluentui/react-migration-v0-v9_v9.2.24) + +Wed, 18 Dec 2024 10:59:37 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-migration-v0-v9_v9.2.23..@fluentui/react-migration-v0-v9_v9.2.24) + +### Patches + +- Bump @fluentui/react-components to v9.56.7 ([PR #33483](https://github.com/microsoft/fluentui/pull/33483) by beachball) + ## [9.2.23](https://github.com/microsoft/fluentui/tree/@fluentui/react-migration-v0-v9_v9.2.23) Mon, 16 Dec 2024 16:26:48 GMT diff --git a/packages/react-components/react-migration-v0-v9/library/package.json b/packages/react-components/react-migration-v0-v9/library/package.json index 3ceb490db2fd0..05776bc1b4edc 100644 --- a/packages/react-components/react-migration-v0-v9/library/package.json +++ b/packages/react-components/react-migration-v0-v9/library/package.json @@ -1,6 +1,6 @@ { "name": "@fluentui/react-migration-v0-v9", - "version": "9.2.23", + "version": "9.2.24", "description": "Migration shim components and methods for hybrid v0/v9 applications building on Fluent UI React.", "main": "lib-commonjs/index.js", "module": "lib/index.js", @@ -21,7 +21,7 @@ }, "dependencies": { "@fluentui/react-aria": "^9.13.12", - "@fluentui/react-components": "^9.56.6", + "@fluentui/react-components": "^9.56.7", "@fluentui/react-context-selector": "^9.1.71", "@fluentui/react-icons": "^2.0.245", "@fluentui/react-jsx-runtime": "^9.0.48", diff --git a/packages/react-components/react-migration-v8-v9/library/CHANGELOG.json b/packages/react-components/react-migration-v8-v9/library/CHANGELOG.json index 71f8b1fbe9049..92821ecf3ead3 100644 --- a/packages/react-components/react-migration-v8-v9/library/CHANGELOG.json +++ b/packages/react-components/react-migration-v8-v9/library/CHANGELOG.json @@ -1,6 +1,21 @@ { "name": "@fluentui/react-migration-v8-v9", "entries": [ + { + "date": "Wed, 18 Dec 2024 10:59:37 GMT", + "tag": "@fluentui/react-migration-v8-v9_v9.6.43", + "version": "9.6.43", + "comments": { + "patch": [ + { + "author": "beachball", + "package": "@fluentui/react-migration-v8-v9", + "comment": "Bump @fluentui/react-components to v9.56.7", + "commit": "54afa8c6ce8f7d200d5241584801899b27baaf1b" + } + ] + } + }, { "date": "Mon, 16 Dec 2024 16:26:49 GMT", "tag": "@fluentui/react-migration-v8-v9_v9.6.42", diff --git a/packages/react-components/react-migration-v8-v9/library/CHANGELOG.md b/packages/react-components/react-migration-v8-v9/library/CHANGELOG.md index 5d78fc3189481..c2377d3ca7685 100644 --- a/packages/react-components/react-migration-v8-v9/library/CHANGELOG.md +++ b/packages/react-components/react-migration-v8-v9/library/CHANGELOG.md @@ -1,9 +1,18 @@ # Change Log - @fluentui/react-migration-v8-v9 -This log was last generated on Mon, 16 Dec 2024 16:26:49 GMT and should not be manually modified. +This log was last generated on Wed, 18 Dec 2024 10:59:37 GMT and should not be manually modified. +## [9.6.43](https://github.com/microsoft/fluentui/tree/@fluentui/react-migration-v8-v9_v9.6.43) + +Wed, 18 Dec 2024 10:59:37 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-migration-v8-v9_v9.6.42..@fluentui/react-migration-v8-v9_v9.6.43) + +### Patches + +- Bump @fluentui/react-components to v9.56.7 ([PR #33483](https://github.com/microsoft/fluentui/pull/33483) by beachball) + ## [9.6.42](https://github.com/microsoft/fluentui/tree/@fluentui/react-migration-v8-v9_v9.6.42) Mon, 16 Dec 2024 16:26:49 GMT diff --git a/packages/react-components/react-migration-v8-v9/library/package.json b/packages/react-components/react-migration-v8-v9/library/package.json index facb920700baa..358eb4a893d51 100644 --- a/packages/react-components/react-migration-v8-v9/library/package.json +++ b/packages/react-components/react-migration-v8-v9/library/package.json @@ -1,6 +1,6 @@ { "name": "@fluentui/react-migration-v8-v9", - "version": "9.6.42", + "version": "9.6.43", "description": "Migration shim components and methods for hybrid v8/v9 applications building on Fluent UI React.", "main": "lib-commonjs/index.js", "module": "lib/index.js", @@ -21,7 +21,7 @@ "@ctrl/tinycolor": "3.3.4", "@fluentui/fluent2-theme": "^8.107.118", "@fluentui/react": "^8.122.1", - "@fluentui/react-components": "^9.56.6", + "@fluentui/react-components": "^9.56.7", "@fluentui/react-icons": "^2.0.245", "@fluentui/react-hooks": "^8.8.16", "@griffel/react": "^1.5.22", diff --git a/packages/react-components/react-nav-preview/library/CHANGELOG.json b/packages/react-components/react-nav-preview/library/CHANGELOG.json index 463239a3d3525..f979f9ca6a860 100644 --- a/packages/react-components/react-nav-preview/library/CHANGELOG.json +++ b/packages/react-components/react-nav-preview/library/CHANGELOG.json @@ -1,6 +1,21 @@ { "name": "@fluentui/react-nav-preview", "entries": [ + { + "date": "Wed, 18 Dec 2024 10:59:37 GMT", + "tag": "@fluentui/react-nav-preview_v0.10.6", + "version": "0.10.6", + "comments": { + "patch": [ + { + "author": "beachball", + "package": "@fluentui/react-nav-preview", + "comment": "Bump @fluentui/react-drawer to v9.6.6", + "commit": "54afa8c6ce8f7d200d5241584801899b27baaf1b" + } + ] + } + }, { "date": "Mon, 16 Dec 2024 16:26:49 GMT", "tag": "@fluentui/react-nav-preview_v0.10.5", diff --git a/packages/react-components/react-nav-preview/library/CHANGELOG.md b/packages/react-components/react-nav-preview/library/CHANGELOG.md index c12369cefa128..f55721b6c8d25 100644 --- a/packages/react-components/react-nav-preview/library/CHANGELOG.md +++ b/packages/react-components/react-nav-preview/library/CHANGELOG.md @@ -1,9 +1,18 @@ # Change Log - @fluentui/react-nav-preview -This log was last generated on Mon, 16 Dec 2024 16:26:49 GMT and should not be manually modified. +This log was last generated on Wed, 18 Dec 2024 10:59:37 GMT and should not be manually modified. +## [0.10.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-nav-preview_v0.10.6) + +Wed, 18 Dec 2024 10:59:37 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-nav-preview_v0.10.5..@fluentui/react-nav-preview_v0.10.6) + +### Patches + +- Bump @fluentui/react-drawer to v9.6.6 ([PR #33483](https://github.com/microsoft/fluentui/pull/33483) by beachball) + ## [0.10.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-nav-preview_v0.10.5) Mon, 16 Dec 2024 16:26:49 GMT diff --git a/packages/react-components/react-nav-preview/library/package.json b/packages/react-components/react-nav-preview/library/package.json index fa0c6ca4530e3..2a005fbfe3406 100644 --- a/packages/react-components/react-nav-preview/library/package.json +++ b/packages/react-components/react-nav-preview/library/package.json @@ -1,6 +1,6 @@ { "name": "@fluentui/react-nav-preview", - "version": "0.10.5", + "version": "0.10.6", "description": "New fluentui react package", "main": "lib-commonjs/index.js", "module": "lib/index.js", @@ -23,7 +23,7 @@ "@fluentui/react-tooltip": "^9.5.2", "@fluentui/react-context-selector": "^9.1.71", "@fluentui/react-divider": "^9.2.80", - "@fluentui/react-drawer": "^9.6.5", + "@fluentui/react-drawer": "^9.6.6", "@fluentui/react-icons": "^2.0.245", "@fluentui/react-jsx-runtime": "^9.0.48", "@fluentui/react-shared-contexts": "^9.21.2", diff --git a/packages/react-components/react-overflow/library/package.json b/packages/react-components/react-overflow/library/package.json index 827c619fde532..070258ecb9f29 100644 --- a/packages/react-components/react-overflow/library/package.json +++ b/packages/react-components/react-overflow/library/package.json @@ -1,6 +1,6 @@ { "name": "@fluentui/react-overflow", - "version": "9.2.4", + "version": "9.2.5", "description": "React bindings for @fluentui/priority-overflow", "main": "lib-commonjs/index.js", "module": "lib/index.js", diff --git a/packages/react-components/react-persona/library/CHANGELOG.json b/packages/react-components/react-persona/library/CHANGELOG.json index dca502cd86740..ed6f87cb9ac87 100644 --- a/packages/react-components/react-persona/library/CHANGELOG.json +++ b/packages/react-components/react-persona/library/CHANGELOG.json @@ -1,6 +1,21 @@ { "name": "@fluentui/react-persona", "entries": [ + { + "date": "Wed, 18 Dec 2024 10:59:37 GMT", + "tag": "@fluentui/react-persona_v9.2.106", + "version": "9.2.106", + "comments": { + "patch": [ + { + "author": "beachball", + "package": "@fluentui/react-persona", + "comment": "Bump @fluentui/react-avatar to v9.6.47", + "commit": "54afa8c6ce8f7d200d5241584801899b27baaf1b" + } + ] + } + }, { "date": "Mon, 16 Dec 2024 16:26:49 GMT", "tag": "@fluentui/react-persona_v9.2.105", diff --git a/packages/react-components/react-persona/library/CHANGELOG.md b/packages/react-components/react-persona/library/CHANGELOG.md index a9b29ff68770f..4edfffc9ef157 100644 --- a/packages/react-components/react-persona/library/CHANGELOG.md +++ b/packages/react-components/react-persona/library/CHANGELOG.md @@ -1,9 +1,18 @@ # Change Log - @fluentui/react-persona -This log was last generated on Mon, 16 Dec 2024 16:26:49 GMT and should not be manually modified. +This log was last generated on Wed, 18 Dec 2024 10:59:37 GMT and should not be manually modified. +## [9.2.106](https://github.com/microsoft/fluentui/tree/@fluentui/react-persona_v9.2.106) + +Wed, 18 Dec 2024 10:59:37 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-persona_v9.2.105..@fluentui/react-persona_v9.2.106) + +### Patches + +- Bump @fluentui/react-avatar to v9.6.47 ([PR #33483](https://github.com/microsoft/fluentui/pull/33483) by beachball) + ## [9.2.105](https://github.com/microsoft/fluentui/tree/@fluentui/react-persona_v9.2.105) Mon, 16 Dec 2024 16:26:49 GMT diff --git a/packages/react-components/react-persona/library/package.json b/packages/react-components/react-persona/library/package.json index 1b1b51d358fc6..3d393e34cacd2 100644 --- a/packages/react-components/react-persona/library/package.json +++ b/packages/react-components/react-persona/library/package.json @@ -1,6 +1,6 @@ { "name": "@fluentui/react-persona", - "version": "9.2.105", + "version": "9.2.106", "description": "React components for building web experiences", "main": "lib-commonjs/index.js", "module": "lib/index.js", @@ -18,7 +18,7 @@ "@fluentui/scripts-api-extractor": "*" }, "dependencies": { - "@fluentui/react-avatar": "^9.6.46", + "@fluentui/react-avatar": "^9.6.47", "@fluentui/react-badge": "^9.2.48", "@fluentui/react-shared-contexts": "^9.21.2", "@fluentui/react-theme": "^9.1.24", diff --git a/packages/react-components/react-popover/library/CHANGELOG.json b/packages/react-components/react-popover/library/CHANGELOG.json index 4d4edaaf16317..c94ce03602c92 100644 --- a/packages/react-components/react-popover/library/CHANGELOG.json +++ b/packages/react-components/react-popover/library/CHANGELOG.json @@ -1,6 +1,21 @@ { "name": "@fluentui/react-popover", "entries": [ + { + "date": "Wed, 18 Dec 2024 10:59:37 GMT", + "tag": "@fluentui/react-popover_v9.9.29", + "version": "9.9.29", + "comments": { + "patch": [ + { + "author": "jiangemma@microsoft.com", + "package": "@fluentui/react-popover", + "commit": "0eca6fb68963b15b664b8560984f0f742bae280b", + "comment": "docs(react-popover): Fix doc-comment links that don't translate to storybook" + } + ] + } + }, { "date": "Mon, 16 Dec 2024 16:26:49 GMT", "tag": "@fluentui/react-popover_v9.9.28", diff --git a/packages/react-components/react-popover/library/CHANGELOG.md b/packages/react-components/react-popover/library/CHANGELOG.md index 062b0a7c203f7..a50fe337667ae 100644 --- a/packages/react-components/react-popover/library/CHANGELOG.md +++ b/packages/react-components/react-popover/library/CHANGELOG.md @@ -1,9 +1,18 @@ # Change Log - @fluentui/react-popover -This log was last generated on Mon, 16 Dec 2024 16:26:49 GMT and should not be manually modified. +This log was last generated on Wed, 18 Dec 2024 10:59:37 GMT and should not be manually modified. +## [9.9.29](https://github.com/microsoft/fluentui/tree/@fluentui/react-popover_v9.9.29) + +Wed, 18 Dec 2024 10:59:37 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-popover_v9.9.28..@fluentui/react-popover_v9.9.29) + +### Patches + +- docs(react-popover): Fix doc-comment links that don't translate to storybook ([PR #33471](https://github.com/microsoft/fluentui/pull/33471) by jiangemma@microsoft.com) + ## [9.9.28](https://github.com/microsoft/fluentui/tree/@fluentui/react-popover_v9.9.28) Mon, 16 Dec 2024 16:26:49 GMT diff --git a/packages/react-components/react-popover/library/package.json b/packages/react-components/react-popover/library/package.json index 0a3ce7c752d01..b799df80949d3 100644 --- a/packages/react-components/react-popover/library/package.json +++ b/packages/react-components/react-popover/library/package.json @@ -1,6 +1,6 @@ { "name": "@fluentui/react-popover", - "version": "9.9.28", + "version": "9.9.29", "description": "Popover component for Fluent UI", "main": "lib-commonjs/index.js", "module": "lib/index.js", diff --git a/packages/react-components/react-portal-compat/CHANGELOG.json b/packages/react-components/react-portal-compat/CHANGELOG.json index a5cfcc8e39fc0..288104b2d0402 100644 --- a/packages/react-components/react-portal-compat/CHANGELOG.json +++ b/packages/react-components/react-portal-compat/CHANGELOG.json @@ -1,6 +1,21 @@ { "name": "@fluentui/react-portal-compat", "entries": [ + { + "date": "Wed, 18 Dec 2024 10:59:37 GMT", + "tag": "@fluentui/react-portal-compat_v9.0.175", + "version": "9.0.175", + "comments": { + "patch": [ + { + "author": "beachball", + "package": "@fluentui/react-portal-compat", + "comment": "Bump @fluentui/react-components to v9.56.7", + "commit": "54afa8c6ce8f7d200d5241584801899b27baaf1b" + } + ] + } + }, { "date": "Mon, 16 Dec 2024 16:26:49 GMT", "tag": "@fluentui/react-portal-compat_v9.0.174", diff --git a/packages/react-components/react-portal-compat/CHANGELOG.md b/packages/react-components/react-portal-compat/CHANGELOG.md index 98526d11b0f08..9e541f2a01e3e 100644 --- a/packages/react-components/react-portal-compat/CHANGELOG.md +++ b/packages/react-components/react-portal-compat/CHANGELOG.md @@ -1,9 +1,18 @@ # Change Log - @fluentui/react-portal-compat -This log was last generated on Mon, 16 Dec 2024 16:26:49 GMT and should not be manually modified. +This log was last generated on Wed, 18 Dec 2024 10:59:37 GMT and should not be manually modified. +## [9.0.175](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal-compat_v9.0.175) + +Wed, 18 Dec 2024 10:59:37 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal-compat_v9.0.174..@fluentui/react-portal-compat_v9.0.175) + +### Patches + +- Bump @fluentui/react-components to v9.56.7 ([PR #33483](https://github.com/microsoft/fluentui/pull/33483) by beachball) + ## [9.0.174](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal-compat_v9.0.174) Mon, 16 Dec 2024 16:26:49 GMT diff --git a/packages/react-components/react-portal-compat/package.json b/packages/react-components/react-portal-compat/package.json index fdaed09ad3ac6..3eaec090a9746 100644 --- a/packages/react-components/react-portal-compat/package.json +++ b/packages/react-components/react-portal-compat/package.json @@ -1,6 +1,6 @@ { "name": "@fluentui/react-portal-compat", - "version": "9.0.174", + "version": "9.0.175", "description": "A package that contains compatibility layer for React Portals", "main": "lib-commonjs/index.js", "module": "lib/index.js", @@ -27,7 +27,7 @@ "@swc/helpers": "^0.5.1" }, "peerDependencies": { - "@fluentui/react-components": "^9.56.6", + "@fluentui/react-components": "^9.56.7", "@types/react": ">=16.14.0 <19.0.0", "react": ">=16.14.0 <19.0.0" }, diff --git a/packages/react-components/react-rating/library/CHANGELOG.json b/packages/react-components/react-rating/library/CHANGELOG.json index d333777219d6a..df938bde41798 100644 --- a/packages/react-components/react-rating/library/CHANGELOG.json +++ b/packages/react-components/react-rating/library/CHANGELOG.json @@ -1,6 +1,21 @@ { "name": "@fluentui/react-rating", "entries": [ + { + "date": "Wed, 18 Dec 2024 10:59:37 GMT", + "tag": "@fluentui/react-rating_v9.0.26", + "version": "9.0.26", + "comments": { + "patch": [ + { + "author": "derdem@microsoft.com", + "package": "@fluentui/react-rating", + "commit": "084c76645ce97417b2bdc50203f4c66f5fd27309", + "comment": "fix: Pass missing Rating's itemLabel prop to its state so RatingItem consumes it from context." + } + ] + } + }, { "date": "Mon, 16 Dec 2024 16:26:49 GMT", "tag": "@fluentui/react-rating_v9.0.25", diff --git a/packages/react-components/react-rating/library/CHANGELOG.md b/packages/react-components/react-rating/library/CHANGELOG.md index e0e7577221be7..40f23176c4090 100644 --- a/packages/react-components/react-rating/library/CHANGELOG.md +++ b/packages/react-components/react-rating/library/CHANGELOG.md @@ -1,9 +1,18 @@ # Change Log - @fluentui/react-rating -This log was last generated on Mon, 16 Dec 2024 16:26:49 GMT and should not be manually modified. +This log was last generated on Wed, 18 Dec 2024 10:59:37 GMT and should not be manually modified. +## [9.0.26](https://github.com/microsoft/fluentui/tree/@fluentui/react-rating_v9.0.26) + +Wed, 18 Dec 2024 10:59:37 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-rating_v9.0.25..@fluentui/react-rating_v9.0.26) + +### Patches + +- fix: Pass missing Rating's itemLabel prop to its state so RatingItem consumes it from context. ([PR #33361](https://github.com/microsoft/fluentui/pull/33361) by derdem@microsoft.com) + ## [9.0.25](https://github.com/microsoft/fluentui/tree/@fluentui/react-rating_v9.0.25) Mon, 16 Dec 2024 16:26:49 GMT diff --git a/packages/react-components/react-rating/library/package.json b/packages/react-components/react-rating/library/package.json index f1948b0ad777d..475a9d86c01c1 100644 --- a/packages/react-components/react-rating/library/package.json +++ b/packages/react-components/react-rating/library/package.json @@ -1,6 +1,6 @@ { "name": "@fluentui/react-rating", - "version": "9.0.25", + "version": "9.0.26", "description": "Rating component for building web experiences", "main": "lib-commonjs/index.js", "module": "lib/index.js", diff --git a/packages/react-components/react-table/library/CHANGELOG.json b/packages/react-components/react-table/library/CHANGELOG.json index dd2ad44a7411e..a886e5816aee6 100644 --- a/packages/react-components/react-table/library/CHANGELOG.json +++ b/packages/react-components/react-table/library/CHANGELOG.json @@ -1,6 +1,21 @@ { "name": "@fluentui/react-table", "entries": [ + { + "date": "Wed, 18 Dec 2024 10:59:37 GMT", + "tag": "@fluentui/react-table_v9.15.26", + "version": "9.15.26", + "comments": { + "patch": [ + { + "author": "beachball", + "package": "@fluentui/react-table", + "comment": "Bump @fluentui/react-avatar to v9.6.47", + "commit": "54afa8c6ce8f7d200d5241584801899b27baaf1b" + } + ] + } + }, { "date": "Mon, 16 Dec 2024 16:26:49 GMT", "tag": "@fluentui/react-table_v9.15.25", diff --git a/packages/react-components/react-table/library/CHANGELOG.md b/packages/react-components/react-table/library/CHANGELOG.md index c0ef4aa823e7d..12e5af8af60b1 100644 --- a/packages/react-components/react-table/library/CHANGELOG.md +++ b/packages/react-components/react-table/library/CHANGELOG.md @@ -1,9 +1,18 @@ # Change Log - @fluentui/react-table -This log was last generated on Mon, 16 Dec 2024 16:26:49 GMT and should not be manually modified. +This log was last generated on Wed, 18 Dec 2024 10:59:37 GMT and should not be manually modified. +## [9.15.26](https://github.com/microsoft/fluentui/tree/@fluentui/react-table_v9.15.26) + +Wed, 18 Dec 2024 10:59:37 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-table_v9.15.25..@fluentui/react-table_v9.15.26) + +### Patches + +- Bump @fluentui/react-avatar to v9.6.47 ([PR #33483](https://github.com/microsoft/fluentui/pull/33483) by beachball) + ## [9.15.25](https://github.com/microsoft/fluentui/tree/@fluentui/react-table_v9.15.25) Mon, 16 Dec 2024 16:26:49 GMT diff --git a/packages/react-components/react-table/library/package.json b/packages/react-components/react-table/library/package.json index e9f913694791b..64b5817d9c20c 100644 --- a/packages/react-components/react-table/library/package.json +++ b/packages/react-components/react-table/library/package.json @@ -1,6 +1,6 @@ { "name": "@fluentui/react-table", - "version": "9.15.25", + "version": "9.15.26", "description": "React components for building web experiences", "main": "lib-commonjs/index.js", "module": "lib/index.js", @@ -22,7 +22,7 @@ "dependencies": { "@fluentui/keyboard-keys": "^9.0.8", "@fluentui/react-aria": "^9.13.12", - "@fluentui/react-avatar": "^9.6.46", + "@fluentui/react-avatar": "^9.6.47", "@fluentui/react-checkbox": "^9.2.44", "@fluentui/react-context-selector": "^9.1.71", "@fluentui/react-icons": "^2.0.245", diff --git a/packages/react-components/react-tag-picker/library/CHANGELOG.json b/packages/react-components/react-tag-picker/library/CHANGELOG.json index 7dd6a661f1c2e..dcdb7e04548c9 100644 --- a/packages/react-components/react-tag-picker/library/CHANGELOG.json +++ b/packages/react-components/react-tag-picker/library/CHANGELOG.json @@ -1,6 +1,21 @@ { "name": "@fluentui/react-tag-picker", "entries": [ + { + "date": "Wed, 18 Dec 2024 10:59:37 GMT", + "tag": "@fluentui/react-tag-picker_v9.3.13", + "version": "9.3.13", + "comments": { + "patch": [ + { + "author": "beachball", + "package": "@fluentui/react-tag-picker", + "comment": "Bump @fluentui/react-tags to v9.3.27", + "commit": "54afa8c6ce8f7d200d5241584801899b27baaf1b" + } + ] + } + }, { "date": "Mon, 16 Dec 2024 16:26:49 GMT", "tag": "@fluentui/react-tag-picker_v9.3.12", diff --git a/packages/react-components/react-tag-picker/library/CHANGELOG.md b/packages/react-components/react-tag-picker/library/CHANGELOG.md index dc65e92dbdafd..470b1ed235913 100644 --- a/packages/react-components/react-tag-picker/library/CHANGELOG.md +++ b/packages/react-components/react-tag-picker/library/CHANGELOG.md @@ -1,9 +1,18 @@ # Change Log - @fluentui/react-tag-picker -This log was last generated on Mon, 16 Dec 2024 16:26:49 GMT and should not be manually modified. +This log was last generated on Wed, 18 Dec 2024 10:59:37 GMT and should not be manually modified. +## [9.3.13](https://github.com/microsoft/fluentui/tree/@fluentui/react-tag-picker_v9.3.13) + +Wed, 18 Dec 2024 10:59:37 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tag-picker_v9.3.12..@fluentui/react-tag-picker_v9.3.13) + +### Patches + +- Bump @fluentui/react-tags to v9.3.27 ([PR #33483](https://github.com/microsoft/fluentui/pull/33483) by beachball) + ## [9.3.12](https://github.com/microsoft/fluentui/tree/@fluentui/react-tag-picker_v9.3.12) Mon, 16 Dec 2024 16:26:49 GMT diff --git a/packages/react-components/react-tag-picker/library/package.json b/packages/react-components/react-tag-picker/library/package.json index e084aa6d0f01c..7b986adf517ad 100644 --- a/packages/react-components/react-tag-picker/library/package.json +++ b/packages/react-components/react-tag-picker/library/package.json @@ -1,6 +1,6 @@ { "name": "@fluentui/react-tag-picker", - "version": "9.3.12", + "version": "9.3.13", "description": "FluentUI TagPicker component", "main": "lib-commonjs/index.js", "module": "lib/index.js", @@ -37,7 +37,7 @@ "@fluentui/react-aria": "^9.13.12", "@fluentui/react-icons": "^2.0.245", "@fluentui/react-combobox": "^9.13.15", - "@fluentui/react-tags": "^9.3.26", + "@fluentui/react-tags": "^9.3.27", "@fluentui/react-context-selector": "^9.1.71", "@fluentui/react-positioning": "^9.16.0", "@fluentui/keyboard-keys": "^9.0.8", diff --git a/packages/react-components/react-tags/library/CHANGELOG.json b/packages/react-components/react-tags/library/CHANGELOG.json index 52d2b46fadd4d..f56534ae1e173 100644 --- a/packages/react-components/react-tags/library/CHANGELOG.json +++ b/packages/react-components/react-tags/library/CHANGELOG.json @@ -1,6 +1,21 @@ { "name": "@fluentui/react-tags", "entries": [ + { + "date": "Wed, 18 Dec 2024 10:59:37 GMT", + "tag": "@fluentui/react-tags_v9.3.27", + "version": "9.3.27", + "comments": { + "patch": [ + { + "author": "beachball", + "package": "@fluentui/react-tags", + "comment": "Bump @fluentui/react-avatar to v9.6.47", + "commit": "54afa8c6ce8f7d200d5241584801899b27baaf1b" + } + ] + } + }, { "date": "Mon, 16 Dec 2024 16:26:49 GMT", "tag": "@fluentui/react-tags_v9.3.26", diff --git a/packages/react-components/react-tags/library/CHANGELOG.md b/packages/react-components/react-tags/library/CHANGELOG.md index 869a9e29eec6b..1e5eca39fc03a 100644 --- a/packages/react-components/react-tags/library/CHANGELOG.md +++ b/packages/react-components/react-tags/library/CHANGELOG.md @@ -1,9 +1,18 @@ # Change Log - @fluentui/react-tags -This log was last generated on Mon, 16 Dec 2024 16:26:49 GMT and should not be manually modified. +This log was last generated on Wed, 18 Dec 2024 10:59:37 GMT and should not be manually modified. +## [9.3.27](https://github.com/microsoft/fluentui/tree/@fluentui/react-tags_v9.3.27) + +Wed, 18 Dec 2024 10:59:37 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tags_v9.3.26..@fluentui/react-tags_v9.3.27) + +### Patches + +- Bump @fluentui/react-avatar to v9.6.47 ([PR #33483](https://github.com/microsoft/fluentui/pull/33483) by beachball) + ## [9.3.26](https://github.com/microsoft/fluentui/tree/@fluentui/react-tags_v9.3.26) Mon, 16 Dec 2024 16:26:49 GMT diff --git a/packages/react-components/react-tags/library/package.json b/packages/react-components/react-tags/library/package.json index f5c184f3f857f..260179433ba03 100644 --- a/packages/react-components/react-tags/library/package.json +++ b/packages/react-components/react-tags/library/package.json @@ -1,6 +1,6 @@ { "name": "@fluentui/react-tags", - "version": "9.3.26", + "version": "9.3.27", "description": "Fluent UI Tag component", "main": "lib-commonjs/index.js", "module": "lib/index.js", @@ -22,7 +22,7 @@ "dependencies": { "@fluentui/keyboard-keys": "^9.0.8", "@fluentui/react-aria": "^9.13.12", - "@fluentui/react-avatar": "^9.6.46", + "@fluentui/react-avatar": "^9.6.47", "@fluentui/react-icons": "^2.0.245", "@fluentui/react-jsx-runtime": "^9.0.48", "@fluentui/react-shared-contexts": "^9.21.2", diff --git a/packages/react-components/react-teaching-popover/library/CHANGELOG.json b/packages/react-components/react-teaching-popover/library/CHANGELOG.json index 4b51fa8a8584f..4a3e38967b0e8 100644 --- a/packages/react-components/react-teaching-popover/library/CHANGELOG.json +++ b/packages/react-components/react-teaching-popover/library/CHANGELOG.json @@ -1,6 +1,21 @@ { "name": "@fluentui/react-teaching-popover", "entries": [ + { + "date": "Wed, 18 Dec 2024 10:59:37 GMT", + "tag": "@fluentui/react-teaching-popover_v9.1.26", + "version": "9.1.26", + "comments": { + "patch": [ + { + "author": "beachball", + "package": "@fluentui/react-teaching-popover", + "comment": "Bump @fluentui/react-popover to v9.9.29", + "commit": "54afa8c6ce8f7d200d5241584801899b27baaf1b" + } + ] + } + }, { "date": "Mon, 16 Dec 2024 16:26:46 GMT", "tag": "@fluentui/react-teaching-popover_v9.1.25", diff --git a/packages/react-components/react-teaching-popover/library/CHANGELOG.md b/packages/react-components/react-teaching-popover/library/CHANGELOG.md index 3f0dfe2063e0b..c29d691b79d33 100644 --- a/packages/react-components/react-teaching-popover/library/CHANGELOG.md +++ b/packages/react-components/react-teaching-popover/library/CHANGELOG.md @@ -1,9 +1,18 @@ # Change Log - @fluentui/react-teaching-popover -This log was last generated on Mon, 16 Dec 2024 16:26:46 GMT and should not be manually modified. +This log was last generated on Wed, 18 Dec 2024 10:59:37 GMT and should not be manually modified. +## [9.1.26](https://github.com/microsoft/fluentui/tree/@fluentui/react-teaching-popover_v9.1.26) + +Wed, 18 Dec 2024 10:59:37 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-teaching-popover_v9.1.25..@fluentui/react-teaching-popover_v9.1.26) + +### Patches + +- Bump @fluentui/react-popover to v9.9.29 ([PR #33483](https://github.com/microsoft/fluentui/pull/33483) by beachball) + ## [9.1.25](https://github.com/microsoft/fluentui/tree/@fluentui/react-teaching-popover_v9.1.25) Mon, 16 Dec 2024 16:26:46 GMT diff --git a/packages/react-components/react-teaching-popover/library/package.json b/packages/react-components/react-teaching-popover/library/package.json index ae95907dee257..24cda56556d13 100644 --- a/packages/react-components/react-teaching-popover/library/package.json +++ b/packages/react-components/react-teaching-popover/library/package.json @@ -1,6 +1,6 @@ { "name": "@fluentui/react-teaching-popover", - "version": "9.1.25", + "version": "9.1.26", "description": "New fluentui react package", "main": "lib-commonjs/index.js", "module": "lib/index.js", @@ -30,7 +30,7 @@ "@griffel/react": "^1.5.22", "@swc/helpers": "^0.5.1", "@fluentui/react-shared-contexts": "^9.21.2", - "@fluentui/react-popover": "^9.9.28", + "@fluentui/react-popover": "^9.9.29", "@fluentui/react-button": "^9.3.98", "@fluentui/react-tabster": "^9.23.2", "@fluentui/react-icons": "^2.0.245", diff --git a/packages/react-components/react-timepicker-compat/library/package.json b/packages/react-components/react-timepicker-compat/library/package.json index 962789f7d8a94..a2d65f02399a8 100644 --- a/packages/react-components/react-timepicker-compat/library/package.json +++ b/packages/react-components/react-timepicker-compat/library/package.json @@ -1,6 +1,6 @@ { "name": "@fluentui/react-timepicker-compat", - "version": "0.2.43", + "version": "0.2.44", "description": "Fluent UI TimePicker Compat Component", "main": "lib-commonjs/index.js", "module": "lib/index.js", diff --git a/packages/react-components/react-tree/library/CHANGELOG.json b/packages/react-components/react-tree/library/CHANGELOG.json index 34c2b9e0d4f73..41f3078e613cc 100644 --- a/packages/react-components/react-tree/library/CHANGELOG.json +++ b/packages/react-components/react-tree/library/CHANGELOG.json @@ -1,6 +1,21 @@ { "name": "@fluentui/react-tree", "entries": [ + { + "date": "Wed, 18 Dec 2024 10:59:37 GMT", + "tag": "@fluentui/react-tree_v9.8.11", + "version": "9.8.11", + "comments": { + "patch": [ + { + "author": "beachball", + "package": "@fluentui/react-tree", + "comment": "Bump @fluentui/react-avatar to v9.6.47", + "commit": "54afa8c6ce8f7d200d5241584801899b27baaf1b" + } + ] + } + }, { "date": "Mon, 16 Dec 2024 16:26:49 GMT", "tag": "@fluentui/react-tree_v9.8.10", diff --git a/packages/react-components/react-tree/library/CHANGELOG.md b/packages/react-components/react-tree/library/CHANGELOG.md index 97d5f17503514..68b0eece97c5e 100644 --- a/packages/react-components/react-tree/library/CHANGELOG.md +++ b/packages/react-components/react-tree/library/CHANGELOG.md @@ -1,9 +1,18 @@ # Change Log - @fluentui/react-tree -This log was last generated on Mon, 16 Dec 2024 16:26:49 GMT and should not be manually modified. +This log was last generated on Wed, 18 Dec 2024 10:59:37 GMT and should not be manually modified. +## [9.8.11](https://github.com/microsoft/fluentui/tree/@fluentui/react-tree_v9.8.11) + +Wed, 18 Dec 2024 10:59:37 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tree_v9.8.10..@fluentui/react-tree_v9.8.11) + +### Patches + +- Bump @fluentui/react-avatar to v9.6.47 ([PR #33483](https://github.com/microsoft/fluentui/pull/33483) by beachball) + ## [9.8.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-tree_v9.8.10) Mon, 16 Dec 2024 16:26:49 GMT diff --git a/packages/react-components/react-tree/library/package.json b/packages/react-components/react-tree/library/package.json index 71e41503b1cd8..96e8d3f78bdbb 100644 --- a/packages/react-components/react-tree/library/package.json +++ b/packages/react-components/react-tree/library/package.json @@ -1,6 +1,6 @@ { "name": "@fluentui/react-tree", - "version": "9.8.10", + "version": "9.8.11", "description": "Tree component for Fluent UI React", "main": "lib-commonjs/index.js", "module": "lib/index.js", @@ -22,7 +22,7 @@ "dependencies": { "@fluentui/keyboard-keys": "^9.0.8", "@fluentui/react-aria": "^9.13.12", - "@fluentui/react-avatar": "^9.6.46", + "@fluentui/react-avatar": "^9.6.47", "@fluentui/react-button": "^9.3.98", "@fluentui/react-checkbox": "^9.2.44", "@fluentui/react-context-selector": "^9.1.71", diff --git a/packages/react-components/theme-designer/package.json b/packages/react-components/theme-designer/package.json index e481ec9247d6a..31317e4cc70cb 100644 --- a/packages/react-components/theme-designer/package.json +++ b/packages/react-components/theme-designer/package.json @@ -17,7 +17,7 @@ "@fluentui/scripts-api-extractor": "*" }, "dependencies": { - "@fluentui/react-components": "^9.56.6", + "@fluentui/react-components": "^9.56.7", "@fluentui/react-context-selector": "^9.1.71", "@fluentui/react-icons": "^2.0.245", "@fluentui/react-storybook-addon-export-to-sandbox": "^0.1.0", From da882f44f251e7bb80fb969cbe268a942a2df74e Mon Sep 17 00:00:00 2001 From: Anush Gupta <74965306+Anush2303@users.noreply.github.com> Date: Thu, 19 Dec 2024 14:41:00 +0530 Subject: [PATCH 4/8] Security: Ensure type safety of dependent fields (#33486) --- ...-f56dc096-9891-4d5c-ae30-4d8a6ac5b481.json | 7 +++ .../DeclarativeChart/DeclarativeChart.tsx | 2 +- .../DeclarativeChart/PlotlySchemaAdapter.ts | 56 +++++++++---------- 3 files changed, 36 insertions(+), 29 deletions(-) create mode 100644 change/@fluentui-react-charting-f56dc096-9891-4d5c-ae30-4d8a6ac5b481.json diff --git a/change/@fluentui-react-charting-f56dc096-9891-4d5c-ae30-4d8a6ac5b481.json b/change/@fluentui-react-charting-f56dc096-9891-4d5c-ae30-4d8a6ac5b481.json new file mode 100644 index 0000000000000..5a9fd5dcb3232 --- /dev/null +++ b/change/@fluentui-react-charting-f56dc096-9891-4d5c-ae30-4d8a6ac5b481.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "Ensure type safety of dependent fields", + "packageName": "@fluentui/react-charting", + "email": "74965306+Anush2303@users.noreply.github.com", + "dependentChangeType": "patch" +} diff --git a/packages/charts/react-charting/src/components/DeclarativeChart/DeclarativeChart.tsx b/packages/charts/react-charting/src/components/DeclarativeChart/DeclarativeChart.tsx index c8f199b72fb03..c75490160da75 100644 --- a/packages/charts/react-charting/src/components/DeclarativeChart/DeclarativeChart.tsx +++ b/packages/charts/react-charting/src/components/DeclarativeChart/DeclarativeChart.tsx @@ -141,7 +141,7 @@ export const DeclarativeChart: React.FunctionComponent = { - const legend = series.name || `Series ${index + 1}`; - const color = getColor(legend, colorMap, isDarkTheme); + const legend: string = series.name || `Series ${index + 1}`; + const color: string = getColor(legend, colorMap, isDarkTheme); let y = bucket.length; if (series.histnorm === 'percent') { @@ -256,7 +256,7 @@ export const transformPlotlyJsonToVBCProps = ( return { data: vbcData, - chartTitle: layout?.title, + chartTitle: typeof layout?.title === 'string' ? layout?.title : '', // width: layout?.width, // height: layout?.height, hideLegend: true, @@ -278,7 +278,7 @@ export const transformPlotlyJsonToScatterChartProps = ( const isString = typeof xValues[0] === 'string'; const isXDate = isDateArray(xValues); const isXNumber = isNumberArray(xValues); - const legend = series.name || `Series ${index + 1}`; + const legend: string = series.name || `Series ${index + 1}`; const lineColor = getColor(legend, colorMap, isDarkTheme); return { @@ -292,7 +292,7 @@ export const transformPlotlyJsonToScatterChartProps = ( }); const chartProps: IChartProps = { - chartTitle: layout.title || '', + chartTitle: typeof layout.title === 'string' ? layout.title : '', lineChartData: chartData, }; @@ -330,10 +330,10 @@ export const transformPlotlyJsonToHorizontalBarWithAxisProps = ( }) .flat(); - const chartHeight = layout.height || 450; - const margin = layout.margin?.l || 0; - const padding = layout.margin?.pad || 0; - const availableHeight = chartHeight - margin - padding; + const chartHeight: number = typeof layout.height === 'number' ? layout.height : 450; + const margin: number = typeof layout.margin?.l === 'number' ? layout.margin?.l : 0; + const padding: number = typeof layout.margin?.pad === 'number' ? layout.margin?.pad : 0; + const availableHeight: number = chartHeight - margin - padding; const numberOfBars = data[0].y.length; const scalingFactor = 0.01; const gapFactor = 1 / (1 + scalingFactor * numberOfBars); @@ -341,13 +341,13 @@ export const transformPlotlyJsonToHorizontalBarWithAxisProps = ( return { data: chartData, - chartTitle: layout.title || '', + chartTitle: typeof layout.title === 'string' ? layout.title : '', barHeight, showYAxisLables: true, styles: { root: { height: chartHeight, - width: layout.width || 600, + width: typeof layout.width === 'number' ? layout.width : 600, }, }, }; @@ -375,7 +375,7 @@ export const transformPlotlyJsonToHeatmapProps = (jsonObj: any): IHeatMapChartPr }); }); const heatmapData: IHeatMapChartData = { - legend: firstData.name || '', + legend: typeof firstData.name === 'string' ? firstData.name : '', data: heatmapDataPoints, value: 0, }; @@ -429,17 +429,17 @@ export const transformPlotlyJsonToSankeyProps = ( }), }; - const width: number = layout?.width || 440; - const height: number = layout?.height || 220; + const width: number = typeof layout?.width === 'number' ? layout?.width : 440; + const height: number = typeof layout?.height === 'number' ? layout?.height : 220; const styles: ISankeyChartProps['styles'] = { root: { - fontSize: layout.font?.size, + ...(typeof layout.font?.size === 'number' ? { fontSize: layout.font?.size } : {}), }, }; const shouldResize: number = width + height; return { data: { - chartTitle: layout?.title, + chartTitle: typeof layout?.title === 'string' ? layout?.title : '', SankeyChartData: sankeyChartData, }, width, @@ -491,15 +491,15 @@ export const transformPlotlyJsonToGaugeProps = ( return { segments, - chartValue: firstData.value, - chartTitle: firstData.title?.text, + chartValue: typeof firstData.value === 'number' ? firstData.value : 0, + chartTitle: typeof firstData.title?.text === 'string' ? firstData.title?.text : '', sublabel, // range values can be null - minValue: firstData.gauge?.axis?.range?.[0] ?? undefined, - maxValue: firstData.gauge?.axis?.range?.[1] ?? undefined, + minValue: typeof firstData.gauge?.axis?.range?.[0] === 'number' ? firstData.gauge?.axis?.range?.[0] : undefined, + maxValue: typeof firstData.gauge?.axis?.range?.[1] === 'number' ? firstData.gauge?.axis?.range?.[1] : undefined, chartValueFormat: () => firstData.value, - width: layout?.width, - height: layout?.height, + width: typeof layout?.width === 'number' ? layout?.width : 0, + height: typeof layout?.height === 'number' ? layout?.height : 0, hideLegend: true, styles, }; From f2523077e9c92fc7f065308efe2081fc86846b5b Mon Sep 17 00:00:00 2001 From: ling1726 Date: Thu, 19 Dec 2024 15:04:13 +0100 Subject: [PATCH 5/8] fix: MessageBar auto reflow should handle document reflow with `min-content` (#33409) --- ...-a4bb3869-7b64-45f3-9084-cfbbca1c8a1c.json | 7 + .../components/MessageBar/MessageBar.test.tsx | 10 ++ .../MessageBar/useMessageBarReflow.ts | 133 +++++++++--------- 3 files changed, 84 insertions(+), 66 deletions(-) create mode 100644 change/@fluentui-react-message-bar-a4bb3869-7b64-45f3-9084-cfbbca1c8a1c.json diff --git a/change/@fluentui-react-message-bar-a4bb3869-7b64-45f3-9084-cfbbca1c8a1c.json b/change/@fluentui-react-message-bar-a4bb3869-7b64-45f3-9084-cfbbca1c8a1c.json new file mode 100644 index 0000000000000..2cc7d9dc06210 --- /dev/null +++ b/change/@fluentui-react-message-bar-a4bb3869-7b64-45f3-9084-cfbbca1c8a1c.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "fix: MessageBar auto reflow should handle document reflow with `min-content`", + "packageName": "@fluentui/react-message-bar", + "email": "lingfangao@hotmail.com", + "dependentChangeType": "patch" +} diff --git a/packages/react-components/react-message-bar/library/src/components/MessageBar/MessageBar.test.tsx b/packages/react-components/react-message-bar/library/src/components/MessageBar/MessageBar.test.tsx index 2881a0b1a2f54..056dce8a52bfd 100644 --- a/packages/react-components/react-message-bar/library/src/components/MessageBar/MessageBar.test.tsx +++ b/packages/react-components/react-message-bar/library/src/components/MessageBar/MessageBar.test.tsx @@ -23,6 +23,16 @@ describe('MessageBar', () => { // do nothing } }; + + // @ts-expect-error https://github.com/jsdom/jsdom/issues/2032 + global.IntersectionObserver = class IntersectionObserver { + public observe() { + // do nothing + } + public disconnect() { + // do nothing + } + }; }); beforeEach(() => { diff --git a/packages/react-components/react-message-bar/library/src/components/MessageBar/useMessageBarReflow.ts b/packages/react-components/react-message-bar/library/src/components/MessageBar/useMessageBarReflow.ts index d8a18037f6dfb..8bbb0ae01843b 100644 --- a/packages/react-components/react-message-bar/library/src/components/MessageBar/useMessageBarReflow.ts +++ b/packages/react-components/react-message-bar/library/src/components/MessageBar/useMessageBarReflow.ts @@ -1,91 +1,92 @@ import * as React from 'react'; import { useFluent_unstable as useFluent } from '@fluentui/react-shared-contexts'; -import { isHTMLElement } from '@fluentui/react-utilities'; +import { useIsomorphicLayoutEffect } from '@fluentui/react-utilities'; export function useMessageBarReflow(enabled: boolean = false) { const { targetDocument } = useFluent(); - const forceUpdate = React.useReducer(() => ({}), {})[1]; - const reflowingRef = React.useRef(false); - // TODO: exclude types from this lint rule: https://github.com/microsoft/fluentui/issues/31286 - - const resizeObserverRef = React.useRef(null); const prevInlineSizeRef = React.useRef(-1); + const messageBarRef = React.useRef(null); - const handleResize: ResizeObserverCallback = React.useCallback( - entries => { - // Resize observer is only owned by this component - one resize observer entry expected - // No need to support multiple fragments - one border box entry expected - if (process.env.NODE_ENV !== 'production' && entries.length > 1) { - // eslint-disable-next-line no-console - console.error( - [ - 'useMessageBarReflow: Resize observer should only have one entry. ', - 'If multiple entries are observed, the first entry will be used.', - 'This is a bug, please report it to the Fluent UI team.', - ].join(' '), - ); - } + const [reflowing, setReflowing] = React.useState(false); - const entry = entries[0]; - // `borderBoxSize` is not supported before Chrome 84, Firefox 92, nor Safari 15.4 - const inlineSize = entry?.borderBoxSize?.[0]?.inlineSize ?? entry?.target.getBoundingClientRect().width; + // This layout effect 'sanity checks' what observers have done + // since DOM has not been flushed when observers run + useIsomorphicLayoutEffect(() => { + if (!messageBarRef.current) { + return; + } - if (inlineSize === undefined || !entry) { - return; + setReflowing(prevReflowing => { + if (!prevReflowing && messageBarRef.current && isReflowing(messageBarRef.current)) { + return true; } - const { target } = entry; + return prevReflowing; + }); + }, [reflowing]); - if (!isHTMLElement(target)) { - return; - } + const handleResize: ResizeObserverCallback = React.useCallback(() => { + if (!messageBarRef.current) { + return; + } - let nextReflowing: boolean | undefined; - - // No easy way to really determine when the single line layout will fit - // Just keep try to set single line layout as long as the size is growing - // Will cause flickering when size is being adjusted gradually (i.e. drag) - but this should not be a common case - if (reflowingRef.current) { - if (prevInlineSizeRef.current < inlineSize) { - nextReflowing = false; - } - } else { - const scrollWidth = target.scrollWidth; - if (inlineSize < scrollWidth) { - nextReflowing = true; - } - } + const inlineSize = messageBarRef.current.getBoundingClientRect().width; + const scrollWidth = messageBarRef.current.scrollWidth; - prevInlineSizeRef.current = inlineSize; - if (typeof nextReflowing !== 'undefined' && reflowingRef.current !== nextReflowing) { - reflowingRef.current = nextReflowing; - forceUpdate(); - } - }, - [forceUpdate], - ); + const expanding = prevInlineSizeRef.current < inlineSize; + const overflowing = inlineSize < scrollWidth; + + setReflowing(!expanding || overflowing); + }, []); + + const handleIntersection: IntersectionObserverCallback = React.useCallback(entries => { + if (entries[0].intersectionRatio < 1) { + setReflowing(true); + } + }, []); + + const ref = React.useMemo(() => { + let resizeObserver: ResizeObserver | null = null; + let intersectionObserer: IntersectionObserver | null = null; - const ref = React.useCallback( - (el: HTMLElement | null) => { + return (el: HTMLElement | null) => { if (!enabled || !el || !targetDocument?.defaultView) { + resizeObserver?.disconnect(); + intersectionObserer?.disconnect(); return; } - resizeObserverRef.current?.disconnect(); + messageBarRef.current = el; const win = targetDocument.defaultView; - const resizeObserver = new win.ResizeObserver(handleResize); - resizeObserverRef.current = resizeObserver; - resizeObserver.observe(el, { box: 'border-box' }); - }, - [targetDocument, handleResize, enabled], - ); + resizeObserver = new win.ResizeObserver(handleResize); + intersectionObserer = new win.IntersectionObserver(handleIntersection, { threshold: 1 }); - React.useEffect(() => { - return () => { - resizeObserverRef.current?.disconnect(); + intersectionObserer.observe(el); + resizeObserver.observe(el, { box: 'border-box' }); }; - }, []); + }, [handleResize, handleIntersection, enabled, targetDocument]); - return { ref, reflowing: reflowingRef.current }; + return { ref, reflowing }; } + +const isReflowing = (el: HTMLElement) => { + return el.scrollWidth > el.offsetWidth || !isFullyInViewport(el); +}; + +const isFullyInViewport = (el: HTMLElement) => { + const rect = el.getBoundingClientRect(); + const doc = el.ownerDocument; + const win = doc.defaultView; + + if (!win) { + return true; + } + + return ( + rect.top >= 0 && + rect.left >= 0 && + rect.bottom <= (win.innerHeight || doc.documentElement.clientHeight) && + rect.right <= (win.innerWidth || doc.documentElement.clientWidth) + ); +}; From 6b775123cced3ca0f58ce8a5779c6df2474f6bff Mon Sep 17 00:00:00 2001 From: Fluent UI Build Date: Thu, 19 Dec 2024 14:31:14 +0000 Subject: [PATCH 6/8] release: applying package updates - react-components --- ...-bar-a4bb3869-7b64-45f3-9084-cfbbca1c8a1c.json | 7 ------- .../react-components/CHANGELOG.json | 15 +++++++++++++++ .../react-components/CHANGELOG.md | 12 +++++++++++- .../react-components/package.json | 4 ++-- .../react-message-bar/library/CHANGELOG.json | 15 +++++++++++++++ .../react-message-bar/library/CHANGELOG.md | 11 ++++++++++- .../react-message-bar/library/package.json | 2 +- .../react-migration-v0-v9/library/CHANGELOG.json | 15 +++++++++++++++ .../react-migration-v0-v9/library/CHANGELOG.md | 11 ++++++++++- .../react-migration-v0-v9/library/package.json | 4 ++-- .../react-migration-v8-v9/library/CHANGELOG.json | 15 +++++++++++++++ .../react-migration-v8-v9/library/CHANGELOG.md | 11 ++++++++++- .../react-migration-v8-v9/library/package.json | 4 ++-- .../react-portal-compat/CHANGELOG.json | 15 +++++++++++++++ .../react-portal-compat/CHANGELOG.md | 11 ++++++++++- .../react-portal-compat/package.json | 4 ++-- .../react-timepicker-compat/library/package.json | 2 +- .../react-components/theme-designer/package.json | 2 +- 18 files changed, 137 insertions(+), 23 deletions(-) delete mode 100644 change/@fluentui-react-message-bar-a4bb3869-7b64-45f3-9084-cfbbca1c8a1c.json diff --git a/change/@fluentui-react-message-bar-a4bb3869-7b64-45f3-9084-cfbbca1c8a1c.json b/change/@fluentui-react-message-bar-a4bb3869-7b64-45f3-9084-cfbbca1c8a1c.json deleted file mode 100644 index 2cc7d9dc06210..0000000000000 --- a/change/@fluentui-react-message-bar-a4bb3869-7b64-45f3-9084-cfbbca1c8a1c.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "type": "patch", - "comment": "fix: MessageBar auto reflow should handle document reflow with `min-content`", - "packageName": "@fluentui/react-message-bar", - "email": "lingfangao@hotmail.com", - "dependentChangeType": "patch" -} diff --git a/packages/react-components/react-components/CHANGELOG.json b/packages/react-components/react-components/CHANGELOG.json index 62cabe937aa29..d41c76fea81a7 100644 --- a/packages/react-components/react-components/CHANGELOG.json +++ b/packages/react-components/react-components/CHANGELOG.json @@ -1,6 +1,21 @@ { "name": "@fluentui/react-components", "entries": [ + { + "date": "Thu, 19 Dec 2024 14:30:56 GMT", + "tag": "@fluentui/react-components_v9.56.8", + "version": "9.56.8", + "comments": { + "patch": [ + { + "author": "lingfangao@hotmail.com", + "package": "@fluentui/react-message-bar", + "commit": "f2523077e9c92fc7f065308efe2081fc86846b5b", + "comment": "fix: MessageBar auto reflow should handle document reflow with `min-content`" + } + ] + } + }, { "date": "Wed, 18 Dec 2024 10:59:36 GMT", "tag": "@fluentui/react-components_v9.56.7", diff --git a/packages/react-components/react-components/CHANGELOG.md b/packages/react-components/react-components/CHANGELOG.md index c54b6eb9a2144..0d568f05c23fa 100644 --- a/packages/react-components/react-components/CHANGELOG.md +++ b/packages/react-components/react-components/CHANGELOG.md @@ -1,9 +1,19 @@ # Change Log - @fluentui/react-components -This log was last generated on Wed, 18 Dec 2024 10:59:36 GMT and should not be manually modified. +This log was last generated on Thu, 19 Dec 2024 14:30:56 GMT and should not be manually modified. +## [9.56.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-components_v9.56.8) + +Thu, 19 Dec 2024 14:30:56 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-components_v9.56.7..@fluentui/react-components_v9.56.8) + +### Patches + +- `@fluentui/react-message-bar` + - fix: MessageBar auto reflow should handle document reflow with `min-content` ([PR #33409](https://github.com/microsoft/fluentui/pull/33409) by lingfangao@hotmail.com) + ## [9.56.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-components_v9.56.7) Wed, 18 Dec 2024 10:59:36 GMT diff --git a/packages/react-components/react-components/package.json b/packages/react-components/react-components/package.json index 1a57651aa4516..bce0970ab1155 100644 --- a/packages/react-components/react-components/package.json +++ b/packages/react-components/react-components/package.json @@ -1,6 +1,6 @@ { "name": "@fluentui/react-components", - "version": "9.56.7", + "version": "9.56.8", "description": "Suite package for converged React components", "main": "lib-commonjs/index.js", "module": "lib/index.js", @@ -66,7 +66,7 @@ "@fluentui/react-tree": "^9.8.11", "@griffel/react": "^1.5.22", "@swc/helpers": "^0.5.1", - "@fluentui/react-message-bar": "^9.2.18", + "@fluentui/react-message-bar": "^9.2.19", "@fluentui/react-breadcrumb": "^9.0.47", "@fluentui/react-aria": "^9.13.12", "@fluentui/react-rating": "^9.0.26", diff --git a/packages/react-components/react-message-bar/library/CHANGELOG.json b/packages/react-components/react-message-bar/library/CHANGELOG.json index 7af96ca5b028a..76cb7b3b7d04a 100644 --- a/packages/react-components/react-message-bar/library/CHANGELOG.json +++ b/packages/react-components/react-message-bar/library/CHANGELOG.json @@ -1,6 +1,21 @@ { "name": "@fluentui/react-message-bar", "entries": [ + { + "date": "Thu, 19 Dec 2024 14:30:56 GMT", + "tag": "@fluentui/react-message-bar_v9.2.19", + "version": "9.2.19", + "comments": { + "patch": [ + { + "author": "lingfangao@hotmail.com", + "package": "@fluentui/react-message-bar", + "commit": "f2523077e9c92fc7f065308efe2081fc86846b5b", + "comment": "fix: MessageBar auto reflow should handle document reflow with `min-content`" + } + ] + } + }, { "date": "Mon, 16 Dec 2024 16:26:49 GMT", "tag": "@fluentui/react-message-bar_v9.2.18", diff --git a/packages/react-components/react-message-bar/library/CHANGELOG.md b/packages/react-components/react-message-bar/library/CHANGELOG.md index a5ade09fda185..47343bfcb13b6 100644 --- a/packages/react-components/react-message-bar/library/CHANGELOG.md +++ b/packages/react-components/react-message-bar/library/CHANGELOG.md @@ -1,9 +1,18 @@ # Change Log - @fluentui/react-message-bar -This log was last generated on Mon, 16 Dec 2024 16:26:49 GMT and should not be manually modified. +This log was last generated on Thu, 19 Dec 2024 14:30:56 GMT and should not be manually modified. +## [9.2.19](https://github.com/microsoft/fluentui/tree/@fluentui/react-message-bar_v9.2.19) + +Thu, 19 Dec 2024 14:30:56 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-message-bar_v9.2.18..@fluentui/react-message-bar_v9.2.19) + +### Patches + +- fix: MessageBar auto reflow should handle document reflow with `min-content` ([PR #33409](https://github.com/microsoft/fluentui/pull/33409) by lingfangao@hotmail.com) + ## [9.2.18](https://github.com/microsoft/fluentui/tree/@fluentui/react-message-bar_v9.2.18) Mon, 16 Dec 2024 16:26:49 GMT diff --git a/packages/react-components/react-message-bar/library/package.json b/packages/react-components/react-message-bar/library/package.json index 3f5b05fb9c153..f290113045fe5 100644 --- a/packages/react-components/react-message-bar/library/package.json +++ b/packages/react-components/react-message-bar/library/package.json @@ -1,6 +1,6 @@ { "name": "@fluentui/react-message-bar", - "version": "9.2.18", + "version": "9.2.19", "description": "Fluent UI MessageBar component", "main": "lib-commonjs/index.js", "module": "lib/index.js", diff --git a/packages/react-components/react-migration-v0-v9/library/CHANGELOG.json b/packages/react-components/react-migration-v0-v9/library/CHANGELOG.json index a2dc43d9f290b..192dbf6cdb230 100644 --- a/packages/react-components/react-migration-v0-v9/library/CHANGELOG.json +++ b/packages/react-components/react-migration-v0-v9/library/CHANGELOG.json @@ -1,6 +1,21 @@ { "name": "@fluentui/react-migration-v0-v9", "entries": [ + { + "date": "Thu, 19 Dec 2024 14:30:56 GMT", + "tag": "@fluentui/react-migration-v0-v9_v9.2.25", + "version": "9.2.25", + "comments": { + "patch": [ + { + "author": "beachball", + "package": "@fluentui/react-migration-v0-v9", + "comment": "Bump @fluentui/react-components to v9.56.8", + "commit": "f2523077e9c92fc7f065308efe2081fc86846b5b" + } + ] + } + }, { "date": "Wed, 18 Dec 2024 10:59:37 GMT", "tag": "@fluentui/react-migration-v0-v9_v9.2.24", diff --git a/packages/react-components/react-migration-v0-v9/library/CHANGELOG.md b/packages/react-components/react-migration-v0-v9/library/CHANGELOG.md index 07aeab2fbd235..45990059abacf 100644 --- a/packages/react-components/react-migration-v0-v9/library/CHANGELOG.md +++ b/packages/react-components/react-migration-v0-v9/library/CHANGELOG.md @@ -1,9 +1,18 @@ # Change Log - @fluentui/react-migration-v0-v9 -This log was last generated on Wed, 18 Dec 2024 10:59:37 GMT and should not be manually modified. +This log was last generated on Thu, 19 Dec 2024 14:30:56 GMT and should not be manually modified. +## [9.2.25](https://github.com/microsoft/fluentui/tree/@fluentui/react-migration-v0-v9_v9.2.25) + +Thu, 19 Dec 2024 14:30:56 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-migration-v0-v9_v9.2.24..@fluentui/react-migration-v0-v9_v9.2.25) + +### Patches + +- Bump @fluentui/react-components to v9.56.8 ([PR #33409](https://github.com/microsoft/fluentui/pull/33409) by beachball) + ## [9.2.24](https://github.com/microsoft/fluentui/tree/@fluentui/react-migration-v0-v9_v9.2.24) Wed, 18 Dec 2024 10:59:37 GMT diff --git a/packages/react-components/react-migration-v0-v9/library/package.json b/packages/react-components/react-migration-v0-v9/library/package.json index 05776bc1b4edc..1a9f2e4164c5a 100644 --- a/packages/react-components/react-migration-v0-v9/library/package.json +++ b/packages/react-components/react-migration-v0-v9/library/package.json @@ -1,6 +1,6 @@ { "name": "@fluentui/react-migration-v0-v9", - "version": "9.2.24", + "version": "9.2.25", "description": "Migration shim components and methods for hybrid v0/v9 applications building on Fluent UI React.", "main": "lib-commonjs/index.js", "module": "lib/index.js", @@ -21,7 +21,7 @@ }, "dependencies": { "@fluentui/react-aria": "^9.13.12", - "@fluentui/react-components": "^9.56.7", + "@fluentui/react-components": "^9.56.8", "@fluentui/react-context-selector": "^9.1.71", "@fluentui/react-icons": "^2.0.245", "@fluentui/react-jsx-runtime": "^9.0.48", diff --git a/packages/react-components/react-migration-v8-v9/library/CHANGELOG.json b/packages/react-components/react-migration-v8-v9/library/CHANGELOG.json index 92821ecf3ead3..9e0442e918717 100644 --- a/packages/react-components/react-migration-v8-v9/library/CHANGELOG.json +++ b/packages/react-components/react-migration-v8-v9/library/CHANGELOG.json @@ -1,6 +1,21 @@ { "name": "@fluentui/react-migration-v8-v9", "entries": [ + { + "date": "Thu, 19 Dec 2024 14:30:56 GMT", + "tag": "@fluentui/react-migration-v8-v9_v9.6.44", + "version": "9.6.44", + "comments": { + "patch": [ + { + "author": "beachball", + "package": "@fluentui/react-migration-v8-v9", + "comment": "Bump @fluentui/react-components to v9.56.8", + "commit": "f2523077e9c92fc7f065308efe2081fc86846b5b" + } + ] + } + }, { "date": "Wed, 18 Dec 2024 10:59:37 GMT", "tag": "@fluentui/react-migration-v8-v9_v9.6.43", diff --git a/packages/react-components/react-migration-v8-v9/library/CHANGELOG.md b/packages/react-components/react-migration-v8-v9/library/CHANGELOG.md index c2377d3ca7685..d3764f2a61d43 100644 --- a/packages/react-components/react-migration-v8-v9/library/CHANGELOG.md +++ b/packages/react-components/react-migration-v8-v9/library/CHANGELOG.md @@ -1,9 +1,18 @@ # Change Log - @fluentui/react-migration-v8-v9 -This log was last generated on Wed, 18 Dec 2024 10:59:37 GMT and should not be manually modified. +This log was last generated on Thu, 19 Dec 2024 14:30:56 GMT and should not be manually modified. +## [9.6.44](https://github.com/microsoft/fluentui/tree/@fluentui/react-migration-v8-v9_v9.6.44) + +Thu, 19 Dec 2024 14:30:56 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-migration-v8-v9_v9.6.43..@fluentui/react-migration-v8-v9_v9.6.44) + +### Patches + +- Bump @fluentui/react-components to v9.56.8 ([PR #33409](https://github.com/microsoft/fluentui/pull/33409) by beachball) + ## [9.6.43](https://github.com/microsoft/fluentui/tree/@fluentui/react-migration-v8-v9_v9.6.43) Wed, 18 Dec 2024 10:59:37 GMT diff --git a/packages/react-components/react-migration-v8-v9/library/package.json b/packages/react-components/react-migration-v8-v9/library/package.json index 358eb4a893d51..05702c7ce4348 100644 --- a/packages/react-components/react-migration-v8-v9/library/package.json +++ b/packages/react-components/react-migration-v8-v9/library/package.json @@ -1,6 +1,6 @@ { "name": "@fluentui/react-migration-v8-v9", - "version": "9.6.43", + "version": "9.6.44", "description": "Migration shim components and methods for hybrid v8/v9 applications building on Fluent UI React.", "main": "lib-commonjs/index.js", "module": "lib/index.js", @@ -21,7 +21,7 @@ "@ctrl/tinycolor": "3.3.4", "@fluentui/fluent2-theme": "^8.107.118", "@fluentui/react": "^8.122.1", - "@fluentui/react-components": "^9.56.7", + "@fluentui/react-components": "^9.56.8", "@fluentui/react-icons": "^2.0.245", "@fluentui/react-hooks": "^8.8.16", "@griffel/react": "^1.5.22", diff --git a/packages/react-components/react-portal-compat/CHANGELOG.json b/packages/react-components/react-portal-compat/CHANGELOG.json index 288104b2d0402..2a97f72c72d31 100644 --- a/packages/react-components/react-portal-compat/CHANGELOG.json +++ b/packages/react-components/react-portal-compat/CHANGELOG.json @@ -1,6 +1,21 @@ { "name": "@fluentui/react-portal-compat", "entries": [ + { + "date": "Thu, 19 Dec 2024 14:30:56 GMT", + "tag": "@fluentui/react-portal-compat_v9.0.176", + "version": "9.0.176", + "comments": { + "patch": [ + { + "author": "beachball", + "package": "@fluentui/react-portal-compat", + "comment": "Bump @fluentui/react-components to v9.56.8", + "commit": "f2523077e9c92fc7f065308efe2081fc86846b5b" + } + ] + } + }, { "date": "Wed, 18 Dec 2024 10:59:37 GMT", "tag": "@fluentui/react-portal-compat_v9.0.175", diff --git a/packages/react-components/react-portal-compat/CHANGELOG.md b/packages/react-components/react-portal-compat/CHANGELOG.md index 9e541f2a01e3e..24aec79e8fa1b 100644 --- a/packages/react-components/react-portal-compat/CHANGELOG.md +++ b/packages/react-components/react-portal-compat/CHANGELOG.md @@ -1,9 +1,18 @@ # Change Log - @fluentui/react-portal-compat -This log was last generated on Wed, 18 Dec 2024 10:59:37 GMT and should not be manually modified. +This log was last generated on Thu, 19 Dec 2024 14:30:56 GMT and should not be manually modified. +## [9.0.176](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal-compat_v9.0.176) + +Thu, 19 Dec 2024 14:30:56 GMT +[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal-compat_v9.0.175..@fluentui/react-portal-compat_v9.0.176) + +### Patches + +- Bump @fluentui/react-components to v9.56.8 ([PR #33409](https://github.com/microsoft/fluentui/pull/33409) by beachball) + ## [9.0.175](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal-compat_v9.0.175) Wed, 18 Dec 2024 10:59:37 GMT diff --git a/packages/react-components/react-portal-compat/package.json b/packages/react-components/react-portal-compat/package.json index 3eaec090a9746..907063c27bb59 100644 --- a/packages/react-components/react-portal-compat/package.json +++ b/packages/react-components/react-portal-compat/package.json @@ -1,6 +1,6 @@ { "name": "@fluentui/react-portal-compat", - "version": "9.0.175", + "version": "9.0.176", "description": "A package that contains compatibility layer for React Portals", "main": "lib-commonjs/index.js", "module": "lib/index.js", @@ -27,7 +27,7 @@ "@swc/helpers": "^0.5.1" }, "peerDependencies": { - "@fluentui/react-components": "^9.56.7", + "@fluentui/react-components": "^9.56.8", "@types/react": ">=16.14.0 <19.0.0", "react": ">=16.14.0 <19.0.0" }, diff --git a/packages/react-components/react-timepicker-compat/library/package.json b/packages/react-components/react-timepicker-compat/library/package.json index a2d65f02399a8..0eca335dda8f2 100644 --- a/packages/react-components/react-timepicker-compat/library/package.json +++ b/packages/react-components/react-timepicker-compat/library/package.json @@ -1,6 +1,6 @@ { "name": "@fluentui/react-timepicker-compat", - "version": "0.2.44", + "version": "0.2.45", "description": "Fluent UI TimePicker Compat Component", "main": "lib-commonjs/index.js", "module": "lib/index.js", diff --git a/packages/react-components/theme-designer/package.json b/packages/react-components/theme-designer/package.json index 31317e4cc70cb..74899a1d5bcf9 100644 --- a/packages/react-components/theme-designer/package.json +++ b/packages/react-components/theme-designer/package.json @@ -17,7 +17,7 @@ "@fluentui/scripts-api-extractor": "*" }, "dependencies": { - "@fluentui/react-components": "^9.56.7", + "@fluentui/react-components": "^9.56.8", "@fluentui/react-context-selector": "^9.1.71", "@fluentui/react-icons": "^2.0.245", "@fluentui/react-storybook-addon-export-to-sandbox": "^0.1.0", From 00fada2af3a290e83ba3812ab3440b5ae8a903cf Mon Sep 17 00:00:00 2001 From: Victor Genaev Date: Thu, 19 Dec 2024 19:40:08 +0100 Subject: [PATCH 7/8] chore: migrate to ts 5.3.3 (#33235) --- ...-1bdbe475-2d17-453e-b058-b152322278cd.json | 7 +++ package.json | 7 ++- packages/react/etc/react.api.md | 44 +++++++++---------- .../ContextualMenu/ContextualMenu.base.tsx | 2 +- yarn.lock | 37 ++++++++++++---- 5 files changed, 61 insertions(+), 36 deletions(-) create mode 100644 change/@fluentui-react-1bdbe475-2d17-453e-b058-b152322278cd.json diff --git a/change/@fluentui-react-1bdbe475-2d17-453e-b058-b152322278cd.json b/change/@fluentui-react-1bdbe475-2d17-453e-b058-b152322278cd.json new file mode 100644 index 0000000000000..ec5661ca38e77 --- /dev/null +++ b/change/@fluentui-react-1bdbe475-2d17-453e-b058-b152322278cd.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "chore: update react.api.md", + "packageName": "@fluentui/react", + "email": "vgenaev@gmail.com", + "dependentChangeType": "none" +} diff --git a/package.json b/package.json index 21667788a385c..5fb8c55d042bb 100644 --- a/package.json +++ b/package.json @@ -69,7 +69,7 @@ "@griffel/webpack-loader": "2.2.10", "@jest/reporters": "29.7.0", "@mdx-js/loader": "2.3.0", - "@microsoft/api-extractor": "7.38.5", + "@microsoft/api-extractor": "7.39.0", "@microsoft/api-extractor-model": "7.28.3", "@microsoft/eslint-plugin-sdl": "0.1.9", "@microsoft/load-themed-styles": "1.10.26", @@ -336,11 +336,11 @@ "tmp": "0.2.1", "ts-jest": "29.1.1", "ts-loader": "9.4.2", - "ts-node": "10.9.1", + "ts-node": "10.9.2", "tsconfig-paths": "4.2.0", "tsconfig-paths-webpack-plugin": "4.1.0", "tslib": "2.6.3", - "typescript": "5.2.2", + "typescript": "5.3.3", "vinyl": "2.2.0", "webpack": "5.94.0", "webpack-bundle-analyzer": "4.10.1", @@ -379,7 +379,6 @@ "swc-loader": "^0.2.6", "prettier": "2.8.8", "puppeteer": "19.6.0", - "@microsoft/api-extractor/typescript": "5.2.2", "ws": "8.17.1" }, "nx": { diff --git a/packages/react/etc/react.api.md b/packages/react/etc/react.api.md index 2cf141de1c40e..94b006c369575 100644 --- a/packages/react/etc/react.api.md +++ b/packages/react/etc/react.api.md @@ -1604,49 +1604,49 @@ export { FabricPerformance } // @public (undocumented) export enum FabricSlots { // (undocumented) - black = 21, + black = 21,// BaseSlots.primaryColor, Shade[Shade.Unshaded]); // (undocumented) - neutralDark = 20, + neutralDark = 20,// BaseSlots.primaryColor, Shade[Shade.Shade1]); // (undocumented) - neutralLight = 11, + neutralLight = 11,// BaseSlots.primaryColor, Shade[Shade.Shade2]); // (undocumented) - neutralLighter = 10, + neutralLighter = 10,// BaseSlots.primaryColor, Shade[Shade.Shade3]); // (undocumented) - neutralLighterAlt = 9, + neutralLighterAlt = 9,// BaseSlots.primaryColor, Shade[Shade.Shade4]); // (undocumented) - neutralPrimary = 19, + neutralPrimary = 19,// BaseSlots.primaryColor, Shade[Shade.Shade5]); // (undocumented) - neutralPrimaryAlt = 18, + neutralPrimaryAlt = 18,// BaseSlots.primaryColor, Shade[Shade.Shade6]); // (undocumented) - neutralQuaternary = 13, + neutralQuaternary = 13,// BaseSlots.primaryColor, Shade[Shade.Shade7]); // (undocumented) - neutralQuaternaryAlt = 12, + neutralQuaternaryAlt = 12,// BaseSlots.primaryColor, Shade[Shade.Shade8]); // (undocumented) - neutralSecondary = 17, + neutralSecondary = 17,// BaseSlots.backgroundColor, Shade[Shade.Shade1]); // (undocumented) - neutralSecondaryAlt = 16, + neutralSecondaryAlt = 16,// BaseSlots.backgroundColor, Shade[Shade.Shade2]); // (undocumented) - neutralTertiary = 15, + neutralTertiary = 15,// BaseSlots.backgroundColor, Shade[Shade.Shade3]); // (undocumented) - neutralTertiaryAlt = 14, + neutralTertiaryAlt = 14,// BaseSlots.backgroundColor, Shade[Shade.Shade4]); // (undocumented) - themeDark = 7, + themeDark = 7,// BaseSlots.backgroundColor, Shade[Shade.Shade5]); // (undocumented) - themeDarkAlt = 6, + themeDarkAlt = 6,// BaseSlots.backgroundColor, Shade[Shade.Shade6]); // bg6 or fg2 // (undocumented) - themeDarker = 8, + themeDarker = 8,// BaseSlots.foregroundColor, Shade[Shade.Shade3]); // (undocumented) - themeLight = 3, + themeLight = 3,// BaseSlots.foregroundColor, Shade[Shade.Shade4]); // (undocumented) - themeLighter = 2, + themeLighter = 2,// BaseSlots.foregroundColor, Shade[Shade.Shade5]); // (undocumented) - themeLighterAlt = 1, + themeLighterAlt = 1,// BaseSlots.foregroundColor, Shade[Shade.Shade6]); // (undocumented) - themePrimary = 0, + themePrimary = 0,// BaseSlots.foregroundColor, Shade[Shade.Unshaded]); // (undocumented) - themeSecondary = 5, + themeSecondary = 5,// BaseSlots.foregroundColor, Shade[Shade.Shade7]); // (undocumented) - themeTertiary = 4, + themeTertiary = 4,// BaseSlots.foregroundColor, Shade[Shade.Shade8]); // (undocumented) white = 22 } diff --git a/packages/react/src/components/ContextualMenu/ContextualMenu.base.tsx b/packages/react/src/components/ContextualMenu/ContextualMenu.base.tsx index 945165847f8d7..c457e42be1a7f 100644 --- a/packages/react/src/components/ContextualMenu/ContextualMenu.base.tsx +++ b/packages/react/src/components/ContextualMenu/ContextualMenu.base.tsx @@ -149,7 +149,7 @@ const _getMenuItemStylesFunction = memoizeFunction( ...styles: (IStyleFunctionOrObject | undefined)[] ): IStyleFunctionOrObject => { return (styleProps: IContextualMenuItemStyleProps) => - concatStyleSetsWithProps(styleProps, getItemStyles, ...styles); + concatStyleSetsWithProps(styleProps, getItemStyles, ...styles) as IContextualMenuItemStyles; }, ); diff --git a/yarn.lock b/yarn.lock index 2e46d32ae3ba1..fd3dbfed34482 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2485,10 +2485,10 @@ "@microsoft/tsdoc-config" "~0.16.1" "@rushstack/node-core-library" "3.62.0" -"@microsoft/api-extractor@7.38.5": - version "7.38.5" - resolved "https://registry.yarnpkg.com/@microsoft/api-extractor/-/api-extractor-7.38.5.tgz#51d4cd917a31fa1a5c6d6a02e446526de763ac32" - integrity sha512-c/w2zfqBcBJxaCzpJNvFoouWewcYrUOfeu5ZkWCCIXTF9a/gXM85RGevEzlMAIEGM/kssAAZSXRJIZ3Q5vLFow== +"@microsoft/api-extractor@7.39.0": + version "7.39.0" + resolved "https://registry.yarnpkg.com/@microsoft/api-extractor/-/api-extractor-7.39.0.tgz#41c25f7f522e8b9376debda07364ff234e602eff" + integrity sha512-PuXxzadgnvp+wdeZFPonssRAj/EW4Gm4s75TXzPk09h3wJ8RS3x7typf95B4vwZRrPTQBGopdUl+/vHvlPdAcg== dependencies: "@microsoft/api-extractor-model" "7.28.3" "@microsoft/tsdoc" "0.14.2" @@ -2501,7 +2501,7 @@ resolve "~1.22.1" semver "~7.5.4" source-map "~0.6.1" - typescript "~5.0.4" + typescript "5.3.3" "@microsoft/applicationinsights-analytics-js@3.3.0": version "3.3.0" @@ -22632,6 +22632,25 @@ ts-node@10.9.1: v8-compile-cache-lib "^3.0.1" yn "3.1.1" +ts-node@10.9.2: + version "10.9.2" + resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.9.2.tgz#70f021c9e185bccdca820e26dc413805c101c71f" + integrity sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ== + dependencies: + "@cspotcode/source-map-support" "^0.8.0" + "@tsconfig/node10" "^1.0.7" + "@tsconfig/node12" "^1.0.7" + "@tsconfig/node14" "^1.0.0" + "@tsconfig/node16" "^1.0.2" + acorn "^8.4.1" + acorn-walk "^8.1.1" + arg "^4.1.0" + create-require "^1.1.0" + diff "^4.0.1" + make-error "^1.1.1" + v8-compile-cache-lib "^3.0.1" + yn "3.1.1" + ts-toolbelt@9.6.0: version "9.6.0" resolved "https://registry.yarnpkg.com/ts-toolbelt/-/ts-toolbelt-9.6.0.tgz#50a25426cfed500d4a09bd1b3afb6f28879edfd5" @@ -22820,10 +22839,10 @@ typescript-eslint@^8.0.0: "@typescript-eslint/parser" "8.8.1" "@typescript-eslint/utils" "8.8.1" -typescript@5.2.2, typescript@~5.0.4: - version "5.2.2" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.2.2.tgz#5ebb5e5a5b75f085f22bc3f8460fba308310fa78" - integrity sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w== +typescript@5.3.3: + version "5.3.3" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.3.3.tgz#b3ce6ba258e72e6305ba66f5c9b452aaee3ffe37" + integrity sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw== typescript@~5.4.2: version "5.4.5" From 7f1647fadcd193c0d16e51b314d299ee19ae5746 Mon Sep 17 00:00:00 2001 From: Sean Monahan Date: Thu, 19 Dec 2024 11:53:53 -0800 Subject: [PATCH 8/8] fix: handle cases when Animation.persist() does not exist (#33282) --- ...-f4f8b668-785c-48d9-9d8f-2410472b12f4.json | 7 ++++ .../factories/createMotionComponent.test.tsx | 39 ++++++++++++++++++ .../createPresenceComponent.test.tsx | 40 +++++++++++++++++++ .../library/src/hooks/useAnimateAtoms.ts | 12 +++++- 4 files changed, 96 insertions(+), 2 deletions(-) create mode 100644 change/@fluentui-react-motion-f4f8b668-785c-48d9-9d8f-2410472b12f4.json diff --git a/change/@fluentui-react-motion-f4f8b668-785c-48d9-9d8f-2410472b12f4.json b/change/@fluentui-react-motion-f4f8b668-785c-48d9-9d8f-2410472b12f4.json new file mode 100644 index 0000000000000..81ed563ea2612 --- /dev/null +++ b/change/@fluentui-react-motion-f4f8b668-785c-48d9-9d8f-2410472b12f4.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "fix: handle case when Animation.persist() does not exist", + "packageName": "@fluentui/react-motion", + "email": "seanmonahan@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/packages/react-components/react-motion/library/src/factories/createMotionComponent.test.tsx b/packages/react-components/react-motion/library/src/factories/createMotionComponent.test.tsx index 7106dde042397..6eb1ad024ae2f 100644 --- a/packages/react-components/react-motion/library/src/factories/createMotionComponent.test.tsx +++ b/packages/react-components/react-motion/library/src/factories/createMotionComponent.test.tsx @@ -38,6 +38,27 @@ function createElementMock() { } describe('createMotionComponent', () => { + let hasAnimation: boolean; + beforeEach(() => { + if (!global.Animation) { + hasAnimation = false; + global.Animation = { + // @ts-expect-error mock + prototype: { + persist: jest.fn(), + }, + }; + } else { + hasAnimation = true; + } + }); + + afterEach(() => { + if (!hasAnimation) { + // @ts-expect-error mock + delete global.Animation; + } + }); it('creates a motion and plays it', () => { const TestAtom = createMotionComponent(motion); const { animateMock, ElementMock } = createElementMock(); @@ -54,6 +75,24 @@ describe('createMotionComponent', () => { }); }); + it('creates a motion and plays it (without .persist())', () => { + // @ts-expect-error mock + delete global.Animation.prototype.persist; + const TestAtom = createMotionComponent(motion); + const { animateMock, ElementMock } = createElementMock(); + + render( + + + , + ); + + expect(animateMock).toHaveBeenCalledWith(motion.keyframes, { + duration: 500, + fill: 'forwards', + }); + }); + it('supports functions as motion definitions', () => { const fnMotion = jest.fn().mockImplementation(() => motion); const TestAtom = createMotionComponent(fnMotion); diff --git a/packages/react-components/react-motion/library/src/factories/createPresenceComponent.test.tsx b/packages/react-components/react-motion/library/src/factories/createPresenceComponent.test.tsx index 77472e8c855ba..7d09f1af50647 100644 --- a/packages/react-components/react-motion/library/src/factories/createPresenceComponent.test.tsx +++ b/packages/react-components/react-motion/library/src/factories/createPresenceComponent.test.tsx @@ -44,6 +44,28 @@ function createElementMock() { } describe('createPresenceComponent', () => { + let hasAnimation: boolean; + beforeEach(() => { + if (!global.Animation) { + hasAnimation = false; + global.Animation = { + // @ts-expect-error mock + prototype: { + persist: jest.fn(), + }, + }; + } else { + hasAnimation = true; + } + }); + + afterEach(() => { + if (!hasAnimation) { + // @ts-expect-error mock + delete global.Animation; + } + }); + describe('appear', () => { it('does not animate by default', () => { const TestPresence = createPresenceComponent(motion); @@ -71,6 +93,24 @@ describe('createPresenceComponent', () => { expect(animateMock).toHaveBeenCalledWith(enterKeyframes, options); }); + it('animates when is "true" (without .persist())', () => { + // @ts-expect-error mock + delete window.Animation.prototype.persist; + const TestPresence = createPresenceComponent(motion); + const { animateMock, ElementMock } = createElementMock(); + + render( + + + , + ); + + expect(animateMock).toHaveBeenCalledWith(enterKeyframes, { + ...options, + duration: 500, + }); + }); + it('finishes motion when wrapped in motion behaviour context with skip behaviour', async () => { const TestPresence = createPresenceComponent(motion); const { finishMock, ElementMock } = createElementMock(); diff --git a/packages/react-components/react-motion/library/src/hooks/useAnimateAtoms.ts b/packages/react-components/react-motion/library/src/hooks/useAnimateAtoms.ts index cb0a03544d3a2..9bc31e0d2e9ce 100644 --- a/packages/react-components/react-motion/library/src/hooks/useAnimateAtoms.ts +++ b/packages/react-components/react-motion/library/src/hooks/useAnimateAtoms.ts @@ -2,6 +2,9 @@ import * as React from 'react'; import type { AnimationHandle, AtomMotion } from '../types'; function useAnimateAtomsInSupportedEnvironment() { + // eslint-disable-next-line @nx/workspace-no-restricted-globals + const SUPPORTS_PERSIST = typeof window !== 'undefined' && typeof window.Animation?.prototype.persist === 'function'; + return React.useCallback( ( element: HTMLElement, @@ -22,7 +25,12 @@ function useAnimateAtomsInSupportedEnvironment() { ...(isReducedMotion && { duration: 1 }), }); - animation.persist(); + if (SUPPORTS_PERSIST) { + animation.persist(); + } else { + const resultKeyframe = keyframes[keyframes.length - 1]; + Object.assign(element.style ?? {}, resultKeyframe); + } return animation; }); @@ -75,7 +83,7 @@ function useAnimateAtomsInSupportedEnvironment() { }, }; }, - [], + [SUPPORTS_PERSIST], ); }