Sérgio Gomes
dbda167b0f
Adding public methods to elements.
...
This is the preferred way of making changes to elements, so that
visual status is updated to reflect logical status.
2015-03-31 12:03:36 +01:00
Dave Gash
b077147a51
Update textfield README
2015-03-30 12:23:16 -07:00
Addy Osmani
856f5dc1b0
Merge pull request #91 from brianhall/color-additions
...
Update the color options to include white and black.
2015-03-30 18:21:26 +01:00
Brian Hall
37af4d565a
Add alpha values for black and white text and update the demo to reflect the addition.
2015-03-30 11:32:29 -05:00
Alexander Surma
d8e1596f49
Adhere to styleguide
2015-03-28 21:47:19 +00:00
Dave Gash
631d45495a
Updated READMEs
2015-03-27 13:38:21 -07:00
Brian Hall
86e50faedc
Closes #87 by adding white and black options to the color palette, updating the demo, and bumping the build.
2015-03-27 10:37:46 -05:00
Alexander Surma
49a7fba38b
Expand header on click
2015-03-26 20:21:48 +00:00
Alexander Surma
cef508f9a3
Don't react to scrolling until animation is done
2015-03-26 20:18:01 +00:00
Alexander Surma
5e884afda0
Add onmouseleave event listeners
2015-03-26 14:18:47 +00:00
Sérgio Gomes
ddf9e9eff5
Using semantic tag names in the layout readme.
2015-03-26 13:51:20 +00:00
Sérgio Gomes
0186d9aa5e
Rearranging palette SCSS files
2015-03-26 12:00:56 +00:00
Sérgio Gomes
d07eb36f5a
Adding CSS definitions for Material Design palette.
...
Adds two CSS rules for each palette color:
- Text color (e.g. `wsk-color-text--red-500`)
- Background color (e.g. `wsk-color--red-500`)
2015-03-26 12:00:14 +00:00
Brian Hall
3962d8e723
Hide the icon if the layout has a drawer (to make room for the menu icon).
2015-03-24 18:11:47 +01:00
Brian Hall
683037dfa1
Sets the drawer for the layout component to by hidden by default (in a non fixed-drawer context).
2015-03-24 18:08:45 +01:00
Sérgio Gomes
eff54a1805
Adding CSS definitions for animation functions
2015-03-24 11:41:39 +00:00
Dave Gash
f01cfb30c2
Add documentation
2015-03-23 09:36:48 -07:00
Brian Hall
c447f77b5c
Fix minor typo in the docs for the layout component. wsk-layout-navigation-link -> wsk-navgation__link
2015-03-22 15:09:54 +01:00
Sérgio Gomes
f63dd71b42
Making ripples visible until mouse/finger up
2015-03-20 19:03:49 +00:00
Sérgio Gomes
ebb31f9f86
Revamping colors across MDL.
...
Now we just use 3 main colors: primary, primary-dark and accent,
with auxiliary primary-contrast and accent-contrast for overlaid
text/icons.
There is no longer the concept of a primary or accent palette.
2015-03-20 15:42:34 +00:00
Sérgio Gomes
07151e3bcf
Inherit text color in textfields
2015-03-19 15:31:22 +00:00
Sérgio Gomes
5a98b271cc
Adding $text-color-primary-contrast and $text-color-accent-contrast
...
These allow for customizing the text color on top of the primary
and accent colors, to ensure that there's enough contrast.
2015-03-19 15:22:26 +00:00
Sérgio Gomes
dc5df8f872
Fixes to the color templates.
...
- Removing secondary color concept
- Fixing template minification
2015-03-19 12:47:21 +00:00
Sérgio Gomes
b8edf49282
Generate CSS templates, with color placeholders.
...
These will allow for easier customization of the color palette through simple text substitution, rather than the much heavier process of SASS compilation.
2015-03-18 18:31:44 +00:00
Addy Osmani
6dc7cc6cb1
Tooltip: minor formatting improvement
2015-03-18 13:26:19 +00:00
Addy Osmani
814e0ca23e
Merge pull request #54 from google/tooltip-for-target
...
Check for existence of `for` target in MaterialTooltip
2015-03-18 13:24:59 +00:00
Addy Osmani
47e6ba47be
Merge pull request #55 from google/rippleContainer-fix
...
Only use rippleContainer inside the `if` ensuring its existence
2015-03-18 13:17:02 +00:00
Addy Osmani
39b2fecc94
Merge pull request #56 from google/global-querySelector
...
Don't rely on global querySelector() for MaterialTabs
2015-03-18 13:15:07 +00:00
Alexander Surma
13b5fac7db
Make empty initializations explicit
2015-03-18 12:59:06 +00:00
Alexander Surma
8ac3d5f838
Be conformant to style guide
2015-03-18 12:27:35 +00:00
Addy Osmani
ce88c8db40
Merge pull request #27 from jasonmayes/master
...
Updating correct componentHandler
2015-03-18 10:00:29 +00:00
Alexander Surma
70df6c2485
Don't rely on global querySelector() for MaterialTabs
2015-03-17 20:16:31 +00:00
Alexander Surma
4248761b4a
Only use rippleContainer inside the `if` ensuring its existence in MaterialSwitch
2015-03-17 16:25:02 +00:00
Alexander Surma
15ca247d53
Check for existance of `for` target in MaterialTooltip
2015-03-17 16:18:46 +00:00
Sérgio Gomes
a04efdbe4f
Adding semantic tags to layout demo.
...
Fixes #39 .
2015-03-17 16:06:28 +00:00
Sérgio Gomes
55900f4e48
Fix for #43
2015-03-17 15:47:35 +00:00
Sérgio Gomes
c79068529c
Fix for #45
2015-03-17 15:44:18 +00:00
Sérgio Gomes
db4fb1f0da
Merge pull request #53 from google/rippleContainer-fix
...
Only use rippleContainer inside the `if` ensuring its existence
2015-03-17 15:35:45 +00:00
Sérgio Gomes
a3d38ff740
Reworking icon demo to show icon names
2015-03-17 15:33:27 +00:00
Alexander Surma
f5f46ec582
Only use rippleContainer inside the `if` ensuring its existence
2015-03-17 15:27:45 +00:00
Sérgio Gomes
f62362edfd
Removing textual references to WSK.
...
New icons to come later.
2015-03-17 14:37:20 +00:00
Sérgio Gomes
1ebee0cd0e
Refactoring mini footer to not use floats.
2015-03-12 16:59:09 +00:00
Jason Mayes
04b00eeaa1
Re adding the mustard test too :-)
2015-03-11 11:02:54 +00:00
Jason Mayes
825b61ddac
Updating correct componentHandler!
...
To take 0 params for upgradeDom.
2015-03-11 10:58:29 +00:00
Sérgio Gomes
8a4f0c6506
Moving image and font files to final directory structure. Again.
...
- Split images into src/images/ and src/demo-images/
- Moved fonts to own directory: src/fonts/
- Updating scss files with new locations
- Updating compiled JS and CSS
2015-02-24 15:07:50 +00:00
Sérgio Gomes
94b3c52466
Copying MD font over to icons component, and switching to relative paths.
2015-02-24 12:31:04 +00:00
Sérgio Gomes
2cd8df9d7e
Namespacing all the demo classes, to make them per-demo.
...
So many classes.
2015-02-23 17:35:16 +00:00
Sérgio Gomes
a88d6243c1
Forgot to assign different IDs
2015-02-23 15:49:45 +00:00
Sérgio Gomes
62e3cfd373
Fixing layout demo after changes to textfield
2015-02-23 15:45:22 +00:00
Sérgio Gomes
0cf18d5941
Fixing small bug after switching footer to icon font
2015-02-23 15:27:44 +00:00
Sérgio Gomes
4e3f742eb6
Modifying checkbox and footer to use an 'images' subdirectory with a relative path
2015-02-23 11:46:04 +00:00
Sérgio Gomes
2dae4da264
Major rework of the text field component.
...
Should now be easier to use, and less fragile.
2015-02-19 16:14:36 +00:00
Sérgio Gomes
c21d6bf3f7
Preventing ugly selection in layout tab scroll buttons
2015-02-16 18:22:51 +00:00
Sérgio Gomes
e37c594d86
Adding menu component
...
- Implements Material Design spec for style and animations
- Supports keyboard navigation
- Supports attaching to any four corners of owner element
2015-02-16 17:50:56 +00:00
Sérgio Gomes
42bd559fe6
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-16 17:41:09 +00:00
Addy Osmani
e483e09348
Handler: support per-comp instances under .widget namespace
2015-02-16 09:16:14 +00:00
Addy Osmani
e7bb29f097
Fix typos in classList for spinner component.
2015-02-16 09:16:14 +00:00
Sérgio Gomes
d4b78cbbde
Adding friendly color names and using them in _colors.scss
2015-02-09 15:05:32 +00:00
Sérgio Gomes
47197b3e68
Cards should have a 2px border radius
2015-02-06 14:27:04 +00:00
Sérgio Gomes
0cf49742c9
Making typography names more BEM-y and adding font weight override classes.
2015-02-06 14:24:13 +00:00
Sérgio Gomes
122d828659
Fixing an arcane bug with tooltips in Safari
2015-02-05 11:37:21 +00:00
Addy Osmani
026398aa4b
material-styleguide => material-design-lite
2015-02-04 10:33:39 +00:00
Addy Osmani
b5dd0b0d0f
Add missing components to /src
2015-02-04 10:14:34 +00:00
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