@teambit/docs 0.0.927 → 0.0.928
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/dist/docs.ui.runtime.d.ts +2 -0
- package/dist/docs.ui.runtime.js +27 -8
- package/dist/docs.ui.runtime.js.map +1 -1
- package/dist/{preview-1670414621516.js → preview-1670470092710.js} +2 -2
- package/docs.ui.runtime.tsx +8 -3
- package/package-tar/teambit-docs-0.0.928.tgz +0 -0
- package/package.json +19 -18
- package/dist/docs.compare.section.d.ts +0 -17
- package/dist/docs.compare.section.js +0 -48
- package/dist/docs.compare.section.js.map +0 -1
- package/docs.compare.section.tsx +0 -20
- package/package-tar/teambit-docs-0.0.927.tgz +0 -0
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { ComponentUI } from '@teambit/component';
|
|
2
3
|
import { ComponentCompareUI } from '@teambit/component-compare';
|
|
3
4
|
import type { TitleBadgeSlot, TitleBadge } from './overview';
|
|
@@ -12,6 +13,7 @@ export declare class DocsUI {
|
|
|
12
13
|
* list all title badges registered.
|
|
13
14
|
*/
|
|
14
15
|
listTitleBadges(): TitleBadge[];
|
|
16
|
+
getDocsCompare(): JSX.Element;
|
|
15
17
|
static dependencies: import("@teambit/harmony").Aspect[];
|
|
16
18
|
static runtime: import("@teambit/harmony").RuntimeDefinition;
|
|
17
19
|
static slots: ((registerFn: () => string) => import("@teambit/harmony").SlotRegistry<TitleBadge>)[];
|
package/dist/docs.ui.runtime.js
CHANGED
|
@@ -14,6 +14,13 @@ function _defineProperty2() {
|
|
|
14
14
|
};
|
|
15
15
|
return data;
|
|
16
16
|
}
|
|
17
|
+
function _react() {
|
|
18
|
+
const data = _interopRequireDefault(require("react"));
|
|
19
|
+
_react = function () {
|
|
20
|
+
return data;
|
|
21
|
+
};
|
|
22
|
+
return data;
|
|
23
|
+
}
|
|
17
24
|
function _lodash() {
|
|
18
25
|
const data = require("lodash");
|
|
19
26
|
_lodash = function () {
|
|
@@ -49,6 +56,20 @@ function _componentCompare() {
|
|
|
49
56
|
};
|
|
50
57
|
return data;
|
|
51
58
|
}
|
|
59
|
+
function _docsUi() {
|
|
60
|
+
const data = require("@teambit/docs.ui.overview-compare");
|
|
61
|
+
_docsUi = function () {
|
|
62
|
+
return data;
|
|
63
|
+
};
|
|
64
|
+
return data;
|
|
65
|
+
}
|
|
66
|
+
function _docsUi2() {
|
|
67
|
+
const data = require("@teambit/docs.ui.overview-compare-section");
|
|
68
|
+
_docsUi2 = function () {
|
|
69
|
+
return data;
|
|
70
|
+
};
|
|
71
|
+
return data;
|
|
72
|
+
}
|
|
52
73
|
function _docs() {
|
|
53
74
|
const data = require("./docs.aspect");
|
|
54
75
|
_docs = function () {
|
|
@@ -63,13 +84,6 @@ function _overview() {
|
|
|
63
84
|
};
|
|
64
85
|
return data;
|
|
65
86
|
}
|
|
66
|
-
function _docsCompare() {
|
|
67
|
-
const data = require("./docs.compare.section");
|
|
68
|
-
_docsCompare = function () {
|
|
69
|
-
return data;
|
|
70
|
-
};
|
|
71
|
-
return data;
|
|
72
|
-
}
|
|
73
87
|
class DocsUI {
|
|
74
88
|
constructor(titleBadgeSlot) {
|
|
75
89
|
this.titleBadgeSlot = titleBadgeSlot;
|
|
@@ -90,10 +104,15 @@ class DocsUI {
|
|
|
90
104
|
listTitleBadges() {
|
|
91
105
|
return (0, _lodash().flatten)(this.titleBadgeSlot.values());
|
|
92
106
|
}
|
|
107
|
+
getDocsCompare() {
|
|
108
|
+
return /*#__PURE__*/_react().default.createElement(_docsUi().OverviewCompare, {
|
|
109
|
+
titleBadges: this.titleBadgeSlot
|
|
110
|
+
});
|
|
111
|
+
}
|
|
93
112
|
static async provider([component, componentCompare], config, [titleBadgeSlot]) {
|
|
94
113
|
const docs = new DocsUI(titleBadgeSlot);
|
|
95
114
|
const section = new (_overview().OverviewSection)(titleBadgeSlot);
|
|
96
|
-
const compareSection = new (
|
|
115
|
+
const compareSection = new (_docsUi2().OverviewCompareSection)(docs);
|
|
97
116
|
component.registerRoute(section.route);
|
|
98
117
|
component.registerNavigation(section.navigationLink, section.order);
|
|
99
118
|
componentCompare.registerNavigation({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["DocsUI","constructor","titleBadgeSlot","registerTitleBadge","titleBadges","badges","Array","isArray","register","listTitleBadges","flatten","values","provider","component","componentCompare","config","docs","section","OverviewSection","compareSection","OverviewCompareSection","registerRoute","route","registerNavigation","navigationLink","order","props","registerRoutes","ComponentAspect","ComponentCompareAspect","UIRuntime","Slot","withType","DocsAspect","addRuntime"],"sources":["docs.ui.runtime.tsx"],"sourcesContent":["import { flatten } from 'lodash';\nimport { ComponentAspect, ComponentUI } from '@teambit/component';\nimport { Slot } from '@teambit/harmony';\nimport { UIRuntime } from '@teambit/ui';\nimport ComponentCompareAspect, { ComponentCompareUI } from '@teambit/component-compare';\
|
|
1
|
+
{"version":3,"names":["DocsUI","constructor","titleBadgeSlot","registerTitleBadge","titleBadges","badges","Array","isArray","register","listTitleBadges","flatten","values","getDocsCompare","provider","component","componentCompare","config","docs","section","OverviewSection","compareSection","OverviewCompareSection","registerRoute","route","registerNavigation","navigationLink","order","props","registerRoutes","ComponentAspect","ComponentCompareAspect","UIRuntime","Slot","withType","DocsAspect","addRuntime"],"sources":["docs.ui.runtime.tsx"],"sourcesContent":["import React from 'react';\nimport { flatten } from 'lodash';\nimport { ComponentAspect, ComponentUI } from '@teambit/component';\nimport { Slot } from '@teambit/harmony';\nimport { UIRuntime } from '@teambit/ui';\nimport ComponentCompareAspect, { ComponentCompareUI } from '@teambit/component-compare';\nimport { OverviewCompare } from '@teambit/docs.ui.overview-compare';\nimport { OverviewCompareSection } from '@teambit/docs.ui.overview-compare-section';\nimport { DocsAspect } from './docs.aspect';\nimport { OverviewSection } from './overview.section';\nimport type { TitleBadgeSlot, TitleBadge } from './overview';\n\nexport class DocsUI {\n constructor(readonly titleBadgeSlot: TitleBadgeSlot) {}\n\n /**\n * register a new title badge into the overview section of a component.\n */\n registerTitleBadge(titleBadges: TitleBadge | TitleBadge[]) {\n const badges = Array.isArray(titleBadges) ? titleBadges : [titleBadges];\n this.titleBadgeSlot.register(badges);\n return this;\n }\n\n /**\n * list all title badges registered.\n */\n listTitleBadges() {\n return flatten(this.titleBadgeSlot.values());\n }\n\n getDocsCompare() {\n return <OverviewCompare titleBadges={this.titleBadgeSlot} />;\n }\n\n static dependencies = [ComponentAspect, ComponentCompareAspect];\n\n static runtime = UIRuntime;\n\n static slots = [Slot.withType<TitleBadge>()];\n\n static async provider(\n [component, componentCompare]: [ComponentUI, ComponentCompareUI],\n config,\n [titleBadgeSlot]: [TitleBadgeSlot]\n ) {\n const docs = new DocsUI(titleBadgeSlot);\n const section = new OverviewSection(titleBadgeSlot);\n const compareSection = new OverviewCompareSection(docs);\n\n component.registerRoute(section.route);\n component.registerNavigation(section.navigationLink, section.order);\n componentCompare.registerNavigation({\n props: compareSection.navigationLink,\n order: compareSection.navigationLink.order,\n });\n componentCompare.registerRoutes([compareSection.route]);\n return docs;\n }\n}\n\nexport default DocsUI;\n\nDocsAspect.addRuntime(DocsUI);\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;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;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAGO,MAAMA,MAAM,CAAC;EAClBC,WAAW,CAAUC,cAA8B,EAAE;IAAA,KAAhCA,cAA8B,GAA9BA,cAA8B;EAAG;;EAEtD;AACF;AACA;EACEC,kBAAkB,CAACC,WAAsC,EAAE;IACzD,MAAMC,MAAM,GAAGC,KAAK,CAACC,OAAO,CAACH,WAAW,CAAC,GAAGA,WAAW,GAAG,CAACA,WAAW,CAAC;IACvE,IAAI,CAACF,cAAc,CAACM,QAAQ,CAACH,MAAM,CAAC;IACpC,OAAO,IAAI;EACb;;EAEA;AACF;AACA;EACEI,eAAe,GAAG;IAChB,OAAO,IAAAC,iBAAO,EAAC,IAAI,CAACR,cAAc,CAACS,MAAM,EAAE,CAAC;EAC9C;EAEAC,cAAc,GAAG;IACf,oBAAO,+BAAC,yBAAe;MAAC,WAAW,EAAE,IAAI,CAACV;IAAe,EAAG;EAC9D;EAQA,aAAaW,QAAQ,CACnB,CAACC,SAAS,EAAEC,gBAAgB,CAAoC,EAChEC,MAAM,EACN,CAACd,cAAc,CAAmB,EAClC;IACA,MAAMe,IAAI,GAAG,IAAIjB,MAAM,CAACE,cAAc,CAAC;IACvC,MAAMgB,OAAO,GAAG,KAAIC,2BAAe,EAACjB,cAAc,CAAC;IACnD,MAAMkB,cAAc,GAAG,KAAIC,iCAAsB,EAACJ,IAAI,CAAC;IAEvDH,SAAS,CAACQ,aAAa,CAACJ,OAAO,CAACK,KAAK,CAAC;IACtCT,SAAS,CAACU,kBAAkB,CAACN,OAAO,CAACO,cAAc,EAAEP,OAAO,CAACQ,KAAK,CAAC;IACnEX,gBAAgB,CAACS,kBAAkB,CAAC;MAClCG,KAAK,EAAEP,cAAc,CAACK,cAAc;MACpCC,KAAK,EAAEN,cAAc,CAACK,cAAc,CAACC;IACvC,CAAC,CAAC;IACFX,gBAAgB,CAACa,cAAc,CAAC,CAACR,cAAc,CAACG,KAAK,CAAC,CAAC;IACvD,OAAON,IAAI;EACb;AACF;AAAC;AAAA,gCA/CYjB,MAAM,kBAuBK,CAAC6B,4BAAe,EAAEC,2BAAsB,CAAC;AAAA,gCAvBpD9B,MAAM,aAyBA+B,eAAS;AAAA,gCAzBf/B,MAAM,WA2BF,CAACgC,eAAI,CAACC,QAAQ,EAAc,CAAC;AAAA,eAsB/BjC,MAAM;AAAA;AAErBkC,kBAAU,CAACC,UAAU,CAACnC,MAAM,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.docs_docs@0.0.
|
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.docs_docs@0.0.
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.docs_docs@0.0.928/dist/docs.composition.js';
|
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.docs_docs@0.0.928/dist/docs.docs.mdx';
|
|
3
3
|
|
|
4
4
|
export const compositions = [compositions_0];
|
|
5
5
|
export const overview = [overview_0];
|
package/docs.ui.runtime.tsx
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { flatten } from 'lodash';
|
|
2
3
|
import { ComponentAspect, ComponentUI } from '@teambit/component';
|
|
3
4
|
import { Slot } from '@teambit/harmony';
|
|
4
5
|
import { UIRuntime } from '@teambit/ui';
|
|
5
6
|
import ComponentCompareAspect, { ComponentCompareUI } from '@teambit/component-compare';
|
|
6
|
-
|
|
7
|
+
import { OverviewCompare } from '@teambit/docs.ui.overview-compare';
|
|
8
|
+
import { OverviewCompareSection } from '@teambit/docs.ui.overview-compare-section';
|
|
7
9
|
import { DocsAspect } from './docs.aspect';
|
|
8
10
|
import { OverviewSection } from './overview.section';
|
|
9
11
|
import type { TitleBadgeSlot, TitleBadge } from './overview';
|
|
10
|
-
import { OverviewCompareSection } from './docs.compare.section';
|
|
11
12
|
|
|
12
13
|
export class DocsUI {
|
|
13
14
|
constructor(readonly titleBadgeSlot: TitleBadgeSlot) {}
|
|
@@ -28,6 +29,10 @@ export class DocsUI {
|
|
|
28
29
|
return flatten(this.titleBadgeSlot.values());
|
|
29
30
|
}
|
|
30
31
|
|
|
32
|
+
getDocsCompare() {
|
|
33
|
+
return <OverviewCompare titleBadges={this.titleBadgeSlot} />;
|
|
34
|
+
}
|
|
35
|
+
|
|
31
36
|
static dependencies = [ComponentAspect, ComponentCompareAspect];
|
|
32
37
|
|
|
33
38
|
static runtime = UIRuntime;
|
|
@@ -41,7 +46,7 @@ export class DocsUI {
|
|
|
41
46
|
) {
|
|
42
47
|
const docs = new DocsUI(titleBadgeSlot);
|
|
43
48
|
const section = new OverviewSection(titleBadgeSlot);
|
|
44
|
-
const compareSection = new OverviewCompareSection(
|
|
49
|
+
const compareSection = new OverviewCompareSection(docs);
|
|
45
50
|
|
|
46
51
|
component.registerRoute(section.route);
|
|
47
52
|
component.registerNavigation(section.navigationLink, section.order);
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/docs",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.928",
|
|
4
4
|
"homepage": "https://bit.dev/teambit/docs/docs",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.docs",
|
|
8
8
|
"name": "docs",
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.928"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"graphql-tag": "2.12.1",
|
|
@@ -15,23 +15,24 @@
|
|
|
15
15
|
"@babel/runtime": "7.20.0",
|
|
16
16
|
"core-js": "^3.0.0",
|
|
17
17
|
"@teambit/harmony": "0.3.3",
|
|
18
|
-
"@teambit/compiler": "0.0.
|
|
19
|
-
"@teambit/component": "0.0.
|
|
18
|
+
"@teambit/compiler": "0.0.928",
|
|
19
|
+
"@teambit/component": "0.0.928",
|
|
20
20
|
"@teambit/docs.entities.doc": "0.0.12",
|
|
21
|
-
"@teambit/pkg": "0.0.
|
|
22
|
-
"@teambit/workspace": "0.0.
|
|
23
|
-
"@teambit/
|
|
24
|
-
"@teambit/
|
|
25
|
-
"@teambit/
|
|
26
|
-
"@teambit/
|
|
27
|
-
"@teambit/
|
|
28
|
-
"@teambit/
|
|
29
|
-
"@teambit/preview": "0.0.927",
|
|
21
|
+
"@teambit/pkg": "0.0.928",
|
|
22
|
+
"@teambit/workspace": "0.0.928",
|
|
23
|
+
"@teambit/cli": "0.0.621",
|
|
24
|
+
"@teambit/dev-files": "0.0.928",
|
|
25
|
+
"@teambit/envs": "0.0.928",
|
|
26
|
+
"@teambit/graphql": "0.0.928",
|
|
27
|
+
"@teambit/logger": "0.0.714",
|
|
28
|
+
"@teambit/preview": "0.0.928",
|
|
30
29
|
"@teambit/component-id": "0.0.425",
|
|
31
|
-
"@teambit/component-compare": "0.0.
|
|
32
|
-
"@teambit/ui": "0.0.
|
|
33
|
-
"@teambit/
|
|
34
|
-
"@teambit/
|
|
30
|
+
"@teambit/component-compare": "0.0.176",
|
|
31
|
+
"@teambit/docs.ui.overview-compare-section": "0.0.1",
|
|
32
|
+
"@teambit/docs.ui.overview-compare": "0.0.139",
|
|
33
|
+
"@teambit/ui": "0.0.928",
|
|
34
|
+
"@teambit/pubsub": "0.0.928",
|
|
35
|
+
"@teambit/component.ui.component-meta": "0.0.189",
|
|
35
36
|
"@teambit/design.ui.surfaces.status-message-card": "0.0.17",
|
|
36
37
|
"@teambit/preview.ui.component-preview": "0.0.508"
|
|
37
38
|
},
|
|
@@ -47,7 +48,7 @@
|
|
|
47
48
|
"@teambit/docs.content.docs-overview": "1.95.9"
|
|
48
49
|
},
|
|
49
50
|
"peerDependencies": {
|
|
50
|
-
"@teambit/legacy": "1.0.
|
|
51
|
+
"@teambit/legacy": "1.0.402",
|
|
51
52
|
"react-dom": "^16.8.0 || ^17.0.0",
|
|
52
53
|
"react": "^16.8.0 || ^17.0.0"
|
|
53
54
|
},
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Section } from '@teambit/component';
|
|
3
|
-
import { TitleBadgeSlot } from './overview';
|
|
4
|
-
export declare class OverviewCompareSection implements Section {
|
|
5
|
-
private titleBadgeSlot;
|
|
6
|
-
constructor(titleBadgeSlot: TitleBadgeSlot);
|
|
7
|
-
navigationLink: {
|
|
8
|
-
href: string;
|
|
9
|
-
children: string;
|
|
10
|
-
exact: boolean;
|
|
11
|
-
order: number;
|
|
12
|
-
};
|
|
13
|
-
route: {
|
|
14
|
-
path: string;
|
|
15
|
-
element: JSX.Element;
|
|
16
|
-
};
|
|
17
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.OverviewCompareSection = void 0;
|
|
8
|
-
function _defineProperty2() {
|
|
9
|
-
const data = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
10
|
-
_defineProperty2 = function () {
|
|
11
|
-
return data;
|
|
12
|
-
};
|
|
13
|
-
return data;
|
|
14
|
-
}
|
|
15
|
-
function _react() {
|
|
16
|
-
const data = _interopRequireDefault(require("react"));
|
|
17
|
-
_react = function () {
|
|
18
|
-
return data;
|
|
19
|
-
};
|
|
20
|
-
return data;
|
|
21
|
-
}
|
|
22
|
-
function _docsUi() {
|
|
23
|
-
const data = require("@teambit/docs.ui.overview-compare");
|
|
24
|
-
_docsUi = function () {
|
|
25
|
-
return data;
|
|
26
|
-
};
|
|
27
|
-
return data;
|
|
28
|
-
}
|
|
29
|
-
class OverviewCompareSection {
|
|
30
|
-
constructor(titleBadgeSlot) {
|
|
31
|
-
this.titleBadgeSlot = titleBadgeSlot;
|
|
32
|
-
(0, _defineProperty2().default)(this, "navigationLink", {
|
|
33
|
-
href: '.',
|
|
34
|
-
children: 'Overview',
|
|
35
|
-
exact: true,
|
|
36
|
-
order: 0
|
|
37
|
-
});
|
|
38
|
-
(0, _defineProperty2().default)(this, "route", {
|
|
39
|
-
path: '*',
|
|
40
|
-
element: /*#__PURE__*/_react().default.createElement(_docsUi().OverviewCompare, {
|
|
41
|
-
titleBadges: this.titleBadgeSlot
|
|
42
|
-
})
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
exports.OverviewCompareSection = OverviewCompareSection;
|
|
47
|
-
|
|
48
|
-
//# sourceMappingURL=docs.compare.section.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["OverviewCompareSection","constructor","titleBadgeSlot","href","children","exact","order","path","element"],"sources":["docs.compare.section.tsx"],"sourcesContent":["import React from 'react';\nimport { Section } from '@teambit/component';\nimport { OverviewCompare } from '@teambit/docs.ui.overview-compare';\nimport { TitleBadgeSlot } from './overview';\n\nexport class OverviewCompareSection implements Section {\n constructor(private titleBadgeSlot: TitleBadgeSlot) {}\n\n navigationLink = {\n href: '.',\n children: 'Overview',\n exact: true,\n order: 0,\n };\n\n route = {\n path: '*',\n element: <OverviewCompare titleBadges={this.titleBadgeSlot} />,\n };\n}\n"],"mappings":";;;;;;;;;;;;;;AAAA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAEA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAGO,MAAMA,sBAAsB,CAAoB;EACrDC,WAAW,CAASC,cAA8B,EAAE;IAAA,KAAhCA,cAA8B,GAA9BA,cAA8B;IAAA,wDAEjC;MACfC,IAAI,EAAE,GAAG;MACTC,QAAQ,EAAE,UAAU;MACpBC,KAAK,EAAE,IAAI;MACXC,KAAK,EAAE;IACT,CAAC;IAAA,+CAEO;MACNC,IAAI,EAAE,GAAG;MACTC,OAAO,eAAE,+BAAC,yBAAe;QAAC,WAAW,EAAE,IAAI,CAACN;MAAe;IAC7D,CAAC;EAZoD;AAavD;AAAC"}
|
package/docs.compare.section.tsx
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Section } from '@teambit/component';
|
|
3
|
-
import { OverviewCompare } from '@teambit/docs.ui.overview-compare';
|
|
4
|
-
import { TitleBadgeSlot } from './overview';
|
|
5
|
-
|
|
6
|
-
export class OverviewCompareSection implements Section {
|
|
7
|
-
constructor(private titleBadgeSlot: TitleBadgeSlot) {}
|
|
8
|
-
|
|
9
|
-
navigationLink = {
|
|
10
|
-
href: '.',
|
|
11
|
-
children: 'Overview',
|
|
12
|
-
exact: true,
|
|
13
|
-
order: 0,
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
route = {
|
|
17
|
-
path: '*',
|
|
18
|
-
element: <OverviewCompare titleBadges={this.titleBadgeSlot} />,
|
|
19
|
-
};
|
|
20
|
-
}
|
|
Binary file
|