@plitzi/plitzi-sdk 0.32.18 → 0.32.20
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/CHANGELOG.md +38 -0
- package/dist/App.d.ts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/modules/App/AppMain.d.ts +1 -0
- package/dist/modules/Sdk/Sdk.d.ts +4 -1
- package/dist/modules/Sdk/renderModes/IframeMode.d.ts +2 -1
- package/dist/modules/Sdk/renderModes/RawMode.d.ts +2 -1
- package/dist/modules/Sdk/renderModes/ShadowMode.d.ts +2 -1
- package/dist/plitzi-sdk.css +1 -1
- package/dist/plitzi-sdk.css.gz +0 -0
- package/dist/plitzi-sdk.js +8 -10
- package/dist/plitzi-sdk.js.gz +0 -0
- package/package.json +13 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,43 @@
|
|
|
1
1
|
# @plitzi/plitzi-sdk
|
|
2
2
|
|
|
3
|
+
## 0.32.20
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- v0.32.20
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @plitzi/sdk-auth@0.32.20
|
|
10
|
+
- @plitzi/sdk-collections@0.32.20
|
|
11
|
+
- @plitzi/sdk-dev-tools@0.32.20
|
|
12
|
+
- @plitzi/sdk-elements@0.32.20
|
|
13
|
+
- @plitzi/sdk-event-bridge@0.32.20
|
|
14
|
+
- @plitzi/sdk-interactions@0.32.20
|
|
15
|
+
- @plitzi/sdk-navigation@0.32.20
|
|
16
|
+
- @plitzi/sdk-plugins@0.32.20
|
|
17
|
+
- @plitzi/sdk-schema@0.32.20
|
|
18
|
+
- @plitzi/sdk-shared@0.32.20
|
|
19
|
+
- @plitzi/sdk-style@0.32.20
|
|
20
|
+
- @plitzi/sdk-variables@0.32.20
|
|
21
|
+
|
|
22
|
+
## 0.32.19
|
|
23
|
+
|
|
24
|
+
### Patch Changes
|
|
25
|
+
|
|
26
|
+
- v0.32.19
|
|
27
|
+
- Updated dependencies
|
|
28
|
+
- @plitzi/sdk-auth@0.32.19
|
|
29
|
+
- @plitzi/sdk-collections@0.32.19
|
|
30
|
+
- @plitzi/sdk-dev-tools@0.32.19
|
|
31
|
+
- @plitzi/sdk-elements@0.32.19
|
|
32
|
+
- @plitzi/sdk-event-bridge@0.32.19
|
|
33
|
+
- @plitzi/sdk-interactions@0.32.19
|
|
34
|
+
- @plitzi/sdk-navigation@0.32.19
|
|
35
|
+
- @plitzi/sdk-plugins@0.32.19
|
|
36
|
+
- @plitzi/sdk-schema@0.32.19
|
|
37
|
+
- @plitzi/sdk-shared@0.32.19
|
|
38
|
+
- @plitzi/sdk-style@0.32.19
|
|
39
|
+
- @plitzi/sdk-variables@0.32.19
|
|
40
|
+
|
|
3
41
|
## 0.32.18
|
|
4
42
|
|
|
5
43
|
### Patch Changes
|
package/dist/App.d.ts
CHANGED
|
@@ -15,6 +15,9 @@ export type AppProps = {
|
|
|
15
15
|
debugMode?: boolean;
|
|
16
16
|
isHydrating?: boolean;
|
|
17
17
|
previewMode?: boolean;
|
|
18
|
+
/** Shows the "Made in Plitzi" link over the rendered space; off for embeds that are not a Plitzi site of their
|
|
19
|
+
* own (an MCP widget rendered inside a chat, a component mounted in a host app). */
|
|
20
|
+
branding?: boolean;
|
|
18
21
|
externalStyle?: string;
|
|
19
22
|
state?: Record<string, unknown>;
|
|
20
23
|
onInitStateManager?: (instance: RuntimeStateInstance) => void;
|
package/dist/index.d.ts
CHANGED
|
@@ -39,6 +39,9 @@ export type PlitziSdkProps = {
|
|
|
39
39
|
debugMode?: boolean;
|
|
40
40
|
isHydrating?: boolean;
|
|
41
41
|
previewMode?: boolean;
|
|
42
|
+
/** Shows the "Made in Plitzi" link over the rendered space; off for embeds that are not a Plitzi site of their
|
|
43
|
+
* own (an MCP widget rendered inside a chat, a component mounted in a host app). */
|
|
44
|
+
branding?: boolean;
|
|
42
45
|
externalStyle?: string;
|
|
43
46
|
sdkDevToolsStylePath?: string;
|
|
44
47
|
state?: Record<string, unknown>;
|
|
@@ -16,6 +16,7 @@ export type AppMainProps = {
|
|
|
16
16
|
sdkDevToolsStylePath?: string;
|
|
17
17
|
previewMode?: boolean;
|
|
18
18
|
debugMode?: boolean;
|
|
19
|
+
branding?: boolean;
|
|
19
20
|
state?: Record<string, unknown>;
|
|
20
21
|
onInitStateManager?: (instance: RuntimeStateInstance) => void;
|
|
21
22
|
onInitEventBridge?: (instance: EventBridgeContextValue) => void;
|
|
@@ -6,11 +6,14 @@ export type SdkProps = {
|
|
|
6
6
|
isHydrating?: boolean;
|
|
7
7
|
previewMode?: boolean;
|
|
8
8
|
debugMode?: boolean;
|
|
9
|
+
/** Shows the "Made in Plitzi" link over the rendered space. Off for embeds that are not a Plitzi site of their
|
|
10
|
+
* own — an MCP widget inside a chat, a component mounted in a host app. */
|
|
11
|
+
branding?: boolean;
|
|
9
12
|
sdkStylePath?: string;
|
|
10
13
|
server?: Server;
|
|
11
14
|
};
|
|
12
15
|
declare const Sdk: {
|
|
13
|
-
({ renderMode, externalStyle, environment, previewMode, isHydrating, debugMode, sdkStylePath, server }: SdkProps): import("react").JSX.Element;
|
|
16
|
+
({ renderMode, externalStyle, environment, previewMode, isHydrating, debugMode, branding, sdkStylePath, server }: SdkProps): import("react").JSX.Element;
|
|
14
17
|
Plugin: (_props: import('./SdkPlugin').SdkPluginProps) => undefined;
|
|
15
18
|
};
|
|
16
19
|
export default Sdk;
|
|
@@ -4,9 +4,10 @@ import { RefObject } from 'react';
|
|
|
4
4
|
export type IframeModeProps = {
|
|
5
5
|
pageId?: string;
|
|
6
6
|
style?: string;
|
|
7
|
+
branding?: boolean;
|
|
7
8
|
plitziContextValue: PlitziServiceContextValue;
|
|
8
9
|
assets: Record<string, Asset>;
|
|
9
10
|
ref: RefObject<HTMLIFrameElement | null>;
|
|
10
11
|
};
|
|
11
|
-
declare const _default: import('react').MemoExoticComponent<({ pageId, style, plitziContextValue, assets, ref }: IframeModeProps) => import("react").JSX.Element>;
|
|
12
|
+
declare const _default: import('react').MemoExoticComponent<({ pageId, style, branding, plitziContextValue, assets, ref }: IframeModeProps) => import("react").JSX.Element>;
|
|
12
13
|
export default _default;
|
|
@@ -4,7 +4,8 @@ export type RawModeProps = {
|
|
|
4
4
|
renderMode?: RenderMode;
|
|
5
5
|
pageId?: string;
|
|
6
6
|
style?: string;
|
|
7
|
+
branding?: boolean;
|
|
7
8
|
plitziContextValue: PlitziServiceContextValue;
|
|
8
9
|
};
|
|
9
|
-
declare const _default: import('react').MemoExoticComponent<({ pageId, style, plitziContextValue, renderMode }: RawModeProps) => import("react").JSX.Element>;
|
|
10
|
+
declare const _default: import('react').MemoExoticComponent<({ pageId, style, branding, plitziContextValue, renderMode }: RawModeProps) => import("react").JSX.Element>;
|
|
10
11
|
export default _default;
|
|
@@ -4,8 +4,9 @@ export type ShadowModeProps = {
|
|
|
4
4
|
pageId?: string;
|
|
5
5
|
sdkStylePath?: string;
|
|
6
6
|
style?: string;
|
|
7
|
+
branding?: boolean;
|
|
7
8
|
plitziContextValue: PlitziServiceContextValue;
|
|
8
9
|
assets: Record<string, Asset>;
|
|
9
10
|
};
|
|
10
|
-
declare const _default: import('react').MemoExoticComponent<({ pageId, sdkStylePath, style, plitziContextValue, assets }: ShadowModeProps) => import("react").JSX.Element>;
|
|
11
|
+
declare const _default: import('react').MemoExoticComponent<({ pageId, sdkStylePath, style, branding, plitziContextValue, assets }: ShadowModeProps) => import("react").JSX.Element>;
|
|
11
12
|
export default _default;
|