Yohan Robert
46c0adb62c
#77 - Allow claySettings to be modified from app.js ( #150 )
...
* .setSettings(key, value) to set a single setting
* .setSettings(object) to set multiple settings at once
2016-10-21 10:36:55 -07:00
Keegan Lillo
9c7238d578
#124/get items by group ( #147 )
...
* Add getItemsByGroup function
* Update test
* update readme
* Update README for submit button
* Update docs with ID prop for button and submit components
2016-10-18 09:40:32 -07:00
Grégoire Sage
5d6e070e01
#108 Fix colorpicker for Diorite
2016-07-08 14:56:45 -07:00
Keegan
dd6fe54834
allow array syntax inside of the messageKey property of a config item
2016-06-15 23:58:41 -07:00
Keegan
3cffa3a275
Send messageKeys down to appMessage in the new format
2016-06-15 21:50:36 -07:00
Keegan
a0335be710
Checkbox groups now return an array of booleans
2016-06-15 14:20:35 -07:00
Keegan
cabee3ae0b
Yell at developer if they try and use appKeys
2016-06-15 11:22:16 -07:00
Keegan
940c5e2451
Rename all appKey references to messageKey
2016-06-15 10:58:45 -07:00
Keegan
c3c8de77fc
Allow response in webviewclosed event to optionally be URI encoded
2016-06-14 22:57:36 -07:00
Keegan
9e344d527b
Expose Clay version
2016-06-14 21:59:10 -07:00
Keegan
6c2a335b7c
Allow NOT_ prefix for capabilities
2016-05-31 09:57:10 -07:00
Keegan
5fe87a04de
Add the option to only show items with particular capabilities
2016-05-30 20:30:17 -07:00
Keegan
32e192e938
Only send settings that are actually in the config back to the watch
2016-05-29 11:38:00 -07:00
Keegan
41d38e04a7
Allow optgroups for selects
2016-05-28 14:41:45 -07:00
keegan-lillo
f200af909b
Merge branch 'master' into #76/wipe-page-on-build
2016-05-28 13:02:34 -07:00
Keegan
6f3873ad6b
add tests for new clayConfig.build() behavior
2016-05-28 13:00:55 -07:00
Keegan
70bb2e9d07
Add destroy function
2016-05-26 18:45:22 -07:00
Grégoire Sage
c937ee735e
always display all the decimals of the slider's value
...
Add test
2016-03-28 22:20:23 +02:00
keegan-lillo
3a2dcb187e
Merge branch 'master' into #52/custom-color-picker-layout
2016-03-16 09:12:39 +11:00
keegan-lillo
42a613caf4
Merge branch 'master' into #52/custom-color-picker-layout
2016-03-16 08:25:59 +11:00
keegan-lillo
4ff38eb0ba
Merge branch 'master' into #55/unicode-support
2016-03-16 08:25:44 +11:00
Keegan
9347c9f3d2
Allow unicode characters in config
2016-03-15 12:06:04 +11:00
Keegan
4ee5a7361c
When setting the value for the color picker, round it to the closest available value in the layout
2016-03-15 04:53:58 +11:00
Keegan
dad8b2a025
add allowGray option to color picker
2016-03-14 03:09:23 +11:00
Keegan
d52f6d4aa2
Globally increase mocha timeout because Travis struggles sometimes
2016-03-14 01:55:22 +11:00
Keegan
12b0ae9bd6
Allow custom layouts in the color picker and automatically choose a layout based on platform
2016-03-14 01:01:13 +11:00
Keegan
6f92c0d267
Merge remote-tracking branch 'origin/master' into #47/range-slider-component
...
# Conflicts:
# index.js
2016-03-12 10:27:27 +11:00
Keegan
783bc84779
fix typo in Clay JSdoc
2016-03-12 10:22:01 +11:00
Keegan
e621bbf0bd
Merge remote-tracking branch 'origin/master' into #20/allow-user-data
2016-03-12 10:16:47 +11:00
Keegan
d8738e06b2
fix tests for slider
2016-03-11 11:12:00 +11:00
Keegan
79eef99731
Fix events firing on wrong element for button component
2016-03-11 03:57:30 +11:00
Keegan
e5496c62d6
Add developers to send arbitrary data to the config page
2016-03-11 03:36:00 +11:00
Keegan
b1a6f184ba
Stop exposing config as a reference. resolves #35
2016-03-11 02:25:59 +11:00
Keegan
878fea0340
Allow floats in the slider component and update docs
2016-03-11 01:07:17 +11:00
Keegan
1142d1adee
Renamed ClayConfig.getSettings() to ClayConfig.serialize()
2016-03-10 21:00:44 +11:00
Keegan
0873f5eba2
Added Slider component
2016-03-10 04:20:50 +11:00
Keegan
0faa585d5f
Clean up manipulators tests
2016-03-10 00:03:50 +11:00
Keegan
37c64a6e05
minified does not work in the emulator or iOS so move settings iteration to utils.prepareSettingsForAppMessage()
2016-03-09 12:24:29 +11:00
Keegan
1af4dfd8ef
Change the behavior so that type conversions only run inside of Clay.getSettings no ClayConfig.getSettings
2016-03-09 11:25:13 +11:00
Keegan
be17456f8b
Merge remote-tracking branch 'origin/master' into #13/fix-checkboxgroups-return-value
...
# Conflicts:
# test/spec/lib/manipulators.js
2016-03-08 08:41:24 +11:00
Keegan
061bb34c91
Merge remote-tracking branch 'origin/master' into #31/generic-btn-component
2016-03-08 08:28:29 +11:00
Keegan
d63c6c832d
Change behavior of the toggle to return a boolean again
2016-03-07 13:13:36 +11:00
Keegan
271a0d1cfd
Change the ClayConfig.getSettings() method to convert data types to be compatible with sendAppMessage
2016-03-07 12:58:46 +11:00
Keegan
069d4a80da
only dispatch manipulator events if the state is actually changed.
2016-03-06 14:28:38 +11:00
Keegan
a1df49623d
Add generic button component
2016-03-06 12:31:25 +11:00
Keegan
2e447e5cd2
Merge remote-tracking branch 'origin/master' into #11/description-for-input-components
...
# Conflicts:
# src/styles/clay/_base.scss
2016-03-03 10:45:20 +11:00
Keegan
de982960e2
fix tests after the input component changed HTML structure.
2016-03-03 01:03:23 +11:00
Keegan
011f40ea0d
Merge remote-tracking branch 'origin/master' into #6/show-hide-items
...
# Conflicts:
# dev/custom-fn.js
# src/styles/clay/_base.scss
2016-03-02 10:54:20 +11:00
Keegan
7def2f741d
try adding longer timeout to try and make travis stop timing out
2016-02-29 15:19:28 +11:00
Keegan
060704cb1a
Add hide/show method to manipulators.
2016-02-29 14:24:59 +11:00