@adaptabletools/adaptable-react-aggrid 11.0.0-canary.2 → 11.0.0-canary.3

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/base.css CHANGED
@@ -2506,7 +2506,8 @@ input[type="number"].ab-Input:hover::-webkit-inner-spin-button:active {
2506
2506
  --ab-cmp-Tag__font-size: var(--ab-font-size-3); }
2507
2507
  .ab-Tag {
2508
2508
  display: inline-flex;
2509
- font-size: var(--ab-cmp-Tag__font-size); }
2509
+ font-size: var(--ab-cmp-Tag__font-size);
2510
+ max-width: 100%; }
2510
2511
  .ab-AdaptableOptions {
2511
2512
  background: var(--ab-cmp-adaptable-options__background-color); }
2512
2513
  .ab-GridOptions {
@@ -2716,6 +2717,9 @@ html.ab--theme-dark .ab-ListBoxFilterForm--aggrid-style {
2716
2717
  margin-bottom: var(--ab-cmp-adaptable-object-list-item__margin-bottom); }
2717
2718
  .ab-Adaptable-Object-List__Item__edit-property {
2718
2719
  visibility: hidden; }
2720
+ .ab-Adaptable-Object-List__Item__values {
2721
+ min-width: 0;
2722
+ word-break: break-all; }
2719
2723
  .ab-Adaptable-Object-List__Item__buttons {
2720
2724
  padding-left: var(--ab-space-2);
2721
2725
  min-width: 80px;
package/index.css CHANGED
@@ -3339,7 +3339,8 @@ input[type="number"].ab-Input:hover::-webkit-inner-spin-button:active {
3339
3339
 
3340
3340
  .ab-Tag {
3341
3341
  display: inline-flex;
3342
- font-size: var(--ab-cmp-Tag__font-size); }
3342
+ font-size: var(--ab-cmp-Tag__font-size);
3343
+ max-width: 100%; }
3343
3344
 
3344
3345
  .ab-AdaptableOptions {
3345
3346
  background: var(--ab-cmp-adaptable-options__background-color); }
@@ -3610,6 +3611,10 @@ html.ab--theme-dark .ab-ListBoxFilterForm--aggrid-style {
3610
3611
  .ab-Adaptable-Object-List__Item__edit-property {
3611
3612
  visibility: hidden; }
3612
3613
 
3614
+ .ab-Adaptable-Object-List__Item__values {
3615
+ min-width: 0;
3616
+ word-break: break-all; }
3617
+
3613
3618
  .ab-Adaptable-Object-List__Item__buttons {
3614
3619
  padding-left: var(--ab-space-2);
3615
3620
  min-width: 80px;
package/package.json CHANGED
@@ -1,13 +1,11 @@
1
1
  {
2
2
  "name": "@adaptabletools/adaptable-react-aggrid",
3
- "version": "11.0.0-canary.2",
3
+ "version": "11.0.0-canary.3",
4
4
  "description": "React version of the powerful data-agnostic HTML5 datagrid add-on that sits on top of the agGrid component and provides all the rich functionality that advanced users expect from their DataGrids and Data Tables",
5
5
  "keywords": [],
6
- "main": "src/index.js",
7
6
  "license": "SEE LICENSE IN LICENSE.md",
8
- "engines": {
9
- "node": ">=6.0.0"
10
- },
7
+ "main": "src/index.js",
8
+ "typings": "src/index.d.ts",
11
9
  "lint-staged": {
12
10
  "{src,test}/**/*.ts": [
13
11
  "npx prettier --write",
@@ -21,12 +19,15 @@
21
19
  },
22
20
  "dependencies": {
23
21
  "tslib": "^2.0.0",
24
- "@adaptabletools/adaptable": "11.0.0-canary.2"
22
+ "@adaptabletools/adaptable": "11.0.0-canary.3"
25
23
  },
26
24
  "peerDependencies": {
27
25
  "@ag-grid-community/all-modules": ">=26.2.0",
28
26
  "@ag-grid-community/react": ">=26.2.0",
29
27
  "react": ">=16.8.0",
30
28
  "react-dom": ">=16.8.0"
29
+ },
30
+ "engines": {
31
+ "node": ">=6.0.0"
31
32
  }
32
33
  }
@@ -1,6 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.setupFrameworkComponents = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const React = tslib_1.__importStar(require("react"));
4
6
  const react_dom_1 = require("react-dom");
5
7
  const logger_1 = require("./logger");
6
8
  exports.setupFrameworkComponents = (adaptableApi) => {
@@ -10,8 +12,8 @@ exports.setupFrameworkComponents = (adaptableApi) => {
10
12
  if (command === 'create') {
11
13
  try {
12
14
  logger_1.LogAdaptableInfo(`Mounting custom framework component ${componentType}`, containerDomNode);
13
- const reactFrameworkComponent = frameworkComponent;
14
- react_dom_1.render(reactFrameworkComponent({ adaptableApi }), containerDomNode);
15
+ const ReactComponent = frameworkComponent;
16
+ react_dom_1.render(React.createElement(ReactComponent, { adaptableApi: adaptableApi }), containerDomNode);
15
17
  }
16
18
  catch (err) {
17
19
  logger_1.LogAdaptableError(`Cannot correctly mount custom framework component ${componentType}`, err);