@teambit/api-reference 1.0.1002 → 1.0.1004
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/api-compare.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import type { APIDiffResult, APIDiffChange, APIDiffDetail } from './api-compare.types';
|
|
2
3
|
export type { APIDiffResult, APIDiffChange, APIDiffDetail };
|
|
3
|
-
export declare function APICompare():
|
|
4
|
+
export declare function APICompare(): React.JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import type { Section } from '@teambit/component';
|
|
2
3
|
import type { TabItem } from '@teambit/component.ui.component-compare.models.component-compare-props';
|
|
3
4
|
import type { ChangeType } from '@teambit/component.ui.component-compare.models.component-compare-change-type';
|
|
@@ -12,7 +13,7 @@ export declare class APICompareSection implements TabItem, Section {
|
|
|
12
13
|
};
|
|
13
14
|
route: {
|
|
14
15
|
path: string;
|
|
15
|
-
element:
|
|
16
|
+
element: React.JSX.Element;
|
|
16
17
|
};
|
|
17
18
|
order: number;
|
|
18
19
|
changeType: ChangeType;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import type { ComponentUI } from '@teambit/component';
|
|
2
3
|
import type { Harmony, SlotRegistry } from '@teambit/harmony';
|
|
3
4
|
import type { APINodeRenderer } from '@teambit/api-reference.models.api-node-renderer';
|
|
@@ -15,10 +16,10 @@ export declare class APIReferenceUI {
|
|
|
15
16
|
static dependencies: import("@teambit/harmony").Aspect[];
|
|
16
17
|
static runtime: import("@teambit/harmony").RuntimeDefinition;
|
|
17
18
|
static slots: ((registerFn: () => string) => SlotRegistry<APINodeRenderer[]>)[];
|
|
18
|
-
getAPIPage():
|
|
19
|
+
getAPIPage(): React.JSX.Element;
|
|
19
20
|
TaggedAPIPage: ({ componentId }: {
|
|
20
21
|
componentId: string;
|
|
21
|
-
}) =>
|
|
22
|
+
}) => React.JSX.Element;
|
|
22
23
|
/**
|
|
23
24
|
* @deprecated use registerSchemaClasses instead
|
|
24
25
|
* registerSchemaClasses is better for performance as it lazy-loads the schemas.
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/api-reference",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1004",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/api-reference/api-reference",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.api-reference",
|
|
8
8
|
"name": "api-reference",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.1004"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"lodash": "4.17.21",
|
|
@@ -21,11 +21,11 @@
|
|
|
21
21
|
"@teambit/api-reference.sections.api-reference-section": "0.0.16",
|
|
22
22
|
"@teambit/semantics.entities.semantic-schema": "0.0.103",
|
|
23
23
|
"@teambit/tagged-exports": "0.0.53",
|
|
24
|
-
"@teambit/component": "1.0.
|
|
25
|
-
"@teambit/code": "1.0.
|
|
26
|
-
"@teambit/component-compare": "1.0.
|
|
27
|
-
"@teambit/ui": "1.0.
|
|
28
|
-
"@teambit/workspace": "1.0.
|
|
24
|
+
"@teambit/component": "1.0.1004",
|
|
25
|
+
"@teambit/code": "1.0.1004",
|
|
26
|
+
"@teambit/component-compare": "1.0.1004",
|
|
27
|
+
"@teambit/ui": "1.0.1004",
|
|
28
|
+
"@teambit/workspace": "1.0.1004"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/lodash": "4.14.165",
|
|
File without changes
|