@datarecce/ui 0.1.24 → 0.1.26

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 (42) hide show
  1. package/dist/{RecceCheckContext-CzsuuXxT.mjs → RecceCheckContext-CiG9fGRW.mjs} +2 -2
  2. package/dist/{RecceCheckContext-CzsuuXxT.mjs.map → RecceCheckContext-CiG9fGRW.mjs.map} +1 -1
  3. package/dist/{RecceCheckContext-Cb41gigE.js → RecceCheckContext-tUxygNmN.js} +2 -2
  4. package/dist/{RecceCheckContext-Cb41gigE.js.map → RecceCheckContext-tUxygNmN.js.map} +1 -1
  5. package/dist/api.d.ts +1 -1
  6. package/dist/api.js +2 -2
  7. package/dist/api.mjs +2 -2
  8. package/dist/{components-Bmc5X473.js → components-Chaffojm.js} +34 -21
  9. package/dist/components-Chaffojm.js.map +1 -0
  10. package/dist/{components-BHxcVq0D.mjs → components-DoLZeY_e.mjs} +34 -21
  11. package/dist/components-DoLZeY_e.mjs.map +1 -0
  12. package/dist/components.d.ts +1 -1
  13. package/dist/components.js +4 -4
  14. package/dist/components.mjs +4 -4
  15. package/dist/{hooks-C99PZcmB.js → hooks-VXI-W5Aq.js} +3 -3
  16. package/dist/{hooks-C99PZcmB.js.map → hooks-VXI-W5Aq.js.map} +1 -1
  17. package/dist/{hooks-B0XGswIh.mjs → hooks-XsKEyc3k.mjs} +3 -3
  18. package/dist/{hooks-B0XGswIh.mjs.map → hooks-XsKEyc3k.mjs.map} +1 -1
  19. package/dist/hooks.d.ts +1 -1
  20. package/dist/hooks.js +3 -3
  21. package/dist/hooks.mjs +3 -3
  22. package/dist/index-04n48ic2.d.mts.map +1 -1
  23. package/dist/{index-CgyLTrll.d.ts → index-B-rZ52VO.d.ts} +70 -70
  24. package/dist/index-B-rZ52VO.d.ts.map +1 -0
  25. package/dist/index.d.ts +1 -1
  26. package/dist/index.js +5 -5
  27. package/dist/index.mjs +5 -5
  28. package/dist/{state-CwepO01b.mjs → state-DyHCt6IJ.mjs} +34 -17
  29. package/dist/state-DyHCt6IJ.mjs.map +1 -0
  30. package/dist/{state-Ct-DP81O.js → state-FkYREAs-.js} +34 -17
  31. package/dist/state-FkYREAs-.js.map +1 -0
  32. package/dist/types.d.ts +1 -1
  33. package/dist/{version-BgsW-hXj.js → version-BGNaeW6k.js} +2 -2
  34. package/dist/{version-BgsW-hXj.js.map → version-BGNaeW6k.js.map} +1 -1
  35. package/dist/{version-Bz2CiMHD.mjs → version-Dav28qEz.mjs} +2 -2
  36. package/dist/{version-Bz2CiMHD.mjs.map → version-Dav28qEz.mjs.map} +1 -1
  37. package/package.json +1 -1
  38. package/dist/components-BHxcVq0D.mjs.map +0 -1
  39. package/dist/components-Bmc5X473.js.map +0 -1
  40. package/dist/index-CgyLTrll.d.ts.map +0 -1
  41. package/dist/state-Ct-DP81O.js.map +0 -1
  42. package/dist/state-CwepO01b.mjs.map +0 -1
package/dist/index.js CHANGED
@@ -1,12 +1,12 @@
1
1
  "use client"
2
- const require_state = require('./state-Ct-DP81O.js');
3
- const require_components = require('./components-Bmc5X473.js');
2
+ const require_state = require('./state-FkYREAs-.js');
3
+ const require_components = require('./components-Chaffojm.js');
4
4
  const require_urls = require('./urls-SazAekCZ.js');
5
- const require_version = require('./version-BgsW-hXj.js');
6
- const require_RecceCheckContext = require('./RecceCheckContext-Cb41gigE.js');
5
+ const require_version = require('./version-BGNaeW6k.js');
6
+ const require_RecceCheckContext = require('./RecceCheckContext-tUxygNmN.js');
7
7
  const require_tooltipMessage = require('./tooltipMessage-Dbi1kkfi.js');
8
8
  require('./api.js');
9
- const require_hooks = require('./hooks-C99PZcmB.js');
9
+ const require_hooks = require('./hooks-VXI-W5Aq.js');
10
10
  require('./types.js');
11
11
 
12
12
  //#region src/index.ts
package/dist/index.mjs CHANGED
@@ -1,12 +1,12 @@
1
1
  "use client"
2
- import { $ as queryRowCount, A as ColumnNameCell, An as getModelInfo, At as createLineageDiffCheck, B as IconExport, Bt as submitRunFromCheck, C as TopKSummaryList, Ct as useApiConfigSafe, D as QueryDiffResultView, Dn as getLineage, Dt as submitValueDiff, E as QueryResultView, En as getCll, Et as ScreenshotDataGrid, F as RecceActionContextProvider, Fn as Toaster, Ft as cancelRun, H as IconInfo, I as useRecceActionContext, In as ToasterProvider, It as getRun, K as DiffText, Lt as listRuns, M as useLineageViewContext, Mn as axiosClient, Mt as submitQueryBase, Nn as reactQueryClient, Nt as submitQueryDiff, O as ProfileDiffResultView, On as getLineageDiff, Ot as submitValueDiffDetail, P as RecceActionContext, Pn as ScreenshotBox, Pt as aggregateRuns, Q as queryModelRowCount, R as RunModal, Rn as useToaster, Rt as searchRuns, S as TopKDiffResultView, St as useApiConfig, T as RowCountDiffResultView, U as IconSave, V as IconImport, Vt as waitRun, W as IconSync, X as submitRowCountDiff, Z as fetchModelRowCount, _t as RecceInstanceInfoProvider, a as saveAs, b as ValueDiffForm, bt as ApiConfigProvider, c as createCheckByRun, ct as useLineageGraphContext, d as getCheck, dt as IdleTimeoutProvider, et as ProfileDiffForm, f as listChecks, ft as useIdleTimeout, g as useChecks, h as updateCheck, ht as markRelaunchHintCompleted, i as rename, it as HistogramDiffForm, j as LineageViewContext, jn as getServerInfo, jt as submitQuery, kn as getLineageWithError, kt as submitProfileDiff, l as createSimpleCheck, lt as useRunsAggregated, m as reorderChecks, mt as markOnboardingCompleted, n as importState, nt as HistogramChart, o as shareState, p as markAsPresetCheck, pt as getServerFlag, q as useClipBoardToast, r as isStateSyncing, rt as SquareIcon, s as syncState, sn as RunToolbar, st as LineageGraphContextProvider, t as exportState, tt as HistogramDiffResultView, u as deleteCheck, vt as useRecceInstanceContext, w as TopKDiffForm, x as ValueDiffDetailResultView, xt as useApiClient, y as ValueDiffResultView, yt as useRecceInstanceInfo, z as IconEdit, zt as submitRun } from "./state-CwepO01b.mjs";
3
- import { A as NodeSqlView, B as GraphEdge, C as NodeView, D as SqlEditor_default, E as RunStatusAndDate, F as HistoryToggle, G as MuiProvider, H as HSplit, I as GraphNode, K as mui_provider_default, L as ModelRowCount, M as CodeEditor_default, N as SchemaView, O as QueryForm, P as LineageViewTopBar, R as ResourceTypeTag, S as SetupConnectionBanner, T as RunView, U as VSplit, V as GraphColumnNode, W as ErrorBoundary, _ as CheckList, a as IdleTimeoutBadge, b as LineagePage, c as ChangeSummary, d as CheckEmptyState, f as CheckDetail, g as CheckBreadcrumb, h as CheckDescription, i as DisplayModeToggle, j as DiffEditor_default, k as EnvInfo, l as RunList, m as LineageDiffView, n as TopBar, o as SummaryView, p as SchemaDiffView, r as RecceVersionBadge, s as SchemaSummary, t as NavBar, u as RunPage, v as QueryPage, w as RunResultPane, x as LineageView, y as SetupConnectionGuide, z as RowCountDiffTag } from "./components-BHxcVq0D.mjs";
2
+ import { $ as queryRowCount, A as ColumnNameCell, An as getModelInfo, At as createLineageDiffCheck, B as IconExport, Bt as submitRunFromCheck, C as TopKSummaryList, Ct as useApiConfigSafe, D as QueryDiffResultView, Dn as getLineage, Dt as submitValueDiff, E as QueryResultView, En as getCll, Et as ScreenshotDataGrid, F as RecceActionContextProvider, Fn as Toaster, Ft as cancelRun, H as IconInfo, I as useRecceActionContext, In as ToasterProvider, It as getRun, K as DiffText, Lt as listRuns, M as useLineageViewContext, Mn as axiosClient, Mt as submitQueryBase, Nn as reactQueryClient, Nt as submitQueryDiff, O as ProfileDiffResultView, On as getLineageDiff, Ot as submitValueDiffDetail, P as RecceActionContext, Pn as ScreenshotBox, Pt as aggregateRuns, Q as queryModelRowCount, R as RunModal, Rn as useToaster, Rt as searchRuns, S as TopKDiffResultView, St as useApiConfig, T as RowCountDiffResultView, U as IconSave, V as IconImport, Vt as waitRun, W as IconSync, X as submitRowCountDiff, Z as fetchModelRowCount, _t as RecceInstanceInfoProvider, a as saveAs, b as ValueDiffForm, bt as ApiConfigProvider, c as createCheckByRun, ct as useLineageGraphContext, d as getCheck, dt as IdleTimeoutProvider, et as ProfileDiffForm, f as listChecks, ft as useIdleTimeout, g as useChecks, h as updateCheck, ht as markRelaunchHintCompleted, i as rename, it as HistogramDiffForm, j as LineageViewContext, jn as getServerInfo, jt as submitQuery, kn as getLineageWithError, kt as submitProfileDiff, l as createSimpleCheck, lt as useRunsAggregated, m as reorderChecks, mt as markOnboardingCompleted, n as importState, nt as HistogramChart, o as shareState, p as markAsPresetCheck, pt as getServerFlag, q as useClipBoardToast, r as isStateSyncing, rt as SquareIcon, s as syncState, sn as RunToolbar, st as LineageGraphContextProvider, t as exportState, tt as HistogramDiffResultView, u as deleteCheck, vt as useRecceInstanceContext, w as TopKDiffForm, x as ValueDiffDetailResultView, xt as useApiClient, y as ValueDiffResultView, yt as useRecceInstanceInfo, z as IconEdit, zt as submitRun } from "./state-DyHCt6IJ.mjs";
3
+ import { A as NodeSqlView, B as GraphEdge, C as NodeView, D as SqlEditor_default, E as RunStatusAndDate, F as HistoryToggle, G as MuiProvider, H as HSplit, I as GraphNode, K as mui_provider_default, L as ModelRowCount, M as CodeEditor_default, N as SchemaView, O as QueryForm, P as LineageViewTopBar, R as ResourceTypeTag, S as SetupConnectionBanner, T as RunView, U as VSplit, V as GraphColumnNode, W as ErrorBoundary, _ as CheckList, a as IdleTimeoutBadge, b as LineagePage, c as ChangeSummary, d as CheckEmptyState, f as CheckDetail, g as CheckBreadcrumb, h as CheckDescription, i as DisplayModeToggle, j as DiffEditor_default, k as EnvInfo, l as RunList, m as LineageDiffView, n as TopBar, o as SummaryView, p as SchemaDiffView, r as RecceVersionBadge, s as SchemaSummary, t as NavBar, u as RunPage, v as QueryPage, w as RunResultPane, x as LineageView, y as SetupConnectionGuide, z as RowCountDiffTag } from "./components-DoLZeY_e.mjs";
4
4
  import { n as PUBLIC_API_URL, r as PUBLIC_CLOUD_WEB_URL, t as RECCE_SUPPORT_CALENDAR_URL } from "./urls-D7PrPolY.mjs";
5
- import { a as connectToCloud, c as select, i as fetchUser, l as createSchemaDiffCheck, n as useVersionNumber, o as localStorageKeys, r as fetchGitHubAvatar, s as sessionStorageKeys, t as getVersion } from "./version-Bz2CiMHD.mjs";
6
- import { a as RecceShareStateContextProvider, c as RowCountStateContextProvider, d as useRowCountStateContext, i as useValueDiffAlertDialog_default, n as useRecceCheckContext, o as useRecceShareStateContext, r as useCheckToast, s as RecceQueryContextProvider, t as RecceCheckContextProvider, u as useRecceQueryContext } from "./RecceCheckContext-CzsuuXxT.mjs";
5
+ import { a as connectToCloud, c as select, i as fetchUser, l as createSchemaDiffCheck, n as useVersionNumber, o as localStorageKeys, r as fetchGitHubAvatar, s as sessionStorageKeys, t as getVersion } from "./version-Dav28qEz.mjs";
6
+ import { a as RecceShareStateContextProvider, c as RowCountStateContextProvider, d as useRowCountStateContext, i as useValueDiffAlertDialog_default, n as useRecceCheckContext, o as useRecceShareStateContext, r as useCheckToast, s as RecceQueryContextProvider, t as RecceCheckContextProvider, u as useRecceQueryContext } from "./RecceCheckContext-CiG9fGRW.mjs";
7
7
  import { t as DisableTooltipMessages } from "./tooltipMessage-CrXjOmVM.mjs";
8
8
  import "./api.mjs";
9
- import { t as RecceContextProvider } from "./hooks-B0XGswIh.mjs";
9
+ import { t as RecceContextProvider } from "./hooks-XsKEyc3k.mjs";
10
10
  import "./types.mjs";
11
11
 
12
12
  //#region src/index.ts
@@ -71,7 +71,11 @@ import ButtonGroup from "@mui/material/ButtonGroup";
71
71
  * - red -> error
72
72
  * - neutral -> grey
73
73
  */
74
+ const white = "#FFFFFF";
75
+ const black = "#000000";
74
76
  const colors = {
77
+ white,
78
+ black,
75
79
  iochmara: {
76
80
  50: "#EAF3FB",
77
81
  100: "#C4DDF3",
@@ -124,6 +128,19 @@ const colors = {
124
128
  900: "#78350F",
125
129
  950: "#431407"
126
130
  },
131
+ yellow: {
132
+ 50: "#FEFCE8",
133
+ 100: "#FEF9C3",
134
+ 200: "#FEF08A",
135
+ 300: "#FDE047",
136
+ 400: "#FACC15",
137
+ 500: "#EAB308",
138
+ 600: "#CA8A04",
139
+ 700: "#A16207",
140
+ 800: "#854D0E",
141
+ 900: "#713F12",
142
+ 950: "#422006"
143
+ },
127
144
  green: {
128
145
  50: "#F0FDF4",
129
146
  100: "#DCFCE7",
@@ -207,7 +224,7 @@ function createButtonColorVariants(colorName, colorScale) {
207
224
  },
208
225
  style: {
209
226
  backgroundColor: colorScale[500],
210
- color: "#FFFFFF",
227
+ color: white,
211
228
  "&:hover": { backgroundColor: colorScale[600] }
212
229
  }
213
230
  },
@@ -254,7 +271,7 @@ function createBadgeColorVariant(colorName, colorScale) {
254
271
  props: { color: colorName },
255
272
  style: { "& .MuiBadge-badge": {
256
273
  backgroundColor: colorScale[500],
257
- color: "#FFFFFF"
274
+ color: white
258
275
  } }
259
276
  };
260
277
  }
@@ -269,7 +286,7 @@ function createChipColorVariants(colorName, colorScale) {
269
286
  },
270
287
  style: {
271
288
  backgroundColor: colorScale[500],
272
- color: "#FFFFFF",
289
+ color: white,
273
290
  "&:hover": { backgroundColor: colorScale[600] }
274
291
  }
275
292
  }, {
@@ -347,7 +364,7 @@ const componentOverrides = {
347
364
  borderRadius: 6,
348
365
  ...ownerState.color === "neutral" && ownerState.variant === "contained" && {
349
366
  backgroundColor: colors.neutral[700],
350
- color: "#FFFFFF",
367
+ color: white,
351
368
  "&:hover": { backgroundColor: colors.neutral[800] }
352
369
  },
353
370
  ...ownerState.color === "neutral" && ownerState.variant === "outlined" && {
@@ -524,31 +541,31 @@ const baseThemeOptions = {
524
541
  main: colors.iochmara[500],
525
542
  light: colors.iochmara[300],
526
543
  dark: colors.iochmara[600],
527
- contrastText: "#FFFFFF"
544
+ contrastText: white
528
545
  },
529
546
  secondary: {
530
547
  main: colors.cyan[500],
531
548
  light: colors.cyan[400],
532
549
  dark: colors.cyan[600],
533
- contrastText: "#FFFFFF"
550
+ contrastText: white
534
551
  },
535
552
  success: {
536
553
  main: colors.green[500],
537
554
  light: colors.green[400],
538
555
  dark: colors.green[600],
539
- contrastText: "#FFFFFF"
556
+ contrastText: white
540
557
  },
541
558
  warning: {
542
559
  main: colors.amber[500],
543
560
  light: colors.amber[400],
544
561
  dark: colors.amber[600],
545
- contrastText: "#FFFFFF"
562
+ contrastText: white
546
563
  },
547
564
  error: {
548
565
  main: colors.red[500],
549
566
  light: colors.red[400],
550
567
  dark: colors.red[600],
551
- contrastText: "#FFFFFF"
568
+ contrastText: white
552
569
  },
553
570
  grey: {
554
571
  50: colors.neutral[50],
@@ -622,8 +639,8 @@ const lightThemeOptions = {
622
639
  ...baseThemeOptions.palette,
623
640
  mode: "light",
624
641
  background: {
625
- default: "#FFFFFF",
626
- paper: "#FFFFFF"
642
+ default: white,
643
+ paper: white
627
644
  },
628
645
  text: {
629
646
  primary: colors.neutral[900],
@@ -653,7 +670,7 @@ function createPaletteColor(colorScale) {
653
670
  main: colorScale[500],
654
671
  light: colorScale[300],
655
672
  dark: colorScale[600],
656
- contrastText: "#FFFFFF"
673
+ contrastText: white
657
674
  };
658
675
  }
659
676
  const customPaletteAdditions = {
@@ -662,7 +679,7 @@ const customPaletteAdditions = {
662
679
  main: colors.iochmara[500],
663
680
  light: colors.iochmara[50],
664
681
  dark: colors.iochmara[700],
665
- contrastText: "#FFFFFF"
682
+ contrastText: white
666
683
  },
667
684
  cyan: createPaletteColor(colors.cyan),
668
685
  amber: createPaletteColor(colors.amber),
@@ -674,7 +691,7 @@ const customPaletteAdditions = {
674
691
  main: colors.neutral[500],
675
692
  light: colors.neutral[300],
676
693
  dark: colors.neutral[600],
677
- contrastText: "#FFFFFF"
694
+ contrastText: white
678
695
  },
679
696
  envBase: semanticColors.envBase,
680
697
  envCurrent: semanticColors.envCurrent
@@ -710,8 +727,8 @@ function token(path$1) {
710
727
  let colorName = parts[1];
711
728
  const variant = parts[2];
712
729
  if (colorName in colorAliases) colorName = colorAliases[colorName];
713
- if (colorName === "white") return "#FFFFFF";
714
- if (colorName === "black") return "#000000";
730
+ if (colorName === "white") return white;
731
+ if (colorName === "black") return black;
715
732
  if (colorName in semanticColors) {
716
733
  const semantic = semanticColors[colorName];
717
734
  if (typeof semantic === "object" && variant in semantic) return semantic[variant];
@@ -8206,4 +8223,4 @@ async function shareState(client = axiosClient) {
8206
8223
 
8207
8224
  //#endregion
8208
8225
  export { queryRowCount as $, trackLineageViewRender as $t, ColumnNameCell as A, getModelInfo as An, createLineageDiffCheck as At, IconExport as B, darkTheme as Bn, submitRunFromCheck as Bt, TopKSummaryList as C, selectUpstream as Cn, useApiConfigSafe as Ct, QueryDiffResultView as D, getLineage as Dn, submitValueDiff as Dt, QueryResultView as E, getCll as En, ScreenshotDataGrid as Et, RecceActionContextProvider as F, Toaster as Fn, cancelRun as Ft, deltaPercentageString as G, LINEAGE_SELECTION_ACTION as Gt, IconInfo as H, token as Hn, EXPLORE_ACTION as Ht, useRecceActionContext as I, ToasterProvider as In, getRun as It, mergeKeys as J, trackEnvironmentConfig as Jt, DiffText as K, trackColumnLevelLineage as Kt, useAppLocation as L, toaster as Ln, listRuns as Lt, useLineageViewContext as M, axiosClient as Mn, submitQueryBase as Mt, useLineageViewContextSafe as N, reactQueryClient as Nn, submitQueryDiff as Nt, ProfileDiffResultView as O, getLineageDiff as On, submitValueDiffDetail as Ot, RecceActionContext as P, ScreenshotBox as Pn, aggregateRuns as Pt, queryModelRowCount as Q, trackLineageSelection as Qt, RunModal as R, useToaster as Rn, searchRuns as Rt, TopKDiffResultView as S, selectDownstream as Sn, useApiConfig as St, RowCountDiffResultView as T, union as Tn, EmptyRowsRenderer as Tt, IconSave as U, EXPLORE_FORM_EVENT as Ut, IconImport as V, lightTheme as Vn, waitRun as Vt, IconSync as W, EXPLORE_SOURCE as Wt, submitRowCountDiff as X, trackExploreActionForm as Xt, mergeKeysWithStatus as Y, trackExploreAction as Yt, fetchModelRowCount as Z, trackHistoryAction as Zt, findByRunType as _, isValueDiffRun as _n, RecceInstanceInfoProvider as _t, saveAs as a, trackSingleEnvironment as an, supportsHistogramDiff as at, ValueDiffForm as b, isLineageGraphNode as bn, ApiConfigProvider as bt, createCheckByRun as c, isHistogramDiffRun as cn, useLineageGraphContext as ct, getCheck as d, isQueryDiffRun as dn, IdleTimeoutProvider as dt, trackMultiNodesAction as en, ProfileDiffForm as et, listChecks as f, isQueryRun as fn, useIdleTimeout as ft, useChecks as g, isValueDiffDetailRun as gn, formatDuration as gt, updateCheck as h, isTopKDiffRun as hn, markRelaunchHintCompleted as ht, rename as i, trackShareState as in, HistogramDiffForm as it, LineageViewContext as j, getServerInfo as jn, submitQuery as jt, createDataGridFromData as k, getLineageWithError as kn, submitProfileDiff as kt, createSimpleCheck as l, isProfileDiffRun as ln, useRunsAggregated as lt, reorderChecks as m, isRowCountRun as mn, markOnboardingCompleted as mt, importState as n, trackPreviewChange as nn, HistogramChart as nt, shareState as o, trackStateAction as on, useModelColumns_default as ot, markAsPresetCheck as p, isRowCountDiffRun as pn, getServerFlag as pt, useClipBoardToast as q, trackCopyToClipboard as qt, isStateSyncing as r, trackPreviewChangeFeedback as rn, SquareIcon as rt, syncState as s, RunToolbar as sn, LineageGraphContextProvider as st, exportState as t, trackNavigation as tn, HistogramDiffResultView as tt, deleteCheck as u, isQueryBaseRun as un, useRecceServerFlag as ut, runTypeHasRef as v, COLUMN_HEIGHT as vn, useRecceInstanceContext as vt, TopKDiffForm as w, toReactFlow as wn, cacheKeys as wt, ValueDiffDetailResultView as x, layout as xn, useApiClient as xt, ValueDiffResultView as y, isLineageGraphColumnNode as yn, useRecceInstanceInfo as yt, IconEdit as z, colors as zn, submitRun as zt };
8209
- //# sourceMappingURL=state-CwepO01b.mjs.map
8226
+ //# sourceMappingURL=state-DyHCt6IJ.mjs.map