@k-int/stripes-kint-components 5.24.0 → 5.24.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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [5.24.1](https://gitlab.com/knowledge-integration/folio/stripes-kint-components/compare/v5.24.0...v5.24.1) (2025-07-15)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * Fallback for "foundValues" in SASQLookupComponent ([501f131](https://gitlab.com/knowledge-integration/folio/stripes-kint-components/commit/501f13125ce8501d62fde2f1e70d5ef5f28bdbdb))
7
+
1
8
  # [5.24.0](https://gitlab.com/knowledge-integration/folio/stripes-kint-components/compare/v5.23.0...v5.24.0) (2025-07-02)
2
9
 
3
10
 
@@ -288,8 +288,10 @@ const SASQLookupComponent = /*#__PURE__*/(0, _react.forwardRef)((props, ref) =>
288
288
  paneSub: kintIntl.formatKintMessage({
289
289
  id: 'found#Values',
290
290
  overrideValue: labelOverrides?.foundValues
291
- }, {
292
- total: data?.total
291
+ },
292
+ // DEPRECATED data.total should NOT be the first call here, but staying for backwards compatibility. Elsewhere we use data.totalRecords
293
+ {
294
+ total: data?.total ?? data?.totalRecords ?? 0
293
295
  }),
294
296
  ...restOfMainPaneProps,
295
297
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(Body, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@k-int/stripes-kint-components",
3
- "version": "5.24.0",
3
+ "version": "5.24.1",
4
4
  "description": "Stripes Component library for K-Int specific applications",
5
5
  "sideEffects": [
6
6
  "*.css"
@@ -350,7 +350,8 @@ const SASQLookupComponent = forwardRef((props, ref) => {
350
350
  id: 'found#Values',
351
351
  overrideValue: labelOverrides?.foundValues,
352
352
  },
353
- { total: data?.total }
353
+ // DEPRECATED data.total should NOT be the first call here, but staying for backwards compatibility. Elsewhere we use data.totalRecords
354
+ { total: data?.total ?? data?.totalRecords ?? 0 }
354
355
  )}
355
356
  {...restOfMainPaneProps}
356
357
  >