@adaptabletools/adaptable 16.1.0-canary.1 → 16.1.0-canary.2

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": "@adaptabletools/adaptable",
3
- "version": "16.1.0-canary.1",
3
+ "version": "16.1.0-canary.2",
4
4
  "description": "Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements",
5
5
  "keywords": [
6
6
  "web-components",
@@ -1,2 +1,2 @@
1
- declare const _default: 1697634888376;
1
+ declare const _default: 1697637650202;
2
2
  export default _default;
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = 1697634888376;
3
+ exports.default = 1697637650202;
@@ -7,6 +7,7 @@ interface ExternalRendererProps {
7
7
  render?: Render;
8
8
  frameworkComponent?: AdaptableFrameworkComponent;
9
9
  onDestroy?: () => void;
10
+ style?: React.CSSProperties;
10
11
  }
11
12
  export declare const ExternalRenderer: React.FunctionComponent<ExternalRendererProps>;
12
13
  export {};
@@ -32,7 +32,11 @@ const WindowPopups = () => {
32
32
  let componentNode = null;
33
33
  if (!Component &&
34
34
  (windowItem.PopupProps.render || windowItem.PopupProps.frameworkComponent)) {
35
- componentNode = (React.createElement(ExternalRenderer_1.ExternalRenderer, { render: windowItem.PopupProps.render, frameworkComponent: windowItem.PopupProps.frameworkComponent, onDestroy: windowItem.PopupProps.onFrameworkComponentDestroyed }));
35
+ componentNode = (React.createElement(ExternalRenderer_1.ExternalRenderer
36
+ // TODO AFL: add configurable width&height for custom popups
37
+ , {
38
+ // TODO AFL: add configurable width&height for custom popups
39
+ style: { height: '100%' }, render: windowItem.PopupProps.render, frameworkComponent: windowItem.PopupProps.frameworkComponent, onDestroy: windowItem.PopupProps.onFrameworkComponentDestroyed }));
36
40
  }
37
41
  else {
38
42
  Component = Component !== null && Component !== void 0 ? Component : NoopComponent;
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const _default: "16.1.0-canary.1";
1
+ declare const _default: "16.1.0-canary.2";
2
2
  export default _default;
package/version.js CHANGED
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = '16.1.0-canary.1'; // PLEASE DONT UPDATE THIS!!! - will be updated at build time with the correct version
3
+ exports.default = '16.1.0-canary.2'; // PLEASE DONT UPDATE THIS!!! - will be updated at build time with the correct version