@teambit/scope 1.0.1001 → 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.
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.scope_scope@1.0.1001/dist/scope.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.scope_scope@1.0.1001/dist/scope.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.scope_scope@1.0.1003/dist/scope.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.scope_scope@1.0.1003/dist/scope.docs.mdx';
3
3
 
4
4
  export const compositions = [compositions_0];
5
5
  export const overview = [overview_0];
@@ -1 +1,2 @@
1
- export declare const Logo: () => import("react/jsx-runtime").JSX.Element;
1
+ import React from 'react';
2
+ export declare const Logo: () => React.JSX.Element;
@@ -114,7 +114,7 @@ export declare class ScopeUI {
114
114
  * register a new badge into the scope overview.
115
115
  */
116
116
  registerBadge(...badges: ScopeBadge[]): this;
117
- getScope(options: GetScopeOptions): import("react/jsx-runtime").JSX.Element;
117
+ getScope(options: GetScopeOptions): React.JSX.Element;
118
118
  /**
119
119
  * register a new line beneath the scope overview section.
120
120
  */
@@ -125,7 +125,7 @@ export declare class ScopeUI {
125
125
  registerRoutes(routes: RouteProps[]): this;
126
126
  registerMenuRoutes: (routes: RouteProps[]) => this;
127
127
  private applyMenuRoutes;
128
- getScopeMenu(): import("react/jsx-runtime").JSX.Element;
128
+ getScopeMenu(): React.JSX.Element;
129
129
  private registerExplicitRoutes;
130
130
  registerMenuWidget(...menuItems: MenuWidget[]): void;
131
131
  registerCorner(corner: Corner): void;
@@ -1,10 +1,11 @@
1
1
  import type { MenuProps } from '@teambit/ui-foundation.ui.menu';
2
+ import React from 'react';
2
3
  /**
3
4
  * scope menu.
4
5
  */
5
- export declare function ScopeMenu({ className, ...rest }: MenuProps): import("react/jsx-runtime").JSX.Element;
6
+ export declare function ScopeMenu({ className, ...rest }: MenuProps): React.JSX.Element;
6
7
  export type ScopeUseBoxProps = {
7
8
  actionName?: string;
8
9
  actionIcon?: string;
9
10
  };
10
- export declare function ScopeUseBox({ actionName, actionIcon }: ScopeUseBoxProps): import("react/jsx-runtime").JSX.Element;
11
+ export declare function ScopeUseBox({ actionName, actionIcon }: ScopeUseBoxProps): React.JSX.Element;
@@ -1,4 +1,5 @@
1
1
  import type { ComponentType } from 'react';
2
+ import React from 'react';
2
3
  import type { ScopeID } from '@teambit/scopes.scope-id';
3
4
  import { type ComponentCardPluginType, type PluginProps } from '@teambit/explorer.ui.component-card';
4
5
  import type { ComponentModel } from '@teambit/component';
@@ -12,7 +13,7 @@ export type ScopeOverviewProps = {
12
13
  export declare class LinkPlugin {
13
14
  link(id: any): any;
14
15
  }
15
- export declare function ScopeOverview({ badgeSlot, overviewSlot, TargetOverview }: ScopeOverviewProps): import("react/jsx-runtime").JSX.Element;
16
+ export declare function ScopeOverview({ badgeSlot, overviewSlot, TargetOverview }: ScopeOverviewProps): React.JSX.Element;
16
17
  type ScopeComponentCardProps = {
17
18
  component?: ComponentModel;
18
19
  componentDescriptor?: ComponentDescriptor;
@@ -24,7 +25,7 @@ type ScopeComponentCardProps = {
24
25
  };
25
26
  componentUrl?: string;
26
27
  };
27
- export declare function ScopeComponentCard({ componentDescriptor, plugins }: ScopeComponentCardProps): import("react/jsx-runtime").JSX.Element | null;
28
+ export declare function ScopeComponentCard({ componentDescriptor, plugins }: ScopeComponentCardProps): React.JSX.Element | null;
28
29
  export declare function useCardPlugins({ compModelsById, }: {
29
30
  compModelsById: Map<string, ComponentModel>;
30
31
  }): ComponentCardPluginType<PluginProps>[];
@@ -28,4 +28,4 @@ export type ScopeProps = {
28
28
  /**
29
29
  * root component of the scope
30
30
  */
31
- export declare function Scope({ routeSlot, menuSlot, sidebar, scopeUi, badgeSlot, overviewLineSlot, cornerSlot, PaneWrapper, context, paneClassName, TargetScopeOverview, TargetCorner, onSidebarTogglerChange, userUseScopeQuery, scopeClassName, }: ScopeProps): import("react/jsx-runtime").JSX.Element;
31
+ 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.1001",
3
+ "version": "1.0.1003",
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.1001"
9
+ "version": "1.0.1003"
10
10
  },
11
11
  "dependencies": {
12
12
  "fs-extra": "10.0.0",
@@ -25,28 +25,13 @@
25
25
  "@teambit/ui-foundation.ui.tree.drawer": "1.0.0",
26
26
  "@teambit/scope.ui.hooks.scope-context": "0.0.545",
27
27
  "@teambit/bit-error": "0.0.404",
28
- "@teambit/cli": "0.0.1328",
29
- "@teambit/config-store": "0.0.209",
30
28
  "@teambit/harmony.modules.requireable-component": "0.0.514",
31
29
  "@teambit/harmony": "0.4.7",
32
- "@teambit/legacy.constants": "0.0.27",
33
- "@teambit/logger": "0.0.1421",
34
- "@teambit/harmony.modules.in-memory-cache": "0.0.31",
35
- "@teambit/legacy.consumer-component": "0.0.119",
36
30
  "@teambit/bit.get-bit-version": "0.0.16",
37
31
  "@teambit/legacy-component-log": "0.0.418",
38
- "@teambit/legacy.scope-api": "0.0.173",
39
32
  "@teambit/component-id": "1.2.4",
40
- "@teambit/component.snap-distance": "0.0.119",
41
- "@teambit/express": "0.0.1427",
42
33
  "@teambit/graph.cleargraph": "0.0.11",
43
34
  "@teambit/legacy-bit-id": "1.1.3",
44
- "@teambit/legacy.extension-data": "0.0.120",
45
- "@teambit/legacy.scope": "0.0.118",
46
- "@teambit/pkg.modules.component-package-name": "0.0.125",
47
- "@teambit/scope.network": "0.0.118",
48
- "@teambit/scope.remote-actions": "0.0.118",
49
- "@teambit/scope.remotes": "0.0.118",
50
35
  "@teambit/workspace.modules.match-pattern": "0.0.521",
51
36
  "@teambit/component.ui.component-drawer": "0.0.482",
52
37
  "@teambit/design.ui.tree": "0.0.16",
@@ -83,19 +68,34 @@
83
68
  "@teambit/scope.ui.empty-scope": "0.0.510",
84
69
  "@teambit/scope.ui.scope-details": "0.0.526",
85
70
  "@teambit/scopes.scope-id": "0.0.9",
86
- "@teambit/aspect-loader": "1.0.1001",
87
- "@teambit/compiler": "1.0.1001",
88
- "@teambit/component": "1.0.1001",
89
- "@teambit/dependency-resolver": "1.0.1001",
90
- "@teambit/envs": "1.0.1001",
91
- "@teambit/isolator": "1.0.1001",
92
- "@teambit/objects": "0.0.508",
93
- "@teambit/graph": "1.0.1001",
94
- "@teambit/graphql": "1.0.1001",
95
- "@teambit/ui": "1.0.1001",
96
- "@teambit/command-bar": "1.0.1001",
97
- "@teambit/component-tree": "1.0.1001",
98
- "@teambit/sidebar": "1.0.1001"
71
+ "@teambit/aspect-loader": "1.0.1003",
72
+ "@teambit/cli": "0.0.1330",
73
+ "@teambit/compiler": "1.0.1003",
74
+ "@teambit/component": "1.0.1003",
75
+ "@teambit/config-store": "0.0.211",
76
+ "@teambit/dependency-resolver": "1.0.1003",
77
+ "@teambit/envs": "1.0.1003",
78
+ "@teambit/isolator": "1.0.1003",
79
+ "@teambit/legacy.constants": "0.0.29",
80
+ "@teambit/logger": "0.0.1423",
81
+ "@teambit/objects": "0.0.510",
82
+ "@teambit/harmony.modules.in-memory-cache": "0.0.33",
83
+ "@teambit/legacy.consumer-component": "0.0.121",
84
+ "@teambit/legacy.scope-api": "0.0.175",
85
+ "@teambit/component.snap-distance": "0.0.121",
86
+ "@teambit/express": "0.0.1429",
87
+ "@teambit/graph": "1.0.1003",
88
+ "@teambit/graphql": "1.0.1003",
89
+ "@teambit/legacy.extension-data": "0.0.122",
90
+ "@teambit/legacy.scope": "0.0.120",
91
+ "@teambit/pkg.modules.component-package-name": "0.0.127",
92
+ "@teambit/scope.network": "0.0.120",
93
+ "@teambit/scope.remote-actions": "0.0.120",
94
+ "@teambit/scope.remotes": "0.0.120",
95
+ "@teambit/ui": "1.0.1003",
96
+ "@teambit/command-bar": "1.0.1003",
97
+ "@teambit/component-tree": "1.0.1003",
98
+ "@teambit/sidebar": "1.0.1003"
99
99
  },
100
100
  "devDependencies": {
101
101
  "@types/fs-extra": "9.0.7",