@apolitical/component-library 8.7.10 → 8.7.11

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.
@@ -35,6 +35,8 @@ export interface IOverlayProps {
35
35
  gtmContext?: string;
36
36
  /** Language to use */
37
37
  locale?: string;
38
+ /** Whether to use the focus trap */
39
+ withFocusTrap?: boolean;
38
40
  }
39
- declare const Overlay: ({ id, isOpen, showDivider, maxWidth, functions: { onOpen, onClose }, forceShow: { error }, title, children, buttons, className, gtmContext, }: IOverlayProps) => import("react/jsx-runtime").JSX.Element;
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;
40
42
  export default Overlay;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apolitical/component-library",
3
- "version": "8.7.10",
3
+ "version": "8.7.11",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {
@@ -22,6 +22,7 @@
22
22
  "@tanstack/react-query": "5.8.3",
23
23
  "@tanstack/react-query-devtools": "5.8.3",
24
24
  "classnames": "2.3.2",
25
+ "focus-trap-react": "10.2.3",
25
26
  "is-hotkey": "0.2.0",
26
27
  "is-url": "1.2.4",
27
28
  "lodash.clonedeep": "4.5.0",