Merge pull request #1420 from j--w/fix/export-overlay-utils

fix(overlays): export overlay utils
This commit is contained in:
Joren Broekema 2021-06-16 14:59:16 +02:00 committed by GitHub
commit d644aa9c19
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 0 deletions

View file

@ -0,0 +1,5 @@
---
'@lion/overlays': patch
---
Export overlay utils so they can be used on their own

View file

@ -8,3 +8,9 @@ export { ArrowMixin } from './src/ArrowMixin.js';
export { withBottomSheetConfig } from './src/configurations/withBottomSheetConfig.js'; export { withBottomSheetConfig } from './src/configurations/withBottomSheetConfig.js';
export { withModalDialogConfig } from './src/configurations/withModalDialogConfig.js'; export { withModalDialogConfig } from './src/configurations/withModalDialogConfig.js';
export { withDropdownConfig } from './src/configurations/withDropdownConfig.js'; export { withDropdownConfig } from './src/configurations/withDropdownConfig.js';
export { containFocus, rotateFocus } from './src/utils/contain-focus.js';
export { deepContains } from './src/utils/deep-contains.js';
export { getDeepActiveElement } from './src/utils/get-deep-active-element.js';
export { getFocusableElements } from './src/utils/get-focusable-elements.js';
export { setSiblingsInert, unsetSiblingsInert } from './src/utils/inert-siblings.js';