@mtes-mct/monitor-ui 13.7.2 → 13.7.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [13.7.2](https://github.com/MTES-MCT/monitor-ui/compare/v13.7.1...v13.7.2) (2024-03-18)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **components:** update Dialog padding ([2cacb4e](https://github.com/MTES-MCT/monitor-ui/commit/2cacb4ed492415971ac61a05f8903b9ad1edc3f2))
7
+
1
8
  ## [13.7.1](https://github.com/MTES-MCT/monitor-ui/compare/v13.7.0...v13.7.1) (2024-03-15)
2
9
 
3
10
 
package/cypress/index.js CHANGED
@@ -567,13 +567,15 @@ function pickMultiSelectOptions(fieldElement, values, label, force, delay) {
567
567
  throwError(`Could not find '.rs-picker-popup' in in field with label "${label}". Did the picker open?`);
568
568
  }
569
569
  values.forEach((value)=>{
570
- cy.wrap(fieldElement).find('.rs-picker-toggle').click({
571
- force
572
- }).wait(250).type(value, {
573
- delay,
574
- force
575
- }).wait(250);
576
- cy.wrap(rsuitePickerPopupElement).find('[role="option"]').contains(value).scrollIntoView().click({
570
+ // Search for the value if there is a search input
571
+ const maybeSearchInput = fieldElement.querySelector('.rs-picker-search-input > input');
572
+ if (maybeSearchInput) {
573
+ cy.wrap(fieldElement).find('.rs-picker-search-input > input').type(value, {
574
+ delay,
575
+ force
576
+ }).wait(250);
577
+ }
578
+ cy.wrap(rsuitePickerPopupElement).find('[role="option"]').contains(value).first().scrollIntoView().click({
577
579
  force
578
580
  });
579
581
  });
package/index.js CHANGED
@@ -64575,12 +64575,13 @@ const StyledFieldset$1 = styled(Fieldset)`
64575
64575
  &:focus-visible {
64576
64576
  outline: 0;
64577
64577
  }
64578
- ${(p)=>p.$isRequired && `
64579
- :after {
64578
+ }
64579
+
64580
+ ${(p)=>p.$isRequired && `
64581
+ legend:after {
64580
64582
  content:" *";
64581
64583
  color: ${p.theme.color.maximumRed};
64582
64584
  }`}
64583
- }
64584
64585
  `;
64585
64586
 
64586
64587
  const useClickOutsideEffect = (zoneRefOrzoneRefs, action, baseContainer)=>{
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.2",
4
+ "version": "13.7.3",
5
5
  "license": "AGPL-3.0",
6
6
  "type": "module",
7
7
  "engines": {