diff --git a/change/@fluentui-react-dialog-c5aaea70-5d6e-43f8-8ac5-f846042dfcce.json b/change/@fluentui-react-dialog-c5aaea70-5d6e-43f8-8ac5-f846042dfcce.json new file mode 100644 index 00000000000000..16fd40260cb044 --- /dev/null +++ b/change/@fluentui-react-dialog-c5aaea70-5d6e-43f8-8ac5-f846042dfcce.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "bugfix: change DialogTitle default action icon from 24x24 to 20x20", + "packageName": "@fluentui/react-dialog", + "email": "bernardo.sunderhus@gmail.com", + "dependentChangeType": "patch" +} diff --git a/packages/react-components/react-dialog/src/components/DialogTitle/useDialogTitle.tsx b/packages/react-components/react-dialog/src/components/DialogTitle/useDialogTitle.tsx index 5aef3e2cbfb26f..76b0fdc66b6b7a 100644 --- a/packages/react-components/react-dialog/src/components/DialogTitle/useDialogTitle.tsx +++ b/packages/react-components/react-dialog/src/components/DialogTitle/useDialogTitle.tsx @@ -2,7 +2,7 @@ import * as React from 'react'; import { getNativeElementProps } from '@fluentui/react-utilities'; import type { DialogTitleProps, DialogTitleState } from './DialogTitle.types'; import { useDialogContext_unstable } from '../../contexts/dialogContext'; -import { Dismiss24Regular } from '@fluentui/react-icons'; +import { Dismiss20Regular } from '@fluentui/react-icons'; import { resolveShorthand } from '@fluentui/react-utilities'; import { DialogTrigger } from '../DialogTrigger/DialogTrigger'; import { useDialogTitleInternalStyles } from './useDialogTitleStyles.styles'; @@ -42,7 +42,7 @@ export const useDialogTitle_unstable = (props: DialogTitleProps, ref: React.Ref< // TODO: find a better way to add internal labels aria-label="close" > - + ),