@teambit/component 1.0.667 → 1.0.668

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.
Files changed (122) hide show
  1. package/aspect.section.tsx +1 -1
  2. package/component-map/component-map.ts +2 -2
  3. package/component.ui.runtime.tsx +17 -11
  4. package/dist/aspect-entry.d.ts +2 -2
  5. package/dist/aspect-entry.js.map +1 -1
  6. package/dist/aspect-list.d.ts +2 -1
  7. package/dist/aspect-list.js.map +1 -1
  8. package/dist/aspect.section.d.ts +1 -1
  9. package/dist/aspect.section.js.map +1 -1
  10. package/dist/component-factory.d.ts +8 -8
  11. package/dist/component-factory.js.map +1 -1
  12. package/dist/component-interface.d.ts +1 -1
  13. package/dist/component-interface.js.map +1 -1
  14. package/dist/component-map/component-map.d.ts +2 -2
  15. package/dist/component-map/component-map.js.map +1 -1
  16. package/dist/component-meta.d.ts +2 -1
  17. package/dist/component-meta.js.map +1 -1
  18. package/dist/component.d.ts +12 -12
  19. package/dist/component.graphql.d.ts +2 -2
  20. package/dist/component.graphql.js.map +1 -1
  21. package/dist/component.js.map +1 -1
  22. package/dist/component.main.runtime.d.ts +12 -12
  23. package/dist/component.main.runtime.js.map +1 -1
  24. package/dist/component.route.d.ts +2 -2
  25. package/dist/component.route.js.map +1 -1
  26. package/dist/component.ui.runtime.d.ts +10 -10
  27. package/dist/component.ui.runtime.js.map +1 -1
  28. package/dist/config.d.ts +2 -2
  29. package/dist/config.js.map +1 -1
  30. package/dist/exceptions/main-file-not-found.d.ts +1 -1
  31. package/dist/exceptions/main-file-not-found.js.map +1 -1
  32. package/dist/get-component-opts.d.ts +2 -2
  33. package/dist/get-component-opts.js.map +1 -1
  34. package/dist/index.d.ts +1 -1
  35. package/dist/index.js.map +1 -1
  36. package/dist/{preview-1753809186996.js → preview-1753833698619.js} +2 -2
  37. package/dist/section/section.d.ts +1 -1
  38. package/dist/section/section.js.map +1 -1
  39. package/dist/show/extensions.fragment.d.ts +2 -2
  40. package/dist/show/extensions.fragment.js.map +1 -1
  41. package/dist/show/files.fragment.d.ts +2 -2
  42. package/dist/show/files.fragment.js.map +1 -1
  43. package/dist/show/id.fragment.d.ts +2 -2
  44. package/dist/show/id.fragment.js.map +1 -1
  45. package/dist/show/legacy-show/docs-template.d.ts +1 -1
  46. package/dist/show/legacy-show/docs-template.js.map +1 -1
  47. package/dist/show/legacy-show/get-consumer-component.js.map +1 -1
  48. package/dist/show/legacy-show/get-scope-component.d.ts +1 -1
  49. package/dist/show/legacy-show/get-scope-component.js.map +1 -1
  50. package/dist/show/legacy-show/show-legacy-cmd.d.ts +1 -1
  51. package/dist/show/legacy-show/show-legacy-cmd.js.map +1 -1
  52. package/dist/show/main-file.fragment.d.ts +2 -2
  53. package/dist/show/main-file.fragment.js.map +1 -1
  54. package/dist/show/name.fragment.d.ts +2 -2
  55. package/dist/show/name.fragment.js.map +1 -1
  56. package/dist/show/scope.fragment.d.ts +2 -2
  57. package/dist/show/scope.fragment.js.map +1 -1
  58. package/dist/show/show-fragment.d.ts +1 -1
  59. package/dist/show/show-fragment.js.map +1 -1
  60. package/dist/show/show.cmd.d.ts +3 -3
  61. package/dist/show/show.cmd.js.map +1 -1
  62. package/dist/snap/snap.d.ts +1 -1
  63. package/dist/snap/snap.js.map +1 -1
  64. package/dist/state.d.ts +3 -3
  65. package/dist/state.js.map +1 -1
  66. package/dist/tag-map.d.ts +3 -3
  67. package/dist/tag-map.js.map +1 -1
  68. package/dist/ui/component-model/component-model.d.ts +9 -7
  69. package/dist/ui/component-model/component-model.js.map +1 -1
  70. package/dist/ui/component-searcher/component-result.d.ts +3 -2
  71. package/dist/ui/component-searcher/component-result.js.map +1 -1
  72. package/dist/ui/component-searcher/component-searcher.d.ts +4 -3
  73. package/dist/ui/component-searcher/component-searcher.js.map +1 -1
  74. package/dist/ui/component.d.ts +5 -5
  75. package/dist/ui/component.js.map +1 -1
  76. package/dist/ui/context/component-provider.d.ts +2 -2
  77. package/dist/ui/context/component-provider.js.map +1 -1
  78. package/dist/ui/menu/menu-nav.d.ts +1 -1
  79. package/dist/ui/menu/menu-nav.js.map +1 -1
  80. package/dist/ui/menu/menu.d.ts +8 -7
  81. package/dist/ui/menu/menu.js.map +1 -1
  82. package/dist/ui/menu/nav-plugin.d.ts +4 -4
  83. package/dist/ui/menu/nav-plugin.js.map +1 -1
  84. package/dist/ui/top-bar-nav/top-bar-nav.d.ts +1 -1
  85. package/dist/ui/top-bar-nav/top-bar-nav.js.map +1 -1
  86. package/dist/ui/use-component-logs.d.ts +1 -1
  87. package/dist/ui/use-component-logs.js.map +1 -1
  88. package/dist/ui/use-component-query.d.ts +1 -1
  89. package/dist/ui/use-component-query.js.map +1 -1
  90. package/dist/ui/use-component.d.ts +2 -1
  91. package/dist/ui/use-component.js.map +1 -1
  92. package/dist/ui/use-component.model.d.ts +5 -5
  93. package/dist/ui/use-component.model.js.map +1 -1
  94. package/exceptions/main-file-not-found.ts +1 -1
  95. package/package.json +35 -35
  96. package/section/section.tsx +1 -1
  97. package/show/extensions.fragment.ts +2 -2
  98. package/show/files.fragment.ts +2 -2
  99. package/show/id.fragment.ts +2 -2
  100. package/show/legacy-show/docs-template.ts +1 -1
  101. package/show/legacy-show/get-consumer-component.ts +2 -1
  102. package/show/legacy-show/get-scope-component.ts +6 -4
  103. package/show/legacy-show/show-legacy-cmd.ts +1 -1
  104. package/show/main-file.fragment.ts +2 -2
  105. package/show/name.fragment.ts +2 -2
  106. package/show/scope.fragment.ts +2 -2
  107. package/show/show-fragment.ts +1 -1
  108. package/show/show.cmd.ts +3 -3
  109. package/snap/snap.ts +1 -1
  110. package/ui/component-model/component-model.ts +9 -7
  111. package/ui/component-searcher/component-result.tsx +3 -2
  112. package/ui/component-searcher/component-searcher.tsx +5 -3
  113. package/ui/component.tsx +7 -5
  114. package/ui/context/component-provider.tsx +3 -2
  115. package/ui/menu/menu-nav.tsx +1 -1
  116. package/ui/menu/menu.tsx +18 -8
  117. package/ui/menu/nav-plugin.tsx +4 -4
  118. package/ui/top-bar-nav/top-bar-nav.tsx +1 -1
  119. package/ui/use-component-logs.ts +2 -2
  120. package/ui/use-component-query.ts +1 -1
  121. package/ui/use-component.model.ts +5 -5
  122. package/ui/use-component.tsx +2 -1
@@ -1,5 +1,5 @@
1
- import { ShowFragment } from './show-fragment';
2
- import { Component } from '../component';
1
+ import type { ShowFragment } from './show-fragment';
2
+ import type { Component } from '../component';
3
3
 
4
4
  export class FilesFragment implements ShowFragment {
5
5
  async renderRow(component: Component) {
@@ -1,5 +1,5 @@
1
- import { ShowFragment } from './show-fragment';
2
- import { Component } from '../component';
1
+ import type { ShowFragment } from './show-fragment';
2
+ import type { Component } from '../component';
3
3
 
4
4
  export class IDFragment implements ShowFragment {
5
5
  async renderRow(component: Component) {
@@ -1,7 +1,7 @@
1
1
  import c from 'chalk';
2
2
  import Table from 'cli-table';
3
3
  import { isEmpty, isNil } from 'lodash';
4
- import { Doclet } from '@teambit/semantics.doc-parser';
4
+ import type { Doclet } from '@teambit/semantics.doc-parser';
5
5
 
6
6
  const paintExample = (example) => {
7
7
  return example.raw;
@@ -1,4 +1,5 @@
1
- import { Consumer, loadConsumer } from '@teambit/legacy.consumer';
1
+ import type { Consumer } from '@teambit/legacy.consumer';
2
+ import { loadConsumer } from '@teambit/legacy.consumer';
2
3
  import { NothingToCompareTo } from './nothing-to-compare-to';
3
4
 
4
5
  export async function getConsumerComponent({ id, compare }: { id: string; compare: boolean }) {
@@ -1,10 +1,12 @@
1
1
  import { ComponentID } from '@teambit/component-id';
2
2
  import { loader } from '@teambit/legacy.loader';
3
- import { Consumer, loadConsumerIfExist } from '@teambit/legacy.consumer';
4
- import { ConsumerComponent as Component } from '@teambit/legacy.consumer-component';
3
+ import type { Consumer } from '@teambit/legacy.consumer';
4
+ import { loadConsumerIfExist } from '@teambit/legacy.consumer';
5
+ import type { ConsumerComponent as Component } from '@teambit/legacy.consumer-component';
5
6
  import { getRemoteByName } from '@teambit/scope.remotes';
6
- import { loadScope, Scope } from '@teambit/legacy.scope';
7
- import { DependenciesInfo } from '@teambit/legacy.dependency-graph';
7
+ import type { Scope } from '@teambit/legacy.scope';
8
+ import { loadScope } from '@teambit/legacy.scope';
9
+ import type { DependenciesInfo } from '@teambit/legacy.dependency-graph';
8
10
 
9
11
  export async function getScopeComponent({
10
12
  id,
@@ -3,7 +3,7 @@ import rightpad from 'pad-right';
3
3
  import { table } from 'table';
4
4
  import type { Alignment } from 'table';
5
5
  import { componentToPrintableForDiff, getDiffBetweenObjects, prettifyFieldName } from '@teambit/legacy.component-diff';
6
- import { ConsumerComponent } from '@teambit/legacy.consumer-component';
6
+ import type { ConsumerComponent } from '@teambit/legacy.consumer-component';
7
7
  import { show } from './legacy-show';
8
8
  import paintDocumentation from './docs-template';
9
9
  import { compact } from 'lodash';
@@ -1,5 +1,5 @@
1
- import { ShowFragment } from './show-fragment';
2
- import { Component } from '../component';
1
+ import type { ShowFragment } from './show-fragment';
2
+ import type { Component } from '../component';
3
3
 
4
4
  export class MainFileFragment implements ShowFragment {
5
5
  async renderRow(component: Component) {
@@ -1,5 +1,5 @@
1
- import { ShowFragment } from './show-fragment';
2
- import { Component } from '../component';
1
+ import type { ShowFragment } from './show-fragment';
2
+ import type { Component } from '../component';
3
3
 
4
4
  export class NameFragment implements ShowFragment {
5
5
  async renderRow(component: Component) {
@@ -1,5 +1,5 @@
1
- import { ShowFragment } from './show-fragment';
2
- import { Component } from '../component';
1
+ import type { ShowFragment } from './show-fragment';
2
+ import type { Component } from '../component';
3
3
 
4
4
  export class ScopeFragment implements ShowFragment {
5
5
  async renderRow(component: Component) {
@@ -1,4 +1,4 @@
1
- import { Component } from '../component';
1
+ import type { Component } from '../component';
2
2
 
3
3
  export interface ShowFragment {
4
4
  /**
package/show/show.cmd.ts CHANGED
@@ -1,13 +1,13 @@
1
1
  import open from 'open';
2
- import { Command, CommandOptions } from '@teambit/cli';
2
+ import type { Command, CommandOptions } from '@teambit/cli';
3
3
  import { compact } from 'lodash';
4
4
  // import { Logger } from '@teambit/logger';
5
5
  // import chalk from 'chalk';
6
6
  import { CLITable } from '@teambit/cli-table';
7
7
  import { MissingBitMapComponent } from '@teambit/legacy.bit-map';
8
- import { Logger } from '@teambit/logger';
8
+ import type { Logger } from '@teambit/logger';
9
9
  import { reportLegacy, actionLegacy } from './legacy-show/show-legacy-cmd';
10
- import { ComponentMain } from '../component.main.runtime';
10
+ import type { ComponentMain } from '../component.main.runtime';
11
11
  import { isLikelyPackageName, resolveComponentIdFromPackageName } from '@teambit/pkg.modules.component-package-name';
12
12
 
13
13
  export class ShowCmd implements Command {
package/snap/snap.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Author } from './author';
1
+ import type { Author } from './author';
2
2
 
3
3
  export type SnapProps = {
4
4
  hash: string;
@@ -1,12 +1,14 @@
1
- import { Composition, CompositionProps } from '@teambit/compositions';
2
- import { DeprecationInfo } from '@teambit/deprecation';
3
- import { Descriptor } from '@teambit/envs';
4
- import { ComponentID, ComponentIdObj } from '@teambit/component-id';
5
- import { LegacyComponentLog } from '@teambit/legacy-component-log';
6
- import { ComponentPreviewSize } from '@teambit/preview';
1
+ import type { CompositionProps } from '@teambit/compositions';
2
+ import { Composition } from '@teambit/compositions';
3
+ import type { DeprecationInfo } from '@teambit/deprecation';
4
+ import type { Descriptor } from '@teambit/envs';
5
+ import type { ComponentIdObj } from '@teambit/component-id';
6
+ import { ComponentID } from '@teambit/component-id';
7
+ import type { LegacyComponentLog } from '@teambit/legacy-component-log';
8
+ import type { ComponentPreviewSize } from '@teambit/preview';
7
9
  import { Tag } from '../../tag';
8
10
  import { TagMap } from '../../tag-map';
9
- import { TagProps } from '../../tag/tag';
11
+ import type { TagProps } from '../../tag/tag';
10
12
  // import { Snap } from '../../snap';
11
13
 
12
14
  // ADDING MORE PROPERTIES HERE IS NOT ALLOWED!!! IF YOU NEED DATA PLEASE ADD A NEW
@@ -1,9 +1,10 @@
1
- import React, { ComponentType } from 'react';
1
+ import type { ComponentType } from 'react';
2
+ import React from 'react';
2
3
  import compact from 'lodash.compact';
3
4
  import { ellipsis } from '@teambit/design.ui.styles.ellipsis';
4
5
  import { EnvIcon } from '@teambit/envs.ui.env-icon';
5
6
  import classnames from 'classnames';
6
- import { ComponentModel } from '../component-model';
7
+ import type { ComponentModel } from '../component-model';
7
8
 
8
9
  import styles from './component-result.module.scss';
9
10
 
@@ -1,8 +1,10 @@
1
1
  import React from 'react';
2
- import { SearchResult, FuzzySearchItem, FuzzySearcher } from '@teambit/explorer.ui.command-bar';
2
+ import type { SearchResult, FuzzySearchItem } from '@teambit/explorer.ui.command-bar';
3
+ import { FuzzySearcher } from '@teambit/explorer.ui.command-bar';
3
4
  import type { SearchProvider } from '@teambit/command-bar';
4
- import { ComponentResult, ComponentResultPlugin } from './component-result';
5
- import { ComponentModel } from '../component-model';
5
+ import type { ComponentResultPlugin } from './component-result';
6
+ import { ComponentResult } from './component-result';
7
+ import type { ComponentModel } from '../component-model';
6
8
 
7
9
  export type { ComponentResultPlugin };
8
10
 
package/ui/component.tsx CHANGED
@@ -1,14 +1,16 @@
1
- import React, { useEffect, ReactNode, useMemo } from 'react';
2
- import { RouteProps } from 'react-router-dom';
1
+ import type { ReactNode } from 'react';
2
+ import React, { useEffect, useMemo } from 'react';
3
+ import type { RouteProps } from 'react-router-dom';
3
4
  import { useQuery } from '@teambit/ui-foundation.ui.react-router.use-query';
4
5
  import flatten from 'lodash.flatten';
5
6
  import { SlotRouter } from '@teambit/ui-foundation.ui.react-router.slot-router';
6
7
  import type { RouteSlot } from '@teambit/ui-foundation.ui.react-router.slot-router';
7
- import { SlotRegistry } from '@teambit/harmony';
8
+ import type { SlotRegistry } from '@teambit/harmony';
8
9
  import { isFunction } from 'lodash';
9
10
  import { ComponentProvider, ComponentDescriptorProvider } from './context';
10
- import { useComponent as useComponentQuery, UseComponentType, Filters } from './use-component';
11
- import { ComponentModel } from './component-model';
11
+ import type { UseComponentType, Filters } from './use-component';
12
+ import { useComponent as useComponentQuery } from './use-component';
13
+ import type { ComponentModel } from './component-model';
12
14
  import { useIdFromLocation } from './use-component-from-location';
13
15
  import { ComponentID } from '..';
14
16
 
@@ -1,6 +1,7 @@
1
- import React, { ReactNode } from 'react';
1
+ import type { ReactNode } from 'react';
2
+ import React from 'react';
2
3
  import type { ComponentDescriptor } from '@teambit/component-descriptor';
3
- import { ComponentModel } from '../component-model';
4
+ import type { ComponentModel } from '../component-model';
4
5
  import { ComponentContext, ComponentDescriptorContext } from './component-context';
5
6
 
6
7
  export type ComponentProviderProps = {
@@ -5,7 +5,7 @@ import type { TabProps } from '@teambit/design.navigation.responsive-navbar';
5
5
  import { useWorkspaceMode } from '@teambit/workspace.ui.use-workspace-mode';
6
6
  import { TopBarNav } from '../top-bar-nav';
7
7
  import styles from './menu.module.scss';
8
- import { NavPlugin, OrderedNavigationSlot } from './nav-plugin';
8
+ import type { NavPlugin, OrderedNavigationSlot } from './nav-plugin';
9
9
 
10
10
  export type MenuNavProps = {
11
11
  /**
package/ui/menu/menu.tsx CHANGED
@@ -1,24 +1,34 @@
1
- import React, { useMemo, ReactNode } from 'react';
1
+ import type { ReactNode } from 'react';
2
+ import React, { useMemo } from 'react';
2
3
  import { Routes, Route } from 'react-router-dom';
3
4
  import classnames from 'classnames';
4
5
  import { useQuery } from '@teambit/ui-foundation.ui.react-router.use-query';
5
6
  import { compact, flatten, groupBy, isFunction, orderBy } from 'lodash';
6
7
  import * as semver from 'semver';
7
- import { SlotRegistry } from '@teambit/harmony';
8
- import { DropdownComponentVersion, GetActiveTabIndex, VersionDropdown } from '@teambit/component.ui.version-dropdown';
9
- import { MainDropdown, MenuItemSlot } from '@teambit/ui-foundation.ui.main-dropdown';
8
+ import type { SlotRegistry } from '@teambit/harmony';
9
+ import type { DropdownComponentVersion, GetActiveTabIndex } from '@teambit/component.ui.version-dropdown';
10
+ import { VersionDropdown } from '@teambit/component.ui.version-dropdown';
11
+ import type { MenuItemSlot } from '@teambit/ui-foundation.ui.main-dropdown';
12
+ import { MainDropdown } from '@teambit/ui-foundation.ui.main-dropdown';
10
13
  import { ComponentID } from '@teambit/component-id';
11
14
  import type { ConsumeMethod } from '@teambit/ui-foundation.ui.use-box.menu';
12
15
  import { useLocation } from '@teambit/base-react.navigation.link';
13
16
  import { UseBoxDropdown } from '@teambit/ui-foundation.ui.use-box.dropdown';
14
17
  import { useLanes as defaultUseLanes } from '@teambit/lanes.hooks.use-lanes';
15
- import { LanesModel } from '@teambit/lanes.ui.models.lanes-model';
18
+ import type { LanesModel } from '@teambit/lanes.ui.models.lanes-model';
16
19
  import { Menu as ConsumeMethodsMenu } from '@teambit/ui-foundation.ui.use-box.menu';
17
- import { LegacyComponentLog } from '@teambit/legacy-component-log';
20
+ import type { LegacyComponentLog } from '@teambit/legacy-component-log';
18
21
  import { useWorkspaceMode } from '@teambit/workspace.ui.use-workspace-mode';
19
- import { useComponent as useComponentQuery, UseComponentType, Filters } from '../use-component';
22
+ import type { UseComponentType, Filters } from '../use-component';
23
+ import { useComponent as useComponentQuery } from '../use-component';
20
24
  import { CollapsibleMenuNav } from './menu-nav';
21
- import { OrderedNavigationSlot, ConsumeMethodSlot, ConsumePluginProps, NavPlugin, NavPluginProps } from './nav-plugin';
25
+ import type {
26
+ OrderedNavigationSlot,
27
+ ConsumeMethodSlot,
28
+ ConsumePluginProps,
29
+ NavPlugin,
30
+ NavPluginProps,
31
+ } from './nav-plugin';
22
32
  import { useIdFromLocation } from '../use-component-from-location';
23
33
  import { TopBarNav } from '../top-bar-nav';
24
34
 
@@ -1,9 +1,9 @@
1
- import { SlotRegistry } from '@teambit/harmony';
1
+ import type { SlotRegistry } from '@teambit/harmony';
2
2
  import type { LinkProps } from '@teambit/base-react.navigation.link';
3
3
  import type { ConsumeMethod } from '@teambit/ui-foundation.ui.use-box.menu';
4
- import { LaneModel } from '@teambit/lanes.ui.models.lanes-model';
5
- import { ComponentID } from '@teambit/component-id';
6
- import { ComponentModel } from '../component-model';
4
+ import type { LaneModel } from '@teambit/lanes.ui.models.lanes-model';
5
+ import type { ComponentID } from '@teambit/component-id';
6
+ import type { ComponentModel } from '../component-model';
7
7
 
8
8
  export type NavPluginProps = {
9
9
  displayName?: string;
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import classnames from 'classnames';
3
3
  import { useLocation } from 'react-router-dom';
4
4
  import { Link as BaseLink } from '@teambit/base-react.navigation.link';
5
- import { NavPluginProps } from '../menu/nav-plugin';
5
+ import type { NavPluginProps } from '../menu/nav-plugin';
6
6
 
7
7
  import styles from './top-bar-nav.module.scss';
8
8
 
@@ -1,7 +1,7 @@
1
1
  import { useMemo } from 'react';
2
- import { LegacyComponentLog } from '@teambit/legacy-component-log';
2
+ import type { LegacyComponentLog } from '@teambit/legacy-component-log';
3
3
  import { useDataQuery } from '@teambit/ui-foundation.ui.hooks.use-data-query';
4
- import { ComponentLogsResult, Filters } from './use-component.model';
4
+ import type { ComponentLogsResult, Filters } from './use-component.model';
5
5
  import { GET_COMPONENT_WITH_LOGS } from './use-component.fragments';
6
6
  import { ComponentError } from './component-error';
7
7
  import { getOffsetValue } from './use-component.utils';
@@ -3,7 +3,7 @@ import { useDataQuery } from '@teambit/ui-foundation.ui.hooks.use-data-query';
3
3
  import { ComponentID } from '@teambit/component-id';
4
4
  import { ComponentDescriptor } from '@teambit/component-descriptor';
5
5
  import { ComponentModel } from './component-model';
6
- import { ComponentQueryResult, Filters } from './use-component.model';
6
+ import type { ComponentQueryResult, Filters } from './use-component.model';
7
7
  import { GET_COMPONENT } from './use-component.fragments';
8
8
  import { useComponentLogs } from './use-component-logs';
9
9
  import { ComponentError } from './component-error';
@@ -1,8 +1,8 @@
1
- import { ComponentDescriptor } from '@teambit/component-descriptor';
2
- import { LegacyComponentLog } from '@teambit/legacy-component-log';
3
- import { ComponentID } from '../';
4
- import { ComponentError } from './component-error';
5
- import { ComponentModel } from './component-model';
1
+ import type { ComponentDescriptor } from '@teambit/component-descriptor';
2
+ import type { LegacyComponentLog } from '@teambit/legacy-component-log';
3
+ import type { ComponentID } from '../';
4
+ import type { ComponentError } from './component-error';
5
+ import type { ComponentModel } from './component-model';
6
6
 
7
7
  export type LogFilter = {
8
8
  offset?: number;
@@ -1,6 +1,7 @@
1
1
  import { useQuery } from '@teambit/ui-foundation.ui.react-router.use-query';
2
2
  import { useComponentQuery } from './use-component-query';
3
- import { ComponentQueryResult, UseComponentOptions, UseComponentType, Filters } from './use-component.model';
3
+ import type { ComponentQueryResult, UseComponentOptions } from './use-component.model';
4
+ import { UseComponentType, Filters } from './use-component.model';
4
5
 
5
6
  export { UseComponentType, Filters };
6
7