diff --git a/WHATSNEW.md b/WHATSNEW.md index cbfb5a0b79..bd0ac204eb 100644 --- a/WHATSNEW.md +++ b/WHATSNEW.md @@ -1,5 +1,9 @@ ## V3.4.1 --Fix [#1040](https://github.com/microsoft/fluentui-blazor/issues/1040): FluentNumberField can be changedwhen ReadOnly +- Fix [#1040](https://github.com/microsoft/fluentui-blazor/issues/1040): FluentNumberField can be changed when ReadOnly +- Fix [#917](https://github.com/microsoft/fluentui-blazor/issues/917) Multiple Header and Footer detection in Dialog +- FluentNavMenu: Add `Tooltip` parameter to `FluentNavMenuGroup` (fallback to `Title`) and `FluentNavLink` +- FluentNavMenu: Expand the menu when collapsed and a navitem is clicked +- FluentInputFile: Add ProgressTemplate and a bindable ProgressPercent attribute ## V3.4.0 - FluentCheckbox: Add tri-state support diff --git a/examples/Demo/Shared/Microsoft.Fast.Components.FluentUI.xml b/examples/Demo/Shared/Microsoft.Fast.Components.FluentUI.xml index 4187355182..6054b5af37 100644 --- a/examples/Demo/Shared/Microsoft.Fast.Components.FluentUI.xml +++ b/examples/Demo/Shared/Microsoft.Fast.Components.FluentUI.xml @@ -761,6 +761,11 @@ Gets or sets the state of the CheckBox: true, false or null. + + + Gets or sets a callback that updates the . + + @@ -1985,6 +1990,11 @@ The event callback invoked to return the dialog result. + + + Gets True if the Dialog was called from the DialogService. + + @@ -3268,6 +3278,9 @@ + + + @@ -3292,24 +3305,24 @@ To select multiple files, set the maximum number of files allowed to be uploaded. - Default value is 10 + Default value is 10. - Maximum size of a file to be uploaded (in bytes). + Gets or sets the maximum size of a file to be uploaded (in bytes). Default value is 10 MB. - Size of buffer to read bytes from uploaded file (in bytes). + Gets or sets the sze of buffer to read bytes from uploaded file (in bytes). Default value is 10 KB. - Filter for what file types the user can pick from the file input dialog box. + Gets or sets the filter for what file types the user can pick from the file input dialog box. Example: ".gif, .jpg, .png, .doc", "audio/*", "video/*", "image/*" See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept for more information. @@ -3317,30 +3330,25 @@ - Type of file reading. + Gets or sets the type of file reading. For SaveToTemporaryFolder, use to retrieve the file. For Buffer, use to retrieve bytes. - Drag/Drop zone visible or not. Default is true. - You can. - - - - - Current label display when an upload is in progress. + Gets or sets a value indicating whether the Drag/Drop zone is visible. + Default is true. - + - Current global value of the percentage of a current upload. + Gets or sets the child content of the component. - + - Child content of the component. + Gets or sets the progress content of the component. @@ -3362,7 +3370,7 @@ - Raise when a file raised an error. + Raise when a file raised an error. Not yet used. @@ -3372,12 +3380,33 @@ - Identifier of the source component clickable by the end user. + Gets or sets the identifier of the source component clickable by the end user. + + + + + Gets the current label display when an upload is in progress. + + + + + Gets or sets the current global value of the percentage of a current upload. + + + + + Gets or sets a callback that updates the . + + + + + + - Open the dialogbox to select files. + Open the dialog-box to select files. Use instead to specify the ID of the button (for example) on which the user should click. ⚠️ This method doesn't work on Safari and iOS. @@ -4719,15 +4748,14 @@ - Gets or sets the content to be rendered for the expander icon - when the menu is collapsible. The default icon will be used if - this is not specified. + Gets or sets the content to be rendered for the expander icon when the menu is collapsible. + The default icon will be used if this is not specified. - Gets or sets the title of the navigation menu - Default to "Navigation menu" + Gets or sets the title of the navigation menu. + Default to "Navigation menu". @@ -4755,8 +4783,7 @@ - If set to then the tree will - expand when it is created. + If set to then the tree will expand when it is created. @@ -4837,23 +4864,24 @@ - URL for the group. + Gets or sets the URL for the group. - The target attribute specifies where to open the group, if Href is specified. + Gets or sets the target attribute that specifies where to open the group, if Href is specified. Possible values: _blank | _self | _parent | _top. - Icon to use if set. + Gets or sets the Icon to use if set. - The color of the icon. It supports the theme colors, default value uses the themes drawer icon color. + Gets or sets the color of the icon. + It supports the theme colors, default value uses the themes drawer icon color. @@ -4868,12 +4896,19 @@ - Class names to use to indicate the item is active, separated by space. + Gets or sets the class names to use to indicate the item is active, separated by space. - Gets or sets how the link should be matched. Defaults to . + Gets or sets how the link should be matched. + Defaults to . + + + + + Gets or sets the tooltip to display when the mouse is placed over the item. + For the Title is used as fallback. @@ -11138,42 +11173,6 @@ If set to true, add the FluentTooltipProvider component at end of the MainLayout.razor page. - - - A strongly-typed resource class, for looking up localized strings, etc. - - - - - Returns the cached ResourceManager instance used by this class. - - - - - Overrides the current thread's CurrentUICulture property for all - resource lookups using this strongly typed resource class. - - - - - Looks up a localized string similar to Completed. - - - - - Looks up a localized string similar to Loading.... - - - - - Looks up a localized string similar to Canceled. - - - - - Looks up a localized string similar to Loading {0}/{1} - {2}. - - A strongly-typed resource class, for looking up localized strings, etc. diff --git a/examples/Demo/Shared/wwwroot/docs/WhatsNew.md b/examples/Demo/Shared/wwwroot/docs/WhatsNew.md index 562d49a460..d96d6b3d22 100644 --- a/examples/Demo/Shared/wwwroot/docs/WhatsNew.md +++ b/examples/Demo/Shared/wwwroot/docs/WhatsNew.md @@ -1,5 +1,9 @@ ## V3.4.1 --Fix [#1040](https://github.com/microsoft/fluentui-blazor/issues/1040): FluentNumberField can be changedwhen ReadOnly +- Fix [#1040](https://github.com/microsoft/fluentui-blazor/issues/1040): FluentNumberField can be changed when ReadOnly +- Fix [#917](https://github.com/microsoft/fluentui-blazor/issues/917) Multiple Header and Footer detection in Dialog +- FluentNavMenu: Add `Tooltip` parameter to `FluentNavMenuGroup` (fallback to `Title`) and `FluentNavLink` +- FluentNavMenu: Expand the menu when collapsed and a navitem is clicked +- FluentInputFile: Add ProgressTemplate and a bindable ProgressPercent attribute ## V3.4.0 - FluentCheckbox: Add tri-state support diff --git a/src/Core/Components/InputFile/FluentInputFile.razor.cs b/src/Core/Components/InputFile/FluentInputFile.razor.cs index 87b9b75030..e371d8699b 100644 --- a/src/Core/Components/InputFile/FluentInputFile.razor.cs +++ b/src/Core/Components/InputFile/FluentInputFile.razor.cs @@ -1,8 +1,7 @@ using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components.Forms; -using Microsoft.Fast.Components.FluentUI.Resources; using Microsoft.Fast.Components.FluentUI.Utilities; -using Microsoft.FluentUI.AspNetCore.Components.Utilities; + using Microsoft.JSInterop; diff --git a/src/Core/Components/InputFile/ProgressFileDetails.cs b/src/Core/Components/InputFile/ProgressFileDetails.cs index 42157e89be..9752ce0efd 100644 --- a/src/Core/Components/InputFile/ProgressFileDetails.cs +++ b/src/Core/Components/InputFile/ProgressFileDetails.cs @@ -1,4 +1,4 @@ -namespace Microsoft.FluentUI.AspNetCore.Components; +namespace Microsoft.Fast.Components; public record struct ProgressFileDetails(int Index, string Name, int Percentage);