@neeyo/mantine-datatable 0.1.0 → 0.2.1
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 +2 -1
- package/dist/index.d.mts +1195 -0
- package/dist/index.d.ts +1088 -1005
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +41 -21
- package/dist/styles.layer.css +42 -22
- package/package.json +39 -30
package/README.md
CHANGED
|
@@ -18,7 +18,7 @@ The [lightweight](https://bundlephobia.com/package/@neeyo/mantine-datatable), de
|
|
|
18
18
|
|
|
19
19
|
## Features
|
|
20
20
|
|
|
21
|
-
- **Lightweight** -
|
|
21
|
+
- **Lightweight** - [no bloat](https://bundlephobia.com/package/@neeyo/mantine-datatable), with [@tanstack/react-virtual](https://tanstack.com/virtual) as the only runtime dependency besides the Mantine peer dependencies
|
|
22
22
|
- **Dark-theme aware** - automatically adapts to the current [Mantine color scheme](https://mantine.dev/theming/color-schemes/)
|
|
23
23
|
- **[Fully customizable](https://documatrix.github.io/mantine-datatable/examples/overriding-the-default-styles)** - you can customize the look and feel of the table and its components
|
|
24
24
|
- **[Asynchronous data loading](https://documatrix.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
|
|
@@ -29,6 +29,7 @@ The [lightweight](https://bundlephobia.com/package/@neeyo/mantine-datatable), de
|
|
|
29
29
|
- **[Nesting](https://documatrix.github.io/mantine-datatable/examples/nested-tables)** - nest tables to show hierarchical data
|
|
30
30
|
- **[Additive batch rows selection](https://documatrix.github.io/mantine-datatable/examples/records-selection)** - select or deselect ranges of rows using the Shift key
|
|
31
31
|
- **[Automatically-scrollable](https://documatrix.github.io/mantine-datatable/examples/scrollable-vs-auto-height)** - automatically scrollable or auto-height
|
|
32
|
+
- **[Virtualization](https://documatrix.github.io/mantine-datatable/examples/virtualization)** - smoothly handle many thousands of records by only rendering the visible rows, powered by [@tanstack/react-virtual](https://tanstack.com/virtual)
|
|
32
33
|
- **[AutoAnimate support](https://documatrix.github.io/mantine-datatable/examples/using-with-auto-animate)** - animate row sorting, addition and removal
|
|
33
34
|
- **[Column reordering, toggling](https://documatrix.github.io/mantine-datatable/examples/column-dragging-and-toggling)** and **[resizing](https://documatrix.github.io/mantine-datatable/examples/column-resizing)** - persisted to local storage
|
|
34
35
|
- **[Drag-and-drop support](https://documatrix.github.io/mantine-datatable/examples/row-dragging)** - implemented using [@hello-pangea/dnd](https://github.com/hello-pangea/dnd)
|