@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.
@@ -418,6 +418,7 @@ declare const editorMachine: StateMachine<
418
418
  | {
419
419
  type: 'insert.blocks'
420
420
  blocks: Array<PortableTextBlock>
421
+ placement: 'auto' | 'after' | 'before'
421
422
  }
422
423
  | {
423
424
  type: 'insert.block object'
@@ -852,6 +853,7 @@ declare const editorMachine: StateMachine<
852
853
  | {
853
854
  type: 'insert.blocks'
854
855
  blocks: Array<PortableTextBlock>
856
+ placement: 'auto' | 'after' | 'before'
855
857
  }
856
858
  | {
857
859
  type: 'insert.block object'
@@ -1176,6 +1178,7 @@ declare const editorMachine: StateMachine<
1176
1178
  | {
1177
1179
  type: 'insert.blocks'
1178
1180
  blocks: Array<PortableTextBlock>
1181
+ placement: 'auto' | 'after' | 'before'
1179
1182
  }
1180
1183
  | {
1181
1184
  type: 'insert.block object'
@@ -1533,6 +1536,7 @@ declare const editorMachine: StateMachine<
1533
1536
  | {
1534
1537
  type: 'insert.blocks'
1535
1538
  blocks: Array<PortableTextBlock>
1539
+ placement: 'auto' | 'after' | 'before'
1536
1540
  }
1537
1541
  | {
1538
1542
  type: 'insert.block object'
@@ -1914,6 +1918,7 @@ declare const editorMachine: StateMachine<
1914
1918
  | {
1915
1919
  type: 'insert.blocks'
1916
1920
  blocks: Array<PortableTextBlock>
1921
+ placement: 'auto' | 'after' | 'before'
1917
1922
  }
1918
1923
  | {
1919
1924
  type: 'insert.block object'
@@ -2269,6 +2274,7 @@ declare const editorMachine: StateMachine<
2269
2274
  | {
2270
2275
  type: 'insert.blocks'
2271
2276
  blocks: Array<PortableTextBlock>
2277
+ placement: 'auto' | 'after' | 'before'
2272
2278
  }
2273
2279
  | {
2274
2280
  type: 'insert.block object'
@@ -2561,6 +2567,7 @@ declare const editorMachine: StateMachine<
2561
2567
  | {
2562
2568
  type: 'insert.blocks'
2563
2569
  blocks: Array<PortableTextBlock>
2570
+ placement: 'auto' | 'after' | 'before'
2564
2571
  }
2565
2572
  | {
2566
2573
  type: 'insert.block object'
@@ -2916,6 +2923,7 @@ declare const editorMachine: StateMachine<
2916
2923
  | {
2917
2924
  type: 'insert.blocks'
2918
2925
  blocks: Array<PortableTextBlock>
2926
+ placement: 'auto' | 'after' | 'before'
2919
2927
  }
2920
2928
  | {
2921
2929
  type: 'insert.block object'
@@ -3211,6 +3219,7 @@ declare const editorMachine: StateMachine<
3211
3219
  | {
3212
3220
  type: 'insert.blocks'
3213
3221
  blocks: Array<PortableTextBlock>
3222
+ placement: 'auto' | 'after' | 'before'
3214
3223
  }
3215
3224
  | {
3216
3225
  type: 'insert.block object'
@@ -3566,6 +3575,7 @@ declare const editorMachine: StateMachine<
3566
3575
  | {
3567
3576
  type: 'insert.blocks'
3568
3577
  blocks: Array<PortableTextBlock>
3578
+ placement: 'auto' | 'after' | 'before'
3569
3579
  }
3570
3580
  | {
3571
3581
  type: 'insert.block object'
@@ -3860,6 +3870,7 @@ declare const editorMachine: StateMachine<
3860
3870
  | {
3861
3871
  type: 'insert.blocks'
3862
3872
  blocks: Array<PortableTextBlock>
3873
+ placement: 'auto' | 'after' | 'before'
3863
3874
  }
3864
3875
  | {
3865
3876
  type: 'insert.block object'
@@ -4215,6 +4226,7 @@ declare const editorMachine: StateMachine<
4215
4226
  | {
4216
4227
  type: 'insert.blocks'
4217
4228
  blocks: Array<PortableTextBlock>
4229
+ placement: 'auto' | 'after' | 'before'
4218
4230
  }
4219
4231
  | {
4220
4232
  type: 'insert.block object'
@@ -4508,6 +4520,7 @@ declare const editorMachine: StateMachine<
4508
4520
  | {
4509
4521
  type: 'insert.blocks'
4510
4522
  blocks: Array<PortableTextBlock>
4523
+ placement: 'auto' | 'after' | 'before'
4511
4524
  }
4512
4525
  | {
4513
4526
  type: 'insert.block object'
@@ -4863,6 +4876,7 @@ declare const editorMachine: StateMachine<
4863
4876
  | {
4864
4877
  type: 'insert.blocks'
4865
4878
  blocks: Array<PortableTextBlock>
4879
+ placement: 'auto' | 'after' | 'before'
4866
4880
  }
4867
4881
  | {
4868
4882
  type: 'insert.block object'
@@ -5157,6 +5171,7 @@ declare const editorMachine: StateMachine<
5157
5171
  | {
5158
5172
  type: 'insert.blocks'
5159
5173
  blocks: Array<PortableTextBlock>
5174
+ placement: 'auto' | 'after' | 'before'
5160
5175
  }
5161
5176
  | {
5162
5177
  type: 'insert.block object'
@@ -5530,6 +5545,7 @@ declare const editorMachine: StateMachine<
5530
5545
  | {
5531
5546
  type: 'insert.blocks'
5532
5547
  blocks: Array<PortableTextBlock>
5548
+ placement: 'auto' | 'after' | 'before'
5533
5549
  }
5534
5550
  | {
5535
5551
  type: 'insert.block object'
@@ -5885,6 +5901,7 @@ declare const editorMachine: StateMachine<
5885
5901
  | {
5886
5902
  type: 'insert.blocks'
5887
5903
  blocks: Array<PortableTextBlock>
5904
+ placement: 'auto' | 'after' | 'before'
5888
5905
  }
5889
5906
  | {
5890
5907
  type: 'insert.block object'
@@ -6179,6 +6196,7 @@ declare const editorMachine: StateMachine<
6179
6196
  | {
6180
6197
  type: 'insert.blocks'
6181
6198
  blocks: Array<PortableTextBlock>
6199
+ placement: 'auto' | 'after' | 'before'
6182
6200
  }
6183
6201
  | {
6184
6202
  type: 'insert.block object'
@@ -6534,6 +6552,7 @@ declare const editorMachine: StateMachine<
6534
6552
  | {
6535
6553
  type: 'insert.blocks'
6536
6554
  blocks: Array<PortableTextBlock>
6555
+ placement: 'auto' | 'after' | 'before'
6537
6556
  }
6538
6557
  | {
6539
6558
  type: 'insert.block object'
@@ -6826,6 +6845,7 @@ declare const editorMachine: StateMachine<
6826
6845
  | {
6827
6846
  type: 'insert.blocks'
6828
6847
  blocks: Array<PortableTextBlock>
6848
+ placement: 'auto' | 'after' | 'before'
6829
6849
  }
6830
6850
  | {
6831
6851
  type: 'insert.block object'
@@ -7181,6 +7201,7 @@ declare const editorMachine: StateMachine<
7181
7201
  | {
7182
7202
  type: 'insert.blocks'
7183
7203
  blocks: Array<PortableTextBlock>
7204
+ placement: 'auto' | 'after' | 'before'
7184
7205
  }
7185
7206
  | {
7186
7207
  type: 'insert.block object'
@@ -7474,6 +7495,7 @@ declare const editorMachine: StateMachine<
7474
7495
  | {
7475
7496
  type: 'insert.blocks'
7476
7497
  blocks: Array<PortableTextBlock>
7498
+ placement: 'auto' | 'after' | 'before'
7477
7499
  }
7478
7500
  | {
7479
7501
  type: 'insert.block object'
@@ -7829,6 +7851,7 @@ declare const editorMachine: StateMachine<
7829
7851
  | {
7830
7852
  type: 'insert.blocks'
7831
7853
  blocks: Array<PortableTextBlock>
7854
+ placement: 'auto' | 'after' | 'before'
7832
7855
  }
7833
7856
  | {
7834
7857
  type: 'insert.block object'
@@ -8125,6 +8148,7 @@ declare const editorMachine: StateMachine<
8125
8148
  | {
8126
8149
  type: 'insert.blocks'
8127
8150
  blocks: Array<PortableTextBlock>
8151
+ placement: 'auto' | 'after' | 'before'
8128
8152
  }
8129
8153
  | {
8130
8154
  type: 'insert.block object'
@@ -8480,6 +8504,7 @@ declare const editorMachine: StateMachine<
8480
8504
  | {
8481
8505
  type: 'insert.blocks'
8482
8506
  blocks: Array<PortableTextBlock>
8507
+ placement: 'auto' | 'after' | 'before'
8483
8508
  }
8484
8509
  | {
8485
8510
  type: 'insert.block object'
@@ -8776,6 +8801,7 @@ declare const editorMachine: StateMachine<
8776
8801
  | {
8777
8802
  type: 'insert.blocks'
8778
8803
  blocks: Array<PortableTextBlock>
8804
+ placement: 'auto' | 'after' | 'before'
8779
8805
  }
8780
8806
  | {
8781
8807
  type: 'insert.block object'
@@ -9154,6 +9180,7 @@ declare const editorMachine: StateMachine<
9154
9180
  | {
9155
9181
  type: 'insert.blocks'
9156
9182
  blocks: Array<PortableTextBlock>
9183
+ placement: 'auto' | 'after' | 'before'
9157
9184
  }
9158
9185
  | {
9159
9186
  type: 'insert.block object'
@@ -9529,6 +9556,7 @@ declare const editorMachine: StateMachine<
9529
9556
  | {
9530
9557
  type: 'insert.blocks'
9531
9558
  blocks: Array<PortableTextBlock>
9559
+ placement: 'auto' | 'after' | 'before'
9532
9560
  }
9533
9561
  | {
9534
9562
  type: 'insert.block object'
@@ -10054,6 +10082,7 @@ declare const editorMachine: StateMachine<
10054
10082
  | {
10055
10083
  type: 'insert.blocks'
10056
10084
  blocks: Array<PortableTextBlock>
10085
+ placement: 'auto' | 'after' | 'before'
10057
10086
  }
10058
10087
  | {
10059
10088
  type: 'insert.block object'
@@ -10411,6 +10440,7 @@ declare const editorMachine: StateMachine<
10411
10440
  | {
10412
10441
  type: 'insert.blocks'
10413
10442
  blocks: Array<PortableTextBlock>
10443
+ placement: 'auto' | 'after' | 'before'
10414
10444
  }
10415
10445
  | {
10416
10446
  type: 'insert.block object'
@@ -10710,6 +10740,7 @@ declare const editorMachine: StateMachine<
10710
10740
  | {
10711
10741
  type: 'insert.blocks'
10712
10742
  blocks: Array<PortableTextBlock>
10743
+ placement: 'auto' | 'after' | 'before'
10713
10744
  }
10714
10745
  | {
10715
10746
  type: 'insert.block object'
@@ -11067,6 +11098,7 @@ declare const editorMachine: StateMachine<
11067
11098
  | {
11068
11099
  type: 'insert.blocks'
11069
11100
  blocks: Array<PortableTextBlock>
11101
+ placement: 'auto' | 'after' | 'before'
11070
11102
  }
11071
11103
  | {
11072
11104
  type: 'insert.block object'
@@ -11359,6 +11391,7 @@ declare const editorMachine: StateMachine<
11359
11391
  | {
11360
11392
  type: 'insert.blocks'
11361
11393
  blocks: Array<PortableTextBlock>
11394
+ placement: 'auto' | 'after' | 'before'
11362
11395
  }
11363
11396
  | {
11364
11397
  type: 'insert.block object'
@@ -11716,6 +11749,7 @@ declare const editorMachine: StateMachine<
11716
11749
  | {
11717
11750
  type: 'insert.blocks'
11718
11751
  blocks: Array<PortableTextBlock>
11752
+ placement: 'auto' | 'after' | 'before'
11719
11753
  }
11720
11754
  | {
11721
11755
  type: 'insert.block object'
@@ -12008,6 +12042,7 @@ declare const editorMachine: StateMachine<
12008
12042
  | {
12009
12043
  type: 'insert.blocks'
12010
12044
  blocks: Array<PortableTextBlock>
12045
+ placement: 'auto' | 'after' | 'before'
12011
12046
  }
12012
12047
  | {
12013
12048
  type: 'insert.block object'
@@ -12365,6 +12400,7 @@ declare const editorMachine: StateMachine<
12365
12400
  | {
12366
12401
  type: 'insert.blocks'
12367
12402
  blocks: Array<PortableTextBlock>
12403
+ placement: 'auto' | 'after' | 'before'
12368
12404
  }
12369
12405
  | {
12370
12406
  type: 'insert.block object'
@@ -12670,6 +12706,7 @@ declare const editorMachine: StateMachine<
12670
12706
  | {
12671
12707
  type: 'insert.blocks'
12672
12708
  blocks: Array<PortableTextBlock>
12709
+ placement: 'auto' | 'after' | 'before'
12673
12710
  }
12674
12711
  | {
12675
12712
  type: 'insert.block object'
@@ -13027,6 +13064,7 @@ declare const editorMachine: StateMachine<
13027
13064
  | {
13028
13065
  type: 'insert.blocks'
13029
13066
  blocks: Array<PortableTextBlock>
13067
+ placement: 'auto' | 'after' | 'before'
13030
13068
  }
13031
13069
  | {
13032
13070
  type: 'insert.block object'
@@ -13333,6 +13371,7 @@ declare const editorMachine: StateMachine<
13333
13371
  | {
13334
13372
  type: 'insert.blocks'
13335
13373
  blocks: Array<PortableTextBlock>
13374
+ placement: 'auto' | 'after' | 'before'
13336
13375
  }
13337
13376
  | {
13338
13377
  type: 'insert.block object'
@@ -13690,6 +13729,7 @@ declare const editorMachine: StateMachine<
13690
13729
  | {
13691
13730
  type: 'insert.blocks'
13692
13731
  blocks: Array<PortableTextBlock>
13732
+ placement: 'auto' | 'after' | 'before'
13693
13733
  }
13694
13734
  | {
13695
13735
  type: 'insert.block object'
@@ -13982,6 +14022,7 @@ declare const editorMachine: StateMachine<
13982
14022
  | {
13983
14023
  type: 'insert.blocks'
13984
14024
  blocks: Array<PortableTextBlock>
14025
+ placement: 'auto' | 'after' | 'before'
13985
14026
  }
13986
14027
  | {
13987
14028
  type: 'insert.block object'
@@ -14339,6 +14380,7 @@ declare const editorMachine: StateMachine<
14339
14380
  | {
14340
14381
  type: 'insert.blocks'
14341
14382
  blocks: Array<PortableTextBlock>
14383
+ placement: 'auto' | 'after' | 'before'
14342
14384
  }
14343
14385
  | {
14344
14386
  type: 'insert.block object'
@@ -14634,6 +14676,7 @@ declare const editorMachine: StateMachine<
14634
14676
  | {
14635
14677
  type: 'insert.blocks'
14636
14678
  blocks: Array<PortableTextBlock>
14679
+ placement: 'auto' | 'after' | 'before'
14637
14680
  }
14638
14681
  | {
14639
14682
  type: 'insert.block object'
@@ -14991,6 +15034,7 @@ declare const editorMachine: StateMachine<
14991
15034
  | {
14992
15035
  type: 'insert.blocks'
14993
15036
  blocks: Array<PortableTextBlock>
15037
+ placement: 'auto' | 'after' | 'before'
14994
15038
  }
14995
15039
  | {
14996
15040
  type: 'insert.block object'
@@ -15191,6 +15235,7 @@ declare const editorMachine: StateMachine<
15191
15235
  | {
15192
15236
  type: 'insert.blocks'
15193
15237
  blocks: Array<PortableTextBlock>
15238
+ placement: 'auto' | 'after' | 'before'
15194
15239
  }
15195
15240
  | {
15196
15241
  type: 'insert.block object'
@@ -15337,6 +15382,7 @@ declare const editorMachine: StateMachine<
15337
15382
  | {
15338
15383
  type: 'insert.blocks'
15339
15384
  blocks: Array<PortableTextBlock>
15385
+ placement: 'auto' | 'after' | 'before'
15340
15386
  }
15341
15387
  | {
15342
15388
  type: 'insert.block object'
@@ -15694,6 +15740,7 @@ declare const editorMachine: StateMachine<
15694
15740
  | {
15695
15741
  type: 'insert.blocks'
15696
15742
  blocks: Array<PortableTextBlock>
15743
+ placement: 'auto' | 'after' | 'before'
15697
15744
  }
15698
15745
  | {
15699
15746
  type: 'insert.block object'
@@ -15995,6 +16042,7 @@ declare const editorMachine: StateMachine<
15995
16042
  | {
15996
16043
  type: 'insert.blocks'
15997
16044
  blocks: Array<PortableTextBlock>
16045
+ placement: 'auto' | 'after' | 'before'
15998
16046
  }
15999
16047
  | {
16000
16048
  type: 'insert.block object'
@@ -16352,6 +16400,7 @@ declare const editorMachine: StateMachine<
16352
16400
  | {
16353
16401
  type: 'insert.blocks'
16354
16402
  blocks: Array<PortableTextBlock>
16403
+ placement: 'auto' | 'after' | 'before'
16355
16404
  }
16356
16405
  | {
16357
16406
  type: 'insert.block object'
@@ -16654,6 +16703,7 @@ declare const editorMachine: StateMachine<
16654
16703
  | {
16655
16704
  type: 'insert.blocks'
16656
16705
  blocks: Array<PortableTextBlock>
16706
+ placement: 'auto' | 'after' | 'before'
16657
16707
  }
16658
16708
  | {
16659
16709
  type: 'insert.block object'
@@ -17011,6 +17061,7 @@ declare const editorMachine: StateMachine<
17011
17061
  | {
17012
17062
  type: 'insert.blocks'
17013
17063
  blocks: Array<PortableTextBlock>
17064
+ placement: 'auto' | 'after' | 'before'
17014
17065
  }
17015
17066
  | {
17016
17067
  type: 'insert.block object'
@@ -17304,6 +17355,7 @@ declare const editorMachine: StateMachine<
17304
17355
  | {
17305
17356
  type: 'insert.blocks'
17306
17357
  blocks: Array<PortableTextBlock>
17358
+ placement: 'auto' | 'after' | 'before'
17307
17359
  }
17308
17360
  | {
17309
17361
  type: 'insert.block object'
@@ -17661,6 +17713,7 @@ declare const editorMachine: StateMachine<
17661
17713
  | {
17662
17714
  type: 'insert.blocks'
17663
17715
  blocks: Array<PortableTextBlock>
17716
+ placement: 'auto' | 'after' | 'before'
17664
17717
  }
17665
17718
  | {
17666
17719
  type: 'insert.block object'
@@ -17956,6 +18009,7 @@ declare const editorMachine: StateMachine<
17956
18009
  | {
17957
18010
  type: 'insert.blocks'
17958
18011
  blocks: Array<PortableTextBlock>
18012
+ placement: 'auto' | 'after' | 'before'
17959
18013
  }
17960
18014
  | {
17961
18015
  type: 'insert.block object'
@@ -18313,6 +18367,7 @@ declare const editorMachine: StateMachine<
18313
18367
  | {
18314
18368
  type: 'insert.blocks'
18315
18369
  blocks: Array<PortableTextBlock>
18370
+ placement: 'auto' | 'after' | 'before'
18316
18371
  }
18317
18372
  | {
18318
18373
  type: 'insert.block object'
@@ -18614,6 +18669,7 @@ declare const editorMachine: StateMachine<
18614
18669
  | {
18615
18670
  type: 'insert.blocks'
18616
18671
  blocks: Array<PortableTextBlock>
18672
+ placement: 'auto' | 'after' | 'before'
18617
18673
  }
18618
18674
  | {
18619
18675
  type: 'insert.block object'
@@ -18971,6 +19027,7 @@ declare const editorMachine: StateMachine<
18971
19027
  | {
18972
19028
  type: 'insert.blocks'
18973
19029
  blocks: Array<PortableTextBlock>
19030
+ placement: 'auto' | 'after' | 'before'
18974
19031
  }
18975
19032
  | {
18976
19033
  type: 'insert.block object'
@@ -19958,6 +20015,7 @@ declare type SyntheticBehaviorEvent =
19958
20015
  | {
19959
20016
  type: 'insert.blocks'
19960
20017
  blocks: Array<PortableTextBlock>
20018
+ placement: 'auto' | 'after' | 'before'
19961
20019
  }
19962
20020
  | {
19963
20021
  type: 'insert.block object'