Skip to content

Commit

Permalink
release v2.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinVandy committed Jan 10, 2024
1 parent 948e5ca commit bf7c36a
Show file tree
Hide file tree
Showing 9 changed files with 622 additions and 513 deletions.
18 changes: 9 additions & 9 deletions apps/material-react-table-docs/package.json
Expand Up @@ -22,12 +22,12 @@
"@fortawesome/react-fontawesome": "^0.2.0",
"@mdx-js/loader": "^3.0.0",
"@mdx-js/react": "^3.0.0",
"@mui/icons-material": "^5.15.3",
"@mui/material": "^5.15.3",
"@mui/icons-material": "^5.15.4",
"@mui/material": "^5.15.4",
"@mui/x-charts": "^6.18.7",
"@mui/x-date-pickers": "^6.18.6",
"@mui/x-date-pickers": "^6.18.7",
"@next/mdx": "^14.0.4",
"@tanstack/react-query": "^5.17.1",
"@tanstack/react-query": "^5.17.9",
"@types/mdx": "^2.0.10",
"dayjs": "^1.11.10",
"export-to-csv": "^1.2.2",
Expand All @@ -41,12 +41,12 @@
"react-dom": "18.2.0"
},
"devDependencies": {
"@tanstack/eslint-plugin-query": "^5.17.1",
"@types/node": "^20.10.6",
"@types/react": "^18.2.46",
"@tanstack/eslint-plugin-query": "^5.17.7",
"@types/node": "^20.10.8",
"@types/react": "^18.2.47",
"@types/react-dom": "^18.2.18",
"@typescript-eslint/eslint-plugin": "^6.17.0",
"@typescript-eslint/parser": "^6.17.0",
"@typescript-eslint/eslint-plugin": "^6.18.1",
"@typescript-eslint/parser": "^6.18.1",
"eslint": "8.56.0",
"eslint-config-next": "14.0.4",
"next-plausible": "^3.12.0",
Expand Down
4 changes: 4 additions & 0 deletions apps/material-react-table-docs/pages/changelog.mdx
Expand Up @@ -12,6 +12,10 @@ import Head from 'next/head';

### Version 2

#### Version 2.5.2 - 2024-01-10

- Fixed bug where Date and Time Picker filters were not opening properly on mobile devices

#### Version 2.5.1 - 2024-01-09

- Fixed selected row count in toolbar alert banner when using manualPagination
Expand Down
6 changes: 3 additions & 3 deletions apps/test-cra/package.json
Expand Up @@ -5,9 +5,9 @@
"dependencies": {
"@emotion/react": "^11.11.3",
"@emotion/styled": "^11.11.0",
"@mui/icons-material": "^5.15.3",
"@mui/material": "^5.15.3",
"@mui/x-date-pickers": "^6.18.6",
"@mui/icons-material": "^5.15.4",
"@mui/material": "^5.15.4",
"@mui/x-date-pickers": "^6.18.7",
"@testing-library/jest-dom": "^6.2.0",
"@testing-library/react": "^14.1.2",
"@testing-library/user-event": "^14.5.2",
Expand Down
8 changes: 4 additions & 4 deletions apps/test-remix/package.json
Expand Up @@ -12,9 +12,9 @@
"dependencies": {
"@emotion/react": "^11.11.3",
"@emotion/styled": "^11.11.0",
"@mui/icons-material": "^5.15.3",
"@mui/material": "^5.15.3",
"@mui/x-date-pickers": "^6.18.6",
"@mui/icons-material": "^5.15.4",
"@mui/material": "^5.15.4",
"@mui/x-date-pickers": "^6.18.7",
"@remix-run/css-bundle": "^2.4.1",
"@remix-run/node": "^2.4.1",
"@remix-run/react": "^2.4.1",
Expand All @@ -27,7 +27,7 @@
"devDependencies": {
"@remix-run/dev": "^2.4.1",
"@remix-run/eslint-config": "^2.4.1",
"@types/react": "^18.2.46",
"@types/react": "^18.2.47",
"@types/react-dom": "^18.2.18",
"eslint": "^8.56.0",
"typescript": "^5.3.3"
Expand Down
14 changes: 7 additions & 7 deletions apps/test-vite/package.json
Expand Up @@ -12,23 +12,23 @@
"dependencies": {
"@emotion/react": "^11.11.3",
"@emotion/styled": "^11.11.0",
"@mui/icons-material": "^5.15.3",
"@mui/material": "^5.15.3",
"@mui/x-date-pickers": "^6.18.6",
"@mui/icons-material": "^5.15.4",
"@mui/material": "^5.15.4",
"@mui/x-date-pickers": "^6.18.7",
"material-react-table": "workspace:*",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@types/react": "^18.2.46",
"@types/react": "^18.2.47",
"@types/react-dom": "^18.2.18",
"@typescript-eslint/eslint-plugin": "^6.17.0",
"@typescript-eslint/parser": "^6.17.0",
"@typescript-eslint/eslint-plugin": "^6.18.1",
"@typescript-eslint/parser": "^6.18.1",
"@vitejs/plugin-react": "^4.2.1",
"eslint": "^8.56.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.5",
"typescript": "^5.3.3",
"vite": "^5.0.10"
"vite": "^5.0.11"
}
}
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -26,7 +26,7 @@
},
"devDependencies": {
"prettier": "^3.1.1",
"turbo": "^1.11.2"
"turbo": "^1.11.3"
},
"engines": {
"node": ">=14.0.0"
Expand Down
20 changes: 10 additions & 10 deletions packages/material-react-table/package.json
@@ -1,5 +1,5 @@
{
"version": "2.5.1",
"version": "2.5.2",
"license": "MIT",
"name": "material-react-table",
"description": "A fully featured Material UI V5 implementation of TanStack React Table V8, written from the ground up in TypeScript.",
Expand Down Expand Up @@ -66,10 +66,10 @@
"@emotion/react": "^11.11.3",
"@emotion/styled": "^11.11.0",
"@faker-js/faker": "^8.3.1",
"@mui/icons-material": "^5.15.3",
"@mui/material": "^5.15.3",
"@mui/x-date-pickers": "^6.18.6",
"@rollup/plugin-typescript": "^11.1.5",
"@mui/icons-material": "^5.15.4",
"@mui/material": "^5.15.4",
"@mui/x-date-pickers": "^6.18.7",
"@rollup/plugin-typescript": "^11.1.6",
"@size-limit/preset-small-lib": "^11.0.1",
"@storybook/addon-a11y": "^7.6.7",
"@storybook/addon-essentials": "^7.6.7",
Expand All @@ -80,11 +80,11 @@
"@storybook/react": "^7.6.7",
"@storybook/react-vite": "^7.6.7",
"@storybook/testing-library": "^0.2.2",
"@types/node": "^20.10.6",
"@types/react": "^18.2.46",
"@types/node": "^20.10.8",
"@types/react": "^18.2.47",
"@types/react-dom": "^18.2.18",
"@typescript-eslint/eslint-plugin": "^6.17.0",
"@typescript-eslint/parser": "^6.17.0",
"@typescript-eslint/eslint-plugin": "^6.18.1",
"@typescript-eslint/parser": "^6.18.1",
"@vitejs/plugin-react": "^4.2.1",
"eslint": "^8.56.0",
"eslint-plugin-mui-path-imports": "^0.0.15",
Expand All @@ -101,7 +101,7 @@
"storybook-dark-mode": "^3.0.3",
"tslib": "^2.6.2",
"typescript": "^5.3.3",
"vite": "^5.0.10"
"vite": "^5.0.11"
},
"peerDependencies": {
"@emotion/react": ">=11.11",
Expand Down
@@ -1,7 +1,4 @@

import {
MaterialReactTable,
} from '../../src';
import { MaterialReactTable } from '../../src';
import { faker } from '@faker-js/faker';
import { type Meta } from '@storybook/react';

Expand All @@ -20,7 +17,6 @@ const data = [...Array(120)].map(() => ({
startTime: faker.date.recent(),
}));


export const MobileDateTimePickers = () => (
<MaterialReactTable
columns={[
Expand All @@ -39,7 +35,7 @@ export const MobileDateTimePickers = () => (
header: 'Hire Date',
id: 'hireDate',
},
{
{
Cell: ({ cell }) => cell.getValue<Date>().toLocaleString(), //transform data to readable format for cell render
accessorFn: (row) => new Date(row.departureTime), //transform data before processing so sorting works
filterVariant: 'datetime',
Expand Down

1 comment on commit bf7c36a

@vercel
Copy link

@vercel vercel bot commented on bf7c36a Jan 10, 2024

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.