@teambit/workspace 0.0.692 → 0.0.695
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/component-tree.widget.tsx +1 -1
- package/dist/component-tree.widget.js +1 -1
- package/dist/component-tree.widget.js.map +1 -1
- package/package-tar/teambit-workspace-0.0.695.tgz +0 -0
- package/package.json +35 -35
- package/{preview-1648437892896.js → preview-1648696872583.js} +2 -2
- package/package-tar/teambit-workspace-0.0.692.tgz +0 -0
|
@@ -13,7 +13,7 @@ export class ComponentTreeWidget implements ComponentTreeNode {
|
|
|
13
13
|
|
|
14
14
|
const isInCurrentLane = useMemo(() => {
|
|
15
15
|
return workspaceComponent?.id && lanes?.isInCurrentLane(workspaceComponent.id);
|
|
16
|
-
}, [lanes?.
|
|
16
|
+
}, [lanes?.viewedLane, workspaceComponent?.id]);
|
|
17
17
|
|
|
18
18
|
if (!workspaceComponent) return null;
|
|
19
19
|
|
|
@@ -71,7 +71,7 @@ class ComponentTreeWidget {
|
|
|
71
71
|
const lanes = (0, _lanesUi().useLanesContext)();
|
|
72
72
|
const isInCurrentLane = (0, _react().useMemo)(() => {
|
|
73
73
|
return (workspaceComponent === null || workspaceComponent === void 0 ? void 0 : workspaceComponent.id) && (lanes === null || lanes === void 0 ? void 0 : lanes.isInCurrentLane(workspaceComponent.id));
|
|
74
|
-
}, [lanes === null || lanes === void 0 ? void 0 : lanes.
|
|
74
|
+
}, [lanes === null || lanes === void 0 ? void 0 : lanes.viewedLane, workspaceComponent === null || workspaceComponent === void 0 ? void 0 : workspaceComponent.id]);
|
|
75
75
|
if (!workspaceComponent) return null;
|
|
76
76
|
return /*#__PURE__*/_react().default.createElement(_componentUi().ComponentStatusResolver, {
|
|
77
77
|
status: workspaceComponent.status,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["component-tree.widget.tsx"],"names":["ComponentTreeWidget","component","workspace","WorkspaceContext","workspaceComponent","getComponent","id","lanes","isInCurrentLane","
|
|
1
|
+
{"version":3,"sources":["component-tree.widget.tsx"],"names":["ComponentTreeWidget","component","workspace","WorkspaceContext","workspaceComponent","getComponent","id","lanes","isInCurrentLane","viewedLane","status","issuesCount"],"mappings":";;;;;;;;;;;;;;;;;;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAEA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;;;;;AAEO,MAAMA,mBAAN,CAAuD;AAAA;AAAA,oDACnD,CAAC;AAAEC,MAAAA;AAAF,KAAD,KAA2C;AAClD,YAAMC,SAAS,GAAG,yBAAWC,oCAAX,CAAlB;AACA,YAAMC,kBAAkB,GAAGF,SAAS,CAACG,YAAV,CAAuBJ,SAAS,CAACK,EAAjC,CAA3B;AACA,YAAMC,KAAK,GAAG,iCAAd;AAEA,YAAMC,eAAe,GAAG,sBAAQ,MAAM;AACpC,eAAO,CAAAJ,kBAAkB,SAAlB,IAAAA,kBAAkB,WAAlB,YAAAA,kBAAkB,CAAEE,EAApB,MAA0BC,KAA1B,aAA0BA,KAA1B,uBAA0BA,KAAK,CAAEC,eAAP,CAAuBJ,kBAAkB,CAACE,EAA1C,CAA1B,CAAP;AACD,OAFuB,EAErB,CAACC,KAAD,aAACA,KAAD,uBAACA,KAAK,CAAEE,UAAR,EAAoBL,kBAApB,aAAoBA,kBAApB,uBAAoBA,kBAAkB,CAAEE,EAAxC,CAFqB,CAAxB;AAIA,UAAI,CAACF,kBAAL,EAAyB,OAAO,IAAP;AAEzB,0BACE,+BAAC,sCAAD;AACE,QAAA,MAAM,EAAEA,kBAAkB,CAACM,MAD7B;AAEE,QAAA,WAAW,EAAEN,kBAAkB,CAACO,WAFlC;AAGE,QAAA,eAAe,EAAEH;AAHnB,QADF;AAOD,KAnB2D;AAAA;;AAAA","sourcesContent":["import { ComponentTreeNode, ComponentTreeNodeProps } from '@teambit/component-tree';\nimport { ComponentStatusResolver } from '@teambit/component.ui.component-status-resolver';\nimport React, { useContext, useMemo } from 'react';\n\nimport { useLanesContext } from '@teambit/lanes.ui.lanes';\nimport { WorkspaceContext } from './ui/workspace/workspace-context';\n\nexport class ComponentTreeWidget implements ComponentTreeNode {\n widget = ({ component }: ComponentTreeNodeProps) => {\n const workspace = useContext(WorkspaceContext);\n const workspaceComponent = workspace.getComponent(component.id);\n const lanes = useLanesContext();\n\n const isInCurrentLane = useMemo(() => {\n return workspaceComponent?.id && lanes?.isInCurrentLane(workspaceComponent.id);\n }, [lanes?.viewedLane, workspaceComponent?.id]);\n\n if (!workspaceComponent) return null;\n\n return (\n <ComponentStatusResolver\n status={workspaceComponent.status}\n issuesCount={workspaceComponent.issuesCount}\n isInCurrentLane={isInCurrentLane}\n />\n );\n };\n}\n"]}
|
|
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.695",
|
|
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.695"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"lodash": "4.17.21",
|
|
@@ -39,52 +39,52 @@
|
|
|
39
39
|
"@teambit/component-id": "0.0.402",
|
|
40
40
|
"@teambit/bit-error": "0.0.394",
|
|
41
41
|
"@teambit/legacy-bit-id": "0.0.399",
|
|
42
|
-
"@teambit/logger": "0.0.
|
|
43
|
-
"@teambit/scope": "0.0.
|
|
44
|
-
"@teambit/cli": "0.0.
|
|
45
|
-
"@teambit/isolator": "0.0.
|
|
46
|
-
"@teambit/component-tree": "0.0.
|
|
42
|
+
"@teambit/logger": "0.0.556",
|
|
43
|
+
"@teambit/scope": "0.0.695",
|
|
44
|
+
"@teambit/cli": "0.0.464",
|
|
45
|
+
"@teambit/isolator": "0.0.695",
|
|
46
|
+
"@teambit/component-tree": "0.0.483",
|
|
47
47
|
"@teambit/component.ui.component-status-resolver": "0.0.492",
|
|
48
|
-
"@teambit/lanes.ui.lanes": "0.0.
|
|
48
|
+
"@teambit/lanes.ui.lanes": "0.0.29",
|
|
49
49
|
"@teambit/harmony.modules.resolved-component": "0.0.484",
|
|
50
|
-
"@teambit/dependency-resolver": "0.0.
|
|
51
|
-
"@teambit/compiler": "0.0.
|
|
52
|
-
"@teambit/component": "0.0.
|
|
53
|
-
"@teambit/graphql": "0.0.
|
|
54
|
-
"@teambit/aspect-loader": "0.0.
|
|
55
|
-
"@teambit/bundler": "0.0.
|
|
56
|
-
"@teambit/community": "0.0.
|
|
57
|
-
"@teambit/envs": "0.0.
|
|
58
|
-
"@teambit/pubsub": "0.0.
|
|
59
|
-
"@teambit/ui": "0.0.
|
|
60
|
-
"@teambit/variants": "0.0.
|
|
61
|
-
"@teambit/component-issues": "0.0.
|
|
62
|
-
"@teambit/config": "0.0.
|
|
50
|
+
"@teambit/dependency-resolver": "0.0.695",
|
|
51
|
+
"@teambit/compiler": "0.0.695",
|
|
52
|
+
"@teambit/component": "0.0.695",
|
|
53
|
+
"@teambit/graphql": "0.0.695",
|
|
54
|
+
"@teambit/aspect-loader": "0.0.695",
|
|
55
|
+
"@teambit/bundler": "0.0.695",
|
|
56
|
+
"@teambit/community": "0.0.12",
|
|
57
|
+
"@teambit/envs": "0.0.695",
|
|
58
|
+
"@teambit/pubsub": "0.0.695",
|
|
59
|
+
"@teambit/ui": "0.0.695",
|
|
60
|
+
"@teambit/variants": "0.0.560",
|
|
61
|
+
"@teambit/component-issues": "0.0.49",
|
|
62
|
+
"@teambit/config": "0.0.477",
|
|
63
63
|
"@teambit/harmony.modules.requireable-component": "0.0.484",
|
|
64
|
-
"@teambit/importer": "0.0.
|
|
64
|
+
"@teambit/importer": "0.0.124",
|
|
65
65
|
"@teambit/workspace.modules.match-pattern": "0.0.489",
|
|
66
|
-
"@teambit/component.ui.component-drawer": "0.0.
|
|
66
|
+
"@teambit/component.ui.component-drawer": "0.0.7",
|
|
67
67
|
"@teambit/design.ui.tree": "0.0.5",
|
|
68
|
-
"@teambit/ui-foundation.ui.side-bar": "0.0.
|
|
69
|
-
"@teambit/command-bar": "0.0.
|
|
70
|
-
"@teambit/component.ui.component-filters": "0.0.
|
|
68
|
+
"@teambit/ui-foundation.ui.side-bar": "0.0.526",
|
|
69
|
+
"@teambit/command-bar": "0.0.695",
|
|
70
|
+
"@teambit/component.ui.component-filters": "0.0.2",
|
|
71
71
|
"@teambit/design.ui.surfaces.menu.link-item": "0.0.379",
|
|
72
|
-
"@teambit/graph": "0.0.
|
|
73
|
-
"@teambit/react-router": "0.0.
|
|
74
|
-
"@teambit/sidebar": "0.0.
|
|
72
|
+
"@teambit/graph": "0.0.695",
|
|
73
|
+
"@teambit/react-router": "0.0.695",
|
|
74
|
+
"@teambit/sidebar": "0.0.695",
|
|
75
75
|
"@teambit/ui-foundation.ui.main-dropdown": "0.0.486",
|
|
76
76
|
"@teambit/ui-foundation.ui.menu": "0.0.486",
|
|
77
77
|
"@teambit/ui-foundation.ui.react-router.slot-router": "0.0.488",
|
|
78
78
|
"@teambit/ui-foundation.ui.tree.drawer": "0.0.499",
|
|
79
79
|
"@teambit/toolbox.time.time-format": "0.0.483",
|
|
80
80
|
"@teambit/ui-foundation.ui.hooks.use-data-query": "0.0.487",
|
|
81
|
-
"@teambit/component-descriptor": "0.0.
|
|
82
|
-
"@teambit/deprecation": "0.0.
|
|
81
|
+
"@teambit/component-descriptor": "0.0.28",
|
|
82
|
+
"@teambit/deprecation": "0.0.695",
|
|
83
83
|
"@teambit/ui-foundation.ui.constants.z-indexes": "0.0.487",
|
|
84
84
|
"@teambit/ui-foundation.ui.buttons.collapser": "0.0.194",
|
|
85
|
-
"@teambit/ui-foundation.ui.corner": "0.0.
|
|
85
|
+
"@teambit/ui-foundation.ui.corner": "0.0.495",
|
|
86
86
|
"@teambit/ui-foundation.ui.notifications.notification-context": "0.0.487",
|
|
87
|
-
"@teambit/ui-foundation.ui.top-bar": "0.0.
|
|
87
|
+
"@teambit/ui-foundation.ui.top-bar": "0.0.490",
|
|
88
88
|
"@teambit/explorer.ui.gallery.component-grid": "0.0.486",
|
|
89
89
|
"@teambit/workspace.ui.empty-workspace": "0.0.491",
|
|
90
90
|
"@teambit/workspace.ui.workspace-component-card": "0.0.495"
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
},
|
|
107
107
|
"peerDependencies": {
|
|
108
108
|
"@apollo/client": "^3.0.0",
|
|
109
|
-
"@teambit/legacy": "1.0.
|
|
109
|
+
"@teambit/legacy": "1.0.242",
|
|
110
110
|
"react-dom": "^16.8.0 || ^17.0.0",
|
|
111
111
|
"react": "^16.8.0 || ^17.0.0"
|
|
112
112
|
},
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
"react": "-"
|
|
135
135
|
},
|
|
136
136
|
"peerDependencies": {
|
|
137
|
-
"@teambit/legacy": "1.0.
|
|
137
|
+
"@teambit/legacy": "1.0.242",
|
|
138
138
|
"react-dom": "^16.8.0 || ^17.0.0",
|
|
139
139
|
"react": "^16.8.0 || ^17.0.0"
|
|
140
140
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const compositions = [require('/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_workspace@0.0.
|
|
2
|
-
export const overview = [require('/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_workspace@0.0.
|
|
1
|
+
export const compositions = [require('/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_workspace@0.0.695/dist/workspace.composition.js')]
|
|
2
|
+
export const overview = [require('/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_workspace@0.0.695/dist/workspace.docs.mdx')]
|
|
Binary file
|