@encatch/web-sdk 0.0.20 → 0.0.22
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 fa, x as Sv, k as lp, t as $v, u as Ds } from "./module-
|
|
1
|
+
import { l as fa, x as Sv, k as lp, t as $v, u as Ds } from "./module-IvPz1_o2.js";
|
|
2
2
|
var os, Ot, yc, yd, ss = 0, up = [], Ut = fa, _d = Ut.__b, xd = Ut.__r, kd = Ut.diffed, Sd = Ut.__c, $d = Ut.unmount, Td = Ut.__;
|
|
3
3
|
function Vl(e, t) {
|
|
4
4
|
Ut.__h && Ut.__h(Ot, e, ss || t), ss = 0;
|
|
@@ -15838,7 +15838,7 @@ function pE(e, t) {
|
|
|
15838
15838
|
var $ = pe(T, 2), M = W($);
|
|
15839
15839
|
gr(M, 5, () => l(n), Er, (K, H) => {
|
|
15840
15840
|
{
|
|
15841
|
-
let U = /* @__PURE__ */ Oe(() => `flex-1 min-w-0 h-8 xs:h-9 sm:h-10 text-xs xs:text-sm sm:text-base font-semibold transition-all ${l(h) === l(H) ? "bg-primary/
|
|
15841
|
+
let U = /* @__PURE__ */ Oe(() => `flex-1 min-w-0 h-8 xs:h-9 sm:h-10 text-xs xs:text-sm sm:text-base font-semibold transition-all hover:bg-primary/20 hover:text-primary border ${l(h) === l(H) ? "bg-primary/20! dark:bg-primary/40! text-primary border-primary" : "bg-card text-card-foreground hover:border-primary"}`);
|
|
15842
15842
|
Dt(K, {
|
|
15843
15843
|
type: "button",
|
|
15844
15844
|
variant: "outline",
|
|
@@ -18671,7 +18671,7 @@ function WL(e, t) {
|
|
|
18671
18671
|
Er,
|
|
18672
18672
|
(G, Z) => {
|
|
18673
18673
|
{
|
|
18674
|
-
let xe = /* @__PURE__ */ Oe(() => (l(c), l(Z), D(() => `justify-start text-left px-4 py-6 text-sm font-medium transition-all rounded-lg shadow-none relative ${l(c) === l(Z).value ? "bg-primary/10 text-primary border-primary
|
|
18674
|
+
let xe = /* @__PURE__ */ Oe(() => (l(c), l(Z), D(() => `justify-start text-left px-4 py-6 text-sm font-medium transition-all rounded-lg shadow-none relative hover:bg-primary/20 hover:text-primary border ${l(c) === l(Z).value ? "bg-primary/10 text-primary border-primary " : "bg-card text-card-foreground hover:border-primary"}`)));
|
|
18675
18675
|
Dt(G, {
|
|
18676
18676
|
type: "button",
|
|
18677
18677
|
variant: "outline",
|
|
@@ -19195,7 +19195,7 @@ function vN(e, t) {
|
|
|
19195
19195
|
(Ze, He) => {
|
|
19196
19196
|
const Ke = /* @__PURE__ */ Oe(() => (l(m), l(He), D(() => l(m).includes(l(He).value)))), Ye = /* @__PURE__ */ Oe(() => (I(o()), l(m), I(l(Ke)), D(() => o().maxSelections !== void 0 && l(m).length >= o().maxSelections && !l(Ke))));
|
|
19197
19197
|
{
|
|
19198
|
-
let Ue = /* @__PURE__ */ Oe(() => `justify-start text-left px-4 py-6 text-sm font-medium transition-all rounded-lg shadow-none relative ${l(Ke) ? "bg-primary/10 text-primary border-primary
|
|
19198
|
+
let Ue = /* @__PURE__ */ Oe(() => `justify-start text-left px-4 py-6 text-sm font-medium transition-all rounded-lg shadow-none relative hover:bg-primary/20 hover:text-primary border ${l(Ke) ? "bg-primary/10 text-primary border-primary" : "bg-card text-card-foreground hover:border-primary"} ${l(Ye) ? "opacity-50 cursor-not-allowed" : ""}`);
|
|
19199
19199
|
Dt(Ze, {
|
|
19200
19200
|
type: "button",
|
|
19201
19201
|
variant: "outline",
|
|
@@ -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-CmIph30R.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.22",
|
|
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",
|