@cloudscape-design/collection-hooks
Advanced tools
Comparing version 1.0.18 to 1.0.19
@@ -118,3 +118,3 @@ "use strict"; | ||
totalItemsCount: allPageItems.length, | ||
firstIndex: ((actualPageIndex !== null && actualPageIndex !== void 0 ? actualPageIndex : currentPageIndex) - 1) * (options.pagination.pageSize + 1), | ||
firstIndex: ((actualPageIndex !== null && actualPageIndex !== void 0 ? actualPageIndex : currentPageIndex) - 1) * options.pagination.pageSize + 1, | ||
} | ||
@@ -121,0 +121,0 @@ : {})), |
@@ -113,3 +113,3 @@ var __assign = (this && this.__assign) || function () { | ||
totalItemsCount: allPageItems.length, | ||
firstIndex: ((actualPageIndex !== null && actualPageIndex !== void 0 ? actualPageIndex : currentPageIndex) - 1) * (options.pagination.pageSize + 1), | ||
firstIndex: ((actualPageIndex !== null && actualPageIndex !== void 0 ? actualPageIndex : currentPageIndex) - 1) * options.pagination.pageSize + 1, | ||
} | ||
@@ -116,0 +116,0 @@ : {})), |
{ | ||
"commit": "86f2523691657ad6c21701e12c96e78553fbb809" | ||
"commit": "2511021bb09c0091ac4c75449dc8fa120a0790fd" | ||
} |
@@ -7,3 +7,3 @@ { | ||
"deprecated": false, | ||
"description": "This package contains the source code of the React collection hooks for the [Cloudscape Design System](https://cloudscape.design/).", | ||
"description": "## ⚠️ This is a generated artifact package and should be treated as **READ-ONLY**. Do not commit directly to this package!", | ||
"exports": { | ||
@@ -59,4 +59,4 @@ ".": { | ||
"type": "module", | ||
"version": "1.0.18", | ||
"version": "1.0.19", | ||
"license": "Apache-2.0" | ||
} |
81432