diff --git a/.changeset/old-penguins-dream.md b/.changeset/old-penguins-dream.md new file mode 100644 index 000000000..f3c67a250 --- /dev/null +++ b/.changeset/old-penguins-dream.md @@ -0,0 +1,5 @@ +--- +'@lion/overlays': patch +--- + +Export overlay utils so they can be used on their own diff --git a/packages/overlays/index.js b/packages/overlays/index.js index 4e93fcd88..e52c36663 100644 --- a/packages/overlays/index.js +++ b/packages/overlays/index.js @@ -8,3 +8,9 @@ export { ArrowMixin } from './src/ArrowMixin.js'; export { withBottomSheetConfig } from './src/configurations/withBottomSheetConfig.js'; export { withModalDialogConfig } from './src/configurations/withModalDialogConfig.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';