Skip to content

Commit 1f5c614

Browse files
authored
Merge branch 'main' into fix/url-sanitization
2 parents 0365cff + baeb4e7 commit 1f5c614

18 files changed

+658
-130
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"./test-utils/selectors": "./test-utils/selectors/index.js",
4747
"./test-utils/selectors/internal/core": "./test-utils/selectors/internal/core.js",
4848
"./internal/api-docs/*.js": "./internal/api-docs/*.js",
49-
"./internal-do-not-use/core-chart": "./internal-do-not-use/core-chart.js"
49+
"./internal-do-not-use/core-chart": "./internal-do-not-use/core-chart/index.js"
5050
},
5151
"dependencies": {
5252
"@cloudscape-design/component-toolkit": "^1.0.0-beta",

pages/03-core/simple-zooming.page.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -199,29 +199,29 @@ function Charts() {
199199
};
200200
}, [onNavigationClick, onNavigationKeydown]);
201201

202-
const onScatterHighlight: CoreChartProps["onHighlight"] = ({ group, isApiCall }) => {
202+
const onScatterHighlight: CoreChartProps["onHighlight"] = ({ detail: { group, isApiCall } }) => {
203203
if (isApiCall) {
204204
return;
205205
}
206206
highlightChartGroup(group[0], getNavigatorChart());
207207
highlightedPoint.current = group[0];
208208
};
209-
const onScatterClearHighlight = ({ isApiCall }: { isApiCall: boolean }) => {
210-
if (isApiCall) {
209+
const onScatterClearHighlight = ({ detail }: { detail: { isApiCall: boolean } }) => {
210+
if (detail.isApiCall) {
211211
return;
212212
}
213213
getScatterChart().clearChartHighlight();
214214
highlightedPoint.current = null;
215215
};
216-
const onNavigatorHighlight: CoreChartProps["onHighlight"] = ({ group, isApiCall }) => {
216+
const onNavigatorHighlight: CoreChartProps["onHighlight"] = ({ detail: { group, isApiCall } }) => {
217217
if (isApiCall) {
218218
return;
219219
}
220220
highlightChartGroup(group[0], getScatterChart());
221221
highlightedPoint.current = group[0];
222222
};
223-
const onNavigatorClearHighlight = ({ isApiCall }: { isApiCall: boolean }) => {
224-
if (isApiCall) {
223+
const onNavigatorClearHighlight = ({ detail }: { detail: { isApiCall: boolean } }) => {
224+
if (detail.isApiCall) {
225225
return;
226226
}
227227
getScatterChart().clearChartHighlight();

0 commit comments

Comments
 (0)