@adriansteffan/reactive 0.1.21 → 0.1.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.
@@ -70438,25 +70438,27 @@ const Bce = (i, e) => {
70438
70438
  function $ce({
70439
70439
  next: i,
70440
70440
  surveyJson: e,
70441
- customQuestions: t = {}
70441
+ customQuestions: t = {},
70442
+ theme: s,
70443
+ containerClass: r
70442
70444
  }) {
70443
- Object.keys(t).forEach((n) => {
70444
- Bce(n, t[n]);
70445
+ Object.keys(t).forEach((o) => {
70446
+ Bce(o, t[o]);
70445
70447
  });
70446
- const s = new ze({
70448
+ const n = new ze({
70447
70449
  ...e,
70448
70450
  css: { ...Rc, root: "sd-root-modern custom-root" }
70449
70451
  });
70450
- s.applyTheme(qce);
70451
- const r = Xe(
70452
- (n) => {
70453
- i({ ...n.data });
70452
+ n.applyTheme(s ?? qce);
70453
+ const a = Xe(
70454
+ (o) => {
70455
+ i({ ...o.data });
70454
70456
  },
70455
70457
  [i]
70456
70458
  );
70457
- return s.onComplete.add(r), /* @__PURE__ */ R.jsxs("div", { className: "max-w-4xl mx-auto px-4", children: [
70458
- /* @__PURE__ */ R.jsx("div", { className: "absolute inset-0 -z-10 h-full w-full bg-white bg-[radial-gradient(#e5e7eb_1px,transparent_1px)] [background-size:16px_16px]" }),
70459
- /* @__PURE__ */ R.jsx(_S, { model: s })
70459
+ return n.onComplete.add(a), /* @__PURE__ */ R.jsxs("div", { className: `max-w-4xl mx-auto px-4 ${r ?? ""}`, children: [
70460
+ !r && /* @__PURE__ */ R.jsx("div", { className: "absolute inset-0 -z-10 h-full w-full bg-white bg-[radial-gradient(#e5e7eb_1px,transparent_1px)] [background-size:16px_16px]" }),
70461
+ /* @__PURE__ */ R.jsx(_S, { model: n })
70460
70462
  ] });
70461
70463
  }
70462
70464
  var Du = class {
@@ -78640,7 +78642,7 @@ var Ym;
78640
78642
  i.UTF8 = "utf8", i.ASCII = "ascii", i.UTF16 = "utf16";
78641
78643
  })(Ym || (Ym = {}));
78642
78644
  const Ea = wu("Filesystem", {
78643
- web: () => import("./web-_052v_pG.js").then((i) => new i.FilesystemWeb())
78645
+ web: () => import("./web-DUk2Ckc5.js").then((i) => new i.FilesystemWeb())
78644
78646
  });
78645
78647
  vi("Upload", async (i, e, t, s) => {
78646
78648
  const r = i.sessionID || `sim_${Date.now()}_${Math.floor(Lt(0, 2176782336)).toString(36)}`, n = VV({
@@ -78903,7 +78905,7 @@ var iw;
78903
78905
  i.None = "NONE", i.Slide = "SLIDE", i.Fade = "FADE";
78904
78906
  })(iw || (iw = {}));
78905
78907
  const t7 = wu("StatusBar"), s7 = wu("ImmersiveMode", {
78906
- web: () => import("./web-BpGTOJKj.js").then((i) => new i.ImmersiveModeWeb())
78908
+ web: () => import("./web-Dg20aI02.js").then((i) => new i.ImmersiveModeWeb())
78907
78909
  });
78908
78910
  Ai("EnterFullscreen", "session");
78909
78911
  vi("EnterFullscreen", xu, {});
package/dist/mod.d.ts CHANGED
@@ -290,10 +290,12 @@ export declare function ProlificEnding({ prolificCode, className, containerClass
290
290
  animate?: boolean;
291
291
  } & BaseComponentProps): JSX_2.Element;
292
292
 
293
- export declare function Quest({ next, surveyJson, customQuestions, }: {
293
+ export declare function Quest({ next, surveyJson, customQuestions, theme, containerClass, }: {
294
294
  next: (data: object) => void;
295
295
  surveyJson: object;
296
296
  customQuestions?: ComponentsMap;
297
+ theme?: any;
298
+ containerClass?: string;
297
299
  }): JSX_2.Element;
298
300
 
299
301
  export declare const RandomDotKinematogram: (rawProps: RDKProps) => JSX_2.Element;
@@ -1,4 +1,4 @@
1
- import { H as e, C as t, a as i, c as r, d as n, e as o, f as l, Y as m, z as u, M as c, P as p, g as P, h as g, Q as d, R as C, i as D, j as T, F as x, T as h, k, l as E, U as F, X as S, m as f, n as v, o as B, p as R, q as b, r as y, s as I, t as M, u as U, v as w, w as K, x as q, y as A, A as Q, B as Z, D as j, G as z, I as G, J as H, K as J, L, N, O, S as V, V as X, Z as Y, _, $, a0 as W, a1 as aa, a2 as sa, a3 as ea, a4 as ta, a5 as ia, a6 as ra, a7 as na, a8 as oa, a9 as la, aa as ma, ab as ua } from "./mod-C-Og4rU7.js";
1
+ import { H as e, C as t, a as i, c as r, d as n, e as o, f as l, Y as m, z as u, M as c, P as p, g as P, h as g, Q as d, R as C, i as D, j as T, F as x, T as h, k, l as E, U as F, X as S, m as f, n as v, o as B, p as R, q as b, r as y, s as I, t as M, u as U, v as w, w as K, x as q, y as A, A as Q, B as Z, D as j, G as z, I as G, J as H, K as J, L, N, O, S as V, V as X, Z as Y, _, $, a0 as W, a1 as aa, a2 as sa, a3 as ea, a4 as ta, a5 as ia, a6 as ra, a7 as na, a8 as oa, a9 as la, aa as ma, ab as ua } from "./mod-BqHlEEiK.js";
2
2
  export {
3
3
  e as Bounce,
4
4
  t as CanvasBlock,