@mtes-mct/monitor-ui 24.52.0 → 24.52.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 CHANGED
@@ -1,3 +1,9 @@
1
+ ## [24.52.0](https://github.com/MTES-MCT/monitor-ui/compare/v24.51.1...v24.52.0) (2026-06-01)
2
+
3
+ ### Features
4
+
5
+ * **elements:** create caution button ([9160699](https://github.com/MTES-MCT/monitor-ui/commit/9160699da7fdb20640390622c77084969a63c6a3))
6
+
1
7
  ## [24.51.1](https://github.com/MTES-MCT/monitor-ui/compare/v24.51.0...v24.51.1) (2026-05-26)
2
8
 
3
9
  ### Bug Fixes
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Dialog/index.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAG/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAE3C,MAAM,MAAM,WAAW,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG;IACzD,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CACjC,CAAA;AACD,wBAAgB,SAAS,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAkB,EAAE,GAAG,WAAW,EAAE,EAAE,WAAW,2CAUjG;yBAVe,SAAS;;;AAYzB,eAAO,MAAM,GAAG;iBACD,OAAO;;iBAAP,OAAO;oBAYrB,CAAA;AAgCD,eAAO,MAAM,MAAM;;;;;;;;CAIjB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Dialog/index.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAG/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAE3C,MAAM,MAAM,WAAW,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG;IACzD,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CACjC,CAAA;AACD,wBAAgB,SAAS,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAkB,EAAE,GAAG,WAAW,EAAE,EAAE,WAAW,2CAUjG;yBAVe,SAAS;;;AAYzB,eAAO,MAAM,GAAG;iBACD,OAAO;;iBAAP,OAAO;oBAYrB,CAAA;AA+BD,eAAO,MAAM,MAAM;;;;;;;;CAIjB,CAAA"}
package/index.js CHANGED
@@ -1756,7 +1756,7 @@ const le = /* @__PURE__ */ nt(b2), E2 = T.div`
1756
1756
  display: flex;
1757
1757
  font-size: 16px;
1758
1758
  flex-direction: column;
1759
- max-height: 250px;
1759
+ max-height: 280px;
1760
1760
  overflow-y: auto;
1761
1761
  padding: 24px 24px 0px 24px;
1762
1762
 
@@ -4149,7 +4149,6 @@ const Tg = T.div`
4149
4149
  background-color: ${(e) => e.theme.color.charcoal};
4150
4150
  color: ${(e) => e.theme.color.white};
4151
4151
  display: flex;
4152
-
4153
4152
  justify-content: ${(e) => e.$withTitle ? "space-between" : "flex-end"};
4154
4153
  padding: 8px 11px 8px 16px;
4155
4154
  h4 {
@@ -4186,9 +4185,8 @@ const Rg = T.div`
4186
4185
  `, Ig = T.div`
4187
4186
  border-radius: 2px;
4188
4187
  bottom: 100px;
4189
- max-width: 32rem;
4190
4188
  position: ${(e) => e.$isAbsolute ? "absolute" : "fixed"};
4191
- width: calc(100% - 2 * 8px);
4189
+ max-width: calc(100% - 2 * 48px);
4192
4190
  z-index: 1;
4193
4191
  @media (min-width: 740px) {
4194
4192
  bottom: auto;
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.52.0",
4
+ "version": "24.52.1",
5
5
  "license": "AGPL-3.0",
6
6
  "type": "module",
7
7
  "engines": {