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.2.0
New components
ResultListBanner
A banner that contains a list of results. Can be used when displaying multiple errors.
A hook that contains all state needed for ResultListBanner
.
It exposes functions for setting the state of the banner.
ResultList
A list of results, presented in ul
tag.
Changes
To make room for arbitrary children under header if no text provided.
Banner
children (i.e bottom content) is now in proper layout under header and text.- Added story for Banner with both header, text and bottom content.