@magicfeedback/popup-sdk 1.22.0 → 1.22.1
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/{chunk-7PVEXIUG.mjs → chunk-4TNJ2IBB.mjs} +2 -2
- package/dist/{chunk-36KEHE2P.mjs → chunk-5UURWEOR.mjs} +2 -2
- package/dist/{chunk-4MUHUL7W.mjs → chunk-6HPKIMVM.mjs} +2 -2
- package/dist/index.js +7 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -4
- package/dist/index.mjs.map +1 -1
- package/dist/index.native.js +7 -2
- package/dist/index.native.js.map +1 -1
- package/dist/index.native.mjs +6 -4
- package/dist/index.native.mjs.map +1 -1
- package/dist/react-native.js +7 -2
- package/dist/react-native.js.map +1 -1
- package/dist/react-native.mjs +6 -4
- package/dist/react-native.mjs.map +1 -1
- package/dist/{renderPopup-VS5XFGTI.mjs → renderPopup-L5TROMDQ.mjs} +5 -2
- package/dist/{renderPopup-5VVYPKXP.mjs.map → renderPopup-L5TROMDQ.mjs.map} +1 -1
- package/dist/{renderPopup-I3LIC3W3.mjs → renderPopup-SFDIFFUT.mjs} +5 -2
- package/dist/{renderPopup-I3LIC3W3.mjs.map → renderPopup-SFDIFFUT.mjs.map} +1 -1
- package/dist/{renderPopup-5VVYPKXP.mjs → renderPopup-UXD7L3FX.mjs} +5 -2
- package/dist/{renderPopup-VS5XFGTI.mjs.map → renderPopup-UXD7L3FX.mjs.map} +1 -1
- package/package.json +1 -1
- /package/dist/{chunk-7PVEXIUG.mjs.map → chunk-4TNJ2IBB.mjs.map} +0 -0
- /package/dist/{chunk-36KEHE2P.mjs.map → chunk-5UURWEOR.mjs.map} +0 -0
- /package/dist/{chunk-4MUHUL7W.mjs.map → chunk-6HPKIMVM.mjs.map} +0 -0
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
style_default,
|
|
23
23
|
surveySdkUrls,
|
|
24
24
|
systemPrefersDark
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-6HPKIMVM.mjs";
|
|
26
26
|
import {
|
|
27
27
|
__commonJS,
|
|
28
28
|
__toESM
|
|
@@ -3737,6 +3737,9 @@ async function renderPopup(container, surveyId, productId, actions, emit, onClos
|
|
|
3737
3737
|
done.style.cssText = `width:100%; text-align:center; padding:24px 0; color:${theme.textPrimary};`;
|
|
3738
3738
|
main.insertBefore(done, errorHint);
|
|
3739
3739
|
}
|
|
3740
|
+
done.style.color = theme.textPrimary;
|
|
3741
|
+
if (theme.colorScheme === "dark") done.style.setProperty("--mf-text-secondary", theme.textPrimary);
|
|
3742
|
+
else done.style.removeProperty("--mf-text-secondary");
|
|
3740
3743
|
done.innerHTML = successMessageHtml || "<p>Thank you for your feedback!</p>";
|
|
3741
3744
|
done.querySelectorAll("img").forEach((img) => {
|
|
3742
3745
|
img.style.cssText = "max-width:100%; height:auto; margin:0 auto 16px auto; display:block;";
|
|
@@ -3995,4 +3998,4 @@ export {
|
|
|
3995
3998
|
SURVEY_ALIGNMENT_STYLE_ID,
|
|
3996
3999
|
renderPopup
|
|
3997
4000
|
};
|
|
3998
|
-
//# sourceMappingURL=renderPopup-
|
|
4001
|
+
//# sourceMappingURL=renderPopup-L5TROMDQ.mjs.map
|