@syntrologie/runtime-sdk 2.8.0-canary.49 → 2.8.0-canary.50

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/index.js CHANGED
@@ -103,7 +103,7 @@ import {
103
103
  validateEventName,
104
104
  validateProps,
105
105
  widgetRegistry
106
- } from "./chunk-XMTKLKVB.js";
106
+ } from "./chunk-MQ3RNLXB.js";
107
107
  import {
108
108
  AddClassZ,
109
109
  AnchorIdZ,
@@ -2339,20 +2339,6 @@ var FAQMountableWidget = {
2339
2339
  root.unmount();
2340
2340
  };
2341
2341
  }
2342
- const questions = faqConfig.actions || [];
2343
- container.innerHTML = `
2344
- <div style="font-family: system-ui; max-width: 800px;">
2345
- ${questions.map((q2) => `
2346
- <div style="margin-bottom: 8px; padding: 16px; background: ${slateGrey[12]}; border-radius: 8px;">
2347
- <strong>${q2.config.question}</strong>
2348
- <p style="margin-top: 8px; color: ${slateGrey[6]};">${getAnswerText(q2.config.answer)}</p>
2349
- </div>
2350
- `).join("")}
2351
- </div>
2352
- `;
2353
- return () => {
2354
- container.innerHTML = "";
2355
- };
2356
2342
  }
2357
2343
  };
2358
2344
 
@@ -2833,21 +2819,6 @@ var NavMountableWidget = {
2833
2819
  root.unmount();
2834
2820
  };
2835
2821
  }
2836
- const tips = navConfig.actions || [];
2837
- container.innerHTML = `
2838
- <div style="font-family: system-ui; max-width: 100%;">
2839
- ${tips.map((tip) => `
2840
- <div style="margin-bottom: 4px; padding: 12px 16px; background: ${slateGrey[12]}; border-radius: 8px;">
2841
- ${tip.config.icon ? `<span>${renderIcon(tip.config.icon)}</span> ` : ""}<strong>${escapeHtml(tip.config.title)}</strong>
2842
- <p style="margin-top: 8px; color: ${slateGrey[6]}; font-size: 13px;">${escapeHtml(tip.config.description)}</p>
2843
- ${tip.config.href ? `<a href="${escapeHtml(tip.config.href)}" style="color: ${purple[2]}; font-size: 13px;">Go &rarr;</a>` : ""}
2844
- </div>
2845
- `).join("")}
2846
- </div>
2847
- `;
2848
- return () => {
2849
- container.innerHTML = "";
2850
- };
2851
2822
  }
2852
2823
  };
2853
2824