@snack-uikit/table 0.26.5-preview-e49c63bb.0 → 0.26.5
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
|
@@ -3,6 +3,17 @@
|
|
|
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
|
+
## 0.26.5 (2025-01-15)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **FF-5532:** table search filter pagination bug fixed ([36f8799](https://github.com/cloud-ru-tech/snack-uikit/commit/36f879940a2d2244f98456ae890c708a748e275e))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## 0.26.4 (2025-01-13)
|
|
7
18
|
|
|
8
19
|
### Only dependencies have been changed
|
|
@@ -318,7 +318,7 @@ function Table(_a) {
|
|
|
318
318
|
}, [filteredTopRows.length, pageSize, suppressPagination, tablePagination === null || tablePagination === void 0 ? void 0 : tablePagination.pageSize, tableRows.length]);
|
|
319
319
|
(0, usePageReset_1.usePageReset)({
|
|
320
320
|
manualPagination,
|
|
321
|
-
maximumAvailablePage: pageCount ||
|
|
321
|
+
maximumAvailablePage: pageCount || tableFilteredRows.length / pagination.pageSize,
|
|
322
322
|
pagination,
|
|
323
323
|
onPaginationChange,
|
|
324
324
|
autoResetPageIndex
|
|
@@ -234,7 +234,7 @@ export function Table(_a) {
|
|
|
234
234
|
}, [filteredTopRows.length, pageSize, suppressPagination, tablePagination === null || tablePagination === void 0 ? void 0 : tablePagination.pageSize, tableRows.length]);
|
|
235
235
|
usePageReset({
|
|
236
236
|
manualPagination,
|
|
237
|
-
maximumAvailablePage: pageCount ||
|
|
237
|
+
maximumAvailablePage: pageCount || tableFilteredRows.length / pagination.pageSize,
|
|
238
238
|
pagination,
|
|
239
239
|
onPaginationChange,
|
|
240
240
|
autoResetPageIndex,
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
6
|
"title": "Table",
|
|
7
|
-
"version": "0.26.5
|
|
7
|
+
"version": "0.26.5",
|
|
8
8
|
"sideEffects": [
|
|
9
9
|
"*.css",
|
|
10
10
|
"*.woff",
|
|
@@ -37,16 +37,16 @@
|
|
|
37
37
|
"scripts": {},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@snack-uikit/button": "0.19.5",
|
|
40
|
-
"@snack-uikit/chips": "0.23.
|
|
40
|
+
"@snack-uikit/chips": "0.23.3",
|
|
41
41
|
"@snack-uikit/icon-predefined": "0.7.2",
|
|
42
42
|
"@snack-uikit/icons": "0.24.1",
|
|
43
43
|
"@snack-uikit/info-block": "0.6.7",
|
|
44
|
-
"@snack-uikit/list": "0.22.
|
|
44
|
+
"@snack-uikit/list": "0.22.2",
|
|
45
45
|
"@snack-uikit/pagination": "0.10.0",
|
|
46
46
|
"@snack-uikit/scroll": "0.9.2",
|
|
47
47
|
"@snack-uikit/skeleton": "0.6.1",
|
|
48
48
|
"@snack-uikit/toggles": "0.13.3",
|
|
49
|
-
"@snack-uikit/toolbar": "0.9.
|
|
49
|
+
"@snack-uikit/toolbar": "0.9.16",
|
|
50
50
|
"@snack-uikit/truncate-string": "0.6.4",
|
|
51
51
|
"@snack-uikit/typography": "0.8.3",
|
|
52
52
|
"@snack-uikit/utils": "3.6.0",
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"peerDependencies": {
|
|
62
62
|
"@snack-uikit/locale": "*"
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "1305c9f45a7b144268bef639848bd086b00adbae"
|
|
65
65
|
}
|
|
@@ -347,7 +347,7 @@ export function Table<TData extends object>({
|
|
|
347
347
|
|
|
348
348
|
usePageReset({
|
|
349
349
|
manualPagination,
|
|
350
|
-
maximumAvailablePage: pageCount ||
|
|
350
|
+
maximumAvailablePage: pageCount || tableFilteredRows.length / pagination.pageSize,
|
|
351
351
|
pagination,
|
|
352
352
|
onPaginationChange,
|
|
353
353
|
autoResetPageIndex,
|