@teambit/docs 0.0.760 → 0.0.763
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/overview/overview.js +1 -1
- package/dist/overview/overview.js.map +1 -1
- package/overview/overview.tsx +1 -1
- package/package-tar/teambit-docs-0.0.763.tgz +0 -0
- package/package.json +20 -20
- package/{preview-1655177322725.js → preview-1655373564849.js} +2 -2
- package/package-tar/teambit-docs-0.0.760.tgz +0 -0
|
@@ -144,7 +144,7 @@ function Overview({
|
|
|
144
144
|
packageName: component.packageName,
|
|
145
145
|
titleBadges: (0, _lodash().default)(titleBadges.values()),
|
|
146
146
|
componentDescriptor: componentDescriptor,
|
|
147
|
-
|
|
147
|
+
component: component
|
|
148
148
|
}), /*#__PURE__*/_react().default.createElement(_previewUi().ComponentPreview, {
|
|
149
149
|
component: component,
|
|
150
150
|
style: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["Overview","titleBadges","component","useContext","ComponentContext","componentDescriptor","useComponentDescriptor","lanesModel","useLanesContext","currentLane","viewedLane","showHeader","preview","legacyHeader","buildStatus","host","margin","styles","overviewWrapper","componentOverviewBlock","displayName","version","description","labels","packageName","flatten","values","
|
|
1
|
+
{"version":3,"names":["Overview","titleBadges","component","useContext","ComponentContext","componentDescriptor","useComponentDescriptor","lanesModel","useLanesContext","currentLane","viewedLane","showHeader","preview","legacyHeader","buildStatus","host","margin","styles","overviewWrapper","componentOverviewBlock","displayName","version","description","labels","packageName","flatten","values","width","height"],"sources":["overview.tsx"],"sourcesContent":["import React, { useContext } from 'react';\nimport flatten from 'lodash.flatten';\nimport { ComponentContext, useComponentDescriptor } from '@teambit/component';\nimport type { SlotRegistry } from '@teambit/harmony';\nimport { ComponentPreview } from '@teambit/preview.ui.component-preview';\nimport { StatusMessageCard } from '@teambit/design.ui.surfaces.status-message-card';\nimport { ComponentOverview, TitleBadge } from '@teambit/component.ui.component-meta';\nimport { LaneBreadcrumb, useLanesContext } from '@teambit/lanes.ui.lanes';\nimport { Separator } from '@teambit/design.ui.separator';\nimport styles from './overview.module.scss';\n\nexport type TitleBadgeSlot = SlotRegistry<TitleBadge[]>;\n\nexport type OverviewProps = {\n titleBadges: TitleBadgeSlot;\n};\n\nexport function Overview({ titleBadges }: OverviewProps) {\n const component = useContext(ComponentContext);\n const componentDescriptor = useComponentDescriptor();\n const lanesModel = useLanesContext();\n const currentLane = lanesModel?.viewedLane;\n\n const showHeader = !component.preview?.legacyHeader;\n\n if (component?.buildStatus === 'pending' && component?.host === 'teambit.scope/scope')\n return (\n <StatusMessageCard style={{ margin: 'auto' }} status=\"PROCESSING\" title=\"component preview pending\">\n this might take some time\n </StatusMessageCard>\n );\n\n if (component?.buildStatus === 'failed' && component?.host === 'teambit.scope/scope')\n return <StatusMessageCard style={{ margin: 'auto' }} status=\"FAILURE\" title=\"failed to get component preview \" />;\n\n return (\n <div className={styles.overviewWrapper}>\n {currentLane && <LaneBreadcrumb lane={currentLane} />}\n {currentLane && <Separator isPresentational />}\n {showHeader && (\n <ComponentOverview\n className={styles.componentOverviewBlock}\n displayName={component.displayName}\n version={component.version}\n abstract={component.description}\n labels={component.labels}\n packageName={component.packageName}\n titleBadges={flatten(titleBadges.values())}\n componentDescriptor={componentDescriptor}\n component={component}\n />\n )}\n <ComponentPreview\n component={component}\n style={{ width: '100%', height: '100%' }}\n previewName=\"overview\"\n fullContentHeight\n scrolling=\"no\"\n />\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;;;AAAA;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;IAA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ADlB,EAEGA,WAAW,iBAAI,+BAAC,qBAAD;IAAW,gBAAgB;EAA3B,EAFlB,EAGGE,UAAU,iBACT,+BAAC,gCAAD;IACE,SAAS,EAAEM,yBAAA,CAAOE,sBADpB;IAEE,WAAW,EAAEjB,SAAS,CAACkB,WAFzB;IAGE,OAAO,EAAElB,SAAS,CAACmB,OAHrB;IAIE,QAAQ,EAAEnB,SAAS,CAACoB,WAJtB;IAKE,MAAM,EAAEpB,SAAS,CAACqB,MALpB;IAME,WAAW,EAAErB,SAAS,CAACsB,WANzB;IAOE,WAAW,EAAE,IAAAC,iBAAA,EAAQxB,WAAW,CAACyB,MAAZ,EAAR,CAPf;IAQE,mBAAmB,EAAErB,mBARvB;IASE,SAAS,EAAEH;EATb,EAJJ,eAgBE,+BAAC,6BAAD;IACE,SAAS,EAAEA,SADb;IAEE,KAAK,EAAE;MAAEyB,KAAK,EAAE,MAAT;MAAiBC,MAAM,EAAE;IAAzB,CAFT;IAGE,WAAW,EAAC,UAHd;IAIE,iBAAiB,MAJnB;IAKE,SAAS,EAAC;EALZ,EAhBF,CADF;AA0BD"}
|
package/overview/overview.tsx
CHANGED
|
@@ -47,7 +47,7 @@ export function Overview({ titleBadges }: OverviewProps) {
|
|
|
47
47
|
packageName={component.packageName}
|
|
48
48
|
titleBadges={flatten(titleBadges.values())}
|
|
49
49
|
componentDescriptor={componentDescriptor}
|
|
50
|
-
|
|
50
|
+
component={component}
|
|
51
51
|
/>
|
|
52
52
|
)}
|
|
53
53
|
<ComponentPreview
|
|
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.763",
|
|
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.763"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"graphql-tag": "2.12.1",
|
|
@@ -15,25 +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.763",
|
|
19
|
+
"@teambit/component": "0.0.763",
|
|
20
20
|
"@teambit/docs.entities.doc": "0.0.3",
|
|
21
|
-
"@teambit/pkg": "0.0.
|
|
22
|
-
"@teambit/workspace": "0.0.
|
|
23
|
-
"@teambit/docs.ui.overview-compare": "0.0.
|
|
24
|
-
"@teambit/cli": "0.0.
|
|
25
|
-
"@teambit/dev-files": "0.0.
|
|
26
|
-
"@teambit/envs": "0.0.
|
|
27
|
-
"@teambit/graphql": "0.0.
|
|
28
|
-
"@teambit/logger": "0.0.
|
|
29
|
-
"@teambit/preview": "0.0.
|
|
21
|
+
"@teambit/pkg": "0.0.763",
|
|
22
|
+
"@teambit/workspace": "0.0.763",
|
|
23
|
+
"@teambit/docs.ui.overview-compare": "0.0.9",
|
|
24
|
+
"@teambit/cli": "0.0.504",
|
|
25
|
+
"@teambit/dev-files": "0.0.763",
|
|
26
|
+
"@teambit/envs": "0.0.763",
|
|
27
|
+
"@teambit/graphql": "0.0.763",
|
|
28
|
+
"@teambit/logger": "0.0.597",
|
|
29
|
+
"@teambit/preview": "0.0.763",
|
|
30
30
|
"@teambit/component-id": "0.0.402",
|
|
31
|
-
"@teambit/component-compare": "0.0.
|
|
32
|
-
"@teambit/component.ui.component-meta": "0.0.
|
|
33
|
-
"@teambit/ui": "0.0.
|
|
34
|
-
"@teambit/pubsub": "0.0.
|
|
31
|
+
"@teambit/component-compare": "0.0.11",
|
|
32
|
+
"@teambit/component.ui.component-meta": "0.0.64",
|
|
33
|
+
"@teambit/ui": "0.0.763",
|
|
34
|
+
"@teambit/pubsub": "0.0.763",
|
|
35
35
|
"@teambit/design.ui.surfaces.status-message-card": "0.0.7",
|
|
36
|
-
"@teambit/lanes.ui.lanes": "0.0.
|
|
36
|
+
"@teambit/lanes.ui.lanes": "0.0.71",
|
|
37
37
|
"@teambit/preview.ui.component-preview": "0.0.493"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"@teambit/docs.content.docs-overview": "1.95.9"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"@teambit/legacy": "1.0.
|
|
50
|
+
"@teambit/legacy": "1.0.284",
|
|
51
51
|
"react-dom": "^16.8.0 || ^17.0.0",
|
|
52
52
|
"react": "^16.8.0 || ^17.0.0"
|
|
53
53
|
},
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"react": "-"
|
|
76
76
|
},
|
|
77
77
|
"peerDependencies": {
|
|
78
|
-
"@teambit/legacy": "1.0.
|
|
78
|
+
"@teambit/legacy": "1.0.284",
|
|
79
79
|
"react-dom": "^16.8.0 || ^17.0.0",
|
|
80
80
|
"react": "^16.8.0 || ^17.0.0"
|
|
81
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.763/dist/docs.composition.js')]
|
|
2
|
+
export const overview = [require('/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.docs_docs@0.0.763/dist/docs.docs.mdx')]
|
|
Binary file
|