flexi-datagrid 1.0.4 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ import { type ReactNode } from 'react';
2
2
  export interface ColumnConfig<T> {
3
3
  key: string;
4
4
  header: string;
package/dist/index.d.ts CHANGED
@@ -1 +1,3 @@
1
- export {}
1
+ import './index.css';
2
+ export { DataTable } from './DataTable';
3
+ export type { ColumnConfig } from './DataTable';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flexi-datagrid",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "A powerful universal datagrid with tree-grouping, column pinning, and drag-and-drop.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.umd.js",
@@ -19,7 +19,7 @@
19
19
  "dist"
20
20
  ],
21
21
  "scripts": {
22
- "build": "vite build",
22
+ "build": "vite build && tsc --emitDeclarationOnly --outDir dist",
23
23
  "preview": "vite preview",
24
24
  "prepublishOnly": "npm run build"
25
25
  },
@@ -52,4 +52,4 @@
52
52
  "vite-plugin-dts": "^4.5.0",
53
53
  "lucide-react": "^0.470.0"
54
54
  }
55
- }
55
+ }
@@ -1,2 +0,0 @@
1
- export { DataTable } from './DataTable';
2
- export type { ColumnConfig } from './DataTable';