@portabletext/editor 1.49.3 → 1.49.5

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.
@@ -3828,6 +3828,8 @@ declare const editorMachine: StateMachine<
3828
3828
  }
3829
3829
  readonly states: {
3830
3830
  readonly 'determine initial edit mode': {
3831
+ readonly entry: readonly [() => void]
3832
+ readonly exit: readonly [() => void]
3831
3833
  readonly on: {
3832
3834
  readonly 'done syncing value': readonly [
3833
3835
  {
@@ -3867,6 +3869,8 @@ declare const editorMachine: StateMachine<
3867
3869
  }
3868
3870
  }
3869
3871
  readonly 'read only': {
3872
+ readonly entry: readonly [() => void]
3873
+ readonly exit: readonly [() => void]
3870
3874
  readonly on: {
3871
3875
  readonly 'update readOnly': {
3872
3876
  readonly guard: ({
@@ -4105,6 +4109,8 @@ declare const editorMachine: StateMachine<
4105
4109
  readonly initial: 'idle'
4106
4110
  readonly states: {
4107
4111
  readonly 'idle': {
4112
+ readonly entry: readonly [() => void]
4113
+ readonly exit: readonly [() => void]
4108
4114
  readonly on: {
4109
4115
  readonly dragstart: {
4110
4116
  readonly actions: readonly [
@@ -4276,6 +4282,8 @@ declare const editorMachine: StateMachine<
4276
4282
  readonly initial: 'checking if busy'
4277
4283
  readonly states: {
4278
4284
  readonly 'checking if busy': {
4285
+ readonly entry: readonly [() => void]
4286
+ readonly exit: readonly [() => void]
4279
4287
  readonly always: readonly [
4280
4288
  {
4281
4289
  readonly guard: 'slate is busy'
@@ -4288,6 +4296,8 @@ declare const editorMachine: StateMachine<
4288
4296
  ]
4289
4297
  }
4290
4298
  readonly 'busy': {
4299
+ readonly entry: readonly [() => void]
4300
+ readonly exit: readonly [() => void]
4291
4301
  readonly after: {
4292
4302
  readonly 10: {
4293
4303
  readonly target: 'checking if busy'
@@ -4297,7 +4307,9 @@ declare const editorMachine: StateMachine<
4297
4307
  }
4298
4308
  }
4299
4309
  readonly 'dragging internally': {
4310
+ readonly entry: readonly [() => void]
4300
4311
  readonly exit: readonly [
4312
+ () => void,
4301
4313
  ({
4302
4314
  context,
4303
4315
  }: ActionArgs<
@@ -4869,7 +4881,9 @@ declare const editorMachine: StateMachine<
4869
4881
  readonly initial: 'setting up'
4870
4882
  readonly states: {
4871
4883
  readonly 'setting up': {
4884
+ readonly entry: readonly [() => void]
4872
4885
  readonly exit: readonly [
4886
+ () => void,
4873
4887
  'emit ready',
4874
4888
  'emit pending incoming patches',
4875
4889
  'clear pending incoming patches',
@@ -4896,6 +4910,8 @@ declare const editorMachine: StateMachine<
4896
4910
  readonly initial: 'idle'
4897
4911
  readonly states: {
4898
4912
  readonly 'idle': {
4913
+ readonly entry: readonly [() => void]
4914
+ readonly exit: readonly [() => void]
4899
4915
  readonly on: {
4900
4916
  readonly 'patches': {
4901
4917
  readonly actions: readonly [
@@ -5110,7 +5126,9 @@ declare const editorMachine: StateMachine<
5110
5126
  }
5111
5127
  }
5112
5128
  readonly 'syncing value': {
5129
+ readonly entry: readonly [() => void]
5113
5130
  readonly exit: readonly [
5131
+ () => void,
5114
5132
  'emit pending incoming patches',
5115
5133
  'clear pending incoming patches',
5116
5134
  ]
@@ -5132,6 +5150,8 @@ declare const editorMachine: StateMachine<
5132
5150
  readonly initial: 'idle'
5133
5151
  readonly states: {
5134
5152
  readonly idle: {
5153
+ readonly entry: readonly [() => void]
5154
+ readonly exit: readonly [() => void]
5135
5155
  readonly on: {
5136
5156
  readonly 'normalizing': {
5137
5157
  readonly target: 'normalizing'
@@ -5147,6 +5167,8 @@ declare const editorMachine: StateMachine<
5147
5167
  }
5148
5168
  }
5149
5169
  readonly normalizing: {
5170
+ readonly entry: readonly [() => void]
5171
+ readonly exit: readonly [() => void]
5150
5172
  readonly on: {
5151
5173
  readonly 'done normalizing': {
5152
5174
  readonly target: 'idle'
@@ -5163,9 +5185,11 @@ declare const editorMachine: StateMachine<
5163
5185
  }
5164
5186
  readonly dirty: {
5165
5187
  readonly entry: readonly [
5188
+ () => void,
5166
5189
  'emit pending events',
5167
5190
  'clear pending events',
5168
5191
  ]
5192
+ readonly exit: readonly [() => void]
5169
5193
  readonly on: {
5170
5194
  readonly 'internal.patch': {
5171
5195
  readonly actions: 'emit patch event'
@@ -3828,6 +3828,8 @@ declare const editorMachine: StateMachine<
3828
3828
  }
3829
3829
  readonly states: {
3830
3830
  readonly 'determine initial edit mode': {
3831
+ readonly entry: readonly [() => void]
3832
+ readonly exit: readonly [() => void]
3831
3833
  readonly on: {
3832
3834
  readonly 'done syncing value': readonly [
3833
3835
  {
@@ -3867,6 +3869,8 @@ declare const editorMachine: StateMachine<
3867
3869
  }
3868
3870
  }
3869
3871
  readonly 'read only': {
3872
+ readonly entry: readonly [() => void]
3873
+ readonly exit: readonly [() => void]
3870
3874
  readonly on: {
3871
3875
  readonly 'update readOnly': {
3872
3876
  readonly guard: ({
@@ -4105,6 +4109,8 @@ declare const editorMachine: StateMachine<
4105
4109
  readonly initial: 'idle'
4106
4110
  readonly states: {
4107
4111
  readonly 'idle': {
4112
+ readonly entry: readonly [() => void]
4113
+ readonly exit: readonly [() => void]
4108
4114
  readonly on: {
4109
4115
  readonly dragstart: {
4110
4116
  readonly actions: readonly [
@@ -4276,6 +4282,8 @@ declare const editorMachine: StateMachine<
4276
4282
  readonly initial: 'checking if busy'
4277
4283
  readonly states: {
4278
4284
  readonly 'checking if busy': {
4285
+ readonly entry: readonly [() => void]
4286
+ readonly exit: readonly [() => void]
4279
4287
  readonly always: readonly [
4280
4288
  {
4281
4289
  readonly guard: 'slate is busy'
@@ -4288,6 +4296,8 @@ declare const editorMachine: StateMachine<
4288
4296
  ]
4289
4297
  }
4290
4298
  readonly 'busy': {
4299
+ readonly entry: readonly [() => void]
4300
+ readonly exit: readonly [() => void]
4291
4301
  readonly after: {
4292
4302
  readonly 10: {
4293
4303
  readonly target: 'checking if busy'
@@ -4297,7 +4307,9 @@ declare const editorMachine: StateMachine<
4297
4307
  }
4298
4308
  }
4299
4309
  readonly 'dragging internally': {
4310
+ readonly entry: readonly [() => void]
4300
4311
  readonly exit: readonly [
4312
+ () => void,
4301
4313
  ({
4302
4314
  context,
4303
4315
  }: ActionArgs<
@@ -4869,7 +4881,9 @@ declare const editorMachine: StateMachine<
4869
4881
  readonly initial: 'setting up'
4870
4882
  readonly states: {
4871
4883
  readonly 'setting up': {
4884
+ readonly entry: readonly [() => void]
4872
4885
  readonly exit: readonly [
4886
+ () => void,
4873
4887
  'emit ready',
4874
4888
  'emit pending incoming patches',
4875
4889
  'clear pending incoming patches',
@@ -4896,6 +4910,8 @@ declare const editorMachine: StateMachine<
4896
4910
  readonly initial: 'idle'
4897
4911
  readonly states: {
4898
4912
  readonly 'idle': {
4913
+ readonly entry: readonly [() => void]
4914
+ readonly exit: readonly [() => void]
4899
4915
  readonly on: {
4900
4916
  readonly 'patches': {
4901
4917
  readonly actions: readonly [
@@ -5110,7 +5126,9 @@ declare const editorMachine: StateMachine<
5110
5126
  }
5111
5127
  }
5112
5128
  readonly 'syncing value': {
5129
+ readonly entry: readonly [() => void]
5113
5130
  readonly exit: readonly [
5131
+ () => void,
5114
5132
  'emit pending incoming patches',
5115
5133
  'clear pending incoming patches',
5116
5134
  ]
@@ -5132,6 +5150,8 @@ declare const editorMachine: StateMachine<
5132
5150
  readonly initial: 'idle'
5133
5151
  readonly states: {
5134
5152
  readonly idle: {
5153
+ readonly entry: readonly [() => void]
5154
+ readonly exit: readonly [() => void]
5135
5155
  readonly on: {
5136
5156
  readonly 'normalizing': {
5137
5157
  readonly target: 'normalizing'
@@ -5147,6 +5167,8 @@ declare const editorMachine: StateMachine<
5147
5167
  }
5148
5168
  }
5149
5169
  readonly normalizing: {
5170
+ readonly entry: readonly [() => void]
5171
+ readonly exit: readonly [() => void]
5150
5172
  readonly on: {
5151
5173
  readonly 'done normalizing': {
5152
5174
  readonly target: 'idle'
@@ -5163,9 +5185,11 @@ declare const editorMachine: StateMachine<
5163
5185
  }
5164
5186
  readonly dirty: {
5165
5187
  readonly entry: readonly [
5188
+ () => void,
5166
5189
  'emit pending events',
5167
5190
  'clear pending events',
5168
5191
  ]
5192
+ readonly exit: readonly [() => void]
5169
5193
  readonly on: {
5170
5194
  readonly 'internal.patch': {
5171
5195
  readonly actions: 'emit patch event'
@@ -3738,6 +3738,8 @@ declare const editorMachine: StateMachine<
3738
3738
  }
3739
3739
  readonly states: {
3740
3740
  readonly 'determine initial edit mode': {
3741
+ readonly entry: readonly [() => void]
3742
+ readonly exit: readonly [() => void]
3741
3743
  readonly on: {
3742
3744
  readonly 'done syncing value': readonly [
3743
3745
  {
@@ -3777,6 +3779,8 @@ declare const editorMachine: StateMachine<
3777
3779
  }
3778
3780
  }
3779
3781
  readonly 'read only': {
3782
+ readonly entry: readonly [() => void]
3783
+ readonly exit: readonly [() => void]
3780
3784
  readonly on: {
3781
3785
  readonly 'update readOnly': {
3782
3786
  readonly guard: ({
@@ -4015,6 +4019,8 @@ declare const editorMachine: StateMachine<
4015
4019
  readonly initial: 'idle'
4016
4020
  readonly states: {
4017
4021
  readonly 'idle': {
4022
+ readonly entry: readonly [() => void]
4023
+ readonly exit: readonly [() => void]
4018
4024
  readonly on: {
4019
4025
  readonly dragstart: {
4020
4026
  readonly actions: readonly [
@@ -4186,6 +4192,8 @@ declare const editorMachine: StateMachine<
4186
4192
  readonly initial: 'checking if busy'
4187
4193
  readonly states: {
4188
4194
  readonly 'checking if busy': {
4195
+ readonly entry: readonly [() => void]
4196
+ readonly exit: readonly [() => void]
4189
4197
  readonly always: readonly [
4190
4198
  {
4191
4199
  readonly guard: 'slate is busy'
@@ -4198,6 +4206,8 @@ declare const editorMachine: StateMachine<
4198
4206
  ]
4199
4207
  }
4200
4208
  readonly 'busy': {
4209
+ readonly entry: readonly [() => void]
4210
+ readonly exit: readonly [() => void]
4201
4211
  readonly after: {
4202
4212
  readonly 10: {
4203
4213
  readonly target: 'checking if busy'
@@ -4207,7 +4217,9 @@ declare const editorMachine: StateMachine<
4207
4217
  }
4208
4218
  }
4209
4219
  readonly 'dragging internally': {
4220
+ readonly entry: readonly [() => void]
4210
4221
  readonly exit: readonly [
4222
+ () => void,
4211
4223
  ({
4212
4224
  context,
4213
4225
  }: ActionArgs<
@@ -4779,7 +4791,9 @@ declare const editorMachine: StateMachine<
4779
4791
  readonly initial: 'setting up'
4780
4792
  readonly states: {
4781
4793
  readonly 'setting up': {
4794
+ readonly entry: readonly [() => void]
4782
4795
  readonly exit: readonly [
4796
+ () => void,
4783
4797
  'emit ready',
4784
4798
  'emit pending incoming patches',
4785
4799
  'clear pending incoming patches',
@@ -4806,6 +4820,8 @@ declare const editorMachine: StateMachine<
4806
4820
  readonly initial: 'idle'
4807
4821
  readonly states: {
4808
4822
  readonly 'idle': {
4823
+ readonly entry: readonly [() => void]
4824
+ readonly exit: readonly [() => void]
4809
4825
  readonly on: {
4810
4826
  readonly 'patches': {
4811
4827
  readonly actions: readonly [
@@ -5020,7 +5036,9 @@ declare const editorMachine: StateMachine<
5020
5036
  }
5021
5037
  }
5022
5038
  readonly 'syncing value': {
5039
+ readonly entry: readonly [() => void]
5023
5040
  readonly exit: readonly [
5041
+ () => void,
5024
5042
  'emit pending incoming patches',
5025
5043
  'clear pending incoming patches',
5026
5044
  ]
@@ -5042,6 +5060,8 @@ declare const editorMachine: StateMachine<
5042
5060
  readonly initial: 'idle'
5043
5061
  readonly states: {
5044
5062
  readonly idle: {
5063
+ readonly entry: readonly [() => void]
5064
+ readonly exit: readonly [() => void]
5045
5065
  readonly on: {
5046
5066
  readonly 'normalizing': {
5047
5067
  readonly target: 'normalizing'
@@ -5057,6 +5077,8 @@ declare const editorMachine: StateMachine<
5057
5077
  }
5058
5078
  }
5059
5079
  readonly normalizing: {
5080
+ readonly entry: readonly [() => void]
5081
+ readonly exit: readonly [() => void]
5060
5082
  readonly on: {
5061
5083
  readonly 'done normalizing': {
5062
5084
  readonly target: 'idle'
@@ -5073,9 +5095,11 @@ declare const editorMachine: StateMachine<
5073
5095
  }
5074
5096
  readonly dirty: {
5075
5097
  readonly entry: readonly [
5098
+ () => void,
5076
5099
  'emit pending events',
5077
5100
  'clear pending events',
5078
5101
  ]
5102
+ readonly exit: readonly [() => void]
5079
5103
  readonly on: {
5080
5104
  readonly 'internal.patch': {
5081
5105
  readonly actions: 'emit patch event'
@@ -3738,6 +3738,8 @@ declare const editorMachine: StateMachine<
3738
3738
  }
3739
3739
  readonly states: {
3740
3740
  readonly 'determine initial edit mode': {
3741
+ readonly entry: readonly [() => void]
3742
+ readonly exit: readonly [() => void]
3741
3743
  readonly on: {
3742
3744
  readonly 'done syncing value': readonly [
3743
3745
  {
@@ -3777,6 +3779,8 @@ declare const editorMachine: StateMachine<
3777
3779
  }
3778
3780
  }
3779
3781
  readonly 'read only': {
3782
+ readonly entry: readonly [() => void]
3783
+ readonly exit: readonly [() => void]
3780
3784
  readonly on: {
3781
3785
  readonly 'update readOnly': {
3782
3786
  readonly guard: ({
@@ -4015,6 +4019,8 @@ declare const editorMachine: StateMachine<
4015
4019
  readonly initial: 'idle'
4016
4020
  readonly states: {
4017
4021
  readonly 'idle': {
4022
+ readonly entry: readonly [() => void]
4023
+ readonly exit: readonly [() => void]
4018
4024
  readonly on: {
4019
4025
  readonly dragstart: {
4020
4026
  readonly actions: readonly [
@@ -4186,6 +4192,8 @@ declare const editorMachine: StateMachine<
4186
4192
  readonly initial: 'checking if busy'
4187
4193
  readonly states: {
4188
4194
  readonly 'checking if busy': {
4195
+ readonly entry: readonly [() => void]
4196
+ readonly exit: readonly [() => void]
4189
4197
  readonly always: readonly [
4190
4198
  {
4191
4199
  readonly guard: 'slate is busy'
@@ -4198,6 +4206,8 @@ declare const editorMachine: StateMachine<
4198
4206
  ]
4199
4207
  }
4200
4208
  readonly 'busy': {
4209
+ readonly entry: readonly [() => void]
4210
+ readonly exit: readonly [() => void]
4201
4211
  readonly after: {
4202
4212
  readonly 10: {
4203
4213
  readonly target: 'checking if busy'
@@ -4207,7 +4217,9 @@ declare const editorMachine: StateMachine<
4207
4217
  }
4208
4218
  }
4209
4219
  readonly 'dragging internally': {
4220
+ readonly entry: readonly [() => void]
4210
4221
  readonly exit: readonly [
4222
+ () => void,
4211
4223
  ({
4212
4224
  context,
4213
4225
  }: ActionArgs<
@@ -4779,7 +4791,9 @@ declare const editorMachine: StateMachine<
4779
4791
  readonly initial: 'setting up'
4780
4792
  readonly states: {
4781
4793
  readonly 'setting up': {
4794
+ readonly entry: readonly [() => void]
4782
4795
  readonly exit: readonly [
4796
+ () => void,
4783
4797
  'emit ready',
4784
4798
  'emit pending incoming patches',
4785
4799
  'clear pending incoming patches',
@@ -4806,6 +4820,8 @@ declare const editorMachine: StateMachine<
4806
4820
  readonly initial: 'idle'
4807
4821
  readonly states: {
4808
4822
  readonly 'idle': {
4823
+ readonly entry: readonly [() => void]
4824
+ readonly exit: readonly [() => void]
4809
4825
  readonly on: {
4810
4826
  readonly 'patches': {
4811
4827
  readonly actions: readonly [
@@ -5020,7 +5036,9 @@ declare const editorMachine: StateMachine<
5020
5036
  }
5021
5037
  }
5022
5038
  readonly 'syncing value': {
5039
+ readonly entry: readonly [() => void]
5023
5040
  readonly exit: readonly [
5041
+ () => void,
5024
5042
  'emit pending incoming patches',
5025
5043
  'clear pending incoming patches',
5026
5044
  ]
@@ -5042,6 +5060,8 @@ declare const editorMachine: StateMachine<
5042
5060
  readonly initial: 'idle'
5043
5061
  readonly states: {
5044
5062
  readonly idle: {
5063
+ readonly entry: readonly [() => void]
5064
+ readonly exit: readonly [() => void]
5045
5065
  readonly on: {
5046
5066
  readonly 'normalizing': {
5047
5067
  readonly target: 'normalizing'
@@ -5057,6 +5077,8 @@ declare const editorMachine: StateMachine<
5057
5077
  }
5058
5078
  }
5059
5079
  readonly normalizing: {
5080
+ readonly entry: readonly [() => void]
5081
+ readonly exit: readonly [() => void]
5060
5082
  readonly on: {
5061
5083
  readonly 'done normalizing': {
5062
5084
  readonly target: 'idle'
@@ -5073,9 +5095,11 @@ declare const editorMachine: StateMachine<
5073
5095
  }
5074
5096
  readonly dirty: {
5075
5097
  readonly entry: readonly [
5098
+ () => void,
5076
5099
  'emit pending events',
5077
5100
  'clear pending events',
5078
5101
  ]
5102
+ readonly exit: readonly [() => void]
5079
5103
  readonly on: {
5080
5104
  readonly 'internal.patch': {
5081
5105
  readonly actions: 'emit patch event'
@@ -3808,6 +3808,8 @@ declare const editorMachine: StateMachine<
3808
3808
  }
3809
3809
  readonly states: {
3810
3810
  readonly 'determine initial edit mode': {
3811
+ readonly entry: readonly [() => void]
3812
+ readonly exit: readonly [() => void]
3811
3813
  readonly on: {
3812
3814
  readonly 'done syncing value': readonly [
3813
3815
  {
@@ -3847,6 +3849,8 @@ declare const editorMachine: StateMachine<
3847
3849
  }
3848
3850
  }
3849
3851
  readonly 'read only': {
3852
+ readonly entry: readonly [() => void]
3853
+ readonly exit: readonly [() => void]
3850
3854
  readonly on: {
3851
3855
  readonly 'update readOnly': {
3852
3856
  readonly guard: ({
@@ -4085,6 +4089,8 @@ declare const editorMachine: StateMachine<
4085
4089
  readonly initial: 'idle'
4086
4090
  readonly states: {
4087
4091
  readonly 'idle': {
4092
+ readonly entry: readonly [() => void]
4093
+ readonly exit: readonly [() => void]
4088
4094
  readonly on: {
4089
4095
  readonly dragstart: {
4090
4096
  readonly actions: readonly [
@@ -4256,6 +4262,8 @@ declare const editorMachine: StateMachine<
4256
4262
  readonly initial: 'checking if busy'
4257
4263
  readonly states: {
4258
4264
  readonly 'checking if busy': {
4265
+ readonly entry: readonly [() => void]
4266
+ readonly exit: readonly [() => void]
4259
4267
  readonly always: readonly [
4260
4268
  {
4261
4269
  readonly guard: 'slate is busy'
@@ -4268,6 +4276,8 @@ declare const editorMachine: StateMachine<
4268
4276
  ]
4269
4277
  }
4270
4278
  readonly 'busy': {
4279
+ readonly entry: readonly [() => void]
4280
+ readonly exit: readonly [() => void]
4271
4281
  readonly after: {
4272
4282
  readonly 10: {
4273
4283
  readonly target: 'checking if busy'
@@ -4277,7 +4287,9 @@ declare const editorMachine: StateMachine<
4277
4287
  }
4278
4288
  }
4279
4289
  readonly 'dragging internally': {
4290
+ readonly entry: readonly [() => void]
4280
4291
  readonly exit: readonly [
4292
+ () => void,
4281
4293
  ({
4282
4294
  context,
4283
4295
  }: ActionArgs<
@@ -4849,7 +4861,9 @@ declare const editorMachine: StateMachine<
4849
4861
  readonly initial: 'setting up'
4850
4862
  readonly states: {
4851
4863
  readonly 'setting up': {
4864
+ readonly entry: readonly [() => void]
4852
4865
  readonly exit: readonly [
4866
+ () => void,
4853
4867
  'emit ready',
4854
4868
  'emit pending incoming patches',
4855
4869
  'clear pending incoming patches',
@@ -4876,6 +4890,8 @@ declare const editorMachine: StateMachine<
4876
4890
  readonly initial: 'idle'
4877
4891
  readonly states: {
4878
4892
  readonly 'idle': {
4893
+ readonly entry: readonly [() => void]
4894
+ readonly exit: readonly [() => void]
4879
4895
  readonly on: {
4880
4896
  readonly 'patches': {
4881
4897
  readonly actions: readonly [
@@ -5090,7 +5106,9 @@ declare const editorMachine: StateMachine<
5090
5106
  }
5091
5107
  }
5092
5108
  readonly 'syncing value': {
5109
+ readonly entry: readonly [() => void]
5093
5110
  readonly exit: readonly [
5111
+ () => void,
5094
5112
  'emit pending incoming patches',
5095
5113
  'clear pending incoming patches',
5096
5114
  ]
@@ -5112,6 +5130,8 @@ declare const editorMachine: StateMachine<
5112
5130
  readonly initial: 'idle'
5113
5131
  readonly states: {
5114
5132
  readonly idle: {
5133
+ readonly entry: readonly [() => void]
5134
+ readonly exit: readonly [() => void]
5115
5135
  readonly on: {
5116
5136
  readonly 'normalizing': {
5117
5137
  readonly target: 'normalizing'
@@ -5127,6 +5147,8 @@ declare const editorMachine: StateMachine<
5127
5147
  }
5128
5148
  }
5129
5149
  readonly normalizing: {
5150
+ readonly entry: readonly [() => void]
5151
+ readonly exit: readonly [() => void]
5130
5152
  readonly on: {
5131
5153
  readonly 'done normalizing': {
5132
5154
  readonly target: 'idle'
@@ -5143,9 +5165,11 @@ declare const editorMachine: StateMachine<
5143
5165
  }
5144
5166
  readonly dirty: {
5145
5167
  readonly entry: readonly [
5168
+ () => void,
5146
5169
  'emit pending events',
5147
5170
  'clear pending events',
5148
5171
  ]
5172
+ readonly exit: readonly [() => void]
5149
5173
  readonly on: {
5150
5174
  readonly 'internal.patch': {
5151
5175
  readonly actions: 'emit patch event'
@@ -3808,6 +3808,8 @@ declare const editorMachine: StateMachine<
3808
3808
  }
3809
3809
  readonly states: {
3810
3810
  readonly 'determine initial edit mode': {
3811
+ readonly entry: readonly [() => void]
3812
+ readonly exit: readonly [() => void]
3811
3813
  readonly on: {
3812
3814
  readonly 'done syncing value': readonly [
3813
3815
  {
@@ -3847,6 +3849,8 @@ declare const editorMachine: StateMachine<
3847
3849
  }
3848
3850
  }
3849
3851
  readonly 'read only': {
3852
+ readonly entry: readonly [() => void]
3853
+ readonly exit: readonly [() => void]
3850
3854
  readonly on: {
3851
3855
  readonly 'update readOnly': {
3852
3856
  readonly guard: ({
@@ -4085,6 +4089,8 @@ declare const editorMachine: StateMachine<
4085
4089
  readonly initial: 'idle'
4086
4090
  readonly states: {
4087
4091
  readonly 'idle': {
4092
+ readonly entry: readonly [() => void]
4093
+ readonly exit: readonly [() => void]
4088
4094
  readonly on: {
4089
4095
  readonly dragstart: {
4090
4096
  readonly actions: readonly [
@@ -4256,6 +4262,8 @@ declare const editorMachine: StateMachine<
4256
4262
  readonly initial: 'checking if busy'
4257
4263
  readonly states: {
4258
4264
  readonly 'checking if busy': {
4265
+ readonly entry: readonly [() => void]
4266
+ readonly exit: readonly [() => void]
4259
4267
  readonly always: readonly [
4260
4268
  {
4261
4269
  readonly guard: 'slate is busy'
@@ -4268,6 +4276,8 @@ declare const editorMachine: StateMachine<
4268
4276
  ]
4269
4277
  }
4270
4278
  readonly 'busy': {
4279
+ readonly entry: readonly [() => void]
4280
+ readonly exit: readonly [() => void]
4271
4281
  readonly after: {
4272
4282
  readonly 10: {
4273
4283
  readonly target: 'checking if busy'
@@ -4277,7 +4287,9 @@ declare const editorMachine: StateMachine<
4277
4287
  }
4278
4288
  }
4279
4289
  readonly 'dragging internally': {
4290
+ readonly entry: readonly [() => void]
4280
4291
  readonly exit: readonly [
4292
+ () => void,
4281
4293
  ({
4282
4294
  context,
4283
4295
  }: ActionArgs<
@@ -4849,7 +4861,9 @@ declare const editorMachine: StateMachine<
4849
4861
  readonly initial: 'setting up'
4850
4862
  readonly states: {
4851
4863
  readonly 'setting up': {
4864
+ readonly entry: readonly [() => void]
4852
4865
  readonly exit: readonly [
4866
+ () => void,
4853
4867
  'emit ready',
4854
4868
  'emit pending incoming patches',
4855
4869
  'clear pending incoming patches',
@@ -4876,6 +4890,8 @@ declare const editorMachine: StateMachine<
4876
4890
  readonly initial: 'idle'
4877
4891
  readonly states: {
4878
4892
  readonly 'idle': {
4893
+ readonly entry: readonly [() => void]
4894
+ readonly exit: readonly [() => void]
4879
4895
  readonly on: {
4880
4896
  readonly 'patches': {
4881
4897
  readonly actions: readonly [
@@ -5090,7 +5106,9 @@ declare const editorMachine: StateMachine<
5090
5106
  }
5091
5107
  }
5092
5108
  readonly 'syncing value': {
5109
+ readonly entry: readonly [() => void]
5093
5110
  readonly exit: readonly [
5111
+ () => void,
5094
5112
  'emit pending incoming patches',
5095
5113
  'clear pending incoming patches',
5096
5114
  ]
@@ -5112,6 +5130,8 @@ declare const editorMachine: StateMachine<
5112
5130
  readonly initial: 'idle'
5113
5131
  readonly states: {
5114
5132
  readonly idle: {
5133
+ readonly entry: readonly [() => void]
5134
+ readonly exit: readonly [() => void]
5115
5135
  readonly on: {
5116
5136
  readonly 'normalizing': {
5117
5137
  readonly target: 'normalizing'
@@ -5127,6 +5147,8 @@ declare const editorMachine: StateMachine<
5127
5147
  }
5128
5148
  }
5129
5149
  readonly normalizing: {
5150
+ readonly entry: readonly [() => void]
5151
+ readonly exit: readonly [() => void]
5130
5152
  readonly on: {
5131
5153
  readonly 'done normalizing': {
5132
5154
  readonly target: 'idle'
@@ -5143,9 +5165,11 @@ declare const editorMachine: StateMachine<
5143
5165
  }
5144
5166
  readonly dirty: {
5145
5167
  readonly entry: readonly [
5168
+ () => void,
5146
5169
  'emit pending events',
5147
5170
  'clear pending events',
5148
5171
  ]
5172
+ readonly exit: readonly [() => void]
5149
5173
  readonly on: {
5150
5174
  readonly 'internal.patch': {
5151
5175
  readonly actions: 'emit patch event'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@portabletext/editor",
3
- "version": "1.49.3",
3
+ "version": "1.49.5",
4
4
  "description": "Portable Text Editor made in React",
5
5
  "keywords": [
6
6
  "sanity",