@stenajs-webui/calendar
Advanced tools
Changelog
2.0.5
minWidth
field to StandardTable column config.Collapsible
, did not expand properly.Collapsible
collapse/expand arrows.Changelog
2.0.4
Popover
lazy
prop to Popover
. When enabled, the popover content is not rendered until popover is opened.Changelog
2.0.3
DateRangeDualTextInput
Changelog
2.0.2
TravelCalendarTheme
has been removed.Changelog
2.0.1
Banner
New component for showing information and errors.
StandardTable
Column configs itemLabelFormatter
now gets item
as second argument.
DateRangeDualTextInput
YearPicker
no longer scrolls to new year in focus.useGridCell
Popover
Changelog
2.0.0
DateRangeDualTextInput
New component DateRangeDualTextInput
which has the same functionality as DateRangeInput
.
It does not replace it though, since they are not API compatible.
CenterModal
New modal which is centered and not draggable.
LoadingModal
New modal for showing loading/saving state.
revertEditableEntity
action to editable-entity-reducer
.ActionMenuItem
now has white background.Months
enum have been renamed to Month
.WeekDays
enum have been renamed to WeekDay
.Popover
Popover
now uses Tippy, and Tippy's props. This means that some props have changed.
Most importantly, content and children can no longer be functions. If you need the hide and show functions, implement
them using local state and the Popover visible
props.
Changelog
1.2.0
entity-list-reducer
has new action actionOnAll
, which applies child action to all items.editable-entity-reducer
which contains persisted and editable instances of entity.Select
has been updated according to design system. Resulting in removal of its theme property.Select
now has a variant property that can be either light or dark.Changelog
1.1.1
Changelog
1.1.0
StandardTable
state when new data is fetched.This caused prefilled checkboxes to be cleared.
This must now be handled manually when there is new data in the table without it being unmounted between renders.
Previously, it would switch start date and end date if start date was after end date. Instead, it now highlights the inputs with error highlight.
This means that you are no longer guaranteed that the range is valid.
Changelog
1.0.8
onChange did not properly use latest value in editor cells.