@teambit/scope 1.0.12 → 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.
- package/dist/{preview-1696157448017.js → preview-1696302977046.js} +2 -2
- package/dist/scope.composition.d.ts +2 -2
- package/dist/scope.ui.runtime.d.ts +2 -2
- package/dist/ui/menu/menu.d.ts +3 -3
- package/dist/ui/scope-overview/scope-overview.d.ts +3 -3
- package/dist/ui/scope.d.ts +2 -2
- package/package.json +17 -17
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.scope_scope@1.0.
|
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.scope_scope@1.0.
|
|
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
|
-
|
|
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;
|
package/dist/ui/menu/menu.d.ts
CHANGED
|
@@ -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 {};
|
package/dist/ui/scope.d.ts
CHANGED
|
@@ -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.
|
|
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.
|
|
9
|
+
"version": "1.0.14"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"fs-extra": "10.0.0",
|
|
@@ -51,34 +51,34 @@
|
|
|
51
51
|
"@teambit/ui-foundation.ui.full-loader": "0.0.500",
|
|
52
52
|
"@teambit/ui-foundation.ui.hooks.use-is-mobile": "0.0.197",
|
|
53
53
|
"@teambit/ui-foundation.ui.top-bar": "0.0.514",
|
|
54
|
+
"@teambit/ui-foundation.ui.use-box.dropdown": "0.0.141",
|
|
55
|
+
"@teambit/ui-foundation.ui.use-box.scope-menu": "0.0.143",
|
|
54
56
|
"@teambit/explorer.ui.gallery.component-card": "0.0.513",
|
|
55
57
|
"@teambit/explorer.ui.gallery.component-grid": "0.0.496",
|
|
56
58
|
"@teambit/scope.ui.empty-scope": "0.0.509",
|
|
57
59
|
"@teambit/scope.ui.scope-details": "0.0.526",
|
|
58
|
-
"@teambit/ui-foundation.ui.use-box.dropdown": "0.0.141",
|
|
59
|
-
"@teambit/ui-foundation.ui.use-box.scope-menu": "0.0.143",
|
|
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.
|
|
62
|
+
"@teambit/aspect-loader": "1.0.14",
|
|
63
63
|
"@teambit/cli": "0.0.793",
|
|
64
|
-
"@teambit/compiler": "1.0.
|
|
65
|
-
"@teambit/component": "1.0.
|
|
66
|
-
"@teambit/dependency-resolver": "1.0.
|
|
67
|
-
"@teambit/envs": "1.0.
|
|
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.
|
|
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.
|
|
73
|
+
"@teambit/builder": "1.0.14",
|
|
74
74
|
"@teambit/express": "0.0.892",
|
|
75
|
-
"@teambit/graph": "1.0.
|
|
76
|
-
"@teambit/graphql": "1.0.
|
|
77
|
-
"@teambit/ui": "1.0.
|
|
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.
|
|
80
|
-
"@teambit/component-tree": "1.0.
|
|
81
|
-
"@teambit/sidebar": "1.0.
|
|
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
|
},
|