@teambit/scope 1.0.13 → 1.0.14

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,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.scope_scope@1.0.13/dist/scope.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.scope_scope@1.0.13/dist/scope.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.scope_scope@1.0.14/dist/scope.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.scope_scope@1.0.14/dist/scope.docs.mdx';
3
3
 
4
4
  export const compositions = [compositions_0];
5
5
  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;
@@ -113,7 +113,7 @@ export declare class ScopeUI {
113
113
  * register a new badge into the scope overview.
114
114
  */
115
115
  registerBadge(...badges: ScopeBadge[]): this;
116
- getScope(options: GetScopeOptions): JSX.Element;
116
+ getScope(options: GetScopeOptions): React.JSX.Element;
117
117
  /**
118
118
  * register a new line beneath the scope overview section.
119
119
  */
@@ -124,7 +124,7 @@ export declare class ScopeUI {
124
124
  registerRoutes(routes: RouteProps[]): this;
125
125
  registerMenuRoutes: (routes: RouteProps[]) => this;
126
126
  private applyMenuRoutes;
127
- getScopeMenu(): JSX.Element;
127
+ getScopeMenu(): React.JSX.Element;
128
128
  private registerExplicitRoutes;
129
129
  registerMenuWidget(...menuItems: MenuWidget[]): void;
130
130
  registerCorner(corner: Corner): void;
@@ -1,11 +1,11 @@
1
- /// <reference types="react" />
2
1
  import { MenuProps } from '@teambit/ui-foundation.ui.menu';
2
+ import React from 'react';
3
3
  /**
4
4
  * scope menu.
5
5
  */
6
- export declare function ScopeMenu({ className, ...rest }: MenuProps): JSX.Element;
6
+ export declare function ScopeMenu({ className, ...rest }: MenuProps): React.JSX.Element;
7
7
  export declare type ScopeUseBoxProps = {
8
8
  actionName?: string;
9
9
  actionIcon?: string;
10
10
  };
11
- export declare function ScopeUseBox({ actionName, actionIcon }: ScopeUseBoxProps): JSX.Element;
11
+ export declare function ScopeUseBox({ actionName, actionIcon }: ScopeUseBoxProps): React.JSX.Element;
@@ -1,4 +1,4 @@
1
- import { ComponentType } from 'react';
1
+ import React, { ComponentType } from 'react';
2
2
  import { ComponentModel } from '@teambit/component';
3
3
  import type { ScopeBadgeSlot, OverviewLineSlot } from '../../scope.ui.runtime';
4
4
  export declare type ScopeOverviewProps = {
@@ -6,10 +6,10 @@ export declare type ScopeOverviewProps = {
6
6
  overviewSlot: OverviewLineSlot;
7
7
  TargetOverview?: ComponentType;
8
8
  };
9
- export declare function ScopeOverview({ badgeSlot, overviewSlot, TargetOverview }: ScopeOverviewProps): JSX.Element;
9
+ export declare function ScopeOverview({ badgeSlot, overviewSlot, TargetOverview }: ScopeOverviewProps): React.JSX.Element;
10
10
  declare type ScopeComponentCardProps = {
11
11
  component: ComponentModel;
12
12
  componentUrl?: string;
13
13
  };
14
- export declare function ScopeComponentCard({ component, componentUrl }: ScopeComponentCardProps): JSX.Element;
14
+ export declare function ScopeComponentCard({ component, componentUrl }: ScopeComponentCardProps): React.JSX.Element;
15
15
  export {};
@@ -1,4 +1,4 @@
1
- import { ComponentType, ReactNode } from 'react';
1
+ import React, { ComponentType, ReactNode } from 'react';
2
2
  import 'reset-css';
3
3
  import { RouteSlot } from '@teambit/ui-foundation.ui.react-router.slot-router';
4
4
  import { ScopeUI, ScopeBadgeSlot, ScopeContextType, CornerSlot, OverviewLineSlot } from '../scope.ui.runtime';
@@ -27,4 +27,4 @@ export declare type ScopeProps = {
27
27
  /**
28
28
  * root component of the scope
29
29
  */
30
- export declare function Scope({ routeSlot, menuSlot, sidebar, scopeUi, badgeSlot, overviewLineSlot, cornerSlot, PaneWrapper, context, paneClassName, TargetScopeOverview, TargetCorner, onSidebarTogglerChange, userUseScopeQuery, scopeClassName, }: ScopeProps): JSX.Element;
30
+ export declare function Scope({ routeSlot, menuSlot, sidebar, scopeUi, badgeSlot, overviewLineSlot, cornerSlot, PaneWrapper, context, paneClassName, TargetScopeOverview, TargetCorner, onSidebarTogglerChange, userUseScopeQuery, scopeClassName, }: ScopeProps): React.JSX.Element;
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/scope",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "homepage": "https://bit.cloud/teambit/scope/scope",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.scope",
8
8
  "name": "scope",
9
- "version": "1.0.13"
9
+ "version": "1.0.14"
10
10
  },
11
11
  "dependencies": {
12
12
  "fs-extra": "10.0.0",
@@ -59,26 +59,26 @@
59
59
  "@teambit/scope.ui.scope-details": "0.0.526",
60
60
  "@teambit/component.modules.component-url": "0.0.153",
61
61
  "@teambit/scope.models.scope-model": "0.0.448",
62
- "@teambit/aspect-loader": "1.0.13",
62
+ "@teambit/aspect-loader": "1.0.14",
63
63
  "@teambit/cli": "0.0.793",
64
- "@teambit/compiler": "1.0.13",
65
- "@teambit/component": "1.0.13",
66
- "@teambit/dependency-resolver": "1.0.13",
67
- "@teambit/envs": "1.0.13",
64
+ "@teambit/compiler": "1.0.14",
65
+ "@teambit/component": "1.0.14",
66
+ "@teambit/dependency-resolver": "1.0.14",
67
+ "@teambit/envs": "1.0.14",
68
68
  "@teambit/global-config": "0.0.795",
69
69
  "@teambit/harmony.modules.requireable-component": "0.0.493",
70
- "@teambit/isolator": "1.0.13",
70
+ "@teambit/isolator": "1.0.14",
71
71
  "@teambit/logger": "0.0.886",
72
72
  "@teambit/bit-error": "0.0.404",
73
- "@teambit/builder": "1.0.13",
73
+ "@teambit/builder": "1.0.14",
74
74
  "@teambit/express": "0.0.892",
75
- "@teambit/graph": "1.0.13",
76
- "@teambit/graphql": "1.0.13",
77
- "@teambit/ui": "1.0.13",
75
+ "@teambit/graph": "1.0.14",
76
+ "@teambit/graphql": "1.0.14",
77
+ "@teambit/ui": "1.0.14",
78
78
  "@teambit/workspace.modules.match-pattern": "0.0.500",
79
- "@teambit/command-bar": "1.0.13",
80
- "@teambit/component-tree": "1.0.13",
81
- "@teambit/sidebar": "1.0.13",
79
+ "@teambit/command-bar": "1.0.14",
80
+ "@teambit/component-tree": "1.0.14",
81
+ "@teambit/sidebar": "1.0.14",
82
82
  "@teambit/lane-id": "0.0.305",
83
83
  "@teambit/preview.ui.preview-placeholder": "0.0.501"
84
84
  },