@ankhorage/zora 25.6.2 → 25.7.0

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ankhorage/zora",
3
3
  "type": "module",
4
- "version": "25.6.2",
4
+ "version": "25.7.0",
5
5
  "description": "Opinionated React Native and React Native Web UI kit built on @ankhorage/surface.",
6
6
  "homepage": "https://github.com/ankhorage/zora#readme",
7
7
  "bugs": {
@@ -41,9 +41,8 @@
41
41
  },
42
42
  "dependencies": {
43
43
  "@ankhorage/ankh": "^0.13.0",
44
- "@ankhorage/capability": "^0.2.1",
45
44
  "@ankhorage/color-theory": "^0.3.1",
46
- "@ankhorage/contracts": "^25.1.0",
45
+ "@ankhorage/contracts": "^24.2.1",
47
46
  "@ankhorage/game": "^0.1.2",
48
47
  "@ankhorage/grid-view": "^0.5.0",
49
48
  "@ankhorage/reader": "^0.1.0",
@@ -116,7 +115,7 @@
116
115
  "access": "public"
117
116
  },
118
117
  "scripts": {
119
- "build": "rm -rf dist web-dist tsconfig.tsbuildinfo && bun x tsc -p tsconfig.json && bun scripts/build-capabilities.ts && bun scripts/build-web-components.ts",
118
+ "build": "rm -rf dist web-dist tsconfig.tsbuildinfo && bun x tsc -p tsconfig.json && bun scripts/build-web-components.ts",
120
119
  "changeset": "ankhorage-changeset",
121
120
  "changeset:status": "ankhorage-changeset status --since=origin/main",
122
121
  "docs": "paradox",
@@ -133,7 +132,7 @@
133
132
  "version-packages": "ankhorage-changeset version"
134
133
  },
135
134
  "devDependencies": {
136
- "@ankhorage/devtools": "^2.3.13",
135
+ "@ankhorage/devtools": "^2.3.10",
137
136
  "@ankhorage/paradox": "^0.3.1",
138
137
  "@react-native-vector-icons/fontawesome": "^13.1.4",
139
138
  "@react-native-vector-icons/fontawesome5": "^13.1.4",
@@ -254,1823 +253,6 @@
254
253
  "additionalProperties": false
255
254
  }
256
255
  }
257
- },
258
- {
259
- "id": "authScreen.modeChange",
260
- "owner": "@ankhorage/zora",
261
- "access": [
262
- "emit"
263
- ],
264
- "binding": {
265
- "kind": "event",
266
- "bindableAs": [
267
- "source"
268
- ]
269
- },
270
- "label": "Mode change",
271
- "output": {
272
- "schema": {
273
- "type": "object",
274
- "properties": {
275
- "mode": {
276
- "type": "string",
277
- "title": "Mode"
278
- }
279
- }
280
- }
281
- }
282
- },
283
- {
284
- "id": "authScreen.oauthProviderPress",
285
- "owner": "@ankhorage/zora",
286
- "access": [
287
- "emit"
288
- ],
289
- "binding": {
290
- "kind": "event",
291
- "bindableAs": [
292
- "source"
293
- ]
294
- },
295
- "label": "OAuth provider press",
296
- "output": {
297
- "schema": {
298
- "type": "object",
299
- "properties": {
300
- "providerId": {
301
- "type": "string",
302
- "title": "Provider ID"
303
- }
304
- }
305
- }
306
- }
307
- },
308
- {
309
- "id": "authScreen.signInSubmit",
310
- "owner": "@ankhorage/zora",
311
- "access": [
312
- "emit"
313
- ],
314
- "binding": {
315
- "kind": "event",
316
- "bindableAs": [
317
- "source"
318
- ]
319
- },
320
- "label": "Sign-in submit",
321
- "output": {
322
- "schema": {
323
- "type": "object",
324
- "properties": {
325
- "identifier": {
326
- "type": "string",
327
- "title": "Identifier"
328
- },
329
- "identifierKind": {
330
- "type": "string",
331
- "title": "Identifier kind"
332
- },
333
- "secret": {
334
- "type": "string",
335
- "title": "Secret"
336
- }
337
- }
338
- }
339
- }
340
- },
341
- {
342
- "id": "authScreen.signUpSubmit",
343
- "owner": "@ankhorage/zora",
344
- "access": [
345
- "emit"
346
- ],
347
- "binding": {
348
- "kind": "event",
349
- "bindableAs": [
350
- "source"
351
- ]
352
- },
353
- "label": "Sign-up submit",
354
- "output": {
355
- "schema": {
356
- "type": "object",
357
- "properties": {
358
- "values": {
359
- "type": "object",
360
- "additionalProperties": true,
361
- "title": "Values"
362
- }
363
- }
364
- }
365
- }
366
- },
367
- {
368
- "id": "bottomSheet.dismiss",
369
- "owner": "@ankhorage/zora",
370
- "access": [
371
- "emit"
372
- ],
373
- "binding": {
374
- "kind": "event",
375
- "bindableAs": [
376
- "source"
377
- ]
378
- },
379
- "label": "Dismiss",
380
- "output": {
381
- "schema": {
382
- "type": "object",
383
- "properties": {}
384
- }
385
- }
386
- },
387
- {
388
- "id": "bottomSheet.indexChange",
389
- "owner": "@ankhorage/zora",
390
- "access": [
391
- "emit"
392
- ],
393
- "binding": {
394
- "kind": "event",
395
- "bindableAs": [
396
- "source"
397
- ]
398
- },
399
- "label": "Index change",
400
- "output": {
401
- "schema": {
402
- "type": "object",
403
- "properties": {
404
- "index": {
405
- "type": "number"
406
- }
407
- }
408
- }
409
- }
410
- },
411
- {
412
- "id": "breadcrumbs.itemPress",
413
- "owner": "@ankhorage/zora",
414
- "access": [
415
- "emit"
416
- ],
417
- "binding": {
418
- "kind": "event",
419
- "bindableAs": [
420
- "source"
421
- ]
422
- },
423
- "label": "Item press",
424
- "description": "Emitted when a non-current breadcrumb item is pressed.",
425
- "output": {
426
- "schema": {
427
- "type": "object",
428
- "properties": {
429
- "id": {
430
- "type": "string",
431
- "title": "Item id"
432
- }
433
- }
434
- }
435
- }
436
- },
437
- {
438
- "id": "button.press",
439
- "owner": "@ankhorage/zora",
440
- "access": [
441
- "emit"
442
- ],
443
- "binding": {
444
- "kind": "event",
445
- "bindableAs": [
446
- "source"
447
- ]
448
- },
449
- "label": "Press",
450
- "description": "Emitted when the button action runs.",
451
- "output": {
452
- "schema": {
453
- "type": "object",
454
- "properties": {}
455
- }
456
- }
457
- },
458
- {
459
- "id": "card.press",
460
- "owner": "@ankhorage/zora",
461
- "access": [
462
- "emit"
463
- ],
464
- "binding": {
465
- "kind": "event",
466
- "bindableAs": [
467
- "source"
468
- ]
469
- },
470
- "label": "Press",
471
- "output": {
472
- "schema": {
473
- "type": "object",
474
- "properties": {}
475
- }
476
- }
477
- },
478
- {
479
- "id": "checkbox.checkedChange",
480
- "owner": "@ankhorage/zora",
481
- "access": [
482
- "emit"
483
- ],
484
- "binding": {
485
- "kind": "event",
486
- "bindableAs": [
487
- "source"
488
- ]
489
- },
490
- "label": "Checked change",
491
- "description": "Emitted when the checked state changes.",
492
- "output": {
493
- "schema": {
494
- "type": "object",
495
- "properties": {
496
- "checked": {
497
- "type": "boolean",
498
- "title": "Checked"
499
- }
500
- }
501
- }
502
- }
503
- },
504
- {
505
- "id": "chess.invalidMove",
506
- "owner": "@ankhorage/zora",
507
- "access": [
508
- "emit"
509
- ],
510
- "binding": {
511
- "kind": "event",
512
- "bindableAs": [
513
- "source"
514
- ]
515
- },
516
- "label": "Invalid move",
517
- "output": {
518
- "schema": {
519
- "type": "object",
520
- "properties": {
521
- "from": {
522
- "type": "string",
523
- "title": "From"
524
- },
525
- "to": {
526
- "type": "string",
527
- "title": "To"
528
- },
529
- "promotion": {
530
- "type": "string",
531
- "title": "Promotion"
532
- }
533
- }
534
- }
535
- }
536
- },
537
- {
538
- "id": "chess.legalMove",
539
- "owner": "@ankhorage/zora",
540
- "access": [
541
- "emit"
542
- ],
543
- "binding": {
544
- "kind": "event",
545
- "bindableAs": [
546
- "source"
547
- ]
548
- },
549
- "label": "Legal move",
550
- "output": {
551
- "schema": {
552
- "type": "object",
553
- "properties": {
554
- "from": {
555
- "type": "string",
556
- "title": "From"
557
- },
558
- "to": {
559
- "type": "string",
560
- "title": "To"
561
- },
562
- "fen": {
563
- "type": "string",
564
- "title": "Position"
565
- },
566
- "san": {
567
- "type": "string",
568
- "title": "SAN"
569
- },
570
- "lan": {
571
- "type": "string",
572
- "title": "LAN"
573
- },
574
- "promotion": {
575
- "type": "string",
576
- "title": "Promotion"
577
- }
578
- }
579
- }
580
- }
581
- },
582
- {
583
- "id": "chess.moveAttempt",
584
- "owner": "@ankhorage/zora",
585
- "access": [
586
- "emit"
587
- ],
588
- "binding": {
589
- "kind": "event",
590
- "bindableAs": [
591
- "source"
592
- ]
593
- },
594
- "label": "Move attempt",
595
- "output": {
596
- "schema": {
597
- "type": "object",
598
- "properties": {
599
- "from": {
600
- "type": "string",
601
- "title": "From"
602
- },
603
- "to": {
604
- "type": "string",
605
- "title": "To"
606
- },
607
- "promotion": {
608
- "type": "string",
609
- "title": "Promotion"
610
- }
611
- }
612
- }
613
- }
614
- },
615
- {
616
- "id": "chess.openingMovePress",
617
- "owner": "@ankhorage/zora",
618
- "access": [
619
- "emit"
620
- ],
621
- "binding": {
622
- "kind": "event",
623
- "bindableAs": [
624
- "source"
625
- ]
626
- },
627
- "label": "Move press",
628
- "output": {
629
- "schema": {
630
- "type": "object",
631
- "properties": {
632
- "san": {
633
- "type": "string",
634
- "title": "SAN"
635
- },
636
- "uci": {
637
- "type": "string",
638
- "title": "UCI"
639
- },
640
- "fen": {
641
- "type": "string",
642
- "title": "Position"
643
- }
644
- }
645
- }
646
- }
647
- },
648
- {
649
- "id": "chess.squarePress",
650
- "owner": "@ankhorage/zora",
651
- "access": [
652
- "emit"
653
- ],
654
- "binding": {
655
- "kind": "event",
656
- "bindableAs": [
657
- "source"
658
- ]
659
- },
660
- "label": "Square press",
661
- "output": {
662
- "schema": {
663
- "type": "object",
664
- "properties": {
665
- "square": {
666
- "type": "string",
667
- "title": "Square"
668
- }
669
- }
670
- }
671
- }
672
- },
673
- {
674
- "id": "chip.press",
675
- "owner": "@ankhorage/zora",
676
- "access": [
677
- "emit"
678
- ],
679
- "binding": {
680
- "kind": "event",
681
- "bindableAs": [
682
- "source"
683
- ]
684
- },
685
- "label": "Press",
686
- "output": {
687
- "schema": {
688
- "type": "object",
689
- "properties": {}
690
- }
691
- }
692
- },
693
- {
694
- "id": "chipGroup.valueChange",
695
- "owner": "@ankhorage/zora",
696
- "access": [
697
- "emit"
698
- ],
699
- "binding": {
700
- "kind": "event",
701
- "bindableAs": [
702
- "source"
703
- ]
704
- },
705
- "label": "Selection change",
706
- "output": {
707
- "schema": {
708
- "type": "object",
709
- "properties": {
710
- "value": {}
711
- }
712
- }
713
- }
714
- },
715
- {
716
- "id": "contentRail.controlPress",
717
- "owner": "@ankhorage/zora",
718
- "access": [
719
- "emit"
720
- ],
721
- "binding": {
722
- "kind": "event",
723
- "bindableAs": [
724
- "source"
725
- ]
726
- },
727
- "label": "Control press",
728
- "description": "Emitted after a previous or next control requests a target item.",
729
- "output": {
730
- "schema": {
731
- "type": "object",
732
- "properties": {
733
- "direction": {
734
- "type": "string",
735
- "title": "Direction"
736
- },
737
- "targetIndex": {
738
- "type": "number",
739
- "title": "Target index"
740
- }
741
- }
742
- }
743
- }
744
- },
745
- {
746
- "id": "contentRail.visibleRangeChange",
747
- "owner": "@ankhorage/zora",
748
- "access": [
749
- "emit"
750
- ],
751
- "binding": {
752
- "kind": "event",
753
- "bindableAs": [
754
- "source"
755
- ]
756
- },
757
- "label": "Visible range change",
758
- "description": "Emitted when the zero-based visible item range changes.",
759
- "output": {
760
- "schema": {
761
- "type": "object",
762
- "properties": {
763
- "firstVisibleIndex": {
764
- "type": "number",
765
- "title": "First visible index"
766
- },
767
- "lastVisibleIndex": {
768
- "type": "number",
769
- "title": "Last visible index"
770
- },
771
- "itemCount": {
772
- "type": "number",
773
- "title": "Item count"
774
- }
775
- }
776
- }
777
- }
778
- },
779
- {
780
- "id": "dataTable.sortChange",
781
- "owner": "@ankhorage/zora",
782
- "access": [
783
- "emit"
784
- ],
785
- "binding": {
786
- "kind": "event",
787
- "bindableAs": [
788
- "source"
789
- ]
790
- },
791
- "label": "Sort change",
792
- "output": {
793
- "schema": {
794
- "type": "object",
795
- "properties": {
796
- "columnId": {
797
- "type": "string"
798
- },
799
- "direction": {
800
- "type": "string"
801
- }
802
- }
803
- }
804
- }
805
- },
806
- {
807
- "id": "datePicker.valueChange",
808
- "owner": "@ankhorage/zora",
809
- "access": [
810
- "emit"
811
- ],
812
- "binding": {
813
- "kind": "event",
814
- "bindableAs": [
815
- "source"
816
- ]
817
- },
818
- "label": "Value change",
819
- "description": "Emitted when a local calendar date is selected.",
820
- "output": {
821
- "schema": {
822
- "type": "object",
823
- "properties": {
824
- "value": {
825
- "type": "string",
826
- "title": "Value"
827
- }
828
- }
829
- }
830
- }
831
- },
832
- {
833
- "id": "dialog.dismiss",
834
- "owner": "@ankhorage/zora",
835
- "access": [
836
- "emit"
837
- ],
838
- "binding": {
839
- "kind": "event",
840
- "bindableAs": [
841
- "source"
842
- ]
843
- },
844
- "label": "Dismiss",
845
- "output": {
846
- "schema": {
847
- "type": "object",
848
- "properties": {}
849
- }
850
- }
851
- },
852
- {
853
- "id": "explorer.activate",
854
- "owner": "@ankhorage/zora",
855
- "access": [
856
- "emit"
857
- ],
858
- "binding": {
859
- "kind": "event",
860
- "bindableAs": [
861
- "source"
862
- ]
863
- },
864
- "label": "Activate item",
865
- "output": {
866
- "schema": {
867
- "type": "object",
868
- "properties": {
869
- "id": {
870
- "type": "string"
871
- }
872
- }
873
- }
874
- }
875
- },
876
- {
877
- "id": "explorer.loadMore",
878
- "owner": "@ankhorage/zora",
879
- "access": [
880
- "emit"
881
- ],
882
- "binding": {
883
- "kind": "event",
884
- "bindableAs": [
885
- "source"
886
- ]
887
- },
888
- "label": "Load more",
889
- "output": {
890
- "schema": {
891
- "type": "object",
892
- "properties": {
893
- "loadedItemCount": {
894
- "type": "number"
895
- }
896
- }
897
- }
898
- }
899
- },
900
- {
901
- "id": "explorer.requestPermission",
902
- "owner": "@ankhorage/zora",
903
- "access": [
904
- "emit"
905
- ],
906
- "binding": {
907
- "kind": "event",
908
- "bindableAs": [
909
- "source"
910
- ]
911
- },
912
- "label": "Request permission",
913
- "output": {
914
- "schema": {
915
- "type": "object",
916
- "properties": {}
917
- }
918
- }
919
- },
920
- {
921
- "id": "explorer.selectionChange",
922
- "owner": "@ankhorage/zora",
923
- "access": [
924
- "emit"
925
- ],
926
- "binding": {
927
- "kind": "event",
928
- "bindableAs": [
929
- "source"
930
- ]
931
- },
932
- "label": "Selection change",
933
- "output": {
934
- "schema": {
935
- "type": "object",
936
- "properties": {
937
- "selectedIds": {}
938
- }
939
- }
940
- }
941
- },
942
- {
943
- "id": "flatList.endReached",
944
- "owner": "@ankhorage/zora",
945
- "access": [
946
- "emit"
947
- ],
948
- "binding": {
949
- "kind": "event",
950
- "bindableAs": [
951
- "source"
952
- ]
953
- },
954
- "label": "End reached",
955
- "output": {
956
- "schema": {
957
- "type": "object",
958
- "properties": {
959
- "distanceFromEnd": {
960
- "type": "number"
961
- }
962
- }
963
- }
964
- }
965
- },
966
- {
967
- "id": "flatList.refresh",
968
- "owner": "@ankhorage/zora",
969
- "access": [
970
- "emit"
971
- ],
972
- "binding": {
973
- "kind": "event",
974
- "bindableAs": [
975
- "source"
976
- ]
977
- },
978
- "label": "Refresh",
979
- "output": {
980
- "schema": {
981
- "type": "object",
982
- "properties": {}
983
- }
984
- }
985
- },
986
- {
987
- "id": "flatList.visibleItemsChange",
988
- "owner": "@ankhorage/zora",
989
- "access": [
990
- "emit"
991
- ],
992
- "binding": {
993
- "kind": "event",
994
- "bindableAs": [
995
- "source"
996
- ]
997
- },
998
- "label": "Visible items change",
999
- "output": {
1000
- "schema": {
1001
- "type": "object",
1002
- "properties": {
1003
- "keys": {}
1004
- }
1005
- }
1006
- }
1007
- },
1008
- {
1009
- "id": "forgotPasswordForm.signIn",
1010
- "owner": "@ankhorage/zora",
1011
- "access": [
1012
- "emit"
1013
- ],
1014
- "binding": {
1015
- "kind": "event",
1016
- "bindableAs": [
1017
- "source"
1018
- ]
1019
- },
1020
- "label": "Sign in",
1021
- "output": {
1022
- "schema": {
1023
- "type": "object",
1024
- "properties": {}
1025
- }
1026
- }
1027
- },
1028
- {
1029
- "id": "forgotPasswordForm.submit",
1030
- "owner": "@ankhorage/zora",
1031
- "access": [
1032
- "emit"
1033
- ],
1034
- "binding": {
1035
- "kind": "event",
1036
- "bindableAs": [
1037
- "source"
1038
- ]
1039
- },
1040
- "label": "Submit",
1041
- "output": {
1042
- "schema": {
1043
- "type": "object",
1044
- "properties": {
1045
- "identifier": {
1046
- "type": "string",
1047
- "title": "Identifier"
1048
- },
1049
- "identifierKind": {
1050
- "type": "string",
1051
- "title": "Identifier kind"
1052
- }
1053
- }
1054
- }
1055
- }
1056
- },
1057
- {
1058
- "id": "form.submit",
1059
- "owner": "@ankhorage/zora",
1060
- "access": [
1061
- "emit"
1062
- ],
1063
- "binding": {
1064
- "kind": "event",
1065
- "bindableAs": [
1066
- "source"
1067
- ]
1068
- },
1069
- "label": "Submit",
1070
- "description": "Emitted when the form is submitted.",
1071
- "output": {
1072
- "schema": {
1073
- "type": "object",
1074
- "properties": {}
1075
- }
1076
- }
1077
- },
1078
- {
1079
- "id": "game.output",
1080
- "owner": "@ankhorage/zora",
1081
- "access": [
1082
- "emit"
1083
- ],
1084
- "binding": {
1085
- "kind": "event",
1086
- "bindableAs": [
1087
- "source"
1088
- ]
1089
- },
1090
- "label": "Game output",
1091
- "description": "Emitted when the platform-neutral game runtime produces an app/domain output.",
1092
- "output": {
1093
- "schema": {
1094
- "type": "object",
1095
- "properties": {
1096
- "type": {
1097
- "type": "string"
1098
- },
1099
- "payload": {
1100
- "type": "object",
1101
- "additionalProperties": true
1102
- }
1103
- }
1104
- }
1105
- }
1106
- },
1107
- {
1108
- "id": "iconButton.press",
1109
- "owner": "@ankhorage/zora",
1110
- "access": [
1111
- "emit"
1112
- ],
1113
- "binding": {
1114
- "kind": "event",
1115
- "bindableAs": [
1116
- "source"
1117
- ]
1118
- },
1119
- "label": "Press",
1120
- "output": {
1121
- "schema": {
1122
- "type": "object",
1123
- "properties": {}
1124
- }
1125
- }
1126
- },
1127
- {
1128
- "id": "mediaCard.press",
1129
- "owner": "@ankhorage/zora",
1130
- "access": [
1131
- "emit"
1132
- ],
1133
- "binding": {
1134
- "kind": "event",
1135
- "bindableAs": [
1136
- "source"
1137
- ]
1138
- },
1139
- "label": "Press",
1140
- "output": {
1141
- "schema": {
1142
- "type": "object",
1143
- "properties": {}
1144
- }
1145
- }
1146
- },
1147
- {
1148
- "id": "metricCard.press",
1149
- "owner": "@ankhorage/zora",
1150
- "access": [
1151
- "emit"
1152
- ],
1153
- "binding": {
1154
- "kind": "event",
1155
- "bindableAs": [
1156
- "source"
1157
- ]
1158
- },
1159
- "label": "Press",
1160
- "output": {
1161
- "schema": {
1162
- "type": "object",
1163
- "properties": {}
1164
- }
1165
- }
1166
- },
1167
- {
1168
- "id": "oauthProviderButton.press",
1169
- "owner": "@ankhorage/zora",
1170
- "access": [
1171
- "emit"
1172
- ],
1173
- "binding": {
1174
- "kind": "event",
1175
- "bindableAs": [
1176
- "source"
1177
- ]
1178
- },
1179
- "label": "Press",
1180
- "output": {
1181
- "schema": {
1182
- "type": "object",
1183
- "properties": {
1184
- "providerId": {
1185
- "type": "string",
1186
- "title": "Provider ID"
1187
- }
1188
- }
1189
- }
1190
- }
1191
- },
1192
- {
1193
- "id": "oauthProviderList.providerPress",
1194
- "owner": "@ankhorage/zora",
1195
- "access": [
1196
- "emit"
1197
- ],
1198
- "binding": {
1199
- "kind": "event",
1200
- "bindableAs": [
1201
- "source"
1202
- ]
1203
- },
1204
- "label": "Provider press",
1205
- "output": {
1206
- "schema": {
1207
- "type": "object",
1208
- "properties": {
1209
- "providerId": {
1210
- "type": "string",
1211
- "title": "Provider ID"
1212
- }
1213
- }
1214
- }
1215
- }
1216
- },
1217
- {
1218
- "id": "otpForm.resend",
1219
- "owner": "@ankhorage/zora",
1220
- "access": [
1221
- "emit"
1222
- ],
1223
- "binding": {
1224
- "kind": "event",
1225
- "bindableAs": [
1226
- "source"
1227
- ]
1228
- },
1229
- "label": "Resend",
1230
- "output": {
1231
- "schema": {
1232
- "type": "object",
1233
- "properties": {}
1234
- }
1235
- }
1236
- },
1237
- {
1238
- "id": "otpForm.submit",
1239
- "owner": "@ankhorage/zora",
1240
- "access": [
1241
- "emit"
1242
- ],
1243
- "binding": {
1244
- "kind": "event",
1245
- "bindableAs": [
1246
- "source"
1247
- ]
1248
- },
1249
- "label": "Submit",
1250
- "output": {
1251
- "schema": {
1252
- "type": "object",
1253
- "properties": {
1254
- "otp": {
1255
- "type": "string",
1256
- "title": "One-time passcode"
1257
- }
1258
- }
1259
- }
1260
- }
1261
- },
1262
- {
1263
- "id": "pagination.pageChange",
1264
- "owner": "@ankhorage/zora",
1265
- "access": [
1266
- "emit"
1267
- ],
1268
- "binding": {
1269
- "kind": "event",
1270
- "bindableAs": [
1271
- "source"
1272
- ]
1273
- },
1274
- "label": "Page change",
1275
- "output": {
1276
- "schema": {
1277
- "type": "object",
1278
- "properties": {
1279
- "page": {
1280
- "type": "number",
1281
- "title": "Page"
1282
- }
1283
- }
1284
- }
1285
- }
1286
- },
1287
- {
1288
- "id": "productCard.press",
1289
- "owner": "@ankhorage/zora",
1290
- "access": [
1291
- "emit"
1292
- ],
1293
- "binding": {
1294
- "kind": "event",
1295
- "bindableAs": [
1296
- "source"
1297
- ]
1298
- },
1299
- "label": "Press",
1300
- "description": "Emitted when the product card is pressed.",
1301
- "output": {
1302
- "schema": {
1303
- "type": "object",
1304
- "properties": {}
1305
- }
1306
- }
1307
- },
1308
- {
1309
- "id": "productCard.primaryAction",
1310
- "owner": "@ankhorage/zora",
1311
- "access": [
1312
- "emit"
1313
- ],
1314
- "binding": {
1315
- "kind": "event",
1316
- "bindableAs": [
1317
- "source"
1318
- ]
1319
- },
1320
- "label": "Primary action",
1321
- "description": "Emitted when the primary product card action is pressed.",
1322
- "output": {
1323
- "schema": {
1324
- "type": "object",
1325
- "properties": {}
1326
- }
1327
- }
1328
- },
1329
- {
1330
- "id": "productCard.secondaryAction",
1331
- "owner": "@ankhorage/zora",
1332
- "access": [
1333
- "emit"
1334
- ],
1335
- "binding": {
1336
- "kind": "event",
1337
- "bindableAs": [
1338
- "source"
1339
- ]
1340
- },
1341
- "label": "Secondary action",
1342
- "description": "Emitted when the secondary product card action is pressed.",
1343
- "output": {
1344
- "schema": {
1345
- "type": "object",
1346
- "properties": {}
1347
- }
1348
- }
1349
- },
1350
- {
1351
- "id": "radioGroup.valueChange",
1352
- "owner": "@ankhorage/zora",
1353
- "access": [
1354
- "emit"
1355
- ],
1356
- "binding": {
1357
- "kind": "event",
1358
- "bindableAs": [
1359
- "source"
1360
- ]
1361
- },
1362
- "label": "Value change",
1363
- "description": "Emitted when the selected radio value changes.",
1364
- "output": {
1365
- "schema": {
1366
- "type": "object",
1367
- "properties": {
1368
- "value": {
1369
- "type": "string",
1370
- "title": "Value"
1371
- }
1372
- }
1373
- }
1374
- }
1375
- },
1376
- {
1377
- "id": "reader.error",
1378
- "owner": "@ankhorage/zora",
1379
- "access": [
1380
- "emit"
1381
- ],
1382
- "binding": {
1383
- "kind": "event",
1384
- "bindableAs": [
1385
- "source"
1386
- ]
1387
- },
1388
- "label": "Reader error",
1389
- "description": "Emitted when the adapter rejects or cannot load a document.",
1390
- "output": {
1391
- "schema": {
1392
- "type": "object",
1393
- "properties": {
1394
- "code": {
1395
- "type": "string",
1396
- "title": "Error code"
1397
- },
1398
- "format": {
1399
- "type": "string",
1400
- "title": "Format"
1401
- },
1402
- "message": {
1403
- "type": "string",
1404
- "title": "Message"
1405
- }
1406
- }
1407
- }
1408
- }
1409
- },
1410
- {
1411
- "id": "reader.locationChange",
1412
- "owner": "@ankhorage/zora",
1413
- "access": [
1414
- "emit"
1415
- ],
1416
- "binding": {
1417
- "kind": "event",
1418
- "bindableAs": [
1419
- "source"
1420
- ]
1421
- },
1422
- "label": "Location change",
1423
- "description": "Emitted by the adapter after the destination has been displayed.",
1424
- "output": {
1425
- "schema": {
1426
- "type": "object",
1427
- "properties": {
1428
- "format": {
1429
- "type": "string",
1430
- "title": "Format"
1431
- },
1432
- "locator": {
1433
- "type": "string",
1434
- "title": "Opaque locator"
1435
- },
1436
- "page": {
1437
- "type": "number",
1438
- "title": "Page"
1439
- },
1440
- "pageCount": {
1441
- "type": "number",
1442
- "title": "Page count"
1443
- },
1444
- "progression": {
1445
- "type": "number",
1446
- "title": "Progression"
1447
- },
1448
- "chapterId": {
1449
- "type": "string",
1450
- "title": "Chapter ID"
1451
- },
1452
- "chapterTitle": {
1453
- "type": "string",
1454
- "title": "Chapter title"
1455
- },
1456
- "trigger": {
1457
- "type": "string",
1458
- "title": "Navigation trigger"
1459
- }
1460
- }
1461
- }
1462
- }
1463
- },
1464
- {
1465
- "id": "reader.nextPage",
1466
- "owner": "@ankhorage/zora",
1467
- "access": [
1468
- "emit"
1469
- ],
1470
- "binding": {
1471
- "kind": "event",
1472
- "bindableAs": [
1473
- "source"
1474
- ]
1475
- },
1476
- "label": "Next page",
1477
- "description": "Requests navigation to the next page.",
1478
- "output": {
1479
- "schema": {
1480
- "type": "object",
1481
- "properties": {}
1482
- }
1483
- }
1484
- },
1485
- {
1486
- "id": "reader.openAppearance",
1487
- "owner": "@ankhorage/zora",
1488
- "access": [
1489
- "emit"
1490
- ],
1491
- "binding": {
1492
- "kind": "event",
1493
- "bindableAs": [
1494
- "source"
1495
- ]
1496
- },
1497
- "label": "Open appearance",
1498
- "description": "Requests the app-owned reader appearance controls.",
1499
- "output": {
1500
- "schema": {
1501
- "type": "object",
1502
- "properties": {}
1503
- }
1504
- }
1505
- },
1506
- {
1507
- "id": "reader.openContents",
1508
- "owner": "@ankhorage/zora",
1509
- "access": [
1510
- "emit"
1511
- ],
1512
- "binding": {
1513
- "kind": "event",
1514
- "bindableAs": [
1515
- "source"
1516
- ]
1517
- },
1518
- "label": "Open contents",
1519
- "description": "Requests the app-owned table of contents.",
1520
- "output": {
1521
- "schema": {
1522
- "type": "object",
1523
- "properties": {}
1524
- }
1525
- }
1526
- },
1527
- {
1528
- "id": "reader.openExternalLink",
1529
- "owner": "@ankhorage/zora",
1530
- "access": [
1531
- "emit"
1532
- ],
1533
- "binding": {
1534
- "kind": "event",
1535
- "bindableAs": [
1536
- "source"
1537
- ]
1538
- },
1539
- "label": "Open external link",
1540
- "description": "Emitted when publication content requests an external URL.",
1541
- "output": {
1542
- "schema": {
1543
- "type": "object",
1544
- "properties": {
1545
- "url": {
1546
- "type": "string",
1547
- "title": "URL"
1548
- }
1549
- }
1550
- }
1551
- }
1552
- },
1553
- {
1554
- "id": "reader.previousPage",
1555
- "owner": "@ankhorage/zora",
1556
- "access": [
1557
- "emit"
1558
- ],
1559
- "binding": {
1560
- "kind": "event",
1561
- "bindableAs": [
1562
- "source"
1563
- ]
1564
- },
1565
- "label": "Previous page",
1566
- "description": "Requests navigation to the previous page.",
1567
- "output": {
1568
- "schema": {
1569
- "type": "object",
1570
- "properties": {}
1571
- }
1572
- }
1573
- },
1574
- {
1575
- "id": "reader.toggleHighlight",
1576
- "owner": "@ankhorage/zora",
1577
- "access": [
1578
- "emit"
1579
- ],
1580
- "binding": {
1581
- "kind": "event",
1582
- "bindableAs": [
1583
- "source"
1584
- ]
1585
- },
1586
- "label": "Toggle highlight",
1587
- "description": "Requests the app-owned highlight action.",
1588
- "output": {
1589
- "schema": {
1590
- "type": "object",
1591
- "properties": {}
1592
- }
1593
- }
1594
- },
1595
- {
1596
- "id": "searchInput.clear",
1597
- "owner": "@ankhorage/zora",
1598
- "access": [
1599
- "emit"
1600
- ],
1601
- "binding": {
1602
- "kind": "event",
1603
- "bindableAs": [
1604
- "source"
1605
- ]
1606
- },
1607
- "label": "Clear",
1608
- "output": {
1609
- "schema": {
1610
- "type": "object",
1611
- "properties": {}
1612
- }
1613
- }
1614
- },
1615
- {
1616
- "id": "searchInput.submit",
1617
- "owner": "@ankhorage/zora",
1618
- "access": [
1619
- "emit"
1620
- ],
1621
- "binding": {
1622
- "kind": "event",
1623
- "bindableAs": [
1624
- "source"
1625
- ]
1626
- },
1627
- "label": "Submit",
1628
- "output": {
1629
- "schema": {
1630
- "type": "object",
1631
- "properties": {
1632
- "value": {
1633
- "type": "string",
1634
- "title": "Value"
1635
- }
1636
- }
1637
- }
1638
- }
1639
- },
1640
- {
1641
- "id": "searchInput.valueChange",
1642
- "owner": "@ankhorage/zora",
1643
- "access": [
1644
- "emit"
1645
- ],
1646
- "binding": {
1647
- "kind": "event",
1648
- "bindableAs": [
1649
- "source"
1650
- ]
1651
- },
1652
- "label": "Value change",
1653
- "output": {
1654
- "schema": {
1655
- "type": "object",
1656
- "properties": {
1657
- "value": {
1658
- "type": "string",
1659
- "title": "Value"
1660
- }
1661
- }
1662
- }
1663
- }
1664
- },
1665
- {
1666
- "id": "sectionList.endReached",
1667
- "owner": "@ankhorage/zora",
1668
- "access": [
1669
- "emit"
1670
- ],
1671
- "binding": {
1672
- "kind": "event",
1673
- "bindableAs": [
1674
- "source"
1675
- ]
1676
- },
1677
- "label": "End reached",
1678
- "output": {
1679
- "schema": {
1680
- "type": "object",
1681
- "properties": {
1682
- "distanceFromEnd": {
1683
- "type": "number"
1684
- }
1685
- }
1686
- }
1687
- }
1688
- },
1689
- {
1690
- "id": "sectionList.refresh",
1691
- "owner": "@ankhorage/zora",
1692
- "access": [
1693
- "emit"
1694
- ],
1695
- "binding": {
1696
- "kind": "event",
1697
- "bindableAs": [
1698
- "source"
1699
- ]
1700
- },
1701
- "label": "Refresh",
1702
- "output": {
1703
- "schema": {
1704
- "type": "object",
1705
- "properties": {}
1706
- }
1707
- }
1708
- },
1709
- {
1710
- "id": "sectionList.visibleItemsChange",
1711
- "owner": "@ankhorage/zora",
1712
- "access": [
1713
- "emit"
1714
- ],
1715
- "binding": {
1716
- "kind": "event",
1717
- "bindableAs": [
1718
- "source"
1719
- ]
1720
- },
1721
- "label": "Visible items change",
1722
- "output": {
1723
- "schema": {
1724
- "type": "object",
1725
- "properties": {
1726
- "keys": {}
1727
- }
1728
- }
1729
- }
1730
- },
1731
- {
1732
- "id": "select.valueChange",
1733
- "owner": "@ankhorage/zora",
1734
- "access": [
1735
- "emit"
1736
- ],
1737
- "binding": {
1738
- "kind": "event",
1739
- "bindableAs": [
1740
- "source"
1741
- ]
1742
- },
1743
- "label": "Value change",
1744
- "description": "Emitted when the selected option value changes.",
1745
- "output": {
1746
- "schema": {
1747
- "type": "object",
1748
- "properties": {
1749
- "value": {
1750
- "type": "string",
1751
- "title": "Value"
1752
- }
1753
- }
1754
- }
1755
- }
1756
- },
1757
- {
1758
- "id": "signInForm.forgotPassword",
1759
- "owner": "@ankhorage/zora",
1760
- "access": [
1761
- "emit"
1762
- ],
1763
- "binding": {
1764
- "kind": "event",
1765
- "bindableAs": [
1766
- "source"
1767
- ]
1768
- },
1769
- "label": "Forgot password",
1770
- "output": {
1771
- "schema": {
1772
- "type": "object",
1773
- "properties": {}
1774
- }
1775
- }
1776
- },
1777
- {
1778
- "id": "signInForm.signUp",
1779
- "owner": "@ankhorage/zora",
1780
- "access": [
1781
- "emit"
1782
- ],
1783
- "binding": {
1784
- "kind": "event",
1785
- "bindableAs": [
1786
- "source"
1787
- ]
1788
- },
1789
- "label": "Sign up",
1790
- "output": {
1791
- "schema": {
1792
- "type": "object",
1793
- "properties": {}
1794
- }
1795
- }
1796
- },
1797
- {
1798
- "id": "signInForm.submit",
1799
- "owner": "@ankhorage/zora",
1800
- "access": [
1801
- "emit"
1802
- ],
1803
- "binding": {
1804
- "kind": "event",
1805
- "bindableAs": [
1806
- "source"
1807
- ]
1808
- },
1809
- "label": "Submit",
1810
- "output": {
1811
- "schema": {
1812
- "type": "object",
1813
- "properties": {
1814
- "identifier": {
1815
- "type": "string",
1816
- "title": "Identifier"
1817
- },
1818
- "identifierKind": {
1819
- "type": "string",
1820
- "title": "Identifier kind"
1821
- },
1822
- "secret": {
1823
- "type": "string",
1824
- "title": "Secret"
1825
- }
1826
- }
1827
- }
1828
- }
1829
- },
1830
- {
1831
- "id": "signUpForm.signIn",
1832
- "owner": "@ankhorage/zora",
1833
- "access": [
1834
- "emit"
1835
- ],
1836
- "binding": {
1837
- "kind": "event",
1838
- "bindableAs": [
1839
- "source"
1840
- ]
1841
- },
1842
- "label": "Sign in",
1843
- "output": {
1844
- "schema": {
1845
- "type": "object",
1846
- "properties": {}
1847
- }
1848
- }
1849
- },
1850
- {
1851
- "id": "signUpForm.submit",
1852
- "owner": "@ankhorage/zora",
1853
- "access": [
1854
- "emit"
1855
- ],
1856
- "binding": {
1857
- "kind": "event",
1858
- "bindableAs": [
1859
- "source"
1860
- ]
1861
- },
1862
- "label": "Submit",
1863
- "output": {
1864
- "schema": {
1865
- "type": "object",
1866
- "properties": {
1867
- "values": {
1868
- "type": "object",
1869
- "additionalProperties": true,
1870
- "title": "Values"
1871
- }
1872
- }
1873
- }
1874
- }
1875
- },
1876
- {
1877
- "id": "switch.checkedChange",
1878
- "owner": "@ankhorage/zora",
1879
- "access": [
1880
- "emit"
1881
- ],
1882
- "binding": {
1883
- "kind": "event",
1884
- "bindableAs": [
1885
- "source"
1886
- ]
1887
- },
1888
- "label": "Checked change",
1889
- "description": "Emitted when the checked state changes.",
1890
- "output": {
1891
- "schema": {
1892
- "type": "object",
1893
- "properties": {
1894
- "checked": {
1895
- "type": "boolean",
1896
- "title": "Checked"
1897
- }
1898
- }
1899
- }
1900
- }
1901
- },
1902
- {
1903
- "id": "tabs.valueChange",
1904
- "owner": "@ankhorage/zora",
1905
- "access": [
1906
- "emit"
1907
- ],
1908
- "binding": {
1909
- "kind": "event",
1910
- "bindableAs": [
1911
- "source"
1912
- ]
1913
- },
1914
- "label": "Value change",
1915
- "output": {
1916
- "schema": {
1917
- "type": "object",
1918
- "properties": {
1919
- "value": {
1920
- "type": "string",
1921
- "title": "Value"
1922
- }
1923
- }
1924
- }
1925
- }
1926
- },
1927
- {
1928
- "id": "textInput.changeText",
1929
- "owner": "@ankhorage/zora",
1930
- "access": [
1931
- "emit"
1932
- ],
1933
- "binding": {
1934
- "kind": "event",
1935
- "bindableAs": [
1936
- "source"
1937
- ]
1938
- },
1939
- "label": "Change text",
1940
- "description": "Emitted when the input value changes.",
1941
- "output": {
1942
- "schema": {
1943
- "type": "object",
1944
- "properties": {
1945
- "value": {
1946
- "type": "string",
1947
- "title": "Value"
1948
- }
1949
- }
1950
- }
1951
- }
1952
- },
1953
- {
1954
- "id": "timePicker.valueChange",
1955
- "owner": "@ankhorage/zora",
1956
- "access": [
1957
- "emit"
1958
- ],
1959
- "binding": {
1960
- "kind": "event",
1961
- "bindableAs": [
1962
- "source"
1963
- ]
1964
- },
1965
- "label": "Value change",
1966
- "description": "Emitted when an HH:mm time value is selected.",
1967
- "output": {
1968
- "schema": {
1969
- "type": "object",
1970
- "properties": {
1971
- "value": {
1972
- "type": "string",
1973
- "title": "Value"
1974
- }
1975
- }
1976
- }
1977
- }
1978
- },
1979
- {
1980
- "id": "uploader.removeRequest",
1981
- "owner": "@ankhorage/zora",
1982
- "access": [
1983
- "emit"
1984
- ],
1985
- "binding": {
1986
- "kind": "event",
1987
- "bindableAs": [
1988
- "source"
1989
- ]
1990
- },
1991
- "label": "Remove request",
1992
- "output": {
1993
- "schema": {
1994
- "type": "object",
1995
- "properties": {
1996
- "asset": {
1997
- "type": "object"
1998
- }
1999
- }
2000
- }
2001
- }
2002
- },
2003
- {
2004
- "id": "uploader.uploadRequest",
2005
- "owner": "@ankhorage/zora",
2006
- "access": [
2007
- "emit"
2008
- ],
2009
- "binding": {
2010
- "kind": "event",
2011
- "bindableAs": [
2012
- "source"
2013
- ]
2014
- },
2015
- "label": "Upload request",
2016
- "output": {
2017
- "schema": {
2018
- "type": "object",
2019
- "properties": {
2020
- "asset": {
2021
- "type": "object"
2022
- }
2023
- }
2024
- }
2025
- }
2026
- },
2027
- {
2028
- "id": "uploader.validationError",
2029
- "owner": "@ankhorage/zora",
2030
- "access": [
2031
- "emit"
2032
- ],
2033
- "binding": {
2034
- "kind": "event",
2035
- "bindableAs": [
2036
- "source"
2037
- ]
2038
- },
2039
- "label": "Validation error",
2040
- "output": {
2041
- "schema": {
2042
- "type": "object",
2043
- "properties": {
2044
- "message": {
2045
- "type": "string"
2046
- }
2047
- }
2048
- }
2049
- }
2050
- },
2051
- {
2052
- "id": "uploader.valueChange",
2053
- "owner": "@ankhorage/zora",
2054
- "access": [
2055
- "emit"
2056
- ],
2057
- "binding": {
2058
- "kind": "event",
2059
- "bindableAs": [
2060
- "source"
2061
- ]
2062
- },
2063
- "label": "Value change",
2064
- "output": {
2065
- "schema": {
2066
- "type": "object",
2067
- "properties": {
2068
- "value": {
2069
- "type": "object"
2070
- }
2071
- }
2072
- }
2073
- }
2074
256
  }
2075
257
  ]
2076
258
  }