mantine-datatable 7.3.4 → 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 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
- [![Mantine DataTable](https://user-images.githubusercontent.com/581999/279479387-525bb797-cb15-4739-85c6-94ceded94bc1.png)](https://icflorescu.github.io/mantine-datatable/)
15
+ [![Mantine DataTable](https://user-images.githubusercontent.com/581999/294180790-93289cec-4d73-47b5-988f-8c93dd3443fe.png)](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).**
@@ -45,7 +45,7 @@ The lightweight, dependency-free, **dark-theme aware** table component for your
45
45
 
46
46
  > _Thank you for the wonderful, useful, and beautiful DataTable that has allowed me to create several applications without any problem 👏_
47
47
 
48
- Mantine DataTable is used by developers and startups around the world, such as: [Namecheap](https://www.namecheap.com/), [EasyWP](https://www.easywp.com/), [kapa.ai](https://kapa.ai/), [exdatis.ai](https://exdatis.ai/), [teachfloor](https://www.teachfloor.com/), [MARKUP](https://www.getmarkup.com/), [BookieBase](https://bookiebase.ie/), [zipline](https://zipline.diced.tech/), [Pachtop](https://github.com/pacholoamit/pachtop), [Ganymede](https://github.com/Zibbp/ganymede), [COH3 Stats](https://coh3stats.com/), [Culver City Rental Registry](https://www.ccrentals.org/) and many more.
48
+ Mantine DataTable is used by developers and companies around the world, such as: [Namecheap](https://www.namecheap.com/), [EasyWP](https://www.easywp.com/), [kapa.ai](https://kapa.ai/), [exdatis.ai](https://exdatis.ai/), [teachfloor](https://www.teachfloor.com/), [MARKUP](https://www.getmarkup.com/), [BookieBase](https://bookiebase.ie/), [zipline](https://zipline.diced.tech/), [Pachtop](https://github.com/pacholoamit/pachtop), [Ganymede](https://github.com/Zibbp/ganymede), [COH3 Stats](https://coh3stats.com/), [Culver City Rental Registry](https://www.ccrentals.org/) and many more.
49
49
 
50
50
  If you're using Mantine DataTable in your project, please drop me a line at the email address listed in my [GitHub profile](https://github.com/icflorescu) and I'll be happy to add it to the list and on the [documentation website](https://icflorescu.github.io/mantine-datatable/).
51
51
 
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.4",
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.3.2",
79
- "@mantine/core": "^7.3.2",
80
- "@mantine/dates": "^7.3.2",
81
- "@mantine/hooks": "^7.3.2",
82
- "@mantine/modals": "^7.3.2",
83
- "@mantine/notifications": "^7.3.2",
84
- "@tabler/icons-react": "^2.44.0",
85
- "@tanstack/react-query": "^5.15.0",
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.5",
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.16.0",
91
- "@typescript-eslint/parser": "^6.16.0",
92
- "clsx": "^2.0.0",
93
- "cssnano": "^6.0.2",
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": "^15.1.0",
104
- "postcss-preset-mantine": "^1.12.2",
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",