Stasia Michalska
078186cd25
Add flint support
2025-12-13 00:53:33 +01:00
Keegan Lillo
fa3406a809
#151 - Fix incorrect value being set when defaultValue is falsey ( #152 )
2016-10-21 12:11:12 -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
Keegan
a0335be710
Checkbox groups now return an array of booleans
2016-06-15 14:20:35 -07:00
Keegan
940c5e2451
Rename all appKey references to messageKey
2016-06-15 10:58:45 -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
12c420d861
make ClayConfig.destroy() return self
2016-05-28 13:11:53 -07:00
Keegan
70bb2e9d07
Add destroy function
2016-05-26 18:45:22 -07:00
keegan-lillo
42a613caf4
Merge branch 'master' into #52/custom-color-picker-layout
2016-03-16 08:25:59 +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
6f92c0d267
Merge remote-tracking branch 'origin/master' into #47/range-slider-component
...
# Conflicts:
# index.js
2016-03-12 10:27:27 +11:00
Keegan
79eef99731
Fix events firing on wrong element for button component
2016-03-11 03:57:30 +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
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
e80a1630f1
Don't assume string in checkboxgroup set manipulator
2016-03-09 11:51:49 +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
c4f6b17a58
Update button to be compatible with new events behavior.
2016-03-08 08:31:30 +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
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
060704cb1a
Add hide/show method to manipulators.
2016-02-29 14:24:59 +11:00
Keegan
2169d5334f
expose meta containing watch and account info in ClayConfig
2016-02-19 19:31:17 -08:00
Keegan
ae47311efa
Use int for 'checked' manipulator instead of boolean
2016-02-19 11:24:35 -08:00
Keegan
56eb666ee2
Automatically handle the "showConfiguration" and "webviewclosed" events + other minor code cleanup
2016-02-16 17:05:42 -08:00
Keegan
24bfc54991
Documentation! + some little fixes to add consistency between components
2016-02-16 01:03:21 -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
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
41334698bd
make Clay work with phone apps
2016-02-09 17:21:16 -08:00
Keegan
130078709d
linting
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
Keegan
146938abe5
pass minified to initialize function
2016-02-09 17:20:37 -08:00
Keegan
6f182b7358
JSDoc all the things
2016-02-09 17:19:41 -08:00
Keegan
c0f6fb770c
drop ClayEvents.one since it is a pain to work with and add tests for ClayEvents
2016-02-09 17:19:41 -08:00
Keegan
80982c8e6d
strip out components into separate repo
2016-02-09 17:19:33 -08:00
Keegan
66f2b05129
remove the incomplete radiogroup
2016-02-02 21:06:28 -08:00
Keegan
8e5016f0ae
tests complete for ClayConfig and ClayItem
2016-02-02 20:31:49 -08:00