mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-04 21:17:37 +03:00
Upgrade React-Admin to 3.17.0
This commit is contained in:
parent
4a25fa0920
commit
8396b51a9c
4 changed files with 422 additions and 487 deletions
887
ui/package-lock.json
generated
887
ui/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -17,10 +17,10 @@
|
||||||
"lodash.pick": "^4.4.0",
|
"lodash.pick": "^4.4.0",
|
||||||
"lodash.throttle": "^4.1.1",
|
"lodash.throttle": "^4.1.1",
|
||||||
"prop-types": "^15.7.2",
|
"prop-types": "^15.7.2",
|
||||||
"ra-data-json-server": "^3.15.1",
|
"ra-data-json-server": "^3.17.0",
|
||||||
"ra-i18n-polyglot": "^3.15.1",
|
"ra-i18n-polyglot": "^3.17.0",
|
||||||
"react": "^17.0.2",
|
"react": "^17.0.2",
|
||||||
"react-admin": "^3.15.1",
|
"react-admin": "^3.17.0",
|
||||||
"react-dom": "^17.0.2",
|
"react-dom": "^17.0.2",
|
||||||
"react-drag-listview": "^0.1.8",
|
"react-drag-listview": "^0.1.8",
|
||||||
"react-ga": "^3.3.0",
|
"react-ga": "^3.3.0",
|
||||||
|
@ -43,7 +43,7 @@
|
||||||
"@testing-library/user-event": "^13.1.9",
|
"@testing-library/user-event": "^13.1.9",
|
||||||
"css-mediaquery": "^0.1.2",
|
"css-mediaquery": "^0.1.2",
|
||||||
"prettier": "2.3.2",
|
"prettier": "2.3.2",
|
||||||
"ra-test": "^3.15.1"
|
"ra-test": "^3.17.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "react-scripts start",
|
"start": "react-scripts start",
|
||||||
|
|
|
@ -1,8 +1,13 @@
|
||||||
import React, { useCallback, useMemo, useState } from 'react'
|
import React, { useCallback, useMemo, useState } from 'react'
|
||||||
import { useDispatch, useSelector } from 'react-redux'
|
import { useDispatch, useSelector } from 'react-redux'
|
||||||
import { createMuiTheme, ThemeProvider } from '@material-ui/core/styles'
|
|
||||||
import { useMediaQuery } from '@material-ui/core'
|
import { useMediaQuery } from '@material-ui/core'
|
||||||
import { useAuthState, useDataProvider, useTranslate } from 'react-admin'
|
import { ThemeProvider } from '@material-ui/core/styles'
|
||||||
|
import {
|
||||||
|
createMuiTheme,
|
||||||
|
useAuthState,
|
||||||
|
useDataProvider,
|
||||||
|
useTranslate,
|
||||||
|
} from 'react-admin'
|
||||||
import ReactGA from 'react-ga'
|
import ReactGA from 'react-ga'
|
||||||
import { GlobalHotKeys } from 'react-hotkeys'
|
import { GlobalHotKeys } from 'react-hotkeys'
|
||||||
import ReactJkMusicPlayer from 'react-jinke-music-player'
|
import ReactJkMusicPlayer from 'react-jinke-music-player'
|
||||||
|
|
|
@ -7,10 +7,9 @@ import Card from '@material-ui/core/Card'
|
||||||
import CardActions from '@material-ui/core/CardActions'
|
import CardActions from '@material-ui/core/CardActions'
|
||||||
import CircularProgress from '@material-ui/core/CircularProgress'
|
import CircularProgress from '@material-ui/core/CircularProgress'
|
||||||
import TextField from '@material-ui/core/TextField'
|
import TextField from '@material-ui/core/TextField'
|
||||||
import { createMuiTheme, makeStyles } from '@material-ui/core/styles'
|
import { ThemeProvider, makeStyles } from '@material-ui/core/styles'
|
||||||
import { ThemeProvider } from '@material-ui/styles'
|
import { createMuiTheme, useLogin, useNotify, useTranslate } from 'react-admin'
|
||||||
import Logo from '../icons/android-icon-192x192.png'
|
import Logo from '../icons/android-icon-192x192.png'
|
||||||
import { useLogin, useNotify, useTranslate } from 'react-admin'
|
|
||||||
|
|
||||||
import Notification from './Notification'
|
import Notification from './Notification'
|
||||||
import useCurrentTheme from '../themes/useCurrentTheme'
|
import useCurrentTheme from '../themes/useCurrentTheme'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue