@mtes-mct/monitor-ui 18.0.1 → 18.0.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 CHANGED
@@ -1,3 +1,12 @@
1
+ ## [18.0.1](https://github.com/MTES-MCT/monitor-ui/compare/v18.0.0...v18.0.1) (2024-05-28)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **tables:** disable user selection in SimpleTable.Th ([20d9b64](https://github.com/MTES-MCT/monitor-ui/commit/20d9b64fa72739b880d09740c6f9de6c2141b536))
7
+ * **tables:** force prop border in TableWithSelectableRows.Td ([9fbd1ee](https://github.com/MTES-MCT/monitor-ui/commit/9fbd1ee51236b6a7da47ff410cb2b00e95ddc66e))
8
+ * **tables:** force min & max width in SimpleTable.Th ([0ddfa57](https://github.com/MTES-MCT/monitor-ui/commit/0ddfa57afc4ec734d5242b82756d8506bc7f00fc))
9
+
1
10
  ## [18.0.0](https://github.com/MTES-MCT/monitor-ui/compare/v17.2.2...v18.0.0) (2024-05-27)
2
11
 
3
12
 
package/index.js CHANGED
@@ -52929,7 +52929,11 @@ NewWindow.defaultProps = {
52929
52929
  try {
52930
52930
  rules = styleSheet.cssRules;
52931
52931
  } catch (err) {
52932
- console.error(err);
52932
+ // An error here most likely happens when trying to access stylesheets from other domains,
52933
+ // which is a CORS violation and should be ignored.
52934
+ // eslint-disable-next-line no-console
52935
+ console.debug(err);
52936
+ return;
52933
52937
  }
52934
52938
  if (rules) {
52935
52939
  // IE11 is very slow for appendChild, so use plain string here
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.1",
4
+ "version": "18.0.2",
5
5
  "license": "AGPL-3.0",
6
6
  "type": "module",
7
7
  "engines": {