@ottocode/web-sdk 0.1.252 → 0.1.253

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.
@@ -1 +1 @@
1
- {"version":3,"file":"SettingsSidebar.d.ts","sourceRoot":"","sources":["../../../src/components/settings/SettingsSidebar.tsx"],"names":[],"mappings":"AAkmBA,eAAO,MAAM,eAAe,8CAmM1B,CAAC"}
1
+ {"version":3,"file":"SettingsSidebar.d.ts","sourceRoot":"","sources":["../../../src/components/settings/SettingsSidebar.tsx"],"names":[],"mappings":"AA2pBA,eAAO,MAAM,eAAe,8CAmM1B,CAAC"}
@@ -1021,6 +1021,9 @@ function applyFontFamily(fontFamily) {
1021
1021
  }
1022
1022
  document.documentElement.style.setProperty("--otto-font-family", cssFontFamily(fontFamily));
1023
1023
  document.documentElement.dataset.ottoFontFamily = fontFamily;
1024
+ if (window.self !== window.top) {
1025
+ window.parent.postMessage({ type: "otto-font-family-changed", fontFamily }, "*");
1026
+ }
1024
1027
  }
1025
1028
  function resolveInitialPreferences() {
1026
1029
  if (typeof window === "undefined") {
@@ -5187,4 +5190,4 @@ export {
5187
5190
  sessionsQueryKey
5188
5191
  };
5189
5192
 
5190
- //# debugId=6A34A3634A4D977664756E2164756E21
5193
+ //# debugId=511FD091641EF49C64756E2164756E21