@codecademy/gamut
72.2.472.2.5-alpha.212edd.0
dist/BodyPortal/index.d.ts~
dist/BodyPortal/index.d.tsModified+4−3
Index: package/dist/BodyPortal/index.d.ts
===================================================================
--- package/dist/BodyPortal/index.d.ts
+++ package/dist/BodyPortal/index.d.ts
@@ -1,10 +1,11 @@
import * as React from 'react';
interface BodyPortalProps {
/**
- * TEMPORARY: a stopgap solution to avoid zIndex conflicts -
- * will be reworked with: GM-624
- * previously, zIndex was set to 1 in the CSS function
+ * Stacking layer for the portaled content. Pass a `zIndices` token
+ * (e.g. `zIndices.modal`) or a raw number as an escape hatch. Defaults to
+ * `zIndices.portal` — the floor of the portal band — so un-tokenized portal content
+ * stays above local page content instead of silently landing at a low value.
*/
zIndex?: number;
}
export declare const BodyPortal: React.FC<React.PropsWithChildren<BodyPortalProps>>;