@salesforce/ui-bundle-template-feature-react-global-search 1.130.1 → 1.131.0

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
+ # [1.131.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.130.2...v1.131.0) (2026-04-24)
7
+
8
+ **Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
9
+
10
+
11
+
12
+
13
+
14
+ ## [1.130.2](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.130.1...v1.130.2) (2026-04-24)
15
+
16
+ **Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
17
+
18
+
19
+
20
+
21
+
6
22
  ## [1.130.1](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.130.0...v1.130.1) (2026-04-24)
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/sdk-data": "^1.130.1",
22
- "@salesforce/ui-bundle": "^1.130.1",
21
+ "@salesforce/sdk-data": "^1.131.0",
22
+ "@salesforce/ui-bundle": "^1.131.0",
23
23
  "@tailwindcss/vite": "^4.1.17",
24
24
  "class-variance-authority": "^0.7.1",
25
25
  "clsx": "^2.1.1",
@@ -46,7 +46,7 @@
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/vite-plugin-ui-bundle": "^1.130.1",
49
+ "@salesforce/vite-plugin-ui-bundle": "^1.131.0",
50
50
  "@testing-library/jest-dom": "^6.6.3",
51
51
  "@testing-library/react": "^16.1.0",
52
52
  "@testing-library/user-event": "^14.5.2",
@@ -10,7 +10,10 @@ export async function executeGraphQL<TData, TVariables>(
10
10
  ): Promise<TData> {
11
11
  const data = await createDataSDK();
12
12
  // SDK types graphql() first param as string; at runtime it may accept gql DocumentNode too
13
- const response = await data.graphql?.<TData, TVariables>(query, variables);
13
+ const response = await data.graphql?.<TData, TVariables>({
14
+ query,
15
+ variables,
16
+ });
14
17
 
15
18
  if (!response) {
16
19
  throw new Error('GraphQL response is undefined');
@@ -126,7 +126,7 @@ export async function queryForPicklistValues(
126
126
 
127
127
  async function runQuery<Q, V>(query: string, variables: V): Promise<Q> {
128
128
  const data = await createDataSDK();
129
- const response = await data.graphql?.<Q, V>(query, variables);
129
+ const response = await data.graphql?.<Q, V>({ query, variables });
130
130
 
131
131
  if (response?.errors?.length) {
132
132
  const errorMessages = response.errors.map((e) => e.message).join("; ");
@@ -328,7 +328,7 @@ export async function getRecordsGraphQL(
328
328
  };
329
329
 
330
330
  const data = await createDataSDK();
331
- const response = await data.graphql?.<RecordListGraphQLResult>(query, variables);
331
+ const response = await data.graphql?.<RecordListGraphQLResult>({ query, variables });
332
332
 
333
333
  if (response?.errors?.length) {
334
334
  const errorMessages = response.errors.map((e) => e.message).join("; ");
@@ -28,7 +28,13 @@
28
28
  "@components/*": ["./src/components/*"],
29
29
  "@utils/*": ["./src/utils/*"],
30
30
  "@styles/*": ["./src/styles/*"],
31
- "@assets/*": ["./src/assets/*"]
31
+ "@assets/*": ["./src/assets/*"],
32
+ "@salesforce/sdk-core": [
33
+ "../../../../../../../../../../packages/sdk/sdk-core/src/index.ts"
34
+ ],
35
+ "@salesforce/sdk-data": [
36
+ "../../../../../../../../../../packages/sdk/sdk-data/src/index.ts"
37
+ ]
32
38
  }
33
39
  },
34
40
  "include": [
@@ -1 +1,7 @@
1
1
  /// <reference types="vite/client" />
2
+
3
+ /** Salesforce API version injected at build time by the Vite define plugin. */
4
+ declare const __SF_API_VERSION__: string;
5
+
6
+ /** Package version of @salesforce/sdk-data injected at build time by its own Vite build. */
7
+ declare const __SDK_DATA_VERSION__: string;
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@salesforce/webapp-template-base-sfdx-project-experimental",
3
- "version": "1.130.1",
3
+ "version": "1.131.0",
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": "1.130.1",
9
+ "version": "1.131.0",
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/ui-bundle-template-base-sfdx-project",
3
- "version": "1.130.1",
3
+ "version": "1.131.0",
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-feature-react-global-search",
3
- "version": "1.130.1",
3
+ "version": "1.131.0",
4
4
  "description": "Global search feature for Salesforce objects with filtering and pagination",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "author": "",
@@ -126,7 +126,7 @@ export async function queryForPicklistValues(
126
126
 
127
127
  async function runQuery<Q, V>(query: string, variables: V): Promise<Q> {
128
128
  const data = await createDataSDK();
129
- const response = await data.graphql?.<Q, V>(query, variables);
129
+ const response = await data.graphql?.<Q, V>({ query, variables });
130
130
 
131
131
  if (response?.errors?.length) {
132
132
  const errorMessages = response.errors.map((e) => e.message).join("; ");
@@ -328,7 +328,7 @@ export async function getRecordsGraphQL(
328
328
  };
329
329
 
330
330
  const data = await createDataSDK();
331
- const response = await data.graphql?.<RecordListGraphQLResult>(query, variables);
331
+ const response = await data.graphql?.<RecordListGraphQLResult>({ query, variables });
332
332
 
333
333
  if (response?.errors?.length) {
334
334
  const errorMessages = response.errors.map((e) => e.message).join("; ");