From 5d50575c161cdfc73e122548c69d74bf78c9dfbc Mon Sep 17 00:00:00 2001 From: Kevin Van Cott Date: Tue, 10 Oct 2023 23:30:44 -0500 Subject: [PATCH] release v2.0.0-alpha.1 --- .gitignore | 2 +- apps/mantine-react-table-docs/pages/_app.tsx | 2 +- packages/mantine-react-table/package.json | 8 ++++---- packages/mantine-react-table/rollup.config.mjs | 3 ++- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 6ad7c1c61..d4da03741 100644 --- a/.gitignore +++ b/.gitignore @@ -16,7 +16,7 @@ build # mrt packages/mantine-react-table/locales -packages/mantine-react-table/mrt.css +packages/mantine-react-table/styles.css .cache /dist dist diff --git a/apps/mantine-react-table-docs/pages/_app.tsx b/apps/mantine-react-table-docs/pages/_app.tsx index e93a02d57..588a4188d 100644 --- a/apps/mantine-react-table-docs/pages/_app.tsx +++ b/apps/mantine-react-table-docs/pages/_app.tsx @@ -2,7 +2,7 @@ import '../styles/globals.css'; import '@mantine/code-highlight/styles.css'; import '@mantine/core/styles.css'; import '@mantine/dates/styles.css'; -import 'mantine-react-table/mrt.css'; +import 'mantine-react-table/styles.css'; import { useState } from 'react'; import { type AppProps } from 'next/app'; import Head from 'next/head'; diff --git a/packages/mantine-react-table/package.json b/packages/mantine-react-table/package.json index a32fd3cb2..106a3a136 100644 --- a/packages/mantine-react-table/package.json +++ b/packages/mantine-react-table/package.json @@ -1,5 +1,5 @@ { - "version": "2.0.0-alpha.0", + "version": "2.0.0-alpha.1", "license": "MIT", "name": "mantine-react-table", "description": "A fully featured Mantine implementation of TanStack React Table V8, written from the ground up in TypeScript.", @@ -29,17 +29,17 @@ "files": [ "dist", "locales", - "mrt.css", + "styles.css", "src" ], "size-limit": [ { "path": "dist/cjs/index.js", - "limit": "53 KB" + "limit": "58 KB" }, { "path": "dist/esm/mantine-react-table.esm.js", - "limit": "52 KB" + "limit": "56 KB" } ], "engines": { diff --git a/packages/mantine-react-table/rollup.config.mjs b/packages/mantine-react-table/rollup.config.mjs index 0993a3657..b0a2650e2 100644 --- a/packages/mantine-react-table/rollup.config.mjs +++ b/packages/mantine-react-table/rollup.config.mjs @@ -17,6 +17,7 @@ export default [ '@tanstack/match-sorter-utils', '@tanstack/react-table', '@tanstack/react-virtual', + 'clsx', 'dayjs', 'react', ], @@ -62,7 +63,7 @@ export default [ plugins: [ copy({ targets: [ - { src: 'dist/cjs/index.css', dest: './', rename: 'mrt.css' }, + { src: 'dist/cjs/index.css', dest: './', rename: 'styles.css' }, ], verbose: true, hook: 'buildStart',