+ {download.title} +
+{download.title}
+{download.url}
+{t('history.openFile')}
+{t('history.openFolder')}
+{t('history.removeItem')}
+{t('history.openFile')}
+{t('history.openFolder')}
++ {download.error} +
+ )} +{t('download.noItems')}
+a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4', + className + )} + {...props} + /> + ) +} + +function ItemActions({ className, ...props }: React.ComponentProps<'div'>) { + return ( +
+ ) +} + +function ItemHeader({ className, ...props }: React.ComponentProps<'div'>) { + return ( + + ) +} + +function ItemFooter({ className, ...props }: React.ComponentProps<'div'>) { + return ( + + ) +} + +export { + Item, + ItemMedia, + ItemContent, + ItemActions, + ItemGroup, + ItemSeparator, + ItemTitle, + ItemDescription, + ItemHeader, + ItemFooter +} diff --git a/src/renderer/src/components/ui/label.tsx b/src/renderer/src/components/ui/label.tsx new file mode 100644 index 0000000..3ecf37a --- /dev/null +++ b/src/renderer/src/components/ui/label.tsx @@ -0,0 +1,18 @@ +import * as LabelPrimitive from '@radix-ui/react-label' +import { cn } from '@renderer/lib/utils' +import { cva, type VariantProps } from 'class-variance-authority' +import * as React from 'react' + +const labelVariants = cva( + 'text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70' +) + +const Label = React.forwardRef< + React.ElementRef{item.label}
+{t('advancedOptions.startHint')}
+{t('about.description')}
+{t('about.tagline')}
+{t('about.autoUpdateTitle')}
+{t('about.autoUpdateDescription')}
+{t('about.shareSupport')}
+{resource.label}
+ {resource.description ? ( +{resource.description}
+ ) : null} ++ {t('download.oneClickDownload')} +
++ {t('download.oneClickDownloadDescription')} +
++ {t('errors.fetchInfoFailed')} +
+{error}
+{t('settings.description')}
+{t('sites.pageIntro')}
+{site.label}
+ {site.description ? ( +{site.description}
+ ) : null} +