@archbase/components 4.0.27 → 4.0.28

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": "@archbase/components",
3
- "version": "4.0.27",
3
+ "version": "4.0.28",
4
4
  "description": "UI Components for Archbase React v3 - Form editors, data visualization, and business components",
5
5
  "author": "Edson Martins <edsonmartins2005@gmail.com>",
6
6
  "license": "MIT",
@@ -23,16 +23,16 @@
23
23
  "src"
24
24
  ],
25
25
  "peerDependencies": {
26
- "@mantine/carousel": "9.2.2",
27
- "@mantine/charts": "9.2.2",
28
- "@mantine/code-highlight": "9.2.2",
29
- "@mantine/core": "9.2.2",
30
- "@mantine/dates": "9.2.2",
31
- "@mantine/dropzone": "9.2.2",
32
- "@mantine/form": "9.2.2",
33
- "@mantine/hooks": "9.2.2",
34
- "@mantine/modals": "9.2.2",
35
- "@mantine/notifications": "9.2.2",
26
+ "@mantine/carousel": "9.3.0",
27
+ "@mantine/charts": "9.3.0",
28
+ "@mantine/code-highlight": "9.3.0",
29
+ "@mantine/core": "9.3.0",
30
+ "@mantine/dates": "9.3.0",
31
+ "@mantine/dropzone": "9.3.0",
32
+ "@mantine/form": "9.3.0",
33
+ "@mantine/hooks": "9.3.0",
34
+ "@mantine/modals": "9.3.0",
35
+ "@mantine/notifications": "9.3.0",
36
36
  "@tabler/icons-react": "^3.26.0",
37
37
  "react": "^18.3.0 || ^19.2.0",
38
38
  "react-dom": "^18.3.0 || ^19.2.0"
@@ -118,9 +118,9 @@
118
118
  "vis-timeline": "^7.7.3",
119
119
  "xlsx": "^0.18.5",
120
120
  "yet-another-react-lightbox": "^3.21.0",
121
- "@archbase/core": "4.0.27",
122
- "@archbase/data": "4.0.27",
123
- "@archbase/layout": "4.0.27"
121
+ "@archbase/core": "4.0.28",
122
+ "@archbase/data": "4.0.28",
123
+ "@archbase/layout": "4.0.28"
124
124
  },
125
125
  "devDependencies": {
126
126
  "@types/d3": "^7.4.3",
@@ -87,7 +87,10 @@ import { AgGridReact } from 'ag-grid-react';
87
87
  // Memoize AgGridReact — recommended by AG-Grid's official performance demo. This
88
88
  // is by far the biggest scroll-perf win: it skips the full AG-Grid re-render when
89
89
  // the parent re-renders but every prop reference is the same.
90
- const AgGridReactMemo = React.memo(AgGridReact);
90
+ // React.memo apaga o parâmetro genérico de AgGridReact<TData> (TData vira unknown),
91
+ // fazendo columnDefs/getRowId tipados com <T> não baterem. O cast preserva a
92
+ // assinatura genérica original para que TData seja inferido de rowData={rows} (T[]).
93
+ const AgGridReactMemo = React.memo(AgGridReact) as unknown as typeof AgGridReact;
91
94
  import {
92
95
  AllCommunityModule,
93
96
  ModuleRegistry,
Binary file