@teambit/component.ui.component-drawer 0.0.395 → 0.0.397

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.
@@ -1,5 +1,5 @@
1
1
  import React, { ReactNode } from 'react';
2
- export declare type ComponentFilterWidgetContextType = {
2
+ export type ComponentFilterWidgetContextType = {
3
3
  filterWidgetOpen: boolean;
4
4
  setFilterWidget: (open: boolean) => void;
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import React, { ReactNode } from 'react';
2
- export declare type ComponentTreeContextType = {
2
+ export type ComponentTreeContextType = {
3
3
  collapsed: boolean;
4
4
  setCollapsed: (collapsed: boolean) => void;
5
5
  };
@@ -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 declare type ComponentFiltersSlot = SlotRegistry<ComponentFilters>;
13
- export declare type DrawerWidgetSlot = SlotRegistry<ReactNode[]>;
14
- export declare type TransformTreeFn = (host?: WorkspaceModel | ScopeModel) => (rootNode: TreeNodeType) => TreeNodeType;
15
- export declare type ComponentsDrawerProps = Omit<DrawerType, 'render'> & {
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 declare type ComponentsDrawerPlugins = {
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.395",
3
+ "version": "0.0.397",
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.395"
9
+ "version": "0.0.397"
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.220",
24
- "@teambit/lanes.hooks.use-lanes": "0.0.262",
25
- "@teambit/lanes.ui.models.lanes-model": "0.0.213",
26
- "@teambit/scope.models.scope-model": "0.0.504"
23
+ "@teambit/component.ui.component-filters.component-filter-context": "0.0.222",
24
+ "@teambit/lanes.hooks.use-lanes": "0.0.264",
25
+ "@teambit/lanes.ui.models.lanes-model": "0.0.216",
26
+ "@teambit/scope.models.scope-model": "0.0.506"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@types/react": "^17.0.8",