Skip to content

Releases: havit/Havit.Blazor

v2.1.0

23 Jan 16:43
Compare
Choose a tag to compare
  • HxCollapseToggleElement - new component to be able to create collapse-toggles from generic HTML elements
  • HxBadge - new Settings and Defaults for better customization
  • HxInputTags - new TagBadgeSettings for wide customization of the tags rendered as badges
    • ⚠️ replaces former TagTextColor and TagBackgroundColor parameters

v2.0.3

20 Jan 11:01
Compare
Choose a tag to compare
  • HxInputFileCore - FIXED - the OnUploadCompleted event was fired multiple times
  • dependencies updated

v2.0.2

18 Jan 15:19
Compare
Choose a tag to compare
  • HxInputTags - fixed Naked version where there was a border visible
  • HxTreeView - new CSS variables added for item-border, item-spacer, item-icon and the item itself

v2.0.1

14 Jan 16:35
Compare
Choose a tag to compare
  • HxCarousel - new Pause parameter which allows disabling pausing the sliding on hover
  • HxCarousel - new CarouselSlideEventArgs for OnSlide & OnSlid events, where there are From, To and Direction values available
  • HxTreeView - does not expand/collapse on item selected anymore (just the chevron icon toggles now)
  • HxInputFile and HxInputFileCore - new MaxParallelUploads parameter (incl. HxInputFileCore.Defaults and Settings) limits the number of allowed parallel uploads (default is 6).
  • HxGrid - new demo for inline-editing added to documentation

v2.0.0

07 Jan 19:10
Compare
Choose a tag to compare

Highlights

  • 🆕HxTreeView component for presenting hierarchical data (credits to @sshulik)
  • 🆕 HxComponent.Settings concept, which allows applying set of component settings (can be used for skins or to pass detailed settings to inner components, i.e. HxMessageBox.PrimaryButtonSettings)
  • improved extensibility to support creating derived component bundles (themes)
  • a few ⚠️breaking changes⚠️ (see details bellow)

Detailed list of changes

  • HxTreeView - new component for presenting hierarchical data (credits to @sshulik)
  • ⚠️ all ComponentDefaults classes renamed to ComponentSettings (used by HxComponent.Defaults static properties) to allow future usage for new scenarios (such as setting buttons for message-boxes, etc.)
    • default values removed from ComponentSettings class and their assignment is moved to component's static constructor (assignments to HxComponent.Defaults)
    • all ComponentSettings became record so you can use with { ...overrides... } syntax in derived components
  • ⚠️ HxGrid consolidation of Defaults and Settings
    • Defaults property for application-wide settings moved from generic to nongeneric HxGrid class
    • PagerContainerCssClass renamed to PagerCssClass and the wrapping div was removed in favor of new HxPager.CssClass parameter
  • ⚠️ HxGrid automatically refreshes data on CurrentUserState change
  • ⚠️ HxToastContainerPosition enum renamed to ToastContainerPosition (to align with project naming conventions)
  • ⚠️ HxMessageBoxHost fixed to pass Title to HxModal.Title instead of part of HxModal.BodyTemplate (changes rendering of message-boxes where the Title gets wrapped inside Bootstrap's .modal-title class)
  • ⚠️HxMessageBox - TitleTemplate parameter renamed to HeaderTemplate (to align with underlying HxModal and stress the difference of Title where there is an additional .modal-title wrapper) + ContentTemplate parameter renamed to BodyTemplate (same applies for corresponding MessageBoxRequest members
  • ⚠️HxTooltip - the .d-inline-block class was removed from the wrapping span (credits to @robertmclaws)
    • moved to HxButton with tooltip to aling with .btn display setting
  • ⚠️InputType enum moved from Havit.Blazor.Components.Web.Bootstrap to Havit.Blazor.Components.Web (incl. the namespace change)
  • ⚠️ HxInputDate - DefaultDates property renamed to PredefinedDates and moved to HxInputDate.Defaults; parameter UseDefaultDates replaced with ShowPredefinedDates
  • ⚠️ HxInputDateRange - DefaultDateRanges property renamed to PredefinedDateRanges and moved to HxInputDateRange.Defaults; parameter UseDefaultDateRanges replaced with ShowPredefinedDateRanges
  • ⚠️ HxProgressIndicator - DefaultDelay property and moved to HxProgressIndicator.Defaults.Delay
  • MessageBoxRequest - new AdditionalAttributes property which gets splatted to the underlying UI component (HxModal)
  • HxPager - new CssClass parameter to allow adding custom CSS class to main ul element
  • HxOffcanvas - new Placement, ScrollingEnabled, Size and CloseOnEscape properties in HxOffcanvas.Defaults to allow additional application-wide settings of offcanvas and derived components
  • all eventcallback parameters received an protected virtual Task InvokeOnXyAsync() method to allow interception of the events in derived components
  • HxMessageBox - new PrimaryButtonSettings and SecondaryButtonSettings parameters to allow customization of the buttons + new HxMessageBox.Defaults static property to allow setting application-wide defaults
  • all Dispose and DisposeAsync methods consolidated to be virtual methods
  • HxInputTags - the "plus" icon for adding new tag is now larger (BootstrapIcon.PlusLg instead of BootstrapIcon.Plus)
  • HxGrid - the result of DataProvider is now checked against required contract to not return null + adjustment for more relaxed interpretation of GridDataProviderResult (allow Data to be null).
  • HxListLayout
    • new Defaults and Settings - CardSettings, FilterSubmitButtonSettings, FilterOpenButtonSettings and FilterOffcanvasSettings
    • ⚠️ rendering adjustments - wrapping HxCard no longer brings bg-white as default HeaderCssClass + DataTemplate now renders directly into Card.ChildContent (was BodyTemplate rendered inside .offcanvas-body with p-0)
  • HxInputNumber and HxInputText - new InputMode parameter to allow explicit setting of input-mode (hint for the browser as of which keyboard to use for entering the data), credits to @robertmclaws

v1.6.7

10 Dec 17:08
Compare
Choose a tag to compare

v1.6.6

09 Dec 01:05
Compare
Choose a tag to compare

v1.6.5

02 Dec 10:43
Compare
Choose a tag to compare
  • HxDropdownToggleElement - fixed #48 - missing [Parameter] attribute on some parameters
  • HxPager - responsivity improvements (fewer pages on small devices)
  • minor improvements on some components to prevent JavaScript errors when leaving the page early
  • documentation migrated to .NET 6

v1.6.4

30 Nov 01:02
Compare
Choose a tag to compare
  • fixes #38 HxPopover Cannot read properties of null (reading 'removeEventListener') when leaving page early
  • fixes #47 HxDropdownToggleButton ObjectDisposedException: Cannot access a disposed object. Object name: 'DotNetObjectReference`1'.

v1.6.3

28 Nov 20:21
Compare
Choose a tag to compare
  • BootstrapIcons updated to version 1.7.1
  • HxSidebar and HxCalendar - minor styling adjustments
  • Input components received better handling in disabled state (should not allow changing the value)
  • added missing inherited members to API documentation
  • improved search in documentation