carbon-react 151.5.2 → 151.5.3

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.
@@ -56,7 +56,8 @@ export const CheckboxGroup = ({
56
56
  error: error,
57
57
  warning: warning,
58
58
  isRequired: required,
59
- isOptional: isOptional
59
+ isOptional: isOptional,
60
+ width: "fit-content"
60
61
  }, combinedAriaDescribedBy && {
61
62
  "aria-describedby": combinedAriaDescribedBy
62
63
  }, tagComponent("checkboxgroup", rest), {
@@ -79,7 +79,8 @@ export const RadioButtonGroup = ({
79
79
  warning: warning,
80
80
  legendAlign: legendAlign,
81
81
  isRequired: required,
82
- isOptional: isOptional
82
+ isOptional: isOptional,
83
+ width: "fit-content"
83
84
  }, tagComponent("radiogroup", rest), marginProps, {
84
85
  ml: marginLeft,
85
86
  blockGroupBehaviour: !(error || warning)
@@ -65,7 +65,8 @@ const CheckboxGroup = ({
65
65
  error: error,
66
66
  warning: warning,
67
67
  isRequired: required,
68
- isOptional: isOptional
68
+ isOptional: isOptional,
69
+ width: "fit-content"
69
70
  }, combinedAriaDescribedBy && {
70
71
  "aria-describedby": combinedAriaDescribedBy
71
72
  }, (0, _tags.default)("checkboxgroup", rest), {
@@ -88,7 +88,8 @@ const RadioButtonGroup = ({
88
88
  warning: warning,
89
89
  legendAlign: legendAlign,
90
90
  isRequired: required,
91
- isOptional: isOptional
91
+ isOptional: isOptional,
92
+ width: "fit-content"
92
93
  }, (0, _tags.default)("radiogroup", rest), marginProps, {
93
94
  ml: marginLeft,
94
95
  blockGroupBehaviour: !(error || warning)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "carbon-react",
3
- "version": "151.5.2",
3
+ "version": "151.5.3",
4
4
  "description": "A library of reusable React components for easily building user interfaces.",
5
5
  "files": [
6
6
  "lib",
@@ -153,7 +153,6 @@
153
153
  "node-fetch": "^3.3.2",
154
154
  "nyc": "^17.1.0",
155
155
  "prettier": "~3.3.3",
156
- "raf": "^3.4.1",
157
156
  "react": "^18.3.1",
158
157
  "react-dom": "^18.3.1",
159
158
  "react-markdown": "^8.0.7",