@trackunit/react-core-contexts 1.16.12 → 1.17.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.
package/index.cjs.js CHANGED
@@ -498,7 +498,7 @@ const ThemeCssProviderIrisApp = ({ children }) => {
498
498
  irisAppRuntimeCore.ThemeCssRuntime.getThemeCssProperties().then(css => {
499
499
  if (css) {
500
500
  Object.entries(css).forEach(([key, value]) => {
501
- document.body.style.setProperty(key, value);
501
+ document.documentElement.style.setProperty(key, value);
502
502
  });
503
503
  }
504
504
  });
package/index.esm.js CHANGED
@@ -496,7 +496,7 @@ const ThemeCssProviderIrisApp = ({ children }) => {
496
496
  ThemeCssRuntime.getThemeCssProperties().then(css => {
497
497
  if (css) {
498
498
  Object.entries(css).forEach(([key, value]) => {
499
- document.body.style.setProperty(key, value);
499
+ document.documentElement.style.setProperty(key, value);
500
500
  });
501
501
  }
502
502
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/react-core-contexts",
3
- "version": "1.16.12",
3
+ "version": "1.17.0",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -9,16 +9,16 @@
9
9
  "dependencies": {
10
10
  "@apollo/client": "3.13.8",
11
11
  "react": "19.0.0",
12
- "@trackunit/iris-app-api": "1.14.29",
13
- "@trackunit/iris-app-runtime-core-api": "1.12.11",
14
- "@trackunit/react-core-hooks": "1.12.11",
15
- "@trackunit/i18n-library-translation": "1.12.11",
16
- "@trackunit/react-components": "1.16.12",
17
- "@trackunit/iris-app-runtime-core": "1.13.11",
12
+ "@trackunit/iris-app-api": "1.14.30",
13
+ "@trackunit/iris-app-runtime-core-api": "1.12.12",
14
+ "@trackunit/react-core-hooks": "1.12.12",
15
+ "@trackunit/i18n-library-translation": "1.12.12",
16
+ "@trackunit/react-components": "1.17.0",
17
+ "@trackunit/iris-app-runtime-core": "1.13.12",
18
18
  "graphql": "^16.10.0",
19
19
  "graphql-sse": "^2.5.4",
20
20
  "@js-temporal/polyfill": "^0.5.1",
21
- "@trackunit/react-core-contexts-api": "1.13.11"
21
+ "@trackunit/react-core-contexts-api": "1.13.12"
22
22
  },
23
23
  "module": "./index.esm.js",
24
24
  "main": "./index.cjs.js",