@campxdev/shared 1.11.68 → 1.11.70

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.11.68",
3
+ "version": "1.11.70",
4
4
  "main": "./exports.ts",
5
5
  "scripts": {
6
6
  "start": "react-scripts start",
@@ -30,6 +30,7 @@ export default function FormAutoCompleteSearch({
30
30
  control,
31
31
  name,
32
32
  options,
33
+ onOpen,
33
34
  label,
34
35
  loading, // pass this variable when options are from an async operation
35
36
  hookForm = true,
@@ -40,6 +41,7 @@ export default function FormAutoCompleteSearch({
40
41
  if (!hookForm) {
41
42
  return (
42
43
  <Autocomplete
44
+ onOpen={onOpen}
43
45
  multiple={multiple}
44
46
  value={props.value}
45
47
  fullWidth
@@ -69,6 +71,7 @@ export default function FormAutoCompleteSearch({
69
71
  render={({ field, fieldState: { error } }) => (
70
72
  <Box>
71
73
  <Autocomplete
74
+ onOpen={onOpen}
72
75
  multiple={multiple}
73
76
  loading={loading}
74
77
  value={field.value}
@@ -12,7 +12,7 @@ export default function InstitutionsDialog({ close }) {
12
12
 
13
13
  return (
14
14
  <Box sx={{ padding: '20px' }}>
15
- <Typography variant="h3" textAlign={'center'}>
15
+ <Typography variant="h6" textAlign={'center'}>
16
16
  Select an Institution
17
17
  </Typography>
18
18
  <TextField
@@ -26,6 +26,9 @@ declare module '@mui/material/styles' {
26
26
  grey?: {
27
27
  main?: string
28
28
  }
29
+ info?: {
30
+ main?: string
31
+ }
29
32
  common?: {
30
33
  black?: string
31
34
  white?: string