mirror of
https://github.com/supabase/supabase.git
synced 2026-10-08 19:05:06 +03:00
This PR removes all `paths` in `tsconfig.json` for all apps and packages. They were added previosly because some of the components had a `_Shadcn` suffix because of an ongoing migration. How that the migration is done, the paths can be removed. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Refactor** * Standardized shared UI component, utility, and icon imports across design-system examples and application screens. * Simplified shared component access and project configuration. * Added shared access to anchor-link helpers and animation styles. * **Compatibility** * Updated component exports and imports without changing existing behavior. * No changes to user-facing workflows, screens, or functionality. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
37 lines
1.1 KiB
TypeScript
37 lines
1.1 KiB
TypeScript
import {
|
|
Field,
|
|
FieldDescription,
|
|
FieldLabel,
|
|
Select,
|
|
SelectContent,
|
|
SelectItem,
|
|
SelectTrigger,
|
|
SelectValue,
|
|
} from 'ui'
|
|
|
|
export default function FieldSelect() {
|
|
return (
|
|
<div className="w-full max-w-md">
|
|
<Field>
|
|
<FieldLabel>Department</FieldLabel>
|
|
<Select>
|
|
<SelectTrigger>
|
|
<SelectValue placeholder="Choose department" />
|
|
</SelectTrigger>
|
|
<SelectContent>
|
|
<SelectItem value="engineering">Engineering</SelectItem>
|
|
<SelectItem value="design">Design</SelectItem>
|
|
<SelectItem value="marketing">Marketing</SelectItem>
|
|
<SelectItem value="sales">Sales</SelectItem>
|
|
<SelectItem value="support">Customer Support</SelectItem>
|
|
<SelectItem value="hr">Human Resources</SelectItem>
|
|
<SelectItem value="finance">Finance</SelectItem>
|
|
<SelectItem value="operations">Operations</SelectItem>
|
|
</SelectContent>
|
|
</Select>
|
|
<FieldDescription>Select your department or area of work.</FieldDescription>
|
|
</Field>
|
|
</div>
|
|
)
|
|
}
|