@adaptabletools/adaptable-angular-aggrid 23.0.9 → 23.0.11
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/README.md +33 -0
- package/index.css +56 -8
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -8,6 +8,39 @@ AdapTable provides a huge range of Data Grid (and FDC3) features, which extend A
|
|
|
8
8
|
|
|
9
9
|
For full details on how to install, instantiate and reference AdapTable programmatically at run-time please read the [AdapTable Angular Documentation](https://www.adaptabletools.com/docs/angular-overview).
|
|
10
10
|
|
|
11
|
+
## CommonJS Build Warnings
|
|
12
|
+
|
|
13
|
+
When building an Angular application which uses AdapTable, you may see warnings like:
|
|
14
|
+
|
|
15
|
+
```
|
|
16
|
+
[WARNING] Module 'react' used by 'node_modules/@adaptabletools/adaptable/...' is not ESM
|
|
17
|
+
CommonJS or AMD dependencies can cause optimization bailouts.
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
These warnings are emitted by all Angular builders — both the esbuild-based ones (`@angular/build:application`, `@angular-devkit/build-angular:browser-esbuild`) and the older webpack-based one (`@angular-devkit/build-angular:browser`, where the message reads `'...' depends on 'react'` instead).
|
|
21
|
+
|
|
22
|
+
These warnings refer to React ecosystem packages used internally by AdapTable (`react`, `react-dom`, and the transitive dependency `use-sync-external-store`). These packages are published as CommonJS only — no ESM distribution exists — so the warnings cannot be avoided at the package level. They are harmless: the build output is correct, and the "optimization bailout" only means the bundler cannot tree-shake inside those specific modules (which would have no effect on React's monolithic runtime anyway).
|
|
23
|
+
|
|
24
|
+
To silence the warnings, add the packages to the [`allowedCommonJsDependencies`](https://angular.dev/tools/cli/build#configuring-commonjs-dependencies) build option — in `angular.json`, or in `project.json` if you are using an Nx monorepo:
|
|
25
|
+
|
|
26
|
+
```json
|
|
27
|
+
{
|
|
28
|
+
"targets": {
|
|
29
|
+
"build": {
|
|
30
|
+
"executor": "@angular/build:application",
|
|
31
|
+
"options": {
|
|
32
|
+
"allowedCommonJsDependencies": [
|
|
33
|
+
"react",
|
|
34
|
+
"react-dom",
|
|
35
|
+
"use-sync-external-store"
|
|
36
|
+
]
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
Listing a package name also covers its deep imports (e.g. `react/jsx-runtime`, `react-dom/client`, `use-sync-external-store/shim`), so these three entries are sufficient.
|
|
11
44
|
|
|
12
45
|
## Demos
|
|
13
46
|
|
package/index.css
CHANGED
|
@@ -405,9 +405,6 @@
|
|
|
405
405
|
.twa\:-mx-1 {
|
|
406
406
|
margin-inline: calc(var(--ab-base-space) * -1);
|
|
407
407
|
}
|
|
408
|
-
.twa\:mx-0\.5 {
|
|
409
|
-
margin-inline: calc(var(--ab-base-space) * 0.5);
|
|
410
|
-
}
|
|
411
408
|
.twa\:mx-1 {
|
|
412
409
|
margin-inline: var(--ab-base-space);
|
|
413
410
|
}
|
|
@@ -711,8 +708,8 @@
|
|
|
711
708
|
.twa\:max-h-\[min\(calc\(--spacing\(72\)---spacing\(9\)\)\,calc\(var\(--available-height\)---spacing\(9\)\)\)\] {
|
|
712
709
|
max-height: min(calc(calc(var(--ab-base-space) * 72) - calc(var(--ab-base-space) * 9)), calc(var(--available-height) - calc(var(--ab-base-space) * 9)));
|
|
713
710
|
}
|
|
714
|
-
.twa\:max-h-\[min\(var\(--available-height\)\,80vh\)\] {
|
|
715
|
-
max-height: min(var(--available-height), 80vh);
|
|
711
|
+
.twa\:max-h-\[min\(var\(--available-height\,80vh\)\,80vh\)\] {
|
|
712
|
+
max-height: min(var(--available-height,80vh), 80vh);
|
|
716
713
|
}
|
|
717
714
|
.twa\:max-h-full {
|
|
718
715
|
max-height: 100%;
|
|
@@ -1023,6 +1020,9 @@
|
|
|
1023
1020
|
.twa\:max-w-\[min\(var\(--available-width\)\,80vw\)\] {
|
|
1024
1021
|
max-width: min(var(--available-width), 80vw);
|
|
1025
1022
|
}
|
|
1023
|
+
.twa\:max-w-\[min\(var\(--available-width\,80vw\)\,80vw\)\] {
|
|
1024
|
+
max-width: min(var(--available-width,80vw), 80vw);
|
|
1025
|
+
}
|
|
1026
1026
|
.twa\:max-w-full {
|
|
1027
1027
|
max-width: 100%;
|
|
1028
1028
|
}
|
|
@@ -1379,9 +1379,6 @@
|
|
|
1379
1379
|
.twa\:gap-y-3 {
|
|
1380
1380
|
row-gap: calc(var(--ab-base-space) * 3);
|
|
1381
1381
|
}
|
|
1382
|
-
.twa\:self-center {
|
|
1383
|
-
align-self: center;
|
|
1384
|
-
}
|
|
1385
1382
|
.twa\:self-end {
|
|
1386
1383
|
align-self: flex-end;
|
|
1387
1384
|
}
|
|
@@ -1825,6 +1822,9 @@
|
|
|
1825
1822
|
.twa\:px-0 {
|
|
1826
1823
|
padding-inline: 0;
|
|
1827
1824
|
}
|
|
1825
|
+
.twa\:px-0\.5 {
|
|
1826
|
+
padding-inline: calc(var(--ab-base-space) * 0.5);
|
|
1827
|
+
}
|
|
1828
1828
|
.twa\:px-1 {
|
|
1829
1829
|
padding-inline: var(--ab-base-space);
|
|
1830
1830
|
}
|
|
@@ -2756,6 +2756,16 @@
|
|
|
2756
2756
|
}
|
|
2757
2757
|
}
|
|
2758
2758
|
}
|
|
2759
|
+
@media (hover: hover) {
|
|
2760
|
+
.twa\:hover\:bg-current\/15:hover {
|
|
2761
|
+
background-color: currentcolor;
|
|
2762
|
+
}
|
|
2763
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2764
|
+
.twa\:hover\:bg-current\/15:hover {
|
|
2765
|
+
background-color: color-mix(in oklab, currentcolor 15%, transparent);
|
|
2766
|
+
}
|
|
2767
|
+
}
|
|
2768
|
+
}
|
|
2759
2769
|
@media (hover: hover) {
|
|
2760
2770
|
.twa\:hover\:bg-destructive\/20:hover {
|
|
2761
2771
|
background-color: var(--ab-color-destructive);
|
|
@@ -3630,6 +3640,9 @@
|
|
|
3630
3640
|
:is(.twa\:\*\:\[\[role\=button\]\]\:absolute > *):is([role=button]) {
|
|
3631
3641
|
position: absolute;
|
|
3632
3642
|
}
|
|
3643
|
+
:is(.twa\:\*\:\[\[role\=button\]\]\:relative > *):is([role=button]) {
|
|
3644
|
+
position: relative;
|
|
3645
|
+
}
|
|
3633
3646
|
:is(.twa\:\*\:\[\[role\=button\]\]\:inset-x-0\.5 > *):is([role=button]) {
|
|
3634
3647
|
inset-inline: calc(var(--ab-base-space) * 0.5);
|
|
3635
3648
|
}
|
|
@@ -3639,12 +3652,31 @@
|
|
|
3639
3652
|
:is(.twa\:\*\:\[\[role\=button\]\]\:h-auto > *):is([role=button]) {
|
|
3640
3653
|
height: auto;
|
|
3641
3654
|
}
|
|
3655
|
+
:is(.twa\:\*\:\[\[role\=button\]\]\:h-full > *):is([role=button]) {
|
|
3656
|
+
height: 100%;
|
|
3657
|
+
}
|
|
3658
|
+
:is(.twa\:\*\:\[\[role\=button\]\]\:min-w-0 > *):is([role=button]) {
|
|
3659
|
+
min-width: 0;
|
|
3660
|
+
}
|
|
3661
|
+
:is(.twa\:\*\:\[\[role\=button\]\]\:flex-1 > *):is([role=button]) {
|
|
3662
|
+
flex: 1;
|
|
3663
|
+
}
|
|
3664
|
+
:is(.twa\:\*\:\[\[role\=button\]\]\:basis-0 > *):is([role=button]) {
|
|
3665
|
+
flex-basis: 0;
|
|
3666
|
+
}
|
|
3642
3667
|
:is(.twa\:\*\:\[\[role\=button\]\]\:rounded-input > *):is([role=button]) {
|
|
3643
3668
|
border-radius: var(--ab-border-radius-input);
|
|
3644
3669
|
}
|
|
3670
|
+
:is(.twa\:\*\:\[\[role\=button\]\]\:border-none > *):is([role=button]) {
|
|
3671
|
+
--tw-border-style: none;
|
|
3672
|
+
border-style: none;
|
|
3673
|
+
}
|
|
3645
3674
|
:is(.twa\:\*\:\[input\]\:absolute > *):is(input) {
|
|
3646
3675
|
position: absolute;
|
|
3647
3676
|
}
|
|
3677
|
+
:is(.twa\:\*\:\[input\]\:relative > *):is(input) {
|
|
3678
|
+
position: relative;
|
|
3679
|
+
}
|
|
3648
3680
|
:is(.twa\:\*\:\[input\]\:inset-x-0\.5 > *):is(input) {
|
|
3649
3681
|
inset-inline: calc(var(--ab-base-space) * 0.5);
|
|
3650
3682
|
}
|
|
@@ -3654,9 +3686,25 @@
|
|
|
3654
3686
|
:is(.twa\:\*\:\[input\]\:h-auto > *):is(input) {
|
|
3655
3687
|
height: auto;
|
|
3656
3688
|
}
|
|
3689
|
+
:is(.twa\:\*\:\[input\]\:h-full > *):is(input) {
|
|
3690
|
+
height: 100%;
|
|
3691
|
+
}
|
|
3692
|
+
:is(.twa\:\*\:\[input\]\:min-w-0 > *):is(input) {
|
|
3693
|
+
min-width: 0;
|
|
3694
|
+
}
|
|
3695
|
+
:is(.twa\:\*\:\[input\]\:flex-1 > *):is(input) {
|
|
3696
|
+
flex: 1;
|
|
3697
|
+
}
|
|
3698
|
+
:is(.twa\:\*\:\[input\]\:basis-0 > *):is(input) {
|
|
3699
|
+
flex-basis: 0;
|
|
3700
|
+
}
|
|
3657
3701
|
:is(.twa\:\*\:\[input\]\:rounded-input > *):is(input) {
|
|
3658
3702
|
border-radius: var(--ab-border-radius-input);
|
|
3659
3703
|
}
|
|
3704
|
+
:is(.twa\:\*\:\[input\]\:border-none > *):is(input) {
|
|
3705
|
+
--tw-border-style: none;
|
|
3706
|
+
border-style: none;
|
|
3707
|
+
}
|
|
3660
3708
|
:is(.twa\:\*\*\:\[input\]\:min-h-auto\! *):is(input) {
|
|
3661
3709
|
min-height: auto !important;
|
|
3662
3710
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adaptabletools/adaptable-angular-aggrid",
|
|
3
|
-
"version": "23.0.
|
|
3
|
+
"version": "23.0.11",
|
|
4
4
|
"description": "Angular version of AdapTable - the powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements",
|
|
5
5
|
"license": "contact sales@adaptabletools.com for details",
|
|
6
6
|
"peerDependencies": {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"tslib": "^2.8.1",
|
|
14
|
-
"@adaptabletools/adaptable": "23.0.
|
|
14
|
+
"@adaptabletools/adaptable": "23.0.11"
|
|
15
15
|
},
|
|
16
16
|
"exports": {
|
|
17
17
|
"./index.css": "./index.css",
|