@salesforce/storefront-next-runtime 0.3.1-alpha.0 → 0.3.1-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/config.d.ts +4 -4
- package/dist/design-react-core.d.ts +2 -2
- package/dist/scapi.d.ts.map +1 -1
- package/dist/site-context.d.ts +2 -2
- package/package.json +1 -1
package/dist/config.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ import { n as Site, r as Url, t as Locale } from "./types.js";
|
|
|
2
2
|
import { n as DefineConfigOptions, r as defineConfig, t as BaseConfig } from "./schema.js";
|
|
3
3
|
import * as react0 from "react";
|
|
4
4
|
import { ReactNode } from "react";
|
|
5
|
-
import * as
|
|
6
|
-
import * as
|
|
5
|
+
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
6
|
+
import * as react_router2 from "react-router";
|
|
7
7
|
import { MiddlewareFunction, RouterContextProvider } from "react-router";
|
|
8
8
|
|
|
9
9
|
//#region src/config/get-config.d.ts
|
|
@@ -39,7 +39,7 @@ declare function useConfig<T extends Record<string, unknown> = Record<string, un
|
|
|
39
39
|
* Populated by `createAppConfigMiddleware` with the `app` section of config.
|
|
40
40
|
* Accessible in loaders, actions, and middleware via `context.get(appConfigContext)`.
|
|
41
41
|
*/
|
|
42
|
-
declare const appConfigContext:
|
|
42
|
+
declare const appConfigContext: react_router2.RouterContext<Record<string, unknown>>;
|
|
43
43
|
/**
|
|
44
44
|
* React context for application configuration.
|
|
45
45
|
*
|
|
@@ -67,7 +67,7 @@ interface ConfigProviderProps {
|
|
|
67
67
|
declare function ConfigProvider({
|
|
68
68
|
config,
|
|
69
69
|
children
|
|
70
|
-
}: ConfigProviderProps):
|
|
70
|
+
}: ConfigProviderProps): react_jsx_runtime2.JSX.Element;
|
|
71
71
|
//#endregion
|
|
72
72
|
//#region src/config/middleware.d.ts
|
|
73
73
|
/**
|
|
@@ -3,7 +3,7 @@ import { n as ComponentModule, o as FrameworkAdapter } from "./types3.js";
|
|
|
3
3
|
import { g as IsomorphicConfiguration } from "./index.js";
|
|
4
4
|
import { i as RegionDecoratorProps, t as ComponentDecoratorProps } from "./component.types.js";
|
|
5
5
|
import React$1 from "react";
|
|
6
|
-
import * as
|
|
6
|
+
import * as react_jsx_runtime1 from "react/jsx-runtime";
|
|
7
7
|
|
|
8
8
|
//#region src/design/react/core/PageDesignerProvider.d.ts
|
|
9
9
|
type PageDesignerContextType = {
|
|
@@ -49,7 +49,7 @@ declare function PageDesignerPageMetadataProvider({
|
|
|
49
49
|
children
|
|
50
50
|
}: React.PropsWithChildren<{
|
|
51
51
|
page: ShopperExperience.schemas['Page'];
|
|
52
|
-
}>):
|
|
52
|
+
}>): react_jsx_runtime1.JSX.Element;
|
|
53
53
|
//#endregion
|
|
54
54
|
//#region src/design/react/core/RegionContext.d.ts
|
|
55
55
|
interface RegionContextType {
|