Skip to content

Commit 561cb2b

Browse files
committed
Merge branch 'main' into integration/tooling
2 parents be28a30 + 9173c66 commit 561cb2b

File tree

166 files changed

+1285
-677
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

166 files changed

+1285
-677
lines changed

.changeset/charts-oom-fix.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@lg-charts/core': minor
3+
---
4+
5+
[LG-5137](https://jira.mongodb.org/browse/LG-5137): refactor option updates and improve memory usage

.changeset/codemods-bump-jscodeshift.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/few-penguins-sniff.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.vscode/settings.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,17 @@
1818
"typescript.preferences.importModuleSpecifier": "project-relative",
1919
"github.copilot.chat.codeGeneration.instructions": [
2020
{
21-
"file": ".github/copilotInstructions/codeGeneration.md"
21+
"file": "node_modules/@lg-tools/prompt-kit/src/prompts/codeGeneration.md"
2222
}
2323
],
2424
"github.copilot.chat.commitMessageGeneration.instructions": [
2525
{
26-
"file": ".github/copilotInstructions/commitMessageGeneration.md"
26+
"file": "node_modules/@lg-tools/prompt-kit/src/prompts/commitMessageGeneration.md"
2727
}
2828
],
2929
"github.copilot.chat.testGeneration.instructions": [
3030
{
31-
"file": ".github/copilotInstructions/testGeneration.md"
31+
"file": "node_modules/@lg-tools/prompt-kit/src/prompts/testGeneration.md"
3232
}
3333
]
3434
}

charts/chart-card/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# @lg-charts/chart-card
22

3+
## 0.2.5
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [eca6e3fdc]
8+
- @leafygreen-ui/icon@13.4.0
9+
- @leafygreen-ui/icon-button@16.0.12
10+
- @leafygreen-ui/typography@20.1.9
11+
312
## 0.2.4
413

514
### Patch Changes

charts/chart-card/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lg-charts/chart-card",
3-
"version": "0.2.4",
3+
"version": "0.2.5",
44
"description": "lg-charts ChartCard",
55
"main": "./dist/umd/index.js",
66
"module": "./dist/esm/index.js",

charts/core/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @lg-charts/core
22

3+
## 0.17.4
4+
5+
### Patch Changes
6+
7+
- @lg-charts/chart-card@0.2.5
8+
- @leafygreen-ui/typography@20.1.9
9+
310
## 0.17.3
411

512
### Patch Changes

charts/core/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lg-charts/core",
3-
"version": "0.17.3",
3+
"version": "0.17.4",
44
"description": "lg-charts Core Chart Components",
55
"main": "./dist/umd/index.js",
66
"module": "./dist/esm/index.js",
@@ -27,7 +27,7 @@
2727
"@lg-charts/colors": "workspace:^",
2828
"@lg-charts/series-provider": "workspace:^",
2929
"echarts": "^5.5.1",
30-
"lodash.debounce": "^4.0.8"
30+
"lodash": "^4.17.21"
3131
},
3232
"peerDependencies": {
3333
"@leafygreen-ui/leafygreen-provider": "workspace:^"

charts/core/src/Chart/config/getDefaultChartOptions.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import {
1010
} from '@leafygreen-ui/tokens';
1111

1212
import { ChartOptions } from '../Chart.types';
13-
import { TOOLBOX_ID, X_AXIS_ID, Y_AXIS_ID } from '../constants';
1413

1514
const commonAxisOptions = {
1615
/**
@@ -67,20 +66,17 @@ export const getDefaultChartOptions = (
6766
},
6867

6968
xAxis: {
70-
id: X_AXIS_ID,
7169
type: 'time',
7270
...commonAxisOptions,
7371
},
7472

7573
yAxis: {
76-
id: Y_AXIS_ID,
7774
type: 'value',
7875
...commonAxisOptions,
7976
},
8077

8178
// Sets up zooming
8279
toolbox: {
83-
id: TOOLBOX_ID,
8480
feature: {
8581
dataZoom: {
8682
show: true,

charts/core/src/Chart/constants.ts

Lines changed: 0 additions & 3 deletions
This file was deleted.

charts/core/src/Chart/hooks/updateUtils.spec.ts

Lines changed: 0 additions & 50 deletions
This file was deleted.

charts/core/src/Chart/hooks/updateUtils.ts

Lines changed: 0 additions & 49 deletions
This file was deleted.

0 commit comments

Comments
 (0)