@datarecce/ui 0.1.12 → 0.1.13
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/{LineageViewContext-BPpYWJ2B.d.mts → LineageViewContext-DEa54ZNF.d.mts} +1 -1
- package/dist/{LineageViewContext-DqJPwm_c.d.ts → LineageViewContext-DPVC8ak8.d.ts} +1 -1
- package/dist/{agGridStyles-L5J6VVIU.css → agGridStyles-VYALGSJU.css} +4 -3
- package/dist/api.d.mts +6 -5
- package/dist/api.d.ts +6 -5
- package/dist/api.js +13 -12
- package/dist/api.js.map +1 -1
- package/dist/api.mjs +13 -12
- package/dist/api.mjs.map +1 -1
- package/dist/components.d.mts +4 -4
- package/dist/components.d.ts +4 -4
- package/dist/components.js +1217 -879
- package/dist/components.js.map +1 -1
- package/dist/components.mjs +962 -623
- package/dist/components.mjs.map +1 -1
- package/dist/hooks.d.mts +23 -3
- package/dist/hooks.d.ts +23 -3
- package/dist/hooks.js +742 -538
- package/dist/hooks.js.map +1 -1
- package/dist/hooks.mjs +587 -383
- package/dist/hooks.mjs.map +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1311 -962
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +998 -648
- package/dist/index.mjs.map +1 -1
- package/dist/{lineagecheck-BIlm5vq1.d.ts → lineagecheck-BQaKAQzn.d.mts} +3 -3
- package/dist/{lineagecheck-BIlm5vq1.d.mts → lineagecheck-BQaKAQzn.d.ts} +3 -3
- package/dist/{style-LYNBK7ND.css → style-466WWZLM.css} +36 -8
- package/dist/styles-JV3V5MVO.css +42 -0
- package/dist/{styles-PJUYW64Y.css → styles-QUPOR3LM.css} +7 -2
- package/dist/types.d.mts +2 -2
- package/dist/types.d.ts +2 -2
- package/package.json +5 -5
- package/dist/styles-VXS6KNFS.css +0 -9
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
|
-
import { AxiosResponse } from 'axios';
|
|
2
|
+
import { AxiosInstance, AxiosResponse } from 'axios';
|
|
3
3
|
import React__default, { ReactNode, CSSProperties, Ref, ForwardRefExoticComponent, RefAttributes, ComponentType } from 'react';
|
|
4
4
|
import { IconType } from 'react-icons';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
@@ -117,7 +117,7 @@ interface ServerInfoResult {
|
|
|
117
117
|
codespace: boolean;
|
|
118
118
|
support_tasks: Record<string, boolean>;
|
|
119
119
|
}
|
|
120
|
-
declare function getServerInfo(): Promise<ServerInfoResult>;
|
|
120
|
+
declare function getServerInfo(client?: AxiosInstance): Promise<ServerInfoResult>;
|
|
121
121
|
interface ModelInfoResult {
|
|
122
122
|
model: {
|
|
123
123
|
base: {
|
|
@@ -184,7 +184,7 @@ type RunsAggregated = Record<string, Record<"row_count_diff" | "value_diff" | "r
|
|
|
184
184
|
run_id: string;
|
|
185
185
|
result: unknown;
|
|
186
186
|
}>>;
|
|
187
|
-
declare function aggregateRuns(): Promise<RunsAggregated>;
|
|
187
|
+
declare function aggregateRuns(client?: AxiosInstance): Promise<RunsAggregated>;
|
|
188
188
|
|
|
189
189
|
interface QueryParams extends QueryRunParams, QueryDiffParams, QueryPreviewChangeParams {
|
|
190
190
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
|
-
import { AxiosResponse } from 'axios';
|
|
2
|
+
import { AxiosInstance, AxiosResponse } from 'axios';
|
|
3
3
|
import React__default, { ReactNode, CSSProperties, Ref, ForwardRefExoticComponent, RefAttributes, ComponentType } from 'react';
|
|
4
4
|
import { IconType } from 'react-icons';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
@@ -117,7 +117,7 @@ interface ServerInfoResult {
|
|
|
117
117
|
codespace: boolean;
|
|
118
118
|
support_tasks: Record<string, boolean>;
|
|
119
119
|
}
|
|
120
|
-
declare function getServerInfo(): Promise<ServerInfoResult>;
|
|
120
|
+
declare function getServerInfo(client?: AxiosInstance): Promise<ServerInfoResult>;
|
|
121
121
|
interface ModelInfoResult {
|
|
122
122
|
model: {
|
|
123
123
|
base: {
|
|
@@ -184,7 +184,7 @@ type RunsAggregated = Record<string, Record<"row_count_diff" | "value_diff" | "r
|
|
|
184
184
|
run_id: string;
|
|
185
185
|
result: unknown;
|
|
186
186
|
}>>;
|
|
187
|
-
declare function aggregateRuns(): Promise<RunsAggregated>;
|
|
187
|
+
declare function aggregateRuns(client?: AxiosInstance): Promise<RunsAggregated>;
|
|
188
188
|
|
|
189
189
|
interface QueryParams extends QueryRunParams, QueryDiffParams, QueryPreviewChangeParams {
|
|
190
190
|
}
|
|
@@ -1,11 +1,39 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Schema diff color palette
|
|
3
|
+
* Uses CSS custom properties for theme-aware colors
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
/* Light mode (default) */
|
|
7
|
+
:root,
|
|
8
|
+
.light {
|
|
3
9
|
--schema-color-added: rgb(204 255 216);
|
|
4
10
|
--schema-color-added-hover: rgb(193 246 205);
|
|
5
11
|
--schema-color-added-active: rgb(166 242 184);
|
|
6
12
|
--schema-color-removed: rgb(255 215 213);
|
|
7
13
|
--schema-color-removed-hover: rgb(246 195 193);
|
|
8
14
|
--schema-color-removed-active: rgb(242 170 166);
|
|
15
|
+
--schema-color-normal: #ffffff;
|
|
16
|
+
--schema-color-normal-hover: rgb(241 241 241);
|
|
17
|
+
--schema-color-normal-active: rgb(230 230 230);
|
|
18
|
+
--schema-color-reordered: rgb(255 173 21);
|
|
19
|
+
--schema-color-reordered-hover: rgb(249 164 6);
|
|
20
|
+
--schema-color-reordered-active: rgb(224 147 6);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/* Dark mode */
|
|
24
|
+
.dark {
|
|
25
|
+
--schema-color-added: rgb(26 77 26);
|
|
26
|
+
--schema-color-added-hover: rgb(34 97 34);
|
|
27
|
+
--schema-color-added-active: rgb(42 117 42);
|
|
28
|
+
--schema-color-removed: rgb(92 31 31);
|
|
29
|
+
--schema-color-removed-hover: rgb(112 41 41);
|
|
30
|
+
--schema-color-removed-active: rgb(132 51 51);
|
|
31
|
+
--schema-color-normal: #262626;
|
|
32
|
+
--schema-color-normal-hover: rgb(64 64 64);
|
|
33
|
+
--schema-color-normal-active: rgb(82 82 82);
|
|
34
|
+
--schema-color-reordered: rgb(180 83 9);
|
|
35
|
+
--schema-color-reordered-hover: rgb(146 64 14);
|
|
36
|
+
--schema-color-reordered-active: rgb(120 53 15);
|
|
9
37
|
}
|
|
10
38
|
|
|
11
39
|
/* Row backgrounds must be applied to cells because rows use display:contents */
|
|
@@ -40,18 +68,18 @@
|
|
|
40
68
|
}
|
|
41
69
|
|
|
42
70
|
.row-normal {
|
|
43
|
-
background-color:
|
|
71
|
+
background-color: var(--schema-color-normal);
|
|
44
72
|
}
|
|
45
73
|
|
|
46
74
|
.row-normal:hover,
|
|
47
75
|
.row-normal[aria-selected="true"],
|
|
48
76
|
.row-normal.ag-row-selected {
|
|
49
|
-
background-color:
|
|
77
|
+
background-color: var(--schema-color-normal-hover);
|
|
50
78
|
}
|
|
51
79
|
|
|
52
80
|
.row-normal[aria-selected="true"]:hover,
|
|
53
81
|
.row-normal.ag-row-selected:hover {
|
|
54
|
-
background-color:
|
|
82
|
+
background-color: var(--schema-color-normal-active);
|
|
55
83
|
}
|
|
56
84
|
|
|
57
85
|
.row-selectable {
|
|
@@ -91,16 +119,16 @@
|
|
|
91
119
|
}
|
|
92
120
|
|
|
93
121
|
.column-index-reordered {
|
|
94
|
-
background-color:
|
|
122
|
+
background-color: var(--schema-color-reordered);
|
|
95
123
|
}
|
|
96
124
|
|
|
97
125
|
.row-normal:hover .column-index-reordered,
|
|
98
126
|
.row-normal[aria-selected="true"] .column-index-reordered,
|
|
99
127
|
.row-normal.ag-row-selected .column-index-reordered {
|
|
100
|
-
background-color:
|
|
128
|
+
background-color: var(--schema-color-reordered-hover);
|
|
101
129
|
}
|
|
102
130
|
|
|
103
131
|
.row-normal[aria-selected="true"]:hover .column-index-reordered,
|
|
104
132
|
.row-normal.ag-row-selected:hover .column-index-reordered {
|
|
105
|
-
background-color:
|
|
133
|
+
background-color: var(--schema-color-reordered-active);
|
|
106
134
|
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* React Flow Controls - Theme-aware colors
|
|
3
|
+
* Uses CSS custom properties for theme-aware colors
|
|
4
|
+
* Maps to colors from mui-theme.ts neutral palette
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* Light mode (default) */
|
|
8
|
+
:root,
|
|
9
|
+
.light {
|
|
10
|
+
--rf-controls-bg: #fafafa; /* neutral[50] */
|
|
11
|
+
--rf-controls-border: #e5e5e5; /* neutral[200] */
|
|
12
|
+
--rf-controls-text: #404040; /* neutral[700] */
|
|
13
|
+
--rf-controls-hover-bg: #e5e5e5; /* neutral[200] */
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
/* Dark mode */
|
|
17
|
+
.dark {
|
|
18
|
+
--rf-controls-bg: #404040; /* neutral[700] */
|
|
19
|
+
--rf-controls-border: #525252; /* neutral[600] */
|
|
20
|
+
--rf-controls-text: #e5e5e5; /* neutral[200] */
|
|
21
|
+
--rf-controls-hover-bg: #525252; /* neutral[600] */
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/* React Flow Controls */
|
|
25
|
+
.react-flow__controls {
|
|
26
|
+
background-color: var(--rf-controls-bg);
|
|
27
|
+
border-color: var(--rf-controls-border);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.react-flow__controls-button {
|
|
31
|
+
background-color: var(--rf-controls-bg);
|
|
32
|
+
color: var(--rf-controls-text);
|
|
33
|
+
border-bottom-color: var(--rf-controls-border);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.react-flow__controls-button:hover {
|
|
37
|
+
background-color: var(--rf-controls-hover-bg);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.react-flow__controls-button svg {
|
|
41
|
+
fill: var(--rf-controls-text);
|
|
42
|
+
}
|
|
@@ -1,11 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Split pane gutter styles
|
|
3
|
+
* Uses CSS custom properties from global.css for theme-aware colors.
|
|
4
|
+
*/
|
|
5
|
+
|
|
1
6
|
.gutter {
|
|
2
|
-
background-color:
|
|
7
|
+
background-color: var(--recce-gutter-bg);
|
|
3
8
|
background-repeat: no-repeat;
|
|
4
9
|
background-position: 50%;
|
|
5
10
|
}
|
|
6
11
|
|
|
7
12
|
.gutter:hover {
|
|
8
|
-
background-color:
|
|
13
|
+
background-color: var(--recce-gutter-hover);
|
|
9
14
|
}
|
|
10
15
|
|
|
11
16
|
.gutter.gutter-vertical {
|
package/dist/types.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as Check, aK as RunParamTypes, y as NodeData, aG as ColumnRenderMode } from './lineagecheck-
|
|
2
|
-
export { aB as AxiosQueryParams, aF as ColumnType, aH as DataFrame, aJ as LineageDiffParams, aD as RowData, aC as RowDataTypes, aE as RowObjectType, aL as Run, a_ as RunFormProps, a$ as RunResultViewProps, aI as SchemaDiffParams, aZ as isHistogramDiffRun, aX as isLineageDiffRun, aU as isProfileDiffRun, aT as isProfileRun, aO as isQueryBaseRun, aP as isQueryDiffRun, aN as isQueryRun, aW as isRowCountDiffRun, aV as isRowCountRun, aS as isSchemaDiffRun, aM as isSimpleRun, aY as isTopKDiffRun, aR as isValueDiffDetailRun, aQ as isValueDiffRun } from './lineagecheck-
|
|
1
|
+
import { C as Check, aK as RunParamTypes, y as NodeData, aG as ColumnRenderMode } from './lineagecheck-BQaKAQzn.mjs';
|
|
2
|
+
export { aB as AxiosQueryParams, aF as ColumnType, aH as DataFrame, aJ as LineageDiffParams, aD as RowData, aC as RowDataTypes, aE as RowObjectType, aL as Run, a_ as RunFormProps, a$ as RunResultViewProps, aI as SchemaDiffParams, aZ as isHistogramDiffRun, aX as isLineageDiffRun, aU as isProfileDiffRun, aT as isProfileRun, aO as isQueryBaseRun, aP as isQueryDiffRun, aN as isQueryRun, aW as isRowCountDiffRun, aV as isRowCountRun, aS as isSchemaDiffRun, aM as isSimpleRun, aY as isTopKDiffRun, aR as isValueDiffDetailRun, aQ as isValueDiffRun } from './lineagecheck-BQaKAQzn.mjs';
|
|
3
3
|
import '@tanstack/react-query';
|
|
4
4
|
import 'axios';
|
|
5
5
|
import 'react';
|
package/dist/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as Check, aK as RunParamTypes, y as NodeData, aG as ColumnRenderMode } from './lineagecheck-
|
|
2
|
-
export { aB as AxiosQueryParams, aF as ColumnType, aH as DataFrame, aJ as LineageDiffParams, aD as RowData, aC as RowDataTypes, aE as RowObjectType, aL as Run, a_ as RunFormProps, a$ as RunResultViewProps, aI as SchemaDiffParams, aZ as isHistogramDiffRun, aX as isLineageDiffRun, aU as isProfileDiffRun, aT as isProfileRun, aO as isQueryBaseRun, aP as isQueryDiffRun, aN as isQueryRun, aW as isRowCountDiffRun, aV as isRowCountRun, aS as isSchemaDiffRun, aM as isSimpleRun, aY as isTopKDiffRun, aR as isValueDiffDetailRun, aQ as isValueDiffRun } from './lineagecheck-
|
|
1
|
+
import { C as Check, aK as RunParamTypes, y as NodeData, aG as ColumnRenderMode } from './lineagecheck-BQaKAQzn.js';
|
|
2
|
+
export { aB as AxiosQueryParams, aF as ColumnType, aH as DataFrame, aJ as LineageDiffParams, aD as RowData, aC as RowDataTypes, aE as RowObjectType, aL as Run, a_ as RunFormProps, a$ as RunResultViewProps, aI as SchemaDiffParams, aZ as isHistogramDiffRun, aX as isLineageDiffRun, aU as isProfileDiffRun, aT as isProfileRun, aO as isQueryBaseRun, aP as isQueryDiffRun, aN as isQueryRun, aW as isRowCountDiffRun, aV as isRowCountRun, aS as isSchemaDiffRun, aM as isSimpleRun, aY as isTopKDiffRun, aR as isValueDiffDetailRun, aQ as isValueDiffRun } from './lineagecheck-BQaKAQzn.js';
|
|
3
3
|
import '@tanstack/react-query';
|
|
4
4
|
import 'axios';
|
|
5
5
|
import 'react';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datarecce/ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.13",
|
|
4
4
|
"description": "Recce UI Components Library - Reusable React components for data validation and review",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -76,27 +76,27 @@
|
|
|
76
76
|
},
|
|
77
77
|
"dependencies": {
|
|
78
78
|
"@amplitude/unified": "1.0.0-beta.9",
|
|
79
|
-
"@emotion/react": "^11.14.0",
|
|
80
|
-
"@tanstack/react-query": "^5.0.0",
|
|
81
|
-
"@xyflow/react": "^12.0.0",
|
|
82
|
-
"axios": "^1.0.0",
|
|
83
79
|
"@codemirror/lang-sql": "^6.10.0",
|
|
84
80
|
"@codemirror/lang-yaml": "^6.1.2",
|
|
85
81
|
"@codemirror/merge": "^6.11.2",
|
|
86
82
|
"@codemirror/state": "^6.5.2",
|
|
87
83
|
"@codemirror/view": "^6.39.4",
|
|
88
84
|
"@dagrejs/dagre": "^1.1.8",
|
|
85
|
+
"@emotion/react": "^11.14.0",
|
|
89
86
|
"@emotion/styled": "^11.14.1",
|
|
90
87
|
"@hello-pangea/dnd": "^18.0.1",
|
|
91
88
|
"@jeromefitz/date-fns-tz": "3.0.0-canary.8",
|
|
92
89
|
"@mui/material": "^7.3.6",
|
|
93
90
|
"@mui/system": "^7.3.6",
|
|
94
91
|
"@sentry/react": "^10.32.1",
|
|
92
|
+
"@tanstack/react-query": "^5.90.12",
|
|
95
93
|
"@types/js-cookie": "^3.0.6",
|
|
96
94
|
"@uiw/codemirror-theme-github": "^4.25.4",
|
|
97
95
|
"@uiw/react-codemirror": "^4.25.4",
|
|
96
|
+
"@xyflow/react": "^12.10.0",
|
|
98
97
|
"ag-grid-community": "^35.0.0",
|
|
99
98
|
"ag-grid-react": "^35.0.0",
|
|
99
|
+
"axios": "^1.13.2",
|
|
100
100
|
"chart.js": "^4.5.1",
|
|
101
101
|
"codemirror": "^6.0.2",
|
|
102
102
|
"common-tags": "^1.8.2",
|