tableflip / tune

:trumpet: Client for the TABLEFLIP static site generator
0 stars 1 forks source link

Editable Fields #2

Closed bmordan closed 8 years ago

bmordan commented 8 years ago

This PR builds out a collection of components to edit content values for an editable piece of a site.

The idea is you pass a field type and it's content like this

{
  "content": "#990044",
  "type": "color"
}

to a function and get back the appropriate component populated with the value.

parentState is a function exposed by the parent (the

wrapper) passed to it's children so they can set their changing values in the parent. The Save button is in the form and then has access to the new value.

This PR builds out:

  • Text fields
  • Textareas
  • Lists
  • Images
  • Maps
  • Color Picker
textscreen shot 2016-03-02 at 16 29 00 textareascreen shot 2016-03-02 at 16 29 23 listsscreen shot 2016-03-02 at 16 29 49
imagesscreen shot 2016-03-02 at 16 30 07 mapsscreen shot 2016-03-03 at 11 32 16 colorsscreen shot 2016-03-03 at 12 19 37
richsilv commented 8 years ago

:eyeglasses:

richsilv commented 8 years ago

:+1: