@nivaro/react 0.3.115 → 0.3.116

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.
@@ -10,7 +10,7 @@ import { noteReplayIdle as Me, createReplayIdleState as Ne, REPLAY_IDLE_RESTART_
10
10
  import { noteReplayEvent as Ue, createReplayCheckoutState as We } from "../shared/lib/replay-checkout.js";
11
11
  import { instrumentConsole as He, instrumentRequests as Ke, redactSecrets as $e } from "../shared/lib/replay-context.js";
12
12
  import { instrumentSocket as Be } from "../shared/lib/replay-socket.js";
13
- const ze = "nivaro-react@0.3.115", V = 1e4, Ye = 150, xe = 3e3, je = 600, Ge = (o) => `nvr_replay_resume${o ? `:${o}` : ""}`, X = () => typeof navigator > "u" || navigator.onLine !== !1;
13
+ const ze = "nivaro-react@0.3.116", V = 1e4, Ye = 150, xe = 3e3, je = 600, Ge = (o) => `nvr_replay_resume${o ? `:${o}` : ""}`, X = () => typeof navigator > "u" || navigator.onLine !== !1;
14
14
  function Je(o) {
15
15
  return typeof o.url != "string" || typeof fetch != "function" ? null : (f, u) => {
16
16
  const l = typeof o.getToken == "function" ? o.getToken() : void 0, d = { "Content-Type": "application/json" };
package/dist/index.d.ts CHANGED
@@ -2923,7 +2923,7 @@ export declare function dashboardPretendDownOptions(widgets: Array<{
2923
2923
  field?: string | null;
2924
2924
  }>, labels?: Record<string, string | null | undefined>): PretendDownOption[];
2925
2925
 
2926
- export declare function DataTable<T = Record<string, unknown>>({ columns, rows, rowKey, total, page, limit, isLoading, isError, errorMessage, onRetry, sort, onSortChange, onPageChange, onRowClick, onRowContextMenu, searchValue, onSearchChange, searchPlaceholder, filterDefs, filterValues, onFilterChange, toolbarRight, emptyMessage, minBodyHeight, fillHeight, footer, hideFilterRow, nowrapCells, density, pinFirstColumn, columnPins, onColumnPinChange, columnFilterRow, hScrollProxy, selectedIds, onSelectionChange, rowClassName, rowDragProps, rowTitle, enterKey, rowGroups, collapsedGroups, onToggleGroup, onRowFocus, activeRowKey, rowAriaLabel, totalsRow }: DataTableProps<T>): React_2.JSX.Element;
2926
+ export declare function DataTable<T = Record<string, unknown>>({ columns, rows, rowKey, total, page, limit, isLoading, isError, errorMessage, onRetry, sort, onSortChange, onPageChange, onRowClick, onRowContextMenu, searchValue, onSearchChange, searchPlaceholder, filterDefs, filterValues, onFilterChange, toolbarRight, emptyMessage, minBodyHeight, fillHeight, footer, hideFilterRow, nowrapCells, density, pinFirstColumn, columnPins, onColumnPinChange, pinKeepRank, pinRightShare, columnFilterRow, hScrollProxy, selectedIds, onSelectionChange, rowClassName, rowDragProps, rowTitle, enterKey, rowGroups, collapsedGroups, onToggleGroup, onRowFocus, activeRowKey, rowAriaLabel, totalsRow }: DataTableProps<T>): React_2.JSX.Element;
2927
2927
 
2928
2928
  export declare interface DataTableProps<T = Record<string, unknown>> {
2929
2929
  columns: Column<T>[];
@@ -2969,6 +2969,14 @@ export declare interface DataTableProps<T = Record<string, unknown>> {
2969
2969
  * hover-revealed pin button cycling none → left → right → none. */
2970
2970
  columnPins?: Record<string, 'left' | 'right'>;
2971
2971
  onColumnPinChange?: (key: string, pin: 'left' | 'right' | null) => void;
2972
+ /** On a narrow desktop table, which right pins give way first (lib/table-pins.ts
2973
+ * fitPins `rank`): lower ranks are released first. A pinned column whose cells on
2974
+ * this page are all empty ("—", blank, or text marked `data-cell-empty`) is released
2975
+ * before any other. Released columns scroll with the data columns; the view's
2976
+ * pins are untouched. */
2977
+ pinKeepRank?: (key: string) => number;
2978
+ /** Cap on the right pins alone, as a share of the visible width (fitPins `rightShare`). */
2979
+ pinRightShare?: number;
2972
2980
  /** Render a compact per-column filter row under the headers — each column
2973
2981
  * whose key matches a FilterDef gets that def's control inline (the
2974
2982
  * CollectionBrowserView column-filter pattern). Independent of the
@@ -11332,6 +11340,8 @@ declare interface Row {
11332
11340
  /** The kind's human label from the registry ("Fusion — transfer order
11333
11341
  * submitted"); null when the server no longer knows the kind. */
11334
11342
  label?: string | null;
11343
+ /** What the partner is behind on, in the record's words ("Workflow ID HQ26-81459"). */
11344
+ subject?: string | null;
11335
11345
  submission_id?: number | null;
11336
11346
  transition_id?: string | null;
11337
11347
  transition_label?: string | null;