@mtes-mct/monitor-ui 13.7.3 → 13.7.4

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,11 @@
1
+ ## [13.7.3](https://github.com/MTES-MCT/monitor-ui/compare/v13.7.2...v13.7.3) (2024-03-20)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **cypress:** handle searchable MultiSelect in fill() command ([9a66bb1](https://github.com/MTES-MCT/monitor-ui/commit/9a66bb19b07b482dbab49bdaf7c96d359e7aa1e6))
7
+ * **fields:** the CoordinatesInput now displays the * when isRequired ([e38c209](https://github.com/MTES-MCT/monitor-ui/commit/e38c209f06a221b14a1a9917fe3925048fbea405))
8
+
1
9
  ## [13.7.2](https://github.com/MTES-MCT/monitor-ui/compare/v13.7.1...v13.7.2) (2024-03-18)
2
10
 
3
11
 
package/index.js CHANGED
@@ -67269,7 +67269,7 @@ readOnly = false, renderMenuItem, style, value }) {
67269
67269
  name
67270
67270
  ]);
67271
67271
  const selectedRsuiteValue = useMemo(// eslint-disable-next-line no-null/no-null
67272
- ()=>value ? getRsuiteDataItemValueFromOptionValue(value, optionValueKey) : null, [
67272
+ ()=>value !== undefined ? getRsuiteDataItemValueFromOptionValue(value, optionValueKey) : null, [
67273
67273
  value,
67274
67274
  optionValueKey
67275
67275
  ]);
@@ -67303,7 +67303,7 @@ readOnly = false, renderMenuItem, style, value }) {
67303
67303
  onChange: handleChange,
67304
67304
  value: selectedRsuiteValue,
67305
67305
  children: rsuiteData.map((rsuiteDataItem)=>/*#__PURE__*/ jsx(Radio, {
67306
- checked: !!value && lodashExports.eq(rsuiteDataItem.value, value),
67306
+ checked: value !== undefined && lodashExports.eq(rsuiteDataItem.optionValue, value),
67307
67307
  disabled: !!rsuiteDataItem.isDisabled || disabled,
67308
67308
  hasError: hasError,
67309
67309
  isLight: isLight,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mtes-mct/monitor-ui",
3
3
  "description": "Common React components, hooks, utilities and CSS stylesheets for MonitorFish, MonitorEnv and RapportNav.",
4
- "version": "13.7.3",
4
+ "version": "13.7.4",
5
5
  "license": "AGPL-3.0",
6
6
  "type": "module",
7
7
  "engines": {