@uniformdev/canvas-next-rsc-client 19.77.0 → 19.78.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/dist/index.d.mts +11 -3
- package/dist/index.d.ts +11 -3
- package/dist/index.esm.js +797 -4
- package/dist/index.js +786 -5
- package/dist/index.mjs +797 -4
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -6,9 +6,17 @@ import { PropsWithChildren } from 'react';
|
|
|
6
6
|
import * as _uniformdev_canvas_next_rsc_shared from '@uniformdev/canvas-next-rsc-shared';
|
|
7
7
|
import { AppDirectoryContextState, PersonalizeProps, ComponentProps, TestProps, AppDirectoryContext } from '@uniformdev/canvas-next-rsc-shared';
|
|
8
8
|
|
|
9
|
-
type
|
|
9
|
+
type ClientContextComponentProps = {
|
|
10
|
+
/**
|
|
11
|
+
* The Uniform project manifest
|
|
12
|
+
*/
|
|
10
13
|
manifest: ManifestV2;
|
|
11
|
-
|
|
14
|
+
/**
|
|
15
|
+
* Whether or not to disable the Uniform Context dev tools
|
|
16
|
+
*/
|
|
17
|
+
disableDevTools: boolean;
|
|
18
|
+
};
|
|
19
|
+
type ClientContextComponent = (props: ClientContextComponentProps) => JSX.Element | null;
|
|
12
20
|
|
|
13
21
|
declare const ClientContextualEditingComponentWrapper: (props: PropsWithChildren<PureContextualEditingComponentWrapperProps>) => react_jsx_runtime.JSX.Element;
|
|
14
22
|
|
|
@@ -48,4 +56,4 @@ declare const useUniformContext: () => {
|
|
|
48
56
|
context: AppDirectoryContext | undefined;
|
|
49
57
|
};
|
|
50
58
|
|
|
51
|
-
export { ClientContextComponent, ClientContextUpdate, ClientContextualEditingComponentWrapper, ContextUpdateTransferClient, CreateClientUniformContextOptions, DefaultUniformClientContext, PersonalizeClient, PersonalizeClientProps, TestClient, UniformScript, createClientUniformContext, useInitUniformContext, useUniformContext };
|
|
59
|
+
export { ClientContextComponent, ClientContextComponentProps, ClientContextUpdate, ClientContextualEditingComponentWrapper, ContextUpdateTransferClient, CreateClientUniformContextOptions, DefaultUniformClientContext, PersonalizeClient, PersonalizeClientProps, TestClient, UniformScript, createClientUniformContext, useInitUniformContext, useUniformContext };
|
package/dist/index.d.ts
CHANGED
|
@@ -6,9 +6,17 @@ import { PropsWithChildren } from 'react';
|
|
|
6
6
|
import * as _uniformdev_canvas_next_rsc_shared from '@uniformdev/canvas-next-rsc-shared';
|
|
7
7
|
import { AppDirectoryContextState, PersonalizeProps, ComponentProps, TestProps, AppDirectoryContext } from '@uniformdev/canvas-next-rsc-shared';
|
|
8
8
|
|
|
9
|
-
type
|
|
9
|
+
type ClientContextComponentProps = {
|
|
10
|
+
/**
|
|
11
|
+
* The Uniform project manifest
|
|
12
|
+
*/
|
|
10
13
|
manifest: ManifestV2;
|
|
11
|
-
|
|
14
|
+
/**
|
|
15
|
+
* Whether or not to disable the Uniform Context dev tools
|
|
16
|
+
*/
|
|
17
|
+
disableDevTools: boolean;
|
|
18
|
+
};
|
|
19
|
+
type ClientContextComponent = (props: ClientContextComponentProps) => JSX.Element | null;
|
|
12
20
|
|
|
13
21
|
declare const ClientContextualEditingComponentWrapper: (props: PropsWithChildren<PureContextualEditingComponentWrapperProps>) => react_jsx_runtime.JSX.Element;
|
|
14
22
|
|
|
@@ -48,4 +56,4 @@ declare const useUniformContext: () => {
|
|
|
48
56
|
context: AppDirectoryContext | undefined;
|
|
49
57
|
};
|
|
50
58
|
|
|
51
|
-
export { ClientContextComponent, ClientContextUpdate, ClientContextualEditingComponentWrapper, ContextUpdateTransferClient, CreateClientUniformContextOptions, DefaultUniformClientContext, PersonalizeClient, PersonalizeClientProps, TestClient, UniformScript, createClientUniformContext, useInitUniformContext, useUniformContext };
|
|
59
|
+
export { ClientContextComponent, ClientContextComponentProps, ClientContextUpdate, ClientContextualEditingComponentWrapper, ContextUpdateTransferClient, CreateClientUniformContextOptions, DefaultUniformClientContext, PersonalizeClient, PersonalizeClientProps, TestClient, UniformScript, createClientUniformContext, useInitUniformContext, useUniformContext };
|