@teambit/workspace 0.0.1144 → 0.0.1146
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/bit-map.js +1 -1
- package/dist/bit-map.js.map +1 -1
- package/dist/build-graph-from-fs.js +3 -1
- package/dist/build-graph-from-fs.js.map +1 -1
- package/dist/build-graph-ids-from-fs.js +1 -1
- package/dist/build-graph-ids-from-fs.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js.map +1 -1
- package/dist/{preview-1693279117198.js → preview-1693538278577.js} +2 -2
- package/dist/types.d.ts +1 -1
- package/dist/types.js.map +1 -1
- package/dist/ui/workspace/workspace.js +8 -1
- package/dist/ui/workspace/workspace.js.map +1 -1
- package/dist/ui/workspace/workspace.module.scss +4 -0
- package/dist/workspace-aspects-loader.js +1 -1
- package/dist/workspace-aspects-loader.js.map +1 -1
- package/dist/workspace.d.ts +1 -1
- package/dist/workspace.js +8 -5
- package/dist/workspace.js.map +1 -1
- package/package.json +38 -36
- package/ui/workspace/workspace.module.scss +4 -0
- package/ui/workspace/workspace.tsx +2 -1
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/workspace",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.1146",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/workspace/workspace",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.workspace",
|
|
8
8
|
"name": "workspace",
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.1146"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"lodash": "4.17.21",
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"detect-newline": "3.1.0",
|
|
23
23
|
"stringify-package": "1.0.1",
|
|
24
24
|
"@react-hook/latest": "1.0.3",
|
|
25
|
+
"classnames": "2.2.6",
|
|
25
26
|
"pluralize": "8.0.0",
|
|
26
27
|
"reset-css": "5.0.1",
|
|
27
28
|
"core-js": "^3.0.0",
|
|
@@ -35,53 +36,53 @@
|
|
|
35
36
|
"@teambit/base-ui.surfaces.split-pane.hover-splitter": "1.0.0",
|
|
36
37
|
"@teambit/base-ui.surfaces.split-pane.split-pane": "1.0.0",
|
|
37
38
|
"@teambit/explorer.ui.gallery.component-grid": "0.0.496",
|
|
38
|
-
"@teambit/component": "0.0.
|
|
39
|
-
"@teambit/dependency-resolver": "0.0.
|
|
40
|
-
"@teambit/envs": "0.0.
|
|
39
|
+
"@teambit/component": "0.0.1146",
|
|
40
|
+
"@teambit/dependency-resolver": "0.0.1146",
|
|
41
|
+
"@teambit/envs": "0.0.1146",
|
|
41
42
|
"@teambit/bit-error": "0.0.402",
|
|
42
|
-
"@teambit/lane-id": "0.0.
|
|
43
|
-
"@teambit/logger": "0.0.
|
|
44
|
-
"@teambit/scope": "0.0.
|
|
45
|
-
"@teambit/graph": "0.0.
|
|
46
|
-
"@teambit/cli": "0.0.
|
|
47
|
-
"@teambit/isolator": "0.0.
|
|
48
|
-
"@teambit/component-tree": "0.0.
|
|
43
|
+
"@teambit/lane-id": "0.0.281",
|
|
44
|
+
"@teambit/logger": "0.0.859",
|
|
45
|
+
"@teambit/scope": "0.0.1146",
|
|
46
|
+
"@teambit/graph": "0.0.1146",
|
|
47
|
+
"@teambit/cli": "0.0.766",
|
|
48
|
+
"@teambit/isolator": "0.0.1146",
|
|
49
|
+
"@teambit/component-tree": "0.0.934",
|
|
49
50
|
"@teambit/component.ui.component-status-resolver": "0.0.505",
|
|
50
51
|
"@teambit/harmony.modules.resolved-component": "0.0.491",
|
|
51
|
-
"@teambit/compiler": "0.0.
|
|
52
|
-
"@teambit/aspect-loader": "0.0.
|
|
53
|
-
"@teambit/config": "0.0.
|
|
54
|
-
"@teambit/global-config": "0.0.
|
|
52
|
+
"@teambit/compiler": "0.0.1146",
|
|
53
|
+
"@teambit/aspect-loader": "0.0.1146",
|
|
54
|
+
"@teambit/config": "0.0.781",
|
|
55
|
+
"@teambit/global-config": "0.0.768",
|
|
55
56
|
"@teambit/harmony.modules.requireable-component": "0.0.491",
|
|
56
57
|
"@teambit/toolbox.modules.module-resolver": "0.0.1",
|
|
57
|
-
"@teambit/workspace.modules.node-modules-linker": "0.0.
|
|
58
|
-
"@teambit/graphql": "0.0.
|
|
59
|
-
"@teambit/bundler": "0.0.
|
|
60
|
-
"@teambit/pubsub": "0.0.
|
|
61
|
-
"@teambit/ui": "0.0.
|
|
62
|
-
"@teambit/variants": "0.0.
|
|
58
|
+
"@teambit/workspace.modules.node-modules-linker": "0.0.108",
|
|
59
|
+
"@teambit/graphql": "0.0.1146",
|
|
60
|
+
"@teambit/bundler": "0.0.1146",
|
|
61
|
+
"@teambit/pubsub": "0.0.1146",
|
|
62
|
+
"@teambit/ui": "0.0.1146",
|
|
63
|
+
"@teambit/variants": "0.0.873",
|
|
63
64
|
"@teambit/component-issues": "0.0.95",
|
|
64
65
|
"@teambit/component-version": "1.0.0",
|
|
65
66
|
"@teambit/dependencies.modules.packages-excluder": "1.0.2",
|
|
66
67
|
"@teambit/workspace.modules.match-pattern": "0.0.498",
|
|
67
|
-
"@teambit/component.ui.component-drawer": "0.0.
|
|
68
|
-
"@teambit/lanes.hooks.use-lane-components": "0.0.
|
|
69
|
-
"@teambit/lanes.hooks.use-lanes": "0.0.
|
|
70
|
-
"@teambit/lanes.ui.models.lanes-model": "0.0.
|
|
71
|
-
"@teambit/ui-foundation.ui.side-bar": "0.0.
|
|
72
|
-
"@teambit/command-bar": "0.0.
|
|
73
|
-
"@teambit/component.ui.component-filters.component-filter-context": "0.0.
|
|
74
|
-
"@teambit/component.ui.component-filters.deprecate-filter": "0.0.
|
|
75
|
-
"@teambit/component.ui.component-filters.env-filter": "0.0.
|
|
76
|
-
"@teambit/component.ui.component-filters.show-main-filter": "0.0.
|
|
77
|
-
"@teambit/sidebar": "0.0.
|
|
68
|
+
"@teambit/component.ui.component-drawer": "0.0.324",
|
|
69
|
+
"@teambit/lanes.hooks.use-lane-components": "0.0.227",
|
|
70
|
+
"@teambit/lanes.hooks.use-lanes": "0.0.228",
|
|
71
|
+
"@teambit/lanes.ui.models.lanes-model": "0.0.181",
|
|
72
|
+
"@teambit/ui-foundation.ui.side-bar": "0.0.841",
|
|
73
|
+
"@teambit/command-bar": "0.0.1146",
|
|
74
|
+
"@teambit/component.ui.component-filters.component-filter-context": "0.0.188",
|
|
75
|
+
"@teambit/component.ui.component-filters.deprecate-filter": "0.0.188",
|
|
76
|
+
"@teambit/component.ui.component-filters.env-filter": "0.0.194",
|
|
77
|
+
"@teambit/component.ui.component-filters.show-main-filter": "0.0.181",
|
|
78
|
+
"@teambit/sidebar": "0.0.1146",
|
|
78
79
|
"@teambit/ui-foundation.ui.main-dropdown": "0.0.497",
|
|
79
80
|
"@teambit/ui-foundation.ui.menu": "0.0.497",
|
|
80
81
|
"@teambit/ui-foundation.ui.react-router.slot-router": "0.0.501",
|
|
81
82
|
"@teambit/ui-foundation.ui.tree.drawer": "0.0.512",
|
|
82
83
|
"@teambit/ui-foundation.ui.hooks.use-data-query": "0.0.500",
|
|
83
|
-
"@teambit/component-descriptor": "0.0.
|
|
84
|
-
"@teambit/deprecation": "0.0.
|
|
84
|
+
"@teambit/component-descriptor": "0.0.333",
|
|
85
|
+
"@teambit/deprecation": "0.0.1146",
|
|
85
86
|
"@teambit/ui-foundation.ui.constants.z-indexes": "0.0.499",
|
|
86
87
|
"@teambit/ui-foundation.ui.buttons.collapser": "0.0.207",
|
|
87
88
|
"@teambit/ui-foundation.ui.corner": "0.0.510",
|
|
@@ -97,6 +98,7 @@
|
|
|
97
98
|
"@types/fs-extra": "9.0.7",
|
|
98
99
|
"@types/find-root": "1.1.2",
|
|
99
100
|
"@types/memoizee": "0.4.5",
|
|
101
|
+
"@types/classnames": "2.2.11",
|
|
100
102
|
"@types/pluralize": "0.0.29",
|
|
101
103
|
"@types/mocha": "9.1.0",
|
|
102
104
|
"@types/node": "12.20.4",
|
|
@@ -108,7 +110,7 @@
|
|
|
108
110
|
"peerDependencies": {
|
|
109
111
|
"@apollo/client": "^3.6.0",
|
|
110
112
|
"react-router-dom": "^6.0.0",
|
|
111
|
-
"@teambit/legacy": "1.0.
|
|
113
|
+
"@teambit/legacy": "1.0.551",
|
|
112
114
|
"react": "^16.8.0 || ^17.0.0",
|
|
113
115
|
"react-dom": "^16.8.0 || ^17.0.0"
|
|
114
116
|
},
|
|
@@ -11,6 +11,7 @@ import { Collapser } from '@teambit/ui-foundation.ui.buttons.collapser';
|
|
|
11
11
|
import { SplitPane, Pane, Layout } from '@teambit/base-ui.surfaces.split-pane.split-pane';
|
|
12
12
|
import { HoverSplitter } from '@teambit/base-ui.surfaces.split-pane.hover-splitter';
|
|
13
13
|
import { TopBar } from '@teambit/ui-foundation.ui.top-bar';
|
|
14
|
+
import classNames from 'classnames';
|
|
14
15
|
|
|
15
16
|
import { useWorkspace } from './use-workspace';
|
|
16
17
|
import { WorkspaceOverview } from './workspace-overview';
|
|
@@ -54,7 +55,7 @@ export function Workspace({ routeSlot, menuSlot, sidebar, workspaceUI, onSidebar
|
|
|
54
55
|
/>
|
|
55
56
|
|
|
56
57
|
<SplitPane className={styles.main} size={264} layout={sidebarOpenness}>
|
|
57
|
-
<Pane className={styles.sidebar}>{sidebar}</Pane>
|
|
58
|
+
<Pane className={classNames(styles.sidebar, !isSidebarOpen && styles.closed)}>{sidebar}</Pane>
|
|
58
59
|
<HoverSplitter className={styles.splitter}>
|
|
59
60
|
<Collapser
|
|
60
61
|
isOpen={isSidebarOpen}
|