@page-speed/lightbox 0.0.1 → 0.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.
- package/README.md +2 -0
- package/dist/components/LightboxContent.d.ts +3 -2
- package/dist/components/index.js +794 -128
- package/dist/index.cjs +799 -133
- package/dist/index.js +799 -133
- package/dist/renderers/ImageRenderer.d.ts +7 -6
- package/dist/renderers/index.js +746 -94
- package/dist/types.d.ts +21 -0
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+

|
|
2
|
+
|
|
1
3
|
# @page-speed/lightbox
|
|
2
4
|
|
|
3
5
|
High‑performance, media‑rich lightbox for React, designed for the DashTrack / OpenSite ecosystem and the Semantic Site Builder engine.
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { LightboxItem, LightboxLayoutType } from "../types";
|
|
1
|
+
import { LightboxItem, LightboxLayoutType, LightboxOptixFlowConfig } from "../types";
|
|
2
2
|
interface LightboxContentProps {
|
|
3
3
|
item: LightboxItem | null;
|
|
4
4
|
layout: LightboxLayoutType;
|
|
5
|
+
optixFlowConfig?: LightboxOptixFlowConfig;
|
|
5
6
|
}
|
|
6
7
|
/**
|
|
7
8
|
* Dispatches to the appropriate renderer based on the LightboxItem type.
|
|
@@ -9,5 +10,5 @@ interface LightboxContentProps {
|
|
|
9
10
|
* This component stays very small so individual renderers can be
|
|
10
11
|
* tree-shaken and swapped out by the Semantic UI engine if needed.
|
|
11
12
|
*/
|
|
12
|
-
export declare function LightboxContent({ item, layout }: LightboxContentProps): import("react/jsx-runtime").JSX.Element | null;
|
|
13
|
+
export declare function LightboxContent({ item, layout, optixFlowConfig }: LightboxContentProps): import("react/jsx-runtime").JSX.Element | null;
|
|
13
14
|
export {};
|