Components

June 12, 2020 ยท View on GitHub

This is the list of web components that currently make up the suite, and will change often until the version 1 release.

Core Elements, Mixins and Modules

These are mainly JavaScript modules (mixins for LitElement) and non-visual web components that are used extensively by the other components, or provide cross-cutting functionality.

Styling

These aren't elements, but rather style modules and element mixins.

NameDescription
TypographyA set of CSS styles for typography exposed as a module.
ThemingA set of CSS variables used for implementing a theme.
ElevationA set of CSS styles for implementing Material Design elevations.
IconographyA set of icons for use with obap-icon and includes the Material Design icons.

Classes

NameDescription
ObapElementThe base class for all web components in the suite.

Mixins

NameDescription
ObapSelectorControllerA mixin that can be used to enable single select behaviour.
ObapMultiSelectorControllerA mixin that can be used to enable multi select behaviour.

Elements

These are simple non-visual elements that are used extensively by the other elements.

NameDescription
obap-attached-elementBehaviour that docks an element to another element.
obap-iconDisplays a single svg icon.
obap-pagesA content switcher.
obap-selectorAn element that manages a list of elements that can be selected.
obap-selector-containerSynchronizes selection lists, such as tabs to pages.

Atomic Components

These are the basic visual Material Design components.

NameDescription
obap-badgeA small round indicator that attaches to an element and displays a number or icon.
obap-buttonA Material Design Button. Supports regular, raised, icon and fab styles.
obap-calloutA speech bubble type element that can either behave like a tooltip or be fixed inline.
obap-cardA Material Design card.
obap-checkA Material Design checkbox.
obap-chipA Material Design chip.
obap-materialA Material Design container that looks like a lifted piece of paper.
obap-tabA Material Design tab used with obap-tabs.
obap-tabsA Material Design tab set.
obap-tooltipA Material Design tooltip that is displayed on mouse hover.