diff --git a/.circleci/config.yml b/.circleci/config.yml index bcbd27b390..20b189a46c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -204,6 +204,24 @@ jobs: - store_artifacts: path: /tmp/dash_artifacts + test-39-react-18: + <<: *test + docker: + - image: cimg/python:3.9.9-browsers + auth: + username: dashautomation + password: $DASH_PAT_DOCKERHUB + environment: + PERCY_ENABLE: 0 + PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: True + PYVERSION: python39 + REDIS_URL: redis://localhost:6379 + REACT_VERSION: "18.2.0" + - image: cimg/redis:6.2.6 + auth: + username: dashautomation + password: $DASH_PAT_DOCKERHUB + test-36: <<: *test docker: @@ -258,7 +276,7 @@ jobs: PYVERSION: python36 PERCY_ENABLE: 0 - dcc-test-39: &dcc-test + dcc-39: &dcc-test working_directory: ~/dash docker: - image: cimg/python:3.9.9-browsers @@ -302,7 +320,19 @@ jobs: - store_artifacts: path: /tmp/dash_artifacts - dcc-test-36: + dcc-39-react-18: + <<: *dcc-test + docker: + - image: cimg/python:3.9.9-browsers + auth: + username: dashautomation + password: $DASH_PAT_DOCKERHUB + environment: + PYVERSION: python39 + PERCY_ENABLE: 0 + REACT_VERSION: "18.2.0" + + dcc-36: <<: *dcc-test docker: - image: cimg/python:3.6.15-browsers @@ -313,7 +343,7 @@ jobs: PYVERSION: python36 PERCY_ENABLE: 0 - html-python-39: &html-test + html-39: &html-test working_directory: ~/dash docker: - image: cimg/python:3.9.9-browsers @@ -365,7 +395,19 @@ jobs: - store_artifacts: path: /tmp/dash_artifacts - html-python-36: + html-39-react-18: + <<: *html-test + docker: + - image: cimg/python:3.9.9-browsers + auth: + username: dashautomation + password: $DASH_PAT_DOCKERHUB + environment: + PYVERSION: python39 + PERCY_ENABLE: 0 + REACT_VERSION: "18.2.0" + + html-36: <<: *html-test docker: - image: cimg/python:3.6.15-browsers @@ -376,7 +418,7 @@ jobs: PYVERSION: python36 PERCY_ENABLE: 0 - table-server-test: + table-server: &table-server working_directory: ~/dash docker: - image: cimg/python:3.9.9-browsers @@ -423,6 +465,15 @@ jobs: - store_artifacts: path: /tmp/dash_artifacts + table-server-react-18: + <<: *table-server + docker: + - image: cimg/python:3.9.9-browsers + environment: + PYVERSION: python39 + PERCY_ENABLE: 0 + REACT_VERSION: "18.2.0" + table-unit-test: working_directory: ~/dash docker: @@ -552,6 +603,9 @@ workflows: - test-39: requires: - install-dependencies-39 + - test-39-react-18: + requires: + - install-dependencies-39 - test-36: requires: - install-dependencies-36 @@ -563,17 +617,23 @@ workflows: requires: - install-dependencies-36 - - dcc-test-39: + - dcc-39: requires: - install-dependencies-39 - - dcc-test-36: + - dcc-39-react-18: + requires: + - install-dependencies-39 + - dcc-36: requires: - install-dependencies-36 - - html-python-39: + - html-39: + requires: + - install-dependencies-39 + - html-39-react-18: requires: - install-dependencies-39 - - html-python-36: + - html-36: requires: - install-dependencies-36 @@ -584,16 +644,19 @@ workflows: requires: - install-dependencies-39 - table-visual-test - - table-server-test: + - table-server: + requires: + - install-dependencies-39 + - table-server-react-18: requires: - install-dependencies-39 - percy/finalize_all: requires: - test-39 - - dcc-test-39 - - html-python-39 - - table-server-test + - dcc-39 + - html-39 + - table-server - artifacts: requires: - percy/finalize_all diff --git a/@plotly/dash-component-plugins/package-lock.json b/@plotly/dash-component-plugins/package-lock.json index b6768ba865..1d8c1df51f 100644 --- a/@plotly/dash-component-plugins/package-lock.json +++ b/@plotly/dash-component-plugins/package-lock.json @@ -14,7 +14,7 @@ "@babel/preset-react": "^7.18.6", "babel-loader": "^8.2.5", "react": "^16.8.6", - "webpack": "^5.74.0", + "webpack": "^5.76.1", "webpack-cli": "^4.10.0" } }, @@ -3353,9 +3353,9 @@ } }, "node_modules/webpack": { - "version": "5.74.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.74.0.tgz", - "integrity": "sha512-A2InDwnhhGN4LYctJj6M1JEaGL7Luj6LOmyBHjcI8529cm5p6VXiTIW2sn6ffvEAKmveLzvu4jrihwXtPojlAA==", + "version": "5.76.1", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.76.1.tgz", + "integrity": "sha512-4+YIK4Abzv8172/SGqObnUjaIHjLEuUasz9EwQj/9xmPPkYJy2Mh03Q/lJfSD3YLzbxy5FeTq5Uw0323Oh6SJQ==", "dev": true, "dependencies": { "@types/eslint-scope": "^3.7.3", @@ -5939,9 +5939,9 @@ } }, "webpack": { - "version": "5.74.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.74.0.tgz", - "integrity": "sha512-A2InDwnhhGN4LYctJj6M1JEaGL7Luj6LOmyBHjcI8529cm5p6VXiTIW2sn6ffvEAKmveLzvu4jrihwXtPojlAA==", + "version": "5.76.1", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.76.1.tgz", + "integrity": "sha512-4+YIK4Abzv8172/SGqObnUjaIHjLEuUasz9EwQj/9xmPPkYJy2Mh03Q/lJfSD3YLzbxy5FeTq5Uw0323Oh6SJQ==", "dev": true, "requires": { "@types/eslint-scope": "^3.7.3", diff --git a/@plotly/dash-component-plugins/package.json b/@plotly/dash-component-plugins/package.json index fa96f39414..9b626ec60f 100644 --- a/@plotly/dash-component-plugins/package.json +++ b/@plotly/dash-component-plugins/package.json @@ -22,7 +22,7 @@ "@babel/preset-react": "^7.18.6", "babel-loader": "^8.2.5", "react": "^16.8.6", - "webpack": "^5.74.0", + "webpack": "^5.76.1", "webpack-cli": "^4.10.0" }, "files": [ diff --git a/@plotly/dash-generator-test-component-nested/package-lock.json b/@plotly/dash-generator-test-component-nested/package-lock.json index c84ed9d8c6..0803af1054 100644 --- a/@plotly/dash-generator-test-component-nested/package-lock.json +++ b/@plotly/dash-generator-test-component-nested/package-lock.json @@ -22,7 +22,7 @@ "react": "16.13.0", "react-dom": "16.13.0", "react-jsx-parser": "1.28.1", - "webpack": "^5.74.0", + "webpack": "^5.76.1", "webpack-cli": "^4.10.0" }, "peerDependencies": { @@ -4938,9 +4938,9 @@ } }, "node_modules/webpack": { - "version": "5.74.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.74.0.tgz", - "integrity": "sha512-A2InDwnhhGN4LYctJj6M1JEaGL7Luj6LOmyBHjcI8529cm5p6VXiTIW2sn6ffvEAKmveLzvu4jrihwXtPojlAA==", + "version": "5.76.1", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.76.1.tgz", + "integrity": "sha512-4+YIK4Abzv8172/SGqObnUjaIHjLEuUasz9EwQj/9xmPPkYJy2Mh03Q/lJfSD3YLzbxy5FeTq5Uw0323Oh6SJQ==", "dev": true, "dependencies": { "@types/eslint-scope": "^3.7.3", @@ -8903,9 +8903,9 @@ } }, "webpack": { - "version": "5.74.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.74.0.tgz", - "integrity": "sha512-A2InDwnhhGN4LYctJj6M1JEaGL7Luj6LOmyBHjcI8529cm5p6VXiTIW2sn6ffvEAKmveLzvu4jrihwXtPojlAA==", + "version": "5.76.1", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.76.1.tgz", + "integrity": "sha512-4+YIK4Abzv8172/SGqObnUjaIHjLEuUasz9EwQj/9xmPPkYJy2Mh03Q/lJfSD3YLzbxy5FeTq5Uw0323Oh6SJQ==", "dev": true, "requires": { "@types/eslint-scope": "^3.7.3", diff --git a/@plotly/dash-generator-test-component-nested/package.json b/@plotly/dash-generator-test-component-nested/package.json index 1334865bd0..28e1b2cfbb 100644 --- a/@plotly/dash-generator-test-component-nested/package.json +++ b/@plotly/dash-generator-test-component-nested/package.json @@ -29,7 +29,7 @@ "react": "16.13.0", "react-dom": "16.13.0", "react-jsx-parser": "1.28.1", - "webpack": "^5.74.0", + "webpack": "^5.76.1", "webpack-cli": "^4.10.0" }, "peerDependencies": { diff --git a/@plotly/dash-generator-test-component-standard/package-lock.json b/@plotly/dash-generator-test-component-standard/package-lock.json index 1a7dd86850..6f2d27b314 100644 --- a/@plotly/dash-generator-test-component-standard/package-lock.json +++ b/@plotly/dash-generator-test-component-standard/package-lock.json @@ -22,7 +22,7 @@ "react": "16.13.0", "react-dom": "16.13.0", "react-jsx-parser": "1.28.1", - "webpack": "^5.74.0", + "webpack": "^5.76.1", "webpack-cli": "^4.10.0" }, "peerDependencies": { @@ -4974,9 +4974,9 @@ } }, "node_modules/webpack": { - "version": "5.74.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.74.0.tgz", - "integrity": "sha512-A2InDwnhhGN4LYctJj6M1JEaGL7Luj6LOmyBHjcI8529cm5p6VXiTIW2sn6ffvEAKmveLzvu4jrihwXtPojlAA==", + "version": "5.76.1", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.76.1.tgz", + "integrity": "sha512-4+YIK4Abzv8172/SGqObnUjaIHjLEuUasz9EwQj/9xmPPkYJy2Mh03Q/lJfSD3YLzbxy5FeTq5Uw0323Oh6SJQ==", "dev": true, "dependencies": { "@types/eslint-scope": "^3.7.3", @@ -8926,9 +8926,9 @@ } }, "webpack": { - "version": "5.74.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.74.0.tgz", - "integrity": "sha512-A2InDwnhhGN4LYctJj6M1JEaGL7Luj6LOmyBHjcI8529cm5p6VXiTIW2sn6ffvEAKmveLzvu4jrihwXtPojlAA==", + "version": "5.76.1", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.76.1.tgz", + "integrity": "sha512-4+YIK4Abzv8172/SGqObnUjaIHjLEuUasz9EwQj/9xmPPkYJy2Mh03Q/lJfSD3YLzbxy5FeTq5Uw0323Oh6SJQ==", "dev": true, "requires": { "@types/eslint-scope": "^3.7.3", diff --git a/@plotly/dash-generator-test-component-standard/package.json b/@plotly/dash-generator-test-component-standard/package.json index e53dd9b1d5..514e2d7e7a 100644 --- a/@plotly/dash-generator-test-component-standard/package.json +++ b/@plotly/dash-generator-test-component-standard/package.json @@ -29,7 +29,7 @@ "react": "16.13.0", "react-dom": "16.13.0", "react-jsx-parser": "1.28.1", - "webpack": "^5.74.0", + "webpack": "^5.76.1", "webpack-cli": "^4.10.0" }, "peerDependencies": { diff --git a/@plotly/dash-generator-test-component-typescript/package-lock.json b/@plotly/dash-generator-test-component-typescript/package-lock.json index 612f9c2078..bf28ff7842 100644 --- a/@plotly/dash-generator-test-component-typescript/package-lock.json +++ b/@plotly/dash-generator-test-component-typescript/package-lock.json @@ -23,7 +23,7 @@ "ts-jest": "^29.0.3", "ts-loader": "^9.4.1", "typescript": "^4.8.4", - "webpack": "^5.74.0", + "webpack": "^5.76.1", "webpack-cli": "^4.10.0" }, "peerDependencies": { @@ -8350,9 +8350,9 @@ } }, "node_modules/webpack": { - "version": "5.74.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.74.0.tgz", - "integrity": "sha512-A2InDwnhhGN4LYctJj6M1JEaGL7Luj6LOmyBHjcI8529cm5p6VXiTIW2sn6ffvEAKmveLzvu4jrihwXtPojlAA==", + "version": "5.76.1", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.76.1.tgz", + "integrity": "sha512-4+YIK4Abzv8172/SGqObnUjaIHjLEuUasz9EwQj/9xmPPkYJy2Mh03Q/lJfSD3YLzbxy5FeTq5Uw0323Oh6SJQ==", "dev": true, "dependencies": { "@types/eslint-scope": "^3.7.3", @@ -14813,9 +14813,9 @@ } }, "webpack": { - "version": "5.74.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.74.0.tgz", - "integrity": "sha512-A2InDwnhhGN4LYctJj6M1JEaGL7Luj6LOmyBHjcI8529cm5p6VXiTIW2sn6ffvEAKmveLzvu4jrihwXtPojlAA==", + "version": "5.76.1", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.76.1.tgz", + "integrity": "sha512-4+YIK4Abzv8172/SGqObnUjaIHjLEuUasz9EwQj/9xmPPkYJy2Mh03Q/lJfSD3YLzbxy5FeTq5Uw0323Oh6SJQ==", "dev": true, "requires": { "@types/eslint-scope": "^3.7.3", diff --git a/@plotly/dash-generator-test-component-typescript/package.json b/@plotly/dash-generator-test-component-typescript/package.json index df76d31fd2..4a4695f2d0 100644 --- a/@plotly/dash-generator-test-component-typescript/package.json +++ b/@plotly/dash-generator-test-component-typescript/package.json @@ -31,7 +31,7 @@ "ts-jest": "^29.0.3", "ts-loader": "^9.4.1", "typescript": "^4.8.4", - "webpack": "^5.74.0", + "webpack": "^5.76.1", "webpack-cli": "^4.10.0" }, "peerDependencies": { diff --git a/@plotly/dash-test-components/package-lock.json b/@plotly/dash-test-components/package-lock.json index d016f5c91c..127426b651 100644 --- a/@plotly/dash-test-components/package-lock.json +++ b/@plotly/dash-test-components/package-lock.json @@ -25,7 +25,7 @@ "react": "16.13.0", "react-dom": "16.13.0", "react-jsx-parser": "1.28.1", - "webpack": "^5.74.0", + "webpack": "^5.76.1", "webpack-cli": "^4.10.0" }, "peerDependencies": { @@ -4989,9 +4989,9 @@ } }, "node_modules/webpack": { - "version": "5.74.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.74.0.tgz", - "integrity": "sha512-A2InDwnhhGN4LYctJj6M1JEaGL7Luj6LOmyBHjcI8529cm5p6VXiTIW2sn6ffvEAKmveLzvu4jrihwXtPojlAA==", + "version": "5.76.1", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.76.1.tgz", + "integrity": "sha512-4+YIK4Abzv8172/SGqObnUjaIHjLEuUasz9EwQj/9xmPPkYJy2Mh03Q/lJfSD3YLzbxy5FeTq5Uw0323Oh6SJQ==", "dev": true, "dependencies": { "@types/eslint-scope": "^3.7.3", @@ -8953,9 +8953,9 @@ } }, "webpack": { - "version": "5.74.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.74.0.tgz", - "integrity": "sha512-A2InDwnhhGN4LYctJj6M1JEaGL7Luj6LOmyBHjcI8529cm5p6VXiTIW2sn6ffvEAKmveLzvu4jrihwXtPojlAA==", + "version": "5.76.1", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.76.1.tgz", + "integrity": "sha512-4+YIK4Abzv8172/SGqObnUjaIHjLEuUasz9EwQj/9xmPPkYJy2Mh03Q/lJfSD3YLzbxy5FeTq5Uw0323Oh6SJQ==", "dev": true, "requires": { "@types/eslint-scope": "^3.7.3", diff --git a/@plotly/dash-test-components/package.json b/@plotly/dash-test-components/package.json index 3c5fe7650e..fe3cd6dd6c 100644 --- a/@plotly/dash-test-components/package.json +++ b/@plotly/dash-test-components/package.json @@ -32,7 +32,7 @@ "react": "16.13.0", "react-dom": "16.13.0", "react-jsx-parser": "1.28.1", - "webpack": "^5.74.0", + "webpack": "^5.76.1", "webpack-cli": "^4.10.0" }, "peerDependencies": { diff --git a/CHANGELOG.md b/CHANGELOG.md index 8a2d0978f8..bb037b4e45 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,48 @@ All notable changes to `dash` will be documented in this file. This project adheres to [Semantic Versioning](https://semver.org/). +## [2.9.0] - 2023-03-16 + +## Breaking +- [#2450](https://github.com/plotly/dash/pull/2450) Set label style `display: block` if `inline` is false in RadioItems & Checklist components. To keep previous behavior, set `inline=True`. This is already how it was described and worked in our documentation and other places with CSS stylesheets that set the default orientation of RadioItems and Checklist options to vertical (including Dash Design Kit), but for unstyled pages it is a breaking change. + +## Added + +- [#2392](https://github.com/plotly/dash/pull/2392) Improved pages feature: + - Accept an absolute path or a `pathlib.path` for `pages_folder`, to match `assets_folder` + - Fix inferring `use_pages=True` when you supply a custom `pages_folder` + - Fix for `pages_folder` that includes special characters + - New test fixture `clear_pages_state` + - Make imported pages act more like regular Python modules +- [#2068](https://github.com/plotly/dash/pull/2068) Added `refresh="callback-nav"` in `dcc.Location`. This allows for navigation without refreshing the page when url is updated in a callback. +- [#2417](https://github.com/plotly/dash/pull/2417) Add wait_timeout property to customize the behavior of the default wait timeout used for by wait_for_page, fix [#1595](https://github.com/plotly/dash/issues/1595) +- [#2417](https://github.com/plotly/dash/pull/2417) Add the element target text for wait_for_text* error message, fix [#945](https://github.com/plotly/dash/issues/945) +- [#2425](https://github.com/plotly/dash/pull/2425) Add `add_log_handler=True` to Dash init, if you don't want a log stream handler at all. +- [#2260](https://github.com/plotly/dash/pull/2260) Experimental support for React 18. The default is still React v16.14.0, but to use React 18 you can either set the environment variable `REACT_VERSION=18.2.0` before running your app, or inside the app call `dash._dash_renderer._set_react_version("18.2.0")`. THIS FEATURE IS EXPERIMENTAL. It has not been tested with component suites outside the Dash core, and we may add or remove available React versions in any future release. +- [#2414](https://github.com/plotly/dash/pull/2414) Add `dash.Patch`for partial update Output props without transferring the previous value in a State. +- [#2414](https://github.com/plotly/dash/pull/2414) Add `allow_duplicate` to `Output` arguments allowing duplicate callbacks to target the same prop. + +## Fixed + +- [#2429](https://github.com/plotly/dash/pull/2429) Fix side effect on updating possible array children triggering callbacks, fix [#2411](https://github.com/plotly/dash/issues/2411). +- [#2417](https://github.com/plotly/dash/pull/2417) Disable the pytest plugin if `dash[testing]` not installed, fix [#946](https://github.com/plotly/dash/issues/946). +- [#2417](https://github.com/plotly/dash/pull/2417) Do not swallow the original error to get the webdriver, easier to know what is wrong after updating the browser but the driver. +- [#2425](https://github.com/plotly/dash/pull/2425) Fix multiple log handler added unconditionally to the logger, resulting in duplicate log message. +- [#2415](https://github.com/plotly/dash/pull/2415) Fix background callbacks progress not deleted after fetch. +- [#2426](https://github.com/plotly/dash/pull/2426) Set default interval to 1 second for app.long_callback, restoring the behavior it had before v2.6.0 when we introduced `backround=True` callbacks. + +## Changed + +- [#2425](https://github.com/plotly/dash/pull/2425) Moved the logger namespace to `dash.dash`, as library logger it should be on that namespace instead of the user app. + +## Updated + +- [#2241](https://github.com/plotly/dash/pull/2441) Update Plotly.js to v2.20.0 from v2.18.0. + - Feature release [2.20.0](https://github.com/plotly/plotly.js/releases/tag/v2.20.0) adds `automargin` to the main plot title. + - Feature release [2.19.0](https://github.com/plotly/plotly.js/releases/tag/v2.19.0) adds text labels to `layout.shapes`, and adds a `labelalias` property to replace specific axis tick labels. + - Patch releases [2.18.1](https://github.com/plotly/plotly.js/releases/tag/v2.18.1), + [2.18.2](https://github.com/plotly/plotly.js/releases/tag/v2.18.2), + [2.19.1](https://github.com/plotly/plotly.js/releases/tag/v2.19.1) fix various bugs. ## [2.8.1] - 2023-01-30 @@ -52,6 +94,7 @@ This project adheres to [Semantic Versioning](https://semver.org/). ### Added +- [#2349](https://github.com/plotly/dash/pull/2349) Added new `dcc.Geolocation` component - [#2261](https://github.com/plotly/dash/pull/2261) Added new `placeholder_text` property to `filterOptions` for DataTable which allows overriding the default filter field placeholder. ### Updated diff --git a/components/dash-core-components/package-lock.json b/components/dash-core-components/package-lock.json index 784a0864b5..14e09e4a5c 100644 --- a/components/dash-core-components/package-lock.json +++ b/components/dash-core-components/package-lock.json @@ -1,12 +1,12 @@ { "name": "dash-core-components", - "version": "2.8.0", + "version": "2.9.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "dash-core-components", - "version": "2.8.0", + "version": "2.9.0", "license": "MIT", "dependencies": { "@fortawesome/fontawesome-svg-core": "1.2.36", @@ -22,7 +22,7 @@ "mathjax": "^3.2.2", "moment": "^2.29.4", "node-polyfill-webpack-plugin": "^2.0.1", - "plotly.js-dist-min": "2.18.0", + "plotly.js-dist-min": "2.20.0", "prop-types": "^15.8.1", "ramda": "^0.28.0", "rc-slider": "^9.7.5", @@ -63,7 +63,7 @@ "react-jsx-parser": "1.21.0", "style-loader": "^3.3.1", "styled-jsx": "^3.4.4", - "webpack": "^5.74.0", + "webpack": "^5.76.2", "webpack-cli": "^4.10.0" }, "peerDependencies": { @@ -6578,9 +6578,9 @@ } }, "node_modules/plotly.js-dist-min": { - "version": "2.18.0", - "resolved": "https://registry.npmjs.org/plotly.js-dist-min/-/plotly.js-dist-min-2.18.0.tgz", - "integrity": "sha512-IB++Ow7uvc4PZIH2sNZx/T3Zf/QBJ8M4UauADoz3GBumYuwgH2rqba2b1XS7xpmbnybIQUVnB2pCMeIpu9is7w==" + "version": "2.20.0", + "resolved": "https://registry.npmjs.org/plotly.js-dist-min/-/plotly.js-dist-min-2.20.0.tgz", + "integrity": "sha512-zhSRwOed3y/cekPWvzOtdc3AVOmHbDpUry5FNITw2IRKkRirRv7SdWvM7YVqqQd4dTsLHKGDuza+3GoR6+45ZQ==" }, "node_modules/postcss": { "version": "8.4.18", @@ -8731,9 +8731,9 @@ } }, "node_modules/webpack": { - "version": "5.74.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.74.0.tgz", - "integrity": "sha512-A2InDwnhhGN4LYctJj6M1JEaGL7Luj6LOmyBHjcI8529cm5p6VXiTIW2sn6ffvEAKmveLzvu4jrihwXtPojlAA==", + "version": "5.76.2", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.76.2.tgz", + "integrity": "sha512-Th05ggRm23rVzEOlX8y67NkYCHa9nTNcwHPBhdg+lKG+mtiW7XgggjAeeLnADAe7mLjJ6LUNfgHAuRRh+Z6J7w==", "dependencies": { "@types/eslint-scope": "^3.7.3", "@types/estree": "^0.0.51", @@ -13969,9 +13969,9 @@ } }, "plotly.js-dist-min": { - "version": "2.18.0", - "resolved": "https://registry.npmjs.org/plotly.js-dist-min/-/plotly.js-dist-min-2.18.0.tgz", - "integrity": "sha512-IB++Ow7uvc4PZIH2sNZx/T3Zf/QBJ8M4UauADoz3GBumYuwgH2rqba2b1XS7xpmbnybIQUVnB2pCMeIpu9is7w==" + "version": "2.20.0", + "resolved": "https://registry.npmjs.org/plotly.js-dist-min/-/plotly.js-dist-min-2.20.0.tgz", + "integrity": "sha512-zhSRwOed3y/cekPWvzOtdc3AVOmHbDpUry5FNITw2IRKkRirRv7SdWvM7YVqqQd4dTsLHKGDuza+3GoR6+45ZQ==" }, "postcss": { "version": "8.4.18", @@ -15610,9 +15610,9 @@ } }, "webpack": { - "version": "5.74.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.74.0.tgz", - "integrity": "sha512-A2InDwnhhGN4LYctJj6M1JEaGL7Luj6LOmyBHjcI8529cm5p6VXiTIW2sn6ffvEAKmveLzvu4jrihwXtPojlAA==", + "version": "5.76.2", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.76.2.tgz", + "integrity": "sha512-Th05ggRm23rVzEOlX8y67NkYCHa9nTNcwHPBhdg+lKG+mtiW7XgggjAeeLnADAe7mLjJ6LUNfgHAuRRh+Z6J7w==", "requires": { "@types/eslint-scope": "^3.7.3", "@types/estree": "^0.0.51", diff --git a/components/dash-core-components/package.json b/components/dash-core-components/package.json index 38696cfe6f..0e5bffe6d9 100644 --- a/components/dash-core-components/package.json +++ b/components/dash-core-components/package.json @@ -1,6 +1,6 @@ { "name": "dash-core-components", - "version": "2.8.0", + "version": "2.9.0", "description": "Core component suite for Dash", "repository": { "type": "git", @@ -49,7 +49,7 @@ "mathjax": "^3.2.2", "moment": "^2.29.4", "node-polyfill-webpack-plugin": "^2.0.1", - "plotly.js-dist-min": "2.18.0", + "plotly.js-dist-min": "2.20.0", "prop-types": "^15.8.1", "ramda": "^0.28.0", "rc-slider": "^9.7.5", @@ -90,7 +90,7 @@ "react-jsx-parser": "1.21.0", "style-loader": "^3.3.1", "styled-jsx": "^3.4.4", - "webpack": "^5.74.0", + "webpack": "^5.76.2", "webpack-cli": "^4.10.0" }, "files": [ diff --git a/components/dash-core-components/src/components/Checklist.react.js b/components/dash-core-components/src/components/Checklist.react.js index b911612a2b..784d8fc596 100644 --- a/components/dash-core-components/src/components/Checklist.react.js +++ b/components/dash-core-components/src/components/Checklist.react.js @@ -38,11 +38,10 @@ export default class Checklist extends Component { return (