Commit 7c57951
fix(ag-grid): change theme to function and add charts export path (#3816)
* chore(changeset): update msal acquire-token-request default [hotfix]
* fix(module-ag-grid): change theme to function for lazy evaluation
BREAKING CHANGE: theme configuration now accepts a function () => Theme instead of Theme directly
Fixes #747
* feat(react-ag-grid): add charts export path
Add new ./charts export for AG Charts React components and enterprise module.
Includes AgCharts and AgChartsEnterpriseModule exports.
Fixes #747
* test(cookbook): add theme override example
Add test theme override demonstrating theme function API with custom parameters.
* refactor(cookbook): update AG Charts imports to use framework export
Migrate chart components to use @equinor/fusion-framework-react-ag-grid/charts
instead of direct ag-charts-react imports.
Fixes #747
* chore: update dependencies in pnpm-lock.yaml
- Bump '@types/node' from 24.9.2 to 24.10.1 across various packages.
- Update 'ag-charts-react' and related dependencies to version 12.3.1.
- Adjust 'react' and 'react-dom' versions to 18.3.1.
- Upgrade 'rollup' from 4.52.5 to 4.53.3.
- Remove deprecated esbuild versions and clean up unused packages.
This update ensures compatibility with the latest versions and improves overall project stability.
Signed-off-by: Odin Thomas Rochmann <[email protected]>
* Update .changeset/module-ag-grid_theme-function.md
Co-authored-by: Copilot <[email protected]>
* refactor(ag-grid): remove unused createTheme import
Eliminate the unused import of createTheme from AgGridProvider.ts to clean up the codebase and improve readability.
Signed-off-by: Odin Thomas Rochmann <[email protected]>
* Update packages/modules/ag-grid/src/AgGridProvider.ts
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* refactor(ag-grid): update exports for ag-charts modules
Change exports in charts.ts to use a wildcard export for ag-charts-react, and remove AgCharts export from enterprise.ts to streamline module usage. This enhances clarity and maintains compatibility with the latest ag-charts updates.
Signed-off-by: Odin Thomas Rochmann <[email protected]>
---------
Signed-off-by: Odin Thomas Rochmann <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>1 parent 4b1999e commit 7c57951
File tree
18 files changed
+136
-756
lines changed- .changeset
- cookbooks
- app-react-ag-grid/src
- app-react-charts
- src/pages/ag-charts
- packages
- modules/ag-grid/src
- react/ag-grid
- src
18 files changed
+136
-756
lines changedLines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
32 | 37 | | |
33 | 38 | | |
34 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
31 | | - | |
32 | | - | |
| 32 | + | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | | - | |
36 | | - | |
37 | 36 | | |
38 | 37 | | |
39 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
0 commit comments