@magicfeedback/popup-sdk 1.0.6 → 1.0.7
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/assets/assets/style.css +1 -0
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1868,7 +1868,7 @@ async function renderPopup(container, surveyId, productId, actions, emit, onClos
|
|
|
1868
1868
|
footer.setAttribute("data-actions-wrapper", "true");
|
|
1869
1869
|
footer.style.cssText = "display:flex; flex-direction: row-reverse ;justify-content:space-between; align-items:center; gap:8px; margin-top:auto; width:100%; padding-top:16px;";
|
|
1870
1870
|
const backButton = document.createElement("button");
|
|
1871
|
-
backButton.textContent = "Back";
|
|
1871
|
+
backButton.textContent = actions?.back ? actions.back.label : "Back";
|
|
1872
1872
|
backButton.style.cssText = `
|
|
1873
1873
|
background: transparent;
|
|
1874
1874
|
color: #333;
|
|
@@ -1969,9 +1969,9 @@ async function renderPopup(container, surveyId, productId, actions, emit, onClos
|
|
|
1969
1969
|
startButton.style.display = "none";
|
|
1970
1970
|
submitButton.style.display = "none";
|
|
1971
1971
|
closeButton.style.display = "none";
|
|
1972
|
+
footer.appendChild(submitButton);
|
|
1972
1973
|
footer.appendChild(backButton);
|
|
1973
1974
|
footer.appendChild(closeButton);
|
|
1974
|
-
footer.appendChild(submitButton);
|
|
1975
1975
|
footer.appendChild(startButton);
|
|
1976
1976
|
main.appendChild(footer);
|
|
1977
1977
|
containerContent.appendChild(main);
|