make Clay work with phone apps

This commit is contained in:
Keegan
2016-02-09 17:21:16 -08:00
parent d6caa1527b
commit 41334698bd
38 changed files with 655 additions and 61 deletions
+17
View File
@@ -0,0 +1,17 @@
<div class="component-color">
<label class="component">
<input
data-manipulator-target
type="hidden"
/>
<span class="label">{{{label}}}</span>
<span class="value"></span>
</label>
<div class="picker-wrap">
<div class="picker">
<div class="color-box-wrap">
<div class="color-box-container"></div>
</div>
</div>
</div>
</div>
+5
View File
@@ -0,0 +1,5 @@
<div
data-manipulator-target
class="item-container-footer"
{{each attributes}} {{this.key}}="{{this.value}}" {{/each}}
></div>
+3
View File
@@ -0,0 +1,3 @@
<div class="component component-heading">
<h{{size}} data-manipulator-target {{each key: attributes}}{{key}}="{{this}}"{{/each}}></h{{size}}>
</div>
+9
View File
@@ -0,0 +1,9 @@
<label class="component component-input">
<span class="label">{{{label}}}</span>
<span class="input">
<input
data-manipulator-target
{{each key: attributes}}{{key}}="{{this}}"{{/each}}
/>
</span>
</label>
+9
View File
@@ -0,0 +1,9 @@
<label class="component component-select">
<span class="label">{{{label}}}</span>
<span class="value"></span>
<select data-manipulator-target>
{{each options}}
<option value="{{this.value}}" class="item-select-option">{{this.label}}</option>
{{/each}}
</select>
</label>
+9
View File
@@ -0,0 +1,9 @@
<div class="component component-button">
<button
data-manipulator-target
type="submit"
{{each key: attributes}}{{key}}="{{this}}"{{/each}}
>
{{{label}}}
</button>
</div>
+3
View File
@@ -0,0 +1,3 @@
<div class="component component-text">
<p data-manipulator-target {{each key: attributes}}{{key}}="{{this}}"{{/each}}></p>
</div>
+14
View File
@@ -0,0 +1,14 @@
<label class="component component-toggle">
<span class="label">{{{label}}}</span>
<span class="input">
<input
data-manipulator-target
type="checkbox"
{{each key: attributes}}{{key}}="{{this}}"{{/each}}
/>
<span class="graphic">
<span class="slide"></span>
<span class="marker"></span>
</span>
</span>
</label>