Releases: havit/Havit.Blazor
Releases · havit/Havit.Blazor
v2.1.0
HxCollapseToggleElement
- new component to be able to create collapse-toggles from generic HTML elementsHxBadge
- newSettings
andDefaults
for better customizationHxInputTags
- newTagBadgeSettings
for wide customization of the tags rendered as badges⚠️ replaces formerTagTextColor
andTagBackgroundColor
parameters
v2.0.3
HxInputFileCore
- FIXED - theOnUploadCompleted
event was fired multiple times- dependencies updated
v2.0.2
HxInputTags
- fixedNaked
version where there was a border visibleHxTreeView
- new CSS variables added foritem-border
,item-spacer
,item-icon
and theitem
itself
v2.0.1
HxCarousel
- newPause
parameter which allows disabling pausing the sliding on hoverHxCarousel
- newCarouselSlideEventArgs
forOnSlide
&OnSlid
events, where there areFrom
,To
andDirection
values availableHxTreeView
- does not expand/collapse on item selected anymore (just the chevron icon toggles now)HxInputFile
andHxInputFileCore
- newMaxParallelUploads
parameter (incl.HxInputFileCore.Defaults
andSettings
) limits the number of allowed parallel uploads (default is6
).HxGrid
- new demo for inline-editing added to documentation
v2.0.0
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)⚠️ allComponentDefaults
classes renamed toComponentSettings
(used byHxComponent.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 toHxComponent.Defaults
) - all
ComponentSettings
becamerecord
so you can usewith { ...overrides... }
syntax in derived components
- default values removed from
⚠️ HxGrid
consolidation ofDefaults
andSettings
Defaults
property for application-wide settings moved from generic to nongenericHxGrid
classPagerContainerCssClass
renamed toPagerCssClass
and the wrappingdiv
was removed in favor of newHxPager.CssClass
parameter
⚠️ HxGrid
automatically refreshes data onCurrentUserState
change⚠️ HxToastContainerPosition
enum renamed toToastContainerPosition
(to align with project naming conventions)⚠️ HxMessageBoxHost
fixed to passTitle
toHxModal.Title
instead of part ofHxModal.BodyTemplate
(changes rendering of message-boxes where theTitle
gets wrapped inside Bootstrap's.modal-title
class)⚠️ HxMessageBox
-TitleTemplate
parameter renamed toHeaderTemplate
(to align with underlyingHxModal
and stress the difference ofTitle
where there is an additional.modal-title
wrapper) +ContentTemplate
parameter renamed toBodyTemplate
(same applies for correspondingMessageBoxRequest
members⚠️ HxTooltip
- the.d-inline-block
class was removed from the wrappingspan
(credits to @robertmclaws)- moved to
HxButton
with tooltip to aling with.btn
display setting
- moved to
⚠️ InputType
enum moved fromHavit.Blazor.Components.Web.Bootstrap
toHavit.Blazor.Components.Web
(incl. the namespace change)⚠️ HxInputDate
-DefaultDates
property renamed toPredefinedDates
and moved toHxInputDate.Defaults
; parameterUseDefaultDates
replaced withShowPredefinedDates
⚠️ HxInputDateRange
-DefaultDateRanges
property renamed toPredefinedDateRanges
and moved toHxInputDateRange.Defaults
; parameterUseDefaultDateRanges
replaced withShowPredefinedDateRanges
⚠️ HxProgressIndicator
-DefaultDelay
property and moved toHxProgressIndicator.Defaults.Delay
MessageBoxRequest
- newAdditionalAttributes
property which gets splatted to the underlying UI component (HxModal
)HxPager
- newCssClass
parameter to allow adding custom CSS class to mainul
elementHxOffcanvas
- newPlacement
,ScrollingEnabled
,Size
andCloseOnEscape
properties inHxOffcanvas.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
- newPrimaryButtonSettings
andSecondaryButtonSettings
parameters to allow customization of the buttons + newHxMessageBox.Defaults
static property to allow setting application-wide defaults- all
Dispose
andDisposeAsync
methods consolidated to bevirtual
methods HxInputTags
- the "plus" icon for adding new tag is now larger (BootstrapIcon.PlusLg
instead ofBootstrapIcon.Plus
)HxGrid
- the result ofDataProvider
is now checked against required contract to not returnnull
+ adjustment for more relaxed interpretation ofGridDataProviderResult
(allow Data to be null).HxListLayout
- new
Defaults
andSettings
-CardSettings
,FilterSubmitButtonSettings
,FilterOpenButtonSettings
andFilterOffcanvasSettings
⚠️ rendering adjustments - wrappingHxCard
no longer bringsbg-white
as defaultHeaderCssClass
+DataTemplate
now renders directly intoCard.ChildContent
(wasBodyTemplate
rendered inside.offcanvas-body
withp-0
)
- new
HxInputNumber
andHxInputText
- newInputMode
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
HxRedirectTo
- new component for declarative redirects
v1.6.6
HxInputCheckbox
,HxCheckboxList
andHxRadioButtonList
received a newInline
parameter which allows rendering in horizontal groups- minor documentation fixes
v1.6.5
HxDropdownToggleElement
- fixed #48 - missing [Parameter] attribute on some parametersHxPager
- 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
v1.6.3
BootstrapIcon
s updated to version 1.7.1HxSidebar
andHxCalendar
- 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