@availity/mui-table 0.1.22 → 0.1.24

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
@@ -2,6 +2,18 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [0.1.24](https://github.com/Availity/element/compare/@availity/mui-table@0.1.23...@availity/mui-table@0.1.24) (2024-10-15)
6
+
7
+ ### Dependency Updates
8
+
9
+ * `mui-pagination` updated to version `0.1.23`
10
+ ## [0.1.23](https://github.com/Availity/element/compare/@availity/mui-table@0.1.22...@availity/mui-table@0.1.23) (2024-10-04)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * **mui-table:** remove pagination overrides ([dca84d1](https://github.com/Availity/element/commit/dca84d1e8190ae910e331ba966fadae16f600396))
16
+
5
17
  ## [0.1.22](https://github.com/Availity/element/compare/@availity/mui-table@0.1.21...@availity/mui-table@0.1.22) (2024-10-01)
6
18
 
7
19
  ### Dependency Updates
package/dist/index.d.mts CHANGED
@@ -59,7 +59,7 @@ type TablePaginationProps = {
59
59
  component?: ElementType<TableCellBaseProps>;
60
60
  /** Props applied to the `Pagination` actions element */
61
61
  paginationProps?: PaginationProps;
62
- } & Omit<TablePaginationProps$1, 'ActionsComponent' | 'backIconButtonProps' | 'nextIconButtonProps' | 'getItemArialabel' | 'labelDisplayedRows' | 'labelRowsPerPage' | 'showFirstButton' | 'showLastButton'>;
62
+ } & Omit<TablePaginationProps$1, 'ActionsComponent' | 'backIconButtonProps' | 'nextIconButtonProps' | 'getItemArialabel' | 'labelDisplayedRows' | 'labelRowsPerPage' | 'SelectProps' | 'showFirstButton' | 'showLastButton' | 'slotProps' | 'slots'>;
63
63
  declare const TablePagination: react.ForwardRefExoticComponent<Omit<TablePaginationProps, "ref"> & react.RefAttributes<unknown>>;
64
64
 
65
65
  type TableRowProps = {
package/dist/index.d.ts CHANGED
@@ -59,7 +59,7 @@ type TablePaginationProps = {
59
59
  component?: ElementType<TableCellBaseProps>;
60
60
  /** Props applied to the `Pagination` actions element */
61
61
  paginationProps?: PaginationProps;
62
- } & Omit<TablePaginationProps$1, 'ActionsComponent' | 'backIconButtonProps' | 'nextIconButtonProps' | 'getItemArialabel' | 'labelDisplayedRows' | 'labelRowsPerPage' | 'showFirstButton' | 'showLastButton'>;
62
+ } & Omit<TablePaginationProps$1, 'ActionsComponent' | 'backIconButtonProps' | 'nextIconButtonProps' | 'getItemArialabel' | 'labelDisplayedRows' | 'labelRowsPerPage' | 'SelectProps' | 'showFirstButton' | 'showLastButton' | 'slotProps' | 'slots'>;
63
63
  declare const TablePagination: react.ForwardRefExoticComponent<Omit<TablePaginationProps, "ref"> & react.RefAttributes<unknown>>;
64
64
 
65
65
  type TableRowProps = {
package/dist/index.js CHANGED
@@ -168,13 +168,7 @@ var TablePagination = (0, import_react.forwardRef)((props, ref) => {
168
168
  page: page + 1,
169
169
  onChange: (event, newPage) => {
170
170
  onPageChange(event, newPage - 1);
171
- },
172
- boundaryCount: 0,
173
- siblingCount: 1,
174
- hidePrevButton: true,
175
- hideNextButton: true,
176
- showFirstButton: true,
177
- showLastButton: true
171
+ }
178
172
  })
179
173
  ) : null,
180
174
  Actions || null
package/dist/index.mjs CHANGED
@@ -135,13 +135,7 @@ var TablePagination = forwardRef((props, ref) => {
135
135
  page: page + 1,
136
136
  onChange: (event, newPage) => {
137
137
  onPageChange(event, newPage - 1);
138
- },
139
- boundaryCount: 0,
140
- siblingCount: 1,
141
- hidePrevButton: true,
142
- hideNextButton: true,
143
- showFirstButton: true,
144
- showLastButton: true
138
+ }
145
139
  })
146
140
  ) : null,
147
141
  Actions || null
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@availity/mui-table",
3
- "version": "0.1.22",
3
+ "version": "0.1.24",
4
4
  "description": "Availity MUI Table Component - part of the @availity/element design system",
5
5
  "keywords": [
6
6
  "react",
@@ -19,8 +19,11 @@ export type TablePaginationProps = {
19
19
  | 'getItemArialabel'
20
20
  | 'labelDisplayedRows'
21
21
  | 'labelRowsPerPage'
22
+ | 'SelectProps'
22
23
  | 'showFirstButton'
23
24
  | 'showLastButton'
25
+ | 'slotProps'
26
+ | 'slots'
24
27
  >;
25
28
 
26
29
  type TablePaginationActionsProps = {
@@ -47,12 +50,6 @@ export const TablePagination = forwardRef<unknown, TablePaginationProps>((props,
47
50
  onChange={(event: React.MouseEvent<HTMLButtonElement>, newPage) => {
48
51
  onPageChange(event, newPage - 1);
49
52
  }}
50
- boundaryCount={0}
51
- siblingCount={1}
52
- hidePrevButton
53
- hideNextButton
54
- showFirstButton
55
- showLastButton
56
53
  />
57
54
  ) : null}
58
55
  {Actions || null}