mantine-datatable 2.5.3 → 2.5.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/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/types/DataTableColumn.d.ts +4 -4
- package/package.json +8 -8
|
@@ -26,11 +26,11 @@ export type DataTableColumn<T> = {
|
|
|
26
26
|
*/
|
|
27
27
|
sortable?: boolean;
|
|
28
28
|
/**
|
|
29
|
-
* Optional node
|
|
29
|
+
* Optional node providing the user with filtering options.
|
|
30
30
|
* If present, a filter button will be added to the column's header. Upon clicking that button,
|
|
31
|
-
* a pop-over
|
|
31
|
+
* a pop-over showing the provided node will be opened.
|
|
32
32
|
*
|
|
33
|
-
* Alternatively a
|
|
33
|
+
* Alternatively, a function returning a node can be provided. The function receives props with a `close`
|
|
34
34
|
* method which allows programatically closing the pop-over.
|
|
35
35
|
*
|
|
36
36
|
* ```tsx
|
|
@@ -49,7 +49,7 @@ export type DataTableColumn<T> = {
|
|
|
49
49
|
* ```
|
|
50
50
|
*
|
|
51
51
|
* Note: this property only takes care of rendering the node which provides the filtering options.
|
|
52
|
-
* It is assumed that the actual filtering is performed somewhere in user
|
|
52
|
+
* It is assumed that the actual filtering is performed somewhere in user code.
|
|
53
53
|
*/
|
|
54
54
|
filter?: ReactNode | ((filterProps: {
|
|
55
55
|
close: () => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mantine-datatable",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.5",
|
|
4
4
|
"description": "Datatable component for Mantine UI, featuring asynchronous data loading support, pagination, multple rows selection, column sorting, custom cell data rendering, row context menu, row expansion and more",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ui",
|
|
@@ -49,18 +49,18 @@
|
|
|
49
49
|
"test:watch": "jest --watch"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@mantine/core": "^6.0.
|
|
53
|
-
"@mantine/hooks": "^6.0.
|
|
54
|
-
"@tabler/icons-react": "^2.
|
|
55
|
-
"@types/react": "^18.2.
|
|
52
|
+
"@mantine/core": "^6.0.13",
|
|
53
|
+
"@mantine/hooks": "^6.0.13",
|
|
54
|
+
"@tabler/icons-react": "^2.21.0",
|
|
55
|
+
"@types/react": "^18.2.8",
|
|
56
56
|
"@types/react-dom": "^18.2.4",
|
|
57
57
|
"esbuild": "^0.17.19",
|
|
58
58
|
"react": "^18.2.0",
|
|
59
|
-
"typescript": "^5.
|
|
59
|
+
"typescript": "^5.1.3"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|
|
62
|
-
"@mantine/core": "^6.0.
|
|
63
|
-
"@mantine/hooks": "^6.0.
|
|
62
|
+
"@mantine/core": "^6.0.13",
|
|
63
|
+
"@mantine/hooks": "^6.0.13",
|
|
64
64
|
"react": "^18.2.0"
|
|
65
65
|
}
|
|
66
66
|
}
|