fix: cleanup imports (#112)
* fix: use path alias * fix: more path alias * fix: even more path aliasing * fix: even moreeeee path aliasing * fix: sort imports * fix: sort imports (again)
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
import { openDebugTab } from '../util/openDebugTab';
|
import { openDebugTab } from '@pages/background/util/openDebugTab';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Called whenever the background service worker comes alive
|
* Called whenever the background service worker comes alive
|
||||||
|
|||||||
@@ -1,8 +1,7 @@
|
|||||||
|
import openNewTab from '@pages/background/util/openNewTab';
|
||||||
import type TabManagementMessages from '@shared/messages/TabManagementMessages';
|
import type TabManagementMessages from '@shared/messages/TabManagementMessages';
|
||||||
import type { MessageHandler } from 'chrome-extension-toolkit';
|
import type { MessageHandler } from 'chrome-extension-toolkit';
|
||||||
|
|
||||||
import openNewTab from '../util/openNewTab';
|
|
||||||
|
|
||||||
const tabManagementHandler: MessageHandler<TabManagementMessages> = {
|
const tabManagementHandler: MessageHandler<TabManagementMessages> = {
|
||||||
getTabId({ sendResponse, sender }) {
|
getTabId({ sendResponse, sender }) {
|
||||||
sendResponse(sender.tab?.id ?? -1);
|
sendResponse(sender.tab?.id ?? -1);
|
||||||
|
|||||||
@@ -1,15 +1,14 @@
|
|||||||
|
import addCourse from '@pages/background/lib/addCourse';
|
||||||
|
import clearCourses from '@pages/background/lib/clearCourses';
|
||||||
|
import createSchedule from '@pages/background/lib/createSchedule';
|
||||||
|
import deleteSchedule from '@pages/background/lib/deleteSchedule';
|
||||||
|
import removeCourse from '@pages/background/lib/removeCourse';
|
||||||
|
import renameSchedule from '@pages/background/lib/renameSchedule';
|
||||||
|
import switchSchedule from '@pages/background/lib/switchSchedule';
|
||||||
import type { UserScheduleMessages } from '@shared/messages/UserScheduleMessages';
|
import type { UserScheduleMessages } from '@shared/messages/UserScheduleMessages';
|
||||||
import { Course } from '@shared/types/Course';
|
import { Course } from '@shared/types/Course';
|
||||||
import type { MessageHandler } from 'chrome-extension-toolkit';
|
import type { MessageHandler } from 'chrome-extension-toolkit';
|
||||||
|
|
||||||
import addCourse from '../lib/addCourse';
|
|
||||||
import clearCourses from '../lib/clearCourses';
|
|
||||||
import createSchedule from '../lib/createSchedule';
|
|
||||||
import deleteSchedule from '../lib/deleteSchedule';
|
|
||||||
import removeCourse from '../lib/removeCourse';
|
|
||||||
import renameSchedule from '../lib/renameSchedule';
|
|
||||||
import switchSchedule from '../lib/switchSchedule';
|
|
||||||
|
|
||||||
const userScheduleHandler: MessageHandler<UserScheduleMessages> = {
|
const userScheduleHandler: MessageHandler<UserScheduleMessages> = {
|
||||||
addCourse({ data, sendResponse }) {
|
addCourse({ data, sendResponse }) {
|
||||||
addCourse(data.scheduleName, new Course(data.course)).then(sendResponse);
|
addCourse(data.scheduleName, new Course(data.course)).then(sendResponse);
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
|
import PopupMain from '@views/components/PopupMain';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { createRoot } from 'react-dom/client';
|
import { createRoot } from 'react-dom/client';
|
||||||
|
|
||||||
import PopupMain from '../../views/components/PopupMain';
|
|
||||||
|
|
||||||
createRoot(document.getElementById('root')).render(<PopupMain />);
|
createRoot(document.getElementById('root')).render(<PopupMain />);
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
|
import { capitalize } from '@shared/util/string';
|
||||||
import type { Serialized } from 'chrome-extension-toolkit';
|
import type { Serialized } from 'chrome-extension-toolkit';
|
||||||
|
|
||||||
import { capitalize } from '../util/string';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A type representing an instructor for a course (who teaches it)
|
* A type representing an instructor for a course (who teaches it)
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
|
import { getCourseColors } from '@shared/util/colors';
|
||||||
import { theme } from 'unocss/preset-mini';
|
import { theme } from 'unocss/preset-mini';
|
||||||
|
|
||||||
import { getCourseColors } from './colors';
|
|
||||||
|
|
||||||
export const tailwindColorways = Object.keys(theme.colors)
|
export const tailwindColorways = Object.keys(theme.colors)
|
||||||
// check that the color is a colorway (is an object)
|
// check that the color is a colorway (is an object)
|
||||||
.filter(color => typeof theme.colors[color] === 'object')
|
.filter(color => typeof theme.colors[color] === 'object')
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
|
import { getLuminance } from '@shared/util/colors';
|
||||||
import { describe, expect, it } from 'vitest';
|
import { describe, expect, it } from 'vitest';
|
||||||
|
|
||||||
import { getLuminance } from '../colors';
|
|
||||||
|
|
||||||
describe('getLuminance', () => {
|
describe('getLuminance', () => {
|
||||||
it('should return the correct luminance value for a given hex color', () => {
|
it('should return the correct luminance value for a given hex color', () => {
|
||||||
// Test case 1: Hex color #FFFFFF (white)
|
// Test case 1: Hex color #FFFFFF (white)
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
|
import { generateRandomId } from '@shared/util/random';
|
||||||
import { describe, expect, it } from 'vitest';
|
import { describe, expect, it } from 'vitest';
|
||||||
|
|
||||||
import { generateRandomId } from '../random';
|
|
||||||
|
|
||||||
describe('generateRandomId', () => {
|
describe('generateRandomId', () => {
|
||||||
it('should generate a random ID with the specified length', () => {
|
it('should generate a random ID with the specified length', () => {
|
||||||
// Test case 1: Length 5
|
// Test case 1: Length 5
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
|
import { capitalize, capitalizeFirstLetter, ellipsify } from '@shared/util/string';
|
||||||
import { describe, expect, it } from 'vitest';
|
import { describe, expect, it } from 'vitest';
|
||||||
|
|
||||||
import { capitalize, capitalizeFirstLetter, ellipsify } from '../string';
|
|
||||||
|
|
||||||
// TODO: Fix `string.ts` and `string.test.ts` to make the tests pass
|
// TODO: Fix `string.ts` and `string.test.ts` to make the tests pass
|
||||||
// `capitalize` is adding an extra space at the end of the word.
|
// `capitalize` is adding an extra space at the end of the word.
|
||||||
describe('capitalize', () => {
|
describe('capitalize', () => {
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
|
import { getThemeColorHexByName, getThemeColorRgbByName, hexToRgb } from '@shared/util/themeColors';
|
||||||
import { describe, expect, it } from 'vitest';
|
import { describe, expect, it } from 'vitest';
|
||||||
|
|
||||||
import { getThemeColorHexByName, getThemeColorRgbByName, hexToRgb } from '../themeColors';
|
|
||||||
|
|
||||||
describe('hexToRgb', () => {
|
describe('hexToRgb', () => {
|
||||||
it('should convert hex color to RGB', () => {
|
it('should convert hex color to RGB', () => {
|
||||||
expect(hexToRgb('#BF5700')).toEqual([191, 87, 0]);
|
expect(hexToRgb('#BF5700')).toEqual([191, 87, 0]);
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
|
import { sleep } from '@shared/util/time';
|
||||||
import { describe, expect, it } from 'vitest';
|
import { describe, expect, it } from 'vitest';
|
||||||
|
|
||||||
import { sleep } from '../time';
|
|
||||||
|
|
||||||
describe('sleep', () => {
|
describe('sleep', () => {
|
||||||
it('should resolve after the specified number of milliseconds', async () => {
|
it('should resolve after the specified number of milliseconds', async () => {
|
||||||
const start = Date.now();
|
const start = Date.now();
|
||||||
|
|||||||
@@ -1,10 +1,9 @@
|
|||||||
|
import { CalendarBottomBar } from '@views/components/calendar/CalendarBottomBar/CalendarBottomBar';
|
||||||
|
import CalendarGrid from '@views/components/calendar/CalendarGrid/CalendarGrid';
|
||||||
|
import CalendarHeader from '@views/components/calendar/CalendarHeader/CalenderHeader';
|
||||||
|
import { CalendarSchedules } from '@views/components/calendar/CalendarSchedules/CalendarSchedules';
|
||||||
|
import ImportantLinks from '@views/components/calendar/ImportantLinks';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import CalendarHeader from 'src/views/components/calendar/CalendarHeader/CalenderHeader';
|
|
||||||
|
|
||||||
import { CalendarBottomBar } from '../CalendarBottomBar/CalendarBottomBar';
|
|
||||||
import CalendarGrid from '../CalendarGrid/CalendarGrid';
|
|
||||||
import { CalendarSchedules } from '../CalendarSchedules/CalendarSchedules';
|
|
||||||
import ImportantLinks from '../ImportantLinks';
|
|
||||||
|
|
||||||
export const flags = ['WR', 'QR', 'GC', 'CD', 'E', 'II'];
|
export const flags = ['WR', 'QR', 'GC', 'CD', 'E', 'II'];
|
||||||
|
|
||||||
|
|||||||
@@ -1,14 +1,13 @@
|
|||||||
|
import type { CalendarCourseCellProps } from '@views/components/calendar/CalendarCourseCell/CalendarCourseCell';
|
||||||
|
import CalendarCourseBlock from '@views/components/calendar/CalendarCourseCell/CalendarCourseCell';
|
||||||
|
import { Button } from '@views/components/common/Button/Button';
|
||||||
|
import Text from '@views/components/common/Text/Text';
|
||||||
import clsx from 'clsx';
|
import clsx from 'clsx';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import CalendarMonthIcon from '~icons/material-symbols/calendar-month';
|
import CalendarMonthIcon from '~icons/material-symbols/calendar-month';
|
||||||
import ImageIcon from '~icons/material-symbols/image';
|
import ImageIcon from '~icons/material-symbols/image';
|
||||||
|
|
||||||
import { Button } from '../../common/Button/Button';
|
|
||||||
import Text from '../../common/Text/Text';
|
|
||||||
import type { CalendarCourseCellProps } from '../CalendarCourseCell/CalendarCourseCell';
|
|
||||||
import CalendarCourseBlock from '../CalendarCourseCell/CalendarCourseCell';
|
|
||||||
|
|
||||||
type CalendarBottomBarProps = {
|
type CalendarBottomBarProps = {
|
||||||
courses?: CalendarCourseCellProps[];
|
courses?: CalendarCourseCellProps[];
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
|
import CalendarCourseCell from '@views/components/calendar/CalendarCourseCell/CalendarCourseCell';
|
||||||
|
/* import calIcon from 'src/assets/icons/cal.svg';
|
||||||
|
import pngIcon from 'src/assets/icons/png.svg';
|
||||||
|
*/
|
||||||
|
import CalendarCell from '@views/components/calendar/CalendarGridCell/CalendarGridCell';
|
||||||
import type { CalendarGridCourse } from '@views/hooks/useFlattenedCourseSchedule';
|
import type { CalendarGridCourse } from '@views/hooks/useFlattenedCourseSchedule';
|
||||||
import React, { useEffect, useRef, useState } from 'react';
|
import React, { useEffect, useRef, useState } from 'react';
|
||||||
// import html2canvas from 'html2canvas';
|
// import html2canvas from 'html2canvas';
|
||||||
import { DAY_MAP } from 'src/shared/types/CourseMeeting';
|
import { DAY_MAP } from 'src/shared/types/CourseMeeting';
|
||||||
|
|
||||||
import CalendarCourseCell from '../CalendarCourseCell/CalendarCourseCell';
|
|
||||||
/* import calIcon from 'src/assets/icons/cal.svg';
|
|
||||||
import pngIcon from 'src/assets/icons/png.svg';
|
|
||||||
*/
|
|
||||||
import CalendarCell from '../CalendarGridCell/CalendarGridCell';
|
|
||||||
import styles from './CalendarGrid.module.scss';
|
import styles from './CalendarGrid.module.scss';
|
||||||
|
|
||||||
/* const daysOfWeek = Object.keys(DAY_MAP).filter(key => !['S', 'SU'].includes(key));
|
/* const daysOfWeek = Object.keys(DAY_MAP).filter(key => !['S', 'SU'].includes(key));
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ import ScheduleTotalHoursAndCourses from '@views/components/common/ScheduleTotal
|
|||||||
import Text from '@views/components/common/Text/Text';
|
import Text from '@views/components/common/Text/Text';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import calIcon from 'src/assets/logo.png';
|
import calIcon from 'src/assets/logo.png';
|
||||||
|
|
||||||
import MenuIcon from '~icons/material-symbols/menu';
|
import MenuIcon from '~icons/material-symbols/menu';
|
||||||
import RedoIcon from '~icons/material-symbols/redo';
|
import RedoIcon from '~icons/material-symbols/redo';
|
||||||
import SettingsIcon from '~icons/material-symbols/settings';
|
import SettingsIcon from '~icons/material-symbols/settings';
|
||||||
@@ -32,12 +33,12 @@ const CalendarHeader = () => (
|
|||||||
<Divider className='self-center' size='2.5rem' orientation='vertical' />
|
<Divider className='self-center' size='2.5rem' orientation='vertical' />
|
||||||
<div className='flex flex-col self-center'>
|
<div className='flex flex-col self-center'>
|
||||||
<ScheduleTotalHoursAndCourses scheduleName='SCHEDULE' totalHours={22} totalCourses={8} />
|
<ScheduleTotalHoursAndCourses scheduleName='SCHEDULE' totalHours={22} totalCourses={8} />
|
||||||
<Text variant='h4' className='text-gray text-xs font-medium leading-normal'>
|
<Text variant='h4' className='text-xs text-gray font-medium leading-normal'>
|
||||||
DATA UPDATED ON: 12:00 AM 02/01/2024
|
DATA UPDATED ON: 12:00 AM 02/01/2024
|
||||||
</Text>
|
</Text>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className='flex flex-row justify-end items-center space-x-8'>
|
<div className='flex flex-row items-center justify-end space-x-8'>
|
||||||
<div className='flex flex-row space-x-4'>
|
<div className='flex flex-row space-x-4'>
|
||||||
<CourseStatus size='small' status={Status.WAITLISTED} />
|
<CourseStatus size='small' status={Status.WAITLISTED} />
|
||||||
<CourseStatus size='small' status={Status.CLOSED} />
|
<CourseStatus size='small' status={Status.CLOSED} />
|
||||||
|
|||||||
@@ -1,10 +1,9 @@
|
|||||||
|
import Text from '@views/components/common/Text/Text';
|
||||||
import clsx from 'clsx';
|
import clsx from 'clsx';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import OutwardArrowIcon from '~icons/material-symbols/arrow-outward';
|
import OutwardArrowIcon from '~icons/material-symbols/arrow-outward';
|
||||||
|
|
||||||
import Text from '../common/Text/Text';
|
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
className?: string;
|
className?: string;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,12 +1,11 @@
|
|||||||
|
import type { ThemeColor } from '@shared/util/themeColors';
|
||||||
|
import { getThemeColorHexByName, getThemeColorRgbByName } from '@shared/util/themeColors';
|
||||||
|
import Text from '@views/components/common/Text/Text';
|
||||||
import clsx from 'clsx';
|
import clsx from 'clsx';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import type IconComponent from '~icons/material-symbols';
|
import type IconComponent from '~icons/material-symbols';
|
||||||
|
|
||||||
import type { ThemeColor } from '../../../../shared/util/themeColors';
|
|
||||||
import { getThemeColorHexByName, getThemeColorRgbByName } from '../../../../shared/util/themeColors';
|
|
||||||
import Text from '../Text/Text';
|
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
className?: string;
|
className?: string;
|
||||||
style?: React.CSSProperties;
|
style?: React.CSSProperties;
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
|
import Text from '@views/components/common/Text/Text';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import Text from '../Text/Text';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A type that represents the flags that a course can have.
|
* A type that represents the flags that a course can have.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -1,9 +1,8 @@
|
|||||||
|
import Text from '@views/components/common/Text/Text';
|
||||||
import clsx from 'clsx';
|
import clsx from 'clsx';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import type { Course } from 'src/shared/types/Course';
|
import type { Course } from 'src/shared/types/Course';
|
||||||
|
|
||||||
import Text from '../Text/Text';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Props for ConflictWithWarningProps
|
* Props for ConflictWithWarningProps
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -1,10 +1,9 @@
|
|||||||
import type { StatusType } from '@shared/types/Course';
|
import type { StatusType } from '@shared/types/Course';
|
||||||
import { StatusIcon } from '@shared/util/icons';
|
import { StatusIcon } from '@shared/util/icons';
|
||||||
|
import Text from '@views/components/common/Text/Text';
|
||||||
import clsx from 'clsx';
|
import clsx from 'clsx';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import Text from '../Text/Text';
|
|
||||||
|
|
||||||
type SizeType = 'small' | 'mini';
|
type SizeType = 'small' | 'mini';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
|
import Text from '@views/components/common/Text/Text';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import Text from '../Text/Text';
|
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
titleText: string;
|
titleText: string;
|
||||||
bodyText: string;
|
bodyText: string;
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
import { background } from '@shared/messages';
|
import { background } from '@shared/messages';
|
||||||
|
import type { TextProps } from '@views/components/common/Text/Text';
|
||||||
|
import Text from '@views/components/common/Text/Text';
|
||||||
import clsx from 'clsx';
|
import clsx from 'clsx';
|
||||||
import type { PropsWithChildren } from 'react';
|
import type { PropsWithChildren } from 'react';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import type { TextProps } from '../Text/Text';
|
|
||||||
import Text from '../Text/Text';
|
|
||||||
import styles from './Link.module.scss';
|
import styles from './Link.module.scss';
|
||||||
|
|
||||||
type Props = Omit<TextProps, 'span'> & {
|
type Props = Omit<TextProps, 'span'> & {
|
||||||
|
|||||||
@@ -3,13 +3,12 @@ import { Status } from '@shared/types/Course';
|
|||||||
import type { CourseColors } from '@shared/util/colors';
|
import type { CourseColors } from '@shared/util/colors';
|
||||||
import { pickFontColor } from '@shared/util/colors';
|
import { pickFontColor } from '@shared/util/colors';
|
||||||
import { StatusIcon } from '@shared/util/icons';
|
import { StatusIcon } from '@shared/util/icons';
|
||||||
|
import Text from '@views/components/common/Text/Text';
|
||||||
import clsx from 'clsx';
|
import clsx from 'clsx';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import DragIndicatorIcon from '~icons/material-symbols/drag-indicator';
|
import DragIndicatorIcon from '~icons/material-symbols/drag-indicator';
|
||||||
|
|
||||||
import Text from '../Text/Text';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Props for PopupCourseBlock
|
* Props for PopupCourseBlock
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
|
import Text from '@views/components/common/Text/Text';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import Text from '../Text/Text';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Props for ScheduleTotalHoursAndCourses
|
* Props for ScheduleTotalHoursAndCourses
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
import type { Course } from '@shared/types/Course';
|
import type { Course } from '@shared/types/Course';
|
||||||
import type { UserSchedule } from '@shared/types/UserSchedule';
|
import type { UserSchedule } from '@shared/types/UserSchedule';
|
||||||
|
import Popup from '@views/components/common/Popup/Popup';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import Popup from '../../common/Popup/Popup';
|
|
||||||
import CourseDescription from './CourseDescription/CourseDescription';
|
import CourseDescription from './CourseDescription/CourseDescription';
|
||||||
import CourseHeader from './CourseHeader/CourseHeader';
|
import CourseHeader from './CourseHeader/CourseHeader';
|
||||||
import styles from './CoursePopup.module.scss';
|
import styles from './CoursePopup.module.scss';
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
|
import Link from '@views/components/common/Link/Link';
|
||||||
|
import Text from '@views/components/common/Text/Text';
|
||||||
import React, { useEffect, useState } from 'react';
|
import React, { useEffect, useState } from 'react';
|
||||||
import { createPortal } from 'react-dom';
|
import { createPortal } from 'react-dom';
|
||||||
|
|
||||||
import Link from '../../common/Link/Link';
|
|
||||||
import Text from '../../common/Text/Text';
|
|
||||||
import styles from './RecruitmentBanner.module.scss';
|
import styles from './RecruitmentBanner.module.scss';
|
||||||
|
|
||||||
const DISCORD_URL = 'https://discord.gg/qjcvgyVJbT';
|
const DISCORD_URL = 'https://discord.gg/qjcvgyVJbT';
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
import type { Course, ScrapedRow } from '@shared/types/Course';
|
import type { Course, ScrapedRow } from '@shared/types/Course';
|
||||||
import type { UserSchedule } from '@shared/types/UserSchedule';
|
import type { UserSchedule } from '@shared/types/UserSchedule';
|
||||||
|
import { Button } from '@views/components/common/Button/Button';
|
||||||
|
import ConflictsWithWarning from '@views/components/common/ConflictsWithWarning/ConflictsWithWarning';
|
||||||
import React, { useEffect, useState } from 'react';
|
import React, { useEffect, useState } from 'react';
|
||||||
import ReactDOM from 'react-dom';
|
import ReactDOM from 'react-dom';
|
||||||
|
|
||||||
import AddIcon from '~icons/material-symbols/add-circle';
|
import AddIcon from '~icons/material-symbols/add-circle';
|
||||||
|
|
||||||
import { Button } from '../../common/Button/Button';
|
|
||||||
import ConflictsWithWarning from '../../common/ConflictsWithWarning/ConflictsWithWarning';
|
|
||||||
import styles from './TableRow.module.scss';
|
import styles from './TableRow.module.scss';
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
import * as fs from 'fs';
|
import * as fs from 'fs';
|
||||||
import * as path from 'path';
|
import * as path from 'path';
|
||||||
import { PluginOption } from 'vite';
|
import type { PluginOption } from 'vite';
|
||||||
|
|
||||||
import manifest from '../../src/manifest';
|
import manifest from '../../src/manifest';
|
||||||
import colorLog from '../log';
|
import colorLog from '../log';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user