Commit Graph
100 Commits
Author SHA1 Message Date
Keegan 069d4a80da only dispatch manipulator events if the state is actually changed. 2016-03-06 14:28:38 +11:00
keegan-lillo bdcd820f7c Merge pull request #29 from pebble/release/v0.1.1
Bump version to 0.1.1
2016-03-03 13:25:14 +11:00
Keegan 51a44b18b0 Bump version to 0.1.1 2016-03-03 13:15:23 +11:00
keegan-lillo 64931dabc9 Merge pull request #28 from pebble/fix-dist
Fix release links in readme
2016-03-03 12:17:39 +11:00
keegan-lillo b7be587542 Merge branch 'master' into fix-dist 2016-03-03 11:53:35 +11:00
keegan-lillo 4508c73de2 Fix release links in readme 2016-03-03 11:53:11 +11:00
keegan-lillo f804cb0efd Merge pull request #27 from pebble/fix-dist
Get rid of dist/clay.js and use GitHub releases instead
2016-03-03 11:48:02 +11:00
keegan-lillo 525a78fc53 Update download instructions for CloudPebble 2016-03-03 11:32:31 +11:00
Keegan 05c62d466e Get rid of dist/clay.js and use GitHub releases instead 2016-03-03 11:25:19 +11:00
keegan-lillo dbf798daff Merge pull request #24 from pebble/#11/description-for-input-components
Add description field to all input type components.
2016-03-03 10:54:45 +11:00
Keegan b91b45bd23 Fix padding issue after merge 2016-03-03 10:49:05 +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-lillo 9782737256 Merge pull request #25 from pebble/#6/show-hide-items
Add hide/show method to manipulators.
2016-03-03 10:37:03 +11:00
Keegan 3a4d962a37 Update example image with description 2016-03-03 10:36:30 +11:00
Keegan 87d8b91153 Update dev/config.js with more useful examples 2016-03-03 10:27:38 +11:00
Keegan 7bf4117d87 Clean up styles 2016-03-03 10:26:23 +11:00
Keegan 35fc64de99 Document hide and show methods 2016-03-03 10:06:37 +11:00
Keegan de982960e2 fix tests after the input component changed HTML structure. 2016-03-03 01:03:23 +11:00
Keegan 797fa1d9ab make the tap-highlight not highlight the description 2016-03-03 00:49:55 +11:00
Keegan 4fb8db32da Fix section spacing when all items in a section are hidden. 2016-03-03 00:13:51 +11:00
Keegan aa8409912c fix separator visibility when items are hidden 2016-03-02 23:57:24 +11:00
Keegan 8e3cd119b8 use !important for .hide class 2016-03-02 22:11:19 +11:00
Keegan beb623f4fd fix separator visibility on disabled and hidden items 2016-03-02 14:02:18 +11:00
Keegan 226dd682e0 Merge remote-tracking branch 'origin/master' into #11/description-for-input-components
# Conflicts:
#	dist/clay.js
#	src/styles/clay/_base.scss
#	src/templates/components/select.tpl
#	src/templates/components/toggle.tpl
2016-03-02 10:58:17 +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-lillo a98b4e69c1 Merge pull request #23 from pebble/#22/css-issues
#22/css issues
2016-03-02 10:48:59 +11:00
keegan-lillo f7717dc781 Merge pull request #19 from pebble/PBL-31966/include-user-and-watch-info
Pbl 31966/include user and watch info
2016-03-01 08:52:04 +11:00
Keegan 2f5f3cc4e8 Add description field to all input type components. 2016-02-29 23:58:03 +11:00
Keegan 3b9bf842cb Fix value not showing up for select in old Android versions 2016-02-29 23:18:25 +11:00
Keegan eb1d336f8f Center align submit button 2016-02-29 21:54:45 +11:00
Keegan d6461e1fb5 fix missing value display on old android 2016-02-29 15:54:12 +11:00
Keegan fa72cfb3a3 fix autoprefixer not working in dev mode 2016-02-29 15:46:15 +11:00
Keegan b50a7dc72d Fix checkboxgroup/radiogroup weirdness on old android 2016-02-29 15:45:59 +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 ca498c6e3c fix tap-highlight and missing divider 2016-02-29 14:35:39 +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-lillo 75aaa07048 Merge pull request #17 from pebble/#15/fix-travis-random-fails
#15/fix travis random fails
2016-02-27 08:31:20 +11:00
Keegan 5b2aba4312 fix table layout in readme 2016-02-26 12:37:48 +11:00
keegan-lillo 4584fe5dc5 Merge branch 'master' into #15/fix-travis-random-fails 2016-02-26 12:13:51 +11:00
keegan-lillo d50ff0a9a4 Merge pull request #14 from pebble/readme-intro-fix
Fix link in intro of readme
2016-02-26 09:47:52 +11:00
Keegan c908e681ad Sub clay.generateUrl() to avoid the very large string comparison 2016-02-25 14:40:40 +11:00
keegan-lillo 8fdd5dad07 Fix link in intro of readme 2016-02-23 00:03:11 -08: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-lillo 7fb8d6c69e Merge pull request #8 from pebble/PBL-33868/use-int-for-toggle
Use int for 'checked' manipulator instead of boolean
2016-02-19 12:55:46 -08:00
Keegan ae47311efa Use int for 'checked' manipulator instead of boolean 2016-02-19 11:24:35 -08:00
keegan-lillo d3ee516ab1 Merge pull request #7 from pebble/PBL-33804/duplicate-components
Fix duplicate components being injected into data URI
2016-02-19 10:48:17 -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-lillo d2b5e9fd4b Merge pull request #5 from pebble/readme-review
Clean up README.md
2016-02-17 13:39:25 -08:00
keegan-lillo a4ee2cb519 Update wscript patch in readme 2016-02-17 00:09:00 -08:00
keegan-lillo dfea7ff28c Fix numbering issues on getting started steps 2016-02-17 00:05:54 -08:00
keegan-lillo f73fab5b73 Added getting started instructions for CloudPebble and fixed some formatting issues in the readme 2016-02-16 23:55:51 -08:00
keegan-lillo cc667c1238 Merge pull request #2 from pebble/initial-review
Initial review
2016-02-16 17:33:15 -08:00
keegan-lillo 64f95b36d1 fixed image for components example on readme 2016-02-16 17:30:28 -08:00
Keegan 469ae82db4 add Example image 2016-02-16 17:24:35 -08:00
Keegan 465220c7a2 Merge remote-tracking branch 'origin/initial-review' into initial-review
# Conflicts:
#	README.md
2016-02-16 17:06: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-lillo c315ff4354 Update wscript patch in readme 2016-02-16 13:14:13 -08:00
keegan-lillo 7a9d4d3a77 Fix table formatting in README 2016-02-16 01:13:11 -08:00
Keegan 24bfc54991 Documentation! + some little fixes to add consistency between components 2016-02-16 01:03:21 -08:00
Keegan b0ac596543 Uglify final output 2016-02-15 11:39:57 -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 9c929a2e43 linting 2016-02-14 12:26:37 -08:00
Keegan 71dd8ef1c3 add radio component 2016-02-14 02:31:46 -08:00
Keegan f00b288a82 fix watch for dev mode in gulpfile 2016-02-14 02:30:31 -08:00
Keegan 392c3af542 Build Dist 2016-02-12 17:50:38 -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 9412908636 enable emulator support 2016-02-10 15:43:19 -08:00
Keegan 2142c68c01 fix tests 2016-02-09 17:34:49 -08:00
Keegan f7add16622 remove clay-components as a dependency 2016-02-09 17:24:50 -08:00
Keegan 41334698bd make Clay work with phone apps 2016-02-09 17:21:16 -08:00
Keegan d6caa1527b save bourbon 2016-02-09 17:20:44 -08:00
Keegan 95bcf3e019 move bourbon to node_modules 2016-02-09 17:20:44 -08:00
Keegan 130078709d linting 2016-02-09 17:20:44 -08:00
Keegan f66afea3a5 100% code coverage! also move component registration to dev custom fn 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 a4060e62f7 remove some unneeded methods from minifiedjs 2016-02-02 21:06:10 -08:00
Keegan 8e5016f0ae tests complete for ClayConfig and ClayItem 2016-02-02 20:31:49 -08:00
Keegan c37012093a restructure directories and add tests for clay-item 2016-02-01 17:38:45 -08:00
Keegan bca1975d8e refactor components to be in a registry. 2016-02-01 14:56:47 -08:00
Keegan 7e3dbfa148 Fix sourcemaps on karma for debug 2016-02-01 14:55:26 -08:00
Keegan 04f2f9dabd WIP - no love for minified.js anymore :( 2016-01-28 20:20:43 -08:00
Keegan 9da9edbb78 add JSdoc to clarify ClayItem and ClayConfig props 2016-01-28 15:09:11 -08:00
Keegan f5e2dbe5a3 refactor events to mixin from separate class 2016-01-28 11:45:00 -08:00