@uxf/data-grid
Advanced tools
Comparing version 11.21.4 to 11.21.5
@@ -40,5 +40,5 @@ "use strict"; | ||
react_1.default.createElement(row_counts_1.DataGridRowCounts, { state: props.state, count: (_h = (_g = props.data) === null || _g === void 0 ? void 0 : _g.count) !== null && _h !== void 0 ? _h : 0, totalCount: (_k = (_j = props.data) === null || _j === void 0 ? void 0 : _j.totalCount) !== null && _k !== void 0 ? _k : 0 }), | ||
react_1.default.createElement(pagination_1.DataGridPagination, { state: props.state, actions: props.actions, count: (_m = (_l = props.data) === null || _l === void 0 ? void 0 : _l.count) !== null && _m !== void 0 ? _m : 0 }))), | ||
react_1.default.createElement(pagination_1.DataGridPagination, { actions: props.actions, count: (_m = (_l = props.data) === null || _l === void 0 ? void 0 : _l.count) !== null && _m !== void 0 ? _m : 0, state: props.state }))), | ||
react_1.default.createElement(selected_rows_toolbar_1.DataGridSelectedRowsToolbar, { state: props.state, actions: props.actions, Actions: (_o = props.SelectedRowsToolbarActions) !== null && _o !== void 0 ? _o : DefaultSelectedRowsToolbarActions }))); | ||
} | ||
exports.DataGrid = DataGrid; |
{ | ||
"name": "@uxf/data-grid", | ||
"version": "11.21.4", | ||
"version": "11.21.5", | ||
"description": "UXF DataGrid", | ||
@@ -34,5 +34,5 @@ "homepage": "https://gitlab.com/uxf-npm/data-grid#readme", | ||
"dependencies": { | ||
"@uxf/core": "11.21.0", | ||
"@uxf/core-react": "11.21.0", | ||
"@uxf/ui": "11.21.4", | ||
"@uxf/core": "11.21.5", | ||
"@uxf/core-react": "11.21.5", | ||
"@uxf/ui": "11.21.5", | ||
"dayjs": "1.11.10", | ||
@@ -39,0 +39,0 @@ "deepmerge": "4.3.1", |
import { Nullish } from "@uxf/core/types"; | ||
import { PaginationSizes } from "@uxf/ui/pagination/theme"; | ||
import React from "react"; | ||
@@ -7,2 +8,5 @@ import { DataGridControl } from "../use-data-grid-control"; | ||
count: number | Nullish; | ||
showFirstButton?: boolean; | ||
showLastButton?: boolean; | ||
size?: keyof PaginationSizes; | ||
} | ||
@@ -9,0 +13,0 @@ export type DataGridPaginationProps = PaginationProps; |
@@ -15,5 +15,5 @@ "use strict"; | ||
: 1; | ||
return (react_1.default.createElement(pagination_1.Pagination, { count: pageCount, page: props.state.request.page + 1, onPageChange: (value) => props.actions.changePage(value - 1) })); | ||
return (react_1.default.createElement(pagination_1.Pagination, { count: pageCount, onPageChange: (value) => props.actions.changePage(value - 1), page: props.state.request.page + 1, showFirstButton: props.showFirstButton, showLastButton: props.showLastButton, size: props.size })); | ||
} | ||
exports.Pagination = Pagination; | ||
exports.DataGridPagination = Pagination; |
235304
4996
+ Added@uxf/core@11.21.5(transitive)
+ Added@uxf/core-react@11.21.5(transitive)
+ Added@uxf/styles@11.21.5(transitive)
+ Added@uxf/ui@11.21.5(transitive)
- Removed@uxf/core@11.21.0(transitive)
- Removed@uxf/core-react@11.21.0(transitive)
- Removed@uxf/styles@11.21.0(transitive)
- Removed@uxf/ui@11.21.4(transitive)
Updated@uxf/core@11.21.5
Updated@uxf/core-react@11.21.5
Updated@uxf/ui@11.21.5