Commit Graph

2580 Commits (6fa662ecc510a233601af22d89ddbe739659309f)

Author SHA1 Message Date
alex 6fa662ecc5 Add drone upgrade-related changes 2015-12-14 10:54:19 +00:00
Surma adae90db8f Update drool and API calls 2015-12-11 16:54:27 +00:00
Surma 601515117e Remove gulpfile from linting 2015-12-09 23:26:26 +00:00
alex b1f840d3b6 An attempt to fix phantomjs-based tests in CI 2015-12-09 22:19:15 +00:00
alex b99b01b54a Upgraded drone config 2015-12-09 16:24:38 +00:00
Sérgio Gomes 96e7ea0131 Merge pull request #1965 from google/sjs/menu-leak-take2
Utilize event deduping optmization with addEventListener
2015-12-09 15:52:18 +00:00
Sam Saccone 402ae63511 Utilize event deduping with addEventListener
The initial leak found here
https://github.com/google/material-design-lite/issues/761

And then patched here
957656d2be

Was never the "correct" fix. Yes the patch in
957656d2be cause us to no longer leak
however we were still paying the cost of registering and unregistering
for the same event over and over, as well as allocating a new bound
scope each time (thus generating more garbage and thus eventually
causing more time to be spent int GC)

Instead I opted here to take advantage of addEventListener and its
ability to automatically discard duplicate listeners.

> If multiple identical EventListeners are registered on the same
> EventTarget with the same parameters, the duplicate instances are
> discarded. They do not cause the EventListener to be called twice, and
> they do not need to be removed manually with the removeEventListener
> method.
https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#Multiple_identical_event_listeners

Because there is no outside pointers into this event, there is no need
to remove the listener anymore, because once the node reference becomes
unreachable the events will be automatically GCd for us.

:)
2015-12-08 19:03:01 -08:00
Sam Saccone 9920165572 Merge pull request #1962 from posva/fix-badge-overlap
Fix margin-right when using .mdl-badge--overlap
2015-12-06 17:29:30 +01:00
Eduardo San Martin Morote 115d2ea820 Fix margin-right when using .mdl-badge--overlap
The overlap can be modified by changing the $badge-overlap variable
2015-12-06 12:12:47 +01:00
Jonathan Garbee 75f28f10e0 Merge pull request #1960 from Garbee/mdl-lists
🆕 List component
2015-12-04 12:12:47 -05:00
Surma efb3bdb5ae Merge pull request #1959 from google/Tooltip-positions
Tooltip positions
2015-12-04 16:48:26 +00:00
Surma 081629dca9 Extend documentation for tooltips 2015-12-04 16:42:50 +00:00
Jonathan Garbee 95043d04d1 Merge branch 'garbee/hotfix/textfield-autofocus' 2015-12-04 11:24:58 -05:00
Rohan Thacker 4875675ac8 🆕 List component 2015-12-04 11:19:24 -05:00
Jonathan Garbee 3c1f58d992 🆕 Textfield checkfocus 2015-12-04 11:13:13 -05:00
Surma 5d47cce3e2 Fix left/right tooltip positioning 2015-12-04 16:08:13 +00:00
Ruslan Kyba 449666a88b Cleaned code after merge 2015-12-04 15:48:49 +00:00
Ruslan Kyba 58c651eb83 Fixed js 2015-12-04 15:48:49 +00:00
Ruslan Kyba b91dfd23ce Tooltip positions
Tooltip position according to class modifier (default BOTTOM)
BOTTOM: 'mdl-tooltip--bottom',
LEFT: 'mdl-tooltip--left',
RIGHT: 'mdl-tooltip--right',
TOP: 'mdl-tooltip--top'
2015-12-04 15:48:49 +00:00
Sérgio Gomes 061cd4e903 Merge pull request #1956 from google/garbee/layout-obfuscator
Make obfuscator transition opacity instead of background-color
2015-12-04 15:04:48 +00:00
Sérgio Gomes ba634e97f5 Merge pull request #1955 from google/garbee/hotfix/layout-toggle-public
Make drawer toggle public method for layout.
2015-12-04 14:12:44 +00:00
Jonathan Garbee 926c36a00a Make obfuscator transition opacity instead of background-color 2015-12-04 09:06:33 -05:00
Jonathan Garbee be54f789fc Make drawer toggle public method for layout. 2015-12-04 07:02:44 -05:00
Addy Osmani 3c685b486c Merge pull request #1893 from google/closure-fixes-2015-11
Some minor closure compiler improvements/fixes.
2015-11-23 11:26:46 +00:00
Jonathan Garbee bcf7f77224 Remove box shadow on raised disabled.
Explicitly set box-shadow to none for a disabled raised button. The standard shadow still takes effect without this.
2015-11-21 20:19:31 -05:00
Sérgio Gomes b271c8b80b Some minor closure compiler improvements/fixes. 2015-11-18 13:12:30 +00:00
Addy Osmani 0c8422c106 Merge pull request #1890 from mustafa-x/master
Adding portfolio template and tutorial files
2015-11-18 10:48:13 +00:00
mustafa 2cbf1a7318 Add mdl-typography--body-1-force-preferred-font to the navigation elements so that Roboto is used rather than Helvetica 2015-11-18 10:41:29 +00:00
mustafa ed91f4be80 removed button background image 2015-11-18 10:12:15 +00:00
Sam Saccone e696578b27 Merge pull request #1875 from google/garbee/hotfix/disabled-button-shadow
Remove shadow from disabled buttons.
2015-11-17 18:28:09 -08:00
mustafa a01b337f92 removed redundant commented code 2015-11-17 14:54:20 +00:00
mustafa 6f688f12c7 added image specific classes 2015-11-17 14:53:22 +00:00
mustafa 2e2e06c4fe replaced .mdl-layout__header .mdl-layout__drawer-button with .portfolio-header .mdl-layout__drawer-button 2015-11-17 14:51:09 +00:00
mustafa 291e41cc69 updated the CSS files to they target specifically. .portfolio-header .mdl-layout__header-row instead of .mdl-layout__header-row 2015-11-17 14:49:51 +00:00
mustafa 7d1c8f74a6 updated the meta tag description for all of the HTML files 2015-11-17 14:46:43 +00:00
mustafa aed90b14d2 Updated the CSS and JS links for the templates in order to make them consistent with existing templates. This also helps with testing the builds 2015-11-17 14:45:04 +00:00
mustafa e0357497ec Adding portfolio template and tutorial files 2015-11-16 12:06:18 +00:00
Jonathan Garbee ad5185b062 Merge pull request #1889 from mariusbutuc/palette-typo
Fix typo in _variables.scss
2015-11-16 03:46:06 -05:00
Marius Butuc 221a7f2c39 s/pallet/palette 2015-11-15 23:09:30 -05:00
Addy Osmani de802c07cc Merge pull request #1878 from google/garbee/hotfix/card-text
Update card supporting text to align with spec.
2015-11-14 13:37:11 +01:00
Surma acabfd6aa9 Merge pull request #1877 from google/garbee/hotfix/material-icons
Add material-icons to typography
2015-11-12 15:35:57 -08:00
Jonathan Garbee 0d9ecf085c Update card supporting text to align with spec. 2015-11-12 18:24:50 -05:00
Jonathan Garbee 00df263274 Add material-icons to typography
Originally added by Surma in commit e2d090e58d14877d9ccf5c7c067ab4dfe29a3c49. Was never pulled into master from mdl-1.0 as needed.
2015-11-12 16:07:57 -05:00
Jonathan Garbee 77655d0dfa Remove shadow from disabled buttons. 2015-11-12 13:50:56 -05:00
Sérgio Gomes a308d3fa77 Merge pull request #1863 from The4thLaw/issue-1862
Documentation change to fix #1862
2015-11-12 14:21:08 +00:00
Jonathan Garbee a2761e5f5d Add padding to icon for proper spacing.
Aligns the demo more fully with the initial mock.
2015-11-11 16:51:05 -05:00
Surma dd93a73ed9 Merge pull request #1784 from google/hotfix/gulpfile-simplify-all
Clean up gulp all task.
2015-11-11 10:53:38 -08:00
Sérgio Gomes 7352634169 Merge pull request #1821 from MightyBranch/dashboard-template-fix
📐 Align search icon with menu icon in Firefox
2015-11-11 14:17:41 +00:00
Surma d0cbc101a4 Merge pull request #1861 from hebbet/master
use google.com for Material Design links
2015-11-10 09:02:33 -08:00
The4thLaw da36d6e82b Implementing comments on the pull request
There are no code samples any more and the note is expressed as a quote, much like it's already done in the badge documentation.
2015-11-10 16:02:13 +01:00