@teambit/api-reference 0.0.0-d8bb36ed7863aa2ccfc9ab3becf3622f1fc5a58f → 0.0.0-d98d0a23859ea775b2ebf13268bc656e7fc66a67
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,46 +1,46 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/api-reference",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-d98d0a23859ea775b2ebf13268bc656e7fc66a67",
|
|
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": "
|
|
9
|
+
"version": "d98d0a23859ea775b2ebf13268bc656e7fc66a67"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"lodash": "4.17.21",
|
|
13
13
|
"@teambit/component.ui.component-compare.models.component-compare-change-type": "0.0.7",
|
|
14
|
-
"@teambit/
|
|
15
|
-
"@teambit/component.ui.component-compare.context": "0.0.124",
|
|
16
|
-
"@teambit/harmony": "0.4.7",
|
|
14
|
+
"@teambit/harmony": "0.4.12",
|
|
17
15
|
"@teambit/api-reference.hooks.use-api-renderers": "0.0.37",
|
|
18
16
|
"@teambit/api-reference.models.api-node-renderer": "0.0.53",
|
|
19
|
-
"@teambit/api-reference.renderers.default-node-renderers": "0.0.8",
|
|
20
17
|
"@teambit/api-reference.sections.api-reference-section": "0.0.16",
|
|
21
|
-
"@teambit/semantics.entities.semantic-schema": "0.0.101",
|
|
22
18
|
"@teambit/api-reference.sections.api-reference-page": "0.0.120",
|
|
23
|
-
"@teambit/component": "0.0.0-
|
|
24
|
-
"@teambit/
|
|
25
|
-
"@teambit/component-compare": "0.0.0-
|
|
26
|
-
"@teambit/
|
|
27
|
-
"@teambit/
|
|
28
|
-
"@teambit/
|
|
19
|
+
"@teambit/component.ui.component-compare.models.component-compare-props": "0.0.0-958f5a666697b9fc92cec122845a237c56437177",
|
|
20
|
+
"@teambit/component": "0.0.0-a669c6e3475d3a76f03d6a906590ba188103d28c",
|
|
21
|
+
"@teambit/component.ui.component-compare.context": "0.0.0-705d3cd83acf94fc29263aace7ac9780ce256bdd",
|
|
22
|
+
"@teambit/api-reference.renderers.default-node-renderers": "0.0.0-0197376a378e401082498576d8a0b093a3668eea",
|
|
23
|
+
"@teambit/code": "0.0.0-28893ba86b6ebd6b0cbf5f6d09e15d1b4570e941",
|
|
24
|
+
"@teambit/component-compare": "0.0.0-a540957ef21ffa977831fdaab6475e9c5aa7083e",
|
|
25
|
+
"@teambit/semantics.entities.semantic-schema": "0.0.0-b1781929e77ed5834a1c2275023c056958038daa",
|
|
26
|
+
"@teambit/tagged-exports": "0.0.0-d2ab3a2f239f3e65531965fd0967bb21cacc0d71",
|
|
27
|
+
"@teambit/ui": "0.0.0-52b415063fbc86f570c50ae82f9a230993576df6",
|
|
28
|
+
"@teambit/workspace": "0.0.0-50c906128b28633e93149f091e68e879a3b5dcf3"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/lodash": "4.14.165",
|
|
32
32
|
"@types/mocha": "9.1.0",
|
|
33
|
-
"@teambit/harmony.envs.core-aspect-env": "0.
|
|
33
|
+
"@teambit/harmony.envs.core-aspect-env": "1.0.2"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"react": "^17.0.0 || ^18.0.0"
|
|
37
|
-
"@types/react": "^17.0.73"
|
|
36
|
+
"react": "^17.0.0 || ^18.0.0 || ^19.0.0"
|
|
38
37
|
},
|
|
39
38
|
"license": "Apache-2.0",
|
|
40
39
|
"optionalDependencies": {},
|
|
41
40
|
"peerDependenciesMeta": {},
|
|
42
41
|
"exports": {
|
|
43
42
|
".": {
|
|
43
|
+
"types": "./dist/index.d.ts",
|
|
44
44
|
"node": {
|
|
45
45
|
"require": "./dist/index.js",
|
|
46
46
|
"import": "./dist/esm.mjs"
|
|
@@ -48,8 +48,7 @@
|
|
|
48
48
|
"default": "./dist/index.js"
|
|
49
49
|
},
|
|
50
50
|
"./dist/*": "./dist/*",
|
|
51
|
-
"./artifacts/*": "./artifacts/*"
|
|
52
|
-
"./*": "./*.ts"
|
|
51
|
+
"./artifacts/*": "./artifacts/*"
|
|
53
52
|
},
|
|
54
53
|
"private": false,
|
|
55
54
|
"engines": {
|
package/types/style.d.ts
CHANGED
|
@@ -40,3 +40,7 @@ declare module '*.mdx' {
|
|
|
40
40
|
const component: any;
|
|
41
41
|
export default component;
|
|
42
42
|
}
|
|
43
|
+
|
|
44
|
+
// `reset-css` ships only `reset.css` (no `.d.ts`). TS6 refuses bare
|
|
45
|
+
// side-effect imports without declarations, so we declare the module here.
|
|
46
|
+
declare module 'reset-css';
|
|
File without changes
|