@adaptabletools/adaptable-react-aggrid 11.0.0-canary.0 → 11.0.0-canary.4
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 +21 -10
- package/index.css +23 -10
- package/package.json +7 -6
- package/src/setupFrameworkComponents.js +4 -2
package/base.css
CHANGED
|
@@ -1614,6 +1614,7 @@
|
|
|
1614
1614
|
--ab-cmp-adaptable-popup--settings__height: 90vh;
|
|
1615
1615
|
--ab-cmp-adaptable-popup__height: 90vh;
|
|
1616
1616
|
--ab-cmp-adaptable-popup__max-height: 1200px;
|
|
1617
|
+
--ab-cmp-adaptable-popup__box-shadow: 2px 2px 14px 0px rgb(0 0 0 / 26%);
|
|
1617
1618
|
--ab-cmp-adaptable-popup-navigation-list__padding: var(--ab-space-1) var(--ab-space-2);
|
|
1618
1619
|
--ab-cmp-adaptable-popup-navigation-list__border-right: 2px solid var(--ab-color-defaultbackground);
|
|
1619
1620
|
--ab-cmp-adaptable-popup-navigation-list__font-size: var(--ab-font-size-3);
|
|
@@ -2506,7 +2507,8 @@ input[type="number"].ab-Input:hover::-webkit-inner-spin-button:active {
|
|
|
2506
2507
|
--ab-cmp-Tag__font-size: var(--ab-font-size-3); }
|
|
2507
2508
|
.ab-Tag {
|
|
2508
2509
|
display: inline-flex;
|
|
2509
|
-
font-size: var(--ab-cmp-Tag__font-size);
|
|
2510
|
+
font-size: var(--ab-cmp-Tag__font-size);
|
|
2511
|
+
max-width: 100%; }
|
|
2510
2512
|
.ab-AdaptableOptions {
|
|
2511
2513
|
background: var(--ab-cmp-adaptable-options__background-color); }
|
|
2512
2514
|
.ab-GridOptions {
|
|
@@ -2637,6 +2639,8 @@ html.ab--theme-dark .ab-ListBoxFilterForm--aggrid-style {
|
|
|
2637
2639
|
.ab-Adaptable-Popup {
|
|
2638
2640
|
background: var(--ab-cmp-adaptable-popup__background);
|
|
2639
2641
|
max-height: var(--ab-cmp-adaptable-popup__max-height); }
|
|
2642
|
+
.ab-Adaptable-Popup--window {
|
|
2643
|
+
box-shadow: var(--ab-cmp-adaptable-popup__box-shadow); }
|
|
2640
2644
|
.ab-Adaptable-Popup__Navigation {
|
|
2641
2645
|
padding-top: 10px;
|
|
2642
2646
|
overflow: auto;
|
|
@@ -2716,6 +2720,9 @@ html.ab--theme-dark .ab-ListBoxFilterForm--aggrid-style {
|
|
|
2716
2720
|
margin-bottom: var(--ab-cmp-adaptable-object-list-item__margin-bottom); }
|
|
2717
2721
|
.ab-Adaptable-Object-List__Item__edit-property {
|
|
2718
2722
|
visibility: hidden; }
|
|
2723
|
+
.ab-Adaptable-Object-List__Item__values {
|
|
2724
|
+
min-width: 0;
|
|
2725
|
+
word-break: break-all; }
|
|
2719
2726
|
.ab-Adaptable-Object-List__Item__buttons {
|
|
2720
2727
|
padding-left: var(--ab-space-2);
|
|
2721
2728
|
min-width: 80px;
|
|
@@ -2777,21 +2784,25 @@ html.ab--theme-dark .ab-ListBoxFilterForm--aggrid-style {
|
|
|
2777
2784
|
border-style: none;
|
|
2778
2785
|
--ab-toast-cmp__shadow-color: var(--ab-color-accent);
|
|
2779
2786
|
box-shadow: 0 0 7px 2px var(--ab-toast-cmp__shadow-color);
|
|
2780
|
-
background: var(--ab-toast-cmp__shadow-color);
|
|
2787
|
+
background: var(--ab-toast-cmp__shadow-color);
|
|
2788
|
+
--toastify-text-color-info: var(--ab-color-text-on-primary);
|
|
2789
|
+
--toastify-text-color-success: var(--ab-color-text-on-primary);
|
|
2790
|
+
--toastify-text-color-warning: var(--ab-color-text-on-primary);
|
|
2791
|
+
--toastify-text-color-error: var(--ab-color-text-on-primary);
|
|
2792
|
+
--toastify-color-info: var(--ab-color-info);
|
|
2793
|
+
--toastify-color-success: var(--ab-color-success);
|
|
2794
|
+
--toastify-color-warning: var(--ab-color-warn);
|
|
2795
|
+
--toastify-color-error: var(--ab-color-error); }
|
|
2781
2796
|
.Toastify__toast-body {
|
|
2782
2797
|
padding: 0; }
|
|
2783
2798
|
.Toastify__toast--info {
|
|
2784
|
-
--ab-toast-cmp__shadow-color: var(--ab-color-info);
|
|
2785
|
-
color: var(--ab-color-text-on-primary); }
|
|
2799
|
+
--ab-toast-cmp__shadow-color: var(--ab-color-info); }
|
|
2786
2800
|
.Toastify__toast--success {
|
|
2787
|
-
--ab-toast-cmp__shadow-color: var(--ab-color-success);
|
|
2788
|
-
color: var(--ab-color-text-on-primary); }
|
|
2801
|
+
--ab-toast-cmp__shadow-color: var(--ab-color-success); }
|
|
2789
2802
|
.Toastify__toast--warning {
|
|
2790
|
-
--ab-toast-cmp__shadow-color: var(--ab-color-warn);
|
|
2791
|
-
color: var(--ab-color-text-on-primary); }
|
|
2803
|
+
--ab-toast-cmp__shadow-color: var(--ab-color-warn); }
|
|
2792
2804
|
.Toastify__toast--error {
|
|
2793
|
-
--ab-toast-cmp__shadow-color: var(--ab-color-error);
|
|
2794
|
-
color: var(--ab-color-text-on-primary); }
|
|
2805
|
+
--ab-toast-cmp__shadow-color: var(--ab-color-error); }
|
|
2795
2806
|
.ab--custom-mac-like-scrollbars .ab-Grid * ::-webkit-scrollbar,
|
|
2796
2807
|
.ab--custom-mac-like-scrollbars .ag-root * ::-webkit-scrollbar,
|
|
2797
2808
|
.ab--custom-mac-like-scrollbars .ab-Dashboard ::-webkit-scrollbar, .ab--custom-mac-like-scrollbars .ab-Dashboard * ::-webkit-scrollbar,
|
package/index.css
CHANGED
|
@@ -2233,6 +2233,7 @@ template {
|
|
|
2233
2233
|
--ab-cmp-adaptable-popup--settings__height: 90vh;
|
|
2234
2234
|
--ab-cmp-adaptable-popup__height: 90vh;
|
|
2235
2235
|
--ab-cmp-adaptable-popup__max-height: 1200px;
|
|
2236
|
+
--ab-cmp-adaptable-popup__box-shadow: 2px 2px 14px 0px rgb(0 0 0 / 26%);
|
|
2236
2237
|
--ab-cmp-adaptable-popup-navigation-list__padding: var(--ab-space-1) var(--ab-space-2);
|
|
2237
2238
|
--ab-cmp-adaptable-popup-navigation-list__border-right: 2px solid var(--ab-color-defaultbackground);
|
|
2238
2239
|
--ab-cmp-adaptable-popup-navigation-list__font-size: var(--ab-font-size-3);
|
|
@@ -3339,7 +3340,8 @@ input[type="number"].ab-Input:hover::-webkit-inner-spin-button:active {
|
|
|
3339
3340
|
|
|
3340
3341
|
.ab-Tag {
|
|
3341
3342
|
display: inline-flex;
|
|
3342
|
-
font-size: var(--ab-cmp-Tag__font-size);
|
|
3343
|
+
font-size: var(--ab-cmp-Tag__font-size);
|
|
3344
|
+
max-width: 100%; }
|
|
3343
3345
|
|
|
3344
3346
|
.ab-AdaptableOptions {
|
|
3345
3347
|
background: var(--ab-cmp-adaptable-options__background-color); }
|
|
@@ -3509,6 +3511,9 @@ html.ab--theme-dark .ab-ListBoxFilterForm--aggrid-style {
|
|
|
3509
3511
|
background: var(--ab-cmp-adaptable-popup__background);
|
|
3510
3512
|
max-height: var(--ab-cmp-adaptable-popup__max-height); }
|
|
3511
3513
|
|
|
3514
|
+
.ab-Adaptable-Popup--window {
|
|
3515
|
+
box-shadow: var(--ab-cmp-adaptable-popup__box-shadow); }
|
|
3516
|
+
|
|
3512
3517
|
.ab-Adaptable-Popup__Navigation {
|
|
3513
3518
|
padding-top: 10px;
|
|
3514
3519
|
overflow: auto;
|
|
@@ -3610,6 +3615,10 @@ html.ab--theme-dark .ab-ListBoxFilterForm--aggrid-style {
|
|
|
3610
3615
|
.ab-Adaptable-Object-List__Item__edit-property {
|
|
3611
3616
|
visibility: hidden; }
|
|
3612
3617
|
|
|
3618
|
+
.ab-Adaptable-Object-List__Item__values {
|
|
3619
|
+
min-width: 0;
|
|
3620
|
+
word-break: break-all; }
|
|
3621
|
+
|
|
3613
3622
|
.ab-Adaptable-Object-List__Item__buttons {
|
|
3614
3623
|
padding-left: var(--ab-space-2);
|
|
3615
3624
|
min-width: 80px;
|
|
@@ -3689,26 +3698,30 @@ html.ab--theme-dark .ab-ListBoxFilterForm--aggrid-style {
|
|
|
3689
3698
|
border-style: none;
|
|
3690
3699
|
--ab-toast-cmp__shadow-color: var(--ab-color-accent);
|
|
3691
3700
|
box-shadow: 0 0 7px 2px var(--ab-toast-cmp__shadow-color);
|
|
3692
|
-
background: var(--ab-toast-cmp__shadow-color);
|
|
3701
|
+
background: var(--ab-toast-cmp__shadow-color);
|
|
3702
|
+
--toastify-text-color-info: var(--ab-color-text-on-primary);
|
|
3703
|
+
--toastify-text-color-success: var(--ab-color-text-on-primary);
|
|
3704
|
+
--toastify-text-color-warning: var(--ab-color-text-on-primary);
|
|
3705
|
+
--toastify-text-color-error: var(--ab-color-text-on-primary);
|
|
3706
|
+
--toastify-color-info: var(--ab-color-info);
|
|
3707
|
+
--toastify-color-success: var(--ab-color-success);
|
|
3708
|
+
--toastify-color-warning: var(--ab-color-warn);
|
|
3709
|
+
--toastify-color-error: var(--ab-color-error); }
|
|
3693
3710
|
|
|
3694
3711
|
.Toastify__toast-body {
|
|
3695
3712
|
padding: 0; }
|
|
3696
3713
|
|
|
3697
3714
|
.Toastify__toast--info {
|
|
3698
|
-
--ab-toast-cmp__shadow-color: var(--ab-color-info);
|
|
3699
|
-
color: var(--ab-color-text-on-primary); }
|
|
3715
|
+
--ab-toast-cmp__shadow-color: var(--ab-color-info); }
|
|
3700
3716
|
|
|
3701
3717
|
.Toastify__toast--success {
|
|
3702
|
-
--ab-toast-cmp__shadow-color: var(--ab-color-success);
|
|
3703
|
-
color: var(--ab-color-text-on-primary); }
|
|
3718
|
+
--ab-toast-cmp__shadow-color: var(--ab-color-success); }
|
|
3704
3719
|
|
|
3705
3720
|
.Toastify__toast--warning {
|
|
3706
|
-
--ab-toast-cmp__shadow-color: var(--ab-color-warn);
|
|
3707
|
-
color: var(--ab-color-text-on-primary); }
|
|
3721
|
+
--ab-toast-cmp__shadow-color: var(--ab-color-warn); }
|
|
3708
3722
|
|
|
3709
3723
|
.Toastify__toast--error {
|
|
3710
|
-
--ab-toast-cmp__shadow-color: var(--ab-color-error);
|
|
3711
|
-
color: var(--ab-color-text-on-primary); }
|
|
3724
|
+
--ab-toast-cmp__shadow-color: var(--ab-color-error); }
|
|
3712
3725
|
|
|
3713
3726
|
.ab--custom-mac-like-scrollbars .ab-Grid * ::-webkit-scrollbar,
|
|
3714
3727
|
.ab--custom-mac-like-scrollbars .ag-root * ::-webkit-scrollbar,
|
package/package.json
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adaptabletools/adaptable-react-aggrid",
|
|
3
|
-
"version": "11.0.0-canary.
|
|
3
|
+
"version": "11.0.0-canary.4",
|
|
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
|
-
"
|
|
9
|
-
|
|
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.
|
|
22
|
+
"@adaptabletools/adaptable": "11.0.0-canary.4"
|
|
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
|
|
14
|
-
react_dom_1.render(
|
|
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);
|