@erdoai/ui 0.1.32 → 0.1.35

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.d.cts CHANGED
@@ -237,7 +237,8 @@ interface DataConfig {
237
237
  }>;
238
238
  }
239
239
  interface BaseChartProps {
240
- title: string;
240
+ /** Chart title - optional if parent handles title display */
241
+ title?: string;
241
242
  subtitle?: string | null;
242
243
  data: any[];
243
244
  displayConfig: ChartConfig;
@@ -298,7 +299,8 @@ interface SortCondition$1 {
298
299
  }
299
300
  interface DatasetChartProps {
300
301
  chartType: 'bar' | 'line' | 'pie' | 'histogram' | 'scatter' | 'heatmap';
301
- title: string;
302
+ /** Chart title - optional if parent handles title display */
303
+ title?: string;
302
304
  invocationId: string;
303
305
  datasetSlugs: string[];
304
306
  xAxis: Axis$1;
@@ -312,6 +314,8 @@ interface DatasetChartProps {
312
314
  sort?: SortCondition$1[];
313
315
  /** Optional callback for scroll updates when chart loads */
314
316
  onScrollUpdate?: () => void;
317
+ /** Enable download button (default: true) */
318
+ enableDownload?: boolean;
315
319
  }
316
320
  declare const DatasetChart: React__default.NamedExoticComponent<DatasetChartProps>;
317
321
 
@@ -322,7 +326,8 @@ interface TableColumn$1 {
322
326
  value_type?: 'number' | 'category' | 'date';
323
327
  }
324
328
  interface DatasetTableProps {
325
- title: string;
329
+ /** Table title - optional if parent handles title display */
330
+ title?: string;
326
331
  invocationId: string;
327
332
  datasetSlug: string;
328
333
  columns?: TableColumn$1[];
package/dist/index.d.ts CHANGED
@@ -237,7 +237,8 @@ interface DataConfig {
237
237
  }>;
238
238
  }
239
239
  interface BaseChartProps {
240
- title: string;
240
+ /** Chart title - optional if parent handles title display */
241
+ title?: string;
241
242
  subtitle?: string | null;
242
243
  data: any[];
243
244
  displayConfig: ChartConfig;
@@ -298,7 +299,8 @@ interface SortCondition$1 {
298
299
  }
299
300
  interface DatasetChartProps {
300
301
  chartType: 'bar' | 'line' | 'pie' | 'histogram' | 'scatter' | 'heatmap';
301
- title: string;
302
+ /** Chart title - optional if parent handles title display */
303
+ title?: string;
302
304
  invocationId: string;
303
305
  datasetSlugs: string[];
304
306
  xAxis: Axis$1;
@@ -312,6 +314,8 @@ interface DatasetChartProps {
312
314
  sort?: SortCondition$1[];
313
315
  /** Optional callback for scroll updates when chart loads */
314
316
  onScrollUpdate?: () => void;
317
+ /** Enable download button (default: true) */
318
+ enableDownload?: boolean;
315
319
  }
316
320
  declare const DatasetChart: React__default.NamedExoticComponent<DatasetChartProps>;
317
321
 
@@ -322,7 +326,8 @@ interface TableColumn$1 {
322
326
  value_type?: 'number' | 'category' | 'date';
323
327
  }
324
328
  interface DatasetTableProps {
325
- title: string;
329
+ /** Table title - optional if parent handles title display */
330
+ title?: string;
326
331
  invocationId: string;
327
332
  datasetSlug: string;
328
333
  columns?: TableColumn$1[];