@opengeoweb/theme 8.3.0 → 8.4.0

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.
Files changed (2) hide show
  1. package/index.esm.js +7 -0
  2. package/package.json +2 -2
package/index.esm.js CHANGED
@@ -2147,6 +2147,13 @@ function setRef(ref, value) {
2147
2147
  }
2148
2148
  }
2149
2149
 
2150
+ /**
2151
+ * A version of `React.useLayoutEffect` that does not show a warning when server-side rendering.
2152
+ * This is useful for effects that are only needed for client-side rendering but not for SSR.
2153
+ *
2154
+ * Before you use this hook, make sure to read https://gist.github.com/gaearon/e7d97cdf38a2907924ea12e4ebdf3c85
2155
+ * and confirm it doesn't apply to your use-case.
2156
+ */
2150
2157
  const useEnhancedEffect = typeof window !== 'undefined' ? React.useLayoutEffect : React.useEffect;
2151
2158
  var useEnhancedEffect$1 = useEnhancedEffect;
2152
2159
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/theme",
3
- "version": "8.3.0",
3
+ "version": "8.4.0",
4
4
  "description": "GeoWeb Theme library for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -13,7 +13,7 @@
13
13
  "dependencies": {},
14
14
  "peerDependencies": {
15
15
  "@mui/material": "5.12.0",
16
- "@mui/system": "5.14.10",
16
+ "@mui/system": "5.14.14",
17
17
  "@mui/x-date-pickers": "6.2.1",
18
18
  "react": "18.2.0"
19
19
  }