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.3.0
New components
SidebarMenu
A menu with a title, links and collapsible menu components
SidebarMenuHeading
- a title.SidebarMenuLink
- a link that can be selected and have an icon to the left.SidebarMenuCollapsible
- a component that expands and contracts sub menu items SidebarMenuCollapsibleLink
.SidebarMenuCollapsibleLink
- a link that can be selected and is contained in a SidebarMenuCollapsible
.
See stories for examples.
New features
StandardTable
- Added option for having a sticky header row as option in
StandardTable
. - Added option for sticky first column in
StandardTable
.
Design fixes
- Checkboxes inside text input fields no longer show a checkmark.
- flex-shrink: 0 has been added to checkboxes to retain their size.
Breaking changes
- --current-icon-color has been renamed to --current-checkbox-icon-color.