chore: no @web imports from @web package (#34055)

This commit is contained in:
Max Schmitt 2024-12-17 20:27:21 +01:00 committed by GitHub
parent 43e46d63dd
commit 52b2548612
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 9 additions and 9 deletions

View file

@ -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';

View file

@ -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 };

View file

@ -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,

View file

@ -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';

View file

@ -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';

View file

@ -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,

View file

@ -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 = {

View file

@ -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)[];