@campxdev/shared 1.4.5 → 1.4.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@campxdev/shared",
3
- "version": "1.4.5",
3
+ "version": "1.4.6",
4
4
  "main": "./exports.ts",
5
5
  "scripts": {
6
6
  "start": "react-scripts start",
@@ -64,6 +64,19 @@ const StyledPopper = styled(Popper)(({ theme }) => ({
64
64
  padding: 0,
65
65
  },
66
66
  },
67
+ '&::-webkit-scrollbar': {
68
+ width: '0.5em',
69
+ height: '0.5em',
70
+ },
71
+
72
+ '&::-webkit-scrollbar-thumb': {
73
+ backgroundColor: 'rgba(0, 0, 0, 0.15)',
74
+ borderRadius: '3px',
75
+
76
+ '&:hover': {
77
+ background: 'rgba(0, 0, 0, 0.2)',
78
+ },
79
+ },
67
80
  },
68
81
  }))
69
82
 
@@ -187,7 +187,7 @@ const muiTheme = createTheme({
187
187
  styleOverrides: {
188
188
  root: {
189
189
  fontFamily: PRIMARY_FONT,
190
- fontWeight: 500,
190
+ fontWeight: 'normal',
191
191
  minHeight: '50px',
192
192
  borderRadius: '10px',
193
193
  '& input': {
@@ -1,6 +1,6 @@
1
1
  import { Suspense } from 'react'
2
2
  import PageWithPermission from '../permissions/PageWithPermission'
3
- import { LinearProgress } from '../components/LinearProgress'
3
+ import { Spinner } from '../components'
4
4
 
5
5
  const withRouteWrapper = (routes) => {
6
6
  return routes?.map((item, index) => {
@@ -13,7 +13,7 @@ const withRouteWrapper = (routes) => {
13
13
  return {
14
14
  ...item,
15
15
  element: item?.element ? (
16
- <Suspense fallback={<LinearProgress />} key={index}>
16
+ <Suspense fallback={<Spinner />} key={index}>
17
17
  <PageWithPermission permissionKey={item?.permissionKey}>
18
18
  {item.element}
19
19
  </PageWithPermission>