@gxpl/sdk 0.0.54 → 0.0.57

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.
Files changed (34) hide show
  1. package/lib/sdk/schemas/article/ItemBase.schema.d.ts +180 -10
  2. package/lib/sdk/schemas/article/ItemBase.schema.js +26 -8
  3. package/lib/sdk/schemas/article/RichTextItem.schema.d.ts +76 -6
  4. package/lib/sdk/schemas/project/Project.schema.d.ts +46 -11
  5. package/lib/sdk/schemas/project/Project.schema.js +14 -3
  6. package/lib/sdk/transitions/transitionMachine.d.ts +104 -0
  7. package/lib/sdk/transitions/transitionMachine.js +19 -17
  8. package/lib/sdk/transitions/utils/getInstantTransitionParams.d.ts +36 -0
  9. package/lib/sdk/transitions/utils/getInstantTransitionParams.js +29 -0
  10. package/lib/sdk/transitions/utils/getScenesOnEnd.d.ts +13 -0
  11. package/lib/sdk/transitions/utils/getScenesOnEnd.js +22 -0
  12. package/lib/sdk/transitions/utils/getScenesOnInstantTransition.js +26 -3
  13. package/lib/sdk/transitions/utils/getScenesOnProgressUpdate.d.ts +13 -0
  14. package/lib/sdk/transitions/utils/getScenesOnProgressUpdate.js +7 -0
  15. package/lib/sdk/transitions/utils/getScenesOnStart.d.ts +1 -0
  16. package/lib/sdk/transitions/utils/getScenesOnStart.js +24 -4
  17. package/lib/sdk/transitions/utils/getTransitionFromLink.d.ts +23 -0
  18. package/lib/sdk/transitions/utils/getTransitionFromLink.js +31 -0
  19. package/lib/sdk/transitions/utils/getTransitionFromRelation.d.ts +17 -0
  20. package/lib/sdk/transitions/utils/getTransitionFromRelation.js +26 -0
  21. package/lib/sdk/transitions/utils/getTransitionParams.d.ts +20 -0
  22. package/lib/sdk/transitions/utils/getTransitionParams.js +29 -0
  23. package/lib/sdk/transitions/utils/types.d.ts +56 -14
  24. package/lib/sdk/types/article/Item.d.ts +16 -3
  25. package/lib/sdk/types/project/Relation.d.ts +19 -4
  26. package/lib/sdk-nextjs/components/Preview/Preview.js +4 -7
  27. package/lib/sdk-nextjs/components/Preview/PreviewListener.js +2 -8
  28. package/lib/sdk-nextjs/components/Scene.d.ts +1 -0
  29. package/lib/sdk-nextjs/components/Scene.js +8 -5
  30. package/lib/sdk-nextjs/components/items/LinkWrapper.js +3 -7
  31. package/lib/sdk-nextjs/provider/TransitionMachineContext.d.ts +384 -0
  32. package/lib/sdk-nextjs/utils/RichTextConverter/RichTextConverter.d.ts +1 -0
  33. package/lib/sdk-nextjs/utils/RichTextConverter/RichTextConverter.js +31 -8
  34. package/package.json +1 -1
@@ -11,6 +11,14 @@ export declare const TransitionMachineContext: {
11
11
  to: string;
12
12
  direction: import("../../sdk/transitions/utils/types").Direction;
13
13
  duration: number;
14
+ } | {
15
+ type: "TRANSITION_TRIGGER";
16
+ transition: "reveal";
17
+ to: string;
18
+ direction: import("../../sdk/transitions/utils/types").Direction;
19
+ duration: number;
20
+ offset: number;
21
+ mode: "normal" | "reverse";
14
22
  } | {
15
23
  type: "TRANSITION_TRIGGER";
16
24
  transition: "fade";
@@ -82,6 +90,14 @@ export declare const TransitionMachineContext: {
82
90
  to: string;
83
91
  direction: import("../../sdk/transitions/utils/types").Direction;
84
92
  duration: number;
93
+ } | {
94
+ type: "TRANSITION_TRIGGER";
95
+ transition: "reveal";
96
+ to: string;
97
+ direction: import("../../sdk/transitions/utils/types").Direction;
98
+ duration: number;
99
+ offset: number;
100
+ mode: "normal" | "reverse";
85
101
  } | {
86
102
  type: "TRANSITION_TRIGGER";
87
103
  transition: "fade";
@@ -118,6 +134,14 @@ export declare const TransitionMachineContext: {
118
134
  to: string;
119
135
  direction: import("../../sdk/transitions/utils/types").Direction;
120
136
  duration: number;
137
+ } | {
138
+ type: "TRANSITION_TRIGGER";
139
+ transition: "reveal";
140
+ to: string;
141
+ direction: import("../../sdk/transitions/utils/types").Direction;
142
+ duration: number;
143
+ offset: number;
144
+ mode: "normal" | "reverse";
121
145
  } | {
122
146
  type: "TRANSITION_TRIGGER";
123
147
  transition: "fade";
@@ -177,6 +201,14 @@ export declare const TransitionMachineContext: {
177
201
  to: string;
178
202
  direction: import("../../sdk/transitions/utils/types").Direction;
179
203
  duration: number;
204
+ } | {
205
+ type: "TRANSITION_TRIGGER";
206
+ transition: "reveal";
207
+ to: string;
208
+ direction: import("../../sdk/transitions/utils/types").Direction;
209
+ duration: number;
210
+ offset: number;
211
+ mode: "normal" | "reverse";
180
212
  } | {
181
213
  type: "TRANSITION_TRIGGER";
182
214
  transition: "fade";
@@ -215,6 +247,14 @@ export declare const TransitionMachineContext: {
215
247
  to: string;
216
248
  direction: import("../../sdk/transitions/utils/types").Direction;
217
249
  duration: number;
250
+ } | {
251
+ type: "TRANSITION_TRIGGER";
252
+ transition: "reveal";
253
+ to: string;
254
+ direction: import("../../sdk/transitions/utils/types").Direction;
255
+ duration: number;
256
+ offset: number;
257
+ mode: "normal" | "reverse";
218
258
  } | {
219
259
  type: "TRANSITION_TRIGGER";
220
260
  transition: "fade";
@@ -232,6 +272,14 @@ export declare const TransitionMachineContext: {
232
272
  to: string;
233
273
  direction: import("../../sdk/transitions/utils/types").Direction;
234
274
  duration: number;
275
+ } | {
276
+ type: "TRANSITION_TRIGGER";
277
+ transition: "reveal";
278
+ to: string;
279
+ direction: import("../../sdk/transitions/utils/types").Direction;
280
+ duration: number;
281
+ offset: number;
282
+ mode: "normal" | "reverse";
235
283
  } | {
236
284
  type: "TRANSITION_TRIGGER";
237
285
  transition: "fade";
@@ -287,6 +335,14 @@ export declare const TransitionMachineContext: {
287
335
  to: string;
288
336
  direction: import("../../sdk/transitions/utils/types").Direction;
289
337
  duration: number;
338
+ } | {
339
+ type: "TRANSITION_TRIGGER";
340
+ transition: "reveal";
341
+ to: string;
342
+ direction: import("../../sdk/transitions/utils/types").Direction;
343
+ duration: number;
344
+ offset: number;
345
+ mode: "normal" | "reverse";
290
346
  } | {
291
347
  type: "TRANSITION_TRIGGER";
292
348
  transition: "fade";
@@ -333,6 +389,14 @@ export declare const TransitionMachineContext: {
333
389
  to: string;
334
390
  direction: import("../../sdk/transitions/utils/types").Direction;
335
391
  duration: number;
392
+ } | {
393
+ type: "TRANSITION_TRIGGER";
394
+ transition: "reveal";
395
+ to: string;
396
+ direction: import("../../sdk/transitions/utils/types").Direction;
397
+ duration: number;
398
+ offset: number;
399
+ mode: "normal" | "reverse";
336
400
  } | {
337
401
  type: "TRANSITION_TRIGGER";
338
402
  transition: "fade";
@@ -386,6 +450,14 @@ export declare const TransitionMachineContext: {
386
450
  to: string;
387
451
  direction: import("../../sdk/transitions/utils/types").Direction;
388
452
  duration: number;
453
+ } | {
454
+ type: "TRANSITION_TRIGGER";
455
+ transition: "reveal";
456
+ to: string;
457
+ direction: import("../../sdk/transitions/utils/types").Direction;
458
+ duration: number;
459
+ offset: number;
460
+ mode: "normal" | "reverse";
389
461
  } | {
390
462
  type: "TRANSITION_TRIGGER";
391
463
  transition: "fade";
@@ -432,6 +504,14 @@ export declare const TransitionMachineContext: {
432
504
  to: string;
433
505
  direction: import("../../sdk/transitions/utils/types").Direction;
434
506
  duration: number;
507
+ } | {
508
+ type: "TRANSITION_TRIGGER";
509
+ transition: "reveal";
510
+ to: string;
511
+ direction: import("../../sdk/transitions/utils/types").Direction;
512
+ duration: number;
513
+ offset: number;
514
+ mode: "normal" | "reverse";
435
515
  } | {
436
516
  type: "TRANSITION_TRIGGER";
437
517
  transition: "fade";
@@ -481,6 +561,14 @@ export declare const TransitionMachineContext: {
481
561
  to: string;
482
562
  direction: import("../../sdk/transitions/utils/types").Direction;
483
563
  duration: number;
564
+ } | {
565
+ type: "TRANSITION_TRIGGER";
566
+ transition: "reveal";
567
+ to: string;
568
+ direction: import("../../sdk/transitions/utils/types").Direction;
569
+ duration: number;
570
+ offset: number;
571
+ mode: "normal" | "reverse";
484
572
  } | {
485
573
  type: "TRANSITION_TRIGGER";
486
574
  transition: "fade";
@@ -531,6 +619,14 @@ export declare const TransitionMachineContext: {
531
619
  to: string;
532
620
  direction: import("../../sdk/transitions/utils/types").Direction;
533
621
  duration: number;
622
+ } | {
623
+ type: "TRANSITION_TRIGGER";
624
+ transition: "reveal";
625
+ to: string;
626
+ direction: import("../../sdk/transitions/utils/types").Direction;
627
+ duration: number;
628
+ offset: number;
629
+ mode: "normal" | "reverse";
534
630
  } | {
535
631
  type: "TRANSITION_TRIGGER";
536
632
  transition: "fade";
@@ -577,6 +673,14 @@ export declare const TransitionMachineContext: {
577
673
  to: string;
578
674
  direction: import("../../sdk/transitions/utils/types").Direction;
579
675
  duration: number;
676
+ } | {
677
+ type: "TRANSITION_TRIGGER";
678
+ transition: "reveal";
679
+ to: string;
680
+ direction: import("../../sdk/transitions/utils/types").Direction;
681
+ duration: number;
682
+ offset: number;
683
+ mode: "normal" | "reverse";
580
684
  } | {
581
685
  type: "TRANSITION_TRIGGER";
582
686
  transition: "fade";
@@ -652,6 +756,14 @@ export declare const TransitionMachineContext: {
652
756
  to: string;
653
757
  direction: import("../../sdk/transitions/utils/types").Direction;
654
758
  duration: number;
759
+ } | {
760
+ type: "TRANSITION_TRIGGER";
761
+ transition: "reveal";
762
+ to: string;
763
+ direction: import("../../sdk/transitions/utils/types").Direction;
764
+ duration: number;
765
+ offset: number;
766
+ mode: "normal" | "reverse";
655
767
  } | {
656
768
  type: "TRANSITION_TRIGGER";
657
769
  transition: "fade";
@@ -688,6 +800,14 @@ export declare const TransitionMachineContext: {
688
800
  to: string;
689
801
  direction: import("../../sdk/transitions/utils/types").Direction;
690
802
  duration: number;
803
+ } | {
804
+ type: "TRANSITION_TRIGGER";
805
+ transition: "reveal";
806
+ to: string;
807
+ direction: import("../../sdk/transitions/utils/types").Direction;
808
+ duration: number;
809
+ offset: number;
810
+ mode: "normal" | "reverse";
691
811
  } | {
692
812
  type: "TRANSITION_TRIGGER";
693
813
  transition: "fade";
@@ -747,6 +867,14 @@ export declare const TransitionMachineContext: {
747
867
  to: string;
748
868
  direction: import("../../sdk/transitions/utils/types").Direction;
749
869
  duration: number;
870
+ } | {
871
+ type: "TRANSITION_TRIGGER";
872
+ transition: "reveal";
873
+ to: string;
874
+ direction: import("../../sdk/transitions/utils/types").Direction;
875
+ duration: number;
876
+ offset: number;
877
+ mode: "normal" | "reverse";
750
878
  } | {
751
879
  type: "TRANSITION_TRIGGER";
752
880
  transition: "fade";
@@ -785,6 +913,14 @@ export declare const TransitionMachineContext: {
785
913
  to: string;
786
914
  direction: import("../../sdk/transitions/utils/types").Direction;
787
915
  duration: number;
916
+ } | {
917
+ type: "TRANSITION_TRIGGER";
918
+ transition: "reveal";
919
+ to: string;
920
+ direction: import("../../sdk/transitions/utils/types").Direction;
921
+ duration: number;
922
+ offset: number;
923
+ mode: "normal" | "reverse";
788
924
  } | {
789
925
  type: "TRANSITION_TRIGGER";
790
926
  transition: "fade";
@@ -802,6 +938,14 @@ export declare const TransitionMachineContext: {
802
938
  to: string;
803
939
  direction: import("../../sdk/transitions/utils/types").Direction;
804
940
  duration: number;
941
+ } | {
942
+ type: "TRANSITION_TRIGGER";
943
+ transition: "reveal";
944
+ to: string;
945
+ direction: import("../../sdk/transitions/utils/types").Direction;
946
+ duration: number;
947
+ offset: number;
948
+ mode: "normal" | "reverse";
805
949
  } | {
806
950
  type: "TRANSITION_TRIGGER";
807
951
  transition: "fade";
@@ -857,6 +1001,14 @@ export declare const TransitionMachineContext: {
857
1001
  to: string;
858
1002
  direction: import("../../sdk/transitions/utils/types").Direction;
859
1003
  duration: number;
1004
+ } | {
1005
+ type: "TRANSITION_TRIGGER";
1006
+ transition: "reveal";
1007
+ to: string;
1008
+ direction: import("../../sdk/transitions/utils/types").Direction;
1009
+ duration: number;
1010
+ offset: number;
1011
+ mode: "normal" | "reverse";
860
1012
  } | {
861
1013
  type: "TRANSITION_TRIGGER";
862
1014
  transition: "fade";
@@ -903,6 +1055,14 @@ export declare const TransitionMachineContext: {
903
1055
  to: string;
904
1056
  direction: import("../../sdk/transitions/utils/types").Direction;
905
1057
  duration: number;
1058
+ } | {
1059
+ type: "TRANSITION_TRIGGER";
1060
+ transition: "reveal";
1061
+ to: string;
1062
+ direction: import("../../sdk/transitions/utils/types").Direction;
1063
+ duration: number;
1064
+ offset: number;
1065
+ mode: "normal" | "reverse";
906
1066
  } | {
907
1067
  type: "TRANSITION_TRIGGER";
908
1068
  transition: "fade";
@@ -956,6 +1116,14 @@ export declare const TransitionMachineContext: {
956
1116
  to: string;
957
1117
  direction: import("../../sdk/transitions/utils/types").Direction;
958
1118
  duration: number;
1119
+ } | {
1120
+ type: "TRANSITION_TRIGGER";
1121
+ transition: "reveal";
1122
+ to: string;
1123
+ direction: import("../../sdk/transitions/utils/types").Direction;
1124
+ duration: number;
1125
+ offset: number;
1126
+ mode: "normal" | "reverse";
959
1127
  } | {
960
1128
  type: "TRANSITION_TRIGGER";
961
1129
  transition: "fade";
@@ -1002,6 +1170,14 @@ export declare const TransitionMachineContext: {
1002
1170
  to: string;
1003
1171
  direction: import("../../sdk/transitions/utils/types").Direction;
1004
1172
  duration: number;
1173
+ } | {
1174
+ type: "TRANSITION_TRIGGER";
1175
+ transition: "reveal";
1176
+ to: string;
1177
+ direction: import("../../sdk/transitions/utils/types").Direction;
1178
+ duration: number;
1179
+ offset: number;
1180
+ mode: "normal" | "reverse";
1005
1181
  } | {
1006
1182
  type: "TRANSITION_TRIGGER";
1007
1183
  transition: "fade";
@@ -1051,6 +1227,14 @@ export declare const TransitionMachineContext: {
1051
1227
  to: string;
1052
1228
  direction: import("../../sdk/transitions/utils/types").Direction;
1053
1229
  duration: number;
1230
+ } | {
1231
+ type: "TRANSITION_TRIGGER";
1232
+ transition: "reveal";
1233
+ to: string;
1234
+ direction: import("../../sdk/transitions/utils/types").Direction;
1235
+ duration: number;
1236
+ offset: number;
1237
+ mode: "normal" | "reverse";
1054
1238
  } | {
1055
1239
  type: "TRANSITION_TRIGGER";
1056
1240
  transition: "fade";
@@ -1101,6 +1285,14 @@ export declare const TransitionMachineContext: {
1101
1285
  to: string;
1102
1286
  direction: import("../../sdk/transitions/utils/types").Direction;
1103
1287
  duration: number;
1288
+ } | {
1289
+ type: "TRANSITION_TRIGGER";
1290
+ transition: "reveal";
1291
+ to: string;
1292
+ direction: import("../../sdk/transitions/utils/types").Direction;
1293
+ duration: number;
1294
+ offset: number;
1295
+ mode: "normal" | "reverse";
1104
1296
  } | {
1105
1297
  type: "TRANSITION_TRIGGER";
1106
1298
  transition: "fade";
@@ -1149,6 +1341,14 @@ export declare const TransitionMachineContext: {
1149
1341
  to: string;
1150
1342
  direction: import("../../sdk/transitions/utils/types").Direction;
1151
1343
  duration: number;
1344
+ } | {
1345
+ type: "TRANSITION_TRIGGER";
1346
+ transition: "reveal";
1347
+ to: string;
1348
+ direction: import("../../sdk/transitions/utils/types").Direction;
1349
+ duration: number;
1350
+ offset: number;
1351
+ mode: "normal" | "reverse";
1152
1352
  } | {
1153
1353
  type: "TRANSITION_TRIGGER";
1154
1354
  transition: "fade";
@@ -1224,6 +1424,14 @@ export declare const TransitionMachineContext: {
1224
1424
  to: string;
1225
1425
  direction: import("../../sdk/transitions/utils/types").Direction;
1226
1426
  duration: number;
1427
+ } | {
1428
+ type: "TRANSITION_TRIGGER";
1429
+ transition: "reveal";
1430
+ to: string;
1431
+ direction: import("../../sdk/transitions/utils/types").Direction;
1432
+ duration: number;
1433
+ offset: number;
1434
+ mode: "normal" | "reverse";
1227
1435
  } | {
1228
1436
  type: "TRANSITION_TRIGGER";
1229
1437
  transition: "fade";
@@ -1260,6 +1468,14 @@ export declare const TransitionMachineContext: {
1260
1468
  to: string;
1261
1469
  direction: import("../../sdk/transitions/utils/types").Direction;
1262
1470
  duration: number;
1471
+ } | {
1472
+ type: "TRANSITION_TRIGGER";
1473
+ transition: "reveal";
1474
+ to: string;
1475
+ direction: import("../../sdk/transitions/utils/types").Direction;
1476
+ duration: number;
1477
+ offset: number;
1478
+ mode: "normal" | "reverse";
1263
1479
  } | {
1264
1480
  type: "TRANSITION_TRIGGER";
1265
1481
  transition: "fade";
@@ -1319,6 +1535,14 @@ export declare const TransitionMachineContext: {
1319
1535
  to: string;
1320
1536
  direction: import("../../sdk/transitions/utils/types").Direction;
1321
1537
  duration: number;
1538
+ } | {
1539
+ type: "TRANSITION_TRIGGER";
1540
+ transition: "reveal";
1541
+ to: string;
1542
+ direction: import("../../sdk/transitions/utils/types").Direction;
1543
+ duration: number;
1544
+ offset: number;
1545
+ mode: "normal" | "reverse";
1322
1546
  } | {
1323
1547
  type: "TRANSITION_TRIGGER";
1324
1548
  transition: "fade";
@@ -1357,6 +1581,14 @@ export declare const TransitionMachineContext: {
1357
1581
  to: string;
1358
1582
  direction: import("../../sdk/transitions/utils/types").Direction;
1359
1583
  duration: number;
1584
+ } | {
1585
+ type: "TRANSITION_TRIGGER";
1586
+ transition: "reveal";
1587
+ to: string;
1588
+ direction: import("../../sdk/transitions/utils/types").Direction;
1589
+ duration: number;
1590
+ offset: number;
1591
+ mode: "normal" | "reverse";
1360
1592
  } | {
1361
1593
  type: "TRANSITION_TRIGGER";
1362
1594
  transition: "fade";
@@ -1374,6 +1606,14 @@ export declare const TransitionMachineContext: {
1374
1606
  to: string;
1375
1607
  direction: import("../../sdk/transitions/utils/types").Direction;
1376
1608
  duration: number;
1609
+ } | {
1610
+ type: "TRANSITION_TRIGGER";
1611
+ transition: "reveal";
1612
+ to: string;
1613
+ direction: import("../../sdk/transitions/utils/types").Direction;
1614
+ duration: number;
1615
+ offset: number;
1616
+ mode: "normal" | "reverse";
1377
1617
  } | {
1378
1618
  type: "TRANSITION_TRIGGER";
1379
1619
  transition: "fade";
@@ -1429,6 +1669,14 @@ export declare const TransitionMachineContext: {
1429
1669
  to: string;
1430
1670
  direction: import("../../sdk/transitions/utils/types").Direction;
1431
1671
  duration: number;
1672
+ } | {
1673
+ type: "TRANSITION_TRIGGER";
1674
+ transition: "reveal";
1675
+ to: string;
1676
+ direction: import("../../sdk/transitions/utils/types").Direction;
1677
+ duration: number;
1678
+ offset: number;
1679
+ mode: "normal" | "reverse";
1432
1680
  } | {
1433
1681
  type: "TRANSITION_TRIGGER";
1434
1682
  transition: "fade";
@@ -1475,6 +1723,14 @@ export declare const TransitionMachineContext: {
1475
1723
  to: string;
1476
1724
  direction: import("../../sdk/transitions/utils/types").Direction;
1477
1725
  duration: number;
1726
+ } | {
1727
+ type: "TRANSITION_TRIGGER";
1728
+ transition: "reveal";
1729
+ to: string;
1730
+ direction: import("../../sdk/transitions/utils/types").Direction;
1731
+ duration: number;
1732
+ offset: number;
1733
+ mode: "normal" | "reverse";
1478
1734
  } | {
1479
1735
  type: "TRANSITION_TRIGGER";
1480
1736
  transition: "fade";
@@ -1528,6 +1784,14 @@ export declare const TransitionMachineContext: {
1528
1784
  to: string;
1529
1785
  direction: import("../../sdk/transitions/utils/types").Direction;
1530
1786
  duration: number;
1787
+ } | {
1788
+ type: "TRANSITION_TRIGGER";
1789
+ transition: "reveal";
1790
+ to: string;
1791
+ direction: import("../../sdk/transitions/utils/types").Direction;
1792
+ duration: number;
1793
+ offset: number;
1794
+ mode: "normal" | "reverse";
1531
1795
  } | {
1532
1796
  type: "TRANSITION_TRIGGER";
1533
1797
  transition: "fade";
@@ -1574,6 +1838,14 @@ export declare const TransitionMachineContext: {
1574
1838
  to: string;
1575
1839
  direction: import("../../sdk/transitions/utils/types").Direction;
1576
1840
  duration: number;
1841
+ } | {
1842
+ type: "TRANSITION_TRIGGER";
1843
+ transition: "reveal";
1844
+ to: string;
1845
+ direction: import("../../sdk/transitions/utils/types").Direction;
1846
+ duration: number;
1847
+ offset: number;
1848
+ mode: "normal" | "reverse";
1577
1849
  } | {
1578
1850
  type: "TRANSITION_TRIGGER";
1579
1851
  transition: "fade";
@@ -1623,6 +1895,14 @@ export declare const TransitionMachineContext: {
1623
1895
  to: string;
1624
1896
  direction: import("../../sdk/transitions/utils/types").Direction;
1625
1897
  duration: number;
1898
+ } | {
1899
+ type: "TRANSITION_TRIGGER";
1900
+ transition: "reveal";
1901
+ to: string;
1902
+ direction: import("../../sdk/transitions/utils/types").Direction;
1903
+ duration: number;
1904
+ offset: number;
1905
+ mode: "normal" | "reverse";
1626
1906
  } | {
1627
1907
  type: "TRANSITION_TRIGGER";
1628
1908
  transition: "fade";
@@ -1673,6 +1953,14 @@ export declare const TransitionMachineContext: {
1673
1953
  to: string;
1674
1954
  direction: import("../../sdk/transitions/utils/types").Direction;
1675
1955
  duration: number;
1956
+ } | {
1957
+ type: "TRANSITION_TRIGGER";
1958
+ transition: "reveal";
1959
+ to: string;
1960
+ direction: import("../../sdk/transitions/utils/types").Direction;
1961
+ duration: number;
1962
+ offset: number;
1963
+ mode: "normal" | "reverse";
1676
1964
  } | {
1677
1965
  type: "TRANSITION_TRIGGER";
1678
1966
  transition: "fade";
@@ -1720,6 +2008,14 @@ export declare const TransitionMachineContext: {
1720
2008
  to: string;
1721
2009
  direction: import("../../sdk/transitions/utils/types").Direction;
1722
2010
  duration: number;
2011
+ } | {
2012
+ type: "TRANSITION_TRIGGER";
2013
+ transition: "reveal";
2014
+ to: string;
2015
+ direction: import("../../sdk/transitions/utils/types").Direction;
2016
+ duration: number;
2017
+ offset: number;
2018
+ mode: "normal" | "reverse";
1723
2019
  } | {
1724
2020
  type: "TRANSITION_TRIGGER";
1725
2021
  transition: "fade";
@@ -1795,6 +2091,14 @@ export declare const TransitionMachineContext: {
1795
2091
  to: string;
1796
2092
  direction: import("../../sdk/transitions/utils/types").Direction;
1797
2093
  duration: number;
2094
+ } | {
2095
+ type: "TRANSITION_TRIGGER";
2096
+ transition: "reveal";
2097
+ to: string;
2098
+ direction: import("../../sdk/transitions/utils/types").Direction;
2099
+ duration: number;
2100
+ offset: number;
2101
+ mode: "normal" | "reverse";
1798
2102
  } | {
1799
2103
  type: "TRANSITION_TRIGGER";
1800
2104
  transition: "fade";
@@ -1831,6 +2135,14 @@ export declare const TransitionMachineContext: {
1831
2135
  to: string;
1832
2136
  direction: import("../../sdk/transitions/utils/types").Direction;
1833
2137
  duration: number;
2138
+ } | {
2139
+ type: "TRANSITION_TRIGGER";
2140
+ transition: "reveal";
2141
+ to: string;
2142
+ direction: import("../../sdk/transitions/utils/types").Direction;
2143
+ duration: number;
2144
+ offset: number;
2145
+ mode: "normal" | "reverse";
1834
2146
  } | {
1835
2147
  type: "TRANSITION_TRIGGER";
1836
2148
  transition: "fade";
@@ -1890,6 +2202,14 @@ export declare const TransitionMachineContext: {
1890
2202
  to: string;
1891
2203
  direction: import("../../sdk/transitions/utils/types").Direction;
1892
2204
  duration: number;
2205
+ } | {
2206
+ type: "TRANSITION_TRIGGER";
2207
+ transition: "reveal";
2208
+ to: string;
2209
+ direction: import("../../sdk/transitions/utils/types").Direction;
2210
+ duration: number;
2211
+ offset: number;
2212
+ mode: "normal" | "reverse";
1893
2213
  } | {
1894
2214
  type: "TRANSITION_TRIGGER";
1895
2215
  transition: "fade";
@@ -1928,6 +2248,14 @@ export declare const TransitionMachineContext: {
1928
2248
  to: string;
1929
2249
  direction: import("../../sdk/transitions/utils/types").Direction;
1930
2250
  duration: number;
2251
+ } | {
2252
+ type: "TRANSITION_TRIGGER";
2253
+ transition: "reveal";
2254
+ to: string;
2255
+ direction: import("../../sdk/transitions/utils/types").Direction;
2256
+ duration: number;
2257
+ offset: number;
2258
+ mode: "normal" | "reverse";
1931
2259
  } | {
1932
2260
  type: "TRANSITION_TRIGGER";
1933
2261
  transition: "fade";
@@ -1945,6 +2273,14 @@ export declare const TransitionMachineContext: {
1945
2273
  to: string;
1946
2274
  direction: import("../../sdk/transitions/utils/types").Direction;
1947
2275
  duration: number;
2276
+ } | {
2277
+ type: "TRANSITION_TRIGGER";
2278
+ transition: "reveal";
2279
+ to: string;
2280
+ direction: import("../../sdk/transitions/utils/types").Direction;
2281
+ duration: number;
2282
+ offset: number;
2283
+ mode: "normal" | "reverse";
1948
2284
  } | {
1949
2285
  type: "TRANSITION_TRIGGER";
1950
2286
  transition: "fade";
@@ -2000,6 +2336,14 @@ export declare const TransitionMachineContext: {
2000
2336
  to: string;
2001
2337
  direction: import("../../sdk/transitions/utils/types").Direction;
2002
2338
  duration: number;
2339
+ } | {
2340
+ type: "TRANSITION_TRIGGER";
2341
+ transition: "reveal";
2342
+ to: string;
2343
+ direction: import("../../sdk/transitions/utils/types").Direction;
2344
+ duration: number;
2345
+ offset: number;
2346
+ mode: "normal" | "reverse";
2003
2347
  } | {
2004
2348
  type: "TRANSITION_TRIGGER";
2005
2349
  transition: "fade";
@@ -2046,6 +2390,14 @@ export declare const TransitionMachineContext: {
2046
2390
  to: string;
2047
2391
  direction: import("../../sdk/transitions/utils/types").Direction;
2048
2392
  duration: number;
2393
+ } | {
2394
+ type: "TRANSITION_TRIGGER";
2395
+ transition: "reveal";
2396
+ to: string;
2397
+ direction: import("../../sdk/transitions/utils/types").Direction;
2398
+ duration: number;
2399
+ offset: number;
2400
+ mode: "normal" | "reverse";
2049
2401
  } | {
2050
2402
  type: "TRANSITION_TRIGGER";
2051
2403
  transition: "fade";
@@ -2099,6 +2451,14 @@ export declare const TransitionMachineContext: {
2099
2451
  to: string;
2100
2452
  direction: import("../../sdk/transitions/utils/types").Direction;
2101
2453
  duration: number;
2454
+ } | {
2455
+ type: "TRANSITION_TRIGGER";
2456
+ transition: "reveal";
2457
+ to: string;
2458
+ direction: import("../../sdk/transitions/utils/types").Direction;
2459
+ duration: number;
2460
+ offset: number;
2461
+ mode: "normal" | "reverse";
2102
2462
  } | {
2103
2463
  type: "TRANSITION_TRIGGER";
2104
2464
  transition: "fade";
@@ -2145,6 +2505,14 @@ export declare const TransitionMachineContext: {
2145
2505
  to: string;
2146
2506
  direction: import("../../sdk/transitions/utils/types").Direction;
2147
2507
  duration: number;
2508
+ } | {
2509
+ type: "TRANSITION_TRIGGER";
2510
+ transition: "reveal";
2511
+ to: string;
2512
+ direction: import("../../sdk/transitions/utils/types").Direction;
2513
+ duration: number;
2514
+ offset: number;
2515
+ mode: "normal" | "reverse";
2148
2516
  } | {
2149
2517
  type: "TRANSITION_TRIGGER";
2150
2518
  transition: "fade";
@@ -2194,6 +2562,14 @@ export declare const TransitionMachineContext: {
2194
2562
  to: string;
2195
2563
  direction: import("../../sdk/transitions/utils/types").Direction;
2196
2564
  duration: number;
2565
+ } | {
2566
+ type: "TRANSITION_TRIGGER";
2567
+ transition: "reveal";
2568
+ to: string;
2569
+ direction: import("../../sdk/transitions/utils/types").Direction;
2570
+ duration: number;
2571
+ offset: number;
2572
+ mode: "normal" | "reverse";
2197
2573
  } | {
2198
2574
  type: "TRANSITION_TRIGGER";
2199
2575
  transition: "fade";
@@ -2244,6 +2620,14 @@ export declare const TransitionMachineContext: {
2244
2620
  to: string;
2245
2621
  direction: import("../../sdk/transitions/utils/types").Direction;
2246
2622
  duration: number;
2623
+ } | {
2624
+ type: "TRANSITION_TRIGGER";
2625
+ transition: "reveal";
2626
+ to: string;
2627
+ direction: import("../../sdk/transitions/utils/types").Direction;
2628
+ duration: number;
2629
+ offset: number;
2630
+ mode: "normal" | "reverse";
2247
2631
  } | {
2248
2632
  type: "TRANSITION_TRIGGER";
2249
2633
  transition: "fade";