From 9baca9aa5bf340fb8c39f11a044de84deb96369b Mon Sep 17 00:00:00 2001 From: Matthias Huber Date: Thu, 22 May 2025 16:32:06 +0200 Subject: [PATCH] export utilty functions, fix commonJS and ES6 export types in package.json #517 --- packages/mantine-react-table/package.json | 4 ++-- packages/mantine-react-table/src/index.ts | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/mantine-react-table/package.json b/packages/mantine-react-table/package.json index 7109795a3..9a8719819 100644 --- a/packages/mantine-react-table/package.json +++ b/packages/mantine-react-table/package.json @@ -32,11 +32,11 @@ "exports": { ".": { "import": { - "types": "./dist/index.d.cts", + "types": "./dist/index.esm.d.mts", "default": "./dist/index.esm.mjs" }, "require": { - "types": "./dist/index.esm.d.mts", + "types": "./dist/index.d.cts", "default": "./dist/index.cjs" } }, diff --git a/packages/mantine-react-table/src/index.ts b/packages/mantine-react-table/src/index.ts index 1034d905c..4db9b5527 100644 --- a/packages/mantine-react-table/src/index.ts +++ b/packages/mantine-react-table/src/index.ts @@ -87,3 +87,4 @@ export * from './utils/row.utils'; export * from './utils/style.utils'; //helpers export * from './utils/tanstack.helpers'; +export * from './utils/utils';