@mtes-mct/monitor-ui 13.3.0 → 13.3.2
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 +14 -0
- package/cypress/index.js +1 -1
- package/index.js +4 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [13.3.1](https://github.com/MTES-MCT/monitor-ui/compare/v13.3.0...v13.3.1) (2024-03-08)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **cypress:** fix function waitForLastRequestFunction ([7ad541d](https://github.com/MTES-MCT/monitor-ui/commit/7ad541d54f5d18966c97ecad5779a2668b75678f))
|
|
7
|
+
|
|
8
|
+
## [13.3.0](https://github.com/MTES-MCT/monitor-ui/compare/v13.2.0...v13.3.0) (2024-03-08)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* **cypress:** add delay option to fill command ([592b941](https://github.com/MTES-MCT/monitor-ui/commit/592b941daebf6a5deb8d68c110adc3b3900bb71b))
|
|
14
|
+
|
|
1
15
|
## [13.2.0](https://github.com/MTES-MCT/monitor-ui/compare/v13.1.0...v13.2.0) (2024-03-07)
|
|
2
16
|
|
|
3
17
|
|
package/cypress/index.js
CHANGED
|
@@ -999,7 +999,7 @@ function waitForLastRequest(alias, partialRequest, maxRequests, level = 0, callb
|
|
|
999
999
|
// eslint-disable-next-line no-console
|
|
1000
1000
|
cy.log('Intercepted request', JSON.stringify(interception.request));
|
|
1001
1001
|
// @ts-ignore
|
|
1002
|
-
return cy.waitForLastRequest(alias, partialRequest, maxRequests, level + 1);
|
|
1002
|
+
return cy.waitForLastRequest(alias, partialRequest, maxRequests, level + 1, callback);
|
|
1003
1003
|
});
|
|
1004
1004
|
}
|
|
1005
1005
|
|
package/index.js
CHANGED
|
@@ -17603,7 +17603,7 @@ const Action = styled.div`
|
|
|
17603
17603
|
align-items: center;
|
|
17604
17604
|
flex-direction: row;
|
|
17605
17605
|
justify-content: center;
|
|
17606
|
-
padding:
|
|
17606
|
+
padding: 32px 8px 32px 8px;
|
|
17607
17607
|
}
|
|
17608
17608
|
|
|
17609
17609
|
> button {
|
|
@@ -53555,7 +53555,7 @@ const ChildrenContainer = styled.div`
|
|
|
53555
53555
|
const Box$c = styled.span`
|
|
53556
53556
|
background: ${(p)=>p.backgroundColor ?? p.theme.color.goldenPoppy25};
|
|
53557
53557
|
color: ${(p)=>p.color ?? p.theme.color.slateGray};
|
|
53558
|
-
padding:
|
|
53558
|
+
padding: 16px;
|
|
53559
53559
|
display: flex;
|
|
53560
53560
|
border-radius: 2px;
|
|
53561
53561
|
font-size: 13px;
|
|
@@ -68311,6 +68311,7 @@ const StyledRsuiteInput = styled(Input)`
|
|
|
68311
68311
|
font-weight: 500;
|
|
68312
68312
|
padding: 7px 8px;
|
|
68313
68313
|
width: 100%;
|
|
68314
|
+
max-width: 100%;
|
|
68314
68315
|
|
|
68315
68316
|
&::placeholder {
|
|
68316
68317
|
color: ${getFieldPlaceholderColorFactoryForState('default')};
|
|
@@ -76066,7 +76067,7 @@ function humanizePastDate(missionUpdatedAtUtc) {
|
|
|
76066
76067
|
const updatedTime = updatedDate.format('HH[h]mm');
|
|
76067
76068
|
const today = customDayjs().utc();
|
|
76068
76069
|
if (updatedDate.isSame(today, 'day')) {
|
|
76069
|
-
return `
|
|
76070
|
+
return `aujourd'hui à ${updatedTime}`;
|
|
76070
76071
|
}
|
|
76071
76072
|
const yesterday = customDayjs().utc().subtract(1, 'day');
|
|
76072
76073
|
if (updatedDate.isSame(yesterday, 'day')) {
|
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.3.
|
|
4
|
+
"version": "13.3.2",
|
|
5
5
|
"license": "AGPL-3.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"engines": {
|