diff --git a/.github/workflows/publish_bundle_production.yml b/.github/workflows/publish_bundle_production.yml index 409d524e3..e629ee900 100644 --- a/.github/workflows/publish_bundle_production.yml +++ b/.github/workflows/publish_bundle_production.yml @@ -119,3 +119,9 @@ jobs: AZURE_BLOB_ACCOUNT: ${{ secrets.AZURE_BLOB_ACCOUNT_CA4 }} AZURE_BLOB_ACCOUNT_KEY: ${{ secrets.AZURE_BLOB_ACCOUNT_KEY_CA4 }} run: yarn upload-bundle + - name: upload sanofi + env: + AZURE_BLOB_ACCOUNT: ${{ secrets.AZURE_BLOB_ACCOUNT_SANOFI }} + AZURE_BLOB_ACCOUNT_KEY: ${{ secrets.AZURE_BLOB_ACCOUNT_KEY_SANOFI }} + run: yarn upload-bundle + diff --git a/.github/workflows/publish_production.yml b/.github/workflows/publish_production.yml index 2efdd32a4..4a8e81176 100644 --- a/.github/workflows/publish_production.yml +++ b/.github/workflows/publish_production.yml @@ -132,3 +132,12 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} run: npx semantic-release + - name: upload sanofi + env: + AZURE_BLOB_ACCOUNT: ${{ secrets.AZURE_BLOB_ACCOUNT_SANOFI }} + AZURE_BLOB_ACCOUNT_KEY: ${{ secrets.AZURE_BLOB_ACCOUNT_KEY_SANOFI }} + run: yarn upload + - name: release notes + env: + GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} + run: npx semantic-release diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e686df86..dbd222836 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,24 @@ +## [2.191.2](https://github.com/bettyblocks/material-ui-component-set/compare/v2.191.1...v2.191.2) (2024-09-25) + + +### Bug Fixes + +* rerender components when initial value changes ([f4bfdde](https://github.com/bettyblocks/material-ui-component-set/commit/f4bfddecdeb9a24cc15159ff09a96ce720c08dd0)) + +## [2.191.1](https://github.com/bettyblocks/material-ui-component-set/compare/v2.191.0...v2.191.1) (2024-09-25) + + +### Bug Fixes + +* add extra checks for invalid dates ([c3c5593](https://github.com/bettyblocks/material-ui-component-set/commit/c3c55936c694982b2489cfcc4908758ae0db7565)) + +# [2.191.0](https://github.com/bettyblocks/material-ui-component-set/compare/v2.190.5...v2.191.0) (2024-09-24) + + +### Features + +* introduce deployment for sanofi ([225dd5b](https://github.com/bettyblocks/material-ui-component-set/commit/225dd5b1a8031d97b5153b6ca639a2ec65c8e2fb)) + ## [2.190.5](https://github.com/bettyblocks/material-ui-component-set/compare/v2.190.4...v2.190.5) (2024-09-12) diff --git a/package.json b/package.json index 7c12ad7de..fef74d8fe 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "component-set", - "version": "2.190.5", + "version": "2.191.2", "main": "dist/templates.json", "license": "UNLICENSED", "private": false, diff --git a/src/components/dateTimePickerInput.js b/src/components/dateTimePickerInput.js index 820d026ea..f1908fcf0 100644 --- a/src/components/dateTimePickerInput.js +++ b/src/components/dateTimePickerInput.js @@ -52,9 +52,7 @@ const isDev = env === 'dev'; const parsedValue = useText(value); const [isDisabled, setIsDisabled] = useState(disabled); - const [selectedDate, setSelectedDate] = useState( - (parsedValue && parsedValue !== 'undefined' && !isDev) || null, - ); + const [selectedDate, setSelectedDate] = useState(parsedValue || null); const [errorState, setErrorState] = useState(error); const [afterFirstValidation, setAfterFirstValidation] = useState(false); const helperTextResolved = useText(helperText);