@salesforce/webapp-template-app-react-template-b2e-experimental 1.61.1 → 1.61.2

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 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.61.2](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.61.1...v1.61.2) (2026-03-02)
7
+
8
+ **Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
9
+
10
+
11
+
12
+
13
+
6
14
  ## [1.61.1](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.61.0...v1.61.1) (2026-03-02)
7
15
 
8
16
  **Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
@@ -8,7 +8,7 @@
8
8
  "name": "base-react-app",
9
9
  "version": "1.59.0",
10
10
  "dependencies": {
11
- "@salesforce/agentforce-conversation-client": "^1.61.0",
11
+ "@salesforce/agentforce-conversation-client": "^1.61.1",
12
12
  "@salesforce/sdk-data": "^1.11.2",
13
13
  "@salesforce/webapp-experimental": "*",
14
14
  "@tailwindcss/vite": "^4.1.17",
@@ -6027,9 +6027,9 @@
6027
6027
  ]
6028
6028
  },
6029
6029
  "node_modules/@salesforce/agentforce-conversation-client": {
6030
- "version": "1.61.0",
6031
- "resolved": "https://registry.npmjs.org/@salesforce/agentforce-conversation-client/-/agentforce-conversation-client-1.61.0.tgz",
6032
- "integrity": "sha512-7lGdHfGP6fYcHlh1zEXm4gyO4s2te41gHCh/gkhJD5k7bZ6wU+b+NLccR66RT/OwSqmzMVCoFmA9yJEebgURIg==",
6030
+ "version": "1.61.1",
6031
+ "resolved": "https://registry.npmjs.org/@salesforce/agentforce-conversation-client/-/agentforce-conversation-client-1.61.1.tgz",
6032
+ "integrity": "sha512-ObdVPsGWjhm31LtrKB+9sxsn0Cr204Y7bLpxtrKLhjUlHq8wdzk8/n/OiEHsArLg8BI9fVRDRcpIDkw9tWuDcA==",
6033
6033
  "license": "SEE LICENSE IN LICENSE.txt",
6034
6034
  "dependencies": {
6035
6035
  "@lightning-out/application": "2.1.1-rc.2"
@@ -6090,19 +6090,19 @@
6090
6090
  }
6091
6091
  },
6092
6092
  "node_modules/@salesforce/sdk-core": {
6093
- "version": "1.61.0",
6094
- "resolved": "https://registry.npmjs.org/@salesforce/sdk-core/-/sdk-core-1.61.0.tgz",
6095
- "integrity": "sha512-Hm5mIjHlqhcl6/bbF4YEYhM89DQG4gmnk0IRvBNu7lYo/p3rRRNwuR8SULebu6eIaoD18BL1YrWVkS+qXlftOw==",
6093
+ "version": "1.61.1",
6094
+ "resolved": "https://registry.npmjs.org/@salesforce/sdk-core/-/sdk-core-1.61.1.tgz",
6095
+ "integrity": "sha512-+RO/nGTT9uRTZRfT91YB2tA12C4ofZv7ku0BY6iY6tk3kV5Jte7pWR8oYauPnmpuuD/KF5C9qzcGjeoK9Sp8bw==",
6096
6096
  "license": "SEE LICENSE IN LICENSE.txt"
6097
6097
  },
6098
6098
  "node_modules/@salesforce/sdk-data": {
6099
- "version": "1.61.0",
6100
- "resolved": "https://registry.npmjs.org/@salesforce/sdk-data/-/sdk-data-1.61.0.tgz",
6101
- "integrity": "sha512-4o6H2YOnCakeH5tVb9zIdG2CMKiRZowRvJrD8v1wAARVsp21YLnei6KYdraE3Bx7t1SLh42EYVOhFiBcmTFzcQ==",
6099
+ "version": "1.61.1",
6100
+ "resolved": "https://registry.npmjs.org/@salesforce/sdk-data/-/sdk-data-1.61.1.tgz",
6101
+ "integrity": "sha512-p8JEccWlEWnodnc1Prc2HlxUgF6MJZBzQ8Fmh43LQAhYpXaBJ1BGZjF7FGMab4YhICSPW5NMIB6cYAxCDxeJyA==",
6102
6102
  "license": "SEE LICENSE IN LICENSE.txt",
6103
6103
  "dependencies": {
6104
6104
  "@conduit-client/salesforce-lightning-service-worker": "^3.7.0",
6105
- "@salesforce/sdk-core": "^1.61.0"
6105
+ "@salesforce/sdk-core": "^1.61.1"
6106
6106
  }
6107
6107
  },
6108
6108
  "node_modules/@salesforce/ts-types": {
@@ -6115,15 +6115,15 @@
6115
6115
  }
6116
6116
  },
6117
6117
  "node_modules/@salesforce/vite-plugin-webapp-experimental": {
6118
- "version": "1.61.0",
6119
- "resolved": "https://registry.npmjs.org/@salesforce/vite-plugin-webapp-experimental/-/vite-plugin-webapp-experimental-1.61.0.tgz",
6120
- "integrity": "sha512-51lKFmnGD5MkMPkTf6tmn5JieGGCSSyZ/xn/YoSBmAGMvIeGDwsVG0/AmNez/+zCgzNtPCZCyKpFj9Ky5PXT7w==",
6118
+ "version": "1.61.1",
6119
+ "resolved": "https://registry.npmjs.org/@salesforce/vite-plugin-webapp-experimental/-/vite-plugin-webapp-experimental-1.61.1.tgz",
6120
+ "integrity": "sha512-LfEuTIm5TfCZm1mCtvjzKfTa6mRcvwvkcMH/T9SDqVJt8wMZsLntPYCDm9gfO62aPDIjGpiXXMapjpkabzHY6A==",
6121
6121
  "dev": true,
6122
6122
  "license": "SEE LICENSE IN LICENSE.txt",
6123
6123
  "dependencies": {
6124
6124
  "@babel/core": "^7.28.4",
6125
6125
  "@babel/helper-plugin-utils": "^7.28.3",
6126
- "@salesforce/webapp-experimental": "^1.61.0"
6126
+ "@salesforce/webapp-experimental": "^1.61.1"
6127
6127
  },
6128
6128
  "engines": {
6129
6129
  "node": ">=20.0.0"
@@ -6133,13 +6133,13 @@
6133
6133
  }
6134
6134
  },
6135
6135
  "node_modules/@salesforce/webapp-experimental": {
6136
- "version": "1.61.0",
6137
- "resolved": "https://registry.npmjs.org/@salesforce/webapp-experimental/-/webapp-experimental-1.61.0.tgz",
6138
- "integrity": "sha512-m7SI2w/3UnSkPdmLYimPpbDI1d2wmYSrjsC2WCFG8Qo4SvEs+BGsPInh8Vxs32XKjiesaMV689RcWOA7dy/FWw==",
6136
+ "version": "1.61.1",
6137
+ "resolved": "https://registry.npmjs.org/@salesforce/webapp-experimental/-/webapp-experimental-1.61.1.tgz",
6138
+ "integrity": "sha512-pk2kWLO0jj6lCciqOe2QaQSST791DMU53HKA7V+3QyRlJMDuS0YWd/vfY/Q3JsAAdlNsuTDbAOcPLOEhKSBECA==",
6139
6139
  "license": "SEE LICENSE IN LICENSE.txt",
6140
6140
  "dependencies": {
6141
6141
  "@salesforce/core": "^8.23.4",
6142
- "@salesforce/sdk-data": "^1.61.0",
6142
+ "@salesforce/sdk-data": "^1.61.1",
6143
6143
  "axios": "^1.7.7",
6144
6144
  "micromatch": "^4.0.8",
6145
6145
  "path-to-regexp": "^8.3.0"
@@ -13645,21 +13645,21 @@
13645
13645
  "license": "MIT"
13646
13646
  },
13647
13647
  "node_modules/msw/node_modules/tldts": {
13648
- "version": "7.0.23",
13649
- "resolved": "https://registry.npmjs.org/tldts/-/tldts-7.0.23.tgz",
13650
- "integrity": "sha512-ASdhgQIBSay0R/eXggAkQ53G4nTJqTXqC2kbaBbdDwM7SkjyZyO0OaaN1/FH7U/yCeqOHDwFO5j8+Os/IS1dXw==",
13648
+ "version": "7.0.24",
13649
+ "resolved": "https://registry.npmjs.org/tldts/-/tldts-7.0.24.tgz",
13650
+ "integrity": "sha512-1r6vQTTt1rUiJkI5vX7KG8PR342Ru/5Oh13kEQP2SMbRSZpOey9SrBe27IDxkoWulx8ShWu4K6C0BkctP8Z1bQ==",
13651
13651
  "license": "MIT",
13652
13652
  "dependencies": {
13653
- "tldts-core": "^7.0.23"
13653
+ "tldts-core": "^7.0.24"
13654
13654
  },
13655
13655
  "bin": {
13656
13656
  "tldts": "bin/cli.js"
13657
13657
  }
13658
13658
  },
13659
13659
  "node_modules/msw/node_modules/tldts-core": {
13660
- "version": "7.0.23",
13661
- "resolved": "https://registry.npmjs.org/tldts-core/-/tldts-core-7.0.23.tgz",
13662
- "integrity": "sha512-0g9vrtDQLrNIiCj22HSe9d4mLVG3g5ph5DZ8zCKBr4OtrspmNB6ss7hVyzArAeE88ceZocIEGkyW1Ime7fxPtQ==",
13660
+ "version": "7.0.24",
13661
+ "resolved": "https://registry.npmjs.org/tldts-core/-/tldts-core-7.0.24.tgz",
13662
+ "integrity": "sha512-pj7yygNMoMRqG7ML2SDQ0xNIOfN3IBDUcPVM2Sg6hP96oFNN2nqnzHreT3z9xLq85IWJyNTvD38O002DdOrPMw==",
13663
13663
  "license": "MIT"
13664
13664
  },
13665
13665
  "node_modules/msw/node_modules/tough-cookie": {
@@ -15,7 +15,7 @@
15
15
  "graphql:schema": "node scripts/get-graphql-schema.mjs"
16
16
  },
17
17
  "dependencies": {
18
- "@salesforce/agentforce-conversation-client": "^1.61.0",
18
+ "@salesforce/agentforce-conversation-client": "^1.61.1",
19
19
  "@salesforce/sdk-data": "^1.11.2",
20
20
  "@salesforce/webapp-experimental": "*",
21
21
  "@tailwindcss/vite": "^4.1.17",
@@ -1,83 +1,85 @@
1
- import { Outlet, Link, useLocation } from 'react-router';
2
- import { getAllRoutes } from './router-utils';
3
- import { useState } from 'react';
1
+ import { AgentforceConversationClient } from "./components/AgentforceConversationClient";
2
+ import { Outlet, Link, useLocation } from "react-router";
3
+ import { getAllRoutes } from "./router-utils";
4
+ import { useState } from "react";
4
5
 
5
6
  export default function AppLayout() {
6
- const [isOpen, setIsOpen] = useState(false);
7
- const location = useLocation();
7
+ const [isOpen, setIsOpen] = useState(false);
8
+ const location = useLocation();
8
9
 
9
- const isActive = (path: string) => location.pathname === path;
10
+ const isActive = (path: string) => location.pathname === path;
10
11
 
11
- const toggleMenu = () => setIsOpen(!isOpen);
12
+ const toggleMenu = () => setIsOpen(!isOpen);
12
13
 
13
- const navigationRoutes: { path: string; label: string }[] = getAllRoutes()
14
- .filter(
15
- route =>
16
- route.handle?.showInNavigation === true &&
17
- route.fullPath !== undefined &&
18
- route.handle?.label !== undefined
19
- )
20
- .map(
21
- route =>
22
- ({
23
- path: route.fullPath,
24
- label: route.handle?.label,
25
- }) as { path: string; label: string }
26
- );
14
+ const navigationRoutes: { path: string; label: string }[] = getAllRoutes()
15
+ .filter(
16
+ (route) =>
17
+ route.handle?.showInNavigation === true &&
18
+ route.fullPath !== undefined &&
19
+ route.handle?.label !== undefined,
20
+ )
21
+ .map(
22
+ (route) =>
23
+ ({
24
+ path: route.fullPath,
25
+ label: route.handle?.label,
26
+ }) as { path: string; label: string },
27
+ );
27
28
 
28
- return (
29
- <>
30
- <nav className="bg-white border-b border-gray-200">
31
- <div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
32
- <div className="flex justify-between items-center h-16">
33
- <Link to="/" className="text-xl font-semibold text-gray-900">
34
- React App
35
- </Link>
36
- <button
37
- onClick={toggleMenu}
38
- className="p-2 rounded-md text-gray-700 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-blue-500"
39
- aria-label="Toggle menu"
40
- >
41
- <div className="w-6 h-6 flex flex-col justify-center space-y-1.5">
42
- <span
43
- className={`block h-0.5 w-6 bg-current transition-all ${
44
- isOpen ? 'rotate-45 translate-y-2' : ''
45
- }`}
46
- />
47
- <span
48
- className={`block h-0.5 w-6 bg-current transition-all ${isOpen ? 'opacity-0' : ''}`}
49
- />
50
- <span
51
- className={`block h-0.5 w-6 bg-current transition-all ${
52
- isOpen ? '-rotate-45 -translate-y-2' : ''
53
- }`}
54
- />
55
- </div>
56
- </button>
57
- </div>
58
- {isOpen && (
59
- <div className="pb-4">
60
- <div className="flex flex-col space-y-2">
61
- {navigationRoutes.map(item => (
62
- <Link
63
- key={item.path}
64
- to={item.path}
65
- onClick={() => setIsOpen(false)}
66
- className={`px-3 py-2 rounded-md text-sm font-medium transition-colors ${
67
- isActive(item.path)
68
- ? 'bg-blue-100 text-blue-700'
69
- : 'text-gray-700 hover:bg-gray-100'
70
- }`}
71
- >
72
- {item.label}
73
- </Link>
74
- ))}
75
- </div>
76
- </div>
77
- )}
78
- </div>
79
- </nav>
80
- <Outlet />
81
- </>
82
- );
29
+ return (
30
+ <>
31
+ <nav className="bg-white border-b border-gray-200">
32
+ <div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
33
+ <div className="flex justify-between items-center h-16">
34
+ <Link to="/" className="text-xl font-semibold text-gray-900">
35
+ React App
36
+ </Link>
37
+ <button
38
+ onClick={toggleMenu}
39
+ className="p-2 rounded-md text-gray-700 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-blue-500"
40
+ aria-label="Toggle menu"
41
+ >
42
+ <div className="w-6 h-6 flex flex-col justify-center space-y-1.5">
43
+ <span
44
+ className={`block h-0.5 w-6 bg-current transition-all ${
45
+ isOpen ? "rotate-45 translate-y-2" : ""
46
+ }`}
47
+ />
48
+ <span
49
+ className={`block h-0.5 w-6 bg-current transition-all ${isOpen ? "opacity-0" : ""}`}
50
+ />
51
+ <span
52
+ className={`block h-0.5 w-6 bg-current transition-all ${
53
+ isOpen ? "-rotate-45 -translate-y-2" : ""
54
+ }`}
55
+ />
56
+ </div>
57
+ </button>
58
+ </div>
59
+ {isOpen && (
60
+ <div className="pb-4">
61
+ <div className="flex flex-col space-y-2">
62
+ {navigationRoutes.map((item) => (
63
+ <Link
64
+ key={item.path}
65
+ to={item.path}
66
+ onClick={() => setIsOpen(false)}
67
+ className={`px-3 py-2 rounded-md text-sm font-medium transition-colors ${
68
+ isActive(item.path)
69
+ ? "bg-blue-100 text-blue-700"
70
+ : "text-gray-700 hover:bg-gray-100"
71
+ }`}
72
+ >
73
+ {item.label}
74
+ </Link>
75
+ ))}
76
+ </div>
77
+ </div>
78
+ )}
79
+ </div>
80
+ </nav>
81
+ <Outlet />
82
+ <AgentforceConversationClient />
83
+ </>
84
+ );
83
85
  }
@@ -0,0 +1,3 @@
1
+ function AgentforceConversationClient() {}
2
+
3
+ export { AgentforceConversationClient };
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/webapp-template-base-sfdx-project-experimental",
3
- "version": "1.61.1",
3
+ "version": "1.61.2",
4
4
  "description": "Base SFDX project template",
5
5
  "private": true,
6
6
  "files": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/webapp-template-app-react-template-b2e-experimental",
3
- "version": "1.61.1",
3
+ "version": "1.61.2",
4
4
  "description": "B2E template app (from BYO)",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "author": "",
@@ -37,5 +37,5 @@
37
37
  }
38
38
  }
39
39
  },
40
- "gitHead": "74f2289f311e488569b6e9616a34604b2154802e"
40
+ "gitHead": "b656418091a4c930e654c73042b24512042ef44b"
41
41
  }