Merge branch 'release/v2.5.2'

This commit is contained in:
Amirhossein Mahmoodi
2024-08-10 13:32:56 +03:30
3 changed files with 17 additions and 16 deletions

View File

@@ -1,5 +1,5 @@
NEXT_PUBLIC_API_NAME = "Loan Facilities Dashboard"
NEXT_PUBLIC_API_VERSION = "2.5.0"
NEXT_PUBLIC_API_VERSION = "2.5.2"
NEXT_PUBLIC_DEFAULT_LANGUAGE = "fa"
NEXT_PUBLIC_DEFAULT_DIRECTION = "rtl"

6
.gitignore vendored
View File

@@ -27,10 +27,12 @@ node_modules
cypress/videos
cypress/screenshots
.next
.env*
.env.local
.env
.idea
package-lock.json
ecosystem.config.js
public/config.json
public/config.json
.vscode/

View File

@@ -1,15 +1,15 @@
import NoSsrHandler from "@/core/components/NoSsrHandler";
import {createEmotionCacheRtl} from "@/core/utils/createEmotionCache";
import { createEmotionCacheRtl } from "@/core/utils/createEmotionCache";
import themeRtl from "@/core/utils/theme-rtl";
import {CacheProvider} from "@emotion/react";
import {GlobalStyles} from "@mui/material";
import { CacheProvider } from "@emotion/react";
import { GlobalStyles } from "@mui/material";
import CssBaseline from "@mui/material/CssBaseline";
import {ThemeProvider} from "@mui/material/styles";
import { ThemeProvider } from "@mui/material/styles";
import Head from "next/head";
const clientSideEmotionCacheRtl = createEmotionCacheRtl();
const MuiLayout = ({children, isBot}) => {
const MuiLayout = ({ children, isBot }) => {
const emotionCache = clientSideEmotionCacheRtl;
const theme = themeRtl;
@@ -17,7 +17,7 @@ const MuiLayout = ({children, isBot}) => {
<NoSsrHandler isBot={isBot}>
<CacheProvider value={emotionCache}>
<Head>
<meta name="viewport" content="initial-scale=1, width=device-width"/>
<meta name="viewport" content="initial-scale=1, width=device-width" />
</Head>
<ThemeProvider theme={theme}>
<GlobalStyles
@@ -33,8 +33,7 @@ const MuiLayout = ({children, isBot}) => {
borderRadius: "3px",
},
"*:not(.MuiTableContainer-root)": {
scrollbarWidth: "thin",
scrollbarColor: "transparent transparent",
scrollbarWidth: "none",
},
"*": {
@@ -50,12 +49,12 @@ const MuiLayout = ({children, isBot}) => {
height: "4px",
},
},
" input[type='number']::-webkit-inner-spin-button,input[type='number']::-webkit-outer-spin-button " :{
"-webkit-appearance":"none",
" input[type='number']::-webkit-inner-spin-button,input[type='number']::-webkit-outer-spin-button ": {
"-webkit-appearance": "none",
margin: 0
},
" input[type='number']" :{
"-moz-appearance":"textfield",
" input[type='number']": {
"-moz-appearance": "textfield",
},
body: {
width: "100vw",
@@ -68,7 +67,7 @@ const MuiLayout = ({children, isBot}) => {
}}
/>
<CssBaseline/>
<CssBaseline />
{children}
</ThemeProvider>
</CacheProvider>