@mtes-mct/monitor-ui 18.0.2 → 18.0.3

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,10 @@
1
+ ## [18.0.2](https://github.com/MTES-MCT/monitor-ui/compare/v18.0.1...v18.0.2) (2024-05-28)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **components:** ignore external domain stylesheets in NewWindow styles copying ([fb02756](https://github.com/MTES-MCT/monitor-ui/commit/fb0275608debbd07acdc4f2aed0f197f1e864bff))
7
+
1
8
  ## [18.0.1](https://github.com/MTES-MCT/monitor-ui/compare/v18.0.0...v18.0.1) (2024-05-28)
2
9
 
3
10
 
@@ -1 +1 @@
1
- {"version":3,"file":"RangeCalendarPicker.d.ts","sourceRoot":"","sources":["../../../src/fields/DateRangePicker/RangeCalendarPicker.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAC7C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAA;AACxD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AAE3C,KAAK,wBAAwB,GAAG;IAC9B;;;;;OAKG;IACH,YAAY,CAAC,EAAE,SAAS,GAAG,SAAS,CAAA;IACpC,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,YAAY,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IAClC,MAAM,EAAE,OAAO,CAAA;IACf;;;OAGG;IACH,QAAQ,EAAE,CAAC,qBAAqB,EAAE,cAAc,KAAK,UAAU,CAAC,IAAI,CAAC,CAAA;CACtE,CAAA;AACD,wBAAgB,mBAAmB,CAAC,EAClC,YAAY,EACZ,iBAAyB,EACzB,YAAY,EACZ,MAAM,EACN,QAAQ,EACT,EAAE,wBAAwB,2CA2E1B"}
1
+ {"version":3,"file":"RangeCalendarPicker.d.ts","sourceRoot":"","sources":["../../../src/fields/DateRangePicker/RangeCalendarPicker.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAC7C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAA;AACxD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AAE3C,KAAK,wBAAwB,GAAG;IAC9B;;;;;OAKG;IACH,YAAY,CAAC,EAAE,SAAS,GAAG,SAAS,CAAA;IACpC,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,YAAY,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IAClC,MAAM,EAAE,OAAO,CAAA;IACf;;;OAGG;IACH,QAAQ,EAAE,CAAC,qBAAqB,EAAE,cAAc,KAAK,UAAU,CAAC,IAAI,CAAC,CAAA;CACtE,CAAA;AACD,wBAAgB,mBAAmB,CAAC,EAClC,YAAY,EACZ,iBAAyB,EACzB,YAAY,EACZ,MAAM,EACN,QAAQ,EACT,EAAE,wBAAwB,2CA4E1B"}
@@ -1,4 +1,5 @@
1
1
  export declare const StyledRsuiteCalendarBox: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
2
+ $isDoubleCalendar?: boolean;
2
3
  $isRightAligned?: boolean;
3
4
  }, never>;
4
5
  //# sourceMappingURL=StyledRsuiteCalendarBox.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"StyledRsuiteCalendarBox.d.ts","sourceRoot":"","sources":["../../../src/fields/shared/StyledRsuiteCalendarBox.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,uBAAuB;sBAChB,OAAO;SAkQ1B,CAAA"}
1
+ {"version":3,"file":"StyledRsuiteCalendarBox.d.ts","sourceRoot":"","sources":["../../../src/fields/shared/StyledRsuiteCalendarBox.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,uBAAuB;wBACd,OAAO;sBACT,OAAO;SAmQ1B,CAAA"}
package/index.js CHANGED
@@ -65199,6 +65199,7 @@ const StyledRsuiteCalendarBox = styled.div`
65199
65199
  top: 0 !important;
65200
65200
  line-height: 1;
65201
65201
  padding: 0;
65202
+ ${(p)=>p.$isDoubleCalendar && `width: 483px;`}
65202
65203
 
65203
65204
  > .rs-picker-daterange-panel {
65204
65205
  min-width: unset !important;
@@ -66711,6 +66712,7 @@ function RangeCalendarPicker({ defaultValue, hasSingleCalendar = false, isHistor
66711
66712
  ]);
66712
66713
  return /*#__PURE__*/ jsx(StyledRsuiteCalendarBox, {
66713
66714
  ref: boxRef,
66715
+ $isDoubleCalendar: !hasSingleCalendar,
66714
66716
  className: "Field-DateRangePicker__RangeCalendarPicker",
66715
66717
  onClick: stopMouseEventPropagation,
66716
66718
  children: boxRef.current && /*#__PURE__*/ jsx(DateRangePicker$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": "18.0.2",
4
+ "version": "18.0.3",
5
5
  "license": "AGPL-3.0",
6
6
  "type": "module",
7
7
  "engines": {