Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,15 @@ hidden: true

### Renamed properties 🔃
The `FadeIn` property has been renamed to `Animation`.

### Removed properties💥
The `IconColor` property has been removed. Use `Icon.WithColor()` method instead.

The `Intent.Custom` property has been removed. Don't use the `Intent` property and set `Icon` and `ChildContent` instead to customize the message bar.

The `Type` property has been removed. Use the `Layout` property instead to choose the position of the actions and to display the `TimeStamp`.

### Changed properties ⚠️

The `Title` property is a string and cannot contain markup anymore. Use the `ChildContent` property to customize the title content.
Example: `<ChildContent><span class="title">Customized <b>title</b></span></ChildContent>`
2 changes: 1 addition & 1 deletion src/Core/Components/MessageBar/FluentMessageBar.razor
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

@if (!string.IsNullOrEmpty(Title))
{
<span class="title">@((MarkupString)Title)</span>
<span class="title">@Title</span>
}
</AddTag>

Expand Down
2 changes: 2 additions & 0 deletions src/Core/Components/MessageBar/FluentMessageBar.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ public FluentMessageBar(LibraryConfiguration configuration) : base(configuration

/// <summary>
/// Gets or sets the most important info to be shown in the message bar.
/// You cannot format this string using HTML tags (bold, italic, etc.).
/// If you need to format the content, use the <see cref="ChildContent"/> parameter.
/// </summary>
[Parameter]
public string? Title { get; set; }
Expand Down
Loading