@teambit/component-sizer 1.0.431 → 1.0.432
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 +1 -1
- package/component-sizer.module.scss +11 -0
- package/component-sizer.ui.runtime.tsx +38 -1
- package/dist/component-sizer.module.scss +11 -0
- package/dist/component-sizer.ui.runtime.js +53 -1
- package/dist/component-sizer.ui.runtime.js.map +1 -1
- package/dist/{preview-1728962506318.js → preview-1729012406441.js} +2 -2
- package/package.json +11 -8
@@ -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.432" 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={858:(e,t,o)=>{var n={id:"teambit.component/component-sizer@1.0.432",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(858);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})()));
|
package/artifacts/schema.json
CHANGED
@@ -0,0 +1,11 @@
|
|
1
|
+
.componentSizeTooltip {
|
2
|
+
padding: 0;
|
3
|
+
// need to add !important to override the inline style added by Tippy.js
|
4
|
+
max-width: fit-content !important;
|
5
|
+
}
|
6
|
+
.componentSizeTooltipContent {
|
7
|
+
font-size: var(--bit-p-xs, '14px');
|
8
|
+
}
|
9
|
+
.label {
|
10
|
+
padding: 4px 8px;
|
11
|
+
}
|
@@ -1,10 +1,15 @@
|
|
1
|
-
import React from 'react';
|
1
|
+
import React, { useContext } from 'react';
|
2
2
|
import { UIRuntime } from '@teambit/ui';
|
3
3
|
import { ComponentModel } from '@teambit/component';
|
4
4
|
import { DocsAspect, DocsUI } from '@teambit/docs';
|
5
5
|
import { ComponentSize } from '@teambit/component.ui.component-size';
|
6
|
+
import { WorkspaceContext } from '@teambit/workspace';
|
7
|
+
import { PillLabel } from '@teambit/design.ui.pill-label';
|
8
|
+
import { Tooltip } from '@teambit/design.ui.tooltip';
|
6
9
|
import { ComponentSizerAspect } from './component-sizer.aspect';
|
7
10
|
|
11
|
+
import styles from './component-sizer.module.scss';
|
12
|
+
|
8
13
|
/**
|
9
14
|
* Component size aspect.
|
10
15
|
*/
|
@@ -16,6 +21,38 @@ export class SizerUIRuntime {
|
|
16
21
|
static async provider([docs]: [DocsUI]) {
|
17
22
|
docs.registerTitleBadge({
|
18
23
|
component: function badge({ legacyComponentModel }: { legacyComponentModel: ComponentModel }) {
|
24
|
+
const workspace = useContext(WorkspaceContext);
|
25
|
+
const workspaceComponent = workspace?.getComponent(legacyComponentModel.id);
|
26
|
+
const size = legacyComponentModel.size;
|
27
|
+
const isModified = Boolean(
|
28
|
+
workspaceComponent?.status?.modifyInfo?.hasModifiedFiles ||
|
29
|
+
workspaceComponent?.status?.modifyInfo?.hasModifiedDependencies
|
30
|
+
);
|
31
|
+
const sizeExistsBuComponentModified = Boolean(size && isModified);
|
32
|
+
|
33
|
+
if (sizeExistsBuComponentModified) {
|
34
|
+
return (
|
35
|
+
<Tooltip
|
36
|
+
className={styles.componentSizeTooltip}
|
37
|
+
placement="top"
|
38
|
+
content={
|
39
|
+
<div className={styles.componentSizeTooltipContent}>
|
40
|
+
Component is modified. Size is calculated upon build
|
41
|
+
</div>
|
42
|
+
}
|
43
|
+
>
|
44
|
+
<div>
|
45
|
+
<PillLabel className={styles.label}>
|
46
|
+
<img
|
47
|
+
style={{ width: '16px', marginRight: '4px' }}
|
48
|
+
src="https://static.bit.dev/bit-icons/weight.svg"
|
49
|
+
/>
|
50
|
+
</PillLabel>
|
51
|
+
</div>
|
52
|
+
</Tooltip>
|
53
|
+
);
|
54
|
+
}
|
55
|
+
|
19
56
|
return <ComponentSize legacyComponentModel={legacyComponentModel} />;
|
20
57
|
},
|
21
58
|
weight: 30,
|
@@ -0,0 +1,11 @@
|
|
1
|
+
.componentSizeTooltip {
|
2
|
+
padding: 0;
|
3
|
+
// need to add !important to override the inline style added by Tippy.js
|
4
|
+
max-width: fit-content !important;
|
5
|
+
}
|
6
|
+
.componentSizeTooltipContent {
|
7
|
+
font-size: var(--bit-p-xs, '14px');
|
8
|
+
}
|
9
|
+
.label {
|
10
|
+
padding: 4px 8px;
|
11
|
+
}
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
});
|
6
6
|
exports.SizerUIRuntime = void 0;
|
7
7
|
function _react() {
|
8
|
-
const data =
|
8
|
+
const data = _interopRequireWildcard(require("react"));
|
9
9
|
_react = function () {
|
10
10
|
return data;
|
11
11
|
};
|
@@ -32,6 +32,27 @@ function _componentUi() {
|
|
32
32
|
};
|
33
33
|
return data;
|
34
34
|
}
|
35
|
+
function _workspace() {
|
36
|
+
const data = require("@teambit/workspace");
|
37
|
+
_workspace = function () {
|
38
|
+
return data;
|
39
|
+
};
|
40
|
+
return data;
|
41
|
+
}
|
42
|
+
function _designUi() {
|
43
|
+
const data = require("@teambit/design.ui.pill-label");
|
44
|
+
_designUi = function () {
|
45
|
+
return data;
|
46
|
+
};
|
47
|
+
return data;
|
48
|
+
}
|
49
|
+
function _designUi2() {
|
50
|
+
const data = require("@teambit/design.ui.tooltip");
|
51
|
+
_designUi2 = function () {
|
52
|
+
return data;
|
53
|
+
};
|
54
|
+
return data;
|
55
|
+
}
|
35
56
|
function _componentSizer() {
|
36
57
|
const data = require("./component-sizer.aspect");
|
37
58
|
_componentSizer = function () {
|
@@ -39,7 +60,16 @@ function _componentSizer() {
|
|
39
60
|
};
|
40
61
|
return data;
|
41
62
|
}
|
63
|
+
function _componentSizerModule() {
|
64
|
+
const data = _interopRequireDefault(require("./component-sizer.module.scss"));
|
65
|
+
_componentSizerModule = function () {
|
66
|
+
return data;
|
67
|
+
};
|
68
|
+
return data;
|
69
|
+
}
|
42
70
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
71
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
72
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
43
73
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
44
74
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
45
75
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
@@ -52,6 +82,28 @@ class SizerUIRuntime {
|
|
52
82
|
component: function badge({
|
53
83
|
legacyComponentModel
|
54
84
|
}) {
|
85
|
+
const workspace = (0, _react().useContext)(_workspace().WorkspaceContext);
|
86
|
+
const workspaceComponent = workspace?.getComponent(legacyComponentModel.id);
|
87
|
+
const size = legacyComponentModel.size;
|
88
|
+
const isModified = Boolean(workspaceComponent?.status?.modifyInfo?.hasModifiedFiles || workspaceComponent?.status?.modifyInfo?.hasModifiedDependencies);
|
89
|
+
const sizeExistsBuComponentModified = Boolean(size && isModified);
|
90
|
+
if (sizeExistsBuComponentModified) {
|
91
|
+
return /*#__PURE__*/_react().default.createElement(_designUi2().Tooltip, {
|
92
|
+
className: _componentSizerModule().default.componentSizeTooltip,
|
93
|
+
placement: "top",
|
94
|
+
content: /*#__PURE__*/_react().default.createElement("div", {
|
95
|
+
className: _componentSizerModule().default.componentSizeTooltipContent
|
96
|
+
}, "Component is modified. Size is calculated upon build")
|
97
|
+
}, /*#__PURE__*/_react().default.createElement("div", null, /*#__PURE__*/_react().default.createElement(_designUi().PillLabel, {
|
98
|
+
className: _componentSizerModule().default.label
|
99
|
+
}, /*#__PURE__*/_react().default.createElement("img", {
|
100
|
+
style: {
|
101
|
+
width: '16px',
|
102
|
+
marginRight: '4px'
|
103
|
+
},
|
104
|
+
src: "https://static.bit.dev/bit-icons/weight.svg"
|
105
|
+
}))));
|
106
|
+
}
|
55
107
|
return /*#__PURE__*/_react().default.createElement(_componentUi().ComponentSize, {
|
56
108
|
legacyComponentModel: legacyComponentModel
|
57
109
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_react","data","
|
1
|
+
{"version":3,"names":["_react","data","_interopRequireWildcard","require","_ui","_docs","_componentUi","_workspace","_designUi","_designUi2","_componentSizer","_componentSizerModule","_interopRequireDefault","e","__esModule","default","_getRequireWildcardCache","WeakMap","r","t","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","_defineProperty","_toPropertyKey","value","enumerable","configurable","writable","_toPrimitive","Symbol","toPrimitive","TypeError","String","Number","SizerUIRuntime","provider","docs","registerTitleBadge","component","badge","legacyComponentModel","workspace","useContext","WorkspaceContext","workspaceComponent","getComponent","id","size","isModified","Boolean","status","modifyInfo","hasModifiedFiles","hasModifiedDependencies","sizeExistsBuComponentModified","createElement","Tooltip","className","styles","componentSizeTooltip","placement","content","componentSizeTooltipContent","PillLabel","label","style","width","marginRight","src","ComponentSize","weight","exports","DocsAspect","UIRuntime","ComponentSizerAspect","addRuntime"],"sources":["component-sizer.ui.runtime.tsx"],"sourcesContent":["import React, { useContext } from 'react';\nimport { UIRuntime } from '@teambit/ui';\nimport { ComponentModel } from '@teambit/component';\nimport { DocsAspect, DocsUI } 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 { 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 workspaceComponent = workspace?.getComponent(legacyComponentModel.id);\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\n if (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={{ width: '16px', marginRight: '4px' }}\n src=\"https://static.bit.dev/bit-icons/weight.svg\"\n />\n </PillLabel>\n </div>\n </Tooltip>\n );\n }\n\n return <ComponentSize legacyComponentModel={legacyComponentModel} />;\n },\n weight: 30,\n });\n }\n}\n\nComponentSizerAspect.addRuntime(SizerUIRuntime);\n"],"mappings":";;;;;;AAAA,SAAAA,OAAA;EAAA,MAAAC,IAAA,GAAAC,uBAAA,CAAAC,OAAA;EAAAH,MAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAG,IAAA;EAAA,MAAAH,IAAA,GAAAE,OAAA;EAAAC,GAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,SAAAI,MAAA;EAAA,MAAAJ,IAAA,GAAAE,OAAA;EAAAE,KAAA,YAAAA,CAAA;IAAA,OAAAJ,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAK,aAAA;EAAA,MAAAL,IAAA,GAAAE,OAAA;EAAAG,YAAA,YAAAA,CAAA;IAAA,OAAAL,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAM,WAAA;EAAA,MAAAN,IAAA,GAAAE,OAAA;EAAAI,UAAA,YAAAA,CAAA;IAAA,OAAAN,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAO,UAAA;EAAA,MAAAP,IAAA,GAAAE,OAAA;EAAAK,SAAA,YAAAA,CAAA;IAAA,OAAAP,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAQ,WAAA;EAAA,MAAAR,IAAA,GAAAE,OAAA;EAAAM,UAAA,YAAAA,CAAA;IAAA,OAAAR,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAS,gBAAA;EAAA,MAAAT,IAAA,GAAAE,OAAA;E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AC","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.432/dist/component-sizer.composition.js';
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_component-sizer@1.0.432/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,23 +1,26 @@
|
|
1
1
|
{
|
2
2
|
"name": "@teambit/component-sizer",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.432",
|
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.432"
|
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/
|
16
|
-
"@teambit/
|
17
|
-
"@teambit/
|
18
|
-
"@teambit/
|
19
|
-
"@teambit/
|
20
|
-
"@teambit/ui": "
|
15
|
+
"@teambit/design.ui.pill-label": "0.0.356",
|
16
|
+
"@teambit/component": "1.0.432",
|
17
|
+
"@teambit/graphql": "1.0.432",
|
18
|
+
"@teambit/cli": "0.0.1009",
|
19
|
+
"@teambit/preview": "1.0.432",
|
20
|
+
"@teambit/design.ui.tooltip": "0.0.371",
|
21
|
+
"@teambit/docs": "1.0.432",
|
22
|
+
"@teambit/ui": "1.0.432",
|
23
|
+
"@teambit/workspace": "1.0.432"
|
21
24
|
},
|
22
25
|
"devDependencies": {
|
23
26
|
"@types/mocha": "9.1.0",
|