mantine-datatable 7.3.5 → 7.4.0
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/README.md +1 -1
- package/dist/index.d.ts +2 -2
- package/package.json +16 -16
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
The lightweight, dependency-free, **dark-theme aware** table component for your Mantine UI data-rich applications, featuring asynchronous data loading support, pagination, intuitive Gmail-style additive batch rows selection, column sorting, custom cell data rendering, row expansion, nesting, context menus, and [much more](https://icflorescu.github.io/mantine-datatable/).
|
|
14
14
|
|
|
15
|
-
[](https://icflorescu.github.io/mantine-datatable/)
|
|
16
16
|
|
|
17
17
|
**⚠️ Mantine DataTable V7 is compatible with Mantine V7.**
|
|
18
18
|
**💡 If you're looking for the old version that works with [Mantine V6](https://v6.mantine.dev), head over to [Mantine DataTable V6](https://icflorescu.github.io/mantine-datatable-v6).**
|
package/dist/index.d.ts
CHANGED
|
@@ -625,10 +625,9 @@ type DataTableSortStatus<T = Record<string, unknown>> = {
|
|
|
625
625
|
direction: 'asc' | 'desc';
|
|
626
626
|
};
|
|
627
627
|
|
|
628
|
-
type DataTableSortProps<T = Record<string, unknown>> = {
|
|
628
|
+
type DataTableSortProps<T = Record<string, unknown>> = ({
|
|
629
629
|
sortStatus?: never;
|
|
630
630
|
onSortStatusChange?: never;
|
|
631
|
-
sortIcons?: never;
|
|
632
631
|
} | {
|
|
633
632
|
/**
|
|
634
633
|
* Current sort status (sort column accessor & direction).
|
|
@@ -639,6 +638,7 @@ type DataTableSortProps<T = Record<string, unknown>> = {
|
|
|
639
638
|
* Receives the new sort status as argument.
|
|
640
639
|
*/
|
|
641
640
|
onSortStatusChange?: (sortStatus: DataTableSortStatus<T>) => void;
|
|
641
|
+
}) & {
|
|
642
642
|
/**
|
|
643
643
|
* Custom sort icons.
|
|
644
644
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mantine-datatable",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.4.0",
|
|
4
4
|
"description": "The lightweight, dependency-free, dark-theme aware table component for your Mantine UI data-rich applications, featuring asynchronous data loading support, pagination, intuitive Gmail-style additive batch rows selection, column sorting, custom cell data rendering, row expansion, nesting, context menus, and much more",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mantine",
|
|
@@ -75,22 +75,22 @@
|
|
|
75
75
|
"@ducanh2912/next-pwa": "^10.0.2",
|
|
76
76
|
"@faker-js/faker": "^8.3.1",
|
|
77
77
|
"@formkit/auto-animate": "^0.8.1",
|
|
78
|
-
"@mantine/code-highlight": "^7.
|
|
79
|
-
"@mantine/core": "^7.
|
|
80
|
-
"@mantine/dates": "^7.
|
|
81
|
-
"@mantine/hooks": "^7.
|
|
82
|
-
"@mantine/modals": "^7.
|
|
83
|
-
"@mantine/notifications": "^7.
|
|
84
|
-
"@tabler/icons-react": "^2.
|
|
85
|
-
"@tanstack/react-query": "^5.
|
|
78
|
+
"@mantine/code-highlight": "^7.4.0",
|
|
79
|
+
"@mantine/core": "^7.4.0",
|
|
80
|
+
"@mantine/dates": "^7.4.0",
|
|
81
|
+
"@mantine/hooks": "^7.4.0",
|
|
82
|
+
"@mantine/modals": "^7.4.0",
|
|
83
|
+
"@mantine/notifications": "^7.4.0",
|
|
84
|
+
"@tabler/icons-react": "^2.45.0",
|
|
85
|
+
"@tanstack/react-query": "^5.17.1",
|
|
86
86
|
"@types/lodash": "^4.14.202",
|
|
87
|
-
"@types/node": "^20.10.
|
|
87
|
+
"@types/node": "^20.10.6",
|
|
88
88
|
"@types/react": "^18.2.46",
|
|
89
89
|
"@types/react-dom": "^18.2.18",
|
|
90
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
|
91
|
-
"@typescript-eslint/parser": "^6.
|
|
92
|
-
"clsx": "^2.
|
|
93
|
-
"cssnano": "^6.0.
|
|
90
|
+
"@typescript-eslint/eslint-plugin": "^6.17.0",
|
|
91
|
+
"@typescript-eslint/parser": "^6.17.0",
|
|
92
|
+
"clsx": "^2.1.0",
|
|
93
|
+
"cssnano": "^6.0.3",
|
|
94
94
|
"dayjs": "^1.11.10",
|
|
95
95
|
"eslint": "^8.56.0",
|
|
96
96
|
"eslint-config-next": "^14.0.4",
|
|
@@ -100,8 +100,8 @@
|
|
|
100
100
|
"next": "14.0.4",
|
|
101
101
|
"postcss": "^8.4.32",
|
|
102
102
|
"postcss-cli": "^11.0.0",
|
|
103
|
-
"postcss-import": "^
|
|
104
|
-
"postcss-preset-mantine": "^1.12.
|
|
103
|
+
"postcss-import": "^16.0.0",
|
|
104
|
+
"postcss-preset-mantine": "^1.12.3",
|
|
105
105
|
"postcss-simple-vars": "^7.0.1",
|
|
106
106
|
"prettier": "^3.1.1",
|
|
107
107
|
"react": "^18.2.0",
|