Blazorise v1.6.0
Released: Jul 23, 2024
Aggiornamenti in v1.6.0
Funzionalità
- Charts Component - Added new Zoom Plugin. Significantly enhances the interactivity and usability of charts:
- Zoom In/Out: Users can now zoom into specific areas of the chart to get a closer look at the data points and trends.
- Panning: The ability to pan around the chart ensures that users can easily navigate to different sections of the chart without losing their zoomed-in view.
- Enhanced Data Exploration: These new interactive capabilities make it easier to analyze and interpret data, leading to more insightful observations and decisions.
- Video Component - Updated the Video extension component to work with the new more advanced VidStack library. In addition to leveraging the core improvements of VidStack, a few small but impactful features have also been added to the component:
- Thumbnails: You can now specify URLs for video thumbnails, enhancing the visual preview of the video content.
- ProtectionServerCertificateUrl: For HLS (HTTP Live Streaming) content, support had been added for specifying the Protection Server Certificate URL, improving the security and integrity of video streams.
- DataGrid Improvements:
- New Mobile Responsive Mode - The new ResponsiveMode parameter in the underlying Table component means the DataGrid now supports TableResponsiveMode.Mobile. This mode renders a dedicated layout for mobile devices, where the columns are stacked on top of each other for better readability and usability on smaller screens.
- Rapid Editing Mode:
- Introduced the new CellNavigable parameter for the Blazorise DataGrid. Enabling this feature allows you to navigate DataGrid cells using arrow keys, tabbing, and clicking, enhancing the ease of use and efficiency. This feature is especially useful when used in conjunction with DataGridEditMode.Cell, providing a seamless rapid editing experience.
- The DataGridEditModeOptions have also been introduced to give you further customization over how your DataGrid handles edit operations. This new feature includes two additional CellEdit options, allowing you to enable or disable editing on a single or double click. These options offer more control over the editing experience, tailoring it to fit your specific needs.
- New Attributes for Auto Generate Columns - In the
DataGrid AutoGenerateColumns feature, new attributes have been added to the attribute based API to be able to further configure the way that the columns are rendered:
- [DisplayAttribute]: Represents an attribute that can be applied to properties or fields to specify the caption.
- [OrderAttribute]: Represents an attribute that can be applied to properties or fields to specify the order in which they should be displayed or edited.
- [IgnoreFieldAttribute]: Represents an attribute that can be applied to properties or fields to specify they should not be automatically generated.
- [SelectAttribute]: Represents an attribute that can be applied to properties or fields to specify additional metadata for a select component.
- [NumericAttribute]: Represents an attribute that can be applied to numeric properties or fields to specify additional metadata.
- [DateAttribute]: Represents an attribute that can be applied to date properties or fields to specify additional metadata.
- Generate ODataQuery API - Introduced a new feature to enhance the functionality of the Blazorise DataGrid with OData support. A new extension method,
ToODataString(), has been added to the ReadData and DataGridReadDataEventArgs. This method allows users to generate an OData query string easily. This addition simplifies the process of creating OData queries, making it more straightforward to integrate and interact with OData services. The ability to generate these query strings programmatically enhances the flexibility and power of data operations within the DataGrid component.
- Contextual Filtering - Enhancements have been made to the filtering components of the Blazorise DataGrid, providing more contextual and relevant filtering options based on the column types you have specified. The improved filtering system now dynamically renders numeric, select, check, date, and text edit components according to the DataGrid column types. This ensures that users can filter data more effectively, using input methods that are most appropriate for the type of data in each column.
- Dynamic Data Binding - With dynamic data binding, the DataGrid can now seamlessly bind to dynamic data sources, providing a more flexible and efficient way to handle data. Additionally, this feature includes support for ExpandoObject, enabling the DataGrid to work with dynamic objects that can have their properties added or removed at runtime.
- Manual loading state - Added a new
.SetLoading() method so you're able to control the loading state of the DataGrid.
- Added new
MaskPlaceholder on InputMask - Introduced a new MaskPlaceholder property on the InputMask component to provide additional information to the user about the valid input format.
- Disable Days Of Week In DatePicker - Added a new parameter to the DatePicker component, named DisabledDays. It is now possible to disable any days of a week to be picked by the user.
- Automatic
rel Attribute for Blazorise Link Component - Links with Target="Target.Blank" now automatically include rel="noopener noreferrer" for enhanced security and privacy. This update prevents new pages from accessing the original page, reducing phishing risks, and ensures referrer information is not sent to the target site, thereby enhancing the security and privacy of external links by default.
- Updated NumericPicker library - To improve security of Blazorise dependencies, autoNumeric.js library has been updated to use the latest version.
- Better form support in SSR mode - In this release some changes have been made to enable better support for input components like TextEdit, NumericEdit, etc. when working with server-side rendering. It works by automatically calculating the
name attribute of form field which then helps it to properly POST the form.
- Body Theme Font Options - Added few more options to easily define font options for the document
<body> element. It is now possible to define font-family, font-size, font-style, font-weight. All by defining the FontOptions on Blazorise theme.