@luscii-healthtech/web-ui 0.2.1 → 0.2.2
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/components/ListTable/ListTable.d.ts +6 -4
- package/dist/web-ui.cjs.development.js +8 -4
- package/dist/web-ui.cjs.development.js.map +1 -1
- package/dist/web-ui.cjs.production.min.js +1 -1
- package/dist/web-ui.cjs.production.min.js.map +1 -1
- package/dist/web-ui.esm.js +8 -4
- package/dist/web-ui.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/ListTable/ListTable.tsx +11 -4
package/dist/web-ui.esm.js
CHANGED
|
@@ -2293,7 +2293,7 @@ function ListTableHeader(_ref) {
|
|
|
2293
2293
|
})));
|
|
2294
2294
|
}
|
|
2295
2295
|
|
|
2296
|
-
var _excluded$9 = ["items", "configuration", "pageCount", "currentPage", "onPaginationChange", "onRowClick", "isLoading", "showHeader", "className"
|
|
2296
|
+
var _excluded$9 = ["items", "configuration", "pageCount", "currentPage", "onPaginationChange", "pageSize", "localization", "resultCount", "onRowClick", "isLoading", "showHeader", "className"];
|
|
2297
2297
|
function ListTable(_ref) {
|
|
2298
2298
|
var _ref$items = _ref.items,
|
|
2299
2299
|
items = _ref$items === void 0 ? [] : _ref$items,
|
|
@@ -2303,13 +2303,15 @@ function ListTable(_ref) {
|
|
|
2303
2303
|
_ref$currentPage = _ref.currentPage,
|
|
2304
2304
|
currentPage = _ref$currentPage === void 0 ? 1 : _ref$currentPage,
|
|
2305
2305
|
onPaginationChange = _ref.onPaginationChange,
|
|
2306
|
+
pageSize = _ref.pageSize,
|
|
2307
|
+
localization = _ref.localization,
|
|
2308
|
+
resultCount = _ref.resultCount,
|
|
2306
2309
|
onRowClick = _ref.onRowClick,
|
|
2307
2310
|
_ref$isLoading = _ref.isLoading,
|
|
2308
2311
|
isLoading = _ref$isLoading === void 0 ? false : _ref$isLoading,
|
|
2309
2312
|
_ref$showHeader = _ref.showHeader,
|
|
2310
2313
|
showHeader = _ref$showHeader === void 0 ? true : _ref$showHeader,
|
|
2311
2314
|
className = _ref.className,
|
|
2312
|
-
localization = _ref.localization,
|
|
2313
2315
|
restProps = _objectWithoutPropertiesLoose(_ref, _excluded$9);
|
|
2314
2316
|
|
|
2315
2317
|
// For not displaying empty view at creation
|
|
@@ -2355,10 +2357,12 @@ function ListTable(_ref) {
|
|
|
2355
2357
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
2356
2358
|
className: classNames("cweb-list-table-footer", "flex justify-center flex-row items-center", "h-20 py-4 px-4")
|
|
2357
2359
|
}, /*#__PURE__*/React__default.createElement(PaginationMenu, {
|
|
2358
|
-
onChange: onPaginationChange,
|
|
2359
2360
|
pageCount: pageCount,
|
|
2360
2361
|
currentPageNumber: currentPage,
|
|
2361
|
-
|
|
2362
|
+
onChange: onPaginationChange,
|
|
2363
|
+
pageSize: pageSize,
|
|
2364
|
+
localization: localization,
|
|
2365
|
+
resultCount: resultCount
|
|
2362
2366
|
})))))));
|
|
2363
2367
|
}
|
|
2364
2368
|
|