@teambit/workspace 0.0.675 → 0.0.678
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/ui/workspace-components-drawer/workspace-components-drawer.module.scss +28 -18
- package/dist/ui/workspace-components-drawer/workspace-components.drawer.js +11 -19
- package/dist/ui/workspace-components-drawer/workspace-components.drawer.js.map +1 -1
- package/dist/workspace.composition.d.ts +2 -0
- package/dist/workspace.composition.js +35 -0
- package/dist/workspace.composition.js.map +1 -0
- package/dist/workspace.d.ts +1 -1
- package/dist/workspace.docs.mdx +2 -2
- package/dist/workspace.js +6 -4
- package/dist/workspace.js.map +1 -1
- package/package-tar/teambit-workspace-0.0.678.tgz +0 -0
- package/package.json +30 -31
- package/preview-1647487436311.js +2 -0
- package/ui/workspace-components-drawer/workspace-components-drawer.module.scss +28 -18
- package/ui/workspace-components-drawer/workspace-components.drawer.tsx +9 -8
- package/workspace.composition.tsx +7 -0
- package/workspace.docs.mdx +2 -2
- package/package-tar/teambit-workspace-0.0.675.tgz +0 -0
- package/preview-1647228138686.js +0 -1
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/workspace",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.678",
|
|
4
4
|
"homepage": "https://bit.dev/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.678"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"lodash": "4.17.21",
|
|
@@ -39,46 +39,45 @@
|
|
|
39
39
|
"@teambit/base-ui.surfaces.split-pane.hover-splitter": "1.0.0",
|
|
40
40
|
"@teambit/base-ui.surfaces.split-pane.split-pane": "1.0.0",
|
|
41
41
|
"@teambit/design.ui.input.toggle": "1.0.12",
|
|
42
|
-
"@teambit/evangelist.elements.icon": "1.0.2",
|
|
43
42
|
"@teambit/component-id": "0.0.401",
|
|
44
43
|
"@teambit/bit-error": "0.0.394",
|
|
45
44
|
"@teambit/legacy-bit-id": "0.0.398",
|
|
46
|
-
"@teambit/logger": "0.0.
|
|
47
|
-
"@teambit/scope": "0.0.
|
|
48
|
-
"@teambit/cli": "0.0.
|
|
49
|
-
"@teambit/isolator": "0.0.
|
|
50
|
-
"@teambit/component-tree": "0.0.
|
|
45
|
+
"@teambit/logger": "0.0.545",
|
|
46
|
+
"@teambit/scope": "0.0.678",
|
|
47
|
+
"@teambit/cli": "0.0.453",
|
|
48
|
+
"@teambit/isolator": "0.0.678",
|
|
49
|
+
"@teambit/component-tree": "0.0.466",
|
|
51
50
|
"@teambit/component.ui.component-status-resolver": "0.0.492",
|
|
52
|
-
"@teambit/lanes.ui.lanes": "0.0.
|
|
51
|
+
"@teambit/lanes.ui.lanes": "0.0.16",
|
|
53
52
|
"@teambit/harmony.modules.resolved-component": "0.0.484",
|
|
54
|
-
"@teambit/dependency-resolver": "0.0.
|
|
55
|
-
"@teambit/compiler": "0.0.
|
|
56
|
-
"@teambit/component": "0.0.
|
|
57
|
-
"@teambit/graphql": "0.0.
|
|
58
|
-
"@teambit/aspect-loader": "0.0.
|
|
59
|
-
"@teambit/bundler": "0.0.
|
|
60
|
-
"@teambit/envs": "0.0.
|
|
61
|
-
"@teambit/pubsub": "0.0.
|
|
62
|
-
"@teambit/ui": "0.0.
|
|
63
|
-
"@teambit/variants": "0.0.
|
|
53
|
+
"@teambit/dependency-resolver": "0.0.678",
|
|
54
|
+
"@teambit/compiler": "0.0.678",
|
|
55
|
+
"@teambit/component": "0.0.678",
|
|
56
|
+
"@teambit/graphql": "0.0.678",
|
|
57
|
+
"@teambit/aspect-loader": "0.0.678",
|
|
58
|
+
"@teambit/bundler": "0.0.678",
|
|
59
|
+
"@teambit/envs": "0.0.678",
|
|
60
|
+
"@teambit/pubsub": "0.0.678",
|
|
61
|
+
"@teambit/ui": "0.0.678",
|
|
62
|
+
"@teambit/variants": "0.0.549",
|
|
64
63
|
"@teambit/component-issues": "0.0.46",
|
|
65
|
-
"@teambit/config": "0.0.
|
|
64
|
+
"@teambit/config": "0.0.466",
|
|
66
65
|
"@teambit/harmony.modules.requireable-component": "0.0.484",
|
|
67
|
-
"@teambit/importer": "0.0.
|
|
66
|
+
"@teambit/importer": "0.0.107",
|
|
68
67
|
"@teambit/workspace.modules.match-pattern": "0.0.489",
|
|
69
|
-
"@teambit/command-bar": "0.0.
|
|
68
|
+
"@teambit/command-bar": "0.0.678",
|
|
70
69
|
"@teambit/design.ui.surfaces.menu.link-item": "0.0.379",
|
|
71
|
-
"@teambit/graph": "0.0.
|
|
72
|
-
"@teambit/react-router": "0.0.
|
|
73
|
-
"@teambit/sidebar": "0.0.
|
|
70
|
+
"@teambit/graph": "0.0.678",
|
|
71
|
+
"@teambit/react-router": "0.0.678",
|
|
72
|
+
"@teambit/sidebar": "0.0.678",
|
|
74
73
|
"@teambit/ui-foundation.ui.main-dropdown": "0.0.486",
|
|
75
74
|
"@teambit/ui-foundation.ui.menu": "0.0.486",
|
|
76
75
|
"@teambit/ui-foundation.ui.react-router.slot-router": "0.0.488",
|
|
77
|
-
"@teambit/ui-foundation.ui.tree.drawer": "0.0.
|
|
76
|
+
"@teambit/ui-foundation.ui.tree.drawer": "0.0.496",
|
|
78
77
|
"@teambit/toolbox.time.time-format": "0.0.483",
|
|
79
78
|
"@teambit/ui-foundation.ui.hooks.use-data-query": "0.0.487",
|
|
80
|
-
"@teambit/component-descriptor": "0.0.
|
|
81
|
-
"@teambit/deprecation": "0.0.
|
|
79
|
+
"@teambit/component-descriptor": "0.0.18",
|
|
80
|
+
"@teambit/deprecation": "0.0.678",
|
|
82
81
|
"@teambit/ui-foundation.ui.constants.z-indexes": "0.0.487",
|
|
83
82
|
"@teambit/ui-foundation.ui.buttons.collapser": "0.0.193",
|
|
84
83
|
"@teambit/ui-foundation.ui.corner": "0.0.494",
|
|
@@ -88,7 +87,7 @@
|
|
|
88
87
|
"@teambit/design.ui.styles.muted-italic": "0.0.35",
|
|
89
88
|
"@teambit/design.ui.tree": "0.0.5",
|
|
90
89
|
"@teambit/ui-foundation.ui.full-loader": "0.0.486",
|
|
91
|
-
"@teambit/ui-foundation.ui.side-bar": "0.0.
|
|
90
|
+
"@teambit/ui-foundation.ui.side-bar": "0.0.513",
|
|
92
91
|
"@teambit/explorer.ui.gallery.component-grid": "0.0.486",
|
|
93
92
|
"@teambit/workspace.ui.empty-workspace": "0.0.489",
|
|
94
93
|
"@teambit/workspace.ui.workspace-component-card": "0.0.495"
|
|
@@ -112,7 +111,7 @@
|
|
|
112
111
|
},
|
|
113
112
|
"peerDependencies": {
|
|
114
113
|
"@apollo/client": "^3.0.0",
|
|
115
|
-
"@teambit/legacy": "1.0.
|
|
114
|
+
"@teambit/legacy": "1.0.232",
|
|
116
115
|
"react-dom": "^16.8.0 || ^17.0.0",
|
|
117
116
|
"react": "^16.8.0 || ^17.0.0"
|
|
118
117
|
},
|
|
@@ -140,7 +139,7 @@
|
|
|
140
139
|
"react": "-"
|
|
141
140
|
},
|
|
142
141
|
"peerDependencies": {
|
|
143
|
-
"@teambit/legacy": "1.0.
|
|
142
|
+
"@teambit/legacy": "1.0.232",
|
|
144
143
|
"react-dom": "^16.8.0 || ^17.0.0",
|
|
145
144
|
"react": "^16.8.0 || ^17.0.0"
|
|
146
145
|
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export const compositions = [require('/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_workspace@0.0.678/dist/workspace.composition.js')]
|
|
2
|
+
export const overview = [require('/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_workspace@0.0.678/dist/workspace.docs.mdx')]
|
|
@@ -3,8 +3,26 @@
|
|
|
3
3
|
display: block;
|
|
4
4
|
}
|
|
5
5
|
|
|
6
|
-
.
|
|
7
|
-
|
|
6
|
+
.widgetIcon {
|
|
7
|
+
padding: 4px;
|
|
8
|
+
border-radius: 8px;
|
|
9
|
+
align-items: center;
|
|
10
|
+
display: flex;
|
|
11
|
+
&:hover,
|
|
12
|
+
&.open {
|
|
13
|
+
background-color: var(--bit-border-color-lightest, #ededed);
|
|
14
|
+
}
|
|
15
|
+
img {
|
|
16
|
+
width: 16px;
|
|
17
|
+
}
|
|
18
|
+
&:active img,
|
|
19
|
+
&.open img {
|
|
20
|
+
filter: invert(38%) sepia(33%) saturate(7140%) hue-rotate(234deg) brightness(96%) contrast(87%);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.filterWidgetIcon {
|
|
25
|
+
margin-right: 8px;
|
|
8
26
|
}
|
|
9
27
|
|
|
10
28
|
.deprecateFilter {
|
|
@@ -15,27 +33,19 @@
|
|
|
15
33
|
padding: 8px;
|
|
16
34
|
margin: 4px 8px;
|
|
17
35
|
|
|
18
|
-
|
|
36
|
+
> div {
|
|
19
37
|
line-height: 16px;
|
|
20
38
|
display: flex;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.filterIcon {
|
|
42
|
+
img {
|
|
43
|
+
width: 16px;
|
|
44
|
+
}
|
|
21
45
|
|
|
22
46
|
.filterIconLabel {
|
|
23
47
|
margin: 0px 8px;
|
|
24
|
-
font-size:
|
|
48
|
+
font-size: 14px;
|
|
25
49
|
}
|
|
26
50
|
}
|
|
27
51
|
}
|
|
28
|
-
|
|
29
|
-
.filterWidgetIcon {
|
|
30
|
-
margin-right: 12px;
|
|
31
|
-
padding: 4px;
|
|
32
|
-
|
|
33
|
-
&:hover {
|
|
34
|
-
background: white;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
&.open {
|
|
38
|
-
color: var(--bit-accent-color, #6c5ce7);
|
|
39
|
-
background-color: var(--bit-bg-heavy, #f6f6f6);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
@@ -8,7 +8,6 @@ import {
|
|
|
8
8
|
NamespaceTreeNode,
|
|
9
9
|
ScopePayload,
|
|
10
10
|
} from '@teambit/ui-foundation.ui.side-bar';
|
|
11
|
-
import { Icon } from '@teambit/evangelist.elements.icon';
|
|
12
11
|
import { TreeNodeProps } from '@teambit/design.ui.tree';
|
|
13
12
|
import React, { useCallback, useContext, useState, createContext } from 'react';
|
|
14
13
|
import classNames from 'classnames';
|
|
@@ -114,17 +113,19 @@ function TreeToggleWidget() {
|
|
|
114
113
|
const icon = collapsed
|
|
115
114
|
? 'https://static.bit.dev/bit-icons/expand.svg'
|
|
116
115
|
: 'https://static.bit.dev/bit-icons/collapse.svg';
|
|
117
|
-
return
|
|
116
|
+
return (
|
|
117
|
+
<div className={styles.widgetIcon}>
|
|
118
|
+
<img src={icon} onClick={() => setCollapsed(!collapsed)} />
|
|
119
|
+
</div>
|
|
120
|
+
);
|
|
118
121
|
}
|
|
119
122
|
|
|
120
123
|
function FilterWidget() {
|
|
121
124
|
const { filterOpen, setFilterOpen } = useContext(WorkspaceTreeContext);
|
|
122
125
|
return (
|
|
123
|
-
<
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
onClick={() => setFilterOpen(!filterOpen)}
|
|
127
|
-
/>
|
|
126
|
+
<div className={classNames(styles.widgetIcon, styles.filterWidgetIcon, filterOpen && styles.open)}>
|
|
127
|
+
<img src="https://static.bit.dev/bit-icons/filter.svg" onClick={() => setFilterOpen(!filterOpen)} />
|
|
128
|
+
</div>
|
|
128
129
|
);
|
|
129
130
|
}
|
|
130
131
|
|
|
@@ -137,7 +138,7 @@ function DeprecateFilter() {
|
|
|
137
138
|
return (
|
|
138
139
|
<div className={classNames(styles.deprecateFilter, isActive && styles.active)}>
|
|
139
140
|
<div className={styles.filterIcon}>
|
|
140
|
-
<
|
|
141
|
+
<img src="https://static.bit.dev/bit-icons/deprecated.svg" />
|
|
141
142
|
<span className={styles.filterIconLabel}>Deprecated</span>
|
|
142
143
|
</div>
|
|
143
144
|
<div>
|
package/workspace.docs.mdx
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: A
|
|
3
|
-
labels: ['core aspect']
|
|
2
|
+
description: A development workspace for distributed, component-driven software.
|
|
3
|
+
labels: ['core aspect', 'bit']
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
import WorkspaceOverview from '@teambit/workspace.content.workspace-overview';
|
|
Binary file
|
package/preview-1647228138686.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export const overview = [require('/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_workspace@0.0.675/dist/workspace.docs.mdx')]
|