gm-datagrid 0.1.27 → 0.1.30

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.
@@ -70,5 +70,7 @@ export interface GridLabels {
70
70
  confirmTitle: string;
71
71
  confirmCancel: string;
72
72
  confirmAccept: string;
73
+ /** Column resize handle: double-click auto-fit */
74
+ columnAutoFit: string;
73
75
  }
74
76
  export declare const GRID_LABELS: Record<GridLocale, GridLabels>;
@@ -364,6 +364,11 @@ export interface GMDatagridProps {
364
364
  onRowDetail?: (row: Row) => void;
365
365
  /** Enables row selection checkboxes. Default: false. */
366
366
  checkboxSelection?: boolean;
367
+ /**
368
+ * Fixed bottom “N selected / Limpiar” bar.
369
+ * Default true; set false in drawers/dialogs so it does not overlay the main list.
370
+ */
371
+ floatingSelectionBar?: boolean;
367
372
  /** Fired whenever the selection changes. Receives the full array of selected rows. */
368
373
  onRowSelectionChange?: (rows: Row[]) => void;
369
374
  /**
@@ -518,4 +523,21 @@ export interface GMDatagridProps {
518
523
  loadingRowCount?: number;
519
524
  /** Grid-level confirm dialog override for status switch and built-in prompts. */
520
525
  confirmPrompt?: (message: string) => Promise<boolean>;
526
+ /**
527
+ * Stretch columns to fill the viewport when their total width is narrower.
528
+ * @default true
529
+ */
530
+ fillAvailableWidth?: boolean;
531
+ /**
532
+ * Double-click a column resize handle to auto-fit content width.
533
+ * @default false (opt-in until consumers expect Excel-like behavior globally)
534
+ */
535
+ disableColumnAutoFit?: boolean;
536
+ /** Cap for double-click auto-fit width (px). @default 480 */
537
+ autoFitMaxWidth?: number;
538
+ /**
539
+ * Keep column header (and filter row) sticky inside the scrollport.
540
+ * @default true
541
+ */
542
+ stickyHeader?: boolean;
521
543
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm-datagrid",
3
- "version": "0.1.27",
3
+ "version": "0.1.30",
4
4
  "description": "Enterprise Excel-like data grid with Rust/Wasm engine, featuring inline-aligned group subtotals and automatic group aggregate preloading",
5
5
  "keywords": [
6
6
  "datagrid",