diff --git a/.circleci/config.yml b/.circleci/config.yml index 982c43b373..726b5fd1a0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -219,24 +219,6 @@ jobs: - store_artifacts: path: /tmp/dash_artifacts - test-312-react-18: - <<: *test - docker: - - image: cimg/python:3.12.1-browsers - auth: - username: dashautomation - password: $DASH_PAT_DOCKERHUB - environment: - PERCY_ENABLE: 0 - PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: True - PYVERSION: python312 - REDIS_URL: redis://localhost:6379 - REACT_VERSION: "18.2.0" - - image: cimg/redis:6.2.6 - auth: - username: dashautomation - password: $DASH_PAT_DOCKERHUB - test-38: <<: *test docker: @@ -337,18 +319,6 @@ jobs: - store_artifacts: path: /tmp/dash_artifacts - dcc-312-react-18: - <<: *dcc-test - docker: - - image: cimg/python:3.12.1-browsers - auth: - username: dashautomation - password: $DASH_PAT_DOCKERHUB - environment: - PYVERSION: python312 - PERCY_ENABLE: 0 - REACT_VERSION: "18.2.0" - dcc-38: <<: *dcc-test docker: @@ -414,18 +384,6 @@ jobs: - store_artifacts: path: /tmp/dash_artifacts - html-312-react-18: - <<: *html-test - docker: - - image: cimg/python:3.12.1-browsers - auth: - username: dashautomation - password: $DASH_PAT_DOCKERHUB - environment: - PYVERSION: python312 - PERCY_ENABLE: 0 - REACT_VERSION: "18.2.0" - html-38: <<: *html-test docker: @@ -486,15 +444,6 @@ jobs: - store_artifacts: path: /tmp/dash_artifacts - table-server-react-18: - <<: *table-server - docker: - - image: cimg/python:3.12.1-browsers - environment: - PYVERSION: python312 - PERCY_ENABLE: 0 - REACT_VERSION: "18.2.0" - table-unit-test: working_directory: ~/dash docker: @@ -627,9 +576,6 @@ workflows: - test-312: requires: - install-dependencies-312 - - test-312-react-18: - requires: - - install-dependencies-312 - test-38: requires: - install-dependencies-38 @@ -644,9 +590,6 @@ workflows: - dcc-312: requires: - install-dependencies-312 - - dcc-312-react-18: - requires: - - install-dependencies-312 - dcc-38: requires: - install-dependencies-38 @@ -654,9 +597,6 @@ workflows: - html-312: requires: - install-dependencies-312 - - html-312-react-18: - requires: - - install-dependencies-312 - html-38: requires: - install-dependencies-38 @@ -671,9 +611,6 @@ workflows: - table-server: requires: - install-dependencies-312 - - table-server-react-18: - requires: - - install-dependencies-312 - percy/finalize_all: requires: diff --git a/@plotly/dash-generator-test-component-nested/src/components/MyNestedComponent.js b/@plotly/dash-generator-test-component-nested/src/components/MyNestedComponent.js index 990a6edc77..5e0ba9895e 100644 --- a/@plotly/dash-generator-test-component-nested/src/components/MyNestedComponent.js +++ b/@plotly/dash-generator-test-component-nested/src/components/MyNestedComponent.js @@ -4,7 +4,7 @@ import React from 'react'; /** * MyNestedComponent description */ -const MyNestedComponent = ({ id, value }) => (
{value}
); +const MyNestedComponent = ({ id, value = '' }) => (
{value}
); MyNestedComponent.propTypes = { /** @@ -18,8 +18,4 @@ MyNestedComponent.propTypes = { value: PropTypes.string }; -MyNestedComponent.defaultProps = { - value: '' -}; - export default MyNestedComponent; \ No newline at end of file diff --git a/@plotly/dash-generator-test-component-standard/src/components/MyStandardComponent.js b/@plotly/dash-generator-test-component-standard/src/components/MyStandardComponent.js index b9597fba71..9c08200cb0 100644 --- a/@plotly/dash-generator-test-component-standard/src/components/MyStandardComponent.js +++ b/@plotly/dash-generator-test-component-standard/src/components/MyStandardComponent.js @@ -4,7 +4,7 @@ import React from 'react'; /** * MyComponent description */ -const MyStandardComponent = ({ id, style, value }) => (
{value}
); +const MyStandardComponent = ({ id, style, value = '' }) => (
{value}
); MyStandardComponent.propTypes = { /** @@ -23,8 +23,4 @@ MyStandardComponent.propTypes = { value: PropTypes.string }; -MyStandardComponent.defaultProps = { - value: '' -}; - -export default MyStandardComponent; \ No newline at end of file +export default MyStandardComponent; diff --git a/@plotly/dash-test-components/src/components/AsyncComponent.js b/@plotly/dash-test-components/src/components/AsyncComponent.js index 702dc1538e..549592403f 100644 --- a/@plotly/dash-test-components/src/components/AsyncComponent.js +++ b/@plotly/dash-test-components/src/components/AsyncComponent.js @@ -14,6 +14,4 @@ AsyncComponent.propTypes = { value: PropTypes.string }; -AsyncComponent.defaultProps = {}; - export default AsyncComponent; \ No newline at end of file diff --git a/@plotly/dash-test-components/src/components/CollapseComponent.js b/@plotly/dash-test-components/src/components/CollapseComponent.js index a2d661d3d3..373eadff56 100644 --- a/@plotly/dash-test-components/src/components/CollapseComponent.js +++ b/@plotly/dash-test-components/src/components/CollapseComponent.js @@ -11,8 +11,4 @@ CollapseComponent.propTypes = { id: PropTypes.string }; -CollapseComponent.defaultProps = { - display: false -}; - export default CollapseComponent; diff --git a/@plotly/dash-test-components/src/components/DelayedEventComponent.js b/@plotly/dash-test-components/src/components/DelayedEventComponent.js index d83f658f48..9168e75e3b 100644 --- a/@plotly/dash-test-components/src/components/DelayedEventComponent.js +++ b/@plotly/dash-test-components/src/components/DelayedEventComponent.js @@ -1,7 +1,7 @@ import PropTypes from 'prop-types'; import React from 'react'; -const DelayedEventComponent = ({ id, n_clicks, setProps }) => (