@teambit/scope 1.0.1002 → 1.0.1004
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/{preview-1780084871933.js → preview-1780524843617.js} +2 -2
- package/dist/scope.composition.d.ts +2 -1
- package/dist/scope.ui.runtime.d.ts +2 -2
- package/dist/ui/menu/menu.d.ts +3 -2
- package/dist/ui/scope-overview/scope-overview.d.ts +3 -2
- package/dist/ui/scope.d.ts +1 -1
- package/package.json +32 -32
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.scope_scope@1.0.
|
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.scope_scope@1.0.
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.scope_scope@1.0.1004/dist/scope.composition.js';
|
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.scope_scope@1.0.1004/dist/scope.docs.mdx';
|
|
3
3
|
|
|
4
4
|
export const compositions = [compositions_0];
|
|
5
5
|
export const overview = [overview_0];
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
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):
|
|
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():
|
|
128
|
+
getScopeMenu(): React.JSX.Element;
|
|
129
129
|
private registerExplicitRoutes;
|
|
130
130
|
registerMenuWidget(...menuItems: MenuWidget[]): void;
|
|
131
131
|
registerCorner(corner: Corner): void;
|
package/dist/ui/menu/menu.d.ts
CHANGED
|
@@ -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):
|
|
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):
|
|
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):
|
|
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):
|
|
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>[];
|
package/dist/ui/scope.d.ts
CHANGED
|
@@ -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):
|
|
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.
|
|
3
|
+
"version": "1.0.1004",
|
|
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.
|
|
9
|
+
"version": "1.0.1004"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"fs-extra": "10.0.0",
|
|
@@ -27,6 +27,8 @@
|
|
|
27
27
|
"@teambit/bit-error": "0.0.404",
|
|
28
28
|
"@teambit/harmony.modules.requireable-component": "0.0.514",
|
|
29
29
|
"@teambit/harmony": "0.4.7",
|
|
30
|
+
"@teambit/legacy.constants": "0.0.29",
|
|
31
|
+
"@teambit/harmony.modules.in-memory-cache": "0.0.33",
|
|
30
32
|
"@teambit/bit.get-bit-version": "0.0.16",
|
|
31
33
|
"@teambit/legacy-component-log": "0.0.418",
|
|
32
34
|
"@teambit/component-id": "1.2.4",
|
|
@@ -58,6 +60,8 @@
|
|
|
58
60
|
"@teambit/ui-foundation.ui.full-loader": "0.0.500",
|
|
59
61
|
"@teambit/ui-foundation.ui.hooks.use-is-mobile": "0.0.200",
|
|
60
62
|
"@teambit/ui-foundation.ui.top-bar": "0.0.515",
|
|
63
|
+
"@teambit/ui-foundation.ui.use-box.dropdown": "0.0.151",
|
|
64
|
+
"@teambit/ui-foundation.ui.use-box.scope-menu": "0.0.147",
|
|
61
65
|
"@teambit/component-descriptor": "0.0.451",
|
|
62
66
|
"@teambit/design.ui.tooltip": "0.0.383",
|
|
63
67
|
"@teambit/explorer.ui.component-card": "0.0.52",
|
|
@@ -66,36 +70,32 @@
|
|
|
66
70
|
"@teambit/scope.ui.empty-scope": "0.0.510",
|
|
67
71
|
"@teambit/scope.ui.scope-details": "0.0.526",
|
|
68
72
|
"@teambit/scopes.scope-id": "0.0.9",
|
|
69
|
-
"@teambit/
|
|
70
|
-
"@teambit/
|
|
71
|
-
"@teambit/
|
|
72
|
-
"@teambit/
|
|
73
|
-
"@teambit/
|
|
74
|
-
"@teambit/
|
|
75
|
-
"@teambit/
|
|
76
|
-
"@teambit/
|
|
77
|
-
"@teambit/
|
|
78
|
-
"@teambit/
|
|
79
|
-
"@teambit/legacy.
|
|
80
|
-
"@teambit/
|
|
81
|
-
"@teambit/
|
|
82
|
-
"@teambit/
|
|
83
|
-
"@teambit/
|
|
84
|
-
"@teambit/
|
|
85
|
-
"@teambit/
|
|
86
|
-
"@teambit/
|
|
87
|
-
"@teambit/
|
|
88
|
-
"@teambit/
|
|
89
|
-
"@teambit/
|
|
90
|
-
"@teambit/
|
|
91
|
-
"@teambit/
|
|
92
|
-
"@teambit/
|
|
93
|
-
"@teambit/
|
|
94
|
-
"@teambit/
|
|
95
|
-
"@teambit/ui": "1.0.1002",
|
|
96
|
-
"@teambit/command-bar": "1.0.1002",
|
|
97
|
-
"@teambit/component-tree": "1.0.1002",
|
|
98
|
-
"@teambit/sidebar": "1.0.1002"
|
|
73
|
+
"@teambit/aspect-loader": "1.0.1004",
|
|
74
|
+
"@teambit/cli": "0.0.1331",
|
|
75
|
+
"@teambit/compiler": "1.0.1004",
|
|
76
|
+
"@teambit/component": "1.0.1004",
|
|
77
|
+
"@teambit/config-store": "0.0.212",
|
|
78
|
+
"@teambit/dependency-resolver": "1.0.1004",
|
|
79
|
+
"@teambit/envs": "1.0.1004",
|
|
80
|
+
"@teambit/isolator": "1.0.1004",
|
|
81
|
+
"@teambit/logger": "0.0.1424",
|
|
82
|
+
"@teambit/objects": "0.0.511",
|
|
83
|
+
"@teambit/legacy.consumer-component": "0.0.122",
|
|
84
|
+
"@teambit/legacy.scope-api": "0.0.176",
|
|
85
|
+
"@teambit/component.snap-distance": "0.0.122",
|
|
86
|
+
"@teambit/express": "0.0.1430",
|
|
87
|
+
"@teambit/graph": "1.0.1004",
|
|
88
|
+
"@teambit/graphql": "1.0.1004",
|
|
89
|
+
"@teambit/legacy.extension-data": "0.0.123",
|
|
90
|
+
"@teambit/legacy.scope": "0.0.121",
|
|
91
|
+
"@teambit/pkg.modules.component-package-name": "0.0.128",
|
|
92
|
+
"@teambit/scope.network": "0.0.121",
|
|
93
|
+
"@teambit/scope.remote-actions": "0.0.121",
|
|
94
|
+
"@teambit/scope.remotes": "0.0.121",
|
|
95
|
+
"@teambit/ui": "1.0.1004",
|
|
96
|
+
"@teambit/command-bar": "1.0.1004",
|
|
97
|
+
"@teambit/component-tree": "1.0.1004",
|
|
98
|
+
"@teambit/sidebar": "1.0.1004"
|
|
99
99
|
},
|
|
100
100
|
"devDependencies": {
|
|
101
101
|
"@types/fs-extra": "9.0.7",
|