miyamoen/bibliopola/1.0.0

NOTE: this package is not compatible with Elm 0.19.1

Bibliopola

UI Catalog for Elm applications built by style-elements inspired by Storybook

demo

Types

type alias BibliopolaProgram style variation =
BibliopolaProgram style variation
type alias ViewItem style variation =
ViewItem style variation
type alias ViewTree style variation =
ViewTree style variation

Program

List (Style style variation)
-> ViewItem style variation
-> BibliopolaProgram style variation
List (Style style variation)
-> ViewTree style variation
-> BibliopolaProgram style variation

ViewItem

createEmptyViewItem : String -> ViewItem style variation
String
-> (a -> Element style variation msg)
-> ( String, List ( String, a ) )
-> ViewItem style variation
String
-> (a -> b -> Element style variation msg)
-> ( String, List ( String, a ) )
-> ( String, List ( String, b ) )
-> ViewItem style variation
String
-> (a -> b -> c -> Element style variation msg)
-> ( String, List ( String, a ) )
-> ( String, List ( String, b ) )
-> ( String, List ( String, c ) )
-> ViewItem style variation
String
-> (a -> b -> c -> d -> Element style variation msg)
-> ( String, List ( String, a ) )
-> ( String, List ( String, b ) )
-> ( String, List ( String, c ) )
-> ( String, List ( String, d ) )
-> ViewItem style variation
Element style variation msg
-> ViewItem style variation
-> ViewItem style variation

ViewTree

createEmptyViewTree : String -> ViewTree style variation
createViewTreeFromItem : ViewItem style variation -> ViewTree style variation
insertViewItem : ViewItem s v -> ViewTree s v -> ViewTree s v
insertViewTree : ViewTree s v -> ViewTree s v -> ViewTree s v