@teambit/component-sizer 1.0.1186 → 1.0.1188
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/component-sizer.ui.runtime.tsx +1 -1
- package/dist/component-sizer.main.runtime.js +4 -4
- package/dist/component-sizer.main.runtime.js.map +1 -1
- package/dist/component-sizer.ui.runtime.js +4 -4
- package/dist/component-sizer.ui.runtime.js.map +1 -1
- package/dist/{preview-1790777705209.js → preview-1790787818139.js} +2 -2
- package/package.json +8 -9
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { useContext } from 'react';
|
|
2
|
-
import { UIRuntime } from '@teambit/
|
|
2
|
+
import { UIRuntime } from '@teambit/harmony.modules.runtimes';
|
|
3
3
|
import { useQuery } from '@teambit/ui-foundation.ui.react-router.use-query';
|
|
4
4
|
import type { ComponentModel } from '@teambit/component';
|
|
5
5
|
import type { DocsUI } from '@teambit/docs';
|
|
@@ -4,9 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.ComponentSizerMain = void 0;
|
|
7
|
-
function
|
|
8
|
-
const data = require("@teambit/
|
|
9
|
-
|
|
7
|
+
function _harmonyModules() {
|
|
8
|
+
const data = require("@teambit/harmony.modules.runtimes");
|
|
9
|
+
_harmonyModules = function () {
|
|
10
10
|
return data;
|
|
11
11
|
};
|
|
12
12
|
return data;
|
|
@@ -69,7 +69,7 @@ class ComponentSizerMain {
|
|
|
69
69
|
exports.ComponentSizerMain = ComponentSizerMain;
|
|
70
70
|
_defineProperty(ComponentSizerMain, "slots", []);
|
|
71
71
|
_defineProperty(ComponentSizerMain, "dependencies", [_preview().PreviewAspect, _graphql().GraphqlAspect, _component().ComponentAspect]);
|
|
72
|
-
_defineProperty(ComponentSizerMain, "runtime",
|
|
72
|
+
_defineProperty(ComponentSizerMain, "runtime", _harmonyModules().MainRuntime);
|
|
73
73
|
_componentSizer().ComponentSizerAspect.addRuntime(ComponentSizerMain);
|
|
74
74
|
|
|
75
75
|
//# sourceMappingURL=component-sizer.main.runtime.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["_harmonyModules","data","require","_component","_graphql","_preview","_componentSizer","_componentSizer2","_defineProperty","e","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","ComponentSizerMain","constructor","preview","getComponentSize","component","getComponentBundleSize","provider","graphql","componentSizer","register","componentSizerSchema","exports","PreviewAspect","GraphqlAspect","ComponentAspect","MainRuntime","ComponentSizerAspect","addRuntime"],"sources":["component-sizer.main.runtime.ts"],"sourcesContent":["import { MainRuntime } from '@teambit/harmony.modules.runtimes';\nimport type { Component } from '@teambit/component';\nimport { ComponentAspect } from '@teambit/component';\nimport type { GraphqlMain } from '@teambit/graphql';\nimport { GraphqlAspect } from '@teambit/graphql';\nimport type { ComponentPreviewSize, PreviewMain } from '@teambit/preview';\nimport { PreviewAspect } from '@teambit/preview';\nimport { ComponentSizerAspect } from './component-sizer.aspect';\nimport { componentSizerSchema } from './component-sizer.graphql';\n\nexport class ComponentSizerMain {\n constructor(\n /**\n * preview aspect.\n */\n private preview: PreviewMain\n ) {}\n\n getComponentSize(component: Component): ComponentPreviewSize | undefined {\n return this.preview.getComponentBundleSize(component);\n }\n\n static slots = [];\n static dependencies = [PreviewAspect, GraphqlAspect, ComponentAspect];\n static runtime = MainRuntime;\n static async provider([preview, graphql]: [PreviewMain, GraphqlMain]) {\n const componentSizer = new ComponentSizerMain(preview);\n graphql.register(() => componentSizerSchema(componentSizer));\n return componentSizer;\n }\n}\n\nComponentSizerAspect.addRuntime(ComponentSizerMain);\n"],"mappings":";;;;;;AAAA,SAAAA,gBAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,eAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,I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AAA,CAAAZ,CAAA,EAAAD,CAAA,uCAAAS,CAAA,SAAAA,CAAA,YAAAK,SAAA,yEAAAd,CAAA,GAAAe,MAAA,GAAAC,MAAA,EAAAf,CAAA;AAE1D,MAAMgB,kBAAkB,CAAC;EAC9BC,WAAWA;EACT;AACJ;AACA;EACYC,OAAoB,EAC5B;IAAA,KADQA,OAAoB,GAApBA,OAAoB;EAC3B;EAEHC,gBAAgBA,CAACC,SAAoB,EAAoC;IACvE,OAAO,IAAI,CAACF,OAAO,CAACG,sBAAsB,CAACD,SAAS,CAAC;EACvD;EAKA,aAAaE,QAAQA,CAAC,CAACJ,OAAO,EAAEK,OAAO,CAA6B,EAAE;IACpE,MAAMC,cAAc,GAAG,IAAIR,kBAAkB,CAACE,OAAO,CAAC;IACtDK,OAAO,CAACE,QAAQ,CAAC,MAAM,IAAAC,uCAAoB,EAACF,cAAc,CAAC,CAAC;IAC5D,OAAOA,cAAc;EACvB;AACF;AAACG,OAAA,CAAAX,kBAAA,GAAAA,kBAAA;AAAAnB,eAAA,CApBYmB,kBAAkB,WAYd,EAAE;AAAAnB,eAAA,CAZNmB,kBAAkB,kBAaP,CAACY,wBAAa,EAAEC,wBAAa,EAAEC,4BAAe,CAAC;AAAAjC,eAAA,CAb1DmB,kBAAkB,aAcZe,6BAAW;AAQ9BC,sCAAoB,CAACC,UAAU,CAACjB,kBAAkB,CAAC","ignoreList":[]}
|
|
@@ -11,9 +11,9 @@ function _react() {
|
|
|
11
11
|
};
|
|
12
12
|
return data;
|
|
13
13
|
}
|
|
14
|
-
function
|
|
15
|
-
const data = require("@teambit/
|
|
16
|
-
|
|
14
|
+
function _harmonyModules() {
|
|
15
|
+
const data = require("@teambit/harmony.modules.runtimes");
|
|
16
|
+
_harmonyModules = function () {
|
|
17
17
|
return data;
|
|
18
18
|
};
|
|
19
19
|
return data;
|
|
@@ -135,7 +135,7 @@ class SizerUIRuntime {
|
|
|
135
135
|
}
|
|
136
136
|
exports.SizerUIRuntime = SizerUIRuntime;
|
|
137
137
|
_defineProperty(SizerUIRuntime, "dependencies", [_docs().DocsAspect]);
|
|
138
|
-
_defineProperty(SizerUIRuntime, "runtime",
|
|
138
|
+
_defineProperty(SizerUIRuntime, "runtime", _harmonyModules().UIRuntime);
|
|
139
139
|
_componentSizer().ComponentSizerAspect.addRuntime(SizerUIRuntime);
|
|
140
140
|
|
|
141
141
|
//# sourceMappingURL=component-sizer.ui.runtime.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","data","_interopRequireWildcard","require","
|
|
1
|
+
{"version":3,"names":["_react","data","_interopRequireWildcard","require","_harmonyModules","_uiFoundationUiReactRouter","_docs","_componentUi","_workspace","_designUi","_designUi2","_baseReactThemes","_componentSizer","_componentSizerModule","_interopRequireDefault","e","__esModule","default","t","WeakMap","r","n","o","i","f","__proto__","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","_defineProperty","_toPropertyKey","value","enumerable","configurable","writable","_toPrimitive","Symbol","toPrimitive","TypeError","String","Number","SizerUIRuntime","provider","docs","registerTitleBadge","component","badge","legacyComponentModel","workspace","useContext","WorkspaceContext","query","useQuery","workspaceComponent","components","find","id","isEqual","componentVersionFromUrl","isWorkspaceVersion","Boolean","size","isModified","status","modifyInfo","hasModifiedFiles","hasModifiedDependencies","sizeExistsBuComponentModified","theme","useThemePicker","isDark","current","themeName","createElement","Tooltip","className","styles","componentSizeTooltip","placement","content","componentSizeTooltipContent","PillLabel","label","style","width","marginRight","filter","undefined","src","alt","ComponentSize","darkWeight","weight","exports","DocsAspect","UIRuntime","ComponentSizerAspect","addRuntime"],"sources":["component-sizer.ui.runtime.tsx"],"sourcesContent":["import React, { useContext } from 'react';\nimport { UIRuntime } from '@teambit/harmony.modules.runtimes';\nimport { useQuery } from '@teambit/ui-foundation.ui.react-router.use-query';\nimport type { ComponentModel } from '@teambit/component';\nimport type { DocsUI } from '@teambit/docs';\nimport { DocsAspect } from '@teambit/docs';\nimport { ComponentSize } from '@teambit/component.ui.component-size';\nimport { WorkspaceContext } from '@teambit/workspace';\nimport { PillLabel } from '@teambit/design.ui.pill-label';\nimport { Tooltip } from '@teambit/design.ui.tooltip';\nimport { useThemePicker } from '@teambit/base-react.themes.theme-switcher';\nimport { ComponentSizerAspect } from './component-sizer.aspect';\n\nimport styles from './component-sizer.module.scss';\n\n/**\n * Component size aspect.\n */\nexport class SizerUIRuntime {\n static dependencies = [DocsAspect];\n\n static runtime = UIRuntime;\n\n static async provider([docs]: [DocsUI]) {\n docs.registerTitleBadge({\n component: function badge({ legacyComponentModel }: { legacyComponentModel: ComponentModel }) {\n const workspace = useContext(WorkspaceContext);\n const query = useQuery();\n const workspaceComponent = workspace?.components.find((component) =>\n component.id.isEqual(legacyComponentModel.id)\n );\n const componentVersionFromUrl = query.get('version');\n const isWorkspaceVersion = Boolean(workspaceComponent && !componentVersionFromUrl);\n const size = legacyComponentModel.size;\n const isModified = Boolean(\n workspaceComponent?.status?.modifyInfo?.hasModifiedFiles ||\n workspaceComponent?.status?.modifyInfo?.hasModifiedDependencies\n );\n const sizeExistsBuComponentModified = Boolean(size && isModified);\n const theme = useThemePicker();\n const isDark = theme.current?.themeName === 'dark';\n\n if (isWorkspaceVersion && sizeExistsBuComponentModified) {\n return (\n <Tooltip\n className={styles.componentSizeTooltip}\n placement=\"top\"\n content={\n <div className={styles.componentSizeTooltipContent}>\n Component is modified. Size is calculated upon build\n </div>\n }\n >\n <div>\n <PillLabel className={styles.label}>\n <img\n style={{\n width: '16px',\n marginRight: '4px',\n filter: isDark ? 'saturate(0) invert(1) contrast(4)' : undefined,\n }}\n src=\"https://static.bit.dev/bit-icons/weight.svg\"\n alt=\"size\"\n />\n </PillLabel>\n </div>\n </Tooltip>\n );\n }\n\n return (\n <ComponentSize\n className={isDark ? styles.darkWeight : undefined}\n legacyComponentModel={legacyComponentModel}\n />\n );\n },\n weight: 30,\n });\n }\n}\n\nComponentSizerAspect.addRuntime(SizerUIRuntime);\n"],"mapp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,CACE,CAAC;QAEd;QAEA,oBACE9F,MAAA,GAAAiB,OAAA,CAAA6D,aAAA,CAACvE,YAAA,GAAAwF,aAAa;UACZf,SAAS,EAAEL,MAAM,GAAGM,+BAAM,CAACe,UAAU,GAAGJ,SAAU;UAClDxC,oBAAoB,EAAEA;QAAqB,CAC5C,CAAC;MAEN,CAAC;MACD6C,MAAM,EAAE;IACV,CAAC,CAAC;EACJ;AACF;AAACC,OAAA,CAAApD,cAAA,GAAAA,cAAA;AAAAZ,eAAA,CA9DYY,cAAc,kBACH,CAACqD,kBAAU,CAAC;AAAAjE,eAAA,CADvBY,cAAc,aAGRsD,2BAAS;AA6D5BC,sCAAoB,CAACC,UAAU,CAACxD,cAAc,CAAC","ignoreList":[]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_component-sizer@1.0.
|
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_component-sizer@1.0.
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_component-sizer@1.0.1188/dist/component-sizer.composition.js';
|
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_component-sizer@1.0.1188/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.
|
|
3
|
+
"version": "1.0.1188",
|
|
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.1188"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"graphql-tag": "2.12.1",
|
|
@@ -16,13 +16,12 @@
|
|
|
16
16
|
"@teambit/design.ui.pill-label": "0.0.360",
|
|
17
17
|
"@teambit/design.ui.tooltip": "0.0.388",
|
|
18
18
|
"@teambit/ui-foundation.ui.react-router.use-query": "0.0.505",
|
|
19
|
-
"@teambit/component": "1.0.
|
|
20
|
-
"@teambit/graphql": "1.0.
|
|
21
|
-
"@teambit/
|
|
22
|
-
"@teambit/preview": "1.0.
|
|
23
|
-
"@teambit/docs": "1.0.
|
|
24
|
-
"@teambit/
|
|
25
|
-
"@teambit/workspace": "1.0.1186"
|
|
19
|
+
"@teambit/component": "1.0.1188",
|
|
20
|
+
"@teambit/graphql": "1.0.1188",
|
|
21
|
+
"@teambit/harmony.modules.runtimes": "0.0.1",
|
|
22
|
+
"@teambit/preview": "1.0.1188",
|
|
23
|
+
"@teambit/docs": "1.0.1188",
|
|
24
|
+
"@teambit/workspace": "1.0.1188"
|
|
26
25
|
},
|
|
27
26
|
"devDependencies": {
|
|
28
27
|
"@types/mocha": "9.1.0",
|