@ai-matrx/design-system 0.44.0 → 0.44.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.
@@ -1273,6 +1273,29 @@ interface MatrxDataTableSpreadsheetConfig<T> {
1273
1273
  * the same as before.
1274
1274
  */
1275
1275
  onPastePlan?: ((plan: SpreadsheetPastePlan) => void) | undefined;
1276
+ /**
1277
+ * WHERE THE PERSON IS STANDING, told as it moves (records-ui merge tranche 6l, inventory H1).
1278
+ *
1279
+ * An agent beside the grid is asked about "this cell" and "these cells"; only the table knows
1280
+ * which cell the cursor is on and which block is selected. Called after every change of the
1281
+ * cell cursor or the selected rectangle — `null` when nothing is selected. `tsv` is the block as
1282
+ * Excel / Sheets would copy it (no header row), `cellCount` how many cells it spans.
1283
+ */
1284
+ onSelectionChange?: ((selection: SpreadsheetSelection | null) => void) | undefined;
1285
+ }
1286
+ /** The cell cursor and the selected rectangle, by id (`spreadsheet.onSelectionChange`). */
1287
+ interface SpreadsheetSelection {
1288
+ /** The cell the cursor is on (the moving end of the range). */
1289
+ active: {
1290
+ rowId: string;
1291
+ columnId: string;
1292
+ };
1293
+ /** The rows and columns the rectangle covers, in the grid's visual order. */
1294
+ rowIds: string[];
1295
+ columnIds: string[];
1296
+ cellCount: number;
1297
+ /** The rectangle's values as a TSV block, the way a copy would carry them. */
1298
+ tsv: string;
1276
1299
  }
1277
1300
  /**
1278
1301
  * THE VALUES A COLUMN HOLDS, with a count beside each one.
@@ -1529,4 +1552,4 @@ interface MatrxDataTableProps<T> {
1529
1552
  onRowOpen?: (row: T) => void;
1530
1553
  }
1531
1554
 
1532
- export { LAYERED_FILTER_OPERATOR_LABELS as $, type AnyOfColumnSearch as A, type MatrxDataTableSelectionConfig as B, type ColumnFiltersState as C, type MatrxDataTableSingleExpandedDetailConfig as D, type MatrxDataTableSourceProcessing as E, type MatrxDataTableSpreadsheetConfig as F, type MatrxDataTableStyleConfig as G, type MatrxDataTableToolbar as H, type MatrxDataTableUrlStateConfig as I, type MatrxDataTableVirtualizeConfig as J, type MatrxDataTableWindowConfig as K, type LayeredFilterRule as L, type MatrxColumnDef as M, type MatrxTablePagination as N, type SortDirection as O, type TableRankedSearchOptions as P, type TableSearchRole as Q, type TableSearchScope as R, type SortState as S, type TableSearchMatchMode as T, type TableViewQuery as U, type TextFilterMode as V, type ToolbarFacet as W, inferTableSearchRole as X, rankTableSearchRows as Y, resolveTableSearchScopes as Z, LAYERED_FILTER_OPERATORS as _, type ColumnFilterValue as a, type LayeredFilterField as a0, type LayeredFilterOperator as a1, columnFiltersToLayeredRules as a2, completeLayeredFilterRules as a3, decodeLayeredFilterRules as a4, encodeLayeredFilterRules as a5, isCompleteLayeredFilterRule as a6, isLayeredFilterOperator as a7, layeredFilterMatchesValue as a8, layeredFilterNeedsValue as a9, layeredFilterRuleSummary as aa, operatorsForLayeredField as ab, type TableSavedViewsProps as b, type MatrxDataTableDensity as c, type MatrxDataTableRecordControls as d, type MatrxDataTableQueryState as e, type ColumnFilterKind as f, type MatrxDataTableCopyConfig as g, type MatrxDataTableProps as h, type TableViewSnapshot as i, type ColumnMarker as j, type CellEditType as k, type CellEditsMap as l, type MatrxDataTableContextMenuConfig as m, type MatrxDataTableCoverageConfig as n, type MatrxDataTableDetailConfig as o, type MatrxDataTableEditConfig as p, type MatrxDataTableEmptyState as q, type MatrxDataTableExpandedDetailConfig as r, type MatrxDataTableFacetsConfig as s, type MatrxDataTableFilterUi as t, type MatrxDataTableGroupingConfig as u, type MatrxDataTableHierarchyConfig as v, type MatrxDataTableHierarchyMove as w, type MatrxDataTableMobileCardControls as x, type MatrxDataTableMultiExpandedDetailConfig as y, type MatrxDataTableQueryControl as z };
1555
+ export { LAYERED_FILTER_OPERATORS as $, type AnyOfColumnSearch as A, type MatrxDataTableSelectionConfig as B, type ColumnFiltersState as C, type MatrxDataTableSingleExpandedDetailConfig as D, type MatrxDataTableSourceProcessing as E, type MatrxDataTableSpreadsheetConfig as F, type MatrxDataTableStyleConfig as G, type MatrxDataTableToolbar as H, type MatrxDataTableUrlStateConfig as I, type MatrxDataTableVirtualizeConfig as J, type MatrxDataTableWindowConfig as K, type LayeredFilterRule as L, type MatrxColumnDef as M, type MatrxTablePagination as N, type SortDirection as O, type SpreadsheetSelection as P, type TableRankedSearchOptions as Q, type TableSearchRole as R, type SortState as S, type TableSearchMatchMode as T, type TableSearchScope as U, type TableViewQuery as V, type TextFilterMode as W, type ToolbarFacet as X, inferTableSearchRole as Y, rankTableSearchRows as Z, resolveTableSearchScopes as _, type ColumnFilterValue as a, LAYERED_FILTER_OPERATOR_LABELS as a0, type LayeredFilterField as a1, type LayeredFilterOperator as a2, columnFiltersToLayeredRules as a3, completeLayeredFilterRules as a4, decodeLayeredFilterRules as a5, encodeLayeredFilterRules as a6, isCompleteLayeredFilterRule as a7, isLayeredFilterOperator as a8, layeredFilterMatchesValue as a9, layeredFilterNeedsValue as aa, layeredFilterRuleSummary as ab, operatorsForLayeredField as ac, type TableSavedViewsProps as b, type MatrxDataTableDensity as c, type MatrxDataTableRecordControls as d, type MatrxDataTableQueryState as e, type ColumnFilterKind as f, type MatrxDataTableCopyConfig as g, type MatrxDataTableProps as h, type TableViewSnapshot as i, type ColumnMarker as j, type CellEditType as k, type CellEditsMap as l, type MatrxDataTableContextMenuConfig as m, type MatrxDataTableCoverageConfig as n, type MatrxDataTableDetailConfig as o, type MatrxDataTableEditConfig as p, type MatrxDataTableEmptyState as q, type MatrxDataTableExpandedDetailConfig as r, type MatrxDataTableFacetsConfig as s, type MatrxDataTableFilterUi as t, type MatrxDataTableGroupingConfig as u, type MatrxDataTableHierarchyConfig as v, type MatrxDataTableHierarchyMove as w, type MatrxDataTableMobileCardControls as x, type MatrxDataTableMultiExpandedDetailConfig as y, type MatrxDataTableQueryControl as z };
@@ -1273,6 +1273,29 @@ interface MatrxDataTableSpreadsheetConfig<T> {
1273
1273
  * the same as before.
1274
1274
  */
1275
1275
  onPastePlan?: ((plan: SpreadsheetPastePlan) => void) | undefined;
1276
+ /**
1277
+ * WHERE THE PERSON IS STANDING, told as it moves (records-ui merge tranche 6l, inventory H1).
1278
+ *
1279
+ * An agent beside the grid is asked about "this cell" and "these cells"; only the table knows
1280
+ * which cell the cursor is on and which block is selected. Called after every change of the
1281
+ * cell cursor or the selected rectangle — `null` when nothing is selected. `tsv` is the block as
1282
+ * Excel / Sheets would copy it (no header row), `cellCount` how many cells it spans.
1283
+ */
1284
+ onSelectionChange?: ((selection: SpreadsheetSelection | null) => void) | undefined;
1285
+ }
1286
+ /** The cell cursor and the selected rectangle, by id (`spreadsheet.onSelectionChange`). */
1287
+ interface SpreadsheetSelection {
1288
+ /** The cell the cursor is on (the moving end of the range). */
1289
+ active: {
1290
+ rowId: string;
1291
+ columnId: string;
1292
+ };
1293
+ /** The rows and columns the rectangle covers, in the grid's visual order. */
1294
+ rowIds: string[];
1295
+ columnIds: string[];
1296
+ cellCount: number;
1297
+ /** The rectangle's values as a TSV block, the way a copy would carry them. */
1298
+ tsv: string;
1276
1299
  }
1277
1300
  /**
1278
1301
  * THE VALUES A COLUMN HOLDS, with a count beside each one.
@@ -1529,4 +1552,4 @@ interface MatrxDataTableProps<T> {
1529
1552
  onRowOpen?: (row: T) => void;
1530
1553
  }
1531
1554
 
1532
- export { LAYERED_FILTER_OPERATOR_LABELS as $, type AnyOfColumnSearch as A, type MatrxDataTableSelectionConfig as B, type ColumnFiltersState as C, type MatrxDataTableSingleExpandedDetailConfig as D, type MatrxDataTableSourceProcessing as E, type MatrxDataTableSpreadsheetConfig as F, type MatrxDataTableStyleConfig as G, type MatrxDataTableToolbar as H, type MatrxDataTableUrlStateConfig as I, type MatrxDataTableVirtualizeConfig as J, type MatrxDataTableWindowConfig as K, type LayeredFilterRule as L, type MatrxColumnDef as M, type MatrxTablePagination as N, type SortDirection as O, type TableRankedSearchOptions as P, type TableSearchRole as Q, type TableSearchScope as R, type SortState as S, type TableSearchMatchMode as T, type TableViewQuery as U, type TextFilterMode as V, type ToolbarFacet as W, inferTableSearchRole as X, rankTableSearchRows as Y, resolveTableSearchScopes as Z, LAYERED_FILTER_OPERATORS as _, type ColumnFilterValue as a, type LayeredFilterField as a0, type LayeredFilterOperator as a1, columnFiltersToLayeredRules as a2, completeLayeredFilterRules as a3, decodeLayeredFilterRules as a4, encodeLayeredFilterRules as a5, isCompleteLayeredFilterRule as a6, isLayeredFilterOperator as a7, layeredFilterMatchesValue as a8, layeredFilterNeedsValue as a9, layeredFilterRuleSummary as aa, operatorsForLayeredField as ab, type TableSavedViewsProps as b, type MatrxDataTableDensity as c, type MatrxDataTableRecordControls as d, type MatrxDataTableQueryState as e, type ColumnFilterKind as f, type MatrxDataTableCopyConfig as g, type MatrxDataTableProps as h, type TableViewSnapshot as i, type ColumnMarker as j, type CellEditType as k, type CellEditsMap as l, type MatrxDataTableContextMenuConfig as m, type MatrxDataTableCoverageConfig as n, type MatrxDataTableDetailConfig as o, type MatrxDataTableEditConfig as p, type MatrxDataTableEmptyState as q, type MatrxDataTableExpandedDetailConfig as r, type MatrxDataTableFacetsConfig as s, type MatrxDataTableFilterUi as t, type MatrxDataTableGroupingConfig as u, type MatrxDataTableHierarchyConfig as v, type MatrxDataTableHierarchyMove as w, type MatrxDataTableMobileCardControls as x, type MatrxDataTableMultiExpandedDetailConfig as y, type MatrxDataTableQueryControl as z };
1555
+ export { LAYERED_FILTER_OPERATORS as $, type AnyOfColumnSearch as A, type MatrxDataTableSelectionConfig as B, type ColumnFiltersState as C, type MatrxDataTableSingleExpandedDetailConfig as D, type MatrxDataTableSourceProcessing as E, type MatrxDataTableSpreadsheetConfig as F, type MatrxDataTableStyleConfig as G, type MatrxDataTableToolbar as H, type MatrxDataTableUrlStateConfig as I, type MatrxDataTableVirtualizeConfig as J, type MatrxDataTableWindowConfig as K, type LayeredFilterRule as L, type MatrxColumnDef as M, type MatrxTablePagination as N, type SortDirection as O, type SpreadsheetSelection as P, type TableRankedSearchOptions as Q, type TableSearchRole as R, type SortState as S, type TableSearchMatchMode as T, type TableSearchScope as U, type TableViewQuery as V, type TextFilterMode as W, type ToolbarFacet as X, inferTableSearchRole as Y, rankTableSearchRows as Z, resolveTableSearchScopes as _, type ColumnFilterValue as a, LAYERED_FILTER_OPERATOR_LABELS as a0, type LayeredFilterField as a1, type LayeredFilterOperator as a2, columnFiltersToLayeredRules as a3, completeLayeredFilterRules as a4, decodeLayeredFilterRules as a5, encodeLayeredFilterRules as a6, isCompleteLayeredFilterRule as a7, isLayeredFilterOperator as a8, layeredFilterMatchesValue as a9, layeredFilterNeedsValue as aa, layeredFilterRuleSummary as ab, operatorsForLayeredField as ac, type TableSavedViewsProps as b, type MatrxDataTableDensity as c, type MatrxDataTableRecordControls as d, type MatrxDataTableQueryState as e, type ColumnFilterKind as f, type MatrxDataTableCopyConfig as g, type MatrxDataTableProps as h, type TableViewSnapshot as i, type ColumnMarker as j, type CellEditType as k, type CellEditsMap as l, type MatrxDataTableContextMenuConfig as m, type MatrxDataTableCoverageConfig as n, type MatrxDataTableDetailConfig as o, type MatrxDataTableEditConfig as p, type MatrxDataTableEmptyState as q, type MatrxDataTableExpandedDetailConfig as r, type MatrxDataTableFacetsConfig as s, type MatrxDataTableFilterUi as t, type MatrxDataTableGroupingConfig as u, type MatrxDataTableHierarchyConfig as v, type MatrxDataTableHierarchyMove as w, type MatrxDataTableMobileCardControls as x, type MatrxDataTableMultiExpandedDetailConfig as y, type MatrxDataTableQueryControl as z };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-matrx/design-system",
3
- "version": "0.44.0",
3
+ "version": "0.44.1",
4
4
  "description": "AI Matrx semantic React primitives shared across Vite, Next.js, desktop, and customer-built applications.",
5
5
  "type": "module",
6
6
  "license": "MIT",