@stenajs-webui/calendar
Advanced tools
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.
Changelog
1.0.7
reducerIdGate
did not handle actions with unexpected form. Such actions can be dispatched by Redux itself, or
middlewares. Such actions are now just passed down to the internal reducer, which can handle the actions as they see
fit.
Changelog
1.0.6
It now uses type Reducer
type from redux
instead of react
. This makes it compatible with combineReducers
from
Redux.
Changelog
1.0.5
Select
component now has the same focused box shadow that is used in input fields.Link
component now uses an 1px outline instead of border.StandardTableConfig
now infers column names from row object automatically.StandardTableConfig
now supports expand collapse button in header row (set showHeaderExpandCollapse
to true
)StandardTable
StandardTable
is now using new higher order reducers, which require composing nested actions. This made it harder to
create actions in the apps, and these new actions help.
New actions are exposed by useLocalStateTableContext
hook, and can be created manually
using createStandardTableActions
function.
useLocalStateTableContext
.useLocalStateTableContext
now accepts an initialState
parameter instead of initialSortOrder
and initialSortOrderDesc
.
createStandardTableInitialState
to maintain compatibility.Changelog
1.0.4
Collapsible
now has autoFocus
and innerRef
properties.PrimaryButton
now has an as
property to allow it to be rendered as an anchor instead of a button. This also
affects SecondaryButton
and FlatButton
.CollapsibleClickableContent
now passes its remaining properties to its Clickable
.@types/react-modal
has been bumped to allow setting an id
property to the modal element.Chip
close button negative margin of 1px removed.Checkbox
's :after pseudo element now uses box-sizing: content-box by default. This fixes an issue where in the case
where all pseudo elements globally is set to use something other than content-box, resulted in a too small checkmark.Space
now doesn't flex, making it keep its size in a flexbox context.ModalHeader
now uses the primary font.Changelog
1.0.3
All reducer factories have been updated to no longer accept reducerId. The reason for this is the new reducerIdGate higher order reducer.
Compose with reducerIdGate
to get same functionality, and use reducerIdGateAction
to create actions.
recordObjectReducer
and reducerIdGate
.Changelog
1.0.2
Changelog
1.0.1
edgeMode
, which defines how to behave when user tries to navigate outside of table.Changelog
1.0.0