Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"@labjm/utilities": "workspace:*",
"@vercel/analytics": "^2.0.1",
"ai": "7.0.19",
"cnfast": "^0.1.0",
"hono": "4.12.25",
"motion": "12.40.0",
"next": "16.3.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@

import type { Dispatch, FC, RefObject, SetStateAction, SubmitEventHandler } from 'react';

import { cn } from 'cnfast';
import { AnimatePresence, motion } from 'motion/react';
import { useEffect, useState } from 'react';
import useMeasure from 'react-use-measure';

import { cn } from '@labjm/utilities/cn';

import type { ModelChoice, ThinkingIntensity } from './types';
import { AIWidgetModelSelector } from './ai-widget-model-selector';
import { AIWidgetSubmitButton } from './ai-widget-submit-button';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import type { FC } from 'react';

import { cn } from '@labjm/utilities/cn';
import { cn } from 'cnfast';

import type { ThinkingIntensity } from './types';
import { THINKING_INTENSITIES } from './constants';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@

import type { CSSProperties, FC } from 'react';

import { cn } from 'cnfast';
import { useEffect, useState } from 'react';

import { cn } from '@labjm/utilities/cn';

import styles from './loading-text.module.css';

type LoadingTextProps = {
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/app/_components/api-status.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { cn } from '@labjm/utilities';
import { cn } from 'cnfast';

import { apiClient } from '@/infrastructure/api';
import { Skeleton } from '@/ui/skeleton';
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import type { Metadata } from 'next';
import type { FC, PropsWithChildren } from 'react';

import { Analytics } from '@vercel/analytics/next';
import { cn } from 'cnfast';
import localFont from 'next/font/local';
import { Suspense } from 'react';

import { cn } from '@labjm/utilities/cn';
import { url } from '@labjm/utilities/url-composer';

import { Footer } from '@/ui/footer';
Expand Down
3 changes: 1 addition & 2 deletions apps/web/src/ui/skeleton.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { cn } from 'cnfast';
import { type FC, type HTMLAttributes } from 'react';

import { cn } from '@labjm/utilities/cn';

type SkeletonProps = HTMLAttributes<HTMLDivElement> & { bgColor?: string };

export const Skeleton: FC<SkeletonProps> = (props) => {
Expand Down
5 changes: 1 addition & 4 deletions packages/utilities/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,10 @@
},
"exports": {
".": "./src/index.ts",
"./cn": "./src/cn/index.ts",
"./url-composer": "./src/url-composer/index.ts"
},
"dependencies": {
"@labjm/schemas": "workspace:*",
"classnames": "^2.5.1",
"tailwind-merge": "^3.6.0"
"@labjm/schemas": "workspace:*"
},
"devDependencies": {
"@labjm/jest-config": "workspace:*",
Expand Down
29 changes: 0 additions & 29 deletions packages/utilities/src/cn/cn.test.ts

This file was deleted.

6 changes: 0 additions & 6 deletions packages/utilities/src/cn/index.ts

This file was deleted.

1 change: 0 additions & 1 deletion packages/utilities/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
export * from './cn';
export * from './url-composer';
20 changes: 9 additions & 11 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading