chore(deps): migrate to @seerr-team/react-tailwindcss-datepicker (#2330)
Migrates from `react-tailwindcss-datepicker-sct` to `@seerr-team/react-tailwindcss-datepicker`, our own fork published on npm. This fork includes a fix for keyboard input not working in single date mode (typing a date and pressing enter now properly applies the filter). fix #1585
This commit is contained in:
@@ -41,6 +41,7 @@
|
|||||||
"@formatjs/swc-plugin-experimental": "^0.4.0",
|
"@formatjs/swc-plugin-experimental": "^0.4.0",
|
||||||
"@headlessui/react": "1.7.12",
|
"@headlessui/react": "1.7.12",
|
||||||
"@heroicons/react": "2.2.0",
|
"@heroicons/react": "2.2.0",
|
||||||
|
"@seerr-team/react-tailwindcss-datepicker": "^1.3.4",
|
||||||
"@supercharge/request-ip": "1.2.0",
|
"@supercharge/request-ip": "1.2.0",
|
||||||
"@svgr/webpack": "6.5.1",
|
"@svgr/webpack": "6.5.1",
|
||||||
"@tanem/react-nprogress": "5.0.56",
|
"@tanem/react-nprogress": "5.0.56",
|
||||||
@@ -90,7 +91,6 @@
|
|||||||
"react-popper-tooltip": "4.4.2",
|
"react-popper-tooltip": "4.4.2",
|
||||||
"react-select": "5.10.2",
|
"react-select": "5.10.2",
|
||||||
"react-spring": "9.7.1",
|
"react-spring": "9.7.1",
|
||||||
"react-tailwindcss-datepicker-sct": "1.3.4",
|
|
||||||
"react-toast-notifications": "2.5.1",
|
"react-toast-notifications": "2.5.1",
|
||||||
"react-transition-group": "^4.4.5",
|
"react-transition-group": "^4.4.5",
|
||||||
"react-truncate-markup": "5.1.2",
|
"react-truncate-markup": "5.1.2",
|
||||||
|
|||||||
28
pnpm-lock.yaml
generated
28
pnpm-lock.yaml
generated
@@ -32,6 +32,9 @@ importers:
|
|||||||
'@heroicons/react':
|
'@heroicons/react':
|
||||||
specifier: 2.2.0
|
specifier: 2.2.0
|
||||||
version: 2.2.0(react@18.3.1)
|
version: 2.2.0(react@18.3.1)
|
||||||
|
'@seerr-team/react-tailwindcss-datepicker':
|
||||||
|
specifier: ^1.3.4
|
||||||
|
version: 1.3.4(dayjs@1.11.19)(react@18.3.1)
|
||||||
'@supercharge/request-ip':
|
'@supercharge/request-ip':
|
||||||
specifier: 1.2.0
|
specifier: 1.2.0
|
||||||
version: 1.2.0
|
version: 1.2.0
|
||||||
@@ -179,9 +182,6 @@ importers:
|
|||||||
react-spring:
|
react-spring:
|
||||||
specifier: 9.7.1
|
specifier: 9.7.1
|
||||||
version: 9.7.1(@react-three/fiber@8.16.8(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react-native@0.74.2(@babel/core@7.24.7)(@babel/preset-env@7.24.7(@babel/core@7.24.7))(@types/react@18.3.3)(encoding@0.1.13)(react@18.3.1))(react@18.3.1)(three@0.165.0))(konva@9.3.12)(react-dom@18.3.1(react@18.3.1))(react-konva@18.2.10(@types/react@18.3.3)(konva@9.3.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-native@0.74.2(@babel/core@7.24.7)(@babel/preset-env@7.24.7(@babel/core@7.24.7))(@types/react@18.3.3)(encoding@0.1.13)(react@18.3.1))(react-zdog@1.2.2)(react@18.3.1)(three@0.165.0)(zdog@1.1.3)
|
version: 9.7.1(@react-three/fiber@8.16.8(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react-native@0.74.2(@babel/core@7.24.7)(@babel/preset-env@7.24.7(@babel/core@7.24.7))(@types/react@18.3.3)(encoding@0.1.13)(react@18.3.1))(react@18.3.1)(three@0.165.0))(konva@9.3.12)(react-dom@18.3.1(react@18.3.1))(react-konva@18.2.10(@types/react@18.3.3)(konva@9.3.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-native@0.74.2(@babel/core@7.24.7)(@babel/preset-env@7.24.7(@babel/core@7.24.7))(@types/react@18.3.3)(encoding@0.1.13)(react@18.3.1))(react-zdog@1.2.2)(react@18.3.1)(three@0.165.0)(zdog@1.1.3)
|
||||||
react-tailwindcss-datepicker-sct:
|
|
||||||
specifier: 1.3.4
|
|
||||||
version: 1.3.4(dayjs@1.11.19)(react@18.3.1)
|
|
||||||
react-toast-notifications:
|
react-toast-notifications:
|
||||||
specifier: 2.5.1
|
specifier: 2.5.1
|
||||||
version: 2.5.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
version: 2.5.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
||||||
@@ -2992,6 +2992,12 @@ packages:
|
|||||||
'@rushstack/eslint-patch@1.10.3':
|
'@rushstack/eslint-patch@1.10.3':
|
||||||
resolution: {integrity: sha512-qC/xYId4NMebE6w/V33Fh9gWxLgURiNYgVNObbJl2LZv0GUUItCcCqC5axQSwRaAgaxl2mELq1rMzlswaQ0Zxg==}
|
resolution: {integrity: sha512-qC/xYId4NMebE6w/V33Fh9gWxLgURiNYgVNObbJl2LZv0GUUItCcCqC5axQSwRaAgaxl2mELq1rMzlswaQ0Zxg==}
|
||||||
|
|
||||||
|
'@seerr-team/react-tailwindcss-datepicker@1.3.4':
|
||||||
|
resolution: {integrity: sha512-KZrnl6WL1lvUnAG4RZIkReJ+E0vSpOtMEuatobMqiWAa5Y+Z3d0ZcOOJWHoeRNtF19sIzzBkuLyhFNFlNtXg3A==}
|
||||||
|
peerDependencies:
|
||||||
|
dayjs: ^1.11.6
|
||||||
|
react: ^17.0.2 || ^18.2.0
|
||||||
|
|
||||||
'@selderee/plugin-htmlparser2@0.11.0':
|
'@selderee/plugin-htmlparser2@0.11.0':
|
||||||
resolution: {integrity: sha512-P33hHGdldxGabLFjPPpaTxVolMrzrcegejx+0GxjrIb9Zv48D8yAIA/QTDR2dFl7Uz7urX8aX6+5bCZslr+gWQ==}
|
resolution: {integrity: sha512-P33hHGdldxGabLFjPPpaTxVolMrzrcegejx+0GxjrIb9Zv48D8yAIA/QTDR2dFl7Uz7urX8aX6+5bCZslr+gWQ==}
|
||||||
|
|
||||||
@@ -7949,12 +7955,6 @@ packages:
|
|||||||
react: ^16.8.0 || ^17.0.0 || ^18.0.0
|
react: ^16.8.0 || ^17.0.0 || ^18.0.0
|
||||||
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
|
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
|
||||||
|
|
||||||
react-tailwindcss-datepicker-sct@1.3.4:
|
|
||||||
resolution: {integrity: sha512-QlLekGZDbmW2DPGS33c4gfIxkk4gcgu4sRzBIm4/mZxfHuo7J+GR6SBVNIb5Xh8aCLlGtgyLqD+o0UmOVFIc4w==}
|
|
||||||
peerDependencies:
|
|
||||||
dayjs: ^1.11.6
|
|
||||||
react: ^17.0.2 || ^18.2.0
|
|
||||||
|
|
||||||
react-toast-notifications@2.5.1:
|
react-toast-notifications@2.5.1:
|
||||||
resolution: {integrity: sha512-eYuuiSPGLyuMHojRH2U7CbENvFHsvNia39pLM/s10KipIoNs14T7RIJk4aU2N+l++OsSgtJqnFObx9bpwLMU5A==}
|
resolution: {integrity: sha512-eYuuiSPGLyuMHojRH2U7CbENvFHsvNia39pLM/s10KipIoNs14T7RIJk4aU2N+l++OsSgtJqnFObx9bpwLMU5A==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
@@ -13179,6 +13179,11 @@ snapshots:
|
|||||||
|
|
||||||
'@rushstack/eslint-patch@1.10.3': {}
|
'@rushstack/eslint-patch@1.10.3': {}
|
||||||
|
|
||||||
|
'@seerr-team/react-tailwindcss-datepicker@1.3.4(dayjs@1.11.19)(react@18.3.1)':
|
||||||
|
dependencies:
|
||||||
|
dayjs: 1.11.19
|
||||||
|
react: 18.3.1
|
||||||
|
|
||||||
'@selderee/plugin-htmlparser2@0.11.0':
|
'@selderee/plugin-htmlparser2@0.11.0':
|
||||||
dependencies:
|
dependencies:
|
||||||
domhandler: 5.0.3
|
domhandler: 5.0.3
|
||||||
@@ -19185,11 +19190,6 @@ snapshots:
|
|||||||
- three
|
- three
|
||||||
- zdog
|
- zdog
|
||||||
|
|
||||||
react-tailwindcss-datepicker-sct@1.3.4(dayjs@1.11.19)(react@18.3.1):
|
|
||||||
dependencies:
|
|
||||||
dayjs: 1.11.19
|
|
||||||
react: 18.3.1
|
|
||||||
|
|
||||||
react-toast-notifications@2.5.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
|
react-toast-notifications@2.5.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
|
||||||
dependencies:
|
dependencies:
|
||||||
'@emotion/core': 10.3.1(react@18.3.1)
|
'@emotion/core': 10.3.1(react@18.3.1)
|
||||||
|
|||||||
@@ -19,8 +19,8 @@ import {
|
|||||||
} from '@app/hooks/useUpdateQueryParams';
|
} from '@app/hooks/useUpdateQueryParams';
|
||||||
import defineMessages from '@app/utils/defineMessages';
|
import defineMessages from '@app/utils/defineMessages';
|
||||||
import { XCircleIcon } from '@heroicons/react/24/outline';
|
import { XCircleIcon } from '@heroicons/react/24/outline';
|
||||||
|
import Datepicker from '@seerr-team/react-tailwindcss-datepicker';
|
||||||
import { useIntl } from 'react-intl';
|
import { useIntl } from 'react-intl';
|
||||||
import Datepicker from 'react-tailwindcss-datepicker-sct';
|
|
||||||
|
|
||||||
const messages = defineMessages('components.Discover.FilterSlideover', {
|
const messages = defineMessages('components.Discover.FilterSlideover', {
|
||||||
filters: 'Filters',
|
filters: 'Filters',
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ const defaultTheme = require('tailwindcss/defaultTheme');
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
mode: 'jit',
|
mode: 'jit',
|
||||||
content: [
|
content: [
|
||||||
'./node_modules/react-tailwindcss-datepicker-sct/dist/index.esm.js',
|
'./node_modules/@seerr-team/react-tailwindcss-datepicker/dist/index.esm.js',
|
||||||
'./src/pages/**/*.{ts,tsx}',
|
'./src/pages/**/*.{ts,tsx}',
|
||||||
'./src/components/**/*.{ts,tsx}',
|
'./src/components/**/*.{ts,tsx}',
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user