mirror of
https://github.com/supabase/supabase.git
synced 2026-12-06 08:29:01 +00: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 -->
68 lines
2.3 KiB
TypeScript
68 lines
2.3 KiB
TypeScript
import {
|
|
Checkbox,
|
|
Field,
|
|
FieldContent,
|
|
FieldDescription,
|
|
FieldGroup,
|
|
FieldLabel,
|
|
FieldLegend,
|
|
FieldSeparator,
|
|
FieldSet,
|
|
} from 'ui'
|
|
|
|
export default function FieldCheckbox() {
|
|
return (
|
|
<div className="w-full max-w-md">
|
|
<FieldGroup>
|
|
<FieldSet>
|
|
<FieldLegend variant="label">Show these items on the desktop</FieldLegend>
|
|
<FieldDescription>Select the items you want to show on the desktop.</FieldDescription>
|
|
<FieldGroup className="gap-3">
|
|
<Field orientation="horizontal">
|
|
<Checkbox id="finder-pref-9k2-hard-disks-ljj" />
|
|
<FieldLabel
|
|
htmlFor="finder-pref-9k2-hard-disks-ljj"
|
|
className="font-normal"
|
|
defaultChecked
|
|
>
|
|
Hard disks
|
|
</FieldLabel>
|
|
</Field>
|
|
<Field orientation="horizontal">
|
|
<Checkbox id="finder-pref-9k2-external-disks-1yg" />
|
|
<FieldLabel htmlFor="finder-pref-9k2-external-disks-1yg" className="font-normal">
|
|
External disks
|
|
</FieldLabel>
|
|
</Field>
|
|
<Field orientation="horizontal">
|
|
<Checkbox id="finder-pref-9k2-cds-dvds-fzt" />
|
|
<FieldLabel htmlFor="finder-pref-9k2-cds-dvds-fzt" className="font-normal">
|
|
CDs, DVDs, and iPods
|
|
</FieldLabel>
|
|
</Field>
|
|
<Field orientation="horizontal">
|
|
<Checkbox id="finder-pref-9k2-connected-servers-6l2" />
|
|
<FieldLabel htmlFor="finder-pref-9k2-connected-servers-6l2" className="font-normal">
|
|
Connected servers
|
|
</FieldLabel>
|
|
</Field>
|
|
</FieldGroup>
|
|
</FieldSet>
|
|
<FieldSeparator />
|
|
<Field orientation="horizontal">
|
|
<Checkbox id="finder-pref-9k2-sync-folders-nep" defaultChecked />
|
|
<FieldContent>
|
|
<FieldLabel htmlFor="finder-pref-9k2-sync-folders-nep">
|
|
Sync Desktop & Documents folders
|
|
</FieldLabel>
|
|
<FieldDescription>
|
|
Your Desktop & Documents folders are being synced with iCloud Drive. You can access
|
|
them from other devices.
|
|
</FieldDescription>
|
|
</FieldContent>
|
|
</Field>
|
|
</FieldGroup>
|
|
</div>
|
|
)
|
|
}
|