@blocknote/xl-pdf-exporter 0.30.0 → 0.31.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.
@@ -429,77 +429,167 @@
429
429
  rows: [
430
430
  {
431
431
  cells: [
432
- [
433
- {
434
- styles: {},
435
- text: 'Wide Cell',
436
- type: 'text'
437
- }
438
- ],
439
- [
440
- {
441
- styles: {},
442
- text: 'Table Cell',
443
- type: 'text'
444
- }
445
- ],
446
- [
447
- {
448
- styles: {},
449
- text: 'Table Cell',
450
- type: 'text'
451
- }
452
- ]
432
+ {
433
+ content: [
434
+ {
435
+ styles: {},
436
+ text: 'Wide Cell',
437
+ type: 'text'
438
+ }
439
+ ],
440
+ props: {
441
+ backgroundColor: 'default',
442
+ colspan: 1,
443
+ rowspan: 1,
444
+ textAlignment: 'left',
445
+ textColor: 'default'
446
+ },
447
+ type: 'tableCell'
448
+ },
449
+ {
450
+ content: [
451
+ {
452
+ styles: {},
453
+ text: 'Table Cell',
454
+ type: 'text'
455
+ }
456
+ ],
457
+ props: {
458
+ backgroundColor: 'default',
459
+ colspan: 1,
460
+ rowspan: 1,
461
+ textAlignment: 'left',
462
+ textColor: 'default'
463
+ },
464
+ type: 'tableCell'
465
+ },
466
+ {
467
+ content: [
468
+ {
469
+ styles: {},
470
+ text: 'Table Cell',
471
+ type: 'text'
472
+ }
473
+ ],
474
+ props: {
475
+ backgroundColor: 'default',
476
+ colspan: 1,
477
+ rowspan: 1,
478
+ textAlignment: 'left',
479
+ textColor: 'default'
480
+ },
481
+ type: 'tableCell'
482
+ }
453
483
  ]
454
484
  },
455
485
  {
456
486
  cells: [
457
- [
458
- {
459
- styles: {},
460
- text: 'Wide Cell',
461
- type: 'text'
462
- }
463
- ],
464
- [
465
- {
466
- styles: {},
467
- text: 'Table Cell',
468
- type: 'text'
469
- }
470
- ],
471
- [
472
- {
473
- styles: {},
474
- text: 'Table Cell',
475
- type: 'text'
476
- }
477
- ]
487
+ {
488
+ content: [
489
+ {
490
+ styles: {},
491
+ text: 'Wide Cell',
492
+ type: 'text'
493
+ }
494
+ ],
495
+ props: {
496
+ backgroundColor: 'default',
497
+ colspan: 1,
498
+ rowspan: 1,
499
+ textAlignment: 'left',
500
+ textColor: 'default'
501
+ },
502
+ type: 'tableCell'
503
+ },
504
+ {
505
+ content: [
506
+ {
507
+ styles: {},
508
+ text: 'Table Cell',
509
+ type: 'text'
510
+ }
511
+ ],
512
+ props: {
513
+ backgroundColor: 'default',
514
+ colspan: 1,
515
+ rowspan: 1,
516
+ textAlignment: 'left',
517
+ textColor: 'default'
518
+ },
519
+ type: 'tableCell'
520
+ },
521
+ {
522
+ content: [
523
+ {
524
+ styles: {},
525
+ text: 'Table Cell',
526
+ type: 'text'
527
+ }
528
+ ],
529
+ props: {
530
+ backgroundColor: 'default',
531
+ colspan: 1,
532
+ rowspan: 1,
533
+ textAlignment: 'left',
534
+ textColor: 'default'
535
+ },
536
+ type: 'tableCell'
537
+ }
478
538
  ]
479
539
  },
480
540
  {
481
541
  cells: [
482
- [
483
- {
484
- styles: {},
485
- text: 'Wide Cell',
486
- type: 'text'
487
- }
488
- ],
489
- [
490
- {
491
- styles: {},
492
- text: 'Table Cell',
493
- type: 'text'
494
- }
495
- ],
496
- [
497
- {
498
- styles: {},
499
- text: 'Table Cell',
500
- type: 'text'
501
- }
502
- ]
542
+ {
543
+ content: [
544
+ {
545
+ styles: {},
546
+ text: 'Wide Cell',
547
+ type: 'text'
548
+ }
549
+ ],
550
+ props: {
551
+ backgroundColor: 'default',
552
+ colspan: 1,
553
+ rowspan: 1,
554
+ textAlignment: 'left',
555
+ textColor: 'default'
556
+ },
557
+ type: 'tableCell'
558
+ },
559
+ {
560
+ content: [
561
+ {
562
+ styles: {},
563
+ text: 'Table Cell',
564
+ type: 'text'
565
+ }
566
+ ],
567
+ props: {
568
+ backgroundColor: 'default',
569
+ colspan: 1,
570
+ rowspan: 1,
571
+ textAlignment: 'left',
572
+ textColor: 'default'
573
+ },
574
+ type: 'tableCell'
575
+ },
576
+ {
577
+ content: [
578
+ {
579
+ styles: {},
580
+ text: 'Table Cell',
581
+ type: 'text'
582
+ }
583
+ ],
584
+ props: {
585
+ backgroundColor: 'default',
586
+ colspan: 1,
587
+ rowspan: 1,
588
+ textAlignment: 'left',
589
+ textColor: 'default'
590
+ },
591
+ type: 'tableCell'
592
+ }
503
593
  ]
504
594
  }
505
595
  ],
@@ -809,79 +899,169 @@
809
899
  rows: [
810
900
  {
811
901
  cells: [
812
- [
813
- {
814
- styles: {},
815
- text: 'Table Cell 1',
816
- type: 'text'
817
- }
818
- ],
819
- [
820
- {
821
- styles: {},
822
- text: 'Table Cell 2',
823
- type: 'text'
824
- }
825
- ],
826
- [
827
- {
828
- styles: {},
829
- text: 'Table Cell 3',
830
- type: 'text'
831
- }
832
- ]
902
+ {
903
+ content: [
904
+ {
905
+ styles: {},
906
+ text: 'Table Cell 1',
907
+ type: 'text'
908
+ }
909
+ ],
910
+ props: {
911
+ backgroundColor: 'default',
912
+ colspan: 1,
913
+ rowspan: 1,
914
+ textAlignment: 'left',
915
+ textColor: 'default'
916
+ },
917
+ type: 'tableCell'
918
+ },
919
+ {
920
+ content: [
921
+ {
922
+ styles: {},
923
+ text: 'Table Cell 2',
924
+ type: 'text'
925
+ }
926
+ ],
927
+ props: {
928
+ backgroundColor: 'default',
929
+ colspan: 1,
930
+ rowspan: 1,
931
+ textAlignment: 'left',
932
+ textColor: 'default'
933
+ },
934
+ type: 'tableCell'
935
+ },
936
+ {
937
+ content: [
938
+ {
939
+ styles: {},
940
+ text: 'Table Cell 3',
941
+ type: 'text'
942
+ }
943
+ ],
944
+ props: {
945
+ backgroundColor: 'default',
946
+ colspan: 1,
947
+ rowspan: 1,
948
+ textAlignment: 'left',
949
+ textColor: 'default'
950
+ },
951
+ type: 'tableCell'
952
+ }
833
953
  ]
834
954
  },
835
955
  {
836
956
  cells: [
837
- [
838
- {
839
- styles: {},
840
- text: 'Table Cell 4',
841
- type: 'text'
842
- }
843
- ],
844
- [
845
- {
846
- styles: {
847
- bold: true
848
- },
849
- text: 'Table Cell Bold 5',
850
- type: 'text'
851
- }
852
- ],
853
- [
854
- {
855
- styles: {},
856
- text: 'Table Cell 6',
857
- type: 'text'
858
- }
859
- ]
957
+ {
958
+ content: [
959
+ {
960
+ styles: {},
961
+ text: 'Table Cell 4',
962
+ type: 'text'
963
+ }
964
+ ],
965
+ props: {
966
+ backgroundColor: 'default',
967
+ colspan: 1,
968
+ rowspan: 1,
969
+ textAlignment: 'left',
970
+ textColor: 'default'
971
+ },
972
+ type: 'tableCell'
973
+ },
974
+ {
975
+ content: [
976
+ {
977
+ styles: {
978
+ bold: true
979
+ },
980
+ text: 'Table Cell Bold 5',
981
+ type: 'text'
982
+ }
983
+ ],
984
+ props: {
985
+ backgroundColor: 'default',
986
+ colspan: 1,
987
+ rowspan: 1,
988
+ textAlignment: 'left',
989
+ textColor: 'default'
990
+ },
991
+ type: 'tableCell'
992
+ },
993
+ {
994
+ content: [
995
+ {
996
+ styles: {},
997
+ text: 'Table Cell 6',
998
+ type: 'text'
999
+ }
1000
+ ],
1001
+ props: {
1002
+ backgroundColor: 'default',
1003
+ colspan: 1,
1004
+ rowspan: 1,
1005
+ textAlignment: 'left',
1006
+ textColor: 'default'
1007
+ },
1008
+ type: 'tableCell'
1009
+ }
860
1010
  ]
861
1011
  },
862
1012
  {
863
1013
  cells: [
864
- [
865
- {
866
- styles: {},
867
- text: 'Table Cell 7',
868
- type: 'text'
869
- }
870
- ],
871
- [
872
- {
873
- styles: {},
874
- text: 'Table Cell 8',
875
- type: 'text'
876
- }
877
- ],
878
- [
879
- {
880
- styles: {},
881
- text: 'Table Cell 9',
882
- type: 'text'
883
- }
884
- ]
1014
+ {
1015
+ content: [
1016
+ {
1017
+ styles: {},
1018
+ text: 'Table Cell 7',
1019
+ type: 'text'
1020
+ }
1021
+ ],
1022
+ props: {
1023
+ backgroundColor: 'default',
1024
+ colspan: 1,
1025
+ rowspan: 1,
1026
+ textAlignment: 'left',
1027
+ textColor: 'default'
1028
+ },
1029
+ type: 'tableCell'
1030
+ },
1031
+ {
1032
+ content: [
1033
+ {
1034
+ styles: {},
1035
+ text: 'Table Cell 8',
1036
+ type: 'text'
1037
+ }
1038
+ ],
1039
+ props: {
1040
+ backgroundColor: 'default',
1041
+ colspan: 1,
1042
+ rowspan: 1,
1043
+ textAlignment: 'left',
1044
+ textColor: 'default'
1045
+ },
1046
+ type: 'tableCell'
1047
+ },
1048
+ {
1049
+ content: [
1050
+ {
1051
+ styles: {},
1052
+ text: 'Table Cell 9',
1053
+ type: 'text'
1054
+ }
1055
+ ],
1056
+ props: {
1057
+ backgroundColor: 'default',
1058
+ colspan: 1,
1059
+ rowspan: 1,
1060
+ textAlignment: 'left',
1061
+ textColor: 'default'
1062
+ },
1063
+ type: 'tableCell'
1064
+ }
885
1065
  ]
886
1066
  }
887
1067
  ],