Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 2.34 KB

File metadata and controls

47 lines (32 loc) · 2.34 KB

UI Components for AMIV Web Apps

A sparse collection of UI components to be used together with mithril and polythene.

Components

ListSelect

A component to select an item out of an API resource, e.g. a user.

empty
list for selection
selected
submission

Select

A component to select an item from a given set.

select

Input Fields

Input fields are all set up to display errors. These errors are e.g. set by the Form class that validates a full form against a jsonschema.

Text Input

text input
error

Number Input

number input is not very well supported by modern browsers, use with caution.

number input

Date Time Input

Selection of date and time is build out of html date and time input types (as there is no datetime type that is widely supported yet). The input field uses the native date selector from the browser.

date time input
selection of date

File Input

This field designed to fit into the standard material design forms while still relying mostly on native elements of the browsers. file input

Dropdown Card

A card that is collapsed by default and expands when selected, to hide content that would otherwise take too much screenspace.

card closed
card open