Skip to content

Commit 96c8bdc

Browse files
Elliott Marquezcopybara-github
authored andcommitted
fix(menu): exporting the wrong DefaultFocusState
PiperOrigin-RevId: 335935525
1 parent 9ef2e7c commit 96c8bdc

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
4747
- `linear-progress`
4848
- Fixed performance issues with indeterminate set on modern browsers
4949
- Animations no longer run when indicator has been closed.
50+
- `menu`
51+
- Fixed a wrong export of `DefaultFocusState` from `mwc-menu.ts`
5052

5153
## [v0.18.0] - 2020-08-03
5254

packages/menu/mwc-menu.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ import {customElement} from 'lit-element';
2020
import {MenuBase} from './mwc-menu-base';
2121
import {style} from './mwc-menu-css';
2222

23-
export {DefaultFocusState} from '@material/menu/constants';
2423
export {createSetFromIndex, isEventMulti, isIndexSet, MWCListIndex} from '@material/mwc-list/mwc-list-foundation';
24+
export {DefaultFocusState} from './mwc-menu-base';
2525
export {Corner, MenuCorner} from './mwc-menu-surface-base';
2626

2727
declare global {

0 commit comments

Comments
 (0)