@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.
- package/dist/full.css +1 -1
- package/dist/hooks/useSessionRecorder.js +1 -1
- package/dist/index.d.ts +11 -1
- package/dist/shared/components/CollectionBrowserView.js +3795 -3564
- package/dist/shared/components/DataTable.js +611 -551
- package/dist/shared/components/OverflowRail.js +326 -0
- package/dist/shared/components/TipLayer.js +8 -8
- package/dist/shared/components/integrations/console/SignalCard.js +84 -77
- package/dist/shared/components/list/PhonePager.js +50 -0
- package/dist/shared/components/notifications/NotificationCenterView.js +67 -68
- package/dist/shared/components/pipeline/PipelineEditorView.js +1357 -1333
- package/dist/shared/components/queue/OwnerAvatars.js +9 -9
- package/dist/shared/components/queue/QueueWorklist.js +2016 -1851
- package/dist/shared/components/queue/worklist-helpers.js +10 -6
- package/dist/shared/components/ui/popover.js +53 -29
- package/dist/shared/lib/keep-row-focus.js +43 -0
- package/dist/shared/lib/obligation-banner.js +17 -17
- package/dist/shared/lib/rail-menu-context.js +9 -0
- package/dist/shared/lib/row-surface.js +7 -0
- package/dist/shared/lib/table-pins.js +20 -18
- package/dist/shared/lib/upload-file.js +48 -19
- package/dist/shared/lib/upload-presence.js +33 -33
- package/dist/shared/lib/use-below-md.js +29 -0
- package/package.json +1 -1
|
@@ -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.
|
|
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;
|