@teambit/scope 1.0.666 → 1.0.668

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.
Files changed (74) hide show
  1. package/debug-commands/cat-component-cmd.ts +1 -1
  2. package/debug-commands/cat-component.ts +3 -2
  3. package/debug-commands/cat-lane-cmd.ts +1 -1
  4. package/debug-commands/cat-lane.ts +2 -1
  5. package/debug-commands/cat-object-cmd.ts +1 -1
  6. package/debug-commands/cat-scope-cmd.ts +1 -1
  7. package/debug-commands/cat-scope.ts +4 -2
  8. package/dist/clear-cache-action.d.ts +1 -1
  9. package/dist/clear-cache-action.js.map +1 -1
  10. package/dist/debug-commands/cat-component-cmd.d.ts +1 -1
  11. package/dist/debug-commands/cat-component-cmd.js.map +1 -1
  12. package/dist/debug-commands/cat-component.js.map +1 -1
  13. package/dist/debug-commands/cat-lane-cmd.d.ts +1 -1
  14. package/dist/debug-commands/cat-lane-cmd.js.map +1 -1
  15. package/dist/debug-commands/cat-lane.js.map +1 -1
  16. package/dist/debug-commands/cat-object-cmd.d.ts +1 -1
  17. package/dist/debug-commands/cat-object-cmd.js.map +1 -1
  18. package/dist/debug-commands/cat-scope-cmd.d.ts +1 -1
  19. package/dist/debug-commands/cat-scope-cmd.js.map +1 -1
  20. package/dist/debug-commands/cat-scope.d.ts +1 -1
  21. package/dist/debug-commands/cat-scope.js.map +1 -1
  22. package/dist/exceptions/component-not-found.d.ts +1 -1
  23. package/dist/exceptions/component-not-found.js.map +1 -1
  24. package/dist/get-scope-options.d.ts +3 -3
  25. package/dist/get-scope-options.js.map +1 -1
  26. package/dist/{preview-1753803956605.js → preview-1753833698619.js} +2 -2
  27. package/dist/routes/action.route.d.ts +3 -2
  28. package/dist/routes/action.route.js.map +1 -1
  29. package/dist/routes/delete.route.d.ts +3 -2
  30. package/dist/routes/delete.route.js.map +1 -1
  31. package/dist/routes/fetch.route.d.ts +4 -3
  32. package/dist/routes/fetch.route.js.map +1 -1
  33. package/dist/routes/put.route.d.ts +3 -2
  34. package/dist/routes/put.route.js.map +1 -1
  35. package/dist/run-action/run-action.cmd.d.ts +1 -1
  36. package/dist/run-action/run-action.cmd.js.map +1 -1
  37. package/dist/run-action/run-action.js.map +1 -1
  38. package/dist/scope-aspects-loader.d.ts +10 -10
  39. package/dist/scope-aspects-loader.js.map +1 -1
  40. package/dist/scope-cmd.d.ts +1 -1
  41. package/dist/scope-cmd.js.map +1 -1
  42. package/dist/scope-component-loader.d.ts +4 -3
  43. package/dist/scope-component-loader.js.map +1 -1
  44. package/dist/scope.graphql.d.ts +2 -2
  45. package/dist/scope.graphql.js.map +1 -1
  46. package/dist/scope.main.runtime.d.ts +26 -26
  47. package/dist/scope.main.runtime.js.map +1 -1
  48. package/dist/scope.ui-root.d.ts +3 -3
  49. package/dist/scope.ui-root.js.map +1 -1
  50. package/dist/scope.ui.drawer.d.ts +5 -4
  51. package/dist/scope.ui.drawer.js.map +1 -1
  52. package/dist/scope.ui.runtime.d.ts +17 -16
  53. package/dist/scope.ui.runtime.js.map +1 -1
  54. package/dist/staged-config.d.ts +4 -3
  55. package/dist/staged-config.js.map +1 -1
  56. package/dist/ui/menu/menu.d.ts +1 -1
  57. package/dist/ui/menu/menu.js.map +1 -1
  58. package/dist/ui/scope-overview/scope-overview.d.ts +4 -4
  59. package/dist/ui/scope-overview/scope-overview.js.map +1 -1
  60. package/dist/ui/scope.d.ts +2 -2
  61. package/dist/ui/scope.js.map +1 -1
  62. package/exceptions/component-not-found.ts +1 -1
  63. package/package.json +41 -41
  64. package/routes/action.route.ts +3 -2
  65. package/routes/delete.route.ts +3 -2
  66. package/routes/fetch.route.ts +4 -3
  67. package/routes/put.route.ts +3 -2
  68. package/run-action/run-action.cmd.ts +1 -1
  69. package/run-action/run-action.ts +2 -1
  70. package/scope.ui.drawer.tsx +6 -5
  71. package/scope.ui.runtime.tsx +23 -21
  72. package/ui/menu/menu.tsx +2 -1
  73. package/ui/scope-overview/scope-overview.tsx +5 -4
  74. package/ui/scope.tsx +5 -3
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/scope",
3
- "version": "1.0.666",
3
+ "version": "1.0.668",
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.666"
9
+ "version": "1.0.668"
10
10
  },
11
11
  "dependencies": {
12
12
  "fs-extra": "10.0.0",
@@ -20,39 +20,21 @@
20
20
  "cli-table": "0.3.6",
21
21
  "classnames": "2.2.6",
22
22
  "reset-css": "5.0.1",
23
- "@teambit/component.modules.component-url": "0.0.177",
24
- "@teambit/scope.models.scope-model": "0.0.530",
25
23
  "@teambit/ui-foundation.ui.tree.drawer": "0.0.518",
26
- "@teambit/scope.ui.hooks.scope-context": "0.0.524",
27
24
  "@teambit/bit-error": "0.0.404",
28
- "@teambit/harmony.modules.requireable-component": "0.0.503",
29
25
  "@teambit/harmony": "0.4.7",
30
26
  "@teambit/legacy.constants": "0.0.13",
31
- "@teambit/harmony.modules.in-memory-cache": "0.0.15",
32
- "@teambit/legacy.consumer-component": "0.0.58",
33
27
  "@teambit/bit.get-bit-version": "0.0.6",
34
28
  "@teambit/legacy-component-log": "0.0.408",
35
- "@teambit/legacy.scope-api": "0.0.112",
36
29
  "@teambit/component-id": "1.2.4",
37
- "@teambit/component.snap-distance": "0.0.58",
38
30
  "@teambit/graph.cleargraph": "0.0.11",
39
31
  "@teambit/legacy-bit-id": "1.1.3",
40
- "@teambit/legacy.extension-data": "0.0.59",
41
- "@teambit/legacy.scope": "0.0.57",
42
- "@teambit/pkg.modules.component-package-name": "0.0.64",
43
- "@teambit/scope.network": "0.0.57",
44
- "@teambit/scope.remote-actions": "0.0.57",
45
- "@teambit/scope.remotes": "0.0.57",
46
32
  "@teambit/workspace.modules.match-pattern": "0.0.510",
47
- "@teambit/component.ui.component-drawer": "0.0.450",
48
33
  "@teambit/design.ui.tree": "0.0.16",
49
- "@teambit/lanes.hooks.use-lane-components": "0.0.285",
50
34
  "@teambit/lanes.hooks.use-lanes": "0.0.289",
51
35
  "@teambit/lanes.ui.models.lanes-model": "0.0.228",
52
- "@teambit/ui-foundation.ui.side-bar": "0.0.912",
53
36
  "@teambit/component.ui.component-filters.component-filter-context": "0.0.238",
54
37
  "@teambit/component.ui.component-filters.deprecate-filter": "0.0.236",
55
- "@teambit/component.ui.component-filters.env-filter": "0.0.254",
56
38
  "@teambit/component.ui.component-filters.show-main-filter": "0.0.229",
57
39
  "@teambit/design.ui.surfaces.menu.link-item": "1.0.12",
58
40
  "@teambit/ui-foundation.ui.main-dropdown": "0.0.503",
@@ -69,35 +51,53 @@
69
51
  "@teambit/ui-foundation.ui.hooks.use-is-mobile": "0.0.199",
70
52
  "@teambit/ui-foundation.ui.top-bar": "0.0.515",
71
53
  "@teambit/scope.ui.hooks.use-scope": "0.0.456",
72
- "@teambit/component-descriptor": "0.0.436",
73
54
  "@teambit/design.ui.tooltip": "0.0.378",
74
55
  "@teambit/explorer.ui.component-card": "0.0.50",
75
56
  "@teambit/explorer.ui.gallery.component-grid": "0.0.496",
76
- "@teambit/preview.ui.preview-placeholder": "0.0.545",
77
57
  "@teambit/scope.ui.empty-scope": "0.0.510",
78
58
  "@teambit/scope.ui.scope-details": "0.0.526",
79
59
  "@teambit/scopes.scope-id": "0.0.7",
80
60
  "@teambit/ui-foundation.ui.use-box.dropdown": "0.0.143",
81
61
  "@teambit/ui-foundation.ui.use-box.scope-menu": "0.0.147",
82
- "@teambit/aspect-loader": "1.0.666",
83
- "@teambit/cli": "0.0.1243",
84
- "@teambit/compiler": "1.0.666",
85
- "@teambit/component": "1.0.666",
86
- "@teambit/config-store": "0.0.123",
87
- "@teambit/dependency-resolver": "1.0.666",
88
- "@teambit/envs": "1.0.666",
89
- "@teambit/isolator": "1.0.666",
90
- "@teambit/logger": "0.0.1336",
91
- "@teambit/objects": "0.0.173",
92
- "@teambit/builder": "1.0.666",
93
- "@teambit/export": "1.0.666",
94
- "@teambit/express": "0.0.1342",
95
- "@teambit/graph": "1.0.666",
96
- "@teambit/graphql": "1.0.666",
97
- "@teambit/ui": "1.0.666",
98
- "@teambit/command-bar": "1.0.666",
99
- "@teambit/component-tree": "1.0.666",
100
- "@teambit/sidebar": "1.0.666"
62
+ "@teambit/component.modules.component-url": "0.0.178",
63
+ "@teambit/scope.models.scope-model": "0.0.531",
64
+ "@teambit/scope.ui.hooks.scope-context": "0.0.525",
65
+ "@teambit/aspect-loader": "1.0.668",
66
+ "@teambit/cli": "0.0.1245",
67
+ "@teambit/compiler": "1.0.668",
68
+ "@teambit/component": "1.0.668",
69
+ "@teambit/config-store": "0.0.125",
70
+ "@teambit/dependency-resolver": "1.0.668",
71
+ "@teambit/envs": "1.0.668",
72
+ "@teambit/harmony.modules.requireable-component": "0.0.504",
73
+ "@teambit/isolator": "1.0.668",
74
+ "@teambit/logger": "0.0.1338",
75
+ "@teambit/objects": "0.0.175",
76
+ "@teambit/harmony.modules.in-memory-cache": "0.0.16",
77
+ "@teambit/legacy.consumer-component": "0.0.59",
78
+ "@teambit/legacy.scope-api": "0.0.113",
79
+ "@teambit/builder": "1.0.668",
80
+ "@teambit/component.snap-distance": "0.0.59",
81
+ "@teambit/export": "1.0.668",
82
+ "@teambit/express": "0.0.1344",
83
+ "@teambit/graph": "1.0.668",
84
+ "@teambit/graphql": "1.0.668",
85
+ "@teambit/legacy.extension-data": "0.0.60",
86
+ "@teambit/legacy.scope": "0.0.58",
87
+ "@teambit/pkg.modules.component-package-name": "0.0.65",
88
+ "@teambit/scope.network": "0.0.58",
89
+ "@teambit/scope.remote-actions": "0.0.58",
90
+ "@teambit/scope.remotes": "0.0.58",
91
+ "@teambit/ui": "1.0.668",
92
+ "@teambit/component.ui.component-drawer": "0.0.451",
93
+ "@teambit/lanes.hooks.use-lane-components": "0.0.286",
94
+ "@teambit/ui-foundation.ui.side-bar": "0.0.913",
95
+ "@teambit/command-bar": "1.0.668",
96
+ "@teambit/component-tree": "1.0.668",
97
+ "@teambit/component.ui.component-filters.env-filter": "0.0.255",
98
+ "@teambit/sidebar": "1.0.668",
99
+ "@teambit/component-descriptor": "0.0.437",
100
+ "@teambit/preview.ui.preview-placeholder": "0.0.546"
101
101
  },
102
102
  "devDependencies": {
103
103
  "@types/fs-extra": "9.0.7",
@@ -1,7 +1,8 @@
1
- import { Route, Verb, Request, Response } from '@teambit/express';
1
+ import type { Route, Request, Response } from '@teambit/express';
2
+ import { Verb } from '@teambit/express';
2
3
  import { action } from '@teambit/legacy.scope-api';
3
4
  import { getAuthDataFromHeader } from '@teambit/scope.network';
4
- import { ScopeMain } from '../scope.main.runtime';
5
+ import type { ScopeMain } from '../scope.main.runtime';
5
6
 
6
7
  export class ActionRoute implements Route {
7
8
  constructor(private scope: ScopeMain) {}
@@ -1,5 +1,6 @@
1
- import { Route, Verb, Request, Response } from '@teambit/express';
2
- import { ScopeMain } from '../scope.main.runtime';
1
+ import type { Route, Request, Response } from '@teambit/express';
2
+ import { Verb } from '@teambit/express';
3
+ import type { ScopeMain } from '../scope.main.runtime';
3
4
 
4
5
  export class DeleteRoute implements Route {
5
6
  constructor(private scope: ScopeMain) {}
@@ -1,10 +1,11 @@
1
- import { Route, Verb, Request, Response } from '@teambit/express';
1
+ import type { Route, Request, Response } from '@teambit/express';
2
+ import { Verb } from '@teambit/express';
2
3
  import { fetch } from '@teambit/legacy.scope-api';
3
4
  import { ObjectList } from '@teambit/objects';
4
- import { Logger } from '@teambit/logger';
5
+ import type { Logger } from '@teambit/logger';
5
6
  // @ts-ignore
6
7
  import { pipeline } from 'stream/promises';
7
- import { ScopeMain } from '../scope.main.runtime';
8
+ import type { ScopeMain } from '../scope.main.runtime';
8
9
 
9
10
  export class FetchRoute implements Route {
10
11
  constructor(
@@ -1,7 +1,8 @@
1
- import { Route, Verb, Request, Response } from '@teambit/express';
1
+ import type { Route, Request, Response } from '@teambit/express';
2
+ import { Verb } from '@teambit/express';
2
3
  import { ObjectList } from '@teambit/objects';
3
4
  import { put } from '@teambit/legacy.scope-api';
4
- import { OnPostPutSlot, ScopeMain } from '../scope.main.runtime';
5
+ import type { OnPostPutSlot, ScopeMain } from '../scope.main.runtime';
5
6
 
6
7
  export class PutRoute implements Route {
7
8
  constructor(
@@ -1,5 +1,5 @@
1
1
  import { runAction } from './run-action';
2
- import { Command, CommandOptions } from '@teambit/cli';
2
+ import type { Command, CommandOptions } from '@teambit/cli';
3
3
 
4
4
  export class RunActionCmd implements Command {
5
5
  name = 'run-action <action-name> <remote> <options>';
@@ -1,4 +1,5 @@
1
- import { loadScope, Scope } from '@teambit/legacy.scope';
1
+ import type { Scope } from '@teambit/legacy.scope';
2
+ import { loadScope } from '@teambit/legacy.scope';
2
3
  import { getScopeRemotes } from '@teambit/scope.remotes';
3
4
 
4
5
  export async function runAction(actionName: string, remote: string, options = {}): Promise<any> {
@@ -1,14 +1,15 @@
1
1
  import React, { useContext } from 'react';
2
- import { ComponentsDrawer, ComponentFiltersSlot, DrawerWidgetSlot } from '@teambit/component.ui.component-drawer';
2
+ import type { ComponentFiltersSlot, DrawerWidgetSlot } from '@teambit/component.ui.component-drawer';
3
+ import { ComponentsDrawer } from '@teambit/component.ui.component-drawer';
3
4
  import { ComponentView, NamespaceTreeNode, ScopePayload, ScopeTreeNode } from '@teambit/ui-foundation.ui.side-bar';
4
5
  import type { PayloadType } from '@teambit/ui-foundation.ui.side-bar';
5
- import { TreeNode as TreeNodeType, TreeNodeProps } from '@teambit/design.ui.tree';
6
+ import type { TreeNode as TreeNodeType, TreeNodeProps } from '@teambit/design.ui.tree';
6
7
  import { useLanes as defaultUseLanesHook } from '@teambit/lanes.hooks.use-lanes';
7
8
  import { useLaneComponents } from '@teambit/lanes.hooks.use-lane-components';
8
- import { ComponentModel } from '@teambit/component';
9
+ import type { ComponentModel } from '@teambit/component';
9
10
  import { useScope, ScopeContext } from '@teambit/scope.ui.hooks.scope-context';
10
- import { LanesModel } from '@teambit/lanes.ui.models.lanes-model';
11
- import { SidebarSlot } from './scope.ui.runtime';
11
+ import type { LanesModel } from '@teambit/lanes.ui.models.lanes-model';
12
+ import type { SidebarSlot } from './scope.ui.runtime';
12
13
 
13
14
  export type ScopeDrawerProps = {
14
15
  treeWidgets: SidebarSlot;
@@ -1,36 +1,38 @@
1
1
  import type { ComponentUI, ComponentModel } from '@teambit/component';
2
2
  import { compact, flatten } from 'lodash';
3
3
  import { ComponentAspect } from '@teambit/component';
4
- import { Slot, SlotRegistry } from '@teambit/harmony';
4
+ import type { SlotRegistry } from '@teambit/harmony';
5
+ import { Slot } from '@teambit/harmony';
5
6
  import type { RouteSlot } from '@teambit/ui-foundation.ui.react-router.slot-router';
6
- import { SidebarAspect, SidebarUI, SidebarItem, SidebarItemSlot } from '@teambit/sidebar';
7
- import { ComponentTreeNode } from '@teambit/component-tree';
8
- import { UIAspect, UIRootUI as UIRoot, UIRuntime, UiUI } from '@teambit/ui';
9
- import React, { ComponentType, ReactNode } from 'react';
10
- import { MenuItemSlot, MenuItem } from '@teambit/ui-foundation.ui.main-dropdown';
11
- import { RouteProps } from 'react-router-dom';
12
- import { MenuWidget, MenuWidgetSlot } from '@teambit/ui-foundation.ui.menu';
7
+ import type { SidebarUI, SidebarItem, SidebarItemSlot } from '@teambit/sidebar';
8
+ import { SidebarAspect } from '@teambit/sidebar';
9
+ import type { ComponentTreeNode } from '@teambit/component-tree';
10
+ import type { UIRootUI as UIRoot, UiUI } from '@teambit/ui';
11
+ import { UIAspect, UIRuntime } from '@teambit/ui';
12
+ import type { ComponentType, ReactNode } from 'react';
13
+ import React from 'react';
14
+ import type { MenuItemSlot, MenuItem } from '@teambit/ui-foundation.ui.main-dropdown';
15
+ import type { RouteProps } from 'react-router-dom';
16
+ import type { MenuWidget, MenuWidgetSlot } from '@teambit/ui-foundation.ui.menu';
13
17
  import { MenuLinkItem } from '@teambit/design.ui.surfaces.menu.link-item';
14
- import { CommandBarAspect, CommandBarUI, CommandHandler } from '@teambit/command-bar';
15
- import { ScopeModel } from '@teambit/scope.models.scope-model';
16
- import { DrawerType } from '@teambit/ui-foundation.ui.tree.drawer';
17
- import { LanesModel } from '@teambit/lanes.ui.models.lanes-model';
18
- import {
19
- DrawerWidgetSlot,
20
- FilterWidget,
21
- TreeToggleWidget,
22
- ComponentFiltersSlot,
23
- } from '@teambit/component.ui.component-drawer';
24
- import { ComponentFilters } from '@teambit/component.ui.component-filters.component-filter-context';
18
+ import type { CommandBarUI, CommandHandler } from '@teambit/command-bar';
19
+ import { CommandBarAspect } from '@teambit/command-bar';
20
+ import type { ScopeModel } from '@teambit/scope.models.scope-model';
21
+ import type { DrawerType } from '@teambit/ui-foundation.ui.tree.drawer';
22
+ import type { LanesModel } from '@teambit/lanes.ui.models.lanes-model';
23
+ import type { DrawerWidgetSlot, ComponentFiltersSlot } from '@teambit/component.ui.component-drawer';
24
+ import { FilterWidget, TreeToggleWidget } from '@teambit/component.ui.component-drawer';
25
+ import type { ComponentFilters } from '@teambit/component.ui.component-filters.component-filter-context';
25
26
  import { DeprecateFilter } from '@teambit/component.ui.component-filters.deprecate-filter';
26
27
  import { EnvsFilter } from '@teambit/component.ui.component-filters.env-filter';
27
- import { ComponentUrlResolver, ComponentUrlProvider } from '@teambit/component.modules.component-url';
28
+ import type { ComponentUrlResolver } from '@teambit/component.modules.component-url';
29
+ import { ComponentUrlProvider } from '@teambit/component.modules.component-url';
28
30
  import { ShowMainFilter } from '@teambit/component.ui.component-filters.show-main-filter';
29
31
  import { ScopeMenu, ScopeUseBox } from './ui/menu';
30
32
  import { ScopeAspect } from './scope.aspect';
31
33
  import { Scope } from './ui/scope';
32
34
  import { scopeDrawer } from './scope.ui.drawer';
33
- import { GetScopeOptions } from './get-scope-options';
35
+ import type { GetScopeOptions } from './get-scope-options';
34
36
 
35
37
  export type ScopeBadge = ComponentType;
36
38
 
package/ui/menu/menu.tsx CHANGED
@@ -1,4 +1,5 @@
1
- import { Menu, MenuProps } from '@teambit/ui-foundation.ui.menu';
1
+ import type { MenuProps } from '@teambit/ui-foundation.ui.menu';
2
+ import { Menu } from '@teambit/ui-foundation.ui.menu';
2
3
  import { ScopeContext } from '@teambit/scope.ui.hooks.scope-context';
3
4
  import classNames from 'classnames';
4
5
  import React, { useContext } from 'react';
@@ -1,5 +1,6 @@
1
- import React, { useContext, ComponentType } from 'react';
2
- import { ScopeID } from '@teambit/scopes.scope-id';
1
+ import type { ComponentType } from 'react';
2
+ import React, { useContext } from 'react';
3
+ import type { ScopeID } from '@teambit/scopes.scope-id';
3
4
  import { ComponentGrid } from '@teambit/explorer.ui.gallery.component-grid';
4
5
  import { ScopeDetails } from '@teambit/scope.ui.scope-details';
5
6
  import { PreviewPlaceholder } from '@teambit/preview.ui.preview-placeholder';
@@ -7,9 +8,9 @@ import { EmptyScope } from '@teambit/scope.ui.empty-scope';
7
8
  import { Tooltip } from '@teambit/design.ui.tooltip';
8
9
  import { ComponentID } from '@teambit/component-id';
9
10
  import { ComponentCard, type ComponentCardPluginType, type PluginProps } from '@teambit/explorer.ui.component-card';
10
- import { ComponentModel } from '@teambit/component';
11
+ import type { ComponentModel } from '@teambit/component';
11
12
  import { ScopeContext } from '@teambit/scope.ui.hooks.scope-context';
12
- import { ComponentDescriptor } from '@teambit/component-descriptor';
13
+ import type { ComponentDescriptor } from '@teambit/component-descriptor';
13
14
  import styles from './scope-overview.module.scss';
14
15
  import type { ScopeBadgeSlot, OverviewLineSlot } from '../../scope.ui.runtime';
15
16
 
package/ui/scope.tsx CHANGED
@@ -1,4 +1,5 @@
1
- import React, { useReducer, ComponentType, ReactNode } from 'react';
1
+ import type { ComponentType, ReactNode } from 'react';
2
+ import React, { useReducer } from 'react';
2
3
  import 'reset-css';
3
4
  import classNames from 'classnames';
4
5
  import { SplitPane, Pane, Layout } from '@teambit/base-ui.surfaces.split-pane.split-pane';
@@ -8,7 +9,8 @@ import { Corner } from '@teambit/ui-foundation.ui.corner';
8
9
  import { Collapser } from '@teambit/ui-foundation.ui.buttons.collapser';
9
10
  import { HoverSplitter } from '@teambit/base-ui.surfaces.split-pane.hover-splitter';
10
11
  import { TopBar } from '@teambit/ui-foundation.ui.top-bar';
11
- import { Composer, ComponentTuple } from '@teambit/base-ui.utils.composer';
12
+ import type { ComponentTuple } from '@teambit/base-ui.utils.composer';
13
+ import { Composer } from '@teambit/base-ui.utils.composer';
12
14
  import { FullLoader } from '@teambit/ui-foundation.ui.full-loader';
13
15
  import { Route } from 'react-router-dom';
14
16
  import { useIsMobile } from '@teambit/ui-foundation.ui.hooks.use-is-mobile';
@@ -17,7 +19,7 @@ import { useScopeQuery } from '@teambit/scope.ui.hooks.use-scope';
17
19
  import type { ScopeModel } from '@teambit/scope.models.scope-model';
18
20
  import { ScopeOverview } from './scope-overview';
19
21
  import styles from './scope.module.scss';
20
- import { ScopeUI, ScopeBadgeSlot, ScopeContextType, CornerSlot, OverviewLineSlot } from '../scope.ui.runtime';
22
+ import type { ScopeUI, ScopeBadgeSlot, ScopeContextType, CornerSlot, OverviewLineSlot } from '../scope.ui.runtime';
21
23
 
22
24
  export type ScopeProps = {
23
25
  routeSlot: RouteSlot;