Commit Graph

852 Commits (a71d2ba8c95619f7f2d8a5d43e7354bd1e61947e)

Author SHA1 Message Date
Addy Osmani a71d2ba8c9 Continue move of files to the /src directory 2015-02-04 10:12:09 +00:00
Addy Osmani d7995d3e34 Move components to the src directory 2015-02-04 10:11:27 +00:00
Addy Osmani 1872957920 Bring back .git configs 2015-02-04 10:10:46 +00:00
Addy Osmani 074d54757e Clean-up application directories. 2015-02-04 10:10:36 +00:00
Sérgio Gomes 7226fb0036 Adding icon font and wsk-icon utility classes
- Added Material-Design-Iconic-Font, while we're waiting for the official one
- Added SASS variables for all the characters
- Added a wsk-icon--<icon-name> class for every icon
- Modified wsk-layout to use menu icon for opening the drawer, and chevrons for scrolling tabs
- Modified tooltip demo to use icons rather than inline SVGs
- Modified icon-toggle demo to use icons
- Modified FAB and icon button demos to use icons
2015-02-03 16:19:16 +00:00
Sérgio Gomes d6b72823af Fixing #621.
Also doing some JS cleanup.
2015-02-02 11:41:22 +00:00
Sérgio Gomes c0e39cdd58 Adding graceful degradation to sliders.
Also tidying up JS a bit.
2015-02-02 11:18:51 +00:00
Sérgio Gomes 917359f28e Fixing typo in spinner.
Also adding more documentation for "start" and "stop" public methods.
2015-02-02 10:54:48 +00:00
Addy Osmani 4090e3df83 Merge pull request #613 from jeffposnick/material-sprint
Service-worker based caching using sw-precache
2015-02-01 21:43:38 +00:00
Addy Osmani 9a44b64879 Update comment text for add to homescreen 2015-02-01 18:32:20 +00:00
Sérgio Gomes 5df1b57cd5 Slight adjustment to radio buttons 2015-01-30 17:38:24 +00:00
Sérgio Gomes f7051d87f7 Fixing build location for styleguide 2015-01-30 17:01:30 +00:00
Sérgio Gomes f6a0b74808 Manually specifying each component JS file in the gulpfile.
This allows us to get around component dependencies where components depend on each other, since gulp was just processing everything alphabetically otherwise.
2015-01-30 14:44:33 +00:00
Sérgio Gomes d0debc1aec Small fix so checkboxes can be reused from other components 2015-01-30 13:45:31 +00:00
Jeff Posnick 4fa43c7197 Add sw-precache to WSK. 2015-01-29 10:58:43 -05: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