mantine-datatable 6.0.1 → 6.0.3
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 +26 -26
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# Mantine DataTable
|
|
1
|
+
# Mantine DataTable V6
|
|
2
2
|
|
|
3
|
-

|
|
3
|
+

|
|
4
4
|
[![NPM version][npm-image]][npm-url]
|
|
5
5
|
[![License][license-image]][license-url]
|
|
6
6
|
[![Stars][stars-image]][stars-url]
|
|
@@ -13,26 +13,26 @@
|
|
|
13
13
|
⚠️ Mantine DataTable V6 supports Mantine V6.
|
|
14
14
|
💡 Mantine V7 support is in the works, and I could really use your help to speed things up. Please consider [sponsoring my work](https://github.com/sponsors/icflorescu) 🙏
|
|
15
15
|
|
|
16
|
-
The lightweight, dependency-free, "dark-theme aware" [**table component**](https://icflorescu.github.io/mantine-datatable/) 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 context menu, row expansion, nesting, and more.
|
|
16
|
+
The lightweight, dependency-free, "dark-theme aware" [**table component**](https://icflorescu.github.io/mantine-datatable-v6/) 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 context menu, row expansion, nesting, and more.
|
|
17
17
|
|
|
18
|
-
[](https://icflorescu.github.io/mantine-datatable/)
|
|
18
|
+
[](https://icflorescu.github.io/mantine-datatable-v6/)
|
|
19
19
|
|
|
20
20
|
## Features
|
|
21
21
|
|
|
22
22
|
- **Lightweight** - no external dependencies, [no bloat](https://bundlephobia.com/package/mantine-datatable)
|
|
23
23
|
- **Dark theme aware** - works out of the box with [Mantine's dark theme](https://mantine.dev/guides/dark-theme/)
|
|
24
|
-
- **[Fully customizable](https://icflorescu.github.io/mantine-datatable/examples/additional-styling)** - you can customize the look and feel of the table and its components
|
|
25
|
-
- **[Asynchronous data loading](https://icflorescu.github.io/mantine-datatable/examples/asynchronous-data-loading)** - load data from a remote API endpoint and show a loading indicator while waiting for the response
|
|
26
|
-
- **[Pagination](https://icflorescu.github.io/mantine-datatable/examples/pagination)** - split large data sets into pages
|
|
27
|
-
- **[Column sorting](https://icflorescu.github.io/mantine-datatable/examples/sorting)** - sort data by one or more columns
|
|
28
|
-
- **[Custom cell data rendering](https://icflorescu.github.io/mantine-datatable/examples/column-properties)** - render cell data using custom components
|
|
29
|
-
- **[Row context menu](https://icflorescu.github.io/mantine-datatable/examples/row-context-menu)** - show a context menu when right-clicking on a row
|
|
30
|
-
- **[Row expansion](https://icflorescu.github.io/mantine-datatable/examples/expanding-rows)** - expand a row to show additional details
|
|
31
|
-
- **[Nesting](https://icflorescu.github.io/mantine-datatable/examples/nested-tables)** - nest tables to show hierarchical data
|
|
32
|
-
- **[Additive batch rows selection](https://icflorescu.github.io/mantine-datatable/examples/records-selection)** - select or deselect ranges of rows using the Shift key
|
|
33
|
-
- **[Automatically-scrollable](https://icflorescu.github.io/mantine-datatable/examples/scrollable-vs-auto-height)** - automatically scrollable or auto-height
|
|
34
|
-
- **[AutoAnimate support](https://icflorescu.github.io/mantine-datatable/examples/using-with-auto-animate)** - animate row sorting, addition and removal
|
|
35
|
-
- **More** - check out the [full documentation](https://icflorescu.github.io/mantine-datatable/)
|
|
24
|
+
- **[Fully customizable](https://icflorescu.github.io/mantine-datatable-v6/examples/additional-styling)** - you can customize the look and feel of the table and its components
|
|
25
|
+
- **[Asynchronous data loading](https://icflorescu.github.io/mantine-datatable-v6/examples/asynchronous-data-loading)** - load data from a remote API endpoint and show a loading indicator while waiting for the response
|
|
26
|
+
- **[Pagination](https://icflorescu.github.io/mantine-datatable-v6/examples/pagination)** - split large data sets into pages
|
|
27
|
+
- **[Column sorting](https://icflorescu.github.io/mantine-datatable-v6/examples/sorting)** - sort data by one or more columns
|
|
28
|
+
- **[Custom cell data rendering](https://icflorescu.github.io/mantine-datatable-v6/examples/column-properties)** - render cell data using custom components
|
|
29
|
+
- **[Row context menu](https://icflorescu.github.io/mantine-datatable-v6/examples/row-context-menu)** - show a context menu when right-clicking on a row
|
|
30
|
+
- **[Row expansion](https://icflorescu.github.io/mantine-datatable-v6/examples/expanding-rows)** - expand a row to show additional details
|
|
31
|
+
- **[Nesting](https://icflorescu.github.io/mantine-datatable-v6/examples/nested-tables)** - nest tables to show hierarchical data
|
|
32
|
+
- **[Additive batch rows selection](https://icflorescu.github.io/mantine-datatable-v6/examples/records-selection)** - select or deselect ranges of rows using the Shift key
|
|
33
|
+
- **[Automatically-scrollable](https://icflorescu.github.io/mantine-datatable-v6/examples/scrollable-vs-auto-height)** - automatically scrollable or auto-height
|
|
34
|
+
- **[AutoAnimate support](https://icflorescu.github.io/mantine-datatable/examples-v6/using-with-auto-animate)** - animate row sorting, addition and removal
|
|
35
|
+
- **More** - check out the [full documentation](https://icflorescu.github.io/mantine-datatable-v6/)
|
|
36
36
|
|
|
37
37
|
## Trusted by the community
|
|
38
38
|
|
|
@@ -40,25 +40,25 @@ Emil Sorensen @ [kapa.ai](https://kapa.ai/):
|
|
|
40
40
|
|
|
41
41
|
> _Mantine DataTable is a great component that’s core to our web app - it saves us a ton of time and comes with great styling and features out of the box_
|
|
42
42
|
|
|
43
|
-
[](https://icflorescu.github.io/mantine-datatable/)
|
|
43
|
+
[](https://icflorescu.github.io/mantine-datatable-v6/)
|
|
44
44
|
|
|
45
|
-
[Mantine DataTable](https://icflorescu.github.io/mantine-datatable/) is used by developers and startups around the world, such as: [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.
|
|
45
|
+
[Mantine DataTable](https://icflorescu.github.io/mantine-datatable-v6/) is used by developers and startups around the world, such as: [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.
|
|
46
46
|
|
|
47
|
-
If you're using [Mantine DataTable](https://icflorescu.github.io/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/).
|
|
47
|
+
If you're using [Mantine DataTable](https://icflorescu.github.io/mantine-datatable-v6/) 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-v6/).
|
|
48
48
|
|
|
49
49
|
## Full documentation and examples
|
|
50
50
|
|
|
51
|
-
Visit [icflorescu.github.io/mantine-datatable](https://icflorescu.github.io/mantine-datatable/) to view the full documentation and learn how to use it by browsing a comprehensive list of examples.
|
|
51
|
+
Visit [icflorescu.github.io/mantine-datatable-v6](https://icflorescu.github.io/mantine-datatable-v6/) to view the full documentation and learn how to use it by browsing a comprehensive list of examples.
|
|
52
52
|
|
|
53
53
|
## Quickstart
|
|
54
54
|
|
|
55
|
-
Install the package and its dependencies (Mantine
|
|
55
|
+
Install the package and its dependencies (this package supports Mantine V6; the V7 version is under development):
|
|
56
56
|
|
|
57
57
|
```sh
|
|
58
|
-
npm i @mantine/core@6
|
|
58
|
+
npm i @mantine/core@6 @mantine/hooks@6 @emotion/react mantine-datatable@6
|
|
59
59
|
```
|
|
60
60
|
|
|
61
|
-
If you're using Next.js, Vite, CRA, Remix or Gatsby, you might need to install additional dependencies. Please refer to Mantine's [getting started page](https://mantine.dev/pages/getting-started/) for more details.
|
|
61
|
+
If you're using Next.js, Vite, CRA, Remix or Gatsby, you might need to install additional dependencies. Please refer to Mantine's [getting started page](https://v6.mantine.dev/pages/getting-started/) for more details.
|
|
62
62
|
|
|
63
63
|
Use it in your code:
|
|
64
64
|
|
|
@@ -109,17 +109,17 @@ export default function GettingStartedExample() {
|
|
|
109
109
|
}
|
|
110
110
|
```
|
|
111
111
|
|
|
112
|
-
Make sure to browse the comprehensive list of [usage examples](https://icflorescu.github.io/mantine-datatable/examples/basic-usage) to learn how to unleash the full power of Mantine DataTable.
|
|
112
|
+
Make sure to browse the comprehensive list of [usage examples](https://icflorescu.github.io/mantine-datatable-v6/examples/basic-usage) to learn how to unleash the full power of Mantine DataTable.
|
|
113
113
|
|
|
114
114
|
## Other useful resources
|
|
115
115
|
|
|
116
|
-
Mantine DataTable had the context-menu functionality baked in since its early days. If you're looking to use a context menu in other parts of your application, you might want to check out [Mantine Context Menu](https://icflorescu.github.io/mantine-contextmenu/).
|
|
116
|
+
Mantine DataTable had the context-menu functionality baked in since its early days. If you're looking to use a context menu in other parts of your application, you might want to check out [Mantine Context Menu](https://icflorescu.github.io/mantine-contextmenu-v6/).
|
|
117
117
|
|
|
118
118
|
## Code contributors
|
|
119
119
|
|
|
120
120
|
[](https://github.com/icflorescu/mantine-datatable/graphs/contributors)
|
|
121
121
|
|
|
122
|
-
Want to [become a code contributor](https://icflorescu.github.io/mantine-datatable/contribute-and-support)?
|
|
122
|
+
Want to [become a code contributor](https://icflorescu.github.io/mantine-datatable-v6/contribute-and-support)?
|
|
123
123
|
|
|
124
124
|
## Sponsor the project
|
|
125
125
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mantine-datatable",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.3",
|
|
4
4
|
"description": "The dependency-free 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
|
"mantine",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"@mantine/core": "^6.0.21",
|
|
60
60
|
"@mantine/hooks": "^6.0.21",
|
|
61
61
|
"@tabler/icons-react": "^2.39.0",
|
|
62
|
-
"@types/react": "^18.2.
|
|
62
|
+
"@types/react": "^18.2.31",
|
|
63
63
|
"@types/react-dom": "^18.2.14",
|
|
64
64
|
"esbuild": "^0.19.5",
|
|
65
65
|
"react": "^18.2.0",
|