Skip to content

Commit a6359e3

Browse files
committed
chore: merge ui package into portal
1 parent a9cd10a commit a6359e3

File tree

135 files changed

+1210
-10865
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

135 files changed

+1210
-10865
lines changed

apps/portal/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
"@popperjs/core": "^2.11.6",
2323
"@prisma/client": "^4.4.0",
2424
"@supabase/supabase-js": "^1.35.7",
25-
"@tih/ui": "workspace:0.0.0",
2625
"@trpc/client": "^9.27.2",
2726
"@trpc/next": "^9.27.2",
2827
"@trpc/react": "^9.27.2",

apps/portal/src/components/global/AppShell.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import type { ReactNode } from 'react';
66
import { Fragment, useState } from 'react';
77
import { Menu, Transition } from '@headlessui/react';
88
import { Bars3BottomLeftIcon } from '@heroicons/react/24/outline';
9-
import { Button } from '@tih/ui';
9+
import { Button } from '~/ui';
1010

1111
import GlobalNavigation from '~/components/global/GlobalNavigation';
1212
import HomeNavigation from '~/components/global/HomeNavigation';

apps/portal/src/components/global/MobileNavigation.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import Link from 'next/link';
33
import { Fragment } from 'react';
44
import { Dialog, Transition } from '@headlessui/react';
55
import { XMarkIcon } from '@heroicons/react/24/outline';
6-
import { HorizontalDivider } from '@tih/ui';
6+
import { HorizontalDivider } from '~/ui';
77

88
import type { GlobalNavigationItems } from './GlobalNavigation';
99
import type { ProductNavigationItems } from './ProductNavigation';

apps/portal/src/components/offers/admin/OffersTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { useRouter } from 'next/router';
22
import { useEffect, useMemo, useRef, useState } from 'react';
33
import { JobType } from '@prisma/client';
4-
import { DropdownMenu, Spinner, useToast } from '@tih/ui';
4+
import { DropdownMenu, Spinner, useToast } from '~/ui';
55

66
import { useGoogleAnalytics } from '~/components/global/GoogleAnalytics';
77
import OffersHeader from '~/components/offers/admin/OffersHeader';

apps/portal/src/components/offers/admin/OffersTablePagination.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { useEffect, useState } from 'react';
2-
import { Pagination, Spinner } from '@tih/ui';
2+
import { Pagination, Spinner } from '~/ui';
33

44
import type { Paging } from '~/types/offers';
55

apps/portal/src/components/offers/dashboard/DashboardProfileCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { useRouter } from 'next/router';
22
import { BookmarkSlashIcon } from '@heroicons/react/20/solid';
33
import { ArrowRightIcon } from '@heroicons/react/24/outline';
4-
import { Button, useToast } from '@tih/ui';
4+
import { Button, useToast } from '~/ui';
55

66
import { useGoogleAnalytics } from '~/components/global/GoogleAnalytics';
77
import DashboardOfferCard from '~/components/offers/dashboard/DashboardOfferCard';

apps/portal/src/components/offers/forms/FormRadioList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { ComponentProps } from 'react';
22
import { useFormContext } from 'react-hook-form';
3-
import { RadioList } from '@tih/ui';
3+
import { RadioList } from '~/ui';
44

55
type RadioListProps = ComponentProps<typeof RadioList>;
66

apps/portal/src/components/offers/forms/FormSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { HorizontalDivider } from '@tih/ui';
1+
import { HorizontalDivider } from '~/ui';
22

33
export default function FormSection({
44
children,

apps/portal/src/components/offers/forms/FormSelect.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { ComponentProps, ForwardedRef } from 'react';
22
import { forwardRef } from 'react';
33
import { useFormContext } from 'react-hook-form';
4-
import { Select } from '@tih/ui';
4+
import { Select } from '~/ui';
55

66
type SelectProps = ComponentProps<typeof Select>;
77

apps/portal/src/components/offers/forms/FormTextArea.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { ComponentProps, ForwardedRef } from 'react';
22
import { forwardRef } from 'react';
33
import type { UseFormRegisterReturn } from 'react-hook-form';
4-
import { TextArea } from '@tih/ui';
4+
import { TextArea } from '~/ui';
55

66
type TextAreaProps = ComponentProps<typeof TextArea>;
77

0 commit comments

Comments
 (0)