@salesforce/ui-bundle-template-app-react-template-b2e 12.5.0 → 12.5.1
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/reactinternalapp/package.json +4 -4
- package/dist/force-app/main/default/uiBundles/reactinternalapp/src/features/search/components/MergedSearchResults.tsx +2 -2
- package/dist/force-app/main/default/uiBundles/reactinternalapp/src/features/search/components/SourceSection.tsx +3 -3
- package/dist/force-app/main/default/uiBundles/reactinternalapp/src/features/search/components/controls/SearchBar.tsx +4 -1
- package/dist/force-app/main/default/uiBundles/reactinternalapp/src/features/search/components/results/CmsResultRow.tsx +1 -1
- package/dist/force-app/main/default/uiBundles/reactinternalapp/src/features/search/components/results/DefaultResultRow.tsx +1 -0
- package/dist/package-lock.json +2 -2
- package/dist/package.json +1 -1
- package/package.json +1 -1
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
|
+
## [12.5.1](https://github.com/salesforce-experience-platform-emu/webapps/compare/v12.5.0...v12.5.1) (2026-09-07)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [12.5.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v12.4.5...v12.5.0) (2026-09-04)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"graphql:schema": "node scripts/get-graphql-schema.mjs"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@salesforce/platform-sdk": "^12.5.
|
|
23
|
-
"@salesforce/ui-bundle": "^12.5.
|
|
22
|
+
"@salesforce/platform-sdk": "^12.5.1",
|
|
23
|
+
"@salesforce/ui-bundle": "^12.5.1",
|
|
24
24
|
"@tailwindcss/vite": "^4.1.17",
|
|
25
25
|
"class-variance-authority": "^0.7.1",
|
|
26
26
|
"clsx": "^2.1.1",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"@graphql-eslint/eslint-plugin": "^4.1.0",
|
|
47
47
|
"@graphql-tools/utils": "^11.0.0",
|
|
48
48
|
"@playwright/test": "^1.49.0",
|
|
49
|
-
"@salesforce/graphiti": "^12.5.
|
|
50
|
-
"@salesforce/vite-plugin-ui-bundle": "^12.5.
|
|
49
|
+
"@salesforce/graphiti": "^12.5.1",
|
|
50
|
+
"@salesforce/vite-plugin-ui-bundle": "^12.5.1",
|
|
51
51
|
"@testing-library/jest-dom": "^6.6.3",
|
|
52
52
|
"@testing-library/react": "^16.1.0",
|
|
53
53
|
"@testing-library/user-event": "^14.5.2",
|
|
@@ -137,7 +137,7 @@ export function MergedSearchResults({
|
|
|
137
137
|
whole-request/network failure). Shown once, above the grid. */}
|
|
138
138
|
{error && (
|
|
139
139
|
<Alert variant="destructive" role="alert">
|
|
140
|
-
<AlertCircle />
|
|
140
|
+
<AlertCircle aria-hidden="true" />
|
|
141
141
|
<AlertTitle>Search failed</AlertTitle>
|
|
142
142
|
<AlertDescription>{error}</AlertDescription>
|
|
143
143
|
</Alert>
|
|
@@ -151,7 +151,7 @@ export function MergedSearchResults({
|
|
|
151
151
|
.filter((c) => !!c.error)
|
|
152
152
|
.map((c) => (
|
|
153
153
|
<Alert key={c.config.key} variant="destructive" role="alert">
|
|
154
|
-
<AlertCircle />
|
|
154
|
+
<AlertCircle aria-hidden="true" />
|
|
155
155
|
<AlertTitle>Failed to load {c.config.label}</AlertTitle>
|
|
156
156
|
<AlertDescription>{c.error}</AlertDescription>
|
|
157
157
|
</Alert>
|
|
@@ -152,7 +152,7 @@ export function SourceSection({
|
|
|
152
152
|
|
|
153
153
|
{error && (
|
|
154
154
|
<Alert variant="destructive" role="alert">
|
|
155
|
-
<AlertCircle />
|
|
155
|
+
<AlertCircle aria-hidden="true" />
|
|
156
156
|
<AlertTitle>Failed to load {config.label}</AlertTitle>
|
|
157
157
|
<AlertDescription>{error}</AlertDescription>
|
|
158
158
|
</Alert>
|
|
@@ -171,9 +171,9 @@ export function SourceSection({
|
|
|
171
171
|
{showEmpty && (
|
|
172
172
|
<div className="flex flex-col items-center justify-center py-10 text-center">
|
|
173
173
|
{isShortQuery ? (
|
|
174
|
-
<Search className="size-10 text-muted-foreground mb-3" />
|
|
174
|
+
<Search aria-hidden="true" className="size-10 text-muted-foreground mb-3" />
|
|
175
175
|
) : (
|
|
176
|
-
<SearchX className="size-10 text-muted-foreground mb-3" />
|
|
176
|
+
<SearchX aria-hidden="true" className="size-10 text-muted-foreground mb-3" />
|
|
177
177
|
)}
|
|
178
178
|
<p className="text-sm text-muted-foreground">
|
|
179
179
|
{isShortQuery
|
|
@@ -38,7 +38,10 @@ export function SearchBar({ value, onChange, placeholder = "Search…", classNam
|
|
|
38
38
|
|
|
39
39
|
return (
|
|
40
40
|
<div className={`relative flex-1 ${className ?? ""}`}>
|
|
41
|
-
<Search
|
|
41
|
+
<Search
|
|
42
|
+
aria-hidden="true"
|
|
43
|
+
className="absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-muted-foreground"
|
|
44
|
+
/>
|
|
42
45
|
<Input
|
|
43
46
|
type="text"
|
|
44
47
|
value={draft}
|
|
@@ -90,7 +90,7 @@ export function CmsResultRow({ node, source }: CmsResultRowProps) {
|
|
|
90
90
|
<Link
|
|
91
91
|
to={href}
|
|
92
92
|
className="block hover:bg-accent rounded-md px-3 -mx-3 py-1 transition-colors"
|
|
93
|
-
aria-label={`View content: ${item.title}`}
|
|
93
|
+
aria-label={`View content: ${item.title ?? "content"}`}
|
|
94
94
|
>
|
|
95
95
|
{content}
|
|
96
96
|
</Link>
|
|
@@ -98,6 +98,7 @@ export function DefaultResultRow({ node, source }: DefaultResultRowProps) {
|
|
|
98
98
|
<Link
|
|
99
99
|
to={href}
|
|
100
100
|
className="block hover:bg-accent rounded-md px-3 -mx-3 py-1 transition-colors"
|
|
101
|
+
aria-label={`View: ${title ?? "result"}`}
|
|
101
102
|
>
|
|
102
103
|
{content}
|
|
103
104
|
</Link>
|
package/dist/package-lock.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/ui-bundle-template-base-sfdx-project",
|
|
3
|
-
"version": "12.5.
|
|
3
|
+
"version": "12.5.1",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@salesforce/ui-bundle-template-base-sfdx-project",
|
|
9
|
-
"version": "12.5.
|
|
9
|
+
"version": "12.5.1",
|
|
10
10
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"fast-xml-parser": "^5.9.3",
|
package/dist/package.json
CHANGED