@availity/mui-table 0.1.22 → 0.1.23
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 +7 -0
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -7
- package/dist/index.mjs +1 -7
- package/package.json +1 -1
- package/src/lib/TablePagination.tsx +3 -6
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [0.1.23](https://github.com/Availity/element/compare/@availity/mui-table@0.1.22...@availity/mui-table@0.1.23) (2024-10-04)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **mui-table:** remove pagination overrides ([dca84d1](https://github.com/Availity/element/commit/dca84d1e8190ae910e331ba966fadae16f600396))
|
|
11
|
+
|
|
5
12
|
## [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
13
|
|
|
7
14
|
### 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
|
@@ -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}
|