@prismicio/editor-ui 0.4.47-alpha.fix-navigator-isse.0 → 0.4.48-alpha.xru-test-animation.0
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/components/LazyRender/LazyRender.d.ts +5 -0
- package/dist/index.cjs.js +144 -144
- package/dist/index.es.js +2439 -2431
- package/dist/style.css +1 -1
- package/package.json +2 -2
|
@@ -3,6 +3,7 @@ import { type ThemeKeys } from "../../theme";
|
|
|
3
3
|
/**
|
|
4
4
|
* Lazily renders a child the first time it intersects with the viewport.
|
|
5
5
|
* Works with any vertical scrolling ancestor (direct or not).
|
|
6
|
+
* Note: For now, it's probably safer not to nest LazyRender components.
|
|
6
7
|
*/
|
|
7
8
|
export interface LazyRenderProps {
|
|
8
9
|
/**
|
|
@@ -23,6 +24,10 @@ export interface LazyRenderProps {
|
|
|
23
24
|
* @default false
|
|
24
25
|
*/
|
|
25
26
|
keepLoaded?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Whether to immediately load when the user is about to initiate a native page text search.
|
|
29
|
+
*/
|
|
30
|
+
loadWhenSearching?: boolean;
|
|
26
31
|
gap?: ThemeKeys<"space">;
|
|
27
32
|
}
|
|
28
33
|
export declare function LazyRender(props: LazyRenderProps): JSX.Element;
|