From 9bb0f809426e550a246b3f030796492999f5d3d8 Mon Sep 17 00:00:00 2001 From: Mingyuan Yu Date: Tue, 22 Aug 2023 17:34:02 +0800 Subject: [PATCH 1/3] add displayName for dialog footer and content --- packages/react/src/components/Dialog/DialogContent.tsx | 2 ++ packages/react/src/components/Dialog/DialogFooter.tsx | 2 ++ 2 files changed, 4 insertions(+) diff --git a/packages/react/src/components/Dialog/DialogContent.tsx b/packages/react/src/components/Dialog/DialogContent.tsx index 2c90d46efb6743..dd26abd56c2034 100644 --- a/packages/react/src/components/Dialog/DialogContent.tsx +++ b/packages/react/src/components/Dialog/DialogContent.tsx @@ -9,3 +9,5 @@ export const DialogContent: React.FunctionComponent = style IDialogContentStyleProps, IDialogContentStyles >(DialogContentBase, getStyles, undefined, { scope: 'DialogContent' }); + +DialogContent.displayName = 'DialogContent'; diff --git a/packages/react/src/components/Dialog/DialogFooter.tsx b/packages/react/src/components/Dialog/DialogFooter.tsx index 95b6d099fa13aa..2af3b307a3ac28 100644 --- a/packages/react/src/components/Dialog/DialogFooter.tsx +++ b/packages/react/src/components/Dialog/DialogFooter.tsx @@ -9,3 +9,5 @@ export const DialogFooter: React.FunctionComponent = styled< IDialogFooterStyleProps, IDialogFooterStyles >(DialogFooterBase, getStyles, undefined, { scope: 'DialogFooter' }); + +DialogFooter.displayName = 'DialogFooter'; From ecd72aba1b0d0a46a960bff4e0453f8a41b8a9d9 Mon Sep 17 00:00:00 2001 From: Mingyuan Yu Date: Wed, 23 Aug 2023 10:44:09 +0800 Subject: [PATCH 2/3] yarn change --- ...luentui-react-e393acc7-f1bd-4632-9c6d-359924839807.json | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 change/@fluentui-react-e393acc7-f1bd-4632-9c6d-359924839807.json diff --git a/change/@fluentui-react-e393acc7-f1bd-4632-9c6d-359924839807.json b/change/@fluentui-react-e393acc7-f1bd-4632-9c6d-359924839807.json new file mode 100644 index 00000000000000..d4f82ac47b9969 --- /dev/null +++ b/change/@fluentui-react-e393acc7-f1bd-4632-9c6d-359924839807.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "add displayName to dialog footer and content", + "packageName": "@fluentui/react", + "email": "mingyuanyu@microsoft.com", + "dependentChangeType": "patch" +} From 86991e55ed8b1257f870a91f104f84312e3e55e4 Mon Sep 17 00:00:00 2001 From: Mania Yu Date: Thu, 24 Aug 2023 11:17:43 +0800 Subject: [PATCH 3/3] Update change/@fluentui-react-e393acc7-f1bd-4632-9c6d-359924839807.json Co-authored-by: Esteban Munoz Facusse --- .../@fluentui-react-e393acc7-f1bd-4632-9c6d-359924839807.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/change/@fluentui-react-e393acc7-f1bd-4632-9c6d-359924839807.json b/change/@fluentui-react-e393acc7-f1bd-4632-9c6d-359924839807.json index d4f82ac47b9969..90e8847ac24c72 100644 --- a/change/@fluentui-react-e393acc7-f1bd-4632-9c6d-359924839807.json +++ b/change/@fluentui-react-e393acc7-f1bd-4632-9c6d-359924839807.json @@ -1,6 +1,6 @@ { "type": "patch", - "comment": "add displayName to dialog footer and content", + "comment": "fix: Add displayName to dialog footer and content", "packageName": "@fluentui/react", "email": "mingyuanyu@microsoft.com", "dependentChangeType": "patch"