@teambit/schema 1.0.1002 → 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.
- package/dist/mock/button/button.composition.d.ts +7 -6
- package/dist/mock/button/button.d.ts +1 -1
- package/dist/mock/button-v2/button.composition.d.ts +7 -6
- package/dist/mock/button-v2/button.d.ts +1 -1
- package/dist/{preview-1780084871933.js → preview-1780507494169.js} +4 -4
- package/dist/schema.composition.d.ts +2 -1
- package/package.json +17 -17
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const BasicButton: () => React.JSX.Element;
|
|
2
3
|
/**
|
|
3
4
|
* example of passing a JSX Element as a parameter
|
|
4
5
|
*/
|
|
5
6
|
export declare function Footer({ children }: {
|
|
6
|
-
children?:
|
|
7
|
-
}):
|
|
8
|
-
export declare const ButtonWithCustomStyles: () =>
|
|
9
|
-
export declare const ButtonWithIcon: () =>
|
|
10
|
-
export declare const ButtonAsALink: () =>
|
|
7
|
+
children?: React.JSX.Element | undefined;
|
|
8
|
+
}): React.JSX.Element;
|
|
9
|
+
export declare const ButtonWithCustomStyles: () => React.JSX.Element;
|
|
10
|
+
export declare const ButtonWithIcon: () => React.JSX.Element;
|
|
11
|
+
export declare const ButtonAsALink: () => React.JSX.Element;
|
|
@@ -14,7 +14,7 @@ export type ButtonProps = {
|
|
|
14
14
|
*/
|
|
15
15
|
className?: string;
|
|
16
16
|
} & React.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
17
|
-
export declare function Button(props: ButtonProps):
|
|
17
|
+
export declare function Button(props: ButtonProps): React.JSX.Element;
|
|
18
18
|
export declare class Bar {
|
|
19
19
|
foo(): void;
|
|
20
20
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const BasicButton: () => React.JSX.Element;
|
|
2
3
|
/**
|
|
3
4
|
* example of passing a JSX Element as a parameter
|
|
4
5
|
*/
|
|
5
6
|
export declare function Footer({ children }: {
|
|
6
|
-
children?:
|
|
7
|
-
}):
|
|
8
|
-
export declare const ButtonWithCustomStyles: () =>
|
|
9
|
-
export declare const ButtonWithIcon: () =>
|
|
10
|
-
export declare const ButtonAsALink: () =>
|
|
7
|
+
children?: React.JSX.Element | undefined;
|
|
8
|
+
}): React.JSX.Element;
|
|
9
|
+
export declare const ButtonWithCustomStyles: () => React.JSX.Element;
|
|
10
|
+
export declare const ButtonWithIcon: () => React.JSX.Element;
|
|
11
|
+
export declare const ButtonAsALink: () => React.JSX.Element;
|
|
@@ -18,7 +18,7 @@ export type ButtonProps = {
|
|
|
18
18
|
*/
|
|
19
19
|
disabled?: boolean;
|
|
20
20
|
} & React.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
21
|
-
export declare function Button(props: ButtonProps):
|
|
21
|
+
export declare function Button(props: ButtonProps): React.JSX.Element;
|
|
22
22
|
export declare class Bar {
|
|
23
23
|
foo(): void;
|
|
24
24
|
bar(): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.semantics_schema@1.0.
|
|
2
|
-
import * as compositions_1 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.semantics_schema@1.0.
|
|
3
|
-
import * as compositions_2 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.semantics_schema@1.0.
|
|
4
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.semantics_schema@1.0.
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.semantics_schema@1.0.1003/dist/schema.composition.js';
|
|
2
|
+
import * as compositions_1 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.semantics_schema@1.0.1003/dist/mock/button/button.composition.js';
|
|
3
|
+
import * as compositions_2 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.semantics_schema@1.0.1003/dist/mock/button-v2/button.composition.js';
|
|
4
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.semantics_schema@1.0.1003/dist/schema.docs.mdx';
|
|
5
5
|
|
|
6
6
|
export const compositions = [compositions_0, compositions_1, compositions_2];
|
|
7
7
|
export const overview = [overview_0];
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const Logo: () => React.JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/schema",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1003",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/semantics/schema",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.semantics",
|
|
8
8
|
"name": "schema",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.1003"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"chalk": "4.1.2",
|
|
@@ -18,18 +18,18 @@
|
|
|
18
18
|
"@teambit/semantics.entities.semantic-schema-diff": "0.0.3",
|
|
19
19
|
"@teambit/harmony": "0.4.7",
|
|
20
20
|
"@teambit/defender.prettier.config-mutator": "0.0.117",
|
|
21
|
-
"@teambit/cli": "0.0.
|
|
22
|
-
"@teambit/component": "1.0.
|
|
23
|
-
"@teambit/logger": "0.0.
|
|
24
|
-
"@teambit/envs": "1.0.
|
|
25
|
-
"@teambit/formatter": "1.0.
|
|
26
|
-
"@teambit/legacy.constants": "0.0.
|
|
27
|
-
"@teambit/graphql": "1.0.
|
|
28
|
-
"@teambit/builder": "1.0.
|
|
29
|
-
"@teambit/scope.network": "0.0.
|
|
30
|
-
"@teambit/scope": "1.0.
|
|
31
|
-
"@teambit/typescript": "1.0.
|
|
32
|
-
"@teambit/workspace": "1.0.
|
|
21
|
+
"@teambit/cli": "0.0.1330",
|
|
22
|
+
"@teambit/component": "1.0.1003",
|
|
23
|
+
"@teambit/logger": "0.0.1423",
|
|
24
|
+
"@teambit/envs": "1.0.1003",
|
|
25
|
+
"@teambit/formatter": "1.0.1003",
|
|
26
|
+
"@teambit/legacy.constants": "0.0.29",
|
|
27
|
+
"@teambit/graphql": "1.0.1003",
|
|
28
|
+
"@teambit/builder": "1.0.1003",
|
|
29
|
+
"@teambit/scope.network": "0.0.120",
|
|
30
|
+
"@teambit/scope": "1.0.1003",
|
|
31
|
+
"@teambit/typescript": "1.0.1003",
|
|
32
|
+
"@teambit/workspace": "1.0.1003"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@types/fs-extra": "9.0.7",
|
|
@@ -37,9 +37,9 @@
|
|
|
37
37
|
"@types/mocha": "9.1.0",
|
|
38
38
|
"@teambit/component-id": "1.2.4",
|
|
39
39
|
"@teambit/harmony.envs.core-aspect-env": "0.1.5",
|
|
40
|
-
"@teambit/harmony.testing.load-aspect": "0.0.
|
|
41
|
-
"@teambit/tracker": "1.0.
|
|
42
|
-
"@teambit/workspace.testing.mock-workspace": "0.0.
|
|
40
|
+
"@teambit/harmony.testing.load-aspect": "0.0.385",
|
|
41
|
+
"@teambit/tracker": "1.0.1003",
|
|
42
|
+
"@teambit/workspace.testing.mock-workspace": "0.0.187"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"react": "^17.0.0 || ^18.0.0 || ^19.0.0",
|