Commit Graph
64 Commits
Author SHA1 Message Date
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 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
Keegan aa30ef7d7a Account for cases where the Pebble global is undefined 2016-02-27 08:51:54 +11:00
Keegan 1cd4590691 Merge remote-tracking branch 'origin/master' into PBL-31966/include-user-and-watch-info
# Conflicts:
#	dist/clay.js
#	test/spec/index.js
2016-02-27 08:35:04 +11:00
Keegan c908e681ad Sub clay.generateUrl() to avoid the very large string comparison 2016-02-25 14:40:40 +11:00
Keegan 2169d5334f expose meta containing watch and account info in ClayConfig 2016-02-19 19:31:17 -08:00
Keegan 94428b1826 extract watchinfo etc from Pebble object 2016-02-19 15:29:11 -08:00
Keegan ae47311efa Use int for 'checked' manipulator instead of boolean 2016-02-19 11:24:35 -08:00
Keegan 49de62b639 Add an extra test to make sure webviewclosed & showConfiguration events are not handled 2016-02-19 10:37:03 -08:00
Keegan 85025f19f8 Fix duplicate components being injected into data URI and add tests for index.js 2016-02-18 01:01:56 -08:00
Keegan 56eb666ee2 Automatically handle the "showConfiguration" and "webviewclosed" events + other minor code cleanup 2016-02-16 17:05:42 -08:00
Keegan ea5c349047 pass Clay to component initializer 2016-02-15 11:39:25 -08:00
Keegan 64fa83528e more concistent disable function 2016-02-14 17:14:19 -08:00
Keegan 1180bf2abc add checkboxgroup and rename radio to radiogroup 2016-02-14 15:22:36 -08:00
Keegan 71dd8ef1c3 add radio component 2016-02-14 02:31:46 -08:00
Keegan d05686a85f change "value" to "defaultValue" 2016-02-12 17:49:12 -08:00
Keegan e2d7c93cdb use older version of joi so travis chrome doesn't break over "const" keyword 2016-02-12 17:10:19 -08:00
Keegan 80df838d52 add tests for select component 2016-02-12 16:58:22 -08:00
Keegan ef69c6afff fix jsdoc on testSetGet() 2016-02-12 16:38:57 -08:00
Keegan 5ad2834cc8 add sunlight colors to color picker and tests 2016-02-12 16:38:06 -08:00
Keegan ba74959919 add tests for components and refactor test fixtures to not register all components as a side-effect 2016-02-11 15:43:12 -08:00
Keegan 2142c68c01 fix tests 2016-02-09 17:34:49 -08:00
Keegan 41334698bd make Clay work with phone apps 2016-02-09 17:21:16 -08:00
Keegan 95bcf3e019 move bourbon to node_modules 2016-02-09 17:20:44 -08:00
Keegan 8f1ced168f insert styles from component on registration 2016-02-09 17:20:44 -08:00
Keegan 2cba1c9306 add tests for manipulators 2016-02-09 17:20:43 -08:00