@teambit/code 0.0.750 → 0.0.753

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.
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ import { FileIconSlot } from '@teambit/code';
3
+ import { Section } from '@teambit/component';
4
+ import { CodeCompare } from '@teambit/code.ui.code-compare';
5
+
6
+ export class CodeCompareSection implements Section {
7
+ constructor(private fileIconSlot: FileIconSlot) {}
8
+
9
+ navigationLink = {
10
+ href: 'code',
11
+ children: 'Code',
12
+ order: 2,
13
+ };
14
+
15
+ route = {
16
+ path: 'code/*',
17
+ element: <CodeCompare fileIconSlot={this.fileIconSlot} />,
18
+ };
19
+ }
@@ -5,8 +5,10 @@ import { SlotRegistry, Slot } from '@teambit/harmony';
5
5
  import type { FileIconMatch } from '@teambit/code.ui.utils.get-file-icon';
6
6
  import { staticStorageUrl } from '@teambit/base-ui.constants.storage';
7
7
  import { CodePage } from '@teambit/code.ui.code-tab-page';
8
+ import { ComponentCompareUI, ComponentCompareAspect } from '@teambit/component-compare';
8
9
  import { CodeAspect } from './code.aspect';
9
10
  import { CodeSection } from './code.section';
11
+ import { CodeCompareSection } from './code.compare.section';
10
12
 
11
13
  const isTsx = /\.tsx$/;
12
14
 
@@ -27,27 +29,36 @@ export class CodeUI {
27
29
  getCodePage = () => {
28
30
  return <CodePage fileIconSlot={this.fileIconSlot} />;
29
31
  };
30
-
32
+
31
33
  registerEnvFileIcon(icons: FileIconMatch[]) {
32
34
  this.fileIconSlot?.register(icons);
33
35
  return this;
34
36
  }
35
- static dependencies = [ComponentAspect];
37
+ static dependencies = [ComponentAspect, ComponentCompareAspect];
36
38
 
37
39
  static runtime = UIRuntime;
38
40
 
39
41
  static slots = [Slot.withType<string>()];
40
42
 
41
- static async provider([component]: [ComponentUI], config, [fileIconSlot]: [FileIconSlot]) {
43
+ static async provider(
44
+ [component, componentCompare]: [ComponentUI, ComponentCompareUI],
45
+ config,
46
+ [fileIconSlot]: [FileIconSlot]
47
+ ) {
42
48
  const ui = new CodeUI(fileIconSlot);
43
49
  const section = new CodeSection(ui);
44
-
45
50
  // overrides the default tsx react icon with the typescript icon
46
51
  ui.registerEnvFileIcon([
47
52
  (fileName) => (isTsx.test(fileName) ? `${staticStorageUrl}/file-icons/file_type_typescript.svg` : undefined),
48
53
  ]);
49
- component.registerRoute(section.route);
54
+ component.registerRoute([section.route]);
50
55
  component.registerWidget(section.navigationLink, section.order);
56
+ const codeCompare = new CodeCompareSection(fileIconSlot);
57
+ componentCompare.registerNavigation({
58
+ props: codeCompare.navigationLink,
59
+ order: codeCompare.navigationLink.order,
60
+ });
61
+ componentCompare.registerRoutes([codeCompare.route]);
51
62
  return ui;
52
63
  }
53
64
  }
@@ -0,0 +1,16 @@
1
+ /// <reference types="react" />
2
+ import { FileIconSlot } from '@teambit/code';
3
+ import { Section } from '@teambit/component';
4
+ export declare class CodeCompareSection implements Section {
5
+ private fileIconSlot;
6
+ constructor(fileIconSlot: FileIconSlot);
7
+ navigationLink: {
8
+ href: string;
9
+ children: string;
10
+ order: number;
11
+ };
12
+ route: {
13
+ path: string;
14
+ element: JSX.Element;
15
+ };
16
+ }
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.CodeCompareSection = void 0;
9
+
10
+ function _defineProperty2() {
11
+ const data = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
12
+
13
+ _defineProperty2 = function () {
14
+ return data;
15
+ };
16
+
17
+ return data;
18
+ }
19
+
20
+ function _react() {
21
+ const data = _interopRequireDefault(require("react"));
22
+
23
+ _react = function () {
24
+ return data;
25
+ };
26
+
27
+ return data;
28
+ }
29
+
30
+ function _codeUi() {
31
+ const data = require("@teambit/code.ui.code-compare");
32
+
33
+ _codeUi = function () {
34
+ return data;
35
+ };
36
+
37
+ return data;
38
+ }
39
+
40
+ class CodeCompareSection {
41
+ constructor(fileIconSlot) {
42
+ this.fileIconSlot = fileIconSlot;
43
+ (0, _defineProperty2().default)(this, "navigationLink", {
44
+ href: 'code',
45
+ children: 'Code',
46
+ order: 2
47
+ });
48
+ (0, _defineProperty2().default)(this, "route", {
49
+ path: 'code/*',
50
+ element: /*#__PURE__*/_react().default.createElement(_codeUi().CodeCompare, {
51
+ fileIconSlot: this.fileIconSlot
52
+ })
53
+ });
54
+ }
55
+
56
+ }
57
+
58
+ exports.CodeCompareSection = CodeCompareSection;
59
+
60
+ //# sourceMappingURL=code.compare.section.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["CodeCompareSection","constructor","fileIconSlot","href","children","order","path","element"],"sources":["code.compare.section.tsx"],"sourcesContent":["import React from 'react';\nimport { FileIconSlot } from '@teambit/code';\nimport { Section } from '@teambit/component';\nimport { CodeCompare } from '@teambit/code.ui.code-compare';\n\nexport class CodeCompareSection implements Section {\n constructor(private fileIconSlot: FileIconSlot) {}\n\n navigationLink = {\n href: 'code',\n children: 'Code',\n order: 2,\n };\n\n route = {\n path: 'code/*',\n element: <CodeCompare fileIconSlot={this.fileIconSlot} />,\n };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAGA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAEO,MAAMA,kBAAN,CAA4C;EACjDC,WAAW,CAASC,YAAT,EAAqC;IAAA,KAA5BA,YAA4B,GAA5BA,YAA4B;IAAA,wDAE/B;MACfC,IAAI,EAAE,MADS;MAEfC,QAAQ,EAAE,MAFK;MAGfC,KAAK,EAAE;IAHQ,CAF+B;IAAA,+CAQxC;MACNC,IAAI,EAAE,QADA;MAENC,OAAO,eAAE,+BAAC,qBAAD;QAAa,YAAY,EAAE,KAAKL;MAAhC;IAFH,CARwC;EAAE;;AADD"}
@@ -2,6 +2,7 @@
2
2
  import { ComponentUI } from '@teambit/component';
3
3
  import { SlotRegistry } from '@teambit/harmony';
4
4
  import type { FileIconMatch } from '@teambit/code.ui.utils.get-file-icon';
5
+ import { ComponentCompareUI } from '@teambit/component-compare';
5
6
  export declare type FileIconSlot = SlotRegistry<FileIconMatch[]>;
6
7
  /**
7
8
  * Component code tab aspect. Presents the code tab page and allows to control the code tab and register specific icons for each file type.
@@ -22,5 +23,5 @@ export declare class CodeUI {
22
23
  static dependencies: import("@teambit/harmony").Aspect[];
23
24
  static runtime: import("@teambit/harmony").RuntimeDefinition;
24
25
  static slots: ((registerFn: () => string) => SlotRegistry<string>)[];
25
- static provider([component]: [ComponentUI], config: any, [fileIconSlot]: [FileIconSlot]): Promise<CodeUI>;
26
+ static provider([component, componentCompare]: [ComponentUI, ComponentCompareUI], config: any, [fileIconSlot]: [FileIconSlot]): Promise<CodeUI>;
26
27
  }
@@ -81,6 +81,16 @@ function _codeUi() {
81
81
  return data;
82
82
  }
83
83
 
84
+ function _componentCompare() {
85
+ const data = require("@teambit/component-compare");
86
+
87
+ _componentCompare = function () {
88
+ return data;
89
+ };
90
+
91
+ return data;
92
+ }
93
+
84
94
  function _code() {
85
95
  const data = require("./code.aspect");
86
96
 
@@ -101,6 +111,16 @@ function _code2() {
101
111
  return data;
102
112
  }
103
113
 
114
+ function _codeCompare() {
115
+ const data = require("./code.compare.section");
116
+
117
+ _codeCompare = function () {
118
+ return data;
119
+ };
120
+
121
+ return data;
122
+ }
123
+
104
124
  const isTsx = /\.tsx$/;
105
125
 
106
126
  /**
@@ -128,20 +148,26 @@ class CodeUI {
128
148
  return this;
129
149
  }
130
150
 
131
- static async provider([component], config, [fileIconSlot]) {
151
+ static async provider([component, componentCompare], config, [fileIconSlot]) {
132
152
  const ui = new CodeUI(fileIconSlot);
133
153
  const section = new (_code2().CodeSection)(ui); // overrides the default tsx react icon with the typescript icon
134
154
 
135
155
  ui.registerEnvFileIcon([fileName => isTsx.test(fileName) ? `${_baseUiConstants().staticStorageUrl}/file-icons/file_type_typescript.svg` : undefined]);
136
- component.registerRoute(section.route);
156
+ component.registerRoute([section.route]);
137
157
  component.registerWidget(section.navigationLink, section.order);
158
+ const codeCompare = new (_codeCompare().CodeCompareSection)(fileIconSlot);
159
+ componentCompare.registerNavigation({
160
+ props: codeCompare.navigationLink,
161
+ order: codeCompare.navigationLink.order
162
+ });
163
+ componentCompare.registerRoutes([codeCompare.route]);
138
164
  return ui;
139
165
  }
140
166
 
141
167
  }
142
168
 
143
169
  exports.CodeUI = CodeUI;
144
- (0, _defineProperty2().default)(CodeUI, "dependencies", [_component().ComponentAspect]);
170
+ (0, _defineProperty2().default)(CodeUI, "dependencies", [_component().ComponentAspect, _componentCompare().ComponentCompareAspect]);
145
171
  (0, _defineProperty2().default)(CodeUI, "runtime", _ui().UIRuntime);
146
172
  (0, _defineProperty2().default)(CodeUI, "slots", [_harmony().Slot.withType()]);
147
173
 
@@ -1 +1 @@
1
- {"version":3,"names":["isTsx","CodeUI","constructor","fileIconSlot","registerEnvFileIcon","icons","register","provider","component","config","ui","section","CodeSection","fileName","test","staticStorageUrl","undefined","registerRoute","route","registerWidget","navigationLink","order","ComponentAspect","UIRuntime","Slot","withType","CodeAspect","addRuntime"],"sources":["code.ui.runtime.tsx"],"sourcesContent":["import { ComponentAspect, ComponentUI } from '@teambit/component';\nimport { UIRuntime } from '@teambit/ui';\nimport React from 'react';\nimport { SlotRegistry, Slot } from '@teambit/harmony';\nimport type { FileIconMatch } from '@teambit/code.ui.utils.get-file-icon';\nimport { staticStorageUrl } from '@teambit/base-ui.constants.storage';\nimport { CodePage } from '@teambit/code.ui.code-tab-page';\nimport { CodeAspect } from './code.aspect';\nimport { CodeSection } from './code.section';\n\nconst isTsx = /\\.tsx$/;\n\nexport type FileIconSlot = SlotRegistry<FileIconMatch[]>;\n\n/**\n * Component code tab aspect. Presents the code tab page and allows to control the code tab and register specific icons for each file type.\n * @example CodeUI.registerEnvFileIcon([(fileName) => (/your-regexp/.test(fileName) ? 'your.icon.url' : undefined)])\n */\nexport class CodeUI {\n constructor(\n /**\n * register an icon for a specific file type. pass icon and a match method/regexp\n */\n private fileIconSlot?: FileIconSlot\n ) {}\n\n getCodePage = () => {\n return <CodePage fileIconSlot={this.fileIconSlot} />;\n };\n \n registerEnvFileIcon(icons: FileIconMatch[]) {\n this.fileIconSlot?.register(icons);\n return this;\n }\n static dependencies = [ComponentAspect];\n\n static runtime = UIRuntime;\n\n static slots = [Slot.withType<string>()];\n\n static async provider([component]: [ComponentUI], config, [fileIconSlot]: [FileIconSlot]) {\n const ui = new CodeUI(fileIconSlot);\n const section = new CodeSection(ui);\n\n // overrides the default tsx react icon with the typescript icon\n ui.registerEnvFileIcon([\n (fileName) => (isTsx.test(fileName) ? `${staticStorageUrl}/file-icons/file_type_typescript.svg` : undefined),\n ]);\n component.registerRoute(section.route);\n component.registerWidget(section.navigationLink, section.order);\n return ui;\n }\n}\n\nCodeAspect.addRuntime(CodeUI);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AACA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AACA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AACA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAEA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AACA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AACA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AACA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAEA,MAAMA,KAAK,GAAG,QAAd;;AAIA;AACA;AACA;AACA;AACO,MAAMC,MAAN,CAAa;EAClBC,WAAW;EACT;AACJ;AACA;EACYC,YAJC,EAKT;IAAA,KADQA,YACR,GADQA,YACR;IAAA,qDAEY,MAAM;MAClB,oBAAO,+BAAC,kBAAD;QAAU,YAAY,EAAE,KAAKA;MAA7B,EAAP;IACD,CAJC;EAAE;;EAMJC,mBAAmB,CAACC,KAAD,EAAyB;IAAA;;IAC1C,2BAAKF,YAAL,0EAAmBG,QAAnB,CAA4BD,KAA5B;IACA,OAAO,IAAP;EACD;;EAOoB,aAARE,QAAQ,CAAC,CAACC,SAAD,CAAD,EAA6BC,MAA7B,EAAqC,CAACN,YAAD,CAArC,EAAqE;IACxF,MAAMO,EAAE,GAAG,IAAIT,MAAJ,CAAWE,YAAX,CAAX;IACA,MAAMQ,OAAO,GAAG,KAAIC,oBAAJ,EAAgBF,EAAhB,CAAhB,CAFwF,CAIxF;;IACAA,EAAE,CAACN,mBAAH,CAAuB,CACpBS,QAAD,IAAeb,KAAK,CAACc,IAAN,CAAWD,QAAX,IAAwB,GAAEE,mCAAiB,sCAA3C,GAAmFC,SAD7E,CAAvB;IAGAR,SAAS,CAACS,aAAV,CAAwBN,OAAO,CAACO,KAAhC;IACAV,SAAS,CAACW,cAAV,CAAyBR,OAAO,CAACS,cAAjC,EAAiDT,OAAO,CAACU,KAAzD;IACA,OAAOX,EAAP;EACD;;AAjCiB;;;gCAAPT,M,kBAgBW,CAACqB,4BAAD,C;gCAhBXrB,M,aAkBMsB,e;gCAlBNtB,M,WAoBI,CAACuB,eAAA,CAAKC,QAAL,EAAD,C;;AAgBjBC,kBAAA,CAAWC,UAAX,CAAsB1B,MAAtB"}
1
+ {"version":3,"names":["isTsx","CodeUI","constructor","fileIconSlot","registerEnvFileIcon","icons","register","provider","component","componentCompare","config","ui","section","CodeSection","fileName","test","staticStorageUrl","undefined","registerRoute","route","registerWidget","navigationLink","order","codeCompare","CodeCompareSection","registerNavigation","props","registerRoutes","ComponentAspect","ComponentCompareAspect","UIRuntime","Slot","withType","CodeAspect","addRuntime"],"sources":["code.ui.runtime.tsx"],"sourcesContent":["import { ComponentAspect, ComponentUI } from '@teambit/component';\nimport { UIRuntime } from '@teambit/ui';\nimport React from 'react';\nimport { SlotRegistry, Slot } from '@teambit/harmony';\nimport type { FileIconMatch } from '@teambit/code.ui.utils.get-file-icon';\nimport { staticStorageUrl } from '@teambit/base-ui.constants.storage';\nimport { CodePage } from '@teambit/code.ui.code-tab-page';\nimport { ComponentCompareUI, ComponentCompareAspect } from '@teambit/component-compare';\nimport { CodeAspect } from './code.aspect';\nimport { CodeSection } from './code.section';\nimport { CodeCompareSection } from './code.compare.section';\n\nconst isTsx = /\\.tsx$/;\n\nexport type FileIconSlot = SlotRegistry<FileIconMatch[]>;\n\n/**\n * Component code tab aspect. Presents the code tab page and allows to control the code tab and register specific icons for each file type.\n * @example CodeUI.registerEnvFileIcon([(fileName) => (/your-regexp/.test(fileName) ? 'your.icon.url' : undefined)])\n */\nexport class CodeUI {\n constructor(\n /**\n * register an icon for a specific file type. pass icon and a match method/regexp\n */\n private fileIconSlot?: FileIconSlot\n ) {}\n\n getCodePage = () => {\n return <CodePage fileIconSlot={this.fileIconSlot} />;\n };\n\n registerEnvFileIcon(icons: FileIconMatch[]) {\n this.fileIconSlot?.register(icons);\n return this;\n }\n static dependencies = [ComponentAspect, ComponentCompareAspect];\n\n static runtime = UIRuntime;\n\n static slots = [Slot.withType<string>()];\n\n static async provider(\n [component, componentCompare]: [ComponentUI, ComponentCompareUI],\n config,\n [fileIconSlot]: [FileIconSlot]\n ) {\n const ui = new CodeUI(fileIconSlot);\n const section = new CodeSection(ui);\n // overrides the default tsx react icon with the typescript icon\n ui.registerEnvFileIcon([\n (fileName) => (isTsx.test(fileName) ? `${staticStorageUrl}/file-icons/file_type_typescript.svg` : undefined),\n ]);\n component.registerRoute([section.route]);\n component.registerWidget(section.navigationLink, section.order);\n const codeCompare = new CodeCompareSection(fileIconSlot);\n componentCompare.registerNavigation({\n props: codeCompare.navigationLink,\n order: codeCompare.navigationLink.order,\n });\n componentCompare.registerRoutes([codeCompare.route]);\n return ui;\n }\n}\n\nCodeAspect.addRuntime(CodeUI);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AACA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AACA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AACA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAEA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AACA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AACA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AACA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AACA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AACA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAEA,MAAMA,KAAK,GAAG,QAAd;;AAIA;AACA;AACA;AACA;AACO,MAAMC,MAAN,CAAa;EAClBC,WAAW;EACT;AACJ;AACA;EACYC,YAJC,EAKT;IAAA,KADQA,YACR,GADQA,YACR;IAAA,qDAEY,MAAM;MAClB,oBAAO,+BAAC,kBAAD;QAAU,YAAY,EAAE,KAAKA;MAA7B,EAAP;IACD,CAJC;EAAE;;EAMJC,mBAAmB,CAACC,KAAD,EAAyB;IAAA;;IAC1C,2BAAKF,YAAL,0EAAmBG,QAAnB,CAA4BD,KAA5B;IACA,OAAO,IAAP;EACD;;EAOoB,aAARE,QAAQ,CACnB,CAACC,SAAD,EAAYC,gBAAZ,CADmB,EAEnBC,MAFmB,EAGnB,CAACP,YAAD,CAHmB,EAInB;IACA,MAAMQ,EAAE,GAAG,IAAIV,MAAJ,CAAWE,YAAX,CAAX;IACA,MAAMS,OAAO,GAAG,KAAIC,oBAAJ,EAAgBF,EAAhB,CAAhB,CAFA,CAGA;;IACAA,EAAE,CAACP,mBAAH,CAAuB,CACpBU,QAAD,IAAed,KAAK,CAACe,IAAN,CAAWD,QAAX,IAAwB,GAAEE,mCAAiB,sCAA3C,GAAmFC,SAD7E,CAAvB;IAGAT,SAAS,CAACU,aAAV,CAAwB,CAACN,OAAO,CAACO,KAAT,CAAxB;IACAX,SAAS,CAACY,cAAV,CAAyBR,OAAO,CAACS,cAAjC,EAAiDT,OAAO,CAACU,KAAzD;IACA,MAAMC,WAAW,GAAG,KAAIC,iCAAJ,EAAuBrB,YAAvB,CAApB;IACAM,gBAAgB,CAACgB,kBAAjB,CAAoC;MAClCC,KAAK,EAAEH,WAAW,CAACF,cADe;MAElCC,KAAK,EAAEC,WAAW,CAACF,cAAZ,CAA2BC;IAFA,CAApC;IAIAb,gBAAgB,CAACkB,cAAjB,CAAgC,CAACJ,WAAW,CAACJ,KAAb,CAAhC;IACA,OAAOR,EAAP;EACD;;AA1CiB;;;gCAAPV,M,kBAgBW,CAAC2B,4BAAD,EAAkBC,0CAAlB,C;gCAhBX5B,M,aAkBM6B,e;gCAlBN7B,M,WAoBI,CAAC8B,eAAA,CAAKC,QAAL,EAAD,C;;AAyBjBC,kBAAA,CAAWC,UAAX,CAAsBjC,MAAtB"}
package/package.json CHANGED
@@ -1,23 +1,25 @@
1
1
  {
2
2
  "name": "@teambit/code",
3
- "version": "0.0.750",
3
+ "version": "0.0.753",
4
4
  "homepage": "https://bit.dev/teambit/component/code",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.component",
8
8
  "name": "code",
9
- "version": "0.0.750"
9
+ "version": "0.0.753"
10
10
  },
11
11
  "dependencies": {
12
12
  "@babel/runtime": "7.12.18",
13
13
  "core-js": "^3.0.0",
14
14
  "@teambit/harmony": "0.3.3",
15
15
  "@teambit/base-ui.constants.storage": "1.0.0",
16
- "@teambit/component": "0.0.750",
16
+ "@teambit/code.ui.code-compare": "0.0.1",
17
+ "@teambit/component": "0.0.753",
17
18
  "@teambit/ui-foundation.ui.menu-widget-icon": "0.0.488",
18
- "@teambit/code.ui.code-tab-page": "0.0.567",
19
+ "@teambit/code.ui.code-tab-page": "0.0.568",
19
20
  "@teambit/code.ui.utils.get-file-icon": "0.0.486",
20
- "@teambit/ui": "0.0.750"
21
+ "@teambit/component-compare": "0.0.1",
22
+ "@teambit/ui": "0.0.753"
21
23
  },
22
24
  "devDependencies": {
23
25
  "@types/react": "^17.0.8",
@@ -28,7 +30,7 @@
28
30
  "@types/node": "12.20.4"
29
31
  },
30
32
  "peerDependencies": {
31
- "@teambit/legacy": "1.0.275",
33
+ "@teambit/legacy": "1.0.277",
32
34
  "react-dom": "^16.8.0 || ^17.0.0",
33
35
  "react": "^16.8.0 || ^17.0.0"
34
36
  },
@@ -56,7 +58,7 @@
56
58
  "react": "-"
57
59
  },
58
60
  "peerDependencies": {
59
- "@teambit/legacy": "1.0.275",
61
+ "@teambit/legacy": "1.0.277",
60
62
  "react-dom": "^16.8.0 || ^17.0.0",
61
63
  "react": "^16.8.0 || ^17.0.0"
62
64
  }
@@ -1,2 +1,2 @@
1
- export const compositions = [require('/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_code@0.0.750/dist/code.composition.js')]
2
- export const overview = [require('/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_code@0.0.750/dist/code.docs.mdx')]
1
+ export const compositions = [require('/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_code@0.0.753/dist/code.composition.js')]
2
+ export const overview = [require('/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_code@0.0.753/dist/code.docs.mdx')]