@salesforce/storefront-next-runtime 1.0.0-alpha.0 → 1.0.0-alpha.1
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/ComponentContext.js +199 -4
- package/dist/ComponentContext.js.map +1 -1
- package/dist/DesignComponent.js +2 -2
- package/dist/DesignRegion.js +2 -2
- package/dist/RegionContext.js +9 -0
- package/dist/RegionContext.js.map +1 -0
- package/dist/component.types.d.ts +1 -1
- package/dist/config.d.ts +6 -5
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +2 -1
- package/dist/config.js.map +1 -1
- package/dist/data-store.d.ts +3 -3
- package/dist/data-store.d.ts.map +1 -1
- package/dist/defaults.d.ts +106 -0
- package/dist/defaults.d.ts.map +1 -0
- package/dist/defaults.js +67 -0
- package/dist/defaults.js.map +1 -0
- package/dist/design-data.d.ts +10 -332
- package/dist/design-data.d.ts.map +1 -1
- package/dist/design-data.js +67 -23
- package/dist/design-data.js.map +1 -1
- package/dist/design-react-core.d.ts +5 -15
- package/dist/design-react-core.d.ts.map +1 -1
- package/dist/design-react-core.js +2 -2
- package/dist/design-react.d.ts +2 -2
- package/dist/design.d.ts +2 -2
- package/dist/scapi.d.ts.map +1 -1
- package/dist/security-react.d.ts +34 -0
- package/dist/security-react.d.ts.map +1 -0
- package/dist/security-react.js +21 -0
- package/dist/security-react.js.map +1 -0
- package/dist/security.d.ts +61 -0
- package/dist/security.d.ts.map +1 -0
- package/dist/security.js +304 -0
- package/dist/security.js.map +1 -0
- package/dist/site-context.d.ts +2 -2
- package/dist/types3.d.ts +1 -35
- package/dist/types3.d.ts.map +1 -1
- package/package.json +15 -2
- package/dist/DesignFrame.js +0 -204
- package/dist/DesignFrame.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"design-react-core.d.ts","names":[],"sources":["../src/design/react/core/PageDesignerProvider.tsx","../src/design/react/core/PageDesignerPageMetadataProvider.tsx","../src/design/react/core/RegionContext.tsx","../src/design/react/core/
|
|
1
|
+
{"version":3,"file":"design-react-core.d.ts","names":[],"sources":["../src/design/react/core/PageDesignerProvider.tsx","../src/design/react/core/PageDesignerPageMetadataProvider.tsx","../src/design/react/core/RegionContext.tsx","../src/design/react/core/ComponentDecorator.tsx","../src/design/react/core/RegionDecorator.tsx","../src/design/react/core/adapter.ts"],"sourcesContent":[],"mappings":";;;;;;;;KAoCK,uBAAA;;;;cAaQ,2BAA0B;KAElC,yBAAA;EAfA,QAAA,EAgBS,KAAA,CAAM,SAhBf;EAaQ,QAAA,EAAA,MAAA;EAER,YAAA,EAAA,MAAA;EAWQ,IAAA,CAAA,EAAA,MAAA;iBANM;;;;;cAMN;;;;;;;;;;KASV,4BAA4B,KAAA,CAAM,GAAA,CAAI;;IAAtC,uBAAA,EAAA,MAAA;IAAkC,wBAAI,EAAA,MAAA;IAAO,IAAA,EAAA,SAAA;;;;;;;;;iBC7ChC,gCAAA;;;GAGb,KAAA,CAAM;QAA0B,iBAAA,CAAkB;KAAkB,kBAAA,CAAA,GAAA,CAAA;;;UCZtD,iBAAA;;;;AFsDoB,cE/CxB,gBF+C4B,EAAA,GAAA,GE/CL,iBF+CK,GAAA,IAAA;;;;;;;;;;AAtD0B;AAgCnE;AAEK,iBGlBW,mCHmBI,CAAA,MAID,CAAA,CAAA,SAAA,EGtBJ,KAAA,CAAM,aHsBqB,CGtBP,MHsBO,CAAA,CAAA,EAAA,CAAA,KAAA,EGrB/B,uBHqB+B,CGrBP,MHqBO,CAAA,EAAA,GGrBK,KAAA,CAAM,GAAA,CAAI,OHqBf;;;iBIjC1B,iDACJ,KAAA,CAAM,cAAc,kBACrB,qBAAqB,YAAY,KAAA,CAAM,GAAA,CAAI;;;KCH1C,+BAA+B,gBAAgB,QAAQ,yBAAyB;;;;;;KAOhF,mCACN,OAAA,CAAM,cAAc,UACpB,OAAA,CAAM,oBAAoB,OAAA,CAAM,cAAc;;;AJLpD;;AAEI,cIWS,YJXT,CAAA,MAAA,CAAA,YIWyC,gBJXzC,CIW0D,MJX1D,EIWkE,wBJXlE,CIW2F,MJX3F,CAAA,CAAA,CAAA;EAC+B;;;EAAoC,mBAAA,CAAA,QAAA,EAAA,GAAA,GIc/B,OJd+B,CIcvB,oBJduB,CIcF,MJdE,CAAA,CAAA,CAAA,EIcS,wBJdT,CIckC,MJdlC,CAAA;;;;ACZvE;EAOa,iBAAA,CAAA,SAAkF,EGmC9D,wBHnCoB,CGmCK,MHnCL,CAAA,CAAA,EGmCe,wBHnCf,CGmCwC,MHnCxC,CAAA;;;;ACSrD;AACmC,iBEmCnB,kBFnCmB,CAAA,MAAA,CAAA,CAAA,CAAA,EEmCW,YFnCX,CEmCwB,MFnCxB,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./modeDetection.js";
|
|
2
2
|
import { n as usePageDesignerMode, t as PageDesignerProvider } from "./PageDesignerProvider.js";
|
|
3
|
-
import {
|
|
3
|
+
import { n as useRegionContext } from "./RegionContext.js";
|
|
4
4
|
import React, { lazy } from "react";
|
|
5
5
|
import { Fragment, jsx } from "react/jsx-runtime";
|
|
6
6
|
|
|
@@ -100,5 +100,5 @@ function createReactAdapter() {
|
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
//#endregion
|
|
103
|
-
export {
|
|
103
|
+
export { PageDesignerPageMetadataProvider, PageDesignerProvider, createReactAdapter, createReactComponentDesignDecorator, createReactRegionDesignDecorator, usePageDesignerMode, useRegionContext };
|
|
104
104
|
//# sourceMappingURL=design-react-core.js.map
|
package/dist/design-react.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as ShopperExperience } from "./types2.js";
|
|
2
2
|
import { S as ClientAcknowledgedEvent, l as EventPayload, r as ClientApi } from "./index.js";
|
|
3
|
-
import {
|
|
3
|
+
import { i as RegionDesignMetadata, n as ComponentDesignMetadata, t as ComponentDecoratorProps } from "./component.types.js";
|
|
4
4
|
import React from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/design/react/context/DesignContext.d.ts
|
|
@@ -51,5 +51,5 @@ type PageDecoratorProps<TProps> = React.PropsWithChildren<{
|
|
|
51
51
|
designMetadata?: PageDesignMetadata;
|
|
52
52
|
} & TProps>;
|
|
53
53
|
//#endregion
|
|
54
|
-
export { type ComponentDecoratorProps, type ComponentDesignMetadata, type
|
|
54
|
+
export { type ComponentDecoratorProps, type ComponentDesignMetadata, type PageDecoratorProps, type RegionDesignMetadata, useDesignContext };
|
|
55
55
|
//# sourceMappingURL=design-react.d.ts.map
|
package/dist/design.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as
|
|
1
|
+
import { a as LoaderNames, n as ComponentModule, r as ComponentRegistryOptions, t as ComponentId } from "./types3.js";
|
|
2
2
|
|
|
3
3
|
//#region src/design/registry/registry.d.ts
|
|
4
4
|
|
|
@@ -106,5 +106,5 @@ declare class ComponentRegistry<TProps, TFrameworkComponent = unknown> {
|
|
|
106
106
|
private buildFromLoadedModule;
|
|
107
107
|
}
|
|
108
108
|
//#endregion
|
|
109
|
-
export {
|
|
109
|
+
export { ComponentRegistry };
|
|
110
110
|
//# sourceMappingURL=design.d.ts.map
|