mirror of
https://github.com/supabase/supabase.git
synced 2026-06-01 18:34:37 +08:00
chore: remove <Label> _Shadcn_ suffix (#45986)
## Problem The `_Shadcn_` suffix isn't needed anymore on label component ## Solution Remove it. No other changes <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Refactor** * Standardized Label usage across the codebase by removing the legacy alias and using the direct Label export from the UI package consistently. * **Documentation** * Updated component examples and docs to use the standardized Label component in usage snippets and demos. <!-- review_stack_entry_start --> [](https://app.coderabbit.ai/change-stack/supabase/supabase/pull/45986) <!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { BarChart2, Settings2, Table } from 'lucide-react'
|
||||
import {
|
||||
Checkbox,
|
||||
Label_Shadcn_,
|
||||
Label,
|
||||
Popover,
|
||||
PopoverContent,
|
||||
PopoverTrigger,
|
||||
@@ -108,7 +108,7 @@ export const BlockViewConfiguration = ({
|
||||
</Select_Shadcn_>
|
||||
|
||||
<div className="*:flex *:gap-2 *:items-center grid gap-2 *:text-foreground-light *:p-1.5 *:pl-0">
|
||||
<Label_Shadcn_ htmlFor="cumulative">
|
||||
<Label htmlFor="cumulative">
|
||||
<Checkbox
|
||||
id="cumulative"
|
||||
checked={chartConfig?.cumulative}
|
||||
@@ -120,8 +120,8 @@ export const BlockViewConfiguration = ({
|
||||
}
|
||||
/>
|
||||
Cumulative
|
||||
</Label_Shadcn_>
|
||||
<Label_Shadcn_ htmlFor="logScale">
|
||||
</Label>
|
||||
<Label htmlFor="logScale">
|
||||
<Checkbox
|
||||
id="logScale"
|
||||
checked={chartConfig?.logScale}
|
||||
@@ -133,7 +133,7 @@ export const BlockViewConfiguration = ({
|
||||
}
|
||||
/>
|
||||
Log scale
|
||||
</Label_Shadcn_>
|
||||
</Label>
|
||||
</div>
|
||||
</>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user