mantine-datatable 2.5.4 → 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.
@@ -26,11 +26,11 @@ export type DataTableColumn<T> = {
26
26
  */
27
27
  sortable?: boolean;
28
28
  /**
29
- * Optional node which provides the user with filtering options.
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 will be opened which shows the provided node.
31
+ * a pop-over showing the provided node will be opened.
32
32
  *
33
- * Alternatively a method returning a node can be provided. It is provided props with a `close`
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-land.
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.4",
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",
@@ -51,12 +51,12 @@
51
51
  "devDependencies": {
52
52
  "@mantine/core": "^6.0.13",
53
53
  "@mantine/hooks": "^6.0.13",
54
- "@tabler/icons-react": "^2.20.0",
55
- "@types/react": "^18.2.7",
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.0.4"
59
+ "typescript": "^5.1.3"
60
60
  },
61
61
  "peerDependencies": {
62
62
  "@mantine/core": "^6.0.13",