@neowhale/storefront 0.2.35 → 0.2.37
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/landing.global.js +373 -488
- package/dist/react/index.cjs +343 -470
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.d.cts +9 -0
- package/dist/react/index.d.ts +9 -0
- package/dist/react/index.js +343 -470
- package/dist/react/index.js.map +1 -1
- package/package.json +1 -1
package/dist/react/index.d.cts
CHANGED
|
@@ -471,7 +471,16 @@ interface SectionData {
|
|
|
471
471
|
landing_page?: {
|
|
472
472
|
slug?: string;
|
|
473
473
|
} | null;
|
|
474
|
+
analyticsContext?: {
|
|
475
|
+
visitorId?: string;
|
|
476
|
+
sessionId?: string;
|
|
477
|
+
};
|
|
474
478
|
}
|
|
479
|
+
|
|
480
|
+
/**
|
|
481
|
+
* Routes a section to its renderer and tracks section visibility via IntersectionObserver.
|
|
482
|
+
* Each section is wrapped in a div with data attributes for analytics targeting.
|
|
483
|
+
*/
|
|
475
484
|
declare function SectionRenderer({ section, data, theme, tracking, onEvent, }: {
|
|
476
485
|
section: LandingSection;
|
|
477
486
|
data: SectionData;
|
package/dist/react/index.d.ts
CHANGED
|
@@ -471,7 +471,16 @@ interface SectionData {
|
|
|
471
471
|
landing_page?: {
|
|
472
472
|
slug?: string;
|
|
473
473
|
} | null;
|
|
474
|
+
analyticsContext?: {
|
|
475
|
+
visitorId?: string;
|
|
476
|
+
sessionId?: string;
|
|
477
|
+
};
|
|
474
478
|
}
|
|
479
|
+
|
|
480
|
+
/**
|
|
481
|
+
* Routes a section to its renderer and tracks section visibility via IntersectionObserver.
|
|
482
|
+
* Each section is wrapped in a div with data attributes for analytics targeting.
|
|
483
|
+
*/
|
|
475
484
|
declare function SectionRenderer({ section, data, theme, tracking, onEvent, }: {
|
|
476
485
|
section: LandingSection;
|
|
477
486
|
data: SectionData;
|