@teambit/docs 0.0.752 → 0.0.755
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.compare.section.d.ts +17 -0
- package/dist/docs.compare.section.js +61 -0
- package/dist/docs.compare.section.js.map +1 -0
- package/dist/docs.ui.runtime.d.ts +2 -1
- package/dist/docs.ui.runtime.js +28 -2
- package/dist/docs.ui.runtime.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +16 -0
- package/dist/index.js.map +1 -1
- package/docs.compare.section.tsx +20 -0
- package/docs.ui.runtime.tsx +14 -3
- package/package-tar/teambit-docs-0.0.755.tgz +0 -0
- package/package.json +20 -18
- package/{preview-1654399579544.js → preview-1654697373869.js} +2 -2
- package/package-tar/teambit-docs-0.0.752.tgz +0 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { TitleBadgeSlot } from '@teambit/docs';
|
|
3
|
+
import { Section } from '@teambit/component';
|
|
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
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.OverviewCompareSection = 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 _docsUi() {
|
|
31
|
+
const data = require("@teambit/docs.ui.overview-compare");
|
|
32
|
+
|
|
33
|
+
_docsUi = function () {
|
|
34
|
+
return data;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
return data;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
class OverviewCompareSection {
|
|
41
|
+
constructor(titleBadgeSlot) {
|
|
42
|
+
this.titleBadgeSlot = titleBadgeSlot;
|
|
43
|
+
(0, _defineProperty2().default)(this, "navigationLink", {
|
|
44
|
+
href: '.',
|
|
45
|
+
children: 'Overview',
|
|
46
|
+
exact: true,
|
|
47
|
+
order: 0
|
|
48
|
+
});
|
|
49
|
+
(0, _defineProperty2().default)(this, "route", {
|
|
50
|
+
path: '*',
|
|
51
|
+
element: /*#__PURE__*/_react().default.createElement(_docsUi().OverviewCompare, {
|
|
52
|
+
titleBadges: this.titleBadgeSlot
|
|
53
|
+
})
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
exports.OverviewCompareSection = OverviewCompareSection;
|
|
60
|
+
|
|
61
|
+
//# sourceMappingURL=docs.compare.section.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["OverviewCompareSection","constructor","titleBadgeSlot","href","children","exact","order","path","element"],"sources":["docs.compare.section.tsx"],"sourcesContent":["import React from 'react';\nimport { TitleBadgeSlot } from '@teambit/docs';\nimport { Section } from '@teambit/component';\nimport { OverviewCompare } from '@teambit/docs.ui.overview-compare';\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;;AAGA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAEO,MAAMA,sBAAN,CAAgD;EACrDC,WAAW,CAASC,cAAT,EAAyC;IAAA,KAAhCA,cAAgC,GAAhCA,cAAgC;IAAA,wDAEnC;MACfC,IAAI,EAAE,GADS;MAEfC,QAAQ,EAAE,UAFK;MAGfC,KAAK,EAAE,IAHQ;MAIfC,KAAK,EAAE;IAJQ,CAFmC;IAAA,+CAS5C;MACNC,IAAI,EAAE,GADA;MAENC,OAAO,eAAE,+BAAC,yBAAD;QAAiB,WAAW,EAAE,KAAKN;MAAnC;IAFH,CAT4C;EAAE;;AADD"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ComponentUI } from '@teambit/component';
|
|
2
2
|
import type { TitleBadge } from '@teambit/component.ui.component-meta';
|
|
3
|
+
import { ComponentCompareUI } from '@teambit/component-compare';
|
|
3
4
|
import { TitleBadgeSlot } from './overview';
|
|
4
5
|
export declare class DocsUI {
|
|
5
6
|
readonly titleBadgeSlot: TitleBadgeSlot;
|
|
@@ -15,6 +16,6 @@ export declare class DocsUI {
|
|
|
15
16
|
static dependencies: import("@teambit/harmony").Aspect[];
|
|
16
17
|
static runtime: import("@teambit/harmony").RuntimeDefinition;
|
|
17
18
|
static slots: ((registerFn: () => string) => import("@teambit/harmony").SlotRegistry<TitleBadge>)[];
|
|
18
|
-
static provider([component]: [ComponentUI], config: any, [titleBadgeSlot]: [TitleBadgeSlot]): Promise<DocsUI>;
|
|
19
|
+
static provider([component, componentCompare]: [ComponentUI, ComponentCompareUI], config: any, [titleBadgeSlot]: [TitleBadgeSlot]): Promise<DocsUI>;
|
|
19
20
|
}
|
|
20
21
|
export default DocsUI;
|
package/dist/docs.ui.runtime.js
CHANGED
|
@@ -51,6 +51,16 @@ function _ui() {
|
|
|
51
51
|
return data;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
+
function _componentCompare() {
|
|
55
|
+
const data = _interopRequireDefault(require("@teambit/component-compare"));
|
|
56
|
+
|
|
57
|
+
_componentCompare = function () {
|
|
58
|
+
return data;
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
return data;
|
|
62
|
+
}
|
|
63
|
+
|
|
54
64
|
function _docs() {
|
|
55
65
|
const data = require("./docs.aspect");
|
|
56
66
|
|
|
@@ -71,6 +81,16 @@ function _overview() {
|
|
|
71
81
|
return data;
|
|
72
82
|
}
|
|
73
83
|
|
|
84
|
+
function _docsCompare() {
|
|
85
|
+
const data = require("./docs.compare.section");
|
|
86
|
+
|
|
87
|
+
_docsCompare = function () {
|
|
88
|
+
return data;
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
return data;
|
|
92
|
+
}
|
|
93
|
+
|
|
74
94
|
class DocsUI {
|
|
75
95
|
constructor(titleBadgeSlot) {
|
|
76
96
|
this.titleBadgeSlot = titleBadgeSlot;
|
|
@@ -93,18 +113,24 @@ class DocsUI {
|
|
|
93
113
|
return this.titleBadgeSlot;
|
|
94
114
|
}
|
|
95
115
|
|
|
96
|
-
static async provider([component], config, [titleBadgeSlot]) {
|
|
116
|
+
static async provider([component, componentCompare], config, [titleBadgeSlot]) {
|
|
97
117
|
const docs = new DocsUI(titleBadgeSlot);
|
|
98
118
|
const section = new (_overview().OverviewSection)(docs);
|
|
119
|
+
const compareSection = new (_docsCompare().OverviewCompareSection)(titleBadgeSlot);
|
|
99
120
|
component.registerRoute(section.route);
|
|
100
121
|
component.registerNavigation(section.navigationLink, section.order);
|
|
122
|
+
componentCompare.registerNavigation({
|
|
123
|
+
props: compareSection.navigationLink,
|
|
124
|
+
order: compareSection.navigationLink.order
|
|
125
|
+
});
|
|
126
|
+
componentCompare.registerRoutes([compareSection.route]);
|
|
101
127
|
return docs;
|
|
102
128
|
}
|
|
103
129
|
|
|
104
130
|
}
|
|
105
131
|
|
|
106
132
|
exports.DocsUI = DocsUI;
|
|
107
|
-
(0, _defineProperty2().default)(DocsUI, "dependencies", [_component().ComponentAspect]);
|
|
133
|
+
(0, _defineProperty2().default)(DocsUI, "dependencies", [_component().ComponentAspect, _componentCompare().default]);
|
|
108
134
|
(0, _defineProperty2().default)(DocsUI, "runtime", _ui().UIRuntime);
|
|
109
135
|
(0, _defineProperty2().default)(DocsUI, "slots", [_harmony().Slot.withType()]);
|
|
110
136
|
var _default = DocsUI;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["DocsUI","constructor","titleBadgeSlot","registerTitleBadge","titleBadge","register","listTitleBadges","provider","component","config","docs","section","OverviewSection","registerRoute","route","registerNavigation","navigationLink","order","ComponentAspect","UIRuntime","Slot","withType","DocsAspect","addRuntime"],"sources":["docs.ui.runtime.tsx"],"sourcesContent":["import { ComponentAspect, ComponentUI } from '@teambit/component';\nimport { Slot } from '@teambit/harmony';\nimport type { TitleBadge } from '@teambit/component.ui.component-meta';\nimport { UIRuntime } from '@teambit/ui';\n\nimport { DocsAspect } from './docs.aspect';\nimport { OverviewSection } from './overview.section';\nimport { TitleBadgeSlot } 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(...titleBadge: TitleBadge[]) {\n this.titleBadgeSlot.register(titleBadge);\n return this;\n }\n\n /**\n * list all title badges registered.\n */\n listTitleBadges() {\n return this.titleBadgeSlot;\n }\n\n static dependencies = [ComponentAspect];\n\n static runtime = UIRuntime;\n\n static slots = [Slot.withType<TitleBadge>()];\n\n static async provider([component]: [ComponentUI
|
|
1
|
+
{"version":3,"names":["DocsUI","constructor","titleBadgeSlot","registerTitleBadge","titleBadge","register","listTitleBadges","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 { ComponentAspect, ComponentUI } from '@teambit/component';\nimport { Slot } from '@teambit/harmony';\nimport type { TitleBadge } from '@teambit/component.ui.component-meta';\nimport { UIRuntime } from '@teambit/ui';\nimport ComponentCompareAspect, { ComponentCompareUI } from '@teambit/component-compare';\n\nimport { DocsAspect } from './docs.aspect';\nimport { OverviewSection } from './overview.section';\nimport { TitleBadgeSlot } from './overview';\nimport { OverviewCompareSection } from './docs.compare.section';\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(...titleBadge: TitleBadge[]) {\n this.titleBadgeSlot.register(titleBadge);\n return this;\n }\n\n /**\n * list all title badges registered.\n */\n listTitleBadges() {\n return 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(docs);\n const compareSection = new OverviewCompareSection(titleBadgeSlot);\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;;AAEA;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;;AAEA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAEO,MAAMA,MAAN,CAAa;EAClBC,WAAW,CAAUC,cAAV,EAA0C;IAAA,KAAhCA,cAAgC,GAAhCA,cAAgC;EAAE;EAEvD;AACF;AACA;;;EACEC,kBAAkB,CAAC,GAAGC,UAAJ,EAA8B;IAC9C,KAAKF,cAAL,CAAoBG,QAApB,CAA6BD,UAA7B;IACA,OAAO,IAAP;EACD;EAED;AACF;AACA;;;EACEE,eAAe,GAAG;IAChB,OAAO,KAAKJ,cAAZ;EACD;;EAQoB,aAARK,QAAQ,CACnB,CAACC,SAAD,EAAYC,gBAAZ,CADmB,EAEnBC,MAFmB,EAGnB,CAACR,cAAD,CAHmB,EAInB;IACA,MAAMS,IAAI,GAAG,IAAIX,MAAJ,CAAWE,cAAX,CAAb;IACA,MAAMU,OAAO,GAAG,KAAIC,2BAAJ,EAAoBF,IAApB,CAAhB;IACA,MAAMG,cAAc,GAAG,KAAIC,qCAAJ,EAA2Bb,cAA3B,CAAvB;IAEAM,SAAS,CAACQ,aAAV,CAAwBJ,OAAO,CAACK,KAAhC;IACAT,SAAS,CAACU,kBAAV,CAA6BN,OAAO,CAACO,cAArC,EAAqDP,OAAO,CAACQ,KAA7D;IACAX,gBAAgB,CAACS,kBAAjB,CAAoC;MAClCG,KAAK,EAAEP,cAAc,CAACK,cADY;MAElCC,KAAK,EAAEN,cAAc,CAACK,cAAf,CAA8BC;IAFH,CAApC;IAIAX,gBAAgB,CAACa,cAAjB,CAAgC,CAACR,cAAc,CAACG,KAAhB,CAAhC;IACA,OAAON,IAAP;EACD;;AAzCiB;;;gCAAPX,M,kBAkBW,CAACuB,4BAAD,EAAkBC,2BAAlB,C;gCAlBXxB,M,aAoBMyB,e;gCApBNzB,M,WAsBI,CAAC0B,eAAA,CAAKC,QAAL,EAAD,C;eAsBF3B,M;;;AAEf4B,kBAAA,CAAWC,UAAX,CAAsB7B,MAAtB"}
|
package/dist/index.d.ts
CHANGED
|
@@ -9,5 +9,6 @@ export type { DocsUI } from './docs.ui.runtime';
|
|
|
9
9
|
export type { DocsPreview } from './docs.preview.runtime';
|
|
10
10
|
export type { DocReader } from './doc-reader';
|
|
11
11
|
export type { TitleBadgeSlot } from './overview';
|
|
12
|
+
export { Overview } from './overview';
|
|
12
13
|
export { DocsAspect };
|
|
13
14
|
export default DocsAspect;
|
package/dist/index.js
CHANGED
|
@@ -27,6 +27,12 @@ Object.defineProperty(exports, "DocsAspect", {
|
|
|
27
27
|
return _docs().DocsAspect;
|
|
28
28
|
}
|
|
29
29
|
});
|
|
30
|
+
Object.defineProperty(exports, "Overview", {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function () {
|
|
33
|
+
return _overview().Overview;
|
|
34
|
+
}
|
|
35
|
+
});
|
|
30
36
|
exports.default = void 0;
|
|
31
37
|
|
|
32
38
|
function _docs() {
|
|
@@ -49,6 +55,16 @@ function _docsEntities() {
|
|
|
49
55
|
return data;
|
|
50
56
|
}
|
|
51
57
|
|
|
58
|
+
function _overview() {
|
|
59
|
+
const data = require("./overview");
|
|
60
|
+
|
|
61
|
+
_overview = function () {
|
|
62
|
+
return data;
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
return data;
|
|
66
|
+
}
|
|
67
|
+
|
|
52
68
|
/**
|
|
53
69
|
* Doc entity.
|
|
54
70
|
* @deprecated - please dont use this. use directly from @teambit/docs.entities.doc.
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["DocsAspect"],"sources":["index.ts"],"sourcesContent":["import { DocsAspect } from './docs.aspect';\n\n/**\n * Doc entity.\n * @deprecated - please dont use this. use directly from @teambit/docs.entities.doc.\n */\nexport { Doc, DocProp, DocPropList } from '@teambit/docs.entities.doc';\n\nexport type { DocsMain } from './docs.main.runtime';\nexport type { DocsUI } from './docs.ui.runtime';\nexport type { DocsPreview } from './docs.preview.runtime';\nexport type { DocReader } from './doc-reader';\n\nexport type { TitleBadgeSlot } from './overview';\n\nexport { DocsAspect };\nexport default DocsAspect;\n"],"mappings":"
|
|
1
|
+
{"version":3,"names":["DocsAspect"],"sources":["index.ts"],"sourcesContent":["import { DocsAspect } from './docs.aspect';\n\n/**\n * Doc entity.\n * @deprecated - please dont use this. use directly from @teambit/docs.entities.doc.\n */\nexport { Doc, DocProp, DocPropList } from '@teambit/docs.entities.doc';\n\nexport type { DocsMain } from './docs.main.runtime';\nexport type { DocsUI } from './docs.ui.runtime';\nexport type { DocsPreview } from './docs.preview.runtime';\nexport type { DocReader } from './doc-reader';\n\nexport type { TitleBadgeSlot } from './overview';\nexport { Overview } from './overview';\n\nexport { DocsAspect };\nexport default DocsAspect;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAMA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAQA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAZA;AACA;AACA;AACA;eAYeA,kB"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TitleBadgeSlot } from '@teambit/docs';
|
|
3
|
+
import { Section } from '@teambit/component';
|
|
4
|
+
import { OverviewCompare } from '@teambit/docs.ui.overview-compare';
|
|
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
|
+
}
|
package/docs.ui.runtime.tsx
CHANGED
|
@@ -2,10 +2,12 @@ import { ComponentAspect, ComponentUI } from '@teambit/component';
|
|
|
2
2
|
import { Slot } from '@teambit/harmony';
|
|
3
3
|
import type { TitleBadge } from '@teambit/component.ui.component-meta';
|
|
4
4
|
import { UIRuntime } from '@teambit/ui';
|
|
5
|
+
import ComponentCompareAspect, { ComponentCompareUI } from '@teambit/component-compare';
|
|
5
6
|
|
|
6
7
|
import { DocsAspect } from './docs.aspect';
|
|
7
8
|
import { OverviewSection } from './overview.section';
|
|
8
9
|
import { TitleBadgeSlot } from './overview';
|
|
10
|
+
import { OverviewCompareSection } from './docs.compare.section';
|
|
9
11
|
|
|
10
12
|
export class DocsUI {
|
|
11
13
|
constructor(readonly titleBadgeSlot: TitleBadgeSlot) {}
|
|
@@ -25,19 +27,28 @@ export class DocsUI {
|
|
|
25
27
|
return this.titleBadgeSlot;
|
|
26
28
|
}
|
|
27
29
|
|
|
28
|
-
static dependencies = [ComponentAspect];
|
|
30
|
+
static dependencies = [ComponentAspect, ComponentCompareAspect];
|
|
29
31
|
|
|
30
32
|
static runtime = UIRuntime;
|
|
31
33
|
|
|
32
34
|
static slots = [Slot.withType<TitleBadge>()];
|
|
33
35
|
|
|
34
|
-
static async provider(
|
|
36
|
+
static async provider(
|
|
37
|
+
[component, componentCompare]: [ComponentUI, ComponentCompareUI],
|
|
38
|
+
config,
|
|
39
|
+
[titleBadgeSlot]: [TitleBadgeSlot]
|
|
40
|
+
) {
|
|
35
41
|
const docs = new DocsUI(titleBadgeSlot);
|
|
36
42
|
const section = new OverviewSection(docs);
|
|
43
|
+
const compareSection = new OverviewCompareSection(titleBadgeSlot);
|
|
37
44
|
|
|
38
45
|
component.registerRoute(section.route);
|
|
39
46
|
component.registerNavigation(section.navigationLink, section.order);
|
|
40
|
-
|
|
47
|
+
componentCompare.registerNavigation({
|
|
48
|
+
props: compareSection.navigationLink,
|
|
49
|
+
order: compareSection.navigationLink.order,
|
|
50
|
+
});
|
|
51
|
+
componentCompare.registerRoutes([compareSection.route]);
|
|
41
52
|
return docs;
|
|
42
53
|
}
|
|
43
54
|
}
|
|
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.755",
|
|
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.755"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"graphql-tag": "2.12.1",
|
|
@@ -15,23 +15,25 @@
|
|
|
15
15
|
"core-js": "^3.0.0",
|
|
16
16
|
"@teambit/harmony": "0.3.3",
|
|
17
17
|
"@teambit/design.ui.separator": "0.0.354",
|
|
18
|
-
"@teambit/compiler": "0.0.
|
|
19
|
-
"@teambit/component": "0.0.
|
|
18
|
+
"@teambit/compiler": "0.0.755",
|
|
19
|
+
"@teambit/component": "0.0.755",
|
|
20
20
|
"@teambit/docs.entities.doc": "0.0.3",
|
|
21
|
-
"@teambit/pkg": "0.0.
|
|
22
|
-
"@teambit/workspace": "0.0.
|
|
23
|
-
"@teambit/
|
|
24
|
-
"@teambit/
|
|
25
|
-
"@teambit/
|
|
26
|
-
"@teambit/
|
|
27
|
-
"@teambit/
|
|
28
|
-
"@teambit/
|
|
21
|
+
"@teambit/pkg": "0.0.755",
|
|
22
|
+
"@teambit/workspace": "0.0.755",
|
|
23
|
+
"@teambit/docs.ui.overview-compare": "0.0.3",
|
|
24
|
+
"@teambit/cli": "0.0.498",
|
|
25
|
+
"@teambit/dev-files": "0.0.755",
|
|
26
|
+
"@teambit/envs": "0.0.755",
|
|
27
|
+
"@teambit/graphql": "0.0.755",
|
|
28
|
+
"@teambit/logger": "0.0.591",
|
|
29
|
+
"@teambit/preview": "0.0.755",
|
|
29
30
|
"@teambit/component-id": "0.0.402",
|
|
30
|
-
"@teambit/component
|
|
31
|
-
"@teambit/ui": "0.0.
|
|
32
|
-
"@teambit/
|
|
31
|
+
"@teambit/component-compare": "0.0.3",
|
|
32
|
+
"@teambit/component.ui.component-meta": "0.0.57",
|
|
33
|
+
"@teambit/ui": "0.0.755",
|
|
34
|
+
"@teambit/pubsub": "0.0.755",
|
|
33
35
|
"@teambit/design.ui.surfaces.status-message-card": "0.0.7",
|
|
34
|
-
"@teambit/lanes.ui.lanes": "0.0.
|
|
36
|
+
"@teambit/lanes.ui.lanes": "0.0.65",
|
|
35
37
|
"@teambit/preview.ui.component-preview": "0.0.493"
|
|
36
38
|
},
|
|
37
39
|
"devDependencies": {
|
|
@@ -45,7 +47,7 @@
|
|
|
45
47
|
"@teambit/docs.content.docs-overview": "1.95.9"
|
|
46
48
|
},
|
|
47
49
|
"peerDependencies": {
|
|
48
|
-
"@teambit/legacy": "1.0.
|
|
50
|
+
"@teambit/legacy": "1.0.278",
|
|
49
51
|
"react-dom": "^16.8.0 || ^17.0.0",
|
|
50
52
|
"react": "^16.8.0 || ^17.0.0"
|
|
51
53
|
},
|
|
@@ -73,7 +75,7 @@
|
|
|
73
75
|
"react": "-"
|
|
74
76
|
},
|
|
75
77
|
"peerDependencies": {
|
|
76
|
-
"@teambit/legacy": "1.0.
|
|
78
|
+
"@teambit/legacy": "1.0.278",
|
|
77
79
|
"react-dom": "^16.8.0 || ^17.0.0",
|
|
78
80
|
"react": "^16.8.0 || ^17.0.0"
|
|
79
81
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const compositions = [require('/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.docs_docs@0.0.
|
|
2
|
-
export const overview = [require('/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.docs_docs@0.0.
|
|
1
|
+
export const compositions = [require('/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.docs_docs@0.0.755/dist/docs.composition.js')]
|
|
2
|
+
export const overview = [require('/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.docs_docs@0.0.755/dist/docs.docs.mdx')]
|
|
Binary file
|