@salesforce/ui-bundle-template-app-react-sample-b2e 9.9.1 → 9.9.3
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/uiBundles/propertymanagementapp/src/components/AgentforceConversationClient.tsx +1 -33
- package/dist/force-app/main/default/uiBundles/propertymanagementapp/src/routes.tsx +0 -6
- package/dist/package-lock.json +2 -2
- package/dist/package.json +1 -1
- package/package.json +2 -2
- package/dist/force-app/main/default/uiBundles/propertymanagementapp/src/pages/TestAccPage.tsx +0 -19
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
|
+
## [9.9.3](https://github.com/salesforce-experience-platform-emu/webapps/compare/v9.9.2...v9.9.3) (2026-05-25)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [9.9.2](https://github.com/salesforce-experience-platform-emu/webapps/compare/v9.9.1...v9.9.2) (2026-05-25)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [9.9.1](https://github.com/salesforce-experience-platform-emu/webapps/compare/v9.9.0...v9.9.1) (2026-05-25)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
|
|
@@ -13,38 +13,6 @@ import type {
|
|
|
13
13
|
} from "../types/conversation";
|
|
14
14
|
|
|
15
15
|
const GLOBAL_HOST_ID = "agentforce-conversation-client-global-host";
|
|
16
|
-
|
|
17
|
-
const DEFAULT_STYLE_TOKENS: NonNullable<AgentforceClientConfig["styleTokens"]> = {
|
|
18
|
-
containerBackground: "#fafafa",
|
|
19
|
-
|
|
20
|
-
headerBlockBackground: "#372949",
|
|
21
|
-
headerBlockTextColor: "#ffffff",
|
|
22
|
-
headerBlockIconColor: "#ffffff",
|
|
23
|
-
headerBlockBorderBottomColor: "#3b0764",
|
|
24
|
-
headerBlockFocusBorder: "#c4b5fd",
|
|
25
|
-
|
|
26
|
-
messageBlockInboundBackgroundColor: "#ffffff",
|
|
27
|
-
messageBlockInboundTextColor: "#1f2937",
|
|
28
|
-
messageBlockInboundBorder: "1px solid #e5e7eb",
|
|
29
|
-
|
|
30
|
-
messageBlockOutboundBackgroundColor: "#ede9fe",
|
|
31
|
-
messageBlockOutboundTextColor: "#1f2937",
|
|
32
|
-
messageBlockOutboundBorder: "1px solid #d8b4fe",
|
|
33
|
-
|
|
34
|
-
messageInputTextColor: "#1f2937",
|
|
35
|
-
messageInputTextBackgroundColor: "#ffffff",
|
|
36
|
-
messageInputFooterBorderColor: "#d1d5db",
|
|
37
|
-
messageInputFooterBorderFocusColor: "#9ca3af",
|
|
38
|
-
messageInputFocusShadow: "0 0 0 3px rgba(156, 163, 175, 0.25)",
|
|
39
|
-
messageInputFooterPlaceholderText: "#6b7280",
|
|
40
|
-
|
|
41
|
-
messageInputFooterSendButton: "#7e22ce",
|
|
42
|
-
messageInputFooterSendButtonHoverColor: "#6b21a8",
|
|
43
|
-
messageInputSendButtonIconColor: "#ffffff",
|
|
44
|
-
messageInputSendButtonDisabledColor: "#e5e7eb",
|
|
45
|
-
messageInputActionButtonFocusBorder: "#a855f7",
|
|
46
|
-
errorBlockBackground: "#fafafa",
|
|
47
|
-
};
|
|
48
16
|
const SINGLETON_KEY = "__agentforceConversationClientSingleton";
|
|
49
17
|
|
|
50
18
|
interface AgentforceConversationClientSingleton {
|
|
@@ -111,7 +79,7 @@ export function AgentforceConversationClient({
|
|
|
111
79
|
return {
|
|
112
80
|
...(agentId !== undefined && { agentId }),
|
|
113
81
|
...(agentLabel !== undefined && { agentLabel }),
|
|
114
|
-
styleTokens
|
|
82
|
+
...(styleTokens !== undefined && { styleTokens }),
|
|
115
83
|
renderingConfig,
|
|
116
84
|
channel: "Vibes",
|
|
117
85
|
};
|
|
@@ -2,7 +2,6 @@ import type { RouteObject } from 'react-router';
|
|
|
2
2
|
import AppLayout from './appLayout';
|
|
3
3
|
import Home from './pages/Home';
|
|
4
4
|
import NotFound from './pages/NotFound';
|
|
5
|
-
import TestAccPage from "./pages/TestAccPage";
|
|
6
5
|
import { Navigate } from "react-router";
|
|
7
6
|
import PropertySearch from "./pages/PropertySearch";
|
|
8
7
|
import MaintenanceRequestSearch from "./pages/MaintenanceRequestSearch";
|
|
@@ -24,11 +23,6 @@ export const routes: RouteObject[] = [
|
|
|
24
23
|
path: '*',
|
|
25
24
|
element: <NotFound />
|
|
26
25
|
},
|
|
27
|
-
{
|
|
28
|
-
path: "test-acc",
|
|
29
|
-
element: <TestAccPage />,
|
|
30
|
-
handle: { showInNavigation: true, label: "Test ACC" }
|
|
31
|
-
},
|
|
32
26
|
{
|
|
33
27
|
path: "maintenance",
|
|
34
28
|
children: [
|
package/dist/package-lock.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/webapp-template-base-sfdx-project-experimental",
|
|
3
|
-
"version": "9.9.
|
|
3
|
+
"version": "9.9.3",
|
|
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": "9.9.
|
|
9
|
+
"version": "9.9.3",
|
|
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": "9.9.
|
|
3
|
+
"version": "9.9.3",
|
|
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": "^9.9.
|
|
19
|
+
"@salesforce/ui-bundle": "^9.9.3",
|
|
20
20
|
"sonner": "^1.7.0"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
package/dist/force-app/main/default/uiBundles/propertymanagementapp/src/pages/TestAccPage.tsx
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2026, Salesforce, Inc.
|
|
3
|
-
* All rights reserved.
|
|
4
|
-
* For full license text, see the LICENSE.txt file
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
import AgentforceConversationClient from "../components/AgentforceConversationClient";
|
|
8
|
-
|
|
9
|
-
export default function TestAccPage() {
|
|
10
|
-
return (
|
|
11
|
-
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
|
|
12
|
-
<div className="text-center">
|
|
13
|
-
<h1 className="text-4xl font-bold text-gray-900 mb-4">ACC</h1>
|
|
14
|
-
<p className="text-lg text-gray-600 mb-8">Welcome to your ACC application.</p>
|
|
15
|
-
</div>
|
|
16
|
-
<AgentforceConversationClient agentId="0Xx000000000000AAA" />
|
|
17
|
-
</div>
|
|
18
|
-
);
|
|
19
|
-
}
|