70
loading...
This website collects cookies to deliver better user experience
v0.9.4
is finally here!v0.9.4
is just a small update from v0.9.3
. The road to v1.0
is long and steady, and the main reason for such small numbers on our major releases is due to some poor planning at the very beginning and letting myself get lost with handling version numbers. But hey, it can happen to just about anyone else! 🤷♂️Color
or Alignment
parameter we now have TextColor
and TextAlignment
. While it is still not a breaking change the original parameters will be removed in the v0.9.5
. The good news is that now text utilities can be used on every component and not just on typography components like it was until now.Dialog
parameter is now removed from ModalContent
. It was used only by the Bulma provider and so we made it so, that it is now used implicitly by the framework if the appropriate conditions are met.SearchValue
on the DataGrid filter from string
to object
. This was needed so that you could implement better filtering without DataGrid formatting your numeric or date values into unsupported format values.Progress
component went through some optimizations and as a result, we removed the Background
parameter and replaced it with the Color
parameter.RichTextEditOptions
, rename DynamicLoadReferences
to DynamicallyLoadReferences
Text*
prefix. Affected components are DisplayHeading
, Heading
, Paragraph
, Text
, CardSubtitle
, CardTitle
, and CardText
. The changed parameters are:
Color
to TextColor
Alignment
to TextAlignment
Transform
to TextTransform
Weight
to TextWeight
Progress
component:
Progress
component because ProgressBar
is now only needed for multiple stacked bars, eg. <Progress Value="50" />
Background
parameter with the Color
parameterDialog
parameter for ModalContent
.Tooltip
Placement
parameter to TooltipPlacement
, eg. Placement="Placement.Left"
to Placement="TooltipPlacement.Left"
ReadData
event callback, rename Direction
attribute to SortDirection
<link href="_content/Blazorise.DataGrid/blazorise.datagrid.css" rel="stylesheet" />
DataGridResizeMode
enum no longer exists, and you will need to use TableResizeMode
enum instead.FilteredDataChanged
now accepts the DataGridFilteredDataEventArgs<TItem>
as the argument instead of IEnumerable<TItem>
DataGridColumn
, rename Direction
parameter to SortDirection
SearchValue
change its type from string
to object
typeBarThickness
and MaxBarThickness
from BarChartOptions
to the Axis
option.Validator
you may use the new AsyncValidator
parameter.IMessageService
is used to show simple messages and confirmation dialogs to which the user can respond. It contains some standard methods like Info
, Success
, Warning
, or even the Confirm
method for use cases when you need to prompt the user for an action.
INotificationService
is used to show simple alerts and notifications with a small timeout after which it will auto-close.
IPageProgressService
is used to show a simple progress bar at the top of the page.
Rating
component you will be able to do so. The usage is very simple and can be done with just one line of code, eg.<Rating Color="Color.Primary" @bind-SelectedValue="@SelectedValue" MaxValue="10" />
Flex
, Sizing
, VerticalAlignment
, NoGutters
, Shadow
, Border
, and many more.Flex
utility is our most advanced fluent builder so far and if you're familiar with Bootstrap Flex utilities you will find our new feature to be quite similar to it. We support all Bootstrap Flex utilities, including media breakpoints. The same feature is also provided for every other provider, Bulma, AntDesign, Material.<Div Flex="Flex.JustifyContent.Start">
...
</Div>
<Div Flex="Flex.InlineFlex.AlignItems.Center">
...
</Div>
<Div Flex="Flex.JustifyContent.Start.OnTablet.JustifyContent.End.OnDesktop">
...
</Div>
Border
and Shadow
utilities.<Span Border="Border.Is1">All</Span>
<Span Border="Border.OnTop">Top</Span>
<Span Border="Border.OnRight">Right</Span>
<Div Shadow="Shadow.Remove" Background="Background.Light" Padding="Padding.Is3" Margin="Margin.Is5.FromBottom" Border="Border.Rounded">No shadow</Div>
<Div Shadow="Shadow.Small" Background="Background.White" Padding="Padding.Is3" Margin="Margin.Is5.FromBottom" Border="Border.Rounded">Small shadow</Div>
<Div Shadow="Shadow.Default" Background="Background.White" Padding="Padding.Is3" Margin="Margin.Is5.FromBottom" Border="Border.Rounded">Regular shadow</Div>
<Div Shadow="Shadow.Large" Background="Background.White" Padding="Padding.Is3" Margin="Margin.Is5.FromBottom" Border="Border.Rounded">Larger shadow</Div>
BaseComponent
class so they can be used with any Blazorise component. This should allow for more flexibility when building and designing the UI. While it is still not a breaking change it is advised to add Text*
prefix to the current typography parameter as they will be removed in the future. The affected components are DisplayHeading
, Heading
, Paragraph
, Text
, CardSubtitle
, CardTitle
, and CardText
.Progress
bar simpler to use, so we can keep your fingers rested. Hey, every letter counts! :)<Progress>
<ProgressBar Value="50" />
</Progress>
<Progress Value="50">
Progress
is still supported but is now better suited for stacked bars when you need to show multiple values.Background
parameter is available to all components making it much easier to customize the look of your application.FreeTyping
binding support and FreeTyping
validation support
Autocomplete
as a suggestions source to the user. Meaning you can enable this feature, and Autocomplete
will accept any value introduced by the user and bind it on the SelectedText
parameter.SelectedText
parameter.NotFound
EventCallback and NotFoundContent
Autocomplete
. Either by providing some feedback to the user, by using the NotFoundContent
or just by handling it as you wish by listening to the NotFound
EventCallback.Show all items
Autocomplete
's MinLength to 0. We've made sure to provide initial styling to accommodate all items with a scrollbar.Added support for a custom filter
Autocomplete
already provides filtering capabilities out of the box. However, you may now provide a custom filter that's based on the current text being searched and the data-source items.Improved the selection box to have the same width as text field by default and able to limit suggestions shown at a time with a scroll bar
New
, Edit
, Save
, Cancel
, Sort
, and others.UpdateCellEditValue
and ReadCellEditValue
to be used in edit mode. This will allow you to cascade and update any cell dynamically and not just the one you're currently editing.UseValidation
on DataGrid
is enabled. If you want to have any other validation method, like Validator
for example, you just need to define it on DataGridColumn
of your choice and it will override the default data annotation validation. We hope this new feature will help you even more in building your applications.Virtualize
, you will enable virtualize capabilities on the DataGrid, meaning that instead of using the DataGrid's pagination, you'll now be able to scroll across the data with perceived improved performance.VirtualizeOptions
allows you to further customize the Virtualize
feature.tbody
.private Task ScrollToRow()
=> tableRef.ScrollToRow( 1 ).AsTask();
private Task ScrollToPixels()
=> tableRef.ScrollToPixels( 250 ).AsTask();
DatePicker
and TimePicker
values that are based on the excellent JS library flatpickr. We tried to cover as many of the flatpickr features as we could while still making it easy to use. You can have its native calendar picker, date and time formatting, manual input mode, etc.DateEdit
and TimeEdit
are still available and they will continue to be used in places where you don't need too advanced features and when you want to use native browser controls.Color
parameter.v0.9.5
which is going to be the final beta before the final v1.0
. The main two points of v0.9.5
will be support for Bootstrap 5 and final optimizations of the current Blazorise API. After which we will likely not going to introduce any major change to the API.70