@salesforce/webapp-template-feature-react-agentforce-conversation-client-experimental 1.116.9 → 1.116.11
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/CHANGELOG.md +16 -0
- package/dist/force-app/main/default/webapplications/feature-react-agentforce-conversation-client/package.json +4 -4
- package/dist/force-app/main/default/webapplications/feature-react-agentforce-conversation-client/src/components/AgentforceConversationClient.tsx +5 -2
- package/dist/force-app/main/default/webapplications/feature-react-agentforce-conversation-client/src/types/conversation.ts +2 -0
- package/dist/package-lock.json +2 -2
- package/dist/package.json +1 -1
- package/package.json +2 -2
- package/src/force-app/main/default/webapplications/feature-react-agentforce-conversation-client/src/components/AgentforceConversationClient.tsx +5 -2
- package/src/force-app/main/default/webapplications/feature-react-agentforce-conversation-client/src/types/conversation.ts +2 -0
package/dist/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.116.11](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.116.10...v1.116.11) (2026-03-27)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [1.116.10](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.116.9...v1.116.10) (2026-03-27)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [1.116.9](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.116.8...v1.116.9) (2026-03-27)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"graphql:schema": "node scripts/get-graphql-schema.mjs"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@salesforce/sdk-data": "^1.116.
|
|
19
|
-
"@salesforce/webapp-experimental": "^1.116.
|
|
18
|
+
"@salesforce/sdk-data": "^1.116.11",
|
|
19
|
+
"@salesforce/webapp-experimental": "^1.116.11",
|
|
20
20
|
"@tailwindcss/vite": "^4.1.17",
|
|
21
21
|
"class-variance-authority": "^0.7.1",
|
|
22
22
|
"clsx": "^2.1.1",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"tailwind-merge": "^3.5.0",
|
|
33
33
|
"tailwindcss": "^4.1.17",
|
|
34
34
|
"tw-animate-css": "^1.4.0",
|
|
35
|
-
"@salesforce/agentforce-conversation-client": "^1.
|
|
35
|
+
"@salesforce/agentforce-conversation-client": "^1.116.9"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@eslint/js": "^9.39.1",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"@graphql-eslint/eslint-plugin": "^4.1.0",
|
|
43
43
|
"@graphql-tools/utils": "^11.0.0",
|
|
44
44
|
"@playwright/test": "^1.49.0",
|
|
45
|
-
"@salesforce/vite-plugin-webapp-experimental": "^1.116.
|
|
45
|
+
"@salesforce/vite-plugin-webapp-experimental": "^1.116.11",
|
|
46
46
|
"@testing-library/jest-dom": "^6.6.3",
|
|
47
47
|
"@testing-library/react": "^16.1.0",
|
|
48
48
|
"@testing-library/user-event": "^14.5.2",
|
|
@@ -57,6 +57,7 @@ export function AgentforceConversationClient({
|
|
|
57
57
|
agentId,
|
|
58
58
|
inline: inlineProp,
|
|
59
59
|
headerEnabled,
|
|
60
|
+
showHeaderIcon,
|
|
60
61
|
width,
|
|
61
62
|
height,
|
|
62
63
|
styleTokens,
|
|
@@ -68,6 +69,8 @@ export function AgentforceConversationClient({
|
|
|
68
69
|
const renderingConfig: NonNullable<AgentforceClientConfig["renderingConfig"]> = {
|
|
69
70
|
mode: inlineProp ? "inline" : "floating",
|
|
70
71
|
...(headerEnabled !== undefined && { headerEnabled }),
|
|
72
|
+
...(showHeaderIcon !== undefined && { showHeaderIcon }),
|
|
73
|
+
...{ showAvatar: false },
|
|
71
74
|
...(width !== undefined && { width }),
|
|
72
75
|
...(height !== undefined && { height }),
|
|
73
76
|
};
|
|
@@ -77,7 +80,7 @@ export function AgentforceConversationClient({
|
|
|
77
80
|
...(styleTokens !== undefined && { styleTokens }),
|
|
78
81
|
renderingConfig,
|
|
79
82
|
};
|
|
80
|
-
}, [agentId, inlineProp, headerEnabled, width, height, styleTokens]);
|
|
83
|
+
}, [agentId, inlineProp, headerEnabled, showHeaderIcon, width, height, styleTokens]);
|
|
81
84
|
|
|
82
85
|
const inline = normalizedAgentforceClientConfig?.renderingConfig?.mode === "inline";
|
|
83
86
|
|
|
@@ -85,7 +88,7 @@ export function AgentforceConversationClient({
|
|
|
85
88
|
if (!normalizedAgentforceClientConfig?.agentId) {
|
|
86
89
|
throw new Error(
|
|
87
90
|
"AgentforceConversationClient requires agentId. " +
|
|
88
|
-
"Pass flat props only (agentId, inline, headerEnabled, width, height, styleTokens).",
|
|
91
|
+
"Pass flat props only (agentId, inline, headerEnabled, showHeaderIcon, width, height, styleTokens).",
|
|
89
92
|
);
|
|
90
93
|
}
|
|
91
94
|
|
|
@@ -18,6 +18,8 @@ export interface AgentforceConversationClientProps {
|
|
|
18
18
|
inline?: boolean;
|
|
19
19
|
/** Show/hide chat header. Defaults to true for floating; can only be set for inline mode. */
|
|
20
20
|
headerEnabled?: boolean;
|
|
21
|
+
/** Show/hide agent icon in the header. */
|
|
22
|
+
showHeaderIcon?: boolean;
|
|
21
23
|
/** Inline width. */
|
|
22
24
|
width?: string | number;
|
|
23
25
|
/** Inline height. */
|
package/dist/package-lock.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/webapp-template-base-sfdx-project-experimental",
|
|
3
|
-
"version": "1.116.
|
|
3
|
+
"version": "1.116.11",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@salesforce/webapp-template-base-sfdx-project-experimental",
|
|
9
|
-
"version": "1.116.
|
|
9
|
+
"version": "1.116.11",
|
|
10
10
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
11
11
|
"devDependencies": {
|
|
12
12
|
"@lwc/eslint-plugin-lwc": "^3.3.0",
|
package/dist/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/webapp-template-feature-react-agentforce-conversation-client-experimental",
|
|
3
|
-
"version": "1.116.
|
|
3
|
+
"version": "1.116.11",
|
|
4
4
|
"description": "Embedded Agentforce conversation client feature for web applications",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"author": "",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"clean": "rm -rf dist"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@salesforce/agentforce-conversation-client": "^1.116.
|
|
29
|
+
"@salesforce/agentforce-conversation-client": "^1.116.11"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/react": "^19.2.7",
|
|
@@ -57,6 +57,7 @@ export function AgentforceConversationClient({
|
|
|
57
57
|
agentId,
|
|
58
58
|
inline: inlineProp,
|
|
59
59
|
headerEnabled,
|
|
60
|
+
showHeaderIcon,
|
|
60
61
|
width,
|
|
61
62
|
height,
|
|
62
63
|
styleTokens,
|
|
@@ -68,6 +69,8 @@ export function AgentforceConversationClient({
|
|
|
68
69
|
const renderingConfig: NonNullable<AgentforceClientConfig["renderingConfig"]> = {
|
|
69
70
|
mode: inlineProp ? "inline" : "floating",
|
|
70
71
|
...(headerEnabled !== undefined && { headerEnabled }),
|
|
72
|
+
...(showHeaderIcon !== undefined && { showHeaderIcon }),
|
|
73
|
+
...{ showAvatar: false },
|
|
71
74
|
...(width !== undefined && { width }),
|
|
72
75
|
...(height !== undefined && { height }),
|
|
73
76
|
};
|
|
@@ -77,7 +80,7 @@ export function AgentforceConversationClient({
|
|
|
77
80
|
...(styleTokens !== undefined && { styleTokens }),
|
|
78
81
|
renderingConfig,
|
|
79
82
|
};
|
|
80
|
-
}, [agentId, inlineProp, headerEnabled, width, height, styleTokens]);
|
|
83
|
+
}, [agentId, inlineProp, headerEnabled, showHeaderIcon, width, height, styleTokens]);
|
|
81
84
|
|
|
82
85
|
const inline = normalizedAgentforceClientConfig?.renderingConfig?.mode === "inline";
|
|
83
86
|
|
|
@@ -85,7 +88,7 @@ export function AgentforceConversationClient({
|
|
|
85
88
|
if (!normalizedAgentforceClientConfig?.agentId) {
|
|
86
89
|
throw new Error(
|
|
87
90
|
"AgentforceConversationClient requires agentId. " +
|
|
88
|
-
"Pass flat props only (agentId, inline, headerEnabled, width, height, styleTokens).",
|
|
91
|
+
"Pass flat props only (agentId, inline, headerEnabled, showHeaderIcon, width, height, styleTokens).",
|
|
89
92
|
);
|
|
90
93
|
}
|
|
91
94
|
|
|
@@ -18,6 +18,8 @@ export interface AgentforceConversationClientProps {
|
|
|
18
18
|
inline?: boolean;
|
|
19
19
|
/** Show/hide chat header. Defaults to true for floating; can only be set for inline mode. */
|
|
20
20
|
headerEnabled?: boolean;
|
|
21
|
+
/** Show/hide agent icon in the header. */
|
|
22
|
+
showHeaderIcon?: boolean;
|
|
21
23
|
/** Inline width. */
|
|
22
24
|
width?: string | number;
|
|
23
25
|
/** Inline height. */
|