mirror of
https://github.com/supabase/supabase.git
synced 2026-06-16 11:58:16 +08:00
chore: remove _Shadcn_ suffix from Command components (#46153)
## Problem The `_Shadcn_` suffix isn't needed anymore on `Command` components ## Solution - Remove the `_Shadcn_` suffix - Simplify UI package exports - Apply prettier <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Refactor** * Simplified command component imports and exports across the UI library by removing internal naming aliases and adopting direct component references. Updated the public UI package barrel export to use wildcard re-exports for cleaner API surface. <!-- review_stack_entry_start --> [](https://app.coderabbit.ai/change-stack/supabase/supabase/pull/46153?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack) <!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -1,21 +1,21 @@
|
||||
import { useIntersectionObserver } from '~/hooks/useIntersectionObserver'
|
||||
import { noop } from 'lodash-es'
|
||||
import { Check, ChevronsUpDown } from 'lucide-react'
|
||||
import { useEffect, useRef, useState } from 'react'
|
||||
import {
|
||||
Button_Shadcn_ as Button,
|
||||
cn,
|
||||
Command_Shadcn_ as Command,
|
||||
CommandGroup_Shadcn_ as CommandGroup,
|
||||
CommandInput_Shadcn_ as CommandInput,
|
||||
CommandItem_Shadcn_ as CommandItem,
|
||||
CommandList_Shadcn_ as CommandList,
|
||||
Popover as Popover,
|
||||
PopoverContent as PopoverContent,
|
||||
PopoverTrigger as PopoverTrigger,
|
||||
Command,
|
||||
CommandGroup as CommandGroup,
|
||||
CommandInput,
|
||||
CommandItem as CommandItem,
|
||||
CommandList as CommandList,
|
||||
Popover,
|
||||
PopoverContent,
|
||||
PopoverTrigger,
|
||||
ScrollArea,
|
||||
} from 'ui'
|
||||
import ShimmeringLoader from 'ui-patterns/ShimmeringLoader'
|
||||
import { useIntersectionObserver } from '~/hooks/useIntersectionObserver'
|
||||
|
||||
export interface ComboBoxOption {
|
||||
id: string
|
||||
|
||||
Reference in New Issue
Block a user