@teambit/preview 1.0.248 → 1.0.250

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.
@@ -219,7 +219,7 @@
219
219
  "_legacy": {
220
220
  "scope": "teambit.preview",
221
221
  "name": "preview",
222
- "version": "1.0.248"
222
+ "version": "1.0.250"
223
223
  },
224
224
  "_scope": "teambit.preview"
225
225
  }
@@ -4504,7 +4504,7 @@
4504
4504
  "__schema": "ClassSchema",
4505
4505
  "location": {
4506
4506
  "filePath": "preview.preview.runtime.tsx",
4507
- "line": 30,
4507
+ "line": 31,
4508
4508
  "character": 1
4509
4509
  },
4510
4510
  "signature": "class PreviewPreview",
@@ -4514,7 +4514,7 @@
4514
4514
  "__schema": "ConstructorSchema",
4515
4515
  "location": {
4516
4516
  "filePath": "preview.preview.runtime.tsx",
4517
- "line": 31,
4517
+ "line": 32,
4518
4518
  "character": 3
4519
4519
  },
4520
4520
  "signature": "constructor PreviewPreview(pubsub: PubsubPreview, previewSlot: PreviewSlot, renderingContextSlot: RenderingContextSlot): PreviewPreview",
@@ -4524,7 +4524,7 @@
4524
4524
  "__schema": "ParameterSchema",
4525
4525
  "location": {
4526
4526
  "filePath": "preview.preview.runtime.tsx",
4527
- "line": 35,
4527
+ "line": 36,
4528
4528
  "character": 5
4529
4529
  },
4530
4530
  "name": "pubsub",
@@ -4532,7 +4532,7 @@
4532
4532
  "__schema": "TypeRefSchema",
4533
4533
  "location": {
4534
4534
  "filePath": "preview.preview.runtime.tsx",
4535
- "line": 35,
4535
+ "line": 36,
4536
4536
  "character": 21
4537
4537
  },
4538
4538
  "name": "PubsubPreview",
@@ -4548,7 +4548,7 @@
4548
4548
  "__schema": "ParameterSchema",
4549
4549
  "location": {
4550
4550
  "filePath": "preview.preview.runtime.tsx",
4551
- "line": 40,
4551
+ "line": 41,
4552
4552
  "character": 5
4553
4553
  },
4554
4554
  "name": "previewSlot",
@@ -4556,7 +4556,7 @@
4556
4556
  "__schema": "TypeRefSchema",
4557
4557
  "location": {
4558
4558
  "filePath": "preview.preview.runtime.tsx",
4559
- "line": 40,
4559
+ "line": 41,
4560
4560
  "character": 26
4561
4561
  },
4562
4562
  "name": "PreviewSlot",
@@ -4569,7 +4569,7 @@
4569
4569
  "__schema": "ParameterSchema",
4570
4570
  "location": {
4571
4571
  "filePath": "preview.preview.runtime.tsx",
4572
- "line": 42,
4572
+ "line": 43,
4573
4573
  "character": 5
4574
4574
  },
4575
4575
  "name": "renderingContextSlot",
@@ -4577,7 +4577,7 @@
4577
4577
  "__schema": "TypeRefSchema",
4578
4578
  "location": {
4579
4579
  "filePath": "preview.preview.runtime.tsx",
4580
- "line": 42,
4580
+ "line": 43,
4581
4581
  "character": 35
4582
4582
  },
4583
4583
  "name": "RenderingContextSlot",
@@ -4591,7 +4591,7 @@
4591
4591
  "__schema": "ThisTypeSchema",
4592
4592
  "location": {
4593
4593
  "filePath": "preview.preview.runtime.tsx",
4594
- "line": 30,
4594
+ "line": 31,
4595
4595
  "character": 1
4596
4596
  },
4597
4597
  "name": "PreviewPreview"
@@ -4602,7 +4602,7 @@
4602
4602
  "__schema": "VariableLikeSchema",
4603
4603
  "location": {
4604
4604
  "filePath": "preview.preview.runtime.tsx",
4605
- "line": 71,
4605
+ "line": 72,
4606
4606
  "character": 3
4607
4607
  },
4608
4608
  "signature": "(property) PreviewPreview.setup: () => Promise<void>",
@@ -4611,7 +4611,7 @@
4611
4611
  "__schema": "InferenceTypeSchema",
4612
4612
  "location": {
4613
4613
  "filePath": "preview.preview.runtime.tsx",
4614
- "line": 71,
4614
+ "line": 72,
4615
4615
  "character": 3
4616
4616
  },
4617
4617
  "type": "() => Promise<void>"
@@ -4623,14 +4623,14 @@
4623
4623
  "__schema": "VariableLikeSchema",
4624
4624
  "location": {
4625
4625
  "filePath": "preview.preview.runtime.tsx",
4626
- "line": 86,
4626
+ "line": 87,
4627
4627
  "character": 3
4628
4628
  },
4629
4629
  "doc": {
4630
4630
  "__schema": "DocSchema",
4631
4631
  "location": {
4632
4632
  "filePath": "preview.preview.runtime.tsx",
4633
- "line": 83,
4633
+ "line": 84,
4634
4634
  "character": 3
4635
4635
  },
4636
4636
  "raw": "/**\n * render the preview.\n */",
@@ -4642,7 +4642,7 @@
4642
4642
  "__schema": "InferenceTypeSchema",
4643
4643
  "location": {
4644
4644
  "filePath": "preview.preview.runtime.tsx",
4645
- "line": 86,
4645
+ "line": 87,
4646
4646
  "character": 3
4647
4647
  },
4648
4648
  "type": "(rootExt?: string) => Promise<void>"
@@ -4654,7 +4654,7 @@
4654
4654
  "__schema": "FunctionLikeSchema",
4655
4655
  "location": {
4656
4656
  "filePath": "preview.preview.runtime.tsx",
4657
- "line": 144,
4657
+ "line": 145,
4658
4658
  "character": 3
4659
4659
  },
4660
4660
  "signature": "(method) PreviewPreview.setFullScreen(): void",
@@ -4664,7 +4664,7 @@
4664
4664
  "__schema": "InferenceTypeSchema",
4665
4665
  "location": {
4666
4666
  "filePath": "preview.preview.runtime.tsx",
4667
- "line": 144,
4667
+ "line": 145,
4668
4668
  "character": 3
4669
4669
  },
4670
4670
  "type": "void"
@@ -4675,7 +4675,7 @@
4675
4675
  "__schema": "FunctionLikeSchema",
4676
4676
  "location": {
4677
4677
  "filePath": "preview.preview.runtime.tsx",
4678
- "line": 157,
4678
+ "line": 158,
4679
4679
  "character": 3
4680
4680
  },
4681
4681
  "signature": "(method) PreviewPreview.setViewport(): void",
@@ -4685,7 +4685,7 @@
4685
4685
  "__schema": "InferenceTypeSchema",
4686
4686
  "location": {
4687
4687
  "filePath": "preview.preview.runtime.tsx",
4688
- "line": 157,
4688
+ "line": 158,
4689
4689
  "character": 3
4690
4690
  },
4691
4691
  "type": "void"
@@ -4696,7 +4696,7 @@
4696
4696
  "__schema": "FunctionLikeSchema",
4697
4697
  "location": {
4698
4698
  "filePath": "preview.preview.runtime.tsx",
4699
- "line": 168,
4699
+ "line": 169,
4700
4700
  "character": 3
4701
4701
  },
4702
4702
  "signature": "(method) PreviewPreview.reportSize(): void",
@@ -4706,7 +4706,7 @@
4706
4706
  "__schema": "InferenceTypeSchema",
4707
4707
  "location": {
4708
4708
  "filePath": "preview.preview.runtime.tsx",
4709
- "line": 168,
4709
+ "line": 169,
4710
4710
  "character": 3
4711
4711
  },
4712
4712
  "type": "void"
@@ -4717,7 +4717,7 @@
4717
4717
  "__schema": "FunctionLikeSchema",
4718
4718
  "location": {
4719
4719
  "filePath": "preview.preview.runtime.tsx",
4720
- "line": 202,
4720
+ "line": 203,
4721
4721
  "character": 3
4722
4722
  },
4723
4723
  "signature": "(method) PreviewPreview.getPreviewModule(previewName: string, id: ComponentID): Promise<PreviewModule>",
@@ -4727,7 +4727,7 @@
4727
4727
  "__schema": "ParameterSchema",
4728
4728
  "location": {
4729
4729
  "filePath": "preview.preview.runtime.tsx",
4730
- "line": 202,
4730
+ "line": 203,
4731
4731
  "character": 26
4732
4732
  },
4733
4733
  "name": "previewName",
@@ -4735,7 +4735,7 @@
4735
4735
  "__schema": "KeywordTypeSchema",
4736
4736
  "location": {
4737
4737
  "filePath": "preview.preview.runtime.tsx",
4738
- "line": 202,
4738
+ "line": 203,
4739
4739
  "character": 39
4740
4740
  },
4741
4741
  "name": "string"
@@ -4747,7 +4747,7 @@
4747
4747
  "__schema": "ParameterSchema",
4748
4748
  "location": {
4749
4749
  "filePath": "preview.preview.runtime.tsx",
4750
- "line": 202,
4750
+ "line": 203,
4751
4751
  "character": 47
4752
4752
  },
4753
4753
  "name": "id",
@@ -4755,7 +4755,7 @@
4755
4755
  "__schema": "TypeRefSchema",
4756
4756
  "location": {
4757
4757
  "filePath": "preview.preview.runtime.tsx",
4758
- "line": 202,
4758
+ "line": 203,
4759
4759
  "character": 51
4760
4760
  },
4761
4761
  "name": "ComponentID",
@@ -4773,7 +4773,7 @@
4773
4773
  "__schema": "TypeRefSchema",
4774
4774
  "location": {
4775
4775
  "filePath": "preview.preview.runtime.tsx",
4776
- "line": 202,
4776
+ "line": 203,
4777
4777
  "character": 65
4778
4778
  },
4779
4779
  "name": "Promise",
@@ -4782,7 +4782,7 @@
4782
4782
  "__schema": "TypeRefSchema",
4783
4783
  "location": {
4784
4784
  "filePath": "preview.preview.runtime.tsx",
4785
- "line": 202,
4785
+ "line": 203,
4786
4786
  "character": 73
4787
4787
  },
4788
4788
  "name": "PreviewModule"
@@ -4797,7 +4797,7 @@
4797
4797
  "__schema": "FunctionLikeSchema",
4798
4798
  "location": {
4799
4799
  "filePath": "preview.preview.runtime.tsx",
4800
- "line": 226,
4800
+ "line": 227,
4801
4801
  "character": 3
4802
4802
  },
4803
4803
  "signature": "(method) PreviewPreview.fetchComponentPreview(id: ComponentID, name: string): Promise<Record<string, ModuleFile[]>>",
@@ -4807,7 +4807,7 @@
4807
4807
  "__schema": "ParameterSchema",
4808
4808
  "location": {
4809
4809
  "filePath": "preview.preview.runtime.tsx",
4810
- "line": 226,
4810
+ "line": 227,
4811
4811
  "character": 31
4812
4812
  },
4813
4813
  "name": "id",
@@ -4815,7 +4815,7 @@
4815
4815
  "__schema": "TypeRefSchema",
4816
4816
  "location": {
4817
4817
  "filePath": "preview.preview.runtime.tsx",
4818
- "line": 226,
4818
+ "line": 227,
4819
4819
  "character": 35
4820
4820
  },
4821
4821
  "name": "ComponentID",
@@ -4832,7 +4832,7 @@
4832
4832
  "__schema": "ParameterSchema",
4833
4833
  "location": {
4834
4834
  "filePath": "preview.preview.runtime.tsx",
4835
- "line": 226,
4835
+ "line": 227,
4836
4836
  "character": 48
4837
4837
  },
4838
4838
  "name": "name",
@@ -4840,7 +4840,7 @@
4840
4840
  "__schema": "KeywordTypeSchema",
4841
4841
  "location": {
4842
4842
  "filePath": "preview.preview.runtime.tsx",
4843
- "line": 226,
4843
+ "line": 227,
4844
4844
  "character": 54
4845
4845
  },
4846
4846
  "name": "string"
@@ -4853,7 +4853,7 @@
4853
4853
  "__schema": "TypeRefSchema",
4854
4854
  "location": {
4855
4855
  "filePath": "preview.preview.runtime.tsx",
4856
- "line": 226,
4856
+ "line": 227,
4857
4857
  "character": 63
4858
4858
  },
4859
4859
  "name": "Promise",
@@ -4862,7 +4862,7 @@
4862
4862
  "__schema": "TypeRefSchema",
4863
4863
  "location": {
4864
4864
  "filePath": "preview.preview.runtime.tsx",
4865
- "line": 226,
4865
+ "line": 227,
4866
4866
  "character": 71
4867
4867
  },
4868
4868
  "name": "Record",
@@ -4871,7 +4871,7 @@
4871
4871
  "__schema": "KeywordTypeSchema",
4872
4872
  "location": {
4873
4873
  "filePath": "preview.preview.runtime.tsx",
4874
- "line": 226,
4874
+ "line": 227,
4875
4875
  "character": 78
4876
4876
  },
4877
4877
  "name": "string"
@@ -4880,14 +4880,14 @@
4880
4880
  "__schema": "TypeArraySchema",
4881
4881
  "location": {
4882
4882
  "filePath": "preview.preview.runtime.tsx",
4883
- "line": 226,
4883
+ "line": 227,
4884
4884
  "character": 86
4885
4885
  },
4886
4886
  "type": {
4887
4887
  "__schema": "TypeRefSchema",
4888
4888
  "location": {
4889
4889
  "filePath": "preview.preview.runtime.tsx",
4890
- "line": 226,
4890
+ "line": 227,
4891
4891
  "character": 86
4892
4892
  },
4893
4893
  "name": "ModuleFile"
@@ -4905,14 +4905,14 @@
4905
4905
  "__schema": "FunctionLikeSchema",
4906
4906
  "location": {
4907
4907
  "filePath": "preview.preview.runtime.tsx",
4908
- "line": 320,
4908
+ "line": 321,
4909
4909
  "character": 3
4910
4910
  },
4911
4911
  "doc": {
4912
4912
  "__schema": "DocSchema",
4913
4913
  "location": {
4914
4914
  "filePath": "preview.preview.runtime.tsx",
4915
- "line": 317,
4915
+ "line": 318,
4916
4916
  "character": 3
4917
4917
  },
4918
4918
  "raw": "/**\n * register a new preview.\n */",
@@ -4925,7 +4925,7 @@
4925
4925
  "__schema": "ParameterSchema",
4926
4926
  "location": {
4927
4927
  "filePath": "preview.preview.runtime.tsx",
4928
- "line": 320,
4928
+ "line": 321,
4929
4929
  "character": 19
4930
4930
  },
4931
4931
  "name": "preview",
@@ -4933,7 +4933,7 @@
4933
4933
  "__schema": "TypeRefSchema",
4934
4934
  "location": {
4935
4935
  "filePath": "preview.preview.runtime.tsx",
4936
- "line": 320,
4936
+ "line": 321,
4937
4937
  "character": 28
4938
4938
  },
4939
4939
  "name": "PreviewType",
@@ -4947,7 +4947,7 @@
4947
4947
  "__schema": "TypeRefSchema",
4948
4948
  "location": {
4949
4949
  "filePath": "preview.preview.runtime.tsx",
4950
- "line": 320,
4950
+ "line": 321,
4951
4951
  "character": 3
4952
4952
  },
4953
4953
  "name": "PreviewPreview"
@@ -4958,14 +4958,14 @@
4958
4958
  "__schema": "FunctionLikeSchema",
4959
4959
  "location": {
4960
4960
  "filePath": "preview.preview.runtime.tsx",
4961
- "line": 328,
4961
+ "line": 329,
4962
4962
  "character": 3
4963
4963
  },
4964
4964
  "doc": {
4965
4965
  "__schema": "DocSchema",
4966
4966
  "location": {
4967
4967
  "filePath": "preview.preview.runtime.tsx",
4968
- "line": 325,
4968
+ "line": 326,
4969
4969
  "character": 3
4970
4970
  },
4971
4971
  "raw": "/**\n * get the preview rendering context.\n */",
@@ -4978,7 +4978,7 @@
4978
4978
  "__schema": "ParameterSchema",
4979
4979
  "location": {
4980
4980
  "filePath": "preview.preview.runtime.tsx",
4981
- "line": 328,
4981
+ "line": 329,
4982
4982
  "character": 23
4983
4983
  },
4984
4984
  "name": "aspectsFilter",
@@ -4986,14 +4986,14 @@
4986
4986
  "__schema": "TypeArraySchema",
4987
4987
  "location": {
4988
4988
  "filePath": "preview.preview.runtime.tsx",
4989
- "line": 328,
4989
+ "line": 329,
4990
4990
  "character": 39
4991
4991
  },
4992
4992
  "type": {
4993
4993
  "__schema": "KeywordTypeSchema",
4994
4994
  "location": {
4995
4995
  "filePath": "preview.preview.runtime.tsx",
4996
- "line": 328,
4996
+ "line": 329,
4997
4997
  "character": 39
4998
4998
  },
4999
4999
  "name": "string"
@@ -5007,7 +5007,7 @@
5007
5007
  "__schema": "TypeRefSchema",
5008
5008
  "location": {
5009
5009
  "filePath": "preview.preview.runtime.tsx",
5010
- "line": 328,
5010
+ "line": 329,
5011
5011
  "character": 3
5012
5012
  },
5013
5013
  "name": "RenderingContext"
@@ -5018,14 +5018,14 @@
5018
5018
  "__schema": "FunctionLikeSchema",
5019
5019
  "location": {
5020
5020
  "filePath": "preview.preview.runtime.tsx",
5021
- "line": 336,
5021
+ "line": 337,
5022
5022
  "character": 3
5023
5023
  },
5024
5024
  "doc": {
5025
5025
  "__schema": "DocSchema",
5026
5026
  "location": {
5027
5027
  "filePath": "preview.preview.runtime.tsx",
5028
- "line": 332,
5028
+ "line": 333,
5029
5029
  "character": 3
5030
5030
  },
5031
5031
  "raw": "/**\n * allows aspects to add rendering contexts.\n * render context is available through all preview definitions.\n */",
@@ -5038,7 +5038,7 @@
5038
5038
  "__schema": "ParameterSchema",
5039
5039
  "location": {
5040
5040
  "filePath": "preview.preview.runtime.tsx",
5041
- "line": 336,
5041
+ "line": 337,
5042
5042
  "character": 25
5043
5043
  },
5044
5044
  "name": "renderContext",
@@ -5046,7 +5046,7 @@
5046
5046
  "__schema": "TypeRefSchema",
5047
5047
  "location": {
5048
5048
  "filePath": "preview.preview.runtime.tsx",
5049
- "line": 336,
5049
+ "line": 337,
5050
5050
  "character": 40
5051
5051
  },
5052
5052
  "name": "RenderingContextProvider"
@@ -5059,7 +5059,7 @@
5059
5059
  "__schema": "TypeRefSchema",
5060
5060
  "location": {
5061
5061
  "filePath": "preview.preview.runtime.tsx",
5062
- "line": 336,
5062
+ "line": 337,
5063
5063
  "character": 3
5064
5064
  },
5065
5065
  "name": "PreviewPreview"
@@ -5070,7 +5070,7 @@
5070
5070
  "__schema": "FunctionLikeSchema",
5071
5071
  "location": {
5072
5072
  "filePath": "preview.preview.runtime.tsx",
5073
- "line": 341,
5073
+ "line": 342,
5074
5074
  "character": 3
5075
5075
  },
5076
5076
  "signature": "(method) PreviewPreview.getDefault(): string",
@@ -5080,7 +5080,7 @@
5080
5080
  "__schema": "InferenceTypeSchema",
5081
5081
  "location": {
5082
5082
  "filePath": "preview.preview.runtime.tsx",
5083
- "line": 341,
5083
+ "line": 342,
5084
5084
  "character": 3
5085
5085
  },
5086
5086
  "type": "string"
@@ -5091,7 +5091,7 @@
5091
5091
  "__schema": "FunctionLikeSchema",
5092
5092
  "location": {
5093
5093
  "filePath": "preview.preview.runtime.tsx",
5094
- "line": 355,
5094
+ "line": 356,
5095
5095
  "character": 3
5096
5096
  },
5097
5097
  "signature": "(method) PreviewPreview.getParam(query: string, param: string): string | null",
@@ -5101,7 +5101,7 @@
5101
5101
  "__schema": "ParameterSchema",
5102
5102
  "location": {
5103
5103
  "filePath": "preview.preview.runtime.tsx",
5104
- "line": 355,
5104
+ "line": 356,
5105
5105
  "character": 12
5106
5106
  },
5107
5107
  "name": "query",
@@ -5109,7 +5109,7 @@
5109
5109
  "__schema": "KeywordTypeSchema",
5110
5110
  "location": {
5111
5111
  "filePath": "preview.preview.runtime.tsx",
5112
- "line": 355,
5112
+ "line": 356,
5113
5113
  "character": 19
5114
5114
  },
5115
5115
  "name": "string"
@@ -5121,7 +5121,7 @@
5121
5121
  "__schema": "ParameterSchema",
5122
5122
  "location": {
5123
5123
  "filePath": "preview.preview.runtime.tsx",
5124
- "line": 355,
5124
+ "line": 356,
5125
5125
  "character": 27
5126
5126
  },
5127
5127
  "name": "param",
@@ -5129,7 +5129,7 @@
5129
5129
  "__schema": "KeywordTypeSchema",
5130
5130
  "location": {
5131
5131
  "filePath": "preview.preview.runtime.tsx",
5132
- "line": 355,
5132
+ "line": 356,
5133
5133
  "character": 34
5134
5134
  },
5135
5135
  "name": "string"
@@ -5142,7 +5142,7 @@
5142
5142
  "__schema": "InferenceTypeSchema",
5143
5143
  "location": {
5144
5144
  "filePath": "preview.preview.runtime.tsx",
5145
- "line": 355,
5145
+ "line": 356,
5146
5146
  "character": 3
5147
5147
  },
5148
5148
  "type": "string | null"
@@ -5153,7 +5153,7 @@
5153
5153
  "__schema": "FunctionLikeSchema",
5154
5154
  "location": {
5155
5155
  "filePath": "preview.preview.runtime.tsx",
5156
- "line": 360,
5156
+ "line": 361,
5157
5157
  "character": 3
5158
5158
  },
5159
5159
  "signature": "(method) PreviewPreview.getQuery(): string",
@@ -5163,7 +5163,7 @@
5163
5163
  "__schema": "InferenceTypeSchema",
5164
5164
  "location": {
5165
5165
  "filePath": "preview.preview.runtime.tsx",
5166
- "line": 360,
5166
+ "line": 361,
5167
5167
  "character": 3
5168
5168
  },
5169
5169
  "type": "string"
@@ -5174,7 +5174,7 @@
5174
5174
  "__schema": "VariableLikeSchema",
5175
5175
  "location": {
5176
5176
  "filePath": "preview.preview.runtime.tsx",
5177
- "line": 377,
5177
+ "line": 378,
5178
5178
  "character": 3
5179
5179
  },
5180
5180
  "signature": "(property) PreviewPreview.runtime: RuntimeDefinition",
@@ -5183,7 +5183,7 @@
5183
5183
  "__schema": "InferenceTypeSchema",
5184
5184
  "location": {
5185
5185
  "filePath": "preview.preview.runtime.tsx",
5186
- "line": 377,
5186
+ "line": 378,
5187
5187
  "character": 3
5188
5188
  },
5189
5189
  "type": "RuntimeDefinition"
@@ -5195,7 +5195,7 @@
5195
5195
  "__schema": "VariableLikeSchema",
5196
5196
  "location": {
5197
5197
  "filePath": "preview.preview.runtime.tsx",
5198
- "line": 379,
5198
+ "line": 380,
5199
5199
  "character": 3
5200
5200
  },
5201
5201
  "signature": "(property) PreviewPreview.dependencies: Aspect[]",
@@ -5204,7 +5204,7 @@
5204
5204
  "__schema": "InferenceTypeSchema",
5205
5205
  "location": {
5206
5206
  "filePath": "preview.preview.runtime.tsx",
5207
- "line": 379,
5207
+ "line": 380,
5208
5208
  "character": 3
5209
5209
  },
5210
5210
  "type": "Aspect[]"
@@ -5216,7 +5216,7 @@
5216
5216
  "__schema": "VariableLikeSchema",
5217
5217
  "location": {
5218
5218
  "filePath": "preview.preview.runtime.tsx",
5219
- "line": 381,
5219
+ "line": 382,
5220
5220
  "character": 3
5221
5221
  },
5222
5222
  "signature": "(property) PreviewPreview.slots: (((registerFn: () => string) => SlotRegistry<PreviewType>) | ((registerFn: () => string) => SlotRegistry<RenderingContextProvider>))[]",
@@ -5225,7 +5225,7 @@
5225
5225
  "__schema": "InferenceTypeSchema",
5226
5226
  "location": {
5227
5227
  "filePath": "preview.preview.runtime.tsx",
5228
- "line": 381,
5228
+ "line": 382,
5229
5229
  "character": 3
5230
5230
  },
5231
5231
  "type": "(((registerFn: () => string) => SlotRegistry<PreviewType>) | ((registerFn: () => string) => SlotRegistry<RenderingContextProvider>))[]"
@@ -5237,7 +5237,7 @@
5237
5237
  "__schema": "FunctionLikeSchema",
5238
5238
  "location": {
5239
5239
  "filePath": "preview.preview.runtime.tsx",
5240
- "line": 383,
5240
+ "line": 384,
5241
5241
  "character": 3
5242
5242
  },
5243
5243
  "signature": "(method) PreviewPreview.provider([pubsub]: [PubsubPreview], config: any, [previewSlot, renderingContextSlot]: [PreviewSlot, RenderingContextSlot]): Promise<PreviewPreview>",
@@ -5247,7 +5247,7 @@
5247
5247
  "__schema": "ParameterSchema",
5248
5248
  "location": {
5249
5249
  "filePath": "preview.preview.runtime.tsx",
5250
- "line": 384,
5250
+ "line": 385,
5251
5251
  "character": 5
5252
5252
  },
5253
5253
  "name": "[ pubsub ]",
@@ -5255,7 +5255,7 @@
5255
5255
  "__schema": "TupleTypeSchema",
5256
5256
  "location": {
5257
5257
  "filePath": "preview.preview.runtime.tsx",
5258
- "line": 384,
5258
+ "line": 385,
5259
5259
  "character": 15
5260
5260
  },
5261
5261
  "elements": [
@@ -5263,7 +5263,7 @@
5263
5263
  "__schema": "TypeRefSchema",
5264
5264
  "location": {
5265
5265
  "filePath": "preview.preview.runtime.tsx",
5266
- "line": 384,
5266
+ "line": 385,
5267
5267
  "character": 16
5268
5268
  },
5269
5269
  "name": "PubsubPreview",
@@ -5281,7 +5281,7 @@
5281
5281
  "__schema": "ParameterSchema",
5282
5282
  "location": {
5283
5283
  "filePath": "preview.preview.runtime.tsx",
5284
- "line": 385,
5284
+ "line": 386,
5285
5285
  "character": 5
5286
5286
  },
5287
5287
  "name": "config",
@@ -5289,7 +5289,7 @@
5289
5289
  "__schema": "InferenceTypeSchema",
5290
5290
  "location": {
5291
5291
  "filePath": "preview.preview.runtime.tsx",
5292
- "line": 385,
5292
+ "line": 386,
5293
5293
  "character": 5
5294
5294
  },
5295
5295
  "type": "any"
@@ -5301,7 +5301,7 @@
5301
5301
  "__schema": "ParameterSchema",
5302
5302
  "location": {
5303
5303
  "filePath": "preview.preview.runtime.tsx",
5304
- "line": 386,
5304
+ "line": 387,
5305
5305
  "character": 5
5306
5306
  },
5307
5307
  "name": "[ previewSlot, renderingContextSlot ]",
@@ -5309,7 +5309,7 @@
5309
5309
  "__schema": "TupleTypeSchema",
5310
5310
  "location": {
5311
5311
  "filePath": "preview.preview.runtime.tsx",
5312
- "line": 386,
5312
+ "line": 387,
5313
5313
  "character": 42
5314
5314
  },
5315
5315
  "elements": [
@@ -5317,7 +5317,7 @@
5317
5317
  "__schema": "TypeRefSchema",
5318
5318
  "location": {
5319
5319
  "filePath": "preview.preview.runtime.tsx",
5320
- "line": 386,
5320
+ "line": 387,
5321
5321
  "character": 43
5322
5322
  },
5323
5323
  "name": "PreviewSlot",
@@ -5327,7 +5327,7 @@
5327
5327
  "__schema": "TypeRefSchema",
5328
5328
  "location": {
5329
5329
  "filePath": "preview.preview.runtime.tsx",
5330
- "line": 386,
5330
+ "line": 387,
5331
5331
  "character": 56
5332
5332
  },
5333
5333
  "name": "RenderingContextSlot",
@@ -5343,7 +5343,7 @@
5343
5343
  "__schema": "InferenceTypeSchema",
5344
5344
  "location": {
5345
5345
  "filePath": "preview.preview.runtime.tsx",
5346
- "line": 383,
5346
+ "line": 384,
5347
5347
  "character": 3
5348
5348
  },
5349
5349
  "type": "Promise<PreviewPreview>"
@@ -5361,7 +5361,7 @@
5361
5361
  "__schema": "TypeSchema",
5362
5362
  "location": {
5363
5363
  "filePath": "preview.preview.runtime.tsx",
5364
- "line": 26,
5364
+ "line": 27,
5365
5365
  "character": 1
5366
5366
  },
5367
5367
  "signature": "type RenderingContextOptions = {\n aspectsFilter?: string[] | undefined;\n}",
@@ -5370,7 +5370,7 @@
5370
5370
  "__schema": "TypeLiteralSchema",
5371
5371
  "location": {
5372
5372
  "filePath": "preview.preview.runtime.tsx",
5373
- "line": 26,
5373
+ "line": 27,
5374
5374
  "character": 39
5375
5375
  },
5376
5376
  "members": [
@@ -5378,7 +5378,7 @@
5378
5378
  "__schema": "VariableLikeSchema",
5379
5379
  "location": {
5380
5380
  "filePath": "preview.preview.runtime.tsx",
5381
- "line": 26,
5381
+ "line": 27,
5382
5382
  "character": 41
5383
5383
  },
5384
5384
  "signature": "(property) aspectsFilter?: string[] | undefined",
@@ -5387,14 +5387,14 @@
5387
5387
  "__schema": "TypeArraySchema",
5388
5388
  "location": {
5389
5389
  "filePath": "preview.preview.runtime.tsx",
5390
- "line": 26,
5390
+ "line": 27,
5391
5391
  "character": 57
5392
5392
  },
5393
5393
  "type": {
5394
5394
  "__schema": "KeywordTypeSchema",
5395
5395
  "location": {
5396
5396
  "filePath": "preview.preview.runtime.tsx",
5397
- "line": 26,
5397
+ "line": 27,
5398
5398
  "character": 57
5399
5399
  },
5400
5400
  "name": "string"
@@ -5409,7 +5409,7 @@
5409
5409
  "__schema": "TypeSchema",
5410
5410
  "location": {
5411
5411
  "filePath": "preview.preview.runtime.tsx",
5412
- "line": 27,
5412
+ "line": 28,
5413
5413
  "character": 1
5414
5414
  },
5415
5415
  "signature": "type RenderingContextProvider = (options: RenderingContextOptions) => {\n [key: string]: any;\n}",
@@ -5418,7 +5418,7 @@
5418
5418
  "__schema": "FunctionLikeSchema",
5419
5419
  "location": {
5420
5420
  "filePath": "preview.preview.runtime.tsx",
5421
- "line": 27,
5421
+ "line": 28,
5422
5422
  "character": 40
5423
5423
  },
5424
5424
  "signature": "(options: RenderingContextOptions): { [key: string]: any }",
@@ -5428,7 +5428,7 @@
5428
5428
  "__schema": "ParameterSchema",
5429
5429
  "location": {
5430
5430
  "filePath": "preview.preview.runtime.tsx",
5431
- "line": 27,
5431
+ "line": 28,
5432
5432
  "character": 41
5433
5433
  },
5434
5434
  "name": "options",
@@ -5436,7 +5436,7 @@
5436
5436
  "__schema": "TypeRefSchema",
5437
5437
  "location": {
5438
5438
  "filePath": "preview.preview.runtime.tsx",
5439
- "line": 27,
5439
+ "line": 28,
5440
5440
  "character": 50
5441
5441
  },
5442
5442
  "name": "RenderingContextOptions"
@@ -5449,7 +5449,7 @@
5449
5449
  "__schema": "TypeLiteralSchema",
5450
5450
  "location": {
5451
5451
  "filePath": "preview.preview.runtime.tsx",
5452
- "line": 27,
5452
+ "line": 28,
5453
5453
  "character": 78
5454
5454
  },
5455
5455
  "members": [
@@ -5457,14 +5457,14 @@
5457
5457
  "__schema": "IndexSignatureSchema",
5458
5458
  "location": {
5459
5459
  "filePath": "preview.preview.runtime.tsx",
5460
- "line": 27,
5460
+ "line": 28,
5461
5461
  "character": 80
5462
5462
  },
5463
5463
  "keyType": {
5464
5464
  "__schema": "ParameterSchema",
5465
5465
  "location": {
5466
5466
  "filePath": "preview.preview.runtime.tsx",
5467
- "line": 27,
5467
+ "line": 28,
5468
5468
  "character": 81
5469
5469
  },
5470
5470
  "name": "key",
@@ -5472,7 +5472,7 @@
5472
5472
  "__schema": "KeywordTypeSchema",
5473
5473
  "location": {
5474
5474
  "filePath": "preview.preview.runtime.tsx",
5475
- "line": 27,
5475
+ "line": 28,
5476
5476
  "character": 86
5477
5477
  },
5478
5478
  "name": "string"
@@ -5484,7 +5484,7 @@
5484
5484
  "__schema": "KeywordTypeSchema",
5485
5485
  "location": {
5486
5486
  "filePath": "preview.preview.runtime.tsx",
5487
- "line": 27,
5487
+ "line": 28,
5488
5488
  "character": 95
5489
5489
  },
5490
5490
  "name": "any"
@@ -6380,7 +6380,7 @@
6380
6380
  "_legacy": {
6381
6381
  "scope": "teambit.preview",
6382
6382
  "name": "preview",
6383
- "version": "1.0.248"
6383
+ "version": "1.0.250"
6384
6384
  },
6385
6385
  "_scope": "teambit.preview"
6386
6386
  }
@@ -11529,7 +11529,7 @@
11529
11529
  "__schema": "TypeRefSchema",
11530
11530
  "location": {
11531
11531
  "filePath": "preview.preview.runtime.tsx",
11532
- "line": 22,
11532
+ "line": 23,
11533
11533
  "character": 10
11534
11534
  },
11535
11535
  "name": "linkModules",
@@ -11543,7 +11543,7 @@
11543
11543
  "__schema": "TypeSchema",
11544
11544
  "location": {
11545
11545
  "filePath": "preview.preview.runtime.tsx",
11546
- "line": 24,
11546
+ "line": 25,
11547
11547
  "character": 1
11548
11548
  },
11549
11549
  "signature": "type PreviewSlot = SlotRegistry<PreviewType>",
@@ -11552,7 +11552,7 @@
11552
11552
  "__schema": "TypeRefSchema",
11553
11553
  "location": {
11554
11554
  "filePath": "preview.preview.runtime.tsx",
11555
- "line": 24,
11555
+ "line": 25,
11556
11556
  "character": 27
11557
11557
  },
11558
11558
  "name": "SlotRegistry",
@@ -11566,7 +11566,7 @@
11566
11566
  "__schema": "TypeRefSchema",
11567
11567
  "location": {
11568
11568
  "filePath": "preview.preview.runtime.tsx",
11569
- "line": 24,
11569
+ "line": 25,
11570
11570
  "character": 40
11571
11571
  },
11572
11572
  "name": "PreviewType",
@@ -11579,7 +11579,7 @@
11579
11579
  "__schema": "TypeSchema",
11580
11580
  "location": {
11581
11581
  "filePath": "preview.preview.runtime.tsx",
11582
- "line": 26,
11582
+ "line": 27,
11583
11583
  "character": 1
11584
11584
  },
11585
11585
  "signature": "type RenderingContextOptions = {\n aspectsFilter?: string[] | undefined;\n}",
@@ -11588,7 +11588,7 @@
11588
11588
  "__schema": "TypeLiteralSchema",
11589
11589
  "location": {
11590
11590
  "filePath": "preview.preview.runtime.tsx",
11591
- "line": 26,
11591
+ "line": 27,
11592
11592
  "character": 39
11593
11593
  },
11594
11594
  "members": [
@@ -11596,7 +11596,7 @@
11596
11596
  "__schema": "VariableLikeSchema",
11597
11597
  "location": {
11598
11598
  "filePath": "preview.preview.runtime.tsx",
11599
- "line": 26,
11599
+ "line": 27,
11600
11600
  "character": 41
11601
11601
  },
11602
11602
  "signature": "(property) aspectsFilter?: string[] | undefined",
@@ -11605,14 +11605,14 @@
11605
11605
  "__schema": "TypeArraySchema",
11606
11606
  "location": {
11607
11607
  "filePath": "preview.preview.runtime.tsx",
11608
- "line": 26,
11608
+ "line": 27,
11609
11609
  "character": 57
11610
11610
  },
11611
11611
  "type": {
11612
11612
  "__schema": "KeywordTypeSchema",
11613
11613
  "location": {
11614
11614
  "filePath": "preview.preview.runtime.tsx",
11615
- "line": 26,
11615
+ "line": 27,
11616
11616
  "character": 57
11617
11617
  },
11618
11618
  "name": "string"
@@ -11627,7 +11627,7 @@
11627
11627
  "__schema": "TypeSchema",
11628
11628
  "location": {
11629
11629
  "filePath": "preview.preview.runtime.tsx",
11630
- "line": 27,
11630
+ "line": 28,
11631
11631
  "character": 1
11632
11632
  },
11633
11633
  "signature": "type RenderingContextProvider = (options: RenderingContextOptions) => {\n [key: string]: any;\n}",
@@ -11636,7 +11636,7 @@
11636
11636
  "__schema": "FunctionLikeSchema",
11637
11637
  "location": {
11638
11638
  "filePath": "preview.preview.runtime.tsx",
11639
- "line": 27,
11639
+ "line": 28,
11640
11640
  "character": 40
11641
11641
  },
11642
11642
  "signature": "(options: RenderingContextOptions): { [key: string]: any }",
@@ -11646,7 +11646,7 @@
11646
11646
  "__schema": "ParameterSchema",
11647
11647
  "location": {
11648
11648
  "filePath": "preview.preview.runtime.tsx",
11649
- "line": 27,
11649
+ "line": 28,
11650
11650
  "character": 41
11651
11651
  },
11652
11652
  "name": "options",
@@ -11654,7 +11654,7 @@
11654
11654
  "__schema": "TypeRefSchema",
11655
11655
  "location": {
11656
11656
  "filePath": "preview.preview.runtime.tsx",
11657
- "line": 27,
11657
+ "line": 28,
11658
11658
  "character": 50
11659
11659
  },
11660
11660
  "name": "RenderingContextOptions"
@@ -11667,7 +11667,7 @@
11667
11667
  "__schema": "TypeLiteralSchema",
11668
11668
  "location": {
11669
11669
  "filePath": "preview.preview.runtime.tsx",
11670
- "line": 27,
11670
+ "line": 28,
11671
11671
  "character": 78
11672
11672
  },
11673
11673
  "members": [
@@ -11675,14 +11675,14 @@
11675
11675
  "__schema": "IndexSignatureSchema",
11676
11676
  "location": {
11677
11677
  "filePath": "preview.preview.runtime.tsx",
11678
- "line": 27,
11678
+ "line": 28,
11679
11679
  "character": 80
11680
11680
  },
11681
11681
  "keyType": {
11682
11682
  "__schema": "ParameterSchema",
11683
11683
  "location": {
11684
11684
  "filePath": "preview.preview.runtime.tsx",
11685
- "line": 27,
11685
+ "line": 28,
11686
11686
  "character": 81
11687
11687
  },
11688
11688
  "name": "key",
@@ -11690,7 +11690,7 @@
11690
11690
  "__schema": "KeywordTypeSchema",
11691
11691
  "location": {
11692
11692
  "filePath": "preview.preview.runtime.tsx",
11693
- "line": 27,
11693
+ "line": 28,
11694
11694
  "character": 86
11695
11695
  },
11696
11696
  "name": "string"
@@ -11702,7 +11702,7 @@
11702
11702
  "__schema": "KeywordTypeSchema",
11703
11703
  "location": {
11704
11704
  "filePath": "preview.preview.runtime.tsx",
11705
- "line": 27,
11705
+ "line": 28,
11706
11706
  "character": 95
11707
11707
  },
11708
11708
  "name": "any"
@@ -11717,7 +11717,7 @@
11717
11717
  "__schema": "TypeSchema",
11718
11718
  "location": {
11719
11719
  "filePath": "preview.preview.runtime.tsx",
11720
- "line": 28,
11720
+ "line": 29,
11721
11721
  "character": 1
11722
11722
  },
11723
11723
  "signature": "type RenderingContextSlot = SlotRegistry<RenderingContextProvider>",
@@ -11726,7 +11726,7 @@
11726
11726
  "__schema": "TypeRefSchema",
11727
11727
  "location": {
11728
11728
  "filePath": "preview.preview.runtime.tsx",
11729
- "line": 28,
11729
+ "line": 29,
11730
11730
  "character": 36
11731
11731
  },
11732
11732
  "name": "SlotRegistry",
@@ -11740,7 +11740,7 @@
11740
11740
  "__schema": "TypeRefSchema",
11741
11741
  "location": {
11742
11742
  "filePath": "preview.preview.runtime.tsx",
11743
- "line": 28,
11743
+ "line": 29,
11744
11744
  "character": 49
11745
11745
  },
11746
11746
  "name": "RenderingContextProvider"
@@ -11752,7 +11752,7 @@
11752
11752
  "__schema": "ClassSchema",
11753
11753
  "location": {
11754
11754
  "filePath": "preview.preview.runtime.tsx",
11755
- "line": 30,
11755
+ "line": 31,
11756
11756
  "character": 1
11757
11757
  },
11758
11758
  "signature": "class PreviewPreview",
@@ -11762,7 +11762,7 @@
11762
11762
  "__schema": "ConstructorSchema",
11763
11763
  "location": {
11764
11764
  "filePath": "preview.preview.runtime.tsx",
11765
- "line": 31,
11765
+ "line": 32,
11766
11766
  "character": 3
11767
11767
  },
11768
11768
  "signature": "constructor PreviewPreview(pubsub: PubsubPreview, previewSlot: PreviewSlot, renderingContextSlot: RenderingContextSlot): PreviewPreview",
@@ -11772,7 +11772,7 @@
11772
11772
  "__schema": "ParameterSchema",
11773
11773
  "location": {
11774
11774
  "filePath": "preview.preview.runtime.tsx",
11775
- "line": 35,
11775
+ "line": 36,
11776
11776
  "character": 5
11777
11777
  },
11778
11778
  "name": "pubsub",
@@ -11780,7 +11780,7 @@
11780
11780
  "__schema": "TypeRefSchema",
11781
11781
  "location": {
11782
11782
  "filePath": "preview.preview.runtime.tsx",
11783
- "line": 35,
11783
+ "line": 36,
11784
11784
  "character": 21
11785
11785
  },
11786
11786
  "name": "PubsubPreview",
@@ -11796,7 +11796,7 @@
11796
11796
  "__schema": "ParameterSchema",
11797
11797
  "location": {
11798
11798
  "filePath": "preview.preview.runtime.tsx",
11799
- "line": 40,
11799
+ "line": 41,
11800
11800
  "character": 5
11801
11801
  },
11802
11802
  "name": "previewSlot",
@@ -11804,7 +11804,7 @@
11804
11804
  "__schema": "TypeRefSchema",
11805
11805
  "location": {
11806
11806
  "filePath": "preview.preview.runtime.tsx",
11807
- "line": 40,
11807
+ "line": 41,
11808
11808
  "character": 26
11809
11809
  },
11810
11810
  "name": "PreviewSlot",
@@ -11817,7 +11817,7 @@
11817
11817
  "__schema": "ParameterSchema",
11818
11818
  "location": {
11819
11819
  "filePath": "preview.preview.runtime.tsx",
11820
- "line": 42,
11820
+ "line": 43,
11821
11821
  "character": 5
11822
11822
  },
11823
11823
  "name": "renderingContextSlot",
@@ -11825,7 +11825,7 @@
11825
11825
  "__schema": "TypeRefSchema",
11826
11826
  "location": {
11827
11827
  "filePath": "preview.preview.runtime.tsx",
11828
- "line": 42,
11828
+ "line": 43,
11829
11829
  "character": 35
11830
11830
  },
11831
11831
  "name": "RenderingContextSlot",
@@ -11839,7 +11839,7 @@
11839
11839
  "__schema": "ThisTypeSchema",
11840
11840
  "location": {
11841
11841
  "filePath": "preview.preview.runtime.tsx",
11842
- "line": 30,
11842
+ "line": 31,
11843
11843
  "character": 1
11844
11844
  },
11845
11845
  "name": "PreviewPreview"
@@ -11850,7 +11850,7 @@
11850
11850
  "__schema": "VariableLikeSchema",
11851
11851
  "location": {
11852
11852
  "filePath": "preview.preview.runtime.tsx",
11853
- "line": 71,
11853
+ "line": 72,
11854
11854
  "character": 3
11855
11855
  },
11856
11856
  "signature": "(property) PreviewPreview.setup: () => Promise<void>",
@@ -11859,7 +11859,7 @@
11859
11859
  "__schema": "InferenceTypeSchema",
11860
11860
  "location": {
11861
11861
  "filePath": "preview.preview.runtime.tsx",
11862
- "line": 71,
11862
+ "line": 72,
11863
11863
  "character": 3
11864
11864
  },
11865
11865
  "type": "() => Promise<void>"
@@ -11871,14 +11871,14 @@
11871
11871
  "__schema": "VariableLikeSchema",
11872
11872
  "location": {
11873
11873
  "filePath": "preview.preview.runtime.tsx",
11874
- "line": 86,
11874
+ "line": 87,
11875
11875
  "character": 3
11876
11876
  },
11877
11877
  "doc": {
11878
11878
  "__schema": "DocSchema",
11879
11879
  "location": {
11880
11880
  "filePath": "preview.preview.runtime.tsx",
11881
- "line": 83,
11881
+ "line": 84,
11882
11882
  "character": 3
11883
11883
  },
11884
11884
  "raw": "/**\n * render the preview.\n */",
@@ -11890,7 +11890,7 @@
11890
11890
  "__schema": "InferenceTypeSchema",
11891
11891
  "location": {
11892
11892
  "filePath": "preview.preview.runtime.tsx",
11893
- "line": 86,
11893
+ "line": 87,
11894
11894
  "character": 3
11895
11895
  },
11896
11896
  "type": "(rootExt?: string) => Promise<void>"
@@ -11902,7 +11902,7 @@
11902
11902
  "__schema": "FunctionLikeSchema",
11903
11903
  "location": {
11904
11904
  "filePath": "preview.preview.runtime.tsx",
11905
- "line": 144,
11905
+ "line": 145,
11906
11906
  "character": 3
11907
11907
  },
11908
11908
  "signature": "(method) PreviewPreview.setFullScreen(): void",
@@ -11912,7 +11912,7 @@
11912
11912
  "__schema": "InferenceTypeSchema",
11913
11913
  "location": {
11914
11914
  "filePath": "preview.preview.runtime.tsx",
11915
- "line": 144,
11915
+ "line": 145,
11916
11916
  "character": 3
11917
11917
  },
11918
11918
  "type": "void"
@@ -11923,7 +11923,7 @@
11923
11923
  "__schema": "FunctionLikeSchema",
11924
11924
  "location": {
11925
11925
  "filePath": "preview.preview.runtime.tsx",
11926
- "line": 157,
11926
+ "line": 158,
11927
11927
  "character": 3
11928
11928
  },
11929
11929
  "signature": "(method) PreviewPreview.setViewport(): void",
@@ -11933,7 +11933,7 @@
11933
11933
  "__schema": "InferenceTypeSchema",
11934
11934
  "location": {
11935
11935
  "filePath": "preview.preview.runtime.tsx",
11936
- "line": 157,
11936
+ "line": 158,
11937
11937
  "character": 3
11938
11938
  },
11939
11939
  "type": "void"
@@ -11944,7 +11944,7 @@
11944
11944
  "__schema": "FunctionLikeSchema",
11945
11945
  "location": {
11946
11946
  "filePath": "preview.preview.runtime.tsx",
11947
- "line": 168,
11947
+ "line": 169,
11948
11948
  "character": 3
11949
11949
  },
11950
11950
  "signature": "(method) PreviewPreview.reportSize(): void",
@@ -11954,7 +11954,7 @@
11954
11954
  "__schema": "InferenceTypeSchema",
11955
11955
  "location": {
11956
11956
  "filePath": "preview.preview.runtime.tsx",
11957
- "line": 168,
11957
+ "line": 169,
11958
11958
  "character": 3
11959
11959
  },
11960
11960
  "type": "void"
@@ -11965,7 +11965,7 @@
11965
11965
  "__schema": "FunctionLikeSchema",
11966
11966
  "location": {
11967
11967
  "filePath": "preview.preview.runtime.tsx",
11968
- "line": 202,
11968
+ "line": 203,
11969
11969
  "character": 3
11970
11970
  },
11971
11971
  "signature": "(method) PreviewPreview.getPreviewModule(previewName: string, id: ComponentID): Promise<PreviewModule>",
@@ -11975,7 +11975,7 @@
11975
11975
  "__schema": "ParameterSchema",
11976
11976
  "location": {
11977
11977
  "filePath": "preview.preview.runtime.tsx",
11978
- "line": 202,
11978
+ "line": 203,
11979
11979
  "character": 26
11980
11980
  },
11981
11981
  "name": "previewName",
@@ -11983,7 +11983,7 @@
11983
11983
  "__schema": "KeywordTypeSchema",
11984
11984
  "location": {
11985
11985
  "filePath": "preview.preview.runtime.tsx",
11986
- "line": 202,
11986
+ "line": 203,
11987
11987
  "character": 39
11988
11988
  },
11989
11989
  "name": "string"
@@ -11995,7 +11995,7 @@
11995
11995
  "__schema": "ParameterSchema",
11996
11996
  "location": {
11997
11997
  "filePath": "preview.preview.runtime.tsx",
11998
- "line": 202,
11998
+ "line": 203,
11999
11999
  "character": 47
12000
12000
  },
12001
12001
  "name": "id",
@@ -12003,7 +12003,7 @@
12003
12003
  "__schema": "TypeRefSchema",
12004
12004
  "location": {
12005
12005
  "filePath": "preview.preview.runtime.tsx",
12006
- "line": 202,
12006
+ "line": 203,
12007
12007
  "character": 51
12008
12008
  },
12009
12009
  "name": "ComponentID",
@@ -12021,7 +12021,7 @@
12021
12021
  "__schema": "TypeRefSchema",
12022
12022
  "location": {
12023
12023
  "filePath": "preview.preview.runtime.tsx",
12024
- "line": 202,
12024
+ "line": 203,
12025
12025
  "character": 65
12026
12026
  },
12027
12027
  "name": "Promise",
@@ -12030,7 +12030,7 @@
12030
12030
  "__schema": "TypeRefSchema",
12031
12031
  "location": {
12032
12032
  "filePath": "preview.preview.runtime.tsx",
12033
- "line": 202,
12033
+ "line": 203,
12034
12034
  "character": 73
12035
12035
  },
12036
12036
  "name": "PreviewModule"
@@ -12045,7 +12045,7 @@
12045
12045
  "__schema": "FunctionLikeSchema",
12046
12046
  "location": {
12047
12047
  "filePath": "preview.preview.runtime.tsx",
12048
- "line": 226,
12048
+ "line": 227,
12049
12049
  "character": 3
12050
12050
  },
12051
12051
  "signature": "(method) PreviewPreview.fetchComponentPreview(id: ComponentID, name: string): Promise<Record<string, ModuleFile[]>>",
@@ -12055,7 +12055,7 @@
12055
12055
  "__schema": "ParameterSchema",
12056
12056
  "location": {
12057
12057
  "filePath": "preview.preview.runtime.tsx",
12058
- "line": 226,
12058
+ "line": 227,
12059
12059
  "character": 31
12060
12060
  },
12061
12061
  "name": "id",
@@ -12063,7 +12063,7 @@
12063
12063
  "__schema": "TypeRefSchema",
12064
12064
  "location": {
12065
12065
  "filePath": "preview.preview.runtime.tsx",
12066
- "line": 226,
12066
+ "line": 227,
12067
12067
  "character": 35
12068
12068
  },
12069
12069
  "name": "ComponentID",
@@ -12080,7 +12080,7 @@
12080
12080
  "__schema": "ParameterSchema",
12081
12081
  "location": {
12082
12082
  "filePath": "preview.preview.runtime.tsx",
12083
- "line": 226,
12083
+ "line": 227,
12084
12084
  "character": 48
12085
12085
  },
12086
12086
  "name": "name",
@@ -12088,7 +12088,7 @@
12088
12088
  "__schema": "KeywordTypeSchema",
12089
12089
  "location": {
12090
12090
  "filePath": "preview.preview.runtime.tsx",
12091
- "line": 226,
12091
+ "line": 227,
12092
12092
  "character": 54
12093
12093
  },
12094
12094
  "name": "string"
@@ -12101,7 +12101,7 @@
12101
12101
  "__schema": "TypeRefSchema",
12102
12102
  "location": {
12103
12103
  "filePath": "preview.preview.runtime.tsx",
12104
- "line": 226,
12104
+ "line": 227,
12105
12105
  "character": 63
12106
12106
  },
12107
12107
  "name": "Promise",
@@ -12110,7 +12110,7 @@
12110
12110
  "__schema": "TypeRefSchema",
12111
12111
  "location": {
12112
12112
  "filePath": "preview.preview.runtime.tsx",
12113
- "line": 226,
12113
+ "line": 227,
12114
12114
  "character": 71
12115
12115
  },
12116
12116
  "name": "Record",
@@ -12119,7 +12119,7 @@
12119
12119
  "__schema": "KeywordTypeSchema",
12120
12120
  "location": {
12121
12121
  "filePath": "preview.preview.runtime.tsx",
12122
- "line": 226,
12122
+ "line": 227,
12123
12123
  "character": 78
12124
12124
  },
12125
12125
  "name": "string"
@@ -12128,14 +12128,14 @@
12128
12128
  "__schema": "TypeArraySchema",
12129
12129
  "location": {
12130
12130
  "filePath": "preview.preview.runtime.tsx",
12131
- "line": 226,
12131
+ "line": 227,
12132
12132
  "character": 86
12133
12133
  },
12134
12134
  "type": {
12135
12135
  "__schema": "TypeRefSchema",
12136
12136
  "location": {
12137
12137
  "filePath": "preview.preview.runtime.tsx",
12138
- "line": 226,
12138
+ "line": 227,
12139
12139
  "character": 86
12140
12140
  },
12141
12141
  "name": "ModuleFile"
@@ -12153,14 +12153,14 @@
12153
12153
  "__schema": "FunctionLikeSchema",
12154
12154
  "location": {
12155
12155
  "filePath": "preview.preview.runtime.tsx",
12156
- "line": 320,
12156
+ "line": 321,
12157
12157
  "character": 3
12158
12158
  },
12159
12159
  "doc": {
12160
12160
  "__schema": "DocSchema",
12161
12161
  "location": {
12162
12162
  "filePath": "preview.preview.runtime.tsx",
12163
- "line": 317,
12163
+ "line": 318,
12164
12164
  "character": 3
12165
12165
  },
12166
12166
  "raw": "/**\n * register a new preview.\n */",
@@ -12173,7 +12173,7 @@
12173
12173
  "__schema": "ParameterSchema",
12174
12174
  "location": {
12175
12175
  "filePath": "preview.preview.runtime.tsx",
12176
- "line": 320,
12176
+ "line": 321,
12177
12177
  "character": 19
12178
12178
  },
12179
12179
  "name": "preview",
@@ -12181,7 +12181,7 @@
12181
12181
  "__schema": "TypeRefSchema",
12182
12182
  "location": {
12183
12183
  "filePath": "preview.preview.runtime.tsx",
12184
- "line": 320,
12184
+ "line": 321,
12185
12185
  "character": 28
12186
12186
  },
12187
12187
  "name": "PreviewType",
@@ -12195,7 +12195,7 @@
12195
12195
  "__schema": "TypeRefSchema",
12196
12196
  "location": {
12197
12197
  "filePath": "preview.preview.runtime.tsx",
12198
- "line": 320,
12198
+ "line": 321,
12199
12199
  "character": 3
12200
12200
  },
12201
12201
  "name": "PreviewPreview"
@@ -12206,14 +12206,14 @@
12206
12206
  "__schema": "FunctionLikeSchema",
12207
12207
  "location": {
12208
12208
  "filePath": "preview.preview.runtime.tsx",
12209
- "line": 328,
12209
+ "line": 329,
12210
12210
  "character": 3
12211
12211
  },
12212
12212
  "doc": {
12213
12213
  "__schema": "DocSchema",
12214
12214
  "location": {
12215
12215
  "filePath": "preview.preview.runtime.tsx",
12216
- "line": 325,
12216
+ "line": 326,
12217
12217
  "character": 3
12218
12218
  },
12219
12219
  "raw": "/**\n * get the preview rendering context.\n */",
@@ -12226,7 +12226,7 @@
12226
12226
  "__schema": "ParameterSchema",
12227
12227
  "location": {
12228
12228
  "filePath": "preview.preview.runtime.tsx",
12229
- "line": 328,
12229
+ "line": 329,
12230
12230
  "character": 23
12231
12231
  },
12232
12232
  "name": "aspectsFilter",
@@ -12234,14 +12234,14 @@
12234
12234
  "__schema": "TypeArraySchema",
12235
12235
  "location": {
12236
12236
  "filePath": "preview.preview.runtime.tsx",
12237
- "line": 328,
12237
+ "line": 329,
12238
12238
  "character": 39
12239
12239
  },
12240
12240
  "type": {
12241
12241
  "__schema": "KeywordTypeSchema",
12242
12242
  "location": {
12243
12243
  "filePath": "preview.preview.runtime.tsx",
12244
- "line": 328,
12244
+ "line": 329,
12245
12245
  "character": 39
12246
12246
  },
12247
12247
  "name": "string"
@@ -12255,7 +12255,7 @@
12255
12255
  "__schema": "TypeRefSchema",
12256
12256
  "location": {
12257
12257
  "filePath": "preview.preview.runtime.tsx",
12258
- "line": 328,
12258
+ "line": 329,
12259
12259
  "character": 3
12260
12260
  },
12261
12261
  "name": "RenderingContext"
@@ -12266,14 +12266,14 @@
12266
12266
  "__schema": "FunctionLikeSchema",
12267
12267
  "location": {
12268
12268
  "filePath": "preview.preview.runtime.tsx",
12269
- "line": 336,
12269
+ "line": 337,
12270
12270
  "character": 3
12271
12271
  },
12272
12272
  "doc": {
12273
12273
  "__schema": "DocSchema",
12274
12274
  "location": {
12275
12275
  "filePath": "preview.preview.runtime.tsx",
12276
- "line": 332,
12276
+ "line": 333,
12277
12277
  "character": 3
12278
12278
  },
12279
12279
  "raw": "/**\n * allows aspects to add rendering contexts.\n * render context is available through all preview definitions.\n */",
@@ -12286,7 +12286,7 @@
12286
12286
  "__schema": "ParameterSchema",
12287
12287
  "location": {
12288
12288
  "filePath": "preview.preview.runtime.tsx",
12289
- "line": 336,
12289
+ "line": 337,
12290
12290
  "character": 25
12291
12291
  },
12292
12292
  "name": "renderContext",
@@ -12294,7 +12294,7 @@
12294
12294
  "__schema": "TypeRefSchema",
12295
12295
  "location": {
12296
12296
  "filePath": "preview.preview.runtime.tsx",
12297
- "line": 336,
12297
+ "line": 337,
12298
12298
  "character": 40
12299
12299
  },
12300
12300
  "name": "RenderingContextProvider"
@@ -12307,7 +12307,7 @@
12307
12307
  "__schema": "TypeRefSchema",
12308
12308
  "location": {
12309
12309
  "filePath": "preview.preview.runtime.tsx",
12310
- "line": 336,
12310
+ "line": 337,
12311
12311
  "character": 3
12312
12312
  },
12313
12313
  "name": "PreviewPreview"
@@ -12318,7 +12318,7 @@
12318
12318
  "__schema": "FunctionLikeSchema",
12319
12319
  "location": {
12320
12320
  "filePath": "preview.preview.runtime.tsx",
12321
- "line": 341,
12321
+ "line": 342,
12322
12322
  "character": 3
12323
12323
  },
12324
12324
  "signature": "(method) PreviewPreview.getDefault(): string",
@@ -12328,7 +12328,7 @@
12328
12328
  "__schema": "InferenceTypeSchema",
12329
12329
  "location": {
12330
12330
  "filePath": "preview.preview.runtime.tsx",
12331
- "line": 341,
12331
+ "line": 342,
12332
12332
  "character": 3
12333
12333
  },
12334
12334
  "type": "string"
@@ -12339,7 +12339,7 @@
12339
12339
  "__schema": "FunctionLikeSchema",
12340
12340
  "location": {
12341
12341
  "filePath": "preview.preview.runtime.tsx",
12342
- "line": 355,
12342
+ "line": 356,
12343
12343
  "character": 3
12344
12344
  },
12345
12345
  "signature": "(method) PreviewPreview.getParam(query: string, param: string): string | null",
@@ -12349,7 +12349,7 @@
12349
12349
  "__schema": "ParameterSchema",
12350
12350
  "location": {
12351
12351
  "filePath": "preview.preview.runtime.tsx",
12352
- "line": 355,
12352
+ "line": 356,
12353
12353
  "character": 12
12354
12354
  },
12355
12355
  "name": "query",
@@ -12357,7 +12357,7 @@
12357
12357
  "__schema": "KeywordTypeSchema",
12358
12358
  "location": {
12359
12359
  "filePath": "preview.preview.runtime.tsx",
12360
- "line": 355,
12360
+ "line": 356,
12361
12361
  "character": 19
12362
12362
  },
12363
12363
  "name": "string"
@@ -12369,7 +12369,7 @@
12369
12369
  "__schema": "ParameterSchema",
12370
12370
  "location": {
12371
12371
  "filePath": "preview.preview.runtime.tsx",
12372
- "line": 355,
12372
+ "line": 356,
12373
12373
  "character": 27
12374
12374
  },
12375
12375
  "name": "param",
@@ -12377,7 +12377,7 @@
12377
12377
  "__schema": "KeywordTypeSchema",
12378
12378
  "location": {
12379
12379
  "filePath": "preview.preview.runtime.tsx",
12380
- "line": 355,
12380
+ "line": 356,
12381
12381
  "character": 34
12382
12382
  },
12383
12383
  "name": "string"
@@ -12390,7 +12390,7 @@
12390
12390
  "__schema": "InferenceTypeSchema",
12391
12391
  "location": {
12392
12392
  "filePath": "preview.preview.runtime.tsx",
12393
- "line": 355,
12393
+ "line": 356,
12394
12394
  "character": 3
12395
12395
  },
12396
12396
  "type": "string | null"
@@ -12401,7 +12401,7 @@
12401
12401
  "__schema": "FunctionLikeSchema",
12402
12402
  "location": {
12403
12403
  "filePath": "preview.preview.runtime.tsx",
12404
- "line": 360,
12404
+ "line": 361,
12405
12405
  "character": 3
12406
12406
  },
12407
12407
  "signature": "(method) PreviewPreview.getQuery(): string",
@@ -12411,7 +12411,7 @@
12411
12411
  "__schema": "InferenceTypeSchema",
12412
12412
  "location": {
12413
12413
  "filePath": "preview.preview.runtime.tsx",
12414
- "line": 360,
12414
+ "line": 361,
12415
12415
  "character": 3
12416
12416
  },
12417
12417
  "type": "string"
@@ -12422,7 +12422,7 @@
12422
12422
  "__schema": "VariableLikeSchema",
12423
12423
  "location": {
12424
12424
  "filePath": "preview.preview.runtime.tsx",
12425
- "line": 377,
12425
+ "line": 378,
12426
12426
  "character": 3
12427
12427
  },
12428
12428
  "signature": "(property) PreviewPreview.runtime: RuntimeDefinition",
@@ -12431,7 +12431,7 @@
12431
12431
  "__schema": "InferenceTypeSchema",
12432
12432
  "location": {
12433
12433
  "filePath": "preview.preview.runtime.tsx",
12434
- "line": 377,
12434
+ "line": 378,
12435
12435
  "character": 3
12436
12436
  },
12437
12437
  "type": "RuntimeDefinition"
@@ -12443,7 +12443,7 @@
12443
12443
  "__schema": "VariableLikeSchema",
12444
12444
  "location": {
12445
12445
  "filePath": "preview.preview.runtime.tsx",
12446
- "line": 379,
12446
+ "line": 380,
12447
12447
  "character": 3
12448
12448
  },
12449
12449
  "signature": "(property) PreviewPreview.dependencies: Aspect[]",
@@ -12452,7 +12452,7 @@
12452
12452
  "__schema": "InferenceTypeSchema",
12453
12453
  "location": {
12454
12454
  "filePath": "preview.preview.runtime.tsx",
12455
- "line": 379,
12455
+ "line": 380,
12456
12456
  "character": 3
12457
12457
  },
12458
12458
  "type": "Aspect[]"
@@ -12464,7 +12464,7 @@
12464
12464
  "__schema": "VariableLikeSchema",
12465
12465
  "location": {
12466
12466
  "filePath": "preview.preview.runtime.tsx",
12467
- "line": 381,
12467
+ "line": 382,
12468
12468
  "character": 3
12469
12469
  },
12470
12470
  "signature": "(property) PreviewPreview.slots: (((registerFn: () => string) => SlotRegistry<PreviewType>) | ((registerFn: () => string) => SlotRegistry<RenderingContextProvider>))[]",
@@ -12473,7 +12473,7 @@
12473
12473
  "__schema": "InferenceTypeSchema",
12474
12474
  "location": {
12475
12475
  "filePath": "preview.preview.runtime.tsx",
12476
- "line": 381,
12476
+ "line": 382,
12477
12477
  "character": 3
12478
12478
  },
12479
12479
  "type": "(((registerFn: () => string) => SlotRegistry<PreviewType>) | ((registerFn: () => string) => SlotRegistry<RenderingContextProvider>))[]"
@@ -12485,7 +12485,7 @@
12485
12485
  "__schema": "FunctionLikeSchema",
12486
12486
  "location": {
12487
12487
  "filePath": "preview.preview.runtime.tsx",
12488
- "line": 383,
12488
+ "line": 384,
12489
12489
  "character": 3
12490
12490
  },
12491
12491
  "signature": "(method) PreviewPreview.provider([pubsub]: [PubsubPreview], config: any, [previewSlot, renderingContextSlot]: [PreviewSlot, RenderingContextSlot]): Promise<PreviewPreview>",
@@ -12495,7 +12495,7 @@
12495
12495
  "__schema": "ParameterSchema",
12496
12496
  "location": {
12497
12497
  "filePath": "preview.preview.runtime.tsx",
12498
- "line": 384,
12498
+ "line": 385,
12499
12499
  "character": 5
12500
12500
  },
12501
12501
  "name": "[ pubsub ]",
@@ -12503,7 +12503,7 @@
12503
12503
  "__schema": "TupleTypeSchema",
12504
12504
  "location": {
12505
12505
  "filePath": "preview.preview.runtime.tsx",
12506
- "line": 384,
12506
+ "line": 385,
12507
12507
  "character": 15
12508
12508
  },
12509
12509
  "elements": [
@@ -12511,7 +12511,7 @@
12511
12511
  "__schema": "TypeRefSchema",
12512
12512
  "location": {
12513
12513
  "filePath": "preview.preview.runtime.tsx",
12514
- "line": 384,
12514
+ "line": 385,
12515
12515
  "character": 16
12516
12516
  },
12517
12517
  "name": "PubsubPreview",
@@ -12529,7 +12529,7 @@
12529
12529
  "__schema": "ParameterSchema",
12530
12530
  "location": {
12531
12531
  "filePath": "preview.preview.runtime.tsx",
12532
- "line": 385,
12532
+ "line": 386,
12533
12533
  "character": 5
12534
12534
  },
12535
12535
  "name": "config",
@@ -12537,7 +12537,7 @@
12537
12537
  "__schema": "InferenceTypeSchema",
12538
12538
  "location": {
12539
12539
  "filePath": "preview.preview.runtime.tsx",
12540
- "line": 385,
12540
+ "line": 386,
12541
12541
  "character": 5
12542
12542
  },
12543
12543
  "type": "any"
@@ -12549,7 +12549,7 @@
12549
12549
  "__schema": "ParameterSchema",
12550
12550
  "location": {
12551
12551
  "filePath": "preview.preview.runtime.tsx",
12552
- "line": 386,
12552
+ "line": 387,
12553
12553
  "character": 5
12554
12554
  },
12555
12555
  "name": "[ previewSlot, renderingContextSlot ]",
@@ -12557,7 +12557,7 @@
12557
12557
  "__schema": "TupleTypeSchema",
12558
12558
  "location": {
12559
12559
  "filePath": "preview.preview.runtime.tsx",
12560
- "line": 386,
12560
+ "line": 387,
12561
12561
  "character": 42
12562
12562
  },
12563
12563
  "elements": [
@@ -12565,7 +12565,7 @@
12565
12565
  "__schema": "TypeRefSchema",
12566
12566
  "location": {
12567
12567
  "filePath": "preview.preview.runtime.tsx",
12568
- "line": 386,
12568
+ "line": 387,
12569
12569
  "character": 43
12570
12570
  },
12571
12571
  "name": "PreviewSlot",
@@ -12575,7 +12575,7 @@
12575
12575
  "__schema": "TypeRefSchema",
12576
12576
  "location": {
12577
12577
  "filePath": "preview.preview.runtime.tsx",
12578
- "line": 386,
12578
+ "line": 387,
12579
12579
  "character": 56
12580
12580
  },
12581
12581
  "name": "RenderingContextSlot",
@@ -12591,7 +12591,7 @@
12591
12591
  "__schema": "InferenceTypeSchema",
12592
12592
  "location": {
12593
12593
  "filePath": "preview.preview.runtime.tsx",
12594
- "line": 383,
12594
+ "line": 384,
12595
12595
  "character": 3
12596
12596
  },
12597
12597
  "type": "Promise<PreviewPreview>"
@@ -12607,53 +12607,11 @@
12607
12607
  }
12608
12608
  ],
12609
12609
  "internals": [
12610
- {
12611
- "__schema": "ModuleSchema",
12612
- "location": {
12613
- "filePath": "preview.preview.runtime.tsx",
12614
- "line": 19,
12615
- "character": 1
12616
- },
12617
- "exports": [
12618
- {
12619
- "__schema": "VariableLikeSchema",
12620
- "location": {
12621
- "filePath": "preview.preview.runtime.tsx",
12622
- "line": 19,
12623
- "character": 7
12624
- },
12625
- "signature": "const crossFetch: (input: RequestInfo | URL, init?: RequestInit | undefined) => Promise<Response>",
12626
- "name": "crossFetch",
12627
- "type": {
12628
- "__schema": "TypeQuerySchema",
12629
- "location": {
12630
- "filePath": "preview.preview.runtime.tsx",
12631
- "line": 19,
12632
- "character": 19
12633
- },
12634
- "signature": "function fetch(input: RequestInfo | URL, init?: RequestInit | undefined): Promise<Response>",
12635
- "type": {
12636
- "__schema": "InferenceTypeSchema",
12637
- "location": {
12638
- "filePath": "preview.preview.runtime.tsx",
12639
- "line": 19,
12640
- "character": 26
12641
- },
12642
- "name": "fetch",
12643
- "type": "Promise<Response>"
12644
- }
12645
- },
12646
- "isOptional": false,
12647
- "defaultValue": "_crossFetch as unknown as typeof fetch"
12648
- }
12649
- ],
12650
- "internals": []
12651
- },
12652
12610
  {
12653
12611
  "__schema": "UnImplementedSchema",
12654
12612
  "location": {
12655
12613
  "filePath": "preview.preview.runtime.tsx",
12656
- "line": 399,
12614
+ "line": 400,
12657
12615
  "character": 1
12658
12616
  },
12659
12617
  "name": "PreviewAspect.addRuntime(PreviewPreview);",
@@ -13437,7 +13395,7 @@
13437
13395
  "componentId": {
13438
13396
  "scope": "teambit.preview",
13439
13397
  "name": "preview",
13440
- "version": "1.0.248"
13398
+ "version": "1.0.250"
13441
13399
  },
13442
13400
  "taggedModuleExports": []
13443
13401
  }