Skip to content

Commit

Permalink
feat(Table): Switch to react-data-grid from Fluent UI
Browse files Browse the repository at this point in the history
Signed-off-by: Gordon Smith <GordonJSmith@gmail.com>
  • Loading branch information
GordonSmith committed Apr 6, 2022
1 parent a29fbab commit 139ba72
Show file tree
Hide file tree
Showing 39 changed files with 4,078 additions and 974 deletions.
4 changes: 2 additions & 2 deletions .vitepress/config.ts
Expand Up @@ -90,8 +90,8 @@ function getVisualizationsSidebar() {
}, {
text: "Grids",
children: [
{ text: "Getting Started", link: "/packages/fgrid/README" },
{ text: "Table", link: "/packages/fgrid/src/table" },
{ text: "Getting Started", link: "/packages/dgrid2/README" },
{ text: "Table", link: "/packages/dgrid2/src/table" },
]
}, {
text: "Graphs",
Expand Down
6 changes: 3 additions & 3 deletions .vscode/launch.json
Expand Up @@ -22,9 +22,9 @@
{
"type": "chrome",
"request": "launch",
"name": "Dermatology",
"url": "file:///${workspaceRoot}/demos/dermatology/index.html",
"webRoot": "${workspaceRoot}/demos/dermatology",
"name": "Graph",
"url": "file:///${workspaceRoot}/packages/graph/index.html",
"webRoot": "${workspaceRoot}/demos/gallery",
"runtimeArgs": [
"--allow-file-access-from-files",
"--allow-file-access",
Expand Down
2 changes: 1 addition & 1 deletion components/layout/package.json
Expand Up @@ -33,7 +33,7 @@
"@lumino/dragdrop": "1.14.0",
"@lumino/messaging": "1.10.1",
"@lumino/widgets": "1.31.1",
"d3": "7.4.0",
"d3": "7.4.2",
"tslib": "2.3.1"
},
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions components/preview/src/vitepress.ts
Expand Up @@ -18,7 +18,7 @@ const devMappings = {
"@hpcc-js/chart": "/packages/chart/src/index.ts",
"@hpcc-js/codemirror": "/packages/codemirror/src/index.ts",
"@hpcc-js/dgrid": "/packages/dgrid/src/index.ts",
"@hpcc-js/fgrid": "/packages/fgrid/src/index.ts",
"@hpcc-js/dgrid2": "/packages/dgrid2/src/index.ts",
"@hpcc-js/graph": "/packages/graph/src/index.ts",
"@hpcc-js/layout": "/packages/layout/src/index.ts",
"@hpcc-js/map": "/packages/map/src/index.ts",
Expand Down Expand Up @@ -46,7 +46,7 @@ const prodMappings = {
"@hpcc-js/chart": "/Visualization/assets/chart.js",
"@hpcc-js/codemirror": "/Visualization/assets/codemirror.js",
"@hpcc-js/dgrid": "/Visualization/assets/dgrid.js",
"@hpcc-js/fgrid": "/Visualization/assets/fgrid.js",
"@hpcc-js/dgrid2": "/Visualization/assets/dgrid2.js",
"@hpcc-js/graph": "/Visualization/assets/graph.js",
"@hpcc-js/layout": "/Visualization/assets/layout.js",
"@hpcc-js/map": "/Visualization/assets/map.js",
Expand Down
2 changes: 1 addition & 1 deletion demos/gallery/.vscode/launch.json
Expand Up @@ -38,7 +38,7 @@
"name": "playground",
"type": "chrome",
"request": "launch",
"url": "file:///${workspaceRoot}/playground.html?./samples/geospatial/Leaflet/Countries.js",
"url": "file:///${workspaceRoot}/playground.html?./samples/graph2/Subgraphs.js",
"runtimeArgs": [
"--allow-file-access-from-files",
"--disable-web-security"
Expand Down
2 changes: 1 addition & 1 deletion demos/gallery/package.json
Expand Up @@ -26,7 +26,7 @@
"@hpcc-js/deck-shim": "^2.4.3",
"@hpcc-js/dgrid": "^2.30.3",
"@hpcc-js/dgrid-shim": "^2.23.2",
"@hpcc-js/fgrid": "^2.0.0",
"@hpcc-js/dgrid2": "^2.0.0",
"@hpcc-js/form": "^2.9.2",
"@hpcc-js/graph": "^2.79.5",
"@hpcc-js/html": "^2.41.3",
Expand Down
2 changes: 1 addition & 1 deletion demos/gallery/src-umd/config.js
Expand Up @@ -2404,7 +2404,7 @@ var config = {
"@hpcc-js/composite": "https://cdn.jsdelivr.net/npm/@hpcc-js/composite@^2.6.4/dist/index.min.js",
"@hpcc-js/ddl-shim": "https://cdn.jsdelivr.net/npm/@hpcc-js/ddl-shim@^2.19.1/dist/index.min.js",
"@hpcc-js/dgrid": "https://cdn.jsdelivr.net/npm/@hpcc-js/dgrid@^2.30.3/dist/index.min.js",
"@hpcc-js/fgrid": "https://cdn.jsdelivr.net/npm/@hpcc-js/fgrid@^2.0.0/dist/index.min.js",
"@hpcc-js/dgrid2": "https://cdn.jsdelivr.net/npm/@hpcc-js/dgrid2@^2.0.0/dist/index.min.js",
"@hpcc-js/form": "https://cdn.jsdelivr.net/npm/@hpcc-js/form@^2.9.2/dist/index.min.js",
"@hpcc-js/graph": "https://cdn.jsdelivr.net/npm/@hpcc-js/graph@^2.79.5/dist/index.min.js",
"@hpcc-js/layout": "https://cdn.jsdelivr.net/npm/@hpcc-js/layout@^2.47.3/dist/index.min.js",
Expand Down
2 changes: 1 addition & 1 deletion demos/gallery/src-umd/devConfig.js
Expand Up @@ -82,7 +82,7 @@ if (window.location.protocol === "file:" || window.location.hostname === "localh
for (var key in config.systemjs.map) {
if (key.indexOf("@hpcc-js") === 0) {
var pkgParts = key.split("/");
var isShim = key.indexOf("-shim") >= 0 || key.indexOf("@hpcc-js/fgrid") === 0;
var isShim = key.indexOf("-shim") >= 0 || key.indexOf("@hpcc-js/dgrid2") === 0;
delete config.systemjs.map[key];
config.systemjs.packages[key] = {
main: isShim ? "dist/index.js" : "lib-umd/index.js",
Expand Down
2 changes: 1 addition & 1 deletion demos/gallery/src/devConfig.ts
Expand Up @@ -85,7 +85,7 @@ if (window.location.protocol === "file:" || window.location.hostname === "localh
for (const key in config.systemjs.map) {
if (key.indexOf("@hpcc-js") === 0) {
const pkgParts = key.split("/");
const isShim = key.indexOf("-shim") >= 0 || key.indexOf("@hpcc-js/fgrid") === 0;
const isShim = key.indexOf("-shim") >= 0 || key.indexOf("@hpcc-js/dgrid2") === 0;
delete config.systemjs.map[key];
config.systemjs.packages[key] = {
main: isShim ? "dist/index.js" : "lib-umd/index.js",
Expand Down
2 changes: 1 addition & 1 deletion demos/gallery/systemjs.config.json
Expand Up @@ -14,7 +14,7 @@
"@hpcc-js/composite": "https://cdn.jsdelivr.net/npm/@hpcc-js/composite@0.2.26/dist/index.min.js",
"@hpcc-js/ddl-shim": "https://cdn.jsdelivr.net/npm/@hpcc-js/ddl-shim@0.3.2/dist/index.min.js",
"@hpcc-js/dgrid": "https://cdn.jsdelivr.net/npm/@hpcc-js/dgrid@0.3.4/dist/index.min.js",
"@hpcc-js/fgrid": "https://cdn.jsdelivr.net/npm/@hpcc-js/fgrid@0.3.4/dist/index.min.js",
"@hpcc-js/dgrid2": "https://cdn.jsdelivr.net/npm/@hpcc-js/dgrid2@0.3.4/dist/index.min.js",
"@hpcc-js/form": "https://cdn.jsdelivr.net/npm/@hpcc-js/form@0.1.21/dist/index.min.js",
"@hpcc-js/graph": "https://cdn.jsdelivr.net/npm/@hpcc-js/graph@0.2.20/dist/index.min.js",
"@hpcc-js/layout": "https://cdn.jsdelivr.net/npm/@hpcc-js/layout@0.3.19/dist/index.min.js",
Expand Down
2 changes: 1 addition & 1 deletion esbuild.js
Expand Up @@ -26,7 +26,7 @@ doBuild("components/preview/src/index.ts", ".vitepress/dist/assets/wc-preview.js
doBuild("packages/chart/src/index.ts", ".vitepress/dist/assets/chart.js");
doBuild("packages/codemirror/src/index.ts", ".vitepress/dist/assets/codemirror.js");
doBuild("packages/dgrid/src/index.ts", ".vitepress/dist/assets/dgrid.js");
doBuild("packages/fgrid/src/index.ts", ".vitepress/dist/assets/fgrid.js");
doBuild("packages/dgrid2/src/index.ts", ".vitepress/dist/assets/dgrid2.js");
doBuild("packages/graph/src/index.ts", ".vitepress/dist/assets/graph.js");
doBuild("packages/layout/src/index.ts", ".vitepress/dist/assets/layout.js");
doBuild("packages/map/src/index.ts", ".vitepress/dist/assets/map.js");
Expand Down

0 comments on commit 139ba72

Please sign in to comment.