Skip to content

Commit bdb3f6b

Browse files
authored
Merge pull request #720 from icflorescu/next
V8.1 & bug fixes
2 parents b276a72 + 17c54dc commit bdb3f6b

File tree

58 files changed

+6776
-4654
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+6776
-4654
lines changed

.eslintignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

.eslintrc.json

Lines changed: 0 additions & 8 deletions
This file was deleted.

.github/workflows/publish-and-deploy.yml

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name: Publish npm & deploy docs
22

33
on:
4-
# Runs on pushes targeting the default branch
54
push:
65
branches: ['main']
76

@@ -14,43 +13,50 @@ permissions:
1413
pages: write
1514
id-token: write
1615

17-
# Allow one concurrent deployment
1816
concurrency:
1917
group: 'pages'
2018
cancel-in-progress: true
2119

2220
jobs:
23-
# Build job
2421
build:
2522
runs-on: ubuntu-latest
2623
steps:
2724
- name: Checkout
2825
uses: actions/checkout@v4
26+
27+
- name: Install pnpm
28+
uses: pnpm/action-setup@v4
29+
with:
30+
version: 10
31+
run_install: false
32+
2933
- name: Setup Node.js
3034
uses: actions/setup-node@v4
3135
with:
32-
node-version: '22.11'
33-
cache: yarn
34-
- name: Restore cache
36+
node-version: 24.2
37+
cache: pnpm
38+
39+
- name: Restore pnpm store
3540
uses: actions/cache@v4
3641
with:
37-
path: |
38-
.next/cache
39-
# Generate a new cache whenever packages or source files change.
40-
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
41-
# If source files changed but packages didn't, rebuild from a prior cache.
42+
path: ~/.pnpm-store
43+
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
4244
restore-keys: |
43-
${{ runner.os }}-nextjs-${{ hashFiles('**/yarn.lock') }}-
45+
${{ runner.os }}-pnpm-store-
46+
4447
- name: Install dependencies
45-
run: yarn install
48+
run: pnpm install
49+
4650
- name: Build
47-
run: yarn build
4851
env:
4952
GITHUB_PAGES: 'TRUE'
53+
run: pnpm build
54+
5055
- name: Upload pages artifact
5156
uses: actions/upload-pages-artifact@v3
5257
with:
5358
path: ./out
59+
5460
- name: Upload package artifact
5561
uses: actions/upload-artifact@v4
5662
with:
@@ -61,7 +67,6 @@ jobs:
6167
./README.md
6268
./LICENSE
6369
64-
# NPM publishing job
6570
publish:
6671
environment:
6772
name: npm-registry
@@ -75,7 +80,6 @@ jobs:
7580
with:
7681
token: ${{ secrets.NPM_TOKEN }}
7782

78-
# Pages deployment job
7983
deploy:
8084
environment:
8185
name: github-pages

.gitignore

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@
88
# misc
99
.DS_Store
1010

11-
# debug
12-
yarn-debug.log*
13-
yarn-error.log*
14-
1511
# typescript
1612
*.tsbuildinfo
1713
next-env.d.ts

.vscode/settings.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
{
2+
"editor.codeActionsOnSave": {
3+
"source.organizeImports": "explicit",
4+
"source.fixAll.eslint": "explicit"
5+
},
6+
"files.associations": {
7+
"*.css": "postcss"
8+
},
29
"editor.unicodeHighlight.ambiguousCharacters": false,
310
"postcss.validate": false,
411
"cssVariables.lookupFiles": ["node_modules/@mantine/core/esm/index.css"]

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@
33
The following is a list of notable changes to the Mantine DataTable component.
44
Minor versions that are not listed in the changelog are bug fixes and small improvements.
55

6+
## 8.1.0 (2025-03-11)
7+
8+
- Update dependencies to ensure compatibility with Mantine 8.1 and Next.js 15.3
9+
- Fix [#698](https://github.com/icflorescu/mantine-datatable/issues/698) - first column header not pinned when using row selection
10+
- Fix [#700](https://github.com/icflorescu/mantine-datatable/issues/700) - hydration error in row dragging example
11+
- Upgrade development workflow to eslint v9 & fix linting rules
12+
- Minor improvements to docs website
13+
- Switch to pnpm for package management
14+
- Update peer dependency versions to Mantine `>=8.1` and React `>=19`
15+
616
## 7.17.1 (2025-03-06)
717

818
- Update dev dependencies to ensure compatibility with Mantine 7.17.1 and Next.js 15.2

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2023 Ionuț-Cristian Florescu
3+
Copyright (c) 2022 – 2025 Ionuț-Cristian Florescu
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The [lightweight](https://bundlephobia.com/package/mantine-datatable), dependenc
1414

1515
[![Mantine DataTable](https://user-images.githubusercontent.com/581999/294180790-93289cec-4d73-47b5-988f-8c93dd3443fe.png)](https://icflorescu.github.io/mantine-datatable/)
1616

17-
**⚠️ Mantine DataTable V7 is compatible with Mantine V7.**
17+
**⚠️ Mantine DataTable V7+ is compatible with Mantine V7+.**
1818
**💡 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).**
1919

2020
## Features

app/(home)/HomePageSubtitle.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export function HomePageSubtitle() {
2424
<Text size="sm">
2525
compatible with{' '}
2626
<ExternalLink className="nowrap" to={MANTINE_LINK}>
27-
Mantine V7 <IconExternalLink className={classes.linkIcon} />
27+
Mantine V8.1 <IconExternalLink className={classes.linkIcon} />
2828
</ExternalLink>
2929
</Text>
3030
</Group>

app/config.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
import type { MantineColor } from '@mantine/core';
2+
import type { Icon, IconProps } from '@tabler/icons-react';
23
import {
3-
Icon,
44
IconAdjustments,
55
IconBrandCss3,
66
IconHeartHandshake,
77
IconHome,
88
IconList,
9-
IconProps,
109
IconQuestionMark,
1110
IconRocket,
1211
IconThumbUp,
1312
} from '@tabler/icons-react';
1413
import type { Route } from 'next';
15-
import { ForwardRefExoticComponent, RefAttributes } from 'react';
14+
import type { ForwardRefExoticComponent, RefAttributes } from 'react';
1615

1716
export const PRODUCT_NAME = 'Mantine DataTable';
1817
export const PRODUCT_DESCRIPTION =

0 commit comments

Comments
 (0)