@datarecce/ui 0.1.0
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/README.md +224 -0
- package/dist/api.js +496 -0
- package/dist/api.js.map +1 -0
- package/dist/api.mjs +437 -0
- package/dist/api.mjs.map +1 -0
- package/dist/components.js +15199 -0
- package/dist/components.js.map +1 -0
- package/dist/components.mjs +15103 -0
- package/dist/components.mjs.map +1 -0
- package/dist/hooks.js +199 -0
- package/dist/hooks.js.map +1 -0
- package/dist/hooks.mjs +189 -0
- package/dist/hooks.mjs.map +1 -0
- package/dist/index.js +15496 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +15337 -0
- package/dist/index.mjs.map +1 -0
- package/dist/reload-image-PGVLW7NX.svg +4 -0
- package/dist/styles-LEL5RGUW.css +67 -0
- package/dist/styles-PJUYW64Y.css +19 -0
- package/dist/styles-VXS6KNFS.css +9 -0
- package/dist/types.js +24 -0
- package/dist/types.js.map +1 -0
- package/dist/types.mjs +19 -0
- package/dist/types.mjs.map +1 -0
- package/package.json +138 -0
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg width="104" height="105" viewBox="0 0 104 105" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<rect x="0.0712891" y="0.237671" width="103.858" height="103.858" rx="51.9288" fill="#FD683E" fill-opacity="0.1" style="fill:#FD683E;fill:color(display-p3 0.9922 0.4078 0.2431);fill-opacity:0.1;"/>
|
|
3
|
+
<path d="M65.9715 53.6425C65.5123 57.9561 63.0682 61.9984 59.0238 64.3334C52.3044 68.2128 43.7124 65.9106 39.8329 59.1912L39.4197 58.4755M38.028 50.6905C38.4871 46.3769 40.9313 42.3346 44.9756 39.9996C51.695 36.1202 60.2871 38.4224 64.1665 45.1418L64.5797 45.8575M37.9404 62.1924L39.1504 57.6769L43.6659 58.8868M60.3345 45.4462L64.85 46.6562L66.0599 42.1406" stroke="#FD683E" style="stroke:#FD683E;stroke:color(display-p3 0.9922 0.4078 0.2431);stroke-opacity:1;" stroke-width="3.30558" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
.index-column {
|
|
2
|
+
color: rgb(128, 128, 128);
|
|
3
|
+
text-align: right;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.rdg-cell {
|
|
7
|
+
border-width: 0 1px 1px 0;
|
|
8
|
+
border-style: solid;
|
|
9
|
+
border-color: var(--rdg-border-color);
|
|
10
|
+
background-color: var(--rdg-background-color);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.rdg-cell[role="columnheader"] {
|
|
14
|
+
/* neutral-100 themes.ts */
|
|
15
|
+
background-color: #f5f5f5;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.rdg-cell.rdg-cell-frozen[role="gridcell"] {
|
|
19
|
+
/* neutral-100 themes.ts */
|
|
20
|
+
background-color: #f5f5f5;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.diff-header-added,
|
|
24
|
+
.diff-header-added.rdg-cell.rdg-cell-frozen[role="gridcell"] {
|
|
25
|
+
/* green-700 theme.ts */
|
|
26
|
+
background-color: #15803d;
|
|
27
|
+
color: white;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.diff-header-removed,
|
|
31
|
+
.diff-header-removed.rdg-cell.rdg-cell-frozen[role="gridcell"] {
|
|
32
|
+
/* rose-500 theme.ts */
|
|
33
|
+
background-color: #f43f5e;
|
|
34
|
+
color: white;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.diff-cell-added.rdg-cell {
|
|
38
|
+
background-color: #cefece;
|
|
39
|
+
color: black;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.diff-cell-removed.rdg-cell {
|
|
43
|
+
background-color: #ffc5c5;
|
|
44
|
+
color: black;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.diff-cell-modified.rdg-cell {
|
|
48
|
+
background-color: #ffc5c5;
|
|
49
|
+
color: black;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.cell-show-context-menu {
|
|
53
|
+
overflow: visible;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.grid-header:hover .pin-icon {
|
|
57
|
+
display: block;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.grid-header:hover .key-icon {
|
|
61
|
+
display: block;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.rdg-row:hover .row-context-menu {
|
|
65
|
+
visibility: visible;
|
|
66
|
+
width: auto;
|
|
67
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
.gutter {
|
|
2
|
+
background-color: #eee;
|
|
3
|
+
background-repeat: no-repeat;
|
|
4
|
+
background-position: 50%;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.gutter:hover {
|
|
8
|
+
background-color: orange;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.gutter.gutter-vertical {
|
|
12
|
+
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFAQMAAABo7865AAAABlBMVEVHcEzMzMzyAv2sAAAAAXRSTlMAQObYZgAAABBJREFUeF5jOAMEEAIEEFwAn3kMwcB6I2AAAAAASUVORK5CYII=");
|
|
13
|
+
cursor: row-resize;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.gutter.gutter-horizontal {
|
|
17
|
+
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==");
|
|
18
|
+
cursor: col-resize;
|
|
19
|
+
}
|
package/dist/types.js
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// recce-source/js/src/constants/urls.ts
|
|
4
|
+
var RECCE_SUPPORT_CALENDAR_URL = "https://cal.com/team/recce/chat";
|
|
5
|
+
|
|
6
|
+
// recce-source/js/src/constants/tooltipMessage.ts
|
|
7
|
+
var DisableTooltipMessages = {
|
|
8
|
+
add_or_remove: "Unavailable for added or removed resources."
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
// recce-source/js/src/lib/const.ts
|
|
12
|
+
var apiUrl = process.env.NEXT_PUBLIC_API_URL;
|
|
13
|
+
apiUrl ??= typeof window !== "undefined" ? window.location.origin : "";
|
|
14
|
+
var PUBLIC_API_URL = apiUrl;
|
|
15
|
+
var cloudWebUrl = process.env.NEXT_PUBLIC_CLOUD_WEB_URL;
|
|
16
|
+
cloudWebUrl ??= "https://cloud.datarecce.io";
|
|
17
|
+
var PUBLIC_CLOUD_WEB_URL = cloudWebUrl;
|
|
18
|
+
|
|
19
|
+
exports.DisableTooltipMessages = DisableTooltipMessages;
|
|
20
|
+
exports.PUBLIC_API_URL = PUBLIC_API_URL;
|
|
21
|
+
exports.PUBLIC_CLOUD_WEB_URL = PUBLIC_CLOUD_WEB_URL;
|
|
22
|
+
exports.RECCE_SUPPORT_CALENDAR_URL = RECCE_SUPPORT_CALENDAR_URL;
|
|
23
|
+
//# sourceMappingURL=types.js.map
|
|
24
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../recce-source/js/src/constants/urls.ts","../recce-source/js/src/constants/tooltipMessage.ts","../recce-source/js/src/lib/const.ts"],"names":[],"mappings":";;;AAAO,IAAM,0BAAA,GAA6B;;;ACAnC,IAAM,sBAAA,GAAyB;AAAA,EACpC,aAAA,EAAe;AACjB;;;ACFA,IAAI,MAAA,GAAS,QAAQ,GAAA,CAAI,mBAAA;AACzB,MAAA,KAAW,OAAO,MAAA,KAAW,WAAA,GAAc,MAAA,CAAO,SAAS,MAAA,GAAS,EAAA;AAE7D,IAAM,cAAA,GAAiB;AAE9B,IAAI,WAAA,GAAc,QAAQ,GAAA,CAAI,yBAAA;AAC9B,WAAA,KAAgB,4BAAA;AAET,IAAM,oBAAA,GAAuB","file":"types.js","sourcesContent":["export const RECCE_SUPPORT_CALENDAR_URL = \"https://cal.com/team/recce/chat\";\n","export const DisableTooltipMessages = {\n add_or_remove: \"Unavailable for added or removed resources.\",\n} as const;\n","let apiUrl = process.env.NEXT_PUBLIC_API_URL;\napiUrl ??= typeof window !== \"undefined\" ? window.location.origin : \"\";\n\nexport const PUBLIC_API_URL = apiUrl;\n\nlet cloudWebUrl = process.env.NEXT_PUBLIC_CLOUD_WEB_URL;\ncloudWebUrl ??= \"https://cloud.datarecce.io\";\n\nexport const PUBLIC_CLOUD_WEB_URL = cloudWebUrl;\n"]}
|
package/dist/types.mjs
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// recce-source/js/src/constants/urls.ts
|
|
2
|
+
var RECCE_SUPPORT_CALENDAR_URL = "https://cal.com/team/recce/chat";
|
|
3
|
+
|
|
4
|
+
// recce-source/js/src/constants/tooltipMessage.ts
|
|
5
|
+
var DisableTooltipMessages = {
|
|
6
|
+
add_or_remove: "Unavailable for added or removed resources."
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
// recce-source/js/src/lib/const.ts
|
|
10
|
+
var apiUrl = process.env.NEXT_PUBLIC_API_URL;
|
|
11
|
+
apiUrl ??= typeof window !== "undefined" ? window.location.origin : "";
|
|
12
|
+
var PUBLIC_API_URL = apiUrl;
|
|
13
|
+
var cloudWebUrl = process.env.NEXT_PUBLIC_CLOUD_WEB_URL;
|
|
14
|
+
cloudWebUrl ??= "https://cloud.datarecce.io";
|
|
15
|
+
var PUBLIC_CLOUD_WEB_URL = cloudWebUrl;
|
|
16
|
+
|
|
17
|
+
export { DisableTooltipMessages, PUBLIC_API_URL, PUBLIC_CLOUD_WEB_URL, RECCE_SUPPORT_CALENDAR_URL };
|
|
18
|
+
//# sourceMappingURL=types.mjs.map
|
|
19
|
+
//# sourceMappingURL=types.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../recce-source/js/src/constants/urls.ts","../recce-source/js/src/constants/tooltipMessage.ts","../recce-source/js/src/lib/const.ts"],"names":[],"mappings":";AAAO,IAAM,0BAAA,GAA6B;;;ACAnC,IAAM,sBAAA,GAAyB;AAAA,EACpC,aAAA,EAAe;AACjB;;;ACFA,IAAI,MAAA,GAAS,QAAQ,GAAA,CAAI,mBAAA;AACzB,MAAA,KAAW,OAAO,MAAA,KAAW,WAAA,GAAc,MAAA,CAAO,SAAS,MAAA,GAAS,EAAA;AAE7D,IAAM,cAAA,GAAiB;AAE9B,IAAI,WAAA,GAAc,QAAQ,GAAA,CAAI,yBAAA;AAC9B,WAAA,KAAgB,4BAAA;AAET,IAAM,oBAAA,GAAuB","file":"types.mjs","sourcesContent":["export const RECCE_SUPPORT_CALENDAR_URL = \"https://cal.com/team/recce/chat\";\n","export const DisableTooltipMessages = {\n add_or_remove: \"Unavailable for added or removed resources.\",\n} as const;\n","let apiUrl = process.env.NEXT_PUBLIC_API_URL;\napiUrl ??= typeof window !== \"undefined\" ? window.location.origin : \"\";\n\nexport const PUBLIC_API_URL = apiUrl;\n\nlet cloudWebUrl = process.env.NEXT_PUBLIC_CLOUD_WEB_URL;\ncloudWebUrl ??= \"https://cloud.datarecce.io\";\n\nexport const PUBLIC_CLOUD_WEB_URL = cloudWebUrl;\n"]}
|
package/package.json
ADDED
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@datarecce/ui",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Recce UI Components Library - Reusable React components for data validation and review",
|
|
5
|
+
"main": "./dist/index.js",
|
|
6
|
+
"module": "./dist/index.mjs",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.mjs",
|
|
12
|
+
"require": "./dist/index.js"
|
|
13
|
+
},
|
|
14
|
+
"./lineage": {
|
|
15
|
+
"types": "./dist/lineage.d.ts",
|
|
16
|
+
"import": "./dist/lineage.mjs",
|
|
17
|
+
"require": "./dist/lineage.js"
|
|
18
|
+
},
|
|
19
|
+
"./charts": {
|
|
20
|
+
"types": "./dist/charts.d.ts",
|
|
21
|
+
"import": "./dist/charts.mjs",
|
|
22
|
+
"require": "./dist/charts.js"
|
|
23
|
+
},
|
|
24
|
+
"./query": {
|
|
25
|
+
"types": "./dist/query.d.ts",
|
|
26
|
+
"import": "./dist/query.mjs",
|
|
27
|
+
"require": "./dist/query.js"
|
|
28
|
+
},
|
|
29
|
+
"./profile": {
|
|
30
|
+
"types": "./dist/profile.d.ts",
|
|
31
|
+
"import": "./dist/profile.mjs",
|
|
32
|
+
"require": "./dist/profile.js"
|
|
33
|
+
},
|
|
34
|
+
"./types": {
|
|
35
|
+
"types": "./dist/types.d.ts",
|
|
36
|
+
"import": "./dist/types.mjs",
|
|
37
|
+
"require": "./dist/types.js"
|
|
38
|
+
},
|
|
39
|
+
"./styles": {
|
|
40
|
+
"import": "./dist/styles.css",
|
|
41
|
+
"require": "./dist/styles.css"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"files": [
|
|
45
|
+
"dist",
|
|
46
|
+
"README.md"
|
|
47
|
+
],
|
|
48
|
+
"scripts": {
|
|
49
|
+
"dev": "tsup --watch",
|
|
50
|
+
"build": "tsup",
|
|
51
|
+
"type:check": "tsc --noEmit",
|
|
52
|
+
"type:check:strict": "tsc --noEmit",
|
|
53
|
+
"lint": "eslint src --ext ts,tsx",
|
|
54
|
+
"test": "vitest",
|
|
55
|
+
"test:watch": "vitest watch",
|
|
56
|
+
"storybook": "storybook dev -p 6006",
|
|
57
|
+
"build:storybook": "storybook build",
|
|
58
|
+
"prepublishOnly": "npm run build",
|
|
59
|
+
"submodule:update": "git submodule update --remote --merge"
|
|
60
|
+
},
|
|
61
|
+
"keywords": [
|
|
62
|
+
"react",
|
|
63
|
+
"components",
|
|
64
|
+
"recce",
|
|
65
|
+
"dbt",
|
|
66
|
+
"data-validation",
|
|
67
|
+
"ui-library",
|
|
68
|
+
"typescript"
|
|
69
|
+
],
|
|
70
|
+
"author": "Recce Dev Team <dev@reccehq.com>",
|
|
71
|
+
"license": "Apache-2.0",
|
|
72
|
+
"repository": {
|
|
73
|
+
"type": "git",
|
|
74
|
+
"url": "https://github.com/DataRecce/recce-ui.git"
|
|
75
|
+
},
|
|
76
|
+
"peerDependencies": {
|
|
77
|
+
"@chakra-ui/react": "^3.0.0",
|
|
78
|
+
"@emotion/react": "^11.0.0",
|
|
79
|
+
"@tanstack/react-query": "^5.0.0",
|
|
80
|
+
"@xyflow/react": "^12.0.0",
|
|
81
|
+
"axios": "^1.0.0",
|
|
82
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
83
|
+
"react-dom": "^18.0.0 || ^19.0.0"
|
|
84
|
+
},
|
|
85
|
+
"dependencies": {
|
|
86
|
+
"@amplitude/analytics-core": "^2.33.0",
|
|
87
|
+
"@amplitude/unified": "1.0.0-beta.9",
|
|
88
|
+
"@chakra-ui/styled-system": "^2.12.0",
|
|
89
|
+
"@dagrejs/dagre": "^1.1.8",
|
|
90
|
+
"@hello-pangea/dnd": "^18.0.1",
|
|
91
|
+
"@jeromefitz/date-fns-tz": "3.0.0-canary.8",
|
|
92
|
+
"@monaco-editor/react": "^4.7.0",
|
|
93
|
+
"@sentry/react": "^10.29.0",
|
|
94
|
+
"chakra-react-select": "^6.1.1",
|
|
95
|
+
"chart.js": "^4.5.1",
|
|
96
|
+
"common-tags": "^1.8.2",
|
|
97
|
+
"date-fns": "^4.1.0",
|
|
98
|
+
"file-saver": "^2.0.5",
|
|
99
|
+
"html-to-image": "^1.11.13",
|
|
100
|
+
"html2canvas-pro": "^1.5.13",
|
|
101
|
+
"js-cookie": "^3.0.5",
|
|
102
|
+
"lodash": "^4.17.21",
|
|
103
|
+
"monaco-editor": "^0.55.1",
|
|
104
|
+
"next-themes": "^0.4.6",
|
|
105
|
+
"react-chartjs-2": "^5.3.1",
|
|
106
|
+
"react-data-grid": "7.0.0-beta.59",
|
|
107
|
+
"react-icons": "^5.5.0",
|
|
108
|
+
"react-markdown": "^10.1.0",
|
|
109
|
+
"react-split": "^2.0.14",
|
|
110
|
+
"react-syntax-highlighter": "^16.1.0",
|
|
111
|
+
"remark-gfm": "^4.0.1",
|
|
112
|
+
"simplebar": "^6.3.3",
|
|
113
|
+
"simplebar-react": "3.3.2",
|
|
114
|
+
"usehooks-ts": "^3.1.1",
|
|
115
|
+
"yaml": "^2.8.2"
|
|
116
|
+
},
|
|
117
|
+
"devDependencies": {
|
|
118
|
+
"@types/common-tags": "^1.8.4",
|
|
119
|
+
"@types/dagre": "^0.7.53",
|
|
120
|
+
"@types/file-saver": "^2.0.7",
|
|
121
|
+
"@types/js-cookie": "^3.0.6",
|
|
122
|
+
"@types/lodash": "^4.17.21",
|
|
123
|
+
"@types/node": "^24.10.2",
|
|
124
|
+
"@types/react": "19.2.7",
|
|
125
|
+
"@types/react-dom": "19.2.3",
|
|
126
|
+
"@types/react-syntax-highlighter": "^15.5.13",
|
|
127
|
+
"next": "^16.0.0",
|
|
128
|
+
"tsup": "^8.3.5",
|
|
129
|
+
"typescript": "^5.9.3"
|
|
130
|
+
},
|
|
131
|
+
"overrides": {
|
|
132
|
+
"@types/react": "19.2.7",
|
|
133
|
+
"@types/react-dom": "19.2.3"
|
|
134
|
+
},
|
|
135
|
+
"engines": {
|
|
136
|
+
"node": ">=20"
|
|
137
|
+
}
|
|
138
|
+
}
|