@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.
- package/dist/components/index.js +43 -8
- package/dist/components/index.js.map +4 -4
- package/dist/components/settings/SettingsSidebar.d.ts.map +1 -1
- package/dist/hooks/index.js +4 -1
- package/dist/hooks/index.js.map +3 -3
- package/dist/hooks/usePreferences.d.ts.map +1 -1
- package/dist/index.js +43 -8
- package/dist/index.js.map +4 -4
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SettingsSidebar.d.ts","sourceRoot":"","sources":["../../../src/components/settings/SettingsSidebar.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SettingsSidebar.d.ts","sourceRoot":"","sources":["../../../src/components/settings/SettingsSidebar.tsx"],"names":[],"mappings":"AA2pBA,eAAO,MAAM,eAAe,8CAmM1B,CAAC"}
|
package/dist/hooks/index.js
CHANGED
|
@@ -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=
|
|
5193
|
+
//# debugId=511FD091641EF49C64756E2164756E21
|