@salesforce/ui-bundle-template-app-react-sample-b2e 1.117.5 → 1.118.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/CHANGELOG.md +8 -0
- package/dist/force-app/main/default/uiBundles/propertymanagementapp/package.json +3 -3
- package/dist/force-app/main/default/uiBundles/propertymanagementapp/src/components/AgentforceConversationClient.tsx +4 -2
- package/dist/force-app/main/default/uiBundles/propertymanagementapp/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/dist/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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.118.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.117.5...v1.118.0) (2026-03-30)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [1.117.5](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.117.4...v1.117.5) (2026-03-30)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"graphql:schema": "node scripts/get-graphql-schema.mjs"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@salesforce/sdk-data": "^1.
|
|
19
|
-
"@salesforce/ui-bundle": "^1.
|
|
18
|
+
"@salesforce/sdk-data": "^1.118.0",
|
|
19
|
+
"@salesforce/ui-bundle": "^1.118.0",
|
|
20
20
|
"@tailwindcss/vite": "^4.1.17",
|
|
21
21
|
"class-variance-authority": "^0.7.1",
|
|
22
22
|
"clsx": "^2.1.1",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@graphql-eslint/eslint-plugin": "^4.1.0",
|
|
44
44
|
"@graphql-tools/utils": "^11.0.0",
|
|
45
45
|
"@playwright/test": "^1.49.0",
|
|
46
|
-
"@salesforce/vite-plugin-ui-bundle": "^1.
|
|
46
|
+
"@salesforce/vite-plugin-ui-bundle": "^1.118.0",
|
|
47
47
|
"@testing-library/jest-dom": "^6.6.3",
|
|
48
48
|
"@testing-library/react": "^16.1.0",
|
|
49
49
|
"@testing-library/user-event": "^14.5.2",
|
|
@@ -55,6 +55,7 @@ function getDefaultEmbedOptions(): ResolvedEmbedOptions {
|
|
|
55
55
|
*/
|
|
56
56
|
export function AgentforceConversationClient({
|
|
57
57
|
agentId,
|
|
58
|
+
agentLabel,
|
|
58
59
|
inline: inlineProp,
|
|
59
60
|
headerEnabled,
|
|
60
61
|
showHeaderIcon,
|
|
@@ -77,10 +78,11 @@ export function AgentforceConversationClient({
|
|
|
77
78
|
|
|
78
79
|
return {
|
|
79
80
|
...(agentId !== undefined && { agentId }),
|
|
81
|
+
agentLabel: agentLabel ?? "Chat with us",
|
|
80
82
|
...(styleTokens !== undefined && { styleTokens }),
|
|
81
83
|
renderingConfig,
|
|
82
84
|
};
|
|
83
|
-
}, [agentId, inlineProp, headerEnabled, showHeaderIcon, width, height, styleTokens]);
|
|
85
|
+
}, [agentId, agentLabel, inlineProp, headerEnabled, showHeaderIcon, width, height, styleTokens]);
|
|
84
86
|
|
|
85
87
|
const inline = normalizedAgentforceClientConfig?.renderingConfig?.mode === "inline";
|
|
86
88
|
|
|
@@ -88,7 +90,7 @@ export function AgentforceConversationClient({
|
|
|
88
90
|
if (!normalizedAgentforceClientConfig?.agentId) {
|
|
89
91
|
throw new Error(
|
|
90
92
|
"AgentforceConversationClient requires agentId. " +
|
|
91
|
-
"Pass flat props only (agentId, inline, headerEnabled, showHeaderIcon, width, height, styleTokens).",
|
|
93
|
+
"Pass flat props only (agentId, agentLabel, inline, headerEnabled, showHeaderIcon, width, height, styleTokens).",
|
|
92
94
|
);
|
|
93
95
|
}
|
|
94
96
|
|
package/dist/force-app/main/default/uiBundles/propertymanagementapp/src/types/conversation.ts
CHANGED
|
@@ -14,6 +14,8 @@ export type StyleTokens = Record<string, string>;
|
|
|
14
14
|
export interface AgentforceConversationClientProps {
|
|
15
15
|
/** Required in practice: id of the agent to load. */
|
|
16
16
|
agentId: string;
|
|
17
|
+
/** Display name for the agent shown in the chat header. */
|
|
18
|
+
agentLabel?: string;
|
|
17
19
|
/** If true, renders inline. If omitted/false, renders floating. */
|
|
18
20
|
inline?: boolean;
|
|
19
21
|
/** Show/hide chat header. Defaults to true for floating; can only be set for inline mode. */
|
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.
|
|
3
|
+
"version": "1.118.0",
|
|
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.
|
|
9
|
+
"version": "1.118.0",
|
|
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/ui-bundle-template-app-react-sample-b2e",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.118.0",
|
|
4
4
|
"description": "Salesforce sample property rental React app",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"author": "",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"clean": "rm -rf dist"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@salesforce/ui-bundle": "^1.
|
|
19
|
+
"@salesforce/ui-bundle": "^1.118.0",
|
|
20
20
|
"sonner": "^1.7.0"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|