@salesforce/ui-bundle-template-app-react-template-b2e 12.3.5 → 12.3.7

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
+ ## [12.3.7](https://github.com/salesforce-experience-platform-emu/webapps/compare/v12.3.6...v12.3.7) (2026-09-01)
7
+
8
+ **Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
9
+
10
+
11
+
12
+
13
+
14
+ ## [12.3.6](https://github.com/salesforce-experience-platform-emu/webapps/compare/v12.3.5...v12.3.6) (2026-09-01)
15
+
16
+ **Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
17
+
18
+
19
+
20
+
21
+
6
22
  ## [12.3.5](https://github.com/salesforce-experience-platform-emu/webapps/compare/v12.3.4...v12.3.5) (2026-09-01)
7
23
 
8
24
  **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.3.5",
23
- "@salesforce/ui-bundle": "^12.3.5",
22
+ "@salesforce/platform-sdk": "^12.3.7",
23
+ "@salesforce/ui-bundle": "^12.3.7",
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.3.5",
50
- "@salesforce/vite-plugin-ui-bundle": "^12.3.5",
49
+ "@salesforce/graphiti": "^12.3.7",
50
+ "@salesforce/vite-plugin-ui-bundle": "^12.3.7",
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",
@@ -102,7 +102,7 @@ interface ResolvedPagination {
102
102
  }
103
103
 
104
104
  /** Resolves the single global pagination config, filling in defaults. */
105
- function resolvePagination(config: SearchConfig): ResolvedPagination {
105
+ export function resolvePagination(config: SearchConfig): ResolvedPagination {
106
106
  const p = config.pagination;
107
107
  const pageSizeOptions =
108
108
  p?.pageSizeOptions && p.pageSizeOptions.length > 0
@@ -123,7 +123,7 @@ function validatePageSize(pagination: ResolvedPagination, size: number): number
123
123
  return valid.includes(size) ? size : pagination.pageSize;
124
124
  }
125
125
 
126
- function initSourceState(
126
+ export function initSourceState(
127
127
  source: SourceConfig,
128
128
  params: URLSearchParams,
129
129
  pagination: ResolvedPagination,
@@ -139,7 +139,8 @@ function initSourceState(
139
139
  filters: read.filters,
140
140
  sort,
141
141
  pageSize,
142
- pageIndex: read.pageIndex,
142
+ // Cursors aren't persisted to the URL, so always seed the first page (page param ignored on read).
143
+ pageIndex: 0,
143
144
  afterCursor: undefined,
144
145
  cursorStack: [],
145
146
  };
@@ -233,8 +233,13 @@ function buildSingleFilter(filter: ActiveFilterValue, config?: FilterFieldConfig
233
233
  if (config?.max != null) n = Math.min(n, config.max);
234
234
  return n;
235
235
  };
236
- if (min) ops.gte = clamp(Number(min));
237
- if (max) ops.lte = clamp(Number(max));
236
+ // Drop any endpoint that isn't finite — NaN/Infinity serialize to null on the wire.
237
+ const lo = Number(min);
238
+ if (min && Number.isFinite(lo)) ops.gte = clamp(lo);
239
+ const hi = Number(max);
240
+ if (max && Number.isFinite(hi)) ops.lte = clamp(hi);
241
+ // If both endpoints were dropped as invalid, emit no clause at all.
242
+ if (Object.keys(ops).length === 0) return null;
238
243
  return { [field]: ops };
239
244
  }
240
245
  case "boolean": {
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@salesforce/ui-bundle-template-base-sfdx-project",
3
- "version": "12.3.5",
3
+ "version": "12.3.7",
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.3.5",
9
+ "version": "12.3.7",
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": "12.3.5",
3
+ "version": "12.3.7",
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-template-b2e",
3
- "version": "12.3.5",
3
+ "version": "12.3.7",
4
4
  "description": "Salesforce React internal app template",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "author": "",