@expcat/tigercat-core 1.0.0 → 1.0.4

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.
package/dist/index.cjs CHANGED
@@ -10330,7 +10330,7 @@ function escapeCsvValue(value) {
10330
10330
  }
10331
10331
  return str;
10332
10332
  }
10333
- function exportTableToCsv(columns, data, filename) {
10333
+ function exportTableToCsv(columns, data, _filename) {
10334
10334
  const headers = columns.map((col) => escapeCsvValue(col.title));
10335
10335
  const rows = data.map(
10336
10336
  (record) => columns.map((col) => {
package/dist/index.d.cts CHANGED
@@ -13606,7 +13606,7 @@ declare function getGroupHeaderCellClasses(size: 'sm' | 'md' | 'lg'): string;
13606
13606
  /**
13607
13607
  * Export table data to CSV string
13608
13608
  */
13609
- declare function exportTableToCsv<T>(columns: TableColumn<T>[], data: T[], filename?: string): string;
13609
+ declare function exportTableToCsv<T>(columns: TableColumn<T>[], data: T[], _filename?: string): string;
13610
13610
  /**
13611
13611
  * Trigger a CSV file download in the browser
13612
13612
  */
package/dist/index.d.ts CHANGED
@@ -13606,7 +13606,7 @@ declare function getGroupHeaderCellClasses(size: 'sm' | 'md' | 'lg'): string;
13606
13606
  /**
13607
13607
  * Export table data to CSV string
13608
13608
  */
13609
- declare function exportTableToCsv<T>(columns: TableColumn<T>[], data: T[], filename?: string): string;
13609
+ declare function exportTableToCsv<T>(columns: TableColumn<T>[], data: T[], _filename?: string): string;
13610
13610
  /**
13611
13611
  * Trigger a CSV file download in the browser
13612
13612
  */
package/dist/index.js CHANGED
@@ -8952,7 +8952,7 @@ function escapeCsvValue(value) {
8952
8952
  }
8953
8953
  return str;
8954
8954
  }
8955
- function exportTableToCsv(columns, data, filename) {
8955
+ function exportTableToCsv(columns, data, _filename) {
8956
8956
  const headers = columns.map((col) => escapeCsvValue(col.title));
8957
8957
  const rows = data.map(
8958
8958
  (record) => columns.map((col) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@expcat/tigercat-core",
3
- "version": "1.0.0",
3
+ "version": "1.0.4",
4
4
  "type": "module",
5
5
  "description": "Core utilities for Tigercat UI library",
6
6
  "license": "MIT",