@teambit/workspace 0.0.1102 → 0.0.1104
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-1689061040556.js → preview-1689218262868.js} +2 -2
- package/dist/workspace.ui.drawer.js +1 -1
- package/dist/workspace.ui.drawer.js.map +1 -1
- package/package-tar/teambit-workspace-0.0.1104.tgz +0 -0
- package/package.json +37 -37
- package/tsconfig.json +1 -1
- package/workspace.ui.drawer.tsx +2 -3
- package/package-tar/teambit-workspace-0.0.1102.tgz +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_workspace@0.0.
|
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_workspace@0.0.
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_workspace@0.0.1104/dist/workspace.composition.js';
|
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_workspace@0.0.1104/dist/workspace.docs.mdx';
|
|
3
3
|
|
|
4
4
|
export const compositions = [compositions_0];
|
|
5
5
|
export const overview = [overview_0];
|
|
@@ -103,7 +103,7 @@ const workspaceDrawer = ({
|
|
|
103
103
|
const {
|
|
104
104
|
components: mainComponents = [],
|
|
105
105
|
loading: mainCompsLoading
|
|
106
|
-
} = (0, _lanesHooks2().useLaneComponents)(
|
|
106
|
+
} = (0, _lanesHooks2().useLaneComponents)(defaultLane === null || defaultLane === void 0 ? void 0 : defaultLane.id);
|
|
107
107
|
const workspace = (0, _react().useContext)(_workspaceContext().WorkspaceContext);
|
|
108
108
|
const {
|
|
109
109
|
components: workspaceComponents
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["workspaceDrawer","treeWidgets","filtersSlot","drawerWidgetSlot","overrideUseLanes","useLanesFromProps","useLanes","defaultUseLanesHook","ComponentsDrawer","order","id","name","plugins","tree","widgets","customRenderer","treeNodeSlot","TreeNode","props","children","node","payload","ScopePayload","filters","drawerWidgets","emptyMessage","useComponents","lanesModel","loading","lanesLoading","viewedLaneId","viewedLane","defaultLane","getDefaultLane","isViewingDefaultLane","isEqual","isViewingWorkspaceVersions","isViewingCurrentLane","components","laneComponents","laneCompsLoading","useLaneComponents","undefined","mainComponents","mainCompsLoading","workspace","useContext","WorkspaceContext","workspaceComponents","mergeComponents","mainComponentsThatAreNotOnLane","filter","mainComponent","find","laneComponent","toStringWithoutVersion","concat"],"sources":["workspace.ui.drawer.tsx"],"sourcesContent":["import React, { useContext } from 'react';\nimport { ComponentsDrawer, ComponentFiltersSlot, DrawerWidgetSlot } from '@teambit/component.ui.component-drawer';\nimport {\n ComponentView,\n NamespaceTreeNode,\n PayloadType,\n ScopePayload,\n ScopeTreeNode,\n} from '@teambit/ui-foundation.ui.side-bar';\nimport { useLanes as defaultUseLanesHook } from '@teambit/lanes.hooks.use-lanes';\nimport { useLaneComponents } from '@teambit/lanes.hooks.use-lane-components';\nimport { TreeNodeProps } from '@teambit/design.ui.tree';\nimport { ComponentModel } from '@teambit/component';\nimport { LanesModel } from '@teambit/lanes.ui.models.lanes-model';\nimport { SidebarWidgetSlot } from './workspace.ui.runtime';\nimport { WorkspaceContext } from './ui/workspace/workspace-context';\n\nexport type WorkspaceDrawerProps = {\n treeWidgets: SidebarWidgetSlot;\n filtersSlot: ComponentFiltersSlot;\n drawerWidgetSlot: DrawerWidgetSlot;\n overrideUseLanes?: () => { lanesModel?: LanesModel; loading?: boolean };\n};\n\nexport const workspaceDrawer = ({\n treeWidgets,\n filtersSlot,\n drawerWidgetSlot,\n overrideUseLanes: useLanesFromProps,\n}: WorkspaceDrawerProps) => {\n const useLanes = useLanesFromProps || defaultUseLanesHook;\n\n return new ComponentsDrawer({\n order: 0,\n id: 'workspace-components-drawer',\n name: 'COMPONENTS',\n plugins: {\n tree: {\n widgets: treeWidgets,\n customRenderer: (treeNodeSlot) =>\n function TreeNode(props: TreeNodeProps<PayloadType>) {\n const children = props.node.children;\n\n if (!children) return <ComponentView {...props} treeNodeSlot={treeNodeSlot} useLanes={useLanes} />; // non collapse\n\n if (props.node.payload instanceof ScopePayload) return <ScopeTreeNode {...props} />;\n\n return <NamespaceTreeNode {...props} />;\n },\n },\n filters: filtersSlot,\n drawerWidgets: drawerWidgetSlot,\n },\n emptyMessage: 'Workspace is empty',\n useLanes,\n useComponents: () => {\n const { lanesModel, loading: lanesLoading } = useLanes();\n\n const viewedLaneId = lanesModel?.viewedLane?.id;\n const defaultLane = lanesModel?.getDefaultLane();\n const isViewingDefaultLane = viewedLaneId && defaultLane?.id.isEqual(viewedLaneId);\n\n const isViewingWorkspaceVersions = lanesModel?.isViewingCurrentLane();\n\n const { components: laneComponents = [], loading: laneCompsLoading } = useLaneComponents(\n !isViewingWorkspaceVersions ? viewedLaneId : undefined\n );\n const { components: mainComponents = [], loading: mainCompsLoading } = useLaneComponents(
|
|
1
|
+
{"version":3,"names":["workspaceDrawer","treeWidgets","filtersSlot","drawerWidgetSlot","overrideUseLanes","useLanesFromProps","useLanes","defaultUseLanesHook","ComponentsDrawer","order","id","name","plugins","tree","widgets","customRenderer","treeNodeSlot","TreeNode","props","children","node","payload","ScopePayload","filters","drawerWidgets","emptyMessage","useComponents","lanesModel","loading","lanesLoading","viewedLaneId","viewedLane","defaultLane","getDefaultLane","isViewingDefaultLane","isEqual","isViewingWorkspaceVersions","isViewingCurrentLane","components","laneComponents","laneCompsLoading","useLaneComponents","undefined","mainComponents","mainCompsLoading","workspace","useContext","WorkspaceContext","workspaceComponents","mergeComponents","mainComponentsThatAreNotOnLane","filter","mainComponent","find","laneComponent","toStringWithoutVersion","concat"],"sources":["workspace.ui.drawer.tsx"],"sourcesContent":["import React, { useContext } from 'react';\nimport { ComponentsDrawer, ComponentFiltersSlot, DrawerWidgetSlot } from '@teambit/component.ui.component-drawer';\nimport {\n ComponentView,\n NamespaceTreeNode,\n PayloadType,\n ScopePayload,\n ScopeTreeNode,\n} from '@teambit/ui-foundation.ui.side-bar';\nimport { useLanes as defaultUseLanesHook } from '@teambit/lanes.hooks.use-lanes';\nimport { useLaneComponents } from '@teambit/lanes.hooks.use-lane-components';\nimport { TreeNodeProps } from '@teambit/design.ui.tree';\nimport { ComponentModel } from '@teambit/component';\nimport { LanesModel } from '@teambit/lanes.ui.models.lanes-model';\nimport { SidebarWidgetSlot } from './workspace.ui.runtime';\nimport { WorkspaceContext } from './ui/workspace/workspace-context';\n\nexport type WorkspaceDrawerProps = {\n treeWidgets: SidebarWidgetSlot;\n filtersSlot: ComponentFiltersSlot;\n drawerWidgetSlot: DrawerWidgetSlot;\n overrideUseLanes?: () => { lanesModel?: LanesModel; loading?: boolean };\n};\n\nexport const workspaceDrawer = ({\n treeWidgets,\n filtersSlot,\n drawerWidgetSlot,\n overrideUseLanes: useLanesFromProps,\n}: WorkspaceDrawerProps) => {\n const useLanes = useLanesFromProps || defaultUseLanesHook;\n\n return new ComponentsDrawer({\n order: 0,\n id: 'workspace-components-drawer',\n name: 'COMPONENTS',\n plugins: {\n tree: {\n widgets: treeWidgets,\n customRenderer: (treeNodeSlot) =>\n function TreeNode(props: TreeNodeProps<PayloadType>) {\n const children = props.node.children;\n\n if (!children) return <ComponentView {...props} treeNodeSlot={treeNodeSlot} useLanes={useLanes} />; // non collapse\n\n if (props.node.payload instanceof ScopePayload) return <ScopeTreeNode {...props} />;\n\n return <NamespaceTreeNode {...props} />;\n },\n },\n filters: filtersSlot,\n drawerWidgets: drawerWidgetSlot,\n },\n emptyMessage: 'Workspace is empty',\n useLanes,\n useComponents: () => {\n const { lanesModel, loading: lanesLoading } = useLanes();\n\n const viewedLaneId = lanesModel?.viewedLane?.id;\n const defaultLane = lanesModel?.getDefaultLane();\n const isViewingDefaultLane = viewedLaneId && defaultLane?.id.isEqual(viewedLaneId);\n\n const isViewingWorkspaceVersions = lanesModel?.isViewingCurrentLane();\n\n const { components: laneComponents = [], loading: laneCompsLoading } = useLaneComponents(\n !isViewingWorkspaceVersions ? viewedLaneId : undefined\n );\n\n const { components: mainComponents = [], loading: mainCompsLoading } = useLaneComponents(defaultLane?.id);\n\n const workspace = useContext(WorkspaceContext);\n const { components: workspaceComponents } = workspace;\n\n const loading = lanesLoading || laneCompsLoading || mainCompsLoading;\n\n /**\n * if viewing locally checked out lane, return all components from the workspace\n * when viewing main when locally checked out to another lane, explicitly return components from the \"main\" lane\n * when viewing another lane when locally checked out to a different lane, return \"main\" + \"lane\" components\n * */\n if (isViewingWorkspaceVersions) {\n return {\n loading,\n components: workspaceComponents,\n };\n }\n\n if (isViewingDefaultLane) {\n return {\n loading,\n components: mainComponents,\n };\n }\n\n return {\n loading,\n components: mergeComponents(mainComponents, laneComponents),\n };\n },\n });\n};\n\nfunction mergeComponents(mainComponents: ComponentModel[], laneComponents: ComponentModel[]): ComponentModel[] {\n const mainComponentsThatAreNotOnLane = mainComponents.filter((mainComponent) => {\n return !laneComponents.find(\n (laneComponent) => laneComponent.id.toStringWithoutVersion() === mainComponent.id.toStringWithoutVersion()\n );\n });\n return laneComponents.concat(mainComponentsThatAreNotOnLane);\n}\n"],"mappings":";;;;;;;;;;;;;;AAAA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAOA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAKA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAAoE;AAAA;AAS7D,MAAMA,eAAe,GAAG,CAAC;EAC9BC,WAAW;EACXC,WAAW;EACXC,gBAAgB;EAChBC,gBAAg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M,CAACN,8BAA8B,CAAC;AAC9D"}
|
|
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.1104",
|
|
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.1104"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"lodash": "4.17.21",
|
|
@@ -35,55 +35,55 @@
|
|
|
35
35
|
"@teambit/base-ui.surfaces.split-pane.hover-splitter": "1.0.0",
|
|
36
36
|
"@teambit/base-ui.surfaces.split-pane.split-pane": "1.0.0",
|
|
37
37
|
"@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.
|
|
38
|
+
"@teambit/component": "0.0.1104",
|
|
39
|
+
"@teambit/dependency-resolver": "0.0.1104",
|
|
40
|
+
"@teambit/envs": "0.0.1104",
|
|
41
41
|
"@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.
|
|
42
|
+
"@teambit/lane-id": "0.0.257",
|
|
43
|
+
"@teambit/logger": "0.0.833",
|
|
44
|
+
"@teambit/scope": "0.0.1104",
|
|
45
|
+
"@teambit/graph": "0.0.1104",
|
|
46
|
+
"@teambit/cli": "0.0.740",
|
|
47
|
+
"@teambit/isolator": "0.0.1104",
|
|
48
|
+
"@teambit/component-tree": "0.0.892",
|
|
49
49
|
"@teambit/component.ui.component-status-resolver": "0.0.505",
|
|
50
50
|
"@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.
|
|
51
|
+
"@teambit/compiler": "0.0.1104",
|
|
52
|
+
"@teambit/aspect-loader": "0.0.1104",
|
|
53
|
+
"@teambit/config": "0.0.754",
|
|
54
|
+
"@teambit/global-config": "0.0.742",
|
|
55
55
|
"@teambit/harmony.modules.requireable-component": "0.0.491",
|
|
56
56
|
"@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.
|
|
57
|
+
"@teambit/workspace.modules.node-modules-linker": "0.0.84",
|
|
58
|
+
"@teambit/graphql": "0.0.1104",
|
|
59
|
+
"@teambit/bundler": "0.0.1104",
|
|
60
|
+
"@teambit/pubsub": "0.0.1104",
|
|
61
|
+
"@teambit/ui": "0.0.1104",
|
|
62
|
+
"@teambit/variants": "0.0.846",
|
|
63
63
|
"@teambit/component-issues": "0.0.92",
|
|
64
64
|
"@teambit/component-version": "0.0.409",
|
|
65
65
|
"@teambit/workspace.modules.match-pattern": "0.0.498",
|
|
66
|
-
"@teambit/component.ui.component-drawer": "0.0.
|
|
67
|
-
"@teambit/lanes.hooks.use-lane-components": "0.0.
|
|
68
|
-
"@teambit/lanes.hooks.use-lanes": "0.0.
|
|
69
|
-
"@teambit/lanes.ui.models.lanes-model": "0.0.
|
|
70
|
-
"@teambit/ui-foundation.ui.side-bar": "0.0.
|
|
71
|
-
"@teambit/command-bar": "0.0.
|
|
72
|
-
"@teambit/component.ui.component-filters.component-filter-context": "0.0.
|
|
73
|
-
"@teambit/component.ui.component-filters.deprecate-filter": "0.0.
|
|
74
|
-
"@teambit/component.ui.component-filters.env-filter": "0.0.
|
|
75
|
-
"@teambit/component.ui.component-filters.show-main-filter": "0.0.
|
|
76
|
-
"@teambit/sidebar": "0.0.
|
|
66
|
+
"@teambit/component.ui.component-drawer": "0.0.299",
|
|
67
|
+
"@teambit/lanes.hooks.use-lane-components": "0.0.203",
|
|
68
|
+
"@teambit/lanes.hooks.use-lanes": "0.0.204",
|
|
69
|
+
"@teambit/lanes.ui.models.lanes-model": "0.0.157",
|
|
70
|
+
"@teambit/ui-foundation.ui.side-bar": "0.0.816",
|
|
71
|
+
"@teambit/command-bar": "0.0.1104",
|
|
72
|
+
"@teambit/component.ui.component-filters.component-filter-context": "0.0.164",
|
|
73
|
+
"@teambit/component.ui.component-filters.deprecate-filter": "0.0.164",
|
|
74
|
+
"@teambit/component.ui.component-filters.env-filter": "0.0.170",
|
|
75
|
+
"@teambit/component.ui.component-filters.show-main-filter": "0.0.157",
|
|
76
|
+
"@teambit/sidebar": "0.0.1104",
|
|
77
77
|
"@teambit/ui-foundation.ui.main-dropdown": "0.0.497",
|
|
78
78
|
"@teambit/ui-foundation.ui.menu": "0.0.497",
|
|
79
79
|
"@teambit/ui-foundation.ui.react-router.slot-router": "0.0.501",
|
|
80
80
|
"@teambit/ui-foundation.ui.tree.drawer": "0.0.512",
|
|
81
81
|
"@teambit/ui-foundation.ui.hooks.use-data-query": "0.0.500",
|
|
82
|
-
"@teambit/component-descriptor": "0.0.
|
|
83
|
-
"@teambit/deprecation": "0.0.
|
|
82
|
+
"@teambit/component-descriptor": "0.0.309",
|
|
83
|
+
"@teambit/deprecation": "0.0.1104",
|
|
84
84
|
"@teambit/ui-foundation.ui.constants.z-indexes": "0.0.499",
|
|
85
85
|
"@teambit/ui-foundation.ui.buttons.collapser": "0.0.207",
|
|
86
|
-
"@teambit/ui-foundation.ui.corner": "0.0.
|
|
86
|
+
"@teambit/ui-foundation.ui.corner": "0.0.510",
|
|
87
87
|
"@teambit/ui-foundation.ui.notifications.notification-context": "0.0.496",
|
|
88
88
|
"@teambit/ui-foundation.ui.top-bar": "0.0.506",
|
|
89
89
|
"@teambit/workspace.ui.empty-workspace": "0.0.503",
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
"peerDependencies": {
|
|
108
108
|
"@apollo/client": "^3.6.0",
|
|
109
109
|
"react-router-dom": "^6.0.0",
|
|
110
|
-
"@teambit/legacy": "1.0.
|
|
110
|
+
"@teambit/legacy": "1.0.521",
|
|
111
111
|
"react": "^16.8.0 || ^17.0.0",
|
|
112
112
|
"react-dom": "^16.8.0 || ^17.0.0"
|
|
113
113
|
},
|
package/tsconfig.json
CHANGED
package/workspace.ui.drawer.tsx
CHANGED
|
@@ -65,9 +65,8 @@ export const workspaceDrawer = ({
|
|
|
65
65
|
const { components: laneComponents = [], loading: laneCompsLoading } = useLaneComponents(
|
|
66
66
|
!isViewingWorkspaceVersions ? viewedLaneId : undefined
|
|
67
67
|
);
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
);
|
|
68
|
+
|
|
69
|
+
const { components: mainComponents = [], loading: mainCompsLoading } = useLaneComponents(defaultLane?.id);
|
|
71
70
|
|
|
72
71
|
const workspace = useContext(WorkspaceContext);
|
|
73
72
|
const { components: workspaceComponents } = workspace;
|
|
Binary file
|