@baseline-ui/core 0.45.5 → 0.45.7

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.
package/dist/index.d.mts CHANGED
@@ -2757,6 +2757,12 @@ interface AriaModalOverlayProps extends Pick<AriaOverlayProps, 'shouldCloseOnInt
2757
2757
  * @default false
2758
2758
  */
2759
2759
  isKeyboardDismissDisabled?: boolean;
2760
+ /**
2761
+ * The root element of the modal.
2762
+ *
2763
+ * @default document.body
2764
+ */
2765
+ root?: HTMLElement;
2760
2766
  }
2761
2767
 
2762
2768
  interface AriaMenuTriggerProps {
@@ -19419,7 +19425,7 @@ interface ModalProps extends OverlayTriggerProps$1 {
19419
19425
  /** The contents of the modal. */
19420
19426
  children: React__default__default.ReactNode;
19421
19427
  }
19422
- interface ModalContentProps extends Omit<AriaModalOverlayProps, "isDismissable" | "isKeyboardDismissDisabled">, StylingProps {
19428
+ interface ModalContentProps extends Omit<AriaModalOverlayProps, "isDismissable" | "isKeyboardDismissDisabled" | "root">, StylingProps {
19423
19429
  /**
19424
19430
  * The contents of the modal. Can be a React node or a function that returns a
19425
19431
  * React node.
package/dist/index.d.ts CHANGED
@@ -2757,6 +2757,12 @@ interface AriaModalOverlayProps extends Pick<AriaOverlayProps, 'shouldCloseOnInt
2757
2757
  * @default false
2758
2758
  */
2759
2759
  isKeyboardDismissDisabled?: boolean;
2760
+ /**
2761
+ * The root element of the modal.
2762
+ *
2763
+ * @default document.body
2764
+ */
2765
+ root?: HTMLElement;
2760
2766
  }
2761
2767
 
2762
2768
  interface AriaMenuTriggerProps {
@@ -19419,7 +19425,7 @@ interface ModalProps extends OverlayTriggerProps$1 {
19419
19425
  /** The contents of the modal. */
19420
19426
  children: React__default__default.ReactNode;
19421
19427
  }
19422
- interface ModalContentProps extends Omit<AriaModalOverlayProps, "isDismissable" | "isKeyboardDismissDisabled">, StylingProps {
19428
+ interface ModalContentProps extends Omit<AriaModalOverlayProps, "isDismissable" | "isKeyboardDismissDisabled" | "root">, StylingProps {
19423
19429
  /**
19424
19430
  * The contents of the modal. Can be a React node or a function that returns a
19425
19431
  * React node.