Commit Graph

838 Commits (d0debc1aec7996f00000a676483714089dd9a50b)

Author SHA1 Message Date
Sérgio Gomes d0debc1aec Small fix so checkboxes can be reused from other components 2015-01-30 13:45:31 +00:00
Sérgio Gomes f363e1ad06 Checkbox improvements
- Switch to using CSS masks for transparent tick. Sorry, IE, you get a white tick.
- Some small visual tweaks (rounded corners, alignment).
- Tidying up the JS
2015-01-29 15:17:17 +00:00
Sérgio Gomes 83fd3af6e4 Merge pull request #619 from codeandrop/issue_500
code styling fix on issue #500
2015-01-29 13:03:50 +00:00
Sérgio Gomes 5f9a1d75e7 Adding mini icon button option 2015-01-28 11:27:55 +00:00
Andres Osorio Plata c66ac7adac code styling fix on issue #500 2015-01-27 15:03:05 -05:00
Addy Osmani ad8cdb8c39 Merge pull request #616 from google/mustard
Add "Cutting the Mustard" test
2015-01-27 10:23:37 +00:00
Addy Osmani 60ada32873 Refactor CTM based on feedback. 2015-01-27 10:19:21 +00:00
Addy Osmani bf6b9852fb Remove dupe 2015-01-26 16:33:29 +00:00
Addy Osmani 64138a8a00 Add "Cutting the Mustard" test 2015-01-26 14:29:29 +00:00
Sérgio Gomes 4cccfbdf59 Adding clarification to multi-row layout demo. 2015-01-26 14:08:18 +00:00
Addy Osmani 751866fec7 Drop pulling in material-design icons in lieu of iconfont 2015-01-26 10:36:35 +00:00
Addy Osmani aefb70b529 Link to Sindre's npm guide 2015-01-26 10:35:14 +00:00
Addy Osmani cc7c678a24 Fix .jscsrc rule 2015-01-26 10:33:51 +00:00
Addy Osmani 3797764a6c Fixes gulp-changed plugin's usage in the gulpfile.js. See 2015-01-26 10:32:24 +00:00
Addy Osmani 4ddff8d07e bump to latest psi 2015-01-26 10:30:50 +00:00
Sérgio Gomes 64885091cc Small visual fixes to icon toggle 2015-01-22 15:20:51 +00:00
Sérgio Gomes 6361302fe9 Adding icon toggle component.
- Implements MD spec, with focus states.
- Gracefully degrades to checkbox.
2015-01-21 18:10:09 +00:00
Sérgio Gomes d8e63d676b Fixing full-screen layout issue with wsk-layout 2015-01-21 13:43:15 +00:00
Sérgio Gomes 4856c5888e Small fix to wsk-layout-icon to make IE happy. 2015-01-20 18:21:58 +00:00
Sérgio Gomes d8d8472528 Ensuring that wskComponentHandler.js comes first in the sources. Fixes a compilation issue. 2015-01-20 17:54:59 +00:00
Sérgio Gomes 777b1022b3 Fixing some compilation bugs 2015-01-20 17:27:06 +00:00
Sérgio Gomes 487170c011 Added tabs + other improvements to layout:
- Added tabs, implementing Material Design spec.
- Made header size and padding depend on screen size, as per the MD spec.
- Added helper class for icons.
- JS cleanup.
- Updated demo and docs.
2015-01-20 15:52:55 +00:00
Sérgio Gomes fee9170dae Adding new spinner component. 2015-01-16 11:15:32 +00:00
Sérgio Gomes ebbb8ebfdf Replacing RobotoDraft with Roboto now that the updated version is live 2015-01-15 15:59:14 +00:00
Sindre Sorhus 16ffea3653 Merge pull request #598 from jasonmayes/material-sprint
Moved the "use strict" statement inside function
2015-01-14 18:45:34 +08:00
Jason Mayes 3750696f91 Moved the "use strict" statement inside function
A simple update moving used strict declaration inside the function to limit scope as this can cause chaos with 3rd party systems that are not written strictly.
2015-01-14 10:41:54 +00:00
Sérgio Gomes d5f7feaaa1 Recent changes to componentHandler broke switch and tabs. Fixing. 2015-01-12 16:48:39 +00:00
Addy Osmani 738cc4787b Merge pull request #592 from jasonmayes/material-sprint
Added ability to listen to upgrades via ComponentHandler
2015-01-12 12:58:13 +00:00
Jason Mayes 2fea83b313 Pasted wrong text - updating to original 2015-01-09 18:37:32 +00:00
Jason Mayes 9f415c0d83 Added ability to listen to upgrades via ComponentHandler
Added extra function to register callback functions on a component class
basis such that you can be alerted when a DOM element gets upgraded.
This is useful in a situation such as this:

1) User decides to use wskCheckbox.
2) When the checkbox is clicked the user wishes to update some parent
node's class (to change the visual style of a table row for example).
3) All they need to do now is register an event listener using
componentHandler.registerUpgradedCallback(JSClass, callback) so that
their callback is called every time any DOM element is upgraded to type
JSClass. The callback function takes 1 parameter which is the
HTMLElement that was upgraded.
4) This saves the user much time and efficiency as they don't need to
"Monitor the DOM" for changes. It also allows them to be notified when
things are added after page load too.
2015-01-09 18:31:00 +00:00
Sérgio Gomes cf580fb84b Implemented content tabs.
These are a lesser implementation designed to be used as part of the page content. The full Material Design tabs spec will be implemented as part of the layout component.
2015-01-09 16:39:05 +00:00
Matt Gaunt 67f9fb4bec merge conflict on mega footer - minor 2015-01-09 14:31:27 +00:00
Matt Gaunt b2d180dd2b Altering the footer to include mini support and fix a typo 2015-01-09 14:30:21 +00:00
Sérgio Gomes 74674a16cb Fixing small syntax error in footer 2015-01-09 10:26:51 +00:00
Sérgio Gomes eb186871ed Removing outdated JS comments across the board. 2015-01-08 17:47:48 +00:00
Matt Gaunt 4a552dc1ea Moving footer colors to _colors.scss and adding default to all colors 2015-01-08 17:44:56 +00:00
Sérgio Gomes eed5690ff7 Updating the text inputs in the layout demos 2015-01-08 14:43:15 +00:00
Sérgio Gomes 2e1928125e Oops, fixing compilation error in switches. 2015-01-08 13:33:02 +00:00
Sérgio Gomes d2439df4cf Adding switches. 2015-01-08 11:57:35 +00:00
Matt Gaunt 3eb10ba174 Adding footer 2015-01-07 18:03:06 +00:00
Addy Osmani 4a572d5ed0 Use invert() function for inverse typography 2015-01-07 14:54:36 +00:00
Addy Osmani fe01b29bb1 Centralized color configuration for all components 2015-01-07 13:59:53 +00:00
Addy Osmani e2890148f2 Move color configuration from component files 2015-01-07 13:54:14 +00:00
Addy Osmani e38dc8b024 Styleguide: add styleguide-specific WSK identifier 2015-01-07 13:51:13 +00:00
Addy Osmani 5f9d5ef69c Add support for onError in gulp-sass setup 2015-01-07 13:50:02 +00:00
Addy Osmani 26abb6753c Condense padding for Styleguide nav. Fix transition. 2015-01-07 13:47:37 +00:00
Addy Osmani 2565cbc04e Add support for a _colors.scss file 2015-01-06 16:20:27 +00:00
Addy Osmani 7019888b19 Gulpfile: Drop old UnCSS ignore rules 2015-01-06 13:54:34 +00:00
Addy Osmani cfe3cbba79 Rename material-styleguide -> styleguide 2015-01-06 13:50:41 +00:00
Addy Osmani a395041cc8 Gulpfile: Drop unneeded line 2015-01-06 13:42:25 +00:00