@sonardigital/carbon-ui 1.2.5 → 1.2.8

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": "@sonardigital/carbon-ui",
3
- "version": "1.2.5",
3
+ "version": "1.2.8",
4
4
  "description": "",
5
5
  "main": "src/index.ts",
6
6
  "files": [
@@ -57,7 +57,7 @@ export function FormBox<T>({
57
57
  };
58
58
 
59
59
  return (
60
- <Stack sx={{ position: 'relative' }}>
60
+ <Stack sx={{ position: 'relative', cursor: 'pointer' }}>
61
61
  {isChecked && (
62
62
  <Grow in={true} timeout={250}>
63
63
  <CheckCircleIcon
@@ -19,13 +19,7 @@ export function FormBoxes<T>({
19
19
  sx?: Record<string, unknown>;
20
20
  }): React.ReactElement {
21
21
  return (
22
- <Grid
23
- container
24
- width="100%"
25
- spacing={2}
26
- rowSpacing={3}
27
- sx={{ cursor: 'pointer' }}
28
- >
22
+ <Grid container width="100%" spacing={2} rowSpacing={3}>
29
23
  {options.map((option, i) => (
30
24
  <Controller
31
25
  name={name}
@@ -40,8 +34,8 @@ export function FormBoxes<T>({
40
34
  : option.value === field.value;
41
35
  return (
42
36
  <Grid
43
- size={{ xs: 6, sm: 4, md: 3, ...option.size }}
44
37
  key={i}
38
+ size={{ xs: 6, sm: 4, md: 3, ...option.size }}
45
39
  >
46
40
  <FormBox
47
41
  name={name}