@portabletext/editor 1.36.4 → 1.36.6

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.
@@ -510,6 +510,7 @@ declare const editorMachine: StateMachine<
510
510
  | {
511
511
  type: 'insert.blocks'
512
512
  blocks: Array<PortableTextBlock>
513
+ placement: 'auto' | 'after' | 'before'
513
514
  }
514
515
  | {
515
516
  type: 'insert.block object'
@@ -944,6 +945,7 @@ declare const editorMachine: StateMachine<
944
945
  | {
945
946
  type: 'insert.blocks'
946
947
  blocks: Array<PortableTextBlock>
948
+ placement: 'auto' | 'after' | 'before'
947
949
  }
948
950
  | {
949
951
  type: 'insert.block object'
@@ -1268,6 +1270,7 @@ declare const editorMachine: StateMachine<
1268
1270
  | {
1269
1271
  type: 'insert.blocks'
1270
1272
  blocks: Array<PortableTextBlock>
1273
+ placement: 'auto' | 'after' | 'before'
1271
1274
  }
1272
1275
  | {
1273
1276
  type: 'insert.block object'
@@ -1625,6 +1628,7 @@ declare const editorMachine: StateMachine<
1625
1628
  | {
1626
1629
  type: 'insert.blocks'
1627
1630
  blocks: Array<PortableTextBlock>
1631
+ placement: 'auto' | 'after' | 'before'
1628
1632
  }
1629
1633
  | {
1630
1634
  type: 'insert.block object'
@@ -2006,6 +2010,7 @@ declare const editorMachine: StateMachine<
2006
2010
  | {
2007
2011
  type: 'insert.blocks'
2008
2012
  blocks: Array<PortableTextBlock>
2013
+ placement: 'auto' | 'after' | 'before'
2009
2014
  }
2010
2015
  | {
2011
2016
  type: 'insert.block object'
@@ -2361,6 +2366,7 @@ declare const editorMachine: StateMachine<
2361
2366
  | {
2362
2367
  type: 'insert.blocks'
2363
2368
  blocks: Array<PortableTextBlock>
2369
+ placement: 'auto' | 'after' | 'before'
2364
2370
  }
2365
2371
  | {
2366
2372
  type: 'insert.block object'
@@ -2653,6 +2659,7 @@ declare const editorMachine: StateMachine<
2653
2659
  | {
2654
2660
  type: 'insert.blocks'
2655
2661
  blocks: Array<PortableTextBlock>
2662
+ placement: 'auto' | 'after' | 'before'
2656
2663
  }
2657
2664
  | {
2658
2665
  type: 'insert.block object'
@@ -3008,6 +3015,7 @@ declare const editorMachine: StateMachine<
3008
3015
  | {
3009
3016
  type: 'insert.blocks'
3010
3017
  blocks: Array<PortableTextBlock>
3018
+ placement: 'auto' | 'after' | 'before'
3011
3019
  }
3012
3020
  | {
3013
3021
  type: 'insert.block object'
@@ -3303,6 +3311,7 @@ declare const editorMachine: StateMachine<
3303
3311
  | {
3304
3312
  type: 'insert.blocks'
3305
3313
  blocks: Array<PortableTextBlock>
3314
+ placement: 'auto' | 'after' | 'before'
3306
3315
  }
3307
3316
  | {
3308
3317
  type: 'insert.block object'
@@ -3658,6 +3667,7 @@ declare const editorMachine: StateMachine<
3658
3667
  | {
3659
3668
  type: 'insert.blocks'
3660
3669
  blocks: Array<PortableTextBlock>
3670
+ placement: 'auto' | 'after' | 'before'
3661
3671
  }
3662
3672
  | {
3663
3673
  type: 'insert.block object'
@@ -3952,6 +3962,7 @@ declare const editorMachine: StateMachine<
3952
3962
  | {
3953
3963
  type: 'insert.blocks'
3954
3964
  blocks: Array<PortableTextBlock>
3965
+ placement: 'auto' | 'after' | 'before'
3955
3966
  }
3956
3967
  | {
3957
3968
  type: 'insert.block object'
@@ -4307,6 +4318,7 @@ declare const editorMachine: StateMachine<
4307
4318
  | {
4308
4319
  type: 'insert.blocks'
4309
4320
  blocks: Array<PortableTextBlock>
4321
+ placement: 'auto' | 'after' | 'before'
4310
4322
  }
4311
4323
  | {
4312
4324
  type: 'insert.block object'
@@ -4600,6 +4612,7 @@ declare const editorMachine: StateMachine<
4600
4612
  | {
4601
4613
  type: 'insert.blocks'
4602
4614
  blocks: Array<PortableTextBlock>
4615
+ placement: 'auto' | 'after' | 'before'
4603
4616
  }
4604
4617
  | {
4605
4618
  type: 'insert.block object'
@@ -4955,6 +4968,7 @@ declare const editorMachine: StateMachine<
4955
4968
  | {
4956
4969
  type: 'insert.blocks'
4957
4970
  blocks: Array<PortableTextBlock>
4971
+ placement: 'auto' | 'after' | 'before'
4958
4972
  }
4959
4973
  | {
4960
4974
  type: 'insert.block object'
@@ -5249,6 +5263,7 @@ declare const editorMachine: StateMachine<
5249
5263
  | {
5250
5264
  type: 'insert.blocks'
5251
5265
  blocks: Array<PortableTextBlock>
5266
+ placement: 'auto' | 'after' | 'before'
5252
5267
  }
5253
5268
  | {
5254
5269
  type: 'insert.block object'
@@ -5622,6 +5637,7 @@ declare const editorMachine: StateMachine<
5622
5637
  | {
5623
5638
  type: 'insert.blocks'
5624
5639
  blocks: Array<PortableTextBlock>
5640
+ placement: 'auto' | 'after' | 'before'
5625
5641
  }
5626
5642
  | {
5627
5643
  type: 'insert.block object'
@@ -5977,6 +5993,7 @@ declare const editorMachine: StateMachine<
5977
5993
  | {
5978
5994
  type: 'insert.blocks'
5979
5995
  blocks: Array<PortableTextBlock>
5996
+ placement: 'auto' | 'after' | 'before'
5980
5997
  }
5981
5998
  | {
5982
5999
  type: 'insert.block object'
@@ -6271,6 +6288,7 @@ declare const editorMachine: StateMachine<
6271
6288
  | {
6272
6289
  type: 'insert.blocks'
6273
6290
  blocks: Array<PortableTextBlock>
6291
+ placement: 'auto' | 'after' | 'before'
6274
6292
  }
6275
6293
  | {
6276
6294
  type: 'insert.block object'
@@ -6626,6 +6644,7 @@ declare const editorMachine: StateMachine<
6626
6644
  | {
6627
6645
  type: 'insert.blocks'
6628
6646
  blocks: Array<PortableTextBlock>
6647
+ placement: 'auto' | 'after' | 'before'
6629
6648
  }
6630
6649
  | {
6631
6650
  type: 'insert.block object'
@@ -6918,6 +6937,7 @@ declare const editorMachine: StateMachine<
6918
6937
  | {
6919
6938
  type: 'insert.blocks'
6920
6939
  blocks: Array<PortableTextBlock>
6940
+ placement: 'auto' | 'after' | 'before'
6921
6941
  }
6922
6942
  | {
6923
6943
  type: 'insert.block object'
@@ -7273,6 +7293,7 @@ declare const editorMachine: StateMachine<
7273
7293
  | {
7274
7294
  type: 'insert.blocks'
7275
7295
  blocks: Array<PortableTextBlock>
7296
+ placement: 'auto' | 'after' | 'before'
7276
7297
  }
7277
7298
  | {
7278
7299
  type: 'insert.block object'
@@ -7566,6 +7587,7 @@ declare const editorMachine: StateMachine<
7566
7587
  | {
7567
7588
  type: 'insert.blocks'
7568
7589
  blocks: Array<PortableTextBlock>
7590
+ placement: 'auto' | 'after' | 'before'
7569
7591
  }
7570
7592
  | {
7571
7593
  type: 'insert.block object'
@@ -7921,6 +7943,7 @@ declare const editorMachine: StateMachine<
7921
7943
  | {
7922
7944
  type: 'insert.blocks'
7923
7945
  blocks: Array<PortableTextBlock>
7946
+ placement: 'auto' | 'after' | 'before'
7924
7947
  }
7925
7948
  | {
7926
7949
  type: 'insert.block object'
@@ -8217,6 +8240,7 @@ declare const editorMachine: StateMachine<
8217
8240
  | {
8218
8241
  type: 'insert.blocks'
8219
8242
  blocks: Array<PortableTextBlock>
8243
+ placement: 'auto' | 'after' | 'before'
8220
8244
  }
8221
8245
  | {
8222
8246
  type: 'insert.block object'
@@ -8572,6 +8596,7 @@ declare const editorMachine: StateMachine<
8572
8596
  | {
8573
8597
  type: 'insert.blocks'
8574
8598
  blocks: Array<PortableTextBlock>
8599
+ placement: 'auto' | 'after' | 'before'
8575
8600
  }
8576
8601
  | {
8577
8602
  type: 'insert.block object'
@@ -8868,6 +8893,7 @@ declare const editorMachine: StateMachine<
8868
8893
  | {
8869
8894
  type: 'insert.blocks'
8870
8895
  blocks: Array<PortableTextBlock>
8896
+ placement: 'auto' | 'after' | 'before'
8871
8897
  }
8872
8898
  | {
8873
8899
  type: 'insert.block object'
@@ -9246,6 +9272,7 @@ declare const editorMachine: StateMachine<
9246
9272
  | {
9247
9273
  type: 'insert.blocks'
9248
9274
  blocks: Array<PortableTextBlock>
9275
+ placement: 'auto' | 'after' | 'before'
9249
9276
  }
9250
9277
  | {
9251
9278
  type: 'insert.block object'
@@ -9621,6 +9648,7 @@ declare const editorMachine: StateMachine<
9621
9648
  | {
9622
9649
  type: 'insert.blocks'
9623
9650
  blocks: Array<PortableTextBlock>
9651
+ placement: 'auto' | 'after' | 'before'
9624
9652
  }
9625
9653
  | {
9626
9654
  type: 'insert.block object'
@@ -10146,6 +10174,7 @@ declare const editorMachine: StateMachine<
10146
10174
  | {
10147
10175
  type: 'insert.blocks'
10148
10176
  blocks: Array<PortableTextBlock>
10177
+ placement: 'auto' | 'after' | 'before'
10149
10178
  }
10150
10179
  | {
10151
10180
  type: 'insert.block object'
@@ -10503,6 +10532,7 @@ declare const editorMachine: StateMachine<
10503
10532
  | {
10504
10533
  type: 'insert.blocks'
10505
10534
  blocks: Array<PortableTextBlock>
10535
+ placement: 'auto' | 'after' | 'before'
10506
10536
  }
10507
10537
  | {
10508
10538
  type: 'insert.block object'
@@ -10802,6 +10832,7 @@ declare const editorMachine: StateMachine<
10802
10832
  | {
10803
10833
  type: 'insert.blocks'
10804
10834
  blocks: Array<PortableTextBlock>
10835
+ placement: 'auto' | 'after' | 'before'
10805
10836
  }
10806
10837
  | {
10807
10838
  type: 'insert.block object'
@@ -11159,6 +11190,7 @@ declare const editorMachine: StateMachine<
11159
11190
  | {
11160
11191
  type: 'insert.blocks'
11161
11192
  blocks: Array<PortableTextBlock>
11193
+ placement: 'auto' | 'after' | 'before'
11162
11194
  }
11163
11195
  | {
11164
11196
  type: 'insert.block object'
@@ -11451,6 +11483,7 @@ declare const editorMachine: StateMachine<
11451
11483
  | {
11452
11484
  type: 'insert.blocks'
11453
11485
  blocks: Array<PortableTextBlock>
11486
+ placement: 'auto' | 'after' | 'before'
11454
11487
  }
11455
11488
  | {
11456
11489
  type: 'insert.block object'
@@ -11808,6 +11841,7 @@ declare const editorMachine: StateMachine<
11808
11841
  | {
11809
11842
  type: 'insert.blocks'
11810
11843
  blocks: Array<PortableTextBlock>
11844
+ placement: 'auto' | 'after' | 'before'
11811
11845
  }
11812
11846
  | {
11813
11847
  type: 'insert.block object'
@@ -12100,6 +12134,7 @@ declare const editorMachine: StateMachine<
12100
12134
  | {
12101
12135
  type: 'insert.blocks'
12102
12136
  blocks: Array<PortableTextBlock>
12137
+ placement: 'auto' | 'after' | 'before'
12103
12138
  }
12104
12139
  | {
12105
12140
  type: 'insert.block object'
@@ -12457,6 +12492,7 @@ declare const editorMachine: StateMachine<
12457
12492
  | {
12458
12493
  type: 'insert.blocks'
12459
12494
  blocks: Array<PortableTextBlock>
12495
+ placement: 'auto' | 'after' | 'before'
12460
12496
  }
12461
12497
  | {
12462
12498
  type: 'insert.block object'
@@ -12762,6 +12798,7 @@ declare const editorMachine: StateMachine<
12762
12798
  | {
12763
12799
  type: 'insert.blocks'
12764
12800
  blocks: Array<PortableTextBlock>
12801
+ placement: 'auto' | 'after' | 'before'
12765
12802
  }
12766
12803
  | {
12767
12804
  type: 'insert.block object'
@@ -13119,6 +13156,7 @@ declare const editorMachine: StateMachine<
13119
13156
  | {
13120
13157
  type: 'insert.blocks'
13121
13158
  blocks: Array<PortableTextBlock>
13159
+ placement: 'auto' | 'after' | 'before'
13122
13160
  }
13123
13161
  | {
13124
13162
  type: 'insert.block object'
@@ -13425,6 +13463,7 @@ declare const editorMachine: StateMachine<
13425
13463
  | {
13426
13464
  type: 'insert.blocks'
13427
13465
  blocks: Array<PortableTextBlock>
13466
+ placement: 'auto' | 'after' | 'before'
13428
13467
  }
13429
13468
  | {
13430
13469
  type: 'insert.block object'
@@ -13782,6 +13821,7 @@ declare const editorMachine: StateMachine<
13782
13821
  | {
13783
13822
  type: 'insert.blocks'
13784
13823
  blocks: Array<PortableTextBlock>
13824
+ placement: 'auto' | 'after' | 'before'
13785
13825
  }
13786
13826
  | {
13787
13827
  type: 'insert.block object'
@@ -14074,6 +14114,7 @@ declare const editorMachine: StateMachine<
14074
14114
  | {
14075
14115
  type: 'insert.blocks'
14076
14116
  blocks: Array<PortableTextBlock>
14117
+ placement: 'auto' | 'after' | 'before'
14077
14118
  }
14078
14119
  | {
14079
14120
  type: 'insert.block object'
@@ -14431,6 +14472,7 @@ declare const editorMachine: StateMachine<
14431
14472
  | {
14432
14473
  type: 'insert.blocks'
14433
14474
  blocks: Array<PortableTextBlock>
14475
+ placement: 'auto' | 'after' | 'before'
14434
14476
  }
14435
14477
  | {
14436
14478
  type: 'insert.block object'
@@ -14726,6 +14768,7 @@ declare const editorMachine: StateMachine<
14726
14768
  | {
14727
14769
  type: 'insert.blocks'
14728
14770
  blocks: Array<PortableTextBlock>
14771
+ placement: 'auto' | 'after' | 'before'
14729
14772
  }
14730
14773
  | {
14731
14774
  type: 'insert.block object'
@@ -15083,6 +15126,7 @@ declare const editorMachine: StateMachine<
15083
15126
  | {
15084
15127
  type: 'insert.blocks'
15085
15128
  blocks: Array<PortableTextBlock>
15129
+ placement: 'auto' | 'after' | 'before'
15086
15130
  }
15087
15131
  | {
15088
15132
  type: 'insert.block object'
@@ -15283,6 +15327,7 @@ declare const editorMachine: StateMachine<
15283
15327
  | {
15284
15328
  type: 'insert.blocks'
15285
15329
  blocks: Array<PortableTextBlock>
15330
+ placement: 'auto' | 'after' | 'before'
15286
15331
  }
15287
15332
  | {
15288
15333
  type: 'insert.block object'
@@ -15429,6 +15474,7 @@ declare const editorMachine: StateMachine<
15429
15474
  | {
15430
15475
  type: 'insert.blocks'
15431
15476
  blocks: Array<PortableTextBlock>
15477
+ placement: 'auto' | 'after' | 'before'
15432
15478
  }
15433
15479
  | {
15434
15480
  type: 'insert.block object'
@@ -15786,6 +15832,7 @@ declare const editorMachine: StateMachine<
15786
15832
  | {
15787
15833
  type: 'insert.blocks'
15788
15834
  blocks: Array<PortableTextBlock>
15835
+ placement: 'auto' | 'after' | 'before'
15789
15836
  }
15790
15837
  | {
15791
15838
  type: 'insert.block object'
@@ -16087,6 +16134,7 @@ declare const editorMachine: StateMachine<
16087
16134
  | {
16088
16135
  type: 'insert.blocks'
16089
16136
  blocks: Array<PortableTextBlock>
16137
+ placement: 'auto' | 'after' | 'before'
16090
16138
  }
16091
16139
  | {
16092
16140
  type: 'insert.block object'
@@ -16444,6 +16492,7 @@ declare const editorMachine: StateMachine<
16444
16492
  | {
16445
16493
  type: 'insert.blocks'
16446
16494
  blocks: Array<PortableTextBlock>
16495
+ placement: 'auto' | 'after' | 'before'
16447
16496
  }
16448
16497
  | {
16449
16498
  type: 'insert.block object'
@@ -16746,6 +16795,7 @@ declare const editorMachine: StateMachine<
16746
16795
  | {
16747
16796
  type: 'insert.blocks'
16748
16797
  blocks: Array<PortableTextBlock>
16798
+ placement: 'auto' | 'after' | 'before'
16749
16799
  }
16750
16800
  | {
16751
16801
  type: 'insert.block object'
@@ -17103,6 +17153,7 @@ declare const editorMachine: StateMachine<
17103
17153
  | {
17104
17154
  type: 'insert.blocks'
17105
17155
  blocks: Array<PortableTextBlock>
17156
+ placement: 'auto' | 'after' | 'before'
17106
17157
  }
17107
17158
  | {
17108
17159
  type: 'insert.block object'
@@ -17396,6 +17447,7 @@ declare const editorMachine: StateMachine<
17396
17447
  | {
17397
17448
  type: 'insert.blocks'
17398
17449
  blocks: Array<PortableTextBlock>
17450
+ placement: 'auto' | 'after' | 'before'
17399
17451
  }
17400
17452
  | {
17401
17453
  type: 'insert.block object'
@@ -17753,6 +17805,7 @@ declare const editorMachine: StateMachine<
17753
17805
  | {
17754
17806
  type: 'insert.blocks'
17755
17807
  blocks: Array<PortableTextBlock>
17808
+ placement: 'auto' | 'after' | 'before'
17756
17809
  }
17757
17810
  | {
17758
17811
  type: 'insert.block object'
@@ -18048,6 +18101,7 @@ declare const editorMachine: StateMachine<
18048
18101
  | {
18049
18102
  type: 'insert.blocks'
18050
18103
  blocks: Array<PortableTextBlock>
18104
+ placement: 'auto' | 'after' | 'before'
18051
18105
  }
18052
18106
  | {
18053
18107
  type: 'insert.block object'
@@ -18405,6 +18459,7 @@ declare const editorMachine: StateMachine<
18405
18459
  | {
18406
18460
  type: 'insert.blocks'
18407
18461
  blocks: Array<PortableTextBlock>
18462
+ placement: 'auto' | 'after' | 'before'
18408
18463
  }
18409
18464
  | {
18410
18465
  type: 'insert.block object'
@@ -18706,6 +18761,7 @@ declare const editorMachine: StateMachine<
18706
18761
  | {
18707
18762
  type: 'insert.blocks'
18708
18763
  blocks: Array<PortableTextBlock>
18764
+ placement: 'auto' | 'after' | 'before'
18709
18765
  }
18710
18766
  | {
18711
18767
  type: 'insert.block object'
@@ -19063,6 +19119,7 @@ declare const editorMachine: StateMachine<
19063
19119
  | {
19064
19120
  type: 'insert.blocks'
19065
19121
  blocks: Array<PortableTextBlock>
19122
+ placement: 'auto' | 'after' | 'before'
19066
19123
  }
19067
19124
  | {
19068
19125
  type: 'insert.block object'
@@ -19871,6 +19928,7 @@ declare type SyntheticBehaviorEvent =
19871
19928
  | {
19872
19929
  type: 'insert.blocks'
19873
19930
  blocks: Array<PortableTextBlock>
19931
+ placement: 'auto' | 'after' | 'before'
19874
19932
  }
19875
19933
  | {
19876
19934
  type: 'insert.block object'