@teambit/component.ui.component-drawer 0.0.395 → 0.0.396
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.
|
@@ -9,10 +9,10 @@ import { LanesModel } from '@teambit/lanes.ui.models.lanes-model';
|
|
|
9
9
|
import { SlotRegistry } from '@teambit/harmony';
|
|
10
10
|
import { ScopeModel } from '@teambit/scope.models.scope-model';
|
|
11
11
|
import { WorkspaceModel } from '@teambit/workspace';
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
15
|
-
export
|
|
12
|
+
export type ComponentFiltersSlot = SlotRegistry<ComponentFilters>;
|
|
13
|
+
export type DrawerWidgetSlot = SlotRegistry<ReactNode[]>;
|
|
14
|
+
export type TransformTreeFn = (host?: WorkspaceModel | ScopeModel) => (rootNode: TreeNodeType) => TreeNodeType;
|
|
15
|
+
export type ComponentsDrawerProps = Omit<DrawerType, 'render'> & {
|
|
16
16
|
useComponents: () => {
|
|
17
17
|
components: ComponentModel[];
|
|
18
18
|
loading?: boolean;
|
|
@@ -27,7 +27,7 @@ export declare type ComponentsDrawerProps = Omit<DrawerType, 'render'> & {
|
|
|
27
27
|
assumeScopeInUrl?: boolean;
|
|
28
28
|
useHost?: () => ScopeModel | WorkspaceModel;
|
|
29
29
|
};
|
|
30
|
-
export
|
|
30
|
+
export type ComponentsDrawerPlugins = {
|
|
31
31
|
tree?: {
|
|
32
32
|
customRenderer?: (treeNodeSlot?: ComponentTreeSlot, host?: ScopeModel | WorkspaceModel) => TreeNodeRenderer<PayloadType>;
|
|
33
33
|
widgets: ComponentTreeSlot;
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/component.ui.component-drawer",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.396",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/component/ui/component-drawer",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.component",
|
|
8
8
|
"name": "ui/component-drawer",
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.396"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"classnames": "2.2.6",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"@teambit/harmony": "0.4.6",
|
|
21
21
|
"@teambit/ui-foundation.ui.side-bar": "0.0.875",
|
|
22
22
|
"@teambit/ui-foundation.ui.tree.drawer": "0.0.518",
|
|
23
|
-
"@teambit/component.ui.component-filters.component-filter-context": "0.0.
|
|
24
|
-
"@teambit/lanes.hooks.use-lanes": "0.0.
|
|
25
|
-
"@teambit/lanes.ui.models.lanes-model": "0.0.
|
|
26
|
-
"@teambit/scope.models.scope-model": "0.0.
|
|
23
|
+
"@teambit/component.ui.component-filters.component-filter-context": "0.0.221",
|
|
24
|
+
"@teambit/lanes.hooks.use-lanes": "0.0.263",
|
|
25
|
+
"@teambit/lanes.ui.models.lanes-model": "0.0.215",
|
|
26
|
+
"@teambit/scope.models.scope-model": "0.0.505"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@types/react": "^17.0.8",
|
|
File without changes
|