@datarecce/ui 0.2.0 → 0.2.1-nightly.20260410

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.
Files changed (168) hide show
  1. package/dist/AuthModal-DkDGa1jY.js +7 -0
  2. package/dist/AuthModal-DkDGa1jY.js.map +1 -0
  3. package/dist/{RouteConfigContext-z8YNimdP.d.ts → RouteConfigContext-DWFg6bll.d.ts} +13 -14
  4. package/dist/RouteConfigContext-DWFg6bll.d.ts.map +1 -0
  5. package/dist/{RunProgress-DyFIALbI.d.ts → RunProgress-CyDIiyNR.d.ts} +18 -18
  6. package/dist/RunProgress-CyDIiyNR.d.ts.map +1 -0
  7. package/dist/{ScreenshotDataGrid-BfxYUThx.d.ts → ScreenshotDataGrid-BAsPWcde.d.ts} +6 -7
  8. package/dist/ScreenshotDataGrid-BAsPWcde.d.ts.map +1 -0
  9. package/dist/{SplitPane-B-BLxZaQ.d.ts → SplitPane-C-WArAED.d.ts} +301 -103
  10. package/dist/SplitPane-C-WArAED.d.ts.map +1 -0
  11. package/dist/advanced.d.ts +34 -9
  12. package/dist/advanced.d.ts.map +1 -1
  13. package/dist/advanced.js +1 -1
  14. package/dist/advanced.js.map +1 -1
  15. package/dist/api-E1dkaTi_.js +3 -0
  16. package/dist/api-E1dkaTi_.js.map +1 -0
  17. package/dist/{api-ZZ4cc9b9.d.ts → api-ZsJanCwW.d.ts} +27 -28
  18. package/dist/api-ZsJanCwW.d.ts.map +1 -0
  19. package/dist/api.d.ts +2 -2
  20. package/dist/api.js +1 -1
  21. package/dist/{colors--47Kkns4.js → colors-BbPSDR1X.js} +2 -2
  22. package/dist/colors-BbPSDR1X.js.map +1 -0
  23. package/dist/components-run.d.ts +3 -6
  24. package/dist/components-run.js +1 -1
  25. package/dist/components.d.ts +9 -22
  26. package/dist/components.js +1 -1
  27. package/dist/{constants-DD5vJv2q.js → constants-D-hOGDbU.js} +1 -1
  28. package/dist/{constants-DD5vJv2q.js.map → constants-D-hOGDbU.js.map} +1 -1
  29. package/dist/constants.d.ts +1 -1
  30. package/dist/constants.js +1 -1
  31. package/dist/contexts.d.ts +4 -5
  32. package/dist/contexts.js +1 -1
  33. package/dist/fetchClient-BVyYwVMf.js +3 -0
  34. package/dist/fetchClient-BVyYwVMf.js.map +1 -0
  35. package/dist/fetchClient-CTnJ39EA.d.ts +19 -0
  36. package/dist/fetchClient-CTnJ39EA.d.ts.map +1 -0
  37. package/dist/hooks.d.ts +2 -14
  38. package/dist/hooks.js +1 -1
  39. package/dist/{index-h_fw6R9U.d.ts → index-3E87oNEi.d.ts} +43 -8
  40. package/dist/index-3E87oNEi.d.ts.map +1 -0
  41. package/dist/{index-o48TPoFN.d.ts → index-B5W4Cu7o.d.ts} +38 -28
  42. package/dist/index-B5W4Cu7o.d.ts.map +1 -0
  43. package/dist/{index-CiPcALu4.d.ts → index-BJOCIgE1.d.ts} +6 -4
  44. package/dist/index-BJOCIgE1.d.ts.map +1 -0
  45. package/dist/{colors-vY9Yzui0.d.ts → index-CHJ0PCEg.d.ts} +131 -6
  46. package/dist/index-CHJ0PCEg.d.ts.map +1 -0
  47. package/dist/{index-CkXLPYZY.d.ts → index-CZ7gueQV.d.ts} +1 -1
  48. package/dist/index-CZ7gueQV.d.ts.map +1 -0
  49. package/dist/{index-DVoQsx5c.d.ts → index-CaSERvsu.d.ts} +148 -146
  50. package/dist/index-CaSERvsu.d.ts.map +1 -0
  51. package/dist/{index-Ba3hp2Ng.d.ts → index-D2OTg1N4.d.ts} +92 -91
  52. package/dist/index-D2OTg1N4.d.ts.map +1 -0
  53. package/dist/{index-DTCpHvX_.d.ts → index-DCbl1RRQ.d.ts} +12 -11
  54. package/dist/index-DCbl1RRQ.d.ts.map +1 -0
  55. package/dist/{index-BFkbe0aF.d.ts → index-ielAdd0Z.d.ts} +21 -15
  56. package/dist/index-ielAdd0Z.d.ts.map +1 -0
  57. package/dist/index.d.ts +17 -24
  58. package/dist/index.js +1 -1
  59. package/dist/{flag-CiR2E5oz.d.ts → instanceInfo-Ch_8ckjl.d.ts} +86 -73
  60. package/dist/instanceInfo-Ch_8ckjl.d.ts.map +1 -0
  61. package/dist/keepAlive-DbC0X4zr.js +3 -0
  62. package/dist/keepAlive-DbC0X4zr.js.map +1 -0
  63. package/dist/lib/api/{axiosClient.d.ts → queryClient.d.ts} +2 -2
  64. package/dist/lib/api/queryClient.d.ts.map +1 -0
  65. package/dist/lib/api/{axiosClient.js → queryClient.js} +1 -1
  66. package/dist/lib/api/queryClient.js.map +1 -0
  67. package/dist/lib/api/track.d.ts.map +1 -1
  68. package/dist/lib/api/track.js +2 -1
  69. package/dist/lib/api/track.js.map +1 -0
  70. package/dist/lib/api/user.d.ts +2 -2
  71. package/dist/lib/api/user.d.ts.map +1 -1
  72. package/dist/lib/api/user.js +2 -1
  73. package/dist/lib/api/user.js.map +1 -0
  74. package/dist/lib/const.d.ts.map +1 -1
  75. package/dist/lib/const.js +2 -1
  76. package/dist/lib/const.js.map +1 -0
  77. package/dist/lib/result/ResultErrorFallback.d.ts.map +1 -1
  78. package/dist/lib/result/ResultErrorFallback.js +2 -1
  79. package/dist/lib/result/ResultErrorFallback.js.map +1 -0
  80. package/dist/{index-C_kD4ZQ3.d.ts → lineage-Bprdx2yV.d.ts} +398 -168
  81. package/dist/lineage-Bprdx2yV.d.ts.map +1 -0
  82. package/dist/{primitives-CgGUvwHB.d.ts → primitives-DO8U1w1D.d.ts} +197 -22
  83. package/dist/primitives-DO8U1w1D.d.ts.map +1 -0
  84. package/dist/primitives.d.ts +7 -11
  85. package/dist/primitives.js +1 -1
  86. package/dist/result.d.ts +1 -2
  87. package/dist/result.js +1 -1
  88. package/dist/src-9c_XVr7Z.js +12 -0
  89. package/dist/src-9c_XVr7Z.js.map +1 -0
  90. package/dist/style.css +308 -0
  91. package/dist/styles.css +2 -2
  92. package/dist/theme-B_XT39eO.js +3 -0
  93. package/dist/theme-B_XT39eO.js.map +1 -0
  94. package/dist/theme.d.ts +1 -2
  95. package/dist/theme.js +1 -1
  96. package/dist/{types-CFbNxrx2.d.ts → types-BlAAcT0V.d.ts} +7 -7
  97. package/dist/types-BlAAcT0V.d.ts.map +1 -0
  98. package/dist/{types-CZre3j02.d.ts → types-EUGeM5p7.d.ts} +15 -4
  99. package/dist/types-EUGeM5p7.d.ts.map +1 -0
  100. package/dist/types.d.ts +10 -14
  101. package/dist/types.js.map +1 -1
  102. package/dist/useThemeColors-OwCMwSrx.d.ts +79 -0
  103. package/dist/useThemeColors-OwCMwSrx.d.ts.map +1 -0
  104. package/dist/utils-BJxZkzLz.js +3 -0
  105. package/dist/utils-BJxZkzLz.js.map +1 -0
  106. package/dist/utils-Crcz1Rb5.js +6 -0
  107. package/dist/utils-Crcz1Rb5.js.map +1 -0
  108. package/dist/utils.d.ts +2 -6
  109. package/dist/utils.js +1 -1
  110. package/package.json +45 -19
  111. package/dist/AuthModal-C8LetZNB.js +0 -23
  112. package/dist/AuthModal-C8LetZNB.js.map +0 -1
  113. package/dist/LineageCanvas-CR38SDYr.d.ts +0 -41
  114. package/dist/LineageCanvas-CR38SDYr.d.ts.map +0 -1
  115. package/dist/ResultErrorFallback-C7c-TN1p.js +0 -3
  116. package/dist/ResultErrorFallback-C7c-TN1p.js.map +0 -1
  117. package/dist/RouteConfigContext-z8YNimdP.d.ts.map +0 -1
  118. package/dist/RunProgress-DyFIALbI.d.ts.map +0 -1
  119. package/dist/ScreenshotDataGrid-BfxYUThx.d.ts.map +0 -1
  120. package/dist/SplitPane-B-BLxZaQ.d.ts.map +0 -1
  121. package/dist/api-ZZ4cc9b9.d.ts.map +0 -1
  122. package/dist/api-_i6BZPkM.js +0 -3
  123. package/dist/api-_i6BZPkM.js.map +0 -1
  124. package/dist/colors--47Kkns4.js.map +0 -1
  125. package/dist/colors-vY9Yzui0.d.ts.map +0 -1
  126. package/dist/const-DbXBkrxT.js +0 -3
  127. package/dist/const-DbXBkrxT.js.map +0 -1
  128. package/dist/flag-CiR2E5oz.d.ts.map +0 -1
  129. package/dist/flag-koeDAqr3.js +0 -3
  130. package/dist/flag-koeDAqr3.js.map +0 -1
  131. package/dist/index-BFkbe0aF.d.ts.map +0 -1
  132. package/dist/index-Ba3hp2Ng.d.ts.map +0 -1
  133. package/dist/index-C_kD4ZQ3.d.ts.map +0 -1
  134. package/dist/index-CiPcALu4.d.ts.map +0 -1
  135. package/dist/index-CkXLPYZY.d.ts.map +0 -1
  136. package/dist/index-DTCpHvX_.d.ts.map +0 -1
  137. package/dist/index-DVoQsx5c.d.ts.map +0 -1
  138. package/dist/index-DmwYRgDR.d.ts +0 -192
  139. package/dist/index-DmwYRgDR.d.ts.map +0 -1
  140. package/dist/index-N8N7XmRj.d.ts +0 -130
  141. package/dist/index-N8N7XmRj.d.ts.map +0 -1
  142. package/dist/index-h_fw6R9U.d.ts.map +0 -1
  143. package/dist/index-o48TPoFN.d.ts.map +0 -1
  144. package/dist/keepAlive-CEzyrDfg.js +0 -3
  145. package/dist/keepAlive-CEzyrDfg.js.map +0 -1
  146. package/dist/lib/api/axiosClient.d.ts.map +0 -1
  147. package/dist/lib/api/axiosClient.js.map +0 -1
  148. package/dist/primitives-CgGUvwHB.d.ts.map +0 -1
  149. package/dist/src-BgHSbbHk.js +0 -67
  150. package/dist/src-BgHSbbHk.js.map +0 -1
  151. package/dist/theme-CeWzymUn.js +0 -64
  152. package/dist/theme-CeWzymUn.js.map +0 -1
  153. package/dist/track-9ZQpBlUK.js +0 -3
  154. package/dist/track-9ZQpBlUK.js.map +0 -1
  155. package/dist/types-CFbNxrx2.d.ts.map +0 -1
  156. package/dist/types-CZre3j02.d.ts.map +0 -1
  157. package/dist/useRecceServerFlag-Bg5R67J4.js +0 -3
  158. package/dist/useRecceServerFlag-Bg5R67J4.js.map +0 -1
  159. package/dist/useThemeColors--prVbMmM.js +0 -3
  160. package/dist/useThemeColors--prVbMmM.js.map +0 -1
  161. package/dist/useThemeColors-DHEroo8f.d.ts +0 -104
  162. package/dist/useThemeColors-DHEroo8f.d.ts.map +0 -1
  163. package/dist/user-DMT7E0fc.js +0 -3
  164. package/dist/user-DMT7E0fc.js.map +0 -1
  165. package/dist/utils-CW2skXm_.js +0 -3
  166. package/dist/utils-CW2skXm_.js.map +0 -1
  167. package/dist/utils-CXWhfyxC.js +0 -5
  168. package/dist/utils-CXWhfyxC.js.map +0 -1
@@ -1,24 +1,55 @@
1
1
 
2
- import { C as Run, Gt as RowObjectType, J as ValueDiffDetailViewOptions, X as ValueDiffResult, Y as ValueDiffParams, dt as ProfileDiffViewOptions, ft as TopKDiffParams, ht as TopKViewOptions, it as RowCountResult, l as Check, nt as RowCountDiffResult, on as NodeData, ot as HistogramDiffParams, pt as TopKDiffResult, rn as ManifestMetadata, st as HistogramDiffResult, ut as ProfileDiffResult, wt as QueryViewOptions, yt as QueryDiffViewOptions } from "./flag-CiR2E5oz.js";
3
- import { i as LineageGraph } from "./types-CZre3j02.js";
4
- import { nt as CheckActionType, p as SchemaDiffRow$1, q as CheckDetailTab, tt as CheckAction } from "./SplitPane-B-BLxZaQ.js";
5
- import { o as RunFormProps } from "./types-CFbNxrx2.js";
6
- import { r as DataGridHandle } from "./ScreenshotDataGrid-BfxYUThx.js";
7
- import { n as CreatedResultViewProps } from "./index-CiPcALu4.js";
8
- import { m as Check$1 } from "./index-Ba3hp2Ng.js";
9
- import "@tanstack/react-query";
2
+ import { C as Run, J as ValueDiffDetailViewOptions, Jt as ColumnLineageData, X as ValueDiffResult, Y as ValueDiffParams, dt as ProfileDiffViewOptions, ft as TopKDiffParams, ht as TopKViewOptions, it as RowCountResult, l as Check, nt as RowCountDiffResult, on as NodeData, ot as HistogramDiffParams, pt as TopKDiffResult, rn as ManifestMetadata, st as HistogramDiffResult, ut as ProfileDiffResult, wt as QueryViewOptions, yt as QueryDiffViewOptions } from "./instanceInfo-Ch_8ckjl.js";
3
+ import { i as LineageGraph, l as LineageGraphNodes, s as LineageGraphEdge } from "./types-EUGeM5p7.js";
4
+ import { u as NodeColumnSetMap } from "./index-DCbl1RRQ.js";
5
+ import { X as CheckDetailTab, at as CheckActionType, it as CheckAction, p as SchemaDiffRow } from "./SplitPane-C-WArAED.js";
6
+ import { m as Check$1 } from "./index-D2OTg1N4.js";
7
+ import { o as RunFormProps } from "./types-BlAAcT0V.js";
8
+ import { r as DataGridHandle } from "./ScreenshotDataGrid-BAsPWcde.js";
9
+ import { n as CreatedResultViewProps } from "./index-BJOCIgE1.js";
10
10
  import * as React$2 from "react";
11
- import React$1, { ComponentType, Dispatch, ForwardRefExoticComponent, PropsWithChildren, ReactNode, Ref, RefAttributes, SVGProps, SetStateAction } from "react";
12
- import * as react_jsx_runtime60 from "react/jsx-runtime";
11
+ import React$1, { CSSProperties, ComponentType, Dispatch, ForwardRefExoticComponent, PropsWithChildren, ReactNode, Ref, RefAttributes, SVGProps, SetStateAction } from "react";
12
+ import * as _$react_jsx_runtime0 from "react/jsx-runtime";
13
13
  import { BoxProps } from "@mui/material/Box";
14
- import "@mui/material/styles";
15
- import { EdgeProps } from "@xyflow/react";
16
- import "@xyflow/react/dist/style.css";
17
14
  import { ColDef, ColGroupDef, ICellRendererParams } from "ag-grid-community";
15
+ import { EdgeProps } from "@xyflow/react";
18
16
  import { FallbackRender } from "@sentry/react";
19
17
 
18
+ //#region src/components/lineage/computeColumnAncestry.d.ts
19
+ interface ColumnAnnotation {
20
+ column: string;
21
+ isImpacted: boolean;
22
+ transformationType?: string;
23
+ changeStatus?: "added" | "removed" | "modified";
24
+ }
25
+ //#endregion
26
+ //#region src/components/lineage/config/zoomConstants.d.ts
27
+ /**
28
+ * Zoom and display constants for the lineage view.
29
+ *
30
+ * LEGIBLE_MIN_ZOOM: Floor for fitView() calls — ensures node labels remain
31
+ * readable on initial load. At 300px node width, 0.35x renders ~105px on screen.
32
+ *
33
+ * EXPLORE_MIN_ZOOM: Floor for manual zoom — power users can zoom out further
34
+ * to see the full graph overview.
35
+ *
36
+ * FIT_VIEW_PADDING: Breathing room around fitted nodes so they don't touch
37
+ * the viewport edge.
38
+ *
39
+ * DIM_FILTER: CSS filter applied to non-highlighted nodes/edges. Uses 0.4
40
+ * opacity (not 0.2) so graph structure remains visible at any zoom level.
41
+ */
42
+ /** Minimum zoom for fitView — labels remain readable */
43
+ declare const LEGIBLE_MIN_ZOOM = 0.35;
44
+ /** Minimum zoom for manual exploration */
45
+ declare const EXPLORE_MIN_ZOOM = 0.1;
46
+ /** Padding for fitView calls */
47
+ declare const FIT_VIEW_PADDING = 0.15;
48
+ /** CSS filter for dimmed (non-highlighted) nodes and edges */
49
+ declare const DIM_FILTER = "opacity(0.4) grayscale(40%)";
50
+ //#endregion
20
51
  //#region src/components/app/EnvInfo.d.ts
21
- declare function EnvInfo(): react_jsx_runtime60.JSX.Element;
52
+ declare function EnvInfo(): _$react_jsx_runtime0.JSX.Element;
22
53
  //#endregion
23
54
  //#region src/components/app/MainLayout.d.ts
24
55
  interface MainLayoutProps {
@@ -29,7 +60,7 @@ interface MainLayoutProps {
29
60
  declare function MainLayout({
30
61
  children,
31
62
  lineage
32
- }: MainLayoutProps): react_jsx_runtime60.JSX.Element;
63
+ }: MainLayoutProps): _$react_jsx_runtime0.JSX.Element;
33
64
  interface MainProps {
34
65
  children: ReactNode;
35
66
  lineage: ReactNode;
@@ -42,7 +73,7 @@ declare function Main({
42
73
  lineage,
43
74
  isLineageRoute,
44
75
  disableInternalHistory
45
- }: MainProps): react_jsx_runtime60.JSX.Element;
76
+ }: MainProps): _$react_jsx_runtime0.JSX.Element;
46
77
  //#endregion
47
78
  //#region src/components/check/CheckDetailOss.d.ts
48
79
  interface CheckDetailProps {
@@ -55,7 +86,7 @@ declare function CheckDetailOss({
55
86
  }: CheckDetailProps): ReactNode;
56
87
  //#endregion
57
88
  //#region src/components/check/CheckEmptyStateOss.d.ts
58
- declare const CheckEmptyStateOss: () => react_jsx_runtime60.JSX.Element;
89
+ declare const CheckEmptyStateOss: () => _$react_jsx_runtime0.JSX.Element;
59
90
  //#endregion
60
91
  //#region src/components/check/CheckListOss.d.ts
61
92
  declare const CheckListOss: ({
@@ -68,7 +99,7 @@ declare const CheckListOss: ({
68
99
  selectedItem: string | null;
69
100
  onCheckSelected: (checkId: string) => void;
70
101
  onChecksReordered: (source: number, destination: number) => void;
71
- }) => react_jsx_runtime60.JSX.Element;
102
+ }) => _$react_jsx_runtime0.JSX.Element;
72
103
  //#endregion
73
104
  //#region src/components/check/CheckPageContentOss.d.ts
74
105
  declare const CheckPageContentOss: () => ReactNode;
@@ -80,13 +111,13 @@ declare const CheckPageContentOss: () => ReactNode;
80
111
  declare const CheckPageLoadingOss: () => ReactNode;
81
112
  //#endregion
82
113
  //#region src/components/errorboundary/ErrorBoundary.d.ts
83
- declare const ErrorBoundary: ({
114
+ declare const ErrorBoundary$1: ({
84
115
  children,
85
116
  fallback
86
117
  }: {
87
118
  children: ReactNode;
88
119
  fallback?: React$2.ReactElement | FallbackRender | undefined;
89
- }) => react_jsx_runtime60.JSX.Element;
120
+ }) => _$react_jsx_runtime0.JSX.Element;
90
121
  //#endregion
91
122
  //#region src/components/histogram/HistogramDiffForm.d.ts
92
123
  /**
@@ -114,7 +145,7 @@ declare function HistogramDiffForm({
114
145
  params,
115
146
  onParamsChanged,
116
147
  setIsReadyToExecute
117
- }: HistogramDiffEditProps): react_jsx_runtime60.JSX.Element;
148
+ }: HistogramDiffEditProps): _$react_jsx_runtime0.JSX.Element;
118
149
  //#endregion
119
150
  //#region src/components/histogram/HistogramResultView.d.ts
120
151
  /**
@@ -144,76 +175,241 @@ interface HistogramResultViewProps extends CreatedResultViewProps<unknown> {
144
175
  */
145
176
  declare const HistogramDiffResultView: ForwardRefExoticComponent<HistogramResultViewProps & RefAttributes<HTMLDivElement>>;
146
177
  //#endregion
147
- //#region src/lib/dataGrid/generators/toSchemaDataGrid.d.ts
148
- interface SchemaDiffRow extends RowObjectType {
149
- name: string;
150
- reordered?: boolean;
151
- currentIndex?: number;
152
- baseIndex?: number;
153
- currentType?: string;
154
- baseType?: string;
155
- }
156
- interface SchemaRow extends RowObjectType {
157
- name: string;
158
- index: number;
159
- type?: string;
178
+ //#region src/components/lineage/LineagePageOss.d.ts
179
+ declare function LineagePageOss(): _$react_jsx_runtime0.JSX.Element;
180
+ //#endregion
181
+ //#region src/components/lineage/NodeView.d.ts
182
+ /**
183
+ * Node data structure for NodeView.
184
+ * Represents the data needed to display node details.
185
+ */
186
+ interface NodeViewNodeData {
187
+ id: string;
188
+ data: {
189
+ name: string;
190
+ resourceType?: string;
191
+ changeStatus?: string;
192
+ from?: string;
193
+ data: {
194
+ base?: NodeData;
195
+ current?: NodeData;
196
+ };
197
+ change?: {
198
+ category: string;
199
+ columns: Record<string, "added" | "removed" | "modified"> | null;
200
+ };
201
+ };
160
202
  }
161
- type SchemaDiff = Record<string, SchemaDiffRow>;
162
- interface SchemaDataGridOptions {
163
- /** Node data for context menu actions */
164
- node?: NodeData;
165
- /** Map of column names to CLL loading state */
166
- cllRunningMap?: Map<string, boolean>;
167
- /** Whether to show the column action menu (default: true) */
168
- showMenu?: boolean;
203
+ /**
204
+ * Run type icon configuration for dependency injection.
205
+ * Maps run type names to their icon components.
206
+ */
207
+ interface RunTypeIconMap {
208
+ query?: ComponentType<{
209
+ fontSize?: string;
210
+ }>;
211
+ row_count?: ComponentType<{
212
+ fontSize?: string;
213
+ }>;
214
+ row_count_diff?: ComponentType<{
215
+ fontSize?: string;
216
+ }>;
217
+ profile?: ComponentType<{
218
+ fontSize?: string;
219
+ }>;
220
+ profile_diff?: ComponentType<{
221
+ fontSize?: string;
222
+ }>;
223
+ query_diff?: ComponentType<{
224
+ fontSize?: string;
225
+ }>;
226
+ value_diff?: ComponentType<{
227
+ fontSize?: string;
228
+ }>;
229
+ top_k_diff?: ComponentType<{
230
+ fontSize?: string;
231
+ }>;
232
+ histogram_diff?: ComponentType<{
233
+ fontSize?: string;
234
+ }>;
235
+ schema_diff?: ComponentType<{
236
+ fontSize?: string;
237
+ }>;
238
+ sandbox?: ComponentType<{
239
+ fontSize?: string;
240
+ }>;
169
241
  }
170
- interface SchemaDataGridResult {
171
- columns: (ColDef<SchemaDiffRow> | ColGroupDef<SchemaDiffRow>)[];
172
- rows: SchemaDiffRow[];
242
+ /**
243
+ * Props for the SchemaView component (diff mode).
244
+ */
245
+ interface SchemaViewProps$1 {
246
+ base?: NodeData;
247
+ current?: NodeData;
248
+ columnChanges?: Record<string, "added" | "removed" | "modified"> | null;
249
+ onViewCode?: () => void;
173
250
  }
174
- interface SingleEnvSchemaDataGridResult {
175
- columns: (ColDef<SchemaRow> | ColGroupDef<SchemaRow>)[];
176
- rows: SchemaRow[];
251
+ /**
252
+ * Props for the SingleEnvSchemaView component.
253
+ */
254
+ interface SingleEnvSchemaViewProps {
255
+ current?: NodeData;
177
256
  }
178
257
  /**
179
- * Merges base and current column schemas into a diff structure
258
+ * Props for the NotificationComponent.
180
259
  */
181
- declare function mergeColumns(baseColumns?: NodeData["columns"], currentColumns?: NodeData["columns"]): SchemaDiff;
260
+ interface NotificationComponentProps {
261
+ onClose: () => void;
262
+ children?: ReactNode;
263
+ }
182
264
  /**
183
- * Generates grid configuration for schema diff view
184
- * Uses merged columns: Index (merged base/current), Name, Type (merged with badges)
265
+ * Props for the ConnectionPopoverWrapper.
185
266
  */
186
- declare function toSchemaDataGrid(schemaDiff: SchemaDiff, options?: SchemaDataGridOptions): SchemaDataGridResult;
267
+ interface ConnectionPopoverWrapperProps {
268
+ display: boolean;
269
+ children: ReactNode;
270
+ }
187
271
  /**
188
- * Generates grid configuration for single-environment schema view
272
+ * Props for the SandboxDialog component.
189
273
  */
190
- declare function toSingleEnvDataGrid(nodeColumns?: NodeData["columns"], options?: SchemaDataGridOptions): SingleEnvSchemaDataGridResult;
191
- //#endregion
192
- //#region src/providers/contexts/ThemeContext.d.ts
274
+ interface SandboxDialogProps {
275
+ isOpen: boolean;
276
+ onClose: () => void;
277
+ current?: NodeData;
278
+ }
193
279
  /**
194
- * Theme mode selection for {@link ThemeProvider}.
280
+ * Callbacks for action button clicks.
281
+ * Used for dependency injection of action handlers.
195
282
  */
196
- type ThemeMode = "light" | "dark" | "system";
283
+ interface NodeViewActionCallbacks {
284
+ /** Called when Query button is clicked */
285
+ onQueryClick?: () => void;
286
+ /** Called when Row Count button is clicked */
287
+ onRowCountClick?: () => void;
288
+ /** Called when Row Count Diff button is clicked */
289
+ onRowCountDiffClick?: () => void;
290
+ /** Called when Profile button is clicked */
291
+ onProfileClick?: () => void;
292
+ /** Called when Profile Diff button is clicked */
293
+ onProfileDiffClick?: () => void;
294
+ /** Called when Query Diff button is clicked */
295
+ onQueryDiffClick?: () => void;
296
+ /** Called when Value Diff button is clicked */
297
+ onValueDiffClick?: () => void;
298
+ /** Called when Top-K Diff button is clicked */
299
+ onTopKDiffClick?: () => void;
300
+ /** Called when Histogram Diff button is clicked */
301
+ onHistogramDiffClick?: () => void;
302
+ /** Called when Add Schema Diff button is clicked */
303
+ onAddSchemaDiffClick?: () => void;
304
+ /** Called when Sandbox button is clicked */
305
+ onSandboxClick?: () => void;
306
+ }
197
307
  /**
198
- * Theme context values exposed by {@link useRecceTheme}.
308
+ * Props for NodeView component.
309
+ *
310
+ * Uses dependency injection for:
311
+ * - Schema view components (for different consumers)
312
+ * - SQL view component (NodeSqlView)
313
+ * - Action button icons
314
+ * - Notification components
315
+ * - Connection popover wrapper
199
316
  */
200
- interface ThemeContextValue {
201
- mode: ThemeMode;
202
- resolvedMode: "light" | "dark";
203
- setMode: (mode: ThemeMode) => void;
317
+ interface NodeViewProps<TNode extends NodeViewNodeData = NodeViewNodeData> {
318
+ /** The node to display */
319
+ node: TNode;
320
+ /** Callback when close button is clicked */
321
+ onCloseNode: () => void;
322
+ /** Whether in single environment mode */
323
+ isSingleEnv: boolean;
324
+ /** Feature toggles for conditional UI */
325
+ featureToggles?: {
326
+ mode?: string | null;
327
+ disableDatabaseQuery?: boolean;
328
+ };
329
+ /** Schema view component for diff mode */
330
+ SchemaView?: ComponentType<SchemaViewProps$1>;
331
+ /** Schema view component for single env mode */
332
+ SingleEnvSchemaView?: ComponentType<SingleEnvSchemaViewProps>;
333
+ /** Node SQL view component */
334
+ NodeSqlView?: ComponentType<{
335
+ node: TNode;
336
+ }>;
337
+ /** Row count diff tag component */
338
+ RowCountDiffTag?: ComponentType<{
339
+ node: TNode;
340
+ onRefresh?: () => void;
341
+ }>;
342
+ /** Row count tag component (single env) */
343
+ RowCountTag?: ComponentType<{
344
+ node: TNode;
345
+ onRefresh?: () => void;
346
+ }>;
347
+ /** Resource type tag component */
348
+ ResourceTypeTag?: ComponentType<{
349
+ node: TNode;
350
+ }>;
351
+ /** Notification component for single env mode */
352
+ NotificationComponent?: ComponentType<NotificationComponentProps>;
353
+ /** Wrapper component for buttons that need connection popover */
354
+ ConnectionPopoverWrapper?: ComponentType<ConnectionPopoverWrapperProps>;
355
+ /** Sandbox dialog component */
356
+ SandboxDialog?: ComponentType<SandboxDialogProps>;
357
+ /** Map of run type names to icon components */
358
+ runTypeIcons?: RunTypeIconMap;
359
+ /** Action callbacks for button clicks */
360
+ actionCallbacks?: NodeViewActionCallbacks;
361
+ /** Check if an action is available */
362
+ isActionAvailable?: (runType: string) => boolean;
204
363
  }
205
364
  /**
206
- * Access the theme context.
365
+ * NodeView Component
207
366
  *
208
- * @throws Error if used outside {@link RecceProvider}.
367
+ * Displays detailed information about a lineage node including:
368
+ * - Node name and metadata
369
+ * - Action buttons for various operations (Query, Profile, Diff, etc.)
370
+ * - Tabs for Columns and Code views
371
+ *
372
+ * Uses dependency injection for:
373
+ * - Schema view components (different for OSS vs Cloud)
374
+ * - Action button handlers
375
+ * - Icon components from run registry
376
+ * - Connection popover for database setup prompts
377
+ *
378
+ * @example
379
+ * ```tsx
380
+ * import { NodeView } from '@datarecce/ui/advanced';
381
+ *
382
+ * <NodeView
383
+ * node={selectedNode}
384
+ * onCloseNode={() => setSelectedNode(null)}
385
+ * isSingleEnv={false}
386
+ * SchemaView={MySchemaView}
387
+ * NodeSqlView={MyNodeSqlView}
388
+ * actionCallbacks={{
389
+ * onQueryClick: handleQuery,
390
+ * onProfileDiffClick: handleProfileDiff,
391
+ * }}
392
+ * />
393
+ * ```
209
394
  */
210
- declare function useRecceTheme(): ThemeContextValue;
211
- //#endregion
212
- //#region src/index.d.ts
213
- declare const VERSION = "0.2.0";
214
- //#endregion
215
- //#region src/components/lineage/LineagePageOss.d.ts
216
- declare function LineagePageOss(): react_jsx_runtime60.JSX.Element;
395
+ declare function NodeView<TNode extends NodeViewNodeData>({
396
+ node,
397
+ onCloseNode,
398
+ isSingleEnv,
399
+ featureToggles,
400
+ SchemaView,
401
+ SingleEnvSchemaView,
402
+ NodeSqlView,
403
+ RowCountDiffTag,
404
+ RowCountTag,
405
+ ResourceTypeTag,
406
+ NotificationComponent,
407
+ ConnectionPopoverWrapper,
408
+ SandboxDialog,
409
+ runTypeIcons,
410
+ actionCallbacks,
411
+ isActionAvailable
412
+ }: NodeViewProps<TNode>): _$react_jsx_runtime0.JSX.Element;
217
413
  //#endregion
218
414
  //#region src/components/lineage/styles.d.ts
219
415
  /**
@@ -229,14 +425,14 @@ interface NotificationProps {
229
425
  declare function LineageViewNotification({
230
426
  notification,
231
427
  type
232
- }: NotificationProps): react_jsx_runtime60.JSX.Element | null;
428
+ }: NotificationProps): _$react_jsx_runtime0.JSX.Element | null;
233
429
  //#endregion
234
430
  //#region src/components/onboarding-guide/Notification.d.ts
235
431
  declare const RecceNotification: (props: PropsWithChildren<{
236
432
  onClose: () => void;
237
433
  align?: string;
238
- }>) => react_jsx_runtime60.JSX.Element;
239
- declare const LearnHowLink: () => react_jsx_runtime60.JSX.Element;
434
+ }>) => _$react_jsx_runtime0.JSX.Element;
435
+ declare const LearnHowLink: () => _$react_jsx_runtime0.JSX.Element;
240
436
  //#endregion
241
437
  //#region src/components/profile/ProfileDiffForm.d.ts
242
438
  interface ProfileDiffFormParams {
@@ -249,7 +445,7 @@ declare function ProfileDiffForm({
249
445
  params,
250
446
  onParamsChanged,
251
447
  setIsReadyToExecute
252
- }: ProfileDiffFormProp): react_jsx_runtime60.JSX.Element;
448
+ }: ProfileDiffFormProp): _$react_jsx_runtime0.JSX.Element;
253
449
  //#endregion
254
450
  //#region src/components/profile/ProfileResultView.d.ts
255
451
  /**
@@ -358,10 +554,10 @@ declare const QueryForm$1: ({
358
554
  defaultPrimaryKeys,
359
555
  onPrimaryKeysChange,
360
556
  ...props
361
- }: QueryFormProps) => react_jsx_runtime60.JSX.Element;
557
+ }: QueryFormProps) => _$react_jsx_runtime0.JSX.Element;
362
558
  //#endregion
363
559
  //#region src/components/query/QueryPageOss.d.ts
364
- declare const QueryPageOss: () => react_jsx_runtime60.JSX.Element;
560
+ declare const QueryPageOss: () => _$react_jsx_runtime0.JSX.Element;
365
561
  //#endregion
366
562
  //#region src/components/query/QueryResultView.d.ts
367
563
  type QueryRun = Extract<Run, {
@@ -410,7 +606,7 @@ interface SetupConnectionGuideProps {
410
606
  */
411
607
  declare function SetupConnectionGuide({
412
608
  supportCalendarUrl
413
- }: SetupConnectionGuideProps): react_jsx_runtime60.JSX.Element;
609
+ }: SetupConnectionGuideProps): _$react_jsx_runtime0.JSX.Element;
414
610
  //#endregion
415
611
  //#region src/components/query/SqlEditor.d.ts
416
612
  interface SqlEditorProps {
@@ -450,7 +646,7 @@ declare function SqlEditor({
450
646
  manifestData,
451
647
  schemas,
452
648
  ...props
453
- }: SqlEditorProps): react_jsx_runtime60.JSX.Element;
649
+ }: SqlEditorProps): _$react_jsx_runtime0.JSX.Element;
454
650
  declare function DualSqlEditor({
455
651
  value,
456
652
  baseValue,
@@ -463,7 +659,7 @@ declare function DualSqlEditor({
463
659
  labels,
464
660
  SetupGuide,
465
661
  ...props
466
- }: DualSqlEditorProps): react_jsx_runtime60.JSX.Element;
662
+ }: DualSqlEditorProps): _$react_jsx_runtime0.JSX.Element;
467
663
  //#endregion
468
664
  //#region src/components/rowcount/RowCountResultView.d.ts
469
665
  /**
@@ -518,13 +714,15 @@ interface ColumnNameCellProps {
518
714
  /** The model/node data containing column information */
519
715
  model: NodeData;
520
716
  /** The schema diff row data for this column */
521
- row: SchemaDiffRow$1;
717
+ row: SchemaDiffRow;
522
718
  /** Whether viewing a single environment (disables diff menu) */
523
719
  singleEnv?: boolean;
524
720
  /** Whether column-level lineage is currently being computed */
525
721
  cllRunning?: boolean;
526
722
  /** Whether to show the context menu (defaults to true) */
527
723
  showMenu?: boolean;
724
+ /** Callback when user clicks a definition-changed badge to view SQL diff */
725
+ onViewCode?: () => void;
528
726
  }
529
727
  /**
530
728
  * ColumnNameCell - Renders a column name with optional diff action menu
@@ -544,15 +742,21 @@ declare function ColumnNameCell({
544
742
  row,
545
743
  singleEnv,
546
744
  cllRunning,
547
- showMenu
548
- }: ColumnNameCellProps): react_jsx_runtime60.JSX.Element;
745
+ showMenu,
746
+ onViewCode
747
+ }: ColumnNameCellProps): _$react_jsx_runtime0.JSX.Element;
549
748
  //#endregion
550
749
  //#region src/components/schema/SchemaView.d.ts
750
+ declare function SchemaLegend(): _$react_jsx_runtime0.JSX.Element;
551
751
  interface SchemaViewProps {
552
752
  base?: NodeData;
553
753
  current?: NodeData;
554
754
  enableScreenshot?: boolean;
555
755
  showMenu?: boolean;
756
+ /** Per-column change status from breaking change analysis */
757
+ columnChanges?: Record<string, "added" | "removed" | "modified"> | null;
758
+ /** Callback when user clicks a definition-changed badge to view SQL diff */
759
+ onViewCode?: () => void;
556
760
  }
557
761
  declare const SchemaView$1: React$2.ForwardRefExoticComponent<SchemaViewProps & React$2.RefAttributes<DataGridHandle>>;
558
762
  declare const SingleEnvSchemaView$1: React$2.ForwardRefExoticComponent<{
@@ -629,7 +833,7 @@ interface ChangeSummaryResult {
629
833
  */
630
834
  declare function ChangeSummary({
631
835
  lineageGraph
632
- }: ChangeSummaryProps): react_jsx_runtime60.JSX.Element;
836
+ }: ChangeSummaryProps): _$react_jsx_runtime0.JSX.Element;
633
837
  //#endregion
634
838
  //#region src/components/summary/SchemaSummary.d.ts
635
839
  interface SchemaSummaryProps {
@@ -637,7 +841,7 @@ interface SchemaSummaryProps {
637
841
  }
638
842
  declare function SchemaSummary({
639
843
  lineageGraph
640
- }: SchemaSummaryProps): react_jsx_runtime60.JSX.Element;
844
+ }: SchemaSummaryProps): _$react_jsx_runtime0.JSX.Element;
641
845
  //#endregion
642
846
  //#region src/components/summary/utils.d.ts
643
847
  /**
@@ -681,7 +885,7 @@ declare function calculateChangeSummary(lineageGraph: LineageGraph): ChangeSumma
681
885
  * Only shows when remaining time is below the warning threshold
682
886
  * Styled as a warning indicator to draw user attention
683
887
  */
684
- declare function IdleTimeoutBadge(): react_jsx_runtime60.JSX.Element | null;
888
+ declare function IdleTimeoutBadge(): _$react_jsx_runtime0.JSX.Element | null;
685
889
  //#endregion
686
890
  //#region src/components/top-k/TopKDiffForm.d.ts
687
891
  type TopKDiffFormProps = RunFormProps<TopKDiffParams>;
@@ -689,7 +893,7 @@ declare function TopKDiffForm({
689
893
  params,
690
894
  onParamsChanged,
691
895
  setIsReadyToExecute
692
- }: TopKDiffFormProps): react_jsx_runtime60.JSX.Element;
896
+ }: TopKDiffFormProps): _$react_jsx_runtime0.JSX.Element;
693
897
  //#endregion
694
898
  //#region src/components/top-k/TopKDiffResultView.d.ts
695
899
  /**
@@ -726,54 +930,42 @@ interface TopKDiffResultViewProps extends CreatedResultViewProps<TopKViewOptions
726
930
  */
727
931
  declare const TopKDiffResultView: ForwardRefExoticComponent<TopKDiffResultViewProps & RefAttributes<HTMLDivElement>>;
728
932
  //#endregion
729
- //#region src/components/ui/ChangedOnlyCheckbox.d.ts
730
- interface ChangedOnlyCheckboxProps {
731
- /** Whether the changed-only filter is enabled */
732
- changedOnly?: boolean;
733
- /** Callback when the checkbox state changes */
734
- onChange: () => void;
735
- }
933
+ //#region src/components/ui/DataTypeIcon/classifyType.d.ts
934
+ type TypeCategory = "integer" | "number" | "text" | "boolean" | "date" | "datetime" | "time" | "binary" | "json" | "array" | "geography" | "unknown";
736
935
  /**
737
- * A checkbox component for filtering diff results to show only changed rows.
936
+ * Classifies a raw database type string into a TypeCategory.
738
937
  *
739
- * @example
740
- * ```tsx
741
- * <ChangedOnlyCheckbox
742
- * changedOnly={viewOptions.changed_only}
743
- * onChange={() => setChangedOnly(!viewOptions.changed_only)}
744
- * />
745
- * ```
938
+ * - Case-insensitive
939
+ * - Strips parenthesized parameters before matching (e.g. VARCHAR(256) -> VARCHAR)
940
+ * - Special case: TINYINT(1) maps to "boolean", plain TINYINT maps to "integer"
746
941
  */
747
- declare function ChangedOnlyCheckbox({
748
- changedOnly,
749
- onChange
750
- }: ChangedOnlyCheckboxProps): react_jsx_runtime60.JSX.Element;
942
+ declare function classifyType(rawType: string): TypeCategory;
751
943
  //#endregion
752
- //#region src/components/ui/DiffDisplayModeSwitch.d.ts
753
- type DiffDisplayMode = "inline" | "side_by_side";
754
- interface DiffDisplayModeSwitchProps {
755
- /** Current display mode */
756
- displayMode: DiffDisplayMode;
757
- /** Callback when display mode changes */
758
- onDisplayModeChanged: (displayMode: DiffDisplayMode) => void;
944
+ //#region src/components/ui/DataTypeIcon/tooltipText.d.ts
945
+ interface ColumnTooltipInput {
946
+ name: string;
947
+ status?: "added" | "removed" | "type_changed" | "definition_changed" | "unchanged";
948
+ baseType?: string;
949
+ currentType?: string;
950
+ cllAvailable?: boolean;
759
951
  }
760
- /**
761
- * A switch component for toggling between inline and side-by-side diff display modes.
762
- *
763
- * When in inline mode, also shows color legend (Base = red, Current = green).
764
- *
765
- * @example
766
- * ```tsx
767
- * <DiffDisplayModeSwitch
768
- * displayMode="inline"
769
- * onDisplayModeChanged={(mode) => setDisplayMode(mode)}
770
- * />
771
- * ```
772
- */
773
- declare function DiffDisplayModeSwitch({
774
- displayMode,
775
- onDisplayModeChanged
776
- }: DiffDisplayModeSwitchProps): react_jsx_runtime60.JSX.Element;
952
+ declare function buildColumnTooltip(input: ColumnTooltipInput): string;
953
+ //#endregion
954
+ //#region src/components/ui/DataTypeIcon/index.d.ts
955
+ interface DataTypeIconProps {
956
+ type: string;
957
+ size?: number | string;
958
+ style?: CSSProperties;
959
+ className?: string;
960
+ disableTooltip?: boolean;
961
+ }
962
+ declare function DataTypeIcon({
963
+ type,
964
+ size,
965
+ style,
966
+ className,
967
+ disableTooltip
968
+ }: DataTypeIconProps): _$react_jsx_runtime0.JSX.Element;
777
969
  //#endregion
778
970
  //#region src/components/ui/SquareIcon.d.ts
779
971
  interface SquareIconProps {
@@ -785,38 +977,7 @@ interface SquareIconProps {
785
977
  */
786
978
  declare function SquareIcon({
787
979
  color
788
- }: SquareIconProps): react_jsx_runtime60.JSX.Element;
789
- //#endregion
790
- //#region src/components/ui/ToggleSwitch.d.ts
791
- interface ToggleSwitchProps {
792
- /** Current toggle state */
793
- value: boolean;
794
- /** Callback when toggle state changes */
795
- onChange: (value: boolean) => void;
796
- /** Label for the "on" state */
797
- textOn?: string;
798
- /** Label for the "off" state */
799
- textOff?: string;
800
- }
801
- /**
802
- * A toggle switch component that allows switching between two values.
803
- *
804
- * @example
805
- * ```tsx
806
- * <ToggleSwitch
807
- * value={isEnabled}
808
- * onChange={setIsEnabled}
809
- * textOff="Inline"
810
- * textOn="Side by side"
811
- * />
812
- * ```
813
- */
814
- declare function ToggleSwitch({
815
- value,
816
- onChange,
817
- textOn,
818
- textOff
819
- }: ToggleSwitchProps): react_jsx_runtime60.JSX.Element;
980
+ }: SquareIconProps): _$react_jsx_runtime0.JSX.Element;
820
981
  //#endregion
821
982
  //#region src/components/valuediff/ValueDiffDetailResultView.d.ts
822
983
  /**
@@ -864,7 +1025,7 @@ declare function ValueDiffForm({
864
1025
  params,
865
1026
  onParamsChanged,
866
1027
  setIsReadyToExecute
867
- }: ValueDiffFormProp): react_jsx_runtime60.JSX.Element;
1028
+ }: ValueDiffFormProp): _$react_jsx_runtime0.JSX.Element;
868
1029
  //#endregion
869
1030
  //#region src/components/valuediff/ValueDiffResultView.d.ts
870
1031
  /**
@@ -1069,11 +1230,80 @@ declare function ChecksViewComponent({
1069
1230
  maxListSize,
1070
1231
  listTitle,
1071
1232
  className
1072
- }: ChecksViewProps): react_jsx_runtime60.JSX.Element;
1233
+ }: ChecksViewProps): _$react_jsx_runtime0.JSX.Element;
1073
1234
  /**
1074
1235
  * Memoized ChecksView component for performance optimization.
1075
1236
  */
1076
1237
  declare const ChecksView: React$2.MemoExoticComponent<typeof ChecksViewComponent>;
1077
1238
  //#endregion
1078
- export { QueryPageOss as $, ChangeStatus as A, supportsHistogramDiff as At, RowCountDiffResultView as B, TopKDiffForm as C, mergeColumns as Ct, getIconForChangeStatus as D, HistogramDiffRun as Dt, calculateColumnChange as E, HistogramDiffResultView as Et, HistoryToggle as F, CheckEmptyStateOss as Ft, DualSqlEditor as G, RowCountResultView as H, SchemaView$1 as I, CheckDetailOss as It, SqlEditorProps as J, DualSqlEditorProps as K, SingleEnvSchemaView$1 as L, Main as Lt, ChangeSummaryResult as M, CheckPageLoadingOss as Mt, ColumnChangeResult as N, CheckPageContentOss as Nt, SchemaSummary as O, HistogramResultViewProps as Ot, NODE_CHANGE_STATUS_MSGS as P, CheckListOss as Pt, QueryResultViewProps as Q, ColumnNameCell as R, MainLayout as Rt, TopKDiffRun as S, SingleEnvSchemaDataGridResult as St, calculateChangeSummary as T, toSingleEnvDataGrid as Tt, RowCountResultViewProps as U, RowCountDiffRun as V, RowCountRun as W, SetupConnectionGuideProps as X, SetupConnectionGuide as Y, QueryResultView as Z, DiffDisplayModeSwitchProps as _, useRecceTheme as _t, ValueDiffRun as a, ProfileDiffRun as at, TopKDiffResultView as b, SchemaDiffRow as bt, ValueDiffDetailResultView as c, ProfileRun as ct, ToggleSwitch as d, LearnHowLink as dt, QueryForm$1 as et, ToggleSwitchProps as f, RecceNotification as ft, DiffDisplayModeSwitch as g, VERSION as gt, DiffDisplayMode as h, LineagePageOss as ht, ValueDiffResultViewProps as i, ProfileDiffResultView as it, ChangeSummaryProps as j, ErrorBoundary as jt, ChangeSummary as k, HistogramDiffForm as kt, ValueDiffDetailResultViewProps as l, ProfileDiffForm as lt, SquareIconProps as m, NotificationProps as mt, ChecksViewProps as n, QueryDiffResultView as nt, ValueDiffForm as o, ProfileResultView as ot, SquareIcon as p, LineageViewNotification as pt, SqlEditor as q, ValueDiffResultView as r, QueryDiffResultViewProps as rt, ValueDiffFormParams as s, ProfileResultViewProps as st, ChecksView as t, QueryFormProps as tt, ValueDiffDetailRun as u, ProfileDiffFormParams as ut, ChangedOnlyCheckbox as v, SchemaDataGridOptions as vt, IdleTimeoutBadge as w, toSchemaDataGrid as wt, TopKDiffResultViewProps as x, SchemaRow as xt, ChangedOnlyCheckboxProps as y, SchemaDataGridResult as yt, ColumnNameCellProps as z, EnvInfo as zt };
1079
- //# sourceMappingURL=index-C_kD4ZQ3.d.ts.map
1239
+ //#region src/providers/contexts/ThemeContext.d.ts
1240
+ /**
1241
+ * Theme mode selection for {@link ThemeProvider}.
1242
+ */
1243
+ type ThemeMode = "light" | "dark" | "system";
1244
+ /**
1245
+ * Theme context values exposed by {@link useRecceTheme}.
1246
+ */
1247
+ interface ThemeContextValue {
1248
+ mode: ThemeMode;
1249
+ resolvedMode: "light" | "dark";
1250
+ setMode: (mode: ThemeMode) => void;
1251
+ }
1252
+ /**
1253
+ * Access the theme context.
1254
+ *
1255
+ * @throws Error if used outside {@link RecceProvider}.
1256
+ */
1257
+ declare function useRecceTheme(): ThemeContextValue;
1258
+ //#endregion
1259
+ //#region src/index.d.ts
1260
+ declare const VERSION = "0.2.0";
1261
+ //#endregion
1262
+ //#region src/components/lineage/lineage.d.ts
1263
+ /**
1264
+ * Convert a LineageGraph to React Flow nodes and edges with column-level lineage support
1265
+ *
1266
+ * This OSS-specific function extends the basic toReactFlow functionality with:
1267
+ * - Column-level lineage (CLL) visualization
1268
+ * - Dynamic node heights based on column count
1269
+ * - Column nodes as child nodes within parent model nodes
1270
+ *
1271
+ * @param lineageGraph - The lineage graph to convert
1272
+ * @param options - Conversion options
1273
+ * @param options.selectedNodes - Optional filter for which nodes to include
1274
+ * @param options.cll - Column-level lineage data for adding column nodes
1275
+ * @param options.existingPositions - Map of node IDs to their existing positions. If provided, nodes will preserve their positions and layout will be skipped if all nodes have positions.
1276
+ * @returns Tuple of [nodes, edges, nodeColumnSetMap] where nodeColumnSetMap tracks columns per node
1277
+ *
1278
+ * @example
1279
+ * ```tsx
1280
+ * const [nodes, edges, columnSetMap] = toReactFlow(lineageGraph, {
1281
+ * selectedNodes: ["model.project.orders"],
1282
+ * cll: columnLineageData,
1283
+ * });
1284
+ * ```
1285
+ */
1286
+ declare function toReactFlow(lineageGraph: LineageGraph, options?: {
1287
+ selectedNodes?: string[];
1288
+ cll?: ColumnLineageData;
1289
+ existingPositions?: Map<string, {
1290
+ x: number;
1291
+ y: number;
1292
+ }>;
1293
+ newCllExperience?: boolean;
1294
+ columnAncestry?: Map<string, ColumnAnnotation[]>;
1295
+ }): [LineageGraphNodes[], LineageGraphEdge[], NodeColumnSetMap];
1296
+ /**
1297
+ * Apply dagre layout to lineage graph nodes and edges
1298
+ *
1299
+ * This is a thin wrapper around layoutWithDagre from @datarecce/ui
1300
+ * that provides the dagre library instance.
1301
+ *
1302
+ * @param nodes - Array of lineage graph nodes
1303
+ * @param edges - Array of lineage graph edges
1304
+ * @param direction - Layout direction ("LR" for left-to-right, "TB" for top-to-bottom)
1305
+ */
1306
+ declare const layout: (nodes: LineageGraphNodes[], edges: LineageGraphEdge[], direction?: string) => void;
1307
+ //#endregion
1308
+ export { SetupConnectionGuide as $, getIconForChangeStatus as A, CheckPageLoadingOss as At, SchemaView$1 as B, FIT_VIEW_PADDING as Bt, TopKDiffResultView as C, LineagePageOss as Ct, IdleTimeoutBadge as D, HistogramDiffForm as Dt, TopKDiffForm as E, HistogramResultViewProps as Et, ChangeSummaryResult as F, Main as Ft, RowCountDiffRun as G, ColumnNameCell as H, ColumnAnnotation as Ht, ColumnChangeResult as I, MainLayout as It, RowCountRun as J, RowCountResultView as K, NODE_CHANGE_STATUS_MSGS as L, EnvInfo as Lt, ChangeSummary as M, CheckListOss as Mt, ChangeStatus as N, CheckEmptyStateOss as Nt, calculateChangeSummary as O, supportsHistogramDiff as Ot, ChangeSummaryProps as P, CheckDetailOss as Pt, SqlEditorProps as Q, HistoryToggle as R, DIM_FILTER as Rt, classifyType as S, SchemaViewProps$1 as St, TopKDiffRun as T, HistogramDiffRun as Tt, ColumnNameCellProps as U, SingleEnvSchemaView$1 as V, LEGIBLE_MIN_ZOOM as Vt, RowCountDiffResultView as W, DualSqlEditorProps as X, DualSqlEditor as Y, SqlEditor as Z, DataTypeIcon as _, LineageViewNotification as _t, ChecksView as a, QueryFormProps as at, buildColumnTooltip as b, NodeViewNodeData as bt, ValueDiffResultViewProps as c, ProfileDiffResultView as ct, ValueDiffFormParams as d, ProfileResultViewProps as dt, SetupConnectionGuideProps as et, ValueDiffDetailResultView as f, ProfileRun as ft, SquareIconProps as g, RecceNotification as gt, SquareIcon as h, LearnHowLink as ht, useRecceTheme as i, QueryForm$1 as it, SchemaSummary as j, CheckPageContentOss as jt, calculateColumnChange as k, ErrorBoundary$1 as kt, ValueDiffRun as l, ProfileDiffRun as lt, ValueDiffDetailRun as m, ProfileDiffFormParams as mt, toReactFlow as n, QueryResultViewProps as nt, ChecksViewProps as o, QueryDiffResultView as ot, ValueDiffDetailResultViewProps as p, ProfileDiffForm as pt, RowCountResultViewProps as q, VERSION as r, QueryPageOss as rt, ValueDiffResultView as s, QueryDiffResultViewProps as st, layout as t, QueryResultView as tt, ValueDiffForm as u, ProfileResultView as ut, DataTypeIconProps as v, NotificationProps as vt, TopKDiffResultViewProps as w, HistogramDiffResultView as wt, TypeCategory as x, NodeViewProps as xt, ColumnTooltipInput as y, NodeView as yt, SchemaLegend as z, EXPLORE_MIN_ZOOM as zt };
1309
+ //# sourceMappingURL=lineage-Bprdx2yV.d.ts.map