mantine-datatable 6.0.0 → 6.0.2
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 -23
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -5
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]
|
|
@@ -10,26 +10,29 @@
|
|
|
10
10
|
[![Language][language-image]][repo-url]
|
|
11
11
|
[![Sponsor the author][sponsor-image]][sponsor-url]
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
⚠️ Mantine DataTable V6 supports Mantine V6.
|
|
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) 🙏
|
|
14
15
|
|
|
15
|
-
|
|
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
|
+
|
|
18
|
+
[](https://icflorescu.github.io/mantine-datatable-v6/)
|
|
16
19
|
|
|
17
20
|
## Features
|
|
18
21
|
|
|
19
22
|
- **Lightweight** - no external dependencies, [no bloat](https://bundlephobia.com/package/mantine-datatable)
|
|
20
23
|
- **Dark theme aware** - works out of the box with [Mantine's dark theme](https://mantine.dev/guides/dark-theme/)
|
|
21
|
-
- **[Fully customizable](https://icflorescu.github.io/mantine-datatable/examples/additional-styling)** - you can customize the look and feel of the table and its components
|
|
22
|
-
- **[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
|
|
23
|
-
- **[Pagination](https://icflorescu.github.io/mantine-datatable/examples/pagination)** - split large data sets into pages
|
|
24
|
-
- **[Column sorting](https://icflorescu.github.io/mantine-datatable/examples/sorting)** - sort data by one or more columns
|
|
25
|
-
- **[Custom cell data rendering](https://icflorescu.github.io/mantine-datatable/examples/column-properties)** - render cell data using custom components
|
|
26
|
-
- **[Row context menu](https://icflorescu.github.io/mantine-datatable/examples/row-context-menu)** - show a context menu when right-clicking on a row
|
|
27
|
-
- **[Row expansion](https://icflorescu.github.io/mantine-datatable/examples/expanding-rows)** - expand a row to show additional details
|
|
28
|
-
- **[Nesting](https://icflorescu.github.io/mantine-datatable/examples/nested-tables)** - nest tables to show hierarchical data
|
|
29
|
-
- **[Additive batch rows selection](https://icflorescu.github.io/mantine-datatable/examples/records-selection)** - select or deselect ranges of rows using the Shift key
|
|
30
|
-
- **[Automatically-scrollable](https://icflorescu.github.io/mantine-datatable/examples/scrollable-vs-auto-height)** - automatically scrollable or auto-height
|
|
31
|
-
- **[AutoAnimate support](https://icflorescu.github.io/mantine-datatable/examples/using-with-auto-animate)** - animate row sorting, addition and removal
|
|
32
|
-
- **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/)
|
|
33
36
|
|
|
34
37
|
## Trusted by the community
|
|
35
38
|
|
|
@@ -39,20 +42,20 @@ Emil Sorensen @ [kapa.ai](https://kapa.ai/):
|
|
|
39
42
|
|
|
40
43
|
[](https://icflorescu.github.io/mantine-datatable/)
|
|
41
44
|
|
|
42
|
-
[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.
|
|
43
46
|
|
|
44
|
-
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/).
|
|
45
48
|
|
|
46
49
|
## Full documentation and examples
|
|
47
50
|
|
|
48
|
-
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.
|
|
49
52
|
|
|
50
53
|
## Quickstart
|
|
51
54
|
|
|
52
55
|
Install the package and its dependencies (Mantine v7 is not currently supported, so use v6.0.21):
|
|
53
56
|
|
|
54
57
|
```sh
|
|
55
|
-
npm i @mantine/core@6
|
|
58
|
+
npm i @mantine/core@6 @mantine/hooks@6 @emotion/react mantine-datatable@6
|
|
56
59
|
```
|
|
57
60
|
|
|
58
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.
|
|
@@ -106,17 +109,17 @@ export default function GettingStartedExample() {
|
|
|
106
109
|
}
|
|
107
110
|
```
|
|
108
111
|
|
|
109
|
-
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.
|
|
110
113
|
|
|
111
114
|
## Other useful resources
|
|
112
115
|
|
|
113
|
-
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/).
|
|
114
117
|
|
|
115
118
|
## Code contributors
|
|
116
119
|
|
|
117
120
|
[](https://github.com/icflorescu/mantine-datatable/graphs/contributors)
|
|
118
121
|
|
|
119
|
-
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)?
|
|
120
123
|
|
|
121
124
|
## Sponsor the project
|
|
122
125
|
|