@mtes-mct/monitor-ui 10.1.1 → 10.2.0

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/CHANGELOG.md CHANGED
@@ -1,3 +1,5 @@
1
+ ## [10.1.1](https://github.com/MTES-MCT/monitor-ui/compare/v10.1.0...v10.1.1) (2023-09-27)
2
+
1
3
  # [10.1.0](https://github.com/MTES-MCT/monitor-ui/compare/v10.0.0...v10.1.0) (2023-09-27)
2
4
 
3
5
 
package/index.js CHANGED
@@ -57223,7 +57223,7 @@ function MultiRadio({ className, disabled = false, error, isErrorMessageHidden =
57223
57223
  onChange(nextCheckedOptionValue);
57224
57224
  }, [onChange]);
57225
57225
  useFieldUndefineEffect(isUndefinedWhenDisabled && disabled && !isReadOnly, onChange);
57226
- return (jsxs(Fieldset, { className: controlledClassName, disabled: disabled, hasError: hasError, isLegendHidden: isLabelHidden, isLight: isLight, legend: label, style: style, children: [jsx(Box$4, { "$hasError": hasError, "$isInline": isInline, "$isReadOnly": isReadOnly, children: options.map(option => (jsx(Radio, { checked: equals$2(option.value, value), disabled: disabled, name: name, onChange: (_, isChecked) => handleChange(option.value, isChecked), readOnly: isReadOnly, children: option.label }, JSON.stringify(option.value)))) }, key), !isErrorMessageHidden && hasError && jsx(FieldError, { children: controlledError })] }));
57226
+ return (jsxs(Fieldset, { className: controlledClassName, disabled: disabled, hasError: hasError, isLegendHidden: isLabelHidden, isLight: isLight, legend: label, style: style, children: [jsx(Box$4, { "$hasError": hasError, "$isInline": isInline, "$isReadOnly": isReadOnly, children: options.map(option => (jsx(Radio, { checked: equals$2(option.value, value), disabled: option.isDisabled || disabled, name: name, onChange: (_, isChecked) => handleChange(option.value, isChecked), readOnly: isReadOnly, children: option.label }, JSON.stringify(option.value)))) }, key), !isErrorMessageHidden && hasError && jsx(FieldError, { children: controlledError })] }));
57227
57227
  }
57228
57228
  const Box$4 = styled.div `
57229
57229
  color: ${p => p.theme.color.gunMetal};