@campxdev/shared 1.10.48 → 1.10.49

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.10.48",
3
+ "version": "1.10.49",
4
4
  "main": "./exports.ts",
5
5
  "scripts": {
6
6
  "start": "react-scripts start",
@@ -3,7 +3,7 @@ import { Box, IconButton } from '@mui/material'
3
3
  import { ReactNode, useState } from 'react'
4
4
  import ReactJoyride, { Step } from 'react-joyride'
5
5
 
6
- function ReactJoyRideComponent({
6
+ function ReactJoyRide({
7
7
  steps,
8
8
  children,
9
9
  }: {
@@ -41,9 +41,10 @@ function ReactJoyRideComponent({
41
41
  <IconButton
42
42
  onClick={() => setRun(true)}
43
43
  sx={{
44
- position: 'absolute',
45
- bottom: '40px',
46
- right: '40px',
44
+ position: 'fixed',
45
+ bottom: '20px',
46
+ right: '20px',
47
+ zIndex: 1000,
47
48
  borderRadius: '50%',
48
49
  width: '60px',
49
50
  height: '60px',
@@ -57,4 +58,4 @@ function ReactJoyRideComponent({
57
58
  )
58
59
  }
59
60
 
60
- export default ReactJoyRideComponent
61
+ export default ReactJoyRide