@salesforce/ui-bundle-template-app-react-sample-b2e 11.66.2 → 11.66.4

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,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
+ ## [11.66.4](https://github.com/salesforce-experience-platform-emu/webapps/compare/v11.66.3...v11.66.4) (2026-08-20)
7
+
8
+ **Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
9
+
10
+
11
+
12
+
13
+
14
+ ## [11.66.3](https://github.com/salesforce-experience-platform-emu/webapps/compare/v11.66.2...v11.66.3) (2026-08-20)
15
+
16
+ **Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
17
+
18
+
19
+
20
+
21
+
6
22
  ## [11.66.2](https://github.com/salesforce-experience-platform-emu/webapps/compare/v11.66.1...v11.66.2) (2026-08-20)
7
23
 
8
24
  **Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
@@ -18,8 +18,8 @@
18
18
  "graphql:schema": "node scripts/get-graphql-schema.mjs"
19
19
  },
20
20
  "dependencies": {
21
- "@salesforce/platform-sdk": "^11.66.2",
22
- "@salesforce/ui-bundle": "^11.66.2",
21
+ "@salesforce/platform-sdk": "^11.66.4",
22
+ "@salesforce/ui-bundle": "^11.66.4",
23
23
  "@tailwindcss/vite": "^4.1.17",
24
24
  "class-variance-authority": "^0.7.1",
25
25
  "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": "^11.66.2",
50
- "@salesforce/vite-plugin-ui-bundle": "^11.66.2",
49
+ "@salesforce/graphiti": "^11.66.4",
50
+ "@salesforce/vite-plugin-ui-bundle": "^11.66.4",
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",
@@ -9,7 +9,7 @@
9
9
  */
10
10
 
11
11
  import type { ReactNode } from "react";
12
- import { AlertCircle, SearchX } from "lucide-react";
12
+ import { AlertCircle, Search, SearchX } from "lucide-react";
13
13
  import { Alert, AlertDescription, AlertTitle } from "../../../components/ui/alert";
14
14
  import { Skeleton } from "../../../components/ui/skeleton";
15
15
  import { ActiveFilters } from "./filters/ActiveFilters";
@@ -170,7 +170,11 @@ export function SourceSection({
170
170
 
171
171
  {showEmpty && (
172
172
  <div className="flex flex-col items-center justify-center py-10 text-center">
173
- <SearchX className="size-10 text-muted-foreground mb-3" />
173
+ {isShortQuery ? (
174
+ <Search className="size-10 text-muted-foreground mb-3" />
175
+ ) : (
176
+ <SearchX className="size-10 text-muted-foreground mb-3" />
177
+ )}
174
178
  <p className="text-sm text-muted-foreground">
175
179
  {isShortQuery
176
180
  ? shortQueryMessage
@@ -87,4 +87,23 @@ describe("<SourceSection> empty vs. short-query messaging", () => {
87
87
  expect(screen.getAllByText("No accounts found.")).toHaveLength(2);
88
88
  expect(screen.queryByText("Start your search…")).not.toBeInTheDocument();
89
89
  });
90
+
91
+ it("shows the neutral Search icon for the pre-search prompt and the SearchX icon only for zero matches", () => {
92
+ // lucide-react tags each glyph with a stable class: `lucide-search` (plain
93
+ // magnifying glass) vs. `lucide-search-x` (glass with an X). The X reads as
94
+ // "cancelled / no match", so it must not appear before a search has run.
95
+ const { container, rerender } = renderSection("ab");
96
+
97
+ expect(container.querySelector(".lucide-search")).toBeInTheDocument();
98
+ expect(container.querySelector(".lucide-search-x")).not.toBeInTheDocument();
99
+
100
+ rerender(
101
+ <MemoryRouter>
102
+ <SourceSection controller={makeController()} renderResult={() => null} q="abc" />
103
+ </MemoryRouter>,
104
+ );
105
+
106
+ expect(container.querySelector(".lucide-search-x")).toBeInTheDocument();
107
+ expect(container.querySelector(".lucide-search")).not.toBeInTheDocument();
108
+ });
90
109
  });
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@salesforce/ui-bundle-template-base-sfdx-project",
3
- "version": "11.66.2",
3
+ "version": "11.66.4",
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": "11.66.2",
9
+ "version": "11.66.4",
10
10
  "license": "SEE LICENSE IN LICENSE.txt",
11
11
  "dependencies": {
12
12
  "fast-xml-parser": "^5.9.3",
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/ui-bundle-template-base-sfdx-project",
3
- "version": "11.66.2",
3
+ "version": "11.66.4",
4
4
  "description": "Base SFDX project template",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "publishConfig": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/ui-bundle-template-app-react-sample-b2e",
3
- "version": "11.66.2",
3
+ "version": "11.66.4",
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": "^11.66.2",
19
+ "@salesforce/ui-bundle": "^11.66.4",
20
20
  "sonner": "^1.7.0"
21
21
  },
22
22
  "devDependencies": {