Commit Graph

90 Commits (714fe21d7c25f8ecacbe0af7392cf6507a2947fe)

Author SHA1 Message Date
Surma 0566f444a8 Merge remote-tracking branch 'origin/mdl-1.0'
Conflicts:
	gulpfile.babel.js
	package.json
	templates/article/index.html
	templates/blog/index.html
	templates/dashboard/index.html
	templates/text-only/index.html
2015-10-07 11:41:48 +01:00
Surma 60faea01a3 Remove even more XHTML slashes 2015-09-30 13:46:11 +02:00
Sam Saccone 49d775092c 🐐 Split up memory tests 2015-09-25 20:54:14 -07:00
Sam Saccone 285e45d993 Add snackbar memory tests
Fixes #1630
2015-09-25 10:09:47 -07:00
Jonathan Garbee 54d325e371 Merge master. 2015-09-15 15:24:27 -04:00
Sérgio Gomes 41c5408a4a Adding a mocha:closure gulp task, to test closure-compiled JS.
Also reorders mocha task to only happen after JS tasks,
and improves two unit tests by moving code in "describe" blocks to
"before" blocks.
2015-09-11 13:37:45 +01:00
Sérgio Gomes 648a49dc63 Merge branch 'mdl-1.0' 2015-09-09 16:27:38 +01:00
Sérgio Gomes a90939016a Fixing menu unit test to not use internal properties 2015-09-08 14:49:10 +01:00
Jonathan Garbee 83dcbce658 Add Snackbar 🍬 2015-09-01 10:20:45 -04:00
Douglas d3e5405571 Change in the function upgradElementsInternal to enable the upgrade of child elements created by parent element's upgrade, like RippleContainerElement in Checkbox. The problem was happening when the element was created dynamically. 2015-08-31 13:47:31 +01:00
Surma 3b1442627e Merge pull request #1498 from dopic/master
Upgrade problem in dynamically created elements
2015-08-31 13:46:36 +01:00
Douglas 13f8653953 Change in the function upgradElementsInternal to enable the upgrade of child elements created by parent element's upgrade, like RippleContainerElement in Checkbox. The problem was happening when the element was created dynamically. 2015-08-29 00:49:12 -03:00
Jonathan Garbee 0fbc988522 Add name and value options to datatable selectors. Fix data table tests to run. 2015-08-28 12:07:47 -04:00
Djalma Araujo 23922685c5 #1355 - More refactoring in tests 2015-08-25 09:27:45 +01:00
Djalma Araujo a9f50ef19d #1355 - Auto Check Checkboxes when the row has the is-selected class 2015-08-25 09:27:45 +01:00
Roger Hu 003a2551c8 Refactor click handler into a separate function.
Allows the handler to be reused for a different event.

Add test for MaterialLayoutTab.

Refactor to expose a programatic way of selecting a tab.
2015-08-18 12:02:11 -07:00
Surma 7752a4effc Revert "#1355 - Auto Check Checkboxes when the row has the is-selected class" 2015-08-12 11:50:43 +01:00
Djalma Araujo 16e324daba #1355 - Refactoring 2015-08-11 18:31:00 -03:00
Djalma Araujo 50ee8ca98f #1355 - Auto Check Checkboxes when the row has the is-selected class 2015-08-11 18:01:04 -03:00
Surma 257aa342f9 Wrap spinner in IIFE 2015-08-10 11:34:31 +01:00
Sam Saccone d5895f6fdc Add menu memory retry logic
xref #1327 (Closes #1329)
2015-08-07 18:37:19 +01:00
Sean Bannister b6c400f4be Removing all references to the mdl-layout--overlay-drawer-button class 2015-08-08 00:49:00 +10:00
alex 83e167549f Run memory tests on CI 2015-08-06 15:34:47 +01:00
Sam Saccone 549844b425 Add initial automated memory test.
This is the initial automated memory test for the menu component in
material design light.

Running this file will check to see if any new DOM nodes or listeners
have been created, therefore automatically detecting memory leaks.
2015-08-05 10:29:20 -04:00
Jonathan Garbee 7f14b0b6b3 Added unit test for checking sibling updates on change. (Closes #1229) 2015-07-28 15:32:37 +01:00
Jonathan Garbee f16e7c8bc8 Added new methods for checking state on other components. Overhauled
tests naming and style.

Checkbox, Icon toggle, Radio, and Switch each receive new methods for
checking state.

Test suite language updated for better output. Expanded test coverage.
Finally, code style improvements.
2015-07-26 07:10:46 -04:00
Xingchen Hong 384315ca64 Fixed test case 'should upgrade a single component to an element by using its CSS classes' to reveal a bug in the current `upgradeElement` caused by `dataUpgraded` not being correctly updated. Added test case 'should upgrade a single component to an element' to reveal a bug in the current `upgradeElement` caused by unreliably checking of upgraded class.
Added `getUpgradedListOfElement_(element)` for getting a list of names of the upgraded classes.
Made `isElementUpgraded_(element, jsClass)` more reliable.
In `upgradeElementInternal(element, optJsClass)`:
* Added argument verification.
* Improved class search efficiency when jsClass is omitted.
* Made `dataUpgraded` update correctly. (Closes #1115)
2015-07-20 21:53:46 +09:00
Jonathan Garbee 9799f6ccf2 Expanded componentHandler unit tests. Removed uneeded comments. 2015-07-16 09:52:21 -04:00
Xingchen Hong 260c88f1bb Add upgradeElements method to componentHandler. 2015-07-16 09:46:59 -04:00
Jonathan Garbee e3d5f5436d Finish off tests (Closes #922) 2015-07-16 09:46:58 -04:00
Nicolas Garnier ee60fcea61 Testing upgrading an element using its CSS classes. 2015-07-16 09:46:58 -04:00
Jonathan Garbee 42955b1f43 Initial test for component handler. 2015-07-16 09:46:58 -04:00
Jonathan Garbee 59ac27904b Assign class string as widget name. (Closes #481) 2015-06-26 11:58:00 +01:00
Sérgio Gomes 894ceb9c28 Forgot to remove one visual test 2015-06-02 14:44:15 +01:00
Sérgio Gomes b35b26e9a4 Update visual tests to use component demos. 2015-06-02 14:44:15 +01:00
Sérgio Gomes 99a84c6dc8 Rewriting headers and updating all content to match.
This implementation should be much saner and less buggy.

Changes:
- Using header rows is now mandatory
- Headers now stretch to fit their content, rather than needing to
  specify a header height
- Tabs should now be inside the header
2015-05-11 15:37:27 +01:00
Alexander Surma c50d60ef8e Fix tests to use dist folder 2015-05-07 15:27:12 +01:00
Addy Osmani f19747e9d4 Update shadows for tests 2015-04-28 15:56:01 +01:00
Sérgio Gomes 3cf12a3215 Removing column-layout component.
The grid component replaces and improves on its functionality.
2015-04-28 11:58:44 +01:00
Sérgio Gomes 1992fb70ea Reverting f562f49d8a 2015-04-28 11:12:01 +01:00
Sérgio Gomes f562f49d8a Makes typography definitions optional, through mdl-typography class.
Also adds mdl-base class, which is currently set to include just the
mdl-typography definitions, but will later be extended to include
other global definitions.

All demos, tests and templates have been updated to use mdl-base.
2015-04-23 14:28:11 +01:00
Alexander Surma 415aeb9442 Use upgrade event in progress demos 2015-04-13 17:05:18 +01:00
Addy Osmani f2e12387b9 Fixes #157 - adds License file headers 2015-04-11 19:33:04 +01:00
Addy Osmani 50a3e8720e Web Starter Kit -> Material Design Lite 2015-04-10 10:54:44 +01:00
Addy Osmani ef43a51d45 Rename wsk -> mdl 2015-04-10 10:54:01 +01:00
Sérgio Gomes 44a587bd20 Small updates to some of the visual tests 2015-04-02 16:28:25 +01:00
Alexander Surma a2d652c89b Implement progress bar component (closes #88)
commit b8cb14ab0a511b806a65102f8f032fd40bf361bc
Author: Alexander Surma <surma@surmair.de>
Date:   Wed Apr 1 12:16:57 2015 +0100

    Invert CSS hack logic

commit f58bf29ee4d376c97d9b673e76ac421eb0b2efae
Author: Alexander Surma <surma@surmair.de>
Date:   Tue Mar 31 15:43:28 2015 +0100

    Use feature detection

commit 095789e2bb09fcc3b2cfc66f7e9bf768a9e9f8cb
Author: Alexander Surma <surma@surmair.de>
Date:   Tue Mar 31 15:34:31 2015 +0100

    Revert "Add browser detection"

    This reverts commit 82f6c28162d1f68de3dbdaf42f0975122305a8bf.

commit 71d3f147da903d3e6fb8315dd1638dc035aa2d2d
Author: Alexander Surma <surma@surmair.de>
Date:   Tue Mar 31 14:37:17 2015 +0100

    Colorize aux bar on IE and FF

commit 82f6c28162d1f68de3dbdaf42f0975122305a8bf
Author: Alexander Surma <surma@surmair.de>
Date:   Tue Mar 31 14:15:43 2015 +0100

    Add browser detection

commit 06f347bba0d5b1979f07357a460dd7608b3063ad
Author: Alexander Surma <surma@surmair.de>
Date:   Tue Mar 31 14:01:51 2015 +0100

    Externalize SVG again

commit cfdc4f276fbe526a0a671601587fc2630129af10
Author: Alexander Surma <surma@surmair.de>
Date:   Mon Mar 30 15:47:13 2015 +0100

    Adhere to styleguide

commit cf4c72aebe94a1a59fa4b6e02b0b44888ef3a484
Author: Alexander Surma <surma@surmair.de>
Date:   Mon Mar 30 12:50:38 2015 +0100

    Inline SVG for progress bar

commit bc9e77d73462e2466d4685d381dc3bceeadeb12b
Author: Alexander Surma <surma@surmair.de>
Date:   Mon Mar 30 12:46:44 2015 +0100

    Add unit tests for progress bar

commit 9e70b49480109d248d45737e80e517e04c78d4ac
Author: Alexander Surma <surma@surmair.de>
Date:   Fri Mar 27 17:48:11 2015 +0000

    Speed up buffering animation

commit 45e7dd3751e389c69c64ef33b912dda793b3f733
Author: Alexander Surma <surma@surmair.de>
Date:   Fri Mar 27 16:15:03 2015 +0000

    Add circle svg for buffer bar

commit ade9276219db103a11fbcfc3908201a8d21e845c
Author: Alexander Surma <surma@surmair.de>
Date:   Fri Mar 27 15:24:17 2015 +0000

    Fix colors

commit ba10830796299571c96357fe8871678b3677046c
Author: Alexander Surma <surma@surmair.de>
Date:   Fri Mar 27 14:54:27 2015 +0000

    Implement indeterminate progress bar

commit 71bac12de651337cc3634ded6133372f54bbc6bd
Author: Alexander Surma <surma@surmair.de>
Date:   Fri Mar 27 14:23:24 2015 +0000

    Add support for buffer bar

commit 9933563f229d3bb4593110cc84e77a9eb46ae2a9
Author: Alexander Surma <surma@surmair.de>
Date:   Thu Mar 26 22:26:52 2015 +0000

    Implement basic progress bar
2015-04-01 13:35:38 +01:00
Addy Osmani 6e4a34066b Improve layout demos 2015-03-23 12:33:49 +00:00
Alexander Surma b1e5e9fcd1 Add global styling file to every showcase 2015-03-22 02:39:39 +00:00
Alexander Surma 9608f02954 Remove visual test’s style.css 2015-03-20 16:50:14 +00:00