Skip to content

Commit

Permalink
chore: no @web imports from @web package (#34055)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxschmitt authored Dec 17, 2024
1 parent 43e46d6 commit 52b2548
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion packages/web/src/components/errorMessage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

import { ansi2html } from '@web/ansi2html';
import { ansi2html } from '../ansi2html';
import * as React from 'react';
import './errorMessage.css';

Expand Down
2 changes: 1 addition & 1 deletion packages/web/src/components/gridView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import * as React from 'react';
import { ListView } from './listView';
import type { ListViewProps } from './listView';
import './gridView.css';
import { ResizeView } from '@web/shared/resizeView';
import { ResizeView } from '../shared/resizeView';

export type Sorting<T> = { by: keyof T, negate: boolean };

Expand Down
2 changes: 1 addition & 1 deletion packages/web/src/components/listView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

import * as React from 'react';
import './listView.css';
import { clsx, scrollIntoViewIfNeeded } from '@web/uiUtils';
import { clsx, scrollIntoViewIfNeeded } from '../uiUtils';

export type ListViewProps<T> = {
name: string,
Expand Down
2 changes: 1 addition & 1 deletion packages/web/src/components/tabbedPane.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

import { clsx } from '@web/uiUtils';
import { clsx } from '../uiUtils';
import './tabbedPane.css';
import { Toolbar } from './toolbar';
import * as React from 'react';
Expand Down
2 changes: 1 addition & 1 deletion packages/web/src/components/toolbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
limitations under the License.
*/

import { clsx } from '@web/uiUtils';
import { clsx } from '../uiUtils';
import './toolbar.css';
import * as React from 'react';

Expand Down
2 changes: 1 addition & 1 deletion packages/web/src/components/toolbarButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import './toolbarButton.css';
import '../third_party/vscode/codicon.css';
import * as React from 'react';
import { clsx } from '@web/uiUtils';
import { clsx } from '../uiUtils';

export interface ToolbarButtonProps {
title: string,
Expand Down
2 changes: 1 addition & 1 deletion packages/web/src/components/treeView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

import * as React from 'react';
import { clsx, scrollIntoViewIfNeeded } from '@web/uiUtils';
import { clsx, scrollIntoViewIfNeeded } from '../uiUtils';
import './treeView.css';

export type TreeItem = {
Expand Down
4 changes: 2 additions & 2 deletions packages/web/src/components/xtermWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ import './xtermWrapper.css';
import type { ITheme, Terminal } from 'xterm';
import type { FitAddon } from 'xterm-addon-fit';
import type { XtermModule } from './xtermModule';
import { currentTheme, addThemeListener, removeThemeListener } from '@web/theme';
import { useMeasure } from '@web/uiUtils';
import { currentTheme, addThemeListener, removeThemeListener } from '../theme';
import { useMeasure } from '../uiUtils';

export type XtermDataSource = {
pending: (string | Uint8Array)[];
Expand Down

0 comments on commit 52b2548

Please sign in to comment.