@campxdev/shared 1.4.9 → 1.4.10

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.9",
3
+ "version": "1.4.10",
4
4
  "main": "./exports.ts",
5
5
  "scripts": {
6
6
  "start": "react-scripts start",
@@ -17,7 +17,7 @@ interface Props extends FormGroupProps {
17
17
  options: IOption[]
18
18
  required?: boolean
19
19
  row?: boolean
20
- containerProps: BoxProps
20
+ containerProps?: BoxProps
21
21
  }
22
22
 
23
23
  export default function FormMultiCheckbox({
@@ -14,7 +14,7 @@ import {
14
14
  } from './assets'
15
15
 
16
16
  import CogWheelMenu from './CogWheelMenu'
17
- import HelpWidgetButton from './HelpWidget/HelpWidget'
17
+ import HelpWidgetButton from '../Tickets/HelpWidget/HelpWidget'
18
18
  import {
19
19
  StyledHeader,
20
20
  StyledImageWrapper,
@@ -42,8 +42,8 @@ const schema = yup.object().shape({
42
42
  name: yup.string().required('Name is required'),
43
43
  subject: yup.string().required('Subject is required'),
44
44
  description: yup.string().required('Description is required'),
45
- categoryId: yup.string().required('Category is required'),
46
- serviceId: yup.string().required('Service is required'),
45
+ // categoryId: yup.string().required('Category is required'),
46
+ // serviceId: yup.string().required('Service is required'),
47
47
  })
48
48
 
49
49
  const HelpWidgetButton = () => {
@@ -225,7 +225,7 @@ const HelpWidgetForm = ({ onClose }) => {
225
225
  rows={5}
226
226
  required
227
227
  />
228
- <FormSingleSelect
228
+ {/* <FormSingleSelect
229
229
  label={'Category'}
230
230
  name={'categoryId'}
231
231
  control={control}
@@ -247,7 +247,7 @@ const HelpWidgetForm = ({ onClose }) => {
247
247
  })) ?? []
248
248
  }
249
249
  required
250
- />
250
+ /> */}
251
251
  {!uploadMedia?.length ? (
252
252
  <ImageUpload
253
253
  onFileUploaded={handleUploadImageChange}
@@ -1,7 +1,7 @@
1
1
  import { alpha, Box, Card, Dialog, Slide, styled } from '@mui/material'
2
2
  import { TransitionProps } from '@mui/material/transitions'
3
3
  import { forwardRef } from 'react'
4
- import { background, contactBg } from '../assets'
4
+ import { background, contactBg } from '../../Header/assets'
5
5
 
6
6
  export const StyledDialogHeader = styled(Box)(({ theme }) => ({
7
7
  height: '180px',