@adriansteffan/reactive 0.1.30 → 0.1.32

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.d.ts CHANGED
@@ -355,6 +355,20 @@ export declare interface RDKCanvasProps {
355
355
  className?: string;
356
356
  }
357
357
 
358
+ export declare interface RDKFeedback {
359
+ /** Shown when rt === null (no response within duration) */
360
+ onTimeout?: RDKMessage;
361
+ /** Shown when the response was incorrect (correct === false) */
362
+ onIncorrect?: RDKMessage;
363
+ /** Shown when the response was correct (correct === true) */
364
+ onCorrect?: RDKMessage;
365
+ }
366
+
367
+ export declare interface RDKMessage {
368
+ content: string;
369
+ duration: number;
370
+ }
371
+
358
372
  export declare interface RDKProps extends BaseComponentProps {
359
373
  validKeys?: string[];
360
374
  correctResponse?: string | string[];
@@ -392,6 +406,10 @@ export declare interface RDKProps extends BaseComponentProps {
392
406
  borderWidth?: number;
393
407
  borderColor?: string;
394
408
  responseHint?: string;
409
+ /** Timed message shown before the fixation cross. Useful for per-trial condition cues. */
410
+ preTrialMessage?: RDKMessage;
411
+ /** Post-response feedback. Evaluated after response/timeout, displayed before calling next(). */
412
+ feedback?: RDKFeedback;
395
413
  }
396
414
 
397
415
  /**
@@ -1,4 +1,4 @@
1
- import { H as e, C as t, a as i, D as n, c as r, d as o, e as l, f as m, Y as u, z as c, M as p, P as g, g as P, h as T, Q as d, R as C, i as D, j as h, F as x, T as E, k as S, l as f, m as k, n as F, U as v, X as B, o as R, p as M, q as b, r as y, s as A, t as I, u as K, v as U, w, x as _, y as q, A as G, B as H, G as L, I as Q, J as Z, K as j, L as z, N as J, O as N, S as O, V, Z as X, _ as Y, $, a0 as W, a1 as aa, a2 as sa, a3 as ea, a4 as ta, a5 as ia, a6 as na, a7 as ra, a8 as oa, a9 as la, aa as ma, ab as ua, ac as ca, ad as pa, ae as ga, af as Pa, ag as Ta } from "./mod-CUZcjHfZ.js";
1
+ import { H as e, C as t, a as i, D as n, c as r, d as o, e as l, f as m, Y as u, z as c, M as p, P as g, g as P, h as T, Q as d, R as C, i as D, j as h, F as x, T as E, k as S, l as f, m as k, n as F, U as v, X as B, o as R, p as M, q as b, r as y, s as A, t as I, u as K, v as U, w, x as _, y as q, A as G, B as H, G as L, I as Q, J as Z, K as j, L as z, N as J, O as N, S as O, V, Z as X, _ as Y, $, a0 as W, a1 as aa, a2 as sa, a3 as ea, a4 as ta, a5 as ia, a6 as na, a7 as ra, a8 as oa, a9 as la, aa as ma, ab as ua, ac as ca, ad as pa, ae as ga, af as Pa, ag as Ta } from "./mod-BstzgRJu.js";
2
2
  export {
3
3
  e as Bounce,
4
4
  t as CanvasBlock,