@dutchiesdk/ecommerce-extensions-sdk 0.19.4 → 0.20.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/README.md CHANGED
@@ -953,6 +953,7 @@ type RemoteModuleRegistry = {
953
953
  StoreFrontHero?: ModuleRegistryEntry;
954
954
  StoreFrontCarouselInterstitials?: ModuleRegistryEntry[];
955
955
  ProductDetailsPrimary?: ModuleRegistryEntry;
956
+ ListPageHero?: ModuleRegistryEntry;
956
957
 
957
958
  // Category page components (indexed by pagination page number)
958
959
  CategoryPageInterstitials?: ListPageEntry[];
@@ -1693,6 +1694,11 @@ export default {
1693
1694
  () => import("./components/Hero")
1694
1695
  ),
1695
1696
 
1697
+ // Hero on Product List pages
1698
+ ListPageHero: createLazyRemoteBoundaryComponent(
1699
+ () => import("./store-front/list-page-hero")
1700
+ ),
1701
+
1696
1702
  // Custom product page
1697
1703
  ProductDetailsPrimary: createLazyRemoteBoundaryComponent(
1698
1704
  () => import("./components/ProductDetails")
@@ -30,7 +30,7 @@ __webpack_require__.d(__webpack_exports__, {
30
30
  useDataBridge: ()=>useDataBridge
31
31
  });
32
32
  const external_react_namespaceObject = require("react");
33
- const DataBridgeVersion = '0.19.4';
33
+ const DataBridgeVersion = '0.20.0';
34
34
  const DataBridgeContext = (0, external_react_namespaceObject.createContext)(void 0);
35
35
  const useDataBridge = ()=>{
36
36
  const context = (0, external_react_namespaceObject.useContext)(DataBridgeContext);
@@ -1,5 +1,5 @@
1
1
  import { createContext, useContext, useEffect, useState } from "react";
2
- const DataBridgeVersion = '0.19.4';
2
+ const DataBridgeVersion = '0.20.0';
3
3
  const DataBridgeContext = createContext(void 0);
4
4
  const useDataBridge = ()=>{
5
5
  const context = useContext(DataBridgeContext);
@@ -58,6 +58,7 @@ export type RemoteModuleRegistry = {
58
58
  StoreFrontCarouselInterstitials?: ModuleRegistryEntry[];
59
59
  StoreFrontHero?: ModuleRegistryEntry;
60
60
  ProductDetailsPrimary?: ModuleRegistryEntry;
61
+ ListPageHero?: ModuleRegistryEntry;
61
62
  /**
62
63
  * Function that provides meta fields for the current page.
63
64
  * Replaces the StoreFrontMeta component approach.
@@ -58,6 +58,7 @@ export type RemoteModuleRegistry = {
58
58
  StoreFrontCarouselInterstitials?: ModuleRegistryEntry[];
59
59
  StoreFrontHero?: ModuleRegistryEntry;
60
60
  ProductDetailsPrimary?: ModuleRegistryEntry;
61
+ ListPageHero?: ModuleRegistryEntry;
61
62
  /**
62
63
  * Function that provides meta fields for the current page.
63
64
  * Replaces the StoreFrontMeta component approach.
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "0.19.4",
7
+ "version": "0.20.0",
8
8
  "license": "MIT",
9
9
  "type": "module",
10
10
  "module": "./dist/esm/index.js",