stenajs-webui/core
The core library for @stenajs-webui.
All other packages depend on core.
View components
Layout
Box is the main building stone which most other components are derived from.
Components derived from Box
-
Absolute (same as Box, position is absolute)
-
Relative (same as Box, position is relative)
-
Column (same as Box, content is placed in a column)
-
Row (same as Box, content is placed in a row)
-
Indent
-
Space
-
Spacing
Interaction
Decorators
Theme
There are components and hooks available for the themes.
See src/theme/Theme.md
for details.
Hooks
core
includes a collection of hooks.
See src/hooks/README.md
for details.
2.0.0
New features
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.
Improvements
- Add
revertEditableEntity
action to editable-entity-reducer
. - All calendars now has a panel for quickly selecting month and year.
Design changes
- Disabled
ActionMenuItem
now has white background.
Breaking changes
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.