Skip to content

Commit 50dc84c

Browse files
chore: sync React B2E (1.118.1) & B2X (1.118.1) samples from npm (#148)
Co-authored-by: gbockus-sf <76090802+gbockus-sf@users.noreply.github.com>
1 parent eb695ca commit 50dc84c

15 files changed

Lines changed: 75 additions & 39 deletions

File tree

package-lock.json

Lines changed: 20 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
"registry": "https://registry.npmjs.org"
1212
},
1313
"devDependencies": {
14-
"@salesforce/ui-bundle-template-app-react-sample-b2e": "^1.117.5",
15-
"@salesforce/ui-bundle-template-app-react-sample-b2x": "^1.117.5",
14+
"@salesforce/ui-bundle-template-app-react-sample-b2e": "^1.118.1",
15+
"@salesforce/ui-bundle-template-app-react-sample-b2x": "^1.118.1",
1616
"@salesforce/webapp-template-app-react-sample-b2e-experimental": "^1.117.1",
1717
"@salesforce/webapp-template-app-react-sample-b2x-experimental": "^1.117.1",
1818
"@types/js-yaml": "^4.0.9",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.117.5
1+
1.118.1

samples/ui-bundle-template-app-react-sample-b2e/CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,22 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [1.118.1](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.118.0...v1.118.1) (2026-03-31)
7+
8+
**Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
9+
10+
11+
12+
13+
14+
# [1.118.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.117.5...v1.118.0) (2026-03-30)
15+
16+
**Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
17+
18+
19+
20+
21+
622
## [1.117.5](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.117.4...v1.117.5) (2026-03-30)
723

824
**Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project

samples/ui-bundle-template-app-react-sample-b2e/force-app/main/default/uiBundles/propertymanagementapp/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
"graphql:schema": "node scripts/get-graphql-schema.mjs"
1616
},
1717
"dependencies": {
18-
"@salesforce/sdk-data": "^1.117.5",
19-
"@salesforce/ui-bundle": "^1.117.5",
18+
"@salesforce/sdk-data": "^1.118.1",
19+
"@salesforce/ui-bundle": "^1.118.1",
2020
"@tailwindcss/vite": "^4.1.17",
2121
"class-variance-authority": "^0.7.1",
2222
"clsx": "^2.1.1",
@@ -43,7 +43,7 @@
4343
"@graphql-eslint/eslint-plugin": "^4.1.0",
4444
"@graphql-tools/utils": "^11.0.0",
4545
"@playwright/test": "^1.49.0",
46-
"@salesforce/vite-plugin-ui-bundle": "^1.117.5",
46+
"@salesforce/vite-plugin-ui-bundle": "^1.118.1",
4747
"@testing-library/jest-dom": "^6.6.3",
4848
"@testing-library/react": "^16.1.0",
4949
"@testing-library/user-event": "^14.5.2",

samples/ui-bundle-template-app-react-sample-b2e/force-app/main/default/uiBundles/propertymanagementapp/src/components/AgentforceConversationClient.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ function getDefaultEmbedOptions(): ResolvedEmbedOptions {
5555
*/
5656
export function AgentforceConversationClient({
5757
agentId,
58+
agentLabel,
5859
inline: inlineProp,
5960
headerEnabled,
6061
showHeaderIcon,
@@ -77,18 +78,19 @@ export function AgentforceConversationClient({
7778

7879
return {
7980
...(agentId !== undefined && { agentId }),
81+
agentLabel: agentLabel ?? "Chat with us",
8082
...(styleTokens !== undefined && { styleTokens }),
8183
renderingConfig,
8284
};
83-
}, [agentId, inlineProp, headerEnabled, showHeaderIcon, width, height, styleTokens]);
85+
}, [agentId, agentLabel, inlineProp, headerEnabled, showHeaderIcon, width, height, styleTokens]);
8486

8587
const inline = normalizedAgentforceClientConfig?.renderingConfig?.mode === "inline";
8688

8789
useEffect(() => {
8890
if (!normalizedAgentforceClientConfig?.agentId) {
8991
throw new Error(
9092
"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).",
9294
);
9395
}
9496

samples/ui-bundle-template-app-react-sample-b2e/force-app/main/default/uiBundles/propertymanagementapp/src/components/layout/FilterRow.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export function FilterRow({
1717
aria-label={ariaLabel}
1818
{...props}
1919
>
20-
<div className="flex flex-wrap items-end gap-x-8 gap-y-4">{children}</div>
20+
<div className="flex flex-wrap items-center gap-x-8 gap-y-4">{children}</div>
2121
</div>
2222
);
2323
}

samples/ui-bundle-template-app-react-sample-b2e/force-app/main/default/uiBundles/propertymanagementapp/src/types/conversation.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ export type StyleTokens = Record<string, string>;
1414
export interface AgentforceConversationClientProps {
1515
/** Required in practice: id of the agent to load. */
1616
agentId: string;
17+
/** Display name for the agent shown in the chat header. */
18+
agentLabel?: string;
1719
/** If true, renders inline. If omitted/false, renders floating. */
1820
inline?: boolean;
1921
/** Show/hide chat header. Defaults to true for floating; can only be set for inline mode. */

samples/ui-bundle-template-app-react-sample-b2e/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

samples/ui-bundle-template-app-react-sample-b2e/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@salesforce/ui-bundle-template-base-sfdx-project",
3-
"version": "1.117.5",
3+
"version": "1.118.1",
44
"description": "Base SFDX project template",
55
"license": "SEE LICENSE IN LICENSE.txt",
66
"publishConfig": {

0 commit comments

Comments
 (0)