@teambit/code 1.0.1001 → 1.0.1003
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.
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const Logo: () => React.JSX.Element;
|
package/dist/code.section.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Section } from '@teambit/component';
|
|
2
|
+
import React from 'react';
|
|
2
3
|
import type { CodeUI } from './code.ui.runtime';
|
|
3
4
|
export declare class CodeSection implements Section {
|
|
4
5
|
private codeUI;
|
|
@@ -6,11 +7,11 @@ export declare class CodeSection implements Section {
|
|
|
6
7
|
constructor(codeUI: CodeUI, pinned: boolean);
|
|
7
8
|
route: {
|
|
8
9
|
path: string;
|
|
9
|
-
element:
|
|
10
|
+
element: React.JSX.Element;
|
|
10
11
|
};
|
|
11
12
|
navigationLink: {
|
|
12
13
|
href: string;
|
|
13
|
-
children:
|
|
14
|
+
children: React.JSX.Element;
|
|
14
15
|
displayName: string;
|
|
15
16
|
hideInMinimalMode: boolean;
|
|
16
17
|
};
|
|
@@ -21,8 +21,8 @@ export declare class CodeUI {
|
|
|
21
21
|
* register an icon for a specific file type. pass icon and a match method/regexp
|
|
22
22
|
*/
|
|
23
23
|
host: string, fileIconSlot?: FileIconSlot | undefined);
|
|
24
|
-
getCodePage: (props?: Partial<CodePageProps>) =>
|
|
25
|
-
getCodeCompare: (props?: Partial<CodeCompareProps>) =>
|
|
24
|
+
getCodePage: (props?: Partial<CodePageProps>) => React.JSX.Element;
|
|
25
|
+
getCodeCompare: (props?: Partial<CodeCompareProps>) => React.JSX.Element;
|
|
26
26
|
getCodeEditorProvider: () => React.FC<{
|
|
27
27
|
children: React.ReactNode;
|
|
28
28
|
}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_code@1.0.
|
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_code@1.0.
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_code@1.0.1003/dist/code.composition.js';
|
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_code@1.0.1003/dist/code.docs.mdx';
|
|
3
3
|
|
|
4
4
|
export const compositions = [compositions_0];
|
|
5
5
|
export const overview = [overview_0];
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/code",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1003",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/component/code",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.component",
|
|
8
8
|
"name": "code",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.1003"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@teambit/harmony": "0.4.7",
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
"@teambit/code.ui.code-editor": "0.0.16",
|
|
18
18
|
"@teambit/code.ui.code-tab-page": "0.0.699",
|
|
19
19
|
"@teambit/code.ui.utils.get-file-icon": "0.0.496",
|
|
20
|
-
"@teambit/component": "1.0.
|
|
21
|
-
"@teambit/component-compare": "1.0.
|
|
22
|
-
"@teambit/ui": "1.0.
|
|
20
|
+
"@teambit/component": "1.0.1003",
|
|
21
|
+
"@teambit/component-compare": "1.0.1003",
|
|
22
|
+
"@teambit/ui": "1.0.1003"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@types/mocha": "9.1.0",
|