@adriansteffan/reactive 0.1.20 → 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.
- package/dist/{mod-BSkJXjbN.js → mod-BqHlEEiK.js} +1075 -1072
- package/dist/mod.d.ts +6 -2
- package/dist/reactive.es.js +1 -1
- package/dist/reactive.umd.js +27 -27
- package/dist/{web-CpudSS-g.js → web-DUk2Ckc5.js} +1 -1
- package/dist/{web-XQ140ulJ.js → web-Dg20aI02.js} +1 -1
- package/package.json +1 -1
- package/src/components/quest.tsx +7 -3
- package/src/components/tutorial.tsx +4 -1
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;
|
|
@@ -515,7 +517,7 @@ export declare interface TrialData {
|
|
|
515
517
|
|
|
516
518
|
declare type TrialResult = ComponentResultData | CanvasResultData;
|
|
517
519
|
|
|
518
|
-
export declare const Tutorial: ({ next, slides, fadeDuration, finishText, containerClass, nextKey, backKey, theme, }: TutorialProps) => JSX_2.Element;
|
|
520
|
+
export declare const Tutorial: ({ next, slides, fadeDuration, finishText, containerClass, animate, nextKey, backKey, theme, }: TutorialProps) => JSX_2.Element;
|
|
519
521
|
|
|
520
522
|
export declare interface TutorialProps extends BaseComponentProps {
|
|
521
523
|
slides: ReactNode[];
|
|
@@ -527,6 +529,8 @@ export declare interface TutorialProps extends BaseComponentProps {
|
|
|
527
529
|
nextKey?: string | false;
|
|
528
530
|
/** Key to go back (default: 'ArrowLeft', set to false to disable) */
|
|
529
531
|
backKey?: string | false;
|
|
532
|
+
/** Slide-down + fade-in entrance animation (default: false) */
|
|
533
|
+
animate?: boolean;
|
|
530
534
|
/** Color mode for dot indicators (default: 'light') */
|
|
531
535
|
theme?: 'light' | 'dark';
|
|
532
536
|
}
|
package/dist/reactive.es.js
CHANGED
|
@@ -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-
|
|
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,
|