Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WC-2725] Update plotly #1443

Merged
merged 2 commits into from
Feb 19, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/pluggableWidgets/area-chart-web/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

### Changed

- We updated plotly.js library to version 3.0.

## [5.1.0] - 2024-10-28

### Changed
Expand Down
4 changes: 2 additions & 2 deletions packages/pluggableWidgets/area-chart-web/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@mendix/area-chart-web",
"widgetName": "AreaChart",
"version": "5.1.0",
"version": "6.0.0",
"description": "An area chart displays a solid color between the traces of a graph.",
"copyright": "© Mendix Technology BV 2025. All rights reserved.",
"license": "Apache-2.0",
Expand Down Expand Up @@ -48,6 +48,6 @@
"dependencies": {
"@mendix/shared-charts": "workspace:*",
"classnames": "^2.3.2",
"plotly.js": "^2.35.2"
"plotly.js-dist-min": "^3.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/pluggableWidgets/area-chart-web/src/package.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<package xmlns="http://www.mendix.com/package/1.0/">
<clientModule name="AreaChart" version="5.1.0" xmlns="http://www.mendix.com/clientModule/1.0/">
<clientModule name="AreaChart" version="6.0.0" xmlns="http://www.mendix.com/clientModule/1.0/">
<widgetFiles>
<widgetFile path="AreaChart.xml" />
</widgetFiles>
Expand Down
4 changes: 4 additions & 0 deletions packages/pluggableWidgets/bar-chart-web/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

### Changed

- We updated plotly.js library to version 3.0.

## [5.1.0] - 2024-10-28

### Changed
Expand Down
4 changes: 2 additions & 2 deletions packages/pluggableWidgets/bar-chart-web/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@mendix/bar-chart-web",
"widgetName": "BarChart",
"version": "5.1.0",
"version": "6.0.0",
"description": "Shows difference between the data points for one or more categories.",
"copyright": "© Mendix Technology BV 2025. All rights reserved.",
"license": "Apache-2.0",
Expand Down Expand Up @@ -48,6 +48,6 @@
"dependencies": {
"@mendix/shared-charts": "workspace:*",
"classnames": "^2.3.2",
"plotly.js": "^2.35.2"
"plotly.js-dist-min": "^3.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/pluggableWidgets/bar-chart-web/src/package.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<package xmlns="http://www.mendix.com/package/1.0/">
<clientModule name="BarChart" version="5.1.0" xmlns="http://www.mendix.com/clientModule/1.0/">
<clientModule name="BarChart" version="6.0.0" xmlns="http://www.mendix.com/clientModule/1.0/">
<widgetFiles>
<widgetFile path="BarChart.xml" />
</widgetFiles>
Expand Down
4 changes: 4 additions & 0 deletions packages/pluggableWidgets/bubble-chart-web/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

### Changed

- We updated plotly.js library to version 3.0.

## [5.1.0] - 2024-10-28

### Changed
Expand Down
4 changes: 2 additions & 2 deletions packages/pluggableWidgets/bubble-chart-web/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@mendix/bubble-chart-web",
"widgetName": "BubbleChart",
"version": "5.1.0",
"version": "6.0.0",
"description": "Shows data in a bubble format graph.",
"copyright": "© Mendix Technology BV 2025. All rights reserved.",
"license": "Apache-2.0",
Expand Down Expand Up @@ -48,6 +48,6 @@
"dependencies": {
"@mendix/shared-charts": "workspace:*",
"classnames": "^2.3.2",
"plotly.js": "^2.35.2"
"plotly.js-dist-min": "^3.0.0"
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<package xmlns="http://www.mendix.com/package/1.0/">
<clientModule name="BubbleChart" version="5.1.0" xmlns="http://www.mendix.com/clientModule/1.0/">
<clientModule name="BubbleChart" version="6.0.0" xmlns="http://www.mendix.com/clientModule/1.0/">
<widgetFiles>
<widgetFile path="BubbleChart.xml" />
</widgetFiles>
Expand Down
4 changes: 4 additions & 0 deletions packages/pluggableWidgets/chart-playground-web/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

### Changed

- We updated plotly.js library to version 3.0.

## [1.1.0] - 2024-10-28

### Changed
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@mendix/chart-playground-web",
"widgetName": "ChartPlayground",
"version": "1.1.0",
"version": "2.0.0",
"description": "A small playground widget for charts",
"copyright": "© Mendix Technology BV 2025. All rights reserved.",
"license": "Apache-2.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<package xmlns="http://www.mendix.com/package/1.0/">
<clientModule name="ChartPlayground" version="1.1.0" xmlns="http://www.mendix.com/clientModule/1.0/">
<clientModule name="ChartPlayground" version="2.0.0" xmlns="http://www.mendix.com/clientModule/1.0/">
<widgetFiles>
<widgetFile path="ChartPlayground.xml" />
</widgetFiles>
Expand Down
8 changes: 8 additions & 0 deletions packages/pluggableWidgets/charts-web/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

### Changed

- We updated plotly.js library to version 3.0.

### Added

- We add a new widget called custom charts.

## [5.1.2] Charts - 2025-01-21

### [5.2.0] PieChart
Expand Down
7 changes: 5 additions & 2 deletions packages/pluggableWidgets/charts-web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mendix/charts-web",
"version": "5.1.2",
"version": "6.0.0",
"description": "Chart widgets collection for data visualization",
"license": "Apache-2.0",
"private": false,
Expand All @@ -18,6 +18,7 @@
"@mendix/bar-chart-web",
"@mendix/bubble-chart-web",
"@mendix/column-chart-web",
"@mendix/custom-chart-web",
"@mendix/heatmap-chart-web",
"@mendix/line-chart-web",
"@mendix/pie-doughnut-chart-web",
Expand All @@ -29,7 +30,8 @@
"marketplace": {
"minimumMXVersion": "9.6.0.27784",
"appNumber": 105695,
"appName": "Charts"
"appName": "Charts",
"reactReady": true
},
"testProject": {
"githubUrl": "https://github.com/mendix/Charts-module",
Expand All @@ -51,6 +53,7 @@
"@mendix/bubble-chart-web": "workspace:*",
"@mendix/chart-playground-web": "workspace:*",
"@mendix/column-chart-web": "workspace:*",
"@mendix/custom-chart-web": "workspace:*",
"@mendix/heatmap-chart-web": "workspace:*",
"@mendix/line-chart-web": "workspace:*",
"@mendix/pie-doughnut-chart-web": "workspace:*",
Expand Down
4 changes: 3 additions & 1 deletion packages/pluggableWidgets/charts-web/src/package.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="utf-8" ?>
<package xmlns="http://www.mendix.com/package/1.0/">
<clientModule name="Charts" version="5.1.2" xmlns="http://www.mendix.com/clientModule/1.0/">
<clientModule name="Charts" version="6.0.0" xmlns="http://www.mendix.com/clientModule/1.0/">
<widgetFiles>
<widgetFile path="AreaChart/AreaChart.xml" />
<widgetFile path="BarChart/BarChart.xml" />
<widgetFile path="BubbleChart/BubbleChart.xml" />
<widgetFile path="ColumnChart/ColumnChart.xml" />
<widgetFile path="CustomChart/CustomChart.xml" />
<widgetFile path="HeatMap/HeatMap.xml" />
<widgetFile path="LineChart/LineChart.xml" />
<widgetFile path="PieChart/PieChart.xml" />
Expand All @@ -17,6 +18,7 @@
<file path="com/mendix/widget/web/barchart" />
<file path="com/mendix/widget/web/bubblechart" />
<file path="com/mendix/widget/web/columnchart" />
<file path="com/mendix/widget/web/customchart" />
<file path="com/mendix/widget/web/heatmap" />
<file path="com/mendix/widget/web/linechart" />
<file path="com/mendix/widget/web/piechart" />
Expand Down
4 changes: 4 additions & 0 deletions packages/pluggableWidgets/column-chart-web/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

### Changed

- We updated plotly.js library to version 3.0.

## [5.1.0] - 2024-10-28

### Changed
Expand Down
4 changes: 2 additions & 2 deletions packages/pluggableWidgets/column-chart-web/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@mendix/column-chart-web",
"widgetName": "ColumnChart",
"version": "5.1.0",
"version": "6.0.0",
"description": "Shows data in a column format graph.",
"copyright": "© Mendix Technology BV 2025. All rights reserved.",
"license": "Apache-2.0",
Expand Down Expand Up @@ -51,6 +51,6 @@
"dependencies": {
"@mendix/shared-charts": "workspace:*",
"classnames": "^2.3.2",
"plotly.js": "^2.35.2"
"plotly.js-dist-min": "^3.0.0"
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<package xmlns="http://www.mendix.com/package/1.0/">
<clientModule name="ColumnChart" version="5.1.0" xmlns="http://www.mendix.com/clientModule/1.0/">
<clientModule name="ColumnChart" version="6.0.0" xmlns="http://www.mendix.com/clientModule/1.0/">
<widgetFiles>
<widgetFile path="ColumnChart.xml" />
</widgetFiles>
Expand Down
11 changes: 11 additions & 0 deletions packages/pluggableWidgets/custom-chart-web/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Changelog

All notable changes to this widget will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Added

- We introduce custom chart.
7 changes: 3 additions & 4 deletions packages/pluggableWidgets/custom-chart-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@
"scripts": {
"start": "cross-env NODE_OPTIONS=--max-old-space-size=8192 pluggable-widgets-tools start:server",
"dev": "pluggable-widgets-tools start:web",
"build": "pluggable-widgets-tools build:web",
"build": "cross-env NODE_OPTIONS=--max-old-space-size=8192 pluggable-widgets-tools build:web",
"format": "pluggable-widgets-tools format",
"lint": "eslint --ext .jsx,.js,.ts,.tsx src/",
"test": "echo 'FIXME: Finish custom-chart-web unit test migration'",
"e2e": "echo 'FIXME: Finish custom-chart-web e2e test migration'",
"e2edev": "echo 'FIXME: Finish custom-chart-web e2e test migration'",
"release": "pluggable-widgets-tools release:web",
"release": "cross-env NODE_OPTIONS=--max-old-space-size=8192 pluggable-widgets-tools release:web",
"create-gh-release": "rui-create-gh-release",
"publish-marketplace": "rui-publish-marketplace",
"verify": "rui-verify-package-format",
Expand All @@ -47,11 +47,10 @@
"@mendix/pluggable-widgets-tools": "10.16.0",
"@mendix/prettier-config-web-widgets": "workspace:*",
"@mendix/run-e2e": "workspace:^*",
"@types/plotly.js-dist-min": "^2.3.4",
"cross-env": "^7.0.3"
},
"dependencies": {
"classnames": "^2.3.2",
"plotly.js-dist-min": "^2.35.3"
"plotly.js-dist-min": "^3.0.0"
}
}

This file was deleted.

4 changes: 4 additions & 0 deletions packages/pluggableWidgets/heatmap-chart-web/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

### Changed

- We updated plotly.js library to version 3.0.

## [5.1.0] - 2024-10-28

### Changed
Expand Down
4 changes: 2 additions & 2 deletions packages/pluggableWidgets/heatmap-chart-web/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@mendix/heatmap-chart-web",
"widgetName": "HeatMap",
"version": "5.1.0",
"version": "6.0.0",
"description": "Shows data in a heatmap format graph.",
"copyright": "© Mendix Technology BV 2025. All rights reserved.",
"license": "Apache-2.0",
Expand Down Expand Up @@ -52,6 +52,6 @@
"@mendix/shared-charts": "workspace:*",
"classnames": "^2.3.2",
"date-fns": "^2.30.0",
"plotly.js": "^2.35.2"
"plotly.js-dist-min": "^3.0.0"
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<package xmlns="http://www.mendix.com/package/1.0/">
<clientModule name="HeatMap" version="5.1.0" xmlns="http://www.mendix.com/clientModule/1.0/">
<clientModule name="HeatMap" version="6.0.0" xmlns="http://www.mendix.com/clientModule/1.0/">
<widgetFiles>
<widgetFile path="HeatMap.xml" />
</widgetFiles>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { Annotations } from "plotly.js";
import type { Annotations } from "plotly.js-dist-min";

export function createHeatMapAnnotation(
x?: string,
Expand Down
4 changes: 4 additions & 0 deletions packages/pluggableWidgets/line-chart-web/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

### Changed

- We updated plotly.js library to version 3.0.

## [5.1.0] - 2024-10-28

### Changed
Expand Down
4 changes: 2 additions & 2 deletions packages/pluggableWidgets/line-chart-web/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@mendix/line-chart-web",
"widgetName": "LineChart",
"version": "5.1.0",
"version": "6.0.0",
"description": "Shows data in a line format graph.",
"copyright": "© Mendix Technology BV 2025. All rights reserved.",
"license": "Apache-2.0",
Expand Down Expand Up @@ -51,6 +51,6 @@
"dependencies": {
"@mendix/shared-charts": "workspace:*",
"classnames": "^2.3.2",
"plotly.js": "^2.35.2"
"plotly.js-dist-min": "^3.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/pluggableWidgets/line-chart-web/src/package.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<package xmlns="http://www.mendix.com/package/1.0/">
<clientModule name="LineChart" version="5.1.0" xmlns="http://www.mendix.com/clientModule/1.0/">
<clientModule name="LineChart" version="6.0.0" xmlns="http://www.mendix.com/clientModule/1.0/">
<widgetFiles>
<widgetFile path="LineChart.xml" />
</widgetFiles>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

### Changed

- We updated plotly.js library to version 3.0.

## [5.2.0] - 2025-01-21

### Fixed
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@mendix/pie-doughnut-chart-web",
"widgetName": "PieChart",
"version": "5.2.0",
"version": "6.0.0",
"description": "Shows data in a pie format graph.",
"copyright": "© Mendix Technology BV 2025. All rights reserved.",
"license": "Apache-2.0",
Expand Down Expand Up @@ -53,6 +53,6 @@
"@mendix/shared-charts": "workspace:*",
"classnames": "^2.3.2",
"date-fns": "^2.30.0",
"plotly.js": "^2.35.2"
"plotly.js-dist-min": "^3.0.0"
}
}
Loading
Loading