@mtes-mct/monitor-ui 24.10.0 → 24.10.1
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/index.js +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [24.10.0](https://github.com/MTES-MCT/monitor-ui/compare/v24.9.1...v24.10.0) (2024-11-28)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **components:** add withoutIcon prop to Message component ([4e52cd9](https://github.com/MTES-MCT/monitor-ui/commit/4e52cd9a20ecc75a17888b79fd14517bdd820c3a))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Buid System & Dependencies
|
|
10
|
+
|
|
11
|
+
* **dev-deps:** bump ky from 0.33.3 to 1.7.2 ([fef35cd](https://github.com/MTES-MCT/monitor-ui/commit/fef35cd376463f66ab1d4fabb908551c183fcff9))
|
|
12
|
+
* **dev-deps:** bump the all-non-major-dependencies group ([96e9141](https://github.com/MTES-MCT/monitor-ui/commit/96e91410931f9e997093bf329f242cd00295691c))
|
|
13
|
+
* **dev-deps:** bump the non-major-dev-dependencies group with 21 updates ([91d4d89](https://github.com/MTES-MCT/monitor-ui/commit/91d4d89599606fb681536307d8fa9a63dadb2aa3))
|
|
14
|
+
|
|
1
15
|
## [24.9.1](https://github.com/MTES-MCT/monitor-ui/compare/v24.9.0...v24.9.1) (2024-11-21)
|
|
2
16
|
|
|
3
17
|
|
package/index.js
CHANGED
|
@@ -53944,13 +53944,14 @@ function Message({ children, className, Icon, iconColor, level = Level.INFO, wit
|
|
|
53944
53944
|
color: controlledIconColor
|
|
53945
53945
|
}),
|
|
53946
53946
|
/*#__PURE__*/ jsx(ChildrenContainer, {
|
|
53947
|
+
$withMargin: !withoutIcon,
|
|
53947
53948
|
children: children
|
|
53948
53949
|
})
|
|
53949
53950
|
]
|
|
53950
53951
|
});
|
|
53951
53952
|
}
|
|
53952
53953
|
const ChildrenContainer = styled.div`
|
|
53953
|
-
margin-left:
|
|
53954
|
+
margin-left: ${({ $withMargin })=>$withMargin ? 8 : 0}px;
|
|
53954
53955
|
display: flex;
|
|
53955
53956
|
flex-direction: column;
|
|
53956
53957
|
flex: 1;
|
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": "24.10.
|
|
4
|
+
"version": "24.10.1",
|
|
5
5
|
"license": "AGPL-3.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"engines": {
|