gm-datagrid 0.1.27 → 0.1.31

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>;
@@ -20,7 +20,8 @@ export declare enum ColumnDataTypesEnum {
20
20
  INT = "int",
21
21
  CODE = "code",
22
22
  ARRAY = "array",
23
- TEXT = "text"
23
+ TEXT = "text",
24
+ BOOLEAN = "boolean"
24
25
  }
25
26
  export type MuiChipColor = ChipProps['color'];
26
27
  export type DensityMode = 'compact' | 'standard' | 'comfortable';
@@ -364,6 +365,11 @@ export interface GMDatagridProps {
364
365
  onRowDetail?: (row: Row) => void;
365
366
  /** Enables row selection checkboxes. Default: false. */
366
367
  checkboxSelection?: boolean;
368
+ /**
369
+ * Fixed bottom “N selected / Limpiar” bar.
370
+ * Default true; set false in drawers/dialogs so it does not overlay the main list.
371
+ */
372
+ floatingSelectionBar?: boolean;
367
373
  /** Fired whenever the selection changes. Receives the full array of selected rows. */
368
374
  onRowSelectionChange?: (rows: Row[]) => void;
369
375
  /**
@@ -518,4 +524,21 @@ export interface GMDatagridProps {
518
524
  loadingRowCount?: number;
519
525
  /** Grid-level confirm dialog override for status switch and built-in prompts. */
520
526
  confirmPrompt?: (message: string) => Promise<boolean>;
527
+ /**
528
+ * Stretch columns to fill the viewport when their total width is narrower.
529
+ * @default true
530
+ */
531
+ fillAvailableWidth?: boolean;
532
+ /**
533
+ * When `true`, disables double-click auto-fit on column resize handles.
534
+ * @default false
535
+ */
536
+ disableColumnAutoFit?: boolean;
537
+ /** Cap for double-click auto-fit width (px). @default 480 */
538
+ autoFitMaxWidth?: number;
539
+ /**
540
+ * Keep column header (and filter row) sticky inside the scrollport.
541
+ * @default true
542
+ */
543
+ stickyHeader?: boolean;
521
544
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm-datagrid",
3
- "version": "0.1.27",
3
+ "version": "0.1.31",
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",