@apolitical/component-library 9.0.0 → 9.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -37,6 +37,8 @@ export interface IOverlayProps {
37
37
  locale?: string;
38
38
  /** Whether to use the focus trap */
39
39
  withFocusTrap?: boolean;
40
+ /** Whether to render the overlay in a portal at the document body level */
41
+ usePortal?: boolean;
40
42
  }
41
- declare const Overlay: ({ id, isOpen, showDivider, maxWidth, functions: { onOpen, onClose }, forceShow: { error }, title, children, buttons, className, gtmContext, withFocusTrap, }: IOverlayProps) => import("react/jsx-runtime").JSX.Element;
43
+ declare const Overlay: ({ id, isOpen, showDivider, maxWidth, functions: { onOpen, onClose }, forceShow: { error }, title, children, buttons, className, gtmContext, withFocusTrap, usePortal, }: IOverlayProps) => import("react/jsx-runtime").JSX.Element;
42
44
  export default Overlay;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apolitical/component-library",
3
- "version": "9.0.0",
3
+ "version": "9.0.2",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {