@teambit/component-sizer 1.0.512 → 1.0.514

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.512" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.component/component-sizer@1.0.514" 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={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
+ !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={328:(e,t,o)=>{var n={id:"teambit.component/component-sizer@1.0.514",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(328);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})()));
@@ -0,0 +1,680 @@
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
+ "componentId": {
62
+ "scope": "teambit.preview",
63
+ "name": "preview"
64
+ }
65
+ },
66
+ "isOptional": false,
67
+ "isSpread": false
68
+ }
69
+ ],
70
+ "returnType": {
71
+ "__schema": "ThisTypeSchema",
72
+ "location": {
73
+ "filePath": "component-sizer.main.runtime.ts",
74
+ "line": 8,
75
+ "character": 1
76
+ },
77
+ "name": "ComponentSizerMain"
78
+ },
79
+ "modifiers": []
80
+ },
81
+ {
82
+ "__schema": "FunctionLikeSchema",
83
+ "location": {
84
+ "filePath": "component-sizer.main.runtime.ts",
85
+ "line": 16,
86
+ "character": 3
87
+ },
88
+ "signature": "(method) ComponentSizerMain.getComponentSize(component: Component): ComponentPreviewSize | undefined",
89
+ "name": "getComponentSize",
90
+ "params": [
91
+ {
92
+ "__schema": "ParameterSchema",
93
+ "location": {
94
+ "filePath": "component-sizer.main.runtime.ts",
95
+ "line": 16,
96
+ "character": 20
97
+ },
98
+ "name": "component",
99
+ "type": {
100
+ "__schema": "TypeRefSchema",
101
+ "location": {
102
+ "filePath": "component-sizer.main.runtime.ts",
103
+ "line": 16,
104
+ "character": 31
105
+ },
106
+ "name": "Component",
107
+ "componentId": {
108
+ "scope": "teambit.component",
109
+ "name": "component"
110
+ }
111
+ },
112
+ "isOptional": false,
113
+ "isSpread": false
114
+ }
115
+ ],
116
+ "returnType": {
117
+ "__schema": "TypeUnionSchema",
118
+ "location": {
119
+ "filePath": "component-sizer.main.runtime.ts",
120
+ "line": 16,
121
+ "character": 43
122
+ },
123
+ "types": [
124
+ {
125
+ "__schema": "TypeRefSchema",
126
+ "location": {
127
+ "filePath": "component-sizer.main.runtime.ts",
128
+ "line": 16,
129
+ "character": 43
130
+ },
131
+ "name": "ComponentPreviewSize",
132
+ "componentId": {
133
+ "scope": "teambit.preview",
134
+ "name": "preview"
135
+ }
136
+ },
137
+ {
138
+ "__schema": "KeywordTypeSchema",
139
+ "location": {
140
+ "filePath": "component-sizer.main.runtime.ts",
141
+ "line": 16,
142
+ "character": 66
143
+ },
144
+ "name": "undefined"
145
+ }
146
+ ]
147
+ },
148
+ "modifiers": []
149
+ },
150
+ {
151
+ "__schema": "VariableLikeSchema",
152
+ "location": {
153
+ "filePath": "component-sizer.main.runtime.ts",
154
+ "line": 20,
155
+ "character": 3
156
+ },
157
+ "signature": "(property) ComponentSizerMain.slots: never[]",
158
+ "name": "slots",
159
+ "type": {
160
+ "__schema": "InferenceTypeSchema",
161
+ "location": {
162
+ "filePath": "component-sizer.main.runtime.ts",
163
+ "line": 20,
164
+ "character": 3
165
+ },
166
+ "type": "never[]"
167
+ },
168
+ "isOptional": true,
169
+ "defaultValue": "[]"
170
+ },
171
+ {
172
+ "__schema": "VariableLikeSchema",
173
+ "location": {
174
+ "filePath": "component-sizer.main.runtime.ts",
175
+ "line": 21,
176
+ "character": 3
177
+ },
178
+ "signature": "(property) ComponentSizerMain.dependencies: Aspect[]",
179
+ "name": "dependencies",
180
+ "type": {
181
+ "__schema": "InferenceTypeSchema",
182
+ "location": {
183
+ "filePath": "component-sizer.main.runtime.ts",
184
+ "line": 21,
185
+ "character": 3
186
+ },
187
+ "type": "Aspect[]"
188
+ },
189
+ "isOptional": true,
190
+ "defaultValue": "[PreviewAspect, GraphqlAspect, ComponentAspect]"
191
+ },
192
+ {
193
+ "__schema": "VariableLikeSchema",
194
+ "location": {
195
+ "filePath": "component-sizer.main.runtime.ts",
196
+ "line": 22,
197
+ "character": 3
198
+ },
199
+ "signature": "(property) ComponentSizerMain.runtime: RuntimeDefinition",
200
+ "name": "runtime",
201
+ "type": {
202
+ "__schema": "InferenceTypeSchema",
203
+ "location": {
204
+ "filePath": "component-sizer.main.runtime.ts",
205
+ "line": 22,
206
+ "character": 3
207
+ },
208
+ "type": "RuntimeDefinition"
209
+ },
210
+ "isOptional": true,
211
+ "defaultValue": "MainRuntime"
212
+ },
213
+ {
214
+ "__schema": "FunctionLikeSchema",
215
+ "location": {
216
+ "filePath": "component-sizer.main.runtime.ts",
217
+ "line": 23,
218
+ "character": 3
219
+ },
220
+ "signature": "(method) ComponentSizerMain.provider([preview, graphql]: [PreviewMain, GraphqlMain]): Promise<ComponentSizerMain>",
221
+ "name": "provider",
222
+ "params": [
223
+ {
224
+ "__schema": "ParameterSchema",
225
+ "location": {
226
+ "filePath": "component-sizer.main.runtime.ts",
227
+ "line": 23,
228
+ "character": 25
229
+ },
230
+ "name": "[ preview, graphql ]",
231
+ "type": {
232
+ "__schema": "TupleTypeSchema",
233
+ "location": {
234
+ "filePath": "component-sizer.main.runtime.ts",
235
+ "line": 23,
236
+ "character": 45
237
+ },
238
+ "elements": [
239
+ {
240
+ "__schema": "TypeRefSchema",
241
+ "location": {
242
+ "filePath": "component-sizer.main.runtime.ts",
243
+ "line": 23,
244
+ "character": 46
245
+ },
246
+ "name": "PreviewMain",
247
+ "componentId": {
248
+ "scope": "teambit.preview",
249
+ "name": "preview"
250
+ }
251
+ },
252
+ {
253
+ "__schema": "TypeRefSchema",
254
+ "location": {
255
+ "filePath": "component-sizer.main.runtime.ts",
256
+ "line": 23,
257
+ "character": 59
258
+ },
259
+ "name": "GraphqlMain",
260
+ "componentId": {
261
+ "scope": "teambit.harmony",
262
+ "name": "graphql"
263
+ }
264
+ }
265
+ ]
266
+ },
267
+ "isOptional": false,
268
+ "isSpread": false
269
+ }
270
+ ],
271
+ "returnType": {
272
+ "__schema": "InferenceTypeSchema",
273
+ "location": {
274
+ "filePath": "component-sizer.main.runtime.ts",
275
+ "line": 23,
276
+ "character": 3
277
+ },
278
+ "type": "Promise<ComponentSizerMain>"
279
+ },
280
+ "modifiers": [
281
+ "static",
282
+ "async"
283
+ ]
284
+ }
285
+ ],
286
+ "extendsNodes": [],
287
+ "implementNodes": []
288
+ }
289
+ },
290
+ {
291
+ "__schema": "UnImplementedSchema",
292
+ "location": {
293
+ "filePath": "index.ts",
294
+ "line": 4,
295
+ "character": 16
296
+ },
297
+ "name": "ComponentSizerAspect",
298
+ "type": "Identifier"
299
+ },
300
+ {
301
+ "__schema": "ExportSchema",
302
+ "location": {
303
+ "filePath": "index.ts",
304
+ "line": 5,
305
+ "character": 10
306
+ },
307
+ "signature": "const ComponentSizerAspect: Aspect",
308
+ "name": "ComponentSizerAspect",
309
+ "exportNode": {
310
+ "__schema": "VariableLikeSchema",
311
+ "location": {
312
+ "filePath": "component-sizer.aspect.ts",
313
+ "line": 3,
314
+ "character": 14
315
+ },
316
+ "signature": "const ComponentSizerAspect: Aspect",
317
+ "name": "ComponentSizerAspect",
318
+ "type": {
319
+ "__schema": "TypeRefSchema",
320
+ "location": {
321
+ "filePath": "component-sizer.aspect.ts",
322
+ "line": 3,
323
+ "character": 14
324
+ },
325
+ "name": "Aspect",
326
+ "componentId": {
327
+ "scope": "teambit.harmony",
328
+ "name": "harmony",
329
+ "version": "0.4.6"
330
+ }
331
+ },
332
+ "isOptional": false,
333
+ "defaultValue": "Aspect.create({\n id: 'teambit.component/component-sizer',\n})"
334
+ }
335
+ }
336
+ ],
337
+ "internals": []
338
+ },
339
+ "internals": [
340
+ {
341
+ "__schema": "ModuleSchema",
342
+ "location": {
343
+ "filePath": "component-sizer.main.runtime.ts",
344
+ "line": 1,
345
+ "character": 1
346
+ },
347
+ "exports": [
348
+ {
349
+ "__schema": "ClassSchema",
350
+ "location": {
351
+ "filePath": "component-sizer.main.runtime.ts",
352
+ "line": 8,
353
+ "character": 1
354
+ },
355
+ "signature": "class ComponentSizerMain",
356
+ "name": "ComponentSizerMain",
357
+ "members": [
358
+ {
359
+ "__schema": "ConstructorSchema",
360
+ "location": {
361
+ "filePath": "component-sizer.main.runtime.ts",
362
+ "line": 9,
363
+ "character": 3
364
+ },
365
+ "signature": "constructor ComponentSizerMain(preview: PreviewMain): ComponentSizerMain",
366
+ "name": "constructor",
367
+ "params": [
368
+ {
369
+ "__schema": "ParameterSchema",
370
+ "location": {
371
+ "filePath": "component-sizer.main.runtime.ts",
372
+ "line": 13,
373
+ "character": 5
374
+ },
375
+ "name": "preview",
376
+ "type": {
377
+ "__schema": "TypeRefSchema",
378
+ "location": {
379
+ "filePath": "component-sizer.main.runtime.ts",
380
+ "line": 13,
381
+ "character": 22
382
+ },
383
+ "name": "PreviewMain",
384
+ "componentId": {
385
+ "scope": "teambit.preview",
386
+ "name": "preview"
387
+ }
388
+ },
389
+ "isOptional": false,
390
+ "isSpread": false
391
+ }
392
+ ],
393
+ "returnType": {
394
+ "__schema": "ThisTypeSchema",
395
+ "location": {
396
+ "filePath": "component-sizer.main.runtime.ts",
397
+ "line": 8,
398
+ "character": 1
399
+ },
400
+ "name": "ComponentSizerMain"
401
+ },
402
+ "modifiers": []
403
+ },
404
+ {
405
+ "__schema": "FunctionLikeSchema",
406
+ "location": {
407
+ "filePath": "component-sizer.main.runtime.ts",
408
+ "line": 16,
409
+ "character": 3
410
+ },
411
+ "signature": "(method) ComponentSizerMain.getComponentSize(component: Component): ComponentPreviewSize | undefined",
412
+ "name": "getComponentSize",
413
+ "params": [
414
+ {
415
+ "__schema": "ParameterSchema",
416
+ "location": {
417
+ "filePath": "component-sizer.main.runtime.ts",
418
+ "line": 16,
419
+ "character": 20
420
+ },
421
+ "name": "component",
422
+ "type": {
423
+ "__schema": "TypeRefSchema",
424
+ "location": {
425
+ "filePath": "component-sizer.main.runtime.ts",
426
+ "line": 16,
427
+ "character": 31
428
+ },
429
+ "name": "Component",
430
+ "componentId": {
431
+ "scope": "teambit.component",
432
+ "name": "component"
433
+ }
434
+ },
435
+ "isOptional": false,
436
+ "isSpread": false
437
+ }
438
+ ],
439
+ "returnType": {
440
+ "__schema": "TypeUnionSchema",
441
+ "location": {
442
+ "filePath": "component-sizer.main.runtime.ts",
443
+ "line": 16,
444
+ "character": 43
445
+ },
446
+ "types": [
447
+ {
448
+ "__schema": "TypeRefSchema",
449
+ "location": {
450
+ "filePath": "component-sizer.main.runtime.ts",
451
+ "line": 16,
452
+ "character": 43
453
+ },
454
+ "name": "ComponentPreviewSize",
455
+ "componentId": {
456
+ "scope": "teambit.preview",
457
+ "name": "preview"
458
+ }
459
+ },
460
+ {
461
+ "__schema": "KeywordTypeSchema",
462
+ "location": {
463
+ "filePath": "component-sizer.main.runtime.ts",
464
+ "line": 16,
465
+ "character": 66
466
+ },
467
+ "name": "undefined"
468
+ }
469
+ ]
470
+ },
471
+ "modifiers": []
472
+ },
473
+ {
474
+ "__schema": "VariableLikeSchema",
475
+ "location": {
476
+ "filePath": "component-sizer.main.runtime.ts",
477
+ "line": 20,
478
+ "character": 3
479
+ },
480
+ "signature": "(property) ComponentSizerMain.slots: never[]",
481
+ "name": "slots",
482
+ "type": {
483
+ "__schema": "InferenceTypeSchema",
484
+ "location": {
485
+ "filePath": "component-sizer.main.runtime.ts",
486
+ "line": 20,
487
+ "character": 3
488
+ },
489
+ "type": "never[]"
490
+ },
491
+ "isOptional": true,
492
+ "defaultValue": "[]"
493
+ },
494
+ {
495
+ "__schema": "VariableLikeSchema",
496
+ "location": {
497
+ "filePath": "component-sizer.main.runtime.ts",
498
+ "line": 21,
499
+ "character": 3
500
+ },
501
+ "signature": "(property) ComponentSizerMain.dependencies: Aspect[]",
502
+ "name": "dependencies",
503
+ "type": {
504
+ "__schema": "InferenceTypeSchema",
505
+ "location": {
506
+ "filePath": "component-sizer.main.runtime.ts",
507
+ "line": 21,
508
+ "character": 3
509
+ },
510
+ "type": "Aspect[]"
511
+ },
512
+ "isOptional": true,
513
+ "defaultValue": "[PreviewAspect, GraphqlAspect, ComponentAspect]"
514
+ },
515
+ {
516
+ "__schema": "VariableLikeSchema",
517
+ "location": {
518
+ "filePath": "component-sizer.main.runtime.ts",
519
+ "line": 22,
520
+ "character": 3
521
+ },
522
+ "signature": "(property) ComponentSizerMain.runtime: RuntimeDefinition",
523
+ "name": "runtime",
524
+ "type": {
525
+ "__schema": "InferenceTypeSchema",
526
+ "location": {
527
+ "filePath": "component-sizer.main.runtime.ts",
528
+ "line": 22,
529
+ "character": 3
530
+ },
531
+ "type": "RuntimeDefinition"
532
+ },
533
+ "isOptional": true,
534
+ "defaultValue": "MainRuntime"
535
+ },
536
+ {
537
+ "__schema": "FunctionLikeSchema",
538
+ "location": {
539
+ "filePath": "component-sizer.main.runtime.ts",
540
+ "line": 23,
541
+ "character": 3
542
+ },
543
+ "signature": "(method) ComponentSizerMain.provider([preview, graphql]: [PreviewMain, GraphqlMain]): Promise<ComponentSizerMain>",
544
+ "name": "provider",
545
+ "params": [
546
+ {
547
+ "__schema": "ParameterSchema",
548
+ "location": {
549
+ "filePath": "component-sizer.main.runtime.ts",
550
+ "line": 23,
551
+ "character": 25
552
+ },
553
+ "name": "[ preview, graphql ]",
554
+ "type": {
555
+ "__schema": "TupleTypeSchema",
556
+ "location": {
557
+ "filePath": "component-sizer.main.runtime.ts",
558
+ "line": 23,
559
+ "character": 45
560
+ },
561
+ "elements": [
562
+ {
563
+ "__schema": "TypeRefSchema",
564
+ "location": {
565
+ "filePath": "component-sizer.main.runtime.ts",
566
+ "line": 23,
567
+ "character": 46
568
+ },
569
+ "name": "PreviewMain",
570
+ "componentId": {
571
+ "scope": "teambit.preview",
572
+ "name": "preview"
573
+ }
574
+ },
575
+ {
576
+ "__schema": "TypeRefSchema",
577
+ "location": {
578
+ "filePath": "component-sizer.main.runtime.ts",
579
+ "line": 23,
580
+ "character": 59
581
+ },
582
+ "name": "GraphqlMain",
583
+ "componentId": {
584
+ "scope": "teambit.harmony",
585
+ "name": "graphql"
586
+ }
587
+ }
588
+ ]
589
+ },
590
+ "isOptional": false,
591
+ "isSpread": false
592
+ }
593
+ ],
594
+ "returnType": {
595
+ "__schema": "InferenceTypeSchema",
596
+ "location": {
597
+ "filePath": "component-sizer.main.runtime.ts",
598
+ "line": 23,
599
+ "character": 3
600
+ },
601
+ "type": "Promise<ComponentSizerMain>"
602
+ },
603
+ "modifiers": [
604
+ "static",
605
+ "async"
606
+ ]
607
+ }
608
+ ],
609
+ "extendsNodes": [],
610
+ "implementNodes": []
611
+ }
612
+ ],
613
+ "internals": [
614
+ {
615
+ "__schema": "UnImplementedSchema",
616
+ "location": {
617
+ "filePath": "component-sizer.main.runtime.ts",
618
+ "line": 30,
619
+ "character": 1
620
+ },
621
+ "name": "ComponentSizerAspect.addRuntime(ComponentSizerMain);",
622
+ "type": "ExpressionStatement"
623
+ }
624
+ ]
625
+ },
626
+ {
627
+ "__schema": "ModuleSchema",
628
+ "location": {
629
+ "filePath": "component-sizer.aspect.ts",
630
+ "line": 1,
631
+ "character": 1
632
+ },
633
+ "exports": [
634
+ {
635
+ "__schema": "VariableLikeSchema",
636
+ "location": {
637
+ "filePath": "component-sizer.aspect.ts",
638
+ "line": 3,
639
+ "character": 14
640
+ },
641
+ "signature": "const ComponentSizerAspect: Aspect",
642
+ "name": "ComponentSizerAspect",
643
+ "type": {
644
+ "__schema": "TypeRefSchema",
645
+ "location": {
646
+ "filePath": "component-sizer.aspect.ts",
647
+ "line": 3,
648
+ "character": 14
649
+ },
650
+ "name": "Aspect",
651
+ "componentId": {
652
+ "scope": "teambit.harmony",
653
+ "name": "harmony",
654
+ "version": "0.4.6"
655
+ }
656
+ },
657
+ "isOptional": false,
658
+ "defaultValue": "Aspect.create({\n id: 'teambit.component/component-sizer',\n})"
659
+ },
660
+ {
661
+ "__schema": "UnImplementedSchema",
662
+ "location": {
663
+ "filePath": "component-sizer.aspect.ts",
664
+ "line": 7,
665
+ "character": 16
666
+ },
667
+ "name": "ComponentSizerAspect",
668
+ "type": "Identifier"
669
+ }
670
+ ],
671
+ "internals": []
672
+ }
673
+ ],
674
+ "componentId": {
675
+ "scope": "teambit.component",
676
+ "name": "component-sizer",
677
+ "version": "1.0.514"
678
+ },
679
+ "taggedModuleExports": []
680
+ }
@@ -1,5 +1,5 @@
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';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_component-sizer@1.0.514/dist/component-sizer.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_component-sizer@1.0.514/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.512",
3
+ "version": "1.0.514",
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.512"
9
+ "version": "1.0.514"
10
10
  },
11
11
  "dependencies": {
12
12
  "graphql-tag": "2.12.1",
@@ -14,18 +14,18 @@
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.512",
18
- "@teambit/graphql": "1.0.512",
19
- "@teambit/cli": "0.0.1089",
20
- "@teambit/preview": "1.0.512",
17
+ "@teambit/component": "1.0.514",
18
+ "@teambit/graphql": "1.0.514",
19
+ "@teambit/cli": "0.0.1091",
20
+ "@teambit/preview": "1.0.514",
21
21
  "@teambit/design.ui.tooltip": "0.0.372",
22
- "@teambit/docs": "1.0.512",
23
- "@teambit/ui": "1.0.512",
24
- "@teambit/workspace": "1.0.512"
22
+ "@teambit/docs": "1.0.514",
23
+ "@teambit/ui": "1.0.514",
24
+ "@teambit/workspace": "1.0.514"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@types/mocha": "9.1.0",
28
- "@teambit/harmony.envs.core-aspect-env": "0.0.65"
28
+ "@teambit/harmony.envs.core-aspect-env": "0.0.68"
29
29
  },
30
30
  "peerDependencies": {
31
31
  "react": "^17.0.0 || ^18.0.0",