@hpcc-js/dgrid2 2.1.0 → 2.1.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hpcc-js/dgrid2",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "hpcc-js - DGrid2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es6",
@@ -38,14 +38,14 @@
38
38
  "update": "npx npm-check-updates -u -t minor"
39
39
  },
40
40
  "dependencies": {
41
- "@hpcc-js/common": "^2.68.0",
42
- "@hpcc-js/util": "^2.47.0"
41
+ "@hpcc-js/common": "^2.68.1",
42
+ "@hpcc-js/util": "^2.47.1"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@githubocto/flat-ui": "0.14.0",
46
46
  "@hpcc-js/bundle": "^2.11.1",
47
47
  "preact": "10.7.1",
48
- "react-data-grid": "7.0.0-beta.11",
48
+ "react-data-grid": "7.0.0-canary.49",
49
49
  "tslib": "2.3.1"
50
50
  },
51
51
  "repository": {
@@ -59,5 +59,5 @@
59
59
  "url": "https://github.com/hpcc-systems/Visualization/issues"
60
60
  },
61
61
  "homepage": "https://github.com/hpcc-systems/Visualization",
62
- "gitHead": "33aa52bc641400d8fb3bfa51dcd4c94a9599fc90"
62
+ "gitHead": "b7c5d9a853196b53078d665df4368629a1a87903"
63
63
  }
@@ -1,3 +1,3 @@
1
1
  export const PKG_NAME = "@hpcc-js/dgrid2";
2
- export const PKG_VERSION = "2.1.0";
3
- export const BUILD_VERSION = "2.103.0";
2
+ export const PKG_VERSION = "2.1.1";
3
+ export const BUILD_VERSION = "2.103.1";
package/src/table.md CHANGED
@@ -3,7 +3,7 @@
3
3
  **Class**: `Table`
4
4
 
5
5
  <ClientOnly>
6
- <hpcc-vitepress style="width:100%;height:600px">
6
+ <hpcc-vitepress preview_border="0px" style="width:100%;height:600px">
7
7
  <div id="placeholder" style="height:400px">
8
8
  </div>
9
9
  <script type="module">
package/src/table.tsx CHANGED
@@ -1,5 +1,6 @@
1
1
  import { HTMLWidget, publish } from "@hpcc-js/common";
2
- import * as React from "preact/compat";
2
+ import * as React from "react";
3
+ import { render, unmountComponentAtNode } from "react-dom";
3
4
  import DataGrid, { Column, SelectColumn, SortColumn } from "react-data-grid";
4
5
 
5
6
  import "../src/table.css";
@@ -149,11 +150,11 @@ export class Table extends HTMLWidget {
149
150
  super.update(domNode, element);
150
151
  this._div.style("width", this.width() + "px");
151
152
  this._div.style("height", this.height() + "px");
152
- React.render(this.renderTable(), this._div.node());
153
+ render(this.renderTable(), this._div.node());
153
154
  }
154
155
 
155
156
  exit(domNode, element) {
156
- React.unmountComponentAtNode(this._div.node());
157
+ unmountComponentAtNode(this._div.node());
157
158
  this._div.remove();
158
159
  super.exit(domNode, element);
159
160
  }
@@ -1,4 +1,4 @@
1
1
  export declare const PKG_NAME = "@hpcc-js/dgrid2";
2
- export declare const PKG_VERSION = "2.1.0";
3
- export declare const BUILD_VERSION = "2.103.0";
2
+ export declare const PKG_VERSION = "2.1.1";
3
+ export declare const BUILD_VERSION = "2.103.1";
4
4
  //# sourceMappingURL=__package__.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../src/table.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAItD,OAAO,kBAAkB,CAAC;AAE1B,oBAAY,aAAa,GAAG;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,OAAO,CAAA;CAAE,CAAC;AA0GvE,qBAAa,KAAM,SAAQ,UAAU;IAEjC,SAAS,CAAC,IAAI,MAAC;;IAOf,QAAQ,EAAE,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAEjC,WAAW,EAAE,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAEpC,QAAQ,MAAC;IACT,WAAW,MAAC;IACZ,OAAO,CAAC,WAAW;IAanB,KAAK,CAAC,OAAO,KAAA,EAAE,OAAO,KAAA;IAOtB,MAAM,CAAC,OAAO,KAAA,EAAE,OAAO,KAAA;IAOvB,IAAI,CAAC,OAAO,KAAA,EAAE,OAAO,KAAA;IAOrB,KAAK,CAAC,GAAG,KAAA,EAAE,GAAG,KAAA,EAAE,GAAG,KAAA;CAEtB"}
1
+ {"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../src/table.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAKtD,OAAO,kBAAkB,CAAC;AAE1B,oBAAY,aAAa,GAAG;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,OAAO,CAAA;CAAE,CAAC;AA0GvE,qBAAa,KAAM,SAAQ,UAAU;IAEjC,SAAS,CAAC,IAAI,MAAC;;IAOf,QAAQ,EAAE,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAEjC,WAAW,EAAE,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAEpC,QAAQ,MAAC;IACT,WAAW,MAAC;IACZ,OAAO,CAAC,WAAW;IAanB,KAAK,CAAC,OAAO,KAAA,EAAE,OAAO,KAAA;IAOtB,MAAM,CAAC,OAAO,KAAA,EAAE,OAAO,KAAA;IAOvB,IAAI,CAAC,OAAO,KAAA,EAAE,OAAO,KAAA;IAOrB,KAAK,CAAC,GAAG,KAAA,EAAE,GAAG,KAAA,EAAE,GAAG,KAAA;CAEtB"}
@@ -1,4 +1,4 @@
1
1
  export declare const PKG_NAME = "@hpcc-js/dgrid2";
2
- export declare const PKG_VERSION = "2.1.0";
3
- export declare const BUILD_VERSION = "2.103.0";
2
+ export declare const PKG_VERSION = "2.1.1";
3
+ export declare const BUILD_VERSION = "2.103.1";
4
4
  //# sourceMappingURL=__package__.d.ts.map