@mtes-mct/monitor-ui 24.10.0 → 24.10.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 +26 -0
- package/index.js +3 -1
- package/package.json +1 -1
- package/theme.d.ts +1 -0
- package/theme.d.ts.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,29 @@
|
|
|
1
|
+
## [24.10.1](https://github.com/MTES-MCT/monitor-ui/compare/v24.10.0...v24.10.1) (2024-11-28)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **components:** fix margin when there is no icon ([4d0edd6](https://github.com/MTES-MCT/monitor-ui/commit/4d0edd615ab4f355c2fcf229199098c305867817))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Buid System & Dependencies
|
|
10
|
+
|
|
11
|
+
* **dev-deps:** bump @faker-js/faker from 8.4.1 to 9.2.0 ([b667ea0](https://github.com/MTES-MCT/monitor-ui/commit/b667ea02471350fb05de1721aa7e903a3426f309))
|
|
12
|
+
|
|
13
|
+
## [24.10.0](https://github.com/MTES-MCT/monitor-ui/compare/v24.9.1...v24.10.0) (2024-11-28)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
* **components:** add withoutIcon prop to Message component ([4e52cd9](https://github.com/MTES-MCT/monitor-ui/commit/4e52cd9a20ecc75a17888b79fd14517bdd820c3a))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Buid System & Dependencies
|
|
22
|
+
|
|
23
|
+
* **dev-deps:** bump ky from 0.33.3 to 1.7.2 ([fef35cd](https://github.com/MTES-MCT/monitor-ui/commit/fef35cd376463f66ab1d4fabb908551c183fcff9))
|
|
24
|
+
* **dev-deps:** bump the all-non-major-dependencies group ([96e9141](https://github.com/MTES-MCT/monitor-ui/commit/96e91410931f9e997093bf329f242cd00295691c))
|
|
25
|
+
* **dev-deps:** bump the non-major-dev-dependencies group with 21 updates ([91d4d89](https://github.com/MTES-MCT/monitor-ui/commit/91d4d89599606fb681536307d8fa9a63dadb2aa3))
|
|
26
|
+
|
|
1
27
|
## [24.9.1](https://github.com/MTES-MCT/monitor-ui/compare/v24.9.0...v24.9.1) (2024-11-21)
|
|
2
28
|
|
|
3
29
|
|
package/index.js
CHANGED
|
@@ -329,6 +329,7 @@ const OnlyFontGlobalStyle = createGlobalStyle`
|
|
|
329
329
|
melon: '#E7A58D',
|
|
330
330
|
paleDogwood: '#F8D7CE',
|
|
331
331
|
seashell: '#FCECE4',
|
|
332
|
+
champagnePink: '#ECCFC4',
|
|
332
333
|
// AMP Zones
|
|
333
334
|
darkGoldenrod: '#A98A0F',
|
|
334
335
|
ecru: '#BAAB68',
|
|
@@ -53944,13 +53945,14 @@ function Message({ children, className, Icon, iconColor, level = Level.INFO, wit
|
|
|
53944
53945
|
color: controlledIconColor
|
|
53945
53946
|
}),
|
|
53946
53947
|
/*#__PURE__*/ jsx(ChildrenContainer, {
|
|
53948
|
+
$withMargin: !withoutIcon,
|
|
53947
53949
|
children: children
|
|
53948
53950
|
})
|
|
53949
53951
|
]
|
|
53950
53952
|
});
|
|
53951
53953
|
}
|
|
53952
53954
|
const ChildrenContainer = styled.div`
|
|
53953
|
-
margin-left:
|
|
53955
|
+
margin-left: ${({ $withMargin })=>$withMargin ? 8 : 0}px;
|
|
53954
53956
|
display: flex;
|
|
53955
53957
|
flex-direction: column;
|
|
53956
53958
|
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.2",
|
|
5
5
|
"license": "AGPL-3.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"engines": {
|
package/theme.d.ts
CHANGED
package/theme.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../src/theme.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAE5C,MAAM,MAAM,KAAK,GAAG,OAAO,KAAK,CAAA;AAChC,MAAM,MAAM,YAAY,GAAG,WAAW,CAAC,KAAK,CAAC,CAAA;AAE7C,eAAO,MAAM,KAAK;;QAGd,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;QA+BvB,wBAAwB
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../src/theme.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAE5C,MAAM,MAAM,KAAK,GAAG,OAAO,KAAK,CAAA;AAChC,MAAM,MAAM,YAAY,GAAG,WAAW,CAAC,KAAK,CAAC,CAAA;AAE7C,eAAO,MAAM,KAAK;;QAGd,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;QA+BvB,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4E3B,CAAA"}
|