diff --git a/packages/expo-atlas-ui/components/BundleTag.tsx b/packages/expo-atlas-ui/components/BundleTag.tsx index 8ca1626..3774864 100644 --- a/packages/expo-atlas-ui/components/BundleTag.tsx +++ b/packages/expo-atlas-ui/components/BundleTag.tsx @@ -1,4 +1,3 @@ -import { cva, type VariantProps } from 'class-variance-authority'; import type { AtlasBundle } from 'expo-atlas'; import { type ComponentProps } from 'react'; @@ -7,6 +6,7 @@ import { EnvironmentName } from '~/components/EnvironmentName'; import { PlatformName } from '~/components/PlatformName'; import { Tag } from '~/ui/Tag'; import { Tooltip, TooltipContent, TooltipTrigger } from '~/ui/Tooltip'; +import { cva, type VariantProps } from '~/utils/classname'; const bundleTagVariants = cva('', { variants: { diff --git a/packages/expo-atlas-ui/components/ModuleReference.tsx b/packages/expo-atlas-ui/components/ModuleReference.tsx index 1f6d7e5..999cc99 100644 --- a/packages/expo-atlas-ui/components/ModuleReference.tsx +++ b/packages/expo-atlas-ui/components/ModuleReference.tsx @@ -1,4 +1,3 @@ -import { cva, cx } from 'class-variance-authority'; import type { AtlasModule, PartialAtlasBundle } from 'expo-atlas'; // @ts-expect-error import ChevronDownIcon from 'lucide-react/dist/esm/icons/chevron-down'; @@ -7,6 +6,7 @@ import { type ComponentProps, useState, useRef, useLayoutEffect } from 'react'; import { ModuleReferenceList } from './ModuleReferenceList'; import { Collapsible, CollapsibleContent, CollapsibleTrigger } from '~/ui/Collapsible'; +import { cva, cn } from '~/utils/classname'; type ModuleReferenceProps = { bundle: PartialAtlasBundle; @@ -16,7 +16,7 @@ type ModuleReferenceProps = { export function ModuleReference(props: ModuleReferenceProps) { return ( -
+
{props.title} & { @@ -25,7 +26,7 @@ export const BreadcrumbList = forwardRef (
    >( ({ className, ...props }, ref) => ( -
  1. +
  2. ) ); BreadcrumbItem.displayName = 'BreadcrumbItem'; @@ -53,7 +54,7 @@ export const BreadcrumbLink = forwardRef< return ( ); @@ -67,7 +68,7 @@ export const BreadcrumbPage = forwardRef ) @@ -75,7 +76,7 @@ export const BreadcrumbPage = forwardRef) => ( -
  3. ); @@ -85,7 +86,7 @@ export const BreadcrumbEllipsis = ({ className, ...props }: ComponentProps<'span