@teambit/component-sizer 1.0.510 → 1.0.512

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.
@@ -1,4 +1,4 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <testsuites tests="0" failures="0" errors="0" skipped="0">
3
- <testsuite name="teambit.component/component-sizer@1.0.510" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.component/component-sizer@1.0.512" tests="0" failures="0" errors="0" skipped="0"/>
4
4
  </testsuites>
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.component/component-sizer-preview"]=t():e["teambit.component/component-sizer-preview"]=t()}(self,(()=>(()=>{"use strict";var e={903:(e,t,o)=>{var n={id:"teambit.component/component-sizer@1.0.510",homepage:"https://bit.cloud/teambit/component/component-sizer",exported:!0};function r(){const e=i(o(594));return r=function(){return e},e}function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,r.__bit_component=n,i.__bit_component=n;const c=()=>r().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},r().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/extensions-icons/component-sizer.svg"}));c.__bit_component=n,t.Logo=c},594:e=>{e.exports=React}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,o),i.exports}o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};o.r(n),o.d(n,{compositions:()=>m,compositions_metadata:()=>b,overview:()=>f});var r={};o.r(r),o.d(r,{default:()=>l});var i=o(903);o(594);const c=MdxJsReact,p=TeambitMdxUiMdxScopeContext;var s=["components"];function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)({}).hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},a.apply(null,arguments)}var d={},u="wrapper";function l(e){var t=e.components,o=function(e,t){if(null==e)return{};var o,n,r=function(e,t){if(null==e)return{};var o={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;o[n]=e[n]}return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)o=i[n],t.includes(o)||{}.propertyIsEnumerable.call(e,o)&&(r[o]=e[o])}return r}(e,s);return(0,c.mdx)(u,a({},d,o,{components:t,mdxType:"MDXLayout"}),(0,c.mdx)(p.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"},(0,c.mdx)("p",null,"Adds the component's minified and Gzipped bundle size to the component docs (in the badges section).")))}l.isMDXComponent=!0;const m=[i],f=[r],b={compositions:[{displayName:"Logo",identifier:"Logo"}]};return n})()));
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.component/component-sizer-preview"]=t():e["teambit.component/component-sizer-preview"]=t()}(self,(()=>(()=>{"use strict";var e={181:(e,t,o)=>{var n={id:"teambit.component/component-sizer@1.0.512",homepage:"https://bit.cloud/teambit/component/component-sizer",exported:!0};function r(){const e=i(o(594));return r=function(){return e},e}function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,r.__bit_component=n,i.__bit_component=n;const c=()=>r().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},r().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/extensions-icons/component-sizer.svg"}));c.__bit_component=n,t.Logo=c},594:e=>{e.exports=React}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,o),i.exports}o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};o.r(n),o.d(n,{compositions:()=>m,compositions_metadata:()=>b,overview:()=>f});var r={};o.r(r),o.d(r,{default:()=>l});var i=o(181);o(594);const c=MdxJsReact,p=TeambitMdxUiMdxScopeContext;var s=["components"];function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)({}).hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},a.apply(null,arguments)}var d={},u="wrapper";function l(e){var t=e.components,o=function(e,t){if(null==e)return{};var o,n,r=function(e,t){if(null==e)return{};var o={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;o[n]=e[n]}return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)o=i[n],t.includes(o)||{}.propertyIsEnumerable.call(e,o)&&(r[o]=e[o])}return r}(e,s);return(0,c.mdx)(u,a({},d,o,{components:t,mdxType:"MDXLayout"}),(0,c.mdx)(p.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"},(0,c.mdx)("p",null,"Adds the component's minified and Gzipped bundle size to the component docs (in the badges section).")))}l.isMDXComponent=!0;const m=[i],f=[r],b={compositions:[{displayName:"Logo",identifier:"Logo"}]};return n})()));
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_component-sizer@1.0.510/dist/component-sizer.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_component-sizer@1.0.510/dist/component-sizer.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_component-sizer@1.0.512/dist/component-sizer.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_component-sizer@1.0.512/dist/component-sizer.docs.mdx';
3
3
 
4
4
  export const compositions = [compositions_0];
5
5
  export const overview = [overview_0];
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/component-sizer",
3
- "version": "1.0.510",
3
+ "version": "1.0.512",
4
4
  "homepage": "https://bit.cloud/teambit/component/component-sizer",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.component",
8
8
  "name": "component-sizer",
9
- "version": "1.0.510"
9
+ "version": "1.0.512"
10
10
  },
11
11
  "dependencies": {
12
12
  "graphql-tag": "2.12.1",
@@ -14,14 +14,14 @@
14
14
  "@teambit/component.ui.component-size": "0.0.77",
15
15
  "@teambit/design.ui.pill-label": "0.0.356",
16
16
  "@teambit/ui-foundation.ui.react-router.use-query": "0.0.501",
17
- "@teambit/component": "1.0.510",
18
- "@teambit/graphql": "1.0.510",
19
- "@teambit/cli": "0.0.1087",
20
- "@teambit/preview": "1.0.510",
17
+ "@teambit/component": "1.0.512",
18
+ "@teambit/graphql": "1.0.512",
19
+ "@teambit/cli": "0.0.1089",
20
+ "@teambit/preview": "1.0.512",
21
21
  "@teambit/design.ui.tooltip": "0.0.372",
22
- "@teambit/docs": "1.0.510",
23
- "@teambit/ui": "1.0.510",
24
- "@teambit/workspace": "1.0.510"
22
+ "@teambit/docs": "1.0.512",
23
+ "@teambit/ui": "1.0.512",
24
+ "@teambit/workspace": "1.0.512"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@types/mocha": "9.1.0",
@@ -1,640 +0,0 @@
1
- {
2
- "__schema": "APISchema",
3
- "location": {
4
- "filePath": "index.ts",
5
- "line": 1,
6
- "character": 1
7
- },
8
- "module": {
9
- "__schema": "ModuleSchema",
10
- "location": {
11
- "filePath": "index.ts",
12
- "line": 1,
13
- "character": 1
14
- },
15
- "exports": [
16
- {
17
- "__schema": "ExportSchema",
18
- "location": {
19
- "filePath": "index.ts",
20
- "line": 3,
21
- "character": 15
22
- },
23
- "signature": "class ComponentSizerMain",
24
- "name": "ComponentSizerMain",
25
- "exportNode": {
26
- "__schema": "ClassSchema",
27
- "location": {
28
- "filePath": "component-sizer.main.runtime.ts",
29
- "line": 8,
30
- "character": 1
31
- },
32
- "signature": "class ComponentSizerMain",
33
- "name": "ComponentSizerMain",
34
- "members": [
35
- {
36
- "__schema": "ConstructorSchema",
37
- "location": {
38
- "filePath": "component-sizer.main.runtime.ts",
39
- "line": 9,
40
- "character": 3
41
- },
42
- "signature": "constructor ComponentSizerMain(preview: PreviewMain): ComponentSizerMain",
43
- "name": "constructor",
44
- "params": [
45
- {
46
- "__schema": "ParameterSchema",
47
- "location": {
48
- "filePath": "component-sizer.main.runtime.ts",
49
- "line": 13,
50
- "character": 5
51
- },
52
- "name": "preview",
53
- "type": {
54
- "__schema": "TypeRefSchema",
55
- "location": {
56
- "filePath": "component-sizer.main.runtime.ts",
57
- "line": 13,
58
- "character": 22
59
- },
60
- "name": "PreviewMain"
61
- },
62
- "isOptional": false,
63
- "isSpread": false
64
- }
65
- ],
66
- "returnType": {
67
- "__schema": "ThisTypeSchema",
68
- "location": {
69
- "filePath": "component-sizer.main.runtime.ts",
70
- "line": 8,
71
- "character": 1
72
- },
73
- "name": "ComponentSizerMain"
74
- },
75
- "modifiers": []
76
- },
77
- {
78
- "__schema": "FunctionLikeSchema",
79
- "location": {
80
- "filePath": "component-sizer.main.runtime.ts",
81
- "line": 16,
82
- "character": 3
83
- },
84
- "signature": "(method) ComponentSizerMain.getComponentSize(component: Component): ComponentPreviewSize | undefined",
85
- "name": "getComponentSize",
86
- "params": [
87
- {
88
- "__schema": "ParameterSchema",
89
- "location": {
90
- "filePath": "component-sizer.main.runtime.ts",
91
- "line": 16,
92
- "character": 20
93
- },
94
- "name": "component",
95
- "type": {
96
- "__schema": "TypeRefSchema",
97
- "location": {
98
- "filePath": "component-sizer.main.runtime.ts",
99
- "line": 16,
100
- "character": 31
101
- },
102
- "name": "Component"
103
- },
104
- "isOptional": false,
105
- "isSpread": false
106
- }
107
- ],
108
- "returnType": {
109
- "__schema": "TypeUnionSchema",
110
- "location": {
111
- "filePath": "component-sizer.main.runtime.ts",
112
- "line": 16,
113
- "character": 43
114
- },
115
- "types": [
116
- {
117
- "__schema": "TypeRefSchema",
118
- "location": {
119
- "filePath": "component-sizer.main.runtime.ts",
120
- "line": 16,
121
- "character": 43
122
- },
123
- "name": "ComponentPreviewSize"
124
- },
125
- {
126
- "__schema": "KeywordTypeSchema",
127
- "location": {
128
- "filePath": "component-sizer.main.runtime.ts",
129
- "line": 16,
130
- "character": 66
131
- },
132
- "name": "undefined"
133
- }
134
- ]
135
- },
136
- "modifiers": []
137
- },
138
- {
139
- "__schema": "VariableLikeSchema",
140
- "location": {
141
- "filePath": "component-sizer.main.runtime.ts",
142
- "line": 20,
143
- "character": 3
144
- },
145
- "signature": "(property) ComponentSizerMain.slots: never[]",
146
- "name": "slots",
147
- "type": {
148
- "__schema": "InferenceTypeSchema",
149
- "location": {
150
- "filePath": "component-sizer.main.runtime.ts",
151
- "line": 20,
152
- "character": 3
153
- },
154
- "type": "never[]"
155
- },
156
- "isOptional": true,
157
- "defaultValue": "[]"
158
- },
159
- {
160
- "__schema": "VariableLikeSchema",
161
- "location": {
162
- "filePath": "component-sizer.main.runtime.ts",
163
- "line": 21,
164
- "character": 3
165
- },
166
- "signature": "(property) ComponentSizerMain.dependencies: Aspect[]",
167
- "name": "dependencies",
168
- "type": {
169
- "__schema": "InferenceTypeSchema",
170
- "location": {
171
- "filePath": "component-sizer.main.runtime.ts",
172
- "line": 21,
173
- "character": 3
174
- },
175
- "type": "Aspect[]"
176
- },
177
- "isOptional": true,
178
- "defaultValue": "[PreviewAspect, GraphqlAspect, ComponentAspect]"
179
- },
180
- {
181
- "__schema": "VariableLikeSchema",
182
- "location": {
183
- "filePath": "component-sizer.main.runtime.ts",
184
- "line": 22,
185
- "character": 3
186
- },
187
- "signature": "(property) ComponentSizerMain.runtime: RuntimeDefinition",
188
- "name": "runtime",
189
- "type": {
190
- "__schema": "InferenceTypeSchema",
191
- "location": {
192
- "filePath": "component-sizer.main.runtime.ts",
193
- "line": 22,
194
- "character": 3
195
- },
196
- "type": "RuntimeDefinition"
197
- },
198
- "isOptional": true,
199
- "defaultValue": "MainRuntime"
200
- },
201
- {
202
- "__schema": "FunctionLikeSchema",
203
- "location": {
204
- "filePath": "component-sizer.main.runtime.ts",
205
- "line": 23,
206
- "character": 3
207
- },
208
- "signature": "(method) ComponentSizerMain.provider([preview, graphql]: [PreviewMain, GraphqlMain]): Promise<ComponentSizerMain>",
209
- "name": "provider",
210
- "params": [
211
- {
212
- "__schema": "ParameterSchema",
213
- "location": {
214
- "filePath": "component-sizer.main.runtime.ts",
215
- "line": 23,
216
- "character": 25
217
- },
218
- "name": "[ preview, graphql ]",
219
- "type": {
220
- "__schema": "TupleTypeSchema",
221
- "location": {
222
- "filePath": "component-sizer.main.runtime.ts",
223
- "line": 23,
224
- "character": 45
225
- },
226
- "elements": [
227
- {
228
- "__schema": "TypeRefSchema",
229
- "location": {
230
- "filePath": "component-sizer.main.runtime.ts",
231
- "line": 23,
232
- "character": 46
233
- },
234
- "name": "PreviewMain"
235
- },
236
- {
237
- "__schema": "TypeRefSchema",
238
- "location": {
239
- "filePath": "component-sizer.main.runtime.ts",
240
- "line": 23,
241
- "character": 59
242
- },
243
- "name": "GraphqlMain"
244
- }
245
- ]
246
- },
247
- "isOptional": false,
248
- "isSpread": false
249
- }
250
- ],
251
- "returnType": {
252
- "__schema": "InferenceTypeSchema",
253
- "location": {
254
- "filePath": "component-sizer.main.runtime.ts",
255
- "line": 23,
256
- "character": 3
257
- },
258
- "type": "Promise<ComponentSizerMain>"
259
- },
260
- "modifiers": [
261
- "static",
262
- "async"
263
- ]
264
- }
265
- ],
266
- "extendsNodes": [],
267
- "implementNodes": []
268
- }
269
- },
270
- {
271
- "__schema": "UnImplementedSchema",
272
- "location": {
273
- "filePath": "index.ts",
274
- "line": 4,
275
- "character": 16
276
- },
277
- "name": "ComponentSizerAspect",
278
- "type": "Identifier"
279
- },
280
- {
281
- "__schema": "ExportSchema",
282
- "location": {
283
- "filePath": "index.ts",
284
- "line": 5,
285
- "character": 10
286
- },
287
- "signature": "const ComponentSizerAspect: Aspect",
288
- "name": "ComponentSizerAspect",
289
- "exportNode": {
290
- "__schema": "VariableLikeSchema",
291
- "location": {
292
- "filePath": "component-sizer.aspect.ts",
293
- "line": 3,
294
- "character": 14
295
- },
296
- "signature": "const ComponentSizerAspect: Aspect",
297
- "name": "ComponentSizerAspect",
298
- "type": {
299
- "__schema": "TypeRefSchema",
300
- "location": {
301
- "filePath": "component-sizer.aspect.ts",
302
- "line": 3,
303
- "character": 14
304
- },
305
- "name": "Aspect",
306
- "componentId": {
307
- "scope": "teambit.harmony",
308
- "name": "harmony",
309
- "version": "0.4.6"
310
- }
311
- },
312
- "isOptional": false,
313
- "defaultValue": "Aspect.create({\n id: 'teambit.component/component-sizer',\n})"
314
- }
315
- }
316
- ],
317
- "internals": []
318
- },
319
- "internals": [
320
- {
321
- "__schema": "ModuleSchema",
322
- "location": {
323
- "filePath": "component-sizer.main.runtime.ts",
324
- "line": 1,
325
- "character": 1
326
- },
327
- "exports": [
328
- {
329
- "__schema": "ClassSchema",
330
- "location": {
331
- "filePath": "component-sizer.main.runtime.ts",
332
- "line": 8,
333
- "character": 1
334
- },
335
- "signature": "class ComponentSizerMain",
336
- "name": "ComponentSizerMain",
337
- "members": [
338
- {
339
- "__schema": "ConstructorSchema",
340
- "location": {
341
- "filePath": "component-sizer.main.runtime.ts",
342
- "line": 9,
343
- "character": 3
344
- },
345
- "signature": "constructor ComponentSizerMain(preview: PreviewMain): ComponentSizerMain",
346
- "name": "constructor",
347
- "params": [
348
- {
349
- "__schema": "ParameterSchema",
350
- "location": {
351
- "filePath": "component-sizer.main.runtime.ts",
352
- "line": 13,
353
- "character": 5
354
- },
355
- "name": "preview",
356
- "type": {
357
- "__schema": "TypeRefSchema",
358
- "location": {
359
- "filePath": "component-sizer.main.runtime.ts",
360
- "line": 13,
361
- "character": 22
362
- },
363
- "name": "PreviewMain"
364
- },
365
- "isOptional": false,
366
- "isSpread": false
367
- }
368
- ],
369
- "returnType": {
370
- "__schema": "ThisTypeSchema",
371
- "location": {
372
- "filePath": "component-sizer.main.runtime.ts",
373
- "line": 8,
374
- "character": 1
375
- },
376
- "name": "ComponentSizerMain"
377
- },
378
- "modifiers": []
379
- },
380
- {
381
- "__schema": "FunctionLikeSchema",
382
- "location": {
383
- "filePath": "component-sizer.main.runtime.ts",
384
- "line": 16,
385
- "character": 3
386
- },
387
- "signature": "(method) ComponentSizerMain.getComponentSize(component: Component): ComponentPreviewSize | undefined",
388
- "name": "getComponentSize",
389
- "params": [
390
- {
391
- "__schema": "ParameterSchema",
392
- "location": {
393
- "filePath": "component-sizer.main.runtime.ts",
394
- "line": 16,
395
- "character": 20
396
- },
397
- "name": "component",
398
- "type": {
399
- "__schema": "TypeRefSchema",
400
- "location": {
401
- "filePath": "component-sizer.main.runtime.ts",
402
- "line": 16,
403
- "character": 31
404
- },
405
- "name": "Component"
406
- },
407
- "isOptional": false,
408
- "isSpread": false
409
- }
410
- ],
411
- "returnType": {
412
- "__schema": "TypeUnionSchema",
413
- "location": {
414
- "filePath": "component-sizer.main.runtime.ts",
415
- "line": 16,
416
- "character": 43
417
- },
418
- "types": [
419
- {
420
- "__schema": "TypeRefSchema",
421
- "location": {
422
- "filePath": "component-sizer.main.runtime.ts",
423
- "line": 16,
424
- "character": 43
425
- },
426
- "name": "ComponentPreviewSize"
427
- },
428
- {
429
- "__schema": "KeywordTypeSchema",
430
- "location": {
431
- "filePath": "component-sizer.main.runtime.ts",
432
- "line": 16,
433
- "character": 66
434
- },
435
- "name": "undefined"
436
- }
437
- ]
438
- },
439
- "modifiers": []
440
- },
441
- {
442
- "__schema": "VariableLikeSchema",
443
- "location": {
444
- "filePath": "component-sizer.main.runtime.ts",
445
- "line": 20,
446
- "character": 3
447
- },
448
- "signature": "(property) ComponentSizerMain.slots: never[]",
449
- "name": "slots",
450
- "type": {
451
- "__schema": "InferenceTypeSchema",
452
- "location": {
453
- "filePath": "component-sizer.main.runtime.ts",
454
- "line": 20,
455
- "character": 3
456
- },
457
- "type": "never[]"
458
- },
459
- "isOptional": true,
460
- "defaultValue": "[]"
461
- },
462
- {
463
- "__schema": "VariableLikeSchema",
464
- "location": {
465
- "filePath": "component-sizer.main.runtime.ts",
466
- "line": 21,
467
- "character": 3
468
- },
469
- "signature": "(property) ComponentSizerMain.dependencies: Aspect[]",
470
- "name": "dependencies",
471
- "type": {
472
- "__schema": "InferenceTypeSchema",
473
- "location": {
474
- "filePath": "component-sizer.main.runtime.ts",
475
- "line": 21,
476
- "character": 3
477
- },
478
- "type": "Aspect[]"
479
- },
480
- "isOptional": true,
481
- "defaultValue": "[PreviewAspect, GraphqlAspect, ComponentAspect]"
482
- },
483
- {
484
- "__schema": "VariableLikeSchema",
485
- "location": {
486
- "filePath": "component-sizer.main.runtime.ts",
487
- "line": 22,
488
- "character": 3
489
- },
490
- "signature": "(property) ComponentSizerMain.runtime: RuntimeDefinition",
491
- "name": "runtime",
492
- "type": {
493
- "__schema": "InferenceTypeSchema",
494
- "location": {
495
- "filePath": "component-sizer.main.runtime.ts",
496
- "line": 22,
497
- "character": 3
498
- },
499
- "type": "RuntimeDefinition"
500
- },
501
- "isOptional": true,
502
- "defaultValue": "MainRuntime"
503
- },
504
- {
505
- "__schema": "FunctionLikeSchema",
506
- "location": {
507
- "filePath": "component-sizer.main.runtime.ts",
508
- "line": 23,
509
- "character": 3
510
- },
511
- "signature": "(method) ComponentSizerMain.provider([preview, graphql]: [PreviewMain, GraphqlMain]): Promise<ComponentSizerMain>",
512
- "name": "provider",
513
- "params": [
514
- {
515
- "__schema": "ParameterSchema",
516
- "location": {
517
- "filePath": "component-sizer.main.runtime.ts",
518
- "line": 23,
519
- "character": 25
520
- },
521
- "name": "[ preview, graphql ]",
522
- "type": {
523
- "__schema": "TupleTypeSchema",
524
- "location": {
525
- "filePath": "component-sizer.main.runtime.ts",
526
- "line": 23,
527
- "character": 45
528
- },
529
- "elements": [
530
- {
531
- "__schema": "TypeRefSchema",
532
- "location": {
533
- "filePath": "component-sizer.main.runtime.ts",
534
- "line": 23,
535
- "character": 46
536
- },
537
- "name": "PreviewMain"
538
- },
539
- {
540
- "__schema": "TypeRefSchema",
541
- "location": {
542
- "filePath": "component-sizer.main.runtime.ts",
543
- "line": 23,
544
- "character": 59
545
- },
546
- "name": "GraphqlMain"
547
- }
548
- ]
549
- },
550
- "isOptional": false,
551
- "isSpread": false
552
- }
553
- ],
554
- "returnType": {
555
- "__schema": "InferenceTypeSchema",
556
- "location": {
557
- "filePath": "component-sizer.main.runtime.ts",
558
- "line": 23,
559
- "character": 3
560
- },
561
- "type": "Promise<ComponentSizerMain>"
562
- },
563
- "modifiers": [
564
- "static",
565
- "async"
566
- ]
567
- }
568
- ],
569
- "extendsNodes": [],
570
- "implementNodes": []
571
- }
572
- ],
573
- "internals": [
574
- {
575
- "__schema": "UnImplementedSchema",
576
- "location": {
577
- "filePath": "component-sizer.main.runtime.ts",
578
- "line": 30,
579
- "character": 1
580
- },
581
- "name": "ComponentSizerAspect.addRuntime(ComponentSizerMain);",
582
- "type": "ExpressionStatement"
583
- }
584
- ]
585
- },
586
- {
587
- "__schema": "ModuleSchema",
588
- "location": {
589
- "filePath": "component-sizer.aspect.ts",
590
- "line": 1,
591
- "character": 1
592
- },
593
- "exports": [
594
- {
595
- "__schema": "VariableLikeSchema",
596
- "location": {
597
- "filePath": "component-sizer.aspect.ts",
598
- "line": 3,
599
- "character": 14
600
- },
601
- "signature": "const ComponentSizerAspect: Aspect",
602
- "name": "ComponentSizerAspect",
603
- "type": {
604
- "__schema": "TypeRefSchema",
605
- "location": {
606
- "filePath": "component-sizer.aspect.ts",
607
- "line": 3,
608
- "character": 14
609
- },
610
- "name": "Aspect",
611
- "componentId": {
612
- "scope": "teambit.harmony",
613
- "name": "harmony",
614
- "version": "0.4.6"
615
- }
616
- },
617
- "isOptional": false,
618
- "defaultValue": "Aspect.create({\n id: 'teambit.component/component-sizer',\n})"
619
- },
620
- {
621
- "__schema": "UnImplementedSchema",
622
- "location": {
623
- "filePath": "component-sizer.aspect.ts",
624
- "line": 7,
625
- "character": 16
626
- },
627
- "name": "ComponentSizerAspect",
628
- "type": "Identifier"
629
- }
630
- ],
631
- "internals": []
632
- }
633
- ],
634
- "componentId": {
635
- "scope": "teambit.component",
636
- "name": "component-sizer",
637
- "version": "1.0.510"
638
- },
639
- "taggedModuleExports": []
640
- }