Skip to content

Commit

Permalink
release v1.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinVandy committed Oct 3, 2023
1 parent 9d6741a commit bab0c54
Show file tree
Hide file tree
Showing 5 changed files with 61 additions and 8 deletions.
32 changes: 31 additions & 1 deletion apps/mantine-react-table-docs/pages/changelog.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import Head from 'next/head';
import { Alert, Anchor } from '@mantine/core';
import { IconInfoCircle } from '@tabler/icons-react';

<Head>
<title>Changelog and Roadmap - Mantine React Table Docs</title>
Expand All @@ -10,8 +12,36 @@ import Head from 'next/head';

## Changelog

<Alert
variant="light"
color="blue"
title="Mantine React Table V2 is Coming"
icon={<IconInfoCircle />}
>
{'Mantine React Table V2 for Mantine V7 is currently in development. See '}
<Anchor
sx={{ display: 'inline' }}
href="https://v2.mantine-react-table.com"
target="_blank"
>
{'v2.mantine-react-table.com'}
</Anchor>
{' for more info.'}
<br />
{'Or join the '}
<Anchor sx={{ display: 'inline' }} href="https://discord.gg/5wqyRx6fnm" target="_blank">
{'MRT Discord'}
</Anchor>
{' to follow along with development.'}
</Alert>

### V1

#### V1.3.2 - 2023-10-03

- Fixed `creatingRow` state not able to be properly self managed when using `onCreatingRowChange`
- Fixed French selected rows translation error

#### V1.3.1 - 2023-09-25

- Upgraded to latest TanStack Table `v8.10.3` various performance improvements and bug fixes
Expand Down Expand Up @@ -176,4 +206,4 @@ import Head from 'next/head';

## Roadmap

Mantine React Table v1 is slated to release a stable v1.0 based on Mantine v6.0+ by the end of June 2023.
Mantine React Table V2 will be released by the end of 2023 and will be compatible with Mantine V7.
26 changes: 24 additions & 2 deletions apps/mantine-react-table-docs/pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
import Link from 'next/link';
import Image from 'next/image';
import { Anchor, Box, Button, Paper, Stack, Text, Title } from '@mantine/core';
import { IconChevronRight } from '@tabler/icons-react';
import {
Alert,
Anchor,
Box,
Button,
Paper,
Stack,
Text,
Title,
} from '@mantine/core';
import { IconChevronRight, IconInfoCircle } from '@tabler/icons-react';
import { HomeCards } from '../components/mdx/HomeCards';
import { LinkCards } from '../components/mdx/LinkCards';
import { StatBadges } from '../components/mdx/StatBadges';
Expand All @@ -17,6 +26,19 @@ import BasicExamples from '../example-groups/BasicExamples';
const HomePage = () => {
return (
<Stack sx={{ maxWidth: '1240px', margin: 'auto', paddingTop: '2rem' }}>
<Alert variant="light" color="blue" icon={<IconInfoCircle />}>
{
'Mantine React Table V2 for Mantine V7 is currently in development. See '
}
<Anchor
sx={{ display: 'inline' }}
href="https://v2.mantine-react-table.com"
target="_blank"
>
{'v2.mantine-react-table.com'}
</Anchor>
{' for more info.'}
</Alert>
<Title
sx={{
textAlign: 'center',
Expand Down
2 changes: 1 addition & 1 deletion packages/mantine-react-table/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.3.1",
"version": "1.3.2",
"license": "MIT",
"name": "mantine-react-table",
"description": "A fully featured Mantine implementation of TanStack React Table V8, written from the ground up in TypeScript.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,11 +254,12 @@ export const useMRT_TableInstance: <TData extends Record<string, any> = {}>(
};

const setCreatingRow = (row: MRT_Updater<MRT_Row<TData> | null | true>) => {
let _row = row;
if (row === true) {
table.setCreatingRow(createRow(table));
} else {
_setCreatingRow(row as MRT_Row<TData> | null);
_row = createRow(table);
}
tableOptions?.onCreatingRowChange?.(_row as MRT_Row<TData> | null) ??
_setCreatingRow(_row as MRT_Row<TData> | null);
};

table.setCreatingRow = setCreatingRow;
Expand Down
2 changes: 1 addition & 1 deletion packages/mantine-react-table/src/locales/fr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export const MRT_Localization_FR: MRT_Localization = {
save: 'Sauvegarder',
search: 'Rechercher',
selectedCountOfRowCountRowsSelected:
'{selectedCount} de {rowCount} ligne(s) sélectionnée(s)',
'{selectedCount} sur {rowCount} ligne(s)',
select: 'Sélectionner',
showAll: 'Afficher tous',
showAllColumns: 'Afficher toutes les colonnes',
Expand Down

1 comment on commit bab0c54

@vercel
Copy link

@vercel vercel bot commented on bab0c54 Oct 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.