From ef44d3d753000faf6b20d1363ff4846ff19e4439 Mon Sep 17 00:00:00 2001 From: Alex Sheehan Date: Wed, 7 Jun 2017 15:53:01 -0400 Subject: [PATCH] fix(menu): Add disabled list items to menu (#780) BREAKING CHANGE: Rename symmetric registerDocumentClickHandler/deregisterDocumentClickHandler adapter methods to registerBodyClickHandler/deregisterBodyClickHandler --- demos/select.html | 8 ++-- demos/simple-menu.html | 6 --- packages/mdc-list/mdc-list.scss | 4 -- packages/mdc-menu/README.md | 23 +++++++++- packages/mdc-menu/simple/constants.js | 1 + packages/mdc-menu/simple/foundation.js | 28 ++++++++---- packages/mdc-menu/simple/index.js | 5 ++- packages/mdc-menu/simple/mdc-simple-menu.scss | 17 +++++++ packages/mdc-select/README.md | 33 ++++++++++++++ test/unit/mdc-menu/mdc-simple-menu.test.js | 35 +++++++++------ test/unit/mdc-menu/simple.foundation.test.js | 45 ++++++++++++++++--- 11 files changed, 161 insertions(+), 44 deletions(-) diff --git a/demos/select.html b/demos/select.html index 1c20565218f..b9c6f3817b9 100644 --- a/demos/select.html +++ b/demos/select.html @@ -69,13 +69,13 @@ Pick a food group