@mtes-mct/monitor-ui 16.3.0 → 16.3.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 +7 -0
- package/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [16.3.0](https://github.com/MTES-MCT/monitor-ui/compare/v16.2.0...v16.3.0) (2024-04-28)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **components:** add onClose prop to Banner ([eba610c](https://github.com/MTES-MCT/monitor-ui/commit/eba610cac5fc0f40702d0587a440eb06fddfd76f))
|
|
7
|
+
|
|
1
8
|
## [16.2.0](https://github.com/MTES-MCT/monitor-ui/compare/v16.1.0...v16.2.0) (2024-04-28)
|
|
2
9
|
|
|
3
10
|
|
package/index.js
CHANGED
|
@@ -53645,7 +53645,7 @@ const DEFAUT_ICON = {
|
|
|
53645
53645
|
}
|
|
53646
53646
|
|
|
53647
53647
|
function Message({ children, className, Icon, iconColor, level = Level.INFO, ...nativeProps }) {
|
|
53648
|
-
const controlledClassName = classnames('Component-Message
|
|
53648
|
+
const controlledClassName = classnames('Component-Message', className);
|
|
53649
53649
|
const ControlledIcon = Icon ?? DEFAUT_ICON[level];
|
|
53650
53650
|
const controlledIconColor = iconColor ?? DEFAULT_ICON_COLOR[level];
|
|
53651
53651
|
return /*#__PURE__*/ jsxs(Box$c, {
|
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": "16.3.
|
|
4
|
+
"version": "16.3.1",
|
|
5
5
|
"license": "AGPL-3.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"engines": {
|