From d4c726d28f7663d2fb83d232cf2d7cba7de000c8 Mon Sep 17 00:00:00 2001 From: Andy Chrzaszcz Date: Wed, 29 Jul 2020 14:17:41 -0400 Subject: [PATCH] refactor(cdk-experimental/menu): export Menu interface injection token and MenuStack Any third-party wanting to extend CdkMenu or CdkMenuBar will need to update the providers array with the concrete component to inject for the Menu interface as well as act as a provider for the MenuStack therefore requiring access to the injection token and MenuStack instance. --- src/cdk-experimental/menu/public-api.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cdk-experimental/menu/public-api.ts b/src/cdk-experimental/menu/public-api.ts index c0d7a7952e89..59c8e5f472a6 100644 --- a/src/cdk-experimental/menu/public-api.ts +++ b/src/cdk-experimental/menu/public-api.ts @@ -15,3 +15,6 @@ export * from './menu-item-radio'; export * from './menu-item-trigger'; export * from './menu-panel'; export * from './menu-group'; + +export * from './menu-stack'; +export {CDK_MENU} from './menu-interface';