Skip to content

Commit

Permalink
fix(deps): bump react-datepicker and @types/react-datepicker
Browse files Browse the repository at this point in the history
Bumps [react-datepicker](https://github.com/Hacker0x01/react-datepicker) and [@types/react-datepicker](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-datepicker). These dependencies needed to be updated together.

Updates `react-datepicker` from 4.7.0 to 4.25.0
- [Release notes](https://github.com/Hacker0x01/react-datepicker/releases)
- [Commits](Hacker0x01/react-datepicker@v4.7.0...v4.25.0)

Updates `@types/react-datepicker` from 4.4.1 to 4.19.5
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-datepicker)

---
updated-dependencies:
- dependency-name: react-datepicker
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: "@types/react-datepicker"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
  • Loading branch information
dependabot[bot] authored and baumandm committed Jan 3, 2024
1 parent 90767fa commit 3258b79
Show file tree
Hide file tree
Showing 3 changed files with 80 additions and 56 deletions.
125 changes: 72 additions & 53 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"react-ace": "10.1.0",
"react-confetti": "6.1.0",
"react-container-dimensions": "1.4.1",
"react-datepicker": "4.7.0",
"react-datepicker": "4.25.0",
"react-dnd": "16.0.1",
"react-dnd-html5-backend": "16.0.1",
"react-dom": "18.2.0",
Expand Down Expand Up @@ -83,7 +83,7 @@
"@types/papaparse": "5.3.14",
"@types/parsimmon": "1.10.6",
"@types/react": "18.0.28",
"@types/react-datepicker": "4.4.1",
"@types/react-datepicker": "4.19.5",
"@types/react-dom": "18.2.18",
"@types/react-linkify": "1.0.4",
"@types/react-router-dom": "5.3.3",
Expand Down
7 changes: 6 additions & 1 deletion packages/frontend/src/components/date-range/date-range.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,12 @@ export const DateRange = ({
<Text as="strong" fontSize="sm">
Absolute Dates
</Text>
<HStack spacing="0.5rem" align="flex-start" className={isLight ? 'light-theme' : 'dark-theme'}>
<HStack
spacing="0.5rem"
align="flex-start"
justify="space-between"
className={isLight ? 'light-theme' : 'dark-theme'}
>
<ReactDatePicker selected={startAsDate} onChange={(date) => onChangeStart(date)} inline />
<ReactDatePicker selected={endAsDate} onChange={(date) => onChangeEnd(date)} inline />
</HStack>
Expand Down

0 comments on commit 3258b79

Please sign in to comment.