@teambit/component-sizer 1.0.225 → 1.0.227
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.
- package/artifacts/__bit_junit.xml +1 -1
- package/artifacts/preview/teambit_component_component_sizer-preview.js +1 -1
- package/artifacts/schema.json +11 -51
- package/dist/{preview-1712546198033.js → preview-1712719054377.js} +2 -2
- package/package.json +9 -9
- package/tsconfig.json +22 -1
- package/dist/component-sizer.aspect.d.ts +0 -3
- package/dist/component-sizer.composition.d.ts +0 -1
- package/dist/component-sizer.graphql.d.ts +0 -3
- package/dist/component-sizer.main.runtime.d.ts +0 -19
- package/dist/component-sizer.ui.runtime.d.ts +0 -9
- package/dist/index.d.ts +0 -4
@@ -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.
|
3
|
+
<testsuite name="teambit.component/component-sizer@1.0.227" 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={
|
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={13943:(e,t,o)=>{var n={id:"teambit.component/component-sizer@1.0.227",homepage:"https://bit.cloud/teambit/component/component-sizer",exported:!0};function r(){const e=i(o(41594));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 p=()=>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"}));p.__bit_component=n,t.Logo=p},41594: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={};return(()=>{o.r(n),o.d(n,{compositions:()=>m,compositions_metadata:()=>l,overview:()=>u});var e={};o.r(e),o.d(e,{default:()=>d});var t=o(13943);o(41594);const r=MdxJsReact,i=TeambitMdxUiMdxScopeContext;var p=["components"];function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},c.apply(this,arguments)}var s={},a="wrapper";function d(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,n,r={},i=Object.keys(e);for(n=0;n<i.length;n++)o=i[n],t.indexOf(o)>=0||(r[o]=e[o]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)o=i[n],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(r[o]=e[o])}return r}(e,p);return(0,r.mdx)(a,c({},s,o,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)(i.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"},(0,r.mdx)("p",null,"Adds the component's minified and Gzipped bundle size to the component docs (in the badges section).")))}d.isMDXComponent=!0;const m=[t],u=[e],l={compositions:[{displayName:"Logo",identifier:"Logo"}]}})(),n})()));
|
package/artifacts/schema.json
CHANGED
@@ -48,11 +48,7 @@
|
|
48
48
|
"line": 13,
|
49
49
|
"character": 22
|
50
50
|
},
|
51
|
-
"name": "PreviewMain"
|
52
|
-
"componentId": {
|
53
|
-
"scope": "teambit.preview",
|
54
|
-
"name": "preview"
|
55
|
-
}
|
51
|
+
"name": "PreviewMain"
|
56
52
|
},
|
57
53
|
"isOptional": false,
|
58
54
|
"isSpread": false
|
@@ -94,11 +90,7 @@
|
|
94
90
|
"line": 16,
|
95
91
|
"character": 31
|
96
92
|
},
|
97
|
-
"name": "Component"
|
98
|
-
"componentId": {
|
99
|
-
"scope": "teambit.component",
|
100
|
-
"name": "component"
|
101
|
-
}
|
93
|
+
"name": "Component"
|
102
94
|
},
|
103
95
|
"isOptional": false,
|
104
96
|
"isSpread": false
|
@@ -119,11 +111,7 @@
|
|
119
111
|
"line": 16,
|
120
112
|
"character": 43
|
121
113
|
},
|
122
|
-
"name": "ComponentPreviewSize"
|
123
|
-
"componentId": {
|
124
|
-
"scope": "teambit.preview",
|
125
|
-
"name": "preview"
|
126
|
-
}
|
114
|
+
"name": "ComponentPreviewSize"
|
127
115
|
},
|
128
116
|
{
|
129
117
|
"__schema": "KeywordTypeSchema",
|
@@ -234,11 +222,7 @@
|
|
234
222
|
"line": 23,
|
235
223
|
"character": 46
|
236
224
|
},
|
237
|
-
"name": "PreviewMain"
|
238
|
-
"componentId": {
|
239
|
-
"scope": "teambit.preview",
|
240
|
-
"name": "preview"
|
241
|
-
}
|
225
|
+
"name": "PreviewMain"
|
242
226
|
},
|
243
227
|
{
|
244
228
|
"__schema": "TypeRefSchema",
|
@@ -247,11 +231,7 @@
|
|
247
231
|
"line": 23,
|
248
232
|
"character": 59
|
249
233
|
},
|
250
|
-
"name": "GraphqlMain"
|
251
|
-
"componentId": {
|
252
|
-
"scope": "teambit.harmony",
|
253
|
-
"name": "graphql"
|
254
|
-
}
|
234
|
+
"name": "GraphqlMain"
|
255
235
|
}
|
256
236
|
]
|
257
237
|
},
|
@@ -360,11 +340,7 @@
|
|
360
340
|
"line": 13,
|
361
341
|
"character": 22
|
362
342
|
},
|
363
|
-
"name": "PreviewMain"
|
364
|
-
"componentId": {
|
365
|
-
"scope": "teambit.preview",
|
366
|
-
"name": "preview"
|
367
|
-
}
|
343
|
+
"name": "PreviewMain"
|
368
344
|
},
|
369
345
|
"isOptional": false,
|
370
346
|
"isSpread": false
|
@@ -406,11 +382,7 @@
|
|
406
382
|
"line": 16,
|
407
383
|
"character": 31
|
408
384
|
},
|
409
|
-
"name": "Component"
|
410
|
-
"componentId": {
|
411
|
-
"scope": "teambit.component",
|
412
|
-
"name": "component"
|
413
|
-
}
|
385
|
+
"name": "Component"
|
414
386
|
},
|
415
387
|
"isOptional": false,
|
416
388
|
"isSpread": false
|
@@ -431,11 +403,7 @@
|
|
431
403
|
"line": 16,
|
432
404
|
"character": 43
|
433
405
|
},
|
434
|
-
"name": "ComponentPreviewSize"
|
435
|
-
"componentId": {
|
436
|
-
"scope": "teambit.preview",
|
437
|
-
"name": "preview"
|
438
|
-
}
|
406
|
+
"name": "ComponentPreviewSize"
|
439
407
|
},
|
440
408
|
{
|
441
409
|
"__schema": "KeywordTypeSchema",
|
@@ -546,11 +514,7 @@
|
|
546
514
|
"line": 23,
|
547
515
|
"character": 46
|
548
516
|
},
|
549
|
-
"name": "PreviewMain"
|
550
|
-
"componentId": {
|
551
|
-
"scope": "teambit.preview",
|
552
|
-
"name": "preview"
|
553
|
-
}
|
517
|
+
"name": "PreviewMain"
|
554
518
|
},
|
555
519
|
{
|
556
520
|
"__schema": "TypeRefSchema",
|
@@ -559,11 +523,7 @@
|
|
559
523
|
"line": 23,
|
560
524
|
"character": 59
|
561
525
|
},
|
562
|
-
"name": "GraphqlMain"
|
563
|
-
"componentId": {
|
564
|
-
"scope": "teambit.harmony",
|
565
|
-
"name": "graphql"
|
566
|
-
}
|
526
|
+
"name": "GraphqlMain"
|
567
527
|
}
|
568
528
|
]
|
569
529
|
},
|
@@ -654,7 +614,7 @@
|
|
654
614
|
"componentId": {
|
655
615
|
"scope": "teambit.component",
|
656
616
|
"name": "component-sizer",
|
657
|
-
"version": "1.0.
|
617
|
+
"version": "1.0.227"
|
658
618
|
},
|
659
619
|
"taggedModuleExports": []
|
660
620
|
}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_component-sizer@1.0.
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_component-sizer@1.0.
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_component-sizer@1.0.227/dist/component-sizer.composition.js';
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_component-sizer@1.0.227/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,28 +1,28 @@
|
|
1
1
|
{
|
2
2
|
"name": "@teambit/component-sizer",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.227",
|
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.
|
9
|
+
"version": "1.0.227"
|
10
10
|
},
|
11
11
|
"dependencies": {
|
12
12
|
"graphql-tag": "2.12.1",
|
13
13
|
"@teambit/harmony": "0.4.6",
|
14
14
|
"@teambit/component.ui.component-size": "0.0.77",
|
15
|
-
"@teambit/component": "1.0.
|
16
|
-
"@teambit/graphql": "1.0.
|
17
|
-
"@teambit/cli": "0.0.
|
18
|
-
"@teambit/preview": "1.0.
|
19
|
-
"@teambit/docs": "1.0.
|
20
|
-
"@teambit/ui": "1.0.
|
15
|
+
"@teambit/component": "1.0.227",
|
16
|
+
"@teambit/graphql": "1.0.227",
|
17
|
+
"@teambit/cli": "0.0.860",
|
18
|
+
"@teambit/preview": "1.0.227",
|
19
|
+
"@teambit/docs": "1.0.227",
|
20
|
+
"@teambit/ui": "1.0.227"
|
21
21
|
},
|
22
22
|
"devDependencies": {
|
23
23
|
"@types/mocha": "9.1.0",
|
24
24
|
"chai": "4.3.0",
|
25
|
-
"@teambit/harmony.envs.core-aspect-env": "0.0.
|
25
|
+
"@teambit/harmony.envs.core-aspect-env": "0.0.30"
|
26
26
|
},
|
27
27
|
"peerDependencies": {
|
28
28
|
"react": "^17.0.0 || ^18.0.0",
|
package/tsconfig.json
CHANGED
@@ -20,7 +20,8 @@
|
|
20
20
|
"emitDeclarationOnly": true,
|
21
21
|
"strict": true,
|
22
22
|
"strictPropertyInitialization": false,
|
23
|
-
"noImplicitAny": false
|
23
|
+
"noImplicitAny": false,
|
24
|
+
"composite": true
|
24
25
|
},
|
25
26
|
"exclude": [
|
26
27
|
"artifacts",
|
@@ -35,5 +36,25 @@
|
|
35
36
|
"include": [
|
36
37
|
"**/*",
|
37
38
|
"**/*.json"
|
39
|
+
],
|
40
|
+
"references": [
|
41
|
+
{
|
42
|
+
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_component@1.0.227"
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_graphql@1.0.227"
|
46
|
+
},
|
47
|
+
{
|
48
|
+
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_cli@0.0.860"
|
49
|
+
},
|
50
|
+
{
|
51
|
+
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.preview_preview@1.0.227"
|
52
|
+
},
|
53
|
+
{
|
54
|
+
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.docs_docs@1.0.227"
|
55
|
+
},
|
56
|
+
{
|
57
|
+
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.ui-foundation_ui@1.0.227"
|
58
|
+
}
|
38
59
|
]
|
39
60
|
}
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare const Logo: () => import("react/jsx-runtime").JSX.Element;
|
@@ -1,19 +0,0 @@
|
|
1
|
-
import { Component } from '@teambit/component';
|
2
|
-
import { GraphqlMain } from '@teambit/graphql';
|
3
|
-
import { ComponentPreviewSize, PreviewMain } from '@teambit/preview';
|
4
|
-
export declare class ComponentSizerMain {
|
5
|
-
/**
|
6
|
-
* preview aspect.
|
7
|
-
*/
|
8
|
-
private preview;
|
9
|
-
constructor(
|
10
|
-
/**
|
11
|
-
* preview aspect.
|
12
|
-
*/
|
13
|
-
preview: PreviewMain);
|
14
|
-
getComponentSize(component: Component): ComponentPreviewSize | undefined;
|
15
|
-
static slots: never[];
|
16
|
-
static dependencies: import("@teambit/harmony").Aspect[];
|
17
|
-
static runtime: import("@teambit/harmony").RuntimeDefinition;
|
18
|
-
static provider([preview, graphql]: [PreviewMain, GraphqlMain]): Promise<ComponentSizerMain>;
|
19
|
-
}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { DocsUI } from '@teambit/docs';
|
2
|
-
/**
|
3
|
-
* Component size aspect.
|
4
|
-
*/
|
5
|
-
export declare class SizerUIRuntime {
|
6
|
-
static dependencies: import("@teambit/harmony").Aspect[];
|
7
|
-
static runtime: import("@teambit/harmony").RuntimeDefinition;
|
8
|
-
static provider([docs]: [DocsUI]): Promise<void>;
|
9
|
-
}
|
package/dist/index.d.ts
DELETED