@encatch/web-sdk 0.0.30 → 0.0.31
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,4 +1,4 @@
|
|
|
1
|
-
import { l as oa, x as Zb, k as Ph, t as Wb, u as As } from "./module-
|
|
1
|
+
import { l as oa, x as Zb, k as Ph, t as Wb, u as As } from "./module-zfe94gwZ.js";
|
|
2
2
|
var Jo, Dt, hc, td, Xo = 0, Fh = [], Ut = oa, rd = Ut.__b, nd = Ut.__r, id = Ut.diffed, od = Ut.__c, sd = Ut.unmount, ad = Ut.__;
|
|
3
3
|
function ql(e, t) {
|
|
4
4
|
Ut.__h && Ut.__h(Dt, e, Xo || t), Xo = 0;
|
|
@@ -21008,7 +21008,7 @@ function kN(e, t) {
|
|
|
21008
21008
|
{
|
|
21009
21009
|
var G = (k) => {
|
|
21010
21010
|
var K = _N();
|
|
21011
|
-
_e(() => gs(K, `background-color: ${E(s()), E(o()), q(() => s().appearanceProperties.themes[o()]
|
|
21011
|
+
_e(() => gs(K, `background-color: ${E(s()), E(o()), q(() => s().appearanceProperties.themes?.[o()]?.overlayColor) ?? ""}; z-index: 1000; opacity: ${l(_) ? "0.4" : "0"};`)), O(k, K);
|
|
21012
21012
|
};
|
|
21013
21013
|
se(H, (k) => {
|
|
21014
21014
|
E(s()), q(() => s()?.appearanceProperties?.featureSettings?.darkOverlay) && k(G);
|
|
@@ -21018,9 +21018,9 @@ function kN(e, t) {
|
|
|
21018
21018
|
{
|
|
21019
21019
|
var T = (k) => {
|
|
21020
21020
|
Ft(k, {
|
|
21021
|
-
variant: "
|
|
21021
|
+
variant: "link",
|
|
21022
21022
|
size: "icon",
|
|
21023
|
-
class: "absolute top-3 right-3 z-10 h-8 w-8 rounded border-none
|
|
21023
|
+
class: "absolute top-3 right-3 z-10 h-8 w-8 rounded border-none text-muted-foreground hover:no-underline",
|
|
21024
21024
|
onclick: P,
|
|
21025
21025
|
"aria-label": "Close popup",
|
|
21026
21026
|
children: (K, B) => {
|
|
@@ -319,7 +319,7 @@ async function Ee() {
|
|
|
319
319
|
if (!(te || typeof window > "u" || typeof document > "u")) {
|
|
320
320
|
te = !0;
|
|
321
321
|
try {
|
|
322
|
-
const { render: t } = await Promise.resolve().then(() => be), e = (await import("./core-wrapper-
|
|
322
|
+
const { render: t } = await Promise.resolve().then(() => be), e = (await import("./core-wrapper-0ujPiX8W.js")).default;
|
|
323
323
|
if (typeof document > "u") return;
|
|
324
324
|
let n = document.getElementById("enisght-root");
|
|
325
325
|
!n && document.body && (n = document.createElement("div"), n.id = "enisght-root", document.body.appendChild(n)), n && t(/* @__PURE__ */ Se(e, {}), n);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@encatch/web-sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.31",
|
|
4
4
|
"description": "A powerful, lightweight JavaScript SDK for collecting user feedback and running surveys on web applications",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist-sdk/plugin/sdk/module.js",
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
"@preact/preset-vite": "^2.10.2",
|
|
55
55
|
"vite": "^7.2.4",
|
|
56
56
|
"@encatch/web-form-engine-core": "0.0.0",
|
|
57
|
-
"@encatch/schema": "0.1.36",
|
|
58
57
|
"@encatch/api-sdk": "0.0.10",
|
|
58
|
+
"@encatch/schema": "0.1.36",
|
|
59
59
|
"@encatch/event-publisher": "0.0.1"
|
|
60
60
|
},
|
|
61
61
|
"eslintConfig": {
|