react-kd-grid 3.0.0 → 3.0.1

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.

Potentially problematic release.


This version of react-kd-grid might be problematic. Click here for more details.

package/dist/types.d.ts CHANGED
@@ -150,10 +150,12 @@ export interface ServerPaginationConfig {
150
150
  loading?: boolean;
151
151
  totalRows: number;
152
152
  }
153
+ /** Supported export file formats. */
154
+ export type ExportFormat = "csv" | "json" | "xlsx";
153
155
  /** Export configuration for the grid toolbar. */
154
156
  export interface ExportOptions {
155
157
  /** Allowed export formats. Defaults to `["xlsx"]`. */
156
- formats?: Array<"csv" | "json" | "xlsx">;
158
+ formats?: ExportFormat[];
157
159
  /** Default filename without extension. Defaults to `"grid-data"`. */
158
160
  filename?: string;
159
161
  /** When `false`, export is disabled even if `showExport` is `true`. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-kd-grid",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "A feature-rich, performant React data grid component with virtualization, grouping, filtering, and export capabilities",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",
@@ -76,8 +76,8 @@
76
76
  },
77
77
  "dependencies": {},
78
78
  "peerDependencies": {
79
- "react": ">=16.8.0",
80
- "react-dom": ">=16.8.0",
79
+ "react": ">=18.0.0",
80
+ "react-dom": ">=18.0.0",
81
81
  "exceljs": ">=4.0.0",
82
82
  "file-saver": ">=2.0.0"
83
83
  },