@teambit/schema 1.0.13 → 1.0.15

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,11 +1,11 @@
1
- /// <reference types="react" />
2
- export declare const BasicButton: () => JSX.Element;
1
+ import React from 'react';
2
+ export declare const BasicButton: () => React.JSX.Element;
3
3
  /**
4
4
  * example of passing a JSX Element as a parameter
5
5
  */
6
6
  export declare function Footer({ children }: {
7
- children?: JSX.Element | undefined;
8
- }): JSX.Element;
9
- export declare const ButtonWithCustomStyles: () => JSX.Element;
10
- export declare const ButtonWithIcon: () => JSX.Element;
11
- export declare const ButtonAsALink: () => JSX.Element;
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 declare type ButtonProps = {
14
14
  */
15
15
  className?: string;
16
16
  } & React.ButtonHTMLAttributes<HTMLButtonElement>;
17
- export declare function Button(props: ButtonProps): JSX.Element;
17
+ export declare function Button(props: ButtonProps): React.JSX.Element;
18
18
  export declare class Bar {
19
19
  foo(): void;
20
20
  }
@@ -1,6 +1,6 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.semantics_schema@1.0.13/dist/schema.composition.js';
2
- import * as compositions_1 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.semantics_schema@1.0.13/dist/mock/button/button.composition.js';
3
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.semantics_schema@1.0.13/dist/schema.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.semantics_schema@1.0.15/dist/schema.composition.js';
2
+ import * as compositions_1 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.semantics_schema@1.0.15/dist/mock/button/button.composition.js';
3
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.semantics_schema@1.0.15/dist/schema.docs.mdx';
4
4
 
5
5
  export const compositions = [compositions_0, compositions_1];
6
6
  export const overview = [overview_0];
@@ -1,2 +1,2 @@
1
- /// <reference types="react" />
2
- export declare const Logo: () => JSX.Element;
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.13",
3
+ "version": "1.0.15",
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.13"
9
+ "version": "1.0.15"
10
10
  },
11
11
  "dependencies": {
12
12
  "p-map-series": "2.1.0",
@@ -18,15 +18,15 @@
18
18
  "@teambit/semantics.entities.semantic-schema": "0.0.59",
19
19
  "@teambit/harmony": "0.4.6",
20
20
  "@teambit/base-react.navigation.link": "2.0.27",
21
- "@teambit/envs": "1.0.13",
22
- "@teambit/component": "1.0.13",
23
- "@teambit/formatter": "1.0.13",
24
- "@teambit/cli": "0.0.793",
25
- "@teambit/logger": "0.0.886",
26
- "@teambit/builder": "1.0.13",
21
+ "@teambit/envs": "1.0.15",
22
+ "@teambit/component": "1.0.15",
23
+ "@teambit/formatter": "1.0.15",
24
+ "@teambit/cli": "0.0.794",
25
+ "@teambit/logger": "0.0.887",
26
+ "@teambit/builder": "1.0.15",
27
27
  "@teambit/defender.prettier.config-mutator": "0.0.92",
28
- "@teambit/graphql": "1.0.13",
29
- "@teambit/workspace": "1.0.13"
28
+ "@teambit/graphql": "1.0.15",
29
+ "@teambit/workspace": "1.0.15"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@types/react": "^17.0.8",
@@ -40,12 +40,12 @@
40
40
  "@types/jest": "^26.0.0",
41
41
  "@types/testing-library__jest-dom": "5.9.5",
42
42
  "@teambit/component-id": "0.0.427",
43
- "@teambit/harmony.testing.load-aspect": "0.0.153",
44
- "@teambit/tracker": "1.0.13",
43
+ "@teambit/harmony.testing.load-aspect": "0.0.154",
44
+ "@teambit/tracker": "1.0.15",
45
45
  "@teambit/workspace.testing.mock-workspace": "0.0.16"
46
46
  },
47
47
  "peerDependencies": {
48
- "@teambit/legacy": "1.0.572",
48
+ "@teambit/legacy": "1.0.573",
49
49
  "react": "^16.8.0 || ^17.0.0",
50
50
  "react-dom": "^16.8.0 || ^17.0.0"
51
51
  },